@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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { forceUpdate, h, Host, } from '@stencil/core';
|
|
2
2
|
import { FixedCellsClasses, FixedCellsCSSVarsBase, GroupLabelDisplayMode, LoadMoreMode, PaginatorPos, ShowGrid, SortMode, TotalMode, TotalLabel, KupDataTableProps, fieldColumn, iconColumn, keyColumn, SelectionMode, } from './kup-data-table-declarations';
|
|
3
|
-
import { getColumnByName } from '../../utils/cell-utils';
|
|
3
|
+
import { getColumnByName, } from '../../utils/cell-utils';
|
|
4
4
|
import { calcTotals, normalizeRows, filterRows, groupRows, paginateRows, sortRows, } from './kup-data-table-helper';
|
|
5
5
|
import { numberToFormattedStringNumber, identify, getProps, setProps, } from '../../utils/utils';
|
|
6
6
|
import { ItemsDisplayMode, } from '../kup-list/kup-list-declarations';
|
|
@@ -321,7 +321,7 @@ export class KupDataTable {
|
|
|
321
321
|
'format-color-text',
|
|
322
322
|
'format-font-size-increase',
|
|
323
323
|
];
|
|
324
|
-
this.DENSITY_DECODES = ['Dense', '
|
|
324
|
+
this.DENSITY_DECODES = ['Dense', 'Medium', 'Wide'];
|
|
325
325
|
this.DENSITY_ICONS = [
|
|
326
326
|
'format-align-justify',
|
|
327
327
|
'reorder-horizontal',
|
|
@@ -583,6 +583,30 @@ export class KupDataTable {
|
|
|
583
583
|
async collapseAll() {
|
|
584
584
|
this.expandGroups = false;
|
|
585
585
|
}
|
|
586
|
+
/**
|
|
587
|
+
* This method will delete rows by id from the data table dataset.
|
|
588
|
+
* @param {string[]} ids - Array of row ids to delete.
|
|
589
|
+
* @returns {Promise<Array<KupDataTableRow>>} Deleted rows.
|
|
590
|
+
*/
|
|
591
|
+
async deleteRows(ids = []) {
|
|
592
|
+
const deletedRows = [];
|
|
593
|
+
const newRows = [];
|
|
594
|
+
for (let index = 0; index < this.data.rows.length; index++) {
|
|
595
|
+
const row = this.data.rows[index];
|
|
596
|
+
if (ids.includes(row.id)) {
|
|
597
|
+
deletedRows.push(row);
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
newRows.push(row);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
if (deletedRows.length > 0) {
|
|
604
|
+
this.data.rows = newRows;
|
|
605
|
+
this.recalculateRowsAndUndoSelections();
|
|
606
|
+
await this.refresh();
|
|
607
|
+
}
|
|
608
|
+
return deletedRows;
|
|
609
|
+
}
|
|
586
610
|
/**
|
|
587
611
|
* Expands all groups.
|
|
588
612
|
*/
|
|
@@ -690,6 +714,49 @@ export class KupDataTable {
|
|
|
690
714
|
this.resizeTimeout = window.setTimeout(() => this.refresh(), 300);
|
|
691
715
|
}
|
|
692
716
|
}
|
|
717
|
+
/**
|
|
718
|
+
* Sets the cell value in a table cell.
|
|
719
|
+
* @param {string} columnName - Name of the column.
|
|
720
|
+
* @param {string} rowId - Id of the row.
|
|
721
|
+
* @param {string} value - Value to set.
|
|
722
|
+
*/
|
|
723
|
+
async setCellValue(columnName, rowId, value) {
|
|
724
|
+
const column = getColumnByName(this.data.columns, columnName);
|
|
725
|
+
if (!column) {
|
|
726
|
+
return;
|
|
727
|
+
}
|
|
728
|
+
const row = this.getRow(rowId);
|
|
729
|
+
if (!row) {
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
const cell = row.cells[columnName];
|
|
733
|
+
if (!cell) {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
cell.value = value;
|
|
737
|
+
cell.displayedValue = null;
|
|
738
|
+
if (cell.data) {
|
|
739
|
+
cell.data.key = new Date().getTime() + column.name;
|
|
740
|
+
cell.data.initialValue = value;
|
|
741
|
+
}
|
|
742
|
+
/*
|
|
743
|
+
const cells = this.rootElement.shadowRoot.querySelectorAll(
|
|
744
|
+
'td[data-column="' + columnName + '"]'
|
|
745
|
+
);
|
|
746
|
+
for (let index = 0; cells && index < cells.length; index++) {
|
|
747
|
+
const cell = cells[index];
|
|
748
|
+
if (cell['data-row'] && cell['data-row'].id == rowId) {
|
|
749
|
+
const kupInput = cell.querySelector('.hydrated');
|
|
750
|
+
if (kupInput) {
|
|
751
|
+
try {
|
|
752
|
+
(kupInput as any).setValue(value);
|
|
753
|
+
} catch (error) {}
|
|
754
|
+
}
|
|
755
|
+
break;
|
|
756
|
+
}
|
|
757
|
+
}*/
|
|
758
|
+
this.refresh();
|
|
759
|
+
}
|
|
693
760
|
/**
|
|
694
761
|
* Sets the focus on an editable table cell.
|
|
695
762
|
* @param {string} column - Name of the column.
|
|
@@ -732,13 +799,7 @@ export class KupDataTable {
|
|
|
732
799
|
this.selectedRows = [];
|
|
733
800
|
for (let index = 0; index < rowsIdentifiers.length; index++) {
|
|
734
801
|
const id = rowsIdentifiers[index];
|
|
735
|
-
|
|
736
|
-
this.selectedRows.push(this.renderedRows[id]);
|
|
737
|
-
}
|
|
738
|
-
else {
|
|
739
|
-
const row = this.renderedRows.find((row) => row.id === id);
|
|
740
|
-
this.selectedRows.push(row);
|
|
741
|
-
}
|
|
802
|
+
this.selectedRows.push(this.getRow(id));
|
|
742
803
|
}
|
|
743
804
|
if (emitEvent !== false) {
|
|
744
805
|
this.kupRowSelected.emit({
|
|
@@ -813,6 +874,20 @@ export class KupDataTable {
|
|
|
813
874
|
this.setTransposedData();
|
|
814
875
|
}
|
|
815
876
|
}
|
|
877
|
+
getRow(id) {
|
|
878
|
+
if (typeof id === 'number') {
|
|
879
|
+
return this.data.rows[id];
|
|
880
|
+
}
|
|
881
|
+
else {
|
|
882
|
+
return this.data.rows.find((row) => row.id === id);
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
getTransposedData(column) {
|
|
886
|
+
if (column) {
|
|
887
|
+
this.filters = {};
|
|
888
|
+
}
|
|
889
|
+
return this.kupManager.data.transpose(this.data, column);
|
|
890
|
+
}
|
|
816
891
|
setTransposedData() {
|
|
817
892
|
// transpose
|
|
818
893
|
this.originalData = Object.assign({}, this.data);
|
|
@@ -948,12 +1023,6 @@ export class KupDataTable {
|
|
|
948
1023
|
delete column.icon;
|
|
949
1024
|
}
|
|
950
1025
|
}
|
|
951
|
-
getTransposedData(column) {
|
|
952
|
-
if (column) {
|
|
953
|
-
this.filters = {};
|
|
954
|
-
}
|
|
955
|
-
return this.kupManager.data.transpose(this.data, column);
|
|
956
|
-
}
|
|
957
1026
|
updateStickyHeaderSize() {
|
|
958
1027
|
const navBar = document.querySelectorAll('.header')[0];
|
|
959
1028
|
if (navBar) {
|
|
@@ -2430,13 +2499,12 @@ export class KupDataTable {
|
|
|
2430
2499
|
: {}));
|
|
2431
2500
|
multiSelectColumn = (h("th", { class: selectionStyleAndClass
|
|
2432
2501
|
? selectionStyleAndClass.fixedCellClasses
|
|
2433
|
-
: {}, style: style },
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
this.
|
|
2439
|
-
this.renderedRows.length })));
|
|
2502
|
+
: {}, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
|
|
2503
|
+
`: ${this.selectedRows.length},` +
|
|
2504
|
+
this.kupManager.language.translate(KupLanguageRow.RENDERED) +
|
|
2505
|
+
`: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
|
|
2506
|
+
this.selectedRows.length ===
|
|
2507
|
+
this.renderedRows.length })));
|
|
2440
2508
|
}
|
|
2441
2509
|
// Renders action column
|
|
2442
2510
|
let actionsColumn = null;
|
|
@@ -2483,14 +2551,7 @@ export class KupDataTable {
|
|
|
2483
2551
|
}
|
|
2484
2552
|
}
|
|
2485
2553
|
}
|
|
2486
|
-
return (h("th", { ref: (el) => this.thRefs.push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name },
|
|
2487
|
-
h("div", { class: "header-cell__content" },
|
|
2488
|
-
h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)),
|
|
2489
|
-
h("span", { class: "header-cell__icons" },
|
|
2490
|
-
keyIcon,
|
|
2491
|
-
sortIcon,
|
|
2492
|
-
filter)),
|
|
2493
|
-
this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
|
|
2554
|
+
return (h("th", { ref: (el) => this.thRefs.push(el), "data-cell": column, "data-column": column.name, class: columnClass, style: thStyle, title: column.name }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)), h("span", { class: "header-cell__icons" }, keyIcon, sortIcon, filter)), this.resizableColumns ? (h("span", { class: "header-cell__drag-handler" })) : null));
|
|
2494
2555
|
});
|
|
2495
2556
|
return [multiSelectColumn, actionsColumn, ...dataColumns];
|
|
2496
2557
|
// return [multiSelectColumn, groupColumn, actionsColumn, ...dataColumns];
|
|
@@ -2506,13 +2567,12 @@ export class KupDataTable {
|
|
|
2506
2567
|
: {}));
|
|
2507
2568
|
multiSelectColumn = (h("th-sticky", { class: selectionStyleAndClass
|
|
2508
2569
|
? selectionStyleAndClass.fixedCellClasses
|
|
2509
|
-
: null, style: style },
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
this.
|
|
2515
|
-
this.renderedRows.length })));
|
|
2570
|
+
: null, style: style }, h("kup-checkbox", { "onkup-checkbox-change": (e) => this.onSelectAll(e), title: this.kupManager.language.translate(KupLanguageRow.SELECTED) +
|
|
2571
|
+
`: ${this.selectedRows.length},` +
|
|
2572
|
+
this.kupManager.language.translate(KupLanguageRow.RENDERED) +
|
|
2573
|
+
`: ${this.renderedRows.length}`, checked: this.selectedRows.length > 0 &&
|
|
2574
|
+
this.selectedRows.length ===
|
|
2575
|
+
this.renderedRows.length })));
|
|
2516
2576
|
}
|
|
2517
2577
|
// Empty cell for the actions
|
|
2518
2578
|
let actionsColumn = null;
|
|
@@ -2528,9 +2588,7 @@ export class KupDataTable {
|
|
|
2528
2588
|
// Composes normal header cells
|
|
2529
2589
|
const dataColumns = this.getVisibleColumns().map((column, columnIndex) => {
|
|
2530
2590
|
const { columnClass, thStyle } = this.composeHeaderCellClassAndStyle(columnIndex, specialExtraCellsCount, column);
|
|
2531
|
-
return (h("th-sticky", { class: columnClass, style: thStyle },
|
|
2532
|
-
h("div", { class: "header-cell__content" },
|
|
2533
|
-
h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)))));
|
|
2591
|
+
return (h("th-sticky", { class: columnClass, style: thStyle }, h("div", { class: "header-cell__content" }, h("span", { class: "header-cell__title" }, this.applyLineBreaks(column.title)))));
|
|
2534
2592
|
});
|
|
2535
2593
|
return [multiSelectColumn, actionsColumn, ...dataColumns];
|
|
2536
2594
|
}
|
|
@@ -2716,15 +2774,9 @@ export class KupDataTable {
|
|
|
2716
2774
|
? fixedCellStyle.fixedCellClasses
|
|
2717
2775
|
: '', style: fixedCellStyle
|
|
2718
2776
|
? fixedCellStyle.fixedCellStyle
|
|
2719
|
-
: null },
|
|
2720
|
-
totalMenu,
|
|
2721
|
-
h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
2777
|
+
: null }, totalMenu, h("span", { class: "totals-value", title: translation[menuLabel] }, value)));
|
|
2722
2778
|
});
|
|
2723
|
-
const footer = (h("tfoot", null,
|
|
2724
|
-
h("tr", null,
|
|
2725
|
-
selectRowCell,
|
|
2726
|
-
actionsCell,
|
|
2727
|
-
footerCells)));
|
|
2779
|
+
const footer = (h("tfoot", null, h("tr", null, selectRowCell, actionsCell, footerCells)));
|
|
2728
2780
|
return footer;
|
|
2729
2781
|
}
|
|
2730
2782
|
renderRow(row, level = 0, rowCssIndex = 0, previousRow) {
|
|
@@ -2768,11 +2820,7 @@ export class KupDataTable {
|
|
|
2768
2820
|
cells.push(h("td", null));
|
|
2769
2821
|
}
|
|
2770
2822
|
// adding 'grouping' cell
|
|
2771
|
-
const grouplabelcell = (h("td", { colSpan: this.calculateColspan() },
|
|
2772
|
-
h("span", { class: "group-cell-content" },
|
|
2773
|
-
indent,
|
|
2774
|
-
h("span", { class: iconClass }),
|
|
2775
|
-
h("span", { class: "text" }, composedGroupLabel))));
|
|
2823
|
+
const grouplabelcell = (h("td", { colSpan: this.calculateColspan() }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel))));
|
|
2776
2824
|
// adding 'totals grouping' cells
|
|
2777
2825
|
for (let column of visibleColumns) {
|
|
2778
2826
|
let totalClass = 'total';
|
|
@@ -2808,12 +2856,7 @@ export class KupDataTable {
|
|
|
2808
2856
|
jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group group-total" }, cells));
|
|
2809
2857
|
}
|
|
2810
2858
|
else {
|
|
2811
|
-
jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group" },
|
|
2812
|
-
h("td", { colSpan: this.calculateColspan() },
|
|
2813
|
-
h("span", { class: "group-cell-content" },
|
|
2814
|
-
indent,
|
|
2815
|
-
h("span", { class: iconClass }),
|
|
2816
|
-
h("span", { class: "text" }, composedGroupLabel)))));
|
|
2859
|
+
jsxRows.push(h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: "group" }, h("td", { colSpan: this.calculateColspan() }, h("span", { class: "group-cell-content" }, indent, h("span", { class: iconClass }), h("span", { class: "text" }, composedGroupLabel)))));
|
|
2817
2860
|
}
|
|
2818
2861
|
// if group is expanded, add children
|
|
2819
2862
|
if (this.isGroupExpanded(row)) {
|
|
@@ -2858,8 +2901,7 @@ export class KupDataTable {
|
|
|
2858
2901
|
? selectionStyleAndClass.fixedCellClasses
|
|
2859
2902
|
: null, style: selectionStyleAndClass
|
|
2860
2903
|
? selectionStyleAndClass.fixedCellStyle
|
|
2861
|
-
: null },
|
|
2862
|
-
h(FCheckbox, Object.assign({}, props))));
|
|
2904
|
+
: null }, h(FCheckbox, Object.assign({}, props))));
|
|
2863
2905
|
}
|
|
2864
2906
|
// Renders action cell
|
|
2865
2907
|
// If active, this can be either the first or second cell
|
|
@@ -2897,10 +2939,7 @@ export class KupDataTable {
|
|
|
2897
2939
|
? actionsStyleAndClass.fixedCellClasses
|
|
2898
2940
|
: null, style: actionsStyleAndClass
|
|
2899
2941
|
? actionsStyleAndClass.fixedCellStyle
|
|
2900
|
-
: null },
|
|
2901
|
-
defaultRowActions,
|
|
2902
|
-
rowActionExpander,
|
|
2903
|
-
variableActions));
|
|
2942
|
+
: null }, defaultRowActions, rowActionExpander, variableActions));
|
|
2904
2943
|
}
|
|
2905
2944
|
// Renders plain rows cells
|
|
2906
2945
|
const cells = visibleColumns.map((currentColumn, cellIndex) => {
|
|
@@ -2982,10 +3021,7 @@ export class KupDataTable {
|
|
|
2982
3021
|
const style = {
|
|
2983
3022
|
'--kup_datatable_row_actions': rowActionsCount,
|
|
2984
3023
|
};
|
|
2985
|
-
return (h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: rowClass, style: style },
|
|
2986
|
-
selectRowCell,
|
|
2987
|
-
rowActionsCell,
|
|
2988
|
-
cells));
|
|
3024
|
+
return (h("tr", { ref: (el) => this.rowsRefs.push(el), "data-row": row, class: rowClass, style: style }, selectRowCell, rowActionsCell, cells));
|
|
2989
3025
|
}
|
|
2990
3026
|
}
|
|
2991
3027
|
renderActions(actions, row, type) {
|
|
@@ -3040,15 +3076,15 @@ export class KupDataTable {
|
|
|
3040
3076
|
this.kupManager.removeClickCallback(this.clickCbCustomPanel);
|
|
3041
3077
|
}
|
|
3042
3078
|
renderPaginator(top) {
|
|
3043
|
-
return (h("div", { class: "paginator-wrapper" },
|
|
3044
|
-
|
|
3045
|
-
this.rowsLength > this.rowsPerPage ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.rowsLength, perPage: this.currentRowsPerPage
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3079
|
+
return (h("div", { class: "paginator-wrapper" }, h("div", { class: "paginator-tabs" }, this.showLoadMore ||
|
|
3080
|
+
(!this.lazyLoadRows &&
|
|
3081
|
+
this.rowsLength > this.rowsPerPage) ? (h(FPaginator, { id: top ? 'top-paginator' : 'bottom-paginator', currentPage: this.currentPage, max: this.rowsLength, perPage: this.currentRowsPerPage
|
|
3082
|
+
? this.currentRowsPerPage
|
|
3083
|
+
: this.rowsPerPage, onLoadMore: this.showLoadMore
|
|
3084
|
+
? () => {
|
|
3085
|
+
this.onLoadMoreClick();
|
|
3086
|
+
}
|
|
3087
|
+
: null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) })) : null)));
|
|
3052
3088
|
}
|
|
3053
3089
|
renderCustomizePanel() {
|
|
3054
3090
|
let density = undefined;
|
|
@@ -3067,29 +3103,17 @@ export class KupDataTable {
|
|
|
3067
3103
|
}
|
|
3068
3104
|
return (h("kup-card", { customStyle: "::slotted(kup-switch) { width: max-content !important; } ::slotted(*) { margin: auto !important; } ::slotted(.customize-element) { margin: auto !important; padding: 0 1em 1em 1em !important; width: max-content !important; } ::slotted(.customize-element):nth-child(1) { padding-top: 1em !important; }", isMenu: true, layoutFamily: KupCardFamily.FREE, ref: (el) => {
|
|
3069
3105
|
this.customizeTopPanelRef = el;
|
|
3070
|
-
}, sizeX: "360px", sizeY: "300px" },
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: this.kupManager.language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }),
|
|
3076
|
-
h("kup-switch", { class: "customize-element", checked: this.editableData, label: this.kupManager.language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }),
|
|
3077
|
-
h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOGGLE) +
|
|
3078
|
-
' Magic Box ' +
|
|
3079
|
-
'(' +
|
|
3080
|
-
this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
3081
|
-
')', icon: "auto-fix", "onkup-button-click": () => this.kupManager.toggleMagicBox() }),
|
|
3082
|
-
totalsMatrix));
|
|
3106
|
+
}, sizeX: "360px", sizeY: "300px" }, density, grid, fontsize, transpose, h("kup-switch", { class: "customize-element", checked: this.dragEnabled, label: this.kupManager.language.translate(KupLanguageGeneric.DRAG_AND_DROP), leadingLabel: true, "onkup-switch-change": () => (this.dragEnabled = !this.dragEnabled) }), h("kup-switch", { class: "customize-element", checked: this.editableData, label: this.kupManager.language.translate(KupLanguageGeneric.EDITABLE), leadingLabel: true, "onkup-switch-change": () => (this.editableData = !this.editableData) }), h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOGGLE) +
|
|
3107
|
+
' Magic Box ' +
|
|
3108
|
+
'(' +
|
|
3109
|
+
this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
3110
|
+
')', icon: "auto-fix", "onkup-button-click": () => this.kupManager.toggleMagicBox() }), totalsMatrix));
|
|
3083
3111
|
}
|
|
3084
3112
|
columnRemoveArea() {
|
|
3085
|
-
return (h("div", { class: "droparea__remove", ref: (el) => (this.removeDropareaRef = el) },
|
|
3086
|
-
h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }),
|
|
3087
|
-
h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
|
|
3113
|
+
return (h("div", { class: "droparea__remove", ref: (el) => (this.removeDropareaRef = el) }, h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
|
|
3088
3114
|
}
|
|
3089
3115
|
columnGroupArea() {
|
|
3090
|
-
return (h("div", { class: "droparea__groups", ref: (el) => (this.groupsDropareaRef = el) },
|
|
3091
|
-
h(FImage, { resource: "bookmark", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }),
|
|
3092
|
-
h(FImage, { resource: "book", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
|
|
3116
|
+
return (h("div", { class: "droparea__groups", ref: (el) => (this.groupsDropareaRef = el) }, h(FImage, { resource: "bookmark", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "book", color: `var(${KupThemeColorValues.TEXT})`, sizeX: "30px", sizeY: "50px" })));
|
|
3093
3117
|
}
|
|
3094
3118
|
hideShowColumnDropArea(show, th) {
|
|
3095
3119
|
if (show && th && (this.removableColumns || this.showGroups)) {
|
|
@@ -3167,12 +3191,14 @@ export class KupDataTable {
|
|
|
3167
3191
|
value = KupLanguageDensity.WIDE;
|
|
3168
3192
|
break;
|
|
3169
3193
|
}
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3194
|
+
if (value) {
|
|
3195
|
+
listItems[i] = {
|
|
3196
|
+
icon: icons[i],
|
|
3197
|
+
id: codes[i],
|
|
3198
|
+
selected: selectedCode == codes[i],
|
|
3199
|
+
value: this.kupManager.language.translate(value),
|
|
3200
|
+
};
|
|
3201
|
+
}
|
|
3176
3202
|
}
|
|
3177
3203
|
return listItems;
|
|
3178
3204
|
}
|
|
@@ -3201,17 +3227,20 @@ export class KupDataTable {
|
|
|
3201
3227
|
text = KupLanguageFontsize.SMALL;
|
|
3202
3228
|
break;
|
|
3203
3229
|
}
|
|
3204
|
-
return (h("div", { class: "customize-element fontsize-panel" },
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
} })));
|
|
3230
|
+
return (h("div", { class: "customize-element fontsize-panel" }, h("kup-combobox", { isSelect: true, data: data, initialValue: this.kupManager.language.translate(text), "onkup-combobox-itemclick": (e) => {
|
|
3231
|
+
e.stopPropagation();
|
|
3232
|
+
this.fontsize = this.getFontSizeCodeFromDecode(e.detail.node.id);
|
|
3233
|
+
} })));
|
|
3209
3234
|
}
|
|
3210
3235
|
getDensityCodeFromDecode(decode) {
|
|
3211
|
-
return this.transcodeItem(decode, this.DENSITY_DECODES,
|
|
3236
|
+
return this.transcodeItem(decode, this.DENSITY_DECODES, [
|
|
3237
|
+
'dense',
|
|
3238
|
+
'medium',
|
|
3239
|
+
'wide',
|
|
3240
|
+
]);
|
|
3212
3241
|
}
|
|
3213
3242
|
renderDensityPanel() {
|
|
3214
|
-
const listItems = this.createListData(
|
|
3243
|
+
const listItems = this.createListData(['dense', 'medium', 'wide'], this.DENSITY_ICONS, this.density);
|
|
3215
3244
|
const listData = { data: listItems, showIcons: true };
|
|
3216
3245
|
const textfieldData = {
|
|
3217
3246
|
trailingIcon: true,
|
|
@@ -3232,33 +3261,30 @@ export class KupDataTable {
|
|
|
3232
3261
|
text = KupLanguageDensity.WIDE;
|
|
3233
3262
|
break;
|
|
3234
3263
|
}
|
|
3235
|
-
return (h("div", { class: "customize-element density-panel" },
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
} })));
|
|
3264
|
+
return (h("div", { class: "customize-element density-panel" }, h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), selectMode: ItemsDisplayMode.DESCRIPTION, data: data, "onkup-combobox-itemclick": (e) => {
|
|
3265
|
+
e.stopPropagation();
|
|
3266
|
+
this.density = this.getDensityCodeFromDecode(e.detail.node.id);
|
|
3267
|
+
} })));
|
|
3240
3268
|
}
|
|
3241
3269
|
getGridCodeFromDecode(decode) {
|
|
3242
3270
|
return this.transcodeItem(decode, this.GRID_DECODES, this.GRID_CODES);
|
|
3243
3271
|
}
|
|
3244
3272
|
renderTransposeSwitch() {
|
|
3245
|
-
return (h("div", { class: "customize-element grid-panel" },
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
} })));
|
|
3273
|
+
return (h("div", { class: "customize-element grid-panel" }, h("kup-switch", { checked: this.transpose, label: this.kupManager.language.translate(KupLanguageGeneric.TRANSPOSE_DATA), leadingLabel: true, "onkup-switch-change": (e) => {
|
|
3274
|
+
e.stopPropagation();
|
|
3275
|
+
if (e.detail.value === 'on') {
|
|
3276
|
+
this.transpose = true;
|
|
3277
|
+
}
|
|
3278
|
+
else {
|
|
3279
|
+
this.transpose = false;
|
|
3280
|
+
}
|
|
3281
|
+
} })));
|
|
3255
3282
|
}
|
|
3256
3283
|
renderTotalsMatrix() {
|
|
3257
|
-
return (h("div", { class: "customize-element grid-panel" },
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
')', label: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => this.switchToTotalsMatrix() })));
|
|
3284
|
+
return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE) +
|
|
3285
|
+
' (' +
|
|
3286
|
+
this.kupManager.language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
3287
|
+
')', label: this.kupManager.language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => this.switchToTotalsMatrix() })));
|
|
3262
3288
|
}
|
|
3263
3289
|
renderGridPanel() {
|
|
3264
3290
|
const listItems = this.createListData(this.GRID_CODES, this.GRID_ICONS, this.showGrid);
|
|
@@ -3285,12 +3311,11 @@ export class KupDataTable {
|
|
|
3285
3311
|
text = KupLanguageGrid.ROW;
|
|
3286
3312
|
break;
|
|
3287
3313
|
}
|
|
3288
|
-
return (h("div", { class: "customize-element grid-panel" },
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
} })));
|
|
3314
|
+
return (h("div", { class: "customize-element grid-panel" }, h("kup-combobox", { isSelect: true, initialValue: this.kupManager.language.translate(text), data: data, "onkup-combobox-itemclick": (e) => {
|
|
3315
|
+
e.stopPropagation();
|
|
3316
|
+
const grid = this.getGridCodeFromDecode(e.detail.value);
|
|
3317
|
+
this.showGrid = grid;
|
|
3318
|
+
} })));
|
|
3294
3319
|
}
|
|
3295
3320
|
render() {
|
|
3296
3321
|
this.thRefs = [];
|
|
@@ -3300,8 +3325,7 @@ export class KupDataTable {
|
|
|
3300
3325
|
this.sizedColumns = this.getSizedColumns();
|
|
3301
3326
|
let rows = null;
|
|
3302
3327
|
if (this.paginatedRowsLength === 0) {
|
|
3303
|
-
rows = (h("tr", { ref: (el) => this.rowsRefs.push(el) },
|
|
3304
|
-
h("td", { colSpan: this.calculateColspan() }, this.emptyDataLabel)));
|
|
3328
|
+
rows = (h("tr", { ref: (el) => this.rowsRefs.push(el) }, h("td", { colSpan: this.calculateColspan() }, this.emptyDataLabel)));
|
|
3305
3329
|
}
|
|
3306
3330
|
else {
|
|
3307
3331
|
rows = [];
|
|
@@ -3398,56 +3422,34 @@ export class KupDataTable {
|
|
|
3398
3422
|
if (this.headerIsPersistent &&
|
|
3399
3423
|
this.tableHeight === undefined &&
|
|
3400
3424
|
this.tableWidth === undefined) {
|
|
3401
|
-
stickyEl = (h("sticky-header", { class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (this.stickyTheadRef = el) },
|
|
3402
|
-
h("thead-sticky", null,
|
|
3403
|
-
h("tr-sticky", null, stickyHeader))));
|
|
3425
|
+
stickyEl = (h("sticky-header", { class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (this.stickyTheadRef = el) }, h("thead-sticky", null, h("tr-sticky", null, stickyHeader))));
|
|
3404
3426
|
}
|
|
3405
3427
|
let belowClass = 'below-wrapper';
|
|
3406
3428
|
if (this.tableHeight !== undefined || this.tableWidth !== undefined) {
|
|
3407
3429
|
belowClass += ' custom-size';
|
|
3408
3430
|
}
|
|
3409
|
-
const compCreated = (h(Host, null,
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
this.customizeTopButtonRef =
|
|
3432
|
-
el;
|
|
3433
|
-
} },
|
|
3434
|
-
h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
3435
|
-
this.renderCustomizePanel(),
|
|
3436
|
-
]
|
|
3437
|
-
: null,
|
|
3438
|
-
h("table", { class: tableClass, ref: (el) => (this.tableRef = el), onMouseLeave: (ev) => {
|
|
3439
|
-
ev.stopPropagation();
|
|
3440
|
-
}, onContextMenu: (e) => {
|
|
3441
|
-
e.preventDefault();
|
|
3442
|
-
} },
|
|
3443
|
-
h("thead", { hidden: !this.showHeader, ref: (el) => (this.theadRef = el) },
|
|
3444
|
-
h("tr", null, header)),
|
|
3445
|
-
h("tbody", null, rows),
|
|
3446
|
-
this.showFooter || this.hasTotals()
|
|
3447
|
-
? this.renderFooter()
|
|
3448
|
-
: null),
|
|
3449
|
-
stickyEl),
|
|
3450
|
-
paginatorBottom)));
|
|
3431
|
+
const compCreated = (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: "above-wrapper" }, this.globalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: this.kupManager.language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
3432
|
+
const t = event.target;
|
|
3433
|
+
window.clearTimeout(this.globalFilterTimeout);
|
|
3434
|
+
this.globalFilterTimeout =
|
|
3435
|
+
window.setTimeout(() => this.onGlobalFilterChange(t), 600, t);
|
|
3436
|
+
} }))) : null, paginatorTop), h("div", { class: "group-wrapper" }, groupChips), h("div", { class: "droparea", ref: (el) => (this.dropareaRef = el) }, this.showGroups ? this.columnGroupArea() : null, this.removableColumns ? this.columnRemoveArea() : null), h("div", { style: elStyle, class: belowClass, ref: (el) => (this.tableAreaRef = el) }, this.showCustomization
|
|
3437
|
+
? [
|
|
3438
|
+
h("div", { class: "settings-trigger", onClick: () => {
|
|
3439
|
+
this.onCustomSettingsClick();
|
|
3440
|
+
}, ref: (el) => {
|
|
3441
|
+
this.customizeTopButtonRef =
|
|
3442
|
+
el;
|
|
3443
|
+
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
3444
|
+
this.renderCustomizePanel(),
|
|
3445
|
+
]
|
|
3446
|
+
: null, h("table", { class: tableClass, ref: (el) => (this.tableRef = el), onMouseLeave: (ev) => {
|
|
3447
|
+
ev.stopPropagation();
|
|
3448
|
+
}, onContextMenu: (e) => {
|
|
3449
|
+
e.preventDefault();
|
|
3450
|
+
} }, h("thead", { hidden: !this.showHeader, ref: (el) => (this.theadRef = el) }, h("tr", null, header)), h("tbody", null, rows), this.showFooter || this.hasTotals()
|
|
3451
|
+
? this.renderFooter()
|
|
3452
|
+
: null), stickyEl), paginatorBottom)));
|
|
3451
3453
|
return compCreated;
|
|
3452
3454
|
}
|
|
3453
3455
|
disconnectedCallback() {
|
|
@@ -3472,1745 +3474,1837 @@ export class KupDataTable {
|
|
|
3472
3474
|
}
|
|
3473
3475
|
static get is() { return "kup-data-table"; }
|
|
3474
3476
|
static get encapsulation() { return "shadow"; }
|
|
3475
|
-
static get originalStyleUrls() {
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
"
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
"
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3477
|
+
static get originalStyleUrls() {
|
|
3478
|
+
return {
|
|
3479
|
+
"$": ["kup-data-table.scss"]
|
|
3480
|
+
};
|
|
3481
|
+
}
|
|
3482
|
+
static get styleUrls() {
|
|
3483
|
+
return {
|
|
3484
|
+
"$": ["kup-data-table.css"]
|
|
3485
|
+
};
|
|
3486
|
+
}
|
|
3487
|
+
static get properties() {
|
|
3488
|
+
return {
|
|
3489
|
+
"stateId": {
|
|
3490
|
+
"type": "string",
|
|
3491
|
+
"mutable": false,
|
|
3492
|
+
"complexType": {
|
|
3493
|
+
"original": "string",
|
|
3494
|
+
"resolved": "string",
|
|
3495
|
+
"references": {}
|
|
3496
|
+
},
|
|
3497
|
+
"required": false,
|
|
3498
|
+
"optional": false,
|
|
3499
|
+
"docs": {
|
|
3500
|
+
"tags": [],
|
|
3501
|
+
"text": ""
|
|
3502
|
+
},
|
|
3503
|
+
"attribute": "state-id",
|
|
3504
|
+
"reflect": false,
|
|
3505
|
+
"defaultValue": "''"
|
|
3506
|
+
},
|
|
3507
|
+
"store": {
|
|
3508
|
+
"type": "unknown",
|
|
3509
|
+
"mutable": false,
|
|
3510
|
+
"complexType": {
|
|
3511
|
+
"original": "KupStore",
|
|
3512
|
+
"resolved": "KupStore",
|
|
3513
|
+
"references": {
|
|
3514
|
+
"KupStore": {
|
|
3515
|
+
"location": "import",
|
|
3516
|
+
"path": "../kup-state/kup-store"
|
|
3517
|
+
}
|
|
3510
3518
|
}
|
|
3519
|
+
},
|
|
3520
|
+
"required": false,
|
|
3521
|
+
"optional": false,
|
|
3522
|
+
"docs": {
|
|
3523
|
+
"tags": [],
|
|
3524
|
+
"text": ""
|
|
3511
3525
|
}
|
|
3512
3526
|
},
|
|
3513
|
-
"
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
"
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
"
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
"
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
"
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
"original": "KupDataTableDataset",
|
|
3564
|
-
"resolved": "KupDataTableDataset",
|
|
3565
|
-
"references": {
|
|
3566
|
-
"KupDataTableDataset": {
|
|
3567
|
-
"location": "import",
|
|
3568
|
-
"path": "./kup-data-table-declarations"
|
|
3527
|
+
"autoFillMissingCells": {
|
|
3528
|
+
"type": "boolean",
|
|
3529
|
+
"mutable": false,
|
|
3530
|
+
"complexType": {
|
|
3531
|
+
"original": "boolean",
|
|
3532
|
+
"resolved": "boolean",
|
|
3533
|
+
"references": {}
|
|
3534
|
+
},
|
|
3535
|
+
"required": false,
|
|
3536
|
+
"optional": false,
|
|
3537
|
+
"docs": {
|
|
3538
|
+
"tags": [{
|
|
3539
|
+
"name": "default",
|
|
3540
|
+
"text": "false"
|
|
3541
|
+
}],
|
|
3542
|
+
"text": "When true and when a row is missing some columns, the missing cells will be autogenerated."
|
|
3543
|
+
},
|
|
3544
|
+
"attribute": "auto-fill-missing-cells",
|
|
3545
|
+
"reflect": false,
|
|
3546
|
+
"defaultValue": "false"
|
|
3547
|
+
},
|
|
3548
|
+
"customStyle": {
|
|
3549
|
+
"type": "string",
|
|
3550
|
+
"mutable": false,
|
|
3551
|
+
"complexType": {
|
|
3552
|
+
"original": "string",
|
|
3553
|
+
"resolved": "string",
|
|
3554
|
+
"references": {}
|
|
3555
|
+
},
|
|
3556
|
+
"required": false,
|
|
3557
|
+
"optional": false,
|
|
3558
|
+
"docs": {
|
|
3559
|
+
"tags": [],
|
|
3560
|
+
"text": "Custom style of the component. For more information: https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
3561
|
+
},
|
|
3562
|
+
"attribute": "custom-style",
|
|
3563
|
+
"reflect": false,
|
|
3564
|
+
"defaultValue": "''"
|
|
3565
|
+
},
|
|
3566
|
+
"data": {
|
|
3567
|
+
"type": "unknown",
|
|
3568
|
+
"mutable": true,
|
|
3569
|
+
"complexType": {
|
|
3570
|
+
"original": "KupDataTableDataset",
|
|
3571
|
+
"resolved": "KupDataTableDataset",
|
|
3572
|
+
"references": {
|
|
3573
|
+
"KupDataTableDataset": {
|
|
3574
|
+
"location": "import",
|
|
3575
|
+
"path": "./kup-data-table-declarations"
|
|
3576
|
+
}
|
|
3569
3577
|
}
|
|
3578
|
+
},
|
|
3579
|
+
"required": false,
|
|
3580
|
+
"optional": false,
|
|
3581
|
+
"docs": {
|
|
3582
|
+
"tags": [],
|
|
3583
|
+
"text": "The data of the table."
|
|
3570
3584
|
}
|
|
3571
3585
|
},
|
|
3572
|
-
"
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
"
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
"original": "FCellPadding",
|
|
3584
|
-
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
3585
|
-
"references": {
|
|
3586
|
-
"FCellPadding": {
|
|
3587
|
-
"location": "import",
|
|
3588
|
-
"path": "../../f-components/f-cell/f-cell-declarations"
|
|
3586
|
+
"density": {
|
|
3587
|
+
"type": "string",
|
|
3588
|
+
"mutable": false,
|
|
3589
|
+
"complexType": {
|
|
3590
|
+
"original": "FCellPadding",
|
|
3591
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
3592
|
+
"references": {
|
|
3593
|
+
"FCellPadding": {
|
|
3594
|
+
"location": "import",
|
|
3595
|
+
"path": "../../f-components/f-cell/f-cell-declarations"
|
|
3596
|
+
}
|
|
3589
3597
|
}
|
|
3590
|
-
}
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3598
|
+
},
|
|
3599
|
+
"required": false,
|
|
3600
|
+
"optional": false,
|
|
3601
|
+
"docs": {
|
|
3602
|
+
"tags": [],
|
|
3603
|
+
"text": "The density of the rows, defaults at 'medium' and can be also set to 'large' or 'small'."
|
|
3604
|
+
},
|
|
3605
|
+
"attribute": "density",
|
|
3606
|
+
"reflect": false,
|
|
3607
|
+
"defaultValue": "FCellPadding.DENSE"
|
|
3608
|
+
},
|
|
3609
|
+
"dragEnabled": {
|
|
3610
|
+
"type": "boolean",
|
|
3611
|
+
"mutable": true,
|
|
3612
|
+
"complexType": {
|
|
3613
|
+
"original": "boolean",
|
|
3614
|
+
"resolved": "boolean",
|
|
3615
|
+
"references": {}
|
|
3616
|
+
},
|
|
3617
|
+
"required": false,
|
|
3618
|
+
"optional": false,
|
|
3619
|
+
"docs": {
|
|
3620
|
+
"tags": [],
|
|
3621
|
+
"text": "Enables drag."
|
|
3622
|
+
},
|
|
3623
|
+
"attribute": "drag-enabled",
|
|
3624
|
+
"reflect": true,
|
|
3625
|
+
"defaultValue": "false"
|
|
3626
|
+
},
|
|
3627
|
+
"dropEnabled": {
|
|
3628
|
+
"type": "boolean",
|
|
3629
|
+
"mutable": false,
|
|
3630
|
+
"complexType": {
|
|
3631
|
+
"original": "boolean",
|
|
3632
|
+
"resolved": "boolean",
|
|
3633
|
+
"references": {}
|
|
3634
|
+
},
|
|
3635
|
+
"required": false,
|
|
3636
|
+
"optional": false,
|
|
3637
|
+
"docs": {
|
|
3638
|
+
"tags": [],
|
|
3639
|
+
"text": "Enables drop."
|
|
3640
|
+
},
|
|
3641
|
+
"attribute": "drop-enabled",
|
|
3642
|
+
"reflect": true,
|
|
3643
|
+
"defaultValue": "false"
|
|
3644
|
+
},
|
|
3645
|
+
"editableData": {
|
|
3646
|
+
"type": "boolean",
|
|
3647
|
+
"mutable": true,
|
|
3648
|
+
"complexType": {
|
|
3649
|
+
"original": "boolean",
|
|
3650
|
+
"resolved": "boolean",
|
|
3651
|
+
"references": {}
|
|
3652
|
+
},
|
|
3653
|
+
"required": false,
|
|
3654
|
+
"optional": false,
|
|
3655
|
+
"docs": {
|
|
3656
|
+
"tags": [{
|
|
3657
|
+
"name": "default",
|
|
3658
|
+
"text": "false"
|
|
3659
|
+
}],
|
|
3660
|
+
"text": "When set to true, editable cells will be rendered using input components."
|
|
3661
|
+
},
|
|
3662
|
+
"attribute": "editable-data",
|
|
3663
|
+
"reflect": false,
|
|
3664
|
+
"defaultValue": "false"
|
|
3665
|
+
},
|
|
3666
|
+
"emptyDataLabel": {
|
|
3667
|
+
"type": "string",
|
|
3668
|
+
"mutable": true,
|
|
3669
|
+
"complexType": {
|
|
3670
|
+
"original": "string",
|
|
3671
|
+
"resolved": "string",
|
|
3672
|
+
"references": {}
|
|
3673
|
+
},
|
|
3674
|
+
"required": false,
|
|
3675
|
+
"optional": false,
|
|
3676
|
+
"docs": {
|
|
3677
|
+
"tags": [],
|
|
3678
|
+
"text": "Defines the label to show when the table is empty."
|
|
3679
|
+
},
|
|
3680
|
+
"attribute": "empty-data-label",
|
|
3681
|
+
"reflect": false,
|
|
3682
|
+
"defaultValue": "null"
|
|
3683
|
+
},
|
|
3684
|
+
"enableColumnsFormula": {
|
|
3685
|
+
"type": "boolean",
|
|
3686
|
+
"mutable": false,
|
|
3687
|
+
"complexType": {
|
|
3688
|
+
"original": "boolean",
|
|
3689
|
+
"resolved": "boolean",
|
|
3690
|
+
"references": {}
|
|
3691
|
+
},
|
|
3692
|
+
"required": false,
|
|
3693
|
+
"optional": false,
|
|
3694
|
+
"docs": {
|
|
3695
|
+
"tags": [{
|
|
3696
|
+
"name": "default",
|
|
3697
|
+
"text": "true"
|
|
3698
|
+
}],
|
|
3699
|
+
"text": "Enables the choice to set formulas on columns by dragging them into different columns."
|
|
3700
|
+
},
|
|
3701
|
+
"attribute": "enable-columns-formula",
|
|
3702
|
+
"reflect": false,
|
|
3703
|
+
"defaultValue": "true"
|
|
3704
|
+
},
|
|
3705
|
+
"enableExtraColumns": {
|
|
3706
|
+
"type": "boolean",
|
|
3707
|
+
"mutable": false,
|
|
3708
|
+
"complexType": {
|
|
3709
|
+
"original": "boolean",
|
|
3710
|
+
"resolved": "boolean",
|
|
3711
|
+
"references": {}
|
|
3712
|
+
},
|
|
3713
|
+
"required": false,
|
|
3714
|
+
"optional": false,
|
|
3715
|
+
"docs": {
|
|
3716
|
+
"tags": [],
|
|
3717
|
+
"text": "Enables the extracolumns add buttons."
|
|
3718
|
+
},
|
|
3719
|
+
"attribute": "enable-extra-columns",
|
|
3720
|
+
"reflect": false,
|
|
3721
|
+
"defaultValue": "true"
|
|
3722
|
+
},
|
|
3723
|
+
"enableMergeColumns": {
|
|
3724
|
+
"type": "boolean",
|
|
3725
|
+
"mutable": false,
|
|
3726
|
+
"complexType": {
|
|
3727
|
+
"original": "boolean",
|
|
3728
|
+
"resolved": "boolean",
|
|
3729
|
+
"references": {}
|
|
3730
|
+
},
|
|
3731
|
+
"required": false,
|
|
3732
|
+
"optional": false,
|
|
3733
|
+
"docs": {
|
|
3734
|
+
"tags": [{
|
|
3735
|
+
"name": "default",
|
|
3736
|
+
"text": "true"
|
|
3737
|
+
}],
|
|
3738
|
+
"text": "Enables the merging of columns by dragging them into different columns."
|
|
3739
|
+
},
|
|
3740
|
+
"attribute": "enable-merge-columns",
|
|
3741
|
+
"reflect": false,
|
|
3742
|
+
"defaultValue": "true"
|
|
3743
|
+
},
|
|
3744
|
+
"enableSortableColumns": {
|
|
3745
|
+
"type": "boolean",
|
|
3746
|
+
"mutable": false,
|
|
3747
|
+
"complexType": {
|
|
3748
|
+
"original": "boolean",
|
|
3749
|
+
"resolved": "boolean",
|
|
3750
|
+
"references": {}
|
|
3751
|
+
},
|
|
3752
|
+
"required": false,
|
|
3753
|
+
"optional": false,
|
|
3754
|
+
"docs": {
|
|
3755
|
+
"tags": [],
|
|
3756
|
+
"text": "Enables the sorting of columns by dragging them into different columns."
|
|
3757
|
+
},
|
|
3758
|
+
"attribute": "enable-sortable-columns",
|
|
3759
|
+
"reflect": false,
|
|
3760
|
+
"defaultValue": "true"
|
|
3761
|
+
},
|
|
3762
|
+
"expandGroups": {
|
|
3763
|
+
"type": "boolean",
|
|
3764
|
+
"mutable": false,
|
|
3765
|
+
"complexType": {
|
|
3766
|
+
"original": "boolean",
|
|
3767
|
+
"resolved": "boolean",
|
|
3768
|
+
"references": {}
|
|
3769
|
+
},
|
|
3770
|
+
"required": false,
|
|
3771
|
+
"optional": false,
|
|
3772
|
+
"docs": {
|
|
3773
|
+
"tags": [],
|
|
3774
|
+
"text": "Expands groups when set to true."
|
|
3775
|
+
},
|
|
3776
|
+
"attribute": "expand-groups",
|
|
3777
|
+
"reflect": false,
|
|
3778
|
+
"defaultValue": "false"
|
|
3779
|
+
},
|
|
3780
|
+
"filters": {
|
|
3781
|
+
"type": "unknown",
|
|
3782
|
+
"mutable": true,
|
|
3783
|
+
"complexType": {
|
|
3784
|
+
"original": "GenericFilter",
|
|
3785
|
+
"resolved": "GenericFilter",
|
|
3786
|
+
"references": {
|
|
3787
|
+
"GenericFilter": {
|
|
3788
|
+
"location": "import",
|
|
3789
|
+
"path": "../../utils/filters/filters-declarations"
|
|
3790
|
+
}
|
|
3783
3791
|
}
|
|
3784
|
-
}
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3792
|
+
},
|
|
3793
|
+
"required": false,
|
|
3794
|
+
"optional": false,
|
|
3795
|
+
"docs": {
|
|
3796
|
+
"tags": [],
|
|
3797
|
+
"text": "List of filters set by the user."
|
|
3798
|
+
},
|
|
3799
|
+
"defaultValue": "{}"
|
|
3800
|
+
},
|
|
3801
|
+
"fixedColumns": {
|
|
3802
|
+
"type": "number",
|
|
3803
|
+
"mutable": false,
|
|
3804
|
+
"complexType": {
|
|
3805
|
+
"original": "number",
|
|
3806
|
+
"resolved": "number",
|
|
3807
|
+
"references": {}
|
|
3808
|
+
},
|
|
3809
|
+
"required": false,
|
|
3810
|
+
"optional": false,
|
|
3811
|
+
"docs": {
|
|
3812
|
+
"tags": [{
|
|
3813
|
+
"name": "see",
|
|
3814
|
+
"text": "fixedRows"
|
|
3815
|
+
}],
|
|
3816
|
+
"text": "Fixes the given number of columns so that they stay visible when horizontally scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedRows."
|
|
3817
|
+
},
|
|
3818
|
+
"attribute": "fixed-columns",
|
|
3819
|
+
"reflect": false,
|
|
3820
|
+
"defaultValue": "0"
|
|
3821
|
+
},
|
|
3822
|
+
"fixedRows": {
|
|
3823
|
+
"type": "number",
|
|
3824
|
+
"mutable": false,
|
|
3825
|
+
"complexType": {
|
|
3826
|
+
"original": "number",
|
|
3827
|
+
"resolved": "number",
|
|
3828
|
+
"references": {}
|
|
3829
|
+
},
|
|
3830
|
+
"required": false,
|
|
3831
|
+
"optional": false,
|
|
3832
|
+
"docs": {
|
|
3833
|
+
"tags": [{
|
|
3834
|
+
"name": "see",
|
|
3835
|
+
"text": "fixedColumns"
|
|
3836
|
+
}],
|
|
3837
|
+
"text": "Fixes the given number of rows so that they stay visible when vertically scrolling the data-table.\r\nIf grouping is active or the value of the prop is <= 0, this prop will have no effect.\r\nCan be combined with fixedColumns."
|
|
3838
|
+
},
|
|
3839
|
+
"attribute": "fixed-rows",
|
|
3840
|
+
"reflect": false,
|
|
3841
|
+
"defaultValue": "0"
|
|
3842
|
+
},
|
|
3843
|
+
"forceOneLine": {
|
|
3844
|
+
"type": "boolean",
|
|
3845
|
+
"mutable": false,
|
|
3846
|
+
"complexType": {
|
|
3847
|
+
"original": "boolean",
|
|
3848
|
+
"resolved": "boolean",
|
|
3849
|
+
"references": {}
|
|
3850
|
+
},
|
|
3851
|
+
"required": false,
|
|
3852
|
+
"optional": false,
|
|
3853
|
+
"docs": {
|
|
3854
|
+
"tags": [],
|
|
3855
|
+
"text": "Forces cells with long text and a fixed column size to have an ellipsis set on their text.\r\nThe reflect attribute is mandatory to allow styling."
|
|
3856
|
+
},
|
|
3857
|
+
"attribute": "force-one-line",
|
|
3858
|
+
"reflect": true,
|
|
3859
|
+
"defaultValue": "false"
|
|
3860
|
+
},
|
|
3861
|
+
"globalFilter": {
|
|
3862
|
+
"type": "boolean",
|
|
3863
|
+
"mutable": false,
|
|
3864
|
+
"complexType": {
|
|
3865
|
+
"original": "boolean",
|
|
3866
|
+
"resolved": "boolean",
|
|
3867
|
+
"references": {}
|
|
3868
|
+
},
|
|
3869
|
+
"required": false,
|
|
3870
|
+
"optional": false,
|
|
3871
|
+
"docs": {
|
|
3872
|
+
"tags": [],
|
|
3873
|
+
"text": "When set to true it activates the global filter."
|
|
3874
|
+
},
|
|
3875
|
+
"attribute": "global-filter",
|
|
3876
|
+
"reflect": false,
|
|
3877
|
+
"defaultValue": "false"
|
|
3878
|
+
},
|
|
3879
|
+
"globalFilterValue": {
|
|
3880
|
+
"type": "string",
|
|
3881
|
+
"mutable": true,
|
|
3882
|
+
"complexType": {
|
|
3883
|
+
"original": "string",
|
|
3884
|
+
"resolved": "string",
|
|
3885
|
+
"references": {}
|
|
3886
|
+
},
|
|
3887
|
+
"required": false,
|
|
3888
|
+
"optional": false,
|
|
3889
|
+
"docs": {
|
|
3890
|
+
"tags": [],
|
|
3891
|
+
"text": "The value of the global filter."
|
|
3892
|
+
},
|
|
3893
|
+
"attribute": "global-filter-value",
|
|
3894
|
+
"reflect": true,
|
|
3895
|
+
"defaultValue": "''"
|
|
3896
|
+
},
|
|
3897
|
+
"groupLabelDisplay": {
|
|
3898
|
+
"type": "string",
|
|
3899
|
+
"mutable": false,
|
|
3900
|
+
"complexType": {
|
|
3901
|
+
"original": "GroupLabelDisplayMode",
|
|
3902
|
+
"resolved": "GroupLabelDisplayMode.BOTH | GroupLabelDisplayMode.LABEL | GroupLabelDisplayMode.VALUE",
|
|
3903
|
+
"references": {
|
|
3904
|
+
"GroupLabelDisplayMode": {
|
|
3905
|
+
"location": "import",
|
|
3906
|
+
"path": "./kup-data-table-declarations"
|
|
3907
|
+
}
|
|
3900
3908
|
}
|
|
3901
|
-
}
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3909
|
+
},
|
|
3910
|
+
"required": false,
|
|
3911
|
+
"optional": false,
|
|
3912
|
+
"docs": {
|
|
3913
|
+
"tags": [],
|
|
3914
|
+
"text": "How the label of a group must be displayed.\r\nFor available values [see here]{@link GroupLabelDisplayMode}"
|
|
3915
|
+
},
|
|
3916
|
+
"attribute": "group-label-display",
|
|
3917
|
+
"reflect": false,
|
|
3918
|
+
"defaultValue": "GroupLabelDisplayMode.BOTH"
|
|
3919
|
+
},
|
|
3920
|
+
"groups": {
|
|
3921
|
+
"type": "unknown",
|
|
3922
|
+
"mutable": true,
|
|
3923
|
+
"complexType": {
|
|
3924
|
+
"original": "Array<GroupObject>",
|
|
3925
|
+
"resolved": "GroupObject[]",
|
|
3926
|
+
"references": {
|
|
3927
|
+
"Array": {
|
|
3928
|
+
"location": "global"
|
|
3929
|
+
},
|
|
3930
|
+
"GroupObject": {
|
|
3931
|
+
"location": "import",
|
|
3932
|
+
"path": "./kup-data-table-declarations"
|
|
3933
|
+
}
|
|
3926
3934
|
}
|
|
3927
|
-
}
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
3935
|
+
},
|
|
3936
|
+
"required": false,
|
|
3937
|
+
"optional": false,
|
|
3938
|
+
"docs": {
|
|
3939
|
+
"tags": [],
|
|
3940
|
+
"text": "The list of groups."
|
|
3941
|
+
},
|
|
3942
|
+
"defaultValue": "[]"
|
|
3943
|
+
},
|
|
3944
|
+
"headerIsPersistent": {
|
|
3945
|
+
"type": "boolean",
|
|
3946
|
+
"mutable": false,
|
|
3947
|
+
"complexType": {
|
|
3948
|
+
"original": "boolean",
|
|
3949
|
+
"resolved": "boolean",
|
|
3950
|
+
"references": {}
|
|
3951
|
+
},
|
|
3952
|
+
"required": false,
|
|
3953
|
+
"optional": false,
|
|
3954
|
+
"docs": {
|
|
3955
|
+
"tags": [],
|
|
3956
|
+
"text": "When set to true the header will stick on top of the table when scrolling."
|
|
3957
|
+
},
|
|
3958
|
+
"attribute": "header-is-persistent",
|
|
3959
|
+
"reflect": false,
|
|
3960
|
+
"defaultValue": "true"
|
|
3961
|
+
},
|
|
3962
|
+
"isFocusable": {
|
|
3963
|
+
"type": "boolean",
|
|
3964
|
+
"mutable": false,
|
|
3965
|
+
"complexType": {
|
|
3966
|
+
"original": "boolean",
|
|
3967
|
+
"resolved": "boolean",
|
|
3968
|
+
"references": {}
|
|
3969
|
+
},
|
|
3970
|
+
"required": false,
|
|
3971
|
+
"optional": false,
|
|
3972
|
+
"docs": {
|
|
3973
|
+
"tags": [{
|
|
3974
|
+
"name": "default",
|
|
3975
|
+
"text": "false"
|
|
3976
|
+
}],
|
|
3977
|
+
"text": "When set to true, clicked-on rows will have a visual feedback."
|
|
3978
|
+
},
|
|
3979
|
+
"attribute": "is-focusable",
|
|
3980
|
+
"reflect": false,
|
|
3981
|
+
"defaultValue": "false"
|
|
3982
|
+
},
|
|
3983
|
+
"lazyLoadRows": {
|
|
3984
|
+
"type": "boolean",
|
|
3985
|
+
"mutable": false,
|
|
3986
|
+
"complexType": {
|
|
3987
|
+
"original": "boolean",
|
|
3988
|
+
"resolved": "boolean",
|
|
3989
|
+
"references": {}
|
|
3990
|
+
},
|
|
3991
|
+
"required": false,
|
|
3992
|
+
"optional": false,
|
|
3993
|
+
"docs": {
|
|
3994
|
+
"tags": [],
|
|
3995
|
+
"text": "When set to true, extra rows will be automatically loaded once the last row enters the viewport. When groups are present, the number of rows is referred to groups and not to their content. Paginator is disabled."
|
|
3996
|
+
},
|
|
3997
|
+
"attribute": "lazy-load-rows",
|
|
3998
|
+
"reflect": false,
|
|
3999
|
+
"defaultValue": "false"
|
|
4000
|
+
},
|
|
4001
|
+
"lineBreakCharacter": {
|
|
4002
|
+
"type": "string",
|
|
4003
|
+
"mutable": false,
|
|
4004
|
+
"complexType": {
|
|
4005
|
+
"original": "string",
|
|
4006
|
+
"resolved": "string",
|
|
4007
|
+
"references": {}
|
|
4008
|
+
},
|
|
4009
|
+
"required": false,
|
|
4010
|
+
"optional": false,
|
|
4011
|
+
"docs": {
|
|
4012
|
+
"tags": [],
|
|
4013
|
+
"text": "Defines the placeholder character which will be replaced by a line break inside table header cells, normal or sticky."
|
|
4014
|
+
},
|
|
4015
|
+
"attribute": "line-break-character",
|
|
4016
|
+
"reflect": false,
|
|
4017
|
+
"defaultValue": "'\\n'"
|
|
4018
|
+
},
|
|
4019
|
+
"loadMoreLimit": {
|
|
4020
|
+
"type": "number",
|
|
4021
|
+
"mutable": false,
|
|
4022
|
+
"complexType": {
|
|
4023
|
+
"original": "number",
|
|
4024
|
+
"resolved": "number",
|
|
4025
|
+
"references": {}
|
|
4026
|
+
},
|
|
4027
|
+
"required": false,
|
|
4028
|
+
"optional": false,
|
|
4029
|
+
"docs": {
|
|
4030
|
+
"tags": [],
|
|
4031
|
+
"text": "Sets a maximum limit of new records which can be required by the load more functionality."
|
|
4032
|
+
},
|
|
4033
|
+
"attribute": "load-more-limit",
|
|
4034
|
+
"reflect": false,
|
|
4035
|
+
"defaultValue": "1000"
|
|
4036
|
+
},
|
|
4037
|
+
"loadMoreMode": {
|
|
4038
|
+
"type": "string",
|
|
4039
|
+
"mutable": false,
|
|
4040
|
+
"complexType": {
|
|
4041
|
+
"original": "LoadMoreMode",
|
|
4042
|
+
"resolved": "LoadMoreMode.CONSTANT | LoadMoreMode.CONSTANT_INCREMENT | LoadMoreMode.PROGRESSIVE_THRESHOLD",
|
|
4043
|
+
"references": {
|
|
4044
|
+
"LoadMoreMode": {
|
|
4045
|
+
"location": "import",
|
|
4046
|
+
"path": "./kup-data-table-declarations"
|
|
4047
|
+
}
|
|
4040
4048
|
}
|
|
4041
|
-
}
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4049
|
+
},
|
|
4050
|
+
"required": false,
|
|
4051
|
+
"optional": false,
|
|
4052
|
+
"docs": {
|
|
4053
|
+
"tags": [{
|
|
4054
|
+
"name": "see",
|
|
4055
|
+
"text": "loadMoreStep *"
|
|
4056
|
+
}, {
|
|
4057
|
+
"name": "see",
|
|
4058
|
+
"text": "loadMoreLimit"
|
|
4059
|
+
}],
|
|
4060
|
+
"text": "Establish the modality of how many new records will be downloaded.\r\n\r\nThis property is regulated also by loadMoreStep."
|
|
4061
|
+
},
|
|
4062
|
+
"attribute": "load-more-mode",
|
|
4063
|
+
"reflect": false,
|
|
4064
|
+
"defaultValue": "LoadMoreMode.PROGRESSIVE_THRESHOLD"
|
|
4065
|
+
},
|
|
4066
|
+
"loadMoreStep": {
|
|
4067
|
+
"type": "number",
|
|
4068
|
+
"mutable": false,
|
|
4069
|
+
"complexType": {
|
|
4070
|
+
"original": "number",
|
|
4071
|
+
"resolved": "number",
|
|
4072
|
+
"references": {}
|
|
4073
|
+
},
|
|
4074
|
+
"required": false,
|
|
4075
|
+
"optional": false,
|
|
4076
|
+
"docs": {
|
|
4077
|
+
"tags": [{
|
|
4078
|
+
"name": "see",
|
|
4079
|
+
"text": "loadMoreMode *"
|
|
4080
|
+
}, {
|
|
4081
|
+
"name": "see",
|
|
4082
|
+
"text": "loadMoreLimit"
|
|
4083
|
+
}],
|
|
4084
|
+
"text": "The number of records which will be requested to be downloaded when clicking on the load more button.\r\n\r\nThis property is regulated also by loadMoreMode."
|
|
4085
|
+
},
|
|
4086
|
+
"attribute": "load-more-step",
|
|
4087
|
+
"reflect": false,
|
|
4088
|
+
"defaultValue": "60"
|
|
4089
|
+
},
|
|
4090
|
+
"pageSelected": {
|
|
4091
|
+
"type": "number",
|
|
4092
|
+
"mutable": false,
|
|
4093
|
+
"complexType": {
|
|
4094
|
+
"original": "number",
|
|
4095
|
+
"resolved": "number",
|
|
4096
|
+
"references": {}
|
|
4097
|
+
},
|
|
4098
|
+
"required": false,
|
|
4099
|
+
"optional": false,
|
|
4100
|
+
"docs": {
|
|
4101
|
+
"tags": [],
|
|
4102
|
+
"text": "Current selected page set on component load"
|
|
4103
|
+
},
|
|
4104
|
+
"attribute": "page-selected",
|
|
4105
|
+
"reflect": false,
|
|
4106
|
+
"defaultValue": "-1"
|
|
4107
|
+
},
|
|
4108
|
+
"paginatorPos": {
|
|
4109
|
+
"type": "string",
|
|
4110
|
+
"mutable": false,
|
|
4111
|
+
"complexType": {
|
|
4112
|
+
"original": "PaginatorPos",
|
|
4113
|
+
"resolved": "PaginatorPos.BOTH | PaginatorPos.BOTTOM | PaginatorPos.TOP",
|
|
4114
|
+
"references": {
|
|
4115
|
+
"PaginatorPos": {
|
|
4116
|
+
"location": "import",
|
|
4117
|
+
"path": "./kup-data-table-declarations"
|
|
4118
|
+
}
|
|
4111
4119
|
}
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4120
|
+
},
|
|
4121
|
+
"required": false,
|
|
4122
|
+
"optional": false,
|
|
4123
|
+
"docs": {
|
|
4124
|
+
"tags": [],
|
|
4125
|
+
"text": "Sets the position of the paginator. Available positions: top, bottom or both."
|
|
4126
|
+
},
|
|
4127
|
+
"attribute": "paginator-pos",
|
|
4128
|
+
"reflect": false,
|
|
4129
|
+
"defaultValue": "PaginatorPos.TOP"
|
|
4130
|
+
},
|
|
4131
|
+
"removableColumns": {
|
|
4132
|
+
"type": "boolean",
|
|
4133
|
+
"mutable": false,
|
|
4134
|
+
"complexType": {
|
|
4135
|
+
"original": "boolean",
|
|
4136
|
+
"resolved": "boolean",
|
|
4137
|
+
"references": {}
|
|
4138
|
+
},
|
|
4139
|
+
"required": false,
|
|
4140
|
+
"optional": false,
|
|
4141
|
+
"docs": {
|
|
4142
|
+
"tags": [],
|
|
4143
|
+
"text": "Sets the possibility to remove the selected column."
|
|
4144
|
+
},
|
|
4145
|
+
"attribute": "removable-columns",
|
|
4146
|
+
"reflect": false,
|
|
4147
|
+
"defaultValue": "false"
|
|
4148
|
+
},
|
|
4149
|
+
"resizableColumns": {
|
|
4150
|
+
"type": "boolean",
|
|
4151
|
+
"mutable": false,
|
|
4152
|
+
"complexType": {
|
|
4153
|
+
"original": "boolean",
|
|
4154
|
+
"resolved": "boolean",
|
|
4155
|
+
"references": {}
|
|
4156
|
+
},
|
|
4157
|
+
"required": false,
|
|
4158
|
+
"optional": false,
|
|
4159
|
+
"docs": {
|
|
4160
|
+
"tags": [],
|
|
4161
|
+
"text": "Gives the possibility to resize columns by dragging on their right edge."
|
|
4162
|
+
},
|
|
4163
|
+
"attribute": "resizable-columns",
|
|
4164
|
+
"reflect": false,
|
|
4165
|
+
"defaultValue": "true"
|
|
4166
|
+
},
|
|
4167
|
+
"rowActions": {
|
|
4168
|
+
"type": "unknown",
|
|
4169
|
+
"mutable": false,
|
|
4170
|
+
"complexType": {
|
|
4171
|
+
"original": "Array<KupDataRowAction>",
|
|
4172
|
+
"resolved": "KupDataRowAction[]",
|
|
4173
|
+
"references": {
|
|
4174
|
+
"Array": {
|
|
4175
|
+
"location": "global"
|
|
4176
|
+
},
|
|
4177
|
+
"KupDataRowAction": {
|
|
4178
|
+
"location": "import",
|
|
4179
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4180
|
+
}
|
|
4173
4181
|
}
|
|
4182
|
+
},
|
|
4183
|
+
"required": false,
|
|
4184
|
+
"optional": false,
|
|
4185
|
+
"docs": {
|
|
4186
|
+
"tags": [],
|
|
4187
|
+
"text": "Sets the actions of the rows."
|
|
4174
4188
|
}
|
|
4175
4189
|
},
|
|
4176
|
-
"
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
"
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
"
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
"
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
"original": "SelectionMode",
|
|
4224
|
-
"resolved": "SelectionMode.MULTIPLE | SelectionMode.MULTIPLE_CHECKBOX | SelectionMode.NONE | SelectionMode.SINGLE",
|
|
4225
|
-
"references": {
|
|
4226
|
-
"SelectionMode": {
|
|
4227
|
-
"location": "import",
|
|
4228
|
-
"path": "./kup-data-table-declarations"
|
|
4190
|
+
"rowsPerPage": {
|
|
4191
|
+
"type": "number",
|
|
4192
|
+
"mutable": false,
|
|
4193
|
+
"complexType": {
|
|
4194
|
+
"original": "number",
|
|
4195
|
+
"resolved": "number",
|
|
4196
|
+
"references": {}
|
|
4197
|
+
},
|
|
4198
|
+
"required": false,
|
|
4199
|
+
"optional": false,
|
|
4200
|
+
"docs": {
|
|
4201
|
+
"tags": [],
|
|
4202
|
+
"text": "Sets the number of rows per page to display."
|
|
4203
|
+
},
|
|
4204
|
+
"attribute": "rows-per-page",
|
|
4205
|
+
"reflect": false,
|
|
4206
|
+
"defaultValue": "10"
|
|
4207
|
+
},
|
|
4208
|
+
"scrollOnHover": {
|
|
4209
|
+
"type": "boolean",
|
|
4210
|
+
"mutable": false,
|
|
4211
|
+
"complexType": {
|
|
4212
|
+
"original": "boolean",
|
|
4213
|
+
"resolved": "boolean",
|
|
4214
|
+
"references": {}
|
|
4215
|
+
},
|
|
4216
|
+
"required": false,
|
|
4217
|
+
"optional": false,
|
|
4218
|
+
"docs": {
|
|
4219
|
+
"tags": [],
|
|
4220
|
+
"text": "Activates the scroll on hover function."
|
|
4221
|
+
},
|
|
4222
|
+
"attribute": "scroll-on-hover",
|
|
4223
|
+
"reflect": false,
|
|
4224
|
+
"defaultValue": "false"
|
|
4225
|
+
},
|
|
4226
|
+
"selection": {
|
|
4227
|
+
"type": "string",
|
|
4228
|
+
"mutable": false,
|
|
4229
|
+
"complexType": {
|
|
4230
|
+
"original": "SelectionMode",
|
|
4231
|
+
"resolved": "SelectionMode.MULTIPLE | SelectionMode.MULTIPLE_CHECKBOX | SelectionMode.NONE | SelectionMode.SINGLE",
|
|
4232
|
+
"references": {
|
|
4233
|
+
"SelectionMode": {
|
|
4234
|
+
"location": "import",
|
|
4235
|
+
"path": "./kup-data-table-declarations"
|
|
4236
|
+
}
|
|
4229
4237
|
}
|
|
4230
|
-
}
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4238
|
+
},
|
|
4239
|
+
"required": false,
|
|
4240
|
+
"optional": false,
|
|
4241
|
+
"docs": {
|
|
4242
|
+
"tags": [],
|
|
4243
|
+
"text": "Set the type of the rows selection."
|
|
4244
|
+
},
|
|
4245
|
+
"attribute": "selection",
|
|
4246
|
+
"reflect": false,
|
|
4247
|
+
"defaultValue": "SelectionMode.SINGLE"
|
|
4248
|
+
},
|
|
4249
|
+
"showCustomization": {
|
|
4250
|
+
"type": "boolean",
|
|
4251
|
+
"mutable": false,
|
|
4252
|
+
"complexType": {
|
|
4253
|
+
"original": "boolean",
|
|
4254
|
+
"resolved": "boolean",
|
|
4255
|
+
"references": {}
|
|
4256
|
+
},
|
|
4257
|
+
"required": false,
|
|
4258
|
+
"optional": false,
|
|
4259
|
+
"docs": {
|
|
4260
|
+
"tags": [],
|
|
4261
|
+
"text": "If set to true, displays the button to open the customization panel."
|
|
4262
|
+
},
|
|
4263
|
+
"attribute": "show-customization",
|
|
4264
|
+
"reflect": false,
|
|
4265
|
+
"defaultValue": "true"
|
|
4266
|
+
},
|
|
4267
|
+
"showFilters": {
|
|
4268
|
+
"type": "boolean",
|
|
4269
|
+
"mutable": false,
|
|
4270
|
+
"complexType": {
|
|
4271
|
+
"original": "boolean",
|
|
4272
|
+
"resolved": "boolean",
|
|
4273
|
+
"references": {}
|
|
4274
|
+
},
|
|
4275
|
+
"required": false,
|
|
4276
|
+
"optional": false,
|
|
4277
|
+
"docs": {
|
|
4278
|
+
"tags": [],
|
|
4279
|
+
"text": "When set to true enables the column filters."
|
|
4280
|
+
},
|
|
4281
|
+
"attribute": "show-filters",
|
|
4282
|
+
"reflect": false,
|
|
4283
|
+
"defaultValue": "false"
|
|
4284
|
+
},
|
|
4285
|
+
"showGroups": {
|
|
4286
|
+
"type": "boolean",
|
|
4287
|
+
"mutable": false,
|
|
4288
|
+
"complexType": {
|
|
4289
|
+
"original": "boolean",
|
|
4290
|
+
"resolved": "boolean",
|
|
4291
|
+
"references": {}
|
|
4292
|
+
},
|
|
4293
|
+
"required": false,
|
|
4294
|
+
"optional": false,
|
|
4295
|
+
"docs": {
|
|
4296
|
+
"tags": [],
|
|
4297
|
+
"text": "When set to true enables the column grouping."
|
|
4298
|
+
},
|
|
4299
|
+
"attribute": "show-groups",
|
|
4300
|
+
"reflect": false,
|
|
4301
|
+
"defaultValue": "false"
|
|
4302
|
+
},
|
|
4303
|
+
"showFooter": {
|
|
4304
|
+
"type": "boolean",
|
|
4305
|
+
"mutable": false,
|
|
4306
|
+
"complexType": {
|
|
4307
|
+
"original": "boolean",
|
|
4308
|
+
"resolved": "boolean",
|
|
4309
|
+
"references": {}
|
|
4310
|
+
},
|
|
4311
|
+
"required": false,
|
|
4312
|
+
"optional": false,
|
|
4313
|
+
"docs": {
|
|
4314
|
+
"tags": [],
|
|
4315
|
+
"text": "When set to true shows the footer."
|
|
4316
|
+
},
|
|
4317
|
+
"attribute": "show-footer",
|
|
4318
|
+
"reflect": false,
|
|
4319
|
+
"defaultValue": "false"
|
|
4320
|
+
},
|
|
4321
|
+
"showGrid": {
|
|
4322
|
+
"type": "string",
|
|
4323
|
+
"mutable": false,
|
|
4324
|
+
"complexType": {
|
|
4325
|
+
"original": "ShowGrid",
|
|
4326
|
+
"resolved": "ShowGrid.COL | ShowGrid.COMPLETE | ShowGrid.NONE | ShowGrid.ROW",
|
|
4327
|
+
"references": {
|
|
4328
|
+
"ShowGrid": {
|
|
4329
|
+
"location": "import",
|
|
4330
|
+
"path": "./kup-data-table-declarations"
|
|
4331
|
+
}
|
|
4324
4332
|
}
|
|
4325
|
-
}
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4333
|
+
},
|
|
4334
|
+
"required": false,
|
|
4335
|
+
"optional": false,
|
|
4336
|
+
"docs": {
|
|
4337
|
+
"tags": [],
|
|
4338
|
+
"text": "Can be used to customize the grid view of the table."
|
|
4339
|
+
},
|
|
4340
|
+
"attribute": "show-grid",
|
|
4341
|
+
"reflect": false,
|
|
4342
|
+
"defaultValue": "ShowGrid.ROW"
|
|
4343
|
+
},
|
|
4344
|
+
"showHeader": {
|
|
4345
|
+
"type": "boolean",
|
|
4346
|
+
"mutable": false,
|
|
4347
|
+
"complexType": {
|
|
4348
|
+
"original": "boolean",
|
|
4349
|
+
"resolved": "boolean",
|
|
4350
|
+
"references": {}
|
|
4351
|
+
},
|
|
4352
|
+
"required": false,
|
|
4353
|
+
"optional": false,
|
|
4354
|
+
"docs": {
|
|
4355
|
+
"tags": [{
|
|
4356
|
+
"name": "namespace",
|
|
4357
|
+
"text": "KupDataTable.showHeader"
|
|
4358
|
+
}],
|
|
4359
|
+
"text": "Enables rendering of the table header."
|
|
4360
|
+
},
|
|
4361
|
+
"attribute": "show-header",
|
|
4362
|
+
"reflect": false,
|
|
4363
|
+
"defaultValue": "true"
|
|
4364
|
+
},
|
|
4365
|
+
"showLoadMore": {
|
|
4366
|
+
"type": "boolean",
|
|
4367
|
+
"mutable": false,
|
|
4368
|
+
"complexType": {
|
|
4369
|
+
"original": "boolean",
|
|
4370
|
+
"resolved": "boolean",
|
|
4371
|
+
"references": {}
|
|
4372
|
+
},
|
|
4373
|
+
"required": false,
|
|
4374
|
+
"optional": false,
|
|
4375
|
+
"docs": {
|
|
4376
|
+
"tags": [],
|
|
4377
|
+
"text": "If set to true, displays the button to load more records."
|
|
4378
|
+
},
|
|
4379
|
+
"attribute": "show-load-more",
|
|
4380
|
+
"reflect": false,
|
|
4381
|
+
"defaultValue": "false"
|
|
4382
|
+
},
|
|
4383
|
+
"sort": {
|
|
4384
|
+
"type": "unknown",
|
|
4385
|
+
"mutable": true,
|
|
4386
|
+
"complexType": {
|
|
4387
|
+
"original": "Array<SortObject>",
|
|
4388
|
+
"resolved": "SortObject[]",
|
|
4389
|
+
"references": {
|
|
4390
|
+
"Array": {
|
|
4391
|
+
"location": "global"
|
|
4392
|
+
},
|
|
4393
|
+
"SortObject": {
|
|
4394
|
+
"location": "import",
|
|
4395
|
+
"path": "./kup-data-table-declarations"
|
|
4396
|
+
}
|
|
4389
4397
|
}
|
|
4390
|
-
}
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4398
|
+
},
|
|
4399
|
+
"required": false,
|
|
4400
|
+
"optional": false,
|
|
4401
|
+
"docs": {
|
|
4402
|
+
"tags": [],
|
|
4403
|
+
"text": "Defines the current sorting options."
|
|
4404
|
+
},
|
|
4405
|
+
"defaultValue": "[]"
|
|
4406
|
+
},
|
|
4407
|
+
"sortableColumnsMutateData": {
|
|
4408
|
+
"type": "boolean",
|
|
4409
|
+
"mutable": false,
|
|
4410
|
+
"complexType": {
|
|
4411
|
+
"original": "boolean",
|
|
4412
|
+
"resolved": "boolean",
|
|
4413
|
+
"references": {}
|
|
4414
|
+
},
|
|
4415
|
+
"required": false,
|
|
4416
|
+
"optional": false,
|
|
4417
|
+
"docs": {
|
|
4418
|
+
"tags": [],
|
|
4419
|
+
"text": "If set to true, when a column is dragged to be sorted, the component directly mutates the data.columns property\r\nand then fires the event"
|
|
4420
|
+
},
|
|
4421
|
+
"attribute": "sortable-columns-mutate-data",
|
|
4422
|
+
"reflect": false,
|
|
4423
|
+
"defaultValue": "true"
|
|
4424
|
+
},
|
|
4425
|
+
"sortEnabled": {
|
|
4426
|
+
"type": "boolean",
|
|
4427
|
+
"mutable": false,
|
|
4428
|
+
"complexType": {
|
|
4429
|
+
"original": "boolean",
|
|
4430
|
+
"resolved": "boolean",
|
|
4431
|
+
"references": {}
|
|
4432
|
+
},
|
|
4433
|
+
"required": false,
|
|
4434
|
+
"optional": false,
|
|
4435
|
+
"docs": {
|
|
4436
|
+
"tags": [],
|
|
4437
|
+
"text": "When set to true enables the sorting of the columns by clicking on the column header."
|
|
4438
|
+
},
|
|
4439
|
+
"attribute": "sort-enabled",
|
|
4440
|
+
"reflect": false,
|
|
4441
|
+
"defaultValue": "true"
|
|
4442
|
+
},
|
|
4443
|
+
"tableHeight": {
|
|
4444
|
+
"type": "string",
|
|
4445
|
+
"mutable": false,
|
|
4446
|
+
"complexType": {
|
|
4447
|
+
"original": "string",
|
|
4448
|
+
"resolved": "string",
|
|
4449
|
+
"references": {}
|
|
4450
|
+
},
|
|
4451
|
+
"required": false,
|
|
4452
|
+
"optional": false,
|
|
4453
|
+
"docs": {
|
|
4454
|
+
"tags": [],
|
|
4455
|
+
"text": "Sets the height of the table."
|
|
4456
|
+
},
|
|
4457
|
+
"attribute": "table-height",
|
|
4458
|
+
"reflect": false,
|
|
4459
|
+
"defaultValue": "undefined"
|
|
4460
|
+
},
|
|
4461
|
+
"tableWidth": {
|
|
4462
|
+
"type": "string",
|
|
4463
|
+
"mutable": false,
|
|
4464
|
+
"complexType": {
|
|
4465
|
+
"original": "string",
|
|
4466
|
+
"resolved": "string",
|
|
4467
|
+
"references": {}
|
|
4468
|
+
},
|
|
4469
|
+
"required": false,
|
|
4470
|
+
"optional": false,
|
|
4471
|
+
"docs": {
|
|
4472
|
+
"tags": [],
|
|
4473
|
+
"text": "Sets the width of the table."
|
|
4474
|
+
},
|
|
4475
|
+
"attribute": "table-width",
|
|
4476
|
+
"reflect": false,
|
|
4477
|
+
"defaultValue": "undefined"
|
|
4478
|
+
},
|
|
4479
|
+
"totals": {
|
|
4480
|
+
"type": "unknown",
|
|
4481
|
+
"mutable": true,
|
|
4482
|
+
"complexType": {
|
|
4483
|
+
"original": "TotalsMap",
|
|
4484
|
+
"resolved": "TotalsMap",
|
|
4485
|
+
"references": {
|
|
4486
|
+
"TotalsMap": {
|
|
4487
|
+
"location": "import",
|
|
4488
|
+
"path": "./kup-data-table-declarations"
|
|
4489
|
+
}
|
|
4482
4490
|
}
|
|
4491
|
+
},
|
|
4492
|
+
"required": false,
|
|
4493
|
+
"optional": false,
|
|
4494
|
+
"docs": {
|
|
4495
|
+
"tags": [],
|
|
4496
|
+
"text": "Defines the current totals options"
|
|
4483
4497
|
}
|
|
4484
4498
|
},
|
|
4485
|
-
"
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
"
|
|
4489
|
-
|
|
4499
|
+
"transpose": {
|
|
4500
|
+
"type": "boolean",
|
|
4501
|
+
"mutable": true,
|
|
4502
|
+
"complexType": {
|
|
4503
|
+
"original": "boolean",
|
|
4504
|
+
"resolved": "boolean",
|
|
4505
|
+
"references": {}
|
|
4506
|
+
},
|
|
4507
|
+
"required": false,
|
|
4508
|
+
"optional": false,
|
|
4509
|
+
"docs": {
|
|
4510
|
+
"tags": [],
|
|
4511
|
+
"text": "Transposes the data of the data table"
|
|
4512
|
+
},
|
|
4513
|
+
"attribute": "transpose",
|
|
4514
|
+
"reflect": false,
|
|
4515
|
+
"defaultValue": "false"
|
|
4490
4516
|
}
|
|
4491
|
-
}
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
"
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
},
|
|
4500
|
-
"
|
|
4501
|
-
"
|
|
4502
|
-
"
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
"bubbles": true,
|
|
4527
|
-
"cancelable": false,
|
|
4528
|
-
"composed": true,
|
|
4529
|
-
"docs": {
|
|
4530
|
-
"tags": [],
|
|
4531
|
-
"text": "When component unload is complete"
|
|
4532
|
-
},
|
|
4533
|
-
"complexType": {
|
|
4534
|
-
"original": "KupEventPayload",
|
|
4535
|
-
"resolved": "KupEventPayload",
|
|
4536
|
-
"references": {
|
|
4537
|
-
"KupEventPayload": {
|
|
4538
|
-
"location": "import",
|
|
4539
|
-
"path": "../../types/GenericTypes"
|
|
4517
|
+
};
|
|
4518
|
+
}
|
|
4519
|
+
static get states() {
|
|
4520
|
+
return {
|
|
4521
|
+
"lazyLoadCells": {},
|
|
4522
|
+
"currentPage": {},
|
|
4523
|
+
"currentRowsPerPage": {},
|
|
4524
|
+
"selectedRows": {},
|
|
4525
|
+
"selectedColumn": {},
|
|
4526
|
+
"columnMenuAnchor": {},
|
|
4527
|
+
"groupState": {},
|
|
4528
|
+
"openedTotalMenu": {},
|
|
4529
|
+
"openedCustomSettings": {},
|
|
4530
|
+
"fontsize": {}
|
|
4531
|
+
};
|
|
4532
|
+
}
|
|
4533
|
+
static get events() {
|
|
4534
|
+
return [{
|
|
4535
|
+
"method": "kupDidUnload",
|
|
4536
|
+
"name": "kup-datatable-didunload",
|
|
4537
|
+
"bubbles": true,
|
|
4538
|
+
"cancelable": false,
|
|
4539
|
+
"composed": true,
|
|
4540
|
+
"docs": {
|
|
4541
|
+
"tags": [],
|
|
4542
|
+
"text": "When component unload is complete"
|
|
4543
|
+
},
|
|
4544
|
+
"complexType": {
|
|
4545
|
+
"original": "KupEventPayload",
|
|
4546
|
+
"resolved": "KupEventPayload",
|
|
4547
|
+
"references": {
|
|
4548
|
+
"KupEventPayload": {
|
|
4549
|
+
"location": "import",
|
|
4550
|
+
"path": "../../types/GenericTypes"
|
|
4551
|
+
}
|
|
4540
4552
|
}
|
|
4541
4553
|
}
|
|
4542
|
-
}
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4554
|
+
}, {
|
|
4555
|
+
"method": "kupDidLoad",
|
|
4556
|
+
"name": "kup-datatable-didload",
|
|
4557
|
+
"bubbles": true,
|
|
4558
|
+
"cancelable": false,
|
|
4559
|
+
"composed": true,
|
|
4560
|
+
"docs": {
|
|
4561
|
+
"tags": [],
|
|
4562
|
+
"text": "When component load is complete"
|
|
4563
|
+
},
|
|
4564
|
+
"complexType": {
|
|
4565
|
+
"original": "KupEventPayload",
|
|
4566
|
+
"resolved": "KupEventPayload",
|
|
4567
|
+
"references": {
|
|
4568
|
+
"KupEventPayload": {
|
|
4569
|
+
"location": "import",
|
|
4570
|
+
"path": "../../types/GenericTypes"
|
|
4571
|
+
}
|
|
4560
4572
|
}
|
|
4561
4573
|
}
|
|
4562
|
-
}
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4574
|
+
}, {
|
|
4575
|
+
"method": "kupResetSelectedRows",
|
|
4576
|
+
"name": "kup-datatable-resetselectedrows",
|
|
4577
|
+
"bubbles": true,
|
|
4578
|
+
"cancelable": false,
|
|
4579
|
+
"composed": true,
|
|
4580
|
+
"docs": {
|
|
4581
|
+
"tags": [],
|
|
4582
|
+
"text": "When rows selections reset"
|
|
4583
|
+
},
|
|
4584
|
+
"complexType": {
|
|
4585
|
+
"original": "KupEventPayload",
|
|
4586
|
+
"resolved": "KupEventPayload",
|
|
4587
|
+
"references": {
|
|
4588
|
+
"KupEventPayload": {
|
|
4589
|
+
"location": "import",
|
|
4590
|
+
"path": "../../types/GenericTypes"
|
|
4591
|
+
}
|
|
4580
4592
|
}
|
|
4581
4593
|
}
|
|
4582
|
-
}
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4594
|
+
}, {
|
|
4595
|
+
"method": "kupRowSelected",
|
|
4596
|
+
"name": "kup-datatable-rowselected",
|
|
4597
|
+
"bubbles": true,
|
|
4598
|
+
"cancelable": false,
|
|
4599
|
+
"composed": true,
|
|
4600
|
+
"docs": {
|
|
4601
|
+
"tags": [],
|
|
4602
|
+
"text": "When a row is selected"
|
|
4603
|
+
},
|
|
4604
|
+
"complexType": {
|
|
4605
|
+
"original": "KupDatatableRowSelectedEventPayload",
|
|
4606
|
+
"resolved": "KupDatatableRowSelectedEventPayload",
|
|
4607
|
+
"references": {
|
|
4608
|
+
"KupDatatableRowSelectedEventPayload": {
|
|
4609
|
+
"location": "import",
|
|
4610
|
+
"path": "./kup-data-table-declarations"
|
|
4611
|
+
}
|
|
4600
4612
|
}
|
|
4601
4613
|
}
|
|
4602
|
-
}
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4614
|
+
}, {
|
|
4615
|
+
"method": "kupDataTableClick",
|
|
4616
|
+
"name": "kup-datatable-click",
|
|
4617
|
+
"bubbles": true,
|
|
4618
|
+
"cancelable": false,
|
|
4619
|
+
"composed": true,
|
|
4620
|
+
"docs": {
|
|
4621
|
+
"tags": [],
|
|
4622
|
+
"text": "Generic click event on data table."
|
|
4623
|
+
},
|
|
4624
|
+
"complexType": {
|
|
4625
|
+
"original": "KupDatatableClickEventPayload",
|
|
4626
|
+
"resolved": "KupDatatableClickEventPayload",
|
|
4627
|
+
"references": {
|
|
4628
|
+
"KupDatatableClickEventPayload": {
|
|
4629
|
+
"location": "import",
|
|
4630
|
+
"path": "./kup-data-table-declarations"
|
|
4631
|
+
}
|
|
4620
4632
|
}
|
|
4621
4633
|
}
|
|
4622
|
-
}
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4634
|
+
}, {
|
|
4635
|
+
"method": "kupDataTableContextMenu",
|
|
4636
|
+
"name": "kup-datatable-contextmenu",
|
|
4637
|
+
"bubbles": true,
|
|
4638
|
+
"cancelable": false,
|
|
4639
|
+
"composed": true,
|
|
4640
|
+
"docs": {
|
|
4641
|
+
"tags": [],
|
|
4642
|
+
"text": "Generic right click event on data table."
|
|
4643
|
+
},
|
|
4644
|
+
"complexType": {
|
|
4645
|
+
"original": "KupDatatableClickEventPayload",
|
|
4646
|
+
"resolved": "KupDatatableClickEventPayload",
|
|
4647
|
+
"references": {
|
|
4648
|
+
"KupDatatableClickEventPayload": {
|
|
4649
|
+
"location": "import",
|
|
4650
|
+
"path": "./kup-data-table-declarations"
|
|
4651
|
+
}
|
|
4640
4652
|
}
|
|
4641
4653
|
}
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4654
|
+
}, {
|
|
4655
|
+
"method": "kupDataTableDblClick",
|
|
4656
|
+
"name": "kup-datatable-dblclick",
|
|
4657
|
+
"bubbles": true,
|
|
4658
|
+
"cancelable": false,
|
|
4659
|
+
"composed": true,
|
|
4660
|
+
"docs": {
|
|
4661
|
+
"tags": [],
|
|
4662
|
+
"text": "Generic double click event on data table."
|
|
4663
|
+
},
|
|
4664
|
+
"complexType": {
|
|
4665
|
+
"original": "KupDatatableClickEventPayload",
|
|
4666
|
+
"resolved": "KupDatatableClickEventPayload",
|
|
4667
|
+
"references": {
|
|
4668
|
+
"KupDatatableClickEventPayload": {
|
|
4669
|
+
"location": "import",
|
|
4670
|
+
"path": "./kup-data-table-declarations"
|
|
4671
|
+
}
|
|
4660
4672
|
}
|
|
4661
4673
|
}
|
|
4662
|
-
}
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4674
|
+
}, {
|
|
4675
|
+
"method": "kupDataTableColumnMenu",
|
|
4676
|
+
"name": "kup-datatable-columnmenu",
|
|
4677
|
+
"bubbles": true,
|
|
4678
|
+
"cancelable": false,
|
|
4679
|
+
"composed": true,
|
|
4680
|
+
"docs": {
|
|
4681
|
+
"tags": [],
|
|
4682
|
+
"text": "Emitted by the column menu card when opened/closed or when a kup-card-event is fired."
|
|
4683
|
+
},
|
|
4684
|
+
"complexType": {
|
|
4685
|
+
"original": "KupDatatableColumnMenuEventPayload",
|
|
4686
|
+
"resolved": "KupDatatableColumnMenuEventPayload",
|
|
4687
|
+
"references": {
|
|
4688
|
+
"KupDatatableColumnMenuEventPayload": {
|
|
4689
|
+
"location": "import",
|
|
4690
|
+
"path": "./kup-data-table-declarations"
|
|
4691
|
+
}
|
|
4680
4692
|
}
|
|
4681
4693
|
}
|
|
4682
|
-
}
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4694
|
+
}, {
|
|
4695
|
+
"method": "kupRowActionClick",
|
|
4696
|
+
"name": "kup-datatable-rowactionclick",
|
|
4697
|
+
"bubbles": true,
|
|
4698
|
+
"cancelable": false,
|
|
4699
|
+
"composed": true,
|
|
4700
|
+
"docs": {
|
|
4701
|
+
"tags": [],
|
|
4702
|
+
"text": "When a row action is clicked"
|
|
4703
|
+
},
|
|
4704
|
+
"complexType": {
|
|
4705
|
+
"original": "KupDatatableRowActionClickEventPayload",
|
|
4706
|
+
"resolved": "KupDatatableRowActionClickEventPayload",
|
|
4707
|
+
"references": {
|
|
4708
|
+
"KupDatatableRowActionClickEventPayload": {
|
|
4709
|
+
"location": "import",
|
|
4710
|
+
"path": "./kup-data-table-declarations"
|
|
4711
|
+
}
|
|
4700
4712
|
}
|
|
4701
4713
|
}
|
|
4702
|
-
}
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4714
|
+
}, {
|
|
4715
|
+
"method": "kupLoadMoreClick",
|
|
4716
|
+
"name": "kup-datatable-loadmoreclick",
|
|
4717
|
+
"bubbles": true,
|
|
4718
|
+
"cancelable": false,
|
|
4719
|
+
"composed": true,
|
|
4720
|
+
"docs": {
|
|
4721
|
+
"tags": [],
|
|
4722
|
+
"text": ""
|
|
4723
|
+
},
|
|
4724
|
+
"complexType": {
|
|
4725
|
+
"original": "KupDatatableLoadMoreClickEventPayload",
|
|
4726
|
+
"resolved": "KupDatatableLoadMoreClickEventPayload",
|
|
4727
|
+
"references": {
|
|
4728
|
+
"KupDatatableLoadMoreClickEventPayload": {
|
|
4729
|
+
"location": "import",
|
|
4730
|
+
"path": "./kup-data-table-declarations"
|
|
4731
|
+
}
|
|
4720
4732
|
}
|
|
4721
4733
|
}
|
|
4722
|
-
}
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4734
|
+
}, {
|
|
4735
|
+
"method": "kupColumnMove",
|
|
4736
|
+
"name": "kup-datatable-columnmove",
|
|
4737
|
+
"bubbles": true,
|
|
4738
|
+
"cancelable": false,
|
|
4739
|
+
"composed": true,
|
|
4740
|
+
"docs": {
|
|
4741
|
+
"tags": [],
|
|
4742
|
+
"text": "Event fired when columns are moved (sorted)."
|
|
4743
|
+
},
|
|
4744
|
+
"complexType": {
|
|
4745
|
+
"original": "KupDatatableColumnMoveEventPayload",
|
|
4746
|
+
"resolved": "KupDatatableColumnMoveEventPayload",
|
|
4747
|
+
"references": {
|
|
4748
|
+
"KupDatatableColumnMoveEventPayload": {
|
|
4749
|
+
"location": "import",
|
|
4750
|
+
"path": "./kup-data-table-declarations"
|
|
4751
|
+
}
|
|
4740
4752
|
}
|
|
4741
4753
|
}
|
|
4742
|
-
}
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4754
|
+
}, {
|
|
4755
|
+
"method": "kupColumnRemove",
|
|
4756
|
+
"name": "kup-datatable-columnremove",
|
|
4757
|
+
"bubbles": true,
|
|
4758
|
+
"cancelable": false,
|
|
4759
|
+
"composed": true,
|
|
4760
|
+
"docs": {
|
|
4761
|
+
"tags": [],
|
|
4762
|
+
"text": "Event fired when columns are removed (set to hidden)."
|
|
4763
|
+
},
|
|
4764
|
+
"complexType": {
|
|
4765
|
+
"original": "KupDatatableColumnRemoveEventPayload",
|
|
4766
|
+
"resolved": "KupDatatableColumnRemoveEventPayload",
|
|
4767
|
+
"references": {
|
|
4768
|
+
"KupDatatableColumnRemoveEventPayload": {
|
|
4769
|
+
"location": "import",
|
|
4770
|
+
"path": "./kup-data-table-declarations"
|
|
4771
|
+
}
|
|
4760
4772
|
}
|
|
4761
4773
|
}
|
|
4762
|
-
}
|
|
4763
|
-
|
|
4764
|
-
static get methods() {
|
|
4765
|
-
|
|
4766
|
-
"
|
|
4767
|
-
"
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
"
|
|
4771
|
-
"
|
|
4772
|
-
|
|
4774
|
+
}];
|
|
4775
|
+
}
|
|
4776
|
+
static get methods() {
|
|
4777
|
+
return {
|
|
4778
|
+
"closeColumnMenu": {
|
|
4779
|
+
"complexType": {
|
|
4780
|
+
"signature": "() => Promise<void>",
|
|
4781
|
+
"parameters": [],
|
|
4782
|
+
"references": {
|
|
4783
|
+
"Promise": {
|
|
4784
|
+
"location": "global"
|
|
4785
|
+
}
|
|
4786
|
+
},
|
|
4787
|
+
"return": "Promise<void>"
|
|
4773
4788
|
},
|
|
4774
|
-
"
|
|
4789
|
+
"docs": {
|
|
4790
|
+
"text": "Closes any opened column menu.",
|
|
4791
|
+
"tags": []
|
|
4792
|
+
}
|
|
4775
4793
|
},
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
"Promise": {
|
|
4787
|
-
"location": "global"
|
|
4788
|
-
}
|
|
4794
|
+
"collapseAll": {
|
|
4795
|
+
"complexType": {
|
|
4796
|
+
"signature": "() => Promise<void>",
|
|
4797
|
+
"parameters": [],
|
|
4798
|
+
"references": {
|
|
4799
|
+
"Promise": {
|
|
4800
|
+
"location": "global"
|
|
4801
|
+
}
|
|
4802
|
+
},
|
|
4803
|
+
"return": "Promise<void>"
|
|
4789
4804
|
},
|
|
4790
|
-
"
|
|
4805
|
+
"docs": {
|
|
4806
|
+
"text": "Collapses all groups.",
|
|
4807
|
+
"tags": []
|
|
4808
|
+
}
|
|
4791
4809
|
},
|
|
4792
|
-
"
|
|
4793
|
-
"
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
"
|
|
4803
|
-
"
|
|
4804
|
-
|
|
4810
|
+
"deleteRows": {
|
|
4811
|
+
"complexType": {
|
|
4812
|
+
"signature": "(ids?: string[]) => Promise<Array<KupDataTableRow>>",
|
|
4813
|
+
"parameters": [{
|
|
4814
|
+
"tags": [{
|
|
4815
|
+
"name": "param",
|
|
4816
|
+
"text": "ids - Array of row ids to delete."
|
|
4817
|
+
}],
|
|
4818
|
+
"text": "- Array of row ids to delete."
|
|
4819
|
+
}],
|
|
4820
|
+
"references": {
|
|
4821
|
+
"Promise": {
|
|
4822
|
+
"location": "global"
|
|
4823
|
+
},
|
|
4824
|
+
"KupDataTableRow": {
|
|
4825
|
+
"location": "import",
|
|
4826
|
+
"path": "./kup-data-table-declarations"
|
|
4827
|
+
},
|
|
4828
|
+
"Array": {
|
|
4829
|
+
"location": "global"
|
|
4830
|
+
}
|
|
4831
|
+
},
|
|
4832
|
+
"return": "Promise<KupDataTableRow[]>"
|
|
4805
4833
|
},
|
|
4806
|
-
"
|
|
4834
|
+
"docs": {
|
|
4835
|
+
"text": "This method will delete rows by id from the data table dataset.",
|
|
4836
|
+
"tags": [{
|
|
4837
|
+
"name": "param",
|
|
4838
|
+
"text": "ids - Array of row ids to delete."
|
|
4839
|
+
}, {
|
|
4840
|
+
"name": "returns",
|
|
4841
|
+
"text": "Deleted rows."
|
|
4842
|
+
}]
|
|
4843
|
+
}
|
|
4807
4844
|
},
|
|
4808
|
-
"
|
|
4809
|
-
"
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
"parameters": [{
|
|
4817
|
-
"tags": [{
|
|
4818
|
-
"name": "param",
|
|
4819
|
-
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
4820
|
-
}],
|
|
4821
|
-
"text": "- When provided and true, the result will be the list of props with their description."
|
|
4822
|
-
}],
|
|
4823
|
-
"references": {
|
|
4824
|
-
"Promise": {
|
|
4825
|
-
"location": "global"
|
|
4845
|
+
"expandAll": {
|
|
4846
|
+
"complexType": {
|
|
4847
|
+
"signature": "() => Promise<void>",
|
|
4848
|
+
"parameters": [],
|
|
4849
|
+
"references": {
|
|
4850
|
+
"Promise": {
|
|
4851
|
+
"location": "global"
|
|
4852
|
+
}
|
|
4826
4853
|
},
|
|
4827
|
-
"
|
|
4828
|
-
"location": "import",
|
|
4829
|
-
"path": "../../types/GenericTypes"
|
|
4830
|
-
}
|
|
4854
|
+
"return": "Promise<void>"
|
|
4831
4855
|
},
|
|
4832
|
-
"
|
|
4856
|
+
"docs": {
|
|
4857
|
+
"text": "Expands all groups.",
|
|
4858
|
+
"tags": []
|
|
4859
|
+
}
|
|
4833
4860
|
},
|
|
4834
|
-
"
|
|
4835
|
-
"
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
},
|
|
4853
|
-
"KupDataTableRow": {
|
|
4854
|
-
"location": "import",
|
|
4855
|
-
"path": "./kup-data-table-declarations"
|
|
4861
|
+
"getProps": {
|
|
4862
|
+
"complexType": {
|
|
4863
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
4864
|
+
"parameters": [{
|
|
4865
|
+
"tags": [{
|
|
4866
|
+
"name": "param",
|
|
4867
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
4868
|
+
}],
|
|
4869
|
+
"text": "- When provided and true, the result will be the list of props with their description."
|
|
4870
|
+
}],
|
|
4871
|
+
"references": {
|
|
4872
|
+
"Promise": {
|
|
4873
|
+
"location": "global"
|
|
4874
|
+
},
|
|
4875
|
+
"GenericObject": {
|
|
4876
|
+
"location": "import",
|
|
4877
|
+
"path": "../../types/GenericTypes"
|
|
4878
|
+
}
|
|
4856
4879
|
},
|
|
4857
|
-
"
|
|
4858
|
-
"location": "global"
|
|
4859
|
-
}
|
|
4880
|
+
"return": "Promise<GenericObject>"
|
|
4860
4881
|
},
|
|
4861
|
-
"
|
|
4882
|
+
"docs": {
|
|
4883
|
+
"text": "Used to retrieve component's props values.",
|
|
4884
|
+
"tags": [{
|
|
4885
|
+
"name": "param",
|
|
4886
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
4887
|
+
}, {
|
|
4888
|
+
"name": "returns",
|
|
4889
|
+
"text": "List of props as object, each key will be a prop."
|
|
4890
|
+
}]
|
|
4891
|
+
}
|
|
4862
4892
|
},
|
|
4863
|
-
"
|
|
4864
|
-
"
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
"references": {
|
|
4879
|
-
"Promise": {
|
|
4880
|
-
"location": "global"
|
|
4893
|
+
"getSelectedRows": {
|
|
4894
|
+
"complexType": {
|
|
4895
|
+
"signature": "() => Promise<Array<KupDataTableRow>>",
|
|
4896
|
+
"parameters": [],
|
|
4897
|
+
"references": {
|
|
4898
|
+
"Promise": {
|
|
4899
|
+
"location": "global"
|
|
4900
|
+
},
|
|
4901
|
+
"KupDataTableRow": {
|
|
4902
|
+
"location": "import",
|
|
4903
|
+
"path": "./kup-data-table-declarations"
|
|
4904
|
+
},
|
|
4905
|
+
"Array": {
|
|
4906
|
+
"location": "global"
|
|
4907
|
+
}
|
|
4881
4908
|
},
|
|
4882
|
-
"
|
|
4883
|
-
"location": "import",
|
|
4884
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4885
|
-
}
|
|
4909
|
+
"return": "Promise<KupDataTableRow[]>"
|
|
4886
4910
|
},
|
|
4887
|
-
"
|
|
4911
|
+
"docs": {
|
|
4912
|
+
"text": "This method will get the selected rows of the component.",
|
|
4913
|
+
"tags": []
|
|
4914
|
+
}
|
|
4888
4915
|
},
|
|
4889
|
-
"
|
|
4890
|
-
"
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
"tags": [{
|
|
4908
|
-
"name": "param",
|
|
4909
|
-
"text": "options - Options of the creation."
|
|
4910
|
-
}],
|
|
4911
|
-
"text": "- Options of the creation."
|
|
4912
|
-
}],
|
|
4913
|
-
"references": {
|
|
4914
|
-
"Promise": {
|
|
4915
|
-
"location": "global"
|
|
4916
|
-
},
|
|
4917
|
-
"KupDataColumn": {
|
|
4918
|
-
"location": "import",
|
|
4919
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4920
|
-
},
|
|
4921
|
-
"KupDataNewColumnTypes": {
|
|
4922
|
-
"location": "import",
|
|
4923
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4916
|
+
"hideColumn": {
|
|
4917
|
+
"complexType": {
|
|
4918
|
+
"signature": "(column: KupDataColumn) => Promise<void>",
|
|
4919
|
+
"parameters": [{
|
|
4920
|
+
"tags": [{
|
|
4921
|
+
"name": "param",
|
|
4922
|
+
"text": "column - Column to hide."
|
|
4923
|
+
}],
|
|
4924
|
+
"text": "- Column to hide."
|
|
4925
|
+
}],
|
|
4926
|
+
"references": {
|
|
4927
|
+
"Promise": {
|
|
4928
|
+
"location": "global"
|
|
4929
|
+
},
|
|
4930
|
+
"KupDataColumn": {
|
|
4931
|
+
"location": "import",
|
|
4932
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4933
|
+
}
|
|
4924
4934
|
},
|
|
4925
|
-
"
|
|
4926
|
-
"location": "import",
|
|
4927
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4928
|
-
}
|
|
4935
|
+
"return": "Promise<void>"
|
|
4929
4936
|
},
|
|
4930
|
-
"
|
|
4937
|
+
"docs": {
|
|
4938
|
+
"text": "Hides the given column.",
|
|
4939
|
+
"tags": [{
|
|
4940
|
+
"name": "param",
|
|
4941
|
+
"text": "column - Column to hide."
|
|
4942
|
+
}]
|
|
4943
|
+
}
|
|
4931
4944
|
},
|
|
4932
|
-
"
|
|
4933
|
-
"
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
"location": "import",
|
|
4965
|
-
"path": "../../types/GenericTypes"
|
|
4945
|
+
"newColumn": {
|
|
4946
|
+
"complexType": {
|
|
4947
|
+
"signature": "(type: KupDataNewColumnTypes, options: KupDataNewColumnOptions) => Promise<string | KupDataColumn>",
|
|
4948
|
+
"parameters": [{
|
|
4949
|
+
"tags": [{
|
|
4950
|
+
"name": "param",
|
|
4951
|
+
"text": "type - Type of the column creation."
|
|
4952
|
+
}],
|
|
4953
|
+
"text": "- Type of the column creation."
|
|
4954
|
+
}, {
|
|
4955
|
+
"tags": [{
|
|
4956
|
+
"name": "param",
|
|
4957
|
+
"text": "options - Options of the creation."
|
|
4958
|
+
}],
|
|
4959
|
+
"text": "- Options of the creation."
|
|
4960
|
+
}],
|
|
4961
|
+
"references": {
|
|
4962
|
+
"Promise": {
|
|
4963
|
+
"location": "global"
|
|
4964
|
+
},
|
|
4965
|
+
"KupDataColumn": {
|
|
4966
|
+
"location": "import",
|
|
4967
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4968
|
+
},
|
|
4969
|
+
"KupDataNewColumnTypes": {
|
|
4970
|
+
"location": "import",
|
|
4971
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4972
|
+
},
|
|
4973
|
+
"KupDataNewColumnOptions": {
|
|
4974
|
+
"location": "import",
|
|
4975
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
4976
|
+
}
|
|
4966
4977
|
},
|
|
4967
|
-
"
|
|
4968
|
-
"location": "import",
|
|
4969
|
-
"path": "../kup-card/kup-card-declarations"
|
|
4970
|
-
}
|
|
4978
|
+
"return": "Promise<string | KupDataColumn>"
|
|
4971
4979
|
},
|
|
4972
|
-
"
|
|
4980
|
+
"docs": {
|
|
4981
|
+
"text": "Invokes the KupData API for column creation, then refreshes the component in case no errors were catched.",
|
|
4982
|
+
"tags": [{
|
|
4983
|
+
"name": "param",
|
|
4984
|
+
"text": "type - Type of the column creation."
|
|
4985
|
+
}, {
|
|
4986
|
+
"name": "param",
|
|
4987
|
+
"text": "options - Options of the creation."
|
|
4988
|
+
}, {
|
|
4989
|
+
"name": "returns",
|
|
4990
|
+
"text": "Returns the new column created or a string containing the error message if something went wrong."
|
|
4991
|
+
}]
|
|
4992
|
+
}
|
|
4973
4993
|
},
|
|
4974
|
-
"
|
|
4975
|
-
"
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
"
|
|
4989
|
-
|
|
4994
|
+
"openColumnMenu": {
|
|
4995
|
+
"complexType": {
|
|
4996
|
+
"signature": "(column: string) => Promise<void>",
|
|
4997
|
+
"parameters": [{
|
|
4998
|
+
"tags": [{
|
|
4999
|
+
"name": "param",
|
|
5000
|
+
"text": "column - Name of the column."
|
|
5001
|
+
}],
|
|
5002
|
+
"text": "- Name of the column."
|
|
5003
|
+
}],
|
|
5004
|
+
"references": {
|
|
5005
|
+
"Promise": {
|
|
5006
|
+
"location": "global"
|
|
5007
|
+
},
|
|
5008
|
+
"CustomEvent": {
|
|
5009
|
+
"location": "global"
|
|
5010
|
+
},
|
|
5011
|
+
"KupEventPayload": {
|
|
5012
|
+
"location": "import",
|
|
5013
|
+
"path": "../../types/GenericTypes"
|
|
5014
|
+
},
|
|
5015
|
+
"KupCardEventPayload": {
|
|
5016
|
+
"location": "import",
|
|
5017
|
+
"path": "../kup-card/kup-card-declarations"
|
|
5018
|
+
}
|
|
5019
|
+
},
|
|
5020
|
+
"return": "Promise<void>"
|
|
4990
5021
|
},
|
|
4991
|
-
"
|
|
5022
|
+
"docs": {
|
|
5023
|
+
"text": "Opens the column menu of the given column.",
|
|
5024
|
+
"tags": [{
|
|
5025
|
+
"name": "param",
|
|
5026
|
+
"text": "column - Name of the column."
|
|
5027
|
+
}]
|
|
5028
|
+
}
|
|
4992
5029
|
},
|
|
4993
|
-
"
|
|
4994
|
-
"
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
"Promise": {
|
|
5004
|
-
"location": "global"
|
|
5005
|
-
}
|
|
5030
|
+
"refresh": {
|
|
5031
|
+
"complexType": {
|
|
5032
|
+
"signature": "() => Promise<void>",
|
|
5033
|
+
"parameters": [],
|
|
5034
|
+
"references": {
|
|
5035
|
+
"Promise": {
|
|
5036
|
+
"location": "global"
|
|
5037
|
+
}
|
|
5038
|
+
},
|
|
5039
|
+
"return": "Promise<void>"
|
|
5006
5040
|
},
|
|
5007
|
-
"
|
|
5041
|
+
"docs": {
|
|
5042
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
5043
|
+
"tags": []
|
|
5044
|
+
}
|
|
5008
5045
|
},
|
|
5009
|
-
"
|
|
5010
|
-
"
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
"name": "param",
|
|
5020
|
-
"text": "column - Name of the column."
|
|
5021
|
-
}],
|
|
5022
|
-
"text": "- Name of the column."
|
|
5023
|
-
}, {
|
|
5024
|
-
"tags": [{
|
|
5025
|
-
"name": "param",
|
|
5026
|
-
"text": "rowId - Id of the row."
|
|
5027
|
-
}],
|
|
5028
|
-
"text": "- Id of the row."
|
|
5029
|
-
}],
|
|
5030
|
-
"references": {
|
|
5031
|
-
"Promise": {
|
|
5032
|
-
"location": "global"
|
|
5033
|
-
}
|
|
5046
|
+
"resizeCallback": {
|
|
5047
|
+
"complexType": {
|
|
5048
|
+
"signature": "() => Promise<void>",
|
|
5049
|
+
"parameters": [],
|
|
5050
|
+
"references": {
|
|
5051
|
+
"Promise": {
|
|
5052
|
+
"location": "global"
|
|
5053
|
+
}
|
|
5054
|
+
},
|
|
5055
|
+
"return": "Promise<void>"
|
|
5034
5056
|
},
|
|
5035
|
-
"
|
|
5057
|
+
"docs": {
|
|
5058
|
+
"text": "This method is invoked by KupManager whenever the component changes size.",
|
|
5059
|
+
"tags": []
|
|
5060
|
+
}
|
|
5036
5061
|
},
|
|
5037
|
-
"
|
|
5038
|
-
"
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
"
|
|
5060
|
-
"
|
|
5062
|
+
"setCellValue": {
|
|
5063
|
+
"complexType": {
|
|
5064
|
+
"signature": "(columnName: string, rowId: string, value: string) => Promise<void>",
|
|
5065
|
+
"parameters": [{
|
|
5066
|
+
"tags": [{
|
|
5067
|
+
"name": "param",
|
|
5068
|
+
"text": "columnName - Name of the column."
|
|
5069
|
+
}],
|
|
5070
|
+
"text": "- Name of the column."
|
|
5071
|
+
}, {
|
|
5072
|
+
"tags": [{
|
|
5073
|
+
"name": "param",
|
|
5074
|
+
"text": "rowId - Id of the row."
|
|
5075
|
+
}],
|
|
5076
|
+
"text": "- Id of the row."
|
|
5077
|
+
}, {
|
|
5078
|
+
"tags": [{
|
|
5079
|
+
"name": "param",
|
|
5080
|
+
"text": "value - Value to set."
|
|
5081
|
+
}],
|
|
5082
|
+
"text": "- Value to set."
|
|
5083
|
+
}],
|
|
5084
|
+
"references": {
|
|
5085
|
+
"Promise": {
|
|
5086
|
+
"location": "global"
|
|
5087
|
+
}
|
|
5061
5088
|
},
|
|
5062
|
-
"
|
|
5063
|
-
"location": "import",
|
|
5064
|
-
"path": "../../types/GenericTypes"
|
|
5065
|
-
}
|
|
5089
|
+
"return": "Promise<void>"
|
|
5066
5090
|
},
|
|
5067
|
-
"
|
|
5091
|
+
"docs": {
|
|
5092
|
+
"text": "Sets the cell value in a table cell.",
|
|
5093
|
+
"tags": [{
|
|
5094
|
+
"name": "param",
|
|
5095
|
+
"text": "columnName - Name of the column."
|
|
5096
|
+
}, {
|
|
5097
|
+
"name": "param",
|
|
5098
|
+
"text": "rowId - Id of the row."
|
|
5099
|
+
}, {
|
|
5100
|
+
"name": "param",
|
|
5101
|
+
"text": "value - Value to set."
|
|
5102
|
+
}]
|
|
5103
|
+
}
|
|
5068
5104
|
},
|
|
5069
|
-
"
|
|
5070
|
-
"
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
"text": "- The event will always be emitted unless emitEvent is set to false."
|
|
5092
|
-
}],
|
|
5093
|
-
"references": {
|
|
5094
|
-
"Promise": {
|
|
5095
|
-
"location": "global"
|
|
5096
|
-
}
|
|
5105
|
+
"setFocus": {
|
|
5106
|
+
"complexType": {
|
|
5107
|
+
"signature": "(column: string, rowId: string) => Promise<void>",
|
|
5108
|
+
"parameters": [{
|
|
5109
|
+
"tags": [{
|
|
5110
|
+
"name": "param",
|
|
5111
|
+
"text": "column - Name of the column."
|
|
5112
|
+
}],
|
|
5113
|
+
"text": "- Name of the column."
|
|
5114
|
+
}, {
|
|
5115
|
+
"tags": [{
|
|
5116
|
+
"name": "param",
|
|
5117
|
+
"text": "rowId - Id of the row."
|
|
5118
|
+
}],
|
|
5119
|
+
"text": "- Id of the row."
|
|
5120
|
+
}],
|
|
5121
|
+
"references": {
|
|
5122
|
+
"Promise": {
|
|
5123
|
+
"location": "global"
|
|
5124
|
+
}
|
|
5125
|
+
},
|
|
5126
|
+
"return": "Promise<void>"
|
|
5097
5127
|
},
|
|
5098
|
-
"
|
|
5128
|
+
"docs": {
|
|
5129
|
+
"text": "Sets the focus on an editable table cell.",
|
|
5130
|
+
"tags": [{
|
|
5131
|
+
"name": "param",
|
|
5132
|
+
"text": "column - Name of the column."
|
|
5133
|
+
}, {
|
|
5134
|
+
"name": "param",
|
|
5135
|
+
"text": "rowId - Id of the row."
|
|
5136
|
+
}]
|
|
5137
|
+
}
|
|
5099
5138
|
},
|
|
5100
|
-
"
|
|
5101
|
-
"
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
},
|
|
5119
|
-
"GroupObject": {
|
|
5120
|
-
"location": "import",
|
|
5121
|
-
"path": "./kup-data-table-declarations"
|
|
5139
|
+
"setProps": {
|
|
5140
|
+
"complexType": {
|
|
5141
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
5142
|
+
"parameters": [{
|
|
5143
|
+
"tags": [{
|
|
5144
|
+
"name": "param",
|
|
5145
|
+
"text": "props - Object containing props that will be set to the component."
|
|
5146
|
+
}],
|
|
5147
|
+
"text": "- Object containing props that will be set to the component."
|
|
5148
|
+
}],
|
|
5149
|
+
"references": {
|
|
5150
|
+
"Promise": {
|
|
5151
|
+
"location": "global"
|
|
5152
|
+
},
|
|
5153
|
+
"GenericObject": {
|
|
5154
|
+
"location": "import",
|
|
5155
|
+
"path": "../../types/GenericTypes"
|
|
5156
|
+
}
|
|
5122
5157
|
},
|
|
5123
|
-
"
|
|
5124
|
-
|
|
5125
|
-
|
|
5158
|
+
"return": "Promise<void>"
|
|
5159
|
+
},
|
|
5160
|
+
"docs": {
|
|
5161
|
+
"text": "Sets the props to the component.",
|
|
5162
|
+
"tags": [{
|
|
5163
|
+
"name": "param",
|
|
5164
|
+
"text": "props - Object containing props that will be set to the component."
|
|
5165
|
+
}]
|
|
5166
|
+
}
|
|
5167
|
+
},
|
|
5168
|
+
"setSelectedRows": {
|
|
5169
|
+
"complexType": {
|
|
5170
|
+
"signature": "(rowsIdentifiers: string[] | number[], emitEvent?: boolean) => Promise<void>",
|
|
5171
|
+
"parameters": [{
|
|
5172
|
+
"tags": [{
|
|
5173
|
+
"name": "param",
|
|
5174
|
+
"text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
|
|
5175
|
+
}],
|
|
5176
|
+
"text": "- Array of ids (dataset) or indexes (rendered rows)."
|
|
5177
|
+
}, {
|
|
5178
|
+
"tags": [{
|
|
5179
|
+
"name": "param",
|
|
5180
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
5181
|
+
}],
|
|
5182
|
+
"text": "- The event will always be emitted unless emitEvent is set to false."
|
|
5183
|
+
}],
|
|
5184
|
+
"references": {
|
|
5185
|
+
"Promise": {
|
|
5186
|
+
"location": "global"
|
|
5187
|
+
}
|
|
5126
5188
|
},
|
|
5127
|
-
"
|
|
5128
|
-
"location": "import",
|
|
5129
|
-
"path": "./kup-data-table-declarations"
|
|
5130
|
-
}
|
|
5189
|
+
"return": "Promise<void>"
|
|
5131
5190
|
},
|
|
5132
|
-
"
|
|
5191
|
+
"docs": {
|
|
5192
|
+
"text": "This method will set the selected rows of the component.",
|
|
5193
|
+
"tags": [{
|
|
5194
|
+
"name": "param",
|
|
5195
|
+
"text": "rowsIdentifiers - Array of ids (dataset) or indexes (rendered rows)."
|
|
5196
|
+
}, {
|
|
5197
|
+
"name": "param",
|
|
5198
|
+
"text": "emitEvent - The event will always be emitted unless emitEvent is set to false."
|
|
5199
|
+
}]
|
|
5200
|
+
}
|
|
5133
5201
|
},
|
|
5134
|
-
"
|
|
5135
|
-
"
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
"
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
"
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
}],
|
|
5155
|
-
"references": {
|
|
5156
|
-
"Promise": {
|
|
5157
|
-
"location": "global"
|
|
5202
|
+
"getInternalState": {
|
|
5203
|
+
"complexType": {
|
|
5204
|
+
"signature": "() => Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>",
|
|
5205
|
+
"parameters": [],
|
|
5206
|
+
"references": {
|
|
5207
|
+
"Promise": {
|
|
5208
|
+
"location": "global"
|
|
5209
|
+
},
|
|
5210
|
+
"GroupObject": {
|
|
5211
|
+
"location": "import",
|
|
5212
|
+
"path": "./kup-data-table-declarations"
|
|
5213
|
+
},
|
|
5214
|
+
"GenericFilter": {
|
|
5215
|
+
"location": "import",
|
|
5216
|
+
"path": "../../utils/filters/filters-declarations"
|
|
5217
|
+
},
|
|
5218
|
+
"KupDataTableDataset": {
|
|
5219
|
+
"location": "import",
|
|
5220
|
+
"path": "./kup-data-table-declarations"
|
|
5221
|
+
}
|
|
5158
5222
|
},
|
|
5159
|
-
"
|
|
5160
|
-
"location": "import",
|
|
5161
|
-
"path": "../../managers/kup-data/kup-data-declarations"
|
|
5162
|
-
}
|
|
5223
|
+
"return": "Promise<{ groups: GroupObject[]; filters: GenericFilter; data: KupDataTableDataset; }>"
|
|
5163
5224
|
},
|
|
5164
|
-
"
|
|
5225
|
+
"docs": {
|
|
5226
|
+
"text": "",
|
|
5227
|
+
"tags": []
|
|
5228
|
+
}
|
|
5165
5229
|
},
|
|
5166
|
-
"
|
|
5167
|
-
"
|
|
5168
|
-
|
|
5230
|
+
"defaultSortingFunction": {
|
|
5231
|
+
"complexType": {
|
|
5232
|
+
"signature": "(columns: KupDataColumn[], receivingColumnIndex: number, sortedColumnIndex: number, useNewObject?: boolean) => Promise<KupDataColumn[]>",
|
|
5233
|
+
"parameters": [{
|
|
5234
|
+
"tags": [],
|
|
5235
|
+
"text": ""
|
|
5236
|
+
}, {
|
|
5237
|
+
"tags": [],
|
|
5238
|
+
"text": ""
|
|
5239
|
+
}, {
|
|
5240
|
+
"tags": [],
|
|
5241
|
+
"text": ""
|
|
5242
|
+
}, {
|
|
5243
|
+
"tags": [],
|
|
5244
|
+
"text": ""
|
|
5245
|
+
}],
|
|
5246
|
+
"references": {
|
|
5247
|
+
"Promise": {
|
|
5248
|
+
"location": "global"
|
|
5249
|
+
},
|
|
5250
|
+
"KupDataColumn": {
|
|
5251
|
+
"location": "import",
|
|
5252
|
+
"path": "../../managers/kup-data/kup-data-declarations"
|
|
5253
|
+
}
|
|
5254
|
+
},
|
|
5255
|
+
"return": "Promise<KupDataColumn[]>"
|
|
5256
|
+
},
|
|
5257
|
+
"docs": {
|
|
5258
|
+
"text": "",
|
|
5259
|
+
"tags": []
|
|
5260
|
+
}
|
|
5169
5261
|
}
|
|
5170
|
-
}
|
|
5171
|
-
}
|
|
5262
|
+
};
|
|
5263
|
+
}
|
|
5172
5264
|
static get elementRef() { return "rootElement"; }
|
|
5173
|
-
static get watchers() {
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5265
|
+
static get watchers() {
|
|
5266
|
+
return [{
|
|
5267
|
+
"propName": "rowsPerPage",
|
|
5268
|
+
"methodName": "rowsPerPageHandler"
|
|
5269
|
+
}, {
|
|
5270
|
+
"propName": "expandGroups",
|
|
5271
|
+
"methodName": "expandGroupsHandler"
|
|
5272
|
+
}, {
|
|
5273
|
+
"propName": "filters",
|
|
5274
|
+
"methodName": "filtersChanged"
|
|
5275
|
+
}, {
|
|
5276
|
+
"propName": "globalFilterValue",
|
|
5277
|
+
"methodName": "filtersChanged"
|
|
5278
|
+
}, {
|
|
5279
|
+
"propName": "sort",
|
|
5280
|
+
"methodName": "recalculateRows"
|
|
5281
|
+
}, {
|
|
5282
|
+
"propName": "rowsPerPage",
|
|
5283
|
+
"methodName": "recalculateRows"
|
|
5284
|
+
}, {
|
|
5285
|
+
"propName": "totals",
|
|
5286
|
+
"methodName": "recalculateRows"
|
|
5287
|
+
}, {
|
|
5288
|
+
"propName": "currentPage",
|
|
5289
|
+
"methodName": "recalculateRows"
|
|
5290
|
+
}, {
|
|
5291
|
+
"propName": "currentRowsPerPage",
|
|
5292
|
+
"methodName": "recalculateRows"
|
|
5293
|
+
}, {
|
|
5294
|
+
"propName": "data",
|
|
5295
|
+
"methodName": "identifyAndInitRows"
|
|
5296
|
+
}, {
|
|
5297
|
+
"propName": "groups",
|
|
5298
|
+
"methodName": "recalculateRowsAndUndoSelections"
|
|
5299
|
+
}, {
|
|
5300
|
+
"propName": "fixedColumns",
|
|
5301
|
+
"methodName": "controlFixedRowsColumns"
|
|
5302
|
+
}, {
|
|
5303
|
+
"propName": "fixedRows",
|
|
5304
|
+
"methodName": "controlFixedRowsColumns"
|
|
5305
|
+
}, {
|
|
5306
|
+
"propName": "transpose",
|
|
5307
|
+
"methodName": "recalculateData"
|
|
5308
|
+
}];
|
|
5309
|
+
}
|
|
5216
5310
|
}
|