@sme.up/ketchup 6.5.0 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/dist/cjs/{f-button-4e2a0bb6.js → f-button-bf76ab95.js} +2 -2
- package/dist/cjs/{f-cell-1fc8a8b6.js → f-cell-b7a1524a.js} +25 -23
- package/dist/cjs/{f-checkbox-cd977193.js → f-checkbox-1097ca5d.js} +1 -1
- package/dist/cjs/{f-chip-7867f17b.js → f-chip-a5e100b1.js} +3 -3
- package/dist/cjs/{f-image-6b7a6168.js → f-image-d80a2749.js} +2 -2
- package/dist/cjs/{f-paginator-utils-b7712403.js → f-paginator-utils-c70812fe.js} +3 -5
- package/dist/cjs/{f-text-field-153e827c.js → f-text-field-48b8bb16.js} +2 -2
- package/dist/cjs/{index-31125378.js → index-ffdb46f6.js} +423 -252
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_25.cjs.entry.js +433 -163
- package/dist/cjs/kup-box.cjs.entry.js +27 -16
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +2 -2
- package/dist/cjs/kup-dashboard.cjs.entry.js +6 -6
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +19 -7
- package/dist/cjs/kup-form.cjs.entry.js +8 -8
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +9 -9
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-cfe2f36e.js → kup-manager-0e38bf48.js} +39 -26
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/assets/box.js +9 -6
- package/dist/collection/assets/card.js +12 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/kup-accordion/kup-accordion.js +239 -234
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +545 -530
- package/dist/collection/components/kup-badge/kup-badge.js +176 -170
- package/dist/collection/components/kup-box/kup-box.js +907 -913
- package/dist/collection/components/kup-button/kup-button.css +1 -0
- package/dist/collection/components/kup-button/kup-button.js +379 -370
- package/dist/collection/components/kup-button-list/kup-button-list.js +251 -240
- package/dist/collection/components/kup-calendar/kup-calendar.js +301 -300
- package/dist/collection/components/kup-card/box/kup-card-box.js +115 -0
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +14 -28
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +6 -19
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +9 -44
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +2 -21
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +6 -33
- package/dist/collection/components/kup-card/kup-card-declarations.js +2 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -8
- package/dist/collection/components/kup-card/kup-card.css +140 -20
- package/dist/collection/components/kup-card/kup-card.js +352 -340
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +68 -81
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +96 -304
- package/dist/collection/components/kup-cell/kup-cell.js +221 -216
- package/dist/collection/components/kup-chart/kup-chart.js +547 -537
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +275 -266
- package/dist/collection/components/kup-chip/kup-chip.js +240 -231
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +274 -264
- package/dist/collection/components/kup-combobox/kup-combobox.js +458 -440
- package/dist/collection/components/kup-dash/kup-dash.js +110 -158
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +210 -213
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +196 -203
- package/dist/collection/components/kup-data-table/kup-data-table.js +1932 -1838
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +408 -394
- package/dist/collection/components/kup-drawer/kup-drawer.js +244 -236
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +474 -464
- package/dist/collection/components/kup-echart/kup-echart.js +436 -423
- package/dist/collection/components/kup-family-tree/kup-family-tree-declarations.js +1 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +420 -398
- package/dist/collection/components/kup-form/kup-form.js +223 -225
- package/dist/collection/components/kup-gauge/kup-gauge.js +445 -445
- package/dist/collection/components/kup-grid/kup-grid.js +156 -153
- package/dist/collection/components/kup-iframe/kup-iframe.js +181 -173
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +9 -3
- package/dist/collection/components/kup-image/kup-image.js +300 -295
- package/dist/collection/components/kup-image-list/kup-image-list.js +292 -285
- package/dist/collection/components/kup-lazy/kup-lazy.js +253 -253
- package/dist/collection/components/kup-list/kup-list.js +541 -504
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +145 -145
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +190 -184
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +490 -478
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +254 -242
- package/dist/collection/components/kup-probe/kup-probe.js +87 -83
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +237 -241
- package/dist/collection/components/kup-qlik/kup-qlik.js +178 -170
- package/dist/collection/components/kup-radio/kup-radio.js +258 -255
- package/dist/collection/components/kup-rating/kup-rating.js +208 -197
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +249 -246
- package/dist/collection/components/kup-spinner/kup-spinner.js +274 -269
- package/dist/collection/components/kup-switch/kup-switch.js +255 -246
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +265 -224
- package/dist/collection/components/kup-text-field/kup-text-field.js +814 -805
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +464 -450
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -2
- package/dist/collection/components/kup-tree/kup-tree-faker.js +3 -2
- package/dist/collection/components/kup-tree/kup-tree.js +1134 -1133
- package/dist/collection/f-components/f-button/f-button.js +11 -20
- package/dist/collection/f-components/f-cell/f-cell.js +23 -23
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -9
- package/dist/collection/f-components/f-chip/f-chip.js +18 -31
- package/dist/collection/f-components/f-image/f-image.js +1 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -6
- package/dist/collection/f-components/f-switch/f-switch.js +1 -8
- package/dist/collection/f-components/f-text-field/f-text-field.js +18 -40
- package/dist/collection/managers/kup-debug/kup-debug.js +10 -5
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +25 -10
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -0
- 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-a24e43dd.js → f-button-e79f7594.js} +2 -2
- package/dist/esm/{f-cell-ebbb0c06.js → f-cell-9400374e.js} +25 -23
- package/dist/esm/{f-checkbox-e06cf07b.js → f-checkbox-b721178e.js} +1 -1
- package/dist/esm/{f-chip-e2c38ba8.js → f-chip-bf740287.js} +3 -3
- package/dist/esm/{f-image-7e02e88f.js → f-image-ab3dc8cb.js} +2 -2
- package/dist/esm/{f-paginator-utils-e6d2638f.js → f-paginator-utils-6909e43b.js} +3 -5
- package/dist/esm/{f-text-field-8438a278.js → f-text-field-4841dfea.js} +2 -2
- package/dist/esm/{index-e41330a5.js → index-a2197376.js} +423 -252
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +3 -3
- package/dist/esm/kup-autocomplete_25.entry.js +433 -163
- package/dist/esm/kup-box.entry.js +27 -16
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +2 -2
- package/dist/esm/kup-dashboard.entry.js +6 -6
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +19 -7
- package/dist/esm/kup-form.entry.js +8 -8
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +9 -9
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-7c27e90e.js → kup-manager-c54e6df5.js} +22 -9
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-191096ff.entry.js → p-182b869e.entry.js} +1 -1
- package/dist/ketchup/p-1dfd2a51.js +30 -0
- package/dist/ketchup/{p-b502b91b.entry.js → p-1f5c7f21.entry.js} +1 -1
- package/dist/ketchup/p-22ec1ba0.entry.js +9 -0
- package/dist/ketchup/{p-5552f156.js → p-23cd5a68.js} +1 -1
- package/dist/ketchup/{p-26acb448.js → p-25bf0cb6.js} +1 -1
- package/dist/ketchup/{p-601a50db.entry.js → p-260ff835.entry.js} +1 -1
- package/dist/ketchup/{p-5a703573.entry.js → p-2e184b57.entry.js} +1 -1
- package/dist/ketchup/{p-45415b72.entry.js → p-30a63b85.entry.js} +1 -1
- package/dist/ketchup/{p-cc663bad.entry.js → p-313e376b.entry.js} +1 -1
- package/dist/ketchup/{p-e0ed3fd7.entry.js → p-41620707.entry.js} +1 -1
- package/dist/ketchup/{p-25875aa1.entry.js → p-4a0ccf18.entry.js} +1 -1
- package/dist/ketchup/{p-3decc8e4.js → p-4f0d3062.js} +1 -1
- package/dist/ketchup/p-4fdb684f.js +2 -0
- package/dist/ketchup/{p-52590a90.entry.js → p-53d3ae80.entry.js} +1 -1
- package/dist/ketchup/{p-92595296.js → p-5bea2971.js} +1 -1
- package/dist/ketchup/{p-a782ebd1.entry.js → p-60fa0ccf.entry.js} +1 -1
- package/dist/ketchup/p-6333388c.js +1 -0
- package/dist/ketchup/{p-2003a841.entry.js → p-6bd57787.entry.js} +1 -1
- package/dist/ketchup/p-758d03f4.entry.js +1 -0
- package/dist/ketchup/{p-2f009c42.entry.js → p-7e7b6127.entry.js} +1 -1
- package/dist/ketchup/p-8386e3db.entry.js +1 -0
- package/dist/ketchup/{p-23111c8d.entry.js → p-859163c2.entry.js} +1 -1
- package/dist/ketchup/{p-97f28bbd.entry.js → p-8e1fa7a8.entry.js} +6 -6
- package/dist/ketchup/{p-ca98059c.entry.js → p-90860d9e.entry.js} +1 -1
- package/dist/ketchup/{p-b131b257.entry.js → p-b7fdc7aa.entry.js} +1 -1
- package/dist/ketchup/{p-3138cabb.entry.js → p-bffaef6e.entry.js} +1 -1
- package/dist/ketchup/p-c35c5e05.js +1 -0
- package/dist/ketchup/{p-1468bf09.js → p-e1d0ea71.js} +1 -1
- package/dist/ketchup/p-f9d5e553.entry.js +1 -0
- package/dist/ketchup/{p-69dd11da.entry.js → p-fb4d772a.entry.js} +1 -1
- package/dist/loader/package.json +1 -0
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -0
- package/dist/types/components/kup-card/box/kup-card-box.d.ts +26 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
- package/dist/types/components/kup-card/scalable/kup-card-scalable.d.ts +6 -0
- package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +0 -6
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +15 -1
- package/dist/types/components/kup-family-tree/kup-family-tree-declarations.d.ts +1 -0
- package/dist/types/components/kup-family-tree/kup-family-tree.d.ts +5 -0
- 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-declarations.d.ts +0 -4
- package/dist/types/components/kup-tree/kup-tree.d.ts +18 -12
- package/dist/types/components.d.ts +43 -16
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover-declarations.d.ts +1 -0
- package/dist/types/managers/kup-scroll-on-hover/kup-scroll-on-hover.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/package.json +3 -2
- package/CHANGELOG.md +0 -5
- package/dist/ketchup/p-753c82d8.js +0 -1
- package/dist/ketchup/p-77600efd.entry.js +0 -9
- package/dist/ketchup/p-88722265.js +0 -1
- package/dist/ketchup/p-9027e5ac.js +0 -30
- package/dist/ketchup/p-aa564df8.entry.js +0 -1
- package/dist/ketchup/p-b0b3989b.js +0 -2
- package/dist/ketchup/p-b238f9ea.entry.js +0 -1
- package/dist/ketchup/p-b4f85d34.entry.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';
|
|
@@ -32,8 +32,12 @@ export class KupTree {
|
|
|
32
32
|
*/
|
|
33
33
|
this.openedTotalMenu = null;
|
|
34
34
|
this.columnMenuAnchor = null;
|
|
35
|
-
this.selectedNodeString = '';
|
|
36
35
|
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
|
+
this.selectedNode = [];
|
|
37
41
|
/*-------------------------------------------------*/
|
|
38
42
|
/* P r o p s */
|
|
39
43
|
/*-------------------------------------------------*/
|
|
@@ -42,10 +46,6 @@ export class KupTree {
|
|
|
42
46
|
* @default false
|
|
43
47
|
*/
|
|
44
48
|
this.asAccordion = false;
|
|
45
|
-
/**
|
|
46
|
-
* Auto select programmatic selectic node
|
|
47
|
-
*/
|
|
48
|
-
this.autoSelectionNodeMode = true;
|
|
49
49
|
/**
|
|
50
50
|
* Custom style of the component.
|
|
51
51
|
* @default ""
|
|
@@ -125,11 +125,6 @@ export class KupTree {
|
|
|
125
125
|
* Activates the scroll on hover function.
|
|
126
126
|
*/
|
|
127
127
|
this.scrollOnHover = false;
|
|
128
|
-
/**
|
|
129
|
-
* An array of integers containing the path to a selected child.\
|
|
130
|
-
* Groups up the properties SelFirst, SelItem, SelName.
|
|
131
|
-
*/
|
|
132
|
-
this.selectedNode = [];
|
|
133
128
|
/**
|
|
134
129
|
* Shows the tree data as a table.
|
|
135
130
|
*/
|
|
@@ -174,6 +169,7 @@ export class KupTree {
|
|
|
174
169
|
* Reference to the column menu card.
|
|
175
170
|
*/
|
|
176
171
|
this.columnMenuCard = null;
|
|
172
|
+
this.selectedColumn = '';
|
|
177
173
|
this.clickTimeout = [];
|
|
178
174
|
this.sizedColumns = undefined;
|
|
179
175
|
this.filtersColumnMenuInstance = new FiltersColumnMenu();
|
|
@@ -239,6 +235,31 @@ export class KupTree {
|
|
|
239
235
|
}
|
|
240
236
|
}
|
|
241
237
|
}
|
|
238
|
+
/**
|
|
239
|
+
* This method will get the selected nodes of the component.
|
|
240
|
+
*/
|
|
241
|
+
async getSelectedNode() {
|
|
242
|
+
return this.selectedNode;
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* This method will set the selected rows of the component.
|
|
246
|
+
* @param {string|number[]} rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows).
|
|
247
|
+
* @param {boolean} emitEvent - The event will always be emitted unless emitEvent is set to false.
|
|
248
|
+
*/
|
|
249
|
+
async setSelectedNode(treeNodePath, emitEvent) {
|
|
250
|
+
this.selectedNode = treeNodePath
|
|
251
|
+
.split(',')
|
|
252
|
+
.map((treeNodeIndex) => parseInt(treeNodeIndex));
|
|
253
|
+
if (emitEvent !== false) {
|
|
254
|
+
this.kupTreeNodeSelected.emit({
|
|
255
|
+
comp: this,
|
|
256
|
+
id: this.rootElement.id,
|
|
257
|
+
treeNodePath: this.selectedNode,
|
|
258
|
+
treeNode: this.getTreeNode(this.selectedNode),
|
|
259
|
+
columnName: this.selectedColumn,
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
242
263
|
/*-------------------------------------------------*/
|
|
243
264
|
/* W a t c h e r s */
|
|
244
265
|
/*-------------------------------------------------*/
|
|
@@ -255,11 +276,6 @@ export class KupTree {
|
|
|
255
276
|
this.refreshStructureState();
|
|
256
277
|
}
|
|
257
278
|
}
|
|
258
|
-
selectedNodeToStr(newData) {
|
|
259
|
-
if (Array.isArray(newData)) {
|
|
260
|
-
this.selectedNodeString = newData.toString();
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
279
|
/*-------------------------------------------------*/
|
|
264
280
|
/* P u b l i c M e t h o d s */
|
|
265
281
|
/*-------------------------------------------------*/
|
|
@@ -531,7 +547,7 @@ export class KupTree {
|
|
|
531
547
|
this.launchNodeEvent(treeNodePath, tn);
|
|
532
548
|
}
|
|
533
549
|
else {
|
|
534
|
-
this.hdlTreeNodeClick(null, tn, this.
|
|
550
|
+
this.hdlTreeNodeClick(null, tn, this.selectedNodeToString(this.selectedNode));
|
|
535
551
|
}
|
|
536
552
|
}
|
|
537
553
|
}
|
|
@@ -653,34 +669,25 @@ export class KupTree {
|
|
|
653
669
|
return path;
|
|
654
670
|
}
|
|
655
671
|
// When a TreeNode can be selected
|
|
656
|
-
hdlTreeNodeClick(e, treeNodeData, treeNodePath
|
|
672
|
+
hdlTreeNodeClick(e, treeNodeData, treeNodePath) {
|
|
657
673
|
if (this.expansionMode.toLowerCase() ===
|
|
658
674
|
KupTreeExpansionMode.DROPDOWN ||
|
|
659
675
|
(this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE &&
|
|
660
676
|
!treeNodeData.expandable)) {
|
|
661
|
-
const td = e
|
|
662
|
-
? this.getEventPath(e.target).find((el) => {
|
|
663
|
-
if (el.tagName === 'TD')
|
|
664
|
-
return el;
|
|
665
|
-
})
|
|
666
|
-
: null;
|
|
667
677
|
// If this TreeNode is not disabled, then it can be selected and an event is emitted
|
|
668
678
|
if (treeNodeData && !treeNodeData.disabled) {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
.map((treeNodeIndex) => parseInt(treeNodeIndex));
|
|
679
|
+
this.selectedNode = treeNodePath
|
|
680
|
+
.split(',')
|
|
681
|
+
.map((treeNodeIndex) => parseInt(treeNodeIndex));
|
|
673
682
|
this.kupTreeNodeSelected.emit({
|
|
674
683
|
comp: this,
|
|
675
684
|
id: this.rootElement.id,
|
|
676
|
-
treeNodePath:
|
|
677
|
-
.split(',')
|
|
678
|
-
.map((treeNodeIndex) => parseInt(treeNodeIndex)),
|
|
685
|
+
treeNodePath: this.selectedNode,
|
|
679
686
|
treeNode: treeNodeData,
|
|
680
|
-
columnName:
|
|
681
|
-
auto: auto,
|
|
687
|
+
columnName: this.selectedColumn,
|
|
682
688
|
});
|
|
683
689
|
}
|
|
690
|
+
this.selectedColumn = '';
|
|
684
691
|
}
|
|
685
692
|
// If KupTreeExpansionMode.NODE then click is a collapse/expand click
|
|
686
693
|
if (this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE) {
|
|
@@ -775,9 +782,9 @@ export class KupTree {
|
|
|
775
782
|
hasTotals() {
|
|
776
783
|
return this.totals && Object.keys(this.totals).length > 0;
|
|
777
784
|
}
|
|
778
|
-
handleChildren(
|
|
779
|
-
for (let index = 0; index <
|
|
780
|
-
let node =
|
|
785
|
+
handleChildren(treeNode, expand) {
|
|
786
|
+
for (let index = 0; index < treeNode.children.length; index++) {
|
|
787
|
+
let node = treeNode.children[index];
|
|
781
788
|
if (!node.disabled) {
|
|
782
789
|
node.isExpanded = expand;
|
|
783
790
|
if (node.children) {
|
|
@@ -795,7 +802,7 @@ export class KupTree {
|
|
|
795
802
|
if (nodePath && nodePath.length) {
|
|
796
803
|
strToRet = nodePath[0].toString();
|
|
797
804
|
for (let i = 1; i < nodePath.length; i++) {
|
|
798
|
-
strToRet += `,${nodePath[
|
|
805
|
+
strToRet += `,${nodePath[i]}`;
|
|
799
806
|
}
|
|
800
807
|
}
|
|
801
808
|
return strToRet;
|
|
@@ -803,6 +810,21 @@ export class KupTree {
|
|
|
803
810
|
getFilterValueForTooltip(column) {
|
|
804
811
|
return this.filtersColumnMenuInstance.getFilterValueForTooltip(this.filters, column);
|
|
805
812
|
}
|
|
813
|
+
getTreeNode(nodePath) {
|
|
814
|
+
if (!nodePath || nodePath.length == 0) {
|
|
815
|
+
return null;
|
|
816
|
+
}
|
|
817
|
+
let father = this.data;
|
|
818
|
+
let node = null;
|
|
819
|
+
for (let index = 0; index < nodePath.length; index++) {
|
|
820
|
+
if (node) {
|
|
821
|
+
father = node.children;
|
|
822
|
+
}
|
|
823
|
+
const nodeIndex = nodePath[index];
|
|
824
|
+
node = father[nodeIndex];
|
|
825
|
+
}
|
|
826
|
+
return node;
|
|
827
|
+
}
|
|
806
828
|
onRemoveFilter(column) {
|
|
807
829
|
const newFilters = Object.assign({}, this.filters);
|
|
808
830
|
this.filtersColumnMenuInstance.removeFilter(newFilters, column.name);
|
|
@@ -852,6 +874,7 @@ export class KupTree {
|
|
|
852
874
|
this.data.forEach((rootNode) => {
|
|
853
875
|
this.expandCollapseAllNodes(rootNode, this.expanded && !this.useDynamicExpansion);
|
|
854
876
|
});
|
|
877
|
+
this.selectedNode = [];
|
|
855
878
|
}
|
|
856
879
|
}
|
|
857
880
|
createIconElement(CSSClass, icon, iconColor) {
|
|
@@ -859,8 +882,7 @@ export class KupTree {
|
|
|
859
882
|
icon.indexOf('/') > -1 ||
|
|
860
883
|
icon.indexOf('\\') > -1) {
|
|
861
884
|
CSSClass += ' is-image';
|
|
862
|
-
return (h("span", { class: CSSClass },
|
|
863
|
-
h("img", { src: icon })));
|
|
885
|
+
return (h("span", { class: CSSClass }, h("img", { src: icon })));
|
|
864
886
|
}
|
|
865
887
|
else {
|
|
866
888
|
let svg = `url('${getAssetPath(`./assets/svg/${icon}.svg`)}') no-repeat center`;
|
|
@@ -916,9 +938,7 @@ export class KupTree {
|
|
|
916
938
|
this.onRemoveFilter(column);
|
|
917
939
|
} }));
|
|
918
940
|
}
|
|
919
|
-
return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) },
|
|
920
|
-
h("span", { class: "column-title" }, column.title),
|
|
921
|
-
filter));
|
|
941
|
+
return (h("th", { "data-column": column.name, style: this.getCellStyle(column.name, null) }, h("span", { class: "column-title" }, column.title), filter));
|
|
922
942
|
});
|
|
923
943
|
}
|
|
924
944
|
/**
|
|
@@ -1018,20 +1038,13 @@ export class KupTree {
|
|
|
1018
1038
|
}
|
|
1019
1039
|
// When can be expanded OR selected
|
|
1020
1040
|
if (!treeNodeData.disabled) {
|
|
1021
|
-
treeNodeOptions['onClick'] = (
|
|
1022
|
-
|
|
1023
|
-
// otherwise inside setTimeout will be exiting the Shadow DOM scope(causing loss of information, including target).
|
|
1024
|
-
const clone = {};
|
|
1025
|
-
for (const key in e) {
|
|
1026
|
-
clone[key] = e[key];
|
|
1027
|
-
}
|
|
1028
|
-
this.clickTimeout.push(setTimeout(() => this.hdlTreeNodeClick(clone, treeNodeData, treeNodePath, false), 300));
|
|
1041
|
+
treeNodeOptions['onClick'] = () => {
|
|
1042
|
+
this.clickTimeout.push(setTimeout((e) => this.hdlTreeNodeClick(e, treeNodeData, treeNodePath), 300));
|
|
1029
1043
|
};
|
|
1030
1044
|
}
|
|
1031
1045
|
// When a tree node is displayed as a table
|
|
1032
1046
|
let treeNodeCells = null;
|
|
1033
1047
|
let visibleCols = this.getVisibleColumns();
|
|
1034
|
-
const _hasTooltip = !this.kupManager.objects.isEmptyKupObj(treeNodeData.obj);
|
|
1035
1048
|
if (this.showColumns && visibleCols && visibleCols.length) {
|
|
1036
1049
|
treeNodeCells = [];
|
|
1037
1050
|
// Renders all the cells
|
|
@@ -1051,8 +1064,7 @@ export class KupTree {
|
|
|
1051
1064
|
row: treeNodeData,
|
|
1052
1065
|
setSizes: true,
|
|
1053
1066
|
};
|
|
1054
|
-
treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name },
|
|
1055
|
-
h(FCell, Object.assign({}, cellProps))));
|
|
1067
|
+
treeNodeCells.push(h("td", { class: `grid-cell`, "data-cell": cell, "data-column": column.name }, h(FCell, Object.assign({}, cellProps))));
|
|
1056
1068
|
}
|
|
1057
1069
|
else {
|
|
1058
1070
|
treeNodeCells.push(h("td", { class: `grid-cell` }));
|
|
@@ -1101,10 +1113,9 @@ export class KupTree {
|
|
|
1101
1113
|
'kup-tree__node--disabled': treeNodeData.disabled,
|
|
1102
1114
|
'kup-tree__node--first': treeNodeDepth ? false : true,
|
|
1103
1115
|
'kup-tree__node--selected': !treeNodeData.disabled &&
|
|
1104
|
-
treeNodePath ===
|
|
1105
|
-
|
|
1106
|
-
treeNodeCell,
|
|
1107
|
-
treeNodeCells));
|
|
1116
|
+
treeNodePath ===
|
|
1117
|
+
this.selectedNodeToString(this.selectedNode),
|
|
1118
|
+
}, "data-row": treeNodeData, "data-tree-path": treeNodePath }, treeNodeOptions), treeNodeCell, treeNodeCells));
|
|
1108
1119
|
}
|
|
1109
1120
|
closeTotalMenu() {
|
|
1110
1121
|
this.openedTotalMenu = null;
|
|
@@ -1225,14 +1236,9 @@ export class KupTree {
|
|
|
1225
1236
|
else {
|
|
1226
1237
|
value = numberToFormattedStringNumber(this.footer[column.name], column.decimals, column.obj ? column.obj.p : '');
|
|
1227
1238
|
}
|
|
1228
|
-
return (h("td", { "data-column": column.name },
|
|
1229
|
-
totalMenu,
|
|
1230
|
-
h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
1239
|
+
return (h("td", { "data-column": column.name }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
1231
1240
|
});
|
|
1232
|
-
return (h("tfoot", null,
|
|
1233
|
-
h("tr", null,
|
|
1234
|
-
nodesCell,
|
|
1235
|
-
footerCells)));
|
|
1241
|
+
return (h("tfoot", null, h("tr", null, nodesCell, footerCells)));
|
|
1236
1242
|
}
|
|
1237
1243
|
didLoadInteractables() {
|
|
1238
1244
|
this.interactableTouch.push(this.treeWrapperRef);
|
|
@@ -1343,25 +1349,8 @@ export class KupTree {
|
|
|
1343
1349
|
this.kupManager.theme.register(this);
|
|
1344
1350
|
this.columnMenuInstance = new KupColumnMenu();
|
|
1345
1351
|
this.refreshStructureState();
|
|
1346
|
-
// Initializes the selectedNodeString
|
|
1347
|
-
if (Array.isArray(this.selectedNode)) {
|
|
1348
|
-
this.selectedNodeString = this.selectedNode.toString();
|
|
1349
|
-
}
|
|
1350
1352
|
}
|
|
1351
1353
|
componentDidLoad() {
|
|
1352
|
-
if (this.selectedNode &&
|
|
1353
|
-
this.selectedNode.length > 0 &&
|
|
1354
|
-
this.selectedNode[0] >= 0) {
|
|
1355
|
-
let path = this.selectedNode;
|
|
1356
|
-
let tn = this.data[path[0]];
|
|
1357
|
-
if (path.length > 1) {
|
|
1358
|
-
path = path.slice(1);
|
|
1359
|
-
this.launchNodeEvent(path, tn);
|
|
1360
|
-
}
|
|
1361
|
-
else {
|
|
1362
|
-
this.hdlTreeNodeClick(null, tn, this.selectedNodeString, true);
|
|
1363
|
-
}
|
|
1364
|
-
}
|
|
1365
1354
|
this.didLoadInteractables();
|
|
1366
1355
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
1367
1356
|
this.kupManager.resize.observe(this.rootElement);
|
|
@@ -1423,8 +1412,7 @@ export class KupTree {
|
|
|
1423
1412
|
}
|
|
1424
1413
|
else {
|
|
1425
1414
|
// 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))));
|
|
1415
|
+
treeNodes.push(h("tr", null, h("td", null, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1428
1416
|
}
|
|
1429
1417
|
// Calculates if header must be shown or not
|
|
1430
1418
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
@@ -1433,30 +1421,20 @@ export class KupTree {
|
|
|
1433
1421
|
this.data &&
|
|
1434
1422
|
this.data.length &&
|
|
1435
1423
|
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)))));
|
|
1424
|
+
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) => {
|
|
1425
|
+
window.clearTimeout(this.globalFilterTimeout);
|
|
1426
|
+
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1427
|
+
} })));
|
|
1428
|
+
}
|
|
1429
|
+
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 =
|
|
1430
|
+
el) }, h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
1431
|
+
e.preventDefault();
|
|
1432
|
+
} }, h("thead", { class: {
|
|
1433
|
+
'header--is-visible': visibleHeader,
|
|
1434
|
+
} }, h("tr", null, visibleHeader ? this.renderHeader() : null)), h("tbody", null, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
1435
|
+
this.columns
|
|
1436
|
+
? this.renderFooter()
|
|
1437
|
+
: null)))));
|
|
1460
1438
|
}
|
|
1461
1439
|
disconnectedCallback() {
|
|
1462
1440
|
this.kupManager.language.register(this);
|
|
@@ -1476,1094 +1454,1117 @@ export class KupTree {
|
|
|
1476
1454
|
}
|
|
1477
1455
|
static get is() { return "kup-tree"; }
|
|
1478
1456
|
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
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
"defaultValue": "true"
|
|
1524
|
-
},
|
|
1525
|
-
"columns": {
|
|
1526
|
-
"type": "unknown",
|
|
1527
|
-
"mutable": true,
|
|
1528
|
-
"complexType": {
|
|
1529
|
-
"original": "KupDataColumn[]",
|
|
1530
|
-
"resolved": "KupDataColumn[]",
|
|
1531
|
-
"references": {
|
|
1532
|
-
"KupDataColumn": {
|
|
1533
|
-
"location": "import",
|
|
1534
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
},
|
|
1538
|
-
"required": false,
|
|
1539
|
-
"optional": true,
|
|
1540
|
-
"docs": {
|
|
1541
|
-
"tags": [],
|
|
1542
|
-
"text": "The columns of the tree when tree visualization is active."
|
|
1543
|
-
}
|
|
1544
|
-
},
|
|
1545
|
-
"customStyle": {
|
|
1546
|
-
"type": "string",
|
|
1547
|
-
"mutable": false,
|
|
1548
|
-
"complexType": {
|
|
1549
|
-
"original": "string",
|
|
1550
|
-
"resolved": "string",
|
|
1551
|
-
"references": {}
|
|
1552
|
-
},
|
|
1553
|
-
"required": false,
|
|
1554
|
-
"optional": false,
|
|
1555
|
-
"docs": {
|
|
1556
|
-
"tags": [{
|
|
1557
|
-
"name": "default",
|
|
1558
|
-
"text": "\"\""
|
|
1559
|
-
}, {
|
|
1560
|
-
"name": "see",
|
|
1561
|
-
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
1562
|
-
}],
|
|
1563
|
-
"text": "Custom style of the component."
|
|
1564
|
-
},
|
|
1565
|
-
"attribute": "custom-style",
|
|
1566
|
-
"reflect": false,
|
|
1567
|
-
"defaultValue": "''"
|
|
1568
|
-
},
|
|
1569
|
-
"data": {
|
|
1570
|
-
"type": "unknown",
|
|
1571
|
-
"mutable": true,
|
|
1572
|
-
"complexType": {
|
|
1573
|
-
"original": "KupTreeNode[]",
|
|
1574
|
-
"resolved": "KupTreeNode[]",
|
|
1575
|
-
"references": {
|
|
1576
|
-
"KupTreeNode": {
|
|
1577
|
-
"location": "import",
|
|
1578
|
-
"path": "./kup-tree-declarations"
|
|
1457
|
+
static get originalStyleUrls() {
|
|
1458
|
+
return {
|
|
1459
|
+
"$": ["kup-tree.scss"]
|
|
1460
|
+
};
|
|
1461
|
+
}
|
|
1462
|
+
static get styleUrls() {
|
|
1463
|
+
return {
|
|
1464
|
+
"$": ["kup-tree.css"]
|
|
1465
|
+
};
|
|
1466
|
+
}
|
|
1467
|
+
static get properties() {
|
|
1468
|
+
return {
|
|
1469
|
+
"asAccordion": {
|
|
1470
|
+
"type": "boolean",
|
|
1471
|
+
"mutable": false,
|
|
1472
|
+
"complexType": {
|
|
1473
|
+
"original": "boolean",
|
|
1474
|
+
"resolved": "boolean",
|
|
1475
|
+
"references": {}
|
|
1476
|
+
},
|
|
1477
|
+
"required": false,
|
|
1478
|
+
"optional": false,
|
|
1479
|
+
"docs": {
|
|
1480
|
+
"tags": [{
|
|
1481
|
+
"name": "default",
|
|
1482
|
+
"text": "false"
|
|
1483
|
+
}],
|
|
1484
|
+
"text": "When enabled, the first level of depth will give an accordion look to nodes."
|
|
1485
|
+
},
|
|
1486
|
+
"attribute": "as-accordion",
|
|
1487
|
+
"reflect": true,
|
|
1488
|
+
"defaultValue": "false"
|
|
1489
|
+
},
|
|
1490
|
+
"columns": {
|
|
1491
|
+
"type": "unknown",
|
|
1492
|
+
"mutable": true,
|
|
1493
|
+
"complexType": {
|
|
1494
|
+
"original": "KupDataColumn[]",
|
|
1495
|
+
"resolved": "KupDataColumn[]",
|
|
1496
|
+
"references": {
|
|
1497
|
+
"KupDataColumn": {
|
|
1498
|
+
"location": "import",
|
|
1499
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
1500
|
+
}
|
|
1579
1501
|
}
|
|
1502
|
+
},
|
|
1503
|
+
"required": false,
|
|
1504
|
+
"optional": true,
|
|
1505
|
+
"docs": {
|
|
1506
|
+
"tags": [],
|
|
1507
|
+
"text": "The columns of the tree when tree visualization is active."
|
|
1580
1508
|
}
|
|
1581
1509
|
},
|
|
1582
|
-
"
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
"
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1510
|
+
"customStyle": {
|
|
1511
|
+
"type": "string",
|
|
1512
|
+
"mutable": false,
|
|
1513
|
+
"complexType": {
|
|
1514
|
+
"original": "string",
|
|
1515
|
+
"resolved": "string",
|
|
1516
|
+
"references": {}
|
|
1517
|
+
},
|
|
1518
|
+
"required": false,
|
|
1519
|
+
"optional": false,
|
|
1520
|
+
"docs": {
|
|
1521
|
+
"tags": [{
|
|
1522
|
+
"name": "default",
|
|
1523
|
+
"text": "\"\""
|
|
1524
|
+
}, {
|
|
1525
|
+
"name": "see",
|
|
1526
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
1527
|
+
}],
|
|
1528
|
+
"text": "Custom style of the component."
|
|
1529
|
+
},
|
|
1530
|
+
"attribute": "custom-style",
|
|
1531
|
+
"reflect": false,
|
|
1532
|
+
"defaultValue": "''"
|
|
1533
|
+
},
|
|
1534
|
+
"data": {
|
|
1535
|
+
"type": "unknown",
|
|
1536
|
+
"mutable": true,
|
|
1537
|
+
"complexType": {
|
|
1538
|
+
"original": "KupTreeNode[]",
|
|
1539
|
+
"resolved": "KupTreeNode[]",
|
|
1540
|
+
"references": {
|
|
1541
|
+
"KupTreeNode": {
|
|
1542
|
+
"location": "import",
|
|
1543
|
+
"path": "./kup-tree-declarations"
|
|
1544
|
+
}
|
|
1600
1545
|
}
|
|
1601
|
-
}
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
"
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
"location": "import",
|
|
1622
|
-
"path": "./kup-tree-declarations"
|
|
1623
|
-
},
|
|
1624
|
-
"TreeNodePath": {
|
|
1625
|
-
"location": "import",
|
|
1626
|
-
"path": "./kup-tree-declarations"
|
|
1627
|
-
},
|
|
1628
|
-
"Promise": {
|
|
1629
|
-
"location": "global"
|
|
1546
|
+
},
|
|
1547
|
+
"required": false,
|
|
1548
|
+
"optional": false,
|
|
1549
|
+
"docs": {
|
|
1550
|
+
"tags": [],
|
|
1551
|
+
"text": "The json data used to populate the tree view: the basic, always visible tree nodes."
|
|
1552
|
+
},
|
|
1553
|
+
"defaultValue": "[]"
|
|
1554
|
+
},
|
|
1555
|
+
"density": {
|
|
1556
|
+
"type": "string",
|
|
1557
|
+
"mutable": false,
|
|
1558
|
+
"complexType": {
|
|
1559
|
+
"original": "FCellPadding",
|
|
1560
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
1561
|
+
"references": {
|
|
1562
|
+
"FCellPadding": {
|
|
1563
|
+
"location": "import",
|
|
1564
|
+
"path": "../../f-components/f-cell/f-cell-declarations"
|
|
1565
|
+
}
|
|
1630
1566
|
}
|
|
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
|
-
"attribute": "editable-data",
|
|
1662
|
-
"reflect": false,
|
|
1663
|
-
"defaultValue": "false"
|
|
1664
|
-
},
|
|
1665
|
-
"enableExtraColumns": {
|
|
1666
|
-
"type": "boolean",
|
|
1667
|
-
"mutable": false,
|
|
1668
|
-
"complexType": {
|
|
1669
|
-
"original": "boolean",
|
|
1670
|
-
"resolved": "boolean",
|
|
1671
|
-
"references": {}
|
|
1672
|
-
},
|
|
1673
|
-
"required": false,
|
|
1674
|
-
"optional": false,
|
|
1675
|
-
"docs": {
|
|
1676
|
-
"tags": [],
|
|
1677
|
-
"text": "Enables the extracolumns add buttons."
|
|
1678
|
-
},
|
|
1679
|
-
"attribute": "enable-extra-columns",
|
|
1680
|
-
"reflect": false,
|
|
1681
|
-
"defaultValue": "true"
|
|
1682
|
-
},
|
|
1683
|
-
"expanded": {
|
|
1684
|
-
"type": "boolean",
|
|
1685
|
-
"mutable": false,
|
|
1686
|
-
"complexType": {
|
|
1687
|
-
"original": "boolean",
|
|
1688
|
-
"resolved": "boolean",
|
|
1689
|
-
"references": {}
|
|
1690
|
-
},
|
|
1691
|
-
"required": false,
|
|
1692
|
-
"optional": false,
|
|
1693
|
-
"docs": {
|
|
1694
|
-
"tags": [],
|
|
1695
|
-
"text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
|
|
1696
|
-
},
|
|
1697
|
-
"attribute": "expanded",
|
|
1698
|
-
"reflect": false,
|
|
1699
|
-
"defaultValue": "false"
|
|
1700
|
-
},
|
|
1701
|
-
"expansionMode": {
|
|
1702
|
-
"type": "string",
|
|
1703
|
-
"mutable": false,
|
|
1704
|
-
"complexType": {
|
|
1705
|
-
"original": "KupTreeExpansionMode",
|
|
1706
|
-
"resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
|
|
1707
|
-
"references": {
|
|
1708
|
-
"KupTreeExpansionMode": {
|
|
1709
|
-
"location": "import",
|
|
1710
|
-
"path": "./kup-tree-declarations"
|
|
1567
|
+
},
|
|
1568
|
+
"required": false,
|
|
1569
|
+
"optional": false,
|
|
1570
|
+
"docs": {
|
|
1571
|
+
"tags": [],
|
|
1572
|
+
"text": "The density of the rows, defaults at 'medium' and can also be set to 'dense' or 'wide'."
|
|
1573
|
+
},
|
|
1574
|
+
"attribute": "density",
|
|
1575
|
+
"reflect": false,
|
|
1576
|
+
"defaultValue": "FCellPadding.MEDIUM"
|
|
1577
|
+
},
|
|
1578
|
+
"dynamicExpansionCallback": {
|
|
1579
|
+
"type": "unknown",
|
|
1580
|
+
"mutable": false,
|
|
1581
|
+
"complexType": {
|
|
1582
|
+
"original": "(\r\n treeNodeToExpand: KupTreeNode,\r\n treeNodePath: TreeNodePath\r\n ) => Promise<KupTreeNode[]> | undefined",
|
|
1583
|
+
"resolved": "(treeNodeToExpand: KupTreeNode, treeNodePath: TreeNodePath) => Promise<KupTreeNode[]>",
|
|
1584
|
+
"references": {
|
|
1585
|
+
"KupTreeNode": {
|
|
1586
|
+
"location": "import",
|
|
1587
|
+
"path": "./kup-tree-declarations"
|
|
1588
|
+
},
|
|
1589
|
+
"TreeNodePath": {
|
|
1590
|
+
"location": "import",
|
|
1591
|
+
"path": "./kup-tree-declarations"
|
|
1592
|
+
},
|
|
1593
|
+
"Promise": {
|
|
1594
|
+
"location": "global"
|
|
1595
|
+
}
|
|
1711
1596
|
}
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
"
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
"
|
|
1733
|
-
"
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1597
|
+
},
|
|
1598
|
+
"required": false,
|
|
1599
|
+
"optional": false,
|
|
1600
|
+
"docs": {
|
|
1601
|
+
"tags": [{
|
|
1602
|
+
"name": "see",
|
|
1603
|
+
"text": "useDynamicExpansion"
|
|
1604
|
+
}],
|
|
1605
|
+
"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."
|
|
1606
|
+
},
|
|
1607
|
+
"defaultValue": "undefined"
|
|
1608
|
+
},
|
|
1609
|
+
"editableData": {
|
|
1610
|
+
"type": "boolean",
|
|
1611
|
+
"mutable": false,
|
|
1612
|
+
"complexType": {
|
|
1613
|
+
"original": "boolean",
|
|
1614
|
+
"resolved": "boolean",
|
|
1615
|
+
"references": {}
|
|
1616
|
+
},
|
|
1617
|
+
"required": false,
|
|
1618
|
+
"optional": false,
|
|
1619
|
+
"docs": {
|
|
1620
|
+
"tags": [{
|
|
1621
|
+
"name": "default",
|
|
1622
|
+
"text": "false"
|
|
1623
|
+
}],
|
|
1624
|
+
"text": "When set to true, editable cells will be rendered using input components."
|
|
1625
|
+
},
|
|
1626
|
+
"attribute": "editable-data",
|
|
1627
|
+
"reflect": false,
|
|
1628
|
+
"defaultValue": "false"
|
|
1629
|
+
},
|
|
1630
|
+
"enableExtraColumns": {
|
|
1631
|
+
"type": "boolean",
|
|
1632
|
+
"mutable": false,
|
|
1633
|
+
"complexType": {
|
|
1634
|
+
"original": "boolean",
|
|
1635
|
+
"resolved": "boolean",
|
|
1636
|
+
"references": {}
|
|
1637
|
+
},
|
|
1638
|
+
"required": false,
|
|
1639
|
+
"optional": false,
|
|
1640
|
+
"docs": {
|
|
1641
|
+
"tags": [],
|
|
1642
|
+
"text": "Enables the extracolumns add buttons."
|
|
1643
|
+
},
|
|
1644
|
+
"attribute": "enable-extra-columns",
|
|
1645
|
+
"reflect": false,
|
|
1646
|
+
"defaultValue": "true"
|
|
1647
|
+
},
|
|
1648
|
+
"expanded": {
|
|
1649
|
+
"type": "boolean",
|
|
1650
|
+
"mutable": false,
|
|
1651
|
+
"complexType": {
|
|
1652
|
+
"original": "boolean",
|
|
1653
|
+
"resolved": "boolean",
|
|
1654
|
+
"references": {}
|
|
1655
|
+
},
|
|
1656
|
+
"required": false,
|
|
1657
|
+
"optional": false,
|
|
1658
|
+
"docs": {
|
|
1659
|
+
"tags": [],
|
|
1660
|
+
"text": "Flag: the nodes of the whole tree must be already expanded upon loading. Disabled nodes do NOT get expanded."
|
|
1661
|
+
},
|
|
1662
|
+
"attribute": "expanded",
|
|
1663
|
+
"reflect": false,
|
|
1664
|
+
"defaultValue": "false"
|
|
1665
|
+
},
|
|
1666
|
+
"expansionMode": {
|
|
1667
|
+
"type": "string",
|
|
1668
|
+
"mutable": false,
|
|
1669
|
+
"complexType": {
|
|
1670
|
+
"original": "KupTreeExpansionMode",
|
|
1671
|
+
"resolved": "KupTreeExpansionMode.DROPDOWN | KupTreeExpansionMode.NODE",
|
|
1672
|
+
"references": {
|
|
1673
|
+
"KupTreeExpansionMode": {
|
|
1674
|
+
"location": "import",
|
|
1675
|
+
"path": "./kup-tree-declarations"
|
|
1676
|
+
}
|
|
1737
1677
|
}
|
|
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
|
-
"reflect": false,
|
|
1764
|
-
"defaultValue": "false"
|
|
1765
|
-
},
|
|
1766
|
-
"globalFilterValue": {
|
|
1767
|
-
"type": "string",
|
|
1768
|
-
"mutable": true,
|
|
1769
|
-
"complexType": {
|
|
1770
|
-
"original": "string",
|
|
1771
|
-
"resolved": "string",
|
|
1772
|
-
"references": {}
|
|
1773
|
-
},
|
|
1774
|
-
"required": false,
|
|
1775
|
-
"optional": false,
|
|
1776
|
-
"docs": {
|
|
1777
|
-
"tags": [],
|
|
1778
|
-
"text": "The value of the global filter."
|
|
1779
|
-
},
|
|
1780
|
-
"attribute": "global-filter-value",
|
|
1781
|
-
"reflect": true,
|
|
1782
|
-
"defaultValue": "''"
|
|
1783
|
-
},
|
|
1784
|
-
"globalFilterMode": {
|
|
1785
|
-
"type": "string",
|
|
1786
|
-
"mutable": false,
|
|
1787
|
-
"complexType": {
|
|
1788
|
-
"original": "KupGlobalFilterMode",
|
|
1789
|
-
"resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
|
|
1790
|
-
"references": {
|
|
1791
|
-
"KupGlobalFilterMode": {
|
|
1792
|
-
"location": "import",
|
|
1793
|
-
"path": "../../utils/filters/filters-declarations"
|
|
1678
|
+
},
|
|
1679
|
+
"required": false,
|
|
1680
|
+
"optional": false,
|
|
1681
|
+
"docs": {
|
|
1682
|
+
"tags": [{
|
|
1683
|
+
"name": "default",
|
|
1684
|
+
"text": "KupTreeExpansionMode.DROPDOWN"
|
|
1685
|
+
}],
|
|
1686
|
+
"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."
|
|
1687
|
+
},
|
|
1688
|
+
"attribute": "expansion-mode",
|
|
1689
|
+
"reflect": false,
|
|
1690
|
+
"defaultValue": "KupTreeExpansionMode.DROPDOWN"
|
|
1691
|
+
},
|
|
1692
|
+
"filters": {
|
|
1693
|
+
"type": "unknown",
|
|
1694
|
+
"mutable": true,
|
|
1695
|
+
"complexType": {
|
|
1696
|
+
"original": "GenericFilter",
|
|
1697
|
+
"resolved": "GenericFilter",
|
|
1698
|
+
"references": {
|
|
1699
|
+
"GenericFilter": {
|
|
1700
|
+
"location": "import",
|
|
1701
|
+
"path": "../../utils/filters/filters-declarations"
|
|
1702
|
+
}
|
|
1794
1703
|
}
|
|
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
|
-
"resolved": "boolean",
|
|
1852
|
-
"references": {}
|
|
1853
|
-
},
|
|
1854
|
-
"required": false,
|
|
1855
|
-
"optional": false,
|
|
1856
|
-
"docs": {
|
|
1857
|
-
"tags": [{
|
|
1858
|
-
"name": "default",
|
|
1859
|
-
"text": "true"
|
|
1860
|
-
}],
|
|
1861
|
-
"text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
|
|
1862
|
-
},
|
|
1863
|
-
"attribute": "ripple",
|
|
1864
|
-
"reflect": false,
|
|
1865
|
-
"defaultValue": "true"
|
|
1866
|
-
},
|
|
1867
|
-
"scrollOnHover": {
|
|
1868
|
-
"type": "boolean",
|
|
1869
|
-
"mutable": false,
|
|
1870
|
-
"complexType": {
|
|
1871
|
-
"original": "boolean",
|
|
1872
|
-
"resolved": "boolean",
|
|
1873
|
-
"references": {}
|
|
1874
|
-
},
|
|
1875
|
-
"required": false,
|
|
1876
|
-
"optional": false,
|
|
1877
|
-
"docs": {
|
|
1878
|
-
"tags": [],
|
|
1879
|
-
"text": "Activates the scroll on hover function."
|
|
1880
|
-
},
|
|
1881
|
-
"attribute": "scroll-on-hover",
|
|
1882
|
-
"reflect": false,
|
|
1883
|
-
"defaultValue": "false"
|
|
1884
|
-
},
|
|
1885
|
-
"selectedNode": {
|
|
1886
|
-
"type": "unknown",
|
|
1887
|
-
"mutable": true,
|
|
1888
|
-
"complexType": {
|
|
1889
|
-
"original": "TreeNodePath",
|
|
1890
|
-
"resolved": "number[]",
|
|
1891
|
-
"references": {
|
|
1892
|
-
"TreeNodePath": {
|
|
1893
|
-
"location": "import",
|
|
1894
|
-
"path": "./kup-tree-declarations"
|
|
1704
|
+
},
|
|
1705
|
+
"required": false,
|
|
1706
|
+
"optional": false,
|
|
1707
|
+
"docs": {
|
|
1708
|
+
"tags": [],
|
|
1709
|
+
"text": "List of filters set by the user."
|
|
1710
|
+
},
|
|
1711
|
+
"defaultValue": "{}"
|
|
1712
|
+
},
|
|
1713
|
+
"globalFilter": {
|
|
1714
|
+
"type": "boolean",
|
|
1715
|
+
"mutable": false,
|
|
1716
|
+
"complexType": {
|
|
1717
|
+
"original": "boolean",
|
|
1718
|
+
"resolved": "boolean",
|
|
1719
|
+
"references": {}
|
|
1720
|
+
},
|
|
1721
|
+
"required": false,
|
|
1722
|
+
"optional": false,
|
|
1723
|
+
"docs": {
|
|
1724
|
+
"tags": [],
|
|
1725
|
+
"text": "When set to true it activates the global filter."
|
|
1726
|
+
},
|
|
1727
|
+
"attribute": "global-filter",
|
|
1728
|
+
"reflect": false,
|
|
1729
|
+
"defaultValue": "false"
|
|
1730
|
+
},
|
|
1731
|
+
"globalFilterValue": {
|
|
1732
|
+
"type": "string",
|
|
1733
|
+
"mutable": true,
|
|
1734
|
+
"complexType": {
|
|
1735
|
+
"original": "string",
|
|
1736
|
+
"resolved": "string",
|
|
1737
|
+
"references": {}
|
|
1738
|
+
},
|
|
1739
|
+
"required": false,
|
|
1740
|
+
"optional": false,
|
|
1741
|
+
"docs": {
|
|
1742
|
+
"tags": [],
|
|
1743
|
+
"text": "The value of the global filter."
|
|
1744
|
+
},
|
|
1745
|
+
"attribute": "global-filter-value",
|
|
1746
|
+
"reflect": true,
|
|
1747
|
+
"defaultValue": "''"
|
|
1748
|
+
},
|
|
1749
|
+
"globalFilterMode": {
|
|
1750
|
+
"type": "string",
|
|
1751
|
+
"mutable": false,
|
|
1752
|
+
"complexType": {
|
|
1753
|
+
"original": "KupGlobalFilterMode",
|
|
1754
|
+
"resolved": "KupGlobalFilterMode.HIGHLIGHT | KupGlobalFilterMode.SIMPLE",
|
|
1755
|
+
"references": {
|
|
1756
|
+
"KupGlobalFilterMode": {
|
|
1757
|
+
"location": "import",
|
|
1758
|
+
"path": "../../utils/filters/filters-declarations"
|
|
1759
|
+
}
|
|
1895
1760
|
}
|
|
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
|
-
"
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
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
|
-
"
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
1761
|
+
},
|
|
1762
|
+
"required": false,
|
|
1763
|
+
"optional": false,
|
|
1764
|
+
"docs": {
|
|
1765
|
+
"tags": [],
|
|
1766
|
+
"text": "The mode of the global filter (default SIMPLE)"
|
|
1767
|
+
},
|
|
1768
|
+
"attribute": "global-filter-mode",
|
|
1769
|
+
"reflect": false,
|
|
1770
|
+
"defaultValue": "KupGlobalFilterMode.SIMPLE"
|
|
1771
|
+
},
|
|
1772
|
+
"preventXScroll": {
|
|
1773
|
+
"type": "boolean",
|
|
1774
|
+
"mutable": false,
|
|
1775
|
+
"complexType": {
|
|
1776
|
+
"original": "boolean",
|
|
1777
|
+
"resolved": "boolean",
|
|
1778
|
+
"references": {}
|
|
1779
|
+
},
|
|
1780
|
+
"required": false,
|
|
1781
|
+
"optional": false,
|
|
1782
|
+
"docs": {
|
|
1783
|
+
"tags": [{
|
|
1784
|
+
"name": "default",
|
|
1785
|
+
"text": "false;"
|
|
1786
|
+
}],
|
|
1787
|
+
"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."
|
|
1788
|
+
},
|
|
1789
|
+
"attribute": "prevent-x-scroll",
|
|
1790
|
+
"reflect": true,
|
|
1791
|
+
"defaultValue": "false"
|
|
1792
|
+
},
|
|
1793
|
+
"removableColumns": {
|
|
1794
|
+
"type": "boolean",
|
|
1795
|
+
"mutable": false,
|
|
1796
|
+
"complexType": {
|
|
1797
|
+
"original": "boolean",
|
|
1798
|
+
"resolved": "boolean",
|
|
1799
|
+
"references": {}
|
|
1800
|
+
},
|
|
1801
|
+
"required": false,
|
|
1802
|
+
"optional": false,
|
|
1803
|
+
"docs": {
|
|
1804
|
+
"tags": [],
|
|
1805
|
+
"text": "Sets the possibility to remove the selected column."
|
|
1806
|
+
},
|
|
1807
|
+
"attribute": "removable-columns",
|
|
1808
|
+
"reflect": false,
|
|
1809
|
+
"defaultValue": "true"
|
|
1810
|
+
},
|
|
1811
|
+
"ripple": {
|
|
1812
|
+
"type": "boolean",
|
|
1813
|
+
"mutable": false,
|
|
1814
|
+
"complexType": {
|
|
1815
|
+
"original": "boolean",
|
|
1816
|
+
"resolved": "boolean",
|
|
1817
|
+
"references": {}
|
|
1818
|
+
},
|
|
1819
|
+
"required": false,
|
|
1820
|
+
"optional": false,
|
|
1821
|
+
"docs": {
|
|
1822
|
+
"tags": [{
|
|
1823
|
+
"name": "default",
|
|
1824
|
+
"text": "true"
|
|
1825
|
+
}],
|
|
1826
|
+
"text": "When enabled displays Material's ripple effect on nodes (only when no columns are displayed)."
|
|
1827
|
+
},
|
|
1828
|
+
"attribute": "ripple",
|
|
1829
|
+
"reflect": false,
|
|
1830
|
+
"defaultValue": "true"
|
|
1831
|
+
},
|
|
1832
|
+
"scrollOnHover": {
|
|
1833
|
+
"type": "boolean",
|
|
1834
|
+
"mutable": false,
|
|
1835
|
+
"complexType": {
|
|
1836
|
+
"original": "boolean",
|
|
1837
|
+
"resolved": "boolean",
|
|
1838
|
+
"references": {}
|
|
1839
|
+
},
|
|
1840
|
+
"required": false,
|
|
1841
|
+
"optional": false,
|
|
1842
|
+
"docs": {
|
|
1843
|
+
"tags": [],
|
|
1844
|
+
"text": "Activates the scroll on hover function."
|
|
1845
|
+
},
|
|
1846
|
+
"attribute": "scroll-on-hover",
|
|
1847
|
+
"reflect": false,
|
|
1848
|
+
"defaultValue": "false"
|
|
1849
|
+
},
|
|
1850
|
+
"showColumns": {
|
|
1851
|
+
"type": "boolean",
|
|
1852
|
+
"mutable": true,
|
|
1853
|
+
"complexType": {
|
|
1854
|
+
"original": "boolean",
|
|
1855
|
+
"resolved": "boolean",
|
|
1856
|
+
"references": {}
|
|
1857
|
+
},
|
|
1858
|
+
"required": false,
|
|
1859
|
+
"optional": false,
|
|
1860
|
+
"docs": {
|
|
1861
|
+
"tags": [],
|
|
1862
|
+
"text": "Shows the tree data as a table."
|
|
1863
|
+
},
|
|
1864
|
+
"attribute": "show-columns",
|
|
1865
|
+
"reflect": false,
|
|
1866
|
+
"defaultValue": "false"
|
|
1867
|
+
},
|
|
1868
|
+
"showFilters": {
|
|
1869
|
+
"type": "boolean",
|
|
1870
|
+
"mutable": false,
|
|
1871
|
+
"complexType": {
|
|
1872
|
+
"original": "boolean",
|
|
1873
|
+
"resolved": "boolean",
|
|
1874
|
+
"references": {}
|
|
1875
|
+
},
|
|
1876
|
+
"required": false,
|
|
1877
|
+
"optional": false,
|
|
1878
|
+
"docs": {
|
|
1879
|
+
"tags": [],
|
|
1880
|
+
"text": "When set to true enables the column filters."
|
|
1881
|
+
},
|
|
1882
|
+
"attribute": "show-filters",
|
|
1883
|
+
"reflect": false,
|
|
1884
|
+
"defaultValue": "true"
|
|
1885
|
+
},
|
|
1886
|
+
"showFooter": {
|
|
1887
|
+
"type": "boolean",
|
|
1888
|
+
"mutable": false,
|
|
1889
|
+
"complexType": {
|
|
1890
|
+
"original": "boolean",
|
|
1891
|
+
"resolved": "boolean",
|
|
1892
|
+
"references": {}
|
|
1893
|
+
},
|
|
1894
|
+
"required": false,
|
|
1895
|
+
"optional": false,
|
|
1896
|
+
"docs": {
|
|
1897
|
+
"tags": [],
|
|
1898
|
+
"text": "When set to true shows the footer."
|
|
1899
|
+
},
|
|
1900
|
+
"attribute": "show-footer",
|
|
1901
|
+
"reflect": false,
|
|
1902
|
+
"defaultValue": "false"
|
|
1903
|
+
},
|
|
1904
|
+
"showHeader": {
|
|
1905
|
+
"type": "boolean",
|
|
1906
|
+
"mutable": true,
|
|
1907
|
+
"complexType": {
|
|
1908
|
+
"original": "boolean",
|
|
1909
|
+
"resolved": "boolean",
|
|
1910
|
+
"references": {}
|
|
1911
|
+
},
|
|
1912
|
+
"required": false,
|
|
1913
|
+
"optional": false,
|
|
1914
|
+
"docs": {
|
|
1915
|
+
"tags": [{
|
|
1916
|
+
"name": "see",
|
|
1917
|
+
"text": "showColumns"
|
|
1918
|
+
}],
|
|
1919
|
+
"text": "Flag: shows the header of the tree when the tree is displayed as a table."
|
|
1920
|
+
},
|
|
1921
|
+
"attribute": "show-header",
|
|
1922
|
+
"reflect": false,
|
|
1923
|
+
"defaultValue": "false"
|
|
1924
|
+
},
|
|
1925
|
+
"showIcons": {
|
|
1926
|
+
"type": "boolean",
|
|
1927
|
+
"mutable": false,
|
|
1928
|
+
"complexType": {
|
|
1929
|
+
"original": "boolean",
|
|
1930
|
+
"resolved": "boolean",
|
|
1931
|
+
"references": {}
|
|
1932
|
+
},
|
|
1933
|
+
"required": false,
|
|
1934
|
+
"optional": false,
|
|
1935
|
+
"docs": {
|
|
1936
|
+
"tags": [],
|
|
1937
|
+
"text": "Shows the icons of the nodes."
|
|
1938
|
+
},
|
|
1939
|
+
"attribute": "show-icons",
|
|
1940
|
+
"reflect": false,
|
|
1941
|
+
"defaultValue": "true"
|
|
1942
|
+
},
|
|
1943
|
+
"stateId": {
|
|
1944
|
+
"type": "string",
|
|
1945
|
+
"mutable": false,
|
|
1946
|
+
"complexType": {
|
|
1947
|
+
"original": "string",
|
|
1948
|
+
"resolved": "string",
|
|
1949
|
+
"references": {}
|
|
1950
|
+
},
|
|
1951
|
+
"required": false,
|
|
1952
|
+
"optional": false,
|
|
1953
|
+
"docs": {
|
|
1954
|
+
"tags": [],
|
|
1955
|
+
"text": ""
|
|
1956
|
+
},
|
|
1957
|
+
"attribute": "state-id",
|
|
1958
|
+
"reflect": false,
|
|
1959
|
+
"defaultValue": "''"
|
|
1960
|
+
},
|
|
1961
|
+
"store": {
|
|
1962
|
+
"type": "unknown",
|
|
1963
|
+
"mutable": false,
|
|
1964
|
+
"complexType": {
|
|
1965
|
+
"original": "KupStore",
|
|
1966
|
+
"resolved": "KupStore",
|
|
1967
|
+
"references": {
|
|
1968
|
+
"KupStore": {
|
|
1969
|
+
"location": "import",
|
|
1970
|
+
"path": "../kup-state/kup-store"
|
|
1971
|
+
}
|
|
2027
1972
|
}
|
|
1973
|
+
},
|
|
1974
|
+
"required": false,
|
|
1975
|
+
"optional": false,
|
|
1976
|
+
"docs": {
|
|
1977
|
+
"tags": [],
|
|
1978
|
+
"text": ""
|
|
2028
1979
|
}
|
|
2029
1980
|
},
|
|
2030
|
-
"
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
"
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
"
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
"
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
"original": "TotalsMap",
|
|
2063
|
-
"resolved": "TotalsMap",
|
|
2064
|
-
"references": {
|
|
2065
|
-
"TotalsMap": {
|
|
2066
|
-
"location": "import",
|
|
2067
|
-
"path": "./../kup-data-table/kup-data-table-declarations"
|
|
1981
|
+
"useDynamicExpansion": {
|
|
1982
|
+
"type": "boolean",
|
|
1983
|
+
"mutable": false,
|
|
1984
|
+
"complexType": {
|
|
1985
|
+
"original": "boolean",
|
|
1986
|
+
"resolved": "boolean",
|
|
1987
|
+
"references": {}
|
|
1988
|
+
},
|
|
1989
|
+
"required": false,
|
|
1990
|
+
"optional": false,
|
|
1991
|
+
"docs": {
|
|
1992
|
+
"tags": [{
|
|
1993
|
+
"name": "see",
|
|
1994
|
+
"text": "dynamicExpansionCallback"
|
|
1995
|
+
}],
|
|
1996
|
+
"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:"
|
|
1997
|
+
},
|
|
1998
|
+
"attribute": "use-dynamic-expansion",
|
|
1999
|
+
"reflect": false,
|
|
2000
|
+
"defaultValue": "false"
|
|
2001
|
+
},
|
|
2002
|
+
"totals": {
|
|
2003
|
+
"type": "unknown",
|
|
2004
|
+
"mutable": true,
|
|
2005
|
+
"complexType": {
|
|
2006
|
+
"original": "TotalsMap",
|
|
2007
|
+
"resolved": "TotalsMap",
|
|
2008
|
+
"references": {
|
|
2009
|
+
"TotalsMap": {
|
|
2010
|
+
"location": "import",
|
|
2011
|
+
"path": "./../kup-data-table/kup-data-table-declarations"
|
|
2012
|
+
}
|
|
2068
2013
|
}
|
|
2014
|
+
},
|
|
2015
|
+
"required": false,
|
|
2016
|
+
"optional": false,
|
|
2017
|
+
"docs": {
|
|
2018
|
+
"tags": [],
|
|
2019
|
+
"text": "Defines the current totals options."
|
|
2069
2020
|
}
|
|
2070
|
-
},
|
|
2071
|
-
"required": false,
|
|
2072
|
-
"optional": false,
|
|
2073
|
-
"docs": {
|
|
2074
|
-
"tags": [],
|
|
2075
|
-
"text": "Defines the current totals options."
|
|
2076
2021
|
}
|
|
2077
|
-
}
|
|
2078
|
-
}
|
|
2079
|
-
static get states() {
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
"
|
|
2094
|
-
"
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
"
|
|
2100
|
-
"
|
|
2101
|
-
|
|
2102
|
-
|
|
2022
|
+
};
|
|
2023
|
+
}
|
|
2024
|
+
static get states() {
|
|
2025
|
+
return {
|
|
2026
|
+
"treeColumnVisible": {},
|
|
2027
|
+
"openedTotalMenu": {},
|
|
2028
|
+
"columnMenuAnchor": {},
|
|
2029
|
+
"stateSwitcher": {},
|
|
2030
|
+
"selectedNode": {}
|
|
2031
|
+
};
|
|
2032
|
+
}
|
|
2033
|
+
static get events() {
|
|
2034
|
+
return [{
|
|
2035
|
+
"method": "kupTreeNodeCollapse",
|
|
2036
|
+
"name": "kup-tree-nodecollapse",
|
|
2037
|
+
"bubbles": true,
|
|
2038
|
+
"cancelable": false,
|
|
2039
|
+
"composed": true,
|
|
2040
|
+
"docs": {
|
|
2041
|
+
"tags": [],
|
|
2042
|
+
"text": "Fired when a KupTreeNode gets collapsed (closed)."
|
|
2043
|
+
},
|
|
2044
|
+
"complexType": {
|
|
2045
|
+
"original": "KupTreeNodeCollapseEventPayload",
|
|
2046
|
+
"resolved": "KupTreeNodeCollapseEventPayload",
|
|
2047
|
+
"references": {
|
|
2048
|
+
"KupTreeNodeCollapseEventPayload": {
|
|
2049
|
+
"location": "import",
|
|
2050
|
+
"path": "./kup-tree-declarations"
|
|
2051
|
+
}
|
|
2103
2052
|
}
|
|
2104
2053
|
}
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2054
|
+
}, {
|
|
2055
|
+
"method": "kupTreeNodeExpand",
|
|
2056
|
+
"name": "kup-tree-nodeexpand",
|
|
2057
|
+
"bubbles": true,
|
|
2058
|
+
"cancelable": false,
|
|
2059
|
+
"composed": true,
|
|
2060
|
+
"docs": {
|
|
2061
|
+
"tags": [{
|
|
2062
|
+
"name": "event",
|
|
2063
|
+
"text": "kup-tree-nodeexpand"
|
|
2064
|
+
}, {
|
|
2065
|
+
"name": "type",
|
|
2066
|
+
"text": "{object}"
|
|
2067
|
+
}, {
|
|
2068
|
+
"name": "property",
|
|
2069
|
+
"text": "{TreeNodePath} treeNodePath - The array of indexes to retrieve the current treeNode inside the data prop."
|
|
2070
|
+
}, {
|
|
2071
|
+
"name": "property",
|
|
2072
|
+
"text": "{KupTreeNode} treeNode - Reference to the KupTreeNode data object which is being expanded (passed through the data prop)."
|
|
2073
|
+
}, {
|
|
2074
|
+
"name": "property",
|
|
2075
|
+
"text": "{boolean} usesDynamicExpansion - Flag to notify that the component is running in dynamicExpansion mode."
|
|
2076
|
+
}, {
|
|
2077
|
+
"name": "property",
|
|
2078
|
+
"text": "{boolean} dynamicExpansionRequireChildren - Flag to notify that the current dynamicExpansion event\r\nrequires the parent component to add KupTreeNode children to the given KupTreeNode."
|
|
2079
|
+
}, {
|
|
2080
|
+
"name": "see",
|
|
2081
|
+
"text": "useDynamicExpansion *"
|
|
2082
|
+
}, {
|
|
2083
|
+
"name": "see",
|
|
2084
|
+
"text": "dynamicExpansionCallback *"
|
|
2085
|
+
}, {
|
|
2086
|
+
"name": "since",
|
|
2087
|
+
"text": "1.0.0"
|
|
2088
|
+
}],
|
|
2089
|
+
"text": "Fired when a node expansion ion has been triggered.\r\nContains additional data when the tree is using the dynamicExpansion feature."
|
|
2090
|
+
},
|
|
2091
|
+
"complexType": {
|
|
2092
|
+
"original": "KupTreeNodeExpandEventPayload",
|
|
2093
|
+
"resolved": "KupTreeNodeExpandEventPayload",
|
|
2094
|
+
"references": {
|
|
2095
|
+
"KupTreeNodeExpandEventPayload": {
|
|
2096
|
+
"location": "import",
|
|
2097
|
+
"path": "./kup-tree-declarations"
|
|
2098
|
+
}
|
|
2150
2099
|
}
|
|
2151
2100
|
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2101
|
+
}, {
|
|
2102
|
+
"method": "kupTreeNodeSelected",
|
|
2103
|
+
"name": "kup-tree-nodeselected",
|
|
2104
|
+
"bubbles": true,
|
|
2105
|
+
"cancelable": false,
|
|
2106
|
+
"composed": true,
|
|
2107
|
+
"docs": {
|
|
2108
|
+
"tags": [],
|
|
2109
|
+
"text": "Fired when a node of the tree has been selected"
|
|
2110
|
+
},
|
|
2111
|
+
"complexType": {
|
|
2112
|
+
"original": "KupTreeNodeSelectedEventPayload",
|
|
2113
|
+
"resolved": "KupTreeNodeSelectedEventPayload",
|
|
2114
|
+
"references": {
|
|
2115
|
+
"KupTreeNodeSelectedEventPayload": {
|
|
2116
|
+
"location": "import",
|
|
2117
|
+
"path": "./kup-tree-declarations"
|
|
2118
|
+
}
|
|
2170
2119
|
}
|
|
2171
2120
|
}
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2121
|
+
}, {
|
|
2122
|
+
"method": "kupTreeNodeButtonClick",
|
|
2123
|
+
"name": "kup-tree-buttonclick",
|
|
2124
|
+
"bubbles": true,
|
|
2125
|
+
"cancelable": false,
|
|
2126
|
+
"composed": true,
|
|
2127
|
+
"docs": {
|
|
2128
|
+
"tags": [],
|
|
2129
|
+
"text": ""
|
|
2130
|
+
},
|
|
2131
|
+
"complexType": {
|
|
2132
|
+
"original": "KupTreeNodeButtonClickEventPayload",
|
|
2133
|
+
"resolved": "KupTreeNodeButtonClickEventPayload",
|
|
2134
|
+
"references": {
|
|
2135
|
+
"KupTreeNodeButtonClickEventPayload": {
|
|
2136
|
+
"location": "import",
|
|
2137
|
+
"path": "./kup-tree-declarations"
|
|
2138
|
+
}
|
|
2190
2139
|
}
|
|
2191
2140
|
}
|
|
2192
|
-
}
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2141
|
+
}, {
|
|
2142
|
+
"method": "kupTreeContextMenu",
|
|
2143
|
+
"name": "kup-tree-contextmenu",
|
|
2144
|
+
"bubbles": true,
|
|
2145
|
+
"cancelable": false,
|
|
2146
|
+
"composed": true,
|
|
2147
|
+
"docs": {
|
|
2148
|
+
"tags": [],
|
|
2149
|
+
"text": "Generic right click event on tree."
|
|
2150
|
+
},
|
|
2151
|
+
"complexType": {
|
|
2152
|
+
"original": "KupTreeContextMenuEventPayload",
|
|
2153
|
+
"resolved": "KupTreeContextMenuEventPayload",
|
|
2154
|
+
"references": {
|
|
2155
|
+
"KupTreeContextMenuEventPayload": {
|
|
2156
|
+
"location": "import",
|
|
2157
|
+
"path": "./kup-tree-declarations"
|
|
2158
|
+
}
|
|
2210
2159
|
}
|
|
2211
2160
|
}
|
|
2212
|
-
}
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2161
|
+
}, {
|
|
2162
|
+
"method": "kupTreeColumnMenu",
|
|
2163
|
+
"name": "kup-tree-columnmenu",
|
|
2164
|
+
"bubbles": true,
|
|
2165
|
+
"cancelable": false,
|
|
2166
|
+
"composed": true,
|
|
2167
|
+
"docs": {
|
|
2168
|
+
"tags": [],
|
|
2169
|
+
"text": "When the column menu is being opened/closed."
|
|
2170
|
+
},
|
|
2171
|
+
"complexType": {
|
|
2172
|
+
"original": "KupTreeColumnMenuEventPayload",
|
|
2173
|
+
"resolved": "KupTreeColumnMenuEventPayload",
|
|
2174
|
+
"references": {
|
|
2175
|
+
"KupTreeColumnMenuEventPayload": {
|
|
2176
|
+
"location": "import",
|
|
2177
|
+
"path": "./kup-tree-declarations"
|
|
2178
|
+
}
|
|
2230
2179
|
}
|
|
2231
2180
|
}
|
|
2232
|
-
}
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2181
|
+
}, {
|
|
2182
|
+
"method": "kupDidLoad",
|
|
2183
|
+
"name": "kup-tree-didload",
|
|
2184
|
+
"bubbles": true,
|
|
2185
|
+
"cancelable": false,
|
|
2186
|
+
"composed": true,
|
|
2187
|
+
"docs": {
|
|
2188
|
+
"tags": [],
|
|
2189
|
+
"text": ""
|
|
2190
|
+
},
|
|
2191
|
+
"complexType": {
|
|
2192
|
+
"original": "KupEventPayload",
|
|
2193
|
+
"resolved": "KupEventPayload",
|
|
2194
|
+
"references": {
|
|
2195
|
+
"KupEventPayload": {
|
|
2196
|
+
"location": "import",
|
|
2197
|
+
"path": "../../types/GenericTypes"
|
|
2198
|
+
}
|
|
2250
2199
|
}
|
|
2251
2200
|
}
|
|
2252
|
-
}
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2201
|
+
}, {
|
|
2202
|
+
"method": "kupDidUnload",
|
|
2203
|
+
"name": "kup-tree-didunload",
|
|
2204
|
+
"bubbles": true,
|
|
2205
|
+
"cancelable": false,
|
|
2206
|
+
"composed": true,
|
|
2207
|
+
"docs": {
|
|
2208
|
+
"tags": [],
|
|
2209
|
+
"text": "Triggered when stop propagation event"
|
|
2210
|
+
},
|
|
2211
|
+
"complexType": {
|
|
2212
|
+
"original": "KupEventPayload",
|
|
2213
|
+
"resolved": "KupEventPayload",
|
|
2214
|
+
"references": {
|
|
2215
|
+
"KupEventPayload": {
|
|
2216
|
+
"location": "import",
|
|
2217
|
+
"path": "../../types/GenericTypes"
|
|
2218
|
+
}
|
|
2270
2219
|
}
|
|
2271
2220
|
}
|
|
2272
|
-
}
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2221
|
+
}, {
|
|
2222
|
+
"method": "kupTreeNodeDblClick",
|
|
2223
|
+
"name": "kup-tree-nodedblclick",
|
|
2224
|
+
"bubbles": true,
|
|
2225
|
+
"cancelable": false,
|
|
2226
|
+
"composed": true,
|
|
2227
|
+
"docs": {
|
|
2228
|
+
"tags": [],
|
|
2229
|
+
"text": ""
|
|
2230
|
+
},
|
|
2231
|
+
"complexType": {
|
|
2232
|
+
"original": "KupTreeNodeCollapseEventPayload",
|
|
2233
|
+
"resolved": "KupTreeNodeCollapseEventPayload",
|
|
2234
|
+
"references": {
|
|
2235
|
+
"KupTreeNodeCollapseEventPayload": {
|
|
2236
|
+
"location": "import",
|
|
2237
|
+
"path": "./kup-tree-declarations"
|
|
2238
|
+
}
|
|
2290
2239
|
}
|
|
2291
2240
|
}
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2241
|
+
}, {
|
|
2242
|
+
"method": "kupTreeDynamicMassExpansion",
|
|
2243
|
+
"name": "kup-tree-dynamicmassexpansion",
|
|
2244
|
+
"bubbles": true,
|
|
2245
|
+
"cancelable": false,
|
|
2246
|
+
"composed": true,
|
|
2247
|
+
"docs": {
|
|
2248
|
+
"tags": [],
|
|
2249
|
+
"text": ""
|
|
2250
|
+
},
|
|
2251
|
+
"complexType": {
|
|
2252
|
+
"original": "KupTreeDynamicMassExpansionEventPayload",
|
|
2253
|
+
"resolved": "KupTreeDynamicMassExpansionEventPayload",
|
|
2254
|
+
"references": {
|
|
2255
|
+
"KupTreeDynamicMassExpansionEventPayload": {
|
|
2256
|
+
"location": "import",
|
|
2257
|
+
"path": "./kup-tree-declarations"
|
|
2258
|
+
}
|
|
2310
2259
|
}
|
|
2311
2260
|
}
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2261
|
+
}, {
|
|
2262
|
+
"method": "kupColumnRemove",
|
|
2263
|
+
"name": "kup-tree-columnremove",
|
|
2264
|
+
"bubbles": true,
|
|
2265
|
+
"cancelable": false,
|
|
2266
|
+
"composed": true,
|
|
2267
|
+
"docs": {
|
|
2268
|
+
"tags": [],
|
|
2269
|
+
"text": "Event fired when columns are removed (set to hidden)."
|
|
2270
|
+
},
|
|
2271
|
+
"complexType": {
|
|
2272
|
+
"original": "KupTreeColumnRemoveEventPayload",
|
|
2273
|
+
"resolved": "KupTreeColumnRemoveEventPayload",
|
|
2274
|
+
"references": {
|
|
2275
|
+
"KupTreeColumnRemoveEventPayload": {
|
|
2276
|
+
"location": "import",
|
|
2277
|
+
"path": "./kup-tree-declarations"
|
|
2278
|
+
}
|
|
2330
2279
|
}
|
|
2331
2280
|
}
|
|
2332
|
-
}
|
|
2333
|
-
|
|
2334
|
-
static get methods() {
|
|
2335
|
-
|
|
2336
|
-
"
|
|
2337
|
-
"
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
"
|
|
2341
|
-
"
|
|
2342
|
-
|
|
2281
|
+
}];
|
|
2282
|
+
}
|
|
2283
|
+
static get methods() {
|
|
2284
|
+
return {
|
|
2285
|
+
"getSelectedNode": {
|
|
2286
|
+
"complexType": {
|
|
2287
|
+
"signature": "() => Promise<TreeNodePath>",
|
|
2288
|
+
"parameters": [],
|
|
2289
|
+
"references": {
|
|
2290
|
+
"Promise": {
|
|
2291
|
+
"location": "global"
|
|
2292
|
+
},
|
|
2293
|
+
"TreeNodePath": {
|
|
2294
|
+
"location": "import",
|
|
2295
|
+
"path": "./kup-tree-declarations"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"return": "Promise<TreeNodePath>"
|
|
2343
2299
|
},
|
|
2344
|
-
"
|
|
2300
|
+
"docs": {
|
|
2301
|
+
"text": "This method will get the selected nodes of the component.",
|
|
2302
|
+
"tags": []
|
|
2303
|
+
}
|
|
2345
2304
|
},
|
|
2346
|
-
"
|
|
2347
|
-
"
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2305
|
+
"setSelectedNode": {
|
|
2306
|
+
"complexType": {
|
|
2307
|
+
"signature": "(treeNodePath: string, emitEvent?: boolean) => Promise<void>",
|
|
2308
|
+
"parameters": [{
|
|
2309
|
+
"tags": [],
|
|
2310
|
+
"text": ""
|
|
2311
|
+
}, {
|
|
2312
|
+
"tags": [{
|
|
2313
|
+
"name": "param",
|
|
2314
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
2315
|
+
}],
|
|
2316
|
+
"text": "- The event will always be emitted unless emitEvent is set to false."
|
|
2317
|
+
}],
|
|
2318
|
+
"references": {
|
|
2319
|
+
"Promise": {
|
|
2320
|
+
"location": "global"
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
"return": "Promise<void>"
|
|
2359
2324
|
},
|
|
2360
|
-
"
|
|
2325
|
+
"docs": {
|
|
2326
|
+
"text": "This method will set the selected rows of the component.",
|
|
2327
|
+
"tags": [{
|
|
2328
|
+
"name": "param",
|
|
2329
|
+
"text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
|
|
2330
|
+
}, {
|
|
2331
|
+
"name": "param",
|
|
2332
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
2333
|
+
}]
|
|
2334
|
+
}
|
|
2361
2335
|
},
|
|
2362
|
-
"
|
|
2363
|
-
"
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
"Promise": {
|
|
2373
|
-
"location": "global"
|
|
2374
|
-
}
|
|
2336
|
+
"isEmpty": {
|
|
2337
|
+
"complexType": {
|
|
2338
|
+
"signature": "() => Promise<boolean>",
|
|
2339
|
+
"parameters": [],
|
|
2340
|
+
"references": {
|
|
2341
|
+
"Promise": {
|
|
2342
|
+
"location": "global"
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
"return": "Promise<boolean>"
|
|
2375
2346
|
},
|
|
2376
|
-
"
|
|
2347
|
+
"docs": {
|
|
2348
|
+
"text": "True if there aren't visible nodes",
|
|
2349
|
+
"tags": []
|
|
2350
|
+
}
|
|
2377
2351
|
},
|
|
2378
|
-
"
|
|
2379
|
-
"
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
"Promise": {
|
|
2389
|
-
"location": "global"
|
|
2390
|
-
}
|
|
2352
|
+
"closeColumnMenu": {
|
|
2353
|
+
"complexType": {
|
|
2354
|
+
"signature": "() => Promise<void>",
|
|
2355
|
+
"parameters": [],
|
|
2356
|
+
"references": {
|
|
2357
|
+
"Promise": {
|
|
2358
|
+
"location": "global"
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
"return": "Promise<void>"
|
|
2391
2362
|
},
|
|
2392
|
-
"
|
|
2363
|
+
"docs": {
|
|
2364
|
+
"text": "Closes any opened column menu.",
|
|
2365
|
+
"tags": []
|
|
2366
|
+
}
|
|
2393
2367
|
},
|
|
2394
|
-
"
|
|
2395
|
-
"
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
"parameters": [{
|
|
2403
|
-
"tags": [{
|
|
2404
|
-
"name": "param",
|
|
2405
|
-
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2406
|
-
}],
|
|
2407
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
2408
|
-
}],
|
|
2409
|
-
"references": {
|
|
2410
|
-
"Promise": {
|
|
2411
|
-
"location": "global"
|
|
2368
|
+
"collapseAll": {
|
|
2369
|
+
"complexType": {
|
|
2370
|
+
"signature": "() => Promise<void>",
|
|
2371
|
+
"parameters": [],
|
|
2372
|
+
"references": {
|
|
2373
|
+
"Promise": {
|
|
2374
|
+
"location": "global"
|
|
2375
|
+
}
|
|
2412
2376
|
},
|
|
2413
|
-
"
|
|
2414
|
-
"location": "import",
|
|
2415
|
-
"path": "../../types/GenericTypes"
|
|
2416
|
-
}
|
|
2377
|
+
"return": "Promise<void>"
|
|
2417
2378
|
},
|
|
2418
|
-
"
|
|
2379
|
+
"docs": {
|
|
2380
|
+
"text": "Collapses all nodes.",
|
|
2381
|
+
"tags": []
|
|
2382
|
+
}
|
|
2419
2383
|
},
|
|
2420
|
-
"
|
|
2421
|
-
"
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
}]
|
|
2429
|
-
}
|
|
2430
|
-
},
|
|
2431
|
-
"hideColumn": {
|
|
2432
|
-
"complexType": {
|
|
2433
|
-
"signature": "(column: KupDataColumn) => Promise<void>",
|
|
2434
|
-
"parameters": [{
|
|
2435
|
-
"tags": [{
|
|
2436
|
-
"name": "param",
|
|
2437
|
-
"text": "column - Column to hide."
|
|
2438
|
-
}],
|
|
2439
|
-
"text": "- Column to hide."
|
|
2440
|
-
}],
|
|
2441
|
-
"references": {
|
|
2442
|
-
"Promise": {
|
|
2443
|
-
"location": "global"
|
|
2384
|
+
"expandAll": {
|
|
2385
|
+
"complexType": {
|
|
2386
|
+
"signature": "() => Promise<void>",
|
|
2387
|
+
"parameters": [],
|
|
2388
|
+
"references": {
|
|
2389
|
+
"Promise": {
|
|
2390
|
+
"location": "global"
|
|
2391
|
+
}
|
|
2444
2392
|
},
|
|
2445
|
-
"
|
|
2446
|
-
"location": "import",
|
|
2447
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2448
|
-
}
|
|
2393
|
+
"return": "Promise<void>"
|
|
2449
2394
|
},
|
|
2450
|
-
"
|
|
2395
|
+
"docs": {
|
|
2396
|
+
"text": "Expands all nodes.",
|
|
2397
|
+
"tags": []
|
|
2398
|
+
}
|
|
2451
2399
|
},
|
|
2452
|
-
"
|
|
2453
|
-
"
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
"references": {
|
|
2471
|
-
"Promise": {
|
|
2472
|
-
"location": "global"
|
|
2473
|
-
},
|
|
2474
|
-
"CustomEvent": {
|
|
2475
|
-
"location": "global"
|
|
2400
|
+
"getProps": {
|
|
2401
|
+
"complexType": {
|
|
2402
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
2403
|
+
"parameters": [{
|
|
2404
|
+
"tags": [{
|
|
2405
|
+
"name": "param",
|
|
2406
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2407
|
+
}],
|
|
2408
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
2409
|
+
}],
|
|
2410
|
+
"references": {
|
|
2411
|
+
"Promise": {
|
|
2412
|
+
"location": "global"
|
|
2413
|
+
},
|
|
2414
|
+
"GenericObject": {
|
|
2415
|
+
"location": "import",
|
|
2416
|
+
"path": "../../types/GenericTypes"
|
|
2417
|
+
}
|
|
2476
2418
|
},
|
|
2477
|
-
"
|
|
2478
|
-
|
|
2479
|
-
|
|
2419
|
+
"return": "Promise<GenericObject>"
|
|
2420
|
+
},
|
|
2421
|
+
"docs": {
|
|
2422
|
+
"text": "Used to retrieve component's props values.",
|
|
2423
|
+
"tags": [{
|
|
2424
|
+
"name": "param",
|
|
2425
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2426
|
+
}, {
|
|
2427
|
+
"name": "returns",
|
|
2428
|
+
"text": "List of props as object, each key will be a prop."
|
|
2429
|
+
}]
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2432
|
+
"hideColumn": {
|
|
2433
|
+
"complexType": {
|
|
2434
|
+
"signature": "(column: KupDataColumn) => Promise<void>",
|
|
2435
|
+
"parameters": [{
|
|
2436
|
+
"tags": [{
|
|
2437
|
+
"name": "param",
|
|
2438
|
+
"text": "column - Column to hide."
|
|
2439
|
+
}],
|
|
2440
|
+
"text": "- Column to hide."
|
|
2441
|
+
}],
|
|
2442
|
+
"references": {
|
|
2443
|
+
"Promise": {
|
|
2444
|
+
"location": "global"
|
|
2445
|
+
},
|
|
2446
|
+
"KupDataColumn": {
|
|
2447
|
+
"location": "import",
|
|
2448
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2449
|
+
}
|
|
2480
2450
|
},
|
|
2481
|
-
"
|
|
2482
|
-
"location": "import",
|
|
2483
|
-
"path": "../kup-card/kup-card-declarations"
|
|
2484
|
-
}
|
|
2451
|
+
"return": "Promise<void>"
|
|
2485
2452
|
},
|
|
2486
|
-
"
|
|
2453
|
+
"docs": {
|
|
2454
|
+
"text": "Hides the given column.",
|
|
2455
|
+
"tags": [{
|
|
2456
|
+
"name": "param",
|
|
2457
|
+
"text": "column - Column to hide."
|
|
2458
|
+
}]
|
|
2459
|
+
}
|
|
2487
2460
|
},
|
|
2488
|
-
"
|
|
2489
|
-
"
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
"
|
|
2503
|
-
|
|
2461
|
+
"openColumnMenu": {
|
|
2462
|
+
"complexType": {
|
|
2463
|
+
"signature": "(column: string) => Promise<void>",
|
|
2464
|
+
"parameters": [{
|
|
2465
|
+
"tags": [{
|
|
2466
|
+
"name": "param",
|
|
2467
|
+
"text": "column - Name of the column."
|
|
2468
|
+
}],
|
|
2469
|
+
"text": "- Name of the column."
|
|
2470
|
+
}],
|
|
2471
|
+
"references": {
|
|
2472
|
+
"Promise": {
|
|
2473
|
+
"location": "global"
|
|
2474
|
+
},
|
|
2475
|
+
"CustomEvent": {
|
|
2476
|
+
"location": "global"
|
|
2477
|
+
},
|
|
2478
|
+
"KupEventPayload": {
|
|
2479
|
+
"location": "import",
|
|
2480
|
+
"path": "../../types/GenericTypes"
|
|
2481
|
+
},
|
|
2482
|
+
"KupCardEventPayload": {
|
|
2483
|
+
"location": "import",
|
|
2484
|
+
"path": "../kup-card/kup-card-declarations"
|
|
2485
|
+
}
|
|
2486
|
+
},
|
|
2487
|
+
"return": "Promise<void>"
|
|
2504
2488
|
},
|
|
2505
|
-
"
|
|
2489
|
+
"docs": {
|
|
2490
|
+
"text": "Opens the column menu of the given column.",
|
|
2491
|
+
"tags": [{
|
|
2492
|
+
"name": "param",
|
|
2493
|
+
"text": "column - Name of the column."
|
|
2494
|
+
}]
|
|
2495
|
+
}
|
|
2506
2496
|
},
|
|
2507
|
-
"
|
|
2508
|
-
"
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
"Promise": {
|
|
2518
|
-
"location": "global"
|
|
2519
|
-
}
|
|
2497
|
+
"refresh": {
|
|
2498
|
+
"complexType": {
|
|
2499
|
+
"signature": "() => Promise<void>",
|
|
2500
|
+
"parameters": [],
|
|
2501
|
+
"references": {
|
|
2502
|
+
"Promise": {
|
|
2503
|
+
"location": "global"
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
"return": "Promise<void>"
|
|
2520
2507
|
},
|
|
2521
|
-
"
|
|
2508
|
+
"docs": {
|
|
2509
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
2510
|
+
"tags": []
|
|
2511
|
+
}
|
|
2522
2512
|
},
|
|
2523
|
-
"
|
|
2524
|
-
"
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
"parameters": [{
|
|
2532
|
-
"tags": [{
|
|
2533
|
-
"name": "param",
|
|
2534
|
-
"text": "props - Object containing props that will be set to the component."
|
|
2535
|
-
}],
|
|
2536
|
-
"text": "- Object containing props that will be set to the component."
|
|
2537
|
-
}],
|
|
2538
|
-
"references": {
|
|
2539
|
-
"Promise": {
|
|
2540
|
-
"location": "global"
|
|
2513
|
+
"resizeCallback": {
|
|
2514
|
+
"complexType": {
|
|
2515
|
+
"signature": "() => Promise<void>",
|
|
2516
|
+
"parameters": [],
|
|
2517
|
+
"references": {
|
|
2518
|
+
"Promise": {
|
|
2519
|
+
"location": "global"
|
|
2520
|
+
}
|
|
2541
2521
|
},
|
|
2542
|
-
"
|
|
2543
|
-
"location": "import",
|
|
2544
|
-
"path": "../../types/GenericTypes"
|
|
2545
|
-
}
|
|
2522
|
+
"return": "Promise<void>"
|
|
2546
2523
|
},
|
|
2547
|
-
"
|
|
2524
|
+
"docs": {
|
|
2525
|
+
"text": "This method is invoked by KupManager whenever the component changes size.",
|
|
2526
|
+
"tags": []
|
|
2527
|
+
}
|
|
2548
2528
|
},
|
|
2549
|
-
"
|
|
2550
|
-
"
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2529
|
+
"setProps": {
|
|
2530
|
+
"complexType": {
|
|
2531
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
2532
|
+
"parameters": [{
|
|
2533
|
+
"tags": [{
|
|
2534
|
+
"name": "param",
|
|
2535
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2536
|
+
}],
|
|
2537
|
+
"text": "- Object containing props that will be set to the component."
|
|
2538
|
+
}],
|
|
2539
|
+
"references": {
|
|
2540
|
+
"Promise": {
|
|
2541
|
+
"location": "global"
|
|
2542
|
+
},
|
|
2543
|
+
"GenericObject": {
|
|
2544
|
+
"location": "import",
|
|
2545
|
+
"path": "../../types/GenericTypes"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
"return": "Promise<void>"
|
|
2549
|
+
},
|
|
2550
|
+
"docs": {
|
|
2551
|
+
"text": "Sets the props to the component.",
|
|
2552
|
+
"tags": [{
|
|
2553
|
+
"name": "param",
|
|
2554
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2555
|
+
}]
|
|
2556
|
+
}
|
|
2555
2557
|
}
|
|
2556
|
-
}
|
|
2557
|
-
}
|
|
2558
|
+
};
|
|
2559
|
+
}
|
|
2558
2560
|
static get elementRef() { return "rootElement"; }
|
|
2559
|
-
static get watchers() {
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
}]; }
|
|
2561
|
+
static get watchers() {
|
|
2562
|
+
return [{
|
|
2563
|
+
"propName": "data",
|
|
2564
|
+
"methodName": "enrichDataWhenChanged"
|
|
2565
|
+
}, {
|
|
2566
|
+
"propName": "expanded",
|
|
2567
|
+
"methodName": "enrichStructureStateWhenChanged"
|
|
2568
|
+
}];
|
|
2569
|
+
}
|
|
2569
2570
|
}
|