ecabs-components 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/esm2020/lib/base/directives/date-mask.directive.mjs +65 -0
  2. package/{esm2022 → esm2020}/lib/base/directives/date-mask.directive.module.mjs +5 -5
  3. package/esm2020/lib/base/directives/digits-only.directive.mjs +130 -0
  4. package/{esm2022 → esm2020}/lib/base/directives/digits-only.directive.module.mjs +5 -5
  5. package/esm2020/lib/base/directives/number-border.directive.mjs +54 -0
  6. package/{esm2022 → esm2020}/lib/base/directives/number-border.directive.module.mjs +5 -5
  7. package/esm2020/lib/base/element-base.mjs +100 -0
  8. package/esm2020/lib/base/element-wrapper/element-wrapper.component.mjs +53 -0
  9. package/{esm2022 → esm2020}/lib/base/element-wrapper/element-wrapper.module.mjs +21 -21
  10. package/esm2020/lib/base/hint/hint.component.mjs +21 -0
  11. package/{esm2022 → esm2020}/lib/base/hint/hint.module.mjs +5 -5
  12. package/esm2020/lib/base/validation/validation.component.mjs +70 -0
  13. package/{esm2022 → esm2020}/lib/base/validation/validation.module.mjs +5 -5
  14. package/esm2020/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.mjs +16 -0
  15. package/{esm2022 → esm2020}/lib/ecabs-breadcrumb/ecabs-breadcrumb.module.mjs +5 -5
  16. package/esm2020/lib/ecabs-buttons/ecabs-buttons.component.mjs +65 -0
  17. package/{esm2022 → esm2020}/lib/ecabs-buttons/ecabs-buttons.module.mjs +5 -5
  18. package/esm2020/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +85 -0
  19. package/{esm2022 → esm2020}/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.module.mjs +13 -13
  20. package/esm2020/lib/ecabs-date-picker/components/ecabs-date-picker-header/ecabs-date-picker-header.component.mjs +17 -0
  21. package/esm2020/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +85 -0
  22. package/{esm2022 → esm2020}/lib/ecabs-date-picker/ecabs-date-picker.module.mjs +19 -19
  23. package/esm2020/lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component.mjs +17 -0
  24. package/esm2020/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +179 -0
  25. package/{esm2022 → esm2020}/lib/ecabs-date-time-picker/ecabs-date-time-picker.module.mjs +27 -27
  26. package/esm2020/lib/ecabs-date-time-range-picker/components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component.mjs +17 -0
  27. package/esm2020/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component.mjs +193 -0
  28. package/esm2020/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.module.mjs +65 -0
  29. package/esm2020/lib/ecabs-date-time-range-picker/time-range.directive.mjs +45 -0
  30. package/esm2020/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +28 -0
  31. package/{esm2022 → esm2020}/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.module.mjs +5 -5
  32. package/esm2020/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +25 -0
  33. package/{esm2022 → esm2020}/lib/ecabs-dialog-message/ecabs-dialog-message.module.mjs +5 -5
  34. package/{esm2022 → esm2020}/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.mjs +4 -7
  35. package/{esm2022 → esm2020}/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.module.mjs +5 -5
  36. package/esm2020/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +76 -0
  37. package/{esm2022 → esm2020}/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.mjs +5 -5
  38. package/esm2020/lib/ecabs-increment/ecabs-increment.component.mjs +78 -0
  39. package/{esm2022 → esm2020}/lib/ecabs-increment/ecabs-increment.module.mjs +5 -5
  40. package/esm2020/lib/ecabs-input/ecabs-input.component.mjs +83 -0
  41. package/{esm2022 → esm2020}/lib/ecabs-input/ecabs-input.module.mjs +5 -5
  42. package/esm2020/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +57 -0
  43. package/{esm2022 → esm2020}/lib/ecabs-language-selector/ecabs-language-selector.module.mjs +13 -13
  44. package/esm2020/lib/ecabs-loading/ecabs-loading.component.mjs +24 -0
  45. package/{esm2022 → esm2020}/lib/ecabs-loading/ecabs-loading.module.mjs +5 -5
  46. package/esm2020/lib/ecabs-loading/spinner/spinner.component.mjs +16 -0
  47. package/esm2020/lib/ecabs-note/ecabs-note.component.mjs +30 -0
  48. package/{esm2022 → esm2020}/lib/ecabs-note/ecabs-note.module.mjs +5 -5
  49. package/esm2020/lib/ecabs-phone/ecabs-phone.component.mjs +104 -0
  50. package/{esm2022 → esm2020}/lib/ecabs-phone/ecabs-phone.module.mjs +5 -5
  51. package/esm2020/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +50 -0
  52. package/{esm2022 → esm2020}/lib/ecabs-picker-header/ecabs-picker-header.module.mjs +5 -5
  53. package/esm2020/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.mjs +65 -0
  54. package/{esm2022 → esm2020}/lib/ecabs-radio-button-list/ecabs-radio-button-list.module.mjs +11 -11
  55. package/esm2020/lib/ecabs-select/ecabs-select.component.mjs +233 -0
  56. package/esm2020/lib/ecabs-select/ecabs-select.module.mjs +60 -0
  57. package/esm2020/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.component.mjs +17 -0
  58. package/{esm2022 → esm2020}/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.module.mjs +7 -7
  59. package/esm2020/lib/ecabs-table/ecabs-table.component.mjs +43 -0
  60. package/{esm2022 → esm2020}/lib/ecabs-table/ecabs-table.module.mjs +11 -11
  61. package/esm2020/lib/ecabs-textarea/ecabs-textarea.component.mjs +62 -0
  62. package/{esm2022 → esm2020}/lib/ecabs-textarea/ecabs-textarea.module.mjs +5 -5
  63. package/esm2020/lib/ecabs-timepicker/componets/ecabs-time-list-panel/ecabs-time-list-panel.component.mjs +137 -0
  64. package/esm2020/lib/ecabs-timepicker/ecabs-timepicker.component.mjs +312 -0
  65. package/{esm2022 → esm2020}/lib/ecabs-timepicker/ecabs-timepicker.module.mjs +5 -5
  66. package/esm2020/lib/ecabs-timepicker/ecabs-timepicker.service.mjs +31 -0
  67. package/esm2020/lib/services/ecabs-components.service.mjs +32 -0
  68. package/esm2020/public-api.mjs +55 -0
  69. package/fesm2015/ecabs-components.mjs +3258 -0
  70. package/fesm2015/ecabs-components.mjs.map +1 -0
  71. package/fesm2020/ecabs-components.mjs +3242 -0
  72. package/fesm2020/ecabs-components.mjs.map +1 -0
  73. package/lib/base/directives/date-mask.directive.d.ts +1 -1
  74. package/lib/base/directives/digits-only.directive.d.ts +1 -1
  75. package/lib/base/directives/number-border.directive.d.ts +1 -1
  76. package/lib/base/element-base.d.ts +1 -1
  77. package/lib/base/element-wrapper/element-wrapper.component.d.ts +1 -1
  78. package/lib/base/hint/hint.component.d.ts +1 -1
  79. package/lib/base/validation/validation.component.d.ts +1 -1
  80. package/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.d.ts +1 -1
  81. package/lib/ecabs-buttons/ecabs-buttons.component.d.ts +1 -1
  82. package/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.d.ts +1 -1
  83. package/lib/ecabs-date-picker/components/ecabs-date-picker-header/ecabs-date-picker-header.component.d.ts +1 -1
  84. package/lib/ecabs-date-picker/ecabs-date-picker.component.d.ts +1 -1
  85. package/lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component.d.ts +1 -1
  86. package/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.d.ts +1 -1
  87. package/lib/ecabs-date-time-range-picker/components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component.d.ts +6 -0
  88. package/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component.d.ts +58 -0
  89. package/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.module.d.ts +20 -0
  90. package/lib/ecabs-date-time-range-picker/time-range.directive.d.ts +15 -0
  91. package/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.d.ts +1 -1
  92. package/lib/ecabs-dialog-message/ecabs-dialog-message.component.d.ts +1 -1
  93. package/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.d.ts +1 -1
  94. package/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.d.ts +1 -1
  95. package/lib/ecabs-increment/ecabs-increment.component.d.ts +1 -1
  96. package/lib/ecabs-input/ecabs-input.component.d.ts +1 -1
  97. package/lib/ecabs-language-selector/ecabs-language-selector.component.d.ts +1 -1
  98. package/lib/ecabs-loading/ecabs-loading.component.d.ts +1 -1
  99. package/lib/ecabs-loading/spinner/spinner.component.d.ts +1 -1
  100. package/lib/ecabs-note/ecabs-note.component.d.ts +1 -1
  101. package/lib/ecabs-phone/ecabs-phone.component.d.ts +1 -1
  102. package/lib/ecabs-picker-header/ecabs-picker-header.component.d.ts +1 -1
  103. package/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.d.ts +1 -1
  104. package/lib/ecabs-select/ecabs-select.component.d.ts +1 -1
  105. package/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.component.d.ts +1 -1
  106. package/lib/ecabs-table/ecabs-table.component.d.ts +1 -1
  107. package/lib/ecabs-textarea/ecabs-textarea.component.d.ts +1 -1
  108. package/lib/ecabs-timepicker/componets/ecabs-time-list-panel/ecabs-time-list-panel.component.d.ts +1 -1
  109. package/lib/ecabs-timepicker/ecabs-timepicker.component.d.ts +1 -1
  110. package/lib/models/timepicker.models.d.ts +1 -1
  111. package/package.json +11 -5
  112. package/public-api.d.ts +4 -0
  113. package/esm2022/lib/base/directives/date-mask.directive.mjs +0 -67
  114. package/esm2022/lib/base/directives/digits-only.directive.mjs +0 -133
  115. package/esm2022/lib/base/directives/number-border.directive.mjs +0 -58
  116. package/esm2022/lib/base/element-base.mjs +0 -105
  117. package/esm2022/lib/base/element-wrapper/element-wrapper.component.mjs +0 -56
  118. package/esm2022/lib/base/hint/hint.component.mjs +0 -21
  119. package/esm2022/lib/base/validation/validation.component.mjs +0 -75
  120. package/esm2022/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.mjs +0 -17
  121. package/esm2022/lib/ecabs-buttons/ecabs-buttons.component.mjs +0 -67
  122. package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +0 -90
  123. package/esm2022/lib/ecabs-date-picker/components/ecabs-date-picker-header/ecabs-date-picker-header.component.mjs +0 -15
  124. package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +0 -89
  125. package/esm2022/lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component.mjs +0 -15
  126. package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +0 -186
  127. package/esm2022/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +0 -31
  128. package/esm2022/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +0 -28
  129. package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +0 -85
  130. package/esm2022/lib/ecabs-increment/ecabs-increment.component.mjs +0 -83
  131. package/esm2022/lib/ecabs-input/ecabs-input.component.mjs +0 -90
  132. package/esm2022/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +0 -57
  133. package/esm2022/lib/ecabs-loading/ecabs-loading.component.mjs +0 -22
  134. package/esm2022/lib/ecabs-loading/spinner/spinner.component.mjs +0 -14
  135. package/esm2022/lib/ecabs-note/ecabs-note.component.mjs +0 -28
  136. package/esm2022/lib/ecabs-phone/ecabs-phone.component.mjs +0 -111
  137. package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +0 -53
  138. package/esm2022/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.mjs +0 -68
  139. package/esm2022/lib/ecabs-select/ecabs-select.component.mjs +0 -239
  140. package/esm2022/lib/ecabs-select/ecabs-select.module.mjs +0 -60
  141. package/esm2022/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.component.mjs +0 -19
  142. package/esm2022/lib/ecabs-table/ecabs-table.component.mjs +0 -48
  143. package/esm2022/lib/ecabs-textarea/ecabs-textarea.component.mjs +0 -65
  144. package/esm2022/lib/ecabs-timepicker/componets/ecabs-time-list-panel/ecabs-time-list-panel.component.mjs +0 -144
  145. package/esm2022/lib/ecabs-timepicker/ecabs-timepicker.component.mjs +0 -322
  146. package/esm2022/lib/ecabs-timepicker/ecabs-timepicker.service.mjs +0 -29
  147. package/esm2022/lib/services/ecabs-components.service.mjs +0 -31
  148. package/esm2022/public-api.mjs +0 -51
  149. package/fesm2022/ecabs-components.mjs +0 -3063
  150. package/fesm2022/ecabs-components.mjs.map +0 -1
  151. /package/{esm2022 → esm2020}/ecabs-components.mjs +0 -0
  152. /package/{esm2022 → esm2020}/lib/base/consts/date-mask.consts.mjs +0 -0
  153. /package/{esm2022 → esm2020}/lib/ecabs-timepicker/config.model.mjs +0 -0
  154. /package/{esm2022 → esm2020}/lib/models/bread-crumb.mjs +0 -0
  155. /package/{esm2022 → esm2020}/lib/models/timepicker.models.mjs +0 -0
