@sme.up/ketchup 5.2.1-SNAPSHOT → 6.2.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 (231) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/cjs/{cell-utils-d96b2993.js → cell-utils-d894e802.js} +2 -2
  3. package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
  4. package/dist/cjs/{f-button-2b9b99b1.js → f-button-414b3bc3.js} +4 -4
  5. package/dist/cjs/f-cell-c8983ec7.js +418 -0
  6. package/dist/cjs/f-checkbox-57443ca3.js +29 -0
  7. package/dist/cjs/{f-chip-df59e1b0.js → f-chip-ef81bf51.js} +5 -4
  8. package/dist/cjs/{f-image-12bab3b5.js → f-image-0618c795.js} +2 -2
  9. package/dist/cjs/f-paginator-utils-c9dd5173.js +1898 -0
  10. package/dist/cjs/{f-text-field-e7c35b5b.js → f-text-field-7d31190f.js} +3 -3
  11. package/dist/cjs/{f-text-field-mdc-a67f5dfe.js → f-text-field-mdc-85997738.js} +23 -305
  12. package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
  13. package/dist/cjs/ketchup.cjs.js +3 -3
  14. package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
  15. package/dist/cjs/{kup-autocomplete_27.cjs.entry.js → kup-autocomplete_25.cjs.entry.js} +1833 -5745
  16. package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17113 -14788
  17. package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
  18. package/dist/cjs/kup-cell.cjs.entry.js +10 -9
  19. package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
  20. package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
  21. package/dist/cjs/kup-dashboard.cjs.entry.js +379 -0
  22. package/dist/cjs/kup-drawer.cjs.entry.js +12 -5
  23. package/dist/cjs/kup-field.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-form.cjs.entry.js +469 -0
  25. package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
  26. package/dist/cjs/kup-image-list.cjs.entry.js +229 -0
  27. package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
  28. package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
  29. package/dist/cjs/kup-manager-2fee8cf3.js +17021 -0
  30. package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
  31. package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
  32. package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -9
  33. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  34. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  35. package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
  36. package/dist/cjs/loader.cjs.js +3 -3
  37. package/dist/cjs/{utils-e99921c1.js → utils-8470184d.js} +1 -1
  38. package/dist/collection/assets/card.js +4 -5
  39. package/dist/collection/assets/dashboard.js +113 -0
  40. package/dist/collection/assets/data-table.js +15 -79
  41. package/dist/collection/assets/form.js +179 -0
  42. package/dist/collection/assets/grid.js +17 -0
  43. package/dist/collection/assets/image-list.js +624 -0
  44. package/dist/collection/assets/index.js +16 -4
  45. package/dist/collection/assets/kupdata.js +0 -3
  46. package/dist/collection/assets/kuptooltip.js +53 -7
  47. package/dist/collection/assets/tree.js +0 -128
  48. package/dist/collection/collection-manifest.json +8 -6
  49. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +136 -130
  50. package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
  51. package/dist/collection/components/kup-box/kup-box.js +20 -137
  52. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
  53. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  54. package/dist/collection/components/kup-card/kup-card.css +26 -8
  55. package/dist/collection/components/kup-card/kup-card.js +1 -2
  56. package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
  57. package/dist/collection/components/kup-combobox/kup-combobox.js +17 -14
  58. package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
  59. package/dist/collection/components/kup-dashboard/kup-dashboard.css +81 -0
  60. package/dist/collection/components/kup-dashboard/kup-dashboard.js +560 -0
  61. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
  62. package/dist/collection/components/kup-data-table/kup-data-table.js +19 -136
  63. package/dist/collection/components/kup-drawer/kup-drawer.css +6 -8
  64. package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
  65. package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
  66. package/dist/collection/components/kup-form/kup-form.css +86 -0
  67. package/dist/collection/components/kup-form/kup-form.js +668 -0
  68. package/dist/collection/components/kup-grid/kup-grid.js +1 -4
  69. package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +10 -0
  70. package/dist/collection/components/kup-image-list/kup-image-list.css +166 -0
  71. package/dist/collection/components/kup-image-list/kup-image-list.js +432 -0
  72. package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
  73. package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +2 -9
  74. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
  75. package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -0
  76. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +18 -19
  77. package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
  78. package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
  79. package/dist/collection/components/kup-time-picker/kup-time-picker.js +2 -8
  80. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -4
  81. package/dist/collection/components/kup-tree/kup-tree.css +10 -3
  82. package/dist/collection/components/kup-tree/kup-tree.js +73 -142
  83. package/dist/collection/f-components/f-button/f-button.js +2 -2
  84. package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
  85. package/dist/collection/f-components/f-cell/f-cell.js +41 -121
  86. package/dist/collection/f-components/f-chip/f-chip.js +2 -1
  87. package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
  88. package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
  89. package/dist/collection/managers/kup-data/kup-data.js +98 -1
  90. package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +4 -2
  91. package/dist/collection/managers/kup-interact/kup-interact.js +1 -22
  92. package/dist/collection/managers/kup-language/kup-language-declarations.js +13 -0
  93. package/dist/collection/managers/kup-manager/kup-manager.js +21 -2
  94. package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
  95. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +21 -1
  96. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +53 -20
  97. package/dist/collection/types/GenericTypes.js +3 -0
  98. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +7 -11
  99. package/dist/esm/{cell-utils-f4bdbbc8.js → cell-utils-7fc84d4e.js} +3 -3
  100. package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
  101. package/dist/esm/{f-button-54a49fd8.js → f-button-2f6cc296.js} +4 -4
  102. package/dist/esm/f-cell-4428481c.js +415 -0
  103. package/dist/esm/f-checkbox-c51c4a75.js +27 -0
  104. package/dist/esm/{f-chip-a3035b4b.js → f-chip-b39eb49a.js} +6 -5
  105. package/dist/esm/{f-image-d32465e3.js → f-image-b08ebeb2.js} +2 -2
  106. package/dist/esm/f-paginator-utils-4fda6086.js +1884 -0
  107. package/dist/esm/{f-text-field-c25cc63f.js → f-text-field-184a5fb3.js} +3 -3
  108. package/dist/esm/{f-text-field-mdc-9fbbefc3.js → f-text-field-mdc-d42d3f9e.js} +2 -284
  109. package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
  110. package/dist/esm/ketchup.js +3 -3
  111. package/dist/esm/kup-accordion.entry.js +6 -6
  112. package/dist/esm/{kup-autocomplete_27.entry.js → kup-autocomplete_25.entry.js} +1775 -5685
  113. package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17113 -14789
  114. package/dist/esm/kup-calendar.entry.js +43 -35
  115. package/dist/esm/kup-cell.entry.js +9 -8
  116. package/dist/esm/kup-dash-list.entry.js +4 -4
  117. package/dist/esm/kup-dash_2.entry.js +4 -7
  118. package/dist/esm/kup-dashboard.entry.js +375 -0
  119. package/dist/esm/kup-drawer.entry.js +12 -5
  120. package/dist/esm/kup-field.entry.js +2 -2
  121. package/dist/esm/kup-form.entry.js +465 -0
  122. package/dist/esm/kup-iframe.entry.js +3 -3
  123. package/dist/esm/kup-image-list.entry.js +225 -0
  124. package/dist/esm/kup-lazy.entry.js +3 -3
  125. package/dist/esm/kup-magic-box.entry.js +4 -4
  126. package/dist/esm/kup-manager-3325b2d8.js +17000 -0
  127. package/dist/esm/kup-nav-bar.entry.js +3 -3
  128. package/dist/esm/kup-numeric-picker.entry.js +6 -6
  129. package/dist/esm/kup-photo-frame.entry.js +7 -9
  130. package/dist/esm/kup-probe.entry.js +2 -2
  131. package/dist/esm/kup-qlik.entry.js +2 -2
  132. package/dist/esm/kup-snackbar.entry.js +6 -6
  133. package/dist/esm/loader.js +3 -3
  134. package/dist/esm/polyfills/css-shim.js +1 -1
  135. package/dist/esm/{tslib.es6-8f2d44b6.js → tslib.es6-3eea2234.js} +1 -1
  136. package/dist/esm/{utils-f24319a0.js → utils-6373a07e.js} +2 -2
  137. package/dist/ketchup/ketchup.esm.js +1 -1
  138. package/dist/ketchup/p-006bc4d0.entry.js +1 -0
  139. package/dist/ketchup/p-0741da57.js +1 -0
  140. package/dist/ketchup/{p-669bde31.js → p-13e08580.js} +1 -1
  141. package/dist/ketchup/p-153697fb.entry.js +1 -0
  142. package/dist/ketchup/{p-9a61d8dc.entry.js → p-175edb62.entry.js} +1 -1
  143. package/dist/ketchup/{p-11e72a8c.entry.js → p-1db1d42b.entry.js} +1 -1
  144. package/dist/ketchup/{p-67842f1e.entry.js → p-30820f8f.entry.js} +1 -1
  145. package/dist/ketchup/p-35325834.entry.js +9 -0
  146. package/dist/ketchup/p-359e8bec.entry.js +40 -0
  147. package/dist/ketchup/{p-09d708c4.entry.js → p-3c7c92c0.entry.js} +1 -1
  148. package/dist/ketchup/p-41cf8703.entry.js +1 -0
  149. package/dist/ketchup/{p-e6709c26.entry.js → p-6127fccf.entry.js} +1 -1
  150. package/dist/ketchup/{p-203d6295.entry.js → p-6b82e4e2.entry.js} +1 -1
  151. package/dist/ketchup/p-704e60eb.js +30 -0
  152. package/dist/ketchup/{p-4f56932b.js → p-70660fe2.js} +1 -1
  153. package/dist/ketchup/{p-44192f30.entry.js → p-762c0382.entry.js} +1 -1
  154. package/dist/ketchup/{p-c58a2a81.entry.js → p-76947316.entry.js} +1 -1
  155. package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
  156. package/dist/ketchup/{p-bb8844bf.entry.js → p-8103b80a.entry.js} +1 -1
  157. package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
  158. package/dist/ketchup/p-9fa457d4.entry.js +1 -0
  159. package/dist/ketchup/{p-e8e3c9da.entry.js → p-a0ce8075.entry.js} +1 -1
  160. package/dist/ketchup/p-a203f78b.js +45 -0
  161. package/dist/ketchup/p-a804fe83.entry.js +27 -0
  162. package/dist/ketchup/{p-34748c91.js → p-ca9fd099.js} +1 -1
  163. package/dist/ketchup/p-caabb9ab.entry.js +1 -0
  164. package/dist/ketchup/p-cc3abf84.entry.js +1 -0
  165. package/dist/ketchup/p-cd5cfa7c.js +1 -0
  166. package/dist/ketchup/p-d2e76960.entry.js +1 -0
  167. package/dist/ketchup/p-d3b542b3.js +2 -0
  168. package/dist/ketchup/p-d7004ae4.js +1 -0
  169. package/dist/ketchup/{p-40f97429.js → p-d95c904b.js} +1 -1
  170. package/dist/ketchup/p-ddce3430.js +1 -0
  171. package/dist/ketchup/p-ee580b3a.entry.js +1 -0
  172. package/dist/ketchup/p-f49cb68e.js +1 -0
  173. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
  174. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -5
  175. package/dist/types/components/kup-box/kup-box.d.ts +0 -22
  176. package/dist/types/components/kup-dashboard/kup-dashboard-declarations.d.ts +61 -0
  177. package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +75 -0
  178. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -4
  179. package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -19
  180. package/dist/types/components/kup-form/kup-form-declarations.d.ts +48 -0
  181. package/dist/types/components/kup-form/kup-form.d.ts +68 -0
  182. package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +14 -0
  183. package/dist/types/components/kup-image-list/kup-image-list.d.ts +56 -0
  184. package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +3 -9
  185. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +6 -6
  186. package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
  187. package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
  188. package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
  189. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +3 -5
  190. package/dist/types/components/kup-tree/kup-tree.d.ts +1 -24
  191. package/dist/types/components.d.ts +512 -369
  192. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
  193. package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
  194. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
  195. package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +7 -0
  196. package/dist/types/managers/kup-data/kup-data.d.ts +3 -0
  197. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +13 -1
  198. package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +4 -0
  199. package/dist/types/managers/kup-manager/kup-manager.d.ts +12 -0
  200. package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
  201. package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +3 -3
  202. package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +17 -6
  203. package/dist/types/types/GenericTypes.d.ts +3 -0
  204. package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +1 -3
  205. package/package.json +15 -14
  206. package/dist/cjs/f-cell-8351cb84.js +0 -653
  207. package/dist/cjs/kup-manager-5c03da64.js +0 -8795
  208. package/dist/collection/assets/tooltip.js +0 -73
  209. package/dist/collection/components/kup-tooltip/kup-tooltip-declarations.js +0 -20
  210. package/dist/collection/components/kup-tooltip/kup-tooltip.css +0 -149
  211. package/dist/collection/components/kup-tooltip/kup-tooltip.js +0 -1205
  212. package/dist/collection/utils/helpers.js +0 -38
  213. package/dist/esm/f-cell-d5dac50b.js +0 -650
  214. package/dist/esm/kup-manager-9316a184.js +0 -8778
  215. package/dist/ketchup/p-12773ca8.js +0 -9
  216. package/dist/ketchup/p-34b74425.js +0 -1
  217. package/dist/ketchup/p-4173422f.entry.js +0 -1
  218. package/dist/ketchup/p-41741c28.entry.js +0 -1
  219. package/dist/ketchup/p-44f8da2a.js +0 -1
  220. package/dist/ketchup/p-7a74ad17.js +0 -1
  221. package/dist/ketchup/p-7ba8fa4a.entry.js +0 -39
  222. package/dist/ketchup/p-7de0d7e1.js +0 -1
  223. package/dist/ketchup/p-8418e8fa.entry.js +0 -1
  224. package/dist/ketchup/p-96bf19aa.entry.js +0 -1
  225. package/dist/ketchup/p-b0ddcce9.entry.js +0 -9
  226. package/dist/ketchup/p-b6c21223.entry.js +0 -27
  227. package/dist/ketchup/p-ca3d585b.entry.js +0 -1
  228. package/dist/ketchup/p-ecb7069b.js +0 -135
  229. package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +0 -93
  230. package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +0 -142
  231. package/dist/types/utils/helpers.d.ts +0 -4
