@sme.up/ketchup 10.4.0 → 10.4.2
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-2dce1c47.js} +4 -4
- package/dist/cjs/{f-chip-5593bdd7.js → f-chip-b2b2de76.js} +1 -1
- package/dist/cjs/{f-object-field-a208a86e.js → f-object-field-508fe712.js} +2 -2
- package/dist/cjs/{f-paginator-utils-1dd80ec2.js → f-paginator-utils-40479dab.js} +1 -1
- package/dist/cjs/{f-text-field-83dd8cef.js → f-text-field-5634b79e.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-262a013d.js} +2 -2
- package/dist/cjs/{kup-dates-8191989e.js → kup-dates-2ff08e4f.js} +91 -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 +15 -11
- 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-57f5a949.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-7dfe474d.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-input-panel/kup-input-panel.js +9 -5
- 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 +91 -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 +12 -8
- 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-359a4569.js → p-00cf9dd2.js} +4 -4
- package/dist/components/{p-bfa406f9.js → p-0406cd83.js} +40 -40
- package/dist/components/p-0462f723.js +7 -0
- package/dist/components/{p-5b1056e4.js → p-156d3583.js} +7 -7
- package/dist/components/{p-aed6a4a1.js → p-200cb22e.js} +2 -2
- package/dist/components/{p-df7be9b0.js → p-2097fdc9.js} +2 -2
- package/dist/components/{p-de5d3537.js → p-25602d9a.js} +2 -2
- package/dist/components/{p-a79ced63.js → p-2d2e8390.js} +14 -14
- package/dist/components/{p-bbb25c58.js → p-3156038f.js} +1 -1
- package/dist/components/{p-ce948cb3.js → p-38d8b309.js} +3 -3
- package/dist/components/{p-9d13f3da.js → p-4684f313.js} +4 -4
- 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-bf75edc9.js → p-873d5549.js} +1 -1
- package/dist/components/{p-9a502c5d.js → p-9669b12a.js} +2 -2
- package/dist/components/{p-9bde8078.js → p-9c67c242.js} +17 -17
- package/dist/components/{p-aa882232.js → p-a89d1d1e.js} +2 -2
- package/dist/components/{p-4d238cc9.js → p-d7365aa4.js} +92 -1
- 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-449a90f0.js → p-f23c2bc2.js} +2 -2
- package/dist/esm/{f-cell-989fd1e8.js → f-cell-1a087912.js} +4 -4
- package/dist/esm/{f-chip-c2d256a9.js → f-chip-876f5447.js} +1 -1
- package/dist/esm/{f-object-field-f3c12136.js → f-object-field-4382c70d.js} +2 -2
- package/dist/esm/{f-paginator-utils-f1bb71b3.js → f-paginator-utils-95d00f42.js} +1 -1
- package/dist/esm/{f-text-field-7d154a87.js → f-text-field-a13130d7.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-4ab72247.js} +2 -2
- package/dist/esm/{kup-dates-485a12d2.js → kup-dates-bf500166.js} +92 -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 +15 -11
- 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-150e2ada.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-b328ea3f.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-86966d2e.entry.js → p-018a6d06.entry.js} +1 -1
- package/dist/ketchup/{p-8e22f329.entry.js → p-091b08ff.entry.js} +1 -1
- package/dist/ketchup/{p-fe093639.entry.js → p-0bede0f7.entry.js} +1 -1
- package/dist/ketchup/{p-61078be9.entry.js → p-10812295.entry.js} +1 -1
- package/dist/ketchup/{p-6590f0b9.entry.js → p-17d03bbb.entry.js} +1 -1
- package/dist/ketchup/{p-23f5c497.entry.js → p-33d9524e.entry.js} +1 -1
- package/dist/ketchup/{p-43e80fd2.entry.js → p-36b5d26b.entry.js} +1 -1
- package/dist/ketchup/{p-16b66614.js → p-5154c3cd.js} +1 -1
- package/dist/ketchup/{p-6172f9ec.js → p-65509faf.js} +1 -1
- package/dist/ketchup/{p-760046d6.entry.js → p-672cab52.entry.js} +1 -1
- package/dist/ketchup/{p-5767cc14.entry.js → p-6e751ce8.entry.js} +1 -1
- package/dist/ketchup/{p-8c39950e.entry.js → p-763fd00d.entry.js} +1 -1
- package/dist/ketchup/{p-c4a65cf7.entry.js → p-76868077.entry.js} +1 -1
- package/dist/ketchup/{p-1af07a77.entry.js → p-7940d143.entry.js} +1 -1
- package/dist/ketchup/{p-bf2e49be.entry.js → p-7e92c87c.entry.js} +1 -1
- package/dist/ketchup/{p-b25d74fb.entry.js → p-7f8582e3.entry.js} +2 -2
- package/dist/ketchup/{p-a990c2a8.js → p-8721b809.js} +1 -1
- package/dist/ketchup/p-878f1dc1.entry.js +1 -0
- package/dist/ketchup/{p-42f29a2f.entry.js → p-983576c3.entry.js} +1 -1
- package/dist/ketchup/{p-e6947ad7.entry.js → p-99b4d81d.entry.js} +1 -1
- package/dist/ketchup/{p-1891f1e3.entry.js → p-9cbf5d71.entry.js} +1 -1
- package/dist/ketchup/{p-233b93b0.entry.js → p-a69b7815.entry.js} +1 -1
- package/dist/ketchup/{p-fdfb578a.entry.js → p-a8a09ca2.entry.js} +1 -1
- package/dist/ketchup/{p-9bd60add.entry.js → p-aa29831e.entry.js} +1 -1
- package/dist/ketchup/{p-5d594ebd.js → p-ad52ea4a.js} +1 -1
- package/dist/ketchup/p-adadf8b5.js +1 -0
- package/dist/ketchup/{p-af23613c.js → p-b20c5416.js} +1 -1
- package/dist/ketchup/{p-f6656fb8.js → p-b669cdca.js} +1 -1
- package/dist/ketchup/{p-8ee307af.entry.js → p-cbec9dd6.entry.js} +1 -1
- package/dist/ketchup/{p-05c1ec33.entry.js → p-d27d8ad1.entry.js} +1 -1
- package/dist/ketchup/{p-51f49c1a.js → p-d3e2500c.js} +1 -1
- package/dist/ketchup/{p-e8b59489.entry.js → p-d48d6b9b.entry.js} +1 -1
- package/dist/ketchup/{p-88ab81bc.entry.js → p-dbd00009.entry.js} +1 -1
- package/dist/ketchup/{p-93985707.entry.js → p-df030135.entry.js} +1 -1
- package/dist/ketchup/{p-b00a6249.entry.js → p-e3da3084.entry.js} +1 -1
- package/dist/ketchup/{p-d7ad7913.entry.js → p-e618deeb.entry.js} +2 -2
- package/dist/ketchup/{p-39485e5b.entry.js → p-e7feebf1.entry.js} +1 -1
- package/dist/ketchup/{p-2225fb63.entry.js → p-e9c66132.entry.js} +1 -1
- package/dist/ketchup/{p-2df5bf04.js → p-f2edb49f.js} +1 -1
- package/dist/ketchup/p-fa4a5da1.entry.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-27b85798.entry.js +0 -44
- package/dist/ketchup/p-6762a32c.entry.js +0 -1
- package/dist/ketchup/p-ee45eaa1.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,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, i as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aB as submitPositionAdapter, b as KupLanguageGeneric, aC as KupCellProps } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-6298565d.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
6
|
-
import './kup-dates-
|
|
5
|
+
import { F as FCell } from './f-cell-1a087912.js';
|
|
6
|
+
import './kup-dates-bf500166.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-96ea1421.js';
|
|
9
9
|
import './f-checkbox-191ec2e7.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-876f5447.js';
|
|
11
|
+
import './f-object-field-4382c70d.js';
|
|
12
|
+
import './f-text-field-a13130d7.js';
|
|
13
13
|
|
|
14
14
|
const kupCellCss = ".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}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { a as KupDates, c as commonjsGlobal } from './kup-dates-
|
|
2
|
+
import { a as KupDates, c as commonjsGlobal } from './kup-dates-bf500166.js';
|
|
3
3
|
import { d as createArrayFromNum, i as isKeyboardEvent, g as getProgressPoint, h as handleTaskBySVGMouseEvent } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { d as defaultDateTimeFormatters, a as getDaysInMonth, b as getCachedDateTimeFormat, c as getLocalDayOfWeek, e as getLocaleMonth } from './kup-planner-time-formatter-ddf84f9b.js';
|
|
5
5
|
import { d as defaultStylingOptions } from './kup-planner-declarations-0704bc6c.js';
|
|
@@ -17,11 +17,11 @@ const KupCustomTaskListHeader = class {
|
|
|
17
17
|
this.fontSize = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("div", { key: '
|
|
20
|
+
return (h("div", { key: 'fdc8beea062b5fbed5133aa1a1bfbc210a2ee940', class: "custom-task-list-wrapper", style: {
|
|
21
21
|
height: '25px',
|
|
22
22
|
fontFamily: this.fontFamily,
|
|
23
23
|
fontSize: this.fontSize,
|
|
24
|
-
} }, h("div", { key: '
|
|
24
|
+
} }, 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")))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
|
|
@@ -403,11 +403,11 @@ const KupGanttCalendar = class {
|
|
|
403
403
|
this.simplifiedHeader =
|
|
404
404
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
405
405
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
406
|
-
return (h("svg", { key: '
|
|
406
|
+
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
|
|
407
407
|
? 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))))
|
|
408
408
|
: 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 && (
|
|
409
409
|
// current date indicator
|
|
410
|
-
h("circle", { key: '
|
|
410
|
+
h("circle", { key: '783f6187865b0f21a7f066a7e8d23d677ea01b5b', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
KupGanttCalendar.style = KupGanttCalendarStyle0;
|
|
@@ -1463,13 +1463,13 @@ const KupGridRenderer = class {
|
|
|
1463
1463
|
// }
|
|
1464
1464
|
tickX += this.columnWidth;
|
|
1465
1465
|
}
|
|
1466
|
-
return (h("svg", { key: '
|
|
1466
|
+
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) => {
|
|
1467
1467
|
return task.barChildren.map((child) => {
|
|
1468
1468
|
if (task.type !== 'timeline') {
|
|
1469
1469
|
this.renderKupArrow(task, child);
|
|
1470
1470
|
}
|
|
1471
1471
|
});
|
|
1472
|
-
})), h("g", { key: '
|
|
1472
|
+
})), h("g", { key: 'bbfff688585a2166f3008a75f9e39cbac90caa83', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1473
1473
|
const forbidResize = task.type === 'project';
|
|
1474
1474
|
return (h("g", { onKeyDown: (e) => {
|
|
1475
1475
|
switch (e.key) {
|
|
@@ -1529,7 +1529,7 @@ const KupGridRenderer = class {
|
|
|
1529
1529
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1530
1530
|
}
|
|
1531
1531
|
})()));
|
|
1532
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1532
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: 'cd2a823576c419481d36b5eb4147a8d7a2547ff4', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1533
1533
|
}
|
|
1534
1534
|
static get watchers() { return {
|
|
1535
1535
|
"columnWidth": ["updateXStep"],
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-6298565d.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-191ec2e7.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-a13130d7.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, b as KupLanguageGeneric, Y as KupDragEffect, h as KupDebugCategory } from './kup-manager-150e2ada.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-96ea1421.js';
|
|
10
10
|
import './component-a35bc7f1.js';
|
|
11
|
-
import './kup-dates-
|
|
11
|
+
import './kup-dates-bf500166.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Props of the kup-dashboard component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-
|
|
2
|
-
import { K as KupDatesFormats } from './kup-dates-
|
|
1
|
+
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2, ai as getCellValueForDisplay, x as getColumnByName, z as KupObjects, aj as KupData, ak as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, al as CMBandACPAdapter, am as RADAdapter, an as CHKAdapter, ao as CHIAdapter, ap as SWTAdapter, a8 as SortMode } from './kup-manager-150e2ada.js';
|
|
2
|
+
import { K as KupDatesFormats } from './kup-dates-bf500166.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Filtering algorithms related to column menus.
|
|
@@ -4,25 +4,6 @@ function getDefaultExportFromCjs (x) {
|
|
|
4
4
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
function getAugmentedNamespace(n) {
|
|
8
|
-
if (n.__esModule) return n;
|
|
9
|
-
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
10
|
-
Object.keys(n).forEach(function (k) {
|
|
11
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
12
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () {
|
|
15
|
-
return n[k];
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
return a;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function commonjsRequire (path) {
|
|
23
|
-
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
24
|
-
}
|
|
25
|
-
|
|
26
7
|
/**
|
|
27
8
|
* Supported locales.
|
|
28
9
|
*/
|
|
@@ -331,6 +312,31 @@ class KupDates {
|
|
|
331
312
|
if (!format) {
|
|
332
313
|
format = 'L'; // MM/DD/YYYY, DD/MM/YYYY depending on locale
|
|
333
314
|
}
|
|
315
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
316
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
317
|
+
const yearStr = input.substring(0, 4);
|
|
318
|
+
const year = Number(yearStr);
|
|
319
|
+
if (year >= 1 && year <= 999) {
|
|
320
|
+
// Use native Date for early years
|
|
321
|
+
const nativeDate = new Date(input);
|
|
322
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
323
|
+
// Manual formatting for common ISO formats
|
|
324
|
+
if (format === 'YYYY-MM-DD' ||
|
|
325
|
+
format === KupDatesFormats.ISO_DATE) {
|
|
326
|
+
return nativeDate.toISOString().substring(0, 10);
|
|
327
|
+
}
|
|
328
|
+
else if (format === 'YYYY-MM-DD HH:mm:ss' ||
|
|
329
|
+
format === KupDatesFormats.ISO_DATE_TIME) {
|
|
330
|
+
return nativeDate
|
|
331
|
+
.toISOString()
|
|
332
|
+
.substring(0, 19)
|
|
333
|
+
.replace('T', ' ');
|
|
334
|
+
}
|
|
335
|
+
// For other formats, convert to dayjs but be aware of year issues
|
|
336
|
+
return dayjs.utc(nativeDate).format(format);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
334
340
|
return dayjs.utc(input).format(format);
|
|
335
341
|
}
|
|
336
342
|
/**
|
|
@@ -351,6 +357,48 @@ class KupDates {
|
|
|
351
357
|
return time.toLocaleTimeString(this.getLocale() + '-u-hc-h23', options);
|
|
352
358
|
}
|
|
353
359
|
isIsoDate(dateString) {
|
|
360
|
+
// Validate input
|
|
361
|
+
if (!dateString || typeof dateString !== 'string') {
|
|
362
|
+
return false;
|
|
363
|
+
}
|
|
364
|
+
// ISO date must be at least 10 characters (YYYY-MM-DD)
|
|
365
|
+
if (dateString.length < 10) {
|
|
366
|
+
return false;
|
|
367
|
+
}
|
|
368
|
+
// Extract year from the string
|
|
369
|
+
const yearStr = dateString.substring(0, 4);
|
|
370
|
+
const year = Number(yearStr);
|
|
371
|
+
// Year 0 doesn't exist in Gregorian calendar (goes from 1 BC to 1 AD)
|
|
372
|
+
if (year === 0 || isNaN(year)) {
|
|
373
|
+
return false;
|
|
374
|
+
}
|
|
375
|
+
// For years 0001-0999, dayjs misinterprets them, so use native Date parsing
|
|
376
|
+
if (year >= 1 && year <= 999) {
|
|
377
|
+
try {
|
|
378
|
+
const nativeDate = new Date(dateString);
|
|
379
|
+
if (isNaN(nativeDate.getTime())) {
|
|
380
|
+
return false;
|
|
381
|
+
}
|
|
382
|
+
// Validate the parsed components match the input
|
|
383
|
+
const isoString = nativeDate.toISOString();
|
|
384
|
+
if (Number(isoString.substring(0, 4)) != year) {
|
|
385
|
+
return false;
|
|
386
|
+
}
|
|
387
|
+
if (Number(dateString.substring(5, 7)) !=
|
|
388
|
+
nativeDate.getUTCMonth() + 1) {
|
|
389
|
+
return false;
|
|
390
|
+
}
|
|
391
|
+
if (Number(dateString.substring(8, 10)) !=
|
|
392
|
+
nativeDate.getUTCDate()) {
|
|
393
|
+
return false;
|
|
394
|
+
}
|
|
395
|
+
return true;
|
|
396
|
+
}
|
|
397
|
+
catch (_a) {
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
// For years 1000 and above, use dayjs as usual
|
|
354
402
|
const isoDate = dayjs(dateString, [
|
|
355
403
|
KupDatesFormats.ISO_DATE,
|
|
356
404
|
KupDatesFormats.ISO_DATE_TIME,
|
|
@@ -458,6 +506,18 @@ class KupDates {
|
|
|
458
506
|
* @returns {Date} Date object.
|
|
459
507
|
*/
|
|
460
508
|
toDate(input, format) {
|
|
509
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
510
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
511
|
+
const yearStr = input.substring(0, 4);
|
|
512
|
+
const year = Number(yearStr);
|
|
513
|
+
if (year >= 1 && year <= 999) {
|
|
514
|
+
// Use native Date for early years
|
|
515
|
+
const nativeDate = new Date(input);
|
|
516
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
517
|
+
return nativeDate;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
461
521
|
const parsed = format ? dayjs.utc(input, format) : dayjs.utc(input);
|
|
462
522
|
return parsed.isValid() ? parsed.toDate() : null;
|
|
463
523
|
}
|
|
@@ -468,6 +528,18 @@ class KupDates {
|
|
|
468
528
|
* @returns {dayjs.Dayjs} Dayjs object.
|
|
469
529
|
*/
|
|
470
530
|
toDayjs(input, format) {
|
|
531
|
+
// Check if input is an ISO date string with early year (0001-0999)
|
|
532
|
+
if (typeof input === 'string' && /^0\d{3}-/.test(input)) {
|
|
533
|
+
const yearStr = input.substring(0, 4);
|
|
534
|
+
const year = Number(yearStr);
|
|
535
|
+
if (year >= 1 && year <= 999) {
|
|
536
|
+
// Use native Date for early years, then convert to dayjs
|
|
537
|
+
const nativeDate = new Date(input);
|
|
538
|
+
if (!isNaN(nativeDate.getTime())) {
|
|
539
|
+
return dayjs(nativeDate);
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
}
|
|
471
543
|
const dayJsResult = format ? dayjs(input, format) : dayjs(input);
|
|
472
544
|
return dayJsResult.isValid() ? dayJsResult : null;
|
|
473
545
|
}
|
|
@@ -1002,4 +1074,4 @@ class KupDates {
|
|
|
1002
1074
|
}
|
|
1003
1075
|
}
|
|
1004
1076
|
|
|
1005
|
-
export { KupDatesFormats as K, KupDates as a, KupDatesLocales as b, commonjsGlobal as c, KupDateTimeFormatOptionsMonth as d,
|
|
1077
|
+
export { KupDatesFormats as K, KupDates as a, KupDatesLocales as b, commonjsGlobal as c, KupDateTimeFormatOptionsMonth as d, getDefaultExportFromCjs as g };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-bf500166.js';
|
|
5
5
|
|
|
6
6
|
const drawerClass = 'drawer';
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, f as KupThemeColorValues, h as KupDebugCategory, x as getColumnByName, p as KupDataNewColumnTypes } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-bf500166.js';
|
|
5
5
|
|
|
6
6
|
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-
|
|
4
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-bf500166.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-6298565d.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-96ea1421.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-150e2ada.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import './kup-dates-
|
|
7
|
+
import './kup-dates-bf500166.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Props of the kup-family-tree component.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, f as forceUpdate, d as getElement, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-
|
|
2
|
+
import { f as ganttDateRangeFromTask, s as seedDates, g as getPhaseById, b as getProjectById } from './kup-planner-renderer-helper-b328ea3f.js';
|
|
3
3
|
import { r as removeHiddenTasks, s as sortTasks, c as convertToBarTasks, a as calculateCurrentDateCalculator, b as calculateProjection } from './bar.helpers-23a51579.js';
|
|
4
4
|
import { e as KUP_PLANNER_MAIN_GANTT_ID } from './kup-planner-declarations-0704bc6c.js';
|
|
5
|
-
import './kup-dates-
|
|
5
|
+
import './kup-dates-bf500166.js';
|
|
6
6
|
|
|
7
7
|
const kupGanttCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.wrapper{display:flex;padding:0;margin:0;list-style:none;outline:none;position:relative}.ganttContainer{background:var(--kup-layer-2);border-radius:var(--kup-radius-00);overflow:hidden;padding:var(--kup-space-05)}.ganttVerticalContainer{overflow:hidden;font-size:0;margin:0;padding:0}.horizontalContainer{margin:0;padding:0;overflow:hidden}.horizontalContainerScrollable{overflow:auto !important;scrollbar-width:0}.horizontalContainerScrollable::-webkit-scrollbar{width:0;height:0}.task-gantt{overflow:hidden}";
|
|
8
8
|
const KupGanttStyle0 = kupGanttCss;
|
|
@@ -569,9 +569,9 @@ const KupGantt = class {
|
|
|
569
569
|
TaskListHeader: this.TaskListHeader,
|
|
570
570
|
TaskListTable: this.TaskListTable
|
|
571
571
|
};
|
|
572
|
-
return (h("div", { key: '
|
|
572
|
+
return (h("div", { key: '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) => {
|
|
573
573
|
this.taskListScrollWidth = width;
|
|
574
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
574
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '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 }))));
|
|
575
575
|
}
|
|
576
576
|
get rootElement() { return getElement(this); }
|
|
577
577
|
static get watchers() { return {
|
|
@@ -682,20 +682,20 @@ const HorizontalScroll = class {
|
|
|
682
682
|
var _a, _b;
|
|
683
683
|
const w = (_b = ((_a = this.taskListTrueRef) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) + 24 * 1.5) !== null && _b !== void 0 ? _b : 0; // 24 * 2 is the sum of padding and margin for both list and gantt, multiplied by 1.5 cause we need to add the other half to the right
|
|
684
684
|
const width = +this.listCellWidth.replace('px', '');
|
|
685
|
-
return (h(Fragment, { key: '
|
|
686
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
685
|
+
return (h(Fragment, { key: 'f3b55ade278b97bd84d78c543a465ab43cb0c04b' }, h("div", { key: 'd055d4cce94f6bfe8e590d0edbb2185763b0e14e', class: "scroll-container" }, this.scrollableTaskList &&
|
|
686
|
+
this.taskListScrollWidth > width && (h("div", { key: '9b56debdb882b93b65098e38bbff1fbce0dc79a0', dir: "ltr", style: {
|
|
687
687
|
margin: this.rtl
|
|
688
688
|
? `0px 20px 0px 20px`
|
|
689
689
|
: `0px 20px 0px 20px`,
|
|
690
690
|
maxWidth: `${width + 20}px`,
|
|
691
691
|
minWidth: `${width + 20}px`,
|
|
692
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
692
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '5b4508bfd4e72006153cd9f368675a87f6809e22', style: {
|
|
693
693
|
width: `${this.taskListScrollWidth}px`,
|
|
694
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
694
|
+
}, class: "scroll" }))), h("div", { key: 'bfd573478aa4930a0b97a6a57c76412f67568ec1', dir: "ltr", style: {
|
|
695
695
|
margin: this.rtl
|
|
696
696
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
697
697
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
698
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
698
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '48ec74f46bdd8f6197a55efea02b5160527f350f', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
699
699
|
}
|
|
700
700
|
get rootElement() { return getElement(this); }
|
|
701
701
|
static get watchers() { return {
|
|
@@ -716,7 +716,7 @@ const StandardTooltipContent = class {
|
|
|
716
716
|
this.fontFamily = undefined;
|
|
717
717
|
}
|
|
718
718
|
render() {
|
|
719
|
-
return (h("div", { key: '
|
|
719
|
+
return (h("div", { key: '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} %`)));
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
StandardTooltipContent.style = KupStandardTooltipStyle0;
|
|
@@ -742,7 +742,7 @@ const KupSwitcher = class {
|
|
|
742
742
|
this.activeButton = mode;
|
|
743
743
|
this.timeUnitChange(mode);
|
|
744
744
|
};
|
|
745
|
-
return (h("div", { key: '
|
|
745
|
+
return (h("div", { key: '8a4858f83d42bfa9a379ed3f18695c01d0ed4475', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
746
746
|
button: true,
|
|
747
747
|
buttonActive: this.activeButton === label,
|
|
748
748
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -786,12 +786,12 @@ const TaskGantt = class {
|
|
|
786
786
|
}
|
|
787
787
|
render() {
|
|
788
788
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
789
|
-
return (h("div", { key: '
|
|
789
|
+
return (h("div", { key: '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
|
|
790
790
|
? {
|
|
791
791
|
height: `${this.ganttHeight}px`,
|
|
792
792
|
width: `${this.gridProps.svgWidth}px`,
|
|
793
793
|
}
|
|
794
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
794
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: 'c02affad8b979a692a64447d3595348fce0d3d47' }, newBarProps)))));
|
|
795
795
|
}
|
|
796
796
|
get rootElement() { return getElement(this); }
|
|
797
797
|
static get watchers() { return {
|
|
@@ -891,7 +891,7 @@ const TaskList = class {
|
|
|
891
891
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
892
892
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
893
893
|
}
|
|
894
|
-
return (h("div", { key: '
|
|
894
|
+
return (h("div", { key: '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
|
|
895
895
|
? { height: this.ganttHeight + 'px' }
|
|
896
896
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
897
897
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -940,22 +940,22 @@ const KupTaskListHeader = class {
|
|
|
940
940
|
this.rowWidth = undefined;
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return (h("div", { key: '
|
|
943
|
+
return (h("div", { key: '0ac0ecde64e3ae1368ddad733a009344d53cfabe', class: "ganttTable", style: {
|
|
944
944
|
fontFamily: this.fontFamily,
|
|
945
945
|
fontSize: this.fontSize,
|
|
946
|
-
} }, h("div", { key: '
|
|
946
|
+
} }, h("div", { key: 'a0ae6af8421142fc9ef50763e9f83b582a5255a1', class: "ganttTable_Header", style: {
|
|
947
947
|
height: `${this.headerHeight - 2}px`,
|
|
948
|
-
} }, h("div", { key: '
|
|
948
|
+
} }, h("div", { key: '2d27d23088e3269d64723d3dd69289dd2b50f52d', class: "ganttTable_HeaderItem", style: {
|
|
949
949
|
minWidth: this.rowWidth,
|
|
950
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
950
|
+
} }, "\u00A0Name"), h("div", { key: 'c8ca38d5fea9640c5fac63e80010201af37ae159', class: "ganttTable_HeaderSeparator", style: {
|
|
951
951
|
height: `${this.headerHeight * 0.5}px`,
|
|
952
952
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
953
|
-
} }), h("div", { key: '
|
|
953
|
+
} }), h("div", { key: '0997635040e6f0a8681c99f61fae06a7db44a1bc', class: "ganttTable_HeaderItem", style: {
|
|
954
954
|
minWidth: this.rowWidth,
|
|
955
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
955
|
+
} }, "\u00A0From"), h("div", { key: 'd65fb8115fe35b59a5af8527d431a29df959cd8b', class: "ganttTable_HeaderSeparator", style: {
|
|
956
956
|
height: `${this.headerHeight * 0.5}px`,
|
|
957
957
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
958
|
-
} }), h("div", { key: '
|
|
958
|
+
} }), h("div", { key: 'b81dd60c7c5207f2aa69eddbe5e2c57db9fbdb6a', class: "ganttTable_HeaderItem", style: {
|
|
959
959
|
minWidth: this.rowWidth,
|
|
960
960
|
} }, "\u00A0To"))));
|
|
961
961
|
}
|
|
@@ -989,7 +989,7 @@ const TaskListTableDefault = class {
|
|
|
989
989
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
990
990
|
}
|
|
991
991
|
render() {
|
|
992
|
-
return (h("div", { key: '
|
|
992
|
+
return (h("div", { key: '57c731aef0c7bc0c04628ef6044b034486b616de', class: "taskListWrapper", style: {
|
|
993
993
|
fontFamily: this.fontFamily,
|
|
994
994
|
fontSize: this.fontSize,
|
|
995
995
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -1078,7 +1078,7 @@ const Tooltip = class {
|
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
1080
|
render() {
|
|
1081
|
-
return (h("div", { key: '
|
|
1081
|
+
return (h("div", { key: '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 })));
|
|
1082
1082
|
}
|
|
1083
1083
|
get rootElement() { return getElement(this); }
|
|
1084
1084
|
static get watchers() { return {
|
|
@@ -1132,11 +1132,11 @@ const KupVerticalScroll = class {
|
|
|
1132
1132
|
};
|
|
1133
1133
|
}
|
|
1134
1134
|
render() {
|
|
1135
|
-
return (h("div", { key: '
|
|
1135
|
+
return (h("div", { key: '7c51a0f660ddf3e8bd92481ee3d231b432673477', style: {
|
|
1136
1136
|
height: `${this.ganttHeight}px`,
|
|
1137
1137
|
marginTop: `${this.headerHeight}px`,
|
|
1138
1138
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
1139
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
1139
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '40e5807dfed85935ff06b86406faf165b95409d0', style: {
|
|
1140
1140
|
height: `${this.ganttFullHeight}px`,
|
|
1141
1141
|
width: '1px',
|
|
1142
1142
|
} })));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-bf500166.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-grid component.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric } from './kup-manager-150e2ada.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
|
-
import './kup-dates-
|
|
4
|
+
import './kup-dates-bf500166.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-htm component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-
|
|
3
|
-
import './kup-dates-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupDebugCategory } from './kup-manager-150e2ada.js';
|
|
3
|
+
import './kup-dates-bf500166.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-iframe component.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-6298565d.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-1a087912.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ad as FCellTypes, g as getProps, s as setProps, b as KupLanguageGeneric, ai as getCellValueForDisplay, a7 as UseAsValue, ao as CHIAdapter, al as CMBandACPAdapter, an as CHKAdapter, am as RADAdapter, ap as SWTAdapter, h as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-150e2ada.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-96ea1421.js';
|
|
10
10
|
import './f-checkbox-191ec2e7.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
14
|
-
import './kup-dates-
|
|
11
|
+
import './f-chip-876f5447.js';
|
|
12
|
+
import './f-object-field-4382c70d.js';
|
|
13
|
+
import './f-text-field-a13130d7.js';
|
|
14
|
+
import './kup-dates-bf500166.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
17
17
|
var KupInputPanelLayoutSectionType;
|
|
@@ -422,7 +422,7 @@ const KupInputPanel = class {
|
|
|
422
422
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
423
423
|
]
|
|
424
424
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
425
|
-
return (h(Host, { key: '
|
|
425
|
+
return (h(Host, { key: '00deead0b135a903f40950d56895ace23a76ff5b', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
426
426
|
this.tabSelected = e.detail.node.id;
|
|
427
427
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
428
428
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -432,7 +432,7 @@ const KupInputPanel = class {
|
|
|
432
432
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
433
433
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
434
434
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
435
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
435
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: 'a2f02d07be7561e95bff1a42385c51576abc86f2' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'bfe6d241058a81024eb27df04a188289bb16390f', id: componentWrapperId }, inputPanelContent)));
|
|
436
436
|
}
|
|
437
437
|
disconnectedCallback() {
|
|
438
438
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -821,7 +821,11 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
821
821
|
}
|
|
822
822
|
let length;
|
|
823
823
|
if (fieldCell.cell.shape == FCellShapes.DATE) {
|
|
824
|
-
length =
|
|
824
|
+
length = fieldCell.cell.value
|
|
825
|
+
? fieldCell.cell.value.length
|
|
826
|
+
: field.absoluteLength > 8
|
|
827
|
+
? field.absoluteLength
|
|
828
|
+
: 8;
|
|
825
829
|
}
|
|
826
830
|
else {
|
|
827
831
|
length = field.absoluteLength;
|
|
@@ -1278,7 +1282,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1278
1282
|
: (_d = (_c = cell.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d['kup-list'];
|
|
1279
1283
|
if (kupListData) {
|
|
1280
1284
|
kupListData.data = (filteredRows === null || filteredRows === void 0 ? void 0 : filteredRows.length)
|
|
1281
|
-
? (_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : []
|
|
1285
|
+
? ((_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : [])
|
|
1282
1286
|
: [];
|
|
1283
1287
|
kupListData.options = (_f = options.columns) !== null && _f !== void 0 ? _f : [];
|
|
1284
1288
|
}
|
|
@@ -1327,7 +1331,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1327
1331
|
// Update the autocomplete list data
|
|
1328
1332
|
const kupListData = targetCell.data.data['kup-list'];
|
|
1329
1333
|
kupListData.data = filteredRows.length
|
|
1330
|
-
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1334
|
+
? ((_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : [])
|
|
1331
1335
|
: [];
|
|
1332
1336
|
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1333
1337
|
// Update the component data and refresh
|