@sme.up/ketchup 11.0.0-SNAPSHOT-20251125104152 → 11.0.0-SNAPSHOT-20251201090245
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-15f0e3d8.js → f-cell-06f41e1b.js} +10 -10
- package/dist/cjs/{f-chip-1f1a9829.js → f-chip-8d18d91d.js} +9 -9
- package/dist/cjs/{f-object-field-7264b902.js → f-object-field-a7aad942.js} +2 -2
- package/dist/cjs/{f-paginator-utils-0b88eb98.js → f-paginator-utils-f3034c12.js} +5 -5
- package/dist/cjs/{f-text-field-2f9c646d.js → f-text-field-9a401ac4.js} +4 -2
- 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_30.cjs.entry.js +53 -67
- 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-292af776.js → kup-data-table-helper-8a30bc54.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-input-panel.cjs.entry.js +10 -10
- 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-af4de85d.js → kup-manager-51844a7d.js} +5 -5
- 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/assets/card.js +2 -2
- package/dist/collection/assets/data-table.js +3 -3
- package/dist/collection/assets/form.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +11 -11
- package/dist/collection/components/kup-chip/kup-chip-declarations.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +6 -6
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +2 -1
- package/dist/collection/components/kup-combobox/kup-combobox.js +11 -11
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button-declarations.js +1 -1
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +5 -5
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +5 -5
- package/dist/collection/components/kup-list/kup-list-helper.js +5 -5
- package/dist/collection/components/kup-list/kup-list.js +5 -5
- package/dist/collection/components/kup-tree/kup-tree.js +18 -34
- package/dist/collection/f-components/f-cell/f-cell.js +4 -4
- package/dist/collection/f-components/f-chip/f-chip.js +3 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +3 -3
- package/dist/collection/f-components/f-text-field/f-text-field.js +3 -1
- package/dist/collection/utils/cell-utils.js +5 -5
- 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 +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +8 -8
- 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-849d8012.js → p-4db73c8a.js} +2 -2
- package/dist/components/{p-c1e159c2.js → p-55bb63e7.js} +2 -2
- package/dist/components/{p-0497ebe5.js → p-5a3d0bf2.js} +5 -5
- package/dist/components/{p-fe2a2d3e.js → p-6a5184f4.js} +2 -2
- package/dist/components/{p-107d75ba.js → p-f4d62101.js} +76 -88
- package/dist/components/{p-1470a155.js → p-fa6a4926.js} +2 -2
- package/dist/esm/{f-cell-1b003ccd.js → f-cell-b2681485.js} +10 -10
- package/dist/esm/{f-chip-2b1b3544.js → f-chip-ccc3f97c.js} +9 -9
- package/dist/esm/{f-object-field-a234558f.js → f-object-field-96b40820.js} +2 -2
- package/dist/esm/{f-paginator-utils-7f69eaa3.js → f-paginator-utils-e99efbfb.js} +5 -5
- package/dist/esm/{f-text-field-4ef83a74.js → f-text-field-2898964c.js} +4 -2
- 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_30.entry.js +53 -67
- 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-3832776d.js → kup-data-table-helper-54809d36.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-input-panel.entry.js +10 -10
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-53906723.js → kup-manager-cafa84f3.js} +5 -5
- 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-339d7438.entry.js → p-02378652.entry.js} +1 -1
- package/dist/ketchup/{p-ae382c78.entry.js → p-08761e63.entry.js} +1 -1
- package/dist/ketchup/p-0ef5545c.entry.js +1 -0
- package/dist/ketchup/{p-d6bf9d14.js → p-131d02e5.js} +1 -1
- package/dist/ketchup/{p-7f6a52f1.entry.js → p-1508f846.entry.js} +1 -1
- package/dist/ketchup/{p-10367f2b.entry.js → p-152ed137.entry.js} +1 -1
- package/dist/ketchup/{p-bdfc5fcf.entry.js → p-1fded783.entry.js} +1 -1
- package/dist/ketchup/{p-ceda8fa4.entry.js → p-308028ef.entry.js} +1 -1
- package/dist/ketchup/{p-9f2abfd6.entry.js → p-3fcb121a.entry.js} +1 -1
- package/dist/ketchup/{p-8b5ab195.js → p-49dfe632.js} +1 -1
- package/dist/ketchup/{p-ba6b283e.entry.js → p-4b8e41b8.entry.js} +1 -1
- package/dist/ketchup/{p-a9994a05.entry.js → p-53d3b004.entry.js} +1 -1
- package/dist/ketchup/p-5434838f.js +1 -0
- package/dist/ketchup/{p-b6519054.entry.js → p-5f03e966.entry.js} +1 -1
- package/dist/ketchup/p-64c95c83.js +1 -0
- package/dist/ketchup/{p-77fc5eaf.entry.js → p-6a4a0d38.entry.js} +1 -1
- package/dist/ketchup/p-6ecb98ae.entry.js +8 -0
- package/dist/ketchup/{p-ae4fd0eb.entry.js → p-76cf473a.entry.js} +1 -1
- package/dist/ketchup/{p-6f0eaff3.entry.js → p-8974efec.entry.js} +1 -1
- package/dist/ketchup/{p-b1256195.entry.js → p-89dabd6e.entry.js} +1 -1
- package/dist/ketchup/{p-21dc5934.entry.js → p-8ed38785.entry.js} +1 -1
- package/dist/ketchup/p-9600ce9a.js +1 -0
- package/dist/ketchup/{p-3e905afa.entry.js → p-98496351.entry.js} +1 -1
- package/dist/ketchup/{p-feba5a53.entry.js → p-9c686dd5.entry.js} +1 -1
- package/dist/ketchup/{p-bf0510af.entry.js → p-9f9605c9.entry.js} +1 -1
- package/dist/ketchup/{p-774c3c21.entry.js → p-a91a64dd.entry.js} +1 -1
- package/dist/ketchup/{p-09337603.entry.js → p-abef591a.entry.js} +1 -1
- package/dist/ketchup/{p-8e2c19a6.entry.js → p-b97a2fae.entry.js} +1 -1
- package/dist/ketchup/{p-5a82356a.entry.js → p-b9d044dd.entry.js} +1 -1
- package/dist/ketchup/{p-0967bb61.entry.js → p-bda08688.entry.js} +1 -1
- package/dist/ketchup/{p-b961eebf.entry.js → p-d218199c.entry.js} +1 -1
- package/dist/ketchup/{p-af914cdf.js → p-d66832f6.js} +1 -1
- package/dist/ketchup/p-e59fd0c5.js +1 -0
- package/dist/ketchup/{p-84cfb459.entry.js → p-e9f5949f.entry.js} +1 -1
- package/dist/ketchup/{p-17fe09b5.entry.js → p-f890d822.entry.js} +1 -1
- package/dist/ketchup/{p-01d7a61a.entry.js → p-fda8a7b9.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +2 -2
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +1 -1
- package/dist/types/components/kup-chip/kup-chip.d.ts +1 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +2 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +2 -2
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button-declarations.d.ts +1 -1
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +1 -1
- package/dist/types/components/kup-list/kup-list-helper.d.ts +2 -2
- package/dist/types/components/kup-list/kup-list.d.ts +1 -1
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -1
- package/dist/types/components.d.ts +66 -66
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +1 -1
- package/dist/types/utils/cell-utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/ketchup/p-22e5d270.js +0 -1
- package/dist/ketchup/p-65240069.js +0 -1
- package/dist/ketchup/p-7537f52f.entry.js +0 -1
- package/dist/ketchup/p-7e2316a5.js +0 -1
- package/dist/ketchup/p-7e2d6bff.entry.js +0 -8
- package/dist/ketchup/p-ec727684.js +0 -1
|
@@ -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-ef8cbd35.js';
|
|
2
|
-
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as identify, aa as KupListProps, ab as KupCardFamily, ac as KupListRole, ad as KupLanguageUpload, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as DataTableAreasEnum, an as TypesToDuplicate, ao as FixedCellsClasses, ap as FixedCellsCSSVarsBase, aq as KupLanguageFontsize, ar as KupLanguageDensity, as as KupLanguageGrid, at as KupDataTableProps, au as UseAsValue, av as iconColumn, aw as keyColumn, ax as fieldColumn, ay as getSizeOfInputElement, az as KupCardProps } from './p-
|
|
2
|
+
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as identify, aa as KupListProps, ab as KupCardFamily, ac as KupListRole, ad as KupLanguageUpload, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as DataTableAreasEnum, an as TypesToDuplicate, ao as FixedCellsClasses, ap as FixedCellsCSSVarsBase, aq as KupLanguageFontsize, ar as KupLanguageDensity, as as KupLanguageGrid, at as KupDataTableProps, au as UseAsValue, av as iconColumn, aw as keyColumn, ax as fieldColumn, ay as getSizeOfInputElement, az as KupCardProps } from './p-5a3d0bf2.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-60e697f5.js';
|
|
5
5
|
|
|
@@ -1333,7 +1333,9 @@ function setContent(props) {
|
|
|
1333
1333
|
webkitMask: svg,
|
|
1334
1334
|
};
|
|
1335
1335
|
}
|
|
1336
|
-
iconEl = (h("span", { style: iconStyle, onClick: props.onIconClick,
|
|
1336
|
+
iconEl = (h("span", { style: iconStyle, onClick: props.onIconClick, onMouseDown: (e) => {
|
|
1337
|
+
e.preventDefault();
|
|
1338
|
+
}, class: `mdc-text-field__icon kup-icon action ${iconClass}` }));
|
|
1337
1339
|
}
|
|
1338
1340
|
if (props.quantityButtons) {
|
|
1339
1341
|
const minusSvg = `url('${getAssetPath(`./assets/svg/minus.svg`)}') no-repeat center`;
|
|
@@ -4202,7 +4204,8 @@ var KupAutocompleteProps;
|
|
|
4202
4204
|
KupAutocompleteProps["customStyle"] = "Custom style of the component.";
|
|
4203
4205
|
KupAutocompleteProps["data"] = "Props of the sub-components.";
|
|
4204
4206
|
KupAutocompleteProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
4205
|
-
KupAutocompleteProps["
|
|
4207
|
+
KupAutocompleteProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
4208
|
+
KupAutocompleteProps["ListDescrMode"] = "Sets how to show the list items of the component. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
4206
4209
|
KupAutocompleteProps["initialValue"] = "Sets the initial value of the component.";
|
|
4207
4210
|
KupAutocompleteProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
4208
4211
|
KupAutocompleteProps["inputDelay"] = "Input event emission delay in milliseconds.";
|
|
@@ -4238,7 +4241,7 @@ function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
|
4238
4241
|
return id;
|
|
4239
4242
|
}
|
|
4240
4243
|
}
|
|
4241
|
-
function consistencyCheck(idIn, listData, listEl, selectMode,
|
|
4244
|
+
function consistencyCheck(idIn, listData, listEl, selectMode, DescrMode, e) {
|
|
4242
4245
|
const validList = !!(listEl && listData && listData['data']);
|
|
4243
4246
|
let id = '';
|
|
4244
4247
|
let displayedValue = '';
|
|
@@ -4247,7 +4250,7 @@ function consistencyCheck(idIn, listData, listEl, selectMode, displayMode, e) {
|
|
|
4247
4250
|
selected = e.detail.selected;
|
|
4248
4251
|
}
|
|
4249
4252
|
if (selected == null && idIn != null && validList) {
|
|
4250
|
-
selected = getItemByDisplayMode(listData, idIn,
|
|
4253
|
+
selected = getItemByDisplayMode(listData, idIn, DescrMode, true);
|
|
4251
4254
|
listEl.data = [...listData['data']];
|
|
4252
4255
|
}
|
|
4253
4256
|
if (selected == null && idIn == null && listData) {
|
|
@@ -4265,7 +4268,7 @@ function consistencyCheck(idIn, listData, listEl, selectMode, displayMode, e) {
|
|
|
4265
4268
|
}
|
|
4266
4269
|
else {
|
|
4267
4270
|
id = getIdOfItemByDisplayMode(selected, selectMode, ' - ');
|
|
4268
|
-
displayedValue = getIdOfItemByDisplayMode(selected, id == '' ? ItemsDisplayMode.DESCRIPTION :
|
|
4271
|
+
displayedValue = getIdOfItemByDisplayMode(selected, id == '' ? ItemsDisplayMode.DESCRIPTION : DescrMode, ' - ');
|
|
4269
4272
|
trueValue = getIdOfItemByDisplayMode(selected, ItemsDisplayMode.CODE, ' - ');
|
|
4270
4273
|
}
|
|
4271
4274
|
const listNode = validList
|
|
@@ -4323,12 +4326,12 @@ function getItemById(listData, id, setSelected) {
|
|
|
4323
4326
|
}
|
|
4324
4327
|
return null;
|
|
4325
4328
|
}
|
|
4326
|
-
function getItemByDisplayMode(listData, id,
|
|
4329
|
+
function getItemByDisplayMode(listData, id, DescrMode, setSelected) {
|
|
4327
4330
|
if (listData && listData['data']) {
|
|
4328
4331
|
let found = false;
|
|
4329
4332
|
let item = null;
|
|
4330
4333
|
for (let i = 0; i < listData['data'].length; i++) {
|
|
4331
|
-
let displayedValue = getIdOfItemByDisplayMode(listData['data'][i], id == '' ? ItemsDisplayMode.DESCRIPTION :
|
|
4334
|
+
let displayedValue = getIdOfItemByDisplayMode(listData['data'][i], id == '' ? ItemsDisplayMode.DESCRIPTION : DescrMode, ' - ');
|
|
4332
4335
|
if (setSelected == true) {
|
|
4333
4336
|
listData['data'][i].selected = false;
|
|
4334
4337
|
}
|
|
@@ -4653,8 +4656,8 @@ const FChip = (props) => {
|
|
|
4653
4656
|
if (!props.type) {
|
|
4654
4657
|
props.type = FChipType.STANDARD;
|
|
4655
4658
|
}
|
|
4656
|
-
if (!props.
|
|
4657
|
-
props.
|
|
4659
|
+
if (!props.DescrMode) {
|
|
4660
|
+
props.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
4658
4661
|
}
|
|
4659
4662
|
const isChoice = props.type.toLowerCase() === FChipType.CHOICE;
|
|
4660
4663
|
const isFilter = props.type.toLowerCase() === FChipType.FILTER;
|
|
@@ -4741,7 +4744,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
4741
4744
|
h("svg", { class: "chip__checkmark-svg", viewBox: "-2 -3 30 30" },
|
|
4742
4745
|
h("path", { class: "chip__checkmark-path", fill: "none", stroke: "black", d: "M1.73,12.91 8.1,19.28 22.79,4.59" }))));
|
|
4743
4746
|
}
|
|
4744
|
-
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.
|
|
4747
|
+
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.DescrMode, ' - ');
|
|
4745
4748
|
return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
4746
4749
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
4747
4750
|
: null, onContextMenu: props.onContextMenu && props.onContextMenu[i]
|
|
@@ -5716,7 +5719,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5716
5719
|
case FCellTypes.COLOR_PICKER:
|
|
5717
5720
|
return (h("kup-color-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', disabled: false, "onkup-colorpicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
5718
5721
|
case FCellTypes.COMBOBOX:
|
|
5719
|
-
return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value, initialValueDecode: cell.decode }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-combobox-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onKup-combobox-itemclick": (e) => cellEvent(e, props, cellType, FCellEvents.ITEMCLICK) })));
|
|
5722
|
+
return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value, initialValueDecode: cell.decode, ListDescrMode: cell.data.ListDescrMode }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-combobox-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onKup-combobox-itemclick": (e) => cellEvent(e, props, cellType, FCellEvents.ITEMCLICK) })));
|
|
5720
5723
|
case FCellTypes.DATE:
|
|
5721
5724
|
return (h("kup-date-picker", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-datepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-datepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onKup-datepicker-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-datepicker-textfieldsubmit": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
5722
5725
|
case FCellTypes.EDITOR:
|
|
@@ -5741,12 +5744,12 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5741
5744
|
case FCellTypes.FILE_UPLOAD:
|
|
5742
5745
|
return (h("kup-file-upload", Object.assign({ "onKup-file-upload-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }, cell.data)));
|
|
5743
5746
|
case FCellTypes.MULTI_AUTOCOMPLETE: {
|
|
5744
|
-
return (h("kup-chip", Object.assign({
|
|
5745
|
-
h("kup-autocomplete", { class: "kup-full-width", slot: "field",
|
|
5747
|
+
return (h("kup-chip", Object.assign({ DescrMode: (_a = cell.data.DescrMode) !== null && _a !== void 0 ? _a : ItemsDisplayMode.DESCRIPTION }, cell.data, { label: (_c = (_b = cell.slotData) === null || _b === void 0 ? void 0 : _b.label) !== null && _c !== void 0 ? _c : '', type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
|
|
5748
|
+
h("kup-autocomplete", { class: "kup-full-width", slot: "field", DescrMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), data: (_d = cell.slotData) === null || _d === void 0 ? void 0 : _d.data, initialValue: (_e = cell.slotData) === null || _e === void 0 ? void 0 : _e.initialValue, showDropDownIcon: (_f = cell.slotData) === null || _f === void 0 ? void 0 : _f.showDropDownIcon, style: (_g = cell.slotData) === null || _g === void 0 ? void 0 : _g.style, disabled: (_h = cell.slotData) === null || _h === void 0 ? void 0 : _h.disabled, id: (_j = cell.slotData) === null || _j === void 0 ? void 0 : _j.id, error: cell.data.error, showMarker: (_k = cell.tooltip) !== null && _k !== void 0 ? _k : false, ListDescrMode: cell.data.ListDescrMode })));
|
|
5746
5749
|
}
|
|
5747
5750
|
case FCellTypes.MULTI_COMBOBOX:
|
|
5748
|
-
return (h("kup-chip", Object.assign({
|
|
5749
|
-
h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field",
|
|
5751
|
+
return (h("kup-chip", Object.assign({ DescrMode: (_l = cell.data.DescrMode) !== null && _l !== void 0 ? _l : ItemsDisplayMode.DESCRIPTION }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
|
|
5752
|
+
h("kup-combobox", Object.assign({ class: "kup-full-width", slot: "field", DescrMode: ItemsDisplayMode.CODE_AND_DESC, sizing: KupComponentSizing.EXTRA_SMALL, "onKup-combobox-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) }, cell.slotData, { error: cell.data.error, showMarker: (_m = cell.tooltip) !== null && _m !== void 0 ? _m : false, ListDescrMode: cell.data.ListDescrMode }))));
|
|
5750
5753
|
case FCellTypes.RADIO:
|
|
5751
5754
|
return (h(FRadio, Object.assign({}, cell.data, { disabled: false, onChange: (i, e) => {
|
|
5752
5755
|
const radioData = cell.data.data;
|
|
@@ -5897,7 +5900,7 @@ function setCell(cellType, subcomponentProps, content, classObj, cell, column, p
|
|
|
5897
5900
|
const activeNode = cell.data.data.find((node) => node.value === cell.value) || null;
|
|
5898
5901
|
return (h("kup-image-list", Object.assign({ ripple: true }, cell.data, { "onKup-imagelist-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), activeNode: activeNode })));
|
|
5899
5902
|
default:
|
|
5900
|
-
return (h("div", { class: "f-cell__text" }, cell.data.
|
|
5903
|
+
return (h("div", { class: "f-cell__text" }, cell.data.DescrMode
|
|
5901
5904
|
? adaptContentToDisplayMode(cell, content, '-')
|
|
5902
5905
|
: content));
|
|
5903
5906
|
}
|
|
@@ -10992,7 +10995,7 @@ var KupChipProps;
|
|
|
10992
10995
|
KupChipProps["data"] = "List of elements.";
|
|
10993
10996
|
// displayId = "When enabled, the chip's text will display both the id and the value.",
|
|
10994
10997
|
KupChipProps["disabled"] = "When true, the chip cannot be edited, nor removed.";
|
|
10995
|
-
KupChipProps["
|
|
10998
|
+
KupChipProps["DescrMode"] = "When enabled, the chip will display both the id and description of the data.";
|
|
10996
10999
|
KupChipProps["enableInput"] = "When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field).";
|
|
10997
11000
|
KupChipProps["label"] = "When set, will be shown a label on the chips.";
|
|
10998
11001
|
KupChipProps["sizing"] = "The size of the chip. Available sizes: small, medium.";
|
|
@@ -11022,7 +11025,8 @@ var KupComboboxProps;
|
|
|
11022
11025
|
KupComboboxProps["customStyle"] = "Custom style of the component.";
|
|
11023
11026
|
KupComboboxProps["data"] = "Props of the sub-components (date input text field).";
|
|
11024
11027
|
KupComboboxProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
11025
|
-
KupComboboxProps["
|
|
11028
|
+
KupComboboxProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
11029
|
+
KupComboboxProps["ListDescrMode"] = "Sets how to show the list items of the component. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
11026
11030
|
KupComboboxProps["initialValue"] = "Sets the initial value of the component";
|
|
11027
11031
|
KupComboboxProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
11028
11032
|
KupComboboxProps["isClearable"] = "Enables a clear trailing icon.";
|
|
@@ -13079,7 +13083,7 @@ const FPaginator = (props) => {
|
|
|
13079
13083
|
const dataPageSelector = {
|
|
13080
13084
|
'kup-list': {
|
|
13081
13085
|
data: pageItems,
|
|
13082
|
-
|
|
13086
|
+
DescrMode: ItemsDisplayMode.CODE,
|
|
13083
13087
|
},
|
|
13084
13088
|
'kup-text-field': {
|
|
13085
13089
|
label: dom$4.ketchup.language.translate(KupLanguagePage.PAGE),
|
|
@@ -13095,7 +13099,7 @@ const FPaginator = (props) => {
|
|
|
13095
13099
|
const dataRowsSelector = {
|
|
13096
13100
|
'kup-list': {
|
|
13097
13101
|
data: rowsPerPageItems,
|
|
13098
|
-
|
|
13102
|
+
DescrMode: ItemsDisplayMode.CODE,
|
|
13099
13103
|
},
|
|
13100
13104
|
'kup-text-field': {
|
|
13101
13105
|
label: dom$4.ketchup.language.translate(KupLanguageRow.ROWS) +
|
|
@@ -13112,10 +13116,10 @@ const FPaginator = (props) => {
|
|
|
13112
13116
|
};
|
|
13113
13117
|
return (h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
13114
13118
|
props.onLoadMore ? (h(FButton, { icon: "plus", onClick: props.onLoadMore, label: dom$4.ketchup.language.translate(KupLanguageGeneric.LOAD_MORE), sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "load-more-button kup-neutral" })) : null,
|
|
13115
|
-
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector,
|
|
13119
|
+
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, DescrMode: ItemsDisplayMode.CODE, initialValue: props.perPage.toString(), initialValueDecode: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
13116
13120
|
h("div", { class: "page-wrapper" },
|
|
13117
13121
|
h("div", { class: "page-selector-wrapper" },
|
|
13118
|
-
h("kup-combobox", { class: "page-selector", data: dataPageSelector,
|
|
13122
|
+
h("kup-combobox", { class: "page-selector", data: dataPageSelector, DescrMode: ItemsDisplayMode.CODE, initialValue: props.currentPage.toString(), initialValueDecode: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
13119
13123
|
props.showMaxPages ? (h("div", { class: "max-page-wrapper" },
|
|
13120
13124
|
h("label", { htmlFor: "page-selector" }, '/ ' + maxNumberOfPage))) : null),
|
|
13121
13125
|
h("div", { class: "arrow-wrapper" },
|
|
@@ -13223,7 +13227,7 @@ var KupDropdownButtonProps;
|
|
|
13223
13227
|
KupDropdownButtonProps["customStyle"] = "Custom style of the component.";
|
|
13224
13228
|
KupDropdownButtonProps["data"] = "Props of the sub-components.";
|
|
13225
13229
|
KupDropdownButtonProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
13226
|
-
KupDropdownButtonProps["
|
|
13230
|
+
KupDropdownButtonProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
13227
13231
|
KupDropdownButtonProps["icon"] = "Defaults at null. When set, the button will show this icon.";
|
|
13228
13232
|
KupDropdownButtonProps["initialValue"] = "Sets the initial value of the component.";
|
|
13229
13233
|
KupDropdownButtonProps["label"] = "Defaults at null. When set, the button will show this text.";
|
|
@@ -14700,7 +14704,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14700
14704
|
this.store = undefined;
|
|
14701
14705
|
this.useDynamicExpansion = false;
|
|
14702
14706
|
this.totals = undefined;
|
|
14703
|
-
this.
|
|
14707
|
+
this.DescrMode = ItemsDisplayMode.CODE_AND_DESC;
|
|
14704
14708
|
}
|
|
14705
14709
|
initWithPersistedState() {
|
|
14706
14710
|
if (this.store && this.stateId) {
|
|
@@ -14800,18 +14804,10 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14800
14804
|
* Collapses all nodes.
|
|
14801
14805
|
*/
|
|
14802
14806
|
async collapseAll() {
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14807
|
-
}
|
|
14808
|
-
}
|
|
14809
|
-
else {
|
|
14810
|
-
this.kupTreeDynamicMassExpansion.emit({
|
|
14811
|
-
comp: this,
|
|
14812
|
-
id: this.rootElement.id,
|
|
14813
|
-
expandAll: false,
|
|
14814
|
-
});
|
|
14807
|
+
/** now must do just collapse all, without check dynamic expansion management */
|
|
14808
|
+
for (let index = 0; index < this.data.length; index++) {
|
|
14809
|
+
this.data[index].isExpanded = false;
|
|
14810
|
+
this.handleChildren(this.data[index], false);
|
|
14815
14811
|
}
|
|
14816
14812
|
this.refresh();
|
|
14817
14813
|
}
|
|
@@ -14819,18 +14815,10 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14819
14815
|
* Expands all nodes.
|
|
14820
14816
|
*/
|
|
14821
14817
|
async expandAll() {
|
|
14822
|
-
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
}
|
|
14827
|
-
}
|
|
14828
|
-
else {
|
|
14829
|
-
this.kupTreeDynamicMassExpansion.emit({
|
|
14830
|
-
comp: this,
|
|
14831
|
-
id: this.rootElement.id,
|
|
14832
|
-
expandAll: true,
|
|
14833
|
-
});
|
|
14818
|
+
/** now must do just expand all, without check dynamic expansion management */
|
|
14819
|
+
for (let index = 0; index < this.data.length; index++) {
|
|
14820
|
+
this.data[index].isExpanded = true;
|
|
14821
|
+
this.handleChildren(this.data[index], true);
|
|
14834
14822
|
}
|
|
14835
14823
|
this.refresh();
|
|
14836
14824
|
}
|
|
@@ -15627,7 +15615,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15627
15615
|
}
|
|
15628
15616
|
let treeNodeCell = null;
|
|
15629
15617
|
let nodeValue;
|
|
15630
|
-
switch (this.
|
|
15618
|
+
switch (this.DescrMode) {
|
|
15631
15619
|
case ItemsDisplayMode.CODE:
|
|
15632
15620
|
nodeValue = (_b = (_a = treeNodeData.obj) === null || _a === void 0 ? void 0 : _a.k) !== null && _b !== void 0 ? _b : '';
|
|
15633
15621
|
break;
|
|
@@ -15976,19 +15964,19 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15976
15964
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
15977
15965
|
let filterField = null;
|
|
15978
15966
|
if (this.globalFilter) {
|
|
15979
|
-
filterField = (h$1("div", { key: '
|
|
15967
|
+
filterField = (h$1("div", { key: 'b0ec1086e2b4dfed4d01eed6344f2b9723e50a78', id: "global-filter" }, h$1("kup-text-field", { key: 'b9ac273ade69fee415828e88bde88abea9bd7911', fullWidth: true, label: __classPrivateFieldGet$b(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
15980
15968
|
window.clearTimeout(this.globalFilterTimeout);
|
|
15981
15969
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
15982
15970
|
} })));
|
|
15983
15971
|
}
|
|
15984
|
-
return (h$1(Host, { key: '
|
|
15972
|
+
return (h$1(Host, { key: '8e36db0583c51ef4721d14649453d592024c9e0d', "onKup-cell-click": (e) => {
|
|
15985
15973
|
this.kupTreeCellClick.emit(e.detail);
|
|
15986
|
-
} }, h$1("style", { key: '
|
|
15987
|
-
el) }, h$1("table", { key: '
|
|
15974
|
+
} }, h$1("style", { key: '01a452ebdd782e0111d148f3fac132b7ef8704ce' }, __classPrivateFieldGet$b(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '365ff6370028fcbe2a28489cf8df8f0502f471b1', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h$1("div", { key: '8310f20be32b01d93a1615ccd01d5bbab8eaa783', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
15975
|
+
el) }, h$1("table", { key: '4678d2fc2ff097f5866f1171faa1b9bfec9c9304', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
15988
15976
|
e.preventDefault();
|
|
15989
|
-
} }, h$1("thead", { key: '
|
|
15977
|
+
} }, h$1("thead", { key: '83d22c2cc27c41e63cd2325a9da0576257b21bd0', class: {
|
|
15990
15978
|
'header--is-visible': visibleHeader,
|
|
15991
|
-
} }, h$1("tr", { key: '
|
|
15979
|
+
} }, h$1("tr", { key: 'cbeedfa19b0d218639bac9b1518cd04590512870' }, visibleHeader ? this.renderHeader() : null)), h$1("tbody", { key: '062aa1d90d53d0dc2fd453e1b60d4c81b5a3e30f' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
15992
15980
|
this.columns
|
|
15993
15981
|
? this.renderFooter()
|
|
15994
15982
|
: null)))));
|
|
@@ -16045,7 +16033,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
16045
16033
|
"store": [16],
|
|
16046
16034
|
"useDynamicExpansion": [4, "use-dynamic-expansion"],
|
|
16047
16035
|
"totals": [1040],
|
|
16048
|
-
"
|
|
16036
|
+
"DescrMode": [1, "descr-mode"],
|
|
16049
16037
|
"treeColumnVisible": [32],
|
|
16050
16038
|
"openedTotalMenu": [32],
|
|
16051
16039
|
"columnMenuAnchor": [32],
|
|
@@ -20473,7 +20461,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
20473
20461
|
this.selected = [];
|
|
20474
20462
|
this.customStyle = '';
|
|
20475
20463
|
this.data = [];
|
|
20476
|
-
this.
|
|
20464
|
+
this.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
20477
20465
|
this.showFilter = false;
|
|
20478
20466
|
this.filter = '';
|
|
20479
20467
|
this.hideText = false;
|
|
@@ -20717,7 +20705,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
20717
20705
|
}
|
|
20718
20706
|
__classPrivateFieldSet$5(this, _KupList_radios, [], "f");
|
|
20719
20707
|
let index = 0;
|
|
20720
|
-
return (h$1(Host, { key: '
|
|
20708
|
+
return (h$1(Host, { key: 'a4b6bf1943ab53189462f26f647447c38f71a729' }, h$1("style", { key: '4012e941151dbd5284bbec995d1a18fb8426e231' }, __classPrivateFieldGet$7(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '6e97c785b76618459094fd0b06e057c3b0e87725', id: "kup-component", class: wrapperClass, onKeyDown: __classPrivateFieldGet$7(this, _KupList_listenKeydown, "f") }, this.showFilter ? (h$1("div", { class: filterClass }, __classPrivateFieldGet$7(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h$1("div", { key: 'f50081927ed8a73e0fd0754b41f685c1dee08f46', class: listScrollClass }, h$1("ul", { key: '4057faf4dfe7af3806163a7002eea6f8f8d1b925', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
20721
20709
|
.filter((item) => __classPrivateFieldGet$7(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
20722
20710
|
.map((item) => __classPrivateFieldGet$7(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
|
|
20723
20711
|
}
|
|
@@ -20729,7 +20717,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
20729
20717
|
}, [1, "kup-list", {
|
|
20730
20718
|
"customStyle": [1, "custom-style"],
|
|
20731
20719
|
"data": [1040],
|
|
20732
|
-
"
|
|
20720
|
+
"DescrMode": [1, "descr-mode"],
|
|
20733
20721
|
"showFilter": [4, "show-filter"],
|
|
20734
20722
|
"filter": [1025],
|
|
20735
20723
|
"hideText": [4, "hide-text"],
|
|
@@ -20815,7 +20803,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
20815
20803
|
imageTag = __classPrivateFieldGet$7(this, _KupList_instances, "m", _KupList_getIconTag).call(this, item.icon, item.placeholderIcon);
|
|
20816
20804
|
}
|
|
20817
20805
|
let primaryTextTag = [
|
|
20818
|
-
getIdOfItemByDisplayMode(item, item.id == '' ? ItemsDisplayMode.DESCRIPTION : this.
|
|
20806
|
+
getIdOfItemByDisplayMode(item, item.id == '' ? ItemsDisplayMode.DESCRIPTION : this.DescrMode, ' - '),
|
|
20819
20807
|
];
|
|
20820
20808
|
let secTextTag = [];
|
|
20821
20809
|
if (this.twoLine && item.secondaryText && item.secondaryText != '') {
|
|
@@ -23014,7 +23002,7 @@ const KupDropdownButton = /*@__PURE__*/ proxyCustomElement(class KupDropdownButt
|
|
|
23014
23002
|
this.customStyle = '';
|
|
23015
23003
|
this.data = null;
|
|
23016
23004
|
this.disabled = false;
|
|
23017
|
-
this.
|
|
23005
|
+
this.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
23018
23006
|
this.dropdownOnly = false;
|
|
23019
23007
|
this.icon = null;
|
|
23020
23008
|
this.initialValue = '';
|
|
@@ -23214,7 +23202,7 @@ const KupDropdownButton = /*@__PURE__*/ proxyCustomElement(class KupDropdownButt
|
|
|
23214
23202
|
* Checks the consistency of the list.
|
|
23215
23203
|
*/
|
|
23216
23204
|
consistencyCheck(e, idIn) {
|
|
23217
|
-
const ret = consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.
|
|
23205
|
+
const ret = consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.DescrMode, e);
|
|
23218
23206
|
this.value = ret.value;
|
|
23219
23207
|
}
|
|
23220
23208
|
/*-------------------------------------------------*/
|
|
@@ -23272,7 +23260,7 @@ const KupDropdownButton = /*@__PURE__*/ proxyCustomElement(class KupDropdownButt
|
|
|
23272
23260
|
return buttons;
|
|
23273
23261
|
}
|
|
23274
23262
|
render() {
|
|
23275
|
-
return (h$1(Host, { key: '
|
|
23263
|
+
return (h$1(Host, { key: '9ada6e879fff0eae9fedc2585cc43d6af40a0135' }, h$1("style", { key: 'cfc19ea1554f29f96b1a1c80a840b9b04c559127' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '2d7460370d014b2f78bf92653b8534ded2147840', id: componentWrapperId }, h$1("div", { key: '2e4b1dfb52ee7945cad949b44a312a916c25b36e', class: "dropdown-button--wrapper" }, this.renderButtons()), h$1("kup-list", Object.assign({ key: 'eb5febfbf698a41ce2063079d96233f7706a6f72' }, this.data['kup-list'], { DescrMode: this.DescrMode, isMenu: true, "onKup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
|
|
23276
23264
|
}
|
|
23277
23265
|
disconnectedCallback() {
|
|
23278
23266
|
if (this.listEl) {
|
|
@@ -23287,7 +23275,7 @@ const KupDropdownButton = /*@__PURE__*/ proxyCustomElement(class KupDropdownButt
|
|
|
23287
23275
|
"customStyle": [1, "custom-style"],
|
|
23288
23276
|
"data": [16],
|
|
23289
23277
|
"disabled": [4],
|
|
23290
|
-
"
|
|
23278
|
+
"DescrMode": [1, "descr-mode"],
|
|
23291
23279
|
"dropdownOnly": [4, "dropdown-only"],
|
|
23292
23280
|
"icon": [1],
|
|
23293
23281
|
"initialValue": [1, "initial-value"],
|
|
@@ -29333,8 +29321,8 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
29333
29321
|
this.customStyle = '';
|
|
29334
29322
|
this.data = undefined;
|
|
29335
29323
|
this.disabled = false;
|
|
29336
|
-
this.
|
|
29337
|
-
this.
|
|
29324
|
+
this.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
29325
|
+
this.ListDescrMode = ItemsDisplayMode.CODE_AND_DESC;
|
|
29338
29326
|
this.error = '';
|
|
29339
29327
|
this.icon = null;
|
|
29340
29328
|
this.initialValue = '';
|
|
@@ -29616,12 +29604,12 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
29616
29604
|
legacyLook: this.legacyLook,
|
|
29617
29605
|
size: this.size
|
|
29618
29606
|
? this.size
|
|
29619
|
-
: getSizeOfInputElement(this.data, this.
|
|
29607
|
+
: getSizeOfInputElement(this.data, this.DescrMode, this.size),
|
|
29620
29608
|
title: (_a = this.displayedValue) !== null && _a !== void 0 ? _a : '',
|
|
29621
29609
|
};
|
|
29622
29610
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
29623
29611
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
29624
|
-
return (h$1(Host, { key: '
|
|
29612
|
+
return (h$1(Host, { key: '1ed7f42887dca3f807c6b40a0a139fc4a6515cff', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1("style", { key: '9161af38b49a700e0d66e925dd2ac90849c815d1' }, __classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '3ee5c3c502a15233b4fe9fa7fb148ba63e837bc1', id: componentWrapperId, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1(FTextField, Object.assign({ key: 'a0f1c8e5c105204fc11ee7632e77289f21244634' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
29625
29613
|
? KupThemeIconValues.DROPDOWN
|
|
29626
29614
|
: 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(), onClearIconClick: () => this.onKupClearIconClick() }))), __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
29627
29615
|
}
|
|
@@ -29643,8 +29631,8 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
29643
29631
|
"customStyle": [1, "custom-style"],
|
|
29644
29632
|
"data": [16],
|
|
29645
29633
|
"disabled": [4],
|
|
29646
|
-
"
|
|
29647
|
-
"
|
|
29634
|
+
"DescrMode": [1, "descr-mode"],
|
|
29635
|
+
"ListDescrMode": [1, "list-descr-mode"],
|
|
29648
29636
|
"error": [1],
|
|
29649
29637
|
"icon": [1],
|
|
29650
29638
|
"initialValue": [1, "initial-value"],
|
|
@@ -29715,10 +29703,10 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
29715
29703
|
return __classPrivateFieldGet$2(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
29716
29704
|
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
29717
29705
|
if (idIn != null && idInDecode != null) {
|
|
29718
|
-
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.
|
|
29706
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
29719
29707
|
}
|
|
29720
29708
|
else {
|
|
29721
|
-
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$2(this, _KupCombobox_listEl, "f"), this.selectMode, this.
|
|
29709
|
+
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$2(this, _KupCombobox_listEl, "f"), this.selectMode, this.DescrMode);
|
|
29722
29710
|
if (ret.exists && eventShouldSetValue) {
|
|
29723
29711
|
this.value = ret.value;
|
|
29724
29712
|
this.displayedValue = ret.displayedValue;
|
|
@@ -29733,7 +29721,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
29733
29721
|
}
|
|
29734
29722
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
29735
29723
|
var _a, _b;
|
|
29736
|
-
return (h$1("kup-list", Object.assign({
|
|
29724
|
+
return (h$1("kup-list", Object.assign({ DescrMode: this.ListDescrMode }, 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$1(this, _KupCombobox_listEl, el, "f")) })));
|
|
29737
29725
|
};
|
|
29738
29726
|
function defineCustomElement$9() {
|
|
29739
29727
|
if (typeof customElements === "undefined") {
|
|
@@ -30344,7 +30332,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
30344
30332
|
this.customStyle = '';
|
|
30345
30333
|
this.data = [];
|
|
30346
30334
|
this.disabled = false;
|
|
30347
|
-
this.
|
|
30335
|
+
this.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
30348
30336
|
this.enableInput = false;
|
|
30349
30337
|
this.label = null;
|
|
30350
30338
|
this.sizing = FChipSize.SMALL;
|
|
@@ -30473,7 +30461,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
30473
30461
|
? true
|
|
30474
30462
|
: false,
|
|
30475
30463
|
data: this.data,
|
|
30476
|
-
|
|
30464
|
+
DescrMode: this.DescrMode,
|
|
30477
30465
|
info: this.rootElement.classList.contains('kup-info')
|
|
30478
30466
|
? true
|
|
30479
30467
|
: false,
|
|
@@ -30512,7 +30500,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
30512
30500
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
30513
30501
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
30514
30502
|
}
|
|
30515
|
-
return (h$1(Host, { key: '
|
|
30503
|
+
return (h$1(Host, { key: 'ed3df8fecfa17c1ccee209f0126cad11b4adc80f', "onKup-autocomplete-itemclick": (e) => {
|
|
30516
30504
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
30517
30505
|
}, "onKup-combobox-itemclick": (e) => {
|
|
30518
30506
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
@@ -30522,7 +30510,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
30522
30510
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
30523
30511
|
}, "onKup-textfield-submit": (e) => {
|
|
30524
30512
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
30525
|
-
} }, h$1("style", { key: '
|
|
30513
|
+
} }, h$1("style", { key: '7558d2820924fd715da96ac12a6819d82ea3dfbb' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '0e7851838135bda98cafc436eb7b701a52807902', id: componentWrapperId }, this.label ? (h$1("div", { class: "mdc-text-field__label-container" }, h$1("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h$1(FChip, Object.assign({}, props)) : null, h$1("slot", { key: 'd2eed39441766df501ba43a1dcc8e63b0906b177', name: "field" }))));
|
|
30526
30514
|
}
|
|
30527
30515
|
disconnectedCallback() {
|
|
30528
30516
|
this.kupManager.theme.unregister(this);
|
|
@@ -30536,7 +30524,7 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
30536
30524
|
"customStyle": [1, "custom-style"],
|
|
30537
30525
|
"data": [1040],
|
|
30538
30526
|
"disabled": [4],
|
|
30539
|
-
"
|
|
30527
|
+
"DescrMode": [1, "descr-mode"],
|
|
30540
30528
|
"enableInput": [4, "enable-input"],
|
|
30541
30529
|
"label": [1],
|
|
30542
30530
|
"sizing": [1],
|
|
@@ -33497,8 +33485,8 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
33497
33485
|
this.customStyle = '';
|
|
33498
33486
|
this.data = undefined;
|
|
33499
33487
|
this.disabled = false;
|
|
33500
|
-
this.
|
|
33501
|
-
this.
|
|
33488
|
+
this.DescrMode = ItemsDisplayMode.DESCRIPTION;
|
|
33489
|
+
this.ListDescrMode = ItemsDisplayMode.CODE_AND_DESC;
|
|
33502
33490
|
this.error = '';
|
|
33503
33491
|
this.icon = null;
|
|
33504
33492
|
this.initialValue = '';
|
|
@@ -33809,12 +33797,12 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
33809
33797
|
legacyLook: this.legacyLook,
|
|
33810
33798
|
size: this.size
|
|
33811
33799
|
? this.size
|
|
33812
|
-
: getSizeOfInputElement(this.data, this.
|
|
33800
|
+
: getSizeOfInputElement(this.data, this.DescrMode, this.size),
|
|
33813
33801
|
title: (_a = this.displayedValue) !== null && _a !== void 0 ? _a : '',
|
|
33814
33802
|
};
|
|
33815
33803
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
33816
33804
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
33817
|
-
return (h$1(Host, { key: '
|
|
33805
|
+
return (h$1(Host, { key: '54bb3dc2f7dce2b5aec0bb8d5a7f59d8cbdf6b2f', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1("style", { key: 'f441e0889173a7152678b0e09b4ab236d3262888' }, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '1893a3b4ad4de47c75e26ad254af00edd3db7c72', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1(FTextField, Object.assign({ key: '899f36ef4b5361cd6a525517632bf3d226ab0ce6' }, props, { icon: this.showDropDownIcon
|
|
33818
33806
|
? KupThemeIconValues.SEARCH
|
|
33819
33807
|
: 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.onKupChangeSubmit(e.target.value, this.kupChange), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
33820
33808
|
window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -33840,8 +33828,8 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
33840
33828
|
"customStyle": [1, "custom-style"],
|
|
33841
33829
|
"data": [1040],
|
|
33842
33830
|
"disabled": [4],
|
|
33843
|
-
"
|
|
33844
|
-
"
|
|
33831
|
+
"DescrMode": [1, "descr-mode"],
|
|
33832
|
+
"ListDescrMode": [1, "list-descr-mode"],
|
|
33845
33833
|
"error": [1],
|
|
33846
33834
|
"icon": [1],
|
|
33847
33835
|
"initialValue": [1, "initial-value"],
|
|
@@ -33926,10 +33914,10 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
33926
33914
|
return __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
33927
33915
|
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
33928
33916
|
if (idIn && idInDecode) {
|
|
33929
|
-
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.
|
|
33917
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
33930
33918
|
}
|
|
33931
33919
|
else {
|
|
33932
|
-
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.
|
|
33920
|
+
const ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
33933
33921
|
if ((ret.exists || this.allowInconsistentValues) &&
|
|
33934
33922
|
eventShouldSetValue) {
|
|
33935
33923
|
this.value = ret.value;
|
|
@@ -33944,7 +33932,7 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
33944
33932
|
return ret;
|
|
33945
33933
|
}
|
|
33946
33934
|
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
33947
|
-
return (h$1("kup-list", Object.assign({
|
|
33935
|
+
return (h$1("kup-list", Object.assign({ DescrMode: this.ListDescrMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
33948
33936
|
};
|
|
33949
33937
|
function defineCustomElement() {
|
|
33950
33938
|
if (typeof customElements === "undefined") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-
|
|
3
|
-
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q 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, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-5a3d0bf2.js';
|
|
3
|
+
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q 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, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-f4d62101.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|