@sme.up/ketchup 11.0.10 → 11.0.12
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-11e23c5d.js → f-cell-8d59b013.js} +4 -4
- package/dist/cjs/{f-chip-911142ce.js → f-chip-49e64788.js} +1 -1
- package/dist/cjs/{f-object-field-60ddab64.js → f-object-field-3d9272b4.js} +2 -2
- package/dist/cjs/{f-paginator-utils-fcbea8ea.js → f-paginator-utils-dd15c223.js} +1 -1
- package/dist/cjs/{f-text-field-028d892b.js → f-text-field-6187d0a8.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +62 -50
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-a1d68467.js → kup-data-table-helper-02b756ec.js} +6 -3
- package/dist/cjs/{kup-dates-594b0f91.js → kup-dates-e977f515.js} +23 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-gantt_10.cjs.entry.js +2 -2
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-f3bdd297.js → kup-manager-e0c649cb.js} +2 -3
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-renderer-helper-a2e9a62c.js → kup-planner-renderer-helper-c6d2afcc.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +2 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +54 -42
- package/dist/collection/managers/kup-dates/kup-dates.js +23 -1
- package/dist/collection/managers/kup-objects/kup-objects.js +0 -1
- package/dist/collection/utils/filters/filters-rows.js +4 -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 +3 -3
- 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-custom-task-list-table.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-gantt.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-renderer.js +1 -1
- package/dist/components/kup-planner.js +6 -6
- 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-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-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-f8e06edf.js → p-46d64272.js} +2 -2
- package/dist/components/{p-e67d1f0e.js → p-522c0ff2.js} +4 -4
- package/dist/components/{p-9e6dfc20.js → p-5ca8f633.js} +2 -2
- package/dist/components/{p-bf7d326c.js → p-75fcb87d.js} +2 -2
- package/dist/components/{p-fd66b3e0.js → p-91af7893.js} +2 -2
- package/dist/components/{p-7e61d7bf.js → p-99c626fd.js} +60 -45
- package/dist/components/{p-6e16d432.js → p-a0a2840f.js} +1 -1
- package/dist/components/{p-ea482528.js → p-b14664b8.js} +23 -1
- package/dist/components/{p-44a1dec0.js → p-d0eb6f7d.js} +2 -2
- package/dist/components/{p-2b503f65.js → p-e5b2a91a.js} +2 -3
- package/dist/components/{p-5f1a69e4.js → p-fce393a3.js} +2 -2
- package/dist/esm/{f-cell-1b19e875.js → f-cell-be0e2a06.js} +4 -4
- package/dist/esm/{f-chip-a5d7826a.js → f-chip-fdac723c.js} +1 -1
- package/dist/esm/{f-object-field-ac7803c6.js → f-object-field-9f46e3e0.js} +2 -2
- package/dist/esm/{f-paginator-utils-4972c120.js → f-paginator-utils-d5709171.js} +1 -1
- package/dist/esm/{f-text-field-72215da7.js → f-text-field-7c8c7134.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +62 -50
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-6424ddec.js → kup-data-table-helper-4eab2172.js} +6 -3
- package/dist/esm/{kup-dates-c38ee99a.js → kup-dates-5668dda8.js} +23 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-gantt_10.entry.js +2 -2
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-725d4a8b.js → kup-manager-a43e13ec.js} +2 -3
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/{kup-planner-renderer-helper-836d9912.js → kup-planner-renderer-helper-b7cca778.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +2 -2
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-8da1582c.entry.js → p-09aa32d5.entry.js} +1 -1
- package/dist/ketchup/{p-ef8816c0.entry.js → p-0df3724e.entry.js} +1 -1
- package/dist/ketchup/{p-13e4d5ef.entry.js → p-151309cc.entry.js} +1 -1
- package/dist/ketchup/p-19d9c4e7.entry.js +1 -0
- package/dist/ketchup/{p-ff2609e8.entry.js → p-1cd2395c.entry.js} +1 -1
- package/dist/ketchup/{p-73deaaed.entry.js → p-1ebf420f.entry.js} +1 -1
- package/dist/ketchup/{p-d0b30d6a.js → p-236d5a57.js} +1 -1
- package/dist/ketchup/{p-722b0fd6.entry.js → p-237a1fb2.entry.js} +1 -1
- package/dist/ketchup/{p-4453a080.js → p-26707bb9.js} +1 -1
- package/dist/ketchup/{p-901a40a1.entry.js → p-28b4e66a.entry.js} +1 -1
- package/dist/ketchup/{p-d5e0fdf9.js → p-28f8fcd1.js} +1 -1
- package/dist/ketchup/{p-38e435be.js → p-35c85352.js} +1 -1
- package/dist/ketchup/{p-50aeaa13.entry.js → p-3ef047f9.entry.js} +1 -1
- package/dist/ketchup/{p-78d54463.entry.js → p-417fa617.entry.js} +1 -1
- package/dist/ketchup/{p-5734d0f6.entry.js → p-4206caee.entry.js} +1 -1
- package/dist/ketchup/{p-a6a1a6a5.entry.js → p-4221a148.entry.js} +1 -1
- package/dist/ketchup/{p-dba91fab.entry.js → p-4eb64f66.entry.js} +1 -1
- package/dist/ketchup/{p-4019d630.js → p-509e2d39.js} +1 -1
- package/dist/ketchup/{p-77c66d30.entry.js → p-5ca1ea19.entry.js} +1 -1
- package/dist/ketchup/{p-857c601b.entry.js → p-60e9a557.entry.js} +1 -1
- package/dist/ketchup/{p-fb021412.entry.js → p-60fe6071.entry.js} +1 -1
- package/dist/ketchup/{p-232fff60.entry.js → p-6282c2df.entry.js} +1 -1
- package/dist/ketchup/{p-aa65c3e8.entry.js → p-7207eeaa.entry.js} +1 -1
- package/dist/ketchup/{p-7f14faa7.entry.js → p-806b51dd.entry.js} +1 -1
- package/dist/ketchup/p-81f907c2.entry.js +8 -0
- package/dist/ketchup/p-83c717cf.entry.js +1 -0
- package/dist/ketchup/{p-002e8a00.js → p-91ba2e1a.js} +1 -1
- package/dist/ketchup/{p-a8475834.entry.js → p-9f88a513.entry.js} +1 -1
- package/dist/ketchup/{p-aae5253f.entry.js → p-a37f4b8b.entry.js} +1 -1
- package/dist/ketchup/{p-d90c27c1.entry.js → p-b21006e4.entry.js} +1 -1
- package/dist/ketchup/p-bb566248.js +1 -0
- package/dist/ketchup/{p-86204062.entry.js → p-c5b38612.entry.js} +1 -1
- package/dist/ketchup/{p-63bcb26d.entry.js → p-ced0a463.entry.js} +1 -1
- package/dist/ketchup/{p-6a0b5252.entry.js → p-cef66d6e.entry.js} +1 -1
- package/dist/ketchup/{p-7d7f7f74.js → p-d0fcc68a.js} +1 -1
- package/dist/ketchup/{p-42897884.entry.js → p-d7ab81af.entry.js} +1 -1
- package/dist/ketchup/{p-1cf786c6.entry.js → p-ee83230a.entry.js} +1 -1
- package/dist/ketchup/{p-bc675f88.entry.js → p-f2d2a4f9.entry.js} +1 -1
- package/dist/ketchup/{p-84b243f9.js → p-f7d84f38.js} +1 -1
- package/dist/ketchup/{p-de8554d1.entry.js → p-fa893d65.entry.js} +1 -1
- package/dist/types/managers/kup-dates/kup-dates.d.ts +7 -0
- package/package.json +1 -1
- package/dist/ketchup/p-4be59c71.entry.js +0 -1
- package/dist/ketchup/p-7f84b3a5.entry.js +0 -8
- package/dist/ketchup/p-b78b0675.js +0 -1
- package/dist/ketchup/p-fa88962f.entry.js +0 -1
|
@@ -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-a43e13ec.js';
|
|
3
3
|
import { F as FButton } from './f-button-93e7961b.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-a43e13ec.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
|
-
import { K as KupManager } from './kup-manager-
|
|
2
|
-
import './kup-dates-
|
|
1
|
+
import { K as KupManager } from './kup-manager-a43e13ec.js';
|
|
2
|
+
import './kup-dates-5668dda8.js';
|
|
3
3
|
import './index-9b0f4a0d.js';
|
|
4
4
|
|
|
5
5
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
@@ -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
|
-
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-a43e13ec.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';
|
|
6
|
-
import './kup-dates-
|
|
6
|
+
import './kup-dates-5668dda8.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-accordion component.
|
|
@@ -1,9 +1,9 @@
|
|
|
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-a43e13ec.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-
|
|
6
|
-
import './kup-dates-
|
|
5
|
+
import { s as sortRows } from './kup-data-table-helper-4eab2172.js';
|
|
6
|
+
import './kup-dates-5668dda8.js';
|
|
7
7
|
|
|
8
8
|
var KupActivityTimelineProps;
|
|
9
9
|
(function (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 TypesToDuplicate, O as TotalLabel, Q as TotalMode, R as getRegExpFromString, U as isNegativeNumber, V as FCellClasses, W as kupDynamicPositionAttribute, X as KupPointerEventTypes, Y as kupDraggableColumnAttr, Z as kupDragActiveAttr, _ as KupDragEffect, $ as kupDraggableCellAttr, a0 as KupDropEventTypes, a1 as DataTableAreasEnum, a2 as UseAsValue, a3 as FixedCellsClasses, a4 as FixedCellsCSSVarsBase, a5 as KupLanguageFontsize, a6 as KupLanguageDensity, a7 as KupLanguageGrid, a8 as KupDataTableProps, 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 TypesToDuplicate, O as TotalLabel, Q as TotalMode, R as getRegExpFromString, U as isNegativeNumber, V as FCellClasses, W as kupDynamicPositionAttribute, X as KupPointerEventTypes, Y as kupDraggableColumnAttr, Z as kupDragActiveAttr, _ as KupDragEffect, $ as kupDraggableCellAttr, a0 as KupDropEventTypes, a1 as DataTableAreasEnum, a2 as UseAsValue, a3 as FixedCellsClasses, a4 as FixedCellsCSSVarsBase, a5 as KupLanguageFontsize, a6 as KupLanguageDensity, a7 as KupLanguageGrid, a8 as KupDataTableProps, 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-a43e13ec.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-7c8c7134.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-fdac723c.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-93e7961b.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-
|
|
11
|
-
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-
|
|
10
|
+
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-be0e2a06.js';
|
|
11
|
+
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-5668dda8.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-4eab2172.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-d5709171.js';
|
|
16
|
+
import './f-object-field-9f46e3e0.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -8741,7 +8741,7 @@ var __classPrivateFieldSet$4 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
8741
8741
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
8742
8742
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
8743
8743
|
};
|
|
8744
|
-
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_cellToFocus, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_getCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_addRowHandler, _KupDataTable_createRowWithInputFields, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified
|
|
8744
|
+
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_cellToFocus, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_getCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_addRowHandler, _KupDataTable_createRowWithInputFields, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified;
|
|
8745
8745
|
const dom$2 = document.documentElement;
|
|
8746
8746
|
const KupDataTable = class {
|
|
8747
8747
|
constructor(hostRef) {
|
|
@@ -9011,28 +9011,40 @@ const KupDataTable = class {
|
|
|
9011
9011
|
'grid_off',
|
|
9012
9012
|
]);
|
|
9013
9013
|
_KupDataTable_addRowHandler.set(this, async (row) => {
|
|
9014
|
-
var _a, _b;
|
|
9015
|
-
var _c;
|
|
9016
9014
|
let newRow;
|
|
9015
|
+
// Retrieves the currently selected rows, if any. They will be used as a
|
|
9016
|
+
// template for the new row when available.
|
|
9017
9017
|
const selectedRows = await this.getSelectedRows();
|
|
9018
9018
|
if (selectedRows.length > 0) {
|
|
9019
|
-
newRow =
|
|
9020
|
-
}
|
|
9021
|
-
else if (((_b = (_a = __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0 && !row) {
|
|
9022
|
-
newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
|
|
9019
|
+
newRow = __classPrivateFieldGet$8(this, _KupDataTable_createRowWithInputFields, "f").call(this, selectedRows[0]);
|
|
9023
9020
|
}
|
|
9024
9021
|
else if (row) {
|
|
9022
|
+
// An explicit row was provided: build the new row from it, applying
|
|
9023
|
+
// the column input-field configuration.
|
|
9025
9024
|
newRow = __classPrivateFieldGet$8(this, _KupDataTable_createRowWithInputFields, "f").call(this, row);
|
|
9026
9025
|
}
|
|
9027
9026
|
else {
|
|
9027
|
+
// Nothing to copy from: build a blank row with input fields based on
|
|
9028
|
+
// the current column definitions.
|
|
9028
9029
|
newRow = __classPrivateFieldGet$8(this, _KupDataTable_createRowWithInputFields, "f").call(this);
|
|
9029
9030
|
}
|
|
9031
|
+
// When no template was used (no selection and no explicit row), reset the
|
|
9032
|
+
// value of every cell so the new record is empty and ready for input.
|
|
9030
9033
|
Object.values(newRow.cells).forEach((cell) => {
|
|
9031
|
-
|
|
9034
|
+
var _a;
|
|
9035
|
+
if (selectedRows.length === 0 && !row) {
|
|
9032
9036
|
cell.value = '';
|
|
9037
|
+
if ((_a = cell === null || cell === void 0 ? void 0 : cell.data) === null || _a === void 0 ? void 0 : _a.initialValue) {
|
|
9038
|
+
cell.data.initialValue = '';
|
|
9039
|
+
}
|
|
9033
9040
|
}
|
|
9034
9041
|
});
|
|
9035
|
-
|
|
9042
|
+
// Assigns an id to the new row. The id is always the highest id
|
|
9043
|
+
// currently present in the data plus one, so inserted rows are always
|
|
9044
|
+
// ordered (0, 1, 2, 3, ...) regardless of insertions or deletions.
|
|
9045
|
+
const currentMaxId = this.data.rows.reduce((max, r) => Math.max(max, parseInt(r.id) || 0), __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoadedMaxId, "f"));
|
|
9046
|
+
newRow.id = (currentMaxId + 1).toString();
|
|
9047
|
+
// Tracks the new row as inserted and prepends it to the table data.
|
|
9036
9048
|
__classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
|
|
9037
9049
|
this.insertNewRow(newRow, true);
|
|
9038
9050
|
});
|
|
@@ -9041,18 +9053,22 @@ const KupDataTable = class {
|
|
|
9041
9053
|
const row = { cells: {} };
|
|
9042
9054
|
(_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
|
|
9043
9055
|
var _a, _b, _c;
|
|
9056
|
+
const columnData = Object.assign(Object.assign({}, c === null || c === void 0 ? void 0 : c['data']), (c['length'] && c['maxLength']
|
|
9057
|
+
? {
|
|
9058
|
+
size: c['length'],
|
|
9059
|
+
maxLength: c['maxLength'],
|
|
9060
|
+
}
|
|
9061
|
+
: {}));
|
|
9044
9062
|
const cell = ((_a = rowToCopy === null || rowToCopy === void 0 ? void 0 : rowToCopy.cells) === null || _a === void 0 ? void 0 : _a[c.name])
|
|
9045
|
-
?
|
|
9063
|
+
? (() => {
|
|
9064
|
+
const clonedCell = JSON.parse(JSON.stringify(rowToCopy.cells[c.name]));
|
|
9065
|
+
return Object.assign(Object.assign({}, clonedCell), { data: Object.assign(Object.assign({}, columnData), clonedCell === null || clonedCell === void 0 ? void 0 : clonedCell.data) });
|
|
9066
|
+
})()
|
|
9046
9067
|
: {
|
|
9047
9068
|
shape: (_b = c.shape) !== null && _b !== void 0 ? _b : FCellShapes.TEXT_FIELD,
|
|
9048
9069
|
obj: Object.assign({}, c.obj),
|
|
9049
9070
|
isEditable: (_c = c.isEditable) !== null && _c !== void 0 ? _c : true,
|
|
9050
|
-
data:
|
|
9051
|
-
? {
|
|
9052
|
-
size: c['length'],
|
|
9053
|
-
maxLength: c['maxLength'],
|
|
9054
|
-
}
|
|
9055
|
-
: {},
|
|
9071
|
+
data: columnData,
|
|
9056
9072
|
};
|
|
9057
9073
|
row.cells[c.name] = cell;
|
|
9058
9074
|
});
|
|
@@ -9160,7 +9176,6 @@ const KupDataTable = class {
|
|
|
9160
9176
|
this.showFilters = state.showFilters;
|
|
9161
9177
|
this.showGroups = state.showGroups;
|
|
9162
9178
|
this.showHeader = state.showHeader;
|
|
9163
|
-
this.showLoadMore = state.showLoadMore;
|
|
9164
9179
|
this.showPaginator = state.showPaginator;
|
|
9165
9180
|
this.hiddenSubmitButton = state.hiddenSubmitButton;
|
|
9166
9181
|
this.sortEnabled = state.sortEnabled;
|
|
@@ -9273,7 +9288,9 @@ const KupDataTable = class {
|
|
|
9273
9288
|
if (originalDataRowIndex > -1) {
|
|
9274
9289
|
this.data.rows[originalDataRowIndex].cells =
|
|
9275
9290
|
structuredClone(row.cells);
|
|
9276
|
-
|
|
9291
|
+
// Track the row by its id (consistent with the other
|
|
9292
|
+
// places where #modifiedRowsIds is populated).
|
|
9293
|
+
__classPrivateFieldGet$8(this, _KupDataTable_modifiedRowsIds, "f").push(row.id);
|
|
9277
9294
|
}
|
|
9278
9295
|
else {
|
|
9279
9296
|
__classPrivateFieldGet$8(this, _KupDataTable_addRowHandler, "f").call(this, row);
|
|
@@ -9388,6 +9405,10 @@ const KupDataTable = class {
|
|
|
9388
9405
|
}
|
|
9389
9406
|
if (deletedRows.length > 0) {
|
|
9390
9407
|
this.data.rows = newRows;
|
|
9408
|
+
// Clean up the tracking arrays so deleted rows are no longer
|
|
9409
|
+
// considered inserted or modified.
|
|
9410
|
+
__classPrivateFieldSet$4(this, _KupDataTable_insertedRowIds, __classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f").filter((id) => !ids.includes(id)), "f");
|
|
9411
|
+
__classPrivateFieldSet$4(this, _KupDataTable_modifiedRowsIds, __classPrivateFieldGet$8(this, _KupDataTable_modifiedRowsIds, "f").filter((id) => !ids.includes(id)), "f");
|
|
9391
9412
|
await this.refresh(true);
|
|
9392
9413
|
}
|
|
9393
9414
|
return deletedRows;
|
|
@@ -10220,7 +10241,7 @@ const KupDataTable = class {
|
|
|
10220
10241
|
};
|
|
10221
10242
|
// Add list elements
|
|
10222
10243
|
const listData = [];
|
|
10223
|
-
if (column.formula) {
|
|
10244
|
+
if (column.formula && !column.formula.includes('ATT(')) {
|
|
10224
10245
|
/* Formula cloumn */
|
|
10225
10246
|
const formula = (_a = ((__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this) && this.totals[column.name]) ||
|
|
10226
10247
|
column.formula)) === null || _a === void 0 ? void 0 : _a.replace(getRegExpFromString(TotalMode.MATH, 'g'), '');
|
|
@@ -10334,7 +10355,7 @@ const KupDataTable = class {
|
|
|
10334
10355
|
__classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
10335
10356
|
let rows = null;
|
|
10336
10357
|
if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10337
|
-
rows = (h("tr", { key: '
|
|
10358
|
+
rows = (h("tr", { key: 'ed437895cd70ec898aa734c94c1cd6bec382f247', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: 'ddd692b49ca2ea4f2cf63573168e87c1b4afb974', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10338
10359
|
}
|
|
10339
10360
|
else {
|
|
10340
10361
|
rows = [];
|
|
@@ -10410,7 +10431,7 @@ const KupDataTable = class {
|
|
|
10410
10431
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
10411
10432
|
});
|
|
10412
10433
|
}
|
|
10413
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10434
|
+
groupChips = h(FChip, Object.assign({ key: '1221f02d10b05dab4ff63b800d50760d19a40520' }, props));
|
|
10414
10435
|
}
|
|
10415
10436
|
}
|
|
10416
10437
|
const tableClass = {
|
|
@@ -10442,7 +10463,7 @@ const KupDataTable = class {
|
|
|
10442
10463
|
if (this.headerIsPersistent &&
|
|
10443
10464
|
this.tableHeight === undefined &&
|
|
10444
10465
|
this.tableWidth === undefined) {
|
|
10445
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10466
|
+
stickyEl = (h("sticky-header", { key: '8e59c7d5ff67698dd7f5a78dc6770d6430ced311', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '601222f02bd8ac921b2768e366a5e797842a5660' }, h("tr-sticky", { key: 'fec0d68ba74060bfc71f153c5663fa591a454209' }, stickyHeader))));
|
|
10446
10467
|
}
|
|
10447
10468
|
let belowClass = 'below-wrapper';
|
|
10448
10469
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10488,7 +10509,7 @@ const KupDataTable = class {
|
|
|
10488
10509
|
const useGlobalFilter = !this.legacyLook &&
|
|
10489
10510
|
(this.globalFilter ||
|
|
10490
10511
|
this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10491
|
-
const compCreated = (h(Host, { key: '
|
|
10512
|
+
const compCreated = (h(Host, { key: '7513b10bffe79a30ea5da12b20b2ff10cf0bbfc7', "onKup-drop": (e) => {
|
|
10492
10513
|
this.kupDataTableDrop.emit(e.detail);
|
|
10493
10514
|
}, "onKup-cell-input": (e) => {
|
|
10494
10515
|
autoselectOnAction(e);
|
|
@@ -10507,11 +10528,11 @@ const KupDataTable = class {
|
|
|
10507
10528
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10508
10529
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10509
10530
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10510
|
-
} }, h("style", { key: '
|
|
10531
|
+
} }, h("style", { key: '3bf5147c93c3da6ddd050582d045b2b0f8f1617c' }, __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: '7ce524ba366159b9a6174280d9de33b45757e70a', id: componentWrapperId, class: wrapClass }, h("div", { key: 'a2b0d15d1cf2696285cd6a642547c365e01ed169', class: "group-wrapper" }, groupChips), h("div", { key: '31767e74aee98e923dbcd24a224e901747c898cd', 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) => {
|
|
10511
10532
|
const t = event.target;
|
|
10512
10533
|
window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10513
10534
|
__classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10514
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
10535
|
+
} }))) : null, paginatorTop && (h("div", { key: '5bbc111d4bb1a614cd0b29cbe13d435c3a23a7ef', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
10515
10536
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10516
10537
|
this.kupSave.emit({
|
|
10517
10538
|
comp: this,
|
|
@@ -10561,9 +10582,9 @@ const KupDataTable = class {
|
|
|
10561
10582
|
this.data.rows.unshift(row);
|
|
10562
10583
|
await this.refresh(true);
|
|
10563
10584
|
}
|
|
10564
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10585
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'c0f59b454068f17b45640d872fb383b7c172c109', 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
|
|
10565
10586
|
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10566
|
-
: null), h("div", { key: '
|
|
10587
|
+
: null), h("div", { key: 'f4f6dacbd8e280dce21b0d5a8d2efac949ac4254', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10567
10588
|
? [
|
|
10568
10589
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10569
10590
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10572,7 +10593,7 @@ const KupDataTable = class {
|
|
|
10572
10593
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10573
10594
|
this.renderCustomizePanel(),
|
|
10574
10595
|
]
|
|
10575
|
-
: null, h("table", { key: '
|
|
10596
|
+
: null, h("table", { key: '3df4d878275fcfac135303bfa5591e596aebb44e', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
10576
10597
|
ev.stopPropagation();
|
|
10577
10598
|
}, onPointerDown: (e) => {
|
|
10578
10599
|
__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");
|
|
@@ -10580,7 +10601,7 @@ const KupDataTable = class {
|
|
|
10580
10601
|
__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");
|
|
10581
10602
|
}, onContextMenu: (e) => {
|
|
10582
10603
|
e.preventDefault();
|
|
10583
|
-
} }, h("thead", { key: '
|
|
10604
|
+
} }, h("thead", { key: '0883bbfaf0f09105dac92f48ab7818ce73ad4868', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '449bf59f5d1902a18b5b98af6e72e7ef0c3425cf' }, header)), h("tbody", { key: 'd0c0c85a377b854af4acc18897196c26f679602c' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10584
10605
|
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10585
10606
|
return compCreated;
|
|
10586
10607
|
}
|
|
@@ -10726,10 +10747,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
10726
10747
|
this.state.showHeader = this.showHeader;
|
|
10727
10748
|
somethingChanged = true;
|
|
10728
10749
|
}
|
|
10729
|
-
if (!__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
10730
|
-
this.state.showLoadMore = this.showLoadMore;
|
|
10731
|
-
somethingChanged = true;
|
|
10732
|
-
}
|
|
10733
10750
|
if (!__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showPaginator, this.showPaginator)) {
|
|
10734
10751
|
this.state.showPaginator = this.showPaginator;
|
|
10735
10752
|
somethingChanged = true;
|
|
@@ -13317,9 +13334,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
13317
13334
|
onClickHandler: () => {
|
|
13318
13335
|
const selectedRowsIds = this.selectedRows.map((row) => row.id);
|
|
13319
13336
|
const insertedRowsIds = __classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f");
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13337
|
+
// If every selected row is an inserted (unconfirmed) row,
|
|
13338
|
+
// delete them locally without calling the update.
|
|
13339
|
+
const allSelectedAreInserted = selectedRowsIds.every((id) => insertedRowsIds.includes(id));
|
|
13340
|
+
if (allSelectedAreInserted) {
|
|
13323
13341
|
this.deleteRows(selectedRowsIds);
|
|
13324
13342
|
}
|
|
13325
13343
|
else {
|
|
@@ -13353,12 +13371,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
13353
13371
|
return __classPrivateFieldGet$8(this, _KupDataTable_insertedRowIds, "f").includes(rowId);
|
|
13354
13372
|
}, _KupDataTable_isRowModified = function _KupDataTable_isRowModified(rowId) {
|
|
13355
13373
|
return __classPrivateFieldGet$8(this, _KupDataTable_modifiedRowsIds, "f").includes(rowId);
|
|
13356
|
-
}, _KupDataTable_arraysContainSameElements = function _KupDataTable_arraysContainSameElements(arr1, arr2) {
|
|
13357
|
-
if (arr1.length !== arr2.length)
|
|
13358
|
-
return false;
|
|
13359
|
-
const sorted1 = [...arr1].sort();
|
|
13360
|
-
const sorted2 = [...arr2].sort();
|
|
13361
|
-
return sorted1.every((val, index) => val === sorted2[index]);
|
|
13362
13374
|
};
|
|
13363
13375
|
KupDataTable.style = KupDataTableStyle0;
|
|
13364
13376
|
|
|
@@ -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, X as KupPointerEventTypes, _ as KupDragEffect, aH as kupDraggableAttr, a0 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, X as KupPointerEventTypes, _ as KupDragEffect, aH as kupDraggableAttr, a0 as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-a43e13ec.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-4eab2172.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-fdac723c.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-be0e2a06.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-d5709171.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
|
-
import './kup-dates-
|
|
10
|
+
import './kup-dates-5668dda8.js';
|
|
11
11
|
import './f-button-93e7961b.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-9f46e3e0.js';
|
|
15
|
+
import './f-text-field-7c8c7134.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
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-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-93e7961b.js';
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
6
|
-
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-fdac723c.js';
|
|
6
|
+
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-5668dda8.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-40b4e64b.js';
|
|
9
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-5668dda8.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-card-list component.
|
|
@@ -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, _ 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, _ as KupDragEffect, aC as submitPositionAdapter, b as KupLanguageGeneric, aD as KupCellProps } from './kup-manager-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-93e7961b.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
6
|
-
import './kup-dates-
|
|
5
|
+
import { F as FCell } from './f-cell-be0e2a06.js';
|
|
6
|
+
import './kup-dates-5668dda8.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-fdac723c.js';
|
|
11
|
+
import './f-object-field-9f46e3e0.js';
|
|
12
|
+
import './f-text-field-7c8c7134.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,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { a as KupDates, c as commonjsGlobal } from './kup-dates-
|
|
2
|
+
import { a as KupDates, c as commonjsGlobal } from './kup-dates-5668dda8.js';
|
|
3
3
|
import { d as createArrayFromNum, i as isKeyboardEvent, g as getProgressPoint, h as handleTaskBySVGMouseEvent } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { d as defaultDateTimeFormatters, a as getDaysInMonth, b as getCachedDateTimeFormat, c as getLocalDayOfWeek, e as getLocaleMonth } from './kup-planner-time-formatter-ddf84f9b.js';
|
|
5
5
|
import { d as defaultStylingOptions } from './kup-planner-declarations-0704bc6c.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
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-93e7961b.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-7c8c7134.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, _ 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, _ as KupDragEffect, h as KupDebugCategory } from './kup-manager-a43e13ec.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';
|
|
10
10
|
import './component-a35bc7f1.js';
|
|
11
|
-
import './kup-dates-
|
|
11
|
+
import './kup-dates-5668dda8.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Props of the kup-dashboard component.
|
|
@@ -1,5 +1,5 @@
|
|
|
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, Q as TotalMode, R 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-
|
|
2
|
-
import { K as KupDatesFormats } from './kup-dates-
|
|
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, Q as TotalMode, R 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-a43e13ec.js';
|
|
2
|
+
import { K as KupDatesFormats } from './kup-dates-5668dda8.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Filtering algorithms related to column menus.
|
|
@@ -341,7 +341,10 @@ class FiltersRows extends Filters {
|
|
|
341
341
|
// There are no filters to check -> the element is valid
|
|
342
342
|
!columnFilters.hasFiltersForColumn(filters, currentColumn);
|
|
343
343
|
let b2 = _filterIsNegative;
|
|
344
|
-
|
|
344
|
+
// Cells without obj have nothing to be checked against: b2 must stay neutral
|
|
345
|
+
// (true for negative filters, which are ANDed, false for positive ones, which are ORed).
|
|
346
|
+
if (cell.obj &&
|
|
347
|
+
!kupObjects.isNumber(cell.obj) &&
|
|
345
348
|
!kupObjects.isDate(cell.obj) &&
|
|
346
349
|
!kupObjects.isTime(cell.obj) &&
|
|
347
350
|
!kupObjects.isTimestamp(cell.obj)) {
|
|
@@ -630,6 +630,24 @@ class KupDates {
|
|
|
630
630
|
}
|
|
631
631
|
return cleanedNumbers;
|
|
632
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Cleans a time string (e.g., "08:20:08" -> "082008", "123" -> "0123").
|
|
635
|
+
* Unlike dates, a 6-digit time must not be interpreted as a day/month/year.
|
|
636
|
+
* @param input - Input time string
|
|
637
|
+
* @returns Numeric string with an even number of digits (HH, HHMM, HHMMSS, HHMMSSCC)
|
|
638
|
+
*/
|
|
639
|
+
cleanInputTimeString(input) {
|
|
640
|
+
if (!input) {
|
|
641
|
+
return '';
|
|
642
|
+
}
|
|
643
|
+
if (this.isIsoDate(input)) {
|
|
644
|
+
return input;
|
|
645
|
+
}
|
|
646
|
+
const cleanedNumbers = input.replace(/[^0-9]/g, '').trim();
|
|
647
|
+
return cleanedNumbers.length % 2 === 1 && cleanedNumbers.length > 1
|
|
648
|
+
? '0' + cleanedNumbers
|
|
649
|
+
: cleanedNumbers;
|
|
650
|
+
}
|
|
633
651
|
/**
|
|
634
652
|
* Helper method to pad unseparated date strings (e.g., "1122023" -> "01122023")
|
|
635
653
|
* @param input - Clean numeric string
|
|
@@ -668,7 +686,11 @@ class KupDates {
|
|
|
668
686
|
*/
|
|
669
687
|
normalize(input, type) {
|
|
670
688
|
const l = type !== null && type !== void 0 ? type : dayjs.Ls[this.locale].formats.L;
|
|
671
|
-
|
|
689
|
+
const isTime = type === KupDatesFormats.ISO_TIME ||
|
|
690
|
+
type === KupDatesFormats.ISO_TIME_WITHOUT_SECONDS;
|
|
691
|
+
input = isTime
|
|
692
|
+
? this.cleanInputTimeString(input)
|
|
693
|
+
: this.cleanInputDateString(input);
|
|
672
694
|
switch (type) {
|
|
673
695
|
case KupDatesFormats.ISO_TIME:
|
|
674
696
|
case KupDatesFormats.ISO_TIME_WITHOUT_SECONDS:
|
|
@@ -1,7 +1,7 @@
|
|
|
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-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-5668dda8.js';
|
|
5
5
|
|
|
6
6
|
const drawerClass = 'drawer';
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, aj as getCellValueForDisplay, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, aj as getCellValueForDisplay, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-5668dda8.js';
|
|
5
5
|
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,7 +1,7 @@
|
|
|
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-a43e13ec.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-
|
|
4
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-5668dda8.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-93e7961b.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, X as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, X as KupPointerEventTypes } from './kup-manager-a43e13ec.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import './kup-dates-
|
|
7
|
+
import './kup-dates-5668dda8.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Props of the kup-family-tree component.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, f as forceUpdate, d as getElement, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-
|
|
2
|
+
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-b7cca778.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks, c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { e as KUP_PLANNER_MAIN_GANTT_ID } from './kup-planner-declarations-0704bc6c.js';
|
|
5
|
-
import './kup-dates-
|
|
5
|
+
import './kup-dates-5668dda8.js';
|
|
6
6
|
|
|
7
7
|
const kupGanttCss = ".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}.wrapper{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}.ganttContainer{background:var(--kup-layer-2);border-radius:var(--kup-radius-00);overflow:hidden;padding:var(--kup-space-05)}.ganttVerticalContainer{overflow:hidden;font-size:0;margin:0;padding:0}.horizontalContainer{margin:0;padding:0;overflow:hidden}.horizontalContainerScrollable{overflow:auto !important;scrollbar-width:0}.horizontalContainerScrollable::-webkit-scrollbar{width:0;height:0}.task-gantt{overflow:hidden}";
|
|
8
8
|
const KupGanttStyle0 = kupGanttCss;
|