@sme.up/ketchup 11.0.0-SNAPSHOT-20260114090748 → 11.0.0-SNAPSHOT-20260120152125
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-a903bc2f.js → f-cell-214d1e20.js} +4 -4
- package/dist/cjs/{f-chip-5593bdd7.js → f-chip-3f9b076c.js} +1 -1
- package/dist/cjs/{f-object-field-a208a86e.js → f-object-field-af4a33b1.js} +2 -2
- package/dist/cjs/{f-paginator-utils-1dd80ec2.js → f-paginator-utils-c9ca0217.js} +1 -1
- package/dist/cjs/{f-text-field-83dd8cef.js → f-text-field-d0153948.js} +1 -1
- package/dist/cjs/index-c7d441d8.js +0 -4
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +46 -46
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-63838dd1.js → kup-data-table-helper-fd915a34.js} +2 -2
- package/dist/cjs/{kup-dates-8191989e.js → kup-dates-b7e6eaa1.js} +83 -21
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-3dcd66b1.js → kup-manager-2e996943.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-renderer-helper-298e1b80.js → kup-planner-renderer-helper-1580e8bf.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/kup-txt.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/index.js +0 -4
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-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 +83 -0
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- 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-b5ccc0d2.js → p-00c209ca.js} +4 -4
- package/dist/components/p-0462f723.js +7 -0
- package/dist/components/{p-e8d83de0.js → p-0a3ba7ca.js} +1 -1
- package/dist/components/{p-2b1f8c53.js → p-0b5ab929.js} +2 -2
- package/dist/components/{p-77d5a7b9.js → p-16addde1.js} +5 -5
- package/dist/components/{p-f57a4a4e.js → p-1ed5cf57.js} +1 -1
- package/dist/components/{p-74fd0cb8.js → p-306095cc.js} +4 -4
- package/dist/components/{p-b33ec213.js → p-30b8d109.js} +1 -1
- package/dist/components/{p-bd0dfa65.js → p-31698814.js} +17 -17
- package/dist/components/{p-1119d80c.js → p-3f042d51.js} +14 -14
- package/dist/components/{p-4d238cc9.js → p-42c21356.js} +84 -1
- package/dist/components/{p-f852dbfa.js → p-7a2345f3.js} +2 -2
- package/dist/components/{p-de5d3537.js → p-8b4721ce.js} +2 -2
- package/dist/components/{p-b6f1319e.js → p-9bd8fda8.js} +2 -2
- package/dist/components/{p-56a721d8.js → p-b4f36e67.js} +40 -40
- package/dist/components/{p-9c09f25d.js → p-b9112167.js} +3 -3
- package/dist/components/{p-7afff356.js → p-bf714882.js} +2 -2
- package/dist/components/{p-56da9a2f.js → p-d350b7f8.js} +1 -1
- package/dist/components/{p-bf75edc9.js → p-d67a8402.js} +1 -1
- package/dist/components/{p-98036b1e.js → p-de0a9c9a.js} +7 -7
- package/dist/components/{p-537a6b71.js → p-ebaa82a6.js} +4 -4
- package/dist/components/{p-a0689c36.js → p-fd319759.js} +2 -2
- package/dist/components/{p-d12a3553.js → p-ff511626.js} +2 -2
- package/dist/esm/{f-cell-f47c5ab4.js → f-cell-4d944700.js} +4 -4
- package/dist/esm/{f-chip-c2d256a9.js → f-chip-3b324fa4.js} +1 -1
- package/dist/esm/{f-object-field-f3c12136.js → f-object-field-f86aa591.js} +2 -2
- package/dist/esm/{f-paginator-utils-f1bb71b3.js → f-paginator-utils-2a9c5390.js} +1 -1
- package/dist/esm/{f-text-field-7d154a87.js → f-text-field-588cfd75.js} +1 -1
- package/dist/esm/index-9b0f4a0d.js +0 -4
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +46 -46
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-f3423019.js → kup-data-table-helper-b74121bf.js} +2 -2
- package/dist/esm/{kup-dates-485a12d2.js → kup-dates-6293c758.js} +84 -20
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-d826cc2e.js → kup-manager-e1178fd5.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/{kup-planner-renderer-helper-75b90431.js → kup-planner-renderer-helper-9be26115.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-f1caa4b7.entry.js → p-0289ba55.entry.js} +1 -1
- package/dist/ketchup/{p-084c2a71.entry.js → p-08deee81.entry.js} +1 -1
- package/dist/ketchup/{p-93985707.entry.js → p-111aa495.entry.js} +1 -1
- package/dist/ketchup/p-1a736d54.js +1 -0
- package/dist/ketchup/{p-3bd9fdd3.entry.js → p-1ca4fdb7.entry.js} +1 -1
- package/dist/ketchup/{p-5767cc14.entry.js → p-1e1246db.entry.js} +1 -1
- package/dist/ketchup/{p-f36ca98a.entry.js → p-279093b3.entry.js} +1 -1
- package/dist/ketchup/{p-adbea6ea.entry.js → p-298ea30a.entry.js} +1 -1
- package/dist/ketchup/{p-7d5acada.entry.js → p-2b5ff06f.entry.js} +1 -1
- package/dist/ketchup/{p-0a1f987d.js → p-377bb2c8.js} +1 -1
- package/dist/ketchup/{p-59c4caef.entry.js → p-39ebc353.entry.js} +1 -1
- package/dist/ketchup/{p-fe093639.entry.js → p-45eeb4df.entry.js} +1 -1
- package/dist/ketchup/{p-5a1c9b2e.entry.js → p-47e4085d.entry.js} +1 -1
- package/dist/ketchup/{p-51f49c1a.js → p-6296f511.js} +1 -1
- package/dist/ketchup/p-6b1c3be6.js +1 -0
- package/dist/ketchup/{p-2225fb63.entry.js → p-6f1dc69c.entry.js} +1 -1
- package/dist/ketchup/{p-8bd02d63.entry.js → p-6fb98207.entry.js} +1 -1
- package/dist/ketchup/{p-d3f29338.entry.js → p-717a52e1.entry.js} +1 -1
- package/dist/ketchup/{p-871bc079.entry.js → p-73759501.entry.js} +1 -1
- package/dist/ketchup/{p-fd7985e9.entry.js → p-7b6425d7.entry.js} +1 -1
- package/dist/ketchup/{p-71cb2203.entry.js → p-823334ae.entry.js} +1 -1
- package/dist/ketchup/p-85472a9d.entry.js +16 -0
- package/dist/ketchup/{p-4959041b.entry.js → p-8e9667ee.entry.js} +1 -1
- package/dist/ketchup/{p-733440d8.entry.js → p-96748ac0.entry.js} +1 -1
- package/dist/ketchup/{p-598a35eb.entry.js → p-98863ce0.entry.js} +1 -1
- package/dist/ketchup/{p-f1db1ad1.entry.js → p-9ccefbcd.entry.js} +1 -1
- package/dist/ketchup/{p-1572b5e4.entry.js → p-9f0db6e1.entry.js} +1 -1
- package/dist/ketchup/p-a8f94382.js +1 -0
- package/dist/ketchup/{p-3ba655c1.entry.js → p-ad0d46d6.entry.js} +1 -1
- package/dist/ketchup/{p-18fe3257.entry.js → p-c24d29a6.entry.js} +1 -1
- package/dist/ketchup/{p-3d54b9e7.entry.js → p-c8d90782.entry.js} +1 -1
- package/dist/ketchup/{p-155cf5a8.entry.js → p-d127bb8d.entry.js} +1 -1
- package/dist/ketchup/{p-164a140f.entry.js → p-d518df12.entry.js} +1 -1
- package/dist/ketchup/{p-665598d2.entry.js → p-d6cc8f51.entry.js} +1 -1
- package/dist/ketchup/{p-16b66614.js → p-df6afd6e.js} +1 -1
- package/dist/ketchup/{p-a990c2a8.js → p-e06ea235.js} +1 -1
- package/dist/ketchup/{p-d733cb55.entry.js → p-f0496985.entry.js} +2 -2
- package/dist/ketchup/{p-2df5bf04.js → p-f9e0cea2.js} +1 -1
- package/dist/ketchup/{p-db2abe74.entry.js → p-fd60b6b6.entry.js} +1 -1
- package/dist/ketchup/p-fddd1cdb.js +1 -0
- package/dist/types/components.d.ts +0 -67
- package/package.json +1 -2
- package/dist/cjs/kup-pdf.cjs.entry.js +0 -76601
- package/dist/collection/assets/pdf.js +0 -15
- package/dist/collection/components/kup-pdf/kup-pdf-declarations.js +0 -8
- package/dist/collection/components/kup-pdf/kup-pdf.css +0 -169
- package/dist/collection/components/kup-pdf/kup-pdf.js +0 -283
- package/dist/components/kup-pdf.d.ts +0 -11
- package/dist/components/kup-pdf.js +0 -76773
- package/dist/components/p-5882e117.js +0 -26
- package/dist/esm/kup-pdf.entry.js +0 -76597
- package/dist/ketchup/p-264ee487.js +0 -1
- package/dist/ketchup/p-5d594ebd.js +0 -1
- package/dist/ketchup/p-6172f9ec.js +0 -1
- package/dist/ketchup/p-b2825af4.entry.js +0 -44
- package/dist/ketchup/p-b60952e5.entry.js +0 -16
- package/dist/ketchup/p-f6656fb8.js +0 -1
- package/dist/types/components/kup-pdf/kup-pdf-declarations.d.ts +0 -7
- package/dist/types/components/kup-pdf/kup-pdf.d.ts +0 -47
|
@@ -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-8b4721ce.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-b4f36e67.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: '29ca3b4e04ec2cba980edc7b6fd1172319d3b9e8' }, h("style", { key: '40226fadb9e020b1302fa3e09daa8520153f68e9' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '34e185d799689dcd44e5251f1c6ea68563bb3b5e', id: componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, h(FTypography, Object.assign({ key: '4a2aa1c131c06ff2b9ea1047afa8d0550c74cfcb' }, props)), this.infoIcon && (h(FImage, Object.assign({ key: '90c63c2d4cda0c8ae0d5181dacc597da1e3f51b5' }, 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: '965b4962448e4d505fec34a23a4bc9680df84d6c' }, 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-fd319759.js';
|
|
2
2
|
|
|
3
3
|
const KupVerticalScroll = KupVerticalScroll$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -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-7a2345f3.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-306095cc.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: '93a20ce59f9db6190919497ba41fba13b14c7201', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '43eb21a9a38f36c308cbea5e004a9d787f54e503', 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: '39e47edaafb98a1bd3f795a018582de9af120992', 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: 'fa3d7700167be04ca1fdbab067d54d006dde39f0' }, newBarProps)))));
|
|
48
48
|
}
|
|
49
49
|
get rootElement() { return this; }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { commonjsGlobal as c, getDefaultExportFromCjs as g };
|
|
@@ -13,7 +13,7 @@ const StandardTooltipContent = /*@__PURE__*/ proxyCustomElement(class StandardTo
|
|
|
13
13
|
this.fontFamily = undefined;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '09ecde1a9dfe3de75a8b5eac05bd9b0cbebcdad4', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'a04ac0fd2e9f9d138bdf8b349093f6482eab8698', style: { fontSize: `${parseInt(this.fontSize) + 6}px` } }, `${this.task.name}: ${this.task.start.getDate()}-${this.task.start.getMonth() + 1}-${this.task.start.getFullYear()} - ${this.task.end.getDate()}-${this.task.end.getMonth() + 1}-${this.task.end.getFullYear()}`), this.task.end.getTime() - this.task.start.getTime() !== 0 && (h("p", { key: 'b3a6ec6cd81a6f4e29942abc3a09cda4fd7e9b75', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'e5fdb8c38b60410cd4d07a91a805a07b364cdf40', class: "tooltipDefaultContainerParagraph" }, !!this.task.progress && `Progress: ${this.task.progress} %`)));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return KupStandardTooltipStyle0; }
|
|
19
19
|
}, [1, "kup-standard-tooltip", {
|
|
@@ -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-8b4721ce.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-b4f36e67.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -60,20 +60,20 @@ const HorizontalScroll = /*@__PURE__*/ proxyCustomElement(class HorizontalScroll
|
|
|
60
60
|
var _a, _b;
|
|
61
61
|
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
|
|
62
62
|
const width = +this.listCellWidth.replace('px', '');
|
|
63
|
-
return (h(Fragment, { key: '
|
|
64
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
63
|
+
return (h(Fragment, { key: 'c885724cedecca212bf3c1372421b41b53e2f92d' }, h("div", { key: '7a3bfbb59ce335f157a57923cfbdf04aeaaa77b6', class: "scroll-container" }, this.scrollableTaskList &&
|
|
64
|
+
this.taskListScrollWidth > width && (h("div", { key: '4e0ee89fc96df870dda84a2ee96bc1015dfcf106', dir: "ltr", style: {
|
|
65
65
|
margin: this.rtl
|
|
66
66
|
? `0px 20px 0px 20px`
|
|
67
67
|
: `0px 20px 0px 20px`,
|
|
68
68
|
maxWidth: `${width + 20}px`,
|
|
69
69
|
minWidth: `${width + 20}px`,
|
|
70
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
70
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '3fc810f39baacbff745d12e68be4408fc5c530f9', style: {
|
|
71
71
|
width: `${this.taskListScrollWidth}px`,
|
|
72
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
72
|
+
}, class: "scroll" }))), h("div", { key: '5cd7f88b3a40ac77aedb12049b01fa8b0d6c8023', dir: "ltr", style: {
|
|
73
73
|
margin: this.rtl
|
|
74
74
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
75
75
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
76
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
76
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: 'e1c72eb41e61444f377c8baf692077de8c7cab3f', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
77
77
|
}
|
|
78
78
|
get rootElement() { return this; }
|
|
79
79
|
static get watchers() { return {
|
|
@@ -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: '7c84a13c885619f2f158faff8de41bba63a0540b', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '58ceb96ec388a2f8e3b97f76f44b2dc6ecf3a4b1', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
70
70
|
}
|
|
71
71
|
get rootElement() { return this; }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, F as Fragment } from './p-ef8cbd35.js';
|
|
2
2
|
import { d as defaultStylingOptions } from './p-a0eeacbd.js';
|
|
3
3
|
import { i as isKeyboardEvent } from './p-9aa93983.js';
|
|
4
|
-
import { c as commonjsGlobal } from './p-
|
|
4
|
+
import { c as commonjsGlobal } from './p-0462f723.js';
|
|
5
5
|
|
|
6
6
|
const convertToBarTasks = (tasks, dates, columnWidth, rowHeight, taskHeight, projectHeight, timelineHeight, barCornerRadius, handleWidth, rtl, barProgressColor, barProgressSelectedColor, barBackgroundColor, barBackgroundSelectedColor, projectProgressColor, projectProgressSelectedColor, projectBackgroundColor, projectBackgroundSelectedColor, showSecondaryDates) => {
|
|
7
7
|
let barTasks = tasks.map((t, i) => {
|
|
@@ -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: '7338051a619c096994b9f9d1c8a0b3a4cd4d1f6f', 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: 'df4893111766d8b0453ef0ef9691f5d8ee3756ea', class: "grid" }, h("g", { key: '333b231cb5c5b6cf50f6f0e9a65f13c943163619', class: "rows" }, gridRows), h("g", { key: 'a85aba833d3b28d366f1d5aa2ff452ddfd92918c', class: "rowLines" }, rowLines), h("g", { key: '965f8d588ab2fed8f5f76379ccff210aa1330e63', class: "ticks" }, ticks)), h("g", { key: '16e053170b979d829a6daa5d364107110b580ba6', class: "content" }, this.currentDateIndicator && (h("rect", { key: '56d14f96f3e0d262a4299840f72610f760a7043d', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '7a591ebcff7125d8c761ed97d35ad1104bd64384', 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: '55ace30ea5baf513d50d93984f950ce937eff241', 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: 'd26ab919febdfc93a47046c73d3deeaeb78934e2', 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: '111bf8bf2ea81696dfe9de9cecd2ed2865183717', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1472
1472
|
}
|
|
1473
1473
|
static get watchers() { return {
|
|
1474
1474
|
"columnWidth": ["updateXStep"],
|
|
@@ -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: 'c35ffa9ca3c1afbe1ac459d053dde5fed09ecd9c', class: "taskListWrapper", style: {
|
|
32
32
|
fontFamily: this.fontFamily,
|
|
33
33
|
fontSize: this.fontSize,
|
|
34
34
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -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-ebaa82a6.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-42c21356.js';
|
|
5
|
+
import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-7a2345f3.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-9bd8fda8.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './p-d67a8402.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-3f042d51.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './p-306095cc.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-16addde1.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-0a3ba7ca.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-d350b7f8.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-00c209ca.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-de0a9c9a.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-30b8d109.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-1ed5cf57.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-fd319759.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: '31bcd14890d1f90ebafa98b012c87e1cf53c36b0', class: "planner-render" }, h$1("kup-switcher", { key: '3b6e5d1e15fb0669ef16d6521ec07e12ace206a9', 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: '56232f813d1f4fe8bfd89c2a40cc8e9ceb93c171', 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-ebaa82a6.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-306095cc.js';
|
|
5
|
+
import { d as defineCustomElement$c } from './p-9bd8fda8.js';
|
|
6
|
+
import { d as defineCustomElement$b } from './p-d67a8402.js';
|
|
7
|
+
import { d as defineCustomElement$a } from './p-7a2345f3.js';
|
|
8
|
+
import { d as defineCustomElement$8 } from './p-16addde1.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-0a3ba7ca.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-00c209ca.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-de0a9c9a.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-30b8d109.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-1ed5cf57.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-fd319759.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: 'd2191f52fdb06bb2fe99cb907eef5baa5569038f', class: "gannt-wrapper-main" }, h("div", { key: 'fd6cb0c0a318e60a4374e9cbe9716a32e74f31d9', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '61a876e9c49e4c724711f602ab605a6582bbeb5a', 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: 'fc58fbada55dec4ebc38c33c7380a3171c588259', 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: 'c18f303db3b4bcd3e3650aec4689edfa2d895347', 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: '4d8cc49fb8a3da620d874118d7e31f7c3644ce12', 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: 'd54604677d5ac0ba8d5a9b1036cda1f409ad44f1', 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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal } from './p-
|
|
1
|
+
import { c as commonjsGlobal } from './p-0462f723.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Supported locales.
|
|
@@ -308,6 +308,31 @@ class KupDates {
|
|
|
308
308
|
if (!format) {
|
|
309
309
|
format = 'L'; // MM/DD/YYYY, DD/MM/YYYY depending on locale
|
|
310
310
|
}
|
|
311
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
312
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
313
|
+
const yearStr = input.substring(0, 4);
|
|
314
|
+
const year = Number(yearStr);
|
|
315
|
+
if (year >= 1 && year <= 999) {
|
|
316
|
+
// Use native Date for early years
|
|
317
|
+
const nativeDate = new Date(input);
|
|
318
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
319
|
+
// Manual formatting for common ISO formats
|
|
320
|
+
if (format === 'YYYY-MM-DD' ||
|
|
321
|
+
format === KupDatesFormats.ISO_DATE) {
|
|
322
|
+
return nativeDate.toISOString().substring(0, 10);
|
|
323
|
+
}
|
|
324
|
+
else if (format === 'YYYY-MM-DD HH:mm:ss' ||
|
|
325
|
+
format === KupDatesFormats.ISO_DATE_TIME) {
|
|
326
|
+
return nativeDate
|
|
327
|
+
.toISOString()
|
|
328
|
+
.substring(0, 19)
|
|
329
|
+
.replace('T', ' ');
|
|
330
|
+
}
|
|
331
|
+
// For other formats, convert to dayjs but be aware of year issues
|
|
332
|
+
return dayjs.utc(nativeDate).format(format);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
311
336
|
return dayjs.utc(input).format(format);
|
|
312
337
|
}
|
|
313
338
|
/**
|
|
@@ -328,6 +353,40 @@ class KupDates {
|
|
|
328
353
|
return time.toLocaleTimeString(this.getLocale() + '-u-hc-h23', options);
|
|
329
354
|
}
|
|
330
355
|
isIsoDate(dateString) {
|
|
356
|
+
// Extract year from the string
|
|
357
|
+
const yearStr = dateString.substring(0, 4);
|
|
358
|
+
const year = Number(yearStr);
|
|
359
|
+
// Year 0 doesn't exist in Gregorian calendar (goes from 1 BC to 1 AD)
|
|
360
|
+
if (year === 0) {
|
|
361
|
+
return false;
|
|
362
|
+
}
|
|
363
|
+
// For years 0001-0999, dayjs misinterprets them, so use native Date parsing
|
|
364
|
+
if (year >= 1 && year <= 999) {
|
|
365
|
+
try {
|
|
366
|
+
const nativeDate = new Date(dateString);
|
|
367
|
+
if (isNaN(nativeDate.getTime())) {
|
|
368
|
+
return false;
|
|
369
|
+
}
|
|
370
|
+
// Validate the parsed components match the input
|
|
371
|
+
const isoString = nativeDate.toISOString();
|
|
372
|
+
if (Number(isoString.substring(0, 4)) != year) {
|
|
373
|
+
return false;
|
|
374
|
+
}
|
|
375
|
+
if (Number(dateString.substring(5, 7)) !=
|
|
376
|
+
nativeDate.getUTCMonth() + 1) {
|
|
377
|
+
return false;
|
|
378
|
+
}
|
|
379
|
+
if (Number(dateString.substring(8, 10)) !=
|
|
380
|
+
nativeDate.getUTCDate()) {
|
|
381
|
+
return false;
|
|
382
|
+
}
|
|
383
|
+
return true;
|
|
384
|
+
}
|
|
385
|
+
catch (_a) {
|
|
386
|
+
return false;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
// For years 1000 and above, use dayjs as usual
|
|
331
390
|
const isoDate = dayjs(dateString, [
|
|
332
391
|
KupDatesFormats.ISO_DATE,
|
|
333
392
|
KupDatesFormats.ISO_DATE_TIME,
|
|
@@ -435,6 +494,18 @@ class KupDates {
|
|
|
435
494
|
* @returns {Date} Date object.
|
|
436
495
|
*/
|
|
437
496
|
toDate(input, format) {
|
|
497
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
498
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
499
|
+
const yearStr = input.substring(0, 4);
|
|
500
|
+
const year = Number(yearStr);
|
|
501
|
+
if (year >= 1 && year <= 999) {
|
|
502
|
+
// Use native Date for early years
|
|
503
|
+
const nativeDate = new Date(input);
|
|
504
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
505
|
+
return nativeDate;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
438
509
|
const parsed = format ? dayjs.utc(input, format) : dayjs.utc(input);
|
|
439
510
|
return parsed.isValid() ? parsed.toDate() : null;
|
|
440
511
|
}
|
|
@@ -445,6 +516,18 @@ class KupDates {
|
|
|
445
516
|
* @returns {dayjs.Dayjs} Dayjs object.
|
|
446
517
|
*/
|
|
447
518
|
toDayjs(input, format) {
|
|
519
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
520
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
521
|
+
const yearStr = input.substring(0, 4);
|
|
522
|
+
const year = Number(yearStr);
|
|
523
|
+
if (year >= 1 && year <= 999) {
|
|
524
|
+
// Use native Date for early years, then convert to dayjs
|
|
525
|
+
const nativeDate = new Date(input);
|
|
526
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
527
|
+
return dayjs(nativeDate);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
448
531
|
const dayJsResult = format ? dayjs(input, format) : dayjs(input);
|
|
449
532
|
return dayJsResult.isValid() ? dayJsResult : null;
|
|
450
533
|
}
|
|
@@ -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: '88155aa8adf3ecd41be3d888b591a893f33b5443', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'bd1f86676f786fcf9130687d6f7b4c9bdd1ba44b', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'e823e9c366ff71fddacddead8d88a91ddfcc81e5', 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: '60cdd658ef583e8aee92b8ee8b583562e10db1ec', 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", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './p-
|
|
1
|
+
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from './p-0462f723.js';
|
|
2
2
|
import { g as getAssetPath, s as setAssetPath } from './p-3aae989f.js';
|
|
3
|
-
import { K as KupDatesFormats, a as KupDates, b as KupDatesLocales } from './p-
|
|
3
|
+
import { K as KupDatesFormats, a as KupDates, b as KupDatesLocales } from './p-42c21356.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-card component.
|
|
@@ -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: '78d8880a24eb31cbaa6673b0b54ec5d21220f149', 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: '7f7af804bbefde1d8ac984a0fa56b3e999ee80ba', class: "title" }, h("span", { key: '76af2fc09b97377a585b4a11d184771857b91468' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: 'd8b936909225865d5d2e16d5a318a59587ffcba0', class: "toggler" }, h("label", { key: '8f99bfdc630488b4e8a6e45ba8a2e098c9263817', htmlFor: "ch2", class: "switch" }, h("input", { key: '23ba7ad7317f782a189c6e54541b0461dc0f768b', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '80b2aecbe3f142a32c7bb7a951620d52181696bd', class: "slider" })), h("span", { key: '5eaa76a1e25464d4055075c11a692d3f63bc9627', class: "label" }, "Previsioni")))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return KupCustomTaskListHeaderStyle0; }
|
|
24
24
|
}, [0, "kup-custom-task-list-header", {
|