@@ -12,8 +12,11 @@ export const fButtonUsers = [
12
12
  KupTagNames.BOX,
13
13
  KupTagNames.CALENDAR,
14
14
  KupTagNames.CARD,
15
+ KupTagNames.DASHBOARD,
15
16
  KupTagNames.DATA_TABLE,
16
17
  KupTagNames.DROPDOWN_BUTTON,
18
+ KupTagNames.FORM,
19
+ KupTagNames.IMAGE_LIST,
17
20
  KupTagNames.SNACKBAR,
18
21
  ];
19
22
  /**
@@ -23,6 +26,7 @@ export const fCellUsers = [
23
26
  KupTagNames.BOX,
24
27
  KupTagNames.CELL,
25
28
  KupTagNames.DATA_TABLE,
29
+ KupTagNames.FORM,
26
30
  KupTagNames.TREE,
27
31
  ];
28
32
  /**
@@ -32,7 +36,9 @@ export const fCheckboxUsers = [
32
36
  KupTagNames.BOX,
33
37
  KupTagNames.CELL,
34
38
  KupTagNames.CHECKBOX,
39
+ KupTagNames.DASHBOARD,
35
40
  KupTagNames.DATA_TABLE,
41
+ KupTagNames.FORM,
36
42
  KupTagNames.LIST,
37
43
  KupTagNames.TREE,
38
44
  ];
@@ -45,6 +51,7 @@ export const fChipUsers = [
45
51
  KupTagNames.CELL,
46
52
  KupTagNames.CHIP,
47
53
  KupTagNames.DATA_TABLE,
54
+ KupTagNames.FORM,
48
55
  KupTagNames.TREE,
49
56
  ];
50
57
  /**
@@ -60,9 +67,12 @@ export const fImageUsers = [
60
67
  KupTagNames.CARD,
61
68
  KupTagNames.CELL,
62
69
  KupTagNames.CHIP,
70
+ KupTagNames.DASHBOARD,
63
71
  KupTagNames.DATA_TABLE,
64
72
  KupTagNames.DROPDOWN_BUTTON,
73
+ KupTagNames.FORM,
65
74
  KupTagNames.IMAGE,
75
+ KupTagNames.IMAGE_LIST,
66
76
  KupTagNames.LIST,
67
77
  KupTagNames.MAGIC_BOX,
68
78
  KupTagNames.SNACKBAR,
@@ -76,7 +86,14 @@ export const fPaginatorUsers = [KupTagNames.BOX, KupTagNames.DATA_TABLE];
76
86
  /**
77
87
  * Components using the FSwitch functional component.
78
88
  */
