@acorex/components 7.2.6 → 7.2.8

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 (289) hide show
  1. package/alert/lib/alert.component.d.ts +2 -1
  2. package/breadcrumbs/lib/breadcrumbs-item.component.d.ts +5 -69
  3. package/button/lib/button-group.component.d.ts +6 -6
  4. package/button/lib/button-item.component.d.ts +6 -6
  5. package/calendar/lib/calendar.component.d.ts +1 -0
  6. package/checkbox/lib/checkbox.component.d.ts +15 -9
  7. package/chips/lib/chips.component.d.ts +5 -64
  8. package/collapse/lib/collapse-group.component.d.ts +22 -10
  9. package/collapse/lib/collapse.component.d.ts +13 -7
  10. package/color-palette/lib/color-palette-input.component.d.ts +11 -10
  11. package/color-palette/lib/color-palette-picker.component.d.ts +12 -10
  12. package/color-palette/lib/color-palette-preview.component.d.ts +11 -7
  13. package/color-palette/lib/color-palette-swatches.component.d.ts +13 -11
  14. package/color-palette/lib/color-palette.class.d.ts +12 -6
  15. package/color-palette/lib/color-palette.component.d.ts +4 -10
  16. package/color-palette/lib/color-palette.module.d.ts +9 -8
  17. package/color-picker/lib/color-picker.component.d.ts +21 -18
  18. package/common/index.d.ts +1 -0
  19. package/common/lib/classes/components.class.d.ts +2 -1
  20. package/common/lib/components/base-component.class.d.ts +11 -9
  21. package/common/lib/components/input-base-value-component.class.d.ts +26 -0
  22. package/common/lib/components/interactive-component.class.d.ts +7 -0
  23. package/common/lib/components/value-component.class.d.ts +15 -7
  24. package/decorators/index.d.ts +1 -0
  25. package/decorators/lib/divider.component.d.ts +5 -0
  26. package/drawer/lib/drawer.component.d.ts +1 -1
  27. package/esm2022/acorex-components.mjs +1 -1
  28. package/esm2022/action-sheet/lib/action-sheet.component.mjs +3 -3
  29. package/esm2022/action-sheet/lib/action-sheet.module.mjs +4 -4
  30. package/esm2022/action-sheet/lib/action-sheet.service.mjs +3 -3
  31. package/esm2022/alert/lib/alert.component.mjs +13 -11
  32. package/esm2022/alert/lib/alert.module.mjs +4 -4
  33. package/esm2022/avatar/lib/avatar-group.component.mjs +3 -3
  34. package/esm2022/avatar/lib/avatar.component.mjs +3 -3
  35. package/esm2022/avatar/lib/avatar.module.mjs +4 -4
  36. package/esm2022/badge/lib/badge.component.mjs +5 -5
  37. package/esm2022/badge/lib/badge.module.mjs +4 -4
  38. package/esm2022/breadcrumbs/lib/breadcrumbs-item.component.mjs +11 -20
  39. package/esm2022/breadcrumbs/lib/breadcrumbs.component.mjs +4 -4
  40. package/esm2022/breadcrumbs/lib/breadcrumbs.module.mjs +4 -4
  41. package/esm2022/button/lib/button-group.component.mjs +3 -3
  42. package/esm2022/button/lib/button-item.component.mjs +3 -3
  43. package/esm2022/button/lib/button.component.mjs +3 -3
  44. package/esm2022/button/lib/button.module.mjs +4 -4
  45. package/esm2022/calendar/lib/calendar-range.component.mjs +3 -3
  46. package/esm2022/calendar/lib/calendar.class.mjs +6 -5
  47. package/esm2022/calendar/lib/calendar.component.mjs +15 -14
  48. package/esm2022/calendar/lib/calendar.module.mjs +4 -4
  49. package/esm2022/checkbox/lib/checkbox.component.mjs +44 -20
  50. package/esm2022/checkbox/lib/checkbox.module.mjs +4 -4
  51. package/esm2022/chips/lib/chips.component.mjs +9 -11
  52. package/esm2022/chips/lib/chips.module.mjs +4 -4
  53. package/esm2022/collapse/lib/collapse-group.component.mjs +81 -25
  54. package/esm2022/collapse/lib/collapse.component.mjs +29 -16
  55. package/esm2022/collapse/lib/collapse.module.mjs +4 -4
  56. package/esm2022/color-palette/lib/color-palette-input.component.mjs +59 -74
  57. package/esm2022/color-palette/lib/color-palette-picker.component.mjs +78 -69
  58. package/esm2022/color-palette/lib/color-palette-preview.component.mjs +33 -27
  59. package/esm2022/color-palette/lib/color-palette-swatches.component.mjs +37 -251
  60. package/esm2022/color-palette/lib/color-palette.class.mjs +229 -8
  61. package/esm2022/color-palette/lib/color-palette.component.mjs +32 -58
  62. package/esm2022/color-palette/lib/color-palette.module.mjs +9 -6
  63. package/esm2022/color-picker/lib/color-picker.component.mjs +5 -8
  64. package/esm2022/color-picker/lib/color-picker.module.mjs +4 -4
  65. package/esm2022/common/index.mjs +2 -1
  66. package/esm2022/common/lib/classes/components.class.mjs +19 -19
  67. package/esm2022/common/lib/common.module.mjs +4 -4
  68. package/esm2022/common/lib/components/base-component.class.mjs +12 -8
  69. package/esm2022/common/lib/components/input-base-value-component.class.mjs +47 -0
  70. package/esm2022/common/lib/components/interactive-component.class.mjs +31 -4
  71. package/esm2022/common/lib/components/value-component.class.mjs +60 -38
  72. package/esm2022/common/lib/directives/auto-focus.directive.mjs +3 -3
  73. package/esm2022/common/lib/directives/debounce-time.directive.mjs +3 -3
  74. package/esm2022/common/lib/directives/hotkey.directive.mjs +3 -3
  75. package/esm2022/common/lib/directives/infinite-scroll.directive.mjs +3 -3
  76. package/esm2022/common/lib/directives/responsive.directive.mjs +3 -3
  77. package/esm2022/common/lib/services/custom-cdk-overlay.service.mjs +6 -6
  78. package/esm2022/common/lib/services/hotkey.service.mjs +3 -3
  79. package/esm2022/common/lib/services/overlay.service.mjs +3 -3
  80. package/esm2022/context-menu/lib/context-menu.component.mjs +3 -3
  81. package/esm2022/context-menu/lib/context-menu.module.mjs +4 -4
  82. package/esm2022/data-pager/lib/data-pager-base.component.mjs +6 -6
  83. package/esm2022/data-pager/lib/data-pager-info.component.mjs +3 -3
  84. package/esm2022/data-pager/lib/data-pager-input-selector.component.mjs +3 -3
  85. package/esm2022/data-pager/lib/data-pager-next-buttons.components.mjs +3 -3
  86. package/esm2022/data-pager/lib/data-pager-numeric-selector.component.mjs +3 -3
  87. package/esm2022/data-pager/lib/data-pager-pagesize-dropdown.component.mjs +3 -3
  88. package/esm2022/data-pager/lib/data-pager-prev-buttons.component.mjs +3 -3
  89. package/esm2022/data-pager/lib/data-pager.component.mjs +3 -3
  90. package/esm2022/data-pager/lib/data-pager.module.mjs +4 -4
  91. package/esm2022/data-table/lib/data-column-cell-template.directive.mjs +3 -3
  92. package/esm2022/data-table/lib/data-column.directive.mjs +3 -3
  93. package/esm2022/data-table/lib/data-table.component.mjs +3 -3
  94. package/esm2022/data-table/lib/data-table.module.mjs +4 -4
  95. package/esm2022/date-picker/lib/datepicker.component.mjs +3 -3
  96. package/esm2022/date-picker/lib/datepicker.module.mjs +4 -4
  97. package/esm2022/decorators/index.mjs +2 -1
  98. package/esm2022/decorators/lib/close-button.component.mjs +3 -3
  99. package/esm2022/decorators/lib/content.component.mjs +3 -3
  100. package/esm2022/decorators/lib/decorators.module.mjs +4 -4
  101. package/esm2022/decorators/lib/divider.component.mjs +17 -0
  102. package/esm2022/decorators/lib/footer.component.mjs +3 -3
  103. package/esm2022/decorators/lib/form-hint.component.mjs +6 -6
  104. package/esm2022/decorators/lib/header.component.mjs +3 -3
  105. package/esm2022/decorators/lib/icon.component.mjs +3 -3
  106. package/esm2022/decorators/lib/overlay.component.mjs +3 -3
  107. package/esm2022/decorators/lib/placeholder.component.mjs +3 -3
  108. package/esm2022/decorators/lib/prefix.component.mjs +3 -3
  109. package/esm2022/decorators/lib/sub-title.component.mjs +3 -3
  110. package/esm2022/decorators/lib/suffix.component.mjs +4 -4
  111. package/esm2022/decorators/lib/text.component.mjs +3 -3
  112. package/esm2022/decorators/lib/title.component.mjs +3 -3
  113. package/esm2022/dialog/lib/dialog.component.mjs +3 -3
  114. package/esm2022/dialog/lib/dialog.module.mjs +4 -4
  115. package/esm2022/dialog/lib/dialog.service.mjs +3 -3
  116. package/esm2022/drawer/lib/drawer-container.component.mjs +3 -3
  117. package/esm2022/drawer/lib/drawer.component.mjs +6 -5
  118. package/esm2022/drawer/lib/drawer.module.mjs +4 -4
  119. package/esm2022/dropdown/lib/dropdown-panel.component.mjs +3 -3
  120. package/esm2022/dropdown/lib/dropdown.module.mjs +4 -4
  121. package/esm2022/form/lib/form-field.component.mjs +4 -4
  122. package/esm2022/form/lib/form.component.mjs +4 -6
  123. package/esm2022/form/lib/form.module.mjs +4 -4
  124. package/esm2022/form/lib/validation-rule.widget.mjs +3 -3
  125. package/esm2022/form/lib/validation-summary.component.mjs +3 -3
  126. package/esm2022/image/lib/image.component.mjs +3 -3
  127. package/esm2022/image/lib/image.module.mjs +4 -4
  128. package/esm2022/index.mjs +1 -1
  129. package/esm2022/label/lib/label.component.mjs +4 -4
  130. package/esm2022/label/lib/label.module.mjs +4 -4
  131. package/esm2022/loading/lib/loading-spinner.component.mjs +3 -3
  132. package/esm2022/loading/lib/loading.component.mjs +3 -3
  133. package/esm2022/loading/lib/loading.directive.mjs +3 -3
  134. package/esm2022/loading/lib/loading.module.mjs +4 -4
  135. package/esm2022/loading/lib/loading.service.mjs +3 -3
  136. package/esm2022/menu/lib/menu.component.mjs +3 -3
  137. package/esm2022/menu/lib/menu.module.mjs +4 -4
  138. package/esm2022/mixin/lib/base-components.class.mjs +3 -3
  139. package/esm2022/mixin/lib/base-menu-mixin.class.mjs +3 -3
  140. package/esm2022/mixin/lib/value-mixin.class.mjs +4 -1
  141. package/esm2022/notification/lib/notification.component.mjs +3 -3
  142. package/esm2022/notification/lib/notification.module.mjs +4 -4
  143. package/esm2022/notification/lib/notification.service.mjs +3 -3
  144. package/esm2022/number-box/lib/number-box.component.mjs +3 -3
  145. package/esm2022/number-box/lib/number-box.module.mjs +4 -4
  146. package/esm2022/otp/lib/otp.component.mjs +3 -3
  147. package/esm2022/otp/lib/otp.module.mjs +4 -4
  148. package/esm2022/page/lib/base-page.class.mjs +3 -3
  149. package/esm2022/page/lib/page.component.mjs +3 -3
  150. package/esm2022/page/lib/page.module.mjs +4 -4
  151. package/esm2022/password-box/lib/password-box.component.mjs +3 -3
  152. package/esm2022/password-box/lib/password-box.module.mjs +4 -4
  153. package/esm2022/popover/lib/dropdown-component.class.mjs +3 -3
  154. package/esm2022/popover/lib/popover.component.mjs +3 -3
  155. package/esm2022/popover/lib/popover.module.mjs +4 -4
  156. package/esm2022/popup/lib/popup.component.mjs +3 -3
  157. package/esm2022/popup/lib/popup.module.mjs +4 -4
  158. package/esm2022/popup/lib/popup.service.mjs +3 -3
  159. package/esm2022/progress-bar/lib/progress-bar.component.mjs +3 -3
  160. package/esm2022/progress-bar/lib/progress-bar.module.mjs +4 -4
  161. package/esm2022/radio/lib/radio.component.mjs +3 -3
  162. package/esm2022/radio/lib/radio.module.mjs +4 -4
  163. package/esm2022/range-slider/lib/range-slider.component.mjs +36 -23
  164. package/esm2022/range-slider/lib/range-slider.module.mjs +7 -6
  165. package/esm2022/result/lib/result.component.mjs +3 -3
  166. package/esm2022/result/lib/result.module.mjs +4 -4
  167. package/esm2022/search-box/lib/search-box.component.mjs +3 -3
  168. package/esm2022/search-box/lib/search-box.module.mjs +4 -4
  169. package/esm2022/select-box/lib/select-box.component.mjs +3 -3
  170. package/esm2022/select-box/lib/select-box.module.mjs +4 -4
  171. package/esm2022/selection-list/lib/selection-list.component.mjs +3 -3
  172. package/esm2022/selection-list/lib/selection-list.module.mjs +4 -4
  173. package/esm2022/switch/lib/switch-content.component.mjs +3 -3
  174. package/esm2022/switch/lib/switch.component.mjs +27 -25
  175. package/esm2022/switch/lib/switch.module.mjs +4 -4
  176. package/esm2022/tabs/lib/tab-content.directive.mjs +3 -3
  177. package/esm2022/tabs/lib/tab-item.component.mjs +3 -3
  178. package/esm2022/tabs/lib/tabs.component.mjs +3 -3
  179. package/esm2022/tabs/lib/tabs.module.mjs +4 -4
  180. package/esm2022/tag/lib/tag.component.mjs +3 -3
  181. package/esm2022/tag/lib/tag.module.mjs +4 -4
  182. package/esm2022/textarea/lib/textarea.component.mjs +3 -3
  183. package/esm2022/textarea/lib/textarea.module.mjs +4 -4
  184. package/esm2022/textbox/lib/mask-options.directive.mjs +3 -3
  185. package/esm2022/textbox/lib/textbox.component.mjs +39 -21
  186. package/esm2022/textbox/lib/textbox.module.mjs +4 -4
  187. package/esm2022/time-box/lib/time-box.component.mjs +4 -6
  188. package/esm2022/time-box/lib/time-box.module.mjs +4 -4
  189. package/esm2022/toast/lib/toast.component.mjs +3 -3
  190. package/esm2022/toast/lib/toast.module.mjs +4 -4
  191. package/esm2022/toast/lib/toast.service.mjs +3 -3
  192. package/esm2022/tooltip/lib/tooltip.component.mjs +3 -3
  193. package/esm2022/tooltip/lib/tooltip.directive.mjs +3 -3
  194. package/esm2022/tooltip/lib/tooltip.module.mjs +4 -4
  195. package/esm2022/uploader/lib/uploader.component.mjs +3 -3
  196. package/esm2022/uploader/lib/uploader.module.mjs +4 -4
  197. package/fesm2022/acorex-components-action-sheet.mjs +10 -10
  198. package/fesm2022/acorex-components-alert.mjs +16 -14
  199. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  200. package/fesm2022/acorex-components-avatar.mjs +10 -10
  201. package/fesm2022/acorex-components-badge.mjs +8 -8
  202. package/fesm2022/acorex-components-badge.mjs.map +1 -1
  203. package/fesm2022/acorex-components-breadcrumbs.mjs +18 -28
  204. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -1
  205. package/fesm2022/acorex-components-button.mjs +13 -13
  206. package/fesm2022/acorex-components-calendar.mjs +26 -24
  207. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  208. package/fesm2022/acorex-components-checkbox.mjs +47 -24
  209. package/fesm2022/acorex-components-checkbox.mjs.map +1 -1
  210. package/fesm2022/acorex-components-chips.mjs +13 -15
  211. package/fesm2022/acorex-components-chips.mjs.map +1 -1
  212. package/fesm2022/acorex-components-collapse.mjs +110 -41
  213. package/fesm2022/acorex-components-collapse.mjs.map +1 -1
  214. package/fesm2022/acorex-components-color-palette.mjs +445 -461
  215. package/fesm2022/acorex-components-color-palette.mjs.map +1 -1
  216. package/fesm2022/acorex-components-color-picker.mjs +8 -11
  217. package/fesm2022/acorex-components-color-picker.mjs.map +1 -1
  218. package/fesm2022/acorex-components-common.mjs +192 -97
  219. package/fesm2022/acorex-components-common.mjs.map +1 -1
  220. package/fesm2022/acorex-components-context-menu.mjs +7 -7
  221. package/fesm2022/acorex-components-data-pager.mjs +31 -31
  222. package/fesm2022/acorex-components-data-table.mjs +13 -13
  223. package/fesm2022/acorex-components-date-picker.mjs +7 -7
  224. package/fesm2022/acorex-components-decorators.mjs +60 -45
  225. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  226. package/fesm2022/acorex-components-dialog.mjs +10 -10
  227. package/fesm2022/acorex-components-drawer.mjs +11 -10
  228. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  229. package/fesm2022/acorex-components-dropdown.mjs +7 -7
  230. package/fesm2022/acorex-components-form.mjs +17 -19
  231. package/fesm2022/acorex-components-form.mjs.map +1 -1
  232. package/fesm2022/acorex-components-image.mjs +7 -7
  233. package/fesm2022/acorex-components-label.mjs +8 -8
  234. package/fesm2022/acorex-components-label.mjs.map +1 -1
  235. package/fesm2022/acorex-components-loading.mjs +16 -16
  236. package/fesm2022/acorex-components-menu.mjs +7 -7
  237. package/fesm2022/acorex-components-mixin.mjs +7 -5
  238. package/fesm2022/acorex-components-mixin.mjs.map +1 -1
  239. package/fesm2022/acorex-components-notification.mjs +10 -10
  240. package/fesm2022/acorex-components-number-box.mjs +7 -7
  241. package/fesm2022/acorex-components-otp.mjs +7 -7
  242. package/fesm2022/acorex-components-page.mjs +10 -10
  243. package/fesm2022/acorex-components-password-box.mjs +7 -7
  244. package/fesm2022/acorex-components-popover.mjs +10 -10
  245. package/fesm2022/acorex-components-popup.mjs +10 -10
  246. package/fesm2022/acorex-components-progress-bar.mjs +7 -7
  247. package/fesm2022/acorex-components-radio.mjs +7 -7
  248. package/fesm2022/acorex-components-range-slider.mjs +40 -28
  249. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  250. package/fesm2022/acorex-components-result.mjs +7 -7
  251. package/fesm2022/acorex-components-search-box.mjs +7 -7
  252. package/fesm2022/acorex-components-search-box.mjs.map +1 -1
  253. package/fesm2022/acorex-components-select-box.mjs +7 -7
  254. package/fesm2022/acorex-components-selection-list.mjs +7 -7
  255. package/fesm2022/acorex-components-switch.mjs +33 -32
  256. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  257. package/fesm2022/acorex-components-tabs.mjs +13 -13
  258. package/fesm2022/acorex-components-tag.mjs +7 -7
  259. package/fesm2022/acorex-components-textarea.mjs +7 -7
  260. package/fesm2022/acorex-components-textbox.mjs +45 -28
  261. package/fesm2022/acorex-components-textbox.mjs.map +1 -1
  262. package/fesm2022/acorex-components-time-box.mjs +7 -9
  263. package/fesm2022/acorex-components-time-box.mjs.map +1 -1
  264. package/fesm2022/acorex-components-toast.mjs +10 -10
  265. package/fesm2022/acorex-components-tooltip.mjs +10 -10
  266. package/fesm2022/acorex-components-uploader.mjs +7 -7
  267. package/fesm2022/acorex-components.mjs.map +1 -1
  268. package/mixin/lib/base-components.class.d.ts +2 -2
  269. package/mixin/lib/base-menu-mixin.class.d.ts +5 -5
  270. package/mixin/lib/button-mixin.class.d.ts +2 -2
  271. package/mixin/lib/clickable-mixin.class.d.ts +2 -2
  272. package/mixin/lib/color-look-mixing.class.d.ts +2 -2
  273. package/mixin/lib/datalist-component.class.d.ts +10 -10
  274. package/mixin/lib/dropdown-mixin.class.d.ts +2 -2
  275. package/mixin/lib/interactive-mixin.class.d.ts +4 -4
  276. package/mixin/lib/loading-mixin.class.d.ts +2 -2
  277. package/mixin/lib/mixin.class.d.ts +62 -61
  278. package/mixin/lib/page-component.class.d.ts +2 -2
  279. package/mixin/lib/selection-component.class.d.ts +2 -2
  280. package/mixin/lib/sizable-mixin.class.d.ts +2 -2
  281. package/mixin/lib/textbox-mixin.class.d.ts +2 -2
  282. package/mixin/lib/value-mixin.class.d.ts +9 -8
  283. package/package.json +25 -25
  284. package/range-slider/lib/range-slider.component.d.ts +8 -9
  285. package/range-slider/lib/range-slider.module.d.ts +3 -2
  286. package/switch/lib/switch.component.d.ts +10 -8
  287. package/tabs/lib/tab-item.component.d.ts +2 -2
  288. package/textbox/lib/textbox.component.d.ts +8 -8
  289. package/time-box/lib/time-box.component.d.ts +1 -1
