@sme.up/ketchup 8.3.2 → 8.3.3
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-button-be5c564a.js → f-button-7687085a.js} +3 -3
- package/dist/cjs/{f-cell-d034bcb0.js → f-cell-37ef6f00.js} +6 -6
- package/dist/cjs/{f-checkbox-cff77b2c.js → f-checkbox-758d1d34.js} +1 -1
- package/dist/cjs/{f-chip-bc678bf1.js → f-chip-cf59bdb3.js} +3 -3
- package/dist/cjs/{f-image-8542c984.js → f-image-1245b0cf.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f48afc35.js → f-paginator-utils-b1af2a8f.js} +4 -4
- package/dist/cjs/{f-text-field-acfc1717.js → f-text-field-9c745112.js} +2 -2
- package/dist/cjs/{f-text-field-mdc-d38d80b5.js → f-text-field-mdc-b1fa6fd6.js} +1 -1
- package/dist/cjs/{index-a9a3b467.js → index-eac07680.js} +4 -11
- package/dist/cjs/ketchup.cjs.js +3 -6
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +16 -16
- package/dist/cjs/kup-box.cjs.entry.js +14 -14
- package/dist/cjs/kup-calendar.cjs.entry.js +15 -9
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-dash_2.cjs.entry.js +3 -3
- package/dist/cjs/kup-dashboard.cjs.entry.js +10 -10
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +27 -15
- package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +11 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-b3677c1d.js → kup-manager-38caaef3.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-photo-frame.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +26 -18
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/collection/assets/data-table.js +0 -44
- package/dist/collection/assets/echart.js +168 -90
- package/dist/collection/collection-manifest.json +50 -50
- package/dist/collection/components/kup-accordion/kup-accordion.js +28 -18
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +47 -29
- package/dist/collection/components/kup-badge/kup-badge.js +21 -14
- package/dist/collection/components/kup-box/kup-box.js +62 -41
- package/dist/collection/components/kup-button/kup-button.js +26 -17
- package/dist/collection/components/kup-button-list/kup-button-list.e2e.js +1 -1
- package/dist/collection/components/kup-button-list/kup-button-list.js +24 -16
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +2 -1
- package/dist/collection/components/kup-calendar/kup-calendar.css +13 -0
- package/dist/collection/components/kup-calendar/kup-calendar.js +73 -35
- package/dist/collection/components/kup-card/box/kup-card-box.js +3 -3
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +7 -7
- package/dist/collection/components/kup-card/built-in/kup-card-calendar.js +6 -6
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +5 -5
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +4 -4
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +4 -4
- package/dist/collection/components/kup-card/built-in/kup-card-numeric.js +2 -2
- package/dist/collection/components/kup-card/collapsible/kup-card-collapsible.js +5 -5
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +5 -5
- package/dist/collection/components/kup-card/free/kup-card-free.js +2 -2
- package/dist/collection/components/kup-card/kup-card-helper.js +5 -5
- package/dist/collection/components/kup-card/kup-card.js +42 -30
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +4 -4
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +9 -9
- package/dist/collection/components/kup-cell/kup-cell.js +27 -18
- package/dist/collection/components/kup-chart/kup-chart-builder.js +5 -5
- package/dist/collection/components/kup-chart/kup-chart.js +47 -28
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +22 -14
- package/dist/collection/components/kup-chip/kup-chip.js +32 -20
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +30 -20
- package/dist/collection/components/kup-combobox/kup-combobox.js +47 -29
- package/dist/collection/components/kup-dash/kup-dash.js +2 -2
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +11 -7
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +26 -19
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +4 -4
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +2 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +178 -106
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +42 -26
- package/dist/collection/components/kup-dialog/kup-dialog.js +30 -18
- package/dist/collection/components/kup-drawer/kup-drawer.e2e.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +29 -17
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +42 -26
- package/dist/collection/components/kup-echart/kup-echart.js +64 -37
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +42 -26
- package/dist/collection/components/kup-form/kup-form.js +32 -21
- package/dist/collection/components/kup-gauge/kup-gauge.js +18 -13
- package/dist/collection/components/kup-grid/kup-grid.js +16 -11
- package/dist/collection/components/kup-iframe/kup-iframe.js +21 -13
- package/dist/collection/components/kup-image/canvas/kup-image-canvas-declarations.js +1 -1
- package/dist/collection/components/kup-image/canvas/kup-image-canvas-helper.js +1 -1
- package/dist/collection/components/kup-image/canvas/kup-image-canvas.js +2 -2
- package/dist/collection/components/kup-image/kup-image.js +27 -18
- package/dist/collection/components/kup-image-list/kup-image-list.js +35 -24
- package/dist/collection/components/kup-lazy/kup-lazy.js +25 -15
- package/dist/collection/components/kup-list/kup-list-helper.js +1 -1
- package/dist/collection/components/kup-list/kup-list.js +45 -27
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +23 -17
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +23 -14
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +40 -24
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +23 -14
- package/dist/collection/components/kup-planner/kup-planner-helper.js +3 -3
- package/dist/collection/components/kup-planner/kup-planner.css +277 -277
- package/dist/collection/components/kup-planner/kup-planner.js +51 -33
- package/dist/collection/components/kup-probe/kup-probe.js +7 -5
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +15 -10
- package/dist/collection/components/kup-qlik/kup-qlik.js +8 -5
- package/dist/collection/components/kup-radio/kup-radio.js +23 -14
- package/dist/collection/components/kup-rating/kup-rating.js +17 -11
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +26 -16
- package/dist/collection/components/kup-spinner/kup-spinner.js +17 -11
- package/dist/collection/components/kup-state/mock-store.js +1 -1
- package/dist/collection/components/kup-switch/kup-switch.js +22 -14
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +31 -20
- package/dist/collection/components/kup-text-field/kup-text-field.js +40 -24
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +47 -29
- package/dist/collection/components/kup-tree/kup-tree.js +104 -63
- package/dist/collection/f-components/f-button/f-button.js +3 -3
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +12 -12
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +5 -5
- package/dist/collection/f-components/f-image/f-image.js +3 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +5 -5
- package/dist/collection/f-components/f-switch/f-switch.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field-mdc.js +2 -2
- package/dist/collection/f-components/f-text-field/f-text-field.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +4 -4
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +3 -3
- package/dist/collection/managers/kup-data/kup-data.js +8 -8
- package/dist/collection/managers/kup-dates/kup-dates.js +11 -11
- package/dist/collection/managers/kup-debug/kup-debug.js +3 -3
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +2 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +2 -2
- package/dist/collection/managers/kup-language/kup-language.js +3 -3
- package/dist/collection/managers/kup-manager/kup-manager.js +20 -20
- package/dist/collection/managers/kup-math/kup-math-helper.js +1 -1
- package/dist/collection/managers/kup-math/kup-math.js +11 -11
- package/dist/collection/managers/kup-objects/kup-objects.js +1 -1
- package/dist/collection/managers/kup-scroll-on-hover/kup-scroll-on-hover.js +1 -1
- package/dist/collection/managers/kup-search/kup-search.js +2 -2
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +1 -1
- package/dist/collection/managers/kup-theme/kup-theme.js +15 -15
- package/dist/collection/managers/kup-toolbar/kup-toolbar.js +1 -1
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/utils/cell-utils.js +1 -1
- package/dist/collection/utils/filters/filters-column-menu.js +3 -3
- package/dist/collection/utils/filters/filters-rows.js +6 -6
- package/dist/collection/utils/filters/filters-tree-items.js +4 -4
- package/dist/collection/utils/filters/filters.js +3 -3
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +12 -12
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/kup-autocomplete2.js +3 -3
- package/dist/components/kup-calendar.js +9 -2
- package/dist/components/kup-echart2.js +24 -12
- package/dist/components/kup-planner.js +20 -12
- package/dist/esm/{f-button-3b97025a.js → f-button-e54ce8d5.js} +3 -3
- package/dist/esm/{f-cell-ae537010.js → f-cell-4149a05d.js} +6 -6
- package/dist/esm/{f-checkbox-91358c27.js → f-checkbox-7b113dd8.js} +1 -1
- package/dist/esm/{f-chip-69df7df4.js → f-chip-c3c86f7b.js} +3 -3
- package/dist/esm/{f-image-705c1694.js → f-image-adceee49.js} +2 -2
- package/dist/esm/{f-paginator-utils-b7009f00.js → f-paginator-utils-e559dac8.js} +4 -4
- package/dist/esm/{f-text-field-fa349928.js → f-text-field-aa4497a8.js} +2 -2
- package/dist/esm/{f-text-field-mdc-a1b4a919.js → f-text-field-mdc-32a1ffd9.js} +1 -1
- package/dist/esm/{index-bb15ce14.js → index-d413187a.js} +5 -11
- package/dist/esm/ketchup.js +4 -7
- package/dist/esm/kup-accordion.entry.js +5 -5
- package/dist/esm/kup-autocomplete_27.entry.js +16 -16
- package/dist/esm/kup-box.entry.js +14 -14
- package/dist/esm/kup-calendar.entry.js +15 -9
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-dash-list.entry.js +2 -2
- package/dist/esm/kup-dash_2.entry.js +3 -3
- package/dist/esm/kup-dashboard.entry.js +10 -10
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +27 -15
- package/dist/esm/kup-family-tree.entry.js +6 -6
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +11 -11
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-bad7bec3.js → kup-manager-a4153fb2.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-photo-frame.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +26 -18
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/loader.js +4 -13
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-a8eccd10.entry.js → p-0848391f.entry.js} +1 -1
- package/dist/ketchup/{p-aa373c37.entry.js → p-23d54fb2.entry.js} +1 -1
- package/dist/ketchup/{p-e6cf7db3.entry.js → p-25d45dc9.entry.js} +1 -1
- package/dist/ketchup/{p-e1f0ade4.entry.js → p-2739b7ac.entry.js} +1 -1
- package/dist/ketchup/p-283ca113.entry.js +1 -0
- package/dist/ketchup/{p-afa2af1e.js → p-2f0798d3.js} +1 -1
- package/dist/ketchup/{p-be89bc7b.entry.js → p-3081ed82.entry.js} +1 -1
- package/dist/ketchup/{p-c455cc67.entry.js → p-384137d7.entry.js} +2 -2
- package/dist/ketchup/{p-ef21d377.entry.js → p-3972b97c.entry.js} +1 -1
- package/dist/ketchup/{p-31da4bae.entry.js → p-3bbcae45.entry.js} +1 -1
- package/dist/ketchup/{p-68c5029f.entry.js → p-3c44e838.entry.js} +1 -1
- package/dist/ketchup/{p-fefa9ae4.entry.js → p-3d671241.entry.js} +1 -1
- package/dist/ketchup/{p-4c79ea53.entry.js → p-44b5c573.entry.js} +1 -1
- package/dist/ketchup/{p-82b5fac1.js → p-47752f3b.js} +1 -1
- package/dist/ketchup/{p-0b24a2ed.entry.js → p-5ce0e645.entry.js} +1 -1
- package/dist/ketchup/{p-55182fcf.js → p-698442ed.js} +1 -1
- package/dist/ketchup/{p-fb03f2f5.js → p-6d9ffb32.js} +1 -1
- package/dist/ketchup/{p-fd1323da.js → p-7360a410.js} +1 -1
- package/dist/ketchup/{p-af50bc6b.entry.js → p-b415fe84.entry.js} +1 -1
- package/dist/ketchup/{p-ee39977d.entry.js → p-b623c774.entry.js} +1 -1
- package/dist/ketchup/{p-2587abcf.entry.js → p-b8fcbcc9.entry.js} +1 -1
- package/dist/ketchup/{p-1ad1cf92.entry.js → p-be864593.entry.js} +2 -2
- package/dist/ketchup/{p-15ffcd21.entry.js → p-c0878519.entry.js} +1 -1
- package/dist/ketchup/{p-bd21cdea.entry.js → p-c39ddeae.entry.js} +1 -1
- package/dist/ketchup/{p-fb0b5466.js → p-d680bdde.js} +1 -1
- package/dist/ketchup/{p-3879be61.js → p-d817be2a.js} +1 -1
- package/dist/ketchup/{p-bd5ece4c.js → p-e76b646c.js} +1 -1
- package/dist/ketchup/{p-7664a38d.entry.js → p-e917200c.entry.js} +2 -2
- package/dist/ketchup/{p-b3eeb140.entry.js → p-eec864dd.entry.js} +1 -1
- package/dist/ketchup/{p-6c995fb2.entry.js → p-f3c8c1da.entry.js} +1 -1
- package/dist/ketchup/{p-68cd7d9a.js → p-f79d544a.js} +1 -1
- package/dist/ketchup/p-fd75d5bf.js +2 -0
- package/dist/loader/index.d.ts +1 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +2 -1
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +5 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/package.json +5 -5
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/ketchup/p-15e6bfaf.entry.js +0 -1
- package/dist/ketchup/p-b5deb573.js +0 -2
- /package/dist/cjs/{GenericVariables-9cd88034.js → GenericVariables-1d52ba57.js} +0 -0
- /package/dist/cjs/{component-2c7ddef7.js → component-24811409.js} +0 -0
- /package/dist/cjs/{f-button-declarations-76b4fb4c.js → f-button-declarations-3fd791a8.js} +0 -0
- /package/dist/esm/{GenericVariables-6dfdd433.js → GenericVariables-d8d0541e.js} +0 -0
- /package/dist/esm/{component-e86c51ea.js → component-cc25b031.js} +0 -0
- /package/dist/esm/{f-button-declarations-fd4965d1.js → f-button-declarations-8a009df1.js} +0 -0
- /package/dist/ketchup/{p-6507e9eb.js → p-124f3f42.js} +0 -0
- /package/dist/ketchup/{p-ad2e21d2.js → p-635bb4b3.js} +0 -0
- /package/dist/ketchup/{p-0fd98ab4.js → p-b00f3575.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import interact from
|
|
2
|
-
import { kupDialogAttribute, kupDialogResizableClass, KupDragEffect, kupDraggableAttr, kupDraggableCellAttr, kupDraggableColumnAttr, kupDraggableRowAttr, kupDragOverAttr, kupDropEvent, } from
|
|
1
|
+
import interact from "interactjs";
|
|
2
|
+
import { kupDialogAttribute, kupDialogResizableClass, KupDragEffect, kupDraggableAttr, kupDraggableCellAttr, kupDraggableColumnAttr, kupDraggableRowAttr, kupDragOverAttr, kupDropEvent, } from "./kup-interact-declarations";
|
|
3
3
|
const dom = document.documentElement;
|
|
4
4
|
/**
|
|
5
5
|
* This class handles elements as dialogs, making them resizable and movable.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as languagesJson from
|
|
2
|
-
import { KupDebugCategory } from
|
|
3
|
-
import { KupLanguageDefaults, } from
|
|
1
|
+
import * as languagesJson from "./languages.json";
|
|
2
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
3
|
+
import { KupLanguageDefaults, } from "./kup-language-declarations";
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/**
|
|
6
6
|
* Handles the translation to different languages.
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { KupDebug } from
|
|
2
|
-
import { KupDynamicPosition } from
|
|
3
|
-
import { KupInteract } from
|
|
4
|
-
import { KupLanguage } from
|
|
5
|
-
import { KupObjects } from
|
|
6
|
-
import { KupScrollOnHover } from
|
|
7
|
-
import { KupTheme } from
|
|
8
|
-
import { KupToolbar } from
|
|
9
|
-
import { ResizeObserver } from
|
|
10
|
-
import { KupLanguageDefaults, } from
|
|
11
|
-
import { KupData } from
|
|
12
|
-
import { KupDates } from
|
|
13
|
-
import { KupDatesLocales } from
|
|
14
|
-
import { KupDebugCategory } from
|
|
15
|
-
import { KupSearch } from
|
|
16
|
-
import { KupMathLocales } from
|
|
17
|
-
import { KupMath } from
|
|
18
|
-
import { KupTooltip } from
|
|
19
|
-
import { setAssetPath } from
|
|
20
|
-
import html2canvas from
|
|
1
|
+
import { KupDebug } from "../kup-debug/kup-debug";
|
|
2
|
+
import { KupDynamicPosition } from "../kup-dynamic-position/kup-dynamic-position";
|
|
3
|
+
import { KupInteract } from "../kup-interact/kup-interact";
|
|
4
|
+
import { KupLanguage } from "../kup-language/kup-language";
|
|
5
|
+
import { KupObjects } from "../kup-objects/kup-objects";
|
|
6
|
+
import { KupScrollOnHover } from "../kup-scroll-on-hover/kup-scroll-on-hover";
|
|
7
|
+
import { KupTheme } from "../kup-theme/kup-theme";
|
|
8
|
+
import { KupToolbar } from "../kup-toolbar/kup-toolbar";
|
|
9
|
+
import { ResizeObserver } from "resize-observer";
|
|
10
|
+
import { KupLanguageDefaults, } from "../kup-language/kup-language-declarations";
|
|
11
|
+
import { KupData } from "../kup-data/kup-data";
|
|
12
|
+
import { KupDates } from "../kup-dates/kup-dates";
|
|
13
|
+
import { KupDatesLocales } from "../kup-dates/kup-dates-declarations";
|
|
14
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
15
|
+
import { KupSearch } from "../kup-search/kup-search";
|
|
16
|
+
import { KupMathLocales } from "../kup-math/kup-math-declarations";
|
|
17
|
+
import { KupMath } from "../kup-math/kup-math";
|
|
18
|
+
import { KupTooltip } from "../kup-tooltip/kup-tooltip";
|
|
19
|
+
import { setAssetPath } from "@stencil/core";
|
|
20
|
+
import html2canvas from "html2canvas";
|
|
21
21
|
const dom = document.documentElement;
|
|
22
22
|
/**
|
|
23
23
|
* This class controls every other Ketchup utility suite.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KupDebugCategory } from
|
|
1
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
2
2
|
const dom = document.documentElement;
|
|
3
3
|
/**
|
|
4
4
|
* Takes a mathematical formula as string in input, with column names between brackets, and returns the result as a number.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import numeral from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { KupDebugCategory } from
|
|
9
|
-
import { KupMathLocales, } from
|
|
10
|
-
import { customFormula, normalDistributionFormula } from
|
|
11
|
-
import { getRegExpFromString } from
|
|
1
|
+
import numeral from "numeral";
|
|
2
|
+
import "numeral/locales/chs";
|
|
3
|
+
import "numeral/locales/es";
|
|
4
|
+
import "numeral/locales/fr";
|
|
5
|
+
import "numeral/locales/it";
|
|
6
|
+
import "numeral/locales/pl";
|
|
7
|
+
import "numeral/locales/ru";
|
|
8
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
9
|
+
import { KupMathLocales, } from "./kup-math-declarations";
|
|
10
|
+
import { customFormula, normalDistributionFormula } from "./kup-math-helper";
|
|
11
|
+
import { getRegExpFromString } from "../../utils/utils";
|
|
12
12
|
const dom = document.documentElement;
|
|
13
13
|
/**
|
|
14
14
|
* Handles mathematical operations and number formatting/conversion.
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
16
16
|
};
|
|
17
17
|
var _KupScrollOnHover_instances, _KupScrollOnHover_arrowsContainer, _KupScrollOnHover_leftArrows, _KupScrollOnHover_rightArrows, _KupScrollOnHover_scrollEvent, _KupScrollOnHover_mousemoveEvent, _KupScrollOnHover_mouseleaveEvent, _KupScrollOnHover_rAF, _KupScrollOnHover_timeout, _KupScrollOnHover_initArrows;
|
|
18
|
-
import { ScrollOnHoverDirection, } from
|
|
18
|
+
import { ScrollOnHoverDirection, } from "./kup-scroll-on-hover-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Lets the user scroll an element's overflow by hovering with the mouse on its left/right edge.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KupCardFamily, } from
|
|
2
|
-
import { searchStartEvent, } from
|
|
1
|
+
import { KupCardFamily, } from "../../components/kup-card/kup-card-declarations";
|
|
2
|
+
import { searchStartEvent, } from "./kup-search-declarations";
|
|
3
3
|
/**
|
|
4
4
|
* Handles operations and formatting of dates.
|
|
5
5
|
* @module KupSearch
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { getAssetPath } from
|
|
2
|
-
import * as themesJson from
|
|
3
|
-
import * as applicationCSS from
|
|
4
|
-
import * as componentCSS from
|
|
5
|
-
import * as fButtonCSS from
|
|
6
|
-
import * as fCellCSS from
|
|
7
|
-
import * as fCheckboxCSS from
|
|
8
|
-
import * as fChipCSS from
|
|
9
|
-
import * as fImageCSS from
|
|
10
|
-
import * as fPaginatorCSS from
|
|
11
|
-
import * as fSwitchCSS from
|
|
12
|
-
import * as fTextFieldCSS from
|
|
13
|
-
import * as rippleCSS from
|
|
14
|
-
import { fButtonUsers, fCellUsers, fCheckboxUsers, fChipUsers, fImageUsers, fPaginatorUsers, fSwitchUsers, fTextFieldUsers, masterCustomStyle, rippleUsers, } from
|
|
15
|
-
import { KupDebugCategory } from
|
|
1
|
+
import { getAssetPath } from "@stencil/core";
|
|
2
|
+
import * as themesJson from "./themes.json";
|
|
3
|
+
import * as applicationCSS from "./kup-theme-application.css";
|
|
4
|
+
import * as componentCSS from "./kup-theme-component.css";
|
|
5
|
+
import * as fButtonCSS from "../../f-components/f-button/f-button.css";
|
|
6
|
+
import * as fCellCSS from "../../f-components/f-cell/f-cell.css";
|
|
7
|
+
import * as fCheckboxCSS from "../../f-components/f-checkbox/f-checkbox.css";
|
|
8
|
+
import * as fChipCSS from "../../f-components/f-chip/f-chip.css";
|
|
9
|
+
import * as fImageCSS from "../../f-components/f-image/f-image.css";
|
|
10
|
+
import * as fPaginatorCSS from "../../f-components/f-paginator/f-paginator.css";
|
|
11
|
+
import * as fSwitchCSS from "../../f-components/f-switch/f-switch.css";
|
|
12
|
+
import * as fTextFieldCSS from "../../f-components/f-text-field/f-text-field.css";
|
|
13
|
+
import * as rippleCSS from "./mdc-ripple.css";
|
|
14
|
+
import { fButtonUsers, fCellUsers, fCheckboxUsers, fChipUsers, fImageUsers, fPaginatorUsers, fSwitchUsers, fTextFieldUsers, masterCustomStyle, rippleUsers, } from "./kup-theme-declarations";
|
|
15
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
16
16
|
const dom = document.documentElement;
|
|
17
17
|
/**
|
|
18
18
|
* Theme manager, handles everything about theming, customStyles and color utilities.
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
15
15
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
16
16
|
};
|
|
17
17
|
var _KupToolbar_keyEvent;
|
|
18
|
-
import { KupToolbarModifierKeys } from
|
|
18
|
+
import { KupToolbarModifierKeys } from "./kup-toolbar-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Handles component's toolbar.
|
|
@@ -15,7 +15,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
15
15
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
16
|
};
|
|
17
17
|
var _KupTooltip_instances, _KupTooltip_clickCb, _KupTooltip_dynPos, _KupTooltip_create, _KupTooltip_setOptions;
|
|
18
|
-
import { KupDebugCategory } from
|
|
18
|
+
import { KupDebugCategory } from "../kup-debug/kup-debug-declarations";
|
|
19
19
|
const dom = document.documentElement;
|
|
20
20
|
/**
|
|
21
21
|
* Handles application-wide tooltip using card component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getValueForDisplay, getValueForDisplay2 } from
|
|
2
|
-
import { Filters } from
|
|
3
|
-
import { FilterInterval, } from
|
|
1
|
+
import { getValueForDisplay, getValueForDisplay2 } from "../cell-utils";
|
|
2
|
+
import { Filters } from "./filters";
|
|
3
|
+
import { FilterInterval, } from "./filters-declarations";
|
|
4
4
|
/**
|
|
5
5
|
* Filtering algorithms related to column menus.
|
|
6
6
|
* @module FiltersColumnMenu
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { getCellValueForDisplay, getColumnByName, getValueForDisplay, } from
|
|
2
|
-
import { Filters } from
|
|
3
|
-
import { FiltersColumnMenu } from
|
|
4
|
-
import { treeMainColumnName } from
|
|
5
|
-
import { KupObjects } from
|
|
6
|
-
import { KupData } from
|
|
1
|
+
import { getCellValueForDisplay, getColumnByName, getValueForDisplay, } from "../cell-utils";
|
|
2
|
+
import { Filters } from "./filters";
|
|
3
|
+
import { FiltersColumnMenu } from "./filters-column-menu";
|
|
4
|
+
import { treeMainColumnName } from "../../components/kup-tree/kup-tree-declarations";
|
|
5
|
+
import { KupObjects } from "../../managers/kup-objects/kup-objects";
|
|
6
|
+
import { KupData } from "../../managers/kup-data/kup-data";
|
|
7
7
|
const dom = document.documentElement;
|
|
8
8
|
const kupObjects = dom.ketchup
|
|
9
9
|
? dom.ketchup.objects
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { treeMainColumnName, } from
|
|
2
|
-
import { FiltersColumnMenu } from
|
|
3
|
-
import { FiltersRows } from
|
|
4
|
-
import { addColumnValueFromRow } from
|
|
1
|
+
import { treeMainColumnName, } from "../../components/kup-tree/kup-tree-declarations";
|
|
2
|
+
import { FiltersColumnMenu } from "./filters-column-menu";
|
|
3
|
+
import { FiltersRows } from "./filters-rows";
|
|
4
|
+
import { addColumnValueFromRow } from "../../managers/kup-data/kup-data-cell-helper";
|
|
5
5
|
/**
|
|
6
6
|
* Filtering algorithms related to tree items rows.
|
|
7
7
|
* @module FiltersTreeItems
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { KupTagNames } from
|
|
2
|
-
import { KupDatesFormats, KupDatesNormalize, } from
|
|
3
|
-
import { FilterInterval, FILTER_ANALIZER, } from
|
|
1
|
+
import { KupTagNames } from "../../types/GenericTypes";
|
|
2
|
+
import { KupDatesFormats, KupDatesNormalize, } from "../../managers/kup-dates/kup-dates-declarations";
|
|
3
|
+
import { FilterInterval, FILTER_ANALIZER, } from "./filters-declarations";
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/**
|
|
6
6
|
* Filtering algorithms.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { KupDynamicPositionPlacement, } from
|
|
2
|
-
import { FiltersColumnMenu } from
|
|
3
|
-
import { FilterInterval, } from
|
|
4
|
-
import { getValueForDisplay, getValueForDisplay2 } from
|
|
5
|
-
import { FiltersRows } from
|
|
6
|
-
import { Filters } from
|
|
7
|
-
import { KupLanguageColumn, KupLanguageSearch, KupLanguageGrouping, KupLanguageCheckbox, KupLanguageGeneric, KupLanguageRow, KupLanguageTotals, } from
|
|
8
|
-
import { FButtonStyling } from
|
|
9
|
-
import { KupColumnMenuIds } from
|
|
10
|
-
import { KupDebugCategory } from
|
|
11
|
-
import { FChipType, } from
|
|
12
|
-
import { KupDataNewColumnTypes, } from
|
|
1
|
+
import { KupDynamicPositionPlacement, } from "../../managers/kup-dynamic-position/kup-dynamic-position-declarations";
|
|
2
|
+
import { FiltersColumnMenu } from "../filters/filters-column-menu";
|
|
3
|
+
import { FilterInterval, } from "../filters/filters-declarations";
|
|
4
|
+
import { getValueForDisplay, getValueForDisplay2 } from "../cell-utils";
|
|
5
|
+
import { FiltersRows } from "../filters/filters-rows";
|
|
6
|
+
import { Filters } from "../filters/filters";
|
|
7
|
+
import { KupLanguageColumn, KupLanguageSearch, KupLanguageGrouping, KupLanguageCheckbox, KupLanguageGeneric, KupLanguageRow, KupLanguageTotals, } from "../../managers/kup-language/kup-language-declarations";
|
|
8
|
+
import { FButtonStyling } from "../../f-components/f-button/f-button-declarations";
|
|
9
|
+
import { KupColumnMenuIds } from "./kup-column-menu-declarations";
|
|
10
|
+
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
11
|
+
import { FChipType, } from "../../f-components/f-chip/f-chip-declarations";
|
|
12
|
+
import { KupDataNewColumnTypes, } from "../../managers/kup-data/kup-data-declarations";
|
|
13
13
|
const dom = document.documentElement;
|
|
14
14
|
/**
|
|
15
15
|
* Definition and events of the column menu card.
|
|
@@ -29180,8 +29180,8 @@ class KupDataTableState {
|
|
|
29180
29180
|
this.expandGroups = false;
|
|
29181
29181
|
this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
|
|
29182
29182
|
this.density = 'small';
|
|
29183
|
-
this.enableExtraColumns = true;
|
|
29184
29183
|
this.enableSortableColumns = false;
|
|
29184
|
+
this.enableExtraColumns = true;
|
|
29185
29185
|
this.forceOneLine = false;
|
|
29186
29186
|
this.globalFilter = false;
|
|
29187
29187
|
this.globalFilterValue = '';
|
|
@@ -40146,8 +40146,8 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
40146
40146
|
for (let index = 0; index < this.data.columns.length; index++) {
|
|
40147
40147
|
const column = this.data.columns[index];
|
|
40148
40148
|
cells[column.name] = {
|
|
40149
|
-
data: column.cellData,
|
|
40150
|
-
slotData: column.cellSlotData,
|
|
40149
|
+
data: column.cellData ? JSON.parse(JSON.stringify(column.cellData)) : undefined,
|
|
40150
|
+
slotData: column.cellSlotData ? JSON.parse(JSON.stringify(column.cellSlotData)) : undefined,
|
|
40151
40151
|
isEditable: column.isKey ||
|
|
40152
40152
|
column.isEditable,
|
|
40153
40153
|
obj: Object.assign({}, column.obj),
|
|
@@ -13778,7 +13778,8 @@ var KupCalendarProps;
|
|
|
13778
13778
|
(function (KupCalendarProps) {
|
|
13779
13779
|
KupCalendarProps["currentDate"] = "Sets the date of the calendar. Must be in ISO format (YYYY-MM-DD).";
|
|
13780
13780
|
KupCalendarProps["customStyle"] = "Custom style of the component.";
|
|
13781
|
-
KupCalendarProps["data"] = "
|
|
13781
|
+
KupCalendarProps["data"] = "Actual data of the calendar.";
|
|
13782
|
+
KupCalendarProps["editableEvents"] = "When true, events are editable.";
|
|
13782
13783
|
KupCalendarProps["hideNavigation"] = "When disabled, the navigation toolbar won't be displayed.";
|
|
13783
13784
|
KupCalendarProps["viewType"] = "Type of the view.";
|
|
13784
13785
|
})(KupCalendarProps || (KupCalendarProps = {}));
|
|
@@ -13806,7 +13807,7 @@ var KupCalendarOptions;
|
|
|
13806
13807
|
KupCalendarOptions["STYLE"] = "style";
|
|
13807
13808
|
})(KupCalendarOptions || (KupCalendarOptions = {}));
|
|
13808
13809
|
|
|
13809
|
-
const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-on-primary-color)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color)}@media (max-width: 599px){.navigation{flex-direction:column}}";
|
|
13810
|
+
const kupCalendarCss = ":host{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-background-color)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-color)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-primary-color)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-on-primary-color)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-title-background-color)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-title-color)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 2px solid var(--kup-border-color)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n rgba(var(--kup-disabled-background-color-rgb), 0.5)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-disabled-color)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n rgba(var(--kup-primary-color-rgb), 0.125)\n );background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;border-left:var(--kup_calendar_navigator_border);border-right:var(--kup_calendar_navigator_border);border-top:var(--kup_calendar_navigator_border);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;justify-content:space-between}.navigation__left{--kup-font-size:0.875em;display:flex}.navigation__right{display:flex}.navigation__title{font-size:1.25em;font-weight:400;letter-spacing:0.1892857em;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border-radius:var(--kup_calendar_event_border_radius);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color)}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}";
|
|
13810
13811
|
|
|
13811
13812
|
const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends HTMLElement$1 {
|
|
13812
13813
|
constructor() {
|
|
@@ -13832,12 +13833,16 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
13832
13833
|
this.customStyle = '';
|
|
13833
13834
|
this.data = null;
|
|
13834
13835
|
this.hideNavigation = false;
|
|
13836
|
+
this.editableEvents = true;
|
|
13835
13837
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
13836
13838
|
}
|
|
13837
13839
|
/*-------------------------------------------------*/
|
|
13838
13840
|
/* W a t c h e r s */
|
|
13839
13841
|
/*-------------------------------------------------*/
|
|
13840
13842
|
setCalendarData() {
|
|
13843
|
+
if (!this.calendarContainer) {
|
|
13844
|
+
return;
|
|
13845
|
+
}
|
|
13841
13846
|
if (this.calendar) {
|
|
13842
13847
|
this.calendar.destroy();
|
|
13843
13848
|
}
|
|
@@ -14078,6 +14083,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14078
14083
|
}
|
|
14079
14084
|
const el = {
|
|
14080
14085
|
allDay: isHourRange ? false : true,
|
|
14086
|
+
editable: this.editableEvents,
|
|
14081
14087
|
end: endDate.toISOString(),
|
|
14082
14088
|
extendedProps: {
|
|
14083
14089
|
row,
|
|
@@ -14170,6 +14176,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14170
14176
|
"customStyle": [1, "custom-style"],
|
|
14171
14177
|
"data": [16],
|
|
14172
14178
|
"hideNavigation": [4, "hide-navigation"],
|
|
14179
|
+
"editableEvents": [4, "editable-events"],
|
|
14173
14180
|
"viewType": [1025, "view-type"],
|
|
14174
14181
|
"getProps": [64],
|
|
14175
14182
|
"refresh": [64],
|
|
@@ -94184,28 +94184,40 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94184
94184
|
}, _KupEchart_radarChart = function _KupEchart_radarChart() {
|
|
94185
94185
|
const x = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createX).call(this);
|
|
94186
94186
|
const y = __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_createY).call(this);
|
|
94187
|
-
|
|
94188
|
-
const
|
|
94189
|
-
for (const [index, values] of x.entries()) {
|
|
94187
|
+
const data = [], transposedData = [], transposedIndicator = [];
|
|
94188
|
+
for (const [_index, values] of x.entries()) {
|
|
94190
94189
|
data.push({ name: values, value: [] });
|
|
94191
|
-
legend[values] = index;
|
|
94192
94190
|
}
|
|
94193
94191
|
for (const key in y) {
|
|
94194
|
-
|
|
94192
|
+
transposedData.push({
|
|
94195
94193
|
name: key,
|
|
94196
|
-
|
|
94197
|
-
};
|
|
94198
|
-
indicatorData.push(indicator);
|
|
94194
|
+
value: y[key],
|
|
94195
|
+
});
|
|
94199
94196
|
for (const values in y[key]) {
|
|
94200
94197
|
data[values].value.push(y[key][values]);
|
|
94201
94198
|
}
|
|
94202
94199
|
}
|
|
94200
|
+
for (let index = 0; index < data.length; index++) {
|
|
94201
|
+
const dataEl = data[index];
|
|
94202
|
+
const key = dataEl.name;
|
|
94203
|
+
const foundEl = transposedIndicator.find((d) => d.name === key);
|
|
94204
|
+
const max = Math.floor(Math.max(...dataEl.value) * 1.05);
|
|
94205
|
+
if (!foundEl) {
|
|
94206
|
+
transposedIndicator.push({
|
|
94207
|
+
name: key,
|
|
94208
|
+
max,
|
|
94209
|
+
});
|
|
94210
|
+
}
|
|
94211
|
+
else {
|
|
94212
|
+
foundEl.max = foundEl.max > max ? foundEl.max : max;
|
|
94213
|
+
}
|
|
94214
|
+
}
|
|
94203
94215
|
return {
|
|
94204
|
-
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this,
|
|
94216
|
+
color: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setColors).call(this, Object.keys(y).length),
|
|
94205
94217
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
94206
|
-
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this,
|
|
94218
|
+
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, y),
|
|
94207
94219
|
radar: {
|
|
94208
|
-
indicator:
|
|
94220
|
+
indicator: transposedIndicator,
|
|
94209
94221
|
},
|
|
94210
94222
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item' }),
|
|
94211
94223
|
series: [
|
|
@@ -94214,7 +94226,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
94214
94226
|
name: this.axis,
|
|
94215
94227
|
})[0].title,
|
|
94216
94228
|
type: 'radar',
|
|
94217
|
-
data:
|
|
94229
|
+
data: transposedData,
|
|
94218
94230
|
},
|
|
94219
94231
|
],
|
|
94220
94232
|
};
|
|
@@ -9452,21 +9452,20 @@ var VerticalScroll = function VerticalScroll(_ref) {
|
|
|
9452
9452
|
headerHeight = _ref.headerHeight,
|
|
9453
9453
|
rtl = _ref.rtl,
|
|
9454
9454
|
onScroll = _ref.onScroll;
|
|
9455
|
-
var scrollRef = react.
|
|
9455
|
+
var scrollRef = react.createRef();
|
|
9456
9456
|
react.useEffect(function () {
|
|
9457
|
+
var id;
|
|
9457
9458
|
if (scrollRef.current) {
|
|
9458
9459
|
var wrap = scrollRef.current;
|
|
9459
9460
|
var setScrollTop = function setScrollTop() {
|
|
9460
9461
|
wrap.scrollTop = scroll;
|
|
9461
9462
|
};
|
|
9462
|
-
setTimeout(setScrollTop,
|
|
9463
|
-
}
|
|
9464
|
-
}, []);
|
|
9465
|
-
react.useEffect(function () {
|
|
9466
|
-
if (scrollRef.current) {
|
|
9467
|
-
scrollRef.current.scrollTop = scroll;
|
|
9463
|
+
id = setTimeout(setScrollTop, 50);
|
|
9468
9464
|
}
|
|
9469
|
-
|
|
9465
|
+
return function () {
|
|
9466
|
+
clearTimeout(id);
|
|
9467
|
+
};
|
|
9468
|
+
}, [scroll, scrollRef]);
|
|
9470
9469
|
return react.createElement("div", {
|
|
9471
9470
|
style: {
|
|
9472
9471
|
height: ganttHeight,
|
|
@@ -11207,6 +11206,12 @@ var Gantt = function Gantt(_ref) {
|
|
|
11207
11206
|
var _useState9 = react.useState(),
|
|
11208
11207
|
projectionContent = _useState9[0],
|
|
11209
11208
|
setProjectionContent = _useState9[1];
|
|
11209
|
+
react.useEffect(function () {
|
|
11210
|
+
if (onScrollY) {
|
|
11211
|
+
onScrollY(initialScrollY);
|
|
11212
|
+
}
|
|
11213
|
+
setScrollY(initialScrollY);
|
|
11214
|
+
}, [initialScrollY, onScrollY]);
|
|
11210
11215
|
react.useEffect(function () {
|
|
11211
11216
|
window.addEventListener("gantt-sync-scroll-event", function (e) {
|
|
11212
11217
|
if (e.detail.id !== id) {
|
|
@@ -11367,6 +11372,9 @@ var Gantt = function Gantt(_ref) {
|
|
|
11367
11372
|
newScrollY = ganttFullHeight - ganttHeight;
|
|
11368
11373
|
}
|
|
11369
11374
|
if (newScrollY !== scrollY) {
|
|
11375
|
+
if (onScrollY) {
|
|
11376
|
+
onScrollY(newScrollY);
|
|
11377
|
+
}
|
|
11370
11378
|
setScrollY(newScrollY);
|
|
11371
11379
|
event.preventDefault();
|
|
11372
11380
|
}
|
|
@@ -11382,10 +11390,10 @@ var Gantt = function Gantt(_ref) {
|
|
|
11382
11390
|
}, [wrapperRef, scrollY, scrollX, ganttHeight, svgWidth, rtl, ganttFullHeight]);
|
|
11383
11391
|
var handleScrollY = function handleScrollY(event) {
|
|
11384
11392
|
if (scrollY !== event.currentTarget.scrollTop) {
|
|
11385
|
-
if (onScrollY) {
|
|
11386
|
-
onScrollY(event.currentTarget.scrollTop);
|
|
11387
|
-
}
|
|
11388
11393
|
if (!ignoreScrollEvent.current) {
|
|
11394
|
+
if (onScrollY) {
|
|
11395
|
+
onScrollY(event.currentTarget.scrollTop);
|
|
11396
|
+
}
|
|
11389
11397
|
setScrollY(event.currentTarget.scrollTop);
|
|
11390
11398
|
setIgnoreScrollEvent(true);
|
|
11391
11399
|
} else {
|
|
@@ -11457,7 +11465,7 @@ var Gantt = function Gantt(_ref) {
|
|
|
11457
11465
|
newScrollY = ganttFullHeight - ganttHeight;
|
|
11458
11466
|
}
|
|
11459
11467
|
if (onScrollY) {
|
|
11460
|
-
onScrollY(
|
|
11468
|
+
onScrollY(newScrollY);
|
|
11461
11469
|
}
|
|
11462
11470
|
setScrollY(newScrollY);
|
|
11463
11471
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FButtonStyling } from './f-button-declarations-
|
|
3
|
-
import { F as FImage } from './f-image-
|
|
1
|
+
import { h } from './index-d413187a.js';
|
|
2
|
+
import { F as FButtonStyling } from './f-button-declarations-8a009df1.js';
|
|
3
|
+
import { F as FImage } from './f-image-adceee49.js';
|
|
4
4
|
|
|
5
5
|
/*-------------------------------------------------*/
|
|
6
6
|
/* C o m p o n e n t */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-
|
|
2
|
-
import { h } from './index-
|
|
3
|
-
import { F as FCheckbox } from './f-checkbox-
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
-
import { F as FImage } from './f-image-
|
|
6
|
-
import { F as FChipType, a as FChip } from './f-chip-
|
|
1
|
+
import { a9 as editableTypes, aa as kupTypes, b as KupThemeColorValues, a6 as FCellTypes, ab as KupTagNames, ac as fullWidthFieldsComps, ad as FCellClasses, ae as autoCenterComps, af as getCellValueForDisplay, ag as FCellEvents } from './kup-manager-a4153fb2.js';
|
|
2
|
+
import { h } from './index-d413187a.js';
|
|
3
|
+
import { F as FCheckbox } from './f-checkbox-7b113dd8.js';
|
|
4
|
+
import { F as FTextField } from './f-text-field-aa4497a8.js';
|
|
5
|
+
import { F as FImage } from './f-image-adceee49.js';
|
|
6
|
+
import { F as FChipType, a as FChip } from './f-chip-c3c86f7b.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-list component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FImage } from './f-image-
|
|
3
|
-
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h } from './index-d413187a.js';
|
|
2
|
+
import { F as FImage } from './f-image-adceee49.js';
|
|
3
|
+
import { K as KupThemeIconValues, m as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-a4153fb2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Types of the f-chip component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, a as getAssetPath } from './index-
|
|
2
|
-
import { b as KupThemeColorValues } from './kup-manager-
|
|
1
|
+
import { h, a as getAssetPath } from './index-d413187a.js';
|
|
2
|
+
import { b as KupThemeColorValues } from './kup-manager-a4153fb2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The type of a CSS step in CSS-drawing mode.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as Filters, J as FilterInterval, H as getValueForDisplay, D as getValueForDisplay2, af as getCellValueForDisplay, v as getColumnByName, z as KupObjects, ah as KupData, ai as compareCell, N as TotalMode, h as KupDatesFormats, a2 as SortMode, aj as KupLanguagePage, r as KupLanguageRow, m as KupLanguageGeneric } from './kup-manager-
|
|
2
|
-
import { h } from './index-
|
|
3
|
-
import { F as FButton } from './f-button-
|
|
4
|
-
import { F as FButtonStyling } from './f-button-declarations-
|
|
1
|
+
import { E as Filters, J as FilterInterval, H as getValueForDisplay, D as getValueForDisplay2, af as getCellValueForDisplay, v as getColumnByName, z as KupObjects, ah as KupData, ai as compareCell, N as TotalMode, h as KupDatesFormats, a2 as SortMode, aj as KupLanguagePage, r as KupLanguageRow, m as KupLanguageGeneric } from './kup-manager-a4153fb2.js';
|
|
2
|
+
import { h } from './index-d413187a.js';
|
|
3
|
+
import { F as FButton } from './f-button-e54ce8d5.js';
|
|
4
|
+
import { F as FButtonStyling } from './f-button-declarations-8a009df1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Filtering algorithms related to column menus.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, a as getAssetPath } from './index-
|
|
2
|
-
import { K as KupThemeIconValues } from './kup-manager-
|
|
1
|
+
import { h, a as getAssetPath } from './index-d413187a.js';
|
|
2
|
+
import { K as KupThemeIconValues } from './kup-manager-a4153fb2.js';
|
|
3
3
|
|
|
4
4
|
const dom = document.documentElement;
|
|
5
5
|
/*-------------------------------------------------*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __extends, a as __assign, b as MDCFoundation, c as MDCComponent, e as estimateScrollWidth, d as __values, f as applyPassive, M as MDCRipple, m as matches, g as MDCRippleFoundation } from './component-
|
|
1
|
+
import { _ as __extends, a as __assign, b as MDCFoundation, c as MDCComponent, e as estimateScrollWidth, d as __values, f as applyPassive, M as MDCRipple, m as matches, g as MDCRippleFoundation } from './component-cc25b031.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @license
|