@sme.up/ketchup 10.3.0 → 10.3.2
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/{component-cb3b32f5.js → component-a6dd6c14.js} +1 -1
- package/dist/cjs/{f-cell-cfdd6703.js → f-cell-7a2faf7a.js} +9 -7
- package/dist/cjs/{f-chip-24b1eb58.js → f-chip-f2d6124b.js} +1 -1
- package/dist/cjs/{f-object-field-2ffc49c1.js → f-object-field-3810f288.js} +2 -2
- package/dist/cjs/{f-paginator-utils-51bb9317.js → f-paginator-utils-3855e84c.js} +1 -1
- package/dist/cjs/{f-text-field-5face063.js → f-text-field-a34a5979.js} +2 -2
- package/dist/cjs/{f-text-field-mdc-2a3c8c01.js → f-text-field-mdc-29aae9c9.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 +247 -44
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +952 -901
- package/dist/cjs/kup-box.cjs.entry.js +86 -71
- package/dist/cjs/kup-calendar.cjs.entry.js +1036 -180
- 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 +4 -4
- package/dist/cjs/{kup-data-table-helper-6f4d86ea.js → kup-data-table-helper-f53032e7.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +5 -4
- package/dist/cjs/kup-editor.cjs.entry.js +3 -3
- 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 +10 -9
- package/dist/cjs/kup-input-panel.cjs.entry.js +60 -36
- 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-49d2d8fe.js → kup-manager-c70d3188.js} +171 -24
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- 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 +4 -4
- 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/assets/accordion.js +73 -18
- package/dist/collection/assets/dashboard.js +3 -9
- package/dist/collection/components/kup-accordion/kup-accordion-declarations.js +6 -1
- package/dist/collection/components/kup-accordion/kup-accordion.css +10 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +432 -54
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +44 -28
- package/dist/collection/components/kup-box/kup-box.js +92 -62
- package/dist/collection/components/kup-calendar/kup-calendar.css +18 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +32 -14
- package/dist/collection/components/kup-card/built-in/kup-card-column-drop-menu.js +3 -3
- package/dist/collection/components/kup-card/kup-card-helper.js +3 -2
- package/dist/collection/components/kup-card/kup-card.css +16 -0
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +10 -3
- package/dist/collection/components/kup-chip/kup-chip.js +5 -5
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.js +37 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +63 -52
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +4 -3
- package/dist/collection/components/kup-image/assets/svg/bullseye-arrow.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/email-stacked.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/filter-off.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/status.svg +9 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +4 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +20 -14
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +55 -18
- package/dist/collection/components/kup-tab-bar/kup-tab-bar-declarations.js +4 -0
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +26 -43
- package/dist/collection/components/kup-toolbar/kup-toolbar.css +17 -6
- package/dist/collection/components/kup-tree/kup-tree.js +14 -11
- package/dist/collection/f-components/f-cell/f-cell.js +3 -2
- package/dist/collection/f-components/f-radio/f-radio.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -1
- package/dist/collection/managers/kup-data/kup-data.js +51 -0
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +45 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +3 -2
- package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning-declarations.js +1 -0
- package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning.js +25 -0
- package/dist/collection/utils/cell-utils.js +21 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +253 -45
- 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 +1037 -181
- 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 +6 -5
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +57 -32
- 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-2a4abe21.js → p-286915d4.js} +2 -2
- package/dist/components/{p-c45e24b0.js → p-3ba7c133.js} +80 -64
- package/dist/components/{p-1ee81222.js → p-55fda958.js} +2049 -1989
- package/dist/components/{p-66d53743.js → p-7bdb5142.js} +4 -4
- package/dist/components/{p-7550d08c.js → p-9859e801.js} +171 -25
- package/dist/components/{p-7dd33834.js → p-a22e5ee4.js} +6 -5
- package/dist/esm/{component-879e99bf.js → component-a35bc7f1.js} +1 -1
- package/dist/esm/{f-cell-fbe84498.js → f-cell-ae0c965d.js} +9 -7
- package/dist/esm/{f-chip-35dfafdb.js → f-chip-29242e70.js} +1 -1
- package/dist/esm/{f-object-field-fa368c87.js → f-object-field-75069ac2.js} +2 -2
- package/dist/esm/{f-paginator-utils-d7e6b742.js → f-paginator-utils-212f93c3.js} +1 -1
- package/dist/esm/{f-text-field-dcf09b57.js → f-text-field-ebe023fb.js} +2 -2
- package/dist/esm/{f-text-field-mdc-9a862967.js → f-text-field-mdc-81ce6c7c.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +247 -44
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_29.entry.js +189 -138
- package/dist/esm/kup-box.entry.js +86 -71
- package/dist/esm/kup-calendar.entry.js +1037 -181
- 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 +4 -4
- package/dist/esm/{kup-data-table-helper-537035b9.js → kup-data-table-helper-ca11e6e9.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +5 -4
- package/dist/esm/kup-editor.entry.js +3 -3
- 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 +10 -9
- package/dist/esm/kup-input-panel.entry.js +60 -36
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-2b2b7c68.js → kup-manager-63a8048f.js} +171 -25
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- 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 +4 -4
- 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/assets/svg/bullseye-arrow.svg +1 -0
- package/dist/ketchup/assets/svg/email-stacked.svg +1 -0
- package/dist/ketchup/assets/svg/filter-off.svg +1 -0
- package/dist/ketchup/assets/svg/status.svg +9 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-102d35b1.js +1 -0
- package/dist/ketchup/p-11e54526.entry.js +1 -0
- package/dist/ketchup/{p-7b45a31b.entry.js → p-260587c5.entry.js} +1 -1
- package/dist/ketchup/p-3533879b.entry.js +1 -0
- package/dist/ketchup/{p-4a6c6bf4.entry.js → p-434f2c39.entry.js} +1 -1
- package/dist/ketchup/{p-8932614c.entry.js → p-4365fbd3.entry.js} +1 -1
- package/dist/ketchup/p-43f12940.entry.js +1 -0
- package/dist/ketchup/p-4a64f9f2.entry.js +1 -0
- package/dist/ketchup/p-4cfa35bc.js +1 -0
- package/dist/ketchup/{p-d7d84da0.entry.js → p-5bf3d60d.entry.js} +2 -2
- package/dist/ketchup/p-5d28e8e0.entry.js +8 -0
- package/dist/ketchup/{p-e78670d8.js → p-610faea9.js} +1 -1
- package/dist/ketchup/{p-3aa35543.entry.js → p-6c41cd20.entry.js} +1 -1
- package/dist/ketchup/{p-19689040.entry.js → p-6f1dec16.entry.js} +1 -1
- package/dist/ketchup/{p-0a60f2ec.js → p-7375d456.js} +1 -1
- package/dist/ketchup/{p-f69679df.entry.js → p-7b326bde.entry.js} +1 -1
- package/dist/ketchup/{p-c4054aba.js → p-7db300e0.js} +1 -1
- package/dist/ketchup/{p-446fedb6.entry.js → p-7dfc42f0.entry.js} +1 -1
- package/dist/ketchup/p-81743364.entry.js +1 -0
- package/dist/ketchup/p-8610d5b5.js +21 -0
- package/dist/ketchup/{p-3c882916.entry.js → p-8ba1d444.entry.js} +1 -1
- package/dist/ketchup/p-93541362.entry.js +1 -0
- package/dist/ketchup/{p-bce5be1c.entry.js → p-9b200a90.entry.js} +1 -1
- package/dist/ketchup/{p-7722245b.entry.js → p-9baa1d6d.entry.js} +1 -1
- package/dist/ketchup/{p-058d9f3a.entry.js → p-a2d40711.entry.js} +1 -1
- package/dist/ketchup/{p-e695fd91.entry.js → p-b068a383.entry.js} +1 -1
- package/dist/ketchup/p-b6beace3.entry.js +1 -0
- package/dist/ketchup/{p-8a8da47d.entry.js → p-b91e3bae.entry.js} +1 -1
- package/dist/ketchup/{p-3eb4daa3.entry.js → p-bc789017.entry.js} +1 -1
- package/dist/ketchup/{p-63117858.entry.js → p-c8cd012e.entry.js} +1 -1
- package/dist/ketchup/{p-328896f0.entry.js → p-d84e4e90.entry.js} +1 -1
- package/dist/ketchup/{p-0f7a8165.js → p-da694791.js} +1 -1
- package/dist/ketchup/{p-eaabc269.js → p-e705eb4a.js} +1 -1
- package/dist/ketchup/{p-35e03e2f.entry.js → p-e7293ae8.entry.js} +1 -1
- package/dist/ketchup/{p-13f159d6.entry.js → p-eb090acd.entry.js} +1 -1
- package/dist/ketchup/{p-6714d68a.entry.js → p-fb7c0958.entry.js} +1 -1
- package/dist/ketchup/p-fb82cad9.entry.js +1 -0
- package/dist/ketchup/{p-4418988a.entry.js → p-fe42ae2d.entry.js} +1 -1
- package/dist/types/components/kup-accordion/kup-accordion-declarations.d.ts +14 -7
- package/dist/types/components/kup-accordion/kup-accordion.d.ts +62 -6
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +3 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +7 -2
- package/dist/types/components/kup-box/kup-box.d.ts +4 -5
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +1 -1
- package/dist/types/components/kup-card/kup-card-helper.d.ts +2 -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-input-panel/kup-input-panel-declarations.d.ts +2 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +1 -1
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +6 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar-declarations.d.ts +6 -1
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +1 -5
- package/dist/types/components.d.ts +94 -21
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data.d.ts +11 -0
- package/dist/types/managers/kup-dynamic-position/kup-dynamic-position.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +3 -1
- package/dist/types/managers/kup-perf-tuning/kup-perf-tuning-declarations.d.ts +3 -1
- package/dist/types/managers/kup-perf-tuning/kup-perf-tuning.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +2 -0
- package/package.json +2 -2
- package/dist/ketchup/p-0866ddcf.entry.js +0 -1
- package/dist/ketchup/p-1f32300c.entry.js +0 -1
- package/dist/ketchup/p-2020fbaf.entry.js +0 -1
- package/dist/ketchup/p-32aa082e.entry.js +0 -1
- package/dist/ketchup/p-45d34ba7.js +0 -1
- package/dist/ketchup/p-4a44bef2.entry.js +0 -1
- package/dist/ketchup/p-6eb5f3da.js +0 -1
- package/dist/ketchup/p-8feabbf8.entry.js +0 -1
- package/dist/ketchup/p-97d8720e.entry.js +0 -1
- package/dist/ketchup/p-cd73eaec.js +0 -21
- package/dist/ketchup/p-e6be6193.entry.js +0 -9
- package/dist/ketchup/p-f69923dd.entry.js +0 -1
- /package/dist/ketchup/{p-d4a879fc.js → p-c56195a0.js} +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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ah as getCellValueForDisplay } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance,
|
|
2
|
+
import { k as kupManagerInstance, i as FCellPadding, az as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aA as submitPositionAdapter, b as KupLanguageGeneric, aB as KupCellProps } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-ae0c965d.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
9
9
|
import './f-checkbox-5cdd1cad.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-29242e70.js';
|
|
11
|
+
import './f-object-field-75069ac2.js';
|
|
12
|
+
import './f-text-field-ebe023fb.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size: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{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
-
import { F as FTextFieldMDC } from './f-text-field-mdc-
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aC as KupLanguageDashboard,
|
|
4
|
+
import { F as FTextField } from './f-text-field-ebe023fb.js';
|
|
5
|
+
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aC as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-63a8048f.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
|
-
import './component-
|
|
10
|
+
import './component-a35bc7f1.js';
|
|
11
11
|
import './kup-dates-da19044e.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ah as getCellValueForDisplay, x as getColumnByName, z as KupObjects, ai as KupData, aj as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, ak as CMBandACPAdapter, al as RADAdapter, am as CHKAdapter, an as CHIAdapter, ao as SWTAdapter, a7 as SortMode } from './kup-manager-63a8048f.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.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-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -84633,7 +84633,7 @@ const KupEchart = class {
|
|
|
84633
84633
|
async resizeCallback() {
|
|
84634
84634
|
window.clearTimeout(__classPrivateFieldGet(this, _KupEchart_resizeTimeout, "f"));
|
|
84635
84635
|
__classPrivateFieldSet(this, _KupEchart_resizeTimeout, window.setTimeout(() => {
|
|
84636
|
-
if (__classPrivateFieldGet(this, _KupEchart_chartEl, "f")) {
|
|
84636
|
+
if (__classPrivateFieldGet(this, _KupEchart_chartEl, "f") && __classPrivateFieldGet(this, _KupEchart_chartEl, "f").getZr()) {
|
|
84637
84637
|
const xMin = this.rootElement.clientWidth - 5;
|
|
84638
84638
|
const xMax = this.rootElement.clientWidth + 5;
|
|
84639
84639
|
const yMin = this.rootElement.clientHeight - 5;
|
|
@@ -84688,10 +84688,11 @@ const KupEchart = class {
|
|
|
84688
84688
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
84689
84689
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
84690
84690
|
};
|
|
84691
|
-
return (h(Host, { key: '
|
|
84691
|
+
return (h(Host, { key: '54172a06b4c9fa2b4b14aa2cedf1002ee6ba535c', style: style }, h("style", { key: 'c88e6cd2781d7bf5a9d0fbb2ce6f95b3da037bbf' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd6464aff5fcaa909b91b642b5c22d2115f474fd4', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
84692
84692
|
}
|
|
84693
84693
|
disconnectedCallback() {
|
|
84694
|
-
|
|
84694
|
+
var _a;
|
|
84695
|
+
(_a = __classPrivateFieldGet(this, _KupEchart_chartEl, "f")) === null || _a === void 0 ? void 0 : _a.dispose();
|
|
84695
84696
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.unregister(this);
|
|
84696
84697
|
__classPrivateFieldGet(this, _KupEchart_kupManager, "f").resize.unobserve(this.rootElement);
|
|
84697
84698
|
}
|
|
@@ -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-9b0f4a0d.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-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -3432,7 +3432,7 @@ var codemirror = {exports: {}};
|
|
|
3432
3432
|
}
|
|
3433
3433
|
|
|
3434
3434
|
// Compute the lines that are visible in a given viewport (defaults
|
|
3435
|
-
// the
|
|
3435
|
+
// the current scroll position). viewport may contain top,
|
|
3436
3436
|
// height, and ensure (see op.scrollToPos) properties.
|
|
3437
3437
|
function visibleLines(display, doc, viewport) {
|
|
3438
3438
|
var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;
|
|
@@ -9884,7 +9884,7 @@ var codemirror = {exports: {}};
|
|
|
9884
9884
|
|
|
9885
9885
|
addLegacyProps(CodeMirror);
|
|
9886
9886
|
|
|
9887
|
-
CodeMirror.version = "5.65.
|
|
9887
|
+
CodeMirror.version = "5.65.19";
|
|
9888
9888
|
|
|
9889
9889
|
return CodeMirror;
|
|
9890
9890
|
|
|
@@ -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-3c8f4506.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-63a8048f.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-da19044e.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-63a8048f.js';
|
|
3
3
|
import './kup-dates-da19044e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes, i as FCellPadding } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
6
6
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { M as MDCRipple } from './component-
|
|
7
|
+
import { F as FCell } from './f-cell-ae0c965d.js';
|
|
8
|
+
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
9
9
|
import './kup-dates-da19044e.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-29242e70.js';
|
|
12
|
+
import './f-object-field-75069ac2.js';
|
|
13
|
+
import './f-text-field-ebe023fb.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Props of the kup-image-list component.
|
|
@@ -231,14 +231,14 @@ const KupImageList = class {
|
|
|
231
231
|
}
|
|
232
232
|
const imlClass = 'image-list' +
|
|
233
233
|
(this.showFullDescription ? ' full-description' : '');
|
|
234
|
-
return (h(Host, { key: '
|
|
234
|
+
return (h(Host, { key: 'ca040281aa4d992d8d6efaa3e294e4cc5e06f95a' }, h("style", { key: '433ac510a032fef1a28de7a19cc725338f12ed18' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '09711dbe9475c429a0b87f08c4f95d33dc0a2387', id: componentWrapperId, ref: (el) => {
|
|
235
235
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
236
|
-
} }, h("div", { key: '
|
|
236
|
+
} }, h("div", { key: 'fa65e7bfd83e21146e71c9889cf08849cccc1479', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
237
237
|
? 'navigation-bar__wrapper--active'
|
|
238
238
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
239
239
|
this.navigationBarToggled =
|
|
240
240
|
!this.navigationBarToggled;
|
|
241
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '
|
|
241
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: 'e8348ec6cfc974859f45548e1bb156032dda8d2d', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
242
242
|
}
|
|
243
243
|
disconnectedCallback() {
|
|
244
244
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -277,6 +277,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
|
|
|
277
277
|
icon: node.icon,
|
|
278
278
|
placeholderIcon: node.placeholderIcon,
|
|
279
279
|
obj: node.obj,
|
|
280
|
+
cssClass: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").data.cell.getObjectRelatedStyleClasses(node.obj, node.cssClass),
|
|
280
281
|
}, column: { name: 'IMAGE', title: 'Image' }, component: this, density: FCellPadding.NONE, row: Object.assign({}, node) }, h("div", { class: `image-list__wrapper${hasExternalResource ? ' images' : ''}` }, !hasExternalResource && (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 24 24" })), image, label)));
|
|
281
282
|
}, _KupImageList_createList = function _KupImageList_createList() {
|
|
282
283
|
const nodes = [];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps,
|
|
5
|
-
import { F as FTextFieldMDC } from './f-text-field-mdc-
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-ae0c965d.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ah as getCellValueForDisplay, an as CHIAdapter, ak as CMBandACPAdapter, am as CHKAdapter, al as RADAdapter, ao as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-63a8048f.js';
|
|
5
|
+
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-29242e70.js';
|
|
12
|
+
import './f-object-field-75069ac2.js';
|
|
13
|
+
import './f-text-field-ebe023fb.js';
|
|
14
14
|
import './kup-dates-da19044e.js';
|
|
15
|
-
import './component-
|
|
15
|
+
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
17
17
|
var KupInputPanelLayoutSectionType;
|
|
18
18
|
(function (KupInputPanelLayoutSectionType) {
|
|
@@ -29,6 +29,7 @@ var KupInputPanelProps;
|
|
|
29
29
|
KupInputPanelProps["inputPanelPosition"] = "Manage the global layout of the input panel fields. The default is COLUMNS.";
|
|
30
30
|
KupInputPanelProps["autoSkip"] = "Sets the auto skip between input text fields when the value reaches the max length.";
|
|
31
31
|
KupInputPanelProps["autoFocus"] = "Sets whether the first input should receive focus.";
|
|
32
|
+
KupInputPanelProps["fieldReset"] = "Create e Reset button for the form";
|
|
32
33
|
})(KupInputPanelProps || (KupInputPanelProps = {}));
|
|
33
34
|
var KupInputPanelPosition;
|
|
34
35
|
(function (KupInputPanelPosition) {
|
|
@@ -127,20 +128,26 @@ const getAbsoluteLeft = (col) => {
|
|
|
127
128
|
}
|
|
128
129
|
return (col - 1) * 10 * LEFT_MULTIPLIER;
|
|
129
130
|
};
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
layout
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
131
|
+
const getInpComponentHeight = (layout) => {
|
|
132
|
+
var _a, _b;
|
|
133
|
+
if (!layout)
|
|
134
|
+
return 0;
|
|
135
|
+
const tblHeight = (_b = (_a = layout.sections
|
|
136
|
+
.flatMap((section) => section.content)
|
|
137
|
+
.find((field) => field.shape === FCellShapes.TABLE)) === null || _a === void 0 ? void 0 : _a.absoluteHeight) !== null && _b !== void 0 ? _b : null;
|
|
138
|
+
const maxRow = Math.max(0, ...layout.sections.flatMap((section) => section.content.map(
|
|
139
|
+
// -1 because if the absolute height is 1 the sum will result in a field with height 2
|
|
140
|
+
// A field with absoluteRow 1 and height 1 is only on row 1, not 1+1
|
|
141
|
+
(field) => field.absoluteRow + (field.absoluteHeight - 1))));
|
|
142
|
+
if (!tblHeight) {
|
|
143
|
+
// No TBL, all the rows have height 22
|
|
144
|
+
return maxRow * SPACED_ROW_HEIGHT;
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
// There is a TBL, with a rows height of 20
|
|
148
|
+
// All the non-TBL rows still have height 22
|
|
149
|
+
return ((maxRow - tblHeight) * SPACED_ROW_HEIGHT + tblHeight * ROW_HEIGHT);
|
|
150
|
+
}
|
|
144
151
|
};
|
|
145
152
|
const graphicShapeHasIcon = (shape) => {
|
|
146
153
|
return (shape === FCellShapes.AUTOCOMPLETE ||
|
|
@@ -179,7 +186,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
179
186
|
}
|
|
180
187
|
return t;
|
|
181
188
|
};
|
|
182
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap,
|
|
189
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
183
190
|
const dom = document.documentElement;
|
|
184
191
|
const KupInputPanel = class {
|
|
185
192
|
constructor(hostRef) {
|
|
@@ -222,7 +229,6 @@ const KupInputPanel = class {
|
|
|
222
229
|
_KupInputPanel_sectionRenderMap.set(this, new Map([
|
|
223
230
|
[KupInputPanelLayoutSectionType.TAB, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderSectionTab).bind(this)],
|
|
224
231
|
]));
|
|
225
|
-
_KupInputPanel_keysShortcut.set(this, []);
|
|
226
232
|
_KupInputPanel_readyPromise.set(this, void 0);
|
|
227
233
|
_KupInputPanel_readyResolve.set(this, void 0);
|
|
228
234
|
this.buttonPosition = KupInputPanelButtonsPositions.BOTTOM;
|
|
@@ -239,6 +245,7 @@ const KupInputPanel = class {
|
|
|
239
245
|
this.autoFocus = false;
|
|
240
246
|
this.autoSkip = false;
|
|
241
247
|
this.updateOnClick = false;
|
|
248
|
+
this.fieldReset = false;
|
|
242
249
|
this.inputPanelCells = [];
|
|
243
250
|
this.inputPanelCommands = [];
|
|
244
251
|
this.tabSelected = null;
|
|
@@ -324,6 +331,25 @@ const KupInputPanel = class {
|
|
|
324
331
|
async update(cellId) {
|
|
325
332
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, cellId), cellId);
|
|
326
333
|
}
|
|
334
|
+
onFormReset() {
|
|
335
|
+
var _a;
|
|
336
|
+
for (const col of this.data.columns) {
|
|
337
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, col.name);
|
|
338
|
+
if ((cell.shape === FCellShapes.MULTI_AUTOCOMPLETE ||
|
|
339
|
+
cell.shape === FCellShapes.MULTI_COMBOBOX) &&
|
|
340
|
+
((_a = cell.data) === null || _a === void 0 ? void 0 : _a.data)) {
|
|
341
|
+
// reset chips array
|
|
342
|
+
cell.data.data = [];
|
|
343
|
+
}
|
|
344
|
+
cell.value = '';
|
|
345
|
+
cell.obj.k = '';
|
|
346
|
+
cell.decode = '';
|
|
347
|
+
if (cell.data.initialValue) {
|
|
348
|
+
cell.data.initialValue = '';
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
this.refresh();
|
|
352
|
+
}
|
|
327
353
|
//#endregion
|
|
328
354
|
//#region LIFECYCLE HOOKS
|
|
329
355
|
/*-------------------------------------------------*/
|
|
@@ -371,7 +397,7 @@ const KupInputPanel = class {
|
|
|
371
397
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
372
398
|
]
|
|
373
399
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
374
|
-
return (h(Host, { key: '
|
|
400
|
+
return (h(Host, { key: 'b1133efe7244cc661038684eaf17e4703b9534d1', "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) => {
|
|
375
401
|
this.tabSelected = e.detail.node.id;
|
|
376
402
|
}, "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) => {
|
|
377
403
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
@@ -379,7 +405,7 @@ const KupInputPanel = class {
|
|
|
379
405
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
380
406
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
381
407
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
382
|
-
} }, h("style", { key: '
|
|
408
|
+
} }, h("style", { key: '9427c673b6350b14496c77211089da3e6addbbf3' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '35e45b29284732303c817997dcd0888e615453aa', id: componentWrapperId }, inputPanelContent)));
|
|
383
409
|
}
|
|
384
410
|
disconnectedCallback() {
|
|
385
411
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -390,7 +416,7 @@ const KupInputPanel = class {
|
|
|
390
416
|
"data": ["onDataChanged"]
|
|
391
417
|
}; }
|
|
392
418
|
};
|
|
393
|
-
_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(),
|
|
419
|
+
_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_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
394
420
|
if (!id) {
|
|
395
421
|
return null;
|
|
396
422
|
}
|
|
@@ -405,7 +431,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
405
431
|
return cell;
|
|
406
432
|
}, null);
|
|
407
433
|
}, _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
408
|
-
var _a, _b;
|
|
434
|
+
var _a, _b, _c;
|
|
409
435
|
const layout = inputPanelCell.row.layout;
|
|
410
436
|
const horizontal = (layout === null || layout === void 0 ? void 0 : layout.horizontal) || false;
|
|
411
437
|
const styleObj = {};
|
|
@@ -418,9 +444,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
418
444
|
else {
|
|
419
445
|
if (layout.absolute) {
|
|
420
446
|
rowContent = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderAbsoluteLayout).call(this, inputPanelCell, layout);
|
|
421
|
-
|
|
422
|
-
styleObj.height = `${getInpComponentAbsoluteHeight(layout) * SPACED_ROW_HEIGHT +
|
|
423
|
-
12}px`;
|
|
447
|
+
styleObj.height = `${getInpComponentHeight(layout)}px`;
|
|
424
448
|
}
|
|
425
449
|
else {
|
|
426
450
|
if (!layout.sectionsType) {
|
|
@@ -467,10 +491,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
467
491
|
'input-panel__commands': true,
|
|
468
492
|
[`input-panel__commands--${this.buttonPosition}`]: true,
|
|
469
493
|
};
|
|
470
|
-
const props = {
|
|
471
|
-
value: (_b = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _b === void 0 ? void 0 : _b.title,
|
|
472
|
-
type: FTypographyType.HEADING1,
|
|
473
|
-
};
|
|
474
494
|
return (h("div", null, h("form", { name: this.rootElement.id, id: this.rootElement.id, class: inputPanelClass, ref: (el) => (__classPrivateFieldSet(this, _KupInputPanel_formRef, el, "f")), onSubmit: (e) => {
|
|
475
495
|
e.preventDefault();
|
|
476
496
|
this.submitCb({
|
|
@@ -479,11 +499,15 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
479
499
|
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
480
500
|
},
|
|
481
501
|
});
|
|
502
|
+
}, onReset: (e) => {
|
|
503
|
+
e.preventDefault();
|
|
504
|
+
this.onFormReset();
|
|
482
505
|
}, onContextMenu: (e) => {
|
|
483
506
|
if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_findTraversedFCell).call(this, e) != null) {
|
|
484
507
|
e.preventDefault();
|
|
485
508
|
}
|
|
486
|
-
} },
|
|
509
|
+
} }, ((_b = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _b === void 0 ? void 0 : _b.length) == 1 &&
|
|
510
|
+
((_c = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _c === void 0 ? void 0 : _c.title) && (h("div", { class: "input-panel__typography" }, h(FTypography, { value: layout.sections[0].title, type: FTypographyType.HEADING1 }))), h("div", { class: classObj, style: styleObj }, rowContent), h("div", { class: commandsClass }, h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.fieldReset && (h(FButton, { buttonType: "reset", label: "Reset", wrapperClass: "form__submit", icon: "broom" })), this.inputPanelCommands))));
|
|
487
511
|
}, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
|
|
488
512
|
var _a;
|
|
489
513
|
if (!cell) {
|
|
@@ -509,7 +533,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
509
533
|
}
|
|
510
534
|
return h(FCell, Object.assign({}, cellProps));
|
|
511
535
|
}, _KupInputPanel_renderButton = function _KupInputPanel_renderButton(cell, { name }) {
|
|
512
|
-
const renderedButton = (h(FButton, Object.assign({ icon: cell.icon, id: name }, cell.data, { wrapperClass: "form__submit" })));
|
|
536
|
+
const renderedButton = (h(FButton, Object.assign({ icon: cell.icon, placeholderIcon: cell.placeholderIcon, id: name }, cell.data, { wrapperClass: "form__submit" })));
|
|
513
537
|
return renderedButton;
|
|
514
538
|
}, _KupInputPanel_renderDropDownButton = function _KupInputPanel_renderDropDownButton(cell, data) {
|
|
515
539
|
return (h("kup-dropdown-button", Object.assign({}, cell.data, { label: cell.value, data: data, "onkup-dropdownbutton-itemclick": (e) => {
|
|
@@ -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-9b0f4a0d.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-63a8048f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aD as kupDropEvent, W as kupDraggableColumnAttr, aE as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-63a8048f.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|