@acorex/components 6.1.11 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/alert/src/alert.component.d.ts +2 -2
  2. package/badge/src/badge.component.d.ts +3 -3
  3. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +9 -7
  4. package/button/src/button-group.component.d.ts +6 -6
  5. package/button/src/button-item.component.d.ts +6 -6
  6. package/button/src/button.component.d.ts +1 -1
  7. package/calendar/src/calendar.component.d.ts +0 -1
  8. package/chips/index.d.ts +5 -0
  9. package/chips/public-api.d.ts +2 -0
  10. package/chips/src/chips.component.d.ts +13 -0
  11. package/chips/src/chips.module.d.ts +8 -0
  12. package/collapse/src/collapse.component.d.ts +1 -1
  13. package/color-palette/src/color-palette-input.component.d.ts +2 -2
  14. package/color-picker/src/color-picker.component.d.ts +24 -22
  15. package/common/src/styles.class.d.ts +2 -2
  16. package/date-picker/src/datepicker.component.d.ts +15 -16
  17. package/esm2020/action-sheet/src/action-sheet-item.component.mjs +5 -5
  18. package/esm2020/action-sheet/src/action-sheet.component.mjs +8 -8
  19. package/esm2020/action-sheet/src/action-sheet.module.mjs +5 -5
  20. package/esm2020/alert/src/alert-button.directive.mjs +4 -4
  21. package/esm2020/alert/src/alert.component.mjs +9 -12
  22. package/esm2020/alert/src/alert.module.mjs +5 -5
  23. package/esm2020/avatar/src/avatar-group.component.mjs +4 -5
  24. package/esm2020/avatar/src/avatar.component.mjs +5 -5
  25. package/esm2020/avatar/src/avatar.module.mjs +5 -5
  26. package/esm2020/badge/src/badge.component.mjs +7 -9
  27. package/esm2020/badge/src/badge.module.mjs +5 -5
  28. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +14 -6
  29. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +6 -6
  30. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +5 -5
  31. package/esm2020/button/src/button-group.component.mjs +5 -5
  32. package/esm2020/button/src/button-item.component.mjs +5 -5
  33. package/esm2020/button/src/button.component.mjs +10 -7
  34. package/esm2020/button/src/button.module.mjs +5 -5
  35. package/esm2020/calendar/src/calendar.class.mjs +4 -4
  36. package/esm2020/calendar/src/calendar.component.mjs +6 -8
  37. package/esm2020/calendar/src/calendar.module.mjs +5 -5
  38. package/esm2020/checkbox/src/checkbox.component.mjs +5 -5
  39. package/esm2020/checkbox/src/checkbox.module.mjs +5 -5
  40. package/esm2020/chips/acorex-components-chips.mjs +5 -0
  41. package/esm2020/chips/public-api.mjs +3 -0
  42. package/esm2020/chips/src/chips.component.mjs +32 -0
  43. package/esm2020/chips/src/chips.module.mjs +19 -0
  44. package/esm2020/collapse/src/collapse-group.component.mjs +4 -4
  45. package/esm2020/collapse/src/collapse.component.mjs +5 -5
  46. package/esm2020/collapse/src/collapse.module.mjs +5 -5
  47. package/esm2020/color-palette/src/color-palette-input.component.mjs +10 -12
  48. package/esm2020/color-palette/src/color-palette-picker.component.mjs +4 -4
  49. package/esm2020/color-palette/src/color-palette-preview.component.mjs +4 -4
  50. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +4 -4
  51. package/esm2020/color-palette/src/color-palette.class.mjs +7 -7
  52. package/esm2020/color-palette/src/color-palette.component.mjs +7 -7
  53. package/esm2020/color-palette/src/color-palette.module.mjs +5 -5
  54. package/esm2020/color-picker/src/color-picker.component.mjs +10 -12
  55. package/esm2020/color-picker/src/color-picker.module.mjs +5 -5
  56. package/esm2020/common/src/auto-focus.directive.mjs +4 -4
  57. package/esm2020/common/src/common.module.mjs +5 -5
  58. package/esm2020/common/src/components.class.mjs +19 -19
  59. package/esm2020/common/src/custom-cdk-overlay.service.mjs +7 -7
  60. package/esm2020/common/src/debounce-time.directive.mjs +4 -4
  61. package/esm2020/common/src/hotkey.directive.mjs +4 -4
  62. package/esm2020/common/src/hotkey.service.mjs +4 -4
  63. package/esm2020/common/src/infinite-scroll.directive.mjs +4 -4
  64. package/esm2020/common/src/overlay.service.mjs +4 -4
  65. package/esm2020/common/src/responsive.directive.mjs +4 -4
  66. package/esm2020/common/src/styles.class.mjs +1 -1
  67. package/esm2020/context-menu/src/context-menu.component.mjs +5 -5
  68. package/esm2020/context-menu/src/context-menu.module.mjs +5 -5
  69. package/esm2020/data-pager/src/data-pager-base.component.mjs +7 -7
  70. package/esm2020/data-pager/src/data-pager-info.component.mjs +4 -4
  71. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +6 -6
  72. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +12 -12
  73. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +18 -18
  74. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +8 -8
  75. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +12 -12
  76. package/esm2020/data-pager/src/data-pager.component.mjs +5 -6
  77. package/esm2020/data-pager/src/data-pager.module.mjs +5 -5
  78. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +4 -4
  79. package/esm2020/data-table/src/data-column.directive.mjs +4 -4
  80. package/esm2020/data-table/src/data-table.component.mjs +5 -5
  81. package/esm2020/data-table/src/data-table.module.mjs +5 -5
  82. package/esm2020/date-picker/src/datepicker.component.mjs +10 -11
  83. package/esm2020/date-picker/src/datepicker.module.mjs +5 -5
  84. package/esm2020/decorators/src/close-button.component.mjs +6 -6
  85. package/esm2020/decorators/src/content.component.mjs +4 -4
  86. package/esm2020/decorators/src/decorators.module.mjs +5 -5
  87. package/esm2020/decorators/src/footer.component.mjs +4 -4
  88. package/esm2020/decorators/src/header.component.mjs +4 -4
  89. package/esm2020/decorators/src/icon.component.mjs +5 -5
  90. package/esm2020/decorators/src/overlay.component.mjs +4 -4
  91. package/esm2020/decorators/src/placeholder.component.mjs +4 -4
  92. package/esm2020/decorators/src/prefix.component.mjs +4 -4
  93. package/esm2020/decorators/src/sub-title.component.mjs +4 -4
  94. package/esm2020/decorators/src/suffix.component.mjs +4 -4
  95. package/esm2020/decorators/src/text.component.mjs +4 -4
  96. package/esm2020/decorators/src/title.component.mjs +4 -4
  97. package/esm2020/dialog/src/dialog.component.mjs +9 -9
  98. package/esm2020/dialog/src/dialog.module.mjs +5 -5
  99. package/esm2020/dialog/src/dialog.service.mjs +5 -5
  100. package/esm2020/drawer/src/drawer-container.component.mjs +4 -5
  101. package/esm2020/drawer/src/drawer.component.mjs +12 -19
  102. package/esm2020/drawer/src/drawer.module.mjs +5 -5
  103. package/esm2020/dropdown/src/dropdown-panel.component.mjs +4 -4
  104. package/esm2020/dropdown/src/dropdown.module.mjs +5 -5
  105. package/esm2020/form/src/form-field.component.mjs +5 -11
  106. package/esm2020/form/src/form-hint.component.mjs +5 -5
  107. package/esm2020/form/src/form.component.mjs +4 -4
  108. package/esm2020/form/src/form.module.mjs +5 -5
  109. package/esm2020/form/src/validation-rule.widget.mjs +4 -5
  110. package/esm2020/form/src/validation-summary.component.mjs +4 -4
  111. package/esm2020/image/src/image.component.mjs +5 -5
  112. package/esm2020/image/src/image.module.mjs +5 -5
  113. package/esm2020/label/src/label.component.mjs +5 -5
  114. package/esm2020/label/src/label.module.mjs +5 -5
  115. package/esm2020/loading/src/loading-spinner.component.mjs +6 -6
  116. package/esm2020/loading/src/loading.component.mjs +7 -13
  117. package/esm2020/loading/src/loading.directive.mjs +4 -4
  118. package/esm2020/loading/src/loading.module.mjs +5 -5
  119. package/esm2020/loading/src/loading.service.mjs +4 -4
  120. package/esm2020/menu/src/menu.component.mjs +7 -8
  121. package/esm2020/menu/src/menu.module.mjs +5 -5
  122. package/esm2020/mixin/src/base-components.class.mjs +4 -4
  123. package/esm2020/mixin/src/value-mixin.class.mjs +4 -4
  124. package/esm2020/number-box/src/number-box.component.mjs +8 -10
  125. package/esm2020/number-box/src/number-box.module.mjs +5 -5
  126. package/esm2020/page/src/base-page.class.mjs +4 -4
  127. package/esm2020/page/src/page.component.mjs +4 -4
  128. package/esm2020/page/src/page.module.mjs +5 -5
  129. package/esm2020/password-box/src/password-box.component.mjs +8 -10
  130. package/esm2020/password-box/src/password-box.module.mjs +5 -5
  131. package/esm2020/popover/src/popover.component.mjs +4 -4
  132. package/esm2020/popover/src/popover.module.mjs +5 -5
  133. package/esm2020/popup/src/popup.component.mjs +5 -7
  134. package/esm2020/popup/src/popup.module.mjs +5 -5
  135. package/esm2020/popup/src/popup.service.mjs +4 -4
  136. package/esm2020/progress-bar/src/progress-bar.component.mjs +6 -6
  137. package/esm2020/progress-bar/src/progress-bar.module.mjs +5 -5
  138. package/esm2020/radio/src/radio.component.mjs +13 -8
  139. package/esm2020/radio/src/radio.module.mjs +5 -5
  140. package/esm2020/range-slider/src/range-slider.component.mjs +6 -6
  141. package/esm2020/range-slider/src/range-slider.module.mjs +5 -5
  142. package/esm2020/rating/src/rating.component.mjs +5 -5
  143. package/esm2020/rating/src/rating.component.module.mjs +5 -5
  144. package/esm2020/result/src/result.component.mjs +6 -6
  145. package/esm2020/result/src/result.module.mjs +5 -5
  146. package/esm2020/search-box/src/search-box.component.mjs +9 -10
  147. package/esm2020/search-box/src/search-box.module.mjs +5 -5
  148. package/esm2020/select-box/src/selectbox.component.mjs +20 -16
  149. package/esm2020/select-box/src/selectbox.module.mjs +5 -5
  150. package/esm2020/selection-list/src/selection-list.component.mjs +5 -6
  151. package/esm2020/selection-list/src/selection-list.module.mjs +5 -5
  152. package/esm2020/switch/src/switch.component.mjs +5 -5
  153. package/esm2020/switch/src/switch.module.mjs +5 -5
  154. package/esm2020/tabs/src/tab-content.directive.mjs +4 -4
  155. package/esm2020/tabs/src/tab-item.component.mjs +4 -4
  156. package/esm2020/tabs/src/tabs.class.mjs +1 -1
  157. package/esm2020/tabs/src/tabs.component.mjs +8 -14
  158. package/esm2020/tabs/src/tabs.module.mjs +5 -5
  159. package/esm2020/tag/acorex-components-tag.mjs +5 -0
  160. package/esm2020/tag/public-api.mjs +3 -0
  161. package/esm2020/tag/src/tag.component.mjs +29 -0
  162. package/esm2020/tag/src/tag.module.mjs +19 -0
  163. package/esm2020/textarea/src/textarea.component.mjs +5 -5
  164. package/esm2020/textarea/src/textarea.module.mjs +5 -5
  165. package/esm2020/textbox/src/mask-options.directive.mjs +4 -4
  166. package/esm2020/textbox/src/textbox.component.mjs +4 -4
  167. package/esm2020/textbox/src/textbox.module.mjs +5 -5
  168. package/esm2020/time-box/src/time-box.component.mjs +4 -4
  169. package/esm2020/time-box/src/time-box.module.mjs +5 -5
  170. package/esm2020/toast/src/toast.component.mjs +8 -8
  171. package/esm2020/toast/src/toast.module.mjs +5 -5
  172. package/esm2020/toast/src/toast.service.mjs +4 -25
  173. package/esm2020/tooltip/src/tooltip.component.mjs +6 -6
  174. package/esm2020/tooltip/src/tooltip.directive.mjs +5 -5
  175. package/esm2020/tooltip/src/tooltip.module.mjs +5 -5
  176. package/esm2020/tree-view/src/tree-view.component.mjs +5 -5
  177. package/esm2020/tree-view/src/tree-view.module.mjs +5 -5
  178. package/esm2020/uploader/src/uploader.component.mjs +5 -5
  179. package/esm2020/uploader/src/uploader.module.mjs +5 -5
  180. package/fesm2015/acorex-components-action-sheet.mjs +15 -15
  181. package/fesm2015/acorex-components-action-sheet.mjs.map +1 -1
  182. package/fesm2015/acorex-components-alert.mjs +15 -18
  183. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  184. package/fesm2015/acorex-components-avatar.mjs +11 -12
  185. package/fesm2015/acorex-components-avatar.mjs.map +1 -1
  186. package/fesm2015/acorex-components-badge.mjs +10 -12
  187. package/fesm2015/acorex-components-badge.mjs.map +1 -1
  188. package/fesm2015/acorex-components-breadcrumbs.mjs +21 -13
  189. package/fesm2015/acorex-components-breadcrumbs.mjs.map +1 -1
  190. package/fesm2015/acorex-components-button.mjs +21 -18
  191. package/fesm2015/acorex-components-button.mjs.map +1 -1
  192. package/fesm2015/acorex-components-calendar.mjs +12 -14
  193. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  194. package/fesm2015/acorex-components-checkbox.mjs +8 -8
  195. package/fesm2015/acorex-components-checkbox.mjs.map +1 -1
  196. package/fesm2015/acorex-components-chips.mjs +55 -0
  197. package/fesm2015/acorex-components-chips.mjs.map +1 -0
  198. package/fesm2015/acorex-components-collapse.mjs +11 -11
  199. package/fesm2015/acorex-components-collapse.mjs.map +1 -1
  200. package/fesm2015/acorex-components-color-palette.mjs +34 -36
  201. package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
  202. package/fesm2015/acorex-components-color-picker.mjs +15 -17
  203. package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
  204. package/fesm2015/acorex-components-common.mjs +49 -49
  205. package/fesm2015/acorex-components-common.mjs.map +1 -1
  206. package/fesm2015/acorex-components-context-menu.mjs +8 -8
  207. package/fesm2015/acorex-components-context-menu.mjs.map +1 -1
  208. package/fesm2015/acorex-components-data-pager.mjs +68 -69
  209. package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
  210. package/fesm2015/acorex-components-data-table.mjs +14 -14
  211. package/fesm2015/acorex-components-data-table.mjs.map +1 -1
  212. package/fesm2015/acorex-components-date-picker.mjs +14 -15
  213. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  214. package/fesm2015/acorex-components-decorators.mjs +43 -43
  215. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  216. package/fesm2015/acorex-components-dialog.mjs +16 -16
  217. package/fesm2015/acorex-components-dialog.mjs.map +1 -1
  218. package/fesm2015/acorex-components-drawer.mjs +18 -26
  219. package/fesm2015/acorex-components-drawer.mjs.map +1 -1
  220. package/fesm2015/acorex-components-dropdown.mjs +7 -7
  221. package/fesm2015/acorex-components-dropdown.mjs.map +1 -1
  222. package/fesm2015/acorex-components-form.mjs +21 -28
  223. package/fesm2015/acorex-components-form.mjs.map +1 -1
  224. package/fesm2015/acorex-components-image.mjs +8 -8
  225. package/fesm2015/acorex-components-image.mjs.map +1 -1
  226. package/fesm2015/acorex-components-label.mjs +8 -8
  227. package/fesm2015/acorex-components-label.mjs.map +1 -1
  228. package/fesm2015/acorex-components-loading.mjs +21 -27
  229. package/fesm2015/acorex-components-loading.mjs.map +1 -1
  230. package/fesm2015/acorex-components-menu.mjs +11 -12
  231. package/fesm2015/acorex-components-menu.mjs.map +1 -1
  232. package/fesm2015/acorex-components-mixin.mjs +6 -6
  233. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  234. package/fesm2015/acorex-components-number-box.mjs +11 -13
  235. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  236. package/fesm2015/acorex-components-page.mjs +10 -10
  237. package/fesm2015/acorex-components-page.mjs.map +1 -1
  238. package/fesm2015/acorex-components-password-box.mjs +11 -13
  239. package/fesm2015/acorex-components-password-box.mjs.map +1 -1
  240. package/fesm2015/acorex-components-popover.mjs +7 -7
  241. package/fesm2015/acorex-components-popover.mjs.map +1 -1
  242. package/fesm2015/acorex-components-popup.mjs +12 -14
  243. package/fesm2015/acorex-components-popup.mjs.map +1 -1
  244. package/fesm2015/acorex-components-progress-bar.mjs +9 -9
  245. package/fesm2015/acorex-components-progress-bar.mjs.map +1 -1
  246. package/fesm2015/acorex-components-radio.mjs +16 -11
  247. package/fesm2015/acorex-components-radio.mjs.map +1 -1
  248. package/fesm2015/acorex-components-range-slider.mjs +9 -9
  249. package/fesm2015/acorex-components-range-slider.mjs.map +1 -1
  250. package/fesm2015/acorex-components-rating.mjs +8 -8
  251. package/fesm2015/acorex-components-rating.mjs.map +1 -1
  252. package/fesm2015/acorex-components-result.mjs +9 -9
  253. package/fesm2015/acorex-components-result.mjs.map +1 -1
  254. package/fesm2015/acorex-components-search-box.mjs +13 -14
  255. package/fesm2015/acorex-components-search-box.mjs.map +1 -1
  256. package/fesm2015/acorex-components-select-box.mjs +24 -20
  257. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  258. package/fesm2015/acorex-components-selection-list.mjs +8 -9
  259. package/fesm2015/acorex-components-selection-list.mjs.map +1 -1
  260. package/fesm2015/acorex-components-switch.mjs +8 -8
  261. package/fesm2015/acorex-components-switch.mjs.map +1 -1
  262. package/fesm2015/acorex-components-tabs.mjs +17 -23
  263. package/fesm2015/acorex-components-tabs.mjs.map +1 -1
  264. package/fesm2015/acorex-components-tag.mjs +52 -0
  265. package/fesm2015/acorex-components-tag.mjs.map +1 -0
  266. package/fesm2015/acorex-components-textarea.mjs +8 -8
  267. package/fesm2015/acorex-components-textarea.mjs.map +1 -1
  268. package/fesm2015/acorex-components-textbox.mjs +10 -10
  269. package/fesm2015/acorex-components-textbox.mjs.map +1 -1
  270. package/fesm2015/acorex-components-time-box.mjs +7 -7
  271. package/fesm2015/acorex-components-time-box.mjs.map +1 -1
  272. package/fesm2015/acorex-components-toast.mjs +14 -35
  273. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  274. package/fesm2015/acorex-components-tooltip.mjs +13 -13
  275. package/fesm2015/acorex-components-tooltip.mjs.map +1 -1
  276. package/fesm2015/acorex-components-tree-view.mjs +8 -8
  277. package/fesm2015/acorex-components-tree-view.mjs.map +1 -1
  278. package/fesm2015/acorex-components-uploader.mjs +8 -8
  279. package/fesm2015/acorex-components-uploader.mjs.map +1 -1
  280. package/fesm2020/acorex-components-action-sheet.mjs +15 -15
  281. package/fesm2020/acorex-components-action-sheet.mjs.map +1 -1
  282. package/fesm2020/acorex-components-alert.mjs +15 -18
  283. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  284. package/fesm2020/acorex-components-avatar.mjs +11 -12
  285. package/fesm2020/acorex-components-avatar.mjs.map +1 -1
  286. package/fesm2020/acorex-components-badge.mjs +10 -12
  287. package/fesm2020/acorex-components-badge.mjs.map +1 -1
  288. package/fesm2020/acorex-components-breadcrumbs.mjs +21 -13
  289. package/fesm2020/acorex-components-breadcrumbs.mjs.map +1 -1
  290. package/fesm2020/acorex-components-button.mjs +21 -18
  291. package/fesm2020/acorex-components-button.mjs.map +1 -1
  292. package/fesm2020/acorex-components-calendar.mjs +12 -14
  293. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  294. package/fesm2020/acorex-components-checkbox.mjs +8 -8
  295. package/fesm2020/acorex-components-checkbox.mjs.map +1 -1
  296. package/fesm2020/acorex-components-chips.mjs +55 -0
  297. package/fesm2020/acorex-components-chips.mjs.map +1 -0
  298. package/fesm2020/acorex-components-collapse.mjs +11 -11
  299. package/fesm2020/acorex-components-collapse.mjs.map +1 -1
  300. package/fesm2020/acorex-components-color-palette.mjs +34 -36
  301. package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
  302. package/fesm2020/acorex-components-color-picker.mjs +15 -17
  303. package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
  304. package/fesm2020/acorex-components-common.mjs +49 -49
  305. package/fesm2020/acorex-components-common.mjs.map +1 -1
  306. package/fesm2020/acorex-components-context-menu.mjs +8 -8
  307. package/fesm2020/acorex-components-context-menu.mjs.map +1 -1
  308. package/fesm2020/acorex-components-data-pager.mjs +68 -69
  309. package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
  310. package/fesm2020/acorex-components-data-table.mjs +14 -14
  311. package/fesm2020/acorex-components-data-table.mjs.map +1 -1
  312. package/fesm2020/acorex-components-date-picker.mjs +14 -15
  313. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  314. package/fesm2020/acorex-components-decorators.mjs +43 -43
  315. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  316. package/fesm2020/acorex-components-dialog.mjs +16 -16
  317. package/fesm2020/acorex-components-dialog.mjs.map +1 -1
  318. package/fesm2020/acorex-components-drawer.mjs +18 -26
  319. package/fesm2020/acorex-components-drawer.mjs.map +1 -1
  320. package/fesm2020/acorex-components-dropdown.mjs +7 -7
  321. package/fesm2020/acorex-components-dropdown.mjs.map +1 -1
  322. package/fesm2020/acorex-components-form.mjs +21 -28
  323. package/fesm2020/acorex-components-form.mjs.map +1 -1
  324. package/fesm2020/acorex-components-image.mjs +8 -8
  325. package/fesm2020/acorex-components-image.mjs.map +1 -1
  326. package/fesm2020/acorex-components-label.mjs +8 -8
  327. package/fesm2020/acorex-components-label.mjs.map +1 -1
  328. package/fesm2020/acorex-components-loading.mjs +21 -27
  329. package/fesm2020/acorex-components-loading.mjs.map +1 -1
  330. package/fesm2020/acorex-components-menu.mjs +11 -12
  331. package/fesm2020/acorex-components-menu.mjs.map +1 -1
  332. package/fesm2020/acorex-components-mixin.mjs +6 -6
  333. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  334. package/fesm2020/acorex-components-number-box.mjs +11 -13
  335. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  336. package/fesm2020/acorex-components-page.mjs +10 -10
  337. package/fesm2020/acorex-components-page.mjs.map +1 -1
  338. package/fesm2020/acorex-components-password-box.mjs +11 -13
  339. package/fesm2020/acorex-components-password-box.mjs.map +1 -1
  340. package/fesm2020/acorex-components-popover.mjs +7 -7
  341. package/fesm2020/acorex-components-popover.mjs.map +1 -1
  342. package/fesm2020/acorex-components-popup.mjs +12 -14
  343. package/fesm2020/acorex-components-popup.mjs.map +1 -1
  344. package/fesm2020/acorex-components-progress-bar.mjs +9 -9
  345. package/fesm2020/acorex-components-progress-bar.mjs.map +1 -1
  346. package/fesm2020/acorex-components-radio.mjs +16 -11
  347. package/fesm2020/acorex-components-radio.mjs.map +1 -1
  348. package/fesm2020/acorex-components-range-slider.mjs +9 -9
  349. package/fesm2020/acorex-components-range-slider.mjs.map +1 -1
  350. package/fesm2020/acorex-components-rating.mjs +8 -8
  351. package/fesm2020/acorex-components-rating.mjs.map +1 -1
  352. package/fesm2020/acorex-components-result.mjs +9 -9
  353. package/fesm2020/acorex-components-result.mjs.map +1 -1
  354. package/fesm2020/acorex-components-search-box.mjs +13 -14
  355. package/fesm2020/acorex-components-search-box.mjs.map +1 -1
  356. package/fesm2020/acorex-components-select-box.mjs +24 -20
  357. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  358. package/fesm2020/acorex-components-selection-list.mjs +8 -9
  359. package/fesm2020/acorex-components-selection-list.mjs.map +1 -1
  360. package/fesm2020/acorex-components-switch.mjs +8 -8
  361. package/fesm2020/acorex-components-switch.mjs.map +1 -1
  362. package/fesm2020/acorex-components-tabs.mjs +17 -23
  363. package/fesm2020/acorex-components-tabs.mjs.map +1 -1
  364. package/fesm2020/acorex-components-tag.mjs +52 -0
  365. package/fesm2020/acorex-components-tag.mjs.map +1 -0
  366. package/fesm2020/acorex-components-textarea.mjs +8 -8
  367. package/fesm2020/acorex-components-textarea.mjs.map +1 -1
  368. package/fesm2020/acorex-components-textbox.mjs +10 -10
  369. package/fesm2020/acorex-components-textbox.mjs.map +1 -1
  370. package/fesm2020/acorex-components-time-box.mjs +7 -7
  371. package/fesm2020/acorex-components-time-box.mjs.map +1 -1
  372. package/fesm2020/acorex-components-toast.mjs +14 -35
  373. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  374. package/fesm2020/acorex-components-tooltip.mjs +13 -13
  375. package/fesm2020/acorex-components-tooltip.mjs.map +1 -1
  376. package/fesm2020/acorex-components-tree-view.mjs +8 -8
  377. package/fesm2020/acorex-components-tree-view.mjs.map +1 -1
  378. package/fesm2020/acorex-components-uploader.mjs +8 -8
  379. package/fesm2020/acorex-components-uploader.mjs.map +1 -1
  380. package/mixin/src/base-components.class.d.ts +2 -2
  381. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  382. package/mixin/src/button-mixin.class.d.ts +2 -2
  383. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  384. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  385. package/mixin/src/datalist-component.class.d.ts +10 -10
  386. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  387. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  388. package/mixin/src/loading-mixin.class.d.ts +2 -2
  389. package/mixin/src/mixin.class.d.ts +61 -61
  390. package/mixin/src/page-component.class.d.ts +2 -2
  391. package/mixin/src/selection-component.class.d.ts +2 -2
  392. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  393. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  394. package/mixin/src/value-mixin.class.d.ts +8 -8
  395. package/number-box/src/number-box.component.d.ts +1 -2
  396. package/package.json +17 -1
  397. package/password-box/src/password-box.component.d.ts +1 -1
  398. package/radio/src/radio.component.d.ts +1 -0
  399. package/result/src/result.component.d.ts +1 -1
  400. package/scss/_mixin.scss +1 -0
  401. package/scss/_variable.scss +1 -0
  402. package/scss/index.scss +2 -0
  403. package/select-box/src/selectbox.component.d.ts +2 -2
  404. package/tabs/src/tab-item.component.d.ts +2 -2
  405. package/tabs/src/tabs.class.d.ts +1 -1
  406. package/tag/index.d.ts +5 -0
  407. package/tag/public-api.d.ts +2 -0
  408. package/tag/src/tag.component.d.ts +11 -0
  409. package/tag/src/tag.module.d.ts +8 -0
  410. package/toast/src/toast.service.d.ts +0 -3
  411. package/tooltip/src/tooltip.directive.d.ts +1 -1
