@acorex/components 7.2.7 → 7.3.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 (473) hide show
  1. package/action-sheet/index.d.ts +1 -1
  2. package/action-sheet/lib/action-sheet.class.d.ts +31 -0
  3. package/action-sheet/lib/action-sheet.component.d.ts +12 -13
  4. package/action-sheet/lib/action-sheet.module.d.ts +2 -1
  5. package/action-sheet/lib/action-sheet.service.d.ts +4 -8
  6. package/alert/lib/alert.component.d.ts +12 -11
  7. package/button/lib/button-group.component.d.ts +6 -6
  8. package/button/lib/button-item.class.d.ts +6 -2
  9. package/button/lib/button-item.component.d.ts +6 -6
  10. package/button/lib/button.component.d.ts +5 -3
  11. package/calendar/lib/calendar.component.d.ts +2 -1
  12. package/check-box/README.md +3 -0
  13. package/check-box/index.d.ts +2 -0
  14. package/check-box/lib/check-box.component.d.ts +14 -0
  15. package/{checkbox/lib/checkbox.module.d.ts → check-box/lib/check-box.module.d.ts} +1 -1
  16. package/chips/lib/chips.component.d.ts +2 -2
  17. package/color-palette/lib/color-palette-input.component.d.ts +10 -7
  18. package/color-palette/lib/color-palette-picker.component.d.ts +10 -5
  19. package/color-palette/lib/color-palette-preview.component.d.ts +8 -4
  20. package/color-palette/lib/color-palette-swatches.component.d.ts +9 -6
  21. package/color-palette/lib/color-palette.class.d.ts +12 -6
  22. package/color-palette/lib/color-palette.component.d.ts +3 -15
  23. package/color-palette/lib/color-palette.module.d.ts +9 -8
  24. package/color-picker/lib/color-picker.component.d.ts +17 -24
  25. package/color-picker/lib/color-picker.module.d.ts +1 -1
  26. package/common/index.d.ts +3 -1
  27. package/common/lib/classes/components.class.d.ts +12 -2
  28. package/common/lib/classes/datalist.class.d.ts +11 -0
  29. package/common/lib/common.module.d.ts +3 -4
  30. package/common/lib/components/base-component.class.d.ts +13 -5
  31. package/common/lib/components/input-base-value-component.class.d.ts +27 -0
  32. package/common/lib/components/interactive-component.class.d.ts +7 -0
  33. package/common/lib/components/value-component.class.d.ts +22 -8
  34. package/common/lib/directives/auto-focus.directive.d.ts +6 -5
  35. package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
  36. package/common/lib/services/dom.service.d.ts +6 -0
  37. package/data-pager/lib/data-pager-base.component.d.ts +18 -13
  38. package/data-pager/lib/data-pager-info.component.d.ts +3 -9
  39. package/data-pager/lib/data-pager-input-selector.component.d.ts +5 -9
  40. package/data-pager/lib/data-pager-next-buttons.components.d.ts +2 -8
  41. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +2 -7
  42. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +2 -6
  43. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +2 -7
  44. package/data-pager/lib/data-pager.component.d.ts +17 -18
  45. package/data-pager/lib/data-pager.module.d.ts +6 -5
  46. package/data-table/index.d.ts +0 -1
  47. package/data-table/lib/data-column.directive.d.ts +3 -8
  48. package/data-table/lib/data-table.component.d.ts +6 -7
  49. package/data-table/lib/data-table.module.d.ts +6 -7
  50. package/date-picker/lib/datepicker.component.d.ts +7 -6
  51. package/date-picker/lib/datepicker.module.d.ts +1 -1
  52. package/decorators/index.d.ts +2 -12
  53. package/decorators/lib/clear-button.component.d.ts +13 -0
  54. package/decorators/lib/close-button.component.d.ts +5 -8
  55. package/decorators/lib/decorators.module.d.ts +6 -15
  56. package/decorators/lib/generic-content.component.d.ts +6 -0
  57. package/decorators/lib/icon.component.d.ts +2 -4
  58. package/dialog/lib/dialog.class.d.ts +11 -3
  59. package/dialog/lib/dialog.component.d.ts +15 -11
  60. package/dialog/lib/dialog.module.d.ts +4 -3
  61. package/dialog/lib/dialog.service.d.ts +4 -12
  62. package/drawer/lib/drawer-container.component.d.ts +2 -5
  63. package/drawer/lib/drawer.component.d.ts +6 -7
  64. package/esm2022/acorex-components.mjs +1 -1
  65. package/esm2022/action-sheet/index.mjs +2 -2
  66. package/esm2022/action-sheet/lib/action-sheet.class.mjs +2 -0
  67. package/esm2022/action-sheet/lib/action-sheet.component.mjs +50 -38
  68. package/esm2022/action-sheet/lib/action-sheet.module.mjs +11 -7
  69. package/esm2022/action-sheet/lib/action-sheet.service.mjs +32 -72
  70. package/esm2022/alert/lib/alert.component.mjs +19 -20
  71. package/esm2022/alert/lib/alert.module.mjs +7 -7
  72. package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
  73. package/esm2022/avatar/lib/avatar.component.mjs +3 -3
  74. package/esm2022/avatar/lib/avatar.module.mjs +4 -4
  75. package/esm2022/badge/lib/badge.component.mjs +7 -7
  76. package/esm2022/badge/lib/badge.module.mjs +4 -4
  77. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
  78. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  79. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
  80. package/esm2022/button/lib/button-group.component.mjs +3 -3
  81. package/esm2022/button/lib/button-item.class.mjs +1 -1
  82. package/esm2022/button/lib/button-item.component.mjs +3 -3
  83. package/esm2022/button/lib/button.component.mjs +34 -17
  84. package/esm2022/button/lib/button.module.mjs +4 -4
  85. package/esm2022/calendar/lib/calendar-range.component.mjs +5 -5
  86. package/esm2022/calendar/lib/calendar.class.mjs +3 -3
  87. package/esm2022/calendar/lib/calendar.component.mjs +18 -15
  88. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  89. package/esm2022/check-box/acorex-components-check-box.mjs +5 -0
  90. package/esm2022/check-box/index.mjs +3 -0
  91. package/esm2022/check-box/lib/check-box.component.mjs +76 -0
  92. package/esm2022/check-box/lib/check-box.module.mjs +21 -0
  93. package/esm2022/chips/lib/chips.component.mjs +7 -6
  94. package/esm2022/chips/lib/chips.module.mjs +4 -4
  95. package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
  96. package/esm2022/collapse/lib/collapse.component.mjs +3 -3
  97. package/esm2022/collapse/lib/collapse.module.mjs +4 -4
  98. package/esm2022/color-palette/lib/color-palette-input.component.mjs +64 -73
  99. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +63 -58
  100. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +30 -25
  101. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +32 -246
  102. package/esm2022/color-palette/lib/color-palette.class.mjs +229 -8
  103. package/esm2022/color-palette/lib/color-palette.component.mjs +32 -47
  104. package/esm2022/color-palette/lib/color-palette.module.mjs +10 -7
  105. package/esm2022/color-picker/lib/color-picker.component.mjs +12 -6
  106. package/esm2022/color-picker/lib/color-picker.module.mjs +6 -6
  107. package/esm2022/common/index.mjs +4 -2
  108. package/esm2022/common/lib/classes/components.class.mjs +26 -19
  109. package/esm2022/common/lib/classes/datalist.class.mjs +3 -0
  110. package/esm2022/common/lib/common.module.mjs +5 -10
  111. package/esm2022/common/lib/components/base-component.class.mjs +26 -13
  112. package/esm2022/common/lib/components/input-base-value-component.class.mjs +47 -0
  113. package/esm2022/common/lib/components/interactive-component.class.mjs +31 -4
  114. package/esm2022/common/lib/components/value-component.class.mjs +57 -33
  115. package/esm2022/common/lib/directives/auto-focus.directive.mjs +18 -11
  116. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +49 -0
  117. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
  118. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
  119. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
  120. package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +6 -6
  121. package/esm2022/common/lib/services/dom.service.mjs +16 -0
  122. package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
  123. package/esm2022/common/lib/services/overlay.service.mjs +3 -3
  124. package/esm2022/context-menu/lib/context-menu.component.mjs +5 -5
  125. package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
  126. package/esm2022/data-pager/lib/data-pager-base.component.mjs +35 -21
  127. package/esm2022/data-pager/lib/data-pager-info.component.mjs +13 -26
  128. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +27 -31
  129. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +19 -33
  130. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +31 -38
  131. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +22 -31
  132. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -29
  133. package/esm2022/data-pager/lib/data-pager.component.mjs +66 -38
  134. package/esm2022/data-pager/lib/data-pager.module.mjs +8 -7
  135. package/esm2022/data-table/index.mjs +1 -2
  136. package/esm2022/data-table/lib/data-column.directive.mjs +7 -22
  137. package/esm2022/data-table/lib/data-table.component.mjs +30 -30
  138. package/esm2022/data-table/lib/data-table.module.mjs +6 -7
  139. package/esm2022/date-picker/lib/datepicker.component.mjs +19 -16
  140. package/esm2022/date-picker/lib/datepicker.module.mjs +6 -6
  141. package/esm2022/decorators/index.mjs +3 -13
  142. package/esm2022/decorators/lib/clear-button.component.mjs +58 -0
  143. package/esm2022/decorators/lib/close-button.component.mjs +16 -20
  144. package/esm2022/decorators/lib/decorators.module.mjs +13 -49
  145. package/esm2022/decorators/lib/generic-content.component.mjs +17 -0
  146. package/esm2022/decorators/lib/icon.component.mjs +8 -11
  147. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  148. package/esm2022/dialog/lib/dialog.component.mjs +41 -23
  149. package/esm2022/dialog/lib/dialog.module.mjs +10 -8
  150. package/esm2022/dialog/lib/dialog.service.mjs +41 -49
  151. package/esm2022/drawer/lib/drawer-container.component.mjs +9 -13
  152. package/esm2022/drawer/lib/drawer.component.mjs +23 -27
  153. package/esm2022/drawer/lib/drawer.module.mjs +4 -4
  154. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +4 -4
  155. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
  156. package/esm2022/form/lib/form-field.component.mjs +9 -12
  157. package/esm2022/form/lib/form.component.mjs +38 -42
  158. package/esm2022/form/lib/form.module.mjs +4 -4
  159. package/esm2022/form/lib/validation-rule.widget.mjs +24 -15
  160. package/esm2022/form/lib/validation-summary.component.mjs +15 -14
  161. package/esm2022/image/lib/image.component.mjs +13 -17
  162. package/esm2022/image/lib/image.module.mjs +4 -4
  163. package/esm2022/index.mjs +1 -1
  164. package/esm2022/label/lib/label.component.mjs +18 -18
  165. package/esm2022/label/lib/label.module.mjs +4 -4
  166. package/esm2022/loading/index.mjs +2 -1
  167. package/esm2022/loading/lib/loading-spinner.component.mjs +4 -5
  168. package/esm2022/loading/lib/loading.component.mjs +22 -25
  169. package/esm2022/loading/lib/loading.config.mjs +17 -0
  170. package/esm2022/loading/lib/loading.directive.mjs +4 -4
  171. package/esm2022/loading/lib/loading.module.mjs +6 -17
  172. package/esm2022/loading/lib/loading.service.mjs +4 -36
  173. package/esm2022/menu/lib/menu.component.mjs +26 -19
  174. package/esm2022/menu/lib/menu.module.mjs +4 -4
  175. package/esm2022/mixin/lib/base-components.class.mjs +3 -3
  176. package/esm2022/mixin/lib/base-menu-mixin.class.mjs +3 -3
  177. package/esm2022/mixin/lib/color-look-mixing.class.mjs +1 -1
  178. package/esm2022/notification/index.mjs +2 -1
  179. package/esm2022/notification/lib/notification.class.mjs +1 -1
  180. package/esm2022/notification/lib/notification.component.mjs +51 -35
  181. package/esm2022/notification/lib/notification.config.mjs +20 -0
  182. package/esm2022/notification/lib/notification.module.mjs +11 -7
  183. package/esm2022/notification/lib/notification.service.mjs +46 -59
  184. package/esm2022/number-box/lib/number-box.component.mjs +101 -90
  185. package/esm2022/number-box/lib/number-box.module.mjs +4 -4
  186. package/esm2022/otp/lib/otp.component.mjs +38 -48
  187. package/esm2022/otp/lib/otp.module.mjs +4 -4
  188. package/esm2022/page/lib/base-page.class.mjs +6 -6
  189. package/esm2022/page/lib/page.component.mjs +3 -3
  190. package/esm2022/page/lib/page.module.mjs +4 -4
  191. package/esm2022/password-box/lib/password-box.component.mjs +37 -25
  192. package/esm2022/password-box/lib/password-box.module.mjs +4 -4
  193. package/esm2022/popover/lib/dropdown-component.class.mjs +3 -3
  194. package/esm2022/popover/lib/popover.component.mjs +3 -3
  195. package/esm2022/popover/lib/popover.module.mjs +4 -4
  196. package/esm2022/popup/index.mjs +2 -1
  197. package/esm2022/popup/lib/popup.component.mjs +49 -69
  198. package/esm2022/popup/lib/popup.interface.mjs +2 -0
  199. package/esm2022/popup/lib/popup.module.mjs +27 -12
  200. package/esm2022/popup/lib/popup.service.mjs +31 -86
  201. package/esm2022/progress-bar/lib/progress-bar.component.mjs +3 -3
  202. package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
  203. package/esm2022/radio/lib/radio.component.mjs +4 -4
  204. package/esm2022/radio/lib/radio.module.mjs +4 -4
  205. package/esm2022/range-slider/lib/range-slider.component.mjs +27 -22
  206. package/esm2022/range-slider/lib/range-slider.module.mjs +7 -6
  207. package/esm2022/result/lib/result.component.mjs +3 -3
  208. package/esm2022/result/lib/result.module.mjs +4 -4
  209. package/esm2022/scheduler/acorex-components-scheduler.mjs +5 -0
  210. package/esm2022/scheduler/index.mjs +4 -0
  211. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +45 -0
  212. package/esm2022/scheduler/lib/scheduler.component.mjs +30 -0
  213. package/esm2022/scheduler/lib/scheduler.module.mjs +26 -0
  214. package/esm2022/search-box/lib/search-box.component.mjs +35 -44
  215. package/esm2022/search-box/lib/search-box.module.mjs +28 -7
  216. package/esm2022/select-box/lib/select-box.component.mjs +11 -9
  217. package/esm2022/select-box/lib/select-box.module.mjs +7 -7
  218. package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
  219. package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
  220. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  221. package/esm2022/switch/lib/switch.component.mjs +27 -24
  222. package/esm2022/switch/lib/switch.module.mjs +4 -4
  223. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  224. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  225. package/esm2022/tabs/lib/tabs.component.mjs +3 -3
  226. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  227. package/esm2022/tag/lib/tag.component.mjs +3 -3
  228. package/esm2022/tag/lib/tag.module.mjs +4 -4
  229. package/esm2022/text-area/acorex-components-text-area.mjs +5 -0
  230. package/esm2022/text-area/index.mjs +3 -0
  231. package/esm2022/text-area/lib/text-area.component.mjs +36 -0
  232. package/esm2022/text-area/lib/text-area.module.mjs +19 -0
  233. package/esm2022/{checkbox/acorex-components-checkbox.mjs → text-box/acorex-components-text-box.mjs} +1 -1
  234. package/esm2022/text-box/index.mjs +4 -0
  235. package/esm2022/text-box/lib/mask-options.directive.mjs +17 -0
  236. package/esm2022/text-box/lib/text-box.component.mjs +111 -0
  237. package/esm2022/text-box/lib/text-box.module.mjs +38 -0
  238. package/esm2022/time-box/lib/time-box.component.mjs +5 -5
  239. package/esm2022/time-box/lib/time-box.module.mjs +4 -4
  240. package/esm2022/toast/index.mjs +2 -1
  241. package/esm2022/toast/lib/toast.class.mjs +1 -1
  242. package/esm2022/toast/lib/toast.component.mjs +37 -25
  243. package/esm2022/toast/lib/toast.config.mjs +19 -0
  244. package/esm2022/toast/lib/toast.module.mjs +12 -8
  245. package/esm2022/toast/lib/toast.service.mjs +46 -55
  246. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  247. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  248. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  249. package/esm2022/uploader/lib/uploader.component.mjs +3 -3
  250. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  251. package/fesm2022/acorex-components-action-sheet.mjs +99 -125
  252. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  253. package/fesm2022/acorex-components-alert.mjs +21 -22
  254. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  255. package/fesm2022/acorex-components-avatar.mjs +10 -10
  256. package/fesm2022/acorex-components-badge.mjs +9 -9
  257. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  258. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  259. package/fesm2022/acorex-components-button.mjs +41 -24
  260. package/fesm2022/acorex-components-button.mjs.map +1 -1
  261. package/fesm2022/acorex-components-calendar.mjs +28 -25
  262. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  263. package/fesm2022/acorex-components-check-box.mjs +100 -0
  264. package/fesm2022/acorex-components-check-box.mjs.map +1 -0
  265. package/fesm2022/acorex-components-chips.mjs +10 -9
  266. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  267. package/fesm2022/acorex-components-collapse.mjs +10 -10
  268. package/fesm2022/acorex-components-color-palette.mjs +432 -437
  269. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  270. package/fesm2022/acorex-components-color-picker.mjs +16 -10
  271. package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
  272. package/fesm2022/acorex-components-common.mjs +282 -150
  273. package/fesm2022/acorex-components-common.mjs.map +1 -1
  274. package/fesm2022/acorex-components-context-menu.mjs +8 -8
  275. package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
  276. package/fesm2022/acorex-components-data-pager.mjs +214 -228
  277. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  278. package/fesm2022/acorex-components-data-table.mjs +41 -71
  279. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  280. package/fesm2022/acorex-components-date-picker.mjs +25 -22
  281. package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
  282. package/fesm2022/acorex-components-decorators.mjs +80 -283
  283. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  284. package/fesm2022/acorex-components-dialog.mjs +97 -88
  285. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  286. package/fesm2022/acorex-components-drawer.mjs +31 -39
  287. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  288. package/fesm2022/acorex-components-dropdown.mjs +7 -7
  289. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  290. package/fesm2022/acorex-components-form.mjs +80 -77
  291. package/fesm2022/acorex-components-form.mjs.map +1 -1
  292. package/fesm2022/acorex-components-image.mjs +15 -19
  293. package/fesm2022/acorex-components-image.mjs.map +1 -1
  294. package/fesm2022/acorex-components-label.mjs +21 -21
  295. package/fesm2022/acorex-components-label.mjs.map +1 -1
  296. package/fesm2022/acorex-components-loading.mjs +51 -83
  297. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  298. package/fesm2022/acorex-components-menu.mjs +29 -22
  299. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  300. package/fesm2022/acorex-components-mixin.mjs +4 -5
  301. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  302. package/fesm2022/acorex-components-notification.mjs +131 -107
  303. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  304. package/fesm2022/acorex-components-number-box.mjs +106 -96
  305. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  306. package/fesm2022/acorex-components-otp.mjs +40 -50
  307. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  308. package/fesm2022/acorex-components-page.mjs +12 -12
  309. package/fesm2022/acorex-components-page.mjs.map +1 -1
  310. package/fesm2022/acorex-components-password-box.mjs +41 -30
  311. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  312. package/fesm2022/acorex-components-popover.mjs +10 -10
  313. package/fesm2022/acorex-components-popup.mjs +107 -170
  314. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  315. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  316. package/fesm2022/acorex-components-radio.mjs +8 -8
  317. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  318. package/fesm2022/acorex-components-range-slider.mjs +31 -27
  319. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  320. package/fesm2022/acorex-components-result.mjs +7 -7
  321. package/fesm2022/acorex-components-scheduler.mjs +98 -0
  322. package/fesm2022/acorex-components-scheduler.mjs.map +1 -0
  323. package/fesm2022/acorex-components-search-box.mjs +61 -49
  324. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  325. package/fesm2022/acorex-components-select-box.mjs +16 -14
  326. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  327. package/fesm2022/acorex-components-selection-list.mjs +8 -8
  328. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  329. package/fesm2022/acorex-components-switch.mjs +33 -31
  330. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  331. package/fesm2022/acorex-components-tabs.mjs +13 -13
  332. package/fesm2022/acorex-components-tag.mjs +7 -7
  333. package/fesm2022/acorex-components-text-area.mjs +59 -0
  334. package/fesm2022/acorex-components-text-area.mjs.map +1 -0
  335. package/fesm2022/{acorex-components-textbox.mjs → acorex-components-text-box.mjs} +49 -32
  336. package/fesm2022/acorex-components-text-box.mjs.map +1 -0
  337. package/fesm2022/acorex-components-time-box.mjs +8 -8
  338. package/fesm2022/acorex-components-time-box.mjs.map +1 -1
  339. package/fesm2022/acorex-components-toast.mjs +116 -94
  340. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  341. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  342. package/fesm2022/acorex-components-uploader.mjs +7 -7
  343. package/fesm2022/acorex-components.mjs.map +1 -1
  344. package/form/lib/form-field.component.d.ts +2 -4
  345. package/form/lib/form.component.d.ts +12 -17
  346. package/form/lib/validation-rule.widget.d.ts +9 -6
  347. package/form/lib/validation-summary.component.d.ts +7 -9
  348. package/image/lib/image.component.d.ts +7 -13
  349. package/label/lib/label.component.d.ts +4 -7
  350. package/loading/index.d.ts +1 -0
  351. package/loading/lib/loading.component.d.ts +9 -12
  352. package/loading/lib/loading.config.d.ts +8 -0
  353. package/loading/lib/loading.directive.d.ts +5 -5
  354. package/loading/lib/loading.module.d.ts +0 -1
  355. package/loading/lib/loading.service.d.ts +0 -18
  356. package/menu/lib/menu.component.d.ts +4 -2
  357. package/mixin/lib/base-components.class.d.ts +2 -2
  358. package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
  359. package/mixin/lib/button-mixin.class.d.ts +2 -2
  360. package/mixin/lib/clickable-mixin.class.d.ts +2 -2
  361. package/mixin/lib/color-look-mixing.class.d.ts +3 -3
  362. package/mixin/lib/datalist-component.class.d.ts +10 -10
  363. package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
  364. package/mixin/lib/interactive-mixin.class.d.ts +4 -4
  365. package/mixin/lib/loading-mixin.class.d.ts +2 -2
  366. package/mixin/lib/mixin.class.d.ts +61 -61
  367. package/mixin/lib/page-component.class.d.ts +2 -2
  368. package/mixin/lib/selection-component.class.d.ts +2 -2
  369. package/mixin/lib/sizable-mixin.class.d.ts +2 -2
  370. package/mixin/lib/textbox-mixin.class.d.ts +2 -2
  371. package/mixin/lib/value-mixin.class.d.ts +8 -8
  372. package/notification/index.d.ts +1 -0
  373. package/notification/lib/notification.class.d.ts +29 -7
  374. package/notification/lib/notification.component.d.ts +13 -14
  375. package/notification/lib/notification.config.d.ts +13 -0
  376. package/notification/lib/notification.module.d.ts +4 -1
  377. package/notification/lib/notification.service.d.ts +5 -9
  378. package/number-box/lib/number-box.component.d.ts +12 -17
  379. package/otp/lib/otp.component.d.ts +7 -14
  380. package/package.json +36 -30
  381. package/page/lib/base-page.class.d.ts +2 -2
  382. package/password-box/lib/password-box.component.d.ts +8 -11
  383. package/popup/index.d.ts +1 -0
  384. package/popup/lib/popup.component.d.ts +14 -19
  385. package/popup/lib/popup.interface.d.ts +26 -0
  386. package/popup/lib/popup.module.d.ts +4 -4
  387. package/popup/lib/popup.service.d.ts +4 -25
  388. package/range-slider/lib/range-slider.component.d.ts +6 -14
  389. package/range-slider/lib/range-slider.module.d.ts +3 -2
  390. package/scheduler/README.md +3 -0
  391. package/scheduler/index.d.ts +3 -0
  392. package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
  393. package/scheduler/lib/scheduler.component.d.ts +11 -0
  394. package/scheduler/lib/scheduler.module.d.ts +13 -0
  395. package/search-box/lib/search-box.component.d.ts +8 -16
  396. package/search-box/lib/search-box.module.d.ts +7 -5
  397. package/select-box/lib/select-box.module.d.ts +2 -2
  398. package/selection-list/lib/selection-list.module.d.ts +1 -1
  399. package/switch/lib/switch.component.d.ts +10 -8
  400. package/tabs/lib/tab-item.component.d.ts +2 -2
  401. package/text-area/README.md +3 -0
  402. package/text-area/index.d.ts +2 -0
  403. package/text-area/lib/text-area.component.d.ts +11 -0
  404. package/text-area/lib/text-area.module.d.ts +9 -0
  405. package/text-box/README.md +3 -0
  406. package/text-box/index.d.ts +3 -0
  407. package/text-box/lib/text-box.component.d.ts +25 -0
  408. package/{textbox/lib/textbox.module.d.ts → text-box/lib/text-box.module.d.ts} +1 -1
  409. package/time-box/lib/time-box.component.d.ts +1 -1
  410. package/toast/index.d.ts +1 -0
  411. package/toast/lib/toast.class.d.ts +14 -5
  412. package/toast/lib/toast.component.d.ts +13 -12
  413. package/toast/lib/toast.config.d.ts +12 -0
  414. package/toast/lib/toast.module.d.ts +4 -1
  415. package/toast/lib/toast.service.d.ts +5 -9
  416. package/action-sheet/lib/action-sheet.interface.d.ts +0 -21
  417. package/checkbox/README.md +0 -3
  418. package/checkbox/index.d.ts +0 -2
  419. package/checkbox/lib/checkbox.component.d.ts +0 -17
  420. package/common/lib/directives/debounce-time.directive.d.ts +0 -17
  421. package/data-table/lib/data-column-cell-template.directive.d.ts +0 -8
  422. package/decorators/lib/content.component.d.ts +0 -9
  423. package/decorators/lib/divider.component.d.ts +0 -5
  424. package/decorators/lib/footer.component.d.ts +0 -9
  425. package/decorators/lib/form-hint.component.d.ts +0 -8
  426. package/decorators/lib/header.component.d.ts +0 -9
  427. package/decorators/lib/overlay.component.d.ts +0 -6
  428. package/decorators/lib/placeholder.component.d.ts +0 -5
  429. package/decorators/lib/prefix.component.d.ts +0 -9
  430. package/decorators/lib/sub-title.component.d.ts +0 -9
  431. package/decorators/lib/suffix.component.d.ts +0 -9
  432. package/decorators/lib/text.component.d.ts +0 -9
  433. package/decorators/lib/title.component.d.ts +0 -8
  434. package/esm2022/action-sheet/lib/action-sheet.interface.mjs +0 -2
  435. package/esm2022/checkbox/index.mjs +0 -3
  436. package/esm2022/checkbox/lib/checkbox.component.mjs +0 -49
  437. package/esm2022/checkbox/lib/checkbox.module.mjs +0 -21
  438. package/esm2022/common/lib/directives/debounce-time.directive.mjs +0 -48
  439. package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +0 -17
  440. package/esm2022/decorators/lib/content.component.mjs +0 -26
  441. package/esm2022/decorators/lib/divider.component.mjs +0 -17
  442. package/esm2022/decorators/lib/footer.component.mjs +0 -26
  443. package/esm2022/decorators/lib/form-hint.component.mjs +0 -20
  444. package/esm2022/decorators/lib/header.component.mjs +0 -26
  445. package/esm2022/decorators/lib/overlay.component.mjs +0 -22
  446. package/esm2022/decorators/lib/placeholder.component.mjs +0 -14
  447. package/esm2022/decorators/lib/prefix.component.mjs +0 -26
  448. package/esm2022/decorators/lib/sub-title.component.mjs +0 -26
  449. package/esm2022/decorators/lib/suffix.component.mjs +0 -26
  450. package/esm2022/decorators/lib/text.component.mjs +0 -21
  451. package/esm2022/decorators/lib/title.component.mjs +0 -20
  452. package/esm2022/textarea/acorex-components-textarea.mjs +0 -5
  453. package/esm2022/textarea/index.mjs +0 -3
  454. package/esm2022/textarea/lib/textarea.component.mjs +0 -37
  455. package/esm2022/textarea/lib/textarea.module.mjs +0 -19
  456. package/esm2022/textbox/acorex-components-textbox.mjs +0 -5
  457. package/esm2022/textbox/index.mjs +0 -4
  458. package/esm2022/textbox/lib/mask-options.directive.mjs +0 -17
  459. package/esm2022/textbox/lib/textbox.component.mjs +0 -93
  460. package/esm2022/textbox/lib/textbox.module.mjs +0 -38
  461. package/fesm2022/acorex-components-checkbox.mjs +0 -74
  462. package/fesm2022/acorex-components-checkbox.mjs.map +0 -1
  463. package/fesm2022/acorex-components-textarea.mjs +0 -60
  464. package/fesm2022/acorex-components-textarea.mjs.map +0 -1
  465. package/fesm2022/acorex-components-textbox.mjs.map +0 -1
  466. package/textarea/README.md +0 -3
  467. package/textarea/index.d.ts +0 -2
  468. package/textarea/lib/textarea.component.d.ts +0 -14
  469. package/textarea/lib/textarea.module.d.ts +0 -9
  470. package/textbox/README.md +0 -3
  471. package/textbox/index.d.ts +0 -3
  472. package/textbox/lib/textbox.component.d.ts +0 -27
  473. /package/{textbox → text-box}/lib/mask-options.directive.d.ts +0 -0
