@acorex/components 7.1.3 → 7.1.5

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 (271) hide show
  1. package/action-sheet/public-api.d.ts +1 -0
  2. package/action-sheet/src/action-sheet.component.d.ts +8 -11
  3. package/alert/src/alert.component.d.ts +15 -47
  4. package/avatar/src/avatar.component.d.ts +8 -11
  5. package/badge/src/badge.component.d.ts +4 -35
  6. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -6
  7. package/breadcrumbs/src/breadcrumbs.component.d.ts +4 -8
  8. package/button/src/button-group.component.d.ts +6 -6
  9. package/button/src/button-item.component.d.ts +6 -6
  10. package/chips/src/chips.component.d.ts +6 -6
  11. package/color-picker/src/color-picker.component.d.ts +16 -16
  12. package/common/src/components/base-component.class.d.ts +7 -2
  13. package/date-picker/src/datepicker.component.d.ts +17 -132
  14. package/esm2022/action-sheet/public-api.mjs +2 -1
  15. package/esm2022/action-sheet/src/action-sheet.component.mjs +15 -21
  16. package/esm2022/action-sheet/src/action-sheet.module.mjs +4 -4
  17. package/esm2022/action-sheet/src/action-sheet.service.mjs +4 -8
  18. package/esm2022/alert/src/alert.component.mjs +52 -50
  19. package/esm2022/alert/src/alert.module.mjs +4 -4
  20. package/esm2022/avatar/src/avatar-group.component.mjs +3 -3
  21. package/esm2022/avatar/src/avatar.component.mjs +11 -20
  22. package/esm2022/avatar/src/avatar.module.mjs +4 -4
  23. package/esm2022/badge/src/badge.component.mjs +8 -13
  24. package/esm2022/badge/src/badge.module.mjs +4 -4
  25. package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +3 -3
  26. package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +7 -13
  27. package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
  28. package/esm2022/button/src/button-group.component.mjs +3 -3
  29. package/esm2022/button/src/button-item.component.mjs +3 -3
  30. package/esm2022/button/src/button.component.mjs +5 -5
  31. package/esm2022/button/src/button.module.mjs +4 -4
  32. package/esm2022/calendar/src/calendar-range.component.mjs +19 -20
  33. package/esm2022/calendar/src/calendar.class.mjs +6 -6
  34. package/esm2022/calendar/src/calendar.component.mjs +5 -5
  35. package/esm2022/calendar/src/calendar.module.mjs +4 -4
  36. package/esm2022/card/src/card.component.mjs +3 -3
  37. package/esm2022/card/src/card.module.mjs +4 -4
  38. package/esm2022/checkbox/src/checkbox.component.mjs +3 -3
  39. package/esm2022/checkbox/src/checkbox.module.mjs +4 -4
  40. package/esm2022/chips/src/chips.component.mjs +3 -3
  41. package/esm2022/chips/src/chips.module.mjs +4 -4
  42. package/esm2022/collapse/src/collapse-group.component.mjs +3 -3
  43. package/esm2022/collapse/src/collapse.component.mjs +3 -3
  44. package/esm2022/collapse/src/collapse.module.mjs +4 -4
  45. package/esm2022/color-palette/src/color-palette-input.component.mjs +3 -3
  46. package/esm2022/color-palette/src/color-palette-picker.component.mjs +3 -3
  47. package/esm2022/color-palette/src/color-palette-preview.component.mjs +3 -3
  48. package/esm2022/color-palette/src/color-palette-swatches.component.mjs +3 -3
  49. package/esm2022/color-palette/src/color-palette.class.mjs +6 -6
  50. package/esm2022/color-palette/src/color-palette.component.mjs +3 -3
  51. package/esm2022/color-palette/src/color-palette.module.mjs +4 -4
  52. package/esm2022/color-picker/src/color-picker.component.mjs +3 -3
  53. package/esm2022/color-picker/src/color-picker.module.mjs +4 -4
  54. package/esm2022/common/src/classes/components.class.mjs +18 -18
  55. package/esm2022/common/src/common.module.mjs +4 -4
  56. package/esm2022/common/src/components/base-component.class.mjs +14 -3
  57. package/esm2022/common/src/components/value-component.class.mjs +4 -5
  58. package/esm2022/common/src/directives/auto-focus.directive.mjs +3 -3
  59. package/esm2022/common/src/directives/debounce-time.directive.mjs +3 -3
  60. package/esm2022/common/src/directives/hotkey.directive.mjs +3 -3
  61. package/esm2022/common/src/directives/infinite-scroll.directive.mjs +3 -3
  62. package/esm2022/common/src/directives/responsive.directive.mjs +3 -3
  63. package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +6 -6
  64. package/esm2022/common/src/services/hotkey.service.mjs +3 -3
  65. package/esm2022/common/src/services/overlay.service.mjs +3 -3
  66. package/esm2022/context-menu/src/context-menu.component.mjs +3 -3
  67. package/esm2022/context-menu/src/context-menu.module.mjs +4 -4
  68. package/esm2022/data-pager/src/data-pager-base.component.mjs +6 -6
  69. package/esm2022/data-pager/src/data-pager-info.component.mjs +3 -3
  70. package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +3 -3
  71. package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +3 -3
  72. package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +3 -3
  73. package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +3 -3
  74. package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +3 -3
  75. package/esm2022/data-pager/src/data-pager.component.mjs +3 -3
  76. package/esm2022/data-pager/src/data-pager.module.mjs +4 -4
  77. package/esm2022/data-table/src/data-column-cell-template.directive.mjs +3 -3
  78. package/esm2022/data-table/src/data-column.directive.mjs +3 -3
  79. package/esm2022/data-table/src/data-table.component.mjs +3 -3
  80. package/esm2022/data-table/src/data-table.module.mjs +4 -4
  81. package/esm2022/date-picker/src/datepicker.component.mjs +38 -152
  82. package/esm2022/date-picker/src/datepicker.module.mjs +4 -4
  83. package/esm2022/decorators/src/close-button.component.mjs +3 -3
  84. package/esm2022/decorators/src/content.component.mjs +3 -3
  85. package/esm2022/decorators/src/decorators.module.mjs +4 -4
  86. package/esm2022/decorators/src/footer.component.mjs +3 -3
  87. package/esm2022/decorators/src/form-hint.component.mjs +3 -3
  88. package/esm2022/decorators/src/header.component.mjs +3 -3
  89. package/esm2022/decorators/src/icon.component.mjs +3 -3
  90. package/esm2022/decorators/src/overlay.component.mjs +3 -3
  91. package/esm2022/decorators/src/placeholder.component.mjs +3 -3
  92. package/esm2022/decorators/src/prefix.component.mjs +3 -3
  93. package/esm2022/decorators/src/sub-title.component.mjs +3 -3
  94. package/esm2022/decorators/src/suffix.component.mjs +3 -3
  95. package/esm2022/decorators/src/text.component.mjs +3 -3
  96. package/esm2022/decorators/src/title.component.mjs +3 -3
  97. package/esm2022/dialog/src/dialog.component.mjs +4 -4
  98. package/esm2022/dialog/src/dialog.module.mjs +4 -4
  99. package/esm2022/dialog/src/dialog.service.mjs +3 -3
  100. package/esm2022/drawer/src/drawer-container.component.mjs +3 -3
  101. package/esm2022/drawer/src/drawer.component.mjs +3 -3
  102. package/esm2022/drawer/src/drawer.module.mjs +4 -4
  103. package/esm2022/dropdown/src/dropdown-panel.component.mjs +3 -3
  104. package/esm2022/dropdown/src/dropdown.module.mjs +4 -4
  105. package/esm2022/form/src/form-field.component.mjs +3 -3
  106. package/esm2022/form/src/form.component.mjs +3 -3
  107. package/esm2022/form/src/form.module.mjs +4 -4
  108. package/esm2022/form/src/validation-rule.widget.mjs +3 -3
  109. package/esm2022/form/src/validation-summary.component.mjs +4 -4
  110. package/esm2022/image/src/image.component.mjs +3 -3
  111. package/esm2022/image/src/image.module.mjs +4 -4
  112. package/esm2022/label/src/label.component.mjs +3 -3
  113. package/esm2022/label/src/label.module.mjs +4 -4
  114. package/esm2022/loading/src/loading-spinner.component.mjs +3 -3
  115. package/esm2022/loading/src/loading.component.mjs +3 -3
  116. package/esm2022/loading/src/loading.directive.mjs +3 -3
  117. package/esm2022/loading/src/loading.module.mjs +4 -4
  118. package/esm2022/loading/src/loading.service.mjs +3 -3
  119. package/esm2022/menu/src/menu.component.mjs +3 -3
  120. package/esm2022/menu/src/menu.module.mjs +4 -4
  121. package/esm2022/mixin/src/base-components.class.mjs +3 -3
  122. package/esm2022/mixin/src/selection-component.class.mjs +9 -16
  123. package/esm2022/notification/src/notification.component.mjs +3 -3
  124. package/esm2022/notification/src/notification.module.mjs +4 -4
  125. package/esm2022/notification/src/notification.service.mjs +3 -3
  126. package/esm2022/number-box/src/number-box.component.mjs +3 -3
  127. package/esm2022/number-box/src/number-box.module.mjs +4 -4
  128. package/esm2022/page/src/base-page.class.mjs +3 -3
  129. package/esm2022/page/src/page.component.mjs +3 -3
  130. package/esm2022/page/src/page.module.mjs +4 -4
  131. package/esm2022/password-box/src/password-box.component.mjs +3 -3
  132. package/esm2022/password-box/src/password-box.module.mjs +4 -4
  133. package/esm2022/picker/src/picker-column.component.mjs +3 -3
  134. package/esm2022/picker/src/picker.component.mjs +3 -3
  135. package/esm2022/picker/src/picker.module.mjs +4 -4
  136. package/esm2022/popover/public-api.mjs +2 -1
  137. package/esm2022/popover/src/dropdown-component.class.mjs +72 -0
  138. package/esm2022/popover/src/popover.component.mjs +28 -35
  139. package/esm2022/popover/src/popover.module.mjs +4 -4
  140. package/esm2022/popup/src/popup.component.mjs +3 -3
  141. package/esm2022/popup/src/popup.module.mjs +4 -4
  142. package/esm2022/popup/src/popup.service.mjs +3 -3
  143. package/esm2022/progress-bar/src/progress-bar.component.mjs +3 -3
  144. package/esm2022/progress-bar/src/progress-bar.module.mjs +4 -4
  145. package/esm2022/radio/src/radio.component.mjs +3 -3
  146. package/esm2022/radio/src/radio.module.mjs +4 -4
  147. package/esm2022/range-slider/src/range-slider.component.mjs +3 -3
  148. package/esm2022/range-slider/src/range-slider.module.mjs +4 -4
  149. package/esm2022/rating/src/rating.component.mjs +3 -3
  150. package/esm2022/rating/src/rating.component.module.mjs +4 -4
  151. package/esm2022/result/src/result.component.mjs +3 -3
  152. package/esm2022/result/src/result.module.mjs +4 -4
  153. package/esm2022/search-box/src/search-box.component.mjs +3 -3
  154. package/esm2022/search-box/src/search-box.module.mjs +4 -4
  155. package/esm2022/select-box/src/selectbox.component.mjs +3 -3
  156. package/esm2022/select-box/src/selectbox.module.mjs +4 -4
  157. package/esm2022/selection-list/src/selection-list.component.mjs +3 -3
  158. package/esm2022/selection-list/src/selection-list.module.mjs +4 -4
  159. package/esm2022/switch/src/switch-content.component.mjs +3 -3
  160. package/esm2022/switch/src/switch.component.mjs +3 -3
  161. package/esm2022/switch/src/switch.module.mjs +4 -4
  162. package/esm2022/tabs/src/tab-content.directive.mjs +3 -3
  163. package/esm2022/tabs/src/tab-item.component.mjs +3 -3
  164. package/esm2022/tabs/src/tabs.component.mjs +3 -3
  165. package/esm2022/tabs/src/tabs.module.mjs +4 -4
  166. package/esm2022/tag/src/tag.component.mjs +3 -3
  167. package/esm2022/tag/src/tag.module.mjs +4 -4
  168. package/esm2022/textarea/src/textarea.component.mjs +3 -3
  169. package/esm2022/textarea/src/textarea.module.mjs +4 -4
  170. package/esm2022/textbox/src/mask-options.directive.mjs +3 -3
  171. package/esm2022/textbox/src/textbox.component.mjs +3 -3
  172. package/esm2022/textbox/src/textbox.module.mjs +4 -4
  173. package/esm2022/time-box/src/time-box.component.mjs +17 -25
  174. package/esm2022/time-box/src/time-box.module.mjs +4 -4
  175. package/esm2022/toast/src/toast.component.mjs +3 -3
  176. package/esm2022/toast/src/toast.module.mjs +4 -4
  177. package/esm2022/toast/src/toast.service.mjs +3 -3
  178. package/esm2022/tooltip/src/tooltip.component.mjs +3 -3
  179. package/esm2022/tooltip/src/tooltip.directive.mjs +3 -3
  180. package/esm2022/tooltip/src/tooltip.module.mjs +4 -4
  181. package/esm2022/tree-view/src/tree-view.component.mjs +3 -3
  182. package/esm2022/tree-view/src/tree-view.module.mjs +4 -4
  183. package/esm2022/uploader/src/uploader.component.mjs +3 -3
  184. package/esm2022/uploader/src/uploader.module.mjs +4 -4
  185. package/fesm2022/acorex-components-action-sheet.mjs +23 -31
  186. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  187. package/fesm2022/acorex-components-alert.mjs +56 -54
  188. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  189. package/fesm2022/acorex-components-avatar.mjs +17 -26
  190. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  191. package/fesm2022/acorex-components-badge.mjs +12 -17
  192. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  193. package/fesm2022/acorex-components-breadcrumbs.mjs +14 -19
  194. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  195. package/fesm2022/acorex-components-button.mjs +15 -15
  196. package/fesm2022/acorex-components-button.mjs.map +1 -1
  197. package/fesm2022/acorex-components-calendar.mjs +32 -33
  198. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  199. package/fesm2022/acorex-components-card.mjs +7 -7
  200. package/fesm2022/acorex-components-checkbox.mjs +7 -7
  201. package/fesm2022/acorex-components-chips.mjs +7 -7
  202. package/fesm2022/acorex-components-collapse.mjs +10 -10
  203. package/fesm2022/acorex-components-color-palette.mjs +25 -25
  204. package/fesm2022/acorex-components-color-picker.mjs +7 -7
  205. package/fesm2022/acorex-components-common.mjs +62 -54
  206. package/fesm2022/acorex-components-common.mjs.map +1 -1
  207. package/fesm2022/acorex-components-context-menu.mjs +7 -7
  208. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  209. package/fesm2022/acorex-components-data-table.mjs +13 -13
  210. package/fesm2022/acorex-components-date-picker.mjs +42 -156
  211. package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
  212. package/fesm2022/acorex-components-decorators.mjs +43 -43
  213. package/fesm2022/acorex-components-dialog.mjs +11 -11
  214. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  215. package/fesm2022/acorex-components-drawer.mjs +10 -10
  216. package/fesm2022/acorex-components-dropdown.mjs +7 -7
  217. package/fesm2022/acorex-components-form.mjs +17 -17
  218. package/fesm2022/acorex-components-form.mjs.map +1 -1
  219. package/fesm2022/acorex-components-image.mjs +7 -7
  220. package/fesm2022/acorex-components-label.mjs +7 -7
  221. package/fesm2022/acorex-components-loading.mjs +16 -16
  222. package/fesm2022/acorex-components-menu.mjs +7 -7
  223. package/fesm2022/acorex-components-mixin.mjs +11 -18
  224. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  225. package/fesm2022/acorex-components-notification.mjs +10 -10
  226. package/fesm2022/acorex-components-number-box.mjs +7 -7
  227. package/fesm2022/acorex-components-page.mjs +10 -10
  228. package/fesm2022/acorex-components-password-box.mjs +7 -7
  229. package/fesm2022/acorex-components-picker.mjs +10 -10
  230. package/fesm2022/acorex-components-popover.mjs +100 -39
  231. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  232. package/fesm2022/acorex-components-popup.mjs +10 -10
  233. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  234. package/fesm2022/acorex-components-radio.mjs +7 -7
  235. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  236. package/fesm2022/acorex-components-rating.mjs +7 -7
  237. package/fesm2022/acorex-components-result.mjs +7 -7
  238. package/fesm2022/acorex-components-search-box.mjs +7 -7
  239. package/fesm2022/acorex-components-select-box.mjs +7 -7
  240. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  241. package/fesm2022/acorex-components-switch.mjs +10 -10
  242. package/fesm2022/acorex-components-tabs.mjs +13 -13
  243. package/fesm2022/acorex-components-tag.mjs +7 -7
  244. package/fesm2022/acorex-components-textarea.mjs +7 -7
  245. package/fesm2022/acorex-components-textbox.mjs +10 -10
  246. package/fesm2022/acorex-components-time-box.mjs +20 -28
  247. package/fesm2022/acorex-components-time-box.mjs.map +1 -1
  248. package/fesm2022/acorex-components-toast.mjs +10 -10
  249. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  250. package/fesm2022/acorex-components-tree-view.mjs +7 -7
  251. package/fesm2022/acorex-components-uploader.mjs +7 -7
  252. package/mixin/src/base-components.class.d.ts +2 -2
  253. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  254. package/mixin/src/button-mixin.class.d.ts +2 -2
  255. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  256. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  257. package/mixin/src/datalist-component.class.d.ts +10 -10
  258. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  259. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  260. package/mixin/src/loading-mixin.class.d.ts +2 -2
  261. package/mixin/src/mixin.class.d.ts +61 -61
  262. package/mixin/src/page-component.class.d.ts +2 -2
  263. package/mixin/src/selection-component.class.d.ts +4 -4
  264. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  265. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  266. package/mixin/src/value-mixin.class.d.ts +8 -8
  267. package/package.json +8 -8
  268. package/popover/public-api.d.ts +1 -0
  269. package/popover/src/dropdown-component.class.d.ts +17 -0
  270. package/popover/src/popover.component.d.ts +9 -16
  271. package/tabs/src/tab-item.component.d.ts +2 -2
