@sme.up/ketchup 10.3.7 → 10.3.9
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-button-bfafefb3.js → f-button-c084046d.js} +1 -1
- package/dist/cjs/{f-cell-5c1b2c66.js → f-cell-2e939ef8.js} +15 -14
- package/dist/cjs/{f-checkbox-aaa6d45c.js → f-checkbox-e59d6bda.js} +3 -3
- package/dist/cjs/{f-chip-b4aebf7c.js → f-chip-b0b4b0d9.js} +2 -2
- package/dist/cjs/{f-image-db10b066.js → f-image-7457eb26.js} +18 -15
- package/dist/cjs/{f-object-field-62195164.js → f-object-field-db5613ef.js} +3 -3
- package/dist/cjs/{f-paginator-utils-54bc1b31.js → f-paginator-utils-2fcf4642.js} +2 -2
- package/dist/cjs/{f-text-field-03e975ad.js → f-text-field-ee6120c5.js} +60 -3
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +527 -229
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +12 -8
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +37 -19
- package/dist/cjs/kup-dashboard.cjs.entry.js +5 -5
- package/dist/cjs/{kup-data-table-helper-72dc3004.js → kup-data-table-helper-0705294e.js} +6 -2
- 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 +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- 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 +6 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +80 -25
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-bb0a1490.js → kup-manager-0ce9fd30.js} +19 -7
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-object-field.cjs.entry.js +6 -6
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +8 -4
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +5 -2
- 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-data-table/kup-data-table-helper.js +5 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +14 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +305 -128
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -8
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +3 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +9 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +135 -27
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.css +0 -3
- package/dist/collection/components/kup-htm/kup-htm.js +4 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel-declarations.js +1 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +9 -0
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +90 -16
- 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-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +27 -4
- 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 +5 -1
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +1 -1
- package/dist/collection/f-components/f-image/f-image.js +18 -15
- package/dist/collection/f-components/f-label/f-label.js +4 -7
- package/dist/collection/f-components/f-text-field/f-text-field.js +55 -1
- package/dist/collection/managers/kup-data/kup-data.js +4 -3
- package/dist/collection/managers/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +5 -0
- package/dist/collection/utils/cell-utils.js +1 -1
- package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +2 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +57 -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 +10 -6
- 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 +7 -4
- 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 +76 -20
- 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-9c59685c.js → p-23d0f0c7.js} +2 -2
- package/dist/components/{p-0448c650.js → p-2670bfd5.js} +14 -14
- package/dist/components/{p-072ba014.js → p-5b1056e4.js} +8 -8
- package/dist/components/{p-57069e5c.js → p-767fcf91.js} +1 -1
- package/dist/components/{p-66800070.js → p-7e706919.js} +623 -252
- package/dist/components/{p-970526a0.js → p-85852162.js} +19 -7
- package/dist/components/{p-eee85021.js → p-89b9a949.js} +2 -2
- package/dist/components/{p-47eafd24.js → p-9a502c5d.js} +2 -2
- package/dist/components/{p-bba3ee8c.js → p-9a617844.js} +3 -3
- package/dist/components/{p-73b82fab.js → p-9d13f3da.js} +4 -4
- package/dist/components/{p-5579a90c.js → p-a52b0e92.js} +30 -12
- package/dist/components/{p-f836c3ed.js → p-aa882232.js} +2 -2
- package/dist/components/{p-a70b7f3e.js → p-b057cba1.js} +2 -2
- package/dist/components/{p-78086e86.js → p-bbb25c58.js} +1 -1
- package/dist/components/{p-96d517a7.js → p-bdecbc93.js} +5 -5
- package/dist/components/{p-7fa7072d.js → p-cbc6b3d5.js} +2 -2
- package/dist/components/{p-a6da9edf.js → p-cde4d6c3.js} +4 -4
- package/dist/components/{p-e8d7edaf.js → p-d9bec7c8.js} +2 -2
- package/dist/components/{p-7b80651f.js → p-dc1ce1b4.js} +1 -1
- package/dist/components/{p-a266fbc3.js → p-e72fb07b.js} +2 -2
- package/dist/components/{p-09e09e43.js → p-f9afe0c9.js} +16 -16
- package/dist/esm/{f-button-3c8f4506.js → f-button-6298565d.js} +1 -1
- package/dist/esm/{f-cell-3f9d4de0.js → f-cell-b3f0782c.js} +15 -14
- package/dist/esm/{f-checkbox-5cdd1cad.js → f-checkbox-191ec2e7.js} +3 -3
- package/dist/esm/{f-chip-28fde4c9.js → f-chip-3ed440ef.js} +2 -2
- package/dist/esm/{f-image-a2ecd7c3.js → f-image-96ea1421.js} +18 -15
- package/dist/esm/{f-object-field-24f67438.js → f-object-field-23935da4.js} +3 -3
- package/dist/esm/{f-paginator-utils-3e2a0dcd.js → f-paginator-utils-a9d5c2d3.js} +2 -2
- package/dist/esm/{f-text-field-f64cc53e.js → f-text-field-4934ff74.js} +60 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +527 -229
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +12 -8
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-custom-task-list-header_4.entry.js +37 -19
- package/dist/esm/kup-dashboard.entry.js +5 -5
- package/dist/esm/{kup-data-table-helper-edbee21a.js → kup-data-table-helper-de9421a0.js} +6 -2
- 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 +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- 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 +6 -3
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +80 -25
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-7acd779a.js → kup-manager-5c23bae7.js} +19 -7
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-object-field.entry.js +6 -6
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-d7bfb6da.entry.js → p-001755a5.entry.js} +1 -1
- package/dist/ketchup/{p-c38d19f9.js → p-02e22635.js} +1 -1
- package/dist/ketchup/p-03d049e3.js +21 -0
- package/dist/ketchup/p-0bb6bfb4.entry.js +1 -0
- package/dist/ketchup/{p-ee752492.entry.js → p-137158e4.entry.js} +1 -1
- package/dist/ketchup/{p-0f3e905b.entry.js → p-143617b6.entry.js} +1 -1
- package/dist/ketchup/{p-98865092.entry.js → p-27f26f4b.entry.js} +1 -1
- package/dist/ketchup/{p-ab5dcfce.entry.js → p-29af64ff.entry.js} +1 -1
- package/dist/ketchup/{p-5c538668.entry.js → p-33a6e698.entry.js} +1 -1
- package/dist/ketchup/{p-00e3a2c7.entry.js → p-424c2f64.entry.js} +1 -1
- package/dist/ketchup/{p-0f78bd11.entry.js → p-4632e407.entry.js} +2 -2
- package/dist/ketchup/{p-001bf9b3.entry.js → p-6741f3f6.entry.js} +1 -1
- package/dist/ketchup/p-687b7642.entry.js +8 -0
- package/dist/ketchup/{p-0a4869d8.entry.js → p-68835d71.entry.js} +1 -1
- package/dist/ketchup/{p-5cdbe34b.entry.js → p-6c1e1780.entry.js} +1 -1
- package/dist/ketchup/{p-05da127e.entry.js → p-6ce64af5.entry.js} +1 -1
- package/dist/ketchup/{p-864d384f.entry.js → p-7775e947.entry.js} +1 -1
- package/dist/ketchup/p-7d25580b.entry.js +1 -0
- package/dist/ketchup/p-95346c81.js +1 -0
- package/dist/ketchup/p-a3394095.js +1 -0
- package/dist/ketchup/{p-a5589352.entry.js → p-a76b0d93.entry.js} +1 -1
- package/dist/ketchup/{p-cb4c3ec6.entry.js → p-ae1f69c7.entry.js} +1 -1
- package/dist/ketchup/{p-92d5502a.entry.js → p-b47dc6ac.entry.js} +1 -1
- package/dist/ketchup/{p-4e8d34ad.entry.js → p-b509455c.entry.js} +1 -1
- package/dist/ketchup/{p-bbdc671b.entry.js → p-b67d94a0.entry.js} +1 -1
- package/dist/ketchup/{p-d643a6b0.entry.js → p-bc75c526.entry.js} +1 -1
- package/dist/ketchup/p-c3eca951.entry.js +16 -0
- package/dist/ketchup/{p-f446a5dd.entry.js → p-cc9d71a7.entry.js} +1 -1
- package/dist/ketchup/p-cc9db65d.js +1 -0
- package/dist/ketchup/p-cf5e1d07.js +1 -0
- package/dist/ketchup/{p-e3098793.js → p-da273b4d.js} +1 -1
- package/dist/ketchup/p-da5d5eea.js +1 -0
- package/dist/ketchup/p-dba5100a.entry.js +1 -0
- package/dist/ketchup/{p-ebcf33a3.entry.js → p-dc425c68.entry.js} +1 -1
- package/dist/ketchup/p-e18d9110.entry.js +1 -0
- package/dist/ketchup/{p-9432bc02.entry.js → p-e755042e.entry.js} +1 -1
- package/dist/ketchup/{p-91184407.entry.js → p-ec66f939.entry.js} +1 -1
- package/dist/ketchup/{p-60c3a948.entry.js → p-ece991ba.entry.js} +1 -1
- package/dist/ketchup/{p-9f9428d1.js → p-ef3112d4.js} +1 -1
- package/dist/ketchup/{p-9667a3f6.entry.js → p-f3319227.entry.js} +1 -1
- package/dist/ketchup/{p-6429a3bc.entry.js → p-f7da2ca7.entry.js} +1 -1
- package/dist/ketchup/{p-c4224227.js → p-ff735e62.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 +3 -0
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +2 -0
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +4 -1
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +11 -2
- package/dist/types/components/kup-htm/kup-htm.d.ts +1 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +1 -0
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +1 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components.d.ts +33 -2
- package/dist/types/f-components/f-cell/f-cell.d.ts +5 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +3 -1
- package/dist/types/utils/cell-utils.d.ts +1 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +3 -1
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +3 -2
- package/package.json +1 -1
- package/dist/ketchup/p-003617f2.entry.js +0 -1
- package/dist/ketchup/p-216b5deb.js +0 -1
- package/dist/ketchup/p-3823781f.entry.js +0 -1
- package/dist/ketchup/p-39ab2443.entry.js +0 -1
- package/dist/ketchup/p-3cab6420.js +0 -1
- package/dist/ketchup/p-561db8b0.entry.js +0 -1
- package/dist/ketchup/p-607b56b3.entry.js +0 -8
- package/dist/ketchup/p-84a053a8.js +0 -21
- package/dist/ketchup/p-90345661.entry.js +0 -16
- package/dist/ketchup/p-b7b54a12.js +0 -1
- package/dist/ketchup/p-c00b4f52.js +0 -1
- package/dist/ketchup/p-ebcd12d5.js +0 -1
|
@@ -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: 'c1cc0fe4d44331b5b75fb35b0afbd913caf7f622', class: "planner-render" }, h("kup-switcher", { key: '3c125419b5912ff9c9b9c24adba71dda785fa01d', 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: 'cf92a3212f97ec496aa30ff6b7eec91e831e4b14', 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: 'd24d4bc2fd86820f8ec6970387020b7d2b6088d1', 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: 'e2b4a8dff37cb823329dd6cbf6ea4ed7a9b81e33', class: "ganttVerticalContainer", ref: (el) => (this.verticalGanttContainerRef = el), dir: "ltr" }, h("kup-gantt-calendar", { key: '156ef3dc8e066fa143ca2b27c945e5487299b87b', 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: '994c441039334c518f9c45bcb1b197ecc0ca5073', 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: 'f7b9656624c914819676bebc1891d9d388c7bfe7' }, 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: '4efef768654d5ee326236b20138a45aac4428125', class: "ganttTable", style: {
|
|
11
11
|
fontFamily: this.fontFamily,
|
|
12
12
|
fontSize: this.fontSize,
|
|
13
|
-
} }, h("div", { key: '
|
|
13
|
+
} }, h("div", { key: '37faca5980c085750eb731dee64e3e3ed4a2897f', class: "ganttTable_Header", style: {
|
|
14
14
|
height: `${this.headerHeight - 2}px`,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: '19d84c87983e55eb0af2c5a1a0e6cb173616bea5', class: "ganttTable_HeaderItem", style: {
|
|
16
16
|
minWidth: this.rowWidth,
|
|
17
|
-
} }, "\u00A0Name"), h("div", { key: '
|
|
17
|
+
} }, "\u00A0Name"), h("div", { key: '1e5526e24c54a2b1a648df22eec6e40a5a0ec0be', 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: 'e5a506727de0d36230317b9920840ef5ac26fa9f', class: "ganttTable_HeaderItem", style: {
|
|
21
21
|
minWidth: this.rowWidth,
|
|
22
|
-
} }, "\u00A0From"), h("div", { key: '
|
|
22
|
+
} }, "\u00A0From"), h("div", { key: '3346d2674ee3c6d75fe524b70e26166d68850cd4', 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: '607b1f90fe2b97b614165e97c05926b2149f8e7c', 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: 'e7368c350429accbf8713109fe99c73c4cb6a850', 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: 'f934b78d05a4851af330799a723b9afe0a2be36d', 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: '0ee50961a474dac562d97548df584e98c07360fa', 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: '7427840d8808ed3ebbc8b57f8bd4653243a6e9a1', class: "tooltipDefaultContainer", style: { fontSize: this.fontSize, fontFamily: this.fontFamily } }, h("b", { key: '1d7aaa16b5fa91322952d235ac8a6ba90d4a3083', 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: 'a30ef9c69dc7091d0f935d64d76ce6aa5eb32d4c', class: "tooltipDefaultContainerParagraph" }, `Duration: ${~~((this.task.end.getTime() - this.task.start.getTime()) / (1000 * 60 * 60 * 24))} day(s)`)), h("p", { key: '2cbb86c782ec3c4e87e2ddfaf2717bada396f664', 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: 'aacfee9b9521a7da47c42959ddba11cc13a2d86e', class: this.relatedX ? 'tooltipDetailsContainer' : 'tooltipDetailsContainerHidden', style: { left: `${this.relatedX}px`, top: `${this.relatedY}px` } }, h(this.TooltipContent, { key: 'c4c45b5f181e23ead0bdb3dc9b6cf5e78458cf6e', 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: '8e3600213a2d21a94dbb232a0dd2b83c332fc093', 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: 'f11b5279bb0fafa024cf92df8a9960fb4fdaa8d5', 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: '62508785a36efee2c2e6496aad81384ee7e3275d' }, customStyle ? h("style", null, customStyle) : null, h("div", { key: 'd2a02de79960d37fb1f1286b1cee4622fe6a927e', 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: '6d16fbbce2878c135c67a4b56dbf69099904d529' }, h("style", { key: 'd60887a62fa3ef9f320d97d67458561cff1f7210' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '26cb5f5983fde587f5badcbfdc2b4355326ac484', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '31de915d7832b8109087d632cf06e94c104e7c63' }, 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: 'f3eecc02e2348c5ecb70e5c1af65f81a70700df4', 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: 'd01ef2cfb73b3e72cb3d56ecede10cb7a2b66368' }, h("style", { key: '940e67e41bcaeb69205055ee5af1b56e3b015d1b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a3342415e91667c9e9f0677c2f5b79616a814f69', id: componentWrapperId }, h(FRating, Object.assign({ key: 'b9147b13dd6157a875c84042329874b72c3a9b0e' }, 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: '8e339635552d6add69225e0ecce153e8ec0a73b4', "kup-visible": this.visible }, h("style", { key: 'f6dd4e5705b8d2ec000c3e03e4cbbeb255825b29' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '025c173a39f349077790152a5c7c5b9cb3347cbd', id: componentWrapperId }, h("div", { key: '74223c5b382fa92880eaa5cfaef625f50b1a6b8f', class: snackbarClass }, h("div", { key: 'e9d6d1b71ed306cf1cf331957a5348fc2707fcda', class: "snackbar__text__block" }, h("div", { key: '24007c50fca61e04b98bb814b3610f161b404bfb', class: `${snackbarClass}__header` }, this.header), h("div", { key: 'b57401a3b251ca6df47161aa0137850ee6c32ea9', 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: '90da4bea524d6ae49bd7590b099d7af5bce8c4bc', class: "sk-spinner-v7-dot" }),
|
|
100
|
+
h("div", { key: 'f625f8a469c687a328dec11def5481b47dfdc6b2', class: "sk-spinner-v7-dot" }),
|
|
101
|
+
h("div", { key: 'fce31054830c273aceb9fe0a186daed290319d07', class: "sk-spinner-v7-dot" }),
|
|
102
|
+
h("div", { key: '18b89c2a7b927b07a03a6aa374cc6dc9d22d5c2c', class: "sk-spinner-v7-dot" }),
|
|
103
|
+
h("div", { key: '454dd58c7c1f2a51dcf3891198aa9108d3240347', class: "sk-spinner-v7-dot" }),
|
|
104
|
+
h("div", { key: '5787a5461b543828af41373b963fc2c3c984d848', 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: '3b44a114e62bcfa99acb7fd583ebee257c75477d', class: "sk-spinner-v9-bounce1" }),
|
|
110
|
+
h("div", { key: '1ac2ee154b6db501a95dcb6b9bd84d9eabea213a', 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: 'd0be49dd982f4f40197f23c758526bfc9b769991', class: "sk-spinner-v10-cube1" }),
|
|
116
|
+
h("div", { key: '177788b950edddfb35643e46d871137532aeeb9d', 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: '19e8c36f13d2c0eeb6a8ad24515a24a2e1cecfde', class: "sk-spinner-v12-dot1" }),
|
|
122
|
+
h("div", { key: 'b8ac14d003d7f601437e223c72dfd59ff9954367', 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: '0b4a4e591c6ca25e85170fb004f324822f050135', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
128
|
+
h("div", { key: '668a13a54d0e383977bed6f32e95e3f1dd78285f', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
129
|
+
h("div", { key: 'd2792cde124ce31a812d9b8c169b83de6e078dc2', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
130
|
+
h("div", { key: '3fc0b2ba9eebddfc0c1be20cd3e958fdfb86d123', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
131
|
+
h("div", { key: '3269b799012c027a320bff8256aa846223c3c213', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
132
|
+
h("div", { key: '9d932019c87435a325307b9c3ca11441a3f8d2c2', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
133
|
+
h("div", { key: 'e29e2d7a8f7092f03893c4654577a6636bca5ddc', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
134
|
+
h("div", { key: '9ec5c8fc4a18283180a5e98c63b796e2c06bd00c', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
135
|
+
h("div", { key: 'b7976b9cdbbdb933316448e6c5cd72c4d9492026', 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: '43f703d9d094ba069b5bb02e92c9e74711828df1', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
141
|
+
h("div", { key: '82f2d547b8de3da9acd78f6ec69c6b5a67261e93', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
142
|
+
h("div", { key: 'a5e3f0d7d0ae729c4066fb0a64096b3021ed1c45', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
143
|
+
h("div", { key: '9e657fea86ab17b86ff5cc637597ca0501fea0a3', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
144
|
+
h("div", { key: '0f11f4fa9e91ad5265672903255fc07dfb08b07a', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
145
|
+
h("div", { key: '4dcec3ed2bc03228dfeca88976241e83d0210881', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
146
|
+
h("div", { key: 'a20a89d5a2d0d47bba54c9bb0c932e9e39c43c88', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
147
|
+
h("div", { key: '8061fd589444079388c88eff984b7d4c0e210fb6', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
148
|
+
h("div", { key: '27e9567b83cfd945abfa32f847dd80f7f71cf475', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
149
|
+
h("div", { key: '49d6b3a4f7bdbf78e99933a24fff7afc9126db63', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
150
|
+
h("div", { key: 'd870a887d28416a702279fbb2b84a73ef133d9c9', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
151
|
+
h("div", { key: '0e193a5bfc7a08c3cd8d82da2e36c0f319215125', 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: '047cf91e1b91090b19b9e07e8d3ed5c9e93c9b01', style: elStyle }, h("style", { key: 'c28e4baa877428442fc12ef9908ed9e3ee606e9e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '85c8bbcacfd075b9c3a4a16074a95df1a7773f23', id: componentWrapperId, style: elStyle }, h("div", { key: '12e7ab8754db6191ec050c32ec228df99bb2c33e', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '7a05138502bf991b2e72e8013712f51174bd1b50', id: wrapperClass, style: elStyle }, h("div", { key: '3bccdb4bb8beefd999fbdfbb86440e0999575819', 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: '89225ee1836608a0274bbf05d86b8673345b34b1' }, h("style", { key: 'e19f9784414d547d630c24a46a2e40e6d4c1dec6' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '621a69e22881473c900fa8874e9b06a47a4e7a18', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '6318405dd07e72597071f86e79985b475eaf3a58' }, props)))));
|
|
127
127
|
}
|
|
128
128
|
disconnectedCallback() {
|
|
129
129
|
this.kupManager.theme.unregister(this);
|
|
@@ -22,6 +22,7 @@ export var KupTextFieldProps;
|
|
|
22
22
|
KupTextFieldProps["integers"] = "Number of integers (should be used when inputType is number).";
|
|
23
23
|
KupTextFieldProps["isClearable"] = "Enables a clear trailing icon.";
|
|
24
24
|
KupTextFieldProps["label"] = "When set, its content will be shown as a label.";
|
|
25
|
+
KupTextFieldProps["labelHelper"] = "When set, the label will be accompanied by a helper text displayed on hover.";
|
|
25
26
|
KupTextFieldProps["leadingLabel"] = "When set to true, the label will be on the left of the component.";
|
|
26
27
|
KupTextFieldProps["max"] = "The HTML max attribute specifies the maximum value for the input element. Works with the following input types: number, range, date, datetime-local, month, time and week.";
|
|
27
28
|
KupTextFieldProps["maxLength"] = "When set, the helper will display a character counter.";
|
|
@@ -7,14 +7,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
7
7
|
};
|
|
8
8
|
var _KupTextField_instances, _KupTextField_getValueForOutput, _KupTextField_setValueFromEventTaget;
|
|
9
9
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
10
|
-
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
11
10
|
import { FTextField } from "../../f-components/f-text-field/f-text-field";
|
|
12
11
|
import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
|
|
13
|
-
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
14
|
-
import { KupTextFieldProps, } from "./kup-text-field-declarations";
|
|
15
12
|
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
13
|
+
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
14
|
+
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
16
15
|
import { getProps, setProps } from "../../utils/utils";
|
|
17
16
|
import { componentWrapperId } from "../../variables/GenericVariables";
|
|
17
|
+
import { KupTextFieldProps, } from "./kup-text-field-declarations";
|
|
18
18
|
export class KupTextField {
|
|
19
19
|
constructor() {
|
|
20
20
|
_KupTextField_instances.add(this);
|
|
@@ -44,6 +44,7 @@ export class KupTextField {
|
|
|
44
44
|
this.integers = null;
|
|
45
45
|
this.isClearable = false;
|
|
46
46
|
this.label = null;
|
|
47
|
+
this.labelHelper = '';
|
|
47
48
|
this.lightMode = false;
|
|
48
49
|
this.leadingLabel = false;
|
|
49
50
|
this.max = null;
|
|
@@ -290,6 +291,7 @@ export class KupTextField {
|
|
|
290
291
|
integers: this.integers,
|
|
291
292
|
isClearable: this.isClearable,
|
|
292
293
|
label: this.label,
|
|
294
|
+
labelHelper: this.labelHelper,
|
|
293
295
|
leadingLabel: this.leadingLabel,
|
|
294
296
|
lightMode: this.lightMode,
|
|
295
297
|
max: this.max,
|
|
@@ -330,7 +332,7 @@ export class KupTextField {
|
|
|
330
332
|
onMinusClick: (e) => this.onKupMinusClick(e),
|
|
331
333
|
onPlusClick: (e) => this.onKupPlusClick(e),
|
|
332
334
|
};
|
|
333
|
-
return (h(Host, { key: '
|
|
335
|
+
return (h(Host, { key: '40071a3423f0b7bc9e69dff91af306643fb7a185' }, h("style", { key: '9bcc0c7b122867bff027c2ad275932296ff7ebcf' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'c0c3353a2d4e12596a8565e4a990f35eda93f1fb', id: componentWrapperId }, h(FTextField, Object.assign({ key: '33605938b1d3bc2b8beb61b30a1a7b0b62296f50' }, props)))));
|
|
334
336
|
}
|
|
335
337
|
disconnectedCallback() {
|
|
336
338
|
this.kupManager.theme.unregister(this);
|
|
@@ -793,6 +795,27 @@ export class KupTextField {
|
|
|
793
795
|
"reflect": false,
|
|
794
796
|
"defaultValue": "null"
|
|
795
797
|
},
|
|
798
|
+
"labelHelper": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"mutable": false,
|
|
801
|
+
"complexType": {
|
|
802
|
+
"original": "string",
|
|
803
|
+
"resolved": "string",
|
|
804
|
+
"references": {}
|
|
805
|
+
},
|
|
806
|
+
"required": false,
|
|
807
|
+
"optional": false,
|
|
808
|
+
"docs": {
|
|
809
|
+
"tags": [{
|
|
810
|
+
"name": "default",
|
|
811
|
+
"text": "\"\""
|
|
812
|
+
}],
|
|
813
|
+
"text": "When set, the label will be accompanied by a helper text displayed on hover."
|
|
814
|
+
},
|
|
815
|
+
"attribute": "label-helper",
|
|
816
|
+
"reflect": false,
|
|
817
|
+
"defaultValue": "''"
|
|
818
|
+
},
|
|
796
819
|
"lightMode": {
|
|
797
820
|
"type": "boolean",
|
|
798
821
|
"mutable": false,
|
|
@@ -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: '65f19ff4be56ba56c32b8620dece6485f90439e2' }, h("style", { key: 'f62b3c946c6a7c69b9890afcc1ac7301c75af349' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b614dc8e91eed4693617300fa4aa072796465918', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
435
435
|
}
|
|
436
436
|
disconnectedCallback() {
|
|
437
437
|
this.kupManager.dates.unregister(this);
|
|
@@ -74,7 +74,7 @@ export class KupTxt {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const value = this.getValue();
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: '5f57a6c37836e641e03eebf555bee29cdc3e5bee' }, h("style", { key: '573b5bbf0370db31925a2610296a40feeb246586' }, __classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '5b980450092ef3310be8f8fa427de7ba2c9dd05c', id: componentWrapperId }, h("div", { key: '73fe2f90e040d253f3a9e73466e038cd6a7346f2', innerHTML: value }))));
|
|
78
78
|
}
|
|
79
79
|
disconnectedCallback() {
|
|
80
80
|
__classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.unregister(this);
|
|
@@ -235,7 +235,7 @@ export class KupTypography {
|
|
|
235
235
|
const classObjParent = {
|
|
236
236
|
'kup-typography--wrap': props.toolbar ? true : false,
|
|
237
237
|
};
|
|
238
|
-
return (h(Host, { key: '
|
|
238
|
+
return (h(Host, { key: 'a796fb665c5b6a0f9469cae8705d09a4055fefb8' }, h("style", { key: 'eb211372a21a52103910b3b4e431bced88a462a8' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b8e99aabf408426c5580d460ec5e6d7334742393', id: componentWrapperId, class: classObjParent, onClick: () => this.onKupClick }, h(FTypography, Object.assign({ key: '59524a232931c198d4134675d0cff1ab329e5075' }, props)), this.infoIcon && (h(FImage, Object.assign({ key: 'b2c434102df3058f07eb464c09ab513259a49974' }, infoIcon, { onClick: async (event) => {
|
|
239
239
|
event.stopPropagation();
|
|
240
240
|
const el = event.currentTarget;
|
|
241
241
|
const data = await this.infoCallBack();
|
|
@@ -246,7 +246,7 @@ export class KupTypography {
|
|
|
246
246
|
else {
|
|
247
247
|
this.kupManager.debug.logMessage(this, 'Toolbar data is empty, not opening dropdown.');
|
|
248
248
|
}
|
|
249
|
-
} }))), this.toolbar && (h(FImage, Object.assign({ key: '
|
|
249
|
+
} }))), this.toolbar && (h(FImage, Object.assign({ key: '2fd02b52d80376072e8c40deec1c393bf1b4a2cf' }, toolbarIcon, { onClick: async (event) => {
|
|
250
250
|
event.stopPropagation();
|
|
251
251
|
const el = event.currentTarget;
|
|
252
252
|
const data = await this.toolbarCallback();
|
|
@@ -160,7 +160,7 @@ export class KupTypographyList {
|
|
|
160
160
|
}
|
|
161
161
|
render() {
|
|
162
162
|
const typograhy = this.renderTypographys();
|
|
163
|
-
return (h(Host, { key: '
|
|
163
|
+
return (h(Host, { key: 'dfc7f97e2ec1b02bb6fada06eaf886ed0077f0b5' }, h("style", { key: '701a165da1e689cd5827aa4d8dfdcc7715e711f3' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '5a39d46931703da7d0a5341b4cb0d00660715050', id: componentWrapperId }, h("div", { key: 'a9c64db46bb31d4aa67140eee1f37ef02c7029c2', class: "typographies-wrapper" }, typograhy))));
|
|
164
164
|
}
|
|
165
165
|
disconnectedCallback() {
|
|
166
166
|
this.kupManager.theme.unregister(this);
|
|
@@ -202,6 +202,7 @@ const mapData = (cell, column) => {
|
|
|
202
202
|
[FCellTypes.CHECKBOX, MainCHKAdapter.bind(this)],
|
|
203
203
|
[FCellTypes.OBJECT, MainObjectAdapter.bind(this)],
|
|
204
204
|
[FCellTypes.CHIP, MainCHIAdapter.bind(this)],
|
|
205
|
+
[FCellTypes.FILE_UPLOAD, MainFUPAdapter.bind(this)],
|
|
205
206
|
]);
|
|
206
207
|
const adapter = dataAdapterMap.get(cellType);
|
|
207
208
|
return adapter ? adapter(options, fieldLabel, currentValue, cell) : null;
|
|
@@ -246,6 +247,9 @@ const MainCMBandACPAdapter = (options, fieldLabel, currentValue, cell, _id) => {
|
|
|
246
247
|
return Object.assign(Object.assign({}, configCMBandACP), cell.data);
|
|
247
248
|
}
|
|
248
249
|
};
|
|
250
|
+
export const MainFUPAdapter = (_options, _fieldLabel, currentValue, cell) => {
|
|
251
|
+
return Object.assign(Object.assign({}, cell.data), { pathString: currentValue });
|
|
252
|
+
};
|
|
249
253
|
const optionsTreeComboAdapter = (options, currentValue) => {
|
|
250
254
|
const adapter = optionsAdapterMap.get(options.type);
|
|
251
255
|
if (adapter) {
|
|
@@ -643,7 +647,7 @@ function setKupCell(cellType, classObj, subcomponentProps, cell, row, column, pr
|
|
|
643
647
|
if (isAutoCentered(props)) {
|
|
644
648
|
classObj[FCellClasses.C_CENTERED] = true;
|
|
645
649
|
}
|
|
646
|
-
const buttonProps = Object.assign({ label: cell.value, icon: cell.icon, placeholderIcon: cell.placeholderIcon }, subcomponentProps);
|
|
650
|
+
const buttonProps = Object.assign({ label: cell.value, icon: cell.icon, placeholderIcon: cell.placeholderIcon, title: column.title }, subcomponentProps);
|
|
647
651
|
return (h(FButton, Object.assign({}, buttonProps, { onClick: (e) => cellEvent(e, props, cellType, FCellEvents.CLICK) })));
|
|
648
652
|
case FCellTypes.BUTTON_LIST:
|
|
649
653
|
if (isAutoCentered(props)) {
|
|
@@ -24,5 +24,5 @@ export const FCheckbox = (props) => {
|
|
|
24
24
|
sizeY: '1.15em',
|
|
25
25
|
wrapperClass: 'kup-icon',
|
|
26
26
|
};
|
|
27
|
-
return (h("div", Object.assign({ class: `f-checkbox ${props.danger ? 'kup-danger' : ''} ${props.error ? 'checkbox--error' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }), h("div", { class: `form-field ${props.leadingLabel ? 'form-field--align-end' : ''}` }, h("div", { class: classObj }, h("input", Object.assign({ type: "checkbox", class: "checkbox__native-control", checked: props.checked, disabled: props.disabled, onBlur: props.onBlur, onChange: props.onChange, onFocus: props.onFocus }, indeterminateAttr, { value: props.checked ? 'on' : 'off' })), h("div", { class: "checkbox__background", onClick: props.onChange }, h("svg", { class: "checkbox__checkmark", viewBox: "0 0 24 24" }, h("path", { class: "checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })), h("div", { class: "checkbox__mixedmark" }))), props.label ? (h("label", { htmlFor: props.id
|
|
27
|
+
return (h("div", Object.assign({ class: `f-checkbox ${props.danger ? 'kup-danger' : ''} ${props.error ? 'checkbox--error' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }), h("div", { class: `form-field ${props.leadingLabel ? 'form-field--align-end' : ''}` }, h("div", { class: classObj }, h("input", Object.assign({ id: `${props.id}_inputEl`, type: "checkbox", class: "checkbox__native-control", checked: props.checked, disabled: props.disabled, onBlur: props.onBlur, onChange: props.onChange, onFocus: props.onFocus }, indeterminateAttr, { value: props.checked ? 'on' : 'off' })), h("div", { class: "checkbox__background", onClick: props.onChange }, h("svg", { class: "checkbox__checkmark", viewBox: "0 0 24 24" }, h("path", { class: "checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })), h("div", { class: "checkbox__mixedmark" }))), props.label ? (h("label", { htmlFor: `${props.id}_inputEl` }, props.label)) : undefined), props.error ? (h("div", { class: "checkbox__error-message" }, h(FImage, Object.assign({}, propsFImage)), props.error)) : props.alert ? (h("div", { class: "checkbox__alert-message" }, h(FImage, Object.assign({}, propsFImage)), props.alert)) : undefined));
|
|
28
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { FChipStyling, FChipType, } from "../f-chip/f-chip-declarations";
|
|
3
3
|
import { FImage } from "../f-image/f-image";
|
|
4
|
-
import { KupThemeIconValues
|
|
4
|
+
import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarations";
|
|
5
5
|
import { KupLanguageGeneric } from "../../managers/kup-language/kup-language-declarations";
|
|
6
6
|
import { ItemsDisplayMode } from "../../components/kup-list/kup-list-declarations";
|
|
7
7
|
import { getIdOfItemByDisplayMode } from "../../components/kup-list/kup-list-helper";
|
|
@@ -77,19 +77,21 @@ function createIcon(icon, color, iconClass = 'f-image__icon') {
|
|
|
77
77
|
function createImage(props) {
|
|
78
78
|
return (h("img", { class: props.placeholderResource ? HIDDEN_CLASS : '', onLoad: (e) => {
|
|
79
79
|
const img = e.currentTarget;
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
props.onLoad
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
placeholder
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
iconWrapper
|
|
92
|
-
|
|
80
|
+
if (img && img.parentElement) {
|
|
81
|
+
const placeholder = img.parentElement.querySelector('.f-image__placeholder');
|
|
82
|
+
const iconWrapper = img.parentElement.querySelector('.iconWrapper');
|
|
83
|
+
const fWrapper = img.parentElement.parentElement.querySelector('.f-image');
|
|
84
|
+
if (props.onLoad) {
|
|
85
|
+
props.onLoad(e);
|
|
86
|
+
}
|
|
87
|
+
if (placeholder) {
|
|
88
|
+
placeholder.classList.add(HIDDEN_CLASS);
|
|
89
|
+
img.classList.remove(HIDDEN_CLASS);
|
|
90
|
+
}
|
|
91
|
+
if (iconWrapper) {
|
|
92
|
+
iconWrapper.classList.add(HIDDEN_CLASS);
|
|
93
|
+
fWrapper.classList.add('noIcon');
|
|
94
|
+
}
|
|
93
95
|
}
|
|
94
96
|
}, onError: (e) => {
|
|
95
97
|
const img = e.currentTarget;
|
|
@@ -125,13 +127,14 @@ function createBar(data) {
|
|
|
125
127
|
}
|
|
126
128
|
const stepId = 'step-' + i;
|
|
127
129
|
const stepClass = 'css-step bottom-aligned';
|
|
130
|
+
const withPercentage = Number(data[i].width.replace(/%$/, '')) - leftProgression;
|
|
128
131
|
const stepStyle = {
|
|
129
132
|
backgroundColor: data[i].color,
|
|
130
133
|
left: leftProgression + '%',
|
|
131
134
|
height: data[i].height,
|
|
132
|
-
width:
|
|
135
|
+
width: withPercentage + '%',
|
|
133
136
|
};
|
|
134
|
-
leftProgression +=
|
|
137
|
+
leftProgression += withPercentage;
|
|
135
138
|
drawStep = (h("span", { id: stepId, class: stepClass, style: stepStyle }));
|
|
136
139
|
steps.push(drawStep);
|
|
137
140
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { getParsedElements } from "../../utils/label-utils";
|
|
3
3
|
import { getGCellStyle } from "../../utils/g-cell-style-generator";
|
|
4
4
|
function getVNodes(parsedElements) {
|
|
@@ -12,10 +12,7 @@ export const FLabel = ({ text, classes }) => {
|
|
|
12
12
|
const parsedElements = getParsedElements(text);
|
|
13
13
|
// To avoid creating unnecessary span in the text
|
|
14
14
|
// when there are no tags to format the content
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
else {
|
|
19
|
-
return h(Fragment, null, text);
|
|
20
|
-
}
|
|
15
|
+
return (h("span", { class: classes }, parsedElements.find((p) => p.tag !== undefined)
|
|
16
|
+
? getVNodes(parsedElements)
|
|
17
|
+
: text));
|
|
21
18
|
};
|