@sme.up/ketchup 11.0.0-SNAPSHOT-20241129144428 → 11.0.0-SNAPSHOT-20241129171423
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/kup-autocomplete_28.cjs.entry.js +10 -9
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js.map +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +17 -13
- package/dist/cjs/kup-input-panel.cjs.entry.js.map +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +10 -9
- package/dist/collection/components/kup-data-table/kup-data-table.js.map +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +17 -13
- package/dist/collection/components/kup-input-panel/kup-input-panel.js.map +1 -1
- package/dist/components/kup-autocomplete2.js +10 -9
- package/dist/components/kup-autocomplete2.js.map +1 -1
- package/dist/components/kup-input-panel.js +17 -13
- package/dist/components/kup-input-panel.js.map +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +10 -9
- package/dist/esm/kup-autocomplete_28.entry.js.map +1 -1
- package/dist/esm/kup-input-panel.entry.js +17 -13
- package/dist/esm/kup-input-panel.entry.js.map +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-2ab699ee.entry.js +2 -0
- package/dist/ketchup/p-2ab699ee.entry.js.map +1 -0
- package/dist/ketchup/{p-c76cd6bd.entry.js → p-a7063c8a.entry.js} +2 -2
- package/dist/ketchup/p-a7063c8a.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-54e984ca.entry.js +0 -2
- package/dist/ketchup/p-54e984ca.entry.js.map +0 -1
- package/dist/ketchup/p-c76cd6bd.entry.js.map +0 -1
|
@@ -9046,6 +9046,7 @@ const KupDataTable = class {
|
|
|
9046
9046
|
this.selection = ((_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.operations) === null || _b === void 0 ? void 0 : _b.delete)
|
|
9047
9047
|
? kupManager$1.SelectionMode.MULTIPLE_CHECKBOX
|
|
9048
9048
|
: this.selection;
|
|
9049
|
+
__classPrivateFieldSet$3(this, _KupDataTable_insertedRowIds, [], "f");
|
|
9049
9050
|
__classPrivateFieldSet$3(this, _KupDataTable_originalDataLoadedMaxId, ((_c = __classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
9050
9051
|
? Math.max(...__classPrivateFieldGet$6(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
|
|
9051
9052
|
: -1, "f");
|
|
@@ -9838,7 +9839,7 @@ const KupDataTable = class {
|
|
|
9838
9839
|
__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
|
|
9839
9840
|
let rows = null;
|
|
9840
9841
|
if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9841
|
-
rows = (index.h("tr", { key: '
|
|
9842
|
+
rows = (index.h("tr", { key: 'a42f58a17b498cab979ae51d1838360d6a56b401', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '0e25b2f510866f1ae9d0e5aaecf5998c4e917e07', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9842
9843
|
}
|
|
9843
9844
|
else {
|
|
9844
9845
|
rows = [];
|
|
@@ -9902,7 +9903,7 @@ const KupDataTable = class {
|
|
|
9902
9903
|
for (let i = 0; i < chipsData.length; i++) {
|
|
9903
9904
|
props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
9904
9905
|
}
|
|
9905
|
-
groupChips = index.h(fChip.FChip, Object.assign({ key: '
|
|
9906
|
+
groupChips = index.h(fChip.FChip, Object.assign({ key: '7c702d6120704f6ac2e41f44a6ace3e03679b43f' }, props));
|
|
9906
9907
|
}
|
|
9907
9908
|
}
|
|
9908
9909
|
const tableClass = {
|
|
@@ -9934,7 +9935,7 @@ const KupDataTable = class {
|
|
|
9934
9935
|
if (this.headerIsPersistent &&
|
|
9935
9936
|
this.tableHeight === undefined &&
|
|
9936
9937
|
this.tableWidth === undefined) {
|
|
9937
|
-
stickyEl = (index.h("sticky-header", { key: '
|
|
9938
|
+
stickyEl = (index.h("sticky-header", { key: '0b098575e5ca9472eea712d09c70b1717929b920', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: 'c39c79e7658a947d70fe3587b464d1feca5d51c1' }, index.h("tr-sticky", { key: '3762a552466f25912b05924517901ba4ef6ac65f' }, stickyHeader))));
|
|
9938
9939
|
}
|
|
9939
9940
|
let belowClass = 'below-wrapper';
|
|
9940
9941
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -9960,11 +9961,11 @@ const KupDataTable = class {
|
|
|
9960
9961
|
}
|
|
9961
9962
|
}
|
|
9962
9963
|
};
|
|
9963
|
-
const compCreated = (index.h(index.Host, { key: '
|
|
9964
|
+
const compCreated = (index.h(index.Host, { key: '7aa619415ed15977c6b306c48d3b4cc03bb28b68', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, index.h("style", { key: '29711c5a24ea6608afa6701564cabe8699a65928' }, __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: 'b11b9a1fa00753ecd393de259dbb373fb93c4bf1', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: '92a37236924743aac262049936b0e17dd41523a4', class: "group-wrapper" }, groupChips), index.h("div", { key: '1f9e270cc2e5359bf9069a6862a4d66066385892', class: "actions-wrapper", style: actionWrapperWidth }, this.globalFilter ? (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) => {
|
|
9964
9965
|
const t = event.target;
|
|
9965
9966
|
window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
9966
9967
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
9967
|
-
} }))) : null, index.h("div", { key: '
|
|
9968
|
+
} }))) : null, index.h("div", { key: '16d22620bacb19f9eea0f5cec273f01c56946c44', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
9968
9969
|
this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
|
|
9969
9970
|
this.kupSave.emit({
|
|
9970
9971
|
comp: this,
|
|
@@ -10014,9 +10015,9 @@ const KupDataTable = class {
|
|
|
10014
10015
|
this.data.rows.unshift(row);
|
|
10015
10016
|
await this.refresh(true);
|
|
10016
10017
|
}
|
|
10017
|
-
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '
|
|
10018
|
+
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: 'fa44a73256a8bad172796cd1ed2963e99299c453', 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
|
|
10018
10019
|
? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10019
|
-
: null), index.h("div", { key: '
|
|
10020
|
+
: null), index.h("div", { key: 'b6289afc5ded2d75c5507ee65a088d059fdc3086', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10020
10021
|
? [
|
|
10021
10022
|
index.h("div", { class: "settings-trigger", onClick: () => {
|
|
10022
10023
|
__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10025,7 +10026,7 @@ const KupDataTable = class {
|
|
|
10025
10026
|
} }, index.h(fImage.FImage, { color: `var(${kupManager$1.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10026
10027
|
this.renderCustomizePanel(),
|
|
10027
10028
|
]
|
|
10028
|
-
: null, index.h("table", { key: '
|
|
10029
|
+
: null, index.h("table", { key: 'ed9c7477cf90332b1a6316e97789605eebd9fc00', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10029
10030
|
ev.stopPropagation();
|
|
10030
10031
|
}, onPointerDown: (e) => {
|
|
10031
10032
|
__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");
|
|
@@ -10033,7 +10034,7 @@ const KupDataTable = class {
|
|
|
10033
10034
|
__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");
|
|
10034
10035
|
}, onContextMenu: (e) => {
|
|
10035
10036
|
e.preventDefault();
|
|
10036
|
-
} }, index.h("thead", { key: '
|
|
10037
|
+
} }, index.h("thead", { key: '7e1f4717a6fff07c6d371a6dc418cbe9588e9723', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: '9565ea78928490d95b4558390c5942fed14d8c92' }, header)), index.h("tbody", { key: '7d9fd0d904e3fe76f80cd13b9e9d98c337522f60' }, rows), this.showFooter || __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
10037
10038
|
? this.renderFooter()
|
|
10038
10039
|
: null), stickyEl), paginatorBottom)));
|
|
10039
10040
|
return compCreated;
|