@sme.up/ketchup 6.6.0 → 6.8.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 (211) hide show
  1. package/README.md +7 -1
  2. package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
  3. package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
  4. package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
  5. package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
  6. package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
  7. package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
  8. package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.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 +7 -30
  12. package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
  13. package/dist/cjs/kup-box.cjs.entry.js +33 -113
  14. package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
  15. package/dist/cjs/kup-cell.cjs.entry.js +10 -29
  16. package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
  17. package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
  18. package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
  19. package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
  20. package/dist/cjs/kup-echart.cjs.entry.js +16 -77
  21. package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
  22. package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
  23. package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
  24. package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
  25. package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
  26. package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
  27. package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
  28. package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
  29. package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
  30. package/dist/cjs/kup-probe.cjs.entry.js +13 -33
  31. package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
  32. package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
  33. package/dist/cjs/loader.cjs.js +3 -3
  34. package/dist/collection/assets/box.js +9 -6
  35. package/dist/collection/collection-manifest.json +3 -3
  36. package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
  37. package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
  38. package/dist/collection/components/kup-badge/kup-badge.js +179 -189
  39. package/dist/collection/components/kup-box/kup-box.js +911 -1010
  40. package/dist/collection/components/kup-button/kup-button.js +382 -428
  41. package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
  42. package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
  43. package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
  44. package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
  45. package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
  46. package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
  47. package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
  48. package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
  49. package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
  50. package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
  51. package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
  52. package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
  53. package/dist/collection/components/kup-card/kup-card.css +118 -12
  54. package/dist/collection/components/kup-card/kup-card.js +394 -385
  55. package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
  56. package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
  57. package/dist/collection/components/kup-cell/kup-cell.js +224 -238
  58. package/dist/collection/components/kup-chart/kup-chart.js +562 -586
  59. package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
  60. package/dist/collection/components/kup-chip/kup-chip.js +243 -250
  61. package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
  62. package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
  63. package/dist/collection/components/kup-dash/kup-dash.js +112 -172
  64. package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
  65. package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
  66. package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
  67. package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
  68. package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
  69. package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
  70. package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
  71. package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
  72. package/dist/collection/components/kup-echart/kup-echart.js +450 -498
  73. package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
  74. package/dist/collection/components/kup-form/kup-form.js +226 -248
  75. package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
  76. package/dist/collection/components/kup-grid/kup-grid.js +159 -172
  77. package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
  78. package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
  79. package/dist/collection/components/kup-image/kup-image.js +305 -340
  80. package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
  81. package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
  82. package/dist/collection/components/kup-list/kup-list.js +546 -572
  83. package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
  84. package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
  85. package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
  86. package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
  87. package/dist/collection/components/kup-probe/kup-probe.js +98 -114
  88. package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
  89. package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
  90. package/dist/collection/components/kup-radio/kup-radio.js +261 -289
  91. package/dist/collection/components/kup-rating/kup-rating.js +212 -224
  92. package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
  93. package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
  94. package/dist/collection/components/kup-switch/kup-switch.js +258 -280
  95. package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
  96. package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
  97. package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
  98. package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
  99. package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
  100. package/dist/collection/f-components/f-button/f-button.js +11 -20
  101. package/dist/collection/f-components/f-cell/f-cell.js +20 -22
  102. package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
  103. package/dist/collection/f-components/f-chip/f-chip.js +18 -31
  104. package/dist/collection/f-components/f-image/f-image.js +1 -3
  105. package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
  106. package/dist/collection/f-components/f-switch/f-switch.js +1 -8
  107. package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
  108. package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
  109. package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
  110. package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
  111. package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
  112. package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
  113. package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
  114. package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
  115. package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
  116. package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
  117. package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
  118. package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
  119. package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
  120. package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
  121. package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
  122. package/dist/esm/ketchup.js +3 -3
  123. package/dist/esm/kup-accordion.entry.js +7 -30
  124. package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
  125. package/dist/esm/kup-box.entry.js +33 -113
  126. package/dist/esm/kup-calendar.entry.js +10 -34
  127. package/dist/esm/kup-cell.entry.js +10 -29
  128. package/dist/esm/kup-dash-list.entry.js +10 -9
  129. package/dist/esm/kup-dash_2.entry.js +7 -35
  130. package/dist/esm/kup-dashboard.entry.js +10 -32
  131. package/dist/esm/kup-drawer.entry.js +4 -19
  132. package/dist/esm/kup-echart.entry.js +16 -77
  133. package/dist/esm/kup-family-tree.entry.js +12 -48
  134. package/dist/esm/kup-iframe.entry.js +5 -17
  135. package/dist/esm/kup-image-list.entry.js +16 -34
  136. package/dist/esm/kup-lazy.entry.js +10 -37
  137. package/dist/esm/kup-magic-box.entry.js +6 -25
  138. package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
  139. package/dist/esm/kup-nav-bar.entry.js +4 -16
  140. package/dist/esm/kup-numeric-picker.entry.js +14 -57
  141. package/dist/esm/kup-photo-frame.entry.js +9 -31
  142. package/dist/esm/kup-probe.entry.js +13 -33
  143. package/dist/esm/kup-qlik.entry.js +6 -60
  144. package/dist/esm/kup-snackbar.entry.js +7 -38
  145. package/dist/esm/loader.js +3 -3
  146. package/dist/esm/polyfills/css-shim.js +1 -1
  147. package/dist/ketchup/ketchup.esm.js +1 -1
  148. package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
  149. package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
  150. package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
  151. package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
  152. package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
  153. package/dist/ketchup/p-35e16ea2.entry.js +1 -0
  154. package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
  155. package/dist/ketchup/p-3cf97e3a.js +1 -0
  156. package/dist/ketchup/p-4fdb684f.js +2 -0
  157. package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
  158. package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
  159. package/dist/ketchup/p-72d4fa26.entry.js +1 -0
  160. package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
  161. package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
  162. package/dist/ketchup/p-86154e2b.js +1 -0
  163. package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
  164. package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
  165. package/dist/ketchup/p-991bd70d.entry.js +1 -0
  166. package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
  167. package/dist/ketchup/p-a740352c.js +30 -0
  168. package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
  169. package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
  170. package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
  171. package/dist/ketchup/p-d05ed931.entry.js +9 -0
  172. package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
  173. package/dist/ketchup/p-e6f19333.entry.js +1 -0
  174. package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
  175. package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
  176. package/dist/ketchup/p-f43b445e.entry.js +1 -0
  177. package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
  178. package/dist/loader/package.json +1 -0
  179. package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
  180. package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
  181. package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
  182. package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
  183. package/dist/types/components/kup-card/kup-card.d.ts +5 -0
  184. package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
  185. package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
  186. package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
  187. package/dist/types/components/kup-list/kup-list.d.ts +5 -0
  188. package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
  189. package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
  190. package/dist/types/components.d.ts +78 -2
  191. package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
  192. package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
  193. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
  194. package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
  195. package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
  196. package/dist/types/stencil-public-runtime.d.ts +20 -4
  197. package/package.json +2 -2
  198. package/CHANGELOG.md +0 -5
  199. package/dist/cjs/kup-form.cjs.entry.js +0 -486
  200. package/dist/esm/kup-form.entry.js +0 -482
  201. package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
  202. package/dist/ketchup/p-27538d6f.entry.js +0 -1
  203. package/dist/ketchup/p-29d72040.entry.js +0 -1
  204. package/dist/ketchup/p-3e74e1ed.js +0 -1
  205. package/dist/ketchup/p-680a8cb4.entry.js +0 -9
  206. package/dist/ketchup/p-6946b614.entry.js +0 -1
  207. package/dist/ketchup/p-b0b3989b.js +0 -2
  208. package/dist/ketchup/p-c05f2638.js +0 -30
  209. package/dist/ketchup/p-d7a92197.entry.js +0 -1
  210. package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
  211. package/dist/ketchup/p-e07a10fb.js +0 -1
