@sme.up/ketchup 6.8.0 → 7.0.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 (213) hide show
  1. package/dist/cjs/{f-button-229c63fd.js → f-button-293afb08.js} +1 -1
  2. package/dist/cjs/{f-cell-dd006395.js → f-cell-06b323ca.js} +11 -8
  3. package/dist/cjs/{f-chip-f2c369fd.js → f-chip-1c944c07.js} +2 -2
  4. package/dist/cjs/{f-image-847a6ddf.js → f-image-bfb4e4c9.js} +1 -1
  5. package/dist/cjs/{f-paginator-utils-cedc4b3e.js → f-paginator-utils-c9560cfd.js} +2 -2
  6. package/dist/cjs/{f-text-field-fe85187d.js → f-text-field-e99c5a26.js} +1 -1
  7. package/dist/cjs/ketchup.cjs.js +1 -1
  8. package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
  9. package/dist/cjs/kup-autocomplete_26.cjs.entry.js +166 -23
  10. package/dist/cjs/kup-box.cjs.entry.js +7 -7
  11. package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
  12. package/dist/cjs/kup-cell.cjs.entry.js +5 -5
  13. package/dist/cjs/kup-dash-list.cjs.entry.js +1 -1
  14. package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
  15. package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
  16. package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
  17. package/dist/cjs/kup-echart.cjs.entry.js +1 -1
  18. package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
  19. package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
  20. package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
  21. package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
  22. package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
  23. package/dist/cjs/{kup-manager-c53468cd.js → kup-manager-1e882e61.js} +7 -2
  24. package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
  27. package/dist/cjs/kup-probe.cjs.entry.js +1 -1
  28. package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
  29. package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
  30. package/dist/cjs/loader.cjs.js +1 -1
  31. package/dist/collection/assets/card.js +9 -2
  32. package/dist/collection/assets/data-table.js +4 -1
  33. package/dist/collection/components/kup-card/box/kup-card-box.js +114 -5
  34. package/dist/collection/components/kup-card/kup-card.css +171 -21
  35. package/dist/collection/components/kup-chip/kup-chip.js +2 -2
  36. package/dist/collection/components/kup-data-table/kup-data-table.js +10 -3
  37. package/dist/collection/components/kup-form/kup-form-declarations.js +3 -0
  38. package/dist/collection/components/kup-form/kup-form.js +56 -3
  39. package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
  40. package/dist/collection/f-components/f-cell/f-cell.js +7 -4
  41. package/dist/collection/managers/kup-data/kup-data-column-helper.js +4 -1
  42. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +1 -1
  43. package/dist/components/index.d.ts +68 -0
  44. package/dist/components/index.js +48 -0
  45. package/dist/components/kup-accordion.d.ts +11 -0
  46. package/dist/components/kup-accordion.js +363 -0
  47. package/dist/components/kup-autocomplete.d.ts +11 -0
  48. package/dist/components/kup-autocomplete.js +6 -0
  49. package/dist/components/kup-autocomplete2.js +46145 -0
  50. package/dist/components/kup-badge.d.ts +11 -0
  51. package/dist/components/kup-badge.js +6 -0
  52. package/dist/components/kup-box.d.ts +11 -0
  53. package/dist/components/kup-box.js +6 -0
  54. package/dist/components/kup-box2.js +1412 -0
  55. package/dist/components/kup-button-list.d.ts +11 -0
  56. package/dist/components/kup-button-list.js +6 -0
  57. package/dist/components/kup-button.d.ts +11 -0
  58. package/dist/components/kup-button.js +6 -0
  59. package/dist/components/kup-calendar.d.ts +11 -0
  60. package/dist/components/kup-calendar.js +14818 -0
  61. package/dist/components/kup-card.d.ts +11 -0
  62. package/dist/components/kup-card.js +6 -0
  63. package/dist/components/kup-cell.d.ts +11 -0
  64. package/dist/components/kup-cell.js +332 -0
  65. package/dist/components/kup-chart.d.ts +11 -0
  66. package/dist/components/kup-chart.js +6 -0
  67. package/dist/components/kup-checkbox.d.ts +11 -0
  68. package/dist/components/kup-checkbox.js +6 -0
  69. package/dist/components/kup-chip.d.ts +11 -0
  70. package/dist/components/kup-chip.js +6 -0
  71. package/dist/components/kup-color-picker.d.ts +11 -0
  72. package/dist/components/kup-color-picker.js +6 -0
  73. package/dist/components/kup-combobox.d.ts +11 -0
  74. package/dist/components/kup-combobox.js +6 -0
  75. package/dist/components/kup-dash-list.d.ts +11 -0
  76. package/dist/components/kup-dash-list.js +275 -0
  77. package/dist/components/kup-dash.d.ts +11 -0
  78. package/dist/components/kup-dash.js +6 -0
  79. package/dist/components/kup-dash2.js +223 -0
  80. package/dist/components/kup-dashboard.d.ts +11 -0
  81. package/dist/components/kup-dashboard.js +559 -0
  82. package/dist/components/kup-data-table.d.ts +11 -0
  83. package/dist/components/kup-data-table.js +6 -0
  84. package/dist/components/kup-date-picker.d.ts +11 -0
  85. package/dist/components/kup-date-picker.js +6 -0
  86. package/dist/components/kup-drawer.d.ts +11 -0
  87. package/dist/components/kup-drawer.js +303 -0
  88. package/dist/components/kup-dropdown-button.d.ts +11 -0
  89. package/dist/components/kup-dropdown-button.js +6 -0
  90. package/dist/components/kup-echart.d.ts +11 -0
  91. package/dist/components/kup-echart.js +6 -0
  92. package/dist/components/kup-echart2.js +94317 -0
  93. package/dist/components/kup-family-tree.d.ts +11 -0
  94. package/dist/components/kup-family-tree.js +623 -0
  95. package/dist/components/kup-form.d.ts +11 -0
  96. package/dist/components/kup-form.js +6 -0
  97. package/dist/components/kup-gauge.d.ts +11 -0
  98. package/dist/components/kup-gauge.js +6 -0
  99. package/dist/components/kup-grid.d.ts +11 -0
  100. package/dist/components/kup-grid.js +6 -0
  101. package/dist/components/kup-grid2.js +256 -0
  102. package/dist/components/kup-iframe.d.ts +11 -0
  103. package/dist/components/kup-iframe.js +257 -0
  104. package/dist/components/kup-image-list.d.ts +11 -0
  105. package/dist/components/kup-image-list.js +416 -0
  106. package/dist/components/kup-image.d.ts +11 -0
  107. package/dist/components/kup-image.js +6 -0
  108. package/dist/components/kup-lazy.d.ts +11 -0
  109. package/dist/components/kup-lazy.js +352 -0
  110. package/dist/components/kup-list.d.ts +11 -0
  111. package/dist/components/kup-list.js +6 -0
  112. package/dist/components/kup-magic-box.d.ts +11 -0
  113. package/dist/components/kup-magic-box.js +470 -0
  114. package/dist/components/kup-nav-bar.d.ts +11 -0
  115. package/dist/components/kup-nav-bar.js +292 -0
  116. package/dist/components/kup-numeric-picker.d.ts +11 -0
  117. package/dist/components/kup-numeric-picker.js +536 -0
  118. package/dist/components/kup-photo-frame.d.ts +11 -0
  119. package/dist/components/kup-photo-frame.js +308 -0
  120. package/dist/components/kup-probe.d.ts +11 -0
  121. package/dist/components/kup-probe.js +403 -0
  122. package/dist/components/kup-progress-bar.d.ts +11 -0
  123. package/dist/components/kup-progress-bar.js +6 -0
  124. package/dist/components/kup-qlik.d.ts +11 -0
  125. package/dist/components/kup-qlik.js +302 -0
  126. package/dist/components/kup-radio.d.ts +11 -0
  127. package/dist/components/kup-radio.js +6 -0
  128. package/dist/components/kup-rating.d.ts +11 -0
  129. package/dist/components/kup-rating.js +6 -0
  130. package/dist/components/kup-snackbar.d.ts +11 -0
  131. package/dist/components/kup-snackbar.js +272 -0
  132. package/dist/components/kup-spinner.d.ts +11 -0
  133. package/dist/components/kup-spinner.js +6 -0
  134. package/dist/components/kup-switch.d.ts +11 -0
  135. package/dist/components/kup-switch.js +6 -0
  136. package/dist/components/kup-tab-bar.d.ts +11 -0
  137. package/dist/components/kup-tab-bar.js +6 -0
  138. package/dist/components/kup-text-field.d.ts +11 -0
  139. package/dist/components/kup-text-field.js +6 -0
  140. package/dist/components/kup-time-picker.d.ts +11 -0
  141. package/dist/components/kup-time-picker.js +6 -0
  142. package/dist/components/kup-tree.d.ts +11 -0
  143. package/dist/components/kup-tree.js +6 -0
  144. package/dist/esm/{f-button-d1aba968.js → f-button-4aad092d.js} +1 -1
  145. package/dist/esm/{f-cell-646406bb.js → f-cell-43ca8ab5.js} +11 -8
  146. package/dist/esm/{f-chip-d94e9e81.js → f-chip-94851217.js} +2 -2
  147. package/dist/esm/{f-image-57c88302.js → f-image-48a4b032.js} +1 -1
  148. package/dist/esm/{f-paginator-utils-2c865e9a.js → f-paginator-utils-fe00f75c.js} +2 -2
  149. package/dist/esm/{f-text-field-b0a1fea6.js → f-text-field-b6f9ce84.js} +1 -1
  150. package/dist/esm/ketchup.js +1 -1
  151. package/dist/esm/kup-accordion.entry.js +2 -2
  152. package/dist/esm/kup-autocomplete_26.entry.js +166 -23
  153. package/dist/esm/kup-box.entry.js +7 -7
  154. package/dist/esm/kup-calendar.entry.js +4 -4
  155. package/dist/esm/kup-cell.entry.js +5 -5
  156. package/dist/esm/kup-dash-list.entry.js +1 -1
  157. package/dist/esm/kup-dash_2.entry.js +1 -1
  158. package/dist/esm/kup-dashboard.entry.js +4 -4
  159. package/dist/esm/kup-drawer.entry.js +1 -1
  160. package/dist/esm/kup-echart.entry.js +1 -1
  161. package/dist/esm/kup-family-tree.entry.js +3 -3
  162. package/dist/esm/kup-iframe.entry.js +1 -1
  163. package/dist/esm/kup-image-list.entry.js +6 -6
  164. package/dist/esm/kup-lazy.entry.js +1 -1
  165. package/dist/esm/kup-magic-box.entry.js +2 -2
  166. package/dist/esm/{kup-manager-c0fbb180.js → kup-manager-07c9ba13.js} +7 -2
  167. package/dist/esm/kup-nav-bar.entry.js +1 -1
  168. package/dist/esm/kup-numeric-picker.entry.js +2 -2
  169. package/dist/esm/kup-photo-frame.entry.js +1 -1
  170. package/dist/esm/kup-probe.entry.js +1 -1
  171. package/dist/esm/kup-qlik.entry.js +1 -1
  172. package/dist/esm/kup-snackbar.entry.js +3 -3
  173. package/dist/esm/loader.js +1 -1
  174. package/dist/ketchup/ketchup.esm.js +1 -1
  175. package/dist/ketchup/{p-a1fe329f.entry.js → p-02be3dd2.entry.js} +1 -1
  176. package/dist/ketchup/{p-35e16ea2.entry.js → p-10281712.entry.js} +1 -1
  177. package/dist/ketchup/{p-b1da1ba7.entry.js → p-122f51a0.entry.js} +1 -1
  178. package/dist/ketchup/{p-e6f19333.entry.js → p-14aec9c8.entry.js} +1 -1
  179. package/dist/ketchup/{p-a992cf87.js → p-200c76a8.js} +1 -1
  180. package/dist/ketchup/{p-738685f9.entry.js → p-23f50851.entry.js} +1 -1
  181. package/dist/ketchup/{p-30766296.entry.js → p-2935f22d.entry.js} +1 -1
  182. package/dist/ketchup/{p-7c8c5444.entry.js → p-33429412.entry.js} +1 -1
  183. package/dist/ketchup/{p-596bdc10.entry.js → p-3a55568c.entry.js} +1 -1
  184. package/dist/ketchup/{p-cee3635a.entry.js → p-4c92f0a4.entry.js} +1 -1
  185. package/dist/ketchup/{p-a740352c.js → p-5781af8a.js} +1 -1
  186. package/dist/ketchup/{p-1914969e.entry.js → p-5f7da18e.entry.js} +1 -1
  187. package/dist/ketchup/{p-9214ef33.entry.js → p-69a9af60.entry.js} +1 -1
  188. package/dist/ketchup/{p-f43b445e.entry.js → p-7134b172.entry.js} +1 -1
  189. package/dist/ketchup/{p-980ed953.entry.js → p-772f4bb7.entry.js} +1 -1
  190. package/dist/ketchup/{p-72d4fa26.entry.js → p-79936744.entry.js} +1 -1
  191. package/dist/ketchup/{p-395675b8.js → p-86e4bfad.js} +1 -1
  192. package/dist/ketchup/p-8f8b5a08.entry.js +9 -0
  193. package/dist/ketchup/{p-250118e3.entry.js → p-94e3b109.entry.js} +1 -1
  194. package/dist/ketchup/{p-86154e2b.js → p-984a05ff.js} +1 -1
  195. package/dist/ketchup/{p-eb10958a.entry.js → p-9f759d8d.entry.js} +1 -1
  196. package/dist/ketchup/{p-351cecba.entry.js → p-ab6c66f7.entry.js} +1 -1
  197. package/dist/ketchup/{p-fa37e92e.entry.js → p-be7748e6.entry.js} +1 -1
  198. package/dist/ketchup/{p-61ff1761.js → p-c1a5ed6b.js} +1 -1
  199. package/dist/ketchup/p-e3b85cae.js +1 -0
  200. package/dist/ketchup/p-e8666a6d.js +1 -0
  201. package/dist/ketchup/{p-d422151a.entry.js → p-eab86c09.entry.js} +1 -1
  202. package/dist/ketchup/{p-991bd70d.entry.js → p-ec2d1c8c.entry.js} +1 -1
  203. package/dist/types/adoptedStyleSheet-shim.d.ts +3 -3
  204. package/dist/types/components/kup-box/kup-box-declarations.d.ts +9 -9
  205. package/dist/types/components/kup-card/box/kup-card-box.d.ts +24 -0
  206. package/dist/types/components/kup-form/kup-form-declarations.d.ts +4 -1
  207. package/dist/types/components/kup-form/kup-form.d.ts +11 -1
  208. package/dist/types/components.d.ts +21 -1
  209. package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +2 -1
  210. package/package.json +1 -1
  211. package/dist/ketchup/p-3cf97e3a.js +0 -1
  212. package/dist/ketchup/p-d05ed931.entry.js +0 -9
  213. package/dist/ketchup/p-ecac6269.js +0 -1
