@acorex/components 6.1.0 → 6.1.2

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 (366) hide show
  1. package/alert/public-api.d.ts +1 -0
  2. package/alert/src/alert-button.directive.d.ts +8 -0
  3. package/alert/src/alert.component.d.ts +18 -10
  4. package/alert/src/alert.module.d.ts +4 -3
  5. package/badge/src/badge.component.d.ts +2 -1
  6. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +6 -7
  7. package/button/src/button-group.component.d.ts +6 -4
  8. package/button/src/button-item.component.d.ts +6 -4
  9. package/calendar/src/calendar.component.d.ts +4 -4
  10. package/calendar/src/calendar.module.d.ts +3 -4
  11. package/color-picker/src/color-picker.component.d.ts +22 -21
  12. package/common/public-api.d.ts +1 -0
  13. package/common/src/common.module.d.ts +4 -3
  14. package/common/src/debounce-time.directive.d.ts +17 -0
  15. package/common/src/events.class.d.ts +1 -1
  16. package/data-table/src/data-table.component.d.ts +3 -3
  17. package/date-picker/src/datepicker.component.d.ts +15 -12
  18. package/decorators/public-api.d.ts +1 -0
  19. package/decorators/src/decorators.module.d.ts +7 -6
  20. package/decorators/src/sub-title.component.d.ts +9 -0
  21. package/esm2020/action-sheet/src/action-sheet-item.component.mjs +3 -3
  22. package/esm2020/action-sheet/src/action-sheet.component.mjs +3 -3
  23. package/esm2020/action-sheet/src/action-sheet.module.mjs +4 -4
  24. package/esm2020/alert/public-api.mjs +2 -1
  25. package/esm2020/alert/src/alert-button.directive.mjs +19 -0
  26. package/esm2020/alert/src/alert.component.mjs +80 -51
  27. package/esm2020/alert/src/alert.module.mjs +7 -6
  28. package/esm2020/avatar/src/avatar-group.component.mjs +3 -3
  29. package/esm2020/avatar/src/avatar.component.mjs +3 -3
  30. package/esm2020/avatar/src/avatar.module.mjs +4 -4
  31. package/esm2020/badge/src/badge.component.mjs +3 -3
  32. package/esm2020/badge/src/badge.module.mjs +4 -4
  33. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +3 -3
  34. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +3 -3
  35. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +4 -4
  36. package/esm2020/button/src/button-group.component.mjs +3 -3
  37. package/esm2020/button/src/button-item.component.mjs +3 -3
  38. package/esm2020/button/src/button.component.mjs +3 -3
  39. package/esm2020/button/src/button.module.mjs +4 -4
  40. package/esm2020/calendar/src/calendar.class.mjs +3 -3
  41. package/esm2020/calendar/src/calendar.component.mjs +10 -12
  42. package/esm2020/calendar/src/calendar.module.mjs +6 -7
  43. package/esm2020/carousel/src/carousel-arrows.component.mjs +3 -3
  44. package/esm2020/carousel/src/carousel-item.component.mjs +3 -3
  45. package/esm2020/carousel/src/carousel-pager.component.mjs +3 -3
  46. package/esm2020/carousel/src/carousel.class.mjs +3 -3
  47. package/esm2020/carousel/src/carousel.component.mjs +3 -3
  48. package/esm2020/carousel/src/carousel.module.mjs +4 -4
  49. package/esm2020/checkbox/src/checkbox.component.mjs +3 -3
  50. package/esm2020/checkbox/src/checkbox.module.mjs +4 -4
  51. package/esm2020/collapse/src/collapse-group.component.mjs +3 -3
  52. package/esm2020/collapse/src/collapse.component.mjs +3 -3
  53. package/esm2020/collapse/src/collapse.module.mjs +4 -4
  54. package/esm2020/color-palette/src/color-palette-input.component.mjs +4 -4
  55. package/esm2020/color-palette/src/color-palette-picker.component.mjs +3 -3
  56. package/esm2020/color-palette/src/color-palette-preview.component.mjs +3 -3
  57. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +3 -3
  58. package/esm2020/color-palette/src/color-palette.class.mjs +6 -6
  59. package/esm2020/color-palette/src/color-palette.component.mjs +3 -3
  60. package/esm2020/color-palette/src/color-palette.module.mjs +4 -4
  61. package/esm2020/color-picker/src/color-picker.component.mjs +5 -5
  62. package/esm2020/color-picker/src/color-picker.module.mjs +4 -4
  63. package/esm2020/common/public-api.mjs +2 -1
  64. package/esm2020/common/src/auto-focus.directive.mjs +4 -4
  65. package/esm2020/common/src/common.module.mjs +10 -5
  66. package/esm2020/common/src/components.class.mjs +18 -18
  67. package/esm2020/common/src/custom-cdk-overlay.service.mjs +7 -7
  68. package/esm2020/common/src/debounce-time.directive.mjs +47 -0
  69. package/esm2020/common/src/events.class.mjs +1 -1
  70. package/esm2020/common/src/hotkey.directive.mjs +3 -3
  71. package/esm2020/common/src/hotkey.service.mjs +4 -4
  72. package/esm2020/common/src/infinite-scroll.directive.mjs +3 -3
  73. package/esm2020/common/src/overlay.service.mjs +3 -3
  74. package/esm2020/common/src/responsive.directive.mjs +3 -3
  75. package/esm2020/context-menu/src/context-menu.component.mjs +3 -3
  76. package/esm2020/context-menu/src/context-menu.module.mjs +4 -4
  77. package/esm2020/data-pager/src/data-pager-base.component.mjs +6 -6
  78. package/esm2020/data-pager/src/data-pager-info.component.mjs +3 -3
  79. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +8 -7
  80. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +14 -13
  81. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +10 -10
  82. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +3 -3
  83. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +14 -13
  84. package/esm2020/data-pager/src/data-pager.component.mjs +7 -6
  85. package/esm2020/data-pager/src/data-pager.module.mjs +4 -4
  86. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +3 -3
  87. package/esm2020/data-table/src/data-column.directive.mjs +3 -3
  88. package/esm2020/data-table/src/data-table.component.mjs +5 -4
  89. package/esm2020/data-table/src/data-table.module.mjs +4 -4
  90. package/esm2020/date-picker/src/datepicker.component.mjs +4 -5
  91. package/esm2020/date-picker/src/datepicker.module.mjs +4 -4
  92. package/esm2020/decorators/public-api.mjs +2 -1
  93. package/esm2020/decorators/src/close-button.component.mjs +3 -3
  94. package/esm2020/decorators/src/content.component.mjs +3 -3
  95. package/esm2020/decorators/src/decorators.module.mjs +10 -6
  96. package/esm2020/decorators/src/footer.component.mjs +3 -3
  97. package/esm2020/decorators/src/header.component.mjs +3 -3
  98. package/esm2020/decorators/src/icon.component.mjs +3 -3
  99. package/esm2020/decorators/src/overlay.component.mjs +3 -3
  100. package/esm2020/decorators/src/placeholder.component.mjs +3 -3
  101. package/esm2020/decorators/src/prefix.component.mjs +3 -3
  102. package/esm2020/decorators/src/sub-title.component.mjs +27 -0
  103. package/esm2020/decorators/src/suffix.component.mjs +3 -3
  104. package/esm2020/decorators/src/text.component.mjs +3 -3
  105. package/esm2020/decorators/src/title.component.mjs +3 -3
  106. package/esm2020/dialog/src/dialog.component.mjs +3 -3
  107. package/esm2020/dialog/src/dialog.module.mjs +4 -4
  108. package/esm2020/dialog/src/dialog.service.mjs +3 -3
  109. package/esm2020/drawer/src/drawer-container.component.mjs +3 -3
  110. package/esm2020/drawer/src/drawer.component.mjs +3 -3
  111. package/esm2020/drawer/src/drawer.module.mjs +4 -4
  112. package/esm2020/dropdown/src/dropdown-panel.component.mjs +3 -3
  113. package/esm2020/dropdown/src/dropdown.module.mjs +4 -4
  114. package/esm2020/form/src/form-field.component.mjs +3 -3
  115. package/esm2020/form/src/form-hint.component.mjs +3 -3
  116. package/esm2020/form/src/form.component.mjs +3 -3
  117. package/esm2020/form/src/form.module.mjs +4 -4
  118. package/esm2020/form/src/validation-rule.widget.mjs +13 -8
  119. package/esm2020/form/src/validation-summary.component.mjs +25 -17
  120. package/esm2020/image/src/image.component.mjs +3 -3
  121. package/esm2020/image/src/image.module.mjs +4 -4
  122. package/esm2020/label/src/label.component.mjs +3 -3
  123. package/esm2020/label/src/label.module.mjs +4 -4
  124. package/esm2020/loading/src/loading-spinner.component.mjs +3 -3
  125. package/esm2020/loading/src/loading.component.mjs +3 -3
  126. package/esm2020/loading/src/loading.directive.mjs +3 -3
  127. package/esm2020/loading/src/loading.module.mjs +4 -4
  128. package/esm2020/loading/src/loading.service.mjs +3 -3
  129. package/esm2020/menu/src/menu.component.mjs +3 -3
  130. package/esm2020/menu/src/menu.module.mjs +4 -4
  131. package/esm2020/mixin/src/base-components.class.mjs +9 -4
  132. package/esm2020/mixin/src/textbox-mixin.class.mjs +52 -83
  133. package/esm2020/mixin/src/value-mixin.class.mjs +2 -1
  134. package/esm2020/number-box/src/number-box.component.mjs +5 -6
  135. package/esm2020/number-box/src/number-box.module.mjs +4 -4
  136. package/esm2020/page/src/base-page.class.mjs +3 -3
  137. package/esm2020/page/src/page.component.mjs +3 -3
  138. package/esm2020/page/src/page.module.mjs +4 -4
  139. package/esm2020/password-box/src/password-box.component.mjs +5 -5
  140. package/esm2020/password-box/src/password-box.module.mjs +4 -4
  141. package/esm2020/popover/src/popover.component.mjs +3 -3
  142. package/esm2020/popover/src/popover.module.mjs +4 -4
  143. package/esm2020/popup/src/popup.component.mjs +3 -3
  144. package/esm2020/popup/src/popup.module.mjs +4 -4
  145. package/esm2020/popup/src/popup.service.mjs +3 -3
  146. package/esm2020/progress-bar/src/progress-bar.component.mjs +3 -3
  147. package/esm2020/progress-bar/src/progress-bar.module.mjs +4 -4
  148. package/esm2020/radio/src/radio.component.mjs +3 -3
  149. package/esm2020/radio/src/radio.module.mjs +4 -4
  150. package/esm2020/range-slider/src/range-slider.component.mjs +3 -3
  151. package/esm2020/range-slider/src/range-slider.module.mjs +4 -4
  152. package/esm2020/rating/src/rating.component.mjs +3 -3
  153. package/esm2020/rating/src/rating.component.module.mjs +4 -4
  154. package/esm2020/result/src/result.component.mjs +3 -3
  155. package/esm2020/result/src/result.module.mjs +4 -4
  156. package/esm2020/search-box/src/search-box.component.mjs +6 -5
  157. package/esm2020/search-box/src/search-box.module.mjs +4 -4
  158. package/esm2020/select-box/src/selectbox.component.mjs +7 -7
  159. package/esm2020/select-box/src/selectbox.module.mjs +4 -4
  160. package/esm2020/selection-list/src/selection-list.component.mjs +21 -10
  161. package/esm2020/selection-list/src/selection-list.module.mjs +4 -4
  162. package/esm2020/switch/src/switch.component.mjs +3 -3
  163. package/esm2020/switch/src/switch.module.mjs +4 -4
  164. package/esm2020/tabs/src/tab-content.directive.mjs +3 -3
  165. package/esm2020/tabs/src/tab-item.component.mjs +3 -3
  166. package/esm2020/tabs/src/tabs.component.mjs +3 -3
  167. package/esm2020/tabs/src/tabs.module.mjs +4 -4
  168. package/esm2020/textarea/src/textarea.component.mjs +5 -5
  169. package/esm2020/textarea/src/textarea.module.mjs +4 -4
  170. package/esm2020/textbox/public-api.mjs +2 -2
  171. package/esm2020/textbox/src/mask-options.directive.mjs +22 -0
  172. package/esm2020/textbox/src/textbox.component.mjs +46 -26
  173. package/esm2020/textbox/src/textbox.module.mjs +14 -10
  174. package/esm2020/time-box/src/time-box.component.mjs +6 -6
  175. package/esm2020/time-box/src/time-box.module.mjs +4 -4
  176. package/esm2020/toast/src/toast.component.mjs +5 -5
  177. package/esm2020/toast/src/toast.module.mjs +4 -4
  178. package/esm2020/toast/src/toast.service.mjs +3 -3
  179. package/esm2020/tooltip/src/tooltip.component.mjs +3 -3
  180. package/esm2020/tooltip/src/tooltip.directive.mjs +3 -3
  181. package/esm2020/tooltip/src/tooltip.module.mjs +4 -4
  182. package/esm2020/tree-view/src/tree-view.component.mjs +3 -3
  183. package/esm2020/tree-view/src/tree-view.module.mjs +4 -4
  184. package/esm2020/uploader/src/uploader.component.mjs +3 -3
  185. package/esm2020/uploader/src/uploader.module.mjs +4 -4
  186. package/fesm2015/acorex-components-action-sheet.mjs +10 -10
  187. package/fesm2015/acorex-components-alert.mjs +106 -58
  188. package/fesm2015/acorex-components-alert.mjs.map +1 -1
  189. package/fesm2015/acorex-components-avatar.mjs +10 -10
  190. package/fesm2015/acorex-components-badge.mjs +7 -7
  191. package/fesm2015/acorex-components-breadcrumbs.mjs +10 -10
  192. package/fesm2015/acorex-components-button.mjs +13 -13
  193. package/fesm2015/acorex-components-calendar.mjs +17 -20
  194. package/fesm2015/acorex-components-calendar.mjs.map +1 -1
  195. package/fesm2015/acorex-components-carousel.mjs +19 -19
  196. package/fesm2015/acorex-components-checkbox.mjs +7 -7
  197. package/fesm2015/acorex-components-collapse.mjs +10 -10
  198. package/fesm2015/acorex-components-color-palette.mjs +26 -26
  199. package/fesm2015/acorex-components-color-palette.mjs.map +1 -1
  200. package/fesm2015/acorex-components-color-picker.mjs +8 -8
  201. package/fesm2015/acorex-components-color-picker.mjs.map +1 -1
  202. package/fesm2015/acorex-components-common.mjs +104 -55
  203. package/fesm2015/acorex-components-common.mjs.map +1 -1
  204. package/fesm2015/acorex-components-context-menu.mjs +7 -7
  205. package/fesm2015/acorex-components-data-pager.mjs +59 -57
  206. package/fesm2015/acorex-components-data-pager.mjs.map +1 -1
  207. package/fesm2015/acorex-components-data-table.mjs +14 -13
  208. package/fesm2015/acorex-components-data-table.mjs.map +1 -1
  209. package/fesm2015/acorex-components-date-picker.mjs +7 -8
  210. package/fesm2015/acorex-components-date-picker.mjs.map +1 -1
  211. package/fesm2015/acorex-components-decorators.mjs +65 -39
  212. package/fesm2015/acorex-components-decorators.mjs.map +1 -1
  213. package/fesm2015/acorex-components-dialog.mjs +10 -10
  214. package/fesm2015/acorex-components-drawer.mjs +10 -10
  215. package/fesm2015/acorex-components-dropdown.mjs +7 -7
  216. package/fesm2015/acorex-components-form.mjs +49 -36
  217. package/fesm2015/acorex-components-form.mjs.map +1 -1
  218. package/fesm2015/acorex-components-image.mjs +7 -7
  219. package/fesm2015/acorex-components-label.mjs +7 -7
  220. package/fesm2015/acorex-components-loading.mjs +16 -16
  221. package/fesm2015/acorex-components-menu.mjs +7 -7
  222. package/fesm2015/acorex-components-mixin.mjs +12 -36
  223. package/fesm2015/acorex-components-mixin.mjs.map +1 -1
  224. package/fesm2015/acorex-components-number-box.mjs +8 -9
  225. package/fesm2015/acorex-components-number-box.mjs.map +1 -1
  226. package/fesm2015/acorex-components-page.mjs +10 -10
  227. package/fesm2015/acorex-components-password-box.mjs +8 -8
  228. package/fesm2015/acorex-components-password-box.mjs.map +1 -1
  229. package/fesm2015/acorex-components-popover.mjs +7 -7
  230. package/fesm2015/acorex-components-popup.mjs +10 -10
  231. package/fesm2015/acorex-components-progress-bar.mjs +7 -7
  232. package/fesm2015/acorex-components-radio.mjs +7 -7
  233. package/fesm2015/acorex-components-range-slider.mjs +7 -7
  234. package/fesm2015/acorex-components-rating.mjs +7 -7
  235. package/fesm2015/acorex-components-result.mjs +7 -7
  236. package/fesm2015/acorex-components-search-box.mjs +9 -8
  237. package/fesm2015/acorex-components-search-box.mjs.map +1 -1
  238. package/fesm2015/acorex-components-select-box.mjs +10 -10
  239. package/fesm2015/acorex-components-select-box.mjs.map +1 -1
  240. package/fesm2015/acorex-components-selection-list.mjs +24 -13
  241. package/fesm2015/acorex-components-selection-list.mjs.map +1 -1
  242. package/fesm2015/acorex-components-switch.mjs +7 -7
  243. package/fesm2015/acorex-components-tabs.mjs +13 -13
  244. package/fesm2015/acorex-components-textarea.mjs +8 -8
  245. package/fesm2015/acorex-components-textarea.mjs.map +1 -1
  246. package/fesm2015/acorex-components-textbox.mjs +65 -42
  247. package/fesm2015/acorex-components-textbox.mjs.map +1 -1
  248. package/fesm2015/acorex-components-time-box.mjs +9 -9
  249. package/fesm2015/acorex-components-time-box.mjs.map +1 -1
  250. package/fesm2015/acorex-components-toast.mjs +11 -11
  251. package/fesm2015/acorex-components-toast.mjs.map +1 -1
  252. package/fesm2015/acorex-components-tooltip.mjs +10 -10
  253. package/fesm2015/acorex-components-tree-view.mjs +7 -7
  254. package/fesm2015/acorex-components-uploader.mjs +7 -7
  255. package/fesm2020/acorex-components-action-sheet.mjs +10 -10
  256. package/fesm2020/acorex-components-alert.mjs +104 -58
  257. package/fesm2020/acorex-components-alert.mjs.map +1 -1
  258. package/fesm2020/acorex-components-avatar.mjs +10 -10
  259. package/fesm2020/acorex-components-badge.mjs +7 -7
  260. package/fesm2020/acorex-components-breadcrumbs.mjs +10 -10
  261. package/fesm2020/acorex-components-button.mjs +13 -13
  262. package/fesm2020/acorex-components-calendar.mjs +17 -20
  263. package/fesm2020/acorex-components-calendar.mjs.map +1 -1
  264. package/fesm2020/acorex-components-carousel.mjs +19 -19
  265. package/fesm2020/acorex-components-checkbox.mjs +7 -7
  266. package/fesm2020/acorex-components-collapse.mjs +10 -10
  267. package/fesm2020/acorex-components-color-palette.mjs +26 -26
  268. package/fesm2020/acorex-components-color-palette.mjs.map +1 -1
  269. package/fesm2020/acorex-components-color-picker.mjs +8 -8
  270. package/fesm2020/acorex-components-color-picker.mjs.map +1 -1
  271. package/fesm2020/acorex-components-common.mjs +103 -55
  272. package/fesm2020/acorex-components-common.mjs.map +1 -1
  273. package/fesm2020/acorex-components-context-menu.mjs +7 -7
  274. package/fesm2020/acorex-components-data-pager.mjs +59 -57
  275. package/fesm2020/acorex-components-data-pager.mjs.map +1 -1
  276. package/fesm2020/acorex-components-data-table.mjs +14 -13
  277. package/fesm2020/acorex-components-data-table.mjs.map +1 -1
  278. package/fesm2020/acorex-components-date-picker.mjs +7 -8
  279. package/fesm2020/acorex-components-date-picker.mjs.map +1 -1
  280. package/fesm2020/acorex-components-decorators.mjs +65 -39
  281. package/fesm2020/acorex-components-decorators.mjs.map +1 -1
  282. package/fesm2020/acorex-components-dialog.mjs +10 -10
  283. package/fesm2020/acorex-components-drawer.mjs +10 -10
  284. package/fesm2020/acorex-components-dropdown.mjs +7 -7
  285. package/fesm2020/acorex-components-form.mjs +49 -36
  286. package/fesm2020/acorex-components-form.mjs.map +1 -1
  287. package/fesm2020/acorex-components-image.mjs +7 -7
  288. package/fesm2020/acorex-components-label.mjs +7 -7
  289. package/fesm2020/acorex-components-loading.mjs +16 -16
  290. package/fesm2020/acorex-components-menu.mjs +7 -7
  291. package/fesm2020/acorex-components-mixin.mjs +60 -84
  292. package/fesm2020/acorex-components-mixin.mjs.map +1 -1
  293. package/fesm2020/acorex-components-number-box.mjs +8 -9
  294. package/fesm2020/acorex-components-number-box.mjs.map +1 -1
  295. package/fesm2020/acorex-components-page.mjs +10 -10
  296. package/fesm2020/acorex-components-password-box.mjs +8 -8
  297. package/fesm2020/acorex-components-password-box.mjs.map +1 -1
  298. package/fesm2020/acorex-components-popover.mjs +7 -7
  299. package/fesm2020/acorex-components-popup.mjs +10 -10
  300. package/fesm2020/acorex-components-progress-bar.mjs +7 -7
  301. package/fesm2020/acorex-components-radio.mjs +7 -7
  302. package/fesm2020/acorex-components-range-slider.mjs +7 -7
  303. package/fesm2020/acorex-components-rating.mjs +7 -7
  304. package/fesm2020/acorex-components-result.mjs +7 -7
  305. package/fesm2020/acorex-components-search-box.mjs +9 -8
  306. package/fesm2020/acorex-components-search-box.mjs.map +1 -1
  307. package/fesm2020/acorex-components-select-box.mjs +10 -10
  308. package/fesm2020/acorex-components-select-box.mjs.map +1 -1
  309. package/fesm2020/acorex-components-selection-list.mjs +24 -13
  310. package/fesm2020/acorex-components-selection-list.mjs.map +1 -1
  311. package/fesm2020/acorex-components-switch.mjs +7 -7
  312. package/fesm2020/acorex-components-tabs.mjs +13 -13
  313. package/fesm2020/acorex-components-textarea.mjs +8 -8
  314. package/fesm2020/acorex-components-textarea.mjs.map +1 -1
  315. package/fesm2020/acorex-components-textbox.mjs +64 -42
  316. package/fesm2020/acorex-components-textbox.mjs.map +1 -1
  317. package/fesm2020/acorex-components-time-box.mjs +9 -9
  318. package/fesm2020/acorex-components-time-box.mjs.map +1 -1
  319. package/fesm2020/acorex-components-toast.mjs +11 -11
  320. package/fesm2020/acorex-components-toast.mjs.map +1 -1
  321. package/fesm2020/acorex-components-tooltip.mjs +10 -10
  322. package/fesm2020/acorex-components-tree-view.mjs +7 -7
  323. package/fesm2020/acorex-components-uploader.mjs +7 -7
  324. package/form/src/validation-rule.widget.d.ts +1 -0
  325. package/form/src/validation-summary.component.d.ts +4 -2
  326. package/mixin/src/base-components.class.d.ts +3 -1
  327. package/mixin/src/base-menu-mixin.class.d.ts +5 -4
  328. package/mixin/src/button-mixin.class.d.ts +2 -1
  329. package/mixin/src/clickable-mixin.class.d.ts +3 -4
  330. package/mixin/src/color-look-mixing.class.d.ts +2 -1
  331. package/mixin/src/datalist-component.class.d.ts +10 -9
  332. package/mixin/src/dropdown-mixin.class.d.ts +2 -1
  333. package/mixin/src/interactive-mixin.class.d.ts +5 -6
  334. package/mixin/src/loading-mixin.class.d.ts +2 -1
  335. package/mixin/src/mixin.class.d.ts +63 -47
  336. package/mixin/src/page-component.class.d.ts +2 -1
  337. package/mixin/src/selection-component.class.d.ts +3 -4
  338. package/mixin/src/sizable-mixin.class.d.ts +2 -1
  339. package/mixin/src/textbox-mixin.class.d.ts +5 -13
  340. package/mixin/src/value-mixin.class.d.ts +8 -7
  341. package/number-box/src/number-box.component.d.ts +1 -1
  342. package/package.json +4 -12
  343. package/password-box/src/password-box.component.d.ts +1 -1
  344. package/select-box/src/selectbox.component.d.ts +1 -1
  345. package/selection-list/src/selection-list.component.d.ts +5 -4
  346. package/tabs/src/tab-item.component.d.ts +2 -1
  347. package/textarea/src/textarea.component.d.ts +1 -1
  348. package/textbox/public-api.d.ts +1 -1
  349. package/textbox/src/mask-options.directive.d.ts +13 -0
  350. package/textbox/src/textbox.component.d.ts +12 -6
  351. package/textbox/src/textbox.module.d.ts +6 -5
  352. package/time-box/src/time-box.component.d.ts +2 -2
  353. package/esm2020/input-mask/acorex-components-input-mask.mjs +0 -5
  354. package/esm2020/input-mask/public-api.mjs +0 -3
  355. package/esm2020/input-mask/src/input-mask.component.mjs +0 -58
  356. package/esm2020/input-mask/src/input-mask.module.mjs +0 -24
  357. package/esm2020/textbox/src/mask-settings.directive.mjs +0 -23
  358. package/fesm2015/acorex-components-input-mask.mjs +0 -86
  359. package/fesm2015/acorex-components-input-mask.mjs.map +0 -1
  360. package/fesm2020/acorex-components-input-mask.mjs +0 -86
  361. package/fesm2020/acorex-components-input-mask.mjs.map +0 -1
  362. package/input-mask/index.d.ts +0 -5
  363. package/input-mask/public-api.d.ts +0 -2
  364. package/input-mask/src/input-mask.component.d.ts +0 -25
  365. package/input-mask/src/input-mask.module.d.ts +0 -10
  366. package/textbox/src/mask-settings.directive.d.ts +0 -8
