@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.
- package/README.md +7 -1
- package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
- package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
- package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
- package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.js} +2 -2
- package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -30
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
- package/dist/cjs/kup-box.cjs.entry.js +33 -113
- package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -29
- package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
- package/dist/cjs/kup-echart.cjs.entry.js +16 -77
- package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
- package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
- package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
- package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
- package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
- package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
- package/dist/cjs/kup-probe.cjs.entry.js +13 -33
- package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
- package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/box.js +9 -6
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
- package/dist/collection/components/kup-badge/kup-badge.js +179 -189
- package/dist/collection/components/kup-box/kup-box.js +911 -1010
- package/dist/collection/components/kup-button/kup-button.js +382 -428
- package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
- package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
- package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
- package/dist/collection/components/kup-card/kup-card.css +118 -12
- package/dist/collection/components/kup-card/kup-card.js +394 -385
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
- package/dist/collection/components/kup-cell/kup-cell.js +224 -238
- package/dist/collection/components/kup-chart/kup-chart.js +562 -586
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
- package/dist/collection/components/kup-chip/kup-chip.js +243 -250
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
- package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
- package/dist/collection/components/kup-dash/kup-dash.js +112 -172
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
- package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
- package/dist/collection/components/kup-echart/kup-echart.js +450 -498
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
- package/dist/collection/components/kup-form/kup-form.js +226 -248
- package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
- package/dist/collection/components/kup-grid/kup-grid.js +159 -172
- package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +305 -340
- package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
- package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
- package/dist/collection/components/kup-list/kup-list.js +546 -572
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
- package/dist/collection/components/kup-probe/kup-probe.js +98 -114
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
- package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
- package/dist/collection/components/kup-radio/kup-radio.js +261 -289
- package/dist/collection/components/kup-rating/kup-rating.js +212 -224
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
- package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
- package/dist/collection/components/kup-switch/kup-switch.js +258 -280
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
- package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +20 -22
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
- package/dist/collection/f-components/f-chip/f-chip.js +18 -31
- package/dist/collection/f-components/f-image/f-image.js +1 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
- package/dist/collection/f-components/f-switch/f-switch.js +1 -8
- package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
- package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
- package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
- package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
- package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
- package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
- package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
- package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +7 -30
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
- package/dist/esm/kup-box.entry.js +33 -113
- package/dist/esm/kup-calendar.entry.js +10 -34
- package/dist/esm/kup-cell.entry.js +10 -29
- package/dist/esm/kup-dash-list.entry.js +10 -9
- package/dist/esm/kup-dash_2.entry.js +7 -35
- package/dist/esm/kup-dashboard.entry.js +10 -32
- package/dist/esm/kup-drawer.entry.js +4 -19
- package/dist/esm/kup-echart.entry.js +16 -77
- package/dist/esm/kup-family-tree.entry.js +12 -48
- package/dist/esm/kup-iframe.entry.js +5 -17
- package/dist/esm/kup-image-list.entry.js +16 -34
- package/dist/esm/kup-lazy.entry.js +10 -37
- package/dist/esm/kup-magic-box.entry.js +6 -25
- package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
- package/dist/esm/kup-nav-bar.entry.js +4 -16
- package/dist/esm/kup-numeric-picker.entry.js +14 -57
- package/dist/esm/kup-photo-frame.entry.js +9 -31
- package/dist/esm/kup-probe.entry.js +13 -33
- package/dist/esm/kup-qlik.entry.js +6 -60
- package/dist/esm/kup-snackbar.entry.js +7 -38
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
- package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
- package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
- package/dist/ketchup/p-35e16ea2.entry.js +1 -0
- package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
- package/dist/ketchup/p-3cf97e3a.js +1 -0
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
- package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
- package/dist/ketchup/p-72d4fa26.entry.js +1 -0
- package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
- package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
- package/dist/ketchup/p-86154e2b.js +1 -0
- package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
- package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
- package/dist/ketchup/p-991bd70d.entry.js +1 -0
- package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
- package/dist/ketchup/p-a740352c.js +30 -0
- package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
- package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
- package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
- package/dist/ketchup/p-d05ed931.entry.js +9 -0
- package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
- package/dist/ketchup/p-e6f19333.entry.js +1 -0
- package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
- package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
- package/dist/ketchup/p-f43b445e.entry.js +1 -0
- package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
- package/dist/loader/package.json +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
- package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
- package/dist/types/components/kup-card/kup-card.d.ts +5 -0
- package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
- package/dist/types/components/kup-list/kup-list.d.ts +5 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +78 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
- package/dist/ketchup/p-27538d6f.entry.js +0 -1
- package/dist/ketchup/p-29d72040.entry.js +0 -1
- package/dist/ketchup/p-3e74e1ed.js +0 -1
- package/dist/ketchup/p-680a8cb4.entry.js +0 -9
- package/dist/ketchup/p-6946b614.entry.js +0 -1
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-c05f2638.js +0 -30
- package/dist/ketchup/p-d7a92197.entry.js +0 -1
- package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
- 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)
|
|
3
|
-
|
|
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")
|
|
8
|
-
|
|
9
|
-
if (
|
|
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 _KupCombobox_instances, _KupCombobox_kupManager, _KupCombobox_elStyle, _KupCombobox_listEl, _KupCombobox_textfieldWrapper, _KupCombobox_textfieldEl, _KupCombobox_clickCb, _KupCombobox_openList, _KupCombobox_closeList, _KupCombobox_isListOpened, _KupCombobox_consistencyCheck, _KupCombobox_prepList;
|
|
13
|
-
import {
|
|
18
|
+
import { forceUpdate, h, Host, } from '@stencil/core';
|
|
14
19
|
import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
|
|
15
20
|
import { ItemsDisplayMode, } from '../kup-list/kup-list-declarations';
|
|
16
21
|
import { consistencyCheck } from '../kup-list/kup-list-helper';
|
|
@@ -25,48 +30,6 @@ export class KupCombobox {
|
|
|
25
30
|
constructor() {
|
|
26
31
|
_KupCombobox_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 */
|
|
34
|
-
/*-------------------------------------------------*/
|
|
35
|
-
/**
|
|
36
|
-
* Custom style of the component.
|
|
37
|
-
* @default ""
|
|
38
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
39
|
-
*/
|
|
40
|
-
this.customStyle = '';
|
|
41
|
-
/**
|
|
42
|
-
* Props of the sub-components (date input text field).
|
|
43
|
-
*/
|
|
44
|
-
this.data = undefined;
|
|
45
|
-
/**
|
|
46
|
-
* Defaults at false. When set to true, the component is disabled.
|
|
47
|
-
*/
|
|
48
|
-
this.disabled = false;
|
|
49
|
-
/**
|
|
50
|
-
* Sets how to show the selected item value. Suported values: "code", "description", "both".
|
|
51
|
-
*/
|
|
52
|
-
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
53
|
-
/**
|
|
54
|
-
* Sets the initial value of the component
|
|
55
|
-
*/
|
|
56
|
-
this.initialValue = '';
|
|
57
|
-
/**
|
|
58
|
-
* Lets the combobox behave as a select element.
|
|
59
|
-
*/
|
|
60
|
-
this.isSelect = false;
|
|
61
|
-
/**
|
|
62
|
-
* Sets how to return the selected item value. Suported values: "code", "description", "both".
|
|
63
|
-
*/
|
|
64
|
-
this.selectMode = ItemsDisplayMode.CODE;
|
|
65
|
-
/**
|
|
66
|
-
* When true shows the drop-down icon, for open list.
|
|
67
|
-
*/
|
|
68
|
-
this.showDropDownIcon = true;
|
|
69
|
-
/*-------------------------------------------------*/
|
|
70
33
|
/* I n t e r n a l V a r i a b l e s */
|
|
71
34
|
/*-------------------------------------------------*/
|
|
72
35
|
/**
|
|
@@ -78,6 +41,16 @@ export class KupCombobox {
|
|
|
78
41
|
_KupCombobox_textfieldWrapper.set(this, undefined);
|
|
79
42
|
_KupCombobox_textfieldEl.set(this, undefined);
|
|
80
43
|
_KupCombobox_clickCb.set(this, null);
|
|
44
|
+
this.displayedValue = undefined;
|
|
45
|
+
this.value = '';
|
|
46
|
+
this.customStyle = '';
|
|
47
|
+
this.data = undefined;
|
|
48
|
+
this.disabled = false;
|
|
49
|
+
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
50
|
+
this.initialValue = '';
|
|
51
|
+
this.isSelect = false;
|
|
52
|
+
this.selectMode = ItemsDisplayMode.CODE;
|
|
53
|
+
this.showDropDownIcon = true;
|
|
81
54
|
}
|
|
82
55
|
onKupBlur() {
|
|
83
56
|
this.kupBlur.emit({
|
|
@@ -293,13 +266,9 @@ export class KupCombobox {
|
|
|
293
266
|
render() {
|
|
294
267
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
295
268
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
296
|
-
return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") },
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
|
|
300
|
-
? KupThemeIconValues.DROPDOWN
|
|
301
|
-
: null, readOnly: this.isSelect, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))),
|
|
302
|
-
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
269
|
+
return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h("style", null, __classPrivateFieldGet(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
|
|
270
|
+
? KupThemeIconValues.DROPDOWN
|
|
271
|
+
: null, readOnly: this.isSelect, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
303
272
|
}
|
|
304
273
|
disconnectedCallback() {
|
|
305
274
|
if (__classPrivateFieldGet(this, _KupCombobox_listEl, "f")) {
|
|
@@ -310,472 +279,488 @@ export class KupCombobox {
|
|
|
310
279
|
}
|
|
311
280
|
static get is() { return "kup-combobox"; }
|
|
312
281
|
static get encapsulation() { return "shadow"; }
|
|
313
|
-
static get originalStyleUrls() {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
282
|
+
static get originalStyleUrls() {
|
|
283
|
+
return {
|
|
284
|
+
"$": ["kup-combobox.scss"]
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
static get styleUrls() {
|
|
288
|
+
return {
|
|
289
|
+
"$": ["kup-combobox.css"]
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
static get properties() {
|
|
293
|
+
return {
|
|
294
|
+
"customStyle": {
|
|
295
|
+
"type": "string",
|
|
296
|
+
"mutable": false,
|
|
297
|
+
"complexType": {
|
|
298
|
+
"original": "string",
|
|
299
|
+
"resolved": "string",
|
|
300
|
+
"references": {}
|
|
301
|
+
},
|
|
302
|
+
"required": false,
|
|
303
|
+
"optional": false,
|
|
304
|
+
"docs": {
|
|
305
|
+
"tags": [{
|
|
306
|
+
"name": "default",
|
|
307
|
+
"text": "\"\""
|
|
308
|
+
}, {
|
|
309
|
+
"name": "see",
|
|
310
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
311
|
+
}],
|
|
312
|
+
"text": "Custom style of the component."
|
|
313
|
+
},
|
|
314
|
+
"attribute": "custom-style",
|
|
315
|
+
"reflect": false,
|
|
316
|
+
"defaultValue": "''"
|
|
339
317
|
},
|
|
340
|
-
"
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
"references": {
|
|
351
|
-
"Object": {
|
|
352
|
-
"location": "global"
|
|
318
|
+
"data": {
|
|
319
|
+
"type": "unknown",
|
|
320
|
+
"mutable": false,
|
|
321
|
+
"complexType": {
|
|
322
|
+
"original": "Object",
|
|
323
|
+
"resolved": "Object",
|
|
324
|
+
"references": {
|
|
325
|
+
"Object": {
|
|
326
|
+
"location": "global"
|
|
327
|
+
}
|
|
353
328
|
}
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
"defaultValue": "undefined"
|
|
363
|
-
},
|
|
364
|
-
"disabled": {
|
|
365
|
-
"type": "boolean",
|
|
366
|
-
"mutable": false,
|
|
367
|
-
"complexType": {
|
|
368
|
-
"original": "boolean",
|
|
369
|
-
"resolved": "boolean",
|
|
370
|
-
"references": {}
|
|
329
|
+
},
|
|
330
|
+
"required": false,
|
|
331
|
+
"optional": false,
|
|
332
|
+
"docs": {
|
|
333
|
+
"tags": [],
|
|
334
|
+
"text": "Props of the sub-components (date input text field)."
|
|
335
|
+
},
|
|
336
|
+
"defaultValue": "undefined"
|
|
371
337
|
},
|
|
372
|
-
"
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
"
|
|
376
|
-
|
|
338
|
+
"disabled": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"mutable": false,
|
|
341
|
+
"complexType": {
|
|
342
|
+
"original": "boolean",
|
|
343
|
+
"resolved": "boolean",
|
|
344
|
+
"references": {}
|
|
345
|
+
},
|
|
346
|
+
"required": false,
|
|
347
|
+
"optional": false,
|
|
348
|
+
"docs": {
|
|
349
|
+
"tags": [],
|
|
350
|
+
"text": "Defaults at false. When set to true, the component is disabled."
|
|
351
|
+
},
|
|
352
|
+
"attribute": "disabled",
|
|
353
|
+
"reflect": false,
|
|
354
|
+
"defaultValue": "false"
|
|
377
355
|
},
|
|
378
|
-
"
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
"ItemsDisplayMode": {
|
|
390
|
-
"location": "import",
|
|
391
|
-
"path": "../kup-list/kup-list-declarations"
|
|
356
|
+
"displayMode": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"mutable": false,
|
|
359
|
+
"complexType": {
|
|
360
|
+
"original": "ItemsDisplayMode",
|
|
361
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
|
|
362
|
+
"references": {
|
|
363
|
+
"ItemsDisplayMode": {
|
|
364
|
+
"location": "import",
|
|
365
|
+
"path": "../kup-list/kup-list-declarations"
|
|
366
|
+
}
|
|
392
367
|
}
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
404
|
-
},
|
|
405
|
-
"initialValue": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"mutable": false,
|
|
408
|
-
"complexType": {
|
|
409
|
-
"original": "string",
|
|
410
|
-
"resolved": "string",
|
|
411
|
-
"references": {}
|
|
412
|
-
},
|
|
413
|
-
"required": false,
|
|
414
|
-
"optional": false,
|
|
415
|
-
"docs": {
|
|
416
|
-
"tags": [],
|
|
417
|
-
"text": "Sets the initial value of the component"
|
|
368
|
+
},
|
|
369
|
+
"required": false,
|
|
370
|
+
"optional": false,
|
|
371
|
+
"docs": {
|
|
372
|
+
"tags": [],
|
|
373
|
+
"text": "Sets how to show the selected item value. Suported values: \"code\", \"description\", \"both\"."
|
|
374
|
+
},
|
|
375
|
+
"attribute": "display-mode",
|
|
376
|
+
"reflect": false,
|
|
377
|
+
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
418
378
|
},
|
|
419
|
-
"
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"
|
|
379
|
+
"initialValue": {
|
|
380
|
+
"type": "string",
|
|
381
|
+
"mutable": false,
|
|
382
|
+
"complexType": {
|
|
383
|
+
"original": "string",
|
|
384
|
+
"resolved": "string",
|
|
385
|
+
"references": {}
|
|
386
|
+
},
|
|
387
|
+
"required": false,
|
|
388
|
+
"optional": false,
|
|
389
|
+
"docs": {
|
|
390
|
+
"tags": [],
|
|
391
|
+
"text": "Sets the initial value of the component"
|
|
392
|
+
},
|
|
393
|
+
"attribute": "initial-value",
|
|
394
|
+
"reflect": false,
|
|
395
|
+
"defaultValue": "''"
|
|
430
396
|
},
|
|
431
|
-
"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
"
|
|
435
|
-
|
|
397
|
+
"isSelect": {
|
|
398
|
+
"type": "boolean",
|
|
399
|
+
"mutable": false,
|
|
400
|
+
"complexType": {
|
|
401
|
+
"original": "boolean",
|
|
402
|
+
"resolved": "boolean",
|
|
403
|
+
"references": {}
|
|
404
|
+
},
|
|
405
|
+
"required": false,
|
|
406
|
+
"optional": false,
|
|
407
|
+
"docs": {
|
|
408
|
+
"tags": [],
|
|
409
|
+
"text": "Lets the combobox behave as a select element."
|
|
410
|
+
},
|
|
411
|
+
"attribute": "is-select",
|
|
412
|
+
"reflect": true,
|
|
413
|
+
"defaultValue": "false"
|
|
436
414
|
},
|
|
437
|
-
"
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"ItemsDisplayMode": {
|
|
449
|
-
"location": "import",
|
|
450
|
-
"path": "../kup-list/kup-list-declarations"
|
|
415
|
+
"selectMode": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"mutable": false,
|
|
418
|
+
"complexType": {
|
|
419
|
+
"original": "ItemsDisplayMode",
|
|
420
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
|
|
421
|
+
"references": {
|
|
422
|
+
"ItemsDisplayMode": {
|
|
423
|
+
"location": "import",
|
|
424
|
+
"path": "../kup-list/kup-list-declarations"
|
|
425
|
+
}
|
|
451
426
|
}
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
"defaultValue": "ItemsDisplayMode.CODE"
|
|
463
|
-
},
|
|
464
|
-
"showDropDownIcon": {
|
|
465
|
-
"type": "boolean",
|
|
466
|
-
"mutable": false,
|
|
467
|
-
"complexType": {
|
|
468
|
-
"original": "boolean",
|
|
469
|
-
"resolved": "boolean",
|
|
470
|
-
"references": {}
|
|
471
|
-
},
|
|
472
|
-
"required": false,
|
|
473
|
-
"optional": false,
|
|
474
|
-
"docs": {
|
|
475
|
-
"tags": [],
|
|
476
|
-
"text": "When true shows the drop-down icon, for open list."
|
|
477
|
-
},
|
|
478
|
-
"attribute": "show-drop-down-icon",
|
|
479
|
-
"reflect": false,
|
|
480
|
-
"defaultValue": "true"
|
|
481
|
-
}
|
|
482
|
-
}; }
|
|
483
|
-
static get states() { return {
|
|
484
|
-
"displayedValue": {},
|
|
485
|
-
"value": {}
|
|
486
|
-
}; }
|
|
487
|
-
static get events() { return [{
|
|
488
|
-
"method": "kupBlur",
|
|
489
|
-
"name": "kup-combobox-blur",
|
|
490
|
-
"bubbles": true,
|
|
491
|
-
"cancelable": false,
|
|
492
|
-
"composed": true,
|
|
493
|
-
"docs": {
|
|
494
|
-
"tags": [],
|
|
495
|
-
"text": ""
|
|
427
|
+
},
|
|
428
|
+
"required": false,
|
|
429
|
+
"optional": false,
|
|
430
|
+
"docs": {
|
|
431
|
+
"tags": [],
|
|
432
|
+
"text": "Sets how to return the selected item value. Suported values: \"code\", \"description\", \"both\"."
|
|
433
|
+
},
|
|
434
|
+
"attribute": "select-mode",
|
|
435
|
+
"reflect": false,
|
|
436
|
+
"defaultValue": "ItemsDisplayMode.CODE"
|
|
496
437
|
},
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
"
|
|
500
|
-
"
|
|
501
|
-
"
|
|
502
|
-
|
|
503
|
-
|
|
438
|
+
"showDropDownIcon": {
|
|
439
|
+
"type": "boolean",
|
|
440
|
+
"mutable": false,
|
|
441
|
+
"complexType": {
|
|
442
|
+
"original": "boolean",
|
|
443
|
+
"resolved": "boolean",
|
|
444
|
+
"references": {}
|
|
445
|
+
},
|
|
446
|
+
"required": false,
|
|
447
|
+
"optional": false,
|
|
448
|
+
"docs": {
|
|
449
|
+
"tags": [],
|
|
450
|
+
"text": "When true shows the drop-down icon, for open list."
|
|
451
|
+
},
|
|
452
|
+
"attribute": "show-drop-down-icon",
|
|
453
|
+
"reflect": false,
|
|
454
|
+
"defaultValue": "true"
|
|
455
|
+
}
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
static get states() {
|
|
459
|
+
return {
|
|
460
|
+
"displayedValue": {},
|
|
461
|
+
"value": {}
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
static get events() {
|
|
465
|
+
return [{
|
|
466
|
+
"method": "kupBlur",
|
|
467
|
+
"name": "kup-combobox-blur",
|
|
468
|
+
"bubbles": true,
|
|
469
|
+
"cancelable": false,
|
|
470
|
+
"composed": true,
|
|
471
|
+
"docs": {
|
|
472
|
+
"tags": [],
|
|
473
|
+
"text": ""
|
|
474
|
+
},
|
|
475
|
+
"complexType": {
|
|
476
|
+
"original": "KupComboboxEventPayload",
|
|
477
|
+
"resolved": "KupComboboxEventPayload",
|
|
478
|
+
"references": {
|
|
479
|
+
"KupComboboxEventPayload": {
|
|
480
|
+
"location": "import",
|
|
481
|
+
"path": "./kup-combobox-declarations"
|
|
482
|
+
}
|
|
504
483
|
}
|
|
505
484
|
}
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
485
|
+
}, {
|
|
486
|
+
"method": "kupChange",
|
|
487
|
+
"name": "kup-combobox-change",
|
|
488
|
+
"bubbles": true,
|
|
489
|
+
"cancelable": false,
|
|
490
|
+
"composed": true,
|
|
491
|
+
"docs": {
|
|
492
|
+
"tags": [],
|
|
493
|
+
"text": ""
|
|
494
|
+
},
|
|
495
|
+
"complexType": {
|
|
496
|
+
"original": "KupComboboxEventPayload",
|
|
497
|
+
"resolved": "KupComboboxEventPayload",
|
|
498
|
+
"references": {
|
|
499
|
+
"KupComboboxEventPayload": {
|
|
500
|
+
"location": "import",
|
|
501
|
+
"path": "./kup-combobox-declarations"
|
|
502
|
+
}
|
|
524
503
|
}
|
|
525
504
|
}
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
505
|
+
}, {
|
|
506
|
+
"method": "kupClick",
|
|
507
|
+
"name": "kup-combobox-click",
|
|
508
|
+
"bubbles": true,
|
|
509
|
+
"cancelable": false,
|
|
510
|
+
"composed": true,
|
|
511
|
+
"docs": {
|
|
512
|
+
"tags": [],
|
|
513
|
+
"text": ""
|
|
514
|
+
},
|
|
515
|
+
"complexType": {
|
|
516
|
+
"original": "KupComboboxEventPayload",
|
|
517
|
+
"resolved": "KupComboboxEventPayload",
|
|
518
|
+
"references": {
|
|
519
|
+
"KupComboboxEventPayload": {
|
|
520
|
+
"location": "import",
|
|
521
|
+
"path": "./kup-combobox-declarations"
|
|
522
|
+
}
|
|
544
523
|
}
|
|
545
524
|
}
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
525
|
+
}, {
|
|
526
|
+
"method": "kupFocus",
|
|
527
|
+
"name": "kup-combobox-focus",
|
|
528
|
+
"bubbles": true,
|
|
529
|
+
"cancelable": false,
|
|
530
|
+
"composed": true,
|
|
531
|
+
"docs": {
|
|
532
|
+
"tags": [],
|
|
533
|
+
"text": ""
|
|
534
|
+
},
|
|
535
|
+
"complexType": {
|
|
536
|
+
"original": "KupComboboxEventPayload",
|
|
537
|
+
"resolved": "KupComboboxEventPayload",
|
|
538
|
+
"references": {
|
|
539
|
+
"KupComboboxEventPayload": {
|
|
540
|
+
"location": "import",
|
|
541
|
+
"path": "./kup-combobox-declarations"
|
|
542
|
+
}
|
|
564
543
|
}
|
|
565
544
|
}
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
545
|
+
}, {
|
|
546
|
+
"method": "kupInput",
|
|
547
|
+
"name": "kup-combobox-input",
|
|
548
|
+
"bubbles": true,
|
|
549
|
+
"cancelable": false,
|
|
550
|
+
"composed": true,
|
|
551
|
+
"docs": {
|
|
552
|
+
"tags": [],
|
|
553
|
+
"text": ""
|
|
554
|
+
},
|
|
555
|
+
"complexType": {
|
|
556
|
+
"original": "KupComboboxEventPayload",
|
|
557
|
+
"resolved": "KupComboboxEventPayload",
|
|
558
|
+
"references": {
|
|
559
|
+
"KupComboboxEventPayload": {
|
|
560
|
+
"location": "import",
|
|
561
|
+
"path": "./kup-combobox-declarations"
|
|
562
|
+
}
|
|
584
563
|
}
|
|
585
564
|
}
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
565
|
+
}, {
|
|
566
|
+
"method": "kupIconClick",
|
|
567
|
+
"name": "kup-combobox-iconclick",
|
|
568
|
+
"bubbles": true,
|
|
569
|
+
"cancelable": false,
|
|
570
|
+
"composed": true,
|
|
571
|
+
"docs": {
|
|
572
|
+
"tags": [],
|
|
573
|
+
"text": ""
|
|
574
|
+
},
|
|
575
|
+
"complexType": {
|
|
576
|
+
"original": "KupComboboxIconClickEventPayload",
|
|
577
|
+
"resolved": "KupComboboxIconClickEventPayload",
|
|
578
|
+
"references": {
|
|
579
|
+
"KupComboboxIconClickEventPayload": {
|
|
580
|
+
"location": "import",
|
|
581
|
+
"path": "./kup-combobox-declarations"
|
|
582
|
+
}
|
|
604
583
|
}
|
|
605
584
|
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
585
|
+
}, {
|
|
586
|
+
"method": "kupItemClick",
|
|
587
|
+
"name": "kup-combobox-itemclick",
|
|
588
|
+
"bubbles": true,
|
|
589
|
+
"cancelable": false,
|
|
590
|
+
"composed": true,
|
|
591
|
+
"docs": {
|
|
592
|
+
"tags": [],
|
|
593
|
+
"text": ""
|
|
594
|
+
},
|
|
595
|
+
"complexType": {
|
|
596
|
+
"original": "KupComboboxEventPayload",
|
|
597
|
+
"resolved": "KupComboboxEventPayload",
|
|
598
|
+
"references": {
|
|
599
|
+
"KupComboboxEventPayload": {
|
|
600
|
+
"location": "import",
|
|
601
|
+
"path": "./kup-combobox-declarations"
|
|
602
|
+
}
|
|
624
603
|
}
|
|
625
604
|
}
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
static get methods() {
|
|
629
|
-
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
"
|
|
641
|
-
"
|
|
605
|
+
}];
|
|
606
|
+
}
|
|
607
|
+
static get methods() {
|
|
608
|
+
return {
|
|
609
|
+
"getProps": {
|
|
610
|
+
"complexType": {
|
|
611
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
612
|
+
"parameters": [{
|
|
613
|
+
"tags": [{
|
|
614
|
+
"name": "param",
|
|
615
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
616
|
+
}],
|
|
617
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
618
|
+
}],
|
|
619
|
+
"references": {
|
|
620
|
+
"Promise": {
|
|
621
|
+
"location": "global"
|
|
622
|
+
},
|
|
623
|
+
"GenericObject": {
|
|
624
|
+
"location": "import",
|
|
625
|
+
"path": "../../types/GenericTypes"
|
|
626
|
+
}
|
|
642
627
|
},
|
|
643
|
-
"
|
|
644
|
-
"location": "import",
|
|
645
|
-
"path": "../../types/GenericTypes"
|
|
646
|
-
}
|
|
628
|
+
"return": "Promise<GenericObject>"
|
|
647
629
|
},
|
|
648
|
-
"
|
|
630
|
+
"docs": {
|
|
631
|
+
"text": "Used to retrieve component's props values.",
|
|
632
|
+
"tags": [{
|
|
633
|
+
"name": "param",
|
|
634
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
635
|
+
}, {
|
|
636
|
+
"name": "returns",
|
|
637
|
+
"text": "List of props as object, each key will be a prop."
|
|
638
|
+
}]
|
|
639
|
+
}
|
|
649
640
|
},
|
|
650
|
-
"
|
|
651
|
-
"
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
},
|
|
661
|
-
"getValue": {
|
|
662
|
-
"complexType": {
|
|
663
|
-
"signature": "() => Promise<string>",
|
|
664
|
-
"parameters": [],
|
|
665
|
-
"references": {
|
|
666
|
-
"Promise": {
|
|
667
|
-
"location": "global"
|
|
668
|
-
}
|
|
641
|
+
"getValue": {
|
|
642
|
+
"complexType": {
|
|
643
|
+
"signature": "() => Promise<string>",
|
|
644
|
+
"parameters": [],
|
|
645
|
+
"references": {
|
|
646
|
+
"Promise": {
|
|
647
|
+
"location": "global"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"return": "Promise<string>"
|
|
669
651
|
},
|
|
670
|
-
"
|
|
652
|
+
"docs": {
|
|
653
|
+
"text": "Retrieves the component's value.",
|
|
654
|
+
"tags": [{
|
|
655
|
+
"name": "returns",
|
|
656
|
+
"text": "Value of the component."
|
|
657
|
+
}]
|
|
658
|
+
}
|
|
671
659
|
},
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
"signature": "() => Promise<void>",
|
|
683
|
-
"parameters": [],
|
|
684
|
-
"references": {
|
|
685
|
-
"Promise": {
|
|
686
|
-
"location": "global"
|
|
687
|
-
}
|
|
660
|
+
"refresh": {
|
|
661
|
+
"complexType": {
|
|
662
|
+
"signature": "() => Promise<void>",
|
|
663
|
+
"parameters": [],
|
|
664
|
+
"references": {
|
|
665
|
+
"Promise": {
|
|
666
|
+
"location": "global"
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"return": "Promise<void>"
|
|
688
670
|
},
|
|
689
|
-
"
|
|
671
|
+
"docs": {
|
|
672
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
673
|
+
"tags": []
|
|
674
|
+
}
|
|
690
675
|
},
|
|
691
|
-
"
|
|
692
|
-
"
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
"Promise": {
|
|
702
|
-
"location": "global"
|
|
703
|
-
}
|
|
676
|
+
"setFocus": {
|
|
677
|
+
"complexType": {
|
|
678
|
+
"signature": "() => Promise<void>",
|
|
679
|
+
"parameters": [],
|
|
680
|
+
"references": {
|
|
681
|
+
"Promise": {
|
|
682
|
+
"location": "global"
|
|
683
|
+
}
|
|
684
|
+
},
|
|
685
|
+
"return": "Promise<void>"
|
|
704
686
|
},
|
|
705
|
-
"
|
|
687
|
+
"docs": {
|
|
688
|
+
"text": "Sets the focus to the component.",
|
|
689
|
+
"tags": []
|
|
690
|
+
}
|
|
706
691
|
},
|
|
707
|
-
"
|
|
708
|
-
"
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
692
|
+
"setProps": {
|
|
693
|
+
"complexType": {
|
|
694
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
695
|
+
"parameters": [{
|
|
696
|
+
"tags": [{
|
|
697
|
+
"name": "param",
|
|
698
|
+
"text": "props - Object containing props that will be set to the component."
|
|
699
|
+
}],
|
|
700
|
+
"text": "- Object containing props that will be set to the component."
|
|
701
|
+
}],
|
|
702
|
+
"references": {
|
|
703
|
+
"Promise": {
|
|
704
|
+
"location": "global"
|
|
705
|
+
},
|
|
706
|
+
"GenericObject": {
|
|
707
|
+
"location": "import",
|
|
708
|
+
"path": "../../types/GenericTypes"
|
|
709
|
+
}
|
|
725
710
|
},
|
|
726
|
-
"
|
|
727
|
-
"location": "import",
|
|
728
|
-
"path": "../../types/GenericTypes"
|
|
729
|
-
}
|
|
711
|
+
"return": "Promise<void>"
|
|
730
712
|
},
|
|
731
|
-
"
|
|
713
|
+
"docs": {
|
|
714
|
+
"text": "Sets the props to the component.",
|
|
715
|
+
"tags": [{
|
|
716
|
+
"name": "param",
|
|
717
|
+
"text": "props - Object containing props that will be set to the component."
|
|
718
|
+
}]
|
|
719
|
+
}
|
|
732
720
|
},
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
"text": "- Value to be set."
|
|
750
|
-
}],
|
|
751
|
-
"references": {
|
|
752
|
-
"Promise": {
|
|
753
|
-
"location": "global"
|
|
754
|
-
}
|
|
721
|
+
"setValue": {
|
|
722
|
+
"complexType": {
|
|
723
|
+
"signature": "(value: string) => Promise<void>",
|
|
724
|
+
"parameters": [{
|
|
725
|
+
"tags": [{
|
|
726
|
+
"name": "param",
|
|
727
|
+
"text": "value - Value to be set."
|
|
728
|
+
}],
|
|
729
|
+
"text": "- Value to be set."
|
|
730
|
+
}],
|
|
731
|
+
"references": {
|
|
732
|
+
"Promise": {
|
|
733
|
+
"location": "global"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
"return": "Promise<void>"
|
|
755
737
|
},
|
|
756
|
-
"
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}]
|
|
738
|
+
"docs": {
|
|
739
|
+
"text": "Sets the component's value.",
|
|
740
|
+
"tags": [{
|
|
741
|
+
"name": "param",
|
|
742
|
+
"text": "value - Value to be set."
|
|
743
|
+
}]
|
|
744
|
+
}
|
|
764
745
|
}
|
|
765
|
-
}
|
|
766
|
-
}
|
|
746
|
+
};
|
|
747
|
+
}
|
|
767
748
|
static get elementRef() { return "rootElement"; }
|
|
768
|
-
static get watchers() {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
749
|
+
static get watchers() {
|
|
750
|
+
return [{
|
|
751
|
+
"propName": "initialValue",
|
|
752
|
+
"methodName": "initialValueChange"
|
|
753
|
+
}];
|
|
754
|
+
}
|
|
755
|
+
static get listeners() {
|
|
756
|
+
return [{
|
|
757
|
+
"name": "keydown",
|
|
758
|
+
"method": "listenKeydown",
|
|
759
|
+
"target": undefined,
|
|
760
|
+
"capture": false,
|
|
761
|
+
"passive": false
|
|
762
|
+
}];
|
|
763
|
+
}
|
|
779
764
|
}
|
|
780
765
|
_KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _KupCombobox_listEl = new WeakMap(), _KupCombobox_textfieldWrapper = new WeakMap(), _KupCombobox_textfieldEl = new WeakMap(), _KupCombobox_clickCb = new WeakMap(), _KupCombobox_instances = new WeakSet(), _KupCombobox_openList = function _KupCombobox_openList() {
|
|
781
766
|
if (__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_isListOpened).call(this)) {
|