@@ -0,0 +1,403 @@
1
+ import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
2
+ import { k as kupManagerInstance, c as componentWrapperId, d as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, h as defineCustomElement$6, i as defineCustomElement$7, j as defineCustomElement$8, l as defineCustomElement$9, m as defineCustomElement$a, n as defineCustomElement$b, o as defineCustomElement$c, p as defineCustomElement$d, q as defineCustomElement$e, r as defineCustomElement$f, t as defineCustomElement$g, u as defineCustomElement$h, v as defineCustomElement$i, w as defineCustomElement$j, x as defineCustomElement$k, y as defineCustomElement$l, z as defineCustomElement$m, A as defineCustomElement$n, B as defineCustomElement$o, C as defineCustomElement$p, D as defineCustomElement$q, E as defineCustomElement$r } from './kup-autocomplete2.js';
3
+
4
+ const KupProbe$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
5
+ constructor() {
6
+ super();
7
+ this.__registerHost();
8
+ this.__attachShadow();
9
+ /**
10
+ * Uncomment the code below to test render times with many props (100).
11
+ */
12
+ /*
13
+ @Prop({ reflect: true }) test001 = 'null';
14
+ @Prop({ reflect: true }) test002 = 'null';
15
+ @Prop({ reflect: true }) test003 = 'null';
16
+ @Prop({ reflect: true }) test004 = 'null';
17
+ @Prop({ reflect: true }) test005 = 'null';
18
+ @Prop({ reflect: true }) test006 = 'null';
19
+ @Prop({ reflect: true }) test007 = 'null';
20
+ @Prop({ reflect: true }) test008 = 'null';
21
+ @Prop({ reflect: true }) test009 = 'null';
22
+ @Prop({ reflect: true }) test010 = 'null';
23
+ @Prop({ reflect: true }) test011 = 'null';
24
+ @Prop({ reflect: true }) test012 = 'null';
25
+ @Prop({ reflect: true }) test013 = 'null';
26
+ @Prop({ reflect: true }) test014 = 'null';
27
+ @Prop({ reflect: true }) test015 = 'null';
28
+ @Prop({ reflect: true }) test016 = 'null';
29
+ @Prop({ reflect: true }) test017 = 'null';
30
+ @Prop({ reflect: true }) test018 = 'null';
31
+ @Prop({ reflect: true }) test019 = 'null';
32
+ @Prop({ reflect: true }) test020 = 'null';
33
+ @Prop({ reflect: true }) test021 = 'null';
34
+ @Prop({ reflect: true }) test022 = 'null';
35
+ @Prop({ reflect: true }) test023 = 'null';
36
+ @Prop({ reflect: true }) test024 = 'null';
37
+ @Prop({ reflect: true }) test025 = 'null';
38
+ @Prop({ reflect: true }) test026 = 'null';
39
+ @Prop({ reflect: true }) test027 = 'null';
40
+ @Prop({ reflect: true }) test028 = 'null';
41
+ @Prop({ reflect: true }) test029 = 'null';
42
+ @Prop({ reflect: true }) test030 = 'null';
43
+ @Prop({ reflect: true }) test031 = 'null';
44
+ @Prop({ reflect: true }) test032 = 'null';
45
+ @Prop({ reflect: true }) test033 = 'null';
46
+ @Prop({ reflect: true }) test034 = 'null';
47
+ @Prop({ reflect: true }) test035 = 'null';
48
+ @Prop({ reflect: true }) test036 = 'null';
49
+ @Prop({ reflect: true }) test037 = 'null';
50
+ @Prop({ reflect: true }) test038 = 'null';
51
+ @Prop({ reflect: true }) test039 = 'null';
52
+ @Prop({ reflect: true }) test040 = 'null';
53
+ @Prop({ reflect: true }) test041 = 'null';
54
+ @Prop({ reflect: true }) test042 = 'null';
55
+ @Prop({ reflect: true }) test043 = 'null';
56
+ @Prop({ reflect: true }) test044 = 'null';
57
+ @Prop({ reflect: true }) test045 = 'null';
58
+ @Prop({ reflect: true }) test046 = 'null';
59
+ @Prop({ reflect: true }) test047 = 'null';
60
+ @Prop({ reflect: true }) test048 = 'null';
61
+ @Prop({ reflect: true }) test049 = 'null';
62
+ @Prop({ reflect: true }) test050 = 'null';
63
+ @Prop({ reflect: true }) test051 = 'null';
64
+ @Prop({ reflect: true }) test052 = 'null';
65
+ @Prop({ reflect: true }) test053 = 'null';
66
+ @Prop({ reflect: true }) test054 = 'null';
67
+ @Prop({ reflect: true }) test055 = 'null';
68
+ @Prop({ reflect: true }) test056 = 'null';
69
+ @Prop({ reflect: true }) test057 = 'null';
70
+ @Prop({ reflect: true }) test058 = 'null';
71
+ @Prop({ reflect: true }) test059 = 'null';
72
+ @Prop({ reflect: true }) test060 = 'null';
73
+ @Prop({ reflect: true }) test061 = 'null';
74
+ @Prop({ reflect: true }) test062 = 'null';
75
+ @Prop({ reflect: true }) test063 = 'null';
76
+ @Prop({ reflect: true }) test064 = 'null';
77
+ @Prop({ reflect: true }) test065 = 'null';
78
+ @Prop({ reflect: true }) test066 = 'null';
79
+ @Prop({ reflect: true }) test067 = 'null';
80
+ @Prop({ reflect: true }) test068 = 'null';
81
+ @Prop({ reflect: true }) test069 = 'null';
82
+ @Prop({ reflect: true }) test070 = 'null';
83
+ @Prop({ reflect: true }) test071 = 'null';
84
+ @Prop({ reflect: true }) test072 = 'null';
85
+ @Prop({ reflect: true }) test073 = 'null';
86
+ @Prop({ reflect: true }) test074 = 'null';
87
+ @Prop({ reflect: true }) test075 = 'null';
88
+ @Prop({ reflect: true }) test076 = 'null';
89
+ @Prop({ reflect: true }) test077 = 'null';
90
+ @Prop({ reflect: true }) test078 = 'null';
91
+ @Prop({ reflect: true }) test079 = 'null';
92
+ @Prop({ reflect: true }) test080 = 'null';
93
+ @Prop({ reflect: true }) test081 = 'null';
94
+ @Prop({ reflect: true }) test082 = 'null';
95
+ @Prop({ reflect: true }) test083 = 'null';
96
+ @Prop({ reflect: true }) test084 = 'null';
97
+ @Prop({ reflect: true }) test085 = 'null';
98
+ @Prop({ reflect: true }) test086 = 'null';
99
+ @Prop({ reflect: true }) test087 = 'null';
100
+ @Prop({ reflect: true }) test088 = 'null';
101
+ @Prop({ reflect: true }) test089 = 'null';
102
+ @Prop({ reflect: true }) test090 = 'null';
103
+ @Prop({ reflect: true }) test091 = 'null';
104
+ @Prop({ reflect: true }) test092 = 'null';
105
+ @Prop({ reflect: true }) test093 = 'null';
106
+ @Prop({ reflect: true }) test094 = 'null';
107
+ @Prop({ reflect: true }) test095 = 'null';
108
+ @Prop({ reflect: true }) test096 = 'null';
109
+ @Prop({ reflect: true }) test097 = 'null';
110
+ @Prop({ reflect: true }) test098 = 'null';
111
+ @Prop({ reflect: true }) test099 = 'null';
112
+ @Prop({ reflect: true }) test100 = 'null';
113
+ */
114
+ /*-------------------------------------------------*/
115
+ /* I n t e r n a l V a r i a b l e s */
116
+ /*-------------------------------------------------*/
117
+ /**
118
+ * Instance of the KupManager class.
119
+ */
120
+ this.kupManager = kupManagerInstance();
121
+ /**
122
+ * Start performance.now()
123
+ */
124
+ this.startTime = performance.now();
125
+ /**
126
+ * Start performance.now() inside componentWillLoad() lifecycle hook - to measure actual features
127
+ */
128
+ this.featuresStartTime = null;
129
+ /**
130
+ * End performance.now()
131
+ */
132
+ this.endTime = null;
133
+ this.content = null;
134
+ this.customStyle = '';
135
+ this.features = {
136
+ debug: false,
137
+ language: false,
138
+ longCycleProp: false,
139
+ longCycleVar: false,
140
+ objects: false,
141
+ objectsFunction: false,
142
+ theme: false,
143
+ };
144
+ }
145
+ /*-------------------------------------------------*/
146
+ /* P u b l i c M e t h o d s */
147
+ /*-------------------------------------------------*/
148
+ /**
149
+ * This method is used to trigger a new render of the component.
150
+ */
151
+ async printLifecycleTime() {
152
+ const featuresTime = this.endTime - this.featuresStartTime;
153
+ const fullTime = this.endTime - this.startTime;
154
+ this.content =
155
+ 'Full lifecycle of this probe (' +
156
+ this.rootElement.tagName +
157
+ '#' +
158
+ this.rootElement.id +
159
+ ') took ' +
160
+ fullTime +
161
+ 'ms, while features took ' +
162
+ featuresTime +
163
+ 'ms.';
164
+ return {
165
+ id: this.rootElement.id,
166
+ fullTime: fullTime,
167
+ featuresTime: featuresTime,
168
+ };
169
+ }
170
+ /**
171
+ * This method is used to trigger a new render of the component.
172
+ */
173
+ async refresh() {
174
+ forceUpdate(this);
175
+ }
176
+ /*-------------------------------------------------*/
177
+ /* P r i v a t e M e t h o d s */
178
+ /*-------------------------------------------------*/
179
+ longCycleProp() {
180
+ }
181
+ longCycleVar() {
182
+ }
183
+ longCycleObjects() {
184
+ for (let index = 0; index < 1000000; index++) {
185
+ this.kupManager.objects.isNumber({ t: 'NR', p: '', k: '' });
186
+ }
187
+ }
188
+ longCycleObjectsFunction() {
189
+ }
190
+ /*-------------------------------------------------*/
191
+ /* L i f e c y c l e H o o k s */
192
+ /*-------------------------------------------------*/
193
+ componentWillLoad() {
194
+ this.featuresStartTime = performance.now();
195
+ if (this.features.debug) {
196
+ this.kupManager.debug.logLoad(this, false);
197
+ }
198
+ if (this.features.language) {
199
+ this.kupManager.language.register(this);
200
+ }
201
+ if (this.features.longCycleProp) {
202
+ this.longCycleProp();
203
+ }
204
+ if (this.features.longCycleVar) {
205
+ this.longCycleVar();
206
+ }
207
+ if (this.features.objects) {
208
+ this.longCycleObjects();
209
+ }
210
+ if (this.features.objectsFunction) {
211
+ this.longCycleObjectsFunction();
212
+ }
213
+ if (this.features.theme) {
214
+ this.kupManager.theme.register(this);
215
+ }
216
+ }
217
+ componentDidLoad() {
218
+ if (this.features.debug) {
219
+ this.kupManager.debug.logLoad(this, true);
220
+ }
221
+ this.endTime = performance.now();
222
+ }
223
+ componentWillRender() {
224
+ if (this.features.debug) {
225
+ this.kupManager.debug.logRender(this, false);
226
+ }
227
+ }
228
+ componentDidRender() {
229
+ if (this.features.debug) {
230
+ this.kupManager.debug.logRender(this, true);
231
+ }
232
+ }
233
+ render() {
234
+ let customStyle = null;
235
+ if (this.features.theme) {
236
+ customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
237
+ }
238
+ return (h(Host, null, customStyle ? h("style", null, customStyle) : null, h("div", { id: componentWrapperId }, this.content)));
239
+ }
240
+ disconnectedCallback() {
241
+ if (this.features.language) {
242
+ this.kupManager.language.unregister(this);
243
+ }
244
+ if (this.features.theme) {
245
+ this.kupManager.theme.unregister(this);
246
+ }
247
+ }
248
+ get rootElement() { return this; }
249
+ }, [1, "kup-probe", {
250
+ "customStyle": [1, "custom-style"],
251
+ "features": [16],
252
+ "content": [32],
253
+ "printLifecycleTime": [64],
254
+ "refresh": [64]
255
+ }]);
256
+ function defineCustomElement$1() {
257
+ if (typeof customElements === "undefined") {
258
+ return;
259
+ }
260
+ const components = ["kup-probe", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
261
+ components.forEach(tagName => { switch (tagName) {
262
+ case "kup-probe":
263
+ if (!customElements.get(tagName)) {
264
+ customElements.define(tagName, KupProbe$1);
265
+ }
266
+ break;
267
+ case "kup-autocomplete":
268
+ if (!customElements.get(tagName)) {
269
+ defineCustomElement$r();
270
+ }
271
+ break;
272
+ case "kup-badge":
273
+ if (!customElements.get(tagName)) {
274
+ defineCustomElement$q();
275
+ }
276
+ break;
277
+ case "kup-button":
278
+ if (!customElements.get(tagName)) {
279
+ defineCustomElement$p();
280
+ }
281
+ break;
282
+ case "kup-button-list":
283
+ if (!customElements.get(tagName)) {
284
+ defineCustomElement$o();
285
+ }
286
+ break;
287
+ case "kup-card":
288
+ if (!customElements.get(tagName)) {
289
+ defineCustomElement$n();
290
+ }
291
+ break;
292
+ case "kup-chart":
293
+ if (!customElements.get(tagName)) {
294
+ defineCustomElement$m();
295
+ }
296
+ break;
297
+ case "kup-checkbox":
298
+ if (!customElements.get(tagName)) {
299
+ defineCustomElement$l();
300
+ }
301
+ break;
302
+ case "kup-chip":
303
+ if (!customElements.get(tagName)) {
304
+ defineCustomElement$k();
305
+ }
306
+ break;
307
+ case "kup-color-picker":
308
+ if (!customElements.get(tagName)) {
309
+ defineCustomElement$j();
310
+ }
311
+ break;
312
+ case "kup-combobox":
313
+ if (!customElements.get(tagName)) {
314
+ defineCustomElement$i();
315
+ }
316
+ break;
317
+ case "kup-data-table":
318
+ if (!customElements.get(tagName)) {
319
+ defineCustomElement$h();
320
+ }
321
+ break;
322
+ case "kup-date-picker":
323
+ if (!customElements.get(tagName)) {
324
+ defineCustomElement$g();
325
+ }
326
+ break;
327
+ case "kup-dropdown-button":
328
+ if (!customElements.get(tagName)) {
329
+ defineCustomElement$f();
330
+ }
331
+ break;
332
+ case "kup-form":
333
+ if (!customElements.get(tagName)) {
334
+ defineCustomElement$e();
335
+ }
336
+ break;
337
+ case "kup-gauge":
338
+ if (!customElements.get(tagName)) {
339
+ defineCustomElement$d();
340
+ }
341
+ break;
342
+ case "kup-image":
343
+ if (!customElements.get(tagName)) {
344
+ defineCustomElement$c();
345
+ }
346
+ break;
347
+ case "kup-list":
348
+ if (!customElements.get(tagName)) {
349
+ defineCustomElement$b();
350
+ }
351
+ break;
352
+ case "kup-progress-bar":
353
+ if (!customElements.get(tagName)) {
354
+ defineCustomElement$a();
355
+ }
356
+ break;
357
+ case "kup-radio":
358
+ if (!customElements.get(tagName)) {
359
+ defineCustomElement$9();
360
+ }
361
+ break;
362
+ case "kup-rating":
363
+ if (!customElements.get(tagName)) {
364
+ defineCustomElement$8();
365
+ }
366
+ break;
367
+ case "kup-spinner":
368
+ if (!customElements.get(tagName)) {
369
+ defineCustomElement$7();
370
+ }
371
+ break;
372
+ case "kup-switch":
373
+ if (!customElements.get(tagName)) {
374
+ defineCustomElement$6();
375
+ }
376
+ break;
377
+ case "kup-tab-bar":
378
+ if (!customElements.get(tagName)) {
379
+ defineCustomElement$5();
380
+ }
381
+ break;
382
+ case "kup-text-field":
383
+ if (!customElements.get(tagName)) {
384
+ defineCustomElement$4();
385
+ }
386
+ break;
387
+ case "kup-time-picker":
388
+ if (!customElements.get(tagName)) {
389
+ defineCustomElement$3();
390
+ }
391
+ break;
392
+ case "kup-tree":
393
+ if (!customElements.get(tagName)) {
394
+ defineCustomElement$2();
395
+ }
396
+ break;
397
+ } });
398
+ }
399
+
400
+ const KupProbe = KupProbe$1;
401
+ const defineCustomElement = defineCustomElement$1;
402
+
403
+ export { KupProbe, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface KupProgressBar extends Components.KupProgressBar, HTMLElement {}
4
+ export const KupProgressBar: {
5
+ prototype: KupProgressBar;
6
+ new (): KupProgressBar;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { aq as KupProgressBar$1, m as defineCustomElement$1 } from './kup-autocomplete2.js';
2
+
3
+ const KupProgressBar = KupProgressBar$1;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { KupProgressBar, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface KupQlik extends Components.KupQlik, HTMLElement {}
4
+ export const KupQlik: {
5
+ prototype: KupQlik;
6
+ new (): KupQlik;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;