@sme.up/ketchup 10.4.6 → 10.4.8
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-808c80f4.js → f-cell-452d8a39.js} +8 -8
- package/dist/cjs/{f-chip-ad2e88cd.js → f-chip-973b22de.js} +1 -1
- package/dist/cjs/{f-object-field-a2060085.js → f-object-field-43d986c5.js} +2 -2
- package/dist/cjs/{f-paginator-utils-ae22f3de.js → f-paginator-utils-bc66522f.js} +1 -1
- package/dist/cjs/{f-text-field-582fa181.js → f-text-field-cc70132b.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +69 -58
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-a1c73939.js → kup-data-table-helper-c04ab7a9.js} +11 -12
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +22 -13
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +14 -11
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-5faed2fc.js → kup-manager-2e0a7a26.js} +16 -11
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- 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/collection/components/kup-data-table/kup-data-table.js +62 -51
- package/dist/collection/components/kup-echart/kup-echart.js +21 -12
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +3 -2
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +6 -4
- package/dist/collection/f-components/f-cell/f-cell.js +2 -2
- package/dist/collection/f-components/f-label/f-label.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +1 -1
- package/dist/collection/managers/kup-data/kup-data.js +15 -10
- package/dist/collection/utils/filters/filters-column-menu.js +10 -11
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- 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 +2 -2
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- 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-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 +2 -2
- 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 +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +12 -9
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- 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-planner.js +2 -2
- 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-switch.js +1 -1
- package/dist/components/kup-tab-bar.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-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/{p-a42dc353.js → p-64e94968.js} +16 -11
- package/dist/components/{p-f5bdb9ff.js → p-69425921.js} +2 -2
- package/dist/components/{p-1886497b.js → p-6d5f0117.js} +23 -14
- package/dist/components/{p-0df26926.js → p-8359b10a.js} +78 -68
- package/dist/components/{p-d8819a35.js → p-bddae662.js} +2 -2
- package/dist/components/{p-a2bac767.js → p-fa3c07b8.js} +2 -2
- package/dist/esm/{f-cell-d224dc3a.js → f-cell-9353dd77.js} +8 -8
- package/dist/esm/{f-chip-a2d07acb.js → f-chip-f9277fd9.js} +1 -1
- package/dist/esm/{f-object-field-bc0b6f80.js → f-object-field-e797f627.js} +2 -2
- package/dist/esm/{f-paginator-utils-8c3d7b88.js → f-paginator-utils-29fcddb4.js} +1 -1
- package/dist/esm/{f-text-field-0f550594.js → f-text-field-f2cd4df1.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_30.entry.js +69 -58
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-3f3bb266.js → kup-data-table-helper-4c4da1ec.js} +11 -12
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +22 -13
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +14 -11
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-232be463.js → kup-manager-75b947f4.js} +16 -11
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +2 -2
- 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/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-40d9b650.entry.js → p-04d4d4bb.entry.js} +1 -1
- package/dist/ketchup/{p-96bef43d.js → p-0829e7c5.js} +1 -1
- package/dist/ketchup/{p-5d6f2048.entry.js → p-0a962ac8.entry.js} +1 -1
- package/dist/ketchup/p-174fe9ca.entry.js +1 -0
- package/dist/ketchup/{p-a84998d8.entry.js → p-1fac1a59.entry.js} +1 -1
- package/dist/ketchup/p-3fa60abf.entry.js +1 -0
- package/dist/ketchup/{p-6622b9dd.js → p-459f5369.js} +1 -1
- package/dist/ketchup/{p-498e38ec.entry.js → p-613028b3.entry.js} +1 -1
- package/dist/ketchup/{p-8ab45e3d.entry.js → p-679ce9d9.entry.js} +1 -1
- package/dist/ketchup/{p-2ea8982a.entry.js → p-71705280.entry.js} +1 -1
- package/dist/ketchup/p-75a8afbe.entry.js +8 -0
- package/dist/ketchup/{p-8ac64a64.entry.js → p-76679ede.entry.js} +1 -1
- package/dist/ketchup/{p-106ef861.entry.js → p-7c3619bb.entry.js} +1 -1
- package/dist/ketchup/{p-88e822d6.entry.js → p-84ddf341.entry.js} +1 -1
- package/dist/ketchup/{p-bc2604ea.entry.js → p-856f4922.entry.js} +1 -1
- package/dist/ketchup/{p-9510d04c.entry.js → p-950f09bd.entry.js} +1 -1
- package/dist/ketchup/{p-5b05f037.entry.js → p-96ae851c.entry.js} +1 -1
- package/dist/ketchup/{p-855d7a7c.entry.js → p-9957f141.entry.js} +1 -1
- package/dist/ketchup/{p-e049f7d8.entry.js → p-9bf6f42d.entry.js} +1 -1
- package/dist/ketchup/{p-7d05209d.entry.js → p-9ee7e62f.entry.js} +1 -1
- package/dist/ketchup/{p-d53275b8.entry.js → p-ac579cc8.entry.js} +1 -1
- package/dist/ketchup/{p-5bb7d7b3.entry.js → p-b52908a9.entry.js} +1 -1
- package/dist/ketchup/{p-e032f052.entry.js → p-b6c1dc95.entry.js} +1 -1
- package/dist/ketchup/{p-c6acc505.entry.js → p-b82e6d26.entry.js} +1 -1
- package/dist/ketchup/{p-5f41ae01.entry.js → p-b894c2a3.entry.js} +1 -1
- package/dist/ketchup/{p-ce92a1d6.entry.js → p-bc2b81c7.entry.js} +2 -2
- package/dist/ketchup/{p-4e86911e.entry.js → p-c3efe25a.entry.js} +1 -1
- package/dist/ketchup/{p-0c4fdac4.js → p-c49cb8be.js} +1 -1
- package/dist/ketchup/{p-6f00f1a3.js → p-d230c26d.js} +1 -1
- package/dist/ketchup/p-d4dac70d.js +1 -0
- package/dist/ketchup/{p-6b2e3868.entry.js → p-db38289c.entry.js} +1 -1
- package/dist/ketchup/{p-ca31b7ee.entry.js → p-e703e6c1.entry.js} +1 -1
- package/dist/ketchup/{p-e155cbac.js → p-e7fbf76f.js} +1 -1
- package/dist/ketchup/{p-549a999c.entry.js → p-f51a8f12.entry.js} +1 -1
- package/dist/ketchup/p-f81ec6f8.js +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +13 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +1 -1
- package/dist/types/f-components/f-label/f-label-declarations.d.ts +2 -1
- package/dist/types/managers/kup-data/kup-data.d.ts +5 -5
- package/package.json +1 -1
- package/dist/ketchup/p-b4b9fd65.entry.js +0 -1
- package/dist/ketchup/p-b7abe6a2.entry.js +0 -1
- package/dist/ketchup/p-c284a18d.js +0 -1
- package/dist/ketchup/p-de3514d6.js +0 -1
- package/dist/ketchup/p-edfd42e9.entry.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-64e94968.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-8359b10a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-txt component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, u as KupDebugCategory, g as getProps, s as setProps } from './p-
|
|
2
|
+
import { k as kupManagerInstance, u as KupDebugCategory, g as getProps, s as setProps } from './p-64e94968.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
4
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-8359b10a.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, d as KupDynamicPositionPlacement, g as getProps, s as setProps } from './p-
|
|
2
|
+
import { k as kupManagerInstance, d as KupDynamicPositionPlacement, g as getProps, s as setProps } from './p-64e94968.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
4
|
+
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-8359b10a.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -9261,7 +9261,7 @@ function newColumnFromMath(dataset, operation, columns, title) {
|
|
|
9261
9261
|
prog++;
|
|
9262
9262
|
}
|
|
9263
9263
|
newName = newName + prog;
|
|
9264
|
-
const newObj = firstColumn.obj;
|
|
9264
|
+
const newObj = firstColumn === null || firstColumn === void 0 ? void 0 : firstColumn.obj;
|
|
9265
9265
|
let newTitle = formula;
|
|
9266
9266
|
for (let i = 0; i < columns.length; i++) {
|
|
9267
9267
|
const column = columns[i];
|
|
@@ -9669,9 +9669,12 @@ class KupData {
|
|
|
9669
9669
|
* @param {KupDataTableRow} row single row.
|
|
9670
9670
|
* @returns { { id: string, column: KupDataColumn; cell: KupDataTableCell }[]} row codvers
|
|
9671
9671
|
*/
|
|
9672
|
-
getRowCodVers: (columns, row) => {
|
|
9672
|
+
getRowCodVers: (columns, row, visibleColumns) => {
|
|
9673
9673
|
return columns
|
|
9674
|
-
.filter((col) => this.column.isCodVer(col) &&
|
|
9674
|
+
.filter((col) => this.column.isCodVer(col) &&
|
|
9675
|
+
(visibleColumns && visibleColumns.length > 0
|
|
9676
|
+
? visibleColumns.includes(col.name)
|
|
9677
|
+
: this.column.isVisible(col)))
|
|
9675
9678
|
.reduce((result, col) => {
|
|
9676
9679
|
var _a;
|
|
9677
9680
|
const cell = row.cells[col.name];
|
|
@@ -9839,12 +9842,14 @@ class KupData {
|
|
|
9839
9842
|
/**
|
|
9840
9843
|
* Check if almost one column has COD_VER
|
|
9841
9844
|
* @param { KupDataColumn[] } columns single column.
|
|
9842
|
-
* @returns { boolean }
|
|
9845
|
+
* @returns { boolean } result of cod_ver search.
|
|
9843
9846
|
*/
|
|
9844
|
-
hasCodVer: (columns) => {
|
|
9847
|
+
hasCodVer: (columns, visibleColumns) => {
|
|
9845
9848
|
return columns
|
|
9846
9849
|
? columns.some((col) => this.column.isCodVer(col) &&
|
|
9847
|
-
|
|
9850
|
+
(visibleColumns && visibleColumns.length > 0
|
|
9851
|
+
? visibleColumns === null || visibleColumns === void 0 ? void 0 : visibleColumns.includes(col.name)
|
|
9852
|
+
: this.column.isVisible(col)))
|
|
9848
9853
|
: false;
|
|
9849
9854
|
},
|
|
9850
9855
|
};
|
|
@@ -9899,8 +9904,8 @@ class KupData {
|
|
|
9899
9904
|
* @param { KupCommand[] } commands commands in component prop
|
|
9900
9905
|
* @returns { KupDataRowAction[] } action that must be show on row
|
|
9901
9906
|
*/
|
|
9902
|
-
buildRowActions: (row, columns, actions, commands) => {
|
|
9903
|
-
const codVerActions = this.action.createActionsFromVoCodRow(row, columns, commands);
|
|
9907
|
+
buildRowActions: (row, columns, actions, commands, visibleColumns) => {
|
|
9908
|
+
const codVerActions = this.action.createActionsFromVoCodRow(row, columns, commands, visibleColumns);
|
|
9904
9909
|
const rowActionsWithCodVer = actions && actions.length
|
|
9905
9910
|
? [...this.row.rowActionsAdapter(actions), ...codVerActions]
|
|
9906
9911
|
: [...codVerActions];
|
|
@@ -9954,9 +9959,9 @@ class KupData {
|
|
|
9954
9959
|
* @param {KupCommand[]} commands group of commands.
|
|
9955
9960
|
* @returns { KupDataRowAction[]} Actions founded.
|
|
9956
9961
|
*/
|
|
9957
|
-
createActionsFromVoCodRow: (row, columns, commands) => {
|
|
9962
|
+
createActionsFromVoCodRow: (row, columns, commands, visibleColumns) => {
|
|
9958
9963
|
const actions = [];
|
|
9959
|
-
const rowCodVers = this.cell.getRowCodVers(columns, row);
|
|
9964
|
+
const rowCodVers = this.cell.getRowCodVers(columns, row, visibleColumns);
|
|
9960
9965
|
const commandMap = new Map();
|
|
9961
9966
|
const blankCommands = [];
|
|
9962
9967
|
commands.forEach((cmd, idx) => {
|
|
@@ -9983,7 +9988,7 @@ class KupData {
|
|
|
9983
9988
|
}
|
|
9984
9989
|
});
|
|
9985
9990
|
// Handle VO;COD_VER command with blank K case if there is at least one VO;COD_VER column
|
|
9986
|
-
if (this.column.hasCodVer(columns)) {
|
|
9991
|
+
if (this.column.hasCodVer(columns, visibleColumns)) {
|
|
9987
9992
|
blankCommands.forEach(({ cmd, index }) => {
|
|
9988
9993
|
actions.push(Object.assign(Object.assign({}, this.action.createBlankRowAction(cmd, index)), { obj: { t: '', p: '', k: '' }, cell: { value: '', obj: { t: '', p: '', k: '' } }, column: {
|
|
9989
9994
|
name: '',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-64e94968.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-8359b10a.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-0462f723.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-64e94968.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-8359b10a.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -84568,7 +84568,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
84568
84568
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
84569
84569
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
84570
84570
|
};
|
|
84571
|
-
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_buildResponsiveAxisLabel, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
84571
|
+
var _KupEchart_instances, _KupEchart_chartContainer, _KupEchart_chartEl, _KupEchart_gaussianDatasets, _KupEchart_kupManager, _KupEchart_mapObj, _KupEchart_resizeTimeout, _KupEchart_sortedDataset, _KupEchart_themeBorder, _KupEchart_themeBackground, _KupEchart_minColorHeatMap, _KupEchart_maxColorHeatMap, _KupEchart_themeFont, _KupEchart_themeText, _KupEchart_initChart, _KupEchart_createChart, _KupEchart_funnelChart, _KupEchart_radarChart, _KupEchart_bubbleChart, _KupEchart_sankeyChart, _KupEchart_candleChart, _KupEchart_calendarChart, _KupEchart_createX, _KupEchart_createY, _KupEchart_createYWithColumnTitle, _KupEchart_createYForPie, _KupEchart_setAxisColors, _KupEchart_setLegend, _KupEchart_setTitle, _KupEchart_setTooltip, _KupEchart_formatTooltipValue, _KupEchart_setVisualMap, _KupEchart_setMapOptions, _KupEchart_setPieOptions, _KupEchart_setGaussianOptions, _KupEchart_addSeries, _KupEchart_buildResponsiveAxisLabel, _KupEchart_setOptions, _KupEchart_setColors, _KupEchart_checks;
|
|
84572
84572
|
const KupEchart = /*@__PURE__*/ proxyCustomElement(class KupEchart extends H {
|
|
84573
84573
|
constructor() {
|
|
84574
84574
|
super();
|
|
@@ -84690,7 +84690,7 @@ const KupEchart = /*@__PURE__*/ proxyCustomElement(class KupEchart extends H {
|
|
|
84690
84690
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
84691
84691
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
84692
84692
|
};
|
|
84693
|
-
return (h(Host, { key: '
|
|
84693
|
+
return (h(Host, { key: '90763d03af943757a43395254643ac23b3316b91', style: style }, h("style", { key: '16da41fb5f188e0dd74fd2ef258e9398820c995a' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'a5365416fc15bfd4d40549c15737c926b916d987', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
84694
84694
|
}
|
|
84695
84695
|
disconnectedCallback() {
|
|
84696
84696
|
var _a;
|
|
@@ -84852,7 +84852,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
84852
84852
|
const name = value.data.name;
|
|
84853
84853
|
const percentage = value.data
|
|
84854
84854
|
.value;
|
|
84855
|
-
return `${name}: <strong>${cellsSum[name]}</strong> (${__classPrivateFieldGet(this,
|
|
84855
|
+
return `${name}: <strong>${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, cellsSum[name])}</strong> (${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, percentage)}%)`;
|
|
84856
84856
|
} }),
|
|
84857
84857
|
legend: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setLegend).call(this, cellsSum),
|
|
84858
84858
|
series: [
|
|
@@ -85008,7 +85008,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85008
85008
|
if (usingDefaultSize && index === 2)
|
|
85009
85009
|
return '';
|
|
85010
85010
|
const columnTitle = this.data.columns.find((col) => col.name === key).title;
|
|
85011
|
-
return `<li>${columnTitle}: ${rowData[index]}</li>`;
|
|
85011
|
+
return `<li>${columnTitle}: ${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, rowData[index])}</li>`;
|
|
85012
85012
|
})
|
|
85013
85013
|
.join('');
|
|
85014
85014
|
// Add label
|
|
@@ -85152,8 +85152,9 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85152
85152
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (value) => {
|
|
85153
85153
|
const name = value.data || [];
|
|
85154
85154
|
const data = keys.map((e, i) => {
|
|
85155
|
-
|
|
85156
|
-
|
|
85155
|
+
return `<li> ${e}: ${name[i] != null
|
|
85156
|
+
? __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, name[i])
|
|
85157
|
+
: '-'} </li>`;
|
|
85157
85158
|
});
|
|
85158
85159
|
let showContent = '';
|
|
85159
85160
|
data.forEach((r) => {
|
|
@@ -85391,6 +85392,14 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85391
85392
|
fontFamily: __classPrivateFieldGet(this, _KupEchart_themeFont, "f"),
|
|
85392
85393
|
},
|
|
85393
85394
|
};
|
|
85395
|
+
}, _KupEchart_formatTooltipValue = function _KupEchart_formatTooltipValue(value) {
|
|
85396
|
+
if (value === null ||
|
|
85397
|
+
value === undefined ||
|
|
85398
|
+
// convert to number first; non‑numeric strings become NaN
|
|
85399
|
+
isNaN(Number(value))) {
|
|
85400
|
+
return value != null ? String(value) : '';
|
|
85401
|
+
}
|
|
85402
|
+
return __classPrivateFieldGet(this, _KupEchart_kupManager, "f").math.format(String(value));
|
|
85394
85403
|
}, _KupEchart_setVisualMap = function _KupEchart_setVisualMap(max, min, colors, hasNumericValues) {
|
|
85395
85404
|
const opts = {
|
|
85396
85405
|
visualMap: {
|
|
@@ -85416,7 +85425,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85416
85425
|
};
|
|
85417
85426
|
if (colorRange) {
|
|
85418
85427
|
opts.visualMap = Object.assign(Object.assign(Object.assign({}, opts.visualMap), colorRange), { calculable: true, formatter: (value) => {
|
|
85419
|
-
return __classPrivateFieldGet(this,
|
|
85428
|
+
return __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, value);
|
|
85420
85429
|
}, min: min, max: max, show: true });
|
|
85421
85430
|
}
|
|
85422
85431
|
return opts;
|
|
@@ -85508,7 +85517,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85508
85517
|
}
|
|
85509
85518
|
else {
|
|
85510
85519
|
return ("<div style='min-width: 60px; text-align: center'>" +
|
|
85511
|
-
__classPrivateFieldGet(this,
|
|
85520
|
+
__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, value) +
|
|
85512
85521
|
'</div>');
|
|
85513
85522
|
}
|
|
85514
85523
|
};
|
|
@@ -85683,7 +85692,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85683
85692
|
if (this.types[param.seriesIndex] == undefined ||
|
|
85684
85693
|
this.types[param.seriesIndex] == KupEchartTypes.GAUSSIAN) {
|
|
85685
85694
|
const value = param.value[0];
|
|
85686
|
-
const x = `<div style="color: ${param.color};"><span style="margin-right: 5px;"><strong>x:</strong></span><span>${param.value[0]}</span></div>`;
|
|
85695
|
+
const x = `<div style="color: ${param.color};"><span style="margin-right: 5px;"><strong>x:</strong></span><span>${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, param.value[0])}</span></div>`;
|
|
85687
85696
|
if (!index) {
|
|
85688
85697
|
format += x;
|
|
85689
85698
|
}
|
|
@@ -85717,7 +85726,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85717
85726
|
format += `<div style="display: flex; flex-direction: row;">`;
|
|
85718
85727
|
}
|
|
85719
85728
|
const style = `style="color: ${param.color}; margin-right: 5px"`;
|
|
85720
|
-
format += `<span ${style}><strong>${title}</strong>: ${cells[column].value}</span>`;
|
|
85729
|
+
format += `<span ${style}><strong>${title}</strong>: ${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, cells[column].value)}</span>`;
|
|
85721
85730
|
count++;
|
|
85722
85731
|
}
|
|
85723
85732
|
}
|
|
@@ -85726,7 +85735,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85726
85735
|
}
|
|
85727
85736
|
else {
|
|
85728
85737
|
const style = `style="color: ${param.color}; margin-right: 5px"`;
|
|
85729
|
-
format += `<div ${style}><strong>${param.name}</strong>: ${param.value}</div>`;
|
|
85738
|
+
format += `<div ${style}><strong>${param.name}</strong>: ${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, param.value)}</div>`;
|
|
85730
85739
|
}
|
|
85731
85740
|
}
|
|
85732
85741
|
if (format === wrapper) {
|
|
@@ -85928,7 +85937,7 @@ _KupEchart_chartContainer = new WeakMap(), _KupEchart_chartEl = new WeakMap(), _
|
|
|
85928
85937
|
series: renamedSeries,
|
|
85929
85938
|
title: __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTitle).call(this),
|
|
85930
85939
|
tooltip: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setTooltip).call(this)), { trigger: 'item', formatter: (params) => {
|
|
85931
|
-
return `<b>${params.name}</b><br/>${params.seriesName}: <b>${params.value}</b>`;
|
|
85940
|
+
return `<b>${params.name}</b><br/>${params.seriesName}: <b>${__classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_formatTooltipValue).call(this, params.value)}</b>`;
|
|
85932
85941
|
} }),
|
|
85933
85942
|
xAxis: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_setAxisColors).call(this)), { data: isHorizontal ? undefined : x, type: isHorizontal ? 'value' : 'category', axisLabel: Object.assign({ formatter: axisLabelFormatter }, __classPrivateFieldGet(this, _KupEchart_instances, "m", _KupEchart_buildResponsiveAxisLabel).call(this, x)) }), this.xAxis),
|
|
85934
85943
|
yAxis,
|