@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, h, Host, } from '@stencil/core';
|
|
2
2
|
import { SortMode, } from '../kup-data-table/kup-data-table-declarations';
|
|
3
3
|
import { KupBoxProps, } from './kup-box-declarations';
|
|
4
4
|
import { getColumnByName } from '../../utils/cell-utils';
|
|
@@ -20,136 +20,55 @@ import { pageChange, rowsPerPageChange, } from '../../f-components/f-paginator/f
|
|
|
20
20
|
import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
|
|
21
21
|
export class KupBox {
|
|
22
22
|
constructor() {
|
|
23
|
+
this.state = new KupBoxState();
|
|
23
24
|
/*-------------------------------------------------*/
|
|
24
|
-
/*
|
|
25
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
25
26
|
/*-------------------------------------------------*/
|
|
27
|
+
/**
|
|
28
|
+
* Instance of the KupManager class.
|
|
29
|
+
*/
|
|
30
|
+
this.kupManager = kupManagerInstance();
|
|
31
|
+
this.visibleColumns = [];
|
|
32
|
+
this.rows = [];
|
|
33
|
+
this.filteredRows = [];
|
|
34
|
+
this.sectionRef = null;
|
|
35
|
+
this.rowsRefs = [];
|
|
36
|
+
this.hold = false;
|
|
37
|
+
this.interactableDrag = [];
|
|
38
|
+
this.interactableDrop = [];
|
|
39
|
+
this.interactableTouch = [];
|
|
26
40
|
this.collapsedSection = {};
|
|
27
41
|
this.selectedRows = [];
|
|
42
|
+
this.rowActionMenuOpened = undefined;
|
|
28
43
|
this.currentPage = 1;
|
|
29
44
|
this.currentRowsPerPage = 10;
|
|
30
|
-
this.state = new KupBoxState();
|
|
31
|
-
/*-------------------------------------------------*/
|
|
32
|
-
/* P r o p s */
|
|
33
|
-
/*-------------------------------------------------*/
|
|
34
|
-
/**
|
|
35
|
-
* Data of the card linked to the box when the latter's layout must be a premade template.
|
|
36
|
-
* @default null
|
|
37
|
-
*/
|
|
38
45
|
this.cardData = null;
|
|
39
|
-
/**
|
|
40
|
-
* Number of columns
|
|
41
|
-
* @default 1
|
|
42
|
-
*/
|
|
43
46
|
this.columns = 1;
|
|
44
|
-
/**
|
|
45
|
-
* Custom style of the component.
|
|
46
|
-
* @default ""
|
|
47
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
48
|
-
*/
|
|
49
47
|
this.customStyle = '';
|
|
50
|
-
/**
|
|
51
|
-
* Actual data of the box.
|
|
52
|
-
* @default null
|
|
53
|
-
*/
|
|
54
48
|
this.data = null;
|
|
55
|
-
/**
|
|
56
|
-
* Enable dragging
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
49
|
this.dragEnabled = false;
|
|
60
|
-
/**
|
|
61
|
-
* Enable dropping
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
50
|
this.dropEnabled = false;
|
|
65
|
-
/**
|
|
66
|
-
* Drop can be done in section
|
|
67
|
-
* @default false
|
|
68
|
-
*/
|
|
69
51
|
this.dropOnSection = false;
|
|
70
|
-
/**
|
|
71
|
-
* When set to true, editable cells will be rendered using input components.
|
|
72
|
-
* @default false
|
|
73
|
-
*/
|
|
74
52
|
this.editableData = false;
|
|
75
|
-
/**
|
|
76
|
-
* If enabled, a button to load / display the row actions
|
|
77
|
-
* will be displayed on the right of every box
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
53
|
this.enableRowActions = false;
|
|
81
|
-
/**
|
|
82
|
-
* When set to true it activates the global filter.
|
|
83
|
-
* @default false
|
|
84
|
-
*/
|
|
85
54
|
this.globalFilter = false;
|
|
86
|
-
/**
|
|
87
|
-
* The value of the global filter.
|
|
88
|
-
* @default ""
|
|
89
|
-
*/
|
|
90
55
|
this.globalFilterValue = '';
|
|
91
|
-
/**
|
|
92
|
-
* Displays the boxlist as a Kanban.
|
|
93
|
-
* @default null
|
|
94
|
-
*/
|
|
95
56
|
this.kanban = null;
|
|
96
|
-
|
|
97
|
-
* Enable multi selection
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
57
|
+
this.layout = undefined;
|
|
100
58
|
this.multiSelection = false;
|
|
101
|
-
/**
|
|
102
|
-
* Current page number
|
|
103
|
-
* @default 1
|
|
104
|
-
*/
|
|
105
59
|
this.pageSelected = 1;
|
|
106
|
-
/**
|
|
107
|
-
* Number of boxes per page
|
|
108
|
-
* @default 10
|
|
109
|
-
*/
|
|
110
60
|
this.pageSize = 10;
|
|
111
|
-
/**
|
|
112
|
-
* Enables pagination
|
|
113
|
-
* @default false
|
|
114
|
-
*/
|
|
115
61
|
this.pagination = false;
|
|
116
|
-
|
|
117
|
-
* Activates the scroll on hover function.
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
62
|
+
this.rowsPerPage = undefined;
|
|
120
63
|
this.scrollOnHover = false;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
* @default true
|
|
124
|
-
*/
|
|
64
|
+
this.selectBox = undefined;
|
|
65
|
+
this.selectedRowsState = undefined;
|
|
125
66
|
this.showSelection = true;
|
|
126
|
-
|
|
127
|
-
* Enable sorting
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
67
|
+
this.sortBy = undefined;
|
|
130
68
|
this.sortEnabled = false;
|
|
131
69
|
this.stateId = '';
|
|
132
|
-
|
|
133
|
-
* Disable swipe
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
70
|
+
this.store = undefined;
|
|
136
71
|
this.swipeDisabled = false;
|
|
137
|
-
/*-------------------------------------------------*/
|
|
138
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
139
|
-
/*-------------------------------------------------*/
|
|
140
|
-
/**
|
|
141
|
-
* Instance of the KupManager class.
|
|
142
|
-
*/
|
|
143
|
-
this.kupManager = kupManagerInstance();
|
|
144
|
-
this.visibleColumns = [];
|
|
145
|
-
this.rows = [];
|
|
146
|
-
this.filteredRows = [];
|
|
147
|
-
this.sectionRef = null;
|
|
148
|
-
this.rowsRefs = [];
|
|
149
|
-
this.hold = false;
|
|
150
|
-
this.interactableDrag = [];
|
|
151
|
-
this.interactableDrop = [];
|
|
152
|
-
this.interactableTouch = [];
|
|
153
72
|
}
|
|
154
73
|
initWithPersistedState() {
|
|
155
74
|
if (this.store && this.stateId) {
|
|
@@ -771,8 +690,7 @@ export class KupBox {
|
|
|
771
690
|
}
|
|
772
691
|
let multiSel = null;
|
|
773
692
|
if (this.multiSelection) {
|
|
774
|
-
multiSel = (h("div", { class: "box-selection" },
|
|
775
|
-
h("kup-checkbox", { checked: isSelected })));
|
|
693
|
+
multiSel = (h("div", { class: "box-selection" }, h("kup-checkbox", { checked: isSelected })));
|
|
776
694
|
}
|
|
777
695
|
let rowObject = null;
|
|
778
696
|
if (this.enableRowActions && !this.swipeDisabled) {
|
|
@@ -784,17 +702,11 @@ export class KupBox {
|
|
|
784
702
|
if (row.actions) {
|
|
785
703
|
const actionItems = row.actions.map((item, index) => {
|
|
786
704
|
const iconClass = `icon ${item.icon}`;
|
|
787
|
-
return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) },
|
|
788
|
-
h("div", { class: iconClass }),
|
|
789
|
-
h("div", { class: "text" }, item.text)));
|
|
705
|
+
return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) }, h("div", { class: iconClass }), h("div", { class: "text" }, item.text)));
|
|
790
706
|
});
|
|
791
707
|
rowActionMenuContent = h("ul", null, actionItems);
|
|
792
708
|
}
|
|
793
|
-
rowObject = (h("div", { class: "row-actions-wrapper" },
|
|
794
|
-
h("div", { class: "row-actions-toggler" },
|
|
795
|
-
h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) },
|
|
796
|
-
h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })),
|
|
797
|
-
h("div", { class: menuClass }, rowActionMenuContent))));
|
|
709
|
+
rowObject = (h("div", { class: "row-actions-wrapper" }, h("div", { class: "row-actions-toggler" }, h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) }, h("path", { d: "M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z" })), h("div", { class: menuClass }, rowActionMenuContent))));
|
|
798
710
|
}
|
|
799
711
|
let badges = null;
|
|
800
712
|
if (row.badgeData && row.badgeData.length > 0) {
|
|
@@ -808,12 +720,8 @@ export class KupBox {
|
|
|
808
720
|
selected: this.showSelection && isSelected,
|
|
809
721
|
column: !horizontal,
|
|
810
722
|
};
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
multiSel,
|
|
814
|
-
boxContent,
|
|
815
|
-
badges),
|
|
816
|
-
rowObject));
|
|
723
|
+
const rowStyle = row.style || {};
|
|
724
|
+
return (h("div", { class: "box-wrapper", style: rowStyle }, h("div", { class: boxClass, onClick: (e) => this.onBoxClick(e, row), ref: (el) => this.rowsRefs.push(el) }, multiSel, boxContent, badges), rowObject));
|
|
817
725
|
}
|
|
818
726
|
renderSection(section, parent, row, visibleColumns) {
|
|
819
727
|
let sectionContent = null;
|
|
@@ -893,21 +801,14 @@ export class KupBox {
|
|
|
893
801
|
else {
|
|
894
802
|
headerTitle = this.kupManager.language.translate(KupLanguageGeneric.EXPAND);
|
|
895
803
|
}
|
|
896
|
-
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
this.toggleSectionExpand(row, section);
|
|
901
|
-
} },
|
|
902
|
-
h("div", { class: "header-content" },
|
|
903
|
-
h("span", null, headerTitle),
|
|
904
|
-
h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
|
|
804
|
+
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
|
|
805
|
+
e.stopPropagation();
|
|
806
|
+
this.toggleSectionExpand(row, section);
|
|
807
|
+
} }, h("div", { class: "header-content" }, h("span", null, headerTitle), h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
|
|
905
808
|
}
|
|
906
809
|
else {
|
|
907
810
|
const title = section.title ? h("h3", null, section.title) : null;
|
|
908
|
-
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
|
|
909
|
-
title,
|
|
910
|
-
sectionContent));
|
|
811
|
+
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, title, sectionContent));
|
|
911
812
|
}
|
|
912
813
|
return sectionContainer;
|
|
913
814
|
}
|
|
@@ -962,9 +863,7 @@ export class KupBox {
|
|
|
962
863
|
if (!this.kanban.columns || this.kanban.columns.length === 0) {
|
|
963
864
|
this.kupManager.debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
|
|
964
865
|
return {
|
|
965
|
-
jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" },
|
|
966
|
-
h("div", { ref: (el) => this.rowsRefs.push(el) }),
|
|
967
|
-
this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
|
|
866
|
+
jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { ref: (el) => this.rowsRefs.push(el) }), this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
|
|
968
867
|
style: { 'grid-template-columns': `repeat(1, 1fr)` },
|
|
969
868
|
};
|
|
970
869
|
}
|
|
@@ -1033,9 +932,7 @@ export class KupBox {
|
|
|
1033
932
|
id: sortingKey[index],
|
|
1034
933
|
});
|
|
1035
934
|
}
|
|
1036
|
-
kanbanJSX.push(h("div", { class: "kanban-section" },
|
|
1037
|
-
h(FChip, Object.assign({}, props)),
|
|
1038
|
-
kanbanSections[index].nodes));
|
|
935
|
+
kanbanJSX.push(h("div", { class: "kanban-section" }, h(FChip, Object.assign({}, props)), kanbanSections[index].nodes));
|
|
1039
936
|
}
|
|
1040
937
|
return {
|
|
1041
938
|
jsx: kanbanJSX,
|
|
@@ -1219,16 +1116,14 @@ export class KupBox {
|
|
|
1219
1116
|
'kup-text-field': textfieldData,
|
|
1220
1117
|
'kup-list': listData,
|
|
1221
1118
|
};
|
|
1222
|
-
sortPanel = (h("div", { id: "sort-panel" },
|
|
1223
|
-
h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
|
|
1119
|
+
sortPanel = (h("div", { id: "sort-panel" }, h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
|
|
1224
1120
|
}
|
|
1225
1121
|
let filterPanel = null;
|
|
1226
1122
|
if (this.globalFilter) {
|
|
1227
|
-
filterPanel = (h("div", { id: "global-filter" },
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
} })));
|
|
1123
|
+
filterPanel = (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) => {
|
|
1124
|
+
window.clearTimeout(this.globalFilterTimeout);
|
|
1125
|
+
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1126
|
+
} })));
|
|
1232
1127
|
}
|
|
1233
1128
|
let paginator = null;
|
|
1234
1129
|
if (this.pagination) {
|
|
@@ -1239,8 +1134,7 @@ export class KupBox {
|
|
|
1239
1134
|
let boxContent = null;
|
|
1240
1135
|
let containerStyle = {};
|
|
1241
1136
|
if (this.rows.length === 0) {
|
|
1242
|
-
boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" },
|
|
1243
|
-
h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1137
|
+
boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1244
1138
|
containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
|
|
1245
1139
|
}
|
|
1246
1140
|
else if (isKanban) {
|
|
@@ -1260,17 +1154,10 @@ export class KupBox {
|
|
|
1260
1154
|
boxContent.push(this.renderRow(rows[cnt++]));
|
|
1261
1155
|
}
|
|
1262
1156
|
}
|
|
1263
|
-
return (h(Host, null,
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
sortPanel,
|
|
1268
|
-
filterPanel,
|
|
1269
|
-
paginator,
|
|
1270
|
-
h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
|
|
1271
|
-
e.preventDefault();
|
|
1272
|
-
}, ref: (el) => (this.boxContainer =
|
|
1273
|
-
el) }, boxContent)))));
|
|
1157
|
+
return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) }, sortPanel, filterPanel, paginator, h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
|
|
1158
|
+
e.preventDefault();
|
|
1159
|
+
}, ref: (el) => (this.boxContainer =
|
|
1160
|
+
el) }, boxContent)))));
|
|
1274
1161
|
}
|
|
1275
1162
|
disconnectedCallback() {
|
|
1276
1163
|
this.kupManager.interact.unregister(this.interactableDrag.concat(this.interactableDrop));
|
|
@@ -1285,894 +1172,908 @@ export class KupBox {
|
|
|
1285
1172
|
}
|
|
1286
1173
|
static get is() { return "kup-box"; }
|
|
1287
1174
|
static get encapsulation() { return "shadow"; }
|
|
1288
|
-
static get originalStyleUrls() {
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
"
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1175
|
+
static get originalStyleUrls() {
|
|
1176
|
+
return {
|
|
1177
|
+
"$": ["kup-box.scss"]
|
|
1178
|
+
};
|
|
1179
|
+
}
|
|
1180
|
+
static get styleUrls() {
|
|
1181
|
+
return {
|
|
1182
|
+
"$": ["kup-box.css"]
|
|
1183
|
+
};
|
|
1184
|
+
}
|
|
1185
|
+
static get properties() {
|
|
1186
|
+
return {
|
|
1187
|
+
"cardData": {
|
|
1188
|
+
"type": "unknown",
|
|
1189
|
+
"mutable": false,
|
|
1190
|
+
"complexType": {
|
|
1191
|
+
"original": "GenericObject",
|
|
1192
|
+
"resolved": "GenericObject",
|
|
1193
|
+
"references": {
|
|
1194
|
+
"GenericObject": {
|
|
1195
|
+
"location": "import",
|
|
1196
|
+
"path": "../../types/GenericTypes"
|
|
1197
|
+
}
|
|
1305
1198
|
}
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1199
|
+
},
|
|
1200
|
+
"required": false,
|
|
1201
|
+
"optional": false,
|
|
1202
|
+
"docs": {
|
|
1203
|
+
"tags": [{
|
|
1204
|
+
"name": "default",
|
|
1205
|
+
"text": "null"
|
|
1206
|
+
}],
|
|
1207
|
+
"text": "Data of the card linked to the box when the latter's layout must be a premade template."
|
|
1208
|
+
},
|
|
1209
|
+
"defaultValue": "null"
|
|
1210
|
+
},
|
|
1211
|
+
"columns": {
|
|
1212
|
+
"type": "number",
|
|
1213
|
+
"mutable": false,
|
|
1214
|
+
"complexType": {
|
|
1215
|
+
"original": "number",
|
|
1216
|
+
"resolved": "number",
|
|
1217
|
+
"references": {}
|
|
1218
|
+
},
|
|
1219
|
+
"required": false,
|
|
1220
|
+
"optional": false,
|
|
1221
|
+
"docs": {
|
|
1222
|
+
"tags": [{
|
|
1223
|
+
"name": "default",
|
|
1224
|
+
"text": "1"
|
|
1225
|
+
}],
|
|
1226
|
+
"text": "Number of columns"
|
|
1227
|
+
},
|
|
1228
|
+
"attribute": "columns",
|
|
1229
|
+
"reflect": false,
|
|
1230
|
+
"defaultValue": "1"
|
|
1231
|
+
},
|
|
1232
|
+
"customStyle": {
|
|
1233
|
+
"type": "string",
|
|
1234
|
+
"mutable": false,
|
|
1235
|
+
"complexType": {
|
|
1236
|
+
"original": "string",
|
|
1237
|
+
"resolved": "string",
|
|
1238
|
+
"references": {}
|
|
1239
|
+
},
|
|
1240
|
+
"required": false,
|
|
1241
|
+
"optional": false,
|
|
1242
|
+
"docs": {
|
|
1243
|
+
"tags": [{
|
|
1244
|
+
"name": "default",
|
|
1245
|
+
"text": "\"\""
|
|
1246
|
+
}, {
|
|
1247
|
+
"name": "see",
|
|
1248
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
1249
|
+
}],
|
|
1250
|
+
"text": "Custom style of the component."
|
|
1251
|
+
},
|
|
1252
|
+
"attribute": "custom-style",
|
|
1253
|
+
"reflect": false,
|
|
1254
|
+
"defaultValue": "''"
|
|
1255
|
+
},
|
|
1256
|
+
"data": {
|
|
1257
|
+
"type": "unknown",
|
|
1258
|
+
"mutable": false,
|
|
1259
|
+
"complexType": {
|
|
1260
|
+
"original": "KupBoxData",
|
|
1261
|
+
"resolved": "KupBoxData",
|
|
1262
|
+
"references": {
|
|
1263
|
+
"KupBoxData": {
|
|
1264
|
+
"location": "import",
|
|
1265
|
+
"path": "./kup-box-declarations"
|
|
1266
|
+
}
|
|
1374
1267
|
}
|
|
1375
|
-
}
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
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
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1268
|
+
},
|
|
1269
|
+
"required": false,
|
|
1270
|
+
"optional": false,
|
|
1271
|
+
"docs": {
|
|
1272
|
+
"tags": [{
|
|
1273
|
+
"name": "default",
|
|
1274
|
+
"text": "null"
|
|
1275
|
+
}],
|
|
1276
|
+
"text": "Actual data of the box."
|
|
1277
|
+
},
|
|
1278
|
+
"defaultValue": "null"
|
|
1279
|
+
},
|
|
1280
|
+
"dragEnabled": {
|
|
1281
|
+
"type": "boolean",
|
|
1282
|
+
"mutable": false,
|
|
1283
|
+
"complexType": {
|
|
1284
|
+
"original": "boolean",
|
|
1285
|
+
"resolved": "boolean",
|
|
1286
|
+
"references": {}
|
|
1287
|
+
},
|
|
1288
|
+
"required": false,
|
|
1289
|
+
"optional": false,
|
|
1290
|
+
"docs": {
|
|
1291
|
+
"tags": [{
|
|
1292
|
+
"name": "default",
|
|
1293
|
+
"text": "false"
|
|
1294
|
+
}],
|
|
1295
|
+
"text": "Enable dragging"
|
|
1296
|
+
},
|
|
1297
|
+
"attribute": "drag-enabled",
|
|
1298
|
+
"reflect": false,
|
|
1299
|
+
"defaultValue": "false"
|
|
1300
|
+
},
|
|
1301
|
+
"dropEnabled": {
|
|
1302
|
+
"type": "boolean",
|
|
1303
|
+
"mutable": false,
|
|
1304
|
+
"complexType": {
|
|
1305
|
+
"original": "boolean",
|
|
1306
|
+
"resolved": "boolean",
|
|
1307
|
+
"references": {}
|
|
1308
|
+
},
|
|
1309
|
+
"required": false,
|
|
1310
|
+
"optional": false,
|
|
1311
|
+
"docs": {
|
|
1312
|
+
"tags": [{
|
|
1313
|
+
"name": "default",
|
|
1314
|
+
"text": "false"
|
|
1315
|
+
}],
|
|
1316
|
+
"text": "Enable dropping"
|
|
1317
|
+
},
|
|
1318
|
+
"attribute": "drop-enabled",
|
|
1319
|
+
"reflect": false,
|
|
1320
|
+
"defaultValue": "false"
|
|
1321
|
+
},
|
|
1322
|
+
"dropOnSection": {
|
|
1323
|
+
"type": "boolean",
|
|
1324
|
+
"mutable": false,
|
|
1325
|
+
"complexType": {
|
|
1326
|
+
"original": "boolean",
|
|
1327
|
+
"resolved": "boolean",
|
|
1328
|
+
"references": {}
|
|
1329
|
+
},
|
|
1330
|
+
"required": false,
|
|
1331
|
+
"optional": false,
|
|
1332
|
+
"docs": {
|
|
1333
|
+
"tags": [{
|
|
1334
|
+
"name": "default",
|
|
1335
|
+
"text": "false"
|
|
1336
|
+
}],
|
|
1337
|
+
"text": "Drop can be done in section"
|
|
1338
|
+
},
|
|
1339
|
+
"attribute": "drop-on-section",
|
|
1340
|
+
"reflect": false,
|
|
1341
|
+
"defaultValue": "false"
|
|
1342
|
+
},
|
|
1343
|
+
"editableData": {
|
|
1344
|
+
"type": "boolean",
|
|
1345
|
+
"mutable": false,
|
|
1346
|
+
"complexType": {
|
|
1347
|
+
"original": "boolean",
|
|
1348
|
+
"resolved": "boolean",
|
|
1349
|
+
"references": {}
|
|
1350
|
+
},
|
|
1351
|
+
"required": false,
|
|
1352
|
+
"optional": false,
|
|
1353
|
+
"docs": {
|
|
1354
|
+
"tags": [{
|
|
1355
|
+
"name": "default",
|
|
1356
|
+
"text": "false"
|
|
1357
|
+
}],
|
|
1358
|
+
"text": "When set to true, editable cells will be rendered using input components."
|
|
1359
|
+
},
|
|
1360
|
+
"attribute": "editable-data",
|
|
1361
|
+
"reflect": false,
|
|
1362
|
+
"defaultValue": "false"
|
|
1363
|
+
},
|
|
1364
|
+
"enableRowActions": {
|
|
1365
|
+
"type": "boolean",
|
|
1366
|
+
"mutable": false,
|
|
1367
|
+
"complexType": {
|
|
1368
|
+
"original": "boolean",
|
|
1369
|
+
"resolved": "boolean",
|
|
1370
|
+
"references": {}
|
|
1371
|
+
},
|
|
1372
|
+
"required": false,
|
|
1373
|
+
"optional": false,
|
|
1374
|
+
"docs": {
|
|
1375
|
+
"tags": [{
|
|
1376
|
+
"name": "default",
|
|
1377
|
+
"text": "false"
|
|
1378
|
+
}],
|
|
1379
|
+
"text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
|
|
1380
|
+
},
|
|
1381
|
+
"attribute": "enable-row-actions",
|
|
1382
|
+
"reflect": false,
|
|
1383
|
+
"defaultValue": "false"
|
|
1384
|
+
},
|
|
1385
|
+
"globalFilter": {
|
|
1386
|
+
"type": "boolean",
|
|
1387
|
+
"mutable": false,
|
|
1388
|
+
"complexType": {
|
|
1389
|
+
"original": "boolean",
|
|
1390
|
+
"resolved": "boolean",
|
|
1391
|
+
"references": {}
|
|
1392
|
+
},
|
|
1393
|
+
"required": false,
|
|
1394
|
+
"optional": false,
|
|
1395
|
+
"docs": {
|
|
1396
|
+
"tags": [{
|
|
1397
|
+
"name": "default",
|
|
1398
|
+
"text": "false"
|
|
1399
|
+
}],
|
|
1400
|
+
"text": "When set to true it activates the global filter."
|
|
1401
|
+
},
|
|
1402
|
+
"attribute": "global-filter",
|
|
1403
|
+
"reflect": false,
|
|
1404
|
+
"defaultValue": "false"
|
|
1405
|
+
},
|
|
1406
|
+
"globalFilterValue": {
|
|
1407
|
+
"type": "string",
|
|
1408
|
+
"mutable": true,
|
|
1409
|
+
"complexType": {
|
|
1410
|
+
"original": "string",
|
|
1411
|
+
"resolved": "string",
|
|
1412
|
+
"references": {}
|
|
1413
|
+
},
|
|
1414
|
+
"required": false,
|
|
1415
|
+
"optional": false,
|
|
1416
|
+
"docs": {
|
|
1417
|
+
"tags": [{
|
|
1418
|
+
"name": "default",
|
|
1419
|
+
"text": "\"\""
|
|
1420
|
+
}],
|
|
1421
|
+
"text": "The value of the global filter."
|
|
1422
|
+
},
|
|
1423
|
+
"attribute": "global-filter-value",
|
|
1424
|
+
"reflect": true,
|
|
1425
|
+
"defaultValue": "''"
|
|
1426
|
+
},
|
|
1427
|
+
"kanban": {
|
|
1428
|
+
"type": "unknown",
|
|
1429
|
+
"mutable": false,
|
|
1430
|
+
"complexType": {
|
|
1431
|
+
"original": "KupBoxKanban",
|
|
1432
|
+
"resolved": "KupBoxKanban",
|
|
1433
|
+
"references": {
|
|
1434
|
+
"KupBoxKanban": {
|
|
1435
|
+
"location": "import",
|
|
1436
|
+
"path": "./kup-box-declarations"
|
|
1437
|
+
}
|
|
1545
1438
|
}
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1439
|
+
},
|
|
1440
|
+
"required": false,
|
|
1441
|
+
"optional": false,
|
|
1442
|
+
"docs": {
|
|
1443
|
+
"tags": [{
|
|
1444
|
+
"name": "default",
|
|
1445
|
+
"text": "null"
|
|
1446
|
+
}],
|
|
1447
|
+
"text": "Displays the boxlist as a Kanban."
|
|
1448
|
+
},
|
|
1449
|
+
"defaultValue": "null"
|
|
1450
|
+
},
|
|
1451
|
+
"layout": {
|
|
1452
|
+
"type": "unknown",
|
|
1453
|
+
"mutable": false,
|
|
1454
|
+
"complexType": {
|
|
1455
|
+
"original": "KupBoxLayout",
|
|
1456
|
+
"resolved": "KupBoxLayout",
|
|
1457
|
+
"references": {
|
|
1458
|
+
"KupBoxLayout": {
|
|
1459
|
+
"location": "import",
|
|
1460
|
+
"path": "./kup-box-declarations"
|
|
1461
|
+
}
|
|
1569
1462
|
}
|
|
1463
|
+
},
|
|
1464
|
+
"required": false,
|
|
1465
|
+
"optional": false,
|
|
1466
|
+
"docs": {
|
|
1467
|
+
"tags": [{
|
|
1468
|
+
"name": "default",
|
|
1469
|
+
"text": "undefined"
|
|
1470
|
+
}],
|
|
1471
|
+
"text": "How the field will be displayed. If not present, a default one will be created."
|
|
1570
1472
|
}
|
|
1571
1473
|
},
|
|
1572
|
-
"
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
"
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
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
|
-
|
|
1612
|
-
|
|
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
|
-
|
|
1693
|
-
|
|
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
|
-
"
|
|
1719
|
-
|
|
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
|
-
|
|
1776
|
-
|
|
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
|
-
"type": "unknown",
|
|
1829
|
-
"mutable": false,
|
|
1830
|
-
"complexType": {
|
|
1831
|
-
"original": "KupStore",
|
|
1832
|
-
"resolved": "KupStore",
|
|
1833
|
-
"references": {
|
|
1834
|
-
"KupStore": {
|
|
1835
|
-
"location": "import",
|
|
1836
|
-
"path": "../kup-state/kup-store"
|
|
1474
|
+
"multiSelection": {
|
|
1475
|
+
"type": "boolean",
|
|
1476
|
+
"mutable": false,
|
|
1477
|
+
"complexType": {
|
|
1478
|
+
"original": "boolean",
|
|
1479
|
+
"resolved": "boolean",
|
|
1480
|
+
"references": {}
|
|
1481
|
+
},
|
|
1482
|
+
"required": false,
|
|
1483
|
+
"optional": false,
|
|
1484
|
+
"docs": {
|
|
1485
|
+
"tags": [{
|
|
1486
|
+
"name": "default",
|
|
1487
|
+
"text": "false"
|
|
1488
|
+
}],
|
|
1489
|
+
"text": "Enable multi selection"
|
|
1490
|
+
},
|
|
1491
|
+
"attribute": "multi-selection",
|
|
1492
|
+
"reflect": false,
|
|
1493
|
+
"defaultValue": "false"
|
|
1494
|
+
},
|
|
1495
|
+
"pageSelected": {
|
|
1496
|
+
"type": "number",
|
|
1497
|
+
"mutable": false,
|
|
1498
|
+
"complexType": {
|
|
1499
|
+
"original": "number",
|
|
1500
|
+
"resolved": "number",
|
|
1501
|
+
"references": {}
|
|
1502
|
+
},
|
|
1503
|
+
"required": false,
|
|
1504
|
+
"optional": false,
|
|
1505
|
+
"docs": {
|
|
1506
|
+
"tags": [{
|
|
1507
|
+
"name": "default",
|
|
1508
|
+
"text": "1"
|
|
1509
|
+
}],
|
|
1510
|
+
"text": "Current page number"
|
|
1511
|
+
},
|
|
1512
|
+
"attribute": "page-selected",
|
|
1513
|
+
"reflect": false,
|
|
1514
|
+
"defaultValue": "1"
|
|
1515
|
+
},
|
|
1516
|
+
"pageSize": {
|
|
1517
|
+
"type": "number",
|
|
1518
|
+
"mutable": false,
|
|
1519
|
+
"complexType": {
|
|
1520
|
+
"original": "number",
|
|
1521
|
+
"resolved": "number",
|
|
1522
|
+
"references": {}
|
|
1523
|
+
},
|
|
1524
|
+
"required": false,
|
|
1525
|
+
"optional": false,
|
|
1526
|
+
"docs": {
|
|
1527
|
+
"tags": [{
|
|
1528
|
+
"name": "default",
|
|
1529
|
+
"text": "10"
|
|
1530
|
+
}],
|
|
1531
|
+
"text": "Number of boxes per page"
|
|
1532
|
+
},
|
|
1533
|
+
"attribute": "page-size",
|
|
1534
|
+
"reflect": false,
|
|
1535
|
+
"defaultValue": "10"
|
|
1536
|
+
},
|
|
1537
|
+
"pagination": {
|
|
1538
|
+
"type": "boolean",
|
|
1539
|
+
"mutable": false,
|
|
1540
|
+
"complexType": {
|
|
1541
|
+
"original": "boolean",
|
|
1542
|
+
"resolved": "boolean",
|
|
1543
|
+
"references": {}
|
|
1544
|
+
},
|
|
1545
|
+
"required": false,
|
|
1546
|
+
"optional": false,
|
|
1547
|
+
"docs": {
|
|
1548
|
+
"tags": [{
|
|
1549
|
+
"name": "default",
|
|
1550
|
+
"text": "false"
|
|
1551
|
+
}],
|
|
1552
|
+
"text": "Enables pagination"
|
|
1553
|
+
},
|
|
1554
|
+
"attribute": "pagination",
|
|
1555
|
+
"reflect": false,
|
|
1556
|
+
"defaultValue": "false"
|
|
1557
|
+
},
|
|
1558
|
+
"rowsPerPage": {
|
|
1559
|
+
"type": "number",
|
|
1560
|
+
"mutable": false,
|
|
1561
|
+
"complexType": {
|
|
1562
|
+
"original": "number",
|
|
1563
|
+
"resolved": "number",
|
|
1564
|
+
"references": {}
|
|
1565
|
+
},
|
|
1566
|
+
"required": false,
|
|
1567
|
+
"optional": false,
|
|
1568
|
+
"docs": {
|
|
1569
|
+
"tags": [{
|
|
1570
|
+
"name": "default",
|
|
1571
|
+
"text": "undefined"
|
|
1572
|
+
}],
|
|
1573
|
+
"text": "Number of current rows per page"
|
|
1574
|
+
},
|
|
1575
|
+
"attribute": "rows-per-page",
|
|
1576
|
+
"reflect": false
|
|
1577
|
+
},
|
|
1578
|
+
"scrollOnHover": {
|
|
1579
|
+
"type": "boolean",
|
|
1580
|
+
"mutable": false,
|
|
1581
|
+
"complexType": {
|
|
1582
|
+
"original": "boolean",
|
|
1583
|
+
"resolved": "boolean",
|
|
1584
|
+
"references": {}
|
|
1585
|
+
},
|
|
1586
|
+
"required": false,
|
|
1587
|
+
"optional": false,
|
|
1588
|
+
"docs": {
|
|
1589
|
+
"tags": [{
|
|
1590
|
+
"name": "default",
|
|
1591
|
+
"text": "false"
|
|
1592
|
+
}],
|
|
1593
|
+
"text": "Activates the scroll on hover function."
|
|
1594
|
+
},
|
|
1595
|
+
"attribute": "scroll-on-hover",
|
|
1596
|
+
"reflect": false,
|
|
1597
|
+
"defaultValue": "false"
|
|
1598
|
+
},
|
|
1599
|
+
"selectBox": {
|
|
1600
|
+
"type": "number",
|
|
1601
|
+
"mutable": false,
|
|
1602
|
+
"complexType": {
|
|
1603
|
+
"original": "number",
|
|
1604
|
+
"resolved": "number",
|
|
1605
|
+
"references": {}
|
|
1606
|
+
},
|
|
1607
|
+
"required": false,
|
|
1608
|
+
"optional": false,
|
|
1609
|
+
"docs": {
|
|
1610
|
+
"tags": [{
|
|
1611
|
+
"name": "default",
|
|
1612
|
+
"text": "undefined"
|
|
1613
|
+
}],
|
|
1614
|
+
"text": "Automatically selects the box at the specified index"
|
|
1615
|
+
},
|
|
1616
|
+
"attribute": "select-box",
|
|
1617
|
+
"reflect": false
|
|
1618
|
+
},
|
|
1619
|
+
"selectedRowsState": {
|
|
1620
|
+
"type": "string",
|
|
1621
|
+
"mutable": true,
|
|
1622
|
+
"complexType": {
|
|
1623
|
+
"original": "string",
|
|
1624
|
+
"resolved": "string",
|
|
1625
|
+
"references": {}
|
|
1626
|
+
},
|
|
1627
|
+
"required": false,
|
|
1628
|
+
"optional": false,
|
|
1629
|
+
"docs": {
|
|
1630
|
+
"tags": [{
|
|
1631
|
+
"name": "default",
|
|
1632
|
+
"text": "undefined"
|
|
1633
|
+
}],
|
|
1634
|
+
"text": "Multiple selection"
|
|
1635
|
+
},
|
|
1636
|
+
"attribute": "selected-rows-state",
|
|
1637
|
+
"reflect": false
|
|
1638
|
+
},
|
|
1639
|
+
"showSelection": {
|
|
1640
|
+
"type": "boolean",
|
|
1641
|
+
"mutable": false,
|
|
1642
|
+
"complexType": {
|
|
1643
|
+
"original": "boolean",
|
|
1644
|
+
"resolved": "boolean",
|
|
1645
|
+
"references": {}
|
|
1646
|
+
},
|
|
1647
|
+
"required": false,
|
|
1648
|
+
"optional": false,
|
|
1649
|
+
"docs": {
|
|
1650
|
+
"tags": [{
|
|
1651
|
+
"name": "default",
|
|
1652
|
+
"text": "true"
|
|
1653
|
+
}],
|
|
1654
|
+
"text": "If enabled, highlights the selected box/boxes"
|
|
1655
|
+
},
|
|
1656
|
+
"attribute": "show-selection",
|
|
1657
|
+
"reflect": false,
|
|
1658
|
+
"defaultValue": "true"
|
|
1659
|
+
},
|
|
1660
|
+
"sortBy": {
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"mutable": true,
|
|
1663
|
+
"complexType": {
|
|
1664
|
+
"original": "string",
|
|
1665
|
+
"resolved": "string",
|
|
1666
|
+
"references": {}
|
|
1667
|
+
},
|
|
1668
|
+
"required": false,
|
|
1669
|
+
"optional": false,
|
|
1670
|
+
"docs": {
|
|
1671
|
+
"tags": [{
|
|
1672
|
+
"name": "default",
|
|
1673
|
+
"text": "undefined"
|
|
1674
|
+
}],
|
|
1675
|
+
"text": "If sorting is enabled, specifies which column to sort"
|
|
1676
|
+
},
|
|
1677
|
+
"attribute": "sort-by",
|
|
1678
|
+
"reflect": false
|
|
1679
|
+
},
|
|
1680
|
+
"sortEnabled": {
|
|
1681
|
+
"type": "boolean",
|
|
1682
|
+
"mutable": false,
|
|
1683
|
+
"complexType": {
|
|
1684
|
+
"original": "boolean",
|
|
1685
|
+
"resolved": "boolean",
|
|
1686
|
+
"references": {}
|
|
1687
|
+
},
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"optional": false,
|
|
1690
|
+
"docs": {
|
|
1691
|
+
"tags": [{
|
|
1692
|
+
"name": "default",
|
|
1693
|
+
"text": "false"
|
|
1694
|
+
}],
|
|
1695
|
+
"text": "Enable sorting"
|
|
1696
|
+
},
|
|
1697
|
+
"attribute": "sort-enabled",
|
|
1698
|
+
"reflect": false,
|
|
1699
|
+
"defaultValue": "false"
|
|
1700
|
+
},
|
|
1701
|
+
"stateId": {
|
|
1702
|
+
"type": "string",
|
|
1703
|
+
"mutable": false,
|
|
1704
|
+
"complexType": {
|
|
1705
|
+
"original": "string",
|
|
1706
|
+
"resolved": "string",
|
|
1707
|
+
"references": {}
|
|
1708
|
+
},
|
|
1709
|
+
"required": false,
|
|
1710
|
+
"optional": false,
|
|
1711
|
+
"docs": {
|
|
1712
|
+
"tags": [],
|
|
1713
|
+
"text": ""
|
|
1714
|
+
},
|
|
1715
|
+
"attribute": "state-id",
|
|
1716
|
+
"reflect": false,
|
|
1717
|
+
"defaultValue": "''"
|
|
1718
|
+
},
|
|
1719
|
+
"store": {
|
|
1720
|
+
"type": "unknown",
|
|
1721
|
+
"mutable": false,
|
|
1722
|
+
"complexType": {
|
|
1723
|
+
"original": "KupStore",
|
|
1724
|
+
"resolved": "KupStore",
|
|
1725
|
+
"references": {
|
|
1726
|
+
"KupStore": {
|
|
1727
|
+
"location": "import",
|
|
1728
|
+
"path": "../kup-state/kup-store"
|
|
1729
|
+
}
|
|
1837
1730
|
}
|
|
1731
|
+
},
|
|
1732
|
+
"required": false,
|
|
1733
|
+
"optional": false,
|
|
1734
|
+
"docs": {
|
|
1735
|
+
"tags": [],
|
|
1736
|
+
"text": ""
|
|
1838
1737
|
}
|
|
1839
1738
|
},
|
|
1840
|
-
"
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
"
|
|
1844
|
-
|
|
1739
|
+
"swipeDisabled": {
|
|
1740
|
+
"type": "boolean",
|
|
1741
|
+
"mutable": false,
|
|
1742
|
+
"complexType": {
|
|
1743
|
+
"original": "boolean",
|
|
1744
|
+
"resolved": "boolean",
|
|
1745
|
+
"references": {}
|
|
1746
|
+
},
|
|
1747
|
+
"required": false,
|
|
1748
|
+
"optional": false,
|
|
1749
|
+
"docs": {
|
|
1750
|
+
"tags": [{
|
|
1751
|
+
"name": "default",
|
|
1752
|
+
"text": "false"
|
|
1753
|
+
}],
|
|
1754
|
+
"text": "Disable swipe"
|
|
1755
|
+
},
|
|
1756
|
+
"attribute": "swipe-disabled",
|
|
1757
|
+
"reflect": false,
|
|
1758
|
+
"defaultValue": "false"
|
|
1845
1759
|
}
|
|
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
|
-
static get events() { return [{
|
|
1877
|
-
"method": "kupBoxClick",
|
|
1878
|
-
"name": "kup-box-click",
|
|
1879
|
-
"bubbles": true,
|
|
1880
|
-
"cancelable": false,
|
|
1881
|
-
"composed": true,
|
|
1882
|
-
"docs": {
|
|
1883
|
-
"tags": [],
|
|
1884
|
-
"text": "Triggered when a box is clicked"
|
|
1885
|
-
},
|
|
1886
|
-
"complexType": {
|
|
1887
|
-
"original": "KupBoxClickEventPayload",
|
|
1888
|
-
"resolved": "KupBoxClickEventPayload",
|
|
1889
|
-
"references": {
|
|
1890
|
-
"KupBoxClickEventPayload": {
|
|
1891
|
-
"location": "import",
|
|
1892
|
-
"path": "./kup-box-declarations"
|
|
1760
|
+
};
|
|
1761
|
+
}
|
|
1762
|
+
static get states() {
|
|
1763
|
+
return {
|
|
1764
|
+
"collapsedSection": {},
|
|
1765
|
+
"selectedRows": {},
|
|
1766
|
+
"rowActionMenuOpened": {},
|
|
1767
|
+
"currentPage": {},
|
|
1768
|
+
"currentRowsPerPage": {}
|
|
1769
|
+
};
|
|
1770
|
+
}
|
|
1771
|
+
static get events() {
|
|
1772
|
+
return [{
|
|
1773
|
+
"method": "kupBoxClick",
|
|
1774
|
+
"name": "kup-box-click",
|
|
1775
|
+
"bubbles": true,
|
|
1776
|
+
"cancelable": false,
|
|
1777
|
+
"composed": true,
|
|
1778
|
+
"docs": {
|
|
1779
|
+
"tags": [],
|
|
1780
|
+
"text": "Triggered when a box is clicked"
|
|
1781
|
+
},
|
|
1782
|
+
"complexType": {
|
|
1783
|
+
"original": "KupBoxClickEventPayload",
|
|
1784
|
+
"resolved": "KupBoxClickEventPayload",
|
|
1785
|
+
"references": {
|
|
1786
|
+
"KupBoxClickEventPayload": {
|
|
1787
|
+
"location": "import",
|
|
1788
|
+
"path": "./kup-box-declarations"
|
|
1789
|
+
}
|
|
1893
1790
|
}
|
|
1894
1791
|
}
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1792
|
+
}, {
|
|
1793
|
+
"method": "kupBoxSelected",
|
|
1794
|
+
"name": "kup-box-selected",
|
|
1795
|
+
"bubbles": true,
|
|
1796
|
+
"cancelable": false,
|
|
1797
|
+
"composed": true,
|
|
1798
|
+
"docs": {
|
|
1799
|
+
"tags": [],
|
|
1800
|
+
"text": "Triggered when the multi selection checkbox changes value"
|
|
1801
|
+
},
|
|
1802
|
+
"complexType": {
|
|
1803
|
+
"original": "KupBoxSelectedEventPayload",
|
|
1804
|
+
"resolved": "KupBoxSelectedEventPayload",
|
|
1805
|
+
"references": {
|
|
1806
|
+
"KupBoxSelectedEventPayload": {
|
|
1807
|
+
"location": "import",
|
|
1808
|
+
"path": "./kup-box-declarations"
|
|
1809
|
+
}
|
|
1913
1810
|
}
|
|
1914
1811
|
}
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1812
|
+
}, {
|
|
1813
|
+
"method": "kupAutoBoxSelect",
|
|
1814
|
+
"name": "kup-box-autoselect",
|
|
1815
|
+
"bubbles": true,
|
|
1816
|
+
"cancelable": false,
|
|
1817
|
+
"composed": true,
|
|
1818
|
+
"docs": {
|
|
1819
|
+
"tags": [],
|
|
1820
|
+
"text": "Triggered when a box is auto selected via selectBox prop"
|
|
1821
|
+
},
|
|
1822
|
+
"complexType": {
|
|
1823
|
+
"original": "KupBoxAutoSelectEventPayload",
|
|
1824
|
+
"resolved": "KupBoxAutoSelectEventPayload",
|
|
1825
|
+
"references": {
|
|
1826
|
+
"KupBoxAutoSelectEventPayload": {
|
|
1827
|
+
"location": "import",
|
|
1828
|
+
"path": "./kup-box-declarations"
|
|
1829
|
+
}
|
|
1933
1830
|
}
|
|
1934
1831
|
}
|
|
1935
|
-
}
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1832
|
+
}, {
|
|
1833
|
+
"method": "kupRowActionMenuClick",
|
|
1834
|
+
"name": "kup-box-rowactionmenuclick",
|
|
1835
|
+
"bubbles": true,
|
|
1836
|
+
"cancelable": false,
|
|
1837
|
+
"composed": true,
|
|
1838
|
+
"docs": {
|
|
1839
|
+
"tags": [],
|
|
1840
|
+
"text": "When the row menu action icon is click"
|
|
1841
|
+
},
|
|
1842
|
+
"complexType": {
|
|
1843
|
+
"original": "KupBoxAutoSelectEventPayload",
|
|
1844
|
+
"resolved": "KupBoxAutoSelectEventPayload",
|
|
1845
|
+
"references": {
|
|
1846
|
+
"KupBoxAutoSelectEventPayload": {
|
|
1847
|
+
"location": "import",
|
|
1848
|
+
"path": "./kup-box-declarations"
|
|
1849
|
+
}
|
|
1953
1850
|
}
|
|
1954
1851
|
}
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1852
|
+
}, {
|
|
1853
|
+
"method": "kupRowActionClick",
|
|
1854
|
+
"name": "kup-box-rowactionclick",
|
|
1855
|
+
"bubbles": true,
|
|
1856
|
+
"cancelable": false,
|
|
1857
|
+
"composed": true,
|
|
1858
|
+
"docs": {
|
|
1859
|
+
"tags": [],
|
|
1860
|
+
"text": "When the row menu action icon is click"
|
|
1861
|
+
},
|
|
1862
|
+
"complexType": {
|
|
1863
|
+
"original": "KupBoxRowActionClickEventPayload",
|
|
1864
|
+
"resolved": "KupBoxRowActionClickEventPayload",
|
|
1865
|
+
"references": {
|
|
1866
|
+
"KupBoxRowActionClickEventPayload": {
|
|
1867
|
+
"location": "import",
|
|
1868
|
+
"path": "./kup-box-declarations"
|
|
1869
|
+
}
|
|
1973
1870
|
}
|
|
1974
1871
|
}
|
|
1975
|
-
}
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1872
|
+
}, {
|
|
1873
|
+
"method": "kupDidLoad",
|
|
1874
|
+
"name": "kup-box-didload",
|
|
1875
|
+
"bubbles": true,
|
|
1876
|
+
"cancelable": false,
|
|
1877
|
+
"composed": true,
|
|
1878
|
+
"docs": {
|
|
1879
|
+
"tags": [],
|
|
1880
|
+
"text": ""
|
|
1881
|
+
},
|
|
1882
|
+
"complexType": {
|
|
1883
|
+
"original": "KupEventPayload",
|
|
1884
|
+
"resolved": "KupEventPayload",
|
|
1885
|
+
"references": {
|
|
1886
|
+
"KupEventPayload": {
|
|
1887
|
+
"location": "import",
|
|
1888
|
+
"path": "../../types/GenericTypes"
|
|
1889
|
+
}
|
|
1993
1890
|
}
|
|
1994
1891
|
}
|
|
1995
|
-
}
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
1892
|
+
}, {
|
|
1893
|
+
"method": "kupDidUnload",
|
|
1894
|
+
"name": "kup-box-didunload",
|
|
1895
|
+
"bubbles": true,
|
|
1896
|
+
"cancelable": false,
|
|
1897
|
+
"composed": true,
|
|
1898
|
+
"docs": {
|
|
1899
|
+
"tags": [],
|
|
1900
|
+
"text": "Triggered when stop propagation event"
|
|
1901
|
+
},
|
|
1902
|
+
"complexType": {
|
|
1903
|
+
"original": "KupEventPayload",
|
|
1904
|
+
"resolved": "KupEventPayload",
|
|
1905
|
+
"references": {
|
|
1906
|
+
"KupEventPayload": {
|
|
1907
|
+
"location": "import",
|
|
1908
|
+
"path": "../../types/GenericTypes"
|
|
1909
|
+
}
|
|
2013
1910
|
}
|
|
2014
1911
|
}
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
1912
|
+
}, {
|
|
1913
|
+
"method": "kupBoxContextMenu",
|
|
1914
|
+
"name": "kup-box-contextmenu",
|
|
1915
|
+
"bubbles": true,
|
|
1916
|
+
"cancelable": false,
|
|
1917
|
+
"composed": true,
|
|
1918
|
+
"docs": {
|
|
1919
|
+
"tags": [],
|
|
1920
|
+
"text": "Generic right click event on box."
|
|
1921
|
+
},
|
|
1922
|
+
"complexType": {
|
|
1923
|
+
"original": "KupBoxContextMenuEventPayload",
|
|
1924
|
+
"resolved": "KupBoxContextMenuEventPayload",
|
|
1925
|
+
"references": {
|
|
1926
|
+
"KupBoxContextMenuEventPayload": {
|
|
1927
|
+
"location": "import",
|
|
1928
|
+
"path": "./kup-box-declarations"
|
|
1929
|
+
}
|
|
2033
1930
|
}
|
|
2034
1931
|
}
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
static get methods() {
|
|
2038
|
-
|
|
2039
|
-
"
|
|
2040
|
-
"
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
"
|
|
2050
|
-
"
|
|
1932
|
+
}];
|
|
1933
|
+
}
|
|
1934
|
+
static get methods() {
|
|
1935
|
+
return {
|
|
1936
|
+
"getProps": {
|
|
1937
|
+
"complexType": {
|
|
1938
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
1939
|
+
"parameters": [{
|
|
1940
|
+
"tags": [{
|
|
1941
|
+
"name": "param",
|
|
1942
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
1943
|
+
}],
|
|
1944
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
1945
|
+
}],
|
|
1946
|
+
"references": {
|
|
1947
|
+
"Promise": {
|
|
1948
|
+
"location": "global"
|
|
1949
|
+
},
|
|
1950
|
+
"GenericObject": {
|
|
1951
|
+
"location": "import",
|
|
1952
|
+
"path": "../../types/GenericTypes"
|
|
1953
|
+
}
|
|
2051
1954
|
},
|
|
2052
|
-
"
|
|
2053
|
-
"location": "import",
|
|
2054
|
-
"path": "../../types/GenericTypes"
|
|
2055
|
-
}
|
|
1955
|
+
"return": "Promise<GenericObject>"
|
|
2056
1956
|
},
|
|
2057
|
-
"
|
|
1957
|
+
"docs": {
|
|
1958
|
+
"text": "Used to retrieve component's props values.",
|
|
1959
|
+
"tags": [{
|
|
1960
|
+
"name": "param",
|
|
1961
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
1962
|
+
}, {
|
|
1963
|
+
"name": "returns",
|
|
1964
|
+
"text": "List of props as object, each key will be a prop."
|
|
1965
|
+
}]
|
|
1966
|
+
}
|
|
2058
1967
|
},
|
|
2059
|
-
"
|
|
2060
|
-
"
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
"
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
"Promise": {
|
|
2082
|
-
"location": "global"
|
|
2083
|
-
},
|
|
2084
|
-
"KupBoxRow": {
|
|
2085
|
-
"location": "import",
|
|
2086
|
-
"path": "./kup-box-declarations"
|
|
1968
|
+
"loadRowActions": {
|
|
1969
|
+
"complexType": {
|
|
1970
|
+
"signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
|
|
1971
|
+
"parameters": [{
|
|
1972
|
+
"tags": [],
|
|
1973
|
+
"text": ""
|
|
1974
|
+
}, {
|
|
1975
|
+
"tags": [],
|
|
1976
|
+
"text": ""
|
|
1977
|
+
}],
|
|
1978
|
+
"references": {
|
|
1979
|
+
"Promise": {
|
|
1980
|
+
"location": "global"
|
|
1981
|
+
},
|
|
1982
|
+
"KupBoxRow": {
|
|
1983
|
+
"location": "import",
|
|
1984
|
+
"path": "./kup-box-declarations"
|
|
1985
|
+
},
|
|
1986
|
+
"KupDataRowAction": {
|
|
1987
|
+
"location": "import",
|
|
1988
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
1989
|
+
}
|
|
2087
1990
|
},
|
|
2088
|
-
"
|
|
2089
|
-
"location": "import",
|
|
2090
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2091
|
-
}
|
|
1991
|
+
"return": "Promise<void>"
|
|
2092
1992
|
},
|
|
2093
|
-
"
|
|
1993
|
+
"docs": {
|
|
1994
|
+
"text": "",
|
|
1995
|
+
"tags": []
|
|
1996
|
+
}
|
|
2094
1997
|
},
|
|
2095
|
-
"
|
|
2096
|
-
"
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
"Promise": {
|
|
2106
|
-
"location": "global"
|
|
2107
|
-
}
|
|
1998
|
+
"refresh": {
|
|
1999
|
+
"complexType": {
|
|
2000
|
+
"signature": "() => Promise<void>",
|
|
2001
|
+
"parameters": [],
|
|
2002
|
+
"references": {
|
|
2003
|
+
"Promise": {
|
|
2004
|
+
"location": "global"
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
"return": "Promise<void>"
|
|
2108
2008
|
},
|
|
2109
|
-
"
|
|
2009
|
+
"docs": {
|
|
2010
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
2011
|
+
"tags": []
|
|
2012
|
+
}
|
|
2110
2013
|
},
|
|
2111
|
-
"
|
|
2112
|
-
"
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2014
|
+
"setProps": {
|
|
2015
|
+
"complexType": {
|
|
2016
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
2017
|
+
"parameters": [{
|
|
2018
|
+
"tags": [{
|
|
2019
|
+
"name": "param",
|
|
2020
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2021
|
+
}],
|
|
2022
|
+
"text": "- Object containing props that will be set to the component."
|
|
2023
|
+
}],
|
|
2024
|
+
"references": {
|
|
2025
|
+
"Promise": {
|
|
2026
|
+
"location": "global"
|
|
2027
|
+
},
|
|
2028
|
+
"GenericObject": {
|
|
2029
|
+
"location": "import",
|
|
2030
|
+
"path": "../../types/GenericTypes"
|
|
2031
|
+
}
|
|
2129
2032
|
},
|
|
2130
|
-
"
|
|
2131
|
-
"location": "import",
|
|
2132
|
-
"path": "../../types/GenericTypes"
|
|
2133
|
-
}
|
|
2033
|
+
"return": "Promise<void>"
|
|
2134
2034
|
},
|
|
2135
|
-
"
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
}]
|
|
2035
|
+
"docs": {
|
|
2036
|
+
"text": "Sets the props to the component.",
|
|
2037
|
+
"tags": [{
|
|
2038
|
+
"name": "param",
|
|
2039
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2040
|
+
}]
|
|
2041
|
+
}
|
|
2143
2042
|
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2043
|
+
};
|
|
2044
|
+
}
|
|
2146
2045
|
static get elementRef() { return "rootElement"; }
|
|
2147
|
-
static get watchers() {
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2046
|
+
static get watchers() {
|
|
2047
|
+
return [{
|
|
2048
|
+
"propName": "pageSize",
|
|
2049
|
+
"methodName": "rowsPerPageHandler"
|
|
2050
|
+
}, {
|
|
2051
|
+
"propName": "globalFilterValue",
|
|
2052
|
+
"methodName": "recalculateRows"
|
|
2053
|
+
}, {
|
|
2054
|
+
"propName": "sortBy",
|
|
2055
|
+
"methodName": "recalculateRows"
|
|
2056
|
+
}, {
|
|
2057
|
+
"propName": "pagination",
|
|
2058
|
+
"methodName": "recalculateRows"
|
|
2059
|
+
}, {
|
|
2060
|
+
"propName": "pageSize",
|
|
2061
|
+
"methodName": "recalculateRows"
|
|
2062
|
+
}, {
|
|
2063
|
+
"propName": "currentPage",
|
|
2064
|
+
"methodName": "recalculateRows"
|
|
2065
|
+
}, {
|
|
2066
|
+
"propName": "currentRowsPerPage",
|
|
2067
|
+
"methodName": "recalculateRows"
|
|
2068
|
+
}, {
|
|
2069
|
+
"propName": "data",
|
|
2070
|
+
"methodName": "onDataChanged"
|
|
2071
|
+
}, {
|
|
2072
|
+
"propName": "layout",
|
|
2073
|
+
"methodName": "onLayoutChanged"
|
|
2074
|
+
}, {
|
|
2075
|
+
"propName": "selectBox",
|
|
2076
|
+
"methodName": "onSelectBoxChanged"
|
|
2077
|
+
}];
|
|
2078
|
+
}
|
|
2178
2079
|
}
|