@@ -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: "14.2.2", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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: "14.2.2", ngImport: i0, type: AXDataColumnComponent, decorators: [{
26
+ AXDataColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDataColumnComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
+ AXDataColumnComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", 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: "14.2.12", ngImport: i0, type: AXDataColumnComponent, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: 'ax-data-column',
@@ -159,11 +159,11 @@ class AXDataTableComponent extends AXBaseComponentMixin {
159
159
  this._fetchData();
160
160
  }
161
161
  }
162
- AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", 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: "14.2.2", type: AXDataTableComponent, selector: "ax-data-table", inputs: { rowTemplate: "rowTemplate", emptyTemplate: "emptyTemplate", showHeader: "showHeader", pageSize: "pageSize", fetchDataMode: "fetchDataMode", items: "items" }, outputs: { onPageChanged: "onPageChanged" }, host: { classAttribute: "ax-data-table" }, 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>", 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: "14.2.2", ngImport: i0, type: AXDataTableComponent, decorators: [{
162
+ AXDataTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", 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: "14.2.12", 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: "14.2.12", ngImport: i0, type: AXDataTableComponent, decorators: [{
165
165
  type: Component,
166
- args: [{ selector: 'ax-data-table', host: { class: '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>" }]
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: [{
168
168
  type: ContentChildren,
169
169
  args: [AXDataColumnComponent]
@@ -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: "14.2.2", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
192
- AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", 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: "14.2.2", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
191
+ AXDataColumnCellTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
192
+ AXDataColumnCellTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", 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: "14.2.12", 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: "14.2.2", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
- AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", 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: "14.2.2", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXDataTableModule, decorators: [{
205
+ AXDataTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDataTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
+ AXDataTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", 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: "14.2.12", ngImport: i0, type: AXDataTableModule, imports: [MODULES] });
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDataTableModule, decorators: [{
209
209
  type: NgModule,
210
210
  args: [{
211
211
  declarations: [...COMPONENT],
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-data-table.mjs","sources":["../../../../projects/acorex/components/data-table/src/data-column.directive.ts","../../../../projects/acorex/components/data-table/src/data-table.component.ts","../../../../projects/acorex/components/data-table/src/data-table.component.html","../../../../projects/acorex/components/data-table/src/data-column-cell-template.directive.ts","../../../../projects/acorex/components/data-table/src/data-table.module.ts","../../../../projects/acorex/components/data-table/acorex-components-data-table.ts"],"sourcesContent":["import { Input, ContentChild, Directive, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'ax-data-column',\r\n})\r\nexport class AXDataColumnComponent {\r\n\r\n @Input(\"headerTemplate\")\r\n _inputHeaderTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(\"header\", { static: true })\r\n _contentHeaderTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(TemplateRef, { static: true })\r\n _defaultTemplate?: TemplateRef<any>;\r\n\r\n get headerTemplate():TemplateRef<any>\r\n {\r\n return this._inputHeaderTemplate! || this._contentHeaderTemplate ;\r\n }\r\n\r\n\r\n @Input(\"cellTemplate\")\r\n _inputCellTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(\"cell\", { static: true })\r\n _contentCellTemplate?: TemplateRef<any>;\r\n\r\n get cellTemplate():TemplateRef<any>\r\n {\r\n return this._inputCellTemplate! || this._contentCellTemplate || this._defaultTemplate;\r\n }\r\n\r\n // @ContentChild(AXDataColumnCellTemplateDirective, { static: true })\r\n // cellTemplate?: AXDataColumnCellTemplateDirective;\r\n\r\n @Input()\r\n valueField: string;\r\n\r\n @Input()\r\n caption: string;\r\n\r\n @Input()\r\n width: string | number = 'auto';\r\n}\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n ContentChildren,\r\n QueryList,\r\n TemplateRef,\r\n EventEmitter,\r\n Output,\r\n} from '@angular/core';\r\nimport {\r\n AXPagedComponent,\r\n AXPagedComponentInterface,\r\n AXValueChangedEvent,\r\n} from '@acorex/components/common';\r\n\r\nimport { AXDataColumnComponent } from './data-column.directive';\r\nimport { AXBaseComponentMixin, AXDataListFetchDataCallback, AXDataListItems } from '@acorex/components/mixin';\r\n\r\n\r\n@Component({\r\n selector: 'ax-data-table',\r\n templateUrl: './data-table.component.html',\r\n host: { class: 'ax-data-table' },\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }],\r\n})\r\nexport class AXDataTableComponent extends AXBaseComponentMixin implements AXPagedComponentInterface {\r\n\r\n @ContentChildren(AXDataColumnComponent)\r\n protected _columns: QueryList<AXDataColumnComponent> = {} as QueryList<AXDataColumnComponent>;\r\n\r\n @Output()\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>> = new EventEmitter<AXValueChangedEvent<number>>();\r\n\r\n @Input()\r\n rowTemplate?: TemplateRef<any>;\r\n\r\n @Input()\r\n emptyTemplate?: TemplateRef<any>;\r\n\r\n @Input()\r\n showHeader: boolean = true;\r\n\r\n private _pageSize: number = 20;\r\n @Input()\r\n public get pageSize(): number {\r\n return this._pageSize;\r\n }\r\n public set pageSize(v: number) {\r\n this._pageSize = v;\r\n }\r\n\r\n @Input()\r\n fetchDataMode: 'auto' | 'manual' = 'auto';\r\n\r\n private _currentPage: number = 1;\r\n _isLoading: boolean = false;\r\n private _loadedItems: any[] = [];\r\n private _totalItems: number = 0;\r\n\r\n private _isLazy: boolean = false;\r\n\r\n get totalCount(): number {\r\n return this._totalItems;\r\n }\r\n\r\n protected get isLazy(): boolean {\r\n return this._isLazy;\r\n }\r\n\r\n protected get loadedCount(): number {\r\n return this._loadedItems?.length || 0;\r\n }\r\n\r\n private _items: AXDataListItems = [];\r\n\r\n @Input()\r\n get items(): AXDataListItems {\r\n return this._items;\r\n }\r\n set items(v: AXDataListItems) {\r\n if (Array.isArray(v)) {\r\n this._items = v;\r\n } else if (typeof v === 'function') {\r\n this._isLazy = true;\r\n this._items = v;\r\n } else {\r\n this._items = [];\r\n }\r\n }\r\n\r\n get displayItems(): any[] {\r\n if (Array.isArray(this.items)) {\r\n return (this._items || []) as any[];\r\n } else if (typeof this._items == 'function') {\r\n return this._loadedItems || [];\r\n }\r\n return [];\r\n }\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n if (this.fetchDataMode == 'auto') this._fetchData();\r\n }\r\n\r\n _fetchData(opts?: { searchQuery?: string }) {\r\n const skip = (this._currentPage - 1) * this.pageSize, take = this.pageSize;\r\n if (\r\n (this.loadedCount >= this.totalCount && this.totalCount != 0) ||\r\n this._isLoading ||\r\n !this._isLazy ||\r\n skip > this.totalCount\r\n ) {\r\n return;\r\n }\r\n if (this._items) {\r\n this._isLoading = true;\r\n this._cdr.markForCheck();\r\n const fetchFn = this._items as AXDataListFetchDataCallback;\r\n fetchFn({ skip, take, searchQuery: opts?.searchQuery })\r\n .then((c) => {\r\n if (Array.isArray(c)) {\r\n this._loadedItems = c;\r\n this._totalItems = c.length;\r\n } else {\r\n this._totalItems = c.total || c.items?.length || 0;\r\n //this._loadedItems = [...new Set(this._loadedItems.concat(c.items))];\r\n this._loadedItems = [...new Set(c.items)];\r\n }\r\n })\r\n .finally(() => {\r\n this._isLoading = false;\r\n this.onPageChanged.next({\r\n component: this,\r\n isUserInteraction: false,\r\n name: 'page',\r\n value: this._currentPage,\r\n });\r\n this._cdr.markForCheck();\r\n });\r\n }\r\n }\r\n\r\n refresh() {\r\n this._totalItems = 0;\r\n this._loadedItems = [];\r\n this._fetchData();\r\n }\r\n\r\n goToPage(page: number) {\r\n this._currentPage = page;\r\n this._fetchData();\r\n }\r\n\r\n}\r\n","<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>","import { ContentChild, Directive, TemplateRef } from '@angular/core';\r\n\r\n@Directive({ selector: 'ax-data-column-cell-template' })\r\nexport class AXDataColumnCellTemplateDirective {\r\n\r\n @ContentChild(TemplateRef, { static: true })\r\n _contentTemplate: TemplateRef<any>;\r\n\r\n\r\n get template(): TemplateRef<any> {\r\n return this._contentTemplate;\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDataTableComponent } from './data-table.component';\r\nimport { AXDataColumnComponent } from './data-column.directive';\r\nimport { AXDataColumnCellTemplateDirective } from './data-column-cell-template.directive';\r\nimport { AXTranslationModule } from '@acorex/core/translation';\r\nimport { AXResultModule } from '@acorex/components/result';\r\nimport { AXLoadingModule } from '@acorex/components/loading';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective];\r\nconst MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule,AXDecoratorModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport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AC;AACvB,oBAAA,SAAS,EAAE,EAAE;iBAChB,CAAA;;;AClBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-data-table.mjs","sources":["../../../../projects/acorex/components/data-table/src/data-column.directive.ts","../../../../projects/acorex/components/data-table/src/data-table.component.ts","../../../../projects/acorex/components/data-table/src/data-table.component.html","../../../../projects/acorex/components/data-table/src/data-column-cell-template.directive.ts","../../../../projects/acorex/components/data-table/src/data-table.module.ts","../../../../projects/acorex/components/data-table/acorex-components-data-table.ts"],"sourcesContent":["import { Input, ContentChild, Directive, TemplateRef } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'ax-data-column',\r\n})\r\nexport class AXDataColumnComponent {\r\n\r\n @Input(\"headerTemplate\")\r\n _inputHeaderTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(\"header\", { static: true })\r\n _contentHeaderTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(TemplateRef, { static: true })\r\n _defaultTemplate?: TemplateRef<any>;\r\n\r\n get headerTemplate():TemplateRef<any>\r\n {\r\n return this._inputHeaderTemplate! || this._contentHeaderTemplate ;\r\n }\r\n\r\n\r\n @Input(\"cellTemplate\")\r\n _inputCellTemplate?: TemplateRef<any>;\r\n\r\n @ContentChild(\"cell\", { static: true })\r\n _contentCellTemplate?: TemplateRef<any>;\r\n\r\n get cellTemplate():TemplateRef<any>\r\n {\r\n return this._inputCellTemplate! || this._contentCellTemplate || this._defaultTemplate;\r\n }\r\n\r\n // @ContentChild(AXDataColumnCellTemplateDirective, { static: true })\r\n // cellTemplate?: AXDataColumnCellTemplateDirective;\r\n\r\n @Input()\r\n valueField: string;\r\n\r\n @Input()\r\n caption: string;\r\n\r\n @Input()\r\n width: string | number = 'auto';\r\n}\r\n","import {\r\n Component,\r\n ViewEncapsulation,\r\n ChangeDetectionStrategy,\r\n ElementRef,\r\n ChangeDetectorRef,\r\n Input,\r\n ContentChildren,\r\n QueryList,\r\n TemplateRef,\r\n EventEmitter,\r\n Output,\r\n} from '@angular/core';\r\nimport {\r\n AXPagedComponent,\r\n AXPagedComponentInterface,\r\n AXValueChangedEvent,\r\n} from '@acorex/components/common';\r\n\r\nimport { AXDataColumnComponent } from './data-column.directive';\r\nimport { AXBaseComponentMixin, AXDataListFetchDataCallback, AXDataListItems } from '@acorex/components/mixin';\r\n\r\n\r\n@Component({\r\n selector: 'ax-data-table',\r\n templateUrl: './data-table.component.html',\r\n styleUrls: ['./data-table.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }],\r\n})\r\nexport class AXDataTableComponent extends AXBaseComponentMixin implements AXPagedComponentInterface {\r\n\r\n @ContentChildren(AXDataColumnComponent)\r\n protected _columns: QueryList<AXDataColumnComponent> = {} as QueryList<AXDataColumnComponent>;\r\n\r\n @Output()\r\n onPageChanged: EventEmitter<AXValueChangedEvent<number>> = new EventEmitter<AXValueChangedEvent<number>>();\r\n\r\n @Input()\r\n rowTemplate?: TemplateRef<any>;\r\n\r\n @Input()\r\n emptyTemplate?: TemplateRef<any>;\r\n\r\n @Input()\r\n showHeader: boolean = true;\r\n\r\n private _pageSize: number = 20;\r\n @Input()\r\n public get pageSize(): number {\r\n return this._pageSize;\r\n }\r\n public set pageSize(v: number) {\r\n this._pageSize = v;\r\n }\r\n\r\n @Input()\r\n fetchDataMode: 'auto' | 'manual' = 'auto';\r\n\r\n private _currentPage: number = 1;\r\n _isLoading: boolean = false;\r\n private _loadedItems: any[] = [];\r\n private _totalItems: number = 0;\r\n\r\n private _isLazy: boolean = false;\r\n\r\n get totalCount(): number {\r\n return this._totalItems;\r\n }\r\n\r\n protected get isLazy(): boolean {\r\n return this._isLazy;\r\n }\r\n\r\n protected get loadedCount(): number {\r\n return this._loadedItems?.length || 0;\r\n }\r\n\r\n private _items: AXDataListItems = [];\r\n\r\n @Input()\r\n get items(): AXDataListItems {\r\n return this._items;\r\n }\r\n set items(v: AXDataListItems) {\r\n if (Array.isArray(v)) {\r\n this._items = v;\r\n } else if (typeof v === 'function') {\r\n this._isLazy = true;\r\n this._items = v;\r\n } else {\r\n this._items = [];\r\n }\r\n }\r\n\r\n get displayItems(): any[] {\r\n if (Array.isArray(this.items)) {\r\n return (this._items || []) as any[];\r\n } else if (typeof this._items == 'function') {\r\n return this._loadedItems || [];\r\n }\r\n return [];\r\n }\r\n\r\n constructor(elementRef: ElementRef, cdr: ChangeDetectorRef) {\r\n super(elementRef, cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n if (this.fetchDataMode == 'auto') this._fetchData();\r\n }\r\n\r\n _fetchData(opts?: { searchQuery?: string }) {\r\n const skip = (this._currentPage - 1) * this.pageSize, take = this.pageSize;\r\n if (\r\n (this.loadedCount >= this.totalCount && this.totalCount != 0) ||\r\n this._isLoading ||\r\n !this._isLazy ||\r\n skip > this.totalCount\r\n ) {\r\n return;\r\n }\r\n if (this._items) {\r\n this._isLoading = true;\r\n this._cdr.markForCheck();\r\n const fetchFn = this._items as AXDataListFetchDataCallback;\r\n fetchFn({ skip, take, searchQuery: opts?.searchQuery })\r\n .then((c) => {\r\n if (Array.isArray(c)) {\r\n this._loadedItems = c;\r\n this._totalItems = c.length;\r\n } else {\r\n this._totalItems = c.total || c.items?.length || 0;\r\n //this._loadedItems = [...new Set(this._loadedItems.concat(c.items))];\r\n this._loadedItems = [...new Set(c.items)];\r\n }\r\n })\r\n .finally(() => {\r\n this._isLoading = false;\r\n this.onPageChanged.next({\r\n component: this,\r\n isUserInteraction: false,\r\n name: 'page',\r\n value: this._currentPage,\r\n });\r\n this._cdr.markForCheck();\r\n });\r\n }\r\n }\r\n\r\n refresh() {\r\n this._totalItems = 0;\r\n this._loadedItems = [];\r\n this._fetchData();\r\n }\r\n\r\n goToPage(page: number) {\r\n this._currentPage = page;\r\n this._fetchData();\r\n }\r\n\r\n}\r\n","<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>","import { ContentChild, Directive, TemplateRef } from '@angular/core';\r\n\r\n@Directive({ selector: 'ax-data-column-cell-template' })\r\nexport class AXDataColumnCellTemplateDirective {\r\n\r\n @ContentChild(TemplateRef, { static: true })\r\n _contentTemplate: TemplateRef<any>;\r\n\r\n\r\n get template(): TemplateRef<any> {\r\n return this._contentTemplate;\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXDataTableComponent } from './data-table.component';\r\nimport { AXDataColumnComponent } from './data-column.directive';\r\nimport { AXDataColumnCellTemplateDirective } from './data-column-cell-template.directive';\r\nimport { AXTranslationModule } from '@acorex/core/translation';\r\nimport { AXResultModule } from '@acorex/components/result';\r\nimport { AXLoadingModule } from '@acorex/components/loading';\r\nimport { AXDecoratorModule } from '@acorex/components/decorators';\r\n\r\nconst COMPONENT = [AXDataTableComponent, AXDataColumnComponent, AXDataColumnCellTemplateDirective];\r\nconst MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule,AXDecoratorModule];\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 AXDataTableModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAKa,qBAAqB,CAAA;AAHlC,IAAA,WAAA,GAAA;AAyCI,QAAA,IAAK,CAAA,KAAA,GAAoB,MAAM,CAAC;KACnC;AA5BG,IAAA,IAAI,cAAc,GAAA;AAEd,QAAA,OAAO,IAAI,CAAC,oBAAqB,IAAI,IAAI,CAAC,sBAAsB,CAAE;KACrE;AASD,IAAA,IAAI,YAAY,GAAA;QAEZ,OAAO,IAAI,CAAC,kBAAmB,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,CAAC,gBAAgB,CAAC;KACzF;;mHA1BQ,qBAAqB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AAC;MAQ1F,iBAAiB,CAAA;;+GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAjB,iBAAiB,EAAA,YAAA,EAAA,CATX,oBAAoB,EAAE,qBAAqB,EAAE,iCAAiC,CAAA,EAAA,OAAA,EAAA,CAChF,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAC,iBAAiB,aADlF,oBAAoB,EAAE,qBAAqB,EAAE,iCAAiC,CAAA,EAAA,CAAA,CAAA;AASpF,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJb,OAAO,CAAA,EAAA,CAAA,CAAA;4FAIX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,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;;;AClBD;;AAEG;;;;"}
@@ -6,18 +6,17 @@ import { EventEmitter, Component, ChangeDetectionStrategy, ViewEncapsulation, Vi
6
6
  import { AXClosbaleComponent } from '@acorex/components/common';
7
7
  import * as i3 from '@acorex/components/calendar';
8
8
  import { AXCalendarBaseComponent, AXCalendarComponent, AXCalendarModule } from '@acorex/components/calendar';
9
- import * as i5 from '@acorex/components/popover';
9
+ import * as i4 from '@acorex/components/popover';
10
10
  import { AXPopoverComponent, AXPopoverModule } from '@acorex/components/popover';
11
11
  import { _InteractiveComponenetMixin, _DropdownComponenetMixin, _ValueComponenetMixin } from '@acorex/components/mixin';
12
12
  import * as i1 from '@acorex/core/platform';
13
13
  import * as i2 from '@angular/common';
14
14
  import { CommonModule } from '@angular/common';
15
- import * as i4 from '@acorex/components/button';
16
- import { AXButtonModule } from '@acorex/components/button';
17
- import * as i6 from '@acorex/components/decorators';
15
+ import * as i5 from '@acorex/components/decorators';
18
16
  import { AXDecoratorModule } from '@acorex/components/decorators';
19
- import * as i7 from '@angular/forms';
17
+ import * as i6 from '@angular/forms';
20
18
  import { FormsModule } from '@angular/forms';
19
+ import { AXButtonModule } from '@acorex/components/button';
21
20
  import { AXTextBoxModule } from '@acorex/components/textbox';
22
21
 
23
22
  const AXBaseDatePickerMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_ValueComponenetMixin(AXCalendarBaseComponent)));
@@ -62,7 +61,7 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
62
61
  (_a = this._calendar) === null || _a === void 0 ? void 0 : _a.navTo(this.value || new AXDateTime(new Date(), this.type));
63
62
  }, 10);
64
63
  }
65
- _handleArrowClickEvent(e) {
64
+ _handleArrowClickEvent() {
66
65
  this.toggle();
67
66
  }
68
67
  _onValueChanged(oldValue, newValue) {
@@ -187,11 +186,11 @@ class AXDatePickerComponent extends AXBaseDatePickerMixin {
187
186
  input.setSelectionRange(start, end);
188
187
  }
189
188
  }
190
- AXDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXDatePickerComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXPlatform }], target: i0.ɵɵFactoryTarget.Component });
191
- AXDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", 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: "14.2.12", 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: "14.2.12", 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: [
192
191
  { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },
193
- ], 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]=\"readonly\"\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 <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 class=\"ax-px-2.5\">\r\n {{displayText}}\r\n </div> -->\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron -ax-rotate-90 ax-transition-all\"\r\n [class.!ax-rotate-90]=\"isOpen\"></ax-icon>\r\n</ax-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.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "type"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange"] }, { kind: "component", type: i5.AXPopoverComponent, selector: "ax-popover", inputs: ["target", "position", "openTrigger", "closeTrigger", "hasBackdrop", "backdropClass", "adaptivityEnabled"], outputs: ["onOpened", "onClosed"] }, { kind: "component", type: i6.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i6.AXDecoratorIconComponent, selector: "ax-icon", inputs: ["icon"] }, { kind: "component", type: i6.AXDecoratorTitleComponent, selector: "ax-title", inputs: ["text"] }, { kind: "component", type: i6.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }, { kind: "directive", type: i7.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: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
194
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", 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\">\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: "14.2.12", ngImport: i0, type: AXDatePickerComponent, decorators: [{
195
194
  type: Component,
196
195
  args: [{ selector: 'ax-date-picker', inputs: [
197
196
  'rtl',
@@ -239,7 +238,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
239
238
  'onNavigate',
240
239
  ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
241
240
  { provide: AXClosbaleComponent, useExisting: AXDatePickerComponent },
242
- ], 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]=\"readonly\"\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 <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 class=\"ax-px-2.5\">\r\n {{displayText}}\r\n </div> -->\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron -ax-rotate-90 ax-transition-all\"\r\n [class.!ax-rotate-90]=\"isOpen\"></ax-icon>\r\n</ax-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\">\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>" }]
243
242
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXPlatform }]; }, propDecorators: { popover: [{
244
243
  type: ViewChild,
245
244
  args: [AXPopoverComponent, { static: true }]
@@ -269,8 +268,8 @@ const MODULES = [
269
268
  ];
270
269
  class AXDatepickerModule {
271
270
  }
272
- AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
273
- AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
271
+ AXDatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
272
+ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: AXDatepickerModule, declarations: [AXDatePickerComponent], imports: [CommonModule,
274
273
  AXCalendarModule,
275
274
  AXTextBoxModule,
276
275
  AXButtonModule,
@@ -278,8 +277,8 @@ AXDatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
278
277
  AXDecoratorModule,
279
278
  AXDateTimeModule,
280
279
  FormsModule], exports: [AXDatePickerComponent] });
281
- AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXDatepickerModule, imports: [MODULES] });
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: AXDatepickerModule, decorators: [{
280
+ AXDatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDatepickerModule, imports: [MODULES] });
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: AXDatepickerModule, decorators: [{
283
282
  type: NgModule,
284
283
  args: [{
285
284
  declarations: [...COMPONENT],
@@ -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(e: AXClickEvent) {\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]=\"readonly\"\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 <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 class=\"ax-px-2.5\">\r\n {{displayText}}\r\n </div> -->\r\n</div>\r\n<ax-button [disabled]=\"disabled\" [tabIndex]=\"-1\" color=\"light\" look=\"blank\" (onClick)=\"_handleArrowClickEvent($event)\">\r\n <ax-icon icon=\"ax-ic ax-ic-chevron -ax-rotate-90 ax-transition-all\"\r\n [class.!ax-rotate-90]=\"isOpen\"></ax-icon>\r\n</ax-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,SA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AA,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\">\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,qBAAs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