@@ -1,85 +0,0 @@
1
- import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
2
- import { MatExpansionPanel } from '@angular/material/expansion';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- import * as i3 from "@angular/material/expansion";
7
- import * as i4 from "@angular/material/icon";
8
- import * as i5 from "@angular/material/chips";
9
- import * as i6 from "../ecabs-checkbox-toggle/ecabs-checkbox-toggle.component";
10
- export class EcabsExpansionPanelComponent {
11
- title = '';
12
- description;
13
- index;
14
- expanded = false;
15
- disabled = false;
16
- errorMessage;
17
- showErrorMessage;
18
- closePanel;
19
- showIcon;
20
- iconName;
21
- showCheckbox;
22
- showStatus;
23
- status;
24
- hideToggle = false;
25
- checked = new EventEmitter();
26
- opened = new EventEmitter();
27
- expansionPanel;
28
- toggle = false;
29
- onOpened() {
30
- this.opened.emit();
31
- }
32
- ngOnChanges(changes) {
33
- const { closePanel } = changes;
34
- if (closePanel && this.expansionPanel) {
35
- // eslint-disable-next-line @typescript-eslint/no-unused-expressions
36
- closePanel.currentValue === true ? this.expansionPanel.close() : this.expansionPanel.open();
37
- }
38
- }
39
- toggleAction() {
40
- this.expanded = !this.expanded;
41
- this.checked.emit(this.expanded);
42
- }
43
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: EcabsExpansionPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
44
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: EcabsExpansionPanelComponent, selector: "ecabs-expansion-panel", inputs: { title: "title", description: "description", index: "index", expanded: "expanded", disabled: "disabled", errorMessage: "errorMessage", showErrorMessage: "showErrorMessage", closePanel: "closePanel", showIcon: "showIcon", iconName: "iconName", showCheckbox: "showCheckbox", showStatus: "showStatus", status: "status", hideToggle: "hideToggle" }, outputs: { checked: "checked", opened: "opened" }, viewQueries: [{ propertyName: "expansionPanel", first: true, predicate: MatExpansionPanel, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-accordion class=\"example-headers-align\" multi>\r\n <mat-expansion-panel [expanded]=\"expanded\" [disabled]=\"disabled\" (opened)=\"onOpened()\" [hideToggle]=\"hideToggle\">\r\n <mat-expansion-panel-header *ngIf=\"title\">\r\n <mat-panel-title>\r\n <div>\r\n <div class=\"flex flex-row\">\r\n <div *ngIf=\"index && !showErrorMessage\" class=\"border-current border-2 rounded-full mr-3 index\">\r\n {{ index }}\r\n </div>\r\n <div *ngIf=\"!showErrorMessage && showIcon\" class=\"mr-3 rounded\">\r\n <mat-icon class=\"rounded-icon !text-lg -mt-1\">{{ iconName }}</mat-icon>\r\n </div>\r\n <div *ngIf=\"showErrorMessage\" class=\"mt-1 mr-2\">\r\n <mat-icon color=\"warn\">warning</mat-icon>\r\n </div>\r\n {{ title }}\r\n <div *ngIf=\"showCheckbox\" class=\"ml-2 mt-1\">\r\n <ecabs-checkbox [type]=\"'toggle'\" [(ngModel)]=\"toggle\"\r\n (click)=\"toggleAction()\"></ecabs-checkbox>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showErrorMessage\" class=\"error-message\">{{ errorMessage }}</div>\r\n </div>\r\n </mat-panel-title>\r\n <mat-panel-description>{{ description }}\r\n <mat-chip *ngIf=\"showStatus\" class=\"{{ status | lowercase }}\">\r\n {{ status | titlecase }}\r\n </mat-chip>\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <ng-content></ng-content>\r\n </mat-expansion-panel>\r\n</mat-accordion>\r\n", styles: [".example-action-buttons{padding-bottom:20px}.example-headers-align .mat-expansion-panel-header-title,.example-headers-align .mat-expansion-panel-header-description{flex-basis:0}.example-headers-align .mat-expansion-panel-header-description{justify-content:flex-end;align-items:center}.example-headers-align .mat-mdc-form-field+.mat-mdc-form-field{margin-left:8px}:host ::ng-deep .mat-expansion-indicator:after{border-color:var(--color-gray-500)}.index{height:28px;width:28px;display:flex;align-items:center;justify-content:center;text-align:center;padding-top:3px;font-size:16px}.error-message{font-size:.75rem!important;color:var(--color-error);margin-left:2.125rem;margin-top:-.75rem}.rounded{background-color:var(--color-brand-dark);border-radius:50%;height:28px;width:28px;display:flex;align-items:center;justify-content:center;text-align:center}.rounded-icon{color:var(--color-white)}.inactive{background-color:rgba(var(--color-warn-rgb),.05);color:var(--color-warn)}.draft{background-color:var(--color-gray-200);color:var(--color-gray-500)}.published{background-color:rgba(var(--color-info-rgb),.05);color:var(--color-info)}.active{background-color:rgba(var(--color-success-rgb),.05);color:var(--color-success)}.expired{background-color:rgba(var(--color-error-rgb),.05);color:var(--color-error)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i3.MatExpansionPanelDescription, selector: "mat-panel-description" }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatChip, selector: "mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]", inputs: ["color", "disabled", "disableRipple", "tabIndex", "role", "id", "aria-label", "aria-description", "value", "removable", "highlighted"], outputs: ["removed", "destroyed"], exportAs: ["matChip"] }, { kind: "component", type: i6.EcabsCheckboxToggleComponent, selector: "ecabs-checkbox", inputs: ["type", "text", "labelPosition", "indeterminate", "checked"], outputs: ["click", "changed"] }, { kind: "pipe", type: i1.LowerCasePipe, name: "lowercase" }, { kind: "pipe", type: i1.TitleCasePipe, name: "titlecase" }] });
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: EcabsExpansionPanelComponent, decorators: [{
47
- type: Component,
48
- args: [{ selector: 'ecabs-expansion-panel', template: "<mat-accordion class=\"example-headers-align\" multi>\r\n <mat-expansion-panel [expanded]=\"expanded\" [disabled]=\"disabled\" (opened)=\"onOpened()\" [hideToggle]=\"hideToggle\">\r\n <mat-expansion-panel-header *ngIf=\"title\">\r\n <mat-panel-title>\r\n <div>\r\n <div class=\"flex flex-row\">\r\n <div *ngIf=\"index && !showErrorMessage\" class=\"border-current border-2 rounded-full mr-3 index\">\r\n {{ index }}\r\n </div>\r\n <div *ngIf=\"!showErrorMessage && showIcon\" class=\"mr-3 rounded\">\r\n <mat-icon class=\"rounded-icon !text-lg -mt-1\">{{ iconName }}</mat-icon>\r\n </div>\r\n <div *ngIf=\"showErrorMessage\" class=\"mt-1 mr-2\">\r\n <mat-icon color=\"warn\">warning</mat-icon>\r\n </div>\r\n {{ title }}\r\n <div *ngIf=\"showCheckbox\" class=\"ml-2 mt-1\">\r\n <ecabs-checkbox [type]=\"'toggle'\" [(ngModel)]=\"toggle\"\r\n (click)=\"toggleAction()\"></ecabs-checkbox>\r\n </div>\r\n </div>\r\n <div *ngIf=\"showErrorMessage\" class=\"error-message\">{{ errorMessage }}</div>\r\n </div>\r\n </mat-panel-title>\r\n <mat-panel-description>{{ description }}\r\n <mat-chip *ngIf=\"showStatus\" class=\"{{ status | lowercase }}\">\r\n {{ status | titlecase }}\r\n </mat-chip>\r\n </mat-panel-description>\r\n </mat-expansion-panel-header>\r\n <ng-content></ng-content>\r\n </mat-expansion-panel>\r\n</mat-accordion>\r\n", styles: [".example-action-buttons{padding-bottom:20px}.example-headers-align .mat-expansion-panel-header-title,.example-headers-align .mat-expansion-panel-header-description{flex-basis:0}.example-headers-align .mat-expansion-panel-header-description{justify-content:flex-end;align-items:center}.example-headers-align .mat-mdc-form-field+.mat-mdc-form-field{margin-left:8px}:host ::ng-deep .mat-expansion-indicator:after{border-color:var(--color-gray-500)}.index{height:28px;width:28px;display:flex;align-items:center;justify-content:center;text-align:center;padding-top:3px;font-size:16px}.error-message{font-size:.75rem!important;color:var(--color-error);margin-left:2.125rem;margin-top:-.75rem}.rounded{background-color:var(--color-brand-dark);border-radius:50%;height:28px;width:28px;display:flex;align-items:center;justify-content:center;text-align:center}.rounded-icon{color:var(--color-white)}.inactive{background-color:rgba(var(--color-warn-rgb),.05);color:var(--color-warn)}.draft{background-color:var(--color-gray-200);color:var(--color-gray-500)}.published{background-color:rgba(var(--color-info-rgb),.05);color:var(--color-info)}.active{background-color:rgba(var(--color-success-rgb),.05);color:var(--color-success)}.expired{background-color:rgba(var(--color-error-rgb),.05);color:var(--color-error)}\n"] }]
49
- }], propDecorators: { title: [{
50
- type: Input
51
- }], description: [{
52
- type: Input
53
- }], index: [{
54
- type: Input
55
- }], expanded: [{
56
- type: Input
57
- }], disabled: [{
58
- type: Input
59
- }], errorMessage: [{
60
- type: Input
61
- }], showErrorMessage: [{
62
- type: Input
63
- }], closePanel: [{
64
- type: Input
65
- }], showIcon: [{
66
- type: Input
67
- }], iconName: [{
68
- type: Input
69
- }], showCheckbox: [{
70
- type: Input
71
- }], showStatus: [{
72
- type: Input
73
- }], status: [{
74
- type: Input
75
- }], hideToggle: [{
76
- type: Input
77
- }], checked: [{
78
- type: Output
79
- }], opened: [{
80
- type: Output
81
- }], expansionPanel: [{
82
- type: ViewChild,
83
- args: [MatExpansionPanel]
84
- }] } });
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNhYnMtZXhwYW5zaW9uLXBhbmVsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VjYWJzLWNvbXBvbmVudHMvc3JjL2xpYi9lY2Ficy1leHBhbnNpb24tcGFuZWwvZWNhYnMtZXhwYW5zaW9uLXBhbmVsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VjYWJzLWNvbXBvbmVudHMvc3JjL2xpYi9lY2Ficy1leHBhbnNpb24tcGFuZWwvZWNhYnMtZXhwYW5zaW9uLXBhbmVsLm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