@@ -6,9 +6,9 @@ import { AXPopoverComponent } from '@acorex/components/popover';
6
6
  import { AXBaseComponent } from '@acorex/components/mixin';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
9
- "__#5091@#disabled": boolean;
9
+ "__#5174@#disabled": boolean;
10
10
  disabled: boolean;
11
- "__#5091@#tabIndex": number;
11
+ "__#5174@#tabIndex": number;
12
12
  tabIndex: number;
13
13
  onFocus: import("@angular/core").EventEmitter<import("@acorex/components/common").AXFocusEvent>;
14
14
  _emitOnFocusEvent(e: FocusEvent): void;
@@ -17,9 +17,9 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
17
17
  focus(): void;
18
18
  hasFocus(): boolean;
19
19
  id: string;
20
- "__#5088@#rtl": boolean;
20
+ "__#5171@#rtl": boolean;
21
21
  rtl: boolean;
22
- "__#5088@#elementRef": ElementRef<any>;
22
+ "__#5171@#elementRef": ElementRef<any>;
23
23
  _cdr: ChangeDetectorRef;
24
24
  _isInited: boolean;
25
25
  _isRendered: boolean;
@@ -58,9 +58,9 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
58
58
  open(): void;
59
59
  readonly isOpen: boolean;
60
60
  id: string;