79
- export const fSwitchUsers = [KupTagNames.SWITCH];
89
+ export const fSwitchUsers = [
90
+ KupTagNames.BOX,
91
+ KupTagNames.CELL,
92
+ KupTagNames.DATA_TABLE,
93
+ KupTagNames.FORM,
94
+ KupTagNames.SWITCH,
95
+ KupTagNames.TREE,
96
+ ];
80
97
  /**
81
98
  * Components using the FTextField functional component.
82
99
  */
@@ -86,8 +103,10 @@ export const fTextFieldUsers = [
86
103
  KupTagNames.CELL,
87
104
  KupTagNames.COLOR_PICKER,
88
105
  KupTagNames.COMBOBOX,
106
+ KupTagNames.DASHBOARD,
89
107
  KupTagNames.DATA_TABLE,
90
108
  KupTagNames.DATE_PICKER,
109
+ KupTagNames.FORM,
91
110
  KupTagNames.NUMERIC_PICKER,
92
111
  KupTagNames.TEXT_FIELD,
93
112
  KupTagNames.TIME_PICKER,
@@ -99,6 +118,7 @@ export const fTextFieldUsers = [
99
118
  export const rippleUsers = [
100
119
  KupTagNames.ACCORDION,
101
120
  KupTagNames.CARD,
121
+ KupTagNames.IMAGE_LIST,
102
122
  KupTagNames.TAB_BAR,
103
123
  KupTagNames.TREE,
104
124
  ];
@@ -20,15 +20,17 @@ export class KupTooltip {
20
20
  /**
21
21
  * Initializes KupTooltip.
22
22
  */
23
- constructor(delay) {
23
+ constructor(delay, fCellCallbacks) {
24
24
  _KupTooltip_instances.add(this);
25
25
  this.currentAnchor = null;
26
26
  this.delay = null;
27
27
  this.element = null;
28
+ this.fCellCallbacks = null;
28
29
  this.managedElements = null;
29
30
  this.timeout = null;
30
31
  _KupTooltip_clickCb.set(this, null);
31
32
  this.delay = delay ? delay : 125;
33
+ this.fCellCallbacks = fCellCallbacks ? fCellCallbacks : null;
32
34
  this.managedElements = new Set();
33
35
  document.addEventListener('pointermove', (e) => {
34
36
  const paths = e.composedPath();
@@ -38,13 +40,22 @@ export class KupTooltip {
38
40
  }
39
41
  const enterHandler = (anchor) => {
40
42
  this.timeout = null;
41
- requestAnimationFrame(anchor.kupTooltip.enter.bind(anchor.kupTooltip.enter, e));
43
+ const callbacks = anchor.classList.contains('f-cell')
44
+ ? this.fCellCallbacks
45
+ : anchor.kupTooltip;
46
+ requestAnimationFrame(callbacks.enter.bind(callbacks.enter, e, anchor));
42
47
  };
43
48
  const overHandler = (anchor) => {
44
- requestAnimationFrame(anchor.kupTooltip.over.bind(anchor.kupTooltip.over, e));
49
+ const callbacks = anchor.classList.contains('f-cell')
50
+ ? this.fCellCallbacks
51
+ : anchor.kupTooltip;
52
+ requestAnimationFrame(callbacks.over.bind(callbacks.over, e, anchor));
45
53
  };
46
- const leaveHandler = () => {
47
- requestAnimationFrame(this.currentAnchor.kupTooltip.leave.bind(this.currentAnchor.kupTooltip.leave, e));
54
+ const leaveHandler = (anchor) => {
55
+ const callbacks = this.currentAnchor.classList.contains('f-cell')
56
+ ? this.fCellCallbacks
57
+ : this.currentAnchor.kupTooltip;
58
+ requestAnimationFrame(callbacks.leave.bind(callbacks.leave, e, anchor));
48
59
  };
49
60
  // If the current anchor exists and is not included in the event path,
50
61
  // the leaving callback is fired.
@@ -54,8 +65,11 @@ export class KupTooltip {
54
65
  this.timeout = null;
55
66
  }
56
67
  else {
57
- if (this.currentAnchor.kupTooltip.leave) {
58
- leaveHandler();
68
+ const callbacks = this.currentAnchor.kupTooltip
69
+ ? this.currentAnchor.kupTooltip
70
+ : this.fCellCallbacks;
71
+ if (callbacks.leave) {
72
+ leaveHandler(this.currentAnchor);
59
73
  }
60
74
  }
61
75
  this.currentAnchor = null;
@@ -63,18 +77,25 @@ export class KupTooltip {
63
77
  else if (!this.timeout) {
64
78
  for (let index = 0; index < paths.length; index++) {
65
79
  const element = paths[index];
66
- if (this.managedElements.has(element)) {
80
+ if (element &&
81
+ (this.managedElements.has(element) ||
82
+ (this.fCellCallbacks &&
83
+ element.classList &&
84
+ element.classList.contains('f-cell')))) {
85
+ const callbacks = element.kupTooltip
86
+ ? element.kupTooltip
87
+ : this.fCellCallbacks;
67
88
  // If the current anchor is the same as the registered element found
68
89
  // in the path, the mouse over function is invoked
69
90
  if (this.currentAnchor === element) {
70
- if (element.kupTooltip.over) {
91
+ if (callbacks.over) {
71
92
  overHandler(element);
72
93
  }
73
94
  // Otherwise, the mouse enter callback will be invoked
74
95
  }
75
96
  else {
76
97
  this.currentAnchor = element;
77
- if (element.kupTooltip.enter) {
98
+ if (callbacks.enter) {
78
99
  if (this.delay) {
79
100
  this.timeout = setTimeout(enterHandler.bind(enterHandler, element), this.delay);
80
101
  }
@@ -88,6 +109,18 @@ export class KupTooltip {
88
109
  }
89
110
  });
90
111
  }
112
+ /**
113
+ * Destroys the tooltip.
114
+ */
115
+ destroy() {
116
+ if (this.element) {
117
+ this.element.remove();
118
+ this.element = null;
119
+ }
120
+ }
121
+ /**
122
+ * Hides the tooltip.
123
+ */
91
124
  hide() {
92
125
  if (this.element) {
93
126
  this.element.menuVisible = false;
@@ -95,6 +128,11 @@ export class KupTooltip {
95
128
  dom.ketchup.removeClickCallback(__classPrivateFieldGet(this, _KupTooltip_clickCb, "f"));
96
129
  }
97
130
  }
131
+ /**
132
+ * Displays the tooltip.
133
+ * @param {KupDynamicPositionAnchor} anchor - Anchor point of the tooltip: HTML element or x/y coordinates.
134
+ * @param {Partial<HTMLKupCardElement>} options - Props/attributes of the tooltip.
135
+ */
98
136
  show(anchor, options) {
99
137
  // Creates the card or updates it with new options
100
138
  if (!this.element) {
@@ -132,18 +170,13 @@ export class KupTooltip {
132
170
  /**
133
171
  * Registers an HTMLElement as KupTooltipAnchor, triggering callback invocation on mouse over.
134
172
  * @param {KupTooltipAnchor} element - The HTML element to be registered.
135
- * @param {(e: PointerEvent) => void} cbEnter - Callback invoked when hovering on the the element for the first time.
136
- * @param {(e: PointerEvent) => void} cbOver - Callback invoked when hovering on the element.
137
- * @param {(e: PointerEvent) => void} cbLeave - Callback invoked when leaving the element.
173
+ * @param {KupTooltipCallbacks} options - Optional callbacks.
138
174
  */
139
- register(element, cbEnter, cbOver, cbLeave) {
175
+ register(element, options) {
140
176
  this.managedElements.add(element);
141
- const kupTooltip = {
142
- enter: cbEnter,
143
- leave: cbLeave,
144
- over: cbOver,
145
- };
146
- element.kupTooltip = kupTooltip;
177
+ if (options !== null && options) {
178
+ element.kupTooltip = options;
179
+ }
147
180
  }
148
181
  /**
149
182
  * Unregisters an HTMLElement, preventing its attached callback from being invoked.
@@ -19,15 +19,18 @@ export var KupTagNames;
19
19
  KupTagNames["COMBOBOX"] = "KUP-COMBOBOX";
20
20
  KupTagNames["DASH"] = "KUP-DASH";
21
21
  KupTagNames["DASH_LIST"] = "KUP-DASH-LIST";
22
+ KupTagNames["DASHBOARD"] = "KUP-DASHBOARD";
22
23
  KupTagNames["DATA_TABLE"] = "KUP-DATA-TABLE";
23
24
  KupTagNames["DATE_PICKER"] = "KUP-DATE-PICKER";
24
25
  KupTagNames["DRAWER"] = "KUP-DRAWER";
25
26
  KupTagNames["DROPDOWN_BUTTON"] = "KUP-DROPDOWN-BUTTON";
26
27
  KupTagNames["FIELD"] = "KUP-FIELD";
28
+ KupTagNames["FORM"] = "KUP-FORM";
27
29
  KupTagNames["GAUGE"] = "KUP-GAUGE";
28
30
  KupTagNames["GRID"] = "KUP-GRID";
29
31
  KupTagNames["IFRAME"] = "KUP-IFRAME";
30
32
  KupTagNames["IMAGE"] = "KUP-IMAGE";
33
+ KupTagNames["IMAGE_LIST"] = "KUP-IMAGE-LIST";
31
34
  KupTagNames["LAZY"] = "KUP-LAZY";
32
35
  KupTagNames["LIST"] = "KUP-LIST";
33
36
  KupTagNames["MAGIC_BOX"] = "KUP-MAGIC-BOX";
@@ -1,5 +1,4 @@
1
1
  import { KupDynamicPositionPlacement, } from '../../managers/kup-dynamic-position/kup-dynamic-position-declarations';
2
- import { unsetTooltip } from '../helpers';
3
2
  import { FiltersColumnMenu } from '../filters/filters-column-menu';
4
3
  import { FilterInterval, } from '../filters/filters-declarations';
5
4
  import { getValueForDisplay, getValueForDisplay2 } from '../cell-utils';
@@ -26,12 +25,8 @@ export class KupColumnMenu {
26
25
  * Function called by the component when the column menu must be opened.
27
26
  * @param {KupDataTable | KupTree} comp - Component using the column menu.
28
27
  * @param {string} column - Name of the column.
29
- * @param {KupTooltip} tooltip - Tooltip of the component, when present.
30
28
  */
31
- open(comp, column, tooltip) {
32
- if (tooltip) {
33
- unsetTooltip(tooltip);
34
- }
29
+ open(comp, column) {
35
30
  this.filtersColumnMenuInstance.resetTextualFilters(comp.filters, column);
36
31
  }
37
32
  /**
@@ -308,8 +303,8 @@ export class KupColumnMenu {
308
303
  const data = props[0].data;
309
304
  if (comp.showFilters) {
310
305
  data.push({
311
- text: dom.ketchup.language.translate(KupLanguageGeneric.FILTERS),
312
- value: KupLanguageGeneric.FILTERS,
306
+ id: KupLanguageGeneric.FILTERS,
307
+ value: dom.ketchup.language.translate(KupLanguageGeneric.FILTERS),
313
308
  });
314
309
  }
315
310
  if ((comp.enableExtraColumns &&
@@ -317,14 +312,15 @@ export class KupColumnMenu {
317
312
  dom.ketchup.objects.canObjsHaveExtraColumns(column.objs))) ||
318
313
  comp.removableColumns) {
319
314
  data.push({
320
- text: dom.ketchup.language.translate(KupLanguageColumn.COLUMNS),
321
- value: KupLanguageColumn.COLUMNS,
315
+ id: KupLanguageColumn.COLUMNS,
316
+ value: dom.ketchup.language.translate(KupLanguageColumn.COLUMNS),
322
317
  });
323
318
  }
324
319
  if (!FiltersColumnMenu.isTree(comp)) {
325
320
  data.push({
326
321
  icon: 'settings',
327
- value: KupLanguageGeneric.SETTINGS,
322
+ id: KupLanguageGeneric.SETTINGS,
323
+ value: '',
328
324
  });
329
325
  }
330
326
  if (data.length > 0) {
@@ -1,5 +1,5 @@
1
- import { k as unformattedStringToFormattedStringNumber, m as unformattedStringToFormattedStringTime, o as unformattedStringToFormattedStringTimestamp, d as stringToNumber } from './utils-f24319a0.js';
2
- import { d as KupDatesFormats } from './kup-manager-9316a184.js';
1
+ import { u as unformattedStringToFormattedStringNumber, d as unformattedStringToFormattedStringTime, e as unformattedStringToFormattedStringTimestamp, h as stringToNumber } from './utils-6373a07e.js';
2
+ import { d as KupDatesFormats } from './kup-manager-3325b2d8.js';
3
3
 
4
4
  const dom = document.documentElement;
5
5
  // -------------
@@ -157,4 +157,4 @@ function localCompareAsInJava(t1, t2) {
157
157
  return t1Length - t2Length;
158
158
  }
159
159
 
160
- export { getValueForDisplay2 as a, getCellValueForDisplay as b, getColumnByName as c, compareValues as d, compareCell as e, formatToNumber as f, getValueForDisplay as g };
160
+ export { getValueForDisplay2 as a, getValueForDisplay as b, getCellValueForDisplay as c, compareValues as d, compareCell as e, formatToNumber as f, getColumnByName as g };
@@ -1,4 +1,4 @@
1
- import { _ as __spreadArray, a as __read, b as __extends, c as __assign, d as __values } from './tslib.es6-8f2d44b6.js';
1
+ import { c as __spreadArray, d as __read, _ as __extends, a as __assign, b as __values } from './tslib.es6-3eea2234.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -256,6 +256,31 @@ function matches(element, selector) {
256
256
  || element.msMatchesSelector;
257
257
  return nativeMatches.call(element, selector);
258
258
  }
259
+ /**
260
+ * Used to compute the estimated scroll width of elements. When an element is
261
+ * hidden due to display: none; being applied to a parent element, the width is
262
+ * returned as 0. However, the element will have a true width once no longer
263
+ * inside a display: none context. This method computes an estimated width when
264
+ * the element is hidden or returns the true width when the element is visble.
265
+ * @param {Element} element the element whose width to estimate
266
+ */
267
+ function estimateScrollWidth(element) {
268
+ // Check the offsetParent. If the element inherits display: none from any
269
+ // parent, the offsetParent property will be null (see
270
+ // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent).
271
+ // This check ensures we only clone the node when necessary.
272
+ var htmlEl = element;
273
+ if (htmlEl.offsetParent !== null) {
274
+ return htmlEl.scrollWidth;
275
+ }
276
+ var clone = htmlEl.cloneNode(true);
277
+ clone.style.setProperty('position', 'absolute');
278
+ clone.style.setProperty('transform', 'translate(-9999px, -9999px)');
279
+ document.documentElement.appendChild(clone);
280
+ var scrollWidth = clone.scrollWidth;
281
+ document.documentElement.removeChild(clone);
282
+ return scrollWidth;
283
+ }
259
284
 
260
285
  /**
261
286
  * @license
@@ -990,4 +1015,4 @@ var MDCRipple = /** @class */ (function (_super) {
990
1015
  return MDCRipple;
991
1016
  }(MDCComponent));
992
1017
 
993
- export { MDCRipple as M, MDCRippleFoundation as a };
1018
+ export { MDCRipple as M, MDCFoundation as a, MDCComponent as b, applyPassive as c, MDCRippleFoundation as d, estimateScrollWidth as e, matches as m };
@@ -1,6 +1,6 @@
1
- import { h } from './index-baeab1ac.js';
1
+ import { h } from './index-ad6ab214.js';
2
2
  import { F as FButtonStyling } from './f-button-declarations-b1b4cac4.js';
3
- import { F as FImage } from './f-image-d32465e3.js';
3
+ import { F as FImage } from './f-image-b08ebeb2.js';
4
4
 
5
5
  /*-------------------------------------------------*/
6
6
  /* C o m p o n e n t */
@@ -58,7 +58,7 @@ function renderButton(props) {
58
58
  const styleSpinnerContainer = {
59
59
  '--kup_button_spinner_height': propsFImage.sizeY,
60
60
  };
61
- return (h("button", { class: classObj, disabled: props.disabled, onBlur: props.onBlur, onClick: props.onClick, onFocus: props.onFocus, style: styleSpinnerContainer, type: "button" },
61
+ return (h("button", { class: classObj, disabled: props.disabled, onBlur: props.onBlur, onClick: props.onClick, onFocus: props.onFocus, style: styleSpinnerContainer, "aria-label": props.title, type: "button" },
62
62
  props.trailingIcon
63
63
  ? [
64
64
  h("span", { class: classLabelObj }, props.label),
@@ -93,7 +93,7 @@ function renderIconButton(props) {
93
93
  const iconOff = props.iconOff
94
94
  ? props.iconOff
95
95
  : props.icon + '_border';
96
- return (h("button", { class: classObj, disabled: props.disabled, onClick: props.onClick, style: styleSpinnerContainer, type: "button", value: props.checked ? 'on' : 'off' },
96
+ return (h("button", { class: classObj, disabled: props.disabled, onClick: props.onClick, style: styleSpinnerContainer, type: "button", value: props.checked ? 'on' : 'off', "aria-label": props.title },
97
97
  !props.showSpinner || props.disabled ? (h(FImage, Object.assign({}, propsFImage, { resource: props.toggable && !props.checked ? iconOff : props.icon, wrapperClass: `icon-button__icon kup-icon` }))) : null,
98
98
  props.toggable && !props.showSpinner ? (h(FImage, Object.assign({}, propsFImage, { resource: props.icon, wrapperClass: `icon-button__icon icon-button__icon--on kup-icon` }))) : null,
99
99
  props.showSpinner && !props.disabled ? (h("div", { class: "icon-button__spinner-container" },