@acorex/components 7.0.12 → 7.0.14

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 (374) hide show
  1. package/alert/public-api.d.ts +0 -1
  2. package/alert/src/alert.component.d.ts +4 -3
  3. package/alert/src/alert.module.d.ts +3 -4
  4. package/avatar/src/avatar.component.d.ts +2 -1
  5. package/badge/src/badge.component.d.ts +2 -2
  6. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -6
  7. package/button/src/button-group.component.d.ts +6 -6
  8. package/button/src/button-item.component.d.ts +6 -6
  9. package/button/src/button.component.d.ts +1 -1
  10. package/card/index.d.ts +5 -0
  11. package/card/public-api.d.ts +2 -0
  12. package/card/src/card.component.d.ts +10 -0
  13. package/card/src/card.module.d.ts +8 -0
  14. package/color-picker/src/color-picker.component.d.ts +16 -16
  15. package/date-picker/src/datepicker.component.d.ts +14 -14
  16. package/decorators/src/icon.component.d.ts +1 -1
  17. package/esm2020/action-sheet/src/action-sheet.component.mjs +5 -5
  18. package/esm2020/action-sheet/src/action-sheet.module.mjs +4 -4
  19. package/esm2020/action-sheet/src/action-sheet.service.mjs +15 -10
  20. package/esm2020/alert/public-api.mjs +1 -2
  21. package/esm2020/alert/src/alert.component.mjs +11 -8
  22. package/esm2020/alert/src/alert.module.mjs +6 -7
  23. package/esm2020/avatar/src/avatar-group.component.mjs +3 -3
  24. package/esm2020/avatar/src/avatar.component.mjs +10 -7
  25. package/esm2020/avatar/src/avatar.module.mjs +4 -4
  26. package/esm2020/badge/src/badge.component.mjs +5 -6
  27. package/esm2020/badge/src/badge.module.mjs +4 -4
  28. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +3 -3
  29. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +3 -3
  30. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
  31. package/esm2020/button/src/button-group.component.mjs +3 -3
  32. package/esm2020/button/src/button-item.component.mjs +3 -3
  33. package/esm2020/button/src/button.component.mjs +6 -6
  34. package/esm2020/button/src/button.module.mjs +4 -4
  35. package/esm2020/calendar/src/calendar.class.mjs +3 -3
  36. package/esm2020/calendar/src/calendar.component.mjs +5 -5
  37. package/esm2020/calendar/src/calendar.module.mjs +4 -4
  38. package/esm2020/card/acorex-components-card.mjs +5 -0
  39. package/esm2020/card/public-api.mjs +3 -0
  40. package/esm2020/card/src/card.component.mjs +17 -0
  41. package/esm2020/card/src/card.module.mjs +19 -0
  42. package/esm2020/checkbox/src/checkbox.component.mjs +3 -3
  43. package/esm2020/checkbox/src/checkbox.module.mjs +4 -4
  44. package/esm2020/chips/src/chips.component.mjs +3 -3
  45. package/esm2020/chips/src/chips.module.mjs +4 -4
  46. package/esm2020/collapse/src/collapse-group.component.mjs +4 -6
  47. package/esm2020/collapse/src/collapse.component.mjs +3 -3
  48. package/esm2020/collapse/src/collapse.module.mjs +4 -4
  49. package/esm2020/color-palette/src/color-palette-input.component.mjs +3 -3
  50. package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
  51. package/esm2020/color-palette/src/color-palette-preview.component.mjs +3 -3
  52. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +3 -3
  53. package/esm2020/color-palette/src/color-palette.class.mjs +6 -6
  54. package/esm2020/color-palette/src/color-palette.component.mjs +5 -5
  55. package/esm2020/color-palette/src/color-palette.module.mjs +4 -4
  56. package/esm2020/color-picker/src/color-picker.component.mjs +3 -3
  57. package/esm2020/color-picker/src/color-picker.module.mjs +4 -4
  58. package/esm2020/common/src/classes/components.class.mjs +19 -21
  59. package/esm2020/common/src/common.module.mjs +4 -4
  60. package/esm2020/common/src/directives/auto-focus.directive.mjs +3 -3
  61. package/esm2020/common/src/directives/debounce-time.directive.mjs +3 -3
  62. package/esm2020/common/src/directives/hotkey.directive.mjs +3 -3
  63. package/esm2020/common/src/directives/infinite-scroll.directive.mjs +3 -3
  64. package/esm2020/common/src/directives/responsive.directive.mjs +3 -3
  65. package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +6 -6
  66. package/esm2020/common/src/services/hotkey.service.mjs +3 -3
  67. package/esm2020/common/src/services/overlay.service.mjs +5 -5
  68. package/esm2020/context-menu/src/context-menu.component.mjs +3 -3
  69. package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
  70. package/esm2020/data-pager/src/data-pager-base.component.mjs +6 -6
  71. package/esm2020/data-pager/src/data-pager-info.component.mjs +3 -3
  72. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +3 -3
  73. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +3 -3
  74. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +3 -3
  75. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +3 -3
  76. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +3 -3
  77. package/esm2020/data-pager/src/data-pager.component.mjs +3 -3
  78. package/esm2020/data-pager/src/data-pager.module.mjs +4 -4
  79. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +3 -3
  80. package/esm2020/data-table/src/data-column.directive.mjs +3 -3
  81. package/esm2020/data-table/src/data-table.component.mjs +3 -3
  82. package/esm2020/data-table/src/data-table.module.mjs +4 -4
  83. package/esm2020/date-picker/src/datepicker.component.mjs +6 -6
  84. package/esm2020/date-picker/src/datepicker.module.mjs +4 -4
  85. package/esm2020/decorators/src/close-button.component.mjs +3 -3
  86. package/esm2020/decorators/src/content.component.mjs +3 -3
  87. package/esm2020/decorators/src/decorators.module.mjs +4 -4
  88. package/esm2020/decorators/src/footer.component.mjs +3 -3
  89. package/esm2020/decorators/src/form-hint.component.mjs +3 -3
  90. package/esm2020/decorators/src/header.component.mjs +3 -3
  91. package/esm2020/decorators/src/icon.component.mjs +5 -5
  92. package/esm2020/decorators/src/overlay.component.mjs +3 -3
  93. package/esm2020/decorators/src/placeholder.component.mjs +3 -3
  94. package/esm2020/decorators/src/prefix.component.mjs +3 -3
  95. package/esm2020/decorators/src/sub-title.component.mjs +3 -3
  96. package/esm2020/decorators/src/suffix.component.mjs +3 -3
  97. package/esm2020/decorators/src/text.component.mjs +3 -3
  98. package/esm2020/decorators/src/title.component.mjs +5 -8
  99. package/esm2020/dialog/src/dialog.component.mjs +4 -4
  100. package/esm2020/dialog/src/dialog.module.mjs +4 -4
  101. package/esm2020/dialog/src/dialog.service.mjs +3 -3
  102. package/esm2020/drawer/src/drawer-container.component.mjs +3 -3
  103. package/esm2020/drawer/src/drawer.component.mjs +3 -3
  104. package/esm2020/drawer/src/drawer.module.mjs +4 -4
  105. package/esm2020/dropdown/src/dropdown-panel.component.mjs +3 -3
  106. package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
  107. package/esm2020/form/src/form-field.component.mjs +4 -4
  108. package/esm2020/form/src/form.component.mjs +3 -3
  109. package/esm2020/form/src/form.module.mjs +4 -4
  110. package/esm2020/form/src/validation-rule.widget.mjs +3 -3
  111. package/esm2020/form/src/validation-summary.component.mjs +3 -3
  112. package/esm2020/image/src/image.component.mjs +3 -3
  113. package/esm2020/image/src/image.module.mjs +4 -4
  114. package/esm2020/label/src/label.component.mjs +3 -3
  115. package/esm2020/label/src/label.module.mjs +4 -4
  116. package/esm2020/loading/src/loading-spinner.component.mjs +3 -3
  117. package/esm2020/loading/src/loading.component.mjs +3 -3
  118. package/esm2020/loading/src/loading.directive.mjs +3 -3
  119. package/esm2020/loading/src/loading.module.mjs +4 -4
  120. package/esm2020/loading/src/loading.service.mjs +3 -3
  121. package/esm2020/menu/src/menu.component.mjs +8 -6
  122. package/esm2020/menu/src/menu.module.mjs +4 -4
  123. package/esm2020/mixin/src/base-components.class.mjs +3 -3
  124. package/esm2020/mixin/src/base-menu-mixin.class.mjs +2 -2
  125. package/esm2020/mixin/src/color-look-mixing.class.mjs +1 -1
  126. package/esm2020/notification/src/notification.class.mjs +1 -1
  127. package/esm2020/notification/src/notification.component.mjs +33 -9
  128. package/esm2020/notification/src/notification.module.mjs +8 -6
  129. package/esm2020/notification/src/notification.service.mjs +22 -51
  130. package/esm2020/number-box/src/number-box.component.mjs +3 -3
  131. package/esm2020/number-box/src/number-box.module.mjs +4 -4
  132. package/esm2020/page/src/base-page.class.mjs +3 -3
  133. package/esm2020/page/src/page.component.mjs +3 -3
  134. package/esm2020/page/src/page.module.mjs +4 -4
  135. package/esm2020/password-box/src/password-box.component.mjs +3 -3
  136. package/esm2020/password-box/src/password-box.module.mjs +4 -4
  137. package/esm2020/picker/acorex-components-picker.mjs +5 -0
  138. package/esm2020/picker/public-api.mjs +3 -0
  139. package/esm2020/picker/src/picker.component.mjs +37 -0
  140. package/esm2020/picker/src/picker.module.mjs +36 -0
  141. package/esm2020/popover/src/popover.component.mjs +23 -14
  142. package/esm2020/popover/src/popover.module.mjs +4 -4
  143. package/esm2020/popup/src/popup.component.mjs +3 -3
  144. package/esm2020/popup/src/popup.module.mjs +4 -4
  145. package/esm2020/popup/src/popup.service.mjs +3 -3
  146. package/esm2020/progress-bar/src/progress-bar.component.mjs +3 -3
  147. package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
  148. package/esm2020/radio/src/radio.component.mjs +3 -3
  149. package/esm2020/radio/src/radio.module.mjs +4 -4
  150. package/esm2020/range-slider/src/range-slider.component.mjs +3 -3
  151. package/esm2020/range-slider/src/range-slider.module.mjs +4 -4
  152. package/esm2020/rating/src/rating.component.mjs +3 -3
  153. package/esm2020/rating/src/rating.component.module.mjs +4 -4
  154. package/esm2020/result/src/result.component.mjs +3 -3
  155. package/esm2020/result/src/result.module.mjs +4 -4
  156. package/esm2020/search-box/src/search-box.component.mjs +3 -3
  157. package/esm2020/search-box/src/search-box.module.mjs +4 -4
  158. package/esm2020/select-box/src/selectbox.component.mjs +15 -16
  159. package/esm2020/select-box/src/selectbox.module.mjs +4 -4
  160. package/esm2020/selection-list/src/selection-list.component.mjs +3 -3
  161. package/esm2020/selection-list/src/selection-list.module.mjs +4 -4
  162. package/esm2020/switch/public-api.mjs +2 -1
  163. package/esm2020/switch/src/switch-content.component.mjs +16 -0
  164. package/esm2020/switch/src/switch.component.mjs +18 -7
  165. package/esm2020/switch/src/switch.module.mjs +8 -7
  166. package/esm2020/tabs/src/tab-content.directive.mjs +3 -3
  167. package/esm2020/tabs/src/tab-item.component.mjs +3 -3
  168. package/esm2020/tabs/src/tabs.component.mjs +5 -5
  169. package/esm2020/tabs/src/tabs.module.mjs +4 -4
  170. package/esm2020/tag/src/tag.component.mjs +3 -3
  171. package/esm2020/tag/src/tag.module.mjs +4 -4
  172. package/esm2020/textarea/src/textarea.component.mjs +3 -3
  173. package/esm2020/textarea/src/textarea.module.mjs +4 -4
  174. package/esm2020/textbox/src/mask-options.directive.mjs +3 -3
  175. package/esm2020/textbox/src/textbox.component.mjs +3 -3
  176. package/esm2020/textbox/src/textbox.module.mjs +4 -4
  177. package/esm2020/time-box/src/time-box.component.mjs +3 -3
  178. package/esm2020/time-box/src/time-box.module.mjs +4 -4
  179. package/esm2020/toast/src/toast.class.mjs +1 -1
  180. package/esm2020/toast/src/toast.component.mjs +5 -5
  181. package/esm2020/toast/src/toast.module.mjs +4 -4
  182. package/esm2020/toast/src/toast.service.mjs +4 -6
  183. package/esm2020/tooltip/src/tooltip.component.mjs +3 -3
  184. package/esm2020/tooltip/src/tooltip.directive.mjs +3 -3
  185. package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
  186. package/esm2020/tree-view/src/tree-view.component.mjs +3 -3
  187. package/esm2020/tree-view/src/tree-view.module.mjs +4 -4
  188. package/esm2020/uploader/src/uploader.component.mjs +3 -3
  189. package/esm2020/uploader/src/uploader.module.mjs +4 -4
  190. package/fesm2015/acorex-components-action-sheet.mjs +21 -17
  191. package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
  192. package/fesm2015/acorex-components-alert.mjs +18 -33
  193. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  194. package/fesm2015/acorex-components-avatar.mjs +16 -14
  195. package/fesm2015/acorex-components-avatar.mjs.map +1 -1
  196. package/fesm2015/acorex-components-badge.mjs +8 -10
  197. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  198. package/fesm2015/acorex-components-breadcrumbs.mjs +10 -11
  199. package/fesm2015/acorex-components-button.mjs +15 -15
  200. package/fesm2015/acorex-components-button.mjs.map +1 -1
  201. package/fesm2015/acorex-components-calendar.mjs +11 -12
  202. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  203. package/fesm2015/acorex-components-card.mjs +40 -0
  204. package/fesm2015/acorex-components-card.mjs.map +1 -0
  205. package/fesm2015/acorex-components-checkbox.mjs +7 -8
  206. package/fesm2015/acorex-components-chips.mjs +7 -8
  207. package/fesm2015/acorex-components-collapse.mjs +10 -13
  208. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  209. package/fesm2015/acorex-components-color-palette.mjs +27 -28
  210. package/fesm2015/acorex-components-color-picker.mjs +7 -8
  211. package/fesm2015/acorex-components-common.mjs +50 -53
  212. package/fesm2015/acorex-components-common.mjs.map +1 -1
  213. package/fesm2015/acorex-components-context-menu.mjs +7 -8
  214. package/fesm2015/acorex-components-data-pager.mjs +31 -32
  215. package/fesm2015/acorex-components-data-table.mjs +13 -14
  216. package/fesm2015/acorex-components-date-picker.mjs +9 -10
  217. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  218. package/fesm2015/acorex-components-decorators.mjs +45 -48
  219. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  220. package/fesm2015/acorex-components-dialog.mjs +11 -11
  221. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  222. package/fesm2015/acorex-components-drawer.mjs +10 -11
  223. package/fesm2015/acorex-components-dropdown.mjs +7 -8
  224. package/fesm2015/acorex-components-form.mjs +17 -18
  225. package/fesm2015/acorex-components-form.mjs.map +1 -1
  226. package/fesm2015/acorex-components-image.mjs +7 -8
  227. package/fesm2015/acorex-components-label.mjs +7 -8
  228. package/fesm2015/acorex-components-loading.mjs +16 -17
  229. package/fesm2015/acorex-components-menu.mjs +11 -10
  230. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  231. package/fesm2015/acorex-components-mixin.mjs +4 -5
  232. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  233. package/fesm2015/acorex-components-notification.mjs +59 -64
  234. package/fesm2015/acorex-components-notification.mjs.map +1 -1
  235. package/fesm2015/acorex-components-number-box.mjs +7 -8
  236. package/fesm2015/acorex-components-page.mjs +10 -11
  237. package/fesm2015/acorex-components-password-box.mjs +7 -8
  238. package/fesm2015/acorex-components-picker.mjs +77 -0
  239. package/fesm2015/acorex-components-picker.mjs.map +1 -0
  240. package/fesm2015/acorex-components-popover.mjs +26 -18
  241. package/fesm2015/acorex-components-popover.mjs.map +1 -1
  242. package/fesm2015/acorex-components-popup.mjs +10 -11
  243. package/fesm2015/acorex-components-progress-bar.mjs +7 -8
  244. package/fesm2015/acorex-components-radio.mjs +7 -8
  245. package/fesm2015/acorex-components-range-slider.mjs +7 -8
  246. package/fesm2015/acorex-components-rating.mjs +7 -8
  247. package/fesm2015/acorex-components-result.mjs +7 -8
  248. package/fesm2015/acorex-components-search-box.mjs +7 -8
  249. package/fesm2015/acorex-components-select-box.mjs +19 -20
  250. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  251. package/fesm2015/acorex-components-selection-list.mjs +7 -8
  252. package/fesm2015/acorex-components-switch.mjs +39 -15
  253. package/fesm2015/acorex-components-switch.mjs.map +1 -1
  254. package/fesm2015/acorex-components-tabs.mjs +15 -16
  255. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  256. package/fesm2015/acorex-components-tag.mjs +7 -8
  257. package/fesm2015/acorex-components-textarea.mjs +7 -8
  258. package/fesm2015/acorex-components-textbox.mjs +10 -11
  259. package/fesm2015/acorex-components-time-box.mjs +7 -8
  260. package/fesm2015/acorex-components-toast.mjs +11 -13
  261. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  262. package/fesm2015/acorex-components-tooltip.mjs +10 -11
  263. package/fesm2015/acorex-components-tree-view.mjs +7 -8
  264. package/fesm2015/acorex-components-uploader.mjs +7 -8
  265. package/fesm2015/acorex-components.mjs +0 -1
  266. package/fesm2020/acorex-components-action-sheet.mjs +21 -17
  267. package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
  268. package/fesm2020/acorex-components-alert.mjs +18 -33
  269. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  270. package/fesm2020/acorex-components-avatar.mjs +16 -14
  271. package/fesm2020/acorex-components-avatar.mjs.map +1 -1
  272. package/fesm2020/acorex-components-badge.mjs +8 -10
  273. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  274. package/fesm2020/acorex-components-breadcrumbs.mjs +10 -11
  275. package/fesm2020/acorex-components-button.mjs +15 -15
  276. package/fesm2020/acorex-components-button.mjs.map +1 -1
  277. package/fesm2020/acorex-components-calendar.mjs +11 -12
  278. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  279. package/fesm2020/acorex-components-card.mjs +40 -0
  280. package/fesm2020/acorex-components-card.mjs.map +1 -0
  281. package/fesm2020/acorex-components-checkbox.mjs +7 -8
  282. package/fesm2020/acorex-components-chips.mjs +7 -8
  283. package/fesm2020/acorex-components-collapse.mjs +10 -13
  284. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  285. package/fesm2020/acorex-components-color-palette.mjs +27 -28
  286. package/fesm2020/acorex-components-color-picker.mjs +7 -8
  287. package/fesm2020/acorex-components-common.mjs +50 -53
  288. package/fesm2020/acorex-components-common.mjs.map +1 -1
  289. package/fesm2020/acorex-components-context-menu.mjs +7 -8
  290. package/fesm2020/acorex-components-data-pager.mjs +31 -32
  291. package/fesm2020/acorex-components-data-table.mjs +13 -14
  292. package/fesm2020/acorex-components-date-picker.mjs +9 -10
  293. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  294. package/fesm2020/acorex-components-decorators.mjs +45 -48
  295. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  296. package/fesm2020/acorex-components-dialog.mjs +11 -11
  297. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  298. package/fesm2020/acorex-components-drawer.mjs +10 -11
  299. package/fesm2020/acorex-components-dropdown.mjs +7 -8
  300. package/fesm2020/acorex-components-form.mjs +17 -18
  301. package/fesm2020/acorex-components-form.mjs.map +1 -1
  302. package/fesm2020/acorex-components-image.mjs +7 -8
  303. package/fesm2020/acorex-components-label.mjs +7 -8
  304. package/fesm2020/acorex-components-loading.mjs +16 -17
  305. package/fesm2020/acorex-components-menu.mjs +11 -10
  306. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  307. package/fesm2020/acorex-components-mixin.mjs +4 -5
  308. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  309. package/fesm2020/acorex-components-notification.mjs +59 -64
  310. package/fesm2020/acorex-components-notification.mjs.map +1 -1
  311. package/fesm2020/acorex-components-number-box.mjs +7 -8
  312. package/fesm2020/acorex-components-page.mjs +10 -11
  313. package/fesm2020/acorex-components-password-box.mjs +7 -8
  314. package/fesm2020/acorex-components-picker.mjs +77 -0
  315. package/fesm2020/acorex-components-picker.mjs.map +1 -0
  316. package/fesm2020/acorex-components-popover.mjs +26 -18
  317. package/fesm2020/acorex-components-popover.mjs.map +1 -1
  318. package/fesm2020/acorex-components-popup.mjs +10 -11
  319. package/fesm2020/acorex-components-progress-bar.mjs +7 -8
  320. package/fesm2020/acorex-components-radio.mjs +7 -8
  321. package/fesm2020/acorex-components-range-slider.mjs +7 -8
  322. package/fesm2020/acorex-components-rating.mjs +7 -8
  323. package/fesm2020/acorex-components-result.mjs +7 -8
  324. package/fesm2020/acorex-components-search-box.mjs +7 -8
  325. package/fesm2020/acorex-components-select-box.mjs +18 -20
  326. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  327. package/fesm2020/acorex-components-selection-list.mjs +7 -8
  328. package/fesm2020/acorex-components-switch.mjs +39 -15
  329. package/fesm2020/acorex-components-switch.mjs.map +1 -1
  330. package/fesm2020/acorex-components-tabs.mjs +15 -16
  331. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  332. package/fesm2020/acorex-components-tag.mjs +7 -8
  333. package/fesm2020/acorex-components-textarea.mjs +7 -8
  334. package/fesm2020/acorex-components-textbox.mjs +10 -11
  335. package/fesm2020/acorex-components-time-box.mjs +7 -8
  336. package/fesm2020/acorex-components-toast.mjs +11 -13
  337. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  338. package/fesm2020/acorex-components-tooltip.mjs +10 -11
  339. package/fesm2020/acorex-components-tree-view.mjs +7 -8
  340. package/fesm2020/acorex-components-uploader.mjs +7 -8
  341. package/fesm2020/acorex-components.mjs +0 -1
  342. package/mixin/src/base-components.class.d.ts +2 -2
  343. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  344. package/mixin/src/button-mixin.class.d.ts +2 -2
  345. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  346. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  347. package/mixin/src/datalist-component.class.d.ts +10 -10
  348. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  349. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  350. package/mixin/src/loading-mixin.class.d.ts +2 -2
  351. package/mixin/src/mixin.class.d.ts +61 -61
  352. package/mixin/src/page-component.class.d.ts +2 -2
  353. package/mixin/src/selection-component.class.d.ts +2 -2
  354. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  355. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  356. package/mixin/src/value-mixin.class.d.ts +8 -8
  357. package/notification/src/notification.class.d.ts +3 -1
  358. package/notification/src/notification.component.d.ts +8 -3
  359. package/notification/src/notification.module.d.ts +3 -1
  360. package/notification/src/notification.service.d.ts +0 -5
  361. package/package.json +18 -2
  362. package/picker/index.d.ts +5 -0
  363. package/picker/public-api.d.ts +2 -0
  364. package/picker/src/picker.component.d.ts +12 -0
  365. package/picker/src/picker.module.d.ts +13 -0
  366. package/select-box/src/selectbox.component.d.ts +1 -1
  367. package/switch/public-api.d.ts +1 -0
  368. package/switch/src/switch-content.component.d.ts +8 -0
  369. package/switch/src/switch.component.d.ts +2 -1
  370. package/switch/src/switch.module.d.ts +5 -4
  371. package/tabs/src/tab-item.component.d.ts +2 -2
  372. package/toast/src/toast.class.d.ts +1 -2
  373. package/alert/src/alert-button.directive.d.ts +0 -8
  374. package/esm2020/alert/src/alert-button.directive.mjs +0 -19
