blob: 562c52174490289e6f1c12b0a296c6d969378120 [file] [log] [blame]
{"version":3,"file":"covalent-core-sidesheet.umd.js","sources":["../../../../src/platform/core/sidesheet/sidesheet.component.ts","../../../../src/platform/core/sidesheet/sidesheet.module.ts"],"sourcesContent":["import { Component, ContentChild, Directive, Input, ViewEncapsulation } from '@angular/core';\n\n@Directive({\n selector: 'td-sidesheet-content',\n})\nexport class TdSidesheetContentDirective {}\n\n@Directive({\n selector: 'td-sidesheet-title',\n})\nexport class TdSidesheetTitleDirective {}\n\n@Directive({\n selector: 'td-sidesheet-actions',\n /* tslint:disable-next-line */\n host: {\n '[class.align-end]': 'align === \"end\"',\n '[class.align-start]': 'align === \"start\"',\n },\n})\nexport class TdSidesheetActionsDirective {\n @Input() align: 'start' | 'end' = 'start';\n}\n\n@Component({\n selector: 'td-sidesheet-header',\n templateUrl: 'sidesheet-header.component.html',\n})\nexport class TdSidesheetHeaderComponent {}\n\n@Component({\n selector: 'td-sidesheet',\n templateUrl: './sidesheet.component.html',\n styleUrls: ['./sidesheet.component.scss'],\n // tslint:disable-next-line:use-component-view-encapsulation\n encapsulation: ViewEncapsulation.None,\n})\nexport class TdSidesheetComponent {\n @ContentChild(TdSidesheetHeaderComponent) headerExists: TdSidesheetHeaderComponent;\n @ContentChild(TdSidesheetActionsDirective) actionsExist: TdSidesheetActionsDirective;\n}\n","import { NgModule, Type } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MatDividerModule } from '@angular/material/divider';\n\nimport {\n TdSidesheetComponent,\n TdSidesheetHeaderComponent,\n TdSidesheetContentDirective,\n TdSidesheetTitleDirective,\n TdSidesheetActionsDirective,\n} from './sidesheet.component';\n\nconst TD_SIDESHEET: Type<any>[] = [\n TdSidesheetComponent,\n TdSidesheetHeaderComponent,\n TdSidesheetContentDirective,\n TdSidesheetTitleDirective,\n TdSidesheetActionsDirective,\n];\n\n@NgModule({\n imports: [CommonModule, MatDividerModule],\n declarations: [TD_SIDESHEET],\n exports: [TD_SIDESHEET],\n})\nexport class CovalentSidesheetModule {}\n"],"names":["Directive","Input","Component","ViewEncapsulation","ContentChild","NgModule","CommonModule","MatDividerModule"],"mappings":";;;;;;;;;;;;QAKA;;;;;gBAHCA,cAAS,SAAC;oBACT,QAAQ,EAAE,sBAAsB;iBACjC;;;QAMD;;;;;gBAHCA,cAAS,SAAC;oBACT,QAAQ,EAAE,oBAAoB;iBAC/B;;;QAGD;YASW,UAAK,GAAoB,OAAO,CAAC;SAC3C;;;;gBAVAA,cAAS,SAAC;oBACT,QAAQ,EAAE,sBAAsB;;oBAEhC,IAAI,EAAE;wBACJ,mBAAmB,EAAE,iBAAiB;wBACtC,qBAAqB,EAAE,mBAAmB;qBAC3C;iBACF;;;wBAEEC,UAAK;;;;QAAN,4CAA0C;;;QAO5C;;;;;gBAJCC,cAAS,SAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,yJAA8C;iBAC/C;;;QAUD;;;;;gBAPCA,cAAS,SAAC;oBACT,QAAQ,EAAE,cAAc;oBACxB,gYAAyC;;oBAGzC,aAAa,EAAEC,sBAAiB,CAAC,IAAI;;iBACtC;;;+BAEEC,iBAAY,SAAC,0BAA0B;+BACvCA,iBAAY,SAAC,2BAA2B;;;;QADzC,4CAAmF;;QACnF,4CAAqF;;;;;;;;;QC1BjF,YAAY,GAAgB;QAChC,oBAAoB;QACpB,0BAA0B;QAC1B,2BAA2B;QAC3B,yBAAyB;QACzB,2BAA2B;KAC5B;;QAOD;;;;;gBALCC,aAAQ,SAAC;oBACR,OAAO,EAAE,CAACC,mBAAY,EAAEC,wBAAgB,CAAC;oBACzC,YAAY,EAAE,CAAC,YAAY,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}