@sme.up/ketchup 10.3.3 → 10.3.5
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-7a2faf7a.js → f-cell-e5ff9c98.js} +38 -11
- package/dist/cjs/{f-chip-f2d6124b.js → f-chip-f35c1b42.js} +11 -2
- package/dist/cjs/{f-object-field-3810f288.js → f-object-field-04065abd.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3855e84c.js → f-paginator-utils-3ada5c71.js} +1 -1
- package/dist/cjs/{f-text-field-a34a5979.js → f-text-field-0eda27cd.js} +1 -1
- package/dist/cjs/index-c7d441d8.js +2 -6
- package/dist/cjs/index.cjs.js +2 -2
- 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_29.cjs.entry.js → kup-autocomplete_30.cjs.entry.js} +1611 -1179
- package/dist/cjs/kup-box.cjs.entry.js +9 -9
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-f53032e7.js → kup-data-table-helper-0b79fb90.js} +2 -2
- package/dist/cjs/{kup-dates-bc4cf9d0.js → kup-dates-8619368a.js} +3 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +45 -35
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-gantt_10.cjs.entry.js +25 -25
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +3 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +25 -16
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-c70d3188.js → kup-manager-5cdad0f5.js} +42 -16
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-object-field.cjs.entry.js +5 -5
- package/dist/cjs/kup-pdf.cjs.entry.js +3 -3
- package/dist/cjs/{kup-planner-renderer-helper-63478d1c.js → kup-planner-renderer-helper-eaca3f99.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/kup-txt.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/debug.js +9 -2536
- package/dist/collection/assets/editor-example-1.js +27 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +54 -8
- package/dist/collection/components/kup-box/kup-box.css +19 -3
- package/dist/collection/components/kup-chip/kup-chip.js +6 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +23 -1
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +2 -2
- package/dist/collection/components/kup-data-table/kup-data-table.css +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +51 -28
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +44 -34
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-file-upload/kup-file-upload.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.css +4 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +65 -8
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +21 -11
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.js +11 -8
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
- package/dist/collection/f-components/f-cell/f-cell.js +34 -7
- package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +8 -2
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-declarations.js +5 -0
- package/dist/collection/managers/kup-data/kup-data.js +2 -0
- package/dist/collection/managers/kup-dates/kup-dates.js +3 -7
- package/dist/collection/managers/kup-objects/kup-objects.js +1 -1
- package/dist/collection/utils/cell-utils.js +21 -7
- package/dist/collection/utils/filters/filters.js +7 -4
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +25 -20
- package/dist/components/kup-activity-timeline.js +25 -20
- 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 +26 -21
- package/dist/components/kup-card-list.js +27 -22
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +25 -20
- 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-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +25 -20
- 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 +25 -20
- 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 +29 -24
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +26 -21
- package/dist/components/kup-iframe.js +25 -20
- package/dist/components/kup-image-list.js +1 -565
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +46 -32
- package/dist/components/kup-lazy.js +36 -31
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +32 -27
- package/dist/components/kup-nav-bar.js +26 -21
- package/dist/components/kup-numeric-picker.js +26 -21
- package/dist/components/kup-object-field.js +26 -21
- package/dist/components/kup-pdf.js +26 -21
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +47 -42
- package/dist/components/kup-probe.js +26 -21
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +26 -21
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +26 -21
- 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 +26 -21
- package/dist/components/kup-typography-list.js +26 -21
- package/dist/components/kup-typography.js +27 -22
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-7bdb5142.js → p-03924c38.js} +69 -54
- package/dist/components/{p-6992b96f.js → p-28774fba.js} +4 -4
- package/dist/components/{p-de04aef6.js → p-28f24feb.js} +17 -17
- package/dist/components/{p-6bfda249.js → p-33cf89e0.js} +1 -1
- package/dist/components/{p-8472facf.js → p-34ed7a73.js} +2 -2
- package/dist/components/{p-286915d4.js → p-3901ad05.js} +25 -20
- package/dist/components/{p-0e85ab66.js → p-394a36af.js} +3 -3
- package/dist/components/{p-55542b47.js → p-46ec5845.js} +1 -1
- package/dist/components/{p-67ba8cd7.js → p-5579a90c.js} +1 -1
- package/dist/components/{p-c7c7f760.js → p-57a120a5.js} +1 -1
- package/dist/components/{p-c325da75.js → p-5db0bb55.js} +4 -4
- package/dist/components/{p-3b4cdace.js → p-7aa9d49d.js} +7 -7
- package/dist/components/{p-a22e5ee4.js → p-80b94551.js} +25 -20
- package/dist/components/{p-3ba7c133.js → p-89ff2fea.js} +26 -21
- package/dist/components/{p-1581348d.js → p-9d9181cf.js} +3 -7
- package/dist/components/{p-97053b4d.js → p-af0a6cfe.js} +2 -2
- package/dist/components/{p-d0e33e04.js → p-b45eb398.js} +14 -14
- package/dist/components/{p-f2e153e3.js → p-b87bd975.js} +5 -5
- package/dist/components/{p-d7136d08.js → p-d3a8c2ba.js} +2 -2
- package/dist/components/{p-bd3047ee.js → p-daa07bb7.js} +1 -1
- package/dist/components/{p-55fda958.js → p-dd93c5e7.js} +1553 -759
- package/dist/components/{p-9859e801.js → p-df77b97b.js} +43 -17
- package/dist/esm/{f-cell-ae0c965d.js → f-cell-d72f5a9c.js} +38 -11
- package/dist/esm/{f-chip-29242e70.js → f-chip-663db488.js} +11 -2
- package/dist/esm/{f-object-field-75069ac2.js → f-object-field-afe7604f.js} +2 -2
- package/dist/esm/{f-paginator-utils-212f93c3.js → f-paginator-utils-b6924c55.js} +1 -1
- package/dist/esm/{f-text-field-ebe023fb.js → f-text-field-40f1ad00.js} +1 -1
- package/dist/esm/index-9b0f4a0d.js +2 -6
- package/dist/esm/index.js +2 -2
- 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_29.entry.js → kup-autocomplete_30.entry.js} +1611 -1180
- package/dist/esm/kup-box.entry.js +9 -9
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-ca11e6e9.js → kup-data-table-helper-8f020338.js} +2 -2
- package/dist/esm/{kup-dates-da19044e.js → kup-dates-77f1a451.js} +3 -7
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +45 -35
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-gantt_10.entry.js +25 -25
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +3 -3
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +25 -16
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-63a8048f.js → kup-manager-b367be3b.js} +43 -17
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-object-field.entry.js +5 -5
- package/dist/esm/kup-pdf.entry.js +3 -3
- package/dist/esm/{kup-planner-renderer-helper-4952d0a1.js → kup-planner-renderer-helper-373880b5.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/esm/kup-txt.entry.js +3 -3
- package/dist/esm/kup-typography-list.entry.js +3 -3
- package/dist/esm/kup-typography.entry.js +4 -4
- 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-9b200a90.entry.js → p-006b5782.entry.js} +1 -1
- package/dist/ketchup/p-058def11.entry.js +1 -0
- package/dist/ketchup/{p-5bf3d60d.entry.js → p-0666ba27.entry.js} +1 -1
- package/dist/ketchup/{p-b91e3bae.entry.js → p-17b25b3d.entry.js} +1 -1
- package/dist/ketchup/{p-4365fbd3.entry.js → p-26206b66.entry.js} +3 -3
- package/dist/ketchup/{p-bc789017.entry.js → p-26a20d81.entry.js} +1 -1
- package/dist/ketchup/p-2958b4e6.entry.js +8 -0
- package/dist/ketchup/{p-e705eb4a.js → p-2e012afe.js} +1 -1
- package/dist/ketchup/{p-6f1dec16.entry.js → p-32ced542.entry.js} +1 -1
- package/dist/ketchup/{p-6b529a6f.entry.js → p-43bfca60.entry.js} +2 -2
- package/dist/ketchup/{p-11e54526.entry.js → p-4735c623.entry.js} +1 -1
- package/dist/ketchup/{p-8ba1d444.entry.js → p-4af4b7d3.entry.js} +1 -1
- package/dist/ketchup/{p-e7293ae8.entry.js → p-4c8edfb1.entry.js} +1 -1
- package/dist/ketchup/{p-610faea9.js → p-51cc836a.js} +1 -1
- package/dist/ketchup/{p-43f12940.entry.js → p-5bf264dd.entry.js} +1 -1
- package/dist/ketchup/{p-0f9b546a.js → p-5f645f29.js} +1 -1
- package/dist/ketchup/{p-fb7c0958.entry.js → p-62edfd5a.entry.js} +1 -1
- package/dist/ketchup/p-6b185239.entry.js +1 -0
- package/dist/ketchup/{p-a2d40711.entry.js → p-6e6d3296.entry.js} +1 -1
- package/dist/ketchup/{p-260587c5.entry.js → p-75deebdb.entry.js} +1 -1
- package/dist/ketchup/{p-7dfc42f0.entry.js → p-8bc2888a.entry.js} +1 -1
- package/dist/ketchup/p-8be7a37f.js +1 -0
- package/dist/ketchup/{p-9baa1d6d.entry.js → p-928adf93.entry.js} +1 -1
- package/dist/ketchup/{p-434f2c39.entry.js → p-941beedb.entry.js} +1 -1
- package/dist/ketchup/{p-7b326bde.entry.js → p-9c13c092.entry.js} +1 -1
- package/dist/ketchup/{p-b068a383.entry.js → p-9ff4c3e5.entry.js} +1 -1
- package/dist/ketchup/{p-eb090acd.entry.js → p-b0550f15.entry.js} +2 -2
- package/dist/ketchup/p-b39c7a22.js +1 -0
- package/dist/ketchup/{p-c8cd012e.entry.js → p-b9350213.entry.js} +1 -1
- package/dist/ketchup/{p-4677cfd1.entry.js → p-c0928fec.entry.js} +1 -1
- package/dist/ketchup/{p-4cfa35bc.js → p-c109ce22.js} +1 -1
- package/dist/ketchup/{p-d84e4e90.entry.js → p-c2531d28.entry.js} +1 -1
- package/dist/ketchup/{p-1ee561ba.js → p-cabebabc.js} +1 -1
- package/dist/ketchup/p-d49f1a0d.js +1 -0
- package/dist/ketchup/{p-8610d5b5.js → p-d696e519.js} +3 -3
- package/dist/ketchup/{p-3533879b.entry.js → p-def6d8b4.entry.js} +1 -1
- package/dist/ketchup/p-eb771c1b.entry.js +1 -0
- package/dist/ketchup/{p-81743364.entry.js → p-ebf955a8.entry.js} +1 -1
- package/dist/ketchup/{p-f87b7768.entry.js → p-ec1129bf.entry.js} +1 -1
- package/dist/ketchup/{p-fe42ae2d.entry.js → p-f2bfb53c.entry.js} +1 -1
- package/dist/ketchup/{p-6c41cd20.entry.js → p-fac09a35.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +2 -2
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +11 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -4
- package/dist/types/components.d.ts +39 -1
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +5 -1
- package/dist/types/managers/kup-dates/kup-dates.d.ts +2 -2
- package/dist/types/utils/cell-utils.d.ts +1 -1
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +0 -404
- package/dist/esm/kup-image-list.entry.js +0 -400
- package/dist/ketchup/p-102d35b1.js +0 -1
- package/dist/ketchup/p-4a64f9f2.entry.js +0 -1
- package/dist/ketchup/p-5d28e8e0.entry.js +0 -8
- package/dist/ketchup/p-7375d456.js +0 -1
- package/dist/ketchup/p-93541362.entry.js +0 -1
- package/dist/ketchup/p-b6beace3.entry.js +0 -1
- package/dist/ketchup/p-da694791.js +0 -1
- package/dist/ketchup/p-fb82cad9.entry.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, f as forceUpdate, d as getElement, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-
|
|
2
|
+
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-373880b5.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks, c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { e as KUP_PLANNER_MAIN_GANTT_ID } from './kup-planner-declarations-0704bc6c.js';
|
|
5
|
-
import './kup-dates-
|
|
5
|
+
import './kup-dates-77f1a451.js';
|
|
6
6
|
|
|
7
7
|
const kupGanttCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.wrapper{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}.ganttContainer{background:var(--kup-layer-2);border-radius:var(--kup-radius-00);overflow:hidden;padding:var(--kup-space-05)}.ganttVerticalContainer{overflow:hidden;font-size:0;margin:0;padding:0}.horizontalContainer{margin:0;padding:0;overflow:hidden}.horizontalContainerScrollable{overflow:auto !important;scrollbar-width:0}.horizontalContainerScrollable::-webkit-scrollbar{width:0;height:0}.task-gantt{overflow:hidden}";
|
|
8
8
|
const KupGanttStyle0 = kupGanttCss;
|
|
@@ -569,9 +569,9 @@ const KupGantt = class {
|
|
|
569
569
|
TaskListHeader: this.TaskListHeader,
|
|
570
570
|
TaskListTable: this.TaskListTable
|
|
571
571
|
};
|
|
572
|
-
return (h("div", { key: '
|
|
572
|
+
return (h("div", { key: '3a4a7c6dee9d12ef3d089cf9d8b22742f5717a9a', class: "gannt-wrapper-main" }, h("div", { key: '701076ffecda9ec36716dfc676bc830f224ed028', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '1ca42dc7754cb5b7cb6a3088dca8a2e042c2c390', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
573
573
|
this.taskListScrollWidth = width;
|
|
574
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
574
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: 'af6acb22ea4418fd03515ad78193702a54fd4097', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { key: 'd9bd829e352fee2185b7648a78b9373ae4923ede', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: 'acf20f898b951dbd742bb8b82e3548f806707a6d', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { key: 'ddece5a5222b1abfbe971812d3954af363fa195c', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
575
575
|
}
|
|
576
576
|
get rootElement() { return getElement(this); }
|
|
577
577
|
static get watchers() { return {
|
|
@@ -682,20 +682,20 @@ const HorizontalScroll = class {
|
|
|
682
682
|
var _a, _b;
|
|
683
683
|
const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
|
|
684
684
|
const width = +this.listCellWidth.replace('px', '');
|
|
685
|
-
return (h(Fragment, { key: '
|
|
686
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
685
|
+
return (h(Fragment, { key: 'fb206cf716ee8d98be3d4207340a8acf7bb1eabe' }, h("div", { key: 'c064d07c7c591ab138e14fd0ab68f8251460b202', class: "scroll-container" }, this.scrollableTaskList &&
|
|
686
|
+
this.taskListScrollWidth > width && (h("div", { key: '2f97f345f20ba4843e60534d4716b2252b2de297', dir: "ltr", style: {
|
|
687
687
|
margin: this.rtl
|
|
688
688
|
? `0px 20px 0px 20px`
|
|
689
689
|
: `0px 20px 0px 20px`,
|
|
690
690
|
maxWidth: `${width + 20}px`,
|
|
691
691
|
minWidth: `${width + 20}px`,
|
|
692
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
692
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '10644e475d8b633071429046a8c7356942f17db4', style: {
|
|
693
693
|
width: `${this.taskListScrollWidth}px`,
|
|
694
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
694
|
+
}, class: "scroll" }))), h("div", { key: 'b8e0948e0db48509ae98a05d0c148220ece705ff', dir: "ltr", style: {
|
|
695
695
|
margin: this.rtl
|
|
696
696
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
697
697
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
698
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
698
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '72c55a42446f7dd04e94e300ac930dc146162978', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
699
699
|
}
|
|
700
700
|
get rootElement() { return getElement(this); }
|
|
701
701
|
static get watchers() { return {
|
|
@@ -716,7 +716,7 @@ const StandardTooltipContent = class {
|
|
|
716
716
|
this.fontFamily = undefined;
|
|
717
717
|
}
|
|
718
718
|
render() {
|
|
719
|
-
return (h("div", { key: '
|
|
719
|
+
return (h("div", { key: 'e12cbc7242215c9f9e76d3b19ba5b8bbc116e1a7', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: '6239efccbfd8ea790f1cc30ca5c5ed847124e3a0', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: '28ba0cd9397173f011081a0e1b774b6259ded9a8', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'bdacdea774a87ef344f6b07361e53b79cc3e8516', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
StandardTooltipContent.style = KupStandardTooltipStyle0;
|
|
@@ -742,7 +742,7 @@ const KupSwitcher = class {
|
|
|
742
742
|
this.activeButton = mode;
|
|
743
743
|
this.timeUnitChange(mode);
|
|
744
744
|
};
|
|
745
|
-
return (h("div", { key: '
|
|
745
|
+
return (h("div", { key: '21500b455d0cc89aa7c787c372a390dd9711195f', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
746
746
|
button: true,
|
|
747
747
|
buttonActive: this.activeButton === label,
|
|
748
748
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -786,12 +786,12 @@ const TaskGantt = class {
|
|
|
786
786
|
}
|
|
787
787
|
render() {
|
|
788
788
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
789
|
-
return (h("div", { key: '
|
|
789
|
+
return (h("div", { key: 'd73a31dca4e8ee110fe81d77e11a95ff30eb8919', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '7e9379676312c2dd4ee18d0349992d8150fb1f9f', dateSetup: this.calendarProps.dateSetup, locale: this.calendarProps.locale, rtl: this.calendarProps.rtl, headerHeight: this.calendarProps.headerHeight, columnWidth: this.calendarProps.columnWidth, fontFamily: this.calendarProps.fontFamily, fontSize: this.calendarProps.fontSize, dateTimeFormatters: this.calendarProps.dateTimeFormatters, singleLineHeader: this.calendarProps.singleLineHeader, currentDateIndicator: this.calendarProps.currentDateIndicator, svgWidth: this.gridProps.svgWidth }), h("div", { key: '9ddbbe390f6d0f7821f9afd8546fab7daea1de00', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
|
|
790
790
|
? {
|
|
791
791
|
height: `${this.ganttHeight}px`,
|
|
792
792
|
width: `${this.gridProps.svgWidth}px`,
|
|
793
793
|
}
|
|
794
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
794
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '1e862f583de2fc4ced91edd3fcd8c72a21b8a99a' }, newBarProps)))));
|
|
795
795
|
}
|
|
796
796
|
get rootElement() { return getElement(this); }
|
|
797
797
|
static get watchers() { return {
|
|
@@ -891,7 +891,7 @@ const TaskList = class {
|
|
|
891
891
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
892
892
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
893
893
|
}
|
|
894
|
-
return (h("div", { key: '
|
|
894
|
+
return (h("div", { key: 'ccebe0409ed60287db6a04a2c0602fd3dd100c3b', ref: (el) => (this.taskListRef = el) }, TaskListHeader && TaskListHeader['$attrs$'] ? (TaskListHeader) : (h("kup-custom-task-list-header", Object.assign({ label: this.label, doubleView: (_a = this.doubleView) !== null && _a !== void 0 ? _a : false, setDoubleView: this.setDoubleView }, headerProps))), h("div", { key: '69b9fb585a4e13f3a809238f32ed30b0f1d2066a', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
895
895
|
? { height: this.ganttHeight + 'px' }
|
|
896
896
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
897
897
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -940,22 +940,22 @@ const KupTaskListHeader = class {
|
|
|
940
940
|
this.rowWidth = undefined;
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return (h("div", { key: '
|
|
943
|
+
return (h("div", { key: '2d15d2ac7268338cdd3697c21378913ab0f7ca06', class: "ganttTable", style: {
|
|
944
944
|
fontFamily: this.fontFamily,
|
|
945
945
|
fontSize: this.fontSize,
|
|
946
|
-
} }, h("div", { key: '
|
|
946
|
+
} }, h("div", { key: '8203d274e6ceaa4c4ca7410cf722ff2e09af4856', class: "ganttTable_Header", style: {
|
|
947
947
|
height: `${this.headerHeight - 2}px`,
|
|
948
|
-
} }, h("div", { key: '
|
|
948
|
+
} }, h("div", { key: '269a24bec57ec7158593f1674ad29ad842b7cc5e', class: "ganttTable_HeaderItem", style: {
|
|
949
949
|
minWidth: this.rowWidth,
|
|
950
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
950
|
+
} }, "\u00A0Name"), h("div", { key: 'bb01ed8b2439041d3638f8cad9798fce40cf782c', class: "ganttTable_HeaderSeparator", style: {
|
|
951
951
|
height: `${this.headerHeight * 0.5}px`,
|
|
952
952
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
953
|
-
} }), h("div", { key: '
|
|
953
|
+
} }), h("div", { key: '0b1d2221f6d75b5eb0a4775ad8b2c0625694472d', class: "ganttTable_HeaderItem", style: {
|
|
954
954
|
minWidth: this.rowWidth,
|
|
955
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
955
|
+
} }, "\u00A0From"), h("div", { key: '87fdfe2bda942245d663671e5813382290ca4f9f', class: "ganttTable_HeaderSeparator", style: {
|
|
956
956
|
height: `${this.headerHeight * 0.5}px`,
|
|
957
957
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
958
|
-
} }), h("div", { key: '
|
|
958
|
+
} }), h("div", { key: '5ae7fa15b24484a054cd5538066a78ead93ae6c4', class: "ganttTable_HeaderItem", style: {
|
|
959
959
|
minWidth: this.rowWidth,
|
|
960
960
|
} }, "\u00A0To"))));
|
|
961
961
|
}
|
|
@@ -989,7 +989,7 @@ const TaskListTableDefault = class {
|
|
|
989
989
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
990
990
|
}
|
|
991
991
|
render() {
|
|
992
|
-
return (h("div", { key: '
|
|
992
|
+
return (h("div", { key: '2de69b875ef1117ca8ad7588d7ca5b5b3b7bf7df', class: "taskListWrapper", style: {
|
|
993
993
|
fontFamily: this.fontFamily,
|
|
994
994
|
fontSize: this.fontSize,
|
|
995
995
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -1078,7 +1078,7 @@ const Tooltip = class {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
1080
|
render() {
|
|
1081
|
-
return (h("div", { key: '
|
|
1081
|
+
return (h("div", { key: 'b611372ce3d568cb8ba7c59e24aa2eacbf2c161b', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '8309fc4f723bfe6649fd4cf981488fb78a3e5708', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
1082
1082
|
}
|
|
1083
1083
|
get rootElement() { return getElement(this); }
|
|
1084
1084
|
static get watchers() { return {
|
|
@@ -1132,11 +1132,11 @@ const KupVerticalScroll = class {
|
|
|
1132
1132
|
};
|
|
1133
1133
|
}
|
|
1134
1134
|
render() {
|
|
1135
|
-
return (h("div", { key: '
|
|
1135
|
+
return (h("div", { key: 'aaf2623339012ffb223563f273e32bf47c7390f6', style: {
|
|
1136
1136
|
height: `${this.ganttHeight}px`,
|
|
1137
1137
|
marginTop: `${this.headerHeight}px`,
|
|
1138
1138
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
1139
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
1139
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '22b00662319acb2b45838e4f3370aec724577e57', style: {
|
|
1140
1140
|
height: `${this.ganttFullHeight}px`,
|
|
1141
1141
|
width: '1px',
|
|
1142
1142
|
} })));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-b367be3b.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-grid component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-b367be3b.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-htm component.
|
|
@@ -82,7 +82,7 @@ const KupHTM = class {
|
|
|
82
82
|
render() {
|
|
83
83
|
var _a;
|
|
84
84
|
const isLink = __classPrivateFieldGet(this, _KupHTM_instances, "m", _KupHTM_isObjectCompatibleWithHTM).call(this, (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a.obj);
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '5fd7a24633313c182200d98e795cd27938bdd0ed' }, h("style", { key: '283f61604341bc317f9eece1bacdfd6f394d73b6' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2e35f4c034756925be450b15a14b54acd3e496fa', id: componentWrapperId }, h("div", { key: 'a7372f43ada38738eb4134e8feaade2c9db14c13', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
|
|
86
86
|
}
|
|
87
87
|
disconnectedCallback() {
|
|
88
88
|
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
3
|
-
import './kup-dates-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-b367be3b.js';
|
|
3
|
+
import './kup-dates-77f1a451.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-iframe component.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance,
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-d72f5a9c.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-b367be3b.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-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
14
|
-
import './kup-dates-
|
|
11
|
+
import './f-chip-663db488.js';
|
|
12
|
+
import './f-object-field-afe7604f.js';
|
|
13
|
+
import './f-text-field-40f1ad00.js';
|
|
14
|
+
import './kup-dates-77f1a451.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
17
17
|
var KupInputPanelLayoutSectionType;
|
|
@@ -186,7 +186,7 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
186
186
|
}
|
|
187
187
|
return t;
|
|
188
188
|
};
|
|
189
|
-
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
189
|
+
var _KupInputPanel_instances, _KupInputPanel_kupManager, _KupInputPanel_formRef, _KupInputPanel_optionsAdapterMap, _KupInputPanel_originalData, _KupInputPanel_listeners, _KupInputPanel_cellTypeComponents, _KupInputPanel_cellTypesNeedingReset, _KupInputPanel_cellCustomRender, _KupInputPanel_sectionRenderMap, _KupInputPanel_readyPromise, _KupInputPanel_readyResolve, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip;
|
|
190
190
|
const dom = document.documentElement;
|
|
191
191
|
const KupInputPanel = class {
|
|
192
192
|
constructor(hostRef) {
|
|
@@ -397,7 +397,7 @@ const KupInputPanel = class {
|
|
|
397
397
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
398
398
|
]
|
|
399
399
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
400
|
-
return (h(Host, { key: '
|
|
400
|
+
return (h(Host, { key: '84aee3c6ff19b190ecc3251bc42d6fd59f9cbdbe', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
401
401
|
this.tabSelected = e.detail.node.id;
|
|
402
402
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK), "onKup-objectfield-searchpayload": (e) => {
|
|
403
403
|
this.kupInputPanelObjectFieldSearchPayload.emit(e.detail);
|
|
@@ -405,7 +405,7 @@ const KupInputPanel = class {
|
|
|
405
405
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
406
406
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
407
407
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
408
|
-
} }, h("style", { key: '
|
|
408
|
+
} }, h("style", { key: '08b5c082a3f4ab01f62f446a0623a4780c82b809' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '42c1e0de773fd027a920add2cb5a07a179aaab00', id: componentWrapperId }, inputPanelContent)));
|
|
409
409
|
}
|
|
410
410
|
disconnectedCallback() {
|
|
411
411
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -438,7 +438,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
438
438
|
let rowContent;
|
|
439
439
|
if (!((_a = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
440
440
|
rowContent = inputPanelCell.cells
|
|
441
|
-
.filter(({ column }) => column.visible)
|
|
441
|
+
.filter(({ column }) => column.visible !== false)
|
|
442
442
|
.map((cell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, cell.cell, inputPanelCell.row, cell.column));
|
|
443
443
|
}
|
|
444
444
|
else {
|
|
@@ -700,9 +700,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
700
700
|
});
|
|
701
701
|
const tabCustomStyle = '.tab-bar .tab-scroller .tab .tab__content { justify-content: flex-start; }';
|
|
702
702
|
return (h("div", { class: { 'input-panel__tabs_container': true } }, h("kup-tab-bar", { data: tabNodes, customStyle: tabCustomStyle }), sectionContent));
|
|
703
|
+
}, _KupInputPanel_skipRenderField = function _KupInputPanel_skipRenderField(fieldCell) {
|
|
704
|
+
return (!fieldCell || !fieldCell.cell || fieldCell.column.visible === false);
|
|
703
705
|
}, _KupInputPanel_renderField = function _KupInputPanel_renderField(cells, field) {
|
|
704
706
|
const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
|
|
705
|
-
if (
|
|
707
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_skipRenderField).call(this, fieldCell)) {
|
|
706
708
|
return;
|
|
707
709
|
}
|
|
708
710
|
const colSpan = +field.colSpan > 0
|
|
@@ -729,7 +731,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
729
731
|
return (h("div", { style: styleObj }, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderCell).call(this, fieldCell.cell, cells.row, fieldCell.column)));
|
|
730
732
|
}, _KupInputPanel_renderAbsoluteField = function _KupInputPanel_renderAbsoluteField(cells, field, absoluteTblPositioningData) {
|
|
731
733
|
const fieldCell = cells.cells.find((cell) => cell.column.name === field.id);
|
|
732
|
-
if (
|
|
734
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_skipRenderField).call(this, fieldCell)) {
|
|
733
735
|
return;
|
|
734
736
|
}
|
|
735
737
|
let length;
|
|
@@ -820,7 +822,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
820
822
|
}));
|
|
821
823
|
this.inputPanelCells = inpuPanelCells;
|
|
822
824
|
}, _KupInputPanel_setData = function _KupInputPanel_setData(cell, column, layout) {
|
|
823
|
-
const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable, id: column.name });
|
|
825
|
+
const defaultProps = Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, cell, column, layout)), { disabled: !cell.isEditable || column.useAs === UseAsValue.KEY, id: column.name });
|
|
824
826
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
825
827
|
const _a = cell.data || {}, noDataProps = __rest(_a, ["data"]);
|
|
826
828
|
return cellType !== FCellTypes.MULTI_AUTOCOMPLETE &&
|
|
@@ -901,6 +903,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
901
903
|
[FCellTypes.SWITCH, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_SWTAdapter).bind(this)],
|
|
902
904
|
[FCellTypes.TABLE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_DataTableAdapter).bind(this)],
|
|
903
905
|
[FCellTypes.TIME, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_TimeAdapter).bind(this)],
|
|
906
|
+
[FCellTypes.IMAGE_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ImageListAdapter).bind(this)],
|
|
904
907
|
]);
|
|
905
908
|
const adapter = dataAdapterMap.get(cellType);
|
|
906
909
|
return adapter
|
|
@@ -919,7 +922,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
919
922
|
}
|
|
920
923
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
921
924
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
922
|
-
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.isEditable, id: col.name });
|
|
925
|
+
return Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_CMBandACPAdapter).call(this, cell.options, col.title, null, cell)), { showDropDownIcon: true, class: '', style: { width: '100%' }, disabled: !cell.isEditable, id: col.name });
|
|
923
926
|
}
|
|
924
927
|
return null;
|
|
925
928
|
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
@@ -943,7 +946,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
943
946
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
|
|
944
947
|
};
|
|
945
948
|
return Object.assign({ label: cell.value, fun: cell.fun }, cell.data);
|
|
946
|
-
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue) {
|
|
949
|
+
}, _KupInputPanel_CMBandACPAdapter = function _KupInputPanel_CMBandACPAdapter(rawOptions, fieldLabel, currentValue, cell) {
|
|
947
950
|
const configCMandACP = CMBandACPAdapter(currentValue, fieldLabel, []);
|
|
948
951
|
if (rawOptions) {
|
|
949
952
|
configCMandACP.data['kup-list'].data =
|
|
@@ -1001,6 +1004,12 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1001
1004
|
label: fieldLabel || ' ',
|
|
1002
1005
|
value: currentValue || '',
|
|
1003
1006
|
};
|
|
1007
|
+
}, _KupInputPanel_ImageListAdapter = function _KupInputPanel_ImageListAdapter(_options, fieldLabel, currentValue) {
|
|
1008
|
+
return {
|
|
1009
|
+
initialValue: currentValue || '',
|
|
1010
|
+
leadingLabel: fieldLabel || '',
|
|
1011
|
+
value: currentValue || '',
|
|
1012
|
+
};
|
|
1004
1013
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
1005
1014
|
return {
|
|
1006
1015
|
data: {
|
|
@@ -1123,7 +1132,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1123
1132
|
}, _KupInputPanel_getAutocompleteEventCallback = function _KupInputPanel_getAutocompleteEventCallback(detail, cell) {
|
|
1124
1133
|
this.optionsHandler(cell.fun, detail.inputValue, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_reverseMapCells).call(this), detail.id).then((options) => {
|
|
1125
1134
|
var _a, _b, _c, _d, _e, _f;
|
|
1126
|
-
const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) === null || _a === void 0 ? void 0 : _a.filter((col) => (col === null || col === void 0 ? void 0 : col.visible)
|
|
1135
|
+
const visibleColumns = ((_a = options === null || options === void 0 ? void 0 : options.columns) === null || _a === void 0 ? void 0 : _a.filter((col) => (col === null || col === void 0 ? void 0 : col.visible) !== false).map((col) => col.name)) || [];
|
|
1127
1136
|
const filteredRows = (_b = options === null || options === void 0 ? void 0 : options.rows) === null || _b === void 0 ? void 0 : _b.map((row) => {
|
|
1128
1137
|
const { cells } = row;
|
|
1129
1138
|
const filteredCells = visibleColumns.reduce((acc, columnName) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-b367be3b.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-77f1a451.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-lazy component.
|
|
@@ -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: '5c5d09e1114809cae5e4d04d2810fcbe38919665', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'ef0cc102b4f61b6cb0b6a11b990d8a683d3dadbb', 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: '08418ea5f354cd9703db966a32ba3a2bde766474', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '8575071216916dbd3994f778e3811762c4b1ba14', 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: '830ea284f7a58f781306f46dbe30917cf24f953f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'd76171580d775362c392e3ad8fc00370f9ab7b2f', 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: '81b641d30123794bacaecc19a99f4ec544c84a8e', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '175cb426d36b630d55bcc637d3d5b7e54ce4cede', 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: '15f07a20fc21b25f6faad4a2a7f5afa3b38a1914', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '8880c4646eb4d39529164b920b6c06f6ca9d574c', 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: 'a43bbf16254b87ba99dcd0380fb6dd48d459587e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '37fe8e3e880ad99cd2ce8699062ea7aaf20b8e2e', 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: '3f24c39011fcb687a3ab2887020ed239e66f4127', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '42289a40edc167d2ddb4b99cd80c1343c9904142', 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: '8031d9825c3efdfc622b2026309c499b31619be2', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '60b60ed680daf4a6bfcfca0c1ce55debbff62235', 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: '24bc59869d647844dcbe9f24acd37c661c8dcffd', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '29f284cbe18ac03051367321466d2e369860c66e', 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: '1a843ca9f51d0686f5db923cbfbfbeac4c200105' }, 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: 'd150ddb67a168132fc8127e310f628acc9387cce', class: className }, h("style", { key: '572fb2b794e42339a3d85dc7df73bb59829a4c23' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e355c76efbd00ed487c8f1d20e3ea1de360e93ec', id: componentWrapperId }, content)));
|
|
186
186
|
}
|
|
187
187
|
disconnectedCallback() {
|
|
188
188
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, h as KupDebugCategory, aE as kupDropEvent, W as kupDraggableColumnAttr, aF as kupDraggableRowAttr, _ as KupDropEventTypes, f as KupThemeColorValues } from './kup-manager-b367be3b.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
6
|
-
import './kup-dates-
|
|
6
|
+
import './kup-dates-77f1a451.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Props of the kup-magic-box component.
|
|
@@ -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: 'ab1400184982532a9c66f5691b59e90581811ed3' }, h("style", { key: 'e70719f3dcd21934a6bcef170876001d08f86c2b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '7c2ef2f7de0167abdeb8db6b95aee01bc71a02c8', id: componentWrapperId }, h("div", { key: '9f04dbce690adaa5ec8357f7c4cd232a4c70b817', class: "magic-box-wrapper" }, h("div", { key: '210817229409e555ef8be6e4ed14170045b45e32', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '405e78b90d01859f8f94da213c6e18c06baaa225' }, this.comboboxProps())), h("kup-button", { key: 'b84448e0458719e0df11f05ac369f22651154933', 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: '6559f85d54df97a598c2488ce0743f36d2863c18', 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: 'dafb9aa60bc583fde505fe1b798e94ecbde59277', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
295
295
|
}
|
|
296
296
|
disconnectedCallback() {
|
|
297
297
|
this.kupManager.interact.unregister([
|