blob: a4cea73ea17e080bb82ad066b64049f1217767e2 [file] [log] [blame]
{"version":3,"file":"covalent-core-sidesheet.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":[],"mappings":";;;;;;;;;MAKa,2BAA2B;;;YAHvC,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;aACjC;;MAMY,yBAAyB;;;YAHrC,SAAS,SAAC;gBACT,QAAQ,EAAE,oBAAoB;aAC/B;;MAWY,2BAA2B;IARxC;QASW,UAAK,GAAoB,OAAO,CAAC;KAC3C;;;YAVA,SAAS,SAAC;gBACT,QAAQ,EAAE,sBAAsB;;gBAEhC,IAAI,EAAE;oBACJ,mBAAmB,EAAE,iBAAiB;oBACtC,qBAAqB,EAAE,mBAAmB;iBAC3C;aACF;;;oBAEE,KAAK;;;;IAAN,4CAA0C;;MAO/B,0BAA0B;;;YAJtC,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,yJAA8C;aAC/C;;MAUY,oBAAoB;;;YAPhC,SAAS,SAAC;gBACT,QAAQ,EAAE,cAAc;gBACxB,gYAAyC;;gBAGzC,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;2BAEE,YAAY,SAAC,0BAA0B;2BACvC,YAAY,SAAC,2BAA2B;;;;IADzC,4CAAmF;;IACnF,4CAAqF;;;;;;;;;MC1BjF,YAAY,GAAgB;IAChC,oBAAoB;IACpB,0BAA0B;IAC1B,2BAA2B;IAC3B,yBAAyB;IACzB,2BAA2B;CAC5B;MAOY,uBAAuB;;;YALnC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,gBAAgB,CAAC;gBACzC,YAAY,EAAE,CAAC,YAAY,CAAC;gBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;aACxB;;;;;;;;;;;;;;;;;;;;;;;"}