@@ -23,9 +23,9 @@ class AXDataColumnComponent {
23
23
  return this._inputCellTemplate || this._contentCellTemplate || this._defaultTemplate;
24
24
  }
25
25
  }
26
- AXDataColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AXDataColumnComponent, selector: "ax-data-column", inputs: { _inputHeaderTemplate: ["headerTemplate", "_inputHeaderTemplate"], _inputCellTemplate: ["cellTemplate", "_inputCellTemplate"], valueField: "valueField", caption: "caption", width: "width" }, queries: [{ propertyName: "_contentHeaderTemplate", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "_defaultTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "_contentCellTemplate", first: true, predicate: ["cell"], descendants: true, static: true }], ngImport: i0 });
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnComponent, decorators: [{
26
+ AXDataColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
+ AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXDataColumnComponent, selector: "ax-data-column", inputs: { _inputHeaderTemplate: ["headerTemplate", "_inputHeaderTemplate"], _inputCellTemplate: ["cellTemplate", "_inputCellTemplate"], valueField: "valueField", caption: "caption", width: "width" }, queries: [{ propertyName: "_contentHeaderTemplate", first: true, predicate: ["header"], descendants: true, static: true }, { propertyName: "_defaultTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "_contentCellTemplate", first: true, predicate: ["cell"], descendants: true, static: true }], ngImport: i0 });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnComponent, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: 'ax-data-column',
@@ -159,9 +159,9 @@ class AXDataTableComponent extends AXBaseComponentMixin {
159
159
  this._fetchData();
160
160
  }
161
161
  }
162
- AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
163
- AXDataTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDataTableComponent, selector: "ax-data-table", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", pageSize: "pageSize", fetchDataMode: "fetchDataMode", items: "items" }, outputs: { onPageChanged: "onPageChanged" }, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], queries: [{ propertyName: "_columns", predicate: AXDataColumnComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\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.AXResultComponent, selector: "ax-result", inputs: ["type", "caption", "description"] }, { kind: "directive", type: i3.AXLoadingDirective, selector: "[axIsLoading]", inputs: ["axIsLoading"] }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "trans" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableComponent, decorators: [{
162
+ AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
163
+ AXDataTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDataTableComponent, selector: "ax-data-table", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", pageSize: "pageSize", fetchDataMode: "fetchDataMode", items: "items" }, outputs: { onPageChanged: "onPageChanged" }, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], queries: [{ propertyName: "_columns", predicate: AXDataColumnComponent }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\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.AXResultComponent, selector: "ax-result", inputs: ["type", "caption", "description"] }, { kind: "directive", type: i3.AXLoadingDirective, selector: "[axIsLoading]", inputs: ["axIsLoading"] }, { kind: "pipe", type: i4.AXTranslatorPipe, name: "trans" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableComponent, decorators: [{
165
165
  type: Component,
166
166
  args: [{ selector: 'ax-data-table', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }], template: "<ng-content select=\"ax-header\">\r\n</ng-content>\r\n<div class=\"ax-wrapper\">\r\n<table class=\"ax-table ax-table-bordered\" tabindex=\"0\" [axIsLoading]=\"_isLoading\">\r\n <thead *ngIf=\"showHeader\">\r\n <tr>\r\n <th *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #captionTpl>\r\n {{c.caption}}\r\n </ng-template>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\r\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\r\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\r\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #rowTpl>\r\n <tr>\r\n <ng-container *ngFor=\"let c of _columns\">\r\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\r\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\r\n </ng-container>\r\n </ng-template>\r\n <ng-template #cellTpl>\r\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\r\n {{d[c.valueField]}}\r\n </td>\r\n </ng-template>\r\n </ng-container>\r\n </tr>\r\n </ng-template>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #emptyTpl>\r\n <tr>\r\n <td [attr.colspan]=\"_columns.length\">\r\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\r\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\r\n </ng-template>\r\n <ng-template #defaultEmptyTemplate>\r\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\r\n </ng-template>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n </tbody>\r\n </table>\r\n</div>\r\n<ng-content select=\"ax-footer\">\r\n</ng-content>", styles: ["ax-data-table{display:flex;flex-direction:column;border-radius:var(--ax-rounded-border-default);border:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table .ax-wrapper{display:flex;flex:1 1 0%;overflow:auto}ax-data-table>ax-header{border-bottom:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table>ax-footer{border-top:1px solid;border-color:rgb(var(--ax-color-border-default))}ax-data-table table{position:relative;border:0}ax-data-table table thead{position:sticky;top:0}ax-data-table table td,ax-data-table table th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
167
167
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _columns: [{
@@ -188,9 +188,9 @@ class AXDataColumnCellTemplateDirective {
188
188
  return this._contentTemplate;
189
189
  }
190
190
  }
191
- AXDataColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
192
- AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
191
+ AXDataColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
192
+ AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.4", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 });
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
194
194
  type: Directive,
195
195
  args: [{ selector: 'ax-data-column-cell-template' }]
196
196
  }], propDecorators: { _contentTemplate: [{
@@ -202,10 +202,10 @@ const COMPONENT = [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCell
202
202
  const MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule];
203
203
  class AXDataTableModule {
204
204
  }
205
- AXDataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
- AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, declarations: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective], imports: [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule], exports: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective] });
207
- AXDataTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDataTableModule, decorators: [{
205
+ AXDataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
+ AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, declarations: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective], imports: [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule], exports: [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective] });
207
+ AXDataTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDataTableModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  declarations: [...COMPONENT],
@@ -221,4 +221,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
221
221
 
222
222
  export { AXDataColumnCellTemplateDirective, AXDataColumnComponent, AXDataTableComponent, AXDataTableModule };
223
223
  //# sourceMappingURL=acorex-components-data-table.mjs.map
224
- //# sourceMappingURL=acorex-components-data-table.mjs.map
@@ -186,11 +186,11 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
186
186
  input.setSelectionRange(start, end);
187
187
  }
188
188
  }
189
- AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
190
- AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { rtl: "rtl", isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [
189
+ AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
190
+ AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDatePickerComponent, selector: "ax-date-picker", inputs: { rtl: "rtl", isOpen: "isOpen", fitParent: "fitParent", dropdownWidth: "dropdownWidth", position: "position", disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked", placeholder: "placeholder", maxLength: "maxLength", type: "type", autoComplete: "autoComplete", depth: "depth", activeView: "activeView", min: "min", max: "max", disabledDates: "disabledDates", holidayDates: "holidayDates", format: "format", interface: "interface" }, outputs: { onOpened: "onOpened", onClosed: "onClosed", onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged", depthChange: "depthChange", typeChange: "typeChange", disabledDatesChange: "disabledDatesChange", holidayDatesChange: "holidayDatesChange", onNavigate: "onNavigate", formatChange: "formatChange" }, host: { classAttribute: "ax-editor-container ax-drop-down" }, providers: [
191
191
  { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },
192
- ], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<button [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\" [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n </div>\r\n</ax-popover>", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.AXCalendarComponent, selector: "ax-calendar", inputs: ["rtl", "readonly", "allowNull", "value", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates", "interface"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }, { kind: "component", type: i4.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i5.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i5.AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { kind: "component", type: i5.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "directive", type: i6.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
193
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDatePickerComponent, decorators: [{
192
+ ], viewQueries: [{ propertyName: "popover", first: true, predicate: AXPopoverComponent, descendants: true, static: true }, { propertyName: "_calendar", first: true, predicate: AXCalendarComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-content select=\"ax-prefix\"> </ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input\r\n class=\"ax-input\"\r\n type=\"text\"\r\n [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\"\r\n [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\" />\r\n</div>\r\n<button\r\n [disabled]=\"disabled\"\r\n [tabIndex]=\"-1\"\r\n class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\"> </ng-content>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n<ax-popover\r\n [target]=\"_target\"\r\n [position]=\"position\"\r\n [openTrigger]=\"'manual'\"\r\n [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\">\r\n <ax-title>\r\n {{ placeholder || 'Choose a date' }}\r\n </ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container\r\n *ngIf=\"\r\n interface === 'calendar';\r\n then calendarTemplate;\r\n else pickerTemplate\r\n \"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar\r\n #calendar\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [(value)]=\"value\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate> </ng-template>\r\n </div>\r\n</ax-popover>\r\n", dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.AXCalendarComponent, selector: "ax-calendar", inputs: ["rtl", "readonly", "allowNull", "value", "name", "checked", "disabled", "tabIndex", "depth", "activeView", "min", "max", "disabledDates", "type", "holidayDates", "interface"], outputs: ["valueChange", "onValueChanged", "onBlur", "onFocus", "depthChange", "typeChange", "disabledDatesChange", "holidayDatesChange", "onNavigate"] }, { kind: "component", type: i4.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i5.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i5.AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { kind: "component", type: i5.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "directive", type: i6.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDatePickerComponent, decorators: [{
194
194
  type: Component,
195
195
  args: [{ selector: 'ax-date-picker', inputs: [
196
196
  'rtl',
@@ -238,7 +238,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
238
238
  'onNavigate',
239
239
  ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
240
240
  { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },
241
- ], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<button [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\" [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n </div>\r\n</ax-popover>" }]
241
+ ], host: { class: 'ax-editor-container ax-drop-down' }, template: "<ng-content select=\"ax-prefix\"> </ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input\r\n class=\"ax-input\"\r\n type=\"text\"\r\n [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\"\r\n [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\" />\r\n</div>\r\n<button\r\n [disabled]=\"disabled\"\r\n [tabIndex]=\"-1\"\r\n class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\"> </ng-content>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n<ax-popover\r\n [target]=\"_target\"\r\n [position]=\"position\"\r\n [openTrigger]=\"'manual'\"\r\n [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\">\r\n <ax-title>\r\n {{ placeholder || 'Choose a date' }}\r\n </ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container\r\n *ngIf=\"\r\n interface === 'calendar';\r\n then calendarTemplate;\r\n else pickerTemplate\r\n \"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar\r\n #calendar\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [(value)]=\"value\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate> </ng-template>\r\n </div>\r\n</ax-popover>\r\n" }]
242
242
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXPlatform }]; }, propDecorators: { popover: [{
243
243
  type: ViewChild,
244
244
  args: [AXPopoverComponent, { static: true }]
@@ -268,8 +268,8 @@ const MODULES = [
268
268
  ];
269
269
  class AXDatepickerModule {
270
270
  }
271
- AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
- AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
271
+ AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
+ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
273
273
  AXCalendarModule,
274
274
  AXTextBoxModule,
275
275
  AXButtonModule,
@@ -277,8 +277,8 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
277
277
  AXDecoratorModule,
278
278
  AXDateTimeModule,
279
279
  FormsModule], exports: [AXDatePickerComponent] });
280
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDatepickerModule, imports: [MODULES] });
281
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDatepickerModule, decorators: [{
280
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDatepickerModule, imports: [MODULES] });
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDatepickerModule, decorators: [{
282
282
  type: NgModule,
283
283
  args: [{
284
284
  declarations: [...COMPONENT],
@@ -294,4 +294,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
294
294
 
295
295
  export { AXBaseDatePickerMixin, AXDatePickerComponent, AXDatepickerModule };
296
296
  //# sourceMappingURL=acorex-components-date-picker.mjs.map
297
- //# sourceMappingURL=acorex-components-date-picker.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-date-picker.mjs","sources":["../../../../projects/acorex/components/date-picker/src/datepicker.component.ts","../../../../projects/acorex/components/date-picker/src/datepicker.component.html","../../../../projects/acorex/components/date-picker/src/datepicker.module.ts","../../../../projects/acorex/components/date-picker/acorex-components-date-picker.ts"],"sourcesContent":["import { AXStringUtil } from '@acorex/core/utils';\r\nimport { AXPlatform } from '@acorex/core/platform';\r\nimport { AXTranslator } from '@acorex/core/translation';\r\nimport { AXDateTime } from '@acorex/core/dateTime';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ViewChild,\r\n Input,\r\n EventEmitter,\r\n Output,\r\n} from '@angular/core';\r\nimport { AXClickEvent, AXClosbaleComponent } from '@acorex/components/common';\r\n\r\nimport {\r\n AXCalendarComponent,\r\n AXCalendarBaseComponent,\r\n AXCalendarNavigateEvent,\r\n} from '@acorex/components/calendar';\r\nimport { AXPopoverComponent } from '@acorex/components/popover';\r\nimport {\r\n AXComponentOptionChanged,\r\n _DropdownComponenetMixin,\r\n _InteractiveComponenetMixin,\r\n _ValueComponenetMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseDatePickerMixin = _InteractiveComponenetMixin(\r\n _DropdownComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent))\r\n);\r\n\r\n@Component({\r\n selector: 'ax-date-picker',\r\n templateUrl: './datepicker.component.html',\r\n inputs: [\r\n 'rtl',\r\n 'isOpen',\r\n 'fitParent',\r\n 'dropdownWidth',\r\n 'position',\r\n 'disabled',\r\n 'tabIndex',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'placeholder',\r\n 'maxLength',\r\n 'allowNull',\r\n 'type',\r\n 'autoComplete',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n ],\r\n outputs: [\r\n 'onOpened',\r\n 'onClosed',\r\n 'onBlur',\r\n 'onFocus',\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'depthChange',\r\n 'typeChange',\r\n 'disabledDatesChange',\r\n 'holidayDatesChange',\r\n 'onNavigate',\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },\r\n ],\r\n host: { class: 'ax-editor-container ax-drop-down' },\r\n})\r\nexport class AXDatePickerComponent extends AXBaseDatePickerMixin {\r\n @ViewChild(AXPopoverComponent, { static: true })\r\n popover: AXPopoverComponent;\r\n\r\n @ViewChild(AXCalendarComponent, { static: true })\r\n private _calendar: AXCalendarComponent;\r\n\r\n protected _target: HTMLDivElement;\r\n displayText: string;\r\n protected _calendarValue: Date;\r\n protected _cursorPos: number = 0;\r\n protected _isMobile: boolean = false;\r\n protected _popoverTitle: string;\r\n protected _popoverWidth: number;\r\n\r\n @Output()\r\n formatChange = new EventEmitter<string>();\r\n\r\n private _format: string = 'YYYY-MM-dd';\r\n @Input()\r\n public get format(): string {\r\n return this._format;\r\n }\r\n public set format(v: string) {\r\n this._setOption({\r\n name: 'format',\r\n value: v,\r\n });\r\n }\r\n\r\n @Input()\r\n placeholder: string;\r\n\r\n @Input()\r\n interface: 'calendar' | 'picker' = 'calendar';\r\n\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _platform: AXPlatform\r\n ) {\r\n super(_elementRef, _cdr);\r\n this._target = this._getHostElement();\r\n this._isMobile = this._platform.is('Mobile') || this._platform.is('SM');\r\n this._platform.resize.subscribe(() => {\r\n this._isMobile = this._platform.is('Mobile') || this._platform.is('SM');;\r\n this.popover.dispose();\r\n });\r\n }\r\n\r\n onInit(): void {\r\n this._popoverTitle =\r\n this.placeholder || AXTranslator.get('datepicker.popover.title');\r\n }\r\n\r\n private _updateDisplayText() {\r\n this.displayText = this.value\r\n ? AXDateTime.convert(this.value, this.type).format(this._format)\r\n : '';\r\n }\r\n\r\n protected _handlePopoverOpened(e) {\r\n setTimeout(() => {\r\n this._calendar?.navTo(this.value || new AXDateTime(new Date(), this.type));\r\n }, 10);\r\n }\r\n\r\n protected _handleArrowClickEvent() {\r\n this.toggle();\r\n }\r\n\r\n _onValueChanged(oldValue?: any, newValue?: any) {\r\n this._updateDisplayText();\r\n this.close();\r\n }\r\n\r\n _onOptionChanged(option: AXComponentOptionChanged): void {\r\n super._onOptionChanged(option);\r\n if (option.name == 'type') {\r\n this._updateDisplayText();\r\n }\r\n }\r\n\r\n protected _handleOnKeydownEvent(e: KeyboardEvent) {\r\n const ignore = () => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n };\r\n\r\n const nums: string[] = Array(10)\r\n .fill(0)\r\n .map((v, i) => i.toString());\r\n const chars: string[] = [\r\n 'Backspace',\r\n 'ArrowDown',\r\n 'ArrowUp',\r\n 'ArrowRight',\r\n 'ArrowLeft',\r\n 'Tab',\r\n 'Enter',\r\n ];\r\n const input = e.target as HTMLInputElement;\r\n const key = e.key;\r\n const valStr = input.value;\r\n const sStart = input.selectionStart || 0;\r\n const sEnd = input.selectionEnd || 0;\r\n const dateVal = new AXDateTime(this.value);\r\n //\r\n const re = /[a-zA-Z0-9]+/gi;\r\n const parts = Array.from(this.format.matchAll(re));\r\n const word = valStr.substring(sStart, sEnd);\r\n const part = parts.find((c: any) => c.index >= sStart);\r\n //\r\n //\r\n if ([...nums].includes(key)) {\r\n if (part) {\r\n switch (part[0]) {\r\n case 'dd':\r\n case 'DD':\r\n const newVal = Math.max(1, Math.min(31, Number(word + e.key)));\r\n this.value = dateVal.set('day', newVal).date;\r\n break;\r\n case 'mm':\r\n break;\r\n case 'yy':\r\n case 'YYYY':\r\n break;\r\n }\r\n setTimeout(() => {\r\n this._highlightPart(input, sStart);\r\n }, 10);\r\n ignore();\r\n }\r\n } else if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {\r\n const next = Array.from(valStr.substr(sEnd).matchAll(re));\r\n const prev = Array.from(valStr.substring(0, sStart).matchAll(re));\r\n ignore();\r\n this._highlightPart(\r\n input,\r\n e.key === 'ArrowRight'\r\n ? sEnd + (next[0]?.index || 0)\r\n : prev[prev.length - 1]?.index\r\n );\r\n } else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\r\n if (e.ctrlKey && e.key === 'ArrowDown') {\r\n this.open();\r\n } else {\r\n const sign = e.key === 'ArrowUp' ? +1 : -1;\r\n if (part) {\r\n switch (part[0]) {\r\n case 'dd':\r\n case 'DD':\r\n this.value = dateVal.add('day', sign).date;\r\n break;\r\n case 'mm':\r\n case 'MMM':\r\n case 'MMMM':\r\n this.value = dateVal.add('month', sign).date;\r\n break;\r\n case 'yy':\r\n case 'YYYY':\r\n this.value = dateVal.add('year', sign).date;\r\n break;\r\n }\r\n setTimeout(() => {\r\n this._highlightPart(input, sStart);\r\n }, 10);\r\n }\r\n }\r\n ignore();\r\n } else if (e.key == 'Backspace') {\r\n if (this.allowNull) {\r\n this.value = null;\r\n }\r\n ignore();\r\n }\r\n // else if (nums.includes(key)) {\r\n\r\n // }\r\n // super._emitOnKeydownEvent(e);\r\n }\r\n\r\n protected _handleOnInputClickEvent(e: MouseEvent): void {\r\n const input = e.target as HTMLInputElement;\r\n this._highlightPart(input);\r\n e.preventDefault();\r\n e.stopPropagation();\r\n }\r\n\r\n protected _handleOnNavigate(e: AXCalendarNavigateEvent) {\r\n this.onNavigate.emit(e);\r\n }\r\n\r\n private _highlightPart(input: HTMLInputElement, pos?: number) {\r\n const { start, end } = AXStringUtil.getWordBoundsAtPosition(\r\n input.value,\r\n pos != null ? pos : input.selectionStart || 0\r\n );\r\n input.setSelectionRange(start, end);\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix\">\r\n</ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input class=\"ax-input\" type=\"text\" [attr.placeholder]=\"placeholder\" [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\" [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\" [ngModel]=\"displayText\" (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\" (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\">\r\n</div>\r\n<button [disabled]=\"disabled\" [tabIndex]=\"-1\" class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\">\r\n</ng-content>\r\n<ng-content select=\"ax-validation-rule\">\r\n</ng-content>\r\n<ax-popover [target]=\"_target\" [position]=\"position\" [openTrigger]=\"'manual'\" [closeTrigger]=\"'clickout'\" [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\" >\r\n <ax-title text=\"{{placeholder || 'Choose a date'}}\"></ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container *ngIf=\"interface === 'calendar'; then calendarTemplate; else pickerTemplate\"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar #calendar [disabled]=\"disabled\" [readonly]=\"readonly\" [(value)]=\"value\" [min]=\"min\" [max]=\"max\" [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\" [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate>\r\n </ng-template>\r\n </div>\r\n</ax-popover>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDateTimeModule } from '@acorex/core/dateTime';\r\n\r\nimport { AXDatePickerComponent } from './datepicker.component';\r\nimport { AXCalendarModule } from '@acorex/components/calendar';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXPopoverModule } from '@acorex/components/popover';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXTextBoxModule } from '@acorex/components/textbox';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nconst COMPONENT = [AXDatePickerComponent];\r\nconst MODULES = [\r\n CommonModule,\r\n AXCalendarModule,\r\n AXTextBoxModule,\r\n AXButtonModule,\r\n AXPopoverModule,\r\n AXDecoratorModule,\r\n AXDateTimeModule,\r\n FormsModule\r\n];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDatepickerModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA8BO,MAAM,qBAAqB,GAAG,2BAA2B,CAC9D,wBAAwB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,CAAC,EACxE;AA0DI,MAAO,qBAAsB,SAAQ,qBAAqB,CAAA;AAoC9D,IAAA,WAAA,CACE,WAAuB,EACvB,IAAuB,EACf,SAAqB,EAAA;AAE7B,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAFjB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAY;AA7BrB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;AACvB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;AAKrC,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAU,CAAC;AAElC,QAAA,IAAO,CAAA,OAAA,GAAW,YAAY,CAAC;AAgBvC,QAAA,IAAS,CAAA,SAAA,GAA0B,UAAU,CAAC;AAQ5C,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;QACxE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,MAAK;YACnC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,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AM,EAAA,CAAA;sBADhB,KAAK;gBAYN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,KAAK;;;AE/GR,MAAM,SAAS,GAAG,CAAC,qBAAqB,CAAC,CAAC;AAC1C,MAAM,OAAO,GAAG;IACZ,YAAY;IACZ,gBAAgB;IAChB,eAAe;IACf,cAAc;IACd,eAAe;IACf,iBAAiB;IACjB,gBAAgB;IAChB,WAAW;CACd,CAAC;MAQW,kBAAkB,CAAA;;+GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAlB,kBAAkB,EAAA,YAAA,EAAA,CAlBZ,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAEpC,YAAY;QACZ,gBAAgB;QAChB,eAAe;QACf,cAAc;QACd,eAAe;QACf,iBAAiB;QACjB,gBAAgB;QAChB,WAAW,aATI,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAkB3B,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,YAJd,OAAO,CAAA,EAAA,CAAA,CAAA;2FAIX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-date-picker.mjs","sources":["../../../../projects/acorex/components/date-picker/src/datepicker.component.ts","../../../../projects/acorex/components/date-picker/src/datepicker.component.html","../../../../projects/acorex/components/date-picker/src/datepicker.module.ts","../../../../projects/acorex/components/date-picker/acorex-components-date-picker.ts"],"sourcesContent":["import { AXStringUtil } from '@acorex/core/utils';\r\nimport { AXPlatform } from '@acorex/core/platform';\r\nimport { AXTranslator } from '@acorex/core/translation';\r\nimport { AXDateTime } from '@acorex/core/dateTime';\r\nimport {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n ViewChild,\r\n Input,\r\n EventEmitter,\r\n Output,\r\n} from '@angular/core';\r\nimport { AXClickEvent, AXClosbaleComponent } from '@acorex/components/common';\r\n\r\nimport {\r\n AXCalendarComponent,\r\n AXCalendarBaseComponent,\r\n AXCalendarNavigateEvent,\r\n} from '@acorex/components/calendar';\r\nimport { AXPopoverComponent } from '@acorex/components/popover';\r\nimport {\r\n AXComponentOptionChanged,\r\n _DropdownComponenetMixin,\r\n _InteractiveComponenetMixin,\r\n _ValueComponenetMixin,\r\n} from '@acorex/components/mixin';\r\n\r\nexport const AXBaseDatePickerMixin = _InteractiveComponenetMixin(\r\n _DropdownComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent))\r\n);\r\n\r\n@Component({\r\n selector: 'ax-date-picker',\r\n templateUrl: './datepicker.component.html',\r\n inputs: [\r\n 'rtl',\r\n 'isOpen',\r\n 'fitParent',\r\n 'dropdownWidth',\r\n 'position',\r\n 'disabled',\r\n 'tabIndex',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'placeholder',\r\n 'maxLength',\r\n 'allowNull',\r\n 'type',\r\n 'autoComplete',\r\n 'readonly',\r\n 'allowNull',\r\n 'value',\r\n 'name',\r\n 'checked',\r\n 'depth',\r\n 'activeView',\r\n 'min',\r\n 'max',\r\n 'disabledDates',\r\n 'type',\r\n 'holidayDates',\r\n ],\r\n outputs: [\r\n 'onOpened',\r\n 'onClosed',\r\n 'onBlur',\r\n 'onFocus',\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'valueChange',\r\n 'onValueChanged',\r\n 'depthChange',\r\n 'typeChange',\r\n 'disabledDatesChange',\r\n 'holidayDatesChange',\r\n 'onNavigate',\r\n ],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [\r\n { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },\r\n ],\r\n host: { class: 'ax-editor-container ax-drop-down' },\r\n})\r\nexport class AXDatePickerComponent extends AXBaseDatePickerMixin {\r\n @ViewChild(AXPopoverComponent, { static: true })\r\n popover: AXPopoverComponent;\r\n\r\n @ViewChild(AXCalendarComponent, { static: true })\r\n private _calendar: AXCalendarComponent;\r\n\r\n protected _target: HTMLDivElement;\r\n displayText: string;\r\n protected _calendarValue: Date;\r\n protected _cursorPos: number = 0;\r\n protected _isMobile: boolean = false;\r\n protected _popoverTitle: string;\r\n protected _popoverWidth: number;\r\n\r\n @Output()\r\n formatChange = new EventEmitter<string>();\r\n\r\n private _format: string = 'YYYY-MM-dd';\r\n @Input()\r\n public get format(): string {\r\n return this._format;\r\n }\r\n public set format(v: string) {\r\n this._setOption({\r\n name: 'format',\r\n value: v,\r\n });\r\n }\r\n\r\n @Input()\r\n placeholder: string;\r\n\r\n @Input()\r\n interface: 'calendar' | 'picker' = 'calendar';\r\n\r\n constructor(\r\n _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _platform: AXPlatform\r\n ) {\r\n super(_elementRef, _cdr);\r\n this._target = this._getHostElement();\r\n this._isMobile = this._platform.is('Mobile') || this._platform.is('SM');\r\n this._platform.resize.subscribe(() => {\r\n this._isMobile = this._platform.is('Mobile') || this._platform.is('SM');;\r\n this.popover.dispose();\r\n });\r\n }\r\n\r\n onInit(): void {\r\n this._popoverTitle =\r\n this.placeholder || AXTranslator.get('datepicker.popover.title');\r\n }\r\n\r\n private _updateDisplayText() {\r\n this.displayText = this.value\r\n ? AXDateTime.convert(this.value, this.type).format(this._format)\r\n : '';\r\n }\r\n\r\n protected _handlePopoverOpened(e) {\r\n setTimeout(() => {\r\n this._calendar?.navTo(this.value || new AXDateTime(new Date(), this.type));\r\n }, 10);\r\n }\r\n\r\n protected _handleArrowClickEvent() {\r\n this.toggle();\r\n }\r\n\r\n _onValueChanged(oldValue?: any, newValue?: any) {\r\n this._updateDisplayText();\r\n this.close();\r\n }\r\n\r\n _onOptionChanged(option: AXComponentOptionChanged): void {\r\n super._onOptionChanged(option);\r\n if (option.name == 'type') {\r\n this._updateDisplayText();\r\n }\r\n }\r\n\r\n protected _handleOnKeydownEvent(e: KeyboardEvent) {\r\n const ignore = () => {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n };\r\n\r\n const nums: string[] = Array(10)\r\n .fill(0)\r\n .map((v, i) => i.toString());\r\n const chars: string[] = [\r\n 'Backspace',\r\n 'ArrowDown',\r\n 'ArrowUp',\r\n 'ArrowRight',\r\n 'ArrowLeft',\r\n 'Tab',\r\n 'Enter',\r\n ];\r\n const input = e.target as HTMLInputElement;\r\n const key = e.key;\r\n const valStr = input.value;\r\n const sStart = input.selectionStart || 0;\r\n const sEnd = input.selectionEnd || 0;\r\n const dateVal = new AXDateTime(this.value);\r\n //\r\n const re = /[a-zA-Z0-9]+/gi;\r\n const parts = Array.from(this.format.matchAll(re));\r\n const word = valStr.substring(sStart, sEnd);\r\n const part = parts.find((c: any) => c.index >= sStart);\r\n //\r\n //\r\n if ([...nums].includes(key)) {\r\n if (part) {\r\n switch (part[0]) {\r\n case 'dd':\r\n case 'DD':\r\n const newVal = Math.max(1, Math.min(31, Number(word + e.key)));\r\n this.value = dateVal.set('day', newVal).date;\r\n break;\r\n case 'mm':\r\n break;\r\n case 'yy':\r\n case 'YYYY':\r\n break;\r\n }\r\n setTimeout(() => {\r\n this._highlightPart(input, sStart);\r\n }, 10);\r\n ignore();\r\n }\r\n } else if (e.key === 'ArrowRight' || e.key === 'ArrowLeft') {\r\n const next = Array.from(valStr.substr(sEnd).matchAll(re));\r\n const prev = Array.from(valStr.substring(0, sStart).matchAll(re));\r\n ignore();\r\n this._highlightPart(\r\n input,\r\n e.key === 'ArrowRight'\r\n ? sEnd + (next[0]?.index || 0)\r\n : prev[prev.length - 1]?.index\r\n );\r\n } else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\r\n if (e.ctrlKey && e.key === 'ArrowDown') {\r\n this.open();\r\n } else {\r\n const sign = e.key === 'ArrowUp' ? +1 : -1;\r\n if (part) {\r\n switch (part[0]) {\r\n case 'dd':\r\n case 'DD':\r\n this.value = dateVal.add('day', sign).date;\r\n break;\r\n case 'mm':\r\n case 'MMM':\r\n case 'MMMM':\r\n this.value = dateVal.add('month', sign).date;\r\n break;\r\n case 'yy':\r\n case 'YYYY':\r\n this.value = dateVal.add('year', sign).date;\r\n break;\r\n }\r\n setTimeout(() => {\r\n this._highlightPart(input, sStart);\r\n }, 10);\r\n }\r\n }\r\n ignore();\r\n } else if (e.key == 'Backspace') {\r\n if (this.allowNull) {\r\n this.value = null;\r\n }\r\n ignore();\r\n }\r\n // else if (nums.includes(key)) {\r\n\r\n // }\r\n // super._emitOnKeydownEvent(e);\r\n }\r\n\r\n protected _handleOnInputClickEvent(e: MouseEvent): void {\r\n const input = e.target as HTMLInputElement;\r\n this._highlightPart(input);\r\n e.preventDefault();\r\n e.stopPropagation();\r\n }\r\n\r\n protected _handleOnNavigate(e: AXCalendarNavigateEvent) {\r\n this.onNavigate.emit(e);\r\n }\r\n\r\n private _highlightPart(input: HTMLInputElement, pos?: number) {\r\n const { start, end } = AXStringUtil.getWordBoundsAtPosition(\r\n input.value,\r\n pos != null ? pos : input.selectionStart || 0\r\n );\r\n input.setSelectionRange(start, end);\r\n }\r\n}\r\n","<ng-content select=\"ax-prefix\"> </ng-content>\r\n<div class=\"ax-dropdown-content ax-cursor-pointer\" (click)=\"toggle()\">\r\n <input\r\n class=\"ax-input\"\r\n type=\"text\"\r\n [attr.placeholder]=\"placeholder\"\r\n [class.ax-state-disabled]=\"disabled\"\r\n [class.ax-state-readonly]=\"readonly\"\r\n [disabled]=\"disabled\"\r\n [readonly]=\"true\"\r\n [attr.tabindex]=\"_isMobile ? -1 : tabIndex\"\r\n [ngModel]=\"displayText\"\r\n (focus)=\"_emitOnFocusEvent($event)\"\r\n (mouseup)=\"_handleOnInputClickEvent($event)\"\r\n (blur)=\"_emitOnBlurEvent($event)\"\r\n (keydown)=\"_handleOnKeydownEvent($event)\" />\r\n</div>\r\n<button\r\n [disabled]=\"disabled\"\r\n [tabIndex]=\"-1\"\r\n class=\"ax-editor-control\"\r\n (click)=\"_handleArrowClickEvent()\">\r\n <span class=\"ax-icon ax-icon-calendar\"></span>\r\n</button>\r\n<ng-content select=\"ax-suffix\"> </ng-content>\r\n<ng-content select=\"ax-validation-rule\"> </ng-content>\r\n<ax-popover\r\n [target]=\"_target\"\r\n [position]=\"position\"\r\n [openTrigger]=\"'manual'\"\r\n [closeTrigger]=\"'clickout'\"\r\n [adaptivityEnabled]=\"true\"\r\n (onOpened)=\"_handlePopoverOpened($event)\">\r\n <div class=\"ax-overlay-pane\" [class.ax-w-full]=\"_isMobile\">\r\n <ax-header *ngIf=\"_isMobile\">\r\n <ax-title>\r\n {{ placeholder || 'Choose a date' }}\r\n </ax-title>\r\n <ax-close-button></ax-close-button>\r\n </ax-header>\r\n <ng-container\r\n *ngIf=\"\r\n interface === 'calendar';\r\n then calendarTemplate;\r\n else pickerTemplate\r\n \"></ng-container>\r\n <ng-template #calendarTemplate>\r\n <ax-calendar\r\n #calendar\r\n [disabled]=\"disabled\"\r\n [readonly]=\"readonly\"\r\n [(value)]=\"value\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [rtl]=\"rtl\"\r\n [disabledDates]=\"disabledDates\"\r\n [holidayDates]=\"holidayDates\"\r\n [depth]=\"depth\"\r\n (onNavigate)=\"_handleOnNavigate($event)\"\r\n [type]=\"type\">\r\n </ax-calendar>\r\n </ng-template>\r\n <ng-template #pickerTemplate> </ng-template>\r\n </div>\r\n</ax-popover>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDateTimeModule } from '@acorex/core/dateTime';\r\n\r\nimport { AXDatePickerComponent } from './datepicker.component';\r\nimport { AXCalendarModule } from '@acorex/components/calendar';\r\nimport { AXButtonModule } from '@acorex/components/button';\r\nimport { AXPopoverModule } from '@acorex/components/popover';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\nimport { AXTextBoxModule } from '@acorex/components/textbox';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nconst COMPONENT = [AXDatePickerComponent];\r\nconst MODULES = [\r\n CommonModule,\r\n AXCalendarModule,\r\n AXTextBoxModule,\r\n AXButtonModule,\r\n AXPopoverModule,\r\n AXDecoratorModule,\r\n AXDateTimeModule,\r\n FormsModule\r\n];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXDatepickerModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA8BO,MAAM,qBAAqB,GAAG,2BAA2B,CAC9D,wBAAwB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,CAAC,EACxE;AA0DI,MAAO,qBAAsB,SAAQ,qBAAqB,CAAA;AAoC9D,IAAA,WAAA,CACE,WAAuB,EACvB,IAAuB,EACf,SAAqB,EAAA;AAE7B,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAFjB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAY;AA7BrB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC,CAAC;AACvB,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;AAKrC,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAU,CAAC;AAElC,QAAA,IAAO,CAAA,OAAA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AAA,EAAA,CAAA,CAAA;2FAIX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAN9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;AC7BD;;AAEG;;;;"}
@@ -14,13 +14,13 @@ class AXDecoratorIconComponent extends AXBaseComponentMixin {
14
14
  return `${this.icon}`;
15
15
  }
16
16
  }
17
- AXDecoratorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
18
- AXDecoratorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content select="i,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
17
+ AXDecoratorIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorIconComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
18
+ AXDecoratorIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: { icon: "icon" }, host: { properties: { "class": "this.__iconClass" } }, providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }], usesInheritance: true, ngImport: i0, template: '<ng-content select="i,span,svg,img"></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorIconComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{
22
22
  selector: 'ax-icon',
23
- template: '<ng-content select="i,svg,img"></ng-content>',
23
+ template: '<ng-content select="i,span,svg,img"></ng-content>',
24
24
  changeDetection: ChangeDetectionStrategy.OnPush,
25
25
  encapsulation: ViewEncapsulation.None,
26
26
  providers: [{ provide: 'ax-icon', useValue: AXDecoratorIconComponent }],
@@ -49,13 +49,13 @@ class AXDecoratorCloseButtonComponent extends AXBaseComponentMixin {
49
49
  (_a = this._parent) === null || _a === void 0 ? void 0 : _a.close();
50
50
  }
51
51
  }
52
- AXDecoratorCloseButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
53
- AXDecoratorCloseButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: { icon: "icon" }, host: { classAttribute: "ax-icon ax-close-button" }, usesInheritance: true, ngImport: i0, template: `<ax-icon
52
+ AXDecoratorCloseButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorCloseButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: AXClosbaleComponent, optional: true }], target: i0.ɵɵFactoryTarget.Component });
53
+ AXDecoratorCloseButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: { icon: "icon" }, host: { classAttribute: "ax-icon ax-close-button" }, usesInheritance: true, ngImport: i0, template: `<ax-icon
54
54
  [icon]="icon"
55
55
  (click)="_handleOnClick($event)"
56
56
  tabindex="1"
57
57
  ></ax-icon>`, isInline: true, dependencies: [{ kind: "component", type: AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorCloseButtonComponent, decorators: [{
59
59
  type: Component,
60
60
  args: [{
61
61
  selector: 'ax-close-button',
@@ -84,9 +84,9 @@ class AXDecoratorContentComponent extends AXBaseComponentMixin {
84
84
  super(elementRef, cdr);
85
85
  }
86
86
  }
87
- AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
88
- AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorContentComponent, selector: "ax-content", host: { classAttribute: "ax-content" }, usesInheritance: true, ngImport: i0, template: ` <ng-content> </ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
89
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
87
+ AXDecoratorContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
88
+ AXDecoratorContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorContentComponent, selector: "ax-content", host: { classAttribute: "ax-content" }, usesInheritance: true, ngImport: i0, template: ` <ng-content> </ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
90
90
  type: Component,
91
91
  args: [{
92
92
  selector: 'ax-content',
@@ -102,9 +102,9 @@ class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
102
102
  super(elementRef, cdr);
103
103
  }
104
104
  }
105
- AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
106
- AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
105
+ AXDecoratorPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorPrefixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
106
+ AXDecoratorPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorPrefixComponent, selector: "ax-prefix", host: { classAttribute: "ax-prefix" }, usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorPrefixComponent, decorators: [{
108
108
  type: Component,
109
109
  args: [{
110
110
  selector: 'ax-prefix',
@@ -120,9 +120,9 @@ class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
120
120
  super(elementRef, cdr);
121
121
  }
122
122
  }
123
- AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
124
- AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
123
+ AXDecoratorSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorSuffixComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
124
+ AXDecoratorSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorSuffixComponent, selector: "ax-suffix", host: { classAttribute: "ax-suffix" }, usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorSuffixComponent, decorators: [{
126
126
  type: Component,
127
127
  args: [{
128
128
  selector: 'ax-suffix',
@@ -138,13 +138,13 @@ class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
138
138
  super(elementRef, cdr);
139
139
  }
140
140
  }
141
- AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
142
- AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorHeaderComponent, selector: "ax-header", host: { classAttribute: "ax-header" }, usesInheritance: true, ngImport: i0, template: `
141
+ AXDecoratorHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorHeaderComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
142
+ AXDecoratorHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorHeaderComponent, selector: "ax-header", host: { classAttribute: "ax-header" }, usesInheritance: true, ngImport: i0, template: `
143
143
  <ng-content
144
144
  select="ax-suffix,ax-prefix,ax-button,ax-icon,ax-title,ax-data-pager,ax-close-button,ng-container,ng-content,ax-content"
145
145
  ></ng-content>
146
146
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
147
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorHeaderComponent, decorators: [{
148
148
  type: Component,
149
149
  args: [{
150
150
  selector: 'ax-header',
@@ -164,13 +164,13 @@ class AXDecoratorFooterComponent extends AXBaseComponentMixin {
164
164
  super(elementRef, cdr);
165
165
  }
166
166
  }
167
- AXDecoratorFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorFooterComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
168
- AXDecoratorFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorFooterComponent, selector: "ax-footer", host: { classAttribute: "ax-footer" }, usesInheritance: true, ngImport: i0, template: `
167
+ AXDecoratorFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorFooterComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
168
+ AXDecoratorFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorFooterComponent, selector: "ax-footer", host: { classAttribute: "ax-footer" }, usesInheritance: true, ngImport: i0, template: `
169
169
  <ng-content
170
170
  select="ax-suffix,ax-prefix,ax-button,ax-title,ax-data-pager,ax-close-button,ng-container"
171
171
  ></ng-content>
172
172
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorFooterComponent, decorators: [{
173
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorFooterComponent, decorators: [{
174
174
  type: Component,
175
175
  args: [{
176
176
  selector: 'ax-footer',
@@ -191,15 +191,13 @@ class AXDecoratorTitleComponent extends AXBaseComponentMixin {
191
191
  this.text = '';
192
192
  }
193
193
  }
194
- AXDecoratorTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
195
- AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorTitleComponent, selector: "ax-title", inputs: { text: "text" }, host: { classAttribute: "ax-title" }, usesInheritance: true, ngImport: i0, template: `<h4 *ngIf="text">{{ text }}</h4>
196
- <ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
194
+ AXDecoratorTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
195
+ AXDecoratorTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTitleComponent, selector: "ax-title", inputs: { text: "text" }, host: { classAttribute: "ax-title" }, usesInheritance: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
196
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTitleComponent, decorators: [{
198
197
  type: Component,
199
198
  args: [{
200
199
  selector: 'ax-title',
201
- template: `<h4 *ngIf="text">{{ text }}</h4>
202
- <ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`,
200
+ template: `<ng-content></ng-content>`,
203
201
  changeDetection: ChangeDetectionStrategy.OnPush,
204
202
  encapsulation: ViewEncapsulation.None,
205
203
  host: { class: 'ax-title' },
@@ -213,9 +211,9 @@ class AXDecoratorOverlayComponent {
213
211
  this.displayMode = 'hover';
214
212
  }
215
213
  }
216
- AXDecoratorOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
217
- AXDecoratorOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorOverlayComponent, selector: "ax-overlay", inputs: { displayMode: "displayMode" }, host: { properties: { "attr.data-overlay-mode": "this.displayMode" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
218
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorOverlayComponent, decorators: [{
214
+ AXDecoratorOverlayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
215
+ AXDecoratorOverlayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorOverlayComponent, selector: "ax-overlay", inputs: { displayMode: "displayMode" }, host: { properties: { "attr.data-overlay-mode": "this.displayMode" } }, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorOverlayComponent, decorators: [{
219
217
  type: Component,
220
218
  args: [{
221
219
  selector: 'ax-overlay',
@@ -230,9 +228,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
230
228
 
231
229
  class AXDecoratorPlaceholderComponent {
232
230
  }
233
- AXDecoratorPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
234
- AXDecoratorPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorPlaceholderComponent, selector: "ax-placeholder", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
235
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorPlaceholderComponent, decorators: [{
231
+ AXDecoratorPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorPlaceholderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
232
+ AXDecoratorPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorPlaceholderComponent, selector: "ax-placeholder", ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorPlaceholderComponent, decorators: [{
236
234
  type: Component,
237
235
  args: [{
238
236
  selector: 'ax-placeholder',
@@ -245,9 +243,9 @@ class AXDecoratorTextComponent extends AXBaseComponentMixin {
245
243
  super(_elementRef, _cdr);
246
244
  }
247
245
  }
248
- AXDecoratorTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
249
- AXDecoratorTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorTextComponent, selector: "ax-text", inputs: { content: "content" }, providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }], usesInheritance: true, ngImport: i0, template: `{{ content }}`, isInline: true });
250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorTextComponent, decorators: [{
246
+ AXDecoratorTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTextComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
247
+ AXDecoratorTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorTextComponent, selector: "ax-text", inputs: { content: "content" }, providers: [{ provide: 'ax-text', useValue: AXDecoratorTextComponent }], usesInheritance: true, ngImport: i0, template: `{{ content }}`, isInline: true });
248
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorTextComponent, decorators: [{
251
249
  type: Component,
252
250
  args: [{
253
251
  selector: 'ax-text',
@@ -264,10 +262,10 @@ class AXDecoratorSubTitleComponent extends AXBaseComponentMixin {
264
262
  this.text = '';
265
263
  }
266
264
  }
267
- AXDecoratorSubTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorSubTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
268
- AXDecoratorSubTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorSubTitleComponent, selector: "ax-sub-title", inputs: { text: "text" }, host: { classAttribute: "ax-sub-title" }, usesInheritance: true, ngImport: i0, template: `<div *ngIf="text">{{ text }}</div>
265
+ AXDecoratorSubTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorSubTitleComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
266
+ AXDecoratorSubTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorSubTitleComponent, selector: "ax-sub-title", inputs: { text: "text" }, host: { classAttribute: "ax-sub-title" }, usesInheritance: true, ngImport: i0, template: `<div *ngIf="text">{{ text }}</div>
269
267
  <ng-container><ng-content *ngIf="!text"></ng-content></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorSubTitleComponent, decorators: [{
268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorSubTitleComponent, decorators: [{
271
269
  type: Component,
272
270
  args: [{
273
271
  selector: 'ax-sub-title',
@@ -286,9 +284,9 @@ class AXDecoratorFormHintComponent extends AXBaseComponentMixin {
286
284
  super(elementRef, cdr);
287
285
  }
288
286
  }
289
- AXDecoratorFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
290
- AXDecoratorFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AXDecoratorFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-form-hint-text"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorFormHintComponent, decorators: [{
287
+ AXDecoratorFormHintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorFormHintComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
288
+ AXDecoratorFormHintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXDecoratorFormHintComponent, selector: "ax-form-hint", usesInheritance: true, ngImport: i0, template: ' <p class="ax-form-hint-text"><ng-content></ng-content></p>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorFormHintComponent, decorators: [{
292
290
  type: Component,
293
291
  args: [{
294
292
  selector: 'ax-form-hint',
@@ -316,8 +314,8 @@ const COMPONENT = [
316
314
  const MODULES = [CommonModule];
317
315
  class AXDecoratorModule {
318
316
  }
319
- AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
320
- AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorPrefixComponent,
317
+ AXDecoratorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
318
+ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorModule, declarations: [AXDecoratorPrefixComponent,
321
319
  AXDecoratorSuffixComponent,
322
320
  AXDecoratorContentComponent,
323
321
  AXDecoratorHeaderComponent,
@@ -342,8 +340,8 @@ AXDecoratorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", versi
342
340
  AXDecoratorPlaceholderComponent,
343
341
  AXDecoratorTextComponent,
344
342
  AXDecoratorFormHintComponent] });
345
- AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorModule, imports: [MODULES] });
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AXDecoratorModule, decorators: [{
343
+ AXDecoratorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorModule, imports: [MODULES] });
344
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXDecoratorModule, decorators: [{
347
345
  type: NgModule,
348
346
  args: [{
349
347
  declarations: [...COMPONENT],
@@ -359,4 +357,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
359
357
 
360
358
  export { AXDecoratorCloseButtonComponent, AXDecoratorContentComponent, AXDecoratorFooterComponent, AXDecoratorFormHintComponent, AXDecoratorHeaderComponent, AXDecoratorIconComponent, AXDecoratorModule, AXDecoratorOverlayComponent, AXDecoratorPlaceholderComponent, AXDecoratorPrefixComponent, AXDecoratorSubTitleComponent, AXDecoratorSuffixComponent, AXDecoratorTextComponent, AXDecoratorTitleComponent };
361
359
  //# sourceMappingURL=acorex-components-decorators.mjs.map
362
- //# sourceMappingURL=acorex-components-decorators.mjs.map