@acorex/components 6.0.1 → 6.0.7

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