@sme.up/ketchup 10.4.0 → 10.4.1
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-148f4ea6.js → f-cell-16a8492f.js} +4 -4
- package/dist/cjs/{f-chip-5593bdd7.js → f-chip-8160bfaa.js} +1 -1
- package/dist/cjs/{f-object-field-a208a86e.js → f-object-field-b7914a75.js} +2 -2
- package/dist/cjs/{f-paginator-utils-1dd80ec2.js → f-paginator-utils-b8255f5e.js} +1 -1
- package/dist/cjs/{f-text-field-83dd8cef.js → f-text-field-8e987ba6.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-85813cb3.js} +2 -2
- package/dist/cjs/{kup-dates-8191989e.js → kup-dates-1d88c05d.js} +0 -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-088948ee.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-c13561ca.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/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-0462f723.js +7 -0
- package/dist/components/{p-5b1056e4.js → p-156d3583.js} +7 -7
- package/dist/components/{p-449a90f0.js → p-18f46a77.js} +2 -2
- package/dist/components/{p-ce948cb3.js → p-1f7417f2.js} +3 -3
- package/dist/components/{p-bbb25c58.js → p-3156038f.js} +1 -1
- package/dist/components/{p-9d13f3da.js → p-4684f313.js} +4 -4
- package/dist/components/{p-bf75edc9.js → p-511f2a65.js} +1 -1
- package/dist/components/{p-a79ced63.js → p-5c463e65.js} +14 -14
- package/dist/components/{p-4d238cc9.js → p-5dcc763f.js} +1 -1
- package/dist/components/{p-de5d3537.js → p-61a69626.js} +2 -2
- package/dist/components/{p-767fcf91.js → p-640b8279.js} +1 -1
- package/dist/components/{p-23d0f0c7.js → p-6f7b1f98.js} +1 -1
- package/dist/components/{p-9a617844.js → p-75521d10.js} +4 -4
- package/dist/components/{p-dc1ce1b4.js → p-7f02b390.js} +1 -1
- package/dist/components/{p-359a4569.js → p-807b9585.js} +4 -4
- package/dist/components/{p-bfa406f9.js → p-8f165438.js} +40 -40
- package/dist/components/{p-9a502c5d.js → p-9669b12a.js} +2 -2
- package/dist/components/{p-aa882232.js → p-a89d1d1e.js} +2 -2
- package/dist/components/{p-df7be9b0.js → p-cb019ce0.js} +2 -2
- package/dist/components/{p-cbc6b3d5.js → p-d8167d44.js} +2 -2
- package/dist/components/{p-bdecbc93.js → p-e2423dcd.js} +5 -5
- package/dist/components/{p-aed6a4a1.js → p-f7ff351a.js} +2 -2
- package/dist/components/{p-9bde8078.js → p-fea0aa53.js} +17 -17
- package/dist/esm/{f-cell-989fd1e8.js → f-cell-2be92867.js} +4 -4
- package/dist/esm/{f-chip-c2d256a9.js → f-chip-e44754c0.js} +1 -1
- package/dist/esm/{f-object-field-f3c12136.js → f-object-field-973503a4.js} +2 -2
- package/dist/esm/{f-paginator-utils-f1bb71b3.js → f-paginator-utils-29c1ba4a.js} +1 -1
- package/dist/esm/{f-text-field-7d154a87.js → f-text-field-a0a6f8ca.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-acee1f33.js} +2 -2
- package/dist/esm/{kup-dates-485a12d2.js → kup-dates-ad66e957.js} +1 -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-b62b2fe2.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-c5a632c2.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-b00a6249.entry.js → p-00850338.entry.js} +1 -1
- package/dist/ketchup/{p-8c39950e.entry.js → p-0fee6fb1.entry.js} +1 -1
- package/dist/ketchup/{p-61078be9.entry.js → p-1201309c.entry.js} +1 -1
- package/dist/ketchup/{p-43e80fd2.entry.js → p-16a066a8.entry.js} +1 -1
- package/dist/ketchup/{p-8ee307af.entry.js → p-1dec57af.entry.js} +1 -1
- package/dist/ketchup/{p-2df5bf04.js → p-241cabfb.js} +1 -1
- package/dist/ketchup/{p-86966d2e.entry.js → p-24dce2bd.entry.js} +1 -1
- package/dist/ketchup/p-2b5b8f6f.entry.js +1 -0
- package/dist/ketchup/{p-bf2e49be.entry.js → p-313a46c4.entry.js} +1 -1
- package/dist/ketchup/{p-f6656fb8.js → p-3f0cffa0.js} +1 -1
- package/dist/ketchup/{p-760046d6.entry.js → p-461e36f2.entry.js} +1 -1
- package/dist/ketchup/{p-c4a65cf7.entry.js → p-5475b9ee.entry.js} +1 -1
- package/dist/ketchup/{p-5d594ebd.js → p-5c04c239.js} +1 -1
- package/dist/ketchup/{p-6762a32c.entry.js → p-5eca02b8.entry.js} +1 -1
- package/dist/ketchup/{p-6172f9ec.js → p-5f48df2e.js} +1 -1
- package/dist/ketchup/{p-2225fb63.entry.js → p-66b068ee.entry.js} +1 -1
- package/dist/ketchup/{p-51f49c1a.js → p-66c469fb.js} +1 -1
- package/dist/ketchup/{p-23f5c497.entry.js → p-6e282c98.entry.js} +1 -1
- package/dist/ketchup/{p-39485e5b.entry.js → p-6f65a7b3.entry.js} +1 -1
- package/dist/ketchup/{p-1891f1e3.entry.js → p-7013d156.entry.js} +1 -1
- package/dist/ketchup/p-76f49ffa.js +1 -0
- package/dist/ketchup/{p-e6947ad7.entry.js → p-7ea0370a.entry.js} +1 -1
- package/dist/ketchup/{p-fe093639.entry.js → p-839cd69a.entry.js} +1 -1
- package/dist/ketchup/p-906d57d4.js +1 -0
- package/dist/ketchup/{p-d7ad7913.entry.js → p-90800b86.entry.js} +2 -2
- package/dist/ketchup/{p-8e22f329.entry.js → p-982ec7cd.entry.js} +1 -1
- package/dist/ketchup/{p-e8b59489.entry.js → p-b3084147.entry.js} +1 -1
- package/dist/ketchup/{p-6590f0b9.entry.js → p-b7999698.entry.js} +1 -1
- package/dist/ketchup/{p-b25d74fb.entry.js → p-ba4a1c5d.entry.js} +2 -2
- package/dist/ketchup/{p-93985707.entry.js → p-c9b228ed.entry.js} +1 -1
- package/dist/ketchup/{p-88ab81bc.entry.js → p-cc310650.entry.js} +1 -1
- package/dist/ketchup/{p-af23613c.js → p-cd40feb5.js} +1 -1
- package/dist/ketchup/{p-fdfb578a.entry.js → p-ce1c315f.entry.js} +1 -1
- package/dist/ketchup/{p-233b93b0.entry.js → p-d763a372.entry.js} +1 -1
- package/dist/ketchup/{p-1af07a77.entry.js → p-d7b4d302.entry.js} +1 -1
- package/dist/ketchup/{p-a990c2a8.js → p-db865fc1.js} +1 -1
- package/dist/ketchup/{p-9bd60add.entry.js → p-e53a5835.entry.js} +1 -1
- package/dist/ketchup/{p-ee45eaa1.entry.js → p-ed249849.entry.js} +1 -1
- package/dist/ketchup/{p-05c1ec33.entry.js → p-f4ca42b1.entry.js} +1 -1
- package/dist/ketchup/{p-42f29a2f.entry.js → p-fff372ee.entry.js} +1 -1
- 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-16b66614.js +0 -1
- package/dist/ketchup/p-264ee487.js +0 -1
- package/dist/ketchup/p-27b85798.entry.js +0 -44
- package/dist/ketchup/p-5767cc14.entry.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, 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-
|
|
4
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-61a69626.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-8f165438.js';
|
|
4
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-0462f723.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
7
7
|
|
|
@@ -22,7 +22,7 @@ const KupSwitcher = /*@__PURE__*/ proxyCustomElement(class KupSwitcher extends H
|
|
|
22
22
|
this.activeButton = mode;
|
|
23
23
|
this.timeUnitChange(mode);
|
|
24
24
|
};
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '8a4858f83d42bfa9a379ed3f18695c01d0ed4475', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
26
26
|
button: true,
|
|
27
27
|
buttonActive: this.activeButton === label,
|
|
28
28
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(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-a89d1d1e.js';
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-75521d10.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: '0cec2ff8e11685d0c8e8a16290ea51c5548e4fe5', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: 'b698770fca2c44b63a5385196ed28e08173d1064', 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: '23528d2ce63dcb93273e55c18ea185574be35179', 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: 'c02affad8b979a692a64447d3595348fce0d3d47' }, newBarProps)))));
|
|
48
48
|
}
|
|
49
49
|
get rootElement() { return this; }
|
|
50
50
|
static get watchers() { return {
|
|
@@ -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-5dcc763f.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}";
|
|
@@ -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-807b9585.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-75521d10.js';
|
|
5
|
+
import { d as defineCustomElement$c } from './p-9669b12a.js';
|
|
6
|
+
import { d as defineCustomElement$b } from './p-511f2a65.js';
|
|
7
|
+
import { d as defineCustomElement$a } from './p-a89d1d1e.js';
|
|
8
|
+
import { d as defineCustomElement$8 } from './p-e2423dcd.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './p-7f02b390.js';
|
|
10
|
+
import { d as defineCustomElement$6 } from './p-4684f313.js';
|
|
11
|
+
import { d as defineCustomElement$4 } from './p-156d3583.js';
|
|
12
|
+
import { d as defineCustomElement$3 } from './p-6f7b1f98.js';
|
|
13
|
+
import { d as defineCustomElement$2 } from './p-640b8279.js';
|
|
14
|
+
import { d as defineCustomElement$1 } from './p-d8167d44.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: '60e583165b2559dfeac328cb17f8bae5bfcd5dd6', class: "gannt-wrapper-main" }, h("div", { key: '62b786f1e7c614dc37e1872de8bcff9ac8b8019a', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '7592522b4b29f45b037e33c1041cfff90d424e93', 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: 'b687539013865f3e11e4b8f56031442ac84c28e0', 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: '670437ff57b69b0a9ca9278ee7d6d63e01382c5d', 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: 'db4f2b9d53ae5f8e8c4e4e2e762d0425498f49c3', 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: 'c1a5a4de44c7519f7abf08e18bd0993440ef31a8', 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,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-5dcc763f.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-card component.
|
|
@@ -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: '93f584faebff866e284024a54906d8dee569f8bb', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'fd287965b4608a4468150cb78ffd7db8fba2a13e', task: this.task, fontSize: this.fontSize, fontFamily: this.fontFamily })));
|
|
70
70
|
}
|
|
71
71
|
get rootElement() { return this; }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -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: '57c731aef0c7bc0c04628ef6044b034486b616de', class: "taskListWrapper", style: {
|
|
32
32
|
fontFamily: this.fontFamily,
|
|
33
33
|
fontSize: this.fontSize,
|
|
34
34
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -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: '0395c2319db4698c367e9d4b2bb22da8f5119bd5', 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: '4094639f9282fbdac78bf8d3aa05694b5c5bb6cf', class: "grid" }, h("g", { key: '92172ba05af1c2ed66c8655b66f8ae773c8fccba', class: "rows" }, gridRows), h("g", { key: '9fcfa11d689d6f01f54fb29d6156e789e60a39c5', class: "rowLines" }, rowLines), h("g", { key: 'e6d83941fd3a673d2c586f0bba71d5251ef6cc4a', class: "ticks" }, ticks)), h("g", { key: 'dd9221a588751170e915c4f72938dbfb9772a282', class: "content" }, this.currentDateIndicator && (h("rect", { key: '6734e5bb9a5d2143e458c83e6c24e875cafe5205', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: '70179996ddfdc8b33b9315f5e4938d6abd0ea3ae', 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: '8f4f1b6dc0919c8251871e242d6ab514121d2a42', 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: 'bbfff688585a2166f3008a75f9e39cbac90caa83', 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: 'cd2a823576c419481d36b5eb4147a8d7a2547ff4', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1472
1472
|
}
|
|
1473
1473
|
static get watchers() { return {
|
|
1474
1474
|
"columnWidth": ["updateXStep"],
|
|
@@ -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: '82b85f32d22dcae1462fd312514ba3424d6584dd', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: 'a23740dc4f62fc0082c191bcaff8afcaa9a8ec4a', 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: '660e8de0eb4236d960df443dffb5708d7ce499f4', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'f73f6a08eb3dd22ad7f923f1b07e6cba91069d72', 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,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-5dcc763f.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-9669b12a.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-511f2a65.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: '5e63f1a7961d981b1fc6abc1d45f7723a708125d', 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: '04af20cf452169c48897955fbbb8e650e0bfbd9b', 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,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-ef8cbd35.js';
|
|
2
|
-
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as identify, aa as KupListProps, ab as KupCardFamily, ac as KupListRole, ad as KupLanguageUpload, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as DataTableAreasEnum, an as TypesToDuplicate, ao as FixedCellsClasses, ap as FixedCellsCSSVarsBase, aq as KupLanguageFontsize, ar as KupLanguageDensity, as as KupLanguageGrid, at as KupDataTableProps, au as UseAsValue, av as iconColumn, aw as keyColumn, ax as fieldColumn, ay as getSizeOfInputElement, az as KupCardProps } from './p-
|
|
2
|
+
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as identify, aa as KupListProps, ab as KupCardFamily, ac as KupListRole, ad as KupLanguageUpload, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as DataTableAreasEnum, an as TypesToDuplicate, ao as FixedCellsClasses, ap as FixedCellsCSSVarsBase, aq as KupLanguageFontsize, ar as KupLanguageDensity, as as KupLanguageGrid, at as KupDataTableProps, au as UseAsValue, av as iconColumn, aw as keyColumn, ax as fieldColumn, ay as getSizeOfInputElement, az as KupCardProps } from './p-61a69626.js';
|
|
3
3
|
import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
|
|
4
|
-
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-
|
|
4
|
+
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-5dcc763f.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Stores result from supportsCssVariables to avoid redundant processing to
|
|
@@ -17613,7 +17613,7 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
17613
17613
|
this.kupManager.debug.logRender(this, true);
|
|
17614
17614
|
}
|
|
17615
17615
|
render() {
|
|
17616
|
-
return (h$1(Host, { key: '
|
|
17616
|
+
return (h$1(Host, { key: 'eac8ebb896129524a8a0a3d69b056ddee9e298f1' }, h$1("style", { key: 'cdc5f34e526676d597e5ccb811e8e8bd3217db1c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'ca97afb58f61a5b4d015a225eb8187903349561c', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
17617
17617
|
}
|
|
17618
17618
|
disconnectedCallback() {
|
|
17619
17619
|
this.kupManager.dates.unregister(this);
|
|
@@ -19337,7 +19337,7 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends H {
|
|
|
19337
19337
|
onChange: () => this.onKupChange(),
|
|
19338
19338
|
onFocus: () => this.onKupFocus(),
|
|
19339
19339
|
};
|
|
19340
|
-
return (h$1(Host, { key: '
|
|
19340
|
+
return (h$1(Host, { key: 'f454a303a1ac2fe61de328d4cf7aef1b93b61560' }, h$1("style", { key: '3f0d62c6007769d7dee16d36ed7eb7071692a898' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'ebac0d62f7c5290955a2e3f6a25e0c94911fe38e', id: componentWrapperId }, h$1(FSwitch, Object.assign({ key: '47acf05847c7443ecae90f164f6edec548c066ca' }, props)))));
|
|
19341
19341
|
}
|
|
19342
19342
|
disconnectedCallback() {
|
|
19343
19343
|
this.kupManager.theme.unregister(this);
|
|
@@ -19610,59 +19610,59 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
19610
19610
|
spinnerClass = 'spinner-v' + this.layout;
|
|
19611
19611
|
if (this.layout === 7) {
|
|
19612
19612
|
spinnerEl = [
|
|
19613
|
-
h$1("div", { key: '
|
|
19614
|
-
h$1("div", { key: '
|
|
19615
|
-
h$1("div", { key: '
|
|
19616
|
-
h$1("div", { key: '
|
|
19617
|
-
h$1("div", { key: '
|
|
19618
|
-
h$1("div", { key: '
|
|
19613
|
+
h$1("div", { key: '44d7df3462f2e22dd266852f758e4acf58290681', class: "sk-spinner-v7-dot" }),
|
|
19614
|
+
h$1("div", { key: '5a7a10a0b86cdc1f3fd3bdefb30c9f22580fa4f9', class: "sk-spinner-v7-dot" }),
|
|
19615
|
+
h$1("div", { key: '9bbeecc52ab35734aea9bd4655b98d8d3827fe0f', class: "sk-spinner-v7-dot" }),
|
|
19616
|
+
h$1("div", { key: '4d15d7225dee4558a88605ba73e446ba76cd429c', class: "sk-spinner-v7-dot" }),
|
|
19617
|
+
h$1("div", { key: 'a994e554f39a9a158e698b3afb430606cbf5f67d', class: "sk-spinner-v7-dot" }),
|
|
19618
|
+
h$1("div", { key: '12356833042a7b9d42645a445e9863ceb5b484dc', class: "sk-spinner-v7-dot" }),
|
|
19619
19619
|
];
|
|
19620
19620
|
}
|
|
19621
19621
|
if (this.layout === 9) {
|
|
19622
19622
|
spinnerEl = [
|
|
19623
|
-
h$1("div", { key: '
|
|
19624
|
-
h$1("div", { key: '
|
|
19623
|
+
h$1("div", { key: 'eead37f0a30f92b1fad0c212ffeb8366e9d22e94', class: "sk-spinner-v9-bounce1" }),
|
|
19624
|
+
h$1("div", { key: '539eb828bda6e24086465f83f0689ae7b4fa4595', class: "sk-spinner-v9-bounce2" }),
|
|
19625
19625
|
];
|
|
19626
19626
|
}
|
|
19627
19627
|
if (this.layout === 10) {
|
|
19628
19628
|
spinnerEl = [
|
|
19629
|
-
h$1("div", { key: '
|
|
19630
|
-
h$1("div", { key: '
|
|
19629
|
+
h$1("div", { key: '0100715b1234557f48aee829dc171ea630e859d3', class: "sk-spinner-v10-cube1" }),
|
|
19630
|
+
h$1("div", { key: 'be9c825a0892c9a348be5d06acbb87ac41ca92fd', class: "sk-spinner-v10-cube2" }),
|
|
19631
19631
|
];
|
|
19632
19632
|
}
|
|
19633
19633
|
if (this.layout === 12) {
|
|
19634
19634
|
spinnerEl = [
|
|
19635
|
-
h$1("div", { key: '
|
|
19636
|
-
h$1("div", { key: '
|
|
19635
|
+
h$1("div", { key: '0fde9c08f1564b503d355574f6479ebc372cb306', class: "sk-spinner-v12-dot1" }),
|
|
19636
|
+
h$1("div", { key: '8974376541b7b1be84c51e9ba4b989b256e6e9ef', class: "sk-spinner-v12-dot2" }),
|
|
19637
19637
|
];
|
|
19638
19638
|
}
|
|
19639
19639
|
if (this.layout === 13) {
|
|
19640
19640
|
spinnerEl = [
|
|
19641
|
-
h$1("div", { key: '
|
|
19642
|
-
h$1("div", { key: '
|
|
19643
|
-
h$1("div", { key: '
|
|
19644
|
-
h$1("div", { key: '
|
|
19645
|
-
h$1("div", { key: '
|
|
19646
|
-
h$1("div", { key: '
|
|
19647
|
-
h$1("div", { key: '
|
|
19648
|
-
h$1("div", { key: '
|
|
19649
|
-
h$1("div", { key: '
|
|
19641
|
+
h$1("div", { key: 'b4a00d72fbef7a34f0b01d30f755eb53262219f7', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
19642
|
+
h$1("div", { key: '783758140bc30c82228dc17d19795f54031ae425', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
19643
|
+
h$1("div", { key: '23fd6314927ffb11aba115b029cddadc249992b7', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
19644
|
+
h$1("div", { key: '085b40493edd098a4a32acb6a01d3a2e8a529e90', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
19645
|
+
h$1("div", { key: 'c33f1c2850a22ad9c9c26e187460c42c7da2ed63', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
19646
|
+
h$1("div", { key: '118903e56885cd52de5d134071a64cb5e2755be8', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
19647
|
+
h$1("div", { key: 'fb2045874ad1c1963d248eaf19697b98b2718601', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
19648
|
+
h$1("div", { key: 'e6eb79640376b049ac95005527f956b4c1e4028b', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
19649
|
+
h$1("div", { key: 'c05fbcc11651f98e8546d65112934269d70d322b', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
19650
19650
|
];
|
|
19651
19651
|
}
|
|
19652
19652
|
if (this.layout === 14) {
|
|
19653
19653
|
spinnerEl = [
|
|
19654
|
-
h$1("div", { key: '
|
|
19655
|
-
h$1("div", { key: '
|
|
19656
|
-
h$1("div", { key: '
|
|
19657
|
-
h$1("div", { key: '
|
|
19658
|
-
h$1("div", { key: '
|
|
19659
|
-
h$1("div", { key: '
|
|
19660
|
-
h$1("div", { key: '
|
|
19661
|
-
h$1("div", { key: '
|
|
19662
|
-
h$1("div", { key: '
|
|
19663
|
-
h$1("div", { key: '
|
|
19664
|
-
h$1("div", { key: '
|
|
19665
|
-
h$1("div", { key: '
|
|
19654
|
+
h$1("div", { key: '0a5ae21931ae2b0d575624d7c45d7cf3913018b4', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
19655
|
+
h$1("div", { key: 'dd983c321effae6097c102f48f85c720785cac7b', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
19656
|
+
h$1("div", { key: '75dd58337c7097f60dccdd298f6ee0f972408c76', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
19657
|
+
h$1("div", { key: '70e307034418aa0e5d460b302ca625cb387151e7', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
19658
|
+
h$1("div", { key: 'e43c81dd4d362a362b986d9c824e61ae9c14b49d', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
19659
|
+
h$1("div", { key: '386a100e5467a0fc482b7503776589115979c833', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
19660
|
+
h$1("div", { key: '8fd2a0abe0309a647905d6694d16f3988747ae1a', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
19661
|
+
h$1("div", { key: 'ef1426cb781c1cb02423a35317bca989db00de0f', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
19662
|
+
h$1("div", { key: 'a086dff681388aae67eb898e1117e8e34087432a', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
19663
|
+
h$1("div", { key: '3cba559881fa2b60fd663e6ab07e08b5baadac12', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
19664
|
+
h$1("div", { key: '5ba4aa90225b2136eb5f917e6341ceecbf6b5058', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
19665
|
+
h$1("div", { key: 'c7218b85c9e88a244b96c8a9af353ba3796d215d', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
19666
19666
|
];
|
|
19667
19667
|
}
|
|
19668
19668
|
}
|
|
@@ -19681,7 +19681,7 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
19681
19681
|
else {
|
|
19682
19682
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
19683
19683
|
}
|
|
19684
|
-
return (h$1(Host, { key: '
|
|
19684
|
+
return (h$1(Host, { key: '38da60422d5eecb10031213cab3692ac5e2df561', style: elStyle }, h$1("style", { key: 'bba4371d8c04c12e5e3b8e1efc84203b52e06415' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '23c7977f38094e51459130302737bb29d650f5d2', id: componentWrapperId, style: elStyle }, h$1("div", { key: 'fb9c72dc06dc5fa67a47601b999ac712c121a117', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h$1("div", { key: 'ae5d49965e37297baeec30a267198e8a8bbbf44d', id: wrapperClass, style: elStyle }, h$1("div", { key: 'a11da5e060a775d63ec3bfb8862817ce69687ac7', class: spinnerClass }, spinnerEl))))));
|
|
19685
19685
|
}
|
|
19686
19686
|
disconnectedCallback() {
|
|
19687
19687
|
this.kupManager.theme.unregister(this);
|
|
@@ -19950,7 +19950,7 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends H {
|
|
|
19950
19950
|
: false,
|
|
19951
19951
|
onClick: (i) => this.onKupClick(i),
|
|
19952
19952
|
};
|
|
19953
|
-
return (h$1(Host, { key: '
|
|
19953
|
+
return (h$1(Host, { key: '8a72b1823ca4c4be9e0d90ee4391a1f74a7d50db' }, h$1("style", { key: '8a2de1e7328e7dd7a78e319aaf3fb5f140fc2fd1' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '311537f75032559633b7b849f3f93d3a0744c508', id: componentWrapperId }, h$1(FRating, Object.assign({ key: '8e816301cf3bb49dabe9ae589c507331980b526a' }, props)))));
|
|
19954
19954
|
}
|
|
19955
19955
|
disconnectedCallback() {
|
|
19956
19956
|
this.kupManager.theme.unregister(this);
|
|
@@ -20224,7 +20224,7 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
20224
20224
|
? true
|
|
20225
20225
|
: false,
|
|
20226
20226
|
};
|
|
20227
|
-
return (h$1(Host, { key: '
|
|
20227
|
+
return (h$1(Host, { key: '5346aa4f5e6366fb501ce2e866f08b984ad61731' }, h$1("style", { key: '9ace450b6a38466282ec58bf4951da0932f86cf0' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '134ff9269e83ab39c847a3fcf340d9662a055c3e', id: componentWrapperId }, h$1(FProgressBar, Object.assign({ key: '777c19e0cf5b5158932cd55a718ae36cc7f85eeb' }, props)))));
|
|
20228
20228
|
}
|
|
20229
20229
|
disconnectedCallback() {
|
|
20230
20230
|
this.kupManager.theme.unregister(this);
|
|
@@ -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: 'fdc8beea062b5fbed5133aa1a1bfbc210a2ee940', 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: '938e5faed9978c03790ef22c9ceb6c2920d233f9', class: "title" }, h("span", { key: 'e3bcbfa356d75ef1deb19a28220a488f744eeb6f' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: 'fd7380ed55f1a8a0cf65b01d7307a8e955139e86', class: "toggler" }, h("label", { key: 'fdedd2e822bdb1e1d06ccdf7cf4cd3a725aa4210', htmlFor: "ch2", class: "switch" }, h("input", { key: '0108812b528e18ee463b396b127b9b7916745d68', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '18cae18f6ac56d2330433bf9b32e4f85d69f544e', class: "slider" })), h("span", { key: 'c452fffb482e38234ea405c4574a31ce39879093', class: "label" }, "Previsioni")))));
|
|
22
22
|
}
|
|
23
23
|
static get style() { return KupCustomTaskListHeaderStyle0; }
|
|
24
24
|
}, [0, "kup-custom-task-list-header", {
|
|
@@ -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: '4d3337bc44f889a9c56b70f00c3d9691935ebb1a', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'e04a41685f85602f4673e3720730c6a772245bd0', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: '4ef10013b909f7077731979bcec3f231022e9eab', 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: '783f6187865b0f21a7f066a7e8d23d677ea01b5b', 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
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-61a69626.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-8f165438.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -37,11 +37,11 @@ const KupVerticalScroll = /*@__PURE__*/ proxyCustomElement(class KupVerticalScro
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: '7c51a0f660ddf3e8bd92481ee3d231b432673477', style: {
|
|
41
41
|
height: `${this.ganttHeight}px`,
|
|
42
42
|
marginTop: `${this.headerHeight}px`,
|
|
43
43
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
44
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
44
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '40e5807dfed85935ff06b86406faf165b95409d0', style: {
|
|
45
45
|
height: `${this.ganttFullHeight}px`,
|
|
46
46
|
width: '1px',
|
|
47
47
|
} })));
|
|
@@ -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: 'f3b55ade278b97bd84d78c543a465ab43cb0c04b' }, h("div", { key: 'd055d4cce94f6bfe8e590d0edbb2185763b0e14e', class: "scroll-container" }, this.scrollableTaskList &&
|
|
64
|
+
this.taskListScrollWidth > width && (h("div", { key: '9b56debdb882b93b65098e38bbff1fbce0dc79a0', 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: '5b4508bfd4e72006153cd9f368675a87f6809e22', style: {
|
|
71
71
|
width: `${this.taskListScrollWidth}px`,
|
|
72
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
72
|
+
}, class: "scroll" }))), h("div", { key: 'bfd573478aa4930a0b97a6a57c76412f67568ec1', 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: '48ec74f46bdd8f6197a55efea02b5160527f350f', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
77
77
|
}
|
|
78
78
|
get rootElement() { return this; }
|
|
79
79
|
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-61a69626.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-8f165438.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -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-807b9585.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-5dcc763f.js';
|
|
5
|
+
import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-a89d1d1e.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-9669b12a.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './p-511f2a65.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-5c463e65.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './p-75521d10.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-e2423dcd.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-7f02b390.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-3156038f.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-4684f313.js';
|
|
15
|
+
import { d as defineCustomElement$4 } from './p-156d3583.js';
|
|
16
|
+
import { d as defineCustomElement$3 } from './p-6f7b1f98.js';
|
|
17
|
+
import { d as defineCustomElement$2 } from './p-640b8279.js';
|
|
18
|
+
import { d as defineCustomElement$1 } from './p-d8167d44.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: '453105f0084dc546f2ec3582d0c9baa941bf312b', class: "planner-render" }, h$1("kup-switcher", { key: 'bed5ea35a8e286999d2aeccf4ac3910b8e640631', 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: 'a62b73855e3cfba1dcc08965d3b4d4d62184d4a9', 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) => {
|