@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
|
@@ -263,11 +263,11 @@ export class KupMagicBox {
|
|
|
263
263
|
this.kupManager.debug.logRender(this, true);
|
|
264
264
|
}
|
|
265
265
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: 'ab1400184982532a9c66f5691b59e90581811ed3' }, h("style", { key: 'e70719f3dcd21934a6bcef170876001d08f86c2b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '7c2ef2f7de0167abdeb8db6b95aee01bc71a02c8', id: componentWrapperId }, h("div", { key: '9f04dbce690adaa5ec8357f7c4cd232a4c70b817', class: "magic-box-wrapper" }, h("div", { key: '210817229409e555ef8be6e4ed14170045b45e32', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '405e78b90d01859f8f94da213c6e18c06baaa225' }, this.comboboxProps())), h("kup-button", { key: 'b84448e0458719e0df11f05ac369f22651154933', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
267
267
|
this.data = null;
|
|
268
|
-
} }), h("kup-button", { key: '
|
|
268
|
+
} }), h("kup-button", { key: '6559f85d54df97a598c2488ce0743f36d2863c18', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
269
269
|
this.kupManager.hideMagicBox();
|
|
270
|
-
} })), h("div", { key: '
|
|
270
|
+
} })), h("div", { key: 'dafb9aa60bc583fde505fe1b798e94ecbde59277', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
271
271
|
}
|
|
272
272
|
disconnectedCallback() {
|
|
273
273
|
this.kupManager.interact.unregister([
|
|
@@ -98,7 +98,7 @@ export class KupNavBar {
|
|
|
98
98
|
this.kupManager.debug.logRender(this, true);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: 'd10fe50d98c91b7bd6523b0c489f1bd618f3bea5', class: "header" }, h("style", { key: '1bcfbf30b846c2566df8592436e9970ca839d455' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'c59b03f594478b70a148a8a0ef60635f0f370815', id: componentWrapperId }, h("header", { key: '59119aea905464ca6e62ba4b52de771c9502e854', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: '3b19e3f10ff6c97c67d83cff649319065fbe7da3', class: `${navbarClass}__row` }, this.content())))));
|
|
102
102
|
}
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
this.kupManager.language.unregister(this);
|
|
@@ -321,7 +321,7 @@ export class KupNumericPicker {
|
|
|
321
321
|
this.kupManager.debug.logRender(this, true);
|
|
322
322
|
}
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: '5e21909e990f0807b9c1ff4566be582a94ca292e' }, h("style", { key: '8bb2390213d050696d23383b4dc2025f0fd8c6a5' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '2ba04818393826244f80918569f1da7335d45773', id: componentWrapperId }, this.prepTextfield())));
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
327
|
this.kupManager.dates.unregister(this);
|
|
@@ -79,7 +79,7 @@ export class KupObjectField {
|
|
|
79
79
|
inputValue: this.inputValue,
|
|
80
80
|
onChange: null,
|
|
81
81
|
};
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '9d2ae70b4dfe89598f331bf72c94db5c5e33242b' }, h("style", { key: '1b21373f4e2d1784498ce119526cd07f4c376cfb' }, __classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1c295a24a8d61f7059e9b7c242069da2b856c50d', id: componentWrapperId }, h(FObjectField, Object.assign({ key: '5386f17afed1cda623bd6a82acafb0e0bfbdbc63' }, props)))));
|
|
83
83
|
}
|
|
84
84
|
disconnectedCallback() {
|
|
85
85
|
__classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.unregister(this);
|
|
@@ -105,7 +105,7 @@ export class KupPdf {
|
|
|
105
105
|
catch (error) { }
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: '1c5bb13e2ca28b655ed272d85fabcd339b48d4fc' }, h("div", { key: '7e45b0a3e7412e60d6af04a8ea3696808ff0ae52', id: componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
109
109
|
}
|
|
110
110
|
disconnectedCallback() {
|
|
111
111
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -523,7 +523,7 @@ export class KupPlanner {
|
|
|
523
523
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
524
524
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
525
525
|
}
|
|
526
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: 'a39de9ef79d3bb209a9cb99b28fea0259f23317f' }, h("style", { key: 'af9cfff3bba7097157c1edf8d8f83ade6b8f358e' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '7ad7de8208449fcf8e6ae2b483679ab2b6711436', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { key: '60befc4ef01db8a59ad9517e7e47d2377763134f', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: '63eb18daf5ca2946e273851ac61bf3b3df2f1af6', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: '44083990df152225dffdf22654309f2dda0ad1b1', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
527
527
|
if (e.key === 'Enter') {
|
|
528
528
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
529
529
|
}
|
|
@@ -8,11 +8,11 @@ export class KupCustomTaskListHeader {
|
|
|
8
8
|
this.fontSize = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '7afe903d27c39f08ffa24b06aafdbd0d86cc99db', class: "custom-task-list-wrapper", style: {
|
|
12
12
|
height: '25px',
|
|
13
13
|
fontFamily: this.fontFamily,
|
|
14
14
|
fontSize: this.fontSize,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, 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")))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "kup-custom-task-list-header"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -563,9 +563,9 @@ export class KupGantt {
|
|
|
563
563
|
TaskListHeader: this.TaskListHeader,
|
|
564
564
|
TaskListTable: this.TaskListTable
|
|
565
565
|
};
|
|
566
|
-
return (h("div", { key: '
|
|
566
|
+
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) => {
|
|
567
567
|
this.taskListScrollWidth = width;
|
|
568
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
568
|
+
}, 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 }))));
|
|
569
569
|
}
|
|
570
570
|
static get is() { return "kup-gantt"; }
|
|
571
571
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js
CHANGED
|
@@ -225,11 +225,11 @@ export class KupGanttCalendar {
|
|
|
225
225
|
this.simplifiedHeader =
|
|
226
226
|
this.singleLineHeader && this.dateSetup.viewMode !== 'year';
|
|
227
227
|
const [topValues, bottomValues] = this.getTopAndBottomValues();
|
|
228
|
-
return (h("svg", { key: '
|
|
228
|
+
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
|
|
229
229
|
? 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))))
|
|
230
230
|
: 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 && (
|
|
231
231
|
// current date indicator
|
|
232
|
-
h("circle", { key: '
|
|
232
|
+
h("circle", { key: '90b8cd4be3694ab5827a64b8bc1b66da57e0c316', fill: this.currentDateIndicator.color, cx: this.currentDateIndicator.x + 2.5, cy: this.headerHeight - 8, r: "8" })))));
|
|
233
233
|
}
|
|
234
234
|
static get is() { return "kup-gantt-calendar"; }
|
|
235
235
|
static get originalStyleUrls() {
|
|
@@ -509,13 +509,13 @@ export class KupGridRenderer {
|
|
|
509
509
|
// }
|
|
510
510
|
tickX += this.columnWidth;
|
|
511
511
|
}
|
|
512
|
-
return (h("svg", { key: '
|
|
512
|
+
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) => {
|
|
513
513
|
return task.barChildren.map((child) => {
|
|
514
514
|
if (task.type !== 'timeline') {
|
|
515
515
|
this.renderKupArrow(task, child);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
518
|
-
})), h("g", { key: '
|
|
518
|
+
})), h("g", { key: '8b6fad21ec6778cec66ab08111472c6d5c6c8cb2', class: "bar", "font-family": this.fontFamily, "font-size": this.fontSize }, this.tasks.map((task) => {
|
|
519
519
|
const forbidResize = task.type === 'project';
|
|
520
520
|
return (h("g", { onKeyDown: (e) => {
|
|
521
521
|
switch (e.key) {
|
|
@@ -575,7 +575,7 @@ export class KupGridRenderer {
|
|
|
575
575
|
return this.renderKupBar(task, props.isSelected, isDateResizable, isProgressChangeable);
|
|
576
576
|
}
|
|
577
577
|
})()));
|
|
578
|
-
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '
|
|
578
|
+
}), this.currentTarget && this.ganttEvent.changedTask && (h("g", { key: '46e057472af12f861f49755ca0635cf52178f653', class: "task-wrapper" }, this.renderKupBar(this.ganttEvent.changedTask, false, false, false)))))));
|
|
579
579
|
}
|
|
580
580
|
static get is() { return "kup-grid-renderer"; }
|
|
581
581
|
static get originalStyleUrls() {
|
package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js
CHANGED
|
@@ -53,20 +53,20 @@ export class HorizontalScroll {
|
|
|
53
53
|
var _a, _b;
|
|
54
54
|
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
|
|
55
55
|
const width = +this.listCellWidth.replace('px', '');
|
|
56
|
-
return (h(Fragment, { key: '
|
|
57
|
-
this.taskListScrollWidth > width && (h("div", { key: '
|
|
56
|
+
return (h(Fragment, { key: 'fb206cf716ee8d98be3d4207340a8acf7bb1eabe' }, h("div", { key: 'c064d07c7c591ab138e14fd0ab68f8251460b202', class: "scroll-container" }, this.scrollableTaskList &&
|
|
57
|
+
this.taskListScrollWidth > width && (h("div", { key: '2f97f345f20ba4843e60534d4716b2252b2de297', dir: "ltr", style: {
|
|
58
58
|
margin: this.rtl
|
|
59
59
|
? `0px 20px 0px 20px`
|
|
60
60
|
: `0px 20px 0px 20px`,
|
|
61
61
|
maxWidth: `${width + 20}px`,
|
|
62
62
|
minWidth: `${width + 20}px`,
|
|
63
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '
|
|
63
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalTaskListScroll }, h("div", { key: '10644e475d8b633071429046a8c7356942f17db4', style: {
|
|
64
64
|
width: `${this.taskListScrollWidth}px`,
|
|
65
|
-
}, class: "scroll" }))), h("div", { key: '
|
|
65
|
+
}, class: "scroll" }))), h("div", { key: 'b8e0948e0db48509ae98a05d0c148220ece705ff', dir: "ltr", style: {
|
|
66
66
|
margin: this.rtl
|
|
67
67
|
? `0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px 0px 12px`
|
|
68
68
|
: `0px 12px 0px ${this.scrollableTaskList && this.taskListScrollWidth > width ? 40 : w}px`,
|
|
69
|
-
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '
|
|
69
|
+
}, class: "scrollWrapper", "data-scrollx": "true", onScroll: this.horizontalScroll }, h("div", { key: '72c55a42446f7dd04e94e300ac930dc146162978', style: { width: `${this.svgWidth}px` }, class: "scroll" })))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "kup-horizontal-scroll"; }
|
|
72
72
|
static get encapsulation() { return "shadow"; }
|
|
@@ -220,13 +220,13 @@ export class KupPlannerRenderer {
|
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
222
|
var _a, _b, _c;
|
|
223
|
-
return (h("div", { key: '
|
|
223
|
+
return (h("div", { key: '5cc84453175713cab80f656aca1333f89d43c324', class: "planner-render" }, h("kup-switcher", { key: '39df6e903c0170ae48dcdae7b7a6c0c8df5d4ae8', timeUnitChange: (timeUnit) => {
|
|
224
224
|
var _a, _b;
|
|
225
225
|
(_b = (_a = this.props).onSetViewMode) === null || _b === void 0 ? void 0 : _b.call(_a, timeUnit);
|
|
226
226
|
this.timeUnit = timeUnit;
|
|
227
227
|
this.viewDate = undefined;
|
|
228
228
|
this.scrollX = -1;
|
|
229
|
-
} }), this.props && (h("div", { key: '
|
|
229
|
+
} }), this.props && (h("div", { key: '7f4fe2be85a54f9174059d27821e52c02fea3196', style: {
|
|
230
230
|
display: 'flex',
|
|
231
231
|
flexDirection: 'column',
|
|
232
232
|
} }, h("kup-gantt", Object.assign({ ref: (el) => (this.mainGantt = el), ganttId: KUP_PLANNER_MAIN_GANTT_ID, key: KUP_PLANNER_MAIN_GANTT_ID, filter: this.props.mainGantt.filter, hideLabel: this.props.mainGantt.hideLabel, showSecondaryDates: this.mainGanttDoubleView, hideDependencies: this.props.mainGantt.hideDependencies, ganttHeight: this.props.mainGantt.ganttHeight, displayedStartDate: this.displayedDates.displayedStartDate, displayedEndDate: this.displayedDates.displayedEndDate, viewDate: this.viewDate, tasks: this.tasks, columnWidth: columnWidthForTimeUnit(this.timeUnit), viewMode: this.timeUnit }, this.props.mainGantt.stylingOptions, { TaskListHeader: this.props.mainGantt.taskListHeaderProject, TaskListTable: this.props.mainGantt.taskListTableProject, TooltipContent: (_a = this.props.mainGantt.tooltipContent) !== null && _a !== void 0 ? _a : CustomTooltipHOC(), barClick: (task) => {
|
|
@@ -16,7 +16,7 @@ export class KupSwitcher {
|
|
|
16
16
|
this.activeButton = mode;
|
|
17
17
|
this.timeUnitChange(mode);
|
|
18
18
|
};
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '21500b455d0cc89aa7c787c372a390dd9711195f', class: "switcher" }, this.buttonLabels.map((label) => (h("button", { type: "button", class: {
|
|
20
20
|
button: true,
|
|
21
21
|
buttonActive: this.activeButton === label,
|
|
22
22
|
}, onClick: () => handleButtonClick(label) }, h("span", { class: "label" }, label.charAt(0).toUpperCase() + label.slice(1)))))));
|
|
@@ -34,12 +34,12 @@ export class TaskGantt {
|
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
36
|
const newBarProps = Object.assign(Object.assign({}, this.barProps), { gridProps: this.gridProps, phaseDragScroll: this.phaseDragScroll });
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
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
|
|
38
38
|
? {
|
|
39
39
|
height: `${this.ganttHeight}px`,
|
|
40
40
|
width: `${this.gridProps.svgWidth}px`,
|
|
41
41
|
}
|
|
42
|
-
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '
|
|
42
|
+
: { width: `${this.gridProps.svgWidth}px` } }, h("kup-grid-renderer", Object.assign({ key: '1e862f583de2fc4ced91edd3fcd8c72a21b8a99a' }, newBarProps)))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "kup-task-gantt"; }
|
|
45
45
|
static get properties() {
|
|
@@ -7,22 +7,22 @@ export class KupTaskListHeader {
|
|
|
7
7
|
this.rowWidth = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '2d15d2ac7268338cdd3697c21378913ab0f7ca06', class: "ganttTable", style: {
|
|
11
11
|
fontFamily: this.fontFamily,
|
|
12
12
|
fontSize: this.fontSize,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: '8203d274e6ceaa4c4ca7410cf722ff2e09af4856', class: "ganttTable_Header", style: {
|
|
14
14
|
height: `${this.headerHeight - 2}px`,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '269a24bec57ec7158593f1674ad29ad842b7cc5e', class: "ganttTable_HeaderItem", style: {
|
|
16
16
|
minWidth: this.rowWidth,
|
|
17
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
17
|
+
} }, "\u00A0Name"), h("div", { key: 'bb01ed8b2439041d3638f8cad9798fce40cf782c', class: "ganttTable_HeaderSeparator", style: {
|
|
18
18
|
height: `${this.headerHeight * 0.5}px`,
|
|
19
19
|
marginTop: `${this.headerHeight * 0.2}px`,
|
|
20
|
-
} }), h("div", { key: '
|
|
20
|
+
} }), h("div", { key: '0b1d2221f6d75b5eb0a4775ad8b2c0625694472d', class: "ganttTable_HeaderItem", style: {
|
|
21
21
|
minWidth: this.rowWidth,
|
|
22
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
22
|
+
} }, "\u00A0From"), h("div", { key: '87fdfe2bda942245d663671e5813382290ca4f9f', class: "ganttTable_HeaderSeparator", style: {
|
|
23
23
|
height: `${this.headerHeight * 0.5}px`,
|
|
24
24
|
marginTop: `${this.headerHeight * 0.25}px`,
|
|
25
|
-
} }), h("div", { key: '
|
|
25
|
+
} }), h("div", { key: '5ae7fa15b24484a054cd5538066a78ead93ae6c4', class: "ganttTable_HeaderItem", style: {
|
|
26
26
|
minWidth: this.rowWidth,
|
|
27
27
|
} }, "\u00A0To"))));
|
|
28
28
|
}
|
|
@@ -22,7 +22,7 @@ export class TaskListTableDefault {
|
|
|
22
22
|
return date.toLocaleDateString(this.locale, this.dateTimeOptions);
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '2de69b875ef1117ca8ad7588d7ca5b5b3b7bf7df', class: "taskListWrapper", style: {
|
|
26
26
|
fontFamily: this.fontFamily,
|
|
27
27
|
fontSize: this.fontSize,
|
|
28
28
|
} }, this.tasks.map((task) => (h("div", { class: {
|
|
@@ -86,7 +86,7 @@ export class TaskList {
|
|
|
86
86
|
if (TaskListTable && TaskListTable['$attrs$']) {
|
|
87
87
|
Object.assign(TaskListTable['$attrs$'], Object.assign({}, tableProps));
|
|
88
88
|
}
|
|
89
|
-
return (h("div", { key: '
|
|
89
|
+
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
|
|
90
90
|
? { height: this.ganttHeight + 'px' }
|
|
91
91
|
: {}, ref: (el) => (this.horizontalContainerRef = el) }, TaskListTable && TaskListTable['$attrs$'] ? (TaskListTable) : (h("kup-custom-task-list-table", Object.assign({}, tableProps, { onclickTaskList: (id) => {
|
|
92
92
|
let row = getProjectById(id, this.currentTasks);
|
|
@@ -6,7 +6,7 @@ export class StandardTooltipContent {
|
|
|
6
6
|
this.fontFamily = undefined;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
9
|
+
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} %`)));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "kup-standard-tooltip"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class Tooltip {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
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 })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "kup-tooltip"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js
CHANGED
|
@@ -31,11 +31,11 @@ export class KupVerticalScroll {
|
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'aaf2623339012ffb223563f273e32bf47c7390f6', style: {
|
|
35
35
|
height: `${this.ganttHeight}px`,
|
|
36
36
|
marginTop: `${this.headerHeight}px`,
|
|
37
37
|
marginLeft: this.rtl ? '' : '-1rem',
|
|
38
|
-
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '
|
|
38
|
+
}, class: "scroll", onScroll: this.verticalScroll, ref: (el) => (this.scrollRef = el) }, h("div", { key: '22b00662319acb2b45838e4f3370aec724577e57', style: {
|
|
39
39
|
height: `${this.ganttFullHeight}px`,
|
|
40
40
|
width: '1px',
|
|
41
41
|
} })));
|
|
@@ -251,7 +251,7 @@ export class KupProbe {
|
|
|
251
251
|
if (this.features.theme) {
|
|
252
252
|
customStyle = this.kupManager.theme.setKupStyle(this.rootElement);
|
|
253
253
|
}
|
|
254
|
-
return (h(Host, { key: '
|
|
254
|
+
return (h(Host, { key: '71b172082bcfe06f9dc75617e4bd75a978ca2c0b' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: '6a04168c88770276df2dbbaf3af33d56f08a7ea2', id: componentWrapperId }, this.content)));
|
|
255
255
|
}
|
|
256
256
|
disconnectedCallback() {
|
|
257
257
|
if (this.features.language) {
|
|
@@ -102,7 +102,7 @@ export class KupProgressBar {
|
|
|
102
102
|
? true
|
|
103
103
|
: false,
|
|
104
104
|
};
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: '8d220189c286c78ac31626254715672685f00cab' }, h("style", { key: 'b3be36fe507aaf6fbb334a7be2754241e2650665' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a99044918007393d91c5908aeb7405c3aa926979', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '06fb5ea68772da03c3239076baafc09a899e9376' }, props)))));
|
|
106
106
|
}
|
|
107
107
|
disconnectedCallback() {
|
|
108
108
|
this.kupManager.theme.unregister(this);
|
|
@@ -110,7 +110,7 @@ export class KupQlik {
|
|
|
110
110
|
layoutStyle = {
|
|
111
111
|
['--lyo_obj-height']: this.defobjsize,
|
|
112
112
|
};
|
|
113
|
-
return (h("div", { key: '
|
|
113
|
+
return (h("div", { key: '6208a1ac1fe995940a4ddc412c1300226a16483e', class: classLayout, style: layoutStyle }, this.divlist));
|
|
114
114
|
}
|
|
115
115
|
componentDidRender() {
|
|
116
116
|
if (this.debug) {
|
|
@@ -91,7 +91,7 @@ export class KupRating {
|
|
|
91
91
|
: false,
|
|
92
92
|
onClick: (i) => this.onKupClick(i),
|
|
93
93
|
};
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'bdb1bda1a86c539aa9e5fc9012a795758907b3b7' }, h("style", { key: 'e81779a6e575ca00a748cb97d1f721bc67768952' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b08ef3e278eb9d9a64d16f098227b4bf81fbf918', id: componentWrapperId }, h(FRating, Object.assign({ key: '364542b583d1bf7d31d08632adf555c63a7f14ce' }, props)))));
|
|
95
95
|
}
|
|
96
96
|
disconnectedCallback() {
|
|
97
97
|
this.kupManager.theme.unregister(this);
|
|
@@ -93,7 +93,7 @@ export class KupSnackbar {
|
|
|
93
93
|
this.kupManager.debug.logRender(this, true);
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h(Host, { key: '
|
|
96
|
+
return (h(Host, { key: '3f081ccf95e871f24aabcdde18113536f1b02f22', "kup-visible": this.visible }, h("style", { key: '705d811fb3102582989b83c4b0b70903405d961e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '2cd0a437e4ac63f30022d4d6b90893205e2fe716', id: componentWrapperId }, h("div", { key: '61a788fe37500fda5eb6abef749dc1c9a4fe0dee', class: snackbarClass }, h("div", { key: 'b8090b7fbb38965fc8b70bf4066fc7a9fc454503', class: "snackbar__text__block" }, h("div", { key: 'eb211b306716c3abda31cc812fedd9792f4e9488', class: `${snackbarClass}__header` }, this.header), h("div", { key: '0f7ac72f824317787d35a61509faca394061adab', class: `${snackbarClass}__text` }, this.text)), this.actionButton || this.closeButton ? (h("div", { class: `${snackbarClass}__buttons` }, this.actionButton ? (h("div", { class: `${snackbarClass}__action` }, h(FButton, Object.assign({}, this.actionButton, { onClick: () => this.onKupActionClick() })))) : null, this.closeButton ? (h("div", { class: `${snackbarClass}__close` }, h(FButton, { icon: "close", onClick: () => this.hide() }))) : null)) : null))));
|
|
97
97
|
}
|
|
98
98
|
disconnectedCallback() {
|
|
99
99
|
this.kupManager.theme.unregister(this);
|
|
@@ -96,59 +96,59 @@ export class KupSpinner {
|
|
|
96
96
|
spinnerClass = 'spinner-v' + this.layout;
|
|
97
97
|
if (this.layout === 7) {
|
|
98
98
|
spinnerEl = [
|
|
99
|
-
h("div", { key: '
|
|
100
|
-
h("div", { key: '
|
|
101
|
-
h("div", { key: '
|
|
102
|
-
h("div", { key: '
|
|
103
|
-
h("div", { key: '
|
|
104
|
-
h("div", { key: '
|
|
99
|
+
h("div", { key: 'c01f5ea89b13c2b77c641ba51fabf141a33d0af5', class: "sk-spinner-v7-dot" }),
|
|
100
|
+
h("div", { key: '31c903defabe01d9050e17e5aeabe4918d4f9672', class: "sk-spinner-v7-dot" }),
|
|
101
|
+
h("div", { key: '1747d7487fdb9f57f850ed5faa3ea6dc6c46d8d7', class: "sk-spinner-v7-dot" }),
|
|
102
|
+
h("div", { key: '8e46243d92c67544f073bd3734a09d6c8a79d070', class: "sk-spinner-v7-dot" }),
|
|
103
|
+
h("div", { key: '56c2d3d344b545ffd0edb810d46ff1fa7e50a51c', class: "sk-spinner-v7-dot" }),
|
|
104
|
+
h("div", { key: '049c44c00e41155c0a675d7e188b36e97f0717d2', class: "sk-spinner-v7-dot" }),
|
|
105
105
|
];
|
|
106
106
|
}
|
|
107
107
|
if (this.layout === 9) {
|
|
108
108
|
spinnerEl = [
|
|
109
|
-
h("div", { key: '
|
|
110
|
-
h("div", { key: '
|
|
109
|
+
h("div", { key: '50f6366eba722065fdd5082a8d53f04050c6f776', class: "sk-spinner-v9-bounce1" }),
|
|
110
|
+
h("div", { key: 'fb93c6a90bf2744c858e9c275a4da2eada4f2cd4', class: "sk-spinner-v9-bounce2" }),
|
|
111
111
|
];
|
|
112
112
|
}
|
|
113
113
|
if (this.layout === 10) {
|
|
114
114
|
spinnerEl = [
|
|
115
|
-
h("div", { key: '
|
|
116
|
-
h("div", { key: '
|
|
115
|
+
h("div", { key: '2bdfc4c20465c94db5259ca6687f394a9ddc6ebe', class: "sk-spinner-v10-cube1" }),
|
|
116
|
+
h("div", { key: 'b88a93ee6fbfcd2792947d28aef82154b9276e7e', class: "sk-spinner-v10-cube2" }),
|
|
117
117
|
];
|
|
118
118
|
}
|
|
119
119
|
if (this.layout === 12) {
|
|
120
120
|
spinnerEl = [
|
|
121
|
-
h("div", { key: '
|
|
122
|
-
h("div", { key: '
|
|
121
|
+
h("div", { key: '78f8d7576541ad7655ae30bdb42234cbd2418202', class: "sk-spinner-v12-dot1" }),
|
|
122
|
+
h("div", { key: 'd23583d213b86321cd80f40f066d227ce3760588', class: "sk-spinner-v12-dot2" }),
|
|
123
123
|
];
|
|
124
124
|
}
|
|
125
125
|
if (this.layout === 13) {
|
|
126
126
|
spinnerEl = [
|
|
127
|
-
h("div", { key: '
|
|
128
|
-
h("div", { key: '
|
|
129
|
-
h("div", { key: '
|
|
130
|
-
h("div", { key: '
|
|
131
|
-
h("div", { key: '
|
|
132
|
-
h("div", { key: '
|
|
133
|
-
h("div", { key: '
|
|
134
|
-
h("div", { key: '
|
|
135
|
-
h("div", { key: '
|
|
127
|
+
h("div", { key: '4c8538a7f4234b1db874df9079bc7ee0db6ee0cb', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
128
|
+
h("div", { key: '90bd897f5ce1d63c9e838efedd44d615eb72c560', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
129
|
+
h("div", { key: 'a77cdfc43dc981b39c973b0061570991bffa564d', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
130
|
+
h("div", { key: 'aef45d9f3eb81c87475f22e17cc87d5873988d67', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
131
|
+
h("div", { key: '245dd32e7d3c99deb6044791802813ded8ab02fb', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
132
|
+
h("div", { key: 'bffd38258c434e59afe98204b366ce3033af73fd', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
133
|
+
h("div", { key: '5e2140ea8ada6b182e9485b9130c9c3e79fb07bc', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
134
|
+
h("div", { key: 'c12923fcbe7dc5f1a42426be20bdff3f57ff0ff1', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
135
|
+
h("div", { key: '6cba9be7a868afda19020b8baa6bae72b3220633', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
136
136
|
];
|
|
137
137
|
}
|
|
138
138
|
if (this.layout === 14) {
|
|
139
139
|
spinnerEl = [
|
|
140
|
-
h("div", { key: '
|
|
141
|
-
h("div", { key: '
|
|
142
|
-
h("div", { key: '
|
|
143
|
-
h("div", { key: '
|
|
144
|
-
h("div", { key: '
|
|
145
|
-
h("div", { key: '
|
|
146
|
-
h("div", { key: '
|
|
147
|
-
h("div", { key: '
|
|
148
|
-
h("div", { key: '
|
|
149
|
-
h("div", { key: '
|
|
150
|
-
h("div", { key: '
|
|
151
|
-
h("div", { key: '
|
|
140
|
+
h("div", { key: '590bf441b115cc3ab6738c2b6b8f1a8647243646', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
141
|
+
h("div", { key: '884220f8c3444a3a4af907ab75355a1ad158c87c', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
142
|
+
h("div", { key: '4719d8ab319183afe77e81c50c22c7fd56fb81a0', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
143
|
+
h("div", { key: '002e1f32921ced1bd28987a333310906e39eb508', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
144
|
+
h("div", { key: 'b53a512e4503677951410ac988e126868a1c0bdd', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
145
|
+
h("div", { key: '4dc3a0d06234332378af1b512332346e4177a4cc', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
146
|
+
h("div", { key: '61ecb2f55ce5a4c3e45333d731c7a54d3fafd2a7', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
147
|
+
h("div", { key: '64c3a5716e4433d554d80583b3dbd91bfc18b8cc', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
148
|
+
h("div", { key: '8f4911f833da4360bdf8201092cce2ad0fb4a5f8', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
149
|
+
h("div", { key: '8e230fb3c46dc7048fbb38ab9a27f05e599d0f55', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
150
|
+
h("div", { key: 'ee68b314741378eb5758767f2a33327a3021065a', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
151
|
+
h("div", { key: 'f27cbc34c0d225c09cc2bc9c60c6c917086e68cc', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
152
152
|
];
|
|
153
153
|
}
|
|
154
154
|
}
|
|
@@ -167,7 +167,7 @@ export class KupSpinner {
|
|
|
167
167
|
else {
|
|
168
168
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
169
169
|
}
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'fc2133eeadba445c7730740e4744eb08e6490bd7', style: elStyle }, h("style", { key: '6088f76d9945e1a029f8b532c8cb460a5b492f8c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '965453340076e2d6e02d312db5d6124e72a60803', id: componentWrapperId, style: elStyle }, h("div", { key: '95190ff48eefb220e3442ea871bef793f3d4f4f2', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '3894a3f08b16c08a0c225cdf465fe16044e84b4b', id: wrapperClass, style: elStyle }, h("div", { key: '6a14d83f65f72e5b52eb16da6500233042c53eb8', class: spinnerClass }, spinnerEl))))));
|
|
171
171
|
}
|
|
172
172
|
disconnectedCallback() {
|
|
173
173
|
this.kupManager.theme.unregister(this);
|
|
@@ -123,7 +123,7 @@ export class KupSwitch {
|
|
|
123
123
|
onChange: () => this.onKupChange(),
|
|
124
124
|
onFocus: () => this.onKupFocus(),
|
|
125
125
|
};
|
|
126
|
-
return (h(Host, { key: '
|
|
126
|
+
return (h(Host, { key: '77148672a0e0d00bc2804c81bb4ee65915d6a8f1' }, h("style", { key: 'd1bbed237fddbe18b1e9b793b2272e1aea204201' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'fd5b7ae404f9bf48d8814ff83dc516923b447370', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '7877a298be5e33f339486b2b497203e224fff134' }, props)))));
|
|
127
127
|
}
|
|
128
128
|
disconnectedCallback() {
|
|
129
129
|
this.kupManager.theme.unregister(this);
|
|
@@ -431,7 +431,7 @@ export class KupTimePicker {
|
|
|
431
431
|
this.kupManager.debug.logRender(this, true);
|
|
432
432
|
}
|
|
433
433
|
render() {
|
|
434
|
-
return (h(Host, { key: '
|
|
434
|
+
return (h(Host, { key: '43e729f6812126c4f1ba15a68657c765d723d55a' }, h("style", { key: '7a3c9c10e575721211db345cf720a1b5717cb5aa' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '2ac059d1acac2cbfe7610f8e153fb53dc74632f1', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
435
435
|
}
|
|
436
436
|
disconnectedCallback() {
|
|
437
437
|
this.kupManager.dates.unregister(this);
|
|
@@ -331,7 +331,7 @@ export class KupTree {
|
|
|
331
331
|
this.columnMenuCard.setAttribute('data-column', column);
|
|
332
332
|
this.columnMenuCard.data = this.columnMenuInstance.prepData(this, getColumnByName(this.getVisibleColumns(), column));
|
|
333
333
|
this.columnMenuInstance.open(this, column);
|
|
334
|
-
this.columnMenuInstance.reposition(this, this.columnMenuCard);
|
|
334
|
+
this.columnMenuInstance.reposition(this, this.columnMenuCard, 'th[data-column="' + column + '"]');
|
|
335
335
|
this.kupTreeColumnMenu.emit({
|
|
336
336
|
comp: this,
|
|
337
337
|
id: this.rootElement.id,
|
|
@@ -1368,19 +1368,19 @@ export class KupTree {
|
|
|
1368
1368
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
1369
1369
|
let filterField = null;
|
|
1370
1370
|
if (this.globalFilter) {
|
|
1371
|
-
filterField = (h("div", { key: '
|
|
1371
|
+
filterField = (h("div", { key: '051bab089f41af1b171949bd73540cc93d281a92', id: "global-filter" }, h("kup-text-field", { key: '27e2315ed8f8eaa7913eb39e5eb88f5f57c0c923', fullWidth: true, label: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1372
1372
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1373
1373
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1374
1374
|
} })));
|
|
1375
1375
|
}
|
|
1376
|
-
return (h(Host, { key: '
|
|
1376
|
+
return (h(Host, { key: 'd8e4e78680aa76cff3552629972e4fe076bb44e8', "onKup-cell-click": (e) => {
|
|
1377
1377
|
this.kupTreeCellClick.emit(e.detail);
|
|
1378
|
-
} }, h("style", { key: '
|
|
1379
|
-
el) }, h("table", { key: '
|
|
1378
|
+
} }, h("style", { key: '2468b98ba30ba006b652bdec84a98497979db3c0' }, __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'bd2b724744d5d4f8c2c31bf46f2db8e870603d6d', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h("div", { key: '8f402f5b8d931e028dd6bb1a6053e8c04acc6626', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
1379
|
+
el) }, h("table", { key: 'fb40fb3d981b6e54bf8b927df8fa492c43a87f5f', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
1380
1380
|
e.preventDefault();
|
|
1381
|
-
} }, h("thead", { key: '
|
|
1381
|
+
} }, h("thead", { key: 'a4a965dec7edf7a617447541bf3c94530bb20e01', class: {
|
|
1382
1382
|
'header--is-visible': visibleHeader,
|
|
1383
|
-
} }, h("tr", { key: '
|
|
1383
|
+
} }, h("tr", { key: 'be5af67bfc7937b9ba73e2847c3fed81c09a1c16' }, visibleHeader ? this.renderHeader() : null)), h("tbody", { key: 'efb5eaa0e6642552a3d63837acec10a64debef15' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
1384
1384
|
this.columns
|
|
1385
1385
|
? this.renderFooter()
|
|
1386
1386
|
: null)))));
|