@@ -4,7 +4,7 @@ export declare function _PageComponenetMixin<TBase extends Constructor<AXBaseCom
4
4
  new (...args: any[]): {
5
5
  id: string;
6
6
  rtl: boolean;
7
- "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
7
+ "__#34353@#elementRef": import("@angular/core").ElementRef<any>;
8
8
  _cdr: import("@angular/core").ChangeDetectorRef;
9
9
  _isInited: boolean;
10
10
  _isRendered: boolean;
@@ -22,5 +22,6 @@ export declare function _PageComponenetMixin<TBase extends Constructor<AXBaseCom
22
22
  _onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
23
23
  _onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
24
24
  _setOption(option: import("./base-components.class").AXComponentSetOption): void;
25
+ _isRtl(): boolean;
25
26
  };
26
27
  } & TBase;
@@ -34,11 +34,9 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
34
34
  toggleSelect(...items: any[]): void;
35
35
  isItemSelected(item: any): boolean;
36
36
  isItemDisabled(item: any): boolean;
37
- id: string; /**
38
- * Defines the primary text to show inside the button.
39
- */
37
+ id: string;
40
38
  rtl: boolean;
41
- "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
39
+ "__#34353@#elementRef": import("@angular/core").ElementRef<any>;
42
40
  _cdr: import("@angular/core").ChangeDetectorRef;
