@sme.up/ketchup 10.3.6 → 10.3.7
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-e5ff9c98.js → f-cell-5c1b2c66.js} +21 -13
- package/dist/cjs/{f-chip-f35c1b42.js → f-chip-b4aebf7c.js} +1 -1
- package/dist/cjs/{f-object-field-04065abd.js → f-object-field-62195164.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-54bc1b31.js} +9 -7
- package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-03e975ad.js} +2 -5
- 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_30.cjs.entry.js +131 -83
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -4
- 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-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-0b79fb90.js → kup-data-table-helper-72dc3004.js} +3 -3
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +48 -6
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +168 -28
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-5cdad0f5.js → kup-manager-bb0a1490.js} +6 -10
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/echart.js +343 -169
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +7 -4
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -11
- package/dist/collection/components/kup-echart/kup-echart.js +47 -5
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +181 -25
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +182 -22
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +13 -7
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
- package/dist/collection/f-components/f-radio/f-radio.js +3 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
- package/dist/collection/utils/cell-utils.js +2 -7
- 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 +7 -4
- 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-custom-task-list-header.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-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +166 -26
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +17 -17
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.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-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-b45eb398.js → p-0448c650.js} +13 -13
- package/dist/components/{p-7aa9d49d.js → p-072ba014.js} +7 -7
- package/dist/components/{p-28f24feb.js → p-09e09e43.js} +15 -15
- package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
- package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
- package/dist/components/{p-c061deb1.js → p-66800070.js} +166 -101
- package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
- package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
- package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
- package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
- package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
- package/dist/components/{p-df77b97b.js → p-970526a0.js} +6 -10
- package/dist/components/{p-daa07bb7.js → p-9c59685c.js} +1 -1
- package/dist/components/{p-ae3013bd.js → p-a266fbc3.js} +2 -2
- package/dist/components/{p-5db0bb55.js → p-a6da9edf.js} +2 -2
- package/dist/components/{p-edac29ad.js → p-a70b7f3e.js} +2 -2
- package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
- package/dist/components/{p-398198d3.js → p-e8d7edaf.js} +49 -7
- package/dist/components/{p-5e31c839.js → p-eee85021.js} +2 -2
- package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
- package/dist/esm/{f-cell-d72f5a9c.js → f-cell-3f9d4de0.js} +21 -13
- package/dist/esm/{f-chip-663db488.js → f-chip-28fde4c9.js} +1 -1
- package/dist/esm/{f-object-field-afe7604f.js → f-object-field-24f67438.js} +2 -2
- package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-3e2a0dcd.js} +9 -7
- package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-f64cc53e.js} +2 -5
- 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_30.entry.js +131 -83
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +7 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-8f020338.js → kup-data-table-helper-edbee21a.js} +3 -3
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +48 -6
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +168 -28
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-b367be3b.js → kup-manager-7acd779a.js} +6 -10
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +3 -3
- 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-8bc2888a.entry.js → p-001bf9b3.entry.js} +1 -1
- package/dist/ketchup/p-003617f2.entry.js +1 -0
- package/dist/ketchup/{p-17b25b3d.entry.js → p-00e3a2c7.entry.js} +1 -1
- package/dist/ketchup/{p-ebf955a8.entry.js → p-05da127e.entry.js} +1 -1
- package/dist/ketchup/{p-4735c623.entry.js → p-0a4869d8.entry.js} +1 -1
- package/dist/ketchup/{p-fac09a35.entry.js → p-0f3e905b.entry.js} +1 -1
- package/dist/ketchup/{p-b0550f15.entry.js → p-0f78bd11.entry.js} +2 -2
- package/dist/ketchup/p-216b5deb.js +1 -0
- package/dist/ketchup/p-3823781f.entry.js +1 -0
- package/dist/ketchup/{p-def6d8b4.entry.js → p-39ab2443.entry.js} +1 -1
- package/dist/ketchup/{p-b9350213.entry.js → p-4e8d34ad.entry.js} +1 -1
- package/dist/ketchup/{p-75deebdb.entry.js → p-561db8b0.entry.js} +1 -1
- package/dist/ketchup/{p-c2531d28.entry.js → p-5c538668.entry.js} +1 -1
- package/dist/ketchup/{p-9ff4c3e5.entry.js → p-5cdbe34b.entry.js} +1 -1
- package/dist/ketchup/p-607b56b3.entry.js +8 -0
- package/dist/ketchup/{p-f2bfb53c.entry.js → p-60c3a948.entry.js} +1 -1
- package/dist/ketchup/{p-62edfd5a.entry.js → p-6429a3bc.entry.js} +1 -1
- package/dist/ketchup/{p-d696e519.js → p-84a053a8.js} +1 -1
- package/dist/ketchup/{p-c0928fec.entry.js → p-864d384f.entry.js} +1 -1
- package/dist/ketchup/{p-43bfca60.entry.js → p-90345661.entry.js} +2 -2
- package/dist/ketchup/{p-928adf93.entry.js → p-91184407.entry.js} +1 -1
- package/dist/ketchup/{p-5bf264dd.entry.js → p-92d5502a.entry.js} +1 -1
- package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
- package/dist/ketchup/{p-6e6d3296.entry.js → p-9667a3f6.entry.js} +1 -1
- package/dist/ketchup/{p-26a20d81.entry.js → p-98865092.entry.js} +1 -1
- package/dist/ketchup/{p-4c8edfb1.entry.js → p-a5589352.entry.js} +1 -1
- package/dist/ketchup/{p-6b185239.entry.js → p-ab5dcfce.entry.js} +1 -1
- package/dist/ketchup/p-b7b54a12.js +1 -0
- package/dist/ketchup/{p-32ced542.entry.js → p-bbdc671b.entry.js} +1 -1
- package/dist/ketchup/p-c00b4f52.js +1 -0
- package/dist/ketchup/p-c38d19f9.js +1 -0
- package/dist/ketchup/{p-26206b66.entry.js → p-cb4c3ec6.entry.js} +1 -1
- package/dist/ketchup/{p-9c13c092.entry.js → p-d643a6b0.entry.js} +1 -1
- package/dist/ketchup/{p-0666ba27.entry.js → p-d7bfb6da.entry.js} +2 -2
- package/dist/ketchup/{p-51cc836a.js → p-e3098793.js} +1 -1
- package/dist/ketchup/p-ebcd12d5.js +1 -0
- package/dist/ketchup/{p-941beedb.entry.js → p-ebcf33a3.entry.js} +1 -1
- package/dist/ketchup/{p-006b5782.entry.js → p-ee752492.entry.js} +1 -1
- package/dist/ketchup/{p-4af4b7d3.entry.js → p-f446a5dd.entry.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -1
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +31 -5
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components.d.ts +55 -11
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +3 -1
- package/package.json +4 -1
- package/dist/ketchup/p-058def11.entry.js +0 -1
- package/dist/ketchup/p-29c07479.entry.js +0 -8
- package/dist/ketchup/p-2e012afe.js +0 -1
- package/dist/ketchup/p-8be7a37f.js +0 -1
- package/dist/ketchup/p-b39c7a22.js +0 -1
- package/dist/ketchup/p-c109ce22.js +0 -1
- package/dist/ketchup/p-d49f1a0d.js +0 -1
- package/dist/ketchup/p-eb771c1b.entry.js +0 -1
|
@@ -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-5c1b2c66.js');
|
|
8
|
+
const kupManager = require('./kup-manager-bb0a1490.js');
|
|
9
9
|
const fTextFieldMdc = require('./f-text-field-mdc-29aae9c9.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-b4aebf7c.js');
|
|
16
|
+
require('./f-object-field-62195164.js');
|
|
17
|
+
require('./f-text-field-03e975ad.js');
|
|
18
18
|
require('./kup-dates-8619368a.js');
|
|
19
19
|
require('./component-a6dd6c14.js');
|
|
20
20
|
|
|
@@ -190,7 +190,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
190
190
|
}
|
|
191
191
|
return t;
|
|
192
192
|
};
|
|
193
|
-
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_skipRenderField, _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_ImageListAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter,
|
|
193
|
+
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_skipRenderField, _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_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_FileUploadAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableCMBandACPOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_getTblAutocompleteEventCallback, _KupInputPanel_manageTblItemClick, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip, _KupInputPanel_upload;
|
|
194
194
|
const dom = document.documentElement;
|
|
195
195
|
const KupInputPanel = class {
|
|
196
196
|
constructor(hostRef) {
|
|
@@ -200,6 +200,7 @@ const KupInputPanel = class {
|
|
|
200
200
|
this.kupInputPanelObjectFieldSearchPayload = index.createEvent(this, "kup-inputpanel-objectfield-searchpayload", 6);
|
|
201
201
|
this.kupInputPanelObjectFieldOpenSearchMenu = index.createEvent(this, "kup-inputpanel-objectfield-opensearchmenu", 6);
|
|
202
202
|
this.kupInputPanelObjectFieldSelectedMenuItem = index.createEvent(this, "kup-inputpanel-objectfield-selectedmenuitem", 6);
|
|
203
|
+
this.kupCellUpload = index.createEvent(this, "kup-inputpanel-upload", 6);
|
|
203
204
|
_KupInputPanel_instances.add(this);
|
|
204
205
|
//#endregion
|
|
205
206
|
//#region VARIABLES
|
|
@@ -210,10 +211,10 @@ const KupInputPanel = class {
|
|
|
210
211
|
_KupInputPanel_formRef.set(this, void 0);
|
|
211
212
|
_KupInputPanel_optionsAdapterMap.set(this, new Map([
|
|
212
213
|
['SmeupDataTree', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_dataTreeOptionsChildrenAdapter).bind(this)],
|
|
213
|
-
['SmeupDataTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
214
|
+
['SmeupDataTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_tableCMBandACPOptionsAdapter).bind(this)],
|
|
214
215
|
//FIXME: deprecated
|
|
215
216
|
['SmeupTreeNode', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_treeOptionsNodeAdapter).bind(this)],
|
|
216
|
-
['SmeupTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
217
|
+
['SmeupTable', __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_tableCMBandACPOptionsAdapter).bind(this)],
|
|
217
218
|
]));
|
|
218
219
|
_KupInputPanel_originalData.set(this, null);
|
|
219
220
|
_KupInputPanel_listeners.set(this, []);
|
|
@@ -401,15 +402,17 @@ const KupInputPanel = class {
|
|
|
401
402
|
index.h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA)),
|
|
402
403
|
]
|
|
403
404
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
404
|
-
return (index.h(index.Host, { key: '
|
|
405
|
+
return (index.h(index.Host, { key: '41506c3d7a6888eeeda1dd5c300f36673b366510', "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) => {
|
|
405
406
|
this.tabSelected = e.detail.node.id;
|
|
406
|
-
}, "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) =>
|
|
407
|
+
}, "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) => {
|
|
408
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
409
|
+
}, "onKup-objectfield-searchpayload": (e) => {
|
|
407
410
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
408
411
|
}, "onKup-objectfield-opensearchmenu": (e) => {
|
|
409
412
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
410
413
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
411
414
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
412
|
-
} }, index.h("style", { key: '
|
|
415
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, index.h("style", { key: '2b875bc91534289b075e8fac561d2eaeb5b732d1' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { key: 'ecfbac6227c007eadf2e63c2d936d72e7c132936', id: GenericVariables.componentWrapperId }, inputPanelContent)));
|
|
413
416
|
}
|
|
414
417
|
disconnectedCallback() {
|
|
415
418
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -544,7 +547,36 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
544
547
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, e.detail.node, e.detail.node.id);
|
|
545
548
|
} })));
|
|
546
549
|
}, _KupInputPanel_renderDataTable = function _KupInputPanel_renderDataTable(cell, { name }) {
|
|
547
|
-
|
|
550
|
+
for (const row of cell.data.data.rows) {
|
|
551
|
+
for (const cellName of Object.keys(row.cells)) {
|
|
552
|
+
const cell = row.cells[cellName];
|
|
553
|
+
if (cell.shape === kupManager.FCellShapes.AUTOCOMPLETE) {
|
|
554
|
+
cell.data['displayMode'] = 'CodeOnly';
|
|
555
|
+
cell.data['selectMode'] = 'CodeOnly';
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
return (index.h("kup-data-table", Object.assign({ id: name, editableData: true, showGroups: true, showFilters: true }, cell.data, { "onKup-autocomplete-iconclick": (e) => {
|
|
560
|
+
e.preventDefault();
|
|
561
|
+
e.stopPropagation();
|
|
562
|
+
}, "onKup-autocomplete-input": (e) => {
|
|
563
|
+
e.preventDefault();
|
|
564
|
+
e.stopPropagation();
|
|
565
|
+
}, "onKup-datatable-cell-iconclick": (e) => {
|
|
566
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e);
|
|
567
|
+
e.preventDefault();
|
|
568
|
+
e.stopPropagation();
|
|
569
|
+
}, "onKup-datatable-cell-input": (e) => {
|
|
570
|
+
if (e.detail.type === 'autocomplete') {
|
|
571
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e);
|
|
572
|
+
}
|
|
573
|
+
e.preventDefault();
|
|
574
|
+
e.stopPropagation();
|
|
575
|
+
}, "onKup-cell-itemclick": (e) => {
|
|
576
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageTblItemClick).call(this, e);
|
|
577
|
+
e.preventDefault();
|
|
578
|
+
e.stopPropagation();
|
|
579
|
+
} })));
|
|
548
580
|
}, _KupInputPanel_renderLabel = function _KupInputPanel_renderLabel(cell, column, isAbsoluteLayout) {
|
|
549
581
|
const isNumberType = dom.ketchup.objects.isNumber(cell.obj);
|
|
550
582
|
const isFormattableType = isNumberType ||
|
|
@@ -797,11 +829,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
797
829
|
.flat();
|
|
798
830
|
}, _KupInputPanel_mapCells = function _KupInputPanel_mapCells(data) {
|
|
799
831
|
var _a, _b, _c, _d;
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
const layout = (_c = data === null || data === void 0 ? void 0 : data.rows[0]) === null || _c === void 0 ? void 0 : _c.layout;
|
|
804
|
-
const inpuPanelCells = ((_d = data === null || data === void 0 ? void 0 : data.rows) === null || _d === void 0 ? void 0 : _d.length)
|
|
832
|
+
const layout = (_a = data === null || data === void 0 ? void 0 : data.rows[0]) === null || _a === void 0 ? void 0 : _a.layout;
|
|
833
|
+
const inpuPanelCells = ((_b = data === null || data === void 0 ? void 0 : data.rows) === null || _b === void 0 ? void 0 : _b.length)
|
|
805
834
|
? data.rows.reduce((inpuPanelCells, row) => {
|
|
806
835
|
const cells = data.columns.map((column) => {
|
|
807
836
|
const cell = structuredClone(row.cells[column.name]);
|
|
@@ -825,6 +854,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
825
854
|
queryCompNeedsReset ? el === null || el === void 0 ? void 0 : el.reset() : (_a = el === null || el === void 0 ? void 0 : el.setValue) === null || _a === void 0 ? void 0 : _a.call(el, cell.value);
|
|
826
855
|
}));
|
|
827
856
|
this.inputPanelCells = inpuPanelCells;
|
|
857
|
+
if ((_d = (_c = data.setup) === null || _c === void 0 ? void 0 : _c.commands) === null || _d === void 0 ? void 0 : _d.length) {
|
|
858
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCommands).call(this);
|
|
859
|
+
}
|
|
828
860
|
}, _KupInputPanel_setData = function _KupInputPanel_setData(cell, column, layout) {
|
|
829
861
|
const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable || column.useAs === kupManager.UseAsValue.KEY, id: column.name });
|
|
830
862
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
@@ -908,6 +940,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
908
940
|
[kupManager.FCellTypes.TABLE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_DataTableAdapter).bind(this)],
|
|
909
941
|
[kupManager.FCellTypes.TIME, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_TimeAdapter).bind(this)],
|
|
910
942
|
[kupManager.FCellTypes.IMAGE_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ImageListAdapter).bind(this)],
|
|
943
|
+
[kupManager.FCellTypes.FILE_UPLOAD, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_FileUploadAdapter).bind(this)],
|
|
911
944
|
]);
|
|
912
945
|
const adapter = dataAdapterMap.get(cellType);
|
|
913
946
|
return adapter
|
|
@@ -945,27 +978,45 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
945
978
|
},
|
|
946
979
|
};
|
|
947
980
|
}, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue, cell, id) {
|
|
981
|
+
var _a, _b;
|
|
948
982
|
cell.data = cell.data || {};
|
|
949
983
|
cell.data.onClick = () => {
|
|
950
984
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
|
|
951
985
|
};
|
|
986
|
+
if (cell.data.BtnMap) {
|
|
987
|
+
const concurrentCommand = (_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.commands) === null || _b === void 0 ? void 0 : _b.find((command) => command.obj.k === cell.data.BtnMap);
|
|
988
|
+
if (concurrentCommand) {
|
|
989
|
+
cell.isEditable = true;
|
|
990
|
+
cell.data.onClick = () => {
|
|
991
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, concurrentCommand.obj.k);
|
|
992
|
+
};
|
|
993
|
+
this.data.setup.commands = this.data.setup.commands.filter((command) => command.obj.k !== concurrentCommand.obj.k);
|
|
994
|
+
}
|
|
995
|
+
}
|
|
952
996
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
953
997
|
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell) {
|
|
954
|
-
const configCMandACP = kupManager.CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
998
|
+
const configCMandACP = kupManager.CMBandACPAdapter(currentValue, fieldLabel, [], cell.data);
|
|
955
999
|
if (rawOptions) {
|
|
956
1000
|
configCMandACP.data['kup-list'].data =
|
|
957
1001
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
958
1002
|
}
|
|
959
1003
|
return configCMandACP;
|
|
960
|
-
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }, checkList = false) {
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
if (checkList) {
|
|
964
|
-
triggerCallback = !detail.comp.data['kup-list'].data.length;
|
|
1004
|
+
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail, }, checkList = false) {
|
|
1005
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_isFCellEventPayload).call(this, detail)) {
|
|
1006
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getTblAutocompleteEventCallback).call(this, detail);
|
|
965
1007
|
}
|
|
966
|
-
|
|
967
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m",
|
|
1008
|
+
else {
|
|
1009
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
|
|
1010
|
+
let triggerCallback = true;
|
|
1011
|
+
if (checkList) {
|
|
1012
|
+
triggerCallback = !detail.comp.data['kup-list'].data.length;
|
|
1013
|
+
}
|
|
1014
|
+
if (cell.fun && triggerCallback) {
|
|
1015
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
|
|
1016
|
+
}
|
|
968
1017
|
}
|
|
1018
|
+
}, _KupInputPanel_isFCellEventPayload = function _KupInputPanel_isFCellEventPayload(detail) {
|
|
1019
|
+
return detail.cell ? true : false;
|
|
969
1020
|
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
970
1021
|
return kupManager.CHKAdapter(currentValue, fieldLabel);
|
|
971
1022
|
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
@@ -989,8 +1040,28 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
989
1040
|
};
|
|
990
1041
|
}
|
|
991
1042
|
return data;
|
|
992
|
-
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(
|
|
993
|
-
|
|
1043
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
1044
|
+
const getOptions = () => {
|
|
1045
|
+
var _a;
|
|
1046
|
+
if (cell.data.data) {
|
|
1047
|
+
return (_a = cell.data.data.rows) === null || _a === void 0 ? void 0 : _a.map((row) => {
|
|
1048
|
+
const cells = row.fields || row.cells;
|
|
1049
|
+
const [id, value] = Object.keys(cells);
|
|
1050
|
+
return {
|
|
1051
|
+
id: cells[id].value,
|
|
1052
|
+
label: value ? cells[value].value : cells[id].value,
|
|
1053
|
+
selected: currentValue === cells[id].value,
|
|
1054
|
+
};
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1057
|
+
return undefined;
|
|
1058
|
+
};
|
|
1059
|
+
const options = getOptions();
|
|
1060
|
+
const newData = kupManager.RADAdapter(currentValue, options);
|
|
1061
|
+
if (options) {
|
|
1062
|
+
return newData;
|
|
1063
|
+
}
|
|
1064
|
+
return cell.data;
|
|
994
1065
|
}, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
|
|
995
1066
|
return kupManager.SWTAdapter(currentValue, fieldLabel);
|
|
996
1067
|
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
|
|
@@ -1014,6 +1085,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1014
1085
|
leadingLabel: fieldLabel || '',
|
|
1015
1086
|
value: currentValue || '',
|
|
1016
1087
|
};
|
|
1088
|
+
}, _KupInputPanel_FileUploadAdapter = function _KupInputPanel_FileUploadAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
1089
|
+
return Object.assign({ pathString: currentValue }, cell.data);
|
|
1017
1090
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
1018
1091
|
return {
|
|
1019
1092
|
data: {
|
|
@@ -1120,7 +1193,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1120
1193
|
: [],
|
|
1121
1194
|
});
|
|
1122
1195
|
});
|
|
1123
|
-
},
|
|
1196
|
+
}, _KupInputPanel_tableCMBandACPOptionsAdapter = function _KupInputPanel_tableCMBandACPOptionsAdapter(options, currentValue) {
|
|
1124
1197
|
return options.rows.map((row) => {
|
|
1125
1198
|
const cells = row.fields || row.cells;
|
|
1126
1199
|
const [id, value] = Object.keys(cells);
|
|
@@ -1162,6 +1235,70 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1162
1235
|
}
|
|
1163
1236
|
detail.comp.refresh();
|
|
1164
1237
|
});
|
|
1238
|
+
}, _KupInputPanel_getTblAutocompleteEventCallback = function _KupInputPanel_getTblAutocompleteEventCallback(detail) {
|
|
1239
|
+
// Destructure frequently used properties
|
|
1240
|
+
const { cell, row, column, comp, id, event } = detail;
|
|
1241
|
+
const cellValue = cell === null || cell === void 0 ? void 0 : cell.value;
|
|
1242
|
+
const autocompleteEventDetail = detail.event.detail;
|
|
1243
|
+
try {
|
|
1244
|
+
this.optionsHandler(cell['fun'], autocompleteEventDetail.inputValue, { columns: comp.data.columns, rows: [row] }, column.name).then((options) => {
|
|
1245
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
1246
|
+
// Filter visible columns
|
|
1247
|
+
if (options) {
|
|
1248
|
+
const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) !== null && _a !== void 0 ? _a : [])
|
|
1249
|
+
.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) !== false)
|
|
1250
|
+
.map((col) => col.name);
|
|
1251
|
+
// Filter rows to only include visible columns
|
|
1252
|
+
const filteredRows = (_c = (_b = options === null || options === void 0 ? void 0 : options.rows) === null || _b === void 0 ? void 0 : _b.map((rowData) => {
|
|
1253
|
+
const visibleCells = visibleColumns.reduce((acc, colName) => {
|
|
1254
|
+
if (rowData.cells[colName]) {
|
|
1255
|
+
acc[colName] = rowData.cells[colName];
|
|
1256
|
+
}
|
|
1257
|
+
return acc;
|
|
1258
|
+
}, {});
|
|
1259
|
+
return Object.assign(Object.assign({}, rowData), { cells: visibleCells });
|
|
1260
|
+
})) !== null && _c !== void 0 ? _c : [];
|
|
1261
|
+
// Prepare the final options with filtered data
|
|
1262
|
+
const visibleColumnsOptions = Object.assign(Object.assign({}, options), { rows: filteredRows });
|
|
1263
|
+
// Get and update table data
|
|
1264
|
+
const tableData = comp.data;
|
|
1265
|
+
const targetCell = tableData.rows[row.id].cells[column.name];
|
|
1266
|
+
// Initialize cell data structure if needed
|
|
1267
|
+
if (!((_e = (_d = targetCell.data) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e['kup-list'])) {
|
|
1268
|
+
targetCell.data = {
|
|
1269
|
+
data: {
|
|
1270
|
+
'kup-list': {},
|
|
1271
|
+
'kup-text-field': Object.assign({}, targetCell.data),
|
|
1272
|
+
},
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
// Update the autocomplete list data
|
|
1276
|
+
const kupListData = targetCell.data.data['kup-list'];
|
|
1277
|
+
kupListData.data = filteredRows.length
|
|
1278
|
+
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1279
|
+
: [];
|
|
1280
|
+
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1281
|
+
// Update the component data and refresh
|
|
1282
|
+
comp.data = tableData;
|
|
1283
|
+
this.data.rows[0].cells[id].value =
|
|
1284
|
+
JSON.stringify(tableData);
|
|
1285
|
+
// // Refresh components
|
|
1286
|
+
event.detail.comp.refresh();
|
|
1287
|
+
comp.refresh();
|
|
1288
|
+
}
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
catch (error) {
|
|
1292
|
+
console.error('Error in autocomplete callback:', error);
|
|
1293
|
+
}
|
|
1294
|
+
}, _KupInputPanel_manageTblItemClick = function _KupInputPanel_manageTblItemClick(e) {
|
|
1295
|
+
const { cell, row, column, id, comp } = e.detail;
|
|
1296
|
+
const tableData = comp.data;
|
|
1297
|
+
tableData.rows[row.id].cells[column.name] = cell;
|
|
1298
|
+
comp.data = tableData;
|
|
1299
|
+
this.data.rows[0].cells[id].value = JSON.stringify(tableData);
|
|
1300
|
+
e.detail.event.detail.comp.refresh();
|
|
1301
|
+
comp.refresh();
|
|
1165
1302
|
}, _KupInputPanel_manageInputPanelCheck = async function _KupInputPanel_manageInputPanelCheck(e, eventType) {
|
|
1166
1303
|
var _a, _b, _c, _d, _e;
|
|
1167
1304
|
const { detail: { column, cell }, } = e;
|
|
@@ -1361,6 +1498,9 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1361
1498
|
return;
|
|
1362
1499
|
}
|
|
1363
1500
|
(_b = inputElements[currentInputElementIndex + 1].HTMLInputElement) === null || _b === void 0 ? void 0 : _b.focus();
|
|
1501
|
+
}, _KupInputPanel_upload = function _KupInputPanel_upload(e) {
|
|
1502
|
+
e.stopPropagation();
|
|
1503
|
+
this.kupCellUpload.emit(e.detail);
|
|
1364
1504
|
};
|
|
1365
1505
|
KupInputPanel.style = KupInputPanelStyle0;
|
|
1366
1506
|
|
|
@@ -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-bb0a1490.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-8619368a.js');
|
|
9
9
|
|
|
@@ -138,39 +138,39 @@ const KupLazy = class {
|
|
|
138
138
|
switch (this.componentName) {
|
|
139
139
|
case 'kup-button':
|
|
140
140
|
//call_to_action.svg
|
|
141
|
-
resource = (index.h("svg", { key: '
|
|
141
|
+
resource = (index.h("svg", { key: '82d1c572d3d994d79f682a81484c140ca6cfd512', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '5bef88d3b797414102e78e45a03c3b94c9f3255d', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
142
142
|
break;
|
|
143
143
|
case 'kup-card':
|
|
144
144
|
//art_track.svg
|
|
145
|
-
resource = (index.h("svg", { key: '
|
|
145
|
+
resource = (index.h("svg", { key: '7513b2807db3c80a1bf40c06afcc9368e6fdb294', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '5e527bd9fbcae6e3ee52e84a4fb67b476c154f10', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
146
146
|
break;
|
|
147
147
|
case 'kup-checkbox':
|
|
148
148
|
//check_box_outline_blank.svg
|
|
149
|
-
resource = (index.h("svg", { key: '
|
|
149
|
+
resource = (index.h("svg", { key: '5475f432000e828ec98dcb4eadbf7112d7c20861', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '954ddd01b7398bf0989d134a69254f448221bfb7', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
150
150
|
break;
|
|
151
151
|
case 'kup-chart':
|
|
152
152
|
//chart-bar.svg
|
|
153
|
-
resource = (index.h("svg", { key: '
|
|
153
|
+
resource = (index.h("svg", { key: 'a42af94d1f6c0c5adab4eade6af3813ad05e7b63', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: 'e296f6c9fffb236c8aad51403237745e03994e9e', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
154
154
|
break;
|
|
155
155
|
case 'kup-data-table':
|
|
156
156
|
//table-large.svg
|
|
157
|
-
resource = (index.h("svg", { key: '
|
|
157
|
+
resource = (index.h("svg", { key: '6f755edd48a59c2857dc6d8935909faf648d9a03', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, index.h("path", { key: '6951d2f06986b335eea5bef530c7a4bf9aa311ab', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
158
158
|
break;
|
|
159
159
|
case 'kup-image':
|
|
160
160
|
//photo.svg
|
|
161
|
-
resource = (index.h("svg", { key: '
|
|
161
|
+
resource = (index.h("svg", { key: 'e4de60a5e5d48cb7726b88abf06b7bc5c889d422', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '63ffecb16ce4107ac9ffbfbad8cd655e34e900f3', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
162
162
|
break;
|
|
163
163
|
case 'kup-progress-bar':
|
|
164
164
|
//linear_scale.svg
|
|
165
|
-
resource = (index.h("svg", { key: '
|
|
165
|
+
resource = (index.h("svg", { key: 'b8e2b4a9382a3e9483da1f0efbbef9566b8f39ab', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '339f3815ac768a03ad3b8ba78d6bce5c6879402d', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
166
166
|
break;
|
|
167
167
|
case 'kup-radio':
|
|
168
168
|
//radio_button_unchecked.svg
|
|
169
|
-
resource = (index.h("svg", { key: '
|
|
169
|
+
resource = (index.h("svg", { key: '15c32aad0b8ff81e43a869c14de3872ab4a608ff', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: 'd4388b9681629f14c0c4c385448ed4765cc92a9e', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
170
170
|
break;
|
|
171
171
|
default:
|
|
172
172
|
//art_track.svg
|
|
173
|
-
resource = (index.h("svg", { key: '
|
|
173
|
+
resource = (index.h("svg", { key: '132ad10f47b212eac81a40954eb7b5f0fe46ff85', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, index.h("path", { key: '45015c39db68faa73d2ee7398f55137880277146', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
174
174
|
break;
|
|
175
175
|
}
|
|
176
176
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -179,14 +179,14 @@ const KupLazy = class {
|
|
|
179
179
|
this.data &&
|
|
180
180
|
this.isInViewport)) {
|
|
181
181
|
let Tag = this.componentName;
|
|
182
|
-
content = (index.h(Tag, Object.assign({ key: '
|
|
182
|
+
content = (index.h(Tag, Object.assign({ key: '872b8eb5d96b68cfcd1e4900bfca772bab11ab3a' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
183
183
|
className += ' kup-loaded';
|
|
184
184
|
}
|
|
185
185
|
else if (this.showPlaceholder) {
|
|
186
186
|
content = resource;
|
|
187
187
|
className += ' kup-to-be-loaded';
|
|
188
188
|
}
|
|
189
|
-
return (index.h(index.Host, { key: '
|
|
189
|
+
return (index.h(index.Host, { key: '9c1dbf24aa0e68330251b4e9a35e17c7a9e23539', class: className }, index.h("style", { key: 'e74a571399d27dcac499e341dd6e19535e66f1c2' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: '6aaca6cb575a7662770bb31abf1883ca96a7c543', id: GenericVariables.componentWrapperId }, content)));
|
|
190
190
|
}
|
|
191
191
|
disconnectedCallback() {
|
|
192
192
|
var _a;
|
|
@@ -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-bb0a1490.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');
|
|
@@ -291,11 +291,11 @@ const KupMagicBox = class {
|
|
|
291
291
|
this.kupManager.debug.logRender(this, true);
|
|
292
292
|
}
|
|
293
293
|
render() {
|
|
294
|
-
return (index.h(index.Host, { key: '
|
|
294
|
+
return (index.h(index.Host, { key: '76b8180fd4034de65e028b585a4fb002c8bcdfca' }, index.h("style", { key: '9ba35b5e148e6e50d8a9f830f5db48612581e69b' }, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { key: 'a3d292ce29fa8539e9c66275ac569c28cf3a54e1', id: GenericVariables.componentWrapperId }, index.h("div", { key: 'fa29976b5702fedb46d7d91b618f2231ae7ddef1', class: "magic-box-wrapper" }, index.h("div", { key: '7f61c00fce84bcf7f36b8c47fe69fd5556aee41f', class: "actions", id: "drag-handle" }, index.h("kup-combobox", Object.assign({ key: '5f5aa592fe3eaf815677f238064425857d0b2f7a' }, this.comboboxProps())), index.h("kup-button", { key: '3708c650c5e31029f801386565bba2a1ccfc0e43', styling: fButtonDeclarations.FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
295
295
|
this.data = null;
|
|
296
|
-
} }), index.h("kup-button", { key: '
|
|
296
|
+
} }), index.h("kup-button", { key: '9306931f703349e28310daaeaf82f126bdaf94ad', id: "close-dialog", customStyle: `:host{${kupManager.KupThemeColorValues.PRIMARY}: var(${kupManager.KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
297
297
|
this.kupManager.hideMagicBox();
|
|
298
|
-
} })), index.h("div", { key: '
|
|
298
|
+
} })), index.h("div", { key: '560c6c700d9e4699ac3c800d36648a16afdcff8f', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
299
299
|
}
|
|
300
300
|
disconnectedCallback() {
|
|
301
301
|
this.kupManager.interact.unregister([
|