@@ -1,4 +1,4 @@
1
1
  export * from './lib/action-sheet.component';
2
- export * from './lib/action-sheet.interface';
2
+ export * from './lib/action-sheet.class';
3
3
  export * from './lib/action-sheet.module';
4
4
  export * from './lib/action-sheet.service';
@@ -0,0 +1,31 @@
1
+ import { AXStyleColorType } from '@acorex/components/common';
2
+ import { ComponentType } from '@angular/cdk/portal';
3
+ import { TemplateRef } from '@angular/core';
4
+ export interface AXActionSheetItem {
5
+ name?: string;
6
+ text: string;
7
+ icon?: string;
8
+ disabled?: boolean;
9
+ color?: AXStyleColorType;
10
+ onClick?: () => void;
11
+ }
12
+ export type AXActionSheetContentType = TemplateRef<unknown> | ComponentType<unknown>;
13
+ export interface AXActionSheetConfig {
14
+ title?: string;
15
+ subTitle?: string;
16
+ closeButton?: boolean;
17
+ header?: boolean;
18
+ data?: unknown;
19
+ closeOnBackdropClick?: boolean;
20
+ items?: AXActionSheetItem[];
21
+ content?: AXActionSheetContentType;
22
+ }
23
+ export interface AXActionSheetData {
24
+ title: string;
25
+ subTitle?: string;
26
+ closeButton?: boolean;
27
+ header: boolean;
28
+ data: unknown;
29
+ content?: AXActionSheetContentType;
30
+ items?: AXActionSheetItem[];
31
+ }
@@ -1,24 +1,23 @@
1
1
  import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
