@ng-matero/extensions 12.4.0 → 12.5.3

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 (215) hide show
  1. package/_all-color.scss +47 -0
  2. package/_all-theme.scss +3 -1
  3. package/_index.scss +2 -0
  4. package/_theming.scss +2 -0
  5. package/alert/_alert-theme.import.scss +2 -2
  6. package/alert/_alert-theme.scss +33 -8
  7. package/alert/alert.component.d.ts +0 -2
  8. package/alert/mtxAlert.metadata.json +1 -1
  9. package/bundles/extensions.umd.js +30 -53
  10. package/bundles/extensions.umd.js.map +1 -1
  11. package/bundles/mtxAlert.umd.js +13 -5
  12. package/bundles/mtxAlert.umd.js.map +1 -1
  13. package/bundles/mtxButton.umd.js +13 -4
  14. package/bundles/mtxButton.umd.js.map +1 -1
  15. package/bundles/mtxCheckboxGroup.umd.js +14 -6
  16. package/bundles/mtxCheckboxGroup.umd.js.map +1 -1
  17. package/bundles/mtxColorPicker.umd.js +13 -4
  18. package/bundles/mtxColorPicker.umd.js.map +1 -1
  19. package/bundles/mtxColumnResize.umd.js +58 -9
  20. package/bundles/mtxColumnResize.umd.js.map +1 -1
  21. package/bundles/mtxCore.umd.js +13 -4
  22. package/bundles/mtxCore.umd.js.map +1 -1
  23. package/bundles/mtxDatetimepicker.umd.js +91 -22
  24. package/bundles/mtxDatetimepicker.umd.js.map +1 -1
  25. package/bundles/mtxDialog.umd.js +23 -8
  26. package/bundles/mtxDialog.umd.js.map +1 -1
  27. package/bundles/mtxFormGroup.umd.js +13 -4
  28. package/bundles/mtxFormGroup.umd.js.map +1 -1
  29. package/bundles/mtxGrid.umd.js +95 -17
  30. package/bundles/mtxGrid.umd.js.map +1 -1
  31. package/bundles/mtxLoader.umd.js +13 -4
  32. package/bundles/mtxLoader.umd.js.map +1 -1
  33. package/bundles/mtxPipes.umd.js +5 -3
  34. package/bundles/mtxPipes.umd.js.map +1 -1
  35. package/bundles/mtxPopover.umd.js +30 -6
  36. package/bundles/mtxPopover.umd.js.map +1 -1
  37. package/bundles/mtxProgress.umd.js +7 -4
  38. package/bundles/mtxProgress.umd.js.map +1 -1
  39. package/bundles/mtxSelect.umd.js +111 -17
  40. package/bundles/mtxSelect.umd.js.map +1 -1
  41. package/bundles/mtxSlider.umd.js +1551 -0
  42. package/bundles/mtxSlider.umd.js.map +1 -0
  43. package/bundles/mtxSplit.umd.js +39 -20
  44. package/bundles/mtxSplit.umd.js.map +1 -1
  45. package/bundles/mtxText3d.umd.js +14 -5
  46. package/bundles/mtxText3d.umd.js.map +1 -1
  47. package/bundles/mtxTooltip.umd.js +26 -7
  48. package/bundles/mtxTooltip.umd.js.map +1 -1
  49. package/checkbox-group/checkbox-group.component.d.ts +2 -4
  50. package/checkbox-group/mtxCheckboxGroup.metadata.json +1 -1
  51. package/datetimepicker/_datetimepicker-theme.import.scss +4 -2
  52. package/datetimepicker/_datetimepicker-theme.scss +99 -27
  53. package/datetimepicker/calendar-body.scss +0 -3
  54. package/datetimepicker/calendar.scss +3 -17
  55. package/datetimepicker/clock.scss +0 -2
  56. package/datetimepicker/mtxDatetimepicker.metadata.json +1 -1
  57. package/dialog/mtxDialog.metadata.json +1 -1
  58. package/esm2015/alert/alert.component.js +10 -3
  59. package/esm2015/alert/alert.module.js +2 -1
  60. package/esm2015/button/button-loading.directive.js +10 -2
  61. package/esm2015/button/button.module.js +2 -1
  62. package/esm2015/checkbox-group/checkbox-group.component.js +11 -4
  63. package/esm2015/checkbox-group/checkbox-group.module.js +2 -1
  64. package/esm2015/color-picker/color-picker.component.js +10 -2
  65. package/esm2015/color-picker/color-picker.module.js +2 -1
  66. package/esm2015/column-resize/column-resize-directives/column-resize-flex.js +9 -2
  67. package/esm2015/column-resize/column-resize-directives/column-resize.js +9 -2
  68. package/esm2015/column-resize/column-resize-module.js +2 -1
  69. package/esm2015/column-resize/column-resize-notifier.js +10 -2
  70. package/esm2015/column-resize/column-resize.js +2 -1
  71. package/esm2015/column-resize/column-size-store.js +2 -1
  72. package/esm2015/column-resize/event-dispatcher.js +9 -2
  73. package/esm2015/column-resize/overlay-handle.js +2 -1
  74. package/esm2015/column-resize/resizable.js +2 -1
  75. package/esm2015/column-resize/resize-strategy.js +18 -3
  76. package/esm2015/core/datetime/datetime.module.js +3 -1
  77. package/esm2015/core/datetime/native-datetime-adapter.js +9 -2
  78. package/esm2015/datetimepicker/calendar-body.js +4 -2
  79. package/esm2015/datetimepicker/calendar.js +14 -6
  80. package/esm2015/datetimepicker/clock.js +13 -5
  81. package/esm2015/datetimepicker/datetimepicker-input.js +11 -3
  82. package/esm2015/datetimepicker/datetimepicker-toggle.js +10 -2
  83. package/esm2015/datetimepicker/datetimepicker.js +12 -2
  84. package/esm2015/datetimepicker/datetimepicker.module.js +2 -1
  85. package/esm2015/datetimepicker/month-view.js +10 -2
  86. package/esm2015/datetimepicker/multi-year-view.js +10 -2
  87. package/esm2015/datetimepicker/year-view.js +10 -2
  88. package/esm2015/dialog/dialog.component.js +10 -3
  89. package/esm2015/dialog/dialog.js +9 -2
  90. package/esm2015/dialog/dialog.module.js +2 -1
  91. package/esm2015/extensions-experimental.module.js +2 -1
  92. package/esm2015/extensions.module.js +4 -1
  93. package/esm2015/form-group/form-group.component.js +10 -2
  94. package/esm2015/form-group/form-group.module.js +2 -1
  95. package/esm2015/grid/cell-selection.directive.js +10 -2
  96. package/esm2015/grid/cell.component.js +10 -2
  97. package/esm2015/grid/column-menu.component.js +3 -1
  98. package/esm2015/grid/column-resize/column-resize-directives/column-resize-flex.js +9 -2
  99. package/esm2015/grid/column-resize/column-resize-directives/column-resize.js +9 -2
  100. package/esm2015/grid/column-resize/column-resize-module.js +3 -1
  101. package/esm2015/grid/column-resize/overlay-handle.js +9 -2
  102. package/esm2015/grid/column-resize/resizable-directives/resizable.js +10 -2
  103. package/esm2015/grid/column-resize/resize-strategy.js +9 -2
  104. package/esm2015/grid/expansion-toggle.directive.js +10 -2
  105. package/esm2015/grid/grid.component.js +10 -2
  106. package/esm2015/grid/grid.module.js +2 -1
  107. package/esm2015/grid/grid.service.js +9 -2
  108. package/esm2015/loader/loader.component.js +10 -2
  109. package/esm2015/loader/loader.module.js +2 -1
  110. package/esm2015/pipes/pipes.module.js +2 -1
  111. package/esm2015/pipes/to-observable.pipe.js +2 -1
  112. package/esm2015/popover/popover-module.js +2 -1
  113. package/esm2015/popover/popover-target.js +9 -2
  114. package/esm2015/popover/popover-trigger.js +10 -2
  115. package/esm2015/popover/popover.js +10 -2
  116. package/esm2015/progress/progress.component.js +4 -2
  117. package/esm2015/progress/progress.module.js +2 -1
  118. package/esm2015/public-api.js +2 -1
  119. package/esm2015/select/option.component.js +10 -2
  120. package/esm2015/select/select.component.js +11 -3
  121. package/esm2015/select/select.module.js +2 -1
  122. package/esm2015/select/templates.directive.js +89 -12
  123. package/esm2015/slider/mtxSlider.js +5 -0
  124. package/esm2015/slider/public-api.js +3 -0
  125. package/esm2015/slider/slider-module.js +15 -0
  126. package/esm2015/slider/slider.js +1115 -0
  127. package/esm2015/split/interface.js +1 -1
  128. package/esm2015/split/split-pane.directive.js +10 -2
  129. package/esm2015/split/split.component.js +22 -12
  130. package/esm2015/split/split.module.js +2 -1
  131. package/esm2015/split/utils.js +6 -6
  132. package/esm2015/text3d/text3d.component.js +11 -3
  133. package/esm2015/text3d/text3d.module.js +2 -1
  134. package/esm2015/tooltip/tooltip-module.js +2 -1
  135. package/esm2015/tooltip/tooltip.js +23 -5
  136. package/extensions.metadata.json +1 -1
  137. package/fesm2015/extensions.js +5 -0
  138. package/fesm2015/extensions.js.map +1 -1
  139. package/fesm2015/mtxAlert.js +10 -2
  140. package/fesm2015/mtxAlert.js.map +1 -1
  141. package/fesm2015/mtxButton.js +10 -1
  142. package/fesm2015/mtxButton.js.map +1 -1
  143. package/fesm2015/mtxCheckboxGroup.js +11 -3
  144. package/fesm2015/mtxCheckboxGroup.js.map +1 -1
  145. package/fesm2015/mtxColorPicker.js +10 -1
  146. package/fesm2015/mtxColorPicker.js.map +1 -1
  147. package/fesm2015/mtxColumnResize.js +55 -6
  148. package/fesm2015/mtxColumnResize.js.map +1 -1
  149. package/fesm2015/mtxCore.js +10 -1
  150. package/fesm2015/mtxCore.js.map +1 -1
  151. package/fesm2015/mtxDatetimepicker.js +86 -17
  152. package/fesm2015/mtxDatetimepicker.js.map +1 -1
  153. package/fesm2015/mtxDialog.js +18 -3
  154. package/fesm2015/mtxDialog.js.map +1 -1
  155. package/fesm2015/mtxFormGroup.js +10 -1
  156. package/fesm2015/mtxFormGroup.js.map +1 -1
  157. package/fesm2015/mtxGrid.js +90 -10
  158. package/fesm2015/mtxGrid.js.map +1 -1
  159. package/fesm2015/mtxLoader.js +10 -1
  160. package/fesm2015/mtxLoader.js.map +1 -1
  161. package/fesm2015/mtxPipes.js +2 -0
  162. package/fesm2015/mtxPipes.js.map +1 -1
  163. package/fesm2015/mtxPopover.js +27 -3
  164. package/fesm2015/mtxPopover.js.map +1 -1
  165. package/fesm2015/mtxProgress.js +4 -1
  166. package/fesm2015/mtxProgress.js.map +1 -1
  167. package/fesm2015/mtxSelect.js +108 -14
  168. package/fesm2015/mtxSelect.js.map +1 -1
  169. package/fesm2015/mtxSlider.js +1134 -0
  170. package/fesm2015/mtxSlider.js.map +1 -0
  171. package/fesm2015/mtxSplit.js +36 -17
  172. package/fesm2015/mtxSplit.js.map +1 -1
  173. package/fesm2015/mtxText3d.js +11 -2
  174. package/fesm2015/mtxText3d.js.map +1 -1
  175. package/fesm2015/mtxTooltip.js +23 -4
  176. package/fesm2015/mtxTooltip.js.map +1 -1
  177. package/form-group/_form-group-theme.import.scss +2 -2
  178. package/form-group/_form-group-theme.scss +46 -22
  179. package/grid/_grid-theme.import.scss +2 -2
  180. package/grid/_grid-theme.scss +45 -21
  181. package/grid/column-resize/_column-resize.scss +19 -13
  182. package/loader/_loader-theme.import.scss +2 -2
  183. package/loader/_loader-theme.scss +30 -6
  184. package/package.json +2 -2
  185. package/popover/_popover-theme.import.scss +2 -2
  186. package/popover/_popover-theme.scss +32 -8
  187. package/popover/popover.d.ts +3 -3
  188. package/progress/_progress-theme.import.scss +2 -2
  189. package/progress/_progress-theme.scss +33 -8
  190. package/progress/mtxProgress.metadata.json +1 -1
  191. package/public-api.d.ts +1 -0
  192. package/select/_select-theme.import.scss +2 -2
  193. package/select/_select-theme.scss +55 -31
  194. package/select/mtxSelect.metadata.json +1 -1
  195. package/select/select.component.d.ts +1 -1
  196. package/slider/_slider-theme.import.scss +2 -0
  197. package/slider/_slider-theme.scss +233 -0
  198. package/slider/mtxSlider.d.ts +4 -0
  199. package/slider/mtxSlider.metadata.json +1 -0
  200. package/slider/package.json +11 -0
  201. package/slider/public-api.d.ts +2 -0
  202. package/slider/slider-module.d.ts +2 -0
  203. package/slider/slider.d.ts +274 -0
  204. package/slider/slider.scss +514 -0
  205. package/split/_split-theme.import.scss +2 -2
  206. package/split/_split-theme.scss +30 -6
  207. package/split/interface.d.ts +1 -2
  208. package/split/mtxSplit.metadata.json +1 -1
  209. package/split/split.component.scss +3 -2
  210. package/text3d/_text3d-theme.import.scss +2 -2
  211. package/text3d/_text3d-theme.scss +32 -7
  212. package/text3d/mtxText3d.metadata.json +1 -1
  213. package/tooltip/_tooltip-theme.import.scss +2 -2
  214. package/tooltip/_tooltip-theme.scss +32 -15
  215. package/tooltip/mtxTooltip.metadata.json +1 -1
