@sme.up/ketchup 6.6.0 → 6.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/cjs/{f-button-a531feb2.js → f-button-229c63fd.js} +2 -2
- package/dist/cjs/{f-cell-75cb7933.js → f-cell-dd006395.js} +22 -22
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-9508a2e4.js → f-chip-f2c369fd.js} +3 -3
- package/dist/cjs/{f-image-c21cc616.js → f-image-847a6ddf.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2b72d7e8.js → f-paginator-utils-cedc4b3e.js} +3 -3
- package/dist/cjs/{f-text-field-a5b2bd0e.js → f-text-field-fe85187d.js} +2 -2
- package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -30
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3925 -4288
- package/dist/cjs/kup-box.cjs.entry.js +33 -113
- package/dist/cjs/kup-calendar.cjs.entry.js +10 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -29
- package/dist/cjs/kup-dash-list.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash_2.cjs.entry.js +7 -35
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -32
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -19
- package/dist/cjs/kup-echart.cjs.entry.js +16 -77
- package/dist/cjs/kup-family-tree.cjs.entry.js +12 -48
- package/dist/cjs/kup-iframe.cjs.entry.js +5 -17
- package/dist/cjs/kup-image-list.cjs.entry.js +16 -34
- package/dist/cjs/kup-lazy.cjs.entry.js +10 -37
- package/dist/cjs/kup-magic-box.cjs.entry.js +6 -25
- package/dist/cjs/{kup-manager-8e67afec.js → kup-manager-c53468cd.js} +82 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -16
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +14 -57
- package/dist/cjs/kup-photo-frame.cjs.entry.js +9 -31
- package/dist/cjs/kup-probe.cjs.entry.js +13 -33
- package/dist/cjs/kup-qlik.cjs.entry.js +6 -60
- package/dist/cjs/kup-snackbar.cjs.entry.js +7 -38
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/box.js +9 -6
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/kup-accordion/kup-accordion.js +243 -261
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +560 -594
- package/dist/collection/components/kup-badge/kup-badge.js +179 -189
- package/dist/collection/components/kup-box/kup-box.js +911 -1010
- package/dist/collection/components/kup-button/kup-button.js +382 -428
- package/dist/collection/components/kup-button-list/kup-button-list.js +254 -278
- package/dist/collection/components/kup-calendar/kup-calendar.js +306 -329
- package/dist/collection/components/kup-card/box/kup-card-box.js +10 -24
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
- package/dist/collection/components/kup-card/kup-card.css +118 -12
- package/dist/collection/components/kup-card/kup-card.js +394 -385
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +98 -278
- package/dist/collection/components/kup-cell/kup-cell.js +224 -238
- package/dist/collection/components/kup-chart/kup-chart.js +562 -586
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +278 -304
- package/dist/collection/components/kup-chip/kup-chip.js +243 -250
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +278 -299
- package/dist/collection/components/kup-combobox/kup-combobox.js +467 -482
- package/dist/collection/components/kup-dash/kup-dash.js +112 -172
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +218 -220
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +200 -229
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +4700 -4452
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +415 -429
- package/dist/collection/components/kup-drawer/kup-drawer.js +246 -253
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +486 -527
- package/dist/collection/components/kup-echart/kup-echart.js +450 -498
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +416 -465
- package/dist/collection/components/kup-form/kup-form.js +226 -248
- package/dist/collection/components/kup-gauge/kup-gauge.js +460 -521
- package/dist/collection/components/kup-grid/kup-grid.js +159 -172
- package/dist/collection/components/kup-iframe/kup-iframe.js +184 -188
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +305 -340
- package/dist/collection/components/kup-image-list/kup-image-list.js +300 -311
- package/dist/collection/components/kup-lazy/kup-lazy.js +261 -288
- package/dist/collection/components/kup-list/kup-list.js +546 -572
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +148 -167
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +192 -198
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +501 -532
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +261 -271
- package/dist/collection/components/kup-probe/kup-probe.js +98 -114
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +240 -276
- package/dist/collection/components/kup-qlik/kup-qlik.js +182 -228
- package/dist/collection/components/kup-radio/kup-radio.js +261 -289
- package/dist/collection/components/kup-rating/kup-rating.js +212 -224
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +252 -280
- package/dist/collection/components/kup-spinner/kup-spinner.js +277 -308
- package/dist/collection/components/kup-switch/kup-switch.js +258 -280
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +268 -247
- package/dist/collection/components/kup-text-field/kup-text-field.js +816 -920
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +472 -493
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1107 -1205
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +20 -22
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
- package/dist/collection/f-components/f-chip/f-chip.js +18 -31
- package/dist/collection/f-components/f-image/f-image.js +1 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
- package/dist/collection/f-components/f-switch/f-switch.js +1 -8
- package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
- package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +10 -5
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +10 -5
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +0 -21
- package/dist/esm/{f-button-15719ec1.js → f-button-d1aba968.js} +2 -2
- package/dist/esm/{f-cell-692c37bf.js → f-cell-646406bb.js} +22 -22
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-abab04bf.js → f-chip-d94e9e81.js} +3 -3
- package/dist/esm/{f-image-98783644.js → f-image-57c88302.js} +2 -2
- package/dist/esm/{f-paginator-utils-d12ee737.js → f-paginator-utils-2c865e9a.js} +3 -3
- package/dist/esm/{f-text-field-282025dd.js → f-text-field-b0a1fea6.js} +2 -2
- package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +7 -30
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3925 -4289
- package/dist/esm/kup-box.entry.js +33 -113
- package/dist/esm/kup-calendar.entry.js +10 -34
- package/dist/esm/kup-cell.entry.js +10 -29
- package/dist/esm/kup-dash-list.entry.js +10 -9
- package/dist/esm/kup-dash_2.entry.js +7 -35
- package/dist/esm/kup-dashboard.entry.js +10 -32
- package/dist/esm/kup-drawer.entry.js +4 -19
- package/dist/esm/kup-echart.entry.js +16 -77
- package/dist/esm/kup-family-tree.entry.js +12 -48
- package/dist/esm/kup-iframe.entry.js +5 -17
- package/dist/esm/kup-image-list.entry.js +16 -34
- package/dist/esm/kup-lazy.entry.js +10 -37
- package/dist/esm/kup-magic-box.entry.js +6 -25
- package/dist/esm/{kup-manager-abbae73e.js → kup-manager-c0fbb180.js} +83 -8
- package/dist/esm/kup-nav-bar.entry.js +4 -16
- package/dist/esm/kup-numeric-picker.entry.js +14 -57
- package/dist/esm/kup-photo-frame.entry.js +9 -31
- package/dist/esm/kup-probe.entry.js +13 -33
- package/dist/esm/kup-qlik.entry.js +6 -60
- package/dist/esm/kup-snackbar.entry.js +7 -38
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-eeadd688.entry.js → p-1914969e.entry.js} +1 -1
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-a4a30e0e.entry.js → p-250118e3.entry.js} +1 -1
- package/dist/ketchup/{p-ccef2553.entry.js → p-30766296.entry.js} +1 -1
- package/dist/ketchup/{p-5933aa02.entry.js → p-351cecba.entry.js} +1 -1
- package/dist/ketchup/p-35e16ea2.entry.js +1 -0
- package/dist/ketchup/{p-e6ebdb80.js → p-395675b8.js} +1 -1
- package/dist/ketchup/p-3cf97e3a.js +1 -0
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-9419919c.entry.js → p-596bdc10.entry.js} +1 -1
- package/dist/ketchup/{p-6f3040fb.js → p-61ff1761.js} +1 -1
- package/dist/ketchup/p-72d4fa26.entry.js +1 -0
- package/dist/ketchup/{p-fd930a34.entry.js → p-738685f9.entry.js} +1 -1
- package/dist/ketchup/{p-f6409c42.entry.js → p-7c8c5444.entry.js} +1 -1
- package/dist/ketchup/p-86154e2b.js +1 -0
- package/dist/ketchup/{p-7e16265d.entry.js → p-9214ef33.entry.js} +1 -1
- package/dist/ketchup/{p-62f3ec78.entry.js → p-980ed953.entry.js} +1 -1
- package/dist/ketchup/p-991bd70d.entry.js +1 -0
- package/dist/ketchup/{p-7d37ea62.entry.js → p-a1fe329f.entry.js} +1 -1
- package/dist/ketchup/p-a740352c.js +30 -0
- package/dist/ketchup/{p-62421bcf.js → p-a992cf87.js} +1 -1
- package/dist/ketchup/{p-3760a159.entry.js → p-b1da1ba7.entry.js} +2 -2
- package/dist/ketchup/{p-5ea2a1ff.entry.js → p-cee3635a.entry.js} +1 -1
- package/dist/ketchup/p-d05ed931.entry.js +9 -0
- package/dist/ketchup/{p-a450d60a.entry.js → p-d422151a.entry.js} +2 -2
- package/dist/ketchup/p-e6f19333.entry.js +1 -0
- package/dist/ketchup/{p-1ef5d16d.entry.js → p-eb10958a.entry.js} +1 -1
- package/dist/ketchup/{p-20221a50.js → p-ecac6269.js} +1 -1
- package/dist/ketchup/p-f43b445e.entry.js +1 -0
- package/dist/ketchup/{p-725c6268.entry.js → p-fa37e92e.entry.js} +1 -1
- package/dist/loader/package.json +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
- package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
- package/dist/types/components/kup-card/kup-card.d.ts +5 -0
- package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +54 -201
- package/dist/types/components/kup-list/kup-list.d.ts +5 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +78 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/package.json +2 -2
- package/CHANGELOG.md +0 -5
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1d2dea0a.entry.js +0 -1
- package/dist/ketchup/p-27538d6f.entry.js +0 -1
- package/dist/ketchup/p-29d72040.entry.js +0 -1
- package/dist/ketchup/p-3e74e1ed.js +0 -1
- package/dist/ketchup/p-680a8cb4.entry.js +0 -9
- package/dist/ketchup/p-6946b614.entry.js +0 -1
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-c05f2638.js +0 -30
- package/dist/ketchup/p-d7a92197.entry.js +0 -1
- package/dist/ketchup/p-d8af7ba6.entry.js +0 -1
- package/dist/ketchup/p-e07a10fb.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { forceUpdate, getAssetPath, h, Host, } from '@stencil/core';
|
|
2
2
|
import { TotalLabel, TotalMode, } from './../kup-data-table/kup-data-table-declarations';
|
|
3
3
|
import { KupTreeProps, treeMainColumnName, KupTreeExpansionMode, } from './kup-tree-declarations';
|
|
4
4
|
import { MDCRipple } from '@material/ripple';
|
|
@@ -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) {
|
|
@@ -882,8 +786,7 @@ export class KupTree {
|
|
|
882
786
|
icon.indexOf('/') > -1 ||
|
|
883
787
|
icon.indexOf('\\') > -1) {
|
|
884
788
|
CSSClass += ' is-image';
|
|
885
|
-
return (h("span", { class: CSSClass },
|
|
886
|
-
h("img", { src: icon })));
|
|
789
|
+
return (h("span", { class: CSSClass }, h("img", { src: icon })));
|
|
887
790
|
}
|
|
888
791
|
else {
|
|
889
792
|
let svg = `url('${getAssetPath(`./assets/svg/${icon}.svg`)}') no-repeat center`;
|
|
@@ -939,9 +842,7 @@ export class KupTree {
|
|
|
939
842
|
this.onRemoveFilter(column);
|
|
940
843
|
} }));
|
|
941
844
|
}
|
|
942
|
-
return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) },
|
|
943
|
-
h("span", { class: "column-title" }, column.title),
|
|
944
|
-
filter));
|
|
845
|
+
return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) }, h("span", { class: "column-title" }, column.title), filter));
|
|
945
846
|
});
|
|
946
847
|
}
|
|
947
848
|
/**
|
|
@@ -1041,8 +942,14 @@ export class KupTree {
|
|
|
1041
942
|
}
|
|
1042
943
|
// When can be expanded OR selected
|
|
1043
944
|
if (!treeNodeData.disabled) {
|
|
1044
|
-
treeNodeOptions['onClick'] = () => {
|
|
1045
|
-
|
|
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));
|
|
1046
953
|
};
|
|
1047
954
|
}
|
|
1048
955
|
// When a tree node is displayed as a table
|
|
@@ -1067,8 +974,7 @@ export class KupTree {
|
|
|
1067
974
|
row: treeNodeData,
|
|
1068
975
|
setSizes: true,
|
|
1069
976
|
};
|
|
1070
|
-
treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name },
|
|
1071
|
-
h(FCell, Object.assign({}, cellProps))));
|
|
977
|
+
treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name }, h(FCell, Object.assign({}, cellProps))));
|
|
1072
978
|
}
|
|
1073
979
|
else {
|
|
1074
980
|
treeNodeCells.push(h("td", { class: `grid-cell` }));
|
|
@@ -1119,9 +1025,7 @@ export class KupTree {
|
|
|
1119
1025
|
'kup-tree__node--selected': !treeNodeData.disabled &&
|
|
1120
1026
|
treeNodePath ===
|
|
1121
1027
|
this.selectedNodeToString(this.selectedNode),
|
|
1122
|
-
}, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions),
|
|
1123
|
-
treeNodeCell,
|
|
1124
|
-
treeNodeCells));
|
|
1028
|
+
}, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions), treeNodeCell, treeNodeCells));
|
|
1125
1029
|
}
|
|
1126
1030
|
closeTotalMenu() {
|
|
1127
1031
|
this.openedTotalMenu = null;
|
|
@@ -1242,14 +1146,9 @@ export class KupTree {
|
|
|
1242
1146
|
else {
|
|
1243
1147
|
value = numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
|
|
1244
1148
|
}
|
|
1245
|
-
return (h("td", { "data-column": column.name },
|
|
1246
|
-
totalMenu,
|
|
1247
|
-
h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
1149
|
+
return (h("td", { "data-column": column.name }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
1248
1150
|
});
|
|
1249
|
-
return (h("tfoot", null,
|
|
1250
|
-
h("tr", null,
|
|
1251
|
-
nodesCell,
|
|
1252
|
-
footerCells)));
|
|
1151
|
+
return (h("tfoot", null, h("tr", null, nodesCell, footerCells)));
|
|
1253
1152
|
}
|
|
1254
1153
|
didLoadInteractables() {
|
|
1255
1154
|
this.interactableTouch.push(this.treeWrapperRef);
|
|
@@ -1423,8 +1322,7 @@ export class KupTree {
|
|
|
1423
1322
|
}
|
|
1424
1323
|
else {
|
|
1425
1324
|
// There are no TreeNodes, so we print a single cell with a caption
|
|
1426
|
-
treeNodes.push(h("tr", null,
|
|
1427
|
-
h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1325
|
+
treeNodes.push(h("tr", null, h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1428
1326
|
}
|
|
1429
1327
|
// Calculates if header must be shown or not
|
|
1430
1328
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
@@ -1433,30 +1331,20 @@ export class KupTree {
|
|
|
1433
1331
|
this.data &&
|
|
1434
1332
|
this.data.length &&
|
|
1435
1333
|
this.data.length > 0) {
|
|
1436
|
-
filterField = (h("div", { id: "global-filter" },
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
h("
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
} },
|
|
1451
|
-
h("thead", { class: {
|
|
1452
|
-
'header--is-visible': visibleHeader,
|
|
1453
|
-
} },
|
|
1454
|
-
h("tr", null, visibleHeader ? this.renderHeader() : null)),
|
|
1455
|
-
h("tbody", null, treeNodes),
|
|
1456
|
-
(this.showFooter || this.hasTotals()) &&
|
|
1457
|
-
this.columns
|
|
1458
|
-
? this.renderFooter()
|
|
1459
|
-
: null)))));
|
|
1334
|
+
filterField = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1335
|
+
window.clearTimeout(this.globalFilterTimeout);
|
|
1336
|
+
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1337
|
+
} })));
|
|
1338
|
+
}
|
|
1339
|
+
return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, class: wrapperClass }, filterField, h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
1340
|
+
el) }, h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
1341
|
+
e.preventDefault();
|
|
1342
|
+
} }, h("thead", { class: {
|
|
1343
|
+
'header--is-visible': visibleHeader,
|
|
1344
|
+
} }, h("tr", null, visibleHeader ? this.renderHeader() : null)), h("tbody", null, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
1345
|
+
this.columns
|
|
1346
|
+
? this.renderFooter()
|
|
1347
|
+
: null)))));
|
|
1460
1348
|
}
|
|
1461
1349
|
disconnectedCallback() {
|
|
1462
1350
|
this.kupManager.language.register(this);
|
|
@@ -1476,1103 +1364,1117 @@ export class KupTree {
|
|
|
1476
1364
|
}
|
|
1477
1365
|
static get is() { return "kup-tree"; }
|
|
1478
1366
|
static get encapsulation() { return "shadow"; }
|
|
1479
|
-
static get originalStyleUrls() {
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
"
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
"
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
"
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1367
|
+
static get originalStyleUrls() {
|
|
1368
|
+
return {
|
|
1369
|
+
"$": ["kup-tree.scss"]
|
|
1370
|
+
};
|
|
1371
|
+
}
|
|
1372
|
+
static get styleUrls() {
|
|
1373
|
+
return {
|
|
1374
|
+
"$": ["kup-tree.css"]
|
|
1375
|
+
};
|
|
1376
|
+
}
|
|
1377
|
+
static get properties() {
|
|
1378
|
+
return {
|
|
1379
|
+
"asAccordion": {
|
|
1380
|
+
"type": "boolean",
|
|
1381
|
+
"mutable": false,
|
|
1382
|
+
"complexType": {
|
|
1383
|
+
"original": "boolean",
|
|
1384
|
+
"resolved": "boolean",
|
|
1385
|
+
"references": {}
|
|
1386
|
+
},
|
|
1387
|
+
"required": false,
|
|
1388
|
+
"optional": false,
|
|
1389
|
+
"docs": {
|
|
1390
|
+
"tags": [{
|
|
1391
|
+
"name": "default",
|
|
1392
|
+
"text": "false"
|
|
1393
|
+
}],
|
|
1394
|
+
"text": "When enabled, the first level of depth will give an accordion look to nodes."
|
|
1395
|
+
},
|
|
1396
|
+
"attribute": "as-accordion",
|
|
1397
|
+
"reflect": true,
|
|
1398
|
+
"defaultValue": "false"
|
|
1399
|
+
},
|
|
1400
|
+
"columns": {
|
|
1401
|
+
"type": "unknown",
|
|
1402
|
+
"mutable": true,
|
|
1403
|
+
"complexType": {
|
|
1404
|
+
"original": "KupDataColumn[]",
|
|
1405
|
+
"resolved": "KupDataColumn[]",
|
|
1406
|
+
"references": {
|
|
1407
|
+
"KupDataColumn": {
|
|
1408
|
+
"location": "import",
|
|
1409
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
1410
|
+
}
|
|
1517
1411
|
}
|
|
1412
|
+
},
|
|
1413
|
+
"required": false,
|
|
1414
|
+
"optional": true,
|
|
1415
|
+
"docs": {
|
|
1416
|
+
"tags": [],
|
|
1417
|
+
"text": "The columns of the tree when tree visualization is active."
|
|
1518
1418
|
}
|
|
1519
1419
|
},
|
|
1520
|
-
"
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
"
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
"
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
"original": "KupTreeNode[]",
|
|
1556
|
-
"resolved": "KupTreeNode[]",
|
|
1557
|
-
"references": {
|
|
1558
|
-
"KupTreeNode": {
|
|
1559
|
-
"location": "import",
|
|
1560
|
-
"path": "./kup-tree-declarations"
|
|
1420
|
+
"customStyle": {
|
|
1421
|
+
"type": "string",
|
|
1422
|
+
"mutable": false,
|
|
1423
|
+
"complexType": {
|
|
1424
|
+
"original": "string",
|
|
1425
|
+
"resolved": "string",
|
|
1426
|
+
"references": {}
|
|
1427
|
+
},
|
|
1428
|
+
"required": false,
|
|
1429
|
+
"optional": false,
|
|
1430
|
+
"docs": {
|
|
1431
|
+
"tags": [{
|
|
1432
|
+
"name": "default",
|
|
1433
|
+
"text": "\"\""
|
|
1434
|
+
}, {
|
|
1435
|
+
"name": "see",
|
|
1436
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
1437
|
+
}],
|
|
1438
|
+
"text": "Custom style of the component."
|
|
1439
|
+
},
|
|
1440
|
+
"attribute": "custom-style",
|
|
1441
|
+
"reflect": false,
|
|
1442
|
+
"defaultValue": "''"
|
|
1443
|
+
},
|
|
1444
|
+
"data": {
|
|
1445
|
+
"type": "unknown",
|
|
1446
|
+
"mutable": true,
|
|
1447
|
+
"complexType": {
|
|
1448
|
+
"original": "KupTreeNode[]",
|
|
1449
|
+
"resolved": "KupTreeNode[]",
|
|
1450
|
+
"references": {
|
|
1451
|
+
"KupTreeNode": {
|
|
1452
|
+
"location": "import",
|
|
1453
|
+
"path": "./kup-tree-declarations"
|
|
1454
|
+
}
|
|
1561
1455
|
}
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1456
|
+
},
|
|
1457
|
+
"required": false,
|
|
1458
|
+
"optional": false,
|
|
1459
|
+
"docs": {
|
|
1460
|
+
"tags": [],
|
|
1461
|
+
"text": "The json data used to populate the tree view: the basic, always visible tree nodes."
|
|
1462
|
+
},
|
|
1463
|
+
"defaultValue": "[]"
|
|
1464
|
+
},
|
|
1465
|
+
"density": {
|
|
1466
|
+
"type": "string",
|
|
1467
|
+
"mutable": false,
|
|
1468
|
+
"complexType": {
|
|
1469
|
+
"original": "FCellPadding",
|
|
1470
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
1471
|
+
"references": {
|
|
1472
|
+
"FCellPadding": {
|
|
1473
|
+
"location": "import",
|
|
1474
|
+
"path": "../../f-components/f-cell/f-cell-declarations"
|
|
1475
|
+
}
|
|
1582
1476
|
}
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1477
|
+
},
|
|
1478
|
+
"required": false,
|
|
1479
|
+
"optional": false,
|
|
1480
|
+
"docs": {
|
|
1481
|
+
"tags": [],
|
|
1482
|
+
"text": "The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'."
|
|
1483
|
+
},
|
|
1484
|
+
"attribute": "density",
|
|
1485
|
+
"reflect": false,
|
|
1486
|
+
"defaultValue": "FCellPadding.MEDIUM"
|
|
1487
|
+
},
|
|
1488
|
+
"dynamicExpansionCallback": {
|
|
1489
|
+
"type": "unknown",
|
|
1490
|
+
"mutable": false,
|
|
1491
|
+
"complexType": {
|
|
1492
|
+
"original": "(\r\n treeNodeToExpand: KupTreeNode,\r\n treeNodePath: TreeNodePath\r\n ) => Promise<KupTreeNode[]> | undefined",
|
|
1493
|
+
"resolved": "(treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]>",
|
|
1494
|
+
"references": {
|
|
1495
|
+
"KupTreeNode": {
|
|
1496
|
+
"location": "import",
|
|
1497
|
+
"path": "./kup-tree-declarations"
|
|
1498
|
+
},
|
|
1499
|
+
"TreeNodePath": {
|
|
1500
|
+
"location": "import",
|
|
1501
|
+
"path": "./kup-tree-declarations"
|
|
1502
|
+
},
|
|
1503
|
+
"Promise": {
|
|
1504
|
+
"location": "global"
|
|
1505
|
+
}
|
|
1612
1506
|
}
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1507
|
+
},
|
|
1508
|
+
"required": false,
|
|
1509
|
+
"optional": false,
|
|
1510
|
+
"docs": {
|
|
1511
|
+
"tags": [{
|
|
1512
|
+
"name": "see",
|
|
1513
|
+
"text": "useDynamicExpansion"
|
|
1514
|
+
}],
|
|
1515
|
+
"text": "Function that gets invoked when a new set of nodes must be loaded as children of a node.\r\n\r\nWhen useDynamicExpansion is set, the tree component will have two different behaviors depending on the value of this prop.\r\n1 - If this prop is set to null, no callback to download data is available:\r\n the component will emit an event requiring the parent to load the children of the given node.\r\n2 - If this prop is set to have a callback, then the component will automatically make requests to load children of\r\n a given node. After the load has been completed, a different event will be fired to alert the parent of the change."
|
|
1516
|
+
},
|
|
1517
|
+
"defaultValue": "undefined"
|
|
1518
|
+
},
|
|
1519
|
+
"editableData": {
|
|
1520
|
+
"type": "boolean",
|
|
1521
|
+
"mutable": false,
|
|
1522
|
+
"complexType": {
|
|
1523
|
+
"original": "boolean",
|
|
1524
|
+
"resolved": "boolean",
|
|
1525
|
+
"references": {}
|
|
1526
|
+
},
|
|
1527
|
+
"required": false,
|
|
1528
|
+
"optional": false,
|
|
1529
|
+
"docs": {
|
|
1530
|
+
"tags": [{
|
|
1531
|
+
"name": "default",
|
|
1532
|
+
"text": "false"
|
|
1533
|
+
}],
|
|
1534
|
+
"text": "When set to true, editable cells will be rendered using input components."
|
|
1535
|
+
},
|
|
1536
|
+
"attribute": "editable-data",
|
|
1537
|
+
"reflect": false,
|
|
1538
|
+
"defaultValue": "false"
|
|
1539
|
+
},
|
|
1540
|
+
"enableExtraColumns": {
|
|
1541
|
+
"type": "boolean",
|
|
1542
|
+
"mutable": false,
|
|
1543
|
+
"complexType": {
|
|
1544
|
+
"original": "boolean",
|
|
1545
|
+
"resolved": "boolean",
|
|
1546
|
+
"references": {}
|
|
1547
|
+
},
|
|
1548
|
+
"required": false,
|
|
1549
|
+
"optional": false,
|
|
1550
|
+
"docs": {
|
|
1551
|
+
"tags": [],
|
|
1552
|
+
"text": "Enables the extracolumns add buttons."
|
|
1553
|
+
},
|
|
1554
|
+
"attribute": "enable-extra-columns",
|
|
1555
|
+
"reflect": false,
|
|
1556
|
+
"defaultValue": "true"
|
|
1557
|
+
},
|
|
1558
|
+
"expanded": {
|
|
1559
|
+
"type": "boolean",
|
|
1560
|
+
"mutable": false,
|
|
1561
|
+
"complexType": {
|
|
1562
|
+
"original": "boolean",
|
|
1563
|
+
"resolved": "boolean",
|
|
1564
|
+
"references": {}
|
|
1565
|
+
},
|
|
1566
|
+
"required": false,
|
|
1567
|
+
"optional": false,
|
|
1568
|
+
"docs": {
|
|
1569
|
+
"tags": [],
|
|
1570
|
+
"text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
|
|
1571
|
+
},
|
|
1572
|
+
"attribute": "expanded",
|
|
1573
|
+
"reflect": false,
|
|
1574
|
+
"defaultValue": "false"
|
|
1575
|
+
},
|
|
1576
|
+
"expansionMode": {
|
|
1577
|
+
"type": "string",
|
|
1578
|
+
"mutable": false,
|
|
1579
|
+
"complexType": {
|
|
1580
|
+
"original": "KupTreeExpansionMode",
|
|
1581
|
+
"resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
|
|
1582
|
+
"references": {
|
|
1583
|
+
"KupTreeExpansionMode": {
|
|
1584
|
+
"location": "import",
|
|
1585
|
+
"path": "./kup-tree-declarations"
|
|
1586
|
+
}
|
|
1693
1587
|
}
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1588
|
+
},
|
|
1589
|
+
"required": false,
|
|
1590
|
+
"optional": false,
|
|
1591
|
+
"docs": {
|
|
1592
|
+
"tags": [{
|
|
1593
|
+
"name": "default",
|
|
1594
|
+
"text": "KupTreeExpansionMode.DROPDOWN"
|
|
1595
|
+
}],
|
|
1596
|
+
"text": "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."
|
|
1597
|
+
},
|
|
1598
|
+
"attribute": "expansion-mode",
|
|
1599
|
+
"reflect": false,
|
|
1600
|
+
"defaultValue": "KupTreeExpansionMode.DROPDOWN"
|
|
1601
|
+
},
|
|
1602
|
+
"filters": {
|
|
1603
|
+
"type": "unknown",
|
|
1604
|
+
"mutable": true,
|
|
1605
|
+
"complexType": {
|
|
1606
|
+
"original": "GenericFilter",
|
|
1607
|
+
"resolved": "GenericFilter",
|
|
1608
|
+
"references": {
|
|
1609
|
+
"GenericFilter": {
|
|
1610
|
+
"location": "import",
|
|
1611
|
+
"path": "../../utils/filters/filters-declarations"
|
|
1612
|
+
}
|
|
1719
1613
|
}
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1614
|
+
},
|
|
1615
|
+
"required": false,
|
|
1616
|
+
"optional": false,
|
|
1617
|
+
"docs": {
|
|
1618
|
+
"tags": [],
|
|
1619
|
+
"text": "List of filters set by the user."
|
|
1620
|
+
},
|
|
1621
|
+
"defaultValue": "{}"
|
|
1622
|
+
},
|
|
1623
|
+
"globalFilter": {
|
|
1624
|
+
"type": "boolean",
|
|
1625
|
+
"mutable": false,
|
|
1626
|
+
"complexType": {
|
|
1627
|
+
"original": "boolean",
|
|
1628
|
+
"resolved": "boolean",
|
|
1629
|
+
"references": {}
|
|
1630
|
+
},
|
|
1631
|
+
"required": false,
|
|
1632
|
+
"optional": false,
|
|
1633
|
+
"docs": {
|
|
1634
|
+
"tags": [],
|
|
1635
|
+
"text": "When set to true it activates the global filter."
|
|
1636
|
+
},
|
|
1637
|
+
"attribute": "global-filter",
|
|
1638
|
+
"reflect": false,
|
|
1639
|
+
"defaultValue": "false"
|
|
1640
|
+
},
|
|
1641
|
+
"globalFilterValue": {
|
|
1642
|
+
"type": "string",
|
|
1643
|
+
"mutable": true,
|
|
1644
|
+
"complexType": {
|
|
1645
|
+
"original": "string",
|
|
1646
|
+
"resolved": "string",
|
|
1647
|
+
"references": {}
|
|
1648
|
+
},
|
|
1649
|
+
"required": false,
|
|
1650
|
+
"optional": false,
|
|
1651
|
+
"docs": {
|
|
1652
|
+
"tags": [],
|
|
1653
|
+
"text": "The value of the global filter."
|
|
1654
|
+
},
|
|
1655
|
+
"attribute": "global-filter-value",
|
|
1656
|
+
"reflect": true,
|
|
1657
|
+
"defaultValue": "''"
|
|
1658
|
+
},
|
|
1659
|
+
"globalFilterMode": {
|
|
1660
|
+
"type": "string",
|
|
1661
|
+
"mutable": false,
|
|
1662
|
+
"complexType": {
|
|
1663
|
+
"original": "KupGlobalFilterMode",
|
|
1664
|
+
"resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
|
|
1665
|
+
"references": {
|
|
1666
|
+
"KupGlobalFilterMode": {
|
|
1667
|
+
"location": "import",
|
|
1668
|
+
"path": "../../utils/filters/filters-declarations"
|
|
1669
|
+
}
|
|
1776
1670
|
}
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1671
|
+
},
|
|
1672
|
+
"required": false,
|
|
1673
|
+
"optional": false,
|
|
1674
|
+
"docs": {
|
|
1675
|
+
"tags": [],
|
|
1676
|
+
"text": "The mode of the global filter (default SIMPLE)"
|
|
1677
|
+
},
|
|
1678
|
+
"attribute": "global-filter-mode",
|
|
1679
|
+
"reflect": false,
|
|
1680
|
+
"defaultValue": "KupGlobalFilterMode.SIMPLE"
|
|
1681
|
+
},
|
|
1682
|
+
"preventXScroll": {
|
|
1683
|
+
"type": "boolean",
|
|
1684
|
+
"mutable": false,
|
|
1685
|
+
"complexType": {
|
|
1686
|
+
"original": "boolean",
|
|
1687
|
+
"resolved": "boolean",
|
|
1688
|
+
"references": {}
|
|
1689
|
+
},
|
|
1690
|
+
"required": false,
|
|
1691
|
+
"optional": false,
|
|
1692
|
+
"docs": {
|
|
1693
|
+
"tags": [{
|
|
1694
|
+
"name": "default",
|
|
1695
|
+
"text": "false;"
|
|
1696
|
+
}],
|
|
1697
|
+
"text": "Experimental feature: when active, the tree will try to prevent horizontal overflowing elements by setting a width on the content of the table cells.\r\nIt works only on cells of the main column."
|
|
1698
|
+
},
|
|
1699
|
+
"attribute": "prevent-x-scroll",
|
|
1700
|
+
"reflect": true,
|
|
1701
|
+
"defaultValue": "false"
|
|
1702
|
+
},
|
|
1703
|
+
"removableColumns": {
|
|
1704
|
+
"type": "boolean",
|
|
1705
|
+
"mutable": false,
|
|
1706
|
+
"complexType": {
|
|
1707
|
+
"original": "boolean",
|
|
1708
|
+
"resolved": "boolean",
|
|
1709
|
+
"references": {}
|
|
1710
|
+
},
|
|
1711
|
+
"required": false,
|
|
1712
|
+
"optional": false,
|
|
1713
|
+
"docs": {
|
|
1714
|
+
"tags": [],
|
|
1715
|
+
"text": "Sets the possibility to remove the selected column."
|
|
1716
|
+
},
|
|
1717
|
+
"attribute": "removable-columns",
|
|
1718
|
+
"reflect": false,
|
|
1719
|
+
"defaultValue": "true"
|
|
1720
|
+
},
|
|
1721
|
+
"ripple": {
|
|
1722
|
+
"type": "boolean",
|
|
1723
|
+
"mutable": false,
|
|
1724
|
+
"complexType": {
|
|
1725
|
+
"original": "boolean",
|
|
1726
|
+
"resolved": "boolean",
|
|
1727
|
+
"references": {}
|
|
1728
|
+
},
|
|
1729
|
+
"required": false,
|
|
1730
|
+
"optional": false,
|
|
1731
|
+
"docs": {
|
|
1732
|
+
"tags": [{
|
|
1733
|
+
"name": "default",
|
|
1734
|
+
"text": "true"
|
|
1735
|
+
}],
|
|
1736
|
+
"text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
|
|
1737
|
+
},
|
|
1738
|
+
"attribute": "ripple",
|
|
1739
|
+
"reflect": false,
|
|
1740
|
+
"defaultValue": "true"
|
|
1741
|
+
},
|
|
1742
|
+
"scrollOnHover": {
|
|
1743
|
+
"type": "boolean",
|
|
1744
|
+
"mutable": false,
|
|
1745
|
+
"complexType": {
|
|
1746
|
+
"original": "boolean",
|
|
1747
|
+
"resolved": "boolean",
|
|
1748
|
+
"references": {}
|
|
1749
|
+
},
|
|
1750
|
+
"required": false,
|
|
1751
|
+
"optional": false,
|
|
1752
|
+
"docs": {
|
|
1753
|
+
"tags": [],
|
|
1754
|
+
"text": "Activates the scroll on hover function."
|
|
1755
|
+
},
|
|
1756
|
+
"attribute": "scroll-on-hover",
|
|
1757
|
+
"reflect": false,
|
|
1758
|
+
"defaultValue": "false"
|
|
1759
|
+
},
|
|
1760
|
+
"showColumns": {
|
|
1761
|
+
"type": "boolean",
|
|
1762
|
+
"mutable": true,
|
|
1763
|
+
"complexType": {
|
|
1764
|
+
"original": "boolean",
|
|
1765
|
+
"resolved": "boolean",
|
|
1766
|
+
"references": {}
|
|
1767
|
+
},
|
|
1768
|
+
"required": false,
|
|
1769
|
+
"optional": false,
|
|
1770
|
+
"docs": {
|
|
1771
|
+
"tags": [],
|
|
1772
|
+
"text": "Shows the tree data as a table."
|
|
1773
|
+
},
|
|
1774
|
+
"attribute": "show-columns",
|
|
1775
|
+
"reflect": false,
|
|
1776
|
+
"defaultValue": "false"
|
|
1777
|
+
},
|
|
1778
|
+
"showFilters": {
|
|
1779
|
+
"type": "boolean",
|
|
1780
|
+
"mutable": false,
|
|
1781
|
+
"complexType": {
|
|
1782
|
+
"original": "boolean",
|
|
1783
|
+
"resolved": "boolean",
|
|
1784
|
+
"references": {}
|
|
1785
|
+
},
|
|
1786
|
+
"required": false,
|
|
1787
|
+
"optional": false,
|
|
1788
|
+
"docs": {
|
|
1789
|
+
"tags": [],
|
|
1790
|
+
"text": "When set to true enables the column filters."
|
|
1791
|
+
},
|
|
1792
|
+
"attribute": "show-filters",
|
|
1793
|
+
"reflect": false,
|
|
1794
|
+
"defaultValue": "true"
|
|
1795
|
+
},
|
|
1796
|
+
"showFooter": {
|
|
1797
|
+
"type": "boolean",
|
|
1798
|
+
"mutable": false,
|
|
1799
|
+
"complexType": {
|
|
1800
|
+
"original": "boolean",
|
|
1801
|
+
"resolved": "boolean",
|
|
1802
|
+
"references": {}
|
|
1803
|
+
},
|
|
1804
|
+
"required": false,
|
|
1805
|
+
"optional": false,
|
|
1806
|
+
"docs": {
|
|
1807
|
+
"tags": [],
|
|
1808
|
+
"text": "When set to true shows the footer."
|
|
1809
|
+
},
|
|
1810
|
+
"attribute": "show-footer",
|
|
1811
|
+
"reflect": false,
|
|
1812
|
+
"defaultValue": "false"
|
|
1813
|
+
},
|
|
1814
|
+
"showHeader": {
|
|
1815
|
+
"type": "boolean",
|
|
1816
|
+
"mutable": true,
|
|
1817
|
+
"complexType": {
|
|
1818
|
+
"original": "boolean",
|
|
1819
|
+
"resolved": "boolean",
|
|
1820
|
+
"references": {}
|
|
1821
|
+
},
|
|
1822
|
+
"required": false,
|
|
1823
|
+
"optional": false,
|
|
1824
|
+
"docs": {
|
|
1825
|
+
"tags": [{
|
|
1826
|
+
"name": "see",
|
|
1827
|
+
"text": "showColumns"
|
|
1828
|
+
}],
|
|
1829
|
+
"text": "Flag: shows the header of the tree when the tree is displayed as a table."
|
|
1830
|
+
},
|
|
1831
|
+
"attribute": "show-header",
|
|
1832
|
+
"reflect": false,
|
|
1833
|
+
"defaultValue": "false"
|
|
1834
|
+
},
|
|
1835
|
+
"showIcons": {
|
|
1836
|
+
"type": "boolean",
|
|
1837
|
+
"mutable": false,
|
|
1838
|
+
"complexType": {
|
|
1839
|
+
"original": "boolean",
|
|
1840
|
+
"resolved": "boolean",
|
|
1841
|
+
"references": {}
|
|
1842
|
+
},
|
|
1843
|
+
"required": false,
|
|
1844
|
+
"optional": false,
|
|
1845
|
+
"docs": {
|
|
1846
|
+
"tags": [],
|
|
1847
|
+
"text": "Shows the icons of the nodes."
|
|
1848
|
+
},
|
|
1849
|
+
"attribute": "show-icons",
|
|
1850
|
+
"reflect": false,
|
|
1851
|
+
"defaultValue": "true"
|
|
1852
|
+
},
|
|
1853
|
+
"stateId": {
|
|
1854
|
+
"type": "string",
|
|
1855
|
+
"mutable": false,
|
|
1856
|
+
"complexType": {
|
|
1857
|
+
"original": "string",
|
|
1858
|
+
"resolved": "string",
|
|
1859
|
+
"references": {}
|
|
1860
|
+
},
|
|
1861
|
+
"required": false,
|
|
1862
|
+
"optional": false,
|
|
1863
|
+
"docs": {
|
|
1864
|
+
"tags": [],
|
|
1865
|
+
"text": ""
|
|
1866
|
+
},
|
|
1867
|
+
"attribute": "state-id",
|
|
1868
|
+
"reflect": false,
|
|
1869
|
+
"defaultValue": "''"
|
|
1870
|
+
},
|
|
1871
|
+
"store": {
|
|
1872
|
+
"type": "unknown",
|
|
1873
|
+
"mutable": false,
|
|
1874
|
+
"complexType": {
|
|
1875
|
+
"original": "KupStore",
|
|
1876
|
+
"resolved": "KupStore",
|
|
1877
|
+
"references": {
|
|
1878
|
+
"KupStore": {
|
|
1879
|
+
"location": "import",
|
|
1880
|
+
"path": "../kup-state/kup-store"
|
|
1881
|
+
}
|
|
1988
1882
|
}
|
|
1883
|
+
},
|
|
1884
|
+
"required": false,
|
|
1885
|
+
"optional": false,
|
|
1886
|
+
"docs": {
|
|
1887
|
+
"tags": [],
|
|
1888
|
+
"text": ""
|
|
1989
1889
|
}
|
|
1990
1890
|
},
|
|
1991
|
-
"
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
"
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
"
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
"
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
"original": "TotalsMap",
|
|
2024
|
-
"resolved": "TotalsMap",
|
|
2025
|
-
"references": {
|
|
2026
|
-
"TotalsMap": {
|
|
2027
|
-
"location": "import",
|
|
2028
|
-
"path": "./../kup-data-table/kup-data-table-declarations"
|
|
1891
|
+
"useDynamicExpansion": {
|
|
1892
|
+
"type": "boolean",
|
|
1893
|
+
"mutable": false,
|
|
1894
|
+
"complexType": {
|
|
1895
|
+
"original": "boolean",
|
|
1896
|
+
"resolved": "boolean",
|
|
1897
|
+
"references": {}
|
|
1898
|
+
},
|
|
1899
|
+
"required": false,
|
|
1900
|
+
"optional": false,
|
|
1901
|
+
"docs": {
|
|
1902
|
+
"tags": [{
|
|
1903
|
+
"name": "see",
|
|
1904
|
+
"text": "dynamicExpansionCallback"
|
|
1905
|
+
}],
|
|
1906
|
+
"text": "When the component must use the dynamic expansion feature to open its nodes, it means that not all the nodes of the\r\ntree have been passed inside the data property.\r\n\r\nTherefore, when expanding a node, the tree must emit an event (or run a given callback)\r\nand wait for the child nodes to be downloaded from the server.\r\n\r\nFor more information:"
|
|
1907
|
+
},
|
|
1908
|
+
"attribute": "use-dynamic-expansion",
|
|
1909
|
+
"reflect": false,
|
|
1910
|
+
"defaultValue": "false"
|
|
1911
|
+
},
|
|
1912
|
+
"totals": {
|
|
1913
|
+
"type": "unknown",
|
|
1914
|
+
"mutable": true,
|
|
1915
|
+
"complexType": {
|
|
1916
|
+
"original": "TotalsMap",
|
|
1917
|
+
"resolved": "TotalsMap",
|
|
1918
|
+
"references": {
|
|
1919
|
+
"TotalsMap": {
|
|
1920
|
+
"location": "import",
|
|
1921
|
+
"path": "./../kup-data-table/kup-data-table-declarations"
|
|
1922
|
+
}
|
|
2029
1923
|
}
|
|
1924
|
+
},
|
|
1925
|
+
"required": false,
|
|
1926
|
+
"optional": false,
|
|
1927
|
+
"docs": {
|
|
1928
|
+
"tags": [],
|
|
1929
|
+
"text": "Defines the current totals options."
|
|
2030
1930
|
}
|
|
2031
|
-
},
|
|
2032
|
-
"required": false,
|
|
2033
|
-
"optional": false,
|
|
2034
|
-
"docs": {
|
|
2035
|
-
"tags": [],
|
|
2036
|
-
"text": "Defines the current totals options."
|
|
2037
1931
|
}
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
static get states() {
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
"
|
|
2055
|
-
"
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
"
|
|
2061
|
-
"
|
|
2062
|
-
|
|
2063
|
-
|
|
1932
|
+
};
|
|
1933
|
+
}
|
|
1934
|
+
static get states() {
|
|
1935
|
+
return {
|
|
1936
|
+
"treeColumnVisible": {},
|
|
1937
|
+
"openedTotalMenu": {},
|
|
1938
|
+
"columnMenuAnchor": {},
|
|
1939
|
+
"stateSwitcher": {},
|
|
1940
|
+
"selectedNode": {}
|
|
1941
|
+
};
|
|
1942
|
+
}
|
|
1943
|
+
static get events() {
|
|
1944
|
+
return [{
|
|
1945
|
+
"method": "kupTreeNodeCollapse",
|
|
1946
|
+
"name": "kup-tree-nodecollapse",
|
|
1947
|
+
"bubbles": true,
|
|
1948
|
+
"cancelable": false,
|
|
1949
|
+
"composed": true,
|
|
1950
|
+
"docs": {
|
|
1951
|
+
"tags": [],
|
|
1952
|
+
"text": "Fired when a KupTreeNode gets collapsed (closed)."
|
|
1953
|
+
},
|
|
1954
|
+
"complexType": {
|
|
1955
|
+
"original": "KupTreeNodeCollapseEventPayload",
|
|
1956
|
+
"resolved": "KupTreeNodeCollapseEventPayload",
|
|
1957
|
+
"references": {
|
|
1958
|
+
"KupTreeNodeCollapseEventPayload": {
|
|
1959
|
+
"location": "import",
|
|
1960
|
+
"path": "./kup-tree-declarations"
|
|
1961
|
+
}
|
|
2064
1962
|
}
|
|
2065
1963
|
}
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
1964
|
+
}, {
|
|
1965
|
+
"method": "kupTreeNodeExpand",
|
|
1966
|
+
"name": "kup-tree-nodeexpand",
|
|
1967
|
+
"bubbles": true,
|
|
1968
|
+
"cancelable": false,
|
|
1969
|
+
"composed": true,
|
|
1970
|
+
"docs": {
|
|
1971
|
+
"tags": [{
|
|
1972
|
+
"name": "event",
|
|
1973
|
+
"text": "kup-tree-nodeexpand"
|
|
1974
|
+
}, {
|
|
1975
|
+
"name": "type",
|
|
1976
|
+
"text": "{object}"
|
|
1977
|
+
}, {
|
|
1978
|
+
"name": "property",
|
|
1979
|
+
"text": "{TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop."
|
|
1980
|
+
}, {
|
|
1981
|
+
"name": "property",
|
|
1982
|
+
"text": "{KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop)."
|
|
1983
|
+
}, {
|
|
1984
|
+
"name": "property",
|
|
1985
|
+
"text": "{boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode."
|
|
1986
|
+
}, {
|
|
1987
|
+
"name": "property",
|
|
1988
|
+
"text": "{boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event\r\nrequires the parent component to add KupTreeNode children to the given KupTreeNode."
|
|
1989
|
+
}, {
|
|
1990
|
+
"name": "see",
|
|
1991
|
+
"text": "useDynamicExpansion *"
|
|
1992
|
+
}, {
|
|
1993
|
+
"name": "see",
|
|
1994
|
+
"text": "dynamicExpansionCallback *"
|
|
1995
|
+
}, {
|
|
1996
|
+
"name": "since",
|
|
1997
|
+
"text": "1.0.0"
|
|
1998
|
+
}],
|
|
1999
|
+
"text": "Fired when a node expansion ion has been triggered.\r\nContains additional data when the tree is using the dynamicExpansion feature."
|
|
2000
|
+
},
|
|
2001
|
+
"complexType": {
|
|
2002
|
+
"original": "KupTreeNodeExpandEventPayload",
|
|
2003
|
+
"resolved": "KupTreeNodeExpandEventPayload",
|
|
2004
|
+
"references": {
|
|
2005
|
+
"KupTreeNodeExpandEventPayload": {
|
|
2006
|
+
"location": "import",
|
|
2007
|
+
"path": "./kup-tree-declarations"
|
|
2008
|
+
}
|
|
2111
2009
|
}
|
|
2112
2010
|
}
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2011
|
+
}, {
|
|
2012
|
+
"method": "kupTreeNodeSelected",
|
|
2013
|
+
"name": "kup-tree-nodeselected",
|
|
2014
|
+
"bubbles": true,
|
|
2015
|
+
"cancelable": false,
|
|
2016
|
+
"composed": true,
|
|
2017
|
+
"docs": {
|
|
2018
|
+
"tags": [],
|
|
2019
|
+
"text": "Fired when a node of the tree has been selected"
|
|
2020
|
+
},
|
|
2021
|
+
"complexType": {
|
|
2022
|
+
"original": "KupTreeNodeSelectedEventPayload",
|
|
2023
|
+
"resolved": "KupTreeNodeSelectedEventPayload",
|
|
2024
|
+
"references": {
|
|
2025
|
+
"KupTreeNodeSelectedEventPayload": {
|
|
2026
|
+
"location": "import",
|
|
2027
|
+
"path": "./kup-tree-declarations"
|
|
2028
|
+
}
|
|
2131
2029
|
}
|
|
2132
2030
|
}
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2031
|
+
}, {
|
|
2032
|
+
"method": "kupTreeNodeButtonClick",
|
|
2033
|
+
"name": "kup-tree-buttonclick",
|
|
2034
|
+
"bubbles": true,
|
|
2035
|
+
"cancelable": false,
|
|
2036
|
+
"composed": true,
|
|
2037
|
+
"docs": {
|
|
2038
|
+
"tags": [],
|
|
2039
|
+
"text": ""
|
|
2040
|
+
},
|
|
2041
|
+
"complexType": {
|
|
2042
|
+
"original": "KupTreeNodeButtonClickEventPayload",
|
|
2043
|
+
"resolved": "KupTreeNodeButtonClickEventPayload",
|
|
2044
|
+
"references": {
|
|
2045
|
+
"KupTreeNodeButtonClickEventPayload": {
|
|
2046
|
+
"location": "import",
|
|
2047
|
+
"path": "./kup-tree-declarations"
|
|
2048
|
+
}
|
|
2151
2049
|
}
|
|
2152
2050
|
}
|
|
2153
|
-
}
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2051
|
+
}, {
|
|
2052
|
+
"method": "kupTreeContextMenu",
|
|
2053
|
+
"name": "kup-tree-contextmenu",
|
|
2054
|
+
"bubbles": true,
|
|
2055
|
+
"cancelable": false,
|
|
2056
|
+
"composed": true,
|
|
2057
|
+
"docs": {
|
|
2058
|
+
"tags": [],
|
|
2059
|
+
"text": "Generic right click event on tree."
|
|
2060
|
+
},
|
|
2061
|
+
"complexType": {
|
|
2062
|
+
"original": "KupTreeContextMenuEventPayload",
|
|
2063
|
+
"resolved": "KupTreeContextMenuEventPayload",
|
|
2064
|
+
"references": {
|
|
2065
|
+
"KupTreeContextMenuEventPayload": {
|
|
2066
|
+
"location": "import",
|
|
2067
|
+
"path": "./kup-tree-declarations"
|
|
2068
|
+
}
|
|
2171
2069
|
}
|
|
2172
2070
|
}
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2071
|
+
}, {
|
|
2072
|
+
"method": "kupTreeColumnMenu",
|
|
2073
|
+
"name": "kup-tree-columnmenu",
|
|
2074
|
+
"bubbles": true,
|
|
2075
|
+
"cancelable": false,
|
|
2076
|
+
"composed": true,
|
|
2077
|
+
"docs": {
|
|
2078
|
+
"tags": [],
|
|
2079
|
+
"text": "When the column menu is being opened/closed."
|
|
2080
|
+
},
|
|
2081
|
+
"complexType": {
|
|
2082
|
+
"original": "KupTreeColumnMenuEventPayload",
|
|
2083
|
+
"resolved": "KupTreeColumnMenuEventPayload",
|
|
2084
|
+
"references": {
|
|
2085
|
+
"KupTreeColumnMenuEventPayload": {
|
|
2086
|
+
"location": "import",
|
|
2087
|
+
"path": "./kup-tree-declarations"
|
|
2088
|
+
}
|
|
2191
2089
|
}
|
|
2192
2090
|
}
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2091
|
+
}, {
|
|
2092
|
+
"method": "kupDidLoad",
|
|
2093
|
+
"name": "kup-tree-didload",
|
|
2094
|
+
"bubbles": true,
|
|
2095
|
+
"cancelable": false,
|
|
2096
|
+
"composed": true,
|
|
2097
|
+
"docs": {
|
|
2098
|
+
"tags": [],
|
|
2099
|
+
"text": ""
|
|
2100
|
+
},
|
|
2101
|
+
"complexType": {
|
|
2102
|
+
"original": "KupEventPayload",
|
|
2103
|
+
"resolved": "KupEventPayload",
|
|
2104
|
+
"references": {
|
|
2105
|
+
"KupEventPayload": {
|
|
2106
|
+
"location": "import",
|
|
2107
|
+
"path": "../../types/GenericTypes"
|
|
2108
|
+
}
|
|
2211
2109
|
}
|
|
2212
2110
|
}
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2111
|
+
}, {
|
|
2112
|
+
"method": "kupDidUnload",
|
|
2113
|
+
"name": "kup-tree-didunload",
|
|
2114
|
+
"bubbles": true,
|
|
2115
|
+
"cancelable": false,
|
|
2116
|
+
"composed": true,
|
|
2117
|
+
"docs": {
|
|
2118
|
+
"tags": [],
|
|
2119
|
+
"text": "Triggered when stop propagation event"
|
|
2120
|
+
},
|
|
2121
|
+
"complexType": {
|
|
2122
|
+
"original": "KupEventPayload",
|
|
2123
|
+
"resolved": "KupEventPayload",
|
|
2124
|
+
"references": {
|
|
2125
|
+
"KupEventPayload": {
|
|
2126
|
+
"location": "import",
|
|
2127
|
+
"path": "../../types/GenericTypes"
|
|
2128
|
+
}
|
|
2231
2129
|
}
|
|
2232
2130
|
}
|
|
2233
|
-
}
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2131
|
+
}, {
|
|
2132
|
+
"method": "kupTreeNodeDblClick",
|
|
2133
|
+
"name": "kup-tree-nodedblclick",
|
|
2134
|
+
"bubbles": true,
|
|
2135
|
+
"cancelable": false,
|
|
2136
|
+
"composed": true,
|
|
2137
|
+
"docs": {
|
|
2138
|
+
"tags": [],
|
|
2139
|
+
"text": ""
|
|
2140
|
+
},
|
|
2141
|
+
"complexType": {
|
|
2142
|
+
"original": "KupTreeNodeCollapseEventPayload",
|
|
2143
|
+
"resolved": "KupTreeNodeCollapseEventPayload",
|
|
2144
|
+
"references": {
|
|
2145
|
+
"KupTreeNodeCollapseEventPayload": {
|
|
2146
|
+
"location": "import",
|
|
2147
|
+
"path": "./kup-tree-declarations"
|
|
2148
|
+
}
|
|
2251
2149
|
}
|
|
2252
2150
|
}
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2151
|
+
}, {
|
|
2152
|
+
"method": "kupTreeDynamicMassExpansion",
|
|
2153
|
+
"name": "kup-tree-dynamicmassexpansion",
|
|
2154
|
+
"bubbles": true,
|
|
2155
|
+
"cancelable": false,
|
|
2156
|
+
"composed": true,
|
|
2157
|
+
"docs": {
|
|
2158
|
+
"tags": [],
|
|
2159
|
+
"text": ""
|
|
2160
|
+
},
|
|
2161
|
+
"complexType": {
|
|
2162
|
+
"original": "KupTreeDynamicMassExpansionEventPayload",
|
|
2163
|
+
"resolved": "KupTreeDynamicMassExpansionEventPayload",
|
|
2164
|
+
"references": {
|
|
2165
|
+
"KupTreeDynamicMassExpansionEventPayload": {
|
|
2166
|
+
"location": "import",
|
|
2167
|
+
"path": "./kup-tree-declarations"
|
|
2168
|
+
}
|
|
2271
2169
|
}
|
|
2272
2170
|
}
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2171
|
+
}, {
|
|
2172
|
+
"method": "kupColumnRemove",
|
|
2173
|
+
"name": "kup-tree-columnremove",
|
|
2174
|
+
"bubbles": true,
|
|
2175
|
+
"cancelable": false,
|
|
2176
|
+
"composed": true,
|
|
2177
|
+
"docs": {
|
|
2178
|
+
"tags": [],
|
|
2179
|
+
"text": "Event fired when columns are removed (set to hidden)."
|
|
2180
|
+
},
|
|
2181
|
+
"complexType": {
|
|
2182
|
+
"original": "KupTreeColumnRemoveEventPayload",
|
|
2183
|
+
"resolved": "KupTreeColumnRemoveEventPayload",
|
|
2184
|
+
"references": {
|
|
2185
|
+
"KupTreeColumnRemoveEventPayload": {
|
|
2186
|
+
"location": "import",
|
|
2187
|
+
"path": "./kup-tree-declarations"
|
|
2188
|
+
}
|
|
2291
2189
|
}
|
|
2292
2190
|
}
|
|
2293
|
-
}
|
|
2294
|
-
|
|
2295
|
-
static get methods() {
|
|
2296
|
-
|
|
2297
|
-
"
|
|
2298
|
-
"
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
"
|
|
2302
|
-
"
|
|
2191
|
+
}];
|
|
2192
|
+
}
|
|
2193
|
+
static get methods() {
|
|
2194
|
+
return {
|
|
2195
|
+
"getSelectedNode": {
|
|
2196
|
+
"complexType": {
|
|
2197
|
+
"signature": "() => Promise<TreeNodePath>",
|
|
2198
|
+
"parameters": [],
|
|
2199
|
+
"references": {
|
|
2200
|
+
"Promise": {
|
|
2201
|
+
"location": "global"
|
|
2202
|
+
},
|
|
2203
|
+
"TreeNodePath": {
|
|
2204
|
+
"location": "import",
|
|
2205
|
+
"path": "./kup-tree-declarations"
|
|
2206
|
+
}
|
|
2303
2207
|
},
|
|
2304
|
-
"
|
|
2305
|
-
"location": "import",
|
|
2306
|
-
"path": "./kup-tree-declarations"
|
|
2307
|
-
}
|
|
2208
|
+
"return": "Promise<TreeNodePath>"
|
|
2308
2209
|
},
|
|
2309
|
-
"
|
|
2210
|
+
"docs": {
|
|
2211
|
+
"text": "This method will get the selected nodes of the component.",
|
|
2212
|
+
"tags": []
|
|
2213
|
+
}
|
|
2310
2214
|
},
|
|
2311
|
-
"
|
|
2312
|
-
"
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
}
|
|
2329
|
-
|
|
2330
|
-
"Promise": {
|
|
2331
|
-
"location": "global"
|
|
2332
|
-
}
|
|
2215
|
+
"setSelectedNode": {
|
|
2216
|
+
"complexType": {
|
|
2217
|
+
"signature": "(treeNodePath: string, emitEvent?: boolean) => Promise<void>",
|
|
2218
|
+
"parameters": [{
|
|
2219
|
+
"tags": [],
|
|
2220
|
+
"text": ""
|
|
2221
|
+
}, {
|
|
2222
|
+
"tags": [{
|
|
2223
|
+
"name": "param",
|
|
2224
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
2225
|
+
}],
|
|
2226
|
+
"text": "- The event will always be emitted unless emitEvent is set to false."
|
|
2227
|
+
}],
|
|
2228
|
+
"references": {
|
|
2229
|
+
"Promise": {
|
|
2230
|
+
"location": "global"
|
|
2231
|
+
}
|
|
2232
|
+
},
|
|
2233
|
+
"return": "Promise<void>"
|
|
2333
2234
|
},
|
|
2334
|
-
"
|
|
2235
|
+
"docs": {
|
|
2236
|
+
"text": "This method will set the selected rows of the component.",
|
|
2237
|
+
"tags": [{
|
|
2238
|
+
"name": "param",
|
|
2239
|
+
"text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
|
|
2240
|
+
}, {
|
|
2241
|
+
"name": "param",
|
|
2242
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
2243
|
+
}]
|
|
2244
|
+
}
|
|
2335
2245
|
},
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
}
|
|
2345
|
-
|
|
2346
|
-
},
|
|
2347
|
-
"isEmpty": {
|
|
2348
|
-
"complexType": {
|
|
2349
|
-
"signature": "() => Promise<boolean>",
|
|
2350
|
-
"parameters": [],
|
|
2351
|
-
"references": {
|
|
2352
|
-
"Promise": {
|
|
2353
|
-
"location": "global"
|
|
2354
|
-
}
|
|
2246
|
+
"isEmpty": {
|
|
2247
|
+
"complexType": {
|
|
2248
|
+
"signature": "() => Promise<boolean>",
|
|
2249
|
+
"parameters": [],
|
|
2250
|
+
"references": {
|
|
2251
|
+
"Promise": {
|
|
2252
|
+
"location": "global"
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2255
|
+
"return": "Promise<boolean>"
|
|
2355
2256
|
},
|
|
2356
|
-
"
|
|
2257
|
+
"docs": {
|
|
2258
|
+
"text": "True if there aren't visible nodes",
|
|
2259
|
+
"tags": []
|
|
2260
|
+
}
|
|
2357
2261
|
},
|
|
2358
|
-
"
|
|
2359
|
-
"
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
"Promise": {
|
|
2369
|
-
"location": "global"
|
|
2370
|
-
}
|
|
2262
|
+
"closeColumnMenu": {
|
|
2263
|
+
"complexType": {
|
|
2264
|
+
"signature": "() => Promise<void>",
|
|
2265
|
+
"parameters": [],
|
|
2266
|
+
"references": {
|
|
2267
|
+
"Promise": {
|
|
2268
|
+
"location": "global"
|
|
2269
|
+
}
|
|
2270
|
+
},
|
|
2271
|
+
"return": "Promise<void>"
|
|
2371
2272
|
},
|
|
2372
|
-
"
|
|
2273
|
+
"docs": {
|
|
2274
|
+
"text": "Closes any opened column menu.",
|
|
2275
|
+
"tags": []
|
|
2276
|
+
}
|
|
2373
2277
|
},
|
|
2374
|
-
"
|
|
2375
|
-
"
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
"Promise": {
|
|
2385
|
-
"location": "global"
|
|
2386
|
-
}
|
|
2278
|
+
"collapseAll": {
|
|
2279
|
+
"complexType": {
|
|
2280
|
+
"signature": "() => Promise<void>",
|
|
2281
|
+
"parameters": [],
|
|
2282
|
+
"references": {
|
|
2283
|
+
"Promise": {
|
|
2284
|
+
"location": "global"
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
"return": "Promise<void>"
|
|
2387
2288
|
},
|
|
2388
|
-
"
|
|
2289
|
+
"docs": {
|
|
2290
|
+
"text": "Collapses all nodes.",
|
|
2291
|
+
"tags": []
|
|
2292
|
+
}
|
|
2389
2293
|
},
|
|
2390
|
-
"
|
|
2391
|
-
"
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
"Promise": {
|
|
2401
|
-
"location": "global"
|
|
2402
|
-
}
|
|
2294
|
+
"expandAll": {
|
|
2295
|
+
"complexType": {
|
|
2296
|
+
"signature": "() => Promise<void>",
|
|
2297
|
+
"parameters": [],
|
|
2298
|
+
"references": {
|
|
2299
|
+
"Promise": {
|
|
2300
|
+
"location": "global"
|
|
2301
|
+
}
|
|
2302
|
+
},
|
|
2303
|
+
"return": "Promise<void>"
|
|
2403
2304
|
},
|
|
2404
|
-
"
|
|
2305
|
+
"docs": {
|
|
2306
|
+
"text": "Expands all nodes.",
|
|
2307
|
+
"tags": []
|
|
2308
|
+
}
|
|
2405
2309
|
},
|
|
2406
|
-
"
|
|
2407
|
-
"
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2310
|
+
"getProps": {
|
|
2311
|
+
"complexType": {
|
|
2312
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
2313
|
+
"parameters": [{
|
|
2314
|
+
"tags": [{
|
|
2315
|
+
"name": "param",
|
|
2316
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2317
|
+
}],
|
|
2318
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
2319
|
+
}],
|
|
2320
|
+
"references": {
|
|
2321
|
+
"Promise": {
|
|
2322
|
+
"location": "global"
|
|
2323
|
+
},
|
|
2324
|
+
"GenericObject": {
|
|
2325
|
+
"location": "import",
|
|
2326
|
+
"path": "../../types/GenericTypes"
|
|
2327
|
+
}
|
|
2424
2328
|
},
|
|
2425
|
-
"
|
|
2426
|
-
"location": "import",
|
|
2427
|
-
"path": "../../types/GenericTypes"
|
|
2428
|
-
}
|
|
2329
|
+
"return": "Promise<GenericObject>"
|
|
2429
2330
|
},
|
|
2430
|
-
"
|
|
2331
|
+
"docs": {
|
|
2332
|
+
"text": "Used to retrieve component's props values.",
|
|
2333
|
+
"tags": [{
|
|
2334
|
+
"name": "param",
|
|
2335
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2336
|
+
}, {
|
|
2337
|
+
"name": "returns",
|
|
2338
|
+
"text": "List of props as object, each key will be a prop."
|
|
2339
|
+
}]
|
|
2340
|
+
}
|
|
2431
2341
|
},
|
|
2432
|
-
"
|
|
2433
|
-
"
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
}],
|
|
2451
|
-
"text": "- Column to hide."
|
|
2452
|
-
}],
|
|
2453
|
-
"references": {
|
|
2454
|
-
"Promise": {
|
|
2455
|
-
"location": "global"
|
|
2342
|
+
"hideColumn": {
|
|
2343
|
+
"complexType": {
|
|
2344
|
+
"signature": "(column: KupDataColumn) => Promise<void>",
|
|
2345
|
+
"parameters": [{
|
|
2346
|
+
"tags": [{
|
|
2347
|
+
"name": "param",
|
|
2348
|
+
"text": "column - Column to hide."
|
|
2349
|
+
}],
|
|
2350
|
+
"text": "- Column to hide."
|
|
2351
|
+
}],
|
|
2352
|
+
"references": {
|
|
2353
|
+
"Promise": {
|
|
2354
|
+
"location": "global"
|
|
2355
|
+
},
|
|
2356
|
+
"KupDataColumn": {
|
|
2357
|
+
"location": "import",
|
|
2358
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2359
|
+
}
|
|
2456
2360
|
},
|
|
2457
|
-
"
|
|
2458
|
-
"location": "import",
|
|
2459
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2460
|
-
}
|
|
2361
|
+
"return": "Promise<void>"
|
|
2461
2362
|
},
|
|
2462
|
-
"
|
|
2363
|
+
"docs": {
|
|
2364
|
+
"text": "Hides the given column.",
|
|
2365
|
+
"tags": [{
|
|
2366
|
+
"name": "param",
|
|
2367
|
+
"text": "column - Column to hide."
|
|
2368
|
+
}]
|
|
2369
|
+
}
|
|
2463
2370
|
},
|
|
2464
|
-
"
|
|
2465
|
-
"
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
"KupEventPayload": {
|
|
2490
|
-
"location": "import",
|
|
2491
|
-
"path": "../../types/GenericTypes"
|
|
2371
|
+
"openColumnMenu": {
|
|
2372
|
+
"complexType": {
|
|
2373
|
+
"signature": "(column: string) => Promise<void>",
|
|
2374
|
+
"parameters": [{
|
|
2375
|
+
"tags": [{
|
|
2376
|
+
"name": "param",
|
|
2377
|
+
"text": "column - Name of the column."
|
|
2378
|
+
}],
|
|
2379
|
+
"text": "- Name of the column."
|
|
2380
|
+
}],
|
|
2381
|
+
"references": {
|
|
2382
|
+
"Promise": {
|
|
2383
|
+
"location": "global"
|
|
2384
|
+
},
|
|
2385
|
+
"CustomEvent": {
|
|
2386
|
+
"location": "global"
|
|
2387
|
+
},
|
|
2388
|
+
"KupEventPayload": {
|
|
2389
|
+
"location": "import",
|
|
2390
|
+
"path": "../../types/GenericTypes"
|
|
2391
|
+
},
|
|
2392
|
+
"KupCardEventPayload": {
|
|
2393
|
+
"location": "import",
|
|
2394
|
+
"path": "../kup-card/kup-card-declarations"
|
|
2395
|
+
}
|
|
2492
2396
|
},
|
|
2493
|
-
"
|
|
2494
|
-
"location": "import",
|
|
2495
|
-
"path": "../kup-card/kup-card-declarations"
|
|
2496
|
-
}
|
|
2397
|
+
"return": "Promise<void>"
|
|
2497
2398
|
},
|
|
2498
|
-
"
|
|
2399
|
+
"docs": {
|
|
2400
|
+
"text": "Opens the column menu of the given column.",
|
|
2401
|
+
"tags": [{
|
|
2402
|
+
"name": "param",
|
|
2403
|
+
"text": "column - Name of the column."
|
|
2404
|
+
}]
|
|
2405
|
+
}
|
|
2499
2406
|
},
|
|
2500
|
-
"
|
|
2501
|
-
"
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
"signature": "() => Promise<void>",
|
|
2511
|
-
"parameters": [],
|
|
2512
|
-
"references": {
|
|
2513
|
-
"Promise": {
|
|
2514
|
-
"location": "global"
|
|
2515
|
-
}
|
|
2407
|
+
"refresh": {
|
|
2408
|
+
"complexType": {
|
|
2409
|
+
"signature": "() => Promise<void>",
|
|
2410
|
+
"parameters": [],
|
|
2411
|
+
"references": {
|
|
2412
|
+
"Promise": {
|
|
2413
|
+
"location": "global"
|
|
2414
|
+
}
|
|
2415
|
+
},
|
|
2416
|
+
"return": "Promise<void>"
|
|
2516
2417
|
},
|
|
2517
|
-
"
|
|
2418
|
+
"docs": {
|
|
2419
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
2420
|
+
"tags": []
|
|
2421
|
+
}
|
|
2518
2422
|
},
|
|
2519
|
-
"
|
|
2520
|
-
"
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
"Promise": {
|
|
2530
|
-
"location": "global"
|
|
2531
|
-
}
|
|
2423
|
+
"resizeCallback": {
|
|
2424
|
+
"complexType": {
|
|
2425
|
+
"signature": "() => Promise<void>",
|
|
2426
|
+
"parameters": [],
|
|
2427
|
+
"references": {
|
|
2428
|
+
"Promise": {
|
|
2429
|
+
"location": "global"
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
"return": "Promise<void>"
|
|
2532
2433
|
},
|
|
2533
|
-
"
|
|
2434
|
+
"docs": {
|
|
2435
|
+
"text": "This method is invoked by KupManager whenever the component changes size.",
|
|
2436
|
+
"tags": []
|
|
2437
|
+
}
|
|
2534
2438
|
},
|
|
2535
|
-
"
|
|
2536
|
-
"
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2439
|
+
"setProps": {
|
|
2440
|
+
"complexType": {
|
|
2441
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
2442
|
+
"parameters": [{
|
|
2443
|
+
"tags": [{
|
|
2444
|
+
"name": "param",
|
|
2445
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2446
|
+
}],
|
|
2447
|
+
"text": "- Object containing props that will be set to the component."
|
|
2448
|
+
}],
|
|
2449
|
+
"references": {
|
|
2450
|
+
"Promise": {
|
|
2451
|
+
"location": "global"
|
|
2452
|
+
},
|
|
2453
|
+
"GenericObject": {
|
|
2454
|
+
"location": "import",
|
|
2455
|
+
"path": "../../types/GenericTypes"
|
|
2456
|
+
}
|
|
2553
2457
|
},
|
|
2554
|
-
"
|
|
2555
|
-
"location": "import",
|
|
2556
|
-
"path": "../../types/GenericTypes"
|
|
2557
|
-
}
|
|
2458
|
+
"return": "Promise<void>"
|
|
2558
2459
|
},
|
|
2559
|
-
"
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
}]
|
|
2460
|
+
"docs": {
|
|
2461
|
+
"text": "Sets the props to the component.",
|
|
2462
|
+
"tags": [{
|
|
2463
|
+
"name": "param",
|
|
2464
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2465
|
+
}]
|
|
2466
|
+
}
|
|
2567
2467
|
}
|
|
2568
|
-
}
|
|
2569
|
-
}
|
|
2468
|
+
};
|
|
2469
|
+
}
|
|
2570
2470
|
static get elementRef() { return "rootElement"; }
|
|
2571
|
-
static get watchers() {
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2471
|
+
static get watchers() {
|
|
2472
|
+
return [{
|
|
2473
|
+
"propName": "data",
|
|
2474
|
+
"methodName": "enrichDataWhenChanged"
|
|
2475
|
+
}, {
|
|
2476
|
+
"propName": "expanded",
|
|
2477
|
+
"methodName": "enrichStructureStateWhenChanged"
|
|
2478
|
+
}];
|
|
2479
|
+
}
|
|
2578
2480
|
}
|