@acorex/components 7.5.0 → 7.5.1

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 (399) hide show
  1. package/action-sheet/index.d.ts +1 -1
  2. package/action-sheet/lib/action-sheet.component.d.ts +3 -3
  3. package/avatar/index.d.ts +1 -1
  4. package/breadcrumbs/index.d.ts +2 -2
  5. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +1 -1
  6. package/button/lib/button-item.class.d.ts +1 -1
  7. package/button/lib/button.component.d.ts +1 -1
  8. package/calendar/lib/calendar.class.d.ts +1 -1
  9. package/calendar/lib/calendar.component.d.ts +1 -1
  10. package/collapse/lib/collapse-group.component.d.ts +9 -6
  11. package/collapse/lib/collapse.component.d.ts +6 -6
  12. package/color-box/lib/color-box.component.d.ts +2 -2
  13. package/color-palette/lib/color-palette-input.component.d.ts +3 -3
  14. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  15. package/color-palette/lib/color-palette.class.d.ts +4 -4
  16. package/common/index.d.ts +0 -1
  17. package/common/lib/classes/datalist.class.d.ts +31 -0
  18. package/common/lib/classes/styles.class.d.ts +2 -3
  19. package/common/lib/components/colorlook-component.class.d.ts +2 -2
  20. package/common/lib/components/input-base-value-component.class.d.ts +12 -12
  21. package/common/lib/components/selection-base.component.class.d.ts +2 -1
  22. package/common/lib/directives/delayed-value-changed.directive.d.ts +5 -5
  23. package/common/lib/directives/hotkey.directive.d.ts +2 -2
  24. package/common/lib/directives/responsive.directive.d.ts +1 -1
  25. package/context-menu/lib/context-menu.component.d.ts +1 -1
  26. package/data-table/lib/data-table.component.d.ts +2 -2
  27. package/datetime-box/lib/datetime-box.component.d.ts +3 -3
  28. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  29. package/datetime-picker/index.d.ts +1 -1
  30. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -2
  31. package/dropdown/lib/dropdown-box.component.d.ts +5 -3
  32. package/dropdown/lib/dropdown-panel.component.d.ts +1 -0
  33. package/esm2022/action-sheet/index.mjs +2 -2
  34. package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
  35. package/esm2022/action-sheet/lib/action-sheet.component.mjs +22 -14
  36. package/esm2022/action-sheet/lib/action-sheet.module.mjs +3 -3
  37. package/esm2022/action-sheet/lib/action-sheet.service.mjs +5 -5
  38. package/esm2022/avatar/index.mjs +2 -2
  39. package/esm2022/avatar/lib/avatar-group.component.mjs +1 -1
  40. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  41. package/esm2022/badge/lib/badge.component.mjs +3 -3
  42. package/esm2022/badge/lib/badge.module.mjs +2 -2
  43. package/esm2022/breadcrumbs/index.mjs +3 -3
  44. package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +1 -1
  45. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -2
  46. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +1 -1
  47. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +3 -3
  48. package/esm2022/button/lib/button-item.class.mjs +1 -1
  49. package/esm2022/button/lib/button-item.component.mjs +1 -1
  50. package/esm2022/button/lib/button.component.mjs +3 -3
  51. package/esm2022/button-group/lib/button-group.component.mjs +3 -3
  52. package/esm2022/button-group/lib/button-group.module.mjs +2 -2
  53. package/esm2022/calendar/lib/calendar-range.component.mjs +4 -7
  54. package/esm2022/calendar/lib/calendar.class.mjs +3 -11
  55. package/esm2022/calendar/lib/calendar.component.mjs +28 -29
  56. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  57. package/esm2022/check-box/lib/check-box.component.mjs +9 -9
  58. package/esm2022/check-box/lib/check-box.module.mjs +3 -3
  59. package/esm2022/chips/lib/chips.component.mjs +5 -5
  60. package/esm2022/chips/lib/chips.module.mjs +2 -2
  61. package/esm2022/collapse/lib/collapse-group.component.mjs +17 -12
  62. package/esm2022/collapse/lib/collapse.component.mjs +9 -9
  63. package/esm2022/collapse/lib/collapse.module.mjs +3 -3
  64. package/esm2022/color-box/lib/color-box.component.mjs +7 -7
  65. package/esm2022/color-box/lib/color-box.module.mjs +4 -4
  66. package/esm2022/color-palette/lib/color-palette-input.component.mjs +10 -14
  67. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +29 -31
  68. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +8 -16
  69. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +5 -5
  70. package/esm2022/color-palette/lib/color-palette.class.mjs +2 -2
  71. package/esm2022/color-palette/lib/color-palette.component.mjs +14 -6
  72. package/esm2022/color-palette/lib/color-palette.module.mjs +12 -12
  73. package/esm2022/common/index.mjs +1 -2
  74. package/esm2022/common/lib/classes/components.class.mjs +1 -1
  75. package/esm2022/common/lib/classes/datalist.class.mjs +41 -54
  76. package/esm2022/common/lib/classes/styles.class.mjs +2 -10
  77. package/esm2022/common/lib/common.module.mjs +4 -2
  78. package/esm2022/common/lib/components/button-base-component.class.mjs +4 -4
  79. package/esm2022/common/lib/components/color-component.class.mjs +2 -2
  80. package/esm2022/common/lib/components/colorlook-component.class.mjs +4 -4
  81. package/esm2022/common/lib/components/input-base-value-component.class.mjs +15 -15
  82. package/esm2022/common/lib/components/interactive-component.class.mjs +1 -1
  83. package/esm2022/common/lib/components/look-component.class.mjs +2 -2
  84. package/esm2022/common/lib/components/selection-base.component.class.mjs +10 -4
  85. package/esm2022/common/lib/components/value-component.class.mjs +3 -3
  86. package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
  87. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +16 -14
  88. package/esm2022/common/lib/directives/hotkey.directive.mjs +14 -15
  89. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +7 -9
  90. package/esm2022/common/lib/directives/responsive.directive.mjs +12 -10
  91. package/esm2022/common/lib/directives/ripple.directive.mjs +1 -1
  92. package/esm2022/common/lib/services/dom.service.mjs +2 -2
  93. package/esm2022/common/lib/services/hotkey.service.mjs +4 -5
  94. package/esm2022/common/lib/types/direction.mjs +1 -1
  95. package/esm2022/common/lib/types/orientation.mjs +1 -1
  96. package/esm2022/common/lib/types/placement.mjs +23 -23
  97. package/esm2022/common/lib/types/range.mjs +1 -1
  98. package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
  99. package/esm2022/context-menu/lib/context-menu.module.mjs +7 -17
  100. package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
  101. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +1 -1
  102. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +21 -8
  103. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
  104. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +17 -5
  105. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -7
  106. package/esm2022/data-pager/lib/data-pager.component.mjs +2 -2
  107. package/esm2022/data-pager/lib/data-pager.module.mjs +30 -16
  108. package/esm2022/data-table/lib/data-column.directive.mjs +2 -2
  109. package/esm2022/data-table/lib/data-table.component.mjs +2 -2
  110. package/esm2022/data-table/lib/data-table.module.mjs +7 -7
  111. package/esm2022/datetime-box/lib/datetime-box.component.mjs +7 -7
  112. package/esm2022/datetime-box/lib/datetime-box.module.mjs +7 -7
  113. package/esm2022/datetime-input/lib/datetime-input.component.mjs +134 -134
  114. package/esm2022/datetime-input/lib/datetime-input.module.mjs +4 -4
  115. package/esm2022/datetime-picker/index.mjs +2 -2
  116. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +4 -4
  117. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +4 -4
  118. package/esm2022/decorators/lib/components/clear-button.component.mjs +2 -2
  119. package/esm2022/decorators/lib/components/close-button.component.mjs +8 -4
  120. package/esm2022/decorators/lib/components/generic-content.component.mjs +1 -1
  121. package/esm2022/decorators/lib/components/icon.component.mjs +2 -2
  122. package/esm2022/dialog/lib/dialog.component.mjs +3 -3
  123. package/esm2022/dialog/lib/dialog.module.mjs +26 -10
  124. package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
  125. package/esm2022/drawer/lib/drawer.component.mjs +2 -2
  126. package/esm2022/drawer/lib/drawer.module.mjs +3 -3
  127. package/esm2022/dropdown/lib/dropdown-box.class.mjs +1 -1
  128. package/esm2022/dropdown/lib/dropdown-box.component.mjs +14 -11
  129. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +5 -4
  130. package/esm2022/dropdown/lib/dropdown.module.mjs +29 -9
  131. package/esm2022/form/index.mjs +2 -2
  132. package/esm2022/form/lib/form-field.component.mjs +4 -4
  133. package/esm2022/form/lib/form.component.mjs +3 -4
  134. package/esm2022/form/lib/form.config.mjs +6 -6
  135. package/esm2022/form/lib/form.module.mjs +3 -11
  136. package/esm2022/form/lib/validation-summary.component.mjs +40 -30
  137. package/esm2022/form/lib/validation.class.mjs +1 -1
  138. package/esm2022/image/lib/image.component.mjs +1 -1
  139. package/esm2022/image/lib/image.module.mjs +2 -2
  140. package/esm2022/label/lib/label.component.mjs +4 -8
  141. package/esm2022/label/lib/label.module.mjs +2 -2
  142. package/esm2022/list/lib/list.component.mjs +67 -44
  143. package/esm2022/list/lib/list.module.mjs +3 -3
  144. package/esm2022/loading/index.mjs +2 -2
  145. package/esm2022/loading/lib/loading-spinner.component.mjs +13 -7
  146. package/esm2022/loading/lib/loading.component.mjs +8 -16
  147. package/esm2022/loading/lib/loading.config.mjs +2 -2
  148. package/esm2022/loading/lib/loading.directive.mjs +2 -2
  149. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +1 -2
  150. package/esm2022/menu/lib/menu.component.mjs +2 -2
  151. package/esm2022/menu/lib/menu2.component.mjs +2 -2
  152. package/esm2022/mixin/lib/base-components.class.mjs +2 -3
  153. package/esm2022/mixin/lib/base-menu-mixin.class.mjs +1 -1
  154. package/esm2022/mixin/lib/button-mixin.class.mjs +1 -1
  155. package/esm2022/mixin/lib/clickable-mixin.class.mjs +8 -8
  156. package/esm2022/mixin/lib/color-look-mixing.class.mjs +3 -3
  157. package/esm2022/mixin/lib/constratctor.mjs +1 -1
  158. package/esm2022/mixin/lib/datalist-component.class.mjs +3 -5
  159. package/esm2022/mixin/lib/datalist.class.mjs +5 -6
  160. package/esm2022/mixin/lib/dropdown-mixin.class.mjs +2 -4
  161. package/esm2022/mixin/lib/interactive-mixin.class.mjs +29 -28
  162. package/esm2022/mixin/lib/mixin.class.mjs +13 -13
  163. package/esm2022/mixin/lib/page-component.class.mjs +3 -3
  164. package/esm2022/mixin/lib/selection-component.class.mjs +1 -1
  165. package/esm2022/mixin/lib/textbox-mixin.class.mjs +29 -20
  166. package/esm2022/mixin/lib/value-mixin.class.mjs +1 -1
  167. package/esm2022/notification/index.mjs +2 -2
  168. package/esm2022/notification/lib/notification.class.mjs +1 -1
  169. package/esm2022/notification/lib/notification.config.mjs +1 -1
  170. package/esm2022/notification/lib/notification.module.mjs +21 -9
  171. package/esm2022/notification/lib/notification.service.mjs +11 -11
  172. package/esm2022/number-box/lib/number-box.component.mjs +6 -6
  173. package/esm2022/number-box/lib/number-box.module.mjs +6 -16
  174. package/esm2022/otp/lib/otp.component.mjs +5 -5
  175. package/esm2022/otp/lib/otp.module.mjs +2 -2
  176. package/esm2022/page/lib/base-page.class.mjs +6 -4
  177. package/esm2022/page/lib/page.component.mjs +3 -3
  178. package/esm2022/page/lib/page.module.mjs +1 -1
  179. package/esm2022/password-box/lib/password-box.component.mjs +6 -6
  180. package/esm2022/password-box/lib/password-box.module.mjs +7 -15
  181. package/esm2022/picker/lib/picker-column.directive.mjs +9 -16
  182. package/esm2022/picker/lib/picker.component.mjs +2 -2
  183. package/esm2022/picker/lib/picker.module.mjs +3 -3
  184. package/esm2022/popover/lib/popover.component.mjs +1 -1
  185. package/esm2022/popover/lib/popover.module.mjs +2 -2
  186. package/esm2022/popup/index.mjs +2 -2
  187. package/esm2022/popup/lib/popup.interface.mjs +1 -1
  188. package/esm2022/popup/lib/popup.module.mjs +2 -2
  189. package/esm2022/progress-bar/lib/progress-bar.component.mjs +5 -5
  190. package/esm2022/progress-bar/lib/progress-bar.module.mjs +2 -2
  191. package/esm2022/radio/lib/radio.component.mjs +8 -8
  192. package/esm2022/radio/lib/radio.module.mjs +2 -2
  193. package/esm2022/range-slider/lib/range-slider.component.mjs +9 -9
  194. package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
  195. package/esm2022/result/lib/result.component.mjs +4 -4
  196. package/esm2022/result/lib/result.module.mjs +2 -2
  197. package/esm2022/routing-progress/acorex-components-routing-progress.mjs +5 -0
  198. package/esm2022/routing-progress/index.mjs +3 -0
  199. package/esm2022/routing-progress/lib/routing-progress.component.mjs +58 -0
  200. package/esm2022/routing-progress/lib/routing-progress.module.mjs +21 -0
  201. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +4 -2
  202. package/esm2022/scheduler/lib/scheduler.component.mjs +1 -1
  203. package/esm2022/search-box/lib/search-box.component.mjs +43 -19
  204. package/esm2022/search-box/lib/search-box.module.mjs +8 -8
  205. package/esm2022/select-box/index.mjs +2 -2
  206. package/esm2022/select-box/lib/select-box.component.mjs +4 -4
  207. package/esm2022/select-box/lib/select-box.module.mjs +9 -9
  208. package/esm2022/select-box/lib/select-box2.component.mjs +110 -16
  209. package/esm2022/selection-list/lib/selection-list.component.mjs +10 -10
  210. package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
  211. package/esm2022/switch/lib/switch-content.component.mjs +1 -1
  212. package/esm2022/switch/lib/switch.component.mjs +11 -18
  213. package/esm2022/switch/lib/switch.module.mjs +4 -4
  214. package/esm2022/tabs/lib/tab-content.directive.mjs +1 -1
  215. package/esm2022/tabs/lib/tabs.component.mjs +2 -2
  216. package/esm2022/tabs/lib/tabs.module.mjs +5 -5
  217. package/esm2022/tag/lib/tag.component.mjs +4 -4
  218. package/esm2022/tag/lib/tag.module.mjs +2 -2
  219. package/esm2022/text-area/lib/text-area.component.mjs +14 -16
  220. package/esm2022/text-area/lib/text-area.module.mjs +2 -2
  221. package/esm2022/text-box/lib/text-box.component.mjs +6 -6
  222. package/esm2022/text-box/lib/text-box.module.mjs +4 -18
  223. package/esm2022/toast/index.mjs +2 -2
  224. package/esm2022/toast/lib/toast.class.mjs +1 -1
  225. package/esm2022/toast/lib/toast.component.mjs +4 -4
  226. package/esm2022/toast/lib/toast.config.mjs +3 -3
  227. package/esm2022/toast/lib/toast.module.mjs +6 -10
  228. package/esm2022/toast/lib/toast.service.mjs +16 -14
  229. package/esm2022/tooltip/lib/tooltip.component.mjs +2 -2
  230. package/esm2022/tooltip/lib/tooltip.directive.mjs +4 -4
  231. package/esm2022/tooltip/lib/tooltip.module.mjs +3 -3
  232. package/esm2022/uploader/index.mjs +3 -1
  233. package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +3 -3
  234. package/esm2022/uploader/lib/uploader-list.component.mjs +41 -7
  235. package/esm2022/uploader/lib/uploader-overlay.component.mjs +2 -2
  236. package/esm2022/uploader/lib/uploader-zone.directive.mjs +53 -0
  237. package/esm2022/uploader/lib/uploader.module.mjs +26 -7
  238. package/esm2022/uploader/lib/uploader.service.mjs +30 -0
  239. package/fesm2022/acorex-components-action-sheet.mjs +23 -15
  240. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  241. package/fesm2022/acorex-components-avatar.mjs +15 -15
  242. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  243. package/fesm2022/acorex-components-badge.mjs +2 -2
  244. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  245. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  246. package/fesm2022/acorex-components-button-group.mjs +2 -2
  247. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  248. package/fesm2022/acorex-components-button.mjs +2 -2
  249. package/fesm2022/acorex-components-button.mjs.map +1 -1
  250. package/fesm2022/acorex-components-calendar.mjs +26 -38
  251. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  252. package/fesm2022/acorex-components-check-box.mjs +9 -9
  253. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  254. package/fesm2022/acorex-components-chips.mjs +4 -4
  255. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  256. package/fesm2022/acorex-components-collapse.mjs +23 -18
  257. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  258. package/fesm2022/acorex-components-color-box.mjs +6 -6
  259. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  260. package/fesm2022/acorex-components-color-palette.mjs +53 -59
  261. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  262. package/fesm2022/acorex-components-common.mjs +136 -181
  263. package/fesm2022/acorex-components-common.mjs.map +1 -1
  264. package/fesm2022/acorex-components-context-menu.mjs +6 -16
  265. package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
  266. package/fesm2022/acorex-components-data-pager.mjs +70 -19
  267. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  268. package/fesm2022/acorex-components-data-table.mjs +1 -1
  269. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  270. package/fesm2022/acorex-components-datetime-box.mjs +7 -7
  271. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  272. package/fesm2022/acorex-components-datetime-input.mjs +133 -133
  273. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  274. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  275. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  276. package/fesm2022/acorex-components-decorators.mjs +8 -4
  277. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  278. package/fesm2022/acorex-components-dialog.mjs +20 -4
  279. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  280. package/fesm2022/acorex-components-drawer.mjs +1 -1
  281. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  282. package/fesm2022/acorex-components-dropdown.mjs +43 -19
  283. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  284. package/fesm2022/acorex-components-form.mjs +76 -75
  285. package/fesm2022/acorex-components-form.mjs.map +1 -1
  286. package/fesm2022/acorex-components-image.mjs.map +1 -1
  287. package/fesm2022/acorex-components-label.mjs +2 -6
  288. package/fesm2022/acorex-components-label.mjs.map +1 -1
  289. package/fesm2022/acorex-components-list.mjs +66 -43
  290. package/fesm2022/acorex-components-list.mjs.map +1 -1
  291. package/fesm2022/acorex-components-loading.mjs +19 -21
  292. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  293. package/fesm2022/acorex-components-menu.mjs +4 -5
  294. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  295. package/fesm2022/acorex-components-mixin.mjs +70 -66
  296. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  297. package/fesm2022/acorex-components-notification.mjs +43 -31
  298. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  299. package/fesm2022/acorex-components-number-box.mjs +7 -17
  300. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  301. package/fesm2022/acorex-components-otp.mjs +4 -4
  302. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  303. package/fesm2022/acorex-components-page.mjs +6 -4
  304. package/fesm2022/acorex-components-page.mjs.map +1 -1
  305. package/fesm2022/acorex-components-password-box.mjs +7 -15
  306. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  307. package/fesm2022/acorex-components-picker.mjs +10 -17
  308. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  309. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  310. package/fesm2022/acorex-components-popup.mjs +1 -1
  311. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  312. package/fesm2022/acorex-components-progress-bar.mjs +3 -3
  313. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  314. package/fesm2022/acorex-components-radio.mjs +6 -6
  315. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  316. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  317. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  318. package/fesm2022/acorex-components-result.mjs +2 -2
  319. package/fesm2022/acorex-components-result.mjs.map +1 -1
  320. package/fesm2022/acorex-components-routing-progress.mjs +83 -0
  321. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -0
  322. package/fesm2022/acorex-components-scheduler.mjs +3 -1
  323. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  324. package/fesm2022/acorex-components-search-box.mjs +47 -24
  325. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  326. package/fesm2022/acorex-components-select-box.mjs +197 -106
  327. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  328. package/fesm2022/acorex-components-selection-list.mjs +12 -12
  329. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  330. package/fesm2022/acorex-components-switch.mjs +9 -16
  331. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  332. package/fesm2022/acorex-components-tabs.mjs +3 -3
  333. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  334. package/fesm2022/acorex-components-tag.mjs +2 -2
  335. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  336. package/fesm2022/acorex-components-text-area.mjs +13 -15
  337. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  338. package/fesm2022/acorex-components-text-box.mjs +8 -22
  339. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  340. package/fesm2022/acorex-components-toast.mjs +43 -45
  341. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  342. package/fesm2022/acorex-components-tooltip.mjs +2 -2
  343. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  344. package/fesm2022/acorex-components-uploader.mjs +146 -18
  345. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  346. package/form/index.d.ts +1 -1
  347. package/form/lib/form.component.d.ts +2 -2
  348. package/form/lib/validation-summary.component.d.ts +3 -3
  349. package/list/lib/list.component.d.ts +18 -7
  350. package/loading/index.d.ts +1 -1
  351. package/loading/lib/loading.component.d.ts +1 -1
  352. package/mixin/lib/base-components.class.d.ts +2 -2
  353. package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
  354. package/mixin/lib/button-mixin.class.d.ts +2 -2
  355. package/mixin/lib/clickable-mixin.class.d.ts +9 -9
  356. package/mixin/lib/color-look-mixing.class.d.ts +2 -2
  357. package/mixin/lib/datalist-component.class.d.ts +10 -10
  358. package/mixin/lib/datalist.class.d.ts +1 -1
  359. package/mixin/lib/dropdown-mixin.class.d.ts +3 -3
  360. package/mixin/lib/interactive-mixin.class.d.ts +25 -22
  361. package/mixin/lib/mixin.class.d.ts +62 -62
  362. package/mixin/lib/page-component.class.d.ts +4 -4
  363. package/mixin/lib/selection-component.class.d.ts +3 -3
  364. package/mixin/lib/sizable-mixin.class.d.ts +2 -2
  365. package/mixin/lib/textbox-mixin.class.d.ts +20 -20
  366. package/mixin/lib/value-mixin.class.d.ts +9 -9
  367. package/notification/index.d.ts +1 -1
  368. package/notification/lib/notification.class.d.ts +3 -3
  369. package/notification/lib/notification.config.d.ts +1 -1
  370. package/number-box/lib/number-box.component.d.ts +3 -3
  371. package/otp/lib/otp.component.d.ts +3 -3
  372. package/package.json +7 -1
  373. package/page/lib/base-page.class.d.ts +1 -1
  374. package/page/lib/page.component.d.ts +1 -1
  375. package/password-box/lib/password-box.component.d.ts +4 -4
  376. package/popup/index.d.ts +1 -1
  377. package/popup/lib/popup.interface.d.ts +2 -2
  378. package/routing-progress/README.md +3 -0
  379. package/routing-progress/index.d.ts +2 -0
  380. package/routing-progress/lib/routing-progress.component.d.ts +14 -0
  381. package/routing-progress/lib/routing-progress.module.d.ts +8 -0
  382. package/search-box/lib/search-box.component.d.ts +10 -4
  383. package/select-box/index.d.ts +1 -1
  384. package/select-box/lib/select-box2.component.d.ts +26 -7
  385. package/selection-list/lib/selection-list.component.d.ts +3 -3
  386. package/text-area/lib/text-area.component.d.ts +3 -3
  387. package/text-box/lib/text-box.component.d.ts +3 -3
  388. package/toast/index.d.ts +1 -1
  389. package/toast/lib/toast.class.d.ts +1 -1
  390. package/toast/lib/toast.component.d.ts +2 -1
  391. package/toast/lib/toast.config.d.ts +1 -1
  392. package/tooltip/lib/tooltip.directive.d.ts +1 -1
  393. package/uploader/index.d.ts +2 -0
  394. package/uploader/lib/uploader-list.component.d.ts +14 -1
  395. package/uploader/lib/uploader-zone.directive.d.ts +18 -0
  396. package/uploader/lib/uploader.module.d.ts +6 -4
  397. package/uploader/lib/uploader.service.d.ts +10 -0
  398. package/common/lib/components/appearance-component.class.d.ts +0 -12
  399. package/esm2022/common/lib/components/appearance-component.class.mjs +0 -25
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-data-table.mjs","sources":["../../../../libs/components/data-table/src/lib/data-column.directive.ts","../../../../libs/components/data-table/src/lib/data-table.component.ts","../../../../libs/components/data-table/src/lib/data-table.component.html","../../../../libs/components/data-table/src/lib/data-table.module.ts","../../../../libs/components/data-table/src/acorex-components-data-table.ts"],"sourcesContent":["import { Input, Directive, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: 'ax-data-column',\n})\nexport class AXDataColumnComponent {\n\n @Input()\n headerTemplate?: TemplateRef<unknown>;\n\n @Input()\n cellTemplate?: TemplateRef<unknown>;\n\n @Input()\n valueField: string;\n\n @Input()\n caption: string;\n\n @Input()\n width: string | number = 'auto';\n}\n","import {\n Component,\n ViewEncapsulation,\n ChangeDetectionStrategy,\n ElementRef,\n ChangeDetectorRef,\n Input,\n ContentChildren,\n QueryList,\n TemplateRef,\n EventEmitter,\n Output,\n} from '@angular/core';\nimport {\n AXPagedComponent,\n AXPagedComponentInterface,\n AXValueChangedEvent,\n MXBaseComponent,\n AXDataListFetchDataCallback,\n AXDataListItems,\n} from '@acorex/components/common';\n\nimport { AXDataColumnComponent } from './data-column.directive';\n\n\n@Component({\n selector: 'ax-data-table',\n templateUrl: './data-table.component.html',\n styleUrls: ['./data-table.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }],\n})\nexport class AXDataTableComponent extends MXBaseComponent implements AXPagedComponentInterface {\n\n @ContentChildren(AXDataColumnComponent)\n protected _columns: QueryList<AXDataColumnComponent> = {} as QueryList<AXDataColumnComponent>;\n\n @Output()\n onPageChanged: EventEmitter<AXValueChangedEvent<number>> = new EventEmitter<AXValueChangedEvent<number>>();\n\n @Input()\n rowTemplate?: TemplateRef<any>;\n\n @Input()\n emptyTemplate?: TemplateRef<any>;\n\n @Input()\n showHeader: boolean = true;\n\n private _pageSize: number = 20;\n @Input()\n public get pageSize(): number {\n return this._pageSize;\n }\n public set pageSize(v: number) {\n this._pageSize = v;\n }\n\n @Input()\n fetchDataMode: 'auto' | 'manual' = 'auto';\n\n private _currentPage: number = 1;\n\n private _loadedItems: any[] = [];\n private _totalItems: number = 0;\n\n private _isLazy: boolean = false;\n protected _isLoading: boolean = false;\n\n get totalCount(): number {\n return this._totalItems;\n }\n\n protected get isLazy(): boolean {\n return this._isLazy;\n }\n\n protected get isLoading(): boolean {\n return this._isLoading;\n }\n\n protected get loadedCount(): number {\n return this._loadedItems?.length || 0;\n }\n\n private _items: AXDataListItems = [];\n\n @Input()\n get items(): AXDataListItems {\n return this._items;\n }\n set items(v: AXDataListItems) {\n if (Array.isArray(v)) {\n this._items = v;\n } else if (typeof v === 'function') {\n this._isLazy = true;\n this._items = v;\n } else {\n this._items = [];\n }\n }\n\n get displayItems(): any[] {\n if (Array.isArray(this.items)) {\n return (this._items || []) as any[];\n } else if (typeof this._items == 'function') {\n return this._loadedItems || [];\n }\n return [];\n }\n\n ngAfterViewInit(): void {\n if (this.fetchDataMode == 'auto') this._fetchData();\n }\n\n _fetchData(opts?: { searchQuery?: string }) {\n const skip = (this._currentPage - 1) * this.pageSize,\n take = this.pageSize;\n if (\n (this.loadedCount >= this.totalCount && this.totalCount != 0) ||\n this._isLoading ||\n !this._isLazy ||\n skip > this.totalCount\n ) {\n return;\n }\n if (this._items) {\n this._isLoading = true;\n this.cdr.markForCheck();\n const fetchFn = this._items as AXDataListFetchDataCallback;\n fetchFn({ skip, take, searchQuery: opts?.searchQuery })\n .then((c) => {\n if (Array.isArray(c)) {\n this._loadedItems = c;\n this._totalItems = c.length;\n } else {\n this._totalItems = c.total || c.items?.length || 0;\n this._loadedItems = [...new Set(c.items)];\n }\n })\n .finally(() => {\n this._isLoading = false;\n this.onPageChanged.next({\n component: this,\n isUserInteraction: false,\n name: 'page',\n value: this._currentPage,\n });\n this.cdr.markForCheck();\n });\n }\n }\n\n refresh() {\n this._totalItems = 0;\n this._loadedItems = [];\n this._fetchData();\n }\n\n goToPage(page: number) {\n this._currentPage = page;\n this._fetchData();\n }\n}\n","<ng-content select=\"ax-header\">\n</ng-content>\n<div class=\"ax-wrapper\">\n <!-- [axIsLoading]=\"isLoading\" -->\n <table class=\"ax-table ax-table-bordered\" tabindex=\"0\">\n <thead *ngIf=\"showHeader\">\n <tr>\n <th *ngFor=\"let c of _columns\">\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\n </ng-template>\n <ng-template #captionTpl>\n {{c.caption}}\n </ng-template>\n </th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\n </ng-container>\n </ng-template>\n <ng-template #rowTpl>\n <tr>\n <ng-container *ngFor=\"let c of _columns\">\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\n </ng-container>\n </ng-template>\n <ng-template #cellTpl>\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\n {{d[c.valueField]}}\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-template #emptyTpl>\n <tr>\n <td [attr.colspan]=\"_columns.length\">\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </ng-template>\n <ng-template #defaultEmptyTemplate>\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\n </ng-template>\n </td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>\n<ng-content select=\"ax-footer\">\n</ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXDataTableComponent } from './data-table.component';\nimport { AXDataColumnComponent } from './data-column.directive';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { AXResultModule } from '@acorex/components/result';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\n\nconst COMPONENT = [AXDataTableComponent, AXDataColumnComponent];\nconst MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDataTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAKa,qBAAqB,CAAA;AAHlC,IAAA,WAAA,GAAA;QAkBI,IAAK,CAAA,KAAA,GAAoB,MAAM,CAAC;AACnC,KAAA;8GAhBY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,UAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAA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E,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;AAChB,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-data-table.mjs","sources":["../../../../libs/components/data-table/src/lib/data-column.directive.ts","../../../../libs/components/data-table/src/lib/data-table.component.ts","../../../../libs/components/data-table/src/lib/data-table.component.html","../../../../libs/components/data-table/src/lib/data-table.module.ts","../../../../libs/components/data-table/src/acorex-components-data-table.ts"],"sourcesContent":["import { Directive, Input, TemplateRef } from '@angular/core';\n\n@Directive({\n selector: 'ax-data-column',\n})\nexport class AXDataColumnComponent {\n @Input()\n headerTemplate?: TemplateRef<unknown>;\n\n @Input()\n cellTemplate?: TemplateRef<unknown>;\n\n @Input()\n valueField: string;\n\n @Input()\n caption: string;\n\n @Input()\n width: string | number = 'auto';\n}\n","import {\n AXDataListFetchDataCallback,\n AXDataListItems,\n AXPagedComponent,\n AXPagedComponentInterface,\n AXValueChangedEvent,\n MXBaseComponent,\n} from '@acorex/components/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n EventEmitter,\n Input,\n Output,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { AXDataColumnComponent } from './data-column.directive';\n\n@Component({\n selector: 'ax-data-table',\n templateUrl: './data-table.component.html',\n styleUrls: ['./data-table.component.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{ provide: AXPagedComponent, useExisting: AXDataTableComponent }],\n})\nexport class AXDataTableComponent extends MXBaseComponent implements AXPagedComponentInterface {\n @ContentChildren(AXDataColumnComponent)\n protected _columns: QueryList<AXDataColumnComponent> = {} as QueryList<AXDataColumnComponent>;\n\n @Output()\n onPageChanged: EventEmitter<AXValueChangedEvent<number>> = new EventEmitter<AXValueChangedEvent<number>>();\n\n @Input()\n rowTemplate?: TemplateRef<any>;\n\n @Input()\n emptyTemplate?: TemplateRef<any>;\n\n @Input()\n showHeader: boolean = true;\n\n private _pageSize: number = 20;\n @Input()\n public get pageSize(): number {\n return this._pageSize;\n }\n public set pageSize(v: number) {\n this._pageSize = v;\n }\n\n @Input()\n fetchDataMode: 'auto' | 'manual' = 'auto';\n\n private _currentPage: number = 1;\n\n private _loadedItems: any[] = [];\n private _totalItems: number = 0;\n\n private _isLazy: boolean = false;\n protected _isLoading: boolean = false;\n\n get totalCount(): number {\n return this._totalItems;\n }\n\n protected get isLazy(): boolean {\n return this._isLazy;\n }\n\n protected get isLoading(): boolean {\n return this._isLoading;\n }\n\n protected get loadedCount(): number {\n return this._loadedItems?.length || 0;\n }\n\n private _items: AXDataListItems = [];\n\n @Input()\n get items(): AXDataListItems {\n return this._items;\n }\n set items(v: AXDataListItems) {\n if (Array.isArray(v)) {\n this._items = v;\n } else if (typeof v === 'function') {\n this._isLazy = true;\n this._items = v;\n } else {\n this._items = [];\n }\n }\n\n get displayItems(): any[] {\n if (Array.isArray(this.items)) {\n return (this._items || []) as any[];\n } else if (typeof this._items == 'function') {\n return this._loadedItems || [];\n }\n return [];\n }\n\n ngAfterViewInit(): void {\n if (this.fetchDataMode == 'auto') this._fetchData();\n }\n\n _fetchData(opts?: { searchQuery?: string }) {\n const skip = (this._currentPage - 1) * this.pageSize,\n take = this.pageSize;\n if (\n (this.loadedCount >= this.totalCount && this.totalCount != 0) ||\n this._isLoading ||\n !this._isLazy ||\n skip > this.totalCount\n ) {\n return;\n }\n if (this._items) {\n this._isLoading = true;\n this.cdr.markForCheck();\n const fetchFn = this._items as AXDataListFetchDataCallback;\n fetchFn({ skip, take, searchQuery: opts?.searchQuery })\n .then((c) => {\n if (Array.isArray(c)) {\n this._loadedItems = c;\n this._totalItems = c.length;\n } else {\n this._totalItems = c.total || c.items?.length || 0;\n this._loadedItems = [...new Set(c.items)];\n }\n })\n .finally(() => {\n this._isLoading = false;\n this.onPageChanged.next({\n component: this,\n isUserInteraction: false,\n name: 'page',\n value: this._currentPage,\n });\n this.cdr.markForCheck();\n });\n }\n }\n\n refresh() {\n this._totalItems = 0;\n this._loadedItems = [];\n this._fetchData();\n }\n\n goToPage(page: number) {\n this._currentPage = page;\n this._fetchData();\n }\n}\n","<ng-content select=\"ax-header\">\n</ng-content>\n<div class=\"ax-wrapper\">\n <!-- [axIsLoading]=\"isLoading\" -->\n <table class=\"ax-table ax-table-bordered\" tabindex=\"0\">\n <thead *ngIf=\"showHeader\">\n <tr>\n <th *ngFor=\"let c of _columns\">\n <ng-template [ngIf]=\"c.headerTemplate\" [ngIfElse]=\"captionTpl\">\n <ng-container *ngTemplateOutlet=\"c.headerTemplate\"></ng-container>\n </ng-template>\n <ng-template #captionTpl>\n {{c.caption}}\n </ng-template>\n </th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"displayItems.length; else emptyTpl\">\n <ng-container *ngFor=\"let d of displayItems;let rIndex=index\">\n <ng-template [ngIf]=\"rowTemplate\" [ngIfElse]=\"rowTpl\">\n <ng-container *ngTemplateOutlet=\"rowTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\n </ng-container>\n </ng-template>\n <ng-template #rowTpl>\n <tr>\n <ng-container *ngFor=\"let c of _columns\">\n <ng-template [ngIf]=\"c.cellTemplate\" [ngIfElse]=\"cellTpl\">\n <ng-container *ngTemplateOutlet=\"c.cellTemplate;context: { $implicit: {data:d,rowIndex:rIndex} }\">\n </ng-container>\n </ng-template>\n <ng-template #cellTpl>\n <td [attr.data-label]=\"c.caption\" tabindex=\"0\">\n {{d[c.valueField]}}\n </td>\n </ng-template>\n </ng-container>\n </tr>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-template #emptyTpl>\n <tr>\n <td [attr.colspan]=\"_columns.length\">\n <ng-template [ngIf]=\"emptyTemplate\" [ngIfElse]=\"defaultEmptyTemplate\">\n <ng-container *ngTemplateOutlet=\"emptyTemplate\"></ng-container>\n </ng-template>\n <ng-template #defaultEmptyTemplate>\n <ax-result type=\"empty\" caption=\" {{'common.no-result-found' | trans }}\"></ax-result>\n </ng-template>\n </td>\n </tr>\n </ng-template>\n </tbody>\n </table>\n</div>\n<ng-content select=\"ax-footer\">\n</ng-content>","import { AXDecoratorModule } from '@acorex/components/decorators';\nimport { AXLoadingModule } from '@acorex/components/loading';\nimport { AXResultModule } from '@acorex/components/result';\nimport { AXTranslationModule } from '@acorex/core/translation';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { AXDataColumnComponent } from './data-column.directive';\nimport { AXDataTableComponent } from './data-table.component';\n\nconst COMPONENT = [AXDataTableComponent, AXDataColumnComponent];\nconst MODULES = [CommonModule, AXTranslationModule, AXResultModule, AXLoadingModule, AXDecoratorModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDataTableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAKa,qBAAqB,CAAA;AAHlC,IAAA,WAAA,GAAA;QAiBE,IAAK,CAAA,KAAA,GAAoB,MAAM,CAAC;AACjC,KAAA;8GAfY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,UAAA,EAAA,YAAA,EAAA,OAAA,EAAA,SAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAHjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT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S,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { MXCalendarBaseComponent, AXCalendarModule } from '@acorex/components/calendar';
2
- import { MXInputBaseValueComponent, MXAppearanceComponent, AXComponent, AXFocusableComponent, AXValuableComponent, AXClearableComponent } from '@acorex/components/common';
2
+ import { MXInputBaseValueComponent, MXLookComponent, AXComponent, AXFocusableComponent, AXValuableComponent, AXClearableComponent } from '@acorex/components/common';
3
3
  import * as i2 from '@acorex/components/datetime-input';
4
4
  import { AXDateTimeInputComponent, AXDateTimeInputModule } from '@acorex/components/datetime-input';
5
5
  import * as i4 from '@acorex/components/datetime-picker';
@@ -18,7 +18,7 @@ import { CommonModule } from '@angular/common';
18
18
  *
19
19
  * @category Components
20
20
  */
21
- class AXDateTimeBoxComponent extends classes((MXInputBaseValueComponent), MXCalendarBaseComponent, MXDropdownBoxBaseComponent, MXAppearanceComponent) {
21
+ class AXDateTimeBoxComponent extends classes((MXInputBaseValueComponent), MXCalendarBaseComponent, MXDropdownBoxBaseComponent, MXLookComponent) {
22
22
  constructor() {
23
23
  super(...arguments);
24
24
  this.formatChange = new EventEmitter();
@@ -53,7 +53,7 @@ class AXDateTimeBoxComponent extends classes((MXInputBaseValueComponent), MXCale
53
53
  this.close();
54
54
  }
55
55
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimeBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
56
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", minValue: "minValue", maxValue: "maxValue", value: "value", state: "state", name: "name", id: "id", type: "type", appearance: "appearance", format: "format" }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", formatChange: "formatChange" }, providers: [
56
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.9", type: AXDateTimeBoxComponent, selector: "ax-datetime-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", minValue: "minValue", maxValue: "maxValue", value: "value", state: "state", name: "name", id: "id", type: "type", look: "look", format: "format" }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", formatChange: "formatChange" }, providers: [
57
57
  { provide: AXComponent, useExisting: AXDateTimeBoxComponent },
58
58
  { provide: AXFocusableComponent, useExisting: AXDateTimeBoxComponent },
59
59
  { provide: AXValuableComponent, useExisting: AXDateTimeBoxComponent },
@@ -63,7 +63,7 @@ class AXDateTimeBoxComponent extends classes((MXInputBaseValueComponent), MXCale
63
63
  useExisting: forwardRef(() => AXDateTimeBoxComponent),
64
64
  multi: true,
65
65
  },
66
- ], viewQueries: [{ propertyName: "input", first: true, predicate: AXDateTimeInputComponent, descendants: true }, { propertyName: "picker", first: true, predicate: AXDateTimePickerComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: AXDropdownBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-dropdown-box [disabled]=\"disabled\" (onOpened)=\"_handleOnOpenedEvent()\" (onClosed)=\"_handleOnClosedEvent()\"\n [appearance]=\"appearance\">\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input id=\"{{id}}-input\" [ngModel]=\"value\" (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\" [format]=\"format\" [disabled]=\"disabled\" [readonly]=\"readonly\" [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\" (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button type=\"button\" class=\"ax-general-button ax-button-icon\" [tabIndex]=\"-1\" [disabled]=\"disabled\"\n (click)=\"toggle()\">\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker id=\"{{id}}-picker\" #picker [ngModel]=\"value\" (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\" [readonly]=\"readonly\" [minValue]=\"minValue\" [maxValue]=\"maxValue\" [format]=\"format\"\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\" [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.AXDateTimeInputComponent, selector: "ax-datetime-input", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "type", "minValue", "maxValue", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onClick", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "component", type: i3.AXDropdownBoxComponent, selector: "ax-dropdown-box", inputs: ["disabled", "appearance"], outputs: ["disabledChange", "onBlur", "onFocus", "onClick", "onOpened", "onClosed"] }, { kind: "component", type: i4.AXDateTimePickerComponent, selector: "ax-datetime-picker", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "depth", "activeView", "minValue", "maxValue", "disabledDates", "holidayDates", "type", "cellTemplate", "cellClass", "showNavigation", "currentTimeButton", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onClick", "readonlyChange", "disabledChange", "depthChange", "typeChange", "activeViewChange", "disabledDatesChange", "holidayDatesChange", "onNavigate", "onSlotClick", "formatChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
66
+ ], viewQueries: [{ propertyName: "input", first: true, predicate: AXDateTimeInputComponent, descendants: true }, { propertyName: "picker", first: true, predicate: AXDateTimePickerComponent, descendants: true }, { propertyName: "dropdown", first: true, predicate: AXDropdownBoxComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ax-dropdown-box\n [disabled]=\"disabled\"\n (onOpened)=\"_handleOnOpenedEvent()\"\n (onClosed)=\"_handleOnClosedEvent()\"\n [look]=\"look\"\n>\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input\n id=\"{{ id }}-input\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\"\n [format]=\"format\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\"\n (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"\n ></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button\n type=\"button\"\n class=\"ax-general-button ax-button-icon\"\n [tabIndex]=\"-1\"\n [disabled]=\"disabled\"\n (click)=\"toggle()\"\n >\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker\n id=\"{{ id }}-picker\"\n #picker\n [ngModel]=\"value\"\n (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [format]=\"format\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n ></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.AXDateTimeInputComponent, selector: "ax-datetime-input", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "type", "minValue", "maxValue", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onClick", "readonlyChange", "disabledChange", "formatChange"] }, { kind: "component", type: i3.AXDropdownBoxComponent, selector: "ax-dropdown-box", inputs: ["disabled", "look"], outputs: ["disabledChange", "onBlur", "onFocus", "onClick", "onOpened", "onClosed"] }, { kind: "component", type: i4.AXDateTimePickerComponent, selector: "ax-datetime-picker", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "depth", "activeView", "minValue", "maxValue", "disabledDates", "holidayDates", "type", "cellTemplate", "cellClass", "showNavigation", "currentTimeButton", "format"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "onClick", "readonlyChange", "disabledChange", "depthChange", "typeChange", "activeViewChange", "disabledDatesChange", "holidayDatesChange", "onNavigate", "onSlotClick", "formatChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
67
67
  }
68
68
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimeBoxComponent, decorators: [{
69
69
  type: Component,
@@ -79,7 +79,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImpor
79
79
  'name',
80
80
  'id',
81
81
  'type',
82
- 'appearance',
82
+ 'look',
83
83
  ], outputs: [
84
84
  'valueChange',
85
85
  'stateChange',
@@ -98,7 +98,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.9", ngImpor
98
98
  useExisting: forwardRef(() => AXDateTimeBoxComponent),
99
99
  multi: true,
100
100
  },
101
- ], template: "<ax-dropdown-box [disabled]=\"disabled\" (onOpened)=\"_handleOnOpenedEvent()\" (onClosed)=\"_handleOnClosedEvent()\"\n [appearance]=\"appearance\">\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input id=\"{{id}}-input\" [ngModel]=\"value\" (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\" [format]=\"format\" [disabled]=\"disabled\" [readonly]=\"readonly\" [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\" (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button type=\"button\" class=\"ax-general-button ax-button-icon\" [tabIndex]=\"-1\" [disabled]=\"disabled\"\n (click)=\"toggle()\">\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker id=\"{{id}}-picker\" #picker [ngModel]=\"value\" (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\" [readonly]=\"readonly\" [minValue]=\"minValue\" [maxValue]=\"maxValue\" [format]=\"format\"\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\" [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>" }]
101
+ ], template: "<ax-dropdown-box\n [disabled]=\"disabled\"\n (onOpened)=\"_handleOnOpenedEvent()\"\n (onClosed)=\"_handleOnClosedEvent()\"\n [look]=\"look\"\n>\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input\n id=\"{{ id }}-input\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\"\n [format]=\"format\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\"\n (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"\n ></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button\n type=\"button\"\n class=\"ax-general-button ax-button-icon\"\n [tabIndex]=\"-1\"\n [disabled]=\"disabled\"\n (click)=\"toggle()\"\n >\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker\n id=\"{{ id }}-picker\"\n #picker\n [ngModel]=\"value\"\n (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [format]=\"format\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n ></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n" }]
102
102
  }], propDecorators: { input: [{
103
103
  type: ViewChild,
104
104
  args: [AXDateTimeInputComponent]
@@ -121,7 +121,7 @@ const MODULES = [
121
121
  AXDateTimeInputModule,
122
122
  AXDropdownModule,
123
123
  AXCalendarModule,
124
- AXDateTimePickerModule
124
+ AXDateTimePickerModule,
125
125
  ];
126
126
  class AXDateTimeBoxModule {
127
127
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.9", ngImport: i0, type: AXDateTimeBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
@@ -1 +1 @@
1
- {"version":3,"file":"acorex-components-datetime-box.mjs","sources":["../../../../libs/components/datetime-box/src/lib/datetime-box.component.ts","../../../../libs/components/datetime-box/src/lib/datetime-box.component.html","../../../../libs/components/datetime-box/src/lib/datetime-box.module.ts","../../../../libs/components/datetime-box/src/acorex-components-datetime-box.ts"],"sourcesContent":["import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';\nimport {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXAppearanceComponent,\n MXInputBaseValueComponent,\n} from '@acorex/components/common';\nimport { AXDateTimeInputComponent } from '@acorex/components/datetime-input';\nimport { AXDateTimePickerComponent } from '@acorex/components/datetime-picker';\nimport { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-datetime-box',\n templateUrl: './datetime-box.component.html',\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'placeholder',\n 'minValue',\n 'maxValue',\n 'value',\n 'state',\n 'name',\n 'id',\n 'type',\n 'appearance',\n ],\n outputs: [\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'readonlyChange',\n 'disabledChange',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXFocusableComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXValuableComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXClearableComponent, useExisting: AXDateTimeBoxComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXDateTimeBoxComponent),\n multi: true,\n },\n ],\n})\nexport class AXDateTimeBoxComponent extends classes(\n MXInputBaseValueComponent<Date>,\n MXCalendarBaseComponent,\n MXDropdownBoxBaseComponent,\n MXAppearanceComponent,\n) {\n @ViewChild(AXDateTimeInputComponent)\n protected input: AXDateTimeInputComponent;\n\n @ViewChild(AXDateTimePickerComponent)\n protected picker: AXDateTimePickerComponent;\n\n @ViewChild(AXDropdownBoxComponent)\n protected dropdown: AXDropdownBoxComponent;\n\n @Output()\n formatChange = new EventEmitter<string>();\n\n private _format = this.calendarService.calendar.formats.dateTimeInput;\n @Input()\n public get format(): string {\n return this._format;\n }\n public set format(v: string) {\n this.setOption({\n name: 'format',\n value: v,\n });\n }\n\n protected _handleInputModelChange(value: Date | null) {\n this.commitValue(value, true);\n }\n\n protected _handlePickerModelChange(value: Date | null) {\n if (this.isOpen)\n this.commitValue(value, true);\n }\n\n protected _handleOnOpenedEvent() {\n this.picker?.refresh();\n }\n\n protected _handleOnClosedEvent() {\n this.input.focus();\n }\n\n protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent) {\n this.onNavigate.emit(e);\n }\n\n override internalValueChanged(): void {\n this.close();\n }\n}\n","<ax-dropdown-box [disabled]=\"disabled\" (onOpened)=\"_handleOnOpenedEvent()\" (onClosed)=\"_handleOnClosedEvent()\"\n [appearance]=\"appearance\">\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input id=\"{{id}}-input\" [ngModel]=\"value\" (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\" [format]=\"format\" [disabled]=\"disabled\" [readonly]=\"readonly\" [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\" (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button type=\"button\" class=\"ax-general-button ax-button-icon\" [tabIndex]=\"-1\" [disabled]=\"disabled\"\n (click)=\"toggle()\">\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker id=\"{{id}}-picker\" #picker [ngModel]=\"value\" (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\" [readonly]=\"readonly\" [minValue]=\"minValue\" [maxValue]=\"maxValue\" [format]=\"format\"\n [disabledDates]=\"disabledDates\" [holidayDates]=\"holidayDates\" [depth]=\"depth\" [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { AXDateTimeBoxComponent } from './datetime-box.component';\nimport { AXDateTimeInputModule } from '@acorex/components/datetime-input';\nimport { AXCalendarModule } from '@acorex/components/calendar';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { AXDateTimePickerModule } from '@acorex/components/datetime-picker';\nimport { FormsModule } from '@angular/forms';\n\nconst COMPONENT = [AXDateTimeBoxComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXDateTimeInputModule,\n AXDropdownModule,\n AXCalendarModule,\n AXDateTimePickerModule\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AX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,OAAA,EAAA,CAErC,YAAY;YACZ,WAAW;YACX,qBAAqB;YACrB,gBAAgB;YAChB,gBAAgB;AAChB,YAAA,sBAAsB,aAPP,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAgB5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAJf,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,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;AAChB,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"acorex-components-datetime-box.mjs","sources":["../../../../libs/components/datetime-box/src/lib/datetime-box.component.ts","../../../../libs/components/datetime-box/src/lib/datetime-box.component.html","../../../../libs/components/datetime-box/src/lib/datetime-box.module.ts","../../../../libs/components/datetime-box/src/acorex-components-datetime-box.ts"],"sourcesContent":["import { AXCalendarNavigateEvent, MXCalendarBaseComponent } from '@acorex/components/calendar';\nimport {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/components/common';\nimport { AXDateTimeInputComponent } from '@acorex/components/datetime-input';\nimport { AXDateTimePickerComponent } from '@acorex/components/datetime-picker';\nimport { AXDropdownBoxComponent, MXDropdownBoxBaseComponent } from '@acorex/components/dropdown';\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\n\n/**\n * The Button is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-datetime-box',\n templateUrl: './datetime-box.component.html',\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'placeholder',\n 'minValue',\n 'maxValue',\n 'value',\n 'state',\n 'name',\n 'id',\n 'type',\n 'look',\n ],\n outputs: [\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'readonlyChange',\n 'disabledChange',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: AXComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXFocusableComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXValuableComponent, useExisting: AXDateTimeBoxComponent },\n { provide: AXClearableComponent, useExisting: AXDateTimeBoxComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXDateTimeBoxComponent),\n multi: true,\n },\n ],\n})\nexport class AXDateTimeBoxComponent extends classes(\n MXInputBaseValueComponent<Date>,\n MXCalendarBaseComponent,\n MXDropdownBoxBaseComponent,\n MXLookComponent,\n) {\n @ViewChild(AXDateTimeInputComponent)\n protected input: AXDateTimeInputComponent;\n\n @ViewChild(AXDateTimePickerComponent)\n protected picker: AXDateTimePickerComponent;\n\n @ViewChild(AXDropdownBoxComponent)\n protected dropdown: AXDropdownBoxComponent;\n\n @Output()\n formatChange = new EventEmitter<string>();\n\n private _format = this.calendarService.calendar.formats.dateTimeInput;\n @Input()\n public get format(): string {\n return this._format;\n }\n public set format(v: string) {\n this.setOption({\n name: 'format',\n value: v,\n });\n }\n\n protected _handleInputModelChange(value: Date | null) {\n this.commitValue(value, true);\n }\n\n protected _handlePickerModelChange(value: Date | null) {\n if (this.isOpen) this.commitValue(value, true);\n }\n\n protected _handleOnOpenedEvent() {\n this.picker?.refresh();\n }\n\n protected _handleOnClosedEvent() {\n this.input.focus();\n }\n\n protected _handleCalendarOnNavigate(e: AXCalendarNavigateEvent) {\n this.onNavigate.emit(e);\n }\n\n override internalValueChanged(): void {\n this.close();\n }\n}\n","<ax-dropdown-box\n [disabled]=\"disabled\"\n (onOpened)=\"_handleOnOpenedEvent()\"\n (onClosed)=\"_handleOnClosedEvent()\"\n [look]=\"look\"\n>\n <ng-container input>\n <ng-content select=\"ax-prefix\"> </ng-content>\n <ax-datetime-input\n id=\"{{ id }}-input\"\n [ngModel]=\"value\"\n (ngModelChange)=\"_handleInputModelChange($event)\"\n [placeholder]=\"placeholder\"\n [format]=\"format\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [type]=\"type\"\n (onFocus)=\"emitOnFocusEvent($event.nativeEvent)\"\n (onBlur)=\"emitOnBlurEvent($event.nativeEvent)\"\n (onClick)=\"emitOnClickEvent($event.nativeEvent); close()\"\n ></ax-datetime-input>\n <ng-content select=\"ax-clear-button\"></ng-content>\n <button\n type=\"button\"\n class=\"ax-general-button ax-button-icon\"\n [tabIndex]=\"-1\"\n [disabled]=\"disabled\"\n (click)=\"toggle()\"\n >\n <span class=\"ax-icon ax-icon-calendar\"></span>\n </button>\n <ng-content select=\"ax-suffix\"> </ng-content>\n </ng-container>\n <ng-container panel>\n <ax-datetime-picker\n id=\"{{ id }}-picker\"\n #picker\n [ngModel]=\"value\"\n (ngModelChange)=\"_handlePickerModelChange($event)\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [minValue]=\"minValue\"\n [maxValue]=\"maxValue\"\n [format]=\"format\"\n [disabledDates]=\"disabledDates\"\n [holidayDates]=\"holidayDates\"\n [depth]=\"depth\"\n [type]=\"type\"\n (onNavigate)=\"_handleCalendarOnNavigate($event)\"\n ></ax-datetime-picker>\n </ng-container>\n</ax-dropdown-box>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n","import { AXCalendarModule } from '@acorex/components/calendar';\nimport { AXDateTimeInputModule } from '@acorex/components/datetime-input';\nimport { AXDateTimePickerModule } from '@acorex/components/datetime-picker';\nimport { AXDropdownModule } from '@acorex/components/dropdown';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXDateTimeBoxComponent } from './datetime-box.component';\n\nconst COMPONENT = [AXDateTimeBoxComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXDateTimeInputModule,\n AXDropdownModule,\n AXCalendarModule,\n AXDateTimePickerModule,\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXDateTimeBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAyBA;;;;AAIG;AAyCU,MAAA,sBAAuB,SAAQ,OAAO,EACjD,yBAA+B,GAC/B,uBAAuB,EACvB,0BAA0B,EAC1B,eAAe,CAChB,CAAA;AA7CD,IAAA,WAAA,GAAA;;AAwDE,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAU,CAAC;QAElC,IAAO,CAAA,OAAA,GAAG,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC;AAmCvE,KAAA;AAlCC,IAAA,IACW,MAAM,GAAA;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;KACrB;IACD,IAAW,MAAM,CAAC,CAAS,EAAA;QACzB,IAAI,CAAC,SAAS,CAAC;AACb,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,KAAK,EAAE,CAAC;AACT,SAAA,CAAC,CAAC;KACJ;AAES,IAAA,uBAAuB,CAAC,KAAkB,EAAA;AAClD,QAAA,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;KAC/B;AAES,IAAA,wBAAwB,CAAC,KAAkB,EAAA;QACnD,IAAI,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