@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
|
@@ -6,7 +6,7 @@ const index = require('./index-e8aa3c73.js');
|
|
|
6
6
|
const kupManager$1 = require('./kup-manager-d3139668.js');
|
|
7
7
|
const fTextField = require('./f-text-field-5428efcd.js');
|
|
8
8
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-00ed0f88.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
const fImage = require('./f-image-4d316ab3.js');
|
|
12
12
|
const fButton = require('./f-button-1e98edae.js');
|
|
@@ -31,6 +31,7 @@ var KupAutocompleteProps;
|
|
|
31
31
|
KupAutocompleteProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
32
32
|
KupAutocompleteProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
33
33
|
KupAutocompleteProps["initialValue"] = "Sets the initial value of the component.";
|
|
34
|
+
KupAutocompleteProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
34
35
|
KupAutocompleteProps["inputDelay"] = "Input event emission delay in milliseconds.";
|
|
35
36
|
KupAutocompleteProps["minimumChars"] = "The minimum number of chars to trigger the autocomplete.";
|
|
36
37
|
KupAutocompleteProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
@@ -47,7 +48,9 @@ function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
|
47
48
|
return item.value;
|
|
48
49
|
}
|
|
49
50
|
if (mode == fCell.ItemsDisplayMode.DESCRIPTION_AND_CODE) {
|
|
50
|
-
|
|
51
|
+
if (item.id || item.value) {
|
|
52
|
+
return item.id + separator + item.value;
|
|
53
|
+
}
|
|
51
54
|
}
|
|
52
55
|
return item.id;
|
|
53
56
|
}
|
|
@@ -216,6 +219,7 @@ const KupAutocomplete = class {
|
|
|
216
219
|
this.error = '';
|
|
217
220
|
this.icon = null;
|
|
218
221
|
this.initialValue = '';
|
|
222
|
+
this.initialValueDecode = '';
|
|
219
223
|
this.isClearable = false;
|
|
220
224
|
this.inputDelay = 300;
|
|
221
225
|
this.label = null;
|
|
@@ -239,7 +243,7 @@ const KupAutocomplete = class {
|
|
|
239
243
|
}
|
|
240
244
|
onKupChange(value) {
|
|
241
245
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
242
|
-
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
246
|
+
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, undefined, true);
|
|
243
247
|
if (ret.exists || this.allowInconsistentValues) {
|
|
244
248
|
this.kupChange.emit({
|
|
245
249
|
comp: this,
|
|
@@ -268,7 +272,7 @@ const KupAutocomplete = class {
|
|
|
268
272
|
}
|
|
269
273
|
onKupInput() {
|
|
270
274
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
271
|
-
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value, false);
|
|
275
|
+
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value, undefined, false);
|
|
272
276
|
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
273
277
|
if (__classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
|
|
274
278
|
this.kupInput.emit({
|
|
@@ -400,9 +404,9 @@ const KupAutocomplete = class {
|
|
|
400
404
|
* Sets the value of the component.
|
|
401
405
|
* @param {string} value - Value of the component.
|
|
402
406
|
*/
|
|
403
|
-
async setValue(value) {
|
|
407
|
+
async setValue(value, valueDecode) {
|
|
404
408
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
405
|
-
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
409
|
+
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, valueDecode, true);
|
|
406
410
|
}
|
|
407
411
|
/*-------------------------------------------------*/
|
|
408
412
|
/* L i f e c y c l e H o o k s */
|
|
@@ -420,7 +424,7 @@ const KupAutocomplete = class {
|
|
|
420
424
|
}
|
|
421
425
|
}
|
|
422
426
|
componentDidLoad() {
|
|
423
|
-
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
|
|
427
|
+
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
424
428
|
__classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
|
|
425
429
|
}
|
|
426
430
|
componentWillRender() {
|
|
@@ -466,7 +470,7 @@ const KupAutocomplete = class {
|
|
|
466
470
|
};
|
|
467
471
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
468
472
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
469
|
-
return (index.h(index.Host, { key: '
|
|
473
|
+
return (index.h(index.Host, { key: '6c6984c561fbaf949568952ceee8324f9333e985', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, index.h("style", { key: '5acaeeee7db6cabf2a0efd7a5b2cde40ef401c7f' }, __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '8dfc42e263835c1bbee764eff2054badc2e37cf5', id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ key: 'ca4b6551eee15cdf162eb4d9952daa66285810a2' }, props, { icon: this.showDropDownIcon
|
|
470
474
|
? kupManager$1.KupThemeIconValues.DROPDOWN
|
|
471
475
|
: 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: () => {
|
|
472
476
|
window.clearTimeout(__classPrivateFieldGet$9(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -521,7 +525,7 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
521
525
|
__classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$9(this, _KupAutocomplete_clickCb, "f"));
|
|
522
526
|
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
523
527
|
return __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
524
|
-
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, setValue) {
|
|
528
|
+
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, setValue) {
|
|
525
529
|
if (!__classPrivateFieldGet$9(this, _KupAutocomplete_doConsistencyCheck, "f")) {
|
|
526
530
|
return;
|
|
527
531
|
}
|
|
@@ -537,7 +541,12 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
537
541
|
}
|
|
538
542
|
}
|
|
539
543
|
else {
|
|
540
|
-
|
|
544
|
+
if (setValue) {
|
|
545
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
546
|
+
}
|
|
547
|
+
else {
|
|
548
|
+
this.displayedValue = idIn;
|
|
549
|
+
}
|
|
541
550
|
if (__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
|
|
542
551
|
__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").filter = ret.value;
|
|
543
552
|
}
|
|
@@ -6847,7 +6856,7 @@ const KupCheckbox = class {
|
|
|
6847
6856
|
onChange: () => this.onKupChange(),
|
|
6848
6857
|
onFocus: () => this.onKupFocus(),
|
|
6849
6858
|
};
|
|
6850
|
-
return (index.h(index.Host, { key: '
|
|
6859
|
+
return (index.h(index.Host, { key: 'b37176baab7fb2405afe72dafb8ce7b581eecd9f' }, index.h("style", { key: '88e82eb7e0ec3162ddf90a50e0acbdf61ed9d216' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '3e2919a4a4a7920f9a16d230cd321d65a7dc0be5', id: GenericVariables.componentWrapperId }, index.h(fCheckbox.FCheckbox, Object.assign({ key: 'e768196bdabf90f74ded35275c64c0ef43cef8a1' }, props)))));
|
|
6851
6860
|
}
|
|
6852
6861
|
disconnectedCallback() {
|
|
6853
6862
|
this.kupManager.theme.unregister(this);
|
|
@@ -7064,13 +7073,13 @@ const KupChip = class {
|
|
|
7064
7073
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
7065
7074
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
7066
7075
|
}
|
|
7067
|
-
return (index.h(index.Host, { key: '
|
|
7076
|
+
return (index.h(index.Host, { key: 'ecaf4300c520cb3137be48ff22bd418b05148a7b', "onKup-autocomplete-itemclick": (e) => {
|
|
7068
7077
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7069
7078
|
}, "onKup-combobox-itemclick": (e) => {
|
|
7070
7079
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7071
7080
|
}, "onKup-textfield-change": (e) => {
|
|
7072
7081
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7073
|
-
} }, index.h("style", { key: '
|
|
7082
|
+
} }, index.h("style", { key: '3b36ccf49c269bafbd7a58c7681ede5d708fca63' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '68560c06c332ca10129a22789378b0295f491798', id: GenericVariables.componentWrapperId }, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? index.h(fChip.FChip, Object.assign({}, props)) : null, index.h("slot", { key: 'c21b6c225ed6a9c252b6a7f8a8800079668eae6f', name: "field" }))));
|
|
7074
7083
|
}
|
|
7075
7084
|
disconnectedCallback() {
|
|
7076
7085
|
this.kupManager.theme.unregister(this);
|
|
@@ -7356,7 +7365,7 @@ const KupColorPicker = class {
|
|
|
7356
7365
|
render() {
|
|
7357
7366
|
let widget = null;
|
|
7358
7367
|
if (this.swatchOnly) {
|
|
7359
|
-
widget = (index.h("button", { key: '
|
|
7368
|
+
widget = (index.h("button", { key: 'f499be9b6cbcc51c02384107f08f91d611a0571d', disabled: this.disabled, class: "color-picker", onClick: () => this.openPicker(), style: {
|
|
7360
7369
|
backgroundColor: this.value,
|
|
7361
7370
|
}, type: "button" }));
|
|
7362
7371
|
}
|
|
@@ -7366,7 +7375,7 @@ const KupColorPicker = class {
|
|
|
7366
7375
|
const style = {
|
|
7367
7376
|
['--kup_colorpicker_thumb_color']: this.value ? this.value : '',
|
|
7368
7377
|
};
|
|
7369
|
-
return (index.h(index.Host, { key: '
|
|
7378
|
+
return (index.h(index.Host, { key: '78317a95daf79794261dfc7c32888c35b3f9a405', style: style }, index.h("style", { key: 'f5dd6e670608ebb3d1b52ae8939fe0eafc3eecf4' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '4353d435e6435b72d24df9290f047ae14719d5fb', id: GenericVariables.componentWrapperId }, widget)));
|
|
7370
7379
|
}
|
|
7371
7380
|
disconnectedCallback() {
|
|
7372
7381
|
if (this.card) {
|
|
@@ -7391,6 +7400,7 @@ var KupComboboxProps;
|
|
|
7391
7400
|
KupComboboxProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
7392
7401
|
KupComboboxProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
7393
7402
|
KupComboboxProps["initialValue"] = "Sets the initial value of the component";
|
|
7403
|
+
KupComboboxProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
7394
7404
|
KupComboboxProps["isClearable"] = "Enables a clear trailing icon.";
|
|
7395
7405
|
KupComboboxProps["isSelect"] = "Lets the combobox behave as a select element.";
|
|
7396
7406
|
KupComboboxProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"both\".";
|
|
@@ -7450,6 +7460,7 @@ const KupCombobox = class {
|
|
|
7450
7460
|
this.error = '';
|
|
7451
7461
|
this.icon = null;
|
|
7452
7462
|
this.initialValue = '';
|
|
7463
|
+
this.initialValueDecode = '';
|
|
7453
7464
|
this.isClearable = false;
|
|
7454
7465
|
this.isSelect = true;
|
|
7455
7466
|
this.label = null;
|
|
@@ -7470,7 +7481,7 @@ const KupCombobox = class {
|
|
|
7470
7481
|
});
|
|
7471
7482
|
}
|
|
7472
7483
|
onKupChange(value) {
|
|
7473
|
-
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
7484
|
+
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
|
|
7474
7485
|
this.kupChange.emit({
|
|
7475
7486
|
comp: this,
|
|
7476
7487
|
id: this.rootElement.id,
|
|
@@ -7519,7 +7530,7 @@ const KupCombobox = class {
|
|
|
7519
7530
|
});
|
|
7520
7531
|
}
|
|
7521
7532
|
onKupInput() {
|
|
7522
|
-
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value, false);
|
|
7533
|
+
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
|
|
7523
7534
|
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
|
|
7524
7535
|
this.kupInput.emit({
|
|
7525
7536
|
comp: this,
|
|
@@ -7562,7 +7573,11 @@ const KupCombobox = class {
|
|
|
7562
7573
|
/* W a t c h e r s */
|
|
7563
7574
|
/*-------------------------------------------------*/
|
|
7564
7575
|
initialValueChange(newValue) {
|
|
7565
|
-
this.
|
|
7576
|
+
this.initialValueDecode = undefined;
|
|
7577
|
+
this.setValue(newValue, undefined);
|
|
7578
|
+
}
|
|
7579
|
+
initialValueDecodeChange(newValue) {
|
|
7580
|
+
this.setValue(this.initialValue, newValue);
|
|
7566
7581
|
}
|
|
7567
7582
|
/*-------------------------------------------------*/
|
|
7568
7583
|
/* L i s t e n e r s */
|
|
@@ -7653,8 +7668,8 @@ const KupCombobox = class {
|
|
|
7653
7668
|
* Sets the component's value.
|
|
7654
7669
|
* @param {string} value - Value to be set.
|
|
7655
7670
|
*/
|
|
7656
|
-
async setValue(value) {
|
|
7657
|
-
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
7671
|
+
async setValue(value, valueDecode) {
|
|
7672
|
+
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
|
|
7658
7673
|
}
|
|
7659
7674
|
/*-------------------------------------------------*/
|
|
7660
7675
|
/* L i f e c y c l e H o o k s */
|
|
@@ -7671,7 +7686,7 @@ const KupCombobox = class {
|
|
|
7671
7686
|
}
|
|
7672
7687
|
}
|
|
7673
7688
|
componentDidLoad() {
|
|
7674
|
-
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
|
|
7689
|
+
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
7675
7690
|
__classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
|
|
7676
7691
|
}
|
|
7677
7692
|
componentWillRender() {
|
|
@@ -7718,7 +7733,7 @@ const KupCombobox = class {
|
|
|
7718
7733
|
};
|
|
7719
7734
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
7720
7735
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
7721
|
-
return (index.h(index.Host, { key: '
|
|
7736
|
+
return (index.h(index.Host, { key: '4288932134731d8923bfabfe12b699a8cd2da762', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$7(this, _KupCombobox_elStyle, "f") }, index.h("style", { key: 'a21e8ac16f00c02d50290582842d09c59ed6fbf5' }, __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'd3de05f1906daf13beeac3453257382df7a20740', id: GenericVariables.componentWrapperId, style: __classPrivateFieldGet$7(this, _KupCombobox_elStyle, "f") }, index.h(fTextField.FTextField, Object.assign({ key: '6128749591c290c78e51afc59313d4db69394873' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
7722
7737
|
? kupManager$1.KupThemeIconValues.DROPDOWN
|
|
7723
7738
|
: 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$7(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
7724
7739
|
}
|
|
@@ -7731,7 +7746,8 @@ const KupCombobox = class {
|
|
|
7731
7746
|
}
|
|
7732
7747
|
get rootElement() { return index.getElement(this); }
|
|
7733
7748
|
static get watchers() { return {
|
|
7734
|
-
"initialValue": ["initialValueChange"]
|
|
7749
|
+
"initialValue": ["initialValueChange"],
|
|
7750
|
+
"initialValueDecode": ["initialValueDecodeChange"]
|
|
7735
7751
|
}; }
|
|
7736
7752
|
};
|
|
7737
7753
|
_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() {
|
|
@@ -7772,7 +7788,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7772
7788
|
__classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupCombobox_clickCb, "f"));
|
|
7773
7789
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
7774
7790
|
return __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
7775
|
-
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, setValue) {
|
|
7791
|
+
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, setValue) {
|
|
7776
7792
|
let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
|
|
7777
7793
|
if (ret.exists) {
|
|
7778
7794
|
if (setValue) {
|
|
@@ -7785,7 +7801,12 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7785
7801
|
}
|
|
7786
7802
|
else {
|
|
7787
7803
|
this.value = idIn;
|
|
7788
|
-
|
|
7804
|
+
if (setValue) {
|
|
7805
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
7806
|
+
}
|
|
7807
|
+
else {
|
|
7808
|
+
this.displayedValue = idIn;
|
|
7809
|
+
}
|
|
7789
7810
|
if (__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f") != null) {
|
|
7790
7811
|
__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").filter = ret.value;
|
|
7791
7812
|
}
|
|
@@ -13011,7 +13032,7 @@ const KupDatePicker = class {
|
|
|
13011
13032
|
this.kupManager.debug.logRender(this, true);
|
|
13012
13033
|
}
|
|
13013
13034
|
render() {
|
|
13014
|
-
return (index.h(index.Host, { key: '
|
|
13035
|
+
return (index.h(index.Host, { key: '4e30c74703bcd1eb4d6deeb130e9744639b186d7' }, index.h("style", { key: '0dc7ca2e29337272a3a551a1320d180e59a0df7d' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'f2f4304d4d815bec1fbb077d45c0a831907e99ab', id: GenericVariables.componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
13015
13036
|
}
|
|
13016
13037
|
disconnectedCallback() {
|
|
13017
13038
|
this.kupManager.dates.unregister(this);
|
|
@@ -13190,7 +13211,7 @@ const KupDialog = class {
|
|
|
13190
13211
|
if (headerSlot) {
|
|
13191
13212
|
__classPrivateFieldSet$2(this, _KupDialog_header, headerSlot, "f");
|
|
13192
13213
|
}
|
|
13193
|
-
return (index.h(index.Host, { key: '
|
|
13214
|
+
return (index.h(index.Host, { key: 'f1ddf60b563705289df8bcac7b67fd9a4ed7b2e4', "fade-in": true, style: style }, index.h("style", { key: 'daafa62322845d8913844c00a5a148f856bbb327' }, __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '6408c03e635a80657661b7c19bac8f43809df0d2', id: GenericVariables.componentWrapperId }, this.header ? (index.h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(this, _KupDialog_header, el, "f")) }, this.header.title ? (index.h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (index.h(fImage.FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (index.h("slot", { name: "header" })) : null, index.h("div", { key: '24026dd774bbe8efba75cf25df64dabb8aff0c1a', class: "content" }, index.h("slot", { key: '052be700dbf2257b204da95524bab4f7c95acfbe', name: "content" })))));
|
|
13194
13215
|
}
|
|
13195
13216
|
disconnectedCallback() {
|
|
13196
13217
|
if (this.modal) {
|
|
@@ -13964,7 +13985,7 @@ const KupForm = class {
|
|
|
13964
13985
|
render() {
|
|
13965
13986
|
let formContent = null;
|
|
13966
13987
|
if (this.data.rows.length === 0) {
|
|
13967
|
-
formContent = (index.h("p", { key: '
|
|
13988
|
+
formContent = (index.h("p", { key: '4b4c768ddde3a3e5b716aa6c78f19d124fe472ff' }, this.kupManager.language.translate(kupManager$1.KupLanguageGeneric.EMPTY_DATA)));
|
|
13968
13989
|
}
|
|
13969
13990
|
else {
|
|
13970
13991
|
const rows = this.data.rows;
|
|
@@ -13975,7 +13996,7 @@ const KupForm = class {
|
|
|
13975
13996
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
13976
13997
|
}
|
|
13977
13998
|
}
|
|
13978
|
-
return (index.h(index.Host, { key: '
|
|
13999
|
+
return (index.h(index.Host, { key: 'fef68da43868f5b70c76102cc08fc53557b0feb8' }, index.h("style", { key: 'c8265a9f9c5a9bce97c8c2bbf64d3d7cbf1f57ee' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'de6c69d454396ebf0e82b5de27c7541132038eeb', id: GenericVariables.componentWrapperId }, formContent)));
|
|
13979
14000
|
}
|
|
13980
14001
|
disconnectedCallback() {
|
|
13981
14002
|
this.kupManager.language.unregister(this);
|
|
@@ -15969,7 +15990,7 @@ const KupProgressBar = class {
|
|
|
15969
15990
|
? true
|
|
15970
15991
|
: false,
|
|
15971
15992
|
};
|
|
15972
|
-
return (index.h(index.Host, { key: '
|
|
15993
|
+
return (index.h(index.Host, { key: 'fc069fc045b472feef52fb5992ba6192d499b837' }, index.h("style", { key: '2056a42b2210cea537df60dad6c7e9368e57e124' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'ef6a639f4dc3a94c5353ceca5dedb7f4cd3ea60e', id: GenericVariables.componentWrapperId }, index.h(fCell.FProgressBar, Object.assign({ key: 'e25e24df64a29f9bc18814505da2bd0e0908a1d0' }, props)))));
|
|
15973
15994
|
}
|
|
15974
15995
|
disconnectedCallback() {
|
|
15975
15996
|
this.kupManager.theme.unregister(this);
|
|
@@ -16230,7 +16251,7 @@ const KupRating = class {
|
|
|
16230
16251
|
: false,
|
|
16231
16252
|
onClick: (i) => this.onKupClick(i),
|
|
16232
16253
|
};
|
|
16233
|
-
return (index.h(index.Host, { key: '
|
|
16254
|
+
return (index.h(index.Host, { key: '3d73b7606c40063f487a597a80ffcb020192bd26' }, index.h("style", { key: '1d93d5b324cbe85e685fcc6ea72d97598cc0ae2b' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '8061260a3bf3b35f3942cd8b029077f0fd24242b', id: GenericVariables.componentWrapperId }, index.h(fCell.FRating, Object.assign({ key: '5bcad80eb8799b8ebc797cc4bb6a2b21c7355806' }, props)))));
|
|
16234
16255
|
}
|
|
16235
16256
|
disconnectedCallback() {
|
|
16236
16257
|
this.kupManager.theme.unregister(this);
|
|
@@ -16353,59 +16374,59 @@ const KupSpinner = class {
|
|
|
16353
16374
|
spinnerClass = 'spinner-v' + this.layout;
|
|
16354
16375
|
if (this.layout === 7) {
|
|
16355
16376
|
spinnerEl = [
|
|
16356
|
-
index.h("div", { key: '
|
|
16357
|
-
index.h("div", { key: '
|
|
16358
|
-
index.h("div", { key: '
|
|
16359
|
-
index.h("div", { key: '
|
|
16360
|
-
index.h("div", { key: '
|
|
16361
|
-
index.h("div", { key: '
|
|
16377
|
+
index.h("div", { key: '4bd11aebdfbc1c960633424069e51409e062feb4', class: "sk-spinner-v7-dot" }),
|
|
16378
|
+
index.h("div", { key: '1da54d48b55cf3f07994a52a3fdf9de32639b269', class: "sk-spinner-v7-dot" }),
|
|
16379
|
+
index.h("div", { key: '8001b4676b15ef60e84a4a728e457ab5afad7324', class: "sk-spinner-v7-dot" }),
|
|
16380
|
+
index.h("div", { key: 'c0632f0be9eafee154b4c280915da15df6121fce', class: "sk-spinner-v7-dot" }),
|
|
16381
|
+
index.h("div", { key: '7756968cd19464597be513baee05bc32e684e16b', class: "sk-spinner-v7-dot" }),
|
|
16382
|
+
index.h("div", { key: '0d9bbdff5a1ecb62dab141ef19bdb934f9f2ab9b', class: "sk-spinner-v7-dot" }),
|
|
16362
16383
|
];
|
|
16363
16384
|
}
|
|
16364
16385
|
if (this.layout === 9) {
|
|
16365
16386
|
spinnerEl = [
|
|
16366
|
-
index.h("div", { key: '
|
|
16367
|
-
index.h("div", { key: '
|
|
16387
|
+
index.h("div", { key: '5959b3fc9c7d388a321ae6b4ec4b5fafc807ec9b', class: "sk-spinner-v9-bounce1" }),
|
|
16388
|
+
index.h("div", { key: 'bd31de963b3e2f580426ff611c1a7ab25d621329', class: "sk-spinner-v9-bounce2" }),
|
|
16368
16389
|
];
|
|
16369
16390
|
}
|
|
16370
16391
|
if (this.layout === 10) {
|
|
16371
16392
|
spinnerEl = [
|
|
16372
|
-
index.h("div", { key: '
|
|
16373
|
-
index.h("div", { key: '
|
|
16393
|
+
index.h("div", { key: '02ae86e55572f5923c03c8eb1383f07806624b80', class: "sk-spinner-v10-cube1" }),
|
|
16394
|
+
index.h("div", { key: 'd89e91a227d5d9cddcb565dac4e2a79d98e2a2bd', class: "sk-spinner-v10-cube2" }),
|
|
16374
16395
|
];
|
|
16375
16396
|
}
|
|
16376
16397
|
if (this.layout === 12) {
|
|
16377
16398
|
spinnerEl = [
|
|
16378
|
-
index.h("div", { key: '
|
|
16379
|
-
index.h("div", { key: '
|
|
16399
|
+
index.h("div", { key: '5731581e4a11b79e60eaa3e732b64ea004bcd5e1', class: "sk-spinner-v12-dot1" }),
|
|
16400
|
+
index.h("div", { key: '25d700729222f7c7c2af968fc6a06c3f47bfbd0c', class: "sk-spinner-v12-dot2" }),
|
|
16380
16401
|
];
|
|
16381
16402
|
}
|
|
16382
16403
|
if (this.layout === 13) {
|
|
16383
16404
|
spinnerEl = [
|
|
16384
|
-
index.h("div", { key: '
|
|
16385
|
-
index.h("div", { key: '
|
|
16386
|
-
index.h("div", { key: '
|
|
16387
|
-
index.h("div", { key: '
|
|
16388
|
-
index.h("div", { key: '
|
|
16389
|
-
index.h("div", { key: '
|
|
16390
|
-
index.h("div", { key: '
|
|
16391
|
-
index.h("div", { key: '
|
|
16392
|
-
index.h("div", { key: '
|
|
16405
|
+
index.h("div", { key: 'd8c2c65aa3fa08b8137d41aec4f9aa42b4c7abce', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
16406
|
+
index.h("div", { key: '1294a53b8f3f710282060ccdd9f9325d50f8c668', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
16407
|
+
index.h("div", { key: 'b85842b20c55a113be6a523404d648bfb99ab609', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
16408
|
+
index.h("div", { key: '92f644e732fee84c97703f692fbf9f879120d503', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
16409
|
+
index.h("div", { key: '2baeb03d493ae21e23db5176a05480e0493269e4', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
16410
|
+
index.h("div", { key: '7164ee3bcb56a2b948ca13c008e6c31e2936a4d4', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
16411
|
+
index.h("div", { key: '13bc822dce6f147442e22b02730e21865b2c211c', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
16412
|
+
index.h("div", { key: '9169c182ea3ead483d9a1afe22bed8674c2fbd06', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
16413
|
+
index.h("div", { key: 'eff5a7428127574bb3aadbcadbdd94025c66f060', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
16393
16414
|
];
|
|
16394
16415
|
}
|
|
16395
16416
|
if (this.layout === 14) {
|
|
16396
16417
|
spinnerEl = [
|
|
16397
|
-
index.h("div", { key: '
|
|
16398
|
-
index.h("div", { key: '
|
|
16399
|
-
index.h("div", { key: '
|
|
16400
|
-
index.h("div", { key: '
|
|
16401
|
-
index.h("div", { key: '
|
|
16402
|
-
index.h("div", { key: '
|
|
16403
|
-
index.h("div", { key: '
|
|
16404
|
-
index.h("div", { key: '
|
|
16405
|
-
index.h("div", { key: '
|
|
16406
|
-
index.h("div", { key: '
|
|
16407
|
-
index.h("div", { key: '
|
|
16408
|
-
index.h("div", { key: '
|
|
16418
|
+
index.h("div", { key: 'e6d6debfb615e9f33cff1f016acf7ee0c8d70498', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
16419
|
+
index.h("div", { key: '85fc5c6980792889e675c3df356feb3f3ec2d018', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
16420
|
+
index.h("div", { key: '7135a4ccd777f3cbb8deda8dfea569589851526f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
16421
|
+
index.h("div", { key: 'fc7ecbc8884464ad05219a38186aaa0ce5b12c87', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
16422
|
+
index.h("div", { key: '88fe8dfa73e2ac65cf6ef6b90c60971f2014112e', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
16423
|
+
index.h("div", { key: '1628c0a6ceb994ccd665ceeddecc69714ca43685', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
16424
|
+
index.h("div", { key: '631b7191885b196677d3df7f59a33f59813cb961', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
16425
|
+
index.h("div", { key: '0bd52f9f8b2dc98cdc92b4d68249ef9a2f72de7c', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
16426
|
+
index.h("div", { key: 'b4859b29bc9c67fb31ac52baca133b568b7b5920', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
16427
|
+
index.h("div", { key: 'd5923c97bc43352682dfc3bee8fe195e1a9f7697', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
16428
|
+
index.h("div", { key: '43a932bf52251603c9b99163c66f75c64abdcf72', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
16429
|
+
index.h("div", { key: '1b3601b17f45e5548a7b47a0249bdf2f94c40b11', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
16409
16430
|
];
|
|
16410
16431
|
}
|
|
16411
16432
|
}
|
|
@@ -16424,7 +16445,7 @@ const KupSpinner = class {
|
|
|
16424
16445
|
else {
|
|
16425
16446
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
16426
16447
|
}
|
|
16427
|
-
return (index.h(index.Host, { key: '
|
|
16448
|
+
return (index.h(index.Host, { key: 'cd7f98fa14d07b314791e64aafa46f7111c2d9b9', style: elStyle }, index.h("style", { key: 'ccc425aadf72e68b26052ea5e402a1e809e87c51' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '3a3721606b23c6dd1a0ea67d46a7cc19ff7f2b87', id: GenericVariables.componentWrapperId, style: elStyle }, index.h("div", { key: '671f408c10faa4279d9b8f974c7350a5c0adc2b4', id: "loading-wrapper-master", class: masterClass, style: elStyle }, index.h("div", { key: 'cc415dd3e870b000c3da0e5485b6a0a8e76ab224', id: wrapperClass, style: elStyle }, index.h("div", { key: 'efbebeff75c03843ce6ccf96f485aae5761c35e4', class: spinnerClass }, spinnerEl))))));
|
|
16428
16449
|
}
|
|
16429
16450
|
disconnectedCallback() {
|
|
16430
16451
|
this.kupManager.theme.unregister(this);
|
|
@@ -16572,7 +16593,7 @@ const KupSwitch = class {
|
|
|
16572
16593
|
onChange: () => this.onKupChange(),
|
|
16573
16594
|
onFocus: () => this.onKupFocus(),
|
|
16574
16595
|
};
|
|
16575
|
-
return (index.h(index.Host, { key: '
|
|
16596
|
+
return (index.h(index.Host, { key: '6fbe5e23fdd6002b4401a4f48789dcc3d67376d2' }, index.h("style", { key: '6dc6d4934ded345eb0d832d37387ddf29439d577' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '0738abd02342b1d6e4eee28c80b50cba91b62f49', id: GenericVariables.componentWrapperId }, index.h(fCell.FSwitch, Object.assign({ key: '6774227df33c638e694a84ce48c2b0f47f81828b' }, props)))));
|
|
16576
16597
|
}
|
|
16577
16598
|
disconnectedCallback() {
|
|
16578
16599
|
this.kupManager.theme.unregister(this);
|
|
@@ -17692,7 +17713,7 @@ const KupTimePicker = class {
|
|
|
17692
17713
|
this.kupManager.debug.logRender(this, true);
|
|
17693
17714
|
}
|
|
17694
17715
|
render() {
|
|
17695
|
-
return (index.h(index.Host, { key: '
|
|
17716
|
+
return (index.h(index.Host, { key: 'c70c26c8423ee5dca2d3ad9affcbb2765ef4ba8c' }, index.h("style", { key: 'c8c0e4000a3497a0c781133275df16e88374cc72' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '53e37cf102a6a19bfb6b824f220379a6a31c98a8', id: GenericVariables.componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
17696
17717
|
}
|
|
17697
17718
|
disconnectedCallback() {
|
|
17698
17719
|
this.kupManager.dates.unregister(this);
|
|
@@ -8,7 +8,7 @@ const kupDataTableHelper = require('./kup-data-table-helper-ccaf278f.js');
|
|
|
8
8
|
const fImage = require('./f-image-4d316ab3.js');
|
|
9
9
|
const fChip = require('./f-chip-d90e592d.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-00ed0f88.js');
|
|
12
12
|
const fPaginatorUtils = require('./f-paginator-utils-4d7672fb.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.js');
|
|
14
14
|
require('./kup-dates-bc4cf9d0.js');
|
|
@@ -13994,6 +13994,7 @@ const KupCalendar = class {
|
|
|
13994
13994
|
};
|
|
13995
13995
|
this.hideNavigation = false;
|
|
13996
13996
|
this.editableEvents = true;
|
|
13997
|
+
this.enableChangeView = false;
|
|
13997
13998
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
13998
13999
|
}
|
|
13999
14000
|
/*-------------------------------------------------*/
|
|
@@ -14320,11 +14321,11 @@ const KupCalendar = class {
|
|
|
14320
14321
|
this.kupManager.debug.logRender(this, true);
|
|
14321
14322
|
}
|
|
14322
14323
|
render() {
|
|
14323
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14324
|
+
return (index$4.h(index$4.Host, { key: '57968055fa6e7b79f51c452419c0088d8b4646a8' }, index$4.h("style", { key: '08b4578dabd27fbc46618dd2c42791ce2281396e' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '6e7924791fdfcdbcbe552b6d4433977f6a344fe8', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: 'c886d74b5a4d9b4c0f78a65a1d9e4b6678512fd1', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: '03866e4ffc649c69eea881009d718cb0eb484a67', class: `navigation__title ${this.hideNavigation
|
|
14324
14325
|
? 'navigation__title--centered'
|
|
14325
14326
|
: ''}`, ref: (el) => {
|
|
14326
14327
|
this.navTitle = el;
|
|
14327
|
-
} }),
|
|
14328
|
+
} }), index$4.h("div", { key: '0c2a2234c7b63ce6e14605c2f5a99a449195391a', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: '1ff7f88610210c904a5699f47e930a95b330f79b', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14328
14329
|
}
|
|
14329
14330
|
disconnectedCallback() {
|
|
14330
14331
|
if (this.calendar) {
|
|
@@ -6,7 +6,7 @@ const index = require('./index-e8aa3c73.js');
|
|
|
6
6
|
const kupManager = require('./kup-manager-d3139668.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-1e98edae.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-00ed0f88.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-4d316ab3.js');
|
|
@@ -175,14 +175,14 @@ const KupCell = class {
|
|
|
175
175
|
renderKup: true,
|
|
176
176
|
row: this.generateRow(),
|
|
177
177
|
};
|
|
178
|
-
return (index.h(index.Host, { key: '
|
|
178
|
+
return (index.h(index.Host, { key: '8d59f9fd7494454f48c88f654a1936d73a6b78c8' }, index.h("style", { key: '2507496c8ce36d2366564c377e39a51dcbc2d91f' }, __classPrivateFieldGet(this, _KupCell_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '1cde1c15d5c64f8b9fdfc2e7ebb19b3d7ac79aa8', id: GenericVariables.componentWrapperId, style: this.showSubmit
|
|
179
179
|
? {
|
|
180
180
|
display: 'flex',
|
|
181
181
|
'flex-direction': kupManager.submitPositionAdapter(this.submitPosition),
|
|
182
182
|
'align-items': 'center',
|
|
183
183
|
gap: '0.5rem',
|
|
184
184
|
}
|
|
185
|
-
: {} }, index.h(fCell.FCell, Object.assign({ key: '
|
|
185
|
+
: {} }, index.h(fCell.FCell, Object.assign({ key: '538fc08d18fec1cd05b354487e571f512b265575' }, props)), this.showSubmit ? (index.h(fButton.FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupCell_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", onClick: (e) => {
|
|
186
186
|
this.submitClick(e);
|
|
187
187
|
} })) : null)));
|
|
188
188
|
}
|
|
@@ -21,11 +21,11 @@ const KupCustomTaskListHeader = class {
|
|
|
21
21
|
this.fontSize = undefined;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h("div", { key: '
|
|
24
|
+
return (index.h("div", { key: '324d47927324515f29b44acfeaa6314788ec4da7', class: "custom-task-list-wrapper", style: {
|
|
25
25
|
height: '25px',
|
|
26
26
|
fontFamily: this.fontFamily,
|
|
27
27
|
fontSize: this.fontSize,
|
|
28
|
-
} }, index.h("div", { key: '
|
|
28
|
+
} }, index.h("div", { key: '86d1d95d940db2bb3dee1e2c6469feb1d3267652', class: "title" }, index.h("span", { key: 'dc45d5cf947b5573ed7548fc89c2002717fed017' }, this.label)), this.setDoubleView !== undefined && (index.h("div", { key: 'aeb990e6ce011948a6ac3600a114872949bfa00a', class: "toggler" }, index.h("label", { key: 'a6e550a4526b00c961746552c8932c04382788fe', htmlFor: "ch2", class: "switch" }, index.h("input", { key: 'be713ceaf3c1f213eb30234a118c367d75ac42c6', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), index.h("span", { key: '0659f75ad8e22c4c375d4f7d0b5f541937ad9fea', class: "slider" })), index.h("span", { key: '5560587e2ed422b7e5ecf90e249e2edfce7ab2e2', class: "label" }, "Previsioni")))));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
|
|
@@ -389,11 +389,11 @@ const KupGanttCalendar = class {
|
|
|
389
389
|
this.simplifiedHeader =
|
|
390
390
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
391
391
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
392
|
-
return (index.h("svg", { key: '
|
|
392
|
+
return (index.h("svg", { key: '842b2be16fd56d8c65f971ed37d32845a1798dc6', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, index.h("g", { key: '842526c0379044e0464bb3a5953390938d2f537d', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, index.h("rect", { key: 'd93c1bda5be1c8ba4bedccc232f0d3d87d013240', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
393
393
|
? topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
394
394
|
: topValues.map((topValue) => (index.h("g", { class: "calendarTop" }, index.h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), index.h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
395
395
|
// current date indicator
|
|
396
|
-
index.h("circle", { key: '
|
|
396
|
+
index.h("circle", { key: 'f7d1ec8fabefd15a34fcbb88e3d4bde7267cc76e', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
KupGanttCalendar.style = KupGanttCalendarStyle0;
|
|
@@ -1449,13 +1449,13 @@ const KupGridRenderer = class {
|
|
|
1449
1449
|
// }
|
|
1450
1450
|
tickX += this.columnWidth;
|
|
1451
1451
|
}
|
|
1452
|
-
return (index.h("svg", { key: '
|
|
1452
|
+
return (index.h("svg", { key: '5c26d672cb8792aed32538a3cc41edeef8bbb973', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, index.h("g", { key: '4330009837a17f523a1cd59177eefbad3389c562', class: "grid" }, index.h("g", { key: 'c5cca3a09b66ba7dcf1414f172dc28ec8472114b', class: "rows" }, gridRows), index.h("g", { key: 'de20eb48bb16eeac646cfbefced3d5d3ac873088', class: "rowLines" }, rowLines), index.h("g", { key: '2074b20432e063d5cde7541ad618ffa6018e651a', class: "ticks" }, ticks)), index.h("g", { key: '0d6b86c241c47f6daaa7b64238d295697436d29c', class: "content" }, this.currentDateIndicator && (index.h("rect", { key: '4ecf3383883e8deb3ec4f3d192382974fc4239d3', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (index.h("rect", { key: '22995ecb07d926a3560b9233b79ce138ca300333', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), index.h("g", { key: 'f3236d4a4bc4c7e2bb7394c2a4c9fee6e245c19a', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1453
1453
|
return task.barChildren.map((child) => {
|
|
1454
1454
|
if (task.type !== 'timeline') {
|
|
1455
1455
|
this.renderKupArrow(task, child);
|
|
1456
1456
|
}
|
|
1457
1457
|
});
|
|
1458
|
-
})), index.h("g", { key: '
|
|
1458
|
+
})), index.h("g", { key: '608bb4770ee4908c3fe2d459cb3048c9821a6c7f', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1459
1459
|
const forbidResize = task.type === 'project';
|
|
1460
1460
|
return (index.h("g", { onKeyDown: (e) => {
|
|
1461
1461
|
switch (e.key) {
|
|
@@ -1515,7 +1515,7 @@ const KupGridRenderer = class {
|
|
|
1515
1515
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1516
1516
|
}
|
|
1517
1517
|
})()));
|
|
1518
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (index.h("g", { key: '
|
|
1518
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (index.h("g", { key: 'dd11df6824e7bf1e7fe06f6647f4e425853da8ad', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1519
1519
|
}
|
|
1520
1520
|
static get watchers() { return {
|
|
1521
1521
|
"columnWidth": ["updateXStep"],
|
|
@@ -396,7 +396,7 @@ const KupDashboard = class {
|
|
|
396
396
|
this.didRenderInteractables();
|
|
397
397
|
}
|
|
398
398
|
render() {
|
|
399
|
-
return (index.h(index.Host, { key: '
|
|
399
|
+
return (index.h(index.Host, { key: '392d3e40007af89151bc6745d150048ada7c4717' }, index.h("style", { key: '35afed7b1aed860a86c328ba3817ae5b72b670a7' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'e91bdebc3263fd673501f15d841bd042b8a34280', id: GenericVariables.componentWrapperId }, this.buildHeader(), this.buildForm(this.internalData, null))));
|
|
400
400
|
}
|
|
401
401
|
disconnectedCallback() {
|
|
402
402
|
this.unregisterInteractables();
|