@sme.up/ketchup 11.0.0-SNAPSHOT-20241217103126 → 11.0.0-SNAPSHOT-20241217115741
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-752a5bc4.js → f-cell-732263b0.js} +16 -16
- package/dist/cjs/{f-chip-0342fdc1.js → f-chip-238c78d1.js} +1 -1
- package/dist/cjs/{f-object-field-74179ab4.js → f-object-field-8bca23a7.js} +2 -2
- package/dist/cjs/{f-paginator-utils-db5e6e08.js → f-paginator-utils-be634c3c.js} +1 -1
- package/dist/cjs/{f-text-field-ed89e4d2.js → f-text-field-b5a51398.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_28.cjs.entry.js +142 -175
- 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-d6d793fc.js → kup-data-table-helper-07df1b41.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- 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-image-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-input-panel.cjs.entry.js +54 -199
- 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-4e75f704.js → kup-manager-f5ccf3d0.js} +1 -0
- 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-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- 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 +97 -70
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +49 -194
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
- package/dist/collection/f-components/f-cell/f-cell.js +12 -12
- 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-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 +2 -2
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +52 -197
- 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-pdf.js +2 -2
- package/dist/components/kup-photo-frame.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-3bed44d4.js → p-248b85c1.js} +2 -2
- package/dist/components/{p-b96e265d.js → p-3bf643ae.js} +2 -2
- package/dist/components/{p-83a86ca8.js → p-5c82ed77.js} +2 -2
- package/dist/components/{p-f22fb696.js → p-5ee0b3dc.js} +223 -256
- package/dist/components/{p-14aad914.js → p-8138bfb7.js} +1 -0
- package/dist/components/{p-e2f1b5d3.js → p-b31cf6a0.js} +2 -2
- package/dist/esm/{f-cell-07fa16b7.js → f-cell-b6871cf3.js} +16 -16
- package/dist/esm/{f-chip-70a06610.js → f-chip-ba9a3748.js} +1 -1
- package/dist/esm/{f-object-field-4f6d8bb7.js → f-object-field-e76b1e59.js} +2 -2
- package/dist/esm/{f-paginator-utils-17f01722.js → f-paginator-utils-54e4b908.js} +1 -1
- package/dist/esm/{f-text-field-3521b89f.js → f-text-field-48beba2c.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_28.entry.js +142 -175
- 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-d85d607a.js → kup-data-table-helper-c2ac5163.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- 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-image-list.entry.js +5 -5
- package/dist/esm/kup-input-panel.entry.js +54 -199
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-02418eff.js → kup-manager-02d449a3.js} +2 -1
- 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-pdf.entry.js +1 -1
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- 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-8f6b99d1.entry.js → p-004e0b2c.entry.js} +1 -1
- package/dist/ketchup/{p-a34e3c9a.entry.js → p-0ee306a5.entry.js} +1 -1
- package/dist/ketchup/p-16a65a92.js +1 -0
- package/dist/ketchup/{p-bd8c59be.js → p-2ca239c5.js} +1 -1
- package/dist/ketchup/{p-8cfb1c3c.entry.js → p-32beb39d.entry.js} +1 -1
- package/dist/ketchup/{p-b4bf8262.entry.js → p-43bdc189.entry.js} +1 -1
- package/dist/ketchup/{p-100b68f9.entry.js → p-4c23dfc6.entry.js} +1 -1
- package/dist/ketchup/{p-87c116ed.entry.js → p-4ce1c468.entry.js} +1 -1
- package/dist/ketchup/{p-200fee46.entry.js → p-597facc7.entry.js} +1 -1
- package/dist/ketchup/{p-00969f5a.entry.js → p-5fbe73fa.entry.js} +1 -1
- package/dist/ketchup/{p-c9961dde.entry.js → p-63ac7b9d.entry.js} +1 -1
- package/dist/ketchup/{p-ccb446a9.entry.js → p-6a6887c2.entry.js} +1 -1
- package/dist/ketchup/{p-fc32246e.entry.js → p-6aef8eca.entry.js} +1 -1
- package/dist/ketchup/p-6dd4c3c1.entry.js +1 -0
- package/dist/ketchup/{p-92daefa6.entry.js → p-72148698.entry.js} +1 -1
- package/dist/ketchup/{p-df467d12.entry.js → p-75ed372c.entry.js} +1 -1
- package/dist/ketchup/p-76d0aeb9.entry.js +9 -0
- package/dist/ketchup/{p-f63e26e4.entry.js → p-808a7ffa.entry.js} +1 -1
- package/dist/ketchup/{p-d2732f45.entry.js → p-85512014.entry.js} +1 -1
- package/dist/ketchup/{p-b640b0d3.js → p-927aa746.js} +2 -2
- package/dist/ketchup/{p-f11b1064.js → p-9a33082b.js} +1 -1
- package/dist/ketchup/{p-9f7826b8.entry.js → p-9cdfce9d.entry.js} +1 -1
- package/dist/ketchup/{p-2e8b266e.entry.js → p-a4ac2d83.entry.js} +1 -1
- package/dist/ketchup/{p-24e66646.entry.js → p-a9738796.entry.js} +1 -1
- package/dist/ketchup/{p-c51aca8b.entry.js → p-bdf12dc3.entry.js} +1 -1
- package/dist/ketchup/{p-1339b77a.entry.js → p-c10caeed.entry.js} +1 -1
- package/dist/ketchup/{p-b6fa890b.entry.js → p-c9924da3.entry.js} +1 -1
- package/dist/ketchup/{p-08608891.js → p-ce299c02.js} +1 -1
- package/dist/ketchup/{p-8876e673.entry.js → p-ce37247c.entry.js} +1 -1
- package/dist/ketchup/p-d52a97d6.entry.js +1 -0
- package/dist/ketchup/{p-9e8bd55a.entry.js → p-d75f7618.entry.js} +1 -1
- package/dist/ketchup/{p-4b13c5f5.entry.js → p-d9bd93d2.entry.js} +1 -1
- package/dist/ketchup/{p-51f2ffb9.entry.js → p-dd567e1d.entry.js} +1 -1
- package/dist/ketchup/{p-edcb4ac6.entry.js → p-e5b796d2.entry.js} +1 -1
- package/dist/ketchup/p-ed3253c1.js +1 -0
- package/dist/ketchup/{p-93dff1f9.js → p-ed3ff1ae.js} +1 -1
- package/dist/ketchup/{p-c4617db5.entry.js → p-f252ef4f.entry.js} +1 -1
- package/dist/ketchup/{p-026a5635.entry.js → p-f81d80a7.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -1
- package/dist/types/components.d.ts +8 -2
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
- package/package.json +1 -1
- package/dist/ketchup/p-0c8cb88e.js +0 -1
- package/dist/ketchup/p-60a761cb.entry.js +0 -9
- package/dist/ketchup/p-67eacdd7.entry.js +0 -1
- package/dist/ketchup/p-72ed5abb.js +0 -1
- package/dist/ketchup/p-fcdeb4b6.entry.js +0 -1
|
@@ -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-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, y as identify, g as getProps, s as setProps,
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, y as identify, g as getProps, s as setProps, a1 as SortMode, v as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, N as KupPointerEventTypes, R as KupDragEffect, aw as kupDraggableAttr, V as KupDropEventTypes, E as KupLanguageSearch } from './kup-manager-02d449a3.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-c2ac5163.js';
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
|
-
import { c as FChip } from './f-chip-
|
|
5
|
+
import { c as FChip } from './f-chip-ba9a3748.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-b6871cf3.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-54e4b908.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
11
11
|
import './f-checkbox-ed122005.js';
|
|
12
|
-
import './f-text-field-
|
|
12
|
+
import './f-text-field-48beba2c.js';
|
|
13
13
|
import './f-button-acef8cca.js';
|
|
14
14
|
import './f-button-declarations-6c8f8abe.js';
|
|
15
|
-
import './f-object-field-
|
|
15
|
+
import './f-object-field-e76b1e59.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, v as getColumnByName, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, v as getColumnByName, e as KupDebugCategory } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
5
|
-
import { c as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { c as FChip, F as FChipType } from './f-chip-ba9a3748.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-e8fec767.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-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupCardFamily, ag as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupCardFamily, ag as getCellValueForDisplay } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.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-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, f as FCellPadding, aq as KupCellElementsPosition, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, f as FCellPadding, aq as KupCellElementsPosition, g as getProps, s as setProps, R as KupDragEffect, ar as submitPositionAdapter, h as KupLanguageGeneric, as as KupCellProps } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-b6871cf3.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-e8fec767.js';
|
|
9
9
|
import './f-checkbox-ed122005.js';
|
|
10
|
-
import './f-text-field-
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
10
|
+
import './f-text-field-48beba2c.js';
|
|
11
|
+
import './f-chip-ba9a3748.js';
|
|
12
|
+
import './f-object-field-e76b1e59.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: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:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);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-c9246a86.js';
|
|
2
2
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-ed122005.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-48beba2c.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, at as KupLanguageDashboard, h as KupLanguageGeneric,
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, at as KupLanguageDashboard, h as KupLanguageGeneric, R as KupDragEffect, e as KupDebugCategory } from './kup-manager-02d449a3.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-e8fec767.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Filters, H as FilterInterval, D as getValueForDisplay, B as getValueForDisplay2, ag as getCellValueForDisplay, v as getColumnByName, x as KupObjects, ak as KupData, al as compareCell,
|
|
1
|
+
import { C as Filters, H as FilterInterval, D as getValueForDisplay, B as getValueForDisplay2, ag as getCellValueForDisplay, v as getColumnByName, x as KupObjects, ak as KupData, al as compareCell, J as TotalMode, e as KupDebugCategory, F as FCellShapes, ac as CMBandACPAdapter, ab as RADAdapter, am as CHKAdapter, an as CHIAdapter, ao as SWTAdapter, a1 as SortMode } from './kup-manager-02d449a3.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -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-c9246a86.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-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, v as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, v as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -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-c9246a86.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-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric,
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes } from './kup-manager-02d449a3.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-da19044e.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -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-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-02d449a3.js';
|
|
3
3
|
import './kup-dates-da19044e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes, f as FCellPadding } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
5
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
6
6
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-b6871cf3.js';
|
|
8
8
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
9
9
|
import './kup-dates-da19044e.js';
|
|
10
10
|
import './f-checkbox-ed122005.js';
|
|
11
|
-
import './f-text-field-
|
|
12
|
-
import './f-chip-
|
|
13
|
-
import './f-object-field-
|
|
11
|
+
import './f-text-field-48beba2c.js';
|
|
12
|
+
import './f-chip-ba9a3748.js';
|
|
13
|
+
import './f-object-field-e76b1e59.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Props of the kup-image-list component.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
2
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
3
|
-
import { F as FCell } from './f-cell-
|
|
4
|
-
import { k as kupManagerInstance,
|
|
3
|
+
import { F as FCell } from './f-cell-b6871cf3.js';
|
|
4
|
+
import { k as kupManagerInstance, a5 as FCellTypes, F as FCellShapes, g as getProps, s as setProps, h as KupLanguageGeneric, an as CHIAdapter, ac as CMBandACPAdapter, am as CHKAdapter, ab as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, N as KupPointerEventTypes } from './kup-manager-02d449a3.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-65229068.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-e8fec767.js';
|
|
10
10
|
import './f-checkbox-ed122005.js';
|
|
11
|
-
import './f-text-field-
|
|
12
|
-
import './f-chip-
|
|
13
|
-
import './f-object-field-
|
|
11
|
+
import './f-text-field-48beba2c.js';
|
|
12
|
+
import './f-chip-ba9a3748.js';
|
|
13
|
+
import './f-object-field-e76b1e59.js';
|
|
14
14
|
import './kup-dates-da19044e.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -156,7 +156,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
156
156
|
}
|
|
157
157
|
return t;
|
|
158
158
|
};
|
|
159
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames,
|
|
159
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_onBlurHandler, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
160
160
|
const dom = document.documentElement;
|
|
161
161
|
const KupInputPanel = class {
|
|
162
162
|
constructor(hostRef) {
|
|
@@ -190,15 +190,6 @@ const KupInputPanel = class {
|
|
|
190
190
|
[FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
|
|
191
191
|
[FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
|
|
192
192
|
]));
|
|
193
|
-
_KupInputPanel_eventBlurNames.set(this, new Map([
|
|
194
|
-
[FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
195
|
-
[FCellShapes.CHIP, 'kup-textfield-blur'],
|
|
196
|
-
[FCellShapes.COMBOBOX, 'kup-combobox-blur'],
|
|
197
|
-
[FCellShapes.DATE, 'kup-datepicker-blur'],
|
|
198
|
-
[FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
199
|
-
[FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
|
|
200
|
-
[FCellShapes.TIME, 'kup-timepicker-blur'],
|
|
201
|
-
]));
|
|
202
193
|
_KupInputPanel_listeners.set(this, []);
|
|
203
194
|
_KupInputPanel_cellTypeComponents.set(this, new Map([
|
|
204
195
|
[FCellTypes.DATE, 'kup-date-picker'],
|
|
@@ -316,7 +307,9 @@ const KupInputPanel = class {
|
|
|
316
307
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
317
308
|
]
|
|
318
309
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
319
|
-
return (h(Host, { key: '
|
|
310
|
+
return (h(Host, { key: '77e1409d760b149f1a3ae34963b9f7bec250513e', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
|
|
311
|
+
this.tabSelected = e.detail.node.id;
|
|
312
|
+
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: 'aae1d4252362f1243fffdf1712423021e11e1ed6' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '90c0918bd6d3ef402f21272654a21b507ded99cb', id: componentWrapperId }, inputPanelContent)));
|
|
320
313
|
}
|
|
321
314
|
disconnectedCallback() {
|
|
322
315
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -327,7 +320,7 @@ const KupInputPanel = class {
|
|
|
327
320
|
"data": ["onDataChanged"]
|
|
328
321
|
}; }
|
|
329
322
|
};
|
|
330
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(),
|
|
323
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
331
324
|
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
332
325
|
if (!cell) {
|
|
333
326
|
return cells.find(({ column }) => column.name === id).cell;
|
|
@@ -585,17 +578,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
585
578
|
});
|
|
586
579
|
});
|
|
587
580
|
const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
|
|
588
|
-
if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
|
|
589
|
-
const event = 'kup-tabbar-click';
|
|
590
|
-
const handler = (e) => {
|
|
591
|
-
this.tabSelected = e.detail.node.id;
|
|
592
|
-
};
|
|
593
|
-
this.rootElement.addEventListener(event, handler);
|
|
594
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
595
|
-
event,
|
|
596
|
-
handler,
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
581
|
return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
|
|
600
582
|
}, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
|
|
601
583
|
const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
|
|
@@ -814,16 +796,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
814
796
|
}
|
|
815
797
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
816
798
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
817
|
-
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null
|
|
799
|
+
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
|
|
818
800
|
}
|
|
819
801
|
return null;
|
|
820
|
-
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue
|
|
821
|
-
var _a, _b;
|
|
822
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
823
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
824
|
-
cell.mandatory) {
|
|
825
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
826
|
-
}
|
|
802
|
+
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
|
|
827
803
|
return CHIAdapter(currentValue);
|
|
828
804
|
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
829
805
|
//TODO: definire mapping
|
|
@@ -849,47 +825,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
849
825
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
|
|
850
826
|
}
|
|
851
827
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
852
|
-
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue
|
|
853
|
-
var _a, _b;
|
|
828
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
|
|
854
829
|
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
855
|
-
if (
|
|
856
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
857
|
-
const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
|
|
858
|
-
if (!evNames) {
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
evNames.map((evName) => {
|
|
862
|
-
const handler = (e) => {
|
|
863
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
|
|
864
|
-
};
|
|
865
|
-
this.rootElement.addEventListener(evName, handler);
|
|
866
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
867
|
-
event: evName,
|
|
868
|
-
handler,
|
|
869
|
-
});
|
|
870
|
-
});
|
|
871
|
-
}
|
|
872
|
-
else if (rawOptions) {
|
|
830
|
+
if (rawOptions) {
|
|
873
831
|
configCMandACP.data['kup-list'].data =
|
|
874
832
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
875
833
|
}
|
|
876
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
877
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
878
|
-
cell.mandatory) {
|
|
879
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
880
|
-
}
|
|
881
834
|
return configCMandACP;
|
|
882
|
-
},
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
887
|
-
cell.mandatory) {
|
|
888
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
889
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
890
|
-
} });
|
|
835
|
+
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
|
|
836
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
|
|
837
|
+
if (cell.fun) {
|
|
838
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
|
|
891
839
|
}
|
|
892
|
-
|
|
840
|
+
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
841
|
+
return CHKAdapter(currentValue, fieldLabel);
|
|
893
842
|
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
894
843
|
return {
|
|
895
844
|
data: {
|
|
@@ -903,7 +852,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
903
852
|
initialValue: currentValue,
|
|
904
853
|
};
|
|
905
854
|
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
906
|
-
var _a
|
|
855
|
+
var _a;
|
|
907
856
|
const data = Object.assign({ label: fieldLabel }, cell.data);
|
|
908
857
|
if (this.autoSkip &&
|
|
909
858
|
(cell.isEditable || cell.editable) &&
|
|
@@ -912,34 +861,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
912
861
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
|
|
913
862
|
};
|
|
914
863
|
}
|
|
915
|
-
if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
|
|
916
|
-
((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
|
|
917
|
-
cell.mandatory) {
|
|
918
|
-
data.onBlur = () => {
|
|
919
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
920
|
-
};
|
|
921
|
-
}
|
|
922
|
-
return data;
|
|
923
|
-
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
|
|
924
|
-
var _a, _b;
|
|
925
|
-
let data = RADAdapter(currentValue, options);
|
|
926
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
927
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
928
|
-
cell.mandatory) {
|
|
929
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
930
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
931
|
-
} });
|
|
932
|
-
}
|
|
933
864
|
return data;
|
|
865
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
|
|
866
|
+
return RADAdapter(currentValue, options);
|
|
934
867
|
}, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
|
|
935
868
|
return SWTAdapter(currentValue, fieldLabel);
|
|
936
|
-
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue
|
|
937
|
-
var _a, _b;
|
|
938
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
939
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
940
|
-
cell.mandatory) {
|
|
941
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
942
|
-
}
|
|
869
|
+
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
|
|
943
870
|
return {
|
|
944
871
|
data: {
|
|
945
872
|
'kup-text-field': {
|
|
@@ -948,32 +875,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
948
875
|
},
|
|
949
876
|
initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
|
|
950
877
|
};
|
|
951
|
-
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue
|
|
952
|
-
var _a, _b;
|
|
953
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
954
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
955
|
-
cell.mandatory) {
|
|
956
|
-
return {
|
|
957
|
-
initialValue: currentValue || '',
|
|
958
|
-
label: fieldLabel || ' ',
|
|
959
|
-
value: currentValue || '',
|
|
960
|
-
onBlur: () => {
|
|
961
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
962
|
-
},
|
|
963
|
-
};
|
|
964
|
-
}
|
|
878
|
+
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
|
|
965
879
|
return {
|
|
966
880
|
initialValue: currentValue || '',
|
|
967
881
|
label: fieldLabel || ' ',
|
|
968
882
|
value: currentValue || '',
|
|
969
883
|
};
|
|
970
|
-
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue
|
|
971
|
-
var _a, _b;
|
|
972
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
973
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
974
|
-
cell.mandatory) {
|
|
975
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
976
|
-
}
|
|
884
|
+
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
977
885
|
return {
|
|
978
886
|
data: {
|
|
979
887
|
'kup-text-field': {
|
|
@@ -982,18 +890,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
982
890
|
},
|
|
983
891
|
initialValue: currentValue,
|
|
984
892
|
};
|
|
985
|
-
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue
|
|
986
|
-
var _a, _b;
|
|
987
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
988
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
989
|
-
cell.mandatory) {
|
|
990
|
-
return {
|
|
991
|
-
label: fieldLabel,
|
|
992
|
-
onBlur: () => {
|
|
993
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
994
|
-
},
|
|
995
|
-
};
|
|
996
|
-
}
|
|
893
|
+
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
|
|
997
894
|
return { label: fieldLabel };
|
|
998
895
|
}, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
|
|
999
896
|
try {
|
|
@@ -1008,7 +905,17 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1008
905
|
}
|
|
1009
906
|
return {
|
|
1010
907
|
data: {
|
|
1011
|
-
columns: data.columns.map((col) =>
|
|
908
|
+
columns: data.columns.map((col) => {
|
|
909
|
+
var _a;
|
|
910
|
+
if (data.rows.length > 0) {
|
|
911
|
+
const cellObj = (_a = data.rows[0].cells[col.name]) === null || _a === void 0 ? void 0 : _a.obj;
|
|
912
|
+
if (!col.obj && cellObj) {
|
|
913
|
+
return Object.assign(Object.assign({}, col), { obj: { t: cellObj.t, p: cellObj.p } });
|
|
914
|
+
}
|
|
915
|
+
return col;
|
|
916
|
+
}
|
|
917
|
+
return col;
|
|
918
|
+
}),
|
|
1012
919
|
rows: data.rows.map((row) => (Object.assign(Object.assign({}, row), { cells: Object.keys(row.cells).reduce((cell, key) => {
|
|
1013
920
|
const column = data.columns.find((col) => col.name === key);
|
|
1014
921
|
return Object.assign(Object.assign({}, cell), { [key]: Object.assign(Object.assign({}, row.cells[key]), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, row.cells[key], column)), { disabled: row.cells[key].editable === false, id: column.id }) }) });
|
|
@@ -1099,44 +1006,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1099
1006
|
}
|
|
1100
1007
|
const buttonCell = Object.assign(Object.assign({}, cell), { data: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter).call(this, null, null, cell.value, cell, cell.obj.k), id: cell.obj.k });
|
|
1101
1008
|
return buttonCell;
|
|
1102
|
-
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail,
|
|
1103
|
-
|
|
1104
|
-
detail.open === false) {
|
|
1105
|
-
return;
|
|
1106
|
-
}
|
|
1107
|
-
this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1009
|
+
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
|
|
1010
|
+
this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1108
1011
|
var _a;
|
|
1109
|
-
data.data['kup-list'].data =
|
|
1110
|
-
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options,
|
|
1012
|
+
cell.data.data['kup-list'].data =
|
|
1013
|
+
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
|
|
1111
1014
|
detail.comp.refresh();
|
|
1112
1015
|
});
|
|
1113
|
-
},
|
|
1016
|
+
}, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
|
|
1114
1017
|
var _a, _b, _c, _d, _e;
|
|
1115
|
-
const
|
|
1018
|
+
const { detail: { column, cell }, } = e;
|
|
1019
|
+
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
|
|
1020
|
+
const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
|
|
1116
1021
|
// Required cell check
|
|
1117
1022
|
if (cell.mandatory) {
|
|
1118
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1119
|
-
? ((_a =
|
|
1023
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
|
|
1024
|
+
? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1120
1025
|
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1121
|
-
if (!
|
|
1026
|
+
if (!cell.value) {
|
|
1122
1027
|
return;
|
|
1123
1028
|
}
|
|
1124
1029
|
}
|
|
1125
1030
|
else {
|
|
1126
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1031
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1127
1032
|
}
|
|
1128
1033
|
// Valid object check
|
|
1129
|
-
if ((
|
|
1034
|
+
if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
|
|
1130
1035
|
const { valid } = await this.checkValidObjCallback({
|
|
1131
1036
|
obj: cell.obj,
|
|
1132
1037
|
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1133
1038
|
fun: cell.fun,
|
|
1134
1039
|
});
|
|
1135
1040
|
if (valid) {
|
|
1136
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1041
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
|
|
1137
1042
|
}
|
|
1138
1043
|
else {
|
|
1139
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1044
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1140
1045
|
return;
|
|
1141
1046
|
}
|
|
1142
1047
|
}
|
|
@@ -1144,58 +1049,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1144
1049
|
this.checkValidValueCallback({
|
|
1145
1050
|
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1146
1051
|
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1147
|
-
},
|
|
1052
|
+
}, column.name);
|
|
1148
1053
|
}
|
|
1149
|
-
}, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
|
|
1150
|
-
const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
|
|
1151
|
-
if (!evName) {
|
|
1152
|
-
return;
|
|
1153
|
-
}
|
|
1154
|
-
const handler = async (e) => {
|
|
1155
|
-
var _a, _b, _c, _d, _e;
|
|
1156
|
-
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
|
|
1157
|
-
if (e.detail.id !== id) {
|
|
1158
|
-
return;
|
|
1159
|
-
}
|
|
1160
|
-
// Required cell check
|
|
1161
|
-
if (cell.mandatory) {
|
|
1162
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
|
|
1163
|
-
? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1164
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1165
|
-
if (!e.detail.value) {
|
|
1166
|
-
return;
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
else {
|
|
1170
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1171
|
-
}
|
|
1172
|
-
// Valid object check
|
|
1173
|
-
if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
|
|
1174
|
-
const { valid } = await this.checkValidObjCallback({
|
|
1175
|
-
obj: cell.obj,
|
|
1176
|
-
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1177
|
-
fun: cell.fun,
|
|
1178
|
-
});
|
|
1179
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
|
|
1180
|
-
? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
|
|
1181
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1182
|
-
if (!valid) {
|
|
1183
|
-
return;
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
|
|
1187
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
|
|
1188
|
-
this.checkValidValueCallback({
|
|
1189
|
-
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1190
|
-
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1191
|
-
}, id);
|
|
1192
|
-
}
|
|
1193
|
-
};
|
|
1194
|
-
this.rootElement.addEventListener(evName, handler);
|
|
1195
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
1196
|
-
event: evName,
|
|
1197
|
-
handler,
|
|
1198
|
-
});
|
|
1199
1054
|
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
1200
1055
|
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
1201
1056
|
const data = column.name === id
|
|
@@ -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-c9246a86.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-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, au as kupDropEvent,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, au as kupDropEvent, O as kupDraggableColumnAttr, av as kupDraggableRowAttr, V as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|