@@ -20,6 +20,7 @@ class MtxDialogComponent {
20
20
  this.dialogRef.close();
21
21
  }
22
22
  }
23
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
23
24
  MtxDialogComponent.decorators = [
24
25
  { type: Component, args: [{
25
26
  selector: 'mtx-dialog',
@@ -27,10 +28,16 @@ MtxDialogComponent.decorators = [
27
28
  template: "<h1 class=\"mtx-dialog-title\" *ngIf=\"data.title\">{{data.title | toObservable | async}}\n <button mat-icon-button *ngIf=\"data.showCloseIcon\" (click)=\"_onClose()\">\n <mat-icon>close</mat-icon>\n </button>\n</h1>\n<div class=\"mtx-dialog-content\" *ngIf=\"data.description\">\n <p>{{data.description | toObservable | async}}</p>\n</div>\n<div class=\"mtx-dialog-actions\">\n <ng-container *ngFor=\"let btn of data.buttons\">\n <ng-container [ngSwitch]=\"btn.type\">\n <ng-container *ngSwitchCase=\"'raised'\">\n <button mat-raised-button *ngIf=\"btn.focusInitial\" cdkFocusInitial\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n <button mat-raised-button *ngIf=\"!btn.focusInitial\"\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button mat-stroked-button *ngIf=\"btn.focusInitial\" cdkFocusInitial\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n <button mat-stroked-button *ngIf=\"!btn.focusInitial\"\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"'flat'\">\n <button mat-flat-button *ngIf=\"btn.focusInitial\" cdkFocusInitial\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n <button mat-flat-button *ngIf=\"!btn.focusInitial\"\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <button mat-button *ngIf=\"btn.focusInitial\" cdkFocusInitial\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n <button mat-button *ngIf=\"!btn.focusInitial\"\n [color]=\"btn.color\" [ngClass]=\"btn.class!\" (click)=\"_onClick(btn.onClick!)\">\n {{btn.text | toObservable | async}}\n </button>\n </ng-container>\n </ng-container>\n </ng-container>\n</div>\n",
28
29
  encapsulation: ViewEncapsulation.None,
29
30
  changeDetection: ChangeDetectionStrategy.OnPush,
30
- styles: [".mtx-dialog-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;font:500 20px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal}.mtx-dialog-content{display:block;max-height:65vh;padding:0 24px;margin:0 -24px;overflow:auto;-webkit-overflow-scrolling:touch}.mtx-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;min-height:52px;padding:8px 0;margin-bottom:-24px}\n"]
31
+ styles: [".mtx-dialog-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 20px;font:500 20px/32px Roboto,\"Helvetica Neue\",sans-serif;letter-spacing:normal}.mtx-dialog-content{display:block;max-height:65vh;padding:0 24px;margin:0 -24px;overflow:auto;-webkit-overflow-scrolling:touch}.mtx-dialog-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;min-height:52px;padding:8px 0;margin-bottom:-24px}\n"]
31
32
  },] }
32
33
  ];
33
- /** @nocollapse */
34
+ /**
35
+ * @type {function(): !Array<(null|{
36
+ * type: ?,
37
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
38
+ * })>}
39
+ * @nocollapse
40
+ */
34
41
  MtxDialogComponent.ctorParameters = () => [
35
42
  { type: MatDialogRef },
36
43
  { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
@@ -98,16 +105,24 @@ class MtxDialog {
98
105
  });
99
106
  }
100
107
  }
