UNPKG

11.2 kBSource Map (JSON)View Raw
1{"version":3,"file":"mdl-card.component.js","sourceRoot":"","sources":["../../../src/lib/components/card/mdl-card.component.ts"],"names":[],"mappings":";;;;;OAAO,EACL,SAAS,EACT,SAAS,EAET,QAAQ,EACR,iBAAiB,EACjB,QAAQ,EAET,MAAM,eAAe;OACf,EAAE,iBAAiB,EAAE,MAAM,qBAAqB;AAIvD;IAAA;IAaA,CAAC;IAbqC,2BAAU,GAA0B;QAC1E,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;oBACxB,QAAQ,EAAE,UAAU;oBACpB,IAAI,EAAE;wBACJ,kBAAkB,EAAE,MAAM;qBAC3B;oBACD,QAAQ,EAAE,2BAA2B;oBACrC,aAAa,EAAE,iBAAiB,CAAC,IAAI;iBACtC,EAAG,EAAE;KACL,CAAC;IACF,kBAAkB;IACX,+BAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC;IACF,uBAAC;AAAD,CAAC,AAbD,IAaC;AAGD;IAEE,+BAAoB,gBAAkC,EAAU,kBAA0B;QAAtE,qBAAgB,GAAhB,gBAAgB,CAAkB;QAAU,uBAAkB,GAAlB,kBAAkB,CAAQ;IAC1F,CAAC;IAEM,wCAAQ,GAAf;QACE,EAAE,CAAC,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC;YACnC,MAAM,IAAI,iBAAiB,CAAC,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;QACnE,CAAC;IACH,CAAC;IACH,4BAAC;AAAD,CAAC,AAVD,IAUC;AAGD;IAA2C,yCAAqB;IAE9D,+BAAa,gBAAkC;QAC7C,kBAAM,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAEM,wCAAQ,GAAf,cAAoB,gBAAK,CAAC,QAAQ,WAAE,CAAC,CAAC,CAAC;IAElC,gCAAU,GAA0B;QAC3C,EAAE,IAAI,EAAE,SAAS,EAAE,I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AD,CAAC,AAXD,IAWC;AAGD;IAAA;IAWA,CAAC;IAX2C,iCAAU,GAA0B;QAChF,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;oBACxB,QAAQ,EAAE,mBAAmB;oBAC7B,IAAI,EAAE;wBACJ,0BAA0B,EAAE,MAAM;qBACnC;iBACF,EAAG,EAAE;KACL,CAAC;IACF,kBAAkB;IACX,qCAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC;IACF,6BAAC;AAAD,CAAC,AAXD,IAWC;AAGD,IAAM,mBAAmB,GAAG;IAC1B,gBAAgB;IAChB,qBAAqB;IACrB,qBAAqB;IACrB,8BAA8B;IAC9B,uBAAuB;IACvB,oBAAoB;IACpB,yBAAyB;IACzB,sBAAsB;IACtB,sBAAsB;CACvB,CAAC;AAGF;IAAA;IAiBA,CAAC;IAhBe,qBAAO,GAArB;QACE,MAAM,CAAC;YACL,QAAQ,EAAE,aAAa;YACvB,SAAS,EAAE,EAAE;SACd,CAAC;IACJ,CAAC;IACI,wBAAU,GAA0B;QAC3C,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;oBACvB,OAAO,EAAE,EAAE;oBACX,OAAO,EAAE,mBAAmB;oBAC5B,YAAY,EAAE,mBAAmB;iBAClC,EAAG,EAAE;KACL,CAAC;IACF,kBAAkB;IACX,4BAAc,GAAmE,cAAM,OAAA,EAC7F,EAD6F,CAC7F,CAAC;IACF,oBAAC;AAAD,CAAC,AAjBD,IAiBC","sourcesContent":["import {\n Component,\n Directive,\n OnInit,\n Optional,\n ViewEncapsulation,\n NgModule,\n ModuleWithProviders\n} from '@angular/core';\nimport { MdlStructureError } from '../common/mdl-error';\n\n\n\nexport class MdlCardComponent {static decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card',\n host: {\n '[class.mdl-card]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\n\nexport class MdlCardChildStructure implements OnInit {\n\n constructor(private mdlCardComponent: MdlCardComponent, private childComponentName: string) {\n }\n\n public ngOnInit() {\n if (this.mdlCardComponent === null) {\n throw new MdlStructureError(this.childComponentName, 'mdl-card');\n }\n }\n}\n\n\nexport class MdlCardTitleComponent extends MdlCardChildStructure {\n\n constructor( mdlCardComponent: MdlCardComponent) {\n super(mdlCardComponent, 'mdl-card-title');\n }\n\n public ngOnInit() { super.ngOnInit(); }\n\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card-title',\n host: {\n '[class.mdl-card__title]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdlCardComponent, decorators: [{ type: Optional }, ]},\n];\n}\n\n\nexport class MdlCardSupportingTextComponent extends MdlCardChildStructure {\n\n constructor( mdlCardComponent: MdlCardComponent) {\n super(mdlCardComponent, 'mdl-card-supporting-text');\n }\n\n public ngOnInit() { super.ngOnInit(); }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card-supporting-text',\n host: {\n '[class.mdl-card__supporting-text]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdlCardComponent, decorators: [{ type: Optional }, ]},\n];\n}\n\n\nexport class MdlCardMediaComponent extends MdlCardChildStructure {\n\n constructor( mdlCardComponent: MdlCardComponent) {\n super(mdlCardComponent, 'mdl-card-media');\n }\n\n public ngOnInit() { super.ngOnInit(); }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card-media',\n host: {\n '[class.mdl-card__media]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdlCardComponent, decorators: [{ type: Optional }, ]},\n];\n}\n\n\nexport class MdlCardActionsComponent extends MdlCardChildStructure {\n\n constructor( mdlCardComponent: MdlCardComponent) {\n super(mdlCardComponent, 'mdl-card-actions');\n }\n\n public ngOnInit() { super.ngOnInit(); }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card-actions',\n host: {\n '[class.mdl-card__actions]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdlCardComponent, decorators: [{ type: Optional }, ]},\n];\n}\n\n\nexport class MdlCardMenuComponent extends MdlCardChildStructure {\n\n constructor( mdlCardComponent: MdlCardComponent) {\n super(mdlCardComponent, 'mdl-card-menu');\n }\n\n public ngOnInit() { super.ngOnInit(); }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n selector: 'mdl-card-menu',\n host: {\n '[class.mdl-card__menu]': 'true'\n },\n template: '<ng-content></ng-content>',\n encapsulation: ViewEncapsulation.None\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: MdlCardComponent, decorators: [{ type: Optional }, ]},\n];\n}\n\n\nexport class MdlCardTitleTextDirective {static decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[mdl-card-title-text]',\n host: {\n '[class.mdl-card__title-text]': 'true'\n }\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\n\nexport class MdlCardBorderDirective {static decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[mdl-card-border]',\n host: {\n '[class.mdl-card--border]': 'true'\n }\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\n\nexport class MdlCardExpandDirective {static decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[mdl-card-expand]',\n host: {\n '[class.mdl-card--expand]': 'true'\n }\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\n\nconst MDL_CARD_DIRECTIVES = [\n MdlCardComponent,\n MdlCardTitleComponent,\n MdlCardMediaComponent,\n MdlCardSupportingTextComponent,\n MdlCardActionsComponent,\n MdlCardMenuComponent,\n MdlCardTitleTextDirective,\n MdlCardBorderDirective,\n MdlCardExpandDirective\n];\n\n\nexport class MdlCardModule {\n public static forRoot(): ModuleWithProviders {\n return {\n ngModule: MdlCardModule,\n providers: []\n };\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [],\n exports: MDL_CARD_DIRECTIVES,\n declarations: MDL_CARD_DIRECTIVES,\n}, ] },\n];\n/** @nocollapse */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
\No newline at end of file