@sme.up/ketchup 11.0.0-SNAPSHOT-20250304084455 → 11.0.0-SNAPSHOT-20250304101532
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-85a6d34f.js → f-cell-99cd86a8.js} +6 -6
- package/dist/cjs/{f-chip-2ef57266.js → f-chip-5e3aac74.js} +142 -20
- package/dist/cjs/{f-object-field-e3ce50b0.js → f-object-field-db728a84.js} +2 -2
- package/dist/cjs/{f-paginator-utils-bf7943d7.js → f-paginator-utils-b2e5e10a.js} +1 -1
- package/dist/cjs/{f-text-field-a60f6360.js → f-text-field-4399a408.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +37 -164
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-d466baa3.js → kup-data-table-helper-8ffff1e7.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-input-panel.cjs.entry.js +8 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-6aa5ac5c.js → kup-manager-83ec79ff.js} +2 -2
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +27 -6
- package/dist/collection/components/kup-chip/kup-chip.js +25 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +27 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -10
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +3 -6
- package/dist/collection/f-components/f-cell/f-cell.js +2 -2
- package/dist/collection/f-components/f-chip/f-chip.js +9 -19
- 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-file-upload.js +1 -1
- 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 +6 -9
- 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-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-0dc6d3d0.js → p-1e6b3f9c.js} +2 -2
- package/dist/components/{p-d7f8098a.js → p-6d8f94ab.js} +38 -42
- package/dist/components/{p-742fd4a8.js → p-8ce40321.js} +2 -2
- package/dist/components/{p-7a9e046d.js → p-a56976e4.js} +2 -2
- package/dist/components/{p-c0bf6472.js → p-c48fc437.js} +2 -2
- package/dist/components/{p-7855d728.js → p-cddf3f40.js} +2 -2
- package/dist/esm/{f-cell-bb40a68f.js → f-cell-4a9e9143.js} +6 -6
- package/dist/esm/{f-chip-e1c5f820.js → f-chip-03456661.js} +141 -21
- package/dist/esm/{f-object-field-679ee903.js → f-object-field-6f62d1eb.js} +2 -2
- package/dist/esm/{f-paginator-utils-d3a189e5.js → f-paginator-utils-08092423.js} +1 -1
- package/dist/esm/{f-text-field-caef463f.js → f-text-field-90415eb0.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_29.entry.js +31 -158
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-0cb9e65d.js → kup-data-table-helper-f31401da.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +5 -5
- package/dist/esm/kup-input-panel.entry.js +8 -11
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-2cf94be2.js → kup-manager-12a6fbac.js} +2 -2
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +3 -3
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-1b6c9425.entry.js → p-0255643e.entry.js} +1 -1
- package/dist/ketchup/{p-1765a3a0.entry.js → p-04cc5055.entry.js} +1 -1
- package/dist/ketchup/{p-77544225.js → p-091a23a7.js} +2 -2
- package/dist/ketchup/{p-c29f7db8.entry.js → p-0c284c5d.entry.js} +1 -1
- package/dist/ketchup/{p-c700f440.entry.js → p-0f6b7f14.entry.js} +1 -1
- package/dist/ketchup/{p-26ca1580.entry.js → p-1e10cede.entry.js} +1 -1
- package/dist/ketchup/{p-b52a2816.entry.js → p-240e7b18.entry.js} +1 -1
- package/dist/ketchup/p-2478ab90.entry.js +9 -0
- package/dist/ketchup/{p-70c88bf6.entry.js → p-2dcf63fd.entry.js} +1 -1
- package/dist/ketchup/{p-2b3fa234.js → p-3aa5d7ca.js} +1 -1
- package/dist/ketchup/{p-df047fd2.entry.js → p-3aca3561.entry.js} +1 -1
- package/dist/ketchup/{p-30b25338.entry.js → p-3f2339e4.entry.js} +1 -1
- package/dist/ketchup/{p-0dd89a8d.entry.js → p-405384e3.entry.js} +1 -1
- package/dist/ketchup/{p-6daba984.js → p-5543dfb6.js} +1 -1
- package/dist/ketchup/{p-9cb57011.entry.js → p-5c1e6ed7.entry.js} +1 -1
- package/dist/ketchup/p-5e3c53fb.js +1 -0
- package/dist/ketchup/{p-9df490a7.entry.js → p-70dfb0e1.entry.js} +1 -1
- package/dist/ketchup/{p-e871267c.entry.js → p-7110887e.entry.js} +1 -1
- package/dist/ketchup/{p-b2a360d3.entry.js → p-71600ae7.entry.js} +1 -1
- package/dist/ketchup/{p-9aaeb760.entry.js → p-76463800.entry.js} +1 -1
- package/dist/ketchup/{p-a6eb5435.entry.js → p-7e14bd12.entry.js} +1 -1
- package/dist/ketchup/{p-42b6c541.entry.js → p-81a96da0.entry.js} +1 -1
- package/dist/ketchup/{p-937ce346.entry.js → p-8412f3a5.entry.js} +1 -1
- package/dist/ketchup/{p-1e84b42e.entry.js → p-941facfa.entry.js} +1 -1
- package/dist/ketchup/{p-65229dac.entry.js → p-9befeab0.entry.js} +1 -1
- package/dist/ketchup/{p-35347b66.js → p-a9dae8cf.js} +1 -1
- package/dist/ketchup/{p-3dd9aa12.js → p-b14e559c.js} +1 -1
- package/dist/ketchup/{p-399cdcc4.entry.js → p-b3c1004a.entry.js} +1 -1
- package/dist/ketchup/{p-1ca7e242.entry.js → p-b411ecf8.entry.js} +1 -1
- package/dist/ketchup/{p-ee83c5b7.entry.js → p-c8803f17.entry.js} +1 -1
- package/dist/ketchup/{p-3195d0d0.entry.js → p-d180c246.entry.js} +1 -1
- package/dist/ketchup/{p-1a3e3ea6.js → p-d5d194ce.js} +1 -1
- package/dist/ketchup/{p-43dfb613.entry.js → p-dc830a56.entry.js} +1 -1
- package/dist/ketchup/{p-77eac892.entry.js → p-e3261693.entry.js} +1 -1
- package/dist/ketchup/{p-f9b5bd3d.entry.js → p-f432167f.entry.js} +1 -1
- package/dist/ketchup/{p-965c7e24.entry.js → p-f45fdcfd.entry.js} +1 -1
- package/dist/ketchup/{p-f34adc5a.entry.js → p-f7612f29.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +4 -0
- package/dist/types/components/kup-chip/kup-chip.d.ts +5 -0
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components.d.ts +26 -0
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +1 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-d0cf9c5e.js +0 -1
- package/dist/ketchup/p-d1578aab.entry.js +0 -9
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import {
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupLanguageSearch, u as KupCardFamily, v as KupCardProps, w as getColumnByName, x as formatToNumber, y as KupObjects, z as identify, G as GroupLabelDisplayMode, S as SelectionMode, A as KupLanguageGrouping, B as KupLanguageCheckbox, C as getValueForDisplay2, D as Filters, E as getValueForDisplay, H as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, J as ShowGrid, T as TotalLabel, M as TotalMode, N as getRegExpFromString, O as isNegativeNumber, Q as FCellClasses, R as kupDynamicPositionAttribute, U as KupPointerEventTypes, V as kupDraggableColumnAttr, W as kupDragActiveAttr, X as KupDragEffect, Y as kupDraggableCellAttr, Z as KupDropEventTypes, _ as FixedCellsClasses, $ as FixedCellsCSSVarsBase, a0 as KupLanguageFontsize, a1 as KupLanguageDensity, a2 as KupLanguageGrid, a3 as KupDataTableProps, a4 as DataTableAreasEnum, a5 as SortMode, a6 as iconColumn, a7 as keyColumn, a8 as fieldColumn, a9 as KupLanguageUpload, aa as FCellTypes, ab as KupListRole, ac as KupListProps, ad as addColumnValueFromRow, ae as KupGlobalFilterMode } from './kup-manager-12a6fbac.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-90415eb0.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
+
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-03456661.js';
|
|
5
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
6
7
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
7
8
|
import { F as FButton } from './f-button-365673bb.js';
|
|
8
9
|
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-
|
|
10
|
+
import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-4a9e9143.js';
|
|
10
11
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-da19044e.js';
|
|
11
|
-
import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-e1c5f820.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-f31401da.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-08092423.js';
|
|
16
|
+
import './f-object-field-6f62d1eb.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -36,137 +36,6 @@ var KupAutocompleteProps;
|
|
|
36
36
|
KupAutocompleteProps["showMarker"] = "When true shows a small marker on the component";
|
|
37
37
|
})(KupAutocompleteProps || (KupAutocompleteProps = {}));
|
|
38
38
|
|
|
39
|
-
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
40
|
-
const { id, value } = item;
|
|
41
|
-
if (id == null && value) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
if (id && value == null) {
|
|
45
|
-
return id;
|
|
46
|
-
}
|
|
47
|
-
switch (mode) {
|
|
48
|
-
case ItemsDisplayMode.CODE:
|
|
49
|
-
return id;
|
|
50
|
-
case ItemsDisplayMode.DESCRIPTION:
|
|
51
|
-
return value;
|
|
52
|
-
case ItemsDisplayMode.CODE_AND_DESC:
|
|
53
|
-
case ItemsDisplayMode.CODE_AND_DESC_ALIAS:
|
|
54
|
-
return id && value ? id + separator + value : id || value;
|
|
55
|
-
case ItemsDisplayMode.DESC_AND_CODE:
|
|
56
|
-
return value && id ? value + separator + id : value || id;
|
|
57
|
-
default:
|
|
58
|
-
return id;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
function consistencyCheck(idIn, listData, listEl, selectMode, displayMode, e) {
|
|
62
|
-
const validList = !!(listEl && listData && listData['data']);
|
|
63
|
-
let id = '';
|
|
64
|
-
let displayedValue = '';
|
|
65
|
-
let selected = null;
|
|
66
|
-
if (e != null) {
|
|
67
|
-
selected = e.detail.selected;
|
|
68
|
-
}
|
|
69
|
-
if (selected == null && idIn != null && validList) {
|
|
70
|
-
selected = getItemByDisplayMode(listData, idIn, displayMode, true);
|
|
71
|
-
listEl.data = [...listData['data']];
|
|
72
|
-
}
|
|
73
|
-
if (selected == null && idIn == null && listData) {
|
|
74
|
-
selected = getFirstItemSelected(listData);
|
|
75
|
-
}
|
|
76
|
-
let trueValue = null;
|
|
77
|
-
if (selected == null) {
|
|
78
|
-
selected = {
|
|
79
|
-
id: idIn == null ? '' : idIn,
|
|
80
|
-
value: idIn == null ? '' : idIn,
|
|
81
|
-
};
|
|
82
|
-
id = selected.id;
|
|
83
|
-
displayedValue = selected.id;
|
|
84
|
-
trueValue = selected.id;
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
id = getIdOfItemByDisplayMode(selected, selectMode, ' - ');
|
|
88
|
-
displayedValue = getIdOfItemByDisplayMode(selected, id == '' ? ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
|
|
89
|
-
trueValue = getIdOfItemByDisplayMode(selected, ItemsDisplayMode.CODE, ' - ');
|
|
90
|
-
}
|
|
91
|
-
const listNode = validList
|
|
92
|
-
? listData['data'].find((x) => x.id === trueValue)
|
|
93
|
-
: null;
|
|
94
|
-
let exists = listNode ? true : false;
|
|
95
|
-
return {
|
|
96
|
-
value: id,
|
|
97
|
-
displayedValue: displayedValue,
|
|
98
|
-
node: listNode,
|
|
99
|
-
exists: exists,
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
function getFirstItemSelected(listData) {
|
|
103
|
-
if (listData['data']) {
|
|
104
|
-
for (let i = 0; i < listData['data'].length; i++) {
|
|
105
|
-
if (listData['data'][i].selected) {
|
|
106
|
-
return listData['data'][i];
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return null;
|
|
111
|
-
}
|
|
112
|
-
function getItemById(listData, id, setSelected) {
|
|
113
|
-
if (listData && listData['data']) {
|
|
114
|
-
let found = false;
|
|
115
|
-
let item = null;
|
|
116
|
-
for (let i = 0; i < listData['data'].length; i++) {
|
|
117
|
-
if (setSelected == true) {
|
|
118
|
-
listData['data'][i].selected = false;
|
|
119
|
-
}
|
|
120
|
-
if (!found &&
|
|
121
|
-
listData['data'][i].id.toString().toLowerCase() ==
|
|
122
|
-
id.toString().toLowerCase()) {
|
|
123
|
-
item = listData['data'][i];
|
|
124
|
-
item.selected = true;
|
|
125
|
-
found = true;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
if (found == true) {
|
|
129
|
-
return item;
|
|
130
|
-
}
|
|
131
|
-
for (let i = 0; i < listData['data'].length; i++) {
|
|
132
|
-
if (listData['data'][i].value.toString().toLowerCase() ==
|
|
133
|
-
id.toString().toLowerCase()) {
|
|
134
|
-
item = listData['data'][i];
|
|
135
|
-
item.selected = true;
|
|
136
|
-
found = true;
|
|
137
|
-
break;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
if (found == true) {
|
|
141
|
-
return item;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
return null;
|
|
145
|
-
}
|
|
146
|
-
function getItemByDisplayMode(listData, id, displayMode, setSelected) {
|
|
147
|
-
if (listData && listData['data']) {
|
|
148
|
-
let found = false;
|
|
149
|
-
let item = null;
|
|
150
|
-
for (let i = 0; i < listData['data'].length; i++) {
|
|
151
|
-
let displayedValue = getIdOfItemByDisplayMode(listData['data'][i], id == '' ? ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
|
|
152
|
-
if (setSelected == true) {
|
|
153
|
-
listData['data'][i].selected = false;
|
|
154
|
-
}
|
|
155
|
-
if (!found &&
|
|
156
|
-
displayedValue.toString().toLowerCase() ==
|
|
157
|
-
id.toString().toLowerCase()) {
|
|
158
|
-
item = listData['data'][i];
|
|
159
|
-
item.selected = true;
|
|
160
|
-
found = true;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
if (found == true) {
|
|
164
|
-
return item;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
return getItemById(listData, id, setSelected);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
39
|
const kupAutocompleteCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;width:max-content}.kup-icon{transition:transform 0.15s}.toggled .kup-icon.kup-dropdown-icon{transform:rotate(-180deg)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color-60);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color-50);--kup-textfield-primary-color-rgb:var(--kup-warning-color-50-rgb)}";
|
|
171
40
|
const KupAutocompleteStyle0 = kupAutocompleteCss;
|
|
172
41
|
|
|
@@ -219,6 +88,7 @@ const KupAutocomplete = class {
|
|
|
219
88
|
this.data = undefined;
|
|
220
89
|
this.disabled = false;
|
|
221
90
|
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
91
|
+
this.listDisplayMode = ItemsDisplayMode.DESCRIPTION;
|
|
222
92
|
this.error = '';
|
|
223
93
|
this.icon = null;
|
|
224
94
|
this.initialValue = '';
|
|
@@ -506,7 +376,7 @@ const KupAutocomplete = class {
|
|
|
506
376
|
};
|
|
507
377
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
508
378
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
509
|
-
return (h(Host, { key: '
|
|
379
|
+
return (h(Host, { key: '7577f0a619a0487b8f00dc33ad5ceff3cbea32a3', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$a(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: 'ce567026914bb259e6da13a041c5e0923e044c38' }, __classPrivateFieldGet$a(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '53ff86d1f1000d7aa3a807f5fb456cb823c30bb5', id: componentWrapperId, style: __classPrivateFieldGet$a(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '558f0f16a28d3e106687b59a431371ea495bae61' }, props, { icon: this.showDropDownIcon
|
|
510
380
|
? KupThemeIconValues.SEARCH
|
|
511
381
|
: null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
512
382
|
window.clearTimeout(__classPrivateFieldGet$a(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -585,11 +455,7 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
585
455
|
return ret;
|
|
586
456
|
}
|
|
587
457
|
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
588
|
-
|
|
589
|
-
const displayModeForList = ((_a = this.data['kup-list'].options) === null || _a === void 0 ? void 0 : _a.length) === 1
|
|
590
|
-
? ItemsDisplayMode.CODE
|
|
591
|
-
: ItemsDisplayMode.CODE_AND_DESC;
|
|
592
|
-
return (h("kup-list", Object.assign({ displayMode: displayModeForList }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$5(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
458
|
+
return (h("kup-list", Object.assign({ displayMode: this.listDisplayMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$5(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
593
459
|
}, _KupAutocomplete_calcSize = function _KupAutocomplete_calcSize() {
|
|
594
460
|
var _a, _b;
|
|
595
461
|
// Explicitly setting size from sub-components props, if present
|
|
@@ -7076,6 +6942,7 @@ const KupChip = class {
|
|
|
7076
6942
|
this.customStyle = '';
|
|
7077
6943
|
this.data = [];
|
|
7078
6944
|
this.enableInput = false;
|
|
6945
|
+
this.disabled = false;
|
|
7079
6946
|
this.type = FChipType.STANDARD;
|
|
7080
6947
|
this.sizing = FChipSize.SMALL;
|
|
7081
6948
|
this.styling = FChipStyling.RAISED;
|
|
@@ -7228,6 +7095,7 @@ const KupChip = class {
|
|
|
7228
7095
|
warning: this.rootElement.classList.contains('kup-warning')
|
|
7229
7096
|
? true
|
|
7230
7097
|
: false,
|
|
7098
|
+
disabled: this.disabled,
|
|
7231
7099
|
};
|
|
7232
7100
|
for (let j = 0; this.data && j < this.data.length; j++) {
|
|
7233
7101
|
props.onBlur.push((chip) => this.onKupBlur(chip));
|
|
@@ -7242,13 +7110,13 @@ const KupChip = class {
|
|
|
7242
7110
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
7243
7111
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
7244
7112
|
}
|
|
7245
|
-
return (h(Host, { key: '
|
|
7113
|
+
return (h(Host, { key: '533a5f181eeb49228d98620d317fa994f5a8f9d6', "onKup-autocomplete-itemclick": (e) => {
|
|
7246
7114
|
__classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7247
7115
|
}, "onKup-combobox-itemclick": (e) => {
|
|
7248
7116
|
__classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7249
7117
|
}, "onKup-textfield-change": (e) => {
|
|
7250
7118
|
__classPrivateFieldGet$9(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7251
|
-
} }, h("style", { key: '
|
|
7119
|
+
} }, h("style", { key: 'ec7e8e382857042e9c3860f57406f29a762f15b1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '157ff6221c5470dfd8abd8d2e512f0577bb863e4', id: componentWrapperId }, this.label ? (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: '885d6b61a1540805d593d9c1a7e8cf6dfc7b903a', name: "field" }))));
|
|
7252
7120
|
}
|
|
7253
7121
|
disconnectedCallback() {
|
|
7254
7122
|
this.kupManager.theme.unregister(this);
|
|
@@ -7646,6 +7514,7 @@ const KupCombobox = class {
|
|
|
7646
7514
|
this.data = undefined;
|
|
7647
7515
|
this.disabled = false;
|
|
7648
7516
|
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
7517
|
+
this.listDisplayMode = ItemsDisplayMode.DESCRIPTION;
|
|
7649
7518
|
this.error = '';
|
|
7650
7519
|
this.icon = null;
|
|
7651
7520
|
this.initialValue = '';
|
|
@@ -7907,7 +7776,7 @@ const KupCombobox = class {
|
|
|
7907
7776
|
};
|
|
7908
7777
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
7909
7778
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
7910
|
-
return (h(Host, { key: '
|
|
7779
|
+
return (h(Host, { key: '7a79e1f9225b8e7c6333e23cf661e866b561be5b', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$8(this, _KupCombobox_elStyle, "f") }, h("style", { key: '1c6ccb9f133f50b27fac94d7372d97b6be9d7087' }, __classPrivateFieldGet$8(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '5f89a091c92a2483ae68883a022ace37e815bf99', id: componentWrapperId, style: __classPrivateFieldGet$8(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: 'ac79467e90eeb6d3b0f6dae5277e2364e7143ca6' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
7911
7780
|
? KupThemeIconValues.DROPDOWN
|
|
7912
7781
|
: null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$8(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
7913
7782
|
}
|
|
@@ -7982,7 +7851,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7982
7851
|
}
|
|
7983
7852
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
7984
7853
|
var _a, _b;
|
|
7985
|
-
return (h("kup-list", Object.assign({ displayMode:
|
|
7854
|
+
return (h("kup-list", Object.assign({ displayMode: this.listDisplayMode }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$4(this, _KupCombobox_listEl, el, "f")) })));
|
|
7986
7855
|
};
|
|
7987
7856
|
KupCombobox.style = KupComboboxStyle0;
|
|
7988
7857
|
|
|
@@ -9009,6 +8878,10 @@ const KupDataTable = class {
|
|
|
9009
8878
|
? [...state.visibleColumns]
|
|
9010
8879
|
: undefined;
|
|
9011
8880
|
}
|
|
8881
|
+
else {
|
|
8882
|
+
__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").debug.logMessage(this, 'Persisting initial stateId ' + this.stateId);
|
|
8883
|
+
this.store.persistState(this.stateId, this.state);
|
|
8884
|
+
}
|
|
9012
8885
|
}
|
|
9013
8886
|
}
|
|
9014
8887
|
persistState() {
|
|
@@ -10110,7 +9983,7 @@ const KupDataTable = class {
|
|
|
10110
9983
|
}
|
|
10111
9984
|
let rows = null;
|
|
10112
9985
|
if (__classPrivateFieldGet$7(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10113
|
-
rows = (h("tr", { key: '
|
|
9986
|
+
rows = (h("tr", { key: '3b935ea885faeb04c873641dd44e687fef08291c', ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '3d2443a3b942c6c7c448aee0b08d294e24a6583c', colSpan: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10114
9987
|
}
|
|
10115
9988
|
else {
|
|
10116
9989
|
rows = [];
|
|
@@ -10175,7 +10048,7 @@ const KupDataTable = class {
|
|
|
10175
10048
|
for (let i = 0; i < chipsData.length; i++) {
|
|
10176
10049
|
props.onIconClick.push(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
10177
10050
|
}
|
|
10178
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10051
|
+
groupChips = h(FChip, Object.assign({ key: '7cf9bb157232dd49ff9c5353f8e8818eeb657747' }, props));
|
|
10179
10052
|
}
|
|
10180
10053
|
}
|
|
10181
10054
|
const tableClass = {
|
|
@@ -10207,7 +10080,7 @@ const KupDataTable = class {
|
|
|
10207
10080
|
if (this.headerIsPersistent &&
|
|
10208
10081
|
this.tableHeight === undefined &&
|
|
10209
10082
|
this.tableWidth === undefined) {
|
|
10210
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10083
|
+
stickyEl = (h("sticky-header", { key: '4ebee58565a99ad333fe8829b6a00be452fc4b54', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'b1cab09c983671c10a20eed31266354544aa92b4' }, h("tr-sticky", { key: '648d8c10c2ca787f64c0bdf7d6626abc61af8832' }, stickyHeader))));
|
|
10211
10084
|
}
|
|
10212
10085
|
let belowClass = 'below-wrapper';
|
|
10213
10086
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10253,7 +10126,7 @@ const KupDataTable = class {
|
|
|
10253
10126
|
const useGlobalFilter = !this.legacyLook &&
|
|
10254
10127
|
(this.globalFilter ||
|
|
10255
10128
|
this.getRows().length > __classPrivateFieldGet$7(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10256
|
-
const compCreated = (h(Host, { key: '
|
|
10129
|
+
const compCreated = (h(Host, { key: 'f0de1bf91adc23c60038a86ffcd3154cfe12132c', "onKup-drop": (e) => {
|
|
10257
10130
|
this.kupDataTableDrop.emit(e.detail);
|
|
10258
10131
|
}, "onKup-cell-input": (e) => {
|
|
10259
10132
|
autoselectOnAction(e);
|
|
@@ -10268,11 +10141,11 @@ const KupDataTable = class {
|
|
|
10268
10141
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10269
10142
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10270
10143
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10271
|
-
} }, h("style", { key: '
|
|
10144
|
+
} }, h("style", { key: '80427b3ea45b719aba58ff2fb1cbadde142c1e7b' }, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'e17aa2dcd81b7603123deb98d2f243d814af0882', id: componentWrapperId, class: wrapClass }, h("div", { key: 'ee5d899eb4a8cb9dee042b3641314fb4d51269d0', class: "group-wrapper" }, groupChips), h("div", { key: '95034f19273c4e2d6b2c565510ec11889e094b64', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
10272
10145
|
const t = event.target;
|
|
10273
10146
|
window.clearTimeout(__classPrivateFieldGet$7(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10274
10147
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10275
|
-
} }))) : null, h("div", { key: '
|
|
10148
|
+
} }))) : null, h("div", { key: '2cbf20566978467ea2c8f31d9d8083cc25caf5ef', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
10276
10149
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10277
10150
|
this.kupSave.emit({
|
|
10278
10151
|
comp: this,
|
|
@@ -10322,9 +10195,9 @@ const KupDataTable = class {
|
|
|
10322
10195
|
this.data.rows.unshift(row);
|
|
10323
10196
|
await this.refresh(true);
|
|
10324
10197
|
}
|
|
10325
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10198
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'fb1bc234b14babe7132fdccb58b360732c182ddf', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10326
10199
|
? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10327
|
-
: null), h("div", { key: '
|
|
10200
|
+
: null), h("div", { key: 'f782b61c42838bf1594caede4fee06a457cd44c1', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10328
10201
|
? [
|
|
10329
10202
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10330
10203
|
__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10333,7 +10206,7 @@ const KupDataTable = class {
|
|
|
10333
10206
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10334
10207
|
this.renderCustomizePanel(),
|
|
10335
10208
|
]
|
|
10336
|
-
: null, h("table", { key: '
|
|
10209
|
+
: null, h("table", { key: '82d1056d837505f9ce3e3d59f3554fafa53446c0', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10337
10210
|
ev.stopPropagation();
|
|
10338
10211
|
}, onPointerDown: (e) => {
|
|
10339
10212
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10341,7 +10214,7 @@ const KupDataTable = class {
|
|
|
10341
10214
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10342
10215
|
}, onContextMenu: (e) => {
|
|
10343
10216
|
e.preventDefault();
|
|
10344
|
-
} }, h("thead", { key: '
|
|
10217
|
+
} }, h("thead", { key: '4c65298c63c67ff1c14ea6e1d10fe6ca06c9833c', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'bf2b2b0eef4e56a8d2254881eb884324f16ce9ef' }, header)), h("tbody", { key: '31f0156008ef84ec3d3d73f86f41d63a614878a8' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10345
10218
|
__classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10346
10219
|
return compCreated;
|
|
10347
10220
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, z as identify, g as getProps, s as setProps, a5 as SortMode, w as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, U as KupPointerEventTypes, X as KupDragEffect, aD as kupDraggableAttr, Z as KupDropEventTypes, t as KupLanguageSearch } from './kup-manager-
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, z as identify, g as getProps, s as setProps, a5 as SortMode, w as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, U as KupPointerEventTypes, X as KupDragEffect, aD as kupDraggableAttr, Z as KupDropEventTypes, t as KupLanguageSearch } from './kup-manager-12a6fbac.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-f31401da.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import {
|
|
5
|
+
import { d as FChip } from './f-chip-03456661.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-4a9e9143.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-08092423.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
11
11
|
import './f-button-365673bb.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-6f62d1eb.js';
|
|
15
|
+
import './f-text-field-90415eb0.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, w as getColumnByName, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, w as getColumnByName, e as KupDebugCategory } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-365673bb.js';
|
|
5
|
-
import {
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-03456661.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupCardFamily, af as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupCardFamily, af as getCellValueForDisplay } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, f as FCellPadding, ax as KupCellElementsPosition, g as getProps, s as setProps, X as KupDragEffect, ay as submitPositionAdapter, h as KupLanguageGeneric, az as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, f as FCellPadding, ax as KupCellElementsPosition, g as getProps, s as setProps, X as KupDragEffect, ay as submitPositionAdapter, h as KupLanguageGeneric, az as KupCellProps } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-365673bb.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-4a9e9143.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
9
9
|
import './f-checkbox-5cdd1cad.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-03456661.js';
|
|
11
|
+
import './f-object-field-6f62d1eb.js';
|
|
12
|
+
import './f-text-field-90415eb0.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-365673bb.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-90415eb0.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aA as KupLanguageDashboard, h as KupLanguageGeneric, X as KupDragEffect, e as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aA as KupLanguageDashboard, h as KupLanguageGeneric, X as KupDragEffect, e as KupDebugCategory } from './kup-manager-12a6fbac.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Filters, E as getValueForDisplay, C as getValueForDisplay2, af as getCellValueForDisplay, w as getColumnByName, y as KupObjects, ag as KupData, ah as compareCell, M as TotalMode, N as getRegExpFromString, F as FCellShapes, ai as CMBandACPAdapter, aj as RADAdapter, ak as CHKAdapter, al as CHIAdapter, am as SWTAdapter, a5 as SortMode } from './kup-manager-
|
|
1
|
+
import { D as Filters, E as getValueForDisplay, C as getValueForDisplay2, af as getCellValueForDisplay, w as getColumnByName, y as KupObjects, ag as KupData, ah as compareCell, M as TotalMode, N as getRegExpFromString, F as FCellShapes, ai as CMBandACPAdapter, aj as RADAdapter, ak as CHKAdapter, al as CHIAdapter, am as SWTAdapter, a5 as SortMode } from './kup-manager-12a6fbac.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, w as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, w as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-365673bb.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, U as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, U as KupPointerEventTypes } from './kup-manager-12a6fbac.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-da19044e.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import './kup-dates-da19044e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, U as KupPointerEventTypes, f as FCellPadding } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, U as KupPointerEventTypes, f as FCellPadding } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { F as FButton } from './f-button-365673bb.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-4a9e9143.js';
|
|
8
8
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
9
9
|
import './kup-dates-da19044e.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-03456661.js';
|
|
12
|
+
import './f-object-field-6f62d1eb.js';
|
|
13
|
+
import './f-text-field-90415eb0.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Props of the kup-image-list component.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-365673bb.js';
|
|
3
|
-
import { F as FCell, f as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, aa as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, af as getCellValueForDisplay, al as CHIAdapter, ai as CMBandACPAdapter, ak as CHKAdapter, aj as RADAdapter, am as SWTAdapter, e as KupDebugCategory, U as KupPointerEventTypes } from './kup-manager-
|
|
3
|
+
import { F as FCell, f as FLabel } from './f-cell-4a9e9143.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, aa as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, af as getCellValueForDisplay, al as CHIAdapter, ai as CMBandACPAdapter, ak as CHKAdapter, aj as RADAdapter, am as SWTAdapter, e as KupDebugCategory, U as KupPointerEventTypes } from './kup-manager-12a6fbac.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-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-03456661.js';
|
|
12
|
+
import './f-object-field-6f62d1eb.js';
|
|
13
|
+
import './f-text-field-90415eb0.js';
|
|
14
14
|
import './kup-dates-da19044e.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -376,7 +376,7 @@ const KupInputPanel = class {
|
|
|
376
376
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
377
377
|
]
|
|
378
378
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
379
|
-
return (h(Host, { key: '
|
|
379
|
+
return (h(Host, { key: 'b41fb917004957fe55dea1a6a7d9d757a5573dd9', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
380
380
|
this.tabSelected = e.detail.node.id;
|
|
381
381
|
}, "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-cell-itemclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK), "onKup-objectfield-searchpayload": (e) => {
|
|
382
382
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
@@ -384,7 +384,7 @@ const KupInputPanel = class {
|
|
|
384
384
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
385
385
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
386
386
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
387
|
-
} }, h("style", { key: '
|
|
387
|
+
} }, h("style", { key: '5164d3f4000e148690e88a7b31a98e4d0068a93e' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '57a7da363f3d548807e8c3b656ea6834ffb9a145', id: componentWrapperId }, inputPanelContent)));
|
|
388
388
|
}
|
|
389
389
|
disconnectedCallback() {
|
|
390
390
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -502,8 +502,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
502
502
|
cell,
|
|
503
503
|
column,
|
|
504
504
|
row,
|
|
505
|
-
component: this,
|
|
506
505
|
editable: true,
|
|
506
|
+
component: this,
|
|
507
507
|
renderKup: true,
|
|
508
508
|
setSizes: true,
|
|
509
509
|
};
|
|
@@ -885,9 +885,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
885
885
|
: null;
|
|
886
886
|
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
887
887
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
888
|
-
if (!cell.isEditable) {
|
|
889
|
-
return null;
|
|
890
|
-
}
|
|
891
888
|
if (cellType === FCellTypes.CHIP) {
|
|
892
889
|
return {
|
|
893
890
|
trailingIcon: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-12a6fbac.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|