@sme.up/ketchup 5.2.1-SNAPSHOT → 6.2.0-SNAPSHOT
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/CHANGELOG.md +5 -0
- package/dist/cjs/{cell-utils-d96b2993.js → cell-utils-d894e802.js} +2 -2
- package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
- package/dist/cjs/{f-button-2b9b99b1.js → f-button-414b3bc3.js} +4 -4
- package/dist/cjs/f-cell-c8983ec7.js +418 -0
- package/dist/cjs/f-checkbox-57443ca3.js +29 -0
- package/dist/cjs/{f-chip-df59e1b0.js → f-chip-ef81bf51.js} +5 -4
- package/dist/cjs/{f-image-12bab3b5.js → f-image-0618c795.js} +2 -2
- package/dist/cjs/f-paginator-utils-c9dd5173.js +1898 -0
- package/dist/cjs/{f-text-field-e7c35b5b.js → f-text-field-7d31190f.js} +3 -3
- package/dist/cjs/{f-text-field-mdc-a67f5dfe.js → f-text-field-mdc-85997738.js} +23 -305
- package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/{kup-autocomplete_27.cjs.entry.js → kup-autocomplete_25.cjs.entry.js} +1833 -5745
- package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17113 -14788
- package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +379 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +12 -5
- package/dist/cjs/kup-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +469 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +229 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/kup-manager-2fee8cf3.js +17021 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -9
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-e99921c1.js → utils-8470184d.js} +1 -1
- package/dist/collection/assets/card.js +4 -5
- package/dist/collection/assets/dashboard.js +113 -0
- package/dist/collection/assets/data-table.js +15 -79
- package/dist/collection/assets/form.js +179 -0
- package/dist/collection/assets/grid.js +17 -0
- package/dist/collection/assets/image-list.js +624 -0
- package/dist/collection/assets/index.js +16 -4
- package/dist/collection/assets/kupdata.js +0 -3
- package/dist/collection/assets/kuptooltip.js +53 -7
- package/dist/collection/assets/tree.js +0 -128
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +136 -130
- package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
- package/dist/collection/components/kup-box/kup-box.js +20 -137
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/kup-card.css +26 -8
- package/dist/collection/components/kup-card/kup-card.js +1 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
- package/dist/collection/components/kup-combobox/kup-combobox.js +17 -14
- package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +81 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +560 -0
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table.js +19 -136
- package/dist/collection/components/kup-drawer/kup-drawer.css +6 -8
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
- package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
- package/dist/collection/components/kup-form/kup-form.css +86 -0
- package/dist/collection/components/kup-form/kup-form.js +668 -0
- package/dist/collection/components/kup-grid/kup-grid.js +1 -4
- package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +10 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +166 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +432 -0
- package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +2 -9
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +18 -19
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +2 -8
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -4
- package/dist/collection/components/kup-tree/kup-tree.css +10 -3
- package/dist/collection/components/kup-tree/kup-tree.js +73 -142
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
- package/dist/collection/f-components/f-cell/f-cell.js +41 -121
- package/dist/collection/f-components/f-chip/f-chip.js +2 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
- package/dist/collection/managers/kup-data/kup-data.js +98 -1
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +4 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +1 -22
- package/dist/collection/managers/kup-language/kup-language-declarations.js +13 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +21 -2
- package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +21 -1
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +53 -20
- package/dist/collection/types/GenericTypes.js +3 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +7 -11
- package/dist/esm/{cell-utils-f4bdbbc8.js → cell-utils-7fc84d4e.js} +3 -3
- package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
- package/dist/esm/{f-button-54a49fd8.js → f-button-2f6cc296.js} +4 -4
- package/dist/esm/f-cell-4428481c.js +415 -0
- package/dist/esm/f-checkbox-c51c4a75.js +27 -0
- package/dist/esm/{f-chip-a3035b4b.js → f-chip-b39eb49a.js} +6 -5
- package/dist/esm/{f-image-d32465e3.js → f-image-b08ebeb2.js} +2 -2
- package/dist/esm/f-paginator-utils-4fda6086.js +1884 -0
- package/dist/esm/{f-text-field-c25cc63f.js → f-text-field-184a5fb3.js} +3 -3
- package/dist/esm/{f-text-field-mdc-9fbbefc3.js → f-text-field-mdc-d42d3f9e.js} +2 -284
- package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -6
- package/dist/esm/{kup-autocomplete_27.entry.js → kup-autocomplete_25.entry.js} +1775 -5685
- package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17113 -14789
- package/dist/esm/kup-calendar.entry.js +43 -35
- package/dist/esm/kup-cell.entry.js +9 -8
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +4 -7
- package/dist/esm/kup-dashboard.entry.js +375 -0
- package/dist/esm/kup-drawer.entry.js +12 -5
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-form.entry.js +465 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +225 -0
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/kup-manager-3325b2d8.js +17000 -0
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-photo-frame.entry.js +7 -9
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{tslib.es6-8f2d44b6.js → tslib.es6-3eea2234.js} +1 -1
- package/dist/esm/{utils-f24319a0.js → utils-6373a07e.js} +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-006bc4d0.entry.js +1 -0
- package/dist/ketchup/p-0741da57.js +1 -0
- package/dist/ketchup/{p-669bde31.js → p-13e08580.js} +1 -1
- package/dist/ketchup/p-153697fb.entry.js +1 -0
- package/dist/ketchup/{p-9a61d8dc.entry.js → p-175edb62.entry.js} +1 -1
- package/dist/ketchup/{p-11e72a8c.entry.js → p-1db1d42b.entry.js} +1 -1
- package/dist/ketchup/{p-67842f1e.entry.js → p-30820f8f.entry.js} +1 -1
- package/dist/ketchup/p-35325834.entry.js +9 -0
- package/dist/ketchup/p-359e8bec.entry.js +40 -0
- package/dist/ketchup/{p-09d708c4.entry.js → p-3c7c92c0.entry.js} +1 -1
- package/dist/ketchup/p-41cf8703.entry.js +1 -0
- package/dist/ketchup/{p-e6709c26.entry.js → p-6127fccf.entry.js} +1 -1
- package/dist/ketchup/{p-203d6295.entry.js → p-6b82e4e2.entry.js} +1 -1
- package/dist/ketchup/p-704e60eb.js +30 -0
- package/dist/ketchup/{p-4f56932b.js → p-70660fe2.js} +1 -1
- package/dist/ketchup/{p-44192f30.entry.js → p-762c0382.entry.js} +1 -1
- package/dist/ketchup/{p-c58a2a81.entry.js → p-76947316.entry.js} +1 -1
- package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
- package/dist/ketchup/{p-bb8844bf.entry.js → p-8103b80a.entry.js} +1 -1
- package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
- package/dist/ketchup/p-9fa457d4.entry.js +1 -0
- package/dist/ketchup/{p-e8e3c9da.entry.js → p-a0ce8075.entry.js} +1 -1
- package/dist/ketchup/p-a203f78b.js +45 -0
- package/dist/ketchup/p-a804fe83.entry.js +27 -0
- package/dist/ketchup/{p-34748c91.js → p-ca9fd099.js} +1 -1
- package/dist/ketchup/p-caabb9ab.entry.js +1 -0
- package/dist/ketchup/p-cc3abf84.entry.js +1 -0
- package/dist/ketchup/p-cd5cfa7c.js +1 -0
- package/dist/ketchup/p-d2e76960.entry.js +1 -0
- package/dist/ketchup/p-d3b542b3.js +2 -0
- package/dist/ketchup/p-d7004ae4.js +1 -0
- package/dist/ketchup/{p-40f97429.js → p-d95c904b.js} +1 -1
- package/dist/ketchup/p-ddce3430.js +1 -0
- package/dist/ketchup/p-ee580b3a.entry.js +1 -0
- package/dist/ketchup/p-f49cb68e.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -5
- package/dist/types/components/kup-box/kup-box.d.ts +0 -22
- package/dist/types/components/kup-dashboard/kup-dashboard-declarations.d.ts +61 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +75 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -4
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -19
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +48 -0
- package/dist/types/components/kup-form/kup-form.d.ts +68 -0
- package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +14 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +56 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +3 -9
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +6 -6
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +3 -5
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -24
- package/dist/types/components.d.ts +512 -369
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +7 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +3 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +13 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +4 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +12 -0
- package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +3 -3
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +17 -6
- package/dist/types/types/GenericTypes.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +1 -3
- package/package.json +15 -14
- package/dist/cjs/f-cell-8351cb84.js +0 -653
- package/dist/cjs/kup-manager-5c03da64.js +0 -8795
- package/dist/collection/assets/tooltip.js +0 -73
- package/dist/collection/components/kup-tooltip/kup-tooltip-declarations.js +0 -20
- package/dist/collection/components/kup-tooltip/kup-tooltip.css +0 -149
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +0 -1205
- package/dist/collection/utils/helpers.js +0 -38
- package/dist/esm/f-cell-d5dac50b.js +0 -650
- package/dist/esm/kup-manager-9316a184.js +0 -8778
- package/dist/ketchup/p-12773ca8.js +0 -9
- package/dist/ketchup/p-34b74425.js +0 -1
- package/dist/ketchup/p-4173422f.entry.js +0 -1
- package/dist/ketchup/p-41741c28.entry.js +0 -1
- package/dist/ketchup/p-44f8da2a.js +0 -1
- package/dist/ketchup/p-7a74ad17.js +0 -1
- package/dist/ketchup/p-7ba8fa4a.entry.js +0 -39
- package/dist/ketchup/p-7de0d7e1.js +0 -1
- package/dist/ketchup/p-8418e8fa.entry.js +0 -1
- package/dist/ketchup/p-96bf19aa.entry.js +0 -1
- package/dist/ketchup/p-b0ddcce9.entry.js +0 -9
- package/dist/ketchup/p-b6c21223.entry.js +0 -27
- package/dist/ketchup/p-ca3d585b.entry.js +0 -1
- package/dist/ketchup/p-ecb7069b.js +0 -135
- package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +0 -93
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +0 -142
- package/dist/types/utils/helpers.d.ts +0 -4
|
@@ -1,3 +1,15 @@
|
|
|
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");
|
|
4
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
5
|
+
};
|
|
6
|
+
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");
|
|
10
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
+
};
|
|
12
|
+
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;
|
|
1
13
|
import { Component, Element, Event, forceUpdate, h, Host, Listen, Method, Prop, State, } from '@stencil/core';
|
|
2
14
|
import { kupManagerInstance, } from '../../managers/kup-manager/kup-manager';
|
|
3
15
|
import { FTextField } from '../../f-components/f-text-field/f-text-field';
|
|
@@ -11,6 +23,7 @@ import { componentWrapperId } from '../../variables/GenericVariables';
|
|
|
11
23
|
import { KupDynamicPositionPlacement } from '../../managers/kup-dynamic-position/kup-dynamic-position-declarations';
|
|
12
24
|
export class KupAutocomplete {
|
|
13
25
|
constructor() {
|
|
26
|
+
_KupAutocomplete_instances.add(this);
|
|
14
27
|
/*-------------------------------------------------*/
|
|
15
28
|
/* S t a t e s */
|
|
16
29
|
/*-------------------------------------------------*/
|
|
@@ -78,34 +91,35 @@ export class KupAutocomplete {
|
|
|
78
91
|
/*-------------------------------------------------*/
|
|
79
92
|
/* I n t e r n a l V a r i a b l e s */
|
|
80
93
|
/*-------------------------------------------------*/
|
|
81
|
-
this
|
|
82
|
-
this
|
|
83
|
-
this
|
|
94
|
+
_KupAutocomplete_doConsistencyCheck.set(this, true);
|
|
95
|
+
_KupAutocomplete_elStyle.set(this, undefined);
|
|
96
|
+
_KupAutocomplete_listEl.set(this, null);
|
|
84
97
|
/**
|
|
85
98
|
* Instance of the KupManager class.
|
|
86
99
|
*/
|
|
87
|
-
this
|
|
88
|
-
this
|
|
89
|
-
this
|
|
90
|
-
this
|
|
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);
|
|
91
105
|
}
|
|
92
106
|
onKupBlur() {
|
|
93
107
|
this.kupBlur.emit({
|
|
94
108
|
comp: this,
|
|
95
109
|
id: this.rootElement.id,
|
|
96
110
|
value: this.value,
|
|
97
|
-
inputValue: this.
|
|
111
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
98
112
|
});
|
|
99
113
|
}
|
|
100
114
|
onKupChange(value) {
|
|
101
|
-
this
|
|
102
|
-
const ret = this.
|
|
115
|
+
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
116
|
+
const ret = __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
103
117
|
if (ret.exists || this.allowInconsistentValues) {
|
|
104
118
|
this.kupChange.emit({
|
|
105
119
|
comp: this,
|
|
106
120
|
id: this.rootElement.id,
|
|
107
121
|
value: this.value,
|
|
108
|
-
inputValue: this.
|
|
122
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
109
123
|
});
|
|
110
124
|
}
|
|
111
125
|
}
|
|
@@ -114,7 +128,7 @@ export class KupAutocomplete {
|
|
|
114
128
|
comp: this,
|
|
115
129
|
id: this.rootElement.id,
|
|
116
130
|
value: this.value,
|
|
117
|
-
inputValue: this.
|
|
131
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
118
132
|
});
|
|
119
133
|
}
|
|
120
134
|
onKupFocus() {
|
|
@@ -122,82 +136,78 @@ export class KupAutocomplete {
|
|
|
122
136
|
comp: this,
|
|
123
137
|
id: this.rootElement.id,
|
|
124
138
|
value: this.value,
|
|
125
|
-
inputValue: this.
|
|
139
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
126
140
|
});
|
|
127
141
|
}
|
|
128
142
|
onKupInput() {
|
|
129
|
-
this
|
|
130
|
-
this.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
this.listEl.filter = this.displayedValue;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
if (this.textfieldEl.value.length >= this.minimumChars) {
|
|
143
|
+
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
144
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value, false);
|
|
145
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
146
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
|
|
137
147
|
this.kupInput.emit({
|
|
138
148
|
comp: this,
|
|
139
149
|
id: this.rootElement.id,
|
|
140
150
|
value: this.value,
|
|
141
|
-
inputValue: this.
|
|
151
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
142
152
|
});
|
|
143
153
|
}
|
|
144
154
|
}
|
|
145
155
|
onKupIconClick() {
|
|
146
|
-
if (this.
|
|
147
|
-
this.
|
|
156
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled')) {
|
|
157
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
148
158
|
}
|
|
149
159
|
else {
|
|
150
|
-
this.
|
|
160
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, true);
|
|
151
161
|
}
|
|
152
162
|
this.kupIconClick.emit({
|
|
153
163
|
comp: this,
|
|
154
164
|
id: this.rootElement.id,
|
|
155
165
|
value: this.value,
|
|
156
|
-
inputValue: this.
|
|
157
|
-
open: this.
|
|
166
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
167
|
+
open: __classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f").classList.contains('toggled'),
|
|
158
168
|
});
|
|
159
169
|
}
|
|
160
170
|
onKupItemClick(e) {
|
|
161
|
-
this.onKupChange(e.detail.selected.
|
|
162
|
-
this.
|
|
163
|
-
if (this
|
|
164
|
-
this.
|
|
171
|
+
this.onKupChange(e.detail.selected.id);
|
|
172
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
173
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f")) {
|
|
174
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").focus();
|
|
165
175
|
}
|
|
166
176
|
this.kupItemClick.emit({
|
|
167
177
|
comp: this,
|
|
168
178
|
id: this.rootElement.id,
|
|
169
179
|
value: this.value,
|
|
170
|
-
inputValue: this.
|
|
180
|
+
inputValue: __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value,
|
|
171
181
|
});
|
|
172
182
|
}
|
|
173
183
|
/*-------------------------------------------------*/
|
|
174
184
|
/* L i s t e n e r s */
|
|
175
185
|
/*-------------------------------------------------*/
|
|
176
186
|
listenKeydown(e) {
|
|
177
|
-
if (this.
|
|
187
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_isListOpened).call(this)) {
|
|
178
188
|
switch (e.key) {
|
|
179
189
|
case 'ArrowDown':
|
|
180
190
|
e.preventDefault();
|
|
181
191
|
e.stopPropagation();
|
|
182
|
-
this.
|
|
192
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").focusNext();
|
|
183
193
|
break;
|
|
184
194
|
case 'ArrowUp':
|
|
185
195
|
e.preventDefault();
|
|
186
196
|
e.stopPropagation();
|
|
187
|
-
this.
|
|
197
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").focusPrevious();
|
|
188
198
|
break;
|
|
189
199
|
case 'Enter':
|
|
190
200
|
e.preventDefault();
|
|
191
201
|
e.stopPropagation();
|
|
192
|
-
this.
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
202
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").select().then(() => {
|
|
203
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
204
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").focus();
|
|
195
205
|
});
|
|
196
206
|
break;
|
|
197
207
|
case 'Escape':
|
|
198
208
|
e.preventDefault();
|
|
199
209
|
e.stopPropagation();
|
|
200
|
-
this.
|
|
210
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
201
211
|
break;
|
|
202
212
|
}
|
|
203
213
|
}
|
|
@@ -206,14 +216,14 @@ export class KupAutocomplete {
|
|
|
206
216
|
case 'ArrowDown':
|
|
207
217
|
e.preventDefault();
|
|
208
218
|
e.stopPropagation();
|
|
209
|
-
this.
|
|
210
|
-
this.
|
|
219
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
220
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").focusNext();
|
|
211
221
|
break;
|
|
212
222
|
case 'ArrowUp':
|
|
213
223
|
e.preventDefault();
|
|
214
224
|
e.stopPropagation();
|
|
215
|
-
this.
|
|
216
|
-
this.
|
|
225
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
226
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").focusPrevious();
|
|
217
227
|
break;
|
|
218
228
|
}
|
|
219
229
|
}
|
|
@@ -246,7 +256,7 @@ export class KupAutocomplete {
|
|
|
246
256
|
* Sets the focus to the component.
|
|
247
257
|
*/
|
|
248
258
|
async setFocus() {
|
|
249
|
-
this.
|
|
259
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").focus();
|
|
250
260
|
}
|
|
251
261
|
/**
|
|
252
262
|
* Sets the props to the component.
|
|
@@ -260,81 +270,16 @@ export class KupAutocomplete {
|
|
|
260
270
|
* @param {string} value - Value of the component.
|
|
261
271
|
*/
|
|
262
272
|
async setValue(value) {
|
|
263
|
-
this
|
|
264
|
-
this.
|
|
265
|
-
}
|
|
266
|
-
/*-------------------------------------------------*/
|
|
267
|
-
/* P r i v a t e M e t h o d s */
|
|
268
|
-
/*-------------------------------------------------*/
|
|
269
|
-
openList(forceOpen) {
|
|
270
|
-
if (forceOpen != true &&
|
|
271
|
-
this.textfieldEl.value.length < this.minimumChars) {
|
|
272
|
-
this.closeList();
|
|
273
|
-
return false;
|
|
274
|
-
}
|
|
275
|
-
this.textfieldWrapper.classList.add('toggled');
|
|
276
|
-
this.listEl.menuVisible = true;
|
|
277
|
-
const elStyle = this.listEl.style;
|
|
278
|
-
elStyle.height = 'auto';
|
|
279
|
-
elStyle.minWidth = this.textfieldWrapper.clientWidth + 'px';
|
|
280
|
-
if (this.kupManager.dynamicPosition.isRegistered(this.listEl)) {
|
|
281
|
-
this.kupManager.dynamicPosition.changeAnchor(this.listEl, this.textfieldWrapper);
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
this.kupManager.dynamicPosition.register(this.listEl, this.textfieldWrapper, 0, KupDynamicPositionPlacement.AUTO, true);
|
|
285
|
-
}
|
|
286
|
-
this.kupManager.dynamicPosition.start(this.listEl);
|
|
287
|
-
if (!this.clickCb) {
|
|
288
|
-
this.clickCb = {
|
|
289
|
-
cb: () => {
|
|
290
|
-
this.closeList();
|
|
291
|
-
},
|
|
292
|
-
el: this.listEl,
|
|
293
|
-
};
|
|
294
|
-
}
|
|
295
|
-
this.kupManager.addClickCallback(this.clickCb, true);
|
|
296
|
-
return true;
|
|
297
|
-
}
|
|
298
|
-
closeList() {
|
|
299
|
-
this.textfieldWrapper.classList.remove('toggled');
|
|
300
|
-
this.listEl.menuVisible = false;
|
|
301
|
-
this.kupManager.dynamicPosition.stop(this.listEl);
|
|
302
|
-
this.kupManager.removeClickCallback(this.clickCb);
|
|
303
|
-
}
|
|
304
|
-
isListOpened() {
|
|
305
|
-
return this.listEl.menuVisible == true;
|
|
306
|
-
}
|
|
307
|
-
consistencyCheck(e, idIn) {
|
|
308
|
-
if (!this.doConsistencyCheck) {
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
this.doConsistencyCheck = false;
|
|
312
|
-
const ret = consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.displayMode, e);
|
|
313
|
-
if (ret.exists || this.allowInconsistentValues) {
|
|
314
|
-
this.value = ret.value;
|
|
315
|
-
this.displayedValue = ret.displayedValue;
|
|
316
|
-
if (this.listEl != null && !this.serverHandledFilter) {
|
|
317
|
-
this.listEl.filter = this.displayedValue;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
this.displayedValue = idIn;
|
|
322
|
-
if (this.listEl != null && !this.serverHandledFilter) {
|
|
323
|
-
this.listEl.filter = idIn;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
return ret;
|
|
327
|
-
}
|
|
328
|
-
prepList() {
|
|
329
|
-
return (h("kup-list", Object.assign({ displayMode: this.displayMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (this.listEl = el) })));
|
|
273
|
+
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
274
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
330
275
|
}
|
|
331
276
|
/*-------------------------------------------------*/
|
|
332
277
|
/* L i f e c y c l e H o o k s */
|
|
333
278
|
/*-------------------------------------------------*/
|
|
334
279
|
componentWillLoad() {
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
this
|
|
280
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, false);
|
|
281
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.register(this);
|
|
282
|
+
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
338
283
|
this.value = this.initialValue;
|
|
339
284
|
if (!this.data) {
|
|
340
285
|
this.data = {
|
|
@@ -344,43 +289,44 @@ export class KupAutocomplete {
|
|
|
344
289
|
}
|
|
345
290
|
}
|
|
346
291
|
componentDidLoad() {
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
292
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
|
|
293
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
|
|
349
294
|
}
|
|
350
295
|
componentWillRender() {
|
|
351
|
-
this.
|
|
296
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, false);
|
|
352
297
|
}
|
|
353
298
|
componentDidRender() {
|
|
354
299
|
const root = this.rootElement.shadowRoot;
|
|
355
300
|
if (root) {
|
|
356
301
|
const f = root.querySelector('.f-text-field');
|
|
357
302
|
if (f) {
|
|
358
|
-
this
|
|
359
|
-
this
|
|
303
|
+
__classPrivateFieldSet(this, _KupAutocomplete_textfieldWrapper, f, "f");
|
|
304
|
+
__classPrivateFieldSet(this, _KupAutocomplete_textfieldEl, f.querySelector('input'), "f");
|
|
360
305
|
FTextFieldMDC(f);
|
|
361
306
|
}
|
|
362
307
|
}
|
|
363
|
-
this.
|
|
308
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").debug.logRender(this, true);
|
|
364
309
|
}
|
|
365
310
|
render() {
|
|
366
311
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
367
312
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
368
|
-
return (h(Host, { class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: this
|
|
369
|
-
h("style", null, this.
|
|
370
|
-
h("div", { id: componentWrapperId, style: this
|
|
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") },
|
|
371
316
|
h(FTextField, Object.assign({}, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, icon: this.showDropDownIcon
|
|
372
317
|
? KupThemeIconValues.DROPDOWN
|
|
373
318
|
: null, trailingIcon: true, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
374
|
-
window.clearTimeout(this
|
|
375
|
-
this
|
|
376
|
-
}, onIconClick: () => this.onKupIconClick() })
|
|
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)));
|
|
377
323
|
}
|
|
378
324
|
disconnectedCallback() {
|
|
379
|
-
if (this
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
325
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f")) {
|
|
326
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.unregister([__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f")]);
|
|
327
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").remove();
|
|
382
328
|
}
|
|
383
|
-
this.
|
|
329
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.unregister(this);
|
|
384
330
|
}
|
|
385
331
|
static get is() { return "kup-autocomplete"; }
|
|
386
332
|
static get encapsulation() { return "shadow"; }
|
|
@@ -931,3 +877,63 @@ export class KupAutocomplete {
|
|
|
931
877
|
"passive": false
|
|
932
878
|
}]; }
|
|
933
879
|
}
|
|
880
|
+
_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
|
+
if (forceOpen != true &&
|
|
882
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value.length < this.minimumChars) {
|
|
883
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
884
|
+
return false;
|
|
885
|
+
}
|
|
886
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f").classList.add('toggled');
|
|
887
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").menuVisible = true;
|
|
888
|
+
const elStyle = __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").style;
|
|
889
|
+
elStyle.height = 'auto';
|
|
890
|
+
elStyle.minWidth = __classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f").clientWidth + 'px';
|
|
891
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.isRegistered(__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"))) {
|
|
892
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.changeAnchor(__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f"));
|
|
893
|
+
}
|
|
894
|
+
else {
|
|
895
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.register(__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"), __classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
|
|
896
|
+
}
|
|
897
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.start(__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"));
|
|
898
|
+
if (!__classPrivateFieldGet(this, _KupAutocomplete_clickCb, "f")) {
|
|
899
|
+
__classPrivateFieldSet(this, _KupAutocomplete_clickCb, {
|
|
900
|
+
cb: () => {
|
|
901
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_closeList).call(this);
|
|
902
|
+
},
|
|
903
|
+
el: __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"),
|
|
904
|
+
}, "f");
|
|
905
|
+
}
|
|
906
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").addClickCallback(__classPrivateFieldGet(this, _KupAutocomplete_clickCb, "f"), true);
|
|
907
|
+
return true;
|
|
908
|
+
}, _KupAutocomplete_closeList = function _KupAutocomplete_closeList() {
|
|
909
|
+
__classPrivateFieldGet(this, _KupAutocomplete_textfieldWrapper, "f").classList.remove('toggled');
|
|
910
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").menuVisible = false;
|
|
911
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"));
|
|
912
|
+
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupAutocomplete_clickCb, "f"));
|
|
913
|
+
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
914
|
+
return __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
915
|
+
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, setValue) {
|
|
916
|
+
if (!__classPrivateFieldGet(this, _KupAutocomplete_doConsistencyCheck, "f")) {
|
|
917
|
+
return;
|
|
918
|
+
}
|
|
919
|
+
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, false, "f");
|
|
920
|
+
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.displayMode);
|
|
921
|
+
if (ret.exists || this.allowInconsistentValues) {
|
|
922
|
+
if (setValue) {
|
|
923
|
+
this.value = ret.value;
|
|
924
|
+
this.displayedValue = ret.displayedValue;
|
|
925
|
+
}
|
|
926
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
|
|
927
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").filter = ret.value;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
else {
|
|
931
|
+
this.displayedValue = idIn;
|
|
932
|
+
if (__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
|
|
933
|
+
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").filter = ret.value;
|
|
934
|
+
}
|
|
935
|
+
}
|
|
936
|
+
return ret;
|
|
937
|
+
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
938
|
+
return (h("kup-list", Object.assign({ displayMode: this.displayMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
939
|
+
};
|
|
@@ -25,13 +25,9 @@ export var KupBoxProps;
|
|
|
25
25
|
KupBoxProps["selectBox"] = "Automatically selects the box at the specified index.";
|
|
26
26
|
KupBoxProps["selectedRowsState"] = "Multiple selection.";
|
|
27
27
|
KupBoxProps["showSelection"] = "If enabled, highlights the selected box/boxes.";
|
|
28
|
-
KupBoxProps["showTooltipOnRightClick"] = "If set to true, displays tooltip on right click; if set to false, displays tooltip on mouseOver.";
|
|
29
28
|
KupBoxProps["sortBy"] = "If sorting is enabled, specifies which column to sort.";
|
|
30
29
|
KupBoxProps["sortEnabled"] = "Enable sorting.";
|
|
31
30
|
KupBoxProps["stateId"] = "";
|
|
32
31
|
KupBoxProps["store"] = "";
|
|
33
32
|
KupBoxProps["swipeDisabled"] = "Disable swipe.";
|
|
34
|
-
KupBoxProps["tooltipDetailTimeout"] = "Defines the timeout for tooltip detail.";
|
|
35
|
-
KupBoxProps["tooltipEnabled"] = "Enable show tooltip.";
|
|
36
|
-
KupBoxProps["tooltipLoadTimeout"] = "Defines the timeout for tooltip load.";
|
|
37
33
|
})(KupBoxProps || (KupBoxProps = {}));
|