@acorex/components 7.0.41 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1251) hide show
  1. package/action-sheet/index.d.ts +5 -5
  2. package/action-sheet/public-api.d.ts +3 -3
  3. package/action-sheet/src/action-sheet.component.d.ts +25 -25
  4. package/action-sheet/src/action-sheet.interface.d.ts +20 -20
  5. package/action-sheet/src/action-sheet.module.d.ts +14 -14
  6. package/action-sheet/src/action-sheet.service.d.ts +13 -13
  7. package/alert/index.d.ts +5 -5
  8. package/alert/public-api.d.ts +2 -2
  9. package/alert/src/alert.component.d.ts +88 -88
  10. package/alert/src/alert.module.d.ts +9 -9
  11. package/avatar/index.d.ts +5 -5
  12. package/avatar/public-api.d.ts +3 -3
  13. package/avatar/src/avatar-group.component.d.ts +8 -8
  14. package/avatar/src/avatar.component.d.ts +20 -20
  15. package/avatar/src/avatar.module.d.ts +9 -9
  16. package/badge/index.d.ts +5 -5
  17. package/badge/public-api.d.ts +2 -2
  18. package/badge/src/badge.component.d.ts +41 -41
  19. package/badge/src/badge.module.d.ts +8 -8
  20. package/breadcrumbs/index.d.ts +5 -5
  21. package/breadcrumbs/public-api.d.ts +4 -4
  22. package/breadcrumbs/src/breadcrumbs-item.class.d.ts +9 -9
  23. package/breadcrumbs/src/breadcrumbs-item.component.d.ts +77 -79
  24. package/breadcrumbs/src/breadcrumbs.component.d.ts +13 -13
  25. package/breadcrumbs/src/breadcrumbs.module.d.ts +9 -9
  26. package/button/index.d.ts +5 -5
  27. package/button/public-api.d.ts +5 -5
  28. package/button/src/button-group.component.d.ts +86 -86
  29. package/button/src/button-item.class.d.ts +24 -24
  30. package/button/src/button-item.component.d.ts +82 -80
  31. package/button/src/button.component.d.ts +23 -23
  32. package/button/src/button.module.d.ts +11 -11
  33. package/calendar/index.d.ts +5 -5
  34. package/calendar/public-api.d.ts +4 -3
  35. package/calendar/src/calendar-range.component.d.ts +29 -0
  36. package/calendar/src/calendar.class.d.ts +100 -51
  37. package/calendar/src/calendar.component.d.ts +44 -51
  38. package/calendar/src/calendar.module.d.ts +10 -9
  39. package/card/index.d.ts +5 -5
  40. package/card/public-api.d.ts +2 -2
  41. package/card/src/card.component.d.ts +10 -10
  42. package/card/src/card.module.d.ts +8 -8
  43. package/checkbox/index.d.ts +5 -5
  44. package/checkbox/public-api.d.ts +2 -2
  45. package/checkbox/src/checkbox.component.d.ts +12 -12
  46. package/checkbox/src/checkbox.module.d.ts +10 -10
  47. package/chips/index.d.ts +5 -5
  48. package/chips/public-api.d.ts +2 -2
  49. package/chips/src/chips.component.d.ts +72 -72
  50. package/chips/src/chips.module.d.ts +8 -8
  51. package/collapse/index.d.ts +5 -5
  52. package/collapse/public-api.d.ts +3 -3
  53. package/collapse/src/collapse-group.component.d.ts +15 -15
  54. package/collapse/src/collapse.component.d.ts +17 -17
  55. package/collapse/src/collapse.module.d.ts +9 -9
  56. package/color-palette/index.d.ts +5 -5
  57. package/color-palette/public-api.d.ts +7 -7
  58. package/color-palette/src/color-palette-input.component.d.ts +22 -22
  59. package/color-palette/src/color-palette-picker.component.d.ts +32 -32
  60. package/color-palette/src/color-palette-preview.component.d.ts +11 -11
  61. package/color-palette/src/color-palette-swatches.component.d.ts +18 -18
  62. package/color-palette/src/color-palette.class.d.ts +22 -22
  63. package/color-palette/src/color-palette.component.d.ts +16 -16
  64. package/color-palette/src/color-palette.module.d.ts +19 -19
  65. package/color-picker/index.d.ts +5 -5
  66. package/color-picker/public-api.d.ts +2 -2
  67. package/color-picker/src/color-picker.component.d.ts +190 -190
  68. package/color-picker/src/color-picker.module.d.ts +18 -18
  69. package/common/index.d.ts +5 -5
  70. package/common/public-api.d.ts +16 -15
  71. package/common/src/classes/components.class.d.ts +62 -62
  72. package/common/src/classes/data.class.d.ts +4 -0
  73. package/common/src/classes/drawing.class.d.ts +9 -9
  74. package/common/src/classes/events.class.d.ts +95 -86
  75. package/common/src/classes/styles.class.d.ts +17 -17
  76. package/common/src/common.module.d.ts +11 -11
  77. package/common/src/components/base-component.class.d.ts +28 -31
  78. package/common/src/components/button-base-component.class.d.ts +36 -36
  79. package/common/src/components/color-component.class.d.ts +15 -15
  80. package/common/src/components/colorlook-component.class.d.ts +9 -9
  81. package/common/src/components/index.d.ts +7 -6
  82. package/common/src/components/interactive-component.class.d.ts +37 -37
  83. package/common/src/components/look-component.class.d.ts +15 -15
  84. package/common/src/components/value-component.class.d.ts +45 -0
  85. package/common/src/constant/positions.d.ts +75 -75
  86. package/common/src/directives/auto-focus.directive.d.ts +13 -13
  87. package/common/src/directives/debounce-time.directive.d.ts +17 -17
  88. package/common/src/directives/hotkey.directive.d.ts +22 -22
  89. package/common/src/directives/infinite-scroll.directive.d.ts +25 -25
  90. package/common/src/directives/responsive.directive.d.ts +10 -10
  91. package/common/src/services/custom-cdk-overlay.service.d.ts +19 -19
  92. package/common/src/services/hotkey.service.d.ts +17 -17
  93. package/common/src/services/overlay.service.d.ts +34 -34
  94. package/context-menu/index.d.ts +5 -5
  95. package/context-menu/public-api.d.ts +2 -2
  96. package/context-menu/src/context-menu.component.d.ts +34 -34
  97. package/context-menu/src/context-menu.module.d.ts +13 -13
  98. package/data-pager/index.d.ts +5 -5
  99. package/data-pager/public-api.d.ts +9 -9
  100. package/data-pager/src/data-pager-base.component.d.ts +49 -49
  101. package/data-pager/src/data-pager-info.component.d.ts +15 -15
  102. package/data-pager/src/data-pager-input-selector.component.d.ts +15 -15
  103. package/data-pager/src/data-pager-next-buttons.components.d.ts +16 -16
  104. package/data-pager/src/data-pager-numeric-selector.component.d.ts +18 -18
  105. package/data-pager/src/data-pager-pagesize-dropdown.component.d.ts +18 -18
  106. package/data-pager/src/data-pager-prev-buttons.component.d.ts +15 -15
  107. package/data-pager/src/data-pager.component.d.ts +35 -35
  108. package/data-pager/src/data-pager.module.d.ts +18 -18
  109. package/data-table/index.d.ts +5 -5
  110. package/data-table/public-api.d.ts +4 -4
  111. package/data-table/src/data-column-cell-template.directive.d.ts +8 -8
  112. package/data-table/src/data-column.directive.d.ts +16 -16
  113. package/data-table/src/data-table.component.d.ts +37 -37
  114. package/data-table/src/data-table.module.d.ts +14 -14
  115. package/date-picker/index.d.ts +5 -5
  116. package/date-picker/public-api.d.ts +2 -2
  117. package/date-picker/src/datepicker.component.d.ts +154 -154
  118. package/date-picker/src/datepicker.module.d.ts +15 -15
  119. package/decorators/index.d.ts +5 -5
  120. package/decorators/public-api.d.ts +14 -14
  121. package/decorators/src/close-button.component.d.ts +14 -14
  122. package/decorators/src/content.component.d.ts +8 -8
  123. package/decorators/src/decorators.module.d.ts +20 -20
  124. package/decorators/src/footer.component.d.ts +8 -8
  125. package/decorators/src/form-hint.component.d.ts +8 -8
  126. package/decorators/src/header.component.d.ts +8 -8
  127. package/decorators/src/icon.component.d.ts +10 -10
  128. package/decorators/src/overlay.component.d.ts +6 -6
  129. package/decorators/src/placeholder.component.d.ts +5 -5
  130. package/decorators/src/prefix.component.d.ts +8 -8
  131. package/decorators/src/sub-title.component.d.ts +9 -9
  132. package/decorators/src/suffix.component.d.ts +8 -8
  133. package/decorators/src/text.component.d.ts +9 -9
  134. package/decorators/src/title.component.d.ts +8 -8
  135. package/dialog/index.d.ts +5 -5
  136. package/dialog/public-api.d.ts +4 -4
  137. package/dialog/src/dialog.class.d.ts +13 -13
  138. package/dialog/src/dialog.component.d.ts +16 -16
  139. package/dialog/src/dialog.module.d.ts +14 -14
  140. package/dialog/src/dialog.service.d.ts +38 -38
  141. package/drawer/index.d.ts +5 -5
  142. package/drawer/public-api.d.ts +3 -3
  143. package/drawer/src/drawer-container.component.d.ts +10 -10
  144. package/drawer/src/drawer.component.d.ts +36 -36
  145. package/drawer/src/drawer.module.d.ts +9 -9
  146. package/dropdown/index.d.ts +5 -5
  147. package/dropdown/public-api.d.ts +2 -2
  148. package/dropdown/src/dropdown-panel.component.d.ts +30 -30
  149. package/dropdown/src/dropdown.module.d.ts +14 -14
  150. package/esm2022/acorex-components.mjs +5 -0
  151. package/esm2022/action-sheet/acorex-components-action-sheet.mjs +5 -0
  152. package/esm2022/action-sheet/public-api.mjs +4 -0
  153. package/esm2022/action-sheet/src/action-sheet.component.mjs +81 -0
  154. package/esm2022/action-sheet/src/action-sheet.interface.mjs +3 -0
  155. package/esm2022/action-sheet/src/action-sheet.module.mjs +27 -0
  156. package/esm2022/action-sheet/src/action-sheet.service.mjs +94 -0
  157. package/esm2022/alert/acorex-components-alert.mjs +5 -0
  158. package/esm2022/alert/public-api.mjs +3 -0
  159. package/esm2022/alert/src/alert.component.mjs +189 -0
  160. package/esm2022/alert/src/alert.module.mjs +23 -0
  161. package/esm2022/avatar/acorex-components-avatar.mjs +5 -0
  162. package/esm2022/avatar/public-api.mjs +4 -0
  163. package/esm2022/avatar/src/avatar-group.component.mjs +17 -0
  164. package/esm2022/avatar/src/avatar.component.mjs +44 -0
  165. package/esm2022/avatar/src/avatar.module.mjs +23 -0
  166. package/esm2022/badge/acorex-components-badge.mjs +5 -0
  167. package/esm2022/badge/public-api.mjs +3 -0
  168. package/esm2022/badge/src/badge.component.mjs +29 -0
  169. package/esm2022/badge/src/badge.module.mjs +22 -0
  170. package/esm2022/breadcrumbs/acorex-components-breadcrumbs.mjs +5 -0
  171. package/esm2022/breadcrumbs/public-api.mjs +5 -0
  172. package/esm2022/breadcrumbs/src/breadcrumbs-item.class.mjs +2 -0
  173. package/esm2022/breadcrumbs/src/breadcrumbs-item.component.mjs +51 -0
  174. package/esm2022/breadcrumbs/src/breadcrumbs.component.mjs +28 -0
  175. package/esm2022/breadcrumbs/src/breadcrumbs.module.mjs +21 -0
  176. package/esm2022/button/acorex-components-button.mjs +5 -0
  177. package/esm2022/button/public-api.mjs +6 -0
  178. package/esm2022/button/src/button-group.component.mjs +92 -0
  179. package/esm2022/button/src/button-item.class.mjs +2 -0
  180. package/esm2022/button/src/button-item.component.mjs +80 -0
  181. package/esm2022/button/src/button.component.mjs +79 -0
  182. package/esm2022/button/src/button.module.mjs +33 -0
  183. package/esm2022/calendar/acorex-components-calendar.mjs +5 -0
  184. package/esm2022/calendar/public-api.mjs +5 -0
  185. package/esm2022/calendar/src/calendar-range.component.mjs +175 -0
  186. package/esm2022/calendar/src/calendar.class.mjs +282 -0
  187. package/esm2022/calendar/src/calendar.component.mjs +373 -0
  188. package/esm2022/calendar/src/calendar.module.mjs +24 -0
  189. package/esm2022/card/acorex-components-card.mjs +5 -0
  190. package/esm2022/card/public-api.mjs +3 -0
  191. package/esm2022/card/src/card.component.mjs +19 -0
  192. package/esm2022/card/src/card.module.mjs +20 -0
  193. package/esm2022/checkbox/acorex-components-checkbox.mjs +5 -0
  194. package/esm2022/checkbox/public-api.mjs +3 -0
  195. package/esm2022/checkbox/src/checkbox.component.mjs +43 -0
  196. package/esm2022/checkbox/src/checkbox.module.mjs +22 -0
  197. package/esm2022/chips/acorex-components-chips.mjs +5 -0
  198. package/esm2022/chips/public-api.mjs +3 -0
  199. package/esm2022/chips/src/chips.component.mjs +34 -0
  200. package/esm2022/chips/src/chips.module.mjs +20 -0
  201. package/esm2022/collapse/acorex-components-collapse.mjs +5 -0
  202. package/esm2022/collapse/public-api.mjs +4 -0
  203. package/esm2022/collapse/src/collapse-group.component.mjs +53 -0
  204. package/esm2022/collapse/src/collapse.component.mjs +48 -0
  205. package/esm2022/collapse/src/collapse.module.mjs +21 -0
  206. package/esm2022/color-palette/acorex-components-color-palette.mjs +5 -0
  207. package/esm2022/color-palette/public-api.mjs +8 -0
  208. package/esm2022/color-palette/src/color-palette-input.component.mjs +131 -0
  209. package/esm2022/color-palette/src/color-palette-picker.component.mjs +160 -0
  210. package/esm2022/color-palette/src/color-palette-preview.component.mjs +63 -0
  211. package/esm2022/color-palette/src/color-palette-swatches.component.mjs +305 -0
  212. package/esm2022/color-palette/src/color-palette.class.mjs +19 -0
  213. package/esm2022/color-palette/src/color-palette.component.mjs +76 -0
  214. package/esm2022/color-palette/src/color-palette.module.mjs +61 -0
  215. package/esm2022/color-picker/acorex-components-color-picker.mjs +5 -0
  216. package/esm2022/color-picker/public-api.mjs +3 -0
  217. package/esm2022/color-picker/src/color-picker.component.mjs +120 -0
  218. package/esm2022/color-picker/src/color-picker.module.mjs +62 -0
  219. package/esm2022/common/acorex-components-common.mjs +5 -0
  220. package/esm2022/common/public-api.mjs +17 -0
  221. package/esm2022/common/src/classes/components.class.mjs +78 -0
  222. package/esm2022/common/src/classes/data.class.mjs +2 -0
  223. package/esm2022/common/src/classes/drawing.class.mjs +2 -0
  224. package/esm2022/common/src/classes/events.class.mjs +96 -0
  225. package/esm2022/common/src/classes/styles.class.mjs +13 -0
  226. package/esm2022/common/src/common.module.mjs +43 -0
  227. package/esm2022/common/src/components/base-component.class.mjs +57 -0
  228. package/esm2022/common/src/components/button-base-component.class.mjs +69 -0
  229. package/esm2022/common/src/components/color-component.class.mjs +27 -0
  230. package/esm2022/common/src/components/colorlook-component.class.mjs +11 -0
  231. package/esm2022/common/src/components/index.mjs +8 -0
  232. package/esm2022/common/src/components/interactive-component.class.mjs +63 -0
  233. package/esm2022/common/src/components/look-component.class.mjs +27 -0
  234. package/esm2022/common/src/components/value-component.class.mjs +207 -0
  235. package/esm2022/common/src/constant/positions.mjs +75 -0
  236. package/esm2022/common/src/directives/auto-focus.directive.mjs +58 -0
  237. package/esm2022/common/src/directives/debounce-time.directive.mjs +50 -0
  238. package/esm2022/common/src/directives/hotkey.directive.mjs +83 -0
  239. package/esm2022/common/src/directives/infinite-scroll.directive.mjs +70 -0
  240. package/esm2022/common/src/directives/responsive.directive.mjs +36 -0
  241. package/esm2022/common/src/services/custom-cdk-overlay.service.mjs +52 -0
  242. package/esm2022/common/src/services/hotkey.service.mjs +41 -0
  243. package/esm2022/common/src/services/overlay.service.mjs +116 -0
  244. package/esm2022/context-menu/acorex-components-context-menu.mjs +5 -0
  245. package/esm2022/context-menu/public-api.mjs +3 -0
  246. package/esm2022/context-menu/src/context-menu.component.mjs +271 -0
  247. package/esm2022/context-menu/src/context-menu.module.mjs +37 -0
  248. package/esm2022/data-pager/acorex-components-data-pager.mjs +5 -0
  249. package/esm2022/data-pager/public-api.mjs +10 -0
  250. package/esm2022/data-pager/src/data-pager-base.component.mjs +37 -0
  251. package/esm2022/data-pager/src/data-pager-info.component.mjs +62 -0
  252. package/esm2022/data-pager/src/data-pager-input-selector.component.mjs +54 -0
  253. package/esm2022/data-pager/src/data-pager-next-buttons.components.mjs +67 -0
  254. package/esm2022/data-pager/src/data-pager-numeric-selector.component.mjs +101 -0
  255. package/esm2022/data-pager/src/data-pager-pagesize-dropdown.component.mjs +89 -0
  256. package/esm2022/data-pager/src/data-pager-prev-buttons.component.mjs +62 -0
  257. package/esm2022/data-pager/src/data-pager.component.mjs +147 -0
  258. package/esm2022/data-pager/src/data-pager.module.mjs +52 -0
  259. package/esm2022/data-table/acorex-components-data-table.mjs +5 -0
  260. package/esm2022/data-table/public-api.mjs +5 -0
  261. package/esm2022/data-table/src/data-column-cell-template.directive.mjs +19 -0
  262. package/esm2022/data-table/src/data-column.directive.mjs +51 -0
  263. package/esm2022/data-table/src/data-table.component.mjs +140 -0
  264. package/esm2022/data-table/src/data-table.module.mjs +28 -0
  265. package/esm2022/date-picker/acorex-components-date-picker.mjs +5 -0
  266. package/esm2022/date-picker/public-api.mjs +3 -0
  267. package/esm2022/date-picker/src/datepicker.component.mjs +241 -0
  268. package/esm2022/date-picker/src/datepicker.module.mjs +45 -0
  269. package/esm2022/decorators/acorex-components-decorators.mjs +5 -0
  270. package/esm2022/decorators/public-api.mjs +15 -0
  271. package/esm2022/decorators/src/close-button.component.mjs +52 -0
  272. package/esm2022/decorators/src/content.component.mjs +22 -0
  273. package/esm2022/decorators/src/decorators.module.mjs +72 -0
  274. package/esm2022/decorators/src/footer.component.mjs +30 -0
  275. package/esm2022/decorators/src/form-hint.component.mjs +21 -0
  276. package/esm2022/decorators/src/header.component.mjs +30 -0
  277. package/esm2022/decorators/src/icon.component.mjs +31 -0
  278. package/esm2022/decorators/src/overlay.component.mjs +21 -0
  279. package/esm2022/decorators/src/placeholder.component.mjs +15 -0
  280. package/esm2022/decorators/src/prefix.component.mjs +22 -0
  281. package/esm2022/decorators/src/sub-title.component.mjs +28 -0
  282. package/esm2022/decorators/src/suffix.component.mjs +22 -0
  283. package/esm2022/decorators/src/text.component.mjs +23 -0
  284. package/esm2022/decorators/src/title.component.mjs +21 -0
  285. package/esm2022/dialog/acorex-components-dialog.mjs +5 -0
  286. package/esm2022/dialog/public-api.mjs +5 -0
  287. package/esm2022/dialog/src/dialog.class.mjs +2 -0
  288. package/esm2022/dialog/src/dialog.component.mjs +56 -0
  289. package/esm2022/dialog/src/dialog.module.mjs +28 -0
  290. package/esm2022/dialog/src/dialog.service.mjs +155 -0
  291. package/esm2022/drawer/acorex-components-drawer.mjs +5 -0
  292. package/esm2022/drawer/public-api.mjs +4 -0
  293. package/esm2022/drawer/src/drawer-container.component.mjs +39 -0
  294. package/esm2022/drawer/src/drawer.component.mjs +145 -0
  295. package/esm2022/drawer/src/drawer.module.mjs +23 -0
  296. package/esm2022/dropdown/acorex-components-dropdown.mjs +5 -0
  297. package/esm2022/dropdown/public-api.mjs +3 -0
  298. package/esm2022/dropdown/src/dropdown-panel.component.mjs +106 -0
  299. package/esm2022/dropdown/src/dropdown.module.mjs +26 -0
  300. package/esm2022/form/acorex-components-form.mjs +5 -0
  301. package/esm2022/form/public-api.mjs +7 -0
  302. package/esm2022/form/src/form-field.component.mjs +16 -0
  303. package/esm2022/form/src/form.component.mjs +164 -0
  304. package/esm2022/form/src/form.module.mjs +64 -0
  305. package/esm2022/form/src/validation-rule.widget.mjs +114 -0
  306. package/esm2022/form/src/validation-summary.component.mjs +110 -0
  307. package/esm2022/form/src/validation.class.mjs +2 -0
  308. package/esm2022/image/acorex-components-image.mjs +5 -0
  309. package/esm2022/image/public-api.mjs +3 -0
  310. package/esm2022/image/src/image.component.mjs +80 -0
  311. package/esm2022/image/src/image.module.mjs +20 -0
  312. package/esm2022/label/acorex-components-label.mjs +5 -0
  313. package/esm2022/label/public-api.mjs +3 -0
  314. package/esm2022/label/src/label.component.mjs +49 -0
  315. package/esm2022/label/src/label.module.mjs +22 -0
  316. package/esm2022/loading/acorex-components-loading.mjs +5 -0
  317. package/esm2022/loading/public-api.mjs +6 -0
  318. package/esm2022/loading/src/loading-spinner.component.mjs +70 -0
  319. package/esm2022/loading/src/loading.component.mjs +68 -0
  320. package/esm2022/loading/src/loading.directive.mjs +77 -0
  321. package/esm2022/loading/src/loading.module.mjs +36 -0
  322. package/esm2022/loading/src/loading.service.mjs +159 -0
  323. package/esm2022/menu/acorex-components-menu.mjs +5 -0
  324. package/esm2022/menu/public-api.mjs +3 -0
  325. package/esm2022/menu/src/menu.component.mjs +347 -0
  326. package/esm2022/menu/src/menu.module.mjs +34 -0
  327. package/esm2022/mixin/acorex-components-mixin.mjs +5 -0
  328. package/esm2022/mixin/public-api.mjs +18 -0
  329. package/esm2022/mixin/src/base-components.class.mjs +111 -0
  330. package/esm2022/mixin/src/base-menu-mixin.class.mjs +134 -0
  331. package/esm2022/mixin/src/button-mixin.class.mjs +71 -0
  332. package/esm2022/mixin/src/clickable-mixin.class.mjs +24 -0
  333. package/esm2022/mixin/src/color-look-mixing.class.mjs +48 -0
  334. package/esm2022/mixin/src/constratctor.mjs +2 -0
  335. package/esm2022/mixin/src/datalist-component.class.mjs +151 -0
  336. package/esm2022/mixin/src/datalist.class.mjs +3 -0
  337. package/esm2022/mixin/src/dropdown-mixin.class.mjs +99 -0
  338. package/esm2022/mixin/src/interactive-mixin.class.mjs +81 -0
  339. package/esm2022/mixin/src/loading-mixin.class.mjs +26 -0
  340. package/esm2022/mixin/src/mixin.class.mjs +26 -0
  341. package/esm2022/mixin/src/page-component.class.mjs +11 -0
  342. package/esm2022/mixin/src/selection-component.class.mjs +183 -0
  343. package/esm2022/mixin/src/sizable-mixin.class.mjs +22 -0
  344. package/esm2022/mixin/src/textbox-mixin.class.mjs +66 -0
  345. package/esm2022/mixin/src/value-mixin.class.mjs +220 -0
  346. package/esm2022/notification/acorex-components-notification.mjs +5 -0
  347. package/esm2022/notification/public-api.mjs +5 -0
  348. package/esm2022/notification/src/notification.class.mjs +2 -0
  349. package/esm2022/notification/src/notification.component.mjs +93 -0
  350. package/esm2022/notification/src/notification.module.mjs +24 -0
  351. package/esm2022/notification/src/notification.service.mjs +110 -0
  352. package/esm2022/number-box/acorex-components-number-box.mjs +5 -0
  353. package/esm2022/number-box/public-api.mjs +3 -0
  354. package/esm2022/number-box/src/number-box.component.mjs +269 -0
  355. package/esm2022/number-box/src/number-box.module.mjs +36 -0
  356. package/esm2022/page/acorex-components-page.mjs +5 -0
  357. package/esm2022/page/public-api.mjs +4 -0
  358. package/esm2022/page/src/base-page.class.mjs +64 -0
  359. package/esm2022/page/src/page.component.mjs +47 -0
  360. package/esm2022/page/src/page.module.mjs +19 -0
  361. package/esm2022/password-box/acorex-components-password-box.mjs +5 -0
  362. package/esm2022/password-box/public-api.mjs +3 -0
  363. package/esm2022/password-box/src/password-box.component.mjs +64 -0
  364. package/esm2022/password-box/src/password-box.module.mjs +33 -0
  365. package/esm2022/picker/acorex-components-picker.mjs +5 -0
  366. package/esm2022/picker/public-api.mjs +4 -0
  367. package/esm2022/picker/src/picker-column.component.mjs +21 -0
  368. package/esm2022/picker/src/picker.component.mjs +17 -0
  369. package/esm2022/picker/src/picker.module.mjs +38 -0
  370. package/esm2022/popover/acorex-components-popover.mjs +5 -0
  371. package/esm2022/popover/public-api.mjs +3 -0
  372. package/esm2022/popover/src/popover.component.mjs +263 -0
  373. package/esm2022/popover/src/popover.module.mjs +20 -0
  374. package/esm2022/popup/acorex-components-popup.mjs +5 -0
  375. package/esm2022/popup/public-api.mjs +4 -0
  376. package/esm2022/popup/src/popup.component.mjs +146 -0
  377. package/esm2022/popup/src/popup.module.mjs +28 -0
  378. package/esm2022/popup/src/popup.service.mjs +117 -0
  379. package/esm2022/progress-bar/acorex-components-progress-bar.mjs +5 -0
  380. package/esm2022/progress-bar/public-api.mjs +3 -0
  381. package/esm2022/progress-bar/src/progress-bar.component.mjs +34 -0
  382. package/esm2022/progress-bar/src/progress-bar.module.mjs +20 -0
  383. package/esm2022/public-api.mjs +5 -0
  384. package/esm2022/radio/acorex-components-radio.mjs +5 -0
  385. package/esm2022/radio/public-api.mjs +3 -0
  386. package/esm2022/radio/src/radio.component.mjs +40 -0
  387. package/esm2022/radio/src/radio.module.mjs +23 -0
  388. package/esm2022/range-slider/acorex-components-range-slider.mjs +5 -0
  389. package/esm2022/range-slider/public-api.mjs +3 -0
  390. package/esm2022/range-slider/src/range-slider.component.mjs +118 -0
  391. package/esm2022/range-slider/src/range-slider.module.mjs +23 -0
  392. package/esm2022/rating/acorex-components-rating.mjs +5 -0
  393. package/esm2022/rating/public-api.mjs +3 -0
  394. package/esm2022/rating/src/rating.component.mjs +42 -0
  395. package/esm2022/rating/src/rating.component.module.mjs +20 -0
  396. package/esm2022/result/acorex-components-result.mjs +5 -0
  397. package/esm2022/result/public-api.mjs +3 -0
  398. package/esm2022/result/src/result.component.mjs +27 -0
  399. package/esm2022/result/src/result.module.mjs +20 -0
  400. package/esm2022/search-box/acorex-components-search-box.mjs +5 -0
  401. package/esm2022/search-box/public-api.mjs +3 -0
  402. package/esm2022/search-box/src/search-box.component.mjs +55 -0
  403. package/esm2022/search-box/src/search-box.module.mjs +26 -0
  404. package/esm2022/select-box/acorex-components-select-box.mjs +5 -0
  405. package/esm2022/select-box/public-api.mjs +3 -0
  406. package/esm2022/select-box/src/selectbox.component.mjs +392 -0
  407. package/esm2022/select-box/src/selectbox.module.mjs +65 -0
  408. package/esm2022/selection-list/acorex-components-selection-list.mjs +5 -0
  409. package/esm2022/selection-list/public-api.mjs +3 -0
  410. package/esm2022/selection-list/src/selection-list.component.mjs +60 -0
  411. package/esm2022/selection-list/src/selection-list.module.mjs +25 -0
  412. package/esm2022/switch/acorex-components-switch.mjs +5 -0
  413. package/esm2022/switch/public-api.mjs +4 -0
  414. package/esm2022/switch/src/switch-content.component.mjs +17 -0
  415. package/esm2022/switch/src/switch.component.mjs +55 -0
  416. package/esm2022/switch/src/switch.module.mjs +23 -0
  417. package/esm2022/tabs/acorex-components-tabs.mjs +5 -0
  418. package/esm2022/tabs/public-api.mjs +6 -0
  419. package/esm2022/tabs/src/tab-content.directive.mjs +32 -0
  420. package/esm2022/tabs/src/tab-item.component.mjs +141 -0
  421. package/esm2022/tabs/src/tabs.class.mjs +6 -0
  422. package/esm2022/tabs/src/tabs.component.mjs +111 -0
  423. package/esm2022/tabs/src/tabs.module.mjs +26 -0
  424. package/esm2022/tag/acorex-components-tag.mjs +5 -0
  425. package/esm2022/tag/public-api.mjs +3 -0
  426. package/esm2022/tag/src/tag.component.mjs +30 -0
  427. package/esm2022/tag/src/tag.module.mjs +20 -0
  428. package/esm2022/textarea/acorex-components-textarea.mjs +5 -0
  429. package/esm2022/textarea/public-api.mjs +3 -0
  430. package/esm2022/textarea/src/textarea.component.mjs +30 -0
  431. package/esm2022/textarea/src/textarea.module.mjs +20 -0
  432. package/esm2022/textbox/acorex-components-textbox.mjs +5 -0
  433. package/esm2022/textbox/public-api.mjs +4 -0
  434. package/esm2022/textbox/src/mask-options.directive.mjs +20 -0
  435. package/esm2022/textbox/src/textbox.component.mjs +96 -0
  436. package/esm2022/textbox/src/textbox.module.mjs +39 -0
  437. package/esm2022/time-box/acorex-components-time-box.mjs +5 -0
  438. package/esm2022/time-box/public-api.mjs +3 -0
  439. package/esm2022/time-box/src/time-box.component.mjs +306 -0
  440. package/esm2022/time-box/src/time-box.module.mjs +33 -0
  441. package/esm2022/toast/acorex-components-toast.mjs +5 -0
  442. package/esm2022/toast/public-api.mjs +5 -0
  443. package/esm2022/toast/src/toast.class.mjs +2 -0
  444. package/esm2022/toast/src/toast.component.mjs +68 -0
  445. package/esm2022/toast/src/toast.module.mjs +23 -0
  446. package/esm2022/toast/src/toast.service.mjs +137 -0
  447. package/esm2022/tooltip/acorex-components-tooltip.mjs +5 -0
  448. package/esm2022/tooltip/public-api.mjs +4 -0
  449. package/esm2022/tooltip/src/tooltip.component.mjs +22 -0
  450. package/esm2022/tooltip/src/tooltip.directive.mjs +164 -0
  451. package/esm2022/tooltip/src/tooltip.module.mjs +23 -0
  452. package/esm2022/tree-view/acorex-components-tree-view.mjs +5 -0
  453. package/esm2022/tree-view/public-api.mjs +3 -0
  454. package/esm2022/tree-view/src/tree-view.component.mjs +108 -0
  455. package/esm2022/tree-view/src/tree-view.module.mjs +21 -0
  456. package/esm2022/uploader/acorex-components-uploader.mjs +5 -0
  457. package/esm2022/uploader/public-api.mjs +3 -0
  458. package/esm2022/uploader/src/uploader.component.mjs +102 -0
  459. package/esm2022/uploader/src/uploader.module.mjs +21 -0
  460. package/fesm2022/acorex-components-action-sheet.mjs +197 -0
  461. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -0
  462. package/fesm2022/acorex-components-alert.mjs +213 -0
  463. package/fesm2022/acorex-components-alert.mjs.map +1 -0
  464. package/fesm2022/acorex-components-avatar.mjs +82 -0
  465. package/fesm2022/acorex-components-avatar.mjs.map +1 -0
  466. package/fesm2022/acorex-components-badge.mjs +53 -0
  467. package/fesm2022/acorex-components-badge.mjs.map +1 -0
  468. package/fesm2022/acorex-components-breadcrumbs.mjs +94 -0
  469. package/fesm2022/acorex-components-breadcrumbs.mjs.map +1 -0
  470. package/fesm2022/acorex-components-button.mjs +275 -0
  471. package/fesm2022/acorex-components-button.mjs.map +1 -0
  472. package/fesm2022/acorex-components-calendar.mjs +837 -0
  473. package/fesm2022/acorex-components-calendar.mjs.map +1 -0
  474. package/fesm2022/acorex-components-card.mjs +41 -0
  475. package/fesm2022/acorex-components-card.mjs.map +1 -0
  476. package/fesm2022/acorex-components-checkbox.mjs +67 -0
  477. package/fesm2022/acorex-components-checkbox.mjs.map +1 -0
  478. package/fesm2022/acorex-components-chips.mjs +56 -0
  479. package/fesm2022/acorex-components-chips.mjs.map +1 -0
  480. package/fesm2022/acorex-components-collapse.mjs +118 -0
  481. package/fesm2022/acorex-components-collapse.mjs.map +1 -0
  482. package/fesm2022/acorex-components-color-palette.mjs +771 -0
  483. package/fesm2022/acorex-components-color-palette.mjs.map +1 -0
  484. package/fesm2022/acorex-components-color-picker.mjs +182 -0
  485. package/fesm2022/acorex-components-color-picker.mjs.map +1 -0
  486. package/fesm2022/acorex-components-common.mjs +1211 -0
  487. package/fesm2022/acorex-components-common.mjs.map +1 -0
  488. package/fesm2022/acorex-components-context-menu.mjs +310 -0
  489. package/fesm2022/acorex-components-context-menu.mjs.map +1 -0
  490. package/fesm2022/acorex-components-data-pager.mjs +613 -0
  491. package/fesm2022/acorex-components-data-pager.mjs.map +1 -0
  492. package/fesm2022/acorex-components-data-table.mjs +231 -0
  493. package/fesm2022/acorex-components-data-table.mjs.map +1 -0
  494. package/fesm2022/acorex-components-date-picker.mjs +285 -0
  495. package/fesm2022/acorex-components-date-picker.mjs.map +1 -0
  496. package/fesm2022/acorex-components-decorators.mjs +353 -0
  497. package/fesm2022/acorex-components-decorators.mjs.map +1 -0
  498. package/fesm2022/acorex-components-dialog.mjs +237 -0
  499. package/fesm2022/acorex-components-dialog.mjs.map +1 -0
  500. package/fesm2022/acorex-components-drawer.mjs +204 -0
  501. package/fesm2022/acorex-components-drawer.mjs.map +1 -0
  502. package/fesm2022/acorex-components-dropdown.mjs +132 -0
  503. package/fesm2022/acorex-components-dropdown.mjs.map +1 -0
  504. package/fesm2022/acorex-components-form.mjs +450 -0
  505. package/fesm2022/acorex-components-form.mjs.map +1 -0
  506. package/fesm2022/acorex-components-image.mjs +102 -0
  507. package/fesm2022/acorex-components-image.mjs.map +1 -0
  508. package/fesm2022/acorex-components-label.mjs +73 -0
  509. package/fesm2022/acorex-components-label.mjs.map +1 -0
  510. package/fesm2022/acorex-components-loading.mjs +397 -0
  511. package/fesm2022/acorex-components-loading.mjs.map +1 -0
  512. package/fesm2022/acorex-components-menu.mjs +383 -0
  513. package/fesm2022/acorex-components-menu.mjs.map +1 -0
  514. package/fesm2022/acorex-components-mixin.mjs +1257 -0
  515. package/fesm2022/acorex-components-mixin.mjs.map +1 -0
  516. package/fesm2022/acorex-components-notification.mjs +223 -0
  517. package/fesm2022/acorex-components-notification.mjs.map +1 -0
  518. package/fesm2022/acorex-components-number-box.mjs +306 -0
  519. package/fesm2022/acorex-components-number-box.mjs.map +1 -0
  520. package/fesm2022/acorex-components-page.mjs +128 -0
  521. package/fesm2022/acorex-components-page.mjs.map +1 -0
  522. package/fesm2022/acorex-components-password-box.mjs +99 -0
  523. package/fesm2022/acorex-components-password-box.mjs.map +1 -0
  524. package/fesm2022/acorex-components-picker.mjs +74 -0
  525. package/fesm2022/acorex-components-picker.mjs.map +1 -0
  526. package/fesm2022/acorex-components-popover.mjs +285 -0
  527. package/fesm2022/acorex-components-popover.mjs.map +1 -0
  528. package/fesm2022/acorex-components-popup.mjs +286 -0
  529. package/fesm2022/acorex-components-popup.mjs.map +1 -0
  530. package/fesm2022/acorex-components-progress-bar.mjs +56 -0
  531. package/fesm2022/acorex-components-progress-bar.mjs.map +1 -0
  532. package/fesm2022/acorex-components-radio.mjs +65 -0
  533. package/fesm2022/acorex-components-radio.mjs.map +1 -0
  534. package/fesm2022/acorex-components-range-slider.mjs +143 -0
  535. package/fesm2022/acorex-components-range-slider.mjs.map +1 -0
  536. package/fesm2022/acorex-components-rating.mjs +64 -0
  537. package/fesm2022/acorex-components-rating.mjs.map +1 -0
  538. package/fesm2022/acorex-components-result.mjs +49 -0
  539. package/fesm2022/acorex-components-result.mjs.map +1 -0
  540. package/fesm2022/acorex-components-search-box.mjs +82 -0
  541. package/fesm2022/acorex-components-search-box.mjs.map +1 -0
  542. package/fesm2022/acorex-components-select-box.mjs +456 -0
  543. package/fesm2022/acorex-components-select-box.mjs.map +1 -0
  544. package/fesm2022/acorex-components-selection-list.mjs +87 -0
  545. package/fesm2022/acorex-components-selection-list.mjs.map +1 -0
  546. package/fesm2022/acorex-components-switch.mjs +93 -0
  547. package/fesm2022/acorex-components-switch.mjs.map +1 -0
  548. package/fesm2022/acorex-components-tabs.mjs +308 -0
  549. package/fesm2022/acorex-components-tabs.mjs.map +1 -0
  550. package/fesm2022/acorex-components-tag.mjs +52 -0
  551. package/fesm2022/acorex-components-tag.mjs.map +1 -0
  552. package/fesm2022/acorex-components-textarea.mjs +52 -0
  553. package/fesm2022/acorex-components-textarea.mjs.map +1 -0
  554. package/fesm2022/acorex-components-textbox.mjs +151 -0
  555. package/fesm2022/acorex-components-textbox.mjs.map +1 -0
  556. package/fesm2022/acorex-components-time-box.mjs +340 -0
  557. package/fesm2022/acorex-components-time-box.mjs.map +1 -0
  558. package/fesm2022/acorex-components-toast.mjs +226 -0
  559. package/fesm2022/acorex-components-toast.mjs.map +1 -0
  560. package/fesm2022/acorex-components-tooltip.mjs +206 -0
  561. package/fesm2022/acorex-components-tooltip.mjs.map +1 -0
  562. package/fesm2022/acorex-components-tree-view.mjs +131 -0
  563. package/fesm2022/acorex-components-tree-view.mjs.map +1 -0
  564. package/fesm2022/acorex-components-uploader.mjs +125 -0
  565. package/fesm2022/acorex-components-uploader.mjs.map +1 -0
  566. package/fesm2022/acorex-components.mjs +11 -0
  567. package/form/index.d.ts +5 -5
  568. package/form/public-api.d.ts +6 -6
  569. package/form/src/form-field.component.d.ts +8 -8
  570. package/form/src/form.component.d.ts +51 -51
  571. package/form/src/form.module.d.ts +15 -15
  572. package/form/src/validation-rule.widget.d.ts +18 -18
  573. package/form/src/validation-summary.component.d.ts +23 -23
  574. package/form/src/validation.class.d.ts +18 -18
  575. package/image/index.d.ts +5 -5
  576. package/image/public-api.d.ts +2 -2
  577. package/image/src/image.component.d.ts +27 -27
  578. package/image/src/image.module.d.ts +8 -8
  579. package/index.d.ts +5 -5
  580. package/label/index.d.ts +5 -5
  581. package/label/public-api.d.ts +2 -2
  582. package/label/src/label.component.d.ts +17 -17
  583. package/label/src/label.module.d.ts +8 -8
  584. package/loading/index.d.ts +5 -5
  585. package/loading/public-api.d.ts +5 -5
  586. package/loading/src/loading-spinner.component.d.ts +6 -6
  587. package/loading/src/loading.component.d.ts +21 -21
  588. package/loading/src/loading.directive.d.ts +22 -22
  589. package/loading/src/loading.module.d.ts +13 -13
  590. package/loading/src/loading.service.d.ts +48 -48
  591. package/menu/index.d.ts +5 -5
  592. package/menu/public-api.d.ts +2 -2
  593. package/menu/src/menu.component.d.ts +39 -39
  594. package/menu/src/menu.module.d.ts +12 -12
  595. package/mixin/index.d.ts +5 -5
  596. package/mixin/public-api.d.ts +17 -17
  597. package/mixin/src/base-components.class.d.ts +84 -84
  598. package/mixin/src/base-menu-mixin.class.d.ts +53 -53
  599. package/mixin/src/button-mixin.class.d.ts +53 -53
  600. package/mixin/src/clickable-mixin.class.d.ts +36 -36
  601. package/mixin/src/color-look-mixing.class.d.ts +44 -44
  602. package/mixin/src/constratctor.d.ts +4 -4
  603. package/mixin/src/datalist-component.class.d.ts +59 -59
  604. package/mixin/src/datalist.class.d.ts +11 -11
  605. package/mixin/src/dropdown-mixin.class.d.ts +47 -47
  606. package/mixin/src/interactive-mixin.class.d.ts +63 -63
  607. package/mixin/src/loading-mixin.class.d.ts +40 -40
  608. package/mixin/src/mixin.class.d.ts +679 -679
  609. package/mixin/src/page-component.class.d.ts +28 -28
  610. package/mixin/src/selection-component.class.d.ts +61 -61
  611. package/mixin/src/sizable-mixin.class.d.ts +34 -34
  612. package/mixin/src/textbox-mixin.class.d.ts +72 -72
  613. package/mixin/src/value-mixin.class.d.ts +63 -63
  614. package/notification/index.d.ts +5 -5
  615. package/notification/public-api.d.ts +4 -4
  616. package/notification/src/notification.class.d.ts +18 -18
  617. package/notification/src/notification.component.d.ts +30 -30
  618. package/notification/src/notification.module.d.ts +10 -10
  619. package/notification/src/notification.service.d.ts +16 -16
  620. package/number-box/index.d.ts +5 -5
  621. package/number-box/public-api.d.ts +2 -2
  622. package/number-box/src/number-box.component.d.ts +77 -77
  623. package/number-box/src/number-box.module.d.ts +12 -12
  624. package/package.json +173 -285
  625. package/page/index.d.ts +5 -5
  626. package/page/public-api.d.ts +3 -3
  627. package/page/src/base-page.class.d.ts +25 -25
  628. package/page/src/page.component.d.ts +14 -14
  629. package/page/src/page.module.d.ts +6 -6
  630. package/password-box/index.d.ts +5 -5
  631. package/password-box/public-api.d.ts +2 -2
  632. package/password-box/src/password-box.component.d.ts +25 -25
  633. package/password-box/src/password-box.module.d.ts +11 -11
  634. package/picker/index.d.ts +5 -5
  635. package/picker/public-api.d.ts +3 -3
  636. package/picker/src/picker-column.component.d.ts +11 -11
  637. package/picker/src/picker.component.d.ts +10 -10
  638. package/picker/src/picker.module.d.ts +14 -14
  639. package/popover/index.d.ts +5 -5
  640. package/popover/public-api.d.ts +2 -2
  641. package/popover/src/popover.component.d.ts +51 -51
  642. package/popover/src/popover.module.d.ts +8 -8
  643. package/popup/index.d.ts +5 -5
  644. package/popup/public-api.d.ts +3 -3
  645. package/popup/src/popup.component.d.ts +45 -45
  646. package/popup/src/popup.module.d.ts +14 -14
  647. package/popup/src/popup.service.d.ts +42 -42
  648. package/progress-bar/index.d.ts +5 -5
  649. package/progress-bar/public-api.d.ts +2 -2
  650. package/progress-bar/src/progress-bar.component.d.ts +18 -18
  651. package/progress-bar/src/progress-bar.module.d.ts +8 -8
  652. package/public-api.d.ts +1 -1
  653. package/radio/index.d.ts +5 -5
  654. package/radio/public-api.d.ts +2 -2
  655. package/radio/src/radio.component.d.ts +18 -18
  656. package/radio/src/radio.module.d.ts +9 -9
  657. package/range-slider/index.d.ts +5 -5
  658. package/range-slider/public-api.d.ts +2 -2
  659. package/range-slider/src/range-slider.component.d.ts +41 -41
  660. package/range-slider/src/range-slider.module.d.ts +9 -9
  661. package/rating/index.d.ts +5 -5
  662. package/rating/public-api.d.ts +2 -2
  663. package/rating/src/rating.component.d.ts +21 -21
  664. package/rating/src/rating.component.module.d.ts +8 -8
  665. package/result/index.d.ts +5 -5
  666. package/result/public-api.d.ts +2 -2
  667. package/result/src/result.component.d.ts +12 -12
  668. package/result/src/result.module.d.ts +8 -8
  669. package/search-box/index.d.ts +5 -5
  670. package/search-box/public-api.d.ts +2 -2
  671. package/search-box/src/search-box.component.d.ts +18 -18
  672. package/search-box/src/search-box.module.d.ts +12 -12
  673. package/select-box/index.d.ts +5 -5
  674. package/select-box/public-api.d.ts +2 -2
  675. package/select-box/src/selectbox.component.d.ts +66 -66
  676. package/select-box/src/selectbox.module.d.ts +19 -19
  677. package/selection-list/index.d.ts +5 -5
  678. package/selection-list/public-api.d.ts +2 -2
  679. package/selection-list/src/selection-list.component.d.ts +23 -23
  680. package/selection-list/src/selection-list.module.d.ts +13 -13
  681. package/switch/index.d.ts +5 -5
  682. package/switch/public-api.d.ts +3 -3
  683. package/switch/src/switch-content.component.d.ts +8 -8
  684. package/switch/src/switch.component.d.ts +13 -13
  685. package/switch/src/switch.module.d.ts +11 -11
  686. package/tabs/index.d.ts +5 -5
  687. package/tabs/public-api.d.ts +5 -5
  688. package/tabs/src/tab-content.directive.d.ts +11 -11
  689. package/tabs/src/tab-item.component.d.ts +48 -48
  690. package/tabs/src/tabs.class.d.ts +7 -7
  691. package/tabs/src/tabs.component.d.ts +29 -29
  692. package/tabs/src/tabs.module.d.ts +12 -12
  693. package/tag/index.d.ts +5 -5
  694. package/tag/public-api.d.ts +2 -2
  695. package/tag/src/tag.component.d.ts +11 -11
  696. package/tag/src/tag.module.d.ts +8 -8
  697. package/textarea/index.d.ts +5 -5
  698. package/textarea/public-api.d.ts +2 -2
  699. package/textarea/src/textarea.component.d.ts +14 -14
  700. package/textarea/src/textarea.module.d.ts +9 -9
  701. package/textbox/index.d.ts +5 -5
  702. package/textbox/public-api.d.ts +3 -3
  703. package/textbox/src/mask-options.directive.d.ts +13 -13
  704. package/textbox/src/textbox.component.d.ts +27 -27
  705. package/textbox/src/textbox.module.d.ts +13 -13
  706. package/time-box/index.d.ts +5 -5
  707. package/time-box/public-api.d.ts +2 -2
  708. package/time-box/src/time-box.component.d.ts +50 -50
  709. package/time-box/src/time-box.module.d.ts +11 -11
  710. package/toast/index.d.ts +5 -5
  711. package/toast/public-api.d.ts +4 -4
  712. package/toast/src/toast.class.d.ts +15 -15
  713. package/toast/src/toast.component.d.ts +25 -25
  714. package/toast/src/toast.module.d.ts +9 -9
  715. package/toast/src/toast.service.d.ts +21 -21
  716. package/tooltip/index.d.ts +5 -5
  717. package/tooltip/public-api.d.ts +3 -3
  718. package/tooltip/src/tooltip.component.d.ts +11 -11
  719. package/tooltip/src/tooltip.directive.d.ts +22 -22
  720. package/tooltip/src/tooltip.module.d.ts +10 -10
  721. package/tree-view/index.d.ts +5 -5
  722. package/tree-view/public-api.d.ts +2 -2
  723. package/tree-view/src/tree-view.component.d.ts +33 -33
  724. package/tree-view/src/tree-view.module.d.ts +9 -9
  725. package/uploader/index.d.ts +5 -5
  726. package/uploader/public-api.d.ts +2 -2
  727. package/uploader/src/uploader.component.d.ts +28 -28
  728. package/uploader/src/uploader.module.d.ts +9 -9
  729. package/esm2020/acorex-components.mjs +0 -5
  730. package/esm2020/action-sheet/acorex-components-action-sheet.mjs +0 -5
  731. package/esm2020/action-sheet/public-api.mjs +0 -4
  732. package/esm2020/action-sheet/src/action-sheet.component.mjs +0 -76
  733. package/esm2020/action-sheet/src/action-sheet.interface.mjs +0 -3
  734. package/esm2020/action-sheet/src/action-sheet.module.mjs +0 -26
  735. package/esm2020/action-sheet/src/action-sheet.service.mjs +0 -91
  736. package/esm2020/alert/acorex-components-alert.mjs +0 -5
  737. package/esm2020/alert/public-api.mjs +0 -3
  738. package/esm2020/alert/src/alert.component.mjs +0 -178
  739. package/esm2020/alert/src/alert.module.mjs +0 -22
  740. package/esm2020/avatar/acorex-components-avatar.mjs +0 -5
  741. package/esm2020/avatar/public-api.mjs +0 -4
  742. package/esm2020/avatar/src/avatar-group.component.mjs +0 -16
  743. package/esm2020/avatar/src/avatar.component.mjs +0 -41
  744. package/esm2020/avatar/src/avatar.module.mjs +0 -22
  745. package/esm2020/badge/acorex-components-badge.mjs +0 -5
  746. package/esm2020/badge/public-api.mjs +0 -3
  747. package/esm2020/badge/src/badge.component.mjs +0 -27
  748. package/esm2020/badge/src/badge.module.mjs +0 -21
  749. package/esm2020/breadcrumbs/acorex-components-breadcrumbs.mjs +0 -5
  750. package/esm2020/breadcrumbs/public-api.mjs +0 -5
  751. package/esm2020/breadcrumbs/src/breadcrumbs-item.class.mjs +0 -2
  752. package/esm2020/breadcrumbs/src/breadcrumbs-item.component.mjs +0 -46
  753. package/esm2020/breadcrumbs/src/breadcrumbs.component.mjs +0 -25
  754. package/esm2020/breadcrumbs/src/breadcrumbs.module.mjs +0 -20
  755. package/esm2020/button/acorex-components-button.mjs +0 -5
  756. package/esm2020/button/public-api.mjs +0 -6
  757. package/esm2020/button/src/button-group.component.mjs +0 -88
  758. package/esm2020/button/src/button-item.class.mjs +0 -2
  759. package/esm2020/button/src/button-item.component.mjs +0 -77
  760. package/esm2020/button/src/button.component.mjs +0 -85
  761. package/esm2020/button/src/button.module.mjs +0 -32
  762. package/esm2020/calendar/acorex-components-calendar.mjs +0 -5
  763. package/esm2020/calendar/public-api.mjs +0 -4
  764. package/esm2020/calendar/src/calendar.class.mjs +0 -127
  765. package/esm2020/calendar/src/calendar.component.mjs +0 -382
  766. package/esm2020/calendar/src/calendar.module.mjs +0 -22
  767. package/esm2020/card/acorex-components-card.mjs +0 -5
  768. package/esm2020/card/public-api.mjs +0 -3
  769. package/esm2020/card/src/card.component.mjs +0 -17
  770. package/esm2020/card/src/card.module.mjs +0 -19
  771. package/esm2020/checkbox/acorex-components-checkbox.mjs +0 -5
  772. package/esm2020/checkbox/public-api.mjs +0 -3
  773. package/esm2020/checkbox/src/checkbox.component.mjs +0 -41
  774. package/esm2020/checkbox/src/checkbox.module.mjs +0 -21
  775. package/esm2020/chips/acorex-components-chips.mjs +0 -5
  776. package/esm2020/chips/public-api.mjs +0 -3
  777. package/esm2020/chips/src/chips.component.mjs +0 -33
  778. package/esm2020/chips/src/chips.module.mjs +0 -19
  779. package/esm2020/collapse/acorex-components-collapse.mjs +0 -5
  780. package/esm2020/collapse/public-api.mjs +0 -4
  781. package/esm2020/collapse/src/collapse-group.component.mjs +0 -50
  782. package/esm2020/collapse/src/collapse.component.mjs +0 -45
  783. package/esm2020/collapse/src/collapse.module.mjs +0 -20
  784. package/esm2020/color-palette/acorex-components-color-palette.mjs +0 -5
  785. package/esm2020/color-palette/public-api.mjs +0 -8
  786. package/esm2020/color-palette/src/color-palette-input.component.mjs +0 -129
  787. package/esm2020/color-palette/src/color-palette-picker.component.mjs +0 -158
  788. package/esm2020/color-palette/src/color-palette-preview.component.mjs +0 -60
  789. package/esm2020/color-palette/src/color-palette-swatches.component.mjs +0 -302
  790. package/esm2020/color-palette/src/color-palette.class.mjs +0 -17
  791. package/esm2020/color-palette/src/color-palette.component.mjs +0 -74
  792. package/esm2020/color-palette/src/color-palette.module.mjs +0 -60
  793. package/esm2020/color-picker/acorex-components-color-picker.mjs +0 -5
  794. package/esm2020/color-picker/public-api.mjs +0 -3
  795. package/esm2020/color-picker/src/color-picker.component.mjs +0 -105
  796. package/esm2020/color-picker/src/color-picker.module.mjs +0 -61
  797. package/esm2020/common/acorex-components-common.mjs +0 -5
  798. package/esm2020/common/public-api.mjs +0 -16
  799. package/esm2020/common/src/classes/components.class.mjs +0 -69
  800. package/esm2020/common/src/classes/drawing.class.mjs +0 -2
  801. package/esm2020/common/src/classes/events.class.mjs +0 -58
  802. package/esm2020/common/src/classes/styles.class.mjs +0 -13
  803. package/esm2020/common/src/common.module.mjs +0 -42
  804. package/esm2020/common/src/components/base-component.class.mjs +0 -57
  805. package/esm2020/common/src/components/button-base-component.class.mjs +0 -68
  806. package/esm2020/common/src/components/color-component.class.mjs +0 -27
  807. package/esm2020/common/src/components/colorlook-component.class.mjs +0 -11
  808. package/esm2020/common/src/components/index.mjs +0 -7
  809. package/esm2020/common/src/components/interactive-component.class.mjs +0 -62
  810. package/esm2020/common/src/components/look-component.class.mjs +0 -27
  811. package/esm2020/common/src/constant/positions.mjs +0 -75
  812. package/esm2020/common/src/directives/auto-focus.directive.mjs +0 -55
  813. package/esm2020/common/src/directives/debounce-time.directive.mjs +0 -47
  814. package/esm2020/common/src/directives/hotkey.directive.mjs +0 -79
  815. package/esm2020/common/src/directives/infinite-scroll.directive.mjs +0 -63
  816. package/esm2020/common/src/directives/responsive.directive.mjs +0 -34
  817. package/esm2020/common/src/services/custom-cdk-overlay.service.mjs +0 -48
  818. package/esm2020/common/src/services/hotkey.service.mjs +0 -38
  819. package/esm2020/common/src/services/overlay.service.mjs +0 -111
  820. package/esm2020/context-menu/acorex-components-context-menu.mjs +0 -5
  821. package/esm2020/context-menu/public-api.mjs +0 -3
  822. package/esm2020/context-menu/src/context-menu.component.mjs +0 -260
  823. package/esm2020/context-menu/src/context-menu.module.mjs +0 -36
  824. package/esm2020/data-pager/acorex-components-data-pager.mjs +0 -5
  825. package/esm2020/data-pager/public-api.mjs +0 -10
  826. package/esm2020/data-pager/src/data-pager-base.component.mjs +0 -38
  827. package/esm2020/data-pager/src/data-pager-info.component.mjs +0 -57
  828. package/esm2020/data-pager/src/data-pager-input-selector.component.mjs +0 -51
  829. package/esm2020/data-pager/src/data-pager-next-buttons.components.mjs +0 -63
  830. package/esm2020/data-pager/src/data-pager-numeric-selector.component.mjs +0 -98
  831. package/esm2020/data-pager/src/data-pager-pagesize-dropdown.component.mjs +0 -85
  832. package/esm2020/data-pager/src/data-pager-prev-buttons.component.mjs +0 -59
  833. package/esm2020/data-pager/src/data-pager.component.mjs +0 -143
  834. package/esm2020/data-pager/src/data-pager.module.mjs +0 -51
  835. package/esm2020/data-table/acorex-components-data-table.mjs +0 -5
  836. package/esm2020/data-table/public-api.mjs +0 -5
  837. package/esm2020/data-table/src/data-column-cell-template.directive.mjs +0 -17
  838. package/esm2020/data-table/src/data-column.directive.mjs +0 -43
  839. package/esm2020/data-table/src/data-table.component.mjs +0 -137
  840. package/esm2020/data-table/src/data-table.module.mjs +0 -27
  841. package/esm2020/date-picker/acorex-components-date-picker.mjs +0 -5
  842. package/esm2020/date-picker/public-api.mjs +0 -3
  843. package/esm2020/date-picker/src/datepicker.component.mjs +0 -249
  844. package/esm2020/date-picker/src/datepicker.module.mjs +0 -44
  845. package/esm2020/decorators/acorex-components-decorators.mjs +0 -5
  846. package/esm2020/decorators/public-api.mjs +0 -15
  847. package/esm2020/decorators/src/close-button.component.mjs +0 -50
  848. package/esm2020/decorators/src/content.component.mjs +0 -21
  849. package/esm2020/decorators/src/decorators.module.mjs +0 -71
  850. package/esm2020/decorators/src/footer.component.mjs +0 -29
  851. package/esm2020/decorators/src/form-hint.component.mjs +0 -20
  852. package/esm2020/decorators/src/header.component.mjs +0 -29
  853. package/esm2020/decorators/src/icon.component.mjs +0 -29
  854. package/esm2020/decorators/src/overlay.component.mjs +0 -22
  855. package/esm2020/decorators/src/placeholder.component.mjs +0 -14
  856. package/esm2020/decorators/src/prefix.component.mjs +0 -21
  857. package/esm2020/decorators/src/sub-title.component.mjs +0 -27
  858. package/esm2020/decorators/src/suffix.component.mjs +0 -21
  859. package/esm2020/decorators/src/text.component.mjs +0 -21
  860. package/esm2020/decorators/src/title.component.mjs +0 -20
  861. package/esm2020/dialog/acorex-components-dialog.mjs +0 -5
  862. package/esm2020/dialog/public-api.mjs +0 -5
  863. package/esm2020/dialog/src/dialog.class.mjs +0 -2
  864. package/esm2020/dialog/src/dialog.component.mjs +0 -52
  865. package/esm2020/dialog/src/dialog.module.mjs +0 -27
  866. package/esm2020/dialog/src/dialog.service.mjs +0 -151
  867. package/esm2020/drawer/acorex-components-drawer.mjs +0 -5
  868. package/esm2020/drawer/public-api.mjs +0 -4
  869. package/esm2020/drawer/src/drawer-container.component.mjs +0 -37
  870. package/esm2020/drawer/src/drawer.component.mjs +0 -140
  871. package/esm2020/drawer/src/drawer.module.mjs +0 -22
  872. package/esm2020/dropdown/acorex-components-dropdown.mjs +0 -5
  873. package/esm2020/dropdown/public-api.mjs +0 -3
  874. package/esm2020/dropdown/src/dropdown-panel.component.mjs +0 -101
  875. package/esm2020/dropdown/src/dropdown.module.mjs +0 -25
  876. package/esm2020/form/acorex-components-form.mjs +0 -5
  877. package/esm2020/form/public-api.mjs +0 -7
  878. package/esm2020/form/src/form-field.component.mjs +0 -15
  879. package/esm2020/form/src/form.component.mjs +0 -160
  880. package/esm2020/form/src/form.module.mjs +0 -63
  881. package/esm2020/form/src/validation-rule.widget.mjs +0 -115
  882. package/esm2020/form/src/validation-summary.component.mjs +0 -105
  883. package/esm2020/form/src/validation.class.mjs +0 -2
  884. package/esm2020/image/acorex-components-image.mjs +0 -5
  885. package/esm2020/image/public-api.mjs +0 -3
  886. package/esm2020/image/src/image.component.mjs +0 -76
  887. package/esm2020/image/src/image.module.mjs +0 -19
  888. package/esm2020/label/acorex-components-label.mjs +0 -5
  889. package/esm2020/label/public-api.mjs +0 -3
  890. package/esm2020/label/src/label.component.mjs +0 -45
  891. package/esm2020/label/src/label.module.mjs +0 -21
  892. package/esm2020/loading/acorex-components-loading.mjs +0 -5
  893. package/esm2020/loading/public-api.mjs +0 -6
  894. package/esm2020/loading/src/loading-spinner.component.mjs +0 -68
  895. package/esm2020/loading/src/loading.component.mjs +0 -64
  896. package/esm2020/loading/src/loading.directive.mjs +0 -68
  897. package/esm2020/loading/src/loading.module.mjs +0 -35
  898. package/esm2020/loading/src/loading.service.mjs +0 -156
  899. package/esm2020/menu/acorex-components-menu.mjs +0 -5
  900. package/esm2020/menu/public-api.mjs +0 -3
  901. package/esm2020/menu/src/menu.component.mjs +0 -338
  902. package/esm2020/menu/src/menu.module.mjs +0 -33
  903. package/esm2020/mixin/acorex-components-mixin.mjs +0 -5
  904. package/esm2020/mixin/public-api.mjs +0 -18
  905. package/esm2020/mixin/src/base-components.class.mjs +0 -110
  906. package/esm2020/mixin/src/base-menu-mixin.class.mjs +0 -138
  907. package/esm2020/mixin/src/button-mixin.class.mjs +0 -70
  908. package/esm2020/mixin/src/clickable-mixin.class.mjs +0 -24
  909. package/esm2020/mixin/src/color-look-mixing.class.mjs +0 -48
  910. package/esm2020/mixin/src/constratctor.mjs +0 -2
  911. package/esm2020/mixin/src/datalist-component.class.mjs +0 -163
  912. package/esm2020/mixin/src/datalist.class.mjs +0 -3
  913. package/esm2020/mixin/src/dropdown-mixin.class.mjs +0 -99
  914. package/esm2020/mixin/src/interactive-mixin.class.mjs +0 -84
  915. package/esm2020/mixin/src/loading-mixin.class.mjs +0 -18
  916. package/esm2020/mixin/src/mixin.class.mjs +0 -26
  917. package/esm2020/mixin/src/page-component.class.mjs +0 -11
  918. package/esm2020/mixin/src/selection-component.class.mjs +0 -180
  919. package/esm2020/mixin/src/sizable-mixin.class.mjs +0 -18
  920. package/esm2020/mixin/src/textbox-mixin.class.mjs +0 -58
  921. package/esm2020/mixin/src/value-mixin.class.mjs +0 -230
  922. package/esm2020/notification/acorex-components-notification.mjs +0 -5
  923. package/esm2020/notification/public-api.mjs +0 -5
  924. package/esm2020/notification/src/notification.class.mjs +0 -2
  925. package/esm2020/notification/src/notification.component.mjs +0 -87
  926. package/esm2020/notification/src/notification.module.mjs +0 -23
  927. package/esm2020/notification/src/notification.service.mjs +0 -107
  928. package/esm2020/number-box/acorex-components-number-box.mjs +0 -5
  929. package/esm2020/number-box/public-api.mjs +0 -3
  930. package/esm2020/number-box/src/number-box.component.mjs +0 -260
  931. package/esm2020/number-box/src/number-box.module.mjs +0 -35
  932. package/esm2020/page/acorex-components-page.mjs +0 -5
  933. package/esm2020/page/public-api.mjs +0 -4
  934. package/esm2020/page/src/base-page.class.mjs +0 -61
  935. package/esm2020/page/src/page.component.mjs +0 -44
  936. package/esm2020/page/src/page.module.mjs +0 -18
  937. package/esm2020/password-box/acorex-components-password-box.mjs +0 -5
  938. package/esm2020/password-box/public-api.mjs +0 -3
  939. package/esm2020/password-box/src/password-box.component.mjs +0 -62
  940. package/esm2020/password-box/src/password-box.module.mjs +0 -32
  941. package/esm2020/picker/acorex-components-picker.mjs +0 -5
  942. package/esm2020/picker/public-api.mjs +0 -4
  943. package/esm2020/picker/src/picker-column.component.mjs +0 -22
  944. package/esm2020/picker/src/picker.component.mjs +0 -16
  945. package/esm2020/picker/src/picker.module.mjs +0 -37
  946. package/esm2020/popover/acorex-components-popover.mjs +0 -5
  947. package/esm2020/popover/public-api.mjs +0 -3
  948. package/esm2020/popover/src/popover.component.mjs +0 -248
  949. package/esm2020/popover/src/popover.module.mjs +0 -19
  950. package/esm2020/popup/acorex-components-popup.mjs +0 -5
  951. package/esm2020/popup/public-api.mjs +0 -4
  952. package/esm2020/popup/src/popup.component.mjs +0 -135
  953. package/esm2020/popup/src/popup.module.mjs +0 -27
  954. package/esm2020/popup/src/popup.service.mjs +0 -114
  955. package/esm2020/progress-bar/acorex-components-progress-bar.mjs +0 -5
  956. package/esm2020/progress-bar/public-api.mjs +0 -3
  957. package/esm2020/progress-bar/src/progress-bar.component.mjs +0 -33
  958. package/esm2020/progress-bar/src/progress-bar.module.mjs +0 -19
  959. package/esm2020/public-api.mjs +0 -5
  960. package/esm2020/radio/acorex-components-radio.mjs +0 -5
  961. package/esm2020/radio/public-api.mjs +0 -3
  962. package/esm2020/radio/src/radio.component.mjs +0 -39
  963. package/esm2020/radio/src/radio.module.mjs +0 -22
  964. package/esm2020/range-slider/acorex-components-range-slider.mjs +0 -5
  965. package/esm2020/range-slider/public-api.mjs +0 -3
  966. package/esm2020/range-slider/src/range-slider.component.mjs +0 -116
  967. package/esm2020/range-slider/src/range-slider.module.mjs +0 -22
  968. package/esm2020/rating/acorex-components-rating.mjs +0 -5
  969. package/esm2020/rating/public-api.mjs +0 -3
  970. package/esm2020/rating/src/rating.component.mjs +0 -41
  971. package/esm2020/rating/src/rating.component.module.mjs +0 -19
  972. package/esm2020/result/acorex-components-result.mjs +0 -5
  973. package/esm2020/result/public-api.mjs +0 -3
  974. package/esm2020/result/src/result.component.mjs +0 -25
  975. package/esm2020/result/src/result.module.mjs +0 -19
  976. package/esm2020/search-box/acorex-components-search-box.mjs +0 -5
  977. package/esm2020/search-box/public-api.mjs +0 -3
  978. package/esm2020/search-box/src/search-box.component.mjs +0 -52
  979. package/esm2020/search-box/src/search-box.module.mjs +0 -25
  980. package/esm2020/select-box/acorex-components-select-box.mjs +0 -5
  981. package/esm2020/select-box/public-api.mjs +0 -3
  982. package/esm2020/select-box/src/selectbox.component.mjs +0 -380
  983. package/esm2020/select-box/src/selectbox.module.mjs +0 -64
  984. package/esm2020/selection-list/acorex-components-selection-list.mjs +0 -5
  985. package/esm2020/selection-list/public-api.mjs +0 -3
  986. package/esm2020/selection-list/src/selection-list.component.mjs +0 -60
  987. package/esm2020/selection-list/src/selection-list.module.mjs +0 -24
  988. package/esm2020/switch/acorex-components-switch.mjs +0 -5
  989. package/esm2020/switch/public-api.mjs +0 -4
  990. package/esm2020/switch/src/switch-content.component.mjs +0 -16
  991. package/esm2020/switch/src/switch.component.mjs +0 -51
  992. package/esm2020/switch/src/switch.module.mjs +0 -22
  993. package/esm2020/tabs/acorex-components-tabs.mjs +0 -5
  994. package/esm2020/tabs/public-api.mjs +0 -6
  995. package/esm2020/tabs/src/tab-content.directive.mjs +0 -29
  996. package/esm2020/tabs/src/tab-item.component.mjs +0 -136
  997. package/esm2020/tabs/src/tabs.class.mjs +0 -4
  998. package/esm2020/tabs/src/tabs.component.mjs +0 -107
  999. package/esm2020/tabs/src/tabs.module.mjs +0 -25
  1000. package/esm2020/tag/acorex-components-tag.mjs +0 -5
  1001. package/esm2020/tag/public-api.mjs +0 -3
  1002. package/esm2020/tag/src/tag.component.mjs +0 -29
  1003. package/esm2020/tag/src/tag.module.mjs +0 -19
  1004. package/esm2020/textarea/acorex-components-textarea.mjs +0 -5
  1005. package/esm2020/textarea/public-api.mjs +0 -3
  1006. package/esm2020/textarea/src/textarea.component.mjs +0 -28
  1007. package/esm2020/textarea/src/textarea.module.mjs +0 -19
  1008. package/esm2020/textbox/acorex-components-textbox.mjs +0 -5
  1009. package/esm2020/textbox/public-api.mjs +0 -4
  1010. package/esm2020/textbox/src/mask-options.directive.mjs +0 -17
  1011. package/esm2020/textbox/src/textbox.component.mjs +0 -92
  1012. package/esm2020/textbox/src/textbox.module.mjs +0 -38
  1013. package/esm2020/time-box/acorex-components-time-box.mjs +0 -5
  1014. package/esm2020/time-box/public-api.mjs +0 -3
  1015. package/esm2020/time-box/src/time-box.component.mjs +0 -296
  1016. package/esm2020/time-box/src/time-box.module.mjs +0 -32
  1017. package/esm2020/toast/acorex-components-toast.mjs +0 -5
  1018. package/esm2020/toast/public-api.mjs +0 -5
  1019. package/esm2020/toast/src/toast.class.mjs +0 -2
  1020. package/esm2020/toast/src/toast.component.mjs +0 -64
  1021. package/esm2020/toast/src/toast.module.mjs +0 -22
  1022. package/esm2020/toast/src/toast.service.mjs +0 -134
  1023. package/esm2020/tooltip/acorex-components-tooltip.mjs +0 -5
  1024. package/esm2020/tooltip/public-api.mjs +0 -4
  1025. package/esm2020/tooltip/src/tooltip.component.mjs +0 -20
  1026. package/esm2020/tooltip/src/tooltip.directive.mjs +0 -157
  1027. package/esm2020/tooltip/src/tooltip.module.mjs +0 -22
  1028. package/esm2020/tree-view/acorex-components-tree-view.mjs +0 -5
  1029. package/esm2020/tree-view/public-api.mjs +0 -3
  1030. package/esm2020/tree-view/src/tree-view.component.mjs +0 -108
  1031. package/esm2020/tree-view/src/tree-view.module.mjs +0 -20
  1032. package/esm2020/uploader/acorex-components-uploader.mjs +0 -5
  1033. package/esm2020/uploader/public-api.mjs +0 -3
  1034. package/esm2020/uploader/src/uploader.component.mjs +0 -98
  1035. package/esm2020/uploader/src/uploader.module.mjs +0 -20
  1036. package/fesm2015/acorex-components-action-sheet.mjs +0 -193
  1037. package/fesm2015/acorex-components-action-sheet.mjs.map +0 -1
  1038. package/fesm2015/acorex-components-alert.mjs +0 -208
  1039. package/fesm2015/acorex-components-alert.mjs.map +0 -1
  1040. package/fesm2015/acorex-components-avatar.mjs +0 -81
  1041. package/fesm2015/acorex-components-avatar.mjs.map +0 -1
  1042. package/fesm2015/acorex-components-badge.mjs +0 -53
  1043. package/fesm2015/acorex-components-badge.mjs.map +0 -1
  1044. package/fesm2015/acorex-components-breadcrumbs.mjs +0 -91
  1045. package/fesm2015/acorex-components-breadcrumbs.mjs.map +0 -1
  1046. package/fesm2015/acorex-components-button.mjs +0 -281
  1047. package/fesm2015/acorex-components-button.mjs.map +0 -1
  1048. package/fesm2015/acorex-components-calendar.mjs +0 -531
  1049. package/fesm2015/acorex-components-calendar.mjs.map +0 -1
  1050. package/fesm2015/acorex-components-card.mjs +0 -41
  1051. package/fesm2015/acorex-components-card.mjs.map +0 -1
  1052. package/fesm2015/acorex-components-checkbox.mjs +0 -67
  1053. package/fesm2015/acorex-components-checkbox.mjs.map +0 -1
  1054. package/fesm2015/acorex-components-chips.mjs +0 -57
  1055. package/fesm2015/acorex-components-chips.mjs.map +0 -1
  1056. package/fesm2015/acorex-components-collapse.mjs +0 -115
  1057. package/fesm2015/acorex-components-collapse.mjs.map +0 -1
  1058. package/fesm2015/acorex-components-color-palette.mjs +0 -772
  1059. package/fesm2015/acorex-components-color-palette.mjs.map +0 -1
  1060. package/fesm2015/acorex-components-color-picker.mjs +0 -172
  1061. package/fesm2015/acorex-components-color-picker.mjs.map +0 -1
  1062. package/fesm2015/acorex-components-common.mjs +0 -955
  1063. package/fesm2015/acorex-components-common.mjs.map +0 -1
  1064. package/fesm2015/acorex-components-context-menu.mjs +0 -301
  1065. package/fesm2015/acorex-components-context-menu.mjs.map +0 -1
  1066. package/fesm2015/acorex-components-data-pager.mjs +0 -615
  1067. package/fesm2015/acorex-components-data-pager.mjs.map +0 -1
  1068. package/fesm2015/acorex-components-data-table.mjs +0 -224
  1069. package/fesm2015/acorex-components-data-table.mjs.map +0 -1
  1070. package/fesm2015/acorex-components-date-picker.mjs +0 -297
  1071. package/fesm2015/acorex-components-date-picker.mjs.map +0 -1
  1072. package/fesm2015/acorex-components-decorators.mjs +0 -356
  1073. package/fesm2015/acorex-components-decorators.mjs.map +0 -1
  1074. package/fesm2015/acorex-components-dialog.mjs +0 -233
  1075. package/fesm2015/acorex-components-dialog.mjs.map +0 -1
  1076. package/fesm2015/acorex-components-drawer.mjs +0 -202
  1077. package/fesm2015/acorex-components-drawer.mjs.map +0 -1
  1078. package/fesm2015/acorex-components-dropdown.mjs +0 -135
  1079. package/fesm2015/acorex-components-dropdown.mjs.map +0 -1
  1080. package/fesm2015/acorex-components-form.mjs +0 -450
  1081. package/fesm2015/acorex-components-form.mjs.map +0 -1
  1082. package/fesm2015/acorex-components-image.mjs +0 -100
  1083. package/fesm2015/acorex-components-image.mjs.map +0 -1
  1084. package/fesm2015/acorex-components-label.mjs +0 -71
  1085. package/fesm2015/acorex-components-label.mjs.map +0 -1
  1086. package/fesm2015/acorex-components-loading.mjs +0 -385
  1087. package/fesm2015/acorex-components-loading.mjs.map +0 -1
  1088. package/fesm2015/acorex-components-menu.mjs +0 -381
  1089. package/fesm2015/acorex-components-menu.mjs.map +0 -1
  1090. package/fesm2015/acorex-components-mixin.mjs +0 -1265
  1091. package/fesm2015/acorex-components-mixin.mjs.map +0 -1
  1092. package/fesm2015/acorex-components-notification.mjs +0 -217
  1093. package/fesm2015/acorex-components-notification.mjs.map +0 -1
  1094. package/fesm2015/acorex-components-number-box.mjs +0 -300
  1095. package/fesm2015/acorex-components-number-box.mjs.map +0 -1
  1096. package/fesm2015/acorex-components-page.mjs +0 -127
  1097. package/fesm2015/acorex-components-page.mjs.map +0 -1
  1098. package/fesm2015/acorex-components-password-box.mjs +0 -99
  1099. package/fesm2015/acorex-components-password-box.mjs.map +0 -1
  1100. package/fesm2015/acorex-components-picker.mjs +0 -77
  1101. package/fesm2015/acorex-components-picker.mjs.map +0 -1
  1102. package/fesm2015/acorex-components-popover.mjs +0 -278
  1103. package/fesm2015/acorex-components-popover.mjs.map +0 -1
  1104. package/fesm2015/acorex-components-popup.mjs +0 -275
  1105. package/fesm2015/acorex-components-popup.mjs.map +0 -1
  1106. package/fesm2015/acorex-components-progress-bar.mjs +0 -57
  1107. package/fesm2015/acorex-components-progress-bar.mjs.map +0 -1
  1108. package/fesm2015/acorex-components-radio.mjs +0 -66
  1109. package/fesm2015/acorex-components-radio.mjs.map +0 -1
  1110. package/fesm2015/acorex-components-range-slider.mjs +0 -148
  1111. package/fesm2015/acorex-components-range-slider.mjs.map +0 -1
  1112. package/fesm2015/acorex-components-rating.mjs +0 -65
  1113. package/fesm2015/acorex-components-rating.mjs.map +0 -1
  1114. package/fesm2015/acorex-components-result.mjs +0 -49
  1115. package/fesm2015/acorex-components-result.mjs.map +0 -1
  1116. package/fesm2015/acorex-components-search-box.mjs +0 -84
  1117. package/fesm2015/acorex-components-search-box.mjs.map +0 -1
  1118. package/fesm2015/acorex-components-select-box.mjs +0 -453
  1119. package/fesm2015/acorex-components-select-box.mjs.map +0 -1
  1120. package/fesm2015/acorex-components-selection-list.mjs +0 -89
  1121. package/fesm2015/acorex-components-selection-list.mjs.map +0 -1
  1122. package/fesm2015/acorex-components-switch.mjs +0 -91
  1123. package/fesm2015/acorex-components-switch.mjs.map +0 -1
  1124. package/fesm2015/acorex-components-tabs.mjs +0 -299
  1125. package/fesm2015/acorex-components-tabs.mjs.map +0 -1
  1126. package/fesm2015/acorex-components-tag.mjs +0 -53
  1127. package/fesm2015/acorex-components-tag.mjs.map +0 -1
  1128. package/fesm2015/acorex-components-textarea.mjs +0 -52
  1129. package/fesm2015/acorex-components-textarea.mjs.map +0 -1
  1130. package/fesm2015/acorex-components-textbox.mjs +0 -149
  1131. package/fesm2015/acorex-components-textbox.mjs.map +0 -1
  1132. package/fesm2015/acorex-components-time-box.mjs +0 -336
  1133. package/fesm2015/acorex-components-time-box.mjs.map +0 -1
  1134. package/fesm2015/acorex-components-toast.mjs +0 -222
  1135. package/fesm2015/acorex-components-toast.mjs.map +0 -1
  1136. package/fesm2015/acorex-components-tooltip.mjs +0 -164
  1137. package/fesm2015/acorex-components-tooltip.mjs.map +0 -1
  1138. package/fesm2015/acorex-components-tree-view.mjs +0 -133
  1139. package/fesm2015/acorex-components-tree-view.mjs.map +0 -1
  1140. package/fesm2015/acorex-components-uploader.mjs +0 -129
  1141. package/fesm2015/acorex-components-uploader.mjs.map +0 -1
  1142. package/fesm2015/acorex-components.mjs +0 -12
  1143. package/fesm2020/acorex-components-action-sheet.mjs +0 -192
  1144. package/fesm2020/acorex-components-action-sheet.mjs.map +0 -1
  1145. package/fesm2020/acorex-components-alert.mjs +0 -204
  1146. package/fesm2020/acorex-components-alert.mjs.map +0 -1
  1147. package/fesm2020/acorex-components-avatar.mjs +0 -81
  1148. package/fesm2020/acorex-components-avatar.mjs.map +0 -1
  1149. package/fesm2020/acorex-components-badge.mjs +0 -53
  1150. package/fesm2020/acorex-components-badge.mjs.map +0 -1
  1151. package/fesm2020/acorex-components-breadcrumbs.mjs +0 -89
  1152. package/fesm2020/acorex-components-breadcrumbs.mjs.map +0 -1
  1153. package/fesm2020/acorex-components-button.mjs +0 -278
  1154. package/fesm2020/acorex-components-button.mjs.map +0 -1
  1155. package/fesm2020/acorex-components-calendar.mjs +0 -530
  1156. package/fesm2020/acorex-components-calendar.mjs.map +0 -1
  1157. package/fesm2020/acorex-components-card.mjs +0 -41
  1158. package/fesm2020/acorex-components-card.mjs.map +0 -1
  1159. package/fesm2020/acorex-components-checkbox.mjs +0 -67
  1160. package/fesm2020/acorex-components-checkbox.mjs.map +0 -1
  1161. package/fesm2020/acorex-components-chips.mjs +0 -57
  1162. package/fesm2020/acorex-components-chips.mjs.map +0 -1
  1163. package/fesm2020/acorex-components-collapse.mjs +0 -115
  1164. package/fesm2020/acorex-components-collapse.mjs.map +0 -1
  1165. package/fesm2020/acorex-components-color-palette.mjs +0 -765
  1166. package/fesm2020/acorex-components-color-palette.mjs.map +0 -1
  1167. package/fesm2020/acorex-components-color-picker.mjs +0 -169
  1168. package/fesm2020/acorex-components-color-picker.mjs.map +0 -1
  1169. package/fesm2020/acorex-components-common.mjs +0 -946
  1170. package/fesm2020/acorex-components-common.mjs.map +0 -1
  1171. package/fesm2020/acorex-components-context-menu.mjs +0 -301
  1172. package/fesm2020/acorex-components-context-menu.mjs.map +0 -1
  1173. package/fesm2020/acorex-components-data-pager.mjs +0 -598
  1174. package/fesm2020/acorex-components-data-pager.mjs.map +0 -1
  1175. package/fesm2020/acorex-components-data-table.mjs +0 -222
  1176. package/fesm2020/acorex-components-data-table.mjs.map +0 -1
  1177. package/fesm2020/acorex-components-date-picker.mjs +0 -295
  1178. package/fesm2020/acorex-components-date-picker.mjs.map +0 -1
  1179. package/fesm2020/acorex-components-decorators.mjs +0 -353
  1180. package/fesm2020/acorex-components-decorators.mjs.map +0 -1
  1181. package/fesm2020/acorex-components-dialog.mjs +0 -232
  1182. package/fesm2020/acorex-components-dialog.mjs.map +0 -1
  1183. package/fesm2020/acorex-components-drawer.mjs +0 -200
  1184. package/fesm2020/acorex-components-drawer.mjs.map +0 -1
  1185. package/fesm2020/acorex-components-dropdown.mjs +0 -129
  1186. package/fesm2020/acorex-components-dropdown.mjs.map +0 -1
  1187. package/fesm2020/acorex-components-form.mjs +0 -446
  1188. package/fesm2020/acorex-components-form.mjs.map +0 -1
  1189. package/fesm2020/acorex-components-image.mjs +0 -100
  1190. package/fesm2020/acorex-components-image.mjs.map +0 -1
  1191. package/fesm2020/acorex-components-label.mjs +0 -71
  1192. package/fesm2020/acorex-components-label.mjs.map +0 -1
  1193. package/fesm2020/acorex-components-loading.mjs +0 -384
  1194. package/fesm2020/acorex-components-loading.mjs.map +0 -1
  1195. package/fesm2020/acorex-components-menu.mjs +0 -376
  1196. package/fesm2020/acorex-components-menu.mjs.map +0 -1
  1197. package/fesm2020/acorex-components-mixin.mjs +0 -1259
  1198. package/fesm2020/acorex-components-mixin.mjs.map +0 -1
  1199. package/fesm2020/acorex-components-notification.mjs +0 -217
  1200. package/fesm2020/acorex-components-notification.mjs.map +0 -1
  1201. package/fesm2020/acorex-components-number-box.mjs +0 -299
  1202. package/fesm2020/acorex-components-number-box.mjs.map +0 -1
  1203. package/fesm2020/acorex-components-page.mjs +0 -125
  1204. package/fesm2020/acorex-components-page.mjs.map +0 -1
  1205. package/fesm2020/acorex-components-password-box.mjs +0 -99
  1206. package/fesm2020/acorex-components-password-box.mjs.map +0 -1
  1207. package/fesm2020/acorex-components-picker.mjs +0 -77
  1208. package/fesm2020/acorex-components-picker.mjs.map +0 -1
  1209. package/fesm2020/acorex-components-popover.mjs +0 -272
  1210. package/fesm2020/acorex-components-popover.mjs.map +0 -1
  1211. package/fesm2020/acorex-components-popup.mjs +0 -275
  1212. package/fesm2020/acorex-components-popup.mjs.map +0 -1
  1213. package/fesm2020/acorex-components-progress-bar.mjs +0 -57
  1214. package/fesm2020/acorex-components-progress-bar.mjs.map +0 -1
  1215. package/fesm2020/acorex-components-radio.mjs +0 -66
  1216. package/fesm2020/acorex-components-radio.mjs.map +0 -1
  1217. package/fesm2020/acorex-components-range-slider.mjs +0 -143
  1218. package/fesm2020/acorex-components-range-slider.mjs.map +0 -1
  1219. package/fesm2020/acorex-components-rating.mjs +0 -65
  1220. package/fesm2020/acorex-components-rating.mjs.map +0 -1
  1221. package/fesm2020/acorex-components-result.mjs +0 -49
  1222. package/fesm2020/acorex-components-result.mjs.map +0 -1
  1223. package/fesm2020/acorex-components-search-box.mjs +0 -81
  1224. package/fesm2020/acorex-components-search-box.mjs.map +0 -1
  1225. package/fesm2020/acorex-components-select-box.mjs +0 -446
  1226. package/fesm2020/acorex-components-select-box.mjs.map +0 -1
  1227. package/fesm2020/acorex-components-selection-list.mjs +0 -89
  1228. package/fesm2020/acorex-components-selection-list.mjs.map +0 -1
  1229. package/fesm2020/acorex-components-switch.mjs +0 -91
  1230. package/fesm2020/acorex-components-switch.mjs.map +0 -1
  1231. package/fesm2020/acorex-components-tabs.mjs +0 -298
  1232. package/fesm2020/acorex-components-tabs.mjs.map +0 -1
  1233. package/fesm2020/acorex-components-tag.mjs +0 -53
  1234. package/fesm2020/acorex-components-tag.mjs.map +0 -1
  1235. package/fesm2020/acorex-components-textarea.mjs +0 -52
  1236. package/fesm2020/acorex-components-textarea.mjs.map +0 -1
  1237. package/fesm2020/acorex-components-textbox.mjs +0 -147
  1238. package/fesm2020/acorex-components-textbox.mjs.map +0 -1
  1239. package/fesm2020/acorex-components-time-box.mjs +0 -332
  1240. package/fesm2020/acorex-components-time-box.mjs.map +0 -1
  1241. package/fesm2020/acorex-components-toast.mjs +0 -222
  1242. package/fesm2020/acorex-components-toast.mjs.map +0 -1
  1243. package/fesm2020/acorex-components-tooltip.mjs +0 -200
  1244. package/fesm2020/acorex-components-tooltip.mjs.map +0 -1
  1245. package/fesm2020/acorex-components-tree-view.mjs +0 -133
  1246. package/fesm2020/acorex-components-tree-view.mjs.map +0 -1
  1247. package/fesm2020/acorex-components-uploader.mjs +0 -123
  1248. package/fesm2020/acorex-components-uploader.mjs.map +0 -1
  1249. package/fesm2020/acorex-components.mjs +0 -12
  1250. package/fesm2020/acorex-components.mjs.map +0 -1
  1251. /package/{fesm2015 → fesm2022}/acorex-components.mjs.map +0 -0