@@ -75,9 +75,7 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
75
75
  this._maskDirective?.maskRef?.updateControl();
76
76
  }
77
77
  _updateText() {
78
- this.displayText = this.value
79
- ? AXDateTime.convert(this.value).format(this.format)
80
- : '';
78
+ this.displayText = this.value ? AXDateTime.convert(this.value).format(this.format) : '';
81
79
  }
82
80
  _onOptionChanged(option) {
83
81
  super._onOptionChanged(option);
@@ -130,7 +128,6 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
130
128
  this._maskDirective?.maskRef?.updateControl();
131
129
  }
132
130
  _handleOnKeydownEvent(e) {
133
- debugger;
134
131
  const ignore = () => {
135
132
  e.preventDefault();
136
133
  e.stopPropagation();
@@ -138,15 +135,7 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
138
135
  const nums = Array(10)
139
136
  .fill(0)
140
137
  .map((v, i) => i.toString());
141
- const chars = [
142
- 'Backspace',
143
- 'ArrowDown',
144
- 'ArrowUp',
145
- 'ArrowRight',
146
- 'ArrowLeft',
147
- 'Tab',
148
- 'Enter',
149
- ];
138
+ const chars = ['Backspace', 'ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter'];
150
139
  const input = e.target;
151
140
  const key = e.key;
152
141
  const valStr = input.value;
@@ -268,10 +257,10 @@ class AXTimeBoxComponent extends AXBaseTextBoxMixin {
268
257
  const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart || 0);
269
258
  input.setSelectionRange(start, end);
270
259
  }
271
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
272
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", formatChange: "formatChange", displayTextChange: "displayTextChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>", dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
260
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
261
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: AXTimeBoxComponent, selector: "ax-time-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", size: "size", value: "value", placeholder: "placeholder", maxLength: "maxLength", allowNull: "allowNull", type: "type", autoComplete: "autoComplete", name: "name", checked: "checked", minValue: "minValue", maxValue: "maxValue", format: "format", displayText: "displayText" }, outputs: { valueChange: "valueChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", formatChange: "formatChange", displayTextChange: "displayTextChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>", dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
273
262
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxComponent, decorators: [{
275
264
  type: Component,
276
265
  args: [{ selector: 'ax-time-box', inputs: [
277
266
  'disabled',
@@ -279,14 +268,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
279
268
  'tabIndex',
280
269
  'size',
281
270
  'value',
282
- 'placeholder', 'maxLength', 'allowNull', 'type', 'autoComplete', 'readonly', 'allowNull', 'value', 'name', 'checked',
283
- ], outputs: [
284
- 'valueChange',
285
- 'onValueChanged',
286
- 'onBlur',
287
- 'onFocus',
288
- 'valueChange', 'onValueChanged',
289
- ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>" }]
271
+ 'placeholder',
272
+ 'maxLength',
273
+ 'allowNull',
274
+ 'type',
275
+ 'autoComplete',
276
+ 'readonly',
277
+ 'allowNull',
278
+ 'value',
279
+ 'name',
280
+ 'checked',
281
+ ], outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', 'valueChange', 'onValueChanged'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>" }]
290
282
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { input: [{
291
283
  type: ViewChild,
292
284
  args: ['input']
@@ -315,14 +307,14 @@ const MODULES = [
315
307
  IMaskModule
316
308
  ];
317
309
  class AXTimeBoxModule {
318
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
319
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
310
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
311
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxModule, declarations: [AXTimeBoxComponent], imports: [CommonModule,
320
312
  FormsModule,
321
313
  AXButtonModule,
322
314
  IMaskModule], exports: [AXTimeBoxComponent] });
323
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxModule, imports: [MODULES] });
315
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxModule, imports: [MODULES] });
324
316
  }
325
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTimeBoxModule, decorators: [{
317
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTimeBoxModule, decorators: [{
326
318
  type: NgModule,
327
319
  args: [{
328
320
  declarations: [...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-time-box.mjs","sources":["../../../../projects/acorex/components/time-box/src/time-box.component.ts","../../../../projects/acorex/components/time-box/src/time-box.component.html","../../../../projects/acorex/components/time-box/src/time-box.module.ts","../../../../projects/acorex/components/time-box/acorex-components-time-box.ts"],"sourcesContent":["import { AXStringUtil } from '@acorex/core/utils';\nimport { AXDateTime } from '@acorex/core/dateTime';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n EventEmitter,\n Output,\n Input,\n ViewChild,\n} from '@angular/core';\nimport IMask from 'imask';\nimport { IMaskDirective } from 'angular-imask';\nimport { AXBaseTextBoxMixin, AXComponentOptionChanged } from '@acorex/components/mixin';\n\n\nexport type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-time-box',\n templateUrl: './time-box.component.html',\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'size',\n 'value',\n 'placeholder', 'maxLength', 'allowNull', 'type', 'autoComplete', 'readonly', 'allowNull', 'value', 'name', 'checked',\n ],\n outputs: [\n 'valueChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'valueChange', 'onValueChanged',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'ax-editor-container ax-drop-down' },\n})\nexport class AXTimeBoxComponent extends AXBaseTextBoxMixin {\n\n @ViewChild('input')\n input: ElementRef<HTMLInputElement>;\n\n private _minValue: Date;\n @Input()\n public get minValue(): Date {\n return this._minValue;\n }\n public set minValue(v: Date) {\n this._minValue = v;\n }\n\n private _maxValue: Date;\n @Input()\n public get maxValue(): Date {\n return this._maxValue;\n }\n public set maxValue(v: Date) {\n this._maxValue = v;\n }\n\n @Output()\n formatChange = new EventEmitter<string>();\n\n private _format: AX_TIME_FORMAT = 'HH:mm';\n @Input()\n public get format(): AX_TIME_FORMAT {\n return this._format;\n }\n public set format(v: AX_TIME_FORMAT) {\n this._setOption({\n name: 'format',\n value: v,\n });\n }\n\n @Output()\n public displayTextChange: EventEmitter<string> = new EventEmitter<string>();\n private _displayText: string = '';\n\n @Input()\n public get displayText(): string {\n return this._displayText;\n }\n\n public set displayText(v: string) {\n this._displayText = v;\n this.displayTextChange.emit(v);\n }\n\n /**\n * @ignore\n */\n protected _maskObj: IMask.MaskedPattern;\n\n @ViewChild(IMaskDirective)\n private _maskDirective: IMaskDirective<IMask.MaskedNumber>;\n\n /**\n * @ignore\n */\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\n super(elementRef, cdr);\n }\n\n onViewInit(): void {\n super.onViewInit();\n this._updateMask();\n }\n\n _onValueChanged(oldValue?: any, newValue?: any) {\n this._updateText();\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n _updateText() {\n this.displayText = this.value\n ? AXDateTime.convert(this.value).format(this.format)\n : '';\n }\n\n _onOptionChanged(option: AXComponentOptionChanged): void {\n super._onOptionChanged(option);\n this._updateMask();\n }\n\n focus(): void {\n this.input.nativeElement.focus()\n }\n\n\n private _updateMask() {\n if (!this._maskObj) {\n this._maskObj = IMask.createMask({\n mask: this.format,\n lazy: false,\n autofix: true,\n overwrite: true,\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n mm: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n ss: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n },\n });\n } else {\n this._maskObj.updateOptions({\n mask: this.format,\n });\n }\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n _handleOnKeydownEvent(e: KeyboardEvent) {\n debugger\n const ignore = () => {\n e.preventDefault();\n e.stopPropagation();\n };\n\n const nums: string[] = Array(10)\n .fill(0)\n .map((v, i) => i.toString());\n const chars: string[] = [\n 'Backspace',\n 'ArrowDown',\n 'ArrowUp',\n 'ArrowRight',\n 'ArrowLeft',\n 'Tab',\n 'Enter',\n ];\n const input = e.target as HTMLInputElement;\n const key = e.key;\n const valStr = input.value;\n const sStart = input.selectionStart || 0;\n const sEnd = input.selectionEnd || 0;\n const dateVal = new AXDateTime(this.value);\n //\n const re = /[a-zA-Z0-9]+/gi;\n const parts = Array.from(this.format.matchAll(re));\n const word = valStr.substring(sStart, sEnd);\n const part = parts.find((c: any) => c.index >= sStart);\n const next = Array.from(valStr.substr(sEnd).matchAll(re));\n const prev = Array.from(valStr.substring(0, sStart).matchAll(re));\n //const part = parts[Array.from(valStr.matchAll(re)).findIndex(c => c[0] == word)];\n //\n\n const goNext = () => {\n this._highlightPart(input, sEnd + (next[0]?.index || 0));\n };\n const goPrev = () => {\n this._highlightPart(input, prev[prev.length - 1]?.index);\n };\n\n //\n if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {\n ignore();\n e.key === 'ArrowRight' ? goNext() : goPrev();\n } else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\n if (e.ctrlKey && e.key === 'ArrowDown') {\n //this.open();\n } else {\n const sign = e.key === 'ArrowUp' ? +1 : -1;\n if (part) {\n switch (part[0]) {\n case 'hh':\n case 'h':\n case 'HH':\n case 'H':\n this.value = dateVal.add('hour', sign).date;\n break;\n case 'mm':\n this.value = dateVal.add('minute', sign).date;\n break;\n case 'ss':\n case 'SS':\n this.value = dateVal.add('second', sign).date;\n break;\n }\n setTimeout(() => {\n this._highlightPart(input, sStart);\n }, 10);\n }\n }\n ignore();\n } else if (e.key == 'Backspace') {\n // if (this.allowNull) {\n // this.value = null;\n // }\n // ignore();\n } else if (e.key == 'Tab') {\n if (sEnd < valStr.length && !e.shiftKey) {\n goNext();\n ignore();\n } else if (sStart != 0 && e.shiftKey) {\n goPrev();\n ignore();\n }\n } else {\n // const keys = {\n // h: {\n // v: /^[0-9]$|^[1][0-2]$/,\n // p: '0'\n // },\n // H: {\n // v: /^[0-9]$|^1[0-9]$|2[0-3]$/,\n // p: '0'\n // },\n // m: {\n // v: /^[0-9]$|^[1-5][0-9]$/,\n // p: '0'\n // }\n // }\n // // const re = new RegExp(_.orderBy(Object.keys(keys), c => c.length, ['desc']).join(\"|\"), \"gi\");\n // // return format.replace(re, function (matched) {\n // // return keys[matched]();\n // // });\n // const t = keys[part[0]];\n // if (!t.v.test(key)) {\n // ignore();\n // }\n // else {\n // this._updateText()\n // }\n }\n // super._emitOnKeydownEvent(e);\n }\n\n _handleKeyUpEvent(e: KeyboardEvent) {\n // const input = (e.target as HTMLInputElement);\n // setTimeout(() => {\n // this._highlightPart(input);\n // }, 700);\n }\n\n _emitOnFocusEvent(e: FocusEvent): void {\n const input = e.target as HTMLInputElement;\n this._highlightPart(input);\n super._emitOnFocusEvent(e);\n }\n\n _handleOnInputClickEvent(e: MouseEvent): void {\n const input = e.target as HTMLInputElement;\n this._highlightPart(input);\n e.preventDefault();\n e.stopPropagation();\n }\n\n private _highlightPart(input: HTMLInputElement, pos?: number) {\n const { start, end } = AXStringUtil.getWordBoundsAtPosition(\n input.value,\n pos != null ? pos : input.selectionStart || 0\n );\n input.setSelectionRange(start, end);\n }\n\n}\n","<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXTimeBoxComponent } from './time-box.component';\nimport { FormsModule } from '@angular/forms';\nimport { IMaskModule } from 'angular-imask';\nimport { AXButtonModule } from '@acorex/components/button';\n\nconst COMPONENT = [AXTimeBoxComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXButtonModule,\n IMaskModule\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXTimeBoxModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAmBA;;;;AAIG;AACH,MAsBa,kBAAmB,SAAQ,kBAAkB,CAAA;AA+DZ,IAAA,GAAA,CAAA;AA5D5C,IAAA,KAAK,CAA+B;AAE5B,IAAA,SAAS,CAAO;AACxB,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAW,QAAQ,CAAC,CAAO,EAAA;AACzB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;KACpB;AAEO,IAAA,SAAS,CAAO;AACxB,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAW,QAAQ,CAAC,CAAO,EAAA;AACzB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;KACpB;AAGD,IAA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,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AAChB,iBAAA,CAAA;;;ACpBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-time-box.mjs","sources":["../../../../projects/acorex/components/time-box/src/time-box.component.ts","../../../../projects/acorex/components/time-box/src/time-box.component.html","../../../../projects/acorex/components/time-box/src/time-box.module.ts","../../../../projects/acorex/components/time-box/acorex-components-time-box.ts"],"sourcesContent":["import { AXStringUtil } from '@acorex/core/utils';\nimport { AXDateTime } from '@acorex/core/dateTime';\nimport {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n EventEmitter,\n Output,\n Input,\n ViewChild,\n} from '@angular/core';\nimport IMask from 'imask';\nimport { IMaskDirective } from 'angular-imask';\nimport { AXBaseTextBoxMixin, AXComponentOptionChanged } from '@acorex/components/mixin';\n\nexport type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-time-box',\n templateUrl: './time-box.component.html',\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'size',\n 'value',\n 'placeholder',\n 'maxLength',\n 'allowNull',\n 'type',\n 'autoComplete',\n 'readonly',\n 'allowNull',\n 'value',\n 'name',\n 'checked',\n ],\n outputs: ['valueChange', 'onValueChanged', 'onBlur', 'onFocus', 'valueChange', 'onValueChanged'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: { class: 'ax-editor-container ax-drop-down' },\n})\nexport class AXTimeBoxComponent extends AXBaseTextBoxMixin {\n @ViewChild('input')\n input: ElementRef<HTMLInputElement>;\n\n private _minValue: Date;\n @Input()\n public get minValue(): Date {\n return this._minValue;\n }\n public set minValue(v: Date) {\n this._minValue = v;\n }\n\n private _maxValue: Date;\n @Input()\n public get maxValue(): Date {\n return this._maxValue;\n }\n public set maxValue(v: Date) {\n this._maxValue = v;\n }\n\n @Output()\n formatChange = new EventEmitter<string>();\n\n private _format: AX_TIME_FORMAT = 'HH:mm';\n @Input()\n public get format(): AX_TIME_FORMAT {\n return this._format;\n }\n public set format(v: AX_TIME_FORMAT) {\n this._setOption({\n name: 'format',\n value: v,\n });\n }\n\n @Output()\n public displayTextChange: EventEmitter<string> = new EventEmitter<string>();\n private _displayText: string = '';\n\n @Input()\n public get displayText(): string {\n return this._displayText;\n }\n\n public set displayText(v: string) {\n this._displayText = v;\n this.displayTextChange.emit(v);\n }\n\n /**\n * @ignore\n */\n protected _maskObj: IMask.MaskedPattern;\n\n @ViewChild(IMaskDirective)\n private _maskDirective: IMaskDirective<IMask.MaskedNumber>;\n\n /**\n * @ignore\n */\n constructor(elementRef: ElementRef, private cdr: ChangeDetectorRef) {\n super(elementRef, cdr);\n }\n\n onViewInit(): void {\n super.onViewInit();\n this._updateMask();\n }\n\n _onValueChanged(oldValue?: any, newValue?: any) {\n this._updateText();\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n _updateText() {\n this.displayText = this.value ? AXDateTime.convert(this.value).format(this.format) : '';\n }\n\n _onOptionChanged(option: AXComponentOptionChanged): void {\n super._onOptionChanged(option);\n this._updateMask();\n }\n\n focus(): void {\n this.input.nativeElement.focus();\n }\n\n private _updateMask() {\n if (!this._maskObj) {\n this._maskObj = IMask.createMask({\n mask: this.format,\n lazy: false,\n autofix: true,\n overwrite: true,\n blocks: {\n HH: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 23,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n mm: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n ss: {\n mask: IMask.MaskedRange,\n from: 0,\n to: 59,\n maxLength: 2,\n placeholderChar: '0',\n autofix: 'pad',\n },\n },\n });\n } else {\n this._maskObj.updateOptions({\n mask: this.format,\n });\n }\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n _handleOnKeydownEvent(e: KeyboardEvent) {\n const ignore = () => {\n e.preventDefault();\n e.stopPropagation();\n };\n\n const nums: string[] = Array(10)\n .fill(0)\n .map((v, i) => i.toString());\n const chars: string[] = ['Backspace', 'ArrowDown', 'ArrowUp', 'ArrowRight', 'ArrowLeft', 'Tab', 'Enter'];\n const input = e.target as HTMLInputElement;\n const key = e.key;\n const valStr = input.value;\n const sStart = input.selectionStart || 0;\n const sEnd = input.selectionEnd || 0;\n const dateVal = new AXDateTime(this.value);\n //\n const re = /[a-zA-Z0-9]+/gi;\n const parts = Array.from(this.format.matchAll(re));\n const word = valStr.substring(sStart, sEnd);\n const part = parts.find((c: any) => c.index >= sStart);\n const next = Array.from(valStr.substr(sEnd).matchAll(re));\n const prev = Array.from(valStr.substring(0, sStart).matchAll(re));\n //const part = parts[Array.from(valStr.matchAll(re)).findIndex(c => c[0] == word)];\n //\n\n const goNext = () => {\n this._highlightPart(input, sEnd + (next[0]?.index || 0));\n };\n const goPrev = () => {\n this._highlightPart(input, prev[prev.length - 1]?.index);\n };\n\n //\n if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {\n ignore();\n e.key === 'ArrowRight' ? goNext() : goPrev();\n } else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\n if (e.ctrlKey && e.key === 'ArrowDown') {\n //this.open();\n } else {\n const sign = e.key === 'ArrowUp' ? +1 : -1;\n if (part) {\n switch (part[0]) {\n case 'hh':\n case 'h':\n case 'HH':\n case 'H':\n this.value = dateVal.add('hour', sign).date;\n break;\n case 'mm':\n this.value = dateVal.add('minute', sign).date;\n break;\n case 'ss':\n case 'SS':\n this.value = dateVal.add('second', sign).date;\n break;\n }\n setTimeout(() => {\n this._highlightPart(input, sStart);\n }, 10);\n }\n }\n ignore();\n } else if (e.key == 'Backspace') {\n // if (this.allowNull) {\n // this.value = null;\n // }\n // ignore();\n } else if (e.key == 'Tab') {\n if (sEnd < valStr.length && !e.shiftKey) {\n goNext();\n ignore();\n } else if (sStart != 0 && e.shiftKey) {\n goPrev();\n ignore();\n }\n } else {\n // const keys = {\n // h: {\n // v: /^[0-9]$|^[1][0-2]$/,\n // p: '0'\n // },\n // H: {\n // v: /^[0-9]$|^1[0-9]$|2[0-3]$/,\n // p: '0'\n // },\n // m: {\n // v: /^[0-9]$|^[1-5][0-9]$/,\n // p: '0'\n // }\n // }\n // // const re = new RegExp(_.orderBy(Object.keys(keys), c => c.length, ['desc']).join(\"|\"), \"gi\");\n // // return format.replace(re, function (matched) {\n // // return keys[matched]();\n // // });\n // const t = keys[part[0]];\n // if (!t.v.test(key)) {\n // ignore();\n // }\n // else {\n // this._updateText()\n // }\n }\n // super._emitOnKeydownEvent(e);\n }\n\n _handleKeyUpEvent(e: KeyboardEvent) {\n // const input = (e.target as HTMLInputElement);\n // setTimeout(() => {\n // this._highlightPart(input);\n // }, 700);\n }\n\n _emitOnFocusEvent(e: FocusEvent): void {\n const input = e.target as HTMLInputElement;\n this._highlightPart(input);\n super._emitOnFocusEvent(e);\n }\n\n _handleOnInputClickEvent(e: MouseEvent): void {\n const input = e.target as HTMLInputElement;\n this._highlightPart(input);\n e.preventDefault();\n e.stopPropagation();\n }\n\n private _highlightPart(input: HTMLInputElement, pos?: number) {\n const { start, end } = AXStringUtil.getWordBoundsAtPosition(input.value, pos != null ? pos : input.selectionStart || 0);\n input.setSelectionRange(start, end);\n }\n}\n","<ng-content select=\"ax-prefix\">\n</ng-content>\n<input #input class=\"ax-input\" \n [imask]=\"_maskObj\" \n [unmask]=\"false\" \n type=\"text\" \n [attr.placeholder]=\"placeholder\"\n [class.ax-state-disabled]=\"disabled\" \n [class.ax-state-readonly]=\"readonly\" \n [disabled]=\"disabled\"\n [readonly]=\"readonly\" \n [tabindex]=\"tabIndex\" \n [ngModel]=\"displayText\" \n (mouseup)=\"_handleOnInputClickEvent($event)\"\n (focus)=\"_emitOnFocusEvent($event)\"\n (blur)=\"_emitOnBlurEvent($event)\"\n (keyup)=\"_handleKeyUpEvent($event)\" \n (keydown)=\"_handleOnKeydownEvent($event)\" \n autocomplete=\"off\">\n<ng-content select=\"ax-suffix\">\n</ng-content>\n<ng-content select=\"ax-validation-rule\">\n</ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXTimeBoxComponent } from './time-box.component';\nimport { FormsModule } from '@angular/forms';\nimport { IMaskModule } from 'angular-imask';\nimport { AXButtonModule } from '@acorex/components/button';\n\nconst COMPONENT = [AXTimeBoxComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXButtonModule,\n IMaskModule\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXTimeBoxModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAkBA;;;;AAIG;AACH,MAyBa,kBAAmB,SAAQ,kBAAkB,CAAA;AA8DZ,IAAA,GAAA,CAAA;AA5D5C,IAAA,KAAK,CAA+B;AAE5B,IAAA,SAAS,CAAO;AACxB,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAW,QAAQ,CAAC,CAAO,EAAA;AACzB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;KACpB;AAEO,IAAA,SAAS,CAAO;AACxB,IAAA,IACW,QAAQ,GAAA;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAW,QAAQ,CAAC,CAAO,EAAA;AACzB,QAAA,IAAI,CAAC,SAAS,GAAG,CAAC,CAAC;KACpB;AAGD,IAAA,YAAY,GAAG,IAAI,YAAY,EAAU,CAAC;IAElC,OAAO,GAAmB,OAAO,CAAC;AAC1C,IAAA,IACW,MAAM,GAAA;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;KACrB;IACD,IAAW,M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ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
64
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXToastComponent, selector: "ax-toast", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<span [class]=\"'ax-toast-icon' + ' ' + _icon\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"options.title && options.content\">{{ options.title }}</div>\n <div class=\"ax-toast-content\" [innerHTML]=\"options.content\"></div>\n <div class=\"ax-toast-buttons\" *ngIf=\"options?.buttons?.length\">\n <!-- <button (click)=\"_handleButtonClick(button)\">\n {{button.text}}\n </button> -->\n <ng-container *ngFor=\"let button of options.buttons\">\n <ax-button\n class=\"ax-sm\"\n [look]=\"button.look\"\n [color]=\"this.options.color\"\n [text]=\"button.text\"\n (onClick)=\"_handleButtonClick(button)\"></ax-button>\n </ng-container>\n </div>\n</div>\n<span class=\"ax-icon ax-icon-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></span>\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\"></div>\n", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-600));color:rgba(var(--ax-color-primary-fore));border-color:rgba(var(--ax-color-primary-600))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-600));color:rgba(var(--ax-color-secondary-fore));border-color:rgba(var(--ax-color-secondary-600))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-600));color:rgba(var(--ax-color-success-fore));border-color:rgba(var(--ax-color-success-600))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-600));color:rgba(var(--ax-color-warning-fore));border-color:rgba(var(--ax-color-warning-600))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-600));color:rgba(var(--ax-color-danger-fore));border-color:rgba(var(--ax-color-danger-600))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-600));color:rgba(var(--ax-color-info-fore));border-color:rgba(var(--ax-color-info-600))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{width:max(20vw,380px);display:flex;padding:.75rem 1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;background-color:rgba(var(--ax-color-surface));border-color:rgba(var(--ax-color-border-default));position:relative;overflow:hidden;box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-700))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-700))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-700))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-700))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-700))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-700))}@media (max-width: 599px){ax-toast{width:98vw}}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem}ax-toast .ax-toast-icon{padding-inline-end:.75rem}ax-toast .ax-toast-content{display:flex;flex-direction:column;flex:1}ax-toast .ax-toast-content .ax-toast-title{font-weight:500}ax-toast .ax-toast-content .ax-toast-title.ax-mb-2{margin-bottom:.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin:.75rem 0;display:flex;gap:.5rem}ax-toast .ax-icon-close{cursor:pointer;height:-moz-fit-content;height:fit-content}ax-toast .ax-icon-close:hover{opacity:.6}ax-toast .ax-toast-progress{position:absolute;right:0;left:0;bottom:0;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
63
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
64
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: AXToastComponent, selector: "ax-toast", host: { properties: { "class": "this.__hostClass" } }, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], usesInheritance: true, ngImport: i0, template: "<span [class]=\"'ax-toast-icon' + ' ' + _icon\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"options.title && options.content\">{{ options.title }}</div>\n <div class=\"ax-toast-content\" [innerHTML]=\"options.content\"></div>\n <div class=\"ax-toast-buttons\" *ngIf=\"options?.buttons?.length\">\n <!-- <button (click)=\"_handleButtonClick(button)\">\n {{button.text}}\n </button> -->\n <ng-container *ngFor=\"let button of options.buttons\">\n <ax-button\n class=\"ax-sm\"\n [look]=\"button.look\"\n [color]=\"this.options.color\"\n [text]=\"button.text\"\n (onClick)=\"_handleButtonClick(button)\"></ax-button>\n </ng-container>\n </div>\n</div>\n<span class=\"ax-icon ax-icon-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></span>\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\"></div>\n", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-600));color:rgba(var(--ax-color-primary-fore));border-color:rgba(var(--ax-color-primary-600))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-600));color:rgba(var(--ax-color-secondary-fore));border-color:rgba(var(--ax-color-secondary-600))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-600));color:rgba(var(--ax-color-success-fore));border-color:rgba(var(--ax-color-success-600))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-600));color:rgba(var(--ax-color-warning-fore));border-color:rgba(var(--ax-color-warning-600))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-600));color:rgba(var(--ax-color-danger-fore));border-color:rgba(var(--ax-color-danger-600))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-600));color:rgba(var(--ax-color-info-fore));border-color:rgba(var(--ax-color-info-600))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{width:max(20vw,380px);display:flex;padding:.75rem 1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;background-color:rgba(var(--ax-color-surface));border-color:rgba(var(--ax-color-border-default));position:relative;overflow:hidden;box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-700))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-700))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-700))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-700))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-700))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-700))}@media (max-width: 599px){ax-toast{width:98vw}}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem}ax-toast .ax-toast-icon{padding-inline-end:.75rem}ax-toast .ax-toast-content{display:flex;flex-direction:column;flex:1}ax-toast .ax-toast-content .ax-toast-title{font-weight:500}ax-toast .ax-toast-content .ax-toast-title.ax-mb-2{margin-bottom:.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin:.75rem 0;display:flex;gap:.5rem}ax-toast .ax-icon-close{cursor:pointer;height:-moz-fit-content;height:fit-content}ax-toast .ax-icon-close:hover{opacity:.6}ax-toast .ax-toast-progress{position:absolute;right:0;left:0;bottom:0;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
65
65
  }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastComponent, decorators: [{
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastComponent, decorators: [{
67
67
  type: Component,
68
68
  args: [{ selector: 'ax-toast', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [{ provide: AXClosbaleComponent, useExisting: AXToastComponent }], template: "<span [class]=\"'ax-toast-icon' + ' ' + _icon\"></span>\n<div class=\"ax-toast-content\">\n <div class=\"ax-toast-title\" [class.ax-mb-2]=\"options.title && options.content\">{{ options.title }}</div>\n <div class=\"ax-toast-content\" [innerHTML]=\"options.content\"></div>\n <div class=\"ax-toast-buttons\" *ngIf=\"options?.buttons?.length\">\n <!-- <button (click)=\"_handleButtonClick(button)\">\n {{button.text}}\n </button> -->\n <ng-container *ngFor=\"let button of options.buttons\">\n <ax-button\n class=\"ax-sm\"\n [look]=\"button.look\"\n [color]=\"this.options.color\"\n [text]=\"button.text\"\n (onClick)=\"_handleButtonClick(button)\"></ax-button>\n </ng-container>\n </div>\n</div>\n<span class=\"ax-icon ax-icon-close\" *ngIf=\"options.closeable\" (click)=\"close()\"></span>\n<div class=\"ax-toast-progress\" [style.animation-duration.ms]=\"options.timeOut\" *ngIf=\"options.timeOut\"></div>\n", styles: [".ax-dark ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-600));color:rgba(var(--ax-color-primary-fore));border-color:rgba(var(--ax-color-primary-600))}.ax-dark ax-toast.ax-primary .ax-toast-title{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary ax-button[class$=blank]{color:rgba(var(--ax-color-primary-fore))}.ax-dark ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-200))}.ax-dark ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-600));color:rgba(var(--ax-color-secondary-fore));border-color:rgba(var(--ax-color-secondary-600))}.ax-dark ax-toast.ax-secondary .ax-toast-title{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary ax-button[class$=blank]{color:rgba(var(--ax-color-secondary-fore))}.ax-dark ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-200))}.ax-dark ax-toast.ax-success{background-color:rgba(var(--ax-color-success-600));color:rgba(var(--ax-color-success-fore));border-color:rgba(var(--ax-color-success-600))}.ax-dark ax-toast.ax-success .ax-toast-title{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success ax-button[class$=blank]{color:rgba(var(--ax-color-success-fore))}.ax-dark ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-200))}.ax-dark ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-600));color:rgba(var(--ax-color-warning-fore));border-color:rgba(var(--ax-color-warning-600))}.ax-dark ax-toast.ax-warning .ax-toast-title{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning ax-button[class$=blank]{color:rgba(var(--ax-color-warning-fore))}.ax-dark ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-200))}.ax-dark ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-600));color:rgba(var(--ax-color-danger-fore));border-color:rgba(var(--ax-color-danger-600))}.ax-dark ax-toast.ax-danger .ax-toast-title{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger ax-button[class$=blank]{color:rgba(var(--ax-color-danger-fore))}.ax-dark ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-200))}.ax-dark ax-toast.ax-info{background-color:rgba(var(--ax-color-info-600));color:rgba(var(--ax-color-info-fore));border-color:rgba(var(--ax-color-info-600))}.ax-dark ax-toast.ax-info .ax-toast-title{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info ax-button[class$=blank]{color:rgba(var(--ax-color-info-fore))}.ax-dark ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-200))}ax-toast{width:max(20vw,380px);display:flex;padding:.75rem 1rem;border-radius:var(--ax-rounded-border-default);font-size:.875rem;background-color:rgba(var(--ax-color-surface));border-color:rgba(var(--ax-color-border-default));position:relative;overflow:hidden;box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}ax-toast.ax-primary{background-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-fore))}ax-toast.ax-primary .ax-toast-progress{background-color:rgba(var(--ax-color-primary-700))}ax-toast.ax-secondary{background-color:rgba(var(--ax-color-secondary-500));color:rgba(var(--ax-color-secondary-fore))}ax-toast.ax-secondary .ax-toast-progress{background-color:rgba(var(--ax-color-secondary-700))}ax-toast.ax-success{background-color:rgba(var(--ax-color-success-500));color:rgba(var(--ax-color-success-fore))}ax-toast.ax-success .ax-toast-progress{background-color:rgba(var(--ax-color-success-700))}ax-toast.ax-warning{background-color:rgba(var(--ax-color-warning-500));color:rgba(var(--ax-color-warning-fore))}ax-toast.ax-warning .ax-toast-progress{background-color:rgba(var(--ax-color-warning-700))}ax-toast.ax-danger{background-color:rgba(var(--ax-color-danger-500));color:rgba(var(--ax-color-danger-fore))}ax-toast.ax-danger .ax-toast-progress{background-color:rgba(var(--ax-color-danger-700))}ax-toast.ax-info{background-color:rgba(var(--ax-color-info-500));color:rgba(var(--ax-color-info-fore))}ax-toast.ax-info .ax-toast-progress{background-color:rgba(var(--ax-color-info-700))}@media (max-width: 599px){ax-toast{width:98vw}}ax-toast .ax-toast-icon,ax-toast .ax-icon-close{font-size:1.25rem}ax-toast .ax-toast-icon{padding-inline-end:.75rem}ax-toast .ax-toast-content{display:flex;flex-direction:column;flex:1}ax-toast .ax-toast-content .ax-toast-title{font-weight:500}ax-toast .ax-toast-content .ax-toast-title.ax-mb-2{margin-bottom:.5rem}ax-toast .ax-toast-content .ax-toast-buttons{margin:.75rem 0;display:flex;gap:.5rem}ax-toast .ax-icon-close{cursor:pointer;height:-moz-fit-content;height:fit-content}ax-toast .ax-icon-close:hover{opacity:.6}ax-toast .ax-toast-progress{position:absolute;right:0;left:0;bottom:0;height:.25rem;width:100%;animation-duration:4s;animation-timing-function:linear;animation-name:progressBar;background-color:rgba(var(--ax-color-border-default))}@keyframes progressBar{0%{width:100%}to{width:0%}}\n"] }]
69
69
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { __hostClass: [{
@@ -74,11 +74,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
74
74
  const COMPONENT = [AXToastComponent];
75
75
  const MODULES = [CommonModule, AXButtonModule];
76
76
  class AXToastModule {
77
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
79
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastModule, imports: [MODULES] });
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
78
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: AXToastModule, declarations: [AXToastComponent], imports: [CommonModule, AXButtonModule], exports: [AXToastComponent] });
79
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastModule, imports: [MODULES] });
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastModule, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastModule, decorators: [{
82
82
  type: NgModule,
83
83
  args: [{
84
84
  declarations: [...COMPONENT],
@@ -210,10 +210,10 @@ class AXToastService {
210
210
  return list[list.length - 1]._getHostElement().offsetTop + list[list.length - 1]._getHostElement().offsetHeight;
211
211
  }
212
212
  }
213
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
214
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastService, providedIn: 'root' });
213
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
214
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastService, providedIn: 'root' });
215
215
  }
