@sme.up/ketchup 5.2.1-SNAPSHOT → 6.2.0-SNAPSHOT
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/CHANGELOG.md +5 -0
- package/dist/cjs/{cell-utils-d96b2993.js → cell-utils-d894e802.js} +2 -2
- package/dist/cjs/{component-d1496215.js → component-72a5b626.js} +30 -0
- package/dist/cjs/{f-button-2b9b99b1.js → f-button-414b3bc3.js} +4 -4
- package/dist/cjs/f-cell-c8983ec7.js +418 -0
- package/dist/cjs/f-checkbox-57443ca3.js +29 -0
- package/dist/cjs/{f-chip-df59e1b0.js → f-chip-ef81bf51.js} +5 -4
- package/dist/cjs/{f-image-12bab3b5.js → f-image-0618c795.js} +2 -2
- package/dist/cjs/f-paginator-utils-c9dd5173.js +1898 -0
- package/dist/cjs/{f-text-field-e7c35b5b.js → f-text-field-7d31190f.js} +3 -3
- package/dist/cjs/{f-text-field-mdc-a67f5dfe.js → f-text-field-mdc-85997738.js} +23 -305
- package/dist/cjs/{index-eb556444.js → index-06b131ea.js} +6 -4
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/{kup-autocomplete_27.cjs.entry.js → kup-autocomplete_25.cjs.entry.js} +1833 -5745
- package/dist/cjs/{kup-echart.cjs.entry.js → kup-box_2.cjs.entry.js} +17113 -14788
- package/dist/cjs/kup-calendar.cjs.entry.js +42 -34
- package/dist/cjs/kup-cell.cjs.entry.js +10 -9
- package/dist/cjs/kup-dash-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-dash_2.cjs.entry.js +4 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +379 -0
- package/dist/cjs/kup-drawer.cjs.entry.js +12 -5
- package/dist/cjs/kup-field.cjs.entry.js +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +469 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +229 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +3 -3
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/kup-manager-2fee8cf3.js +17021 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +7 -9
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- 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 -3
- package/dist/cjs/{utils-e99921c1.js → utils-8470184d.js} +1 -1
- package/dist/collection/assets/card.js +4 -5
- package/dist/collection/assets/dashboard.js +113 -0
- package/dist/collection/assets/data-table.js +15 -79
- package/dist/collection/assets/form.js +179 -0
- package/dist/collection/assets/grid.js +17 -0
- package/dist/collection/assets/image-list.js +624 -0
- package/dist/collection/assets/index.js +16 -4
- package/dist/collection/assets/kupdata.js +0 -3
- package/dist/collection/assets/kuptooltip.js +53 -7
- package/dist/collection/assets/tree.js +0 -128
- package/dist/collection/collection-manifest.json +8 -6
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +136 -130
- package/dist/collection/components/kup-box/kup-box-declarations.js +0 -4
- package/dist/collection/components/kup-box/kup-box.js +20 -137
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +1 -1
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +1 -2
- package/dist/collection/components/kup-card/kup-card.css +26 -8
- package/dist/collection/components/kup-card/kup-card.js +1 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +14 -6
- package/dist/collection/components/kup-combobox/kup-combobox.js +17 -14
- package/dist/collection/components/kup-dashboard/kup-dashboard-declarations.js +10 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +81 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +560 -0
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table.js +19 -136
- package/dist/collection/components/kup-drawer/kup-drawer.css +6 -8
- package/dist/collection/components/kup-drawer/kup-drawer.js +8 -1
- package/dist/collection/components/kup-form/kup-form-declarations.js +19 -0
- package/dist/collection/components/kup-form/kup-form.css +86 -0
- package/dist/collection/components/kup-form/kup-form.js +668 -0
- package/dist/collection/components/kup-grid/kup-grid.js +1 -4
- package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +10 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +166 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +432 -0
- package/dist/collection/components/kup-list/kup-list-helper.js +9 -3
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +2 -9
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +3 -5
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +18 -19
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +2 -8
- package/dist/collection/components/kup-tree/kup-tree-declarations.js +0 -4
- package/dist/collection/components/kup-tree/kup-tree.css +10 -3
- package/dist/collection/components/kup-tree/kup-tree.js +73 -142
- package/dist/collection/f-components/f-button/f-button.js +2 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +5 -1
- package/dist/collection/f-components/f-cell/f-cell.js +41 -121
- package/dist/collection/f-components/f-chip/f-chip.js +2 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-node-helper.js +24 -0
- package/dist/collection/managers/kup-data/kup-data.js +98 -1
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +4 -2
- package/dist/collection/managers/kup-interact/kup-interact.js +1 -22
- package/dist/collection/managers/kup-language/kup-language-declarations.js +13 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +21 -2
- package/dist/collection/managers/kup-objects/kup-objects.js +10 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +21 -1
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +53 -20
- package/dist/collection/types/GenericTypes.js +3 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +7 -11
- package/dist/esm/{cell-utils-f4bdbbc8.js → cell-utils-7fc84d4e.js} +3 -3
- package/dist/esm/{component-c4eb6153.js → component-b1bedf1d.js} +27 -2
- package/dist/esm/{f-button-54a49fd8.js → f-button-2f6cc296.js} +4 -4
- package/dist/esm/f-cell-4428481c.js +415 -0
- package/dist/esm/f-checkbox-c51c4a75.js +27 -0
- package/dist/esm/{f-chip-a3035b4b.js → f-chip-b39eb49a.js} +6 -5
- package/dist/esm/{f-image-d32465e3.js → f-image-b08ebeb2.js} +2 -2
- package/dist/esm/f-paginator-utils-4fda6086.js +1884 -0
- package/dist/esm/{f-text-field-c25cc63f.js → f-text-field-184a5fb3.js} +3 -3
- package/dist/esm/{f-text-field-mdc-9fbbefc3.js → f-text-field-mdc-d42d3f9e.js} +2 -284
- package/dist/esm/{index-baeab1ac.js → index-ad6ab214.js} +6 -4
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -6
- package/dist/esm/{kup-autocomplete_27.entry.js → kup-autocomplete_25.entry.js} +1775 -5685
- package/dist/esm/{kup-echart.entry.js → kup-box_2.entry.js} +17113 -14789
- package/dist/esm/kup-calendar.entry.js +43 -35
- package/dist/esm/kup-cell.entry.js +9 -8
- package/dist/esm/kup-dash-list.entry.js +4 -4
- package/dist/esm/kup-dash_2.entry.js +4 -7
- package/dist/esm/kup-dashboard.entry.js +375 -0
- package/dist/esm/kup-drawer.entry.js +12 -5
- package/dist/esm/kup-field.entry.js +2 -2
- package/dist/esm/kup-form.entry.js +465 -0
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +225 -0
- package/dist/esm/kup-lazy.entry.js +3 -3
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/kup-manager-3325b2d8.js +17000 -0
- 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 +7 -9
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{tslib.es6-8f2d44b6.js → tslib.es6-3eea2234.js} +1 -1
- package/dist/esm/{utils-f24319a0.js → utils-6373a07e.js} +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-006bc4d0.entry.js +1 -0
- package/dist/ketchup/p-0741da57.js +1 -0
- package/dist/ketchup/{p-669bde31.js → p-13e08580.js} +1 -1
- package/dist/ketchup/p-153697fb.entry.js +1 -0
- package/dist/ketchup/{p-9a61d8dc.entry.js → p-175edb62.entry.js} +1 -1
- package/dist/ketchup/{p-11e72a8c.entry.js → p-1db1d42b.entry.js} +1 -1
- package/dist/ketchup/{p-67842f1e.entry.js → p-30820f8f.entry.js} +1 -1
- package/dist/ketchup/p-35325834.entry.js +9 -0
- package/dist/ketchup/p-359e8bec.entry.js +40 -0
- package/dist/ketchup/{p-09d708c4.entry.js → p-3c7c92c0.entry.js} +1 -1
- package/dist/ketchup/p-41cf8703.entry.js +1 -0
- package/dist/ketchup/{p-e6709c26.entry.js → p-6127fccf.entry.js} +1 -1
- package/dist/ketchup/{p-203d6295.entry.js → p-6b82e4e2.entry.js} +1 -1
- package/dist/ketchup/p-704e60eb.js +30 -0
- package/dist/ketchup/{p-4f56932b.js → p-70660fe2.js} +1 -1
- package/dist/ketchup/{p-44192f30.entry.js → p-762c0382.entry.js} +1 -1
- package/dist/ketchup/{p-c58a2a81.entry.js → p-76947316.entry.js} +1 -1
- package/dist/ketchup/{p-a0b1d769.js → p-79b0730b.js} +1 -1
- package/dist/ketchup/{p-bb8844bf.entry.js → p-8103b80a.entry.js} +1 -1
- package/dist/ketchup/{p-8c44c3b9.js → p-81605f08.js} +4 -5
- package/dist/ketchup/p-9fa457d4.entry.js +1 -0
- package/dist/ketchup/{p-e8e3c9da.entry.js → p-a0ce8075.entry.js} +1 -1
- package/dist/ketchup/p-a203f78b.js +45 -0
- package/dist/ketchup/p-a804fe83.entry.js +27 -0
- package/dist/ketchup/{p-34748c91.js → p-ca9fd099.js} +1 -1
- package/dist/ketchup/p-caabb9ab.entry.js +1 -0
- package/dist/ketchup/p-cc3abf84.entry.js +1 -0
- package/dist/ketchup/p-cd5cfa7c.js +1 -0
- package/dist/ketchup/p-d2e76960.entry.js +1 -0
- package/dist/ketchup/p-d3b542b3.js +2 -0
- package/dist/ketchup/p-d7004ae4.js +1 -0
- package/dist/ketchup/{p-40f97429.js → p-d95c904b.js} +1 -1
- package/dist/ketchup/p-ddce3430.js +1 -0
- package/dist/ketchup/p-ee580b3a.entry.js +1 -0
- package/dist/ketchup/p-f49cb68e.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +1 -16
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +3 -5
- package/dist/types/components/kup-box/kup-box.d.ts +0 -22
- package/dist/types/components/kup-dashboard/kup-dashboard-declarations.d.ts +61 -0
- package/dist/types/components/kup-dashboard/kup-dashboard.d.ts +75 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -4
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -19
- package/dist/types/components/kup-form/kup-form-declarations.d.ts +48 -0
- package/dist/types/components/kup-form/kup-form.d.ts +68 -0
- package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +14 -0
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +56 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +3 -9
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +6 -6
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +0 -6
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +3 -5
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -24
- package/dist/types/components.d.ts +512 -369
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +4 -1
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-node-helper.d.ts +7 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +3 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +13 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +4 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +12 -0
- package/dist/types/managers/kup-objects/kup-objects.d.ts +6 -0
- package/dist/types/managers/kup-tooltip/kup-tooltip-declarations.d.ts +3 -3
- package/dist/types/managers/kup-tooltip/kup-tooltip.d.ts +17 -6
- package/dist/types/types/GenericTypes.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +1 -3
- package/package.json +15 -14
- package/dist/cjs/f-cell-8351cb84.js +0 -653
- package/dist/cjs/kup-manager-5c03da64.js +0 -8795
- package/dist/collection/assets/tooltip.js +0 -73
- package/dist/collection/components/kup-tooltip/kup-tooltip-declarations.js +0 -20
- package/dist/collection/components/kup-tooltip/kup-tooltip.css +0 -149
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +0 -1205
- package/dist/collection/utils/helpers.js +0 -38
- package/dist/esm/f-cell-d5dac50b.js +0 -650
- package/dist/esm/kup-manager-9316a184.js +0 -8778
- package/dist/ketchup/p-12773ca8.js +0 -9
- package/dist/ketchup/p-34b74425.js +0 -1
- package/dist/ketchup/p-4173422f.entry.js +0 -1
- package/dist/ketchup/p-41741c28.entry.js +0 -1
- package/dist/ketchup/p-44f8da2a.js +0 -1
- package/dist/ketchup/p-7a74ad17.js +0 -1
- package/dist/ketchup/p-7ba8fa4a.entry.js +0 -39
- package/dist/ketchup/p-7de0d7e1.js +0 -1
- package/dist/ketchup/p-8418e8fa.entry.js +0 -1
- package/dist/ketchup/p-96bf19aa.entry.js +0 -1
- package/dist/ketchup/p-b0ddcce9.entry.js +0 -9
- package/dist/ketchup/p-b6c21223.entry.js +0 -27
- package/dist/ketchup/p-ca3d585b.entry.js +0 -1
- package/dist/ketchup/p-ecb7069b.js +0 -135
- package/dist/types/components/kup-tooltip/kup-tooltip-declarations.d.ts +0 -93
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +0 -142
- package/dist/types/utils/helpers.d.ts +0 -4
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
import { Y as editableTypes, Z as kupTypes, b as KupThemeColorValues, _ as FCellTypes, W as KupTagNames, $ as fullWidthFieldsComps, a0 as FCellClasses, a1 as autoCenterComps, a2 as FCellEvents } from './kup-manager-3325b2d8.js';
|
|
2
|
+
import { h } from './index-ad6ab214.js';
|
|
3
|
+
import { c as getCellValueForDisplay } from './cell-utils-7fc84d4e.js';
|
|
4
|
+
import { F as FCheckbox } from './f-checkbox-c51c4a75.js';
|
|
5
|
+
import { F as FTextField } from './f-text-field-184a5fb3.js';
|
|
6
|
+
import { h as stringToNumber } from './utils-6373a07e.js';
|
|
7
|
+
import { F as FImage } from './f-image-b08ebeb2.js';
|
|
8
|
+
import { a as FChip } from './f-chip-b39eb49a.js';
|
|
9
|
+
|
|
10
|
+
/*-------------------------------------------------*/
|
|
11
|
+
/* C o m p o n e n t */
|
|
12
|
+
/*-------------------------------------------------*/
|
|
13
|
+
const FSwitch = (props) => {
|
|
14
|
+
return (h("div", Object.assign({ class: `f-switch ${props.danger ? 'kup-danger' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
15
|
+
h("div", { class: `form-field ${props.leadingLabel ? 'form-field--align-end' : ''}` },
|
|
16
|
+
h("div", { class: `switch ${props.checked ? 'switch--checked' : ''} ${props.disabled ? 'switch--disabled' : ''}` },
|
|
17
|
+
h("div", { class: "switch__track" }),
|
|
18
|
+
h("div", { class: "switch__thumb-underlay" },
|
|
19
|
+
h("div", { class: "switch__thumb" },
|
|
20
|
+
h("input", { type: "checkbox", class: "switch__native-control", role: "switch", checked: props.checked, disabled: props.disabled, value: props.checked ? 'on' : 'off', onBlur: props.onBlur, onChange: props.onChange, onFocus: props.onFocus })))),
|
|
21
|
+
h("label", { onClick: props.onChange }, props.label))));
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const dom = document.documentElement;
|
|
25
|
+
/*-------------------------------------------------*/
|
|
26
|
+
/* C o m p o n e n t */
|
|
27
|
+
/*-------------------------------------------------*/
|
|
28
|
+
const FCell = (props, children) => {
|
|
29
|
+
const cell = props.cell;
|
|
30
|
+
const column = props.column;
|
|
31
|
+
const row = props.row;
|
|
32
|
+
const shape = props.shape
|
|
33
|
+
? props.shape
|
|
34
|
+
: cell.shape
|
|
35
|
+
? cell.shape
|
|
36
|
+
: column.shape
|
|
37
|
+
? column.shape
|
|
38
|
+
: null;
|
|
39
|
+
const hasObj = !dom.ketchup.objects.isEmptyKupObj(cell.obj);
|
|
40
|
+
const isEditable = cell.isEditable && props.editable ? true : false;
|
|
41
|
+
const valueToDisplay = props.previousValue !== cell.value ? cell.value : '';
|
|
42
|
+
const cellType = dom.ketchup.data.cell.getType(cell, shape);
|
|
43
|
+
const subcomponentProps = Object.assign({}, cell.data);
|
|
44
|
+
let cssClasses = cell.cssClass
|
|
45
|
+
? cell.cssClass
|
|
46
|
+
: column.cssClass
|
|
47
|
+
? column.cssClass
|
|
48
|
+
: '';
|
|
49
|
+
const classObj = {
|
|
50
|
+
'f-cell': true,
|
|
51
|
+
[FCellClasses.OBJ]: hasObj ? true : false,
|
|
52
|
+
[cellType + '-cell']: true,
|
|
53
|
+
[props.wrapperClass]: props.wrapperClass ? true : false,
|
|
54
|
+
[props.density]: props.density && cellType !== FCellTypes.BAR ? true : false,
|
|
55
|
+
[cssClasses]: cssClasses ? true : false,
|
|
56
|
+
};
|
|
57
|
+
let content = valueToDisplay;
|
|
58
|
+
if (isEditable && editableTypes.includes(cellType)) {
|
|
59
|
+
content = setEditableCell(cellType, classObj, cell, column, props);
|
|
60
|
+
}
|
|
61
|
+
else if (cell.data && kupTypes.includes(cellType)) {
|
|
62
|
+
if (props.setSizes) {
|
|
63
|
+
setCellSizeKup(cellType, subcomponentProps, cell);
|
|
64
|
+
}
|
|
65
|
+
if (!props.renderKup) {
|
|
66
|
+
const lazyClass = 'cell-' + cellType + ' placeholder';
|
|
67
|
+
content = h("span", { class: lazyClass });
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
content = setKupCell(cellType, classObj, subcomponentProps, cell, row, column, props);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
if (props.setSizes) {
|
|
75
|
+
setCellSize(cellType, subcomponentProps, cell, props);
|
|
76
|
+
}
|
|
77
|
+
content = setCell(cellType, subcomponentProps, content, classObj, cell, column, props);
|
|
78
|
+
}
|
|
79
|
+
let icon = null;
|
|
80
|
+
if (!isEditable && (column.icon || cell.icon) && content) {
|
|
81
|
+
const fProps = {
|
|
82
|
+
color: `rgba(var(${KupThemeColorValues.TEXT}-rgb), 0.375)`,
|
|
83
|
+
resource: cell.icon ? cell.icon : column.icon,
|
|
84
|
+
sizeX: '1.25em',
|
|
85
|
+
sizeY: '1.25em',
|
|
86
|
+
wrapperClass: 'obj-icon',
|
|
87
|
+
};
|
|
88
|
+
icon = h(FImage, Object.assign({}, fProps));
|
|
89
|
+
}
|
|
90
|
+
let cellTitle = null;
|
|
91
|
+
if (dom.ketchup.debug.isDebug() && hasObj) {
|
|
92
|
+
cellTitle = cell.obj.t + '; ' + cell.obj.p + '; ' + cell.obj.k + ';';
|
|
93
|
+
}
|
|
94
|
+
else if (cell.title != null && cell.title.trim() != '') {
|
|
95
|
+
cellTitle = cell.title;
|
|
96
|
+
}
|
|
97
|
+
let infoEl = null;
|
|
98
|
+
if (cell.info) {
|
|
99
|
+
const info = Object.assign({}, cell.info);
|
|
100
|
+
if (!info.color) {
|
|
101
|
+
info.color = `var(${KupThemeColorValues.INFO})`;
|
|
102
|
+
}
|
|
103
|
+
if (!info.icon) {
|
|
104
|
+
info.icon = 'info';
|
|
105
|
+
}
|
|
106
|
+
const fProps = {
|
|
107
|
+
color: info.color,
|
|
108
|
+
resource: info.icon,
|
|
109
|
+
sizeX: '1.25em',
|
|
110
|
+
sizeY: '1.25em',
|
|
111
|
+
title: info.message ? info.message : '',
|
|
112
|
+
wrapperClass: 'cell-info',
|
|
113
|
+
};
|
|
114
|
+
infoEl = h(FImage, Object.assign({}, fProps));
|
|
115
|
+
}
|
|
116
|
+
return (h("div", { class: classObj, "kup-get-cell-props": () => {
|
|
117
|
+
return props;
|
|
118
|
+
}, style: cell.style },
|
|
119
|
+
h("div", { class: "f-cell__content", style: cell.styleContent, title: cellTitle }, children && children.length > 0
|
|
120
|
+
? children
|
|
121
|
+
: [props.indents, infoEl, icon, content])));
|
|
122
|
+
};
|
|
123
|
+
function setCellSize(cellType, subcomponentProps, cell, props) {
|
|
124
|
+
switch (cellType) {
|
|
125
|
+
case FCellTypes.CHECKBOX:
|
|
126
|
+
case FCellTypes.ICON:
|
|
127
|
+
if (!subcomponentProps.sizeX) {
|
|
128
|
+
subcomponentProps.sizeX = '18px';
|
|
129
|
+
}
|
|
130
|
+
if (!subcomponentProps.sizeY) {
|
|
131
|
+
subcomponentProps.sizeY = '18px';
|
|
132
|
+
}
|
|
133
|
+
if (cell.style) {
|
|
134
|
+
if (!cell.style.height) {
|
|
135
|
+
cell.style['minHeight'] = subcomponentProps.sizeY;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
cell.style = {
|
|
140
|
+
minHeight: subcomponentProps.sizeY,
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
break;
|
|
144
|
+
case FCellTypes.IMAGE:
|
|
145
|
+
if (props.component.rootElement.tagName ===
|
|
146
|
+
KupTagNames.BOX) {
|
|
147
|
+
if (!subcomponentProps.sizeY) {
|
|
148
|
+
subcomponentProps.sizeY = 'auto';
|
|
149
|
+
}
|
|
150
|
+
if (subcomponentProps.fit === undefined) {
|
|
151
|
+
subcomponentProps.fit = true;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
else if (!subcomponentProps.sizeX) {
|
|
155
|
+
subcomponentProps.sizeX = 'auto';
|
|
156
|
+
}
|
|
157
|
+
if (!subcomponentProps.sizeY) {
|
|
158
|
+
subcomponentProps.sizeY = '64px';
|
|
159
|
+
}
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
function setCellSizeKup(cellType, subcomponentProps, cell) {
|
|
164
|
+
switch (cellType) {
|
|
165
|
+
case FCellTypes.BAR:
|
|
166
|
+
if (!subcomponentProps.sizeY) {
|
|
167
|
+
subcomponentProps.sizeY = '26px';
|
|
168
|
+
}
|
|
169
|
+
break;
|
|
170
|
+
case FCellTypes.BUTTON:
|
|
171
|
+
let height = '';
|
|
172
|
+
if (subcomponentProps.label) {
|
|
173
|
+
height = '36px';
|
|
174
|
+
}
|
|
175
|
+
if (cell.style) {
|
|
176
|
+
if (!cell.style.height) {
|
|
177
|
+
cell.style['minHeight'] = height;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
cell.style = { minHeight: height };
|
|
182
|
+
}
|
|
183
|
+
break;
|
|
184
|
+
case FCellTypes.CHART:
|
|
185
|
+
if (!subcomponentProps.sizeX) {
|
|
186
|
+
subcomponentProps.sizeX = '100%';
|
|
187
|
+
}
|
|
188
|
+
if (!subcomponentProps.sizeY) {
|
|
189
|
+
subcomponentProps.sizeY = '100%';
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
case FCellTypes.CHIP:
|
|
193
|
+
if (cell.style) {
|
|
194
|
+
if (!cell.style.height) {
|
|
195
|
+
cell.style['minHeight'] = '40px';
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
cell.style = { minHeight: '40px' };
|
|
200
|
+
}
|
|
201
|
+
break;
|
|
202
|
+
case FCellTypes.RADIO:
|
|
203
|
+
if (cell.style) {
|
|
204
|
+
if (!cell.style.height) {
|
|
205
|
+
cell.style['minHeight'] = '40px';
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
cell.style = { minHeight: '40px' };
|
|
210
|
+
}
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
function setEditableCell(cellType, classObj, cell, column, props) {
|
|
215
|
+
switch (cellType) {
|
|
216
|
+
case FCellTypes.AUTOCOMPLETE:
|
|
217
|
+
return (h("kup-autocomplete", Object.assign({ initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-autocomplete-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
|
|
218
|
+
case FCellTypes.CHECKBOX:
|
|
219
|
+
if (isAutoCentered(props)) {
|
|
220
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
221
|
+
}
|
|
222
|
+
return (h(FCheckbox, Object.assign({}, cell.data, { onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
223
|
+
case FCellTypes.COLOR_PICKER:
|
|
224
|
+
return (h("kup-color-picker", Object.assign({ initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', disabled: false, "onkup-colorpicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
225
|
+
case FCellTypes.COMBOBOX:
|
|
226
|
+
return (h("kup-combobox", Object.assign({ initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-combobox-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-combobox-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-combobox-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
|
|
227
|
+
case FCellTypes.DATE:
|
|
228
|
+
return (h("kup-date-picker", Object.assign({ initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-datepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-datepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT) })));
|
|
229
|
+
case FCellTypes.RATING:
|
|
230
|
+
return (h("kup-rating", Object.assign({}, cell.data, { disabled: false, "onkup-rating-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
231
|
+
case FCellTypes.SWITCH:
|
|
232
|
+
return (h(FSwitch, Object.assign({}, cell.data, { disabled: false, onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) })));
|
|
233
|
+
case FCellTypes.TIME:
|
|
234
|
+
return (h("kup-time-picker", Object.assign({ initialValue: cell.value }, cell.data, { class: isFullWidth(props) ? 'kup-full-width' : '', "onkup-timepicker-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), "onkup-timepicker-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT) })));
|
|
235
|
+
case FCellTypes.NUMBER:
|
|
236
|
+
classObj[FCellClasses.C_RIGHT_ALIGNED] = true;
|
|
237
|
+
case FCellTypes.STRING:
|
|
238
|
+
return (h(FTextField, Object.assign({}, cell.data, { icon: cell.icon ? cell.icon : column.icon ? column.icon : null, fullWidth: isFullWidth(props) ? true : false, inputType: cellType === FCellTypes.NUMBER ? 'number' : null, value: cellType === FCellTypes.NUMBER
|
|
239
|
+
? stringToNumber(cell.value).toString()
|
|
240
|
+
: cell.value, onChange: (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), onInput: (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), onIconClick: (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK) })));
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
function setCell(cellType, subcomponentProps, content, classObj, cell, column, props) {
|
|
244
|
+
switch (cellType) {
|
|
245
|
+
case FCellTypes.AUTOCOMPLETE:
|
|
246
|
+
case FCellTypes.COMBOBOX:
|
|
247
|
+
case FCellTypes.DATE:
|
|
248
|
+
case FCellTypes.DATETIME:
|
|
249
|
+
case FCellTypes.TIME:
|
|
250
|
+
if (content && content != '') {
|
|
251
|
+
const cellValue = getCellValueForDisplay(column, cell);
|
|
252
|
+
return h("div", { class: "f-cell__text" }, cellValue);
|
|
253
|
+
}
|
|
254
|
+
return content;
|
|
255
|
+
case FCellTypes.CHECKBOX:
|
|
256
|
+
if (isAutoCentered(props)) {
|
|
257
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
258
|
+
}
|
|
259
|
+
return (h(FImage, { resource: subcomponentProps.checked
|
|
260
|
+
? 'check_box'
|
|
261
|
+
: 'check_box_outline_blank', sizeX: "18px", sizeY: "18px" }));
|
|
262
|
+
case FCellTypes.EDITOR:
|
|
263
|
+
return h("div", { innerHTML: cell.value });
|
|
264
|
+
case FCellTypes.ICON:
|
|
265
|
+
case FCellTypes.IMAGE:
|
|
266
|
+
if (isAutoCentered(props)) {
|
|
267
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
268
|
+
}
|
|
269
|
+
if (subcomponentProps.badgeData) {
|
|
270
|
+
classObj[FCellClasses.C_PADDED] = true;
|
|
271
|
+
}
|
|
272
|
+
return h(FImage, Object.assign({}, subcomponentProps));
|
|
273
|
+
case FCellTypes.LINK:
|
|
274
|
+
return (h("a", { href: content, target: "_blank" }, cell.value));
|
|
275
|
+
case FCellTypes.NUMBER:
|
|
276
|
+
if (content && content != '') {
|
|
277
|
+
const cellValueNumber = stringToNumber(cell.value);
|
|
278
|
+
const cellValue = getCellValueForDisplay(column, cell);
|
|
279
|
+
if (cellValueNumber < 0) {
|
|
280
|
+
classObj[FCellClasses.TEXT_DANGER] = true;
|
|
281
|
+
}
|
|
282
|
+
if (isAutoCentered(props)) {
|
|
283
|
+
classObj[FCellClasses.C_RIGHT_ALIGNED] = true;
|
|
284
|
+
}
|
|
285
|
+
return h("div", { class: "f-cell__text" }, cellValue);
|
|
286
|
+
}
|
|
287
|
+
return h("div", { class: "f-cell__text" }, content);
|
|
288
|
+
case FCellTypes.SWITCH:
|
|
289
|
+
if (isAutoCentered(props)) {
|
|
290
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
291
|
+
}
|
|
292
|
+
subcomponentProps['disabled'] = true;
|
|
293
|
+
return h(FSwitch, Object.assign({}, subcomponentProps));
|
|
294
|
+
default:
|
|
295
|
+
return h("div", { class: "f-cell__text" }, content);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
function setKupCell(cellType, classObj, subcomponentProps, cell, row, column, props) {
|
|
299
|
+
switch (cellType) {
|
|
300
|
+
case FCellTypes.BAR:
|
|
301
|
+
if (!subcomponentProps.data) {
|
|
302
|
+
return h("kup-image", Object.assign({}, subcomponentProps));
|
|
303
|
+
}
|
|
304
|
+
else {
|
|
305
|
+
const barStyle = {
|
|
306
|
+
height: subcomponentProps.sizeY,
|
|
307
|
+
width: '100%',
|
|
308
|
+
};
|
|
309
|
+
return (h("div", { style: barStyle },
|
|
310
|
+
h(FImage, Object.assign({}, subcomponentProps))));
|
|
311
|
+
}
|
|
312
|
+
case FCellTypes.BUTTON:
|
|
313
|
+
if (isAutoCentered(props)) {
|
|
314
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
315
|
+
}
|
|
316
|
+
return (h("kup-button", Object.assign({}, subcomponentProps, { "onkup-button-click": (e) => cellEvent(e, props, cellType, FCellEvents.CLICK) })));
|
|
317
|
+
case FCellTypes.BUTTON_LIST:
|
|
318
|
+
if (isAutoCentered(props)) {
|
|
319
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
320
|
+
}
|
|
321
|
+
subcomponentProps['data-storage'] = {
|
|
322
|
+
cell: cell,
|
|
323
|
+
row: row,
|
|
324
|
+
column: column,
|
|
325
|
+
};
|
|
326
|
+
return h("kup-button-list", Object.assign({}, subcomponentProps));
|
|
327
|
+
case FCellTypes.CHART:
|
|
328
|
+
if (isAutoCentered(props)) {
|
|
329
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
330
|
+
}
|
|
331
|
+
return h("kup-chart", Object.assign({}, subcomponentProps));
|
|
332
|
+
case FCellTypes.CHIP:
|
|
333
|
+
return h(FChip, Object.assign({}, subcomponentProps));
|
|
334
|
+
case FCellTypes.COLOR_PICKER:
|
|
335
|
+
return (h("kup-color-picker", Object.assign({}, subcomponentProps, { class: isFullWidth(props) ? 'kup-full-width' : '', disabled: true })));
|
|
336
|
+
case FCellTypes.GAUGE:
|
|
337
|
+
return (h("kup-gauge", Object.assign({ value: stringToNumber(cell.value), "width-component": "280px" }, subcomponentProps)));
|
|
338
|
+
case FCellTypes.KNOB:
|
|
339
|
+
case FCellTypes.PROGRESS_BAR:
|
|
340
|
+
return h("kup-progress-bar", Object.assign({}, subcomponentProps));
|
|
341
|
+
case FCellTypes.RADIO:
|
|
342
|
+
if (isAutoCentered(props)) {
|
|
343
|
+
classObj[FCellClasses.C_CENTERED] = true;
|
|
344
|
+
}
|
|
345
|
+
subcomponentProps['disabled'] = row.readOnly;
|
|
346
|
+
return h("kup-radio", Object.assign({}, subcomponentProps));
|
|
347
|
+
case FCellTypes.RATING:
|
|
348
|
+
return h("kup-rating", Object.assign({}, subcomponentProps, { disabled: true }));
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
function cellEvent(e, props, cellType, cellEventName) {
|
|
352
|
+
const cell = props.cell;
|
|
353
|
+
const column = props.column;
|
|
354
|
+
const comp = props.component;
|
|
355
|
+
const row = props.row;
|
|
356
|
+
const isInputEvent = !!(e.target.tagName === 'INPUT');
|
|
357
|
+
let value = isInputEvent
|
|
358
|
+
? e.target.value
|
|
359
|
+
: e.detail.value;
|
|
360
|
+
if (cellEventName === FCellEvents.UPDATE) {
|
|
361
|
+
switch (cellType) {
|
|
362
|
+
case FCellTypes.AUTOCOMPLETE:
|
|
363
|
+
case FCellTypes.COMBOBOX:
|
|
364
|
+
case FCellTypes.DATE:
|
|
365
|
+
case FCellTypes.TIME:
|
|
366
|
+
if (cell.data) {
|
|
367
|
+
cell.data['initialValue'] = value;
|
|
368
|
+
}
|
|
369
|
+
break;
|
|
370
|
+
case FCellTypes.CHECKBOX:
|
|
371
|
+
case FCellTypes.SWITCH:
|
|
372
|
+
value = value === 'on' ? '0' : '1';
|
|
373
|
+
if (cell.data) {
|
|
374
|
+
cell.data.checked =
|
|
375
|
+
value === '0' ? false : true;
|
|
376
|
+
}
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
if (cell.obj) {
|
|
380
|
+
cell.obj.k = value.toString();
|
|
381
|
+
}
|
|
382
|
+
cell.value = value.toString();
|
|
383
|
+
cell.displayedValue = null;
|
|
384
|
+
cell.displayedValue = getCellValueForDisplay(column, cell);
|
|
385
|
+
}
|
|
386
|
+
if (comp && comp.rootElement) {
|
|
387
|
+
const cellEvent = new CustomEvent(cellEventName, {
|
|
388
|
+
bubbles: true,
|
|
389
|
+
cancelable: true,
|
|
390
|
+
composed: true,
|
|
391
|
+
detail: {
|
|
392
|
+
comp: comp,
|
|
393
|
+
id: comp.rootElement.id,
|
|
394
|
+
cell: cell,
|
|
395
|
+
column: column,
|
|
396
|
+
event: e,
|
|
397
|
+
row: row,
|
|
398
|
+
type: cellType,
|
|
399
|
+
},
|
|
400
|
+
});
|
|
401
|
+
comp.rootElement.dispatchEvent(cellEvent);
|
|
402
|
+
try {
|
|
403
|
+
comp.refresh();
|
|
404
|
+
}
|
|
405
|
+
catch (error) { }
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
function isAutoCentered(props) {
|
|
409
|
+
return autoCenterComps.includes(props.component.rootElement.tagName);
|
|
410
|
+
}
|
|
411
|
+
function isFullWidth(props) {
|
|
412
|
+
return fullWidthFieldsComps.includes(props.component.rootElement.tagName);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export { FCell as F, FSwitch as a };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { h } from './index-ad6ab214.js';
|
|
2
|
+
|
|
3
|
+
/*-------------------------------------------------*/
|
|
4
|
+
/* C o m p o n e n t */
|
|
5
|
+
/*-------------------------------------------------*/
|
|
6
|
+
const FCheckbox = (props) => {
|
|
7
|
+
const indeterminateAttr = {
|
|
8
|
+
'data-indeterminate': props.indeterminate ? true : false,
|
|
9
|
+
};
|
|
10
|
+
const classObj = {
|
|
11
|
+
checkbox: true,
|
|
12
|
+
'checkbox--checked': props.checked && !props.indeterminate ? true : false,
|
|
13
|
+
'checkbox--disabled': props.disabled ? true : false,
|
|
14
|
+
'checkbox--indeterminate': props.indeterminate ? true : false,
|
|
15
|
+
};
|
|
16
|
+
return (h("div", Object.assign({ class: `f-checkbox ${props.danger ? 'kup-danger' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
17
|
+
h("div", { class: `form-field ${props.leadingLabel ? 'form-field--align-end' : ''}` },
|
|
18
|
+
h("div", { class: classObj },
|
|
19
|
+
h("input", Object.assign({ type: "checkbox", class: "checkbox__native-control", checked: props.checked, disabled: props.disabled, onBlur: props.onBlur, onChange: props.onChange, onFocus: props.onFocus }, indeterminateAttr, { value: props.checked ? 'on' : 'off' })),
|
|
20
|
+
h("div", { class: "checkbox__background", onClick: props.onChange },
|
|
21
|
+
h("svg", { class: "checkbox__checkmark", viewBox: "0 0 24 24" },
|
|
22
|
+
h("path", { class: "checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })),
|
|
23
|
+
h("div", { class: "checkbox__mixedmark" }))),
|
|
24
|
+
props.label ? h("label", null, props.label) : undefined)));
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
export { FCheckbox as F };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import { F as FImage } from './f-image-
|
|
3
|
-
import {
|
|
1
|
+
import { h } from './index-ad6ab214.js';
|
|
2
|
+
import { F as FImage } from './f-image-b08ebeb2.js';
|
|
3
|
+
import { K as KupThemeIconValues, h as KupLanguageGeneric, b as KupThemeColorValues } from './kup-manager-3325b2d8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Types of the f-chip component.
|
|
@@ -74,7 +74,8 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function createChip(chip) {
|
|
77
|
-
|
|
77
|
+
const onlyIcon = !!(chip.icon && !chip.value);
|
|
78
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''}`;
|
|
78
79
|
let iconEl = [];
|
|
79
80
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
80
81
|
if (isFilter || isChoice) {
|
|
@@ -125,4 +126,4 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
125
126
|
return chipList;
|
|
126
127
|
}
|
|
127
128
|
|
|
128
|
-
export {
|
|
129
|
+
export { FChipType as F, FChip as a };
|
|
@@ -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-ad6ab214.js';
|
|
2
|
+
import { b as KupThemeColorValues } from './kup-manager-3325b2d8.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The type of a CSS step in CSS-drawing mode.
|