@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
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupCardFamily, u as KupCardProps, v as getColumnByName, w as formatToNumber, x as KupObjects, y as identify, G as GroupLabelDisplayMode, S as SelectionMode, z as KupLanguageGrouping, A as KupLanguageCheckbox, B as getValueForDisplay2, C as Filters, D as getValueForDisplay, E as KupLanguageSearch, H as FilterInterval, L as LoadMoreMode, P as PaginatorPos, I as ShowGrid, T as TotalLabel, J as TotalMode, M as kupDynamicPositionAttribute, N as KupPointerEventTypes, O as kupDraggableColumnAttr, Q as kupDragActiveAttr, R as KupDragEffect, U as kupDraggableCellAttr, V as KupDropEventTypes, W as FixedCellsClasses, X as FixedCellsCSSVarsBase, Y as KupLanguageFontsize, Z as KupLanguageDensity, _ as KupLanguageGrid, $ as KupDataTableProps, a0 as DataTableAreasEnum, a1 as SortMode, a2 as iconColumn, a3 as keyColumn, a4 as fieldColumn, a5 as FCellTypes, a6 as addColumnValueFromRow, a7 as KupGlobalFilterMode } from './kup-manager-7926277d.js';
|
|
3
3
|
import { F as FTextField } from './f-text-field-aff51c9c.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
-
import { I as ItemsDisplayMode, F as FCell, K as KupListRole, a as KupListProps, b as FProgressBar, c as FRadio, d as FRating, e as FSwitchSizing, f as FSwitch } from './f-cell-
|
|
5
|
+
import { I as ItemsDisplayMode, F as FCell, K as KupListRole, a as KupListProps, b as FProgressBar, c as FRadio, d as FRating, e as FSwitchSizing, f as FSwitch } from './f-cell-23d78e15.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
8
8
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
@@ -27,6 +27,7 @@ var KupAutocompleteProps;
|
|
|
27
27
|
KupAutocompleteProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
28
28
|
KupAutocompleteProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
29
29
|
KupAutocompleteProps["initialValue"] = "Sets the initial value of the component.";
|
|
30
|
+
KupAutocompleteProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
30
31
|
KupAutocompleteProps["inputDelay"] = "Input event emission delay in milliseconds.";
|
|
31
32
|
KupAutocompleteProps["minimumChars"] = "The minimum number of chars to trigger the autocomplete.";
|
|
32
33
|
KupAutocompleteProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
@@ -43,7 +44,9 @@ function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
|
43
44
|
return item.value;
|
|
44
45
|
}
|
|
45
46
|
if (mode == ItemsDisplayMode.DESCRIPTION_AND_CODE) {
|
|
46
|
-
|
|
47
|
+
if (item.id || item.value) {
|
|
48
|
+
return item.id + separator + item.value;
|
|
49
|
+
}
|
|
47
50
|
}
|
|
48
51
|
return item.id;
|
|
49
52
|
}
|
|
@@ -212,6 +215,7 @@ const KupAutocomplete = class {
|
|
|
212
215
|
this.error = '';
|
|
213
216
|
this.icon = null;
|
|
214
217
|
this.initialValue = '';
|
|
218
|
+
this.initialValueDecode = '';
|
|
215
219
|
this.isClearable = false;
|
|
216
220
|
this.inputDelay = 300;
|
|
217
221
|
this.label = null;
|
|
@@ -235,7 +239,7 @@ const KupAutocomplete = class {
|
|
|
235
239
|
}
|
|
236
240
|
onKupChange(value) {
|
|
237
241
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
238
|
-
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
242
|
+
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, undefined, true);
|
|
239
243
|
if (ret.exists || this.allowInconsistentValues) {
|
|
240
244
|
this.kupChange.emit({
|
|
241
245
|
comp: this,
|
|
@@ -264,7 +268,7 @@ const KupAutocomplete = class {
|
|
|
264
268
|
}
|
|
265
269
|
onKupInput() {
|
|
266
270
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
267
|
-
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value, false);
|
|
271
|
+
const ret = __classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, __classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value, undefined, false);
|
|
268
272
|
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_openList).call(this, false);
|
|
269
273
|
if (__classPrivateFieldGet$9(this, _KupAutocomplete_textfieldEl, "f").value.length >= this.minimumChars) {
|
|
270
274
|
this.kupInput.emit({
|
|
@@ -396,9 +400,9 @@ const KupAutocomplete = class {
|
|
|
396
400
|
* Sets the value of the component.
|
|
397
401
|
* @param {string} value - Value of the component.
|
|
398
402
|
*/
|
|
399
|
-
async setValue(value) {
|
|
403
|
+
async setValue(value, valueDecode) {
|
|
400
404
|
__classPrivateFieldSet$5(this, _KupAutocomplete_doConsistencyCheck, true, "f");
|
|
401
|
-
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, true);
|
|
405
|
+
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, value, valueDecode, true);
|
|
402
406
|
}
|
|
403
407
|
/*-------------------------------------------------*/
|
|
404
408
|
/* L i f e c y c l e H o o k s */
|
|
@@ -416,7 +420,7 @@ const KupAutocomplete = class {
|
|
|
416
420
|
}
|
|
417
421
|
}
|
|
418
422
|
componentDidLoad() {
|
|
419
|
-
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, true);
|
|
423
|
+
__classPrivateFieldGet$9(this, _KupAutocomplete_instances, "m", _KupAutocomplete_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
420
424
|
__classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").debug.logLoad(this, true);
|
|
421
425
|
}
|
|
422
426
|
componentWillRender() {
|
|
@@ -462,7 +466,7 @@ const KupAutocomplete = class {
|
|
|
462
466
|
};
|
|
463
467
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
464
468
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
465
|
-
return (h(Host, { key: '
|
|
469
|
+
return (h(Host, { key: '6c6984c561fbaf949568952ceee8324f9333e985', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: '5acaeeee7db6cabf2a0efd7a5b2cde40ef401c7f' }, __classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '8dfc42e263835c1bbee764eff2054badc2e37cf5', id: componentWrapperId, style: __classPrivateFieldGet$9(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: 'ca4b6551eee15cdf162eb4d9952daa66285810a2' }, props, { icon: this.showDropDownIcon
|
|
466
470
|
? KupThemeIconValues.DROPDOWN
|
|
467
471
|
: 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: () => {
|
|
468
472
|
window.clearTimeout(__classPrivateFieldGet$9(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -517,7 +521,7 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
517
521
|
__classPrivateFieldGet$9(this, _KupAutocomplete_kupManager, "f").removeClickCallback(__classPrivateFieldGet$9(this, _KupAutocomplete_clickCb, "f"));
|
|
518
522
|
}, _KupAutocomplete_isListOpened = function _KupAutocomplete_isListOpened() {
|
|
519
523
|
return __classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").menuVisible == true;
|
|
520
|
-
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, setValue) {
|
|
524
|
+
}, _KupAutocomplete_consistencyCheck = function _KupAutocomplete_consistencyCheck(idIn, idInDecode, setValue) {
|
|
521
525
|
if (!__classPrivateFieldGet$9(this, _KupAutocomplete_doConsistencyCheck, "f")) {
|
|
522
526
|
return;
|
|
523
527
|
}
|
|
@@ -533,7 +537,12 @@ _KupAutocomplete_doConsistencyCheck = new WeakMap(), _KupAutocomplete_elStyle =
|
|
|
533
537
|
}
|
|
534
538
|
}
|
|
535
539
|
else {
|
|
536
|
-
|
|
540
|
+
if (setValue) {
|
|
541
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
this.displayedValue = idIn;
|
|
545
|
+
}
|
|
537
546
|
if (__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f") != null && !this.serverHandledFilter) {
|
|
538
547
|
__classPrivateFieldGet$9(this, _KupAutocomplete_listEl, "f").filter = ret.value;
|
|
539
548
|
}
|
|
@@ -6843,7 +6852,7 @@ const KupCheckbox = class {
|
|
|
6843
6852
|
onChange: () => this.onKupChange(),
|
|
6844
6853
|
onFocus: () => this.onKupFocus(),
|
|
6845
6854
|
};
|
|
6846
|
-
return (h(Host, { key: '
|
|
6855
|
+
return (h(Host, { key: 'b37176baab7fb2405afe72dafb8ce7b581eecd9f' }, h("style", { key: '88e82eb7e0ec3162ddf90a50e0acbdf61ed9d216' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '3e2919a4a4a7920f9a16d230cd321d65a7dc0be5', id: componentWrapperId }, h(FCheckbox, Object.assign({ key: 'e768196bdabf90f74ded35275c64c0ef43cef8a1' }, props)))));
|
|
6847
6856
|
}
|
|
6848
6857
|
disconnectedCallback() {
|
|
6849
6858
|
this.kupManager.theme.unregister(this);
|
|
@@ -7060,13 +7069,13 @@ const KupChip = class {
|
|
|
7060
7069
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
7061
7070
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
7062
7071
|
}
|
|
7063
|
-
return (h(Host, { key: '
|
|
7072
|
+
return (h(Host, { key: 'ecaf4300c520cb3137be48ff22bd418b05148a7b', "onKup-autocomplete-itemclick": (e) => {
|
|
7064
7073
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7065
7074
|
}, "onKup-combobox-itemclick": (e) => {
|
|
7066
7075
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7067
7076
|
}, "onKup-textfield-change": (e) => {
|
|
7068
7077
|
__classPrivateFieldGet$8(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7069
|
-
} }, h("style", { key: '
|
|
7078
|
+
} }, h("style", { key: '3b36ccf49c269bafbd7a58c7681ede5d708fca63' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '68560c06c332ca10129a22789378b0295f491798', id: componentWrapperId }, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: 'c21b6c225ed6a9c252b6a7f8a8800079668eae6f', name: "field" }))));
|
|
7070
7079
|
}
|
|
7071
7080
|
disconnectedCallback() {
|
|
7072
7081
|
this.kupManager.theme.unregister(this);
|
|
@@ -7352,7 +7361,7 @@ const KupColorPicker = class {
|
|
|
7352
7361
|
render() {
|
|
7353
7362
|
let widget = null;
|
|
7354
7363
|
if (this.swatchOnly) {
|
|
7355
|
-
widget = (h("button", { key: '
|
|
7364
|
+
widget = (h("button", { key: 'f499be9b6cbcc51c02384107f08f91d611a0571d', disabled: this.disabled, class: "color-picker", onClick: () => this.openPicker(), style: {
|
|
7356
7365
|
backgroundColor: this.value,
|
|
7357
7366
|
}, type: "button" }));
|
|
7358
7367
|
}
|
|
@@ -7362,7 +7371,7 @@ const KupColorPicker = class {
|
|
|
7362
7371
|
const style = {
|
|
7363
7372
|
['--kup_colorpicker_thumb_color']: this.value ? this.value : '',
|
|
7364
7373
|
};
|
|
7365
|
-
return (h(Host, { key: '
|
|
7374
|
+
return (h(Host, { key: '78317a95daf79794261dfc7c32888c35b3f9a405', style: style }, h("style", { key: 'f5dd6e670608ebb3d1b52ae8939fe0eafc3eecf4' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4353d435e6435b72d24df9290f047ae14719d5fb', id: componentWrapperId }, widget)));
|
|
7366
7375
|
}
|
|
7367
7376
|
disconnectedCallback() {
|
|
7368
7377
|
if (this.card) {
|
|
@@ -7387,6 +7396,7 @@ var KupComboboxProps;
|
|
|
7387
7396
|
KupComboboxProps["disabled"] = "Defaults at false. When set to true, the component is disabled.";
|
|
7388
7397
|
KupComboboxProps["displayMode"] = "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\".";
|
|
7389
7398
|
KupComboboxProps["initialValue"] = "Sets the initial value of the component";
|
|
7399
|
+
KupComboboxProps["initialValueDecode"] = "Sets the initial value decode of the component";
|
|
7390
7400
|
KupComboboxProps["isClearable"] = "Enables a clear trailing icon.";
|
|
7391
7401
|
KupComboboxProps["isSelect"] = "Lets the combobox behave as a select element.";
|
|
7392
7402
|
KupComboboxProps["selectMode"] = "Sets how to return the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"both\".";
|
|
@@ -7446,6 +7456,7 @@ const KupCombobox = class {
|
|
|
7446
7456
|
this.error = '';
|
|
7447
7457
|
this.icon = null;
|
|
7448
7458
|
this.initialValue = '';
|
|
7459
|
+
this.initialValueDecode = '';
|
|
7449
7460
|
this.isClearable = false;
|
|
7450
7461
|
this.isSelect = true;
|
|
7451
7462
|
this.label = null;
|
|
@@ -7466,7 +7477,7 @@ const KupCombobox = class {
|
|
|
7466
7477
|
});
|
|
7467
7478
|
}
|
|
7468
7479
|
onKupChange(value) {
|
|
7469
|
-
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
7480
|
+
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, undefined, true);
|
|
7470
7481
|
this.kupChange.emit({
|
|
7471
7482
|
comp: this,
|
|
7472
7483
|
id: this.rootElement.id,
|
|
@@ -7515,7 +7526,7 @@ const KupCombobox = class {
|
|
|
7515
7526
|
});
|
|
7516
7527
|
}
|
|
7517
7528
|
onKupInput() {
|
|
7518
|
-
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value, false);
|
|
7529
|
+
let ret = __classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, __classPrivateFieldGet$7(this, _KupCombobox_textfieldEl, "f").value, undefined, false);
|
|
7519
7530
|
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
|
|
7520
7531
|
this.kupInput.emit({
|
|
7521
7532
|
comp: this,
|
|
@@ -7558,7 +7569,11 @@ const KupCombobox = class {
|
|
|
7558
7569
|
/* W a t c h e r s */
|
|
7559
7570
|
/*-------------------------------------------------*/
|
|
7560
7571
|
initialValueChange(newValue) {
|
|
7561
|
-
this.
|
|
7572
|
+
this.initialValueDecode = undefined;
|
|
7573
|
+
this.setValue(newValue, undefined);
|
|
7574
|
+
}
|
|
7575
|
+
initialValueDecodeChange(newValue) {
|
|
7576
|
+
this.setValue(this.initialValue, newValue);
|
|
7562
7577
|
}
|
|
7563
7578
|
/*-------------------------------------------------*/
|
|
7564
7579
|
/* L i s t e n e r s */
|
|
@@ -7649,8 +7664,8 @@ const KupCombobox = class {
|
|
|
7649
7664
|
* Sets the component's value.
|
|
7650
7665
|
* @param {string} value - Value to be set.
|
|
7651
7666
|
*/
|
|
7652
|
-
async setValue(value) {
|
|
7653
|
-
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, true);
|
|
7667
|
+
async setValue(value, valueDecode) {
|
|
7668
|
+
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, value, valueDecode, true);
|
|
7654
7669
|
}
|
|
7655
7670
|
/*-------------------------------------------------*/
|
|
7656
7671
|
/* L i f e c y c l e H o o k s */
|
|
@@ -7667,7 +7682,7 @@ const KupCombobox = class {
|
|
|
7667
7682
|
}
|
|
7668
7683
|
}
|
|
7669
7684
|
componentDidLoad() {
|
|
7670
|
-
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, true);
|
|
7685
|
+
__classPrivateFieldGet$7(this, _KupCombobox_instances, "m", _KupCombobox_consistencyCheck).call(this, this.value, this.initialValueDecode, true);
|
|
7671
7686
|
__classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").debug.logLoad(this, true);
|
|
7672
7687
|
}
|
|
7673
7688
|
componentWillRender() {
|
|
@@ -7714,7 +7729,7 @@ const KupCombobox = class {
|
|
|
7714
7729
|
};
|
|
7715
7730
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
7716
7731
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
7717
|
-
return (h(Host, { key: '
|
|
7732
|
+
return (h(Host, { key: '4288932134731d8923bfabfe12b699a8cd2da762', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$7(this, _KupCombobox_elStyle, "f") }, h("style", { key: 'a21e8ac16f00c02d50290582842d09c59ed6fbf5' }, __classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd3de05f1906daf13beeac3453257382df7a20740', id: componentWrapperId, style: __classPrivateFieldGet$7(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
|
|
7718
7733
|
? KupThemeIconValues.DROPDOWN
|
|
7719
7734
|
: 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)));
|
|
7720
7735
|
}
|
|
@@ -7727,7 +7742,8 @@ const KupCombobox = class {
|
|
|
7727
7742
|
}
|
|
7728
7743
|
get rootElement() { return getElement$1(this); }
|
|
7729
7744
|
static get watchers() { return {
|
|
7730
|
-
"initialValue": ["initialValueChange"]
|
|
7745
|
+
"initialValue": ["initialValueChange"],
|
|
7746
|
+
"initialValueDecode": ["initialValueDecodeChange"]
|
|
7731
7747
|
}; }
|
|
7732
7748
|
};
|
|
7733
7749
|
_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() {
|
|
@@ -7768,7 +7784,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7768
7784
|
__classPrivateFieldGet$7(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet$7(this, _KupCombobox_clickCb, "f"));
|
|
7769
7785
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
7770
7786
|
return __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
7771
|
-
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, setValue) {
|
|
7787
|
+
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, setValue) {
|
|
7772
7788
|
let ret = consistencyCheck(idIn, this.data['kup-list'], __classPrivateFieldGet$7(this, _KupCombobox_listEl, "f"), this.selectMode, this.displayMode);
|
|
7773
7789
|
if (ret.exists) {
|
|
7774
7790
|
if (setValue) {
|
|
@@ -7781,7 +7797,12 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7781
7797
|
}
|
|
7782
7798
|
else {
|
|
7783
7799
|
this.value = idIn;
|
|
7784
|
-
|
|
7800
|
+
if (setValue) {
|
|
7801
|
+
this.displayedValue = getIdOfItemByDisplayMode({ id: idIn, value: idInDecode !== null && idInDecode !== void 0 ? idInDecode : idIn }, this.displayMode, ' - ');
|
|
7802
|
+
}
|
|
7803
|
+
else {
|
|
7804
|
+
this.displayedValue = idIn;
|
|
7805
|
+
}
|
|
7785
7806
|
if (__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f") != null) {
|
|
7786
7807
|
__classPrivateFieldGet$7(this, _KupCombobox_listEl, "f").filter = ret.value;
|
|
7787
7808
|
}
|
|
@@ -13007,7 +13028,7 @@ const KupDatePicker = class {
|
|
|
13007
13028
|
this.kupManager.debug.logRender(this, true);
|
|
13008
13029
|
}
|
|
13009
13030
|
render() {
|
|
13010
|
-
return (h(Host, { key: '
|
|
13031
|
+
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()))));
|
|
13011
13032
|
}
|
|
13012
13033
|
disconnectedCallback() {
|
|
13013
13034
|
this.kupManager.dates.unregister(this);
|
|
@@ -13186,7 +13207,7 @@ const KupDialog = class {
|
|
|
13186
13207
|
if (headerSlot) {
|
|
13187
13208
|
__classPrivateFieldSet$2(this, _KupDialog_header, headerSlot, "f");
|
|
13188
13209
|
}
|
|
13189
|
-
return (h(Host, { key: '
|
|
13210
|
+
return (h(Host, { key: 'f1ddf60b563705289df8bcac7b67fd9a4ed7b2e4', "fade-in": true, style: style }, h("style", { key: 'daafa62322845d8913844c00a5a148f856bbb327' }, __classPrivateFieldGet$5(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '6408c03e635a80657661b7c19bac8f43809df0d2', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$2(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" })))));
|
|
13190
13211
|
}
|
|
13191
13212
|
disconnectedCallback() {
|
|
13192
13213
|
if (this.modal) {
|
|
@@ -13960,7 +13981,7 @@ const KupForm = class {
|
|
|
13960
13981
|
render() {
|
|
13961
13982
|
let formContent = null;
|
|
13962
13983
|
if (this.data.rows.length === 0) {
|
|
13963
|
-
formContent = (h("p", { key: '
|
|
13984
|
+
formContent = (h("p", { key: '4b4c768ddde3a3e5b716aa6c78f19d124fe472ff' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
13964
13985
|
}
|
|
13965
13986
|
else {
|
|
13966
13987
|
const rows = this.data.rows;
|
|
@@ -13971,7 +13992,7 @@ const KupForm = class {
|
|
|
13971
13992
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
13972
13993
|
}
|
|
13973
13994
|
}
|
|
13974
|
-
return (h(Host, { key: '
|
|
13995
|
+
return (h(Host, { key: 'fef68da43868f5b70c76102cc08fc53557b0feb8' }, h("style", { key: 'c8265a9f9c5a9bce97c8c2bbf64d3d7cbf1f57ee' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'de6c69d454396ebf0e82b5de27c7541132038eeb', id: componentWrapperId }, formContent)));
|
|
13975
13996
|
}
|
|
13976
13997
|
disconnectedCallback() {
|
|
13977
13998
|
this.kupManager.language.unregister(this);
|
|
@@ -15965,7 +15986,7 @@ const KupProgressBar = class {
|
|
|
15965
15986
|
? true
|
|
15966
15987
|
: false,
|
|
15967
15988
|
};
|
|
15968
|
-
return (h(Host, { key: '
|
|
15989
|
+
return (h(Host, { key: 'fc069fc045b472feef52fb5992ba6192d499b837' }, h("style", { key: '2056a42b2210cea537df60dad6c7e9368e57e124' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ef6a639f4dc3a94c5353ceca5dedb7f4cd3ea60e', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: 'e25e24df64a29f9bc18814505da2bd0e0908a1d0' }, props)))));
|
|
15969
15990
|
}
|
|
15970
15991
|
disconnectedCallback() {
|
|
15971
15992
|
this.kupManager.theme.unregister(this);
|
|
@@ -16226,7 +16247,7 @@ const KupRating = class {
|
|
|
16226
16247
|
: false,
|
|
16227
16248
|
onClick: (i) => this.onKupClick(i),
|
|
16228
16249
|
};
|
|
16229
|
-
return (h(Host, { key: '
|
|
16250
|
+
return (h(Host, { key: '3d73b7606c40063f487a597a80ffcb020192bd26' }, h("style", { key: '1d93d5b324cbe85e685fcc6ea72d97598cc0ae2b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '8061260a3bf3b35f3942cd8b029077f0fd24242b', id: componentWrapperId }, h(FRating, Object.assign({ key: '5bcad80eb8799b8ebc797cc4bb6a2b21c7355806' }, props)))));
|
|
16230
16251
|
}
|
|
16231
16252
|
disconnectedCallback() {
|
|
16232
16253
|
this.kupManager.theme.unregister(this);
|
|
@@ -16349,59 +16370,59 @@ const KupSpinner = class {
|
|
|
16349
16370
|
spinnerClass = 'spinner-v' + this.layout;
|
|
16350
16371
|
if (this.layout === 7) {
|
|
16351
16372
|
spinnerEl = [
|
|
16352
|
-
h("div", { key: '
|
|
16353
|
-
h("div", { key: '
|
|
16354
|
-
h("div", { key: '
|
|
16355
|
-
h("div", { key: '
|
|
16356
|
-
h("div", { key: '
|
|
16357
|
-
h("div", { key: '
|
|
16373
|
+
h("div", { key: '4bd11aebdfbc1c960633424069e51409e062feb4', class: "sk-spinner-v7-dot" }),
|
|
16374
|
+
h("div", { key: '1da54d48b55cf3f07994a52a3fdf9de32639b269', class: "sk-spinner-v7-dot" }),
|
|
16375
|
+
h("div", { key: '8001b4676b15ef60e84a4a728e457ab5afad7324', class: "sk-spinner-v7-dot" }),
|
|
16376
|
+
h("div", { key: 'c0632f0be9eafee154b4c280915da15df6121fce', class: "sk-spinner-v7-dot" }),
|
|
16377
|
+
h("div", { key: '7756968cd19464597be513baee05bc32e684e16b', class: "sk-spinner-v7-dot" }),
|
|
16378
|
+
h("div", { key: '0d9bbdff5a1ecb62dab141ef19bdb934f9f2ab9b', class: "sk-spinner-v7-dot" }),
|
|
16358
16379
|
];
|
|
16359
16380
|
}
|
|
16360
16381
|
if (this.layout === 9) {
|
|
16361
16382
|
spinnerEl = [
|
|
16362
|
-
h("div", { key: '
|
|
16363
|
-
h("div", { key: '
|
|
16383
|
+
h("div", { key: '5959b3fc9c7d388a321ae6b4ec4b5fafc807ec9b', class: "sk-spinner-v9-bounce1" }),
|
|
16384
|
+
h("div", { key: 'bd31de963b3e2f580426ff611c1a7ab25d621329', class: "sk-spinner-v9-bounce2" }),
|
|
16364
16385
|
];
|
|
16365
16386
|
}
|
|
16366
16387
|
if (this.layout === 10) {
|
|
16367
16388
|
spinnerEl = [
|
|
16368
|
-
h("div", { key: '
|
|
16369
|
-
h("div", { key: '
|
|
16389
|
+
h("div", { key: '02ae86e55572f5923c03c8eb1383f07806624b80', class: "sk-spinner-v10-cube1" }),
|
|
16390
|
+
h("div", { key: 'd89e91a227d5d9cddcb565dac4e2a79d98e2a2bd', class: "sk-spinner-v10-cube2" }),
|
|
16370
16391
|
];
|
|
16371
16392
|
}
|
|
16372
16393
|
if (this.layout === 12) {
|
|
16373
16394
|
spinnerEl = [
|
|
16374
|
-
h("div", { key: '
|
|
16375
|
-
h("div", { key: '
|
|
16395
|
+
h("div", { key: '5731581e4a11b79e60eaa3e732b64ea004bcd5e1', class: "sk-spinner-v12-dot1" }),
|
|
16396
|
+
h("div", { key: '25d700729222f7c7c2af968fc6a06c3f47bfbd0c', class: "sk-spinner-v12-dot2" }),
|
|
16376
16397
|
];
|
|
16377
16398
|
}
|
|
16378
16399
|
if (this.layout === 13) {
|
|
16379
16400
|
spinnerEl = [
|
|
16380
|
-
h("div", { key: '
|
|
16381
|
-
h("div", { key: '
|
|
16382
|
-
h("div", { key: '
|
|
16383
|
-
h("div", { key: '
|
|
16384
|
-
h("div", { key: '
|
|
16385
|
-
h("div", { key: '
|
|
16386
|
-
h("div", { key: '
|
|
16387
|
-
h("div", { key: '
|
|
16388
|
-
h("div", { key: '
|
|
16401
|
+
h("div", { key: 'd8c2c65aa3fa08b8137d41aec4f9aa42b4c7abce', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
16402
|
+
h("div", { key: '1294a53b8f3f710282060ccdd9f9325d50f8c668', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
16403
|
+
h("div", { key: 'b85842b20c55a113be6a523404d648bfb99ab609', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
16404
|
+
h("div", { key: '92f644e732fee84c97703f692fbf9f879120d503', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
16405
|
+
h("div", { key: '2baeb03d493ae21e23db5176a05480e0493269e4', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
16406
|
+
h("div", { key: '7164ee3bcb56a2b948ca13c008e6c31e2936a4d4', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
16407
|
+
h("div", { key: '13bc822dce6f147442e22b02730e21865b2c211c', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
16408
|
+
h("div", { key: '9169c182ea3ead483d9a1afe22bed8674c2fbd06', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
16409
|
+
h("div", { key: 'eff5a7428127574bb3aadbcadbdd94025c66f060', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
16389
16410
|
];
|
|
16390
16411
|
}
|
|
16391
16412
|
if (this.layout === 14) {
|
|
16392
16413
|
spinnerEl = [
|
|
16393
|
-
h("div", { key: '
|
|
16394
|
-
h("div", { key: '
|
|
16395
|
-
h("div", { key: '
|
|
16396
|
-
h("div", { key: '
|
|
16397
|
-
h("div", { key: '
|
|
16398
|
-
h("div", { key: '
|
|
16399
|
-
h("div", { key: '
|
|
16400
|
-
h("div", { key: '
|
|
16401
|
-
h("div", { key: '
|
|
16402
|
-
h("div", { key: '
|
|
16403
|
-
h("div", { key: '
|
|
16404
|
-
h("div", { key: '
|
|
16414
|
+
h("div", { key: 'e6d6debfb615e9f33cff1f016acf7ee0c8d70498', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
16415
|
+
h("div", { key: '85fc5c6980792889e675c3df356feb3f3ec2d018', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
16416
|
+
h("div", { key: '7135a4ccd777f3cbb8deda8dfea569589851526f', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
16417
|
+
h("div", { key: 'fc7ecbc8884464ad05219a38186aaa0ce5b12c87', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
16418
|
+
h("div", { key: '88fe8dfa73e2ac65cf6ef6b90c60971f2014112e', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
16419
|
+
h("div", { key: '1628c0a6ceb994ccd665ceeddecc69714ca43685', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
16420
|
+
h("div", { key: '631b7191885b196677d3df7f59a33f59813cb961', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
16421
|
+
h("div", { key: '0bd52f9f8b2dc98cdc92b4d68249ef9a2f72de7c', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
16422
|
+
h("div", { key: 'b4859b29bc9c67fb31ac52baca133b568b7b5920', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
16423
|
+
h("div", { key: 'd5923c97bc43352682dfc3bee8fe195e1a9f7697', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
16424
|
+
h("div", { key: '43a932bf52251603c9b99163c66f75c64abdcf72', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
16425
|
+
h("div", { key: '1b3601b17f45e5548a7b47a0249bdf2f94c40b11', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
16405
16426
|
];
|
|
16406
16427
|
}
|
|
16407
16428
|
}
|
|
@@ -16420,7 +16441,7 @@ const KupSpinner = class {
|
|
|
16420
16441
|
else {
|
|
16421
16442
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
16422
16443
|
}
|
|
16423
|
-
return (h(Host, { key: '
|
|
16444
|
+
return (h(Host, { key: 'cd7f98fa14d07b314791e64aafa46f7111c2d9b9', style: elStyle }, h("style", { key: 'ccc425aadf72e68b26052ea5e402a1e809e87c51' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '3a3721606b23c6dd1a0ea67d46a7cc19ff7f2b87', id: componentWrapperId, style: elStyle }, h("div", { key: '671f408c10faa4279d9b8f974c7350a5c0adc2b4', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: 'cc415dd3e870b000c3da0e5485b6a0a8e76ab224', id: wrapperClass, style: elStyle }, h("div", { key: 'efbebeff75c03843ce6ccf96f485aae5761c35e4', class: spinnerClass }, spinnerEl))))));
|
|
16424
16445
|
}
|
|
16425
16446
|
disconnectedCallback() {
|
|
16426
16447
|
this.kupManager.theme.unregister(this);
|
|
@@ -16568,7 +16589,7 @@ const KupSwitch = class {
|
|
|
16568
16589
|
onChange: () => this.onKupChange(),
|
|
16569
16590
|
onFocus: () => this.onKupFocus(),
|
|
16570
16591
|
};
|
|
16571
|
-
return (h(Host, { key: '
|
|
16592
|
+
return (h(Host, { key: '6fbe5e23fdd6002b4401a4f48789dcc3d67376d2' }, h("style", { key: '6dc6d4934ded345eb0d832d37387ddf29439d577' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0738abd02342b1d6e4eee28c80b50cba91b62f49', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '6774227df33c638e694a84ce48c2b0f47f81828b' }, props)))));
|
|
16572
16593
|
}
|
|
16573
16594
|
disconnectedCallback() {
|
|
16574
16595
|
this.kupManager.theme.unregister(this);
|
|
@@ -17688,7 +17709,7 @@ const KupTimePicker = class {
|
|
|
17688
17709
|
this.kupManager.debug.logRender(this, true);
|
|
17689
17710
|
}
|
|
17690
17711
|
render() {
|
|
17691
|
-
return (h(Host, { key: '
|
|
17712
|
+
return (h(Host, { key: 'c70c26c8423ee5dca2d3ad9affcbb2765ef4ba8c' }, h("style", { key: 'c8c0e4000a3497a0c781133275df16e88374cc72' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '53e37cf102a6a19bfb6b824f220379a6a31c98a8', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
17692
17713
|
}
|
|
17693
17714
|
disconnectedCallback() {
|
|
17694
17715
|
this.kupManager.dates.unregister(this);
|
|
@@ -4,7 +4,7 @@ import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-ta
|
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
5
|
import { c as FChip } from './f-chip-13a0db84.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-23d78e15.js';
|
|
8
8
|
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-b5e0696c.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
@@ -13990,6 +13990,7 @@ const KupCalendar = class {
|
|
|
13990
13990
|
};
|
|
13991
13991
|
this.hideNavigation = false;
|
|
13992
13992
|
this.editableEvents = true;
|
|
13993
|
+
this.enableChangeView = false;
|
|
13993
13994
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
13994
13995
|
}
|
|
13995
13996
|
/*-------------------------------------------------*/
|
|
@@ -14316,11 +14317,11 @@ const KupCalendar = class {
|
|
|
14316
14317
|
this.kupManager.debug.logRender(this, true);
|
|
14317
14318
|
}
|
|
14318
14319
|
render() {
|
|
14319
|
-
return (h$1(Host, { key: '
|
|
14320
|
+
return (h$1(Host, { key: '57968055fa6e7b79f51c452419c0088d8b4646a8' }, h$1("style", { key: '08b4578dabd27fbc46618dd2c42791ce2281396e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '6e7924791fdfcdbcbe552b6d4433977f6a344fe8', id: componentWrapperId }, h$1("div", { key: 'c886d74b5a4d9b4c0f78a65a1d9e4b6678512fd1', class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { key: '03866e4ffc649c69eea881009d718cb0eb484a67', class: `navigation__title ${this.hideNavigation
|
|
14320
14321
|
? 'navigation__title--centered'
|
|
14321
14322
|
: ''}`, ref: (el) => {
|
|
14322
14323
|
this.navTitle = el;
|
|
14323
|
-
} }),
|
|
14324
|
+
} }), h$1("div", { key: '0c2a2234c7b63ce6e14605c2f5a99a449195391a', class: "navigation__right" }, this.enableChangeView ? (h$1(FChip, Object.assign({}, this.setChipProps()))) : null)), h$1("div", { key: '1ff7f88610210c904a5699f47e930a95b330f79b', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14324
14325
|
}
|
|
14325
14326
|
disconnectedCallback() {
|
|
14326
14327
|
if (this.calendar) {
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { k as kupManagerInstance, f as FCellPadding, aq as KupCellElementsPosition, g as getProps, s as setProps, R as KupDragEffect, ar as submitPositionAdapter, h as KupLanguageGeneric, as as KupCellProps } from './kup-manager-7926277d.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-23d78e15.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-e8fec767.js';
|
|
@@ -171,14 +171,14 @@ const KupCell = class {
|
|
|
171
171
|
renderKup: true,
|
|
172
172
|
row: this.generateRow(),
|
|
173
173
|
};
|
|
174
|
-
return (h(Host, { key: '
|
|
174
|
+
return (h(Host, { key: '8d59f9fd7494454f48c88f654a1936d73a6b78c8' }, h("style", { key: '2507496c8ce36d2366564c377e39a51dcbc2d91f' }, __classPrivateFieldGet(this, _KupCell_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1cde1c15d5c64f8b9fdfc2e7ebb19b3d7ac79aa8', id: componentWrapperId, style: this.showSubmit
|
|
175
175
|
? {
|
|
176
176
|
display: 'flex',
|
|
177
177
|
'flex-direction': submitPositionAdapter(this.submitPosition),
|
|
178
178
|
'align-items': 'center',
|
|
179
179
|
gap: '0.5rem',
|
|
180
180
|
}
|
|
181
|
-
: {} }, h(FCell, Object.assign({ key: '
|
|
181
|
+
: {} }, h(FCell, Object.assign({ key: '538fc08d18fec1cd05b354487e571f512b265575' }, props)), this.showSubmit ? (h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupCell_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", onClick: (e) => {
|
|
182
182
|
this.submitClick(e);
|
|
183
183
|
} })) : null)));
|
|
184
184
|
}
|
|
@@ -17,11 +17,11 @@ const KupCustomTaskListHeader = class {
|
|
|
17
17
|
this.fontSize = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: '324d47927324515f29b44acfeaa6314788ec4da7', class: "custom-task-list-wrapper", style: {
|
|
21
21
|
height: '25px',
|
|
22
22
|
fontFamily: this.fontFamily,
|
|
23
23
|
fontSize: this.fontSize,
|
|
24
|
-
} }, h("div", { key: '
|
|
24
|
+
} }, 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")))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
|
|
@@ -385,11 +385,11 @@ const KupGanttCalendar = class {
|
|
|
385
385
|
this.simplifiedHeader =
|
|
386
386
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
387
387
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
388
|
-
return (h("svg", { key: '
|
|
388
|
+
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
|
|
389
389
|
? 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))))
|
|
390
390
|
: 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 && (
|
|
391
391
|
// current date indicator
|
|
392
|
-
h("circle", { key: '
|
|
392
|
+
h("circle", { key: 'f7d1ec8fabefd15a34fcbb88e3d4bde7267cc76e', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
KupGanttCalendar.style = KupGanttCalendarStyle0;
|
|
@@ -1445,13 +1445,13 @@ const KupGridRenderer = class {
|
|
|
1445
1445
|
// }
|
|
1446
1446
|
tickX += this.columnWidth;
|
|
1447
1447
|
}
|
|
1448
|
-
return (h("svg", { key: '
|
|
1448
|
+
return (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) }, h("g", { key: '4330009837a17f523a1cd59177eefbad3389c562', class: "grid" }, h("g", { key: 'c5cca3a09b66ba7dcf1414f172dc28ec8472114b', class: "rows" }, gridRows), h("g", { key: 'de20eb48bb16eeac646cfbefced3d5d3ac873088', class: "rowLines" }, rowLines), h("g", { key: '2074b20432e063d5cde7541ad618ffa6018e651a', class: "ticks" }, ticks)), h("g", { key: '0d6b86c241c47f6daaa7b64238d295697436d29c', class: "content" }, this.currentDateIndicator && (h("rect", { key: '4ecf3383883e8deb3ec4f3d192382974fc4239d3', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (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" })), h("g", { key: 'f3236d4a4bc4c7e2bb7394c2a4c9fee6e245c19a', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1449
1449
|
return task.barChildren.map((child) => {
|
|
1450
1450
|
if (task.type !== 'timeline') {
|
|
1451
1451
|
this.renderKupArrow(task, child);
|
|
1452
1452
|
}
|
|
1453
1453
|
});
|
|
1454
|
-
})), h("g", { key: '
|
|
1454
|
+
})), h("g", { key: '608bb4770ee4908c3fe2d459cb3048c9821a6c7f', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1455
1455
|
const forbidResize = task.type === 'project';
|
|
1456
1456
|
return (h("g", { onKeyDown: (e) => {
|
|
1457
1457
|
switch (e.key) {
|
|
@@ -1511,7 +1511,7 @@ const KupGridRenderer = class {
|
|
|
1511
1511
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1512
1512
|
}
|
|
1513
1513
|
})()));
|
|
1514
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1514
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'dd11df6824e7bf1e7fe06f6647f4e425853da8ad', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1515
1515
|
}
|
|
1516
1516
|
static get watchers() { return {
|
|
1517
1517
|
"columnWidth": ["updateXStep"],
|
|
@@ -392,7 +392,7 @@ const KupDashboard = class {
|
|
|
392
392
|
this.didRenderInteractables();
|
|
393
393
|
}
|
|
394
394
|
render() {
|
|
395
|
-
return (h(Host, { key: '
|
|
395
|
+
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))));
|
|
396
396
|
}
|
|
397
397
|
disconnectedCallback() {
|
|
398
398
|
this.unregisterInteractables();
|