2
2
  import { CdkPortalOutletAttachedRef, Portal } from '@angular/cdk/portal';
3
- import { EventEmitter, OnInit } from '@angular/core';
4
- import { AXActionSheetItem } from './action-sheet.interface';
3
+ import { OnInit } from '@angular/core';
4
+ import { AXActionSheetData, AXActionSheetItem } from './action-sheet.class';
5
+ import { DialogRef } from '@angular/cdk/dialog';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class AXActionSheetComponent extends MXBaseComponent implements OnInit {
8
+ protected data: AXActionSheetData;
9
+ private dialogRef;
7
10
  protected _selectedPortal: Portal<any>;
8
- title: string;
9
- subTitle: string;
10
- items: AXActionSheetItem[];
11
- content: any;
12
- showCloseButton: boolean;
13
- showHeader: boolean;
14
- data: unknown;
15
- onClosed: EventEmitter<AXComponentCloseEvent>;
16
- close(): void;
11
+ private _componentRef;
12
+ /**
13
+ * @ignore
14
+ */
15
+ constructor(data: AXActionSheetData, dialogRef: DialogRef<AXComponentCloseEvent>);
17
16
  ngOnInit(): void;
18
17
  protected onKeydownHandler(): void;
19
- protected _handleAttched(ref: CdkPortalOutletAttachedRef): void;
20
- protected _handleCloseClick(): void;
18
+ _handleAttched(ref: CdkPortalOutletAttachedRef): void;
21
19
  onItemClick(item: AXActionSheetItem): void;
20
+ close(): void;
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
23
22
  static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, {}, {}, never, never, false, never>;
24
23
  }
