@sme.up/ketchup 4.3.0-SNAPSHOT → 5.1.0-SNAPSHOT

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 (343) hide show
  1. package/README.md +107 -3
  2. package/dist/cjs/{cell-utils-dc0884a3.js → cell-utils-9b1d6563.js} +4 -4
  3. package/dist/cjs/{component-8fbc31a2.js → component-d1496215.js} +203 -174
  4. package/dist/cjs/{f-button-2ba74fb5.js → f-button-02a7cde4.js} +2 -2
  5. package/dist/cjs/{f-cell-fe60a08d.js → f-cell-4d1450a8.js} +38 -28
  6. package/dist/cjs/f-chip-a50b9f00.js +130 -0
  7. package/dist/cjs/{f-image-d3bd4e08.js → f-image-db55ac49.js} +3 -3
  8. package/dist/cjs/{index-0416afab.js → index-ab119fad.js} +23 -0
  9. package/dist/cjs/ketchup.cjs.js +3 -3
  10. package/dist/cjs/kup-accordion.cjs.entry.js +7 -7
  11. package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_27.cjs.entry.js} +4636 -4073
  12. package/dist/cjs/kup-calendar.cjs.entry.js +626 -359
  13. package/dist/cjs/kup-cell.cjs.entry.js +15 -13
  14. package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
  15. package/dist/cjs/kup-dash_2.cjs.entry.js +8 -7
  16. package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
  17. package/dist/cjs/kup-echart.cjs.entry.js +93039 -0
  18. package/dist/cjs/kup-field.cjs.entry.js +2 -2
  19. package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
  20. package/dist/cjs/kup-lazy.cjs.entry.js +22 -5
  21. package/dist/cjs/kup-magic-box.cjs.entry.js +95 -42
  22. package/dist/cjs/{kup-manager-1a2688ca.js → kup-manager-5877b2ee.js} +3392 -753
  23. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  24. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  25. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-snackbar.cjs.entry.js +5 -5
  27. package/dist/cjs/loader.cjs.js +3 -3
  28. package/dist/cjs/{tslib.es6-4360c099.js → tslib.es6-0ee02c67.js} +13 -0
  29. package/dist/cjs/utils-1b5c8c70.js +482 -0
  30. package/dist/collection/assets/calendar.js +46 -1
  31. package/dist/collection/assets/card.js +15 -15
  32. package/dist/collection/assets/data-table.js +18 -6
  33. package/dist/collection/assets/index.js +8 -0
  34. package/dist/collection/assets/kupdata.js +937 -0
  35. package/dist/collection/collection-manifest.json +4 -4
  36. package/dist/collection/components/kup-accordion/kup-accordion.css +0 -1
  37. package/dist/collection/components/kup-accordion/kup-accordion.js +2 -2
  38. package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -0
  39. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +148 -52
  40. package/dist/collection/components/kup-badge/kup-badge.js +2 -2
  41. package/dist/collection/components/kup-box/kup-box.js +31 -17
  42. package/dist/collection/components/kup-button/kup-button.js +2 -2
  43. package/dist/collection/components/kup-button-list/kup-button-list.js +26 -8
  44. package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +14 -8
  45. package/dist/collection/components/kup-calendar/kup-calendar.css +2 -2
  46. package/dist/collection/components/kup-calendar/kup-calendar.js +185 -315
  47. package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +38 -0
  48. package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-calendar.js +1 -1
  49. package/dist/collection/components/kup-card/{builtin → built-in}/kup-card-clock.js +32 -32
  50. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +167 -0
  51. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +1 -1
  52. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +2 -2
  53. package/dist/collection/components/kup-card/free/kup-card-free.js +11 -2
  54. package/dist/collection/components/kup-card/kup-card-declarations.js +14 -14
  55. package/dist/collection/components/kup-card/kup-card-helper.js +3 -3
  56. package/dist/collection/components/kup-card/kup-card.css +423 -137
  57. package/dist/collection/components/kup-card/kup-card.js +62 -11
  58. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +1 -1
  59. package/dist/collection/components/kup-card/standard/kup-card-standard.js +18 -5
  60. package/dist/collection/components/kup-cell/kup-cell.js +15 -13
  61. package/dist/collection/components/kup-chart/kup-chart-builder.js +3 -4
  62. package/dist/collection/components/kup-chart/kup-chart.js +7 -7
  63. package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
  64. package/dist/collection/components/kup-chip/kup-chip.css +1 -0
  65. package/dist/collection/components/kup-chip/kup-chip.js +51 -92
  66. package/dist/collection/components/kup-color-picker/kup-color-picker.css +1 -265
  67. package/dist/collection/components/kup-color-picker/kup-color-picker.js +93 -48
  68. package/dist/collection/components/kup-combobox/kup-combobox.js +148 -115
  69. package/dist/collection/components/kup-dash/kup-dash.js +1 -1
  70. package/dist/collection/components/kup-dash-list/kup-dash-list.js +5 -5
  71. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +3 -1
  72. package/dist/collection/components/kup-data-table/kup-data-table-helper.js +28 -56
  73. package/dist/collection/components/kup-data-table/kup-data-table.css +4 -0
  74. package/dist/collection/components/kup-data-table/kup-data-table.js +345 -158
  75. package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -5
  76. package/dist/collection/components/kup-drawer/kup-drawer.js +1 -1
  77. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +2 -2
  78. package/dist/collection/components/kup-echart/assets/maps/africa.json +6116 -0
  79. package/dist/collection/components/kup-echart/assets/maps/america.json +5416 -0
  80. package/dist/collection/components/kup-echart/assets/maps/asia.json +6053 -0
  81. package/dist/collection/components/kup-echart/assets/maps/europe.json +5051 -0
  82. package/dist/collection/components/kup-echart/assets/maps/italy.json +3562 -0
  83. package/dist/collection/components/kup-echart/assets/maps/oceania.json +1069 -0
  84. package/dist/collection/components/kup-echart/assets/maps/world.json +23685 -0
  85. package/dist/collection/components/kup-echart/kup-echart-declarations.js +45 -0
  86. package/dist/collection/components/kup-echart/kup-echart.css +13 -0
  87. package/dist/collection/components/kup-echart/kup-echart.js +1165 -0
  88. package/dist/collection/components/kup-field/kup-field.js +2 -2
  89. package/dist/collection/components/kup-gauge/kup-gauge.js +3 -3
  90. package/dist/collection/components/kup-grid/kup-grid.css +2 -2
  91. package/dist/collection/components/kup-grid/kup-grid.js +6 -5
  92. package/dist/collection/components/kup-iframe/kup-iframe.js +2 -2
  93. package/dist/collection/components/kup-image/assets/svg/science.svg +1 -0
  94. package/dist/collection/components/kup-image/kup-image.js +3 -3
  95. package/dist/collection/components/kup-lazy/kup-lazy.css +21 -11
  96. package/dist/collection/components/kup-lazy/kup-lazy.js +62 -3
  97. package/dist/collection/components/kup-list/kup-list-helper.js +7 -1
  98. package/dist/collection/components/kup-list/kup-list.css +3 -0
  99. package/dist/collection/components/kup-list/kup-list.js +219 -288
  100. package/dist/collection/components/kup-magic-box/kup-magic-box-declarations.js +11 -7
  101. package/dist/collection/components/kup-magic-box/kup-magic-box.js +90 -41
  102. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
  103. package/dist/collection/components/kup-probe/kup-probe.js +1 -1
  104. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
  105. package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
  106. package/dist/collection/components/kup-radio/kup-radio.js +1 -1
  107. package/dist/collection/components/kup-rating/kup-rating.js +1 -1
  108. package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
  109. package/dist/collection/components/kup-spinner/kup-spinner.js +1 -1
  110. package/dist/collection/components/kup-state/mock-store.js +1 -1
  111. package/dist/collection/components/kup-switch/kup-switch.js +1 -1
  112. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +3 -3
  113. package/dist/collection/components/kup-text-field/kup-text-field.css +2 -0
  114. package/dist/collection/components/kup-text-field/kup-text-field.js +2 -2
  115. package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -5
  116. package/dist/collection/components/kup-tooltip/kup-tooltip.js +3 -3
  117. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -5
  118. package/dist/collection/components/kup-tree/kup-tree-faker.js +2 -3
  119. package/dist/collection/components/kup-tree/kup-tree.css +2 -0
  120. package/dist/collection/components/kup-tree/kup-tree.js +145 -70
  121. package/dist/collection/f-components/f-cell/f-cell-declarations.js +3 -1
  122. package/dist/collection/f-components/f-cell/f-cell.js +29 -19
  123. package/dist/collection/f-components/f-chip/f-chip.js +76 -87
  124. package/dist/collection/f-components/f-image/f-image.js +2 -2
  125. package/dist/collection/f-components/f-paginator/f-paginator-declarations.js +5 -0
  126. package/dist/collection/f-components/f-paginator/f-paginator-utils.js +28 -0
  127. package/dist/collection/f-components/f-paginator/f-paginator.js +91 -0
  128. package/dist/collection/f-components/f-text-field/f-text-field.js +4 -4
  129. package/dist/collection/managers/kup-data/kup-data-cell-helper.js +52 -0
  130. package/dist/collection/managers/kup-data/kup-data-column-helper.js +272 -0
  131. package/dist/collection/managers/kup-data/kup-data-declarations.js +9 -0
  132. package/dist/collection/managers/kup-data/kup-data-node-helper.js +72 -0
  133. package/dist/collection/managers/kup-data/kup-data-row-helper.js +28 -0
  134. package/dist/collection/managers/kup-data/kup-data.js +382 -0
  135. package/dist/collection/{utils → managers}/kup-dates/kup-dates-declarations.js +0 -0
  136. package/dist/collection/{utils → managers}/kup-dates/kup-dates.js +53 -19
  137. package/dist/collection/{utils → managers}/kup-debug/kup-debug-browser-utils.js +1 -1
  138. package/dist/collection/{utils → managers}/kup-debug/kup-debug-declarations.js +0 -0
  139. package/dist/collection/{utils → managers}/kup-debug/kup-debug.js +79 -124
  140. package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.js +0 -0
  141. package/dist/collection/{utils → managers}/kup-dynamic-position/kup-dynamic-position.js +10 -1
  142. package/dist/collection/{utils → managers}/kup-interact/kup-interact-declarations.js +1 -0
  143. package/dist/collection/{utils → managers}/kup-interact/kup-interact.js +22 -13
  144. package/dist/collection/{utils → managers}/kup-language/kup-language-declarations.js +10 -0
  145. package/dist/collection/{utils → managers}/kup-language/kup-language.js +5 -5
  146. package/dist/collection/{utils → managers}/kup-manager/kup-manager-declarations.js +0 -0
  147. package/dist/collection/{utils → managers}/kup-manager/kup-manager.js +45 -4
  148. package/dist/collection/managers/kup-math/kup-math-declarations.js +13 -0
  149. package/dist/collection/managers/kup-math/kup-math-helper.js +39 -0
  150. package/dist/collection/managers/kup-math/kup-math.js +151 -0
  151. package/dist/collection/{utils → managers}/kup-objects/kup-objects-declarations.js +0 -0
  152. package/dist/collection/{utils → managers}/kup-objects/kup-objects.js +15 -0
  153. package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.js +0 -0
  154. package/dist/collection/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.js +0 -0
  155. package/dist/collection/{utils → managers}/kup-search/kup-search-declarations.js +0 -0
  156. package/dist/collection/{utils → managers}/kup-search/kup-search.js +0 -0
  157. package/dist/collection/{utils → managers}/kup-theme/kup-theme-declarations.js +99 -0
  158. package/dist/collection/{utils → managers}/kup-theme/kup-theme.js +117 -68
  159. package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar-declarations.js +0 -0
  160. package/dist/collection/{utils → managers}/kup-toolbar/kup-toolbar.js +0 -0
  161. package/dist/collection/types/GenericTypes.js +48 -1
  162. package/dist/collection/utils/cell-utils.js +3 -4
  163. package/dist/collection/utils/filters/filters-column-menu.js +7 -7
  164. package/dist/collection/utils/filters/filters-rows.js +2 -2
  165. package/dist/collection/utils/filters/filters-tree-items.js +12 -12
  166. package/dist/collection/utils/filters/filters.js +3 -2
  167. package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +1 -0
  168. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +100 -68
  169. package/dist/collection/utils/utils.js +4 -4
  170. package/dist/esm/{cell-utils-8f512ea9.js → cell-utils-571978d6.js} +4 -4
  171. package/dist/esm/{component-d2803feb.js → component-c4eb6153.js} +204 -170
  172. package/dist/esm/{f-button-30dbcaa9.js → f-button-b3011cc2.js} +2 -2
  173. package/dist/esm/{f-cell-95c186c6.js → f-cell-b88b2731.js} +38 -28
  174. package/dist/esm/f-chip-a52489ec.js +128 -0
  175. package/dist/esm/{f-image-3bc8b24f.js → f-image-5e5ed7e2.js} +3 -3
  176. package/dist/esm/{index-e0e67c23.js → index-78f3699d.js} +23 -0
  177. package/dist/esm/ketchup.js +3 -3
  178. package/dist/esm/kup-accordion.entry.js +7 -7
  179. package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_27.entry.js} +4420 -3856
  180. package/dist/esm/kup-calendar.entry.js +626 -359
  181. package/dist/esm/kup-cell.entry.js +15 -13
  182. package/dist/esm/kup-dash-list.entry.js +4 -4
  183. package/dist/esm/kup-dash_2.entry.js +8 -7
  184. package/dist/esm/kup-drawer.entry.js +3 -3
  185. package/dist/esm/kup-echart.entry.js +93035 -0
  186. package/dist/esm/kup-field.entry.js +2 -2
  187. package/dist/esm/kup-iframe.entry.js +3 -3
  188. package/dist/esm/kup-lazy.entry.js +22 -5
  189. package/dist/esm/kup-magic-box.entry.js +95 -42
  190. package/dist/esm/{kup-manager-7fc234da.js → kup-manager-1f76a3ef.js} +3388 -753
  191. package/dist/esm/kup-nav-bar.entry.js +3 -3
  192. package/dist/esm/kup-probe.entry.js +2 -2
  193. package/dist/esm/kup-qlik.entry.js +2 -2
  194. package/dist/esm/kup-snackbar.entry.js +5 -5
  195. package/dist/esm/loader.js +3 -3
  196. package/dist/esm/polyfills/css-shim.js +1 -1
  197. package/dist/esm/{tslib.es6-e6137777.js → tslib.es6-8f2d44b6.js} +13 -1
  198. package/dist/esm/utils-93ae800f.js +461 -0
  199. package/dist/ketchup/assets/maps/africa.json +6116 -0
  200. package/dist/ketchup/assets/maps/america.json +5416 -0
  201. package/dist/ketchup/assets/maps/asia.json +6053 -0
  202. package/dist/ketchup/assets/maps/europe.json +5051 -0
  203. package/dist/ketchup/assets/maps/italy.json +3562 -0
  204. package/dist/ketchup/assets/maps/oceania.json +1069 -0
  205. package/dist/ketchup/assets/maps/world.json +23685 -0
  206. package/dist/ketchup/assets/svg/science.svg +1 -0
  207. package/dist/ketchup/ketchup.esm.js +1 -1
  208. package/dist/ketchup/{p-a878016f.entry.js → p-088a886c.entry.js} +1 -1
  209. package/dist/ketchup/p-135cabdc.entry.js +1 -0
  210. package/dist/ketchup/{p-1c6178e4.entry.js → p-1c1e830f.entry.js} +1 -1
  211. package/dist/ketchup/{p-62816d0b.entry.js → p-29208220.entry.js} +1 -1
  212. package/dist/ketchup/{p-ca0ca27f.entry.js → p-2b9f2019.entry.js} +1 -1
  213. package/dist/ketchup/p-52d0582a.js +1 -0
  214. package/dist/ketchup/p-554bd5f0.entry.js +39 -0
  215. package/dist/ketchup/{p-de83f2f6.js → p-5f52e313.js} +1 -1
  216. package/dist/ketchup/{p-ccda584a.entry.js → p-65449480.entry.js} +1 -1
  217. package/dist/ketchup/p-79cf3874.entry.js +1 -0
  218. package/dist/ketchup/p-7a85cda4.js +1 -0
  219. package/dist/ketchup/p-84cce555.entry.js +27 -0
  220. package/dist/ketchup/p-8c44c3b9.js +135 -0
  221. package/dist/ketchup/{p-65adc15b.entry.js → p-9d49cdb2.entry.js} +1 -1
  222. package/dist/ketchup/{p-5a4a5fdc.js → p-a0b1d769.js} +1 -1
  223. package/dist/ketchup/{p-dbb6998b.entry.js → p-a2b6672e.entry.js} +1 -1
  224. package/dist/ketchup/{p-a378ba56.entry.js → p-a4be630b.entry.js} +1 -1
  225. package/dist/ketchup/p-c072b270.js +1 -0
  226. package/dist/ketchup/{p-1baf1205.entry.js → p-c648972c.entry.js} +1 -1
  227. package/dist/ketchup/{p-af4a6191.entry.js → p-d67d39c0.entry.js} +1 -1
  228. package/dist/ketchup/p-d6e2f2b0.entry.js +1 -0
  229. package/dist/ketchup/{p-44375e49.js → p-da387e0e.js} +1 -1
  230. package/dist/ketchup/p-e5c9ec9e.js +1 -0
  231. package/dist/ketchup/{p-cb5f4994.js → p-ed0b8666.js} +0 -0
  232. package/dist/ketchup/p-ef539eda.js +9 -0
  233. package/dist/ketchup/p-f316234c.entry.js +143 -0
  234. package/dist/types/components/kup-accordion/kup-accordion-declarations.d.ts +2 -2
  235. package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +6 -0
  236. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +29 -22
  237. package/dist/types/components/kup-box/kup-box-declarations.d.ts +7 -11
  238. package/dist/types/components/kup-box/kup-box.d.ts +4 -4
  239. package/dist/types/components/kup-button-list/kup-button-list-declarations.d.ts +6 -1
  240. package/dist/types/components/kup-button-list/kup-button-list.d.ts +4 -3
  241. package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +28 -10
  242. package/dist/types/components/kup-calendar/kup-calendar.d.ts +19 -47
  243. package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +27 -0
  244. package/dist/types/components/kup-card/{builtin → built-in}/kup-card-calendar.d.ts +0 -0
  245. package/dist/types/components/kup-card/{builtin → built-in}/kup-card-clock.d.ts +0 -0
  246. package/dist/types/components/kup-card/built-in/kup-card-column-drop-menu.d.ts +3 -0
  247. package/dist/types/components/kup-card/free/kup-card-free.d.ts +7 -1
  248. package/dist/types/components/kup-card/kup-card-declarations.d.ts +46 -21
  249. package/dist/types/components/kup-card/kup-card.d.ts +9 -2
  250. package/dist/types/components/kup-cell/kup-cell.d.ts +3 -3
  251. package/dist/types/components/kup-chart/kup-chart-builder.d.ts +5 -5
  252. package/dist/types/components/kup-chart/kup-chart-declarations.d.ts +3 -3
  253. package/dist/types/components/kup-chart/kup-chart.d.ts +2 -2
  254. package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +6 -3
  255. package/dist/types/components/kup-chip/kup-chip.d.ts +9 -13
  256. package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +7 -3
  257. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +4 -0
  258. package/dist/types/components/kup-combobox/kup-combobox.d.ts +11 -33
  259. package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +2 -2
  260. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +45 -104
  261. package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +8 -11
  262. package/dist/types/components/kup-data-table/kup-data-table.d.ts +49 -27
  263. package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +55 -0
  264. package/dist/types/components/kup-echart/kup-echart.d.ts +100 -0
  265. package/dist/types/components/kup-lazy/kup-lazy.d.ts +13 -1
  266. package/dist/types/components/kup-list/kup-list-declarations.d.ts +2 -1
  267. package/dist/types/components/kup-list/kup-list.d.ts +4 -35
  268. package/dist/types/components/kup-magic-box/kup-magic-box-declarations.d.ts +6 -10
  269. package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +7 -11
  270. package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +11 -13
  271. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +14 -35
  272. package/dist/types/components/kup-tree/kup-tree-faker.d.ts +10 -10
  273. package/dist/types/components/kup-tree/kup-tree.d.ts +45 -35
  274. package/dist/types/components.d.ts +305 -186
  275. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +11 -10
  276. package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +7 -22
  277. package/dist/types/f-components/f-paginator/f-paginator-declarations.d.ts +22 -0
  278. package/dist/types/f-components/f-paginator/f-paginator-utils.d.ts +2 -0
  279. package/dist/types/f-components/f-paginator/f-paginator.d.ts +3 -0
  280. package/dist/types/managers/kup-data/kup-data-cell-helper.d.ts +24 -0
  281. package/dist/types/managers/kup-data/kup-data-column-helper.d.ts +31 -0
  282. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +160 -0
  283. package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +23 -0
  284. package/dist/types/managers/kup-data/kup-data-row-helper.d.ts +14 -0
  285. package/dist/types/managers/kup-data/kup-data.d.ts +77 -0
  286. package/dist/types/{utils → managers}/kup-dates/kup-dates-declarations.d.ts +0 -0
  287. package/dist/types/{utils → managers}/kup-dates/kup-dates.d.ts +24 -2
  288. package/dist/types/{utils → managers}/kup-debug/kup-debug-declarations.d.ts +0 -0
  289. package/dist/types/{utils → managers}/kup-debug/kup-debug.d.ts +6 -13
  290. package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -0
  291. package/dist/types/{utils → managers}/kup-dynamic-position/kup-dynamic-position.d.ts +0 -0
  292. package/dist/types/{utils → managers}/kup-interact/kup-interact-declarations.d.ts +9 -8
  293. package/dist/types/{utils → managers}/kup-interact/kup-interact.d.ts +7 -6
  294. package/dist/types/{utils → managers}/kup-language/kup-language-declarations.d.ts +11 -1
  295. package/dist/types/{utils → managers}/kup-language/kup-language.d.ts +3 -3
  296. package/dist/types/{utils → managers}/kup-manager/kup-manager-declarations.d.ts +21 -2
  297. package/dist/types/{utils → managers}/kup-manager/kup-manager.d.ts +4 -0
  298. package/dist/types/managers/kup-math/kup-math-declarations.d.ts +21 -0
  299. package/dist/types/managers/kup-math/kup-math-helper.d.ts +17 -0
  300. package/dist/types/managers/kup-math/kup-math.d.ts +60 -0
  301. package/dist/types/{utils → managers}/kup-objects/kup-objects-declarations.d.ts +0 -0
  302. package/dist/types/{utils → managers}/kup-objects/kup-objects.d.ts +6 -0
  303. package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +0 -0
  304. package/dist/types/{utils → managers}/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +0 -0
  305. package/dist/types/{utils → managers}/kup-search/kup-search-declarations.d.ts +0 -0
  306. package/dist/types/{utils → managers}/kup-search/kup-search.d.ts +0 -0
  307. package/dist/types/{utils → managers}/kup-theme/kup-theme-declarations.d.ts +37 -1
  308. package/dist/types/{utils → managers}/kup-theme/kup-theme.d.ts +19 -19
  309. package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar-declarations.d.ts +0 -0
  310. package/dist/types/{utils → managers}/kup-toolbar/kup-toolbar.d.ts +0 -0
  311. package/dist/types/stencil-public-runtime.d.ts +6 -4
  312. package/dist/types/types/GenericTypes.d.ts +53 -6
  313. package/dist/types/utils/cell-utils.d.ts +7 -6
  314. package/dist/types/utils/filters/filters-column-menu.d.ts +16 -16
  315. package/dist/types/utils/filters/filters-rows.d.ts +10 -10
  316. package/dist/types/utils/filters/filters-tree-items.d.ts +7 -7
  317. package/dist/types/utils/helpers.d.ts +2 -2
  318. package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +1 -0
  319. package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +27 -33
  320. package/dist/types/utils/utils.d.ts +4 -2
  321. package/package.json +31 -26
  322. package/dist/cjs/f-chip-90d95d22.js +0 -141
  323. package/dist/cjs/utils-0cc466b9.js +0 -1492
  324. package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +0 -20
  325. package/dist/collection/components/kup-paginator/kup-paginator-declarations.js +0 -5
  326. package/dist/collection/components/kup-paginator/kup-paginator.css +0 -46
  327. package/dist/collection/components/kup-paginator/kup-paginator.js +0 -408
  328. package/dist/esm/f-chip-c0e9c0ff.js +0 -139
  329. package/dist/esm/utils-6c73709d.js +0 -1470
  330. package/dist/ketchup/p-15321eae.js +0 -1
  331. package/dist/ketchup/p-5a5f2a53.js +0 -1
  332. package/dist/ketchup/p-61faaa38.js +0 -8
  333. package/dist/ketchup/p-7e23ea7c.entry.js +0 -1
  334. package/dist/ketchup/p-9d02a676.js +0 -134
  335. package/dist/ketchup/p-a96e6e32.entry.js +0 -1
  336. package/dist/ketchup/p-ad32821e.entry.js +0 -1
  337. package/dist/ketchup/p-c18c7bb0.entry.js +0 -27
  338. package/dist/ketchup/p-d4aa4922.js +0 -1
  339. package/dist/ketchup/p-ec3a3db9.js +0 -1
  340. package/dist/ketchup/p-ecccb3a4.entry.js +0 -45
  341. package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +0 -14
  342. package/dist/types/components/kup-paginator/kup-paginator-declarations.d.ts +0 -11
  343. package/dist/types/components/kup-paginator/kup-paginator.d.ts +0 -48