43
41
  _isInited: boolean;
44
42
  _isRendered: boolean;
@@ -55,6 +53,7 @@ export declare function _SelectionComponenetMixin<TBase extends Constructor<AXBa
55
53
  _onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
56
54
  _onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
57
55
  _setOption(option: import("./base-components.class").AXComponentSetOption): void;
56
+ _isRtl(): boolean;
58
57
  };
59
58
  } & TBase;
60
59
  export declare const SELECTION_INPUTS: string[];
@@ -9,7 +9,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
9
9
  _onInternalInit(): void;
10
10
  id: string;
11
11
  rtl: boolean;
12
- "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
12
+ "__#34353@#elementRef": import("@angular/core").ElementRef<any>;
13
13
  _cdr: import("@angular/core").ChangeDetectorRef;
14
14
  _isInited: boolean;
15
15
  _isRendered: boolean;
@@ -26,6 +26,7 @@ export declare function _SizableComponenetMixin<TBase extends Constructor<AXBase
26
26
  _onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
27
27
  _onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
28
28
  _setOption(option: import("./base-components.class").AXComponentSetOption): void;
29
+ _isRtl(): boolean;
29
30
  };
30
31
  } & TBase;
31
32
  export declare const SIZABLE_INPUTS: string[];
@@ -1,5 +1,4 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Subject, Subscription } from 'rxjs';
3
2
  import { AXHtmlEvent } from '@acorex/components/common';
