@sme.up/ketchup 11.0.0-SNAPSHOT-20251128123437 → 11.0.0-SNAPSHOT-20251203145802
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-41fb7507.js} +10 -10
- package/dist/cjs/{f-chip-1f1a9829.js → f-chip-36ba0f62.js} +9 -9
- package/dist/cjs/{f-object-field-7264b902.js → f-object-field-4d4002b0.js} +2 -2
- package/dist/cjs/{f-paginator-utils-0b88eb98.js → f-paginator-utils-adc8b67a.js} +5 -5
- package/dist/cjs/{f-text-field-2f9c646d.js → f-text-field-8c918e34.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 +45 -43
- 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-3041bf1b.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-b6d2bca8.js} +6 -6
- 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 +10 -10
- 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-442f7301.js → p-05dc6405.js} +68 -64
- package/dist/components/{p-336378d0.js → p-0a495572.js} +2 -2
- package/dist/components/{p-ca14c650.js → p-5438a4ff.js} +2 -2
- package/dist/components/{p-0497ebe5.js → p-dcb752e1.js} +6 -6
- package/dist/components/{p-53632ea6.js → p-e9699798.js} +2 -2
- package/dist/components/{p-83d85ea5.js → p-f359b03b.js} +2 -2
- package/dist/esm/{f-cell-1b003ccd.js → f-cell-abc7019e.js} +10 -10
- package/dist/esm/{f-chip-2b1b3544.js → f-chip-af9b0f73.js} +9 -9
- package/dist/esm/{f-object-field-a234558f.js → f-object-field-a658454f.js} +2 -2
- package/dist/esm/{f-paginator-utils-7f69eaa3.js → f-paginator-utils-a617b644.js} +5 -5
- package/dist/esm/{f-text-field-4ef83a74.js → f-text-field-97b4dae7.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 +45 -43
- 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-7139e397.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-1747a265.js} +6 -6
- 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-21dc5934.entry.js → p-00632375.entry.js} +1 -1
- package/dist/ketchup/{p-77fc5eaf.entry.js → p-052d3293.entry.js} +1 -1
- package/dist/ketchup/{p-bdfc5fcf.entry.js → p-09460153.entry.js} +1 -1
- package/dist/ketchup/{p-3e905afa.entry.js → p-1136d1a3.entry.js} +1 -1
- package/dist/ketchup/{p-feba5a53.entry.js → p-18d46bf3.entry.js} +1 -1
- package/dist/ketchup/{p-ceda8fa4.entry.js → p-1f525c31.entry.js} +1 -1
- package/dist/ketchup/{p-01d7a61a.entry.js → p-21d532cb.entry.js} +1 -1
- package/dist/ketchup/p-2e1bf103.js +1 -0
- package/dist/ketchup/{p-0967bb61.entry.js → p-3a4f908c.entry.js} +1 -1
- package/dist/ketchup/p-5158df86.entry.js +1 -0
- package/dist/ketchup/p-53527430.js +1 -0
- package/dist/ketchup/{p-09337603.entry.js → p-5831cb97.entry.js} +1 -1
- package/dist/ketchup/p-5e7ea577.entry.js +8 -0
- package/dist/ketchup/{p-ae382c78.entry.js → p-5ef17e2c.entry.js} +1 -1
- package/dist/ketchup/{p-339d7438.entry.js → p-5f552d90.entry.js} +1 -1
- package/dist/ketchup/{p-b961eebf.entry.js → p-7a4adeb8.entry.js} +1 -1
- package/dist/ketchup/{p-6f0eaff3.entry.js → p-7f1e6235.entry.js} +1 -1
- package/dist/ketchup/{p-bf0510af.entry.js → p-80dbe8d0.entry.js} +1 -1
- package/dist/ketchup/p-88941874.js +1 -0
- package/dist/ketchup/{p-a9994a05.entry.js → p-8a5f4e49.entry.js} +1 -1
- package/dist/ketchup/{p-af914cdf.js → p-94d1bd32.js} +1 -1
- package/dist/ketchup/{p-8e2c19a6.entry.js → p-995df6b4.entry.js} +1 -1
- package/dist/ketchup/{p-10367f2b.entry.js → p-a42e0c2a.entry.js} +1 -1
- package/dist/ketchup/{p-7f6a52f1.entry.js → p-a55befc8.entry.js} +1 -1
- package/dist/ketchup/{p-ba6b283e.entry.js → p-a5c256cb.entry.js} +1 -1
- package/dist/ketchup/{p-9f2abfd6.entry.js → p-b27d4942.entry.js} +1 -1
- package/dist/ketchup/p-b3636a7f.js +1 -0
- package/dist/ketchup/{p-d6bf9d14.js → p-b4aaaeee.js} +1 -1
- package/dist/ketchup/{p-774c3c21.entry.js → p-ba133dd0.entry.js} +1 -1
- package/dist/ketchup/{p-84cfb459.entry.js → p-ba32509b.entry.js} +1 -1
- package/dist/ketchup/{p-8b5ab195.js → p-d0d694e0.js} +1 -1
- package/dist/ketchup/{p-17fe09b5.entry.js → p-d76ba13e.entry.js} +1 -1
- package/dist/ketchup/{p-b6519054.entry.js → p-ea08c135.entry.js} +1 -1
- package/dist/ketchup/{p-b1256195.entry.js → p-f01acc32.entry.js} +1 -1
- package/dist/ketchup/{p-5a82356a.entry.js → p-f0e85d36.entry.js} +1 -1
- package/dist/ketchup/{p-ae4fd0eb.entry.js → p-f51d23cf.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-45f014f9.entry.js +0 -8
- 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-ec727684.js +0 -1
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager$2 = require('./kup-manager-
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
6
|
+
const kupManager$2 = require('./kup-manager-b6d2bca8.js');
|
|
7
|
+
const fTextField = require('./f-text-field-8c918e34.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-36ba0f62.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
const fImage = require('./f-image-7457eb26.js');
|
|
12
12
|
const fButton = require('./f-button-c084046d.js');
|
|
13
13
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
14
|
-
const fCell = require('./f-cell-
|
|
14
|
+
const fCell = require('./f-cell-41fb7507.js');
|
|
15
15
|
const kupDates = require('./kup-dates-6feda954.js');
|
|
16
16
|
const component = require('./component-a6dd6c14.js');
|
|
17
17
|
const fCheckbox = require('./f-checkbox-e59d6bda.js');
|
|
18
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
19
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
20
|
-
require('./f-object-field-
|
|
18
|
+
const kupDataTableHelper = require('./kup-data-table-helper-3041bf1b.js');
|
|
19
|
+
const fPaginatorUtils = require('./f-paginator-utils-adc8b67a.js');
|
|
20
|
+
require('./f-object-field-4d4002b0.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Props of the kup-autocomplete component.
|
|
@@ -29,7 +29,8 @@ var KupAutocompleteProps;
|
|
|
29
29
|
KupAutocompleteProps["customStyle"] = "Custom style of the component.";
|
|
30
30
|
KupAutocompleteProps["data"] = "Props of the sub-components.";
|
|
31
31
|
KupAutocompleteProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
32
|
-
KupAutocompleteProps["
|
|
32
|
+
KupAutocompleteProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
33
|
+
KupAutocompleteProps["ListDescrMode"] = "Sets how to show the list items of the component. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
33
34
|
KupAutocompleteProps["initialValue"] = "Sets the initial value of the component.";
|
|
34
35
|
KupAutocompleteProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
35
36
|
KupAutocompleteProps["inputDelay"] = "Input event emission delay in milliseconds.";
|
|
@@ -95,8 +96,8 @@ const KupAutocomplete = class {
|
|
|
95
96
|
this.customStyle = '';
|
|
96
97
|
this.data = undefined;
|
|
97
98
|
this.disabled = false;
|
|
98
|
-
this.
|
|
99
|
-
this.
|
|
99
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.DESCRIPTION;
|
|
100
|
+
this.ListDescrMode = kupManager$2.ItemsDisplayMode.CODE_AND_DESC;
|
|
100
101
|
this.error = '';
|
|
101
102
|
this.icon = null;
|
|
102
103
|
this.initialValue = '';
|
|
@@ -407,12 +408,12 @@ const KupAutocomplete = class {
|
|
|
407
408
|
legacyLook: this.legacyLook,
|
|
408
409
|
size: this.size
|
|
409
410
|
? this.size
|
|
410
|
-
: kupManager$2.getSizeOfInputElement(this.data, this.
|
|
411
|
+
: kupManager$2.getSizeOfInputElement(this.data, this.DescrMode, this.size),
|
|
411
412
|
title: (_a = this.displayedValue) !== null && _a !== void 0 ? _a : '',
|
|
412
413
|
};
|
|
413
414
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
414
415
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
415
|
-
return (index.h(index.Host, { key: '
|
|
416
|
+
return (index.h(index.Host, { key: '54bb3dc2f7dce2b5aec0bb8d5a7f59d8cbdf6b2f', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, index.h("style", { key: 'f441e0889173a7152678b0e09b4ab236d3262888' }, __classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '1893a3b4ad4de47c75e26ad254af00edd3db7c72', id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ key: '899f36ef4b5361cd6a525517632bf3d226ab0ce6' }, props, { icon: this.showDropDownIcon
|
|
416
417
|
? kupManager$2.KupThemeIconValues.SEARCH
|
|
417
418
|
: 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: () => {
|
|
418
419
|
window.clearTimeout(__classPrivateFieldGet$b(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -483,10 +484,10 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
483
484
|
return __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
484
485
|
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
485
486
|
if (idIn && idInDecode) {
|
|
486
|
-
this.displayedValue = fChip.getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.
|
|
487
|
+
this.displayedValue = fChip.getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
487
488
|
}
|
|
488
489
|
else {
|
|
489
|
-
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.
|
|
490
|
+
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$b(this, _KupAutocomplete_listEl, "f"), this.selectMode, this.DescrMode);
|
|
490
491
|
if ((ret.exists || this.allowInconsistentValues) &&
|
|
491
492
|
eventShouldSetValue) {
|
|
492
493
|
this.value = ret.value;
|
|
@@ -501,7 +502,7 @@ _KupAutocomplete_elStyle = new WeakMap(), _KupAutocomplete_listEl = new WeakMap(
|
|
|
501
502
|
return ret;
|
|
502
503
|
}
|
|
503
504
|
}, _KupAutocomplete_prepList = function _KupAutocomplete_prepList() {
|
|
504
|
-
return (index.h("kup-list", Object.assign({
|
|
505
|
+
return (index.h("kup-list", Object.assign({ DescrMode: this.ListDescrMode }, this.data['kup-list'], { isMenu: true, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$6(this, _KupAutocomplete_listEl, el, "f")) })));
|
|
505
506
|
};
|
|
506
507
|
KupAutocomplete.style = KupAutocompleteStyle0;
|
|
507
508
|
|
|
@@ -6948,7 +6949,7 @@ var KupChipProps;
|
|
|
6948
6949
|
KupChipProps["data"] = "List of elements.";
|
|
6949
6950
|
// displayId = "When enabled, the chip's text will display both the id and the value.",
|
|
6950
6951
|
KupChipProps["disabled"] = "When true, the chip cannot be edited, nor removed.";
|
|
6951
|
-
KupChipProps["
|
|
6952
|
+
KupChipProps["DescrMode"] = "When enabled, the chip will display both the id and description of the data.";
|
|
6952
6953
|
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).";
|
|
6953
6954
|
KupChipProps["label"] = "When set, will be shown a label on the chips.";
|
|
6954
6955
|
KupChipProps["sizing"] = "The size of the chip. Available sizes: small, medium.";
|
|
@@ -6986,7 +6987,7 @@ const KupChip = class {
|
|
|
6986
6987
|
this.customStyle = '';
|
|
6987
6988
|
this.data = [];
|
|
6988
6989
|
this.disabled = false;
|
|
6989
|
-
this.
|
|
6990
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.DESCRIPTION;
|
|
6990
6991
|
this.enableInput = false;
|
|
6991
6992
|
this.label = null;
|
|
6992
6993
|
this.sizing = fChip.FChipSize.SMALL;
|
|
@@ -7115,7 +7116,7 @@ const KupChip = class {
|
|
|
7115
7116
|
? true
|
|
7116
7117
|
: false,
|
|
7117
7118
|
data: this.data,
|
|
7118
|
-
|
|
7119
|
+
DescrMode: this.DescrMode,
|
|
7119
7120
|
info: this.rootElement.classList.contains('kup-info')
|
|
7120
7121
|
? true
|
|
7121
7122
|
: false,
|
|
@@ -7154,7 +7155,7 @@ const KupChip = class {
|
|
|
7154
7155
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
7155
7156
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
7156
7157
|
}
|
|
7157
|
-
return (index.h(index.Host, { key: '
|
|
7158
|
+
return (index.h(index.Host, { key: 'ed3df8fecfa17c1ccee209f0126cad11b4adc80f', "onKup-autocomplete-itemclick": (e) => {
|
|
7158
7159
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7159
7160
|
}, "onKup-combobox-itemclick": (e) => {
|
|
7160
7161
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
@@ -7164,7 +7165,7 @@ const KupChip = class {
|
|
|
7164
7165
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7165
7166
|
}, "onKup-textfield-submit": (e) => {
|
|
7166
7167
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7167
|
-
} }, index.h("style", { key: '
|
|
7168
|
+
} }, index.h("style", { key: '7558d2820924fd715da96ac12a6819d82ea3dfbb' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '0e7851838135bda98cafc436eb7b701a52807902', id: GenericVariables.componentWrapperId }, this.label ? (index.h("div", { class: "mdc-text-field__label-container" }, index.h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? index.h(fChip.FChip, Object.assign({}, props)) : null, index.h("slot", { key: 'd2eed39441766df501ba43a1dcc8e63b0906b177', name: "field" }))));
|
|
7168
7169
|
}
|
|
7169
7170
|
disconnectedCallback() {
|
|
7170
7171
|
this.kupManager.theme.unregister(this);
|
|
@@ -7500,7 +7501,8 @@ var KupComboboxProps;
|
|
|
7500
7501
|
KupComboboxProps["customStyle"] = "Custom style of the component.";
|
|
7501
7502
|
KupComboboxProps["data"] = "Props of the sub-components (date input text field).";
|
|
7502
7503
|
KupComboboxProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
7503
|
-
KupComboboxProps["
|
|
7504
|
+
KupComboboxProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
7505
|
+
KupComboboxProps["ListDescrMode"] = "Sets how to show the list items of the component. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
7504
7506
|
KupComboboxProps["initialValue"] = "Sets the initial value of the component";
|
|
7505
7507
|
KupComboboxProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
7506
7508
|
KupComboboxProps["isClearable"] = "Enables a clear trailing icon.";
|
|
@@ -7561,8 +7563,8 @@ const KupCombobox = class {
|
|
|
7561
7563
|
this.customStyle = '';
|
|
7562
7564
|
this.data = undefined;
|
|
7563
7565
|
this.disabled = false;
|
|
7564
|
-
this.
|
|
7565
|
-
this.
|
|
7566
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.DESCRIPTION;
|
|
7567
|
+
this.ListDescrMode = kupManager$2.ItemsDisplayMode.CODE_AND_DESC;
|
|
7566
7568
|
this.error = '';
|
|
7567
7569
|
this.icon = null;
|
|
7568
7570
|
this.initialValue = '';
|
|
@@ -7844,12 +7846,12 @@ const KupCombobox = class {
|
|
|
7844
7846
|
legacyLook: this.legacyLook,
|
|
7845
7847
|
size: this.size
|
|
7846
7848
|
? this.size
|
|
7847
|
-
: kupManager$2.getSizeOfInputElement(this.data, this.
|
|
7849
|
+
: kupManager$2.getSizeOfInputElement(this.data, this.DescrMode, this.size),
|
|
7848
7850
|
title: (_a = this.displayedValue) !== null && _a !== void 0 ? _a : '',
|
|
7849
7851
|
};
|
|
7850
7852
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
7851
7853
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
7852
|
-
return (index.h(index.Host, { key: '
|
|
7854
|
+
return (index.h(index.Host, { key: '1ed7f42887dca3f807c6b40a0a139fc4a6515cff', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$9(this, _KupCombobox_elStyle, "f") }, index.h("style", { key: '9161af38b49a700e0d66e925dd2ac90849c815d1' }, __classPrivateFieldGet$9(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '3ee5c3c502a15233b4fe9fa7fb148ba63e837bc1', id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$9(this, _KupCombobox_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ key: 'a0f1c8e5c105204fc11ee7632e77289f21244634' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
7853
7855
|
? kupManager$2.KupThemeIconValues.DROPDOWN
|
|
7854
7856
|
: 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$9(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
7855
7857
|
}
|
|
@@ -7906,10 +7908,10 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7906
7908
|
return __classPrivateFieldGet$9(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
7907
7909
|
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
7908
7910
|
if (idIn != null && idInDecode != null) {
|
|
7909
|
-
this.displayedValue = fChip.getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.
|
|
7911
|
+
this.displayedValue = fChip.getIdOfItemByDisplayMode({ id: idIn, value: idInDecode }, this.DescrMode, ' - ');
|
|
7910
7912
|
}
|
|
7911
7913
|
else {
|
|
7912
|
-
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$9(this, _KupCombobox_listEl, "f"), this.selectMode, this.
|
|
7914
|
+
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$9(this, _KupCombobox_listEl, "f"), this.selectMode, this.DescrMode);
|
|
7913
7915
|
if (ret.exists && eventShouldSetValue) {
|
|
7914
7916
|
this.value = ret.value;
|
|
7915
7917
|
this.displayedValue = ret.displayedValue;
|
|
@@ -7924,7 +7926,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7924
7926
|
}
|
|
7925
7927
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
7926
7928
|
var _a, _b;
|
|
7927
|
-
return (index.h("kup-list", Object.assign({
|
|
7929
|
+
return (index.h("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$5(this, _KupCombobox_listEl, el, "f")) })));
|
|
7928
7930
|
};
|
|
7929
7931
|
KupCombobox.style = KupComboboxStyle0;
|
|
7930
7932
|
|
|
@@ -13881,7 +13883,7 @@ var KupDropdownButtonProps;
|
|
|
13881
13883
|
KupDropdownButtonProps["customStyle"] = "Custom style of the component.";
|
|
13882
13884
|
KupDropdownButtonProps["data"] = "Props of the sub-components.";
|
|
13883
13885
|
KupDropdownButtonProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
13884
|
-
KupDropdownButtonProps["
|
|
13886
|
+
KupDropdownButtonProps["DescrMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\".";
|
|
13885
13887
|
KupDropdownButtonProps["icon"] = "Defaults at null. When set, the button will show this icon.";
|
|
13886
13888
|
KupDropdownButtonProps["initialValue"] = "Sets the initial value of the component.";
|
|
13887
13889
|
KupDropdownButtonProps["label"] = "Defaults at null. When set, the button will show this text.";
|
|
@@ -13927,7 +13929,7 @@ const KupDropdownButton = class {
|
|
|
13927
13929
|
this.customStyle = '';
|
|
13928
13930
|
this.data = null;
|
|
13929
13931
|
this.disabled = false;
|
|
13930
|
-
this.
|
|
13932
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.DESCRIPTION;
|
|
13931
13933
|
this.dropdownOnly = false;
|
|
13932
13934
|
this.icon = null;
|
|
13933
13935
|
this.initialValue = '';
|
|
@@ -14127,7 +14129,7 @@ const KupDropdownButton = class {
|
|
|
14127
14129
|
* Checks the consistency of the list.
|
|
14128
14130
|
*/
|
|
14129
14131
|
consistencyCheck(e, idIn) {
|
|
14130
|
-
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.
|
|
14132
|
+
const ret = fChip.consistencyCheck(idIn, this.data['kup-list'], this.listEl, this.selectMode, this.DescrMode, e);
|
|
14131
14133
|
this.value = ret.value;
|
|
14132
14134
|
}
|
|
14133
14135
|
/*-------------------------------------------------*/
|
|
@@ -14185,7 +14187,7 @@ const KupDropdownButton = class {
|
|
|
14185
14187
|
return buttons;
|
|
14186
14188
|
}
|
|
14187
14189
|
render() {
|
|
14188
|
-
return (index.h(index.Host, { key: '
|
|
14190
|
+
return (index.h(index.Host, { key: '9ada6e879fff0eae9fedc2585cc43d6af40a0135' }, index.h("style", { key: 'cfc19ea1554f29f96b1a1c80a840b9b04c559127' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '2d7460370d014b2f78bf92653b8534ded2147840', id: GenericVariables.componentWrapperId }, index.h("div", { key: '2e4b1dfb52ee7945cad949b44a312a916c25b36e', class: "dropdown-button--wrapper" }, this.renderButtons()), index.h("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) })))));
|
|
14189
14191
|
}
|
|
14190
14192
|
disconnectedCallback() {
|
|
14191
14193
|
if (this.listEl) {
|
|
@@ -16858,7 +16860,7 @@ const KupList = class {
|
|
|
16858
16860
|
this.selected = [];
|
|
16859
16861
|
this.customStyle = '';
|
|
16860
16862
|
this.data = [];
|
|
16861
|
-
this.
|
|
16863
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.DESCRIPTION;
|
|
16862
16864
|
this.showFilter = false;
|
|
16863
16865
|
this.filter = '';
|
|
16864
16866
|
this.hideText = false;
|
|
@@ -17102,7 +17104,7 @@ const KupList = class {
|
|
|
17102
17104
|
}
|
|
17103
17105
|
__classPrivateFieldSet$1(this, _KupList_radios, [], "f");
|
|
17104
17106
|
let index$1 = 0;
|
|
17105
|
-
return (index.h(index.Host, { key: '
|
|
17107
|
+
return (index.h(index.Host, { key: 'a4b6bf1943ab53189462f26f647447c38f71a729' }, index.h("style", { key: '4012e941151dbd5284bbec995d1a18fb8426e231' }, __classPrivateFieldGet$4(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '6e97c785b76618459094fd0b06e057c3b0e87725', id: "kup-component", class: wrapperClass, onKeyDown: __classPrivateFieldGet$4(this, _KupList_listenKeydown, "f") }, this.showFilter ? (index.h("div", { class: filterClass }, __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, index.h("div", { key: 'f50081927ed8a73e0fd0754b41f685c1dee08f46', class: listScrollClass }, index.h("ul", { key: '4057faf4dfe7af3806163a7002eea6f8f8d1b925', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
17106
17108
|
.filter((item) => __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
17107
17109
|
.map((item) => __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index$1++)))))));
|
|
17108
17110
|
}
|
|
@@ -17173,7 +17175,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
17173
17175
|
imageTag = __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_getIconTag).call(this, item.icon, item.placeholderIcon);
|
|
17174
17176
|
}
|
|
17175
17177
|
let primaryTextTag = [
|
|
17176
|
-
fChip.getIdOfItemByDisplayMode(item, item.id == '' ? kupManager$2.ItemsDisplayMode.DESCRIPTION : this.
|
|
17178
|
+
fChip.getIdOfItemByDisplayMode(item, item.id == '' ? kupManager$2.ItemsDisplayMode.DESCRIPTION : this.DescrMode, ' - '),
|
|
17177
17179
|
];
|
|
17178
17180
|
let secTextTag = [];
|
|
17179
17181
|
if (this.twoLine && item.secondaryText && item.secondaryText != '') {
|
|
@@ -19746,7 +19748,7 @@ const KupTree = class {
|
|
|
19746
19748
|
this.store = undefined;
|
|
19747
19749
|
this.useDynamicExpansion = false;
|
|
19748
19750
|
this.totals = undefined;
|
|
19749
|
-
this.
|
|
19751
|
+
this.DescrMode = kupManager$2.ItemsDisplayMode.CODE_AND_DESC;
|
|
19750
19752
|
}
|
|
19751
19753
|
initWithPersistedState() {
|
|
19752
19754
|
if (this.store && this.stateId) {
|
|
@@ -20657,7 +20659,7 @@ const KupTree = class {
|
|
|
20657
20659
|
}
|
|
20658
20660
|
let treeNodeCell = null;
|
|
20659
20661
|
let nodeValue;
|
|
20660
|
-
switch (this.
|
|
20662
|
+
switch (this.DescrMode) {
|
|
20661
20663
|
case kupManager$2.ItemsDisplayMode.CODE:
|
|
20662
20664
|
nodeValue = (_b = (_a = treeNodeData.obj) === null || _a === void 0 ? void 0 : _a.k) !== null && _b !== void 0 ? _b : '';
|
|
20663
20665
|
break;
|
|
@@ -21006,19 +21008,19 @@ const KupTree = class {
|
|
|
21006
21008
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
21007
21009
|
let filterField = null;
|
|
21008
21010
|
if (this.globalFilter) {
|
|
21009
|
-
filterField = (index.h("div", { key: '
|
|
21011
|
+
filterField = (index.h("div", { key: 'b0ec1086e2b4dfed4d01eed6344f2b9723e50a78', id: "global-filter" }, index.h("kup-text-field", { key: 'b9ac273ade69fee415828e88bde88abea9bd7911', fullWidth: true, label: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(kupManager$2.KupLanguageSearch.SEARCH), sizing: kupManager$2.KupComponentSizing.EXTRA_SMALL, icon: kupManager$2.KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
21010
21012
|
window.clearTimeout(this.globalFilterTimeout);
|
|
21011
21013
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
21012
21014
|
} })));
|
|
21013
21015
|
}
|
|
21014
|
-
return (index.h(index.Host, { key: '
|
|
21016
|
+
return (index.h(index.Host, { key: '8e36db0583c51ef4721d14649453d592024c9e0d', "onKup-cell-click": (e) => {
|
|
21015
21017
|
this.kupTreeCellClick.emit(e.detail);
|
|
21016
|
-
} }, index.h("style", { key: '
|
|
21017
|
-
el) }, index.h("table", { key: '
|
|
21018
|
+
} }, index.h("style", { key: '01a452ebdd782e0111d148f3fac132b7ef8704ce' }, __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '365ff6370028fcbe2a28489cf8df8f0502f471b1', id: GenericVariables.componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, index.h("div", { key: '8310f20be32b01d93a1615ccd01d5bbab8eaa783', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
21019
|
+
el) }, index.h("table", { key: '4678d2fc2ff097f5866f1171faa1b9bfec9c9304', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
21018
21020
|
e.preventDefault();
|
|
21019
|
-
} }, index.h("thead", { key: '
|
|
21021
|
+
} }, index.h("thead", { key: '83d22c2cc27c41e63cd2325a9da0576257b21bd0', class: {
|
|
21020
21022
|
'header--is-visible': visibleHeader,
|
|
21021
|
-
} }, index.h("tr", { key: '
|
|
21023
|
+
} }, index.h("tr", { key: 'cbeedfa19b0d218639bac9b1518cd04590512870' }, visibleHeader ? this.renderHeader() : null)), index.h("tbody", { key: '062aa1d90d53d0dc2fd453e1b60d4c81b5a3e30f' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
21022
21024
|
this.columns
|
|
21023
21025
|
? this.renderFooter()
|
|
21024
21026
|
: null)))));
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
|
+
const kupDataTableHelper = require('./kup-data-table-helper-3041bf1b.js');
|
|
8
8
|
const fImage = require('./f-image-7457eb26.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-36ba0f62.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
11
|
+
const fCell = require('./f-cell-41fb7507.js');
|
|
12
|
+
const fPaginatorUtils = require('./f-paginator-utils-adc8b67a.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
14
14
|
require('./kup-dates-6feda954.js');
|
|
15
15
|
require('./f-button-c084046d.js');
|
|
16
16
|
require('./f-button-declarations-76ef9f87.js');
|
|
17
17
|
require('./f-checkbox-e59d6bda.js');
|
|
18
|
-
require('./f-object-field-
|
|
19
|
-
require('./f-text-field-
|
|
18
|
+
require('./f-object-field-4d4002b0.js');
|
|
19
|
+
require('./f-text-field-8c918e34.js');
|
|
20
20
|
require('./component-a6dd6c14.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$4 = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-c084046d.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-36ba0f62.js');
|
|
10
10
|
const kupDates = require('./kup-dates-6feda954.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-7457eb26.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-c084046d.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-41fb7507.js');
|
|
10
10
|
require('./kup-dates-6feda954.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-7457eb26.js');
|
|
13
13
|
require('./f-checkbox-e59d6bda.js');
|
|
14
|
-
require('./f-chip-
|
|
15
|
-
require('./f-object-field-
|
|
16
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-chip-36ba0f62.js');
|
|
15
|
+
require('./f-object-field-4d4002b0.js');
|
|
16
|
+
require('./f-text-field-8c918e34.js');
|
|
17
17
|
|
|
18
18
|
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%}";
|
|
19
19
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
6
|
const fButton = require('./f-button-c084046d.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-e59d6bda.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-8c918e34.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-7457eb26.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -6,7 +6,7 @@ const index = require('./index-c7d441d8.js');
|
|
|
6
6
|
const fButton = require('./f-button-c084046d.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-7457eb26.js');
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
9
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
require('./kup-dates-6feda954.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
require('./kup-dates-6feda954.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
6
|
const fButton = require('./f-button-c084046d.js');
|
|
7
|
-
const fCell = require('./f-cell-
|
|
8
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const fCell = require('./f-cell-41fb7507.js');
|
|
8
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
10
10
|
const fTypography = require('./f-typography-85d8238a.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-7457eb26.js');
|
|
14
14
|
require('./f-checkbox-e59d6bda.js');
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-chip-36ba0f62.js');
|
|
16
|
+
require('./f-object-field-4d4002b0.js');
|
|
17
|
+
require('./f-text-field-8c918e34.js');
|
|
18
18
|
require('./kup-dates-6feda954.js');
|
|
19
19
|
require('./component-a6dd6c14.js');
|
|
20
20
|
|
|
@@ -426,7 +426,7 @@ const KupInputPanel = class {
|
|
|
426
426
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
427
427
|
]
|
|
428
428
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
429
|
-
return (index.h(index.Host, { key: '
|
|
429
|
+
return (index.h(index.Host, { key: '6cfcf4c42a7c706e45bc001c1869ba098bc9894f', "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) => {
|
|
430
430
|
this.tabSelected = e.detail.node.id;
|
|
431
431
|
}, "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) => {
|
|
432
432
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -436,7 +436,7 @@ const KupInputPanel = class {
|
|
|
436
436
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
437
437
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
438
438
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
439
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, index.h("style", { key: '
|
|
439
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, index.h("style", { key: '296c0fb093c16d143e6a7db6c351f5e01b8dfd58' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'd3b416710a01c961421fc5de40c74d15e9cafcf4', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
440
440
|
}
|
|
441
441
|
disconnectedCallback() {
|
|
442
442
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -604,7 +604,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
604
604
|
for (const cellName of Object.keys(row.cells)) {
|
|
605
605
|
const cell = row.cells[cellName];
|
|
606
606
|
if (cell.shape === kupManager.FCellShapes.AUTOCOMPLETE) {
|
|
607
|
-
cell.data['
|
|
607
|
+
cell.data['DescrMode'] = 'CodeOnly';
|
|
608
608
|
cell.data['selectMode'] = 'CodeOnly';
|
|
609
609
|
}
|
|
610
610
|
}
|
|
@@ -1281,7 +1281,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1281
1281
|
: (_d = (_c = cell.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d['kup-list'];
|
|
1282
1282
|
if (kupListData) {
|
|
1283
1283
|
kupListData.data = (filteredRows === null || filteredRows === void 0 ? void 0 : filteredRows.length)
|
|
1284
|
-
? (_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : []
|
|
1284
|
+
? ((_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : [])
|
|
1285
1285
|
: [];
|
|
1286
1286
|
kupListData.options = (_f = options.columns) !== null && _f !== void 0 ? _f : [];
|
|
1287
1287
|
}
|
|
@@ -1330,7 +1330,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1330
1330
|
// Update the autocomplete list data
|
|
1331
1331
|
const kupListData = targetCell.data.data['kup-list'];
|
|
1332
1332
|
kupListData.data = filteredRows.length
|
|
1333
|
-
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1333
|
+
? ((_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : [])
|
|
1334
1334
|
: [];
|
|
1335
1335
|
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1336
1336
|
// Update the component data and refresh
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-6feda954.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-b6d2bca8.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-7457eb26.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|