@sme.up/ketchup 6.5.0 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-4e2a0bb6.js → f-button-bf76ab95.js} +2 -2
  3. package/dist/cjs/{f-cell-1fc8a8b6.js → f-cell-b7a1524a.js} +25 -23
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-7867f17b.js → f-chip-a5e100b1.js} +3 -3
  6. package/dist/cjs/{f-image-6b7a6168.js → f-image-d80a2749.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-b7712403.js → f-paginator-utils-c70812fe.js} +3 -5
  8. package/dist/cjs/{f-text-field-153e827c.js → f-text-field-48b8bb16.js} +2 -2
  9. package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
  10. package/dist/cjs/ketchup.cjs.js +3 -3
  11. package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
  12. package/dist/cjs/kup-autocomplete_25.cjs.entry.js +433 -163
  13. package/dist/cjs/kup-box.cjs.entry.js +27 -16
  14. package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
  15. package/dist/cjs/kup-cell.cjs.entry.js +7 -7
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
  19. package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
  20. package/dist/cjs/kup-echart.cjs.entry.js +2 -2
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +19 -7
  22. package/dist/cjs/kup-form.cjs.entry.js +8 -8
  23. package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
  24. package/dist/cjs/kup-image-list.cjs.entry.js +9 -9
  25. package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
  27. package/dist/cjs/{kup-manager-cfe2f36e.js → kup-manager-0e38bf48.js} +39 -26
  28. package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
  29. package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
  31. package/dist/cjs/kup-probe.cjs.entry.js +2 -2
  32. package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
  33. package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
  34. package/dist/cjs/loader.cjs.js +3 -3
  35. package/dist/collection/assets/box.js +9 -6
  36. package/dist/collection/assets/card.js +12 -2
  37. package/dist/collection/collection-manifest.json +3 -3
  38. package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
  39. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
  40. package/dist/collection/components/kup-badge/kup-badge.js +176 -170
  41. package/dist/collection/components/kup-box/kup-box.js +907 -913
  42. package/dist/collection/components/kup-button/kup-button.css +1 -0
  43. package/dist/collection/components/kup-button/kup-button.js +379 -370
  44. package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
  45. package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
  46. package/dist/collection/components/kup-card/box/kup-card-box.js +115 -0
  47. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  48. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  49. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  50. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  51. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  52. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  53. package/dist/collection/components/kup-card/kup-card-declarations.js +2 -0
  54. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  55. package/dist/collection/components/kup-card/kup-card.css +140 -20
  56. package/dist/collection/components/kup-card/kup-card.js +352 -340
  57. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  58. package/dist/collection/components/kup-card/standard/kup-card-standard.js +96 -304
  59. package/dist/collection/components/kup-cell/kup-cell.js +221 -216
  60. package/dist/collection/components/kup-chart/kup-chart.js +547 -537
  61. package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
  62. package/dist/collection/components/kup-chip/kup-chip.js +240 -231
  63. package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
  64. package/dist/collection/components/kup-combobox/kup-combobox.js +458 -440
  65. package/dist/collection/components/kup-dash/kup-dash.js +110 -158
  66. package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
  67. package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +1932 -1838
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
  72. package/dist/collection/components/kup-echart/kup-echart.js +436 -423
  73. package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +1 -0
  74. package/dist/collection/components/kup-family-tree/kup-family-tree.js +420 -398
  75. package/dist/collection/components/kup-form/kup-form.js +223 -225
  76. package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
  77. package/dist/collection/components/kup-grid/kup-grid.js +156 -153
  78. package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
  79. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  80. package/dist/collection/components/kup-image/kup-image.js +300 -295
  81. package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
  82. package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
  83. package/dist/collection/components/kup-list/kup-list.js +541 -504
  84. package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
  85. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
  86. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
  87. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
  88. package/dist/collection/components/kup-probe/kup-probe.js +87 -83
  89. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
  90. package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
  91. package/dist/collection/components/kup-radio/kup-radio.js +258 -255
  92. package/dist/collection/components/kup-rating/kup-rating.js +208 -197
  93. package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
  94. package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
  95. package/dist/collection/components/kup-switch/kup-switch.js +255 -246
  96. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
  97. package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
  98. package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
  99. package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -2
  100. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  101. package/dist/collection/components/kup-tree/kup-tree.js +1134 -1133
  102. package/dist/collection/f-components/f-button/f-button.js +11 -20
  103. package/dist/collection/f-components/f-cell/f-cell.js +23 -23
  104. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  105. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  106. package/dist/collection/f-components/f-image/f-image.js +1 -3
  107. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  108. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  109. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  110. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  111. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  112. package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
  113. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  114. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  115. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  116. package/dist/esm/{f-button-a24e43dd.js → f-button-e79f7594.js} +2 -2
  117. package/dist/esm/{f-cell-ebbb0c06.js → f-cell-9400374e.js} +25 -23
  118. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  119. package/dist/esm/{f-chip-e2c38ba8.js → f-chip-bf740287.js} +3 -3
  120. package/dist/esm/{f-image-7e02e88f.js → f-image-ab3dc8cb.js} +2 -2
  121. package/dist/esm/{f-paginator-utils-e6d2638f.js → f-paginator-utils-6909e43b.js} +3 -5
  122. package/dist/esm/{f-text-field-8438a278.js → f-text-field-4841dfea.js} +2 -2
  123. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  124. package/dist/esm/ketchup.js +3 -3
  125. package/dist/esm/kup-accordion.entry.js +3 -3
  126. package/dist/esm/kup-autocomplete_25.entry.js +433 -163
  127. package/dist/esm/kup-box.entry.js +27 -16
  128. package/dist/esm/kup-calendar.entry.js +5 -5
  129. package/dist/esm/kup-cell.entry.js +7 -7
  130. package/dist/esm/kup-dash-list.entry.js +2 -2
  131. package/dist/esm/kup-dash_2.entry.js +2 -2
  132. package/dist/esm/kup-dashboard.entry.js +6 -6
  133. package/dist/esm/kup-drawer.entry.js +2 -2
  134. package/dist/esm/kup-echart.entry.js +2 -2
  135. package/dist/esm/kup-family-tree.entry.js +19 -7
  136. package/dist/esm/kup-form.entry.js +8 -8
  137. package/dist/esm/kup-iframe.entry.js +2 -2
  138. package/dist/esm/kup-image-list.entry.js +9 -9
  139. package/dist/esm/kup-lazy.entry.js +2 -2
  140. package/dist/esm/kup-magic-box.entry.js +3 -3
  141. package/dist/esm/{kup-manager-7c27e90e.js → kup-manager-c54e6df5.js} +22 -9
  142. package/dist/esm/kup-nav-bar.entry.js +2 -2
  143. package/dist/esm/kup-numeric-picker.entry.js +3 -3
  144. package/dist/esm/kup-photo-frame.entry.js +2 -2
  145. package/dist/esm/kup-probe.entry.js +2 -2
  146. package/dist/esm/kup-qlik.entry.js +2 -2
  147. package/dist/esm/kup-snackbar.entry.js +4 -4
  148. package/dist/esm/loader.js +3 -3
  149. package/dist/esm/polyfills/css-shim.js +1 -1
  150. package/dist/ketchup/ketchup.esm.js +1 -1
  151. package/dist/ketchup/{p-191096ff.entry.js → p-182b869e.entry.js} +1 -1
  152. package/dist/ketchup/p-1dfd2a51.js +30 -0
  153. package/dist/ketchup/{p-b502b91b.entry.js → p-1f5c7f21.entry.js} +1 -1
  154. package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
  155. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  156. package/dist/ketchup/{p-26acb448.js → p-25bf0cb6.js} +1 -1
  157. package/dist/ketchup/{p-601a50db.entry.js → p-260ff835.entry.js} +1 -1
  158. package/dist/ketchup/{p-5a703573.entry.js → p-2e184b57.entry.js} +1 -1
  159. package/dist/ketchup/{p-45415b72.entry.js → p-30a63b85.entry.js} +1 -1
  160. package/dist/ketchup/{p-cc663bad.entry.js → p-313e376b.entry.js} +1 -1
  161. package/dist/ketchup/{p-e0ed3fd7.entry.js → p-41620707.entry.js} +1 -1
  162. package/dist/ketchup/{p-25875aa1.entry.js → p-4a0ccf18.entry.js} +1 -1
  163. package/dist/ketchup/{p-3decc8e4.js → p-4f0d3062.js} +1 -1
  164. package/dist/ketchup/p-4fdb684f.js +2 -0
  165. package/dist/ketchup/{p-52590a90.entry.js → p-53d3ae80.entry.js} +1 -1
  166. package/dist/ketchup/{p-92595296.js → p-5bea2971.js} +1 -1
  167. package/dist/ketchup/{p-a782ebd1.entry.js → p-60fa0ccf.entry.js} +1 -1
  168. package/dist/ketchup/p-6333388c.js +1 -0
  169. package/dist/ketchup/{p-2003a841.entry.js → p-6bd57787.entry.js} +1 -1
  170. package/dist/ketchup/p-758d03f4.entry.js +1 -0
  171. package/dist/ketchup/{p-2f009c42.entry.js → p-7e7b6127.entry.js} +1 -1
  172. package/dist/ketchup/p-8386e3db.entry.js +1 -0
  173. package/dist/ketchup/{p-23111c8d.entry.js → p-859163c2.entry.js} +1 -1
  174. package/dist/ketchup/{p-97f28bbd.entry.js → p-8e1fa7a8.entry.js} +6 -6
  175. package/dist/ketchup/{p-ca98059c.entry.js → p-90860d9e.entry.js} +1 -1
  176. package/dist/ketchup/{p-b131b257.entry.js → p-b7fdc7aa.entry.js} +1 -1
  177. package/dist/ketchup/{p-3138cabb.entry.js → p-bffaef6e.entry.js} +1 -1
  178. package/dist/ketchup/p-c35c5e05.js +1 -0
  179. package/dist/ketchup/{p-1468bf09.js → p-e1d0ea71.js} +1 -1
  180. package/dist/ketchup/p-f9d5e553.entry.js +1 -0
  181. package/dist/ketchup/{p-69dd11da.entry.js → p-fb4d772a.entry.js} +1 -1
  182. package/dist/loader/package.json +1 -0
  183. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  184. package/dist/types/components/kup-card/box/kup-card-box.d.ts +26 -0
  185. package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
  186. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  187. package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +0 -6
  188. package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -1
  189. package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
  190. package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -0
  191. package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +5 -0
  192. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  193. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  194. package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +0 -4
  195. package/dist/types/components/kup-tree/kup-tree.d.ts +18 -12
  196. package/dist/types/components.d.ts +43 -16
  197. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  198. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  199. package/dist/types/stencil-public-runtime.d.ts +15 -4
  200. package/package.json +3 -2
  201. package/CHANGELOG.md +0 -5
  202. package/dist/ketchup/p-753c82d8.js +0 -1
  203. package/dist/ketchup/p-77600efd.entry.js +0 -9
  204. package/dist/ketchup/p-88722265.js +0 -1
  205. package/dist/ketchup/p-9027e5ac.js +0 -30
  206. package/dist/ketchup/p-aa564df8.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-b238f9ea.entry.js +0 -1
  209. package/dist/ketchup/p-b4f85d34.entry.js +0 -1
