@sme.up/ketchup 11.0.0-SNAPSHOT-20241217083229 → 11.0.0-SNAPSHOT-20241217103457
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-39c40bdf.js → f-cell-732263b0.js} +16 -16
- package/dist/cjs/{f-chip-d89bcb57.js → f-chip-238c78d1.js} +1 -1
- package/dist/cjs/{f-object-field-4a77d419.js → f-object-field-8bca23a7.js} +2 -2
- package/dist/cjs/{f-paginator-utils-0743ddec.js → f-paginator-utils-be634c3c.js} +1 -1
- package/dist/cjs/{f-text-field-02f710d5.js → f-text-field-b5a51398.js} +3 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_28.cjs.entry.js +242 -245
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-43cfaea5.js → kup-data-table-helper-07df1b41.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- 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-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-input-panel.cjs.entry.js +43 -198
- 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-1145102b.js → kup-manager-f5ccf3d0.js} +2 -1
- 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-photo-frame.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-accordion/kup-accordion.js +1 -1
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-card-list/kup-card-list.css +1 -1
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +29 -15
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +97 -70
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- 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 +38 -193
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.css +5 -1
- package/dist/collection/components/kup-list/kup-list.js +43 -4
- 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-photo-frame/kup-photo-frame.js +2 -2
- 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 +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
- package/dist/collection/f-components/f-cell/f-cell.js +12 -12
- package/dist/collection/f-components/f-text-field/f-text-field.js +2 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +3 -3
- package/dist/components/kup-activity-timeline.js +3 -3
- 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 +4 -4
- package/dist/components/kup-card-list.js +4 -4
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +4 -4
- 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 +3 -3
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +41 -196
- 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-photo-frame.js +4 -4
- 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 +3 -3
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-f95300f6.js → p-22b40453.js} +2 -2
- package/dist/components/{p-f81a6df1.js → p-248b85c1.js} +2 -2
- package/dist/components/{p-cfc8a8fb.js → p-3466bd5a.js} +1 -1
- package/dist/components/{p-2d57f1db.js → p-3bc624c9.js} +1 -1
- package/dist/components/{p-5a065bf1.js → p-3bf643ae.js} +2 -2
- package/dist/components/{p-f3a59611.js → p-5c82ed77.js} +3 -3
- package/dist/components/{p-4bab013a.js → p-5ee0b3dc.js} +326 -327
- package/dist/components/{p-911cd91d.js → p-776a38a0.js} +15 -15
- package/dist/components/{p-73449cb1.js → p-79c12fc7.js} +2 -2
- package/dist/components/{p-d80bbcb0.js → p-8138bfb7.js} +2 -1
- package/dist/components/{p-56c8142a.js → p-822c3930.js} +1 -1
- package/dist/components/{p-0d856495.js → p-ae5af2ad.js} +13 -13
- package/dist/components/{p-d0735e25.js → p-af3fcbd9.js} +3 -3
- package/dist/components/{p-3e08d788.js → p-b31cf6a0.js} +3 -3
- package/dist/components/{p-61b8d8fd.js → p-babf447c.js} +2 -2
- package/dist/components/{p-dc697572.js → p-be17920c.js} +2 -2
- package/dist/components/{p-e275fc9f.js → p-c97810e2.js} +1 -1
- package/dist/components/{p-ff1894fe.js → p-d8b0f5eb.js} +5 -5
- package/dist/components/{p-a2ed336a.js → p-f7c2ca1d.js} +4 -4
- package/dist/components/{p-1f1d9b1f.js → p-ff8bdafd.js} +7 -7
- package/dist/esm/{f-cell-31585bb7.js → f-cell-b6871cf3.js} +16 -16
- package/dist/esm/{f-chip-e31d0dfb.js → f-chip-ba9a3748.js} +1 -1
- package/dist/esm/{f-object-field-fa795c94.js → f-object-field-e76b1e59.js} +2 -2
- package/dist/esm/{f-paginator-utils-d34dca74.js → f-paginator-utils-54e4b908.js} +1 -1
- package/dist/esm/{f-text-field-e73d7967.js → f-text-field-48beba2c.js} +3 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_28.entry.js +242 -245
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-771bc5c8.js → kup-data-table-helper-c2ac5163.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +3 -3
- 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-image-list.entry.js +8 -8
- package/dist/esm/kup-input-panel.entry.js +43 -198
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-828bdc1c.js → kup-manager-02d449a3.js} +3 -2
- 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-photo-frame.entry.js +3 -3
- 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 +2 -2
- 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-e1048932.entry.js → p-004e0b2c.entry.js} +1 -1
- package/dist/ketchup/{p-14706a7c.entry.js → p-06670b74.entry.js} +2 -2
- package/dist/ketchup/{p-73827465.entry.js → p-0ee306a5.entry.js} +1 -1
- package/dist/ketchup/p-16a65a92.js +1 -0
- package/dist/ketchup/p-2ca239c5.js +1 -0
- package/dist/ketchup/{p-ed017acb.entry.js → p-32beb39d.entry.js} +1 -1
- package/dist/ketchup/{p-19afdc14.entry.js → p-383f0f64.entry.js} +1 -1
- package/dist/ketchup/{p-23b38d86.entry.js → p-43bdc189.entry.js} +1 -1
- package/dist/ketchup/{p-883c6a82.entry.js → p-4c23dfc6.entry.js} +1 -1
- package/dist/ketchup/{p-e369dacb.entry.js → p-4ce1c468.entry.js} +1 -1
- package/dist/ketchup/{p-cd75fa31.entry.js → p-597facc7.entry.js} +1 -1
- package/dist/ketchup/{p-b53e417a.entry.js → p-5fbe73fa.entry.js} +1 -1
- package/dist/ketchup/{p-05ab6230.entry.js → p-63ac7b9d.entry.js} +1 -1
- package/dist/ketchup/{p-c7464ad2.entry.js → p-6a6887c2.entry.js} +1 -1
- package/dist/ketchup/{p-9d94d189.entry.js → p-6aef8eca.entry.js} +1 -1
- package/dist/ketchup/{p-018021f3.entry.js → p-72148698.entry.js} +2 -2
- package/dist/ketchup/{p-739564c1.entry.js → p-75ed372c.entry.js} +2 -2
- package/dist/ketchup/p-76d0aeb9.entry.js +9 -0
- package/dist/ketchup/{p-c01717af.entry.js → p-808a7ffa.entry.js} +1 -1
- package/dist/ketchup/{p-8315558f.entry.js → p-85512014.entry.js} +1 -1
- package/dist/ketchup/{p-54906238.js → p-927aa746.js} +2 -2
- package/dist/ketchup/{p-5d4bfad2.js → p-9a33082b.js} +1 -1
- package/dist/ketchup/{p-dd2c41ac.entry.js → p-9cdfce9d.entry.js} +1 -1
- package/dist/ketchup/{p-be59b96c.entry.js → p-a4ac2d83.entry.js} +2 -2
- package/dist/ketchup/{p-c1950e47.entry.js → p-a9738796.entry.js} +1 -1
- package/dist/ketchup/{p-e472b1ac.entry.js → p-bdf12dc3.entry.js} +1 -1
- package/dist/ketchup/{p-cffd22c7.entry.js → p-c10caeed.entry.js} +1 -1
- package/dist/ketchup/{p-bdf8da46.entry.js → p-c9924da3.entry.js} +1 -1
- package/dist/ketchup/{p-6ee26164.js → p-ce299c02.js} +1 -1
- package/dist/ketchup/{p-d20fbba2.entry.js → p-ce37247c.entry.js} +1 -1
- package/dist/ketchup/p-ce908d23.entry.js +1 -0
- package/dist/ketchup/p-d52a97d6.entry.js +1 -0
- package/dist/ketchup/{p-6a552af4.entry.js → p-d75f7618.entry.js} +1 -1
- package/dist/ketchup/{p-5a24ec5b.entry.js → p-d9bd93d2.entry.js} +1 -1
- package/dist/ketchup/{p-7d639720.entry.js → p-dd567e1d.entry.js} +1 -1
- package/dist/ketchup/{p-31c2ce09.entry.js → p-e5b796d2.entry.js} +1 -1
- package/dist/ketchup/p-ed3253c1.js +1 -0
- package/dist/ketchup/{p-d15d479c.js → p-ed3ff1ae.js} +1 -1
- package/dist/ketchup/{p-b1012dc7.entry.js → p-f252ef4f.entry.js} +1 -1
- package/dist/ketchup/{p-9474bc4f.entry.js → p-f81d80a7.entry.js} +1 -1
- package/dist/ketchup/{p-ebf37ad3.entry.js → p-f81e7e01.entry.js} +1 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -1
- package/dist/types/components/kup-list/kup-list.d.ts +8 -0
- package/dist/types/components.d.ts +20 -4
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-13b22d3c.js +0 -1
- package/dist/ketchup/p-43783080.js +0 -1
- package/dist/ketchup/p-54d790eb.entry.js +0 -1
- package/dist/ketchup/p-5d26e46f.js +0 -1
- package/dist/ketchup/p-8e89db49.entry.js +0 -1
- package/dist/ketchup/p-f87e97e4.entry.js +0 -9
|
@@ -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-c9246a86.js';
|
|
2
2
|
import { F as FButton } from './f-button-acef8cca.js';
|
|
3
|
-
import { F as FCell } from './f-cell-
|
|
4
|
-
import { k as kupManagerInstance,
|
|
3
|
+
import { F as FCell } from './f-cell-b6871cf3.js';
|
|
4
|
+
import { k as kupManagerInstance, a5 as FCellTypes, F as FCellShapes, g as getProps, s as setProps, h as KupLanguageGeneric, an as CHIAdapter, ac as CMBandACPAdapter, am as CHKAdapter, ab as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, N as KupPointerEventTypes } from './kup-manager-02d449a3.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-65229068.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-e8fec767.js';
|
|
10
10
|
import './f-checkbox-ed122005.js';
|
|
11
|
-
import './f-text-field-
|
|
12
|
-
import './f-chip-
|
|
13
|
-
import './f-object-field-
|
|
11
|
+
import './f-text-field-48beba2c.js';
|
|
12
|
+
import './f-chip-ba9a3748.js';
|
|
13
|
+
import './f-object-field-e76b1e59.js';
|
|
14
14
|
import './kup-dates-da19044e.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -156,7 +156,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
156
156
|
}
|
|
157
157
|
return t;
|
|
158
158
|
};
|
|
159
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames,
|
|
159
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_eventNames, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_keysShortcut, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _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_onBlurHandler, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_getEventDetails, _KupInputPanel_contextMenuHandler, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
160
160
|
const dom = document.documentElement;
|
|
161
161
|
const KupInputPanel = class {
|
|
162
162
|
constructor(hostRef) {
|
|
@@ -190,15 +190,6 @@ const KupInputPanel = class {
|
|
|
190
190
|
[FCellTypes.COMBOBOX, ['kup-combobox-iconclick', 'kup-combobox-blur']],
|
|
191
191
|
[FCellTypes.MULTI_COMBOBOX, ['kup-combobox-iconclick']],
|
|
192
192
|
]));
|
|
193
|
-
_KupInputPanel_eventBlurNames.set(this, new Map([
|
|
194
|
-
[FCellShapes.AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
195
|
-
[FCellShapes.CHIP, 'kup-textfield-blur'],
|
|
196
|
-
[FCellShapes.COMBOBOX, 'kup-combobox-blur'],
|
|
197
|
-
[FCellShapes.DATE, 'kup-datepicker-blur'],
|
|
198
|
-
[FCellShapes.MULTI_AUTOCOMPLETE, 'kup-autocomplete-blur'],
|
|
199
|
-
[FCellShapes.MULTI_COMBOBOX, 'kup-combobox-blur'],
|
|
200
|
-
[FCellShapes.TIME, 'kup-timepicker-blur'],
|
|
201
|
-
]));
|
|
202
193
|
_KupInputPanel_listeners.set(this, []);
|
|
203
194
|
_KupInputPanel_cellTypeComponents.set(this, new Map([
|
|
204
195
|
[FCellTypes.DATE, 'kup-date-picker'],
|
|
@@ -316,7 +307,9 @@ const KupInputPanel = class {
|
|
|
316
307
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
317
308
|
]
|
|
318
309
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
319
|
-
return (h(Host, { key: '
|
|
310
|
+
return (h(Host, { key: '1316f47cce917e05cfb94bd3e68c8f1ad14a85de', "onKup-cell-blur": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onBlurHandler).bind(this), "onKup-tabbar-click": (e) => {
|
|
311
|
+
this.tabSelected = e.detail.node.id;
|
|
312
|
+
}, "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": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this) }, h("style", { key: 'f8d4834ceed60a77270667e9229090faf36c06fe' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'ca1a00d028a0a8ef030d41c2452fbb229a041c32', id: componentWrapperId }, inputPanelContent)));
|
|
320
313
|
}
|
|
321
314
|
disconnectedCallback() {
|
|
322
315
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -327,7 +320,7 @@ const KupInputPanel = class {
|
|
|
327
320
|
"data": ["onDataChanged"]
|
|
328
321
|
}; }
|
|
329
322
|
};
|
|
330
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(),
|
|
323
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_eventNames = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_keysShortcut = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
331
324
|
return this.inputPanelCells.reduce((cell, { cells }) => {
|
|
332
325
|
if (!cell) {
|
|
333
326
|
return cells.find(({ column }) => column.name === id).cell;
|
|
@@ -585,17 +578,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
585
578
|
});
|
|
586
579
|
});
|
|
587
580
|
const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
|
|
588
|
-
if (!__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").map((l) => l.event).includes('kup-tabbar-click')) {
|
|
589
|
-
const event = 'kup-tabbar-click';
|
|
590
|
-
const handler = (e) => {
|
|
591
|
-
this.tabSelected = e.detail.node.id;
|
|
592
|
-
};
|
|
593
|
-
this.rootElement.addEventListener(event, handler);
|
|
594
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
595
|
-
event,
|
|
596
|
-
handler,
|
|
597
|
-
});
|
|
598
|
-
}
|
|
599
581
|
return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
|
|
600
582
|
}, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
|
|
601
583
|
const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
|
|
@@ -814,16 +796,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
814
796
|
}
|
|
815
797
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
816
798
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
817
|
-
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null
|
|
799
|
+
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.editable, id: col.name });
|
|
818
800
|
}
|
|
819
801
|
return null;
|
|
820
|
-
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue
|
|
821
|
-
var _a, _b;
|
|
822
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
823
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
824
|
-
cell.mandatory) {
|
|
825
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
826
|
-
}
|
|
802
|
+
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue) {
|
|
827
803
|
return CHIAdapter(currentValue);
|
|
828
804
|
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
829
805
|
//TODO: definire mapping
|
|
@@ -849,47 +825,20 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
849
825
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").keysBinding.register((_d = cell.data) === null || _d === void 0 ? void 0 : _d.keyShortcut, cell.data.onClick.bind(this));
|
|
850
826
|
}
|
|
851
827
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
852
|
-
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue
|
|
853
|
-
var _a, _b;
|
|
828
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
|
|
854
829
|
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
855
|
-
if (
|
|
856
|
-
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
857
|
-
const evNames = __classPrivateFieldGet(this, _KupInputPanel_eventNames, "f").get(cellType);
|
|
858
|
-
if (!evNames) {
|
|
859
|
-
return;
|
|
860
|
-
}
|
|
861
|
-
evNames.map((evName) => {
|
|
862
|
-
const handler = (e) => {
|
|
863
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, e.detail, cell.fun, configCMandACP, id, currentValue);
|
|
864
|
-
};
|
|
865
|
-
this.rootElement.addEventListener(evName, handler);
|
|
866
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
867
|
-
event: evName,
|
|
868
|
-
handler,
|
|
869
|
-
});
|
|
870
|
-
});
|
|
871
|
-
}
|
|
872
|
-
else if (rawOptions) {
|
|
830
|
+
if (rawOptions) {
|
|
873
831
|
configCMandACP.data['kup-list'].data =
|
|
874
832
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, rawOptions, currentValue);
|
|
875
833
|
}
|
|
876
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
877
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
878
|
-
cell.mandatory) {
|
|
879
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
880
|
-
}
|
|
881
834
|
return configCMandACP;
|
|
882
|
-
},
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
887
|
-
cell.mandatory) {
|
|
888
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
889
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
890
|
-
} });
|
|
835
|
+
}, _KupInputPanel_getOptionHandler = function _KupInputPanel_getOptionHandler({ detail }) {
|
|
836
|
+
const cell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, detail.id);
|
|
837
|
+
if (cell.fun) {
|
|
838
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getAutocompleteEventCallback).call(this, detail, cell);
|
|
891
839
|
}
|
|
892
|
-
|
|
840
|
+
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
841
|
+
return CHKAdapter(currentValue, fieldLabel);
|
|
893
842
|
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
894
843
|
return {
|
|
895
844
|
data: {
|
|
@@ -903,7 +852,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
903
852
|
initialValue: currentValue,
|
|
904
853
|
};
|
|
905
854
|
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue, cell, id) {
|
|
906
|
-
var _a
|
|
855
|
+
var _a;
|
|
907
856
|
const data = Object.assign({ label: fieldLabel }, cell.data);
|
|
908
857
|
if (this.autoSkip &&
|
|
909
858
|
(cell.isEditable || cell.editable) &&
|
|
@@ -912,34 +861,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
912
861
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setAutoSkip).call(this, id, event);
|
|
913
862
|
};
|
|
914
863
|
}
|
|
915
|
-
if (((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkObject) ||
|
|
916
|
-
((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkValueOnExit) ||
|
|
917
|
-
cell.mandatory) {
|
|
918
|
-
data.onBlur = () => {
|
|
919
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
920
|
-
};
|
|
921
|
-
}
|
|
922
|
-
return data;
|
|
923
|
-
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue, cell, id) {
|
|
924
|
-
var _a, _b;
|
|
925
|
-
let data = RADAdapter(currentValue, options);
|
|
926
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
927
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
928
|
-
cell.mandatory) {
|
|
929
|
-
return Object.assign(Object.assign({}, data), { onBlur: () => {
|
|
930
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
931
|
-
} });
|
|
932
|
-
}
|
|
933
864
|
return data;
|
|
865
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
|
|
866
|
+
return RADAdapter(currentValue, options);
|
|
934
867
|
}, _KupInputPanel_SWTAdapter = function _KupInputPanel_SWTAdapter(_options, fieldLabel, currentValue) {
|
|
935
868
|
return SWTAdapter(currentValue, fieldLabel);
|
|
936
|
-
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue
|
|
937
|
-
var _a, _b;
|
|
938
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
939
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
940
|
-
cell.mandatory) {
|
|
941
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
942
|
-
}
|
|
869
|
+
}, _KupInputPanel_DateAdapter = function _KupInputPanel_DateAdapter(_options, fieldLabel, currentValue) {
|
|
943
870
|
return {
|
|
944
871
|
data: {
|
|
945
872
|
'kup-text-field': {
|
|
@@ -948,32 +875,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
948
875
|
},
|
|
949
876
|
initialValue: currentValue !== null && currentValue !== void 0 ? currentValue : '',
|
|
950
877
|
};
|
|
951
|
-
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue
|
|
952
|
-
var _a, _b;
|
|
953
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
954
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
955
|
-
cell.mandatory) {
|
|
956
|
-
return {
|
|
957
|
-
initialValue: currentValue || '',
|
|
958
|
-
label: fieldLabel || ' ',
|
|
959
|
-
value: currentValue || '',
|
|
960
|
-
onBlur: () => {
|
|
961
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
962
|
-
},
|
|
963
|
-
};
|
|
964
|
-
}
|
|
878
|
+
}, _KupInputPanel_ObjectAdapter = function _KupInputPanel_ObjectAdapter(_options, fieldLabel, currentValue) {
|
|
965
879
|
return {
|
|
966
880
|
initialValue: currentValue || '',
|
|
967
881
|
label: fieldLabel || ' ',
|
|
968
882
|
value: currentValue || '',
|
|
969
883
|
};
|
|
970
|
-
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue
|
|
971
|
-
var _a, _b;
|
|
972
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
973
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
974
|
-
cell.mandatory) {
|
|
975
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurEvent).call(this, cell, id);
|
|
976
|
-
}
|
|
884
|
+
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
977
885
|
return {
|
|
978
886
|
data: {
|
|
979
887
|
'kup-text-field': {
|
|
@@ -982,18 +890,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
982
890
|
},
|
|
983
891
|
initialValue: currentValue,
|
|
984
892
|
};
|
|
985
|
-
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue
|
|
986
|
-
var _a, _b;
|
|
987
|
-
if (((_a = cell.inputSettings) === null || _a === void 0 ? void 0 : _a.checkObject) ||
|
|
988
|
-
((_b = cell.inputSettings) === null || _b === void 0 ? void 0 : _b.checkValueOnExit) ||
|
|
989
|
-
cell.mandatory) {
|
|
990
|
-
return {
|
|
991
|
-
label: fieldLabel,
|
|
992
|
-
onBlur: () => {
|
|
993
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_checkOnBlurProp).call(this, cell, id);
|
|
994
|
-
},
|
|
995
|
-
};
|
|
996
|
-
}
|
|
893
|
+
}, _KupInputPanel_NumberAdapter = function _KupInputPanel_NumberAdapter(_options, fieldLabel, _currentValue) {
|
|
997
894
|
return { label: fieldLabel };
|
|
998
895
|
}, _KupInputPanel_DataTableAdapter = function _KupInputPanel_DataTableAdapter(_rawOptions, _fieldLabel, _value, cell, id) {
|
|
999
896
|
try {
|
|
@@ -1099,44 +996,42 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1099
996
|
}
|
|
1100
997
|
const buttonCell = Object.assign(Object.assign({}, cell), { data: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter).call(this, null, null, cell.value, cell, cell.obj.k), id: cell.obj.k });
|
|
1101
998
|
return buttonCell;
|
|
1102
|
-
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail,
|
|
1103
|
-
|
|
1104
|
-
detail.open === false) {
|
|
1105
|
-
return;
|
|
1106
|
-
}
|
|
1107
|
-
this.optionsHandler(fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
999
|
+
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
|
|
1000
|
+
this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1108
1001
|
var _a;
|
|
1109
|
-
data.data['kup-list'].data =
|
|
1110
|
-
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options,
|
|
1002
|
+
cell.data.data['kup-list'].data =
|
|
1003
|
+
(_a = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, options, cell.value)) !== null && _a !== void 0 ? _a : [];
|
|
1111
1004
|
detail.comp.refresh();
|
|
1112
1005
|
});
|
|
1113
|
-
},
|
|
1006
|
+
}, _KupInputPanel_onBlurHandler = async function _KupInputPanel_onBlurHandler(e) {
|
|
1114
1007
|
var _a, _b, _c, _d, _e;
|
|
1115
|
-
const
|
|
1008
|
+
const { detail: { column, cell }, } = e;
|
|
1009
|
+
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, column.name);
|
|
1010
|
+
const originalCell = __classPrivateFieldGet(this, _KupInputPanel_originalData, "f").rows[0].cells[column.name];
|
|
1116
1011
|
// Required cell check
|
|
1117
1012
|
if (cell.mandatory) {
|
|
1118
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1119
|
-
? ((_a =
|
|
1013
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, currCell.value
|
|
1014
|
+
? ((_a = originalCell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1120
1015
|
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1121
|
-
if (!
|
|
1016
|
+
if (!cell.value) {
|
|
1122
1017
|
return;
|
|
1123
1018
|
}
|
|
1124
1019
|
}
|
|
1125
1020
|
else {
|
|
1126
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1021
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_b = originalCell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1127
1022
|
}
|
|
1128
1023
|
// Valid object check
|
|
1129
|
-
if ((
|
|
1024
|
+
if ((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) {
|
|
1130
1025
|
const { valid } = await this.checkValidObjCallback({
|
|
1131
1026
|
obj: cell.obj,
|
|
1132
1027
|
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1133
1028
|
fun: cell.fun,
|
|
1134
1029
|
});
|
|
1135
1030
|
if (valid) {
|
|
1136
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1031
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, ((_d = originalCell.data) === null || _d === void 0 ? void 0 : _d.error) || null);
|
|
1137
1032
|
}
|
|
1138
1033
|
else {
|
|
1139
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this,
|
|
1034
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, column.name, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1140
1035
|
return;
|
|
1141
1036
|
}
|
|
1142
1037
|
}
|
|
@@ -1144,58 +1039,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1144
1039
|
this.checkValidValueCallback({
|
|
1145
1040
|
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1146
1041
|
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1147
|
-
},
|
|
1042
|
+
}, column.name);
|
|
1148
1043
|
}
|
|
1149
|
-
}, _KupInputPanel_checkOnBlurEvent = function _KupInputPanel_checkOnBlurEvent(cell, id) {
|
|
1150
|
-
const evName = __classPrivateFieldGet(this, _KupInputPanel_eventBlurNames, "f").get(cell.shape);
|
|
1151
|
-
if (!evName) {
|
|
1152
|
-
return;
|
|
1153
|
-
}
|
|
1154
|
-
const handler = async (e) => {
|
|
1155
|
-
var _a, _b, _c, _d, _e;
|
|
1156
|
-
const currCell = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getCell).call(this, id);
|
|
1157
|
-
if (e.detail.id !== id) {
|
|
1158
|
-
return;
|
|
1159
|
-
}
|
|
1160
|
-
// Required cell check
|
|
1161
|
-
if (cell.mandatory) {
|
|
1162
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, currCell.value
|
|
1163
|
-
? ((_a = cell.data) === null || _a === void 0 ? void 0 : _a.error) || null
|
|
1164
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.REQUIRED_VALUE));
|
|
1165
|
-
if (!e.detail.value) {
|
|
1166
|
-
return;
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
else {
|
|
1170
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, ((_b = cell.data) === null || _b === void 0 ? void 0 : _b.error) || null);
|
|
1171
|
-
}
|
|
1172
|
-
// Valid object check
|
|
1173
|
-
if (((_c = cell.inputSettings) === null || _c === void 0 ? void 0 : _c.checkObject) && e.detail.value) {
|
|
1174
|
-
const { valid } = await this.checkValidObjCallback({
|
|
1175
|
-
obj: cell.obj,
|
|
1176
|
-
currentState: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1177
|
-
fun: cell.fun,
|
|
1178
|
-
});
|
|
1179
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_setCellError).call(this, id, valid
|
|
1180
|
-
? ((_d = cell.data) === null || _d === void 0 ? void 0 : _d.error) || null
|
|
1181
|
-
: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.INVALID_VALUE));
|
|
1182
|
-
if (!valid) {
|
|
1183
|
-
return;
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
if (((_e = cell.inputSettings) === null || _e === void 0 ? void 0 : _e.checkValueOnExit) &&
|
|
1187
|
-
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_areValuesUpdated).call(this)) {
|
|
1188
|
-
this.checkValidValueCallback({
|
|
1189
|
-
before: Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_originalData, "f")),
|
|
1190
|
-
after: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this),
|
|
1191
|
-
}, id);
|
|
1192
|
-
}
|
|
1193
|
-
};
|
|
1194
|
-
this.rootElement.addEventListener(evName, handler);
|
|
1195
|
-
__classPrivateFieldGet(this, _KupInputPanel_listeners, "f").push({
|
|
1196
|
-
event: evName,
|
|
1197
|
-
handler,
|
|
1198
|
-
});
|
|
1199
1044
|
}, _KupInputPanel_setCellError = function _KupInputPanel_setCellError(id, error) {
|
|
1200
1045
|
this.inputPanelCells = this.inputPanelCells.map((cell) => (Object.assign(Object.assign({}, cell), { cells: cell.cells.map(({ cell, column }) => {
|
|
1201
1046
|
const data = column.name === id
|
|
@@ -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-c9246a86.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-02d449a3.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -134,39 +134,39 @@ const KupLazy = class {
|
|
|
134
134
|
switch (this.componentName) {
|
|
135
135
|
case 'kup-button':
|
|
136
136
|
//call_to_action.svg
|
|
137
|
-
resource = (h("svg", { key: '
|
|
137
|
+
resource = (h("svg", { key: '665704637b3354494ef01a225fd4d37a0188c34f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '6a0391862537ed0250af6780a7c0fef06130b831', 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" })));
|
|
138
138
|
break;
|
|
139
139
|
case 'kup-card':
|
|
140
140
|
//art_track.svg
|
|
141
|
-
resource = (h("svg", { key: '
|
|
141
|
+
resource = (h("svg", { key: 'a91f941eaf227d71122f52ef990999697e5140d2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '9b757b8dae5fbb1d30ba262087274d6ed177b713', 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" })));
|
|
142
142
|
break;
|
|
143
143
|
case 'kup-checkbox':
|
|
144
144
|
//check_box_outline_blank.svg
|
|
145
|
-
resource = (h("svg", { key: '
|
|
145
|
+
resource = (h("svg", { key: 'dd4f4172b01ef1784c3a4947940e11f6cacbe746', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '4a65af5a391cfaf3d1e82c229db9a361b493cf49', 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" })));
|
|
146
146
|
break;
|
|
147
147
|
case 'kup-chart':
|
|
148
148
|
//chart-bar.svg
|
|
149
|
-
resource = (h("svg", { key: '
|
|
149
|
+
resource = (h("svg", { key: '593f6aa43a513b12ea0b49f7feb6680e2931c36c', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '0a24ba272bc6830f9bf356585d4a16d769b37b52', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
150
150
|
break;
|
|
151
151
|
case 'kup-data-table':
|
|
152
152
|
//table-large.svg
|
|
153
|
-
resource = (h("svg", { key: '
|
|
153
|
+
resource = (h("svg", { key: 'fccd6198bf2c7d9b67fd9df526483f8f9dafee21', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '976cebc69cdc6153f4f91e935e48c18d5d345544', 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" })));
|
|
154
154
|
break;
|
|
155
155
|
case 'kup-image':
|
|
156
156
|
//photo.svg
|
|
157
|
-
resource = (h("svg", { key: '
|
|
157
|
+
resource = (h("svg", { key: '17b1e569dabdfb945ea6880e770ae52566c14964', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8208a3be977f5294e724adc8e0c168f3e0447940', 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" })));
|
|
158
158
|
break;
|
|
159
159
|
case 'kup-progress-bar':
|
|
160
160
|
//linear_scale.svg
|
|
161
|
-
resource = (h("svg", { key: '
|
|
161
|
+
resource = (h("svg", { key: 'd75588e7fdd9dd67ca01598159316c0a480ff7b2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'b6cb40a0509a7da7a0d764cb11b8170a4b083932', 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" })));
|
|
162
162
|
break;
|
|
163
163
|
case 'kup-radio':
|
|
164
164
|
//radio_button_unchecked.svg
|
|
165
|
-
resource = (h("svg", { key: '
|
|
165
|
+
resource = (h("svg", { key: '1b18bc766908f4da555824535f7dbdc93779bb60', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '0feac444636e26df8fded6a7e566252087e60e86', 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" })));
|
|
166
166
|
break;
|
|
167
167
|
default:
|
|
168
168
|
//art_track.svg
|
|
169
|
-
resource = (h("svg", { key: '
|
|
169
|
+
resource = (h("svg", { key: '455a2d22a5d9d50f071e8facd31b50b7bd3f5d92', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'fefd08ea2bbd6eaa7e4ee0fefe2b25afa81165cf', 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" })));
|
|
170
170
|
break;
|
|
171
171
|
}
|
|
172
172
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -175,14 +175,14 @@ const KupLazy = class {
|
|
|
175
175
|
this.data &&
|
|
176
176
|
this.isInViewport)) {
|
|
177
177
|
let Tag = this.componentName;
|
|
178
|
-
content = (h(Tag, Object.assign({ key: '
|
|
178
|
+
content = (h(Tag, Object.assign({ key: 'd1d563697c56db2c3fdcf3252aae2a2966b06858' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
179
179
|
className += ' kup-loaded';
|
|
180
180
|
}
|
|
181
181
|
else if (this.showPlaceholder) {
|
|
182
182
|
content = resource;
|
|
183
183
|
className += ' kup-to-be-loaded';
|
|
184
184
|
}
|
|
185
|
-
return (h(Host, { key: '
|
|
185
|
+
return (h(Host, { key: '4a055d835d8e6d3fb06bd4870fe5b13c2e4e922e', class: className }, h("style", { key: '5a8b37cd487d2db656dc8614469ba37c11809343' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '21ace7612895c14f8d63303fc171f04a66016427', id: componentWrapperId }, content)));
|
|
186
186
|
}
|
|
187
187
|
disconnectedCallback() {
|
|
188
188
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, au as kupDropEvent,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, au as kupDropEvent, O as kupDraggableColumnAttr, av as kupDraggableRowAttr, V as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-02d449a3.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-e8fec767.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
@@ -287,11 +287,11 @@ const KupMagicBox = class {
|
|
|
287
287
|
this.kupManager.debug.logRender(this, true);
|
|
288
288
|
}
|
|
289
289
|
render() {
|
|
290
|
-
return (h(Host, { key: '
|
|
290
|
+
return (h(Host, { key: 'cc7eb83eaccd2507c886ec16bc37d2fa567ac52e' }, h("style", { key: '809d326e5dcbf28e7aadc8901b0b4958442de680' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1f05d7964adaebc3e44123e766f54b913b6427a4', id: componentWrapperId }, h("div", { key: '08e3fe041eca609baf1bffc35d19711a54557b92', class: "magic-box-wrapper" }, h("div", { key: 'a66c16ca2910391f07eeca825443cd13d1a9eaef', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '8751f6abdbb318c30470954b6b59a5ee331b3ab9' }, this.comboboxProps())), h("kup-button", { key: 'aaae57d304a47b6371f87e7be3ec6e52d6dac92f', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
291
291
|
this.data = null;
|
|
292
|
-
} }), h("kup-button", { key: '
|
|
292
|
+
} }), h("kup-button", { key: '295644dff6eff6d80df769fd54d5e0db43de8473', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
293
293
|
this.kupManager.hideMagicBox();
|
|
294
|
-
} })), h("div", { key: '
|
|
294
|
+
} })), h("div", { key: '3aedf43217a1a013c78170af418adbde5994e0cc', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
295
295
|
}
|
|
296
296
|
disconnectedCallback() {
|
|
297
297
|
this.kupManager.interact.unregister([
|