@sme.up/ketchup 10.3.1 → 10.3.2

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 (254) hide show
  1. package/dist/cjs/{component-cb3b32f5.js → component-a6dd6c14.js} +1 -1
  2. package/dist/cjs/{f-cell-be0c55ac.js → f-cell-7a2faf7a.js} +8 -6
  3. package/dist/cjs/{f-chip-dc085b9b.js → f-chip-f2d6124b.js} +1 -1
  4. package/dist/cjs/{f-object-field-96e1c599.js → f-object-field-3810f288.js} +2 -2
  5. package/dist/cjs/{f-paginator-utils-3f233ebe.js → f-paginator-utils-3855e84c.js} +1 -1
  6. package/dist/cjs/{f-text-field-d91ab1e8.js → f-text-field-a34a5979.js} +2 -2
  7. package/dist/cjs/{f-text-field-mdc-2a3c8c01.js → f-text-field-mdc-29aae9c9.js} +1 -1
  8. package/dist/cjs/index.cjs.js +1 -1
  9. package/dist/cjs/ketchup.cjs.js +1 -1
  10. package/dist/cjs/kup-accordion.cjs.entry.js +247 -44
  11. package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
  12. package/dist/cjs/kup-autocomplete_29.cjs.entry.js +927 -894
  13. package/dist/cjs/kup-box.cjs.entry.js +9 -9
  14. package/dist/cjs/kup-calendar.cjs.entry.js +925 -87
  15. package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
  16. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  17. package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
  18. package/dist/cjs/{kup-data-table-helper-ff263f4f.js → kup-data-table-helper-f53032e7.js} +1 -1
  19. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-echart.cjs.entry.js +5 -4
  21. package/dist/cjs/kup-editor.cjs.entry.js +3 -3
  22. package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
  23. package/dist/cjs/kup-grid.cjs.entry.js +1 -1
  24. package/dist/cjs/kup-htm.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  26. package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
  27. package/dist/cjs/kup-input-panel.cjs.entry.js +58 -31
  28. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
  30. package/dist/cjs/{kup-manager-ecc44384.js → kup-manager-c70d3188.js} +122 -24
  31. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
  33. package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
  34. package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
  35. package/dist/cjs/kup-planner.cjs.entry.js +4 -4
  36. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  37. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  38. package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
  39. package/dist/cjs/kup-txt.cjs.entry.js +1 -1
  40. package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
  41. package/dist/cjs/kup-typography.cjs.entry.js +1 -1
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/assets/accordion.js +73 -18
  44. package/dist/collection/assets/dashboard.js +3 -9
  45. package/dist/collection/components/kup-accordion/kup-accordion-declarations.js +6 -1
  46. package/dist/collection/components/kup-accordion/kup-accordion.css +10 -2
  47. package/dist/collection/components/kup-accordion/kup-accordion.js +432 -54
  48. package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -0
  49. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +44 -28
  50. package/dist/collection/components/kup-calendar/kup-calendar.css +13 -0
  51. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +3 -3
  52. package/dist/collection/components/kup-card/kup-card-helper.js +3 -2
  53. package/dist/collection/components/kup-card/kup-card.css +16 -0
  54. package/dist/collection/components/kup-card/standard/kup-card-standard.js +10 -3
  55. package/dist/collection/components/kup-chip/kup-chip.js +5 -5
  56. package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
  57. package/dist/collection/components/kup-combobox/kup-combobox.js +37 -2
  58. package/dist/collection/components/kup-data-table/kup-data-table.js +45 -46
  59. package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
  60. package/dist/collection/components/kup-echart/kup-echart.js +4 -3
  61. package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -0
  62. package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +20 -14
  63. package/dist/collection/components/kup-input-panel/kup-input-panel.js +53 -13
  64. package/dist/collection/components/kup-tab-bar/kup-tab-bar-declarations.js +4 -0
  65. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +26 -43
  66. package/dist/collection/components/kup-toolbar/kup-toolbar.css +17 -6
  67. package/dist/collection/components/kup-tree/kup-tree.js +7 -10
  68. package/dist/collection/f-components/f-cell/f-cell.js +2 -1
  69. package/dist/collection/f-components/f-radio/f-radio.js +1 -1
  70. package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
  71. package/dist/collection/managers/kup-data/kup-data.js +2 -0
  72. package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +45 -1
  73. package/dist/collection/managers/kup-language/kup-language-declarations.js +2 -0
  74. package/dist/collection/managers/kup-manager/kup-manager.js +3 -2
  75. package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning-declarations.js +1 -0
  76. package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning.js +25 -0
  77. package/dist/collection/utils/cell-utils.js +21 -0
  78. package/dist/components/index.js +1 -1
  79. package/dist/components/kup-accordion.js +253 -45
  80. package/dist/components/kup-activity-timeline.js +2 -2
  81. package/dist/components/kup-autocomplete.js +1 -1
  82. package/dist/components/kup-badge.js +1 -1
  83. package/dist/components/kup-box.js +1 -1
  84. package/dist/components/kup-button-list.js +1 -1
  85. package/dist/components/kup-button.js +1 -1
  86. package/dist/components/kup-calendar.js +925 -87
  87. package/dist/components/kup-card-list.js +3 -3
  88. package/dist/components/kup-card.js +1 -1
  89. package/dist/components/kup-cell.js +2 -2
  90. package/dist/components/kup-chart.js +1 -1
  91. package/dist/components/kup-checkbox.js +1 -1
  92. package/dist/components/kup-chip.js +1 -1
  93. package/dist/components/kup-color-picker.js +1 -1
  94. package/dist/components/kup-combobox.js +1 -1
  95. package/dist/components/kup-dashboard.js +2 -2
  96. package/dist/components/kup-data-table.js +1 -1
  97. package/dist/components/kup-date-picker.js +1 -1
  98. package/dist/components/kup-dialog.js +1 -1
  99. package/dist/components/kup-drawer.js +2 -2
  100. package/dist/components/kup-dropdown-button.js +1 -1
  101. package/dist/components/kup-echart.js +1 -1
  102. package/dist/components/kup-editor.js +1 -1
  103. package/dist/components/kup-family-tree.js +3 -3
  104. package/dist/components/kup-file-upload.js +1 -1
  105. package/dist/components/kup-form.js +1 -1
  106. package/dist/components/kup-gauge.js +1 -1
  107. package/dist/components/kup-grid.js +1 -1
  108. package/dist/components/kup-htm.js +2 -2
  109. package/dist/components/kup-iframe.js +2 -2
  110. package/dist/components/kup-image-list.js +2 -2
  111. package/dist/components/kup-image.js +1 -1
  112. package/dist/components/kup-input-panel.js +55 -27
  113. package/dist/components/kup-lazy.js +2 -2
  114. package/dist/components/kup-list.js +1 -1
  115. package/dist/components/kup-magic-box.js +4 -4
  116. package/dist/components/kup-nav-bar.js +2 -2
  117. package/dist/components/kup-numeric-picker.js +2 -2
  118. package/dist/components/kup-object-field.js +2 -2
  119. package/dist/components/kup-pdf.js +2 -2
  120. package/dist/components/kup-planner.js +2 -2
  121. package/dist/components/kup-probe.js +2 -2
  122. package/dist/components/kup-progress-bar.js +1 -1
  123. package/dist/components/kup-qlik.js +2 -2
  124. package/dist/components/kup-radio.js +1 -1
  125. package/dist/components/kup-rating.js +1 -1
  126. package/dist/components/kup-snackbar.js +2 -2
  127. package/dist/components/kup-spinner.js +1 -1
  128. package/dist/components/kup-switch.js +1 -1
  129. package/dist/components/kup-tab-bar.js +1 -1
  130. package/dist/components/kup-text-field.js +1 -1
  131. package/dist/components/kup-time-picker.js +1 -1
  132. package/dist/components/kup-toolbar.js +1 -1
  133. package/dist/components/kup-tree.js +1 -1
  134. package/dist/components/kup-txt.js +2 -2
  135. package/dist/components/kup-typography-list.js +2 -2
  136. package/dist/components/kup-typography.js +2 -2
  137. package/dist/components/{p-680ee680.js → p-286915d4.js} +2 -2
  138. package/dist/components/{p-685106b4.js → p-3ba7c133.js} +2 -2
  139. package/dist/components/{p-e0031e17.js → p-55fda958.js} +2025 -1983
  140. package/dist/components/{p-8037ef07.js → p-7bdb5142.js} +4 -4
  141. package/dist/components/{p-73922583.js → p-9859e801.js} +122 -25
  142. package/dist/components/{p-39e807bc.js → p-a22e5ee4.js} +6 -5
  143. package/dist/esm/{component-879e99bf.js → component-a35bc7f1.js} +1 -1
  144. package/dist/esm/{f-cell-eea4e836.js → f-cell-ae0c965d.js} +8 -6
  145. package/dist/esm/{f-chip-72bcea75.js → f-chip-29242e70.js} +1 -1
  146. package/dist/esm/{f-object-field-1827746c.js → f-object-field-75069ac2.js} +2 -2
  147. package/dist/esm/{f-paginator-utils-e785d34e.js → f-paginator-utils-212f93c3.js} +1 -1
  148. package/dist/esm/{f-text-field-591dc383.js → f-text-field-ebe023fb.js} +2 -2
  149. package/dist/esm/{f-text-field-mdc-9a862967.js → f-text-field-mdc-81ce6c7c.js} +1 -1
  150. package/dist/esm/index.js +1 -1
  151. package/dist/esm/ketchup.js +1 -1
  152. package/dist/esm/kup-accordion.entry.js +247 -44
  153. package/dist/esm/kup-activity-timeline.entry.js +2 -2
  154. package/dist/esm/kup-autocomplete_29.entry.js +164 -131
  155. package/dist/esm/kup-box.entry.js +9 -9
  156. package/dist/esm/kup-calendar.entry.js +925 -87
  157. package/dist/esm/kup-card-list.entry.js +1 -1
  158. package/dist/esm/kup-cell.entry.js +5 -5
  159. package/dist/esm/kup-dashboard.entry.js +4 -4
  160. package/dist/esm/{kup-data-table-helper-0fbe9df1.js → kup-data-table-helper-ca11e6e9.js} +1 -1
  161. package/dist/esm/kup-drawer.entry.js +1 -1
  162. package/dist/esm/kup-echart.entry.js +5 -4
  163. package/dist/esm/kup-editor.entry.js +3 -3
  164. package/dist/esm/kup-family-tree.entry.js +1 -1
  165. package/dist/esm/kup-grid.entry.js +1 -1
  166. package/dist/esm/kup-htm.entry.js +1 -1
  167. package/dist/esm/kup-iframe.entry.js +1 -1
  168. package/dist/esm/kup-image-list.entry.js +6 -6
  169. package/dist/esm/kup-input-panel.entry.js +58 -31
  170. package/dist/esm/kup-lazy.entry.js +1 -1
  171. package/dist/esm/kup-magic-box.entry.js +1 -1
  172. package/dist/esm/{kup-manager-a3f8ee8f.js → kup-manager-63a8048f.js} +122 -25
  173. package/dist/esm/kup-nav-bar.entry.js +1 -1
  174. package/dist/esm/kup-numeric-picker.entry.js +4 -4
  175. package/dist/esm/kup-object-field.entry.js +3 -3
  176. package/dist/esm/kup-pdf.entry.js +1 -1
  177. package/dist/esm/kup-planner.entry.js +4 -4
  178. package/dist/esm/kup-probe.entry.js +1 -1
  179. package/dist/esm/kup-qlik.entry.js +1 -1
  180. package/dist/esm/kup-snackbar.entry.js +1 -1
  181. package/dist/esm/kup-txt.entry.js +1 -1
  182. package/dist/esm/kup-typography-list.entry.js +1 -1
  183. package/dist/esm/kup-typography.entry.js +1 -1
  184. package/dist/esm/loader.js +1 -1
  185. package/dist/ketchup/index.esm.js +1 -1
  186. package/dist/ketchup/ketchup.esm.js +1 -1
  187. package/dist/ketchup/p-102d35b1.js +1 -0
  188. package/dist/ketchup/p-11e54526.entry.js +1 -0
  189. package/dist/ketchup/{p-5e55604b.entry.js → p-260587c5.entry.js} +1 -1
  190. package/dist/ketchup/p-3533879b.entry.js +1 -0
  191. package/dist/ketchup/{p-8cf7b4a6.entry.js → p-434f2c39.entry.js} +1 -1
  192. package/dist/ketchup/{p-cd5db3b1.entry.js → p-4365fbd3.entry.js} +1 -1
  193. package/dist/ketchup/p-43f12940.entry.js +1 -0
  194. package/dist/ketchup/{p-442a16b1.entry.js → p-4a64f9f2.entry.js} +1 -1
  195. package/dist/ketchup/{p-64e064f0.js → p-4cfa35bc.js} +1 -1
  196. package/dist/ketchup/{p-d2e3f987.entry.js → p-5bf3d60d.entry.js} +2 -2
  197. package/dist/ketchup/p-5d28e8e0.entry.js +8 -0
  198. package/dist/ketchup/{p-932940cb.js → p-610faea9.js} +1 -1
  199. package/dist/ketchup/{p-2faa7118.entry.js → p-6c41cd20.entry.js} +1 -1
  200. package/dist/ketchup/{p-dcf2c5c0.entry.js → p-6f1dec16.entry.js} +1 -1
  201. package/dist/ketchup/{p-f1886258.js → p-7375d456.js} +1 -1
  202. package/dist/ketchup/{p-2f0664cb.entry.js → p-7b326bde.entry.js} +1 -1
  203. package/dist/ketchup/{p-c4054aba.js → p-7db300e0.js} +1 -1
  204. package/dist/ketchup/{p-36ec5bc3.entry.js → p-7dfc42f0.entry.js} +1 -1
  205. package/dist/ketchup/p-81743364.entry.js +1 -0
  206. package/dist/ketchup/p-8610d5b5.js +21 -0
  207. package/dist/ketchup/{p-beef4fe9.entry.js → p-8ba1d444.entry.js} +1 -1
  208. package/dist/ketchup/{p-a4168ce9.entry.js → p-93541362.entry.js} +1 -1
  209. package/dist/ketchup/{p-ee0836a4.entry.js → p-9b200a90.entry.js} +1 -1
  210. package/dist/ketchup/{p-43dc9f87.entry.js → p-9baa1d6d.entry.js} +1 -1
  211. package/dist/ketchup/{p-57a93686.entry.js → p-a2d40711.entry.js} +1 -1
  212. package/dist/ketchup/{p-0f9ae966.entry.js → p-b068a383.entry.js} +1 -1
  213. package/dist/ketchup/{p-2c11b778.entry.js → p-b6beace3.entry.js} +1 -1
  214. package/dist/ketchup/{p-5340f777.entry.js → p-b91e3bae.entry.js} +1 -1
  215. package/dist/ketchup/{p-4c5b911e.entry.js → p-bc789017.entry.js} +1 -1
  216. package/dist/ketchup/{p-79e580bc.entry.js → p-c8cd012e.entry.js} +1 -1
  217. package/dist/ketchup/{p-d9ae70bb.entry.js → p-d84e4e90.entry.js} +1 -1
  218. package/dist/ketchup/{p-d1fa33e0.js → p-da694791.js} +1 -1
  219. package/dist/ketchup/{p-8140c1d2.js → p-e705eb4a.js} +1 -1
  220. package/dist/ketchup/{p-21a2d25a.entry.js → p-e7293ae8.entry.js} +1 -1
  221. package/dist/ketchup/{p-283f7bfc.entry.js → p-eb090acd.entry.js} +1 -1
  222. package/dist/ketchup/{p-d03527d8.entry.js → p-fb7c0958.entry.js} +1 -1
  223. package/dist/ketchup/p-fb82cad9.entry.js +1 -0
  224. package/dist/ketchup/{p-6fe57b1a.entry.js → p-fe42ae2d.entry.js} +1 -1
  225. package/dist/types/components/kup-accordion/kup-accordion-declarations.d.ts +14 -7
  226. package/dist/types/components/kup-accordion/kup-accordion.d.ts +62 -6
  227. package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +3 -1
  228. package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +7 -2
  229. package/dist/types/components/kup-card/kup-card-declarations.d.ts +1 -1
  230. package/dist/types/components/kup-card/kup-card-helper.d.ts +2 -1
  231. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +2 -1
  232. package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
  233. package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +2 -1
  234. package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +1 -1
  235. package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +6 -0
  236. package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +6 -1
  237. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +1 -5
  238. package/dist/types/components.d.ts +86 -21
  239. package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
  240. package/dist/types/managers/kup-dynamic-position/kup-dynamic-position.d.ts +1 -0
  241. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +3 -1
  242. package/dist/types/managers/kup-perf-tuning/kup-perf-tuning-declarations.d.ts +3 -1
  243. package/dist/types/managers/kup-perf-tuning/kup-perf-tuning.d.ts +1 -0
  244. package/dist/types/utils/cell-utils.d.ts +2 -0
  245. package/package.json +2 -2
  246. package/dist/ketchup/p-0eea54ac.js +0 -1
  247. package/dist/ketchup/p-1a9fb6e7.entry.js +0 -1
  248. package/dist/ketchup/p-32a6feed.entry.js +0 -9
  249. package/dist/ketchup/p-4c16edda.entry.js +0 -1
  250. package/dist/ketchup/p-e1281898.entry.js +0 -1
  251. package/dist/ketchup/p-ec86f88f.entry.js +0 -1
  252. package/dist/ketchup/p-fb4f10d5.js +0 -21
  253. package/dist/ketchup/p-fc750bff.entry.js +0 -1
  254. /package/dist/ketchup/{p-d4a879fc.js → p-c56195a0.js} +0 -0
