@sme.up/ketchup 9.6.2 → 9.6.4
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-button-4c346ca8.js → f-button-89de2403.js} +2 -2
- package/dist/cjs/{f-cell-8f3d12fd.js → f-cell-75dbd6eb.js} +31 -9
- package/dist/cjs/{f-checkbox-bfa92ebe.js → f-checkbox-1fa28e76.js} +1 -1
- package/dist/cjs/{f-chip-a6c800be.js → f-chip-08857345.js} +3 -3
- package/dist/cjs/{f-image-40476fa6.js → f-image-a41d7f1e.js} +2 -2
- package/dist/cjs/{f-paginator-utils-c652ceaa.js → f-paginator-utils-ff07301e.js} +7 -4
- package/dist/cjs/{f-text-field-1f77ef23.js → f-text-field-eb207a83.js} +2 -2
- package/dist/cjs/{index-db0a6be6.js → index-958d0399.js} +21 -26
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +5 -5
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +86 -85
- package/dist/cjs/kup-box.cjs.entry.js +60 -20
- package/dist/cjs/kup-calendar.cjs.entry.js +7 -7
- package/dist/cjs/kup-card-list.cjs.entry.js +4 -4
- package/dist/cjs/kup-cell.cjs.entry.js +10 -10
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +13 -13
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -8
- package/dist/cjs/{kup-dates-4aa560f0.js → kup-dates-e22ee32c.js} +46 -8
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
- package/dist/cjs/kup-echart.cjs.entry.js +4 -4
- package/dist/cjs/kup-editor.cjs.entry.js +3 -3
- package/dist/cjs/kup-family-tree.cjs.entry.js +6 -6
- package/dist/cjs/kup-gantt_10.cjs.entry.js +37 -31
- package/dist/cjs/kup-grid.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -4
- package/dist/cjs/kup-image-list.cjs.entry.js +138 -50
- package/dist/cjs/kup-input-panel.cjs.entry.js +298 -0
- package/dist/cjs/kup-lazy.cjs.entry.js +15 -15
- package/dist/cjs/kup-magic-box.cjs.entry.js +8 -8
- package/dist/cjs/{kup-manager-08f1585b.js → kup-manager-abfe4ddd.js} +639 -33
- package/dist/cjs/kup-nav-bar.cjs.entry.js +5 -5
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-pdf.cjs.entry.js +76600 -0
- package/dist/cjs/kup-photo-frame.cjs.entry.js +6 -6
- package/dist/cjs/{kup-planner-renderer-helper-f0c869d7.js → kup-planner-renderer-helper-9f776d6e.js} +3 -23
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +13 -6
- package/dist/cjs/kup-planner.cjs.entry.js +12 -6
- package/dist/cjs/kup-probe.cjs.entry.js +4 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +5 -5
- package/dist/cjs/kup-snackbar.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/data-table.js +7 -2
- package/dist/collection/assets/image-list.js +20 -0
- package/dist/collection/assets/index.js +12 -0
- package/dist/collection/assets/input-panel.js +249 -0
- package/dist/collection/assets/pdf.js +15 -0
- package/dist/collection/assets/planner-example-6.js +983 -0
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/kup-accordion/kup-accordion.css +128 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +128 -0
- package/dist/collection/components/kup-badge/kup-badge.css +128 -0
- package/dist/collection/components/kup-box/kup-box.css +128 -0
- package/dist/collection/components/kup-box/kup-box.js +49 -9
- package/dist/collection/components/kup-button/kup-button.css +128 -0
- package/dist/collection/components/kup-button-list/kup-button-list.css +128 -0
- package/dist/collection/components/kup-calendar/kup-calendar.css +128 -0
- package/dist/collection/components/kup-card/kup-card.css +128 -0
- package/dist/collection/components/kup-card-list/kup-card-list.css +128 -0
- package/dist/collection/components/kup-cell/kup-cell.css +128 -0
- package/dist/collection/components/kup-chart/kup-chart.css +128 -0
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +128 -0
- package/dist/collection/components/kup-chip/kup-chip.css +128 -0
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +128 -0
- package/dist/collection/components/kup-combobox/kup-combobox.css +128 -0
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +128 -0
- 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 +133 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +28 -9
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +128 -0
- package/dist/collection/components/kup-dialog/kup-dialog.css +128 -0
- package/dist/collection/components/kup-drawer/kup-drawer.css +128 -0
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +128 -0
- package/dist/collection/components/kup-echart/kup-echart.css +128 -0
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +128 -0
- package/dist/collection/components/kup-form/kup-form.css +128 -0
- package/dist/collection/components/kup-gauge/kup-gauge.css +128 -0
- package/dist/collection/components/kup-grid/kup-grid.css +128 -0
- package/dist/collection/components/kup-iframe/kup-iframe.css +128 -0
- package/dist/collection/components/kup-image/kup-image.css +128 -0
- package/dist/collection/components/kup-image-list/kup-image-list-declarations.js +2 -0
- package/dist/collection/components/kup-image-list/kup-image-list.css +158 -18
- package/dist/collection/components/kup-image-list/kup-image-list.js +175 -46
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +8 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +132 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.e2e.js +305 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +522 -0
- package/dist/collection/components/kup-lazy/kup-lazy.css +128 -0
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.css +128 -0
- package/dist/collection/components/kup-list/kup-list.js +1 -1
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +128 -0
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.css +128 -0
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +128 -0
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +8 -0
- package/dist/collection/components/kup-pdf/kup-pdf.css +169 -0
- package/dist/collection/components/kup-pdf/kup-pdf.js +262 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.css +128 -0
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +2 -2
- package/dist/collection/components/kup-planner/kup-planner.css +128 -0
- package/dist/collection/components/kup-planner/kup-planner.js +7 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.module.css +128 -0
- package/dist/collection/components/kup-planner/utils/custom-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/gantt-table.module.css +128 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +128 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +29 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.css +128 -0
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +128 -0
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +128 -0
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer-helper.js +2 -22
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +37 -4
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +128 -0
- 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.css +128 -0
- 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.css +128 -0
- 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.css +128 -0
- 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.css +128 -0
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.css +128 -0
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.css +128 -0
- package/dist/collection/components/kup-rating/kup-rating.css +128 -0
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +128 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.css +128 -0
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.css +128 -0
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +128 -0
- package/dist/collection/components/kup-text-field/kup-text-field.css +128 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +128 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.css +128 -0
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +1 -0
- package/dist/collection/f-components/f-cell/f-cell.js +25 -2
- package/dist/collection/f-components/f-paginator/f-paginator.js +3 -0
- package/dist/collection/managers/kup-dates/kup-dates.js +18 -8
- package/dist/collection/managers/kup-interact/kup-interact.js +7 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +7 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/cell-utils.js +2 -2
- package/dist/components/custom-task-list-header.js +3 -3
- package/dist/components/custom-task-list-table.js +2 -2
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-autocomplete2.js +105 -78
- package/dist/components/kup-box2.js +51 -11
- package/dist/components/kup-calendar.js +2 -2
- package/dist/components/kup-card-list.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-dates.js +45 -9
- package/dist/components/kup-drawer.js +1 -1
- package/dist/components/kup-echart2.js +2 -2
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-gantt-calendar2.js +2 -2
- package/dist/components/kup-gantt2.js +11 -4
- package/dist/components/kup-grid-renderer2.js +3 -3
- package/dist/components/kup-grid2.js +2 -2
- package/dist/components/kup-horizontal-scroll2.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +132 -42
- package/dist/components/kup-input-panel.d.ts +11 -0
- package/dist/components/kup-input-panel.js +449 -0
- package/dist/components/kup-lazy.js +12 -12
- package/dist/components/kup-magic-box.js +5 -5
- package/dist/components/kup-manager.js +638 -32
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-pdf.d.ts +11 -0
- package/dist/components/kup-pdf.js +76756 -0
- package/dist/components/kup-photo-frame.js +3 -3
- package/dist/components/kup-planner-renderer-helper.js +2 -22
- package/dist/components/kup-planner-renderer2.js +12 -4
- package/dist/components/kup-planner.js +8 -2
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-snackbar.js +2 -2
- package/dist/components/kup-standard-tooltip2.js +2 -2
- package/dist/components/kup-switcher2.js +2 -2
- package/dist/components/kup-task-gantt2.js +2 -2
- package/dist/components/kup-task-list-header2.js +8 -8
- package/dist/components/kup-task-list-table2.js +2 -2
- package/dist/components/kup-task-list2.js +2 -2
- package/dist/components/kup-tooltip2.js +2 -2
- package/dist/components/kup-vertical-scroll2.js +3 -3
- package/dist/esm/{f-button-90a7ea86.js → f-button-1eebd42e.js} +2 -2
- package/dist/esm/{f-cell-fdd338c5.js → f-cell-af19d5c7.js} +31 -9
- package/dist/esm/{f-checkbox-fdf27ce9.js → f-checkbox-ddb6234e.js} +1 -1
- package/dist/esm/{f-chip-4e6341a6.js → f-chip-9e5fdb25.js} +3 -3
- package/dist/esm/{f-image-5210f0b3.js → f-image-1e1ed567.js} +2 -2
- package/dist/esm/{f-paginator-utils-3f179999.js → f-paginator-utils-dede029b.js} +7 -4
- package/dist/esm/{f-text-field-8429a853.js → f-text-field-802b45fb.js} +2 -2
- package/dist/esm/{index-bbef9f2a.js → index-460631fd.js} +21 -26
- package/dist/esm/index.js +3 -3
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +5 -5
- package/dist/esm/kup-autocomplete_27.entry.js +86 -85
- package/dist/esm/kup-box.entry.js +60 -20
- package/dist/esm/kup-calendar.entry.js +7 -7
- package/dist/esm/kup-card-list.entry.js +4 -4
- package/dist/esm/kup-cell.entry.js +10 -10
- package/dist/esm/kup-custom-task-list-header_4.entry.js +13 -13
- package/dist/esm/kup-dashboard.entry.js +8 -8
- package/dist/esm/{kup-dates-172954df.js → kup-dates-26a56bf7.js} +45 -9
- package/dist/esm/kup-drawer.entry.js +4 -4
- package/dist/esm/kup-echart.entry.js +4 -4
- package/dist/esm/kup-editor.entry.js +3 -3
- package/dist/esm/kup-family-tree.entry.js +6 -6
- package/dist/esm/kup-gantt_10.entry.js +37 -31
- package/dist/esm/kup-grid.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +4 -4
- package/dist/esm/kup-image-list.entry.js +138 -50
- package/dist/esm/kup-input-panel.entry.js +294 -0
- package/dist/esm/kup-lazy.entry.js +15 -15
- package/dist/esm/kup-magic-box.entry.js +8 -8
- package/dist/esm/{kup-manager-8b39f876.js → kup-manager-dd24fb5a.js} +639 -33
- package/dist/esm/kup-nav-bar.entry.js +5 -5
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-pdf.entry.js +76596 -0
- package/dist/esm/kup-photo-frame.entry.js +6 -6
- package/dist/esm/{kup-planner-renderer-helper-5d97e075.js → kup-planner-renderer-helper-b4727e44.js} +3 -23
- package/dist/esm/kup-planner-renderer.entry.js +13 -6
- package/dist/esm/kup-planner.entry.js +12 -6
- package/dist/esm/kup-probe.entry.js +4 -4
- package/dist/esm/kup-qlik.entry.js +5 -5
- package/dist/esm/kup-snackbar.entry.js +7 -7
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-14943de9.entry.js +1 -0
- package/dist/ketchup/p-158076de.entry.js +1 -0
- package/dist/ketchup/p-180cd7ab.entry.js +1 -0
- package/dist/ketchup/p-19a13672.entry.js +1 -0
- package/dist/ketchup/p-201f8d7b.entry.js +1 -0
- package/dist/ketchup/p-26d42b88.entry.js +1 -0
- package/dist/ketchup/{p-35d503e2.js → p-2d4a9235.js} +1 -1
- package/dist/ketchup/p-2e04042b.entry.js +1 -0
- package/dist/ketchup/{p-4c20fefd.entry.js → p-34d70475.entry.js} +1 -1
- package/dist/ketchup/p-3b544027.entry.js +1 -0
- package/dist/ketchup/{p-82694fad.entry.js → p-43ce397b.entry.js} +1 -1
- package/dist/ketchup/p-47040db6.js +2 -0
- package/dist/ketchup/p-489af77f.entry.js +1 -0
- package/dist/ketchup/{p-4eb70dd2.entry.js → p-4f69f6f9.entry.js} +4 -4
- package/dist/ketchup/{p-5e16c9d3.js → p-61e8d573.js} +1 -1
- package/dist/ketchup/p-636be6f1.entry.js +16 -0
- package/dist/ketchup/p-63c141d9.entry.js +1 -0
- package/dist/ketchup/p-6972fa0c.entry.js +1 -0
- package/dist/ketchup/{p-86f9b0d9.js → p-6c888179.js} +1 -1
- package/dist/ketchup/p-79f4dc5b.entry.js +1 -0
- package/dist/ketchup/p-818e61d5.entry.js +1 -0
- package/dist/ketchup/p-8229b97a.js +28 -0
- package/dist/ketchup/p-8f3d400a.entry.js +44 -0
- package/dist/ketchup/{p-f9766625.js → p-8fcdf454.js} +1 -1
- package/dist/ketchup/p-a2e14d8b.entry.js +1 -0
- package/dist/ketchup/p-a2e691b8.entry.js +9 -0
- package/dist/ketchup/p-a46f99d4.js +1 -0
- package/dist/ketchup/p-b238cde7.entry.js +1 -0
- package/dist/ketchup/p-b3b50bb5.entry.js +1 -0
- package/dist/ketchup/{p-c089b961.js → p-c0f660d6.js} +1 -1
- package/dist/ketchup/{p-ee30e274.entry.js → p-cd7fec02.entry.js} +1 -1
- package/dist/ketchup/p-dcf7e9b6.entry.js +1 -0
- package/dist/ketchup/p-e0e47ca9.entry.js +1 -0
- package/dist/ketchup/{p-dc18691c.js → p-e2bf2bb6.js} +1 -1
- package/dist/ketchup/{p-2778f948.js → p-e4c63684.js} +1 -1
- package/dist/ketchup/p-e7507dd6.entry.js +1 -0
- package/dist/ketchup/p-eb8ea3a6.js +1 -0
- package/dist/ketchup/p-f998ff28.entry.js +1 -0
- package/dist/ketchup/p-f9a7c21c.entry.js +1 -0
- package/dist/types/components/kup-box/kup-box.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +4 -0
- package/dist/types/components/kup-image-list/kup-image-list-declarations.d.ts +19 -4
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +13 -11
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +79 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +67 -0
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +7 -0
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +42 -0
- package/dist/types/components/kup-planner/kup-planner.d.ts +1 -0
- package/dist/types/components/kup-planner/utils/kup-gantt/kup-gantt.d.ts +4 -0
- package/dist/types/components/kup-planner/utils/kup-planner-renderer.d.ts +6 -0
- package/dist/types/components.d.ts +202 -8
- package/dist/types/f-components/f-image/f-image-declarations.d.ts +3 -4
- package/dist/types/managers/kup-dates/kup-dates.d.ts +2 -2
- package/dist/types/managers/kup-interact/kup-interact.d.ts +5 -0
- package/dist/types/types/GenericTypes.d.ts +1 -0
- package/package.json +2 -1
- package/dist/ketchup/p-02820c2b.entry.js +0 -1
- package/dist/ketchup/p-09d853c3.entry.js +0 -1
- package/dist/ketchup/p-14e1a36b.entry.js +0 -1
- package/dist/ketchup/p-1936c6cd.entry.js +0 -1
- package/dist/ketchup/p-1ad7fea0.js +0 -2
- package/dist/ketchup/p-318c9ecd.entry.js +0 -1
- package/dist/ketchup/p-35dce86e.entry.js +0 -1
- package/dist/ketchup/p-3c9ac0fd.entry.js +0 -1
- package/dist/ketchup/p-5739cdc2.entry.js +0 -1
- package/dist/ketchup/p-5ab3a88a.entry.js +0 -1
- package/dist/ketchup/p-6780a391.js +0 -1
- package/dist/ketchup/p-67930d7c.entry.js +0 -1
- package/dist/ketchup/p-6953f769.entry.js +0 -1
- package/dist/ketchup/p-7d2fd8bd.entry.js +0 -1
- package/dist/ketchup/p-8257141a.entry.js +0 -1
- package/dist/ketchup/p-8ea68d14.entry.js +0 -1
- package/dist/ketchup/p-98c72335.entry.js +0 -1
- package/dist/ketchup/p-ab8cac45.entry.js +0 -1
- package/dist/ketchup/p-b5d3c24d.entry.js +0 -1
- package/dist/ketchup/p-cdb24584.entry.js +0 -1
- package/dist/ketchup/p-d466d6d1.entry.js +0 -1
- package/dist/ketchup/p-de07d17e.js +0 -1
- package/dist/ketchup/p-df450df9.entry.js +0 -16
- package/dist/ketchup/p-f31530fc.js +0 -28
- package/dist/ketchup/p-f353805e.entry.js +0 -1
- package/dist/ketchup/p-f515308d.entry.js +0 -9
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, F as FCellTypes } from './kup-manager.js';
|
|
3
|
+
import { N as FTextFieldMDC, c as componentWrapperId, R as FButton, J as FCell, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
4
|
+
|
|
5
|
+
var KupInputPanelProps;
|
|
6
|
+
(function (KupInputPanelProps) {
|
|
7
|
+
KupInputPanelProps["customStyle"] = "Custom style of the component.";
|
|
8
|
+
KupInputPanelProps["data"] = "Actual data of the input panel.";
|
|
9
|
+
KupInputPanelProps["hiddenSubmitButton"] = "Creates a hidden submit button in order to submit the form with enter.";
|
|
10
|
+
KupInputPanelProps["submitCb"] = "Sets the callback function on submit form";
|
|
11
|
+
KupInputPanelProps["valueChangeCb"] = "Sets the callback function on value change event";
|
|
12
|
+
})(KupInputPanelProps || (KupInputPanelProps = {}));
|
|
13
|
+
|
|
14
|
+
const kupInputPanelCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.input-panel .f-cell .f-checkbox .checkbox .checkbox__native-control{height:40px;width:40px}";
|
|
15
|
+
const KupInputPanelStyle0 = kupInputPanelCss;
|
|
16
|
+
|
|
17
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
18
|
+
if (kind === "a" && !f)
|
|
19
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
20
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
21
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
22
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
23
|
+
};
|
|
24
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_mapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter;
|
|
25
|
+
const dom = document.documentElement;
|
|
26
|
+
const KupInputPanel$1 = /*@__PURE__*/ proxyCustomElement(class KupInputPanel extends HTMLElement {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
this.__registerHost();
|
|
30
|
+
this.__attachShadow();
|
|
31
|
+
this.kupReady = createEvent(this, "kup-input-panel-ready", 6);
|
|
32
|
+
_KupInputPanel_instances.add(this);
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region VARIABLES
|
|
35
|
+
/*-------------------------------------------------*/
|
|
36
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
37
|
+
/*-------------------------------------------------*/
|
|
38
|
+
_KupInputPanel_kupManager.set(this, kupManagerInstance());
|
|
39
|
+
this.customStyle = '';
|
|
40
|
+
this.data = null;
|
|
41
|
+
this.hiddenSubmitButton = false;
|
|
42
|
+
this.submitCb = null;
|
|
43
|
+
this.handleEventsCallbacks = [];
|
|
44
|
+
this.inputPanelCells = [];
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region WATCHERS
|
|
48
|
+
/*-------------------------------------------------*/
|
|
49
|
+
/* W a t c h e r s */
|
|
50
|
+
/*-------------------------------------------------*/
|
|
51
|
+
onDataChanged() {
|
|
52
|
+
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
|
|
53
|
+
}
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region PUBLIC METHODS
|
|
56
|
+
/*-------------------------------------------------*/
|
|
57
|
+
/* P u b l i c M e t h o d s */
|
|
58
|
+
/*-------------------------------------------------*/
|
|
59
|
+
/**
|
|
60
|
+
* Used to retrieve component's props values.
|
|
61
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
62
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
63
|
+
*/
|
|
64
|
+
async getProps(descriptions) {
|
|
65
|
+
return getProps(this, KupInputPanelProps, descriptions);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* This method is used to trigger a new render of the component.
|
|
69
|
+
*/
|
|
70
|
+
async refresh() {
|
|
71
|
+
forceUpdate(this);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Sets the props to the component.
|
|
75
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
76
|
+
*/
|
|
77
|
+
async setProps(props) {
|
|
78
|
+
setProps(this, KupInputPanelProps, props);
|
|
79
|
+
}
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region LIFECYCLE HOOKS
|
|
82
|
+
/*-------------------------------------------------*/
|
|
83
|
+
/* L i f e c y c l e H o o k s */
|
|
84
|
+
/*-------------------------------------------------*/
|
|
85
|
+
componentWillLoad() {
|
|
86
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, false);
|
|
87
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.register(this);
|
|
88
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.register(this);
|
|
89
|
+
this.onDataChanged();
|
|
90
|
+
}
|
|
91
|
+
componentDidLoad() {
|
|
92
|
+
this.kupReady.emit({ comp: this, id: this.rootElement.id });
|
|
93
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logLoad(this, true);
|
|
94
|
+
this.handleEventsCallbacks.map((cbData) => {
|
|
95
|
+
this.rootElement.addEventListener(cbData.eventName, (e) => {
|
|
96
|
+
const inputPanelEvent = {
|
|
97
|
+
state: this.inputPanelCells.find((data) => data.cells.find((cell) => cell.column.name === e.detail.id)).cells,
|
|
98
|
+
data: {
|
|
99
|
+
field: e.detail.id,
|
|
100
|
+
value: e.detail.inputValue || e.detail.value,
|
|
101
|
+
},
|
|
102
|
+
};
|
|
103
|
+
cbData.eventCallback(inputPanelEvent);
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
componentWillRender() {
|
|
108
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, false);
|
|
109
|
+
}
|
|
110
|
+
componentDidRender() {
|
|
111
|
+
const root = this.rootElement.shadowRoot;
|
|
112
|
+
if (root) {
|
|
113
|
+
const fs = root.querySelectorAll('.f-text-field');
|
|
114
|
+
for (let index = 0; index < fs.length; index++) {
|
|
115
|
+
FTextFieldMDC(fs[index]);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").debug.logRender(this, true);
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
const isEmptyData = Boolean(!this.inputPanelCells.length);
|
|
122
|
+
const inputPanelContent = isEmptyData
|
|
123
|
+
? [
|
|
124
|
+
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
125
|
+
]
|
|
126
|
+
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
127
|
+
return (h(Host, { key: '47b1cbfae920b48873c3c5c5629ed1d9f4ac7290' }, h("style", { key: 'd48cfa1e1f470e9b991745ef30ebc236c6399b98' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '257d3d98795b32e59abee2c5aa8be341880f37be', id: componentWrapperId }, inputPanelContent)));
|
|
128
|
+
}
|
|
129
|
+
disconnectedCallback() {
|
|
130
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
131
|
+
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.unregister(this);
|
|
132
|
+
}
|
|
133
|
+
get rootElement() { return this; }
|
|
134
|
+
static get watchers() { return {
|
|
135
|
+
"data": ["onDataChanged"]
|
|
136
|
+
}; }
|
|
137
|
+
static get style() { return KupInputPanelStyle0; }
|
|
138
|
+
}, [1, "kup-input-panel", {
|
|
139
|
+
"customStyle": [1, "custom-style"],
|
|
140
|
+
"data": [16],
|
|
141
|
+
"hiddenSubmitButton": [4, "hidden-submit-button"],
|
|
142
|
+
"submitCb": [16],
|
|
143
|
+
"handleEventsCallbacks": [16],
|
|
144
|
+
"inputPanelCells": [32],
|
|
145
|
+
"getProps": [64],
|
|
146
|
+
"refresh": [64],
|
|
147
|
+
"setProps": [64]
|
|
148
|
+
}, undefined, {
|
|
149
|
+
"data": ["onDataChanged"]
|
|
150
|
+
}]);
|
|
151
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_renderRow = function _KupInputPanel_renderRow(inputPanelCell) {
|
|
152
|
+
var _a;
|
|
153
|
+
// todo layout
|
|
154
|
+
const horizontal = ((_a = inputPanelCell.row.layout) === null || _a === void 0 ? void 0 : _a.horizontal) || false;
|
|
155
|
+
const rowContent = inputPanelCell.cells.map((cell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, cell.cell, inputPanelCell.row, cell.column));
|
|
156
|
+
const classObj = {
|
|
157
|
+
form: true,
|
|
158
|
+
'input-panel': true,
|
|
159
|
+
'form--column': !horizontal,
|
|
160
|
+
};
|
|
161
|
+
// We create a form for each row in data
|
|
162
|
+
return (h("form", { class: classObj, name: this.rootElement.id, onSubmit: this.submitCb }, rowContent, this.hiddenSubmitButton ? (h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit" })) : null));
|
|
163
|
+
}, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
|
|
164
|
+
const cellProps = {
|
|
165
|
+
cell,
|
|
166
|
+
column,
|
|
167
|
+
row,
|
|
168
|
+
component: this,
|
|
169
|
+
editable: cell.isEditable,
|
|
170
|
+
renderKup: true,
|
|
171
|
+
setSizes: true,
|
|
172
|
+
};
|
|
173
|
+
return h(FCell, Object.assign({}, cellProps));
|
|
174
|
+
}, _KupInputPanel_mapCells = function _KupInputPanel_mapCells(data) {
|
|
175
|
+
var _a;
|
|
176
|
+
const inpuPanelCells = ((_a = data === null || data === void 0 ? void 0 : data.rows) === null || _a === void 0 ? void 0 : _a.length)
|
|
177
|
+
? data.rows.reduce((inpuPanelCells, row) => {
|
|
178
|
+
const cells = data.columns
|
|
179
|
+
.filter((column) => column.visible)
|
|
180
|
+
.map((column) => {
|
|
181
|
+
const cell = row.cells[column.name];
|
|
182
|
+
const mappedCell = Object.assign(Object.assign({}, cell), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column)), { id: column.name }), slotData: __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_slotData).call(this, cell, column), isEditable: cell.editable });
|
|
183
|
+
return { column, cell: mappedCell };
|
|
184
|
+
});
|
|
185
|
+
return [...inpuPanelCells, { cells, row }];
|
|
186
|
+
}, [])
|
|
187
|
+
: [];
|
|
188
|
+
this.inputPanelCells = inpuPanelCells;
|
|
189
|
+
}, _KupInputPanel_mapData = function _KupInputPanel_mapData(cell, col) {
|
|
190
|
+
const options = cell.options;
|
|
191
|
+
const fieldLabel = col.title;
|
|
192
|
+
const currentValue = cell.value;
|
|
193
|
+
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
194
|
+
const dataAdapterMap = new Map([
|
|
195
|
+
[FCellTypes.AUTOCOMPLETE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
|
|
196
|
+
[FCellTypes.BUTTON_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_BTNAdapter)],
|
|
197
|
+
[FCellTypes.CHART, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_GRAAdapter)],
|
|
198
|
+
[FCellTypes.CHIP, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHIAdapter)],
|
|
199
|
+
[FCellTypes.CHECKBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CHKAdapter)],
|
|
200
|
+
[FCellTypes.COLOR_PICKER, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CLPAdapter)],
|
|
201
|
+
[FCellTypes.COMBOBOX, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter)],
|
|
202
|
+
[FCellTypes.RADIO, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_RADAdapter)],
|
|
203
|
+
[FCellTypes.STRING, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ITXAdapter)],
|
|
204
|
+
]);
|
|
205
|
+
const adapter = dataAdapterMap.get(cellType);
|
|
206
|
+
return adapter ? adapter(options, fieldLabel, currentValue) : null;
|
|
207
|
+
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
208
|
+
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
209
|
+
if (cellType !== FCellTypes.CHIP &&
|
|
210
|
+
cellType !== FCellTypes.MULTI_AUTOCOMPLETE &&
|
|
211
|
+
cellType !== FCellTypes.MULTI_COMBOBOX &&
|
|
212
|
+
!cell.editable) {
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
return {
|
|
216
|
+
trailingIcon: true,
|
|
217
|
+
label: col.title,
|
|
218
|
+
};
|
|
219
|
+
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(options, _fieldLabel, currentValue) {
|
|
220
|
+
return {
|
|
221
|
+
data: (options === null || options === void 0 ? void 0 : options.length)
|
|
222
|
+
? options.map((option) => ({
|
|
223
|
+
value: option.label,
|
|
224
|
+
id: option.id,
|
|
225
|
+
selected: currentValue === option.id,
|
|
226
|
+
}))
|
|
227
|
+
: [{ id: currentValue, value: currentValue }],
|
|
228
|
+
};
|
|
229
|
+
}, _KupInputPanel_GRAAdapter = function _KupInputPanel_GRAAdapter() {
|
|
230
|
+
//TODO: definire mapping
|
|
231
|
+
return {
|
|
232
|
+
data: {
|
|
233
|
+
sizeX: '50px',
|
|
234
|
+
offlineMode: {
|
|
235
|
+
value: '8;4;5',
|
|
236
|
+
},
|
|
237
|
+
id: 'i1012_GREF_0',
|
|
238
|
+
cellId: 'i1012_GREF_0',
|
|
239
|
+
sizeY: '50px',
|
|
240
|
+
},
|
|
241
|
+
};
|
|
242
|
+
}, _KupInputPanel_BTNAdapter = function _KupInputPanel_BTNAdapter(_options, _fieldLabel, _currentValue) {
|
|
243
|
+
//TODO: come gestire i button list dal protocollo?
|
|
244
|
+
return {
|
|
245
|
+
data: [
|
|
246
|
+
{
|
|
247
|
+
data: { dropdownOnly: false, label: 'Pier' },
|
|
248
|
+
},
|
|
249
|
+
{ data: { dropdownOnly: false, label: 'Valerio' } },
|
|
250
|
+
],
|
|
251
|
+
};
|
|
252
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(options, fieldLabel, currentValue) {
|
|
253
|
+
return {
|
|
254
|
+
data: {
|
|
255
|
+
'kup-text-field': {
|
|
256
|
+
trailingIcon: true,
|
|
257
|
+
label: fieldLabel,
|
|
258
|
+
icon: 'arrow_drop_down',
|
|
259
|
+
},
|
|
260
|
+
'kup-list': {
|
|
261
|
+
showIcons: true,
|
|
262
|
+
data: (options === null || options === void 0 ? void 0 : options.length)
|
|
263
|
+
? options.map((option) => ({
|
|
264
|
+
value: option.label,
|
|
265
|
+
id: option.id,
|
|
266
|
+
selected: currentValue === option.id,
|
|
267
|
+
}))
|
|
268
|
+
: [],
|
|
269
|
+
},
|
|
270
|
+
},
|
|
271
|
+
label: fieldLabel,
|
|
272
|
+
};
|
|
273
|
+
}, _KupInputPanel_CHKAdapter = function _KupInputPanel_CHKAdapter(_options, fieldLabel, currentValue) {
|
|
274
|
+
return {
|
|
275
|
+
checked: currentValue === 'on' || currentValue === '1',
|
|
276
|
+
label: fieldLabel,
|
|
277
|
+
};
|
|
278
|
+
}, _KupInputPanel_CLPAdapter = function _KupInputPanel_CLPAdapter(_options, fieldLabel, _currentValue) {
|
|
279
|
+
return {
|
|
280
|
+
data: {
|
|
281
|
+
'kup-text-field': {
|
|
282
|
+
label: fieldLabel,
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
};
|
|
286
|
+
}, _KupInputPanel_ITXAdapter = function _KupInputPanel_ITXAdapter(_options, fieldLabel, _currentValue) {
|
|
287
|
+
return { label: fieldLabel };
|
|
288
|
+
}, _KupInputPanel_RADAdapter = function _KupInputPanel_RADAdapter(options, _fieldLabel, currentValue) {
|
|
289
|
+
return {
|
|
290
|
+
data: options.map((option) => ({
|
|
291
|
+
value: option.id,
|
|
292
|
+
label: option.label,
|
|
293
|
+
checked: option.id === currentValue,
|
|
294
|
+
})),
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
function defineCustomElement$1() {
|
|
298
|
+
if (typeof customElements === "undefined") {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const components = ["kup-input-panel", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
302
|
+
components.forEach(tagName => { switch (tagName) {
|
|
303
|
+
case "kup-input-panel":
|
|
304
|
+
if (!customElements.get(tagName)) {
|
|
305
|
+
customElements.define(tagName, KupInputPanel$1);
|
|
306
|
+
}
|
|
307
|
+
break;
|
|
308
|
+
case "kup-autocomplete":
|
|
309
|
+
if (!customElements.get(tagName)) {
|
|
310
|
+
defineCustomElement$s();
|
|
311
|
+
}
|
|
312
|
+
break;
|
|
313
|
+
case "kup-badge":
|
|
314
|
+
if (!customElements.get(tagName)) {
|
|
315
|
+
defineCustomElement$r();
|
|
316
|
+
}
|
|
317
|
+
break;
|
|
318
|
+
case "kup-button":
|
|
319
|
+
if (!customElements.get(tagName)) {
|
|
320
|
+
defineCustomElement$q();
|
|
321
|
+
}
|
|
322
|
+
break;
|
|
323
|
+
case "kup-button-list":
|
|
324
|
+
if (!customElements.get(tagName)) {
|
|
325
|
+
defineCustomElement$p();
|
|
326
|
+
}
|
|
327
|
+
break;
|
|
328
|
+
case "kup-card":
|
|
329
|
+
if (!customElements.get(tagName)) {
|
|
330
|
+
defineCustomElement$o();
|
|
331
|
+
}
|
|
332
|
+
break;
|
|
333
|
+
case "kup-chart":
|
|
334
|
+
if (!customElements.get(tagName)) {
|
|
335
|
+
defineCustomElement$n();
|
|
336
|
+
}
|
|
337
|
+
break;
|
|
338
|
+
case "kup-checkbox":
|
|
339
|
+
if (!customElements.get(tagName)) {
|
|
340
|
+
defineCustomElement$m();
|
|
341
|
+
}
|
|
342
|
+
break;
|
|
343
|
+
case "kup-chip":
|
|
344
|
+
if (!customElements.get(tagName)) {
|
|
345
|
+
defineCustomElement$l();
|
|
346
|
+
}
|
|
347
|
+
break;
|
|
348
|
+
case "kup-color-picker":
|
|
349
|
+
if (!customElements.get(tagName)) {
|
|
350
|
+
defineCustomElement$k();
|
|
351
|
+
}
|
|
352
|
+
break;
|
|
353
|
+
case "kup-combobox":
|
|
354
|
+
if (!customElements.get(tagName)) {
|
|
355
|
+
defineCustomElement$j();
|
|
356
|
+
}
|
|
357
|
+
break;
|
|
358
|
+
case "kup-data-table":
|
|
359
|
+
if (!customElements.get(tagName)) {
|
|
360
|
+
defineCustomElement$i();
|
|
361
|
+
}
|
|
362
|
+
break;
|
|
363
|
+
case "kup-date-picker":
|
|
364
|
+
if (!customElements.get(tagName)) {
|
|
365
|
+
defineCustomElement$h();
|
|
366
|
+
}
|
|
367
|
+
break;
|
|
368
|
+
case "kup-dialog":
|
|
369
|
+
if (!customElements.get(tagName)) {
|
|
370
|
+
defineCustomElement$g();
|
|
371
|
+
}
|
|
372
|
+
break;
|
|
373
|
+
case "kup-dropdown-button":
|
|
374
|
+
if (!customElements.get(tagName)) {
|
|
375
|
+
defineCustomElement$f();
|
|
376
|
+
}
|
|
377
|
+
break;
|
|
378
|
+
case "kup-form":
|
|
379
|
+
if (!customElements.get(tagName)) {
|
|
380
|
+
defineCustomElement$e();
|
|
381
|
+
}
|
|
382
|
+
break;
|
|
383
|
+
case "kup-gauge":
|
|
384
|
+
if (!customElements.get(tagName)) {
|
|
385
|
+
defineCustomElement$d();
|
|
386
|
+
}
|
|
387
|
+
break;
|
|
388
|
+
case "kup-image":
|
|
389
|
+
if (!customElements.get(tagName)) {
|
|
390
|
+
defineCustomElement$c();
|
|
391
|
+
}
|
|
392
|
+
break;
|
|
393
|
+
case "kup-list":
|
|
394
|
+
if (!customElements.get(tagName)) {
|
|
395
|
+
defineCustomElement$b();
|
|
396
|
+
}
|
|
397
|
+
break;
|
|
398
|
+
case "kup-progress-bar":
|
|
399
|
+
if (!customElements.get(tagName)) {
|
|
400
|
+
defineCustomElement$a();
|
|
401
|
+
}
|
|
402
|
+
break;
|
|
403
|
+
case "kup-radio":
|
|
404
|
+
if (!customElements.get(tagName)) {
|
|
405
|
+
defineCustomElement$9();
|
|
406
|
+
}
|
|
407
|
+
break;
|
|
408
|
+
case "kup-rating":
|
|
409
|
+
if (!customElements.get(tagName)) {
|
|
410
|
+
defineCustomElement$8();
|
|
411
|
+
}
|
|
412
|
+
break;
|
|
413
|
+
case "kup-spinner":
|
|
414
|
+
if (!customElements.get(tagName)) {
|
|
415
|
+
defineCustomElement$7();
|
|
416
|
+
}
|
|
417
|
+
break;
|
|
418
|
+
case "kup-switch":
|
|
419
|
+
if (!customElements.get(tagName)) {
|
|
420
|
+
defineCustomElement$6();
|
|
421
|
+
}
|
|
422
|
+
break;
|
|
423
|
+
case "kup-tab-bar":
|
|
424
|
+
if (!customElements.get(tagName)) {
|
|
425
|
+
defineCustomElement$5();
|
|
426
|
+
}
|
|
427
|
+
break;
|
|
428
|
+
case "kup-text-field":
|
|
429
|
+
if (!customElements.get(tagName)) {
|
|
430
|
+
defineCustomElement$4();
|
|
431
|
+
}
|
|
432
|
+
break;
|
|
433
|
+
case "kup-time-picker":
|
|
434
|
+
if (!customElements.get(tagName)) {
|
|
435
|
+
defineCustomElement$3();
|
|
436
|
+
}
|
|
437
|
+
break;
|
|
438
|
+
case "kup-tree":
|
|
439
|
+
if (!customElements.get(tagName)) {
|
|
440
|
+
defineCustomElement$2();
|
|
441
|
+
}
|
|
442
|
+
break;
|
|
443
|
+
} });
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
const KupInputPanel = KupInputPanel$1;
|
|
447
|
+
const defineCustomElement = defineCustomElement$1;
|
|
448
|
+
|
|
449
|
+
export { KupInputPanel, defineCustomElement };
|
|
@@ -23,7 +23,7 @@ var KupLazyRender;
|
|
|
23
23
|
KupLazyRender["BOTH"] = "both";
|
|
24
24
|
})(KupLazyRender || (KupLazyRender = {}));
|
|
25
25
|
|
|
26
|
-
const kupLazyCss = ":host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";
|
|
26
|
+
const kupLazyCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_lazy_animation_time:var(--kup-lazy-animation-time, 2s);--kup_lazy_hor_alignment:var(--kup-lazy-hor-alignment, center);--kup_lazy_placeholder_color:var(\n --kup-lazy-placeholder-color,\n var(--kup-icon-color)\n );--kup_lazy_height:var(--kup-lazy-height, 100%);--kup_lazy_ver_alignment:var(--kup-lazy-ver-alignment, center);--kup_lazy_width:var(--kup-lazy-width, 100%);display:block;height:var(--kup_lazy_height);width:var(--kup_lazy_width);position:relative}#kup-component{align-items:var(--kup_lazy_ver_alignment);display:flex;justify-content:var(--kup_lazy_hor_alignment);height:var(--kup_lazy_height);width:var(--kup_lazy_width)}#kup-component>*{height:var(--kup_lazy_height)}#kup-component kup-data-table{min-width:100%}.kup-loaded,.kup-to-be-loaded{height:var(--kup_lazy_height);width:var(--kup_lazy_width)}svg{fill:var(--kup_lazy_placeholder_color);animation:shine ease var(--kup_lazy_animation_time) infinite}@keyframes shine{0%{opacity:0.4}50%{opacity:0.8}100%{opacity:0.4}}:host(.kup-bottom-aligned){--kup-lazy-ver-alignment:flex-end}:host(.kup-left-aligned){--kup-lazy-hor-alignment:flex-start}:host(.kup-right-aligned){--kup-lazy-hor-alignment:flex-end}:host(.kup-top-aligned){--kup-lazy-ver-alignment:flex-start}:host(.kup-to-be-loaded) #kup-component{position:absolute}:host(.kup-to-be-loaded) #kup-component>*{margin:auto}";
|
|
27
27
|
const KupLazyStyle0 = kupLazyCss;
|
|
28
28
|
|
|
29
29
|
const KupLazy$1 = /*@__PURE__*/ proxyCustomElement(class KupLazy extends HTMLElement {
|
|
@@ -135,39 +135,39 @@ const KupLazy$1 = /*@__PURE__*/ proxyCustomElement(class KupLazy extends HTMLEle
|
|
|
135
135
|
switch (this.componentName) {
|
|
136
136
|
case 'kup-button':
|
|
137
137
|
//call_to_action.svg
|
|
138
|
-
resource = (h("svg", { key: '
|
|
138
|
+
resource = (h("svg", { key: 'bca5daf712b40d11abe4f3b1856385844642acf1', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'ab212455b45b78bf981309de350b4b3619a288e9', 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" })));
|
|
139
139
|
break;
|
|
140
140
|
case 'kup-card':
|
|
141
141
|
//art_track.svg
|
|
142
|
-
resource = (h("svg", { key: '
|
|
142
|
+
resource = (h("svg", { key: '1e266ffe7b2568dc6caa45592e86b73c7683cc16', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '14a4eb6f9c5b6772cd26ec29aef7b470e0fe6574', 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" })));
|
|
143
143
|
break;
|
|
144
144
|
case 'kup-checkbox':
|
|
145
145
|
//check_box_outline_blank.svg
|
|
146
|
-
resource = (h("svg", { key: '
|
|
146
|
+
resource = (h("svg", { key: 'd553613ffa5ee60014a4e89cf8e62ace3384f3a4', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'bf5a69068bc1f2142a0d4b451cf3cdceb16d7963', 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" })));
|
|
147
147
|
break;
|
|
148
148
|
case 'kup-chart':
|
|
149
149
|
//chart-bar.svg
|
|
150
|
-
resource = (h("svg", { key: '
|
|
150
|
+
resource = (h("svg", { key: '51f3129e31571f6e7a8faf293a6f3e35ba7524e0', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '19085e9d52b14637127c1bafdb37beb5349d2300', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
151
151
|
break;
|
|
152
152
|
case 'kup-data-table':
|
|
153
153
|
//table-large.svg
|
|
154
|
-
resource = (h("svg", { key: '
|
|
154
|
+
resource = (h("svg", { key: 'f7f187befb900356e7e589b3d169adff21791e35', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '4a53ed7568274a78be593b5ce8cd412747313725', 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" })));
|
|
155
155
|
break;
|
|
156
156
|
case 'kup-image':
|
|
157
157
|
//photo.svg
|
|
158
|
-
resource = (h("svg", { key: '
|
|
158
|
+
resource = (h("svg", { key: '587c27f674e8c3f153c9ed047ed605301a477621', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'e76e9b0410e3375d8d981396fdacc2f2c44dadf1', 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" })));
|
|
159
159
|
break;
|
|
160
160
|
case 'kup-progress-bar':
|
|
161
161
|
//linear_scale.svg
|
|
162
|
-
resource = (h("svg", { key: '
|
|
162
|
+
resource = (h("svg", { key: 'c7e82a2c18827a874acd6b8fe2dbcb4009ab3807', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '291ca07cfeced3bbbc92cb5ae7ac69375b640e22', 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" })));
|
|
163
163
|
break;
|
|
164
164
|
case 'kup-radio':
|
|
165
165
|
//radio_button_unchecked.svg
|
|
166
|
-
resource = (h("svg", { key: '
|
|
166
|
+
resource = (h("svg", { key: 'd2f81e158dc86c4ef74ad7628ac376f7e0eacbe2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'fc4ec71ff460760866b3ad99db0d8cb9b8e3cd3b', 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" })));
|
|
167
167
|
break;
|
|
168
168
|
default:
|
|
169
169
|
//art_track.svg
|
|
170
|
-
resource = (h("svg", { key: '
|
|
170
|
+
resource = (h("svg", { key: '8da82bcc100ef628d5f4bab0a8d28c06841270ca', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'f95db9cad4ee1973048e1a121cf84a8b0ecbce99', 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" })));
|
|
171
171
|
break;
|
|
172
172
|
}
|
|
173
173
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -176,14 +176,14 @@ const KupLazy$1 = /*@__PURE__*/ proxyCustomElement(class KupLazy extends HTMLEle
|
|
|
176
176
|
this.data &&
|
|
177
177
|
this.isInViewport)) {
|
|
178
178
|
let Tag = this.componentName;
|
|
179
|
-
content = (h(Tag, Object.assign({ key: '
|
|
179
|
+
content = (h(Tag, Object.assign({ key: 'af0853700b7bbfdcfd01f500fe303816264b387f' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
180
180
|
className += ' kup-loaded';
|
|
181
181
|
}
|
|
182
182
|
else if (this.showPlaceholder) {
|
|
183
183
|
content = resource;
|
|
184
184
|
className += ' kup-to-be-loaded';
|
|
185
185
|
}
|
|
186
|
-
return (h(Host, { key: '
|
|
186
|
+
return (h(Host, { key: '66562d25373ef498b4b82bc654752c894051ce6b', class: className }, h("style", { key: '7b314d53110ba9310ee1717f3b026da85e95e04d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4e72e07e2acb78b1db0e0a69c8a3424ff14731ff', id: componentWrapperId }, content)));
|
|
187
187
|
}
|
|
188
188
|
disconnectedCallback() {
|
|
189
189
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, o as KupDebugCategory, aj as kupDropEvent, a2 as kupDraggableColumnAttr, ak as kupDraggableRowAttr, a6 as KupDropEventTypes, a as KupThemeColorValues } from './kup-manager.js';
|
|
3
3
|
import { F as FImage, c as componentWrapperId, a3 as FButtonStyling, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$t, B as defineCustomElement$u } from './kup-autocomplete2.js';
|
|
4
4
|
import { d as defineCustomElement$s } from './kup-box2.js';
|
|
5
5
|
import { d as defineCustomElement$f } from './kup-echart2.js';
|
|
@@ -28,7 +28,7 @@ var KupMagicBoxDisplay;
|
|
|
28
28
|
KupMagicBoxDisplay["TREE"] = "Tree";
|
|
29
29
|
})(KupMagicBoxDisplay || (KupMagicBoxDisplay = {}));
|
|
30
30
|
|
|
31
|
-
const kupMagicBoxCss = ":host{background-color:var(--kup-background-color);color:var(--kup-text-color);display:block;height:300px;min-width:700px;width:700px}#kup-component,.magic-box-wrapper{height:100%;width:100%}.magic-box-wrapper{border:3px dashed var(--kup-border-color);box-sizing:border-box;display:flex;flex-direction:column}.actions{align-items:center;background-color:var(--kup-title-background-color);display:inline-flex;height:52px;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.actions kup-button{margin:0.5em}.actions #comp-switcher{margin:auto 0}.actions #close-dialog{position:absolute;margin:0;top:0;right:0;background-color:var(--kup-title-background-color)}.content{box-sizing:border-box;height:100%;margin-top:52px;overflow:auto;transition:background-color 125ms ease}.empty{flex-direction:column;display:flex;text-align:center;justify-content:center;height:100%;width:100%;opacity:0.5;transition:opacity 0.25s ease-out}.empty .f-image{margin:0}.json{font-family:var(--kup-font-family-monospace);margin:0}[kup-drag-over]{background-color:rgba(var(--kup-success-color-rgb), 0.25)}";
|
|
31
|
+
const kupMagicBoxCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{background-color:var(--kup-background-color);color:var(--kup-text-color);display:block;height:300px;min-width:700px;width:700px}#kup-component,.magic-box-wrapper{height:100%;width:100%}.magic-box-wrapper{border:3px dashed var(--kup-border-color);box-sizing:border-box;display:flex;flex-direction:column}.actions{align-items:center;background-color:var(--kup-title-background-color);display:inline-flex;height:52px;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:1}.actions kup-button{margin:0.5em}.actions #comp-switcher{margin:auto 0}.actions #close-dialog{position:absolute;margin:0;top:0;right:0;background-color:var(--kup-title-background-color)}.content{box-sizing:border-box;height:100%;margin-top:52px;overflow:auto;transition:background-color 125ms ease}.empty{flex-direction:column;display:flex;text-align:center;justify-content:center;height:100%;width:100%;opacity:0.5;transition:opacity 0.25s ease-out}.empty .f-image{margin:0}.json{font-family:var(--kup-font-family-monospace);margin:0}[kup-drag-over]{background-color:rgba(var(--kup-success-color-rgb), 0.25)}";
|
|
32
32
|
const KupMagicBoxStyle0 = kupMagicBoxCss;
|
|
33
33
|
|
|
34
34
|
const KupMagicBox$1 = /*@__PURE__*/ proxyCustomElement(class KupMagicBox extends HTMLElement {
|
|
@@ -288,11 +288,11 @@ const KupMagicBox$1 = /*@__PURE__*/ proxyCustomElement(class KupMagicBox extends
|
|
|
288
288
|
this.kupManager.debug.logRender(this, true);
|
|
289
289
|
}
|
|
290
290
|
render() {
|
|
291
|
-
return (h(Host, { key: '
|
|
291
|
+
return (h(Host, { key: '212f73b08fa30db6822a33f61dd8d10fe5e0ae5c' }, h("style", { key: 'bd8dfa094092c2b010867f98d595320d59e120e8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '29d97585aa1a3d0c8680912289153337c2c2a23c', id: componentWrapperId }, h("div", { key: 'fc73991d493f68a37690b4b9d8dbc45ff15e9c1a', class: "magic-box-wrapper" }, h("div", { key: '7f27dcf3a8916ea1007a263cff3a1b835ce39612', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '2f7303dd205ad6411c73e5ec5809632b12d134ca' }, this.comboboxProps())), h("kup-button", { key: 'ef696124673192ca35f7b71138f061c6e09a3f70', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
292
292
|
this.data = null;
|
|
293
|
-
} }), h("kup-button", { key: '
|
|
293
|
+
} }), h("kup-button", { key: '09d63727c8500844e614606d5417f350cb2aebed', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
294
294
|
this.kupManager.hideMagicBox();
|
|
295
|
-
} })), h("div", { key: '
|
|
295
|
+
} })), h("div", { key: 'aaa1d0f9e81041dfa3669bcb1222b937760c49aa', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
296
296
|
}
|
|
297
297
|
disconnectedCallback() {
|
|
298
298
|
this.kupManager.interact.unregister([
|