@sme.up/ketchup 10.3.10 → 10.3.11
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-9c556447.js → f-cell-17acbc57.js} +4 -4
- package/dist/cjs/{f-chip-29f981f7.js → f-chip-69c882a5.js} +1 -1
- package/dist/cjs/{f-object-field-ae0e860d.js → f-object-field-c4c5df13.js} +2 -2
- package/dist/cjs/{f-paginator-utils-806868eb.js → f-paginator-utils-66aa1936.js} +1 -1
- package/dist/cjs/{f-text-field-025f9ff3.js → f-text-field-9832e4ef.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -8
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +116 -344
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/{kup-data-table-helper-d3b9b899.js → kup-data-table-helper-c7046c05.js} +2 -2
- package/dist/cjs/{kup-dates-8619368a.js → kup-dates-6feda954.js} +127 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
- package/dist/cjs/kup-echart.cjs.entry.js +3 -3
- package/dist/cjs/kup-editor.cjs.entry.js +3 -3
- package/dist/cjs/kup-family-tree.cjs.entry.js +21 -26
- 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 +8 -8
- 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-dbf73b5f.js → kup-manager-863afae7.js} +1 -1
- 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-eaca3f99.js → kup-planner-renderer-helper-593796c6.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/components/kup-accordion/kup-accordion.js +5 -27
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +2 -4
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +49 -266
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +18 -23
- 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.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- 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-tab-bar/kup-tab-bar.js +2 -23
- 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/managers/kup-dates/kup-dates.js +127 -7
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +12 -33
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +7 -9
- 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 +5 -5
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +4 -4
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +3 -3
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +4 -4
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +22 -27
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +5 -5
- 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-f4797086.js → p-23d0f0c7.js} +1 -1
- package/dist/components/{p-3a56a01b.js → p-2cb9fa58.js} +4 -4
- package/dist/components/{p-a52b0e92.js → p-3757ff31.js} +1 -1
- package/dist/components/{p-c9135ac0.js → p-5b1056e4.js} +7 -7
- package/dist/components/{p-9d9181cf.js → p-60e697f5.js} +127 -7
- package/dist/components/{p-28f6440c.js → p-767fcf91.js} +1 -1
- package/dist/components/{p-5155623a.js → p-87285464.js} +2 -2
- package/dist/components/{p-6cc3382e.js → p-944332b6.js} +3 -3
- package/dist/components/{p-a1ae4c21.js → p-97fceaf7.js} +17 -17
- package/dist/components/{p-1bb114b8.js → p-980686db.js} +14 -14
- package/dist/components/{p-9471f708.js → p-9a502c5d.js} +2 -2
- package/dist/components/{p-43275b92.js → p-9a617844.js} +3 -3
- package/dist/components/{p-7a243c51.js → p-9d13f3da.js} +4 -4
- package/dist/components/{p-fdb5e8d3.js → p-a4f3d24a.js} +2 -2
- package/dist/components/{p-32c28a10.js → p-aa882232.js} +2 -2
- package/dist/components/{p-ca202cfa.js → p-bbb25c58.js} +1 -1
- package/dist/components/{p-86464a43.js → p-bdecbc93.js} +5 -5
- package/dist/components/{p-0b4e99fd.js → p-cbc6b3d5.js} +2 -2
- package/dist/components/{p-395ac5ac.js → p-dc1ce1b4.js} +1 -1
- package/dist/components/{p-e02d95bf.js → p-decce077.js} +3 -3
- package/dist/components/{p-40202dad.js → p-e39b777a.js} +1 -1
- package/dist/components/{p-a1390144.js → p-f3faa212.js} +110 -342
- package/dist/esm/{f-cell-f31f34a8.js → f-cell-1b71c02b.js} +4 -4
- package/dist/esm/{f-chip-9d6113fe.js → f-chip-d553e330.js} +1 -1
- package/dist/esm/{f-object-field-0c2013c8.js → f-object-field-e6839071.js} +2 -2
- package/dist/esm/{f-paginator-utils-8314bf54.js → f-paginator-utils-74a15114.js} +1 -1
- package/dist/esm/{f-text-field-371b1b43.js → f-text-field-05735cbc.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +7 -8
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +116 -344
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/{kup-data-table-helper-04404034.js → kup-data-table-helper-1d14120b.js} +2 -2
- package/dist/esm/{kup-dates-77f1a451.js → kup-dates-964cc4dd.js} +127 -7
- package/dist/esm/kup-drawer.entry.js +4 -4
- package/dist/esm/kup-echart.entry.js +3 -3
- package/dist/esm/kup-editor.entry.js +3 -3
- package/dist/esm/kup-family-tree.entry.js +21 -26
- 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 +8 -8
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-9ccdaa27.js → kup-manager-d7b61781.js} +1 -1
- 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-373880b5.js → kup-planner-renderer-helper-64388bf8.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-9249bf18.entry.js → p-0b674619.entry.js} +1 -1
- package/dist/ketchup/{p-be04cb85.entry.js → p-0e070e9c.entry.js} +1 -1
- package/dist/ketchup/p-0f97523f.entry.js +1 -0
- package/dist/ketchup/{p-74c6c382.js → p-13118466.js} +1 -1
- package/dist/ketchup/{p-f8aefe67.js → p-17f0cc01.js} +1 -1
- package/dist/ketchup/p-1e381f3d.js +1 -0
- package/dist/ketchup/{p-01fd9784.entry.js → p-1f9a5de9.entry.js} +1 -1
- package/dist/ketchup/{p-37d0e9e4.entry.js → p-207f8882.entry.js} +1 -1
- package/dist/ketchup/{p-43f50ba7.entry.js → p-273c4680.entry.js} +2 -2
- package/dist/ketchup/{p-17c33bed.entry.js → p-33699a63.entry.js} +1 -1
- package/dist/ketchup/{p-cabebabc.js → p-36edcc02.js} +1 -1
- package/dist/ketchup/{p-5f645f29.js → p-37390512.js} +1 -1
- package/dist/ketchup/p-3a9c45ff.entry.js +1 -0
- package/dist/ketchup/{p-8655b58a.entry.js → p-3ed784eb.entry.js} +1 -1
- package/dist/ketchup/{p-63dd560e.entry.js → p-47023eae.entry.js} +1 -1
- package/dist/ketchup/p-53570ac4.entry.js +1 -0
- package/dist/ketchup/p-5445b692.entry.js +1 -0
- package/dist/ketchup/{p-3357aa91.entry.js → p-551b95a9.entry.js} +1 -1
- package/dist/ketchup/{p-ecf63f95.entry.js → p-5540dd04.entry.js} +1 -1
- package/dist/ketchup/{p-b83c852d.entry.js → p-57b060e2.entry.js} +1 -1
- package/dist/ketchup/{p-885d0dd0.js → p-5c4b3914.js} +1 -1
- package/dist/ketchup/{p-6bf3ff2f.js → p-642fe1a3.js} +1 -1
- package/dist/ketchup/{p-c1257bb0.entry.js → p-6e8db402.entry.js} +1 -1
- package/dist/ketchup/{p-c8b6b65c.entry.js → p-798483ff.entry.js} +1 -1
- package/dist/ketchup/{p-8a291991.entry.js → p-79db04f9.entry.js} +1 -1
- package/dist/ketchup/{p-6766ca18.entry.js → p-87ab01df.entry.js} +2 -2
- package/dist/ketchup/{p-43e37416.js → p-9ef3e0eb.js} +1 -1
- package/dist/ketchup/p-ab080458.js +1 -0
- package/dist/ketchup/{p-6a59894e.entry.js → p-affac568.entry.js} +1 -1
- package/dist/ketchup/{p-da6ecaf5.entry.js → p-c875e6bb.entry.js} +1 -1
- package/dist/ketchup/{p-da6e388e.entry.js → p-c91a8416.entry.js} +1 -1
- package/dist/ketchup/{p-b6647af5.entry.js → p-cdd4c014.entry.js} +1 -1
- package/dist/ketchup/{p-a14160c1.entry.js → p-d09f2ae6.entry.js} +1 -1
- package/dist/ketchup/p-d2b66322.entry.js +1 -0
- package/dist/ketchup/p-da4f1ade.entry.js +1 -0
- package/dist/ketchup/{p-d3baddb1.entry.js → p-db78ec98.entry.js} +1 -1
- package/dist/ketchup/{p-346b17b4.entry.js → p-e333d2e1.entry.js} +1 -1
- package/dist/ketchup/{p-b803bf4b.entry.js → p-ebd8a151.entry.js} +2 -2
- package/dist/ketchup/{p-6ae996e1.entry.js → p-ed788afb.entry.js} +2 -2
- package/dist/ketchup/{p-26c10598.entry.js → p-ed961274.entry.js} +1 -1
- package/dist/ketchup/p-fde49142.entry.js +8 -0
- package/dist/types/components/kup-accordion/kup-accordion.d.ts +0 -5
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +2 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +2 -4
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +0 -5
- package/dist/types/components.d.ts +4 -23
- package/dist/types/managers/kup-dates/kup-dates.d.ts +10 -2
- package/package.json +1 -1
- package/dist/ketchup/p-87d242df.js +0 -1
- package/dist/ketchup/p-91846c17.entry.js +0 -1
- package/dist/ketchup/p-93dcbb39.js +0 -1
- package/dist/ketchup/p-99ff9e9c.entry.js +0 -1
- package/dist/ketchup/p-a6a12568.entry.js +0 -1
- package/dist/ketchup/p-b0c9b55c.entry.js +0 -1
- package/dist/ketchup/p-b780f3c6.entry.js +0 -1
- package/dist/ketchup/p-cfe822a5.entry.js +0 -1
- package/dist/ketchup/p-dcb80cbc.entry.js +0 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, u as KupDebugCategory, g as getProps, s as setProps } from './p-
|
|
2
|
+
import { k as kupManagerInstance, u as KupDebugCategory, g as getProps, s as setProps } from './p-e39b777a.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
4
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-f3faa212.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -186,7 +186,7 @@ const KupTypographyList$1 = /*@__PURE__*/ proxyCustomElement(class KupTypography
|
|
|
186
186
|
}
|
|
187
187
|
render() {
|
|
188
188
|
const typograhy = this.renderTypographys();
|
|
189
|
-
return (h(Host, { key: '
|
|
189
|
+
return (h(Host, { key: 'dfc7f97e2ec1b02bb6fada06eaf886ed0077f0b5' }, h("style", { key: '701a165da1e689cd5827aa4d8dfdcc7715e711f3' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '5a39d46931703da7d0a5341b4cb0d00660715050', id: componentWrapperId }, h("div", { key: 'a9c64db46bb31d4aa67140eee1f37ef02c7029c2', class: "typographies-wrapper" }, typograhy))));
|
|
190
190
|
}
|
|
191
191
|
disconnectedCallback() {
|
|
192
192
|
this.kupManager.theme.unregister(this);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, d as KupDynamicPositionPlacement, g as getProps, s as setProps } from './p-
|
|
2
|
+
import { k as kupManagerInstance, d as KupDynamicPositionPlacement, g as getProps, s as setProps } from './p-e39b777a.js';
|
|
3
3
|
import { a as FTypographyType, F as FTypography } from './p-ced0c3fc.js';
|
|
4
|
-
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
4
|
+
import { c as componentWrapperId, F as FImage, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-f3faa212.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-typography component.
|
|
@@ -262,7 +262,7 @@ const KupTypography$1 = /*@__PURE__*/ proxyCustomElement(class KupTypography ext
|
|
|
262
262
|
const classObjParent = {
|
|
263
263
|
'kup-typography--wrap': props.toolbar ? true : false,
|
|
264
264
|
};
|
|
265
|
-
return (h(Host, { key: '
|
|
265
|
+
return (h(Host, { key: 'a796fb665c5b6a0f9469cae8705d09a4055fefb8' }, h("style", { key: 'eb211372a21a52103910b3b4e431bced88a462a8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b8e99aabf408426c5580d460ec5e6d7334742393', id: componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, h(FTypography, Object.assign({ key: '59524a232931c198d4134675d0cff1ab329e5075' }, props)), this.infoIcon && (h(FImage, Object.assign({ key: 'b2c434102df3058f07eb464c09ab513259a49974' }, infoIcon, { onClick: async (event) => {
|
|
266
266
|
event.stopPropagation();
|
|
267
267
|
const el = event.currentTarget;
|
|
268
268
|
const data = await this.infoCallBack();
|
|
@@ -273,7 +273,7 @@ const KupTypography$1 = /*@__PURE__*/ proxyCustomElement(class KupTypography ext
|
|
|
273
273
|
else {
|
|
274
274
|
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
275
275
|
}
|
|
276
|
-
} }))), this.toolbar && (h(FImage, Object.assign({ key: '
|
|
276
|
+
} }))), this.toolbar && (h(FImage, Object.assign({ key: '2fd02b52d80376072e8c40deec1c393bf1b4a2cf' }, toolbarIcon, { onClick: async (event) => {
|
|
277
277
|
event.stopPropagation();
|
|
278
278
|
const el = event.currentTarget;
|
|
279
279
|
const data = await this.toolbarCallback();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupVerticalScroll$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupVerticalScroll$1, d as defineCustomElement$1 } from './p-cbc6b3d5.js';
|
|
2
2
|
|
|
3
3
|
const KupVerticalScroll = KupVerticalScroll$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -28,7 +28,7 @@ const TaskListTableDefault = /*@__PURE__*/ proxyCustomElement(class TaskListTabl
|
|
|
28
28
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h("div", { key: '
|
|
31
|
+
return (h("div", { key: 'e7368c350429accbf8713109fe99c73c4cb6a850', class: "taskListWrapper", style: {
|
|
32
32
|
fontFamily: this.fontFamily,
|
|
33
33
|
fontSize: this.fontSize,
|
|
34
34
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
2
|
import { K as KUP_PLANNER_MAIN_GANTT_ID } from './p-a0eeacbd.js';
|
|
3
|
-
import { a as KupDates } from './p-
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { a as KupDates } from './p-60e697f5.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-9a502c5d.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-3757ff31.js';
|
|
6
6
|
|
|
7
7
|
const columnWidthForTimeUnit = (timeUnit) => {
|
|
8
8
|
switch (timeUnit) {
|
|
@@ -519,7 +519,7 @@ const TaskList = /*@__PURE__*/ proxyCustomElement(class TaskList extends H {
|
|
|
519
519
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
520
520
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
521
521
|
}
|
|
522
|
-
return (h("div", { key: '
|
|
522
|
+
return (h("div", { key: 'f934b78d05a4851af330799a723b9afe0a2be36d', 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: '0ee50961a474dac562d97548df584e98c07360fa', class: `${this.horizontalContainerClass} ${this.scrollableTaskList ? 'horizontalContainerScrollable' : ''}`, style: this.ganttHeight
|
|
523
523
|
? { height: this.ganttHeight + 'px' }
|
|
524
524
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
525
525
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, F as Fragment } from './p-ef8cbd35.js';
|
|
2
|
-
import { a as KupDates } from './p-
|
|
2
|
+
import { a as KupDates } from './p-60e697f5.js';
|
|
3
3
|
import { c as createArrayFromNum } from './p-9aa93983.js';
|
|
4
4
|
|
|
5
5
|
const ganttTableModuleCss = ".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}.container{margin-top:var(--kup-space-04)}.scrollable{overflow-x:auto;scrollbar-width:0}.scrollable .project-wrapper{display:table}.scrollable .project{width:100% !important;display:table-row}.scrollable .project>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid var(--kup-border-subtle, #acacac);border-top:1px solid var(--kup-border-subtle, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-subtle, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-subtle, #acacac);border-bottom-right-radius:4px;border-top-right-radius:4px}.scrollable .subrow{width:100% !important;display:table-row}.scrollable .subrow>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .subrow>*:first-child{border-left:1px solid #acacac}.scrollable .subrow>*:last-child{border-right:1px solid #acacac}.scrollable .timeline{width:100% !important;display:table-row}.scrollable .timeline>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .timeline>*:first-child{border-left:1px solid #acacac}.scrollable .timeline>*:last-child{border-right:1px solid #acacac}.scrollable .project:has(+.subrow)>*{border-bottom-left-radius:0;border-bottom-right-radius:0}.scrollable::-webkit-scrollbar{width:0;height:0}.project{background:var(--kup-layer-1);border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);box-sizing:border-box;color:var(--kup-text-secondary);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center;padding:var(--kup-space-03)}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;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}.project .main{font-weight:700;width:100%;padding-left:4px;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}.subrow{cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;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}.subrow:last-of-type{border-bottom:1px solid var(--kup-border-subtle)}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.timeline{padding:var(--kup-space-03);cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;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}.timeline .main{font-weight:700;width:100%;padding-left:4px;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}";
|
|
@@ -13,22 +13,22 @@ const KupTaskListHeader = /*@__PURE__*/ proxyCustomElement(class KupTaskListHead
|
|
|
13
13
|
this.rowWidth = undefined;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '4efef768654d5ee326236b20138a45aac4428125', class: "ganttTable", style: {
|
|
17
17
|
fontFamily: this.fontFamily,
|
|
18
18
|
fontSize: this.fontSize,
|
|
19
|
-
} }, h("div", { key: '
|
|
19
|
+
} }, h("div", { key: '37faca5980c085750eb731dee64e3e3ed4a2897f', class: "ganttTable_Header", style: {
|
|
20
20
|
height: `${this.headerHeight - 2}px`,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, h("div", { key: '19d84c87983e55eb0af2c5a1a0e6cb173616bea5', class: "ganttTable_HeaderItem", style: {
|
|
22
22
|
minWidth: this.rowWidth,
|
|
23
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
23
|
+
} }, "\u00A0Name"), h("div", { key: '1e5526e24c54a2b1a648df22eec6e40a5a0ec0be', class: "ganttTable_HeaderSeparator", style: {
|
|
24
24
|
height: `${this.headerHeight * 0.5}px`,
|
|
25
25
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
26
|
-
} }), h("div", { key: '
|
|
26
|
+
} }), h("div", { key: 'e5a506727de0d36230317b9920840ef5ac26fa9f', class: "ganttTable_HeaderItem", style: {
|
|
27
27
|
minWidth: this.rowWidth,
|
|
28
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
28
|
+
} }, "\u00A0From"), h("div", { key: '3346d2674ee3c6d75fe524b70e26166d68850cd4', class: "ganttTable_HeaderSeparator", style: {
|
|
29
29
|
height: `${this.headerHeight * 0.5}px`,
|
|
30
30
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
31
|
-
} }), h("div", { key: '
|
|
31
|
+
} }), h("div", { key: '607b1f90fe2b97b614165e97c05926b2149f8e7c', class: "ganttTable_HeaderItem", style: {
|
|
32
32
|
minWidth: this.rowWidth,
|
|
33
33
|
} }, "\u00A0To"))));
|
|
34
34
|
}
|
|
@@ -356,7 +356,6 @@ class KupDates {
|
|
|
356
356
|
*/
|
|
357
357
|
isValidFormattedStringDate(date, format, strict, isJustTime = false, manageSeconds = false) {
|
|
358
358
|
let isValidDate = false;
|
|
359
|
-
const cleanedDate = this.cleanInputDateString(date);
|
|
360
359
|
let parsedDate = null;
|
|
361
360
|
if (format) {
|
|
362
361
|
const nDate = strict ? date : this.normalize(date, format);
|
|
@@ -369,13 +368,14 @@ class KupDates {
|
|
|
369
368
|
}
|
|
370
369
|
}
|
|
371
370
|
else {
|
|
372
|
-
parsedDate = this.normalize(
|
|
371
|
+
parsedDate = this.normalize(date);
|
|
373
372
|
isValidDate = parsedDate.isValid();
|
|
374
373
|
}
|
|
375
374
|
if (!isValidDate) {
|
|
376
375
|
return false;
|
|
377
376
|
}
|
|
378
377
|
let formattedDate = null;
|
|
378
|
+
const cleanedDate = this.cleanInputDateString(date);
|
|
379
379
|
if (format) {
|
|
380
380
|
formattedDate = dayjs(parsedDate).format(format);
|
|
381
381
|
}
|
|
@@ -393,7 +393,7 @@ class KupDates {
|
|
|
393
393
|
}
|
|
394
394
|
if (format != KupDatesFormats.ISO_TIME &&
|
|
395
395
|
format != KupDatesFormats.ISO_TIME_WITHOUT_SECONDS) {
|
|
396
|
-
options.year =
|
|
396
|
+
options.year = 'numeric'; // Always use 4-digit year for consistency
|
|
397
397
|
options.month = '2-digit';
|
|
398
398
|
options.day = '2-digit';
|
|
399
399
|
}
|
|
@@ -401,7 +401,21 @@ class KupDates {
|
|
|
401
401
|
formattedDate = formatObj.format(parsedDate.toDate());
|
|
402
402
|
}
|
|
403
403
|
const cleanedDateNew = this.cleanInputDateString(formattedDate);
|
|
404
|
-
|
|
404
|
+
// For dates with 2-digit years, we need to expand the original cleaned date for comparison
|
|
405
|
+
// But only for date formats, not time formats
|
|
406
|
+
let expandedCleanedDate = cleanedDate;
|
|
407
|
+
if (!isJustTime &&
|
|
408
|
+
cleanedDate.length === 6 &&
|
|
409
|
+
/^\d{6}$/.test(cleanedDate)) {
|
|
410
|
+
// This is likely DDMMYY format, expand the year part
|
|
411
|
+
const day = cleanedDate.substring(0, 2);
|
|
412
|
+
const month = cleanedDate.substring(2, 4);
|
|
413
|
+
const year = cleanedDate.substring(4, 6);
|
|
414
|
+
const yearNum = parseInt(year);
|
|
415
|
+
const fullYear = yearNum > 50 ? '19' + year : '20' + year;
|
|
416
|
+
expandedCleanedDate = day + month + fullYear;
|
|
417
|
+
}
|
|
418
|
+
isValidDate = cleanedDateNew == expandedCleanedDate;
|
|
405
419
|
return isValidDate;
|
|
406
420
|
}
|
|
407
421
|
/**
|
|
@@ -436,14 +450,120 @@ class KupDates {
|
|
|
436
450
|
}
|
|
437
451
|
/**
|
|
438
452
|
* Removes undesired characters in input string, for manage as date
|
|
439
|
-
*
|
|
440
|
-
*
|
|
453
|
+
* Handles dates with or without leading zeros by standardizing the format
|
|
454
|
+
* based on current locale (D/MM/YYYY, DD/MM/YYYY, etc.)
|
|
455
|
+
* @param input - Input date string (e.g., "1/12/2023", "01/12/2023", "1/1/23")
|
|
456
|
+
* @returns Cleaned string with standardized format for further processing
|
|
441
457
|
*/
|
|
442
458
|
cleanInputDateString(input) {
|
|
443
459
|
if (!input) {
|
|
444
460
|
return '';
|
|
445
461
|
}
|
|
446
|
-
|
|
462
|
+
if (this.isIsoDate(input)) {
|
|
463
|
+
return input;
|
|
464
|
+
}
|
|
465
|
+
// Get browser locale format to understand expected structure
|
|
466
|
+
const localeFormat = this.getDateFormat();
|
|
467
|
+
// Check if input contains separators (slash, dash, dot)
|
|
468
|
+
const separatorRegex = /[\/\-\.]/;
|
|
469
|
+
const hasSeparators = separatorRegex.test(input);
|
|
470
|
+
if (hasSeparators) {
|
|
471
|
+
// Split by separators to get individual parts
|
|
472
|
+
const parts = input.split(separatorRegex);
|
|
473
|
+
if (parts.length >= 2) {
|
|
474
|
+
// We have at least day and month (and possibly year)
|
|
475
|
+
const dayIndex = localeFormat.indexOf('DD');
|
|
476
|
+
const monthIndex = localeFormat.indexOf('MM');
|
|
477
|
+
const yearIndex = localeFormat.indexOf('YYYY');
|
|
478
|
+
// Create array to hold [day, month, year] in correct order based on locale
|
|
479
|
+
let orderedParts = ['', '', ''];
|
|
480
|
+
// Determine the order based on locale format positions
|
|
481
|
+
const positions = [
|
|
482
|
+
{ type: 'day', index: dayIndex, pos: 0 },
|
|
483
|
+
{ type: 'month', index: monthIndex, pos: 1 },
|
|
484
|
+
{ type: 'year', index: yearIndex, pos: 2 },
|
|
485
|
+
].sort((a, b) => a.index - b.index);
|
|
486
|
+
// Map input parts to correct positions
|
|
487
|
+
for (let i = 0; i < Math.min(parts.length, 3); i++) {
|
|
488
|
+
const targetPos = positions[i].pos;
|
|
489
|
+
orderedParts[targetPos] = parts[i].replace(/[^0-9]/g, '');
|
|
490
|
+
}
|
|
491
|
+
let [day, month, year] = orderedParts;
|
|
492
|
+
// Pad day and month with leading zeros if necessary
|
|
493
|
+
if (day && day.length === 1) {
|
|
494
|
+
day = '0' + day;
|
|
495
|
+
}
|
|
496
|
+
if (month && month.length === 1) {
|
|
497
|
+
month = '0' + month;
|
|
498
|
+
}
|
|
499
|
+
// Handle 2-digit years (convert to 4-digit)
|
|
500
|
+
if (year && year.length === 2) {
|
|
501
|
+
const yearNum = parseInt(year);
|
|
502
|
+
if (yearNum > 50) {
|
|
503
|
+
year = '19' + year;
|
|
504
|
+
}
|
|
505
|
+
else {
|
|
506
|
+
year = '20' + year;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
// Build result string based on locale format order, not logical order
|
|
510
|
+
let result = '';
|
|
511
|
+
// Create a map of components for easy access
|
|
512
|
+
const componentMap = {
|
|
513
|
+
day: day || '',
|
|
514
|
+
month: month || '',
|
|
515
|
+
year: year || '',
|
|
516
|
+
};
|
|
517
|
+
// Rebuild the string in the order they appear in locale format
|
|
518
|
+
for (let i = 0; i < positions.length; i++) {
|
|
519
|
+
const position = positions[i];
|
|
520
|
+
const component = componentMap[position.type];
|
|
521
|
+
if (component) {
|
|
522
|
+
result += component;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
return result;
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
// If no separators found, clean and return as before
|
|
529
|
+
const cleanedNumbers = input.replace(/[^0-9]/g, '').trim();
|
|
530
|
+
// For unseparated input, try to add padding based on common patterns
|
|
531
|
+
if (cleanedNumbers.length >= 3 && cleanedNumbers.length <= 8) {
|
|
532
|
+
// This handles cases like "1122023" -> should become "01122023"
|
|
533
|
+
// or "112023" -> should become "011203" (with 2-digit year handling)
|
|
534
|
+
return this.padUnseparatedDate(cleanedNumbers);
|
|
535
|
+
}
|
|
536
|
+
return cleanedNumbers;
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Helper method to pad unseparated date strings (e.g., "1122023" -> "01122023")
|
|
540
|
+
* @param input - Clean numeric string
|
|
541
|
+
* @returns Padded string with leading zeros where appropriate
|
|
542
|
+
*/
|
|
543
|
+
padUnseparatedDate(input) {
|
|
544
|
+
const length = input.length;
|
|
545
|
+
switch (length) {
|
|
546
|
+
case 3: // e.g., "123" -> "0123" (day=01, month=23 - invalid, but let validation handle it)
|
|
547
|
+
return '0' + input;
|
|
548
|
+
case 5: // e.g., "11223" -> "011223" (day=01, month=12, year=23)
|
|
549
|
+
return '0' + input;
|
|
550
|
+
case 6: // e.g., "112023" -> "01122023" OR "300924" -> "300924" (DDMMYY format, don't pad)
|
|
551
|
+
// Check if the last 4 characters could be a year (19xx or 20xx)
|
|
552
|
+
const lastFour = input.substring(2);
|
|
553
|
+
const yearCandidate = parseInt(lastFour);
|
|
554
|
+
if (yearCandidate >= 1900 && yearCandidate <= 2099) {
|
|
555
|
+
// This looks like DMYYYY format (e.g., "112023" = 1-12-2023)
|
|
556
|
+
return '0' + input;
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
// This looks like DDMMYY format (e.g., "300924" = 30-09-24)
|
|
560
|
+
return input;
|
|
561
|
+
}
|
|
562
|
+
case 7: // e.g., "1122023" -> "01122023" (day=01, month=12, year=2023)
|
|
563
|
+
return '0' + input;
|
|
564
|
+
default:
|
|
565
|
+
return input;
|
|
566
|
+
}
|
|
447
567
|
}
|
|
448
568
|
/**
|
|
449
569
|
* Returns a computed ISO date/time from a partial string.
|
|
@@ -66,7 +66,7 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h("div", { key: '
|
|
69
|
+
return (h("div", { key: 'aacfee9b9521a7da47c42959ddba11cc13a2d86e', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'c4c45b5f181e23ead0bdb3dc9b6cf5e78458cf6e', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
70
70
|
}
|
|
71
71
|
get rootElement() { return this; }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-
|
|
3
|
-
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a9 as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a7 as KupPointerEventTypes, aj as KupDragEffect, aA as kupDraggableAttr, al as KupDropEventTypes, J as KupLanguageSearch } from './p-e39b777a.js';
|
|
3
|
+
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-f3faa212.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-e39b777a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-f3faa212.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-5882e117.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -46255,7 +46255,7 @@ const KupEditor = /*@__PURE__*/ proxyCustomElement(class KupEditor extends H {
|
|
|
46255
46255
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
46256
46256
|
}
|
|
46257
46257
|
render() {
|
|
46258
|
-
return (h(Host, { key: '
|
|
46258
|
+
return (h(Host, { key: '031333deffb0732e544076f155555bb62bc53190' }, h("div", { key: '0f312ec339138f3a62afdf742660606526d11e70', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }), __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this) && (h("textarea", { key: '0e2bc200ff30a15f624299a9577ec910134dc3d1', id: '' + this.rootElement.id + '-textarea', value: this.initialValue, ref: (el) => (__classPrivateFieldSet(this, _KupEditor_textareaRef, el, "f")), onInput: (e) => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this, e.target.value), placeholder: "Type your text here...", readOnly: this.isReadOnly, style: {
|
|
46259
46259
|
height: this.editorHeight || 'auto',
|
|
46260
46260
|
}, class: "kup-editor-textarea" })))));
|
|
46261
46261
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h as h$1 } from './p-ef8cbd35.js';
|
|
2
|
-
import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-
|
|
2
|
+
import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-2cb9fa58.js';
|
|
3
3
|
import { K as KUP_PLANNER_MAIN_GANTT_ID, f as KUP_PLANNER_SECONDARY_GANTT_ID } from './p-a0eeacbd.js';
|
|
4
|
-
import { a as KupDates } from './p-
|
|
5
|
-
import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-
|
|
4
|
+
import { a as KupDates } from './p-60e697f5.js';
|
|
5
|
+
import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-aa882232.js';
|
|
6
6
|
import { h } from './p-3aae989f.js';
|
|
7
|
-
import { d as defineCustomElement$e } from './p-
|
|
8
|
-
import { d as defineCustomElement$d } from './p-
|
|
9
|
-
import { d as defineCustomElement$c } from './p-
|
|
10
|
-
import { d as defineCustomElement$a } from './p-
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$4 } from './p-
|
|
16
|
-
import { d as defineCustomElement$3 } from './p-
|
|
17
|
-
import { d as defineCustomElement$2 } from './p-
|
|
18
|
-
import { d as defineCustomElement$1 } from './p-
|
|
7
|
+
import { d as defineCustomElement$e } from './p-9a502c5d.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './p-3757ff31.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-980686db.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './p-9a617844.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-bdecbc93.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-dc1ce1b4.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-bbb25c58.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-9d13f3da.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-5b1056e4.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-23d0f0c7.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-767fcf91.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-cbc6b3d5.js';
|
|
19
19
|
|
|
20
20
|
const CustomTooltipHOC = () => {
|
|
21
21
|
const CustomTooltip = () => h("div", null);
|
|
@@ -240,13 +240,13 @@ const KupPlannerRenderer = /*@__PURE__*/ proxyCustomElement(class KupPlannerRend
|
|
|
240
240
|
}
|
|
241
241
|
render() {
|
|
242
242
|
var _a, _b, _c;
|
|
243
|
-
return (h$1("div", { key: '
|
|
243
|
+
return (h$1("div", { key: 'c1cc0fe4d44331b5b75fb35b0afbd913caf7f622', class: "planner-render" }, h$1("kup-switcher", { key: '3c125419b5912ff9c9b9c24adba71dda785fa01d', timeUnitChange: (timeUnit) => {
|
|
244
244
|
var _a, _b;
|
|
245
245
|
(_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
|
|
246
246
|
this.timeUnit = timeUnit;
|
|
247
247
|
this.viewDate = undefined;
|
|
248
248
|
this.scrollX = -1;
|
|
249
|
-
} }), this.props && (h$1("div", { key: '
|
|
249
|
+
} }), this.props && (h$1("div", { key: 'cf92a3212f97ec496aa30ff6b7eec91e831e4b14', style: {
|
|
250
250
|
display: 'flex',
|
|
251
251
|
flexDirection: 'column',
|
|
252
252
|
} }, h$1("kup-gantt", Object.assign({ ref: (el) => (this.mainGantt = el), ganttId: KUP_PLANNER_MAIN_GANTT_ID, key: KUP_PLANNER_MAIN_GANTT_ID, filter: this.props.mainGantt.filter, hideLabel: this.props.mainGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.mainGantt.hideDependencies, ganttHeight: this.props.mainGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.tasks, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.mainGantt.stylingOptions, { TaskListHeader: this.props.mainGantt.taskListHeaderProject, TaskListTable: this.props.mainGantt.taskListTableProject, TooltipContent: (_a = this.props.mainGantt.tooltipContent) !== null && _a !== void 0 ? _a : CustomTooltipHOC(), barClick: (task) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, f as forceUpdate } from './p-ef8cbd35.js';
|
|
2
|
-
import { g as ganttDateRangeFromTask, s as seedDates, d as defineCustomElement$5 } from './p-
|
|
2
|
+
import { g as ganttDateRangeFromTask, s as seedDates, d as defineCustomElement$5 } from './p-2cb9fa58.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks } from './p-9aa93983.js';
|
|
4
|
-
import { c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection, d as defineCustomElement$9 } from './p-
|
|
5
|
-
import { d as defineCustomElement$c } from './p-
|
|
6
|
-
import { d as defineCustomElement$b } from './p-
|
|
7
|
-
import { d as defineCustomElement$a } from './p-
|
|
8
|
-
import { d as defineCustomElement$8 } from './p-
|
|
9
|
-
import { d as defineCustomElement$7 } from './p-
|
|
10
|
-
import { d as defineCustomElement$6 } from './p-
|
|
11
|
-
import { d as defineCustomElement$4 } from './p-
|
|
12
|
-
import { d as defineCustomElement$3 } from './p-
|
|
13
|
-
import { d as defineCustomElement$2 } from './p-
|
|
14
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection, d as defineCustomElement$9 } from './p-9a617844.js';
|
|
5
|
+
import { d as defineCustomElement$c } from './p-9a502c5d.js';
|
|
6
|
+
import { d as defineCustomElement$b } from './p-3757ff31.js';
|
|
7
|
+
import { d as defineCustomElement$a } from './p-aa882232.js';
|
|
8
|
+
import { d as defineCustomElement$8 } from './p-bdecbc93.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-dc1ce1b4.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-9d13f3da.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-5b1056e4.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-23d0f0c7.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-767fcf91.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-cbc6b3d5.js';
|
|
15
15
|
|
|
16
16
|
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}";
|
|
17
17
|
const KupGanttStyle0 = kupGanttCss;
|
|
@@ -579,9 +579,9 @@ const KupGantt = /*@__PURE__*/ proxyCustomElement(class KupGantt extends H {
|
|
|
579
579
|
TaskListHeader: this.TaskListHeader,
|
|
580
580
|
TaskListTable: this.TaskListTable
|
|
581
581
|
};
|
|
582
|
-
return (h("div", { key: '
|
|
582
|
+
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) => {
|
|
583
583
|
this.taskListScrollWidth = width;
|
|
584
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
584
|
+
}, 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 }))));
|
|
585
585
|
}
|
|
586
586
|
get rootElement() { return this; }
|
|
587
587
|
static get watchers() { return {
|
|
@@ -14,11 +14,11 @@ const KupCustomTaskListHeader = /*@__PURE__*/ proxyCustomElement(class KupCustom
|
|
|
14
14
|
this.fontSize = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '23f119a1f4df86a9c9518014672600827ef3946a', class: "custom-task-list-wrapper", style: {
|
|
18
18
|
height: '25px',
|
|
19
19
|
fontFamily: this.fontFamily,
|
|
20
20
|
fontSize: this.fontSize,
|
|
21
|
-
} }, h("div", { key: '
|
|
21
|
+
} }, 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")))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return KupCustomTaskListHeaderStyle0; }
|
|
24
24
|
}, [0, "kup-custom-task-list-header", {
|
|
@@ -1402,13 +1402,13 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1402
1402
|
// }
|
|
1403
1403
|
tickX += this.columnWidth;
|
|
1404
1404
|
}
|
|
1405
|
-
return (h("svg", { key: '
|
|
1405
|
+
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) => {
|
|
1406
1406
|
return task.barChildren.map((child) => {
|
|
1407
1407
|
if (task.type !== 'timeline') {
|
|
1408
1408
|
this.renderKupArrow(task, child);
|
|
1409
1409
|
}
|
|
1410
1410
|
});
|
|
1411
|
-
})), h("g", { key: '
|
|
1411
|
+
})), h("g", { key: '92d9c57208504e793e94742c5d0a718b2a1ffa5e', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1412
1412
|
const forbidResize = task.type === 'project';
|
|
1413
1413
|
return (h("g", { onKeyDown: (e) => {
|
|
1414
1414
|
switch (e.key) {
|
|
@@ -1468,7 +1468,7 @@ const KupGridRenderer = /*@__PURE__*/ proxyCustomElement(class KupGridRenderer e
|
|
|
1468
1468
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1469
1469
|
}
|
|
1470
1470
|
})()));
|
|
1471
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1471
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'e42b2b38135aab0c22be661f29774c02341c3f87', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1472
1472
|
}
|
|
1473
1473
|
static get watchers() { return {
|
|
1474
1474
|
"columnWidth": ["updateXStep"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
|
-
import { d as defineCustomElement$2 } from './p-
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
2
|
+
import { d as defineCustomElement$2 } from './p-aa882232.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-9a617844.js';
|
|
4
4
|
|
|
5
5
|
const TaskGantt = /*@__PURE__*/ proxyCustomElement(class TaskGantt extends H {
|
|
6
6
|
constructor() {
|
|
@@ -39,12 +39,12 @@ const TaskGantt = /*@__PURE__*/ proxyCustomElement(class TaskGantt extends H {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'e2b4a8dff37cb823329dd6cbf6ea4ed7a9b81e33', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '156ef3dc8e066fa143ca2b27c945e5487299b87b', 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: '994c441039334c518f9c45bcb1b197ecc0ca5073', ref: (el) => (this.horizontalContainerRef = el), class: "horizontalContainer", style: this.ganttHeight
|
|
43
43
|
? {
|
|
44
44
|
height: `${this.ganttHeight}px`,
|
|
45
45
|
width: `${this.gridProps.svgWidth}px`,
|
|
46
46
|
}
|
|
47
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
47
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: 'f7b9656624c914819676bebc1891d9d388c7bfe7' }, newBarProps)))));
|
|
48
48
|
}
|
|
49
49
|
get rootElement() { return this; }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-e39b777a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-f3faa212.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -316,11 +316,11 @@ const KupGanttCalendar = /*@__PURE__*/ proxyCustomElement(class KupGanttCalendar
|
|
|
316
316
|
this.simplifiedHeader =
|
|
317
317
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
318
318
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
319
|
-
return (h("svg", { key: '
|
|
319
|
+
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
|
|
320
320
|
? 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))))
|
|
321
321
|
: 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 && (
|
|
322
322
|
// current date indicator
|
|
323
|
-
h("circle", { key: '
|
|
323
|
+
h("circle", { key: '8a301e27afb5737f85421156a63ce577096846a7', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
324
324
|
}
|
|
325
325
|
static get style() { return KupGanttCalendarStyle0; }
|
|
326
326
|
}, [0, "kup-gantt-calendar", {
|