216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXToastService, decorators: [{
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXToastService, decorators: [{
217
217
  type: Injectable,
218
218
  args: [{ providedIn: 'root' }]
219
219
  }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; } });
@@ -13,10 +13,10 @@ class AXTooltipComponent extends AXBaseComponentMixin {
13
13
  }
14
14
  text = '';
15
15
  position;
16
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
17
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div>\n</div>\n", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None });
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
17
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: AXTooltipComponent, selector: "ax-tooltip", inputs: { text: "text", position: "position" }, usesInheritance: true, ngImport: i0, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div>\n</div>\n", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"], encapsulation: i0.ViewEncapsulation.None });
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: 'ax-tooltip', encapsulation: ViewEncapsulation.None, template: "<div class=\"ax-tooltip-container\">\n <div class=\"ax-tooltip\">\n {{ text }}\n </div>\n <div class=\"ax-tooltip-tringle ax-tooltip-tringle-{{ position }}\"></div>\n</div>\n", styles: [".ax-dark .ax-tooltip-container{--ax-tooltip-background: 255, 255, 255;--ax-tooltip-color: 97, 97, 97}.ax-tooltip-container{position:relative;--ax-tooltip-background: 97, 97, 97;--ax-tooltip-color: 255, 255, 255}.ax-tooltip-container .ax-tooltip{display:block;padding:.25rem .5rem;background-color:rgba(var(--ax-tooltip-background));color:rgba(var(--ax-tooltip-color));border-radius:.25rem;font-size:.75rem;font-weight:400}\n"] }]
22
22
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
@@ -162,10 +162,10 @@ class AXTooltipDirective {
162
162
  this.overlayRef.detach();
163
163
  this.cdr.markForCheck();
164
164
  }