61
- "__#5088@#rtl": boolean;
61
+ "__#5171@#rtl": boolean;
62
62
  rtl: boolean;
63
- "__#5088@#elementRef": ElementRef<any>;
63
+ "__#5171@#elementRef": ElementRef<any>;
64
64
  _cdr: ChangeDetectorRef;
65
65
  _isInited: boolean;
66
66
  _isRendered: boolean;
@@ -81,17 +81,17 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
81
81
  onValueChanged: import("@angular/core").EventEmitter<AXValueChangedEvent<any>>;
82
82
  valueChange: import("@angular/core").EventEmitter<any>;
83
83
  stateChange: import("@angular/core").EventEmitter<import("@acorex/components/mixin").AXComponentState>;
84
- "__#5092@#readonly": boolean;
84
+ "__#5175@#readonly": boolean;
85
85
  readonly: boolean;
86
- "__#5092@#allowNull": boolean;
86
+ "__#5175@#allowNull": boolean;
87
87
  allowNull: boolean;
88
- "__#5092@#name": string;
88
+ "__#5175@#name": string;
89
89
  name: string;
90
- "__#5092@#isUserInteraction": boolean;
90
+ "__#5175@#isUserInteraction": boolean;
91
91
  readonly isUserInteraction: boolean;
92
- "__#5092@#value": any;
92
+ "__#5175@#value": any;
93
93
  value: any;
