@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
|
@@ -19,7 +19,7 @@ import { forceUpdate, h, Host, } from "@stencil/core";
|
|
|
19
19
|
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
20
20
|
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
21
21
|
import { ItemsDisplayMode, } from "../kup-list/kup-list-declarations";
|
|
22
|
-
import { consistencyCheck } from "../kup-list/kup-list-helper";
|
|
22
|
+
import { consistencyCheck, getIdOfItemByDisplayMode, } from "../kup-list/kup-list-helper";
|
|
23
23
|
import { FTextField } from "../../f-components/f-text-field/f-text-field";
|
|
24
24
|
import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
|
|
25
25
|
import { KupComboboxProps, } from "./kup-combobox-declarations";
|
|
@@ -49,6 +49,7 @@ export class KupCombobox {
|
|
|
49
49
|
this.error = '';
|
|
50
50
|
this.icon = null;
|
|
51
51
|
this.initialValue = '';
|
|
52
|
+
this.initialValueDecode = '';
|
|
52
53
|
this.isClearable = false;
|
|
53
54
|
this.isSelect = true;
|
|
54
55
|
this.label = null;
|
|
@@ -69,7 +70,7 @@ export class KupCombobox {
|
|
|
69
70
|
});
|
|
70
71
|
}
|
|
71
72
|
onKupChange(value) {
|
|
72
|
-
let ret = __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
73
|
+
let ret = __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
|
|
73
74
|
this.kupChange.emit({
|
|
74
75
|
comp: this,
|
|
75
76
|
id: this.rootElement.id,
|
|
@@ -118,7 +119,7 @@ export class KupCombobox {
|
|
|
118
119
|
});
|
|
119
120
|
}
|
|
120
121
|
onKupInput() {
|
|
121
|
-
let ret = __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet(this, _KupCombobox_textfieldEl, "f").value, false);
|
|
122
|
+
let ret = __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
|
|
122
123
|
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
|
|
123
124
|
this.kupInput.emit({
|
|
124
125
|
comp: this,
|
|
@@ -161,7 +162,11 @@ export class KupCombobox {
|
|
|
161
162
|
/* W a t c h e r s */
|
|
162
163
|
/*-------------------------------------------------*/
|
|
163
164
|
initialValueChange(newValue) {
|
|
164
|
-
this.
|
|
165
|
+
this.initialValueDecode = undefined;
|
|
166
|
+
this.setValue(newValue, undefined);
|
|
167
|
+
}
|
|
168
|
+
initialValueDecodeChange(newValue) {
|
|
169
|
+
this.setValue(this.initialValue, newValue);
|
|
165
170
|
}
|
|
166
171
|
/*-------------------------------------------------*/
|
|
167
172
|
/* L i s t e n e r s */
|
|
@@ -252,8 +257,8 @@ export class KupCombobox {
|
|
|
252
257
|
* Sets the component's value.
|
|
253
258
|
* @param {string} value - Value to be set.
|
|
254
259
|
*/
|
|
255
|
-
async setValue(value) {
|
|
256
|
-
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
260
|
+
async setValue(value, valueDecode) {
|
|
261
|
+
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
|
|
257
262
|
}
|
|
258
263
|
/*-------------------------------------------------*/
|
|
259
264
|
/* L i f e c y c l e H o o k s */
|
|
@@ -270,7 +275,7 @@ export class KupCombobox {
|
|
|
270
275
|
}
|
|
271
276
|
}
|
|
272
277
|
componentDidLoad() {
|
|
273
|
-
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
|
|
278
|
+
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
274
279
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
|
|
275
280
|
}
|
|
276
281
|
componentWillRender() {
|
|
@@ -317,7 +322,7 @@ export class KupCombobox {
|
|
|
317
322
|
};
|
|
318
323
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
319
324
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
320
|
-
return (h(Host, { key: '
|
|
325
|
+
return (h(Host, { key: '4288932134731d8923bfabfe12b699a8cd2da762', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h("style", { key: 'a21e8ac16f00c02d50290582842d09c59ed6fbf5' }, __classPrivateFieldGet(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd3de05f1906daf13beeac3453257382df7a20740', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: '6128749591c290c78e51afc59313d4db69394873' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
321
326
|
? KupThemeIconValues.DROPDOWN
|
|
322
327
|
: 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(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
323
328
|
}
|
|
@@ -510,6 +515,24 @@ export class KupCombobox {
|
|
|
510
515
|
"reflect": false,
|
|
511
516
|
"defaultValue": "''"
|
|
512
517
|
},
|
|
518
|
+
"initialValueDecode": {
|
|
519
|
+
"type": "string",
|
|
520
|
+
"mutable": false,
|
|
521
|
+
"complexType": {
|
|
522
|
+
"original": "string",
|
|
523
|
+
"resolved": "string",
|
|
524
|
+
"references": {}
|
|
525
|
+
},
|
|
526
|
+
"required": false,
|
|
527
|
+
"optional": false,
|
|
528
|
+
"docs": {
|
|
529
|
+
"tags": [],
|
|
530
|
+
"text": "Sets the initial value decode of the component"
|
|
531
|
+
},
|
|
532
|
+
"attribute": "initial-value-decode",
|
|
533
|
+
"reflect": false,
|
|
534
|
+
"defaultValue": "''"
|
|
535
|
+
},
|
|
513
536
|
"isClearable": {
|
|
514
537
|
"type": "boolean",
|
|
515
538
|
"mutable": false,
|
|
@@ -1000,11 +1023,15 @@ export class KupCombobox {
|
|
|
1000
1023
|
},
|
|
1001
1024
|
"setValue": {
|
|
1002
1025
|
"complexType": {
|
|
1003
|
-
"signature": "(value: string) => Promise<void>",
|
|
1026
|
+
"signature": "(value: string, valueDecode?: string) => Promise<void>",
|
|
1004
1027
|
"parameters": [{
|
|
1005
1028
|
"name": "value",
|
|
1006
1029
|
"type": "string",
|
|
1007
1030
|
"docs": "- Value to be set."
|
|
1031
|
+
}, {
|
|
1032
|
+
"name": "valueDecode",
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"docs": ""
|
|
1008
1035
|
}],
|
|
1009
1036
|
"references": {
|
|
1010
1037
|
"Promise": {
|
|
@@ -1029,6 +1056,9 @@ export class KupCombobox {
|
|
|
1029
1056
|
return [{
|
|
1030
1057
|
"propName": "initialValue",
|
|
1031
1058
|
"methodName": "initialValueChange"
|
|
1059
|
+
}, {
|
|
1060
|
+
"propName": "initialValueDecode",
|
|
1061
|
+
"methodName": "initialValueDecodeChange"
|
|
1032
1062
|
}];
|
|
1033
1063
|
}
|
|
1034
1064
|
static get listeners() {
|
|
@@ -1079,7 +1109,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
1079
1109
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupCombobox_clickCb, "f"));
|
|
1080
1110
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
1081
1111
|
return __classPrivateFieldGet(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
1082
|
-
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, setValue) {
|
|
1112
|
+
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, setValue) {
|
|
1083
1113
|
let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
|
|
1084
1114
|
if (ret.exists) {
|
|
1085
1115
|
if (setValue) {
|
|
@@ -1092,7 +1122,12 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
1092
1122
|
}
|
|
1093
1123
|
else {
|
|
1094
1124
|
this.value = idIn;
|
|
1095
|
-
|
|
1125
|
+
if (setValue) {
|
|
1126
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
1127
|
+
}
|
|
1128
|
+
else {
|
|
1129
|
+
this.displayedValue = idIn;
|
|
1130
|
+
}
|
|
1096
1131
|
if (__classPrivateFieldGet(this, _KupCombobox_listEl, "f") != null) {
|
|
1097
1132
|
__classPrivateFieldGet(this, _KupCombobox_listEl, "f").filter = ret.value;
|
|
1098
1133
|
}
|
|
@@ -376,7 +376,7 @@ export class KupDashboard {
|
|
|
376
376
|
this.didRenderInteractables();
|
|
377
377
|
}
|
|
378
378
|
render() {
|
|
379
|
-
return (h(Host, { key: '
|
|
379
|
+
return (h(Host, { key: '392d3e40007af89151bc6745d150048ada7c4717' }, h("style", { key: '35afed7b1aed860a86c328ba3817ae5b72b670a7' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e91bdebc3263fd673501f15d841bd042b8a34280', id: componentWrapperId }, this.buildHeader(), this.buildForm(this.internalData, null))));
|
|
380
380
|
}
|
|
381
381
|
disconnectedCallback() {
|
|
382
382
|
this.unregisterInteractables();
|
|
@@ -388,7 +388,7 @@ export class KupDatePicker {
|
|
|
388
388
|
this.kupManager.debug.logRender(this, true);
|
|
389
389
|
}
|
|
390
390
|
render() {
|
|
391
|
-
return (h(Host, { key: '
|
|
391
|
+
return (h(Host, { key: '4e30c74703bcd1eb4d6deeb130e9744639b186d7' }, h("style", { key: '0dc7ca2e29337272a3a551a1320d180e59a0df7d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f2f4304d4d815bec1fbb077d45c0a831907e99ab', id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
392
392
|
}
|
|
393
393
|
disconnectedCallback() {
|
|
394
394
|
this.kupManager.dates.unregister(this);
|
|
@@ -145,7 +145,7 @@ export class KupDialog {
|
|
|
145
145
|
if (headerSlot) {
|
|
146
146
|
__classPrivateFieldSet(this, _KupDialog_header, headerSlot, "f");
|
|
147
147
|
}
|
|
148
|
-
return (h(Host, { key: '
|
|
148
|
+
return (h(Host, { key: 'f1ddf60b563705289df8bcac7b67fd9a4ed7b2e4', "fade-in": true, style: style }, h("style", { key: 'daafa62322845d8913844c00a5a148f856bbb327' }, __classPrivateFieldGet(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '6408c03e635a80657661b7c19bac8f43809df0d2', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: '24026dd774bbe8efba75cf25df64dabb8aff0c1a', class: "content" }, h("slot", { key: '052be700dbf2257b204da95524bab4f7c95acfbe', name: "content" })))));
|
|
149
149
|
}
|
|
150
150
|
disconnectedCallback() {
|
|
151
151
|
if (this.modal) {
|
|
@@ -108,7 +108,7 @@ export class KupDrawer {
|
|
|
108
108
|
this.kupManager.debug.logRender(this, true);
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '93f1b8abbecb61a277b9e727363a63a79bec6b2f', "kup-opened": this.opened }, h("style", { key: 'a4adae4c503ce4cd85171f3aba656d00cc537e11' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '241bc8dd79fc0a01b7912a525f6b7cb56ef7c8f6', class: "backdrop", onClick: (e) => {
|
|
112
112
|
e.preventDefault();
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
}, onPointerDown: (e) => {
|
|
@@ -118,7 +118,7 @@ export class KupDrawer {
|
|
|
118
118
|
}, onTouchStart: (e) => {
|
|
119
119
|
e.preventDefault();
|
|
120
120
|
e.stopPropagation();
|
|
121
|
-
} }), h("div", { key: '
|
|
121
|
+
} }), h("div", { key: 'b267c124462e0ca0b7255c004bbc25fd85897775', id: componentWrapperId }, h("div", { key: 'fa2ed194e5be92c1dabee9cd32fd641a4960561d', class: drawerClass }, this.content()))));
|
|
122
122
|
}
|
|
123
123
|
disconnectedCallback() {
|
|
124
124
|
this.kupManager.theme.unregister(this);
|
|
@@ -139,7 +139,7 @@ export class KupEchart {
|
|
|
139
139
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
140
140
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
141
141
|
};
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'fd5e8286acc85f85185f91e360b3620537b57188', style: style }, h("style", { key: '0f69dbba75b69c8dfaa8704c9e45d0d202067724' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd7fd942164bf8c078a08ff51d6da32929a58aba1', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
143
143
|
}
|
|
144
144
|
disconnectedCallback() {
|
|
145
145
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.unregister(this);
|
|
@@ -389,7 +389,7 @@ export class KupEditor {
|
|
|
389
389
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
390
390
|
}
|
|
391
391
|
render() {
|
|
392
|
-
return (h(Host, { key: '
|
|
392
|
+
return (h(Host, { key: '07d0005e073f28636c6f49ceb082fcca0a735beb' }, h("div", { key: '9a59105ef8c70cd840adeada556259e739dd0818', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }))));
|
|
393
393
|
}
|
|
394
394
|
disconnectedCallback() {
|
|
395
395
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
|
|
@@ -149,12 +149,12 @@ export class KupFamilyTree {
|
|
|
149
149
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").debug.logRender(this, true);
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '09a067148b3438469a9773c276c6aaddecda73fa', onDrag: (e) => e.preventDefault(), onPointerDown: (e) => {
|
|
153
153
|
e.preventDefault();
|
|
154
154
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_startPanning).call(this, e);
|
|
155
155
|
}, onWheel: (e) => {
|
|
156
156
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_zoomTree).call(this, e);
|
|
157
|
-
} }, h("style", { key: '
|
|
157
|
+
} }, h("style", { key: 'dbae8f187ff51f8168d4df72de2ba563ef7a9d7c' }, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'cf23802e9e58e68d0c89ee7fdd13fde331a04705', id: componentWrapperId }, __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_createTree).call(this))));
|
|
158
158
|
}
|
|
159
159
|
disconnectedCallback() {
|
|
160
160
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").language.unregister(this);
|
|
@@ -408,7 +408,7 @@ export class KupForm {
|
|
|
408
408
|
render() {
|
|
409
409
|
let formContent = null;
|
|
410
410
|
if (this.data.rows.length === 0) {
|
|
411
|
-
formContent = (h("p", { key: '
|
|
411
|
+
formContent = (h("p", { key: '4b4c768ddde3a3e5b716aa6c78f19d124fe472ff' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
414
414
|
const rows = this.data.rows;
|
|
@@ -419,7 +419,7 @@ export class KupForm {
|
|
|
419
419
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
return (h(Host, { key: '
|
|
422
|
+
return (h(Host, { key: 'fef68da43868f5b70c76102cc08fc53557b0feb8' }, h("style", { key: 'c8265a9f9c5a9bce97c8c2bbf64d3d7cbf1f57ee' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'de6c69d454396ebf0e82b5de27c7541132038eeb', id: componentWrapperId }, formContent)));
|
|
423
423
|
}
|
|
424
424
|
disconnectedCallback() {
|
|
425
425
|
this.kupManager.language.unregister(this);
|
|
@@ -67,7 +67,7 @@ export class KupHTM {
|
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
69
|
const isLink = __classPrivateFieldGet(this, _KupHTM_kupManager, "f").objects.isLink(this.data.obj);
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: 'e9898d021074e1265d66d5f25f99b54a2951b732' }, h("style", { key: 'fdd334f8659e6132c6f000d84fbed0df4a7331fe' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '95290081ea536d6eaefcf985c2d9f006ad935f41', id: componentWrapperId }, h("div", { key: 'c9814a4fa6b24d89fd262b340310106cdd8c02a3', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
|
|
71
71
|
}
|
|
72
72
|
disconnectedCallback() {
|
|
73
73
|
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|
|
@@ -204,14 +204,14 @@ export class KupImageList {
|
|
|
204
204
|
}
|
|
205
205
|
const imlClass = 'image-list' +
|
|
206
206
|
(this.showFullDescription ? ' full-description' : '');
|
|
207
|
-
return (h(Host, { key: '
|
|
207
|
+
return (h(Host, { key: '8622f01ec87a1aafd4818ef24059d828afeece44' }, h("style", { key: 'acfeaf13e960c3e21bac9cc39c4d201565422f6b' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'a03b3eb875abe7948596d286a36c81b6173dfafe', id: componentWrapperId, ref: (el) => {
|
|
208
208
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
209
|
-
} }, h("div", { key: '
|
|
209
|
+
} }, h("div", { key: '78ca055bdda2fc1a8cca73a5744e45ead5063857', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
210
210
|
? 'navigation-bar__wrapper--active'
|
|
211
211
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
212
212
|
this.navigationBarToggled =
|
|
213
213
|
!this.navigationBarToggled;
|
|
214
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '
|
|
214
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '339f5dcc216ed2cbac3c7acfcdb08c1e853b0c5b', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
215
215
|
}
|
|
216
216
|
disconnectedCallback() {
|
|
217
217
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -190,9 +190,9 @@ export class KupInputPanel {
|
|
|
190
190
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
191
191
|
]
|
|
192
192
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
193
|
-
return (h(Host, { key: '
|
|
193
|
+
return (h(Host, { key: 'c0a40ba2669f4738b350c09f2261e8c9e1a98d36', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
|
|
194
194
|
this.tabSelected = e.detail.node.id;
|
|
195
|
-
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: '
|
|
195
|
+
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: 'a4509c3e5cdcb75e143fc16671e924b3ac3de074' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'ead1de0f14ac0d3d65005ebbd1a9f88f5e9584f9', id: componentWrapperId }, inputPanelContent)));
|
|
196
196
|
}
|
|
197
197
|
disconnectedCallback() {
|
|
198
198
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -108,39 +108,39 @@ export class KupLazy {
|
|
|
108
108
|
switch (this.componentName) {
|
|
109
109
|
case 'kup-button':
|
|
110
110
|
//call_to_action.svg
|
|
111
|
-
resource = (h("svg", { key: '
|
|
111
|
+
resource = (h("svg", { key: 'fb2b8362e3dc1b12b70f15e99928a57d7b12fedf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '436f390f7b97422e6748b2a7759d592f44c506dc', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
112
112
|
break;
|
|
113
113
|
case 'kup-card':
|
|
114
114
|
//art_track.svg
|
|
115
|
-
resource = (h("svg", { key: '
|
|
115
|
+
resource = (h("svg", { key: 'f3c05242075e730bc7105c53bd62b18aecf5ec3d', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'a2eee16a6ace543cac444d960a62b59a086eb744', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
116
116
|
break;
|
|
117
117
|
case 'kup-checkbox':
|
|
118
118
|
//check_box_outline_blank.svg
|
|
119
|
-
resource = (h("svg", { key: '
|
|
119
|
+
resource = (h("svg", { key: 'f6716e9ce1594db32cc40769a2670f5eaab944ec', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '7a5d24b382c912f86930086ea47d5352f7d268c0', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
120
120
|
break;
|
|
121
121
|
case 'kup-chart':
|
|
122
122
|
//chart-bar.svg
|
|
123
|
-
resource = (h("svg", { key: '
|
|
123
|
+
resource = (h("svg", { key: '282e8485c65d6c90cc6742fab3ea8826eeb3579a', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'ff9a9420e091b9f5ccf64c2a248715445a3ea89b', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
124
124
|
break;
|
|
125
125
|
case 'kup-data-table':
|
|
126
126
|
//table-large.svg
|
|
127
|
-
resource = (h("svg", { key: '
|
|
127
|
+
resource = (h("svg", { key: 'eaffa11808d13d6a30fff31bea6530830f69d88f', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'c0eac37b259ccaa3176fb122208202dc8885de85', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
128
128
|
break;
|
|
129
129
|
case 'kup-image':
|
|
130
130
|
//photo.svg
|
|
131
|
-
resource = (h("svg", { key: '
|
|
131
|
+
resource = (h("svg", { key: '0fc683ca7735ac9d5f48d9c1350d67549444a37e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'dc800aa000585a00f390e3e92f9456af2c83b121', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
132
132
|
break;
|
|
133
133
|
case 'kup-progress-bar':
|
|
134
134
|
//linear_scale.svg
|
|
135
|
-
resource = (h("svg", { key: '
|
|
135
|
+
resource = (h("svg", { key: '6703f804c86f98915b6fca8d561b79e818480ee0', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '5b473c7582738c69b3e693b653eb8e83f0a5bd7d', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
136
136
|
break;
|
|
137
137
|
case 'kup-radio':
|
|
138
138
|
//radio_button_unchecked.svg
|
|
139
|
-
resource = (h("svg", { key: '
|
|
139
|
+
resource = (h("svg", { key: 'b5020673fe0d60ddcb887878d027f9be1a04f611', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'ca7c15a6029ffb8468db47603eae20f8db8eaa54', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
140
140
|
break;
|
|
141
141
|
default:
|
|
142
142
|
//art_track.svg
|
|
143
|
-
resource = (h("svg", { key: '
|
|
143
|
+
resource = (h("svg", { key: '6e916204ad921b9387a2da59225277a12bdfee97', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '2397c3c58a7ac2ddfe1c4d95680c805b410a1cda', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -149,14 +149,14 @@ export class KupLazy {
|
|
|
149
149
|
this.data &&
|
|
150
150
|
this.isInViewport)) {
|
|
151
151
|
let Tag = this.componentName;
|
|
152
|
-
content = (h(Tag, Object.assign({ key: '
|
|
152
|
+
content = (h(Tag, Object.assign({ key: '55d8ffa08667bdf2f90e278bd6d28e94d5a5fd90' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
153
153
|
className += ' kup-loaded';
|
|
154
154
|
}
|
|
155
155
|
else if (this.showPlaceholder) {
|
|
156
156
|
content = resource;
|
|
157
157
|
className += ' kup-to-be-loaded';
|
|
158
158
|
}
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: 'b51dd829f66bf9958780ca2a106bd265097e0212', class: className }, h("style", { key: '5f16dbbf7222c11e5e3daf2d914b0cbb4f7d757a' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'c0c9f7471b8e6529fa510db940edbbd2505deb86', id: componentWrapperId }, content)));
|
|
160
160
|
}
|
|
161
161
|
disconnectedCallback() {
|
|
162
162
|
var _a;
|
|
@@ -7,7 +7,9 @@ export function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
|
7
7
|
return item.value;
|
|
8
8
|
}
|
|
9
9
|
if (mode == ItemsDisplayMode.DESCRIPTION_AND_CODE) {
|
|
10
|
-
|
|
10
|
+
if (item.id || item.value) {
|
|
11
|
+
return item.id + separator + item.value;
|
|
12
|
+
}
|
|
11
13
|
}
|
|
12
14
|
return item.id;
|
|
13
15
|
}
|
|
@@ -263,11 +263,11 @@ export class KupMagicBox {
|
|
|
263
263
|
this.kupManager.debug.logRender(this, true);
|
|
264
264
|
}
|
|
265
265
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: '579cf183f0915d864820f3d06bc1576ab11ae1a4' }, h("style", { key: '9128110fcaca2c1da80ce29a30b17f26d287ccb3' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a23742c2083fc1ef92fbc370da846dc8b9182116', id: componentWrapperId }, h("div", { key: '1c23fa7eb08e82493c2279f975425297dbcc46fd', class: "magic-box-wrapper" }, h("div", { key: '3c1f251962659f982d0d68108fdb0476d0fa065a', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '30fbff2375c6872fc6ae239a7a215928a4512e3c' }, this.comboboxProps())), h("kup-button", { key: 'de990f96f370f26bd847d90bb555cd818ce59b4e', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
267
267
|
this.data = null;
|
|
268
|
-
} }), h("kup-button", { key: '
|
|
268
|
+
} }), h("kup-button", { key: '867ec9ed075ae869dc9350e00096036d3af780e6', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
269
269
|
this.kupManager.hideMagicBox();
|
|
270
|
-
} })), h("div", { key: '
|
|
270
|
+
} })), h("div", { key: '279780fb00c2ad681ff42f266ad08a25705928fe', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
271
271
|
}
|
|
272
272
|
disconnectedCallback() {
|
|
273
273
|
this.kupManager.interact.unregister([
|
|
@@ -98,7 +98,7 @@ export class KupNavBar {
|
|
|
98
98
|
this.kupManager.debug.logRender(this, true);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '78c7f252d8e16460a2108c898e025209183103c8', class: "header" }, h("style", { key: 'f18b1188fbc590427245dd6acaeed14f3aba3033' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '58a440f172111617ad78da7352b3803356a16015', id: componentWrapperId }, h("header", { key: 'cb2783014d79eee887c8507a06d504fa614fdd77', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: 'e9ca378c0a88b69abc3933780fcc4f33a6d9e6ed', class: `${navbarClass}__row` }, this.content())))));
|
|
102
102
|
}
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
this.kupManager.language.unregister(this);
|
|
@@ -321,7 +321,7 @@ export class KupNumericPicker {
|
|
|
321
321
|
this.kupManager.debug.logRender(this, true);
|
|
322
322
|
}
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'e4971105409f3f1d053379189bb98a5cee25e986' }, h("style", { key: 'a15921df3d5f4bf5542216219197383b5a8c04e1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e1e1ccc7e4a954956fb4a49f2aeb43a113e25030', id: componentWrapperId }, this.prepTextfield())));
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
327
|
this.kupManager.dates.unregister(this);
|
|
@@ -78,7 +78,7 @@ export class KupObjectField {
|
|
|
78
78
|
data: (_a = this.data) !== null && _a !== void 0 ? _a : {},
|
|
79
79
|
inputValue: this.inputValue,
|
|
80
80
|
};
|
|
81
|
-
return (h(Host, { key: '
|
|
81
|
+
return (h(Host, { key: '64b0ed1c52ab60b6b62f37e2540c615c7734df2b' }, h("style", { key: '632c2c4ea945e8f2229026b139716e20afd3c513' }, __classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '83e433664f2a2a2f9cccd96fec89be504683d860', id: componentWrapperId }, h(FObjectField, Object.assign({ key: 'dc274a9635608d774373bfa27f068fc2ad7d38b4' }, props)))));
|
|
82
82
|
}
|
|
83
83
|
disconnectedCallback() {
|
|
84
84
|
__classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.unregister(this);
|
|
@@ -105,7 +105,7 @@ export class KupPdf {
|
|
|
105
105
|
catch (error) { }
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'f2613b15accb59fe68734ffd1972aecf216bed74' }, h("div", { key: 'a9738ed98a36d3fc46e7ae91716ccbfae4898776', id: componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
109
109
|
}
|
|
110
110
|
disconnectedCallback() {
|
|
111
111
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -99,9 +99,9 @@ export class KupPhotoFrame {
|
|
|
99
99
|
if (this.isInViewport && !__classPrivateFieldGet(this, _KupPhotoFrame_renderResource, "f")) {
|
|
100
100
|
__classPrivateFieldSet(this, _KupPhotoFrame_renderResource, true, "f");
|
|
101
101
|
}
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'fced79527b2a6530e421a5da370fc92c3b856bab' }, h("style", { key: '9f3a8702d820381ce546b1da05a1a59bf18241a3' }, __classPrivateFieldGet(this, _KupPhotoFrame_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '4ac2c7956b8602bb1ba65911e84576658973a805', id: componentWrapperId, ref: (el) => {
|
|
103
103
|
__classPrivateFieldSet(this, _KupPhotoFrame_wrapperEl, el, "f");
|
|
104
|
-
} }, h("img", Object.assign({ key: '
|
|
104
|
+
} }, h("img", Object.assign({ key: '78a244bdcc4ba6d8e9310a3ebf1c7c20a0e560b9' }, this.placeholderAttrs, { class: "placeholder", ref: (el) => (__classPrivateFieldSet(this, _KupPhotoFrame_placeholderEl, el, "f")), onLoad: () => {
|
|
105
105
|
if (__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalWidth >
|
|
106
106
|
__classPrivateFieldGet(this, _KupPhotoFrame_placeholderEl, "f").naturalHeight) {
|
|
107
107
|
__classPrivateFieldGet(this, _KupPhotoFrame_wrapperEl, "f").classList.add('horizontal');
|
|
@@ -523,7 +523,7 @@ export class KupPlanner {
|
|
|
523
523
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
524
524
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
525
525
|
}
|
|
526
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: 'ec47712382d7f76463e7805015fc2038da69be2b' }, h("style", { key: 'b1f45b5373f54f28256a5b9a65cbf7db46de1d08' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '7b048a1dd16a7b1c9d82a1a92393fbb395e3f19e', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { key: 'df324c79666c4d3e9c6a410b68065b333da15677', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: 'f2b527fbe72c4fb91ffdb9675c31ceddfc3fe695', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: 'c7844fbd7037996ddc56430f45ca96685f717e19', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
527
527
|
if (e.key === 'Enter') {
|
|
528
528
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
529
529
|
}
|
|
@@ -8,11 +8,11 @@ export class KupCustomTaskListHeader {
|
|
|
8
8
|
this.fontSize = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '324d47927324515f29b44acfeaa6314788ec4da7', class: "custom-task-list-wrapper", style: {
|
|
12
12
|
height: '25px',
|
|
13
13
|
fontFamily: this.fontFamily,
|
|
14
14
|
fontSize: this.fontSize,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '86d1d95d940db2bb3dee1e2c6469feb1d3267652', class: "title" }, h("span", { key: 'dc45d5cf947b5573ed7548fc89c2002717fed017' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: 'aeb990e6ce011948a6ac3600a114872949bfa00a', class: "toggler" }, h("label", { key: 'a6e550a4526b00c961746552c8932c04382788fe', htmlFor: "ch2", class: "switch" }, h("input", { key: 'be713ceaf3c1f213eb30234a118c367d75ac42c6', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '0659f75ad8e22c4c375d4f7d0b5f541937ad9fea', class: "slider" })), h("span", { key: '5560587e2ed422b7e5ecf90e249e2edfce7ab2e2', class: "label" }, "Previsioni")))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "kup-custom-task-list-header"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -563,9 +563,9 @@ export class KupGantt {
|
|
|
563
563
|
TaskListHeader: this.TaskListHeader,
|
|
564
564
|
TaskListTable: this.TaskListTable
|
|
565
565
|
};
|
|
566
|
-
return (h("div", { key: '
|
|
566
|
+
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) => {
|
|
567
567
|
this.taskListScrollWidth = width;
|
|
568
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
568
|
+
}, 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 }))));
|
|
569
569
|
}
|
|
570
570
|
static get is() { return "kup-gantt"; }
|
|
571
571
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js
CHANGED
|
@@ -225,11 +225,11 @@ export class KupGanttCalendar {
|
|
|
225
225
|
this.simplifiedHeader =
|
|
226
226
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
227
227
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
228
|
-
return (h("svg", { key: '
|
|
228
|
+
return (h("svg", { key: '842b2be16fd56d8c65f971ed37d32845a1798dc6', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '842526c0379044e0464bb3a5953390938d2f537d', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, 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
|
|
229
229
|
? topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
230
230
|
: topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
231
231
|
// current date indicator
|
|
232
|
-
h("circle", { key: '
|
|
232
|
+
h("circle", { key: 'f7d1ec8fabefd15a34fcbb88e3d4bde7267cc76e', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
233
233
|
}
|
|
234
234
|
static get is() { return "kup-gantt-calendar"; }
|
|
235
235
|
static get originalStyleUrls() {
|