4
3
  import { AXBaseComponent } from './base-components.class';
5
4
  import { Constructor } from './constratctor';
@@ -21,9 +20,6 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
21
20
  * Specifies that autocomplete is on or off.
22
21
  */
23
22
  autoComplete: string;
24
- debounceTime: number;
25
- "__#33102@#valueSubscription": Subscription;
26
- "__#33102@#valueSubject": Subject<unknown>;
27
23
  /**
28
24
  * Fires each time the user press a key.
29
25
  * @event
@@ -42,31 +38,27 @@ export declare function _TextboxComponenetMixin<TBase extends Constructor<AXBase
42
38
  _emitOnKeydownEvent(e: KeyboardEvent): void;
43
39
  _emitOnKeyupEvent(e: KeyboardEvent): void;
44
40
  _emitOnKeypressEvent(e: KeyboardEvent): void;
45
- _handleModleChange(value: any): void;
46
- _settleValue(value: any): void;
47
- onInit(): void;
48
- onDestroy(): void;
49
41
  id: string;
50
42
  rtl: boolean;
51
- "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
43
+ "__#34353@#elementRef": import("@angular/core").ElementRef<any>;
52
44
  _cdr: import("@angular/core").ChangeDetectorRef;
53
45
  _isInited: boolean;
54
46
  _isRendered: boolean;
55
47
  ngOnInit(): void;
56
- ngAfterViewInit(): void; /**
57
- * Fires each time the user press a key.
58
- * @event
59
- */
48
+ ngAfterViewInit(): void;
60
49
  ngOnDestroy(): void;
