@sme.up/ketchup 6.7.0 → 6.9.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/dist/cjs/{f-button-bf76ab95.js → f-button-e48df7ac.js} +1 -1
- package/dist/cjs/{f-cell-b7a1524a.js → f-cell-73b2fd86.js} +5 -5
- package/dist/cjs/{f-chip-a5e100b1.js → f-chip-1d499dc9.js} +2 -2
- package/dist/cjs/{f-image-d80a2749.js → f-image-9be73458.js} +1 -1
- package/dist/cjs/{f-paginator-utils-c70812fe.js → f-paginator-utils-b1f44f04.js} +2 -2
- package/dist/cjs/{f-text-field-48b8bb16.js → f-text-field-43439612.js} +1 -1
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -29
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3792 -4304
- package/dist/cjs/kup-box.cjs.entry.js +29 -110
- package/dist/cjs/kup-calendar.cjs.entry.js +9 -33
- package/dist/cjs/kup-cell.cjs.entry.js +8 -27
- package/dist/cjs/kup-dash-list.cjs.entry.js +9 -8
- package/dist/cjs/kup-dash_2.cjs.entry.js +6 -34
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -30
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -18
- package/dist/cjs/kup-echart.cjs.entry.js +15 -76
- package/dist/cjs/kup-family-tree.cjs.entry.js +11 -47
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -16
- package/dist/cjs/kup-image-list.cjs.entry.js +14 -32
- package/dist/cjs/kup-lazy.cjs.entry.js +9 -36
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -24
- package/dist/cjs/{kup-manager-0e38bf48.js → kup-manager-58ba55f4.js} +70 -2
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -15
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +13 -56
- package/dist/cjs/kup-photo-frame.cjs.entry.js +8 -30
- package/dist/cjs/kup-probe.cjs.entry.js +12 -32
- package/dist/cjs/kup-qlik.cjs.entry.js +5 -59
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -37
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/data-table.js +0 -44
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +4 -27
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +15 -64
- package/dist/collection/components/kup-badge/kup-badge.js +3 -19
- package/dist/collection/components/kup-box/kup-box.js +22 -103
- package/dist/collection/components/kup-button/kup-button.js +3 -58
- package/dist/collection/components/kup-button-list/kup-button-list.js +3 -38
- package/dist/collection/components/kup-calendar/kup-calendar.js +5 -29
- package/dist/collection/components/kup-card/box/kup-card-box.js +5 -2
- 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-form.js +11 -0
- package/dist/collection/components/kup-card/kup-card.css +78 -12
- package/dist/collection/components/kup-card/kup-card.js +48 -47
- package/dist/collection/components/kup-cell/kup-cell.js +3 -22
- package/dist/collection/components/kup-chart/kup-chart.js +15 -49
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +3 -38
- package/dist/collection/components/kup-chip/kup-chip.js +5 -21
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +4 -35
- package/dist/collection/components/kup-combobox/kup-combobox.js +10 -42
- package/dist/collection/components/kup-dash/kup-dash.js +2 -14
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +8 -7
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +4 -26
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +3546 -3385
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -35
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -17
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +12 -63
- package/dist/collection/components/kup-echart/kup-echart.js +14 -75
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +8 -44
- package/dist/collection/components/kup-form/kup-form.js +4 -24
- package/dist/collection/components/kup-gauge/kup-gauge.js +15 -76
- package/dist/collection/components/kup-grid/kup-grid.js +3 -19
- package/dist/collection/components/kup-iframe/kup-iframe.js +3 -15
- package/dist/collection/components/kup-image/kup-image.js +5 -45
- package/dist/collection/components/kup-image-list/kup-image-list.js +8 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +8 -35
- package/dist/collection/components/kup-list/kup-list.js +5 -68
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -22
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +2 -14
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +11 -54
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +7 -29
- package/dist/collection/components/kup-probe/kup-probe.js +11 -31
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +3 -35
- package/dist/collection/components/kup-qlik/kup-qlik.js +4 -58
- package/dist/collection/components/kup-radio/kup-radio.js +3 -34
- package/dist/collection/components/kup-rating/kup-rating.js +4 -27
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +3 -34
- package/dist/collection/components/kup-spinner/kup-spinner.js +3 -39
- package/dist/collection/components/kup-switch/kup-switch.js +3 -34
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +4 -24
- package/dist/collection/components/kup-text-field/kup-text-field.js +2 -115
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -43
- package/dist/collection/components/kup-tree/kup-tree.js +39 -129
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +4 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +1 -1
- package/dist/components/index.d.ts +68 -0
- package/dist/components/index.js +48 -0
- package/dist/components/kup-accordion.d.ts +11 -0
- package/dist/components/kup-accordion.js +363 -0
- package/dist/components/kup-autocomplete.d.ts +11 -0
- package/dist/components/kup-autocomplete.js +6 -0
- package/dist/components/kup-autocomplete2.js +45995 -0
- package/dist/components/kup-badge.d.ts +11 -0
- package/dist/components/kup-badge.js +6 -0
- package/dist/components/kup-box.d.ts +11 -0
- package/dist/components/kup-box.js +6 -0
- package/dist/components/kup-box2.js +1412 -0
- package/dist/components/kup-button-list.d.ts +11 -0
- package/dist/components/kup-button-list.js +6 -0
- package/dist/components/kup-button.d.ts +11 -0
- package/dist/components/kup-button.js +6 -0
- package/dist/components/kup-calendar.d.ts +11 -0
- package/dist/components/kup-calendar.js +14818 -0
- package/dist/components/kup-card.d.ts +11 -0
- package/dist/components/kup-card.js +6 -0
- package/dist/components/kup-cell.d.ts +11 -0
- package/dist/components/kup-cell.js +332 -0
- package/dist/components/kup-chart.d.ts +11 -0
- package/dist/components/kup-chart.js +6 -0
- package/dist/components/kup-checkbox.d.ts +11 -0
- package/dist/components/kup-checkbox.js +6 -0
- package/dist/components/kup-chip.d.ts +11 -0
- package/dist/components/kup-chip.js +6 -0
- package/dist/components/kup-color-picker.d.ts +11 -0
- package/dist/components/kup-color-picker.js +6 -0
- package/dist/components/kup-combobox.d.ts +11 -0
- package/dist/components/kup-combobox.js +6 -0
- package/dist/components/kup-dash-list.d.ts +11 -0
- package/dist/components/kup-dash-list.js +275 -0
- package/dist/components/kup-dash.d.ts +11 -0
- package/dist/components/kup-dash.js +6 -0
- package/dist/components/kup-dash2.js +223 -0
- package/dist/components/kup-dashboard.d.ts +11 -0
- package/dist/components/kup-dashboard.js +559 -0
- package/dist/components/kup-data-table.d.ts +11 -0
- package/dist/components/kup-data-table.js +6 -0
- package/dist/components/kup-date-picker.d.ts +11 -0
- package/dist/components/kup-date-picker.js +6 -0
- package/dist/components/kup-drawer.d.ts +11 -0
- package/dist/components/kup-drawer.js +303 -0
- package/dist/components/kup-dropdown-button.d.ts +11 -0
- package/dist/components/kup-dropdown-button.js +6 -0
- package/dist/components/kup-echart.d.ts +11 -0
- package/dist/components/kup-echart.js +6 -0
- package/dist/components/kup-echart2.js +94317 -0
- package/dist/components/kup-family-tree.d.ts +11 -0
- package/dist/components/kup-family-tree.js +623 -0
- package/dist/components/kup-form.d.ts +11 -0
- package/dist/components/kup-form.js +6 -0
- package/dist/components/kup-gauge.d.ts +11 -0
- package/dist/components/kup-gauge.js +6 -0
- package/dist/components/kup-grid.d.ts +11 -0
- package/dist/components/kup-grid.js +6 -0
- package/dist/components/kup-grid2.js +256 -0
- package/dist/components/kup-iframe.d.ts +11 -0
- package/dist/components/kup-iframe.js +257 -0
- package/dist/components/kup-image-list.d.ts +11 -0
- package/dist/components/kup-image-list.js +416 -0
- package/dist/components/kup-image.d.ts +11 -0
- package/dist/components/kup-image.js +6 -0
- package/dist/components/kup-lazy.d.ts +11 -0
- package/dist/components/kup-lazy.js +352 -0
- package/dist/components/kup-list.d.ts +11 -0
- package/dist/components/kup-list.js +6 -0
- package/dist/components/kup-magic-box.d.ts +11 -0
- package/dist/components/kup-magic-box.js +470 -0
- package/dist/components/kup-nav-bar.d.ts +11 -0
- package/dist/components/kup-nav-bar.js +292 -0
- package/dist/components/kup-numeric-picker.d.ts +11 -0
- package/dist/components/kup-numeric-picker.js +536 -0
- package/dist/components/kup-photo-frame.d.ts +11 -0
- package/dist/components/kup-photo-frame.js +308 -0
- package/dist/components/kup-probe.d.ts +11 -0
- package/dist/components/kup-probe.js +403 -0
- package/dist/components/kup-progress-bar.d.ts +11 -0
- package/dist/components/kup-progress-bar.js +6 -0
- package/dist/components/kup-qlik.d.ts +11 -0
- package/dist/components/kup-qlik.js +302 -0
- package/dist/components/kup-radio.d.ts +11 -0
- package/dist/components/kup-radio.js +6 -0
- package/dist/components/kup-rating.d.ts +11 -0
- package/dist/components/kup-rating.js +6 -0
- package/dist/components/kup-snackbar.d.ts +11 -0
- package/dist/components/kup-snackbar.js +272 -0
- package/dist/components/kup-spinner.d.ts +11 -0
- package/dist/components/kup-spinner.js +6 -0
- package/dist/components/kup-switch.d.ts +11 -0
- package/dist/components/kup-switch.js +6 -0
- package/dist/components/kup-tab-bar.d.ts +11 -0
- package/dist/components/kup-tab-bar.js +6 -0
- package/dist/components/kup-text-field.d.ts +11 -0
- package/dist/components/kup-text-field.js +6 -0
- package/dist/components/kup-time-picker.d.ts +11 -0
- package/dist/components/kup-time-picker.js +6 -0
- package/dist/components/kup-tree.d.ts +11 -0
- package/dist/components/kup-tree.js +6 -0
- package/dist/esm/{f-button-e79f7594.js → f-button-b902ad65.js} +1 -1
- package/dist/esm/{f-cell-9400374e.js → f-cell-b11d0d5d.js} +5 -5
- package/dist/esm/{f-chip-bf740287.js → f-chip-6b8cd306.js} +2 -2
- package/dist/esm/{f-image-ab3dc8cb.js → f-image-983805af.js} +1 -1
- package/dist/esm/{f-paginator-utils-6909e43b.js → f-paginator-utils-b22bec1f.js} +2 -2
- package/dist/esm/{f-text-field-4841dfea.js → f-text-field-3f9a7ba7.js} +1 -1
- package/dist/esm/ketchup.js +2 -2
- package/dist/esm/kup-accordion.entry.js +6 -29
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3790 -4303
- package/dist/esm/kup-box.entry.js +29 -110
- package/dist/esm/kup-calendar.entry.js +9 -33
- package/dist/esm/kup-cell.entry.js +8 -27
- package/dist/esm/kup-dash-list.entry.js +9 -8
- package/dist/esm/kup-dash_2.entry.js +6 -34
- package/dist/esm/kup-dashboard.entry.js +8 -30
- package/dist/esm/kup-drawer.entry.js +3 -18
- package/dist/esm/kup-echart.entry.js +15 -76
- package/dist/esm/kup-family-tree.entry.js +11 -47
- package/dist/esm/kup-iframe.entry.js +4 -16
- package/dist/esm/kup-image-list.entry.js +14 -32
- package/dist/esm/kup-lazy.entry.js +9 -36
- package/dist/esm/kup-magic-box.entry.js +5 -24
- package/dist/esm/{kup-manager-c54e6df5.js → kup-manager-a1976c1f.js} +71 -3
- package/dist/esm/kup-nav-bar.entry.js +3 -15
- package/dist/esm/kup-numeric-picker.entry.js +13 -56
- package/dist/esm/kup-photo-frame.entry.js +8 -30
- package/dist/esm/kup-probe.entry.js +12 -32
- package/dist/esm/kup-qlik.entry.js +5 -59
- package/dist/esm/kup-snackbar.entry.js +6 -37
- package/dist/esm/loader.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-4a0ccf18.entry.js → p-0e34943f.entry.js} +1 -1
- package/dist/ketchup/p-1df3f4b3.js +30 -0
- package/dist/ketchup/p-1f1c3e90.entry.js +1 -0
- package/dist/ketchup/p-2f274bd1.entry.js +1 -0
- package/dist/ketchup/{p-e1d0ea71.js → p-34fb0757.js} +1 -1
- package/dist/ketchup/p-43d52a62.js +1 -0
- package/dist/ketchup/{p-4f0d3062.js → p-59a78bb2.js} +1 -1
- package/dist/ketchup/{p-bffaef6e.entry.js → p-5c6798dc.entry.js} +1 -1
- package/dist/ketchup/p-5d4503ff.entry.js +9 -0
- package/dist/ketchup/{p-182b869e.entry.js → p-6154123c.entry.js} +1 -1
- package/dist/ketchup/p-657eb6db.js +1 -0
- package/dist/ketchup/{p-30a63b85.entry.js → p-6686f614.entry.js} +1 -1
- package/dist/ketchup/p-67c86b4a.entry.js +1 -0
- package/dist/ketchup/{p-25bf0cb6.js → p-751a87a6.js} +1 -1
- package/dist/ketchup/{p-60fa0ccf.entry.js → p-7d223413.entry.js} +1 -1
- package/dist/ketchup/{p-7e7b6127.entry.js → p-8bed854e.entry.js} +1 -1
- package/dist/ketchup/{p-6bd57787.entry.js → p-9003c78d.entry.js} +1 -1
- package/dist/ketchup/{p-41620707.entry.js → p-913d78b8.entry.js} +1 -1
- package/dist/ketchup/{p-f9d5e553.entry.js → p-a4c30e9a.entry.js} +1 -1
- package/dist/ketchup/p-b2bb0feb.entry.js +1 -0
- package/dist/ketchup/{p-fb4d772a.entry.js → p-b8de542a.entry.js} +1 -1
- package/dist/ketchup/{p-2e184b57.entry.js → p-bb172702.entry.js} +1 -1
- package/dist/ketchup/{p-859163c2.entry.js → p-c1d3332f.entry.js} +1 -1
- package/dist/ketchup/{p-8e1fa7a8.entry.js → p-ca42bab6.entry.js} +2 -2
- package/dist/ketchup/{p-758d03f4.entry.js → p-ca723973.entry.js} +1 -1
- package/dist/ketchup/{p-5bea2971.js → p-f08ba5cd.js} +1 -1
- package/dist/ketchup/{p-313e376b.entry.js → p-fc1f1a63.entry.js} +2 -2
- package/dist/ketchup/{p-1f5c7f21.entry.js → p-fe4d6234.entry.js} +1 -1
- 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-data-table/kup-data-table-declarations.d.ts +9 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +41 -202
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +55 -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-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1dfd2a51.js +0 -30
- package/dist/ketchup/p-22ec1ba0.entry.js +0 -9
- package/dist/ketchup/p-260ff835.entry.js +0 -1
- package/dist/ketchup/p-53d3ae80.entry.js +0 -1
- package/dist/ketchup/p-6333388c.js +0 -1
- package/dist/ketchup/p-8386e3db.entry.js +0 -1
- package/dist/ketchup/p-90860d9e.entry.js +0 -1
- package/dist/ketchup/p-b7fdc7aa.entry.js +0 -1
- package/dist/ketchup/p-c35c5e05.js +0 -1
|
@@ -26,160 +26,59 @@ export class KupTree {
|
|
|
26
26
|
/* S t a t e s */
|
|
27
27
|
/*-------------------------------------------------*/
|
|
28
28
|
this.state = new KupTreeState();
|
|
29
|
-
|
|
29
|
+
/*-------------------------------------------------*/
|
|
30
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
31
|
+
/*-------------------------------------------------*/
|
|
32
|
+
/**
|
|
33
|
+
* Instance of the KupManager class.
|
|
34
|
+
*/
|
|
35
|
+
this.kupManager = kupManagerInstance();
|
|
30
36
|
/**
|
|
31
|
-
*
|
|
37
|
+
* Reference to the column menu card.
|
|
32
38
|
*/
|
|
39
|
+
this.columnMenuCard = null;
|
|
40
|
+
this.clickTimeout = [];
|
|
41
|
+
this.sizedColumns = undefined;
|
|
42
|
+
this.filtersColumnMenuInstance = new FiltersColumnMenu();
|
|
43
|
+
this.filtersTreeItemsInstance = new FiltersTreeItems();
|
|
44
|
+
this.totalMenuCoords = null;
|
|
45
|
+
this.contentRefs = [];
|
|
46
|
+
this.oldWidth = null;
|
|
47
|
+
this.hold = false;
|
|
48
|
+
this.interactableTouch = [];
|
|
49
|
+
this.clickCb = null;
|
|
50
|
+
this.treeColumnVisible = true;
|
|
33
51
|
this.openedTotalMenu = null;
|
|
34
52
|
this.columnMenuAnchor = null;
|
|
35
53
|
this.stateSwitcher = false;
|
|
36
|
-
/**
|
|
37
|
-
* An array of integers containing the path to a selected child.\
|
|
38
|
-
* Groups up the properties SelFirst, SelItem, SelName.
|
|
39
|
-
*/
|
|
40
54
|
this.selectedNode = [];
|
|
41
|
-
/*-------------------------------------------------*/
|
|
42
|
-
/* P r o p s */
|
|
43
|
-
/*-------------------------------------------------*/
|
|
44
|
-
/**
|
|
45
|
-
* When enabled, the first level of depth will give an accordion look to nodes.
|
|
46
|
-
* @default false
|
|
47
|
-
*/
|
|
48
55
|
this.asAccordion = false;
|
|
49
|
-
|
|
50
|
-
* Custom style of the component.
|
|
51
|
-
* @default ""
|
|
52
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
53
|
-
*/
|
|
56
|
+
this.columns = undefined;
|
|
54
57
|
this.customStyle = '';
|
|
55
|
-
/**
|
|
56
|
-
* The json data used to populate the tree view: the basic, always visible tree nodes.
|
|
57
|
-
*/
|
|
58
58
|
this.data = [];
|
|
59
|
-
/**
|
|
60
|
-
* The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'.
|
|
61
|
-
*/
|
|
62
59
|
this.density = FCellPadding.MEDIUM;
|
|
63
|
-
/**
|
|
64
|
-
* Function that gets invoked when a new set of nodes must be loaded as children of a node.
|
|
65
|
-
*
|
|
66
|
-
* When useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop.
|
|
67
|
-
* 1 - If this prop is set to null, no callback to download data is available:
|
|
68
|
-
* the component will emit an event requiring the parent to load the children of the given node.
|
|
69
|
-
* 2 - If this prop is set to have a callback, then the component will automatically make requests to load children of
|
|
70
|
-
* a given node. After the load has been completed, a different event will be fired to alert the parent of the change.
|
|
71
|
-
*
|
|
72
|
-
* @see useDynamicExpansion
|
|
73
|
-
*/
|
|
74
60
|
this.dynamicExpansionCallback = undefined;
|
|
75
|
-
/**
|
|
76
|
-
* When set to true, editable cells will be rendered using input components.
|
|
77
|
-
* @default false
|
|
78
|
-
*/
|
|
79
61
|
this.editableData = false;
|
|
80
|
-
/**
|
|
81
|
-
* Enables the extracolumns add buttons.
|
|
82
|
-
*/
|
|
83
62
|
this.enableExtraColumns = true;
|
|
84
|
-
/**
|
|
85
|
-
* Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded.
|
|
86
|
-
*/
|
|
87
63
|
this.expanded = false;
|
|
88
|
-
/**
|
|
89
|
-
* Behavior of nodes' expansion: it can be chosen between expanding a node by clicking on the dropdown icon, or by clicking on the whole node.
|
|
90
|
-
* @default KupTreeExpansionMode.DROPDOWN
|
|
91
|
-
*/
|
|
92
64
|
this.expansionMode = KupTreeExpansionMode.DROPDOWN;
|
|
93
|
-
/**
|
|
94
|
-
* List of filters set by the user.
|
|
95
|
-
*/
|
|
96
65
|
this.filters = {};
|
|
97
|
-
/**
|
|
98
|
-
* When set to true it activates the global filter.
|
|
99
|
-
*/
|
|
100
66
|
this.globalFilter = false;
|
|
101
|
-
/**
|
|
102
|
-
* The value of the global filter.
|
|
103
|
-
*/
|
|
104
67
|
this.globalFilterValue = '';
|
|
105
|
-
/**
|
|
106
|
-
* The mode of the global filter (default SIMPLE)
|
|
107
|
-
*/
|
|
108
68
|
this.globalFilterMode = KupGlobalFilterMode.SIMPLE;
|
|
109
|
-
/**
|
|
110
|
-
* Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.
|
|
111
|
-
* It works only on cells of the main column.
|
|
112
|
-
* @default false;
|
|
113
|
-
*/
|
|
114
69
|
this.preventXScroll = false;
|
|
115
|
-
/**
|
|
116
|
-
* Sets the possibility to remove the selected column.
|
|
117
|
-
*/
|
|
118
70
|
this.removableColumns = true;
|
|
119
|
-
/**
|
|
120
|
-
* When enabled displays Material's ripple effect on nodes (only when no columns are displayed).
|
|
121
|
-
* @default true
|
|
122
|
-
*/
|
|
123
71
|
this.ripple = true;
|
|
124
|
-
/**
|
|
125
|
-
* Activates the scroll on hover function.
|
|
126
|
-
*/
|
|
127
72
|
this.scrollOnHover = false;
|
|
128
|
-
/**
|
|
129
|
-
* Shows the tree data as a table.
|
|
130
|
-
*/
|
|
131
73
|
this.showColumns = false;
|
|
132
|
-
/**
|
|
133
|
-
* When set to true enables the column filters.
|
|
134
|
-
*/
|
|
135
74
|
this.showFilters = true;
|
|
136
|
-
/**
|
|
137
|
-
* When set to true shows the footer.
|
|
138
|
-
*/
|
|
139
75
|
this.showFooter = false;
|
|
140
|
-
/**
|
|
141
|
-
* Flag: shows the header of the tree when the tree is displayed as a table.
|
|
142
|
-
* @see showColumns
|
|
143
|
-
*/
|
|
144
76
|
this.showHeader = false;
|
|
145
|
-
/**
|
|
146
|
-
* Shows the icons of the nodes.
|
|
147
|
-
*/
|
|
148
77
|
this.showIcons = true;
|
|
149
78
|
this.stateId = '';
|
|
150
|
-
|
|
151
|
-
* When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the
|
|
152
|
-
* tree have been passed inside the data property.
|
|
153
|
-
*
|
|
154
|
-
* Therefore, when expanding a node, the tree must emit an event (or run a given callback)
|
|
155
|
-
* and wait for the child nodes to be downloaded from the server.
|
|
156
|
-
*
|
|
157
|
-
* For more information:
|
|
158
|
-
* @see dynamicExpansionCallback
|
|
159
|
-
*/
|
|
79
|
+
this.store = undefined;
|
|
160
80
|
this.useDynamicExpansion = false;
|
|
161
|
-
|
|
162
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
163
|
-
/*-------------------------------------------------*/
|
|
164
|
-
/**
|
|
165
|
-
* Instance of the KupManager class.
|
|
166
|
-
*/
|
|
167
|
-
this.kupManager = kupManagerInstance();
|
|
168
|
-
/**
|
|
169
|
-
* Reference to the column menu card.
|
|
170
|
-
*/
|
|
171
|
-
this.columnMenuCard = null;
|
|
172
|
-
this.selectedColumn = '';
|
|
173
|
-
this.clickTimeout = [];
|
|
174
|
-
this.sizedColumns = undefined;
|
|
175
|
-
this.filtersColumnMenuInstance = new FiltersColumnMenu();
|
|
176
|
-
this.filtersTreeItemsInstance = new FiltersTreeItems();
|
|
177
|
-
this.totalMenuCoords = null;
|
|
178
|
-
this.contentRefs = [];
|
|
179
|
-
this.oldWidth = null;
|
|
180
|
-
this.hold = false;
|
|
181
|
-
this.interactableTouch = [];
|
|
182
|
-
this.clickCb = null;
|
|
81
|
+
this.totals = undefined;
|
|
183
82
|
}
|
|
184
83
|
initWithPersistedState() {
|
|
185
84
|
if (this.store && this.stateId) {
|
|
@@ -256,7 +155,7 @@ export class KupTree {
|
|
|
256
155
|
id: this.rootElement.id,
|
|
257
156
|
treeNodePath: this.selectedNode,
|
|
258
157
|
treeNode: this.getTreeNode(this.selectedNode),
|
|
259
|
-
columnName:
|
|
158
|
+
columnName: null,
|
|
260
159
|
});
|
|
261
160
|
}
|
|
262
161
|
}
|
|
@@ -674,6 +573,12 @@ export class KupTree {
|
|
|
674
573
|
KupTreeExpansionMode.DROPDOWN ||
|
|
675
574
|
(this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE &&
|
|
676
575
|
!treeNodeData.expandable)) {
|
|
576
|
+
const td = e
|
|
577
|
+
? this.getEventPath(e.target).find((el) => {
|
|
578
|
+
if (el.tagName === 'TD')
|
|
579
|
+
return el;
|
|
580
|
+
})
|
|
581
|
+
: null;
|
|
677
582
|
// If this TreeNode is not disabled, then it can be selected and an event is emitted
|
|
678
583
|
if (treeNodeData && !treeNodeData.disabled) {
|
|
679
584
|
this.selectedNode = treeNodePath
|
|
@@ -684,10 +589,9 @@ export class KupTree {
|
|
|
684
589
|
id: this.rootElement.id,
|
|
685
590
|
treeNodePath: this.selectedNode,
|
|
686
591
|
treeNode: treeNodeData,
|
|
687
|
-
columnName:
|
|
592
|
+
columnName: td ? td.dataset.column : null,
|
|
688
593
|
});
|
|
689
594
|
}
|
|
690
|
-
this.selectedColumn = '';
|
|
691
595
|
}
|
|
692
596
|
// If KupTreeExpansionMode.NODE then click is a collapse/expand click
|
|
693
597
|
if (this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE) {
|
|
@@ -1038,8 +942,14 @@ export class KupTree {
|
|
|
1038
942
|
}
|
|
1039
943
|
// When can be expanded OR selected
|
|
1040
944
|
if (!treeNodeData.disabled) {
|
|
1041
|
-
treeNodeOptions['onClick'] = () => {
|
|
1042
|
-
|
|
945
|
+
treeNodeOptions['onClick'] = (e) => {
|
|
946
|
+
// Note: event must be cloned
|
|
947
|
+
// otherwise inside setTimeout will be exiting the Shadow DOM scope(causing loss of information, including target).
|
|
948
|
+
const clone = {};
|
|
949
|
+
for (const key in e) {
|
|
950
|
+
clone[key] = e[key];
|
|
951
|
+
}
|
|
952
|
+
this.clickTimeout.push(setTimeout(() => this.hdlTreeNodeClick(clone, treeNodeData, treeNodePath), 300));
|
|
1043
953
|
};
|
|
1044
954
|
}
|
|
1045
955
|
// When a tree node is displayed as a table
|
|
@@ -25,7 +25,7 @@ export const FCell = (props, children) => {
|
|
|
25
25
|
? column.shape
|
|
26
26
|
: null;
|
|
27
27
|
const hasObj = !dom.ketchup.objects.isEmptyKupObj(cell.obj);
|
|
28
|
-
const isEditable = cell.isEditable && props.editable ? true : false;
|
|
28
|
+
const isEditable = (cell.isEditable || column.isEditable) && props.editable ? true : false;
|
|
29
29
|
const valueToDisplay = props.previousValue !== cell.value ? cell.value : '';
|
|
30
30
|
const cellType = dom.ketchup.data.cell.getType(cell, shape);
|
|
31
31
|
const subcomponentProps = Object.assign({}, cell.data);
|
|
@@ -9,10 +9,13 @@ const dom = document.documentElement;
|
|
|
9
9
|
* @returns {Column[]} Columns matching the criteria.
|
|
10
10
|
*/
|
|
11
11
|
export function findColumns(dataset, filters) {
|
|
12
|
+
const result = [];
|
|
13
|
+
if (!dataset) {
|
|
14
|
+
return result;
|
|
15
|
+
}
|
|
12
16
|
const columns = dataset.columns
|
|
13
17
|
? dataset.columns
|
|
14
18
|
: dataset;
|
|
15
|
-
const result = [];
|
|
16
19
|
for (let index = 0; index < columns.length; index++) {
|
|
17
20
|
const column = columns[index];
|
|
18
21
|
for (const key in filters) {
|
|
@@ -91,10 +91,14 @@ export var KupLanguageFontsize;
|
|
|
91
91
|
*/
|
|
92
92
|
export var KupLanguageGeneric;
|
|
93
93
|
(function (KupLanguageGeneric) {
|
|
94
|
+
KupLanguageGeneric["ABORT"] = "genericAbort";
|
|
94
95
|
KupLanguageGeneric["ADD_NEW"] = "genericAddNew";
|
|
95
96
|
KupLanguageGeneric["APPLY"] = "genericApply";
|
|
96
97
|
KupLanguageGeneric["BACK"] = "genericBack";
|
|
97
98
|
KupLanguageGeneric["COLLAPSE"] = "genericCollapse";
|
|
99
|
+
KupLanguageGeneric["CONFIRM"] = "genericConfirm";
|
|
100
|
+
KupLanguageGeneric["CONFIRM_DELETE"] = "genericConfirmDelete";
|
|
101
|
+
KupLanguageGeneric["CONFIRM_DELETE_X_ROWS"] = "genericConfirmDeleteXRows";
|
|
98
102
|
KupLanguageGeneric["DAY"] = "genericDay";
|
|
99
103
|
KupLanguageGeneric["DRAG_AND_DROP"] = "genericDragAndDrop";
|
|
100
104
|
KupLanguageGeneric["DROP_YOUR_DATA"] = "genericDropYourData";
|
|
@@ -115,6 +119,7 @@ export var KupLanguageGeneric;
|
|
|
115
119
|
KupLanguageGeneric["MONTH"] = "genericMonth";
|
|
116
120
|
KupLanguageGeneric["MOVE"] = "genericMove";
|
|
117
121
|
KupLanguageGeneric["NEXT"] = "genericNext";
|
|
122
|
+
KupLanguageGeneric["NO"] = "genericNo";
|
|
118
123
|
KupLanguageGeneric["OPEN_NAVIGATION_MENU"] = "genericOpenNavigationMenu";
|
|
119
124
|
KupLanguageGeneric["OPEN_IN_NEW_TAB"] = "genericOpenInNewTab";
|
|
120
125
|
KupLanguageGeneric["OPEN_IN_NEW_WINDOW"] = "genericOpenInNewWindow";
|
|
@@ -133,6 +138,7 @@ export var KupLanguageGeneric;
|
|
|
133
138
|
KupLanguageGeneric["TRANSPOSE_DATA"] = "genericTransposeData";
|
|
134
139
|
KupLanguageGeneric["VIEW_AS"] = "genericViewAs";
|
|
135
140
|
KupLanguageGeneric["WEEK"] = "genericWeek";
|
|
141
|
+
KupLanguageGeneric["YES"] = "genericYes";
|
|
136
142
|
})(KupLanguageGeneric || (KupLanguageGeneric = {}));
|
|
137
143
|
/**
|
|
138
144
|
* Grid decodes (data table customization settings).
|
|
@@ -205,7 +205,7 @@ export class KupColumnMenu {
|
|
|
205
205
|
*/
|
|
206
206
|
prepChip(comp, column) {
|
|
207
207
|
let props = [];
|
|
208
|
-
const chipProps = {};
|
|
208
|
+
const chipProps = { data: [] };
|
|
209
209
|
if (column.children) {
|
|
210
210
|
const chipData = [];
|
|
211
211
|
for (let index = 0; index < column.children.length; index++) {
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/* ketchup custom elements */
|
|
2
|
+
export { KupAccordion as KupAccordion } from '../types/components/kup-accordion/kup-accordion';
|
|
3
|
+
export { KupAutocomplete as KupAutocomplete } from '../types/components/kup-autocomplete/kup-autocomplete';
|
|
4
|
+
export { KupBadge as KupBadge } from '../types/components/kup-badge/kup-badge';
|
|
5
|
+
export { KupBox as KupBox } from '../types/components/kup-box/kup-box';
|
|
6
|
+
export { KupButton as KupButton } from '../types/components/kup-button/kup-button';
|
|
7
|
+
export { KupButtonList as KupButtonList } from '../types/components/kup-button-list/kup-button-list';
|
|
8
|
+
export { KupCalendar as KupCalendar } from '../types/components/kup-calendar/kup-calendar';
|
|
9
|
+
export { KupCard as KupCard } from '../types/components/kup-card/kup-card';
|
|
10
|
+
export { KupCell as KupCell } from '../types/components/kup-cell/kup-cell';
|
|
11
|
+
export { KupChart as KupChart } from '../types/components/kup-chart/kup-chart';
|
|
12
|
+
export { KupCheckbox as KupCheckbox } from '../types/components/kup-checkbox/kup-checkbox';
|
|
13
|
+
export { KupChip as KupChip } from '../types/components/kup-chip/kup-chip';
|
|
14
|
+
export { KupColorPicker as KupColorPicker } from '../types/components/kup-color-picker/kup-color-picker';
|
|
15
|
+
export { KupCombobox as KupCombobox } from '../types/components/kup-combobox/kup-combobox';
|
|
16
|
+
export { KupDash as KupDash } from '../types/components/kup-dash/kup-dash';
|
|
17
|
+
export { KupDashList as KupDashList } from '../types/components/kup-dash-list/kup-dash-list';
|
|
18
|
+
export { KupDashboard as KupDashboard } from '../types/components/kup-dashboard/kup-dashboard';
|
|
19
|
+
export { KupDataTable as KupDataTable } from '../types/components/kup-data-table/kup-data-table';
|
|
20
|
+
export { KupDatePicker as KupDatePicker } from '../types/components/kup-date-picker/kup-date-picker';
|
|
21
|
+
export { KupDrawer as KupDrawer } from '../types/components/kup-drawer/kup-drawer';
|
|
22
|
+
export { KupDropdownButton as KupDropdownButton } from '../types/components/kup-dropdown-button/kup-dropdown-button';
|
|
23
|
+
export { KupEchart as KupEchart } from '../types/components/kup-echart/kup-echart';
|
|
24
|
+
export { KupFamilyTree as KupFamilyTree } from '../types/components/kup-family-tree/kup-family-tree';
|
|
25
|
+
export { KupForm as KupForm } from '../types/components/kup-form/kup-form';
|
|
26
|
+
export { KupGauge as KupGauge } from '../types/components/kup-gauge/kup-gauge';
|
|
27
|
+
export { KupGrid as KupGrid } from '../types/components/kup-grid/kup-grid';
|
|
28
|
+
export { KupIframe as KupIframe } from '../types/components/kup-iframe/kup-iframe';
|
|
29
|
+
export { KupImage as KupImage } from '../types/components/kup-image/kup-image';
|
|
30
|
+
export { KupImageList as KupImageList } from '../types/components/kup-image-list/kup-image-list';
|
|
31
|
+
export { KupLazy as KupLazy } from '../types/components/kup-lazy/kup-lazy';
|
|
32
|
+
export { KupList as KupList } from '../types/components/kup-list/kup-list';
|
|
33
|
+
export { KupMagicBox as KupMagicBox } from '../types/components/kup-magic-box/kup-magic-box';
|
|
34
|
+
export { KupNavBar as KupNavBar } from '../types/components/kup-nav-bar/kup-nav-bar';
|
|
35
|
+
export { KupNumericPicker as KupNumericPicker } from '../types/components/kup-numeric-picker/kup-numeric-picker';
|
|
36
|
+
export { KupPhotoFrame as KupPhotoFrame } from '../types/components/kup-photo-frame/kup-photo-frame';
|
|
37
|
+
export { KupProbe as KupProbe } from '../types/components/kup-probe/kup-probe';
|
|
38
|
+
export { KupProgressBar as KupProgressBar } from '../types/components/kup-progress-bar/kup-progress-bar';
|
|
39
|
+
export { KupQlik as KupQlik } from '../types/components/kup-qlik/kup-qlik';
|
|
40
|
+
export { KupRadio as KupRadio } from '../types/components/kup-radio/kup-radio';
|
|
41
|
+
export { KupRating as KupRating } from '../types/components/kup-rating/kup-rating';
|
|
42
|
+
export { KupSnackbar as KupSnackbar } from '../types/components/kup-snackbar/kup-snackbar';
|
|
43
|
+
export { KupSpinner as KupSpinner } from '../types/components/kup-spinner/kup-spinner';
|
|
44
|
+
export { KupSwitch as KupSwitch } from '../types/components/kup-switch/kup-switch';
|
|
45
|
+
export { KupTabBar as KupTabBar } from '../types/components/kup-tab-bar/kup-tab-bar';
|
|
46
|
+
export { KupTextField as KupTextField } from '../types/components/kup-text-field/kup-text-field';
|
|
47
|
+
export { KupTimePicker as KupTimePicker } from '../types/components/kup-time-picker/kup-time-picker';
|
|
48
|
+
export { KupTree as KupTree } from '../types/components/kup-tree/kup-tree';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Used to manually set the base path where assets can be found.
|
|
52
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
|
53
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
|
54
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
|
55
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
|
56
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
|
57
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
|
58
|
+
* will have to ensure the static assets are copied to its build directory.
|
|
59
|
+
*/
|
|
60
|
+
export declare const setAssetPath: (path: string) => void;
|
|
61
|
+
|
|
62
|
+
export interface SetPlatformOptions {
|
|
63
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
64
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
65
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
66
|
+
}
|
|
67
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
|
68
|
+
export * from '../types/components';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
|
+
export { KupAccordion, defineCustomElement as defineCustomElementKupAccordion } from './kup-accordion.js';
|
|
3
|
+
export { KupAutocomplete, defineCustomElement as defineCustomElementKupAutocomplete } from './kup-autocomplete.js';
|
|
4
|
+
export { KupBadge, defineCustomElement as defineCustomElementKupBadge } from './kup-badge.js';
|
|
5
|
+
export { KupBox, defineCustomElement as defineCustomElementKupBox } from './kup-box.js';
|
|
6
|
+
export { KupButton, defineCustomElement as defineCustomElementKupButton } from './kup-button.js';
|
|
7
|
+
export { KupButtonList, defineCustomElement as defineCustomElementKupButtonList } from './kup-button-list.js';
|
|
8
|
+
export { KupCalendar, defineCustomElement as defineCustomElementKupCalendar } from './kup-calendar.js';
|
|
9
|
+
export { KupCard, defineCustomElement as defineCustomElementKupCard } from './kup-card.js';
|
|
10
|
+
export { KupCell, defineCustomElement as defineCustomElementKupCell } from './kup-cell.js';
|
|
11
|
+
export { KupChart, defineCustomElement as defineCustomElementKupChart } from './kup-chart.js';
|
|
12
|
+
export { KupCheckbox, defineCustomElement as defineCustomElementKupCheckbox } from './kup-checkbox.js';
|
|
13
|
+
export { KupChip, defineCustomElement as defineCustomElementKupChip } from './kup-chip.js';
|
|
14
|
+
export { KupColorPicker, defineCustomElement as defineCustomElementKupColorPicker } from './kup-color-picker.js';
|
|
15
|
+
export { KupCombobox, defineCustomElement as defineCustomElementKupCombobox } from './kup-combobox.js';
|
|
16
|
+
export { KupDash, defineCustomElement as defineCustomElementKupDash } from './kup-dash.js';
|
|
17
|
+
export { KupDashList, defineCustomElement as defineCustomElementKupDashList } from './kup-dash-list.js';
|
|
18
|
+
export { KupDashboard, defineCustomElement as defineCustomElementKupDashboard } from './kup-dashboard.js';
|
|
19
|
+
export { KupDataTable, defineCustomElement as defineCustomElementKupDataTable } from './kup-data-table.js';
|
|
20
|
+
export { KupDatePicker, defineCustomElement as defineCustomElementKupDatePicker } from './kup-date-picker.js';
|
|
21
|
+
export { KupDrawer, defineCustomElement as defineCustomElementKupDrawer } from './kup-drawer.js';
|
|
22
|
+
export { KupDropdownButton, defineCustomElement as defineCustomElementKupDropdownButton } from './kup-dropdown-button.js';
|
|
23
|
+
export { KupEchart, defineCustomElement as defineCustomElementKupEchart } from './kup-echart.js';
|
|
24
|
+
export { KupFamilyTree, defineCustomElement as defineCustomElementKupFamilyTree } from './kup-family-tree.js';
|
|
25
|
+
export { KupForm, defineCustomElement as defineCustomElementKupForm } from './kup-form.js';
|
|
26
|
+
export { KupGauge, defineCustomElement as defineCustomElementKupGauge } from './kup-gauge.js';
|
|
27
|
+
export { KupGrid, defineCustomElement as defineCustomElementKupGrid } from './kup-grid.js';
|
|
28
|
+
export { KupIframe, defineCustomElement as defineCustomElementKupIframe } from './kup-iframe.js';
|
|
29
|
+
export { KupImage, defineCustomElement as defineCustomElementKupImage } from './kup-image.js';
|
|
30
|
+
export { KupImageList, defineCustomElement as defineCustomElementKupImageList } from './kup-image-list.js';
|
|
31
|
+
export { KupLazy, defineCustomElement as defineCustomElementKupLazy } from './kup-lazy.js';
|
|
32
|
+
export { KupList, defineCustomElement as defineCustomElementKupList } from './kup-list.js';
|
|
33
|
+
export { KupMagicBox, defineCustomElement as defineCustomElementKupMagicBox } from './kup-magic-box.js';
|
|
34
|
+
export { KupNavBar, defineCustomElement as defineCustomElementKupNavBar } from './kup-nav-bar.js';
|
|
35
|
+
export { KupNumericPicker, defineCustomElement as defineCustomElementKupNumericPicker } from './kup-numeric-picker.js';
|
|
36
|
+
export { KupPhotoFrame, defineCustomElement as defineCustomElementKupPhotoFrame } from './kup-photo-frame.js';
|
|
37
|
+
export { KupProbe, defineCustomElement as defineCustomElementKupProbe } from './kup-probe.js';
|
|
38
|
+
export { KupProgressBar, defineCustomElement as defineCustomElementKupProgressBar } from './kup-progress-bar.js';
|
|
39
|
+
export { KupQlik, defineCustomElement as defineCustomElementKupQlik } from './kup-qlik.js';
|
|
40
|
+
export { KupRadio, defineCustomElement as defineCustomElementKupRadio } from './kup-radio.js';
|
|
41
|
+
export { KupRating, defineCustomElement as defineCustomElementKupRating } from './kup-rating.js';
|
|
42
|
+
export { KupSnackbar, defineCustomElement as defineCustomElementKupSnackbar } from './kup-snackbar.js';
|
|
43
|
+
export { KupSpinner, defineCustomElement as defineCustomElementKupSpinner } from './kup-spinner.js';
|
|
44
|
+
export { KupSwitch, defineCustomElement as defineCustomElementKupSwitch } from './kup-switch.js';
|
|
45
|
+
export { KupTabBar, defineCustomElement as defineCustomElementKupTabBar } from './kup-tab-bar.js';
|
|
46
|
+
export { KupTextField, defineCustomElement as defineCustomElementKupTextField } from './kup-text-field.js';
|
|
47
|
+
export { KupTimePicker, defineCustomElement as defineCustomElementKupTimePicker } from './kup-time-picker.js';
|
|
48
|
+
export { KupTree, defineCustomElement as defineCustomElementKupTree } from './kup-tree.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface KupAccordion extends Components.KupAccordion, HTMLElement {}
|
|
4
|
+
export const KupAccordion: {
|
|
5
|
+
prototype: KupAccordion;
|
|
6
|
+
new (): KupAccordion;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|