94
- "__#5092@#state": import("@acorex/components/mixin").AXComponentState;
94
+ "__#5175@#state": import("@acorex/components/mixin").AXComponentState;
95
95
  state: import("@acorex/components/mixin").AXComponentState;
96
96
  _emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
97
97
  _internalSetValue(value: any): any;
@@ -99,6 +99,7 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
99
99
  _setValue(value: any): any;
100
100
  _getValue(value: any): any;
101
101
  _setUserInteraction(): void;
102
+ setUserInteraction(): void;
102
103
  _onValueChanged(oldValue: any, newValue: any): void;
103
104
  _onInternalInit(): void;
104
105
  _onInternalViewInit(): void;
@@ -108,12 +109,14 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
108
109
  validate(): Promise<any>;
109
110
  _setState(state: import("@acorex/components/mixin").AXComponentState, ...args: any[]): void;
110
111
  id: string;
111
- "__#5088@#rtl": boolean;
112
+ "__#5171@#rtl": boolean;
112
113
  rtl: boolean;
113
- "__#5088@#elementRef": ElementRef<any>;
114
+ "__#5171@#elementRef": ElementRef<any>;
114
115
  _cdr: ChangeDetectorRef;
115
116
  _isInited: boolean;
116
- _isRendered: boolean;
117
+ _isRendered: boolean; /**
118
+ * @ignore
119
+ */
117
120
  ngOnInit(): void;