@@ -7,8 +7,9 @@ import * as i5 from "@angular/cdk/a11y";
7
7
  import * as i6 from "@acorex/components/button";
8
8
  import * as i7 from "@angular/cdk/portal";
9
9
  import * as i8 from "@acorex/components/decorators";
10
+ import * as i9 from "@angular/cdk/dialog";
10
11
  export declare class AXActionSheetModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, [typeof i1.AXActionSheetComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.PortalModule, typeof i8.AXDecoratorModule], [typeof i1.AXActionSheetComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, [typeof i1.AXActionSheetComponent], [typeof i2.CommonModule, typeof i3.AXCommonModule, typeof i4.DragDropModule, typeof i5.A11yModule, typeof i6.AXButtonModule, typeof i7.PortalModule, typeof i8.AXDecoratorModule, typeof i9.DialogModule], [typeof i1.AXActionSheetComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<AXActionSheetModule>;
14
15
  }
@@ -1,13 +1,9 @@
1
- import { AXComponentClosedPromise, AXOverlayService } from '@acorex/components/common';
2
- import { Overlay } from '@angular/cdk/overlay';
3
- import { AXActionSheetOptions } from './action-sheet.interface';
1
+ import { AXComponentClosedPromise } from '@acorex/components/common';
2
+ import { AXActionSheetConfig } from './action-sheet.class';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class AXActionSheetService {
6
- private _overlay;
7
- private overlayService;
8
- constructor(_overlay: Overlay, overlayService: AXOverlayService);
9
- open(options: AXActionSheetOptions): AXComponentClosedPromise;
10
- private closePopup;
5
+ private dialog;
6
+ open(config: AXActionSheetConfig): AXComponentClosedPromise;
11
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetService, never>;
12
8
  static ɵprov: i0.ɵɵInjectableDeclaration<AXActionSheetService>;
13
9
  }
@@ -1,6 +1,6 @@
1
- import { AXButtonComponent } from '@acorex/components/button';
2
- import { AXEvent, AXOptionChangedEvent, MXColorComponent } from '@acorex/components/common';
3
- import { EventEmitter } from '@angular/core';
1
+ import { AXEvent, MXColorComponent } from '@acorex/components/common';
2
+ import { AXDecoratorGenericComponent } from '@acorex/components/decorators';
3
+ import { AfterViewInit, EventEmitter, OnDestroy, OnInit } from '@angular/core';
4
4
  import * as i0 from "@angular/core";
5
5
  declare const AXAlertComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXColorComponent]>;