165
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1.Overlay }, { token: i1.OverlayPositionBuilder }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
166
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPosition", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, ngImport: i0 });
165
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipDirective, deps: [{ token: i1.Overlay }, { token: i1.OverlayPositionBuilder }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
166
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.1", type: AXTooltipDirective, selector: "[axTooltip]", inputs: { text: ["axTooltip", "text"], position: ["axTooltipPosition", "position"] }, host: { listeners: { "mouseenter": "show()", "mouseleave": "hide()" } }, ngImport: i0 });
167
167
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipDirective, decorators: [{
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipDirective, decorators: [{
169
169
  type: Directive,
170
170
  args: [{ selector: '[axTooltip]' }]
171
171
  }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i1.OverlayPositionBuilder }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { text: [{
@@ -185,11 +185,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
185
185
  const COMPONENT = [AXTooltipComponent, AXTooltipDirective];
186
186
  const MODULES = [CommonModule, OverlayModule];
187
187
  class AXTooltipModule {
188
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
189
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
190
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipModule, imports: [MODULES] });
188
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
189
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipModule, declarations: [AXTooltipComponent, AXTooltipDirective], imports: [CommonModule, OverlayModule], exports: [AXTooltipComponent, AXTooltipDirective] });
190
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipModule, imports: [MODULES] });
191
191
  }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTooltipModule, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTooltipModule, decorators: [{
193
193
  type: NgModule,
194
194
  args: [{
195
195
  declarations: [...COMPONENT],
@@ -98,10 +98,10 @@ class AXTreeViewComponent {
98
98
  ],
99
99
  },
100
100
  ];
101
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXTreeViewComponent, selector: "ax-tree-view", inputs: { showLines: "showLines" }, host: { classAttribute: "ax-tree-view" }, ngImport: i0, template: "<ul class=\"ax-list-{{showLines}}\">\n <ng-template #recursiveList let-list>\n <li *ngFor=\"let item of list\">\n <span>\n <ax-check-box></ax-check-box>\n \n <span>{{item.title}}</span>\n </span>\n <ul *ngIf=\"item.children.length > 0\">\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.children }\"></ng-container>\n </ul>\n </li>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\n </ul>", styles: [".ax-tree-view>ul li{font-size:.875rem;position:relative}.ax-tree-view>ul li span{@apply ax-flex ax-items-center ax-my-1;display:flex;align-items:center;margin:.25rem 0}.ax-tree-view>ul li ul{padding-inline-start:2rem}.ax-tree-view>ul.ax-list-all li ul{position:relative}.ax-tree-view>ul.ax-list-all li ul:before{content:\"\";width:1px;position:absolute;bottom:0;height:100%;inset-inline-start:.5rem;background-color:rgba(var(--ax-color-border-default))}.ax-tree-view>ul.ax-list-all li ul li:before{position:absolute;top:0;right:12px;bottom:-4px;margin-left:-1px;content:\" \"}.ax-tree-view>ul.ax-list-all li ul li:after{position:absolute;width:10px;height:14px;content:\" \"}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], encapsulation: i0.ViewEncapsulation.None });
101
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
102
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: AXTreeViewComponent, selector: "ax-tree-view", inputs: { showLines: "showLines" }, host: { classAttribute: "ax-tree-view" }, ngImport: i0, template: "<ul class=\"ax-list-{{showLines}}\">\n <ng-template #recursiveList let-list>\n <li *ngFor=\"let item of list\">\n <span>\n <ax-check-box></ax-check-box>\n \n <span>{{item.title}}</span>\n </span>\n <ul *ngIf=\"item.children.length > 0\">\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.children }\"></ng-container>\n </ul>\n </li>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\n </ul>", styles: [".ax-tree-view>ul li{font-size:.875rem;position:relative}.ax-tree-view>ul li span{@apply ax-flex ax-items-center ax-my-1;display:flex;align-items:center;margin:.25rem 0}.ax-tree-view>ul li ul{padding-inline-start:2rem}.ax-tree-view>ul.ax-list-all li ul{position:relative}.ax-tree-view>ul.ax-list-all li ul:before{content:\"\";width:1px;position:absolute;bottom:0;height:100%;inset-inline-start:.5rem;background-color:rgba(var(--ax-color-border-default))}.ax-tree-view>ul.ax-list-all li ul li:before{position:absolute;top:0;right:12px;bottom:-4px;margin-left:-1px;content:\" \"}.ax-tree-view>ul.ax-list-all li ul li:after{position:absolute;width:10px;height:14px;content:\" \"}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "allowNull", "value", "name", "checked"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }], encapsulation: i0.ViewEncapsulation.None });
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewComponent, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewComponent, decorators: [{
105
105
  type: Component,
106
106
  args: [{ selector: 'ax-tree-view', encapsulation: ViewEncapsulation.None, host: { class: 'ax-tree-view' }, template: "<ul class=\"ax-list-{{showLines}}\">\n <ng-template #recursiveList let-list>\n <li *ngFor=\"let item of list\">\n <span>\n <ax-check-box></ax-check-box>\n \n <span>{{item.title}}</span>\n </span>\n <ul *ngIf=\"item.children.length > 0\">\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: item.children }\"></ng-container>\n </ul>\n </li>\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context:{ $implicit: list }\"></ng-container>\n </ul>", styles: [".ax-tree-view>ul li{font-size:.875rem;position:relative}.ax-tree-view>ul li span{@apply ax-flex ax-items-center ax-my-1;display:flex;align-items:center;margin:.25rem 0}.ax-tree-view>ul li ul{padding-inline-start:2rem}.ax-tree-view>ul.ax-list-all li ul{position:relative}.ax-tree-view>ul.ax-list-all li ul:before{content:\"\";width:1px;position:absolute;bottom:0;height:100%;inset-inline-start:.5rem;background-color:rgba(var(--ax-color-border-default))}.ax-tree-view>ul.ax-list-all li ul li:before{position:absolute;top:0;right:12px;bottom:-4px;margin-left:-1px;content:\" \"}.ax-tree-view>ul.ax-list-all li ul li:after{position:absolute;width:10px;height:14px;content:\" \"}\n"] }]
107
107
  }], ctorParameters: function () { return []; }, propDecorators: { showLines: [{
@@ -109,11 +109,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
109
109
  }] } });
110
110
 
111
111
  class AXTreeViewModule {
112
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
113
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewModule, declarations: [AXTreeViewComponent], imports: [CommonModule, AXCheckBoxModule], exports: [AXTreeViewComponent] });
114
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewModule, imports: [CommonModule, AXCheckBoxModule] });
112
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
113
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewModule, declarations: [AXTreeViewComponent], imports: [CommonModule, AXCheckBoxModule], exports: [AXTreeViewComponent] });
114
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewModule, imports: [CommonModule, AXCheckBoxModule] });
115
115
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXTreeViewModule, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXTreeViewModule, decorators: [{
117
117
  type: NgModule,
118
118
  args: [{
119
119
  declarations: [AXTreeViewComponent],
@@ -76,10 +76,10 @@ class AXUploaderComponent extends AXBaseComponentMixin {
76
76
  get __defaultClass() {
77
77
  return !this._placeholder?.nativeElement.childNodes.length;
78
78
  }
79
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component });
80
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div #contentRef><ng-content></ng-content></div>\n</ng-container>\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\n browse</span></div>\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
79
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXFileService }], target: i0.ɵɵFactoryTarget.Component });
80
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.1", type: AXUploaderComponent, selector: "ax-uploader", inputs: { multiple: "multiple", accept: "accept" }, outputs: { onValueChanged: "onValueChanged" }, host: { listeners: { "click": "_handleClick($event)", "drop": "_handleDrop($event)" }, properties: { "class.ax-look-default": "this.__defaultClass" } }, viewQueries: [{ propertyName: "_placeholder", first: true, predicate: ["contentRef"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div #contentRef><ng-content></ng-content></div>\n</ng-container>\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\n browse</span></div>\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderComponent, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderComponent, decorators: [{
83
83
  type: Component,
