@acorex/components 7.0.41 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (759) hide show
  1. package/action-sheet/src/action-sheet.interface.d.ts +1 -1
  2. package/alert/src/alert.component.d.ts +3 -3
  3. package/avatar/src/avatar.component.d.ts +1 -1
  4. package/badge/src/badge.component.d.ts +3 -3
  5. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +7 -7
  6. package/button/src/button-group.component.d.ts +7 -7
  7. package/button/src/button-item.class.d.ts +1 -1
  8. package/button/src/button-item.component.d.ts +7 -7
  9. package/button/src/button.component.d.ts +1 -1
  10. package/calendar/public-api.d.ts +1 -0
  11. package/calendar/src/calendar-range.component.d.ts +29 -0
  12. package/calendar/src/calendar.class.d.ts +55 -6
  13. package/calendar/src/calendar.component.d.ts +17 -24
  14. package/calendar/src/calendar.module.d.ts +4 -3
  15. package/checkbox/src/checkbox.component.d.ts +1 -1
  16. package/chips/src/chips.component.d.ts +7 -7
  17. package/collapse/src/collapse-group.component.d.ts +1 -1
  18. package/collapse/src/collapse.component.d.ts +1 -1
  19. package/color-palette/src/color-palette-swatches.component.d.ts +1 -1
  20. package/color-palette/src/color-palette.class.d.ts +1 -1
  21. package/color-palette/src/color-palette.component.d.ts +1 -1
  22. package/color-picker/src/color-picker.component.d.ts +20 -17
  23. package/common/public-api.d.ts +1 -0
  24. package/common/src/classes/data.class.d.ts +4 -0
  25. package/common/src/classes/events.class.d.ts +9 -0
  26. package/common/src/classes/styles.class.d.ts +5 -5
  27. package/common/src/components/base-component.class.d.ts +6 -9
  28. package/common/src/components/index.d.ts +1 -0
  29. package/common/src/components/value-component.class.d.ts +45 -0
  30. package/common/src/constant/positions.d.ts +1 -1
  31. package/common/src/directives/auto-focus.directive.d.ts +1 -1
  32. package/common/src/directives/debounce-time.directive.d.ts +1 -1
  33. package/common/src/directives/hotkey.directive.d.ts +2 -2
  34. package/common/src/directives/infinite-scroll.directive.d.ts +1 -1
  35. package/common/src/services/hotkey.service.d.ts +1 -1
  36. package/context-menu/src/context-menu.component.d.ts +1 -1
  37. package/data-pager/src/data-pager-base.component.d.ts +1 -1
  38. package/data-pager/src/data-pager-info.component.d.ts +1 -1
  39. package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +1 -1
  40. package/data-pager/src/data-pager.component.d.ts +1 -1
  41. package/data-table/src/data-column.directive.d.ts +1 -1
  42. package/data-table/src/data-table.component.d.ts +1 -1
  43. package/date-picker/src/datepicker.component.d.ts +15 -15
  44. package/decorators/src/close-button.component.d.ts +1 -1
  45. package/decorators/src/icon.component.d.ts +1 -1
  46. package/decorators/src/overlay.component.d.ts +1 -1
  47. package/decorators/src/sub-title.component.d.ts +1 -1
  48. package/decorators/src/text.component.d.ts +1 -1
  49. package/drawer/src/drawer.component.d.ts +3 -3
  50. package/dropdown/src/dropdown-panel.component.d.ts +1 -1
  51. package/esm2022/action-sheet/src/action-sheet.component.mjs +80 -0
  52. package/{esm2020 → esm2022}/action-sheet/src/action-sheet.module.mjs +5 -5
  53. package/esm2022/action-sheet/src/action-sheet.service.mjs +93 -0
  54. package/esm2022/alert/src/alert.component.mjs +188 -0
  55. package/{esm2020 → esm2022}/alert/src/alert.module.mjs +5 -5
  56. package/{esm2020 → esm2022}/avatar/src/avatar-group.component.mjs +4 -4
  57. package/esm2022/avatar/src/avatar.component.mjs +43 -0
  58. package/{esm2020 → esm2022}/avatar/src/avatar.module.mjs +5 -5
  59. package/esm2022/badge/src/badge.component.mjs +28 -0
  60. package/{esm2020 → esm2022}/badge/src/badge.module.mjs +5 -5
  61. package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +50 -0
  62. package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +27 -0
  63. package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs.module.mjs +5 -5
  64. package/esm2022/button/src/button-group.component.mjs +91 -0
  65. package/esm2022/button/src/button-item.component.mjs +79 -0
  66. package/esm2022/button/src/button.component.mjs +78 -0
  67. package/{esm2020 → esm2022}/button/src/button.module.mjs +9 -9
  68. package/{esm2020 → esm2022}/calendar/public-api.mjs +2 -1
  69. package/esm2022/calendar/src/calendar-range.component.mjs +174 -0
  70. package/esm2022/calendar/src/calendar.class.mjs +280 -0
  71. package/esm2022/calendar/src/calendar.component.mjs +372 -0
  72. package/esm2022/calendar/src/calendar.module.mjs +23 -0
  73. package/esm2022/card/src/card.component.mjs +18 -0
  74. package/{esm2020 → esm2022}/card/src/card.module.mjs +5 -5
  75. package/esm2022/checkbox/src/checkbox.component.mjs +42 -0
  76. package/{esm2020 → esm2022}/checkbox/src/checkbox.module.mjs +5 -5
  77. package/{esm2020 → esm2022}/chips/src/chips.component.mjs +7 -7
  78. package/{esm2020 → esm2022}/chips/src/chips.module.mjs +5 -5
  79. package/esm2022/collapse/src/collapse-group.component.mjs +52 -0
  80. package/esm2022/collapse/src/collapse.component.mjs +47 -0
  81. package/{esm2020 → esm2022}/collapse/src/collapse.module.mjs +5 -5
  82. package/esm2022/color-palette/src/color-palette-input.component.mjs +130 -0
  83. package/esm2022/color-palette/src/color-palette-picker.component.mjs +159 -0
  84. package/esm2022/color-palette/src/color-palette-preview.component.mjs +62 -0
  85. package/esm2022/color-palette/src/color-palette-swatches.component.mjs +304 -0
  86. package/{esm2020 → esm2022}/color-palette/src/color-palette.class.mjs +7 -7
  87. package/esm2022/color-palette/src/color-palette.component.mjs +75 -0
  88. package/{esm2020 → esm2022}/color-palette/src/color-palette.module.mjs +19 -19
  89. package/esm2022/color-picker/src/color-picker.component.mjs +119 -0
  90. package/{esm2020 → esm2022}/color-picker/src/color-picker.module.mjs +25 -25
  91. package/esm2022/common/public-api.mjs +17 -0
  92. package/esm2022/common/src/classes/components.class.mjs +72 -0
  93. package/esm2022/common/src/classes/data.class.mjs +2 -0
  94. package/esm2022/common/src/classes/events.class.mjs +96 -0
  95. package/{esm2020 → esm2022}/common/src/common.module.mjs +13 -13
  96. package/esm2022/common/src/components/base-component.class.mjs +57 -0
  97. package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
  98. package/esm2022/common/src/components/color-component.class.mjs +27 -0
  99. package/{esm2020 → esm2022}/common/src/components/index.mjs +2 -1
  100. package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
  101. package/{esm2020 → esm2022}/common/src/components/look-component.class.mjs +3 -3
  102. package/esm2022/common/src/components/value-component.class.mjs +206 -0
  103. package/esm2022/common/src/directives/auto-focus.directive.mjs +57 -0
  104. package/esm2022/common/src/directives/debounce-time.directive.mjs +49 -0
  105. package/esm2022/common/src/directives/hotkey.directive.mjs +82 -0
  106. package/esm2022/common/src/directives/infinite-scroll.directive.mjs +69 -0
  107. package/esm2022/common/src/directives/responsive.directive.mjs +35 -0
  108. package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +50 -0
  109. package/esm2022/common/src/services/hotkey.service.mjs +40 -0
  110. package/esm2022/common/src/services/overlay.service.mjs +115 -0
  111. package/esm2022/context-menu/src/context-menu.component.mjs +270 -0
  112. package/{esm2020 → esm2022}/context-menu/src/context-menu.module.mjs +9 -9
  113. package/esm2022/data-pager/src/data-pager-base.component.mjs +35 -0
  114. package/esm2022/data-pager/src/data-pager-info.component.mjs +61 -0
  115. package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +53 -0
  116. package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +66 -0
  117. package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +100 -0
  118. package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +88 -0
  119. package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +61 -0
  120. package/esm2022/data-pager/src/data-pager.component.mjs +146 -0
  121. package/{esm2020 → esm2022}/data-pager/src/data-pager.module.mjs +17 -17
  122. package/esm2022/data-table/src/data-column-cell-template.directive.mjs +18 -0
  123. package/esm2022/data-table/src/data-column.directive.mjs +50 -0
  124. package/esm2022/data-table/src/data-table.component.mjs +139 -0
  125. package/{esm2020 → esm2022}/data-table/src/data-table.module.mjs +5 -5
  126. package/esm2022/date-picker/src/datepicker.component.mjs +240 -0
  127. package/{esm2020 → esm2022}/date-picker/src/datepicker.module.mjs +12 -12
  128. package/esm2022/decorators/src/close-button.component.mjs +51 -0
  129. package/{esm2020 → esm2022}/decorators/src/content.component.mjs +4 -4
  130. package/{esm2020 → esm2022}/decorators/src/decorators.module.mjs +29 -29
  131. package/{esm2020 → esm2022}/decorators/src/footer.component.mjs +5 -5
  132. package/{esm2020 → esm2022}/decorators/src/form-hint.component.mjs +4 -4
  133. package/{esm2020 → esm2022}/decorators/src/header.component.mjs +5 -5
  134. package/esm2022/decorators/src/icon.component.mjs +30 -0
  135. package/esm2022/decorators/src/overlay.component.mjs +20 -0
  136. package/{esm2020 → esm2022}/decorators/src/placeholder.component.mjs +4 -4
  137. package/{esm2020 → esm2022}/decorators/src/prefix.component.mjs +4 -4
  138. package/esm2022/decorators/src/sub-title.component.mjs +27 -0
  139. package/{esm2020 → esm2022}/decorators/src/suffix.component.mjs +4 -4
  140. package/esm2022/decorators/src/text.component.mjs +22 -0
  141. package/{esm2020 → esm2022}/decorators/src/title.component.mjs +4 -4
  142. package/{esm2020 → esm2022}/dialog/src/dialog.component.mjs +7 -4
  143. package/{esm2020 → esm2022}/dialog/src/dialog.module.mjs +5 -5
  144. package/esm2022/dialog/src/dialog.service.mjs +154 -0
  145. package/esm2022/drawer/src/drawer-container.component.mjs +38 -0
  146. package/esm2022/drawer/src/drawer.component.mjs +144 -0
  147. package/{esm2020 → esm2022}/drawer/src/drawer.module.mjs +5 -5
  148. package/esm2022/dropdown/src/dropdown-panel.component.mjs +105 -0
  149. package/{esm2020 → esm2022}/dropdown/src/dropdown.module.mjs +5 -5
  150. package/{esm2020 → esm2022}/form/src/form-field.component.mjs +4 -4
  151. package/esm2022/form/src/form.component.mjs +163 -0
  152. package/{esm2020 → esm2022}/form/src/form.module.mjs +11 -11
  153. package/esm2022/form/src/validation-rule.widget.mjs +113 -0
  154. package/esm2022/form/src/validation-summary.component.mjs +109 -0
  155. package/esm2022/image/src/image.component.mjs +79 -0
  156. package/{esm2020 → esm2022}/image/src/image.module.mjs +5 -5
  157. package/esm2022/label/src/label.component.mjs +48 -0
  158. package/{esm2020 → esm2022}/label/src/label.module.mjs +5 -5
  159. package/{esm2020 → esm2022}/loading/src/loading-spinner.component.mjs +6 -5
  160. package/esm2022/loading/src/loading.component.mjs +67 -0
  161. package/esm2022/loading/src/loading.directive.mjs +76 -0
  162. package/{esm2020 → esm2022}/loading/src/loading.module.mjs +5 -5
  163. package/esm2022/loading/src/loading.service.mjs +158 -0
  164. package/esm2022/menu/src/menu.component.mjs +346 -0
  165. package/{esm2020 → esm2022}/menu/src/menu.module.mjs +8 -8
  166. package/esm2022/mixin/src/base-components.class.mjs +110 -0
  167. package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
  168. package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
  169. package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
  170. package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
  171. package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
  172. package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
  173. package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
  174. package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
  175. package/esm2022/mixin/src/selection-component.class.mjs +183 -0
  176. package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
  177. package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
  178. package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
  179. package/esm2022/notification/src/notification.component.mjs +92 -0
  180. package/{esm2020 → esm2022}/notification/src/notification.module.mjs +5 -5
  181. package/esm2022/notification/src/notification.service.mjs +109 -0
  182. package/esm2022/number-box/src/number-box.component.mjs +268 -0
  183. package/{esm2020 → esm2022}/number-box/src/number-box.module.mjs +9 -9
  184. package/esm2022/page/src/base-page.class.mjs +63 -0
  185. package/esm2022/page/src/page.component.mjs +46 -0
  186. package/{esm2020 → esm2022}/page/src/page.module.mjs +5 -5
  187. package/esm2022/password-box/src/password-box.component.mjs +63 -0
  188. package/{esm2020 → esm2022}/password-box/src/password-box.module.mjs +8 -8
  189. package/esm2022/picker/src/picker-column.component.mjs +20 -0
  190. package/{esm2020 → esm2022}/picker/src/picker.component.mjs +4 -4
  191. package/{esm2020 → esm2022}/picker/src/picker.module.mjs +9 -9
  192. package/esm2022/popover/src/popover.component.mjs +262 -0
  193. package/{esm2020 → esm2022}/popover/src/popover.module.mjs +5 -5
  194. package/esm2022/popup/src/popup.component.mjs +145 -0
  195. package/{esm2020 → esm2022}/popup/src/popup.module.mjs +5 -5
  196. package/esm2022/popup/src/popup.service.mjs +116 -0
  197. package/{esm2020 → esm2022}/progress-bar/src/progress-bar.component.mjs +5 -5
  198. package/{esm2020 → esm2022}/progress-bar/src/progress-bar.module.mjs +5 -5
  199. package/{esm2020 → esm2022}/radio/src/radio.component.mjs +4 -4
  200. package/{esm2020 → esm2022}/radio/src/radio.module.mjs +5 -5
  201. package/esm2022/range-slider/src/range-slider.component.mjs +117 -0
  202. package/{esm2020 → esm2022}/range-slider/src/range-slider.module.mjs +5 -5
  203. package/esm2022/rating/src/rating.component.mjs +41 -0
  204. package/{esm2020 → esm2022}/rating/src/rating.component.module.mjs +5 -5
  205. package/esm2022/result/src/result.component.mjs +26 -0
  206. package/{esm2020 → esm2022}/result/src/result.module.mjs +5 -5
  207. package/esm2022/search-box/src/search-box.component.mjs +54 -0
  208. package/{esm2020 → esm2022}/search-box/src/search-box.module.mjs +5 -5
  209. package/esm2022/select-box/src/selectbox.component.mjs +391 -0
  210. package/{esm2020 → esm2022}/select-box/src/selectbox.module.mjs +27 -27
  211. package/{esm2020 → esm2022}/selection-list/src/selection-list.component.mjs +8 -8
  212. package/{esm2020 → esm2022}/selection-list/src/selection-list.module.mjs +5 -5
  213. package/{esm2020 → esm2022}/switch/src/switch-content.component.mjs +4 -4
  214. package/{esm2020 → esm2022}/switch/src/switch.component.mjs +7 -4
  215. package/{esm2020 → esm2022}/switch/src/switch.module.mjs +5 -5
  216. package/esm2022/tabs/src/tab-content.directive.mjs +31 -0
  217. package/esm2022/tabs/src/tab-item.component.mjs +140 -0
  218. package/esm2022/tabs/src/tabs.class.mjs +6 -0
  219. package/{esm2020 → esm2022}/tabs/src/tabs.component.mjs +14 -11
  220. package/{esm2020 → esm2022}/tabs/src/tabs.module.mjs +5 -5
  221. package/{esm2020 → esm2022}/tag/src/tag.component.mjs +6 -6
  222. package/{esm2020 → esm2022}/tag/src/tag.module.mjs +5 -5
  223. package/esm2022/textarea/src/textarea.component.mjs +29 -0
  224. package/{esm2020 → esm2022}/textarea/src/textarea.module.mjs +5 -5
  225. package/esm2022/textbox/src/mask-options.directive.mjs +19 -0
  226. package/esm2022/textbox/src/textbox.component.mjs +95 -0
  227. package/{esm2020 → esm2022}/textbox/src/textbox.module.mjs +13 -13
  228. package/esm2022/time-box/src/time-box.component.mjs +305 -0
  229. package/{esm2020 → esm2022}/time-box/src/time-box.module.mjs +8 -8
  230. package/esm2022/toast/src/toast.component.mjs +67 -0
  231. package/{esm2020 → esm2022}/toast/src/toast.module.mjs +5 -5
  232. package/esm2022/toast/src/toast.service.mjs +136 -0
  233. package/esm2022/tooltip/src/tooltip.component.mjs +21 -0
  234. package/esm2022/tooltip/src/tooltip.directive.mjs +163 -0
  235. package/{esm2020 → esm2022}/tooltip/src/tooltip.module.mjs +5 -5
  236. package/esm2022/tree-view/src/tree-view.component.mjs +107 -0
  237. package/{esm2020 → esm2022}/tree-view/src/tree-view.module.mjs +5 -5
  238. package/esm2022/uploader/src/uploader.component.mjs +101 -0
  239. package/{esm2020 → esm2022}/uploader/src/uploader.module.mjs +5 -5
  240. package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs +21 -16
  241. package/{fesm2020 → fesm2022}/acorex-components-action-sheet.mjs.map +1 -1
  242. package/{fesm2020 → fesm2022}/acorex-components-alert.mjs +41 -32
  243. package/{fesm2020 → fesm2022}/acorex-components-alert.mjs.map +1 -1
  244. package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs +12 -11
  245. package/{fesm2020 → fesm2022}/acorex-components-avatar.mjs.map +1 -1
  246. package/{fesm2015 → fesm2022}/acorex-components-badge.mjs +9 -9
  247. package/{fesm2015 → fesm2022}/acorex-components-badge.mjs.map +1 -1
  248. package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs +16 -11
  249. package/{fesm2020 → fesm2022}/acorex-components-breadcrumbs.mjs.map +1 -1
  250. package/{fesm2020 → fesm2022}/acorex-components-button.mjs +45 -48
  251. package/fesm2022/acorex-components-button.mjs.map +1 -0
  252. package/fesm2022/acorex-components-calendar.mjs +837 -0
  253. package/fesm2022/acorex-components-calendar.mjs.map +1 -0
  254. package/fesm2022/acorex-components-card.mjs +41 -0
  255. package/{fesm2015 → fesm2022}/acorex-components-card.mjs.map +1 -1
  256. package/{fesm2020 → fesm2022}/acorex-components-checkbox.mjs +8 -8
  257. package/{fesm2015 → fesm2022}/acorex-components-checkbox.mjs.map +1 -1
  258. package/{fesm2015 → fesm2022}/acorex-components-chips.mjs +10 -11
  259. package/{fesm2020 → fesm2022}/acorex-components-chips.mjs.map +1 -1
  260. package/{fesm2015 → fesm2022}/acorex-components-collapse.mjs +21 -18
  261. package/{fesm2020 → fesm2022}/acorex-components-collapse.mjs.map +1 -1
  262. package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs +337 -331
  263. package/{fesm2020 → fesm2022}/acorex-components-color-palette.mjs.map +1 -1
  264. package/fesm2022/acorex-components-color-picker.mjs +182 -0
  265. package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
  266. package/{fesm2020 → fesm2022}/acorex-components-common.mjs +405 -140
  267. package/fesm2022/acorex-components-common.mjs.map +1 -0
  268. package/{fesm2020 → fesm2022}/acorex-components-context-menu.mjs +29 -20
  269. package/{fesm2015 → fesm2022}/acorex-components-context-menu.mjs.map +1 -1
  270. package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs +95 -80
  271. package/{fesm2020 → fesm2022}/acorex-components-data-pager.mjs.map +1 -1
  272. package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs +40 -31
  273. package/{fesm2020 → fesm2022}/acorex-components-data-table.mjs.map +1 -1
  274. package/fesm2022/acorex-components-date-picker.mjs +285 -0
  275. package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
  276. package/{fesm2020 → fesm2022}/acorex-components-decorators.mjs +80 -80
  277. package/{fesm2015 → fesm2022}/acorex-components-decorators.mjs.map +1 -1
  278. package/{fesm2020 → fesm2022}/acorex-components-dialog.mjs +16 -11
  279. package/{fesm2015 → fesm2022}/acorex-components-dialog.mjs.map +1 -1
  280. package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs +25 -21
  281. package/{fesm2020 → fesm2022}/acorex-components-drawer.mjs.map +1 -1
  282. package/{fesm2020 → fesm2022}/acorex-components-dropdown.mjs +19 -16
  283. package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
  284. package/{fesm2020 → fesm2022}/acorex-components-form.mjs +65 -61
  285. package/fesm2022/acorex-components-form.mjs.map +1 -0
  286. package/{fesm2015 → fesm2022}/acorex-components-image.mjs +17 -15
  287. package/{fesm2015 → fesm2022}/acorex-components-image.mjs.map +1 -1
  288. package/{fesm2015 → fesm2022}/acorex-components-label.mjs +12 -10
  289. package/fesm2022/acorex-components-label.mjs.map +1 -0
  290. package/{fesm2020 → fesm2022}/acorex-components-loading.mjs +42 -29
  291. package/{fesm2020 → fesm2022}/acorex-components-loading.mjs.map +1 -1
  292. package/{fesm2020 → fesm2022}/acorex-components-menu.mjs +26 -19
  293. package/{fesm2020 → fesm2022}/acorex-components-menu.mjs.map +1 -1
  294. package/{fesm2015 → fesm2022}/acorex-components-mixin.mjs +276 -284
  295. package/{fesm2020 → fesm2022}/acorex-components-mixin.mjs.map +1 -1
  296. package/{fesm2020 → fesm2022}/acorex-components-notification.mjs +24 -18
  297. package/{fesm2020 → fesm2022}/acorex-components-notification.mjs.map +1 -1
  298. package/{fesm2020 → fesm2022}/acorex-components-number-box.mjs +42 -35
  299. package/{fesm2015 → fesm2022}/acorex-components-number-box.mjs.map +1 -1
  300. package/{fesm2020 → fesm2022}/acorex-components-page.mjs +20 -17
  301. package/{fesm2020 → fesm2022}/acorex-components-page.mjs.map +1 -1
  302. package/fesm2022/acorex-components-password-box.mjs +99 -0
  303. package/{fesm2015 → fesm2022}/acorex-components-password-box.mjs.map +1 -1
  304. package/{fesm2020 → fesm2022}/acorex-components-picker.mjs +15 -18
  305. package/{fesm2015 → fesm2022}/acorex-components-picker.mjs.map +1 -1
  306. package/{fesm2020 → fesm2022}/acorex-components-popover.mjs +50 -37
  307. package/{fesm2015 → fesm2022}/acorex-components-popover.mjs.map +1 -1
  308. package/{fesm2020 → fesm2022}/acorex-components-popup.mjs +30 -19
  309. package/{fesm2020 → fesm2022}/acorex-components-popup.mjs.map +1 -1
  310. package/{fesm2020 → fesm2022}/acorex-components-progress-bar.mjs +8 -9
  311. package/{fesm2015 → fesm2022}/acorex-components-progress-bar.mjs.map +1 -1
  312. package/fesm2022/acorex-components-radio.mjs +65 -0
  313. package/{fesm2015 → fesm2022}/acorex-components-radio.mjs.map +1 -1
  314. package/{fesm2020 → fesm2022}/acorex-components-range-slider.mjs +16 -16
  315. package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
  316. package/fesm2022/acorex-components-rating.mjs +64 -0
  317. package/{fesm2015 → fesm2022}/acorex-components-rating.mjs.map +1 -1
  318. package/{fesm2020 → fesm2022}/acorex-components-result.mjs +10 -10
  319. package/{fesm2020 → fesm2022}/acorex-components-result.mjs.map +1 -1
  320. package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs +12 -11
  321. package/{fesm2020 → fesm2022}/acorex-components-search-box.mjs.map +1 -1
  322. package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs +56 -46
  323. package/{fesm2020 → fesm2022}/acorex-components-select-box.mjs.map +1 -1
  324. package/{fesm2020 → fesm2022}/acorex-components-selection-list.mjs +11 -12
  325. package/{fesm2015 → fesm2022}/acorex-components-selection-list.mjs.map +1 -1
  326. package/{fesm2020 → fesm2022}/acorex-components-switch.mjs +13 -11
  327. package/{fesm2015 → fesm2022}/acorex-components-switch.mjs.map +1 -1
  328. package/{fesm2020 → fesm2022}/acorex-components-tabs.mjs +36 -26
  329. package/{fesm2015 → fesm2022}/acorex-components-tabs.mjs.map +1 -1
  330. package/{fesm2020 → fesm2022}/acorex-components-tag.mjs +9 -10
  331. package/{fesm2020 → fesm2022}/acorex-components-tag.mjs.map +1 -1
  332. package/fesm2022/acorex-components-textarea.mjs +52 -0
  333. package/{fesm2020 → fesm2022}/acorex-components-textarea.mjs.map +1 -1
  334. package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs +34 -30
  335. package/{fesm2020 → fesm2022}/acorex-components-textbox.mjs.map +1 -1
  336. package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs +30 -22
  337. package/{fesm2020 → fesm2022}/acorex-components-time-box.mjs.map +1 -1
  338. package/{fesm2020 → fesm2022}/acorex-components-toast.mjs +22 -18
  339. package/{fesm2020 → fesm2022}/acorex-components-toast.mjs.map +1 -1
  340. package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs +20 -14
  341. package/{fesm2020 → fesm2022}/acorex-components-tooltip.mjs.map +1 -1
  342. package/fesm2022/acorex-components-tree-view.mjs +131 -0
  343. package/{fesm2015 → fesm2022}/acorex-components-tree-view.mjs.map +1 -1
  344. package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs +15 -13
  345. package/{fesm2020 → fesm2022}/acorex-components-uploader.mjs.map +1 -1
  346. package/{fesm2015 → fesm2022}/acorex-components.mjs +0 -1
  347. package/form/src/form.component.d.ts +2 -2
  348. package/form/src/validation-rule.widget.d.ts +1 -1
  349. package/form/src/validation-summary.component.d.ts +2 -2
  350. package/form/src/validation.class.d.ts +1 -1
  351. package/image/src/image.component.d.ts +1 -1
  352. package/label/src/label.component.d.ts +1 -1
  353. package/loading/src/loading.component.d.ts +1 -1
  354. package/loading/src/loading.directive.d.ts +1 -1
  355. package/loading/src/loading.service.d.ts +2 -2
  356. package/menu/src/menu.component.d.ts +1 -1
  357. package/mixin/src/base-components.class.d.ts +7 -7
  358. package/mixin/src/base-menu-mixin.class.d.ts +5 -5
  359. package/mixin/src/button-mixin.class.d.ts +2 -2
  360. package/mixin/src/clickable-mixin.class.d.ts +2 -2
  361. package/mixin/src/color-look-mixing.class.d.ts +2 -2
  362. package/mixin/src/constratctor.d.ts +2 -2
  363. package/mixin/src/datalist-component.class.d.ts +10 -10
  364. package/mixin/src/datalist.class.d.ts +2 -2
  365. package/mixin/src/dropdown-mixin.class.d.ts +2 -2
  366. package/mixin/src/interactive-mixin.class.d.ts +4 -4
  367. package/mixin/src/loading-mixin.class.d.ts +2 -2
  368. package/mixin/src/mixin.class.d.ts +61 -61
  369. package/mixin/src/page-component.class.d.ts +2 -2
  370. package/mixin/src/selection-component.class.d.ts +2 -2
  371. package/mixin/src/sizable-mixin.class.d.ts +2 -2
  372. package/mixin/src/textbox-mixin.class.d.ts +2 -2
  373. package/mixin/src/value-mixin.class.d.ts +8 -8
  374. package/notification/src/notification.class.d.ts +1 -1
  375. package/number-box/src/number-box.component.d.ts +1 -1
  376. package/package.json +172 -284
  377. package/password-box/src/password-box.component.d.ts +1 -1
  378. package/picker/src/picker-column.component.d.ts +1 -1
  379. package/popover/src/popover.component.d.ts +1 -1
  380. package/popup/src/popup.service.d.ts +2 -2
  381. package/progress-bar/src/progress-bar.component.d.ts +1 -1
  382. package/radio/src/radio.component.d.ts +1 -1
  383. package/range-slider/src/range-slider.component.d.ts +1 -1
  384. package/result/src/result.component.d.ts +1 -1
  385. package/search-box/src/search-box.component.d.ts +1 -1
  386. package/select-box/src/selectbox.component.d.ts +1 -1
  387. package/selection-list/src/selection-list.component.d.ts +1 -1
  388. package/switch/src/switch.component.d.ts +1 -1
  389. package/tabs/src/tab-content.directive.d.ts +1 -1
  390. package/tabs/src/tab-item.component.d.ts +3 -3
  391. package/tabs/src/tabs.class.d.ts +1 -1
  392. package/tabs/src/tabs.component.d.ts +1 -1
  393. package/tag/src/tag.component.d.ts +1 -1
  394. package/textarea/src/textarea.component.d.ts +1 -1
  395. package/textbox/src/mask-options.directive.d.ts +2 -2
  396. package/textbox/src/textbox.component.d.ts +1 -1
  397. package/time-box/src/time-box.component.d.ts +2 -2
  398. package/tooltip/src/tooltip.component.d.ts +1 -1
  399. package/tooltip/src/tooltip.directive.d.ts +1 -1
  400. package/tree-view/src/tree-view.component.d.ts +1 -1
  401. package/uploader/src/uploader.component.d.ts +1 -1
  402. package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
  403. package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
  404. package/esm2020/alert/src/alert.component.mjs +0 -178
  405. package/esm2020/avatar/src/avatar.component.mjs +0 -41
  406. package/esm2020/badge/src/badge.component.mjs +0 -27
  407. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
  408. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
  409. package/esm2020/button/src/button-group.component.mjs +0 -88
  410. package/esm2020/button/src/button-item.component.mjs +0 -77
  411. package/esm2020/button/src/button.component.mjs +0 -85
  412. package/esm2020/calendar/src/calendar.class.mjs +0 -127
  413. package/esm2020/calendar/src/calendar.component.mjs +0 -382
  414. package/esm2020/calendar/src/calendar.module.mjs +0 -22
  415. package/esm2020/card/src/card.component.mjs +0 -17
  416. package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
  417. package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
  418. package/esm2020/collapse/src/collapse.component.mjs +0 -45
  419. package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
  420. package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
  421. package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
  422. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
  423. package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
  424. package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
  425. package/esm2020/common/public-api.mjs +0 -16
  426. package/esm2020/common/src/classes/components.class.mjs +0 -69
  427. package/esm2020/common/src/classes/events.class.mjs +0 -58
  428. package/esm2020/common/src/components/base-component.class.mjs +0 -57
  429. package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
  430. package/esm2020/common/src/components/color-component.class.mjs +0 -27
  431. package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
  432. package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
  433. package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
  434. package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
  435. package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
  436. package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
  437. package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
  438. package/esm2020/common/src/services/hotkey.service.mjs +0 -38
  439. package/esm2020/common/src/services/overlay.service.mjs +0 -111
  440. package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
  441. package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
  442. package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
  443. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
  444. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
  445. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
  446. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
  447. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
  448. package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
  449. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
  450. package/esm2020/data-table/src/data-column.directive.mjs +0 -43
  451. package/esm2020/data-table/src/data-table.component.mjs +0 -137
  452. package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
  453. package/esm2020/decorators/src/close-button.component.mjs +0 -50
  454. package/esm2020/decorators/src/icon.component.mjs +0 -29
  455. package/esm2020/decorators/src/overlay.component.mjs +0 -22
  456. package/esm2020/decorators/src/sub-title.component.mjs +0 -27
  457. package/esm2020/decorators/src/text.component.mjs +0 -21
  458. package/esm2020/dialog/src/dialog.service.mjs +0 -151
  459. package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
  460. package/esm2020/drawer/src/drawer.component.mjs +0 -140
  461. package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
  462. package/esm2020/form/src/form.component.mjs +0 -160
  463. package/esm2020/form/src/validation-rule.widget.mjs +0 -115
  464. package/esm2020/form/src/validation-summary.component.mjs +0 -105
  465. package/esm2020/image/src/image.component.mjs +0 -76
  466. package/esm2020/label/src/label.component.mjs +0 -45
  467. package/esm2020/loading/src/loading.component.mjs +0 -64
  468. package/esm2020/loading/src/loading.directive.mjs +0 -68
  469. package/esm2020/loading/src/loading.service.mjs +0 -156
  470. package/esm2020/menu/src/menu.component.mjs +0 -338
  471. package/esm2020/mixin/src/base-components.class.mjs +0 -110
  472. package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
  473. package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
  474. package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
  475. package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
  476. package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
  477. package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
  478. package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
  479. package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
  480. package/esm2020/mixin/src/selection-component.class.mjs +0 -180
  481. package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
  482. package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
  483. package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
  484. package/esm2020/notification/src/notification.component.mjs +0 -87
  485. package/esm2020/notification/src/notification.service.mjs +0 -107
  486. package/esm2020/number-box/src/number-box.component.mjs +0 -260
  487. package/esm2020/page/src/base-page.class.mjs +0 -61
  488. package/esm2020/page/src/page.component.mjs +0 -44
  489. package/esm2020/password-box/src/password-box.component.mjs +0 -62
  490. package/esm2020/picker/src/picker-column.component.mjs +0 -22
  491. package/esm2020/popover/src/popover.component.mjs +0 -248
  492. package/esm2020/popup/src/popup.component.mjs +0 -135
  493. package/esm2020/popup/src/popup.service.mjs +0 -114
  494. package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
  495. package/esm2020/rating/src/rating.component.mjs +0 -41
  496. package/esm2020/result/src/result.component.mjs +0 -25
  497. package/esm2020/search-box/src/search-box.component.mjs +0 -52
  498. package/esm2020/select-box/src/selectbox.component.mjs +0 -380
  499. package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
  500. package/esm2020/tabs/src/tab-item.component.mjs +0 -136
  501. package/esm2020/tabs/src/tabs.class.mjs +0 -4
  502. package/esm2020/textarea/src/textarea.component.mjs +0 -28
  503. package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
  504. package/esm2020/textbox/src/textbox.component.mjs +0 -92
  505. package/esm2020/time-box/src/time-box.component.mjs +0 -296
  506. package/esm2020/toast/src/toast.component.mjs +0 -64
  507. package/esm2020/toast/src/toast.service.mjs +0 -134
  508. package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
  509. package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
  510. package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
  511. package/esm2020/uploader/src/uploader.component.mjs +0 -98
  512. package/fesm2015/acorex-components-action-sheet.mjs +0 -193
  513. package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
  514. package/fesm2015/acorex-components-alert.mjs +0 -208
  515. package/fesm2015/acorex-components-alert.mjs.map +0 -1
  516. package/fesm2015/acorex-components-avatar.mjs +0 -81
  517. package/fesm2015/acorex-components-avatar.mjs.map +0 -1
  518. package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
  519. package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
  520. package/fesm2015/acorex-components-button.mjs +0 -281
  521. package/fesm2015/acorex-components-button.mjs.map +0 -1
  522. package/fesm2015/acorex-components-calendar.mjs +0 -531
  523. package/fesm2015/acorex-components-calendar.mjs.map +0 -1
  524. package/fesm2015/acorex-components-card.mjs +0 -41
  525. package/fesm2015/acorex-components-checkbox.mjs +0 -67
  526. package/fesm2015/acorex-components-chips.mjs.map +0 -1
  527. package/fesm2015/acorex-components-collapse.mjs.map +0 -1
  528. package/fesm2015/acorex-components-color-palette.mjs +0 -772
  529. package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
  530. package/fesm2015/acorex-components-color-picker.mjs +0 -172
  531. package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
  532. package/fesm2015/acorex-components-common.mjs +0 -955
  533. package/fesm2015/acorex-components-common.mjs.map +0 -1
  534. package/fesm2015/acorex-components-context-menu.mjs +0 -301
  535. package/fesm2015/acorex-components-data-pager.mjs +0 -615
  536. package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
  537. package/fesm2015/acorex-components-data-table.mjs +0 -224
  538. package/fesm2015/acorex-components-data-table.mjs.map +0 -1
  539. package/fesm2015/acorex-components-date-picker.mjs +0 -297
  540. package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
  541. package/fesm2015/acorex-components-decorators.mjs +0 -356
  542. package/fesm2015/acorex-components-dialog.mjs +0 -233
  543. package/fesm2015/acorex-components-drawer.mjs +0 -202
  544. package/fesm2015/acorex-components-drawer.mjs.map +0 -1
  545. package/fesm2015/acorex-components-dropdown.mjs +0 -135
  546. package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
  547. package/fesm2015/acorex-components-form.mjs +0 -450
  548. package/fesm2015/acorex-components-form.mjs.map +0 -1
  549. package/fesm2015/acorex-components-label.mjs.map +0 -1
  550. package/fesm2015/acorex-components-loading.mjs +0 -385
  551. package/fesm2015/acorex-components-loading.mjs.map +0 -1
  552. package/fesm2015/acorex-components-menu.mjs +0 -381
  553. package/fesm2015/acorex-components-menu.mjs.map +0 -1
  554. package/fesm2015/acorex-components-mixin.mjs.map +0 -1
  555. package/fesm2015/acorex-components-notification.mjs +0 -217
  556. package/fesm2015/acorex-components-notification.mjs.map +0 -1
  557. package/fesm2015/acorex-components-number-box.mjs +0 -300
  558. package/fesm2015/acorex-components-page.mjs +0 -127
  559. package/fesm2015/acorex-components-page.mjs.map +0 -1
  560. package/fesm2015/acorex-components-password-box.mjs +0 -99
  561. package/fesm2015/acorex-components-picker.mjs +0 -77
  562. package/fesm2015/acorex-components-popover.mjs +0 -278
  563. package/fesm2015/acorex-components-popup.mjs +0 -275
  564. package/fesm2015/acorex-components-popup.mjs.map +0 -1
  565. package/fesm2015/acorex-components-progress-bar.mjs +0 -57
  566. package/fesm2015/acorex-components-radio.mjs +0 -66
  567. package/fesm2015/acorex-components-range-slider.mjs +0 -148
  568. package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
  569. package/fesm2015/acorex-components-rating.mjs +0 -65
  570. package/fesm2015/acorex-components-result.mjs +0 -49
  571. package/fesm2015/acorex-components-result.mjs.map +0 -1
  572. package/fesm2015/acorex-components-search-box.mjs +0 -84
  573. package/fesm2015/acorex-components-search-box.mjs.map +0 -1
  574. package/fesm2015/acorex-components-select-box.mjs +0 -453
  575. package/fesm2015/acorex-components-select-box.mjs.map +0 -1
  576. package/fesm2015/acorex-components-selection-list.mjs +0 -89
  577. package/fesm2015/acorex-components-switch.mjs +0 -91
  578. package/fesm2015/acorex-components-tabs.mjs +0 -299
  579. package/fesm2015/acorex-components-tag.mjs +0 -53
  580. package/fesm2015/acorex-components-tag.mjs.map +0 -1
  581. package/fesm2015/acorex-components-textarea.mjs +0 -52
  582. package/fesm2015/acorex-components-textarea.mjs.map +0 -1
  583. package/fesm2015/acorex-components-textbox.mjs +0 -149
  584. package/fesm2015/acorex-components-textbox.mjs.map +0 -1
  585. package/fesm2015/acorex-components-time-box.mjs +0 -336
  586. package/fesm2015/acorex-components-time-box.mjs.map +0 -1
  587. package/fesm2015/acorex-components-toast.mjs +0 -222
  588. package/fesm2015/acorex-components-toast.mjs.map +0 -1
  589. package/fesm2015/acorex-components-tooltip.mjs +0 -164
  590. package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
  591. package/fesm2015/acorex-components-tree-view.mjs +0 -133
  592. package/fesm2015/acorex-components-uploader.mjs +0 -129
  593. package/fesm2015/acorex-components-uploader.mjs.map +0 -1
  594. package/fesm2020/acorex-components-badge.mjs +0 -53
  595. package/fesm2020/acorex-components-badge.mjs.map +0 -1
  596. package/fesm2020/acorex-components-button.mjs.map +0 -1
  597. package/fesm2020/acorex-components-calendar.mjs +0 -530
  598. package/fesm2020/acorex-components-calendar.mjs.map +0 -1
  599. package/fesm2020/acorex-components-card.mjs +0 -41
  600. package/fesm2020/acorex-components-card.mjs.map +0 -1
  601. package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
  602. package/fesm2020/acorex-components-chips.mjs +0 -57
  603. package/fesm2020/acorex-components-collapse.mjs +0 -115
  604. package/fesm2020/acorex-components-color-picker.mjs +0 -169
  605. package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
  606. package/fesm2020/acorex-components-common.mjs.map +0 -1
  607. package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
  608. package/fesm2020/acorex-components-date-picker.mjs +0 -295
  609. package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
  610. package/fesm2020/acorex-components-decorators.mjs.map +0 -1
  611. package/fesm2020/acorex-components-dialog.mjs.map +0 -1
  612. package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
  613. package/fesm2020/acorex-components-form.mjs.map +0 -1
  614. package/fesm2020/acorex-components-image.mjs +0 -100
  615. package/fesm2020/acorex-components-image.mjs.map +0 -1
  616. package/fesm2020/acorex-components-label.mjs +0 -71
  617. package/fesm2020/acorex-components-label.mjs.map +0 -1
  618. package/fesm2020/acorex-components-mixin.mjs +0 -1259
  619. package/fesm2020/acorex-components-number-box.mjs.map +0 -1
  620. package/fesm2020/acorex-components-password-box.mjs +0 -99
  621. package/fesm2020/acorex-components-password-box.mjs.map +0 -1
  622. package/fesm2020/acorex-components-picker.mjs.map +0 -1
  623. package/fesm2020/acorex-components-popover.mjs.map +0 -1
  624. package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
  625. package/fesm2020/acorex-components-radio.mjs +0 -66
  626. package/fesm2020/acorex-components-radio.mjs.map +0 -1
  627. package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
  628. package/fesm2020/acorex-components-rating.mjs +0 -65
  629. package/fesm2020/acorex-components-rating.mjs.map +0 -1
  630. package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
  631. package/fesm2020/acorex-components-switch.mjs.map +0 -1
  632. package/fesm2020/acorex-components-tabs.mjs.map +0 -1
  633. package/fesm2020/acorex-components-textarea.mjs +0 -52
  634. package/fesm2020/acorex-components-tree-view.mjs +0 -133
  635. package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
  636. package/fesm2020/acorex-components.mjs +0 -12
  637. package/fesm2020/acorex-components.mjs.map +0 -1
  638. /package/{esm2020 → esm2022}/acorex-components.mjs +0 -0
  639. /package/{esm2020 → esm2022}/action-sheet/acorex-components-action-sheet.mjs +0 -0
  640. /package/{esm2020 → esm2022}/action-sheet/public-api.mjs +0 -0
  641. /package/{esm2020 → esm2022}/action-sheet/src/action-sheet.interface.mjs +0 -0
  642. /package/{esm2020 → esm2022}/alert/acorex-components-alert.mjs +0 -0
  643. /package/{esm2020 → esm2022}/alert/public-api.mjs +0 -0
  644. /package/{esm2020 → esm2022}/avatar/acorex-components-avatar.mjs +0 -0
  645. /package/{esm2020 → esm2022}/avatar/public-api.mjs +0 -0
  646. /package/{esm2020 → esm2022}/badge/acorex-components-badge.mjs +0 -0
  647. /package/{esm2020 → esm2022}/badge/public-api.mjs +0 -0
  648. /package/{esm2020 → esm2022}/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -0
  649. /package/{esm2020 → esm2022}/breadcrumbs/public-api.mjs +0 -0
  650. /package/{esm2020 → esm2022}/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -0
  651. /package/{esm2020 → esm2022}/button/acorex-components-button.mjs +0 -0
  652. /package/{esm2020 → esm2022}/button/public-api.mjs +0 -0
  653. /package/{esm2020 → esm2022}/button/src/button-item.class.mjs +0 -0
  654. /package/{esm2020 → esm2022}/calendar/acorex-components-calendar.mjs +0 -0
  655. /package/{esm2020 → esm2022}/card/acorex-components-card.mjs +0 -0
  656. /package/{esm2020 → esm2022}/card/public-api.mjs +0 -0
  657. /package/{esm2020 → esm2022}/checkbox/acorex-components-checkbox.mjs +0 -0
  658. /package/{esm2020 → esm2022}/checkbox/public-api.mjs +0 -0
  659. /package/{esm2020 → esm2022}/chips/acorex-components-chips.mjs +0 -0
  660. /package/{esm2020 → esm2022}/chips/public-api.mjs +0 -0
  661. /package/{esm2020 → esm2022}/collapse/acorex-components-collapse.mjs +0 -0
  662. /package/{esm2020 → esm2022}/collapse/public-api.mjs +0 -0
  663. /package/{esm2020 → esm2022}/color-palette/acorex-components-color-palette.mjs +0 -0
  664. /package/{esm2020 → esm2022}/color-palette/public-api.mjs +0 -0
  665. /package/{esm2020 → esm2022}/color-picker/acorex-components-color-picker.mjs +0 -0
  666. /package/{esm2020 → esm2022}/color-picker/public-api.mjs +0 -0
  667. /package/{esm2020 → esm2022}/common/acorex-components-common.mjs +0 -0
  668. /package/{esm2020 → esm2022}/common/src/classes/drawing.class.mjs +0 -0
  669. /package/{esm2020 → esm2022}/common/src/classes/styles.class.mjs +0 -0
  670. /package/{esm2020 → esm2022}/common/src/components/colorlook-component.class.mjs +0 -0
  671. /package/{esm2020 → esm2022}/common/src/constant/positions.mjs +0 -0
  672. /package/{esm2020 → esm2022}/context-menu/acorex-components-context-menu.mjs +0 -0
  673. /package/{esm2020 → esm2022}/context-menu/public-api.mjs +0 -0
  674. /package/{esm2020 → esm2022}/data-pager/acorex-components-data-pager.mjs +0 -0
  675. /package/{esm2020 → esm2022}/data-pager/public-api.mjs +0 -0
  676. /package/{esm2020 → esm2022}/data-table/acorex-components-data-table.mjs +0 -0
  677. /package/{esm2020 → esm2022}/data-table/public-api.mjs +0 -0
  678. /package/{esm2020 → esm2022}/date-picker/acorex-components-date-picker.mjs +0 -0
  679. /package/{esm2020 → esm2022}/date-picker/public-api.mjs +0 -0
  680. /package/{esm2020 → esm2022}/decorators/acorex-components-decorators.mjs +0 -0
  681. /package/{esm2020 → esm2022}/decorators/public-api.mjs +0 -0
  682. /package/{esm2020 → esm2022}/dialog/acorex-components-dialog.mjs +0 -0
  683. /package/{esm2020 → esm2022}/dialog/public-api.mjs +0 -0
  684. /package/{esm2020 → esm2022}/dialog/src/dialog.class.mjs +0 -0
  685. /package/{esm2020 → esm2022}/drawer/acorex-components-drawer.mjs +0 -0
  686. /package/{esm2020 → esm2022}/drawer/public-api.mjs +0 -0
  687. /package/{esm2020 → esm2022}/dropdown/acorex-components-dropdown.mjs +0 -0
  688. /package/{esm2020 → esm2022}/dropdown/public-api.mjs +0 -0
  689. /package/{esm2020 → esm2022}/form/acorex-components-form.mjs +0 -0
  690. /package/{esm2020 → esm2022}/form/public-api.mjs +0 -0
  691. /package/{esm2020 → esm2022}/form/src/validation.class.mjs +0 -0
  692. /package/{esm2020 → esm2022}/image/acorex-components-image.mjs +0 -0
  693. /package/{esm2020 → esm2022}/image/public-api.mjs +0 -0
  694. /package/{esm2020 → esm2022}/label/acorex-components-label.mjs +0 -0
  695. /package/{esm2020 → esm2022}/label/public-api.mjs +0 -0
  696. /package/{esm2020 → esm2022}/loading/acorex-components-loading.mjs +0 -0
  697. /package/{esm2020 → esm2022}/loading/public-api.mjs +0 -0
  698. /package/{esm2020 → esm2022}/menu/acorex-components-menu.mjs +0 -0
  699. /package/{esm2020 → esm2022}/menu/public-api.mjs +0 -0
  700. /package/{esm2020 → esm2022}/mixin/acorex-components-mixin.mjs +0 -0
  701. /package/{esm2020 → esm2022}/mixin/public-api.mjs +0 -0
  702. /package/{esm2020 → esm2022}/mixin/src/constratctor.mjs +0 -0
  703. /package/{esm2020 → esm2022}/mixin/src/datalist.class.mjs +0 -0
  704. /package/{esm2020 → esm2022}/mixin/src/mixin.class.mjs +0 -0
  705. /package/{esm2020 → esm2022}/mixin/src/page-component.class.mjs +0 -0
  706. /package/{esm2020 → esm2022}/notification/acorex-components-notification.mjs +0 -0
  707. /package/{esm2020 → esm2022}/notification/public-api.mjs +0 -0
  708. /package/{esm2020 → esm2022}/notification/src/notification.class.mjs +0 -0
  709. /package/{esm2020 → esm2022}/number-box/acorex-components-number-box.mjs +0 -0
  710. /package/{esm2020 → esm2022}/number-box/public-api.mjs +0 -0
  711. /package/{esm2020 → esm2022}/page/acorex-components-page.mjs +0 -0
  712. /package/{esm2020 → esm2022}/page/public-api.mjs +0 -0
  713. /package/{esm2020 → esm2022}/password-box/acorex-components-password-box.mjs +0 -0
  714. /package/{esm2020 → esm2022}/password-box/public-api.mjs +0 -0
  715. /package/{esm2020 → esm2022}/picker/acorex-components-picker.mjs +0 -0
  716. /package/{esm2020 → esm2022}/picker/public-api.mjs +0 -0
  717. /package/{esm2020 → esm2022}/popover/acorex-components-popover.mjs +0 -0
  718. /package/{esm2020 → esm2022}/popover/public-api.mjs +0 -0
  719. /package/{esm2020 → esm2022}/popup/acorex-components-popup.mjs +0 -0
  720. /package/{esm2020 → esm2022}/popup/public-api.mjs +0 -0
  721. /package/{esm2020 → esm2022}/progress-bar/acorex-components-progress-bar.mjs +0 -0
  722. /package/{esm2020 → esm2022}/progress-bar/public-api.mjs +0 -0
  723. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  724. /package/{esm2020 → esm2022}/radio/acorex-components-radio.mjs +0 -0
  725. /package/{esm2020 → esm2022}/radio/public-api.mjs +0 -0
  726. /package/{esm2020 → esm2022}/range-slider/acorex-components-range-slider.mjs +0 -0
  727. /package/{esm2020 → esm2022}/range-slider/public-api.mjs +0 -0
  728. /package/{esm2020 → esm2022}/rating/acorex-components-rating.mjs +0 -0
  729. /package/{esm2020 → esm2022}/rating/public-api.mjs +0 -0
  730. /package/{esm2020 → esm2022}/result/acorex-components-result.mjs +0 -0
  731. /package/{esm2020 → esm2022}/result/public-api.mjs +0 -0
  732. /package/{esm2020 → esm2022}/search-box/acorex-components-search-box.mjs +0 -0
  733. /package/{esm2020 → esm2022}/search-box/public-api.mjs +0 -0
  734. /package/{esm2020 → esm2022}/select-box/acorex-components-select-box.mjs +0 -0
  735. /package/{esm2020 → esm2022}/select-box/public-api.mjs +0 -0
  736. /package/{esm2020 → esm2022}/selection-list/acorex-components-selection-list.mjs +0 -0
  737. /package/{esm2020 → esm2022}/selection-list/public-api.mjs +0 -0
  738. /package/{esm2020 → esm2022}/switch/acorex-components-switch.mjs +0 -0
  739. /package/{esm2020 → esm2022}/switch/public-api.mjs +0 -0
  740. /package/{esm2020 → esm2022}/tabs/acorex-components-tabs.mjs +0 -0
  741. /package/{esm2020 → esm2022}/tabs/public-api.mjs +0 -0
  742. /package/{esm2020 → esm2022}/tag/acorex-components-tag.mjs +0 -0
  743. /package/{esm2020 → esm2022}/tag/public-api.mjs +0 -0
  744. /package/{esm2020 → esm2022}/textarea/acorex-components-textarea.mjs +0 -0
  745. /package/{esm2020 → esm2022}/textarea/public-api.mjs +0 -0
  746. /package/{esm2020 → esm2022}/textbox/acorex-components-textbox.mjs +0 -0
  747. /package/{esm2020 → esm2022}/textbox/public-api.mjs +0 -0
  748. /package/{esm2020 → esm2022}/time-box/acorex-components-time-box.mjs +0 -0
  749. /package/{esm2020 → esm2022}/time-box/public-api.mjs +0 -0
  750. /package/{esm2020 → esm2022}/toast/acorex-components-toast.mjs +0 -0
  751. /package/{esm2020 → esm2022}/toast/public-api.mjs +0 -0
  752. /package/{esm2020 → esm2022}/toast/src/toast.class.mjs +0 -0
  753. /package/{esm2020 → esm2022}/tooltip/acorex-components-tooltip.mjs +0 -0
  754. /package/{esm2020 → esm2022}/tooltip/public-api.mjs +0 -0
  755. /package/{esm2020 → esm2022}/tree-view/acorex-components-tree-view.mjs +0 -0
  756. /package/{esm2020 → esm2022}/tree-view/public-api.mjs +0 -0
  757. /package/{esm2020 → esm2022}/uploader/acorex-components-uploader.mjs +0 -0
  758. /package/{esm2020 → esm2022}/uploader/public-api.mjs +0 -0
  759. /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -21,5 +21,5 @@ export declare class AXPasswordBoxComponent extends AXBaseTextBoxMixin {
21
21
  focus(): void;
22
22
  toggleType(): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPasswordBoxComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "cssClass": "cssClass"; "size": "size"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "value": "value"; "name": "name"; "checked": "checked"; "showToggleButton": "showToggleButton"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPasswordBoxComponent, "ax-password-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "showToggleButton": { "alias": "showToggleButton"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
25
25
  }