61
50
  _getHostElement<T = HTMLElement>(): T;
62
51
  _getInnerElement<T_1 = HTMLElement>(): T_1;
63
52
  _onInternalInit(): void;
64
53
  _onInternalViewInit(): void;
65
54
  _onInternalDestroy(): void;
55
+ onInit(): void;
66
56
  onViewInit(): void;
57
+ onDestroy(): void;
67
58
  _onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
68
59
  _onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
69
60
  _setOption(option: import("./base-components.class").AXComponentSetOption): void;
61
+ _isRtl(): boolean;
70
62
  };
71
63
  } & TBase;
72
64
  export declare const TEXTBOX_INPUTS: string[];
@@ -10,20 +10,20 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
10
10
  */
11
11
  onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
12
12
  valueChange: EventEmitter<any>;
13
- "__#33103@#readonly": boolean;
13
+ "__#34357@#readonly": boolean;
14
14
  /**
15
15
  * If set to true, user cannot change the value of component.
16
16
  */
17
17
  readonly: boolean;
18
- "__#33103@#allowNull": boolean;
18
+ "__#34357@#allowNull": boolean;
19
19
  allowNull: boolean;
20
- "__#33103@#name": string;
20
+ "__#34357@#name": string;
21
21
  name: string;
22
- "__#33103@#isUserInteraction": boolean;
22
+ "__#34357@#isUserInteraction": boolean;
23
23
  readonly isUserInteraction: boolean;
24
- "__#33103@#value": any;
24
+ "__#34357@#value": any;
25
25
  value: any;
26
- "__#33103@#state": 'clear' | 'success' | 'error';
26
+ "__#34357@#state": 'clear' | 'success' | 'error';
27
27
  readonly state: "error" | "clear" | "success";
28
28
  _emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
29
29
  _internalSetValue(value: any): any;
@@ -39,7 +39,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
39
39
  _setState(state: 'clear' | 'success' | 'error', ...args: any[]): void;
40
40
  id: string;
41
41
  rtl: boolean;
42
- "__#33098@#elementRef": import("@angular/core").ElementRef<any>;
42
+ "__#34353@#elementRef": import("@angular/core").ElementRef<any>;
43
43
  _cdr: import("@angular/core").ChangeDetectorRef;
44
44
  _isInited: boolean;
45
45
  _isRendered: boolean;
@@ -55,6 +55,7 @@ export declare function _ValueComponenetMixin<TBase extends Constructor<AXBaseCo
55
55
  _onOptionChanging(option: import("./base-components.class").AXComponentOptionChanging): any;
56
56
  _onOptionChanged(option: import("./base-components.class").AXComponentOptionChanged): void;
57
57
  _setOption(option: import("./base-components.class").AXComponentSetOption): void;
58
+ _isRtl(): boolean;
58
59
  };
59
60
  } & TBase;
60
61
  export declare const VALUE_INPUTS: string[];