84
84
  args: [{ selector: 'ax-uploader', encapsulation: ViewEncapsulation.None, template: "<ng-container>\n <div #contentRef><ng-content></ng-content></div>\n</ng-container>\n<ng-container *ngIf=\"contentRef.childNodes.length == 0\">\n <i class=\"ax-icon ax-icon-upload upload-icon\"></i>\n <div class=\"ax-uploader-hint\" *ngIf=\"_showText\">Drag your file here or, <span class=\"ax-text-primary-500\">click to\n browse</span></div>\n</ng-container>", styles: ["ax-uploader.ax-look-default{position:relative;width:100%;color:rgba(var(--ax-color-text-default));border-radius:var(--ax-rounded-border-default);border-width:2px;border-style:dashed;border-color:rgba(var(--ax-color-border-default));display:flex;align-items:center;justify-content:center;cursor:pointer;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-position:center;background-size:cover}ax-uploader.ax-look-default:hover,ax-uploader.ax-look-default.ax-state-hover{border-color:rgba(var(--ax-color-primary-500));color:rgba(var(--ax-color-primary-500))}ax-uploader.ax-look-default:before{content:\"\";padding-bottom:100%}ax-uploader.ax-look-default .upload-icon{font-size:3rem}ax-uploader.ax-look-default .ax-uploader-hint{padding:1rem;text-align:center}\n"] }]
