@acorex/components 5.7.0 → 6.0.0

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