@sme.up/ketchup 11.0.0-SNAPSHOT-20241029160403 → 11.0.0-SNAPSHOT-20241030135105
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-51f23dcb.js → f-cell-ccde7158.js} +4 -4
- package/dist/cjs/{f-cell-51f23dcb.js.map → f-cell-ccde7158.js.map} +1 -1
- package/dist/cjs/{f-chip-b49adf5f.js → f-chip-dbe137ed.js} +2 -2
- package/dist/cjs/{f-chip-b49adf5f.js.map → f-chip-dbe137ed.js.map} +1 -1
- package/dist/cjs/{f-paginator-utils-5d1c3cbe.js → f-paginator-utils-4cf8ac1e.js} +2 -2
- package/dist/cjs/{f-paginator-utils-5d1c3cbe.js.map → f-paginator-utils-4cf8ac1e.js.map} +1 -1
- package/dist/cjs/{f-text-field-03d5cda6.js → f-text-field-8b373b26.js} +2 -2
- package/dist/cjs/{f-text-field-03d5cda6.js.map → f-text-field-8b373b26.js.map} +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 +6 -6
- package/dist/cjs/kup-box.cjs.entry.js +6 -6
- 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 +4 -4
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-5f2f9608.js → kup-data-table-helper-bef7a94e.js} +2 -2
- package/dist/cjs/{kup-data-table-helper-5f2f9608.js.map → kup-data-table-helper-bef7a94e.js.map} +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 +4 -4
- package/dist/cjs/kup-input-panel.cjs.entry.js +96 -55
- package/dist/cjs/kup-input-panel.cjs.entry.js.map +1 -1
- 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-51a6b521.js → kup-manager-6e414e08.js} +112 -82
- package/dist/cjs/kup-manager-6e414e08.js.map +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-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-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +3 -2
- package/dist/cjs/kup-typography.cjs.entry.js.map +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +92 -51
- package/dist/collection/components/kup-input-panel/kup-input-panel.js.map +1 -1
- package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Regular.woff +0 -0
- package/dist/collection/components/kup-typography/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Regular.woff +0 -0
- package/dist/collection/components/kup-typography/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/dist/collection/components/kup-typography/kup-typography.js +2 -1
- package/dist/collection/components/kup-typography/kup-typography.js.map +1 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +1 -0
- package/dist/collection/managers/kup-language/kup-language-declarations.js.map +1 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +9 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js.map +1 -1
- package/dist/collection/managers/kup-theme/kup-theme.js +17 -14
- package/dist/collection/managers/kup-theme/kup-theme.js.map +1 -1
- package/dist/components/kup-input-panel.js +92 -51
- package/dist/components/kup-input-panel.js.map +1 -1
- package/dist/components/kup-manager.js +111 -81
- package/dist/components/kup-manager.js.map +1 -1
- package/dist/components/kup-typography.js +2 -1
- package/dist/components/kup-typography.js.map +1 -1
- package/dist/esm/{f-cell-a11f1068.js → f-cell-e6b53a87.js} +4 -4
- package/dist/esm/{f-cell-a11f1068.js.map → f-cell-e6b53a87.js.map} +1 -1
- package/dist/esm/{f-chip-6a8151c3.js → f-chip-ebf776f3.js} +2 -2
- package/dist/esm/{f-chip-6a8151c3.js.map → f-chip-ebf776f3.js.map} +1 -1
- package/dist/esm/{f-paginator-utils-1b1bf83b.js → f-paginator-utils-2aac0d1a.js} +2 -2
- package/dist/esm/{f-paginator-utils-1b1bf83b.js.map → f-paginator-utils-2aac0d1a.js.map} +1 -1
- package/dist/esm/{f-text-field-ba253046.js → f-text-field-ca6c5386.js} +2 -2
- package/dist/esm/{f-text-field-ba253046.js.map → f-text-field-ca6c5386.js.map} +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 +6 -6
- package/dist/esm/kup-box.entry.js +6 -6
- 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 +4 -4
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-cf099214.js → kup-data-table-helper-2ff0b12a.js} +2 -2
- package/dist/esm/{kup-data-table-helper-cf099214.js.map → kup-data-table-helper-2ff0b12a.js.map} +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 +4 -4
- package/dist/esm/kup-input-panel.entry.js +96 -55
- package/dist/esm/kup-input-panel.entry.js.map +1 -1
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-58202f14.js → kup-manager-1d6b8b1a.js} +112 -82
- package/dist/esm/kup-manager-1d6b8b1a.js.map +1 -0
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- 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-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +3 -2
- package/dist/esm/kup-typography.entry.js.map +1 -1
- package/dist/ketchup/assets/fonts/IBMPlexMono-Regular.woff +0 -0
- package/dist/ketchup/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- package/dist/ketchup/assets/fonts/IBMPlexSans-Regular.woff +0 -0
- package/dist/ketchup/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-81e39d58.entry.js → p-0b4f6874.entry.js} +2 -2
- package/dist/ketchup/{p-1b82fe39.entry.js → p-16e93198.entry.js} +2 -2
- package/dist/ketchup/{p-fb33b3c1.entry.js → p-18481eec.entry.js} +2 -2
- package/dist/ketchup/{p-d6761118.entry.js → p-192c022f.entry.js} +2 -2
- package/dist/ketchup/{p-7c94e917.entry.js → p-196f3059.entry.js} +2 -2
- package/dist/ketchup/{p-8452e252.entry.js → p-2389ccc1.entry.js} +2 -2
- package/dist/ketchup/{p-c4129003.entry.js → p-4799c97f.entry.js} +2 -2
- package/dist/ketchup/{p-05da2b79.entry.js → p-587e12b4.entry.js} +2 -2
- package/dist/ketchup/{p-6ea6f43e.entry.js → p-607b83f5.entry.js} +2 -2
- package/dist/ketchup/{p-c40ad67f.entry.js → p-62596f5d.entry.js} +2 -2
- package/dist/ketchup/{p-32042eb5.entry.js → p-67763e23.entry.js} +2 -2
- package/dist/ketchup/{p-a27d4e3d.entry.js → p-7cdceaea.entry.js} +2 -2
- package/dist/ketchup/{p-22a17b5a.js → p-7d7b8718.js} +2 -2
- package/dist/ketchup/{p-824a75e1.entry.js → p-853e2b1d.entry.js} +2 -2
- package/dist/ketchup/p-86b6489e.js +29 -0
- package/dist/ketchup/p-86b6489e.js.map +1 -0
- package/dist/ketchup/{p-c3bc85c3.entry.js → p-8ab1203f.entry.js} +2 -2
- package/dist/ketchup/{p-5cc75efb.entry.js → p-8e844b9d.entry.js} +2 -2
- package/dist/ketchup/{p-d2bf9725.entry.js → p-9da57972.entry.js} +2 -2
- package/dist/ketchup/{p-2724b666.js → p-a16707d1.js} +2 -2
- package/dist/ketchup/{p-837824a9.entry.js → p-a3ace76e.entry.js} +2 -2
- package/dist/ketchup/{p-8a6b8754.entry.js → p-a55d2c8b.entry.js} +2 -2
- package/dist/ketchup/{p-4ac3481d.entry.js → p-affd9a2c.entry.js} +2 -2
- package/dist/ketchup/{p-879a4c67.entry.js → p-b0ca996f.entry.js} +2 -2
- package/dist/ketchup/p-b0ca996f.entry.js.map +1 -0
- package/dist/ketchup/{p-8dacbd87.entry.js → p-bb7dddb3.entry.js} +2 -2
- package/dist/ketchup/{p-a44b1d04.entry.js → p-c4ae346f.entry.js} +2 -2
- package/dist/ketchup/{p-6278ee25.entry.js → p-cc901eb3.entry.js} +2 -2
- package/dist/ketchup/{p-17992b1b.entry.js → p-d5325eb6.entry.js} +2 -2
- package/dist/ketchup/{p-838b6a2f.entry.js → p-d6243c07.entry.js} +2 -2
- package/dist/ketchup/{p-2292af7c.entry.js → p-deb86dcb.entry.js} +2 -2
- package/dist/ketchup/{p-01ff9884.js → p-e9388650.js} +2 -2
- package/dist/ketchup/{p-6a532839.js → p-f3f54269.js} +2 -2
- package/dist/ketchup/{p-0b4f9fbd.entry.js → p-f59fb7d0.entry.js} +2 -2
- package/dist/ketchup/{p-f6103b1d.entry.js → p-f607dc0d.entry.js} +2 -2
- package/dist/ketchup/p-fc91cec3.entry.js +2 -0
- package/dist/ketchup/p-fc91cec3.entry.js.map +1 -0
- package/dist/ketchup/{p-c670c1ae.js → p-fe31a004.js} +2 -2
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +2 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +6 -1
- package/dist/types/managers/kup-theme/kup-theme.d.ts +1 -4
- package/package.json +1 -1
- package/dist/cjs/kup-manager-51a6b521.js.map +0 -1
- package/dist/esm/kup-manager-58202f14.js.map +0 -1
- package/dist/ketchup/p-56e04d74.js +0 -29
- package/dist/ketchup/p-56e04d74.js.map +0 -1
- package/dist/ketchup/p-879a4c67.entry.js.map +0 -1
- package/dist/ketchup/p-ffc02752.entry.js +0 -2
- package/dist/ketchup/p-ffc02752.entry.js.map +0 -1
- /package/dist/ketchup/{p-81e39d58.entry.js.map → p-0b4f6874.entry.js.map} +0 -0
- /package/dist/ketchup/{p-1b82fe39.entry.js.map → p-16e93198.entry.js.map} +0 -0
- /package/dist/ketchup/{p-fb33b3c1.entry.js.map → p-18481eec.entry.js.map} +0 -0
- /package/dist/ketchup/{p-d6761118.entry.js.map → p-192c022f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-7c94e917.entry.js.map → p-196f3059.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8452e252.entry.js.map → p-2389ccc1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-c4129003.entry.js.map → p-4799c97f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-05da2b79.entry.js.map → p-587e12b4.entry.js.map} +0 -0
- /package/dist/ketchup/{p-6ea6f43e.entry.js.map → p-607b83f5.entry.js.map} +0 -0
- /package/dist/ketchup/{p-c40ad67f.entry.js.map → p-62596f5d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-32042eb5.entry.js.map → p-67763e23.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a27d4e3d.entry.js.map → p-7cdceaea.entry.js.map} +0 -0
- /package/dist/ketchup/{p-22a17b5a.js.map → p-7d7b8718.js.map} +0 -0
- /package/dist/ketchup/{p-824a75e1.entry.js.map → p-853e2b1d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-c3bc85c3.entry.js.map → p-8ab1203f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5cc75efb.entry.js.map → p-8e844b9d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-d2bf9725.entry.js.map → p-9da57972.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2724b666.js.map → p-a16707d1.js.map} +0 -0
- /package/dist/ketchup/{p-837824a9.entry.js.map → p-a3ace76e.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8a6b8754.entry.js.map → p-a55d2c8b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-4ac3481d.entry.js.map → p-affd9a2c.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8dacbd87.entry.js.map → p-bb7dddb3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a44b1d04.entry.js.map → p-c4ae346f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-6278ee25.entry.js.map → p-cc901eb3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-17992b1b.entry.js.map → p-d5325eb6.entry.js.map} +0 -0
- /package/dist/ketchup/{p-838b6a2f.entry.js.map → p-d6243c07.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2292af7c.entry.js.map → p-deb86dcb.entry.js.map} +0 -0
- /package/dist/ketchup/{p-01ff9884.js.map → p-e9388650.js.map} +0 -0
- /package/dist/ketchup/{p-6a532839.js.map → p-f3f54269.js.map} +0 -0
- /package/dist/ketchup/{p-0b4f9fbd.entry.js.map → p-f59fb7d0.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f6103b1d.entry.js.map → p-f607dc0d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-c670c1ae.js.map → p-fe31a004.js.map} +0 -0
|
@@ -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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-b90227c6.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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-b90227c6.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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-b90227c6.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-79148bc6.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-feab9f36.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes } from './kup-manager-1d6b8b1a.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-b90227c6.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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-b90227c6.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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-b90227c6.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-191ee7cb.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-1d6b8b1a.js';
|
|
3
3
|
import './kup-dates-b90227c6.js';
|
|
4
4
|
|
|
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-191ee7cb.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes, f as FCellPadding } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, N as KupPointerEventTypes, f as FCellPadding } from './kup-manager-1d6b8b1a.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-feab9f36.js';
|
|
5
5
|
import { F as FButton } from './f-button-79148bc6.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-e6b53a87.js';
|
|
8
8
|
import { M as MDCRipple } from './component-879e99bf.js';
|
|
9
9
|
import './kup-dates-b90227c6.js';
|
|
10
10
|
import './f-checkbox-6a591860.js';
|
|
11
|
-
import './f-text-field-
|
|
12
|
-
import './f-chip-
|
|
11
|
+
import './f-text-field-ca6c5386.js';
|
|
12
|
+
import './f-chip-ebf776f3.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Props of the kup-image-list component.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-191ee7cb.js';
|
|
2
2
|
import { F as FButton } from './f-button-79148bc6.js';
|
|
3
|
-
import { F as FCell } from './f-cell-
|
|
4
|
-
import { k as kupManagerInstance, a5 as FCellTypes, F as FCellShapes, g as getProps, s as setProps, h as KupLanguageGeneric, al as CHIAdapter, ab as CMBandACPAdapter, aa as RADAdapter, am as SWTAdapter, e as KupDebugCategory, ak as CHKAdapter } from './kup-manager-
|
|
3
|
+
import { F as FCell } from './f-cell-e6b53a87.js';
|
|
4
|
+
import { k as kupManagerInstance, a5 as FCellTypes, F as FCellShapes, g as getProps, s as setProps, h as KupLanguageGeneric, al as CHIAdapter, ab as CMBandACPAdapter, aa as RADAdapter, am as SWTAdapter, e as KupDebugCategory, ak as CHKAdapter } from './kup-manager-1d6b8b1a.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-9a862967.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-feab9f36.js';
|
|
9
9
|
import './f-checkbox-6a591860.js';
|
|
10
|
-
import './f-text-field-
|
|
11
|
-
import './f-chip-
|
|
10
|
+
import './f-text-field-ca6c5386.js';
|
|
11
|
+
import './f-chip-ebf776f3.js';
|
|
12
12
|
import './kup-dates-b90227c6.js';
|
|
13
13
|
import './component-879e99bf.js';
|
|
14
14
|
|
|
@@ -89,7 +89,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
89
89
|
}
|
|
90
90
|
return t;
|
|
91
91
|
};
|
|
92
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_eventBlurNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _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_getAutocompleteEventCallback,
|
|
92
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_eventBlurNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _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_getAutocompleteEventCallback, _KupInputPanel_checkOnBlurProp, _KupInputPanel_checkOnBlurEvent, _KupInputPanel_setCellError;
|
|
93
93
|
const dom = document.documentElement;
|
|
94
94
|
const KupInputPanel = class {
|
|
95
95
|
constructor(hostRef) {
|
|
@@ -237,7 +237,7 @@ const KupInputPanel = class {
|
|
|
237
237
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
238
238
|
]
|
|
239
239
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
240
|
-
return (h(Host, { key: '
|
|
240
|
+
return (h(Host, { key: '2e431f8ed3bc24cb844c21e62f09d0ebd4c95227' }, h("style", { key: '1b5d013473b0270b3ff95950c956b4e040f5bb6f' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1bd47df5bced2847e3a661588f7f7234c3be9e1a', id: componentWrapperId }, inputPanelContent)));
|
|
241
241
|
}
|
|
242
242
|
disconnectedCallback() {
|
|
243
243
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -248,7 +248,14 @@ const KupInputPanel = class {
|
|
|
248
248
|
"data": ["onDataChanged"]
|
|
249
249
|
}; }
|
|
250
250
|
};
|
|
251
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_eventBlurNames = 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(),
|
|
251
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_eventBlurNames = 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) {
|
|
252
|
+
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
253
|
+
if (!cell) {
|
|
254
|
+
return cells.find(({ column }) => column.name === id).cell;
|
|
255
|
+
}
|
|
256
|
+
return cell;
|
|
257
|
+
}, null);
|
|
258
|
+
}, _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
252
259
|
var _a;
|
|
253
260
|
const layout = inputPanelCell.row.layout;
|
|
254
261
|
const horizontal = (layout === null || layout === void 0 ? void 0 : layout.horizontal) || false;
|
|
@@ -617,8 +624,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
617
624
|
return null;
|
|
618
625
|
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell, id) {
|
|
619
626
|
var _a;
|
|
620
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
621
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
627
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
628
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
622
629
|
}
|
|
623
630
|
return CHIAdapter(currentValue);
|
|
624
631
|
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
@@ -681,16 +688,16 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
681
688
|
configCMandACP.data['kup-list'].data =
|
|
682
689
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
683
690
|
}
|
|
684
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
685
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
691
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
692
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
686
693
|
}
|
|
687
694
|
return configCMandACP;
|
|
688
695
|
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
689
696
|
var _a;
|
|
690
697
|
let data = CHKAdapter(currentValue, fieldLabel);
|
|
691
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
698
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
692
699
|
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
693
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
700
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
694
701
|
} });
|
|
695
702
|
}
|
|
696
703
|
return data;
|
|
@@ -708,11 +715,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
708
715
|
};
|
|
709
716
|
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
710
717
|
var _a;
|
|
711
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
718
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
712
719
|
return {
|
|
713
720
|
label: fieldLabel,
|
|
714
721
|
onBlur: () => {
|
|
715
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
722
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
716
723
|
},
|
|
717
724
|
};
|
|
718
725
|
}
|
|
@@ -720,9 +727,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
720
727
|
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
|
|
721
728
|
var _a;
|
|
722
729
|
let data = RADAdapter(currentValue, options);
|
|
723
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
730
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
724
731
|
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
725
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
732
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
726
733
|
} });
|
|
727
734
|
}
|
|
728
735
|
return data;
|
|
@@ -730,8 +737,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
730
737
|
return SWTAdapter(currentValue, fieldLabel);
|
|
731
738
|
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
732
739
|
var _a;
|
|
733
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
734
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
740
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
741
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
735
742
|
}
|
|
736
743
|
return {
|
|
737
744
|
data: {
|
|
@@ -743,13 +750,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
743
750
|
};
|
|
744
751
|
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
745
752
|
var _a;
|
|
746
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
753
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
747
754
|
return {
|
|
748
755
|
initialValue: currentValue || '',
|
|
749
756
|
label: fieldLabel || ' ',
|
|
750
757
|
value: currentValue || '',
|
|
751
758
|
onBlur: () => {
|
|
752
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
759
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
753
760
|
},
|
|
754
761
|
};
|
|
755
762
|
}
|
|
@@ -760,8 +767,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
760
767
|
};
|
|
761
768
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
762
769
|
var _a;
|
|
763
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
764
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
770
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
771
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
765
772
|
}
|
|
766
773
|
return {
|
|
767
774
|
data: {
|
|
@@ -772,11 +779,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
772
779
|
};
|
|
773
780
|
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
774
781
|
var _a;
|
|
775
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
782
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
776
783
|
return {
|
|
777
784
|
label: fieldLabel,
|
|
778
785
|
onBlur: () => {
|
|
779
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
786
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
780
787
|
},
|
|
781
788
|
};
|
|
782
789
|
}
|
|
@@ -888,50 +895,84 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
888
895
|
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
|
|
889
896
|
detail.comp.refresh();
|
|
890
897
|
});
|
|
891
|
-
},
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
898
|
+
}, _KupInputPanel_checkOnBlurProp = function _KupInputPanel_checkOnBlurProp(cell, id) {
|
|
899
|
+
var _a;
|
|
900
|
+
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
|
|
901
|
+
// Required cell check
|
|
902
|
+
if (cell.mandatory) {
|
|
903
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
|
|
904
|
+
? // If it's not empty remove the error message
|
|
905
|
+
null
|
|
906
|
+
: // else set the error message
|
|
907
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
908
|
+
}
|
|
909
|
+
if (!currCell.value) {
|
|
910
|
+
return;
|
|
911
|
+
}
|
|
912
|
+
// Valid object check
|
|
913
|
+
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
914
|
+
this.checkValidObjCallback({
|
|
915
|
+
obj: cell.obj,
|
|
916
|
+
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
917
|
+
fun: cell.fun,
|
|
918
|
+
}).then(({ valid }) => {
|
|
919
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
|
|
920
|
+
? // If it's a valid object remove the error message
|
|
921
|
+
null
|
|
922
|
+
: // else set the error message
|
|
923
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
}, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
|
|
927
|
+
const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
|
|
912
928
|
if (!evName) {
|
|
913
929
|
return;
|
|
914
930
|
}
|
|
915
931
|
const handler = (e) => {
|
|
932
|
+
var _a;
|
|
916
933
|
if (e.detail.id !== id) {
|
|
917
934
|
return;
|
|
918
935
|
}
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE);
|
|
936
|
+
// Required cell check
|
|
937
|
+
if (cell.mandatory) {
|
|
938
|
+
e.detail.comp.error = e.detail.value
|
|
939
|
+
? // If it's not empty remove the error message
|
|
940
|
+
null
|
|
941
|
+
: // else set the error message
|
|
942
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE);
|
|
927
943
|
e.detail.comp.refresh();
|
|
928
|
-
}
|
|
944
|
+
}
|
|
945
|
+
if (!e.detail.value) {
|
|
946
|
+
return;
|
|
947
|
+
}
|
|
948
|
+
// Valid object check
|
|
949
|
+
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
950
|
+
this.checkValidObjCallback({
|
|
951
|
+
obj: cell.obj,
|
|
952
|
+
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
953
|
+
fun: cell.fun,
|
|
954
|
+
}).then(({ valid }) => {
|
|
955
|
+
e.detail.comp.error = valid
|
|
956
|
+
? null
|
|
957
|
+
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE);
|
|
958
|
+
e.detail.comp.refresh();
|
|
959
|
+
});
|
|
960
|
+
}
|
|
929
961
|
};
|
|
930
962
|
this.rootElement.addEventListener(evName, handler);
|
|
931
963
|
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
932
964
|
event: evName,
|
|
933
965
|
handler,
|
|
934
966
|
});
|
|
967
|
+
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
968
|
+
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
969
|
+
const data = column.name === id
|
|
970
|
+
? Object.assign(Object.assign({}, cell.data), { error }) : cell.data;
|
|
971
|
+
return {
|
|
972
|
+
column,
|
|
973
|
+
cell: Object.assign(Object.assign({}, cell), { data }),
|
|
974
|
+
};
|
|
975
|
+
}) })));
|
|
935
976
|
};
|
|
936
977
|
KupInputPanel.style = KupInputPanelStyle0;
|
|
937
978
|
|