@sme.up/ketchup 11.0.0-SNAPSHOT-20250110101023 → 11.0.0-SNAPSHOT-20250110121112
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-cell-45213331.js → f-cell-d983064c.js} +1 -1
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +20 -11
- package/dist/cjs/kup-box.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +12 -3
- package/dist/collection/components/kup-data-table/kup-data-table.js +79 -10
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +71 -2
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- 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 +2 -2
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +2 -2
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +14 -5
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-pdf.js +2 -2
- package/dist/components/kup-photo-frame.js +2 -2
- package/dist/components/kup-planner.js +2 -2
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- 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 +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-13875920.js → p-1b527609.js} +2 -2
- package/dist/components/{p-240c81fa.js → p-25e2b132.js} +21 -12
- package/dist/components/{p-009bdee7.js → p-547a1270.js} +1 -1
- package/dist/components/{p-a988a243.js → p-9ecd7cbb.js} +2 -2
- package/dist/components/{p-664854bf.js → p-b1d8aa26.js} +2 -2
- package/dist/components/{p-ee8432da.js → p-e9630c56.js} +2 -2
- package/dist/esm/{f-cell-b484e3c7.js → f-cell-1ea7aba2.js} +2 -2
- package/dist/esm/kup-autocomplete_28.entry.js +20 -11
- package/dist/esm/kup-box.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +12 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-8df5caf6.entry.js → p-334a82ad.entry.js} +1 -1
- package/dist/ketchup/p-85890c9e.entry.js +9 -0
- package/dist/ketchup/{p-8765b1d8.entry.js → p-957d2864.entry.js} +1 -1
- package/dist/ketchup/{p-d3857c06.js → p-da7e333d.js} +1 -1
- package/dist/ketchup/{p-6ced9d0e.entry.js → p-dfd6a93e.entry.js} +1 -1
- package/dist/ketchup/p-ef170b6a.entry.js +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/ketchup/p-7bc6b673.entry.js +0 -1
- package/dist/ketchup/p-bb6a9abd.entry.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-2e5f2e07.js';
|
|
2
|
-
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, b as KupThemeColorValues, i as FCellTypes, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as
|
|
2
|
+
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, b as KupThemeColorValues, i as FCellTypes, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as getCellValueForDisplay, m as FCellShapes, n as fullWidthFieldsComps, o as autoCenterComps, p as adaptContentToDisplayMode, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as FCellPadding, w as fillString, x as KupCardBuiltInClockElements, y as KupCardCSSClasses, z as KupLanguageTotals, A as KupLanguageColumn, B as KupDataNewColumnTypes, D as KupCardSubEvents, E as KupCardIds, G as KupLanguageRow, H as getColumnByName, J as KupObjects, L as formatToNumber, M as Filters, N as FilterInterval, O as getValueForDisplay, P as getValueForDisplay2, Q as KupData, S as compareCell, T as TotalMode, U as CHKAdapter, V as CHIAdapter, W as SWTAdapter, X as SortMode, Y as GroupLabelDisplayMode, Z as SelectionMode, _ as KupLanguageGrouping, $ as KupLanguageCheckbox, a0 as KupLanguageSearch, a1 as KupLanguagePage, a2 as addColumnValueFromRow, a3 as KupGlobalFilterMode, g as getProps, s as setProps, a4 as TotalLabel, a5 as KupPointerEventTypes, a6 as kupDynamicPositionAttribute, a7 as KupListProps, a8 as KupCardFamily, a9 as KupListRole, aa as identify, ab as LoadMoreMode, ac as PaginatorPos, ad as ShowGrid, ae as kupDraggableColumnAttr, af as kupDragActiveAttr, ag as KupDragEffect, ah as kupDraggableCellAttr, ai as KupDropEventTypes, aj as FixedCellsClasses, ak as FixedCellsCSSVarsBase, al as KupLanguageFontsize, am as KupLanguageDensity, an as KupLanguageGrid, ao as KupDataTableProps, ap as DataTableAreasEnum, aq as iconColumn, ar as keyColumn, as as fieldColumn, at as KupCardProps } from './p-547a1270.js';
|
|
3
3
|
import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
|
|
4
4
|
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-1581348d.js';
|
|
5
5
|
|
|
@@ -5404,7 +5404,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5404
5404
|
};
|
|
5405
5405
|
const type = cellType === FCellTypes.NUMBER ? 'number' : null;
|
|
5406
5406
|
const value = cellType === FCellTypes.NUMBER && cell.value
|
|
5407
|
-
?
|
|
5407
|
+
? getCellValueForDisplay(column, cell)
|
|
5408
5408
|
: cell.value;
|
|
5409
5409
|
if (cell.shape === FCellShapes.INPUT_FIELD) {
|
|
5410
5410
|
return (h("input", { class: 'input-field', onChange: onChange, onInput: onInput, onKeyDown: onKeyDown, type: type, value: value, maxLength: (_e = (_d = column.cellData) === null || _d === void 0 ? void 0 : _d.maxLength) !== null && _e !== void 0 ? _e : -1 }));
|
|
@@ -22560,6 +22560,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
22560
22560
|
this.kupDataTableCellClick = createEvent(this, "kup-datatable-cell-click", 6);
|
|
22561
22561
|
this.kupDataTableCellIconClick = createEvent(this, "kup-datatable-cell-iconclick", 6);
|
|
22562
22562
|
this.kupDataTableCellInput = createEvent(this, "kup-datatable-cell-input", 6);
|
|
22563
|
+
this.kupDataTableObjectFieldSearchPayload = createEvent(this, "kup-datatable-objectfield-searchpayload", 6);
|
|
22564
|
+
this.kupDataTableObjectFieldOpenSearchMenu = createEvent(this, "kup-datatable-objectfield-opensearchmenu", 6);
|
|
22565
|
+
this.kupDataTableObjectFieldSelectedMenuItem = createEvent(this, "kup-datatable-objectfield-selectedmenuitem", 6);
|
|
22563
22566
|
_KupDataTable_instances.add(this);
|
|
22564
22567
|
this.state = new KupDataTableState();
|
|
22565
22568
|
_KupDataTable_initialized.set(this, false);
|
|
@@ -23812,7 +23815,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23812
23815
|
}
|
|
23813
23816
|
let rows = null;
|
|
23814
23817
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
23815
|
-
rows = (h$1("tr", { key: '
|
|
23818
|
+
rows = (h$1("tr", { key: 'ebb97941c286f0ef82492880c190270fc39364bf', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '0863ad2cee2f8d8690ebc2cba28bccc6c67e0494', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
23816
23819
|
}
|
|
23817
23820
|
else {
|
|
23818
23821
|
rows = [];
|
|
@@ -23877,7 +23880,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23877
23880
|
for (let i = 0; i < chipsData.length; i++) {
|
|
23878
23881
|
props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
23879
23882
|
}
|
|
23880
|
-
groupChips = h$1(FChip, Object.assign({ key: '
|
|
23883
|
+
groupChips = h$1(FChip, Object.assign({ key: '986f12aebe1f8b79e0321481e7afb0b558f42f4c' }, props));
|
|
23881
23884
|
}
|
|
23882
23885
|
}
|
|
23883
23886
|
const tableClass = {
|
|
@@ -23909,7 +23912,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23909
23912
|
if (this.headerIsPersistent &&
|
|
23910
23913
|
this.tableHeight === undefined &&
|
|
23911
23914
|
this.tableWidth === undefined) {
|
|
23912
|
-
stickyEl = (h$1("sticky-header", { key: '
|
|
23915
|
+
stickyEl = (h$1("sticky-header", { key: '232a7d0df0bd6ef6696c6d24165d93c8165173cd', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: 'c35320cfeed9f9d87215f1c15e97e65736a1137c' }, h$1("tr-sticky", { key: '6666b6858381ab1d5e2a51d7bd830abcb8d30d2f' }, stickyHeader))));
|
|
23913
23916
|
}
|
|
23914
23917
|
let belowClass = 'below-wrapper';
|
|
23915
23918
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -23937,18 +23940,24 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23937
23940
|
};
|
|
23938
23941
|
const useGlobalFilter = this.globalFilter ||
|
|
23939
23942
|
this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f");
|
|
23940
|
-
const compCreated = (h$1(Host, { key: '
|
|
23943
|
+
const compCreated = (h$1(Host, { key: 'f264e72a7a737e496d093e0c91ca21842955883a', "onKup-cell-input": (e) => {
|
|
23941
23944
|
autoselectOnAction(e);
|
|
23942
23945
|
this.kupDataTableCellInput.emit(e.detail);
|
|
23943
23946
|
}, "onKup-cell-update": autoselectOnAction, "onKup-cell-blur": __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onBlurHandler), "onKup-cell-click": (e) => {
|
|
23944
23947
|
this.kupDataTableCellClick.emit(e.detail);
|
|
23945
23948
|
}, "onKup-cell-iconclick": (e) => {
|
|
23946
23949
|
this.kupDataTableCellIconClick.emit(e.detail);
|
|
23947
|
-
}
|
|
23950
|
+
}, "onKup-objectfield-searchpayload": (e) => {
|
|
23951
|
+
this.kupDataTableObjectFieldSearchPayload.emit(e.detail);
|
|
23952
|
+
}, "onKup-objectfield-opensearchmenu": (e) => {
|
|
23953
|
+
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
23954
|
+
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
23955
|
+
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
23956
|
+
} }, h$1("style", { key: 'fd9be8e451c5ffa9eac38b77fe7cdcec5bb4ac25' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: 'ded2bb3eab1088b42e3cd875474b184496416c20', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '7ea62e6a9223e9dfb12aa99eb50327f78f7ef07d', class: "group-wrapper" }, groupChips), h$1("div", { key: 'ccaca957644c051769e6a7111234f90b4afbb702', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
23948
23957
|
const t = event.target;
|
|
23949
23958
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
23950
23959
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
23951
|
-
} }))) : null, h$1("div", { key: '
|
|
23960
|
+
} }))) : null, h$1("div", { key: 'ff21e85e544067d692d59efc0669a516f898ffc1', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
23952
23961
|
this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
|
|
23953
23962
|
this.kupSave.emit({
|
|
23954
23963
|
comp: this,
|
|
@@ -23998,9 +24007,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23998
24007
|
this.data.rows.unshift(row);
|
|
23999
24008
|
await this.refresh(true);
|
|
24000
24009
|
}
|
|
24001
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '
|
|
24010
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: 'a4e1cb8725a776c63418a7271de3dd5b4e12b8eb', 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
|
|
24002
24011
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
24003
|
-
: null), h$1("div", { key: '
|
|
24012
|
+
: null), h$1("div", { key: 'c76f9556d25ff8fbe7c05ca6446ac3e637942b40', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
24004
24013
|
? [
|
|
24005
24014
|
h$1("div", { class: "settings-trigger", onClick: () => {
|
|
24006
24015
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -24009,7 +24018,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24009
24018
|
} }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
24010
24019
|
this.renderCustomizePanel(),
|
|
24011
24020
|
]
|
|
24012
|
-
: null, h$1("table", { key: '
|
|
24021
|
+
: null, h$1("table", { key: '5bbaa3f6a4c117719a0cc26773f0d9334e0a4d6c', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
24013
24022
|
ev.stopPropagation();
|
|
24014
24023
|
}, onPointerDown: (e) => {
|
|
24015
24024
|
__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");
|
|
@@ -24017,7 +24026,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24017
24026
|
__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");
|
|
24018
24027
|
}, onContextMenu: (e) => {
|
|
24019
24028
|
e.preventDefault();
|
|
24020
|
-
} }, h$1("thead", { key: '
|
|
24029
|
+
} }, h$1("thead", { key: 'ac5823cb2dcbdcf6c1460e02ac7fcbc1584107cc', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: '9c03ce09a2f07277258202df7ac1bf7d04f274ee' }, header)), h$1("tbody", { key: 'bb48749b9290b673bc588a28536a06023d069da3' }, rows), this.showFooter || __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
24021
24030
|
? this.renderFooter()
|
|
24022
24031
|
: null), stickyEl), paginatorBottom)));
|
|
24023
24032
|
return compCreated;
|
|
@@ -20222,4 +20222,4 @@ function kupManagerInstance() {
|
|
|
20222
20222
|
return dom.ketchup;
|
|
20223
20223
|
}
|
|
20224
20224
|
|
|
20225
|
-
export { KupLanguageCheckbox as $, KupLanguageColumn as A, KupDataNewColumnTypes as B, CMBandACPAdapter as C, KupCardSubEvents as D, KupCardIds as E, FCellClasses as F, KupLanguageRow as G, getColumnByName as H, ItemsDisplayMode as I, KupObjects as J, KupManager as K, formatToNumber as L, Filters as M, FilterInterval as N, getValueForDisplay as O, getValueForDisplay2 as P, KupData as Q, RADAdapter as R, compareCell as S, TotalMode as T, CHKAdapter as U, CHIAdapter as V, SWTAdapter as W, SortMode as X, GroupLabelDisplayMode as Y, SelectionMode as Z, KupLanguageGrouping as _, KupComponentSizing as a, KupLanguageSearch as a0, KupLanguagePage as a1, addColumnValueFromRow as a2, KupGlobalFilterMode as a3, TotalLabel as a4, KupPointerEventTypes as a5, kupDynamicPositionAttribute as a6, KupListProps as a7, KupCardFamily as a8, KupListRole as a9, kupDraggableRowAttr as aA, identify as aa, LoadMoreMode as ab, PaginatorPos as ac, ShowGrid as ad, kupDraggableColumnAttr as ae, kupDragActiveAttr as af, KupDragEffect as ag, kupDraggableCellAttr as ah, KupDropEventTypes as ai, FixedCellsClasses as aj, FixedCellsCSSVarsBase as ak, KupLanguageFontsize as al, KupLanguageDensity as am, KupLanguageGrid as an, KupDataTableProps as ao, DataTableAreasEnum as ap, iconColumn as aq, keyColumn as ar, fieldColumn as as, KupCardProps as at, kupDraggableAttr as au, KupCellElementsPosition as av, submitPositionAdapter as aw, KupCellProps as ax, KupLanguageDashboard as ay, kupDropEvent as az, KupThemeColorValues as b, KupThemeIconValues as c, KupLanguageGeneric as d, KupDynamicPositionPlacement as e, editableTypes as f, getProps as g, kupTypes as h, FCellTypes as i, KupTagNames as j, kupManagerInstance as k,
|
|
20225
|
+
export { KupLanguageCheckbox as $, KupLanguageColumn as A, KupDataNewColumnTypes as B, CMBandACPAdapter as C, KupCardSubEvents as D, KupCardIds as E, FCellClasses as F, KupLanguageRow as G, getColumnByName as H, ItemsDisplayMode as I, KupObjects as J, KupManager as K, formatToNumber as L, Filters as M, FilterInterval as N, getValueForDisplay as O, getValueForDisplay2 as P, KupData as Q, RADAdapter as R, compareCell as S, TotalMode as T, CHKAdapter as U, CHIAdapter as V, SWTAdapter as W, SortMode as X, GroupLabelDisplayMode as Y, SelectionMode as Z, KupLanguageGrouping as _, KupComponentSizing as a, KupLanguageSearch as a0, KupLanguagePage as a1, addColumnValueFromRow as a2, KupGlobalFilterMode as a3, TotalLabel as a4, KupPointerEventTypes as a5, kupDynamicPositionAttribute as a6, KupListProps as a7, KupCardFamily as a8, KupListRole as a9, kupDraggableRowAttr as aA, identify as aa, LoadMoreMode as ab, PaginatorPos as ac, ShowGrid as ad, kupDraggableColumnAttr as ae, kupDragActiveAttr as af, KupDragEffect as ag, kupDraggableCellAttr as ah, KupDropEventTypes as ai, FixedCellsClasses as aj, FixedCellsCSSVarsBase as ak, KupLanguageFontsize as al, KupLanguageDensity as am, KupLanguageGrid as an, KupDataTableProps as ao, DataTableAreasEnum as ap, iconColumn as aq, keyColumn as ar, fieldColumn as as, KupCardProps as at, kupDraggableAttr as au, KupCellElementsPosition as av, submitPositionAdapter as aw, KupCellProps as ax, KupLanguageDashboard as ay, kupDropEvent as az, KupThemeColorValues as b, KupThemeIconValues as c, KupLanguageGeneric as d, KupDynamicPositionPlacement as e, editableTypes as f, getProps as g, kupTypes as h, FCellTypes as i, KupTagNames as j, kupManagerInstance as k, getCellValueForDisplay as l, FCellShapes as m, fullWidthFieldsComps as n, autoCenterComps as o, adaptContentToDisplayMode as p, FCellEvents as q, isForceUppercase as r, setProps as s, isForceLowercase as t, KupDebugCategory as u, FCellPadding as v, fillString as w, KupCardBuiltInClockElements as x, KupCardCSSClasses as y, KupLanguageTotals as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupThemeColorValues, u as KupDebugCategory, H as getColumnByName, B as KupDataNewColumnTypes } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupThemeColorValues, u as KupDebugCategory, H as getColumnByName, B as KupDataNewColumnTypes } from './p-547a1270.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s } from './p-25e2b132.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-547a1270.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s } from './p-25e2b132.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, aa as identify, g as getProps, s as setProps, X as SortMode, H as getColumnByName, d as KupLanguageGeneric, c as KupThemeIconValues, u as KupDebugCategory, a5 as KupPointerEventTypes, ag as KupDragEffect, au as kupDraggableAttr, ai as KupDropEventTypes, a0 as KupLanguageSearch } from './p-
|
|
3
|
-
import { G as filterRows, H as paginateRows, D as sortRows, I as pageChange, J as rowsPerPageChange, F as FImage, L as FCell, N as FChip, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, P as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, aa as identify, g as getProps, s as setProps, X as SortMode, H as getColumnByName, d as KupLanguageGeneric, c as KupThemeIconValues, u as KupDebugCategory, a5 as KupPointerEventTypes, ag as KupDragEffect, au as kupDraggableAttr, ai as KupDropEventTypes, a0 as KupLanguageSearch } from './p-547a1270.js';
|
|
3
|
+
import { G as filterRows, H as paginateRows, D as sortRows, I as pageChange, J as rowsPerPageChange, F as FImage, L as FCell, N as FChip, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, P as FPaginator } from './p-25e2b132.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, g as getAssetPath, F as Fragment } from './index-c9246a86.js';
|
|
2
|
-
import { aj as editableTypes, ak as kupTypes, al as FCellClasses, d as KupThemeColorValues, a6 as FCellTypes, af as RADAdapter, ae as CMBandACPAdapter, am as KupTagNames, F as FCellShapes, an as fullWidthFieldsComps, I as ItemsDisplayMode, ao as autoCenterComps, ap as adaptContentToDisplayMode,
|
|
2
|
+
import { aj as editableTypes, ak as kupTypes, al as FCellClasses, d as KupThemeColorValues, a6 as FCellTypes, af as RADAdapter, ae as CMBandACPAdapter, am as KupTagNames, ab as getCellValueForDisplay, F as FCellShapes, an as fullWidthFieldsComps, I as ItemsDisplayMode, ao as autoCenterComps, ap as adaptContentToDisplayMode, aq as FCellEvents, ar as isForceUppercase, as as isForceLowercase, e as KupDebugCategory } from './kup-manager-2cecde50.js';
|
|
3
3
|
import { F as FButton } from './f-button-a20849e0.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-b8f2f9c4.js';
|
|
5
5
|
import { F as FChipType, c as FChip } from './f-chip-cc0af5b0.js';
|
|
@@ -645,7 +645,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
645
645
|
};
|
|
646
646
|
const type = cellType === FCellTypes.NUMBER ? 'number' : null;
|
|
647
647
|
const value = cellType === FCellTypes.NUMBER && cell.value
|
|
648
|
-
?
|
|
648
|
+
? getCellValueForDisplay(column, cell)
|
|
649
649
|
: cell.value;
|
|
650
650
|
if (cell.shape === FCellShapes.INPUT_FIELD) {
|
|
651
651
|
return (h("input", { class: 'input-field', onChange: onChange, onInput: onInput, onKeyDown: onKeyDown, type: type, value: value, maxLength: (_e = (_d = column.cellData) === null || _d === void 0 ? void 0 : _d.maxLength) !== null && _e !== void 0 ? _e : -1 }));
|
|
@@ -6,7 +6,7 @@ import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
|
6
6
|
import { F as FImage } from './f-image-01041722.js';
|
|
7
7
|
import { F as FButton } from './f-button-a20849e0.js';
|
|
8
8
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
9
|
-
import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-
|
|
9
|
+
import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-1ea7aba2.js';
|
|
10
10
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-da19044e.js';
|
|
11
11
|
import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-cc0af5b0.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
@@ -8655,6 +8655,9 @@ const KupDataTable = class {
|
|
|
8655
8655
|
this.kupDataTableCellClick = createEvent(this, "kup-datatable-cell-click", 6);
|
|
8656
8656
|
this.kupDataTableCellIconClick = createEvent(this, "kup-datatable-cell-iconclick", 6);
|
|
8657
8657
|
this.kupDataTableCellInput = createEvent(this, "kup-datatable-cell-input", 6);
|
|
8658
|
+
this.kupDataTableObjectFieldSearchPayload = createEvent(this, "kup-datatable-objectfield-searchpayload", 6);
|
|
8659
|
+
this.kupDataTableObjectFieldOpenSearchMenu = createEvent(this, "kup-datatable-objectfield-opensearchmenu", 6);
|
|
8660
|
+
this.kupDataTableObjectFieldSelectedMenuItem = createEvent(this, "kup-datatable-objectfield-selectedmenuitem", 6);
|
|
8658
8661
|
_KupDataTable_instances.add(this);
|
|
8659
8662
|
this.state = new KupDataTableState();
|
|
8660
8663
|
_KupDataTable_initialized.set(this, false);
|
|
@@ -9907,7 +9910,7 @@ const KupDataTable = class {
|
|
|
9907
9910
|
}
|
|
9908
9911
|
let rows = null;
|
|
9909
9912
|
if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9910
|
-
rows = (h("tr", { key: '
|
|
9913
|
+
rows = (h("tr", { key: 'ebb97941c286f0ef82492880c190270fc39364bf', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '0863ad2cee2f8d8690ebc2cba28bccc6c67e0494', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9911
9914
|
}
|
|
9912
9915
|
else {
|
|
9913
9916
|
rows = [];
|
|
@@ -9972,7 +9975,7 @@ const KupDataTable = class {
|
|
|
9972
9975
|
for (let i = 0; i < chipsData.length; i++) {
|
|
9973
9976
|
props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
9974
9977
|
}
|
|
9975
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
9978
|
+
groupChips = h(FChip, Object.assign({ key: '986f12aebe1f8b79e0321481e7afb0b558f42f4c' }, props));
|
|
9976
9979
|
}
|
|
9977
9980
|
}
|
|
9978
9981
|
const tableClass = {
|
|
@@ -10004,7 +10007,7 @@ const KupDataTable = class {
|
|
|
10004
10007
|
if (this.headerIsPersistent &&
|
|
10005
10008
|
this.tableHeight === undefined &&
|
|
10006
10009
|
this.tableWidth === undefined) {
|
|
10007
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10010
|
+
stickyEl = (h("sticky-header", { key: '232a7d0df0bd6ef6696c6d24165d93c8165173cd', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'c35320cfeed9f9d87215f1c15e97e65736a1137c' }, h("tr-sticky", { key: '6666b6858381ab1d5e2a51d7bd830abcb8d30d2f' }, stickyHeader))));
|
|
10008
10011
|
}
|
|
10009
10012
|
let belowClass = 'below-wrapper';
|
|
10010
10013
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10032,18 +10035,24 @@ const KupDataTable = class {
|
|
|
10032
10035
|
};
|
|
10033
10036
|
const useGlobalFilter = this.globalFilter ||
|
|
10034
10037
|
this.getRows().length > __classPrivateFieldGet$6(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f");
|
|
10035
|
-
const compCreated = (h(Host, { key: '
|
|
10038
|
+
const compCreated = (h(Host, { key: 'f264e72a7a737e496d093e0c91ca21842955883a', "onKup-cell-input": (e) => {
|
|
10036
10039
|
autoselectOnAction(e);
|
|
10037
10040
|
this.kupDataTableCellInput.emit(e.detail);
|
|
10038
10041
|
}, "onKup-cell-update": autoselectOnAction, "onKup-cell-blur": __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onBlurHandler), "onKup-cell-click": (e) => {
|
|
10039
10042
|
this.kupDataTableCellClick.emit(e.detail);
|
|
10040
10043
|
}, "onKup-cell-iconclick": (e) => {
|
|
10041
10044
|
this.kupDataTableCellIconClick.emit(e.detail);
|
|
10042
|
-
}
|
|
10045
|
+
}, "onKup-objectfield-searchpayload": (e) => {
|
|
10046
|
+
this.kupDataTableObjectFieldSearchPayload.emit(e.detail);
|
|
10047
|
+
}, "onKup-objectfield-opensearchmenu": (e) => {
|
|
10048
|
+
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10049
|
+
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10050
|
+
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10051
|
+
} }, h("style", { key: 'fd9be8e451c5ffa9eac38b77fe7cdcec5bb4ac25' }, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'ded2bb3eab1088b42e3cd875474b184496416c20', id: componentWrapperId, class: wrapClass }, h("div", { key: '7ea62e6a9223e9dfb12aa99eb50327f78f7ef07d', class: "group-wrapper" }, groupChips), h("div", { key: 'ccaca957644c051769e6a7111234f90b4afbb702', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
10043
10052
|
const t = event.target;
|
|
10044
10053
|
window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10045
10054
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10046
|
-
} }))) : null, h("div", { key: '
|
|
10055
|
+
} }))) : null, h("div", { key: 'ff21e85e544067d692d59efc0669a516f898ffc1', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
10047
10056
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10048
10057
|
this.kupSave.emit({
|
|
10049
10058
|
comp: this,
|
|
@@ -10093,9 +10102,9 @@ const KupDataTable = class {
|
|
|
10093
10102
|
this.data.rows.unshift(row);
|
|
10094
10103
|
await this.refresh(true);
|
|
10095
10104
|
}
|
|
10096
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10105
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'a4e1cb8725a776c63418a7271de3dd5b4e12b8eb', 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
|
|
10097
10106
|
? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10098
|
-
: null), h("div", { key: '
|
|
10107
|
+
: null), h("div", { key: 'c76f9556d25ff8fbe7c05ca6446ac3e637942b40', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10099
10108
|
? [
|
|
10100
10109
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10101
10110
|
__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10104,7 +10113,7 @@ const KupDataTable = class {
|
|
|
10104
10113
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10105
10114
|
this.renderCustomizePanel(),
|
|
10106
10115
|
]
|
|
10107
|
-
: null, h("table", { key: '
|
|
10116
|
+
: null, h("table", { key: '5bbaa3f6a4c117719a0cc26773f0d9334e0a4d6c', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10108
10117
|
ev.stopPropagation();
|
|
10109
10118
|
}, onPointerDown: (e) => {
|
|
10110
10119
|
__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");
|
|
@@ -10112,7 +10121,7 @@ const KupDataTable = class {
|
|
|
10112
10121
|
__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");
|
|
10113
10122
|
}, onContextMenu: (e) => {
|
|
10114
10123
|
e.preventDefault();
|
|
10115
|
-
} }, h("thead", { key: '
|
|
10124
|
+
} }, h("thead", { key: 'ac5823cb2dcbdcf6c1460e02ac7fcbc1584107cc', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '9c03ce09a2f07277258202df7ac1bf7d04f274ee' }, header)), h("tbody", { key: 'bb48749b9290b673bc588a28536a06023d069da3' }, rows), this.showFooter || __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
10116
10125
|
? this.renderFooter()
|
|
10117
10126
|
: null), stickyEl), paginatorBottom)));
|
|
10118
10127
|
return compCreated;
|
|
@@ -4,7 +4,7 @@ import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-ta
|
|
|
4
4
|
import { F as FImage } from './f-image-01041722.js';
|
|
5
5
|
import { c as FChip } from './f-chip-cc0af5b0.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-1ea7aba2.js';
|
|
8
8
|
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-a6ff95c6.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { k as kupManagerInstance, f as FCellPadding, au as KupCellElementsPosition, g as getProps, s as setProps, U as KupDragEffect, av as submitPositionAdapter, h as KupLanguageGeneric, aw as KupCellProps } from './kup-manager-2cecde50.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-a20849e0.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-1ea7aba2.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-01041722.js';
|
|
@@ -4,7 +4,7 @@ import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
|
4
4
|
import { F as FImage } from './f-image-01041722.js';
|
|
5
5
|
import { F as FButton } from './f-button-a20849e0.js';
|
|
6
6
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-1ea7aba2.js';
|
|
8
8
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
9
9
|
import './kup-dates-da19044e.js';
|
|
10
10
|
import './f-checkbox-b8f2f9c4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
2
|
import { F as FButton } from './f-button-a20849e0.js';
|
|
3
|
-
import { F as FCell } from './f-cell-
|
|
3
|
+
import { F as FCell } from './f-cell-1ea7aba2.js';
|
|
4
4
|
import { k as kupManagerInstance, a6 as FCellTypes, F as FCellShapes, g as getProps, s as setProps, h as KupLanguageGeneric, ab as getCellValueForDisplay, ah as CHIAdapter, ae as CMBandACPAdapter, ag as CHKAdapter, af as RADAdapter, ai as SWTAdapter, e as KupDebugCategory, O as KupPointerEventTypes } from './kup-manager-2cecde50.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-65229068.js';
|
|
@@ -163,6 +163,9 @@ const KupInputPanel = class {
|
|
|
163
163
|
registerInstance(this, hostRef);
|
|
164
164
|
this.kupReady = createEvent(this, "kup-input-panel-ready", 6);
|
|
165
165
|
this.kupDataTableContextMenu = createEvent(this, "kup-inputpanel-contextmenu", 6);
|
|
166
|
+
this.kupInputPanelObjectFieldSearchPayload = createEvent(this, "kup-inputpanel-objectfield-searchpayload", 6);
|
|
167
|
+
this.kupInputPanelObjectFieldOpenSearchMenu = createEvent(this, "kup-inputpanel-objectfield-opensearchmenu", 6);
|
|
168
|
+
this.kupInputPanelObjectFieldSelectedMenuItem = createEvent(this, "kup-inputpanel-objectfield-selectedmenuitem", 6);
|
|
166
169
|
_KupInputPanel_instances.add(this);
|
|
167
170
|
//#endregion
|
|
168
171
|
//#region VARIABLES
|
|
@@ -306,9 +309,15 @@ const KupInputPanel = class {
|
|
|
306
309
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
307
310
|
]
|
|
308
311
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
309
|
-
return (h(Host, { key: '
|
|
312
|
+
return (h(Host, { key: '495a5f5199a4ef356dc78d33bd9c55bc931cb775', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
|
|
310
313
|
this.tabSelected = e.detail.node.id;
|
|
311
|
-
}, "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)
|
|
314
|
+
}, "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) => {
|
|
315
|
+
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
316
|
+
}, "onKup-objectfield-opensearchmenu": (e) => {
|
|
317
|
+
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
318
|
+
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
319
|
+
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
320
|
+
} }, h("style", { key: '14698d6dcf396ae3c1c6257cceda4913d7463cd0' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '21ea9655e020abf22b7517157f8446adcd98b390', id: componentWrapperId }, inputPanelContent)));
|
|
312
321
|
}
|
|
313
322
|
disconnectedCallback() {
|
|
314
323
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|