@sme.up/ketchup 10.3.7 → 10.3.9
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-bfafefb3.js → f-button-c084046d.js} +1 -1
- package/dist/cjs/{f-cell-5c1b2c66.js → f-cell-2e939ef8.js} +15 -14
- package/dist/cjs/{f-checkbox-aaa6d45c.js → f-checkbox-e59d6bda.js} +3 -3
- package/dist/cjs/{f-chip-b4aebf7c.js → f-chip-b0b4b0d9.js} +2 -2
- package/dist/cjs/{f-image-db10b066.js → f-image-7457eb26.js} +18 -15
- package/dist/cjs/{f-object-field-62195164.js → f-object-field-db5613ef.js} +3 -3
- package/dist/cjs/{f-paginator-utils-54bc1b31.js → f-paginator-utils-2fcf4642.js} +2 -2
- package/dist/cjs/{f-text-field-03e975ad.js → f-text-field-ee6120c5.js} +60 -3
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +527 -229
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +12 -8
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +37 -19
- package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
- package/dist/cjs/{kup-data-table-helper-72dc3004.js → kup-data-table-helper-0705294e.js} +6 -2
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-gantt_10.cjs.entry.js +26 -26
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +6 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +80 -25
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-bb0a1490.js → kup-manager-0ce9fd30.js} +19 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-object-field.cjs.entry.js +6 -6
- package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +8 -4
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +5 -2
- package/dist/collection/components/kup-chip/kup-chip-declarations.js +6 -1
- package/dist/collection/components/kup-chip/kup-chip.js +57 -57
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +5 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +14 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +305 -128
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -8
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +9 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +135 -27
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.css +0 -3
- package/dist/collection/components/kup-htm/kup-htm.js +4 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +9 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +90 -16
- 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/custom-task-list-table.js +30 -12
- 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.css +1 -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.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-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -4
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +5 -1
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +1 -1
- package/dist/collection/f-components/f-image/f-image.js +18 -15
- package/dist/collection/f-components/f-label/f-label.js +4 -7
- package/dist/collection/f-components/f-text-field/f-text-field.js +55 -1
- package/dist/collection/managers/kup-data/kup-data.js +4 -3
- package/dist/collection/managers/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +5 -0
- package/dist/collection/utils/cell-utils.js +1 -1
- package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +2 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +57 -7
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +10 -6
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +7 -4
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +76 -20
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +18 -18
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-9c59685c.js → p-23d0f0c7.js} +2 -2
- package/dist/components/{p-0448c650.js → p-2670bfd5.js} +14 -14
- package/dist/components/{p-072ba014.js → p-5b1056e4.js} +8 -8
- package/dist/components/{p-57069e5c.js → p-767fcf91.js} +1 -1
- package/dist/components/{p-66800070.js → p-7e706919.js} +623 -252
- package/dist/components/{p-970526a0.js → p-85852162.js} +19 -7
- package/dist/components/{p-eee85021.js → p-89b9a949.js} +2 -2
- package/dist/components/{p-47eafd24.js → p-9a502c5d.js} +2 -2
- package/dist/components/{p-bba3ee8c.js → p-9a617844.js} +3 -3
- package/dist/components/{p-73b82fab.js → p-9d13f3da.js} +4 -4
- package/dist/components/{p-5579a90c.js → p-a52b0e92.js} +30 -12
- package/dist/components/{p-f836c3ed.js → p-aa882232.js} +2 -2
- package/dist/components/{p-a70b7f3e.js → p-b057cba1.js} +2 -2
- package/dist/components/{p-78086e86.js → p-bbb25c58.js} +1 -1
- package/dist/components/{p-96d517a7.js → p-bdecbc93.js} +5 -5
- package/dist/components/{p-7fa7072d.js → p-cbc6b3d5.js} +2 -2
- package/dist/components/{p-a6da9edf.js → p-cde4d6c3.js} +4 -4
- package/dist/components/{p-e8d7edaf.js → p-d9bec7c8.js} +2 -2
- package/dist/components/{p-7b80651f.js → p-dc1ce1b4.js} +1 -1
- package/dist/components/{p-a266fbc3.js → p-e72fb07b.js} +2 -2
- package/dist/components/{p-09e09e43.js → p-f9afe0c9.js} +16 -16
- package/dist/esm/{f-button-3c8f4506.js → f-button-6298565d.js} +1 -1
- package/dist/esm/{f-cell-3f9d4de0.js → f-cell-b3f0782c.js} +15 -14
- package/dist/esm/{f-checkbox-5cdd1cad.js → f-checkbox-191ec2e7.js} +3 -3
- package/dist/esm/{f-chip-28fde4c9.js → f-chip-3ed440ef.js} +2 -2
- package/dist/esm/{f-image-a2ecd7c3.js → f-image-96ea1421.js} +18 -15
- package/dist/esm/{f-object-field-24f67438.js → f-object-field-23935da4.js} +3 -3
- package/dist/esm/{f-paginator-utils-3e2a0dcd.js → f-paginator-utils-a9d5c2d3.js} +2 -2
- package/dist/esm/{f-text-field-f64cc53e.js → f-text-field-4934ff74.js} +60 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +527 -229
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +12 -8
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-custom-task-list-header_4.entry.js +37 -19
- package/dist/esm/kup-dashboard.entry.js +5 -5
- package/dist/esm/{kup-data-table-helper-edbee21a.js → kup-data-table-helper-de9421a0.js} +6 -2
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-gantt_10.entry.js +26 -26
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +6 -3
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +80 -25
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-7acd779a.js → kup-manager-5c23bae7.js} +19 -7
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-object-field.entry.js +6 -6
- package/dist/esm/kup-pdf.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -4
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +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-d7bfb6da.entry.js → p-001755a5.entry.js} +1 -1
- package/dist/ketchup/{p-c38d19f9.js → p-02e22635.js} +1 -1
- package/dist/ketchup/p-03d049e3.js +21 -0
- package/dist/ketchup/p-0bb6bfb4.entry.js +1 -0
- package/dist/ketchup/{p-ee752492.entry.js → p-137158e4.entry.js} +1 -1
- package/dist/ketchup/{p-0f3e905b.entry.js → p-143617b6.entry.js} +1 -1
- package/dist/ketchup/{p-98865092.entry.js → p-27f26f4b.entry.js} +1 -1
- package/dist/ketchup/{p-ab5dcfce.entry.js → p-29af64ff.entry.js} +1 -1
- package/dist/ketchup/{p-5c538668.entry.js → p-33a6e698.entry.js} +1 -1
- package/dist/ketchup/{p-00e3a2c7.entry.js → p-424c2f64.entry.js} +1 -1
- package/dist/ketchup/{p-0f78bd11.entry.js → p-4632e407.entry.js} +2 -2
- package/dist/ketchup/{p-001bf9b3.entry.js → p-6741f3f6.entry.js} +1 -1
- package/dist/ketchup/p-687b7642.entry.js +8 -0
- package/dist/ketchup/{p-0a4869d8.entry.js → p-68835d71.entry.js} +1 -1
- package/dist/ketchup/{p-5cdbe34b.entry.js → p-6c1e1780.entry.js} +1 -1
- package/dist/ketchup/{p-05da127e.entry.js → p-6ce64af5.entry.js} +1 -1
- package/dist/ketchup/{p-864d384f.entry.js → p-7775e947.entry.js} +1 -1
- package/dist/ketchup/p-7d25580b.entry.js +1 -0
- package/dist/ketchup/p-95346c81.js +1 -0
- package/dist/ketchup/p-a3394095.js +1 -0
- package/dist/ketchup/{p-a5589352.entry.js → p-a76b0d93.entry.js} +1 -1
- package/dist/ketchup/{p-cb4c3ec6.entry.js → p-ae1f69c7.entry.js} +1 -1
- package/dist/ketchup/{p-92d5502a.entry.js → p-b47dc6ac.entry.js} +1 -1
- package/dist/ketchup/{p-4e8d34ad.entry.js → p-b509455c.entry.js} +1 -1
- package/dist/ketchup/{p-bbdc671b.entry.js → p-b67d94a0.entry.js} +1 -1
- package/dist/ketchup/{p-d643a6b0.entry.js → p-bc75c526.entry.js} +1 -1
- package/dist/ketchup/p-c3eca951.entry.js +16 -0
- package/dist/ketchup/{p-f446a5dd.entry.js → p-cc9d71a7.entry.js} +1 -1
- package/dist/ketchup/p-cc9db65d.js +1 -0
- package/dist/ketchup/p-cf5e1d07.js +1 -0
- package/dist/ketchup/{p-e3098793.js → p-da273b4d.js} +1 -1
- package/dist/ketchup/p-da5d5eea.js +1 -0
- package/dist/ketchup/p-dba5100a.entry.js +1 -0
- package/dist/ketchup/{p-ebcf33a3.entry.js → p-dc425c68.entry.js} +1 -1
- package/dist/ketchup/p-e18d9110.entry.js +1 -0
- package/dist/ketchup/{p-9432bc02.entry.js → p-e755042e.entry.js} +1 -1
- package/dist/ketchup/{p-91184407.entry.js → p-ec66f939.entry.js} +1 -1
- package/dist/ketchup/{p-60c3a948.entry.js → p-ece991ba.entry.js} +1 -1
- package/dist/ketchup/{p-9f9428d1.js → p-ef3112d4.js} +1 -1
- package/dist/ketchup/{p-9667a3f6.entry.js → p-f3319227.entry.js} +1 -1
- package/dist/ketchup/{p-6429a3bc.entry.js → p-f7da2ca7.entry.js} +1 -1
- package/dist/ketchup/{p-c4224227.js → p-ff735e62.js} +1 -1
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -1
- package/dist/types/components/kup-chip/kup-chip.d.ts +15 -15
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +3 -0
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +2 -0
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +4 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +11 -2
- package/dist/types/components/kup-htm/kup-htm.d.ts +1 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +33 -2
- package/dist/types/f-components/f-cell/f-cell.d.ts +5 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +3 -1
- package/dist/types/utils/cell-utils.d.ts +1 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +3 -1
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +3 -2
- package/package.json +1 -1
- package/dist/ketchup/p-003617f2.entry.js +0 -1
- package/dist/ketchup/p-216b5deb.js +0 -1
- package/dist/ketchup/p-3823781f.entry.js +0 -1
- package/dist/ketchup/p-39ab2443.entry.js +0 -1
- package/dist/ketchup/p-3cab6420.js +0 -1
- package/dist/ketchup/p-561db8b0.entry.js +0 -1
- package/dist/ketchup/p-607b56b3.entry.js +0 -8
- package/dist/ketchup/p-84a053a8.js +0 -21
- package/dist/ketchup/p-90345661.entry.js +0 -16
- package/dist/ketchup/p-b7b54a12.js +0 -1
- package/dist/ketchup/p-c00b4f52.js +0 -1
- package/dist/ketchup/p-ebcd12d5.js +0 -1
|
@@ -26,7 +26,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
26
26
|
}
|
|
27
27
|
return t;
|
|
28
28
|
};
|
|
29
|
-
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_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter,
|
|
29
|
+
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_helperEl, _KupInputPanel_getCell, _KupInputPanel_renderRow, _KupInputPanel_renderCell, _KupInputPanel_hideHelper, _KupInputPanel_showHelper, _KupInputPanel_renderButton, _KupInputPanel_renderDropDownButton, _KupInputPanel_renderEditor, _KupInputPanel_renderDataTable, _KupInputPanel_renderLabel, _KupInputPanel_getLabelComponent, _KupInputPanel_renderGridLayout, _KupInputPanel_renderAbsoluteLayout, _KupInputPanel_renderSection, _KupInputPanel_renderAbsoluteSection, _KupInputPanel_extractContentIds, _KupInputPanel_renderSectionTab, _KupInputPanel_skipRenderField, _KupInputPanel_renderField, _KupInputPanel_renderAbsoluteField, _KupInputPanel_mapCommands, _KupInputPanel_mapCells, _KupInputPanel_setData, _KupInputPanel_deepObjectsMerge, _KupInputPanel_reverseMapCells, _KupInputPanel_mapData, _KupInputPanel_slotData, _KupInputPanel_CHIAdapter, _KupInputPanel_GRAAdapter, _KupInputPanel_BTNAdapter, _KupInputPanel_CMBandACPAdapter, _KupInputPanel_getOptionHandler, _KupInputPanel_isFCellEventPayload, _KupInputPanel_CHKAdapter, _KupInputPanel_CLPAdapter, _KupInputPanel_EDTAdapter, _KupInputPanel_ITXAdapter, _KupInputPanel_RADAdapter, _KupInputPanel_SWTAdapter, _KupInputPanel_DateAdapter, _KupInputPanel_ObjectAdapter, _KupInputPanel_ImageListAdapter, _KupInputPanel_TimeAdapter, _KupInputPanel_NumberAdapter, _KupInputPanel_DataTableAdapter, _KupInputPanel_getTableUpdatedCell, _KupInputPanel_optionsTreeComboAdapter, _KupInputPanel_treeOptionsNodeAdapter, _KupInputPanel_dataTreeOptionsChildrenAdapter, _KupInputPanel_tableCMBandACPOptionsAdapter, _KupInputPanel_commandAdapter, _KupInputPanel_getAutocompleteEventCallback, _KupInputPanel_getTblAutocompleteEventCallback, _KupInputPanel_manageTblItemClick, _KupInputPanel_manageInputPanelCheck, _KupInputPanel_onCellUpdate, _KupInputPanel_setCellError, _KupInputPanel_areValuesUpdated, _KupInputPanel_getFunctionOnClickBTN, _KupInputPanel_findTraversedFCell, _KupInputPanel_getEventDetails, _KupInputPanel_didLoadInteractables, _KupInputPanel_setFocusOnInputElement, _KupInputPanel_findFirstInput, _KupInputPanel_setAutoSkip, _KupInputPanel_upload;
|
|
30
30
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
31
31
|
import { FButton } from "../../f-components/f-button/f-button";
|
|
32
32
|
import { FCell } from "../../f-components/f-cell/f-cell";
|
|
@@ -83,11 +83,34 @@ export class KupInputPanel {
|
|
|
83
83
|
]));
|
|
84
84
|
_KupInputPanel_readyPromise.set(this, void 0);
|
|
85
85
|
_KupInputPanel_readyResolve.set(this, void 0);
|
|
86
|
+
_KupInputPanel_helperEl.set(this, null);
|
|
87
|
+
_KupInputPanel_hideHelper.set(this, () => {
|
|
88
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f")) {
|
|
89
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").remove();
|
|
90
|
+
__classPrivateFieldSet(this, _KupInputPanel_helperEl, null, "f");
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
_KupInputPanel_showHelper.set(this, (e, text) => {
|
|
94
|
+
if (__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f")) {
|
|
95
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.left = `${e.clientX + 10}px`;
|
|
96
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.top = `${e.clientY + 10}px`;
|
|
97
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").innerText = text;
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
__classPrivateFieldSet(this, _KupInputPanel_helperEl, document.createElement('div'), "f");
|
|
101
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").className = 'input-panel__helper-tooltip';
|
|
102
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").innerText = text;
|
|
103
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.left = `${e.clientX + 10}px`;
|
|
104
|
+
__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f").style.top = `${e.clientY + 10}px`;
|
|
105
|
+
document.body.appendChild(__classPrivateFieldGet(this, _KupInputPanel_helperEl, "f"));
|
|
106
|
+
}
|
|
107
|
+
});
|
|
86
108
|
this.buttonPosition = KupInputPanelButtonsPositions.BOTTOM;
|
|
87
109
|
this.customStyle = '';
|
|
88
110
|
this.dashboardMode = false;
|
|
89
111
|
this.data = null;
|
|
90
112
|
this.hiddenSubmitButton = false;
|
|
113
|
+
this.commandBarPosition = undefined;
|
|
91
114
|
this.inputPanelPosition = KupInputPanelPosition.COLUMNS;
|
|
92
115
|
this.submitCb = null;
|
|
93
116
|
this.optionsHandler = null;
|
|
@@ -115,7 +138,7 @@ export class KupInputPanel {
|
|
|
115
138
|
});
|
|
116
139
|
__classPrivateFieldSet(this, _KupInputPanel_listeners, [], "f");
|
|
117
140
|
}
|
|
118
|
-
if (this.data) {
|
|
141
|
+
if (this.data && this.data.columns && this.data.rows) {
|
|
119
142
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapCells).call(this, this.data);
|
|
120
143
|
}
|
|
121
144
|
}
|
|
@@ -249,7 +272,7 @@ export class KupInputPanel {
|
|
|
249
272
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
250
273
|
]
|
|
251
274
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
252
|
-
return (h(Host, { key: '
|
|
275
|
+
return (h(Host, { key: '5f400adad4ef13867fa4cef8db5537f2e660808f', "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) => {
|
|
253
276
|
this.tabSelected = e.detail.node.id;
|
|
254
277
|
}, "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) => {
|
|
255
278
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -259,7 +282,7 @@ export class KupInputPanel {
|
|
|
259
282
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
260
283
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
261
284
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
262
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
285
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: 'ac5331c087b8cd5e9908361cf83d10857c956bb4' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'cd01a86ec411b5b10e8af83f3986c3fa3b55b8f5', id: componentWrapperId }, inputPanelContent)));
|
|
263
286
|
}
|
|
264
287
|
disconnectedCallback() {
|
|
265
288
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -397,6 +420,26 @@ export class KupInputPanel {
|
|
|
397
420
|
"reflect": false,
|
|
398
421
|
"defaultValue": "false"
|
|
399
422
|
},
|
|
423
|
+
"commandBarPosition": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"mutable": false,
|
|
426
|
+
"complexType": {
|
|
427
|
+
"original": "'top' | 'bottom' | 'left' | 'right'",
|
|
428
|
+
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
|
429
|
+
"references": {}
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"optional": true,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [{
|
|
435
|
+
"name": "default",
|
|
436
|
+
"text": "'bottom'"
|
|
437
|
+
}],
|
|
438
|
+
"text": "Position of the command bar (submit button and other commands)"
|
|
439
|
+
},
|
|
440
|
+
"attribute": "command-bar-position",
|
|
441
|
+
"reflect": false
|
|
442
|
+
},
|
|
400
443
|
"inputPanelPosition": {
|
|
401
444
|
"type": "string",
|
|
402
445
|
"mutable": false,
|
|
@@ -911,7 +954,7 @@ export class KupInputPanel {
|
|
|
911
954
|
}];
|
|
912
955
|
}
|
|
913
956
|
}
|
|
914
|
-
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
957
|
+
_KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(), _KupInputPanel_optionsAdapterMap = new WeakMap(), _KupInputPanel_originalData = new WeakMap(), _KupInputPanel_listeners = new WeakMap(), _KupInputPanel_cellTypeComponents = new WeakMap(), _KupInputPanel_cellTypesNeedingReset = new WeakMap(), _KupInputPanel_cellCustomRender = new WeakMap(), _KupInputPanel_sectionRenderMap = new WeakMap(), _KupInputPanel_readyPromise = new WeakMap(), _KupInputPanel_readyResolve = new WeakMap(), _KupInputPanel_helperEl = new WeakMap(), _KupInputPanel_hideHelper = new WeakMap(), _KupInputPanel_showHelper = new WeakMap(), _KupInputPanel_instances = new WeakSet(), _KupInputPanel_getCell = function _KupInputPanel_getCell(id) {
|
|
915
958
|
if (!id) {
|
|
916
959
|
return null;
|
|
917
960
|
}
|
|
@@ -1004,7 +1047,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1004
1047
|
} }, ((_b = layout === null || layout === void 0 ? void 0 : layout.sections) === null || _b === void 0 ? void 0 : _b.length) == 1 &&
|
|
1005
1048
|
((_c = layout === null || layout === void 0 ? void 0 : layout.sections[0]) === null || _c === void 0 ? void 0 : _c.title) && (h("div", { class: "input-panel__typography" }, h(FTypography, { value: layout.sections[0].title, type: FTypographyType.HEADING1 }))), h("div", { class: classObj, style: styleObj }, rowContent), h("div", { class: commandsClass }, h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", invisible: this.hiddenSubmitButton }), this.fieldReset && (h(FButton, { buttonType: "reset", label: "Reset", wrapperClass: "form__submit", icon: "broom" })), this.inputPanelCommands))));
|
|
1006
1049
|
}, _KupInputPanel_renderCell = function _KupInputPanel_renderCell(cell, row, column) {
|
|
1007
|
-
var _a;
|
|
1050
|
+
var _a, _b;
|
|
1008
1051
|
if (!cell) {
|
|
1009
1052
|
return;
|
|
1010
1053
|
}
|
|
@@ -1012,7 +1055,19 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1012
1055
|
if (customRender !== undefined) {
|
|
1013
1056
|
return customRender(cell, column, (_a = row.layout) === null || _a === void 0 ? void 0 : _a.absolute);
|
|
1014
1057
|
}
|
|
1015
|
-
cell.data = Object.assign(Object.assign({}, cell.data), { sizing: 'extra-small' });
|
|
1058
|
+
cell.data = Object.assign(Object.assign({}, cell.data), { sizing: 'extra-small', labelHelper: column.helper });
|
|
1059
|
+
const subcompData = (_b = cell.data) === null || _b === void 0 ? void 0 : _b.data;
|
|
1060
|
+
if (subcompData) {
|
|
1061
|
+
const hasTextFieldProps = Object.keys(subcompData).includes('kup-text-field');
|
|
1062
|
+
if (!hasTextFieldProps) {
|
|
1063
|
+
subcompData['kup-text-field'] = {
|
|
1064
|
+
labelHelper: column.helper,
|
|
1065
|
+
};
|
|
1066
|
+
}
|
|
1067
|
+
else {
|
|
1068
|
+
subcompData['kup-text-field'].labelHelper = column.helper;
|
|
1069
|
+
}
|
|
1070
|
+
}
|
|
1016
1071
|
const cellProps = {
|
|
1017
1072
|
cell,
|
|
1018
1073
|
column,
|
|
@@ -1023,10 +1078,27 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1023
1078
|
setSizes: true,
|
|
1024
1079
|
};
|
|
1025
1080
|
const label = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getLabelComponent).call(this, cell, column.title);
|
|
1081
|
+
const fcell = h(FCell, Object.assign({}, cellProps));
|
|
1026
1082
|
if (label) {
|
|
1027
|
-
|
|
1083
|
+
/*
|
|
1084
|
+
const hasHelper = Boolean(column?.helper) || true;
|
|
1085
|
+
const helper = hasHelper ? (
|
|
1086
|
+
<span
|
|
1087
|
+
class="input-panel__helper-icon"
|
|
1088
|
+
onPointerMove={(e) => this.#showHelper(e, column.helper)}
|
|
1089
|
+
onPointerDown={(e) => this.#showHelper(e, column.helper)}
|
|
1090
|
+
onPointerOut={() => this.#hideHelper()}
|
|
1091
|
+
>
|
|
1092
|
+
<FImage
|
|
1093
|
+
resource="info-outline"
|
|
1094
|
+
title={column.helper}
|
|
1095
|
+
></FImage>
|
|
1096
|
+
</span>
|
|
1097
|
+
) : null;
|
|
1098
|
+
*/
|
|
1099
|
+
return (h("div", { class: { 'input-panel__label_container': true } }, label, fcell));
|
|
1028
1100
|
}
|
|
1029
|
-
return
|
|
1101
|
+
return fcell;
|
|
1030
1102
|
}, _KupInputPanel_renderButton = function _KupInputPanel_renderButton(cell, { name }) {
|
|
1031
1103
|
const renderedButton = (h(FButton, Object.assign({ icon: cell.icon, placeholderIcon: cell.placeholderIcon, id: name }, cell.data, { wrapperClass: "form__submit" })));
|
|
1032
1104
|
return renderedButton;
|
|
@@ -1446,13 +1518,13 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1446
1518
|
[FCellTypes.TABLE, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_DataTableAdapter).bind(this)],
|
|
1447
1519
|
[FCellTypes.TIME, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_TimeAdapter).bind(this)],
|
|
1448
1520
|
[FCellTypes.IMAGE_LIST, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_ImageListAdapter).bind(this)],
|
|
1449
|
-
[FCellTypes.FILE_UPLOAD, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_FileUploadAdapter).bind(this)],
|
|
1450
1521
|
]);
|
|
1451
1522
|
const adapter = dataAdapterMap.get(cellType);
|
|
1452
1523
|
return adapter
|
|
1453
1524
|
? adapter(options, fieldLabel, currentValue, cell, col.name, layout)
|
|
1454
1525
|
: null;
|
|
1455
1526
|
}, _KupInputPanel_slotData = function _KupInputPanel_slotData(cell, col) {
|
|
1527
|
+
var _a;
|
|
1456
1528
|
const cellType = dom.ketchup.data.cell.getType(cell, cell.shape);
|
|
1457
1529
|
if (cellType === FCellTypes.CHIP) {
|
|
1458
1530
|
return {
|
|
@@ -1465,7 +1537,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1465
1537
|
}
|
|
1466
1538
|
if (cellType === FCellTypes.MULTI_AUTOCOMPLETE ||
|
|
1467
1539
|
cellType === FCellTypes.MULTI_COMBOBOX) {
|
|
1468
|
-
|
|
1540
|
+
const props = 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 });
|
|
1541
|
+
if ((_a = props === null || props === void 0 ? void 0 : props.data) === null || _a === void 0 ? void 0 : _a['kup-text-field']) {
|
|
1542
|
+
props.data['kup-text-field'].labelHelper = col.helper;
|
|
1543
|
+
}
|
|
1544
|
+
return props;
|
|
1469
1545
|
}
|
|
1470
1546
|
return null;
|
|
1471
1547
|
}, _KupInputPanel_CHIAdapter = function _KupInputPanel_CHIAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
@@ -1489,8 +1565,8 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1489
1565
|
cell.data.onClick = () => {
|
|
1490
1566
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getFunctionOnClickBTN).call(this, cell, id);
|
|
1491
1567
|
};
|
|
1492
|
-
if (cell.data.
|
|
1493
|
-
const concurrentCommand = (_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.commands) === null || _b === void 0 ? void 0 : _b.find((command) => command.obj.k === cell.data.
|
|
1568
|
+
if (cell.data.mappedCommandId) {
|
|
1569
|
+
const concurrentCommand = (_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.commands) === null || _b === void 0 ? void 0 : _b.find((command) => command.obj.k === cell.data.mappedCommandId);
|
|
1494
1570
|
if (concurrentCommand) {
|
|
1495
1571
|
cell.isEditable = true;
|
|
1496
1572
|
cell.data.onClick = () => {
|
|
@@ -1591,8 +1667,6 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1591
1667
|
leadingLabel: fieldLabel || '',
|
|
1592
1668
|
value: currentValue || '',
|
|
1593
1669
|
};
|
|
1594
|
-
}, _KupInputPanel_FileUploadAdapter = function _KupInputPanel_FileUploadAdapter(_options, _fieldLabel, currentValue, cell) {
|
|
1595
|
-
return Object.assign({ pathString: currentValue }, cell.data);
|
|
1596
1670
|
}, _KupInputPanel_TimeAdapter = function _KupInputPanel_TimeAdapter(_options, fieldLabel, currentValue) {
|
|
1597
1671
|
return {
|
|
1598
1672
|
data: {
|
|
@@ -1630,7 +1704,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1630
1704
|
}),
|
|
1631
1705
|
rows: data.rows.map((row) => (Object.assign(Object.assign({}, row), { cells: Object.keys(row.cells).reduce((cell, key) => {
|
|
1632
1706
|
const column = data.columns.find((col) => col.name === key);
|
|
1633
|
-
return Object.assign(Object.assign({}, cell), { [key]: Object.assign(Object.assign({}, row.cells[key]), { data: Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, row.cells[key], column, layout)), { disabled: row.cells[key].editable === false, id: column.id }) }) });
|
|
1707
|
+
return Object.assign(Object.assign({}, cell), { [key]: Object.assign(Object.assign({}, row.cells[key]), { data: Object.assign(Object.assign(Object.assign({}, __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_mapData).call(this, row.cells[key], column, layout)), { disabled: row.cells[key].editable === false, id: column.id }), row.cells[key].data) }) });
|
|
1634
1708
|
}, {}) }))),
|
|
1635
1709
|
},
|
|
1636
1710
|
};
|
|
@@ -108,39 +108,39 @@ export class KupLazy {
|
|
|
108
108
|
switch (this.componentName) {
|
|
109
109
|
case 'kup-button':
|
|
110
110
|
//call_to_action.svg
|
|
111
|
-
resource = (h("svg", { key: '
|
|
111
|
+
resource = (h("svg", { key: '5e72b30a0f1e3430f6156e38ec21e5ab4fbad8f3', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'aa48fb656f7dc30746dd11d4d3405b60a312f2c3', 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" })));
|
|
112
112
|
break;
|
|
113
113
|
case 'kup-card':
|
|
114
114
|
//art_track.svg
|
|
115
|
-
resource = (h("svg", { key: '
|
|
115
|
+
resource = (h("svg", { key: '5f448fd1eb1ab0270cf458177c3966ba6000295b', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'bad66bec1cb624efd059126cec4f98846cdeef75', 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" })));
|
|
116
116
|
break;
|
|
117
117
|
case 'kup-checkbox':
|
|
118
118
|
//check_box_outline_blank.svg
|
|
119
|
-
resource = (h("svg", { key: '
|
|
119
|
+
resource = (h("svg", { key: '138d53448f4c329478d24d246d0fef6fbcb62d7a', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '96079538dc0737b2e7b7a376b4e0283a829a0143', 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" })));
|
|
120
120
|
break;
|
|
121
121
|
case 'kup-chart':
|
|
122
122
|
//chart-bar.svg
|
|
123
|
-
resource = (h("svg", { key: '
|
|
123
|
+
resource = (h("svg", { key: '3ea391531e961b72fb84c7265e3b398a4e40028a', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '54773da2ab16358a610b96ce742288fa8a2ca362', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
124
124
|
break;
|
|
125
125
|
case 'kup-data-table':
|
|
126
126
|
//table-large.svg
|
|
127
|
-
resource = (h("svg", { key: '
|
|
127
|
+
resource = (h("svg", { key: '899606089c5e7b4e1a88823c8cb27e5f86aa1d4c', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '17bb02d78bb042ae255314ea8f68b1ce7481e993', 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" })));
|
|
128
128
|
break;
|
|
129
129
|
case 'kup-image':
|
|
130
130
|
//photo.svg
|
|
131
|
-
resource = (h("svg", { key: '
|
|
131
|
+
resource = (h("svg", { key: '049a62d7a9dccfee4a2fae8e0cd5869b85e06d46', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'b27ed54889308bf056f24c70511d39e134603f89', 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" })));
|
|
132
132
|
break;
|
|
133
133
|
case 'kup-progress-bar':
|
|
134
134
|
//linear_scale.svg
|
|
135
|
-
resource = (h("svg", { key: '
|
|
135
|
+
resource = (h("svg", { key: '686ea803a443610674b2bf9282801cedc627b64e', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '2e64b70e935e82ebbca79a89202ccdc19ba666df', 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" })));
|
|
136
136
|
break;
|
|
137
137
|
case 'kup-radio':
|
|
138
138
|
//radio_button_unchecked.svg
|
|
139
|
-
resource = (h("svg", { key: '
|
|
139
|
+
resource = (h("svg", { key: '0fff99e133a6a1795ee1d9797746efbefaf82fbf', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'db92d5a4868e8c8d8120d136621df4bf17c4679b', 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" })));
|
|
140
140
|
break;
|
|
141
141
|
default:
|
|
142
142
|
//art_track.svg
|
|
143
|
-
resource = (h("svg", { key: '
|
|
143
|
+
resource = (h("svg", { key: 'b9d19e00ae1ae630128d73243861f6479b1455dc', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'e7ca81f490462908580b0a7509ec3811dbd85eaf', 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" })));
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -149,14 +149,14 @@ export class KupLazy {
|
|
|
149
149
|
this.data &&
|
|
150
150
|
this.isInViewport)) {
|
|
151
151
|
let Tag = this.componentName;
|
|
152
|
-
content = (h(Tag, Object.assign({ key: '
|
|
152
|
+
content = (h(Tag, Object.assign({ key: 'e93f7f4ac49af252f791a4f7cb9be5e83d1df7bf' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
153
153
|
className += ' kup-loaded';
|
|
154
154
|
}
|
|
155
155
|
else if (this.showPlaceholder) {
|
|
156
156
|
content = resource;
|
|
157
157
|
className += ' kup-to-be-loaded';
|
|
158
158
|
}
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '99f35069da0886b3174bff35eaeae29d19a9fe2f', class: className }, h("style", { key: '4acddcd21d8ed89d235f7012fff7c7ea4abef2d1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'e7b4a285865ec15115437f06a3873349e4e5965c', id: componentWrapperId }, content)));
|
|
160
160
|
}
|
|
161
161
|
disconnectedCallback() {
|
|
162
162
|
var _a;
|
|
@@ -263,11 +263,11 @@ export class KupMagicBox {
|
|
|
263
263
|
this.kupManager.debug.logRender(this, true);
|
|
264
264
|
}
|
|
265
265
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: '049e0e429c4deb0c4b42aa4119630553269b4b5f' }, h("style", { key: '5141bbd9f761950b9c661aac8724d9bc7ddd00b3' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '22518e2bc9311b8d0989418f3185a91dd95c54c2', id: componentWrapperId }, h("div", { key: 'a0929d74cc1e8f7b4b72fd481bed66683c77fc81', class: "magic-box-wrapper" }, h("div", { key: '2550b87cb0ff859cf32756cb34932f2c1a2e1ed7', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: 'cf84762570b8c0c7e27158725cba90ac10bb91a6' }, this.comboboxProps())), h("kup-button", { key: '4325adf34dc50fa7c34d037784eeaa7f994f0f21', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
267
267
|
this.data = null;
|
|
268
|
-
} }), h("kup-button", { key: '
|
|
268
|
+
} }), h("kup-button", { key: 'f635e3b8e1abbde80eddf0092f6b9538031fd7c6', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
269
269
|
this.kupManager.hideMagicBox();
|
|
270
|
-
} })), h("div", { key: '
|
|
270
|
+
} })), h("div", { key: 'e5f3e3497af54d3e3061f28abf0dc8e69ed18959', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
271
271
|
}
|
|
272
272
|
disconnectedCallback() {
|
|
273
273
|
this.kupManager.interact.unregister([
|
|
@@ -98,7 +98,7 @@ export class KupNavBar {
|
|
|
98
98
|
this.kupManager.debug.logRender(this, true);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: 'd093a8d45896d85fd71e3d92a7451efccc3a10ba', class: "header" }, h("style", { key: '59a661649f8a7b81b3258e56ae93bc18f2a5f3fd' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a44b81214556b495f7cb253f16085cd1a884c717', id: componentWrapperId }, h("header", { key: '91e08ad248d5a56aa9eebc753e883c0cbe8a77ec', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: '4f5f6924c6b311ffb8f46f26a4ac266f42aaf6a4', class: `${navbarClass}__row` }, this.content())))));
|
|
102
102
|
}
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
this.kupManager.language.unregister(this);
|
|
@@ -321,7 +321,7 @@ export class KupNumericPicker {
|
|
|
321
321
|
this.kupManager.debug.logRender(this, true);
|
|
322
322
|
}
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: '22a6ef8139d04934008071cfa9f9d395144cf82c' }, h("style", { key: '3631b7dedacb5a4732a78a36ab6a4ddd772ae632' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '9496502390810c10eb60f5fad738d99ee2cbaef5', id: componentWrapperId }, this.prepTextfield())));
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
327
|
this.kupManager.dates.unregister(this);
|
|
@@ -79,7 +79,7 @@ export class KupObjectField {
|
|
|
79
79
|
inputValue: this.inputValue,
|
|
80
80
|
onChange: null,
|
|
81
81
|
};
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '5eaf6b26539f0d6301e19077a29419bb91e11629' }, h("style", { key: '03944bfc8cd00d94e11aef6ccfc55e7ffe73f741' }, __classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'e0336a46ae9b6b0cce2dbf83498508560414ecca', id: componentWrapperId }, h(FObjectField, Object.assign({ key: '1f82d5ee84dedcf85d67536a2e4667bf51a70485' }, props)))));
|
|
83
83
|
}
|
|
84
84
|
disconnectedCallback() {
|
|
85
85
|
__classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.unregister(this);
|
|
@@ -105,7 +105,7 @@ export class KupPdf {
|
|
|
105
105
|
catch (error) { }
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '56dc837db190498749a7536216871f33da6fa6a5' }, h("div", { key: '43e4a5818a404361bc9f9f47744e798f37e02ac2', id: componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
109
109
|
}
|
|
110
110
|
disconnectedCallback() {
|
|
111
111
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -523,7 +523,7 @@ export class KupPlanner {
|
|
|
523
523
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
524
524
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
525
525
|
}
|
|
526
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: '07f4dd3d5e91864ee8f6d01705a89b3ff14a99f7' }, h("style", { key: '9e415c959cb6757efa80680eac6920cc19a82b89' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'fde2bd441bbf3df7a423f97bc3d5dc97cbb7f943', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { key: 'c389726acbf2859a311ace7121423260de2b3b2c', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: '92758b8acc38cfca30d65b405888e58f4a4bd1f1', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: '8645ce7ea69ec2e2d084a7487c691d7291de8a67', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
527
527
|
if (e.key === 'Enter') {
|
|
528
528
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
529
529
|
}
|
|
@@ -8,11 +8,11 @@ export class KupCustomTaskListHeader {
|
|
|
8
8
|
this.fontSize = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '23f119a1f4df86a9c9518014672600827ef3946a', class: "custom-task-list-wrapper", style: {
|
|
12
12
|
height: '25px',
|
|
13
13
|
fontFamily: this.fontFamily,
|
|
14
14
|
fontSize: this.fontSize,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: 'be428c1fa53e5d20c10b7841ed711678ca46ca50', class: "title" }, h("span", { key: '5c6742dd5a63dbf837e1df3f7daa422925be102b' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '7dee3b1d2c665d5360b85a59fdafc2902f1fec01', class: "toggler" }, h("label", { key: '2ff7fb287c8901f60018d57a3f91e4827d49fc0a', htmlFor: "ch2", class: "switch" }, h("input", { key: '3b8df0b5b2b66b34ffa0151c2b62523d9b756885', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: 'f38b848a394283807290d19c2188d8255745ea89', class: "slider" })), h("span", { key: '03870d86ee67071fc114da83ffc4fe3a8abc897d', class: "label" }, "Previsioni")))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "kup-custom-task-list-header"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -27,17 +27,25 @@ export class KupCustomTaskListTable {
|
|
|
27
27
|
}
|
|
28
28
|
updateTaskListScroll() {
|
|
29
29
|
this.projectWrapperRef &&
|
|
30
|
-
(this.projectWrapperRef.parentElement.scrollLeft =
|
|
30
|
+
(this.projectWrapperRef.parentElement.scrollLeft =
|
|
31
|
+
this.taskListScrollX);
|
|
31
32
|
}
|
|
32
33
|
render() {
|
|
34
|
+
var _a;
|
|
33
35
|
const kupDates = new KupDates();
|
|
34
36
|
const scrollableStyle = {};
|
|
35
37
|
if (this.scrollableTaskList) {
|
|
36
38
|
scrollableStyle['width'] = this.rowWidth;
|
|
37
39
|
}
|
|
38
|
-
const spansToShow = this.tasks.
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
const spansToShow = this.tasks && this.tasks.length > 0
|
|
41
|
+
? ((_a = this.tasks.reduce((prev, curr) => {
|
|
42
|
+
var _a, _b;
|
|
43
|
+
return ((_a = prev.valuesToShow) === null || _a === void 0 ? void 0 : _a.length) >
|
|
44
|
+
((_b = curr.valuesToShow) === null || _b === void 0 ? void 0 : _b.length)
|
|
45
|
+
? prev
|
|
46
|
+
: curr;
|
|
47
|
+
}).valuesToShow) === null || _a === void 0 ? void 0 : _a.length) + 1 || 1
|
|
48
|
+
: 1;
|
|
41
49
|
return (h("div", { class: `container ${this.scrollableTaskList ? 'scrollable' : ''}`, style: scrollableStyle }, h("div", { class: "project-wrapper", ref: (el) => (this.projectWrapperRef = el) }, this.tasks.map((task) => {
|
|
42
50
|
var _a, _b, _c, _d;
|
|
43
51
|
return (h(Fragment, null, task.type === 'project' ? (h("div", { class: "project", style: {
|
|
@@ -61,10 +69,14 @@ export class KupCustomTaskListTable {
|
|
|
61
69
|
? kupDates.formatToLocaleSimple(task.start)
|
|
62
70
|
: v === '#END#'
|
|
63
71
|
? kupDates.formatToLocaleSimple(task.end)
|
|
64
|
-
: v))), this.scrollableTaskList &&
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
72
|
+
: v))), this.scrollableTaskList &&
|
|
73
|
+
spansToShow >
|
|
74
|
+
task.valuesToShow.length &&
|
|
75
|
+
(() => {
|
|
76
|
+
const spansToIterate = createArrayFromNum(spansToShow -
|
|
77
|
+
task.valuesToShow.length);
|
|
78
|
+
return spansToIterate.map((element) => (h("span", { key: element })));
|
|
79
|
+
})())) : task.type === 'task' ? (h("div", { class: "subrow", style: {
|
|
68
80
|
height: `${this.rowHeight}px`,
|
|
69
81
|
width: this.rowWidth,
|
|
70
82
|
fontFamily: this.fontFamily,
|
|
@@ -96,10 +108,16 @@ export class KupCustomTaskListTable {
|
|
|
96
108
|
? kupDates.formatToLocaleSimple(task.start)
|
|
97
109
|
: v === '#END#'
|
|
98
110
|
? kupDates.formatToLocaleSimple(task.end)
|
|
99
|
-
: v))), this.scrollableTaskList &&
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
111
|
+
: v))), this.scrollableTaskList &&
|
|
112
|
+
spansToShow >
|
|
113
|
+
task.valuesToShow.length &&
|
|
114
|
+
(() => {
|
|
115
|
+
const spansToIterate = createArrayFromNum(spansToShow -
|
|
116
|
+
task.valuesToShow
|
|
117
|
+
.length -
|
|
118
|
+
1);
|
|
119
|
+
return spansToIterate.map((element) => (h("span", { key: element })));
|
|
120
|
+
})())) : ((() => {
|
|
103
121
|
var _a;
|
|
104
122
|
let str = '';
|
|
105
123
|
for (let i = 0; i < task.valuesToShow.length; i++) {
|
|
@@ -563,9 +563,9 @@ export class KupGantt {
|
|
|
563
563
|
TaskListHeader: this.TaskListHeader,
|
|
564
564
|
TaskListTable: this.TaskListTable
|
|
565
565
|
};
|
|
566
|
-
return (h("div", { key: '
|
|
566
|
+
return (h("div", { key: '369ec43109afb9a6f40446e806faf1f54dd67a43', class: "gannt-wrapper-main" }, h("div", { key: '52c2d71a0508119b1e252d196079af28c36ffea9', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '7bff507a44beaae83ac961dea8bad526b684d3b2', 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) => {
|
|
567
567
|
this.taskListScrollWidth = width;
|
|
568
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
568
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '6d82fda19eaaf819c71a5772a52ec63319c34174', 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: 'b2b16a3153dac7ee314be92db91cafd2279df83e', 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: 'c3bfcc814a946ec6c32f372288fb020c31906eee', 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: 'faafe36d199295d0d3d53405c8df3c5fe67cf94e', 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 }))));
|
|
569
569
|
}
|
|
570
570
|
static get is() { return "kup-gantt"; }
|
|
571
571
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js
CHANGED
|
@@ -225,11 +225,11 @@ export class KupGanttCalendar {
|
|
|
225
225
|
this.simplifiedHeader =
|
|
226
226
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
227
227
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
228
|
-
return (h("svg", { key: '
|
|
228
|
+
return (h("svg", { key: '4bca0e060f56a7fe37e05b75d5d6869f040704a6', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: '7d8e96b34aeb2d6fda64ca62c8f85669609d6dbb', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '8e7726a396d3f38f4b264acaeb6b28e998bfb60c', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
229
229
|
? topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y2Line * 2, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value))))
|
|
230
230
|
: topValues.map((topValue) => (h("g", { class: "calendarTop" }, h("line", { x1: topValue.x1Line, y1: topValue.y1Line, x2: topValue.x1Line, y2: topValue.y2Line, class: "calendarTopTick", key: topValue.value + 'line' }), h("text", { key: topValue.value + 'text', y: topValue.yText, x: topValue.xText, class: "calendarTopText" }, topValue.value)))), this.currentDateIndicator && (
|
|
231
231
|
// current date indicator
|
|
232
|
-
h("circle", { key: '
|
|
232
|
+
h("circle", { key: '8a301e27afb5737f85421156a63ce577096846a7', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
233
233
|
}
|
|
234
234
|
static get is() { return "kup-gantt-calendar"; }
|
|
235
235
|
static get originalStyleUrls() {
|
|
@@ -509,13 +509,13 @@ export class KupGridRenderer {
|
|
|
509
509
|
// }
|
|
510
510
|
tickX += this.columnWidth;
|
|
511
511
|
}
|
|
512
|
-
return (h("svg", { key: '
|
|
512
|
+
return (h("svg", { key: '380a83d730b9c011e576a588f689e88bf6bd1814', xmlns: "http://www.w3.org/2000/svg", width: this.gridProps.svgWidth, height: `${this.rowHeight * this.tasks.length}px`, "font-family": this.fontFamily, ref: (el) => (this.svg = el) }, h("g", { key: 'a9a83e3ec574b36a1ce9d012f6f1e13bffe8eed5', class: "grid" }, h("g", { key: '10d5b31ee258f91aac82ce3dc441871f57fe76f6', class: "rows" }, gridRows), h("g", { key: 'ddae99458fa1c0ce5b96ac9846bfb167d0f6d7a5', class: "rowLines" }, rowLines), h("g", { key: '3a30ca604d25216ecfcea251bced32d9ac211932', class: "ticks" }, ticks)), h("g", { key: '46d90e500351f11ffda906eb5c31fea195cc0223', class: "content" }, this.currentDateIndicator && (h("rect", { key: '167a7fa6be1cccaea4d57a2c687a0628e91c00d7', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '310e6996cddec5650662b08289bb42c1715dcba5', fill: this.projection.color, x: this.projection.x0, y: "0", width: this.projection.xf - this.projection.x0, height: "100%", "fill-opacity": "0.35" })), h("g", { key: '48d1b6330012fc1cb1bbdd87a25afc9e3e868867', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
513
513
|
return task.barChildren.map((child) => {
|
|
514
514
|
if (task.type !== 'timeline') {
|
|
515
515
|
this.renderKupArrow(task, child);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
|
-
})), h("g", { key: '
|
|
518
|
+
})), h("g", { key: '92d9c57208504e793e94742c5d0a718b2a1ffa5e', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
519
519
|
const forbidResize = task.type === 'project';
|
|
520
520
|
return (h("g", { onKeyDown: (e) => {
|
|
521
521
|
switch (e.key) {
|
|
@@ -575,7 +575,7 @@ export class KupGridRenderer {
|
|
|
575
575
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
576
576
|
}
|
|
577
577
|
})()));
|
|
578
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
578
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'e42b2b38135aab0c22be661f29774c02341c3f87', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
579
579
|
}
|
|
580
580
|
static get is() { return "kup-grid-renderer"; }
|
|
581
581
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js
CHANGED
|
@@ -53,20 +53,20 @@ export class HorizontalScroll {
|
|
|
53
53
|
var _a, _b;
|
|
54
54
|
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
|
|
55
55
|
const width = +this.listCellWidth.replace('px', '');
|
|
56
|
-
return (h(Fragment, { key: '
|
|
57
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
56
|
+
return (h(Fragment, { key: '1cb5cc72c0e08db314e6ead1a39180e6a20ed6f9' }, h("div", { key: 'da412f0efab8374f0bbc7cf4ab125d7e113543ee', class: "scroll-container" }, this.scrollableTaskList &&
|
|
57
|
+
this.taskListScrollWidth > width && (h("div", { key: '40344cef778d4b9051cf1d321b7b49e82e3bb35c', dir: "ltr", style: {
|
|
58
58
|
margin: this.rtl
|
|
59
59
|
? `0px 20px 0px 20px`
|
|
60
60
|
: `0px 20px 0px 20px`,
|
|
61
61
|
maxWidth: `${width + 20}px`,
|
|
62
62
|
minWidth: `${width + 20}px`,
|
|
63
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
63
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: 'f39845955cc68e1900c597bc13966e2daf6e336c', style: {
|
|
64
64
|
width: `${this.taskListScrollWidth}px`,
|
|
65
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
65
|
+
}, class: "scroll" }))), h("div", { key: '8aa6d6fbbd7fea960479851a816d93b31c971269', dir: "ltr", style: {
|
|
66
66
|
margin: this.rtl
|
|
67
67
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
68
68
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
69
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
69
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'd0502cab3f7a0e3cb145f903b4ce5c708ec5917e', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "kup-horizontal-scroll"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|