@sme.up/ketchup 6.6.0 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/cjs/{f-button-a531feb2.js → f-button-bf76ab95.js} +2 -2
- package/dist/cjs/{f-cell-75cb7933.js → f-cell-b7a1524a.js} +21 -21
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-9508a2e4.js → f-chip-a5e100b1.js} +3 -3
- package/dist/cjs/{f-image-c21cc616.js → f-image-d80a2749.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-c70812fe.js} +3 -3
- package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-48b8bb16.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 +3 -3
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +206 -57
- package/dist/cjs/kup-box.cjs.entry.js +11 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-form.cjs.entry.js +8 -8
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-0e38bf48.js} +16 -6
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- 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 +4 -4
- 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 +239 -234
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
- package/dist/collection/components/kup-badge/kup-badge.js +176 -170
- package/dist/collection/components/kup-box/kup-box.js +889 -907
- package/dist/collection/components/kup-button/kup-button.js +379 -370
- package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
- package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
- package/dist/collection/components/kup-card/box/kup-card-box.js +7 -24
- 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-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 +40 -0
- package/dist/collection/components/kup-card/kup-card.js +348 -340
- 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 +221 -216
- package/dist/collection/components/kup-chart/kup-chart.js +547 -537
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
- package/dist/collection/components/kup-chip/kup-chip.js +240 -231
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
- package/dist/collection/components/kup-combobox/kup-combobox.js +457 -440
- package/dist/collection/components/kup-dash/kup-dash.js +110 -158
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
- package/dist/collection/components/kup-data-table/kup-data-table.js +1917 -1830
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
- package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
- package/dist/collection/components/kup-echart/kup-echart.js +436 -423
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +408 -421
- package/dist/collection/components/kup-form/kup-form.js +223 -225
- package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
- package/dist/collection/components/kup-grid/kup-grid.js +156 -153
- package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +300 -295
- package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
- package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
- package/dist/collection/components/kup-list/kup-list.js +541 -504
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
- package/dist/collection/components/kup-probe/kup-probe.js +87 -83
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
- package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
- package/dist/collection/components/kup-radio/kup-radio.js +258 -255
- package/dist/collection/components/kup-rating/kup-rating.js +208 -197
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
- package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
- package/dist/collection/components/kup-switch/kup-switch.js +255 -246
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
- package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1068 -1076
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +19 -21
- 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-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-e79f7594.js} +2 -2
- package/dist/esm/{f-cell-692c37bf.js → f-cell-9400374e.js} +21 -21
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-abab04bf.js → f-chip-bf740287.js} +3 -3
- package/dist/esm/{f-image-98783644.js → f-image-ab3dc8cb.js} +2 -2
- package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-6909e43b.js} +3 -3
- package/dist/esm/{f-text-field-282025dd.js → f-text-field-4841dfea.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 +3 -3
- package/dist/esm/kup-autocomplete_25.entry.js +206 -57
- package/dist/esm/kup-box.entry.js +11 -10
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-form.entry.js +8 -8
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c54e6df5.js} +16 -6
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- 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 +4 -4
- 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-5933aa02.entry.js → p-182b869e.entry.js} +1 -1
- package/dist/ketchup/{p-c05f2638.js → p-1dfd2a51.js} +1 -1
- package/dist/ketchup/{p-62f3ec78.entry.js → p-1f5c7f21.entry.js} +1 -1
- package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-62421bcf.js → p-25bf0cb6.js} +1 -1
- package/dist/ketchup/{p-6946b614.entry.js → p-260ff835.entry.js} +1 -1
- package/dist/ketchup/{p-ccef2553.entry.js → p-2e184b57.entry.js} +1 -1
- package/dist/ketchup/{p-eeadd688.entry.js → p-30a63b85.entry.js} +1 -1
- package/dist/ketchup/{p-3760a159.entry.js → p-313e376b.entry.js} +1 -1
- package/dist/ketchup/{p-7e16265d.entry.js → p-41620707.entry.js} +1 -1
- package/dist/ketchup/{p-5ea2a1ff.entry.js → p-4a0ccf18.entry.js} +1 -1
- package/dist/ketchup/{p-6f3040fb.js → p-4f0d3062.js} +1 -1
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-27538d6f.entry.js → p-53d3ae80.entry.js} +1 -1
- package/dist/ketchup/{p-20221a50.js → p-5bea2971.js} +1 -1
- package/dist/ketchup/{p-1ef5d16d.entry.js → p-60fa0ccf.entry.js} +1 -1
- package/dist/ketchup/p-6333388c.js +1 -0
- package/dist/ketchup/{p-725c6268.entry.js → p-6bd57787.entry.js} +1 -1
- package/dist/ketchup/p-758d03f4.entry.js +1 -0
- package/dist/ketchup/{p-9419919c.entry.js → p-7e7b6127.entry.js} +1 -1
- package/dist/ketchup/p-8386e3db.entry.js +1 -0
- package/dist/ketchup/{p-a4a30e0e.entry.js → p-859163c2.entry.js} +1 -1
- package/dist/ketchup/{p-a450d60a.entry.js → p-8e1fa7a8.entry.js} +1 -1
- package/dist/ketchup/{p-29d72040.entry.js → p-90860d9e.entry.js} +1 -1
- package/dist/ketchup/{p-d8af7ba6.entry.js → p-b7fdc7aa.entry.js} +1 -1
- package/dist/ketchup/{p-7d37ea62.entry.js → p-bffaef6e.entry.js} +1 -1
- package/dist/ketchup/{p-3e74e1ed.js → p-c35c5e05.js} +1 -1
- package/dist/ketchup/{p-e6ebdb80.js → p-e1d0ea71.js} +1 -1
- package/dist/ketchup/{p-fd930a34.entry.js → p-f9d5e553.entry.js} +1 -1
- package/dist/ketchup/{p-f6409c42.entry.js → p-fb4d772a.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/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
- 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.d.ts +23 -0
- 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/stencil-public-runtime.d.ts +15 -4
- package/package.json +1 -1
- package/CHANGELOG.md +0 -5
- package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
- package/dist/ketchup/p-680a8cb4.entry.js +0 -9
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-d7a92197.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 _KupList_instances, _KupList_kupManager, _KupList_radios, _KupList_listItems, _KupList_handleSelection, _KupList_isNested, _KupList_renderListItem, _KupList_getIconTag, _KupList_isMultiSelection, _KupList_isCheckBoxRule, _KupList_isRadioButtonRule, _KupList_isListBoxRule, _KupList_checkRoleType, _KupList_itemCompliant;
|
|
13
|
-
import {
|
|
18
|
+
import { forceUpdate, h, Host, } from '@stencil/core';
|
|
14
19
|
import { KupListProps, KupListRole, } from './kup-list-declarations';
|
|
15
20
|
import { ItemsDisplayMode } from './kup-list-declarations';
|
|
16
21
|
import { getIdOfItemByDisplayMode } from './kup-list-helper';
|
|
@@ -149,9 +154,6 @@ export class KupList {
|
|
|
149
154
|
}
|
|
150
155
|
}
|
|
151
156
|
/*-------------------------------------------------*/
|
|
152
|
-
/* W a t c h e r s */
|
|
153
|
-
/*-------------------------------------------------*/
|
|
154
|
-
/*-------------------------------------------------*/
|
|
155
157
|
/* P u b l i c M e t h o d s */
|
|
156
158
|
/*-------------------------------------------------*/
|
|
157
159
|
/**
|
|
@@ -208,6 +210,19 @@ export class KupList {
|
|
|
208
210
|
async getProps(descriptions) {
|
|
209
211
|
return getProps(this, KupListProps, descriptions);
|
|
210
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Returns the selected node.
|
|
215
|
+
* @returns {Promise<KupListNode>} Selected node.
|
|
216
|
+
*/
|
|
217
|
+
async getSelectedNode() {
|
|
218
|
+
const nodes = [];
|
|
219
|
+
this.data.forEach((node) => {
|
|
220
|
+
if (this.selected.includes(node.id)) {
|
|
221
|
+
nodes.push(node);
|
|
222
|
+
}
|
|
223
|
+
});
|
|
224
|
+
return nodes;
|
|
225
|
+
}
|
|
211
226
|
/**
|
|
212
227
|
* This method is used to trigger a new render of the component.
|
|
213
228
|
*/
|
|
@@ -291,511 +306,545 @@ export class KupList {
|
|
|
291
306
|
}
|
|
292
307
|
__classPrivateFieldSet(this, _KupList_radios, [], "f");
|
|
293
308
|
let index = 0;
|
|
294
|
-
return (h(Host, null,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
h("ul", { class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
298
|
-
.filter((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
299
|
-
.map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++))))));
|
|
309
|
+
return (h(Host, null, h("style", null, __classPrivateFieldGet(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: "kup-component", class: wrapperClass }, h("ul", { class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
310
|
+
.filter((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
311
|
+
.map((item) => __classPrivateFieldGet(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++))))));
|
|
300
312
|
}
|
|
301
313
|
disconnectedCallback() {
|
|
302
314
|
__classPrivateFieldGet(this, _KupList_kupManager, "f").theme.unregister(this);
|
|
303
315
|
}
|
|
304
316
|
static get is() { return "kup-list"; }
|
|
305
317
|
static get encapsulation() { return "shadow"; }
|
|
306
|
-
static get originalStyleUrls() {
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
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
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
"
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
318
|
+
static get originalStyleUrls() {
|
|
319
|
+
return {
|
|
320
|
+
"$": ["kup-list.scss"]
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
static get styleUrls() {
|
|
324
|
+
return {
|
|
325
|
+
"$": ["kup-list.css"]
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
static get properties() {
|
|
329
|
+
return {
|
|
330
|
+
"customStyle": {
|
|
331
|
+
"type": "string",
|
|
332
|
+
"mutable": false,
|
|
333
|
+
"complexType": {
|
|
334
|
+
"original": "string",
|
|
335
|
+
"resolved": "string",
|
|
336
|
+
"references": {}
|
|
337
|
+
},
|
|
338
|
+
"required": false,
|
|
339
|
+
"optional": false,
|
|
340
|
+
"docs": {
|
|
341
|
+
"tags": [{
|
|
342
|
+
"name": "default",
|
|
343
|
+
"text": "\"\""
|
|
344
|
+
}, {
|
|
345
|
+
"name": "see",
|
|
346
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
347
|
+
}],
|
|
348
|
+
"text": "Custom style of the component."
|
|
349
|
+
},
|
|
350
|
+
"attribute": "custom-style",
|
|
351
|
+
"reflect": false,
|
|
352
|
+
"defaultValue": "''"
|
|
353
|
+
},
|
|
354
|
+
"data": {
|
|
355
|
+
"type": "unknown",
|
|
356
|
+
"mutable": true,
|
|
357
|
+
"complexType": {
|
|
358
|
+
"original": "KupListNode[]",
|
|
359
|
+
"resolved": "KupListNode[]",
|
|
360
|
+
"references": {
|
|
361
|
+
"KupListNode": {
|
|
362
|
+
"location": "import",
|
|
363
|
+
"path": "./kup-list-declarations"
|
|
364
|
+
}
|
|
347
365
|
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
366
|
+
},
|
|
367
|
+
"required": false,
|
|
368
|
+
"optional": false,
|
|
369
|
+
"docs": {
|
|
370
|
+
"tags": [{
|
|
371
|
+
"name": "default",
|
|
372
|
+
"text": "[]"
|
|
373
|
+
}],
|
|
374
|
+
"text": "The data of the list."
|
|
375
|
+
},
|
|
376
|
+
"defaultValue": "[]"
|
|
377
|
+
},
|
|
378
|
+
"displayMode": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"mutable": false,
|
|
381
|
+
"complexType": {
|
|
382
|
+
"original": "ItemsDisplayMode",
|
|
383
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESCRIPTION_AND_CODE",
|
|
384
|
+
"references": {
|
|
385
|
+
"ItemsDisplayMode": {
|
|
386
|
+
"location": "import",
|
|
387
|
+
"path": "./kup-list-declarations"
|
|
388
|
+
}
|
|
371
389
|
}
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
390
|
+
},
|
|
391
|
+
"required": false,
|
|
392
|
+
"optional": false,
|
|
393
|
+
"docs": {
|
|
394
|
+
"tags": [{
|
|
395
|
+
"name": "default",
|
|
396
|
+
"text": "ItemsDisplayMode.DESCRIPTION"
|
|
397
|
+
}],
|
|
398
|
+
"text": "Selects how the items must display their label and how they can be filtered for."
|
|
399
|
+
},
|
|
400
|
+
"attribute": "display-mode",
|
|
401
|
+
"reflect": false,
|
|
402
|
+
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
403
|
+
},
|
|
404
|
+
"filter": {
|
|
405
|
+
"type": "string",
|
|
406
|
+
"mutable": true,
|
|
407
|
+
"complexType": {
|
|
408
|
+
"original": "string",
|
|
409
|
+
"resolved": "string",
|
|
410
|
+
"references": {}
|
|
411
|
+
},
|
|
412
|
+
"required": false,
|
|
413
|
+
"optional": false,
|
|
414
|
+
"docs": {
|
|
415
|
+
"tags": [{
|
|
416
|
+
"name": "default",
|
|
417
|
+
"text": "''"
|
|
418
|
+
}],
|
|
419
|
+
"text": "Keeps string for filtering elements when filter mode is active"
|
|
420
|
+
},
|
|
421
|
+
"attribute": "filter",
|
|
422
|
+
"reflect": false,
|
|
423
|
+
"defaultValue": "''"
|
|
424
|
+
},
|
|
425
|
+
"hideText": {
|
|
426
|
+
"type": "boolean",
|
|
427
|
+
"mutable": false,
|
|
428
|
+
"complexType": {
|
|
429
|
+
"original": "boolean",
|
|
430
|
+
"resolved": "boolean",
|
|
431
|
+
"references": {}
|
|
432
|
+
},
|
|
433
|
+
"required": false,
|
|
434
|
+
"optional": false,
|
|
435
|
+
"docs": {
|
|
436
|
+
"tags": [{
|
|
437
|
+
"name": "default",
|
|
438
|
+
"text": "false"
|
|
439
|
+
}],
|
|
440
|
+
"text": "Hides rows' text, ideally to display a list of icons only."
|
|
441
|
+
},
|
|
442
|
+
"attribute": "hide-text",
|
|
443
|
+
"reflect": false,
|
|
444
|
+
"defaultValue": "false"
|
|
445
|
+
},
|
|
446
|
+
"isMenu": {
|
|
447
|
+
"type": "boolean",
|
|
448
|
+
"mutable": false,
|
|
449
|
+
"complexType": {
|
|
450
|
+
"original": "boolean",
|
|
451
|
+
"resolved": "boolean",
|
|
452
|
+
"references": {}
|
|
453
|
+
},
|
|
454
|
+
"required": false,
|
|
455
|
+
"optional": false,
|
|
456
|
+
"docs": {
|
|
457
|
+
"tags": [{
|
|
458
|
+
"name": "default",
|
|
459
|
+
"text": "false"
|
|
460
|
+
}],
|
|
461
|
+
"text": "Defines whether the list is a menu or not."
|
|
462
|
+
},
|
|
463
|
+
"attribute": "is-menu",
|
|
464
|
+
"reflect": false,
|
|
465
|
+
"defaultValue": "false"
|
|
466
|
+
},
|
|
467
|
+
"keyboardNavigation": {
|
|
468
|
+
"type": "boolean",
|
|
469
|
+
"mutable": false,
|
|
470
|
+
"complexType": {
|
|
471
|
+
"original": "boolean",
|
|
472
|
+
"resolved": "boolean",
|
|
473
|
+
"references": {}
|
|
474
|
+
},
|
|
475
|
+
"required": false,
|
|
476
|
+
"optional": false,
|
|
477
|
+
"docs": {
|
|
478
|
+
"tags": [{
|
|
479
|
+
"name": "default",
|
|
480
|
+
"text": "true"
|
|
481
|
+
}],
|
|
482
|
+
"text": "When true, enables items' navigation through arrow keys."
|
|
483
|
+
},
|
|
484
|
+
"attribute": "keyboard-navigation",
|
|
485
|
+
"reflect": false,
|
|
486
|
+
"defaultValue": "true"
|
|
487
|
+
},
|
|
488
|
+
"menuVisible": {
|
|
489
|
+
"type": "boolean",
|
|
490
|
+
"mutable": false,
|
|
491
|
+
"complexType": {
|
|
492
|
+
"original": "boolean",
|
|
493
|
+
"resolved": "boolean",
|
|
494
|
+
"references": {}
|
|
495
|
+
},
|
|
496
|
+
"required": false,
|
|
497
|
+
"optional": false,
|
|
498
|
+
"docs": {
|
|
499
|
+
"tags": [{
|
|
500
|
+
"name": "default",
|
|
501
|
+
"text": "false"
|
|
502
|
+
}],
|
|
503
|
+
"text": "Sets the status of the menu, when false it's hidden otherwise it's visible."
|
|
504
|
+
},
|
|
505
|
+
"attribute": "menu-visible",
|
|
506
|
+
"reflect": false,
|
|
507
|
+
"defaultValue": "false"
|
|
508
|
+
},
|
|
509
|
+
"roleType": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"mutable": true,
|
|
512
|
+
"complexType": {
|
|
513
|
+
"original": "KupListRole",
|
|
514
|
+
"resolved": "KupListRole.GROUP | KupListRole.LISTBOX | KupListRole.RADIOGROUP",
|
|
515
|
+
"references": {
|
|
516
|
+
"KupListRole": {
|
|
517
|
+
"location": "import",
|
|
518
|
+
"path": "./kup-list-declarations"
|
|
519
|
+
}
|
|
502
520
|
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
static get states() {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
"
|
|
594
|
-
"
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
"
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
|
|
521
|
+
},
|
|
522
|
+
"required": false,
|
|
523
|
+
"optional": true,
|
|
524
|
+
"docs": {
|
|
525
|
+
"tags": [{
|
|
526
|
+
"name": "default",
|
|
527
|
+
"text": "KupListRole.LISTBOX"
|
|
528
|
+
}],
|
|
529
|
+
"text": "Defines the type of selection. Values accepted: listbox, radiogroup or group."
|
|
530
|
+
},
|
|
531
|
+
"attribute": "role-type",
|
|
532
|
+
"reflect": false,
|
|
533
|
+
"defaultValue": "KupListRole.LISTBOX"
|
|
534
|
+
},
|
|
535
|
+
"selectable": {
|
|
536
|
+
"type": "boolean",
|
|
537
|
+
"mutable": false,
|
|
538
|
+
"complexType": {
|
|
539
|
+
"original": "boolean",
|
|
540
|
+
"resolved": "boolean",
|
|
541
|
+
"references": {}
|
|
542
|
+
},
|
|
543
|
+
"required": false,
|
|
544
|
+
"optional": false,
|
|
545
|
+
"docs": {
|
|
546
|
+
"tags": [{
|
|
547
|
+
"name": "default",
|
|
548
|
+
"text": "true"
|
|
549
|
+
}],
|
|
550
|
+
"text": "Defines whether items are selectable or not."
|
|
551
|
+
},
|
|
552
|
+
"attribute": "selectable",
|
|
553
|
+
"reflect": false,
|
|
554
|
+
"defaultValue": "true"
|
|
555
|
+
},
|
|
556
|
+
"showIcons": {
|
|
557
|
+
"type": "boolean",
|
|
558
|
+
"mutable": false,
|
|
559
|
+
"complexType": {
|
|
560
|
+
"original": "boolean",
|
|
561
|
+
"resolved": "boolean",
|
|
562
|
+
"references": {}
|
|
563
|
+
},
|
|
564
|
+
"required": false,
|
|
565
|
+
"optional": false,
|
|
566
|
+
"docs": {
|
|
567
|
+
"tags": [{
|
|
568
|
+
"name": "default",
|
|
569
|
+
"text": "false"
|
|
570
|
+
}],
|
|
571
|
+
"text": "Displays the icons associated to each row when set to true."
|
|
572
|
+
},
|
|
573
|
+
"attribute": "show-icons",
|
|
574
|
+
"reflect": false,
|
|
575
|
+
"defaultValue": "false"
|
|
576
|
+
},
|
|
577
|
+
"twoLine": {
|
|
578
|
+
"type": "boolean",
|
|
579
|
+
"mutable": false,
|
|
580
|
+
"complexType": {
|
|
581
|
+
"original": "boolean",
|
|
582
|
+
"resolved": "boolean",
|
|
583
|
+
"references": {}
|
|
584
|
+
},
|
|
585
|
+
"required": false,
|
|
586
|
+
"optional": false,
|
|
587
|
+
"docs": {
|
|
588
|
+
"tags": [{
|
|
589
|
+
"name": "default",
|
|
590
|
+
"text": "false"
|
|
591
|
+
}],
|
|
592
|
+
"text": "The list elements descriptions will be arranged in two lines."
|
|
593
|
+
},
|
|
594
|
+
"attribute": "two-line",
|
|
595
|
+
"reflect": false,
|
|
596
|
+
"defaultValue": "false"
|
|
597
|
+
}
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
static get states() {
|
|
601
|
+
return {
|
|
602
|
+
"focused": {},
|
|
603
|
+
"selected": {}
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
static get events() {
|
|
607
|
+
return [{
|
|
608
|
+
"method": "kupBlur",
|
|
609
|
+
"name": "kup-list-blur",
|
|
610
|
+
"bubbles": true,
|
|
611
|
+
"cancelable": false,
|
|
612
|
+
"composed": true,
|
|
613
|
+
"docs": {
|
|
614
|
+
"tags": [],
|
|
615
|
+
"text": ""
|
|
616
|
+
},
|
|
617
|
+
"complexType": {
|
|
618
|
+
"original": "KupEventPayload",
|
|
619
|
+
"resolved": "KupEventPayload",
|
|
620
|
+
"references": {
|
|
621
|
+
"KupEventPayload": {
|
|
622
|
+
"location": "import",
|
|
623
|
+
"path": "../../types/GenericTypes"
|
|
624
|
+
}
|
|
603
625
|
}
|
|
604
626
|
}
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
627
|
+
}, {
|
|
628
|
+
"method": "kupFocus",
|
|
629
|
+
"name": "kup-list-focus",
|
|
630
|
+
"bubbles": true,
|
|
631
|
+
"cancelable": false,
|
|
632
|
+
"composed": true,
|
|
633
|
+
"docs": {
|
|
634
|
+
"tags": [],
|
|
635
|
+
"text": ""
|
|
636
|
+
},
|
|
637
|
+
"complexType": {
|
|
638
|
+
"original": "KupEventPayload",
|
|
639
|
+
"resolved": "KupEventPayload",
|
|
640
|
+
"references": {
|
|
641
|
+
"KupEventPayload": {
|
|
642
|
+
"location": "import",
|
|
643
|
+
"path": "../../types/GenericTypes"
|
|
644
|
+
}
|
|
623
645
|
}
|
|
624
646
|
}
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
647
|
+
}, {
|
|
648
|
+
"method": "kupClick",
|
|
649
|
+
"name": "kup-list-click",
|
|
650
|
+
"bubbles": true,
|
|
651
|
+
"cancelable": false,
|
|
652
|
+
"composed": true,
|
|
653
|
+
"docs": {
|
|
654
|
+
"tags": [],
|
|
655
|
+
"text": ""
|
|
656
|
+
},
|
|
657
|
+
"complexType": {
|
|
658
|
+
"original": "KupListEventPayload",
|
|
659
|
+
"resolved": "KupListEventPayload",
|
|
660
|
+
"references": {
|
|
661
|
+
"KupListEventPayload": {
|
|
662
|
+
"location": "import",
|
|
663
|
+
"path": "./kup-list-declarations"
|
|
664
|
+
}
|
|
643
665
|
}
|
|
644
666
|
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
static get methods() {
|
|
648
|
-
|
|
649
|
-
"
|
|
650
|
-
"
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
"
|
|
654
|
-
"
|
|
667
|
+
}];
|
|
668
|
+
}
|
|
669
|
+
static get methods() {
|
|
670
|
+
return {
|
|
671
|
+
"focusNext": {
|
|
672
|
+
"complexType": {
|
|
673
|
+
"signature": "() => Promise<void>",
|
|
674
|
+
"parameters": [],
|
|
675
|
+
"references": {
|
|
676
|
+
"Promise": {
|
|
677
|
+
"location": "global"
|
|
678
|
+
},
|
|
679
|
+
"KupListNode": {
|
|
680
|
+
"location": "import",
|
|
681
|
+
"path": "./kup-list-declarations"
|
|
682
|
+
}
|
|
655
683
|
},
|
|
656
|
-
"
|
|
657
|
-
"location": "import",
|
|
658
|
-
"path": "./kup-list-declarations"
|
|
659
|
-
}
|
|
684
|
+
"return": "Promise<void>"
|
|
660
685
|
},
|
|
661
|
-
"
|
|
686
|
+
"docs": {
|
|
687
|
+
"text": "Focuses the next element of the list.",
|
|
688
|
+
"tags": []
|
|
689
|
+
}
|
|
662
690
|
},
|
|
663
|
-
"
|
|
664
|
-
"
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
691
|
+
"focusPrevious": {
|
|
692
|
+
"complexType": {
|
|
693
|
+
"signature": "() => Promise<void>",
|
|
694
|
+
"parameters": [],
|
|
695
|
+
"references": {
|
|
696
|
+
"Promise": {
|
|
697
|
+
"location": "global"
|
|
698
|
+
},
|
|
699
|
+
"KupListNode": {
|
|
700
|
+
"location": "import",
|
|
701
|
+
"path": "./kup-list-declarations"
|
|
702
|
+
}
|
|
675
703
|
},
|
|
676
|
-
"
|
|
677
|
-
"location": "import",
|
|
678
|
-
"path": "./kup-list-declarations"
|
|
679
|
-
}
|
|
704
|
+
"return": "Promise<void>"
|
|
680
705
|
},
|
|
681
|
-
"
|
|
706
|
+
"docs": {
|
|
707
|
+
"text": "Focuses the previous element of the list.",
|
|
708
|
+
"tags": []
|
|
709
|
+
}
|
|
682
710
|
},
|
|
683
|
-
"
|
|
684
|
-
"
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
711
|
+
"getProps": {
|
|
712
|
+
"complexType": {
|
|
713
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
714
|
+
"parameters": [{
|
|
715
|
+
"tags": [{
|
|
716
|
+
"name": "param",
|
|
717
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
718
|
+
}],
|
|
719
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
720
|
+
}],
|
|
721
|
+
"references": {
|
|
722
|
+
"Promise": {
|
|
723
|
+
"location": "global"
|
|
724
|
+
},
|
|
725
|
+
"GenericObject": {
|
|
726
|
+
"location": "import",
|
|
727
|
+
"path": "../../types/GenericTypes"
|
|
728
|
+
}
|
|
701
729
|
},
|
|
702
|
-
"
|
|
703
|
-
"location": "import",
|
|
704
|
-
"path": "../../types/GenericTypes"
|
|
705
|
-
}
|
|
730
|
+
"return": "Promise<GenericObject>"
|
|
706
731
|
},
|
|
707
|
-
"
|
|
732
|
+
"docs": {
|
|
733
|
+
"text": "Used to retrieve component's props values.",
|
|
734
|
+
"tags": [{
|
|
735
|
+
"name": "param",
|
|
736
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
737
|
+
}, {
|
|
738
|
+
"name": "returns",
|
|
739
|
+
"text": "List of props as object, each key will be a prop."
|
|
740
|
+
}]
|
|
741
|
+
}
|
|
708
742
|
},
|
|
709
|
-
"
|
|
710
|
-
"
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
"parameters": [],
|
|
724
|
-
"references": {
|
|
725
|
-
"Promise": {
|
|
726
|
-
"location": "global"
|
|
727
|
-
}
|
|
743
|
+
"getSelectedNode": {
|
|
744
|
+
"complexType": {
|
|
745
|
+
"signature": "() => Promise<KupListNode[]>",
|
|
746
|
+
"parameters": [],
|
|
747
|
+
"references": {
|
|
748
|
+
"Promise": {
|
|
749
|
+
"location": "global"
|
|
750
|
+
},
|
|
751
|
+
"KupListNode": {
|
|
752
|
+
"location": "import",
|
|
753
|
+
"path": "./kup-list-declarations"
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
"return": "Promise<KupListNode[]>"
|
|
728
757
|
},
|
|
729
|
-
"
|
|
758
|
+
"docs": {
|
|
759
|
+
"text": "Returns the selected node.",
|
|
760
|
+
"tags": [{
|
|
761
|
+
"name": "returns",
|
|
762
|
+
"text": "Selected node."
|
|
763
|
+
}]
|
|
764
|
+
}
|
|
730
765
|
},
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
"name": "param",
|
|
742
|
-
"text": "index - Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element."
|
|
743
|
-
}],
|
|
744
|
-
"text": "- Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element."
|
|
745
|
-
}],
|
|
746
|
-
"references": {
|
|
747
|
-
"Promise": {
|
|
748
|
-
"location": "global"
|
|
749
|
-
}
|
|
766
|
+
"refresh": {
|
|
767
|
+
"complexType": {
|
|
768
|
+
"signature": "() => Promise<void>",
|
|
769
|
+
"parameters": [],
|
|
770
|
+
"references": {
|
|
771
|
+
"Promise": {
|
|
772
|
+
"location": "global"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"return": "Promise<void>"
|
|
750
776
|
},
|
|
751
|
-
"
|
|
777
|
+
"docs": {
|
|
778
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
779
|
+
"tags": []
|
|
780
|
+
}
|
|
752
781
|
},
|
|
753
|
-
"
|
|
754
|
-
"
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
"text": "props - Object containing props that will be set to the component."
|
|
768
|
-
}],
|
|
769
|
-
"text": "- Object containing props that will be set to the component."
|
|
770
|
-
}],
|
|
771
|
-
"references": {
|
|
772
|
-
"Promise": {
|
|
773
|
-
"location": "global"
|
|
782
|
+
"select": {
|
|
783
|
+
"complexType": {
|
|
784
|
+
"signature": "(index?: number) => Promise<void>",
|
|
785
|
+
"parameters": [{
|
|
786
|
+
"tags": [{
|
|
787
|
+
"name": "param",
|
|
788
|
+
"text": "index - Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element."
|
|
789
|
+
}],
|
|
790
|
+
"text": "- Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element."
|
|
791
|
+
}],
|
|
792
|
+
"references": {
|
|
793
|
+
"Promise": {
|
|
794
|
+
"location": "global"
|
|
795
|
+
}
|
|
774
796
|
},
|
|
775
|
-
"
|
|
776
|
-
"location": "import",
|
|
777
|
-
"path": "../../types/GenericTypes"
|
|
778
|
-
}
|
|
797
|
+
"return": "Promise<void>"
|
|
779
798
|
},
|
|
780
|
-
"
|
|
799
|
+
"docs": {
|
|
800
|
+
"text": "Calls handleSelection internal method to select the given item.",
|
|
801
|
+
"tags": [{
|
|
802
|
+
"name": "param",
|
|
803
|
+
"text": "index - Based zero index of the item that must be selected, when not provided the list will attempt to select the focused element."
|
|
804
|
+
}]
|
|
805
|
+
}
|
|
781
806
|
},
|
|
782
|
-
"
|
|
783
|
-
"
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
807
|
+
"setProps": {
|
|
808
|
+
"complexType": {
|
|
809
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
810
|
+
"parameters": [{
|
|
811
|
+
"tags": [{
|
|
812
|
+
"name": "param",
|
|
813
|
+
"text": "props - Object containing props that will be set to the component."
|
|
814
|
+
}],
|
|
815
|
+
"text": "- Object containing props that will be set to the component."
|
|
816
|
+
}],
|
|
817
|
+
"references": {
|
|
818
|
+
"Promise": {
|
|
819
|
+
"location": "global"
|
|
820
|
+
},
|
|
821
|
+
"GenericObject": {
|
|
822
|
+
"location": "import",
|
|
823
|
+
"path": "../../types/GenericTypes"
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"return": "Promise<void>"
|
|
827
|
+
},
|
|
828
|
+
"docs": {
|
|
829
|
+
"text": "Sets the props to the component.",
|
|
830
|
+
"tags": [{
|
|
831
|
+
"name": "param",
|
|
832
|
+
"text": "props - Object containing props that will be set to the component."
|
|
833
|
+
}]
|
|
834
|
+
}
|
|
788
835
|
}
|
|
789
|
-
}
|
|
790
|
-
}
|
|
836
|
+
};
|
|
837
|
+
}
|
|
791
838
|
static get elementRef() { return "rootElement"; }
|
|
792
|
-
static get listeners() {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
839
|
+
static get listeners() {
|
|
840
|
+
return [{
|
|
841
|
+
"name": "keydown",
|
|
842
|
+
"method": "listenKeydown",
|
|
843
|
+
"target": undefined,
|
|
844
|
+
"capture": false,
|
|
845
|
+
"passive": false
|
|
846
|
+
}];
|
|
847
|
+
}
|
|
799
848
|
}
|
|
800
849
|
_KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_listItems = new WeakMap(), _KupList_instances = new WeakSet(), _KupList_handleSelection = function _KupList_handleSelection(index) {
|
|
801
850
|
if (index !== null && index !== undefined && !isNaN(index)) {
|
|
@@ -876,9 +925,7 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
|
|
|
876
925
|
}
|
|
877
926
|
let innerSpanTag = [
|
|
878
927
|
imageTag,
|
|
879
|
-
h("span", { class: "list-item__text" },
|
|
880
|
-
primaryTextTag,
|
|
881
|
-
secTextTag),
|
|
928
|
+
h("span", { class: "list-item__text" }, primaryTextTag, secTextTag),
|
|
882
929
|
];
|
|
883
930
|
if (__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
|
|
884
931
|
roleAttr = 'radio';
|
|
@@ -894,13 +941,9 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
|
|
|
894
941
|
display: 'none',
|
|
895
942
|
};
|
|
896
943
|
innerSpanTag = [
|
|
897
|
-
h("span", { class: "list-item__graphic" },
|
|
898
|
-
h("input", { type: "radio", style: trickForMDC }),
|
|
899
|
-
h("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index, ref: (el) => (__classPrivateFieldGet(this, _KupList_radios, "f")[index] = el) })),
|
|
944
|
+
h("span", { class: "list-item__graphic" }, h("input", { type: "radio", style: trickForMDC }), h("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index, ref: (el) => (__classPrivateFieldGet(this, _KupList_radios, "f")[index] = el) })),
|
|
900
945
|
imageTag,
|
|
901
|
-
h("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index },
|
|
902
|
-
primaryTextTag,
|
|
903
|
-
secTextTag),
|
|
946
|
+
h("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index }, primaryTextTag, secTextTag),
|
|
904
947
|
];
|
|
905
948
|
}
|
|
906
949
|
else if (__classPrivateFieldGet(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this)) {
|
|
@@ -911,13 +954,9 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
|
|
|
911
954
|
display: 'none',
|
|
912
955
|
};
|
|
913
956
|
innerSpanTag = [
|
|
914
|
-
h("span", { class: "list-item__graphic" },
|
|
915
|
-
h("input", { type: "checkbox", style: trickForMDC }),
|
|
916
|
-
h(FCheckbox, { checked: checkedAttr })),
|
|
957
|
+
h("span", { class: "list-item__graphic" }, h("input", { type: "checkbox", style: trickForMDC }), h(FCheckbox, { checked: checkedAttr })),
|
|
917
958
|
imageTag,
|
|
918
|
-
h("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index },
|
|
919
|
-
primaryTextTag,
|
|
920
|
-
secTextTag),
|
|
959
|
+
h("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index }, primaryTextTag, secTextTag),
|
|
921
960
|
];
|
|
922
961
|
}
|
|
923
962
|
const vNodes = [];
|
|
@@ -937,14 +976,12 @@ _KupList_kupManager = new WeakMap(), _KupList_radios = new WeakMap(), _KupList_l
|
|
|
937
976
|
e.stopPropagation();
|
|
938
977
|
this.onKupClick(index);
|
|
939
978
|
}
|
|
940
|
-
: () => this.onKupClick(index) },
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
]
|
|
947
|
-
: null));
|
|
979
|
+
: () => this.onKupClick(index) }, innerSpanTag, nestedList
|
|
980
|
+
? [
|
|
981
|
+
h(FImage, { resource: "chevron-right", sizeX: "1.5em", sizeY: "1.5em", wrapperClass: "list-item__expand-icon" }),
|
|
982
|
+
nestedList,
|
|
983
|
+
]
|
|
984
|
+
: null));
|
|
948
985
|
return vNodes;
|
|
949
986
|
}, _KupList_getIconTag = function _KupList_getIconTag(icon) {
|
|
950
987
|
const large = this.rootElement.classList.contains('kup-large');
|