@acorex/components 6.0.1 → 6.0.2

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