@acorex/components 7.4.8 → 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 (432) 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/button/lib/button.module.d.ts +2 -1
  9. package/calendar/lib/calendar.class.d.ts +1 -1
  10. package/calendar/lib/calendar.component.d.ts +1 -1
  11. package/collapse/lib/collapse-group.component.d.ts +9 -6
  12. package/collapse/lib/collapse.component.d.ts +6 -6
  13. package/color-box/lib/color-box.component.d.ts +2 -2
  14. package/color-palette/lib/color-palette-input.component.d.ts +3 -3
  15. package/color-palette/lib/color-palette-picker.component.d.ts +1 -1
  16. package/color-palette/lib/color-palette.class.d.ts +4 -4
  17. package/common/index.d.ts +0 -1
  18. package/common/lib/classes/datalist.class.d.ts +34 -3
  19. package/common/lib/classes/styles.class.d.ts +2 -3
  20. package/common/lib/components/colorlook-component.class.d.ts +2 -2
  21. package/common/lib/components/input-base-value-component.class.d.ts +12 -12
  22. package/common/lib/components/selection-base.component.class.d.ts +5 -10
  23. package/common/lib/directives/delayed-value-changed.directive.d.ts +5 -5
  24. package/common/lib/directives/hotkey.directive.d.ts +2 -2
  25. package/common/lib/directives/responsive.directive.d.ts +1 -1
  26. package/context-menu/lib/context-menu.component.d.ts +1 -1
  27. package/data-table/lib/data-table.component.d.ts +2 -2
  28. package/datetime-box/lib/datetime-box.component.d.ts +5 -4
  29. package/datetime-input/lib/datetime-input.component.d.ts +1 -1
  30. package/datetime-picker/index.d.ts +1 -1
  31. package/datetime-picker/lib/datetime-picker.component.d.ts +1 -2
  32. package/dialog/lib/dialog.class.d.ts +4 -2
  33. package/dialog/lib/dialog.service.d.ts +3 -2
  34. package/dropdown/lib/dropdown-box.component.d.ts +6 -3
  35. package/dropdown/lib/dropdown-panel.component.d.ts +1 -0
  36. package/esm2022/action-sheet/index.mjs +2 -2
  37. package/esm2022/action-sheet/lib/action-sheet.class.mjs +1 -1
  38. package/esm2022/action-sheet/lib/action-sheet.component.mjs +22 -14
  39. package/esm2022/action-sheet/lib/action-sheet.module.mjs +3 -3
  40. package/esm2022/action-sheet/lib/action-sheet.service.mjs +5 -5
  41. package/esm2022/alert/lib/alert.component.mjs +6 -7
  42. package/esm2022/avatar/index.mjs +2 -2
  43. package/esm2022/avatar/lib/avatar-group.component.mjs +1 -1
  44. package/esm2022/avatar/lib/avatar.component.mjs +2 -2
  45. package/esm2022/badge/lib/badge.component.mjs +3 -3
  46. package/esm2022/badge/lib/badge.module.mjs +2 -2
  47. package/esm2022/breadcrumbs/index.mjs +3 -3
  48. package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +1 -1
  49. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +2 -2
  50. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +1 -1
  51. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +3 -3
  52. package/esm2022/button/lib/button-item.class.mjs +1 -1
  53. package/esm2022/button/lib/button-item.component.mjs +1 -1
  54. package/esm2022/button/lib/button.component.mjs +3 -3
  55. package/esm2022/button/lib/button.module.mjs +4 -3
  56. package/esm2022/button-group/lib/button-group.component.mjs +3 -3
  57. package/esm2022/button-group/lib/button-group.module.mjs +2 -2
  58. package/esm2022/calendar/lib/calendar-range.component.mjs +4 -7
  59. package/esm2022/calendar/lib/calendar.class.mjs +3 -11
  60. package/esm2022/calendar/lib/calendar.component.mjs +28 -29
  61. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  62. package/esm2022/check-box/lib/check-box.component.mjs +9 -9
  63. package/esm2022/check-box/lib/check-box.module.mjs +3 -3
  64. package/esm2022/chips/lib/chips.component.mjs +5 -5
  65. package/esm2022/chips/lib/chips.module.mjs +2 -2
  66. package/esm2022/collapse/lib/collapse-group.component.mjs +17 -12
  67. package/esm2022/collapse/lib/collapse.component.mjs +9 -9
  68. package/esm2022/collapse/lib/collapse.module.mjs +3 -3
  69. package/esm2022/color-box/lib/color-box.component.mjs +7 -7
  70. package/esm2022/color-box/lib/color-box.module.mjs +4 -4
  71. package/esm2022/color-palette/lib/color-palette-input.component.mjs +10 -14
  72. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +29 -31
  73. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +8 -16
  74. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +5 -5
  75. package/esm2022/color-palette/lib/color-palette.class.mjs +2 -2
  76. package/esm2022/color-palette/lib/color-palette.component.mjs +14 -6
  77. package/esm2022/color-palette/lib/color-palette.module.mjs +12 -12
  78. package/esm2022/common/index.mjs +1 -2
  79. package/esm2022/common/lib/classes/components.class.mjs +1 -1
  80. package/esm2022/common/lib/classes/datalist.class.mjs +41 -3
  81. package/esm2022/common/lib/classes/styles.class.mjs +2 -10
  82. package/esm2022/common/lib/common.module.mjs +4 -2
  83. package/esm2022/common/lib/components/button-base-component.class.mjs +4 -4
  84. package/esm2022/common/lib/components/color-component.class.mjs +2 -2
  85. package/esm2022/common/lib/components/colorlook-component.class.mjs +4 -4
  86. package/esm2022/common/lib/components/input-base-value-component.class.mjs +15 -15
  87. package/esm2022/common/lib/components/interactive-component.class.mjs +1 -1
  88. package/esm2022/common/lib/components/look-component.class.mjs +2 -2
  89. package/esm2022/common/lib/components/selection-base.component.class.mjs +19 -36
  90. package/esm2022/common/lib/components/value-component.class.mjs +4 -4
  91. package/esm2022/common/lib/directives/auto-focus.directive.mjs +4 -12
  92. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +16 -14
  93. package/esm2022/common/lib/directives/hotkey.directive.mjs +14 -15
  94. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +7 -9
  95. package/esm2022/common/lib/directives/responsive.directive.mjs +12 -10
  96. package/esm2022/common/lib/directives/ripple.directive.mjs +1 -1
  97. package/esm2022/common/lib/services/dom.service.mjs +2 -2
  98. package/esm2022/common/lib/services/hotkey.service.mjs +4 -5
  99. package/esm2022/common/lib/types/direction.mjs +1 -1
  100. package/esm2022/common/lib/types/orientation.mjs +1 -1
  101. package/esm2022/common/lib/types/placement.mjs +23 -23
  102. package/esm2022/common/lib/types/range.mjs +1 -1
  103. package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
  104. package/esm2022/context-menu/lib/context-menu.module.mjs +7 -17
  105. package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
  106. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +1 -1
  107. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +21 -8
  108. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
  109. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +17 -5
  110. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -7
  111. package/esm2022/data-pager/lib/data-pager.component.mjs +2 -2
  112. package/esm2022/data-pager/lib/data-pager.module.mjs +30 -16
  113. package/esm2022/data-table/lib/data-column.directive.mjs +2 -2
  114. package/esm2022/data-table/lib/data-table.component.mjs +2 -2
  115. package/esm2022/data-table/lib/data-table.module.mjs +7 -7
  116. package/esm2022/datetime-box/lib/datetime-box.component.mjs +11 -8
  117. package/esm2022/datetime-box/lib/datetime-box.module.mjs +7 -7
  118. package/esm2022/datetime-input/lib/datetime-input.component.mjs +134 -134
  119. package/esm2022/datetime-input/lib/datetime-input.module.mjs +4 -4
  120. package/esm2022/datetime-picker/index.mjs +2 -2
  121. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +4 -4
  122. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +4 -4
  123. package/esm2022/decorators/lib/components/clear-button.component.mjs +2 -2
  124. package/esm2022/decorators/lib/components/close-button.component.mjs +8 -4
  125. package/esm2022/decorators/lib/components/generic-content.component.mjs +1 -1
  126. package/esm2022/decorators/lib/components/icon.component.mjs +2 -2
  127. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  128. package/esm2022/dialog/lib/dialog.component.mjs +3 -17
  129. package/esm2022/dialog/lib/dialog.module.mjs +26 -10
  130. package/esm2022/dialog/lib/dialog.service.mjs +47 -24
  131. package/esm2022/drawer/lib/drawer-container.component.mjs +2 -2
  132. package/esm2022/drawer/lib/drawer.component.mjs +2 -2
  133. package/esm2022/drawer/lib/drawer.module.mjs +3 -3
  134. package/esm2022/dropdown/lib/dropdown-box.class.mjs +1 -1
  135. package/esm2022/dropdown/lib/dropdown-box.component.mjs +16 -10
  136. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +7 -6
  137. package/esm2022/dropdown/lib/dropdown.module.mjs +29 -9
  138. package/esm2022/form/index.mjs +2 -2
  139. package/esm2022/form/lib/form-field.component.mjs +4 -4
  140. package/esm2022/form/lib/form.component.mjs +3 -4
  141. package/esm2022/form/lib/form.config.mjs +6 -6
  142. package/esm2022/form/lib/form.module.mjs +3 -11
  143. package/esm2022/form/lib/validation-summary.component.mjs +40 -30
  144. package/esm2022/form/lib/validation.class.mjs +1 -1
  145. package/esm2022/image/lib/image.component.mjs +1 -1
  146. package/esm2022/image/lib/image.module.mjs +2 -2
  147. package/esm2022/label/lib/label.component.mjs +4 -8
  148. package/esm2022/label/lib/label.module.mjs +2 -2
  149. package/esm2022/list/acorex-components-list.mjs +5 -0
  150. package/esm2022/list/index.mjs +3 -0
  151. package/esm2022/list/lib/list.component.mjs +244 -0
  152. package/esm2022/list/lib/list.module.mjs +22 -0
  153. package/esm2022/loading/index.mjs +2 -2
  154. package/esm2022/loading/lib/loading-spinner.component.mjs +13 -7
  155. package/esm2022/loading/lib/loading.component.mjs +8 -16
  156. package/esm2022/loading/lib/loading.config.mjs +2 -2
  157. package/esm2022/loading/lib/loading.directive.mjs +2 -2
  158. package/esm2022/loading/lib/loading.module.mjs +22 -8
  159. package/esm2022/loading/lib/loading.service.mjs +9 -13
  160. package/esm2022/menu/index.mjs +4 -1
  161. package/esm2022/menu/lib/class/root-menu.class.mjs +3 -0
  162. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +95 -0
  163. package/esm2022/menu/lib/menu.component.mjs +4 -4
  164. package/esm2022/menu/lib/menu.module.mjs +11 -16
  165. package/esm2022/menu/lib/menu2.component.mjs +45 -0
  166. package/esm2022/mixin/lib/base-components.class.mjs +2 -3
  167. package/esm2022/mixin/lib/base-menu-mixin.class.mjs +1 -1
  168. package/esm2022/mixin/lib/button-mixin.class.mjs +1 -1
  169. package/esm2022/mixin/lib/clickable-mixin.class.mjs +8 -8
  170. package/esm2022/mixin/lib/color-look-mixing.class.mjs +3 -3
  171. package/esm2022/mixin/lib/constratctor.mjs +1 -1
  172. package/esm2022/mixin/lib/datalist-component.class.mjs +3 -5
  173. package/esm2022/mixin/lib/datalist.class.mjs +46 -3
  174. package/esm2022/mixin/lib/dropdown-mixin.class.mjs +2 -4
  175. package/esm2022/mixin/lib/interactive-mixin.class.mjs +29 -28
  176. package/esm2022/mixin/lib/mixin.class.mjs +13 -13
  177. package/esm2022/mixin/lib/page-component.class.mjs +3 -3
  178. package/esm2022/mixin/lib/selection-component.class.mjs +1 -1
  179. package/esm2022/mixin/lib/textbox-mixin.class.mjs +29 -20
  180. package/esm2022/mixin/lib/value-mixin.class.mjs +1 -1
  181. package/esm2022/notification/index.mjs +2 -2
  182. package/esm2022/notification/lib/notification.class.mjs +1 -1
  183. package/esm2022/notification/lib/notification.component.mjs +7 -7
  184. package/esm2022/notification/lib/notification.config.mjs +1 -1
  185. package/esm2022/notification/lib/notification.module.mjs +21 -9
  186. package/esm2022/notification/lib/notification.service.mjs +11 -11
  187. package/esm2022/number-box/lib/number-box.component.mjs +6 -6
  188. package/esm2022/number-box/lib/number-box.module.mjs +6 -16
  189. package/esm2022/otp/lib/otp.component.mjs +5 -5
  190. package/esm2022/otp/lib/otp.module.mjs +2 -2
  191. package/esm2022/page/lib/base-page.class.mjs +6 -4
  192. package/esm2022/page/lib/page.component.mjs +3 -3
  193. package/esm2022/page/lib/page.module.mjs +1 -1
  194. package/esm2022/password-box/lib/password-box.component.mjs +6 -6
  195. package/esm2022/password-box/lib/password-box.module.mjs +7 -15
  196. package/esm2022/picker/lib/picker-column.directive.mjs +9 -16
  197. package/esm2022/picker/lib/picker.component.mjs +2 -2
  198. package/esm2022/picker/lib/picker.module.mjs +3 -3
  199. package/esm2022/popover/lib/popover.component.mjs +8 -5
  200. package/esm2022/popover/lib/popover.module.mjs +2 -2
  201. package/esm2022/popup/index.mjs +2 -2
  202. package/esm2022/popup/lib/popup.component.mjs +1 -2
  203. package/esm2022/popup/lib/popup.interface.mjs +1 -1
  204. package/esm2022/popup/lib/popup.module.mjs +2 -2
  205. package/esm2022/popup/lib/popup.service.mjs +1 -2
  206. package/esm2022/progress-bar/lib/progress-bar.component.mjs +5 -5
  207. package/esm2022/progress-bar/lib/progress-bar.module.mjs +2 -2
  208. package/esm2022/radio/lib/radio.component.mjs +8 -8
  209. package/esm2022/radio/lib/radio.module.mjs +2 -2
  210. package/esm2022/range-slider/lib/range-slider.component.mjs +9 -9
  211. package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
  212. package/esm2022/result/lib/result.component.mjs +4 -4
  213. package/esm2022/result/lib/result.module.mjs +2 -2
  214. package/esm2022/routing-progress/acorex-components-routing-progress.mjs +5 -0
  215. package/esm2022/routing-progress/index.mjs +3 -0
  216. package/esm2022/routing-progress/lib/routing-progress.component.mjs +58 -0
  217. package/esm2022/routing-progress/lib/routing-progress.module.mjs +21 -0
  218. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +4 -2
  219. package/esm2022/scheduler/lib/scheduler.component.mjs +1 -1
  220. package/esm2022/search-box/lib/search-box.component.mjs +43 -19
  221. package/esm2022/search-box/lib/search-box.module.mjs +8 -8
  222. package/esm2022/select-box/index.mjs +2 -1
  223. package/esm2022/select-box/lib/select-box.component.mjs +4 -4
  224. package/esm2022/select-box/lib/select-box.module.mjs +21 -12
  225. package/esm2022/select-box/lib/select-box2.component.mjs +191 -0
  226. package/esm2022/selection-list/lib/selection-list.component.mjs +24 -9
  227. package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
  228. package/esm2022/switch/lib/switch-content.component.mjs +1 -1
  229. package/esm2022/switch/lib/switch.component.mjs +11 -18
  230. package/esm2022/switch/lib/switch.module.mjs +4 -4
  231. package/esm2022/tabs/lib/tab-content.directive.mjs +1 -1
  232. package/esm2022/tabs/lib/tabs.component.mjs +2 -2
  233. package/esm2022/tabs/lib/tabs.module.mjs +5 -5
  234. package/esm2022/tag/lib/tag.component.mjs +4 -4
  235. package/esm2022/tag/lib/tag.module.mjs +2 -2
  236. package/esm2022/text-area/lib/text-area.component.mjs +21 -15
  237. package/esm2022/text-area/lib/text-area.module.mjs +2 -2
  238. package/esm2022/text-box/lib/text-box.component.mjs +6 -6
  239. package/esm2022/text-box/lib/text-box.module.mjs +4 -18
  240. package/esm2022/toast/index.mjs +2 -2
  241. package/esm2022/toast/lib/toast.class.mjs +1 -1
  242. package/esm2022/toast/lib/toast.component.mjs +7 -7
  243. package/esm2022/toast/lib/toast.config.mjs +3 -3
  244. package/esm2022/toast/lib/toast.module.mjs +6 -10
  245. package/esm2022/toast/lib/toast.service.mjs +16 -14
  246. package/esm2022/tooltip/lib/tooltip.component.mjs +2 -2
  247. package/esm2022/tooltip/lib/tooltip.directive.mjs +4 -4
  248. package/esm2022/tooltip/lib/tooltip.module.mjs +3 -3
  249. package/esm2022/uploader/index.mjs +3 -1
  250. package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +3 -3
  251. package/esm2022/uploader/lib/uploader-list.component.mjs +41 -7
  252. package/esm2022/uploader/lib/uploader-overlay.component.mjs +2 -2
  253. package/esm2022/uploader/lib/uploader-zone.directive.mjs +53 -0
  254. package/esm2022/uploader/lib/uploader.module.mjs +26 -7
  255. package/esm2022/uploader/lib/uploader.service.mjs +30 -0
  256. package/fesm2022/acorex-components-action-sheet.mjs +23 -15
  257. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  258. package/fesm2022/acorex-components-alert.mjs +5 -6
  259. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  260. package/fesm2022/acorex-components-avatar.mjs +15 -15
  261. package/fesm2022/acorex-components-avatar.mjs.map +1 -1
  262. package/fesm2022/acorex-components-badge.mjs +2 -2
  263. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  264. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  265. package/fesm2022/acorex-components-button-group.mjs +2 -2
  266. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  267. package/fesm2022/acorex-components-button.mjs +5 -4
  268. package/fesm2022/acorex-components-button.mjs.map +1 -1
  269. package/fesm2022/acorex-components-calendar.mjs +26 -38
  270. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  271. package/fesm2022/acorex-components-check-box.mjs +9 -9
  272. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  273. package/fesm2022/acorex-components-chips.mjs +4 -4
  274. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  275. package/fesm2022/acorex-components-collapse.mjs +23 -18
  276. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  277. package/fesm2022/acorex-components-color-box.mjs +6 -6
  278. package/fesm2022/acorex-components-color-box.mjs.map +1 -1
  279. package/fesm2022/acorex-components-color-palette.mjs +53 -59
  280. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  281. package/fesm2022/acorex-components-common.mjs +147 -164
  282. package/fesm2022/acorex-components-common.mjs.map +1 -1
  283. package/fesm2022/acorex-components-context-menu.mjs +6 -16
  284. package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
  285. package/fesm2022/acorex-components-data-pager.mjs +70 -19
  286. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  287. package/fesm2022/acorex-components-data-table.mjs +1 -1
  288. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  289. package/fesm2022/acorex-components-datetime-box.mjs +11 -8
  290. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  291. package/fesm2022/acorex-components-datetime-input.mjs +133 -133
  292. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  293. package/fesm2022/acorex-components-datetime-picker.mjs +9 -9
  294. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  295. package/fesm2022/acorex-components-decorators.mjs +8 -4
  296. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  297. package/fesm2022/acorex-components-dialog.mjs +65 -40
  298. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  299. package/fesm2022/acorex-components-drawer.mjs +1 -1
  300. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  301. package/fesm2022/acorex-components-dropdown.mjs +46 -20
  302. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  303. package/fesm2022/acorex-components-form.mjs +76 -75
  304. package/fesm2022/acorex-components-form.mjs.map +1 -1
  305. package/fesm2022/acorex-components-image.mjs.map +1 -1
  306. package/fesm2022/acorex-components-label.mjs +2 -6
  307. package/fesm2022/acorex-components-label.mjs.map +1 -1
  308. package/fesm2022/acorex-components-list.mjs +269 -0
  309. package/fesm2022/acorex-components-list.mjs.map +1 -0
  310. package/fesm2022/acorex-components-loading.mjs +42 -36
  311. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  312. package/fesm2022/acorex-components-menu.mjs +147 -21
  313. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  314. package/fesm2022/acorex-components-mixin.mjs +113 -64
  315. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  316. package/fesm2022/acorex-components-notification.mjs +50 -38
  317. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  318. package/fesm2022/acorex-components-number-box.mjs +7 -17
  319. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  320. package/fesm2022/acorex-components-otp.mjs +4 -4
  321. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  322. package/fesm2022/acorex-components-page.mjs +6 -4
  323. package/fesm2022/acorex-components-page.mjs.map +1 -1
  324. package/fesm2022/acorex-components-password-box.mjs +7 -15
  325. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  326. package/fesm2022/acorex-components-picker.mjs +10 -17
  327. package/fesm2022/acorex-components-picker.mjs.map +1 -1
  328. package/fesm2022/acorex-components-popover.mjs +7 -4
  329. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  330. package/fesm2022/acorex-components-popup.mjs +1 -3
  331. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  332. package/fesm2022/acorex-components-progress-bar.mjs +3 -3
  333. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -1
  334. package/fesm2022/acorex-components-radio.mjs +6 -6
  335. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  336. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  337. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  338. package/fesm2022/acorex-components-result.mjs +2 -2
  339. package/fesm2022/acorex-components-result.mjs.map +1 -1
  340. package/fesm2022/acorex-components-routing-progress.mjs +83 -0
  341. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -0
  342. package/fesm2022/acorex-components-scheduler.mjs +3 -1
  343. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  344. package/fesm2022/acorex-components-search-box.mjs +47 -24
  345. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  346. package/fesm2022/acorex-components-select-box.mjs +201 -12
  347. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  348. package/fesm2022/acorex-components-selection-list.mjs +26 -11
  349. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  350. package/fesm2022/acorex-components-switch.mjs +9 -16
  351. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  352. package/fesm2022/acorex-components-tabs.mjs +3 -3
  353. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  354. package/fesm2022/acorex-components-tag.mjs +2 -2
  355. package/fesm2022/acorex-components-tag.mjs.map +1 -1
  356. package/fesm2022/acorex-components-text-area.mjs +20 -14
  357. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  358. package/fesm2022/acorex-components-text-box.mjs +8 -22
  359. package/fesm2022/acorex-components-text-box.mjs.map +1 -1
  360. package/fesm2022/acorex-components-toast.mjs +46 -48
  361. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  362. package/fesm2022/acorex-components-tooltip.mjs +2 -2
  363. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  364. package/fesm2022/acorex-components-uploader.mjs +146 -18
  365. package/fesm2022/acorex-components-uploader.mjs.map +1 -1
  366. package/form/index.d.ts +1 -1
  367. package/form/lib/form.component.d.ts +2 -2
  368. package/form/lib/validation-summary.component.d.ts +3 -3
  369. package/list/README.md +3 -0
  370. package/list/index.d.ts +2 -0
  371. package/list/lib/list.component.d.ts +70 -0
  372. package/list/lib/list.module.d.ts +9 -0
  373. package/loading/index.d.ts +1 -1
  374. package/loading/lib/loading.component.d.ts +1 -1
  375. package/loading/lib/loading.module.d.ts +3 -2
  376. package/menu/index.d.ts +3 -0
  377. package/menu/lib/class/root-menu.class.d.ts +4 -0
  378. package/menu/lib/menu-item/menu-item.component.d.ts +22 -0
  379. package/menu/lib/menu.component.d.ts +3 -3
  380. package/menu/lib/menu.module.d.ts +10 -7
  381. package/menu/lib/menu2.component.d.ts +12 -0
  382. package/mixin/lib/base-components.class.d.ts +2 -2
  383. package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
  384. package/mixin/lib/button-mixin.class.d.ts +2 -2
  385. package/mixin/lib/clickable-mixin.class.d.ts +9 -9
  386. package/mixin/lib/color-look-mixing.class.d.ts +2 -2
  387. package/mixin/lib/datalist-component.class.d.ts +10 -10
  388. package/mixin/lib/datalist.class.d.ts +38 -0
  389. package/mixin/lib/dropdown-mixin.class.d.ts +3 -3
  390. package/mixin/lib/interactive-mixin.class.d.ts +25 -22
  391. package/mixin/lib/mixin.class.d.ts +62 -62
  392. package/mixin/lib/page-component.class.d.ts +4 -4
  393. package/mixin/lib/selection-component.class.d.ts +3 -3
  394. package/mixin/lib/sizable-mixin.class.d.ts +2 -2
  395. package/mixin/lib/textbox-mixin.class.d.ts +20 -20
  396. package/mixin/lib/value-mixin.class.d.ts +9 -9
  397. package/notification/index.d.ts +1 -1
  398. package/notification/lib/notification.class.d.ts +3 -3
  399. package/notification/lib/notification.component.d.ts +3 -3
  400. package/notification/lib/notification.config.d.ts +1 -1
  401. package/number-box/lib/number-box.component.d.ts +3 -3
  402. package/otp/lib/otp.component.d.ts +3 -3
  403. package/package.json +13 -1
  404. package/page/lib/base-page.class.d.ts +1 -1
  405. package/page/lib/page.component.d.ts +1 -1
  406. package/password-box/lib/password-box.component.d.ts +4 -4
  407. package/popover/lib/popover.component.d.ts +2 -1
  408. package/popup/index.d.ts +1 -1
  409. package/popup/lib/popup.interface.d.ts +2 -2
  410. package/routing-progress/README.md +3 -0
  411. package/routing-progress/index.d.ts +2 -0
  412. package/routing-progress/lib/routing-progress.component.d.ts +14 -0
  413. package/routing-progress/lib/routing-progress.module.d.ts +8 -0
  414. package/search-box/lib/search-box.component.d.ts +10 -4
  415. package/select-box/index.d.ts +1 -0
  416. package/select-box/lib/select-box.module.d.ts +15 -12
  417. package/select-box/lib/select-box2.component.d.ts +44 -0
  418. package/selection-list/lib/selection-list.component.d.ts +7 -3
  419. package/text-area/lib/text-area.component.d.ts +10 -3
  420. package/text-box/lib/text-box.component.d.ts +3 -3
  421. package/toast/index.d.ts +1 -1
  422. package/toast/lib/toast.class.d.ts +1 -1
  423. package/toast/lib/toast.component.d.ts +5 -4
  424. package/toast/lib/toast.config.d.ts +1 -1
  425. package/tooltip/lib/tooltip.directive.d.ts +1 -1
  426. package/uploader/index.d.ts +2 -0
  427. package/uploader/lib/uploader-list.component.d.ts +14 -1
  428. package/uploader/lib/uploader-zone.directive.d.ts +18 -0
  429. package/uploader/lib/uploader.module.d.ts +6 -4
  430. package/uploader/lib/uploader.service.d.ts +10 -0
  431. package/common/lib/components/appearance-component.class.d.ts +0 -12
  432. package/esm2022/common/lib/components/appearance-component.class.mjs +0 -25
