@acorex/components 7.2.8 → 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 (454) 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 +10 -10
  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 +1 -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/color-palette/lib/color-palette-input.component.d.ts +1 -1
  17. package/color-palette/lib/color-palette.module.d.ts +1 -1
  18. package/color-picker/lib/color-picker.component.d.ts +17 -24
  19. package/color-picker/lib/color-picker.module.d.ts +1 -1
  20. package/common/index.d.ts +2 -1
  21. package/common/lib/classes/components.class.d.ts +12 -3
  22. package/common/lib/classes/datalist.class.d.ts +11 -0
  23. package/common/lib/common.module.d.ts +3 -4
  24. package/common/lib/components/base-component.class.d.ts +9 -3
  25. package/common/lib/components/input-base-value-component.class.d.ts +1 -0
  26. package/common/lib/components/value-component.class.d.ts +9 -2
  27. package/common/lib/directives/auto-focus.directive.d.ts +6 -5
  28. package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
  29. package/common/lib/services/dom.service.d.ts +6 -0
  30. package/data-pager/lib/data-pager-base.component.d.ts +18 -13
  31. package/data-pager/lib/data-pager-info.component.d.ts +3 -9
  32. package/data-pager/lib/data-pager-input-selector.component.d.ts +5 -9
  33. package/data-pager/lib/data-pager-next-buttons.components.d.ts +2 -8
  34. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +2 -7
  35. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +2 -6
  36. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +2 -7
  37. package/data-pager/lib/data-pager.component.d.ts +17 -18
  38. package/data-pager/lib/data-pager.module.d.ts +6 -5
  39. package/data-table/index.d.ts +0 -1
  40. package/data-table/lib/data-column.directive.d.ts +3 -8
  41. package/data-table/lib/data-table.component.d.ts +6 -7
  42. package/data-table/lib/data-table.module.d.ts +6 -7
  43. package/date-picker/lib/datepicker.component.d.ts +7 -6
  44. package/date-picker/lib/datepicker.module.d.ts +1 -1
  45. package/decorators/index.d.ts +2 -12
  46. package/decorators/lib/clear-button.component.d.ts +13 -0
  47. package/decorators/lib/close-button.component.d.ts +5 -8
  48. package/decorators/lib/decorators.module.d.ts +6 -15
  49. package/decorators/lib/generic-content.component.d.ts +6 -0
  50. package/decorators/lib/icon.component.d.ts +2 -4
  51. package/dialog/lib/dialog.class.d.ts +11 -3
  52. package/dialog/lib/dialog.component.d.ts +15 -11
  53. package/dialog/lib/dialog.module.d.ts +4 -3
  54. package/dialog/lib/dialog.service.d.ts +4 -12
  55. package/drawer/lib/drawer-container.component.d.ts +2 -5
  56. package/drawer/lib/drawer.component.d.ts +6 -7
  57. package/esm2022/action-sheet/index.mjs +2 -2
  58. package/esm2022/action-sheet/lib/action-sheet.class.mjs +2 -0
  59. package/esm2022/action-sheet/lib/action-sheet.component.mjs +50 -38
  60. package/esm2022/action-sheet/lib/action-sheet.module.mjs +11 -7
  61. package/esm2022/action-sheet/lib/action-sheet.service.mjs +32 -72
  62. package/esm2022/alert/lib/alert.component.mjs +14 -16
  63. package/esm2022/alert/lib/alert.module.mjs +7 -7
  64. package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
  65. package/esm2022/avatar/lib/avatar.component.mjs +3 -3
  66. package/esm2022/avatar/lib/avatar.module.mjs +4 -4
  67. package/esm2022/badge/lib/badge.component.mjs +6 -6
  68. package/esm2022/badge/lib/badge.module.mjs +4 -4
  69. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +3 -3
  70. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +3 -3
  71. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
  72. package/esm2022/button/lib/button-group.component.mjs +3 -3
  73. package/esm2022/button/lib/button-item.class.mjs +1 -1
  74. package/esm2022/button/lib/button-item.component.mjs +3 -3
  75. package/esm2022/button/lib/button.component.mjs +34 -17
  76. package/esm2022/button/lib/button.module.mjs +4 -4
  77. package/esm2022/calendar/lib/calendar-range.component.mjs +5 -5
  78. package/esm2022/calendar/lib/calendar.class.mjs +3 -3
  79. package/esm2022/calendar/lib/calendar.component.mjs +7 -5
  80. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  81. package/esm2022/check-box/acorex-components-check-box.mjs +5 -0
  82. package/esm2022/check-box/index.mjs +3 -0
  83. package/esm2022/check-box/lib/check-box.component.mjs +76 -0
  84. package/esm2022/check-box/lib/check-box.module.mjs +21 -0
  85. package/esm2022/chips/lib/chips.component.mjs +3 -3
  86. package/esm2022/chips/lib/chips.module.mjs +4 -4
  87. package/esm2022/collapse/lib/collapse-group.component.mjs +3 -3
  88. package/esm2022/collapse/lib/collapse.component.mjs +3 -3
  89. package/esm2022/collapse/lib/collapse.module.mjs +4 -4
  90. package/esm2022/color-palette/lib/color-palette-input.component.mjs +18 -12
  91. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +3 -3
  92. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +3 -3
  93. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +3 -3
  94. package/esm2022/color-palette/lib/color-palette.class.mjs +6 -6
  95. package/esm2022/color-palette/lib/color-palette.component.mjs +5 -5
  96. package/esm2022/color-palette/lib/color-palette.module.mjs +6 -6
  97. package/esm2022/color-picker/lib/color-picker.component.mjs +12 -6
  98. package/esm2022/color-picker/lib/color-picker.module.mjs +6 -6
  99. package/esm2022/common/index.mjs +3 -2
  100. package/esm2022/common/lib/classes/components.class.mjs +26 -19
  101. package/esm2022/common/lib/classes/datalist.class.mjs +3 -0
  102. package/esm2022/common/lib/common.module.mjs +5 -10
  103. package/esm2022/common/lib/components/base-component.class.mjs +21 -11
  104. package/esm2022/common/lib/components/input-base-value-component.class.mjs +4 -4
  105. package/esm2022/common/lib/components/value-component.class.mjs +18 -10
  106. package/esm2022/common/lib/directives/auto-focus.directive.mjs +18 -11
  107. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +49 -0
  108. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
  109. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
  110. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
  111. package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +6 -6
  112. package/esm2022/common/lib/services/dom.service.mjs +16 -0
  113. package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
  114. package/esm2022/common/lib/services/overlay.service.mjs +3 -3
  115. package/esm2022/context-menu/lib/context-menu.component.mjs +5 -5
  116. package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
  117. package/esm2022/data-pager/lib/data-pager-base.component.mjs +35 -21
  118. package/esm2022/data-pager/lib/data-pager-info.component.mjs +13 -26
  119. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +27 -31
  120. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +19 -33
  121. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +31 -38
  122. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +22 -31
  123. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +19 -29
  124. package/esm2022/data-pager/lib/data-pager.component.mjs +66 -38
  125. package/esm2022/data-pager/lib/data-pager.module.mjs +8 -7
  126. package/esm2022/data-table/index.mjs +1 -2
  127. package/esm2022/data-table/lib/data-column.directive.mjs +7 -22
  128. package/esm2022/data-table/lib/data-table.component.mjs +30 -30
  129. package/esm2022/data-table/lib/data-table.module.mjs +6 -7
  130. package/esm2022/date-picker/lib/datepicker.component.mjs +19 -16
  131. package/esm2022/date-picker/lib/datepicker.module.mjs +6 -6
  132. package/esm2022/decorators/index.mjs +3 -13
  133. package/esm2022/decorators/lib/clear-button.component.mjs +58 -0
  134. package/esm2022/decorators/lib/close-button.component.mjs +16 -20
  135. package/esm2022/decorators/lib/decorators.module.mjs +13 -49
  136. package/esm2022/decorators/lib/generic-content.component.mjs +17 -0
  137. package/esm2022/decorators/lib/icon.component.mjs +8 -11
  138. package/esm2022/dialog/lib/dialog.class.mjs +1 -1
  139. package/esm2022/dialog/lib/dialog.component.mjs +41 -23
  140. package/esm2022/dialog/lib/dialog.module.mjs +10 -8
  141. package/esm2022/dialog/lib/dialog.service.mjs +41 -49
  142. package/esm2022/drawer/lib/drawer-container.component.mjs +9 -13
  143. package/esm2022/drawer/lib/drawer.component.mjs +22 -27
  144. package/esm2022/drawer/lib/drawer.module.mjs +4 -4
  145. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +4 -4
  146. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
  147. package/esm2022/form/lib/form-field.component.mjs +9 -12
  148. package/esm2022/form/lib/form.component.mjs +38 -42
  149. package/esm2022/form/lib/form.module.mjs +4 -4
  150. package/esm2022/form/lib/validation-rule.widget.mjs +24 -15
  151. package/esm2022/form/lib/validation-summary.component.mjs +15 -14
  152. package/esm2022/image/lib/image.component.mjs +13 -17
  153. package/esm2022/image/lib/image.module.mjs +4 -4
  154. package/esm2022/label/lib/label.component.mjs +18 -18
  155. package/esm2022/label/lib/label.module.mjs +4 -4
  156. package/esm2022/loading/index.mjs +2 -1
  157. package/esm2022/loading/lib/loading-spinner.component.mjs +4 -5
  158. package/esm2022/loading/lib/loading.component.mjs +22 -25
  159. package/esm2022/loading/lib/loading.config.mjs +17 -0
  160. package/esm2022/loading/lib/loading.directive.mjs +4 -4
  161. package/esm2022/loading/lib/loading.module.mjs +6 -17
  162. package/esm2022/loading/lib/loading.service.mjs +4 -36
  163. package/esm2022/menu/lib/menu.component.mjs +26 -19
  164. package/esm2022/menu/lib/menu.module.mjs +4 -4
  165. package/esm2022/mixin/lib/base-components.class.mjs +3 -3
  166. package/esm2022/mixin/lib/color-look-mixing.class.mjs +1 -1
  167. package/esm2022/notification/index.mjs +2 -1
  168. package/esm2022/notification/lib/notification.class.mjs +1 -1
  169. package/esm2022/notification/lib/notification.component.mjs +51 -35
  170. package/esm2022/notification/lib/notification.config.mjs +20 -0
  171. package/esm2022/notification/lib/notification.module.mjs +11 -7
  172. package/esm2022/notification/lib/notification.service.mjs +46 -59
  173. package/esm2022/number-box/lib/number-box.component.mjs +101 -90
  174. package/esm2022/number-box/lib/number-box.module.mjs +4 -4
  175. package/esm2022/otp/lib/otp.component.mjs +38 -48
  176. package/esm2022/otp/lib/otp.module.mjs +4 -4
  177. package/esm2022/page/lib/base-page.class.mjs +6 -6
  178. package/esm2022/page/lib/page.component.mjs +3 -3
  179. package/esm2022/page/lib/page.module.mjs +4 -4
  180. package/esm2022/password-box/lib/password-box.component.mjs +37 -25
  181. package/esm2022/password-box/lib/password-box.module.mjs +4 -4
  182. package/esm2022/popover/lib/dropdown-component.class.mjs +3 -3
  183. package/esm2022/popover/lib/popover.component.mjs +3 -3
  184. package/esm2022/popover/lib/popover.module.mjs +4 -4
  185. package/esm2022/popup/index.mjs +2 -1
  186. package/esm2022/popup/lib/popup.component.mjs +49 -69
  187. package/esm2022/popup/lib/popup.interface.mjs +2 -0
  188. package/esm2022/popup/lib/popup.module.mjs +27 -12
  189. package/esm2022/popup/lib/popup.service.mjs +31 -86
  190. package/esm2022/progress-bar/lib/progress-bar.component.mjs +3 -3
  191. package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
  192. package/esm2022/radio/lib/radio.component.mjs +4 -4
  193. package/esm2022/radio/lib/radio.module.mjs +4 -4
  194. package/esm2022/range-slider/lib/range-slider.component.mjs +3 -3
  195. package/esm2022/range-slider/lib/range-slider.module.mjs +4 -4
  196. package/esm2022/result/lib/result.component.mjs +3 -3
  197. package/esm2022/result/lib/result.module.mjs +4 -4
  198. package/esm2022/scheduler/acorex-components-scheduler.mjs +5 -0
  199. package/esm2022/scheduler/index.mjs +4 -0
  200. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +45 -0
  201. package/esm2022/scheduler/lib/scheduler.component.mjs +30 -0
  202. package/esm2022/scheduler/lib/scheduler.module.mjs +26 -0
  203. package/esm2022/search-box/lib/search-box.component.mjs +35 -44
  204. package/esm2022/search-box/lib/search-box.module.mjs +28 -7
  205. package/esm2022/select-box/lib/select-box.component.mjs +11 -9
  206. package/esm2022/select-box/lib/select-box.module.mjs +7 -7
  207. package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
  208. package/esm2022/selection-list/lib/selection-list.module.mjs +6 -6
  209. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  210. package/esm2022/switch/lib/switch.component.mjs +4 -4
  211. package/esm2022/switch/lib/switch.module.mjs +4 -4
  212. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  213. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  214. package/esm2022/tabs/lib/tabs.component.mjs +3 -3
  215. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  216. package/esm2022/tag/lib/tag.component.mjs +3 -3
  217. package/esm2022/tag/lib/tag.module.mjs +4 -4
  218. package/esm2022/text-area/acorex-components-text-area.mjs +5 -0
  219. package/esm2022/text-area/index.mjs +3 -0
  220. package/esm2022/text-area/lib/text-area.component.mjs +36 -0
  221. package/esm2022/text-area/lib/text-area.module.mjs +19 -0
  222. package/esm2022/{checkbox/acorex-components-checkbox.mjs → text-box/acorex-components-text-box.mjs} +1 -1
  223. package/esm2022/text-box/index.mjs +4 -0
  224. package/esm2022/text-box/lib/mask-options.directive.mjs +17 -0
  225. package/esm2022/text-box/lib/text-box.component.mjs +111 -0
  226. package/esm2022/text-box/lib/text-box.module.mjs +38 -0
  227. package/esm2022/time-box/lib/time-box.component.mjs +5 -5
  228. package/esm2022/time-box/lib/time-box.module.mjs +4 -4
  229. package/esm2022/toast/index.mjs +2 -1
  230. package/esm2022/toast/lib/toast.class.mjs +1 -1
  231. package/esm2022/toast/lib/toast.component.mjs +37 -25
  232. package/esm2022/toast/lib/toast.config.mjs +19 -0
  233. package/esm2022/toast/lib/toast.module.mjs +12 -8
  234. package/esm2022/toast/lib/toast.service.mjs +46 -55
  235. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  236. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  237. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  238. package/esm2022/uploader/lib/uploader.component.mjs +3 -3
  239. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  240. package/fesm2022/acorex-components-action-sheet.mjs +99 -125
  241. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  242. package/fesm2022/acorex-components-alert.mjs +16 -18
  243. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  244. package/fesm2022/acorex-components-avatar.mjs +10 -10
  245. package/fesm2022/acorex-components-badge.mjs +8 -8
  246. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  247. package/fesm2022/acorex-components-breadcrumbs.mjs +10 -10
  248. package/fesm2022/acorex-components-button.mjs +41 -24
  249. package/fesm2022/acorex-components-button.mjs.map +1 -1
  250. package/fesm2022/acorex-components-calendar.mjs +17 -15
  251. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  252. package/fesm2022/acorex-components-check-box.mjs +100 -0
  253. package/fesm2022/acorex-components-check-box.mjs.map +1 -0
  254. package/fesm2022/acorex-components-chips.mjs +7 -7
  255. package/fesm2022/acorex-components-collapse.mjs +10 -10
  256. package/fesm2022/acorex-components-color-palette.mjs +42 -36
  257. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  258. package/fesm2022/acorex-components-color-picker.mjs +16 -10
  259. package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
  260. package/fesm2022/acorex-components-common.mjs +169 -125
  261. package/fesm2022/acorex-components-common.mjs.map +1 -1
  262. package/fesm2022/acorex-components-context-menu.mjs +8 -8
  263. package/fesm2022/acorex-components-context-menu.mjs.map +1 -1
  264. package/fesm2022/acorex-components-data-pager.mjs +214 -228
  265. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  266. package/fesm2022/acorex-components-data-table.mjs +41 -71
  267. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  268. package/fesm2022/acorex-components-date-picker.mjs +25 -22
  269. package/fesm2022/acorex-components-date-picker.mjs.map +1 -1
  270. package/fesm2022/acorex-components-decorators.mjs +80 -283
  271. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  272. package/fesm2022/acorex-components-dialog.mjs +97 -88
  273. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  274. package/fesm2022/acorex-components-drawer.mjs +30 -39
  275. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  276. package/fesm2022/acorex-components-dropdown.mjs +7 -7
  277. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  278. package/fesm2022/acorex-components-form.mjs +80 -77
  279. package/fesm2022/acorex-components-form.mjs.map +1 -1
  280. package/fesm2022/acorex-components-image.mjs +15 -19
  281. package/fesm2022/acorex-components-image.mjs.map +1 -1
  282. package/fesm2022/acorex-components-label.mjs +21 -21
  283. package/fesm2022/acorex-components-label.mjs.map +1 -1
  284. package/fesm2022/acorex-components-loading.mjs +51 -83
  285. package/fesm2022/acorex-components-loading.mjs.map +1 -1
  286. package/fesm2022/acorex-components-menu.mjs +29 -22
  287. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  288. package/fesm2022/acorex-components-mixin.mjs +3 -3
  289. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  290. package/fesm2022/acorex-components-notification.mjs +131 -107
  291. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  292. package/fesm2022/acorex-components-number-box.mjs +106 -96
  293. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  294. package/fesm2022/acorex-components-otp.mjs +40 -50
  295. package/fesm2022/acorex-components-otp.mjs.map +1 -1
  296. package/fesm2022/acorex-components-page.mjs +12 -12
  297. package/fesm2022/acorex-components-page.mjs.map +1 -1
  298. package/fesm2022/acorex-components-password-box.mjs +41 -30
  299. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  300. package/fesm2022/acorex-components-popover.mjs +10 -10
  301. package/fesm2022/acorex-components-popup.mjs +107 -170
  302. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  303. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  304. package/fesm2022/acorex-components-radio.mjs +8 -8
  305. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  306. package/fesm2022/acorex-components-range-slider.mjs +7 -7
  307. package/fesm2022/acorex-components-result.mjs +7 -7
  308. package/fesm2022/acorex-components-scheduler.mjs +98 -0
  309. package/fesm2022/acorex-components-scheduler.mjs.map +1 -0
  310. package/fesm2022/acorex-components-search-box.mjs +61 -49
  311. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  312. package/fesm2022/acorex-components-select-box.mjs +16 -14
  313. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  314. package/fesm2022/acorex-components-selection-list.mjs +8 -8
  315. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  316. package/fesm2022/acorex-components-switch.mjs +11 -11
  317. package/fesm2022/acorex-components-tabs.mjs +13 -13
  318. package/fesm2022/acorex-components-tag.mjs +7 -7
  319. package/fesm2022/acorex-components-text-area.mjs +59 -0
  320. package/fesm2022/acorex-components-text-area.mjs.map +1 -0
  321. package/fesm2022/{acorex-components-textbox.mjs → acorex-components-text-box.mjs} +20 -20
  322. package/fesm2022/acorex-components-text-box.mjs.map +1 -0
  323. package/fesm2022/acorex-components-time-box.mjs +8 -8
  324. package/fesm2022/acorex-components-time-box.mjs.map +1 -1
  325. package/fesm2022/acorex-components-toast.mjs +116 -94
  326. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  327. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  328. package/fesm2022/acorex-components-uploader.mjs +7 -7
  329. package/form/lib/form-field.component.d.ts +2 -4
  330. package/form/lib/form.component.d.ts +12 -17
  331. package/form/lib/validation-rule.widget.d.ts +9 -6
  332. package/form/lib/validation-summary.component.d.ts +7 -9
  333. package/image/lib/image.component.d.ts +7 -13
  334. package/label/lib/label.component.d.ts +4 -7
  335. package/loading/index.d.ts +1 -0
  336. package/loading/lib/loading.component.d.ts +9 -12
  337. package/loading/lib/loading.config.d.ts +8 -0
  338. package/loading/lib/loading.directive.d.ts +5 -5
  339. package/loading/lib/loading.module.d.ts +0 -1
  340. package/loading/lib/loading.service.d.ts +0 -18
  341. package/menu/lib/menu.component.d.ts +4 -2
  342. package/mixin/lib/base-components.class.d.ts +2 -2
  343. package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
  344. package/mixin/lib/button-mixin.class.d.ts +2 -2
  345. package/mixin/lib/clickable-mixin.class.d.ts +2 -2
  346. package/mixin/lib/color-look-mixing.class.d.ts +3 -3
  347. package/mixin/lib/datalist-component.class.d.ts +10 -10
  348. package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
  349. package/mixin/lib/interactive-mixin.class.d.ts +4 -4
  350. package/mixin/lib/loading-mixin.class.d.ts +2 -2
  351. package/mixin/lib/mixin.class.d.ts +61 -61
  352. package/mixin/lib/page-component.class.d.ts +2 -2
  353. package/mixin/lib/selection-component.class.d.ts +2 -2
  354. package/mixin/lib/sizable-mixin.class.d.ts +2 -2
  355. package/mixin/lib/textbox-mixin.class.d.ts +2 -2
  356. package/mixin/lib/value-mixin.class.d.ts +8 -8
  357. package/notification/index.d.ts +1 -0
  358. package/notification/lib/notification.class.d.ts +29 -7
  359. package/notification/lib/notification.component.d.ts +13 -14
  360. package/notification/lib/notification.config.d.ts +13 -0
  361. package/notification/lib/notification.module.d.ts +4 -1
  362. package/notification/lib/notification.service.d.ts +5 -9
  363. package/number-box/lib/number-box.component.d.ts +12 -17
  364. package/otp/lib/otp.component.d.ts +7 -14
  365. package/package.json +46 -40
  366. package/page/lib/base-page.class.d.ts +2 -2
  367. package/password-box/lib/password-box.component.d.ts +8 -11
  368. package/popup/index.d.ts +1 -0
  369. package/popup/lib/popup.component.d.ts +14 -19
  370. package/popup/lib/popup.interface.d.ts +26 -0
  371. package/popup/lib/popup.module.d.ts +4 -4
  372. package/popup/lib/popup.service.d.ts +4 -25
  373. package/scheduler/README.md +3 -0
  374. package/scheduler/index.d.ts +3 -0
  375. package/scheduler/lib/scheduler-month-view.component.d.ts +20 -0
  376. package/scheduler/lib/scheduler.component.d.ts +11 -0
  377. package/scheduler/lib/scheduler.module.d.ts +13 -0
  378. package/search-box/lib/search-box.component.d.ts +8 -16
  379. package/search-box/lib/search-box.module.d.ts +7 -5
  380. package/select-box/lib/select-box.module.d.ts +2 -2
  381. package/selection-list/lib/selection-list.module.d.ts +1 -1
  382. package/tabs/lib/tab-item.component.d.ts +2 -2
  383. package/text-area/README.md +3 -0
  384. package/text-area/index.d.ts +2 -0
  385. package/text-area/lib/text-area.component.d.ts +11 -0
  386. package/text-area/lib/text-area.module.d.ts +9 -0
  387. package/text-box/README.md +3 -0
  388. package/text-box/index.d.ts +3 -0
  389. package/{textbox/lib/textbox.component.d.ts → text-box/lib/text-box.component.d.ts} +1 -3
  390. package/{textbox/lib/textbox.module.d.ts → text-box/lib/text-box.module.d.ts} +1 -1
  391. package/time-box/lib/time-box.component.d.ts +1 -1
  392. package/toast/index.d.ts +1 -0
  393. package/toast/lib/toast.class.d.ts +14 -5
  394. package/toast/lib/toast.component.d.ts +13 -12
  395. package/toast/lib/toast.config.d.ts +12 -0
  396. package/toast/lib/toast.module.d.ts +4 -1
  397. package/toast/lib/toast.service.d.ts +5 -9
  398. package/action-sheet/lib/action-sheet.interface.d.ts +0 -21
  399. package/checkbox/README.md +0 -3
  400. package/checkbox/index.d.ts +0 -2
  401. package/checkbox/lib/checkbox.component.d.ts +0 -18
  402. package/common/lib/directives/debounce-time.directive.d.ts +0 -17
  403. package/data-table/lib/data-column-cell-template.directive.d.ts +0 -8
  404. package/decorators/lib/content.component.d.ts +0 -9
  405. package/decorators/lib/divider.component.d.ts +0 -5
  406. package/decorators/lib/footer.component.d.ts +0 -9
  407. package/decorators/lib/form-hint.component.d.ts +0 -8
  408. package/decorators/lib/header.component.d.ts +0 -9
  409. package/decorators/lib/overlay.component.d.ts +0 -6
  410. package/decorators/lib/placeholder.component.d.ts +0 -5
  411. package/decorators/lib/prefix.component.d.ts +0 -9
  412. package/decorators/lib/sub-title.component.d.ts +0 -9
  413. package/decorators/lib/suffix.component.d.ts +0 -9
  414. package/decorators/lib/text.component.d.ts +0 -9
  415. package/decorators/lib/title.component.d.ts +0 -8
  416. package/esm2022/action-sheet/lib/action-sheet.interface.mjs +0 -2
  417. package/esm2022/checkbox/index.mjs +0 -3
  418. package/esm2022/checkbox/lib/checkbox.component.mjs +0 -65
  419. package/esm2022/checkbox/lib/checkbox.module.mjs +0 -21
  420. package/esm2022/common/lib/directives/debounce-time.directive.mjs +0 -48
  421. package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +0 -17
  422. package/esm2022/decorators/lib/content.component.mjs +0 -26
  423. package/esm2022/decorators/lib/divider.component.mjs +0 -17
  424. package/esm2022/decorators/lib/footer.component.mjs +0 -26
  425. package/esm2022/decorators/lib/form-hint.component.mjs +0 -20
  426. package/esm2022/decorators/lib/header.component.mjs +0 -26
  427. package/esm2022/decorators/lib/overlay.component.mjs +0 -22
  428. package/esm2022/decorators/lib/placeholder.component.mjs +0 -14
  429. package/esm2022/decorators/lib/prefix.component.mjs +0 -26
  430. package/esm2022/decorators/lib/sub-title.component.mjs +0 -26
  431. package/esm2022/decorators/lib/suffix.component.mjs +0 -26
  432. package/esm2022/decorators/lib/text.component.mjs +0 -21
  433. package/esm2022/decorators/lib/title.component.mjs +0 -20
  434. package/esm2022/textarea/acorex-components-textarea.mjs +0 -5
  435. package/esm2022/textarea/index.mjs +0 -3
  436. package/esm2022/textarea/lib/textarea.component.mjs +0 -37
  437. package/esm2022/textarea/lib/textarea.module.mjs +0 -19
  438. package/esm2022/textbox/acorex-components-textbox.mjs +0 -5
  439. package/esm2022/textbox/index.mjs +0 -4
  440. package/esm2022/textbox/lib/mask-options.directive.mjs +0 -17
  441. package/esm2022/textbox/lib/textbox.component.mjs +0 -111
  442. package/esm2022/textbox/lib/textbox.module.mjs +0 -38
  443. package/fesm2022/acorex-components-checkbox.mjs +0 -89
  444. package/fesm2022/acorex-components-checkbox.mjs.map +0 -1
  445. package/fesm2022/acorex-components-textarea.mjs +0 -60
  446. package/fesm2022/acorex-components-textarea.mjs.map +0 -1
  447. package/fesm2022/acorex-components-textbox.mjs.map +0 -1
  448. package/textarea/README.md +0 -3
  449. package/textarea/index.d.ts +0 -2
  450. package/textarea/lib/textarea.component.d.ts +0 -14
  451. package/textarea/lib/textarea.module.d.ts +0 -9
  452. package/textbox/README.md +0 -3
  453. package/textbox/index.d.ts +0 -3
  454. /package/{textbox → text-box}/lib/mask-options.directive.d.ts +0 -0