118
121
  ngAfterViewInit(): void;
119
122
  ngOnDestroy(): void;
@@ -138,9 +141,9 @@ export declare const AXBaseColorPickerMixin: (abstract new (...args: any[]) => {
138
141
  _emitOnKeyupEvent(e: KeyboardEvent): void;
139
142
  _emitOnKeypressEvent(e: KeyboardEvent): void;
140
143
  id: string;
141
- "__#5088@#rtl": boolean;
144
+ "__#5171@#rtl": boolean;
142
145
  rtl: boolean;
143
- "__#5088@#elementRef": ElementRef<any>;
146
+ "__#5171@#elementRef": ElementRef<any>;
144
147
  _cdr: ChangeDetectorRef;
145
148
  _isInited: boolean;
146
149
  _isRendered: boolean;
@@ -191,5 +194,5 @@ export declare class AXColorPickerComponent extends AXBaseColorPickerMixin {
191
194
  _handlePopupOnClosed(e: any): void;
192
195
  _handleKeydown(e: KeyboardEvent): void;
193
196
  static ɵfac: i0.ɵɵFactoryDeclaration<AXColorPickerComponent, never>;
194
- static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPickerComponent, "ax-color-picker", 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; }; "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; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-validation-rule", "ax-suffix"], false, never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXColorPickerComponent, "ax-color-picker", 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; }; "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; }; "type": { "alias": "type"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, { "onOpened": "onOpened"; "onClosed": "onClosed"; "onBlur": "onBlur"; "onFocus": "onFocus"; "valueChange": "valueChange"; "onValueChanged": "onValueChanged"; }, never, ["ax-prefix", "ax-validation-rule", "ax-suffix"], false, never>;
195
198
  }