@@ -1,6 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, Inject, EventEmitter } from '@angular/core';
3
3
  import { unionBy, flatMapDeep, clone } from 'lodash-es';
4
+ import { defer, Subject, BehaviorSubject, combineLatest } from 'rxjs';
5
+ import { finalize, switchMap, startWith, share, map } from 'rxjs/operators';
4
6
  import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
5
7
 
6
8
  class AXBaseComponent {
@@ -14,8 +16,7 @@ class AXBaseComponent {
14
16
  return this.#rtl;
15
17
  else
16
18
  return (this._getHostElement()?.classList?.contains('ax-rtl') ||
17
- window.getComputedStyle(this._getHostElement(), null)?.getPropertyValue('direction') ===
18
- 'rtl');
19
+ window.getComputedStyle(this._getHostElement(), null)?.getPropertyValue('direction') === 'rtl');
19
20
  }
20
21
  set rtl(value) {
21
22
  this.#rtl = value;
@@ -318,18 +319,18 @@ function _ClickableComponenetMixin(Base) {
318
319
  this.onClick.emit({
319
320
  component: this,
320
321
  htmlElement: this._getHostElement(),
321
- nativeEvent: e
322
+ nativeEvent: e,
322
323
  });
323
324
  }
324
325
  /**
325
- * @ignore
326
- */
326
+ * @ignore
327
+ */
327
328
  constructor(...args) {
328
329
  super(...args);
329
330
  /**
330
- * Fires each time the user clicks the button.
331
- * @event
332
- */
331
+ * Fires each time the user clicks the button.
332
+ * @event
333
+ */
333
334
  this.onClick = new EventEmitter();
334
335
  }
335
336
  };
