@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
|
@@ -1243,9 +1243,10 @@ export class KupDataTable {
|
|
|
1243
1243
|
let elStyle = undefined;
|
|
1244
1244
|
let actionWrapperWidth = undefined;
|
|
1245
1245
|
__classPrivateFieldSet(this, _KupDataTable_sizedColumns, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
1246
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").keysBinding.unregister('enter');
|
|
1246
1247
|
let rows = null;
|
|
1247
1248
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1248
|
-
rows = (h("tr", { key: '
|
|
1249
|
+
rows = (h("tr", { key: '58196b55afe0e914fc3cf00c3131d6d609f1c40d', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '40bcadfa5714386f6845567e0e411b384b67e0c2', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1249
1250
|
}
|
|
1250
1251
|
else {
|
|
1251
1252
|
rows = [];
|
|
@@ -1309,7 +1310,7 @@ export class KupDataTable {
|
|
|
1309
1310
|
for (let i = 0; i < chipsData.length; i++) {
|
|
1310
1311
|
props.onIconClick.push(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
1311
1312
|
}
|
|
1312
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1313
|
+
groupChips = h(FChip, Object.assign({ key: '70af7419b624423c92ea27e9502717fd981e6543' }, props));
|
|
1313
1314
|
}
|
|
1314
1315
|
}
|
|
1315
1316
|
const tableClass = {
|
|
@@ -1341,7 +1342,7 @@ export class KupDataTable {
|
|
|
1341
1342
|
if (this.headerIsPersistent &&
|
|
1342
1343
|
this.tableHeight === undefined &&
|
|
1343
1344
|
this.tableWidth === undefined) {
|
|
1344
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1345
|
+
stickyEl = (h("sticky-header", { key: '39b59bec2ce42e0cbfc9de67f3ed51b1e99905c4', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '938d07ee61d1389d0a205aa98579c24e04d075f6' }, h("tr-sticky", { key: 'a836ef6e8efcbd69f7d08e3a5a3977ec423d1e66' }, stickyHeader))));
|
|
1345
1346
|
}
|
|
1346
1347
|
let belowClass = 'below-wrapper';
|
|
1347
1348
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1367,11 +1368,11 @@ export class KupDataTable {
|
|
|
1367
1368
|
}
|
|
1368
1369
|
}
|
|
1369
1370
|
};
|
|
1370
|
-
const compCreated = (h(Host, { key: '
|
|
1371
|
+
const compCreated = (h(Host, { key: '3462500743a56d303584e2691d8ed6016fb0ad39', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, h("style", { key: '71ab4d698102f9eadc3bf6123965ffe2fdd66603' }, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'ecf9c6ec18dfdbf3a0a682b09a343de4e388444c', id: componentWrapperId, class: wrapClass }, h("div", { key: '1543fc449cabcbc245eb7ab6207b50a5104936ac', class: "group-wrapper" }, groupChips), h("div", { key: 'a8cf1fe60de0d07858b8e0264b2ec1145a6d0000', class: "actions-wrapper", style: actionWrapperWidth }, this.globalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
1371
1372
|
const t = event.target;
|
|
1372
1373
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1373
1374
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1374
|
-
} }))) : null, h("div", { key: '
|
|
1375
|
+
} }))) : null, h("div", { key: 'b8e9d699a095abf8057cb9654a49a004fec54c28', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
1375
1376
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1376
1377
|
this.kupSave.emit({
|
|
1377
1378
|
comp: this,
|
|
@@ -1421,9 +1422,9 @@ export class KupDataTable {
|
|
|
1421
1422
|
this.data.rows.unshift(row);
|
|
1422
1423
|
await this.refresh(true);
|
|
1423
1424
|
}
|
|
1424
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1425
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'ac5ae08d6af06604b74a867b4cd5e56bf5145330', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1425
1426
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1426
|
-
: null), h("div", { key: '
|
|
1427
|
+
: null), h("div", { key: 'c8d31229418340d9709720a5831b31ef61027f65', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1427
1428
|
? [
|
|
1428
1429
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1429
1430
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1432,7 +1433,7 @@ export class KupDataTable {
|
|
|
1432
1433
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1433
1434
|
this.renderCustomizePanel(),
|
|
1434
1435
|
]
|
|
1435
|
-
: null, h("table", { key: '
|
|
1436
|
+
: null, h("table", { key: '00b9d9546870eec3cbefb47d84f0f31f3cbb0464', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
1436
1437
|
ev.stopPropagation();
|
|
1437
1438
|
}, onPointerDown: (e) => {
|
|
1438
1439
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -1440,7 +1441,7 @@ export class KupDataTable {
|
|
|
1440
1441
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
1441
1442
|
}, onContextMenu: (e) => {
|
|
1442
1443
|
e.preventDefault();
|
|
1443
|
-
} }, h("thead", { key: '
|
|
1444
|
+
} }, h("thead", { key: 'cbc52433e310b919a94fcb276655d6647b6f44b3', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'cae2222b4c79c64085be28869a0386d5d25df456' }, header)), h("tbody", { key: '337ac7499d2e39eda33151e7493921d8eb12a025' }, rows), this.showFooter || __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
1444
1445
|
? this.renderFooter()
|
|
1445
1446
|
: null), stickyEl), paginatorBottom)));
|
|
1446
1447
|
return compCreated;
|
|
@@ -6175,7 +6176,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
6175
6176
|
this.deleteRows(ids);
|
|
6176
6177
|
};
|
|
6177
6178
|
const addConfirmButton = () => {
|
|
6178
|
-
|
|
6179
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").keysBinding.register('enter', () => __classPrivateFieldGet(this, _KupDataTable_handleUpdateClick, "f").call(this));
|
|
6180
|
+
commandButtons.push(h("kup-button", { styling: styling, icon: "check", "onKup-button-click": () => {
|
|
6181
|
+
__classPrivateFieldGet(this, _KupDataTable_handleUpdateClick, "f").call(this);
|
|
6182
|
+
}, label: __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM) }));
|
|
6179
6183
|
};
|
|
6180
6184
|
const addCommands = () => {
|
|
6181
6185
|
var _a, _b, _c;
|