@sme.up/ketchup 10.4.7 → 10.4.9
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-b6499daf.js → f-cell-452d8a39.js} +6 -6
- 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 +5 -5
- 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/f-components/f-cell/f-cell.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 +3 -3
- 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-99de2f5f.js → p-69425921.js} +2 -2
- package/dist/components/{p-77f72bf7.js → p-6d5f0117.js} +23 -14
- package/dist/components/{p-ba6132b3.js → p-8359b10a.js} +76 -66
- package/dist/components/{p-6c44f471.js → p-bddae662.js} +2 -2
- package/dist/components/{p-cd1fbb3a.js → p-fa3c07b8.js} +2 -2
- package/dist/esm/{f-cell-0a7e6c09.js → f-cell-9353dd77.js} +6 -6
- 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 +5 -5
- 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-860e64d6.entry.js → p-0a962ac8.entry.js} +1 -1
- package/dist/ketchup/{p-a41766d3.entry.js → p-174fe9ca.entry.js} +1 -1
- 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-cc193dee.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/managers/kup-data/kup-data.d.ts +5 -5
- package/package.json +1 -1
- package/dist/ketchup/p-1d602e4b.entry.js +0 -8
- package/dist/ketchup/p-436ef56e.js +0 -1
- package/dist/ketchup/p-b7abe6a2.entry.js +0 -1
- package/dist/ketchup/p-c284a18d.js +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { ar as editableTypes, as as kupTypes, U as FCellClasses, ae as FCellTypes, f as KupThemeColorValues, ap as CHIAdapter, an as RADAdapter, am as CMBandACPAdapter, at as KupTagNames, F as FCellShapes, aj as getCellValueForDisplay, a as KupComponentSizing, au as fullWidthFieldsComps, I as ItemsDisplayMode, av as autoCenterComps, aw as adaptContentToDisplayMode, ax as FCellEvents, ay as isForceUppercase, az as isForceLowercase, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { ar as editableTypes, as as kupTypes, U as FCellClasses, ae as FCellTypes, f as KupThemeColorValues, ap as CHIAdapter, an as RADAdapter, am as CMBandACPAdapter, at as KupTagNames, F as FCellShapes, aj as getCellValueForDisplay, a as KupComponentSizing, au as fullWidthFieldsComps, I as ItemsDisplayMode, av as autoCenterComps, aw as adaptContentToDisplayMode, ax as FCellEvents, ay as isForceUppercase, az as isForceLowercase, h as KupDebugCategory } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { F as FButton } from './f-button-3e022953.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
5
|
-
import { F as FChipType, d as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, d as FChip } from './f-chip-f9277fd9.js';
|
|
6
6
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
7
|
-
import { F as FObjectField } from './f-object-field-
|
|
8
|
-
import { F as FTextField } from './f-text-field-
|
|
7
|
+
import { F as FObjectField } from './f-object-field-e797f627.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-f2cd4df1.js';
|
|
9
9
|
|
|
10
10
|
var FRadioType;
|
|
11
11
|
(function (FRadioType) {
|
|
@@ -1002,7 +1002,7 @@ function setCell(cellType, subcomponentProps, content, classObj, cell, column, p
|
|
|
1002
1002
|
subcomponentProps['disabled'] = true;
|
|
1003
1003
|
return h(FSwitch, Object.assign({}, subcomponentProps));
|
|
1004
1004
|
case FCellTypes.LABEL:
|
|
1005
|
-
return h(FLabel, { style: cell.style, text: cell.value, classes: "f-cell__text" });
|
|
1005
|
+
return (h(FLabel, { style: cell.style, text: cell.value, classes: "f-cell__text" }));
|
|
1006
1006
|
case FCellTypes.IMAGE_LIST:
|
|
1007
1007
|
const activeNode = cell.data.data.find((node) => node.value === cell.value) || null;
|
|
1008
1008
|
return (h("kup-image-list", Object.assign({ ripple: true }, cell.data, { "onKup-imagelist-click": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE), activeNode: activeNode })));
|
|
@@ -1041,7 +1041,7 @@ function setKupCell(cellType, classObj, subcomponentProps, cell, row, column, pr
|
|
|
1041
1041
|
row: row,
|
|
1042
1042
|
column: column,
|
|
1043
1043
|
};
|
|
1044
|
-
return (h("kup-button-list", Object.assign({ key: column.name + props.row.id }, subcomponentProps)));
|
|
1044
|
+
return (h("kup-button-list", Object.assign({ key: column.name + props.row.id }, subcomponentProps, { "onKup-buttonlist-click": (e) => cellEvent(e, props, cellType, FCellEvents.CLICK) })));
|
|
1045
1045
|
case FCellTypes.CHART:
|
|
1046
1046
|
if (isAutoCentered(props)) {
|
|
1047
1047
|
classObj[FCellClasses.C_CENTERED] = true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
3
|
-
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-
|
|
3
|
+
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-75b947f4.js';
|
|
4
4
|
|
|
5
5
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
6
6
|
const { id, value } = item;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { F as FButton } from './f-button-3e022953.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
+
import { F as FTextField } from './f-text-field-f2cd4df1.js';
|
|
6
6
|
|
|
7
7
|
const STATE = new WeakMap();
|
|
8
8
|
const FObjectField = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
|
-
import { I as ItemsDisplayMode, aA as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { I as ItemsDisplayMode, aA as KupLanguagePage, t as KupLanguageRow, a as KupComponentSizing, b as KupLanguageGeneric } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { F as FButton } from './f-button-3e022953.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { d as KupThemeIconValues } from './kup-manager-
|
|
2
|
+
import { d as KupThemeIconValues } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
4
4
|
|
|
5
5
|
const dom = document.documentElement;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeIconValues, f as KupThemeColorValues, e as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeIconValues, f as KupThemeColorValues, e as KupDynamicPositionPlacement } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
4
4
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
5
5
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory, aj as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory, aj as getCellValueForDisplay } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
|
-
import { s as sortRows } from './kup-data-table-helper-
|
|
5
|
+
import { s as sortRows } from './kup-data-table-helper-4c4da1ec.js';
|
|
6
6
|
import './kup-dates-bf500166.js';
|
|
7
7
|
|
|
8
8
|
var KupActivityTimelineProps;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as extractColumnsFromFormulaString, L as FILTER_ANALYZER, M as LoadMoreMode, P as PaginatorPos, N as ShowGrid, T as TotalLabel, O as TotalMode, Q as getRegExpFromString, R as isNegativeNumber, U as FCellClasses, V as kupDynamicPositionAttribute, W as KupPointerEventTypes, X as kupDraggableColumnAttr, Y as kupDragActiveAttr, Z as KupDragEffect, _ as kupDraggableCellAttr, $ as KupDropEventTypes, a0 as DataTableAreasEnum, a1 as TypesToDuplicate, a2 as FixedCellsClasses, a3 as FixedCellsCSSVarsBase, a4 as KupLanguageFontsize, a5 as KupLanguageDensity, a6 as KupLanguageGrid, a7 as KupDataTableProps, a8 as UseAsValue, a9 as SortMode, aa as iconColumn, ab as keyColumn, ac as fieldColumn, ad as KupLanguageUpload, ae as FCellTypes, af as KupListRole, ag as KupListProps, ah as addColumnValueFromRow, ai as KupGlobalFilterMode } from './kup-manager-
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as extractColumnsFromFormulaString, L as FILTER_ANALYZER, M as LoadMoreMode, P as PaginatorPos, N as ShowGrid, T as TotalLabel, O as TotalMode, Q as getRegExpFromString, R as isNegativeNumber, U as FCellClasses, V as kupDynamicPositionAttribute, W as KupPointerEventTypes, X as kupDraggableColumnAttr, Y as kupDragActiveAttr, Z as KupDragEffect, _ as kupDraggableCellAttr, $ as KupDropEventTypes, a0 as DataTableAreasEnum, a1 as TypesToDuplicate, a2 as FixedCellsClasses, a3 as FixedCellsCSSVarsBase, a4 as KupLanguageFontsize, a5 as KupLanguageDensity, a6 as KupLanguageGrid, a7 as KupDataTableProps, a8 as UseAsValue, a9 as SortMode, aa as iconColumn, ab as keyColumn, ac as fieldColumn, ad as KupLanguageUpload, ae as FCellTypes, af as KupListRole, ag as KupListProps, ah as addColumnValueFromRow, ai as KupGlobalFilterMode } from './kup-manager-75b947f4.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-f2cd4df1.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
-
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-
|
|
5
|
+
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-f9277fd9.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
8
8
|
import { F as FButton } from './f-button-3e022953.js';
|
|
9
9
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
10
|
-
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-
|
|
10
|
+
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-9353dd77.js';
|
|
11
11
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-bf500166.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-4c4da1ec.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-29fcddb4.js';
|
|
16
|
+
import './f-object-field-e797f627.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -8509,8 +8509,8 @@ class KupColumnMenu {
|
|
|
8509
8509
|
? { name: description, title: description }
|
|
8510
8510
|
: undefined,
|
|
8511
8511
|
columns: [
|
|
8512
|
-
columnName,
|
|
8513
8512
|
parts[0],
|
|
8513
|
+
columnName,
|
|
8514
8514
|
...extractColumnsFromFormulaString(value),
|
|
8515
8515
|
],
|
|
8516
8516
|
})
|
|
@@ -9888,50 +9888,61 @@ const KupDataTable = class {
|
|
|
9888
9888
|
? this.data.columns
|
|
9889
9889
|
: [{ title: '', name: '' }];
|
|
9890
9890
|
}
|
|
9891
|
+
/**
|
|
9892
|
+
* Retrieves the list of visible columns based on configuration and grouping state.
|
|
9893
|
+
*
|
|
9894
|
+
* This method handles multiple visibility scenarios:
|
|
9895
|
+
* 1. Explicit visibility list (via visibleColumns property)
|
|
9896
|
+
* 2. Column-level visibility flags
|
|
9897
|
+
* 3. CodVer (code/version) column filtering
|
|
9898
|
+
* 4. Group-based visibility when grouping is enabled
|
|
9899
|
+
*
|
|
9900
|
+
* @param {Object} options - Configuration options
|
|
9901
|
+
* @param {boolean} options.includeCodVer - If true, includes CodVer columns in the result (default: false)
|
|
9902
|
+
* @returns {Array<KupDataColumn>} Array of visible columns, ordered and filtered according to configuration
|
|
9903
|
+
*/
|
|
9891
9904
|
getVisibleColumns({ includeCodVer = false } = {}) {
|
|
9892
|
-
|
|
9893
|
-
|
|
9894
|
-
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
}
|
|
9900
|
-
});
|
|
9901
|
-
}
|
|
9902
|
-
// Starting columns filter
|
|
9903
|
-
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
9904
|
-
const isNotCodVer = !__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
|
|
9905
|
+
const allColumns = this.getColumns();
|
|
9906
|
+
// Step 1: Filter columns based on visibility rules and CodVer inclusion
|
|
9907
|
+
let filteredColumns = allColumns.filter((column) => {
|
|
9908
|
+
// CodVer columns are system columns used for versioning/coding
|
|
9909
|
+
const isCodVer = __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.isCodVer(column);
|
|
9910
|
+
// Determine if column should be included based on CodVer flag
|
|
9911
|
+
const codVerCheck = includeCodVer ? true : !isCodVer;
|
|
9905
9912
|
if (this.visibleColumns) {
|
|
9906
|
-
//
|
|
9907
|
-
return
|
|
9913
|
+
// Explicit visibility list takes precedence: include only specified columns
|
|
9914
|
+
return codVerCheck && this.visibleColumns.includes(column.name);
|
|
9908
9915
|
}
|
|
9909
9916
|
else {
|
|
9910
|
-
|
|
9917
|
+
// No explicit list: use column's visibility flag (undefined or true = visible)
|
|
9918
|
+
return (codVerCheck && (!('visible' in column) || column.visible));
|
|
9911
9919
|
}
|
|
9912
9920
|
});
|
|
9913
|
-
// order
|
|
9921
|
+
// Step 2: Sort columns according to the order specified in visibleColumns property
|
|
9922
|
+
// This ordering is ALWAYS applied when visibleColumns is defined, regardless of includeCodVer
|
|
9914
9923
|
if (this.visibleColumns) {
|
|
9915
|
-
|
|
9916
|
-
this.visibleColumns.indexOf(
|
|
9924
|
+
filteredColumns = filteredColumns.sort((columnA, columnB) => {
|
|
9925
|
+
const indexA = this.visibleColumns.indexOf(columnA.name);
|
|
9926
|
+
const indexB = this.visibleColumns.indexOf(columnB.name);
|
|
9927
|
+
return indexA - indexB;
|
|
9928
|
+
});
|
|
9917
9929
|
}
|
|
9918
|
-
//
|
|
9930
|
+
// Step 3: Apply group-based visibility filtering (only when grouping is active)
|
|
9919
9931
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
|
|
9920
|
-
return
|
|
9921
|
-
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9932
|
+
return filteredColumns.filter((column) => {
|
|
9933
|
+
// Find the group that contains this column
|
|
9934
|
+
const associatedGroup = this.groups.find((group) => group.column === column.name);
|
|
9935
|
+
if (associatedGroup) {
|
|
9936
|
+
// Column is in a group: respect the group's visibility flag
|
|
9937
|
+
// If group doesn't have 'visible' property, default to visible
|
|
9938
|
+
return (!associatedGroup.hasOwnProperty('visible') ||
|
|
9939
|
+
associatedGroup.visible);
|
|
9927
9940
|
}
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
}
|
|
9931
|
-
return true; // Not in a group -> visible
|
|
9941
|
+
// Column is not in any group: always visible
|
|
9942
|
+
return true;
|
|
9932
9943
|
});
|
|
9933
9944
|
}
|
|
9934
|
-
return
|
|
9945
|
+
return filteredColumns;
|
|
9935
9946
|
}
|
|
9936
9947
|
getGroupByName(column) {
|
|
9937
9948
|
if (!__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this)) {
|
|
@@ -9997,7 +10008,7 @@ const KupDataTable = class {
|
|
|
9997
10008
|
// Action cell
|
|
9998
10009
|
let actionsCell = null;
|
|
9999
10010
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
10000
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
10011
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
10001
10012
|
extraCells++;
|
|
10002
10013
|
const selectionStyleAndClass = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, extraCells, 0, 0, extraCells);
|
|
10003
10014
|
actionsCell = (h("td", { class: selectionStyleAndClass
|
|
@@ -10209,7 +10220,7 @@ const KupDataTable = class {
|
|
|
10209
10220
|
__classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
10210
10221
|
let rows = null;
|
|
10211
10222
|
if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10212
|
-
rows = (h("tr", { key: '
|
|
10223
|
+
rows = (h("tr", { key: '5af3b5bbddd72dcda17ff381d61f932fb27c8032', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '9f1cc1d0808329c7d4f2895e382bfe905c05aa81', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10213
10224
|
}
|
|
10214
10225
|
else {
|
|
10215
10226
|
rows = [];
|
|
@@ -10285,7 +10296,7 @@ const KupDataTable = class {
|
|
|
10285
10296
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
10286
10297
|
});
|
|
10287
10298
|
}
|
|
10288
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10299
|
+
groupChips = h(FChip, Object.assign({ key: '0afbe37c45826c571290d584a50d6f247ed2c24e' }, props));
|
|
10289
10300
|
}
|
|
10290
10301
|
}
|
|
10291
10302
|
const tableClass = {
|
|
@@ -10317,7 +10328,7 @@ const KupDataTable = class {
|
|
|
10317
10328
|
if (this.headerIsPersistent &&
|
|
10318
10329
|
this.tableHeight === undefined &&
|
|
10319
10330
|
this.tableWidth === undefined) {
|
|
10320
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10331
|
+
stickyEl = (h("sticky-header", { key: 'e62c7b8a4f14798fa748e89c1ebb1e53e4d2d1b4', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'b00940904b9dd3f163dfc0a7420ec9ebe321ea16' }, h("tr-sticky", { key: '45e8a9f3b89fded211707b6e894d62c4781b98bb' }, stickyHeader))));
|
|
10321
10332
|
}
|
|
10322
10333
|
let belowClass = 'below-wrapper';
|
|
10323
10334
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10363,7 +10374,7 @@ const KupDataTable = class {
|
|
|
10363
10374
|
const useGlobalFilter = !this.legacyLook &&
|
|
10364
10375
|
(this.globalFilter ||
|
|
10365
10376
|
this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10366
|
-
const compCreated = (h(Host, { key: '
|
|
10377
|
+
const compCreated = (h(Host, { key: '849919cbff79e9140a7bb6e1068557c055fb4936', "onKup-drop": (e) => {
|
|
10367
10378
|
this.kupDataTableDrop.emit(e.detail);
|
|
10368
10379
|
}, "onKup-cell-input": (e) => {
|
|
10369
10380
|
autoselectOnAction(e);
|
|
@@ -10382,11 +10393,11 @@ const KupDataTable = class {
|
|
|
10382
10393
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10383
10394
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10384
10395
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10385
|
-
} }, h("style", { key: '
|
|
10396
|
+
} }, h("style", { key: '484caa276e09bf7840399c1bee9aa68f5a5cd1a6' }, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h("div", { key: 'fcb5ef491b41dc38fa88749dce546e331c089001', id: componentWrapperId, class: wrapClass }, h("div", { key: 'ac8383cbe45ef36ab0b0424c6c5c5514bbccafb5', class: "group-wrapper" }, groupChips), h("div", { key: 'a1ef43847a9d3e1c768973a53b34b9b5dcf2c7ac', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
10386
10397
|
const t = event.target;
|
|
10387
10398
|
window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10388
10399
|
__classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10389
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
10400
|
+
} }))) : null, paginatorTop && (h("div", { key: '8bb555067a504811cf282719e654f9e3a5a344f9', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
10390
10401
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10391
10402
|
this.kupSave.emit({
|
|
10392
10403
|
comp: this,
|
|
@@ -10436,9 +10447,9 @@ const KupDataTable = class {
|
|
|
10436
10447
|
this.data.rows.unshift(row);
|
|
10437
10448
|
await this.refresh(true);
|
|
10438
10449
|
}
|
|
10439
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10450
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '046551965866a0128eb67895170156f666f69b9b', class: "droparea", ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10440
10451
|
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10441
|
-
: null), h("div", { key: '
|
|
10452
|
+
: null), h("div", { key: '5e7dfb5a888a43f8518ec505f7f46416ccc39dfe', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10442
10453
|
? [
|
|
10443
10454
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10444
10455
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10447,7 +10458,7 @@ const KupDataTable = class {
|
|
|
10447
10458
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10448
10459
|
this.renderCustomizePanel(),
|
|
10449
10460
|
]
|
|
10450
|
-
: null, h("table", { key: '
|
|
10461
|
+
: null, h("table", { key: '8b6fc9cae625399b94ce673d850e63559866ad3f', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
10451
10462
|
ev.stopPropagation();
|
|
10452
10463
|
}, onPointerDown: (e) => {
|
|
10453
10464
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10455,7 +10466,7 @@ const KupDataTable = class {
|
|
|
10455
10466
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10456
10467
|
}, onContextMenu: (e) => {
|
|
10457
10468
|
e.preventDefault();
|
|
10458
|
-
} }, h("thead", { key: '
|
|
10469
|
+
} }, h("thead", { key: '8826b5ce9e48db78fb3c2dc9929c70e7fca7a862', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'ff0eeb4982e2955566c83d3eec4b0fcd1fcb5556' }, header)), h("tbody", { key: 'dc51f20082d292082ae946bdfbd79fe0c9b27022' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10459
10470
|
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10460
10471
|
return compCreated;
|
|
10461
10472
|
}
|
|
@@ -12067,7 +12078,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12067
12078
|
let previousWidth = 0;
|
|
12068
12079
|
const totalFixedColumns = this.fixedColumns +
|
|
12069
12080
|
(__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12070
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)
|
|
12081
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)
|
|
12071
12082
|
? 1
|
|
12072
12083
|
: 0) +
|
|
12073
12084
|
(this.selection === SelectionMode.MULTIPLE_CHECKBOX ? 1 : 0);
|
|
@@ -12361,7 +12372,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12361
12372
|
colSpan += 1;
|
|
12362
12373
|
}
|
|
12363
12374
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12364
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
12375
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
12365
12376
|
colSpan += 1;
|
|
12366
12377
|
}
|
|
12367
12378
|
return colSpan;
|
|
@@ -12485,7 +12496,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12485
12496
|
// Renders action column
|
|
12486
12497
|
let actionsColumn = null;
|
|
12487
12498
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12488
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
12499
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
12489
12500
|
specialExtraCellsCount++;
|
|
12490
12501
|
const selectionStyleAndClass = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
|
|
12491
12502
|
actionsColumn = (h("th", { class: selectionStyleAndClass
|
|
@@ -12553,7 +12564,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12553
12564
|
// Empty cell for the actions
|
|
12554
12565
|
let actionsColumn = null;
|
|
12555
12566
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12556
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
12567
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
12557
12568
|
specialExtraCellsCount++;
|
|
12558
12569
|
const selectionStyleAndClass = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, 0, specialExtraCellsCount - 1);
|
|
12559
12570
|
actionsColumn = (h("th-sticky", { class: selectionStyleAndClass
|
|
@@ -12622,7 +12633,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12622
12633
|
//const colSpan = this.multiSelection ? 2 : 1;
|
|
12623
12634
|
const cells = [];
|
|
12624
12635
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12625
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
12636
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
12626
12637
|
cells.push(h("td", null));
|
|
12627
12638
|
}
|
|
12628
12639
|
if (this.selection === SelectionMode.MULTIPLE_CHECKBOX) {
|
|
@@ -12734,14 +12745,14 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12734
12745
|
// If active, this can be either the first or second cell
|
|
12735
12746
|
let rowActionsCell = null;
|
|
12736
12747
|
if (__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasRowActions).call(this) ||
|
|
12737
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns)) {
|
|
12748
|
+
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.column.hasCodVer(this.data.columns, this.visibleColumns)) {
|
|
12738
12749
|
// Increments
|
|
12739
12750
|
specialExtraCellsCount++;
|
|
12740
12751
|
const actionsStyleAndClass = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_composeFixedCellStyleAndClass).call(this, specialExtraCellsCount, 0, rowCssIndex, specialExtraCellsCount - 1);
|
|
12741
12752
|
const actionsOnRow = [];
|
|
12742
12753
|
if (row.actions) ;
|
|
12743
12754
|
else {
|
|
12744
|
-
const rowActions = __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.row.buildRowActions(row, this.getVisibleColumns({ includeCodVer: true }), this.rowActions, (_b = this.commands) !== null && _b !== void 0 ? _b : []);
|
|
12755
|
+
const rowActions = __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.row.buildRowActions(row, this.getVisibleColumns({ includeCodVer: true }), this.rowActions, (_b = this.commands) !== null && _b !== void 0 ? _b : [], this.visibleColumns);
|
|
12745
12756
|
if (__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").data.action.checkEveryActionHasOnlyIcon(rowActions) ||
|
|
12746
12757
|
(rowActions.length === 1 && rowActions[0].icon)) {
|
|
12747
12758
|
rowActions.forEach((action) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a9 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, W as KupPointerEventTypes, Z as KupDragEffect, aH as kupDraggableAttr, $ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a9 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, W as KupPointerEventTypes, Z as KupDragEffect, aH as kupDraggableAttr, $ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-75b947f4.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-4c4da1ec.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
|
-
import { d as FChip } from './f-chip-
|
|
5
|
+
import { d as FChip } from './f-chip-f9277fd9.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-9353dd77.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-29fcddb4.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-bf500166.js';
|
|
11
11
|
import './f-button-3e022953.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-9912e1a4.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-e797f627.js';
|
|
15
|
+
import './f-text-field-f2cd4df1.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3e022953.js';
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-f9277fd9.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-bf500166.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-40b4e64b.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, aj as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, aj as getCellValueForDisplay } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-bf500166.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, i as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, Z as KupDragEffect, aC as submitPositionAdapter, b as KupLanguageGeneric, aD as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, i as FCellPadding, aB as KupCellElementsPosition, g as getProps, s as setProps, Z as KupDragEffect, aC as submitPositionAdapter, b as KupLanguageGeneric, aD as KupCellProps } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3e022953.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-9353dd77.js';
|
|
6
6
|
import './kup-dates-bf500166.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-40b4e64b.js';
|
|
9
9
|
import './f-checkbox-9912e1a4.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-f9277fd9.js';
|
|
11
|
+
import './f-object-field-e797f627.js';
|
|
12
|
+
import './f-text-field-f2cd4df1.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3e022953.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-f2cd4df1.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, b as KupLanguageGeneric, Z as KupDragEffect, h as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aE as KupLanguageDashboard, b as KupLanguageGeneric, Z as KupDragEffect, h as KupDebugCategory } from './kup-manager-75b947f4.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-40b4e64b.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, aj as getCellValueForDisplay, x as getColumnByName, z as KupObjects, ak as KupData, al as compareCell, O as TotalMode, Q as getRegExpFromString, F as FCellShapes, am as CMBandACPAdapter, an as RADAdapter, ao as CHKAdapter, ap as CHIAdapter, aq as SWTAdapter, a9 as SortMode } from './kup-manager-
|
|
1
|
+
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, aj as getCellValueForDisplay, x as getColumnByName, z as KupObjects, ak as KupData, al as compareCell, O as TotalMode, Q as getRegExpFromString, F as FCellShapes, am as CMBandACPAdapter, an as RADAdapter, ao as CHKAdapter, ap as CHIAdapter, aq as SWTAdapter, a9 as SortMode } from './kup-manager-75b947f4.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-bf500166.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -106,15 +106,8 @@ class FiltersColumnMenu extends Filters {
|
|
|
106
106
|
if (filters == null) {
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
filter = {
|
|
112
|
-
textField: '',
|
|
113
|
-
textFieldTmp: '',
|
|
114
|
-
checkBoxes: [],
|
|
115
|
-
};
|
|
116
|
-
filters[column] = filter;
|
|
117
|
-
}
|
|
109
|
+
// Clone the column-specific filter object to ensure reference change
|
|
110
|
+
let filter = Object.assign({ textField: '', textFieldTmp: '', checkBoxes: [] }, filters[column]);
|
|
118
111
|
if (filter.checkBoxes == null) {
|
|
119
112
|
filter.checkBoxes = [];
|
|
120
113
|
}
|
|
@@ -123,9 +116,11 @@ class FiltersColumnMenu extends Filters {
|
|
|
123
116
|
}
|
|
124
117
|
else {
|
|
125
118
|
if (!Filters.valuesArrayContainsValue(filter.checkBoxes, newFilterItem.value)) {
|
|
126
|
-
|
|
119
|
+
// Clone the checkBoxes array to ensure reference change
|
|
120
|
+
filter.checkBoxes = [...filter.checkBoxes, newFilterItem];
|
|
127
121
|
}
|
|
128
122
|
}
|
|
123
|
+
filters[column] = filter; // Re-assign the new reference
|
|
129
124
|
}
|
|
130
125
|
/**
|
|
131
126
|
* Triggers when a filter checkbox becomes unchecked.
|
|
@@ -139,12 +134,16 @@ class FiltersColumnMenu extends Filters {
|
|
|
139
134
|
if (!filters || remFilter == undefined || !filters[column]) {
|
|
140
135
|
return;
|
|
141
136
|
}
|
|
142
|
-
|
|
137
|
+
// Clone the column-specific filter object to ensure reference change
|
|
138
|
+
let filter = Object.assign({ textField: '', textFieldTmp: '', checkBoxes: [] }, filters[column]);
|
|
143
139
|
filter.checkBoxes = (_a = filter.checkBoxes) !== null && _a !== void 0 ? _a : [];
|
|
144
140
|
filter.checkBoxes = filter.checkBoxes.filter((item) => item.value !== remFilter);
|
|
145
141
|
if (filter.checkBoxes.length === 0) {
|
|
146
142
|
delete filters[column];
|
|
147
143
|
}
|
|
144
|
+
else {
|
|
145
|
+
filters[column] = filter; // Re-assign the new reference
|
|
146
|
+
}
|
|
148
147
|
}
|
|
149
148
|
isColumnNumeric(column) {
|
|
150
149
|
return this.isObjNumeric(column.obj);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-75b947f4.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-bf500166.js';
|
|
5
5
|
|