@sme.up/ketchup 11.0.0-SNAPSHOT-20250125094821 → 11.0.0-SNAPSHOT-20250127164451
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/dist/cjs/{f-button-2994335b.js → f-button-c3ae141e.js} +1 -1
- package/dist/cjs/{f-cell-e4e4e3b6.js → f-cell-5e62713a.js} +23 -19
- package/dist/cjs/{f-checkbox-989b9645.js → f-checkbox-59fb7aa5.js} +1 -1
- package/dist/cjs/{f-chip-de002784.js → f-chip-154ba47d.js} +1 -1
- package/dist/cjs/{f-image-819dca29.js → f-image-d22b012f.js} +13 -6
- package/dist/cjs/{f-object-field-863feeb1.js → f-object-field-606c5604.js} +2 -2
- package/dist/cjs/{f-paginator-utils-73e70b49.js → f-paginator-utils-87790d6a.js} +1 -1
- package/dist/cjs/{f-text-field-e836c7de.js → f-text-field-0a9376b5.js} +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +1 -1
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +36 -18
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +7 -7
- package/dist/cjs/kup-input-panel.cjs.entry.js +34 -10
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +49 -10
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +48 -3
- package/dist/collection/f-components/f-cell/f-cell.js +17 -13
- package/dist/collection/f-components/f-image/f-image.js +13 -6
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +1 -1
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +2 -2
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +30 -5
- package/dist/components/kup-lazy.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-object-field.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/{p-710e9889.js → p-062f98d6.js} +1 -1
- package/dist/components/{p-ac3e74af.js → p-1b3435b7.js} +60 -30
- package/dist/components/{p-39c3fdff.js → p-7013da7b.js} +1 -1
- package/dist/components/{p-fbe265bc.js → p-d7f9b631.js} +1 -1
- package/dist/components/{p-534a7df3.js → p-fec00c74.js} +1 -1
- package/dist/esm/{f-button-a20849e0.js → f-button-f1040575.js} +1 -1
- package/dist/esm/{f-cell-7398e4ca.js → f-cell-9de1ddc8.js} +24 -20
- package/dist/esm/{f-checkbox-b8f2f9c4.js → f-checkbox-3ba20ca4.js} +1 -1
- package/dist/esm/{f-chip-64a8f53f.js → f-chip-0dcf7f09.js} +1 -1
- package/dist/esm/{f-image-01041722.js → f-image-9b15e9ac.js} +13 -6
- package/dist/esm/{f-object-field-ddff4ee1.js → f-object-field-a74c0604.js} +2 -2
- package/dist/esm/{f-paginator-utils-761a4ab9.js → f-paginator-utils-ded577bd.js} +1 -1
- package/dist/esm/{f-text-field-07c8f463.js → f-text-field-fac40c84.js} +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +36 -18
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +7 -7
- package/dist/esm/kup-input-panel.entry.js +34 -10
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-d8799c9c.entry.js → p-03c80247.entry.js} +1 -1
- package/dist/ketchup/{p-93464598.entry.js → p-09e46c14.entry.js} +1 -1
- package/dist/ketchup/{p-2279eb5a.js → p-0eea76f3.js} +1 -1
- package/dist/ketchup/{p-8d2f940a.entry.js → p-35a8af62.entry.js} +1 -1
- package/dist/ketchup/{p-bc750d2d.entry.js → p-3773cdfb.entry.js} +1 -1
- package/dist/ketchup/{p-793ceaac.entry.js → p-4b7badb4.entry.js} +1 -1
- package/dist/ketchup/p-68d9bd9c.entry.js +1 -0
- package/dist/ketchup/{p-25d2baf2.entry.js → p-86001d8e.entry.js} +1 -1
- package/dist/ketchup/{p-982a5cfc.js → p-8b97f53e.js} +1 -1
- package/dist/ketchup/{p-37000160.entry.js → p-8cf019d0.entry.js} +1 -1
- package/dist/ketchup/{p-c4119e3c.js → p-9524276c.js} +1 -1
- package/dist/ketchup/{p-da33c28c.entry.js → p-9e1a9b54.entry.js} +1 -1
- package/dist/ketchup/{p-59f64636.entry.js → p-a0bb63c4.entry.js} +1 -1
- package/dist/ketchup/{p-99588927.entry.js → p-a3294024.entry.js} +1 -1
- package/dist/ketchup/{p-83e8d85b.entry.js → p-a62cd872.entry.js} +1 -1
- package/dist/ketchup/p-ac1e19f0.js +1 -0
- package/dist/ketchup/p-b120abd7.js +1 -0
- package/dist/ketchup/{p-40f5a485.entry.js → p-c52f4e35.entry.js} +1 -1
- package/dist/ketchup/p-c983f72f.entry.js +9 -0
- package/dist/ketchup/{p-aed8eec8.entry.js → p-d30dcbb9.entry.js} +1 -1
- package/dist/ketchup/{p-504fe614.js → p-d39c3267.js} +1 -1
- package/dist/ketchup/{p-7319c7a0.js → p-d580cac2.js} +1 -1
- package/dist/ketchup/{p-d1b71d38.js → p-f6da8bbb.js} +1 -1
- package/dist/ketchup/{p-34438e4b.entry.js → p-fd68de63.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components.d.ts +20 -0
- package/package.json +1 -1
- package/dist/ketchup/p-5b828b1c.entry.js +0 -9
- package/dist/ketchup/p-a7d0403e.entry.js +0 -1
- package/dist/ketchup/p-b0fe634e.js +0 -1
- package/dist/ketchup/p-f2213e00.js +0 -1
|
@@ -4,20 +4,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager$1 = require('./kup-manager-342fdccd.js');
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
7
|
+
const fTextField = require('./f-text-field-0a9376b5.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
10
|
-
const fImage = require('./f-image-
|
|
11
|
-
const fButton = require('./f-button-
|
|
10
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
11
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
12
12
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
13
|
-
const fCell = require('./f-cell-
|
|
13
|
+
const fCell = require('./f-cell-5e62713a.js');
|
|
14
14
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
15
|
-
const fChip = require('./f-chip-
|
|
15
|
+
const fChip = require('./f-chip-154ba47d.js');
|
|
16
16
|
const component = require('./component-a6dd6c14.js');
|
|
17
|
-
const fCheckbox = require('./f-checkbox-
|
|
17
|
+
const fCheckbox = require('./f-checkbox-59fb7aa5.js');
|
|
18
18
|
const kupDataTableHelper = require('./kup-data-table-helper-620bee1b.js');
|
|
19
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
20
|
-
require('./f-object-field-
|
|
19
|
+
const fPaginatorUtils = require('./f-paginator-utils-87790d6a.js');
|
|
20
|
+
require('./f-object-field-606c5604.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Props of the kup-autocomplete component.
|
|
@@ -8864,6 +8864,7 @@ const KupDataTable = class {
|
|
|
8864
8864
|
this.transpose = false;
|
|
8865
8865
|
this.visibleColumns = undefined;
|
|
8866
8866
|
this.updatableData = false;
|
|
8867
|
+
this.updateOnClick = false;
|
|
8867
8868
|
this.lazyLoadCells = false;
|
|
8868
8869
|
this.currentPage = 1;
|
|
8869
8870
|
this.currentRowsPerPage = 50;
|
|
@@ -9918,7 +9919,7 @@ const KupDataTable = class {
|
|
|
9918
9919
|
}
|
|
9919
9920
|
let rows = null;
|
|
9920
9921
|
if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9921
|
-
rows = (index.h("tr", { key: '
|
|
9922
|
+
rows = (index.h("tr", { key: '42d9d4666456d2a5111a25fc601343ec695d4f7f', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: 'b2a09aee97a1016424844c06bfbef9d9f0246d9c', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9922
9923
|
}
|
|
9923
9924
|
else {
|
|
9924
9925
|
rows = [];
|
|
@@ -9983,7 +9984,7 @@ const KupDataTable = class {
|
|
|
9983
9984
|
for (let i = 0; i < chipsData.length; i++) {
|
|
9984
9985
|
props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
9985
9986
|
}
|
|
9986
|
-
groupChips = index.h(fChip.FChip, Object.assign({ key: '
|
|
9987
|
+
groupChips = index.h(fChip.FChip, Object.assign({ key: 'baa4c6c56d72631f56c9c8493e9fcd9d68e1da6c' }, props));
|
|
9987
9988
|
}
|
|
9988
9989
|
}
|
|
9989
9990
|
const tableClass = {
|
|
@@ -10015,13 +10016,14 @@ const KupDataTable = class {
|
|
|
10015
10016
|
if (this.headerIsPersistent &&
|
|
10016
10017
|
this.tableHeight === undefined &&
|
|
10017
10018
|
this.tableWidth === undefined) {
|
|
10018
|
-
stickyEl = (index.h("sticky-header", { key: '
|
|
10019
|
+
stickyEl = (index.h("sticky-header", { key: '0d3ca8fc26936b935a7d5558878e46a58141f4df', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: 'db512f35a6126ae009065ba296e46863067cfea7' }, index.h("tr-sticky", { key: '3ebe26ba8e3c7d9a35717698a1a01beda5f74938' }, stickyHeader))));
|
|
10019
10020
|
}
|
|
10020
10021
|
let belowClass = 'below-wrapper';
|
|
10021
10022
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
10022
10023
|
belowClass += ' custom-size';
|
|
10023
10024
|
}
|
|
10024
10025
|
const autoselectOnAction = (e) => {
|
|
10026
|
+
var _a, _b, _c;
|
|
10025
10027
|
if (!this.updatableData) {
|
|
10026
10028
|
if (e && e.detail && e.detail.row) {
|
|
10027
10029
|
const row = e.detail.row;
|
|
@@ -10040,11 +10042,26 @@ const KupDataTable = class {
|
|
|
10040
10042
|
}
|
|
10041
10043
|
}
|
|
10042
10044
|
}
|
|
10045
|
+
if (this.updatableData &&
|
|
10046
|
+
((_a = e.detail.cell) === null || _a === void 0 ? void 0 : _a.shape) === kupManager$1.FCellShapes.CHECKBOX) {
|
|
10047
|
+
if (this.updateOnClick) {
|
|
10048
|
+
__classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this, e.detail.cell);
|
|
10049
|
+
}
|
|
10050
|
+
else if ((_c = (_b = e.detail.cell) === null || _b === void 0 ? void 0 : _b.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) {
|
|
10051
|
+
this.kupCellCheck.emit({
|
|
10052
|
+
comp: this,
|
|
10053
|
+
id: this.rootElement.id,
|
|
10054
|
+
originalData: __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"),
|
|
10055
|
+
updatedData: kupDataTableHelper.getDiffData(__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f"), this.data, true),
|
|
10056
|
+
cell: e.detail.cell,
|
|
10057
|
+
});
|
|
10058
|
+
}
|
|
10059
|
+
}
|
|
10043
10060
|
};
|
|
10044
10061
|
const useGlobalFilter = !this.legacyLook &&
|
|
10045
10062
|
(this.globalFilter ||
|
|
10046
10063
|
this.getRows().length > __classPrivateFieldGet$6(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10047
|
-
const compCreated = (index.h(index.Host, { key: '
|
|
10064
|
+
const compCreated = (index.h(index.Host, { key: 'd12f3eacffc92ede0d3d5d0ea07d4bb030455c08', "onKup-drop": (e) => {
|
|
10048
10065
|
this.kupDataTableDrop.emit(e.detail);
|
|
10049
10066
|
}, "onKup-cell-input": (e) => {
|
|
10050
10067
|
autoselectOnAction(e);
|
|
@@ -10059,11 +10076,11 @@ const KupDataTable = class {
|
|
|
10059
10076
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10060
10077
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10061
10078
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10062
|
-
} }, index.h("style", { key: '
|
|
10079
|
+
} }, index.h("style", { key: '1eaa9654b8687ce8b3dc67d7f98934693647609b' }, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, index.h("div", { key: '8b4ce36013769711e4c52c4243218f485d4862fe', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: '9720eeb2e0de96cc1035507c51a202ee72ccc12c', class: "group-wrapper" }, groupChips), index.h("div", { key: '06eff9065f300bf768833925331ee9722cd4b3ae', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager$1.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(kupManager$1.KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
10063
10080
|
const t = event.target;
|
|
10064
10081
|
window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10065
10082
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10066
|
-
} }))) : null, index.h("div", { key: '
|
|
10083
|
+
} }))) : null, index.h("div", { key: 'f81dab8418735a9d6b058572a3be82e258ac6f4c', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
10067
10084
|
this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
|
|
10068
10085
|
this.kupSave.emit({
|
|
10069
10086
|
comp: this,
|
|
@@ -10113,9 +10130,9 @@ const KupDataTable = class {
|
|
|
10113
10130
|
this.data.rows.unshift(row);
|
|
10114
10131
|
await this.refresh(true);
|
|
10115
10132
|
}
|
|
10116
|
-
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '
|
|
10133
|
+
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '3644b292ae77db4fc12ae6aaf81f486c96b5a570', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10117
10134
|
? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10118
|
-
: null), index.h("div", { key: '
|
|
10135
|
+
: null), index.h("div", { key: '1ef63bacc7a76dd2fdf5ae7966c28d693dc37001', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10119
10136
|
? [
|
|
10120
10137
|
index.h("div", { class: "settings-trigger", onClick: () => {
|
|
10121
10138
|
__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10124,7 +10141,7 @@ const KupDataTable = class {
|
|
|
10124
10141
|
} }, index.h(fImage.FImage, { color: `var(${kupManager$1.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10125
10142
|
this.renderCustomizePanel(),
|
|
10126
10143
|
]
|
|
10127
|
-
: null, index.h("table", { key: '
|
|
10144
|
+
: null, index.h("table", { key: 'b8670e9d559fc9a34a30b1b0ec80277a7a6f7339', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10128
10145
|
ev.stopPropagation();
|
|
10129
10146
|
}, onPointerDown: (e) => {
|
|
10130
10147
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10132,7 +10149,7 @@ const KupDataTable = class {
|
|
|
10132
10149
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10133
10150
|
}, onContextMenu: (e) => {
|
|
10134
10151
|
e.preventDefault();
|
|
10135
|
-
} }, index.h("thead", { key: '
|
|
10152
|
+
} }, index.h("thead", { key: '7644a20a6ecc807b69d4477d34be0bf27f571664', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: 'd95d66ab2ba1ee011060a682ec008712818440e5' }, header)), index.h("tbody", { key: 'c20206b4d1a9b02805ab520cb9532c0d66761338' }, rows), this.showFooter || __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
10136
10153
|
? this.renderFooter()
|
|
10137
10154
|
: null), stickyEl), paginatorBottom)));
|
|
10138
10155
|
return compCreated;
|
|
@@ -11907,6 +11924,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
11907
11924
|
if (this.updatableData &&
|
|
11908
11925
|
cell.isEditable &&
|
|
11909
11926
|
((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkValueOnExit) &&
|
|
11927
|
+
cell.shape !== kupManager$1.FCellShapes.CHECKBOX &&
|
|
11910
11928
|
((_c = (_b = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows.find((r) => r.id == row.id)) === null || _b === void 0 ? void 0 : _b.cells[column.name]) === null || _c === void 0 ? void 0 : _c.value) !== cell.value) {
|
|
11911
11929
|
this.kupCellCheck.emit({
|
|
11912
11930
|
comp: this,
|
|
@@ -5,18 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const kupDataTableHelper = require('./kup-data-table-helper-620bee1b.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
8
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
9
|
+
const fChip = require('./f-chip-154ba47d.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
11
|
+
const fCell = require('./f-cell-5e62713a.js');
|
|
12
|
+
const fPaginatorUtils = require('./f-paginator-utils-87790d6a.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
14
14
|
require('./kup-dates-bc4cf9d0.js');
|
|
15
|
-
require('./f-button-
|
|
15
|
+
require('./f-button-c3ae141e.js');
|
|
16
16
|
require('./f-button-declarations-76ef9f87.js');
|
|
17
|
-
require('./f-checkbox-
|
|
18
|
-
require('./f-object-field-
|
|
19
|
-
require('./f-text-field-
|
|
17
|
+
require('./f-checkbox-59fb7aa5.js');
|
|
18
|
+
require('./f-object-field-606c5604.js');
|
|
19
|
+
require('./f-text-field-0a9376b5.js');
|
|
20
20
|
require('./component-a6dd6c14.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$4 = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fChip = require('./f-chip-
|
|
8
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
9
|
+
const fChip = require('./f-chip-154ba47d.js');
|
|
10
10
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-d22b012f.js');
|
|
13
13
|
|
|
14
14
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
15
15
|
|
|
@@ -5,15 +5,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
9
|
-
const fCell = require('./f-cell-
|
|
8
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
9
|
+
const fCell = require('./f-cell-5e62713a.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
|
-
require('./f-image-
|
|
13
|
-
require('./f-checkbox-
|
|
14
|
-
require('./f-chip-
|
|
15
|
-
require('./f-object-field-
|
|
16
|
-
require('./f-text-field-
|
|
12
|
+
require('./f-image-d22b012f.js');
|
|
13
|
+
require('./f-checkbox-59fb7aa5.js');
|
|
14
|
+
require('./f-chip-154ba47d.js');
|
|
15
|
+
require('./f-object-field-606c5604.js');
|
|
16
|
+
require('./f-text-field-0a9376b5.js');
|
|
17
17
|
|
|
18
18
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
19
19
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
7
|
-
const fCheckbox = require('./f-checkbox-
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
6
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
7
|
+
const fCheckbox = require('./f-checkbox-59fb7aa5.js');
|
|
8
|
+
const fTextField = require('./f-text-field-0a9376b5.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
|
-
require('./f-image-
|
|
13
|
+
require('./f-image-d22b012f.js');
|
|
14
14
|
require('./component-a6dd6c14.js');
|
|
15
15
|
require('./kup-dates-bc4cf9d0.js');
|
|
16
16
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
6
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
9
9
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
require('./kup-dates-bc4cf9d0.js');
|
|
@@ -5,16 +5,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
9
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
9
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-5e62713a.js');
|
|
12
12
|
const component = require('./component-a6dd6c14.js');
|
|
13
13
|
require('./kup-dates-bc4cf9d0.js');
|
|
14
|
-
require('./f-checkbox-
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-checkbox-59fb7aa5.js');
|
|
15
|
+
require('./f-chip-154ba47d.js');
|
|
16
|
+
require('./f-object-field-606c5604.js');
|
|
17
|
+
require('./f-text-field-0a9376b5.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-image-list component.
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const fButton = require('./f-button-
|
|
7
|
-
const fCell = require('./f-cell-
|
|
6
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
7
|
+
const fCell = require('./f-cell-5e62713a.js');
|
|
8
8
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const fTypography = require('./f-typography-271f5037.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
|
-
require('./f-image-
|
|
14
|
-
require('./f-checkbox-
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
13
|
+
require('./f-image-d22b012f.js');
|
|
14
|
+
require('./f-checkbox-59fb7aa5.js');
|
|
15
|
+
require('./f-chip-154ba47d.js');
|
|
16
|
+
require('./f-object-field-606c5604.js');
|
|
17
|
+
require('./f-text-field-0a9376b5.js');
|
|
18
18
|
require('./kup-dates-bc4cf9d0.js');
|
|
19
19
|
require('./component-a6dd6c14.js');
|
|
20
20
|
|
|
@@ -175,7 +175,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
175
175
|
}
|
|
176
176
|
return t;
|
|
177
177
|
};
|
|
178
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_onBlurHandler, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
178
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_onBlurHandler, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
179
179
|
const dom = document.documentElement;
|
|
180
180
|
const KupInputPanel = class {
|
|
181
181
|
constructor(hostRef) {
|
|
@@ -240,6 +240,7 @@ const KupInputPanel = class {
|
|
|
240
240
|
this.checkValidValueCallback = null;
|
|
241
241
|
this.autoFocus = false;
|
|
242
242
|
this.autoSkip = false;
|
|
243
|
+
this.updateOnClick = false;
|
|
243
244
|
this.inputPanelCells = [];
|
|
244
245
|
this.inputPanelCommands = [];
|
|
245
246
|
this.tabSelected = null;
|
|
@@ -329,7 +330,7 @@ const KupInputPanel = class {
|
|
|
329
330
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
330
331
|
]
|
|
331
332
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
332
|
-
return (index.h(index.Host, { key: '
|
|
333
|
+
return (index.h(index.Host, { key: 'b0d3e0bd7375c829799a011f117fbd209235d8e2', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
333
334
|
this.tabSelected = e.detail.node.id;
|
|
334
335
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-objectfield-searchpayload": (e) => {
|
|
335
336
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
@@ -337,7 +338,7 @@ const KupInputPanel = class {
|
|
|
337
338
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
338
339
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
339
340
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
340
|
-
} }, index.h("style", { key: '
|
|
341
|
+
} }, index.h("style", { key: '58731c8bac474b81f0b1cf4cc3c00bd06588257d' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '7accc1dfca6d4f2feedcb88944f0221c30ba6145', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
341
342
|
}
|
|
342
343
|
disconnectedCallback() {
|
|
343
344
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -1087,6 +1088,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1087
1088
|
}, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
|
|
1088
1089
|
var _a, _b, _c, _d, _e;
|
|
1089
1090
|
const { detail: { column, cell }, } = e;
|
|
1091
|
+
if (cell.shape === kupManager.FCellShapes.CHECKBOX) {
|
|
1092
|
+
return;
|
|
1093
|
+
}
|
|
1090
1094
|
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
|
|
1091
1095
|
const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
|
|
1092
1096
|
if (!currCell) {
|
|
@@ -1126,6 +1130,26 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1126
1130
|
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1127
1131
|
}, column.name);
|
|
1128
1132
|
}
|
|
1133
|
+
}, _KupInputPanel_onCellUpdate = function _KupInputPanel_onCellUpdate({ detail: { cell, column }, }) {
|
|
1134
|
+
var _a;
|
|
1135
|
+
if (cell.shape !== kupManager.FCellShapes.CHECKBOX) {
|
|
1136
|
+
return;
|
|
1137
|
+
}
|
|
1138
|
+
if (this.updateOnClick) {
|
|
1139
|
+
this.submitCb({
|
|
1140
|
+
value: {
|
|
1141
|
+
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1142
|
+
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1143
|
+
},
|
|
1144
|
+
cell: column.name,
|
|
1145
|
+
});
|
|
1146
|
+
}
|
|
1147
|
+
else if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkValueOnExit) {
|
|
1148
|
+
this.checkValidValueCallback({
|
|
1149
|
+
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1150
|
+
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1151
|
+
}, column.name);
|
|
1152
|
+
}
|
|
1129
1153
|
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
1130
1154
|
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
1131
1155
|
const data = column.name === id
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
|
-
const fImage = require('./f-image-
|
|
8
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-0a9376b5.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
|
-
require('./f-image-
|
|
11
|
+
require('./f-image-d22b012f.js');
|
|
12
12
|
require('./component-a6dd6c14.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
|
-
const fObjectField = require('./f-object-field-
|
|
6
|
+
const fObjectField = require('./f-object-field-606c5604.js');
|
|
7
7
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
require('./f-button-
|
|
9
|
+
require('./f-button-c3ae141e.js');
|
|
10
10
|
require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
require('./f-image-
|
|
12
|
-
require('./f-text-field-
|
|
11
|
+
require('./f-image-d22b012f.js');
|
|
12
|
+
require('./f-text-field-0a9376b5.js');
|
|
13
13
|
require('./kup-dates-bc4cf9d0.js');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -6,10 +6,10 @@ const index = require('./index-e8aa3c73.js');
|
|
|
6
6
|
const kupManager$1 = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const kupPlannerDeclarations = require('./kup-planner-declarations-7291d01c.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const fTextField = require('./f-text-field-0a9376b5.js');
|
|
10
10
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
11
11
|
require('./kup-dates-bc4cf9d0.js');
|
|
12
|
-
require('./f-image-
|
|
12
|
+
require('./f-image-d22b012f.js');
|
|
13
13
|
require('./component-a6dd6c14.js');
|
|
14
14
|
|
|
15
15
|
const kupManager = kupManager$1.kupManagerInstance();
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e8aa3c73.js');
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fButton = require('./f-button-
|
|
8
|
+
const fButton = require('./f-button-c3ae141e.js');
|
|
9
9
|
require('./kup-dates-bc4cf9d0.js');
|
|
10
10
|
require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
require('./f-image-
|
|
11
|
+
require('./f-image-d22b012f.js');
|
|
12
12
|
|
|
13
13
|
const snackbarClass = 'snackbar';
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ const index = require('./index-e8aa3c73.js');
|
|
|
6
6
|
const kupManager = require('./kup-manager-342fdccd.js');
|
|
7
7
|
const fTypography = require('./f-typography-271f5037.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const fImage = require('./f-image-
|
|
9
|
+
const fImage = require('./f-image-d22b012f.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
|
|
12
12
|
/**
|