@acorex/components 16.0.2 → 17.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1254) hide show
  1. package/action-sheet/README.md +3 -0
  2. package/action-sheet/index.d.ts +4 -0
  3. package/action-sheet/lib/action-sheet.class.d.ts +31 -0
  4. package/action-sheet/lib/action-sheet.component.d.ts +23 -0
  5. package/action-sheet/lib/action-sheet.module.d.ts +16 -0
  6. package/action-sheet/lib/action-sheet.service.d.ts +13 -0
  7. package/alert/README.md +3 -0
  8. package/alert/index.d.ts +2 -0
  9. package/alert/lib/alert.component.d.ts +55 -0
  10. package/alert/lib/alert.module.d.ts +9 -0
  11. package/avatar/README.md +3 -0
  12. package/avatar/index.d.ts +3 -0
  13. package/avatar/lib/avatar-group.component.d.ts +5 -0
  14. package/avatar/lib/avatar.component.d.ts +17 -0
  15. package/avatar/lib/avatar.module.d.ts +9 -0
  16. package/badge/README.md +3 -0
  17. package/badge/index.d.ts +2 -0
  18. package/badge/lib/badge.component.d.ts +8 -0
  19. package/badge/lib/badge.module.d.ts +8 -0
  20. package/bottom-navigation/README.md +3 -0
  21. package/bottom-navigation/index.d.ts +3 -0
  22. package/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.d.ts +15 -0
  23. package/bottom-navigation/lib/bottom-navigation.component.d.ts +17 -0
  24. package/bottom-navigation/lib/bottom-navigation.module.d.ts +9 -0
  25. package/breadcrumbs/README.md +3 -0
  26. package/breadcrumbs/index.d.ts +4 -0
  27. package/breadcrumbs/lib/breadcrumbs-item.class.d.ts +9 -0
  28. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +14 -0
  29. package/breadcrumbs/lib/breadcrumbs.component.d.ts +9 -0
  30. package/breadcrumbs/lib/breadcrumbs.module.d.ts +10 -0
  31. package/button/README.md +3 -0
  32. package/button/index.d.ts +5 -0
  33. package/button/lib/button-item-list.component.d.ts +19 -0
  34. package/button/lib/button-item.class.d.ts +24 -0
  35. package/button/lib/button-item.component.d.ts +30 -0
  36. package/button/lib/button.component.d.ts +26 -0
  37. package/button/lib/button.module.d.ts +13 -0
  38. package/button-group/README.md +3 -0
  39. package/button-group/index.d.ts +2 -0
  40. package/button-group/lib/button-group.component.d.ts +24 -0
  41. package/button-group/lib/button-group.module.d.ts +8 -0
  42. package/calendar/README.md +3 -0
  43. package/calendar/index.d.ts +4 -0
  44. package/calendar/lib/calendar-range.component.d.ts +31 -0
  45. package/calendar/lib/calendar.class.d.ts +80 -0
  46. package/calendar/lib/calendar.component.d.ts +51 -0
  47. package/calendar/lib/calendar.module.d.ts +11 -0
  48. package/chat/README.md +3 -0
  49. package/chat/index.d.ts +13 -0
  50. package/chat/lib/chat-input/chat-input.component.d.ts +35 -0
  51. package/chat/lib/chat-input/chat-input.interface.d.ts +10 -0
  52. package/chat/lib/chat-message/chat-message.component.d.ts +12 -0
  53. package/chat/lib/chat-messages/chat-message-audio.component.d.ts +7 -0
  54. package/chat/lib/chat-messages/chat-message-text.component.d.ts +8 -0
  55. package/chat/lib/chat-view/chat-view.component.d.ts +10 -0
  56. package/chat/lib/chat-voice/chat-voice.component.d.ts +6 -0
  57. package/chat/lib/chat.module.d.ts +29 -0
  58. package/chat/lib/chat.types.d.ts +21 -0
  59. package/chat/lib/classes/events.interface.d.ts +4 -0
  60. package/chat/lib/services/chat-message-type-registry.service.d.ts +9 -0
  61. package/chat/lib/services/chat.service.d.ts +5 -0
  62. package/chat/lib/services/recording.service.d.ts +20 -0
  63. package/check-box/README.md +3 -0
  64. package/check-box/index.d.ts +2 -0
  65. package/check-box/lib/check-box.component.d.ts +16 -0
  66. package/check-box/lib/check-box.module.d.ts +10 -0
  67. package/chips/README.md +3 -0
  68. package/chips/index.d.ts +2 -0
  69. package/chips/lib/chips.component.d.ts +11 -0
  70. package/chips/lib/chips.module.d.ts +8 -0
  71. package/circular-progress/README.md +3 -0
  72. package/circular-progress/index.d.ts +2 -0
  73. package/circular-progress/lib/circular-progress.component.d.ts +33 -0
  74. package/circular-progress/lib/circular-progress.module.d.ts +7 -0
  75. package/collapse/README.md +3 -0
  76. package/collapse/index.d.ts +3 -0
  77. package/collapse/lib/collapse-group.component.d.ts +30 -0
  78. package/collapse/lib/collapse.component.d.ts +46 -0
  79. package/collapse/lib/collapse.module.d.ts +10 -0
  80. package/color-box/README.md +3 -0
  81. package/color-box/index.d.ts +2 -0
  82. package/color-box/lib/color-box.component.d.ts +27 -0
  83. package/color-box/lib/color-box.module.d.ts +11 -0
  84. package/color-palette/README.md +3 -0
  85. package/color-palette/index.d.ts +7 -0
  86. package/color-palette/lib/color-palette-input.component.d.ts +25 -0
  87. package/color-palette/lib/color-palette-picker.component.d.ts +35 -0
  88. package/color-palette/lib/color-palette-preview.component.d.ts +16 -0
  89. package/color-palette/lib/color-palette-swatches.component.d.ts +21 -0
  90. package/color-palette/lib/color-palette.class.d.ts +28 -0
  91. package/color-palette/lib/color-palette.component.d.ts +10 -0
  92. package/color-palette/lib/color-palette.module.d.ts +20 -0
  93. package/common/README.md +3 -0
  94. package/common/index.d.ts +28 -0
  95. package/common/lib/classes/components.class.d.ts +83 -0
  96. package/common/lib/classes/datalist.class.d.ts +37 -0
  97. package/common/lib/classes/datasource.class.d.ts +78 -0
  98. package/common/lib/classes/events.class.d.ts +96 -0
  99. package/common/lib/classes/styles.class.d.ts +8 -0
  100. package/common/lib/common.module.d.ts +10 -0
  101. package/common/lib/components/base-component.class.d.ts +38 -0
  102. package/common/lib/components/button-base-component.class.d.ts +35 -0
  103. package/common/lib/components/color-component.class.d.ts +12 -0
  104. package/common/lib/components/colorlook-component.class.d.ts +6 -0
  105. package/common/lib/components/input-base-value-component.class.d.ts +27 -0
  106. package/common/lib/components/interactive-component.class.d.ts +42 -0
  107. package/common/lib/components/look-component.class.d.ts +18 -0
  108. package/common/lib/components/selection-base.component.class.d.ts +48 -0
  109. package/common/lib/components/value-component.class.d.ts +67 -0
  110. package/common/lib/directives/auto-focus.directive.d.ts +15 -0
  111. package/common/lib/directives/delayed-value-changed.directive.d.ts +17 -0
  112. package/common/lib/directives/hotkey.directive.d.ts +22 -0
  113. package/common/lib/directives/infinite-scroll.directive.d.ts +25 -0
  114. package/common/lib/directives/responsive.directive.d.ts +10 -0
  115. package/common/lib/directives/ripple.directive.d.ts +16 -0
  116. package/common/lib/services/dom.service.d.ts +6 -0
  117. package/common/lib/services/hotkey.service.d.ts +31 -0
  118. package/common/lib/types/direction.d.ts +4 -0
  119. package/common/lib/types/orientation.d.ts +4 -0
  120. package/common/lib/types/placement.d.ts +30 -0
  121. package/common/lib/types/range.d.ts +4 -0
  122. package/common/lib/types/selection-mode.d.ts +4 -0
  123. package/data-pager/README.md +3 -0
  124. package/data-pager/index.d.ts +9 -0
  125. package/data-pager/lib/data-pager-base.component.d.ts +54 -0
  126. package/data-pager/lib/data-pager-info.component.d.ts +11 -0
  127. package/data-pager/lib/data-pager-input-selector.component.d.ts +11 -0
  128. package/data-pager/lib/data-pager-next-buttons.components.d.ts +10 -0
  129. package/data-pager/lib/data-pager-numeric-selector.component.d.ts +13 -0
  130. package/data-pager/lib/data-pager-pagesize-dropdown.component.d.ts +14 -0
  131. package/data-pager/lib/data-pager-prev-buttons.component.d.ts +10 -0
  132. package/data-pager/lib/data-pager.component.d.ts +34 -0
  133. package/data-pager/lib/data-pager.module.d.ts +21 -0
  134. package/data-table/README.md +3 -0
  135. package/data-table/index.d.ts +10 -0
  136. package/data-table/lib/base-data-table.class.d.ts +25 -0
  137. package/data-table/lib/columns/data-table-column-resizable.directive.d.ts +22 -0
  138. package/data-table/lib/columns/data-table-column.d.ts +20 -0
  139. package/data-table/lib/columns/data-text-column.component.d.ts +18 -0
  140. package/data-table/lib/columns/row-command-column.component.d.ts +40 -0
  141. package/data-table/lib/columns/row-index-column.component.d.ts +18 -0
  142. package/data-table/lib/columns/row-select-column.component.d.ts +14 -0
  143. package/data-table/lib/data-table/data-table.component.d.ts +52 -0
  144. package/data-table/lib/data-table.module.d.ts +26 -0
  145. package/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.d.ts +66 -0
  146. package/datetime-box/README.md +3 -0
  147. package/datetime-box/index.d.ts +2 -0
  148. package/datetime-box/lib/datetime-box.component.d.ts +36 -0
  149. package/datetime-box/lib/datetime-box.module.d.ts +13 -0
  150. package/datetime-input/README.md +3 -0
  151. package/datetime-input/index.d.ts +2 -0
  152. package/datetime-input/lib/datetime-input.component.d.ts +45 -0
  153. package/datetime-input/lib/datetime-input.module.d.ts +10 -0
  154. package/datetime-picker/README.md +3 -0
  155. package/datetime-picker/index.d.ts +3 -0
  156. package/datetime-picker/lib/datetime-picker.component.d.ts +49 -0
  157. package/datetime-picker/lib/datetime-picker.config.d.ts +8 -0
  158. package/datetime-picker/lib/datetime-picker.module.d.ts +15 -0
  159. package/decorators/README.md +3 -0
  160. package/decorators/index.d.ts +5 -0
  161. package/decorators/lib/components/clear-button.component.d.ts +13 -0
  162. package/decorators/lib/components/close-button.component.d.ts +12 -0
  163. package/decorators/lib/components/generic-content.component.d.ts +6 -0
  164. package/decorators/lib/components/icon.component.d.ts +8 -0
  165. package/decorators/lib/decorators.module.d.ts +11 -0
  166. package/dialog/README.md +3 -0
  167. package/dialog/index.d.ts +4 -0
  168. package/dialog/lib/dialog.class.d.ts +36 -0
  169. package/dialog/lib/dialog.component.d.ts +19 -0
  170. package/dialog/lib/dialog.module.d.ts +16 -0
  171. package/dialog/lib/dialog.service.d.ts +31 -0
  172. package/drawer/README.md +3 -0
  173. package/drawer/index.d.ts +3 -0
  174. package/drawer/lib/drawer-container.component.d.ts +7 -0
  175. package/drawer/lib/drawer.component.d.ts +39 -0
  176. package/drawer/lib/drawer.module.d.ts +9 -0
  177. package/dropdown/README.md +3 -0
  178. package/dropdown/index.d.ts +4 -0
  179. package/dropdown/lib/dropdown-box.class.d.ts +15 -0
  180. package/dropdown/lib/dropdown-box.component.d.ts +30 -0
  181. package/dropdown/lib/dropdown-panel.component.d.ts +33 -0
  182. package/dropdown/lib/dropdown.module.d.ts +14 -0
  183. package/dropdown-button/README.md +3 -0
  184. package/dropdown-button/index.d.ts +2 -0
  185. package/dropdown-button/lib/dropdown-button.component.d.ts +28 -0
  186. package/dropdown-button/lib/dropdown-button.module.d.ts +13 -0
  187. package/esm2022/action-sheet/acorex-components-action-sheet.mjs +5 -0
  188. package/esm2022/action-sheet/index.mjs +5 -0
  189. package/esm2022/action-sheet/lib/action-sheet.class.mjs +2 -0
  190. package/esm2022/action-sheet/lib/action-sheet.component.mjs +98 -0
  191. package/esm2022/action-sheet/lib/action-sheet.module.mjs +54 -0
  192. package/esm2022/action-sheet/lib/action-sheet.service.mjs +57 -0
  193. package/esm2022/alert/acorex-components-alert.mjs +5 -0
  194. package/esm2022/alert/index.mjs +3 -0
  195. package/esm2022/alert/lib/alert.component.mjs +195 -0
  196. package/esm2022/alert/lib/alert.module.mjs +22 -0
  197. package/esm2022/avatar/acorex-components-avatar.mjs +5 -0
  198. package/esm2022/avatar/index.mjs +4 -0
  199. package/esm2022/avatar/lib/avatar-group.component.mjs +14 -0
  200. package/esm2022/avatar/lib/avatar.component.mjs +41 -0
  201. package/esm2022/avatar/lib/avatar.module.mjs +22 -0
  202. package/esm2022/badge/acorex-components-badge.mjs +5 -0
  203. package/esm2022/badge/index.mjs +3 -0
  204. package/esm2022/badge/lib/badge.component.mjs +24 -0
  205. package/esm2022/badge/lib/badge.module.mjs +19 -0
  206. package/esm2022/bottom-navigation/acorex-components-bottom-navigation.mjs +5 -0
  207. package/esm2022/bottom-navigation/index.mjs +4 -0
  208. package/esm2022/bottom-navigation/lib/bottom-navigation-item/bottom-navigation-item.component.mjs +46 -0
  209. package/esm2022/bottom-navigation/lib/bottom-navigation.component.mjs +49 -0
  210. package/esm2022/bottom-navigation/lib/bottom-navigation.module.mjs +27 -0
  211. package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
  212. package/esm2022/breadcrumbs/index.mjs +5 -0
  213. package/esm2022/breadcrumbs/lib/breadcrumbs-item.class.mjs +2 -0
  214. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +36 -0
  215. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +19 -0
  216. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +21 -0
  217. package/esm2022/button/acorex-components-button.mjs +5 -0
  218. package/esm2022/button/index.mjs +6 -0
  219. package/esm2022/button/lib/button-item-list.component.mjs +114 -0
  220. package/esm2022/button/lib/button-item.class.mjs +2 -0
  221. package/esm2022/button/lib/button-item.component.mjs +106 -0
  222. package/esm2022/button/lib/button.component.mjs +98 -0
  223. package/esm2022/button/lib/button.module.mjs +47 -0
  224. package/esm2022/button-group/acorex-components-button-group.mjs +5 -0
  225. package/esm2022/button-group/index.mjs +3 -0
  226. package/esm2022/button-group/lib/button-group.component.mjs +118 -0
  227. package/esm2022/button-group/lib/button-group.module.mjs +21 -0
  228. package/esm2022/calendar/acorex-components-calendar.mjs +5 -0
  229. package/esm2022/calendar/index.mjs +5 -0
  230. package/esm2022/calendar/lib/calendar-range.component.mjs +175 -0
  231. package/esm2022/calendar/lib/calendar.class.mjs +176 -0
  232. package/esm2022/calendar/lib/calendar.component.mjs +477 -0
  233. package/esm2022/calendar/lib/calendar.module.mjs +24 -0
  234. package/esm2022/chat/acorex-components-chat.mjs +5 -0
  235. package/esm2022/chat/index.mjs +15 -0
  236. package/esm2022/chat/lib/chat-input/chat-input.component.mjs +125 -0
  237. package/esm2022/chat/lib/chat-input/chat-input.interface.mjs +2 -0
  238. package/esm2022/chat/lib/chat-message/chat-message.component.mjs +30 -0
  239. package/esm2022/chat/lib/chat-messages/chat-message-audio.component.mjs +17 -0
  240. package/esm2022/chat/lib/chat-messages/chat-message-text.component.mjs +23 -0
  241. package/esm2022/chat/lib/chat-view/chat-view.component.mjs +22 -0
  242. package/esm2022/chat/lib/chat-voice/chat-voice.component.mjs +12 -0
  243. package/esm2022/chat/lib/chat.module.mjs +125 -0
  244. package/esm2022/chat/lib/chat.types.mjs +10 -0
  245. package/esm2022/chat/lib/classes/events.interface.mjs +2 -0
  246. package/esm2022/chat/lib/services/chat-message-type-registry.service.mjs +20 -0
  247. package/esm2022/chat/lib/services/chat.service.mjs +10 -0
  248. package/esm2022/chat/lib/services/recording.service.mjs +78 -0
  249. package/esm2022/check-box/acorex-components-check-box.mjs +5 -0
  250. package/esm2022/check-box/index.mjs +3 -0
  251. package/esm2022/check-box/lib/check-box.component.mjs +100 -0
  252. package/esm2022/check-box/lib/check-box.module.mjs +21 -0
  253. package/esm2022/chips/acorex-components-chips.mjs +5 -0
  254. package/esm2022/chips/index.mjs +3 -0
  255. package/esm2022/chips/lib/chips.component.mjs +28 -0
  256. package/esm2022/chips/lib/chips.module.mjs +19 -0
  257. package/esm2022/circular-progress/acorex-components-circular-progress.mjs +5 -0
  258. package/esm2022/circular-progress/index.mjs +3 -0
  259. package/esm2022/circular-progress/lib/circular-progress.component.mjs +96 -0
  260. package/esm2022/circular-progress/lib/circular-progress.module.mjs +17 -0
  261. package/esm2022/collapse/acorex-components-collapse.mjs +5 -0
  262. package/esm2022/collapse/index.mjs +4 -0
  263. package/esm2022/collapse/lib/collapse-group.component.mjs +131 -0
  264. package/esm2022/collapse/lib/collapse.component.mjs +146 -0
  265. package/esm2022/collapse/lib/collapse.module.mjs +21 -0
  266. package/esm2022/color-box/acorex-components-color-box.mjs +5 -0
  267. package/esm2022/color-box/index.mjs +3 -0
  268. package/esm2022/color-box/lib/color-box.component.mjs +71 -0
  269. package/esm2022/color-box/lib/color-box.module.mjs +32 -0
  270. package/esm2022/color-palette/acorex-components-color-palette.mjs +5 -0
  271. package/esm2022/color-palette/index.mjs +8 -0
  272. package/esm2022/color-palette/lib/color-palette-input.component.mjs +127 -0
  273. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +175 -0
  274. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +71 -0
  275. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +95 -0
  276. package/esm2022/color-palette/lib/color-palette.class.mjs +238 -0
  277. package/esm2022/color-palette/lib/color-palette.component.mjs +66 -0
  278. package/esm2022/color-palette/lib/color-palette.module.mjs +63 -0
  279. package/esm2022/common/acorex-components-common.mjs +5 -0
  280. package/esm2022/common/index.mjs +29 -0
  281. package/esm2022/common/lib/classes/components.class.mjs +76 -0
  282. package/esm2022/common/lib/classes/datalist.class.mjs +50 -0
  283. package/esm2022/common/lib/classes/datasource.class.mjs +133 -0
  284. package/esm2022/common/lib/classes/events.class.mjs +79 -0
  285. package/esm2022/common/lib/classes/styles.class.mjs +20 -0
  286. package/esm2022/common/lib/common.module.mjs +38 -0
  287. package/esm2022/common/lib/components/base-component.class.mjs +81 -0
  288. package/esm2022/common/lib/components/button-base-component.class.mjs +67 -0
  289. package/esm2022/common/lib/components/color-component.class.mjs +25 -0
  290. package/esm2022/common/lib/components/colorlook-component.class.mjs +6 -0
  291. package/esm2022/common/lib/components/input-base-value-component.class.mjs +47 -0
  292. package/esm2022/common/lib/components/interactive-component.class.mjs +107 -0
  293. package/esm2022/common/lib/components/look-component.class.mjs +33 -0
  294. package/esm2022/common/lib/components/selection-base.component.class.mjs +196 -0
  295. package/esm2022/common/lib/components/value-component.class.mjs +223 -0
  296. package/esm2022/common/lib/directives/auto-focus.directive.mjs +66 -0
  297. package/esm2022/common/lib/directives/delayed-value-changed.directive.mjs +51 -0
  298. package/esm2022/common/lib/directives/hotkey.directive.mjs +81 -0
  299. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +61 -0
  300. package/esm2022/common/lib/directives/responsive.directive.mjs +42 -0
  301. package/esm2022/common/lib/directives/ripple.directive.mjs +62 -0
  302. package/esm2022/common/lib/services/dom.service.mjs +16 -0
  303. package/esm2022/common/lib/services/hotkey.service.mjs +53 -0
  304. package/esm2022/common/lib/types/direction.mjs +2 -0
  305. package/esm2022/common/lib/types/orientation.mjs +2 -0
  306. package/esm2022/common/lib/types/placement.mjs +180 -0
  307. package/esm2022/common/lib/types/range.mjs +2 -0
  308. package/esm2022/common/lib/types/selection-mode.mjs +5 -0
  309. package/esm2022/data-pager/acorex-components-data-pager.mjs +5 -0
  310. package/esm2022/data-pager/index.mjs +10 -0
  311. package/esm2022/data-pager/lib/data-pager-base.component.mjs +50 -0
  312. package/esm2022/data-pager/lib/data-pager-info.component.mjs +47 -0
  313. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +73 -0
  314. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +61 -0
  315. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +129 -0
  316. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +109 -0
  317. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +97 -0
  318. package/esm2022/data-pager/lib/data-pager.component.mjs +170 -0
  319. package/esm2022/data-pager/lib/data-pager.module.mjs +70 -0
  320. package/esm2022/data-table/acorex-components-data-table.mjs +5 -0
  321. package/esm2022/data-table/index.mjs +11 -0
  322. package/esm2022/data-table/lib/base-data-table.class.mjs +36 -0
  323. package/esm2022/data-table/lib/columns/data-table-column-resizable.directive.mjs +59 -0
  324. package/esm2022/data-table/lib/columns/data-table-column.mjs +38 -0
  325. package/esm2022/data-table/lib/columns/data-text-column.component.mjs +81 -0
  326. package/esm2022/data-table/lib/columns/row-command-column.component.mjs +231 -0
  327. package/esm2022/data-table/lib/columns/row-index-column.component.mjs +71 -0
  328. package/esm2022/data-table/lib/columns/row-select-column.component.mjs +61 -0
  329. package/esm2022/data-table/lib/data-table/data-table.component.mjs +233 -0
  330. package/esm2022/data-table/lib/data-table.module.mjs +107 -0
  331. package/esm2022/data-table/lib/infinite-scroll-data-table/infinite-scroll-data-table.component.mjs +272 -0
  332. package/esm2022/datetime-box/acorex-components-datetime-box.mjs +5 -0
  333. package/esm2022/datetime-box/index.mjs +3 -0
  334. package/esm2022/datetime-box/lib/datetime-box.component.mjs +110 -0
  335. package/esm2022/datetime-box/lib/datetime-box.module.mjs +38 -0
  336. package/esm2022/datetime-input/acorex-components-datetime-input.mjs +5 -0
  337. package/esm2022/datetime-input/index.mjs +3 -0
  338. package/esm2022/datetime-input/lib/datetime-input.component.mjs +553 -0
  339. package/esm2022/datetime-input/lib/datetime-input.module.mjs +23 -0
  340. package/esm2022/datetime-picker/acorex-components-datetime-picker.mjs +5 -0
  341. package/esm2022/datetime-picker/index.mjs +4 -0
  342. package/esm2022/datetime-picker/lib/datetime-picker.component.mjs +266 -0
  343. package/esm2022/datetime-picker/lib/datetime-picker.config.mjs +22 -0
  344. package/esm2022/datetime-picker/lib/datetime-picker.module.mjs +44 -0
  345. package/esm2022/decorators/acorex-components-decorators.mjs +5 -0
  346. package/esm2022/decorators/index.mjs +6 -0
  347. package/esm2022/decorators/lib/components/clear-button.component.mjs +70 -0
  348. package/esm2022/decorators/lib/components/close-button.component.mjs +52 -0
  349. package/esm2022/decorators/lib/components/generic-content.component.mjs +38 -0
  350. package/esm2022/decorators/lib/components/icon.component.mjs +25 -0
  351. package/esm2022/decorators/lib/decorators.module.mjs +35 -0
  352. package/esm2022/dialog/acorex-components-dialog.mjs +5 -0
  353. package/esm2022/dialog/index.mjs +5 -0
  354. package/esm2022/dialog/lib/dialog.class.mjs +2 -0
  355. package/esm2022/dialog/lib/dialog.component.mjs +62 -0
  356. package/esm2022/dialog/lib/dialog.module.mjs +48 -0
  357. package/esm2022/dialog/lib/dialog.service.mjs +164 -0
  358. package/esm2022/drawer/acorex-components-drawer.mjs +5 -0
  359. package/esm2022/drawer/index.mjs +4 -0
  360. package/esm2022/drawer/lib/drawer-container.component.mjs +33 -0
  361. package/esm2022/drawer/lib/drawer.component.mjs +151 -0
  362. package/esm2022/drawer/lib/drawer.module.mjs +22 -0
  363. package/esm2022/dropdown/acorex-components-dropdown.mjs +5 -0
  364. package/esm2022/dropdown/index.mjs +5 -0
  365. package/esm2022/dropdown/lib/dropdown-box.class.mjs +38 -0
  366. package/esm2022/dropdown/lib/dropdown-box.component.mjs +103 -0
  367. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +145 -0
  368. package/esm2022/dropdown/lib/dropdown.module.mjs +42 -0
  369. package/esm2022/dropdown-button/acorex-components-dropdown-button.mjs +5 -0
  370. package/esm2022/dropdown-button/index.mjs +3 -0
  371. package/esm2022/dropdown-button/lib/dropdown-button.component.mjs +97 -0
  372. package/esm2022/dropdown-button/lib/dropdown-button.module.mjs +45 -0
  373. package/esm2022/form/acorex-components-form.mjs +5 -0
  374. package/esm2022/form/index.mjs +7 -0
  375. package/esm2022/form/lib/form-field.component.mjs +40 -0
  376. package/esm2022/form/lib/form.component.mjs +122 -0
  377. package/esm2022/form/lib/form.config.mjs +16 -0
  378. package/esm2022/form/lib/form.module.mjs +60 -0
  379. package/esm2022/form/lib/validation-rule.directive.mjs +36 -0
  380. package/esm2022/form/lib/validation-summary.component.mjs +133 -0
  381. package/esm2022/image/acorex-components-image.mjs +5 -0
  382. package/esm2022/image/index.mjs +3 -0
  383. package/esm2022/image/lib/image.component.mjs +72 -0
  384. package/esm2022/image/lib/image.module.mjs +19 -0
  385. package/esm2022/index.mjs +2 -158
  386. package/esm2022/label/acorex-components-label.mjs +5 -0
  387. package/esm2022/label/index.mjs +3 -0
  388. package/esm2022/label/lib/label.component.mjs +47 -0
  389. package/esm2022/label/lib/label.module.mjs +21 -0
  390. package/esm2022/list/acorex-components-list.mjs +5 -0
  391. package/esm2022/list/index.mjs +3 -0
  392. package/esm2022/list/lib/list.component.mjs +184 -0
  393. package/esm2022/list/lib/list.module.mjs +23 -0
  394. package/esm2022/loading/acorex-components-loading.mjs +5 -0
  395. package/esm2022/loading/index.mjs +7 -0
  396. package/esm2022/loading/lib/loading-spinner.component.mjs +44 -0
  397. package/esm2022/loading/lib/loading.component.mjs +62 -0
  398. package/esm2022/loading/lib/loading.config.mjs +17 -0
  399. package/esm2022/loading/lib/loading.directive.mjs +39 -0
  400. package/esm2022/loading/lib/loading.module.mjs +35 -0
  401. package/esm2022/loading/lib/loading.service.mjs +129 -0
  402. package/esm2022/loading-dialog/acorex-components-loading-dialog.mjs +5 -0
  403. package/esm2022/loading-dialog/index.mjs +5 -0
  404. package/esm2022/loading-dialog/lib/loading-dialog.class.mjs +2 -0
  405. package/esm2022/loading-dialog/lib/loading-dialog.component.mjs +63 -0
  406. package/esm2022/loading-dialog/lib/loading-dialog.module.mjs +46 -0
  407. package/esm2022/loading-dialog/lib/loading-dialog.service.mjs +37 -0
  408. package/esm2022/menu/acorex-components-menu.mjs +5 -0
  409. package/esm2022/menu/index.mjs +5 -0
  410. package/esm2022/menu/lib/class/root-menu.class.mjs +3 -0
  411. package/esm2022/menu/lib/menu-item/menu-item.component.mjs +140 -0
  412. package/esm2022/menu/lib/menu.component.mjs +48 -0
  413. package/esm2022/menu/lib/menu.module.mjs +37 -0
  414. package/esm2022/nav/acorex-components-nav.mjs +5 -0
  415. package/esm2022/nav/index.mjs +4 -0
  416. package/esm2022/nav/lib/nav-item/nav-item.component.mjs +41 -0
  417. package/esm2022/nav/lib/nav.component.mjs +12 -0
  418. package/esm2022/nav/lib/nav.module.mjs +23 -0
  419. package/esm2022/navbar/acorex-components-navbar.mjs +5 -0
  420. package/esm2022/navbar/index.mjs +3 -0
  421. package/esm2022/navbar/lib/navbar.component.mjs +18 -0
  422. package/esm2022/navbar/lib/navbar.module.mjs +18 -0
  423. package/esm2022/notification/acorex-components-notification.mjs +5 -0
  424. package/esm2022/notification/index.mjs +6 -0
  425. package/esm2022/notification/lib/notification.class.mjs +2 -0
  426. package/esm2022/notification/lib/notification.component.mjs +105 -0
  427. package/esm2022/notification/lib/notification.config.mjs +20 -0
  428. package/esm2022/notification/lib/notification.module.mjs +42 -0
  429. package/esm2022/notification/lib/notification.service.mjs +102 -0
  430. package/esm2022/number-box/acorex-components-number-box.mjs +5 -0
  431. package/esm2022/number-box/index.mjs +3 -0
  432. package/esm2022/number-box/lib/number-box.component.mjs +294 -0
  433. package/esm2022/number-box/lib/number-box.module.mjs +35 -0
  434. package/esm2022/otp/acorex-components-otp.mjs +5 -0
  435. package/esm2022/otp/index.mjs +4 -0
  436. package/esm2022/otp/lib/otp.class.mjs +4 -0
  437. package/esm2022/otp/lib/otp.component.mjs +158 -0
  438. package/esm2022/otp/lib/otp.module.mjs +22 -0
  439. package/esm2022/page/acorex-components-page.mjs +5 -0
  440. package/esm2022/page/index.mjs +4 -0
  441. package/esm2022/page/lib/base-page.class.mjs +62 -0
  442. package/esm2022/page/lib/page.component.mjs +44 -0
  443. package/esm2022/page/lib/page.module.mjs +18 -0
  444. package/esm2022/password-box/acorex-components-password-box.mjs +5 -0
  445. package/esm2022/password-box/index.mjs +3 -0
  446. package/esm2022/password-box/lib/password-box.component.mjs +94 -0
  447. package/esm2022/password-box/lib/password-box.module.mjs +24 -0
  448. package/esm2022/phone-box/acorex-components-phone-box.mjs +5 -0
  449. package/esm2022/phone-box/index.mjs +3 -0
  450. package/esm2022/phone-box/lib/phone-box.component.mjs +135 -0
  451. package/esm2022/phone-box/lib/phone-box.module.mjs +44 -0
  452. package/esm2022/picker/acorex-components-picker.mjs +5 -0
  453. package/esm2022/picker/index.mjs +4 -0
  454. package/esm2022/picker/lib/picker-column.directive.mjs +66 -0
  455. package/esm2022/picker/lib/picker.component.mjs +164 -0
  456. package/esm2022/picker/lib/picker.module.mjs +22 -0
  457. package/esm2022/popover/acorex-components-popover.mjs +5 -0
  458. package/esm2022/popover/index.mjs +3 -0
  459. package/esm2022/popover/lib/popover.component.mjs +379 -0
  460. package/esm2022/popover/lib/popover.module.mjs +19 -0
  461. package/esm2022/popup/acorex-components-popup.mjs +5 -0
  462. package/esm2022/popup/index.mjs +5 -0
  463. package/esm2022/popup/lib/popup.component.mjs +153 -0
  464. package/esm2022/popup/lib/popup.interface.mjs +2 -0
  465. package/esm2022/popup/lib/popup.module.mjs +45 -0
  466. package/esm2022/popup/lib/popup.service.mjs +65 -0
  467. package/esm2022/progress-bar/acorex-components-progress-bar.mjs +5 -0
  468. package/esm2022/progress-bar/index.mjs +3 -0
  469. package/esm2022/progress-bar/lib/progress-bar.component.mjs +57 -0
  470. package/esm2022/progress-bar/lib/progress-bar.module.mjs +19 -0
  471. package/esm2022/radio/acorex-components-radio.mjs +5 -0
  472. package/esm2022/radio/index.mjs +3 -0
  473. package/esm2022/radio/lib/radio.component.mjs +62 -0
  474. package/esm2022/radio/lib/radio.module.mjs +22 -0
  475. package/esm2022/range-slider/acorex-components-range-slider.mjs +5 -0
  476. package/esm2022/range-slider/index.mjs +3 -0
  477. package/esm2022/range-slider/lib/range-slider.component.mjs +117 -0
  478. package/esm2022/range-slider/lib/range-slider.module.mjs +23 -0
  479. package/esm2022/result/acorex-components-result.mjs +5 -0
  480. package/esm2022/result/index.mjs +3 -0
  481. package/esm2022/result/lib/result.component.mjs +27 -0
  482. package/esm2022/result/lib/result.module.mjs +19 -0
  483. package/esm2022/routing-progress/acorex-components-routing-progress.mjs +5 -0
  484. package/esm2022/routing-progress/index.mjs +3 -0
  485. package/esm2022/routing-progress/lib/routing-progress.component.mjs +57 -0
  486. package/esm2022/routing-progress/lib/routing-progress.module.mjs +21 -0
  487. package/esm2022/scheduler/acorex-components-scheduler.mjs +5 -0
  488. package/esm2022/scheduler/index.mjs +5 -0
  489. package/esm2022/scheduler/lib/scheduler-month-view.component.mjs +53 -0
  490. package/esm2022/scheduler/lib/scheduler-week-view.component.mjs +12 -0
  491. package/esm2022/scheduler/lib/scheduler.component.mjs +43 -0
  492. package/esm2022/scheduler/lib/scheduler.module.mjs +45 -0
  493. package/esm2022/scss/acorex-components-scss.mjs +5 -0
  494. package/esm2022/scss/index.mjs +2 -0
  495. package/esm2022/scss/lib/scss.module.mjs +15 -0
  496. package/esm2022/search-box/acorex-components-search-box.mjs +5 -0
  497. package/esm2022/search-box/index.mjs +3 -0
  498. package/esm2022/search-box/lib/search-box.component.mjs +87 -0
  499. package/esm2022/search-box/lib/search-box.module.mjs +46 -0
  500. package/esm2022/select-box/acorex-components-select-box.mjs +5 -0
  501. package/esm2022/select-box/index.mjs +3 -0
  502. package/esm2022/select-box/lib/select-box.component.mjs +299 -0
  503. package/esm2022/select-box/lib/select-box.module.mjs +69 -0
  504. package/esm2022/selection-list/acorex-components-selection-list.mjs +5 -0
  505. package/esm2022/selection-list/index.mjs +3 -0
  506. package/esm2022/selection-list/lib/selection-list.component.mjs +135 -0
  507. package/esm2022/selection-list/lib/selection-list.module.mjs +41 -0
  508. package/esm2022/side-menu/acorex-components-side-menu.mjs +5 -0
  509. package/esm2022/side-menu/index.mjs +4 -0
  510. package/esm2022/side-menu/lib/side-menu-item/side-menu-item.compoent.mjs +147 -0
  511. package/esm2022/side-menu/lib/side-menu.component.mjs +12 -0
  512. package/esm2022/side-menu/lib/side-menu.module.mjs +25 -0
  513. package/esm2022/skeleton/acorex-components-skeleton.mjs +5 -0
  514. package/esm2022/skeleton/index.mjs +3 -0
  515. package/esm2022/skeleton/lib/skeleton.component.mjs +24 -0
  516. package/esm2022/skeleton/lib/skeleton.module.mjs +18 -0
  517. package/esm2022/step-wizard/acorex-components-step-wizard.mjs +5 -0
  518. package/esm2022/step-wizard/index.mjs +6 -0
  519. package/esm2022/step-wizard/lib/step-wizard-item/step-wizard-item.component.mjs +66 -0
  520. package/esm2022/step-wizard/lib/step-wizard.class.mjs +2 -0
  521. package/esm2022/step-wizard/lib/step-wizard.component.mjs +102 -0
  522. package/esm2022/step-wizard/lib/step-wizard.directive.mjs +28 -0
  523. package/esm2022/step-wizard/lib/step-wizard.module.mjs +33 -0
  524. package/esm2022/switch/acorex-components-switch.mjs +5 -0
  525. package/esm2022/switch/index.mjs +4 -0
  526. package/esm2022/switch/lib/switch-content.component.mjs +15 -0
  527. package/esm2022/switch/lib/switch.component.mjs +51 -0
  528. package/esm2022/switch/lib/switch.module.mjs +21 -0
  529. package/esm2022/tabs/acorex-components-tabs.mjs +5 -0
  530. package/esm2022/tabs/index.mjs +6 -0
  531. package/esm2022/tabs/lib/tab-content.directive.mjs +28 -0
  532. package/esm2022/tabs/lib/tab-item.component.mjs +121 -0
  533. package/esm2022/tabs/lib/tabs.class.mjs +4 -0
  534. package/esm2022/tabs/lib/tabs.component.mjs +99 -0
  535. package/esm2022/tabs/lib/tabs.module.mjs +25 -0
  536. package/esm2022/tag/acorex-components-tag.mjs +5 -0
  537. package/esm2022/tag/index.mjs +3 -0
  538. package/esm2022/tag/lib/tag.component.mjs +20 -0
  539. package/esm2022/tag/lib/tag.module.mjs +19 -0
  540. package/esm2022/text-area/acorex-components-text-area.mjs +5 -0
  541. package/esm2022/text-area/index.mjs +3 -0
  542. package/esm2022/text-area/lib/text-area.component.mjs +65 -0
  543. package/esm2022/text-area/lib/text-area.module.mjs +19 -0
  544. package/esm2022/text-box/acorex-components-text-box.mjs +5 -0
  545. package/esm2022/text-box/index.mjs +4 -0
  546. package/esm2022/text-box/lib/mask-options.directive.mjs +17 -0
  547. package/esm2022/text-box/lib/text-box.component.mjs +131 -0
  548. package/esm2022/text-box/lib/text-box.module.mjs +38 -0
  549. package/esm2022/toast/acorex-components-toast.mjs +5 -0
  550. package/esm2022/toast/index.mjs +6 -0
  551. package/esm2022/toast/lib/toast.class.mjs +2 -0
  552. package/esm2022/toast/lib/toast.component.mjs +81 -0
  553. package/esm2022/toast/lib/toast.config.mjs +25 -0
  554. package/esm2022/toast/lib/toast.module.mjs +39 -0
  555. package/esm2022/toast/lib/toast.service.mjs +139 -0
  556. package/esm2022/tooltip/acorex-components-tooltip.mjs +5 -0
  557. package/esm2022/tooltip/index.mjs +4 -0
  558. package/esm2022/tooltip/lib/tooltip.component.mjs +16 -0
  559. package/esm2022/tooltip/lib/tooltip.directive.mjs +80 -0
  560. package/esm2022/tooltip/lib/tooltip.module.mjs +22 -0
  561. package/esm2022/uploader/acorex-components-uploader.mjs +5 -0
  562. package/esm2022/uploader/index.mjs +8 -0
  563. package/esm2022/uploader/lib/uploader-browse-handle.directive.mjs +27 -0
  564. package/esm2022/uploader/lib/uploader-dialog-container.component.mjs +40 -0
  565. package/esm2022/uploader/lib/uploader-drop-zone.component.mjs +14 -0
  566. package/esm2022/uploader/lib/uploader-list.component.mjs +21 -0
  567. package/esm2022/uploader/lib/uploader-zone.directive.mjs +79 -0
  568. package/esm2022/uploader/lib/uploader.models.mjs +68 -0
  569. package/esm2022/uploader/lib/uploader.module.mjs +84 -0
  570. package/esm2022/uploader/lib/uploader.service.mjs +86 -0
  571. package/fesm2022/acorex-components-action-sheet.mjs +205 -0
  572. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -0
  573. package/fesm2022/acorex-components-alert.mjs +220 -0
  574. package/fesm2022/acorex-components-alert.mjs.map +1 -0
  575. package/fesm2022/acorex-components-avatar.mjs +78 -0
  576. package/fesm2022/acorex-components-avatar.mjs.map +1 -0
  577. package/fesm2022/acorex-components-badge.mjs +47 -0
  578. package/fesm2022/acorex-components-badge.mjs.map +1 -0
  579. package/fesm2022/acorex-components-bottom-navigation.mjs +120 -0
  580. package/fesm2022/acorex-components-bottom-navigation.mjs.map +1 -0
  581. package/fesm2022/acorex-components-breadcrumbs.mjs +73 -0
  582. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -0
  583. package/fesm2022/acorex-components-button-group.mjs +143 -0
  584. package/fesm2022/acorex-components-button-group.mjs.map +1 -0
  585. package/fesm2022/acorex-components-button.mjs +356 -0
  586. package/fesm2022/acorex-components-button.mjs.map +1 -0
  587. package/fesm2022/acorex-components-calendar.mjs +840 -0
  588. package/fesm2022/acorex-components-calendar.mjs.map +1 -0
  589. package/fesm2022/acorex-components-chat.mjs +441 -0
  590. package/fesm2022/acorex-components-chat.mjs.map +1 -0
  591. package/fesm2022/acorex-components-check-box.mjs +124 -0
  592. package/fesm2022/acorex-components-check-box.mjs.map +1 -0
  593. package/fesm2022/acorex-components-chips.mjs +51 -0
  594. package/fesm2022/acorex-components-chips.mjs.map +1 -0
  595. package/fesm2022/acorex-components-circular-progress.mjs +117 -0
  596. package/fesm2022/acorex-components-circular-progress.mjs.map +1 -0
  597. package/fesm2022/acorex-components-collapse.mjs +296 -0
  598. package/fesm2022/acorex-components-collapse.mjs.map +1 -0
  599. package/fesm2022/acorex-components-color-box.mjs +104 -0
  600. package/fesm2022/acorex-components-color-box.mjs.map +1 -0
  601. package/fesm2022/acorex-components-color-palette.mjs +800 -0
  602. package/fesm2022/acorex-components-color-palette.mjs.map +1 -0
  603. package/fesm2022/acorex-components-common.mjs +1737 -0
  604. package/fesm2022/acorex-components-common.mjs.map +1 -0
  605. package/fesm2022/acorex-components-data-pager.mjs +758 -0
  606. package/fesm2022/acorex-components-data-pager.mjs.map +1 -0
  607. package/fesm2022/acorex-components-data-table.mjs +1143 -0
  608. package/fesm2022/acorex-components-data-table.mjs.map +1 -0
  609. package/fesm2022/acorex-components-datetime-box.mjs +147 -0
  610. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -0
  611. package/fesm2022/acorex-components-datetime-input.mjs +578 -0
  612. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -0
  613. package/fesm2022/acorex-components-datetime-picker.mjs +328 -0
  614. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -0
  615. package/fesm2022/acorex-components-decorators.mjs +210 -0
  616. package/fesm2022/acorex-components-decorators.mjs.map +1 -0
  617. package/fesm2022/acorex-components-dialog.mjs +271 -0
  618. package/fesm2022/acorex-components-dialog.mjs.map +1 -0
  619. package/fesm2022/acorex-components-drawer.mjs +206 -0
  620. package/fesm2022/acorex-components-drawer.mjs.map +1 -0
  621. package/fesm2022/acorex-components-dropdown-button.mjs +145 -0
  622. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -0
  623. package/fesm2022/acorex-components-dropdown.mjs +319 -0
  624. package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
  625. package/fesm2022/acorex-components-form.mjs +394 -0
  626. package/fesm2022/acorex-components-form.mjs.map +1 -0
  627. package/fesm2022/acorex-components-image.mjs +95 -0
  628. package/fesm2022/acorex-components-image.mjs.map +1 -0
  629. package/fesm2022/acorex-components-label.mjs +72 -0
  630. package/fesm2022/acorex-components-label.mjs.map +1 -0
  631. package/fesm2022/acorex-components-list.mjs +210 -0
  632. package/fesm2022/acorex-components-list.mjs.map +1 -0
  633. package/fesm2022/acorex-components-loading-dialog.mjs +144 -0
  634. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -0
  635. package/fesm2022/acorex-components-loading.mjs +313 -0
  636. package/fesm2022/acorex-components-loading.mjs.map +1 -0
  637. package/fesm2022/acorex-components-menu.mjs +224 -0
  638. package/fesm2022/acorex-components-menu.mjs.map +1 -0
  639. package/fesm2022/acorex-components-nav.mjs +75 -0
  640. package/fesm2022/acorex-components-nav.mjs.map +1 -0
  641. package/fesm2022/acorex-components-navbar.mjs +40 -0
  642. package/fesm2022/acorex-components-navbar.mjs.map +1 -0
  643. package/fesm2022/acorex-components-notification.mjs +264 -0
  644. package/fesm2022/acorex-components-notification.mjs.map +1 -0
  645. package/fesm2022/acorex-components-number-box.mjs +331 -0
  646. package/fesm2022/acorex-components-number-box.mjs.map +1 -0
  647. package/fesm2022/acorex-components-otp.mjs +186 -0
  648. package/fesm2022/acorex-components-otp.mjs.map +1 -0
  649. package/fesm2022/acorex-components-page.mjs +125 -0
  650. package/fesm2022/acorex-components-page.mjs.map +1 -0
  651. package/fesm2022/acorex-components-password-box.mjs +121 -0
  652. package/fesm2022/acorex-components-password-box.mjs.map +1 -0
  653. package/fesm2022/acorex-components-phone-box.mjs +182 -0
  654. package/fesm2022/acorex-components-phone-box.mjs.map +1 -0
  655. package/fesm2022/acorex-components-picker.mjs +251 -0
  656. package/fesm2022/acorex-components-picker.mjs.map +1 -0
  657. package/fesm2022/acorex-components-popover.mjs +402 -0
  658. package/fesm2022/acorex-components-popover.mjs.map +1 -0
  659. package/fesm2022/acorex-components-popup.mjs +256 -0
  660. package/fesm2022/acorex-components-popup.mjs.map +1 -0
  661. package/fesm2022/acorex-components-progress-bar.mjs +80 -0
  662. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -0
  663. package/fesm2022/acorex-components-radio.mjs +87 -0
  664. package/fesm2022/acorex-components-radio.mjs.map +1 -0
  665. package/fesm2022/acorex-components-range-slider.mjs +142 -0
  666. package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
  667. package/fesm2022/acorex-components-result.mjs +50 -0
  668. package/fesm2022/acorex-components-result.mjs.map +1 -0
  669. package/fesm2022/acorex-components-routing-progress.mjs +82 -0
  670. package/fesm2022/acorex-components-routing-progress.mjs.map +1 -0
  671. package/fesm2022/acorex-components-scheduler.mjs +142 -0
  672. package/fesm2022/acorex-components-scheduler.mjs.map +1 -0
  673. package/fesm2022/acorex-components-scss.mjs +22 -0
  674. package/fesm2022/acorex-components-scss.mjs.map +1 -0
  675. package/fesm2022/acorex-components-search-box.mjs +135 -0
  676. package/fesm2022/acorex-components-search-box.mjs.map +1 -0
  677. package/fesm2022/acorex-components-select-box.mjs +368 -0
  678. package/fesm2022/acorex-components-select-box.mjs.map +1 -0
  679. package/fesm2022/acorex-components-selection-list.mjs +179 -0
  680. package/fesm2022/acorex-components-selection-list.mjs.map +1 -0
  681. package/fesm2022/acorex-components-side-menu.mjs +183 -0
  682. package/fesm2022/acorex-components-side-menu.mjs.map +1 -0
  683. package/fesm2022/acorex-components-skeleton.mjs +46 -0
  684. package/fesm2022/acorex-components-skeleton.mjs.map +1 -0
  685. package/fesm2022/acorex-components-step-wizard.mjs +224 -0
  686. package/fesm2022/acorex-components-step-wizard.mjs.map +1 -0
  687. package/fesm2022/acorex-components-switch.mjs +86 -0
  688. package/fesm2022/acorex-components-switch.mjs.map +1 -0
  689. package/fesm2022/acorex-components-tabs.mjs +271 -0
  690. package/fesm2022/acorex-components-tabs.mjs.map +1 -0
  691. package/fesm2022/acorex-components-tag.mjs +43 -0
  692. package/fesm2022/acorex-components-tag.mjs.map +1 -0
  693. package/fesm2022/acorex-components-text-area.mjs +87 -0
  694. package/fesm2022/acorex-components-text-area.mjs.map +1 -0
  695. package/fesm2022/acorex-components-text-box.mjs +184 -0
  696. package/fesm2022/acorex-components-text-box.mjs.map +1 -0
  697. package/fesm2022/acorex-components-toast.mjs +280 -0
  698. package/fesm2022/acorex-components-toast.mjs.map +1 -0
  699. package/fesm2022/acorex-components-tooltip.mjs +117 -0
  700. package/fesm2022/acorex-components-tooltip.mjs.map +1 -0
  701. package/fesm2022/acorex-components-uploader.mjs +399 -0
  702. package/fesm2022/acorex-components-uploader.mjs.map +1 -0
  703. package/fesm2022/acorex-components.mjs +2 -17392
  704. package/fesm2022/acorex-components.mjs.map +1 -1
  705. package/form/README.md +3 -0
  706. package/form/index.d.ts +6 -0
  707. package/form/lib/form-field.component.d.ts +12 -0
  708. package/form/lib/form.component.d.ts +42 -0
  709. package/form/lib/form.config.d.ts +7 -0
  710. package/form/lib/form.module.d.ts +16 -0
  711. package/form/lib/validation-rule.directive.d.ts +16 -0
  712. package/form/lib/validation-summary.component.d.ts +25 -0
  713. package/image/README.md +3 -0
  714. package/image/index.d.ts +2 -0
  715. package/image/lib/image.component.d.ts +21 -0
  716. package/image/lib/image.module.d.ts +8 -0
  717. package/index.d.ts +1 -155
  718. package/label/README.md +3 -0
  719. package/label/index.d.ts +2 -0
  720. package/label/lib/label.component.d.ts +14 -0
  721. package/list/README.md +3 -0
  722. package/list/index.d.ts +2 -0
  723. package/list/lib/list.component.d.ts +39 -0
  724. package/list/lib/list.module.d.ts +10 -0
  725. package/loading/README.md +3 -0
  726. package/loading/index.d.ts +6 -0
  727. package/loading/lib/loading-spinner.component.d.ts +10 -0
  728. package/loading/lib/loading.component.d.ts +18 -0
  729. package/loading/lib/loading.config.d.ts +8 -0
  730. package/loading/lib/loading.directive.d.ts +15 -0
  731. package/loading/lib/loading.module.d.ts +13 -0
  732. package/loading/lib/loading.service.d.ts +29 -0
  733. package/loading-dialog/README.md +3 -0
  734. package/loading-dialog/index.d.ts +4 -0
  735. package/loading-dialog/lib/loading-dialog.class.d.ts +35 -0
  736. package/loading-dialog/lib/loading-dialog.component.d.ts +25 -0
  737. package/loading-dialog/lib/loading-dialog.module.d.ts +14 -0
  738. package/loading-dialog/lib/loading-dialog.service.d.ts +8 -0
  739. package/menu/README.md +3 -0
  740. package/menu/index.d.ts +4 -0
  741. package/menu/lib/class/root-menu.class.d.ts +6 -0
  742. package/menu/lib/menu-item/menu-item.component.d.ts +37 -0
  743. package/menu/lib/menu.component.d.ts +14 -0
  744. package/menu/lib/menu.module.d.ts +14 -0
  745. package/nav/README.md +3 -0
  746. package/nav/index.d.ts +3 -0
  747. package/nav/lib/nav-item/nav-item.component.d.ts +15 -0
  748. package/nav/lib/nav.component.d.ts +6 -0
  749. package/nav/lib/nav.module.d.ts +10 -0
  750. package/navbar/README.md +3 -0
  751. package/navbar/index.d.ts +2 -0
  752. package/navbar/lib/navbar.component.d.ts +7 -0
  753. package/navbar/lib/navbar.module.d.ts +8 -0
  754. package/notification/README.md +3 -0
  755. package/notification/index.d.ts +5 -0
  756. package/notification/lib/notification.class.d.ts +40 -0
  757. package/notification/lib/notification.component.d.ts +29 -0
  758. package/notification/lib/notification.config.d.ts +13 -0
  759. package/notification/lib/notification.module.d.ts +14 -0
  760. package/notification/lib/notification.service.d.ts +12 -0
  761. package/number-box/README.md +3 -0
  762. package/number-box/index.d.ts +2 -0
  763. package/number-box/lib/number-box.component.d.ts +80 -0
  764. package/number-box/lib/number-box.module.d.ts +12 -0
  765. package/otp/README.md +3 -0
  766. package/otp/index.d.ts +3 -0
  767. package/otp/lib/otp.class.d.ts +5 -0
  768. package/otp/lib/otp.component.d.ts +31 -0
  769. package/otp/lib/otp.module.d.ts +9 -0
  770. package/package.json +403 -6
  771. package/page/README.md +3 -0
  772. package/page/index.d.ts +3 -0
  773. package/page/lib/base-page.class.d.ts +22 -0
  774. package/page/lib/page.component.d.ts +14 -0
  775. package/page/lib/page.module.d.ts +6 -0
  776. package/password-box/README.md +3 -0
  777. package/password-box/index.d.ts +2 -0
  778. package/password-box/lib/password-box.component.d.ts +29 -0
  779. package/password-box/lib/password-box.module.d.ts +11 -0
  780. package/phone-box/README.md +3 -0
  781. package/phone-box/index.d.ts +2 -0
  782. package/phone-box/lib/phone-box.component.d.ts +30 -0
  783. package/phone-box/lib/phone-box.module.d.ts +15 -0
  784. package/picker/README.md +3 -0
  785. package/picker/index.d.ts +3 -0
  786. package/picker/lib/picker-column.directive.d.ts +16 -0
  787. package/picker/lib/picker.component.d.ts +31 -0
  788. package/picker/lib/picker.module.d.ts +9 -0
  789. package/popover/README.md +3 -0
  790. package/popover/index.d.ts +2 -0
  791. package/popover/lib/popover.component.d.ts +72 -0
  792. package/popup/README.md +3 -0
  793. package/popup/index.d.ts +4 -0
  794. package/popup/lib/popup.component.d.ts +40 -0
  795. package/popup/lib/popup.interface.d.ts +28 -0
  796. package/popup/lib/popup.module.d.ts +15 -0
  797. package/popup/lib/popup.service.d.ts +21 -0
  798. package/progress-bar/README.md +3 -0
  799. package/progress-bar/index.d.ts +2 -0
  800. package/progress-bar/lib/progress-bar.component.d.ts +25 -0
  801. package/radio/README.md +3 -0
  802. package/radio/index.d.ts +2 -0
  803. package/radio/lib/radio.component.d.ts +16 -0
  804. package/radio/lib/radio.module.d.ts +9 -0
  805. package/range-slider/README.md +3 -0
  806. package/range-slider/index.d.ts +2 -0
  807. package/range-slider/lib/range-slider.component.d.ts +40 -0
  808. package/range-slider/lib/range-slider.module.d.ts +10 -0
  809. package/result/README.md +3 -0
  810. package/result/index.d.ts +2 -0
  811. package/result/lib/result.component.d.ts +10 -0
  812. package/result/lib/result.module.d.ts +8 -0
  813. package/routing-progress/README.md +3 -0
  814. package/routing-progress/index.d.ts +2 -0
  815. package/routing-progress/lib/routing-progress.component.d.ts +14 -0
  816. package/routing-progress/lib/routing-progress.module.d.ts +8 -0
  817. package/scheduler/README.md +3 -0
  818. package/scheduler/index.d.ts +4 -0
  819. package/scheduler/lib/scheduler-month-view.component.d.ts +21 -0
  820. package/scheduler/lib/scheduler-week-view.component.d.ts +6 -0
  821. package/scheduler/lib/scheduler.component.d.ts +17 -0
  822. package/scheduler/lib/scheduler.module.d.ts +14 -0
  823. package/scss/README.md +3 -0
  824. package/scss/index.d.ts +1 -0
  825. package/scss/lib/scss.module.d.ts +7 -0
  826. package/search-box/README.md +3 -0
  827. package/search-box/index.d.ts +2 -0
  828. package/search-box/lib/search-box.component.d.ts +17 -0
  829. package/search-box/lib/search-box.module.d.ts +14 -0
  830. package/select-box/README.md +3 -0
  831. package/select-box/index.d.ts +2 -0
  832. package/select-box/lib/select-box.component.d.ts +60 -0
  833. package/select-box/lib/select-box.module.d.ts +20 -0
  834. package/selection-list/README.md +3 -0
  835. package/selection-list/index.d.ts +2 -0
  836. package/selection-list/lib/selection-list.component.d.ts +30 -0
  837. package/selection-list/lib/selection-list.module.d.ts +13 -0
  838. package/side-menu/README.md +3 -0
  839. package/side-menu/index.d.ts +3 -0
  840. package/side-menu/lib/side-menu-item/side-menu-item.compoent.d.ts +48 -0
  841. package/side-menu/lib/side-menu.component.d.ts +6 -0
  842. package/side-menu/lib/side-menu.module.d.ts +12 -0
  843. package/skeleton/README.md +3 -0
  844. package/skeleton/index.d.ts +2 -0
  845. package/skeleton/lib/skeleton.component.d.ts +8 -0
  846. package/skeleton/lib/skeleton.module.d.ts +8 -0
  847. package/step-wizard/README.md +3 -0
  848. package/step-wizard/index.d.ts +5 -0
  849. package/step-wizard/lib/step-wizard-item/step-wizard-item.component.d.ts +23 -0
  850. package/step-wizard/lib/step-wizard.class.d.ts +5 -0
  851. package/step-wizard/lib/step-wizard.component.d.ts +28 -0
  852. package/step-wizard/lib/step-wizard.directive.d.ts +11 -0
  853. package/step-wizard/lib/step-wizard.module.d.ts +12 -0
  854. package/switch/README.md +3 -0
  855. package/switch/index.d.ts +3 -0
  856. package/switch/lib/switch-content.component.d.ts +6 -0
  857. package/switch/lib/switch.component.d.ts +15 -0
  858. package/switch/lib/switch.module.d.ts +10 -0
  859. package/tabs/README.md +3 -0
  860. package/tabs/index.d.ts +5 -0
  861. package/tabs/lib/tab-content.directive.d.ts +11 -0
  862. package/tabs/lib/tab-item.component.d.ts +18 -0
  863. package/tabs/lib/tabs.class.d.ts +8 -0
  864. package/tabs/lib/tabs.component.d.ts +27 -0
  865. package/tabs/lib/tabs.module.d.ts +12 -0
  866. package/tag/README.md +3 -0
  867. package/tag/index.d.ts +2 -0
  868. package/tag/lib/tag.component.d.ts +8 -0
  869. package/tag/lib/tag.module.d.ts +8 -0
  870. package/text-area/README.md +3 -0
  871. package/text-area/index.d.ts +2 -0
  872. package/text-area/lib/text-area.component.d.ts +19 -0
  873. package/text-area/lib/text-area.module.d.ts +9 -0
  874. package/text-box/README.md +3 -0
  875. package/text-box/index.d.ts +3 -0
  876. package/text-box/lib/mask-options.directive.d.ts +13 -0
  877. package/text-box/lib/text-box.component.d.ts +33 -0
  878. package/text-box/lib/text-box.module.d.ts +13 -0
  879. package/toast/README.md +3 -0
  880. package/toast/index.d.ts +5 -0
  881. package/toast/lib/toast.class.d.ts +24 -0
  882. package/toast/lib/toast.component.d.ts +27 -0
  883. package/toast/lib/toast.config.d.ts +12 -0
  884. package/toast/lib/toast.module.d.ts +13 -0
  885. package/toast/lib/toast.service.d.ts +21 -0
  886. package/tooltip/README.md +3 -0
  887. package/tooltip/index.d.ts +3 -0
  888. package/tooltip/lib/tooltip.component.d.ts +8 -0
  889. package/tooltip/lib/tooltip.directive.d.ts +22 -0
  890. package/tooltip/lib/tooltip.module.d.ts +10 -0
  891. package/uploader/README.md +3 -0
  892. package/uploader/index.d.ts +7 -0
  893. package/uploader/lib/uploader-browse-handle.directive.d.ts +11 -0
  894. package/uploader/lib/uploader-dialog-container.component.d.ts +9 -0
  895. package/uploader/lib/uploader-drop-zone.component.d.ts +6 -0
  896. package/uploader/lib/uploader-list.component.d.ts +8 -0
  897. package/uploader/lib/uploader-zone.directive.d.ts +24 -0
  898. package/uploader/lib/uploader.models.d.ts +19 -0
  899. package/uploader/lib/uploader.module.d.ts +22 -0
  900. package/uploader/lib/uploader.service.d.ts +21 -0
  901. package/esm2022/lib/accordion/accordion.component.mjs +0 -45
  902. package/esm2022/lib/accordion/accordion.module.mjs +0 -20
  903. package/esm2022/lib/base/base-page.class.mjs +0 -97
  904. package/esm2022/lib/base/components.class.mjs +0 -17
  905. package/esm2022/lib/base/element.class.mjs +0 -301
  906. package/esm2022/lib/base/events.class.mjs +0 -17
  907. package/esm2022/lib/button/button.component.mjs +0 -74
  908. package/esm2022/lib/button/button.module.mjs +0 -21
  909. package/esm2022/lib/calendar/calendar-box/calendar-box.component.mjs +0 -426
  910. package/esm2022/lib/calendar/calendar-box/calendar-box.module.mjs +0 -22
  911. package/esm2022/lib/calendar/scheduler/scheduler-views.property.mjs +0 -59
  912. package/esm2022/lib/calendar/scheduler/scheduler.class.mjs +0 -16
  913. package/esm2022/lib/calendar/scheduler/scheduler.component.mjs +0 -226
  914. package/esm2022/lib/calendar/scheduler/scheduler.module.mjs +0 -68
  915. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.mjs +0 -136
  916. package/esm2022/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.mjs +0 -37
  917. package/esm2022/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.mjs +0 -49
  918. package/esm2022/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.mjs +0 -102
  919. package/esm2022/lib/calendar/scheduler/views/month/scheduler-month-view.component.mjs +0 -214
  920. package/esm2022/lib/calendar/scheduler/views/scheduler-view.component.mjs +0 -99
  921. package/esm2022/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.mjs +0 -85
  922. package/esm2022/lib/checkbox/checkbox.component.mjs +0 -109
  923. package/esm2022/lib/checkbox/checkbox.module.mjs +0 -20
  924. package/esm2022/lib/color-picker/color-box/color-box.component.mjs +0 -423
  925. package/esm2022/lib/color-picker/color-picker.component.mjs +0 -89
  926. package/esm2022/lib/color-picker/color-picker.module.mjs +0 -24
  927. package/esm2022/lib/context-menu/context-menu.component.mjs +0 -68
  928. package/esm2022/lib/context-menu/context-menu.directive.mjs +0 -146
  929. package/esm2022/lib/context-menu/context-menu.module.mjs +0 -20
  930. package/esm2022/lib/data-filter/columns/filter-column-date.component.mjs +0 -140
  931. package/esm2022/lib/data-filter/columns/filter-column-number.component.mjs +0 -119
  932. package/esm2022/lib/data-filter/columns/filter-column-selection.component.mjs +0 -75
  933. package/esm2022/lib/data-filter/columns/filter-column-string.component.mjs +0 -119
  934. package/esm2022/lib/data-filter/filter-panel/filter-panel.component.mjs +0 -267
  935. package/esm2022/lib/data-filter/filter.class.mjs +0 -46
  936. package/esm2022/lib/data-filter/filter.module.mjs +0 -88
  937. package/esm2022/lib/data-filter/toolbar/filter-toolbar.component.mjs +0 -168
  938. package/esm2022/lib/data-list/core/data-list.component.mjs +0 -37
  939. package/esm2022/lib/data-list/list/list.component.mjs +0 -134
  940. package/esm2022/lib/data-list/list/list.module.mjs +0 -22
  941. package/esm2022/lib/data-list/list/toolbar-list-view.component.mjs +0 -84
  942. package/esm2022/lib/data-source/datasource.component.mjs +0 -47
  943. package/esm2022/lib/data-source/datasource.module.mjs +0 -18
  944. package/esm2022/lib/data-source/read-param.mjs +0 -7
  945. package/esm2022/lib/date-picker/date-picker.component.mjs +0 -1102
  946. package/esm2022/lib/date-picker/date-picker.module.mjs +0 -49
  947. package/esm2022/lib/dialog/dialog.component.mjs +0 -26
  948. package/esm2022/lib/dialog/dialog.module.mjs +0 -21
  949. package/esm2022/lib/dialog/dialog.service.mjs +0 -160
  950. package/esm2022/lib/drawer/content.component.mjs +0 -18
  951. package/esm2022/lib/drawer/drawer-container.component.mjs +0 -38
  952. package/esm2022/lib/drawer/drawer.component.mjs +0 -146
  953. package/esm2022/lib/drawer/drawer.module.mjs +0 -23
  954. package/esm2022/lib/dropdown/dropdown.component.mjs +0 -186
  955. package/esm2022/lib/dropdown/dropdown.module.mjs +0 -26
  956. package/esm2022/lib/fieldset/fieldset.component.mjs +0 -57
  957. package/esm2022/lib/fieldset/fieldset.module.mjs +0 -19
  958. package/esm2022/lib/form-group/form-group.component.mjs +0 -37
  959. package/esm2022/lib/form-group/form-group.module.mjs +0 -21
  960. package/esm2022/lib/label/label.component.mjs +0 -19
  961. package/esm2022/lib/label/label.module.mjs +0 -21
  962. package/esm2022/lib/loading/loading-indicator.component.mjs +0 -18
  963. package/esm2022/lib/loading/loading-panel.component.mjs +0 -45
  964. package/esm2022/lib/loading/loading.module.mjs +0 -21
  965. package/esm2022/lib/loading/loading.service.mjs +0 -47
  966. package/esm2022/lib/menu/menu-item.component.mjs +0 -50
  967. package/esm2022/lib/menu/menu.component.mjs +0 -98
  968. package/esm2022/lib/menu/menu.module.mjs +0 -22
  969. package/esm2022/lib/menu/menu2.component.mjs +0 -100
  970. package/esm2022/lib/number-box/number-box.component.mjs +0 -628
  971. package/esm2022/lib/number-box/number-box.module.mjs +0 -21
  972. package/esm2022/lib/page/content.component.mjs +0 -27
  973. package/esm2022/lib/page/footer.component.mjs +0 -19
  974. package/esm2022/lib/page/page.component.mjs +0 -57
  975. package/esm2022/lib/page/page.module.mjs +0 -22
  976. package/esm2022/lib/panel-box/panel-box.component.mjs +0 -87
  977. package/esm2022/lib/panel-box/panel-box.module.mjs +0 -19
  978. package/esm2022/lib/password-box/password-box.component.mjs +0 -32
  979. package/esm2022/lib/password-box/password-box.module.mjs +0 -23
  980. package/esm2022/lib/popover/custom-cdk-overlay.service.mjs +0 -50
  981. package/esm2022/lib/popover/overlay.service.mjs +0 -94
  982. package/esm2022/lib/popover/popover.component.mjs +0 -145
  983. package/esm2022/lib/popover/popover.module.mjs +0 -19
  984. package/esm2022/lib/popup/popup.component.mjs +0 -160
  985. package/esm2022/lib/popup/popup.module.mjs +0 -25
  986. package/esm2022/lib/popup/popup.service.mjs +0 -94
  987. package/esm2022/lib/progress-bar/progress-bar.component.mjs +0 -16
  988. package/esm2022/lib/progress-bar/progress-bar.module.mjs +0 -19
  989. package/esm2022/lib/property-editor/editors/check-editor/check-editor.mjs +0 -65
  990. package/esm2022/lib/property-editor/editors/check-editor/check.module.mjs +0 -22
  991. package/esm2022/lib/property-editor/editors/color-editor/color.editor.mjs +0 -41
  992. package/esm2022/lib/property-editor/editors/color-editor/color.module.mjs +0 -24
  993. package/esm2022/lib/property-editor/editors/column-editor/column.editor.mjs +0 -118
  994. package/esm2022/lib/property-editor/editors/column-editor/column.module.mjs +0 -32
  995. package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.mjs +0 -216
  996. package/esm2022/lib/property-editor/editors/conditional-color-editor/conditional-color.module.mjs +0 -76
  997. package/esm2022/lib/property-editor/editors/date-editor/date.editor.mjs +0 -87
  998. package/esm2022/lib/property-editor/editors/date-editor/date.module.mjs +0 -24
  999. package/esm2022/lib/property-editor/editors/number-editor/number.editor.mjs +0 -72
  1000. package/esm2022/lib/property-editor/editors/number-editor/number.module.mjs +0 -24
  1001. package/esm2022/lib/property-editor/editors/range-editor/range.editor.mjs +0 -145
  1002. package/esm2022/lib/property-editor/editors/range-editor/range.module.mjs +0 -59
  1003. package/esm2022/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.mjs +0 -76
  1004. package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.editor.mjs +0 -75
  1005. package/esm2022/lib/property-editor/editors/selectbox-editor/selectbox.module.mjs +0 -25
  1006. package/esm2022/lib/property-editor/editors/selection-editor/selection-editor.mjs +0 -73
  1007. package/esm2022/lib/property-editor/editors/selection-editor/selection.module.mjs +0 -22
  1008. package/esm2022/lib/property-editor/editors/switch-editor/number.editor.mjs +0 -30
  1009. package/esm2022/lib/property-editor/editors/switch-editor/number.module.mjs +0 -25
  1010. package/esm2022/lib/property-editor/editors/text-editor/text.editor.mjs +0 -36
  1011. package/esm2022/lib/property-editor/editors/text-editor/text.module.mjs +0 -24
  1012. package/esm2022/lib/property-editor/editors/textarea-editor/textarea.editor.mjs +0 -35
  1013. package/esm2022/lib/property-editor/editors/textarea-editor/textarea.module.mjs +0 -24
  1014. package/esm2022/lib/property-editor/editors/time-editor/time.editor.mjs +0 -55
  1015. package/esm2022/lib/property-editor/editors/time-editor/time.module.mjs +0 -24
  1016. package/esm2022/lib/property-editor/property-editor-renderer.directive.mjs +0 -167
  1017. package/esm2022/lib/property-editor/property-editor.class.mjs +0 -108
  1018. package/esm2022/lib/property-editor/property-editor.module.mjs +0 -194
  1019. package/esm2022/lib/query-builder/query-builder-group.component.mjs +0 -129
  1020. package/esm2022/lib/query-builder/query-builder-popup/query-builder-popup.component.mjs +0 -177
  1021. package/esm2022/lib/query-builder/query-builder-rule.component.mjs +0 -428
  1022. package/esm2022/lib/query-builder/query-builder.class.mjs +0 -42
  1023. package/esm2022/lib/query-builder/query-builder.component.mjs +0 -92
  1024. package/esm2022/lib/query-builder/query-builder.module.mjs +0 -62
  1025. package/esm2022/lib/query-builder/query-builder.service.mjs +0 -199
  1026. package/esm2022/lib/search-bar/search-bar.component.mjs +0 -293
  1027. package/esm2022/lib/search-bar/search-bar.module.mjs +0 -61
  1028. package/esm2022/lib/searchbox/searchbox.component.mjs +0 -106
  1029. package/esm2022/lib/searchbox/searchbox.module.mjs +0 -24
  1030. package/esm2022/lib/selectbox/selectbox.component.mjs +0 -1135
  1031. package/esm2022/lib/selectbox/selectbox.module.mjs +0 -44
  1032. package/esm2022/lib/selectbox/selectbox2.component.mjs +0 -617
  1033. package/esm2022/lib/selection-list/selection-list.component.mjs +0 -113
  1034. package/esm2022/lib/selection-list/selection-list.module.mjs +0 -21
  1035. package/esm2022/lib/switch/switch.component.mjs +0 -55
  1036. package/esm2022/lib/switch/switch.module.mjs +0 -20
  1037. package/esm2022/lib/tab-page/tab-page-Renderer.component.mjs +0 -75
  1038. package/esm2022/lib/tab-page/tab-page-host.component.mjs +0 -124
  1039. package/esm2022/lib/tab-page/tab-page.module.mjs +0 -21
  1040. package/esm2022/lib/tab-page/tab-page.service.mjs +0 -159
  1041. package/esm2022/lib/tab-strip/tab-strip.component.mjs +0 -38
  1042. package/esm2022/lib/tab-strip/tab-strip.module.mjs +0 -19
  1043. package/esm2022/lib/tab-view/dynamic-tabs.directive.mjs +0 -25
  1044. package/esm2022/lib/tab-view/tab-view.component.mjs +0 -110
  1045. package/esm2022/lib/tab-view/tab-view.module.mjs +0 -21
  1046. package/esm2022/lib/tab-view/tab.component.mjs +0 -33
  1047. package/esm2022/lib/textarea/textarea.component.mjs +0 -27
  1048. package/esm2022/lib/textarea/textarea.module.mjs +0 -21
  1049. package/esm2022/lib/textbox/textbox.component.mjs +0 -42
  1050. package/esm2022/lib/textbox/textbox.module.mjs +0 -36
  1051. package/esm2022/lib/time-picker/time-picker.component.mjs +0 -1107
  1052. package/esm2022/lib/time-picker/time-picker.module.mjs +0 -34
  1053. package/esm2022/lib/toast/toast-message/toast-message.component.mjs +0 -76
  1054. package/esm2022/lib/toast/toast-wrapper/toast-wrapper.component.mjs +0 -13
  1055. package/esm2022/lib/toast/toast.module.mjs +0 -21
  1056. package/esm2022/lib/toast/toast.service.mjs +0 -45
  1057. package/esm2022/lib/toolbar/group-button/toolbar-group-button.component.mjs +0 -77
  1058. package/esm2022/lib/toolbar/menu/toolbar-menu.component.mjs +0 -62
  1059. package/esm2022/lib/toolbar/search/toolbar-search.component.mjs +0 -56
  1060. package/esm2022/lib/toolbar/title/toolbar-title.component.mjs +0 -37
  1061. package/esm2022/lib/toolbar/toolbar-item.mjs +0 -4
  1062. package/esm2022/lib/toolbar/toolbar.component.mjs +0 -13
  1063. package/esm2022/lib/toolbar/toolbar.module.mjs +0 -40
  1064. package/esm2022/lib/tooltip/tooltip.directive.mjs +0 -104
  1065. package/esm2022/lib/tooltip/tooltip.module.mjs +0 -19
  1066. package/esm2022/lib/tree-side-menu/tree-side-menu.component.mjs +0 -697
  1067. package/esm2022/lib/tree-side-menu/tree-side-menu.module.mjs +0 -33
  1068. package/esm2022/lib/tree-view/tree-view.component.mjs +0 -854
  1069. package/esm2022/lib/tree-view/tree-view.module.mjs +0 -22
  1070. package/esm2022/lib/upload-file/upload-file.component.mjs +0 -226
  1071. package/esm2022/lib/upload-file/upload-file.events.mjs +0 -2
  1072. package/esm2022/lib/upload-file/upload-file.module.mjs +0 -24
  1073. package/esm2022/lib/validation/validation-form.component.mjs +0 -68
  1074. package/esm2022/lib/validation/validation-rule.widget.mjs +0 -114
  1075. package/esm2022/lib/validation/validation.class.mjs +0 -2
  1076. package/esm2022/lib/validation/validation.component.mjs +0 -89
  1077. package/esm2022/lib/validation/validation.module.mjs +0 -34
  1078. package/lib/accordion/accordion.component.d.ts +0 -13
  1079. package/lib/accordion/accordion.module.d.ts +0 -9
  1080. package/lib/base/base-page.class.d.ts +0 -46
  1081. package/lib/base/components.class.d.ts +0 -10
  1082. package/lib/base/element.class.d.ts +0 -106
  1083. package/lib/base/events.class.d.ts +0 -18
  1084. package/lib/button/button.component.d.ts +0 -21
  1085. package/lib/button/button.module.d.ts +0 -8
  1086. package/lib/calendar/calendar-box/calendar-box.component.d.ts +0 -81
  1087. package/lib/calendar/calendar-box/calendar-box.module.d.ts +0 -11
  1088. package/lib/calendar/scheduler/scheduler-views.property.d.ts +0 -19
  1089. package/lib/calendar/scheduler/scheduler.class.d.ts +0 -36
  1090. package/lib/calendar/scheduler/scheduler.component.d.ts +0 -39
  1091. package/lib/calendar/scheduler/scheduler.module.d.ts +0 -21
  1092. package/lib/calendar/scheduler/toolbars/scheduler-toolbar-navigator.d.ts +0 -25
  1093. package/lib/calendar/scheduler/toolbars/scheduler-toolbar-views.d.ts +0 -14
  1094. package/lib/calendar/scheduler/views/agenda/scheduler-agenda-view.component.d.ts +0 -16
  1095. package/lib/calendar/scheduler/views/daytime/scheduler-daytime-view.component.d.ts +0 -26
  1096. package/lib/calendar/scheduler/views/month/scheduler-month-view.component.d.ts +0 -37
  1097. package/lib/calendar/scheduler/views/scheduler-view.component.d.ts +0 -28
  1098. package/lib/calendar/scheduler/views/timeline/scheduler-timeline-view.component.d.ts +0 -24
  1099. package/lib/checkbox/checkbox.component.d.ts +0 -30
  1100. package/lib/checkbox/checkbox.module.d.ts +0 -9
  1101. package/lib/color-picker/color-box/color-box.component.d.ts +0 -25
  1102. package/lib/color-picker/color-picker.component.d.ts +0 -30
  1103. package/lib/color-picker/color-picker.module.d.ts +0 -13
  1104. package/lib/context-menu/context-menu.component.d.ts +0 -22
  1105. package/lib/context-menu/context-menu.directive.d.ts +0 -38
  1106. package/lib/context-menu/context-menu.module.d.ts +0 -9
  1107. package/lib/data-filter/columns/filter-column-date.component.d.ts +0 -22
  1108. package/lib/data-filter/columns/filter-column-number.component.d.ts +0 -15
  1109. package/lib/data-filter/columns/filter-column-selection.component.d.ts +0 -18
  1110. package/lib/data-filter/columns/filter-column-string.component.d.ts +0 -15
  1111. package/lib/data-filter/filter-panel/filter-panel.component.d.ts +0 -45
  1112. package/lib/data-filter/filter.class.d.ts +0 -40
  1113. package/lib/data-filter/filter.module.d.ts +0 -24
  1114. package/lib/data-filter/toolbar/filter-toolbar.component.d.ts +0 -25
  1115. package/lib/data-list/core/data-list.component.d.ts +0 -15
  1116. package/lib/data-list/list/list.component.d.ts +0 -40
  1117. package/lib/data-list/list/list.module.d.ts +0 -11
  1118. package/lib/data-list/list/toolbar-list-view.component.d.ts +0 -17
  1119. package/lib/data-source/datasource.component.d.ts +0 -16
  1120. package/lib/data-source/datasource.module.d.ts +0 -7
  1121. package/lib/data-source/read-param.d.ts +0 -40
  1122. package/lib/date-picker/date-picker.component.d.ts +0 -84
  1123. package/lib/date-picker/date-picker.module.d.ts +0 -14
  1124. package/lib/dialog/dialog.component.d.ts +0 -14
  1125. package/lib/dialog/dialog.module.d.ts +0 -10
  1126. package/lib/dialog/dialog.service.d.ts +0 -36
  1127. package/lib/drawer/content.component.d.ts +0 -7
  1128. package/lib/drawer/drawer-container.component.d.ts +0 -10
  1129. package/lib/drawer/drawer.component.d.ts +0 -34
  1130. package/lib/drawer/drawer.module.d.ts +0 -10
  1131. package/lib/dropdown/dropdown.component.d.ts +0 -38
  1132. package/lib/dropdown/dropdown.module.d.ts +0 -13
  1133. package/lib/fieldset/fieldset.component.d.ts +0 -11
  1134. package/lib/fieldset/fieldset.module.d.ts +0 -8
  1135. package/lib/form-group/form-group.component.d.ts +0 -14
  1136. package/lib/form-group/form-group.module.d.ts +0 -8
  1137. package/lib/label/label.component.d.ts +0 -9
  1138. package/lib/loading/loading-indicator.component.d.ts +0 -9
  1139. package/lib/loading/loading-panel.component.d.ts +0 -13
  1140. package/lib/loading/loading.module.d.ts +0 -10
  1141. package/lib/loading/loading.service.d.ts +0 -13
  1142. package/lib/menu/menu-item.component.d.ts +0 -18
  1143. package/lib/menu/menu.component.d.ts +0 -35
  1144. package/lib/menu/menu.module.d.ts +0 -11
  1145. package/lib/menu/menu2.component.d.ts +0 -21
  1146. package/lib/number-box/number-box.component.d.ts +0 -52
  1147. package/lib/number-box/number-box.module.d.ts +0 -10
  1148. package/lib/page/content.component.d.ts +0 -8
  1149. package/lib/page/footer.component.d.ts +0 -5
  1150. package/lib/page/page.component.d.ts +0 -16
  1151. package/lib/page/page.module.d.ts +0 -11
  1152. package/lib/panel-box/panel-box.component.d.ts +0 -19
  1153. package/lib/panel-box/panel-box.module.d.ts +0 -8
  1154. package/lib/password-box/password-box.component.d.ts +0 -12
  1155. package/lib/password-box/password-box.module.d.ts +0 -10
  1156. package/lib/popover/custom-cdk-overlay.service.d.ts +0 -19
  1157. package/lib/popover/overlay.service.d.ts +0 -32
  1158. package/lib/popover/popover.component.d.ts +0 -35
  1159. package/lib/popup/popup.component.d.ts +0 -40
  1160. package/lib/popup/popup.module.d.ts +0 -13
  1161. package/lib/popup/popup.service.d.ts +0 -22
  1162. package/lib/progress-bar/progress-bar.component.d.ts +0 -7
  1163. package/lib/property-editor/editors/check-editor/check-editor.d.ts +0 -19
  1164. package/lib/property-editor/editors/check-editor/check.module.d.ts +0 -11
  1165. package/lib/property-editor/editors/color-editor/color.editor.d.ts +0 -13
  1166. package/lib/property-editor/editors/color-editor/color.module.d.ts +0 -12
  1167. package/lib/property-editor/editors/column-editor/column.editor.d.ts +0 -34
  1168. package/lib/property-editor/editors/column-editor/column.module.d.ts +0 -20
  1169. package/lib/property-editor/editors/conditional-color-editor/conditional-color.editor.d.ts +0 -44
  1170. package/lib/property-editor/editors/conditional-color-editor/conditional-color.module.d.ts +0 -19
  1171. package/lib/property-editor/editors/date-editor/date.editor.d.ts +0 -28
  1172. package/lib/property-editor/editors/date-editor/date.module.d.ts +0 -12
  1173. package/lib/property-editor/editors/number-editor/number.editor.d.ts +0 -22
  1174. package/lib/property-editor/editors/number-editor/number.module.d.ts +0 -12
  1175. package/lib/property-editor/editors/range-editor/range.editor.d.ts +0 -29
  1176. package/lib/property-editor/editors/range-editor/range.module.d.ts +0 -18
  1177. package/lib/property-editor/editors/searchbar-selectbox-editor/searchbar-selectbox-editor.d.ts +0 -29
  1178. package/lib/property-editor/editors/selectbox-editor/selectbox.editor.d.ts +0 -28
  1179. package/lib/property-editor/editors/selectbox-editor/selectbox.module.d.ts +0 -14
  1180. package/lib/property-editor/editors/selection-editor/selection-editor.d.ts +0 -25
  1181. package/lib/property-editor/editors/selection-editor/selection.module.d.ts +0 -11
  1182. package/lib/property-editor/editors/switch-editor/number.editor.d.ts +0 -11
  1183. package/lib/property-editor/editors/switch-editor/number.module.d.ts +0 -13
  1184. package/lib/property-editor/editors/text-editor/text.editor.d.ts +0 -18
  1185. package/lib/property-editor/editors/text-editor/text.module.d.ts +0 -12
  1186. package/lib/property-editor/editors/textarea-editor/textarea.editor.d.ts +0 -17
  1187. package/lib/property-editor/editors/textarea-editor/textarea.module.d.ts +0 -12
  1188. package/lib/property-editor/editors/time-editor/time.editor.d.ts +0 -17
  1189. package/lib/property-editor/editors/time-editor/time.module.d.ts +0 -12
  1190. package/lib/property-editor/property-editor-renderer.directive.d.ts +0 -31
  1191. package/lib/property-editor/property-editor.class.d.ts +0 -93
  1192. package/lib/property-editor/property-editor.module.d.ts +0 -21
  1193. package/lib/query-builder/query-builder-group.component.d.ts +0 -33
  1194. package/lib/query-builder/query-builder-popup/query-builder-popup.component.d.ts +0 -35
  1195. package/lib/query-builder/query-builder-rule.component.d.ts +0 -45
  1196. package/lib/query-builder/query-builder.class.d.ts +0 -45
  1197. package/lib/query-builder/query-builder.component.d.ts +0 -29
  1198. package/lib/query-builder/query-builder.module.d.ts +0 -23
  1199. package/lib/query-builder/query-builder.service.d.ts +0 -18
  1200. package/lib/search-bar/search-bar.component.d.ts +0 -62
  1201. package/lib/search-bar/search-bar.module.d.ts +0 -18
  1202. package/lib/searchbox/searchbox.component.d.ts +0 -23
  1203. package/lib/searchbox/searchbox.module.d.ts +0 -13
  1204. package/lib/selectbox/selectbox.component.d.ts +0 -149
  1205. package/lib/selectbox/selectbox.module.d.ts +0 -15
  1206. package/lib/selectbox/selectbox2.component.d.ts +0 -103
  1207. package/lib/selection-list/selection-list.component.d.ts +0 -32
  1208. package/lib/selection-list/selection-list.module.d.ts +0 -10
  1209. package/lib/switch/switch.component.d.ts +0 -20
  1210. package/lib/switch/switch.module.d.ts +0 -9
  1211. package/lib/tab-page/tab-page-Renderer.component.d.ts +0 -16
  1212. package/lib/tab-page/tab-page-host.component.d.ts +0 -24
  1213. package/lib/tab-page/tab-page.module.d.ts +0 -10
  1214. package/lib/tab-page/tab-page.service.d.ts +0 -30
  1215. package/lib/tab-strip/tab-strip.component.d.ts +0 -28
  1216. package/lib/tab-strip/tab-strip.module.d.ts +0 -8
  1217. package/lib/tab-view/dynamic-tabs.directive.d.ts +0 -16
  1218. package/lib/tab-view/tab-view.component.d.ts +0 -26
  1219. package/lib/tab-view/tab-view.module.d.ts +0 -10
  1220. package/lib/tab-view/tab.component.d.ts +0 -12
  1221. package/lib/textarea/textarea.component.d.ts +0 -12
  1222. package/lib/textarea/textarea.module.d.ts +0 -8
  1223. package/lib/textbox/textbox.component.d.ts +0 -16
  1224. package/lib/textbox/textbox.module.d.ts +0 -11
  1225. package/lib/time-picker/time-picker.component.d.ts +0 -53
  1226. package/lib/time-picker/time-picker.module.d.ts +0 -11
  1227. package/lib/toast/toast-message/toast-message.component.d.ts +0 -18
  1228. package/lib/toast/toast-wrapper/toast-wrapper.component.d.ts +0 -8
  1229. package/lib/toast/toast.module.d.ts +0 -9
  1230. package/lib/toast/toast.service.d.ts +0 -18
  1231. package/lib/toolbar/group-button/toolbar-group-button.component.d.ts +0 -12
  1232. package/lib/toolbar/menu/toolbar-menu.component.d.ts +0 -24
  1233. package/lib/toolbar/search/toolbar-search.component.d.ts +0 -16
  1234. package/lib/toolbar/title/toolbar-title.component.d.ts +0 -9
  1235. package/lib/toolbar/toolbar-item.d.ts +0 -3
  1236. package/lib/toolbar/toolbar.component.d.ts +0 -8
  1237. package/lib/toolbar/toolbar.module.d.ts +0 -14
  1238. package/lib/tooltip/tooltip.directive.d.ts +0 -21
  1239. package/lib/tooltip/tooltip.module.d.ts +0 -8
  1240. package/lib/tree-side-menu/tree-side-menu.component.d.ts +0 -111
  1241. package/lib/tree-side-menu/tree-side-menu.module.d.ts +0 -11
  1242. package/lib/tree-view/tree-view.component.d.ts +0 -121
  1243. package/lib/tree-view/tree-view.module.d.ts +0 -11
  1244. package/lib/upload-file/upload-file.component.d.ts +0 -42
  1245. package/lib/upload-file/upload-file.events.d.ts +0 -10
  1246. package/lib/upload-file/upload-file.module.d.ts +0 -13
  1247. package/lib/validation/validation-form.component.d.ts +0 -19
  1248. package/lib/validation/validation-rule.widget.d.ts +0 -23
  1249. package/lib/validation/validation.class.d.ts +0 -16
  1250. package/lib/validation/validation.component.d.ts +0 -25
  1251. package/lib/validation/validation.module.d.ts +0 -11
  1252. /package/{lib/label → label/lib}/label.module.d.ts +0 -0
  1253. /package/{lib/popover → popover/lib}/popover.module.d.ts +0 -0
  1254. /package/{lib/progress-bar → progress-bar/lib}/progress-bar.module.d.ts +0 -0
