@sme.up/ketchup 10.3.6 → 10.3.8
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-e5ff9c98.js → f-cell-9a77e09a.js} +24 -19
- package/dist/cjs/{f-chip-f35c1b42.js → f-chip-f1b14141.js} +1 -1
- package/dist/cjs/{f-object-field-04065abd.js → f-object-field-7c1ea180.js} +2 -2
- package/dist/cjs/{f-paginator-utils-3ada5c71.js → f-paginator-utils-49cf707b.js} +9 -7
- package/dist/cjs/{f-text-field-0eda27cd.js → f-text-field-f5b2163a.js} +2 -5
- 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_30.cjs.entry.js +229 -106
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +15 -8
- 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 +37 -19
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-0b79fb90.js → kup-data-table-helper-63e5d7a2.js} +8 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +48 -6
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-gantt_10.cjs.entry.js +26 -26
- 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 +169 -29
- 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-5cdad0f5.js → kup-manager-15f30f03.js} +7 -11
- 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/echart.js +343 -169
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -2
- package/dist/collection/components/kup-calendar/kup-calendar.js +8 -4
- package/dist/collection/components/kup-chip/kup-chip-declarations.js +6 -1
- package/dist/collection/components/kup-chip/kup-chip.js +57 -57
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -2
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +5 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +21 -4
- package/dist/collection/components/kup-data-table/kup-data-table.js +90 -23
- package/dist/collection/components/kup-echart/kup-echart.js +47 -5
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -1
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +13 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +215 -25
- 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.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +183 -23
- 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/custom-task-list-table.js +30 -12
- 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.css +1 -0
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +13 -7
- package/dist/collection/f-components/f-chip/f-chip.js +1 -1
- package/dist/collection/f-components/f-label/f-label.js +4 -7
- package/dist/collection/f-components/f-paginator/f-paginator.js +1 -1
- package/dist/collection/f-components/f-radio/f-radio.js +3 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +1 -4
- package/dist/collection/utils/cell-utils.js +2 -7
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +15 -8
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +167 -27
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +18 -18
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-ae3013bd.js → p-0886650d.js} +2 -2
- package/dist/components/{p-daa07bb7.js → p-168b2e98.js} +2 -2
- package/dist/components/{p-5e31c839.js → p-46440124.js} +2 -2
- package/dist/components/{p-af0a6cfe.js → p-47eafd24.js} +2 -2
- package/dist/components/{p-33cf89e0.js → p-57069e5c.js} +1 -1
- package/dist/components/{p-c061deb1.js → p-5aea1707.js} +279 -135
- package/dist/components/{p-28774fba.js → p-73b82fab.js} +4 -4
- package/dist/components/{p-5db0bb55.js → p-75cc2a0e.js} +4 -4
- package/dist/components/{p-57a120a5.js → p-78086e86.js} +1 -1
- package/dist/components/{p-46ec5845.js → p-7b80651f.js} +1 -1
- package/dist/components/{p-34ed7a73.js → p-7fa7072d.js} +2 -2
- package/dist/components/{p-edac29ad.js → p-91cbfbb1.js} +2 -2
- package/dist/components/{p-b87bd975.js → p-96d517a7.js} +5 -5
- package/dist/components/{p-5579a90c.js → p-a52b0e92.js} +30 -12
- package/dist/components/{p-394a36af.js → p-bba3ee8c.js} +3 -3
- package/dist/components/{p-b45eb398.js → p-d5573b9a.js} +14 -14
- package/dist/components/{p-28f24feb.js → p-dbfe7218.js} +16 -16
- package/dist/components/{p-398198d3.js → p-e74c4841.js} +49 -7
- package/dist/components/{p-7aa9d49d.js → p-f0de2fa5.js} +8 -8
- package/dist/components/{p-d3a8c2ba.js → p-f836c3ed.js} +2 -2
- package/dist/components/{p-df77b97b.js → p-fbaf1165.js} +7 -11
- package/dist/esm/{f-cell-d72f5a9c.js → f-cell-0a43dfd3.js} +24 -19
- package/dist/esm/{f-chip-663db488.js → f-chip-d5f27ee2.js} +1 -1
- package/dist/esm/{f-object-field-afe7604f.js → f-object-field-6f759bf9.js} +2 -2
- package/dist/esm/{f-paginator-utils-b6924c55.js → f-paginator-utils-6d124369.js} +9 -7
- package/dist/esm/{f-text-field-40f1ad00.js → f-text-field-86dd8534.js} +2 -5
- 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_30.entry.js +229 -106
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +15 -8
- 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 +37 -19
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-8f020338.js → kup-data-table-helper-7d5e4260.js} +8 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +48 -6
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-gantt_10.entry.js +26 -26
- 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 +169 -29
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-b367be3b.js → kup-manager-2b06d829.js} +7 -11
- 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-b9350213.entry.js → p-00963efe.entry.js} +1 -1
- package/dist/ketchup/{p-62edfd5a.entry.js → p-045e7306.entry.js} +1 -1
- package/dist/ketchup/{p-8bc2888a.entry.js → p-0a93321f.entry.js} +1 -1
- package/dist/ketchup/{p-c0928fec.entry.js → p-1015f35b.entry.js} +1 -1
- package/dist/ketchup/{p-0666ba27.entry.js → p-179d9c32.entry.js} +2 -2
- package/dist/ketchup/{p-75deebdb.entry.js → p-17f69e68.entry.js} +1 -1
- package/dist/ketchup/{p-d49f1a0d.js → p-2bb6c663.js} +1 -1
- package/dist/ketchup/{p-ebf955a8.entry.js → p-2f626d6c.entry.js} +1 -1
- package/dist/ketchup/{p-9ff4c3e5.entry.js → p-39472246.entry.js} +1 -1
- package/dist/ketchup/{p-9c13c092.entry.js → p-3f7fec03.entry.js} +1 -1
- package/dist/ketchup/{p-26206b66.entry.js → p-425fab24.entry.js} +1 -1
- package/dist/ketchup/{p-51cc836a.js → p-43246def.js} +1 -1
- package/dist/ketchup/{p-4af4b7d3.entry.js → p-4c8480a1.entry.js} +1 -1
- package/dist/ketchup/p-4d3ae43b.entry.js +8 -0
- package/dist/ketchup/{p-941beedb.entry.js → p-4f380f49.entry.js} +1 -1
- package/dist/ketchup/p-514a0dfd.js +1 -0
- package/dist/ketchup/p-5f35bc3e.js +1 -0
- package/dist/ketchup/{p-d696e519.js → p-62b0efc0.js} +1 -1
- package/dist/ketchup/p-68929471.entry.js +1 -0
- package/dist/ketchup/{p-17b25b3d.entry.js → p-74035126.entry.js} +1 -1
- package/dist/ketchup/{p-c2531d28.entry.js → p-8a95b2a0.entry.js} +1 -1
- package/dist/ketchup/{p-ec1129bf.entry.js → p-9432bc02.entry.js} +1 -1
- package/dist/ketchup/{p-5bf264dd.entry.js → p-98fb85e5.entry.js} +1 -1
- package/dist/ketchup/p-a186678f.js +1 -0
- package/dist/ketchup/{p-4c8edfb1.entry.js → p-a301cd89.entry.js} +1 -1
- package/dist/ketchup/p-a34c1e3c.entry.js +1 -0
- package/dist/ketchup/p-b1371652.js +1 -0
- package/dist/ketchup/{p-fac09a35.entry.js → p-b1a9f499.entry.js} +1 -1
- package/dist/ketchup/{p-928adf93.entry.js → p-b5575d63.entry.js} +1 -1
- package/dist/ketchup/{p-4735c623.entry.js → p-beacc7fd.entry.js} +1 -1
- package/dist/ketchup/{p-6e6d3296.entry.js → p-bf5abe49.entry.js} +1 -1
- package/dist/ketchup/{p-b0550f15.entry.js → p-d022b77e.entry.js} +2 -2
- package/dist/ketchup/{p-32ced542.entry.js → p-d83f2153.entry.js} +1 -1
- package/dist/ketchup/{p-26a20d81.entry.js → p-e5022c5b.entry.js} +1 -1
- package/dist/ketchup/{p-def6d8b4.entry.js → p-e5f2da82.entry.js} +1 -1
- package/dist/ketchup/{p-f2bfb53c.entry.js → p-e6cad40c.entry.js} +1 -1
- package/dist/ketchup/{p-6b185239.entry.js → p-f9c3699f.entry.js} +1 -1
- package/dist/ketchup/p-f9d6a629.entry.js +16 -0
- package/dist/ketchup/{p-006b5782.entry.js → p-fd855732.entry.js} +1 -1
- package/dist/types/components/kup-chip/kup-chip-declarations.d.ts +5 -1
- package/dist/types/components/kup-chip/kup-chip.d.ts +15 -15
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +4 -1
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +6 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +38 -5
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components.d.ts +65 -11
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/utils/cell-utils.d.ts +3 -1
- package/package.json +4 -1
- package/dist/ketchup/p-058def11.entry.js +0 -1
- package/dist/ketchup/p-29c07479.entry.js +0 -8
- package/dist/ketchup/p-2e012afe.js +0 -1
- package/dist/ketchup/p-43bfca60.entry.js +0 -16
- package/dist/ketchup/p-8be7a37f.js +0 -1
- package/dist/ketchup/p-b39c7a22.js +0 -1
- package/dist/ketchup/p-c109ce22.js +0 -1
- package/dist/ketchup/p-eb771c1b.entry.js +0 -1
|
@@ -347,7 +347,8 @@ export class KupCalendar {
|
|
|
347
347
|
if (!this.dateCol || !this.descrCol) {
|
|
348
348
|
throw new Error('dateCol or/and descrCol are not specified, check calendarColums props');
|
|
349
349
|
}
|
|
350
|
-
events = this.getRows()
|
|
350
|
+
events = this.getRows()
|
|
351
|
+
.map((row) => {
|
|
351
352
|
const cell = row.cells[this.dateCol];
|
|
352
353
|
if (cell) {
|
|
353
354
|
let startDate = this.kupManager.dates.toDayjs(cell.value);
|
|
@@ -394,9 +395,12 @@ export class KupCalendar {
|
|
|
394
395
|
: `invalid start date: ${cell.value}`}. ${endDate
|
|
395
396
|
? `end date: ${endDate}`
|
|
396
397
|
: `invalid end date: ${cell.value}`}]`, KupDebugCategory.WARNING);
|
|
398
|
+
return null;
|
|
397
399
|
}
|
|
398
400
|
}
|
|
399
|
-
|
|
401
|
+
return null;
|
|
402
|
+
})
|
|
403
|
+
.filter((event) => event !== null);
|
|
400
404
|
}
|
|
401
405
|
catch (error) {
|
|
402
406
|
this.kupManager.debug.logMessage(this, `Unable to create calendard events, caused by: ${error}`, KupDebugCategory.ERROR);
|
|
@@ -461,11 +465,11 @@ export class KupCalendar {
|
|
|
461
465
|
this.kupManager.debug.logRender(this, true);
|
|
462
466
|
}
|
|
463
467
|
render() {
|
|
464
|
-
return (h(Host, { key: '
|
|
468
|
+
return (h(Host, { key: '84b96d480944784ba43b426e8d01e536f1bafc67' }, h("style", { key: 'bdaf0c3a8ee5cc6bdc7dc9e9cbc13529ea611e28' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '3ae0c2d73d9d70be0cf3a13f56eaf09fc5b29126', id: componentWrapperId }, h("div", { key: '06aa3eea99f3c49e88509c4393231fd47d7eeace', class: "navigation" }, !this.hideNavigation ? (h("div", { class: "navigation__left" }, h(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h("div", { key: 'bcf1061ef340154ce810504963c635677d7b08ec', class: `navigation__title ${this.hideNavigation
|
|
465
469
|
? 'navigation__title--centered'
|
|
466
470
|
: ''}`, ref: (el) => {
|
|
467
471
|
this.navTitle = el;
|
|
468
|
-
} }), h("div", { key: '
|
|
472
|
+
} }), h("div", { key: 'd0da3cdd51e56c4d707789af64e55c1d19a24973', class: "navigation__right" }, this.enableChangeView ? (h(FChip, Object.assign({}, this.setChipProps()))) : null)), h("div", { key: 'c8cd358bceae781d6add7ff26cc09878ef0b5834', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
469
473
|
}
|
|
470
474
|
disconnectedCallback() {
|
|
471
475
|
if (this.calendar) {
|
|
@@ -6,7 +6,12 @@ export var KupChipProps;
|
|
|
6
6
|
(function (KupChipProps) {
|
|
7
7
|
KupChipProps["customStyle"] = "Custom style of the component.";
|
|
8
8
|
KupChipProps["data"] = "List of elements.";
|
|
9
|
-
|
|
9
|
+
// displayId = "When enabled, the chip's text will display both the id and the value.",
|
|
10
|
+
KupChipProps["disabled"] = "When true, the chip cannot be edited, nor removed.";
|
|
11
|
+
KupChipProps["displayMode"] = "When enabled, the chip will display both the id and description of the data.";
|
|
10
12
|
KupChipProps["enableInput"] = "When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field).";
|
|
13
|
+
KupChipProps["label"] = "When set, will be shown a label on the chips.";
|
|
14
|
+
KupChipProps["sizing"] = "The size of the chip. Available sizes: small, medium.";
|
|
15
|
+
KupChipProps["styling"] = "The style of the chip. Available styles: outlined, raised.";
|
|
11
16
|
KupChipProps["type"] = "The type of chip. Available types: input, filter, choice or empty for default.";
|
|
12
17
|
})(KupChipProps || (KupChipProps = {}));
|
|
@@ -27,13 +27,13 @@ export class KupChip {
|
|
|
27
27
|
this.kupManager = kupManagerInstance();
|
|
28
28
|
this.customStyle = '';
|
|
29
29
|
this.data = [];
|
|
30
|
-
this.enableInput = false;
|
|
31
30
|
this.disabled = false;
|
|
32
|
-
this.type = FChipType.STANDARD;
|
|
33
|
-
this.sizing = FChipSize.SMALL;
|
|
34
|
-
this.styling = FChipStyling.RAISED;
|
|
35
31
|
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
32
|
+
this.enableInput = false;
|
|
36
33
|
this.label = null;
|
|
34
|
+
this.sizing = FChipSize.SMALL;
|
|
35
|
+
this.styling = FChipStyling.RAISED;
|
|
36
|
+
this.type = FChipType.STANDARD;
|
|
37
37
|
}
|
|
38
38
|
onKupBlur(chip) {
|
|
39
39
|
this.kupBlur.emit({
|
|
@@ -196,7 +196,7 @@ export class KupChip {
|
|
|
196
196
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
197
197
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
198
198
|
}
|
|
199
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: '092919df319761de61a7e6535f0dd18976463c6c', "onKup-autocomplete-itemclick": (e) => {
|
|
200
200
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
201
201
|
}, "onKup-combobox-itemclick": (e) => {
|
|
202
202
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
@@ -206,7 +206,7 @@ export class KupChip {
|
|
|
206
206
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
207
207
|
}, "onKup-textfield-submit": (e) => {
|
|
208
208
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
209
|
-
} }, h("style", { key: '
|
|
209
|
+
} }, h("style", { key: '3cc916a8db665b151f59f4224d5f6f168268f842' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '57500014b7c3f0fe98add9eb950fa88615e6eec0', id: componentWrapperId }, this.label ? (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: '92f0d3996bddacc0be40eab0298c4716de3783c1', name: "field" }))));
|
|
210
210
|
}
|
|
211
211
|
disconnectedCallback() {
|
|
212
212
|
this.kupManager.theme.unregister(this);
|
|
@@ -274,7 +274,7 @@ export class KupChip {
|
|
|
274
274
|
},
|
|
275
275
|
"defaultValue": "[]"
|
|
276
276
|
},
|
|
277
|
-
"
|
|
277
|
+
"disabled": {
|
|
278
278
|
"type": "boolean",
|
|
279
279
|
"mutable": false,
|
|
280
280
|
"complexType": {
|
|
@@ -289,13 +289,40 @@ export class KupChip {
|
|
|
289
289
|
"name": "default",
|
|
290
290
|
"text": "false"
|
|
291
291
|
}],
|
|
292
|
-
"text": "When
|
|
292
|
+
"text": "When true, the chip cannot be edited, nor removed."
|
|
293
293
|
},
|
|
294
|
-
"attribute": "
|
|
294
|
+
"attribute": "disabled",
|
|
295
295
|
"reflect": false,
|
|
296
296
|
"defaultValue": "false"
|
|
297
297
|
},
|
|
298
|
-
"
|
|
298
|
+
"displayMode": {
|
|
299
|
+
"type": "string",
|
|
300
|
+
"mutable": false,
|
|
301
|
+
"complexType": {
|
|
302
|
+
"original": "ItemsDisplayMode",
|
|
303
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.CODE_AND_DESC | ItemsDisplayMode.CODE_AND_DESC_ALIAS | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESC_AND_CODE",
|
|
304
|
+
"references": {
|
|
305
|
+
"ItemsDisplayMode": {
|
|
306
|
+
"location": "import",
|
|
307
|
+
"path": "../kup-list/kup-list-declarations",
|
|
308
|
+
"id": "src/components/kup-list/kup-list-declarations.ts::ItemsDisplayMode"
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"required": false,
|
|
313
|
+
"optional": false,
|
|
314
|
+
"docs": {
|
|
315
|
+
"tags": [{
|
|
316
|
+
"name": "default",
|
|
317
|
+
"text": "ItemsDisplayMode.DESCRIPTION"
|
|
318
|
+
}],
|
|
319
|
+
"text": "When enabled, the chip's text will display both the id and description."
|
|
320
|
+
},
|
|
321
|
+
"attribute": "display-mode",
|
|
322
|
+
"reflect": false,
|
|
323
|
+
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
324
|
+
},
|
|
325
|
+
"enableInput": {
|
|
299
326
|
"type": "boolean",
|
|
300
327
|
"mutable": false,
|
|
301
328
|
"complexType": {
|
|
@@ -310,38 +337,32 @@ export class KupChip {
|
|
|
310
337
|
"name": "default",
|
|
311
338
|
"text": "false"
|
|
312
339
|
}],
|
|
313
|
-
"text": "When
|
|
340
|
+
"text": "When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field)."
|
|
314
341
|
},
|
|
315
|
-
"attribute": "
|
|
342
|
+
"attribute": "enable-input",
|
|
316
343
|
"reflect": false,
|
|
317
344
|
"defaultValue": "false"
|
|
318
345
|
},
|
|
319
|
-
"
|
|
346
|
+
"label": {
|
|
320
347
|
"type": "string",
|
|
321
348
|
"mutable": false,
|
|
322
349
|
"complexType": {
|
|
323
|
-
"original": "
|
|
324
|
-
"resolved": "
|
|
325
|
-
"references": {
|
|
326
|
-
"FChipType": {
|
|
327
|
-
"location": "import",
|
|
328
|
-
"path": "../../f-components/f-chip/f-chip-declarations",
|
|
329
|
-
"id": "src/f-components/f-chip/f-chip-declarations.ts::FChipType"
|
|
330
|
-
}
|
|
331
|
-
}
|
|
350
|
+
"original": "string",
|
|
351
|
+
"resolved": "string",
|
|
352
|
+
"references": {}
|
|
332
353
|
},
|
|
333
354
|
"required": false,
|
|
334
355
|
"optional": false,
|
|
335
356
|
"docs": {
|
|
336
357
|
"tags": [{
|
|
337
358
|
"name": "default",
|
|
338
|
-
"text": "
|
|
359
|
+
"text": "null"
|
|
339
360
|
}],
|
|
340
|
-
"text": "
|
|
361
|
+
"text": "When set,will be shown a label on the chips"
|
|
341
362
|
},
|
|
342
|
-
"attribute": "
|
|
363
|
+
"attribute": "label",
|
|
343
364
|
"reflect": false,
|
|
344
|
-
"defaultValue": "
|
|
365
|
+
"defaultValue": "null"
|
|
345
366
|
},
|
|
346
367
|
"sizing": {
|
|
347
368
|
"type": "string",
|
|
@@ -397,17 +418,17 @@ export class KupChip {
|
|
|
397
418
|
"reflect": false,
|
|
398
419
|
"defaultValue": "FChipStyling.RAISED"
|
|
399
420
|
},
|
|
400
|
-
"
|
|
421
|
+
"type": {
|
|
401
422
|
"type": "string",
|
|
402
423
|
"mutable": false,
|
|
403
424
|
"complexType": {
|
|
404
|
-
"original": "
|
|
405
|
-
"resolved": "
|
|
425
|
+
"original": "FChipType",
|
|
426
|
+
"resolved": "FChipType.CHOICE | FChipType.FILTER | FChipType.INPUT | FChipType.STANDARD",
|
|
406
427
|
"references": {
|
|
407
|
-
"
|
|
428
|
+
"FChipType": {
|
|
408
429
|
"location": "import",
|
|
409
|
-
"path": "
|
|
410
|
-
"id": "src/components/
|
|
430
|
+
"path": "../../f-components/f-chip/f-chip-declarations",
|
|
431
|
+
"id": "src/f-components/f-chip/f-chip-declarations.ts::FChipType"
|
|
411
432
|
}
|
|
412
433
|
}
|
|
413
434
|
},
|
|
@@ -416,34 +437,13 @@ export class KupChip {
|
|
|
416
437
|
"docs": {
|
|
417
438
|
"tags": [{
|
|
418
439
|
"name": "default",
|
|
419
|
-
"text": "
|
|
420
|
-
}],
|
|
421
|
-
"text": "When enabled, the chip's text will display both the id and description."
|
|
422
|
-
},
|
|
423
|
-
"attribute": "display-mode",
|
|
424
|
-
"reflect": false,
|
|
425
|
-
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
426
|
-
},
|
|
427
|
-
"label": {
|
|
428
|
-
"type": "string",
|
|
429
|
-
"mutable": false,
|
|
430
|
-
"complexType": {
|
|
431
|
-
"original": "string",
|
|
432
|
-
"resolved": "string",
|
|
433
|
-
"references": {}
|
|
434
|
-
},
|
|
435
|
-
"required": false,
|
|
436
|
-
"optional": false,
|
|
437
|
-
"docs": {
|
|
438
|
-
"tags": [{
|
|
439
|
-
"name": "default",
|
|
440
|
-
"text": "null"
|
|
440
|
+
"text": "FChipType.STANDARD"
|
|
441
441
|
}],
|
|
442
|
-
"text": "
|
|
442
|
+
"text": "The type of chip. Available types: input, filter, choice or empty for default."
|
|
443
443
|
},
|
|
444
|
-
"attribute": "
|
|
444
|
+
"attribute": "type",
|
|
445
445
|
"reflect": false,
|
|
446
|
-
"defaultValue": "
|
|
446
|
+
"defaultValue": "FChipType.STANDARD"
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
449
|
}
|
|
@@ -328,12 +328,14 @@ export class KupCombobox {
|
|
|
328
328
|
: false,
|
|
329
329
|
showMarker: this.showMarker,
|
|
330
330
|
legacyLook: this.legacyLook,
|
|
331
|
-
size:
|
|
331
|
+
size: this.size
|
|
332
|
+
? this.size
|
|
333
|
+
: getSizeOfInputElement(this.data, this.displayMode, this.size),
|
|
332
334
|
title: (_a = this.displayedValue) !== null && _a !== void 0 ? _a : '',
|
|
333
335
|
};
|
|
334
336
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
335
337
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
336
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: '8bb8eace416a6799a32f5d5222759ead3525ed7d', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h("style", { key: 'bf9817caafcbd303719c862f4f84111ef6da27c1' }, __classPrivateFieldGet(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1052268f4d6e8227b3fdc6c6a25ea2004f21d197', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: 'df2cf6672cfe3c9360476df936cedff6449861b6' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
337
339
|
? KupThemeIconValues.DROPDOWN
|
|
338
340
|
: null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick(), onClearIconClick: () => this.onKupClearIconClick() }))), __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
339
341
|
}
|
|
@@ -67,6 +67,7 @@ export var KupDataTableProps;
|
|
|
67
67
|
KupDataTableProps["transpose"] = "Transposes the data of the data table.";
|
|
68
68
|
KupDataTableProps["updatableData"] = "When set to true, editable cells will be rendered using input components and update button will appair below the matrix";
|
|
69
69
|
KupDataTableProps["updateOnClick"] = "When set to true, editable checkbox will call update";
|
|
70
|
+
KupDataTableProps["visibleColumns"] = "Defines the columns that are visible in the table";
|
|
70
71
|
})(KupDataTableProps || (KupDataTableProps = {}));
|
|
71
72
|
export var SortMode;
|
|
72
73
|
(function (SortMode) {
|
|
@@ -763,12 +763,16 @@ function cloneRowGroup(group) {
|
|
|
763
763
|
* @param includesAlsoEmptyRows
|
|
764
764
|
* @returns
|
|
765
765
|
*/
|
|
766
|
-
export function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false) {
|
|
766
|
+
export function getDiffData(originalData, modifiedData, includesAlsoEmptyRows = false, insertedRowsIds = []) {
|
|
767
767
|
const diffDataTable = {
|
|
768
768
|
columns: modifiedData.columns.filter((col) => col.visible),
|
|
769
769
|
rows: [],
|
|
770
770
|
};
|
|
771
771
|
for (const modifiedRow of modifiedData.rows) {
|
|
772
|
+
if (insertedRowsIds.includes(modifiedRow.id)) {
|
|
773
|
+
diffDataTable.rows.push(modifiedRow);
|
|
774
|
+
continue;
|
|
775
|
+
}
|
|
772
776
|
const newRow = { cells: {}, id: modifiedRow.id };
|
|
773
777
|
for (const column of diffDataTable.columns) {
|
|
774
778
|
const cellKey = column.name;
|
|
@@ -226,6 +226,14 @@
|
|
|
226
226
|
--kup-fcell-padding-wide,
|
|
227
227
|
var(--kup-space-04) var(--kup-space-03)
|
|
228
228
|
);
|
|
229
|
+
--kup_datatable_inserted_row_background: var(
|
|
230
|
+
--kup-datatable-inserted-row-background,
|
|
231
|
+
#c8e6c9
|
|
232
|
+
);
|
|
233
|
+
--kup_datatable_modified_row_background: var(
|
|
234
|
+
--kup-datatable-modified-row-background,
|
|
235
|
+
#ffd8a6
|
|
236
|
+
);
|
|
229
237
|
display: block;
|
|
230
238
|
font-family: var(--kup_datatable_font_family);
|
|
231
239
|
font-size: var(--kup_datatable_font_size);
|
|
@@ -467,6 +475,12 @@ tbody tr[kup-draggable] {
|
|
|
467
475
|
tbody tr.selected td {
|
|
468
476
|
background-color: var(--kup_datatable_background_color_selected);
|
|
469
477
|
}
|
|
478
|
+
tbody tr.inserted td {
|
|
479
|
+
background-color: var(--kup_datatable_inserted_row_background);
|
|
480
|
+
}
|
|
481
|
+
tbody tr.modified td {
|
|
482
|
+
background-color: var(--kup_datatable_modified_row_background);
|
|
483
|
+
}
|
|
470
484
|
tbody tr:hover:not(.group):not(.selected) td {
|
|
471
485
|
color: var(--kup_datatable_text_color_hover);
|
|
472
486
|
background-color: var(--kup_datatable_background_color_hover);
|
|
@@ -669,7 +683,7 @@ th.obj:hover span:not(.overlay-action) {
|
|
|
669
683
|
mask: var(--kup-key-icon);
|
|
670
684
|
}
|
|
671
685
|
|
|
672
|
-
@media (max-width:
|
|
686
|
+
@media (max-width: 830px) {
|
|
673
687
|
.actions-wrapper {
|
|
674
688
|
flex-direction: column-reverse;
|
|
675
689
|
}
|
|
@@ -718,6 +732,7 @@ th.obj:hover span:not(.overlay-action) {
|
|
|
718
732
|
|
|
719
733
|
.paginator-tabs {
|
|
720
734
|
width: 100%;
|
|
735
|
+
display: flex;
|
|
721
736
|
}
|
|
722
737
|
.paginator-tabs kup-paginator {
|
|
723
738
|
display: inline-flex;
|
|
@@ -729,13 +744,15 @@ th.obj:hover span:not(.overlay-action) {
|
|
|
729
744
|
float: right;
|
|
730
745
|
}
|
|
731
746
|
|
|
747
|
+
@media (max-width: 830px) {
|
|
748
|
+
.above-wrapper.paginator-top {
|
|
749
|
+
border-bottom: 1px solid var(--kup-border-subtle);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
732
752
|
@media (max-width: 500px) {
|
|
733
753
|
.paginator-wrapper {
|
|
734
754
|
min-width: fit-content;
|
|
735
755
|
}
|
|
736
|
-
.above-wrapper.paginator-top {
|
|
737
|
-
border-bottom: 1px solid var(--kup-border-subtle);
|
|
738
|
-
}
|
|
739
756
|
}
|
|
740
757
|
sticky-header {
|
|
741
758
|
display: none;
|