@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,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-8138bfb7.js';
|
|
3
|
+
import { c as componentWrapperId, L as FCell, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
|
|
4
4
|
|
|
5
5
|
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%}";
|
|
6
6
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { S as FButton, _ as FTextField, $ as FCheckbox, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
3
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, au as KupLanguageDashboard, d as KupLanguageGeneric, ac as KupDragEffect, t as KupDebugCategory } from './p-
|
|
2
|
+
import { S as FButton, _ as FTextField, $ as FCheckbox, O as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
|
|
3
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, au as KupLanguageDashboard, d as KupLanguageGeneric, ac as KupDragEffect, t as KupDebugCategory } from './p-8138bfb7.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-dashboard component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-8138bfb7.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
|
|
4
4
|
|
|
5
5
|
const drawerClass = 'drawer';
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a3 as KupDropdownButton$1, p as defineCustomElement$1 } from './p-
|
|
1
|
+
import { a3 as KupDropdownButton$1, p as defineCustomElement$1 } from './p-5ee0b3dc.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$t, C as defineCustomElement$u, a4 as FButtonStyling, S as FButton, F as FImage } from './p-
|
|
3
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, a3 as KupPointerEventTypes } from './p-
|
|
4
|
-
import { d as defineCustomElement$s } from './p-
|
|
2
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$t, C as defineCustomElement$u, a4 as FButtonStyling, S as FButton, F as FImage } from './p-5ee0b3dc.js';
|
|
3
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, a3 as KupPointerEventTypes } from './p-8138bfb7.js';
|
|
4
|
+
import { d as defineCustomElement$s } from './p-248b85c1.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-family-tree component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric } from './p-8138bfb7.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-htm component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupDebugCategory } from './p-
|
|
3
|
-
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupDebugCategory } from './p-8138bfb7.js';
|
|
3
|
+
import { d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-5ee0b3dc.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-iframe component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, a3 as KupPointerEventTypes, u as FCellPadding } from './p-
|
|
3
|
-
import { a4 as FButtonStyling, M as MDCRipple, c as componentWrapperId, F as FImage, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, L as FCell } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, a3 as KupPointerEventTypes, u as FCellPadding } from './p-8138bfb7.js';
|
|
3
|
+
import { a4 as FButtonStyling, M as MDCRipple, c as componentWrapperId, F as FImage, S as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, L as FCell } from './p-5ee0b3dc.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-image-list component.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { O as FTextFieldMDC, c as componentWrapperId, S as FButton, L as FCell, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-
|
|
3
|
-
import { k as kupManagerInstance, i as FCellTypes, l as FCellShapes, g as getProps, s as setProps, d as KupLanguageGeneric, S as CHIAdapter, C as CMBandACPAdapter, R as RADAdapter, U as SWTAdapter, t as KupDebugCategory, a3 as KupPointerEventTypes
|
|
2
|
+
import { O as FTextFieldMDC, c as componentWrapperId, S as FButton, L as FCell, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-5ee0b3dc.js';
|
|
3
|
+
import { k as kupManagerInstance, i as FCellTypes, l as FCellShapes, g as getProps, s as setProps, d as KupLanguageGeneric, S as CHIAdapter, C as CMBandACPAdapter, Q as CHKAdapter, R as RADAdapter, U as SWTAdapter, t as KupDebugCategory, a3 as KupPointerEventTypes } from './p-8138bfb7.js';
|
|
4
4
|
import { F as FTypography, a as FTypographyType } from './p-ced0c3fc.js';
|
|
5
|
-
import { d as defineCustomElement$g } from './p-
|
|
5
|
+
import { d as defineCustomElement$g } from './p-b31cf6a0.js';
|
|
6
6
|
|
|
7
7
|
var KupInputPanelLayoutSectionType;
|
|
8
8
|
(function (KupInputPanelLayoutSectionType) {
|
|
@@ -146,7 +146,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
146
146
|
}
|
|
147
147
|
return t;
|
|
148
148
|
};
|
|
149
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames,
|
|
149
|
+
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;
|
|
150
150
|
const dom = document.documentElement;
|
|
151
151
|
const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel extends H {
|
|
152
152
|
constructor() {
|
|
@@ -182,15 +182,6 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
182
182
|
[FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
|
|
183
183
|
[FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
|
|
184
184
|
]));
|
|
185
|
-
_KupInputPanel_eventBlurNames.set(this, new Map([
|
|
186
|
-
[FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
187
|
-
[FCellShapes.CHIP, 'kup-textfield-blur'],
|
|
188
|
-
[FCellShapes.COMBOBOX, 'kup-combobox-blur'],
|
|
189
|
-
[FCellShapes.DATE, 'kup-datepicker-blur'],
|
|
190
|
-
[FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
191
|
-
[FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
|
|
192
|
-
[FCellShapes.TIME, 'kup-timepicker-blur'],
|
|
193
|
-
]));
|
|
194
185
|
_KupInputPanel_listeners.set(this, []);
|
|
195
186
|
_KupInputPanel_cellTypeComponents.set(this, new Map([
|
|
196
187
|
[FCellTypes.DATE, 'kup-date-picker'],
|
|
@@ -308,7 +299,9 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
308
299
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
309
300
|
]
|
|
310
301
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
311
|
-
return (h(Host, { key: '
|
|
302
|
+
return (h(Host, { key: '77e1409d760b149f1a3ae34963b9f7bec250513e', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
|
|
303
|
+
this.tabSelected = e.detail.node.id;
|
|
304
|
+
}, "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)));
|
|
312
305
|
}
|
|
313
306
|
disconnectedCallback() {
|
|
314
307
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -342,7 +335,7 @@ const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel ext
|
|
|
342
335
|
}, undefined, {
|
|
343
336
|
"data": ["onDataChanged"]
|
|
344
337
|
}]);
|
|
345
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(),
|
|
338
|
+
_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) {
|
|
346
339
|
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
347
340
|
if (!cell) {
|
|
348
341
|
return cells.find(({ column }) => column.name === id).cell;
|
|
@@ -600,17 +593,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
600
593
|
});
|
|
601
594
|
});
|
|
602
595
|
const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
|
|
603
|
-
if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
|
|
604
|
-
const event = 'kup-tabbar-click';
|
|
605
|
-
const handler = (e) => {
|
|
606
|
-
this.tabSelected = e.detail.node.id;
|
|
607
|
-
};
|
|
608
|
-
this.rootElement.addEventListener(event, handler);
|
|
609
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
610
|
-
event,
|
|
611
|
-
handler,
|
|
612
|
-
});
|
|
613
|
-
}
|
|
614
596
|
return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
|
|
615
597
|
}, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
|
|
616
598
|
const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
|
|
@@ -829,16 +811,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
829
811
|
}
|
|
830
812
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
831
813
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
832
|
-
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null
|
|
814
|
+
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 });
|
|
833
815
|
}
|
|
834
816
|
return null;
|
|
835
|
-
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue
|
|
836
|
-
var _a, _b;
|
|
837
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
838
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
839
|
-
cell.mandatory) {
|
|
840
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
841
|
-
}
|
|
817
|
+
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
|
|
842
818
|
return CHIAdapter(currentValue);
|
|
843
819
|
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
844
820
|
//TODO: definire mapping
|
|
@@ -864,47 +840,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
864
840
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
|
|
865
841
|
}
|
|
866
842
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
867
|
-
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue
|
|
868
|
-
var _a, _b;
|
|
843
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
|
|
869
844
|
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
870
|
-
if (
|
|
871
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
872
|
-
const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
|
|
873
|
-
if (!evNames) {
|
|
874
|
-
return;
|
|
875
|
-
}
|
|
876
|
-
evNames.map((evName) => {
|
|
877
|
-
const handler = (e) => {
|
|
878
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
|
|
879
|
-
};
|
|
880
|
-
this.rootElement.addEventListener(evName, handler);
|
|
881
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
882
|
-
event: evName,
|
|
883
|
-
handler,
|
|
884
|
-
});
|
|
885
|
-
});
|
|
886
|
-
}
|
|
887
|
-
else if (rawOptions) {
|
|
845
|
+
if (rawOptions) {
|
|
888
846
|
configCMandACP.data['kup-list'].data =
|
|
889
847
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
890
848
|
}
|
|
891
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
892
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
893
|
-
cell.mandatory) {
|
|
894
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
895
|
-
}
|
|
896
849
|
return configCMandACP;
|
|
897
|
-
},
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
902
|
-
cell.mandatory) {
|
|
903
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
904
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
905
|
-
} });
|
|
850
|
+
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
|
|
851
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
|
|
852
|
+
if (cell.fun) {
|
|
853
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
|
|
906
854
|
}
|
|
907
|
-
|
|
855
|
+
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
856
|
+
return CHKAdapter(currentValue, fieldLabel);
|
|
908
857
|
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
909
858
|
return {
|
|
910
859
|
data: {
|
|
@@ -918,7 +867,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
918
867
|
initialValue: currentValue,
|
|
919
868
|
};
|
|
920
869
|
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
921
|
-
var _a
|
|
870
|
+
var _a;
|
|
922
871
|
const data = Object.assign({ label: fieldLabel }, cell.data);
|
|
923
872
|
if (this.autoSkip &&
|
|
924
873
|
(cell.isEditable || cell.editable) &&
|
|
@@ -927,34 +876,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
927
876
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
|
|
928
877
|
};
|
|
929
878
|
}
|
|
930
|
-
if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
|
|
931
|
-
((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
|
|
932
|
-
cell.mandatory) {
|
|
933
|
-
data.onBlur = () => {
|
|
934
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
935
|
-
};
|
|
936
|
-
}
|
|
937
|
-
return data;
|
|
938
|
-
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
|
|
939
|
-
var _a, _b;
|
|
940
|
-
let data = RADAdapter(currentValue, options);
|
|
941
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
942
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
943
|
-
cell.mandatory) {
|
|
944
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
945
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
946
|
-
} });
|
|
947
|
-
}
|
|
948
879
|
return data;
|
|
880
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
|
|
881
|
+
return RADAdapter(currentValue, options);
|
|
949
882
|
}, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
|
|
950
883
|
return SWTAdapter(currentValue, fieldLabel);
|
|
951
|
-
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_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
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
957
|
-
}
|
|
884
|
+
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
|
|
958
885
|
return {
|
|
959
886
|
data: {
|
|
960
887
|
'kup-text-field': {
|
|
@@ -963,32 +890,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
963
890
|
},
|
|
964
891
|
initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
|
|
965
892
|
};
|
|
966
|
-
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue
|
|
967
|
-
var _a, _b;
|
|
968
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
969
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
970
|
-
cell.mandatory) {
|
|
971
|
-
return {
|
|
972
|
-
initialValue: currentValue || '',
|
|
973
|
-
label: fieldLabel || ' ',
|
|
974
|
-
value: currentValue || '',
|
|
975
|
-
onBlur: () => {
|
|
976
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
977
|
-
},
|
|
978
|
-
};
|
|
979
|
-
}
|
|
893
|
+
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
|
|
980
894
|
return {
|
|
981
895
|
initialValue: currentValue || '',
|
|
982
896
|
label: fieldLabel || ' ',
|
|
983
897
|
value: currentValue || '',
|
|
984
898
|
};
|
|
985
|
-
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_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
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
991
|
-
}
|
|
899
|
+
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
992
900
|
return {
|
|
993
901
|
data: {
|
|
994
902
|
'kup-text-field': {
|
|
@@ -997,18 +905,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
997
905
|
},
|
|
998
906
|
initialValue: currentValue,
|
|
999
907
|
};
|
|
1000
|
-
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue
|
|
1001
|
-
var _a, _b;
|
|
1002
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
1003
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
1004
|
-
cell.mandatory) {
|
|
1005
|
-
return {
|
|
1006
|
-
label: fieldLabel,
|
|
1007
|
-
onBlur: () => {
|
|
1008
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
1009
|
-
},
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
908
|
+
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
|
|
1012
909
|
return { label: fieldLabel };
|
|
1013
910
|
}, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
|
|
1014
911
|
try {
|
|
@@ -1023,7 +920,17 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1023
920
|
}
|
|
1024
921
|
return {
|
|
1025
922
|
data: {
|
|
1026
|
-
columns: data.columns.map((col) =>
|
|
923
|
+
columns: data.columns.map((col) => {
|
|
924
|
+
var _a;
|
|
925
|
+
if (data.rows.length > 0) {
|
|
926
|
+
const cellObj = (_a = data.rows[0].cells[col.name]) === null || _a === void 0 ? void 0 : _a.obj;
|
|
927
|
+
if (!col.obj && cellObj) {
|
|
928
|
+
return Object.assign(Object.assign({}, col), { obj: { t: cellObj.t, p: cellObj.p } });
|
|
929
|
+
}
|
|
930
|
+
return col;
|
|
931
|
+
}
|
|
932
|
+
return col;
|
|
933
|
+
}),
|
|
1027
934
|
rows: data.rows.map((row) => (Object.assign(Object.assign({}, row), { cells: Object.keys(row.cells).reduce((cell, key) => {
|
|
1028
935
|
const column = data.columns.find((col) => col.name === key);
|
|
1029
936
|
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 }) }) });
|
|
@@ -1114,44 +1021,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1114
1021
|
}
|
|
1115
1022
|
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 });
|
|
1116
1023
|
return buttonCell;
|
|
1117
|
-
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail,
|
|
1118
|
-
|
|
1119
|
-
detail.open === false) {
|
|
1120
|
-
return;
|
|
1121
|
-
}
|
|
1122
|
-
this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1024
|
+
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
|
|
1025
|
+
this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1123
1026
|
var _a;
|
|
1124
|
-
data.data['kup-list'].data =
|
|
1125
|
-
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options,
|
|
1027
|
+
cell.data.data['kup-list'].data =
|
|
1028
|
+
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
|
|
1126
1029
|
detail.comp.refresh();
|
|
1127
1030
|
});
|
|
1128
|
-
},
|
|
1031
|
+
}, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
|
|
1129
1032
|
var _a, _b, _c, _d, _e;
|
|
1130
|
-
const
|
|
1033
|
+
const { detail: { column, cell }, } = e;
|
|
1034
|
+
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
|
|
1035
|
+
const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
|
|
1131
1036
|
// Required cell check
|
|
1132
1037
|
if (cell.mandatory) {
|
|
1133
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1134
|
-
? ((_a =
|
|
1038
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
|
|
1039
|
+
? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1135
1040
|
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1136
|
-
if (!
|
|
1041
|
+
if (!cell.value) {
|
|
1137
1042
|
return;
|
|
1138
1043
|
}
|
|
1139
1044
|
}
|
|
1140
1045
|
else {
|
|
1141
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1046
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1142
1047
|
}
|
|
1143
1048
|
// Valid object check
|
|
1144
|
-
if ((
|
|
1049
|
+
if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
|
|
1145
1050
|
const { valid } = await this.checkValidObjCallback({
|
|
1146
1051
|
obj: cell.obj,
|
|
1147
1052
|
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1148
1053
|
fun: cell.fun,
|
|
1149
1054
|
});
|
|
1150
1055
|
if (valid) {
|
|
1151
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1056
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
|
|
1152
1057
|
}
|
|
1153
1058
|
else {
|
|
1154
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1059
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1155
1060
|
return;
|
|
1156
1061
|
}
|
|
1157
1062
|
}
|
|
@@ -1159,58 +1064,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1159
1064
|
this.checkValidValueCallback({
|
|
1160
1065
|
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1161
1066
|
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1162
|
-
},
|
|
1067
|
+
}, column.name);
|
|
1163
1068
|
}
|
|
1164
|
-
}, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
|
|
1165
|
-
const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
|
|
1166
|
-
if (!evName) {
|
|
1167
|
-
return;
|
|
1168
|
-
}
|
|
1169
|
-
const handler = async (e) => {
|
|
1170
|
-
var _a, _b, _c, _d, _e;
|
|
1171
|
-
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
|
|
1172
|
-
if (e.detail.id !== id) {
|
|
1173
|
-
return;
|
|
1174
|
-
}
|
|
1175
|
-
// Required cell check
|
|
1176
|
-
if (cell.mandatory) {
|
|
1177
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
|
|
1178
|
-
? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1179
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1180
|
-
if (!e.detail.value) {
|
|
1181
|
-
return;
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
else {
|
|
1185
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1186
|
-
}
|
|
1187
|
-
// Valid object check
|
|
1188
|
-
if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
|
|
1189
|
-
const { valid } = await this.checkValidObjCallback({
|
|
1190
|
-
obj: cell.obj,
|
|
1191
|
-
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1192
|
-
fun: cell.fun,
|
|
1193
|
-
});
|
|
1194
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
|
|
1195
|
-
? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
|
|
1196
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1197
|
-
if (!valid) {
|
|
1198
|
-
return;
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
|
|
1202
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
|
|
1203
|
-
this.checkValidValueCallback({
|
|
1204
|
-
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1205
|
-
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1206
|
-
}, id);
|
|
1207
|
-
}
|
|
1208
|
-
};
|
|
1209
|
-
this.rootElement.addEventListener(evName, handler);
|
|
1210
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
1211
|
-
event: evName,
|
|
1212
|
-
handler,
|
|
1213
|
-
});
|
|
1214
1069
|
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
1215
1070
|
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
1216
1071
|
const data = column.name === id
|