@porscheinformatik/material-addons 15.0.2 → 16.0.0

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 (82) hide show
  1. package/lib/button/danger-button/danger-button.component.d.ts +1 -1
  2. package/lib/button/flat-button/link-button.component.d.ts +1 -1
  3. package/lib/button/icon-button/icon-button.component.d.ts +1 -1
  4. package/lib/button/outline-button/outline-button.component.d.ts +1 -1
  5. package/lib/button/primary-button/primary-button.component.d.ts +1 -1
  6. package/lib/card/card.component.d.ts +1 -1
  7. package/lib/data-table/data-table.component.d.ts +1 -1
  8. package/lib/flowbar/flowbar.component.d.ts +1 -1
  9. package/lib/material-action-button/material-action-button.component.d.ts +1 -1
  10. package/lib/numeric-field/numeric-field.directive.d.ts +1 -1
  11. package/lib/quick-list/base-quick-list.component.d.ts +1 -1
  12. package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts +1 -1
  13. package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts +1 -1
  14. package/lib/stepper/step-header/step-header.component.d.ts +1 -1
  15. package/lib/stepper/stepper.component.d.ts +1 -1
  16. package/lib/table/table.component.d.ts +1 -1
  17. package/lib/throttle-click/throttle-click.directive.d.ts +1 -1
  18. package/package.json +9 -11
  19. package/esm2020/lib/button/button.mjs +0 -7
  20. package/esm2020/lib/button/button.module.mjs +0 -26
  21. package/esm2020/lib/button/danger-button/danger-button.component.mjs +0 -28
  22. package/esm2020/lib/button/flat-button/link-button.component.mjs +0 -28
  23. package/esm2020/lib/button/icon-button/icon-button.component.mjs +0 -28
  24. package/esm2020/lib/button/mad-basic-button.mjs +0 -39
  25. package/esm2020/lib/button/outline-button/outline-button.component.mjs +0 -28
  26. package/esm2020/lib/button/primary-button/primary-button.component.mjs +0 -28
  27. package/esm2020/lib/card/card.component.mjs +0 -129
  28. package/esm2020/lib/card/card.mjs +0 -2
  29. package/esm2020/lib/card/card.module.mjs +0 -23
  30. package/esm2020/lib/content-panel/content-header/content-header.component.mjs +0 -11
  31. package/esm2020/lib/content-panel/content-panel-container/content-panel-container.component.mjs +0 -11
  32. package/esm2020/lib/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +0 -11
  33. package/esm2020/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +0 -11
  34. package/esm2020/lib/content-panel/content-panel.module.mjs +0 -42
  35. package/esm2020/lib/content-panel/main-container/main-container.component.mjs +0 -11
  36. package/esm2020/lib/data-table/data-table-action-type.mjs +0 -6
  37. package/esm2020/lib/data-table/data-table-action.mjs +0 -2
  38. package/esm2020/lib/data-table/data-table-column-definition.mjs +0 -2
  39. package/esm2020/lib/data-table/data-table-column.mjs +0 -2
  40. package/esm2020/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +0 -103
  41. package/esm2020/lib/data-table/data-table-row.mjs +0 -2
  42. package/esm2020/lib/data-table/data-table.component.mjs +0 -527
  43. package/esm2020/lib/data-table/data-table.mjs +0 -3
  44. package/esm2020/lib/data-table/data-table.module.mjs +0 -81
  45. package/esm2020/lib/flowbar/flowbar.component.mjs +0 -190
  46. package/esm2020/lib/flowbar/flowbar.module.mjs +0 -19
  47. package/esm2020/lib/material-action-button/material-action-button.component.mjs +0 -34
  48. package/esm2020/lib/material-action-button/material-action-button.module.mjs +0 -22
  49. package/esm2020/lib/material-addons.module.mjs +0 -45
  50. package/esm2020/lib/numeric-field/number-format.service.mjs +0 -139
  51. package/esm2020/lib/numeric-field/numeric-field.directive.mjs +0 -295
  52. package/esm2020/lib/numeric-field/numeric-field.mjs +0 -2
  53. package/esm2020/lib/numeric-field/numeric-field.module.mjs +0 -24
  54. package/esm2020/lib/quick-list/base-quick-list.component.mjs +0 -101
  55. package/esm2020/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +0 -20
  56. package/esm2020/lib/quick-list/quick-list.component.mjs +0 -21
  57. package/esm2020/lib/quick-list/quick-list.mjs +0 -4
  58. package/esm2020/lib/quick-list/quick-list.module.mjs +0 -23
  59. package/esm2020/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +0 -155
  60. package/esm2020/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +0 -185
  61. package/esm2020/lib/readonly/readonly-form-field.module.mjs +0 -24
  62. package/esm2020/lib/stepper/mad-stepper-animation.mjs +0 -13
  63. package/esm2020/lib/stepper/step-header/step-header.component.mjs +0 -77
  64. package/esm2020/lib/stepper/stepper.component.mjs +0 -159
  65. package/esm2020/lib/stepper/stepper.module.mjs +0 -23
  66. package/esm2020/lib/table/column-header.mjs +0 -2
  67. package/esm2020/lib/table/table-action.mjs +0 -2
  68. package/esm2020/lib/table/table.component.mjs +0 -130
  69. package/esm2020/lib/table/table.mjs +0 -2
  70. package/esm2020/lib/table/table.module.mjs +0 -56
  71. package/esm2020/lib/throttle-click/throttle-click.directive.mjs +0 -38
  72. package/esm2020/lib/throttle-click/throttle-click.module.mjs +0 -18
  73. package/esm2020/lib/toolbar/toolbar-action.interface.mjs +0 -2
  74. package/esm2020/lib/toolbar/toolbar.component.mjs +0 -78
  75. package/esm2020/lib/toolbar/toolbar.module.mjs +0 -56
  76. package/esm2020/lib/toolbar/toolbar.service.mjs +0 -124
  77. package/esm2020/porscheinformatik-material-addons.mjs +0 -5
  78. package/esm2020/public_api.mjs +0 -41
  79. package/fesm2015/porscheinformatik-material-addons.mjs +0 -3007
  80. package/fesm2015/porscheinformatik-material-addons.mjs.map +0 -1
  81. package/fesm2020/porscheinformatik-material-addons.mjs +0 -2983
  82. package/fesm2020/porscheinformatik-material-addons.mjs.map +0 -1
