@sme.up/ketchup 11.0.0-SNAPSHOT-20241217120821 → 11.0.0-SNAPSHOT-20241217144747
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-f64ce26f.js → f-cell-00ed0f88.js} +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +88 -67
- package/dist/cjs/kup-box.cjs.entry.js +1 -1
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -2
- package/dist/cjs/kup-cell.cjs.entry.js +3 -3
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-input-panel.cjs.entry.js +3 -3
- package/dist/cjs/kup-lazy.cjs.entry.js +11 -11
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +1 -1
- package/dist/cjs/kup-object-field.cjs.entry.js +1 -1
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +1 -1
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +1 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +38 -10
- package/dist/collection/components/kup-calendar/kup-calendar.js +24 -2
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.js +46 -11
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list-helper.js +3 -1
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +2 -2
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- 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 +5 -3
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +3 -3
- 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-custom-task-list-header.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 +3 -3
- 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 +4 -4
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +4 -4
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +4 -4
- package/dist/components/kup-lazy.js +12 -12
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +6 -6
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-pdf.js +2 -2
- package/dist/components/kup-photo-frame.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +16 -16
- 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-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.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-tooltip.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/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-c97810e2.js → p-036b91a6.js} +1 -1
- package/dist/components/{p-a351db24.js → p-03aeb562.js} +2 -2
- package/dist/components/{p-3466bd5a.js → p-08373053.js} +1 -1
- package/dist/components/{p-776a38a0.js → p-41f531df.js} +15 -15
- package/dist/components/{p-822c3930.js → p-4311404d.js} +1 -1
- package/dist/components/{p-79c12fc7.js → p-4c7ef355.js} +2 -2
- package/dist/components/{p-f7c2ca1d.js → p-4d095265.js} +4 -4
- package/dist/components/{p-ff8bdafd.js → p-535c2227.js} +7 -7
- package/dist/components/{p-af3fcbd9.js → p-55e884c9.js} +3 -3
- package/dist/components/{p-ba7c1486.js → p-6c4f637c.js} +1 -1
- package/dist/components/{p-42f0b488.js → p-8353abf2.js} +2 -2
- package/dist/components/{p-f8c96edc.js → p-9793001e.js} +1 -1
- package/dist/components/{p-3bc624c9.js → p-9da60133.js} +1 -1
- package/dist/components/{p-22b40453.js → p-9de12833.js} +2 -2
- package/dist/components/{p-be17920c.js → p-a9d55e91.js} +2 -2
- package/dist/components/{p-babf447c.js → p-b275e6a3.js} +2 -2
- package/dist/components/{p-d8b0f5eb.js → p-d54bf97d.js} +5 -5
- package/dist/components/{p-074b0557.js → p-d797e199.js} +93 -69
- package/dist/components/{p-ae5af2ad.js → p-ddee2d87.js} +13 -13
- package/dist/esm/{f-cell-1256023f.js → f-cell-23d78e15.js} +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +88 -67
- package/dist/esm/kup-box.entry.js +1 -1
- package/dist/esm/kup-calendar.entry.js +3 -2
- package/dist/esm/kup-cell.entry.js +3 -3
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +1 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +4 -4
- package/dist/esm/kup-input-panel.entry.js +3 -3
- package/dist/esm/kup-lazy.entry.js +11 -11
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +1 -1
- package/dist/esm/kup-object-field.entry.js +1 -1
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +1 -1
- 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/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-03626088.entry.js → p-14cd74b9.entry.js} +1 -1
- package/dist/ketchup/{p-f8c3b45b.entry.js → p-155f8ac8.entry.js} +1 -1
- package/dist/ketchup/{p-40b2e7e1.entry.js → p-191ffef4.entry.js} +1 -1
- package/dist/ketchup/{p-43e904b4.entry.js → p-213ec175.entry.js} +1 -1
- package/dist/ketchup/{p-c82def8f.entry.js → p-2685e746.entry.js} +1 -1
- package/dist/ketchup/{p-c143bb4f.entry.js → p-26ea9370.entry.js} +1 -1
- package/dist/ketchup/{p-2a0f6208.entry.js → p-270e166f.entry.js} +1 -1
- package/dist/ketchup/{p-383f0f64.entry.js → p-2c731626.entry.js} +1 -1
- package/dist/ketchup/{p-35e91a38.entry.js → p-2c7b2e13.entry.js} +1 -1
- package/dist/ketchup/p-32542996.entry.js +1 -0
- package/dist/ketchup/{p-7f2d6c8f.entry.js → p-3325cc15.entry.js} +1 -1
- package/dist/ketchup/{p-f3dcab80.entry.js → p-3ed6f1f5.entry.js} +1 -1
- package/dist/ketchup/p-46f52864.js +1 -0
- package/dist/ketchup/{p-47f63cc8.entry.js → p-4b2f6b96.entry.js} +1 -1
- package/dist/ketchup/{p-47ac897e.entry.js → p-58834d9a.entry.js} +1 -1
- package/dist/ketchup/p-599054a5.entry.js +16 -0
- package/dist/ketchup/{p-6242a54b.entry.js → p-61afb3e9.entry.js} +1 -1
- package/dist/ketchup/{p-801e0a58.entry.js → p-7dc67db6.entry.js} +1 -1
- package/dist/ketchup/{p-18ad3d25.entry.js → p-7f6b336d.entry.js} +1 -1
- package/dist/ketchup/{p-9ccb907e.entry.js → p-8413123b.entry.js} +1 -1
- package/dist/ketchup/{p-3aa599f4.entry.js → p-894e500b.entry.js} +1 -1
- package/dist/ketchup/p-8c65306d.entry.js +9 -0
- package/dist/ketchup/{p-f93fb43f.entry.js → p-994dd8aa.entry.js} +1 -1
- package/dist/ketchup/{p-21d05b2e.entry.js → p-a18842d7.entry.js} +1 -1
- package/dist/ketchup/{p-f81e7e01.entry.js → p-ab182c69.entry.js} +1 -1
- package/dist/ketchup/{p-d631b997.entry.js → p-ac327d1d.entry.js} +1 -1
- package/dist/ketchup/{p-193ae04f.entry.js → p-b0804c47.entry.js} +1 -1
- package/dist/ketchup/{p-36e492ac.entry.js → p-b10051e0.entry.js} +1 -1
- package/dist/ketchup/{p-612b260c.entry.js → p-eddd687c.entry.js} +1 -1
- package/dist/ketchup/{p-f7cb2d15.entry.js → p-f8cd1c6d.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +5 -1
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +5 -0
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +1 -0
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +6 -1
- package/dist/types/components.d.ts +28 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-06670b74.entry.js +0 -16
- package/dist/ketchup/p-4bb016dc.entry.js +0 -9
- package/dist/ketchup/p-5892775a.js +0 -1
- package/dist/ketchup/p-7c553de7.entry.js +0 -1
|
@@ -4089,6 +4089,7 @@ var KupAutocompleteProps;
|
|
|
4089
4089
|
KupAutocompleteProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
4090
4090
|
KupAutocompleteProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
4091
4091
|
KupAutocompleteProps["initialValue"] = "Sets the initial value of the component.";
|
|
4092
|
+
KupAutocompleteProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
4092
4093
|
KupAutocompleteProps["inputDelay"] = "Input event emission delay in milliseconds.";
|
|
4093
4094
|
KupAutocompleteProps["minimumChars"] = "The minimum number of chars to trigger the autocomplete.";
|
|
4094
4095
|
KupAutocompleteProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
@@ -4140,7 +4141,9 @@ function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
|
4140
4141
|
return item.value;
|
|
4141
4142
|
}
|
|
4142
4143
|
if (mode == ItemsDisplayMode.DESCRIPTION_AND_CODE) {
|
|
4143
|
-
|
|
4144
|
+
if (item.id || item.value) {
|
|
4145
|
+
return item.id + separator + item.value;
|
|
4146
|
+
}
|
|
4144
4147
|
}
|
|
4145
4148
|
return item.id;
|
|
4146
4149
|
}
|
|
@@ -5345,7 +5348,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5345
5348
|
var _a, _b, _c, _d;
|
|
5346
5349
|
switch (cellType) {
|
|
5347
5350
|
case FCellTypes.AUTOCOMPLETE:
|
|
5348
|
-
return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
|
|
5351
|
+
return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value, initialValueDecode: cell.decode }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
|
|
5349
5352
|
case FCellTypes.CHECKBOX:
|
|
5350
5353
|
if (isAutoCentered(props)) {
|
|
5351
5354
|
classObj[FCellClasses.C_CENTERED] = true;
|
|
@@ -5364,7 +5367,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5364
5367
|
case FCellTypes.COLOR_PICKER:
|
|
5365
5368
|
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) })));
|
|
5366
5369
|
case FCellTypes.COMBOBOX:
|
|
5367
|
-
return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, 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) })));
|
|
5370
|
+
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) })));
|
|
5368
5371
|
case FCellTypes.DATE:
|
|
5369
5372
|
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) })));
|
|
5370
5373
|
case FCellTypes.MULTI_AUTOCOMPLETE:
|
|
@@ -10466,6 +10469,7 @@ var KupComboboxProps;
|
|
|
10466
10469
|
KupComboboxProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
10467
10470
|
KupComboboxProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
10468
10471
|
KupComboboxProps["initialValue"] = "Sets the initial value of the component";
|
|
10472
|
+
KupComboboxProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
10469
10473
|
KupComboboxProps["isClearable"] = "Enables a clear trailing icon.";
|
|
10470
10474
|
KupComboboxProps["isSelect"] = "Lets the combobox behave as a select element.";
|
|
10471
10475
|
KupComboboxProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"both\".";
|
|
@@ -16452,7 +16456,7 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
16452
16456
|
this.kupManager.debug.logRender(this, true);
|
|
16453
16457
|
}
|
|
16454
16458
|
render() {
|
|
16455
|
-
return (h$1(Host, { key: '
|
|
16459
|
+
return (h$1(Host, { key: 'c70c26c8423ee5dca2d3ad9affcbb2765ef4ba8c' }, h$1("style", { key: 'c8c0e4000a3497a0c781133275df16e88374cc72' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '53e37cf102a6a19bfb6b824f220379a6a31c98a8', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
16456
16460
|
}
|
|
16457
16461
|
disconnectedCallback() {
|
|
16458
16462
|
this.kupManager.dates.unregister(this);
|
|
@@ -18031,7 +18035,7 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends H {
|
|
|
18031
18035
|
onChange: () => this.onKupChange(),
|
|
18032
18036
|
onFocus: () => this.onKupFocus(),
|
|
18033
18037
|
};
|
|
18034
|
-
return (h$1(Host, { key: '
|
|
18038
|
+
return (h$1(Host, { key: '6fbe5e23fdd6002b4401a4f48789dcc3d67376d2' }, h$1("style", { key: '6dc6d4934ded345eb0d832d37387ddf29439d577' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '0738abd02342b1d6e4eee28c80b50cba91b62f49', id: componentWrapperId }, h$1(FSwitch, Object.assign({ key: '6774227df33c638e694a84ce48c2b0f47f81828b' }, props)))));
|
|
18035
18039
|
}
|
|
18036
18040
|
disconnectedCallback() {
|
|
18037
18041
|
this.kupManager.theme.unregister(this);
|
|
@@ -18294,59 +18298,59 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
18294
18298
|
spinnerClass = 'spinner-v' + this.layout;
|
|
18295
18299
|
if (this.layout === 7) {
|
|
18296
18300
|
spinnerEl = [
|
|
18297
|
-
h$1("div", { key: '
|
|
18298
|
-
h$1("div", { key: '
|
|
18299
|
-
h$1("div", { key: '
|
|
18300
|
-
h$1("div", { key: '
|
|
18301
|
-
h$1("div", { key: '
|
|
18302
|
-
h$1("div", { key: '
|
|
18301
|
+
h$1("div", { key: '4bd11aebdfbc1c960633424069e51409e062feb4', class: "sk-spinner-v7-dot" }),
|
|
18302
|
+
h$1("div", { key: '1da54d48b55cf3f07994a52a3fdf9de32639b269', class: "sk-spinner-v7-dot" }),
|
|
18303
|
+
h$1("div", { key: '8001b4676b15ef60e84a4a728e457ab5afad7324', class: "sk-spinner-v7-dot" }),
|
|
18304
|
+
h$1("div", { key: 'c0632f0be9eafee154b4c280915da15df6121fce', class: "sk-spinner-v7-dot" }),
|
|
18305
|
+
h$1("div", { key: '7756968cd19464597be513baee05bc32e684e16b', class: "sk-spinner-v7-dot" }),
|
|
18306
|
+
h$1("div", { key: '0d9bbdff5a1ecb62dab141ef19bdb934f9f2ab9b', class: "sk-spinner-v7-dot" }),
|
|
18303
18307
|
];
|
|
18304
18308
|
}
|
|
18305
18309
|
if (this.layout === 9) {
|
|
18306
18310
|
spinnerEl = [
|
|
18307
|
-
h$1("div", { key: '
|
|
18308
|
-
h$1("div", { key: '
|
|
18311
|
+
h$1("div", { key: '5959b3fc9c7d388a321ae6b4ec4b5fafc807ec9b', class: "sk-spinner-v9-bounce1" }),
|
|
18312
|
+
h$1("div", { key: 'bd31de963b3e2f580426ff611c1a7ab25d621329', class: "sk-spinner-v9-bounce2" }),
|
|
18309
18313
|
];
|
|
18310
18314
|
}
|
|
18311
18315
|
if (this.layout === 10) {
|
|
18312
18316
|
spinnerEl = [
|
|
18313
|
-
h$1("div", { key: '
|
|
18314
|
-
h$1("div", { key: '
|
|
18317
|
+
h$1("div", { key: '02ae86e55572f5923c03c8eb1383f07806624b80', class: "sk-spinner-v10-cube1" }),
|
|
18318
|
+
h$1("div", { key: 'd89e91a227d5d9cddcb565dac4e2a79d98e2a2bd', class: "sk-spinner-v10-cube2" }),
|
|
18315
18319
|
];
|
|
18316
18320
|
}
|
|
18317
18321
|
if (this.layout === 12) {
|
|
18318
18322
|
spinnerEl = [
|
|
18319
|
-
h$1("div", { key: '
|
|
18320
|
-
h$1("div", { key: '
|
|
18323
|
+
h$1("div", { key: '5731581e4a11b79e60eaa3e732b64ea004bcd5e1', class: "sk-spinner-v12-dot1" }),
|
|
18324
|
+
h$1("div", { key: '25d700729222f7c7c2af968fc6a06c3f47bfbd0c', class: "sk-spinner-v12-dot2" }),
|
|
18321
18325
|
];
|
|
18322
18326
|
}
|
|
18323
18327
|
if (this.layout === 13) {
|
|
18324
18328
|
spinnerEl = [
|
|
18325
|
-
h$1("div", { key: '
|
|
18326
|
-
h$1("div", { key: '
|
|
18327
|
-
h$1("div", { key: '
|
|
18328
|
-
h$1("div", { key: '
|
|
18329
|
-
h$1("div", { key: '
|
|
18330
|
-
h$1("div", { key: '
|
|
18331
|
-
h$1("div", { key: '
|
|
18332
|
-
h$1("div", { key: '
|
|
18333
|
-
h$1("div", { key: '
|
|
18329
|
+
h$1("div", { key: 'd8c2c65aa3fa08b8137d41aec4f9aa42b4c7abce', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
18330
|
+
h$1("div", { key: '1294a53b8f3f710282060ccdd9f9325d50f8c668', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
18331
|
+
h$1("div", { key: 'b85842b20c55a113be6a523404d648bfb99ab609', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
18332
|
+
h$1("div", { key: '92f644e732fee84c97703f692fbf9f879120d503', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
18333
|
+
h$1("div", { key: '2baeb03d493ae21e23db5176a05480e0493269e4', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
18334
|
+
h$1("div", { key: '7164ee3bcb56a2b948ca13c008e6c31e2936a4d4', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
18335
|
+
h$1("div", { key: '13bc822dce6f147442e22b02730e21865b2c211c', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
18336
|
+
h$1("div", { key: '9169c182ea3ead483d9a1afe22bed8674c2fbd06', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
18337
|
+
h$1("div", { key: 'eff5a7428127574bb3aadbcadbdd94025c66f060', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
18334
18338
|
];
|
|
18335
18339
|
}
|
|
18336
18340
|
if (this.layout === 14) {
|
|
18337
18341
|
spinnerEl = [
|
|
18338
|
-
h$1("div", { key: '
|
|
18339
|
-
h$1("div", { key: '
|
|
18340
|
-
h$1("div", { key: '
|
|
18341
|
-
h$1("div", { key: '
|
|
18342
|
-
h$1("div", { key: '
|
|
18343
|
-
h$1("div", { key: '
|
|
18344
|
-
h$1("div", { key: '
|
|
18345
|
-
h$1("div", { key: '
|
|
18346
|
-
h$1("div", { key: '
|
|
18347
|
-
h$1("div", { key: '
|
|
18348
|
-
h$1("div", { key: '
|
|
18349
|
-
h$1("div", { key: '
|
|
18342
|
+
h$1("div", { key: 'e6d6debfb615e9f33cff1f016acf7ee0c8d70498', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
18343
|
+
h$1("div", { key: '85fc5c6980792889e675c3df356feb3f3ec2d018', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
18344
|
+
h$1("div", { key: '7135a4ccd777f3cbb8deda8dfea569589851526f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
18345
|
+
h$1("div", { key: 'fc7ecbc8884464ad05219a38186aaa0ce5b12c87', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
18346
|
+
h$1("div", { key: '88fe8dfa73e2ac65cf6ef6b90c60971f2014112e', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
18347
|
+
h$1("div", { key: '1628c0a6ceb994ccd665ceeddecc69714ca43685', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
18348
|
+
h$1("div", { key: '631b7191885b196677d3df7f59a33f59813cb961', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
18349
|
+
h$1("div", { key: '0bd52f9f8b2dc98cdc92b4d68249ef9a2f72de7c', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
18350
|
+
h$1("div", { key: 'b4859b29bc9c67fb31ac52baca133b568b7b5920', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
18351
|
+
h$1("div", { key: 'd5923c97bc43352682dfc3bee8fe195e1a9f7697', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
18352
|
+
h$1("div", { key: '43a932bf52251603c9b99163c66f75c64abdcf72', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
18353
|
+
h$1("div", { key: '1b3601b17f45e5548a7b47a0249bdf2f94c40b11', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
18350
18354
|
];
|
|
18351
18355
|
}
|
|
18352
18356
|
}
|
|
@@ -18365,7 +18369,7 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
18365
18369
|
else {
|
|
18366
18370
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
18367
18371
|
}
|
|
18368
|
-
return (h$1(Host, { key: '
|
|
18372
|
+
return (h$1(Host, { key: 'cd7f98fa14d07b314791e64aafa46f7111c2d9b9', style: elStyle }, h$1("style", { key: 'ccc425aadf72e68b26052ea5e402a1e809e87c51' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '3a3721606b23c6dd1a0ea67d46a7cc19ff7f2b87', id: componentWrapperId, style: elStyle }, h$1("div", { key: '671f408c10faa4279d9b8f974c7350a5c0adc2b4', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h$1("div", { key: 'cc415dd3e870b000c3da0e5485b6a0a8e76ab224', id: wrapperClass, style: elStyle }, h$1("div", { key: 'efbebeff75c03843ce6ccf96f485aae5761c35e4', class: spinnerClass }, spinnerEl))))));
|
|
18369
18373
|
}
|
|
18370
18374
|
disconnectedCallback() {
|
|
18371
18375
|
this.kupManager.theme.unregister(this);
|
|
@@ -18624,7 +18628,7 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends H {
|
|
|
18624
18628
|
: false,
|
|
18625
18629
|
onClick: (i) => this.onKupClick(i),
|
|
18626
18630
|
};
|
|
18627
|
-
return (h$1(Host, { key: '
|
|
18631
|
+
return (h$1(Host, { key: '3d73b7606c40063f487a597a80ffcb020192bd26' }, h$1("style", { key: '1d93d5b324cbe85e685fcc6ea72d97598cc0ae2b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '8061260a3bf3b35f3942cd8b029077f0fd24242b', id: componentWrapperId }, h$1(FRating, Object.assign({ key: '5bcad80eb8799b8ebc797cc4bb6a2b21c7355806' }, props)))));
|
|
18628
18632
|
}
|
|
18629
18633
|
disconnectedCallback() {
|
|
18630
18634
|
this.kupManager.theme.unregister(this);
|
|
@@ -18888,7 +18892,7 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
18888
18892
|
? true
|
|
18889
18893
|
: false,
|
|
18890
18894
|
};
|
|
18891
|
-
return (h$1(Host, { key: '
|
|
18895
|
+
return (h$1(Host, { key: 'fc069fc045b472feef52fb5992ba6192d499b837' }, h$1("style", { key: '2056a42b2210cea537df60dad6c7e9368e57e124' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'ef6a639f4dc3a94c5353ceca5dedb7f4cd3ea60e', id: componentWrapperId }, h$1(FProgressBar, Object.assign({ key: 'e25e24df64a29f9bc18814505da2bd0e0908a1d0' }, props)))));
|
|
18892
18896
|
}
|
|
18893
18897
|
disconnectedCallback() {
|
|
18894
18898
|
this.kupManager.theme.unregister(this);
|
|
@@ -21112,7 +21116,7 @@ const KupDialog = /*@__PURE__*/ proxyCustomElement(class KupDialog extends H {
|
|
|
21112
21116
|
if (headerSlot) {
|
|
21113
21117
|
__classPrivateFieldSet$3(this, _KupDialog_header, headerSlot, "f");
|
|
21114
21118
|
}
|
|
21115
|
-
return (h$1(Host, { key: '
|
|
21119
|
+
return (h$1(Host, { key: 'f1ddf60b563705289df8bcac7b67fd9a4ed7b2e4', "fade-in": true, style: style }, h$1("style", { key: 'daafa62322845d8913844c00a5a148f856bbb327' }, __classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '6408c03e635a80657661b7c19bac8f43809df0d2', id: componentWrapperId }, this.header ? (h$1("div", { class: "header", ref: (el) => (__classPrivateFieldSet$3(this, _KupDialog_header, el, "f")) }, this.header.title ? (h$1("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h$1(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h$1("slot", { name: "header" })) : null, h$1("div", { key: '24026dd774bbe8efba75cf25df64dabb8aff0c1a', class: "content" }, h$1("slot", { key: '052be700dbf2257b204da95524bab4f7c95acfbe', name: "content" })))));
|
|
21116
21120
|
}
|
|
21117
21121
|
disconnectedCallback() {
|
|
21118
21122
|
if (this.modal) {
|
|
@@ -21670,7 +21674,7 @@ const KupDatePicker = /*@__PURE__*/ proxyCustomElement(class KupDatePicker exten
|
|
|
21670
21674
|
this.kupManager.debug.logRender(this, true);
|
|
21671
21675
|
}
|
|
21672
21676
|
render() {
|
|
21673
|
-
return (h$1(Host, { key: '
|
|
21677
|
+
return (h$1(Host, { key: '4e30c74703bcd1eb4d6deeb130e9744639b186d7' }, h$1("style", { key: '0dc7ca2e29337272a3a551a1320d180e59a0df7d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'f2f4304d4d815bec1fbb077d45c0a831907e99ab', id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
21674
21678
|
}
|
|
21675
21679
|
disconnectedCallback() {
|
|
21676
21680
|
this.kupManager.dates.unregister(this);
|
|
@@ -22289,7 +22293,7 @@ const KupForm = /*@__PURE__*/ proxyCustomElement(class KupForm extends H {
|
|
|
22289
22293
|
render() {
|
|
22290
22294
|
let formContent = null;
|
|
22291
22295
|
if (this.data.rows.length === 0) {
|
|
22292
|
-
formContent = (h$1("p", { key: '
|
|
22296
|
+
formContent = (h$1("p", { key: '4b4c768ddde3a3e5b716aa6c78f19d124fe472ff' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
22293
22297
|
}
|
|
22294
22298
|
else {
|
|
22295
22299
|
const rows = this.data.rows;
|
|
@@ -22300,7 +22304,7 @@ const KupForm = /*@__PURE__*/ proxyCustomElement(class KupForm extends H {
|
|
|
22300
22304
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
22301
22305
|
}
|
|
22302
22306
|
}
|
|
22303
|
-
return (h$1(Host, { key: '
|
|
22307
|
+
return (h$1(Host, { key: 'fef68da43868f5b70c76102cc08fc53557b0feb8' }, h$1("style", { key: 'c8265a9f9c5a9bce97c8c2bbf64d3d7cbf1f57ee' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'de6c69d454396ebf0e82b5de27c7541132038eeb', id: componentWrapperId }, formContent)));
|
|
22304
22308
|
}
|
|
22305
22309
|
disconnectedCallback() {
|
|
22306
22310
|
this.kupManager.language.unregister(this);
|
|
@@ -26817,6 +26821,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
26817
26821
|
this.error = '';
|
|
26818
26822
|
this.icon = null;
|
|
26819
26823
|
this.initialValue = '';
|
|
26824
|
+
this.initialValueDecode = '';
|
|
26820
26825
|
this.isClearable = false;
|
|
26821
26826
|
this.isSelect = true;
|
|
26822
26827
|
this.label = null;
|
|
@@ -26837,7 +26842,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
26837
26842
|
});
|
|
26838
26843
|
}
|
|
26839
26844
|
onKupChange(value) {
|
|
26840
|
-
let ret = __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
26845
|
+
let ret = __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
|
|
26841
26846
|
this.kupChange.emit({
|
|
26842
26847
|
comp: this,
|
|
26843
26848
|
id: this.rootElement.id,
|
|
@@ -26886,7 +26891,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
26886
26891
|
});
|
|
26887
26892
|
}
|
|
26888
26893
|
onKupInput() {
|
|
26889
|
-
let ret = __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$2(this, _KupCombobox_textfieldEl, "f").value, false);
|
|
26894
|
+
let ret = __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$2(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
|
|
26890
26895
|
__classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
|
|
26891
26896
|
this.kupInput.emit({
|
|
26892
26897
|
comp: this,
|
|
@@ -26929,7 +26934,11 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
26929
26934
|
/* W a t c h e r s */
|
|
26930
26935
|
/*-------------------------------------------------*/
|
|
26931
26936
|
initialValueChange(newValue) {
|
|
26932
|
-
this.
|
|
26937
|
+
this.initialValueDecode = undefined;
|
|
26938
|
+
this.setValue(newValue, undefined);
|
|
26939
|
+
}
|
|
26940
|
+
initialValueDecodeChange(newValue) {
|
|
26941
|
+
this.setValue(this.initialValue, newValue);
|
|
26933
26942
|
}
|
|
26934
26943
|
/*-------------------------------------------------*/
|
|
26935
26944
|
/* L i s t e n e r s */
|
|
@@ -27020,8 +27029,8 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27020
27029
|
* Sets the component's value.
|
|
27021
27030
|
* @param {string} value - Value to be set.
|
|
27022
27031
|
*/
|
|
27023
|
-
async setValue(value) {
|
|
27024
|
-
__classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
27032
|
+
async setValue(value, valueDecode) {
|
|
27033
|
+
__classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
|
|
27025
27034
|
}
|
|
27026
27035
|
/*-------------------------------------------------*/
|
|
27027
27036
|
/* L i f e c y c l e H o o k s */
|
|
@@ -27038,7 +27047,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27038
27047
|
}
|
|
27039
27048
|
}
|
|
27040
27049
|
componentDidLoad() {
|
|
27041
|
-
__classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
|
|
27050
|
+
__classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
27042
27051
|
__classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
|
|
27043
27052
|
}
|
|
27044
27053
|
componentWillRender() {
|
|
@@ -27085,7 +27094,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27085
27094
|
};
|
|
27086
27095
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
27087
27096
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
27088
|
-
return (h$1(Host, { key: '
|
|
27097
|
+
return (h$1(Host, { key: '4288932134731d8923bfabfe12b699a8cd2da762', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1("style", { key: 'a21e8ac16f00c02d50290582842d09c59ed6fbf5' }, __classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: 'd3de05f1906daf13beeac3453257382df7a20740', id: componentWrapperId, style: __classPrivateFieldGet$2(this, _KupCombobox_elStyle, "f") }, h$1(FTextField, Object.assign({ key: '6128749591c290c78e51afc59313d4db69394873' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
27089
27098
|
? KupThemeIconValues.DROPDOWN
|
|
27090
27099
|
: null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet$2(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
27091
27100
|
}
|
|
@@ -27098,7 +27107,8 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27098
27107
|
}
|
|
27099
27108
|
get rootElement() { return this; }
|
|
27100
27109
|
static get watchers() { return {
|
|
27101
|
-
"initialValue": ["initialValueChange"]
|
|
27110
|
+
"initialValue": ["initialValueChange"],
|
|
27111
|
+
"initialValueDecode": ["initialValueDecodeChange"]
|
|
27102
27112
|
}; }
|
|
27103
27113
|
static get style() { return KupComboboxStyle0; }
|
|
27104
27114
|
}, [1, "kup-combobox", {
|
|
@@ -27110,6 +27120,7 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27110
27120
|
"error": [1],
|
|
27111
27121
|
"icon": [1],
|
|
27112
27122
|
"initialValue": [1, "initial-value"],
|
|
27123
|
+
"initialValueDecode": [1, "initial-value-decode"],
|
|
27113
27124
|
"isClearable": [4, "is-clearable"],
|
|
27114
27125
|
"isSelect": [516, "is-select"],
|
|
27115
27126
|
"label": [1],
|
|
@@ -27129,7 +27140,8 @@ const KupCombobox = /*@__PURE__*/ proxyCustomElement(class KupCombobox extends H
|
|
|
27129
27140
|
"setProps": [64],
|
|
27130
27141
|
"setValue": [64]
|
|
27131
27142
|
}, [[0, "keydown", "listenKeydown"]], {
|
|
27132
|
-
"initialValue": ["initialValueChange"]
|
|
27143
|
+
"initialValue": ["initialValueChange"],
|
|
27144
|
+
"initialValueDecode": ["initialValueDecodeChange"]
|
|
27133
27145
|
}]);
|
|
27134
27146
|
_KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _KupCombobox_listEl = new WeakMap(), _KupCombobox_textfieldWrapper = new WeakMap(), _KupCombobox_textfieldEl = new WeakMap(), _KupCombobox_clickCb = new WeakMap(), _KupCombobox_instances = new WeakSet(), _KupCombobox_openList = function _KupCombobox_openList() {
|
|
27135
27147
|
var _a, _b;
|
|
@@ -27169,7 +27181,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
27169
27181
|
__classPrivateFieldGet$2(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$2(this, _KupCombobox_clickCb, "f"));
|
|
27170
27182
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
27171
27183
|
return __classPrivateFieldGet$2(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
27172
|
-
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, setValue) {
|
|
27184
|
+
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, setValue) {
|
|
27173
27185
|
let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$2(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
|
|
27174
27186
|
if (ret.exists) {
|
|
27175
27187
|
if (setValue) {
|
|
@@ -27182,7 +27194,12 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
27182
27194
|
}
|
|
27183
27195
|
else {
|
|
27184
27196
|
this.value = idIn;
|
|
27185
|
-
|
|
27197
|
+
if (setValue) {
|
|
27198
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
27199
|
+
}
|
|
27200
|
+
else {
|
|
27201
|
+
this.displayedValue = idIn;
|
|
27202
|
+
}
|
|
27186
27203
|
if (__classPrivateFieldGet$2(this, _KupCombobox_listEl, "f") != null) {
|
|
27187
27204
|
__classPrivateFieldGet$2(this, _KupCombobox_listEl, "f").filter = ret.value;
|
|
27188
27205
|
}
|
|
@@ -27568,7 +27585,7 @@ const KupColorPicker = /*@__PURE__*/ proxyCustomElement(class KupColorPicker ext
|
|
|
27568
27585
|
render() {
|
|
27569
27586
|
let widget = null;
|
|
27570
27587
|
if (this.swatchOnly) {
|
|
27571
|
-
widget = (h$1("button", { key: '
|
|
27588
|
+
widget = (h$1("button", { key: 'f499be9b6cbcc51c02384107f08f91d611a0571d', disabled: this.disabled, class: "color-picker", onClick: () => this.openPicker(), style: {
|
|
27572
27589
|
backgroundColor: this.value,
|
|
27573
27590
|
}, type: "button" }));
|
|
27574
27591
|
}
|
|
@@ -27578,7 +27595,7 @@ const KupColorPicker = /*@__PURE__*/ proxyCustomElement(class KupColorPicker ext
|
|
|
27578
27595
|
const style = {
|
|
27579
27596
|
['--kup_colorpicker_thumb_color']: this.value ? this.value : '',
|
|
27580
27597
|
};
|
|
27581
|
-
return (h$1(Host, { key: '
|
|
27598
|
+
return (h$1(Host, { key: '78317a95daf79794261dfc7c32888c35b3f9a405', style: style }, h$1("style", { key: 'f5dd6e670608ebb3d1b52ae8939fe0eafc3eecf4' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '4353d435e6435b72d24df9290f047ae14719d5fb', id: componentWrapperId }, widget)));
|
|
27582
27599
|
}
|
|
27583
27600
|
disconnectedCallback() {
|
|
27584
27601
|
if (this.card) {
|
|
@@ -27946,13 +27963,13 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class KupChip extends H {
|
|
|
27946
27963
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
27947
27964
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
27948
27965
|
}
|
|
27949
|
-
return (h$1(Host, { key: '
|
|
27966
|
+
return (h$1(Host, { key: 'ecaf4300c520cb3137be48ff22bd418b05148a7b', "onKup-autocomplete-itemclick": (e) => {
|
|
27950
27967
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
27951
27968
|
}, "onKup-combobox-itemclick": (e) => {
|
|
27952
27969
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
27953
27970
|
}, "onKup-textfield-change": (e) => {
|
|
27954
27971
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
27955
|
-
} }, h$1("style", { key: '
|
|
27972
|
+
} }, h$1("style", { key: '3b36ccf49c269bafbd7a58c7681ede5d708fca63' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '68560c06c332ca10129a22789378b0295f491798', id: componentWrapperId }, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h$1(FChip, Object.assign({}, props)) : null, h$1("slot", { key: 'c21b6c225ed6a9c252b6a7f8a8800079668eae6f', name: "field" }))));
|
|
27956
27973
|
}
|
|
27957
27974
|
disconnectedCallback() {
|
|
27958
27975
|
this.kupManager.theme.unregister(this);
|
|
@@ -28295,7 +28312,7 @@ const KupCheckbox = /*@__PURE__*/ proxyCustomElement(class KupCheckbox extends H
|
|
|
28295
28312
|
onChange: () => this.onKupChange(),
|
|
28296
28313
|
onFocus: () => this.onKupFocus(),
|
|
28297
28314
|
};
|
|
28298
|
-
return (h$1(Host, { key: '
|
|
28315
|
+
return (h$1(Host, { key: 'b37176baab7fb2405afe72dafb8ce7b581eecd9f' }, h$1("style", { key: '88e82eb7e0ec3162ddf90a50e0acbdf61ed9d216' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '3e2919a4a4a7920f9a16d230cd321d65a7dc0be5', id: componentWrapperId }, h$1(FCheckbox, Object.assign({ key: 'e768196bdabf90f74ded35275c64c0ef43cef8a1' }, props)))));
|
|
28299
28316
|
}
|
|
28300
28317
|
disconnectedCallback() {
|
|
28301
28318
|
this.kupManager.theme.unregister(this);
|
|
@@ -30843,6 +30860,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
30843
30860
|
this.error = '';
|
|
30844
30861
|
this.icon = null;
|
|
30845
30862
|
this.initialValue = '';
|
|
30863
|
+
this.initialValueDecode = '';
|
|
30846
30864
|
this.isClearable = false;
|
|
30847
30865
|
this.inputDelay = 300;
|
|
30848
30866
|
this.label = null;
|
|
@@ -30866,7 +30884,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
30866
30884
|
}
|
|
30867
30885
|
onKupChange(value) {
|
|
30868
30886
|
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
30869
|
-
const ret = __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
30887
|
+
const ret = __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, undefined, true);
|
|
30870
30888
|
if (ret.exists || this.allowInconsistentValues) {
|
|
30871
30889
|
this.kupChange.emit({
|
|
30872
30890
|
comp: this,
|
|
@@ -30895,7 +30913,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
30895
30913
|
}
|
|
30896
30914
|
onKupInput() {
|
|
30897
30915
|
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
30898
|
-
const ret = __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value, false);
|
|
30916
|
+
const ret = __classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value, undefined, false);
|
|
30899
30917
|
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
30900
30918
|
if (__classPrivateFieldGet(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
|
|
30901
30919
|
this.kupInput.emit({
|
|
@@ -31027,9 +31045,9 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
31027
31045
|
* Sets the value of the component.
|
|
31028
31046
|
* @param {string} value - Value of the component.
|
|
31029
31047
|
*/
|
|
31030
|
-
async setValue(value) {
|
|
31048
|
+
async setValue(value, valueDecode) {
|
|
31031
31049
|
__classPrivateFieldSet(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
31032
|
-
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
31050
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, valueDecode, true);
|
|
31033
31051
|
}
|
|
31034
31052
|
/*-------------------------------------------------*/
|
|
31035
31053
|
/* L i f e c y c l e H o o k s */
|
|
@@ -31047,7 +31065,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
31047
31065
|
}
|
|
31048
31066
|
}
|
|
31049
31067
|
componentDidLoad() {
|
|
31050
|
-
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
|
|
31068
|
+
__classPrivateFieldGet(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
31051
31069
|
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
|
|
31052
31070
|
}
|
|
31053
31071
|
componentWillRender() {
|
|
@@ -31093,7 +31111,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
31093
31111
|
};
|
|
31094
31112
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
31095
31113
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
31096
|
-
return (h$1(Host, { key: '
|
|
31114
|
+
return (h$1(Host, { key: '6c6984c561fbaf949568952ceee8324f9333e985', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1("style", { key: '5acaeeee7db6cabf2a0efd7a5b2cde40ef401c7f' }, __classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '8dfc42e263835c1bbee764eff2054badc2e37cf5', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupAutocomplete_elStyle, "f") }, h$1(FTextField, Object.assign({ key: 'ca4b6551eee15cdf162eb4d9952daa66285810a2' }, props, { icon: this.showDropDownIcon
|
|
31097
31115
|
? KupThemeIconValues.DROPDOWN
|
|
31098
31116
|
: null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
31099
31117
|
window.clearTimeout(__classPrivateFieldGet(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -31119,6 +31137,7 @@ const KupAutocomplete = /*@__PURE__*/ proxyCustomElement(class KupAutocomplete e
|
|
|
31119
31137
|
"error": [1],
|
|
31120
31138
|
"icon": [1],
|
|
31121
31139
|
"initialValue": [1, "initial-value"],
|
|
31140
|
+
"initialValueDecode": [1, "initial-value-decode"],
|
|
31122
31141
|
"isClearable": [4, "is-clearable"],
|
|
31123
31142
|
"inputDelay": [2, "input-delay"],
|
|
31124
31143
|
"label": [1],
|
|
@@ -31179,7 +31198,7 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
31179
31198
|
__classPrivateFieldGet(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupAutocomplete_clickCb, "f"));
|
|
31180
31199
|
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
31181
31200
|
return __classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
31182
|
-
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, setValue) {
|
|
31201
|
+
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, setValue) {
|
|
31183
31202
|
if (!__classPrivateFieldGet(this, _KupAutocomplete_doConsistencyCheck, "f")) {
|
|
31184
31203
|
return;
|
|
31185
31204
|
}
|
|
@@ -31195,7 +31214,12 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
31195
31214
|
}
|
|
31196
31215
|
}
|
|
31197
31216
|
else {
|
|
31198
|
-
|
|
31217
|
+
if (setValue) {
|
|
31218
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
31219
|
+
}
|
|
31220
|
+
else {
|
|
31221
|
+
this.displayedValue = idIn;
|
|
31222
|
+
}
|
|
31199
31223
|
if (__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
|
|
31200
31224
|
__classPrivateFieldGet(this, _KupAutocomplete_listEl, "f").filter = ret.value;
|
|
31201
31225
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, f as forceUpdate } from './p-2e5f2e07.js';
|
|
2
|
-
import { g as ganttDateRangeFromTask, s as seedDates, d as defineCustomElement$5 } from './p-
|
|
2
|
+
import { g as ganttDateRangeFromTask, s as seedDates, d as defineCustomElement$5 } from './p-a9d55e91.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks } from './p-9aa93983.js';
|
|
4
|
-
import { c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection, d as defineCustomElement$9 } from './p-
|
|
5
|
-
import { d as defineCustomElement$c } from './p-
|
|
4
|
+
import { c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection, d as defineCustomElement$9 } from './p-55e884c9.js';
|
|
5
|
+
import { d as defineCustomElement$c } from './p-b275e6a3.js';
|
|
6
6
|
import { d as defineCustomElement$b } from './p-0e6c0355.js';
|
|
7
|
-
import { d as defineCustomElement$a } from './p-
|
|
8
|
-
import { d as defineCustomElement$8 } from './p-
|
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$a } from './p-9de12833.js';
|
|
8
|
+
import { d as defineCustomElement$8 } from './p-d54bf97d.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-036b91a6.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-4d095265.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-535c2227.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-4311404d.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-08373053.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-4c7ef355.js';
|
|
15
15
|
|
|
16
16
|
const kupGanttCss = ".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: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:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);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}.wrapper{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}.ganttContainer{background:var(--kup-layer-2);border-radius:var(--kup-radius-00);overflow:hidden;padding:var(--kup-space-05)}.ganttVerticalContainer{overflow:hidden;font-size:0;margin:0;padding:0}.horizontalContainer{margin:0;padding:0;overflow:hidden}.horizontalContainerScrollable{overflow:auto !important;scrollbar-width:0}.horizontalContainerScrollable::-webkit-scrollbar{width:0;height:0}.task-gantt{overflow:hidden}";
|
|
17
17
|
const KupGanttStyle0 = kupGanttCss;
|
|
@@ -579,9 +579,9 @@ const KupGantt = /*@__PURE__*/ proxyCustomElement(class KupGantt extends H {
|
|
|
579
579
|
TaskListHeader: this.TaskListHeader,
|
|
580
580
|
TaskListTable: this.TaskListTable
|
|
581
581
|
};
|
|
582
|
-
return (h("div", { key: '
|
|
582
|
+
return (h("div", { key: '818930e7cdf7b7d2a734ef9767fbaa633b764245', class: "gannt-wrapper-main" }, h("div", { key: '51619f1317a5428f603208961c8c05e0a18a8b62', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: 'ee80c9b92bf3fbaacb6e012a8c47c23a79dff364', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
583
583
|
this.taskListScrollWidth = width;
|
|
584
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
584
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '09bf9b1ba7c12634ad8cff558ac4369c3b5f4521', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { key: '187c6bec18c73cfb59d797bae2bdf11c6eddad86', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: 'f1b68b38471ce97b934bce439ccfcfd5b540b2b0', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { key: '9ef52219a92fa78b79504ff5c1aba0c532e1ede1', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
585
585
|
}
|
|
586
586
|
get rootElement() { return this; }
|
|
587
587
|
static get watchers() { return {
|
|
@@ -608,7 +608,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
608
608
|
var _a, _b, _c, _d;
|
|
609
609
|
switch (cellType) {
|
|
610
610
|
case FCellTypes.AUTOCOMPLETE:
|
|
611
|
-
return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
|
|
611
|
+
return (h("kup-autocomplete", Object.assign({ key: column.name + props.row.id, initialValue: cell.value, initialValueDecode: cell.decode }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
|
|
612
612
|
case FCellTypes.CHECKBOX:
|
|
613
613
|
if (isAutoCentered(props)) {
|
|
614
614
|
classObj[FCellClasses.C_CENTERED] = true;
|
|
@@ -627,7 +627,7 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
627
627
|
case FCellTypes.COLOR_PICKER:
|
|
628
628
|
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) })));
|
|
629
629
|
case FCellTypes.COMBOBOX:
|
|
630
|
-
return (h("kup-combobox", Object.assign({ key: column.name + props.row.id, initialValue: cell.value }, 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) })));
|
|
630
|
+
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) })));
|
|
631
631
|
case FCellTypes.DATE:
|
|
632
632
|
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) })));
|
|
633
633
|
case FCellTypes.MULTI_AUTOCOMPLETE:
|