@sme.up/ketchup 11.0.0-SNAPSHOT-20241118154002 → 11.0.0-SNAPSHOT-20241118161105
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 +14 -10
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js.map +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -10
- package/dist/collection/components/kup-data-table/kup-data-table.js.map +1 -1
- package/dist/components/kup-autocomplete2.js +14 -10
- package/dist/components/kup-autocomplete2.js.map +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +14 -10
- package/dist/esm/kup-autocomplete_28.entry.js.map +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-1b23ecb9.entry.js → p-c8654f3e.entry.js} +2 -2
- package/dist/ketchup/{p-1b23ecb9.entry.js.map → p-c8654f3e.entry.js.map} +1 -1
- package/package.json +1 -1
|
@@ -9824,9 +9824,10 @@ const KupDataTable = class {
|
|
|
9824
9824
|
let elStyle = undefined;
|
|
9825
9825
|
let actionWrapperWidth = undefined;
|
|
9826
9826
|
__classPrivateFieldSet$3(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
9827
|
+
__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
|
|
9827
9828
|
let rows = null;
|
|
9828
9829
|
if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9829
|
-
rows = (index.h("tr", { key: '
|
|
9830
|
+
rows = (index.h("tr", { key: '58196b55afe0e914fc3cf00c3131d6d609f1c40d', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '40bcadfa5714386f6845567e0e411b384b67e0c2', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9830
9831
|
}
|
|
9831
9832
|
else {
|
|
9832
9833
|
rows = [];
|
|
@@ -9890,7 +9891,7 @@ const KupDataTable = class {
|
|
|
9890
9891
|
for (let i = 0; i < chipsData.length; i++) {
|
|
9891
9892
|
props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
9892
9893
|
}
|
|
9893
|
-
groupChips = index.h(fChip.FChip, Object.assign({ key: '
|
|
9894
|
+
groupChips = index.h(fChip.FChip, Object.assign({ key: '70af7419b624423c92ea27e9502717fd981e6543' }, props));
|
|
9894
9895
|
}
|
|
9895
9896
|
}
|
|
9896
9897
|
const tableClass = {
|
|
@@ -9922,7 +9923,7 @@ const KupDataTable = class {
|
|
|
9922
9923
|
if (this.headerIsPersistent &&
|
|
9923
9924
|
this.tableHeight === undefined &&
|
|
9924
9925
|
this.tableWidth === undefined) {
|
|
9925
|
-
stickyEl = (index.h("sticky-header", { key: '
|
|
9926
|
+
stickyEl = (index.h("sticky-header", { key: '39b59bec2ce42e0cbfc9de67f3ed51b1e99905c4', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: '938d07ee61d1389d0a205aa98579c24e04d075f6' }, index.h("tr-sticky", { key: 'a836ef6e8efcbd69f7d08e3a5a3977ec423d1e66' }, stickyHeader))));
|
|
9926
9927
|
}
|
|
9927
9928
|
let belowClass = 'below-wrapper';
|
|
9928
9929
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -9948,11 +9949,11 @@ const KupDataTable = class {
|
|
|
9948
9949
|
}
|
|
9949
9950
|
}
|
|
9950
9951
|
};
|
|
9951
|
-
const compCreated = (index.h(index.Host, { key: '
|
|
9952
|
+
const compCreated = (index.h(index.Host, { key: '3462500743a56d303584e2691d8ed6016fb0ad39', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, index.h("style", { key: '71ab4d698102f9eadc3bf6123965ffe2fdd66603' }, __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: 'ecf9c6ec18dfdbf3a0a682b09a343de4e388444c', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: '1543fc449cabcbc245eb7ab6207b50a5104936ac', class: "group-wrapper" }, groupChips), index.h("div", { key: 'a8cf1fe60de0d07858b8e0264b2ec1145a6d0000', 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) => {
|
|
9952
9953
|
const t = event.target;
|
|
9953
9954
|
window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
9954
9955
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
9955
|
-
} }))) : null, index.h("div", { key: '
|
|
9956
|
+
} }))) : null, index.h("div", { key: 'b8e9d699a095abf8057cb9654a49a004fec54c28', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
9956
9957
|
this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
|
|
9957
9958
|
this.kupSave.emit({
|
|
9958
9959
|
comp: this,
|
|
@@ -10002,9 +10003,9 @@ const KupDataTable = class {
|
|
|
10002
10003
|
this.data.rows.unshift(row);
|
|
10003
10004
|
await this.refresh(true);
|
|
10004
10005
|
}
|
|
10005
|
-
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '
|
|
10006
|
+
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: 'ac5ae08d6af06604b74a867b4cd5e56bf5145330', 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
|
|
10006
10007
|
? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10007
|
-
: null), index.h("div", { key: '
|
|
10008
|
+
: null), index.h("div", { key: 'c8d31229418340d9709720a5831b31ef61027f65', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10008
10009
|
? [
|
|
10009
10010
|
index.h("div", { class: "settings-trigger", onClick: () => {
|
|
10010
10011
|
__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10013,7 +10014,7 @@ const KupDataTable = class {
|
|
|
10013
10014
|
} }, index.h(fImage.FImage, { color: `var(${kupManager$1.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10014
10015
|
this.renderCustomizePanel(),
|
|
10015
10016
|
]
|
|
10016
|
-
: null, index.h("table", { key: '
|
|
10017
|
+
: null, index.h("table", { key: '00b9d9546870eec3cbefb47d84f0f31f3cbb0464', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10017
10018
|
ev.stopPropagation();
|
|
10018
10019
|
}, onPointerDown: (e) => {
|
|
10019
10020
|
__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");
|
|
@@ -10021,7 +10022,7 @@ const KupDataTable = class {
|
|
|
10021
10022
|
__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");
|
|
10022
10023
|
}, onContextMenu: (e) => {
|
|
10023
10024
|
e.preventDefault();
|
|
10024
|
-
} }, index.h("thead", { key: '
|
|
10025
|
+
} }, index.h("thead", { key: 'cbc52433e310b919a94fcb276655d6647b6f44b3', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: 'cae2222b4c79c64085be28869a0386d5d25df456' }, header)), index.h("tbody", { key: '337ac7499d2e39eda33151e7493921d8eb12a025' }, rows), this.showFooter || __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
10025
10026
|
? this.renderFooter()
|
|
10026
10027
|
: null), stickyEl), paginatorBottom)));
|
|
10027
10028
|
return compCreated;
|
|
@@ -12478,7 +12479,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12478
12479
|
this.deleteRows(ids);
|
|
12479
12480
|
};
|
|
12480
12481
|
const addConfirmButton = () => {
|
|
12481
|
-
|
|
12482
|
+
__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").keysBinding.register('enter', () => __classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this));
|
|
12483
|
+
commandButtons.push(index.h("kup-button", { styling: styling, icon: "check", "onKup-button-click": () => {
|
|
12484
|
+
__classPrivateFieldGet$6(this, _KupDataTable_handleUpdateClick, "f").call(this);
|
|
12485
|
+
}, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(kupManager$1.KupLanguageGeneric.CONFIRM) }));
|
|
12482
12486
|
};
|
|
12483
12487
|
const addCommands = () => {
|
|
12484
12488
|
var _a, _b, _c;
|