@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
@@ -0,0 +1,11 @@
1
+ import { MXInputBaseValueComponent } from '@acorex/components/common';
2
+ import { ElementRef } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXTextAreaComponent extends MXInputBaseValueComponent<string> {
5
+ input: ElementRef<HTMLInputElement>;
6
+ rows: number;
7
+ maxLength: number;
8
+ protected _handleModelChange(value: string | null): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTextAreaComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextAreaComponent, "ax-text-area", 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; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
11
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./text-area.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ export declare class AXTextAreaModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTextAreaModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextAreaModule, [typeof i1.AXTextAreaComponent], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.AXTextAreaComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXTextAreaModule>;
9
+ }
@@ -0,0 +1,3 @@
1
+ # @acorex/components/text-box
2
+
3
+ Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/text-box`.
@@ -0,0 +1,3 @@
1
+ export * from './lib/mask-options.directive';
2
+ export * from './lib/text-box.component';
3
+ export * from './lib/text-box.module';
@@ -0,0 +1,25 @@
1
+ import { MXInputBaseValueComponent } from '@acorex/components/common';
2
+ import { AXMaskOptions, AXMaskOptionsDirective } from './mask-options.directive';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * The Textbox is a component which detects user interaction and triggers a corresponding event
6
+ *
7
+ * @category Components
8
+ */
9
+ export declare class AXTextBoxComponent extends MXInputBaseValueComponent<string> {
10
+ protected _updateOn: 'change' | 'blur' | 'submit';
11
+ private input;
12
+ private _maskObj;
13
+ private _maskOptions;
14
+ get maskOptions(): AXMaskOptions;
15
+ set maskOptions(value: AXMaskOptions);
16
+ maxLength: number;
17
+ type: string;
18
+ autoComplete: string;
19
+ protected _maskOptionsContent: AXMaskOptionsDirective;
20
+ ngAfterContentInit(): void;
21
+ private _onComplete;
22
+ protected _handleModelChange(value: string | null): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", 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; }; "id": { "alias": "id"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "maskOptions": { "alias": "mask-options"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; "readonlyChange": "readonlyChange"; "disabledChange": "disabledChange"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
25
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./textbox.component";
2
+ import * as i1 from "./text-box.component";
3
3
  import * as i2 from "./mask-options.directive";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "@acorex/components/common";
@@ -46,5 +46,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
46
46
  _handleOnInputClickEvent(e: MouseEvent): void;
47
47
  private _highlightPart;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-validation-rule"], false, never>;
50
50
  }
package/toast/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './lib/toast.config';
1
2
  export * from './lib/toast.class';
2
3
  export * from './lib/toast.component';
3
4
  export * from './lib/toast.module';
@@ -1,14 +1,23 @@
1
1
  import { AXLocation, AXStyleColorType } from "@acorex/components/common";
2
- import { AXButtonItem } from "@acorex/components/button";
3
- export interface AXToastOptions {
4
- timeOut?: number | any;
2
+ export interface AXToastDisplayConfig {
5
3
  icon?: string;
6
4
  title?: string;
7
5
  content?: string;
8
- closeable?: boolean;
6
+ closeButton?: boolean;
9
7
  location?: AXLocation;
10
8
  color: AXStyleColorType;
11
- buttons?: AXButtonItem[];
9
+ timeOut?: number;
10
+ timeOutProgress?: boolean;
11
+ }
12
+ export interface AXToastData {
13
+ icon?: string;
14
+ title?: string;
15
+ content?: string;
16
+ location: AXLocation;
17
+ closeButton: boolean;
18
+ color: AXStyleColorType;
19
+ timeOut?: number;
20
+ timeOutProgress: boolean;
12
21
  }
13
22
  export interface AXToastRef {
14
23
  close(): void;
@@ -1,25 +1,26 @@
1
+ import { AXComponentCloseEvent, MXBaseComponent } from '@acorex/components/common';
1
2
  import { AXButtonItem } from '@acorex/components/button';
2
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
3
- import { AXToastOptions } from './toast.class';
4
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
3
+ import { DialogRef } from '@angular/cdk/dialog';
4
+ import { AXToastData } from './toast.class';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * The Button is a component which detects user interaction and triggers a corresponding event
8
8
  *
9
9
  * @category Components
10
10
  */
11
- export declare class AXToastComponent extends AXBaseComponentMixin {
12
- options: AXToastOptions;
13
- _toastWidth: number;
14
- _icon: string;
15
- close: () => void;
11
+ export declare class AXToastComponent extends MXBaseComponent {
12
+ config: AXToastData;
13
+ private dialogRef;
14
+ protected _toastWidth: number;
15
+ protected _icon: string;
16
16
  /**
17
- * @ignore
18
- */
19
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
20
- onInit(): void;
17
+ * @ignore
18
+ */
19
+ constructor(config: AXToastData, dialogRef: DialogRef<AXComponentCloseEvent>);
20
+ ngOnInit(): void;
21
21
  _handleButtonClick(button: AXButtonItem): void;
22
22
  private get __hostClass();
23
+ close(): void;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastComponent, never>;
24
25
  static ɵcmp: i0.ɵɵComponentDeclaration<AXToastComponent, "ax-toast", never, {}, {}, never, never, false, never>;
25
26
  }
@@ -0,0 +1,12 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { AXLocation } from '@acorex/components/common';
3
+ export interface AXToastConfig {
4
+ gap: number;
5
+ timeOut: number;
6
+ timeOutProgress: boolean;
7
+ location: AXLocation;
8
+ }
9
+ export declare const AX_TOAST_CONFIG: InjectionToken<AXToastConfig>;
10
+ export declare const AXToastDefaultConfig: AXToastConfig;
11
+ export type PartialToastConfig = Partial<AXToastConfig>;
12
+ export declare function toastConfig(config?: PartialToastConfig): AXToastConfig;
@@ -2,8 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./toast.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@acorex/components/button";
5
+ import * as i4 from "@acorex/components/decorators";
6
+ import * as i5 from "@acorex/components/loading";
7
+ import * as i6 from "@angular/cdk/dialog";
5
8
  export declare class AXToastModule {
6
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule], [typeof i1.AXToastComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXToastModule, [typeof i1.AXToastComponent], [typeof i2.CommonModule, typeof i3.AXButtonModule, typeof i4.AXDecoratorModule, typeof i5.AXLoadingModule, typeof i6.DialogModule], [typeof i1.AXToastComponent]>;
8
11
  static ɵinj: i0.ɵɵInjectorDeclaration<AXToastModule>;
9
12
  }
@@ -1,20 +1,16 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { Injector } from '@angular/core';
3
- import { AXToastOptions, AXToastRef } from './toast.class';
1
+ import { AXToastDisplayConfig, AXToastRef } from './toast.class';
4
2
  import * as i0 from "@angular/core";
5
3
  export declare class AXToastService {
6
- private overlayService;
7
- private parentInjector;
8
- private readonly _defaults;
9
- constructor(overlayService: Overlay, parentInjector: Injector);
10
- private _activeList;
4
+ private dialog;
5
+ private defaultConfig;
11
6
  primary(content: string): void;
12
7
  secondary(content: string): void;
13
8
  success(content: string): void;
14
9
  warning(content: string): void;
15
10
  danger(content: string): void;
16
- show(options: AXToastOptions): AXToastRef;
11
+ show(config: AXToastDisplayConfig): AXToastRef;
17
12
  hideAll(): void;
13
+ private reposition;
18
14
  private getPosition;
19
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AXToastService, never>;
20
16
  static ɵprov: i0.ɵɵInjectableDeclaration<AXToastService>;
@@ -1,21 +0,0 @@
1
- import { AXStyleColorType } from '@acorex/components/common';
2
- import { TemplateRef } from '@angular/core';
3
- export interface AXActionSheetItem {
4
- name?: string;
5
- text: string;
6
- icon?: string;
7
- disabled?: boolean;
8
- color?: AXStyleColorType;
9
- onClick?: () => void;
10
- }
11
- export type AXActionSheetContentType = TemplateRef<any> | Function;
12
- export interface AXActionSheetOptions {
13
- title?: string;
14
- subTitle?: string;
15
- showCloseButton?: boolean;
16
- closeOnBackdrop?: boolean;
17
- showHeader?: boolean;
18
- items?: AXActionSheetItem[];
19
- content?: AXActionSheetContentType;
20
- data?: unknown;
21
- }
@@ -1,3 +0,0 @@
1
- # @acorex/components/checkbox
2
-
3
- Secondary entry point of `@acorex/components`. It can be used by importing from `@acorex/components/checkbox`.
@@ -1,2 +0,0 @@
1
- export * from './lib/checkbox.component';
2
- export * from './lib/checkbox.module';
@@ -1,17 +0,0 @@
1
- import { MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
2
- import * as i0 from "@angular/core";
3
- declare const AXCheckBoxComponent_base: import("polytype").Polytype.ClusteredConstructor<[{
4
- new (): MXValueComponent<boolean>;
5
- ɵfac: unknown;
6
- ɵprov: import("@angular/core").ɵɵInjectableDeclaration<MXValueComponent<any>>;
7
- }, typeof MXInteractiveComponent]>;
8
- export declare class AXCheckBoxComponent extends AXCheckBoxComponent_base {
9
- indeterminate: boolean;
10
- protected _stateIndeterminate: boolean;
11
- protected ngOnInit(): void;
12
- setValue(value: any): boolean;
13
- protected handleOnClickEvent(e: MouseEvent): boolean;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AXCheckBoxComponent, "ax-check-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["*", "ax-form-hint", "ax-validation-rule"], false, never>;
16
- }
17
- export {};
@@ -1,17 +0,0 @@
1
- import { EventEmitter, OnDestroy } from "@angular/core";
2
- import { NgModel } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- export declare class AXNgModelChangeDebouncedDirective implements OnDestroy {
5
- private ngModel;
6
- ngModelChangeDebounced: EventEmitter<any>;
7
- ngModelChangeDebounceTimeChange: EventEmitter<number>;
8
- private _ngModelChangeDebounceTime;
9
- get ngModelChangeDebounceTime(): number;
10
- set ngModelChangeDebounceTime(v: number);
11
- private subscription;
12
- ngOnDestroy(): void;
13
- constructor(ngModel: NgModel);
14
- private update;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<AXNgModelChangeDebouncedDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXNgModelChangeDebouncedDirective, "[ngModelChangeDebounced]", never, { "ngModelChangeDebounceTime": { "alias": "ngModelChangeDebounceTime"; "required": false; }; }, { "ngModelChangeDebounced": "ngModelChangeDebounced"; "ngModelChangeDebounceTimeChange": "ngModelChangeDebounceTimeChange"; }, never, never, false, never>;
17
- }
@@ -1,8 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AXDataColumnCellTemplateDirective {
4
- _contentTemplate: TemplateRef<any>;
5
- get template(): TemplateRef<any>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDataColumnCellTemplateDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXDataColumnCellTemplateDirective, "ax-data-column-cell-template", never, {}, {}, ["_contentTemplate"], never, false, never>;
8
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorContentComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorContentComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorContentComponent, "ax-content", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXDecoratorDividerComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorDividerComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorDividerComponent, "ax-divider", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorFooterComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorFooterComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFooterComponent, "ax-footer", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorFormHintComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorFormHintComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorFormHintComponent, "ax-form-hint", never, {}, {}, never, ["*"], false, never>;
8
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorHeaderComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorHeaderComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorHeaderComponent, "ax-header", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXDecoratorOverlayComponent {
3
- displayMode: 'hover' | 'always';
4
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorOverlayComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorOverlayComponent, "ax-overlay", never, { "displayMode": { "alias": "displayMode"; "required": false; }; }, {}, never, ["*"], false, never>;
6
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AXDecoratorPlaceholderComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPlaceholderComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPlaceholderComponent, "ax-placeholder", never, {}, {}, never, ["*"], false, never>;
5
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorPrefixComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorPrefixComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorPrefixComponent, "ax-prefix", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorSubTitleComponent extends AXBaseComponentMixin {
5
- constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSubTitleComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSubTitleComponent, "ax-sub-title", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorSuffixComponent extends AXBaseComponentMixin {
5
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
6
- private get hostClass();
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorSuffixComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorSuffixComponent, "ax-suffix", never, {}, {}, never, ["*"], false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorTextComponent extends AXBaseComponentMixin {
5
- content: string;
6
- constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorTextComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorTextComponent, "ax-text", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, ["*"], false, never>;
9
- }
@@ -1,8 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ElementRef, ChangeDetectorRef } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class AXDecoratorTitleComponent extends AXBaseComponentMixin {
5
- constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorTitleComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorTitleComponent, "ax-title", never, {}, {}, never, ["*"], false, never>;
8
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2xpYi9hY3Rpb24tc2hlZXQuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBAdHlwZXNjcmlwdC1lc2xpbnQvYmFuLXR5cGVzICovXG5pbXBvcnQgeyBBWFN0eWxlQ29sb3JUeXBlIH0gZnJvbSAnQGFjb3JleC9jb21wb25lbnRzL2NvbW1vbic7XG5pbXBvcnQgeyBUZW1wbGF0ZVJlZiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEFYQWN0aW9uU2hlZXRJdGVtIHtcbiAgbmFtZT86IHN0cmluZztcbiAgdGV4dDogc3RyaW5nO1xuICBpY29uPzogc3RyaW5nO1xuICBkaXNhYmxlZD86IGJvb2xlYW47XG4gIGNvbG9yPzogQVhTdHlsZUNvbG9yVHlwZTtcbiAgb25DbGljaz86ICgpID0+IHZvaWQ7XG59XG5cbi8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAdHlwZXNjcmlwdC1lc2xpbnQvbm8tZXhwbGljaXQtYW55XG5leHBvcnQgdHlwZSBBWEFjdGlvblNoZWV0Q29udGVudFR5cGUgPSBUZW1wbGF0ZVJlZjxhbnk+IHwgRnVuY3Rpb247XG5cbmV4cG9ydCBpbnRlcmZhY2UgQVhBY3Rpb25TaGVldE9wdGlvbnMge1xuICB0aXRsZT86IHN0cmluZztcbiAgc3ViVGl0bGU/OiBzdHJpbmc7XG4gIHNob3dDbG9zZUJ1dHRvbj86IGJvb2xlYW47XG4gIGNsb3NlT25CYWNrZHJvcD86IGJvb2xlYW47XG4gIHNob3dIZWFkZXI/OiBib29sZWFuO1xuICBpdGVtcz86IEFYQWN0aW9uU2hlZXRJdGVtW107XG4gIGNvbnRlbnQ/OiBBWEFjdGlvblNoZWV0Q29udGVudFR5cGU7XG4gIGRhdGE/OiB1bmtub3duO1xufVxuIl19
@@ -1,3 +0,0 @@
1
- export * from './lib/checkbox.component';
2
- export * from './lib/checkbox.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY2hlY2tib3gvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyx1QkFBdUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliL2NoZWNrYm94LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9jaGVja2JveC5tb2R1bGUnO1xuIl19
@@ -1,49 +0,0 @@
1
- import { MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input } from '@angular/core';
3
- import { classes } from 'polytype';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- export class AXCheckBoxComponent extends classes((MXValueComponent), MXInteractiveComponent) {
7
- constructor() {
8
- super(...arguments);
9
- this.indeterminate = false;
10
- this._stateIndeterminate = false;
11
- }
12
- ngOnInit() {
13
- super.ngOnInit();
14
- if (!this.indeterminate && this.value == null) {
15
- this.value = false;
16
- }
17
- }
18
- setValue(value) {
19
- if (this.indeterminate && value == null) {
20
- this._stateIndeterminate = true;
21
- return null;
22
- }
23
- else if (!this.indeterminate && value == null) {
24
- this._stateIndeterminate = false;
25
- return false;
26
- }
27
- else {
28
- this._stateIndeterminate = false;
29
- return value == true ? true : false;
30
- }
31
- }
32
- handleOnClickEvent(e) {
33
- if (this.readonly || this.disabled) {
34
- e.preventDefault();
35
- e.stopPropagation();
36
- return false;
37
- }
38
- return true;
39
- }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: AXCheckBoxComponent, selector: "ax-check-box", inputs: { disabled: "disabled", tabIndex: "tabIndex", readonly: "readonly", allowNull: "allowNull", value: "value", name: "name", checked: "checked", indeterminate: "indeterminate" }, outputs: { onBlur: "onBlur", onFocus: "onFocus", valueChange: "valueChange", onValueChanged: "onValueChanged" }, usesInheritance: true, ngImport: i0, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \n [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\n (click)=\"handleOnClickEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</label>\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"], dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'allowNull', 'value', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<label class=\"ax-checkbox-label\" [class.ax-state-readonly]=\"readonly\" [class.ax-state-disabled]=\"disabled\">\n <div class=\"ax-checkbox-start-side\">\n <input [id]=\"id\" class=\"ax-checkbox\" type=\"checkbox\" \n [indeterminate]=\"_stateIndeterminate\" [(ngModel)]=\"value\"\n [checked]=\"value\" [disabled]=\"disabled\" [readonly]=\"readonly\" [tabindex]=\"tabIndex\"\n (click)=\"handleOnClickEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\">\n </div>\n <div class=\"ax-checkbox-end-side\">\n <ng-content></ng-content>\n <ng-content select=\"ax-form-hint\"></ng-content>\n <span class=\"ax-error-container\"></span>\n </div>\n</label>\n<ng-content select=\"ax-validation-rule\"></ng-content>", styles: [".ax-checkbox-label{display:flex;align-items:flex-start;width:-moz-fit-content;width:fit-content;font-size:.875rem;line-height:1.25rem}.ax-checkbox-label .ax-checkbox-start-side{display:flex;align-items:center;height:1.25rem}.ax-checkbox-label .ax-checkbox-end-side{margin-inline-start:.75rem}\n"] }]
46
- }], propDecorators: { indeterminate: [{
47
- type: Input
48
- }] } });
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDckYsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLEtBQUssRUFDTixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sVUFBVSxDQUFDOzs7QUFZbkMsTUFBTSxPQUFPLG1CQUFvQixTQUNqQyxPQUFPLENBQ0wsQ0FBQSxnQkFBeUIsQ0FBQSxFQUN6QixzQkFBc0IsQ0FDdkI7SUFiRDs7UUFnQlMsa0JBQWEsR0FBVSxLQUFLLENBQUM7UUFHMUIsd0JBQW1CLEdBQVMsS0FBSyxDQUFDO0tBaUM3QztJQS9Cb0IsUUFBUTtRQUN6QixLQUFLLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDakIsSUFBSSxDQUFDLElBQUks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Ij48L25nLWNvbnRlbnQ+XG4gICAgICAgIDxzcGFuIGNsYXNzPVwiYXgtZXJyb3ItY29udGFpbmVyXCI+PC9zcGFuPlxuICAgIDwvZGl2PlxuPC9sYWJlbD5cbjxuZy1jb250ZW50IHNlbGVjdD1cImF4LXZhbGlkYXRpb24tcnVsZVwiPjwvbmctY29udGVudD4iXX0=
@@ -1,21 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormsModule } from '@angular/forms';
4
- import { AXDecoratorModule } from '@acorex/components/decorators';
5
- import { AXCheckBoxComponent } from './checkbox.component';
6
- import * as i0 from "@angular/core";
7
- export class AXCheckBoxModule {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxModule, declarations: [AXCheckBoxComponent], imports: [CommonModule, FormsModule, AXDecoratorModule], exports: [AXCheckBoxComponent] }); }
10
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxModule, imports: [CommonModule, FormsModule, AXDecoratorModule] }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXCheckBoxModule, decorators: [{
13
- type: NgModule,
14
- args: [{
15
- declarations: [AXCheckBoxComponent],
16
- imports: [CommonModule, FormsModule, AXDecoratorModule],
17
- exports: [AXCheckBoxComponent],
18
- providers: [],
19
- }]
20
- }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbG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Zm9ybXMnO1xuaW1wb3J0IHsgQVhEZWNvcmF0b3JNb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvZGVjb3JhdG9ycyc7XG5pbXBvcnQgeyBBWENoZWNrQm94Q29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2JveC5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhDaGVja0JveENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEZvcm1zTW9kdWxlLCBBWERlY29yYXRvck1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWENoZWNrQm94Q29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDaGVja0JveE1vZHVsZSB7fVxuIl19
@@ -1,48 +0,0 @@
1
- import { Directive, EventEmitter, Input, Output } from "@angular/core";
2
- import { NgModel } from "@angular/forms";
3
- import { debounceTime, distinctUntilChanged, skip } from "rxjs";
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- export class AXNgModelChangeDebouncedDirective {
7
- get ngModelChangeDebounceTime() {
8
- return this._ngModelChangeDebounceTime;
9
- }
10
- set ngModelChangeDebounceTime(v) {
11
- if (v != this._ngModelChangeDebounceTime) {
12
- this._ngModelChangeDebounceTime = v;
13
- this.ngModelChangeDebounceTimeChange.emit(v);
14
- this.update();
15
- }
16
- }
17
- ngOnDestroy() {
18
- this.subscription.unsubscribe();
19
- }
20
- constructor(ngModel) {
21
- this.ngModel = ngModel;
22
- this.ngModelChangeDebounced = new EventEmitter();
23
- this.ngModelChangeDebounceTimeChange = new EventEmitter();
24
- this._ngModelChangeDebounceTime = 0;
25
- this.ngModelChangeDebounceTime = 0;
26
- }
27
- update() {
28
- this.subscription?.unsubscribe();
29
- //
30
- this.subscription = this.ngModel.control.valueChanges.pipe(skip(1), // skip initial value
31
- distinctUntilChanged(), debounceTime(this.ngModelChangeDebounceTime)).subscribe((value) => this.ngModelChangeDebounced.emit(value));
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXNgModelChangeDebouncedDirective, deps: [{ token: i1.NgModel }], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: AXNgModelChangeDebouncedDirective, selector: "[ngModelChangeDebounced]", inputs: { ngModelChangeDebounceTime: "ngModelChangeDebounceTime" }, outputs: { ngModelChangeDebounced: "ngModelChangeDebounced", ngModelChangeDebounceTimeChange: "ngModelChangeDebounceTimeChange" }, ngImport: i0 }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXNgModelChangeDebouncedDirective, decorators: [{
37
- type: Directive,
38
- args: [{
39
- selector: '[ngModelChangeDebounced]',
40
- }]
41
- }], ctorParameters: function () { return [{ type: i1.NgModel }]; }, propDecorators: { ngModelChangeDebounced: [{
42
- type: Output
43
- }], ngModelChangeDebounceTimeChange: [{
44
- type: Output
45
- }], ngModelChangeDebounceTime: [{
46
- type: Input
47
- }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvZGlyZWN0aXZlcy9kZWJvdW5jZS10aW1lLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xGLE9BQU8sRUFBRSxPQUFP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c3Vic2NyaXB0aW9uID0gdGhpcy5uZ01vZGVsLmNvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUoXG4gICAgICAgICAgICBza2lwKDEpLCAvLyBza2lwIGluaXRpYWwgdmFsdWVcbiAgICAgICAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKCksXG4gICAgICAgICAgICBkZWJvdW5jZVRpbWUodGhpcy5uZ01vZGVsQ2hhbmdlRGVib3VuY2VUaW1lKVxuICAgICAgICApLnN1YnNjcmliZSgodmFsdWUpID0+IHRoaXMubmdNb2RlbENoYW5nZURlYm91bmNlZC5lbWl0KHZhbHVlKSk7XG4gICAgfVxufSJdfQ==
@@ -1,17 +0,0 @@
1
- import { ContentChild, Directive, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AXDataColumnCellTemplateDirective {
4
- get template() {
5
- return this._contentTemplate;
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.5", type: AXDataColumnCellTemplateDirective, selector: "ax-data-column-cell-template", queries: [{ propertyName: "_contentTemplate", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXDataColumnCellTemplateDirective, decorators: [{
11
- type: Directive,
12
- args: [{ selector: 'ax-data-column-cell-template' }]
13
- }], propDecorators: { _contentTemplate: [{
14
- type: ContentChild,
15
- args: [TemplateRef, { static: true }]
16
- }] } });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb2x1bW4tY2VsbC10ZW1wbGF0ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiI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