@@ -74,5 +74,5 @@ export declare class AXNumberBoxComponent extends AXBaseTextBoxMixin {
74
74
  decimalStepUp(): void;
75
75
  decimalStepDown(): void;
76
76
  static ɵfac: i0.ɵɵFactoryDeclaration<AXNumberBoxComponent, never>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXNumberBoxComponent, "ax-number-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "thousandsSeparator": "thousandsSeparator"; "padDecimalZeros": "padDecimalZeros"; "step": "step"; "decimals": "decimals"; "decimalStep": "decimalStep"; "showSpinButtons": "showSpinButtons"; "minValue": "minValue"; "maxValue": "maxValue"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
78
78
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "peerDependencies": {
5
- "@angular/common": "^14.0.0",
6
- "@angular/core": "^14.0.0",
7
- "@angular/cdk": "^14.0.1",
5
+ "@angular/common": "^14.2.2",
6
+ "@angular/core": "^14.2.2",
7
+ "@angular/cdk": "^14.2.2",
8
8
  "@splidejs/splide": "^4.0.7",
9
9
  "angular-imask": "^6.4.2",
10
10
  "imask": "^6.4.2",
@@ -232,14 +232,6 @@
232
232
  "node": "./fesm2015/acorex-components-image.mjs",
233
233
  "default": "./fesm2020/acorex-components-image.mjs"
234
234
  },
235
- "./input-mask": {
236
- "types": "./input-mask/index.d.ts",
237
- "esm2020": "./esm2020/input-mask/acorex-components-input-mask.mjs",
238
- "es2020": "./fesm2020/acorex-components-input-mask.mjs",
239
- "es2015": "./fesm2015/acorex-components-input-mask.mjs",
240
- "node": "./fesm2015/acorex-components-input-mask.mjs",
241
- "default": "./fesm2020/acorex-components-input-mask.mjs"
242
- },
243
235
  "./label": {
244
236
  "types": "./label/index.d.ts",
245
237
  "esm2020": "./esm2020/label/acorex-components-label.mjs",
@@ -21,5 +21,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
21
21
  focus(): void;
22
22
  toggleType(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
25
25
  }
@@ -62,5 +62,5 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
62
62
  search(exp: string): void;
63
63
  _fetchData(): void;
64
64
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "pageSize": "pageSize"; "valueField": "valueField"; "textField": "textField"; "items": "items"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "valueChanged": "valueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false>;
66
66
  }
@@ -9,14 +9,15 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class AXSelectionListComponent extends AXBaseSelectionValueMixin {
11
11
  /**
12
- * @ignore
13
- */
12
+ * @ignore
13
+ */
14
14
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
15
15
  /**
16
- * Defines the direction.
17
- */
16
+ * Defines the direction.
17
+ */
18
18
  direction: AXDirection;
19
19
  _handleOnItemValueChange(item: any, e: Event): void;
20
+ _handleContainerClick(item: HTMLInputElement, e: MouseEvent): void;
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "valueField": "valueField"; "textField": "textField"; "multiple": "multiple"; "items": "items"; "selectionMode": "selectionMode"; "direction": "direction"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], false>;
22
23
  }
@@ -6,7 +6,7 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
6
6
  _emitOnClickEvent(e: MouseEvent): void;
7
7
  id: string;
8
8
  rtl: boolean;
9
- "__#33098@#elementRef": ElementRef<any>;
9
+ "__#34353@#elementRef": ElementRef<any>;
10
10
  _cdr: ChangeDetectorRef;
11
11
  _isInited: boolean;
12
12
  _isRendered: boolean;
@@ -24,6 +24,7 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
24
24
  _onOptionChanging(option: import("@acorex/components/mixin").AXComponentOptionChanging): any;
25
25
  _onOptionChanged(option: AXComponentOptionChanged): void;
26
26
  _setOption(option: import("@acorex/components/mixin").AXComponentSetOption): void;
27
+ _isRtl(): boolean;
27
28
  }) & typeof AXBaseComponent;
28
29
  export declare class AXTabItemComponent extends AXBaseTabItemMixin {
29
30
  constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
@@ -10,5 +10,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
10
10
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
11
11
  focus(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix"], false>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
14
14
  }
@@ -1,3 +1,3 @@
1
- export * from './src/mask-settings.directive';
1
+ export * from './src/mask-options.directive';
2
2
  export * from './src/textbox.component';
3
3
  export * from './src/textbox.module';
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface AXMaskOptions {
3
+ mask?: string | RegExp;
4
+ unmask?: boolean;
5
+ updateValue?: (masked: string, unmasked: string) => void;
6
+ }
7
+ export declare class AXMaskOptionsDirective implements AXMaskOptions {
8
+ mask: string | RegExp;
9
+ unmask: boolean;
10
+ updateValue?: (masked: string, unmasked: string) => void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXMaskOptionsDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXMaskOptionsDirective, "ax-mask-options", never, { "mask": "mask"; "unmask": "unmask"; "updateValue": "updateValue"; }, {}, never, never, false>;
13
+ }
@@ -1,5 +1,6 @@
1
1
  import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
2
  import { AXBaseTextBoxMixin } from '@acorex/components/mixin';
3
+ import { AXMaskOptions, AXMaskOptionsDirective } from './mask-options.directive';
3
4
  import * as i0 from "@angular/core";
4
5
  /**
5
6
  * The Textbox is a component which detects user interaction and triggers a corresponding event
@@ -7,15 +8,20 @@ import * as i0 from "@angular/core";
7
8
  * @category Components
8
9
  */
9
10
  export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
10
- /**
11
- * @ignore
12
- */
11
+ protected _updateOn: 'change' | 'blur' | 'submit';
13
12
  private input;
14
13
  private _maskObj;
15
- private maskSettings;
14
+ private _maskOptions;
15
+ get maskOptions(): AXMaskOptions;
16
+ set maskOptions(v: AXMaskOptions);
17
+ protected _maskOptionsContent: AXMaskOptionsDirective;
18
+ /**
19
+ * @ignore
20
+ */
16
21
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
17
- ngAfterViewInit(): void;
22
+ onInit(): void;
18
23
  focus(): void;
24
+ private _onComplete;
19
25
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["maskSettings"], ["ax-prefix", "ax-suffix", "ax-validation-rule", "ax-input-mask"], false>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "name": "name"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "maskOptions": "mask-options"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
21
27
  }
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./textbox.component";
3
- import * as i2 from "./mask-settings.directive";
3
+ import * as i2 from "./mask-options.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@acorex/components/button";
7
- import * as i6 from "@acorex/components/decorators";
5
+ import * as i4 from "@acorex/components/common";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@acorex/components/button";
8
+ import * as i7 from "@acorex/components/decorators";
8
9
  export declare class AXTextBoxModule {
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.AXMaskSettingsDirective], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.AXButtonModule, typeof i6.AXDecoratorModule], [typeof i1.AXTextBoxComponent, typeof i2.AXMaskSettingsDirective]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXTextBoxModule, [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective], [typeof i3.CommonModule, typeof i4.AXCommonModule, typeof i5.FormsModule, typeof i6.AXButtonModule, typeof i7.AXDecoratorModule], [typeof i1.AXTextBoxComponent, typeof i2.AXMaskOptionsDirective]>;
11
12
  static ɵinj: i0.ɵɵInjectorDeclaration<AXTextBoxModule>;
12
13
  }
@@ -28,7 +28,7 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
28
28
  /**
29
29
  * @ignore
30
30
  */
31
- _maskObj: IMask.MaskedPattern;
31
+ protected _maskObj: IMask.MaskedPattern;
32
32
  private _maskDirective;