@@ -0,0 +1,331 @@
1
+ import * as i0 from '@angular/core';
2
+ import { forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, ViewChild, Input, NgModule } from '@angular/core';
3
+ import * as i2 from 'angular-imask';
4
+ import { IMaskDirective, IMaskModule } from 'angular-imask';
5
+ import { createMask } from 'imask';
6
+ import { MXInputBaseValueComponent, MXLookComponent, AXComponent, AXFocusableComponent, AXClearableComponent, AXValuableComponent } from '@acorex/components/common';
7
+ import * as i1 from '@angular/forms';
8
+ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
9
+ import { toNumber, isEmpty } from 'lodash-es';
10
+ import { classes } from 'polytype';
11
+ import { AXButtonModule } from '@acorex/components/button';
12
+ import { AXDecoratorModule } from '@acorex/components/decorators';
13
+ import { CommonModule } from '@angular/common';
14
+
15
+ /**
16
+ * The NumberBox is a component which detects user interaction and triggers a corresponding event
17
+ *
18
+ * @category Components
19
+ */
20
+ class AXNumberBoxComponent extends classes((MXInputBaseValueComponent), MXLookComponent) {
21
+ constructor() {
22
+ super(...arguments);
23
+ this._padDecimalZeros = false;
24
+ /**
25
+ * Specifies the value that is used to increment or decrement the **Integer** part of number
26
+ */
27
+ this.step = 1;
28
+ this._decimals = 0;
29
+ /**
30
+ * Specifies the value that is used to increment or decrement the **Deciaml** part of number
31
+ */
32
+ this.decimalStep = 'auto';
33
+ /**
34
+ * Specifies whether the Up and Down spin buttons will be rendered or not
35
+ */
36
+ this.showSpinButtons = true;
37
+ this._minValue = Number.MIN_SAFE_INTEGER;
38
+ this._maxValue = Number.MAX_SAFE_INTEGER;
39
+ }
40
+ /**
41
+ * A character value that specifies the separator character.
42
+ */
43
+ get thousandsSeparator() {
44
+ return this._thousandsSeparator;
45
+ }
46
+ set thousandsSeparator(v) {
47
+ this.setOption({
48
+ name: 'thousandsSeparator',
49
+ value: v ?? '',
50
+ });
51
+ }
52
+ /**
53
+ * A character value that specifies the separator character.
54
+ */
55
+ get padDecimalZeros() {
56
+ return this._padDecimalZeros;
57
+ }
58
+ set padDecimalZeros(v) {
59
+ this.setOption({
60
+ name: 'padDecimalZeros',
61
+ value: v,
62
+ });
63
+ }
64
+ /**
65
+ * Specifies the number of decimals that the user can enter
66
+ */
67
+ get decimals() {
68
+ return this._decimals;
69
+ }
70
+ set decimals(v) {
71
+ this.setOption({
72
+ name: 'decimals',
73
+ value: v ?? 0,
74
+ });
75
+ }
76
+ /**
77
+ * Specifies the smallest value that is valid
78
+ */
79
+ get minValue() {
80
+ return this._minValue;
81
+ }
82
+ set minValue(v) {
83
+ this.setOption({
84
+ name: 'minValue',
85
+ value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,
86
+ });
87
+ }
88
+ /**
89
+ * Specifies the greatest value that is valid
90
+ */
91
+ get maxValue() {
92
+ return this._maxValue;
93
+ }
94
+ set maxValue(v) {
95
+ this.setOption({
96
+ name: 'maxValue',
97
+ value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,
98
+ });
99
+ }
100
+ ngAfterViewInit() {
101
+ this._updateMask();
102
+ }
103
+ internalOptionChanged() {
104
+ this._updateMask();
105
+ }
106
+ clear() {
107
+ this.input.nativeElement.value = null;
108
+ super.clear(true);
109
+ }
110
+ internalSetValue(value) {
111
+ // || (value == 0 && !this._maskObj.value)
112
+ if (value == null) {
113
+ return this.defaultValue;
114
+ }
115
+ const v = toNumber(value);
116
+ if (v < this.minValue)
117
+ return this.minValue;
118
+ if (v > this.maxValue)
119
+ return this.maxValue;
120
+ return v;
121
+ }
122
+ _updateMask() {
123
+ if (!this._maskObj) {
124
+ this._maskObj = createMask({
125
+ mask: Number,
126
+ min: this.minValue,
127
+ max: this.maxValue,
128
+ thousandsSeparator: this.thousandsSeparator || '',
129
+ scale: this.decimals,
130
+ radix: '.',
131
+ padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,
132
+ });
133
+ this._maskObj.format = (v, m) => {
134
+ return !isNaN(v)
135
+ ? v.toLocaleString('en-US', {
136
+ useGrouping: false,
137
+ maximumFractionDigits: 20,
138
+ })
139
+ : '';
140
+ };
141
+ }
142
+ else {
143
+ this._maskObj.updateOptions({
144
+ min: this.minValue,
145
+ max: this.maxValue,
146
+ thousandsSeparator: this.thousandsSeparator || '',
147
+ scale: this.decimals,
148
+ radix: '.',
149
+ padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,
150
+ });
151
+ }
152
+ this._maskDirective?.maskRef?.updateValue();
153
+ this._maskDirective?.maskRef?.updateControl();
154
+ }
155
+ _handleModelChange(value) {
156
+ if (value == 0 && isEmpty(this.input?.nativeElement?.value)) {
157
+ value = null;
158
+ }
159
+ this.commitValue(value, true);
160
+ }
161
+ _handleOnKeydownEvent(e) {
162
+ if (this.disabled || this.readonly)
163
+ return;
164
+ const ignore = () => {
165
+ e.preventDefault();
166
+ e.stopPropagation();
167
+ };
168
+ const input = e.target;
169
+ const valStr = input.value;
170
+ const decimalPointIndex = valStr.indexOf('.');
171
+ const _cursorPos = input.selectionStart;
172
+ if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
173
+ if (decimalPointIndex > 0 &&
174
+ _cursorPos > decimalPointIndex &&
175
+ this.decimals > 0) {
176
+ e.key === 'ArrowDown'
177
+ ? this.decimalStepDown(true)
178
+ : this.decimalStepUp(true);
179
+ }
180
+ else {
181
+ e.key === 'ArrowDown' ? this.stepDown(true) : this.stepUp(true);
182
+ }
183
+ ignore();
184
+ setTimeout(() => {
185
+ input.setSelectionRange(_cursorPos, _cursorPos);
186
+ }, 5);
187
+ }
188
+ super.emitOnKeydownEvent(e);
189
+ }
190
+ _handleUpDownClick(v) {
191
+ if (this.disabled || this.readonly)
192
+ return;
193
+ v == 1 ? this.stepUp(true) : this.stepDown(true);
194
+ }
195
+ stepUp(u = false) {
196
+ if (!this.value) {
197
+ this.commitValue(Math.max(this.minValue, 0), u);
198
+ }
199
+ this.commitValue(this.value + toNumber(this.step), u);
200
+ }
201
+ stepDown(u = false) {
202
+ if (!this.value) {
203
+ this.commitValue(Math.max(this.minValue, 0), u);
204
+ }
205
+ this.commitValue(this.value - toNumber(this.step), u);
206
+ }
207
+ decimalStepUp(u = false) {
208
+ if (!this.value) {
209
+ this.commitValue(Math.max(this.minValue, 0), u);
210
+ }
211
+ this.commitValue(this.value +
212
+ toNumber(this.decimalStep == 'auto'
213
+ ? 1 / Math.pow(10, this.decimals)
214
+ : this.decimalStep), u);
215
+ }
216
+ decimalStepDown(u = false) {
217
+ if (!this.value) {
218
+ this.commitValue(Math.max(this.minValue, 0), u);
219
+ }
220
+ this.commitValue(this.value -
221
+ toNumber(this.decimalStep == 'auto'
222
+ ? 1 / Math.pow(10, this.decimals)
223
+ : this.decimalStep), u);
224
+ }
225
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
226
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXNumberBoxComponent, selector: "ax-number-box", inputs: { disabled: "disabled", readonly: "readonly", tabIndex: "tabIndex", placeholder: "placeholder", value: "value", state: "state", name: "name", id: "id", look: "look", thousandsSeparator: "thousandsSeparator", padDecimalZeros: "padDecimalZeros", step: "step", decimals: "decimals", decimalStep: "decimalStep", showSpinButtons: "showSpinButtons", minValue: "minValue", maxValue: "maxValue", classNames: ["class", "classNames"] }, outputs: { valueChange: "valueChange", stateChange: "stateChange", onValueChanged: "onValueChanged", onBlur: "onBlur", onFocus: "onFocus", readonlyChange: "readonlyChange", disabledChange: "disabledChange", onKeyDown: "onKeyDown", onKeyUp: "onKeyUp", onKeyPress: "onKeyPress" }, providers: [
227
+ { provide: AXComponent, useExisting: AXNumberBoxComponent },
228
+ { provide: AXFocusableComponent, useExisting: AXNumberBoxComponent },
229
+ { provide: AXClearableComponent, useExisting: AXNumberBoxComponent },
230
+ { provide: AXValuableComponent, useExisting: AXNumberBoxComponent },
231
+ {
232
+ provide: NG_VALUE_ACCESSOR,
233
+ useExisting: forwardRef(() => AXNumberBoxComponent),
234
+ multi: true,
235
+ },
236
+ ], viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true }, { propertyName: "_maskDirective", first: true, predicate: IMaskDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ax-editor-container ax-look-{{look}} {{classNames}}\" [class.ax-state-disabled]=\"disabled\">\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input #input class=\"ax-input\" type=\"text\" [id]=\"id\" [name]=\"name\" [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\" [imask]=\"_maskObj\" [unmask]=\"'typed'\" [attr.min]=\"minValue\" [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"value\" (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\" (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\" />\n @if(input.value && !disabled && !readonly){\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if(showSpinButtons){\n <div class=\"ax-number-box-control\">\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-increment\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(1)\" tabindex=\"-1\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-up\"></span>\n </button>\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-decrement\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(-1)\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-down\" tabindex=\"-1\"></span>\n </button>\n </div>\n }\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>", styles: [".ax-number-box-control{margin-inline-end:.25rem;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:.5rem 0}.ax-number-box-control .ax-general-button{display:flex;height:1rem;width:1.25rem;border-radius:.25rem}.ax-number-box-control .ax-general-button.ax-number-box-increment i:hover,.ax-number-box-control .ax-general-button.ax-number-box-decrement i:hover{align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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"] }, { kind: "directive", type: i2.IMaskDirective, selector: "[imask]", inputs: ["imask", "unmask", "imaskElement"], outputs: ["accept", "complete"], exportAs: ["imask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
237
+ }
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxComponent, decorators: [{
239
+ type: Component,
240
+ args: [{ selector: 'ax-number-box', inputs: [
241
+ 'disabled',
242
+ 'readonly',
243
+ 'tabIndex',
244
+ 'placeholder',
245
+ 'value',
246
+ 'state',
247
+ 'name',
248
+ 'id',
249
+ 'look',
250
+ ], outputs: [
251
+ 'valueChange',
252
+ 'stateChange',
253
+ 'onValueChanged',
254
+ 'onBlur',
255
+ 'onFocus',
256
+ 'readonlyChange',
257
+ 'disabledChange',
258
+ 'onKeyDown',
259
+ 'onKeyUp',
260
+ 'onKeyPress',
261
+ ], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
262
+ { provide: AXComponent, useExisting: AXNumberBoxComponent },
263
+ { provide: AXFocusableComponent, useExisting: AXNumberBoxComponent },
264
+ { provide: AXClearableComponent, useExisting: AXNumberBoxComponent },
265
+ { provide: AXValuableComponent, useExisting: AXNumberBoxComponent },
266
+ {
267
+ provide: NG_VALUE_ACCESSOR,
268
+ useExisting: forwardRef(() => AXNumberBoxComponent),
269
+ multi: true,
270
+ },
271
+ ], template: "<div class=\"ax-editor-container ax-look-{{look}} {{classNames}}\" [class.ax-state-disabled]=\"disabled\">\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input #input class=\"ax-input\" type=\"text\" [id]=\"id\" [name]=\"name\" [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\" [imask]=\"_maskObj\" [unmask]=\"'typed'\" [attr.min]=\"minValue\" [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"value\" (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\" (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\" />\n @if(input.value && !disabled && !readonly){\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if(showSpinButtons){\n <div class=\"ax-number-box-control\">\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-increment\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(1)\" tabindex=\"-1\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-up\"></span>\n </button>\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-decrement\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(-1)\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-down\" tabindex=\"-1\"></span>\n </button>\n </div>\n }\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>", styles: [".ax-number-box-control{margin-inline-end:.25rem;display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding:.5rem 0}.ax-number-box-control .ax-general-button{display:flex;height:1rem;width:1.25rem;border-radius:.25rem}.ax-number-box-control .ax-general-button.ax-number-box-increment i:hover,.ax-number-box-control .ax-general-button.ax-number-box-decrement i:hover{align-items:center}\n"] }]
272
+ }], propDecorators: { input: [{
273
+ type: ViewChild,
274
+ args: ['input']
275
+ }], thousandsSeparator: [{
276
+ type: Input
277
+ }], padDecimalZeros: [{
278
+ type: Input
279
+ }], step: [{
280
+ type: Input
281
+ }], decimals: [{
282
+ type: Input
283
+ }], decimalStep: [{
284
+ type: Input
285
+ }], showSpinButtons: [{
286
+ type: Input
287
+ }], minValue: [{
288
+ type: Input
289
+ }], maxValue: [{
290
+ type: Input
291
+ }], classNames: [{
292
+ type: Input,
293
+ args: ['class']
294
+ }], _maskDirective: [{
295
+ type: ViewChild,
296
+ args: [IMaskDirective]
297
+ }] } });
298
+
299
+ const COMPONENT = [AXNumberBoxComponent];
300
+ const MODULES = [
301
+ CommonModule,
302
+ FormsModule,
303
+ AXButtonModule,
304
+ AXDecoratorModule,
305
+ IMaskModule,
306
+ ];
307
+ class AXNumberBoxModule {
308
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
309
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxModule, declarations: [AXNumberBoxComponent], imports: [CommonModule,
310
+ FormsModule,
311
+ AXButtonModule,
312
+ AXDecoratorModule,
313
+ IMaskModule], exports: [AXNumberBoxComponent] }); }
314
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxModule, imports: [MODULES] }); }
315
+ }
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXNumberBoxModule, decorators: [{
317
+ type: NgModule,
318
+ args: [{
319
+ declarations: [...COMPONENT],
320
+ imports: [...MODULES],
321
+ exports: [...COMPONENT],
322
+ providers: [],
323
+ }]
324
+ }] });
325
+
326
+ /**
327
+ * Generated bundle index. Do not edit.
328
+ */
329
+
330
+ export { AXNumberBoxComponent, AXNumberBoxModule };
331
+ //# sourceMappingURL=acorex-components-number-box.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-number-box.mjs","sources":["../../../../libs/components/number-box/src/lib/number-box.component.ts","../../../../libs/components/number-box/src/lib/number-box.component.html","../../../../libs/components/number-box/src/lib/number-box.module.ts","../../../../libs/components/number-box/src/acorex-components-number-box.ts"],"sourcesContent":["import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n ViewChild,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { IMaskDirective } from 'angular-imask';\nimport { MaskedNumber, createMask } from 'imask';\n\nimport {\n AXClearableComponent,\n AXComponent,\n AXFocusableComponent,\n AXValuableComponent,\n MXInputBaseValueComponent,\n MXLookComponent,\n} from '@acorex/components/common';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { isEmpty, toNumber } from 'lodash-es';\nimport { classes } from 'polytype';\n\n/**\n * The NumberBox is a component which detects user interaction and triggers a corresponding event\n *\n * @category Components\n */\n@Component({\n selector: 'ax-number-box',\n templateUrl: './number-box.component.html',\n styleUrls: ['./number-box.component.scss'],\n inputs: [\n 'disabled',\n 'readonly',\n 'tabIndex',\n 'placeholder',\n 'value',\n 'state',\n 'name',\n 'id',\n 'look',\n ],\n outputs: [\n 'valueChange',\n 'stateChange',\n 'onValueChanged',\n 'onBlur',\n 'onFocus',\n 'readonlyChange',\n 'disabledChange',\n 'onKeyDown',\n 'onKeyUp',\n 'onKeyPress',\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n\n providers: [\n { provide: AXComponent, useExisting: AXNumberBoxComponent },\n { provide: AXFocusableComponent, useExisting: AXNumberBoxComponent },\n { provide: AXClearableComponent, useExisting: AXNumberBoxComponent },\n { provide: AXValuableComponent, useExisting: AXNumberBoxComponent },\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXNumberBoxComponent),\n multi: true,\n },\n ],\n})\nexport class AXNumberBoxComponent\n extends classes(MXInputBaseValueComponent<number>, MXLookComponent)\n implements AfterViewInit\n{\n @ViewChild('input') input: ElementRef<HTMLInputElement>;\n\n private _thousandsSeparator: string;\n /**\n * A character value that specifies the separator character.\n */\n @Input()\n public get thousandsSeparator(): string {\n return this._thousandsSeparator;\n }\n public set thousandsSeparator(v: string) {\n this.setOption({\n name: 'thousandsSeparator',\n value: v ?? '',\n });\n }\n\n private _padDecimalZeros = false;\n /**\n * A character value that specifies the separator character.\n */\n @Input()\n public get padDecimalZeros(): boolean {\n return this._padDecimalZeros;\n }\n public set padDecimalZeros(v: boolean) {\n this.setOption({\n name: 'padDecimalZeros',\n value: v,\n });\n }\n\n /**\n * Specifies the value that is used to increment or decrement the **Integer** part of number\n */\n @Input()\n step = 1;\n\n private _decimals = 0;\n /**\n * Specifies the number of decimals that the user can enter\n */\n @Input()\n public get decimals(): number {\n return this._decimals;\n }\n public set decimals(v: number) {\n this.setOption({\n name: 'decimals',\n value: v ?? 0,\n });\n }\n\n /**\n * Specifies the value that is used to increment or decrement the **Deciaml** part of number\n */\n @Input()\n decimalStep: number | 'auto' = 'auto';\n\n /**\n * Specifies whether the Up and Down spin buttons will be rendered or not\n */\n @Input()\n showSpinButtons = true;\n\n private _minValue: number = Number.MIN_SAFE_INTEGER;\n /**\n * Specifies the smallest value that is valid\n */\n @Input()\n public get minValue(): number {\n return this._minValue;\n }\n public set minValue(v: number) {\n this.setOption({\n name: 'minValue',\n value: v != null ? Number(v) : Number.MIN_SAFE_INTEGER,\n });\n }\n\n private _maxValue: number = Number.MAX_SAFE_INTEGER;\n /**\n * Specifies the greatest value that is valid\n */\n @Input()\n public get maxValue(): number {\n return this._maxValue;\n }\n public set maxValue(v: number) {\n this.setOption({\n name: 'maxValue',\n value: v != null ? Number(v) : Number.MAX_SAFE_INTEGER,\n });\n }\n\n @Input('class')\n classNames: string;\n\n /**\n * @ignore\n */\n _maskObj: MaskedNumber;\n\n @ViewChild(IMaskDirective)\n private _maskDirective: IMaskDirective<MaskedNumber>;\n\n ngAfterViewInit(): void {\n this._updateMask();\n }\n\n override internalOptionChanged(): void {\n this._updateMask();\n }\n\n override clear(): void {\n this.input.nativeElement.value = null;\n super.clear(true);\n }\n\n override internalSetValue(value: any): number {\n // || (value == 0 && !this._maskObj.value)\n if (value == null) {\n return this.defaultValue;\n }\n const v = toNumber(value);\n if (v < this.minValue) return this.minValue;\n if (v > this.maxValue) return this.maxValue;\n return v;\n }\n\n private _updateMask() {\n if (!this._maskObj) {\n this._maskObj = createMask({\n mask: Number,\n min: this.minValue,\n max: this.maxValue,\n thousandsSeparator: this.thousandsSeparator || '',\n scale: this.decimals,\n radix: '.',\n padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,\n });\n\n this._maskObj.format = (v: number, m) => {\n return !isNaN(v)\n ? v.toLocaleString('en-US', {\n useGrouping: false,\n maximumFractionDigits: 20,\n })\n : '';\n };\n } else {\n this._maskObj.updateOptions({\n min: this.minValue,\n max: this.maxValue,\n thousandsSeparator: this.thousandsSeparator || '',\n scale: this.decimals,\n radix: '.',\n padFractionalZeros: this.decimals > 0 && this.padDecimalZeros,\n });\n }\n this._maskDirective?.maskRef?.updateValue();\n this._maskDirective?.maskRef?.updateControl();\n }\n\n _handleModelChange(value: number) {\n if (value == 0 && isEmpty(this.input?.nativeElement?.value)) {\n value = null;\n }\n\n this.commitValue(value, true);\n }\n\n _handleOnKeydownEvent(e: KeyboardEvent) {\n if (this.disabled || this.readonly) return;\n const ignore = () => {\n e.preventDefault();\n e.stopPropagation();\n };\n const input = e.target as HTMLInputElement;\n const valStr = input.value;\n const decimalPointIndex = valStr.indexOf('.');\n const _cursorPos = input.selectionStart!;\n\n if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {\n if (\n decimalPointIndex > 0 &&\n _cursorPos > decimalPointIndex &&\n this.decimals > 0\n ) {\n e.key === 'ArrowDown'\n ? this.decimalStepDown(true)\n : this.decimalStepUp(true);\n } else {\n e.key === 'ArrowDown' ? this.stepDown(true) : this.stepUp(true);\n }\n ignore();\n setTimeout(() => {\n input.setSelectionRange(_cursorPos, _cursorPos);\n }, 5);\n }\n super.emitOnKeydownEvent(e);\n }\n\n _handleUpDownClick(v: -1 | 1) {\n if (this.disabled || this.readonly) return;\n v == 1 ? this.stepUp(true) : this.stepDown(true);\n }\n\n stepUp(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(this.value + toNumber(this.step), u);\n }\n\n stepDown(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(this.value - toNumber(this.step), u);\n }\n\n decimalStepUp(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(\n this.value +\n toNumber(\n this.decimalStep == 'auto'\n ? 1 / Math.pow(10, this.decimals)\n : this.decimalStep\n ),\n u\n );\n }\n\n decimalStepDown(u = false) {\n if (!this.value) {\n this.commitValue(Math.max(this.minValue, 0), u);\n }\n this.commitValue(\n this.value -\n toNumber(\n this.decimalStep == 'auto'\n ? 1 / Math.pow(10, this.decimals)\n : this.decimalStep\n ),\n u\n );\n }\n\n // @HostBinding('class')\n // get __hostClass(): string {\n // return `ax-editor-container ax-look-${this.look} ${this.disabled ? 'ax-state-disabled' : ''}`;\n // }\n}\n","<div class=\"ax-editor-container ax-look-{{look}} {{classNames}}\" [class.ax-state-disabled]=\"disabled\">\n <ng-content select=\"ax-prefix\"> </ng-content>\n <input #input class=\"ax-input\" type=\"text\" [id]=\"id\" [name]=\"name\" [attr.placeholder]=\"placeholder\"\n [attr.autocomplete]=\"'off'\" [imask]=\"_maskObj\" [unmask]=\"'typed'\" [attr.min]=\"minValue\" [attr.max]=\"maxValue\"\n [class.ax-state-disabled]=\"disabled\" [class.ax-state-readonly]=\"readonly\" [disabled]=\"disabled\"\n [readonly]=\"readonly\" [tabindex]=\"tabIndex\" [ngModel]=\"value\" (ngModelChange)=\"_handleModelChange($event)\"\n (keydown)=\"_handleOnKeydownEvent($event)\" (keyup)=\"emitOnKeyupEvent($event)\"\n (keypress)=\"emitOnKeypressEvent($event)\" (focus)=\"emitOnFocusEvent($event)\" (blur)=\"emitOnBlurEvent($event)\" />\n @if(input.value && !disabled && !readonly){\n <ng-content select=\"ax-clear-button\"></ng-content>\n }\n @if(showSpinButtons){\n <div class=\"ax-number-box-control\">\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-increment\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(1)\" tabindex=\"-1\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-up\"></span>\n </button>\n <button type=\"button\" class=\"ax-general-button ax-button-icon ax-number-box-decrement\"\n [class.ax-state-disabled]=\"disabled\" (click)=\"_handleUpDownClick(-1)\" [disabled]=\"disabled\">\n <span class=\"ax-icon ax-icon-solid ax-icon-arrow-down\" tabindex=\"-1\"></span>\n </button>\n </div>\n }\n <ng-content select=\"ax-suffix\"> </ng-content>\n</div>\n<ng-content select=\"ax-validation-rule\"> </ng-content>\n<div class=\"ax-error-container\"></div>","import { AXButtonModule } from '@acorex/components/button';\nimport { AXDecoratorModule } from '@acorex/components/decorators';\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { IMaskModule } from 'angular-imask';\nimport { AXNumberBoxComponent } from './number-box.component';\n\nconst COMPONENT = [AXNumberBoxComponent];\nconst MODULES = [\n CommonModule,\n FormsModule,\n AXButtonModule,\n AXDecoratorModule,\n IMaskModule,\n];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXNumberBoxModule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AAA,CAAA;sBADlB,KAAK;gBAYN,UAAU,EAAA,CAAA;sBADT,KAAK;uBAAC,OAAO,CAAA;gBASN,cAAc,EAAA,CAAA;sBADrB,SAAS;uBAAC,cAAc,CAAA;;;AE3K3B,MAAM,SAAS,GAAG,CAAC,oBAAoB,CAAC,CAAC;AACzC,MAAM,OAAO,GAAG;IACd,YAAY;IACZ,WAAW;IACX,cAAc;IACd,iBAAiB;IACjB,WAAW;CACZ,CAAC;MAQW,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAfX,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAErC,YAAY;YACZ,WAAW;YACX,cAAc;YACd,iBAAiB;AACjB,YAAA,WAAW,aANM,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;AAe1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAJf,OAAO,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIT,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAN7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,GAAG,SAAS,CAAC;AAC5B,oBAAA,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;AACrB,oBAAA,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC;AACvB,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
@@ -0,0 +1,186 @@
1
+ import { AXEvent, MXValueComponent, MXLookComponent } from '@acorex/components/common';
2
+ import * as i0 from '@angular/core';
3
+ import { EventEmitter, forwardRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Output, Input, NgModule } from '@angular/core';
4
+ import * as i2 from '@angular/forms';
5
+ import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
6
+ import { classes } from 'polytype';
7
+ import * as i1 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+
10
+ class AXOtpCompletedEvent extends AXEvent {
11
+ }
12
+
13
+ class AXOtpComponent extends classes((MXValueComponent), MXLookComponent) {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.inputs = [];
17
+ this.lengthChange = new EventEmitter();
18
+ this.onCompleted = new EventEmitter();
19
+ this._numbers = [];
20
+ }
21
+ get length() {
22
+ return this._length;
23
+ }
24
+ set length(v) {
25
+ this.setOption({
26
+ name: 'length',
27
+ afterCallback: () => {
28
+ this._render();
29
+ this.calcFontSize();
30
+ },
31
+ value: v,
32
+ });
33
+ }
34
+ clear() {
35
+ this._numbers = [];
36
+ this.setState('clear');
37
+ }
38
+ ngOnInit() {
39
+ super.ngOnInit();
40
+ this._render();
41
+ }
42
+ _render() {
43
+ this.inputs = Array(this.length)
44
+ .fill(1)
45
+ .map((x, i) => i);
46
+ }
47
+ ngAfterViewInit() {
48
+ this.calcFontSize();
49
+ }
50
+ _handleOnInput(event, i) {
51
+ const inputs = this.getHostElement().querySelectorAll('.ax-input');
52
+ const numberRegex = /^\d+$/;
53
+ if (!numberRegex.test(event.target.value)) {
54
+ event.target.value = '';
55
+ return;
56
+ }
57
+ if (event.target.value.length > 1) {
58
+ const currentValue = event.target.value;
59
+ event.target.value = '';
60
+ event.target.value = currentValue.slice(-1);
61
+ }
62
+ if (inputs[i + 1]) {
63
+ inputs[i + 1].select();
64
+ }
65
+ this._numbers[i] = event.target.value;
66
+ // if (this._numbers.filter((c) => c).length === this.length) {
67
+ // this.setState('success');
68
+ // } else {
69
+ // this.setState('error');
70
+ // }
71
+ this.onCompleted.emit({
72
+ component: AXOtpComponent,
73
+ value: this._numbers.join(''),
74
+ isCompleted: this._numbers.filter((c) => c).length === this.length,
75
+ });
76
+ }
77
+ internalSetValue(value) {
78
+ if (value) {
79
+ this._numbers = value?.toString().split('');
80
+ }
81
+ return value;
82
+ }
83
+ calcFontSize() {
84
+ const size = this.getHostElement().querySelector('.ax-input')?.clientWidth;
85
+ const fontSize = Math.min(size, size) * 0.5;
86
+ this.getHostElement().style.setProperty('--font-size', fontSize + 'px');
87
+ }
88
+ _handleOnKeyDown(event, i) {
89
+ const inputs = this.getHostElement().querySelectorAll('.ax-input');
90
+ switch (event.key) {
91
+ case 'Backspace':
92
+ inputs[i].value = '';
93
+ if (inputs[i - 1]) {
94
+ inputs[i - 1].select();
95
+ event.preventDefault();
96
+ }
97
+ this._numbers[i] = null;
98
+ break;
99
+ case 'ArrowRight':
100
+ if (inputs[i + 1]) {
101
+ inputs[i + 1].select();
102
+ }
103
+ break;
104
+ case 'ArrowLeft':
105
+ if (inputs[i - 1]) {
106
+ inputs[i - 1].select();
107
+ }
108
+ break;
109
+ case 'Home':
110
+ inputs[0].focus();
111
+ break;
112
+ case 'End':
113
+ inputs[this.length - 1].select();
114
+ break;
115
+ case 'ArrowUp':
116
+ case 'ArrowDown':
117
+ event.preventDefault();
118
+ break;
119
+ }
120
+ }
121
+ _handleOnPaste(event) {
122
+ const inputs = this.getHostElement().querySelectorAll('.ax-input');
123
+ const data = event.clipboardData.getData('text');
124
+ const isNumber = /\d+/;
125
+ if (isNumber.test(data)) {
126
+ inputs[inputs.length - 1].focus();
127
+ this._numbers = [];
128
+ for (let i = 0; i < inputs.length; i++) {
129
+ this._numbers[i] = +data[i];
130
+ }
131
+ }
132
+ event.preventDefault();
133
+ }
134
+ _handleOnClick(i) {
135
+ const inputs = this.getHostElement().querySelectorAll('.ax-input');
136
+ inputs[i].select();
137
+ }
138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXOtpComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.2", type: AXOtpComponent, selector: "ax-otp", inputs: { state: "state", disabled: "disabled", readonly: "readonly", look: "look", length: "length" }, outputs: { stateChange: "stateChange", disabledChange: "disabledChange", lengthChange: "lengthChange", onCompleted: "onCompleted" }, providers: [
140
+ {
141
+ provide: NG_VALUE_ACCESSOR,
142
+ useExisting: forwardRef(() => AXOtpComponent),
143
+ multi: true,
144
+ },
145
+ ], usesInheritance: true, ngImport: i0, template: "<div dir=\"ltr\" class=\"ax-otp-input-container ax-editor-container ax-look-{{ look }}\"\n [ngStyle]=\"{ 'grid-template-columns': 'repeat(' + inputs.length + ', minmax(0, 1fr))' }\"\n (paste)=\"_handleOnPaste($event)\">\n\n @for(input of inputs; let i = $index; track i){\n <input class=\"ax-input\" type=\"number\" [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-success]=\"state === 'success'\" [class.ax-state-error]=\"state === 'error'\" maxlength=\"1\"\n [ngModel]=\"_numbers[i]\" [disabled]=\"disabled\" [readonly]=\"readonly\" (click)=\"_handleOnClick(i)\"\n (input)=\"_handleOnInput($event, i)\" (keydown)=\"_handleOnKeyDown($event, i)\" [attr.disabled]=\"disabled\" />\n }\n</div>\n<ng-template #name></ng-template>", styles: ["ax-otp{display:block}ax-otp .ax-otp-input-container{display:grid;gap:.5rem}ax-otp .ax-otp-input-container.ax-editor-container{height:auto;border-style:none;outline-color:transparent;overflow:initial;background-color:transparent!important}ax-otp .ax-otp-input-container.ax-editor-container:focus-within,ax-otp .ax-otp-input-container.ax-editor-container:focus{border:none!important;box-shadow:none!important}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-input-surface))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input:focus-within,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-primary-500));border-color:rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error{border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error:focus-within,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-danger-500));border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error .ax-input::placeholder,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input{border-radius:0;border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input:focus-within{border-color:rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input.ax-state-error{border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input{background-color:transparent!important}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input{border-radius:var(--ax-rounded-border-default);background-color:rgba(var(--ax-color-on-surface))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input:focus-within{box-shadow:0 0 0 2px rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error{background-color:rgba(var(--ax-color-danger-50));color:rgba(var(--ax-color-danger-fore-tint))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error:focus-within{box-shadow:0 0 0 2px rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container .ax-input{aspect-ratio:1/1;overflow:hidden;text-align:center;font-size:var(--font-size, 2rem)}ax-otp .ax-otp-input-container.ax-editor-container .ax-input:read-only{cursor:text;opacity:.75}ax-otp .ax-otp-input-container.ax-editor-container .ax-input:disabled{cursor:not-allowed;opacity:.5}ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]{-moz-appearance:textfield}ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]::-webkit-inner-spin-button,ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
146
+ }
147
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXOtpComponent, decorators: [{
148
+ type: Component,
149
+ args: [{ selector: 'ax-otp', inputs: ['state', 'disabled', 'readonly', 'look'], outputs: ['stateChange', 'disabledChange'], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, providers: [
150
+ {
151
+ provide: NG_VALUE_ACCESSOR,
152
+ useExisting: forwardRef(() => AXOtpComponent),
153
+ multi: true,
154
+ },
155
+ ], template: "<div dir=\"ltr\" class=\"ax-otp-input-container ax-editor-container ax-look-{{ look }}\"\n [ngStyle]=\"{ 'grid-template-columns': 'repeat(' + inputs.length + ', minmax(0, 1fr))' }\"\n (paste)=\"_handleOnPaste($event)\">\n\n @for(input of inputs; let i = $index; track i){\n <input class=\"ax-input\" type=\"number\" [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-success]=\"state === 'success'\" [class.ax-state-error]=\"state === 'error'\" maxlength=\"1\"\n [ngModel]=\"_numbers[i]\" [disabled]=\"disabled\" [readonly]=\"readonly\" (click)=\"_handleOnClick(i)\"\n (input)=\"_handleOnInput($event, i)\" (keydown)=\"_handleOnKeyDown($event, i)\" [attr.disabled]=\"disabled\" />\n }\n</div>\n<ng-template #name></ng-template>", styles: ["ax-otp{display:block}ax-otp .ax-otp-input-container{display:grid;gap:.5rem}ax-otp .ax-otp-input-container.ax-editor-container{height:auto;border-style:none;outline-color:transparent;overflow:initial;background-color:transparent!important}ax-otp .ax-otp-input-container.ax-editor-container:focus-within,ax-otp .ax-otp-input-container.ax-editor-container:focus{border:none!important;box-shadow:none!important}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input{border-radius:var(--ax-rounded-border-default);border-width:1px;border-color:rgba(var(--ax-color-border-default));background-color:rgba(var(--ax-color-input-surface))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input:focus-within,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-primary-500));border-color:rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error{border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error:focus-within,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error:focus-within{box-shadow:0 0 0 1px rgba(var(--ax-color-danger-500));border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-solid .ax-input.ax-state-error .ax-input::placeholder,ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input{border-radius:0;border-bottom-width:1px;border-color:rgba(var(--ax-color-border-default))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input:focus-within{border-color:rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input.ax-state-error{border-color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-flat .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-outline .ax-input{background-color:transparent!important}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input{border-radius:var(--ax-rounded-border-default);background-color:rgba(var(--ax-color-on-surface))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input:focus-within{box-shadow:0 0 0 2px rgba(var(--ax-color-primary-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error{background-color:rgba(var(--ax-color-danger-50));color:rgba(var(--ax-color-danger-fore-tint))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error:focus-within{box-shadow:0 0 0 2px rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container.ax-look-fill .ax-input.ax-state-error .ax-input::placeholder{color:rgba(var(--ax-color-danger-500))}ax-otp .ax-otp-input-container.ax-editor-container .ax-input{aspect-ratio:1/1;overflow:hidden;text-align:center;font-size:var(--font-size, 2rem)}ax-otp .ax-otp-input-container.ax-editor-container .ax-input:read-only{cursor:text;opacity:.75}ax-otp .ax-otp-input-container.ax-editor-container .ax-input:disabled{cursor:not-allowed;opacity:.5}ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]{-moz-appearance:textfield}ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]::-webkit-inner-spin-button,ax-otp .ax-otp-input-container.ax-editor-container .ax-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}\n"] }]
156
+ }], propDecorators: { lengthChange: [{
157
+ type: Output
158
+ }], length: [{
159
+ type: Input
160
+ }], onCompleted: [{
161
+ type: Output
162
+ }] } });
163
+
164
+ const COMPONENT = [AXOtpComponent];
165
+ const MODULES = [CommonModule, FormsModule];
166
+ class AXOtpModule {
167
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXOtpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
168
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.2", ngImport: i0, type: AXOtpModule, declarations: [AXOtpComponent], imports: [CommonModule, FormsModule], exports: [AXOtpComponent] }); }
169
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXOtpModule, imports: [MODULES] }); }
170
+ }
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.2", ngImport: i0, type: AXOtpModule, decorators: [{
172
+ type: NgModule,
173
+ args: [{
174
+ declarations: [...COMPONENT],
175
+ imports: [...MODULES],
176
+ exports: [...COMPONENT],
177
+ providers: [],
178
+ }]
179
+ }] });
180
+
181
+ /**
182
+ * Generated bundle index. Do not edit.
183
+ */
184
+
185
+ export { AXOtpCompletedEvent, AXOtpComponent, AXOtpModule };
186
+ //# sourceMappingURL=acorex-components-otp.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acorex-components-otp.mjs","sources":["../../../../libs/components/otp/src/lib/otp.class.ts","../../../../libs/components/otp/src/lib/otp.component.ts","../../../../libs/components/otp/src/lib/otp.component.html","../../../../libs/components/otp/src/lib/otp.module.ts","../../../../libs/components/otp/src/acorex-components-otp.ts"],"sourcesContent":["import { AXEvent } from '@acorex/components/common';\n\nexport class AXOtpCompletedEvent extends AXEvent {\n value: string;\n isCompleted: boolean;\n}\n","import { MXLookComponent, MXValueComponent } from '@acorex/components/common';\nimport {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnInit,\n Output,\n ViewEncapsulation,\n forwardRef,\n} from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { classes } from 'polytype';\nimport { AXOtpCompletedEvent } from './otp.class';\n\n@Component({\n selector: 'ax-otp',\n templateUrl: './otp.component.html',\n styleUrls: ['./otp.component.scss'],\n inputs: ['state', 'disabled', 'readonly', 'look'],\n outputs: ['stateChange', 'disabledChange'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AXOtpComponent),\n multi: true,\n },\n ],\n})\nexport class AXOtpComponent extends classes(MXValueComponent<string>, MXLookComponent) implements OnInit, AfterViewInit {\n inputs: number[] = [];\n\n @Output()\n lengthChange: EventEmitter<number> = new EventEmitter();\n\n private _length: number;\n\n @Input()\n public get length(): number {\n return this._length;\n }\n public set length(v: number) {\n this.setOption({\n name: 'length',\n afterCallback: () => {\n this._render();\n this.calcFontSize();\n },\n value: v,\n });\n }\n\n override clear() {\n this._numbers = [];\n this.setState('clear');\n }\n\n @Output() onCompleted: EventEmitter<AXOtpCompletedEvent> = new EventEmitter<AXOtpCompletedEvent>();\n\n protected _numbers: number[] = [];\n\n override ngOnInit(): void {\n super.ngOnInit();\n this._render();\n }\n\n private _render() {\n this.inputs = Array(this.length)\n .fill(1)\n .map((x, i) => i);\n }\n\n ngAfterViewInit(): void {\n this.calcFontSize();\n }\n\n protected _handleOnInput(event: any, i: number) {\n const inputs = this.getHostElement().querySelectorAll<HTMLInputElement>('.ax-input');\n const numberRegex = /^\\d+$/;\n if (!numberRegex.test(event.target.value)) {\n event.target.value = '';\n return;\n }\n if (event.target.value.length > 1) {\n const currentValue = event.target.value;\n event.target.value = '';\n event.target.value = currentValue.slice(-1);\n }\n if (inputs[i + 1]) {\n inputs[i + 1].select();\n }\n this._numbers[i] = event.target.value;\n // if (this._numbers.filter((c) => c).length === this.length) {\n // this.setState('success');\n // } else {\n // this.setState('error');\n // }\n this.onCompleted.emit({\n component: AXOtpComponent,\n value: this._numbers.join(''),\n isCompleted: this._numbers.filter((c) => c).length === this.length,\n });\n }\n\n override internalSetValue(value: any): string {\n if (value) {\n this._numbers = value?.toString().split('') as any;\n }\n return value;\n }\n\n protected calcFontSize() {\n const size = this.getHostElement().querySelector<HTMLInputElement>('.ax-input')?.clientWidth;\n const fontSize = Math.min(size, size) * 0.5;\n this.getHostElement().style.setProperty('--font-size', fontSize + 'px');\n }\n\n protected _handleOnKeyDown(event: KeyboardEvent, i: number) {\n const inputs = this.getHostElement().querySelectorAll<HTMLInputElement>('.ax-input');\n switch (event.key) {\n case 'Backspace':\n inputs[i].value = '';\n if (inputs[i - 1]) {\n inputs[i - 1].select();\n event.preventDefault();\n }\n this._numbers[i] = null;\n break;\n case 'ArrowRight':\n if (inputs[i + 1]) {\n inputs[i + 1].select();\n }\n break;\n\n case 'ArrowLeft':\n if (inputs[i - 1]) {\n inputs[i - 1].select();\n }\n break;\n case 'Home':\n inputs[0].focus();\n break;\n case 'End':\n inputs[this.length - 1].select();\n break;\n case 'ArrowUp':\n case 'ArrowDown':\n event.preventDefault();\n break;\n }\n }\n\n protected _handleOnPaste(event: ClipboardEvent) {\n const inputs = this.getHostElement().querySelectorAll<HTMLInputElement>('.ax-input');\n const data = event.clipboardData.getData('text');\n const isNumber = /\\d+/;\n\n if (isNumber.test(data)) {\n inputs[inputs.length - 1].focus();\n this._numbers = [];\n for (let i = 0; i < inputs.length; i++) {\n this._numbers[i] = +data[i];\n }\n }\n\n event.preventDefault();\n }\n\n protected _handleOnClick(i) {\n const inputs = this.getHostElement().querySelectorAll<HTMLInputElement>('.ax-input');\n inputs[i].select();\n }\n}\n","<div dir=\"ltr\" class=\"ax-otp-input-container ax-editor-container ax-look-{{ look }}\"\n [ngStyle]=\"{ 'grid-template-columns': 'repeat(' + inputs.length + ', minmax(0, 1fr))' }\"\n (paste)=\"_handleOnPaste($event)\">\n\n @for(input of inputs; let i = $index; track i){\n <input class=\"ax-input\" type=\"number\" [class.ax-state-disabled]=\"disabled\"\n [class.ax-state-success]=\"state === 'success'\" [class.ax-state-error]=\"state === 'error'\" maxlength=\"1\"\n [ngModel]=\"_numbers[i]\" [disabled]=\"disabled\" [readonly]=\"readonly\" (click)=\"_handleOnClick(i)\"\n (input)=\"_handleOnInput($event, i)\" (keydown)=\"_handleOnKeyDown($event, i)\" [attr.disabled]=\"disabled\" />\n }\n</div>\n<ng-template #name></ng-template>","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { AXOtpComponent } from './otp.component';\n\nconst COMPONENT = [AXOtpComponent];\nconst MODULES = [CommonModule, FormsModule];\n\n@NgModule({\n declarations: [...COMPONENT],\n imports: [...MODULES],\n exports: [...COMPONENT],\n providers: [],\n})\nexport class AXOtpModule {}\n","/**\n * Generated bundle index. Do not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