108
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
101
109
  MtxDialog.decorators = [
102
110
  { type: Injectable }
103
111
  ];
104
- /** @nocollapse */
112
+ /**
113
+ * @type {function(): !Array<(null|{
114
+ * type: ?,
115
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
116
+ * })>}
117
+ * @nocollapse
118
+ */
105
119
  MtxDialog.ctorParameters = () => [
106
120
  { type: MatDialog }
107
121
  ];
108
122
 
109
123
  class MtxDialogModule {
110
124
  }
125
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
111
126
  MtxDialogModule.decorators = [
112
127
  { type: NgModule, args: [{
113
128
  imports: [CommonModule, MatDialogModule, MatButtonModule, MatIconModule, MtxPipesModule],
@@ -1 +1 @@
1
- {"version":3,"file":"mtxDialog.js","sources":["../../../projects/extensions/dialog/dialog.component.ts","../../../projects/extensions/dialog/dialog.ts","../../../projects/extensions/dialog/dialog.module.ts","../../../projects/extensions/dialog/mtxDialog.ts"],"sourcesContent":["import { Component, Inject, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\n\nimport { MtxDialogData } from './dialog.config';\n\n@Component({\n selector: 'mtx-dialog',\n exportAs: 'mtxDialog',\n templateUrl: './dialog.component.html',\n styleUrls: ['./dialog.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MtxDialogComponent {\n constructor(\n public dialogRef: MatDialogRef<MtxDialogComponent>,\n @Inject(MAT_DIALOG_DATA) public data: MtxDialogData\n ) {}\n\n _onClick(fn: () => void) {\n if (fn) {\n fn.call(this);\n }\n this._onClose();\n }\n\n _onClose() {\n this.dialogRef.close();\n }\n}\n","import { Injectable, TemplateRef } from '@angular/core';\nimport { ComponentType } from '@angular/cdk/portal';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { MtxDialogComponent } from './dialog.component';\nimport { MtxDialogData } from './dialog.config';\nimport { Observable } from 'rxjs';\n\nconst defaults: MtxDialogData = {\n title: '',\n description: '',\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n focusInitial: true,\n onClick: () => {},\n },\n {\n text: 'CLOSE',\n onClick: () => {},\n },\n ],\n showCloseIcon: false,\n disableClose: true,\n width: '300px',\n};\n\n@Injectable()\nexport class MtxDialog {\n constructor(public dialog: MatDialog) {}\n\n originalOpen(\n componentOrTemplateRef: ComponentType<any> | TemplateRef<any> = MtxDialogComponent,\n config: any\n ) {\n return this.dialog.open(componentOrTemplateRef, config);\n }\n\n open(\n config: MtxDialogData,\n componentOrTemplateRef: ComponentType<any> | TemplateRef<any> = MtxDialogComponent\n ) {\n const data = Object.assign({}, defaults, config);\n return this.dialog.open(componentOrTemplateRef, {\n ...data,\n data,\n });\n }\n\n alert(\n title: string | Observable<string>,\n description: string | Observable<string> = '',\n onOk = () => {}\n ) {\n this.open({\n title,\n description,\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n onClick: () => onOk(),\n },\n ],\n });\n }\n\n confirm(\n title: string | Observable<string>,\n description: string | Observable<string> = '',\n onOk = () => {},\n onClose = () => {}\n ) {\n this.open({\n title,\n description,\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n onClick: () => onOk(),\n },\n {\n text: 'CLOSE',\n onClick: () => onClose(),\n },\n ],\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { MtxPipesModule } from '@ng-matero/extensions/pipes';\nimport { MtxDialogComponent } from './dialog.component';\nimport { MtxDialog } from './dialog';\n\n@NgModule({\n imports: [CommonModule, MatDialogModule, MatButtonModule, MatIconModule, MtxPipesModule],\n exports: [MtxDialogComponent],\n declarations: [MtxDialogComponent],\n providers: [MtxDialog],\n entryComponents: [MtxDialogComponent],\n})\nexport class MtxDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAaa,kBAAkB;IAC7B,YACS,SAA2C,EAClB,IAAmB;QAD5C,cAAS,GAAT,SAAS,CAAkC;QAClB,SAAI,GAAJ,IAAI,CAAe;KACjD;IAEJ,QAAQ,CAAC,EAAc;QACrB,IAAI,EAAE,EAAE;YACN,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACf;QACD,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;IAED,QAAQ;QACN,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;KACxB;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,QAAQ,EAAE,WAAW;gBACrB,soFAAsC;gBAEtC,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;YAXQ,YAAY;4CAehB,MAAM,SAAC,eAAe;;;WCAZ,SAAQ,OAIR;AAZf,MAAM,QAAQ,GAAkB;IAC9B,KAAK,EAAE,EAAE;IACT,WAAW,EAAE,EAAE;IACf,OAAO,EAAE;QACP;YACE,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,IAAI;YACV,YAAY,EAAE,IAAI;YAClB,OAAO,IAAU;SAClB;QACD;YACE,IAAI,EAAE,OAAO;YACb,OAAO,IAAU;SAClB;KACF;IACD,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,IAAI;IAClB,KAAK,EAAE,OAAO;CACf,CAAC;MAGW,SAAS;IACpB,YAAmB,MAAiB;QAAjB,WAAM,GAAN,MAAM,CAAW;KAAI;IAExC,YAAY,CACV,yBAAgE,kBAAkB,EAClF,MAAW;QAEX,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;KACzD;IAED,IAAI,CACF,MAAqB,EACrB,yBAAgE,kBAAkB;QAElF,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,kCACzC,IAAI,KACP,IAAI,IACJ,CAAC;KACJ;IAED,KAAK,CACH,KAAkC,EAClC,cAA2C,EAAE,EAC7C,IAAI,GAAG,SAAQ;QAEf,IAAI,CAAC,IAAI,CAAC;YACR,KAAK;YACL,WAAW;YACX,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,MAAM;oBACb,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,MAAM,IAAI,EAAE;iBACtB;aACF;SACF,CAAC,CAAC;KACJ;IAED,OAAO,CACL,KAAkC,EAClC,cAA2C,EAAE,EAC7C,IAAI,GAAG,SAAQ,EACf,OAAO,GAAG,SAAQ;QAElB,IAAI,CAAC,IAAI,CAAC;YACR,KAAK;YACL,WAAW;YACX,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,MAAM;oBACb,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,MAAM,IAAI,EAAE;iBACtB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE,MAAM,OAAO,EAAE;iBACzB;aACF;SACF,CAAC,CAAC;KACJ;;;YA7DF,UAAU;;;;YA1BF,SAAS;;;MCeL,eAAe;;;YAP3B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,CAAC;gBACxF,OAAO,EAAE,CAAC,kBAAkB,CAAC;gBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;gBAClC,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,eAAe,EAAE,CAAC,kBAAkB,CAAC;aACtC;;;AChBD;;;;;;"}
1
+ {"version":3,"file":"mtxDialog.js","sources":["../../../projects/extensions/dialog/dialog.component.ts","../../../projects/extensions/dialog/dialog.ts","../../../projects/extensions/dialog/dialog.module.ts","../../../projects/extensions/dialog/mtxDialog.ts"],"sourcesContent":["import { Component, Inject, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\n\nimport { MtxDialogData } from './dialog.config';\n\n@Component({\n selector: 'mtx-dialog',\n exportAs: 'mtxDialog',\n templateUrl: './dialog.component.html',\n styleUrls: ['./dialog.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MtxDialogComponent {\n constructor(\n public dialogRef: MatDialogRef<MtxDialogComponent>,\n @Inject(MAT_DIALOG_DATA) public data: MtxDialogData\n ) {}\n\n _onClick(fn: () => void) {\n if (fn) {\n fn.call(this);\n }\n this._onClose();\n }\n\n _onClose() {\n this.dialogRef.close();\n }\n}\n","import { Injectable, TemplateRef } from '@angular/core';\nimport { ComponentType } from '@angular/cdk/portal';\nimport { MatDialog } from '@angular/material/dialog';\n\nimport { MtxDialogComponent } from './dialog.component';\nimport { MtxDialogData } from './dialog.config';\nimport { Observable } from 'rxjs';\n\nconst defaults: MtxDialogData = {\n title: '',\n description: '',\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n focusInitial: true,\n onClick: () => {},\n },\n {\n text: 'CLOSE',\n onClick: () => {},\n },\n ],\n showCloseIcon: false,\n disableClose: true,\n width: '300px',\n};\n\n@Injectable()\nexport class MtxDialog {\n constructor(public dialog: MatDialog) {}\n\n originalOpen(\n componentOrTemplateRef: ComponentType<any> | TemplateRef<any> = MtxDialogComponent,\n config: any\n ) {\n return this.dialog.open(componentOrTemplateRef, config);\n }\n\n open(\n config: MtxDialogData,\n componentOrTemplateRef: ComponentType<any> | TemplateRef<any> = MtxDialogComponent\n ) {\n const data = Object.assign({}, defaults, config);\n return this.dialog.open(componentOrTemplateRef, {\n ...data,\n data,\n });\n }\n\n alert(\n title: string | Observable<string>,\n description: string | Observable<string> = '',\n onOk = () => {}\n ) {\n this.open({\n title,\n description,\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n onClick: () => onOk(),\n },\n ],\n });\n }\n\n confirm(\n title: string | Observable<string>,\n description: string | Observable<string> = '',\n onOk = () => {},\n onClose = () => {}\n ) {\n this.open({\n title,\n description,\n buttons: [\n {\n color: 'warn',\n text: 'OK',\n onClick: () => onOk(),\n },\n {\n text: 'CLOSE',\n onClick: () => onClose(),\n },\n ],\n });\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\nimport { MtxPipesModule } from '@ng-matero/extensions/pipes';\nimport { MtxDialogComponent } from './dialog.component';\nimport { MtxDialog } from './dialog';\n\n@NgModule({\n imports: [CommonModule, MatDialogModule, MatButtonModule, MatIconModule, MtxPipesModule],\n exports: [MtxDialogComponent],\n declarations: [MtxDialogComponent],\n providers: [MtxDialog],\n entryComponents: [MtxDialogComponent],\n})\nexport class MtxDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAaa,kBAAkB;IAC7B,YACS,SAA2C,EAClB,IAAmB;QAD5C,cAAS,GAAT,SAAS,CAAkC;QAClB,SAAI,GAAJ,IAAI,CAAe;KACjD;IAEJ,QAAQ,CAAC,EAAc;QACrB,IAAI,EAAE,EAAE;YACN,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACf;QACD,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;IAED,QAAQ;QACN,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC;KACxB;;;;YAvBF,SAAS,SAAC;gBACT,QAAQ,EAAE,YAAY;gBACtB,QAAQ,EAAE,WAAW;gBACrB,soFAAsC;gBAEtC,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,eAAe,EAAE,uBAAuB,CAAC,MAAM;;aAChD;;;;;;;;;;YAXQ,YAAY;4CAehB,MAAM,SAAC,eAAe;;;WCAZ,SAAQ,OAIR;AAZf,MAAM,QAAQ,GAAkB;IAC9B,KAAK,EAAE,EAAE;IACT,WAAW,EAAE,EAAE;IACf,OAAO,EAAE;QACP;YACE,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,IAAI;YACV,YAAY,EAAE,IAAI;YAClB,OAAO,IAAU;SAClB;QACD;YACE,IAAI,EAAE,OAAO;YACb,OAAO,IAAU;SAClB;KACF;IACD,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,IAAI;IAClB,KAAK,EAAE,OAAO;CACf,CAAC;MAGW,SAAS;IACpB,YAAmB,MAAiB;QAAjB,WAAM,GAAN,MAAM,CAAW;KAAI;IAExC,YAAY,CACV,yBAAgE,kBAAkB,EAClF,MAAW;QAEX,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;KACzD;IAED,IAAI,CACF,MAAqB,EACrB,yBAAgE,kBAAkB;QAElF,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;QACjD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,kCACzC,IAAI,KACP,IAAI,IACJ,CAAC;KACJ;IAED,KAAK,CACH,KAAkC,EAClC,cAA2C,EAAE,EAC7C,IAAI,GAAG,SAAQ;QAEf,IAAI,CAAC,IAAI,CAAC;YACR,KAAK;YACL,WAAW;YACX,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,MAAM;oBACb,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,MAAM,IAAI,EAAE;iBACtB;aACF;SACF,CAAC,CAAC;KACJ;IAED,OAAO,CACL,KAAkC,EAClC,cAA2C,EAAE,EAC7C,IAAI,GAAG,SAAQ,EACf,OAAO,GAAG,SAAQ;QAElB,IAAI,CAAC,IAAI,CAAC;YACR,KAAK;YACL,WAAW;YACX,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,MAAM;oBACb,IAAI,EAAE,IAAI;oBACV,OAAO,EAAE,MAAM,IAAI,EAAE;iBACtB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE,MAAM,OAAO,EAAE;iBACzB;aACF;SACF,CAAC,CAAC;KACJ;;;;YA7DF,UAAU;;;;;;;;;;YA1BF,SAAS;;;MCeL,eAAe;;;;YAP3B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,CAAC;gBACxF,OAAO,EAAE,CAAC,kBAAkB,CAAC;gBAC7B,YAAY,EAAE,CAAC,kBAAkB,CAAC;gBAClC,SAAS,EAAE,CAAC,SAAS,CAAC;gBACtB,eAAe,EAAE,CAAC,kBAAkB,CAAC;aACtC;;;AChBD;;;;;;"}
@@ -20,6 +20,7 @@ class MtxFormGroupComponent {
20
20
  });
21
21
  }
22
22
  }
23
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
23
24
  MtxFormGroupComponent.decorators = [
24
25
  { type: Component, args: [{
25
26
  selector: 'mtx-form-group',
@@ -31,8 +32,15 @@ MtxFormGroupComponent.decorators = [
31
32
  styles: [".mtx-form-group{display:inline-block}.mtx-form-group .mtx-form-field-layout{display:inline-flex;align-items:flex-start;width:100%}.mtx-form-group .mtx-form-label{position:relative;display:inline-block;padding-top:calc(.375em + 1px);padding-bottom:calc(.375em + 1px);padding-right:1em;line-height:1.125}[dir=rtl] .mtx-form-group .mtx-form-label{padding-right:unset;padding-left:1em}.mtx-form-group .mtx-form-label.mtx-form-label-marker:after{content:\"*\";margin-left:4px}[dir=rtl] .mtx-form-group .mtx-form-label.mtx-form-label-marker:after{margin-left:auto;margin-right:4px}.mtx-form-field-appearance-fluent .mat-form-field{margin-bottom:.25em}.mtx-form-field-appearance-fluent .mat-form-field .mat-form-field-suffix .mat-datepicker-toggle{display:flex}.mtx-form-field-appearance-fluent .mat-form-field .mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mtx-form-field-appearance-fluent .mat-form-field .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{width:1em}.mtx-form-field-appearance-fluent .mat-form-field-has-label .mat-form-field-flex{margin-top:.84375em}.mtx-form-field-appearance-fluent .mat-form-field-appearance-standard .mat-form-field-flex{padding-top:0}.mtx-form-field-appearance-fluent .mat-form-field-flex{align-items:center;padding:0 .5em;border-radius:2px}.mtx-form-field-appearance-fluent .mat-form-field-infix{border-top:0;padding:.375em 0}.mtx-form-field-appearance-fluent .mat-form-field-prefix,.mtx-form-field-appearance-fluent .mat-form-field-suffix{display:inline-flex}.mtx-form-field-appearance-fluent .mat-form-field-prefix .mat-icon,.mtx-form-field-appearance-fluent .mat-form-field-suffix .mat-icon{line-height:normal}.mtx-form-field-appearance-fluent .mat-form-field-underline{display:none}.mtx-form-field-appearance-fluent .mtx-select{display:block;margin:0 -8px}.mtx-form-field-appearance-fluent .ng-select{padding-top:.4375em;padding-left:8px;padding-right:8px;margin-top:-.4375em}\n"]
32
33
  },] }
33
34
  ];
34
- /** @nocollapse */
35
+ /**
36
+ * @type {function(): !Array<(null|{
37
+ * type: ?,
38
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
39
+ * })>}
40
+ * @nocollapse
41
+ */
35
42
  MtxFormGroupComponent.ctorParameters = () => [];
43
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
36
44
  MtxFormGroupComponent.propDecorators = {
37
45
  formFields: [{ type: ContentChildren, args: [MatFormField,] }],
38
46
  label: [{ type: Input }],
@@ -41,6 +49,7 @@ MtxFormGroupComponent.propDecorators = {
41
49
 
42
50
  class MtxFormGroupModule {
43
51
  }
52
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
44
53
  MtxFormGroupModule.decorators = [
45
54
  { type: NgModule, args: [{
46
55
  imports: [CommonModule],
@@ -1 +1 @@
1
- {"version":3,"file":"mtxFormGroup.js","sources":["../../../projects/extensions/form-group/form-group.component.ts","../../../projects/extensions/form-group/form-group.module.ts","../../../projects/extensions/form-group/mtxFormGroup.ts"],"sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Input,\n OnInit,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { MatFormField } from '@angular/material/form-field';\n\n@Component({\n selector: 'mtx-form-group',\n host: {\n class: 'mtx-form-group',\n },\n templateUrl: './form-group.component.html',\n styleUrls: ['./form-group.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class MtxFormGroupComponent implements OnInit, AfterContentInit {\n @ContentChildren(MatFormField) formFields!: QueryList<MatFormField>;\n\n @Input() label!: string;\n @Input()\n get showRequiredMarker(): boolean {\n return this._showRequiredMarker;\n }\n set showRequiredMarker(value: boolean) {\n this._showRequiredMarker = coerceBooleanProperty(value);\n }\n private _showRequiredMarker = false;\n\n constructor() {}\n\n ngOnInit(): void {}\n\n ngAfterContentInit() {\n this.formFields.forEach(item => {\n item.appearance = 'standard';\n });\n }\n\n static ngAcceptInputType_showRequiredMarker: BooleanInput;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MtxFormGroupComponent } from './form-group.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [MtxFormGroupComponent],\n declarations: [MtxFormGroupComponent],\n})\nexport class MtxFormGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAqBa,qBAAqB;IAahC;QAFQ,wBAAmB,GAAG,KAAK,CAAC;KAEpB;IAThB,IACI,kBAAkB;QACpB,OAAO,IAAI,CAAC,mBAAmB,CAAC;KACjC;IACD,IAAI,kBAAkB,CAAC,KAAc;QACnC,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACzD;IAKD,QAAQ,MAAW;IAEnB,kBAAkB;QAChB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI;YAC1B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;SAC9B,CAAC,CAAC;KACJ;;;YA9BF,SAAS,SAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,IAAI,EAAE;oBACJ,KAAK,EAAE,gBAAgB;iBACxB;gBACD,mRAA0C;gBAE1C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;;;yBAEE,eAAe,SAAC,YAAY;oBAE5B,KAAK;iCACL,KAAK;;;MCfK,kBAAkB;;;YAL9B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,qBAAqB,CAAC;gBAChC,YAAY,EAAE,CAAC,qBAAqB,CAAC;aACtC;;;ACTD;;;;;;"}
1
+ {"version":3,"file":"mtxFormGroup.js","sources":["../../../projects/extensions/form-group/form-group.component.ts","../../../projects/extensions/form-group/form-group.module.ts","../../../projects/extensions/form-group/mtxFormGroup.ts"],"sourcesContent":["import {\n AfterContentInit,\n Component,\n ContentChildren,\n Input,\n OnInit,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { MatFormField } from '@angular/material/form-field';\n\n@Component({\n selector: 'mtx-form-group',\n host: {\n class: 'mtx-form-group',\n },\n templateUrl: './form-group.component.html',\n styleUrls: ['./form-group.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class MtxFormGroupComponent implements OnInit, AfterContentInit {\n @ContentChildren(MatFormField) formFields!: QueryList<MatFormField>;\n\n @Input() label!: string;\n @Input()\n get showRequiredMarker(): boolean {\n return this._showRequiredMarker;\n }\n set showRequiredMarker(value: boolean) {\n this._showRequiredMarker = coerceBooleanProperty(value);\n }\n private _showRequiredMarker = false;\n\n constructor() {}\n\n ngOnInit(): void {}\n\n ngAfterContentInit() {\n this.formFields.forEach(item => {\n item.appearance = 'standard';\n });\n }\n\n static ngAcceptInputType_showRequiredMarker: BooleanInput;\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MtxFormGroupComponent } from './form-group.component';\n\n@NgModule({\n imports: [CommonModule],\n exports: [MtxFormGroupComponent],\n declarations: [MtxFormGroupComponent],\n})\nexport class MtxFormGroupModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAqBa,qBAAqB;IAahC;QAFQ,wBAAmB,GAAG,KAAK,CAAC;KAEpB;IAThB,IACI,kBAAkB;QACpB,OAAO,IAAI,CAAC,mBAAmB,CAAC;KACjC;IACD,IAAI,kBAAkB,CAAC,KAAc;QACnC,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;KACzD;IAKD,QAAQ,MAAW;IAEnB,kBAAkB;QAChB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI;YAC1B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;SAC9B,CAAC,CAAC;KACJ;;;;YA9BF,SAAS,SAAC;gBACT,QAAQ,EAAE,gBAAgB;gBAC1B,IAAI,EAAE;oBACJ,KAAK,EAAE,gBAAgB;iBACxB;gBACD,mRAA0C;gBAE1C,aAAa,EAAE,iBAAiB,CAAC,IAAI;;aACtC;;;;;;;;;;;;yBAEE,eAAe,SAAC,YAAY;oBAE5B,KAAK;iCACL,KAAK;;;MCfK,kBAAkB;;;;YAL9B,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,YAAY,CAAC;gBACvB,OAAO,EAAE,CAAC,qBAAqB,CAAC;gBAChC,YAAY,EAAE,CAAC,qBAAqB,CAAC;aACtC;;;ACTD;;;;;;"}
@@ -61,10 +61,17 @@ class MtxGridService {
61
61
  return str.replace(/[\r\n\s]/g, '').split(',');
62
62
  }
63
63
  }
64
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
64
65
  MtxGridService.decorators = [
65
66
  { type: Injectable }
66
67
  ];
67
- /** @nocollapse */
68
+ /**
69
+ * @type {function(): !Array<(null|{
70
+ * type: ?,
71
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
72
+ * })>}
73
+ * @nocollapse
74
+ */
68
75
  MtxGridService.ctorParameters = () => [];
69
76
 
70
77
  class MtxGridComponent {
@@ -360,6 +367,7 @@ class MtxGridComponent {
360
367
  }
361
368
  }
362
369
  }
370
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
363
371
  MtxGridComponent.decorators = [
364
372
  { type: Component, args: [{
365
373
  selector: 'mtx-grid',
@@ -380,11 +388,18 @@ MtxGridComponent.decorators = [
380
388
  styles: [".mtx-grid{position:relative;display:flex;flex-direction:column;width:100%}.mtx-grid .mat-table-container{overflow:auto}.mtx-grid .mat-table-container.mat-table-with-data{flex:1}.mtx-grid .mat-table:not(.mat-column-resize-table){min-width:100%;border-collapse:separate}.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-header-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-footer-cell:not(.mtx-grid-checkbox-cell),.mtx-grid .mat-table:not(.mat-column-resize-table) .mat-cell:not(.mtx-grid-checkbox-cell){min-width:80px}.mtx-grid .mat-table-sticky-left{border-right-width:1px;border-right-style:solid}[dir=rtl] .mtx-grid .mat-table-sticky-left{border-right-width:0;border-left-width:1px;border-left-style:solid}.mtx-grid .mat-table-sticky-right{border-left-width:1px;border-left-style:solid}[dir=rtl] .mtx-grid .mat-table-sticky-right{border-left-width:0;border-right-width:1px;border-right-style:solid}.mtx-grid .mat-header-cell,.mtx-grid .mat-footer-cell,.mtx-grid .mat-cell{padding:4px 10px;box-sizing:border-box}.mtx-grid .mat-header-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type),.mtx-grid .mat-cell:first-of-type:not(:only-of-type){padding-left:24px}.mtx-grid .mat-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,.mtx-grid .mat-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}[dir=rtl] .mtx-grid .mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-cell:first-of-type:not(:only-of-type){padding-left:10px;padding-right:24px}[dir=rtl] .mtx-grid .mat-header-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-footer-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell,[dir=rtl] .mtx-grid .mat-cell:first-of-type:not(:only-of-type).mtx-grid-checkbox-cell{padding-left:10px;padding-right:10px}.mtx-grid .mat-header-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-footer-cell:last-of-type:not(:only-of-type),.mtx-grid .mat-cell:last-of-type:not(:only-of-type){padding-right:24px}[dir=rtl] .mtx-grid .mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-footer-cell:last-of-type:not(:only-of-type),[dir=rtl] .mtx-grid .mat-cell:last-of-type:not(:only-of-type){padding-left:24px;padding-right:10px}.mtx-grid .mat-cell .mat-icon-button.expanded .mat-icon{transform:rotate(90deg)}.mtx-grid .mat-row.mtx-grid-expansion{height:0;overflow:hidden}.mtx-grid .mat-row.mtx-grid-expansion .mat-cell{padding-top:0;padding-bottom:0}.mtx-grid .mat-row.mtx-grid-expansion.collapsed .mat-cell{border-bottom-width:0}.mtx-grid .mat-row:last-of-type .mat-cell{border-bottom-width:0}.mtx-grid .mat-sort-header-icon{width:18px;height:18px;margin:0 4px;font-size:18px}.mtx-grid .mat-header-cell-inner{display:flex;align-items:center}.mtx-grid .mat-paginator-hidden{display:none}.mtx-grid-progress{position:absolute;top:0;z-index:120;width:100%}.mtx-grid-toolbar{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:8px;box-sizing:border-box}.mtx-grid-layout{display:flex;flex:1 1 auto;overflow:auto}.mtx-grid-content{flex-direction:column;width:0}.mtx-grid-sidebar{max-width:50%;border-left-width:1px;border-left-style:solid}[dir=rtl] .mtx-grid-sidebar{border-left-width:0;border-right-width:1px;border-right-style:solid}.mtx-grid-footer{position:relative;z-index:1}.mtx-grid-statusbar{display:flex;align-items:center;min-height:56px;padding:8px}.mtx-grid-no-result{display:flex;justify-content:center;align-items:center;flex:1;min-height:150px}.mtx-grid-expansion-placeholder{display:inline-block;width:40px;height:40px;vertical-align:middle}.mtx-grid-expansion-detail{display:flex;align-items:center;min-height:48px;overflow:hidden}.mtx-grid-checkbox-cell{flex:none;justify-content:center;width:56px;min-width:56px}.mtx-grid-checkbox-cell .mat-checkbox{display:flex;margin:0 10px}.mtx-grid-checkbox-cell .mat-checkbox-inner-container{margin-left:0}\n"]
381
389
  },] }
382
390
  ];
383
- /** @nocollapse */
391
+ /**
392
+ * @type {function(): !Array<(null|{
393
+ * type: ?,
394
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
395
+ * })>}
396
+ * @nocollapse
397
+ */
384
398
  MtxGridComponent.ctorParameters = () => [
385
399
  { type: MtxGridService },
386
400
  { type: ChangeDetectorRef }
387
401
  ];
402
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
388
403
  MtxGridComponent.propDecorators = {
389
404
  table: [{ type: ViewChild, args: [MatTable,] }],
390
405
  paginator: [{ type: ViewChild, args: [MatPaginator,] }],
@@ -552,6 +567,7 @@ class MtxGridCellComponent {
552
567
  const viewer = new PhotoViewer(imgs, options);
553
568
  }
554
569
  }
570
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
555
571
  MtxGridCellComponent.decorators = [
556
572
  { type: Component, args: [{
557
573
  selector: 'mtx-grid-cell',
@@ -561,11 +577,18 @@ MtxGridCellComponent.decorators = [
561
577
  styles: [".mtx-grid-action-button .mat-icon{width:18px;height:18px;font-size:18px;line-height:18px}.mtx-grid-img{display:block;width:30px;border-radius:4px;cursor:pointer}\n"]
562
578
  },] }
563
579
  ];
564
- /** @nocollapse */
580
+ /**
581
+ * @type {function(): !Array<(null|{
582
+ * type: ?,
583
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
584
+ * })>}
585
+ * @nocollapse
586
+ */
565
587
  MtxGridCellComponent.ctorParameters = () => [
566
588
  { type: MtxDialog },
567
589
  { type: MtxGridService }
568
590
  ];
591
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
569
592
  MtxGridCellComponent.propDecorators = {
570
593
  rowData: [{ type: Input }],
571
594
  colDef: [{ type: Input }],
@@ -607,6 +630,7 @@ class MtxGridColumnMenuComponent {
607
630
  this.selectionChange.emit(this.columns);
608
631
  }
609
632
  }
633
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
610
634
  MtxGridColumnMenuComponent.decorators = [
611
635
  { type: Component, args: [{
612
636
  selector: 'mtx-grid-column-menu',
@@ -617,6 +641,7 @@ MtxGridColumnMenuComponent.decorators = [
617
641
  styles: [".mtx-grid-column-menu .mat-menu-content{padding:0}.mtx-grid-column-menu-body{padding:16px}.mtx-grid-column-menu-header,.mtx-grid-column-menu-footer{position:sticky;z-index:1;padding:8px 16px}.mtx-grid-column-menu-header{top:0}.mtx-grid-column-menu-footer{bottom:0}.mtx-grid-column-menu-list{display:block;max-width:100%}.mtx-grid-column-menu-list.cdk-drop-list-dragging .mtx-grid-column-menu-item:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.mtx-grid-column-menu-list.cdk-drop-list .mtx-grid-column-menu-item-label{padding:0 4px}.mtx-grid-column-menu-item{display:flex;flex-direction:row;align-items:center;padding:4px 0}.mtx-grid-column-menu-item.cdk-drag-disabled .cdk-drag-handle{opacity:.35;cursor:no-drop}.mtx-grid-column-menu-item .cdk-drag-handle{cursor:move}.mtx-grid-column-menu-item.cdk-drag-preview{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mtx-grid-column-menu-item.cdk-drag-placeholder{opacity:0}.mtx-grid-column-menu-item.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}\n"]
618
642
  },] }
619
643
  ];
644
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
620
645
  MtxGridColumnMenuComponent.propDecorators = {
621
646
  menuPanel: [{ type: ViewChild, args: ['menu', { static: true },] }],
622
647
  menuTrigger: [{ type: ViewChild, args: [MatMenuTrigger,] }],
@@ -676,13 +701,21 @@ class MtxGridExpansionToggleDirective {
676
701
  this.toggleChange.emit(this);
677
702
  }
678
703
  }
704
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
679
705
  MtxGridExpansionToggleDirective.decorators = [
680
706
  { type: Directive, args: [{
681
707
  selector: '[mtx-grid-expansion-toggle]',
682
708
  },] }
683
709
  ];
684
- /** @nocollapse */
710
+ /**
711
+ * @type {function(): !Array<(null|{
712
+ * type: ?,
713
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
714
+ * })>}
715
+ * @nocollapse
716
+ */
685
717
  MtxGridExpansionToggleDirective.ctorParameters = () => [];
718
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
686
719
  MtxGridExpansionToggleDirective.propDecorators = {
687
720
  opened: [{ type: Input }],
688
721
  openedChange: [{ type: Output }],
@@ -729,15 +762,23 @@ class MtxGridCellSelectionDirective {
729
762
  this.cellSelectionChange.emit(this);
730
763
  }
731
764
  }
765
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
732
766
  MtxGridCellSelectionDirective.decorators = [
733
767
  { type: Directive, args: [{
734
768
  selector: '[mtx-grid-selectable-cell]',
735
769
  },] }
736
770
  ];
737
- /** @nocollapse */
771
+ /**
772
+ * @type {function(): !Array<(null|{
773
+ * type: ?,
774
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
775
+ * })>}
776
+ * @nocollapse
777
+ */
738
778
  MtxGridCellSelectionDirective.ctorParameters = () => [
739
779
  { type: MtxGridComponent }
740
780
  ];
781
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
741
782
  MtxGridCellSelectionDirective.propDecorators = {
742
783
  selected: [{ type: HostBinding, args: ['class.selected',] }],
743
784
  matSelectableRowData: [{ type: Input }],
@@ -763,10 +804,17 @@ class MatFlexTableResizeStrategy extends CdkFlexTableResizeStrategy {
763
804
  return `mat-column-${cssFriendlyColumnName}`;
764
805
  }
765
806
  }
807
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
766
808
  MatFlexTableResizeStrategy.decorators = [
767
809
  { type: Injectable }
768
810
  ];
769
- /** @nocollapse */
811
+ /**
812
+ * @type {function(): !Array<(null|{
813
+ * type: ?,
814
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
815
+ * })>}
816
+ * @nocollapse
817
+ */
770
818
  MatFlexTableResizeStrategy.ctorParameters = () => [
771
819
  { type: ColumnResize },
772
820
  { type: _CoalescedStyleScheduler, decorators: [{ type: Inject, args: [_COALESCED_STYLE_SCHEDULER,] }] },
@@ -831,6 +879,7 @@ class MatColumnResize extends AbstractMatColumnResize {
831
879
  this.notifier = notifier;
832
880
  }
833
881
  }
882
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
834
883
  MatColumnResize.decorators = [
835
884
  { type: Directive, args: [{
836
885
  selector: 'table[mat-table][columnResize]',
@@ -838,7 +887,13 @@ MatColumnResize.decorators = [
838
887
  providers: [...TABLE_PROVIDERS, { provide: ColumnResize, useExisting: MatColumnResize }],
839
888
  },] }
840
889
  ];
841
- /** @nocollapse */
890
+ /**
891
+ * @type {function(): !Array<(null|{
892
+ * type: ?,
893
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
894
+ * })>}
895
+ * @nocollapse
896
+ */
842
897
  MatColumnResize.ctorParameters = () => [
843
898
  { type: ColumnResizeNotifier },
844
899
  { type: ElementRef },
@@ -868,6 +923,7 @@ class MatColumnResizeFlex extends AbstractMatColumnResize {
868
923
  this.notifier = notifier;
869
924
  }
870
925
  }
926
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
871
927
  MatColumnResizeFlex.decorators = [
872
928
  { type: Directive, args: [{
873
929
  selector: 'mat-table[columnResize]',
@@ -875,7 +931,13 @@ MatColumnResizeFlex.decorators = [
875
931
  providers: [...FLEX_PROVIDERS, { provide: ColumnResize, useExisting: MatColumnResizeFlex }],
876
932
  },] }
877
933
  ];
878
- /** @nocollapse */
934
+ /**
935
+ * @type {function(): !Array<(null|{
936
+ * type: ?,
937
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
938
+ * })>}
939
+ * @nocollapse
940
+ */
879
941
  MatColumnResizeFlex.ctorParameters = () => [
880
942
  { type: ColumnResizeNotifier },
881
943
  { type: ElementRef },
@@ -918,6 +980,7 @@ class MatColumnResizeOverlayHandle extends ResizeOverlayHandle {
918
980
  });
919
981
  }
920
982
  }
983
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
921
984
  MatColumnResizeOverlayHandle.decorators = [
922
985
  { type: Component, args: [{
923
986
  changeDetection: ChangeDetectionStrategy.OnPush,
@@ -926,7 +989,13 @@ MatColumnResizeOverlayHandle.decorators = [
926
989
  template: ''
927
990
  },] }
928
991
  ];
929
- /** @nocollapse */
992
+ /**
993
+ * @type {function(): !Array<(null|{
994
+ * type: ?,
995
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
996
+ * })>}
997
+ * @nocollapse
998
+ */
930
999
  MatColumnResizeOverlayHandle.ctorParameters = () => [
931
1000
  { type: CdkColumnDef },
932
1001
  { type: ColumnResize },
@@ -999,13 +1068,20 @@ class MatResizable extends AbstractMatResizable {
999
1068
  this.isResizable = newValue == null || newValue === '' || newValue;
1000
1069
  }
1001
1070
  }
1071
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
1002
1072
  MatResizable.decorators = [
1003
1073
  { type: Directive, args: [{
1004
1074
  selector: 'mat-header-cell[resizable], th[mat-header-cell][resizable]',
1005
1075
  inputs: RESIZABLE_INPUTS,
1006
1076
  },] }
1007
1077
  ];
1008
- /** @nocollapse */
1078
+ /**
1079
+ * @type {function(): !Array<(null|{
1080
+ * type: ?,
1081
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
1082
+ * })>}
1083
+ * @nocollapse
1084
+ */
1009
1085
  MatResizable.ctorParameters = () => [
1010
1086
  { type: CdkColumnDef },
1011
1087
  { type: ColumnResize },
@@ -1022,6 +1098,7 @@ MatResizable.ctorParameters = () => [
1022
1098
  { type: ViewContainerRef },
1023
1099
  { type: ChangeDetectorRef }
1024
1100
  ];
1101
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
1025
1102
  MatResizable.propDecorators = {
1026
1103
  hasResizableClass: [{ type: HostBinding, args: ['class',] }],
1027
1104
  resizable: [{ type: Input }]
@@ -1037,6 +1114,7 @@ MatResizable.propDecorators = {
1037
1114
  const ENTRY_COMMON_COMPONENTS = [MatColumnResizeOverlayHandle];
1038
1115
  class MatColumnResizeCommonModule {
1039
1116
  }
1117
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
1040
1118
  MatColumnResizeCommonModule.decorators = [
1041
1119
  { type: NgModule, args: [{
1042
1120
  declarations: ENTRY_COMMON_COMPONENTS,
@@ -1047,6 +1125,7 @@ MatColumnResizeCommonModule.decorators = [
1047
1125
  const IMPORTS = [OverlayModule, MatColumnResizeCommonModule];
1048
1126
  class MatColumnResizeModule {
1049
1127
  }
1128
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
1050
1129
  MatColumnResizeModule.decorators = [
1051
1130
  { type: NgModule, args: [{
1052
1131
  imports: IMPORTS,
@@ -1057,6 +1136,7 @@ MatColumnResizeModule.decorators = [
1057
1136
 
1058
1137
  class MtxGridModule {
1059
1138
  }
1139
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
1060
1140
  MtxGridModule.decorators = [
1061
1141
  { type: NgModule, args: [{
1062
1142
  imports: [