@sme.up/ketchup 10.3.2 → 10.3.4
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-7a2faf7a.js → f-cell-2d3d1fb1.js} +17 -9
- package/dist/cjs/{f-chip-f2d6124b.js → f-chip-9ac0d065.js} +11 -2
- package/dist/cjs/{f-object-field-3810f288.js → f-object-field-e0c83ebd.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3855e84c.js → f-paginator-utils-d61b2fc7.js} +1 -1
- package/dist/cjs/{f-text-field-a34a5979.js → f-text-field-6c373c74.js} +1 -1
- package/dist/cjs/index-c7d441d8.js +2 -6
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_30.cjs.entry.js} +1505 -1076
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-f53032e7.js → kup-data-table-helper-f4e3958d.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +44 -34
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +22 -13
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-c70d3188.js → kup-manager-587e54f5.js} +13 -4
- 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-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/editor-example-1.js +27 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +54 -8
- package/dist/collection/components/kup-box/kup-box.css +19 -3
- package/dist/collection/components/kup-chip/kup-chip.js +6 -4
- package/dist/collection/components/kup-combobox/kup-combobox.js +23 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +48 -27
- package/dist/collection/components/kup-editor/kup-editor-declarations.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +44 -34
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +2 -2
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.css +4 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +68 -7
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +18 -8
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-tree/kup-tree.js +7 -7
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
- package/dist/collection/f-components/f-cell/f-cell.js +13 -5
- package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +8 -2
- package/dist/collection/managers/kup-data/kup-data-cell-helper.js +2 -2
- package/dist/collection/managers/kup-data/kup-data-declarations.js +5 -0
- package/dist/collection/managers/kup-data/kup-data.js +2 -0
- package/dist/collection/utils/filters/filters.js +1 -1
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +25 -20
- package/dist/components/kup-activity-timeline.js +25 -20
- 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 +25 -20
- package/dist/components/kup-card-list.js +27 -22
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +25 -20
- 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-dashboard.js +25 -20
- 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 +25 -20
- 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 +29 -24
- 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 +26 -21
- package/dist/components/kup-iframe.js +25 -20
- package/dist/components/kup-image-list.js +1 -565
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +44 -30
- package/dist/components/kup-lazy.js +36 -31
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +32 -27
- package/dist/components/kup-nav-bar.js +26 -21
- package/dist/components/kup-numeric-picker.js +26 -21
- package/dist/components/kup-object-field.js +26 -21
- package/dist/components/kup-pdf.js +26 -21
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +47 -42
- package/dist/components/kup-probe.js +26 -21
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +26 -21
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +26 -21
- 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 +26 -21
- package/dist/components/kup-typography-list.js +26 -21
- package/dist/components/kup-typography.js +27 -22
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-c325da75.js → p-0ca0b3b7.js} +2 -2
- package/dist/components/{p-de04aef6.js → p-1ac3dd8e.js} +15 -15
- package/dist/components/{p-d0e33e04.js → p-206f0986.js} +13 -13
- package/dist/components/{p-6992b96f.js → p-28774fba.js} +4 -4
- package/dist/components/{p-6bfda249.js → p-33cf89e0.js} +1 -1
- package/dist/components/{p-8472facf.js → p-34ed7a73.js} +2 -2
- package/dist/components/{p-a22e5ee4.js → p-36397daa.js} +25 -20
- package/dist/components/{p-0e85ab66.js → p-394a36af.js} +3 -3
- package/dist/components/{p-55542b47.js → p-46ec5845.js} +1 -1
- package/dist/components/{p-3ba7c133.js → p-4b555010.js} +26 -21
- package/dist/components/{p-c7c7f760.js → p-57a120a5.js} +1 -1
- package/dist/components/{p-3b4cdace.js → p-7aa9d49d.js} +7 -7
- package/dist/components/{p-55fda958.js → p-9b35cce9.js} +1361 -588
- package/dist/components/{p-286915d4.js → p-ad93796a.js} +25 -20
- package/dist/components/{p-97053b4d.js → p-af0a6cfe.js} +2 -2
- package/dist/components/{p-9859e801.js → p-af2d3d26.js} +14 -5
- package/dist/components/{p-f2e153e3.js → p-b87bd975.js} +5 -5
- package/dist/components/{p-d7136d08.js → p-d3a8c2ba.js} +2 -2
- package/dist/components/{p-bd3047ee.js → p-daa07bb7.js} +1 -1
- package/dist/components/{p-7bdb5142.js → p-f976f7ae.js} +69 -54
- package/dist/esm/{f-cell-ae0c965d.js → f-cell-e08c0b3c.js} +17 -9
- package/dist/esm/{f-chip-29242e70.js → f-chip-a030d384.js} +11 -2
- package/dist/esm/{f-object-field-75069ac2.js → f-object-field-badf11fe.js} +2 -2
- package/dist/esm/{f-paginator-utils-212f93c3.js → f-paginator-utils-e1e23a7e.js} +1 -1
- package/dist/esm/{f-text-field-ebe023fb.js → f-text-field-188fd143.js} +1 -1
- package/dist/esm/index-9b0f4a0d.js +2 -6
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_30.entry.js} +1505 -1077
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-ca11e6e9.js → kup-data-table-helper-1c128c4b.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +44 -34
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +22 -13
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-63a8048f.js → kup-manager-fbf034b0.js} +14 -5
- 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-pdf.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +3 -3
- 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-00e65c8b.entry.js +1 -0
- package/dist/ketchup/p-0b47c2e3.js +1 -0
- package/dist/ketchup/{p-6f1dec16.entry.js → p-100446c4.entry.js} +1 -1
- package/dist/ketchup/{p-b91e3bae.entry.js → p-14b668f6.entry.js} +1 -1
- package/dist/ketchup/{p-fb7c0958.entry.js → p-14e878e9.entry.js} +1 -1
- package/dist/ketchup/{p-c8cd012e.entry.js → p-15c1ed53.entry.js} +1 -1
- package/dist/ketchup/{p-260587c5.entry.js → p-19de01e7.entry.js} +1 -1
- package/dist/ketchup/{p-bc789017.entry.js → p-2032b357.entry.js} +1 -1
- package/dist/ketchup/{p-a2d40711.entry.js → p-4bef80af.entry.js} +1 -1
- package/dist/ketchup/{p-e705eb4a.js → p-515c59b6.js} +1 -1
- package/dist/ketchup/{p-9baa1d6d.entry.js → p-58196a26.entry.js} +1 -1
- package/dist/ketchup/{p-11e54526.entry.js → p-5bdc3f74.entry.js} +1 -1
- package/dist/ketchup/{p-7dfc42f0.entry.js → p-64c7546a.entry.js} +1 -1
- package/dist/ketchup/{p-8ba1d444.entry.js → p-66b6d56b.entry.js} +1 -1
- package/dist/ketchup/{p-fe42ae2d.entry.js → p-6782ea5b.entry.js} +1 -1
- package/dist/ketchup/p-679a76b6.entry.js +8 -0
- package/dist/ketchup/{p-610faea9.js → p-69c806c5.js} +1 -1
- package/dist/ketchup/{p-434f2c39.entry.js → p-6e4e479b.entry.js} +1 -1
- package/dist/ketchup/p-6fe18ae9.js +1 -0
- package/dist/ketchup/p-7b5c4ec1.entry.js +1 -0
- package/dist/ketchup/{p-eb090acd.entry.js → p-83d15d86.entry.js} +2 -2
- package/dist/ketchup/{p-e7293ae8.entry.js → p-85835e52.entry.js} +1 -1
- package/dist/ketchup/{p-43f12940.entry.js → p-8ee44f57.entry.js} +1 -1
- package/dist/ketchup/{p-5bf3d60d.entry.js → p-8fad681d.entry.js} +1 -1
- package/dist/ketchup/{p-f87b7768.entry.js → p-91743bb0.entry.js} +1 -1
- package/dist/ketchup/{p-9b200a90.entry.js → p-982d4b01.entry.js} +1 -1
- package/dist/ketchup/{p-8610d5b5.js → p-a9a2f8c7.js} +3 -3
- package/dist/ketchup/{p-3533879b.entry.js → p-af99fb41.entry.js} +1 -1
- package/dist/ketchup/{p-4677cfd1.entry.js → p-b71d58a8.entry.js} +1 -1
- package/dist/ketchup/{p-81743364.entry.js → p-bf3bbbe5.entry.js} +1 -1
- package/dist/ketchup/p-c3595114.js +1 -0
- package/dist/ketchup/{p-d84e4e90.entry.js → p-d52f2836.entry.js} +1 -1
- package/dist/ketchup/{p-7b326bde.entry.js → p-ddfe8edb.entry.js} +1 -1
- package/dist/ketchup/{p-6c41cd20.entry.js → p-e4687067.entry.js} +1 -1
- package/dist/ketchup/{p-6b529a6f.entry.js → p-ec382a7d.entry.js} +2 -2
- package/dist/ketchup/{p-4365fbd3.entry.js → p-f17369c3.entry.js} +3 -3
- package/dist/ketchup/{p-da694791.js → p-f6eba414.js} +1 -1
- package/dist/ketchup/{p-b6beace3.entry.js → p-f738c370.entry.js} +1 -1
- package/dist/ketchup/{p-b068a383.entry.js → p-fe3f5f09.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
- package/dist/types/components/kup-editor/kup-editor-declarations.d.ts +2 -2
- package/dist/types/components/kup-image-list/kup-image-list.d.ts +12 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -4
- package/dist/types/components.d.ts +39 -1
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +3 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +5 -1
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
- package/package.json +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +0 -404
- package/dist/esm/kup-image-list.entry.js +0 -400
- package/dist/ketchup/p-102d35b1.js +0 -1
- package/dist/ketchup/p-4a64f9f2.entry.js +0 -1
- package/dist/ketchup/p-4cfa35bc.js +0 -1
- package/dist/ketchup/p-5d28e8e0.entry.js +0 -8
- package/dist/ketchup/p-7375d456.js +0 -1
- package/dist/ketchup/p-93541362.entry.js +0 -1
- package/dist/ketchup/p-fb82cad9.entry.js +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
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, A as identify, g as getProps, s as setProps,
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, A as identify, g as getProps, s as setProps, a8 as SortMode, x as getColumnByName, b as KupLanguageGeneric, d as KupThemeIconValues, h as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aG as kupDraggableAttr, _ as KupDropEventTypes, u as KupLanguageSearch } from './kup-manager-fbf034b0.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-1c128c4b.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { d as FChip } from './f-chip-
|
|
5
|
+
import { d as FChip } from './f-chip-a030d384.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-e08c0b3c.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-e1e23a7e.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
11
11
|
import './f-button-3c8f4506.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-badf11fe.js';
|
|
15
|
+
import './f-text-field-188fd143.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -78,7 +78,7 @@ class KupBoxState {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
const kupBoxCss = ".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{--kup_box_background_color:var(--kup-box-background-color
|
|
81
|
+
const kupBoxCss = ".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{--kup_box_background_color:var(\n --kup-box-background-color,\n var(--kup-layer-1)\n );--kup_box_background_color_hover:var(\n --kup-box-background-color-hover,\n var(--kup-layer-1-hover)\n );--kup_box_background_color_selected:var(\n --kup-box-background-color-selected,\n var(--kup-layer-1-selected)\n );--kup_box_text_color:var(--kup-box-text-color, var(--kup-text-secondary));--kup_box_grid_gap:var(--kup-box-grid-gap, var(--kup-space-03));--kup_box_transition:var(--kup-box-transition, 0.25s);--kup_box_border_color_drag:var(\n --kup-box-border-color-drag,\n var(--kup-border-interactive)\n );display:block;--kup_box_padding:var(--kup-box-padding, var(--kup-space-05));--kup_box_border_radius:var(--kup-box-border-radius, var(--kup-radius-00));--kup_box_border_color:var(\n --kup-box-border-color,\n var(--kup-primary-color-60)\n );--kup_box_border_width:var(--kup-box-border-width, 0);--kup_box_border_style:var(--kup-box-border-style, none)}.box-component{transition:border var(--kup_box_transition) ease}.box-component[kup-drag-over]{position:relative;border:3px dashed var(--kup_box_border_color_drag)}#box-container{display:grid;grid-gap:var(--kup_box_grid_gap);color:var(--kup_box_text_color);overflow:auto}#box-container.is-kanban .kanban-section{overflow:auto}#box-container.is-kanban .box-wrapper{padding-top:1em}#box-container.is-kanban .box-wrapper .box{overflow:auto}#box-container *:not(.progress-bar-percentage){box-sizing:border-box}#box-container .box-wrapper{display:flex;align-items:center;background-color:var(--kup_box_background_color);border-radius:var(--kup_box_border_radius);border-color:var(--kup_box_border_color);border-width:var(--kup_box_border_width);border-style:var(--kup_box_border_style)}#box-container .box-wrapper:hover{background-color:var(--kup_box_background_color_hover)}#box-container .box-wrapper.selected{background-color:var(--kup_box_background_color_selected)}#box-container .box-wrapper.selected .box-section.titled>h3{background-color:transparent}#box-container .box-wrapper .box{flex-grow:1;cursor:pointer;position:relative;display:flex;padding:var(--kup_box_padding);transition:background-color var(--kup_box_transition) ease, box-shadow var(--kup_box_transition) ease, border var(--kup_box_transition) ease}#box-container .box-wrapper .box.draggable{touch-action:none;user-select:none}#box-container .box-wrapper .box.column{flex-direction:column}#box-container .box-wrapper .box[kup-draggable]{opacity:0.5}#box-container .box-wrapper .box[kup-drag-over]{border:3px dashed var(--kup_box_border_color_drag);position:relative;z-index:2}#box-container .box-wrapper .box .box-section{display:flex;flex-direction:row;flex:1 1 1%;flex-wrap:wrap}#box-container .box-wrapper .box .box-section.column{flex-direction:column;justify-content:center;flex-wrap:unset}#box-container .box-wrapper .box .box-section.column>.box-section{flex:0 0 auto}#box-container .box-wrapper .box .box-section.grid{display:grid}#box-container .box-wrapper .box .box-section .box-object{min-height:16px}#box-container .box-wrapper .box .box-section .box-object img{height:auto}#box-container .box-wrapper .box .box-section.collapse-section .header{border-top:1px solid var(--kup-border-subtle);color:rgba(var(--kup-text-secondary-rgb), 0.75);display:flex;justify-content:space-around;width:100%}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content{margin:0.5em;display:flex;align-items:center}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image{transition:transform 0.15s}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .f-image.toggled{transform:rotate(-180deg)}#box-container .box-wrapper .box .box-section.collapse-section .header .header-content .kup-icon.kup-dropdown-icon{margin:0;-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}#box-container .box-wrapper .box .box-section.collapse-section .content{display:none;width:100%}#box-container .box-wrapper .box .box-section.collapse-section.open .content{display:block}#box-container .box-wrapper .box .box-section.titled{border:1px solid var(--kup-border-subtle);padding-top:5px;position:relative;margin:10px}#box-container .box-wrapper .box .box-section.titled>h3{background:var(--kup-background-color);font-size:calc(var(--kup-font-size) * 1.15);position:absolute;margin:0px;padding:0 8px;top:-11px;left:5px;transition:background-color 0.25s ease}#box-container .box-wrapper .box .box-selection{position:absolute;top:0.5em;right:0.5em;z-index:1}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler{position:relative;width:24px;height:24px;margin-left:3px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler svg{cursor:pointer;opacity:0;fill:var(--kup-text-color);transition:opacity 300ms ease-out}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu{background:var(--kup-background-color);border:1px solid var(--kup-border-subtle);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);position:absolute;top:0;right:24px;display:none;z-index:10}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul{list-style-type:none;margin:0;padding:0}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li{cursor:pointer;white-space:nowrap;padding:0 12px;display:flex;align-items:center;line-height:30px}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu ul>li:not(:last-child){border-bottom:1px solid var(--kup-border-subtle)}#box-container .box-wrapper .row-actions-wrapper .row-actions-toggler .row-action-menu.open{display:block}#box-container .box-wrapper:hover .row-actions-wrapper .row-actions-toggler svg{opacity:1}#sort-panel,#global-filter{margin-bottom:1em}:host(.kup-center-aligned) #kup-component .box-section{text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:center;margin:auto;text-align:center}:host(.kup-center-aligned) #kup-component .box-section .f-cell img{margin:auto}:host(.kup-right-aligned) #kup-component .box-section{text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell .f-cell__content{justify-content:flex-end;margin-left:auto;margin-right:0;text-align:right}:host(.kup-right-aligned) #kup-component .box-section .f-cell img{margin-left:auto;margin-right:0}:host(.kup-top-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-start}:host(.kup-bottom-aligned) #box-container .box-wrapper .box .box-section .column{justify-content:flex-end}:host(.kup-flat-on-hover) #box-container .box-wrapper .box:hover{box-shadow:none}:host(.kup-shaped) .box{border-radius:10px}:host(.kup-round) .box{border-radius:25px}:host(.kup-dashed-sections) .box-section{border:2px dashed var(--kup-text-color)}:host(:not(.kup-paddingless)) #box-container .box .box-section .box-object{padding:1px 4px}:host(:not(.kup-paddingless)) #box-container .box .box-section.last-child{padding:3px 4px}:host(.kup-danger){--kup-box-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-box-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-box-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-box-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-box-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
82
82
|
const KupBoxStyle0 = kupBoxCss;
|
|
83
83
|
|
|
84
84
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, b as KupLanguageGeneric, x as getColumnByName, h as KupDebugCategory } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-a030d384.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
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, v as KupCardFamily,
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, v as KupCardFamily, ai as getCellValueForDisplay } from './kup-manager-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -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,
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-e08c0b3c.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
9
9
|
import './f-checkbox-5cdd1cad.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-a030d384.js';
|
|
11
|
+
import './f-object-field-badf11fe.js';
|
|
12
|
+
import './f-text-field-188fd143.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;
|
|
@@ -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: '7afe903d27c39f08ffa24b06aafdbd0d86cc99db', 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: '9786f5c6cc683bed20126fd095935b1881088b1d', class: "title" }, h("span", { key: 'c4d4589f9ee3440fe94791b07ccb95afa769062c' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '388a0520f64adf2d1bba10282680523c0b4d9b6c', class: "toggler" }, h("label", { key: '9e0f2aeec4f12ddc461e90e8090cdd1d02a4c6c6', htmlFor: "ch2", class: "switch" }, h("input", { key: 'd3b016d5d3435f718723ee45a81660624e526769', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: 'e9d77a0baea6b4a030f30d497e977911865c73a6', class: "slider" })), h("span", { key: '6acfe980e9e18d7bde234f99ba418b22a2304ae7', class: "label" }, "Previsioni")))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
KupCustomTaskListHeader.style = KupCustomTaskListHeaderStyle0;
|
|
@@ -385,11 +385,11 @@ const KupGanttCalendar = class {
|
|
|
385
385
|
this.simplifiedHeader =
|
|
386
386
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
387
387
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
388
|
-
return (h("svg", { key: '
|
|
388
|
+
return (h("svg", { key: '6969f03c8f75737ce4c42469a456069d0e3ced67', xmlns: "http://www.w3.org/2000/svg", width: this.svgWidth, height: this.headerHeight }, h("g", { key: 'c77177ccec8559de2e61d59b3fe235843af260ab', class: "calendar", "font-size": this.fontSize, "font-family": this.fontFamily }, h("rect", { key: 'd319809f4de45c9b9ed32c07caeb672cfcab004b', x: 0, y: 0, width: this.columnWidth * this.dateSetup.dates.length, height: this.headerHeight, class: "calendarHeader" }), this.simplifiedHeader ? null : bottomValues, this.simplifiedHeader
|
|
389
389
|
? 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))))
|
|
390
390
|
: 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 && (
|
|
391
391
|
// current date indicator
|
|
392
|
-
h("circle", { key: '
|
|
392
|
+
h("circle", { key: '90b8cd4be3694ab5827a64b8bc1b66da57e0c316', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
KupGanttCalendar.style = KupGanttCalendarStyle0;
|
|
@@ -1445,13 +1445,13 @@ const KupGridRenderer = class {
|
|
|
1445
1445
|
// }
|
|
1446
1446
|
tickX += this.columnWidth;
|
|
1447
1447
|
}
|
|
1448
|
-
return (h("svg", { key: '
|
|
1448
|
+
return (h("svg", { key: '5ec57c1b12767c30d9bf5dff548063223f9dd865', 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: 'c4ea086a80c8bdb9af3f1c5412d8a21bfbe0d8c2', class: "grid" }, h("g", { key: '4d5fca83f9c9773ace27ca73de0c31a260de6bf4', class: "rows" }, gridRows), h("g", { key: '866826ab5d44f8432505188975335992055749ef', class: "rowLines" }, rowLines), h("g", { key: '1ac3f9ebdc169f26ef80e1fcf32e07852fb82a53', class: "ticks" }, ticks)), h("g", { key: 'e609b944f5eb7cbb0ab0a76ad587bf9f0d9e9c34', class: "content" }, this.currentDateIndicator && (h("rect", { key: 'c92ca47c32edfcad7a4838f81e0b3b24952110e5', fill: this.currentDateIndicator.color, x: this.currentDateIndicator.x + 1.5, y: "0", width: "2", height: "100%" })), this.projection && (h("rect", { key: 'f4442a4e3f6ac41a61ba2638996f6997f43a295e', 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: '343047f0b4e4001616bdc8ae187a220f6c612df7', class: "arrows", fill: this.arrowColor, stroke: this.arrowColor }, this.tasks.map((task) => {
|
|
1449
1449
|
return task.barChildren.map((child) => {
|
|
1450
1450
|
if (task.type !== 'timeline') {
|
|
1451
1451
|
this.renderKupArrow(task, child);
|
|
1452
1452
|
}
|
|
1453
1453
|
});
|
|
1454
|
-
})), h("g", { key: '
|
|
1454
|
+
})), h("g", { key: '8b6fad21ec6778cec66ab08111472c6d5c6c8cb2', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
1455
1455
|
const forbidResize = task.type === 'project';
|
|
1456
1456
|
return (h("g", { onKeyDown: (e) => {
|
|
1457
1457
|
switch (e.key) {
|
|
@@ -1511,7 +1511,7 @@ const KupGridRenderer = class {
|
|
|
1511
1511
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
1512
1512
|
}
|
|
1513
1513
|
})()));
|
|
1514
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
1514
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '46e057472af12f861f49755ca0635cf52178f653', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
1515
1515
|
}
|
|
1516
1516
|
static get watchers() { return {
|
|
1517
1517
|
"columnWidth": ["updateXStep"],
|
|
@@ -1,9 +1,9 @@
|
|
|
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-3c8f4506.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-188fd143.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,
|
|
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-fbf034b0.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as Filters, H as getValueForDisplay, D as getValueForDisplay2,
|
|
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-fbf034b0.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -39118,7 +39118,7 @@ var KupEditorProps;
|
|
|
39118
39118
|
(function (KupEditorProps) {
|
|
39119
39119
|
KupEditorProps["autosaveTimer"] = "When a number is specified, the component will emit the kup-editor-save event at regular intervals. The amount of time every interval will last is specified but the prop itself.";
|
|
39120
39120
|
KupEditorProps["editorHeight"] = "Sets the height of the component.";
|
|
39121
|
-
KupEditorProps["initialEditType"] = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\".";
|
|
39121
|
+
KupEditorProps["initialEditType"] = "Initializes editor with the specified editor type. Suported values: \"markdown\", \"wysiwyg\", \"text\".";
|
|
39122
39122
|
KupEditorProps["initialValue"] = "Initializes editor with the specified string.";
|
|
39123
39123
|
KupEditorProps["isReadOnly"] = "Defaults at false. When set, When set, the editor\u2019s content can\u2019t be changed..";
|
|
39124
39124
|
KupEditorProps["selectedTab"] = "Sets the markdown editor with the specified tab. Supported values: \"preview\", \"write\".";
|
|
@@ -45888,13 +45888,14 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
45888
45888
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
45889
45889
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
45890
45890
|
};
|
|
45891
|
-
var _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem;
|
|
45891
|
+
var _KupEditor_instances, _KupEditor_autosaveInterval, _KupEditor_hasChanges, _KupEditor_initialContent, _KupEditor_kupManager, _KupEditor_unsavedChangesIndex, _KupEditor_unsavedChangesItem, _KupEditor_textareaRef, _KupEditor_isPlainTextEditor, _KupEditor_handleUnsavedChanges;
|
|
45892
45892
|
const KupEditor = class {
|
|
45893
45893
|
constructor(hostRef) {
|
|
45894
45894
|
registerInstance(this, hostRef);
|
|
45895
45895
|
this.kupAutoSave = createEvent(this, "kup-editor-autosave", 6);
|
|
45896
45896
|
this.kupReady = createEvent(this, "kup-editor-ready", 6);
|
|
45897
45897
|
this.kupSave = createEvent(this, "kup-editor-save", 6);
|
|
45898
|
+
_KupEditor_instances.add(this);
|
|
45898
45899
|
/*-------------------------------------------------*/
|
|
45899
45900
|
/* I n t e r n a l V a r i a b l e s */
|
|
45900
45901
|
/*-------------------------------------------------*/
|
|
@@ -45911,6 +45912,7 @@ const KupEditor = class {
|
|
|
45911
45912
|
},
|
|
45912
45913
|
type: 'button',
|
|
45913
45914
|
});
|
|
45915
|
+
_KupEditor_textareaRef.set(this, void 0);
|
|
45914
45916
|
this.editor = null;
|
|
45915
45917
|
this.editorRef = undefined;
|
|
45916
45918
|
this.viewer = null;
|
|
@@ -46056,36 +46058,12 @@ const KupEditor = class {
|
|
|
46056
46058
|
async setProps(props) {
|
|
46057
46059
|
setProps(this, KupEditorProps, props);
|
|
46058
46060
|
}
|
|
46059
|
-
/*-------------------------------------------------*/
|
|
46060
|
-
/* P r i v a t e M e t h o d s */
|
|
46061
|
-
/*-------------------------------------------------*/
|
|
46062
46061
|
createEditor() {
|
|
46063
46062
|
var _a;
|
|
46064
46063
|
const editorProps = {
|
|
46065
46064
|
el: this.editorRef,
|
|
46066
46065
|
events: {
|
|
46067
|
-
change: () =>
|
|
46068
|
-
if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== this.editor.getMarkdown()) {
|
|
46069
|
-
if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46070
|
-
__classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems()
|
|
46071
|
-
.length - 1, "f");
|
|
46072
|
-
this.editor
|
|
46073
|
-
.getUI()
|
|
46074
|
-
.getToolbar()
|
|
46075
|
-
.insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
|
|
46076
|
-
}
|
|
46077
|
-
__classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
|
|
46078
|
-
}
|
|
46079
|
-
else {
|
|
46080
|
-
if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46081
|
-
this.editor
|
|
46082
|
-
.getUI()
|
|
46083
|
-
.getToolbar()
|
|
46084
|
-
.removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
|
|
46085
|
-
}
|
|
46086
|
-
__classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
|
|
46087
|
-
}
|
|
46088
|
-
},
|
|
46066
|
+
change: () => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this),
|
|
46089
46067
|
focus: () => {
|
|
46090
46068
|
if (!this.isReadOnly && !this.showToolbar) {
|
|
46091
46069
|
this.showToolbar = true;
|
|
@@ -46094,7 +46072,7 @@ const KupEditor = class {
|
|
|
46094
46072
|
},
|
|
46095
46073
|
height: (_a = this.editorHeight) !== null && _a !== void 0 ? _a : 'auto',
|
|
46096
46074
|
hideModeSwitch: true,
|
|
46097
|
-
initialEditType: this.initialEditType,
|
|
46075
|
+
initialEditType: this.initialEditType === 'wysiwyg' ? 'wysiwyg' : 'markdown',
|
|
46098
46076
|
initialValue: this.initialValue,
|
|
46099
46077
|
placeholder: 'Type your text here...',
|
|
46100
46078
|
previewStyle: this.previewStyle,
|
|
@@ -46242,12 +46220,17 @@ const KupEditor = class {
|
|
|
46242
46220
|
return toolBarItems;
|
|
46243
46221
|
}
|
|
46244
46222
|
getSaveAndAutoSaveProps() {
|
|
46245
|
-
|
|
46223
|
+
const htmlValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
|
|
46224
|
+
? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
|
|
46225
|
+
: this.editor.getHtml();
|
|
46226
|
+
const markdownValue = __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this)
|
|
46227
|
+
? __classPrivateFieldGet(this, _KupEditor_textareaRef, "f").value
|
|
46228
|
+
: this.editor.getMarkdown();
|
|
46246
46229
|
return {
|
|
46247
46230
|
comp: this,
|
|
46248
46231
|
id: this.rootElement.id,
|
|
46249
|
-
htmlValue
|
|
46250
|
-
markdownValue
|
|
46232
|
+
htmlValue,
|
|
46233
|
+
markdownValue,
|
|
46251
46234
|
};
|
|
46252
46235
|
}
|
|
46253
46236
|
/*-------------------------------------------------*/
|
|
@@ -46271,7 +46254,9 @@ const KupEditor = class {
|
|
|
46271
46254
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
46272
46255
|
}
|
|
46273
46256
|
render() {
|
|
46274
|
-
return (h(Host, { key: '
|
|
46257
|
+
return (h(Host, { key: '031333deffb0732e544076f155555bb62bc53190' }, h("div", { key: '0f312ec339138f3a62afdf742660606526d11e70', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }), __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this) && (h("textarea", { key: '0e2bc200ff30a15f624299a9577ec910134dc3d1', id: '' + this.rootElement.id + '-textarea', value: this.initialValue, ref: (el) => (__classPrivateFieldSet(this, _KupEditor_textareaRef, el, "f")), onInput: (e) => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this, e.target.value), placeholder: "Type your text here...", readOnly: this.isReadOnly, style: {
|
|
46258
|
+
height: this.editorHeight || 'auto',
|
|
46259
|
+
}, class: "kup-editor-textarea" })))));
|
|
46275
46260
|
}
|
|
46276
46261
|
disconnectedCallback() {
|
|
46277
46262
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").theme.unregister(this);
|
|
@@ -46290,6 +46275,31 @@ const KupEditor = class {
|
|
|
46290
46275
|
"autosaveTimer": ["onAutosaveTimerChanged"]
|
|
46291
46276
|
}; }
|
|
46292
46277
|
};
|
|
46293
|
-
_KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap()
|
|
46278
|
+
_KupEditor_autosaveInterval = new WeakMap(), _KupEditor_hasChanges = new WeakMap(), _KupEditor_initialContent = new WeakMap(), _KupEditor_kupManager = new WeakMap(), _KupEditor_unsavedChangesIndex = new WeakMap(), _KupEditor_unsavedChangesItem = new WeakMap(), _KupEditor_textareaRef = new WeakMap(), _KupEditor_instances = new WeakSet(), _KupEditor_isPlainTextEditor = function _KupEditor_isPlainTextEditor() {
|
|
46279
|
+
return this.initialEditType === 'text';
|
|
46280
|
+
}, _KupEditor_handleUnsavedChanges = function _KupEditor_handleUnsavedChanges(value) {
|
|
46281
|
+
value = value !== undefined ? value : this.editor.getMarkdown();
|
|
46282
|
+
if (__classPrivateFieldGet(this, _KupEditor_textareaRef, "f")) {
|
|
46283
|
+
if (__classPrivateFieldGet(this, _KupEditor_initialContent, "f") !== value) {
|
|
46284
|
+
if (!__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46285
|
+
__classPrivateFieldSet(this, _KupEditor_unsavedChangesIndex, this.editor.getUI().getToolbar().getItems().length - 1, "f");
|
|
46286
|
+
this.editor
|
|
46287
|
+
.getUI()
|
|
46288
|
+
.getToolbar()
|
|
46289
|
+
.insertItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"), __classPrivateFieldGet(this, _KupEditor_unsavedChangesItem, "f"));
|
|
46290
|
+
}
|
|
46291
|
+
__classPrivateFieldSet(this, _KupEditor_hasChanges, true, "f");
|
|
46292
|
+
}
|
|
46293
|
+
else {
|
|
46294
|
+
if (__classPrivateFieldGet(this, _KupEditor_hasChanges, "f")) {
|
|
46295
|
+
this.editor
|
|
46296
|
+
.getUI()
|
|
46297
|
+
.getToolbar()
|
|
46298
|
+
.removeItem(__classPrivateFieldGet(this, _KupEditor_unsavedChangesIndex, "f"));
|
|
46299
|
+
}
|
|
46300
|
+
__classPrivateFieldSet(this, _KupEditor_hasChanges, false, "f");
|
|
46301
|
+
}
|
|
46302
|
+
}
|
|
46303
|
+
};
|
|
46294
46304
|
|
|
46295
46305
|
export { KupEditor as kup_editor };
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.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-fbf034b0.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-da19044e.js';
|
|
8
8
|
|
|
@@ -170,12 +170,12 @@ const KupFamilyTree = class {
|
|
|
170
170
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").debug.logRender(this, true);
|
|
171
171
|
}
|
|
172
172
|
render() {
|
|
173
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: '4c4b1e324af112481cf07385a41b645cd61d55bd', onDrag: (e) => e.preventDefault(), onPointerDown: (e) => {
|
|
174
174
|
e.preventDefault();
|
|
175
175
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_startPanning).call(this, e);
|
|
176
176
|
}, onWheel: (e) => {
|
|
177
177
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_zoomTree).call(this, e);
|
|
178
|
-
} }, h("style", { key: '
|
|
178
|
+
} }, h("style", { key: '1a78eadb1ec514d7144499d24b31e7c159cb4330' }, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'fdae258f4384af40bb13232a15633fec74aa8fe2', id: componentWrapperId }, __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_createTree).call(this))));
|
|
179
179
|
}
|
|
180
180
|
disconnectedCallback() {
|
|
181
181
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").language.unregister(this);
|
|
@@ -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: '3a4a7c6dee9d12ef3d089cf9d8b22742f5717a9a', class: "gannt-wrapper-main" }, h("div", { key: '701076ffecda9ec36716dfc676bc830f224ed028', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: '1ca42dc7754cb5b7cb6a3088dca8a2e042c2c390', 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: 'af6acb22ea4418fd03515ad78193702a54fd4097', 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: 'd9bd829e352fee2185b7648a78b9373ae4923ede', 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: 'acf20f898b951dbd742bb8b82e3548f806707a6d', 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: 'ddece5a5222b1abfbe971812d3954af363fa195c', 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: 'fb206cf716ee8d98be3d4207340a8acf7bb1eabe' }, h("div", { key: 'c064d07c7c591ab138e14fd0ab68f8251460b202', class: "scroll-container" }, this.scrollableTaskList &&
|
|
686
|
+
this.taskListScrollWidth > width && (h("div", { key: '2f97f345f20ba4843e60534d4716b2252b2de297', 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: '10644e475d8b633071429046a8c7356942f17db4', style: {
|
|
693
693
|
width: `${this.taskListScrollWidth}px`,
|
|
694
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
694
|
+
}, class: "scroll" }))), h("div", { key: 'b8e0948e0db48509ae98a05d0c148220ece705ff', 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: '72c55a42446f7dd04e94e300ac930dc146162978', 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: 'e12cbc7242215c9f9e76d3b19ba5b8bbc116e1a7', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: '6239efccbfd8ea790f1cc30ca5c5ed847124e3a0', 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: '28ba0cd9397173f011081a0e1b774b6259ded9a8', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: 'bdacdea774a87ef344f6b07361e53b79cc3e8516', 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: '21500b455d0cc89aa7c787c372a390dd9711195f', 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: 'd73a31dca4e8ee110fe81d77e11a95ff30eb8919', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '7e9379676312c2dd4ee18d0349992d8150fb1f9f', 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: '9ddbbe390f6d0f7821f9afd8546fab7daea1de00', 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: '1e862f583de2fc4ced91edd3fcd8c72a21b8a99a' }, 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: 'ccebe0409ed60287db6a04a2c0602fd3dd100c3b', 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: '69b9fb585a4e13f3a809238f32ed30b0f1d2066a', 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: '2d15d2ac7268338cdd3697c21378913ab0f7ca06', class: "ganttTable", style: {
|
|
944
944
|
fontFamily: this.fontFamily,
|
|
945
945
|
fontSize: this.fontSize,
|
|
946
|
-
} }, h("div", { key: '
|
|
946
|
+
} }, h("div", { key: '8203d274e6ceaa4c4ca7410cf722ff2e09af4856', class: "ganttTable_Header", style: {
|
|
947
947
|
height: `${this.headerHeight - 2}px`,
|
|
948
|
-
} }, h("div", { key: '
|
|
948
|
+
} }, h("div", { key: '269a24bec57ec7158593f1674ad29ad842b7cc5e', class: "ganttTable_HeaderItem", style: {
|
|
949
949
|
minWidth: this.rowWidth,
|
|
950
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
950
|
+
} }, "\u00A0Name"), h("div", { key: 'bb01ed8b2439041d3638f8cad9798fce40cf782c', 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: '0b1d2221f6d75b5eb0a4775ad8b2c0625694472d', class: "ganttTable_HeaderItem", style: {
|
|
954
954
|
minWidth: this.rowWidth,
|
|
955
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
955
|
+
} }, "\u00A0From"), h("div", { key: '87fdfe2bda942245d663671e5813382290ca4f9f', 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: '5ae7fa15b24484a054cd5538066a78ead93ae6c4', 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: '2de69b875ef1117ca8ad7588d7ca5b5b3b7bf7df', 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: 'b611372ce3d568cb8ba7c59e24aa2eacbf2c161b', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: '8309fc4f723bfe6649fd4cf981488fb78a3e5708', 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: 'aaf2623339012ffb223563f273e32bf47c7390f6', 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: '22b00662319acb2b45838e4f3370aec724577e57', style: {
|
|
1140
1140
|
height: `${this.ganttFullHeight}px`,
|
|
1141
1141
|
width: '1px',
|
|
1142
1142
|
} })));
|
|
@@ -1,5 +1,5 @@
|
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
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-fbf034b0.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -82,7 +82,7 @@ const KupHTM = class {
|
|
|
82
82
|
render() {
|
|
83
83
|
var _a;
|
|
84
84
|
const isLink = __classPrivateFieldGet(this, _KupHTM_instances, "m", _KupHTM_isObjectCompatibleWithHTM).call(this, (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a.obj);
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '5fd7a24633313c182200d98e795cd27938bdd0ed' }, h("style", { key: '283f61604341bc317f9eece1bacdfd6f394d73b6' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2e35f4c034756925be450b15a14b54acd3e496fa', id: componentWrapperId }, h("div", { key: 'a7372f43ada38738eb4134e8feaade2c9db14c13', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
|
|
86
86
|
}
|
|
87
87
|
disconnectedCallback() {
|
|
88
88
|
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|