@porscheinformatik/material-addons 0.0.34 → 0.0.99

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 (227) hide show
  1. package/README.md +29 -29
  2. package/esm2022/lib/button/button.mjs +7 -0
  3. package/esm2022/lib/button/button.module.mjs +26 -0
  4. package/esm2022/lib/button/danger-button/danger-button.component.mjs +28 -0
  5. package/esm2022/lib/button/flat-button/link-button.component.mjs +28 -0
  6. package/esm2022/lib/button/icon-button/icon-button.component.mjs +28 -0
  7. package/esm2022/lib/button/mad-basic-button.mjs +39 -0
  8. package/esm2022/lib/button/outline-button/outline-button.component.mjs +28 -0
  9. package/esm2022/lib/button/primary-button/primary-button.component.mjs +28 -0
  10. package/esm2022/lib/card/card.component.mjs +129 -0
  11. package/esm2022/lib/card/card.mjs +2 -0
  12. package/esm2022/lib/card/card.module.mjs +23 -0
  13. package/esm2022/lib/content-panel/content-header/content-header.component.mjs +11 -0
  14. package/esm2022/lib/content-panel/content-panel-container/content-panel-container.component.mjs +11 -0
  15. package/esm2022/lib/content-panel/content-panel-container-content/content-panel-container-content.component.mjs +11 -0
  16. package/esm2022/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.mjs +11 -0
  17. package/esm2022/lib/content-panel/content-panel.module.mjs +42 -0
  18. package/esm2022/lib/content-panel/main-container/main-container.component.mjs +11 -0
  19. package/esm2022/lib/data-table/data-table-action-type.mjs +6 -0
  20. package/esm2022/lib/data-table/data-table-action.mjs +2 -0
  21. package/esm2022/lib/data-table/data-table-column-definition.mjs +2 -0
  22. package/esm2022/lib/data-table/data-table-column.mjs +2 -0
  23. package/esm2022/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.mjs +103 -0
  24. package/esm2022/lib/data-table/data-table-row.mjs +2 -0
  25. package/esm2022/lib/data-table/data-table.component.mjs +529 -0
  26. package/esm2022/lib/data-table/data-table.mjs +3 -0
  27. package/esm2022/lib/data-table/data-table.module.mjs +81 -0
  28. package/esm2022/lib/file-upload/drag-and-drop-directive.directive.mjs +61 -0
  29. package/esm2022/lib/file-upload/file-upload.component.mjs +78 -0
  30. package/esm2022/lib/flowbar/flowbar.component.mjs +190 -0
  31. package/esm2022/lib/flowbar/flowbar.module.mjs +19 -0
  32. package/esm2022/lib/material-action-button/material-action-button.component.mjs +34 -0
  33. package/esm2022/lib/material-action-button/material-action-button.module.mjs +22 -0
  34. package/esm2022/lib/material-addons.module.mjs +45 -0
  35. package/esm2022/lib/numeric-field/number-format.service.mjs +139 -0
  36. package/esm2022/lib/numeric-field/numeric-field.directive.mjs +295 -0
  37. package/esm2022/lib/numeric-field/numeric-field.mjs +2 -0
  38. package/esm2022/lib/numeric-field/numeric-field.module.mjs +24 -0
  39. package/esm2022/lib/quick-list/base-quick-list.component.mjs +124 -0
  40. package/esm2022/lib/quick-list/quick-list-compact/quick-list-compact.component.mjs +22 -0
  41. package/esm2022/lib/quick-list/quick-list.component.mjs +23 -0
  42. package/esm2022/lib/quick-list/quick-list.mjs +6 -0
  43. package/esm2022/lib/quick-list/quick-list.module.mjs +46 -0
  44. package/esm2022/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.mjs +22 -0
  45. package/esm2022/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.mjs +22 -0
  46. package/esm2022/lib/readonly/readonly-form-field/readonly-form-field.component.mjs +181 -0
  47. package/esm2022/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.mjs +206 -0
  48. package/esm2022/lib/readonly/readonly-form-field.module.mjs +25 -0
  49. package/esm2022/lib/stepper/mad-stepper-animation.mjs +13 -0
  50. package/esm2022/lib/stepper/step-header/step-header.component.mjs +77 -0
  51. package/esm2022/lib/stepper/stepper.component.mjs +159 -0
  52. package/esm2022/lib/stepper/stepper.module.mjs +23 -0
  53. package/esm2022/lib/table/column-header.mjs +2 -0
  54. package/esm2022/lib/table/table-action.mjs +2 -0
  55. package/esm2022/lib/table/table.component.mjs +130 -0
  56. package/esm2022/lib/table/table.mjs +2 -0
  57. package/esm2022/lib/table/table.module.mjs +56 -0
  58. package/esm2022/lib/throttle-click/throttle-click.directive.mjs +38 -0
  59. package/esm2022/lib/throttle-click/throttle-click.module.mjs +18 -0
  60. package/esm2022/lib/toolbar/toolbar-action.interface.mjs +2 -0
  61. package/esm2022/lib/toolbar/toolbar.component.mjs +78 -0
  62. package/esm2022/lib/toolbar/toolbar.module.mjs +56 -0
  63. package/esm2022/lib/toolbar/toolbar.service.mjs +124 -0
  64. package/esm2022/porscheinformatik-material-addons.mjs +5 -0
  65. package/esm2022/public_api.mjs +42 -0
  66. package/fesm2022/porscheinformatik-material-addons.mjs +3229 -0
  67. package/fesm2022/porscheinformatik-material-addons.mjs.map +1 -0
  68. package/index.d.ts +6 -0
  69. package/lib/button/button.d.ts +7 -0
  70. package/lib/button/button.d.ts.map +1 -0
  71. package/lib/button/button.module.d.ts +17 -0
  72. package/lib/button/button.module.d.ts.map +1 -0
  73. package/lib/button/danger-button/danger-button.component.d.ts +13 -0
  74. package/lib/button/danger-button/danger-button.component.d.ts.map +1 -0
  75. package/lib/button/flat-button/link-button.component.d.ts +13 -0
  76. package/lib/button/flat-button/link-button.component.d.ts.map +1 -0
  77. package/lib/button/icon-button/icon-button.component.d.ts +13 -0
  78. package/lib/button/icon-button/icon-button.component.d.ts.map +1 -0
  79. package/lib/button/mad-basic-button.d.ts +14 -0
  80. package/lib/button/mad-basic-button.d.ts.map +1 -0
  81. package/lib/button/outline-button/outline-button.component.d.ts +13 -0
  82. package/lib/button/outline-button/outline-button.component.d.ts.map +1 -0
  83. package/lib/button/primary-button/primary-button.component.d.ts +13 -0
  84. package/lib/button/primary-button/primary-button.component.d.ts.map +1 -0
  85. package/lib/card/card.component.d.ts +28 -0
  86. package/lib/card/card.component.d.ts.map +1 -0
  87. package/lib/card/card.d.ts +2 -0
  88. package/lib/card/card.d.ts.map +1 -0
  89. package/lib/card/card.module.d.ts +14 -0
  90. package/lib/card/card.module.d.ts.map +1 -0
  91. package/lib/content-panel/content-header/content-header.component.d.ts +6 -0
  92. package/lib/content-panel/content-header/content-header.component.d.ts.map +1 -0
  93. package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts +6 -0
  94. package/lib/content-panel/content-panel-container/content-panel-container.component.d.ts.map +1 -0
  95. package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts +6 -0
  96. package/lib/content-panel/content-panel-container-content/content-panel-container-content.component.d.ts.map +1 -0
  97. package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts +6 -0
  98. package/lib/content-panel/content-panel-container-footer/content-panel-container-footer.component.d.ts.map +1 -0
  99. package/lib/content-panel/content-panel.module.d.ts +13 -0
  100. package/lib/content-panel/content-panel.module.d.ts.map +1 -0
  101. package/lib/content-panel/main-container/main-container.component.d.ts +6 -0
  102. package/lib/content-panel/main-container/main-container.component.d.ts.map +1 -0
  103. package/lib/data-table/data-table-action-type.d.ts +6 -0
  104. package/lib/data-table/data-table-action-type.d.ts.map +1 -0
  105. package/lib/data-table/data-table-action.d.ts +8 -0
  106. package/lib/data-table/data-table-action.d.ts.map +1 -0
  107. package/lib/data-table/data-table-column-definition.d.ts +28 -0
  108. package/lib/data-table/data-table-column-definition.d.ts.map +1 -0
  109. package/lib/data-table/data-table-column.d.ts +11 -0
  110. package/lib/data-table/data-table-column.d.ts.map +1 -0
  111. package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts +27 -0
  112. package/lib/data-table/data-table-columns-modal/data-table-columns-modal.component.d.ts.map +1 -0
  113. package/lib/data-table/data-table-row.d.ts +7 -0
  114. package/lib/data-table/data-table-row.d.ts.map +1 -0
  115. package/lib/data-table/data-table.component.d.ts +123 -0
  116. package/lib/data-table/data-table.component.d.ts.map +1 -0
  117. package/lib/data-table/data-table.d.ts +6 -0
  118. package/lib/data-table/data-table.d.ts.map +1 -0
  119. package/lib/data-table/data-table.module.d.ts +25 -0
  120. package/lib/data-table/data-table.module.d.ts.map +1 -0
  121. package/lib/file-upload/drag-and-drop-directive.directive.d.ts +13 -0
  122. package/lib/file-upload/drag-and-drop-directive.directive.d.ts.map +1 -0
  123. package/lib/file-upload/file-upload.component.d.ts +22 -0
  124. package/lib/file-upload/file-upload.component.d.ts.map +1 -0
  125. package/lib/flowbar/flowbar.component.d.ts +47 -0
  126. package/lib/flowbar/flowbar.component.d.ts.map +1 -0
  127. package/lib/flowbar/flowbar.module.d.ts +10 -0
  128. package/lib/flowbar/flowbar.module.d.ts.map +1 -0
  129. package/lib/material-action-button/material-action-button.component.d.ts +12 -8
  130. package/lib/material-action-button/material-action-button.component.d.ts.map +1 -0
  131. package/lib/material-action-button/material-action-button.module.d.ts +13 -2
  132. package/lib/material-action-button/material-action-button.module.d.ts.map +1 -0
  133. package/lib/material-addons.module.d.ts +15 -2
  134. package/lib/material-addons.module.d.ts.map +1 -0
  135. package/lib/numeric-field/number-format.service.d.ts +31 -0
  136. package/lib/numeric-field/number-format.service.d.ts.map +1 -0
  137. package/lib/numeric-field/numeric-field.d.ts +2 -0
  138. package/lib/numeric-field/numeric-field.d.ts.map +1 -0
  139. package/lib/numeric-field/numeric-field.directive.d.ts +45 -0
  140. package/lib/numeric-field/numeric-field.directive.d.ts.map +1 -0
  141. package/lib/numeric-field/numeric-field.module.d.ts +10 -0
  142. package/lib/numeric-field/numeric-field.module.d.ts.map +1 -0
  143. package/lib/quick-list/base-quick-list.component.d.ts +41 -0
  144. package/lib/quick-list/base-quick-list.component.d.ts.map +1 -0
  145. package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts +12 -0
  146. package/lib/quick-list/quick-list-compact/quick-list-compact.component.d.ts.map +1 -0
  147. package/lib/quick-list/quick-list.component.d.ts +12 -0
  148. package/lib/quick-list/quick-list.component.d.ts.map +1 -0
  149. package/lib/quick-list/quick-list.d.ts +6 -0
  150. package/lib/quick-list/quick-list.d.ts.map +1 -0
  151. package/lib/quick-list/quick-list.module.d.ts +17 -0
  152. package/lib/quick-list/quick-list.module.d.ts.map +1 -0
  153. package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts +12 -0
  154. package/lib/quick-list/reactive-form-quick-list/reactive-form-quick-list.component.d.ts.map +1 -0
  155. package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts +12 -0
  156. package/lib/quick-list/reactive-form-quick-list-compact/reactive-form-quick-list-compact.component.d.ts.map +1 -0
  157. package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts +56 -14
  158. package/lib/readonly/readonly-form-field/readonly-form-field.component.d.ts.map +1 -0
  159. package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts +89 -31
  160. package/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.d.ts.map +1 -0
  161. package/lib/readonly/readonly-form-field.module.d.ts +16 -2
  162. package/lib/readonly/readonly-form-field.module.d.ts.map +1 -0
  163. package/lib/stepper/mad-stepper-animation.d.ts +8 -0
  164. package/lib/stepper/mad-stepper-animation.d.ts.map +1 -0
  165. package/lib/stepper/step-header/step-header.component.d.ts +27 -0
  166. package/lib/stepper/step-header/step-header.component.d.ts.map +1 -0
  167. package/lib/stepper/stepper.component.d.ts +53 -0
  168. package/lib/stepper/stepper.component.d.ts.map +1 -0
  169. package/lib/stepper/stepper.module.d.ts +14 -0
  170. package/lib/stepper/stepper.module.d.ts.map +1 -0
  171. package/lib/table/column-header.d.ts +8 -0
  172. package/lib/table/column-header.d.ts.map +1 -0
  173. package/lib/table/table-action.d.ts +6 -0
  174. package/lib/table/table-action.d.ts.map +1 -0
  175. package/lib/table/table.component.d.ts +43 -0
  176. package/lib/table/table.component.d.ts.map +1 -0
  177. package/lib/table/table.d.ts +4 -0
  178. package/lib/table/table.d.ts.map +1 -0
  179. package/lib/table/table.module.d.ts +18 -0
  180. package/lib/table/table.module.d.ts.map +1 -0
  181. package/lib/throttle-click/throttle-click.directive.d.ts +14 -0
  182. package/lib/throttle-click/throttle-click.directive.d.ts.map +1 -0
  183. package/lib/throttle-click/throttle-click.module.d.ts +9 -0
  184. package/lib/throttle-click/throttle-click.module.d.ts.map +1 -0
  185. package/lib/toolbar/toolbar-action.interface.d.ts +28 -18
  186. package/lib/toolbar/toolbar-action.interface.d.ts.map +1 -0
  187. package/lib/toolbar/toolbar.component.d.ts +28 -19
  188. package/lib/toolbar/toolbar.component.d.ts.map +1 -0
  189. package/lib/toolbar/toolbar.module.d.ts +18 -2
  190. package/lib/toolbar/toolbar.module.d.ts.map +1 -0
  191. package/lib/toolbar/toolbar.service.d.ts +44 -33
  192. package/lib/toolbar/toolbar.service.d.ts.map +1 -0
  193. package/package.json +29 -24
  194. package/porscheinformatik-material-addons.d.ts.map +1 -0
  195. package/public_api.d.ts +39 -0
  196. package/public_api.d.ts.map +1 -0
  197. package/themes/common/styles.scss +359 -303
  198. package/themes/pbv.scss +64 -56
  199. package/themes/poa.scss +64 -40
  200. package/bundles/porscheinformatik-material-addons.umd.js +0 -755
  201. package/esm2015/lib/material-action-button/material-action-button.component.js +0 -43
  202. package/esm2015/lib/material-action-button/material-action-button.module.js +0 -19
  203. package/esm2015/lib/material-addons.module.js +0 -16
  204. package/esm2015/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -61
  205. package/esm2015/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -124
  206. package/esm2015/lib/readonly/readonly-form-field.module.js +0 -20
  207. package/esm2015/lib/toolbar/toolbar-action.interface.js +0 -47
  208. package/esm2015/lib/toolbar/toolbar.component.js +0 -112
  209. package/esm2015/lib/toolbar/toolbar.module.js +0 -29
  210. package/esm2015/lib/toolbar/toolbar.service.js +0 -197
  211. package/esm2015/porscheinformatik-material-addons.js +0 -9
  212. package/esm2015/public-api.js +0 -18
  213. package/esm5/lib/material-action-button/material-action-button.component.js +0 -45
  214. package/esm5/lib/material-action-button/material-action-button.module.js +0 -23
  215. package/esm5/lib/material-addons.module.js +0 -20
  216. package/esm5/lib/readonly/readonly-form-field/readonly-form-field.component.js +0 -67
  217. package/esm5/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.js +0 -145
  218. package/esm5/lib/readonly/readonly-form-field.module.js +0 -24
  219. package/esm5/lib/toolbar/toolbar-action.interface.js +0 -47
  220. package/esm5/lib/toolbar/toolbar.component.js +0 -131
  221. package/esm5/lib/toolbar/toolbar.module.js +0 -33
  222. package/esm5/lib/toolbar/toolbar.service.js +0 -245
  223. package/esm5/porscheinformatik-material-addons.js +0 -9
  224. package/esm5/public-api.js +0 -18
  225. package/porscheinformatik-material-addons.d.ts +0 -4
  226. package/porscheinformatik-material-addons.metadata.json +0 -1
  227. package/public-api.d.ts +0 -10
