@sme.up/ketchup 11.0.0-SNAPSHOT-20241030100919 → 11.0.0-SNAPSHOT-20241030162740
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-784e142a.js → f-cell-ccde7158.js} +4 -4
- package/dist/cjs/{f-cell-784e142a.js.map → f-cell-ccde7158.js.map} +1 -1
- package/dist/cjs/{f-chip-af09446d.js → f-chip-dbe137ed.js} +2 -2
- package/dist/cjs/{f-chip-af09446d.js.map → f-chip-dbe137ed.js.map} +1 -1
- package/dist/cjs/{f-paginator-utils-662821e2.js → f-paginator-utils-4cf8ac1e.js} +2 -2
- package/dist/cjs/{f-paginator-utils-662821e2.js.map → f-paginator-utils-4cf8ac1e.js.map} +1 -1
- package/dist/cjs/{f-text-field-02d9d284.js → f-text-field-8b373b26.js} +2 -2
- package/dist/cjs/{f-text-field-02d9d284.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-d5528bc5.js → kup-data-table-helper-bef7a94e.js} +2 -2
- package/dist/cjs/{kup-data-table-helper-d5528bc5.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 +97 -56
- 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-189eaf63.js → kup-manager-6e414e08.js} +6 -3
- 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 +1 -1
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +93 -52
- package/dist/collection/components/kup-input-panel/kup-input-panel.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/components/kup-input-panel.js +93 -52
- package/dist/components/kup-input-panel.js.map +1 -1
- package/dist/components/kup-manager.js +5 -2
- package/dist/components/kup-manager.js.map +1 -1
- package/dist/esm/{f-cell-9f52a30a.js → f-cell-e6b53a87.js} +4 -4
- package/dist/esm/{f-cell-9f52a30a.js.map → f-cell-e6b53a87.js.map} +1 -1
- package/dist/esm/{f-chip-dd98e13c.js → f-chip-ebf776f3.js} +2 -2
- package/dist/esm/{f-chip-dd98e13c.js.map → f-chip-ebf776f3.js.map} +1 -1
- package/dist/esm/{f-paginator-utils-72800ef7.js → f-paginator-utils-2aac0d1a.js} +2 -2
- package/dist/esm/{f-paginator-utils-72800ef7.js.map → f-paginator-utils-2aac0d1a.js.map} +1 -1
- package/dist/esm/{f-text-field-81c7e63b.js → f-text-field-ca6c5386.js} +2 -2
- package/dist/esm/{f-text-field-81c7e63b.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-52b21f9e.js → kup-data-table-helper-2ff0b12a.js} +2 -2
- package/dist/esm/{kup-data-table-helper-52b21f9e.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 +97 -56
- 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-ee1e7cd4.js → kup-manager-1d6b8b1a.js} +6 -3
- 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 +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-80928c2c.entry.js → p-0b4f6874.entry.js} +2 -2
- package/dist/ketchup/{p-24ff4213.entry.js → p-16e93198.entry.js} +2 -2
- package/dist/ketchup/{p-69012c53.entry.js → p-18481eec.entry.js} +2 -2
- package/dist/ketchup/{p-602cd520.entry.js → p-192c022f.entry.js} +2 -2
- package/dist/ketchup/{p-20bae24d.entry.js → p-196f3059.entry.js} +2 -2
- package/dist/ketchup/{p-25355f43.entry.js → p-2389ccc1.entry.js} +2 -2
- package/dist/ketchup/{p-f0be4c49.entry.js → p-4799c97f.entry.js} +2 -2
- package/dist/ketchup/{p-4a98256d.entry.js → p-587e12b4.entry.js} +2 -2
- package/dist/ketchup/{p-5ae04be3.entry.js → p-607b83f5.entry.js} +2 -2
- package/dist/ketchup/{p-f08e6820.entry.js → p-62596f5d.entry.js} +2 -2
- package/dist/ketchup/p-63683279.entry.js +2 -0
- package/dist/ketchup/p-63683279.entry.js.map +1 -0
- package/dist/ketchup/{p-2ebedaaa.entry.js → p-67763e23.entry.js} +2 -2
- package/dist/ketchup/{p-fd00900c.entry.js → p-7cdceaea.entry.js} +2 -2
- package/dist/ketchup/{p-b2875c24.js → p-7d7b8718.js} +2 -2
- package/dist/ketchup/{p-6e258e44.entry.js → p-853e2b1d.entry.js} +2 -2
- package/dist/ketchup/p-86b6489e.js +29 -0
- package/dist/{cjs/kup-manager-189eaf63.js.map → ketchup/p-86b6489e.js.map} +1 -1
- package/dist/ketchup/{p-7728ffb2.entry.js → p-8ab1203f.entry.js} +2 -2
- package/dist/ketchup/{p-8de170dd.entry.js → p-8e844b9d.entry.js} +2 -2
- package/dist/ketchup/{p-b8c8d7b8.entry.js → p-9da57972.entry.js} +2 -2
- package/dist/ketchup/{p-3dde5808.js → p-a16707d1.js} +2 -2
- package/dist/ketchup/{p-48e9e28a.entry.js → p-a3ace76e.entry.js} +2 -2
- package/dist/ketchup/{p-a5329b0b.entry.js → p-a55d2c8b.entry.js} +2 -2
- package/dist/ketchup/{p-bec9fb36.entry.js → p-affd9a2c.entry.js} +2 -2
- package/dist/ketchup/{p-724a3fdb.entry.js → p-b0ca996f.entry.js} +2 -2
- package/dist/ketchup/{p-92f8f2a8.entry.js → p-bb7dddb3.entry.js} +2 -2
- package/dist/ketchup/{p-2bf4b018.entry.js → p-c4ae346f.entry.js} +2 -2
- package/dist/ketchup/{p-6e7863c6.entry.js → p-cc901eb3.entry.js} +2 -2
- package/dist/ketchup/{p-7fbb3587.entry.js → p-d5325eb6.entry.js} +2 -2
- package/dist/ketchup/{p-444237dd.entry.js → p-d6243c07.entry.js} +2 -2
- package/dist/ketchup/{p-f28e4d30.entry.js → p-deb86dcb.entry.js} +2 -2
- package/dist/ketchup/{p-2049ede1.js → p-e9388650.js} +2 -2
- package/dist/ketchup/{p-ba47d93e.js → p-f3f54269.js} +2 -2
- package/dist/ketchup/{p-15ed7d99.entry.js → p-f59fb7d0.entry.js} +2 -2
- package/dist/ketchup/{p-dd80dcd1.entry.js → p-f607dc0d.entry.js} +2 -2
- package/dist/ketchup/{p-1cb80f82.js → p-fe31a004.js} +2 -2
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +2 -1
- package/package.json +1 -1
- package/dist/esm/kup-manager-ee1e7cd4.js.map +0 -1
- package/dist/ketchup/p-49a79002.js +0 -29
- package/dist/ketchup/p-49a79002.js.map +0 -1
- package/dist/ketchup/p-70d05775.entry.js +0 -2
- package/dist/ketchup/p-70d05775.entry.js.map +0 -1
- /package/dist/ketchup/{p-80928c2c.entry.js.map → p-0b4f6874.entry.js.map} +0 -0
- /package/dist/ketchup/{p-24ff4213.entry.js.map → p-16e93198.entry.js.map} +0 -0
- /package/dist/ketchup/{p-69012c53.entry.js.map → p-18481eec.entry.js.map} +0 -0
- /package/dist/ketchup/{p-602cd520.entry.js.map → p-192c022f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-20bae24d.entry.js.map → p-196f3059.entry.js.map} +0 -0
- /package/dist/ketchup/{p-25355f43.entry.js.map → p-2389ccc1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f0be4c49.entry.js.map → p-4799c97f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-4a98256d.entry.js.map → p-587e12b4.entry.js.map} +0 -0
- /package/dist/ketchup/{p-5ae04be3.entry.js.map → p-607b83f5.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f08e6820.entry.js.map → p-62596f5d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2ebedaaa.entry.js.map → p-67763e23.entry.js.map} +0 -0
- /package/dist/ketchup/{p-fd00900c.entry.js.map → p-7cdceaea.entry.js.map} +0 -0
- /package/dist/ketchup/{p-b2875c24.js.map → p-7d7b8718.js.map} +0 -0
- /package/dist/ketchup/{p-6e258e44.entry.js.map → p-853e2b1d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-7728ffb2.entry.js.map → p-8ab1203f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-8de170dd.entry.js.map → p-8e844b9d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-b8c8d7b8.entry.js.map → p-9da57972.entry.js.map} +0 -0
- /package/dist/ketchup/{p-3dde5808.js.map → p-a16707d1.js.map} +0 -0
- /package/dist/ketchup/{p-48e9e28a.entry.js.map → p-a3ace76e.entry.js.map} +0 -0
- /package/dist/ketchup/{p-a5329b0b.entry.js.map → p-a55d2c8b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-bec9fb36.entry.js.map → p-affd9a2c.entry.js.map} +0 -0
- /package/dist/ketchup/{p-724a3fdb.entry.js.map → p-b0ca996f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-92f8f2a8.entry.js.map → p-bb7dddb3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2bf4b018.entry.js.map → p-c4ae346f.entry.js.map} +0 -0
- /package/dist/ketchup/{p-6e7863c6.entry.js.map → p-cc901eb3.entry.js.map} +0 -0
- /package/dist/ketchup/{p-7fbb3587.entry.js.map → p-d5325eb6.entry.js.map} +0 -0
- /package/dist/ketchup/{p-444237dd.entry.js.map → p-d6243c07.entry.js.map} +0 -0
- /package/dist/ketchup/{p-f28e4d30.entry.js.map → p-deb86dcb.entry.js.map} +0 -0
- /package/dist/ketchup/{p-2049ede1.js.map → p-e9388650.js.map} +0 -0
- /package/dist/ketchup/{p-ba47d93e.js.map → p-f3f54269.js.map} +0 -0
- /package/dist/ketchup/{p-15ed7d99.entry.js.map → p-f59fb7d0.entry.js.map} +0 -0
- /package/dist/ketchup/{p-dd80dcd1.entry.js.map → p-f607dc0d.entry.js.map} +0 -0
- /package/dist/ketchup/{p-1cb80f82.js.map → p-fe31a004.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-3fc9697c.js');
|
|
9
9
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-8b373b26.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
10
10
|
require('./kup-dates-3fc9697c.js');
|
|
11
11
|
require('./f-image-8dbf27a2.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-3fc9697c.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-3fc9697c.js');
|
|
9
9
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager$1 = require('./kup-manager-
|
|
6
|
+
const kupManager$1 = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const kupPlannerDeclarations = require('./kup-planner-declarations-7291d01c.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
|
-
const fTextField = require('./f-text-field-
|
|
9
|
+
const fTextField = require('./f-text-field-8b373b26.js');
|
|
10
10
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
11
11
|
require('./kup-dates-3fc9697c.js');
|
|
12
12
|
require('./f-image-8dbf27a2.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-3fc9697c.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
require('./kup-dates-3fc9697c.js');
|
|
8
8
|
|
|
9
9
|
const kupQlikCss = ".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}.kup-qlik-container-fluid{width:100%}.kup-qlik-container{width:100%}@media (min-width: 576px){.kup-qlik-container{width:576px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 768px){.kup-qlik-container{width:768px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 992px){.kup-qlik-container{width:992px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}@media (min-width: 1200px){.kup-qlik-container{width:1200px}.kup-qlik-row>.qvobject{flex:0 0 auto;min-width:100px;margin:0px auto 5px auto}}.kup-qlik-row{display:flex;display:ms-flexbox;flex-wrap:wrap;-ms-flex-wrap:wrap;margin-bottom:5px}.kup-qlik-row .size-M{height:var(--lyo_obj-height)}.kup-qlik-row .size-S{height:calc(var(--lyo_obj-height) / 2)}.kup-qlik-row .size-XS{height:calc(var(--lyo_obj-height) / 3)}.kup-qlik-row .size-L{height:calc(var(--lyo_obj-height) * 2)}.kup-qlik-row .size-XL{height:calc(var(--lyo_obj-height) * 3)}.kup-qlik-row .bordered{border:1px solid var(--kup-border-subtle, #969696)}.kup-qlik-row .width-1{width:8.3333%}.kup-qlik-row .width-2{width:16.6666%}.kup-qlik-row .width-3{width:25%}.kup-qlik-row .width-4{width:33.3333%}.kup-qlik-row .width-5{width:41.6666%}.kup-qlik-row .width-6{width:50%}.kup-qlik-row .width-7{width:58.3333%}.kup-qlik-row .width-8{width:66.6666%}.kup-qlik-row .width-9{width:75%}.kup-qlik-row .width-10{width:83.3333%}.kup-qlik-row .width-11{width:91.6666%}.kup-qlik-row .width-12{width:100%}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-54d0f017.js');
|
|
9
9
|
require('./kup-dates-3fc9697c.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const fTypography = require('./f-typography-024bace8.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
9
|
require('./kup-dates-3fc9697c.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4e97f23f.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-6e414e08.js');
|
|
7
7
|
const fTypography = require('./f-typography-024bace8.js');
|
|
8
8
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
9
9
|
const fImage = require('./f-image-8dbf27a2.js');
|
|
@@ -26,7 +26,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
};
|
|
29
|
-
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,
|
|
29
|
+
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;
|
|
30
30
|
import { Host, forceUpdate, h, } from "@stencil/core";
|
|
31
31
|
import { FButton } from "../../f-components/f-button/f-button";
|
|
32
32
|
import { FCell } from "../../f-components/f-cell/f-cell";
|
|
@@ -185,7 +185,7 @@ export class KupInputPanel {
|
|
|
185
185
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
186
186
|
]
|
|
187
187
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
188
|
-
return (h(Host, { key: '
|
|
188
|
+
return (h(Host, { key: '0c92e26e6d89325589f9700d82ac282784a1ad91' }, h("style", { key: 'b211108726b3ebd7f283981588a7f57372c224ce' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'af20b02f77a9b4613acdd0750c6550ec5f7bee9d', id: componentWrapperId }, inputPanelContent)));
|
|
189
189
|
}
|
|
190
190
|
disconnectedCallback() {
|
|
191
191
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -497,7 +497,14 @@ export class KupInputPanel {
|
|
|
497
497
|
}];
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
|
-
_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(),
|
|
500
|
+
_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) {
|
|
501
|
+
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
502
|
+
if (!cell) {
|
|
503
|
+
return cells.find(({ column }) => column.name === id).cell;
|
|
504
|
+
}
|
|
505
|
+
return cell;
|
|
506
|
+
}, null);
|
|
507
|
+
}, _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
501
508
|
var _a;
|
|
502
509
|
const layout = inputPanelCell.row.layout;
|
|
503
510
|
const horizontal = (layout === null || layout === void 0 ? void 0 : layout.horizontal) || false;
|
|
@@ -760,7 +767,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
760
767
|
if (!componentQuery) {
|
|
761
768
|
return;
|
|
762
769
|
}
|
|
763
|
-
const el = this.rootElement.shadowRoot.querySelector(`${componentQuery}[id=${column.name}]`);
|
|
770
|
+
const el = this.rootElement.shadowRoot.querySelector(`${componentQuery}[id=${column.name.replace(/\//g, '\\$1')}]`);
|
|
764
771
|
el === null || el === void 0 ? void 0 : el.setValue(cell.value);
|
|
765
772
|
}));
|
|
766
773
|
this.inputPanelCells = inpuPanelCells;
|
|
@@ -866,8 +873,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
866
873
|
return null;
|
|
867
874
|
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell, id) {
|
|
868
875
|
var _a;
|
|
869
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
870
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
876
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
877
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
871
878
|
}
|
|
872
879
|
return CHIAdapter(currentValue);
|
|
873
880
|
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
@@ -930,16 +937,16 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
930
937
|
configCMandACP.data['kup-list'].data =
|
|
931
938
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
932
939
|
}
|
|
933
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
934
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
940
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
941
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
935
942
|
}
|
|
936
943
|
return configCMandACP;
|
|
937
944
|
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
938
945
|
var _a;
|
|
939
946
|
let data = CHKAdapter(currentValue, fieldLabel);
|
|
940
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
947
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
941
948
|
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
942
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
949
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
943
950
|
} });
|
|
944
951
|
}
|
|
945
952
|
return data;
|
|
@@ -957,11 +964,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
957
964
|
};
|
|
958
965
|
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
959
966
|
var _a;
|
|
960
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
967
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
961
968
|
return {
|
|
962
969
|
label: fieldLabel,
|
|
963
970
|
onBlur: () => {
|
|
964
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
971
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
965
972
|
},
|
|
966
973
|
};
|
|
967
974
|
}
|
|
@@ -969,9 +976,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
969
976
|
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
|
|
970
977
|
var _a;
|
|
971
978
|
let data = RADAdapter(currentValue, options);
|
|
972
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
979
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
973
980
|
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
974
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
981
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
975
982
|
} });
|
|
976
983
|
}
|
|
977
984
|
return data;
|
|
@@ -979,8 +986,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
979
986
|
return SWTAdapter(currentValue, fieldLabel);
|
|
980
987
|
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
981
988
|
var _a;
|
|
982
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
983
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
989
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
990
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
984
991
|
}
|
|
985
992
|
return {
|
|
986
993
|
data: {
|
|
@@ -992,13 +999,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
992
999
|
};
|
|
993
1000
|
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue, cell, id) {
|
|
994
1001
|
var _a;
|
|
995
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
1002
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
996
1003
|
return {
|
|
997
1004
|
initialValue: currentValue || '',
|
|
998
1005
|
label: fieldLabel || ' ',
|
|
999
1006
|
value: currentValue || '',
|
|
1000
1007
|
onBlur: () => {
|
|
1001
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
1008
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
1002
1009
|
},
|
|
1003
1010
|
};
|
|
1004
1011
|
}
|
|
@@ -1009,8 +1016,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
1009
1016
|
};
|
|
1010
1017
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
1011
1018
|
var _a;
|
|
1012
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
1013
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
1019
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
1020
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
1014
1021
|
}
|
|
1015
1022
|
return {
|
|
1016
1023
|
data: {
|
|
@@ -1021,11 +1028,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
1021
1028
|
};
|
|
1022
1029
|
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
1023
1030
|
var _a;
|
|
1024
|
-
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
1031
|
+
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) || cell.mandatory) {
|
|
1025
1032
|
return {
|
|
1026
1033
|
label: fieldLabel,
|
|
1027
1034
|
onBlur: () => {
|
|
1028
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
1035
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
1029
1036
|
},
|
|
1030
1037
|
};
|
|
1031
1038
|
}
|
|
@@ -1137,49 +1144,83 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_optionsAdapterMap = ne
|
|
|
1137
1144
|
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, currentValue)) !== null && _a !== void 0 ? _a : [];
|
|
1138
1145
|
detail.comp.refresh();
|
|
1139
1146
|
});
|
|
1140
|
-
},
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1147
|
+
}, _KupInputPanel_checkOnBlurProp = function _KupInputPanel_checkOnBlurProp(cell, id) {
|
|
1148
|
+
var _a;
|
|
1149
|
+
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
|
|
1150
|
+
// Required cell check
|
|
1151
|
+
if (cell.mandatory) {
|
|
1152
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
|
|
1153
|
+
? // If it's not empty remove the error message
|
|
1154
|
+
null
|
|
1155
|
+
: // else set the error message
|
|
1156
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1157
|
+
}
|
|
1158
|
+
if (!currCell.value) {
|
|
1159
|
+
return;
|
|
1160
|
+
}
|
|
1161
|
+
// Valid object check
|
|
1162
|
+
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
1163
|
+
this.checkValidObjCallback({
|
|
1164
|
+
obj: cell.obj,
|
|
1165
|
+
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1166
|
+
fun: cell.fun,
|
|
1167
|
+
}).then(({ valid }) => {
|
|
1168
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
|
|
1169
|
+
? // If it's a valid object remove the error message
|
|
1170
|
+
null
|
|
1171
|
+
: // else set the error message
|
|
1172
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1173
|
+
});
|
|
1174
|
+
}
|
|
1175
|
+
}, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
|
|
1176
|
+
const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
|
|
1161
1177
|
if (!evName) {
|
|
1162
1178
|
return;
|
|
1163
1179
|
}
|
|
1164
1180
|
const handler = (e) => {
|
|
1181
|
+
var _a;
|
|
1165
1182
|
if (e.detail.id !== id) {
|
|
1166
1183
|
return;
|
|
1167
1184
|
}
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE);
|
|
1185
|
+
// Required cell check
|
|
1186
|
+
if (cell.mandatory) {
|
|
1187
|
+
e.detail.comp.error = e.detail.value
|
|
1188
|
+
? // If it's not empty remove the error message
|
|
1189
|
+
null
|
|
1190
|
+
: // else set the error message
|
|
1191
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE);
|
|
1176
1192
|
e.detail.comp.refresh();
|
|
1177
|
-
}
|
|
1193
|
+
}
|
|
1194
|
+
if (!e.detail.value) {
|
|
1195
|
+
return;
|
|
1196
|
+
}
|
|
1197
|
+
// Valid object check
|
|
1198
|
+
if ((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) {
|
|
1199
|
+
this.checkValidObjCallback({
|
|
1200
|
+
obj: cell.obj,
|
|
1201
|
+
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1202
|
+
fun: cell.fun,
|
|
1203
|
+
}).then(({ valid }) => {
|
|
1204
|
+
e.detail.comp.error = valid
|
|
1205
|
+
? null
|
|
1206
|
+
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE);
|
|
1207
|
+
e.detail.comp.refresh();
|
|
1208
|
+
});
|
|
1209
|
+
}
|
|
1178
1210
|
};
|
|
1179
1211
|
this.rootElement.addEventListener(evName, handler);
|
|
1180
1212
|
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
1181
1213
|
event: evName,
|
|
1182
1214
|
handler,
|
|
1183
1215
|
});
|
|
1216
|
+
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
1217
|
+
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
1218
|
+
const data = column.name === id
|
|
1219
|
+
? Object.assign(Object.assign({}, cell.data), { error }) : cell.data;
|
|
1220
|
+
return {
|
|
1221
|
+
column,
|
|
1222
|
+
cell: Object.assign(Object.assign({}, cell), { data }),
|
|
1223
|
+
};
|
|
1224
|
+
}) })));
|
|
1184
1225
|
};
|
|
1185
1226
|
//# sourceMappingURL=kup-input-panel.js.map
|