package/common/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export * from './lib/components/colorlook-component.class';
11
11
  export * from './lib/components/interactive-component.class';
12
12
  export * from './lib/components/look-component.class';
13
13
  export * from './lib/components/value-component.class';
14
+ export * from './lib/components/input-base-value-component.class';
14
15
  export * from './lib/constant/positions';
15
16
  export * from './lib/directives/auto-focus.directive';
16
17
  export * from './lib/directives/debounce-time.directive';
@@ -36,8 +36,9 @@ export declare abstract class AXSearchableComponent extends AXComponent {
36
36
  static ɵprov: i0.ɵɵInjectableDeclaration<AXSearchableComponent>;
37
37
  }
38
38
  export declare abstract class AXValuableComponent extends AXComponent {
39
+ abstract get value(): any;
39
40
  abstract onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
40
- abstract value: any;
41
+ abstract commitValue(value: any, u: boolean): any;
41
42
  static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
42
43
  static ɵprov: i0.ɵɵInjectableDeclaration<AXValuableComponent>;
43
44
  }
@@ -1,15 +1,16 @@
1
1
  import { ChangeDetectorRef, EventEmitter, ViewContainerRef } from '@angular/core';
2
2
  import { AXOptionChangedEvent } from '../classes/events.class';
3
3
  import * as i0 from "@angular/core";
