@sme.up/ketchup 11.0.0-SNAPSHOT-20241129170944 → 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/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/components/kup-autocomplete2.js +10 -9
- package/dist/components/kup-autocomplete2.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/ketchup/ketchup.esm.js +1 -1
- 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-c76cd6bd.entry.js.map +0 -1
|
@@ -22663,6 +22663,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
22663
22663
|
this.selection = ((_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.operations) === null || _b === void 0 ? void 0 : _b.delete)
|
|
22664
22664
|
? SelectionMode.MULTIPLE_CHECKBOX
|
|
22665
22665
|
: this.selection;
|
|
22666
|
+
__classPrivateFieldSet$2(this, _KupDataTable_insertedRowIds, [], "f");
|
|
22666
22667
|
__classPrivateFieldSet$2(this, _KupDataTable_originalDataLoadedMaxId, ((_c = __classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
22667
22668
|
? Math.max(...__classPrivateFieldGet$3(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
|
|
22668
22669
|
: -1, "f");
|
|
@@ -23455,7 +23456,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23455
23456
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
|
|
23456
23457
|
let rows = null;
|
|
23457
23458
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
23458
|
-
rows = (h("tr", { key: '
|
|
23459
|
+
rows = (h("tr", { key: 'a42f58a17b498cab979ae51d1838360d6a56b401', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '0e25b2f510866f1ae9d0e5aaecf5998c4e917e07', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
23459
23460
|
}
|
|
23460
23461
|
else {
|
|
23461
23462
|
rows = [];
|
|
@@ -23519,7 +23520,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23519
23520
|
for (let i = 0; i < chipsData.length; i++) {
|
|
23520
23521
|
props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
23521
23522
|
}
|
|
23522
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
23523
|
+
groupChips = h(FChip, Object.assign({ key: '7c702d6120704f6ac2e41f44a6ace3e03679b43f' }, props));
|
|
23523
23524
|
}
|
|
23524
23525
|
}
|
|
23525
23526
|
const tableClass = {
|
|
@@ -23551,7 +23552,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23551
23552
|
if (this.headerIsPersistent &&
|
|
23552
23553
|
this.tableHeight === undefined &&
|
|
23553
23554
|
this.tableWidth === undefined) {
|
|
23554
|
-
stickyEl = (h("sticky-header", { key: '
|
|
23555
|
+
stickyEl = (h("sticky-header", { key: '0b098575e5ca9472eea712d09c70b1717929b920', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'c39c79e7658a947d70fe3587b464d1feca5d51c1' }, h("tr-sticky", { key: '3762a552466f25912b05924517901ba4ef6ac65f' }, stickyHeader))));
|
|
23555
23556
|
}
|
|
23556
23557
|
let belowClass = 'below-wrapper';
|
|
23557
23558
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -23577,11 +23578,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23577
23578
|
}
|
|
23578
23579
|
}
|
|
23579
23580
|
};
|
|
23580
|
-
const compCreated = (h(Host, { key: '
|
|
23581
|
+
const compCreated = (h(Host, { key: '7aa619415ed15977c6b306c48d3b4cc03bb28b68', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, h("style", { key: '29711c5a24ea6608afa6701564cabe8699a65928' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'b11b9a1fa00753ecd393de259dbb373fb93c4bf1', id: componentWrapperId, class: wrapClass }, h("div", { key: '92a37236924743aac262049936b0e17dd41523a4', class: "group-wrapper" }, groupChips), h("div", { key: '1f9e270cc2e5359bf9069a6862a4d66066385892', class: "actions-wrapper", style: actionWrapperWidth }, this.globalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
23581
23582
|
const t = event.target;
|
|
23582
23583
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
23583
23584
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
23584
|
-
} }))) : null, h("div", { key: '
|
|
23585
|
+
} }))) : null, h("div", { key: '16d22620bacb19f9eea0f5cec273f01c56946c44', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
23585
23586
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
23586
23587
|
this.kupSave.emit({
|
|
23587
23588
|
comp: this,
|
|
@@ -23631,9 +23632,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23631
23632
|
this.data.rows.unshift(row);
|
|
23632
23633
|
await this.refresh(true);
|
|
23633
23634
|
}
|
|
23634
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
23635
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'fa44a73256a8bad172796cd1ed2963e99299c453', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
23635
23636
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
23636
|
-
: null), h("div", { key: '
|
|
23637
|
+
: null), h("div", { key: 'b6289afc5ded2d75c5507ee65a088d059fdc3086', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
23637
23638
|
? [
|
|
23638
23639
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
23639
23640
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -23642,7 +23643,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23642
23643
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
23643
23644
|
this.renderCustomizePanel(),
|
|
23644
23645
|
]
|
|
23645
|
-
: null, h("table", { key: '
|
|
23646
|
+
: null, h("table", { key: 'ed9c7477cf90332b1a6316e97789605eebd9fc00', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
23646
23647
|
ev.stopPropagation();
|
|
23647
23648
|
}, onPointerDown: (e) => {
|
|
23648
23649
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -23650,7 +23651,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23650
23651
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
23651
23652
|
}, onContextMenu: (e) => {
|
|
23652
23653
|
e.preventDefault();
|
|
23653
|
-
} }, h("thead", { key: '
|
|
23654
|
+
} }, h("thead", { key: '7e1f4717a6fff07c6d371a6dc418cbe9588e9723', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '9565ea78928490d95b4558390c5942fed14d8c92' }, header)), h("tbody", { key: '7d9fd0d904e3fe76f80cd13b9e9d98c337522f60' }, rows), this.showFooter || __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
23654
23655
|
? this.renderFooter()
|
|
23655
23656
|
: null), stickyEl), paginatorBottom)));
|
|
23656
23657
|
return compCreated;
|