6
6
  /**
@@ -8,12 +8,12 @@ declare const AXAlertComponent_base: import("polytype").Polytype.ClusteredConstr
8
8
  *
9
9
  * @category Components
10
10
  */
11
- export declare class AXAlertComponent extends AXAlertComponent_base {
11
+ export declare class AXAlertComponent extends AXAlertComponent_base implements OnInit, AfterViewInit, OnDestroy {
12
12
  private _iconComp;
13
13
  private _buttonComps;
14
- protected _titleComp: AXButtonComponent;
15
- protected _contentComp: AXButtonComponent;
16
- protected _footerComp: AXButtonComponent;
14
+ protected _titleComp: AXDecoratorGenericComponent;
15
+ protected _contentComp: AXDecoratorGenericComponent;
16
+ protected _footerComp: AXDecoratorGenericComponent;
17
17
  protected _showInline: boolean;
18
18
  onClosed: EventEmitter<AXEvent>;
19
19
  private _customIcon;
@@ -32,9 +32,10 @@ export declare class AXAlertComponent extends AXAlertComponent_base {
32
32
  */
33
33
  get visible(): boolean;
34
34
  set visible(v: boolean);
35
- protected ngOnInit(): void;
36
- protected ngAfterViewInit(): void;
37
- protected _handleOnOptionChanged(e: AXOptionChangedEvent): void;
35
+ ngOnInit(): void;
36
+ ngAfterViewInit(): void;
37
+ private _setLayout;
38
+ protected _handleOnOptionChanged(): void;
38
39
  private _setIcon;
39
40
  private _applyButtonStyle;
40
41
  /**
@@ -51,6 +52,6 @@ export declare class AXAlertComponent extends AXAlertComponent_base {
51
52
  show(): void;
52
53
  ngOnDestroy(): void;
53
54
  static ɵfac: i0.ɵɵFactoryDeclaration<AXAlertComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": { "alias": "color"; "required": false; }; "timeOut": { "alias": "timeOut"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "colorChange": "colorChange"; "onClosed": "onClosed"; }, ["_iconComp", "_titleComp", "_contentComp", "_footerComp", "_buttonComps"], ["ax-icon", "ax-title", "ax-content", "ax-footer", "ax-button", "ax-close-button"], false, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXAlertComponent, "ax-alert", never, { "color": { "alias": "color"; "required": false; }; "timeOut": { "alias": "timeOut"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, { "colorChange": "colorChange"; "onClosed": "onClosed"; }, ["_iconComp", "_titleComp", "_contentComp", "_footerComp", "_buttonComps"], ["ax-button", "ax-close-button", "ax-title", "ax-icon", "ax-content", "ax-footer"], false, never>;
55
56
  }
56
57
  export {};
@@ -4,9 +4,9 @@ import { AXClickEvent, AXItemClickEvent, AXSelectionMode, AXSelectionValueChange
4
4
  import { AXBaseComponent } from '@acorex/components/mixin';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
7
- "__#5095@#disabled": boolean;
7
+ "__#5215@#disabled": boolean;
8
8
  disabled: boolean;
9
- "__#5095@#tabIndex": number;
9
+ "__#5215@#tabIndex": number;
10
10
  tabIndex: number;
11
11
  onFocus: EventEmitter<import("@acorex/components/common").AXFocusEvent>;
12
12
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -15,9 +15,9 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
15
15
  focus(): void;
16
16
  hasFocus(): boolean;
17
17
  id: string;
18
- "__#5092@#rtl": boolean;
18
+ "__#5212@#rtl": boolean;
19
19
  rtl: boolean;
20
- "__#5092@#elementRef": ElementRef<any>;
20
+ "__#5212@#elementRef": ElementRef<any>;
21
21
  _cdr: ChangeDetectorRef;
22
22
  _isInited: boolean;
23
23
  _isRendered: boolean;
@@ -44,9 +44,9 @@ export declare const AXBaseButtonGroupMixin: (abstract new (...args: any[]) => {
44
44
  _look?: import("@acorex/components/common").AXStyleLookType;
45
45
  look: import("@acorex/components/common").AXStyleLookType;
46
46
  id: string;
47
- "__#5092@#rtl": boolean;
47
+ "__#5212@#rtl": boolean;
48
48
  rtl: boolean;
49
- "__#5092@#elementRef": ElementRef<any>;
49
+ "__#5212@#elementRef": ElementRef<any>;
50
50
  _cdr: ChangeDetectorRef;
51
51
  _isInited: boolean;
52
52
  _isRendered: boolean;
@@ -12,12 +12,16 @@ export interface AXClickItemBase {
12
12
  selected?: boolean;
13
13
  seperated?: boolean;
14
14
  name?: string;
15
- data?: any;
16
- onClick?: (...args: any) => void;
15
+ data?: unknown;
16
+ onClick?: (e?: {
17
+ source: AXButtonItem;
18
+ handled?: boolean;
19
+ }) => void;
17
20
  hotkey?: string | AXHotKeyAction;
18
21
  }
19
22
  export interface AXButtonItem extends AXClickItemBase {
20
23
  type?: AXButtonType;
24
+ loading?: boolean;
21
25
  autofocus?: boolean;
22
26
  }
23
27
  export interface AXMenuItem extends AXClickItemBase {
@@ -3,9 +3,9 @@ import { AXStyleColorType } from '@acorex/components/common';
3
3
  import { AXBaseComponent } from '@acorex/components/mixin';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
6
- "__#5095@#disabled": boolean;
6
+ "__#5215@#disabled": boolean;
7
7
  disabled: boolean;
8
- "__#5095@#tabIndex": number;
8
+ "__#5215@#tabIndex": number;
9
9
  tabIndex: number;
10
10
  onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
11
11
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -14,9 +14,9 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
14
14
  focus(): void;
15
15
  hasFocus(): boolean;
16
16
  id: string;
17
- "__#5092@#rtl": boolean;
17
+ "__#5212@#rtl": boolean;
18
18
  rtl: boolean;
19
- "__#5092@#elementRef": ElementRef<any>;
19
+ "__#5212@#elementRef": ElementRef<any>;
20
20
  _cdr: ChangeDetectorRef;
21
21
  _isInited: boolean;
22
22
  _isRendered: boolean;
@@ -39,9 +39,9 @@ export declare const AXBaseItemButtonMixin: (abstract new (...args: any[]) => {
39
39
  onClick: import("@angular/core").EventEmitter<import("@acorex/components/common").AXClickEvent>;
40
40
  _emitOnClickEvent(e: MouseEvent): void;
41
41
  id: string;
42
- "__#5092@#rtl": boolean;
42
+ "__#5212@#rtl": boolean;
43
43
  rtl: boolean;
44
- "__#5092@#elementRef": ElementRef<any>;
44
+ "__#5212@#elementRef": ElementRef<any>;
45
45
  _cdr: ChangeDetectorRef;
46
46
  _isInited: boolean;
47
47
  _isRendered: boolean;
@@ -1,5 +1,5 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import { AXClickEvent, MXButtonBaseComponent } from '@acorex/components/common';
2
+ import { AfterViewInit, EventEmitter } from '@angular/core';
3
3
  import { AXButtonType } from './button-item.class';
4
4
  import * as i0 from "@angular/core";
5
5
  /**
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
7
7
  *
8
8
  * @category Components
9
9
  */
10
- export declare class AXButtonComponent extends MXButtonBaseComponent {
10
+ export declare class AXButtonComponent extends MXButtonBaseComponent implements AfterViewInit {
11
11
  /**
12
12
  * Fires each time the user clicks the button.
13
13
  * @event
@@ -15,9 +15,11 @@ export declare class AXButtonComponent extends MXButtonBaseComponent {
15
15
  onClick: EventEmitter<AXClickEvent>;
16
16
  type: AXButtonType;
17
17
  ngAfterViewInit(): void;
18
- protected emitOnClickEvent(e: MouseEvent): void;
18
+ private getButton;
19
+ _handleClick(e: MouseEvent): void;
19
20
  click(): void;
20
21
  private get __hostClass();
22
+ focus(): void;
21
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXButtonComponent, never>;
22
24
  static ɵcmp: i0.ɵɵComponentDeclaration<AXButtonComponent, "ax-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "text": { "alias": "text"; "required": false; }; "toggleable": { "alias": "toggleable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "onClick": "onClick"; "selectedChange": "selectedChange"; "toggleableChange": "toggleableChange"; "lookChange": "lookChange"; "colorChange": "colorChange"; }, never, ["ax-prefix, ax-loading, ax-icon", "ax-content", "ax-suffix", "ax-dropdown-panel"], false, never>;
23
25
  }
@@ -12,6 +12,7 @@ export declare class AXCalendarComponent extends AXCalendarComponent_base {
12
12
  private _setDisplayRange;
13
13
  protected _today: AXDateTime;
14
14
  private _viewStartDate;
15
+ private _navUserInteraction;
15
16
  private _footPrint;
16
17
  protected views: AXCalendarView[];
17
18
  protected _dayNames: string[];
@@ -41,6 +42,6 @@ export declare class AXCalendarComponent extends AXCalendarComponent_base {
41
42
  protected isHoliday(date: AXDateTime): boolean;
42
43
  protected isWeekend(date: AXDateTime): boolean;
43
44
  static ɵfac: i0.ɵɵFactoryDeclaration<AXCalendarComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCalendarComponent, "ax-calendar", never, { "rtl": { "alias": "rtl"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "depth": { "alias": "depth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "holidayDates": { "alias": "holidayDates"; "required": false; }; "type": { "alias": "type"; "required": false; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; }; "cellClass": { "alias": "cellClass"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "count": { "alias": "count"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "onOptionChanged": "onOptionChanged"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "depthChange": "depthChange"; "typeChange": "typeChange"; "activeViewChange": "activeViewChange"; "disabledDatesChange": "disabledDatesChange"; "holidayDatesChange": "holidayDatesChange"; "onNavigate": "onNavigate"; "onSlotClick": "onSlotClick"; "countChange": "countChange"; }, never, ["ax-header", "ax-footer"], false, never>;
45
46
  }
46
47
  export {};
@@ -0,0 +1,3 @@
1
+ # @acorex/components/check-box
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/check-box`.
@@ -0,0 +1,2 @@
1
+ export * from './lib/check-box.component';
2
+ export * from './lib/check-box.module';
@@ -0,0 +1,14 @@
1
+ import { MXValueComponent } from '@acorex/components/common';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXCheckBoxComponent extends MXValueComponent<boolean | null> {
4
+ private _labels;
5
+ indeterminate: boolean;
6
+ protected _stateIndeterminate: boolean;
7
+ protected internalGetValue(value: any): boolean | null;
8
+ internalSetValue(value: boolean | null): boolean;
9
+ ngAfterViewChecked(): void;
10
+ private _handleClick;
11
+ protected _handleModelChange(value: boolean | null): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "id": { "alias": "id"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_labels"], ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
14
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.component";
2
+ import * as i1 from "./check-box.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "@acorex/components/decorators";
@@ -1,6 +1,6 @@
1
- import { MXColorComponent, MXInteractiveComponent } from '@acorex/components/common';
1
+ import { MXBaseComponent, MXColorComponent } from '@acorex/components/common';
2
2
  import * as i0 from "@angular/core";
3
- declare const AXChipsComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, typeof MXColorComponent]>;
3
+ declare const AXChipsComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXBaseComponent, typeof MXColorComponent]>;
4
4
  export declare class AXChipsComponent extends AXChipsComponent_base {
5
5
  look: 'default' | 'outline';
6
6
  text: string;
@@ -1,20 +1,23 @@
1
+ import { AXUnsubscriber } from '@acorex/core/utils';
1
2
  import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
2
- import { AXColorComponent } from './color-palette.class';
3
- import { AXMaskOptions } from '@acorex/components/textbox';
3
+ import { AXColorPaletteParentComponent } from './color-palette.class';
4
+ import { AXMaskOptions } from '@acorex/components/text-box';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AXColorPaletteInputComponent extends MXBaseComponent {
6
- _parent: AXColorComponent;
7
- _isTouched: boolean;
7
+ _parent: AXColorPaletteParentComponent;
8
+ private _unsubscriber;
8
9
  isValid: boolean;
9
10
  _rgba: any;
10
11
  _hex: string;
11
12
  protected _colorMode: "hex" | "rgba";
12
13
  protected _hexMaskOptions: AXMaskOptions;
13
- constructor(_parent: AXColorComponent);
14
+ constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
15
+ private applyParent;
16
+ ngAfterViewInit(): void;
14
17
  _handleChangeInputMode(): void;
15
18
  _handleRGBAValueChanged(e: AXValueChangedEvent<number>): void;
16
- _handleHEXAValueChanged(e: AXValueChangedEvent<string>): void;
19
+ protected _handleHEXAValueChanged(e: AXValueChangedEvent<string>): void;
17
20
  private checkValid;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteInputComponent, [{ optional: true; }]>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteInputComponent, never>;
19
22
  static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteInputComponent, "ax-color-palette-input", never, {}, {}, never, never, false, never>;
20
23
  }
@@ -1,8 +1,10 @@
1
+ import { AXUnsubscriber } from '@acorex/core/utils';
1
2
  import { AXValueChangedEvent, MXBaseComponent } from '@acorex/components/common';
2
- import { AXColorComponent } from './color-palette.class';
3
+ import { AXColorPaletteParentComponent } from './color-palette.class';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AXColorPalettePickerComponent extends MXBaseComponent {
5
- _parent: AXColorComponent;
6
+ _parent: AXColorPaletteParentComponent;
7
+ private _unsubscriber;
6
8
  _rgba: {
7
9
  r: number;
8
10
  g: number;
@@ -11,19 +13,22 @@ export declare class AXColorPalettePickerComponent extends MXBaseComponent {
11
13
  };
12
14
  protected _gradient: number;
13
15
  protected _bgColor: string;
14
- private _gradientColors;
16
+ private readonly _gradientColors;
17
+ private readonly _gradients;
18
+ private readonly _colors;
15
19
  protected dragPosition: {
16
20
  x: number;
17
21
  y: number;
18
22
  };
19
- constructor(_parent: AXColorComponent);
23
+ constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
20
24
  private setHSV;
25
+ private _handleParentColorChanged;
21
26
  protected _handleAlphaChanged(e: AXValueChangedEvent<number>): void;
22
27
  protected _handleGradientChanged(e: AXValueChangedEvent<number>): void;
23
28
  protected _handleSurfaceClick(e: MouseEvent): void;
24
29
  protected _handleDrag(): void;
25
30
  private setColorByXY;
26
31
  private setPointerByPercent;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePickerComponent, [{ optional: true; }]>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePickerComponent, never>;
28
33
  static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePickerComponent, "ax-color-palette-picker", never, {}, {}, never, never, false, never>;
29
34
  }
@@ -1,11 +1,15 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
+ import { AXUnsubscriber } from '@acorex/core/utils';
2
3
  import { NgZone } from '@angular/core';
3
- import { AXColorComponent } from './color-palette.class';
4
+ import { AXColorPaletteParentComponent } from './color-palette.class';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class AXColorPalettePreviewComponent extends MXBaseComponent {
6
- _parent: AXColorComponent;
7
+ _parent: AXColorPaletteParentComponent;
7
8
  private _zone;
8
- constructor(_parent: AXColorComponent, _zone: NgZone);
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePreviewComponent, [{ optional: true; }, null]>;
9
+ private _unsubscriber;
10
+ constructor(_parent: AXColorPaletteParentComponent, _zone: NgZone, _unsubscriber: AXUnsubscriber);
11
+ ngAfterViewInit(): void;
12
+ private applyParent;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalettePreviewComponent, never>;
10
14
  static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalettePreviewComponent, "ax-color-palette-preview", never, {}, {}, never, never, false, never>;
11
15
  }
@@ -1,17 +1,20 @@
1
1
  import { MXBaseComponent } from '@acorex/components/common';
2
- import { AXColorComponent } from './color-palette.class';
2
+ import { AXUnsubscriber } from '@acorex/core/utils';
3
+ import { AXColorPaletteParentComponent } from './color-palette.class';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class AXColorPaletteSwatchesComponent extends MXBaseComponent {
5
- _parent: AXColorComponent;
6
+ _parent: AXColorPaletteParentComponent;
7
+ private _unsubscriber;
6
8
  protected _selected: string;
7
9
  colors: {
8
10
  code: string;
9
11
  }[];
10
- constructor(_parent: AXColorComponent);
12
+ constructor(_parent: AXColorPaletteParentComponent, _unsubscriber: AXUnsubscriber);
13
+ private applyParent;
11
14
  ngOnInit(): void;
12
- _handleClick(e: MouseEvent, color: any): void;
15
+ ngAfterViewInit(): void;
16
+ protected _handleClick(e: MouseEvent, color: any): void;
13
17
  private _format;
14
- private _defaultPalette;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteSwatchesComponent, [{ optional: true; }]>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteSwatchesComponent, never>;
16
19
  static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPaletteSwatchesComponent, "ax-color-palette-swatches, ax-color-palette-favorite", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, never, false, never>;
17
20
  }
@@ -1,4 +1,5 @@
1
- import { Subject } from "rxjs";
1
+ import { EventEmitter } from "@angular/core";
2
+ import { AXValueChangedEvent, AXOptionChangedEvent } from "@acorex/components/common";
2
3
  import * as i0 from "@angular/core";
3
4
  /**
4
5
  * A token that specifies the display mode of datapager component.
@@ -8,15 +9,20 @@ export interface AXColorChangedEvent {
8
9
  color: any;
9
10
  sender: any;
10
11
  }
11
- export declare abstract class AXColorComponent {
12
- abstract _onInternalColorChanged$: Subject<AXColorChangedEvent>;
13
- abstract setUserInteraction(): any;
12
+ export declare abstract class AXColorPaletteParentComponent {
14
13
  abstract readonly: boolean;
15
14
  abstract disabled: boolean;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<AXColorComponent, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<AXColorComponent>;
15
+ abstract get value(): string;
16
+ abstract onValueChanged: EventEmitter<AXValueChangedEvent<string>>;
17
+ abstract onOptionChanged: EventEmitter<AXOptionChangedEvent>;
18
+ abstract commitValue(value: string, u?: boolean): any;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteParentComponent, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXColorPaletteParentComponent>;
18
21
  }
19
22
  export declare abstract class AXColorPaletteChildComponent {
20
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteChildComponent, never>;
21
24
  static ɵprov: i0.ɵɵInjectableDeclaration<AXColorPaletteChildComponent>;
22
25
  }
26
+ export declare const AXDefaultColorPalette: {
27
+ code: string;
28
+ }[];
@@ -1,22 +1,10 @@
1
- import { MXValueComponent, MXInteractiveComponent } from '@acorex/components/common';
1
+ import { MXValueComponent } from '@acorex/components/common';
2
2
  import { QueryList } from '@angular/core';
3
- import { Subject } from 'rxjs';
4
3
  import { AXColorPaletteChildComponent } from './color-palette.class';
5
4
  import * as i0 from "@angular/core";
6
- declare const AXColorPalleteComponent_base: import("polytype").Polytype.ClusteredConstructor<[typeof MXInteractiveComponent, {
7
- new (): MXValueComponent<string>;
8
- ɵfac: unknown;
9
- ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
10
- }]>;
11
- export declare class AXColorPalleteComponent extends AXColorPalleteComponent_base {
12
- _onInternalColorChanged$: Subject<any>;
5
+ export declare class AXColorPalleteComponent extends MXValueComponent<string> {
13
6
  _children: QueryList<AXColorPaletteChildComponent>;
14
- ngAfterContentInit(): void;
15
- ngAfterViewInit(): void;
16
- constructor();
17
- private _handleOnValueChanged;
18
7
  private get __hostDisabled();
19
8
  static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPalleteComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPalleteComponent, "ax-color-palette", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_children"], ["ax-header", "ax-color-palette-preview", "ax-color-palette-picker", "ax-color-palette-swatches", "ax-color-palette-favorite", "ax-color-palette-input", "ax-footer"], false, never>;
21
10
  }
22
- export {};
@@ -5,15 +5,16 @@ import * as i3 from "./color-palette-swatches.component";
5
5
  import * as i4 from "./color-palette-input.component";
6
6
  import * as i5 from "./color-palette-picker.component";
7
7
  import * as i6 from "@angular/common";
8
- import * as i7 from "@acorex/components/textbox";
9
- import * as i8 from "@acorex/components/label";
10
- import * as i9 from "@acorex/components/button";
11
- import * as i10 from "@acorex/components/decorators";
12
- import * as i11 from "@acorex/components/number-box";
13
- import * as i12 from "@acorex/components/range-slider";
14
- import * as i13 from "@angular/cdk/drag-drop";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "@acorex/components/text-box";
10
+ import * as i9 from "@acorex/components/label";
11
+ import * as i10 from "@acorex/components/button";
12
+ import * as i11 from "@acorex/components/decorators";
13
+ import * as i12 from "@acorex/components/number-box";
14
+ import * as i13 from "@acorex/components/range-slider";
15
+ import * as i14 from "@angular/cdk/drag-drop";
15
16
  export declare class AXColorPaletteModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPaletteModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.AXTextBoxModule, typeof i8.AXLabelModule, typeof i9.AXButtonModule, typeof i10.AXDecoratorModule, typeof i11.AXNumberBoxModule, typeof i12.AXRangeSliderModule, typeof i13.DragDropModule], [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXColorPaletteModule, [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.AXTextBoxModule, typeof i9.AXLabelModule, typeof i10.AXButtonModule, typeof i11.AXDecoratorModule, typeof i12.AXNumberBoxModule, typeof i13.AXRangeSliderModule, typeof i14.DragDropModule], [typeof i1.AXColorPalleteComponent, typeof i2.AXColorPalettePreviewComponent, typeof i3.AXColorPaletteSwatchesComponent, typeof i4.AXColorPaletteInputComponent, typeof i5.AXColorPalettePickerComponent]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<AXColorPaletteModule>;
19
20
  }