@@ -1,3 +1,20 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m")
3
+ throw new TypeError("Private method is not writable");
4
+ if (kind === "a" && !f)
5
+ throw new TypeError("Private accessor was defined without a setter");
6
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
7
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
8
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
9
+ };
10
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a getter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
15
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
16
+ };
17
+ var _KupAccordion_clickCbDropCard, _KupAccordion_dropDownActionCardAnchor;
1
18
  import { forceUpdate, h, Host, } from "@stencil/core";
2
19
  import { MDCRipple } from "@material/ripple";
3
20
  import { KupComponentSizing, } from "../../types/GenericTypes";
@@ -7,24 +24,70 @@ import { KupAccordionProps, } from "./kup-accordion-declarations";
7
24
  import { FImage } from "../../f-components/f-image/f-image";
8
25
  import { componentWrapperId } from "../../variables/GenericVariables";
9
26
  import { KupThemeColorValues, KupThemeIconValues, } from "../../managers/kup-theme/kup-theme-declarations";
27
+ import { KupDynamicPositionPlacement, } from "../../managers/kup-dynamic-position/kup-dynamic-position-declarations";
10
28
  export class KupAccordion {
11
29
  constructor() {
12
30
  /*-------------------------------------------------*/
13
31
  /* I n t e r n a l V a r i a b l e s */
14
32
  /*-------------------------------------------------*/
33
+ this.toolbarState = [];
34
+ this.infoState = [];
15
35
  /**
16
36
  * Instance of the KupManager class.
17
37
  */
18
38
  this.kupManager = kupManagerInstance();
39
+ _KupAccordion_clickCbDropCard.set(this, null);
19
40
  /**
20
41
  * Instance of the KupManager class.
21
42
  */
22
43
  this.slotsNames = [];
44
+ _KupAccordion_dropDownActionCardAnchor.set(this, null);
23
45
  this.selectedItems = [];
24
46
  this.customStyle = '';
25
47
  this.data = null;
48
+ this.infoIcon = false;
26
49
  this.ripple = false;
50
+ this.toolbar = false;
27
51
  this.sizing = KupComponentSizing.SMALL;
52
+ this.toolbarCallback = undefined;
53
+ this.infoCallback = undefined;
54
+ }
55
+ onKupBlur(node) {
56
+ this.kupBlur.emit({
57
+ comp: this,
58
+ id: this.rootElement.id,
59
+ node: node,
60
+ });
61
+ }
62
+ onKupIconClick(el) {
63
+ if (!el) {
64
+ this.kupManager.debug.logMessage(this, 'onKupIconClick: Element is null');
65
+ return;
66
+ }
67
+ __classPrivateFieldSet(this, _KupAccordion_dropDownActionCardAnchor, el, "f");
68
+ this.createDropDownToolbarList();
69
+ }
70
+ onKupInfoIconClick(el) {
71
+ if (!el) {
72
+ this.kupManager.debug.logMessage(this, 'onKupIconClick: Element is null');
73
+ return;
74
+ }
75
+ __classPrivateFieldSet(this, _KupAccordion_dropDownActionCardAnchor, el, "f");
76
+ this.createDropDownInfoList();
77
+ }
78
+ onKupFocus(node) {
79
+ this.kupFocus.emit({
80
+ comp: this,
81
+ id: this.rootElement.id,
82
+ node: node,
83
+ });
84
+ }
85
+ onKupToolbarItemClick(e) {
86
+ this.kupToolbarItemClick.emit({
87
+ comp: this,
88
+ id: this.rootElement.id,
89
+ node: e.detail.selected,
90
+ });
28
91
  }
29
92
  /*-------------------------------------------------*/
30
93
  /* W a t c h e r s */
@@ -40,6 +103,22 @@ export class KupAccordion {
40
103
  }
41
104
  }