@@ -8,6 +8,6 @@ export declare class DangerButtonComponent extends MadBasicButton {
8
8
  button: ElementRef;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DangerButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DangerButtonComponent, "mad-danger-button", never, { "type": "type"; "disabled": "disabled"; "title": "title"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<DangerButtonComponent, "mad-danger-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
13
13
  //# sourceMappingURL=danger-button.component.d.ts.map
@@ -8,6 +8,6 @@ export declare class LinkButtonComponent extends MadBasicButton {
8
8
  button: ElementRef;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<LinkButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<LinkButtonComponent, "mad-link-button", never, { "type": "type"; "disabled": "disabled"; "title": "title"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<LinkButtonComponent, "mad-link-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
13
13
  //# sourceMappingURL=link-button.component.d.ts.map
@@ -8,6 +8,6 @@ export declare class IconButtonComponent extends MadBasicButton {
8
8
  button: ElementRef;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "mad-icon-button", never, { "type": "type"; "disabled": "disabled"; "title": "title"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "mad-icon-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
13
13
  //# sourceMappingURL=icon-button.component.d.ts.map
@@ -8,6 +8,6 @@ export declare class OutlineButtonComponent extends MadBasicButton {
8
8
  button: ElementRef;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<OutlineButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<OutlineButtonComponent, "mad-outline-button", never, { "type": "type"; "disabled": "disabled"; "title": "title"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<OutlineButtonComponent, "mad-outline-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
13
13
  //# sourceMappingURL=outline-button.component.d.ts.map
@@ -8,6 +8,6 @@ export declare class PrimaryButtonComponent extends MadBasicButton {
8
8
  button: ElementRef;
9
9
  constructor();
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<PrimaryButtonComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<PrimaryButtonComponent, "mad-primary-button", never, { "type": "type"; "disabled": "disabled"; "title": "title"; }, {}, never, ["*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrimaryButtonComponent, "mad-primary-button", never, { "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], false, never>;
12
12
  }
13
13
  //# sourceMappingURL=primary-button.component.d.ts.map
@@ -23,6 +23,6 @@ export declare class CardComponent {
23
23
  toggleCollapse(): void;
24
24
  additionalActionClicked(): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "mad-card", never, { "cancelDisabled": "cancelDisabled"; "cancelText": "cancelText"; "readonly": "readonly"; "editText": "editText"; "expandable": "expandable"; "expanded": "expanded"; "saveDisabled": "saveDisabled"; "saveText": "saveText"; "title": "title"; "editMode": "editMode"; "additionalActionIcon": "additionalActionIcon"; "additionalActionText": "additionalActionText"; }, { "edit": "edit"; "cancel": "cancel"; "save": "save"; "additionalAction": "additionalAction"; }, never, ["*"], false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "mad-card", never, { "cancelDisabled": { "alias": "cancelDisabled"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "editText": { "alias": "editText"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "saveDisabled": { "alias": "saveDisabled"; "required": false; }; "saveText": { "alias": "saveText"; "required": false; }; "title": { "alias": "title"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "additionalActionIcon": { "alias": "additionalActionIcon"; "required": false; }; "additionalActionText": { "alias": "additionalActionText"; "required": false; }; }, { "edit": "edit"; "cancel": "cancel"; "save": "save"; "additionalAction": "additionalAction"; }, never, ["*"], false, never>;
27
27
  }
28
28
  //# sourceMappingURL=card.component.d.ts.map
@@ -118,6 +118,6 @@ export declare class DataTableComponent implements OnInit, AfterViewInit {
118
118
  private getTableMode;
119
119
  private unsetPageSizeIfNecessary;
120
120
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableComponent, never>;
121
- static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "mad-data-table", never, { "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "filterColumnsLabel": "filterColumnsLabel"; "filterColumnsPlaceHolder": "filterColumnsPlaceHolder"; "noDataText": "noDataText"; "columnSettingsModalTitleLabel": "columnSettingsModalTitleLabel"; "selectedLabel": "selectedLabel"; "availableLabel": "availableLabel"; "saveLabel": "saveLabel"; "deleteLabel": "deleteLabel"; "cancelLabel": "cancelLabel"; "infoTextLabel": "infoTextLabel"; "tableClass": "tableClass"; "pageSizeOptions": "pageSizeOptions"; "externalFilter": "externalFilter"; "actions": "actions"; "idGenerator": "idGenerator"; "parentIdGenerator": "parentIdGenerator"; "deleteDefinitionAllowed": "deleteDefinitionAllowed"; "useAsync": "useAsync"; "translateLabels": "translateLabels"; "filterValue": "filterValue"; "displayedColumns": "displayedColumns"; "displayedColumnDefinition": "displayedColumnDefinition"; "tableData": "tableData"; "page": "page"; "columnDefinitions": "columnDefinitions"; "loading": "loading"; "defaultPageSize": "defaultPageSize"; "externalPaginator": "externalPaginator"; "paginationEnabled": "paginationEnabled"; "allColumns": "allColumns"; "filterEnabled": "filterEnabled"; "forceMode": "forceMode"; }, { "sortEvent": "sortEvent"; "actionEvent": "actionEvent"; "pageEvent": "pageEvent"; "allColumnsEvent": "allColumnsEvent"; "columnDefinitionChangeEvent": "columnDefinitionChangeEvent"; "viewDefinitionChangeEvent": "viewDefinitionChangeEvent"; }, never, never, false, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataTableComponent, "mad-data-table", never, { "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "filterColumnsLabel": { "alias": "filterColumnsLabel"; "required": false; }; "filterColumnsPlaceHolder": { "alias": "filterColumnsPlaceHolder"; "required": false; }; "noDataText": { "alias": "noDataText"; "required": false; }; "columnSettingsModalTitleLabel": { "alias": "columnSettingsModalTitleLabel"; "required": false; }; "selectedLabel": { "alias": "selectedLabel"; "required": false; }; "availableLabel": { "alias": "availableLabel"; "required": false; }; "saveLabel": { "alias": "saveLabel"; "required": false; }; "deleteLabel": { "alias": "deleteLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "infoTextLabel": { "alias": "infoTextLabel"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "externalFilter": { "alias": "externalFilter"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "idGenerator": { "alias": "idGenerator"; "required": false; }; "parentIdGenerator": { "alias": "parentIdGenerator"; "required": false; }; "deleteDefinitionAllowed": { "alias": "deleteDefinitionAllowed"; "required": false; }; "useAsync": { "alias": "useAsync"; "required": false; }; "translateLabels": { "alias": "translateLabels"; "required": false; }; "filterValue": { "alias": "filterValue"; "required": false; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; }; "displayedColumnDefinition": { "alias": "displayedColumnDefinition"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "page": { "alias": "page"; "required": false; }; "columnDefinitions": { "alias": "columnDefinitions"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; "externalPaginator": { "alias": "externalPaginator"; "required": false; }; "paginationEnabled": { "alias": "paginationEnabled"; "required": false; }; "allColumns": { "alias": "allColumns"; "required": false; }; "filterEnabled": { "alias": "filterEnabled"; "required": false; }; "forceMode": { "alias": "forceMode"; "required": false; }; }, { "sortEvent": "sortEvent"; "actionEvent": "actionEvent"; "pageEvent": "pageEvent"; "allColumnsEvent": "allColumnsEvent"; "columnDefinitionChangeEvent": "columnDefinitionChangeEvent"; "viewDefinitionChangeEvent": "viewDefinitionChangeEvent"; }, never, never, false, never>;
122
122
  }
123
123
  //# sourceMappingURL=data-table.component.d.ts.map
@@ -42,6 +42,6 @@ export declare class FlowbarComponent implements OnInit, AfterViewInit {
42
42
  private findPreviousEnabledStep;
43
43
  private findNextEnabledStep;
44
44
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowbarComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<FlowbarComponent, "mad-flowbar", never, { "_steps": "steps"; "_activeStep": "activeStep"; }, { "_activeStepChange": "activeStepChange"; "_headerClick": "headerClick"; }, never, never, false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<FlowbarComponent, "mad-flowbar", never, { "_steps": { "alias": "steps"; "required": false; }; "_activeStep": { "alias": "activeStep"; "required": false; }; }, { "_activeStepChange": "activeStepChange"; "_headerClick": "headerClick"; }, never, never, false, never>;
46
46
  }
47
47
  //# sourceMappingURL=flowbar.component.d.ts.map
@@ -7,6 +7,6 @@ export declare class MaterialActionButtonComponent {
7
7
  liftHigher: boolean;
8
8
  liftHigher2: boolean;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<MaterialActionButtonComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialActionButtonComponent, "mad-material-action-button", never, { "actionName": "actionName"; "id": "id"; "icon": "icon"; "routerLink": "routerLink"; "liftHigher": "liftHigher"; "liftHigher2": "liftHigher2"; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialActionButtonComponent, "mad-material-action-button", never, { "actionName": { "alias": "actionName"; "required": false; }; "id": { "alias": "id"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "liftHigher": { "alias": "liftHigher"; "required": false; }; "liftHigher2": { "alias": "liftHigher2"; "required": false; }; }, {}, never, never, false, never>;
11
11
  }
12
12
  //# sourceMappingURL=material-action-button.component.d.ts.map
@@ -40,6 +40,6 @@ export declare class NumericFieldDirective implements OnInit, OnDestroy, AfterVi
40
40
  private detachListener;
41
41
  private roundOrTruncate;
42
42
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericFieldDirective, never>;
43
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumericFieldDirective, "[madNumericField]", never, { "textAlign": "textAlign"; "decimalPlaces": "decimalPlaces"; "roundValue": "roundDisplayValue"; "autofillDecimals": "autofillDecimals"; "unit": "unit"; "unitPosition": "unitPosition"; "numericValue": "numericValue"; }, { "numericValueChanged": "numericValueChange"; }, never, never, false, never>;
43
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumericFieldDirective, "[madNumericField]", never, { "textAlign": { "alias": "textAlign"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; "roundValue": { "alias": "roundDisplayValue"; "required": false; }; "autofillDecimals": { "alias": "autofillDecimals"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "unitPosition": { "alias": "unitPosition"; "required": false; }; "numericValue": { "alias": "numericValue"; "required": false; }; }, { "numericValueChanged": "numericValueChange"; }, never, never, false, never>;
44
44
  }
45
45
  //# sourceMappingURL=numeric-field.directive.d.ts.map
@@ -29,6 +29,6 @@ export declare class BaseQuickListComponent<T> implements OnInit, AfterViewInit
29
29
  isDeleteAllowed(): boolean;
30
30
  private interalAddItem;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseQuickListComponent<any>, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseQuickListComponent<any>, "mad-base-quick-list", never, { "allItems": "allItems"; "addLabel": "addLabel"; "addPossible": "addPossible"; "removePossible": "removePossible"; "blankItem": "blankItem"; "readonly": "readonly"; "maxItems": "maxItems"; "minItems": "minItems"; }, { "added": "added"; "removed": "removed"; }, ["itemTemplate"], never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseQuickListComponent<any>, "mad-base-quick-list", never, { "allItems": { "alias": "allItems"; "required": false; }; "addLabel": { "alias": "addLabel"; "required": false; }; "addPossible": { "alias": "addPossible"; "required": false; }; "removePossible": { "alias": "removePossible"; "required": false; }; "blankItem": { "alias": "blankItem"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; "minItems": { "alias": "minItems"; "required": false; }; }, { "added": "added"; "removed": "removed"; }, ["itemTemplate"], never, false, never>;
33
33
  }
34
34
  //# sourceMappingURL=base-quick-list.component.d.ts.map
@@ -34,6 +34,6 @@ export declare class ReadOnlyFormFieldComponent implements OnChanges, AfterViewC
34
34
  ngAfterViewChecked(): void;
35
35
  private injectUnitSymbol;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyFormFieldComponent, "mad-readonly-form-field", never, { "value": "value"; "label": "label"; "textAlign": "textAlign"; "formatNumber": "formatNumber"; "decimalPlaces": "decimalPlaces"; "roundValue": "roundDisplayValue"; "autofillDecimals": "autofillDecimals"; "unit": "unit"; "unitPosition": "unitPosition"; "errorMessage": "errorMessage"; "multiline": "multiline"; "rows": "rows"; "id": "id"; "shrinkIfEmpty": "shrinkIfEmpty"; }, {}, never, never, false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyFormFieldComponent, "mad-readonly-form-field", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "formatNumber": { "alias": "formatNumber"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; "roundValue": { "alias": "roundDisplayValue"; "required": false; }; "autofillDecimals": { "alias": "autofillDecimals"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "unitPosition": { "alias": "unitPosition"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "id": { "alias": "id"; "required": false; }; "shrinkIfEmpty": { "alias": "shrinkIfEmpty"; "required": false; }; }, {}, never, never, false, never>;
38
38
  }
39
39
  //# sourceMappingURL=readonly-form-field.component.d.ts.map
@@ -67,6 +67,6 @@ export declare class ReadOnlyFormFieldWrapperComponent implements OnInit, AfterV
67
67
  private isTextOverflown;
68
68
  private calculateToolTipText;
69
69
  static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldWrapperComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyFormFieldWrapperComponent, "mad-readonly-form-field-wrapper", never, { "readonly": "readonly"; "value": "value"; "textAlign": "textAlign"; "formatNumber": "formatNumber"; "decimalPlaces": "decimalPlaces"; "roundValue": "roundDisplayValue"; "autofillDecimals": "autofillDecimals"; "unit": "unit"; "unitPosition": "unitPosition"; "errorMessage": "errorMessage"; "id": "id"; "multiline": "multiline"; "rows": "rows"; "shrinkIfEmpty": "shrinkIfEmpty"; }, {}, never, ["*"], false, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReadOnlyFormFieldWrapperComponent, "mad-readonly-form-field-wrapper", never, { "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "formatNumber": { "alias": "formatNumber"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; "roundValue": { "alias": "roundDisplayValue"; "required": false; }; "autofillDecimals": { "alias": "autofillDecimals"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "unitPosition": { "alias": "unitPosition"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "id": { "alias": "id"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "shrinkIfEmpty": { "alias": "shrinkIfEmpty"; "required": false; }; }, {}, never, ["*"], false, never>;
71
71
  }
72
72
  //# sourceMappingURL=readonly-form-field-wrapper.component.d.ts.map
@@ -22,6 +22,6 @@ export declare class StepHeaderComponent extends CdkStepHeader implements AfterV
22
22
  getCssForState(): string;
23
23
  getIcon(): string;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<StepHeaderComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<StepHeaderComponent, "mad-step-header", never, { "color": "color"; "index": "index"; "label": "label"; "state": "state"; "errorMessage": "errorMessage"; "selected": "selected"; "active": "active"; "optional": "optional"; "hasError": "hasError"; "completed": "completed"; "closed": "closed"; }, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepHeaderComponent, "mad-step-header", never, { "color": { "alias": "color"; "required": false; }; "index": { "alias": "index"; "required": false; }; "label": { "alias": "label"; "required": false; }; "state": { "alias": "state"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "active": { "alias": "active"; "required": false; }; "optional": { "alias": "optional"; "required": false; }; "hasError": { "alias": "hasError"; "required": false; }; "completed": { "alias": "completed"; "required": false; }; "closed": { "alias": "closed"; "required": false; }; }, {}, never, never, false, never>;
26
26
  }
27
27
  //# sourceMappingURL=step-header.component.d.ts.map
@@ -48,6 +48,6 @@ export declare class StepperComponent extends CdkStepper implements OnInit, Afte
48
48
  _getAnimationDirection(index: number): StepContentPositionState;
49
49
  _stepIsNavigable(index: number, step: StepComponent): boolean;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null]>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "mad-stepper", never, { "nextButtonLabel": "nextButtonLabel"; "doneButtonLabel": "doneButtonLabel"; }, { "animationDone": "animationDone"; }, ["_steps"], never, false, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "mad-stepper", never, { "nextButtonLabel": { "alias": "nextButtonLabel"; "required": false; }; "doneButtonLabel": { "alias": "doneButtonLabel"; "required": false; }; }, { "animationDone": "animationDone"; }, ["_steps"], never, false, never>;
52
52
  }
53
53
  //# sourceMappingURL=stepper.component.d.ts.map
@@ -38,6 +38,6 @@ export declare class TableComponent implements OnInit, AfterViewInit {
38
38
  private setFilterValue;
39
39
  private isClickOnRowMenuIcon;
40
40
  static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "mad-table", never, { "columns": "columns"; "filterLabel": "filterLabel"; "filterPlaceholder": "filterPlaceholder"; "noDataText": "noDataText"; "pageSizeOptions": "pageSizeOptions"; "defaultPageSize": "defaultPageSize"; "rowActions": "rowActions"; "tableActions": "tableActions"; "displayedData": "displayedData"; "paginationEnabled": "paginationEnabled"; "filterEnabled": "filterEnabled"; }, { "tableAction": "tableAction"; "rowAction": "rowAction"; "sortEvent": "sortEvent"; }, never, never, false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "mad-table", never, { "columns": { "alias": "columns"; "required": false; }; "filterLabel": { "alias": "filterLabel"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "noDataText": { "alias": "noDataText"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "defaultPageSize": { "alias": "defaultPageSize"; "required": false; }; "rowActions": { "alias": "rowActions"; "required": false; }; "tableActions": { "alias": "tableActions"; "required": false; }; "displayedData": { "alias": "displayedData"; "required": false; }; "paginationEnabled": { "alias": "paginationEnabled"; "required": false; }; "filterEnabled": { "alias": "filterEnabled"; "required": false; }; }, { "tableAction": "tableAction"; "rowAction": "rowAction"; "sortEvent": "sortEvent"; }, never, never, false, never>;
42
42
  }
43
43
  //# sourceMappingURL=table.component.d.ts.map
@@ -9,6 +9,6 @@ export declare class ThrottleClickDirective implements OnInit, OnDestroy {
9
9
  ngOnInit(): void;
10
10
  ngOnDestroy(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleClickDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<ThrottleClickDirective, "[madThrottleClick]", never, { "throttleTime": "throttleTime"; }, { "throttleClick": "throttleClick"; }, never, never, false, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThrottleClickDirective, "[madThrottleClick]", never, { "throttleTime": { "alias": "throttleTime"; "required": false; }; }, { "throttleClick": "throttleClick"; }, never, never, false, never>;
13
13
  }
14
14
  //# sourceMappingURL=throttle-click.directive.d.ts.map
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@porscheinformatik/material-addons",
3
- "version": "15.0.2",
3
+ "version": "16.0.0",
4
4
  "description": "Custom theme and components for Angular Material",
5
5
  "homepage": "https://github.com/porscheinformatik/material-addons",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git@https://github.com/porscheinformatik/material-addons.git"
9
9
  },
10
- "module": "fesm2015/porscheinformatik-material-addons.mjs",
11
- "es2020": "fesm2020/porscheinformatik-material-addons.mjs",
12
- "esm2020": "esm2020/porscheinformatik-material-addons.mjs",
13
- "fesm2020": "fesm2020/porscheinformatik-material-addons.mjs",
14
- "fesm2015": "fesm2015/porscheinformatik-material-addons.mjs",
10
+ "module": "fesm2022/porscheinformatik-material-addons.mjs",
11
+ "es2020": "./fesm2020/porscheinformatik-material-addons.mjs",
12
+ "esm2020": "./esm2020/porscheinformatik-material-addons.mjs",
13
+ "fesm2020": "./fesm2020/porscheinformatik-material-addons.mjs",
14
+ "fesm2015": "./fesm2015/porscheinformatik-material-addons.mjs",
15
15
  "typings": "index.d.ts",
16
16
  "keywords": [
17
17
  "angular",
@@ -52,11 +52,9 @@
52
52
  },
53
53
  ".": {
54
54
  "types": "./index.d.ts",
55
- "esm2020": "./esm2020/porscheinformatik-material-addons.mjs",
56
- "es2020": "./fesm2020/porscheinformatik-material-addons.mjs",
57
- "es2015": "./fesm2015/porscheinformatik-material-addons.mjs",
58
- "node": "./fesm2015/porscheinformatik-material-addons.mjs",
59
- "default": "./fesm2020/porscheinformatik-material-addons.mjs"
55
+ "esm2022": "./esm2022/porscheinformatik-material-addons.mjs",
56
+ "esm": "./esm2022/porscheinformatik-material-addons.mjs",
57
+ "default": "./fesm2022/porscheinformatik-material-addons.mjs"
60
58
  }
61
59
  },
62
60
  "sideEffects": false
@@ -1,7 +0,0 @@
1
- export { MadBasicButton } from './mad-basic-button';
2
- export { DangerButtonComponent } from './danger-button/danger-button.component';
3
- export { LinkButtonComponent } from './flat-button/link-button.component';
4
- export { IconButtonComponent } from './icon-button/icon-button.component';
5
- export { OutlineButtonComponent } from './outline-button/outline-button.component';
6
- export { PrimaryButtonComponent } from './primary-button/primary-button.component';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvYnV0dG9uL2J1dHRvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sb0JBQW9CLENBQUM7QUFDbEQsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0seUNBQXlDLENBQUM7QUFDOUUsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDeEUsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDeEUsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sMkNBQTJDLENBQUM7QUFDakYsT0FBTyxFQUFDLHNCQUFzQixFQUFDLE1BQU0sMkNBQTJDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge01hZEJhc2ljQnV0dG9ufSBmcm9tICcuL21hZC1iYXNpYy1idXR0b24nO1xuZXhwb3J0IHtEYW5nZXJCdXR0b25Db21wb25lbnR9IGZyb20gJy4vZGFuZ2VyLWJ1dHRvbi9kYW5nZXItYnV0dG9uLmNvbXBvbmVudCc7XG5leHBvcnQge0xpbmtCdXR0b25Db21wb25lbnR9IGZyb20gJy4vZmxhdC1idXR0b24vbGluay1idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCB7SWNvbkJ1dHRvbkNvbXBvbmVudH0gZnJvbSAnLi9pY29uLWJ1dHRvbi9pY29uLWJ1dHRvbi5jb21wb25lbnQnO1xuZXhwb3J0IHtPdXRsaW5lQnV0dG9uQ29tcG9uZW50fSBmcm9tICcuL291dGxpbmUtYnV0dG9uL291dGxpbmUtYnV0dG9uLmNvbXBvbmVudCc7XG5leHBvcnQge1ByaW1hcnlCdXR0b25Db21wb25lbnR9IGZyb20gJy4vcHJpbWFyeS1idXR0b24vcHJpbWFyeS1idXR0b24uY29tcG9uZW50JztcbiJdfQ==
@@ -1,26 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { RouterModule } from '@angular/router';
4
- import { MatButtonModule } from '@angular/material/button';
5
- import { MatIconModule } from '@angular/material/icon';
6
- import { MatTooltipModule } from '@angular/material/tooltip';
7
- import { PrimaryButtonComponent } from './primary-button/primary-button.component';
8
- import { OutlineButtonComponent } from './outline-button/outline-button.component';
9
- import { LinkButtonComponent } from './flat-button/link-button.component';
10
- import { IconButtonComponent } from './icon-button/icon-button.component';
11
- import { DangerButtonComponent } from './danger-button/danger-button.component';
12
- import * as i0 from "@angular/core";
13
- export class ButtonModule {
14
- }
15
- ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
16
- ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.2", ngImport: i0, type: ButtonModule, declarations: [PrimaryButtonComponent, OutlineButtonComponent, LinkButtonComponent, DangerButtonComponent, IconButtonComponent], imports: [CommonModule, RouterModule, MatButtonModule, MatIconModule, MatTooltipModule], exports: [PrimaryButtonComponent, OutlineButtonComponent, LinkButtonComponent, DangerButtonComponent, IconButtonComponent] });
17
- ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ButtonModule, imports: [CommonModule, RouterModule, MatButtonModule, MatIconModule, MatTooltipModule] });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: ButtonModule, decorators: [{
19
- type: NgModule,
20
- args: [{
21
- declarations: [PrimaryButtonComponent, OutlineButtonComponent, LinkButtonComponent, DangerButtonComponent, IconButtonComponent],
22
- imports: [CommonModule, RouterModule, MatButtonModule, MatIconModule, MatTooltipModule],
23
- exports: [PrimaryButtonComponent, OutlineButtonComponent, LinkButtonComponent, DangerButtonComponent, IconButtonComponent],
24
- }]
25
- }] });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9idXR0b24ubW9kdWxlLnRzIl0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wb3J0IHsgTGlua0J1dHRvbkNvbXBvbmVudCB9IGZyb20gJy4vZmxhdC1idXR0b24vbGluay1idXR0b24uY29tcG9uZW50JztcbmltcG9ydCB7IEljb25CdXR0b25Db21wb25lbnQgfSBmcm9tICcuL2ljb24tYnV0dG9uL2ljb24tYnV0dG9uLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBEYW5nZXJCdXR0b25Db21wb25lbnQgfSBmcm9tICcuL2Rhbmdlci1idXR0b24vZGFuZ2VyLWJ1dHRvbi5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtQcmltYXJ5QnV0dG9uQ29tcG9uZW50LCBPdXRsaW5lQnV0dG9uQ29tcG9uZW50LCBMaW5rQnV0dG9uQ29tcG9uZW50LCBEYW5nZXJCdXR0b25Db21wb25lbnQsIEljb25CdXR0b25Db21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBSb3V0ZXJNb2R1bGUsIE1hdEJ1dHRvbk1vZHVsZSwgTWF0SWNvbk1vZHVsZSwgTWF0VG9vbHRpcE1vZHVsZV0sXG4gIGV4cG9ydHM6IFtQcmltYXJ5QnV0dG9uQ29tcG9uZW50LCBPdXRsaW5lQnV0dG9uQ29tcG9uZW50LCBMaW5rQnV0dG9uQ29tcG9uZW50LCBEYW5nZXJCdXR0b25Db21wb25lbnQsIEljb25CdXR0b25Db21wb25lbnRdLFxufSlcbmV4cG9ydCBjbGFzcyBCdXR0b25Nb2R1bGUge31cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { MadBasicButton } from '../mad-basic-button';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- export class DangerButtonComponent extends MadBasicButton {
6
- constructor() {
7
- super();
8
- this.title = '';
9
- super.button = this.button;
10
- super.disabled = this.disabled;
11
- }
12
- }
13
- DangerButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: DangerButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- DangerButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: DangerButtonComponent, selector: "mad-danger-button", inputs: { type: "type", disabled: "disabled", title: "title" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["btn"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button mat-raised-button color=\"warn\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: DangerButtonComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'mad-danger-button', template: "<button mat-raised-button color=\"warn\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n" }]
18
- }], ctorParameters: function () { return []; }, propDecorators: { type: [{
19
- type: Input
20
- }], disabled: [{
21
- type: Input
22
- }], title: [{
23
- type: Input
24
- }], button: [{
25
- type: ViewChild,
26
- args: ['btn', { read: ElementRef, static: true }]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFuZ2VyLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXRlcmlhbC1hZGRvbnMvc3JjL2xpYi9idXR0b24vZGFuZ2VyLWJ1dHRvbi9kYW5nZXItYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWF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wb25lbnQoe1xuICBzZWxlY3RvcjogJ21hZC1kYW5nZXItYnV0dG9uJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2Rhbmdlci1idXR0b24uY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9kYW5nZXItYnV0dG9uLmNvbXBvbmVudC5jc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgRGFuZ2VyQnV0dG9uQ29tcG9uZW50IGV4dGVuZHMgTWFkQmFzaWNCdXR0b24ge1xuICBASW5wdXQoKVxuICB0eXBlOiBzdHJpbmc7XG5cbiAgQElucHV0KClcbiAgZGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgQElucHV0KClcbiAgdGl0bGUgPSAnJztcblxuICBAVmlld0NoaWxkKCdidG4nLCB7IHJlYWQ6IEVsZW1lbnRSZWYsIHN0YXRpYzogdHJ1ZSB9KSBidXR0b246IEVsZW1lbnRSZWY7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgICBzdXBlci5idXR0b24gPSB0aGlzLmJ1dHRvbjtcbiAgICBzdXBlci5kaXNhYmxlZCA9IHRoaXMuZGlzYWJsZWQ7XG4gIH1cbn1cbiIsIjxidXR0b24gbWF0LXJhaXNlZC1idXR0b24gY29sb3I9XCJ3YXJuXCIgW3R5cGVdPVwidHlwZVwiIFt0aXRsZV09XCJ0aXRsZVwiICNidG4+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvYnV0dG9uPlxuIl19
@@ -1,28 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { MadBasicButton } from '../mad-basic-button';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- export class LinkButtonComponent extends MadBasicButton {
6
- constructor() {
7
- super();
8
- this.title = '';
9
- super.button = this.button;
10
- super.disabled = this.disabled;
11
- }
12
- }
13
- LinkButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: LinkButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- LinkButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: LinkButtonComponent, selector: "mad-link-button", inputs: { type: "type", disabled: "disabled", title: "title" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["btn"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button [title]=\"title\" [type]=\"type\" color=\"primary\" #btn mat-button>\n <ng-content></ng-content>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: LinkButtonComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'mad-link-button', template: "<button [title]=\"title\" [type]=\"type\" color=\"primary\" #btn mat-button>\n <ng-content></ng-content>\n</button>\n" }]
18
- }], ctorParameters: function () { return []; }, propDecorators: { type: [{
19
- type: Input
20
- }], disabled: [{
21
- type: Input
22
- }], title: [{
23
- type: Input
24
- }], button: [{
25
- type: ViewChild,
26
- args: ['btn', { read: ElementRef, static: true }]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvYnV0dG9uL2ZsYXQtYnV0dG9uL2xpbmstYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9mbGF0LW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icsXG4gIHRlbXBsYXRlVXJsOiAnLi9saW5rLWJ1dHRvbi5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2xpbmstYnV0dG9uLmNvbXBvbmVudC5jc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgTGlua0J1dHRvbkNvbXBvbmVudCBleHRlbmRzIE1hZEJhc2ljQnV0dG9uIHtcbiAgQElucHV0KClcbiAgdHlwZTogc3RyaW5nO1xuXG4gIEBJbnB1dCgpXG4gIGRpc2FibGVkOiBib29sZWFuO1xuXG4gIEBJbnB1dCgpXG4gIHRpdGxlID0gJyc7XG5cbiAgQFZpZXdDaGlsZCgnYnRuJywgeyByZWFkOiBFbGVtZW50UmVmLCBzdGF0aWM6IHRydWUgfSkgYnV0dG9uOiBFbGVtZW50UmVmO1xuXG4gIGNvbnN0cnVjdG9yKCkge1xuICAgIHN1cGVyKCk7XG4gICAgc3VwZXIuYnV0dG9uID0gdGhpcy5idXR0b247XG4gICAgc3VwZXIuZGlzYWJsZWQgPSB0aGlzLmRpc2FibGVkO1xuICB9XG59XG4iLCI8YnV0dG9uIFt0aXRsZV09XCJ0aXRsZVwiIFt0eXBlXT1cInR5cGVcIiBjb2xvcj1cInByaW1hcnlcIiAjYnRuIG1hdC1idXR0b24+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvYnV0dG9uPlxuIl19
@@ -1,28 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { MadBasicButton } from '../mad-basic-button';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- export class IconButtonComponent extends MadBasicButton {
6
- constructor() {
7
- super();
8
- this.title = '';
9
- super.button = this.button;
10
- super.disabled = this.disabled;
11
- }
12
- }
13
- IconButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: IconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- IconButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: IconButtonComponent, selector: "mad-icon-button", inputs: { type: "type", disabled: "disabled", title: "title" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["btn"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button mat-icon-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: IconButtonComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'mad-icon-button', template: "<button mat-icon-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n" }]
18
- }], ctorParameters: function () { return []; }, propDecorators: { type: [{
19
- type: Input
20
- }], disabled: [{
21
- type: Input
22
- }], title: [{
23
- type: Input
24
- }], button: [{
25
- type: ViewChild,
26
- args: ['btn', { read: ElementRef, static: true }]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWNvbi1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvYnV0dG9uL2ljb24tYnV0dG9uL2ljb24tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9pY29uLWJ1dHRvbi9pY29uLWJ1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE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aWNvbi1idXR0b24uY29tcG9uZW50LmNzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBJY29uQnV0dG9uQ29tcG9uZW50IGV4dGVuZHMgTWFkQmFzaWNCdXR0b24ge1xuICBASW5wdXQoKVxuICB0eXBlOiBzdHJpbmc7XG5cbiAgQElucHV0KClcbiAgZGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgQElucHV0KClcbiAgdGl0bGUgPSAnJztcblxuICBAVmlld0NoaWxkKCdidG4nLCB7IHJlYWQ6IEVsZW1lbnRSZWYsIHN0YXRpYzogdHJ1ZSB9KSBidXR0b246IEVsZW1lbnRSZWY7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgICBzdXBlci5idXR0b24gPSB0aGlzLmJ1dHRvbjtcbiAgICBzdXBlci5kaXNhYmxlZCA9IHRoaXMuZGlzYWJsZWQ7XG4gIH1cbn1cbiIsIjxidXR0b24gbWF0LWljb24tYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFt0eXBlXT1cInR5cGVcIiBbdGl0bGVdPVwidGl0bGVcIiAjYnRuPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2J1dHRvbj5cbiJdfQ==
@@ -1,39 +0,0 @@
1
- import { Component, HostBinding } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class MadBasicButton {
4
- constructor() {
5
- this.disableClick = (e) => e.stopPropagation();
6
- }
7
- get pointerEvent() {
8
- return this.disabled ? 'none' : 'auto';
9
- }
10
- get opacity() {
11
- return this.disabled ? '0.35' : '1';
12
- }
13
- ngOnChanges() {
14
- this.disableButton();
15
- }
16
- disableButton() {
17
- if (this.disabled) {
18
- this.button.nativeElement.addEventListener('click', this.disableClick);
19
- }
20
- else {
21
- this.button.nativeElement.removeEventListener('click', this.disableClick);
22
- }
23
- }
24
- }
25
- MadBasicButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: MadBasicButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
26
- MadBasicButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: MadBasicButton, selector: "ng-component", host: { properties: { "style.pointer-events": "this.pointerEvent", "style.opacity": "this.opacity" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: MadBasicButton, decorators: [{
28
- type: Component,
29
- args: [{
30
- template: ''
31
- }]
32
- }], propDecorators: { pointerEvent: [{
33
- type: HostBinding,
34
- args: ['style.pointer-events']
35
- }], opacity: [{
36
- type: HostBinding,
37
- args: ['style.opacity']
38
- }] } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFkLWJhc2ljLWJ1dHRvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9tYWQtYmFzaWMtYnV0dG9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQWMsV0FBVyxFQUFDLE1BQU0sZUFBZSxDQUFDOztBQUtqRSxNQUFNLE9BQWdCLGNBQWM7SUFIcEM7UUFpQkUsaUJBQVksR0FBRyxDQUFDLENBQVEsRUFBTyxFQUFFLENBQUMsQ0FBQyxDQUFDLGVBQWUsRUFBRSxDQUFDO0tBYXZEO0lBdkJDLElBQ0ksWUFBWTtRQUNkLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxNQUFNLENBQUM7SUFDekMsQ0FBQztJQUVELElBQ0ksT0FBTztRQUNULE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsT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25vbmUnIDogJ2F1dG8nO1xuICB9XG5cbiAgQEhvc3RCaW5kaW5nKCdzdHlsZS5vcGFjaXR5JylcbiAgZ2V0IG9wYWNpdHkoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5kaXNhYmxlZCA/ICcwLjM1JyA6ICcxJztcbiAgfVxuXG4gIGRpc2FibGVDbGljayA9IChlOiBFdmVudCk6IGFueSA9PiBlLnN0b3BQcm9wYWdhdGlvbigpO1xuXG4gIG5nT25DaGFuZ2VzKCk6IHZvaWQge1xuICAgIHRoaXMuZGlzYWJsZUJ1dHRvbigpO1xuICB9XG5cbiAgZGlzYWJsZUJ1dHRvbigpOiB2b2lkIHtcbiAgICBpZiAodGhpcy5kaXNhYmxlZCkge1xuICAgICAgdGhpcy5idXR0b24ubmF0aXZlRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMuZGlzYWJsZUNsaWNrKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5idXR0b24ubmF0aXZlRWxlbWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCdjbGljaycsIHRoaXMuZGlzYWJsZUNsaWNrKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { MadBasicButton } from '../mad-basic-button';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- export class OutlineButtonComponent extends MadBasicButton {
6
- constructor() {
7
- super();
8
- this.title = '';
9
- super.button = this.button;
10
- super.disabled = this.disabled;
11
- }
12
- }
13
- OutlineButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: OutlineButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- OutlineButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: OutlineButtonComponent, selector: "mad-outline-button", inputs: { type: "type", disabled: "disabled", title: "title" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["btn"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button mat-stroked-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: OutlineButtonComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'mad-outline-button', template: "<button mat-stroked-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n" }]
18
- }], ctorParameters: function () { return []; }, propDecorators: { type: [{
19
- type: Input
20
- }], disabled: [{
21
- type: Input
22
- }], title: [{
23
- type: Input
24
- }], button: [{
25
- type: ViewChild,
26
- args: ['btn', { read: ElementRef, static: true }]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0bGluZS1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvYnV0dG9uL291dGxpbmUtYnV0dG9uL291dGxpbmUtYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9vdXRsaW5lLWJ1dHRvbi9vdXRsaW5lLWJ1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFVBQVUsR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Y29tcG9uZW50LmNzcyddLFxufSlcbmV4cG9ydCBjbGFzcyBPdXRsaW5lQnV0dG9uQ29tcG9uZW50IGV4dGVuZHMgTWFkQmFzaWNCdXR0b24ge1xuICBASW5wdXQoKVxuICB0eXBlOiBzdHJpbmc7XG5cbiAgQElucHV0KClcbiAgZGlzYWJsZWQ6IGJvb2xlYW47XG5cbiAgQElucHV0KClcbiAgdGl0bGUgPSAnJztcblxuICBAVmlld0NoaWxkKCdidG4nLCB7IHJlYWQ6IEVsZW1lbnRSZWYsIHN0YXRpYzogdHJ1ZSB9KSBidXR0b246IEVsZW1lbnRSZWY7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgc3VwZXIoKTtcbiAgICBzdXBlci5idXR0b24gPSB0aGlzLmJ1dHRvbjtcbiAgICBzdXBlci5kaXNhYmxlZCA9IHRoaXMuZGlzYWJsZWQ7XG4gIH1cbn1cbiIsIjxidXR0b24gbWF0LXN0cm9rZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFt0eXBlXT1cInR5cGVcIiBbdGl0bGVdPVwidGl0bGVcIiAjYnRuPlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2J1dHRvbj5cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { Component, ElementRef, Input, ViewChild } from '@angular/core';
2
- import { MadBasicButton } from '../mad-basic-button';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/button";
5
- export class PrimaryButtonComponent extends MadBasicButton {
6
- constructor() {
7
- super();
8
- this.title = '';
9
- super.button = this.button;
10
- super.disabled = this.disabled;
11
- }
12
- }
13
- PrimaryButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: PrimaryButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
- PrimaryButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.2", type: PrimaryButtonComponent, selector: "mad-primary-button", inputs: { type: "type", disabled: "disabled", title: "title" }, viewQueries: [{ propertyName: "button", first: true, predicate: ["btn"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button mat-raised-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n", styles: ["::ng-deep .mat-icon{vertical-align:middle}\n"], dependencies: [{ kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.2", ngImport: i0, type: PrimaryButtonComponent, decorators: [{
16
- type: Component,
17
- args: [{ selector: 'mad-primary-button', template: "<button mat-raised-button color=\"primary\" [type]=\"type\" [title]=\"title\" #btn>\n <ng-content></ng-content>\n</button>\n", styles: ["::ng-deep .mat-icon{vertical-align:middle}\n"] }]
18
- }], ctorParameters: function () { return []; }, propDecorators: { type: [{
19
- type: Input
20
- }], disabled: [{
21
- type: Input
22
- }], title: [{
23
- type: Input
24
- }], button: [{
25
- type: ViewChild,
26
- args: ['btn', { read: ElementRef, static: true }]
27
- }] } });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWFyeS1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWF0ZXJpYWwtYWRkb25zL3NyYy9saWIvYnV0dG9uL3ByaW1hcnktYnV0dG9uL3ByaW1hcnktYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL21hdGVyaWFsLWFkZG9ucy9zcmMvbGliL2J1dHRvbi9wcmltYXJ5LWJ1dHRvbi9wcmltYXJ5LWJ1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW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