33
33
  /**
34
34
  * @ignore
@@ -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": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "debounceTime": "debounceTime"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false>;
50
50
  }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svYWNvcmV4LWNvbXBvbmVudHMtaW5wdXQtbWFzay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,3 +0,0 @@
1
- export * from './src/input-mask.component';
2
- export * from './src/input-mask.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2lucHV0LW1hc2svcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDRCQUE0QixDQUFDO0FBQzNDLGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbnB1dC1tYXNrLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vc3JjL2lucHV0LW1hc2subW9kdWxlJztcclxuIl19
@@ -1,58 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
2
- import IMask from 'imask';
3
- import { AXBaseComponent } from '@acorex/components/mixin';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@acorex/components/textbox";
6
- export class AXInputMaskComponent extends AXBaseComponent {
7
- /**
8
- * @ignore
9
- */
10
- constructor(_elementRef, _cdr, _textbox) {
11
- super(_elementRef, _cdr);
12
- this._elementRef = _elementRef;
13
- this._textbox = _textbox;
14
- this.showMaskTyped = false;
15
- this.clearIfNotMatch = false;
16
- }
17
- onViewInit() {
18
- //@ts-ignore
19
- //TODO: check ts error
20
- this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
21
- mask: this.mask
22
- });
23
- }
24
- get prefix() {
25
- return this._prefix || '';
26
- }
27
- set prefix(v) {
28
- this._prefix = v;
29
- }
30
- get suffix() {
31
- return this._suffix || '';
32
- }
33
- set suffix(v) {
34
- this._suffix = v;
35
- }
36
- }
37
- AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
38
- AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
40
- type: Component,
41
- args: [{
42
- selector: 'ax-input-mask',
43
- template: '',
44
- changeDetection: ChangeDetectionStrategy.OnPush,
45
- encapsulation: ViewEncapsulation.None,
46
- }]
47
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
48
- type: Input
49
- }], suffix: [{
50
- type: Input
51
- }], showMaskTyped: [{
52
- type: Input
53
- }], clearIfNotMatch: [{
54
- type: Input
55
- }], mask: [{
56
- type: Input
57
- }] } });
58
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdX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LCB7XHJcbiAgICAgICAgICAgIG1hc2s6IHRoaXMubWFzayBcclxuICAgICAgICB9KVxyXG4gICAgfVxyXG5cclxuXHJcblxyXG4gICAgcHJpdmF0ZSBfcHJlZml4OiBzdHJpbmc7XHJcbiAgICBASW5wdXQoKVxyXG4gICAgcHVibGljIGdldCBwcmVmaXgoKTogc3RyaW5nIHtcclxuICAgICAgICByZXR1cm4gdGhpcy5fcHJlZml4IHx8ICcnO1xyXG4gICAgfVxyXG4gICAgcHVibGljIHNldCBwcmVmaXgodjogc3RyaW5nKSB7XHJcbiAgICAgICAgdGhpcy5fcHJlZml4ID0gdjtcclxuICAgIH1cclxuXHJcblxyXG5cclxuICAgIHByaXZhdGUgX3N1ZmZpeDogc3RyaW5nO1xyXG4gICAgQElucHV0KClcclxuICAgIHB1YmxpYyBnZXQgc3VmZml4KCk6IHN0cmluZyB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuX3N1ZmZpeCB8fCAnJztcclxuICAgIH1cclxuICAgIHB1YmxpYyBzZXQgc3VmZml4KHY6IHN0cmluZykge1xyXG4gICAgICAgIHRoaXMuX3N1ZmZpeCA9IHY7XHJcbiAgICB9XHJcblxyXG5cclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgc2hvd01hc2tUeXBlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBjbGVhcklmTm90TWF0Y2g6IGJvb2xlYW4gPSBmYWxzZTtcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgbWFzazogYW55O1xyXG5cclxufVxyXG4iXX0=
@@ -1,24 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { AXInputMaskComponent } from './input-mask.component';
4
- import { NgxMaskModule } from 'ngx-mask';
5
- import { IMaskModule } from 'angular-imask';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "ngx-mask";
8
- const COMPONENT = [AXInputMaskComponent];
9
- const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
10
- export class AXInputMaskModule {
11
- }
12
- AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
- AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
14
- AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
16
- type: NgModule,
17
- args: [{
18
- declarations: [...COMPONENT],
19
- imports: [...MODULES],
20
- exports: [...COMPONENT],
21
- providers: [],
22
- }]
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtbWFzay5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9pbnB1dC1tYXNrL3NyYy9pbnB1dC1tYXNrLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM5RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sVUFBVSxDQUFDO0F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tDb21tb25Nb2R1bGUsIE5neE1hc2tNb2R1bGUuZm9yUm9vdCgpLElNYXNrTW9kdWxlXTtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgICBkZWNsYXJhdGlvbnM6IFsuLi5DT01QT05FTlRdLFxyXG4gICAgaW1wb3J0czogWy4uLk1PRFVMRVNdLFxyXG4gICAgZXhwb3J0czogWy4uLkNPTVBPTkVOVF0sXHJcbiAgICBwcm92aWRlcnM6IFtdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhJbnB1dE1hc2tNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -1,23 +0,0 @@
1
- import { Directive, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class AXMaskSettingsDirective {
4
- constructor() {
5
- this.showMaskTyped = false;
6
- this.clearIfNotMatch = false;
7
- }
8
- }
9
- AXMaskSettingsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXMaskSettingsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
10
- AXMaskSettingsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.2", type: AXMaskSettingsDirective, selector: "ax-mask-settings", inputs: { mask: "mask", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch" }, ngImport: i0 });
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXMaskSettingsDirective, decorators: [{
12
- type: Directive,
13
- args: [{
14
- selector: 'ax-mask-settings',
15
- }]
16
- }], propDecorators: { mask: [{
17
- type: Input
18
- }], showMaskTyped: [{
19
- type: Input
20
- }], clearIfNotMatch: [{
21
- type: Input
22
- }] } });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay1zZXR0aW5ncy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy90ZXh0Ym94L3NyYy9tYXNrLXNldHRpbmdzLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLakQsTUFBTSxPQUFPLHVCQUF1QjtJQUhwQztRQVNJLGtCQUFhLEdBQVksS0FBSyxDQUFDO1FBRy9CLG9CQUFlLEdBQVksS0FBSyxDQUFDO0tBQ3BDOztvSEFWWSx1QkFBdUI7d0dBQXZCLHVCQUF1QjsyRkFBdkIsdUJBQXVCO2tCQUhuQyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxrQkFBa0I7aUJBQy9COzhCQUlHLElBQUk7c0JBREgsS0FBSztnQkFJTixhQUFhO3NCQURaLEtBQUs7Z0JBSU4sZUFBZTtzQkFEZCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlLCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgICBzZWxlY3RvcjogJ2F4LW1hc2stc2V0dGluZ3MnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQVhNYXNrU2V0dGluZ3NEaXJlY3RpdmUgeyBcclxuICAgIFxyXG4gICAgQElucHV0KClcclxuICAgIG1hc2s6IHN0cmluZztcclxuXHJcbiAgICBASW5wdXQoKVxyXG4gICAgc2hvd01hc2tUeXBlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICAgIEBJbnB1dCgpXHJcbiAgICBjbGVhcklmTm90TWF0Y2g6IGJvb2xlYW4gPSBmYWxzZTtcclxufSJdfQ==
@@ -1,86 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, NgModule } from '@angular/core';
3
- import IMask from 'imask';
4
- import { AXBaseComponent } from '@acorex/components/mixin';
5
- import * as i1 from '@acorex/components/textbox';
6
- import { CommonModule } from '@angular/common';
7
- import * as i1$1 from 'ngx-mask';
8
- import { NgxMaskModule } from 'ngx-mask';
9
- import { IMaskModule } from 'angular-imask';
10
-
11
- class AXInputMaskComponent extends AXBaseComponent {
12
- /**
13
- * @ignore
14
- */
15
- constructor(_elementRef, _cdr, _textbox) {
16
- super(_elementRef, _cdr);
17
- this._elementRef = _elementRef;
18
- this._textbox = _textbox;
19
- this.showMaskTyped = false;
20
- this.clearIfNotMatch = false;
21
- }
22
- onViewInit() {
23
- //@ts-ignore
24
- //TODO: check ts error
25
- this._maskObj = IMask(this._textbox._getHostElement().querySelector('input'), {
26
- mask: this.mask
27
- });
28
- }
29
- get prefix() {
30
- return this._prefix || '';
31
- }
32
- set prefix(v) {
33
- this._prefix = v;
34
- }
35
- get suffix() {
36
- return this._suffix || '';
37
- }
38
- set suffix(v) {
39
- this._suffix = v;
40
- }
41
- }
42
- AXInputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.AXTextBoxComponent }], target: i0.ɵɵFactoryTarget.Component });
43
- AXInputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.2", type: AXInputMaskComponent, selector: "ax-input-mask", inputs: { prefix: "prefix", suffix: "suffix", showMaskTyped: "showMaskTyped", clearIfNotMatch: "clearIfNotMatch", mask: "mask" }, usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskComponent, decorators: [{
45
- type: Component,
46
- args: [{
47
- selector: 'ax-input-mask',
48
- template: '',
49
- changeDetection: ChangeDetectionStrategy.OnPush,
50
- encapsulation: ViewEncapsulation.None,
51
- }]
52
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.AXTextBoxComponent }]; }, propDecorators: { prefix: [{
53
- type: Input
54
- }], suffix: [{
55
- type: Input
56
- }], showMaskTyped: [{
57
- type: Input
58
- }], clearIfNotMatch: [{
59
- type: Input
60
- }], mask: [{
61
- type: Input
62
- }] } });
63
-
64
- const COMPONENT = [AXInputMaskComponent];
65
- const MODULES = [CommonModule, NgxMaskModule.forRoot(), IMaskModule];
66
- class AXInputMaskModule {
67
- }
68
- AXInputMaskModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
69
- AXInputMaskModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, declarations: [AXInputMaskComponent], imports: [CommonModule, i1$1.NgxMaskModule, IMaskModule], exports: [AXInputMaskComponent] });
70
- AXInputMaskModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, imports: [MODULES] });
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.2", ngImport: i0, type: AXInputMaskModule, decorators: [{
72
- type: NgModule,
73
- args: [{
74
- declarations: [...COMPONENT],
75
- imports: [...MODULES],
76
- exports: [...COMPONENT],
77
- providers: [],
78
- }]
79
- }] });
80
-
81
- /**
82
- * Generated bundle index. Do not edit.
83
- */
84
-
85
- export { AXInputMaskComponent, AXInputMaskModule };
86
- //# sourceMappingURL=acorex-components-input-mask.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"acorex-components-input-mask.mjs","sources":["../../../../projects/acorex/components/input-mask/src/input-mask.component.ts","../../../../projects/acorex/components/input-mask/src/input-mask.module.ts","../../../../projects/acorex/components/input-mask/acorex-components-input-mask.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, ChangeDetectorRef, ElementRef } from '@angular/core';\r\nimport IMask from 'imask';\r\nimport { AnyMaskedOptions } from 'imask';\r\nimport { AXTextBoxComponent } from '@acorex/components/textbox';\r\nimport { AXBaseComponent } from '@acorex/components/mixin';\r\n\r\n@Component({\r\n selector: 'ax-input-mask',\r\n template: '',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AXInputMaskComponent extends AXBaseComponent {\r\n\r\n\r\n private _maskObj: IMask.InputMask<AnyMaskedOptions>\r\n\r\n /**\r\n * @ignore\r\n */\r\n constructor(\r\n private _elementRef: ElementRef,\r\n _cdr: ChangeDetectorRef,\r\n private _textbox: AXTextBoxComponent\r\n ) {\r\n super(_elementRef, _cdr);\r\n }\r\n\r\n onViewInit(): void {\r\n //@ts-ignore \r\n //TODO: check ts error\r\n this._maskObj = IMask((this._textbox._getHostElement().querySelector('input') as any), {\r\n mask: this.mask \r\n })\r\n }\r\n\r\n\r\n\r\n private _prefix: string;\r\n @Input()\r\n public get prefix(): string {\r\n return this._prefix || '';\r\n }\r\n public set prefix(v: string) {\r\n this._prefix = v;\r\n }\r\n\r\n\r\n\r\n private _suffix: string;\r\n @Input()\r\n public get suffix(): string {\r\n return this._suffix || '';\r\n }\r\n public set suffix(v: string) {\r\n this._suffix = v;\r\n }\r\n\r\n\r\n\r\n @Input()\r\n showMaskTyped: boolean = false;\r\n\r\n @Input()\r\n clearIfNotMatch: boolean = false;\r\n\r\n @Input()\r\n mask: any;\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AXInputMaskComponent } from './input-mask.component';\r\nimport { NgxMaskModule } from 'ngx-mask';\r\nimport {IMaskModule} from 'angular-imask';\r\n\r\nconst COMPONENT = [AXInputMaskComponent];\r\nconst MODULES = [CommonModule, NgxMaskModule.forRoot(),IMaskModule];\r\n\r\n@NgModule({\r\n declarations: [...COMPONENT],\r\n imports: [...MODULES],\r\n exports: [...COMPONENT],\r\n providers: [],\r\n})\r\nexport class AXInputMaskModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAYM,MAAO,oBAAqB,SAAQ,eAAe,CAAA;AAKrD;;AAEE;AACF,IAAA,WAAA,CACY,WAAuB,EAC/B,IAAuB,EACf,QAA4B,EAAA;AAEpC,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;AAJjB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;AAEvB,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAoB;AAsCxC,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK,CAAC;AAG/B,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;KAtChC;IAED,UAAU,GAAA;;;AAGN,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAE,IAAI,CAAC,QAAQ,CAAC,eAAe,EAAE,CAAC,aAAa,CAAC,OAAO,CAAS,EAAE;YACnF,IAAI,EAAE,IAAI,CAAC,IAAI;AAClB,SAAA,CAAC,CAAA;KACL;AAKD,IAAA,IACW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;KAC7B;IACD,IAAW,MAAM,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;KACpB;AAKD,IAAA,IACW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;KAC7B;IACD,IAAW,MAAM,CAAC,CAAS,EAAA;AACvB,QAAA,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC;KACpB;;iHA5CQ,oBAAoB,EAAA,I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