@sme.up/ketchup 10.2.0 → 10.3.0
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-3ed4ad9e.js → f-cell-cfdd6703.js} +4 -4
- package/dist/cjs/{f-chip-b936dcaf.js → f-chip-24b1eb58.js} +1 -1
- package/dist/cjs/{f-object-field-348fa103.js → f-object-field-2ffc49c1.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f951cc54.js → f-paginator-utils-51bb9317.js} +1 -1
- package/dist/cjs/{f-text-field-e41f653a.js → f-text-field-5face063.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.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_29.cjs.entry.js +121 -57
- package/dist/cjs/kup-box.cjs.entry.js +11 -8
- 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-adaa11bb.js → kup-data-table-helper-6f4d86ea.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 +9 -4
- 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 +44 -69
- 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-39bc2be8.js → kup-manager-49d2d8fe.js} +81 -157
- 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-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/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +1 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +39 -7
- package/dist/collection/components/kup-box/kup-box.js +24 -1
- package/dist/collection/components/kup-button/kup-button.js +0 -24
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.js +24 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +94 -24
- package/dist/collection/components/kup-editor/kup-editor.js +8 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +24 -11
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +47 -31
- package/dist/collection/components/kup-tree/kup-tree.js +42 -12
- package/dist/collection/managers/kup-manager/kup-manager.js +0 -2
- 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-file-upload.js +1 -1
- 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 +44 -68
- 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-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-7d0f1f90.js → p-1ee81222.js} +118 -52
- package/dist/components/{p-b80494d7.js → p-2a4abe21.js} +2 -2
- package/dist/components/{p-eb8a2811.js → p-66d53743.js} +10 -5
- package/dist/components/{p-b304b91c.js → p-7550d08c.js} +81 -157
- package/dist/components/{p-a0258e6f.js → p-7dd33834.js} +2 -2
- package/dist/components/{p-3438f15f.js → p-c45e24b0.js} +6 -3
- package/dist/esm/{f-cell-6576e009.js → f-cell-fbe84498.js} +4 -4
- package/dist/esm/{f-chip-bb62428a.js → f-chip-35dfafdb.js} +1 -1
- package/dist/esm/{f-object-field-b87b6ae6.js → f-object-field-fa368c87.js} +2 -2
- package/dist/esm/{f-paginator-utils-04903d74.js → f-paginator-utils-d7e6b742.js} +1 -1
- package/dist/esm/{f-text-field-9be88e51.js → f-text-field-dcf09b57.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.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_29.entry.js +121 -57
- package/dist/esm/kup-box.entry.js +11 -8
- 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-13eb7abf.js → kup-data-table-helper-537035b9.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 +9 -4
- 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 +44 -69
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-6aa0a1c7.js → kup-manager-2b2b7c68.js} +81 -157
- 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-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/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-b365f2f2.entry.js → p-058d9f3a.entry.js} +1 -1
- package/dist/ketchup/{p-42a1f9ec.entry.js → p-0866ddcf.entry.js} +1 -1
- package/dist/ketchup/{p-e104cfb7.js → p-0a60f2ec.js} +1 -1
- package/dist/ketchup/{p-838d8e97.js → p-0f7a8165.js} +1 -1
- package/dist/ketchup/{p-f8a027a1.entry.js → p-13f159d6.entry.js} +1 -1
- package/dist/ketchup/{p-a597a851.entry.js → p-19689040.entry.js} +1 -1
- package/dist/ketchup/p-1f32300c.entry.js +1 -0
- package/dist/ketchup/{p-55b0991f.entry.js → p-2020fbaf.entry.js} +1 -1
- package/dist/ketchup/{p-07f50333.entry.js → p-328896f0.entry.js} +1 -1
- package/dist/ketchup/{p-6fc1bb18.entry.js → p-32aa082e.entry.js} +1 -1
- package/dist/ketchup/{p-9b907768.entry.js → p-35e03e2f.entry.js} +1 -1
- package/dist/ketchup/{p-58002a23.entry.js → p-3aa35543.entry.js} +1 -1
- package/dist/ketchup/{p-9edd90c2.entry.js → p-3c882916.entry.js} +1 -1
- package/dist/ketchup/{p-15f192f0.entry.js → p-3eb4daa3.entry.js} +1 -1
- package/dist/ketchup/{p-5d9f2d24.entry.js → p-4418988a.entry.js} +1 -1
- package/dist/ketchup/{p-d084b2d4.entry.js → p-446fedb6.entry.js} +1 -1
- package/dist/ketchup/{p-267d1898.js → p-45d34ba7.js} +1 -1
- package/dist/ketchup/{p-d0554d1f.entry.js → p-4a44bef2.entry.js} +1 -1
- package/dist/ketchup/{p-9bc02da6.entry.js → p-4a6c6bf4.entry.js} +1 -1
- package/dist/ketchup/{p-fdcb43a2.entry.js → p-63117858.entry.js} +1 -1
- package/dist/ketchup/{p-92431583.entry.js → p-6714d68a.entry.js} +1 -1
- package/dist/ketchup/{p-8be42f5c.js → p-6eb5f3da.js} +1 -1
- package/dist/ketchup/{p-fb775526.entry.js → p-7722245b.entry.js} +1 -1
- package/dist/ketchup/{p-100b8ae7.entry.js → p-7b45a31b.entry.js} +1 -1
- package/dist/ketchup/{p-d8dbf3df.entry.js → p-8932614c.entry.js} +2 -2
- package/dist/ketchup/{p-c2ccbaca.entry.js → p-8a8da47d.entry.js} +1 -1
- package/dist/ketchup/{p-da44226a.entry.js → p-8feabbf8.entry.js} +1 -1
- package/dist/ketchup/p-97d8720e.entry.js +1 -0
- package/dist/ketchup/{p-6d628b49.entry.js → p-bce5be1c.entry.js} +1 -1
- package/dist/ketchup/{p-e4fa2cf3.js → p-cd73eaec.js} +2 -2
- package/dist/ketchup/{p-e6afa8a6.entry.js → p-d7d84da0.entry.js} +1 -1
- package/dist/ketchup/{p-0de49966.entry.js → p-e695fd91.entry.js} +1 -1
- package/dist/ketchup/p-e6be6193.entry.js +9 -0
- package/dist/ketchup/{p-0b1e0b48.js → p-e78670d8.js} +1 -1
- package/dist/ketchup/{p-a4b6d6c5.js → p-eaabc269.js} +1 -1
- package/dist/ketchup/{p-4ffc1a88.entry.js → p-f69679df.entry.js} +1 -1
- package/dist/ketchup/p-f69923dd.entry.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +5 -0
- package/dist/types/components/kup-box/kup-box.d.ts +2 -0
- package/dist/types/components/kup-button/kup-button.d.ts +0 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +2 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +7 -4
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +2 -1
- package/dist/types/components.d.ts +36 -4
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +0 -2
- package/dist/types/managers/kup-manager/kup-manager.d.ts +0 -2
- package/package.json +2 -2
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding-declarations.js +0 -1
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding.js +0 -79
- package/dist/ketchup/p-2d84c26e.entry.js +0 -1
- package/dist/ketchup/p-3dbafa20.entry.js +0 -9
- package/dist/ketchup/p-3e42953b.entry.js +0 -1
- package/dist/ketchup/p-65b23870.entry.js +0 -1
- package/dist/types/managers/kup-keys-binding/kup-keys-binding-declarations.d.ts +0 -1
- package/dist/types/managers/kup-keys-binding/kup-keys-binding.d.ts +0 -20
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
6
|
const fButton = require('./f-button-bfafefb3.js');
|
|
7
7
|
const fCheckbox = require('./f-checkbox-aaa6d45c.js');
|
|
8
|
-
const fTextField = require('./f-text-field-
|
|
8
|
+
const fTextField = require('./f-text-field-5face063.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
10
|
-
const kupManager = require('./kup-manager-
|
|
10
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-db10b066.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -46180,8 +46180,13 @@ const KupEditor = class {
|
|
|
46180
46180
|
}, this.autosaveTimer), "f");
|
|
46181
46181
|
}
|
|
46182
46182
|
onEditorSave() {
|
|
46183
|
-
|
|
46184
|
-
|
|
46183
|
+
if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46184
|
+
this.editor
|
|
46185
|
+
.getUI()
|
|
46186
|
+
.getToolbar()
|
|
46187
|
+
.removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
|
|
46188
|
+
__classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
|
|
46189
|
+
}
|
|
46185
46190
|
this.kupSave.emit(this.getSaveAndAutoSaveProps());
|
|
46186
46191
|
}
|
|
46187
46192
|
onEditorAutoSave() {
|
|
@@ -46270,7 +46275,7 @@ const KupEditor = class {
|
|
|
46270
46275
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
46271
46276
|
}
|
|
46272
46277
|
render() {
|
|
46273
|
-
return (index.h(index.Host, { key: '
|
|
46278
|
+
return (index.h(index.Host, { key: 'e7af368e1134de8874c2791b82291bc5391bff6d' }, index.h("div", { key: '0faeedec267b850a027ce153adaf116c8dbe0a82', id: GenericVariables.componentWrapperId }, index.h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }))));
|
|
46274
46279
|
}
|
|
46275
46280
|
disconnectedCallback() {
|
|
46276
46281
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
|
|
@@ -6,7 +6,7 @@ const index = require('./index-c7d441d8.js');
|
|
|
6
6
|
const fButton = require('./f-button-bfafefb3.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-db10b066.js');
|
|
9
|
-
const kupManager = require('./kup-manager-
|
|
9
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
11
|
require('./kup-dates-bc4cf9d0.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
require('./kup-dates-bc4cf9d0.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fImage = require('./f-image-db10b066.js');
|
|
9
9
|
const fButton = require('./f-button-bfafefb3.js');
|
|
10
10
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-cfdd6703.js');
|
|
12
12
|
const component = require('./component-cb3b32f5.js');
|
|
13
13
|
require('./kup-dates-bc4cf9d0.js');
|
|
14
14
|
require('./f-checkbox-aaa6d45c.js');
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-chip-24b1eb58.js');
|
|
16
|
+
require('./f-object-field-2ffc49c1.js');
|
|
17
|
+
require('./f-text-field-5face063.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-image-list component.
|
|
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
6
|
const fButton = require('./f-button-bfafefb3.js');
|
|
7
|
-
const fCell = require('./f-cell-
|
|
8
|
-
const kupManager = require('./kup-manager-
|
|
7
|
+
const fCell = require('./f-cell-cfdd6703.js');
|
|
8
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
10
10
|
const fTypography = require('./f-typography-85d8238a.js');
|
|
11
11
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
12
12
|
require('./f-button-declarations-76ef9f87.js');
|
|
13
13
|
require('./f-image-db10b066.js');
|
|
14
14
|
require('./f-checkbox-aaa6d45c.js');
|
|
15
|
-
require('./f-chip-
|
|
16
|
-
require('./f-object-field-
|
|
17
|
-
require('./f-text-field-
|
|
15
|
+
require('./f-chip-24b1eb58.js');
|
|
16
|
+
require('./f-object-field-2ffc49c1.js');
|
|
17
|
+
require('./f-text-field-5face063.js');
|
|
18
18
|
require('./kup-dates-bc4cf9d0.js');
|
|
19
19
|
require('./component-cb3b32f5.js');
|
|
20
20
|
|
|
@@ -51,35 +51,6 @@ var KupInputPanelButtonsPositions;
|
|
|
51
51
|
KupInputPanelButtonsPositions["RIGHT"] = "RIGHT";
|
|
52
52
|
KupInputPanelButtonsPositions["TOP"] = "TOP";
|
|
53
53
|
})(KupInputPanelButtonsPositions || (KupInputPanelButtonsPositions = {}));
|
|
54
|
-
const InputPanelKeyCommands = {
|
|
55
|
-
'*F01': 'F1',
|
|
56
|
-
'*F02': 'F2',
|
|
57
|
-
'*F03': 'F3',
|
|
58
|
-
'*F04': 'F4',
|
|
59
|
-
'*F05': 'F5',
|
|
60
|
-
'*F06': 'F6',
|
|
61
|
-
'*F07': 'F7',
|
|
62
|
-
'*F08': 'F8',
|
|
63
|
-
'*F09': 'F9',
|
|
64
|
-
'*F10': 'F10',
|
|
65
|
-
'*F11': 'F11',
|
|
66
|
-
'*F12': 'F12',
|
|
67
|
-
'*F13': 'shift+F1',
|
|
68
|
-
'*F14': 'shift+F2',
|
|
69
|
-
'*F15': 'shift+F3',
|
|
70
|
-
'*F16': 'shift+F4',
|
|
71
|
-
'*F17': 'shift+F5',
|
|
72
|
-
'*F18': 'shift+F6',
|
|
73
|
-
'*F19': 'shift+F7',
|
|
74
|
-
'*F20': 'shift+F8',
|
|
75
|
-
'*F21': 'shift+F9',
|
|
76
|
-
'*F22': 'shift+F10',
|
|
77
|
-
'*F23': 'shift+F11',
|
|
78
|
-
'*F24': 'shift+F12',
|
|
79
|
-
'*ENT': 'Enter',
|
|
80
|
-
'*PDN': 'PageDown',
|
|
81
|
-
'*PUP': 'PageUp',
|
|
82
|
-
};
|
|
83
54
|
var CheckTriggeringEvents;
|
|
84
55
|
(function (CheckTriggeringEvents) {
|
|
85
56
|
CheckTriggeringEvents["BLUR"] = "blur";
|
|
@@ -97,9 +68,16 @@ const CheckConditionsByEventType = {
|
|
|
97
68
|
},
|
|
98
69
|
};
|
|
99
70
|
|
|
100
|
-
|
|
101
|
-
const ROW_HEIGHT = 20;
|
|
102
|
-
const
|
|
71
|
+
// General INP constants
|
|
72
|
+
const ROW_HEIGHT = 20; // Used for the ACTUAL row height calculations (no spacing)
|
|
73
|
+
const SPACED_ROW_HEIGHT = 22; // Used for the INP total height calculations (accounting for row spacing)
|
|
74
|
+
const LEFT_MULTIPLIER = 1.15; // Multiplier commanding the left attribute "scale"
|
|
75
|
+
const ADDITIONAL_WIDTH_WITH_ICON = 18; // Additional width added to account for the shape's icon (ACP,CAL,CMB)
|
|
76
|
+
// Char sizes
|
|
77
|
+
const FONT_SIZE = 12; // Monospace font size of the INP
|
|
78
|
+
const FONT_SIZE_TO_WIDTH_RATIO = 1.6; // FontSize to SingleCharWidth ratio
|
|
79
|
+
const CHAR_WIDTH = FONT_SIZE / FONT_SIZE_TO_WIDTH_RATIO; // Used for field width and left attribute
|
|
80
|
+
const getAbsoluteWidth = (length, graphicShapeHasIcon) => {
|
|
103
81
|
if (length == 0) {
|
|
104
82
|
return CHAR_WIDTH / 2;
|
|
105
83
|
}
|
|
@@ -109,22 +87,22 @@ const getAbsoluteWidth = (length) => {
|
|
|
109
87
|
if (length === 1) {
|
|
110
88
|
return 1.5 * CHAR_WIDTH;
|
|
111
89
|
}
|
|
112
|
-
return length * CHAR_WIDTH
|
|
90
|
+
return (length * CHAR_WIDTH +
|
|
91
|
+
(graphicShapeHasIcon ? ADDITIONAL_WIDTH_WITH_ICON : 0) +
|
|
92
|
+
4 // Additional size to include padding
|
|
93
|
+
);
|
|
113
94
|
};
|
|
114
|
-
const FONT_SIZE = 12;
|
|
115
|
-
const FONT_SIZE_TO_WIDTH_RATIO = 1.666666666666667;
|
|
116
|
-
const SINGLE_CHAR_WIDTH = FONT_SIZE / FONT_SIZE_TO_WIDTH_RATIO;
|
|
117
95
|
const getLabelAbsoluteWidth = (length) => {
|
|
118
96
|
if (length == 0) {
|
|
119
|
-
return
|
|
97
|
+
return CHAR_WIDTH / 2;
|
|
120
98
|
}
|
|
121
99
|
if (!length) {
|
|
122
100
|
return null;
|
|
123
101
|
}
|
|
124
102
|
if (length === 1) {
|
|
125
|
-
return 1.5 *
|
|
103
|
+
return 1.5 * CHAR_WIDTH;
|
|
126
104
|
}
|
|
127
|
-
return length *
|
|
105
|
+
return length * CHAR_WIDTH;
|
|
128
106
|
};
|
|
129
107
|
const getAbsoluteHeight = (height) => {
|
|
130
108
|
if (!height) {
|
|
@@ -151,7 +129,7 @@ const getAbsoluteLeft = (col) => {
|
|
|
151
129
|
if (!col) {
|
|
152
130
|
return null;
|
|
153
131
|
}
|
|
154
|
-
return (col - 1) *
|
|
132
|
+
return (col - 1) * 10 * LEFT_MULTIPLIER;
|
|
155
133
|
};
|
|
156
134
|
const getInpComponentAbsoluteHeight = (layout) => {
|
|
157
135
|
let inpRowHeight = 0;
|
|
@@ -168,6 +146,11 @@ const getInpComponentAbsoluteHeight = (layout) => {
|
|
|
168
146
|
});
|
|
169
147
|
return inpRowHeight;
|
|
170
148
|
};
|
|
149
|
+
const graphicShapeHasIcon = (shape) => {
|
|
150
|
+
return (shape === kupManager.FCellShapes.AUTOCOMPLETE ||
|
|
151
|
+
shape === kupManager.FCellShapes.COMBOBOX ||
|
|
152
|
+
shape === kupManager.FCellShapes.DATE);
|
|
153
|
+
};
|
|
171
154
|
|
|
172
155
|
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup-fcell-width:fit-content;--kup_input_panel_background_color:var(\n --kup-input-panel-background-color,\n var(--kup-layer-0)\n );--kup_input_panel_color:var(\n --kup-input-panel-color,\n var(--kup-text-secondary)\n );--kup_input_panel_font_family:var(\n --kup-input-panel-font-family,\n var(--kup-font-family)\n );--kup_input_panel_font_size:var(\n --kup-input-panel-font-size,\n var(--kup-font-size)\n );--kup_textfield_textarea_height_input_panel:var(\n --kup-textfield-textarea-height-input_panel,\n 200px\n );--kup_textfield_textarea_width_input_panel:var(\n --kup-textfield-textarea-width-input_panel,\n 300px\n );--kup_input_panel_label_alignment:var(--kup-input-panel-label-alignment);--kup_input_panel_label_width:var(--kup-input-panel-label-width);--kup_input_panel_padding:var(--kup-input-panel-padding, 1em 0);--kup_input_panel_padding--inline:var(\n --kup-input-panel-padding--inline,\n 1em 0\n );--kup_input_panel_absolute_max_height:var(\n --kup-input-panel-absolute-max-height,\n \n 716px\n )}:host .input-panel{background:var(--kup_input_panel_background_color);color:var(--kup_input_panel_color);display:flex;flex-grow:1;overflow:auto;padding:var(--kup_input_panel_padding);position:relative;gap:8px}:host .input-panel__commands{display:flex;gap:1rem}:host .input-panel__commands.input-panel__commands--right{flex-shrink:0;overflow:hidden}:host .input-panel--inline{flex:1;overflow-x:auto;white-space:nowrap;padding:var(--kup_input_panel_padding--inline);display:inline-flex;align-items:flex-end}:host .input-panel--column{flex-direction:column}:host .input-panel__section_label_container{display:flex;flex-direction:column;gap:1rem}:host .input-panel__section{display:grid;min-width:0}:host .input-panel__section .f-cell__content>*{width:100%}:host .input-panel .f-text-field .mdc-text-field.mdc-text-field--textarea{min-height:var(--kup_textfield_textarea_height_input_panel) !important;min-width:var(--kup_textfield_textarea_width_input_panel) !important}:host .input-panel__horizontal-section{display:inline-grid}:host .input-panel__section-inline{display:inline-block;width:max-content}:host .input-panel__label_container{display:flex;flex-direction:column;justify-content:center}:host .input-panel__label_container>.f-cell{flex:1}:host .input-panel__tabs_container{display:flex;flex-direction:column;justify-content:center;gap:2rem}:host .input-panel .f-cell.number-cell .f-cell__content{--kup-textfield-font-family:var(--kup_cell_font_family);font-family:var(--kup_cell_font_family)}:host .input-panel .input-panel-label{display:flex;width:100%;height:100%;align-items:center;justify-content:center}:host .input-panel .input-panel-label--legacy-look{font-size:12px;font-family:var(--kup-font-family-monospace);white-space:pre;overflow:hidden}:host .input-panel--absolute{justify-content:flex-end;padding:var(--kup-space-02);max-height:var(--kup_input_panel_absolute_max_height);--kup-textfield-extrasmall-height:20px;--kup-textfield-extrasmall-padding:0 var(--kup-space-01)}:host .input-panel--absolute .input-panel-label{justify-content:start}:host .input-panel--absolute .input-panel-label.input-panel-label-number{justify-content:end}:host .input-panel--absolute .mdc-text-field{height:unset !important}:host .input-panel-form--inline{display:flex;align-items:end;gap:1rem}";
|
|
173
156
|
const KupInputPanelStyle0 = kupInputPanelCss;
|
|
@@ -277,12 +260,6 @@ const KupInputPanel = class {
|
|
|
277
260
|
});
|
|
278
261
|
__classPrivateFieldSet(this, _KupInputPanel_listeners, [], "f");
|
|
279
262
|
}
|
|
280
|
-
if (__classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").length) {
|
|
281
|
-
__classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").map((key) => {
|
|
282
|
-
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.unregister(key);
|
|
283
|
-
});
|
|
284
|
-
__classPrivateFieldSet(this, _KupInputPanel_keysShortcut, [], "f");
|
|
285
|
-
}
|
|
286
263
|
if (this.data) {
|
|
287
264
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
|
|
288
265
|
}
|
|
@@ -344,6 +321,13 @@ const KupInputPanel = class {
|
|
|
344
321
|
async setProps(props) {
|
|
345
322
|
kupManager.setProps(this, KupInputPanelProps, props);
|
|
346
323
|
}
|
|
324
|
+
/**
|
|
325
|
+
* Trigger update from outside
|
|
326
|
+
* @param {string} cellId - When provided, will trigger onclick event of cell instead of *UPDATE
|
|
327
|
+
*/
|
|
328
|
+
async update(cellId) {
|
|
329
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, cellId), cellId);
|
|
330
|
+
}
|
|
347
331
|
//#endregion
|
|
348
332
|
//#region LIFECYCLE HOOKS
|
|
349
333
|
/*-------------------------------------------------*/
|
|
@@ -391,7 +375,7 @@ const KupInputPanel = class {
|
|
|
391
375
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
392
376
|
]
|
|
393
377
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
394
|
-
return (index.h(index.Host, { key: '
|
|
378
|
+
return (index.h(index.Host, { key: '4ff52711b69f8e049b9b269696bbf9464afcec14', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
395
379
|
this.tabSelected = e.detail.node.id;
|
|
396
380
|
}, "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": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK), "onKup-objectfield-searchpayload": (e) => {
|
|
397
381
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
@@ -399,14 +383,11 @@ const KupInputPanel = class {
|
|
|
399
383
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
400
384
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
401
385
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
402
|
-
} }, index.h("style", { key: '
|
|
386
|
+
} }, index.h("style", { key: '0e7d0c363c2ca6c6c9742b633f6f4bc54c8fee19' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: '9c9a06f9c2b7cc15b3e1a844824d5153b1f2f399', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
403
387
|
}
|
|
404
388
|
disconnectedCallback() {
|
|
405
389
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
406
390
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.unregister(this);
|
|
407
|
-
__classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").forEach((keyEvent) => {
|
|
408
|
-
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.unregister(keyEvent);
|
|
409
|
-
});
|
|
410
391
|
}
|
|
411
392
|
get rootElement() { return index.getElement(this); }
|
|
412
393
|
static get watchers() { return {
|
|
@@ -414,6 +395,9 @@ const KupInputPanel = class {
|
|
|
414
395
|
}; }
|
|
415
396
|
};
|
|
416
397
|
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
398
|
+
if (!id) {
|
|
399
|
+
return null;
|
|
400
|
+
}
|
|
417
401
|
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
418
402
|
if (!cell) {
|
|
419
403
|
const foundCell = cells.find(({ column }) => column.name === id);
|
|
@@ -439,7 +423,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
439
423
|
if (layout.absolute) {
|
|
440
424
|
rowContent = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderAbsoluteLayout).call(this, inputPanelCell, layout);
|
|
441
425
|
// 12px is added due to the chance that the horizontal scrollbar will be rendered
|
|
442
|
-
styleObj.height = `${getInpComponentAbsoluteHeight(layout) *
|
|
426
|
+
styleObj.height = `${getInpComponentAbsoluteHeight(layout) * SPACED_ROW_HEIGHT +
|
|
427
|
+
12}px`;
|
|
443
428
|
}
|
|
444
429
|
else {
|
|
445
430
|
if (!layout.sectionsType) {
|
|
@@ -739,7 +724,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
739
724
|
}
|
|
740
725
|
const absoluteWidth = fieldCell.cell.shape === kupManager.FCellShapes.LABEL
|
|
741
726
|
? getLabelAbsoluteWidth(length)
|
|
742
|
-
: getAbsoluteWidth(length);
|
|
727
|
+
: getAbsoluteWidth(length, graphicShapeHasIcon(fieldCell.cell.shape));
|
|
743
728
|
const absoluteHeight = getAbsoluteHeight(field.absoluteHeight);
|
|
744
729
|
const absoluteTop = getAbsoluteTop(field.absoluteRow, absoluteTblPositioningData);
|
|
745
730
|
const absoluteLeft = getAbsoluteLeft(field.absoluteColumn);
|
|
@@ -933,15 +918,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
933
918
|
},
|
|
934
919
|
};
|
|
935
920
|
}, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue, cell, id) {
|
|
936
|
-
var _a, _b, _c, _d;
|
|
937
921
|
cell.data = cell.data || {};
|
|
938
922
|
cell.data.onClick = () => {
|
|
939
923
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
|
|
940
924
|
};
|
|
941
|
-
if (((_a = cell.data) === null || _a === void 0 ? void 0 : _a.keyShortcut) && !((_b = cell.data) === null || _b === void 0 ? void 0 : _b.disabled)) {
|
|
942
|
-
__classPrivateFieldGet(this, _KupInputPanel_keysShortcut, "f").push((_c = cell.data) === null || _c === void 0 ? void 0 : _c.keyShortcut);
|
|
943
|
-
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
|
|
944
|
-
}
|
|
945
925
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
946
926
|
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
|
|
947
927
|
const configCMandACP = kupManager.CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
@@ -1118,11 +1098,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1118
1098
|
};
|
|
1119
1099
|
});
|
|
1120
1100
|
}, _KupInputPanel_commandAdapter = function _KupInputPanel_commandAdapter(cell) {
|
|
1121
|
-
if (cell.data &&
|
|
1122
|
-
!cell.data.keyShortcut &&
|
|
1123
|
-
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").objects.isJ1Key(cell.obj ? cell.obj : {})) {
|
|
1124
|
-
cell.data.keyShortcut = InputPanelKeyCommands[cell.obj.k];
|
|
1125
|
-
}
|
|
1126
1101
|
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 });
|
|
1127
1102
|
return buttonCell;
|
|
1128
1103
|
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
|
|
@@ -1232,7 +1207,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1232
1207
|
}, _KupInputPanel_areValuesUpdated = function _KupInputPanel_areValuesUpdated() {
|
|
1233
1208
|
return this.inputPanelCells.some(({ cells, row }) => cells.some(({ cell, column: { name } }) => cell.value !== row.cells[name].value));
|
|
1234
1209
|
}, _KupInputPanel_getFunctionOnClickBTN = function _KupInputPanel_getFunctionOnClickBTN(cell, id) {
|
|
1235
|
-
cell.fun
|
|
1210
|
+
(cell === null || cell === void 0 ? void 0 : cell.fun)
|
|
1236
1211
|
? this.customButtonClickHandler({
|
|
1237
1212
|
fun: cell.fun,
|
|
1238
1213
|
cellId: id,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-49d2d8fe.js');
|
|
7
7
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
8
8
|
const fImage = require('./f-image-db10b066.js');
|
|
9
9
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|