@@ -1,5 +1,4 @@
1
- import { Component, Element, Event, forceUpdate, h, Host, Prop, State, } from '@stencil/core';
2
- import { Method } from '@stencil/core/internal';
1
+ import { forceUpdate, h, Host, } from '@stencil/core';
3
2
  import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
4
3
  import { getProps, setProps } from '../../utils/utils';
5
4
  import { componentWrapperId } from '../../variables/GenericVariables';
@@ -137,48 +136,39 @@ export class KupLazy {
137
136
  switch (this.componentName) {
138
137
  case 'kup-button':
139
138
  //call_to_action.svg
140
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
141
- h("path", { d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
139
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
142
140
  break;
143
141
  case 'kup-card':
144
142
  //art_track.svg
145
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
146
- h("path", { d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
143
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
147
144
  break;
148
145
  case 'kup-checkbox':
149
146
  //check_box_outline_blank.svg
150
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
151
- h("path", { d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
147
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
152
148
  break;
153
149
  case 'kup-chart':
154
150
  //chart-bar.svg
155
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" },
156
- h("path", { d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
151
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
157
152
  break;
158
153
  case 'kup-data-table':
159
154
  //table-large.svg
160
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" },
161
- h("path", { d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
155
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
162
156
  break;
163
157
  case 'kup-image':
164
158
  //photo.svg
165
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
166
- h("path", { d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
159
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
167
160
  break;
168
161
  case 'kup-progress-bar':
169
162
  //linear_scale.svg
170
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
171
- h("path", { d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
163
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
172
164
  break;
173
165
  case 'kup-radio':
174
166
  //radio_button_unchecked.svg
175
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
176
- h("path", { d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
167
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
177
168
  break;
178
169
  default:
179
170
  //art_track.svg
180
- resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" },
181
- h("path", { d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
171
+ resource = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
182
172
  break;
183
173
  }
184
174
  if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
@@ -194,9 +184,7 @@ export class KupLazy {
194
184
  content = resource;
195
185
  className += ' kup-to-be-loaded';
196
186
  }
197
- return (h(Host, { class: className },
198
- h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
199
- h("div", { id: componentWrapperId }, content)));
187
+ return (h(Host, { class: className }, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, content)));
200
188
  }
201
189
  disconnectedCallback() {
202
190
  this.kupManager.theme.unregister(this);
@@ -204,254 +192,266 @@ export class KupLazy {
204
192
  }
205
193
  static get is() { return "kup-lazy"; }
206
194
  static get encapsulation() { return "shadow"; }
207
- static get originalStyleUrls() { return {
208
- "$": ["kup-lazy.scss"]
209
- }; }
210
- static get styleUrls() { return {
211
- "$": ["kup-lazy.css"]
212
- }; }
213
- static get properties() { return {
214
- "componentName": {
215
- "type": "string",
216
- "mutable": false,
217
- "complexType": {
218
- "original": "string",
219
- "resolved": "string",
220
- "references": {}
221
- },
222
- "required": false,
223
- "optional": false,
224
- "docs": {
225
- "tags": [{
226
- "name": "default",
227
- "text": "null"
228
- }],
229
- "text": "Sets the tag name of the component to be lazy loaded."
230
- },
231
- "attribute": "component-name",
232
- "reflect": false,
233
- "defaultValue": "null"
234
- },
235
- "customStyle": {
236
- "type": "string",
237
- "mutable": false,
238
- "complexType": {
239
- "original": "string",
240
- "resolved": "string",
241
- "references": {}
195
+ static get originalStyleUrls() {
196
+ return {
197
+ "$": ["kup-lazy.scss"]
198
+ };
199
+ }
200
+ static get styleUrls() {
201
+ return {
202
+ "$": ["kup-lazy.css"]
203
+ };
204
+ }
205
+ static get properties() {
206
+ return {
207
+ "componentName": {
208
+ "type": "string",
209
+ "mutable": false,
210
+ "complexType": {
211
+ "original": "string",
212
+ "resolved": "string",
213
+ "references": {}
214
+ },
215
+ "required": false,
216
+ "optional": false,
217
+ "docs": {
218
+ "tags": [{
219
+ "name": "default",
220
+ "text": "null"
221
+ }],
222
+ "text": "Sets the tag name of the component to be lazy loaded."
223
+ },
224
+ "attribute": "component-name",
225
+ "reflect": false,
226
+ "defaultValue": "null"
242
227
  },
243
- "required": false,
244
- "optional": false,
245
- "docs": {
246
- "tags": [{
247
- "name": "default",
248
- "text": "\"\""
249
- }, {
250
- "name": "see",
251
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
252
- }],
253
- "text": "Custom style of the component."
228
+ "customStyle": {
229
+ "type": "string",
230
+ "mutable": false,
231
+ "complexType": {
232
+ "original": "string",
233
+ "resolved": "string",
234
+ "references": {}
235
+ },
236
+ "required": false,
237
+ "optional": false,
238
+ "docs": {
239
+ "tags": [{
240
+ "name": "default",
241
+ "text": "\"\""
242
+ }, {
243
+ "name": "see",
244
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
245
+ }],
246
+ "text": "Custom style of the component."
247
+ },
248
+ "attribute": "custom-style",
249
+ "reflect": false,
250
+ "defaultValue": "''"
254
251
  },
255
- "attribute": "custom-style",
256
- "reflect": false,
257
- "defaultValue": "''"
258
- },
259
- "data": {
260
- "type": "unknown",
261
- "mutable": false,
262
- "complexType": {
263
- "original": "GenericObject",
264
- "resolved": "GenericObject",
265
- "references": {
266
- "GenericObject": {
267
- "location": "import",
268
- "path": "../../types/GenericTypes"
252
+ "data": {
253
+ "type": "unknown",
254
+ "mutable": false,
255
+ "complexType": {
256
+ "original": "GenericObject",
257
+ "resolved": "GenericObject",
258
+ "references": {
259
+ "GenericObject": {
260
+ "location": "import",
261
+ "path": "../../types/GenericTypes"
262
+ }
269
263
  }
270
- }
271
- },
272
- "required": false,
273
- "optional": false,
274
- "docs": {
275
- "tags": [{
276
- "name": "default",
277
- "text": "null"
278
- }],
279
- "text": "Sets the data of the component to be lazy loaded."
264
+ },
265
+ "required": false,
266
+ "optional": false,
267
+ "docs": {
268
+ "tags": [{
269
+ "name": "default",
270
+ "text": "null"
271
+ }],
272
+ "text": "Sets the data of the component to be lazy loaded."
273
+ },
274
+ "defaultValue": "null"
280
275
  },
281
- "defaultValue": "null"
282
- },
283
- "renderMode": {
284
- "type": "string",
285
- "mutable": false,
286
- "complexType": {
287
- "original": "KupLazyRender",
288
- "resolved": "KupLazyRender.BOTH | KupLazyRender.PROPS | KupLazyRender.VIEWPORT",
289
- "references": {
290
- "KupLazyRender": {
291
- "location": "import",
292
- "path": "./kup-lazy-declarations"
276
+ "renderMode": {
277
+ "type": "string",
278
+ "mutable": false,
279
+ "complexType": {
280
+ "original": "KupLazyRender",
281
+ "resolved": "KupLazyRender.BOTH | KupLazyRender.PROPS | KupLazyRender.VIEWPORT",
282
+ "references": {
283
+ "KupLazyRender": {
284
+ "location": "import",
285
+ "path": "./kup-lazy-declarations"
286
+ }
293
287
  }
294
- }
295
- },
296
- "required": false,
297
- "optional": false,
298
- "docs": {
299
- "tags": [{
300
- "name": "default",
301
- "text": "KupLazyRender.BOTH"
302
- }],
303
- "text": "Decides when the sub-component should be rendered.\r\nBy default when both the component props exist and the component is in the viewport."
304
- },
305
- "attribute": "render-mode",
306
- "reflect": false,
307
- "defaultValue": "KupLazyRender.BOTH"
308
- },
309
- "showPlaceholder": {
310
- "type": "boolean",
311
- "mutable": false,
312
- "complexType": {
313
- "original": "boolean",
314
- "resolved": "boolean",
315
- "references": {}
316
- },
317
- "required": false,
318
- "optional": false,
319
- "docs": {
320
- "tags": [{
321
- "name": "default",
322
- "text": "true"
323
- }],
324
- "text": "Displays an animated SVG placeholder until the component is loaded."
325
- },
326
- "attribute": "show-placeholder",
327
- "reflect": false,
328
- "defaultValue": "true"
329
- }
330
- }; }
331
- static get states() { return {
332
- "isInViewport": {}
333
- }; }
334
- static get events() { return [{
335
- "method": "kupLazyLoaded",
336
- "name": "kup-lazy-loaded",
337
- "bubbles": true,
338
- "cancelable": false,
339
- "composed": true,
340
- "docs": {
341
- "tags": [],
342
- "text": "Triggered when the component is loaded."
288
+ },
289
+ "required": false,
290
+ "optional": false,
291
+ "docs": {
292
+ "tags": [{
293
+ "name": "default",
294
+ "text": "KupLazyRender.BOTH"
295
+ }],
296
+ "text": "Decides when the sub-component should be rendered.\r\nBy default when both the component props exist and the component is in the viewport."
297
+ },
298
+ "attribute": "render-mode",
299
+ "reflect": false,
300
+ "defaultValue": "KupLazyRender.BOTH"
343
301
  },
344
- "complexType": {
345
- "original": "KupEventPayload",
346
- "resolved": "KupEventPayload",
347
- "references": {
348
- "KupEventPayload": {
349
- "location": "import",
350
- "path": "../../types/GenericTypes"
302
+ "showPlaceholder": {
303
+ "type": "boolean",
304
+ "mutable": false,
305
+ "complexType": {
306
+ "original": "boolean",
307
+ "resolved": "boolean",
308
+ "references": {}
309
+ },
310
+ "required": false,
311
+ "optional": false,
312
+ "docs": {
313
+ "tags": [{
314
+ "name": "default",
315
+ "text": "true"
316
+ }],
317
+ "text": "Displays an animated SVG placeholder until the component is loaded."
318
+ },
319
+ "attribute": "show-placeholder",
320
+ "reflect": false,
321
+ "defaultValue": "true"
322
+ }
323
+ };
324
+ }
325
+ static get states() {
326
+ return {
327
+ "isInViewport": {}
328
+ };
329
+ }
330
+ static get events() {
331
+ return [{
332
+ "method": "kupLazyLoaded",
333
+ "name": "kup-lazy-loaded",
334
+ "bubbles": true,
335
+ "cancelable": false,
336
+ "composed": true,
337
+ "docs": {
338
+ "tags": [],
339
+ "text": "Triggered when the component is loaded."
340
+ },
341
+ "complexType": {
342
+ "original": "KupEventPayload",
343
+ "resolved": "KupEventPayload",
344
+ "references": {
345
+ "KupEventPayload": {
346
+ "location": "import",
347
+ "path": "../../types/GenericTypes"
348
+ }
351
349
  }
352
350
  }
353
- }
354
- }]; }
355
- static get methods() { return {
356
- "getProps": {
357
- "complexType": {
358
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
359
- "parameters": [{
360
- "tags": [{
361
- "name": "param",
362
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
363
- }],
364
- "text": "- When provided and true, the result will be the list of props with their description."
365
- }],
366
- "references": {
367
- "Promise": {
368
- "location": "global"
351
+ }];
352
+ }
353
+ static get methods() {
354
+ return {
355
+ "getProps": {
356
+ "complexType": {
357
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
358
+ "parameters": [{
359
+ "tags": [{
360
+ "name": "param",
361
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
362
+ }],
363
+ "text": "- When provided and true, the result will be the list of props with their description."
364
+ }],
365
+ "references": {
366
+ "Promise": {
367
+ "location": "global"
368
+ },
369
+ "GenericObject": {
370
+ "location": "import",
371
+ "path": "../../types/GenericTypes"
372
+ }
369
373
  },
370
- "GenericObject": {
371
- "location": "import",
372
- "path": "../../types/GenericTypes"
373
- }
374
+ "return": "Promise<GenericObject>"
374
375
  },
375
- "return": "Promise<GenericObject>"
376
+ "docs": {
377
+ "text": "Used to retrieve component's props values.",
378
+ "tags": [{
379
+ "name": "param",
380
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
381
+ }, {
382
+ "name": "returns",
383
+ "text": "List of props as object, each key will be a prop."
384
+ }]
385
+ }
376
386
  },
377
- "docs": {
378
- "text": "Used to retrieve component's props values.",
379
- "tags": [{
380
- "name": "param",
381
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
382
- }, {
383
- "name": "returns",
384
- "text": "List of props as object, each key will be a prop."
385
- }]
386
- }
387
- },
388
- "getComponent": {
389
- "complexType": {
390
- "signature": "() => Promise<HTMLElement>",
391
- "parameters": [],
392
- "references": {
393
- "Promise": {
394
- "location": "global"
387
+ "getComponent": {
388
+ "complexType": {
389
+ "signature": "() => Promise<HTMLElement>",
390
+ "parameters": [],
391
+ "references": {
392
+ "Promise": {
393
+ "location": "global"
394
+ },
395
+ "HTMLElement": {
396
+ "location": "global"
397
+ }
395
398
  },
396
- "HTMLElement": {
397
- "location": "global"
398
- }
399
+ "return": "Promise<HTMLElement>"
399
400
  },
400
- "return": "Promise<HTMLElement>"
401
+ "docs": {
402
+ "text": "Returns the HTMLElement of the component to lazy load.",
403
+ "tags": [{
404
+ "name": "returns",
405
+ "text": "Lazy loaded component."
406
+ }]
407
+ }
401
408
  },
402
- "docs": {
403
- "text": "Returns the HTMLElement of the component to lazy load.",
404
- "tags": [{
405
- "name": "returns",
406
- "text": "Lazy loaded component."
407
- }]
408
- }
409
- },
410
- "refresh": {
411
- "complexType": {
412
- "signature": "() => Promise<void>",
413
- "parameters": [],
414
- "references": {
415
- "Promise": {
416
- "location": "global"
417
- }
409
+ "refresh": {
410
+ "complexType": {
411
+ "signature": "() => Promise<void>",
412
+ "parameters": [],
413
+ "references": {
414
+ "Promise": {
415
+ "location": "global"
416
+ }
417
+ },
418
+ "return": "Promise<void>"
418
419
  },
419
- "return": "Promise<void>"
420
+ "docs": {
421
+ "text": "This method is used to trigger a new render of the component.",
422
+ "tags": []
423
+ }
420
424
  },
421
- "docs": {
422
- "text": "This method is used to trigger a new render of the component.",
423
- "tags": []
424
- }
425
- },
426
- "setProps": {
427
- "complexType": {
428
- "signature": "(props: GenericObject) => Promise<void>",
429
- "parameters": [{
430
- "tags": [{
431
- "name": "param",
432
- "text": "props - Object containing props that will be set to the component."
433
- }],
434
- "text": "- Object containing props that will be set to the component."
435
- }],
436
- "references": {
437
- "Promise": {
438
- "location": "global"
425
+ "setProps": {
426
+ "complexType": {
427
+ "signature": "(props: GenericObject) => Promise<void>",
428
+ "parameters": [{
429
+ "tags": [{
430
+ "name": "param",
431
+ "text": "props - Object containing props that will be set to the component."
432
+ }],
433
+ "text": "- Object containing props that will be set to the component."
434
+ }],
435
+ "references": {
436
+ "Promise": {
437
+ "location": "global"
438
+ },
439
+ "GenericObject": {
440
+ "location": "import",
441
+ "path": "../../types/GenericTypes"
442
+ }
439
443
  },
440
- "GenericObject": {
441
- "location": "import",
442
- "path": "../../types/GenericTypes"
443
- }
444
+ "return": "Promise<void>"
444
445
  },
445
- "return": "Promise<void>"
446
- },
447
- "docs": {
448
- "text": "Sets the props to the component.",
449
- "tags": [{
450
- "name": "param",
451
- "text": "props - Object containing props that will be set to the component."
452
- }]
446
+ "docs": {
447
+ "text": "Sets the props to the component.",
448
+ "tags": [{
449
+ "name": "param",
450
+ "text": "props - Object containing props that will be set to the component."
451
+ }]
452
+ }
453
453
  }
454
- }
455
- }; }
454
+ };
455
+ }
456
456
  static get elementRef() { return "rootElement"; }
457
457
  }