@@ -1,31 +1,89 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- /**
3
- * Wraps a mat-form-field to replace it by a readOnly representation if necessary
4
- *
5
- * @author Stefan Laesser
6
- */
7
- export declare class ReadOnlyFormFieldWrapperComponent implements OnInit, AfterViewInit, OnChanges {
8
- private changeDetector;
9
- /**
10
- * If set to "false", the contained mat-form-field is rendered in all it's glory.
11
- * If set to "true", a readonly representation of the value is shown using the mat-form-fields label.
12
- */
13
- readonly: boolean;
14
- /**
15
- * This input *MUST MATCH* the mat-form-field value to ensure correct data
16
- * binding and formatting of readOnly representation!
17
- */
18
- value: any;
19
- /**
20
- * Automatically taken from the contained <mat-label>
21
- */
22
- label: string;
23
- originalContent: ElementRef;
24
- constructor(changeDetector: ChangeDetectorRef);
25
- ngOnInit(): void;
26
- ngAfterViewInit(): void;
27
- ngOnChanges(_: SimpleChanges): void;
28
- private doRendering;
29
- private setLabel;
30
- private correctWidth;
31
- }
1
+ import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Wraps a mat-form-field to replace it by a readOnly representation if necessary
5
+ *
6
+ * @author Stefan Laesser
7
+ */
8
+ export declare class ReadOnlyFormFieldWrapperComponent implements OnInit, AfterViewInit, OnChanges, AfterViewChecked {
9
+ private changeDetector;
10
+ private elementRef;
11
+ originalContent: ElementRef;
12
+ readOnlyContentWrapper: ElementRef;
13
+ /**
14
+ * If set to "false", the contained mat-form-field is rendered in all it's glory.
15
+ * If set to "true", a readonly representation of the value is shown using the mat-form-fields label.
16
+ */
17
+ readonly: boolean;
18
+ /**
19
+ * This input *MUST MATCH* the mat-form-field value to ensure correct data
20
+ * binding and formatting of readOnly representation!
21
+ */
22
+ value: any;
23
+ textAlign: 'right' | 'left';
24
+ formatNumber: boolean;
25
+ decimalPlaces: number;
26
+ roundValue: boolean;
27
+ autofillDecimals: boolean;
28
+ unit: string | null;
29
+ unitPosition: 'right' | 'left';
30
+ errorMessage: string | null;
31
+ id: string;
32
+ /**
33
+ * If set to "false", a readonly input will be rendered.
34
+ * If set to "true", a readonly textarea will be rendered instead.
35
+ */
36
+ multiline: boolean;
37
+ /**
38
+ * Defines the rows for the readonly textarea.
39
+ */
40
+ rows: number;
41
+ /**
42
+ * If shrinkIfEmpty is set to "false", nothing changes
43
+ * If set to "true" and multiline is also "true", the textarea will
44
+ * shrink to one row, if value is empty/null/undefined.
45
+ * Otherwise, the defined rows-value will be used
46
+ */
47
+ shrinkIfEmpty: boolean;
48
+ hideIconInReadOnlyMode: boolean;
49
+ /**
50
+ * suffix iocon
51
+ */
52
+ suffix: string;
53
+ /**
54
+ * prefix iocon
55
+ */
56
+ prefix: string;
57
+ /**
58
+ * if cdkTextareaAutosize is active for textareas
59
+ */
60
+ multilineAutoSize: boolean;
61
+ suffixClickedEmitter: EventEmitter<any>;
62
+ prefixClickedEmitter: EventEmitter<any>;
63
+ /**
64
+ * Automatically taken from the contained <mat-label>
65
+ */
66
+ label: string;
67
+ toolTipForInputEnabled: boolean;
68
+ toolTipText: string;
69
+ constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef);
70
+ ngOnInit(): void;
71
+ ngAfterViewInit(): void;
72
+ ngAfterViewChecked(): void;
73
+ ngOnChanges(_: SimpleChanges): void;
74
+ getLabel(): string;
75
+ suffixClicked(): void;
76
+ prefixClicked(): void;
77
+ private doRendering;
78
+ private extractLabel;
79
+ private correctWidth;
80
+ private setReadonlyFieldStyle;
81
+ private getTextOverFlowStyleValue;
82
+ private setTooltipForOverflownField;
83
+ private isEllipsisForTextOverflowEnabled;
84
+ private isTextOverflown;
85
+ private calculateToolTipText;
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldWrapperComponent, never>;
87
+ 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; }; "hideIconInReadOnlyMode": { "alias": "hideIconInReadOnlyMode"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "multilineAutoSize": { "alias": "multilineAutoSize"; "required": false; }; }, { "suffixClickedEmitter": "suffixClickedEmitter"; "prefixClickedEmitter": "prefixClickedEmitter"; }, never, ["*"], false, never>;
88
+ }
89
+ //# sourceMappingURL=readonly-form-field-wrapper.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readonly-form-field-wrapper.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/readonly/readonly-form-field-wrapper/readonly-form-field-wrapper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,aAAa,EAEd,MAAM,eAAe,CAAC;;AAEvB;;;;GAIG;AACH,qBAKa,iCAAkC,YAAW,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB;IAsExG,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,UAAU;IArEpB,eAAe,EAAE,UAAU,CAAC;IAE5B,sBAAsB,EAAE,UAAU,CAAC;IAEnC;;;OAGG;IACM,QAAQ,UAAQ;IAEzB;;;OAGG;IACa,KAAK,EAAE,GAAG,CAAC;IAEP,SAAS,EAAE,OAAO,GAAG,MAAM,CAAU;IAClC,YAAY,UAAS;IACpB,aAAa,SAAK;IACd,UAAU,UAAS;IACpB,gBAAgB,UAAS;IACrC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAQ;IACnB,YAAY,EAAE,OAAO,GAAG,MAAM,CAAU;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAQ;IACjD,EAAE,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACM,SAAS,UAAS;IAE3B;;OAEG;IACM,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;OAKG;IACM,aAAa,UAAS;IACtB,sBAAsB,UAAS;IACxC;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACM,iBAAiB,UAAS;IACzB,oBAAoB,oBAAsB;IAC1C,oBAAoB,oBAAsB;IAEpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd,sBAAsB,UAAS;IAC/B,WAAW,EAAE,MAAM,CAAC;gBAGV,cAAc,EAAE,iBAAiB,EACjC,UAAU,EAAE,UAAU;IAGhC,QAAQ,IAAI,IAAI;IAIhB,eAAe,IAAI,IAAI;IAKvB,kBAAkB,IAAI,IAAI;IAK1B,WAAW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAInC,QAAQ,IAAI,MAAM;IAOlB,aAAa;IAIb,aAAa;IAIb,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,YAAY;IAOpB,OAAO,CAAC,qBAAqB;IAY7B,OAAO,CAAC,yBAAyB;IAWjC,OAAO,CAAC,2BAA2B;IAcnC,OAAO,CAAC,gCAAgC;IAIxC,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,oBAAoB;yCAtLjB,iCAAiC;2CAAjC,iCAAiC;CA6L7C"}
@@ -1,2 +1,16 @@
1
- export declare class ReadOnlyFormFieldModule {
2
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./readonly-form-field/readonly-form-field.component";
3
+ import * as i2 from "./readonly-form-field-wrapper/readonly-form-field-wrapper.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/router";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "@angular/material/tooltip";
10
+ import * as i9 from "@angular/material/icon";
11
+ export declare class ReadOnlyFormFieldModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormFieldModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ReadOnlyFormFieldModule, [typeof i1.ReadOnlyFormFieldComponent, typeof i2.ReadOnlyFormFieldWrapperComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.FormsModule, typeof i8.MatTooltipModule, typeof i9.MatIconModule], [typeof i1.ReadOnlyFormFieldComponent, typeof i2.ReadOnlyFormFieldWrapperComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<ReadOnlyFormFieldModule>;
15
+ }
16
+ //# sourceMappingURL=readonly-form-field.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readonly-form-field.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/readonly/readonly-form-field.module.ts"],"names":[],"mappings":";;;;;;;;;;AAWA,qBAKa,uBAAuB;yCAAvB,uBAAuB;0CAAvB,uBAAuB;0CAAvB,uBAAuB;CAAG"}
@@ -0,0 +1,8 @@
1
+ import { AnimationTriggerMetadata } from '@angular/animations';
2
+ /**
3
+ * Animations used by the MAD stepper.
4
+ */
5
+ export declare const madStepperAnimations: {
6
+ readonly verticalStepTransition: AnimationTriggerMetadata;
7
+ };
8
+ //# sourceMappingURL=mad-stepper-animation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mad-stepper-animation.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/mad-stepper-animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8C,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE3G;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE;IACjC,QAAQ,CAAC,sBAAsB,EAAE,wBAAwB,CAAC;CAQ3D,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { CdkStepHeader, StepState } from '@angular/cdk/stepper';
2
+ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
3
+ import { FocusMonitor, FocusOrigin } from '@angular/cdk/a11y';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StepHeaderComponent extends CdkStepHeader implements AfterViewInit, OnDestroy {
6
+ private _focusMonitor;
7
+ index: number;
8
+ label: string;
9
+ state: StepState;
10
+ errorMessage: string;
11
+ selected: boolean;
12
+ active: boolean;
13
+ optional: boolean;
14
+ hasError: boolean;
15
+ completed: boolean;
16
+ closed: boolean;
17
+ constructor(_focusMonitor: FocusMonitor, _elementRef: ElementRef<HTMLElement>);
18
+ ngAfterViewInit(): void;
19
+ ngOnDestroy(): void;
20
+ /** Focuses the step header. */
21
+ focus(origin?: FocusOrigin, options?: FocusOptions): void;
22
+ getCssForState(): string;
23
+ getIcon(): string;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepHeaderComponent, 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
+ }
27
+ //# sourceMappingURL=step-header.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-header.component.d.ts","sourceRoot":"","sources":["../../../../../projects/material-addons/src/lib/stepper/step-header/step-header.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAc,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAsC,UAAU,EAAS,SAAS,EAAqB,MAAM,eAAe,CAAC;AACnI,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;;AAE9D,qBAYa,mBAAoB,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IAwBtF,OAAO,CAAC,aAAa;IAtBvB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAEL,KAAK,EAAE,SAAS,CAAC;IAEjB,YAAY,EAAE,MAAM,CAAC;IAErB,QAAQ,EAAE,OAAO,CAAC;IAElB,MAAM,EAAE,OAAO,CAAC;IAEhB,QAAQ,EAAE,OAAO,CAAC;IAElB,QAAQ,EAAE,OAAO,CAAC;IAElB,SAAS,EAAE,OAAO,CAAC;IAEnB,MAAM,EAAE,OAAO,CAAC;gBAGf,aAAa,EAAE,YAAY,EACnC,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IAKtC,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAInB,+BAA+B;IAC/B,KAAK,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAQzD,cAAc,IAAI,MAAM;IAUxB,OAAO,IAAI,MAAM;yCAzDN,mBAAmB;2CAAnB,mBAAmB;CAiE/B"}
@@ -0,0 +1,53 @@
1
+ import { Directionality } from '@angular/cdk/bidi';
2
+ import { CdkStep, CdkStepper, StepContentPositionState } from '@angular/cdk/stepper';
3
+ import { AnimationEvent } from '@angular/animations';
4
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
5
+ import { Subject } from 'rxjs';
6
+ import { StepHeaderComponent } from './step-header/step-header.component';
7
+ import * as i0 from "@angular/core";
8
+ export declare class StepComponent extends CdkStep implements AfterContentInit, OnDestroy {
9
+ private stepper;
10
+ private _viewContainerRef;
11
+ /** Action event for the next button. If not set the StepComponent will handle the step navigation */
12
+ onNext: EventEmitter<any>;
13
+ /** Action event for the done button. If not set the StepComponent will handle the step navigation */
14
+ onDone: EventEmitter<any>;
15
+ /*** Action event when the header is clicked. If not set the StepComponent will handle the step navigation*/
16
+ onHeaderClick: EventEmitter<any>;
17
+ stepClosed: boolean;
18
+ private _isSelected;
19
+ constructor(stepper: StepperComponent, _viewContainerRef: ViewContainerRef);
20
+ ngAfterContentInit(): void;
21
+ ngOnDestroy(): void;
22
+ next(markFormAsTouched?: boolean): void;
23
+ selectAndMarkAsTouched(index: number): void;
24
+ completeLast(): void;
25
+ resetValidations(): void;
26
+ private stepValidation;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "mad-step", never, {}, { "onNext": "onNext"; "onDone": "onDone"; "onHeaderClick": "onHeaderClick"; }, never, ["*"], false, never>;
29
+ }
30
+ export declare class StepperComponent extends CdkStepper implements OnInit, AfterContentInit {
31
+ /** Event emitted when the current step is done transitioning in. */
32
+ readonly animationDone: EventEmitter<void>;
33
+ nextButtonLabel: string;
34
+ doneButtonLabel: string;
35
+ /** Step headers of all steps inside the stepper */
36
+ _stepHeader: QueryList<StepHeaderComponent>;
37
+ /** Steps inside the Stepper */
38
+ _steps: QueryList<StepComponent>;
39
+ /** Steps that belong to the current stepper, excluding ones from nested steppers. */
40
+ steps: QueryList<StepComponent>;
41
+ readonly _animationDone: Subject<AnimationEvent>;
42
+ constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>);
43
+ ngOnInit(): void;
44
+ ngAfterContentInit(): void;
45
+ /**
46
+ * Method patched to enable the closing of the last step.
47
+ */
48
+ _getAnimationDirection(index: number): StepContentPositionState;
49
+ _stepIsNavigable(index: number, step: StepComponent): boolean;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, [{ optional: true; }, null, null]>;
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
+ }
53
+ //# sourceMappingURL=stepper.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/stepper.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,UAAU,EAAc,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACL,gBAAgB,EAEhB,iBAAiB,EAGjB,UAAU,EACV,YAAY,EAIZ,SAAS,EACT,MAAM,EAGN,SAAS,EAET,gBAAgB,EAEjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAgB,MAAM,MAAM,CAAC;AAE7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;;AAG1E,qBAQa,aAAc,SAAQ,OAAQ,YAAW,gBAAgB,EAAE,SAAS;IAkBjC,OAAO,CAAC,OAAO;IAC3D,OAAO,CAAC,iBAAiB;IAlB3B,qGAAqG;IAErG,MAAM,oBAA2B;IAEjC,sGAAsG;IAEtG,MAAM,oBAA2B;IAEjC,4GAA4G;IAE5G,aAAa,oBAA2B;IAExC,UAAU,UAAS;IAEnB,OAAO,CAAC,WAAW,CAAsB;gBAGa,OAAO,EAAE,gBAAgB,EACrE,iBAAiB,EAAE,gBAAgB;IAK7C,kBAAkB;IAclB,WAAW;IAIX,IAAI,CAAC,iBAAiB,UAAO,GAAG,IAAI;IASpC,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAU3C,YAAY,IAAI,IAAI;IAWpB,gBAAgB,IAAI,IAAI;IAMxB,OAAO,CAAC,cAAc;yCA9EX,aAAa;2CAAb,aAAa;CA4FzB;AAED,qBAea,gBAAiB,SAAQ,UAAW,YAAW,MAAM,EAAE,gBAAgB;IAClF,oEAAoE;IAC1D,QAAQ,CAAC,aAAa,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGhF,eAAe,EAAE,MAAM,CAAC;IAGxB,eAAe,EAAE,MAAM,CAAC;IACxB,mDAAmD;IAChB,WAAW,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAC;IAE/E,+BAA+B;IACwB,MAAM,EAAE,SAAS,CAAC,aAAa,CAAC,CAAC;IAExF,qFAAqF;IACrF,KAAK,EAAE,SAAS,CAAC,aAAa,CAAC,CAAkC;IAEjE,QAAQ,CAAC,cAAc,0BAAiC;gBAEhC,GAAG,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,UAAU,EAAE,UAAU,CAAC,WAAW,CAAC;IAKtH,QAAQ;IAKR,kBAAkB;IAmBlB;;OAEG;IACH,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,wBAAwB;IAQ/D,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,OAAO;yCA5DlD,gBAAgB;2CAAhB,gBAAgB;CA+D5B"}
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./stepper.component";
3
+ import * as i2 from "./step-header/step-header.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "@angular/material/icon";
7
+ import * as i6 from "@angular/cdk/stepper";
8
+ import * as i7 from "../button/button.module";
9
+ export declare class StepperModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperComponent, typeof i2.StepHeaderComponent, typeof i1.StepComponent], [typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i5.MatIconModule, typeof i6.CdkStepperModule, typeof i7.ButtonModule], [typeof i1.StepperComponent, typeof i2.StepHeaderComponent, typeof i1.StepComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
13
+ }
14
+ //# sourceMappingURL=stepper.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/stepper/stepper.module.ts"],"names":[],"mappings":";;;;;;;;AASA,qBAKa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
@@ -0,0 +1,8 @@
1
+ export interface ColumnHeader {
2
+ label: string;
3
+ isSortable?: boolean;
4
+ dataPropertyName: string;
5
+ isRightAligned?: boolean;
6
+ isSticky?: boolean;
7
+ }
8
+ //# sourceMappingURL=column-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"column-header.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/column-header.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -0,0 +1,6 @@
1
+ export interface TableAction {
2
+ label: string;
3
+ action: string;
4
+ outputRow?: any;
5
+ }
6
+ //# sourceMappingURL=table-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-action.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table-action.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,GAAG,CAAC;CACjB"}
@@ -0,0 +1,43 @@
1
+ import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MatPaginator } from '@angular/material/paginator';
4
+ import { MatSort, Sort } from '@angular/material/sort';
5
+ import { ColumnHeader } from './column-header';
6
+ import { TableAction } from './table-action';
7
+ import * as i0 from "@angular/core";
8
+ export declare class TableComponent implements OnInit, AfterViewInit {
9
+ columns: ColumnHeader[];
10
+ filterLabel: string;
11
+ filterPlaceholder: string;
12
+ noDataText: string;
13
+ pageSizeOptions: number[];
14
+ defaultPageSize: number;
15
+ rowActions: TableAction[];
16
+ tableActions: TableAction[];
17
+ tableAction: EventEmitter<TableAction>;
18
+ rowAction: EventEmitter<TableAction>;
19
+ sortEvent: EventEmitter<Sort>;
20
+ paginator: MatPaginator;
21
+ sort: MatSort;
22
+ readonly ACTION_COLUMN_NAME = "__action__";
23
+ dataSource: MatTableDataSource<any[]>;
24
+ columnNames: string[];
25
+ isRowClickable: boolean;
26
+ defaultAction: TableAction;
27
+ isFilterEnabled: boolean;
28
+ isPaginationEnabled: boolean;
29
+ set displayedData(data: any[]);
30
+ set paginationEnabled(isPaginationEnabled: boolean);
31
+ set filterEnabled(isFilterEnabled: boolean);
32
+ ngOnInit(): void;
33
+ ngAfterViewInit(): void;
34
+ onFilter(value: string): void;
35
+ onRowEvent(event: MouseEvent, row: any, action?: TableAction): void;
36
+ onSortingEvent(sortingParams: Sort): void;
37
+ onTableAction(tableAction: TableAction): void;
38
+ private setFilterValue;
39
+ private isClickOnRowMenuIcon;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, 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
+ }
43
+ //# sourceMappingURL=table.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,YAAY,EAAS,MAAM,EAAqB,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;;AAE7C,qBAKa,cAAe,YAAW,MAAM,EAAE,aAAa;IACjD,OAAO,EAAE,YAAY,EAAE,CAAM;IAC7B,WAAW,SAAa;IACxB,iBAAiB,SAAa;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,WAAe;IAC9B,eAAe,SAAmC;IAClD,UAAU,EAAE,WAAW,EAAE,CAAM;IAC/B,YAAY,EAAE,WAAW,EAAE,CAAM;IAEhC,WAAW,4BAAmC;IAC9C,SAAS,4BAAmC;IAC5C,SAAS,qBAA4B;IAEH,SAAS,EAAE,YAAY,CAAC;IAC9B,IAAI,EAAE,OAAO,CAAC;IAEpD,QAAQ,CAAC,kBAAkB,gBAAgB;IAC3C,UAAU,EAAE,kBAAkB,CAAC,GAAG,EAAE,CAAC,CAAC;IACtC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,WAAW,CAAC;IAC3B,eAAe,UAAS;IACxB,mBAAmB,UAAS;IAE5B,IAAa,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,EAMrC;IAED,IAAa,iBAAiB,CAAC,mBAAmB,EAAE,OAAO,EAO1D;IAED,IACI,aAAa,CAAC,eAAe,EAAE,OAAO,EAGzC;IAED,QAAQ,IAAI,IAAI;IAShB,eAAe,IAAI,IAAI;IASvB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAI7B,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,cAAqB,GAAG,IAAI;IAM1E,cAAc,CAAC,aAAa,EAAE,IAAI,GAAG,IAAI;IAIzC,aAAa,CAAC,WAAW,EAAE,WAAW,GAAG,IAAI;IAM7C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,oBAAoB;yCA1FjB,cAAc;2CAAd,cAAc;CA6F1B"}
@@ -0,0 +1,4 @@
1
+ export { ColumnHeader } from './column-header';
2
+ export { TableAction } from './table-action';
3
+ export { TableComponent } from './table.component';
4
+ //# sourceMappingURL=table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ import * as i4 from "@angular/material/icon";
6
+ import * as i5 from "@angular/material/form-field";
7
+ import * as i6 from "@angular/material/input";
8
+ import * as i7 from "@angular/material/menu";
9
+ import * as i8 from "@angular/material/paginator";
10
+ import * as i9 from "@angular/material/sort";
11
+ import * as i10 from "@angular/material/table";
12
+ import * as i11 from "../button/button.module";
13
+ export declare class TableModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.TableComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatMenuModule, typeof i8.MatPaginatorModule, typeof i9.MatSortModule, typeof i10.MatTableModule, typeof i11.ButtonModule], [typeof i1.TableComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
17
+ }
18
+ //# sourceMappingURL=table.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/table/table.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAgBa,WAAW;yCAAX,WAAW;0CAAX,WAAW;0CAAX,WAAW;CAAG"}
@@ -0,0 +1,14 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ThrottleClickDirective implements OnInit, OnDestroy {
4
+ throttleTime: number;
5
+ throttleClick: EventEmitter<any>;
6
+ private clicks;
7
+ private subscription;
8
+ clickEvent(event: any): void;
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleClickDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ThrottleClickDirective, "[madThrottleClick]", never, { "throttleTime": { "alias": "throttleTime"; "required": false; }; }, { "throttleClick": "throttleClick"; }, never, never, false, never>;
13
+ }
14
+ //# sourceMappingURL=throttle-click.directive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"throttle-click.directive.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/throttle-click/throttle-click.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAuB,SAAS,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;;AAIxG,qBAGa,sBAAuB,YAAW,MAAM,EAAE,SAAS;IACrD,YAAY,SAAO;IAClB,aAAa,oBAAsB;IAC7C,OAAO,CAAC,MAAM,CAAiB;IAC/B,OAAO,CAAC,YAAY,CAAe;IAGnC,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI;IAM5B,QAAQ,IAAI,IAAI;IAIhB,WAAW,IAAI,IAAI;yCAjBR,sBAAsB;2CAAtB,sBAAsB;CAoBlC"}
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./throttle-click.directive";
3
+ import * as i2 from "@angular/common";
4
+ export declare class ThrottleClickModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ThrottleClickModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ThrottleClickModule, [typeof i1.ThrottleClickDirective], [typeof i2.CommonModule], [typeof i1.ThrottleClickDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ThrottleClickModule>;
8
+ }
9
+ //# sourceMappingURL=throttle-click.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"throttle-click.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/throttle-click/throttle-click.module.ts"],"names":[],"mappings":";;;AAIA,qBAKa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
@@ -1,18 +1,28 @@
1
- import { Observable } from 'rxjs';
2
- export interface Action {
3
- matIcon: string;
4
- i18nActionKey: string;
5
- actionName?: string;
6
- showIf?: Observable<boolean>;
7
- }
8
- export interface MainAction extends Action {
9
- routerLink: string;
10
- liftHigherOnMobile?: boolean;
11
- }
12
- export interface BackAction extends Action {
13
- routerLink?: string;
14
- href?: string;
15
- }
16
- export interface ToolbarAction extends Action {
17
- action: () => any;
18
- }
1
+ import { Observable } from 'rxjs';
2
+ import { ThemePalette } from '@angular/material/core';
3
+ export interface Action {
4
+ matIcon: string;
5
+ i18nActionKey: string;
6
+ actionName?: string;
7
+ showIf?: Observable<boolean>;
8
+ }
9
+ export interface MainAction extends Action {
10
+ routerLink?: string;
11
+ action?: () => any;
12
+ liftHigherOnMobile?: boolean;
13
+ }
14
+ export interface BackAction extends Action {
15
+ routerLink?: string;
16
+ href?: string;
17
+ action?: () => any;
18
+ }
19
+ export interface ToolbarActionBadge {
20
+ value: any;
21
+ color?: ThemePalette;
22
+ }
23
+ export interface ToolbarAction extends Action {
24
+ action: () => any;
25
+ importantAction?: boolean;
26
+ badge?: ToolbarActionBadge;
27
+ }
28
+ //# sourceMappingURL=toolbar-action.interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar-action.interface.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar-action.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtD,MAAM,WAAW,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,UAAW,SAAQ,MAAM;IACxC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,MAAM,WAAW,aAAc,SAAQ,MAAM;IAC3C,MAAM,EAAE,MAAM,GAAG,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC5B"}
@@ -1,19 +1,28 @@
1
- import { Title } from '@angular/platform-browser';
2
- import { ToolbarService } from './toolbar.service';
3
- import { Observable } from 'rxjs';
4
- import { BreakpointObserver } from '@angular/cdk/layout';
5
- import { Action, MainAction, ToolbarAction, BackAction } from './toolbar-action.interface';
6
- export declare class ToolbarComponent {
7
- private breakpointObserver;
8
- private titleService;
9
- private toolbarService;
10
- isHandset$: Observable<boolean>;
11
- constructor(breakpointObserver: BreakpointObserver, titleService: Title, toolbarService: ToolbarService);
12
- getTitle(): string;
13
- getToolbarActions(): ToolbarAction[];
14
- getMainActions(): MainAction[];
15
- hasPermission(action: Action): Observable<boolean>;
16
- isRouterLink(): boolean;
17
- isAbsoluteLink(): boolean;
18
- getBackAction(): BackAction;
19
- }
1
+ import { Title } from '@angular/platform-browser';
2
+ import { ToolbarService } from './toolbar.service';
3
+ import { Observable } from 'rxjs';
4
+ import { BreakpointObserver } from '@angular/cdk/layout';
5
+ import { Action, BackAction, MainAction, ToolbarAction } from './toolbar-action.interface';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ToolbarComponent {
8
+ private breakpointObserver;
9
+ private titleService;
10
+ private toolbarService;
11
+ isHandset$: Observable<boolean>;
12
+ constructor(breakpointObserver: BreakpointObserver, titleService: Title, toolbarService: ToolbarService);
13
+ getTitle(): string;
14
+ getToolbarActions(): ToolbarAction[];
15
+ getMainActions(): MainAction[];
16
+ hasPermission(action: Action): Observable<boolean>;
17
+ isRouterLink(action: BackAction | MainAction): boolean;
18
+ isAbsoluteLink(action: BackAction): boolean;
19
+ isAction(action: BackAction | MainAction): boolean;
20
+ getBackAction(): BackAction;
21
+ getToolbarActionsAlwaysAsMenu(): boolean;
22
+ getToolbarActionsMenuTitle(): string;
23
+ showBadgeForMenu(): boolean;
24
+ hasImportantToolbarActions(): boolean;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "mad-toolbar", never, {}, {}, never, never, false, never>;
27
+ }
28
+ //# sourceMappingURL=toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.component.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAEtE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;;AAE3F,qBAKa,gBAAgB;IAIzB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,cAAc;IALxB,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAgG;gBAGrH,kBAAkB,EAAE,kBAAkB,EACtC,YAAY,EAAE,KAAK,EACnB,cAAc,EAAE,cAAc;IAGxC,QAAQ,IAAI,MAAM;IAOlB,iBAAiB,IAAI,aAAa,EAAE;IAIpC,cAAc,IAAI,UAAU,EAAE;IAI9B,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC;IAOlD,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO;IAItD,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO;IAI3C,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO;IAIlD,aAAa,IAAI,UAAU;IAI3B,6BAA6B,IAAI,OAAO;IAIxC,0BAA0B,IAAI,MAAM;IAIpC,gBAAgB,IAAI,OAAO;IAQ3B,0BAA0B,IAAI,OAAO;yCA/D1B,gBAAgB;2CAAhB,gBAAgB;CAkE5B"}
@@ -1,2 +1,18 @@
1
- export declare class ToolbarModule {
2
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./toolbar.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/router";
5
+ import * as i4 from "@angular/material/menu";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "@angular/material/toolbar";
8
+ import * as i7 from "@angular/material/icon";
9
+ import * as i8 from "../material-action-button/material-action-button.module";
10
+ import * as i9 from "@angular/material/tooltip";
11
+ import * as i10 from "../button/button.module";
12
+ import * as i11 from "@angular/material/badge";
13
+ export declare class ToolbarModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof i1.ToolbarComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.MatMenuModule, typeof i5.MatButtonModule, typeof i6.MatToolbarModule, typeof i7.MatIconModule, typeof i8.MaterialActionButtonModule, typeof i9.MatTooltipModule, typeof i10.ButtonModule, typeof i11.MatBadgeModule], [typeof i1.ToolbarComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
17
+ }
18
+ //# sourceMappingURL=toolbar.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toolbar.module.d.ts","sourceRoot":"","sources":["../../../../projects/material-addons/src/lib/toolbar/toolbar.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAgBa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}