4
- export type MXComponentOptionChanging = {
4
+ export type MXComponentOptionChanging<T = any> = {
5
5
  name: string;
6
- value?: any;
6
+ value?: T;
7
7
  };
8
- export type MXComponentSetOption = {
8
+ export type MXComponentOptionChanged<T = any> = MXComponentOptionChanging<T>;
9
+ export type MXComponentSetOption<T> = {
9
10
  name: string;
10
- value?: any;
11
- afterCallback?: (oldValue?: any, newValue?: any) => void;
12
- beforeCallback?: (oldValue?: any, newValue?: any) => void;
11
+ value?: T;
12
+ afterCallback?: (oldValue?: T, newValue?: T) => void;
13
+ beforeCallback?: (oldValue?: T, newValue?: T) => void;
13
14
  };
14
15
  export type AXComponentState = 'clear' | 'success' | 'error';
15
16
  export declare abstract class MXBaseComponent {
@@ -20,10 +21,11 @@ export declare abstract class MXBaseComponent {
20
21
  protected get cdr(): ChangeDetectorRef;
21
22
  getHostElement<T = HTMLElement>(): T;
22
23
  protected getViewContainer(): ViewContainerRef;
23
- protected onOptionChanging(option: MXComponentOptionChanging): any;
24
+ protected internalOptionChanging(option: MXComponentOptionChanging): any;
25
+ protected internalOptionChanged(option: MXComponentOptionChanged): void;
24
26
  protected init(): void;
25
- protected onOptionChanged: EventEmitter<AXOptionChangedEvent>;
26
- protected setOption(option: MXComponentSetOption): void;
27
+ onOptionChanged: EventEmitter<AXOptionChangedEvent>;
28
+ protected setOption<T = any>(option: MXComponentSetOption<T>): void;
27
29
  private _rtl;
28
30
  get rtl(): boolean;
29
31
  set rtl(value: boolean);
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import { MXValueComponent } from "./value-component.class";
3
+ import { AXHtmlEvent } from "../classes/events.class";
4
+ import * as i0 from "@angular/core";
5
+ export declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T> {
6
+ /**
7
+ * Fires each time the user press a key.
8
+ * @event
9
+ */
10
+ onKeyDown: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
11
+ /**
12
+ * Fires each time the user press a key.
13
+ * @event
14
+ */
15
+ onKeyUp: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
16
+ /**
17
+ * Fires each time the user press a key.
18
+ * @event
19
+ */
20
+ onKeyPress: EventEmitter<AXHtmlEvent<KeyboardEvent>>;
21
+ protected emitOnKeydownEvent(e: KeyboardEvent): void;
22
+ protected emitOnKeyupEvent(e: KeyboardEvent): void;
23
+ protected emitOnKeypressEvent(e: KeyboardEvent): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
26
+ }
@@ -2,12 +2,19 @@ import { EventEmitter } from '@angular/core';
2
2
  import { AXFocusEvent } from '../classes/events.class';
3
3
  import { MXBaseComponent } from './base-component.class';
4
4
  export declare class MXInteractiveComponent extends MXBaseComponent {
5
+ protected onTouchedCallback: () => void;
6
+ registerOnTouched(fn: () => void): void;
7
+ private _touched;
8
+ get touched(): boolean;
9
+ protected markAsTouched(): void;
10
+ disabledChange: EventEmitter<boolean>;
5
11
  private _disabled;
6
12
  /**
7
13
  * If set to true, it disables the component.
8
14
  */
9
15
  get disabled(): boolean;
10
16
  set disabled(value: boolean);
17
+ setDisabledState(isDisabled: boolean): void;
11
18
  _tabIndex: number;
12
19
  /**
13
20
  * Specifies the tabindex of the component.
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { AXComponentState, MXBaseComponent } from './base-component.class';
2
+ import { AXComponentState } from './base-component.class';
3
+ import { MXInteractiveComponent } from './interactive-component.class';
3
4
  import { AXValueChangedEvent } from '../classes/events.class';
5
+ import { ControlValueAccessor } from '@angular/forms';
4
6
  import * as i0 from "@angular/core";
5
- export declare class MXValueComponent<T = any> extends MXBaseComponent {
7
+ export declare class MXValueComponent<T = any> extends MXInteractiveComponent implements ControlValueAccessor {
6
8
  /**
7
9
  * Fires each time the user press a key.
8
10
  * @event
@@ -10,6 +12,7 @@ export declare class MXValueComponent<T = any> extends MXBaseComponent {
10
12
  onValueChanged: EventEmitter<AXValueChangedEvent<any>>;
11
13
  valueChange: EventEmitter<any>;
12
14
  stateChange: EventEmitter<AXComponentState>;
15
+ readonlyChange: EventEmitter<boolean>;
13
16
  private _readonly;
14
17
  /**
15
18
  * If set to true, user cannot change the value of component.
@@ -19,9 +22,10 @@ export declare class MXValueComponent<T = any> extends MXBaseComponent {
19
22
  private _name;
20
23
  get name(): string;
21
24
  set name(value: string);
25
+ private _dirty;
26
+ get dirty(): boolean;
27
+ markAsDirty(): void;
22
28
  private _isUserInteraction;
23
- get isUserInteraction(): boolean;
24
- set isUserInteraction(value: boolean);
25
29
  initValue: T;
26
30
  defaultValue: T;
27
31
  private _value;
@@ -31,15 +35,19 @@ export declare class MXValueComponent<T = any> extends MXBaseComponent {
31
35
  get state(): AXComponentState;
32
36
  set state(value: AXComponentState);
33
37
  protected emitOnValueChangedEvent(oldValue?: any, newValue?: any): void;
34
- protected setValue(value: any): any;
35
- protected getValue(value: any): any;
38
+ protected internalSetValue(value: any): T;
39
+ protected internalGetValue(value: any): T;
40
+ protected internalValueChanged(value: any): void;
36
41
  protected ngOnInit(): void;
37
42
  protected ngAfterViewInit(): void;
38
43
  protected ngOnDestroy(): void;
39
- clear(): void;
40
44
  private _checkRequired;
41
45
  validate(): Promise<any>;
42
46
  protected setState(state: AXComponentState, ...args: any[]): void;
47
+ protected onChangeCallback: (value: T) => void;
48
+ registerOnChange(fn: (value: T) => void): void;
49
+ writeValue(value: T): void;
50
+ commitValue(value: T, u?: boolean): void;
43
51
  static ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
44
52
  static ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
45
53
  }
@@ -12,3 +12,4 @@ export * from './lib/sub-title.component';
12
12
  export * from './lib/suffix.component';
13
13
  export * from './lib/text.component';
14
14
  export * from './lib/title.component';
15
+ export * from './lib/divider.component';
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXDecoratorDividerComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXDecoratorDividerComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDecoratorDividerComponent, "ax-divider", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -1,5 +1,5 @@
1
- import { ElementRef, ChangeDetectorRef, NgZone, EventEmitter } from '@angular/core';
2
1
  import { AXBaseComponentMixin, AXComponentOptionChanged } from '@acorex/components/mixin';
2
+ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
3
3
  import * as i0 from "@angular/core";
4
4
  export type AXDrawerMode = 'push' | 'overlay';
5
5
  export type AXDrawerLocation = 'start' | 'end';
@@ -2,4 +2,4 @@
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
4
  export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL2Fjb3JleC1jb21wb25lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNvcmV4LWNvbXBvbmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvYWNvcmV4LWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
@@ -61,10 +61,10 @@ export class AXActionSheetComponent extends MXBaseComponent {
61
61
  this.close();
62
62
  item.onClick();
63
63
  }
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
65
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: AXActionSheetComponent, selector: "ax-action-sheet", host: { listeners: { "keydown.escape": "onKeydownHandler()" } }, usesInheritance: true, ngImport: i0, template: "<ax-header *ngIf=\"showHeader\">\n <ax-prefix>\n <ax-title>{{ title }}</ax-title>\n <ax-sub-title *ngIf=\"subTitle\">{{ subTitle }}</ax-sub-title>\n </ax-prefix>\n <ax-suffix>\n <ax-close-button\n *ngIf=\"showCloseButton\"\n (click)=\"_handleCloseClick()\"\n tabindex=\"1\"\n ></ax-close-button>\n </ax-suffix>\n</ax-header>\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n <ng-container *ngFor=\"let item of items\">\n <div\n class=\"ax-action-sheet-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\"\n >\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\n <span class=\"item-text\">{{ item.text }}</span>\n </div>\n </ng-container>\n</div>\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:1rem;font-size:1.125rem;font-weight:500;border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-suffix{align-items:flex-end}@media (max-width: 599px){ax-action-sheet ax-header{font-size:1rem}}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-default))}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.AXDecoratorPrefixComponent, selector: "ax-prefix" }, { kind: "component", type: i3.AXDecoratorSuffixComponent, selector: "ax-suffix" }, { kind: "component", type: i3.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i3.AXDecoratorTitleComponent, selector: "ax-title" }, { kind: "component", type: i3.AXDecoratorSubTitleComponent, selector: "ax-sub-title" }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
64
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
65
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: AXActionSheetComponent, selector: "ax-action-sheet", host: { listeners: { "keydown.escape": "onKeydownHandler()" } }, usesInheritance: true, ngImport: i0, template: "<ax-header *ngIf=\"showHeader\">\n <ax-prefix>\n <ax-title>{{ title }}</ax-title>\n <ax-sub-title *ngIf=\"subTitle\">{{ subTitle }}</ax-sub-title>\n </ax-prefix>\n <ax-suffix>\n <ax-close-button\n *ngIf=\"showCloseButton\"\n (click)=\"_handleCloseClick()\"\n tabindex=\"1\"\n ></ax-close-button>\n </ax-suffix>\n</ax-header>\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n <ng-container *ngFor=\"let item of items\">\n <div\n class=\"ax-action-sheet-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\"\n >\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\n <span class=\"item-text\">{{ item.text }}</span>\n </div>\n </ng-container>\n</div>\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:1rem;font-size:1.125rem;font-weight:500;border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-suffix{align-items:flex-end}@media (max-width: 599px){ax-action-sheet ax-header{font-size:1rem}}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-default))}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.AXDecoratorPrefixComponent, selector: "ax-prefix" }, { kind: "component", type: i3.AXDecoratorSuffixComponent, selector: "ax-suffix" }, { kind: "component", type: i3.AXDecoratorHeaderComponent, selector: "ax-header" }, { kind: "component", type: i3.AXDecoratorTitleComponent, selector: "ax-title" }, { kind: "component", type: i3.AXDecoratorSubTitleComponent, selector: "ax-sub-title" }, { kind: "component", type: i3.AXDecoratorCloseButtonComponent, selector: "ax-close-button", inputs: ["icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetComponent, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetComponent, decorators: [{
68
68
  type: Component,
69
69
  args: [{ selector: 'ax-action-sheet', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<ax-header *ngIf=\"showHeader\">\n <ax-prefix>\n <ax-title>{{ title }}</ax-title>\n <ax-sub-title *ngIf=\"subTitle\">{{ subTitle }}</ax-sub-title>\n </ax-prefix>\n <ax-suffix>\n <ax-close-button\n *ngIf=\"showCloseButton\"\n (click)=\"_handleCloseClick()\"\n tabindex=\"1\"\n ></ax-close-button>\n </ax-suffix>\n</ax-header>\n<ng-template [cdkPortalOutlet]=\"_selectedPortal\" (attached)=\"_handleAttched($event)\"></ng-template>\n<div class=\"ax-action-sheet-items\">\n <ng-container *ngFor=\"let item of items\">\n <div\n class=\"ax-action-sheet-item ax-{{ item.color }}\"\n [class.ax-state-disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\"\n >\n <span class=\"item-icon\" *ngIf=\"item.icon\" [class]=\"item.icon\"></span>\n <span class=\"item-text\">{{ item.text }}</span>\n </div>\n </ng-container>\n</div>\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:1rem;font-size:1.125rem;font-weight:500;border-bottom:1px solid;border-color:rgba(var(--ax-color-border-default))}ax-action-sheet ax-header ax-prefix,ax-action-sheet ax-header ax-suffix{display:flex;flex-direction:column;justify-content:flex-start}ax-action-sheet ax-header ax-prefix{align-items:flex-start}ax-action-sheet ax-header ax-suffix{align-items:flex-end}@media (max-width: 599px){ax-action-sheet ax-header{font-size:1rem}}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-default))}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"] }]
70
70
  }], propDecorators: { onKeydownHandler: [{
@@ -18,17 +18,17 @@ const MODULES = [
18
18
  AXDecoratorModule,
19
19
  ];
20
20
  export class AXActionSheetModule {
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent], imports: [CommonModule,
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
22
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetModule, declarations: [AXActionSheetComponent], imports: [CommonModule,
23
23
  AXCommonModule,
24
24
  DragDropModule,
25
25
  A11yModule,
26
26
  AXButtonModule,
27
27
  PortalModule,
28
28
  AXDecoratorModule], exports: [AXActionSheetComponent] }); }
29
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetModule, imports: [MODULES] }); }
29
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetModule, imports: [MODULES] }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetModule, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetModule, decorators: [{
32
32
  type: NgModule,
33
33
  args: [{
34
34
  declarations: [AXActionSheetComponent],
@@ -78,10 +78,10 @@ export class AXActionSheetService {
78
78
  closeFunc(result);
79
79
  }
80
80
  }
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetService, deps: [{ token: i1.Overlay }, { token: i2.AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
82
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetService, providedIn: 'root' }); }
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetService, deps: [{ token: i1.Overlay }, { token: i2.AXOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
82
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetService, providedIn: 'root' }); }
83
83
  }
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: AXActionSheetService, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: AXActionSheetService, decorators: [{
85
85
  type: Injectable,
86
86
  args: [{ providedIn: 'root' }]
87
87
  }], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i2.AXOverlayService }]; } });