@@ -1,16 +1,21 @@
1
1
  var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
3
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
2
+ if (kind === "a" && !f)
3
+ throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
4
6
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
7
  };
6
8
  var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
7
- if (kind === "m") throw new TypeError("Private method is not writable");
8
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
9
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
10
15
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
11
16
  };
12
17
  var _KupAutocomplete_instances, _KupAutocomplete_doConsistencyCheck, _KupAutocomplete_elStyle, _KupAutocomplete_listEl, _KupAutocomplete_kupManager, _KupAutocomplete_textfieldWrapper, _KupAutocomplete_textfieldEl, _KupAutocomplete_clickCb, _KupAutocomplete_inputTimeout, _KupAutocomplete_openList, _KupAutocomplete_closeList, _KupAutocomplete_isListOpened, _KupAutocomplete_consistencyCheck, _KupAutocomplete_prepList;
13
- import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, } from '@stencil/core';
18
+ import { forceUpdate, h, Host, } from '@stencil/core';
14
19
  import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
15
20
  import { FTextField } from '../../f-components/f-text-field/f-text-field';
16
21
  import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
@@ -25,83 +30,32 @@ export class KupAutocomplete {
25
30
  constructor() {
26
31
  _KupAutocomplete_instances.add(this);
27
32
  /*-------------------------------------------------*/
28
- /* S t a t e s */
29
- /*-------------------------------------------------*/
30
- this.displayedValue = undefined;
31
- this.value = '';
32
- /*-------------------------------------------------*/
33
- /* P r o p s */
33
+ /* I n t e r n a l V a r i a b l e s */
34
34
  /*-------------------------------------------------*/
35
+ _KupAutocomplete_doConsistencyCheck.set(this, true);
36
+ _KupAutocomplete_elStyle.set(this, undefined);
37
+ _KupAutocomplete_listEl.set(this, null);
35
38
  /**
36
- * When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list.
37
- * @default false
39
+ * Instance of the KupManager class.
38
40
  */
41
+ _KupAutocomplete_kupManager.set(this, kupManagerInstance());
42
+ _KupAutocomplete_textfieldWrapper.set(this, undefined);
43
+ _KupAutocomplete_textfieldEl.set(this, undefined);
44
+ _KupAutocomplete_clickCb.set(this, null);
45
+ _KupAutocomplete_inputTimeout.set(this, void 0);
46
+ this.displayedValue = undefined;
47
+ this.value = '';
39
48
  this.allowInconsistentValues = false;
40
- /**
41
- * Custom style of the component.
42
- * @default ""
43
- * @see https://ketchup.smeup.com/ketchup-showcase/#/customization
44
- */
45
49
  this.customStyle = '';
46
- /**
47
- * Props of the sub-components.
48
- * @default undefined
49
- */
50
50
  this.data = undefined;
51
- /**
52
- * Defaults at false. When set to true, the component is disabled.
53
- * @default false
54
- */
55
51
  this.disabled = false;
56
- /**
57
- * Sets how to show the selected item value. Suported values: "code", "description", "both".
58
- * @default ItemsDisplayMode.DESCRIPTION
59
- */
60
52
  this.displayMode = ItemsDisplayMode.DESCRIPTION;
61
- /**
62
- * Sets the initial value of the component.
63
- * @default ""
64
- */
65
53
  this.initialValue = '';
66
- /**
67
- * Input event emission delay in milliseconds.
68
- * @default 300
69
- */
70
54
  this.inputDelay = 300;
71
- /**
72
- * The minimum number of chars to trigger the autocomplete
73
- * @default 1
74
- */
75
55
  this.minimumChars = 1;
76
- /**
77
- * Sets how to return the selected item value. Suported values: "code", "description", "both".
78
- * @default ItemsDisplayMode.CODE
79
- */
80
56
  this.selectMode = ItemsDisplayMode.CODE;
81
- /**
82
- * When true, the items filter is managed server side, otherwise items filter is done client side.
83
- * @default false
84
- */
85
57
  this.serverHandledFilter = false;
86
- /**
87
- * When true shows the drop-down icon, for open list.
88
- * @default true
89
- */
90
58
  this.showDropDownIcon = true;
91
- /*-------------------------------------------------*/
92
- /* I n t e r n a l V a r i a b l e s */
93
- /*-------------------------------------------------*/
94
- _KupAutocomplete_doConsistencyCheck.set(this, true);
95
- _KupAutocomplete_elStyle.set(this, undefined);
96
- _KupAutocomplete_listEl.set(this, null);
97
- /**
98
- * Instance of the KupManager class.
99
- */
100
- _KupAutocomplete_kupManager.set(this, kupManagerInstance());
101
- _KupAutocomplete_textfieldWrapper.set(this, undefined);
102
- _KupAutocomplete_textfieldEl.set(this, undefined);
103
- _KupAutocomplete_clickCb.set(this, null);
104
- _KupAutocomplete_inputTimeout.set(this, void 0);
105
59
  }
106
60
  onKupBlur() {
107
61
  this.kupBlur.emit({
@@ -157,7 +111,9 @@ export class KupAutocomplete {
157
111
  __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
158
112
  }
159
113
  else {
160
- __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
114
+ if (this.showDropDownIcon) {
115
+ __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
116
+ }
161
117
  }
162
118
  this.kupIconClick.emit({
163
119
  comp: this,
@@ -310,16 +266,12 @@ export class KupAutocomplete {
310
266
  render() {
311
267
  const fullHeight = this.rootElement.classList.contains('kup-full-height');
312
268
  const fullWidth = this.rootElement.classList.contains('kup-full-width');
313
- return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") },
314
- h("style", null, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)),
315
- h("div", { id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") },
316
- h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
317
- ? KupThemeIconValues.DROPDOWN
318
- : null, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
319
- window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
320
- __classPrivateFieldSet(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
321
- }, onIconClick: () => this.onKupIconClick() }))),
322
- __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
269
+ return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h("style", null, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ icon: this.showDropDownIcon
270
+ ? KupThemeIconValues.DROPDOWN
271
+ : null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
272
+ window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
273
+ __classPrivateFieldSet(this, _KupAutocomplete_inputTimeout, window.setTimeout(() => this.onKupInput(), this.inputDelay), "f");
274
+ }, onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_prepList).call(this)));
323
275
  }
324
276
  disconnectedCallback() {
325
277
  if (__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f")) {
@@ -330,552 +282,566 @@ export class KupAutocomplete {
330
282
  }
331
283
  static get is() { return "kup-autocomplete"; }
332
284
  static get encapsulation() { return "shadow"; }
333
- static get originalStyleUrls() { return {
334
- "$": ["kup-autocomplete.scss"]
335
- }; }
336
- static get styleUrls() { return {
337
- "$": ["kup-autocomplete.css"]
338
- }; }
339
- static get properties() { return {
340
- "allowInconsistentValues": {
341
- "type": "boolean",
342
- "mutable": false,
343
- "complexType": {
344
- "original": "boolean",
345
- "resolved": "boolean",
346
- "references": {}
347
- },
348
- "required": false,
349
- "optional": false,
350
- "docs": {
351
- "tags": [{
352
- "name": "default",
353
- "text": "false"
354
- }],
355
- "text": "When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list."
356
- },
357
- "attribute": "allow-inconsistent-values",
358
- "reflect": false,
359
- "defaultValue": "false"
360
- },
361
- "customStyle": {
362
- "type": "string",
363
- "mutable": false,
364
- "complexType": {
365
- "original": "string",
366
- "resolved": "string",
367
- "references": {}
368
- },
369
- "required": false,
370
- "optional": false,
371
- "docs": {
372
- "tags": [{
373
- "name": "default",
374
- "text": "\"\""
375
- }, {
376
- "name": "see",
377
- "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
378
- }],
379
- "text": "Custom style of the component."
380
- },
381
- "attribute": "custom-style",
382
- "reflect": false,
383
- "defaultValue": "''"
384
- },
385
- "data": {
386
- "type": "unknown",
387
- "mutable": true,
388
- "complexType": {
389
- "original": "Object",
390
- "resolved": "Object",
391
- "references": {
392
- "Object": {
393
- "location": "global"
285
+ static get originalStyleUrls() {
286
+ return {
287
+ "$": ["kup-autocomplete.scss"]
288
+ };
289
+ }
290
+ static get styleUrls() {
291
+ return {
292
+ "$": ["kup-autocomplete.css"]
293
+ };
294
+ }
295
+ static get properties() {
296
+ return {
297
+ "allowInconsistentValues": {
298
+ "type": "boolean",
299
+ "mutable": false,
300
+ "complexType": {
301
+ "original": "boolean",
302
+ "resolved": "boolean",
303
+ "references": {}
304
+ },
305
+ "required": false,
306
+ "optional": false,
307
+ "docs": {
308
+ "tags": [{
309
+ "name": "default",
310
+ "text": "false"
311
+ }],
312
+ "text": "When true, the autocomplete fires the change event even when the value typed isn't included in the autocomplete list."
313
+ },
314
+ "attribute": "allow-inconsistent-values",
315
+ "reflect": false,
316
+ "defaultValue": "false"
317
+ },
318
+ "customStyle": {
319
+ "type": "string",
320
+ "mutable": false,
321
+ "complexType": {
322
+ "original": "string",
323
+ "resolved": "string",
324
+ "references": {}
325
+ },
326
+ "required": false,
327
+ "optional": false,
328
+ "docs": {
329
+ "tags": [{
330
+ "name": "default",
331
+ "text": "\"\""
332
+ }, {
333
+ "name": "see",
334
+ "text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
335
+ }],
336
+ "text": "Custom style of the component."
337
+ },
338
+ "attribute": "custom-style",
339
+ "reflect": false,
340
+ "defaultValue": "''"
341
+ },
342
+ "data": {
343
+ "type": "unknown",
344
+ "mutable": true,
345
+ "complexType": {
346
+ "original": "Object",
347
+ "resolved": "Object",
348
+ "references": {
349
+ "Object": {
350
+ "location": "global"
351
+ }
394
352
  }
395
- }
396
- },
397
- "required": false,
398
- "optional": false,
399
- "docs": {
400
- "tags": [{
401
- "name": "default",
402
- "text": "undefined"
403
- }],
404
- "text": "Props of the sub-components."
405
- },
406
- "defaultValue": "undefined"
407
- },
408
- "disabled": {
409
- "type": "boolean",
410
- "mutable": false,
411
- "complexType": {
412
- "original": "boolean",
413
- "resolved": "boolean",
414
- "references": {}
415
- },
416
- "required": false,
417
- "optional": false,
418
- "docs": {
419
- "tags": [{
420
- "name": "default",
421
- "text": "false"
422
- }],
423
- "text": "Defaults at false. When set to true, the component is disabled."
424
- },
425
- "attribute": "disabled",
426
- "reflect": false,
427
- "defaultValue": "false"
428
- },
429
- "displayMode": {
430
- "type": "string",
431
- "mutable": false,
432
- "complexType": {
433
- "original": "ItemsDisplayMode",
434
- "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
435
- "references": {
436
- "ItemsDisplayMode": {
437
- "location": "import",
438
- "path": "../kup-list/kup-list-declarations"
353
+ },
354
+ "required": false,
355
+ "optional": false,
356
+ "docs": {
357
+ "tags": [{
358
+ "name": "default",
359
+ "text": "undefined"
360
+ }],
361
+ "text": "Props of the sub-components."
362
+ },
363
+ "defaultValue": "undefined"
364
+ },
365
+ "disabled": {
366
+ "type": "boolean",
367
+ "mutable": false,
368
+ "complexType": {
369
+ "original": "boolean",
370
+ "resolved": "boolean",
371
+ "references": {}
372
+ },
373
+ "required": false,
374
+ "optional": false,
375
+ "docs": {
376
+ "tags": [{
377
+ "name": "default",
378
+ "text": "false"
379
+ }],
380
+ "text": "Defaults at false. When set to true, the component is disabled."
381
+ },
382
+ "attribute": "disabled",
383
+ "reflect": false,
384
+ "defaultValue": "false"
385
+ },
386
+ "displayMode": {
387
+ "type": "string",
388
+ "mutable": false,
389
+ "complexType": {
390
+ "original": "ItemsDisplayMode",
391
+ "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
392
+ "references": {
393
+ "ItemsDisplayMode": {
394
+ "location": "import",
395
+ "path": "../kup-list/kup-list-declarations"
396
+ }
439
397
  }
440
- }
441
- },
442
- "required": false,
443
- "optional": false,
444
- "docs": {
445
- "tags": [{
446
- "name": "default",
447
- "text": "ItemsDisplayMode.DESCRIPTION"
448
- }],
449
- "text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
450
- },
451
- "attribute": "display-mode",
452
- "reflect": false,
453
- "defaultValue": "ItemsDisplayMode.DESCRIPTION"
454
- },
455
- "initialValue": {
456
- "type": "string",
457
- "mutable": false,
458
- "complexType": {
459
- "original": "string",
460
- "resolved": "string",
461
- "references": {}
462
- },
463
- "required": false,
464
- "optional": false,
465
- "docs": {
466
- "tags": [{
467
- "name": "default",
468
- "text": "\"\""
469
- }],
470
- "text": "Sets the initial value of the component."
471
- },
472
- "attribute": "initial-value",
473
- "reflect": false,
474
- "defaultValue": "''"
475
- },
476
- "inputDelay": {
477
- "type": "number",
478
- "mutable": false,
479
- "complexType": {
480
- "original": "number",
481
- "resolved": "number",
482
- "references": {}
483
- },
484
- "required": false,
485
- "optional": false,
486
- "docs": {
487
- "tags": [{
488
- "name": "default",
489
- "text": "300"
490
- }],
491
- "text": "Input event emission delay in milliseconds."
492
- },
493
- "attribute": "input-delay",
494
- "reflect": false,
495
- "defaultValue": "300"
496
- },
497
- "minimumChars": {
498
- "type": "number",
499
- "mutable": false,
500
- "complexType": {
501
- "original": "number",
502
- "resolved": "number",
503
- "references": {}
504
- },
505
- "required": false,
506
- "optional": false,
507
- "docs": {
508
- "tags": [{
509
- "name": "default",
510
- "text": "1"
511
- }],
512
- "text": "The minimum number of chars to trigger the autocomplete"
513
- },
514
- "attribute": "minimum-chars",
515
- "reflect": false,
516
- "defaultValue": "1"
517
- },
518
- "selectMode": {
519
- "type": "string",
520
- "mutable": false,
521
- "complexType": {
522
- "original": "ItemsDisplayMode",
523
- "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
524
- "references": {
525
- "ItemsDisplayMode": {
526
- "location": "import",
527
- "path": "../kup-list/kup-list-declarations"
398
+ },
399
+ "required": false,
400
+ "optional": false,
401
+ "docs": {
402
+ "tags": [{
403
+ "name": "default",
404
+ "text": "ItemsDisplayMode.DESCRIPTION"
405
+ }],
406
+ "text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
407
+ },
408
+ "attribute": "display-mode",
409
+ "reflect": false,
410
+ "defaultValue": "ItemsDisplayMode.DESCRIPTION"
411
+ },
412
+ "initialValue": {
413
+ "type": "string",
414
+ "mutable": false,
415
+ "complexType": {
416
+ "original": "string",
417
+ "resolved": "string",
418
+ "references": {}
419
+ },
420
+ "required": false,
421
+ "optional": false,
422
+ "docs": {
423
+ "tags": [{
424
+ "name": "default",
425
+ "text": "\"\""
426
+ }],
427
+ "text": "Sets the initial value of the component."
428
+ },
429
+ "attribute": "initial-value",
430
+ "reflect": false,
431
+ "defaultValue": "''"
432
+ },
433
+ "inputDelay": {
434
+ "type": "number",
435
+ "mutable": false,
436
+ "complexType": {
437
+ "original": "number",
438
+ "resolved": "number",
439
+ "references": {}
440
+ },
441
+ "required": false,
442
+ "optional": false,
443
+ "docs": {
444
+ "tags": [{
445
+ "name": "default",
446
+ "text": "300"
447
+ }],
448
+ "text": "Input event emission delay in milliseconds."
449
+ },
450
+ "attribute": "input-delay",
451
+ "reflect": false,
452
+ "defaultValue": "300"
453
+ },
454
+ "minimumChars": {
455
+ "type": "number",
456
+ "mutable": false,
457
+ "complexType": {
458
+ "original": "number",
459
+ "resolved": "number",
460
+ "references": {}
461
+ },
462
+ "required": false,
463
+ "optional": false,
464
+ "docs": {
465
+ "tags": [{
466
+ "name": "default",
467
+ "text": "1"
468
+ }],
469
+ "text": "The minimum number of chars to trigger the autocomplete"
470
+ },
471
+ "attribute": "minimum-chars",
472
+ "reflect": false,
473
+ "defaultValue": "1"
474
+ },
475
+ "selectMode": {
476
+ "type": "string",
477
+ "mutable": false,
478
+ "complexType": {
479
+ "original": "ItemsDisplayMode",
480
+ "resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
481
+ "references": {
482
+ "ItemsDisplayMode": {
483
+ "location": "import",
484
+ "path": "../kup-list/kup-list-declarations"
485
+ }
528
486
  }
529
- }
530
- },
531
- "required": false,
532
- "optional": false,
533
- "docs": {
534
- "tags": [{
535
- "name": "default",
536
- "text": "ItemsDisplayMode.CODE"
537
- }],
538
- "text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
539
- },
540
- "attribute": "select-mode",
541
- "reflect": false,
542
- "defaultValue": "ItemsDisplayMode.CODE"
543
- },
544
- "serverHandledFilter": {
545
- "type": "boolean",
546
- "mutable": false,
547
- "complexType": {
548
- "original": "boolean",
549
- "resolved": "boolean",
550
- "references": {}
551
- },
552
- "required": false,
553
- "optional": false,
554
- "docs": {
555
- "tags": [{
556
- "name": "default",
557
- "text": "false"
558
- }],
559
- "text": "When true, the items filter is managed server side, otherwise items filter is done client side."
560
- },
561
- "attribute": "server-handled-filter",
562
- "reflect": true,
563
- "defaultValue": "false"
564
- },
565
- "showDropDownIcon": {
566
- "type": "boolean",
567
- "mutable": false,
568
- "complexType": {
569
- "original": "boolean",
570
- "resolved": "boolean",
571
- "references": {}
572
- },
573
- "required": false,
574
- "optional": false,
575
- "docs": {
576
- "tags": [{
577
- "name": "default",
578
- "text": "true"
579
- }],
580
- "text": "When true shows the drop-down icon, for open list."
581
- },
582
- "attribute": "show-drop-down-icon",
583
- "reflect": false,
584
- "defaultValue": "true"
585
- }
586
- }; }
587
- static get states() { return {
588
- "displayedValue": {},
589
- "value": {}
590
- }; }
591
- static get events() { return [{
592
- "method": "kupBlur",
593
- "name": "kup-autocomplete-blur",
594
- "bubbles": true,
595
- "cancelable": false,
596
- "composed": true,
597
- "docs": {
598
- "tags": [],
599
- "text": ""
600
- },
601
- "complexType": {
602
- "original": "KupAutocompleteEventPayload",
603
- "resolved": "KupAutocompleteEventPayload",
604
- "references": {
605
- "KupAutocompleteEventPayload": {
606
- "location": "import",
607
- "path": "./kup-autocomplete-declarations"
487
+ },
488
+ "required": false,
489
+ "optional": false,
490
+ "docs": {
491
+ "tags": [{
492
+ "name": "default",
493
+ "text": "ItemsDisplayMode.CODE"
494
+ }],
495
+ "text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
496
+ },
497
+ "attribute": "select-mode",
498
+ "reflect": false,
499
+ "defaultValue": "ItemsDisplayMode.CODE"
500
+ },
501
+ "serverHandledFilter": {
502
+ "type": "boolean",
503
+ "mutable": false,
504
+ "complexType": {
505
+ "original": "boolean",
506
+ "resolved": "boolean",
507
+ "references": {}
508
+ },
509
+ "required": false,
510
+ "optional": false,
511
+ "docs": {
512
+ "tags": [{
513
+ "name": "default",
514
+ "text": "false"
515
+ }],
516
+ "text": "When true, the items filter is managed server side, otherwise items filter is done client side."
517
+ },
518
+ "attribute": "server-handled-filter",
519
+ "reflect": true,
520
+ "defaultValue": "false"
521
+ },
522
+ "showDropDownIcon": {
523
+ "type": "boolean",
524
+ "mutable": false,
525
+ "complexType": {
526
+ "original": "boolean",
527
+ "resolved": "boolean",
528
+ "references": {}
529
+ },
530
+ "required": false,
531
+ "optional": false,
532
+ "docs": {
533
+ "tags": [{
534
+ "name": "default",
535
+ "text": "true"
536
+ }],
537
+ "text": "When true shows the drop-down icon, for open list."
538
+ },
539
+ "attribute": "show-drop-down-icon",
540
+ "reflect": false,
541
+ "defaultValue": "true"
542
+ }
543
+ };
544
+ }
545
+ static get states() {
546
+ return {
547
+ "displayedValue": {},
548
+ "value": {}
549
+ };
550
+ }
551
+ static get events() {
552
+ return [{
553
+ "method": "kupBlur",
554
+ "name": "kup-autocomplete-blur",
555
+ "bubbles": true,
556
+ "cancelable": false,
557
+ "composed": true,
558
+ "docs": {
559
+ "tags": [],
560
+ "text": ""
561
+ },
562
+ "complexType": {
563
+ "original": "KupAutocompleteEventPayload",
564
+ "resolved": "KupAutocompleteEventPayload",
565
+ "references": {
566
+ "KupAutocompleteEventPayload": {
567
+ "location": "import",
568
+ "path": "./kup-autocomplete-declarations"
569
+ }
608
570
  }
609
571
  }
610
- }
611
- }, {
612
- "method": "kupChange",
613
- "name": "kup-autocomplete-change",
614
- "bubbles": true,
615
- "cancelable": false,
616
- "composed": true,
617
- "docs": {
618
- "tags": [],
619
- "text": ""
620
- },
621
- "complexType": {
622
- "original": "KupAutocompleteEventPayload",
623
- "resolved": "KupAutocompleteEventPayload",
624
- "references": {
625
- "KupAutocompleteEventPayload": {
626
- "location": "import",
627
- "path": "./kup-autocomplete-declarations"
572
+ }, {
573
+ "method": "kupChange",
574
+ "name": "kup-autocomplete-change",
575
+ "bubbles": true,
576
+ "cancelable": false,
577
+ "composed": true,
578
+ "docs": {
579
+ "tags": [],
580
+ "text": ""
581
+ },
582
+ "complexType": {
583
+ "original": "KupAutocompleteEventPayload",
584
+ "resolved": "KupAutocompleteEventPayload",
585
+ "references": {
586
+ "KupAutocompleteEventPayload": {
587
+ "location": "import",
588
+ "path": "./kup-autocomplete-declarations"
589
+ }
628
590
  }
629
591
  }
630
- }
631
- }, {
632
- "method": "kupClick",
633
- "name": "kup-autocomplete-click",
634
- "bubbles": true,
635
- "cancelable": false,
636
- "composed": true,
637
- "docs": {
638
- "tags": [],
639
- "text": ""
640
- },
641
- "complexType": {
642
- "original": "KupAutocompleteEventPayload",
643
- "resolved": "KupAutocompleteEventPayload",
644
- "references": {
645
- "KupAutocompleteEventPayload": {
646
- "location": "import",
647
- "path": "./kup-autocomplete-declarations"
592
+ }, {
593
+ "method": "kupClick",
594
+ "name": "kup-autocomplete-click",
595
+ "bubbles": true,
596
+ "cancelable": false,
597
+ "composed": true,
598
+ "docs": {
599
+ "tags": [],
600
+ "text": ""
601
+ },
602
+ "complexType": {
603
+ "original": "KupAutocompleteEventPayload",
604
+ "resolved": "KupAutocompleteEventPayload",
605
+ "references": {
606
+ "KupAutocompleteEventPayload": {
607
+ "location": "import",
608
+ "path": "./kup-autocomplete-declarations"
609
+ }
648
610
  }
649
611
  }
650
- }
651
- }, {
652
- "method": "kupFocus",
653
- "name": "kup-autocomplete-focus",
654
- "bubbles": true,
655
- "cancelable": false,
656
- "composed": true,
657
- "docs": {
658
- "tags": [],
659
- "text": ""
660
- },
661
- "complexType": {
662
- "original": "KupAutocompleteEventPayload",
663
- "resolved": "KupAutocompleteEventPayload",
664
- "references": {
665
- "KupAutocompleteEventPayload": {
666
- "location": "import",
667
- "path": "./kup-autocomplete-declarations"
612
+ }, {
613
+ "method": "kupFocus",
614
+ "name": "kup-autocomplete-focus",
615
+ "bubbles": true,
616
+ "cancelable": false,
617
+ "composed": true,
618
+ "docs": {
619
+ "tags": [],
620
+ "text": ""
621
+ },
622
+ "complexType": {
623
+ "original": "KupAutocompleteEventPayload",
624
+ "resolved": "KupAutocompleteEventPayload",
625
+ "references": {
626
+ "KupAutocompleteEventPayload": {
627
+ "location": "import",
628
+ "path": "./kup-autocomplete-declarations"
629
+ }
668
630
  }
669
631
  }
670
- }
671
- }, {
672
- "method": "kupInput",
673
- "name": "kup-autocomplete-input",
674
- "bubbles": true,
675
- "cancelable": false,
676
- "composed": true,
677
- "docs": {
678
- "tags": [],
679
- "text": ""
680
- },
681
- "complexType": {
682
- "original": "KupAutocompleteEventPayload",
683
- "resolved": "KupAutocompleteEventPayload",
684
- "references": {
685
- "KupAutocompleteEventPayload": {
686
- "location": "import",
687
- "path": "./kup-autocomplete-declarations"
632
+ }, {
633
+ "method": "kupInput",
634
+ "name": "kup-autocomplete-input",
635
+ "bubbles": true,
636
+ "cancelable": false,
637
+ "composed": true,
638
+ "docs": {
639
+ "tags": [],
640
+ "text": ""
641
+ },
642
+ "complexType": {
643
+ "original": "KupAutocompleteEventPayload",
644
+ "resolved": "KupAutocompleteEventPayload",
645
+ "references": {
646
+ "KupAutocompleteEventPayload": {
647
+ "location": "import",
648
+ "path": "./kup-autocomplete-declarations"
649
+ }
688
650
  }
689
651
  }
690
- }
691
- }, {
692
- "method": "kupIconClick",
693
- "name": "kup-autocomplete-iconclick",
694
- "bubbles": true,
695
- "cancelable": false,
696
- "composed": true,
697
- "docs": {
698
- "tags": [],
699
- "text": ""
700
- },
701
- "complexType": {
702
- "original": "KupAutocompleteIconClickEventPayload",
703
- "resolved": "KupAutocompleteIconClickEventPayload",
704
- "references": {
705
- "KupAutocompleteIconClickEventPayload": {
706
- "location": "import",
707
- "path": "./kup-autocomplete-declarations"
652
+ }, {
653
+ "method": "kupIconClick",
654
+ "name": "kup-autocomplete-iconclick",
655
+ "bubbles": true,
656
+ "cancelable": false,
657
+ "composed": true,
658
+ "docs": {
659
+ "tags": [],
660
+ "text": ""
661
+ },
662
+ "complexType": {
663
+ "original": "KupAutocompleteIconClickEventPayload",
664
+ "resolved": "KupAutocompleteIconClickEventPayload",
665
+ "references": {
666
+ "KupAutocompleteIconClickEventPayload": {
667
+ "location": "import",
668
+ "path": "./kup-autocomplete-declarations"
669
+ }
708
670
  }
709
671
  }
710
- }
711
- }, {
712
- "method": "kupItemClick",
713
- "name": "kup-autocomplete-itemclick",
714
- "bubbles": true,
715
- "cancelable": false,
716
- "composed": true,
717
- "docs": {
718
- "tags": [],
719
- "text": ""
720
- },
721
- "complexType": {
722
- "original": "KupAutocompleteEventPayload",
723
- "resolved": "KupAutocompleteEventPayload",
724
- "references": {
725
- "KupAutocompleteEventPayload": {
726
- "location": "import",
727
- "path": "./kup-autocomplete-declarations"
672
+ }, {
673
+ "method": "kupItemClick",
674
+ "name": "kup-autocomplete-itemclick",
675
+ "bubbles": true,
676
+ "cancelable": false,
677
+ "composed": true,
678
+ "docs": {
679
+ "tags": [],
680
+ "text": ""
681
+ },
682
+ "complexType": {
683
+ "original": "KupAutocompleteEventPayload",
684
+ "resolved": "KupAutocompleteEventPayload",
685
+ "references": {
686
+ "KupAutocompleteEventPayload": {
687
+ "location": "import",
688
+ "path": "./kup-autocomplete-declarations"
689
+ }
728
690
  }
729
691
  }
730
- }
731
- }]; }
732
- static get methods() { return {
733
- "getProps": {
734
- "complexType": {
735
- "signature": "(descriptions?: boolean) => Promise<GenericObject>",
736
- "parameters": [{
737
- "tags": [{
738
- "name": "param",
739
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
740
- }],
741
- "text": "- When provided and true, the result will be the list of props with their description."
742
- }],
743
- "references": {
744
- "Promise": {
745
- "location": "global"
692
+ }];
693
+ }
694
+ static get methods() {
695
+ return {
696
+ "getProps": {
697
+ "complexType": {
698
+ "signature": "(descriptions?: boolean) => Promise<GenericObject>",
699
+ "parameters": [{
700
+ "tags": [{
701
+ "name": "param",
702
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
703
+ }],
704
+ "text": "- When provided and true, the result will be the list of props with their description."
705
+ }],
706
+ "references": {
707
+ "Promise": {
708
+ "location": "global"
709
+ },
710
+ "GenericObject": {
711
+ "location": "import",
712
+ "path": "../../types/GenericTypes"
713
+ }
746
714
  },
747
- "GenericObject": {
748
- "location": "import",
749
- "path": "../../types/GenericTypes"
750
- }
715
+ "return": "Promise<GenericObject>"
751
716
  },
752
- "return": "Promise<GenericObject>"
717
+ "docs": {
718
+ "text": "Used to retrieve component's props values.",
719
+ "tags": [{
720
+ "name": "param",
721
+ "text": "descriptions - When provided and true, the result will be the list of props with their description."
722
+ }, {
723
+ "name": "returns",
724
+ "text": "List of props as object, each key will be a prop."
725
+ }]
726
+ }
753
727
  },
754
- "docs": {
755
- "text": "Used to retrieve component's props values.",
756
- "tags": [{
757
- "name": "param",
758
- "text": "descriptions - When provided and true, the result will be the list of props with their description."
759
- }, {
760
- "name": "returns",
761
- "text": "List of props as object, each key will be a prop."
762
- }]
763
- }
764
- },
765
- "getValue": {
766
- "complexType": {
767
- "signature": "() => Promise<string>",
768
- "parameters": [],
769
- "references": {
770
- "Promise": {
771
- "location": "global"
772
- }
728
+ "getValue": {
729
+ "complexType": {
730
+ "signature": "() => Promise<string>",
731
+ "parameters": [],
732
+ "references": {
733
+ "Promise": {
734
+ "location": "global"
735
+ }
736
+ },
737
+ "return": "Promise<string>"
773
738
  },
774
- "return": "Promise<string>"
739
+ "docs": {
740
+ "text": "Used to retrieve the value of the component.",
741
+ "tags": [{
742
+ "name": "returns",
743
+ "text": "Value of the component."
744
+ }]
745
+ }
775
746
  },
776
- "docs": {
777
- "text": "Used to retrieve the value of the component.",
778
- "tags": [{
779
- "name": "returns",
780
- "text": "Value of the component."
781
- }]
782
- }
783
- },
784
- "refresh": {
785
- "complexType": {
786
- "signature": "() => Promise<void>",
787
- "parameters": [],
788
- "references": {
789
- "Promise": {
790
- "location": "global"
791
- }
747
+ "refresh": {
748
+ "complexType": {
749
+ "signature": "() => Promise<void>",
750
+ "parameters": [],
751
+ "references": {
752
+ "Promise": {
753
+ "location": "global"
754
+ }
755
+ },
756
+ "return": "Promise<void>"
792
757
  },
793
- "return": "Promise<void>"
758
+ "docs": {
759
+ "text": "This method is used to trigger a new render of the component.",
760
+ "tags": []
761
+ }
794
762
  },
795
- "docs": {
796
- "text": "This method is used to trigger a new render of the component.",
797
- "tags": []
798
- }
799
- },
800
- "setFocus": {
801
- "complexType": {
802
- "signature": "() => Promise<void>",
803
- "parameters": [],
804
- "references": {
805
- "Promise": {
806
- "location": "global"
807
- }
763
+ "setFocus": {
764
+ "complexType": {
765
+ "signature": "() => Promise<void>",
766
+ "parameters": [],
767
+ "references": {
768
+ "Promise": {
769
+ "location": "global"
770
+ }
771
+ },
772
+ "return": "Promise<void>"
808
773
  },
809
- "return": "Promise<void>"
774
+ "docs": {
775
+ "text": "Sets the focus to the component.",
776
+ "tags": []
777
+ }
810
778
  },
811
- "docs": {
812
- "text": "Sets the focus to the component.",
813
- "tags": []
814
- }
815
- },
816
- "setProps": {
817
- "complexType": {
818
- "signature": "(props: GenericObject) => Promise<void>",
819
- "parameters": [{
820
- "tags": [{
821
- "name": "param",
822
- "text": "props - Object containing props that will be set to the component."
823
- }],
824
- "text": "- Object containing props that will be set to the component."
825
- }],
826
- "references": {
827
- "Promise": {
828
- "location": "global"
779
+ "setProps": {
780
+ "complexType": {
781
+ "signature": "(props: GenericObject) => Promise<void>",
782
+ "parameters": [{
783
+ "tags": [{
784
+ "name": "param",
785
+ "text": "props - Object containing props that will be set to the component."
786
+ }],
787
+ "text": "- Object containing props that will be set to the component."
788
+ }],
789
+ "references": {
790
+ "Promise": {
791
+ "location": "global"
792
+ },
793
+ "GenericObject": {
794
+ "location": "import",
795
+ "path": "../../types/GenericTypes"
796
+ }
829
797
  },
830
- "GenericObject": {
831
- "location": "import",
832
- "path": "../../types/GenericTypes"
833
- }
798
+ "return": "Promise<void>"
834
799
  },
835
- "return": "Promise<void>"
800
+ "docs": {
801
+ "text": "Sets the props to the component.",
802
+ "tags": [{
803
+ "name": "param",
804
+ "text": "props - Object containing props that will be set to the component."
805
+ }]
806
+ }
836
807
  },
837
- "docs": {
838
- "text": "Sets the props to the component.",
839
- "tags": [{
840
- "name": "param",
841
- "text": "props - Object containing props that will be set to the component."
842
- }]
843
- }
844
- },
845
- "setValue": {
846
- "complexType": {
847
- "signature": "(value: string) => Promise<void>",
848
- "parameters": [{
849
- "tags": [{
850
- "name": "param",
851
- "text": "value - Value of the component."
852
- }],
853
- "text": "- Value of the component."
854
- }],
855
- "references": {
856
- "Promise": {
857
- "location": "global"
858
- }
808
+ "setValue": {
809
+ "complexType": {
810
+ "signature": "(value: string) => Promise<void>",
811
+ "parameters": [{
812
+ "tags": [{
813
+ "name": "param",
814
+ "text": "value - Value of the component."
815
+ }],
816
+ "text": "- Value of the component."
817
+ }],
818
+ "references": {
819
+ "Promise": {
820
+ "location": "global"
821
+ }
822
+ },
823
+ "return": "Promise<void>"
859
824
  },
860
- "return": "Promise<void>"
861
- },
862
- "docs": {
863
- "text": "Sets the value of the component.",
864
- "tags": [{
865
- "name": "param",
866
- "text": "value - Value of the component."
867
- }]
825
+ "docs": {
826
+ "text": "Sets the value of the component.",
827
+ "tags": [{
828
+ "name": "param",
829
+ "text": "value - Value of the component."
830
+ }]
831
+ }
868
832
  }
869
- }
870
- }; }
833
+ };
834
+ }
871
835
  static get elementRef() { return "rootElement"; }
872
- static get listeners() { return [{
873
- "name": "keydown",
874
- "method": "listenKeydown",
875
- "target": undefined,
876
- "capture": false,
877
- "passive": false
878
- }]; }
836
+ static get listeners() {
837
+ return [{
838
+ "name": "keydown",
839
+ "method": "listenKeydown",
840
+ "target": undefined,
841
+ "capture": false,
842
+ "passive": false
843
+ }];
844
+ }
879
845
  }
880
846
  _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(), _KupAutocomplete_kupManager = new WeakMap(), _KupAutocomplete_textfieldWrapper = new WeakMap(), _KupAutocomplete_textfieldEl = new WeakMap(), _KupAutocomplete_clickCb = new WeakMap(), _KupAutocomplete_inputTimeout = new WeakMap(), _KupAutocomplete_instances = new WeakSet(), _KupAutocomplete_openList = function _KupAutocomplete_openList(forceOpen) {
881
847
  if (forceOpen != true &&