@sme.up/ketchup 10.1.1 → 10.2.0
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-c3ae141e.js → f-button-bfafefb3.js} +3 -3
- package/dist/cjs/{f-cell-66dc3984.js → f-cell-3ed4ad9e.js} +376 -168
- package/dist/cjs/{f-checkbox-59fb7aa5.js → f-checkbox-aaa6d45c.js} +3 -2
- package/dist/cjs/{f-chip-90155c76.js → f-chip-b936dcaf.js} +146 -10
- package/dist/cjs/{f-image-d22b012f.js → f-image-db10b066.js} +1 -1
- package/dist/cjs/{f-object-field-902b9d05.js → f-object-field-348fa103.js} +13 -6
- package/dist/cjs/{f-paginator-utils-7df7d997.js → f-paginator-utils-f951cc54.js} +3 -3
- package/dist/cjs/{f-text-field-80716a60.js → f-text-field-e41f653a.js} +15 -15
- package/dist/cjs/{f-typography-271f5037.js → f-typography-85d8238a.js} +1 -1
- package/dist/cjs/{index-e8aa3c73.js → index-c7d441d8.js} +8 -3
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +43 -23
- package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_29.cjs.entry.js} +2306 -1440
- package/dist/cjs/kup-box.cjs.entry.js +60 -59
- package/dist/cjs/kup-calendar.cjs.entry.js +12 -11
- package/dist/cjs/kup-card-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-cell.cjs.entry.js +17 -12
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +12 -12
- package/dist/cjs/kup-dashboard.cjs.entry.js +7 -7
- package/dist/cjs/{kup-data-table-helper-02d1e529.js → kup-data-table-helper-adaa11bb.js} +28 -23
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +46 -14
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +5 -5
- package/dist/cjs/kup-gantt_10.cjs.entry.js +33 -33
- package/dist/cjs/kup-grid.cjs.entry.js +3 -3
- package/dist/cjs/kup-htm.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +25 -21
- package/dist/cjs/kup-input-panel.cjs.entry.js +102 -73
- package/dist/cjs/kup-lazy.cjs.entry.js +14 -14
- package/dist/cjs/kup-magic-box.cjs.entry.js +7 -7
- package/dist/cjs/{kup-manager-d67049ad.js → kup-manager-39bc2be8.js} +393 -238
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-object-field.cjs.entry.js +7 -7
- package/dist/cjs/kup-pdf.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +6 -6
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +4 -4
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/kup-txt.cjs.entry.js +4 -4
- package/dist/cjs/kup-typography-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-typography.cjs.entry.js +115 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/kup-accordion/kup-accordion.css +3 -3
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline-declarations.js +1 -1
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.css +3 -3
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.js +37 -17
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +3 -3
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +49 -13
- package/dist/collection/components/kup-badge/kup-badge.css +3 -3
- package/dist/collection/components/kup-box/kup-box.css +3 -3
- package/dist/collection/components/kup-box/kup-box.js +48 -47
- package/dist/collection/components/kup-button/kup-button.css +3 -3
- package/dist/collection/components/kup-button-list/kup-button-list.css +3 -3
- package/dist/collection/components/kup-button-list/kup-button-list.js +23 -3
- package/dist/collection/components/kup-calendar/kup-calendar.css +4 -4
- package/dist/collection/components/kup-calendar/kup-calendar.js +6 -5
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +5 -1
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +78 -1
- package/dist/collection/components/kup-card/kup-card.css +221 -20
- package/dist/collection/components/kup-card/kup-card.js +5 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +2 -2
- package/dist/collection/components/kup-card-list/kup-card-list.css +3 -3
- package/dist/collection/components/kup-cell/kup-cell.css +3 -3
- package/dist/collection/components/kup-cell/kup-cell.js +28 -3
- package/dist/collection/components/kup-chart/kup-chart.css +3 -3
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +3 -3
- package/dist/collection/components/kup-chip/kup-chip.css +21 -7
- package/dist/collection/components/kup-chip/kup-chip.js +104 -33
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +3 -3
- package/dist/collection/components/kup-combobox/kup-combobox.css +3 -3
- package/dist/collection/components/kup-combobox/kup-combobox.js +30 -4
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +3 -3
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +13 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +6 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +55 -34
- package/dist/collection/components/kup-data-table/kup-data-table.js +706 -231
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +3 -3
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +8 -1
- package/dist/collection/components/kup-dialog/kup-dialog-declarations.js +3 -0
- package/dist/collection/components/kup-dialog/kup-dialog.css +31 -6
- package/dist/collection/components/kup-dialog/kup-dialog.js +169 -11
- package/dist/collection/components/kup-drawer/kup-drawer.css +3 -3
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +3 -3
- package/dist/collection/components/kup-echart/kup-echart.css +3 -3
- package/dist/collection/components/kup-echart/kup-echart.js +106 -11
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +15 -12
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +5 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +203 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +424 -0
- package/dist/collection/components/kup-form/kup-form.css +3 -3
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-gauge/kup-gauge.css +3 -3
- package/dist/collection/components/kup-grid/kup-grid.css +3 -3
- package/dist/collection/components/kup-htm/kup-htm.css +3 -3
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-iframe/kup-iframe.css +3 -3
- package/dist/collection/components/kup-image/assets/svg/circle.svg +3 -0
- package/dist/collection/components/kup-image/assets/svg/up.svg +43 -0
- package/dist/collection/components/kup-image/kup-image.css +3 -3
- package/dist/collection/components/kup-image-list/kup-image-list.css +6 -6
- package/dist/collection/components/kup-image-list/kup-image-list.js +15 -11
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +13 -4
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +12 -5
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +89 -59
- package/dist/collection/components/kup-lazy/kup-lazy.css +3 -3
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.css +3 -3
- package/dist/collection/components/kup-list/kup-list.js +56 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +3 -3
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.css +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.css +3 -3
- 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.css +3 -3
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.css +3 -3
- 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-header.module.css +3 -3
- package/dist/collection/components/kup-planner/utils/gantt-table.module.css +6 -6
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +3 -3
- 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.css +4 -4
- 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.css +3 -3
- 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.css +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.css +3 -3
- 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 +3 -3
- 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.css +3 -3
- 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.css +3 -3
- 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.css +3 -3
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.css +3 -3
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.css +3 -3
- package/dist/collection/components/kup-rating/kup-rating.css +3 -3
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -4
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.css +3 -3
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.css +3 -3
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +9 -7
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +182 -20
- package/dist/collection/components/kup-text-field/kup-text-field.css +3 -3
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +3 -3
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -1
- package/dist/collection/components/kup-toolbar/kup-toolbar.css +9 -12
- package/dist/collection/components/kup-tree/kup-tree.css +24 -13
- package/dist/collection/components/kup-tree/kup-tree.js +93 -45
- package/dist/collection/components/kup-txt/kup-txt.css +3 -3
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.css +3 -3
- package/dist/collection/components/kup-typography/kup-typography.js +198 -28
- package/dist/collection/components/kup-typography-list/kup-typography-list.css +3 -3
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-button/f-button.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +6 -1
- package/dist/collection/f-components/f-cell/f-cell.js +80 -52
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +12 -7
- package/dist/collection/f-components/f-label/f-label-declarations.js +1 -0
- package/dist/collection/f-components/f-label/f-label.js +21 -0
- package/dist/collection/f-components/f-object-field/f-object-field.js +6 -1
- package/dist/collection/f-components/f-radio/f-radio.js +17 -6
- package/dist/collection/f-components/f-text-field/f-text-field.js +12 -12
- package/dist/collection/managers/kup-data/kup-data.js +4 -0
- package/dist/collection/managers/kup-interact/kup-interact.js +43 -22
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding.js +2 -2
- package/dist/collection/managers/kup-language/kup-language-declarations.js +10 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +8 -1
- package/dist/collection/managers/kup-perf-monitoring/kup-perf-monitoring.js +55 -0
- package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning-declarations.js +5 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +3 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +7 -3
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/cell-utils.js +22 -8
- package/dist/collection/utils/filters/filters-column-menu.js +2 -1
- package/dist/collection/utils/filters/filters-rows.js +19 -18
- package/dist/collection/utils/filters/filters-tree-items.js +11 -11
- package/dist/collection/utils/filters/filters.js +12 -5
- package/dist/collection/utils/g-cell-style-generator.js +188 -0
- package/dist/collection/utils/label-utils.js +58 -0
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/kup-accordion.js +23 -18
- package/dist/components/kup-activity-timeline.js +61 -36
- 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 +29 -23
- package/dist/components/kup-card-list.js +24 -19
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +30 -20
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +23 -18
- 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 +23 -18
- 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 +25 -20
- package/dist/components/kup-file-upload.d.ts +11 -0
- package/dist/components/kup-file-upload.js +6 -0
- 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 +24 -19
- package/dist/components/kup-iframe.js +23 -18
- package/dist/components/kup-image-list.js +38 -29
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +117 -83
- package/dist/components/kup-lazy.js +34 -29
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +30 -25
- package/dist/components/kup-nav-bar.js +24 -19
- package/dist/components/kup-numeric-picker.js +24 -19
- package/dist/components/kup-object-field.js +23 -18
- package/dist/components/kup-pdf.js +24 -19
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +41 -36
- package/dist/components/kup-probe.js +23 -18
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +24 -19
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +24 -19
- 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 +24 -19
- package/dist/components/kup-typography-list.js +24 -19
- package/dist/components/kup-typography.js +136 -29
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-c43d08ab.js → p-0e85ab66.js} +5 -5
- package/dist/components/{p-8b050302.js → p-3438f15f.js} +71 -65
- package/dist/components/p-3b4cdace.js +56 -0
- package/dist/components/p-55542b47.js +38 -0
- package/dist/components/{p-0e6c0355.js → p-67ba8cd7.js} +2 -2
- package/dist/components/{p-5517e8e8.js → p-6992b96f.js} +5 -5
- package/dist/components/{p-ea6e4e37.js → p-6bfda249.js} +3 -3
- package/dist/components/{p-0c219ec5.js → p-7d0f1f90.js} +2888 -1340
- package/dist/components/{p-709a51cf.js → p-8472facf.js} +4 -4
- package/dist/components/p-97053b4d.js +45 -0
- package/dist/components/{p-72305403.js → p-a0258e6f.js} +69 -29
- package/dist/components/{p-ab7c8404.js → p-b304b91c.js} +391 -238
- package/dist/components/{p-7b052cb9.js → p-b80494d7.js} +23 -18
- package/dist/components/{p-53e38c4a.js → p-bd3047ee.js} +3 -3
- package/dist/components/{p-4efa19a7.js → p-c325da75.js} +5 -5
- package/dist/components/p-c7c7f760.js +49 -0
- package/dist/components/{p-9da8cd93.js → p-d0e33e04.js} +16 -16
- package/dist/components/{p-c62695d4.js → p-d7136d08.js} +4 -4
- package/dist/components/{p-2fff7268.js → p-de04aef6.js} +17 -17
- package/dist/components/{p-05429a55.js → p-eb8a2811.js} +22 -17
- package/dist/components/{p-2e5f2e07.js → p-ef8cbd35.js} +6 -1
- package/dist/components/{p-e677dddf.js → p-f2e153e3.js} +7 -7
- package/dist/esm/{f-button-f1040575.js → f-button-3c8f4506.js} +3 -3
- package/dist/esm/{f-cell-50d54fdf.js → f-cell-6576e009.js} +376 -168
- package/dist/esm/{f-checkbox-3ba20ca4.js → f-checkbox-5cdd1cad.js} +3 -2
- package/dist/esm/{f-chip-c31b2c02.js → f-chip-bb62428a.js} +145 -11
- package/dist/esm/{f-image-9b15e9ac.js → f-image-a2ecd7c3.js} +1 -1
- package/dist/esm/{f-object-field-80e6eb02.js → f-object-field-b87b6ae6.js} +13 -6
- package/dist/esm/{f-paginator-utils-a835dde6.js → f-paginator-utils-04903d74.js} +3 -3
- package/dist/esm/{f-text-field-6b05bfbc.js → f-text-field-9be88e51.js} +15 -15
- package/dist/esm/{f-typography-65229068.js → f-typography-8c914ec6.js} +1 -1
- package/dist/esm/{index-c9246a86.js → index-9b0f4a0d.js} +8 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-activity-timeline.entry.js +43 -23
- package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_29.entry.js} +2302 -1437
- package/dist/esm/kup-box.entry.js +60 -59
- package/dist/esm/kup-calendar.entry.js +12 -11
- package/dist/esm/kup-card-list.entry.js +3 -3
- package/dist/esm/kup-cell.entry.js +17 -12
- package/dist/esm/kup-custom-task-list-header_4.entry.js +12 -12
- package/dist/esm/kup-dashboard.entry.js +7 -7
- package/dist/esm/{kup-data-table-helper-1b2c70b8.js → kup-data-table-helper-13eb7abf.js} +28 -23
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +46 -14
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +5 -5
- package/dist/esm/kup-gantt_10.entry.js +33 -33
- package/dist/esm/kup-grid.entry.js +3 -3
- package/dist/esm/kup-htm.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +25 -21
- package/dist/esm/kup-input-panel.entry.js +102 -73
- package/dist/esm/kup-lazy.entry.js +14 -14
- package/dist/esm/kup-magic-box.entry.js +7 -7
- package/dist/esm/{kup-manager-5fbf0037.js → kup-manager-6aa0a1c7.js} +392 -239
- package/dist/esm/kup-nav-bar.entry.js +4 -4
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-object-field.entry.js +7 -7
- package/dist/esm/kup-pdf.entry.js +4 -4
- package/dist/esm/kup-planner-renderer.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +6 -6
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +4 -4
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/kup-txt.entry.js +4 -4
- package/dist/esm/kup-typography-list.entry.js +5 -5
- package/dist/esm/kup-typography.entry.js +115 -15
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/assets/svg/circle.svg +3 -0
- package/dist/ketchup/assets/svg/up.svg +43 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-07f50333.entry.js +1 -0
- package/dist/ketchup/p-0b1e0b48.js +1 -0
- package/dist/ketchup/p-0de49966.entry.js +1 -0
- package/dist/ketchup/{p-4608b0e6.entry.js → p-100b8ae7.entry.js} +1 -1
- package/dist/ketchup/{p-5635bfbf.entry.js → p-15f192f0.entry.js} +1 -1
- package/dist/ketchup/p-267d1898.js +1 -0
- package/dist/ketchup/p-2d84c26e.entry.js +1 -0
- package/dist/ketchup/p-3cab6420.js +1 -0
- package/dist/ketchup/p-3dbafa20.entry.js +9 -0
- package/dist/ketchup/p-3e42953b.entry.js +1 -0
- package/dist/ketchup/p-42a1f9ec.entry.js +1 -0
- package/dist/ketchup/p-4677cfd1.entry.js +1 -0
- package/dist/ketchup/{p-82badc23.entry.js → p-4ffc1a88.entry.js} +1 -1
- package/dist/ketchup/p-55b0991f.entry.js +1 -0
- package/dist/ketchup/p-58002a23.entry.js +1 -0
- package/dist/ketchup/p-5d9f2d24.entry.js +1 -0
- package/dist/ketchup/p-65b23870.entry.js +1 -0
- package/dist/ketchup/p-6b529a6f.entry.js +16 -0
- package/dist/ketchup/{p-b1a73691.entry.js → p-6d628b49.entry.js} +1 -1
- package/dist/ketchup/p-6fc1bb18.entry.js +1 -0
- package/dist/ketchup/{p-b0368f88.js → p-710d0a7d.js} +1 -1
- package/dist/ketchup/p-838d8e97.js +1 -0
- package/dist/ketchup/{p-e736bf6f.js → p-8be42f5c.js} +1 -1
- package/dist/ketchup/p-92431583.entry.js +1 -0
- package/dist/ketchup/{p-e8823224.entry.js → p-9b907768.entry.js} +1 -1
- package/dist/ketchup/p-9bc02da6.entry.js +1 -0
- package/dist/ketchup/p-9edd90c2.entry.js +1 -0
- package/dist/ketchup/p-9f9428d1.js +1 -0
- package/dist/ketchup/p-a4b6d6c5.js +1 -0
- package/dist/ketchup/p-a597a851.entry.js +1 -0
- package/dist/ketchup/p-b365f2f2.entry.js +1 -0
- package/dist/ketchup/{p-b16c12ab.entry.js → p-c2ccbaca.entry.js} +1 -1
- package/dist/ketchup/p-c4224227.js +1 -0
- package/dist/ketchup/{p-60cfddce.js → p-cec0955d.js} +1 -1
- package/dist/ketchup/p-d0554d1f.entry.js +1 -0
- package/dist/ketchup/p-d084b2d4.entry.js +1 -0
- package/dist/ketchup/{p-1374d2f7.entry.js → p-d8dbf3df.entry.js} +1 -1
- package/dist/ketchup/{p-a19d0102.entry.js → p-da44226a.entry.js} +1 -1
- package/dist/ketchup/p-e104cfb7.js +1 -0
- package/dist/ketchup/p-e4fa2cf3.js +21 -0
- package/dist/ketchup/{p-268af1b3.entry.js → p-e6afa8a6.entry.js} +4 -4
- package/dist/ketchup/{p-54ebe3bd.entry.js → p-f87b7768.entry.js} +1 -1
- package/dist/ketchup/{p-1aa03e7f.entry.js → p-f8a027a1.entry.js} +2 -2
- package/dist/ketchup/{p-34f29123.entry.js → p-fb775526.entry.js} +1 -1
- package/dist/ketchup/{p-a9fa88cc.entry.js → p-fdcb43a2.entry.js} +1 -1
- package/dist/types/components/kup-activity-timeline/kup-activity-timeline-declarations.d.ts +2 -2
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -0
- package/dist/types/components/kup-button-list/kup-button-list.d.ts +4 -0
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +3 -0
- package/dist/types/components/kup-chip/kup-chip.d.ts +16 -5
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +8 -2
- 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-state.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +36 -1
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +1 -0
- package/dist/types/components/kup-dialog/kup-dialog-declarations.d.ts +3 -0
- package/dist/types/components/kup-dialog/kup-dialog.d.ts +16 -0
- package/dist/types/components/kup-echart/kup-echart.d.ts +15 -0
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +8 -0
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +62 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +5 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +3 -3
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components/kup-list/kup-list.d.ts +4 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +27 -6
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +1 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +2 -0
- package/dist/types/components/kup-typography/kup-typography.d.ts +30 -5
- package/dist/types/components.d.ts +286 -26
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +7 -3
- package/dist/types/f-components/f-checkbox/f-checkbox-declarations.d.ts +2 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -1
- package/dist/types/f-components/f-label/f-label-declarations.d.ts +15 -0
- package/dist/types/f-components/f-label/f-label.d.ts +3 -0
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +20 -1
- package/dist/types/managers/kup-interact/kup-interact.d.ts +7 -3
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +11 -2
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +2 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +2 -0
- package/dist/types/managers/kup-perf-monitoring/kup-perf-monitoring.d.ts +7 -0
- package/dist/types/managers/kup-perf-tuning/kup-perf-tuning-declarations.d.ts +6 -0
- package/dist/types/types/GenericTypes.d.ts +2 -1
- package/dist/types/utils/cell-utils.d.ts +4 -6
- package/dist/types/utils/filters/filters-rows.d.ts +5 -5
- package/dist/types/utils/filters/filters-tree-items.d.ts +1 -1
- package/dist/types/utils/filters/filters.d.ts +2 -2
- package/dist/types/utils/g-cell-style-generator.d.ts +2 -0
- package/dist/types/utils/label-utils.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-01015d54.js +0 -38
- package/dist/components/p-304eab56.js +0 -49
- package/dist/components/p-76c4c708.js +0 -56
- package/dist/components/p-aec44f8f.js +0 -45
- package/dist/ketchup/p-05aea063.entry.js +0 -1
- package/dist/ketchup/p-08691abd.entry.js +0 -1
- package/dist/ketchup/p-17279bd4.entry.js +0 -1
- package/dist/ketchup/p-1e53c21d.entry.js +0 -1
- package/dist/ketchup/p-27e9313b.entry.js +0 -1
- package/dist/ketchup/p-487909b5.entry.js +0 -1
- package/dist/ketchup/p-792e9244.entry.js +0 -1
- package/dist/ketchup/p-7966fa12.entry.js +0 -1
- package/dist/ketchup/p-7b5a2535.entry.js +0 -9
- package/dist/ketchup/p-7fc0ee16.entry.js +0 -1
- package/dist/ketchup/p-816de1ef.js +0 -1
- package/dist/ketchup/p-84ca2ebd.entry.js +0 -1
- package/dist/ketchup/p-8b97f53e.js +0 -1
- package/dist/ketchup/p-90a0de6c.js +0 -21
- package/dist/ketchup/p-9106b93f.js +0 -1
- package/dist/ketchup/p-9278528b.entry.js +0 -1
- package/dist/ketchup/p-a6cf4320.js +0 -1
- package/dist/ketchup/p-ab911e2d.js +0 -1
- package/dist/ketchup/p-b120abd7.js +0 -1
- package/dist/ketchup/p-b2ab5bdc.entry.js +0 -1
- package/dist/ketchup/p-bdbcb755.entry.js +0 -1
- package/dist/ketchup/p-cf2bf043.entry.js +0 -1
- package/dist/ketchup/p-d08d30c0.entry.js +0 -1
- package/dist/ketchup/p-d39c3267.js +0 -1
- package/dist/ketchup/p-e0fec6c7.entry.js +0 -1
- package/dist/ketchup/p-ee85055c.js +0 -1
- package/dist/ketchup/p-f38c2d0e.entry.js +0 -16
- package/dist/ketchup/p-f705d641.entry.js +0 -1
- package/dist/ketchup/p-febf0250.entry.js +0 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
const fixedStyle = {
|
|
2
|
+
'*BOLD': 'font-weight: bold; !important;',
|
|
3
|
+
'*ERROR': 'color: white !important; background: red !important;',
|
|
4
|
+
'*UNDERLINE': 'text-decoration: underline !important;',
|
|
5
|
+
'*ITALIC': 'font-style: italic !important;',
|
|
6
|
+
};
|
|
7
|
+
export function getGCellStyle(gCellId) {
|
|
8
|
+
const style = getGCellStyleAsString(gCellId);
|
|
9
|
+
const styleObj = style
|
|
10
|
+
.split(';')
|
|
11
|
+
.filter((s) => s.trim())
|
|
12
|
+
.reduce((acc, rule) => {
|
|
13
|
+
const [key, value] = rule.split(':').map((s) => s.trim());
|
|
14
|
+
if (key && value) {
|
|
15
|
+
const cleanValue = value.replace(/!important/g, '').trim();
|
|
16
|
+
const camelCaseKey = key.replace(/-([a-z])/g, (_, char) => char.toUpperCase());
|
|
17
|
+
acc[camelCaseKey] = cleanValue;
|
|
18
|
+
}
|
|
19
|
+
return acc;
|
|
20
|
+
}, {});
|
|
21
|
+
return styleObj;
|
|
22
|
+
}
|
|
23
|
+
export function getGCellStyleAsString(gCellId) {
|
|
24
|
+
const regexp = /\d{2}[A-Z0-9]\d{2}|\*(BOLD|ERROR|ITALIC|UNDERLINE)/;
|
|
25
|
+
let result = '';
|
|
26
|
+
if (gCellId === null || gCellId === void 0 ? void 0 : gCellId.match(regexp)) {
|
|
27
|
+
result = fixedStyle[gCellId];
|
|
28
|
+
if (!result) {
|
|
29
|
+
result = '';
|
|
30
|
+
for (let i = 0; i < gCellId.length; i++) {
|
|
31
|
+
switch (i) {
|
|
32
|
+
case 0:
|
|
33
|
+
// font color
|
|
34
|
+
result += getFontColorCss(gCellId.charAt(i));
|
|
35
|
+
break;
|
|
36
|
+
case 1:
|
|
37
|
+
// font decoration
|
|
38
|
+
result += getFontDecorationCss(gCellId.charAt(i));
|
|
39
|
+
break;
|
|
40
|
+
case 2:
|
|
41
|
+
// background color
|
|
42
|
+
result += getBackgroundColorCss(gCellId.charAt(i));
|
|
43
|
+
break;
|
|
44
|
+
case 3:
|
|
45
|
+
// font family
|
|
46
|
+
result += getFontCss(gCellId.charAt(i));
|
|
47
|
+
break;
|
|
48
|
+
default:
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return result;
|
|
55
|
+
}
|
|
56
|
+
function getFontColorCss(c) {
|
|
57
|
+
let result;
|
|
58
|
+
switch (c) {
|
|
59
|
+
case '0':
|
|
60
|
+
result = 'color: #000000 !important;'; // black
|
|
61
|
+
break;
|
|
62
|
+
case '1':
|
|
63
|
+
result = 'color: #6C7A89 !important;'; // gray
|
|
64
|
+
break;
|
|
65
|
+
case '2':
|
|
66
|
+
result = 'color: #3A539B !important;'; // blue
|
|
67
|
+
break;
|
|
68
|
+
case '3':
|
|
69
|
+
result = 'color: var(--kup-danger-color-60) !important;'; // red
|
|
70
|
+
break;
|
|
71
|
+
case '4':
|
|
72
|
+
result = 'color: #C0C0C0 !important;'; // dark grey
|
|
73
|
+
break;
|
|
74
|
+
case '5':
|
|
75
|
+
result = 'color: #FFFFFF !important;'; // white
|
|
76
|
+
break;
|
|
77
|
+
case '6':
|
|
78
|
+
result = 'color: var(--kup-success-color-60) !important;'; // green
|
|
79
|
+
break;
|
|
80
|
+
case '7':
|
|
81
|
+
result = 'color: #9B59B6 !important;'; // purple
|
|
82
|
+
break;
|
|
83
|
+
default:
|
|
84
|
+
result = '';
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
return result;
|
|
88
|
+
}
|
|
89
|
+
function getFontDecorationCss(c) {
|
|
90
|
+
let ris;
|
|
91
|
+
switch (c) {
|
|
92
|
+
case '1':
|
|
93
|
+
ris = 'font-weight: bold !important;';
|
|
94
|
+
break;
|
|
95
|
+
case '2':
|
|
96
|
+
ris = 'font-style: italic !important;';
|
|
97
|
+
break;
|
|
98
|
+
case '3':
|
|
99
|
+
ris = 'text-decoration: underline !important;';
|
|
100
|
+
break;
|
|
101
|
+
default:
|
|
102
|
+
ris = '';
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
return ris;
|
|
106
|
+
}
|
|
107
|
+
function getBackgroundColorCss(c) {
|
|
108
|
+
let ris;
|
|
109
|
+
switch (c) {
|
|
110
|
+
case '0':
|
|
111
|
+
ris = `background: transparent;`;
|
|
112
|
+
break;
|
|
113
|
+
case '1':
|
|
114
|
+
ris = `background: #D5ECF7;`;
|
|
115
|
+
break;
|
|
116
|
+
case '2':
|
|
117
|
+
ris = `background: #59ABE3;`;
|
|
118
|
+
break;
|
|
119
|
+
case '3':
|
|
120
|
+
ris = `background: #446CB3;`;
|
|
121
|
+
break;
|
|
122
|
+
case '4':
|
|
123
|
+
ris = `background: #9B59B6;`;
|
|
124
|
+
break;
|
|
125
|
+
case '5':
|
|
126
|
+
ris = `background: #F1A9A0;`;
|
|
127
|
+
break;
|
|
128
|
+
case '6':
|
|
129
|
+
ris = `background: #E74C3C;`;
|
|
130
|
+
break;
|
|
131
|
+
case '7':
|
|
132
|
+
ris = `background: #CF000F;`;
|
|
133
|
+
break;
|
|
134
|
+
case '8':
|
|
135
|
+
ris = `background: #C0392B;`;
|
|
136
|
+
break;
|
|
137
|
+
case '9':
|
|
138
|
+
ris = `background: #95A5A6;`;
|
|
139
|
+
break;
|
|
140
|
+
case 'A':
|
|
141
|
+
ris = `background: #F5D76E;`;
|
|
142
|
+
break;
|
|
143
|
+
case 'B':
|
|
144
|
+
ris = `background: #F7CA18;`;
|
|
145
|
+
break;
|
|
146
|
+
case 'C':
|
|
147
|
+
ris = `background: #F7CA18;`;
|
|
148
|
+
break;
|
|
149
|
+
case 'D':
|
|
150
|
+
ris = `background: #F39C12;`;
|
|
151
|
+
break;
|
|
152
|
+
case 'E':
|
|
153
|
+
ris = `background: #90C695;`;
|
|
154
|
+
break;
|
|
155
|
+
case 'F':
|
|
156
|
+
ris = `background: #26A65B;`;
|
|
157
|
+
break;
|
|
158
|
+
case 'G':
|
|
159
|
+
ris = `background: #019875;`;
|
|
160
|
+
break;
|
|
161
|
+
case 'H':
|
|
162
|
+
ris = `background: #36D7B7;`;
|
|
163
|
+
break;
|
|
164
|
+
default:
|
|
165
|
+
ris = '';
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
return ris;
|
|
169
|
+
}
|
|
170
|
+
function getFontCss(c) {
|
|
171
|
+
let ris;
|
|
172
|
+
switch (c) {
|
|
173
|
+
case '1':
|
|
174
|
+
ris = 'font-family: "Courier New", Courier, monospace !important;';
|
|
175
|
+
break;
|
|
176
|
+
case '2':
|
|
177
|
+
ris =
|
|
178
|
+
'font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif !important;';
|
|
179
|
+
break;
|
|
180
|
+
case '3':
|
|
181
|
+
ris = 'font-family: Arial, Helvetica, sans-serif !important;';
|
|
182
|
+
break;
|
|
183
|
+
default:
|
|
184
|
+
ris = '';
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
return ris;
|
|
188
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
function parse(input, listener) {
|
|
2
|
+
const regex = /((_G\d{2}[A-Z0-9]\d{2}_|_G\*(BOLD|ERROR|ITALIC|UNDERLINE)_)|_n_)/g;
|
|
3
|
+
let lastIndex = 0;
|
|
4
|
+
let match;
|
|
5
|
+
while ((match = regex.exec(input)) !== null) {
|
|
6
|
+
// Capture text before the match
|
|
7
|
+
if (match.index > lastIndex) {
|
|
8
|
+
listener.onContent(input.slice(lastIndex, match.index));
|
|
9
|
+
}
|
|
10
|
+
if (match[1] === '_n_') {
|
|
11
|
+
listener.onEndTag(match[1]);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
listener.onStartTag(match[2]);
|
|
15
|
+
}
|
|
16
|
+
lastIndex = regex.lastIndex;
|
|
17
|
+
}
|
|
18
|
+
// Capture remaining content
|
|
19
|
+
if (lastIndex < input.length) {
|
|
20
|
+
listener.onContent(input.slice(lastIndex));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export function getParsedElements(input) {
|
|
24
|
+
const elements = [];
|
|
25
|
+
let lastElement = null;
|
|
26
|
+
parse(input, {
|
|
27
|
+
onStartTag(tag) {
|
|
28
|
+
if (lastElement === null || lastElement === void 0 ? void 0 : lastElement.tag) {
|
|
29
|
+
lastElement.closed = true;
|
|
30
|
+
}
|
|
31
|
+
elements.push((lastElement = { tag: tag, content: '' }));
|
|
32
|
+
},
|
|
33
|
+
onEndTag(tag) {
|
|
34
|
+
if (!lastElement) {
|
|
35
|
+
elements.push((lastElement = { content: tag }));
|
|
36
|
+
}
|
|
37
|
+
else if (lastElement.tag) {
|
|
38
|
+
lastElement.closed = true;
|
|
39
|
+
lastElement = null;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
this.onContent(tag);
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
onContent(content) {
|
|
46
|
+
if (!lastElement) {
|
|
47
|
+
elements.push((lastElement = { content: content }));
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
lastElement.content += content;
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
});
|
|
54
|
+
if (lastElement && lastElement.tag) {
|
|
55
|
+
lastElement.closed = true;
|
|
56
|
+
}
|
|
57
|
+
return elements;
|
|
58
|
+
}
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
2
|
-
import { K as KupManager } from './p-
|
|
1
|
+
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ef8cbd35.js';
|
|
2
|
+
import { K as KupManager } from './p-b304b91c.js';
|
|
3
3
|
|
|
4
4
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
5
5
|
function newKupManager(init) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-
|
|
3
|
-
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-b304b91c.js';
|
|
3
|
+
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u } from './p-7d0f1f90.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-accordion component.
|
|
@@ -13,7 +13,7 @@ var KupAccordionProps;
|
|
|
13
13
|
KupAccordionProps["ripple"] = "When enabled displays Material's ripple effect on item headers.";
|
|
14
14
|
})(KupAccordionProps || (KupAccordionProps = {}));
|
|
15
15
|
|
|
16
|
-
const kupAccordionCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_accordion_border_top_color:var(\n --kup-accordion-border-top-color,\n var(--kup-border-subtle)\n );--kup_accordion_item_small_height:var(\n --kup-accordion-item-small-height,\n 32px\n );--kup_accordion_item_medium_height:var(\n --kup-accordion-item-medium-height,\n 40px\n );--kup_accordion_item_outline_color_active:var(\n --kup-accordion-item-outline-color-focus,\n var(--kup-border-interactive)\n );--kup_accordion_item_large_height:var(\n --kup-accordion-item-medium-height,\n 48px\n );--kup_accordion_header_background_color:var(\n --kup-accordion-header-background-color,\n var(--kup-layer-0)\n );--kup_accordion_header_background_color_hover:var(\n --kup-accordion-header-background-color-hover,\n var(--kup-layer-0-hover)\n );--kup_accordion_header_padding:var(\n --kup-accordion-header-padding,\n var(--kup-space-05)\n );--kup_accordion_dropdown_icon_color:var(\n --kup-accordio-dropdown-icon-color,\n var(--kup-text-primary)\n );--kup_accordion_transition:var(--kup-accordion-transition, 80ms);display:block;font-family:var(--kup_accordion_font_family);font-size:var(--kup_accordion_font_size)}.accordion{border-radius:var(--kup_accordion_border_radius);display:flex;flex-wrap:wrap;flex-direction:column;width:100%}.accordion-item{border-top:1px solid var(--kup_accordion_border_top_color);box-sizing:border-box;width:100%}.accordion-item--visible{display:block}.accordion-item:is(:last-of-type){border-bottom:1px solid var(--kup_accordion_border_top_color)}.accordion-item__header{height:var(--kup_accordion_item_medium_height);align-items:center;border:none;box-sizing:border-box;color:var(--kup_accordion_text_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;padding:var(--kup_accordion_padding);text-align:left;transition:background-color var(--kup_accordion_transition), color var(--kup_accordion_transition);width:100%;outline:2px solid transparent;outline-offset:-2px;padding-left:16px;padding-right:16px}.accordion-item__header:focus{outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header.accordion-item--small{height:var(--kup_accordion_item_small_height)}.accordion-item__header.accordion-item--large{height:var(--kup_accordion_item_large_height)}.accordion-item__header:hover:not(.accordion-item__header--selected){background-color:var(--kup_accordion_header_background_color_hover)}.accordion-item__header:focus(.accordion-item__header--selected){outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header--expanded{background-color:var(--kup_accordion_background_color)}.accordion-item__header--expanded .accordion-item__dropdown{transform:rotate(-180deg)}.accordion-item__text{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}.accordion-item__text--highlighted{color:var(--kup_accordion_text_on_primary_color);background-color:var(--kup_accordion_primary_color)}.accordion-item__icon{margin-left:0;margin-right:0.5em}.accordion-item__dropdown{background-color:var(--kup_accordion_dropdown_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform var(--kup_accordion_transition)}.accordion-item__content{padding-left:16px;padding-top:8px;padding-bottom:24px;padding-right:80px;animation:fade-in 0.25s ease-out;display:none;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.accordion-item__content--selected{display:block}.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_accordion_primary_color)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}:host(.kup-borderless){--kup-accordion-border:none}:host(.kup-full-height){height:100%}:host(.kup-full-width){width:100%}:host(.kup-danger){--kup-accordion-primary-color:var(--kup-danger-color-60);--kup-accordion-primary-color-rgb:var(--kup-danger-color-60-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-info){--kup-accordion-primary-color:var(--kup-info-50-color);--kup-accordion-primary-color-rgb:var(--kup-info-color-50-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-secondary){--kup-accordion-primary-color:var(--kup-secondary-color);--kup-accordion-primary-color-rgb:var(--kup-secondary-color-rgb);--kup-accordion-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-accordion-primary-color:var(--kup-success-color-40);--kup-accordion-primary-color-rgb:var(--kup-success-color-40-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-warning){--kup-accordion-primary-color:var(--kup-warning-color-50);--kup-accordion-primary-color-rgb:var(--kup-warning-color-50-rgb);--kup-accordion-text-on-primary-color:white}";
|
|
16
|
+
const kupAccordionCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_accordion_border_top_color:var(\n --kup-accordion-border-top-color,\n var(--kup-border-subtle)\n );--kup_accordion_item_small_height:var(\n --kup-accordion-item-small-height,\n 32px\n );--kup_accordion_item_medium_height:var(\n --kup-accordion-item-medium-height,\n 40px\n );--kup_accordion_item_outline_color_active:var(\n --kup-accordion-item-outline-color-focus,\n var(--kup-border-interactive)\n );--kup_accordion_item_large_height:var(\n --kup-accordion-item-medium-height,\n 48px\n );--kup_accordion_header_background_color:var(\n --kup-accordion-header-background-color,\n var(--kup-layer-0)\n );--kup_accordion_header_background_color_hover:var(\n --kup-accordion-header-background-color-hover,\n var(--kup-layer-0-hover)\n );--kup_accordion_header_padding:var(\n --kup-accordion-header-padding,\n var(--kup-space-05)\n );--kup_accordion_dropdown_icon_color:var(\n --kup-accordio-dropdown-icon-color,\n var(--kup-text-primary)\n );--kup_accordion_transition:var(--kup-accordion-transition, 80ms);display:block;font-family:var(--kup_accordion_font_family);font-size:var(--kup_accordion_font_size)}.accordion{border-radius:var(--kup_accordion_border_radius);display:flex;flex-wrap:wrap;flex-direction:column;width:100%}.accordion-item{border-top:1px solid var(--kup_accordion_border_top_color);box-sizing:border-box;width:100%}.accordion-item--visible{display:block}.accordion-item:is(:last-of-type){border-bottom:1px solid var(--kup_accordion_border_top_color)}.accordion-item__header{height:var(--kup_accordion_item_medium_height);align-items:center;border:none;box-sizing:border-box;color:var(--kup_accordion_text_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;padding:var(--kup_accordion_padding);text-align:left;transition:background-color var(--kup_accordion_transition), color var(--kup_accordion_transition);width:100%;outline:2px solid transparent;outline-offset:-2px;padding-left:16px;padding-right:16px}.accordion-item__header:focus{outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header.accordion-item--small{height:var(--kup_accordion_item_small_height)}.accordion-item__header.accordion-item--large{height:var(--kup_accordion_item_large_height)}.accordion-item__header:hover:not(.accordion-item__header--selected){background-color:var(--kup_accordion_header_background_color_hover)}.accordion-item__header:focus(.accordion-item__header--selected){outline:2px solid var(--kup_accordion_item_outline_color_active)}.accordion-item__header--expanded{background-color:var(--kup_accordion_background_color)}.accordion-item__header--expanded .accordion-item__dropdown{transform:rotate(-180deg)}.accordion-item__text{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}.accordion-item__text--highlighted{color:var(--kup_accordion_text_on_primary_color);background-color:var(--kup_accordion_primary_color)}.accordion-item__icon{margin-left:0;margin-right:0.5em}.accordion-item__dropdown{background-color:var(--kup_accordion_dropdown_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform var(--kup_accordion_transition)}.accordion-item__content{padding-left:16px;padding-top:8px;padding-bottom:24px;padding-right:80px;animation:fade-in 0.25s ease-out;display:none;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.accordion-item__content--selected{display:block}.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_accordion_primary_color)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}:host(.kup-borderless){--kup-accordion-border:none}:host(.kup-full-height){height:100%}:host(.kup-full-width){width:100%}:host(.kup-danger){--kup-accordion-primary-color:var(--kup-danger-color-60);--kup-accordion-primary-color-rgb:var(--kup-danger-color-60-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-info){--kup-accordion-primary-color:var(--kup-info-50-color);--kup-accordion-primary-color-rgb:var(--kup-info-color-50-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-secondary){--kup-accordion-primary-color:var(--kup-secondary-color);--kup-accordion-primary-color-rgb:var(--kup-secondary-color-rgb);--kup-accordion-text-on-primary-color:var(--kup-text-on-secondary-color)}:host(.kup-success){--kup-accordion-primary-color:var(--kup-success-color-40);--kup-accordion-primary-color-rgb:var(--kup-success-color-40-rgb);--kup-accordion-text-on-primary-color:white}:host(.kup-warning){--kup-accordion-primary-color:var(--kup-warning-color-50);--kup-accordion-primary-color-rgb:var(--kup-warning-color-50-rgb);--kup-accordion-text-on-primary-color:white}";
|
|
17
17
|
const KupAccordionStyle0 = kupAccordionCss;
|
|
18
18
|
|
|
19
19
|
const KupAccordion$1 = /*@__PURE__*/ proxyCustomElement(class KupAccordion extends H {
|
|
@@ -224,7 +224,7 @@ function defineCustomElement$1() {
|
|
|
224
224
|
if (typeof customElements === "undefined") {
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
const components = ["kup-accordion", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
227
|
+
const components = ["kup-accordion", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
228
228
|
components.forEach(tagName => { switch (tagName) {
|
|
229
229
|
case "kup-accordion":
|
|
230
230
|
if (!customElements.get(tagName)) {
|
|
@@ -233,70 +233,75 @@ function defineCustomElement$1() {
|
|
|
233
233
|
break;
|
|
234
234
|
case "kup-autocomplete":
|
|
235
235
|
if (!customElements.get(tagName)) {
|
|
236
|
-
defineCustomElement$
|
|
236
|
+
defineCustomElement$u();
|
|
237
237
|
}
|
|
238
238
|
break;
|
|
239
239
|
case "kup-badge":
|
|
240
240
|
if (!customElements.get(tagName)) {
|
|
241
|
-
defineCustomElement$
|
|
241
|
+
defineCustomElement$t();
|
|
242
242
|
}
|
|
243
243
|
break;
|
|
244
244
|
case "kup-button":
|
|
245
245
|
if (!customElements.get(tagName)) {
|
|
246
|
-
defineCustomElement$
|
|
246
|
+
defineCustomElement$s();
|
|
247
247
|
}
|
|
248
248
|
break;
|
|
249
249
|
case "kup-button-list":
|
|
250
250
|
if (!customElements.get(tagName)) {
|
|
251
|
-
defineCustomElement$
|
|
251
|
+
defineCustomElement$r();
|
|
252
252
|
}
|
|
253
253
|
break;
|
|
254
254
|
case "kup-card":
|
|
255
255
|
if (!customElements.get(tagName)) {
|
|
256
|
-
defineCustomElement$
|
|
256
|
+
defineCustomElement$q();
|
|
257
257
|
}
|
|
258
258
|
break;
|
|
259
259
|
case "kup-chart":
|
|
260
260
|
if (!customElements.get(tagName)) {
|
|
261
|
-
defineCustomElement$
|
|
261
|
+
defineCustomElement$p();
|
|
262
262
|
}
|
|
263
263
|
break;
|
|
264
264
|
case "kup-checkbox":
|
|
265
265
|
if (!customElements.get(tagName)) {
|
|
266
|
-
defineCustomElement$
|
|
266
|
+
defineCustomElement$o();
|
|
267
267
|
}
|
|
268
268
|
break;
|
|
269
269
|
case "kup-chip":
|
|
270
270
|
if (!customElements.get(tagName)) {
|
|
271
|
-
defineCustomElement$
|
|
271
|
+
defineCustomElement$n();
|
|
272
272
|
}
|
|
273
273
|
break;
|
|
274
274
|
case "kup-color-picker":
|
|
275
275
|
if (!customElements.get(tagName)) {
|
|
276
|
-
defineCustomElement$
|
|
276
|
+
defineCustomElement$m();
|
|
277
277
|
}
|
|
278
278
|
break;
|
|
279
279
|
case "kup-combobox":
|
|
280
280
|
if (!customElements.get(tagName)) {
|
|
281
|
-
defineCustomElement$
|
|
281
|
+
defineCustomElement$l();
|
|
282
282
|
}
|
|
283
283
|
break;
|
|
284
284
|
case "kup-data-table":
|
|
285
285
|
if (!customElements.get(tagName)) {
|
|
286
|
-
defineCustomElement$
|
|
286
|
+
defineCustomElement$k();
|
|
287
287
|
}
|
|
288
288
|
break;
|
|
289
289
|
case "kup-date-picker":
|
|
290
290
|
if (!customElements.get(tagName)) {
|
|
291
|
-
defineCustomElement$
|
|
291
|
+
defineCustomElement$j();
|
|
292
292
|
}
|
|
293
293
|
break;
|
|
294
294
|
case "kup-dialog":
|
|
295
295
|
if (!customElements.get(tagName)) {
|
|
296
|
-
defineCustomElement$
|
|
296
|
+
defineCustomElement$i();
|
|
297
297
|
}
|
|
298
298
|
break;
|
|
299
299
|
case "kup-dropdown-button":
|
|
300
|
+
if (!customElements.get(tagName)) {
|
|
301
|
+
defineCustomElement$h();
|
|
302
|
+
}
|
|
303
|
+
break;
|
|
304
|
+
case "kup-file-upload":
|
|
300
305
|
if (!customElements.get(tagName)) {
|
|
301
306
|
defineCustomElement$g();
|
|
302
307
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps,
|
|
3
|
-
import { c as componentWrapperId,
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-ef8cbd35.js';
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-b304b91c.js';
|
|
3
|
+
import { c as componentWrapperId, E as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, F as FImage } from './p-7d0f1f90.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
7
7
|
KupActivityTimelineProps["data"] = "Dataset containing the activities list";
|
|
8
8
|
KupActivityTimelineProps["dateColumn"] = "Column containing dates";
|
|
9
9
|
KupActivityTimelineProps["timeColumn"] = "Column containing times";
|
|
10
|
-
KupActivityTimelineProps["
|
|
10
|
+
KupActivityTimelineProps["sort"] = "Order for sorting";
|
|
11
11
|
})(KupActivityTimelineProps || (KupActivityTimelineProps = {}));
|
|
12
12
|
var KupActivityTimelineAction;
|
|
13
13
|
(function (KupActivityTimelineAction) {
|
|
@@ -15,7 +15,7 @@ var KupActivityTimelineAction;
|
|
|
15
15
|
KupActivityTimelineAction["onRightClick"] = "onRightClick";
|
|
16
16
|
})(KupActivityTimelineAction || (KupActivityTimelineAction = {}));
|
|
17
17
|
|
|
18
|
-
const kupActivityTimelineCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.atm-container{color:var(--kup-gray-color-70)}.atm-container.clickable{cursor:pointer}.atm-container .atm-event{margin-bottom:10px;padding-bottom:25px;display:flex;position:relative;width:100%}.atm-container .atm-event:after{content:\"\";display:inline-block;width:1px;left:15px;position:absolute;top:0;bottom:0;z-index:1;background:var(--kup-primary-color)}.atm-container .atm-event .atm-icon-wrapper{margin-top:10px}.atm-container .atm-event .atm-thumb{background:var(--kup-primary-color);display:inline-block;vertical-align:top;width:32px;height:32px;border:none;border-radius:var(--kup-radius-00);text-align:center;z-index:10;position:relative;border-bottom-width:2px}.atm-container .atm-event .atm-thumb>span.-atm-icon{vertical-align:middle;line-height:32px;color:white;font-size:20px}.atm-container .atm-event .atm-content{display:inline-block;padding:0 6px 0 10px;vertical-align:top;width:calc(100% - 45px)}.atm-container .atm-event .atm-content .atm-content-header h3.atm-title{margin:0;font-size:15px;line-height:16px;float:left;width:calc(100% - 100px)}.atm-container .atm-event .atm-content .atm-content-header .atm-datetime{font-style:italic;font-size:11px;line-height:16px;float:right;width:100px;text-align:right}.atm-container .atm-event .atm-content .atm-row{max-width:calc(100% - 30px);width:100%;display:grid;grid-template-columns:repeat(8, 1fr);grid-gap:0px 0px;padding-bottom:10px}.atm-container .atm-event .atm-content .atm-row .atm-col{display:flex;align-items:baseline;justify-content:center;gap:3px;width:100%}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col{width:50%}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col h3{margin-bottom:7px;font-size:12px;word-break:break-word;padding-right:6px;font-weight:400}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col p{font-size:12px;word-break:break-word;text-decoration:underline;color:var(--kup-primary-color);cursor:pointer}@media (max-width: 1799px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(4, 1fr)}.atm-container .atm-event .atm-content .atm-row .atm-col{justify-content:start}}@media (max-width: 1365px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(3, 1fr)}}@media (max-width: 991px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(2, 1fr)}}@media (max-width: 575px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(1, 1fr)}}";
|
|
18
|
+
const kupActivityTimelineCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.atm-container{color:var(--kup-gray-color-70)}.atm-container.clickable{cursor:pointer}.atm-container .atm-event{margin-bottom:10px;padding-bottom:25px;display:flex;position:relative;width:100%}.atm-container .atm-event:after{content:\"\";display:inline-block;width:1px;left:15px;position:absolute;top:0;bottom:0;z-index:1;background:var(--kup-primary-color)}.atm-container .atm-event .atm-icon-wrapper{margin-top:10px}.atm-container .atm-event .atm-thumb{background:var(--kup-primary-color);display:inline-block;vertical-align:top;width:32px;height:32px;border:none;border-radius:var(--kup-radius-00);text-align:center;z-index:10;position:relative;border-bottom-width:2px}.atm-container .atm-event .atm-thumb>span.-atm-icon{vertical-align:middle;line-height:32px;color:white;font-size:20px}.atm-container .atm-event .atm-content{display:inline-block;padding:0 6px 0 10px;vertical-align:top;width:calc(100% - 45px)}.atm-container .atm-event .atm-content .atm-content-header h3.atm-title{margin:0;font-size:15px;line-height:16px;float:left;width:calc(100% - 100px)}.atm-container .atm-event .atm-content .atm-content-header .atm-datetime{font-style:italic;font-size:11px;line-height:16px;float:right;width:100px;text-align:right}.atm-container .atm-event .atm-content .atm-row{max-width:calc(100% - 30px);width:100%;display:grid;grid-template-columns:repeat(8, 1fr);grid-gap:0px 0px;padding-bottom:10px}.atm-container .atm-event .atm-content .atm-row .atm-col{display:flex;align-items:baseline;justify-content:center;gap:3px;width:100%}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col{width:50%}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col h3{margin-bottom:7px;font-size:12px;word-break:break-word;padding-right:6px;font-weight:400}.atm-container .atm-event .atm-content .atm-row .atm-col .atm-inner-col p{font-size:12px;word-break:break-word;text-decoration:underline;color:var(--kup-primary-color);cursor:pointer}@media (max-width: 1799px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(4, 1fr)}.atm-container .atm-event .atm-content .atm-row .atm-col{justify-content:start}}@media (max-width: 1365px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(3, 1fr)}}@media (max-width: 991px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(2, 1fr)}}@media (max-width: 575px){.atm-container .atm-event .atm-content .atm-row{grid-template-columns:repeat(1, 1fr)}}";
|
|
19
19
|
const KupActivityTimelineStyle0 = kupActivityTimelineCss;
|
|
20
20
|
|
|
21
21
|
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
@@ -90,12 +90,12 @@ const KupActivityTimeline$1 = /*@__PURE__*/ proxyCustomElement(class KupActivity
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
activityItem(activity) {
|
|
93
|
-
return (h("div", { class: "atm-row" }, activity.
|
|
93
|
+
return (h("div", { class: "atm-row" }, activity.cells.map((cell) => (h("div", { class: "atm-col" }, h("div", { class: "atm-inner-col" }, h("h3", null, cell.title, ":")), h("div", { class: "atm-inner-col", onClick: (e) => {
|
|
94
94
|
e.stopPropagation();
|
|
95
|
-
this.onActivityClick(e,
|
|
95
|
+
this.onActivityClick(e, cell);
|
|
96
96
|
}, onContextMenu: (e) => {
|
|
97
|
-
this.onActivityContextMenu(e,
|
|
98
|
-
} }, h("p", null,
|
|
97
|
+
this.onActivityContextMenu(e, cell);
|
|
98
|
+
} }, h("p", null, cell.value)))))));
|
|
99
99
|
}
|
|
100
100
|
calendarIcon() {
|
|
101
101
|
return (h(FImage, { color: "white", resource: 'calendar', wrapperClass: "activity-timeline-item__icon", sizeX: "20px", sizeY: "32px" }));
|
|
@@ -149,18 +149,32 @@ const KupActivityTimeline$1 = /*@__PURE__*/ proxyCustomElement(class KupActivity
|
|
|
149
149
|
}]);
|
|
150
150
|
_KupActivityTimeline_kupManager = new WeakMap(), _KupActivityTimeline_instances = new WeakSet(), _KupActivityTimeline_toTimeline = function _KupActivityTimeline_toTimeline(data) {
|
|
151
151
|
const { columns, rows } = data;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
if (!dateColumn || !timeColumn)
|
|
152
|
+
if (!rows) {
|
|
153
|
+
__classPrivateFieldGet(this, _KupActivityTimeline_kupManager, "f").debug.logMessage(this, 'Empty rows', KupDebugCategory.ERROR);
|
|
155
154
|
return [];
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
155
|
+
}
|
|
156
|
+
const dateColumn = columns.find((col) => __classPrivateFieldGet(this, _KupActivityTimeline_kupManager, "f").objects.isDate(col.obj) &&
|
|
157
|
+
col.name === this.dateColumn);
|
|
158
|
+
const timeColumn = columns.find((col) => __classPrivateFieldGet(this, _KupActivityTimeline_kupManager, "f").objects.isTime(col.obj) &&
|
|
159
|
+
col.name === this.timeColumn);
|
|
160
|
+
if (!dateColumn && !timeColumn) {
|
|
161
|
+
__classPrivateFieldGet(this, _KupActivityTimeline_kupManager, "f").debug.logMessage(this, 'At least one of "dateColumn" or "timeColumn" must be set and exist in the dataset', KupDebugCategory.ERROR);
|
|
162
|
+
return [];
|
|
163
|
+
}
|
|
164
|
+
const filteredSort = this.sort.filter(({ column }) =>
|
|
165
|
+
// Filter only the existing columns
|
|
166
|
+
columns.some((col) => col.name === column));
|
|
167
|
+
const activitiesByDate = sortRows(rows, filteredSort).reduce((activitiesByDate, row) => {
|
|
168
|
+
const dateValue = dateColumn
|
|
169
|
+
? getCellValueForDisplay(dateColumn, row.cells[dateColumn.name])
|
|
170
|
+
: '';
|
|
171
|
+
const timeValue = timeColumn
|
|
172
|
+
? getCellValueForDisplay(timeColumn, row.cells[timeColumn.name])
|
|
173
|
+
: '';
|
|
174
|
+
const key = `${dateValue} ${timeValue}`.trim();
|
|
175
|
+
activitiesByDate[key].push({
|
|
176
|
+
cells: columns
|
|
177
|
+
.filter((col) => col.visible)
|
|
164
178
|
.map((col) => ({
|
|
165
179
|
title: col.title,
|
|
166
180
|
value: getCellValueForDisplay(col, row.cells[col.name]),
|
|
@@ -168,8 +182,14 @@ _KupActivityTimeline_kupManager = new WeakMap(), _KupActivityTimeline_instances
|
|
|
168
182
|
rowId: row.id,
|
|
169
183
|
})),
|
|
170
184
|
});
|
|
171
|
-
return
|
|
172
|
-
}, {}
|
|
185
|
+
return activitiesByDate;
|
|
186
|
+
}, new Proxy({}, {
|
|
187
|
+
get: (target, key) => {
|
|
188
|
+
var _a;
|
|
189
|
+
// Set default value if it doesn't exist yet
|
|
190
|
+
return (_a = target[key]) !== null && _a !== void 0 ? _a : (target[key] = []);
|
|
191
|
+
},
|
|
192
|
+
}));
|
|
173
193
|
return Object.entries(activitiesByDate).map(([date, activities]) => ({
|
|
174
194
|
date,
|
|
175
195
|
activities,
|
|
@@ -179,7 +199,7 @@ function defineCustomElement$1() {
|
|
|
179
199
|
if (typeof customElements === "undefined") {
|
|
180
200
|
return;
|
|
181
201
|
}
|
|
182
|
-
const components = ["kup-activity-timeline", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
202
|
+
const components = ["kup-activity-timeline", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
183
203
|
components.forEach(tagName => { switch (tagName) {
|
|
184
204
|
case "kup-activity-timeline":
|
|
185
205
|
if (!customElements.get(tagName)) {
|
|
@@ -188,70 +208,75 @@ function defineCustomElement$1() {
|
|
|
188
208
|
break;
|
|
189
209
|
case "kup-autocomplete":
|
|
190
210
|
if (!customElements.get(tagName)) {
|
|
191
|
-
defineCustomElement$
|
|
211
|
+
defineCustomElement$u();
|
|
192
212
|
}
|
|
193
213
|
break;
|
|
194
214
|
case "kup-badge":
|
|
195
215
|
if (!customElements.get(tagName)) {
|
|
196
|
-
defineCustomElement$
|
|
216
|
+
defineCustomElement$t();
|
|
197
217
|
}
|
|
198
218
|
break;
|
|
199
219
|
case "kup-button":
|
|
200
220
|
if (!customElements.get(tagName)) {
|
|
201
|
-
defineCustomElement$
|
|
221
|
+
defineCustomElement$s();
|
|
202
222
|
}
|
|
203
223
|
break;
|
|
204
224
|
case "kup-button-list":
|
|
205
225
|
if (!customElements.get(tagName)) {
|
|
206
|
-
defineCustomElement$
|
|
226
|
+
defineCustomElement$r();
|
|
207
227
|
}
|
|
208
228
|
break;
|
|
209
229
|
case "kup-card":
|
|
210
230
|
if (!customElements.get(tagName)) {
|
|
211
|
-
defineCustomElement$
|
|
231
|
+
defineCustomElement$q();
|
|
212
232
|
}
|
|
213
233
|
break;
|
|
214
234
|
case "kup-chart":
|
|
215
235
|
if (!customElements.get(tagName)) {
|
|
216
|
-
defineCustomElement$
|
|
236
|
+
defineCustomElement$p();
|
|
217
237
|
}
|
|
218
238
|
break;
|
|
219
239
|
case "kup-checkbox":
|
|
220
240
|
if (!customElements.get(tagName)) {
|
|
221
|
-
defineCustomElement$
|
|
241
|
+
defineCustomElement$o();
|
|
222
242
|
}
|
|
223
243
|
break;
|
|
224
244
|
case "kup-chip":
|
|
225
245
|
if (!customElements.get(tagName)) {
|
|
226
|
-
defineCustomElement$
|
|
246
|
+
defineCustomElement$n();
|
|
227
247
|
}
|
|
228
248
|
break;
|
|
229
249
|
case "kup-color-picker":
|
|
230
250
|
if (!customElements.get(tagName)) {
|
|
231
|
-
defineCustomElement$
|
|
251
|
+
defineCustomElement$m();
|
|
232
252
|
}
|
|
233
253
|
break;
|
|
234
254
|
case "kup-combobox":
|
|
235
255
|
if (!customElements.get(tagName)) {
|
|
236
|
-
defineCustomElement$
|
|
256
|
+
defineCustomElement$l();
|
|
237
257
|
}
|
|
238
258
|
break;
|
|
239
259
|
case "kup-data-table":
|
|
240
260
|
if (!customElements.get(tagName)) {
|
|
241
|
-
defineCustomElement$
|
|
261
|
+
defineCustomElement$k();
|
|
242
262
|
}
|
|
243
263
|
break;
|
|
244
264
|
case "kup-date-picker":
|
|
245
265
|
if (!customElements.get(tagName)) {
|
|
246
|
-
defineCustomElement$
|
|
266
|
+
defineCustomElement$j();
|
|
247
267
|
}
|
|
248
268
|
break;
|
|
249
269
|
case "kup-dialog":
|
|
250
270
|
if (!customElements.get(tagName)) {
|
|
251
|
-
defineCustomElement$
|
|
271
|
+
defineCustomElement$i();
|
|
252
272
|
}
|
|
253
273
|
break;
|
|
254
274
|
case "kup-dropdown-button":
|
|
275
|
+
if (!customElements.get(tagName)) {
|
|
276
|
+
defineCustomElement$h();
|
|
277
|
+
}
|
|
278
|
+
break;
|
|
279
|
+
case "kup-file-upload":
|
|
255
280
|
if (!customElements.get(tagName)) {
|
|
256
281
|
defineCustomElement$g();
|
|
257
282
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1,
|
|
1
|
+
import { K as KupAutocomplete$1, D as defineCustomElement$1 } from './p-7d0f1f90.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|