@@ -7,5 +7,5 @@ import * as i0 from "@angular/core";
7
7
  export declare class AXPickerColumnComponent {
8
8
  divider: boolean;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPickerColumnComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerColumnComponent, "ax-picker-column", never, { "divider": "divider"; }, {}, never, ["*"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPickerColumnComponent, "ax-picker-column", never, { "divider": { "alias": "divider"; "required": false; }; }, {}, never, ["*"], false, never>;
11
11
  }
@@ -47,5 +47,5 @@ export declare class AXPopoverComponent extends AXInteractiveComponenetMixin {
47
47
  private _addSub;
48
48
  updatePosition(): void;
49
49
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPopoverComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": "target"; "position": "position"; "openTrigger": "openTrigger"; "closeTrigger": "closeTrigger"; "hasBackdrop": "hasBackdrop"; "backdropClass": "backdropClass"; "adaptivityEnabled": "adaptivityEnabled"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXPopoverComponent, "ax-popover", never, { "target": { "alias": "target"; "required": false; }; "position": { "alias": "position"; "required": false; }; "openTrigger": { "alias": "openTrigger"; "required": false; }; "closeTrigger": { "alias": "closeTrigger"; "required": false; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["*"], false, never>;
51
51
  }
@@ -1,8 +1,8 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { AXOverlayService, AXComponentClosedPromise } from '@acorex/components/common';
3
3
  import * as i0 from "@angular/core";
4
- export declare type AXPopupContentType = string | TemplateRef<any> | Function;
5
- export declare type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
4
+ export type AXPopupContentType = string | TemplateRef<any> | Function;
5
+ export type AXPopupSizeType = 'sm' | 'md' | 'lg' | 'full' | 'fit';
6
6
  export interface AXPopupOption {
7
7
  title?: string;
8
8
  showCloseButton?: boolean;
@@ -14,5 +14,5 @@ export declare class AXProgressBarComponent extends AXBaseComponentMixin {
14
14
  ngOnInit(): void;
15
15
  private get __hostClass();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXProgressBarComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXProgressBarComponent, "ax-progress-bar", never, { "color": "color"; "look": "look"; "value": "value"; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXProgressBarComponent, "ax-progress-bar", never, { "color": { "alias": "color"; "required": false; }; "look": { "alias": "look"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
18
18
  }
@@ -14,5 +14,5 @@ export declare class AXRadioComponent extends AXBaseValueComponentMixin {
14
14
  _handleOnClickEvent(e: MouseEvent): boolean;
15
15
  private get __hostClass();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRadioComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXRadioComponent, "ax-radio", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-label", "ax-form-hint", "ax-validation-rule"], false, never>;
18
18
  }
@@ -37,5 +37,5 @@ export declare class AXRangeSliderComponent extends AXBaseValueComponentMixin {
37
37
  private _calcVars;
38
38
  private get __hostClass();
39
39
  static ɵfac: i0.ɵɵFactoryDeclaration<AXRangeSliderComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, { "readonly": "readonly"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "step": "step"; "color": "color"; "oriantaion": "oriantaion"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "colorChange": "colorChange"; }, never, never, false, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXRangeSliderComponent, "ax-range-slider", never, { "readonly": { "alias": "readonly"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "step": { "alias": "step"; "required": false; }; "color": { "alias": "color"; "required": false; }; "oriantaion": { "alias": "oriantaion"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "colorChange": "colorChange"; }, never, never, false, never>;
41
41
  }
@@ -8,5 +8,5 @@ export declare class AXResultComponent extends AXBaseComponent implements OnInit
8
8
  constructor();
9
9
  ngOnInit(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AXResultComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<AXResultComponent, "ax-result", never, { "type": "type"; "caption": "caption"; "description": "description"; }, {}, never, ["ax-icon", "img", "*"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXResultComponent, "ax-result", never, { "type": { "alias": "type"; "required": false; }; "caption": { "alias": "caption"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, ["ax-icon", "img", "*"], false, never>;
12
12
  }
@@ -14,5 +14,5 @@ export declare class AXSearchBoxComponent extends AXBaseComponentMixin {
14
14
  focus(): void;
15
15
  clear(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchBoxComponent, [null, null, { optional: true; }]>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSearchBoxComponent, "ax-search-box", never, { "placeholder": "placeholder"; "debounceTime": "debounceTime"; "searchExp": "searchExp"; }, {}, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSearchBoxComponent, "ax-search-box", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "searchExp": { "alias": "searchExp"; "required": false; }; }, {}, never, never, false, never>;
18
18
  }
@@ -62,5 +62,5 @@ export declare class AXSelectBoxComponent extends AXBaseSelectionDropdownMixin {
62
62
  search(exp: string): void;
63
63
  _fetchData(): void;
64
64
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectBoxComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": "isOpen"; "fitParent": "fitParent"; "dropdownWidth": "dropdownWidth"; "position": "position"; "disabled": "disabled"; "tabIndex": "tabIndex"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "type": "type"; "autoComplete": "autoComplete"; "readonly": "readonly"; "pageSize": "pageSize"; "items": "items"; "valueField": "valueField"; "textField": "textField"; "disabledField": "disabledField"; "disabledCallback": "disabledCallback"; "multiple": "multiple"; "selectionMode": "selectionMode"; "clearButton": "clearButton"; "checkbox": "checkbox"; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectBoxComponent, "ax-select-box", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "fitParent": { "alias": "fitParent"; "required": false; }; "dropdownWidth": { "alias": "dropdownWidth"; "required": false; }; "position": { "alias": "position"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "items": { "alias": "items"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "disabledCallback": { "alias": "disabledCallback"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, ["_searchBox", "_contentEmptyTemplate"], ["ax-prefix", "ax-validation-rule", "ax-suffix", "ax-search-box"], false, never>;
66
66
  }
@@ -19,5 +19,5 @@ export declare class AXSelectionListComponent extends AXBaseSelectionValueMixin
19
19
  _handleOnItemValueChange(item: any, e: Event): void;
20
20
  _handleContainerClick(item: HTMLInputElement, e: MouseEvent): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSelectionListComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "valueField": "valueField"; "textField": "textField"; "multiple": "multiple"; "items": "items"; "selectionMode": "selectionMode"; "direction": "direction"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], false, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSelectionListComponent, "ax-selection-list", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; }, never, ["ax-validation-rule"], false, never>;
23
23
  }
@@ -9,5 +9,5 @@ export declare class AXSwitchComponent extends AXBaseValueComponentMixin {
9
9
  _handleOnClickEvent(e: MouseEvent): void;
10
10
  private get __hostClass();
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXSwitchComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": "disabled"; "color": "color"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "cssClass": "cssClass"; "cssStyle": "cssStyle"; "allowNull": "allowNull"; "value": "value"; "name": "name"; "checked": "checked"; "uncheckedText": "uncheckedText"; "checkedText": "checkedText"; "loading": "loading"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-switch-handler-content", "ax-switch-off-content", "ax-switch-on-content"], false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXSwitchComponent, "ax-switch", never, { "disabled": { "alias": "disabled"; "required": false; }; "color": { "alias": "color"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "cssStyle": { "alias": "cssStyle"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "uncheckedText": { "alias": "uncheckedText"; "required": false; }; "checkedText": { "alias": "checkedText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-switch-handler-content", "ax-switch-off-content", "ax-switch-on-content"], false, never>;
13
13
  }
@@ -7,5 +7,5 @@ export declare class AXTabContentDirective {
7
7
  get portal(): TemplateRef<any> | undefined;
8
8
  set portal(v: TemplateRef<any> | undefined);
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTabContentDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXTabContentDirective, "[axTabContent]", ["axTabContent"], { "portal": "axTabContent"; }, {}, never, never, false, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXTabContentDirective, "[axTabContent]", ["axTabContent"], { "portal": { "alias": "axTabContent"; "required": false; }; }, {}, never, never, false, never>;
11
11
  }
@@ -5,9 +5,9 @@ export declare const AXBaseTabItemMixin: (new (...args: any[]) => {
5
5
  onClick: EventEmitter<import("@acorex/components/common").AXClickEvent>;
6
6
  _emitOnClickEvent(e: MouseEvent): void;
7
7
  id: string;
8
- "__#36561@#rtl": boolean;
8
+ "__#37488@#rtl": boolean;
9
9
  rtl: boolean;
10
- "__#36561@#elementRef": ElementRef<any>;
10
+ "__#37488@#elementRef": ElementRef<any>;
11
11
  _cdr: ChangeDetectorRef;
12
12
  _isInited: boolean;
13
13
  _isRendered: boolean;
@@ -44,5 +44,5 @@ export declare class AXTabItemComponent extends AXBaseTabItemMixin {
44
44
  private __hostClick;
45
45
  _onOptionChanged(option: AXComponentOptionChanged): void;
46
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTabItemComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": "text"; "key": "key"; "active": "active"; "disabled": "disabled"; }, { "activeChange": "activeChange"; "disabledChange": "disabledChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"], false, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTabItemComponent, "ax-tab-item", never, { "text": { "alias": "text"; "required": false; }; "key": { "alias": "key"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "activeChange": "activeChange"; "disabledChange": "disabledChange"; }, ["headerTemplate"], ["ax-prefix", "ax-suffix", "ax-content"], false, never>;
48
48
  }
@@ -4,4 +4,4 @@ export declare class AXTabStripChangedEvent extends AXEvent {
4
4
  tab: AXTabItemComponent;
5
5
  index: number;
6
6
  }
7
- export declare type AXTabLook = 'pills' | 'pills-color' | 'with-line' | 'classic' | 'custom';
7
+ export type AXTabLook = 'pills' | 'pills-color' | 'with-line' | 'classic' | 'custom';
@@ -25,5 +25,5 @@ export declare class AXTabsComponent extends AXBaseComponent {
25
25
  private _bindOnClickEvent;
26
26
  select(tab: number | AXTabItemComponent): void;
27
27
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTabsComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "look": "look"; "orientation": "orientation"; "fitParent": "fitParent"; "minWidth": "minWidth"; "content": "content"; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"], false, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTabsComponent, "ax-tabs", never, { "look": { "alias": "look"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "fitParent": { "alias": "fitParent"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "content": { "alias": "content"; "required": false; }; }, { "onActiveTabChanged": "onActiveTabChanged"; }, ["_contentTabs"], ["ax-tab-item"], false, never>;
29
29
  }
@@ -7,5 +7,5 @@ export declare class AXTagComponent extends AXBaseComponent {
7
7
  ngOnInit(): void;
8
8
  private get __hostClass();
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTagComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTagComponent, "ax-tag", never, { "text": "text"; "look": "look"; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTagComponent, "ax-tag", never, { "text": { "alias": "text"; "required": false; }; "look": { "alias": "look"; "required": false; }; }, {}, never, ["ax-prefix", "ax-suffix"], false, never>;
11
11
  }
@@ -10,5 +10,5 @@ export declare class AXTextareaComponent extends AXBaseTextBoxMixin {
10
10
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
11
11
  focus(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextareaComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "name": "name"; "checked": "checked"; "placeholder": "placeholder"; "maxLength": "maxLength"; "rows": "rows"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextareaComponent, "ax-textarea", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
14
14
  }
@@ -1,6 +1,6 @@
1
1
  import { AnyMaskedOptions } from 'imask';
2
2
  import * as i0 from "@angular/core";
3
- export declare type AXMaskOptions = AnyMaskedOptions;
3
+ export type AXMaskOptions = AnyMaskedOptions;
4
4
  export interface AXMaskOptionsInterface {
5
5
  mask: AnyMaskedOptions | string | RegExp;
6
6
  updateValue?: (masked: string, unmasked: string) => void;
@@ -9,5 +9,5 @@ export declare class AXMaskOptionsDirective implements AXMaskOptionsInterface {
9
9
  mask: AnyMaskedOptions | string | RegExp;
10
10
  updateValue?: (masked: string, unmasked: string) => void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXMaskOptionsDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXMaskOptionsDirective, "ax-mask-options", never, { "mask": "mask"; "updateValue": "updateValue"; }, {}, never, never, false, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXMaskOptionsDirective, "ax-mask-options", never, { "mask": { "alias": "mask"; "required": false; }; "updateValue": { "alias": "updateValue"; "required": false; }; }, {}, never, never, false, never>;
13
13
  }
@@ -23,5 +23,5 @@ export declare class AXTextBoxComponent extends AXBaseTextBoxMixin {
23
23
  focus(): void;
24
24
  private _onComplete;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTextBoxComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": "disabled"; "tabIndex": "tabIndex"; "readonly": "readonly"; "value": "value"; "state": "state"; "name": "name"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "maskOptions": "mask-options"; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTextBoxComponent, "ax-text-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "state": { "alias": "state"; "required": false; }; "name": { "alias": "name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "maskOptions": { "alias": "mask-options"; "required": false; }; }, { "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "stateChange": "stateChange"; "onValueChanged": "onValueChanged"; }, ["_maskOptionsContent"], ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
27
27
  }
@@ -2,7 +2,7 @@ import { ElementRef, ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import IMask from 'imask';
3
3
  import { AXBaseTextBoxMixin, AXComponentOptionChanged } from '@acorex/components/mixin';
4
4
  import * as i0 from "@angular/core";
5
- export declare type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';
5
+ export type AX_TIME_FORMAT = 'HH:mm' | 'HH:mm:ss';
6
6
  /**
7
7
  * The Button is a component which detects user interaction and triggers a corresponding event
8
8
  *
@@ -46,5 +46,5 @@ export declare class AXTimeBoxComponent extends AXBaseTextBoxMixin {
46
46
  _handleOnInputClickEvent(e: MouseEvent): void;
47
47
  private _highlightPart;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTimeBoxComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": "disabled"; "readonly": "readonly"; "tabIndex": "tabIndex"; "size": "size"; "value": "value"; "placeholder": "placeholder"; "maxLength": "maxLength"; "allowNull": "allowNull"; "type": "type"; "autoComplete": "autoComplete"; "name": "name"; "checked": "checked"; "minValue": "minValue"; "maxValue": "maxValue"; "format": "format"; "displayText": "displayText"; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTimeBoxComponent, "ax-time-box", never, { "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "allowNull": { "alias": "allowNull"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "name": { "alias": "name"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "minValue": { "alias": "minValue"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "displayText": { "alias": "displayText"; "required": false; }; }, { "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; "onBlur": "onBlur"; "onFocus": "onFocus"; "formatChange": "formatChange"; "displayTextChange": "displayTextChange"; }, never, ["ax-prefix", "ax-suffix", "ax-validation-rule"], false, never>;
50
50
  }
@@ -7,5 +7,5 @@ export declare class AXTooltipComponent extends AXBaseComponentMixin {
7
7
  text: string;
8
8
  position: AXPosition;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": "text"; "position": "position"; }, {}, never, never, false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTooltipComponent, "ax-tooltip", never, { "text": { "alias": "text"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, never, false, never>;
11
11
  }
@@ -18,5 +18,5 @@ export declare class AXTooltipDirective {
18
18
  show(): void;
19
19
  hide(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTooltipDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "text": "axTooltip"; "position": "axTooltipPosition"; }, {}, never, never, false, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AXTooltipDirective, "[axTooltip]", never, { "text": { "alias": "axTooltip"; "required": false; }; "position": { "alias": "axTooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
22
22
  }
@@ -29,5 +29,5 @@ export declare class AXTreeViewComponent implements OnInit {
29
29
  }[];
30
30
  }[];
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<AXTreeViewComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "showLines": "showLines"; }, {}, never, never, false, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXTreeViewComponent, "ax-tree-view", never, { "showLines": { "alias": "showLines"; "required": false; }; }, {}, never, never, false, never>;
33
33
  }
@@ -24,5 +24,5 @@ export declare class AXUploaderComponent extends AXBaseComponentMixin {
24
24
  _handleUnhighlight(e: any): void;
25
25
  get __defaultClass(): boolean;
26
26
  static ɵfac: i0.ɵɵFactoryDeclaration<AXUploaderComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderComponent, "ax-uploader", never, { "multiple": "multiple"; "accept": "accept"; }, { "onValueChanged": "onValueChanged"; }, never, ["*"], false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXUploaderComponent, "ax-uploader", never, { "multiple": { "alias": "multiple"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "onValueChanged": "onValueChanged"; }, never, ["*"], false, never>;
28
28
  }
@@ -1,76 +0,0 @@
1
- import { TAB_META_KEY } from '@acorex/components/common';
2
- import { AXBaseComponent } from '@acorex/components/mixin';
3
- import { ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
4
- import { ChangeDetectionStrategy, Component, EventEmitter, HostListener, TemplateRef, ViewEncapsulation } from '@angular/core';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common";
7
- import * as i2 from "@angular/cdk/portal";
8
- import * as i3 from "@acorex/components/decorators";
9
- export class AXActionSheetComponent extends AXBaseComponent {
10
- constructor(elementRef, cdr, _viewContainerRef) {
11
- super(elementRef, cdr);
12
- this._viewContainerRef = _viewContainerRef;
13
- this.items = [];
14
- this.showCloseButton = true;
15
- this.showHeader = true;
16
- this.data = {};
17
- this.onClosed = new EventEmitter();
18
- }
19
- close() {
20
- this.onClosed.emit({
21
- component: this[TAB_META_KEY].component,
22
- htmlElement: this._getHostElement(),
23
- });
24
- this._cdr.detectChanges();
25
- }
26
- onInit() {
27
- if (this.content) {
28
- if (typeof this.content === 'string') {
29
- // this.rendererService.findLoadedComponentByRoute(this.content, 20).then(route => {
30
- // setTimeout(() => {
31
- // this.loadComponent(route.component);
32
- // }, 300);
33
- // });
34
- }
35
- else if (this.content instanceof TemplateRef) {
36
- this._selectedPortal = new TemplatePortal(this.content, this._viewContainerRef, { $implicit: this.data, ref: this });
37
- this._cdr.markForCheck();
38
- }
39
- else if (typeof this.content === 'function') {
40
- this._selectedPortal = new ComponentPortal(this.content);
41
- this._cdr.markForCheck();
42
- }
43
- }
44
- }
45
- onKeydownHandler(event) {
46
- let focusedOrHasFocused = this._getHostElement().matches(':focus-within');
47
- if (this.showCloseButton && focusedOrHasFocused) {
48
- this.close();
49
- }
50
- }
51
- _handleAttched(ref) {
52
- ref = ref;
53
- if (ref.instance) {
54
- this[TAB_META_KEY].component = ref.instance;
55
- Object.assign(this[TAB_META_KEY].component, this.data);
56
- if (ref.instance.onClosed) {
57
- ref.instance.onClosed.subscribe((e) => {
58
- this.onClosed.emit(e);
59
- });
60
- }
61
- }
62
- }
63
- _handleCloseClick() {
64
- this.close();
65
- }
66
- }
67
- AXActionSheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
68
- AXActionSheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: AXActionSheetComponent, selector: "ax-action-sheet", host: { listeners: { "keydown.escape": "onKeydownHandler($event)" } }, usesInheritance: true, ngImport: i0, template: "<ax-header>\r\n <ax-title>{{ title }}</ax-title>\r\n <ax-close-button (click)=\"_handleCloseClick()\" tabindex=\"1\"></ax-close-button>\r\n</ax-header>\r\n<ng-template *ngIf=\"_selectedPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n</ng-template>\r\n<!-- TODO: Are you sure we need this? if remove this content not showing -->\r\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n<div class=\"ax-action-sheet-items\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" (click)=\"item.onClick()\">\r\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\r\n <span class=\"item-text\">{{ item.text }}</span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: ["@media (max-width: 599px){ax-action-sheet{width:100vw}}@media (min-width: 600px){ax-action-sheet{width:75vw}}@media (min-width: 1200px){ax-action-sheet{width:30vw}}@media (min-width: 1800px){ax-action-sheet{width:25vw}}ax-action-sheet ax-header{padding:.75rem}ax-action-sheet .ax-action-sheet-items{padding:.5rem 0}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{-webkit-user-select:none;user-select:none;cursor:pointer;padding:.75rem 1rem;display:flex}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{font-size:1.5rem;margin-inline-end:.75rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }, { kind: "component", type: i3.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i3.AXDecoratorTitleComponent, selector: "ax-title" }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetComponent, decorators: [{
70
- type: Component,
71
- args: [{ selector: 'ax-action-sheet', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-header>\r\n <ax-title>{{ title }}</ax-title>\r\n <ax-close-button (click)=\"_handleCloseClick()\" tabindex=\"1\"></ax-close-button>\r\n</ax-header>\r\n<ng-template *ngIf=\"_selectedPortal\">\r\n <ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n</ng-template>\r\n<!-- TODO: Are you sure we need this? if remove this content not showing -->\r\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\r\n<div class=\"ax-action-sheet-items\">\r\n <ng-container *ngFor=\"let item of items\">\r\n <div class=\"ax-action-sheet-item ax-{{ item.color }}\" [class.ax-state-disabled]=\"item.disabled\" (click)=\"item.onClick()\">\r\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\r\n <span class=\"item-text\">{{ item.text }}</span>\r\n </div>\r\n </ng-container>\r\n</div>\r\n", styles: ["@media (max-width: 599px){ax-action-sheet{width:100vw}}@media (min-width: 600px){ax-action-sheet{width:75vw}}@media (min-width: 1200px){ax-action-sheet{width:30vw}}@media (min-width: 1800px){ax-action-sheet{width:25vw}}ax-action-sheet ax-header{padding:.75rem}ax-action-sheet .ax-action-sheet-items{padding:.5rem 0}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item{-webkit-user-select:none;user-select:none;cursor:pointer;padding:.75rem 1rem;display:flex}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item:hover{background-color:rgba(var(--ax-color-on-surface))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item .item-icon{font-size:1.5rem;margin-inline-end:.75rem}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-primary{color:rgba(var(--ax-color-primary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-secondary{color:rgba(var(--ax-color-secondary-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-success{color:rgba(var(--ax-color-success-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-warning{color:rgba(var(--ax-color-warning-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-danger{color:rgba(var(--ax-color-danger-500))}ax-action-sheet .ax-action-sheet-items .ax-action-sheet-item.ax-info{color:rgba(var(--ax-color-info-500))}\n"] }]
72
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { onKeydownHandler: [{
73
- type: HostListener,
74
- args: ['keydown.escape', ['$event']]
75
- }] } });
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvYWN0aW9uLXNoZWV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Fjb3JleC9jb21wb25lbnRzL2FjdGlvbi1zaGVldC9zcmMvYWN0aW9uLXNoZWV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Zy10ZW1wbGF0ZT5cclxuPC9uZy10ZW1wbGF0ZT5cclxuPCEtLSBUT0RPOiBBcmUgeW91IHN1cmUgd2UgbmVlZCB0aGlzPyBpZiByZW1vdmUgdGhpcyBjb250ZW50IG5vdCBzaG93aW5nIC0tPlxyXG48bmctdGVtcGxhdGUgW2Nka1BvcnRhbE91dGxldF09XCJfc2VsZWN0ZWRQb3J0YWxcIiAoYXR0YWNoZWQpPVwiX2hhbmRsZUF0dGNoZWQoJGV2ZW50KVwiPjwvbmctdGVtcGxhdGU+XHJcbjxkaXYgY2xhc3M9XCJheC1hY3Rpb24tc2hlZXQtaXRlbXNcIj5cclxuICA8bmctY29udGFpbmVyICpuZ0Zvcj1cImxldCBpdGVtIG9mIGl0ZW1zXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwiYXgtYWN0aW9uLXNoZWV0LWl0ZW0gYXgte3sgaXRlbS5jb2xvciB9fVwiIFtjbGFzcy5heC1zdGF0ZS1kaXNhYmxlZF09XCJpdGVtLmRpc2FibGVkXCIgKGNsaWNrKT1cIml0ZW0ub25DbGljaygpXCI+XHJcbiAgICAgIDxzcGFuIGNsYXNzPVwiaXRlbS1pY29uXCIgKm5nSWY9XCJpdGVtLmljb25cIiBbY2xhc3NdPVwiaXRlbS5pY29uXCI+PC9zcGFuPlxyXG4gICAgICA8c3BhbiBjbGFzcz1cIml0ZW0tdGV4dFwiPnt7IGl0ZW0udGV4dCB9fTwvc3Bhbj5cclxuICAgIDwvZGl2PlxyXG4gIDwvbmctY29udGFpbmVyPlxyXG48L2Rpdj5cclxuIl19
@@ -1,91 +0,0 @@
1
- import { AXComponentClosedPromise, TAB_META_KEY, } from '@acorex/components/common';
2
- import { AXTranslator } from '@acorex/core/translation';
3
- import { Injectable } from '@angular/core';
4
- import { AXActionSheetComponent } from './action-sheet.component';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/cdk/overlay";
7
- import * as i2 from "@acorex/components/common";
8
- export class AXActionSheetService {
9
- // _overlayRef: OverlayRef;
10
- // _templatePortal!: ComponentPortal<any>;
11
- constructor(_overlay, overlayService) {
12
- this._overlay = _overlay;
13
- this.overlayService = overlayService;
14
- }
15
- //open(items: AXActionSheetItem[],options?:AXActionSheetOptions);
16
- //open(content:AXActionSheetContentType, options?: AXActionSheetOptions);
17
- open(options) {
18
- const opt = {
19
- title: AXTranslator.get('action-sheet.title'),
20
- showCloseButton: true,
21
- closeOnBackdrop: true,
22
- showHeader: true,
23
- };
24
- Object.assign(opt, options);
25
- const lastActiveElement = document.activeElement;
26
- const com = this.overlayService.show(AXActionSheetComponent, opt, {
27
- hasBackdrop: true,
28
- closeOnClickOutside: opt.closeOnBackdrop,
29
- transparentBackdrop: false,
30
- panelClass: ['ax-actionsheet-panel'],
31
- position: this._overlay.position().global().bottom().centerHorizontally(),
32
- scroll: 'block',
33
- });
34
- const actionSheet = com.instance;
35
- actionSheet[TAB_META_KEY] = {};
36
- actionSheet.onClosed.subscribe(c => {
37
- this.closePopup(actionSheet, com, c, lastActiveElement);
38
- });
39
- const promise = new AXComponentClosedPromise((resolve, reject) => {
40
- actionSheet[TAB_META_KEY].close = e => {
41
- if (resolve) {
42
- resolve(e);
43
- }
44
- else {
45
- reject(e);
46
- }
47
- };
48
- });
49
- promise['closeMethod'] = () => {
50
- actionSheet.close();
51
- };
52
- return promise;
53
- }
54
- closePopup(popup, com, result, lastActiveElement) {
55
- const closeFunc = e => {
56
- com.dispose();
57
- delete e.cancel;
58
- popup[TAB_META_KEY].close(e);
59
- if (lastActiveElement?.focus) {
60
- lastActiveElement.focus();
61
- }
62
- };
63
- const e = { cancel: false };
64
- const closingFunc = popup[TAB_META_KEY].component?.onClosing;
65
- if (closingFunc) {
66
- const res = closingFunc(e);
67
- if (res instanceof Promise) {
68
- res.then(() => {
69
- if (e == null || e.cancel !== true) {
70
- closeFunc(result);
71
- }
72
- });
73
- }
74
- else {
75
- if (e == null || e.cancel !== true) {
76
- closeFunc(result);
77
- }
78
- }
79
- }
80
- else {
81
- closeFunc(result);
82
- }
83
- }
84
- }
85
- AXActionSheetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, deps: [{ token: i1.Overlay }, { token: i2.AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable });
86
- AXActionSheetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, providedIn: 'root' });
87
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXActionSheetService, decorators: [{
88
- type: Injectable,
89
- args: [{ providedIn: 'root' }]
90
- }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i2.AXOverlayService }]; } });
91
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aW9uLXNoZWV0LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hY29yZXgvY29tcG9uZW50cy9hY3Rpb24tc2hlZXQvc3JjL2FjdGlvbi1zaGVldC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx3QkFBd0IsRUFJeEIsWUFBWSxHQUNiLE1BQU0sMkJBQTJCLENBQUM7QUFDbkMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRXhELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sMEJBQTBCLENBQUM7Ozs7QUFJbEUsTUFBTSxPQUFPLG9CQUFvQjtJQUMvQiwyQkFBMkI7SUFDM0IsMENBQTBDO0lBRTFDLFlBQW9CLFFBQWlCLEVBQVUsY0FBZ0M7UUFBM0QsYUFBUS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