@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, 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';
|
|
@@ -383,12 +383,24 @@ export class KupBox {
|
|
|
383
383
|
let column = null;
|
|
384
384
|
if (el) {
|
|
385
385
|
boxObject =
|
|
386
|
-
el.closest('.box-object') ||
|
|
386
|
+
el.closest('.box-object') ||
|
|
387
|
+
el.querySelector('.box-object') ||
|
|
388
|
+
el.closest('.f-cell');
|
|
387
389
|
}
|
|
388
390
|
if (boxObject) {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
391
|
+
if (boxObject.classList.contains('f-cell')) {
|
|
392
|
+
const props = boxObject['kup-get-cell-props']();
|
|
393
|
+
cell = props.cell;
|
|
394
|
+
column = props.column;
|
|
395
|
+
row = props.row;
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
cell = boxObject['data-cell'];
|
|
399
|
+
row = boxObject['data-row'];
|
|
400
|
+
column = getColumnByName(this.visibleColumns, boxObject.dataset.column);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
else {
|
|
392
404
|
}
|
|
393
405
|
return {
|
|
394
406
|
boxObject: boxObject ? boxObject : null,
|
|
@@ -598,7 +610,7 @@ export class KupBox {
|
|
|
598
610
|
for (const key in row.cells) {
|
|
599
611
|
if (row.cells.hasOwnProperty(key)) {
|
|
600
612
|
const cell = row.cells[key];
|
|
601
|
-
if (cell.cardID !== undefined) {
|
|
613
|
+
if (cell.cardID !== undefined && cell.obj) {
|
|
602
614
|
switch (cell.obj.p) {
|
|
603
615
|
case 'BTN':
|
|
604
616
|
do {
|
|
@@ -638,7 +650,7 @@ export class KupBox {
|
|
|
638
650
|
for (const key in row.cells) {
|
|
639
651
|
if (row.cells.hasOwnProperty(key)) {
|
|
640
652
|
const cell = row.cells[key];
|
|
641
|
-
if (cell.cardID === undefined) {
|
|
653
|
+
if (cell.cardID === undefined && cell.obj) {
|
|
642
654
|
skipPush = false;
|
|
643
655
|
switch (cell.obj.p) {
|
|
644
656
|
case 'BTN':
|
|
@@ -759,8 +771,7 @@ export class KupBox {
|
|
|
759
771
|
}
|
|
760
772
|
let multiSel = null;
|
|
761
773
|
if (this.multiSelection) {
|
|
762
|
-
multiSel = (h("div", { class: "box-selection" },
|
|
763
|
-
h("kup-checkbox", { checked: isSelected })));
|
|
774
|
+
multiSel = (h("div", { class: "box-selection" }, h("kup-checkbox", { checked: isSelected })));
|
|
764
775
|
}
|
|
765
776
|
let rowObject = null;
|
|
766
777
|
if (this.enableRowActions && !this.swipeDisabled) {
|
|
@@ -772,17 +783,11 @@ export class KupBox {
|
|
|
772
783
|
if (row.actions) {
|
|
773
784
|
const actionItems = row.actions.map((item, index) => {
|
|
774
785
|
const iconClass = `icon ${item.icon}`;
|
|
775
|
-
return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) },
|
|
776
|
-
h("div", { class: iconClass }),
|
|
777
|
-
h("div", { class: "text" }, item.text)));
|
|
786
|
+
return (h("li", { tabindex: "0", onClick: () => this.onRowActionClick(row, item, index) }, h("div", { class: iconClass }), h("div", { class: "text" }, item.text)));
|
|
778
787
|
});
|
|
779
788
|
rowActionMenuContent = h("ul", null, actionItems);
|
|
780
789
|
}
|
|
781
|
-
rowObject = (h("div", { class: "row-actions-wrapper" },
|
|
782
|
-
h("div", { class: "row-actions-toggler" },
|
|
783
|
-
h("svg", { version: "1.1", width: "24", height: "24", viewBox: "0 0 24 24", onClick: () => this.onRowAction(row) },
|
|
784
|
-
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" })),
|
|
785
|
-
h("div", { class: menuClass }, rowActionMenuContent))));
|
|
790
|
+
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))));
|
|
786
791
|
}
|
|
787
792
|
let badges = null;
|
|
788
793
|
if (row.badgeData && row.badgeData.length > 0) {
|
|
@@ -796,12 +801,8 @@ export class KupBox {
|
|
|
796
801
|
selected: this.showSelection && isSelected,
|
|
797
802
|
column: !horizontal,
|
|
798
803
|
};
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
multiSel,
|
|
802
|
-
boxContent,
|
|
803
|
-
badges),
|
|
804
|
-
rowObject));
|
|
804
|
+
const rowStyle = row.style || {};
|
|
805
|
+
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));
|
|
805
806
|
}
|
|
806
807
|
renderSection(section, parent, row, visibleColumns) {
|
|
807
808
|
let sectionContent = null;
|
|
@@ -881,21 +882,14 @@ export class KupBox {
|
|
|
881
882
|
else {
|
|
882
883
|
headerTitle = this.kupManager.language.translate(KupLanguageGeneric.EXPAND);
|
|
883
884
|
}
|
|
884
|
-
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
this.toggleSectionExpand(row, section);
|
|
889
|
-
} },
|
|
890
|
-
h("div", { class: "header-content" },
|
|
891
|
-
h("span", null, headerTitle),
|
|
892
|
-
h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
|
|
885
|
+
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
|
|
886
|
+
e.stopPropagation();
|
|
887
|
+
this.toggleSectionExpand(row, section);
|
|
888
|
+
} }, h("div", { class: "header-content" }, h("span", null, headerTitle), h(FImage, { resource: `${KupThemeIconValues.DROPDOWN}`, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: sectionExpanded ? 'toggled' : '' })))));
|
|
893
889
|
}
|
|
894
890
|
else {
|
|
895
891
|
const title = section.title ? h("h3", null, section.title) : null;
|
|
896
|
-
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle },
|
|
897
|
-
title,
|
|
898
|
-
sectionContent));
|
|
892
|
+
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, title, sectionContent));
|
|
899
893
|
}
|
|
900
894
|
return sectionContainer;
|
|
901
895
|
}
|
|
@@ -950,9 +944,7 @@ export class KupBox {
|
|
|
950
944
|
if (!this.kanban.columns || this.kanban.columns.length === 0) {
|
|
951
945
|
this.kupManager.debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
|
|
952
946
|
return {
|
|
953
|
-
jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" },
|
|
954
|
-
h("div", { ref: (el) => this.rowsRefs.push(el) }),
|
|
955
|
-
this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))),
|
|
947
|
+
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))),
|
|
956
948
|
style: { 'grid-template-columns': `repeat(1, 1fr)` },
|
|
957
949
|
};
|
|
958
950
|
}
|
|
@@ -1021,9 +1013,7 @@ export class KupBox {
|
|
|
1021
1013
|
id: sortingKey[index],
|
|
1022
1014
|
});
|
|
1023
1015
|
}
|
|
1024
|
-
kanbanJSX.push(h("div", { class: "kanban-section" },
|
|
1025
|
-
h(FChip, Object.assign({}, props)),
|
|
1026
|
-
kanbanSections[index].nodes));
|
|
1016
|
+
kanbanJSX.push(h("div", { class: "kanban-section" }, h(FChip, Object.assign({}, props)), kanbanSections[index].nodes));
|
|
1027
1017
|
}
|
|
1028
1018
|
return {
|
|
1029
1019
|
jsx: kanbanJSX,
|
|
@@ -1207,16 +1197,14 @@ export class KupBox {
|
|
|
1207
1197
|
'kup-text-field': textfieldData,
|
|
1208
1198
|
'kup-list': listData,
|
|
1209
1199
|
};
|
|
1210
|
-
sortPanel = (h("div", { id: "sort-panel" },
|
|
1211
|
-
h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
|
|
1200
|
+
sortPanel = (h("div", { id: "sort-panel" }, h("kup-combobox", { data: data, initialValue: this.sortBy, "onkup-combobox-itemclick": (e) => this.onSortChange(e) })));
|
|
1212
1201
|
}
|
|
1213
1202
|
let filterPanel = null;
|
|
1214
1203
|
if (this.globalFilter) {
|
|
1215
|
-
filterPanel = (h("div", { id: "global-filter" },
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
} })));
|
|
1204
|
+
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) => {
|
|
1205
|
+
window.clearTimeout(this.globalFilterTimeout);
|
|
1206
|
+
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1207
|
+
} })));
|
|
1220
1208
|
}
|
|
1221
1209
|
let paginator = null;
|
|
1222
1210
|
if (this.pagination) {
|
|
@@ -1227,8 +1215,7 @@ export class KupBox {
|
|
|
1227
1215
|
let boxContent = null;
|
|
1228
1216
|
let containerStyle = {};
|
|
1229
1217
|
if (this.rows.length === 0) {
|
|
1230
|
-
boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" },
|
|
1231
|
-
h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1218
|
+
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))));
|
|
1232
1219
|
containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
|
|
1233
1220
|
}
|
|
1234
1221
|
else if (isKanban) {
|
|
@@ -1248,17 +1235,10 @@ export class KupBox {
|
|
|
1248
1235
|
boxContent.push(this.renderRow(rows[cnt++]));
|
|
1249
1236
|
}
|
|
1250
1237
|
}
|
|
1251
|
-
return (h(Host, null,
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
sortPanel,
|
|
1256
|
-
filterPanel,
|
|
1257
|
-
paginator,
|
|
1258
|
-
h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
|
|
1259
|
-
e.preventDefault();
|
|
1260
|
-
}, ref: (el) => (this.boxContainer =
|
|
1261
|
-
el) }, boxContent)))));
|
|
1238
|
+
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) => {
|
|
1239
|
+
e.preventDefault();
|
|
1240
|
+
}, ref: (el) => (this.boxContainer =
|
|
1241
|
+
el) }, boxContent)))));
|
|
1262
1242
|
}
|
|
1263
1243
|
disconnectedCallback() {
|
|
1264
1244
|
this.kupManager.interact.unregister(this.interactableDrag.concat(this.interactableDrop));
|
|
@@ -1273,894 +1253,908 @@ export class KupBox {
|
|
|
1273
1253
|
}
|
|
1274
1254
|
static get is() { return "kup-box"; }
|
|
1275
1255
|
static get encapsulation() { return "shadow"; }
|
|
1276
|
-
static get originalStyleUrls() {
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
"
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1256
|
+
static get originalStyleUrls() {
|
|
1257
|
+
return {
|
|
1258
|
+
"$": ["kup-box.scss"]
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
static get styleUrls() {
|
|
1262
|
+
return {
|
|
1263
|
+
"$": ["kup-box.css"]
|
|
1264
|
+
};
|
|
1265
|
+
}
|
|
1266
|
+
static get properties() {
|
|
1267
|
+
return {
|
|
1268
|
+
"cardData": {
|
|
1269
|
+
"type": "unknown",
|
|
1270
|
+
"mutable": false,
|
|
1271
|
+
"complexType": {
|
|
1272
|
+
"original": "GenericObject",
|
|
1273
|
+
"resolved": "GenericObject",
|
|
1274
|
+
"references": {
|
|
1275
|
+
"GenericObject": {
|
|
1276
|
+
"location": "import",
|
|
1277
|
+
"path": "../../types/GenericTypes"
|
|
1278
|
+
}
|
|
1293
1279
|
}
|
|
1294
|
-
}
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
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
|
-
|
|
1280
|
+
},
|
|
1281
|
+
"required": false,
|
|
1282
|
+
"optional": false,
|
|
1283
|
+
"docs": {
|
|
1284
|
+
"tags": [{
|
|
1285
|
+
"name": "default",
|
|
1286
|
+
"text": "null"
|
|
1287
|
+
}],
|
|
1288
|
+
"text": "Data of the card linked to the box when the latter's layout must be a premade template."
|
|
1289
|
+
},
|
|
1290
|
+
"defaultValue": "null"
|
|
1291
|
+
},
|
|
1292
|
+
"columns": {
|
|
1293
|
+
"type": "number",
|
|
1294
|
+
"mutable": false,
|
|
1295
|
+
"complexType": {
|
|
1296
|
+
"original": "number",
|
|
1297
|
+
"resolved": "number",
|
|
1298
|
+
"references": {}
|
|
1299
|
+
},
|
|
1300
|
+
"required": false,
|
|
1301
|
+
"optional": false,
|
|
1302
|
+
"docs": {
|
|
1303
|
+
"tags": [{
|
|
1304
|
+
"name": "default",
|
|
1305
|
+
"text": "1"
|
|
1306
|
+
}],
|
|
1307
|
+
"text": "Number of columns"
|
|
1308
|
+
},
|
|
1309
|
+
"attribute": "columns",
|
|
1310
|
+
"reflect": false,
|
|
1311
|
+
"defaultValue": "1"
|
|
1312
|
+
},
|
|
1313
|
+
"customStyle": {
|
|
1314
|
+
"type": "string",
|
|
1315
|
+
"mutable": false,
|
|
1316
|
+
"complexType": {
|
|
1317
|
+
"original": "string",
|
|
1318
|
+
"resolved": "string",
|
|
1319
|
+
"references": {}
|
|
1320
|
+
},
|
|
1321
|
+
"required": false,
|
|
1322
|
+
"optional": false,
|
|
1323
|
+
"docs": {
|
|
1324
|
+
"tags": [{
|
|
1325
|
+
"name": "default",
|
|
1326
|
+
"text": "\"\""
|
|
1327
|
+
}, {
|
|
1328
|
+
"name": "see",
|
|
1329
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
1330
|
+
}],
|
|
1331
|
+
"text": "Custom style of the component."
|
|
1332
|
+
},
|
|
1333
|
+
"attribute": "custom-style",
|
|
1334
|
+
"reflect": false,
|
|
1335
|
+
"defaultValue": "''"
|
|
1336
|
+
},
|
|
1337
|
+
"data": {
|
|
1338
|
+
"type": "unknown",
|
|
1339
|
+
"mutable": false,
|
|
1340
|
+
"complexType": {
|
|
1341
|
+
"original": "KupBoxData",
|
|
1342
|
+
"resolved": "KupBoxData",
|
|
1343
|
+
"references": {
|
|
1344
|
+
"KupBoxData": {
|
|
1345
|
+
"location": "import",
|
|
1346
|
+
"path": "./kup-box-declarations"
|
|
1347
|
+
}
|
|
1362
1348
|
}
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
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
|
-
|
|
1349
|
+
},
|
|
1350
|
+
"required": false,
|
|
1351
|
+
"optional": false,
|
|
1352
|
+
"docs": {
|
|
1353
|
+
"tags": [{
|
|
1354
|
+
"name": "default",
|
|
1355
|
+
"text": "null"
|
|
1356
|
+
}],
|
|
1357
|
+
"text": "Actual data of the box."
|
|
1358
|
+
},
|
|
1359
|
+
"defaultValue": "null"
|
|
1360
|
+
},
|
|
1361
|
+
"dragEnabled": {
|
|
1362
|
+
"type": "boolean",
|
|
1363
|
+
"mutable": false,
|
|
1364
|
+
"complexType": {
|
|
1365
|
+
"original": "boolean",
|
|
1366
|
+
"resolved": "boolean",
|
|
1367
|
+
"references": {}
|
|
1368
|
+
},
|
|
1369
|
+
"required": false,
|
|
1370
|
+
"optional": false,
|
|
1371
|
+
"docs": {
|
|
1372
|
+
"tags": [{
|
|
1373
|
+
"name": "default",
|
|
1374
|
+
"text": "false"
|
|
1375
|
+
}],
|
|
1376
|
+
"text": "Enable dragging"
|
|
1377
|
+
},
|
|
1378
|
+
"attribute": "drag-enabled",
|
|
1379
|
+
"reflect": false,
|
|
1380
|
+
"defaultValue": "false"
|
|
1381
|
+
},
|
|
1382
|
+
"dropEnabled": {
|
|
1383
|
+
"type": "boolean",
|
|
1384
|
+
"mutable": false,
|
|
1385
|
+
"complexType": {
|
|
1386
|
+
"original": "boolean",
|
|
1387
|
+
"resolved": "boolean",
|
|
1388
|
+
"references": {}
|
|
1389
|
+
},
|
|
1390
|
+
"required": false,
|
|
1391
|
+
"optional": false,
|
|
1392
|
+
"docs": {
|
|
1393
|
+
"tags": [{
|
|
1394
|
+
"name": "default",
|
|
1395
|
+
"text": "false"
|
|
1396
|
+
}],
|
|
1397
|
+
"text": "Enable dropping"
|
|
1398
|
+
},
|
|
1399
|
+
"attribute": "drop-enabled",
|
|
1400
|
+
"reflect": false,
|
|
1401
|
+
"defaultValue": "false"
|
|
1402
|
+
},
|
|
1403
|
+
"dropOnSection": {
|
|
1404
|
+
"type": "boolean",
|
|
1405
|
+
"mutable": false,
|
|
1406
|
+
"complexType": {
|
|
1407
|
+
"original": "boolean",
|
|
1408
|
+
"resolved": "boolean",
|
|
1409
|
+
"references": {}
|
|
1410
|
+
},
|
|
1411
|
+
"required": false,
|
|
1412
|
+
"optional": false,
|
|
1413
|
+
"docs": {
|
|
1414
|
+
"tags": [{
|
|
1415
|
+
"name": "default",
|
|
1416
|
+
"text": "false"
|
|
1417
|
+
}],
|
|
1418
|
+
"text": "Drop can be done in section"
|
|
1419
|
+
},
|
|
1420
|
+
"attribute": "drop-on-section",
|
|
1421
|
+
"reflect": false,
|
|
1422
|
+
"defaultValue": "false"
|
|
1423
|
+
},
|
|
1424
|
+
"editableData": {
|
|
1425
|
+
"type": "boolean",
|
|
1426
|
+
"mutable": false,
|
|
1427
|
+
"complexType": {
|
|
1428
|
+
"original": "boolean",
|
|
1429
|
+
"resolved": "boolean",
|
|
1430
|
+
"references": {}
|
|
1431
|
+
},
|
|
1432
|
+
"required": false,
|
|
1433
|
+
"optional": false,
|
|
1434
|
+
"docs": {
|
|
1435
|
+
"tags": [{
|
|
1436
|
+
"name": "default",
|
|
1437
|
+
"text": "false"
|
|
1438
|
+
}],
|
|
1439
|
+
"text": "When set to true, editable cells will be rendered using input components."
|
|
1440
|
+
},
|
|
1441
|
+
"attribute": "editable-data",
|
|
1442
|
+
"reflect": false,
|
|
1443
|
+
"defaultValue": "false"
|
|
1444
|
+
},
|
|
1445
|
+
"enableRowActions": {
|
|
1446
|
+
"type": "boolean",
|
|
1447
|
+
"mutable": false,
|
|
1448
|
+
"complexType": {
|
|
1449
|
+
"original": "boolean",
|
|
1450
|
+
"resolved": "boolean",
|
|
1451
|
+
"references": {}
|
|
1452
|
+
},
|
|
1453
|
+
"required": false,
|
|
1454
|
+
"optional": false,
|
|
1455
|
+
"docs": {
|
|
1456
|
+
"tags": [{
|
|
1457
|
+
"name": "default",
|
|
1458
|
+
"text": "false"
|
|
1459
|
+
}],
|
|
1460
|
+
"text": "If enabled, a button to load / display the row actions\r\nwill be displayed on the right of every box"
|
|
1461
|
+
},
|
|
1462
|
+
"attribute": "enable-row-actions",
|
|
1463
|
+
"reflect": false,
|
|
1464
|
+
"defaultValue": "false"
|
|
1465
|
+
},
|
|
1466
|
+
"globalFilter": {
|
|
1467
|
+
"type": "boolean",
|
|
1468
|
+
"mutable": false,
|
|
1469
|
+
"complexType": {
|
|
1470
|
+
"original": "boolean",
|
|
1471
|
+
"resolved": "boolean",
|
|
1472
|
+
"references": {}
|
|
1473
|
+
},
|
|
1474
|
+
"required": false,
|
|
1475
|
+
"optional": false,
|
|
1476
|
+
"docs": {
|
|
1477
|
+
"tags": [{
|
|
1478
|
+
"name": "default",
|
|
1479
|
+
"text": "false"
|
|
1480
|
+
}],
|
|
1481
|
+
"text": "When set to true it activates the global filter."
|
|
1482
|
+
},
|
|
1483
|
+
"attribute": "global-filter",
|
|
1484
|
+
"reflect": false,
|
|
1485
|
+
"defaultValue": "false"
|
|
1486
|
+
},
|
|
1487
|
+
"globalFilterValue": {
|
|
1488
|
+
"type": "string",
|
|
1489
|
+
"mutable": true,
|
|
1490
|
+
"complexType": {
|
|
1491
|
+
"original": "string",
|
|
1492
|
+
"resolved": "string",
|
|
1493
|
+
"references": {}
|
|
1494
|
+
},
|
|
1495
|
+
"required": false,
|
|
1496
|
+
"optional": false,
|
|
1497
|
+
"docs": {
|
|
1498
|
+
"tags": [{
|
|
1499
|
+
"name": "default",
|
|
1500
|
+
"text": "\"\""
|
|
1501
|
+
}],
|
|
1502
|
+
"text": "The value of the global filter."
|
|
1503
|
+
},
|
|
1504
|
+
"attribute": "global-filter-value",
|
|
1505
|
+
"reflect": true,
|
|
1506
|
+
"defaultValue": "''"
|
|
1507
|
+
},
|
|
1508
|
+
"kanban": {
|
|
1509
|
+
"type": "unknown",
|
|
1510
|
+
"mutable": false,
|
|
1511
|
+
"complexType": {
|
|
1512
|
+
"original": "KupBoxKanban",
|
|
1513
|
+
"resolved": "KupBoxKanban",
|
|
1514
|
+
"references": {
|
|
1515
|
+
"KupBoxKanban": {
|
|
1516
|
+
"location": "import",
|
|
1517
|
+
"path": "./kup-box-declarations"
|
|
1518
|
+
}
|
|
1533
1519
|
}
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1520
|
+
},
|
|
1521
|
+
"required": false,
|
|
1522
|
+
"optional": false,
|
|
1523
|
+
"docs": {
|
|
1524
|
+
"tags": [{
|
|
1525
|
+
"name": "default",
|
|
1526
|
+
"text": "null"
|
|
1527
|
+
}],
|
|
1528
|
+
"text": "Displays the boxlist as a Kanban."
|
|
1529
|
+
},
|
|
1530
|
+
"defaultValue": "null"
|
|
1531
|
+
},
|
|
1532
|
+
"layout": {
|
|
1533
|
+
"type": "unknown",
|
|
1534
|
+
"mutable": false,
|
|
1535
|
+
"complexType": {
|
|
1536
|
+
"original": "KupBoxLayout",
|
|
1537
|
+
"resolved": "KupBoxLayout",
|
|
1538
|
+
"references": {
|
|
1539
|
+
"KupBoxLayout": {
|
|
1540
|
+
"location": "import",
|
|
1541
|
+
"path": "./kup-box-declarations"
|
|
1542
|
+
}
|
|
1557
1543
|
}
|
|
1544
|
+
},
|
|
1545
|
+
"required": false,
|
|
1546
|
+
"optional": false,
|
|
1547
|
+
"docs": {
|
|
1548
|
+
"tags": [{
|
|
1549
|
+
"name": "default",
|
|
1550
|
+
"text": "undefined"
|
|
1551
|
+
}],
|
|
1552
|
+
"text": "How the field will be displayed. If not present, a default one will be created."
|
|
1558
1553
|
}
|
|
1559
1554
|
},
|
|
1560
|
-
"
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
"
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
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
|
-
"type": "unknown",
|
|
1817
|
-
"mutable": false,
|
|
1818
|
-
"complexType": {
|
|
1819
|
-
"original": "KupStore",
|
|
1820
|
-
"resolved": "KupStore",
|
|
1821
|
-
"references": {
|
|
1822
|
-
"KupStore": {
|
|
1823
|
-
"location": "import",
|
|
1824
|
-
"path": "../kup-state/kup-store"
|
|
1555
|
+
"multiSelection": {
|
|
1556
|
+
"type": "boolean",
|
|
1557
|
+
"mutable": false,
|
|
1558
|
+
"complexType": {
|
|
1559
|
+
"original": "boolean",
|
|
1560
|
+
"resolved": "boolean",
|
|
1561
|
+
"references": {}
|
|
1562
|
+
},
|
|
1563
|
+
"required": false,
|
|
1564
|
+
"optional": false,
|
|
1565
|
+
"docs": {
|
|
1566
|
+
"tags": [{
|
|
1567
|
+
"name": "default",
|
|
1568
|
+
"text": "false"
|
|
1569
|
+
}],
|
|
1570
|
+
"text": "Enable multi selection"
|
|
1571
|
+
},
|
|
1572
|
+
"attribute": "multi-selection",
|
|
1573
|
+
"reflect": false,
|
|
1574
|
+
"defaultValue": "false"
|
|
1575
|
+
},
|
|
1576
|
+
"pageSelected": {
|
|
1577
|
+
"type": "number",
|
|
1578
|
+
"mutable": false,
|
|
1579
|
+
"complexType": {
|
|
1580
|
+
"original": "number",
|
|
1581
|
+
"resolved": "number",
|
|
1582
|
+
"references": {}
|
|
1583
|
+
},
|
|
1584
|
+
"required": false,
|
|
1585
|
+
"optional": false,
|
|
1586
|
+
"docs": {
|
|
1587
|
+
"tags": [{
|
|
1588
|
+
"name": "default",
|
|
1589
|
+
"text": "1"
|
|
1590
|
+
}],
|
|
1591
|
+
"text": "Current page number"
|
|
1592
|
+
},
|
|
1593
|
+
"attribute": "page-selected",
|
|
1594
|
+
"reflect": false,
|
|
1595
|
+
"defaultValue": "1"
|
|
1596
|
+
},
|
|
1597
|
+
"pageSize": {
|
|
1598
|
+
"type": "number",
|
|
1599
|
+
"mutable": false,
|
|
1600
|
+
"complexType": {
|
|
1601
|
+
"original": "number",
|
|
1602
|
+
"resolved": "number",
|
|
1603
|
+
"references": {}
|
|
1604
|
+
},
|
|
1605
|
+
"required": false,
|
|
1606
|
+
"optional": false,
|
|
1607
|
+
"docs": {
|
|
1608
|
+
"tags": [{
|
|
1609
|
+
"name": "default",
|
|
1610
|
+
"text": "10"
|
|
1611
|
+
}],
|
|
1612
|
+
"text": "Number of boxes per page"
|
|
1613
|
+
},
|
|
1614
|
+
"attribute": "page-size",
|
|
1615
|
+
"reflect": false,
|
|
1616
|
+
"defaultValue": "10"
|
|
1617
|
+
},
|
|
1618
|
+
"pagination": {
|
|
1619
|
+
"type": "boolean",
|
|
1620
|
+
"mutable": false,
|
|
1621
|
+
"complexType": {
|
|
1622
|
+
"original": "boolean",
|
|
1623
|
+
"resolved": "boolean",
|
|
1624
|
+
"references": {}
|
|
1625
|
+
},
|
|
1626
|
+
"required": false,
|
|
1627
|
+
"optional": false,
|
|
1628
|
+
"docs": {
|
|
1629
|
+
"tags": [{
|
|
1630
|
+
"name": "default",
|
|
1631
|
+
"text": "false"
|
|
1632
|
+
}],
|
|
1633
|
+
"text": "Enables pagination"
|
|
1634
|
+
},
|
|
1635
|
+
"attribute": "pagination",
|
|
1636
|
+
"reflect": false,
|
|
1637
|
+
"defaultValue": "false"
|
|
1638
|
+
},
|
|
1639
|
+
"rowsPerPage": {
|
|
1640
|
+
"type": "number",
|
|
1641
|
+
"mutable": false,
|
|
1642
|
+
"complexType": {
|
|
1643
|
+
"original": "number",
|
|
1644
|
+
"resolved": "number",
|
|
1645
|
+
"references": {}
|
|
1646
|
+
},
|
|
1647
|
+
"required": false,
|
|
1648
|
+
"optional": false,
|
|
1649
|
+
"docs": {
|
|
1650
|
+
"tags": [{
|
|
1651
|
+
"name": "default",
|
|
1652
|
+
"text": "undefined"
|
|
1653
|
+
}],
|
|
1654
|
+
"text": "Number of current rows per page"
|
|
1655
|
+
},
|
|
1656
|
+
"attribute": "rows-per-page",
|
|
1657
|
+
"reflect": false
|
|
1658
|
+
},
|
|
1659
|
+
"scrollOnHover": {
|
|
1660
|
+
"type": "boolean",
|
|
1661
|
+
"mutable": false,
|
|
1662
|
+
"complexType": {
|
|
1663
|
+
"original": "boolean",
|
|
1664
|
+
"resolved": "boolean",
|
|
1665
|
+
"references": {}
|
|
1666
|
+
},
|
|
1667
|
+
"required": false,
|
|
1668
|
+
"optional": false,
|
|
1669
|
+
"docs": {
|
|
1670
|
+
"tags": [{
|
|
1671
|
+
"name": "default",
|
|
1672
|
+
"text": "false"
|
|
1673
|
+
}],
|
|
1674
|
+
"text": "Activates the scroll on hover function."
|
|
1675
|
+
},
|
|
1676
|
+
"attribute": "scroll-on-hover",
|
|
1677
|
+
"reflect": false,
|
|
1678
|
+
"defaultValue": "false"
|
|
1679
|
+
},
|
|
1680
|
+
"selectBox": {
|
|
1681
|
+
"type": "number",
|
|
1682
|
+
"mutable": false,
|
|
1683
|
+
"complexType": {
|
|
1684
|
+
"original": "number",
|
|
1685
|
+
"resolved": "number",
|
|
1686
|
+
"references": {}
|
|
1687
|
+
},
|
|
1688
|
+
"required": false,
|
|
1689
|
+
"optional": false,
|
|
1690
|
+
"docs": {
|
|
1691
|
+
"tags": [{
|
|
1692
|
+
"name": "default",
|
|
1693
|
+
"text": "undefined"
|
|
1694
|
+
}],
|
|
1695
|
+
"text": "Automatically selects the box at the specified index"
|
|
1696
|
+
},
|
|
1697
|
+
"attribute": "select-box",
|
|
1698
|
+
"reflect": false
|
|
1699
|
+
},
|
|
1700
|
+
"selectedRowsState": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
"mutable": true,
|
|
1703
|
+
"complexType": {
|
|
1704
|
+
"original": "string",
|
|
1705
|
+
"resolved": "string",
|
|
1706
|
+
"references": {}
|
|
1707
|
+
},
|
|
1708
|
+
"required": false,
|
|
1709
|
+
"optional": false,
|
|
1710
|
+
"docs": {
|
|
1711
|
+
"tags": [{
|
|
1712
|
+
"name": "default",
|
|
1713
|
+
"text": "undefined"
|
|
1714
|
+
}],
|
|
1715
|
+
"text": "Multiple selection"
|
|
1716
|
+
},
|
|
1717
|
+
"attribute": "selected-rows-state",
|
|
1718
|
+
"reflect": false
|
|
1719
|
+
},
|
|
1720
|
+
"showSelection": {
|
|
1721
|
+
"type": "boolean",
|
|
1722
|
+
"mutable": false,
|
|
1723
|
+
"complexType": {
|
|
1724
|
+
"original": "boolean",
|
|
1725
|
+
"resolved": "boolean",
|
|
1726
|
+
"references": {}
|
|
1727
|
+
},
|
|
1728
|
+
"required": false,
|
|
1729
|
+
"optional": false,
|
|
1730
|
+
"docs": {
|
|
1731
|
+
"tags": [{
|
|
1732
|
+
"name": "default",
|
|
1733
|
+
"text": "true"
|
|
1734
|
+
}],
|
|
1735
|
+
"text": "If enabled, highlights the selected box/boxes"
|
|
1736
|
+
},
|
|
1737
|
+
"attribute": "show-selection",
|
|
1738
|
+
"reflect": false,
|
|
1739
|
+
"defaultValue": "true"
|
|
1740
|
+
},
|
|
1741
|
+
"sortBy": {
|
|
1742
|
+
"type": "string",
|
|
1743
|
+
"mutable": true,
|
|
1744
|
+
"complexType": {
|
|
1745
|
+
"original": "string",
|
|
1746
|
+
"resolved": "string",
|
|
1747
|
+
"references": {}
|
|
1748
|
+
},
|
|
1749
|
+
"required": false,
|
|
1750
|
+
"optional": false,
|
|
1751
|
+
"docs": {
|
|
1752
|
+
"tags": [{
|
|
1753
|
+
"name": "default",
|
|
1754
|
+
"text": "undefined"
|
|
1755
|
+
}],
|
|
1756
|
+
"text": "If sorting is enabled, specifies which column to sort"
|
|
1757
|
+
},
|
|
1758
|
+
"attribute": "sort-by",
|
|
1759
|
+
"reflect": false
|
|
1760
|
+
},
|
|
1761
|
+
"sortEnabled": {
|
|
1762
|
+
"type": "boolean",
|
|
1763
|
+
"mutable": false,
|
|
1764
|
+
"complexType": {
|
|
1765
|
+
"original": "boolean",
|
|
1766
|
+
"resolved": "boolean",
|
|
1767
|
+
"references": {}
|
|
1768
|
+
},
|
|
1769
|
+
"required": false,
|
|
1770
|
+
"optional": false,
|
|
1771
|
+
"docs": {
|
|
1772
|
+
"tags": [{
|
|
1773
|
+
"name": "default",
|
|
1774
|
+
"text": "false"
|
|
1775
|
+
}],
|
|
1776
|
+
"text": "Enable sorting"
|
|
1777
|
+
},
|
|
1778
|
+
"attribute": "sort-enabled",
|
|
1779
|
+
"reflect": false,
|
|
1780
|
+
"defaultValue": "false"
|
|
1781
|
+
},
|
|
1782
|
+
"stateId": {
|
|
1783
|
+
"type": "string",
|
|
1784
|
+
"mutable": false,
|
|
1785
|
+
"complexType": {
|
|
1786
|
+
"original": "string",
|
|
1787
|
+
"resolved": "string",
|
|
1788
|
+
"references": {}
|
|
1789
|
+
},
|
|
1790
|
+
"required": false,
|
|
1791
|
+
"optional": false,
|
|
1792
|
+
"docs": {
|
|
1793
|
+
"tags": [],
|
|
1794
|
+
"text": ""
|
|
1795
|
+
},
|
|
1796
|
+
"attribute": "state-id",
|
|
1797
|
+
"reflect": false,
|
|
1798
|
+
"defaultValue": "''"
|
|
1799
|
+
},
|
|
1800
|
+
"store": {
|
|
1801
|
+
"type": "unknown",
|
|
1802
|
+
"mutable": false,
|
|
1803
|
+
"complexType": {
|
|
1804
|
+
"original": "KupStore",
|
|
1805
|
+
"resolved": "KupStore",
|
|
1806
|
+
"references": {
|
|
1807
|
+
"KupStore": {
|
|
1808
|
+
"location": "import",
|
|
1809
|
+
"path": "../kup-state/kup-store"
|
|
1810
|
+
}
|
|
1825
1811
|
}
|
|
1812
|
+
},
|
|
1813
|
+
"required": false,
|
|
1814
|
+
"optional": false,
|
|
1815
|
+
"docs": {
|
|
1816
|
+
"tags": [],
|
|
1817
|
+
"text": ""
|
|
1826
1818
|
}
|
|
1827
1819
|
},
|
|
1828
|
-
"
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
"
|
|
1832
|
-
|
|
1820
|
+
"swipeDisabled": {
|
|
1821
|
+
"type": "boolean",
|
|
1822
|
+
"mutable": false,
|
|
1823
|
+
"complexType": {
|
|
1824
|
+
"original": "boolean",
|
|
1825
|
+
"resolved": "boolean",
|
|
1826
|
+
"references": {}
|
|
1827
|
+
},
|
|
1828
|
+
"required": false,
|
|
1829
|
+
"optional": false,
|
|
1830
|
+
"docs": {
|
|
1831
|
+
"tags": [{
|
|
1832
|
+
"name": "default",
|
|
1833
|
+
"text": "false"
|
|
1834
|
+
}],
|
|
1835
|
+
"text": "Disable swipe"
|
|
1836
|
+
},
|
|
1837
|
+
"attribute": "swipe-disabled",
|
|
1838
|
+
"reflect": false,
|
|
1839
|
+
"defaultValue": "false"
|
|
1833
1840
|
}
|
|
1834
|
-
}
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
"
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
"
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
static get events() { return [{
|
|
1865
|
-
"method": "kupBoxClick",
|
|
1866
|
-
"name": "kup-box-click",
|
|
1867
|
-
"bubbles": true,
|
|
1868
|
-
"cancelable": false,
|
|
1869
|
-
"composed": true,
|
|
1870
|
-
"docs": {
|
|
1871
|
-
"tags": [],
|
|
1872
|
-
"text": "Triggered when a box is clicked"
|
|
1873
|
-
},
|
|
1874
|
-
"complexType": {
|
|
1875
|
-
"original": "KupBoxClickEventPayload",
|
|
1876
|
-
"resolved": "KupBoxClickEventPayload",
|
|
1877
|
-
"references": {
|
|
1878
|
-
"KupBoxClickEventPayload": {
|
|
1879
|
-
"location": "import",
|
|
1880
|
-
"path": "./kup-box-declarations"
|
|
1841
|
+
};
|
|
1842
|
+
}
|
|
1843
|
+
static get states() {
|
|
1844
|
+
return {
|
|
1845
|
+
"collapsedSection": {},
|
|
1846
|
+
"selectedRows": {},
|
|
1847
|
+
"rowActionMenuOpened": {},
|
|
1848
|
+
"currentPage": {},
|
|
1849
|
+
"currentRowsPerPage": {}
|
|
1850
|
+
};
|
|
1851
|
+
}
|
|
1852
|
+
static get events() {
|
|
1853
|
+
return [{
|
|
1854
|
+
"method": "kupBoxClick",
|
|
1855
|
+
"name": "kup-box-click",
|
|
1856
|
+
"bubbles": true,
|
|
1857
|
+
"cancelable": false,
|
|
1858
|
+
"composed": true,
|
|
1859
|
+
"docs": {
|
|
1860
|
+
"tags": [],
|
|
1861
|
+
"text": "Triggered when a box is clicked"
|
|
1862
|
+
},
|
|
1863
|
+
"complexType": {
|
|
1864
|
+
"original": "KupBoxClickEventPayload",
|
|
1865
|
+
"resolved": "KupBoxClickEventPayload",
|
|
1866
|
+
"references": {
|
|
1867
|
+
"KupBoxClickEventPayload": {
|
|
1868
|
+
"location": "import",
|
|
1869
|
+
"path": "./kup-box-declarations"
|
|
1870
|
+
}
|
|
1881
1871
|
}
|
|
1882
1872
|
}
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1873
|
+
}, {
|
|
1874
|
+
"method": "kupBoxSelected",
|
|
1875
|
+
"name": "kup-box-selected",
|
|
1876
|
+
"bubbles": true,
|
|
1877
|
+
"cancelable": false,
|
|
1878
|
+
"composed": true,
|
|
1879
|
+
"docs": {
|
|
1880
|
+
"tags": [],
|
|
1881
|
+
"text": "Triggered when the multi selection checkbox changes value"
|
|
1882
|
+
},
|
|
1883
|
+
"complexType": {
|
|
1884
|
+
"original": "KupBoxSelectedEventPayload",
|
|
1885
|
+
"resolved": "KupBoxSelectedEventPayload",
|
|
1886
|
+
"references": {
|
|
1887
|
+
"KupBoxSelectedEventPayload": {
|
|
1888
|
+
"location": "import",
|
|
1889
|
+
"path": "./kup-box-declarations"
|
|
1890
|
+
}
|
|
1901
1891
|
}
|
|
1902
1892
|
}
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1893
|
+
}, {
|
|
1894
|
+
"method": "kupAutoBoxSelect",
|
|
1895
|
+
"name": "kup-box-autoselect",
|
|
1896
|
+
"bubbles": true,
|
|
1897
|
+
"cancelable": false,
|
|
1898
|
+
"composed": true,
|
|
1899
|
+
"docs": {
|
|
1900
|
+
"tags": [],
|
|
1901
|
+
"text": "Triggered when a box is auto selected via selectBox prop"
|
|
1902
|
+
},
|
|
1903
|
+
"complexType": {
|
|
1904
|
+
"original": "KupBoxAutoSelectEventPayload",
|
|
1905
|
+
"resolved": "KupBoxAutoSelectEventPayload",
|
|
1906
|
+
"references": {
|
|
1907
|
+
"KupBoxAutoSelectEventPayload": {
|
|
1908
|
+
"location": "import",
|
|
1909
|
+
"path": "./kup-box-declarations"
|
|
1910
|
+
}
|
|
1921
1911
|
}
|
|
1922
1912
|
}
|
|
1923
|
-
}
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1913
|
+
}, {
|
|
1914
|
+
"method": "kupRowActionMenuClick",
|
|
1915
|
+
"name": "kup-box-rowactionmenuclick",
|
|
1916
|
+
"bubbles": true,
|
|
1917
|
+
"cancelable": false,
|
|
1918
|
+
"composed": true,
|
|
1919
|
+
"docs": {
|
|
1920
|
+
"tags": [],
|
|
1921
|
+
"text": "When the row menu action icon is click"
|
|
1922
|
+
},
|
|
1923
|
+
"complexType": {
|
|
1924
|
+
"original": "KupBoxAutoSelectEventPayload",
|
|
1925
|
+
"resolved": "KupBoxAutoSelectEventPayload",
|
|
1926
|
+
"references": {
|
|
1927
|
+
"KupBoxAutoSelectEventPayload": {
|
|
1928
|
+
"location": "import",
|
|
1929
|
+
"path": "./kup-box-declarations"
|
|
1930
|
+
}
|
|
1941
1931
|
}
|
|
1942
1932
|
}
|
|
1943
|
-
}
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1933
|
+
}, {
|
|
1934
|
+
"method": "kupRowActionClick",
|
|
1935
|
+
"name": "kup-box-rowactionclick",
|
|
1936
|
+
"bubbles": true,
|
|
1937
|
+
"cancelable": false,
|
|
1938
|
+
"composed": true,
|
|
1939
|
+
"docs": {
|
|
1940
|
+
"tags": [],
|
|
1941
|
+
"text": "When the row menu action icon is click"
|
|
1942
|
+
},
|
|
1943
|
+
"complexType": {
|
|
1944
|
+
"original": "KupBoxRowActionClickEventPayload",
|
|
1945
|
+
"resolved": "KupBoxRowActionClickEventPayload",
|
|
1946
|
+
"references": {
|
|
1947
|
+
"KupBoxRowActionClickEventPayload": {
|
|
1948
|
+
"location": "import",
|
|
1949
|
+
"path": "./kup-box-declarations"
|
|
1950
|
+
}
|
|
1961
1951
|
}
|
|
1962
1952
|
}
|
|
1963
|
-
}
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1953
|
+
}, {
|
|
1954
|
+
"method": "kupDidLoad",
|
|
1955
|
+
"name": "kup-box-didload",
|
|
1956
|
+
"bubbles": true,
|
|
1957
|
+
"cancelable": false,
|
|
1958
|
+
"composed": true,
|
|
1959
|
+
"docs": {
|
|
1960
|
+
"tags": [],
|
|
1961
|
+
"text": ""
|
|
1962
|
+
},
|
|
1963
|
+
"complexType": {
|
|
1964
|
+
"original": "KupEventPayload",
|
|
1965
|
+
"resolved": "KupEventPayload",
|
|
1966
|
+
"references": {
|
|
1967
|
+
"KupEventPayload": {
|
|
1968
|
+
"location": "import",
|
|
1969
|
+
"path": "../../types/GenericTypes"
|
|
1970
|
+
}
|
|
1981
1971
|
}
|
|
1982
1972
|
}
|
|
1983
|
-
}
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
1973
|
+
}, {
|
|
1974
|
+
"method": "kupDidUnload",
|
|
1975
|
+
"name": "kup-box-didunload",
|
|
1976
|
+
"bubbles": true,
|
|
1977
|
+
"cancelable": false,
|
|
1978
|
+
"composed": true,
|
|
1979
|
+
"docs": {
|
|
1980
|
+
"tags": [],
|
|
1981
|
+
"text": "Triggered when stop propagation event"
|
|
1982
|
+
},
|
|
1983
|
+
"complexType": {
|
|
1984
|
+
"original": "KupEventPayload",
|
|
1985
|
+
"resolved": "KupEventPayload",
|
|
1986
|
+
"references": {
|
|
1987
|
+
"KupEventPayload": {
|
|
1988
|
+
"location": "import",
|
|
1989
|
+
"path": "../../types/GenericTypes"
|
|
1990
|
+
}
|
|
2001
1991
|
}
|
|
2002
1992
|
}
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
1993
|
+
}, {
|
|
1994
|
+
"method": "kupBoxContextMenu",
|
|
1995
|
+
"name": "kup-box-contextmenu",
|
|
1996
|
+
"bubbles": true,
|
|
1997
|
+
"cancelable": false,
|
|
1998
|
+
"composed": true,
|
|
1999
|
+
"docs": {
|
|
2000
|
+
"tags": [],
|
|
2001
|
+
"text": "Generic right click event on box."
|
|
2002
|
+
},
|
|
2003
|
+
"complexType": {
|
|
2004
|
+
"original": "KupBoxContextMenuEventPayload",
|
|
2005
|
+
"resolved": "KupBoxContextMenuEventPayload",
|
|
2006
|
+
"references": {
|
|
2007
|
+
"KupBoxContextMenuEventPayload": {
|
|
2008
|
+
"location": "import",
|
|
2009
|
+
"path": "./kup-box-declarations"
|
|
2010
|
+
}
|
|
2021
2011
|
}
|
|
2022
2012
|
}
|
|
2023
|
-
}
|
|
2024
|
-
|
|
2025
|
-
static get methods() {
|
|
2026
|
-
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
"
|
|
2038
|
-
"
|
|
2013
|
+
}];
|
|
2014
|
+
}
|
|
2015
|
+
static get methods() {
|
|
2016
|
+
return {
|
|
2017
|
+
"getProps": {
|
|
2018
|
+
"complexType": {
|
|
2019
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
2020
|
+
"parameters": [{
|
|
2021
|
+
"tags": [{
|
|
2022
|
+
"name": "param",
|
|
2023
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2024
|
+
}],
|
|
2025
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
2026
|
+
}],
|
|
2027
|
+
"references": {
|
|
2028
|
+
"Promise": {
|
|
2029
|
+
"location": "global"
|
|
2030
|
+
},
|
|
2031
|
+
"GenericObject": {
|
|
2032
|
+
"location": "import",
|
|
2033
|
+
"path": "../../types/GenericTypes"
|
|
2034
|
+
}
|
|
2039
2035
|
},
|
|
2040
|
-
"
|
|
2041
|
-
"location": "import",
|
|
2042
|
-
"path": "../../types/GenericTypes"
|
|
2043
|
-
}
|
|
2036
|
+
"return": "Promise<GenericObject>"
|
|
2044
2037
|
},
|
|
2045
|
-
"
|
|
2038
|
+
"docs": {
|
|
2039
|
+
"text": "Used to retrieve component's props values.",
|
|
2040
|
+
"tags": [{
|
|
2041
|
+
"name": "param",
|
|
2042
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
2043
|
+
}, {
|
|
2044
|
+
"name": "returns",
|
|
2045
|
+
"text": "List of props as object, each key will be a prop."
|
|
2046
|
+
}]
|
|
2047
|
+
}
|
|
2046
2048
|
},
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
"Promise": {
|
|
2070
|
-
"location": "global"
|
|
2071
|
-
},
|
|
2072
|
-
"KupBoxRow": {
|
|
2073
|
-
"location": "import",
|
|
2074
|
-
"path": "./kup-box-declarations"
|
|
2049
|
+
"loadRowActions": {
|
|
2050
|
+
"complexType": {
|
|
2051
|
+
"signature": "(row: KupBoxRow, actions: KupDataRowAction[]) => Promise<void>",
|
|
2052
|
+
"parameters": [{
|
|
2053
|
+
"tags": [],
|
|
2054
|
+
"text": ""
|
|
2055
|
+
}, {
|
|
2056
|
+
"tags": [],
|
|
2057
|
+
"text": ""
|
|
2058
|
+
}],
|
|
2059
|
+
"references": {
|
|
2060
|
+
"Promise": {
|
|
2061
|
+
"location": "global"
|
|
2062
|
+
},
|
|
2063
|
+
"KupBoxRow": {
|
|
2064
|
+
"location": "import",
|
|
2065
|
+
"path": "./kup-box-declarations"
|
|
2066
|
+
},
|
|
2067
|
+
"KupDataRowAction": {
|
|
2068
|
+
"location": "import",
|
|
2069
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2070
|
+
}
|
|
2075
2071
|
},
|
|
2076
|
-
"
|
|
2077
|
-
"location": "import",
|
|
2078
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
2079
|
-
}
|
|
2072
|
+
"return": "Promise<void>"
|
|
2080
2073
|
},
|
|
2081
|
-
"
|
|
2074
|
+
"docs": {
|
|
2075
|
+
"text": "",
|
|
2076
|
+
"tags": []
|
|
2077
|
+
}
|
|
2082
2078
|
},
|
|
2083
|
-
"
|
|
2084
|
-
"
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
"Promise": {
|
|
2094
|
-
"location": "global"
|
|
2095
|
-
}
|
|
2079
|
+
"refresh": {
|
|
2080
|
+
"complexType": {
|
|
2081
|
+
"signature": "() => Promise<void>",
|
|
2082
|
+
"parameters": [],
|
|
2083
|
+
"references": {
|
|
2084
|
+
"Promise": {
|
|
2085
|
+
"location": "global"
|
|
2086
|
+
}
|
|
2087
|
+
},
|
|
2088
|
+
"return": "Promise<void>"
|
|
2096
2089
|
},
|
|
2097
|
-
"
|
|
2090
|
+
"docs": {
|
|
2091
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
2092
|
+
"tags": []
|
|
2093
|
+
}
|
|
2098
2094
|
},
|
|
2099
|
-
"
|
|
2100
|
-
"
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2095
|
+
"setProps": {
|
|
2096
|
+
"complexType": {
|
|
2097
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
2098
|
+
"parameters": [{
|
|
2099
|
+
"tags": [{
|
|
2100
|
+
"name": "param",
|
|
2101
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2102
|
+
}],
|
|
2103
|
+
"text": "- Object containing props that will be set to the component."
|
|
2104
|
+
}],
|
|
2105
|
+
"references": {
|
|
2106
|
+
"Promise": {
|
|
2107
|
+
"location": "global"
|
|
2108
|
+
},
|
|
2109
|
+
"GenericObject": {
|
|
2110
|
+
"location": "import",
|
|
2111
|
+
"path": "../../types/GenericTypes"
|
|
2112
|
+
}
|
|
2117
2113
|
},
|
|
2118
|
-
"
|
|
2119
|
-
"location": "import",
|
|
2120
|
-
"path": "../../types/GenericTypes"
|
|
2121
|
-
}
|
|
2114
|
+
"return": "Promise<void>"
|
|
2122
2115
|
},
|
|
2123
|
-
"
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
}]
|
|
2116
|
+
"docs": {
|
|
2117
|
+
"text": "Sets the props to the component.",
|
|
2118
|
+
"tags": [{
|
|
2119
|
+
"name": "param",
|
|
2120
|
+
"text": "props - Object containing props that will be set to the component."
|
|
2121
|
+
}]
|
|
2122
|
+
}
|
|
2131
2123
|
}
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2124
|
+
};
|
|
2125
|
+
}
|
|
2134
2126
|
static get elementRef() { return "rootElement"; }
|
|
2135
|
-
static get watchers() {
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2127
|
+
static get watchers() {
|
|
2128
|
+
return [{
|
|
2129
|
+
"propName": "pageSize",
|
|
2130
|
+
"methodName": "rowsPerPageHandler"
|
|
2131
|
+
}, {
|
|
2132
|
+
"propName": "globalFilterValue",
|
|
2133
|
+
"methodName": "recalculateRows"
|
|
2134
|
+
}, {
|
|
2135
|
+
"propName": "sortBy",
|
|
2136
|
+
"methodName": "recalculateRows"
|
|
2137
|
+
}, {
|
|
2138
|
+
"propName": "pagination",
|
|
2139
|
+
"methodName": "recalculateRows"
|
|
2140
|
+
}, {
|
|
2141
|
+
"propName": "pageSize",
|
|
2142
|
+
"methodName": "recalculateRows"
|
|
2143
|
+
}, {
|
|
2144
|
+
"propName": "currentPage",
|
|
2145
|
+
"methodName": "recalculateRows"
|
|
2146
|
+
}, {
|
|
2147
|
+
"propName": "currentRowsPerPage",
|
|
2148
|
+
"methodName": "recalculateRows"
|
|
2149
|
+
}, {
|
|
2150
|
+
"propName": "data",
|
|
2151
|
+
"methodName": "onDataChanged"
|
|
2152
|
+
}, {
|
|
2153
|
+
"propName": "layout",
|
|
2154
|
+
"methodName": "onLayoutChanged"
|
|
2155
|
+
}, {
|
|
2156
|
+
"propName": "selectBox",
|
|
2157
|
+
"methodName": "onSelectBoxChanged"
|
|
2158
|
+
}];
|
|
2159
|
+
}
|
|
2166
2160
|
}
|