85
85
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXFileService }]; }, propDecorators: { onValueChanged: [{
@@ -103,11 +103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
103
103
  }] } });
104
104
 
105
105
  class AXUploaderModule {
106
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
107
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] });
108
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] });
106
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
107
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderModule, declarations: [AXUploaderComponent], imports: [CommonModule, AXDecoratorModule], exports: [AXUploaderComponent] });
108
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderModule, imports: [CommonModule, AXDecoratorModule] });
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: AXUploaderModule, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.1", ngImport: i0, type: AXUploaderModule, decorators: [{
111
111
  type: NgModule,
112
112
  args: [{
113
113
  declarations: [AXUploaderComponent],
@@ -57,9 +57,9 @@ export declare function _BaseComponenetMixin<TBase extends Constructor<AXBaseCom
57
57
  /**
58
58
  * A token that specifies the layout direction of component.
59
59
  */
60
- "__#37855@#rtl": boolean;
60
+ "__#37857@#rtl": boolean;
61
61
  rtl: boolean;
62
- "__#37855@#elementRef": ElementRef<any>;
62
+ "__#37857@#elementRef": ElementRef<any>;
63
63
  _cdr: ChangeDetectorRef;
64
64
  _isInited: boolean;
65
65
  _isRendered: boolean;
@@ -6,8 +6,8 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
6
6
  new (...args: any[]): {
7
7
  textField: string;
8
8
  valueField: string;
9
- "__#37856@#isLoading": boolean;
10
- "__#37856@#loadedItems": any;
9
+ "__#37858@#isLoading": boolean;
10
+ "__#37858@#loadedItems": any;
11
11
  visibleField: string;
12
12
  disableField: string;
13
13
  hasChildField: string;
@@ -16,7 +16,7 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
16
16
  displayMode: 'horizontal' | 'vertical' | 'sidemenu';
17
17
  dividerField: string;
18
18
  onMenuItemClick: EventEmitter<AXItemClickEvent<any>>;
19
- "__#37856@#items": any;
19
+ "__#37858@#items": any;
20
20
  items: any;
21
21
  readonly displayItems: any;
22
22
  readonly isLoading: boolean;
@@ -27,9 +27,9 @@ export declare function _BaseMenuComponentMixin<TBase extends Constructor<AXBase
27
27
  _getItemDisplayTextTemplte(item: any): any;
28
28
  refresh(): void;
29
29
  id: string;
30
- "__#37855@#rtl": boolean;
30
+ "__#37857@#rtl": boolean;
31
31
  rtl: boolean;
32
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
32
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
33
33
  _cdr: import("@angular/core").ChangeDetectorRef;
34
34
  _isInited: boolean;
35
35
  _isRendered: boolean;
@@ -26,9 +26,9 @@ export declare function _ButtonComponentMixin<TBase extends Constructor<AXBaseCo
26
26
  'ax-state-selected': boolean;
27
27
  };
28
28
  id: string;
29
- "__#37855@#rtl": boolean;
29
+ "__#37857@#rtl": boolean;
30
30
  rtl: boolean;
31
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
31
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
32
32
  _cdr: import("@angular/core").ChangeDetectorRef;
33
33
  _isInited: boolean;
34
34
  _isRendered: boolean;
@@ -11,9 +11,9 @@ export declare function _ClickableComponenetMixin<TBase extends Constructor<AXBa
11
11
  onClick: EventEmitter<AXClickEvent>;
12
12
  _emitOnClickEvent(e: MouseEvent): void;
13
13
  id: string;
14
- "__#37855@#rtl": boolean;
14
+ "__#37857@#rtl": boolean;
15
15
  rtl: boolean;
16
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
16
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
17
17
  _cdr: import("@angular/core").ChangeDetectorRef;
18
18
  _isInited: boolean;
19
19
  _isRendered: boolean;
@@ -17,9 +17,9 @@ export declare function _ColorLookComponentMixin<TBase extends Constructor<AXBas
17
17
  */
18
18
  look: AXStyleLookType;
19
19
  id: string;
20
- "__#37855@#rtl": boolean;
20
+ "__#37857@#rtl": boolean;
21
21
  rtl: boolean;
22
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
22
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
23
23
  _cdr: import("@angular/core").ChangeDetectorRef;
24
24
  _isInited: boolean;
25
25
  _isRendered: boolean;
@@ -7,16 +7,16 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
7
7
  textField: string;
8
8
  childrenField: string;
9
9
  pageSize: number;
10
- "__#37857@#currentPage": number;
11
- "__#37857@#isLoading": boolean;
12
- "__#37857@#loadedItems": any[];
13
- "__#37857@#flatItems": any[];
14
- "__#37857@#totalItems": number;
15
- "__#37857@#isLazy": boolean;
10
+ "__#37859@#currentPage": number;
11
+ "__#37859@#isLoading": boolean;
12
+ "__#37859@#loadedItems": any[];
13
+ "__#37859@#flatItems": any[];
14
+ "__#37859@#totalItems": number;
15
+ "__#37859@#isLazy": boolean;
16
16
  readonly totalCount: number;
17
17
  readonly isLazy: boolean;
18
18
  readonly loadedCount: number;
19
- "__#37857@#items": AXDataListItems;
19
+ "__#37859@#items": AXDataListItems;
20
20
  items: AXDataListItems;
21
21
  readonly displayItems: any[];
22
22
  readonly flatItems: any[];
@@ -26,15 +26,15 @@ export declare function _DatalistComponenetMixin<TBase extends Constructor<AXBas
26
26
  searchQuery?: string;
27
27
  }): void;