@@ -1,1265 +0,0 @@
1
- import { __classPrivateFieldSet, __classPrivateFieldGet } from 'tslib';
2
- import * as i0 from '@angular/core';
3
- import { Injectable, Inject, EventEmitter } from '@angular/core';
4
- import _ from 'lodash';
5
- import { unionBy, flatMapDeep } from 'lodash-es';
6
- import { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
7
- import { AXObjectUtil } from '@acorex/core/utils';
8
-
9
- var _AXBaseComponent_rtl, _AXBaseComponent_elementRef;
10
- class AXBaseComponent {
11
- /**
12
- * @ignore
13
- */
14
- constructor(...args) {
15
- this.id = `AX${Math.round(Math.random() * Math.pow(10, 10))}`;
16
- /**
17
- * A token that specifies the layout direction of component.
18
- */
19
- //rtl: boolean;
20
- _AXBaseComponent_rtl.set(this, void 0);
21
- _AXBaseComponent_elementRef.set(this, void 0);
22
- __classPrivateFieldSet(this, _AXBaseComponent_elementRef, args[0], "f");
23
- this._cdr = args[1];
24
- }
25
- get rtl() {
26
- if (__classPrivateFieldGet(this, _AXBaseComponent_rtl, "f"))
27
- return __classPrivateFieldGet(this, _AXBaseComponent_rtl, "f");
28
- else
29
- return this._getHostElement().classList.contains('ax-rtl') ||
30
- window
31
- .getComputedStyle(this._getHostElement(), null)
32
- .getPropertyValue('direction') === 'rtl';
33
- }
34
- set rtl(value) {
35
- __classPrivateFieldSet(this, _AXBaseComponent_rtl, value, "f");
36
- }
37
- ngOnInit() {
38
- this._isInited = true;
39
- this._onInternalInit();
40
- }
41
- ngAfterViewInit() {
42
- this._isRendered = true;
43
- this._onInternalViewInit();
44
- }
45
- ngOnDestroy() {
46
- this._onInternalDestroy();
47
- }
48
- _getHostElement() {
49
- return __classPrivateFieldGet(this, _AXBaseComponent_elementRef, "f").nativeElement;
50
- }
51
- _getInnerElement() {
52
- return this._getHostElement().firstElementChild;
53
- }
54
- _onInternalInit() {
55
- this._getHostElement().__axContext__ = this;
56
- this._applyRtl();
57
- this.onInit();
58
- }
59
- _onInternalViewInit() {
60
- this.onViewInit();
61
- }
62
- _onInternalDestroy() {
63
- this.onDestroy();
64
- }
65
- onInit() { }
66
- onViewInit() { }
67
- onDestroy() { }
68
- _applyRtl() {
69
- if (this.rtl) {
70
- this._getHostElement().classList.add('ax-rtl');
71
- }
72
- }
73
- _onOptionChanging(option) {
74
- return option === null || option === void 0 ? void 0 : option.value;
75
- }
76
- _onOptionChanged(option) { }
77
- _setOption(option) {
78
- const oldValue = this[option.name];
79
- const newValue = this._onOptionChanging({
80
- name: option.name,
81
- value: option.value,
82
- });
83
- //TODO : check real changes
84
- if (option.beforeCallback)
85
- option.beforeCallback(oldValue, newValue);
86
- if (oldValue != newValue) {
87
- this[`_${option.name}`] = option.value;
88
- this._onOptionChanged({ name: option.name, newValue, oldValue });
89
- const emitter = this[`${option.name}Change`];
90
- if (emitter)
91
- emitter.emit(newValue);
92
- }
93
- if (option.afterCallback)
94
- option.afterCallback(oldValue, newValue);
95
- }
96
- }
97
- _AXBaseComponent_rtl = new WeakMap(), _AXBaseComponent_elementRef = new WeakMap();
98
- AXBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXBaseComponent, deps: [{ token: Array }], target: i0.ɵɵFactoryTarget.Injectable });
99
- AXBaseComponent.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXBaseComponent });
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: AXBaseComponent, decorators: [{
101
- type: Injectable
102
- }], ctorParameters: function () {
103
- return [{ type: undefined, decorators: [{
104
- type: Inject,
105
- args: [Array]
106
- }] }];
107
- } });
108
- function _BaseComponenetMixin(Base) {
109
- return class extends Base {
110
- constructor(...args) {
111
- super(...args);
112
- }
113
- };
114
- }
115
- const BASE_INPUTS = ['rtl'];
116
- const BASE_OUTPUT = [];
117
-
118
- function _BaseMenuComponentMixin(Base) {
119
- var _isLoading, _loadedItems, _items, _a;
120
- return _a = class extends Base {
121
- constructor(...args) {
122
- super(...args);
123
- this.textField = 'text';
124
- this.valueField = 'id';
125
- _isLoading.set(this, false);
126
- _loadedItems.set(this, []);
127
- this.disableField = 'disabled';
128
- this.iconField = 'icon';
129
- this.openMode = 'click';
130
- this.displayMode = 'sidemenu';
131
- this.dividerField = 'divider';
132
- this.onMenuItemClick = new EventEmitter();
133
- _items.set(this, []);
134
- }
135
- get items() {
136
- return __classPrivateFieldGet(this, _items, "f");
137
- }
138
- set items(v) {
139
- if (Array.isArray(v)) {
140
- __classPrivateFieldSet(this, _items, v, "f");
141
- }
142
- else if (typeof v === 'function') {
143
- __classPrivateFieldSet(this, _items, v, "f");
144
- }
145
- else {
146
- __classPrivateFieldSet(this, _items, [], "f");
147
- }
148
- }
149
- get displayItems() {
150
- if (Array.isArray(this.items)) {
151
- return __classPrivateFieldGet(this, _items, "f") || [];
152
- }
153
- else if (typeof __classPrivateFieldGet(this, _items, "f") == 'function') {
154
- return __classPrivateFieldGet(this, _loadedItems, "f") || [];
155
- }
156
- return [];
157
- }
158
- get isLoading() {
159
- return __classPrivateFieldGet(this, _isLoading, "f");
160
- }
161
- _formatData(v) {
162
- return _.unionBy(v.map((o, i) => {
163
- if (typeof o == 'object')
164
- return o;
165
- else {
166
- const no = {};
167
- no[this.valueField] = o;
168
- no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
169
- return no;
170
- }
171
- }), this.valueField);
172
- }
173
- _findNode(parentId, _children, source) {
174
- if (source.length > 0) {
175
- source.forEach(element => {
176
- if (element[this.valueField] == parentId) {
177
- element.children = _children;
178
- }
179
- else {
180
- if (element === null || element === void 0 ? void 0 : element.children)
181
- this._findNode(parentId, _children, element.children);
182
- }
183
- });
184
- }
185
- }
186
- _fetchData(parentId, searchText) {
187
- return new Promise(resolve => {
188
- if (__classPrivateFieldGet(this, _isLoading, "f")) {
189
- return;
190
- }
191
- if (__classPrivateFieldGet(this, _items, "f")) {
192
- __classPrivateFieldSet(this, _isLoading, true, "f");
193
- __classPrivateFieldGet(this, _items, "f").call(this, {
194
- parentId: parentId,
195
- searchQuery: searchText,
196
- })
197
- .then(c => {
198
- if (Array.isArray(c)) {
199
- if (parentId) {
200
- resolve(this._findNode(parentId, c, this.displayItems));
201
- }
202
- else {
203
- resolve((__classPrivateFieldSet(this, _loadedItems, c, "f")));
204
- }
205
- }
206
- this._cdr.markForCheck();
207
- })
208
- .finally(() => {
209
- __classPrivateFieldSet(this, _isLoading, false, "f");
210
- });
211
- }
212
- });
213
- }
214
- _onInternalInit() {
215
- if (typeof __classPrivateFieldGet(this, _items, "f") == 'function') {
216
- this._fetchData();
217
- }
218
- super._onInternalInit();
219
- }
220
- _getItemDisplayTextTemplte(item) {
221
- if (item)
222
- return Array.isArray(this.textField) ? this.textField.map(c => item[c]).join(',') : item[this.textField];
223
- else
224
- return 'Loading...';
225
- }
226
- refresh() {
227
- this._fetchData();
228
- }
229
- },
230
- _isLoading = new WeakMap(),
231
- _loadedItems = new WeakMap(),
232
- _items = new WeakMap(),
233
- _a;
234
- }
235
- const BASEMENU_INPUTS = [
236
- 'textField',
237
- 'valueField',
238
- 'items',
239
- 'parentId',
240
- 'iconField',
241
- 'tooltip',
242
- 'opened',
243
- 'active',
244
- 'visibleField',
245
- 'disableField',
246
- 'hasChildField',
247
- 'openMode',
248
- 'displayMode',
249
- 'dividerField',
250
- ];
251
- const BASEMENU_OUTPUT = ['onMenuItemClick'];
252
-
253
- function _ButtonComponentMixin(Base) {
254
- return class extends Base {
255
- constructor(...args) {
256
- super(...args);
257
- this.toggleableChange = new EventEmitter();
258
- this._toggleable = false;
259
- this.selectedChange = new EventEmitter();
260
- this._selected = false;
261
- }
262
- /**
263
- * Defines the primary text to show inside the button.
264
- */
265
- get text() {
266
- return this._text;
267
- }
268
- set text(v) {
269
- this._setOption({
270
- name: 'text',
271
- value: v,
272
- afterCallback: () => {
273
- this._cdr.markForCheck();
274
- }
275
- });
276
- }
277
- /**
278
- * Provides visual styling that indicates if the Button is active
279
- */
280
- get toggleable() {
281
- return this._toggleable;
282
- }
283
- set toggleable(value) {
284
- this._setOption({
285
- name: 'toggleable',
286
- value
287
- });
288
- }
289
- /**
290
- * Indicates if the Button is selected or not
291
- */
292
- get selected() {
293
- return this._selected;
294
- }
295
- set selected(value) {
296
- this._setOption({
297
- name: 'selected',
298
- value,
299
- afterCallback: () => {
300
- this._cdr.markForCheck();
301
- }
302
- });
303
- }
304
- get _classes() {
305
- const cssClasses = {
306
- 'ax-button-icon': !this.text,
307
- 'ax-state-disabled': this["disabled"],
308
- 'ax-state-selected': this.selected
309
- };
310
- cssClasses[`ax-${this['color'] || 'default'}${this['look'] ? '-' + this['look'] : '-default'}`] = true;
311
- return cssClasses;
312
- }
313
- };
314
- }
315
- const BUTTON_INPUTS = [
316
- 'text',
317
- 'toggleable',
318
- 'selected',
319
- ];
320
- const BUTTON_OUTPUT = ['onBlur', 'onFocus', 'onClick', 'selectedChange', 'toggleableChange'];
321
-
322
- function _ClickableComponenetMixin(Base) {
323
- return class extends Base {
324
- /**
325
- * @ignore
326
- */
327
- constructor(...args) {
328
- super(...args);
329
- /**
330
- * Fires each time the user clicks the button.
331
- * @event
332
- */
333
- this.onClick = new EventEmitter();
334
- }
335
- _emitOnClickEvent(e) {
336
- this.onClick.emit({
337
- component: this,
338
- htmlElement: this._getHostElement(),
339
- nativeEvent: e
340
- });
341
- }
342
- };
343
- }
344
-
345
- function _ColorLookComponentMixin(Base) {
346
- return class extends Base {
347
- constructor(...args) {
348
- super(...args);
349
- this.colorChange = new EventEmitter();
350
- this._color = 'primary';
351
- this.lookChange = new EventEmitter();
352
- this._look = 'default';
353
- }
354
- /**
355
- * Predefined color schemes
356
- */
357
- get color() {
358
- return this._color;
359
- }
360
- set color(value) {
361
- this._setOption({
362
- name: 'color',
363
- value,
364
- afterCallback: () => {
365
- this._cdr.markForCheck();
366
- }
367
- });
368
- }
369
- /**
370
- * Predefined look schemes
371
- */
372
- get look() {
373
- return this._look;
374
- }
375
- set look(value) {
376
- this._setOption({
377
- name: 'look',
378
- value,
379
- afterCallback: () => {
380
- this._cdr.markForCheck();
381
- }
382
- });
383
- }
384
- };
385
- }
386
- const COLOR_LOOK_INPUTS = [
387
- 'color',
388
- 'look',
389
- ];
390
- const COLOR_LOOK_OUTPUT = ['lookChange', 'colorChange'];
391
-
392
- function _DatalistComponenetMixin(Base) {
393
- var _instances, _currentPage, _isLoading, _loadedItems, _flatItems, _totalItems, _isLazy, _items, _generateFlatItems, _a;
394
- return _a = class extends Base {
395
- constructor(...args) {
396
- super(...args);
397
- _instances.add(this);
398
- this.valueField = 'id';
399
- this.textField = 'text';
400
- this.pageSize = 10;
401
- _currentPage.set(this, 0);
402
- _isLoading.set(this, false);
403
- _loadedItems.set(this, []);
404
- _flatItems.set(this, []);
405
- _totalItems.set(this, 0);
406
- _isLazy.set(this, false);
407
- _items.set(this, []);
408
- }
409
- get totalCount() {
410
- return __classPrivateFieldGet(this, _totalItems, "f");
411
- }
412
- get isLazy() {
413
- return __classPrivateFieldGet(this, _isLazy, "f");
414
- }
415
- get loadedCount() {
416
- var _b;
417
- return ((_b = __classPrivateFieldGet(this, _loadedItems, "f")) === null || _b === void 0 ? void 0 : _b.length) || 0;
418
- }
419
- get items() {
420
- return __classPrivateFieldGet(this, _items, "f");
421
- }
422
- set items(v) {
423
- if (Array.isArray(v)) {
424
- __classPrivateFieldSet(this, _items, this._formatData(v), "f");
425
- this._onDataLoaded();
426
- __classPrivateFieldGet(this, _instances, "m", _generateFlatItems).call(this);
427
- }
428
- else if (typeof v === 'function') {
429
- __classPrivateFieldSet(this, _isLazy, true, "f");
430
- __classPrivateFieldSet(this, _items, v, "f");
431
- }
432
- else {
433
- __classPrivateFieldSet(this, _items, [], "f");
434
- this._onDataLoaded();
435
- __classPrivateFieldGet(this, _instances, "m", _generateFlatItems).call(this);
436
- }
437
- }
438
- get displayItems() {
439
- if (Array.isArray(this.items)) {
440
- return (__classPrivateFieldGet(this, _items, "f") || []);
441
- }
442
- else if (typeof __classPrivateFieldGet(this, _items, "f") == 'function') {
443
- return __classPrivateFieldGet(this, _loadedItems, "f") || [];
444
- }
445
- return [];
446
- }
447
- get flatItems() {
448
- return __classPrivateFieldGet(this, _flatItems, "f") || [];
449
- }
450
- get isLoading() {
451
- return __classPrivateFieldGet(this, _isLoading, "f");
452
- }
453
- _formatData(v) {
454
- return unionBy(v.map((o, i) => {
455
- if (typeof o == 'object')
456
- return o;
457
- else {
458
- const no = {};
459
- no[this.valueField] = o;
460
- no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
461
- return no;
462
- }
463
- }), this.valueField);
464
- // return v.map((o, i) => {
465
- // if (typeof o == 'object')
466
- // return o
467
- // else {
468
- // const no: any = {};
469
- // no[this.valueField] = o;
470
- // no[Array.isArray(this.textField) ? this.textField[0] : this.textField] = o;
471
- // return no;
472
- // }
473
- // });
474
- }
475
- _fetchData(opts) {
476
- const skip = __classPrivateFieldGet(this, _currentPage, "f") * this.pageSize, take = this.pageSize;
477
- if ((this.loadedCount >= this.totalCount && this.totalCount != 0) ||
478
- __classPrivateFieldGet(this, _isLoading, "f") ||
479
- !__classPrivateFieldGet(this, _isLazy, "f") ||
480
- skip > this.totalCount) {
481
- return;
482
- }
483
- if (__classPrivateFieldGet(this, _items, "f")) {
484
- __classPrivateFieldSet(this, _isLoading, true, "f");
485
- const fetchFn = __classPrivateFieldGet(this, _items, "f");
486
- fetchFn({ skip, take, searchQuery: opts === null || opts === void 0 ? void 0 : opts.searchQuery })
487
- .then((c) => {
488
- var _b;
489
- var _a;
490
- if (Array.isArray(c)) {
491
- __classPrivateFieldSet(this, _loadedItems, this._formatData(c), "f");
492
- __classPrivateFieldSet(this, _totalItems, c.length, "f");
493
- }
494
- else {
495
- __classPrivateFieldSet(this, _totalItems, c.total || ((_b = c.items) === null || _b === void 0 ? void 0 : _b.length) || 0, "f");
496
- __classPrivateFieldSet(this, _loadedItems, [
497
- ...new Set(__classPrivateFieldGet(this, _loadedItems, "f").concat(this._formatData(c.items))),
498
- ], "f");
499
- __classPrivateFieldSet(this, _currentPage, (_a = __classPrivateFieldGet(this, _currentPage, "f"), _a++, _a), "f");
500
- }
501
- this._cdr.markForCheck();
502
- })
503
- .finally(() => {
504
- __classPrivateFieldSet(this, _isLoading, false, "f");
505
- this._onDataLoaded();
506
- __classPrivateFieldGet(this, _instances, "m", _generateFlatItems).call(this);
507
- });
508
- }
509
- }
510
- _onDataLoaded() { }
511
- _getItemDisplayTextTemplte(item) {
512
- if (item)
513
- return Array.isArray(this.textField)
514
- ? this.textField.map((c) => item[c]).join(',')
515
- : item[this.textField];
516
- else
517
- return 'Loading...';
518
- }
519
- _trackByFunction(item) {
520
- if (!item)
521
- return null;
522
- return item[this.valueField];
523
- }
524
- refresh() {
525
- this.empty();
526
- this._fetchData();
527
- }
528
- empty() {
529
- __classPrivateFieldSet(this, _isLoading, false, "f");
530
- __classPrivateFieldSet(this, _currentPage, 0, "f");
531
- if (__classPrivateFieldGet(this, _loadedItems, "f")) {
532
- __classPrivateFieldGet(this, _loadedItems, "f").length = 0;
533
- }
534
- }
535
- },
536
- _currentPage = new WeakMap(),
537
- _isLoading = new WeakMap(),
538
- _loadedItems = new WeakMap(),
539
- _flatItems = new WeakMap(),
540
- _totalItems = new WeakMap(),
541
- _isLazy = new WeakMap(),
542
- _items = new WeakMap(),
543
- _instances = new WeakSet(),
544
- _generateFlatItems = function _generateFlatItems() {
545
- const flattenFn = (item) => {
546
- return [item, flatMapDeep(item.children, flattenFn)];
547
- };
548
- __classPrivateFieldSet(this, _flatItems, flatMapDeep(this.displayItems, flattenFn), "f");
549
- },
550
- _a;
551
- }
552
- const DATALIST_INPUTS = ['pageSize', 'valueField', 'textField', 'items'];
553
- const DATALIST_OUTPUT = [];
554
-
555
- ;
556
-
557
- function _DropdownComponenetMixin(Base) {
558
- class Mixin extends Base {
559
- constructor(...args) {
560
- super(...args);
561
- this.readonly = false;
562
- this.onOpened = new EventEmitter();
563
- this.onClosed = new EventEmitter();
564
- this.position = [];
565
- }
566
- _emitOnOpenedEvent() {
567
- this.onOpened.emit({
568
- component: this,
569
- htmlElement: this._getHostElement()
570
- });
571
- }
572
- _emitOnClosedEvent() {
573
- this.onClosed.emit({
574
- component: this,
575
- htmlElement: this._getHostElement()
576
- });
577
- }
578
- onInit() {
579
- super.onInit();
580
- this.popover.onOpened.subscribe(this.onOpened);
581
- this.popover.onClosed.subscribe(this.onClosed);
582
- }
583
- onViewInit() {
584
- // wait for documentElement
585
- setTimeout(() => {
586
- if (this.position.length == 0) {
587
- const offset = Number(getComputedStyle(document.documentElement).getPropertyValue('--ax-base-size').replace('px', ''));
588
- const list = [
589
- {
590
- originX: 'start',
591
- originY: 'bottom',
592
- overlayX: 'start',
593
- overlayY: 'top',
594
- offsetY: offset
595
- },
596
- {
597
- originX: 'start',
598
- originY: 'top',
599
- overlayX: 'start',
600
- overlayY: 'bottom',
601
- offsetY: -offset
602
- },
603
- {
604
- originX: 'end',
605
- originY: 'bottom',
606
- overlayX: 'end',
607
- overlayY: 'top',
608
- offsetY: offset
609
- },
610
- {
611
- originX: 'end',
612
- originY: 'top',
613
- overlayX: 'end',
614
- overlayY: 'bottom',
615
- offsetY: -offset
616
- },
617
- ];
618
- this.position.push(...list);
619
- }
620
- }, 500);
621
- }
622
- toggle() {
623
- if (this['disabled'] !== true) {
624
- this.popover.toggle();
625
- }
626
- }
627
- close() {
628
- if (!this.isOpen || this['disabled']) {
629
- return;
630
- }
631
- this.popover.close();
632
- this === null || this === void 0 ? void 0 : this.focus();
633
- }
634
- open() {
635
- if (this.isOpen || this['disabled']) {
636
- return;
637
- }
638
- this.popover.open();
639
- this.popover.focus();
640
- }
641
- get isOpen() {
642
- var _a;
643
- return (_a = this.popover) === null || _a === void 0 ? void 0 : _a.isOpen;
644
- }
645
- }
646
- return Mixin;
647
- }
648
- const DROPDOWN_INPUTS = [
649
- 'isOpen',
650
- 'fitParent',
651
- 'dropdownWidth',
652
- 'position'
653
- ];
654
- const DROPDOWN_OUTPUT = ['onOpened', 'onClosed'];
655
-
656
- function _InteractiveComponenetMixin(Base) {
657
- var _Mixin_disabled, _Mixin_tabIndex;
658
- class Mixin extends Base {
659
- /**
660
- * @ignore
661
- */
662
- constructor(...args) {
663
- super(...args);
664
- _Mixin_disabled.set(this, false);
665
- _Mixin_tabIndex.set(this, 0);
666
- /**
667
- * Fires each time the component gets focused.
668
- * @event
669
- */
670
- this.onFocus = new EventEmitter();
671
- /**
672
- * Fires each time the component gets blurred.
673
- * @event
674
- */
675
- this.onBlur = new EventEmitter();
676
- }
677
- /**
678
- * If set to true, it disables the component.
679
- */
680
- get disabled() { return __classPrivateFieldGet(this, _Mixin_disabled, "f"); }
681
- set disabled(value) {
682
- value = this._onOptionChanging({ name: 'disabled', value: value });
683
- if (value != this.disabled) {
684
- const oldValue = this.disabled;
685
- __classPrivateFieldSet(this, _Mixin_disabled, coerceBooleanProperty(value), "f");
686
- this._onOptionChanged({ name: 'disabled', oldValue, newValue: value });
687
- this._cdr.markForCheck();
688
- }
689
- }
690
- /**
691
- * Specifies the tabindex of the component.
692
- */
693
- get tabIndex() { return this.disabled ? -1 : __classPrivateFieldGet(this, _Mixin_tabIndex, "f"); }
694
- set tabIndex(value) {
695
- __classPrivateFieldSet(this, _Mixin_tabIndex, value != null ? coerceNumberProperty(value) : 0, "f");
696
- }
697
- _emitOnFocusEvent(e) {
698
- this.onFocus.emit({
699
- component: this,
700
- htmlElement: this._getHostElement(),
701
- nativeEvent: e
702
- });
703
- }
704
- _emitOnBlurEvent(e) {
705
- this.onBlur.emit({
706
- component: this,
707
- htmlElement: this._getHostElement(),
708
- nativeEvent: e
709
- });
710
- }
711
- /**
712
- * Focuses the component.
713
- */
714
- focus() {
715
- const list = ['button', 'input', '[href]', 'select', 'textarea', '[tabindex]'].map(c => c + ':not([tabindex="-1"])');
716
- const focusable = this._getHostElement().querySelector(list.join(', '));
717
- if (focusable) {
718
- focusable.focus();
719
- }
720
- }
721
- /**
722
- * Check component is focused or has any focused element.
723
- */
724
- hasFocus() {
725
- return this._getHostElement().matches(':focus-within') || this._getHostElement().matches(':focus');
726
- }
727
- }
728
- _Mixin_disabled = new WeakMap(), _Mixin_tabIndex = new WeakMap();
729
- return Mixin;
730
- }
731
- const INTERACTIVE_INPUTS = [
732
- 'disabled',
733
- 'tabIndex',
734
- ];
735
- const INTERACTIVE_OUTPUT = ['onBlur', 'onFocus'];
736
-
737
- function _LoadingComponenetMixin(Base) {
738
- return class extends Base {
739
- constructor(...args) {
740
- super(...args.slice(0, 2));
741
- /**
742
- * Defines a CSS class—or multiple classes separated by spaces— which are applied to a span element inside the Button. Allows the usage of custom icons.
743
- */
744
- this.loading = false;
745
- }
746
- _onInternalInit() {
747
- // if (!this.size) {
748
- // this.size = AXConfig.get('layout.size', 'sm');
749
- // }
750
- super._onInternalInit();
751
- }
752
- };
753
- }
754
-
755
- function _SelectionComponenetMixin(Base) {
756
- return class extends Base {
757
- constructor(...args) {
758
- super(...args);
759
- this.valueField = 'id';
760
- this.textField = 'text';
761
- this.disabledField = 'disabled';
762
- this.multiple = false;
763
- this.selectionMode = 'value';
764
- this.valueChange = new EventEmitter();
765
- this.onValueChanged = new EventEmitter();
766
- }
767
- /**
768
- * Defines the primary text to show inside the button.
769
- */
770
- get items() {
771
- return [];
772
- }
773
- get displayItems() {
774
- return [];
775
- }
776
- get flatItems() {
777
- return [];
778
- }
779
- _onInternalInit() {
780
- super._onInternalInit();
781
- }
782
- get value() {
783
- return this._value;
784
- }
785
- set value(v) {
786
- v = this._internalSetValue(v);
787
- if (v !== this._value) {
788
- const oldValue = AXObjectUtil.deepJSONClone(this._value);
789
- if (this.multiple) {
790
- this._value = Array.isArray(v) ? v : (v ? [v] : []);
791
- }
792
- else {
793
- this._value = Array.isArray(v) ? v[0] : v;
794
- }
795
- this._renderSelection();
796
- this.valueChange.emit(this._value);
797
- this.onValueChanged.emit({
798
- component: this,
799
- htmlElement: this._getHostElement(),
800
- isUserInteraction: false,
801
- oldValue,
802
- value: this._value,
803
- selectedKeys: this.selectedItems.map(c => c[this.valueField]),
804
- selectedItems: this.selectedItems.slice()
805
- });
806
- if (v == null || v == undefined || v == "") {
807
- this._setState('clear');
808
- }
809
- else {
810
- if (this._isInited) {
811
- this.validate();
812
- }
813
- }
814
- }
815
- }
816
- get selectedItems() {
817
- return this._selectedItems || [];
818
- }
819
- _renderSelection() {
820
- const func = () => {
821
- if (this.value == null || this.value == undefined) {
822
- return [];
823
- }
824
- const items = this.flatItems;
825
- if (items.length > 0) {
826
- return items.filter(i => {
827
- if (Array.isArray(this.value)) {
828
- return this.value.some(ii => {
829
- if (typeof ii === 'object') {
830
- return i[this.valueField] === ii[this.valueField];
831
- }
832
- else {
833
- return i[this.valueField] === ii;
834
- }
835
- });
836
- }
837
- else {
838
- if (typeof this.value === 'object') {
839
- return i[this.valueField] === this.value[this.valueField];
840
- }
841
- else {
842
- return i[this.valueField] === this.value;
843
- }
844
- }
845
- });
846
- }
847
- if (Array.isArray(this.value)) {
848
- return this.value.map(ii => {
849
- if (typeof ii === 'object') {
850
- return ii;
851
- }
852
- else {
853
- const fake = {};
854
- fake[this.valueField] = this.value;
855
- fake[this.textField] = this.value;
856
- return fake;
857
- }
858
- });
859
- }
860
- else {
861
- if (typeof this.value === 'object') {
862
- return [this.value];
863
- }
864
- else {
865
- const fake = {};
866
- fake[this.valueField] = this.value;
867
- fake[this.textField] = this.value;
868
- return [fake];
869
- }
870
- }
871
- };
872
- this._selectedItems = func();
873
- }
874
- _getItemByDataMode(item) {
875
- return this.selectionMode === 'item' ? item : item[this.valueField];
876
- }
877
- _getItemValue(item) {
878
- return typeof item === 'object' ? item[this.valueField] : item;
879
- }
880
- unselectItems(...items) {
881
- if (!items || items.length === 0) {
882
- this.value = null;
883
- }
884
- else if (Array.isArray(this.value)) {
885
- this.value = this.value.filter(c => !items.some(d => this._getItemValue(c) === this._getItemValue(d)));
886
- }
887
- else {
888
- this.value = null;
889
- }
890
- }
891
- selectItems(...items) {
892
- debugger;
893
- if (items && items.length) {
894
- if (this.multiple) {
895
- this.value = (this.value || []).concat(items.map(c => this._getItemByDataMode(c)));
896
- }
897
- else {
898
- this.value = this._getItemByDataMode(items[0]);
899
- }
900
- }
901
- }
902
- toggleSelect(...items) {
903
- if (items && items.length) {
904
- items.forEach(item => {
905
- if (this.multiple) {
906
- this.isItemSelected(item) ? this.unselectItems(item) : this.selectItems(item);
907
- }
908
- else {
909
- this.selectItems(item);
910
- }
911
- });
912
- }
913
- }
914
- isItemSelected(item) {
915
- return this.selectedItems.some(c => c[this.valueField] === item[this.valueField]);
916
- }
917
- isItemDisabled(item) {
918
- return coerceBooleanProperty(item[this.disabledField]) === true || (this.disabledCallback ? this.disabledCallback({ item, index: -1 }) : false);
919
- }
920
- };
921
- }
922
- const SELECTION_INPUTS = [
923
- 'valueField',
924
- 'textField',
925
- 'disabledField',
926
- 'disabledCallback',
927
- 'multiple',
928
- 'selectionMode'
929
- ];
930
- const SELECTION_OUTPUT = ['onValueChanged', 'valueChanged'];
931
-
932
- function _SizableComponenetMixin(Base) {
933
- return class extends Base {
934
- /**
935
- * @ignore
936
- */
937
- constructor(...args) {
938
- super(...args.slice(0, 2));
939
- }
940
- _onInternalInit() {
941
- super._onInternalInit();
942
- }
943
- };
944
- }
945
- const SIZABLE_INPUTS = [
946
- 'size',
947
- ];
948
- const SIZABLE_OUTPUT = [];
949
-
950
- function _TextboxComponenetMixin(Base) {
951
- return class extends Base {
952
- /**
953
- * @ignore
954
- */
955
- constructor(...args) {
956
- super(...args.slice(0, 2));
957
- /**
958
- * A string value that specifies the type of text box.
959
- */
960
- this.type = 'text';
961
- /**
962
- * A string value that specifies the placeholder of text box.
963
- */
964
- this.placeholder = '';
965
- /**
966
- * Fires each time the user press a key.
967
- * @event
968
- */
969
- this.onKeyDown = new EventEmitter();
970
- /**
971
- * Fires each time the user press a key.
972
- * @event
973
- */
974
- this.onKeyUp = new EventEmitter();
975
- /**
976
- * Fires each time the user press a key.
977
- * @event
978
- */
979
- this.onKeyPress = new EventEmitter();
980
- }
981
- _emitOnKeydownEvent(e) {
982
- this.onKeyDown.emit({
983
- component: this,
984
- nativeEvent: e
985
- });
986
- this._setUserInteraction();
987
- }
988
- _emitOnKeyupEvent(e) {
989
- this.onKeyUp.emit({
990
- component: this,
991
- nativeEvent: e
992
- });
993
- this._setUserInteraction();
994
- }
995
- _emitOnKeypressEvent(e) {
996
- this.onKeyPress.emit({
997
- component: this,
998
- nativeEvent: e
999
- });
1000
- this._setUserInteraction();
1001
- }
1002
- };
1003
- }
1004
- const TEXTBOX_INPUTS = ['placeholder', 'maxLength', 'allowNull', 'type', 'autoComplete', 'readonly', 'value', 'name'];
1005
- const TEXTBOX_OUTPUT = ['valueChange', 'onValueChanged'];
1006
-
1007
- function _ValueComponenetMixin(Base) {
1008
- var _readonly, _allowNull, _name, _isUserInteraction, _value, _state, _a;
1009
- return _a = class extends Base {
1010
- /**
1011
- * @ignore
1012
- */
1013
- constructor(...args) {
1014
- super(...args);
1015
- /**
1016
- * Fires each time the user press a key.
1017
- * @event
1018
- */
1019
- this.onValueChanged = new EventEmitter();
1020
- this.valueChange = new EventEmitter();
1021
- this.stateChange = new EventEmitter();
1022
- _readonly.set(this, false);
1023
- _allowNull.set(this, true);
1024
- _name.set(this, void 0);
1025
- _isUserInteraction.set(this, false);
1026
- _value.set(this, void 0);
1027
- _state.set(this, 'clear');
1028
- }
1029
- /**
1030
- * If set to true, user cannot change the value of component.
1031
- */
1032
- get readonly() {
1033
- return __classPrivateFieldGet(this, _readonly, "f");
1034
- }
1035
- set readonly(value) {
1036
- __classPrivateFieldSet(this, _readonly, coerceBooleanProperty(value), "f");
1037
- }
1038
- get allowNull() {
1039
- return __classPrivateFieldGet(this, _allowNull, "f");
1040
- }
1041
- set allowNull(value) {
1042
- __classPrivateFieldSet(this, _allowNull, coerceBooleanProperty(value), "f");
1043
- }
1044
- get name() {
1045
- return __classPrivateFieldGet(this, _name, "f");
1046
- }
1047
- set name(value) {
1048
- __classPrivateFieldSet(this, _name, value, "f");
1049
- }
1050
- get isUserInteraction() {
1051
- return __classPrivateFieldGet(this, _isUserInteraction, "f");
1052
- }
1053
- get value() {
1054
- return this._internalGetValue();
1055
- }
1056
- set value(v) {
1057
- v = this._internalSetValue(v);
1058
- //if (!this._isInited ) {
1059
- const old = AXObjectUtil.deepJSONClone(this.value);
1060
- // TODO: check real equality
1061
- if (v != old) {
1062
- __classPrivateFieldSet(this, _value, v, "f");
1063
- this._emitOnValueChangedEvent(old, this.value);
1064
- this._cdr.markForCheck();
1065
- if (v == null || v == undefined || v == '' || (Array.isArray(v) && v.length == 0)) {
1066
- this._setState('clear');
1067
- }
1068
- // else {
1069
- // if (this._isInited) {
1070
- // this.validate();
1071
- // }
1072
- // }
1073
- }
1074
- __classPrivateFieldSet(this, _isUserInteraction, false, "f");
1075
- //}
1076
- }
1077
- get state() {
1078
- return __classPrivateFieldGet(this, _state, "f");
1079
- }
1080
- set state(value) {
1081
- this._setState(value);
1082
- this.stateChange.emit(value);
1083
- }
1084
- _emitOnValueChangedEvent(oldValue, newValue) {
1085
- this.valueChange.emit(newValue);
1086
- this.onValueChanged.emit({
1087
- component: this,
1088
- value: newValue,
1089
- oldValue: oldValue,
1090
- name: this.name,
1091
- isUserInteraction: this.isUserInteraction,
1092
- });
1093
- this._onValueChanged(oldValue, __classPrivateFieldGet(this, _value, "f"));
1094
- __classPrivateFieldSet(this, _isUserInteraction, false, "f");
1095
- }
1096
- _internalSetValue(value) {
1097
- return this._setValue(value);
1098
- }
1099
- _internalGetValue() {
1100
- return this._getValue(__classPrivateFieldGet(this, _value, "f"));
1101
- }
1102
- _setValue(value) {
1103
- return value;
1104
- }
1105
- _getValue(value) {
1106
- return value;
1107
- }
1108
- _setUserInteraction() {
1109
- __classPrivateFieldSet(this, _isUserInteraction, true, "f");
1110
- }
1111
- _onValueChanged(oldValue, newValue) { }
1112
- _onInternalInit() {
1113
- this._getHostElement().setAttribute('ax-form-input', 'true');
1114
- super._onInternalInit();
1115
- }
1116
- _onInternalViewInit() {
1117
- this._checkRequired();
1118
- super._onInternalViewInit();
1119
- }
1120
- _onInternalDestroy() {
1121
- super.onDestroy();
1122
- }
1123
- clear() {
1124
- this.value = null;
1125
- }
1126
- _checkRequired() {
1127
- var _b;
1128
- debugger;
1129
- const isRequired = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).some(c => c.__axContext__.enabled && c.__axContext__.rule == 'required');
1130
- //
1131
- if (isRequired) {
1132
- const container = this._getHostElement().classList.contains('ax-editor-container')
1133
- ? this._getHostElement()
1134
- : this._getHostElement().querySelector('.ax-editor-container');
1135
- const formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
1136
- const label = (_b = formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label')) === null || _b === void 0 ? void 0 : _b.__axContext__;
1137
- if (label)
1138
- label.required = true;
1139
- }
1140
- }
1141
- validate() {
1142
- const rules = Array.from(this._getHostElement().querySelectorAll('ax-validation-rule')).filter(c => c.__axContext__.enabled);
1143
- //
1144
- if (!rules || rules.length === 0) {
1145
- this._setState('clear');
1146
- return Promise.resolve({
1147
- result: true,
1148
- value: this.value,
1149
- name: this.name,
1150
- id: this.id,
1151
- });
1152
- }
1153
- return new Promise(resolve => {
1154
- Promise.all(rules
1155
- .filter(c => typeof (c === null || c === void 0 ? void 0 : c.validate) === 'function')
1156
- .map(c => {
1157
- return c.validate(this.value);
1158
- })).then(d => {
1159
- const error = d.find(c => c.result === false);
1160
- if (error) {
1161
- this._setState('error', error.message);
1162
- resolve({
1163
- result: false,
1164
- value: this.value,
1165
- message: error.message,
1166
- name: this.name,
1167
- id: this.id,
1168
- });
1169
- }
1170
- else {
1171
- this._setState('success');
1172
- resolve({
1173
- result: true,
1174
- value: this.value,
1175
- name: this.name,
1176
- id: this.id,
1177
- });
1178
- }
1179
- });
1180
- });
1181
- }
1182
- _setState(state, ...args) {
1183
- const container = this._getHostElement().classList.contains('ax-editor-container')
1184
- ? this._getHostElement()
1185
- : this._getHostElement().querySelector('.ax-editor-container');
1186
- const formField = container === null || container === void 0 ? void 0 : container.closest('.ax-form-field');
1187
- const label = (formField === null || formField === void 0 ? void 0 : formField.querySelector('ax-label')) || (formField === null || formField === void 0 ? void 0 : formField.querySelector('label'));
1188
- let target = container || this._getInnerElement();
1189
- if (target === null || target === void 0 ? void 0 : target.querySelector('.ax-error-container')) {
1190
- target = target.querySelector('.ax-error-container');
1191
- }
1192
- const parent = target === null || target === void 0 ? void 0 : target.parentElement;
1193
- if (!target || !parent)
1194
- return;
1195
- switch (state) {
1196
- case 'clear':
1197
- __classPrivateFieldSet(this, _state, 'clear', "f");
1198
- if (parent.querySelector('span.ax-error-message')) {
1199
- parent.removeChild(parent.querySelector('span.ax-error-message'));
1200
- }
1201
- label === null || label === void 0 ? void 0 : label.classList.remove('ax-state-error');
1202
- target.classList.remove('ax-state-error', 'ax-state-success');
1203
- break;
1204
- case 'success':
1205
- this._setState('clear');
1206
- target.classList.add('ax-state-success');
1207
- __classPrivateFieldSet(this, _state, 'success', "f");
1208
- break;
1209
- case 'error':
1210
- this._setState('clear');
1211
- if (args[0]) {
1212
- const span = document.createElement('span');
1213
- span.innerText = args[0];
1214
- span.classList.add('ax-error-message');
1215
- parent.appendChild(span);
1216
- }
1217
- label === null || label === void 0 ? void 0 : label.classList.add('ax-state-error');
1218
- target.classList.add('ax-state-error');
1219
- __classPrivateFieldSet(this, _state, 'error', "f");
1220
- break;
1221
- }
1222
- this._cdr.markForCheck();
1223
- }
1224
- },
1225
- _readonly = new WeakMap(),
1226
- _allowNull = new WeakMap(),
1227
- _name = new WeakMap(),
1228
- _isUserInteraction = new WeakMap(),
1229
- _value = new WeakMap(),
1230
- _state = new WeakMap(),
1231
- _a;
1232
- }
1233
-
1234
- const AXBaseComponentMixin = _BaseComponenetMixin(AXBaseComponent);
1235
- const AXSizableComponentMixin = _SizableComponenetMixin(_BaseComponenetMixin(AXBaseComponent));
1236
- const AXInteractiveComponenetMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(AXBaseComponent));
1237
- const AXBaseClickableMixin = _InteractiveComponenetMixin(_ClickableComponenetMixin(AXBaseComponent));
1238
- const AXBaseButtonMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ClickableComponenetMixin(_ColorLookComponentMixin(_ButtonComponentMixin(AXBaseComponent)))));
1239
- const AXBaseValueComponentMixin = _InteractiveComponenetMixin(_ValueComponenetMixin(AXBaseComponent));
1240
- const AXBaseTextBoxMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_ValueComponenetMixin(_TextboxComponenetMixin(AXBaseComponent))));
1241
- const AXBaseSelectionValueMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DatalistComponenetMixin(_SelectionComponenetMixin(_ValueComponenetMixin(AXBaseComponent)))));
1242
- const AXBaseValueDropdownMixin = _InteractiveComponenetMixin(_DropdownComponenetMixin(_DatalistComponenetMixin(_ValueComponenetMixin(AXBaseComponent))));
1243
- const AXBaseSelectionDropdownMixin = _DropdownComponenetMixin(AXBaseSelectionValueMixin);
1244
- const AXBaseDropdownMixin = _SizableComponenetMixin(_InteractiveComponenetMixin(_DropdownComponenetMixin(AXBaseComponent)));
1245
- const AXBaseMenuMixin = _BaseMenuComponentMixin(AXBaseComponent);
1246
- const AXAvatarMixin = _ColorLookComponentMixin(AXBaseComponent);
1247
-
1248
- function _PageComponenetMixin(Base) {
1249
- return class extends Base {
1250
- /**
1251
- * @ignore
1252
- */
1253
- constructor(...args) {
1254
- super(...args.slice(0, 2));
1255
- }
1256
- };
1257
- }
1258
-
1259
- /**
1260
- * Generated bundle index. Do not edit.
1261
- */
1262
-
1263
- export { AXAvatarMixin, AXBaseButtonMixin, AXBaseClickableMixin, AXBaseComponent, AXBaseComponentMixin, AXBaseDropdownMixin, AXBaseMenuMixin, AXBaseSelectionDropdownMixin, AXBaseSelectionValueMixin, AXBaseTextBoxMixin, AXBaseValueComponentMixin, AXBaseValueDropdownMixin, AXInteractiveComponenetMixin, AXSizableComponentMixin, BASEMENU_INPUTS, BASEMENU_OUTPUT, BASE_INPUTS, BASE_OUTPUT, BUTTON_INPUTS, BUTTON_OUTPUT, COLOR_LOOK_INPUTS, COLOR_LOOK_OUTPUT, DATALIST_INPUTS, DATALIST_OUTPUT, DROPDOWN_INPUTS, DROPDOWN_OUTPUT, INTERACTIVE_INPUTS, INTERACTIVE_OUTPUT, SELECTION_INPUTS, SELECTION_OUTPUT, SIZABLE_INPUTS, SIZABLE_OUTPUT, TEXTBOX_INPUTS, TEXTBOX_OUTPUT, _BaseComponenetMixin, _BaseMenuComponentMixin, _ButtonComponentMixin, _ClickableComponenetMixin, _ColorLookComponentMixin, _DatalistComponenetMixin, _DropdownComponenetMixin, _InteractiveComponenetMixin, _LoadingComponenetMixin, _PageComponenetMixin, _SelectionComponenetMixin, _SizableComponenetMixin, _TextboxComponenetMixin, _ValueComponenetMixin };
1264
- //# sourceMappingURL=acorex-components-mixin.mjs.map
1265
- //# sourceMappingURL=acorex-components-mixin.mjs.map