@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,8 +1,8 @@
1
1
  import { h } from '@stencil/core';
2
2
  import { FButton } from '../../../f-components/f-button/f-button';
3
3
  import { FButtonStyling, } from '../../../f-components/f-button/f-button-declarations';
4
- import { KupDatesFormats } from '../../../utils/kup-dates/kup-dates-declarations';
5
- import { KupCardBuiltinClockElements, KupCardCSSClasses, } from '../kup-card-declarations';
4
+ import { KupDatesFormats } from '../../../managers/kup-dates/kup-dates-declarations';
5
+ import { KupCardBuiltInClockElements, KupCardCSSClasses, } from '../kup-card-declarations';
6
6
  const dom = document.documentElement;
7
7
  export function prepareClock(component) {
8
8
  const el = component.rootElement;
@@ -106,7 +106,7 @@ function isRelatedTargetInThisComponent(e, component) {
106
106
  if (id == null || id.trim() == '') {
107
107
  return false;
108
108
  }
109
- if (id == getElement(component, KupCardBuiltinClockElements.CLOCK).id) {
109
+ if (id == getElement(component, KupCardBuiltInClockElements.CLOCK).id) {
110
110
  return true;
111
111
  }
112
112
  let idConc = '#clock-div#confirm#';
@@ -142,31 +142,31 @@ function createClock(component) {
142
142
  }
143
143
  let seconds;
144
144
  let time = [
145
- h("span", { id: KupCardBuiltinClockElements.HOURS, class: `h ${getHoursActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
145
+ h("span", { id: KupCardBuiltInClockElements.HOURS, class: `h ${getHoursActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
146
146
  setElement(component, el);
147
147
  }, onClick: () => {
148
148
  setClockViewActive(component, true, false, false);
149
- switchView(component, KupCardBuiltinClockElements.HOURS, KupCardBuiltinClockElements.HOURSCIRCLE);
149
+ switchView(component, KupCardBuiltInClockElements.HOURS, KupCardBuiltInClockElements.HOURSCIRCLE);
150
150
  }, innerHTML: hh }),
151
151
  ':',
152
- h("span", { id: KupCardBuiltinClockElements.MINUTES, class: `m ${getMinutesActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
152
+ h("span", { id: KupCardBuiltInClockElements.MINUTES, class: `m ${getMinutesActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
153
153
  setElement(component, el);
154
154
  }, onClick: () => {
155
155
  setClockViewActive(component, false, true, false);
156
- switchView(component, KupCardBuiltinClockElements.MINUTES, KupCardBuiltinClockElements.MINUTESCIRCLE);
156
+ switchView(component, KupCardBuiltInClockElements.MINUTES, KupCardBuiltInClockElements.MINUTESCIRCLE);
157
157
  }, innerHTML: mm }),
158
158
  ];
159
159
  if (isManageSeconds(component)) {
160
- seconds = (h("div", { id: KupCardBuiltinClockElements.SECONDSCIRCLE, class: `circle seconds ${getSecondsActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
160
+ seconds = (h("div", { id: KupCardBuiltInClockElements.SECONDSCIRCLE, class: `circle seconds ${getSecondsActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
161
161
  setElement(component, el);
162
162
  } },
163
163
  buildClock(60, 101, 115, 115, 'sec unit', 0, 5, ss, component),
164
164
  h("div", { class: "mid" })));
165
- time.push(':', h("span", { id: KupCardBuiltinClockElements.SECONDS, class: `s ${getSecondsActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
165
+ time.push(':', h("span", { id: KupCardBuiltInClockElements.SECONDS, class: `s ${getSecondsActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
166
166
  setElement(component, el);
167
167
  }, onClick: () => {
168
168
  setClockViewActive(component, false, false, true);
169
- switchView(component, KupCardBuiltinClockElements.SECONDS, KupCardBuiltinClockElements.SECONDSCIRCLE);
169
+ switchView(component, KupCardBuiltInClockElements.SECONDS, KupCardBuiltInClockElements.SECONDSCIRCLE);
170
170
  }, innerHTML: ss }));
171
171
  }
172
172
  const confirmButtonProp = {
@@ -176,17 +176,17 @@ function createClock(component) {
176
176
  setTimeFromClock(e, component);
177
177
  },
178
178
  };
179
- return (h("div", { class: "clock", id: KupCardBuiltinClockElements.CLOCK, ref: (el) => {
179
+ return (h("div", { class: "clock", id: KupCardBuiltInClockElements.CLOCK, ref: (el) => {
180
180
  setElement(component, el);
181
181
  } },
182
182
  h("div", { class: "top" }, time),
183
- h("div", { id: KupCardBuiltinClockElements.HOURSCIRCLE, class: `circle hours ${getHoursActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
183
+ h("div", { id: KupCardBuiltInClockElements.HOURSCIRCLE, class: `circle hours ${getHoursActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
184
184
  setElement(component, el);
185
185
  } },
186
186
  buildClock(12, 101, 105, 105, 'hour', 0, 1, hh, component),
187
187
  buildClock(12, 64, 110, 110, 'hour2', 12, 1, hh, component),
188
188
  h("div", { class: "mid" })),
189
- h("div", { id: KupCardBuiltinClockElements.MINUTESCIRCLE, class: `circle minutes ${getMinutesActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
189
+ h("div", { id: KupCardBuiltInClockElements.MINUTESCIRCLE, class: `circle minutes ${getMinutesActive(component) ? KupCardCSSClasses.VISIBLE : ''}`, ref: (el) => {
190
190
  setElement(component, el);
191
191
  } },
192
192
  buildClock(60, 101, 115, 115, 'min unit', 0, 5, mm, component),
@@ -202,13 +202,13 @@ function setClockViewActive(component, hoursAct, minutesAct, secondsAct) {
202
202
  el.kupData.secondsActive = secondsAct;
203
203
  }
204
204
  function switchView(component, elId, elCircleId) {
205
- getElement(component, KupCardBuiltinClockElements.HOURS).classList.remove(KupCardCSSClasses.VISIBLE);
206
- getElement(component, KupCardBuiltinClockElements.HOURSCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
207
- getElement(component, KupCardBuiltinClockElements.MINUTES).classList.remove(KupCardCSSClasses.VISIBLE);
208
- getElement(component, KupCardBuiltinClockElements.MINUTESCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
205
+ getElement(component, KupCardBuiltInClockElements.HOURS).classList.remove(KupCardCSSClasses.VISIBLE);
206
+ getElement(component, KupCardBuiltInClockElements.HOURSCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
207
+ getElement(component, KupCardBuiltInClockElements.MINUTES).classList.remove(KupCardCSSClasses.VISIBLE);
208
+ getElement(component, KupCardBuiltInClockElements.MINUTESCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
209
209
  if (isManageSeconds(component)) {
210
- getElement(component, KupCardBuiltinClockElements.SECONDS).classList.remove(KupCardCSSClasses.VISIBLE);
211
- getElement(component, KupCardBuiltinClockElements.SECONDSCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
210
+ getElement(component, KupCardBuiltInClockElements.SECONDS).classList.remove(KupCardCSSClasses.VISIBLE);
211
+ getElement(component, KupCardBuiltInClockElements.SECONDSCIRCLE).classList.remove(KupCardCSSClasses.VISIBLE);
212
212
  }
213
213
  getElement(component, elId).classList.add(KupCardCSSClasses.VISIBLE);
214
214
  getElement(component, elCircleId).classList.add(KupCardCSSClasses.VISIBLE);
@@ -274,9 +274,9 @@ function buildClock(num, radius, offsetX, offsetY, className, add, separator, se
274
274
  return divsArray;
275
275
  }
276
276
  function setTimeFromClock(e, component) {
277
- const hoursEl = getElement(component, KupCardBuiltinClockElements.HOURS);
278
- const minutesEl = getElement(component, KupCardBuiltinClockElements.MINUTES);
279
- const secondsEl = getElement(component, KupCardBuiltinClockElements.SECONDS);
277
+ const hoursEl = getElement(component, KupCardBuiltInClockElements.HOURS);
278
+ const minutesEl = getElement(component, KupCardBuiltInClockElements.MINUTES);
279
+ const secondsEl = getElement(component, KupCardBuiltInClockElements.SECONDS);
280
280
  let text = hoursEl.innerText + ':' + minutesEl.innerText;
281
281
  if (isManageSeconds(component)) {
282
282
  text += ':' + secondsEl.innerText;
@@ -284,30 +284,30 @@ function setTimeFromClock(e, component) {
284
284
  onKupClockItemClick(e, component, text);
285
285
  }
286
286
  function setClockTime(e, component) {
287
- const hoursEl = getElement(component, KupCardBuiltinClockElements.HOURS);
288
- const minutesEl = getElement(component, KupCardBuiltinClockElements.MINUTES);
289
- const hoursCircleEl = getElement(component, KupCardBuiltinClockElements.HOURSCIRCLE);
290
- const minutesCircleEl = getElement(component, KupCardBuiltinClockElements.MINUTESCIRCLE);
291
- const secondsEl = getElement(component, KupCardBuiltinClockElements.SECONDS);
292
- const secondsCircleEl = getElement(component, KupCardBuiltinClockElements.SECONDSCIRCLE);
287
+ const hoursEl = getElement(component, KupCardBuiltInClockElements.HOURS);
288
+ const minutesEl = getElement(component, KupCardBuiltInClockElements.MINUTES);
289
+ const hoursCircleEl = getElement(component, KupCardBuiltInClockElements.HOURSCIRCLE);
290
+ const minutesCircleEl = getElement(component, KupCardBuiltInClockElements.MINUTESCIRCLE);
291
+ const secondsEl = getElement(component, KupCardBuiltInClockElements.SECONDS);
292
+ const secondsCircleEl = getElement(component, KupCardBuiltInClockElements.SECONDSCIRCLE);
293
293
  let time = e.target.getAttribute('data-value');
294
294
  if (getHoursActive(component)) {
295
295
  hoursEl.innerText = time;
296
296
  hoursCircleEl.querySelector('.selected').classList.remove('selected');
297
297
  setClockViewActive(component, false, true, false);
298
- switchView(component, KupCardBuiltinClockElements.MINUTES, KupCardBuiltinClockElements.MINUTESCIRCLE);
298
+ switchView(component, KupCardBuiltInClockElements.MINUTES, KupCardBuiltInClockElements.MINUTESCIRCLE);
299
299
  }
300
300
  else if (getMinutesActive(component)) {
301
301
  minutesEl.innerText = time;
302
302
  minutesCircleEl.querySelector('.selected').classList.remove('selected');
303
303
  if (isManageSeconds(component)) {
304
304
  setClockViewActive(component, false, false, true);
305
- switchView(component, KupCardBuiltinClockElements.SECONDS, KupCardBuiltinClockElements.SECONDSCIRCLE);
305
+ switchView(component, KupCardBuiltInClockElements.SECONDS, KupCardBuiltInClockElements.SECONDSCIRCLE);
306
306
  }
307
307
  else {
308
308
  setTimeFromClock(e, component);
309
309
  setClockViewActive(component, true, false, false);
310
- switchView(component, KupCardBuiltinClockElements.HOURS, KupCardBuiltinClockElements.HOURSCIRCLE);
310
+ switchView(component, KupCardBuiltInClockElements.HOURS, KupCardBuiltInClockElements.HOURSCIRCLE);
311
311
  }
312
312
  }
313
313
  else {
@@ -315,7 +315,7 @@ function setClockTime(e, component) {
315
315
  secondsCircleEl.querySelector('.selected').classList.remove('selected');
316
316
  setTimeFromClock(e, component);
317
317
  setClockViewActive(component, true, false, false);
318
- switchView(component, KupCardBuiltinClockElements.HOURS, KupCardBuiltinClockElements.HOURSCIRCLE);
318
+ switchView(component, KupCardBuiltInClockElements.HOURS, KupCardBuiltInClockElements.HOURSCIRCLE);
319
319
  }
320
320
  e.target.classList.add('selected');
321
321
  }
@@ -0,0 +1,167 @@
1
+ import { h } from '@stencil/core';
2
+ import { FButtonStyling } from '../../../f-components/f-button/f-button-declarations';
3
+ import { KupLanguageColumn, KupLanguageGeneric, KupLanguageTotals, } from '../../../managers/kup-language/kup-language-declarations';
4
+ import { KupDataNewColumnTypes } from '../../../managers/kup-data/kup-data-declarations';
5
+ const dom = document.documentElement;
6
+ const premadeFormulas = [
7
+ KupLanguageTotals.AVERAGE,
8
+ KupLanguageTotals.DIFFERENCE,
9
+ KupLanguageTotals.PRODUCT,
10
+ KupLanguageTotals.SUM,
11
+ ];
12
+ export function prepareColumnDropMenu(component) {
13
+ const options = component.data.options;
14
+ const chipData = [];
15
+ let list, combobox, button, chipSet;
16
+ for (let index = 0; index < options.data.columns.length; index++) {
17
+ const column = options.data.columns[index];
18
+ if (column.visible !== false &&
19
+ column.obj &&
20
+ dom.ketchup.objects.isNumber(column.obj)) {
21
+ chipData.push({
22
+ obj: column.obj,
23
+ value: column.name,
24
+ title: column.title,
25
+ id: column.name,
26
+ });
27
+ }
28
+ }
29
+ const numericalColumnsExist = !!(chipData.length > 0);
30
+ if (options.enableMerge || options.enableMove) {
31
+ list = prepareList(options);
32
+ }
33
+ if (options.enableFormula) {
34
+ combobox = prepareCombobox(options, numericalColumnsExist);
35
+ if (numericalColumnsExist) {
36
+ button = (h("kup-button", { "onKup-button-click": () => applyFormula(component), label: dom.ketchup.language.translate(KupLanguageTotals.CALCULATE), styling: FButtonStyling.OUTLINED }));
37
+ chipSet = (h("div", { class: "sub-chip" },
38
+ h("kup-chip", { data: chipData, "onKup-chip-click": (e) => typeColumn(e, component) })));
39
+ }
40
+ }
41
+ return [list, combobox, button, chipSet];
42
+ }
43
+ function prepareList(options) {
44
+ const listData = [];
45
+ if (options.enableMerge) {
46
+ listData.push({
47
+ text: dom.ketchup.language.translate(KupLanguageGeneric.MERGE),
48
+ value: KupLanguageGeneric.MERGE,
49
+ icon: 'library_add',
50
+ });
51
+ }
52
+ if (options.enableMove) {
53
+ listData.push({
54
+ text: dom.ketchup.language.translate(KupLanguageGeneric.MOVE),
55
+ value: KupLanguageGeneric.MOVE,
56
+ icon: 'swap_horiz',
57
+ });
58
+ }
59
+ return listData.length > 0 ? (h("kup-list", { data: listData, showIcons: true, "onkup-list-click": (e) => listClick(e, options) })) : null;
60
+ }
61
+ function prepareCombobox(options, numericalColumnsExist) {
62
+ const comboListData = [];
63
+ const numeric = dom.ketchup.objects.isNumber(options.receivingColumn.obj) &&
64
+ dom.ketchup.objects.isNumber(options.starterColumn.obj);
65
+ if (numeric) {
66
+ comboListData.push({
67
+ text: dom.ketchup.language.translate(KupLanguageTotals.AVERAGE),
68
+ value: KupLanguageTotals.AVERAGE,
69
+ }, {
70
+ text: dom.ketchup.language.translate(KupLanguageTotals.DIFFERENCE),
71
+ value: KupLanguageTotals.DIFFERENCE,
72
+ }, {
73
+ text: dom.ketchup.language.translate(KupLanguageTotals.PRODUCT),
74
+ value: KupLanguageTotals.PRODUCT,
75
+ }, {
76
+ text: dom.ketchup.language.translate(KupLanguageTotals.SUM),
77
+ value: KupLanguageTotals.SUM,
78
+ }, {
79
+ text: `[${options.starterColumn.name}] / [${options.receivingColumn.name}] * 100`,
80
+ value: `([${options.starterColumn.name}]/[${options.receivingColumn.name}])*100`,
81
+ }, {
82
+ text: `[${options.receivingColumn.name}] / [${options.starterColumn.name}] * 100`,
83
+ value: `([${options.receivingColumn.name}]/[${options.starterColumn.name}])*100`,
84
+ });
85
+ }
86
+ else {
87
+ comboListData.push({
88
+ text: dom.ketchup.language.translate(KupLanguageColumn.NO_FORMULA),
89
+ value: KupLanguageColumn.NO_FORMULA,
90
+ });
91
+ }
92
+ const comboData = {
93
+ 'kup-list': {
94
+ data: comboListData,
95
+ selectable: numeric ? true : false,
96
+ },
97
+ 'kup-text-field': {
98
+ helper: !numericalColumnsExist
99
+ ? dom.ketchup.language.translate(KupLanguageColumn.NON_NUMERICAL_IN_TABLE)
100
+ : numeric
101
+ ? `i.e.: [${options.receivingColumn.name}] - [${options.starterColumn.name}] + 1`
102
+ : dom.ketchup.language.translate(KupLanguageColumn.NON_NUMERICAL),
103
+ label: dom.ketchup.language.translate(KupLanguageTotals.FORMULA),
104
+ outlined: true,
105
+ },
106
+ };
107
+ return (h("kup-combobox", { data: comboData, disabled: !numericalColumnsExist }));
108
+ }
109
+ function getCombobox(component) {
110
+ return component.rootElement.shadowRoot.querySelector('kup-combobox');
111
+ }
112
+ function typeColumn(e, component) {
113
+ const combobox = getCombobox(component);
114
+ const value = e.detail.chip.value;
115
+ combobox.getValue().then((res) => {
116
+ let currentFormula = res;
117
+ currentFormula += '[' + value + ']';
118
+ combobox.setValue(currentFormula);
119
+ });
120
+ }
121
+ function listClick(e, options) {
122
+ const value = e.detail.selected.value;
123
+ switch (value) {
124
+ case KupLanguageGeneric.MERGE:
125
+ if (options.mergeCb) {
126
+ options.mergeCb();
127
+ }
128
+ break;
129
+ case KupLanguageGeneric.MOVE:
130
+ if (options.moveCb) {
131
+ options.moveCb();
132
+ }
133
+ break;
134
+ }
135
+ }
136
+ async function applyFormula(component) {
137
+ const options = component.data.options;
138
+ const combobox = getCombobox(component);
139
+ if (combobox) {
140
+ const value = (await combobox.getValue());
141
+ if (premadeFormulas.includes(value)) {
142
+ dom.ketchup.data.column.new(options.data, KupDataNewColumnTypes.MATH, {
143
+ columns: [
144
+ options.receivingColumn.name,
145
+ options.starterColumn.name,
146
+ ],
147
+ operation: value,
148
+ });
149
+ if (options.formulaCb !== undefined) {
150
+ options.formulaCb();
151
+ }
152
+ }
153
+ else {
154
+ const result = dom.ketchup.data.column.new(options.data, KupDataNewColumnTypes.MATH, {
155
+ operation: value,
156
+ });
157
+ if (typeof result === 'string' || result instanceof String) {
158
+ combobox.classList.add('kup-danger');
159
+ combobox.data['kup-text-field'].helper = result;
160
+ combobox.refresh();
161
+ }
162
+ else if (options.formulaCb !== undefined) {
163
+ options.formulaCb();
164
+ }
165
+ }
166
+ }
167
+ }
@@ -2,7 +2,7 @@ import { h } from '@stencil/core';
2
2
  import { FImage } from '../../../f-components/f-image/f-image';
3
3
  import { collapsibleBar } from '../kup-card-helper';
4
4
  import { KupCardCSSClasses } from '../kup-card-declarations';
5
- import { KupThemeColorValues } from '../../../utils/kup-theme/kup-theme-declarations';
5
+ import { KupThemeColorValues } from '../../../managers/kup-theme/kup-theme-declarations';
6
6
  const dom = document.documentElement;
7
7
  /**
8
8
  * 1st collapsible card layout, left bar and collapsible chips.
@@ -1,7 +1,7 @@
1
1
  import { h } from '@stencil/core';
2
2
  import { FImage } from '../../../f-components/f-image/f-image';
3
3
  import { compList, dialogHeader } from '../kup-card-helper';
4
- import { KupLanguageRow } from '../../../utils/kup-language/kup-language-declarations';
4
+ import { KupLanguageRow } from '../../../managers/kup-language/kup-language-declarations';
5
5
  import { KupCardCSSClasses, KupCardIds } from '../kup-card-declarations';
6
6
  const dom = document.documentElement;
7
7
  /**
@@ -219,7 +219,7 @@ function nextButton(component) {
219
219
  }
220
220
  /**
221
221
  * Returns the index of the first visible numerical column.
222
- * @param {TableData} data - Table data.
222
+ * @param {KupDataDataset} data - Table data.
223
223
  */
224
224
  function getVisibleColumn(data) {
225
225
  for (let index = 0; index < data.columns.length; index++) {
@@ -1,8 +1,7 @@
1
1
  import { h } from '@stencil/core';
2
2
  import { compList } from '../kup-card-helper';
3
- const dom = document.documentElement;
4
3
  /**
5
- * 1st free card layout, only slots.
4
+ * 1st free card layout, dropdown menu look.
6
5
  * @param {KupCard} component - Card component.
7
6
  * @returns {VNode} 1st standard layout virtual node.
8
7
  */
@@ -11,3 +10,13 @@ export function create1(component) {
11
10
  const slots = Array.prototype.slice.call(component.rootElement.children, 0);
12
11
  return (h("div", { class: `free-layout-${component.layoutNumber}` }, slots.length > 0 ? compList(slots, 'slot') : null));
13
12
  }
13
+ /**
14
+ * 2nd free card layout, dropdown menu look with no padding.
15
+ * @param {KupCard} component - Card component.
16
+ * @returns {VNode} 1st standard layout virtual node.
17
+ */
18
+ export function create2(component) {
19
+ //Slot list
20
+ const slots = Array.prototype.slice.call(component.rootElement.children, 0);
21
+ return (h("div", { class: `free-layout-${component.layoutNumber}` }, slots.length > 0 ? compList(slots, 'slot') : null));
22
+ }
@@ -14,22 +14,22 @@ export var KupCardProps;
14
14
  KupCardProps["sizeY"] = "The height of the card, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.).";
15
15
  })(KupCardProps || (KupCardProps = {}));
16
16
  /**
17
- * Element ids for kup-card clock builtin.
17
+ * Element ids for built-in clock.
18
18
  */
19
- export var KupCardBuiltinClockElements;
20
- (function (KupCardBuiltinClockElements) {
21
- KupCardBuiltinClockElements["CLOCK"] = "clockEl";
22
- KupCardBuiltinClockElements["HOURS"] = "hoursEl";
23
- KupCardBuiltinClockElements["MINUTES"] = "minutesEl";
24
- KupCardBuiltinClockElements["SECONDS"] = "secondsEl";
25
- KupCardBuiltinClockElements["HOURSCIRCLE"] = "hoursCircleEl";
26
- KupCardBuiltinClockElements["MINUTESCIRCLE"] = "minutesCircleEl";
27
- KupCardBuiltinClockElements["SECONDSCIRCLE"] = "secondsCircleEl";
28
- })(KupCardBuiltinClockElements || (KupCardBuiltinClockElements = {}));
19
+ export var KupCardBuiltInClockElements;
20
+ (function (KupCardBuiltInClockElements) {
21
+ KupCardBuiltInClockElements["CLOCK"] = "clockEl";
22
+ KupCardBuiltInClockElements["HOURS"] = "hoursEl";
23
+ KupCardBuiltInClockElements["MINUTES"] = "minutesEl";
24
+ KupCardBuiltInClockElements["SECONDS"] = "secondsEl";
25
+ KupCardBuiltInClockElements["HOURSCIRCLE"] = "hoursCircleEl";
26
+ KupCardBuiltInClockElements["MINUTESCIRCLE"] = "minutesCircleEl";
27
+ KupCardBuiltInClockElements["SECONDSCIRCLE"] = "secondsCircleEl";
28
+ })(KupCardBuiltInClockElements || (KupCardBuiltInClockElements = {}));
29
29
  /**
30
30
  * Layout families of the kup-card component.
31
31
  * @enum {string}
32
- * @property {string} BUILTIN - Cards belonging to this family will created automatically by library.
32
+ * @property {string} BUILT_IN - Cards belonging to this family will be created automatically by the library and will have premade behaviors.
33
33
  * @property {string} COLLAPSIBLE - Cards belonging to this family will display an area usable to expand the content of the card.
34
34
  * @property {string} DIALOG - Cards belonging to this family will be movable and usually closable.
35
35
  * @property {string} FREE - This family of card will only receive slots, usually already arranged from the outside style.
@@ -38,7 +38,7 @@ export var KupCardBuiltinClockElements;
38
38
  */
39
39
  export var KupCardFamily;
40
40
  (function (KupCardFamily) {
41
- KupCardFamily["BUILTIN"] = "builtin";
41
+ KupCardFamily["BUILT_IN"] = "built-in";
42
42
  KupCardFamily["COLLAPSIBLE"] = "collapsible";
43
43
  KupCardFamily["DIALOG"] = "dialog";
44
44
  KupCardFamily["FREE"] = "free";
@@ -65,7 +65,7 @@ export var KupCardIds;
65
65
  */
66
66
  export var KupCardCSSClasses;
67
67
  (function (KupCardCSSClasses) {
68
- KupCardCSSClasses["BUILTIN_CARD"] = "builtin-card";
68
+ KupCardCSSClasses["BUILT_IN_CARD"] = "built-in-card";
69
69
  KupCardCSSClasses["CARD_VIEW"] = "card-view";
70
70
  KupCardCSSClasses["CLICKABLE_LINK"] = "clickable-link";
71
71
  KupCardCSSClasses["COLLAPSIBLE_ACTIVE"] = "collapsible-active";
@@ -2,7 +2,7 @@ import { h } from '@stencil/core';
2
2
  import { FImage } from '../../f-components/f-image/f-image';
3
3
  import { KupCardCSSClasses, KupCardIds, KupCardSubEvents, } from './kup-card-declarations';
4
4
  import { KupColumnMenuIds } from '../../utils/kup-column-menu/kup-column-menu-declarations';
5
- import { KupThemeColorValues } from '../../utils/kup-theme/kup-theme-declarations';
5
+ import { KupThemeColorValues } from '../../managers/kup-theme/kup-theme-declarations';
6
6
  /**
7
7
  * This function returns a list of components.
8
8
  * @param {GenericObject[]} compArray - Components' props.
@@ -144,9 +144,9 @@ export function layoutSpecificEvents(component, e) {
144
144
  else {
145
145
  chipData.push({
146
146
  icon: node.icon,
147
- label: node.value,
147
+ value: node.value,
148
148
  obj: node.obj,
149
- value: key,
149
+ id: key,
150
150
  });
151
151
  }
152
152
  apply.classList.add('visible');