@@ -1,14 +1,14 @@
1
1
  import { Component, Element, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { FButtonStyling } from '../../f-components/f-button/f-button-declarations';
4
4
  import { FImage } from '../../f-components/f-image/f-image';
5
- import { KupMagicBoxProps, MagicBoxDisplay, } from './kup-magic-box-declarations';
6
- import { KupDebugCategory } from '../../utils/kup-debug/kup-debug-declarations';
7
- import { KupLanguageGeneric } from '../../utils/kup-language/kup-language-declarations';
8
- import { KupThemeColorValues } from '../../utils/kup-theme/kup-theme-declarations';
5
+ import { KupMagicBoxProps, KupMagicBoxDisplay, } from './kup-magic-box-declarations';
6
+ import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
7
+ import { KupLanguageGeneric } from '../../managers/kup-language/kup-language-declarations';
8
+ import { KupThemeColorValues } from '../../managers/kup-theme/kup-theme-declarations';
9
9
  import { getProps, setProps } from '../../utils/utils';
10
10
  import { componentWrapperId } from '../../variables/GenericVariables';
11
- import { kupDraggableColumnAttr, kupDraggableRowAttr, kupDropEvent, KupDropEventTypes, } from '../../utils/kup-interact/kup-interact-declarations';
11
+ import { kupDraggableColumnAttr, kupDraggableRowAttr, kupDropEvent, KupDropEventTypes, } from '../../managers/kup-interact/kup-interact-declarations';
12
12
  export class KupMagicBox {
13
13
  constructor() {
14
14
  /*-------------------------------------------------*/
@@ -16,9 +16,9 @@ export class KupMagicBox {
16
16
  /*-------------------------------------------------*/
17
17
  /**
18
18
  * Data will be displayed using this component.
19
- * @default MagicBoxDisplay.DATATABLE
19
+ * @default KupMagicBoxDisplay.DATATABLE
20
20
  */
21
- this.display = MagicBoxDisplay.DATATABLE;
21
+ this.display = KupMagicBoxDisplay.DATATABLE;
22
22
  /*-------------------------------------------------*/
23
23
  /* P r o p s */
24
24
  /*-------------------------------------------------*/
@@ -36,14 +36,9 @@ export class KupMagicBox {
36
36
  /*-------------------------------------------------*/
37
37
  /* I n t e r n a l V a r i a b l e s */
38
38
  /*-------------------------------------------------*/
39
- /**
40
- * Instance of the KupManager class.
41
- */
42
- this.kupManager = kupManagerInstance();
43
- /**
44
- * Element which enables the drag on move feature.
45
- */
46
39
  this.dragHandler = null;
40
+ this.kupManager = kupManagerInstance();
41
+ this.textArea = null;
47
42
  this.wrapperRef = null;
48
43
  }
49
44
  /*-------------------------------------------------*/
@@ -79,11 +74,11 @@ export class KupMagicBox {
79
74
  */
80
75
  comboboxProps() {
81
76
  const listData = [];
82
- for (const key in MagicBoxDisplay) {
83
- if (Object.prototype.hasOwnProperty.call(MagicBoxDisplay, key)) {
77
+ for (const key in KupMagicBoxDisplay) {
78
+ if (Object.prototype.hasOwnProperty.call(KupMagicBoxDisplay, key)) {
84
79
  listData.push({
85
- text: MagicBoxDisplay[key],
86
- value: MagicBoxDisplay[key],
80
+ text: KupMagicBoxDisplay[key],
81
+ value: KupMagicBoxDisplay[key],
87
82
  selected: false,
88
83
  });
89
84
  }
@@ -117,29 +112,70 @@ export class KupMagicBox {
117
112
  this.data.columns &&
118
113
  this.data.columns.length > 0);
119
114
  const content = [];
120
- if (!hasColumns) {
115
+ const props = {};
116
+ if (this.display === KupMagicBoxDisplay.JSON) {
117
+ props.initialValue = this.data
118
+ ? JSON.stringify(this.data, null, 2)
119
+ : '';
120
+ props.textArea = true;
121
+ content.push(h("kup-text-field", Object.assign({ class: "kup-full-width kup-full-height" }, props, { ref: (el) => (this.textArea = el), "onkup-textfield-input": (e) => {
122
+ try {
123
+ this.data = JSON.parse(e.detail.value);
124
+ }
125
+ catch (error) {
126
+ this.data = {
127
+ columns: [{ name: 'ERROR', title: 'Error' }],
128
+ rows: [
129
+ {
130
+ cells: {
131
+ ERROR: {
132
+ value: 'Invalid JSON:' + error,
133
+ },
134
+ },
135
+ },
136
+ ],
137
+ };
138
+ }
139
+ } })));
140
+ }
141
+ else if (!hasColumns) {
121
142
  content.push(h("div", { class: "empty" },
122
143
  h(FImage, { sizeY: "100px", resource: "move_to_inbox" }),
123
144
  h("div", { class: "empty-text" }, this.kupManager.language.translate(KupLanguageGeneric.DROP_YOUR_DATA))));
124
145
  }
125
146
  else {
126
- const props = {};
127
147
  switch (this.display) {
128
- case MagicBoxDisplay.BOX:
129
- props['data'] = this.data;
148
+ case KupMagicBoxDisplay.BOX:
149
+ props.data = this.data;
130
150
  content.push(h("kup-box", Object.assign({}, props)));
131
151
  break;
132
- case MagicBoxDisplay.CHART:
133
- props['data'] = this.data;
152
+ case KupMagicBoxDisplay.BUTTON_LIST:
153
+ props.data = this.data;
154
+ content.push(h("kup-button-list", Object.assign({}, props)));
155
+ break;
156
+ case KupMagicBoxDisplay.CHIP:
157
+ props.data = this.data;
158
+ content.push(h("kup-chip", Object.assign({}, props)));
159
+ break;
160
+ case KupMagicBoxDisplay.CHART:
161
+ case KupMagicBoxDisplay.ECHART:
162
+ props.data = this.data;
134
163
  props['series'] = [];
164
+ props['axis'] = null;
135
165
  for (let index = 0; index < this.data.columns.length; index++) {
136
166
  const col = this.data.columns[index];
137
- if (col.obj &&
138
- this.kupManager.objects.isNumber(col.obj)) {
139
- props['series'].push({
140
- code: col.name,
141
- decode: col.title,
142
- });
167
+ if ((col.obj &&
168
+ this.kupManager.objects.isNumber(col.obj)) ||
169
+ props['axis'] !== null) {
170
+ if (this.display === KupMagicBoxDisplay.CHART) {
171
+ props['series'].push({
172
+ code: col.name,
173
+ decode: col.title,
174
+ });
175
+ }
176
+ else {
177
+ props['series'].push(col.name);
178
+ }
143
179
  }
144
180
  else {
145
181
  props['axis'] = col.name;
@@ -151,16 +187,21 @@ export class KupMagicBox {
151
187
  if (!props['axis']) {
152
188
  this.kupManager.debug.logMessage(this, 'No axis for the chart!', KupDebugCategory.WARNING);
153
189
  }
154
- content.push(h("kup-chart", Object.assign({}, props)));
190
+ if (this.display === KupMagicBoxDisplay.CHART) {
191
+ content.push(h("kup-chart", Object.assign({}, props)));
192
+ }
193
+ else {
194
+ content.push(h("kup-echart", Object.assign({}, props)));
195
+ }
155
196
  break;
156
- case MagicBoxDisplay.DATATABLE:
157
- props['data'] = this.data;
197
+ case KupMagicBoxDisplay.DATATABLE:
198
+ props.data = this.data;
158
199
  props['autoFillMissingCells'] = true;
159
200
  content.push(h("kup-data-table", Object.assign({}, props)));
160
201
  break;
161
- case MagicBoxDisplay.JSON:
162
- props['data'] = this.data;
163
- content.push(h("pre", { class: "json" }, JSON.stringify(this.data, null, 2)));
202
+ case KupMagicBoxDisplay.TREE:
203
+ props.data = this.data;
204
+ content.push(h("kup-tree", Object.assign({ class: "kup-full-width" }, props)));
164
205
  break;
165
206
  default:
166
207
  this.kupManager.debug.logMessage(this, 'Display mode not supported (' + this.display + ')!', KupDebugCategory.ERROR);
@@ -205,6 +246,14 @@ export class KupMagicBox {
205
246
  }
206
247
  }
207
248
  this.data = data;
249
+ if (this.data && this.textArea) {
250
+ try {
251
+ this.textArea.setValue(JSON.stringify(this.data, null, 2));
252
+ }
253
+ catch (error) {
254
+ this.textArea.setValue('Invalid JSON:' + error);
255
+ }
256
+ }
208
257
  }
209
258
  }
210
259
  /*-------------------------------------------------*/
@@ -294,12 +343,12 @@ export class KupMagicBox {
294
343
  "type": "unknown",
295
344
  "mutable": true,
296
345
  "complexType": {
297
- "original": "MagicBoxData",
298
- "resolved": "MagicBoxData",
346
+ "original": "KupDataDataset",
347
+ "resolved": "KupDataDataset",
299
348
  "references": {
300
- "MagicBoxData": {
349
+ "KupDataDataset": {
301
350
  "location": "import",
302
- "path": "./kup-magic-box-declarations"
351
+ "path": "../../managers/kup-data/kup-data-declarations"
303
352
  }
304
353
  }
305
354
  },
@@ -1,6 +1,6 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, } from '@stencil/core';
2
2
  import { KupNavBarStyling, KupNavBarProps, navbarClass, } from './kup-nav-bar-declarations';
3
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
3
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
4
4
  import { getProps, setProps } from '../../utils/utils';
5
5
  import { componentWrapperId } from '../../variables/GenericVariables';
6
6
  export class KupNavBar {
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { componentWrapperId } from '../../variables/GenericVariables';
4
4
  export class KupProbe {
5
5
  constructor() {
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, forceUpdate, getAssetPath, h, Host, Method, Prop, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { getProps, setProps } from '../../utils/utils';
4
4
  import { componentWrapperId } from '../../variables/GenericVariables';
5
5
  import { KupProgressBarProps } from './kup-progress-bar-declarations';
@@ -1,5 +1,5 @@
1
1
  import { Component, Prop, Element, h, State } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  export class KupQlik {
4
4
  constructor() {
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { KupRadioProps, } from './kup-radio-declarations';
4
4
  import { getProps, setProps } from '../../utils/utils';
5
5
  import { componentWrapperId } from '../../variables/GenericVariables';
@@ -1,5 +1,5 @@
1
1
  import { Component, Event, Element, forceUpdate, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { getProps, setProps } from '../../utils/utils';
4
4
  import { componentWrapperId } from '../../variables/GenericVariables';
5
5
  import { KupRatingProps, } from './kup-rating-declarations';
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { getProps, setProps } from '../../utils/utils';
4
4
  import { componentWrapperId } from '../../variables/GenericVariables';
5
5
  import { KupSnackbarProps, snackbarClass } from './kup-snackbar-declarations';
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { getProps, setProps } from '../../utils/utils';
4
4
  import { componentWrapperId } from '../../variables/GenericVariables';
5
5
  import { KupSpinnerProps } from './kup-spinner-declarations';
@@ -1,4 +1,4 @@
1
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
1
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
2
2
  export default class MockStore {
3
3
  constructor(component) {
4
4
  this.kupManager = kupManagerInstance();
@@ -1,5 +1,5 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { FSwitch } from '../../f-components/f-switch/f-switch';
4
4
  import { KupSwitchProps, } from './kup-switch-declarations';
5
5
  import { getProps, setProps } from '../../utils/utils';
@@ -1,10 +1,10 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
2
2
  import { MDCRipple } from '@material/ripple';
3
3
  import { KupTabBarProps, } from './kup-tab-bar-declarations';
4
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
5
- import { KupDebugCategory } from '../../utils/kup-debug/kup-debug-declarations';
4
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
5
+ import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
6
6
  import { FImage } from '../../f-components/f-image/f-image';
7
- import { KupThemeColorValues } from '../../utils/kup-theme/kup-theme-declarations';
7
+ import { KupThemeColorValues } from '../../managers/kup-theme/kup-theme-declarations';
8
8
  import { getProps, setProps } from '../../utils/utils';
9
9
  import { componentWrapperId } from '../../variables/GenericVariables';
10
10
  export class KupTabBar {
@@ -4,12 +4,14 @@
4
4
  * @prop --kup-textfield-color-rgb: Sets text color RGB values of the text field (used for shaders).
5
5
  * @prop --kup-textfield-font-family: Sets font family of the component.
6
6
  * @prop --kup-textfield-font-size: Sets font size of the component.
7
+ * @prop --kup-textfield-font-weight: Sets font weight of the component.
7
8
  * @prop --kup-textfield-fullwidth-height: Sets height of the component when fullwidth.
8
9
  * @prop --kup-textfield-fullwidth-padding: Sets padding of the component when fullwidth.
9
10
  * @prop --kup-textfield-icon-color: Sets icon color of the component.
10
11
  * @prop --kup-textfield-primary-color: Sets primary color of the text field.
11
12
  * @prop --kup-textfield-primary-color-rgb: Sets primary color RGB values of the text field (used for shaders).
12
13
  * @prop --kup-textfield-text-align: Sets the text alignment of the text field.
14
+ * @prop --kup-textfield-width: Sets the width of the text field.
13
15
  *
14
16
  * NOTE: These variables are defined in the "kup-theme.css" file, because they must work even without the kup component (it's a functional component)
15
17
  *
@@ -1,9 +1,9 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { FTextField } from '../../f-components/f-text-field/f-text-field';
4
4
  import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
5
5
  import { KupTextFieldProps, } from './kup-text-field-declarations';
6
- import { KupDebugCategory } from '../../utils/kup-debug/kup-debug-declarations';
6
+ import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
7
7
  import { getProps, setProps } from '../../utils/utils';
8
8
  import { componentWrapperId } from '../../variables/GenericVariables';
9
9
  export class KupTextField {
@@ -1,13 +1,14 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, Watch, } from '@stencil/core';
2
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
2
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
3
3
  import { isValidFormattedStringTime, formattedStringToCustomUnformattedStringTime, unformattedStringToFormattedStringTime, formatTime, getProps, setProps, } from '../../utils/utils';
4
4
  import { KupTimePickerProps, } from './kup-time-picker-declarations';
5
- import { KupDebugCategory } from '../../utils/kup-debug/kup-debug-declarations';
5
+ import { KupDebugCategory } from '../../managers/kup-debug/kup-debug-declarations';
6
6
  import { componentWrapperId } from '../../variables/GenericVariables';
7
- import { KupDatesFormats } from '../../utils/kup-dates/kup-dates-declarations';
7
+ import { KupDatesFormats } from '../../managers/kup-dates/kup-dates-declarations';
8
8
  import { FTextField } from '../../f-components/f-text-field/f-text-field';
9
9
  import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
10
- import { KupDynamicPositionPlacement } from '../../utils/kup-dynamic-position/kup-dynamic-position-declarations';
10
+ import { KupCardFamily, } from '../kup-card/kup-card-declarations';
11
+ import { KupDynamicPositionPlacement } from '../../managers/kup-dynamic-position/kup-dynamic-position-declarations';
11
12
  export class KupTimePicker {
12
13
  constructor() {
13
14
  /*-------------------------------------------------*/
@@ -359,7 +360,7 @@ export class KupTimePicker {
359
360
  secondsActive: this.secondsActive,
360
361
  },
361
362
  };
362
- return (h("kup-card", { ref: (el) => (this.pickerKupEl = el), data: data, "layout-family": "builtin", "layout-number": "2", "size-x": "300px", "size-y": "450px", "is-menu": true, "onkup-card-click": (ev) => {
363
+ return (h("kup-card", { ref: (el) => (this.pickerKupEl = el), data: data, layoutFamily: KupCardFamily.BUILT_IN, layoutNumber: 2, sizeX: "300px", sizeY: "450px", isMenu: true, "onkup-card-click": (ev) => {
363
364
  if (ev.detail.value != null && ev.detail.value != '')
364
365
  this.onKupTimePickerItemClick(ev, ev.detail.value);
365
366
  } }));
@@ -414,6 +415,7 @@ export class KupTimePicker {
414
415
  /* L i f e c y c l e H o o k s */
415
416
  /*-------------------------------------------------*/
416
417
  componentWillLoad() {
418
+ this.kupManager.dates.register(this);
417
419
  this.kupManager.debug.logLoad(this, false);
418
420
  this.kupManager.theme.register(this);
419
421
  this.watchTimeMinutesStep();
@@ -449,6 +451,7 @@ export class KupTimePicker {
449
451
  h("div", { id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
450
452
  }
451
453
  disconnectedCallback() {
454
+ this.kupManager.dates.unregister(this);
452
455
  this.kupManager.theme.unregister(this);
453
456
  if (this.pickerKupEl) {
454
457
  this.pickerKupEl.remove();
@@ -1,8 +1,8 @@
1
1
  import { Component, Element, Event, forceUpdate, h, Host, Method, Prop, State, Watch, } from '@stencil/core';
2
2
  import { ViewMode, KupTooltipProps, } from './kup-tooltip-declarations';
3
- import { kupManagerInstance, } from '../../utils/kup-manager/kup-manager';
4
- import { kupDynamicPositionAttribute, } from '../../utils/kup-dynamic-position/kup-dynamic-position-declarations';
5
- import { KupLanguageGeneric } from '../../utils/kup-language/kup-language-declarations';
3
+ import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
4
+ import { kupDynamicPositionAttribute, } from '../../managers/kup-dynamic-position/kup-dynamic-position-declarations';
5
+ import { KupLanguageGeneric } from '../../managers/kup-language/kup-language-declarations';
6
6
  import { KupCardFamily } from '../kup-card/kup-card-declarations';
7
7
  import { getProps, setProps } from '../../utils/utils';
8
8
  import { componentWrapperId } from '../../variables/GenericVariables';
@@ -37,11 +37,6 @@ export var KupTreeProps;
37
37
  KupTreeProps["totals"] = "Defines the current totals options.";
38
38
  KupTreeProps["useDynamicExpansion"] = "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the tree have been passed inside the data property. Therefore, when expanding a node, the tree must emit an event (or run a given callback) and wait for the child nodes to be downloaded from the server.";
39
39
  })(KupTreeProps || (KupTreeProps = {}));
40
- /**
41
- * The name of the property used by the tree component to store whether a TreeNode is open or closed
42
- * @constant
43
- */
44
- export const treeExpandedPropName = 'isExpanded';
45
40
  /**
46
41
  * The name of the constant used by the tree component to identify the main tree in column menu
47
42
  * @constant
@@ -9,7 +9,6 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import { treeExpandedPropName, } from './kup-tree-declarations';
13
12
  //---- Constants ----
14
13
  /**
15
14
  * The data pool usable to populate a fake TreeNode
@@ -81,7 +80,7 @@ export function flattenTree(nodesToFlatten, useIsExpandedFlag = true) {
81
80
  for (let i = 0; i < nodesToFlatten.length; i++) {
82
81
  flattenedNodes.push(nodesToFlatten[i]);
83
82
  if (!useIsExpandedFlag ||
84
- (useIsExpandedFlag && nodesToFlatten[i][treeExpandedPropName])) {
83
+ (useIsExpandedFlag && nodesToFlatten[i].isExpanded)) {
85
84
  flattenedNodes = flattenedNodes.concat(flattenTree(nodesToFlatten[i].children));
86
85
  }
87
86
  }
@@ -206,7 +205,7 @@ function TreeNodeFactory(columns, depth = {
206
205
  expandable: !!childrenCount,
207
206
  icon: 'account',
208
207
  id: depth.path + depthAndIndex + childrenCount.toString(),
209
- [treeExpandedPropName]: getBooleanOnProbability(options.isExpandedProbability || 0),
208
+ isExpanded: getBooleanOnProbability(options.isExpandedProbability || 0),
210
209
  obj: {
211
210
  t: 'TN',
212
211
  p: '',
@@ -137,6 +137,8 @@
137
137
  height: 1.5em;
138
138
  min-width: 1.5em;
139
139
  width: 1.5em;
140
+ }
141
+ .wrapper .kup-tree__node__expander {
140
142
  transition: transform 0.1s;
141
143
  }
142
144
  .wrapper .kup-tree__node {