@@ -14,14 +14,12 @@ export declare class AXTextBoxComponent extends MXInputBaseValueComponent<string
14
14
  get maskOptions(): AXMaskOptions;
15
15
  set maskOptions(value: AXMaskOptions);
16
16
  maxLength: number;
17
- placeholder: string;
18
17
  type: string;
19
18
  autoComplete: string;
20
19
  protected _maskOptionsContent: AXMaskOptionsDirective;
21
20
  ngAfterContentInit(): void;
22
- focus(): void;
23
21
  private _onComplete;
24
22
  protected _handleModelChange(value: string | null): void;
25
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
26
- 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; }; "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-suffix", "ax-validation-rule"], false, 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>;
27
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,18 +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 internalGetValue(value: any): boolean | null;
12
- internalSetValue(value: boolean | null): boolean;
13
- protected _handleOnClickEvent(e: MouseEvent): boolean;
14
- protected _handleModelChange(value: boolean | null): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<AXCheckBoxComponent, never>;
16
- 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>;
17
- }
18
- 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmludGVyZmFjZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZ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hdGE/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,65 +0,0 @@
1
- import { MXInteractiveComponent, MXValueComponent } from '@acorex/components/common';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, forwardRef } from '@angular/core';
3
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
4
- import { classes } from 'polytype';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/forms";
7
- export class AXCheckBoxComponent extends classes((MXValueComponent), MXInteractiveComponent) {
8
- constructor() {
9
- super(...arguments);
10
- this.indeterminate = false;
11
- this._stateIndeterminate = false;
12
- }
13
- internalGetValue(value) {
14
- if (!this.indeterminate && value == null) {
15
- return false;
16
- }
17
- return value;
18
- }
19
- internalSetValue(value) {
20
- if (this.indeterminate && value == null) {
21
- this._stateIndeterminate = true;
22
- return null;
23
- }
24
- else if (!this.indeterminate && value == null) {
25
- this._stateIndeterminate = false;
26
- return false;
27
- }
28
- else {
29
- this._stateIndeterminate = false;
30
- return value == true ? true : false;
31
- }
32
- }
33
- _handleOnClickEvent(e) {
34
- if (this.readonly || this.disabled) {
35
- e.preventDefault();
36
- e.stopPropagation();
37
- return false;
38
- }
39
- return true;
40
- }
41
- _handleModelChange(value) {
42
- this.commitValue(value, true);
43
- }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", 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" }, providers: [
46
- {
47
- provide: NG_VALUE_ACCESSOR,
48
- useExisting: forwardRef(() => AXCheckBoxComponent),
49
- multi: true
50
- }
51
- ], 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 (ngModelChange)=\"_handleModelChange($event)\"\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 }); }
52
- }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXCheckBoxComponent, decorators: [{
54
- type: Component,
55
- args: [{ selector: 'ax-check-box', inputs: ['disabled', 'tabIndex', 'readonly', 'allowNull', 'value', 'name', 'checked'], outputs: ['onBlur', 'onFocus', 'valueChange', 'onValueChanged'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
56
- {
57
- provide: NG_VALUE_ACCESSOR,
58
- useExisting: forwardRef(() => AXCheckBoxComponent),
59
- multi: true
60
- }
61
- ], 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 (ngModelChange)=\"_handleModelChange($event)\"\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"] }]
62
- }], propDecorators: { indeterminate: [{
63
- type: Input
64
- }] } });
65
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL2NoZWNrYm94L3NyYy9saWIvY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLGdCQUFnQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDckYsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsaUJBQWlCLEVBQ2pCLEtBQUssRUFDTCxVQUFVLEVBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLFVBQVUsQ0FBQzs7O0FBbUJuQyxNQUFNLE9BQU8sbUJBQW9CLFNBQy9CLE9BQU8sQ0FDTCxDQUFBLGdCQUFnQyxDQUFBLEVBQ2hDLHNCQUFzQixDQUN2QjtJQXBCSDs7UUF3QlMsa0JBQWEsR0FBWSxLQUFLLENBQUM7UUFHNUIsd0JBQW1CLEdBQVksS0FBSyxDQUFDO0tBcUNoRDtJQW5Db0IsZ0J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zZWxlY3Q9XCJheC1mb3JtLWhpbnRcIj48L25nLWNvbnRlbnQ+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.6", ngImport: i0, type: AXCheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", 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.6", ngImport: i0, type: AXCheckBoxModule, imports: [CommonModule, FormsModule, AXDecoratorModule] }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiO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dWxlIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuaW1wb3J0IHsgQVhEZWNvcmF0b3JNb2R1bGUgfSBmcm9tICdAYWNvcmV4L2NvbXBvbmVudHMvZGVjb3JhdG9ycyc7XG5pbXBvcnQgeyBBWENoZWNrQm94Q29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2JveC5jb21wb25lbnQnO1xuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQVhDaGVja0JveENvbXBvbmVudF0sXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGUsIEZvcm1zTW9kdWxlLCBBWERlY29yYXRvck1vZHVsZV0sXG4gIGV4cG9ydHM6IFtBWENoZWNrQm94Q29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbXSxcbn0pXG5leHBvcnQgY2xhc3MgQVhDaGVja0JveE1vZHVsZSB7fVxuIl19
@@ -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.6", 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.6", 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.6", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVib3VuY2UtdGltZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvY29tbW9uL3NyYy9saWIvZGlyZWN0aXZlcy9kZWJvdW5jZS10aW1lLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQWEsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFD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gICAgICAgIC8vXG4gICAgICAgIHRoaXMuc3Vic2NyaXB0aW9uID0gdGhpcy5uZ01vZGVsLmNvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUoXG4gICAgICAgICAgICBza2lwKDEpLCAvLyBza2lwIGluaXRpYWwgdmFsdWVcbiAgICAgICAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKCksXG4gICAgICAgICAgICBkZWJvdW5jZVRpbWUodGhpcy5uZ01vZGVsQ2hhbmdlRGVib3VuY2VUaW1lKVxuICAgICAgICApLnN1YnNjcmliZSgodmFsdWUpID0+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.6", ngImport: i0, type: AXDataColumnCellTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.6", 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.6", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb2x1bW4tY2VsbC10ZW1wbGF0ZS5kaXJlY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GFueT4ge1xuICAgICAgICByZXR1cm4gdGhpcy5fY29udGVudFRlbXBsYXRlO1xuICAgIH1cbn0iXX0=
@@ -1,26 +0,0 @@
1
- import { AXBaseComponentMixin } from '@acorex/components/mixin';
2
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, ViewEncapsulation, } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export class AXDecoratorContentComponent extends AXBaseComponentMixin {
5
- constructor(elementRef, cdr) {
6
- super(elementRef, cdr);
7
- }
8
- get hostClass() {
9
- return 'ax-content';
10
- }
11
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDecoratorContentComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
12
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: AXDecoratorContentComponent, selector: "ax-content", host: { properties: { "class": "this.hostClass" } }, usesInheritance: true, ngImport: i0, template: ` <ng-content> </ng-content> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
13
- }
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXDecoratorContentComponent, decorators: [{
15
- type: Component,
16
- args: [{
17
- selector: 'ax-content',
18
- template: ` <ng-content> </ng-content> `,
19
- changeDetection: ChangeDetectionStrategy.OnPush,
20
- encapsulation: ViewEncapsulation.None,
21
- }]
22
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostClass: [{
23
- type: HostBinding,
24
- args: ['class']
25
- }] } });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi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