@@ -340,9 +341,9 @@ function _ColorLookComponentMixin(Base) {
340
341
  constructor(...args) {
341
342
  super(...args);
342
343
  this.colorChange = new EventEmitter();
343
- this._color = 'default';
344
+ this._color = 'ghost';
344
345
  this.lookChange = new EventEmitter();
345
- this._look = 'default';
346
+ this._look = 'solid';
346
347
  }
347
348
  /**
348
349
  * Predefined color schemes
@@ -483,9 +484,7 @@ function _DatalistComponenetMixin(Base) {
483
484
  }
484
485
  else {
485
486
  this.#totalItems = c.total || c.items?.length || 0;
486
- this.#loadedItems = [
487
- ...new Set(this.#loadedItems.concat(this._formatData(c.items))),
488
- ];
487
+ this.#loadedItems = [...new Set(this.#loadedItems.concat(this._formatData(c.items)))];
489
488
  this.#currentPage++;
490
489
  }
491
490
  this._cdr.markForCheck();
@@ -533,7 +532,49 @@ function _DatalistComponenetMixin(Base) {
533
532
  const DATALIST_INPUTS = ['pageSize', 'valueField', 'textField', 'items'];
534
533
  const DATALIST_OUTPUT = [];
535
534
 
536
- ;
535
+ function prepare(callback) {
536
+ return (source) => defer(() => {
537
+ callback();
538
+ return source;
539
+ });
540
+ }
541
+ function indicate(indicator) {
542
+ return (source) => source.pipe(prepare(() => indicator.next(true)), finalize(() => indicator.next(false)));
543
+ }
544
+ class AXPaginatedDataSource {
545
+ constructor(endpoint, initialSort, initialQuery, take = 20) {
546
+ this.endpoint = endpoint;
547
+ this.take = take;
548
+ this.pageNumber = new Subject();
549
+ this.loading = new Subject();
550
+ this.loading$ = this.loading.asObservable();
551
+ this.query = new BehaviorSubject(initialQuery);
552
+ this.sort = new BehaviorSubject(initialSort);
553
+ const param$ = combineLatest([this.query, this.sort]);
554
+ this.page$ = param$.pipe(switchMap(([query, sort]) => this.pageNumber.pipe(startWith(0), switchMap((page) => this.endpoint({
555
+ take,
556
+ skip: page * take,
557
+ sort,
558
+ }, query).pipe(indicate(this.loading))))), share());
559
+ }
560
+ sortBy(sort) {
561
+ const lastSort = this.sort.getValue();
562
+ const nextSort = { ...lastSort, ...sort };
563
+ this.sort.next(nextSort);
564
+ }
565
+ queryBy(query) {
566
+ const lastQuery = this.query.getValue();
567
+ const nextQuery = { ...lastQuery, ...query };
568
+ this.query.next(nextQuery);
569
+ }
570
+ fetch(page) {
571
+ this.pageNumber.next(page);
572
+ }
573
+ connect() {
574
+ return this.page$.pipe(map((page) => page.items));
575
+ }
576
+ disconnect() { }
577
+ }
537
578
 
538
579
  function _DropdownComponenetMixin(Base) {
539
580
  class Mixin extends Base {
@@ -559,9 +600,7 @@ function _DropdownComponenetMixin(Base) {
559
600
  setTimeout(() => {
560
601
  if (this.position.length == 0) {
561
602
  const a = 0;
562
- const offset = Number(getComputedStyle(document.documentElement)
563
- .getPropertyValue('--ax-base-size')
564
- .replace('px', ''));
603
+ const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
565
604
  const list = [
566
605
  {
567
606
  originX: 'start',
@@ -635,9 +674,11 @@ function _InteractiveComponenetMixin(Base) {
635
674
  class Mixin extends Base {
636
675
  #disabled;
637
676
  /**
638
- * If set to true, it disables the component.
639
- */
640
- get disabled() { return this.#disabled; }
677
+ * If set to true, it disables the component.
678
+ */
679
+ get disabled() {
680
+ return this.#disabled;
681
+ }
641
682
  set disabled(value) {
642
683
  value = this._onOptionChanging({ name: 'disabled', value: value });
643
684
  if (value != this.disabled) {
@@ -649,9 +690,11 @@ function _InteractiveComponenetMixin(Base) {
649
690
  }
650
691
  #tabIndex;
651
692
  /**
652
- * Specifies the tabindex of the component.
653
- */
654
- get tabIndex() { return this.disabled ? -1 : this.#tabIndex; }
693
+ * Specifies the tabindex of the component.
694
+ */
695
+ get tabIndex() {
696
+ return this.disabled ? -1 : this.#tabIndex;
697
+ }
655
698
  set tabIndex(value) {
656
699
  this.#tabIndex = value != null ? coerceNumberProperty(value) : 0;
657
700
  }
@@ -659,57 +702,54 @@ function _InteractiveComponenetMixin(Base) {
659
702
  this.onFocus.emit({
660
703
  component: this,
661
704
  htmlElement: this._getHostElement(),
662
- nativeEvent: e
705
+ nativeEvent: e,
663
706
  });
664
707
  }
665
708
  _emitOnBlurEvent(e) {
666
709
  this.onBlur.emit({
667
710
  component: this,
668
711
  htmlElement: this._getHostElement(),
669
- nativeEvent: e
712
+ nativeEvent: e,
670
713
  });
671
714
  }
672
715
  /**
673
- * Focuses the component.
674
- */
716
+ * Focuses the component.
717
+ */
675
718
  focus() {
676
- const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map(c => c + ':not([tabindex="-1"])');
719
+ const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map((c) => c + ':not([tabindex="-1"])');
677
720
  const focusable = this._getHostElement().querySelector(list.join(', '));
678
721
  if (focusable) {
679
722
  focusable.focus();
680
723
  }
681
724
  }
682
725
  /**
683
- * Check component is focused or has any focused element.
684
- */
726
+ * Check component is focused or has any focused element.
727
+ */
685
728
  hasFocus() {
686
729
  return this._getHostElement().matches(':focus-within') || this._getHostElement().matches(':focus');
687
730
  }
688
731
  /**
689
- * @ignore
690
- */
732
+ * @ignore
733
+ */
691
734
  constructor(...args) {
692
735
  super(...args);
693
736
  this.#disabled = false;
694
737
  this.#tabIndex = 0;
695
738
  /**
696
- * Fires each time the component gets focused.
697
- * @event
698
- */
739
+ * Fires each time the component gets focused.
740
+ * @event
741
+ */
699
742
  this.onFocus = new EventEmitter();
700
743
  /**
701
- * Fires each time the component gets blurred.
702
- * @event
703
- */
744
+ * Fires each time the component gets blurred.
745
+ * @event
746
+ */
704
747
  this.onBlur = new EventEmitter();
705
748
  }
706
749
  }
707
750
  return Mixin;
708
751
  }
709
- const INTERACTIVE_INPUTS = [
710
- 'disabled',
711
- 'tabIndex',
712
- ];
752
+ const INTERACTIVE_INPUTS = ['disabled', 'tabIndex'];
713
753
  const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
714
754
 
715
755
  function _SelectionComponenetMixin(Base) {
@@ -910,56 +950,65 @@ function _TextboxComponenetMixin(Base) {
910
950
  _emitOnKeydownEvent(e) {
911
951
  this.onKeyDown.emit({
912
952
  component: this,
913
- nativeEvent: e
953
+ nativeEvent: e,
914
954
  });
915
955
  this._setUserInteraction();
916
956
  }
917
957
  _emitOnKeyupEvent(e) {
918
958
  this.onKeyUp.emit({
919
959
  component: this,
920
- nativeEvent: e
960
+ nativeEvent: e,
921
961
  });
922
962
  this._setUserInteraction();
923
963
  }
924
964
  _emitOnKeypressEvent(e) {
925
965
  this.onKeyPress.emit({
926
966
  component: this,
927
- nativeEvent: e
967
+ nativeEvent: e,
928
968
  });
929
969
  this._setUserInteraction();
930
970
  }
931
971
  /**
932
- * @ignore
933
- */
972
+ * @ignore
973
+ */
934
974
  constructor(...args) {
935
975
  super(...args.slice(0, 2));
936
976
  /**
937
- * A string value that specifies the type of text box.
938
- */
977
+ * A string value that specifies the type of text box.
978
+ */
939
979
  this.type = 'text';
940
980
  /**
941
- * A string value that specifies the placeholder of text box.
942
- */
981
+ * A string value that specifies the placeholder of text box.
982
+ */
943
983
  this.placeholder = '';
944
984
  /**
945
- * Fires each time the user press a key.
946
- * @event
947
- */
985
+ * Fires each time the user press a key.
986
+ * @event
987
+ */
948
988
  this.onKeyDown = new EventEmitter();
949
989
  /**
950
- * Fires each time the user press a key.
951
- * @event
952
- */
990
+ * Fires each time the user press a key.
991
+ * @event
992
+ */
953
993
  this.onKeyUp = new EventEmitter();
954
994
  /**
955
- * Fires each time the user press a key.
956
- * @event
957
- */
995
+ * Fires each time the user press a key.
996
+ * @event
997
+ */
958
998
  this.onKeyPress = new EventEmitter();
959
999
  }
960
1000
  };
961
1001
  }
962
- const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'type', 'autoComplete', 'readonly', 'value', 'name'];
1002
+ const TEXTBOX_INPUTS = [
1003
+ 'placeholder',
1004
+ 'maxLength',
1005
+ 'allowNull',
1006
+ 'type',
1007
+ 'autoComplete',
1008
+ 'readonly',
1009
+ 'value',
1010
+ 'name',
1011
+ ];
963
1012
  const TEXTBOX_OUTPUT = ['valueChange', 'onValueChanged'];
964
1013
 
965
1014
  function _ValueComponenetMixin(Base) {
@@ -1203,8 +1252,8 @@ const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
1203
1252
  function _PageComponenetMixin(Base) {
1204
1253
  return class extends Base {
1205
1254
  /**
1206
- * @ignore
1207
- */
1255
+ * @ignore
1256
+ */
1208
1257
  constructor(...args) {
1209
1258
  super(...args.slice(0, 2));
1210
1259
  }
@@ -1215,5 +1264,5 @@ function _PageComponenetMixin(Base) {
1215
1264
  * Generated bundle index. Do not edit.
1216
1265
  */
1217
1266
 
1218
- export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin };
1267
+ export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXPaginatedDataSource, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin, indicate, prepare };
1219
1268
  //# sourceMappingURL=acorex-components-mixin.mjs.map