28
28
  _onDataLoaded(): void;
29
- "__#37857@#generateFlatItems"(): void;
29
+ "__#37859@#generateFlatItems"(): void;
30
30
  _getItemDisplayTextTemplte(item: any): any;
31
31
  _trackByFunction(item: any): any;
32
32
  refresh(): void;
33
33
  empty(): void;
34
34
  id: string;
35
- "__#37855@#rtl": boolean;
35
+ "__#37857@#rtl": boolean;
36
36
  rtl: boolean;
37
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
37
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
38
38
  _cdr: import("@angular/core").ChangeDetectorRef;
39
39
  _isInited: boolean;
40
40
  _isRendered: boolean;
@@ -23,9 +23,9 @@ export declare function _DropdownComponenetMixin<TBase extends Constructor<AXBas
23
23
  open(): void;
24
24
  readonly isOpen: boolean;
25
25
  id: string;
26
- "__#37855@#rtl": boolean;
26
+ "__#37857@#rtl": boolean;
27
27
  rtl: boolean;
28
- "__#37855@#elementRef": import("@angular/core").ElementRef<any>;
28
+ "__#37857@#elementRef": import("@angular/core").ElementRef<any>;
29
29
  _cdr: import("@angular/core").ChangeDetectorRef;
30
30
  _isInited: boolean;
31
31
  _isRendered: boolean;