42
105
  }
106
+ updateSelectedItems() {
107
+ var _a;
108
+ const ids = [];
109
+ if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) {
110
+ for (let i = 0; i < this.data.length; i++) {
111
+ const node = this.data[i];
112
+ if (node.contentVisible === undefined) {
113
+ node.contentVisible = true;
114
+ }
115
+ if (node.contentVisible) {
116
+ ids.push(node.id);
117
+ }
118
+ }
119
+ }
120
+ this.selectedItems = ids;
121
+ }
43
122
  /*-------------------------------------------------*/
44
123
  /* P u b l i c M e t h o d s */
45
124
  /*-------------------------------------------------*/
@@ -48,12 +127,10 @@ export class KupAccordion {
48
127
  */
49
128
  async collapseAll() {
50
129
  const ids = [];
51
- for (let i = 0; i < this.data.columns.length; i++) {
52
- const column = this.data.columns[i];
53
- const itemName = column.name;
54
- if (!this.isItemExpandible(itemName) &&
55
- this.isItemSelected(itemName)) {
56
- ids.push(itemName);
130
+ for (let i = 0; i < this.data.length; i++) {
131
+ const node = this.data[i];
132
+ if (!this.isItemExpandible(node) && this.isItemSelected(node)) {
133
+ ids.push(node.id);
57
134
  }
58
135
  }
59
136
  this.selectedItems = ids;
@@ -63,11 +140,10 @@ export class KupAccordion {
63
140
  */
64
141
  async expandAll() {
65
142
  const ids = [];
66
- for (let i = 0; i < this.data.columns.length; i++) {
67
- const column = this.data.columns[i];
68
- const itemName = column.name;
69
- if (this.isItemExpandible(itemName)) {
70
- ids.push(itemName);
143
+ for (let i = 0; i < this.data.length; i++) {
144
+ const node = this.data[i];
145
+ if (this.isItemExpandible(node)) {
146
+ ids.push(node.id);
71
147
  }
72
148
  }
73
149
  this.selectedItems = ids;
@@ -97,34 +173,32 @@ export class KupAccordion {
97
173
  * This method activates or deactivates an item
98
174
  * @param {string} itemName - Name of the item.
99
175
  */
100
- async toggleItem(itemName) {
101
- const isItemExpandible = this.isItemExpandible(itemName);
102
- const ids = [...this.selectedItems];
103
- if (ids.includes(itemName)) {
104
- ids.splice(ids.indexOf(itemName), 1);
176
+ async toggleItem(node) {
177
+ if (!this.isItemExpandible(node)) {
178
+ return;
105
179
  }
106
- else {
107
- ids.push(itemName);
108
- }
109
- this.selectedItems = ids;
110
- if (!isItemExpandible) {
111
- this.kupAccordionItemSelected.emit({
112
- comp: this,
113
- id: this.rootElement.id,
114
- itemName: itemName,
115
- });
180
+ if (node.contentVisible === undefined) {
181
+ node.contentVisible = true;
116
182
  }
183
+ node.contentVisible = !node.contentVisible;
184
+ this.updateSelectedItems();
185
+ this.kupClick.emit({
186
+ comp: this,
187
+ id: this.rootElement.id,
188
+ node: node,
189
+ });
117
190
  }
118
191
  /*-------------------------------------------------*/
119
192
  /* P r i v a t e M e t h o d s */
120
193
  /*-------------------------------------------------*/
121
- isItemExpandible(itemName) {
122
- return this.slotsNames.includes(itemName);
194
+ isItemExpandible(item) {
195
+ return item.expandable || this.slotsNames.includes(item.id);
123
196
  }
124
- isItemSelected(itemName) {
125
- return this.selectedItems.includes(itemName);
197
+ isItemSelected(item) {
198
+ return this.selectedItems.includes(item.id);
126
199
  }
127
200
  renderItems() {
201
+ var _a, _b;
128
202
  const items = [];
129
203
  const slots = Array.prototype.slice.call(this.rootElement.children, 0);
130
204
  this.slotsNames = [];
@@ -132,11 +206,10 @@ export class KupAccordion {
132
206
  const slot = slots[index];
133
207
  this.slotsNames.push(slot.slot);
134
208
  }
135
- for (let i = 0; i < this.data.columns.length; i++) {
136
- const column = this.data.columns[i];
137
- const itemName = column.name;
138
- const isItemSelected = this.isItemSelected(itemName);
139
- const isItemExpandible = this.isItemExpandible(itemName);
209
+ for (let i = 0; i < this.data.length; i++) {
210
+ const node = this.data[i];
211
+ const isItemSelected = this.isItemSelected(node);
212
+ const isItemExpandible = this.isItemExpandible(node);
140
213
  const itemHeaderClass = {
141
214
  'accordion-item__header': true,
142
215
  'accordion-item__header--selected': !isItemExpandible && isItemSelected ? true : false,
@@ -150,10 +223,129 @@ export class KupAccordion {
150
223
  ? true
151
224
  : false,
152
225
  };
153
- items.push(h("div", { class: "accordion-item" }, h("div", { tabindex: "1", title: column.title, class: itemHeaderClass, onClick: () => this.toggleItem(itemName) }, column.icon ? (h(FImage, { color: `var(${KupThemeColorValues.ICON})`, resource: column.icon, sizeX: "1.5em", sizeY: "1.5em", wrapperClass: "accordion-item__icon" })) : null, h("span", { class: "accordion-item__text" }, column.title), isItemExpandible ? (h("span", { class: `accordion-item__dropdown kup-icon ${KupThemeIconValues.DROPDOWN.replace('--', '')}` })) : null), h("div", { class: itemContentClass }, h("slot", { name: column.name }))));
226
+ const wrapper = (h("div", { class: "accordion-rigtbuttons" }, this.infoIcon && this.infoCallback && (h(FImage, { resource: "info_outline", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
227
+ event.stopPropagation();
228
+ const el = event.currentTarget;
229
+ this.infoState = await this.infoCallback();
230
+ if (this.infoState.length > 0) {
231
+ this.onKupInfoIconClick(el);
232
+ }
233
+ else {
234
+ this.kupManager.debug.logMessage(this, 'InfoIcon data is empty, not opening dropdown.');
235
+ }
236
+ }, wrapperClass: "tab__iconToolbar iconInfo" })), this.toolbar && this.toolbarCallback && (h(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
237
+ var _a;
238
+ event.stopPropagation();
239
+ const el = event.currentTarget;
240
+ this.toolbarState =
241
+ await this.toolbarCallback();
242
+ if (((_a = this.toolbarState) === null || _a === void 0 ? void 0 : _a.length) > 0) {
243
+ this.onKupIconClick(el);
244
+ }
245
+ else {
246
+ this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
247
+ }
248
+ }, wrapperClass: "tab__iconToolbar iconToolbar" })), isItemExpandible ? (h("div", { class: `accordion-item__dropdown kup-icon ${KupThemeIconValues.DROPDOWN.replace('--', '')}` })) : null));
249
+ items.push(h("div", { class: "accordion-item" }, h("div", { tabindex: i, title: (_a = node.title) !== null && _a !== void 0 ? _a : null, class: itemHeaderClass, onClick: (e) => {
250
+ e.stopPropagation();
251
+ this.toggleItem(node);
252
+ }, onBlur: () => this.onKupBlur(node), onFocus: () => this.onKupFocus(node) }, node.icon ? (h(FImage, { color: `var(${KupThemeColorValues.PRIMARY})`, resource: node.icon, placeholderResource: node.placeholderIcon, sizeX: "1.5em", sizeY: "1.5em", wrapperClass: "accordion-item__icon" })) : null, node.value ? (h("span", { class: "accordion-item__text" }, (_b = node.value) !== null && _b !== void 0 ? _b : '')) : null, wrapper), h("div", { class: itemContentClass }, h("slot", { name: node.id }))));
154
253
  }
155
254
  return items;
156
255
  }
256
+ closeRowToolbarList() {
257
+ if (this.toolbarList) {
258
+ this.kupManager.dynamicPosition.stop(this.toolbarList);
259
+ this.kupManager.removeClickCallback(__classPrivateFieldGet(this, _KupAccordion_clickCbDropCard, "f"));
260
+ this.toolbarList.remove();
261
+ this.kupManager.dynamicPosition.unregister([this.toolbarList]);
262
+ this.toolbarList = null;
263
+ }
264
+ }
265
+ /**
266
+ * Create dropdown list for toolbar
267
+ */
268
+ createDropDownToolbarList() {
269
+ if (!__classPrivateFieldGet(this, _KupAccordion_dropDownActionCardAnchor, "f")) {
270
+ this.kupManager.debug.logMessage(this, 'createDropDownToolbarList: Anchor is null!');
271
+ return;
272
+ }
273
+ if (this.toolbarList) {
274
+ this.closeRowToolbarList();
275
+ }
276
+ if (this.toolbarState.length === 0) {
277
+ this.kupManager.debug.logMessage(this, 'No toolbar state available.');
278
+ return;
279
+ }
280
+ const listEl = document.createElement('kup-toolbar');
281
+ listEl.data = this.toolbarState;
282
+ listEl.addEventListener('kup-toolbar-click', (e) => {
283
+ this.onKupToolbarItemClick(e);
284
+ setTimeout(() => {
285
+ this.closeRowToolbarList();
286
+ }, 0);
287
+ });
288
+ this.toolbarList = listEl;
289
+ __classPrivateFieldSet(this, _KupAccordion_clickCbDropCard, {
290
+ cb: () => {
291
+ this.closeRowToolbarList();
292
+ },
293
+ el: this.toolbarList,
294
+ }, "f");
295
+ this.kupManager.addClickCallback(__classPrivateFieldGet(this, _KupAccordion_clickCbDropCard, "f"), true);
296
+ this.rootElement.shadowRoot.appendChild(this.toolbarList);
297
+ requestAnimationFrame(() => {
298
+ if (!__classPrivateFieldGet(this, _KupAccordion_dropDownActionCardAnchor, "f")) {
299
+ this.kupManager.debug.logMessage(this, 'DropDown anchor is still null after delay!');
300
+ return;
301
+ }
302
+ this.kupManager.dynamicPosition.register(this.toolbarList, __classPrivateFieldGet(this, _KupAccordion_dropDownActionCardAnchor, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
303
+ this.kupManager.dynamicPosition.start(this.toolbarList);
304
+ });
305
+ }
306
+ /**
307
+ * Create dropdown list for tab info icon
308
+ */
309
+ createDropDownInfoList() {
310
+ if (!__classPrivateFieldGet(this, _KupAccordion_dropDownActionCardAnchor, "f")) {
311
+ this.kupManager.debug.logMessage(this, 'createDropDownToolbarList: Anchor is null!');
312
+ return;
313
+ }
314
+ if (this.infoList) {
315
+ this.closeInfoDataList();
316
+ }
317
+ if (this.infoState.length === 0) {
318
+ this.kupManager.debug.logMessage(this, 'No toolbar state available.');
319
+ return;
320
+ }
321
+ const listEl = document.createElement('kup-list');
322
+ listEl.data = this.infoState;
323
+ this.infoList = listEl;
324
+ __classPrivateFieldSet(this, _KupAccordion_clickCbDropCard, {
325
+ cb: () => {
326
+ this.closeInfoDataList();
327
+ },
328
+ el: this.infoList,
329
+ }, "f");
330
+ this.kupManager.addClickCallback(__classPrivateFieldGet(this, _KupAccordion_clickCbDropCard, "f"), true);
331
+ this.rootElement.shadowRoot.appendChild(this.infoList);
332
+ requestAnimationFrame(() => {
333
+ this.kupManager.dynamicPosition.register(this.infoList, __classPrivateFieldGet(this, _KupAccordion_dropDownActionCardAnchor, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
334
+ this.kupManager.dynamicPosition.start(this.infoList);
335
+ });
336
+ }
337
+ /**
338
+ * Destroy dropdown list for tab info icon
339
+ */
340
+ closeInfoDataList() {
341
+ if (this.infoList) {
342
+ this.kupManager.dynamicPosition.stop(this.infoList);
343
+ this.kupManager.removeClickCallback(__classPrivateFieldGet(this, _KupAccordion_clickCbDropCard, "f"));
344
+ this.infoList.remove();
345
+ this.kupManager.dynamicPosition.unregister([this.infoList]);
346
+ this.infoList = null;
347
+ }
348
+ }
157
349
  /*-------------------------------------------------*/
158
350
  /* L i f e c y c l e H o o k s */
159
351
  /*-------------------------------------------------*/
@@ -162,6 +354,7 @@ export class KupAccordion {
162
354
  this.kupManager.theme.register(this);
163
355
  }
164
356
  componentDidLoad() {
357
+ this.updateSelectedItems();
165
358
  this.applyRipple();
166
359
  this.kupManager.debug.logLoad(this, true);
167
360
  }
@@ -181,8 +374,8 @@ export class KupAccordion {
181
374
  this.kupManager.debug.logRender(this, true);
182
375
  }
183
376
  render() {
184
- const content = this.data && this.data.columns ? this.renderItems() : null;
185
- return (h(Host, { key: '6bccc41c0680bb83ec429fba199468a8bcdc3ff9' }, h("style", { key: '5051d2c6cfb8a385568db37969402e965323cc6f' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '632bfcd9acb77fa135b3e925155fdcb30930475f', id: componentWrapperId }, h("div", { key: 'bc7ffd6b0a12fdd22418e0319a595778ee37bad6', class: "accordion" }, content))));
377
+ const content = this.data && this.data.length ? this.renderItems() : null;
378
+ return (h(Host, { key: '160f982fd131a7658aca021617c4e7f567193ad3' }, h("style", { key: 'c30ccb77782b4c1826da9c2646aab3e3c2cb7b2d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '17904c4792e45fb3ac69dfc813b58020bf62b83d', id: componentWrapperId }, h("div", { key: 'c0870a1b510b2733a1b104a467822144a5f51efb', class: "accordion" }, content))));
186
379
  }
187
380
  disconnectedCallback() {
188
381
  this.kupManager.theme.unregister(this);
@@ -229,13 +422,13 @@ export class KupAccordion {
229
422
  "type": "unknown",
230
423
  "mutable": false,
231
424
  "complexType": {
232
- "original": "KupAccordionData",
233
- "resolved": "KupAccordionData",
425
+ "original": "KupAccordionNode[]",
426
+ "resolved": "KupAccordionNode[]",
234
427
  "references": {
235
- "KupAccordionData": {
428
+ "KupAccordionNode": {
236
429
  "location": "import",
237
430
  "path": "./kup-accordion-declarations",
238
- "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionData"
431
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionNode"
239
432
  }
240
433
  }
241
434
  },
@@ -250,6 +443,27 @@ export class KupAccordion {
250
443
  },
251
444
  "defaultValue": "null"
252
445
  },
446
+ "infoIcon": {
447
+ "type": "boolean",
448
+ "mutable": false,
449
+ "complexType": {
450
+ "original": "boolean",
451
+ "resolved": "boolean",
452
+ "references": {}
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [{
458
+ "name": "default",
459
+ "text": "false"
460
+ }],
461
+ "text": "When true, it will show the info activation icon."
462
+ },
463
+ "attribute": "info-icon",
464
+ "reflect": false,
465
+ "defaultValue": "false"
466
+ },
253
467
  "ripple": {
254
468
  "type": "boolean",
255
469
  "mutable": false,
@@ -271,6 +485,27 @@ export class KupAccordion {
271
485
  "reflect": false,
272
486
  "defaultValue": "false"
273
487
  },
488
+ "toolbar": {
489
+ "type": "boolean",
490
+ "mutable": false,
491
+ "complexType": {
492
+ "original": "boolean",
493
+ "resolved": "boolean",
494
+ "references": {}
495
+ },
496
+ "required": false,
497
+ "optional": false,
498
+ "docs": {
499
+ "tags": [{
500
+ "name": "default",
501
+ "text": "false"
502
+ }],
503
+ "text": "When true, it will show the toolbar activation icon."
504
+ },
505
+ "attribute": "toolbar",
506
+ "reflect": false,
507
+ "defaultValue": "false"
508
+ },
274
509
  "sizing": {
275
510
  "type": "string",
276
511
  "mutable": false,
@@ -292,11 +527,61 @@ export class KupAccordion {
292
527
  "name": "default",
293
528
  "text": "KupComponentSizing.SMALL"
294
529
  }],
295
- "text": "Sets the type of the button"
530
+ "text": "Sets the type of the component sizing"
296
531
  },
297
532
  "attribute": "sizing",
298
533
  "reflect": false,
299
534
  "defaultValue": "KupComponentSizing.SMALL"
535
+ },
536
+ "toolbarCallback": {
537
+ "type": "unknown",
538
+ "mutable": false,
539
+ "complexType": {
540
+ "original": "() => Promise<KupDataNode[]>",
541
+ "resolved": "() => Promise<KupDataNode[]>",
542
+ "references": {
543
+ "Promise": {
544
+ "location": "global",
545
+ "id": "global::Promise"
546
+ },
547
+ "KupDataNode": {
548
+ "location": "import",
549
+ "path": "../../managers/kup-data/kup-data-declarations",
550
+ "id": "src/managers/kup-data/kup-data-declarations.ts::KupDataNode"
551
+ }
552
+ }
553
+ },
554
+ "required": false,
555
+ "optional": false,
556
+ "docs": {
557
+ "tags": [],
558
+ "text": ""
559
+ }
560
+ },
561
+ "infoCallback": {
562
+ "type": "unknown",
563
+ "mutable": false,
564
+ "complexType": {
565
+ "original": "() => Promise<KupDataNode[]>",
566
+ "resolved": "() => Promise<KupDataNode[]>",
567
+ "references": {
568
+ "Promise": {
569
+ "location": "global",
570
+ "id": "global::Promise"
571
+ },
572
+ "KupDataNode": {
573
+ "location": "import",
574
+ "path": "../../managers/kup-data/kup-data-declarations",
575
+ "id": "src/managers/kup-data/kup-data-declarations.ts::KupDataNode"
576
+ }
577
+ }
578
+ },
579
+ "required": false,
580
+ "optional": false,
581
+ "docs": {
582
+ "tags": [],
583
+ "text": ""
584
+ }
300
585
  }
301
586
  };
302
587
  }
@@ -307,23 +592,107 @@ export class KupAccordion {
307
592
  }
308
593
  static get events() {
309
594
  return [{
310
- "method": "kupAccordionItemSelected",
311
- "name": "kup-accordion-itemselected",
595
+ "method": "kupBlur",
596
+ "name": "kup-accordion-blur",
312
597
  "bubbles": true,
313
598
  "cancelable": false,
314
599
  "composed": true,
315
600
  "docs": {
316
601
  "tags": [],
317
- "text": "Fired when an item is selected."
602
+ "text": "Triggered when the accordion loses focus."
318
603
  },
319
604
  "complexType": {
320
- "original": "KupAccordionItemSelectedEventPayload",
321
- "resolved": "KupAccordionItemSelectedEventPayload",
605
+ "original": "KupAccordionEventPayload",
606
+ "resolved": "KupAccordionEventPayload",
322
607
  "references": {
323
- "KupAccordionItemSelectedEventPayload": {
608
+ "KupAccordionEventPayload": {
324
609
  "location": "import",
325
610
  "path": "./kup-accordion-declarations",
326
- "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionItemSelectedEventPayload"
611
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionEventPayload"
612
+ }
613
+ }
614
+ }
615
+ }, {
616
+ "method": "kupClick",
617
+ "name": "kup-accordion-click",
618
+ "bubbles": true,
619
+ "cancelable": false,
620
+ "composed": true,
621
+ "docs": {
622
+ "tags": [],
623
+ "text": "Triggered when an item is selected."
624
+ },
625
+ "complexType": {
626
+ "original": "KupAccordionEventPayload",
627
+ "resolved": "KupAccordionEventPayload",
628
+ "references": {
629
+ "KupAccordionEventPayload": {
630
+ "location": "import",
631
+ "path": "./kup-accordion-declarations",
632
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionEventPayload"
633
+ }
634
+ }
635
+ }
636
+ }, {
637
+ "method": "kupIconClick",
638
+ "name": "kup-accordion-iconclick",
639
+ "bubbles": true,
640
+ "cancelable": false,
641
+ "composed": true,
642
+ "docs": {
643
+ "tags": [],
644
+ "text": "Triggered when the icon inside accordion is clicked."
645
+ },
646
+ "complexType": {
647
+ "original": "KupAccordionEventPayload",
648
+ "resolved": "KupAccordionEventPayload",
649
+ "references": {
650
+ "KupAccordionEventPayload": {
651
+ "location": "import",
652
+ "path": "./kup-accordion-declarations",
653
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionEventPayload"
654
+ }
655
+ }
656
+ }
657
+ }, {
658
+ "method": "kupFocus",
659
+ "name": "kup-accordion-focus",
660
+ "bubbles": true,
661
+ "cancelable": false,
662
+ "composed": true,
663
+ "docs": {
664
+ "tags": [],
665
+ "text": "Triggered when the accordion is focused."
666
+ },
667
+ "complexType": {
668
+ "original": "KupAccordionEventPayload",
669
+ "resolved": "KupAccordionEventPayload",
670
+ "references": {
671
+ "KupAccordionEventPayload": {
672
+ "location": "import",
673
+ "path": "./kup-accordion-declarations",
674
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionEventPayload"
675
+ }
676
+ }
677
+ }
678
+ }, {
679
+ "method": "kupToolbarItemClick",
680
+ "name": "kup-accordion-toolbaritemclick",
681
+ "bubbles": true,
682
+ "cancelable": false,
683
+ "composed": true,
684
+ "docs": {
685
+ "tags": [],
686
+ "text": "Triggered when a list item is clicked."
687
+ },
688
+ "complexType": {
689
+ "original": "KupAccordionEventPayload",
690
+ "resolved": "KupAccordionEventPayload",
691
+ "references": {
692
+ "KupAccordionEventPayload": {
693
+ "location": "import",
694
+ "path": "./kup-accordion-declarations",
695
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionEventPayload"
327
696
  }
328
697
  }
329
698
  }
@@ -445,16 +814,21 @@ export class KupAccordion {
445
814
  },
446
815
  "toggleItem": {
447
816
  "complexType": {
448
- "signature": "(itemName: string) => Promise<void>",
817
+ "signature": "(node: KupAccordionNode) => Promise<void>",
449
818
  "parameters": [{
450
- "name": "itemName",
451
- "type": "string",
452
- "docs": "- Name of the item."
819
+ "name": "node",
820
+ "type": "KupAccordionNode",
821
+ "docs": ""
453
822
  }],
454
823
  "references": {
455
824
  "Promise": {
456
825
  "location": "global",
457
826
  "id": "global::Promise"
827
+ },
828
+ "KupAccordionNode": {
829
+ "location": "import",
830
+ "path": "./kup-accordion-declarations",
831
+ "id": "src/components/kup-accordion/kup-accordion-declarations.ts::KupAccordionNode"
458
832
  }
459
833
  },
460
834
  "return": "Promise<void>"
@@ -474,6 +848,10 @@ export class KupAccordion {
474
848
  return [{
475
849
  "propName": "ripple",
476
850
  "methodName": "applyRipple"
851
+ }, {
852
+ "propName": "data",
853
+ "methodName": "updateSelectedItems"
477
854
  }];
478
855
  }
479
856
  }
857
+ _KupAccordion_clickCbDropCard = new WeakMap(), _KupAccordion_dropDownActionCardAnchor = new WeakMap();
@@ -18,4 +18,6 @@ export var KupAutocompleteProps;
18
18
  KupAutocompleteProps["showDropDownIcon"] = "When true shows the drop-down icon, for open list.";
19
19
  KupAutocompleteProps["showMarker"] = "When true shows a small marker on the component";
20
20
  KupAutocompleteProps["legacyLook"] = "When true enables the monospaces look for the ACP component";
21
+ KupAutocompleteProps["size"] = "Sets the size of the input element";
22
+ KupAutocompleteProps["placeholder"] = "Set custom placeholder / watermark for text field, if not set the default one will be taken on component load.";
21
23
  })(KupAutocompleteProps || (KupAutocompleteProps = {}));