@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
|
@@ -135,6 +135,10 @@ export class KupCell {
|
|
|
135
135
|
cell: this.data,
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
+
upload(e) {
|
|
139
|
+
e.stopPropagation();
|
|
140
|
+
this.kupCellUpload.emit(e.detail);
|
|
141
|
+
}
|
|
138
142
|
/*-------------------------------------------------*/
|
|
139
143
|
/* L i f e c y c l e H o o k s */
|
|
140
144
|
/*-------------------------------------------------*/
|
|
@@ -164,14 +168,14 @@ export class KupCell {
|
|
|
164
168
|
renderKup: true,
|
|
165
169
|
row: this.generateRow(),
|
|
166
170
|
};
|
|
167
|
-
return (h(Host, { key: '
|
|
171
|
+
return (h(Host, { key: '01c0f9dc1d970c0da37687dd07ecf95cf0cb0279', "onKup-file-upload-upload": this.upload.bind(this) }, h("style", { key: '4ad06f4bbbb2cfebee565fee5606194d2e68d871' }, __classPrivateFieldGet(this, _KupCell_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2d06ac608cd5eaa25b014dbc2420e2dec44ea89b', id: componentWrapperId, style: this.showSubmit
|
|
168
172
|
? {
|
|
169
173
|
display: 'flex',
|
|
170
174
|
'flex-direction': submitPositionAdapter(this.submitPosition),
|
|
171
175
|
'align-items': 'center',
|
|
172
176
|
gap: '0.5rem',
|
|
173
177
|
}
|
|
174
|
-
: {} }, h(FCell, Object.assign({ key: '
|
|
178
|
+
: {} }, h(FCell, Object.assign({ key: '393bd349a7310e9e9f8fbefac85c6ef733799a3f' }, props)), this.showSubmit ? (h(FButton, { buttonType: "submit", label: __classPrivateFieldGet(this, _KupCell_kupManager, "f").language.translate(KupLanguageGeneric.CONFIRM), wrapperClass: "form__submit", onClick: (e) => {
|
|
175
179
|
this.submitClick(e);
|
|
176
180
|
} })) : null)));
|
|
177
181
|
}
|
|
@@ -248,7 +252,7 @@ export class KupCell {
|
|
|
248
252
|
"mutable": false,
|
|
249
253
|
"complexType": {
|
|
250
254
|
"original": "FCellPadding",
|
|
251
|
-
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
255
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.EXTRA_DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
252
256
|
"references": {
|
|
253
257
|
"FCellPadding": {
|
|
254
258
|
"location": "import",
|
|
@@ -354,6 +358,27 @@ export class KupCell {
|
|
|
354
358
|
}
|
|
355
359
|
}
|
|
356
360
|
}
|
|
361
|
+
}, {
|
|
362
|
+
"method": "kupCellUpload",
|
|
363
|
+
"name": "kup-cell-upload",
|
|
364
|
+
"bubbles": true,
|
|
365
|
+
"cancelable": false,
|
|
366
|
+
"composed": true,
|
|
367
|
+
"docs": {
|
|
368
|
+
"tags": [],
|
|
369
|
+
"text": ""
|
|
370
|
+
},
|
|
371
|
+
"complexType": {
|
|
372
|
+
"original": "KupFileUploadEventPayload",
|
|
373
|
+
"resolved": "KupFileUploadEventPayload",
|
|
374
|
+
"references": {
|
|
375
|
+
"KupFileUploadEventPayload": {
|
|
376
|
+
"location": "import",
|
|
377
|
+
"path": "../kup-file-upload/kup-file-upload-declarations",
|
|
378
|
+
"id": "src/components/kup-file-upload/kup-file-upload-declarations.ts::KupFileUploadEventPayload"
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
357
382
|
}];
|
|
358
383
|
}
|
|
359
384
|
static get methods() {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.mdc-text-field__label-container {
|
|
6
|
+
padding-bottom: 4px;
|
|
7
|
+
|
|
8
|
+
label {
|
|
9
|
+
font-family: var(--kup-font-family);
|
|
10
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
11
|
+
line-height: 16px;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
letter-spacing: 0.32px;
|
|
14
|
+
color: var(--kup-text-secondary);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
1
18
|
.kup-body-compact-01 {
|
|
2
19
|
font-family: var(--kup-font-family);
|
|
3
20
|
font-size: var(--kup-body-compact-01-font-size, 14px);
|
|
@@ -24,7 +41,7 @@
|
|
|
24
41
|
|
|
25
42
|
.kup-label-01 {
|
|
26
43
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
44
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
45
|
line-height: 16px;
|
|
29
46
|
font-weight: 400;
|
|
30
47
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +73,7 @@
|
|
|
56
73
|
|
|
57
74
|
.kup-heading-compact-01 {
|
|
58
75
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
76
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
77
|
line-height: 18px;
|
|
61
78
|
font-weight: 600;
|
|
62
79
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +81,7 @@
|
|
|
64
81
|
|
|
65
82
|
.kup-heading-01 {
|
|
66
83
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
84
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
85
|
line-height: 20px;
|
|
69
86
|
font-weight: 600;
|
|
70
87
|
letter-spacing: 0.16px;
|
|
@@ -142,7 +159,4 @@
|
|
|
142
159
|
* @prop --kup-chip-primary-color-rgb: Sets primary color RGB values of the component (used for shaders).
|
|
143
160
|
* @prop --kup-chip-text-color: Sets text color of the component.
|
|
144
161
|
* @prop --kup-chip-text-color-rgb: Sets text color RGB values of the component (used for shaders).
|
|
145
|
-
*/
|
|
146
|
-
:host {
|
|
147
|
-
display: block;
|
|
148
|
-
}
|
|
162
|
+
*/
|
|
@@ -5,7 +5,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
5
5
|
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
6
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
7
|
};
|
|
8
|
-
var _KupChip_instances, _KupChip_changeHandler, _KupChip_stringifiedValues;
|
|
8
|
+
var _KupChip_instances, _KupChip_changeHandler, _KupChip_performChangeEvent, _KupChip_stringifiedValues;
|
|
9
9
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
10
10
|
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
11
11
|
import { FChip } from "../../f-components/f-chip/f-chip";
|
|
@@ -14,6 +14,7 @@ import { KupChipProps, } from "./kup-chip-declarations";
|
|
|
14
14
|
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
15
15
|
import { getProps, setProps } from "../../utils/utils";
|
|
16
16
|
import { componentWrapperId } from "../../variables/GenericVariables";
|
|
17
|
+
import { ItemsDisplayMode } from "../kup-list/kup-list-declarations";
|
|
17
18
|
export class KupChip {
|
|
18
19
|
constructor() {
|
|
19
20
|
_KupChip_instances.add(this);
|
|
@@ -26,11 +27,13 @@ export class KupChip {
|
|
|
26
27
|
this.kupManager = kupManagerInstance();
|
|
27
28
|
this.customStyle = '';
|
|
28
29
|
this.data = [];
|
|
29
|
-
this.displayId = false;
|
|
30
30
|
this.enableInput = false;
|
|
31
|
+
this.disabled = false;
|
|
31
32
|
this.type = FChipType.STANDARD;
|
|
32
|
-
this.sizing = FChipSize.
|
|
33
|
+
this.sizing = FChipSize.SMALL;
|
|
33
34
|
this.styling = FChipStyling.RAISED;
|
|
35
|
+
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
36
|
+
this.label = null;
|
|
34
37
|
}
|
|
35
38
|
onKupBlur(chip) {
|
|
36
39
|
this.kupBlur.emit({
|
|
@@ -154,7 +157,7 @@ export class KupChip {
|
|
|
154
157
|
? true
|
|
155
158
|
: false,
|
|
156
159
|
data: this.data,
|
|
157
|
-
|
|
160
|
+
displayMode: this.displayMode,
|
|
158
161
|
info: this.rootElement.classList.contains('kup-info')
|
|
159
162
|
? true
|
|
160
163
|
: false,
|
|
@@ -178,6 +181,7 @@ export class KupChip {
|
|
|
178
181
|
warning: this.rootElement.classList.contains('kup-warning')
|
|
179
182
|
? true
|
|
180
183
|
: false,
|
|
184
|
+
disabled: this.disabled,
|
|
181
185
|
};
|
|
182
186
|
for (let j = 0; this.data && j < this.data.length; j++) {
|
|
183
187
|
props.onBlur.push((chip) => this.onKupBlur(chip));
|
|
@@ -192,13 +196,13 @@ export class KupChip {
|
|
|
192
196
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
193
197
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
194
198
|
}
|
|
195
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: 'bf8bf0a53796849610faed0eb1424a10db852338', "onKup-autocomplete-itemclick": (e) => {
|
|
196
200
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
197
201
|
}, "onKup-combobox-itemclick": (e) => {
|
|
198
202
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
199
203
|
}, "onKup-textfield-change": (e) => {
|
|
200
204
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
201
|
-
} }, h("style", { key: '
|
|
205
|
+
} }, h("style", { key: '66132a3e1baf71ff1703cc2a5760f83afc41841f' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '09690424ee34a1ec12e8a4f1a368fb6b1f3da1db', id: componentWrapperId }, this.label ? (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: '74a0bb6b61c03cf41f46091ccef2efd8eabdc48a', name: "field" }))));
|
|
202
206
|
}
|
|
203
207
|
disconnectedCallback() {
|
|
204
208
|
this.kupManager.theme.unregister(this);
|
|
@@ -266,7 +270,7 @@ export class KupChip {
|
|
|
266
270
|
},
|
|
267
271
|
"defaultValue": "[]"
|
|
268
272
|
},
|
|
269
|
-
"
|
|
273
|
+
"enableInput": {
|
|
270
274
|
"type": "boolean",
|
|
271
275
|
"mutable": false,
|
|
272
276
|
"complexType": {
|
|
@@ -281,13 +285,13 @@ export class KupChip {
|
|
|
281
285
|
"name": "default",
|
|
282
286
|
"text": "false"
|
|
283
287
|
}],
|
|
284
|
-
"text": "When enabled, the chip's
|
|
288
|
+
"text": "When enabled, it's possible to add items to the chip's dataset through an input slot (kup-autocomplete, kup-combobox, kup-text-field)."
|
|
285
289
|
},
|
|
286
|
-
"attribute": "
|
|
290
|
+
"attribute": "enable-input",
|
|
287
291
|
"reflect": false,
|
|
288
292
|
"defaultValue": "false"
|
|
289
293
|
},
|
|
290
|
-
"
|
|
294
|
+
"disabled": {
|
|
291
295
|
"type": "boolean",
|
|
292
296
|
"mutable": false,
|
|
293
297
|
"complexType": {
|
|
@@ -302,9 +306,9 @@ export class KupChip {
|
|
|
302
306
|
"name": "default",
|
|
303
307
|
"text": "false"
|
|
304
308
|
}],
|
|
305
|
-
"text": "When
|
|
309
|
+
"text": "When true, the chip cannot be edited, nor removed."
|
|
306
310
|
},
|
|
307
|
-
"attribute": "
|
|
311
|
+
"attribute": "disabled",
|
|
308
312
|
"reflect": false,
|
|
309
313
|
"defaultValue": "false"
|
|
310
314
|
},
|
|
@@ -354,13 +358,13 @@ export class KupChip {
|
|
|
354
358
|
"docs": {
|
|
355
359
|
"tags": [{
|
|
356
360
|
"name": "default",
|
|
357
|
-
"text": "FChipSize.
|
|
361
|
+
"text": "FChipSize.SMALL"
|
|
358
362
|
}],
|
|
359
363
|
"text": "Sets the size of the chip"
|
|
360
364
|
},
|
|
361
365
|
"attribute": "sizing",
|
|
362
366
|
"reflect": false,
|
|
363
|
-
"defaultValue": "FChipSize.
|
|
367
|
+
"defaultValue": "FChipSize.SMALL"
|
|
364
368
|
},
|
|
365
369
|
"styling": {
|
|
366
370
|
"type": "string",
|
|
@@ -388,6 +392,54 @@ export class KupChip {
|
|
|
388
392
|
"attribute": "styling",
|
|
389
393
|
"reflect": false,
|
|
390
394
|
"defaultValue": "FChipStyling.RAISED"
|
|
395
|
+
},
|
|
396
|
+
"displayMode": {
|
|
397
|
+
"type": "string",
|
|
398
|
+
"mutable": false,
|
|
399
|
+
"complexType": {
|
|
400
|
+
"original": "ItemsDisplayMode",
|
|
401
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.CODE_AND_DESC | ItemsDisplayMode.CODE_AND_DESC_ALIAS | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESC_AND_CODE",
|
|
402
|
+
"references": {
|
|
403
|
+
"ItemsDisplayMode": {
|
|
404
|
+
"location": "import",
|
|
405
|
+
"path": "../kup-list/kup-list-declarations",
|
|
406
|
+
"id": "src/components/kup-list/kup-list-declarations.ts::ItemsDisplayMode"
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"required": false,
|
|
411
|
+
"optional": false,
|
|
412
|
+
"docs": {
|
|
413
|
+
"tags": [{
|
|
414
|
+
"name": "default",
|
|
415
|
+
"text": "ItemsDisplayMode.DESCRIPTION"
|
|
416
|
+
}],
|
|
417
|
+
"text": "When enabled, the chip's text will display both the id and description."
|
|
418
|
+
},
|
|
419
|
+
"attribute": "display-mode",
|
|
420
|
+
"reflect": false,
|
|
421
|
+
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
422
|
+
},
|
|
423
|
+
"label": {
|
|
424
|
+
"type": "string",
|
|
425
|
+
"mutable": false,
|
|
426
|
+
"complexType": {
|
|
427
|
+
"original": "string",
|
|
428
|
+
"resolved": "string",
|
|
429
|
+
"references": {}
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"optional": false,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [{
|
|
435
|
+
"name": "default",
|
|
436
|
+
"text": "null"
|
|
437
|
+
}],
|
|
438
|
+
"text": "When set,will be shown a label on the chips"
|
|
439
|
+
},
|
|
440
|
+
"attribute": "label",
|
|
441
|
+
"reflect": false,
|
|
442
|
+
"defaultValue": "null"
|
|
391
443
|
}
|
|
392
444
|
};
|
|
393
445
|
}
|
|
@@ -594,33 +646,52 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
|
|
|
594
646
|
/* P r i v a t e M e t h o d s */
|
|
595
647
|
/*-------------------------------------------------*/
|
|
596
648
|
async function _KupChip_changeHandler(e) {
|
|
597
|
-
var _a, _b;
|
|
649
|
+
var _a, _b, _c;
|
|
598
650
|
e.stopPropagation();
|
|
599
|
-
const
|
|
600
|
-
|
|
601
|
-
if (
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
651
|
+
const data = this.data && this.data.length ? this.data : [];
|
|
652
|
+
// check event type
|
|
653
|
+
if ('node' in e.detail) {
|
|
654
|
+
// autocomplete and combobox handler
|
|
655
|
+
const node = e.detail.node;
|
|
656
|
+
// check if node isn't presents in data
|
|
657
|
+
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.find((n) => n.id === node.id))) {
|
|
605
658
|
this.data = [
|
|
606
659
|
...data,
|
|
607
660
|
{
|
|
608
|
-
id:
|
|
609
|
-
value:
|
|
661
|
+
id: node.id,
|
|
662
|
+
value: node.value,
|
|
610
663
|
},
|
|
611
664
|
];
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
665
|
+
await __classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_performChangeEvent).call(this);
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
else {
|
|
669
|
+
// texfield handler
|
|
670
|
+
const value = (_b = e.detail) === null || _b === void 0 ? void 0 : _b.value;
|
|
671
|
+
if (value) {
|
|
672
|
+
// check if value isn't already present in data
|
|
673
|
+
if (!((_c = this.data) === null || _c === void 0 ? void 0 : _c.find((n) => n.id === value))) {
|
|
674
|
+
this.data = [
|
|
675
|
+
...data,
|
|
676
|
+
{
|
|
677
|
+
id: value,
|
|
678
|
+
},
|
|
679
|
+
];
|
|
680
|
+
await __classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_performChangeEvent).call(this);
|
|
681
|
+
}
|
|
621
682
|
}
|
|
622
683
|
}
|
|
623
|
-
},
|
|
684
|
+
}, _KupChip_performChangeEvent = async function _KupChip_performChangeEvent() {
|
|
685
|
+
const slot = this.rootElement.querySelector('[slot=field]');
|
|
686
|
+
await slot.setValue('');
|
|
687
|
+
await slot.refresh();
|
|
688
|
+
await slot.setFocus();
|
|
689
|
+
this.kupChange.emit({
|
|
690
|
+
comp: this,
|
|
691
|
+
id: this.rootElement.id,
|
|
692
|
+
stringifiedValues: __classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_stringifiedValues).call(this),
|
|
693
|
+
});
|
|
694
|
+
}, _KupChip_stringifiedValues = function _KupChip_stringifiedValues() {
|
|
624
695
|
let stringifiedValues = '';
|
|
625
696
|
this.data.forEach((node) => (stringifiedValues += node.id + ';'));
|
|
626
697
|
return stringifiedValues;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -47,6 +47,7 @@ export class KupCombobox {
|
|
|
47
47
|
this.data = undefined;
|
|
48
48
|
this.disabled = false;
|
|
49
49
|
this.displayMode = ItemsDisplayMode.DESCRIPTION;
|
|
50
|
+
this.listDisplayMode = ItemsDisplayMode.CODE_AND_DESC;
|
|
50
51
|
this.error = '';
|
|
51
52
|
this.icon = null;
|
|
52
53
|
this.initialValue = '';
|
|
@@ -87,8 +88,10 @@ export class KupCombobox {
|
|
|
87
88
|
this.onKupIconClick();
|
|
88
89
|
}
|
|
89
90
|
onKupIconClick() {
|
|
91
|
+
var _a, _b;
|
|
90
92
|
if (__classPrivateFieldGet(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled')) {
|
|
91
93
|
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_closeList).call(this);
|
|
94
|
+
(_a = __classPrivateFieldGet(this, _KupCombobox_listEl, "f")) === null || _a === void 0 ? void 0 : _a.setBlur();
|
|
92
95
|
}
|
|
93
96
|
else {
|
|
94
97
|
__classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_openList).call(this);
|
|
@@ -99,6 +102,7 @@ export class KupCombobox {
|
|
|
99
102
|
inputValue: __classPrivateFieldGet(this, _KupCombobox_textfieldEl, "f").value,
|
|
100
103
|
open: __classPrivateFieldGet(this, _KupCombobox_textfieldWrapper, "f").classList.contains('toggled'),
|
|
101
104
|
});
|
|
105
|
+
(_b = __classPrivateFieldGet(this, _KupCombobox_listEl, "f")) === null || _b === void 0 ? void 0 : _b.setFocus();
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
onKupFocus() {
|
|
@@ -305,7 +309,7 @@ export class KupCombobox {
|
|
|
305
309
|
};
|
|
306
310
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
307
311
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
308
|
-
return (h(Host, { key: '
|
|
312
|
+
return (h(Host, { key: 'bb14609b26ad896dac3158ce4427d129fd520abb', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h("style", { key: 'dfc874e6d1f9facc181fd7d05cb3e3a981d18daf' }, __classPrivateFieldGet(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '47eca4f5d10c0be8d4910b6028abed16de4c0b8e', id: componentWrapperId, style: __classPrivateFieldGet(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: '6c922d6c51567e3a337eb6fbf26228f42b03041e' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
309
313
|
? KupThemeIconValues.DROPDOWN
|
|
310
314
|
: null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick() }))), __classPrivateFieldGet(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
311
315
|
}
|
|
@@ -438,6 +442,30 @@ export class KupCombobox {
|
|
|
438
442
|
"reflect": false,
|
|
439
443
|
"defaultValue": "ItemsDisplayMode.DESCRIPTION"
|
|
440
444
|
},
|
|
445
|
+
"listDisplayMode": {
|
|
446
|
+
"type": "string",
|
|
447
|
+
"mutable": false,
|
|
448
|
+
"complexType": {
|
|
449
|
+
"original": "ItemsDisplayMode",
|
|
450
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.CODE_AND_DESC | ItemsDisplayMode.CODE_AND_DESC_ALIAS | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESC_AND_CODE",
|
|
451
|
+
"references": {
|
|
452
|
+
"ItemsDisplayMode": {
|
|
453
|
+
"location": "import",
|
|
454
|
+
"path": "../kup-list/kup-list-declarations",
|
|
455
|
+
"id": "src/components/kup-list/kup-list-declarations.ts::ItemsDisplayMode"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"required": false,
|
|
460
|
+
"optional": false,
|
|
461
|
+
"docs": {
|
|
462
|
+
"tags": [],
|
|
463
|
+
"text": "Sets how to show the selected item value. Suported values: \"CodeOnly\", \"DescOnly\", \"Both\" or \"CodeAndDesc\" and \"DescAndCode\"."
|
|
464
|
+
},
|
|
465
|
+
"attribute": "list-display-mode",
|
|
466
|
+
"reflect": false,
|
|
467
|
+
"defaultValue": "ItemsDisplayMode.CODE_AND_DESC"
|
|
468
|
+
},
|
|
441
469
|
"error": {
|
|
442
470
|
"type": "string",
|
|
443
471
|
"mutable": false,
|
|
@@ -1105,13 +1133,11 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
1105
1133
|
}, "f");
|
|
1106
1134
|
}
|
|
1107
1135
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").addClickCallback(__classPrivateFieldGet(this, _KupCombobox_clickCb, "f"), true);
|
|
1108
|
-
window.setTimeout(() => __classPrivateFieldGet(this, _KupCombobox_listEl, "f").setFocus(), 100);
|
|
1109
1136
|
}, _KupCombobox_closeList = function _KupCombobox_closeList() {
|
|
1110
1137
|
__classPrivateFieldGet(this, _KupCombobox_textfieldWrapper, "f").classList.remove('toggled');
|
|
1111
1138
|
__classPrivateFieldGet(this, _KupCombobox_listEl, "f").menuVisible = false;
|
|
1112
1139
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupCombobox_listEl, "f"));
|
|
1113
1140
|
__classPrivateFieldGet(this, _KupCombobox_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupCombobox_clickCb, "f"));
|
|
1114
|
-
window.setTimeout(() => __classPrivateFieldGet(this, _KupCombobox_listEl, "f").setBlur(), 100);
|
|
1115
1141
|
}, _KupCombobox_isListOpened = function _KupCombobox_isListOpened() {
|
|
1116
1142
|
return __classPrivateFieldGet(this, _KupCombobox_listEl, "f").menuVisible == true;
|
|
1117
1143
|
}, _KupCombobox_consistencyCheck = function _KupCombobox_consistencyCheck(idIn, idInDecode, eventShouldSetValue) {
|
|
@@ -1134,5 +1160,5 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
1134
1160
|
}
|
|
1135
1161
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
1136
1162
|
var _a, _b;
|
|
1137
|
-
return (h("kup-list", Object.assign({ displayMode:
|
|
1163
|
+
return (h("kup-list", Object.assign({ displayMode: this.listDisplayMode }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet(this, _KupCombobox_listEl, el, "f")) })));
|
|
1138
1164
|
};
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FCellTypes } from "../../f-components/f-cell/f-cell-declarations";
|
|
1
2
|
/**
|
|
2
3
|
* Props of the kup-data-table component.
|
|
3
4
|
* Used to export every prop in an object.
|
|
@@ -65,6 +66,7 @@ export var KupDataTableProps;
|
|
|
65
66
|
KupDataTableProps["totals"] = "Defines the current totals options.";
|
|
66
67
|
KupDataTableProps["transpose"] = "Transposes the data of the data table.";
|
|
67
68
|
KupDataTableProps["updatableData"] = "When set to true, editable cells will be rendered using input components and update button will appair below the matrix";
|
|
69
|
+
KupDataTableProps["updateOnClick"] = "When set to true, editable checkbox will call update";
|
|
68
70
|
})(KupDataTableProps || (KupDataTableProps = {}));
|
|
69
71
|
export var SortMode;
|
|
70
72
|
(function (SortMode) {
|
|
@@ -173,3 +175,14 @@ export var SelectionMode;
|
|
|
173
175
|
SelectionMode["MULTIPLE"] = "multiple";
|
|
174
176
|
SelectionMode["NONE"] = "none";
|
|
175
177
|
})(SelectionMode || (SelectionMode = {}));
|
|
178
|
+
/**
|
|
179
|
+
* List of types that can duplicate value in all column's cell
|
|
180
|
+
*/
|
|
181
|
+
export const TypesToDuplicate = [
|
|
182
|
+
FCellTypes.AUTOCOMPLETE,
|
|
183
|
+
FCellTypes.COMBOBOX,
|
|
184
|
+
FCellTypes.DATE,
|
|
185
|
+
FCellTypes.NUMBER,
|
|
186
|
+
FCellTypes.STRING,
|
|
187
|
+
FCellTypes.TIME,
|
|
188
|
+
];
|
|
@@ -107,11 +107,11 @@ function compareRows(r1, r2, sortObj) {
|
|
|
107
107
|
* @todo This function can be improved in its speed by a refactor in which from two different cycles of execution for
|
|
108
108
|
* single filters and global filter, all controls on a single column are done in a single cycle.
|
|
109
109
|
*/
|
|
110
|
-
export function filterRows(rows = [], filters = {}, globalFilter = '', columns = [], columnFilters, filtersRows) {
|
|
110
|
+
export function filterRows(rows = [], filters = {}, globalFilter = '', columns = [], columnFilters, filtersRows, visibleColumns) {
|
|
111
111
|
if (filtersRows == null) {
|
|
112
112
|
filtersRows = new FiltersRows();
|
|
113
113
|
}
|
|
114
|
-
return filtersRows.filterRows(rows, filters, globalFilter, columns, columnFilters);
|
|
114
|
+
return filtersRows.filterRows(rows, filters, globalFilter, columns, columnFilters, visibleColumns);
|
|
115
115
|
}
|
|
116
116
|
export function groupRows(columns = [], rows = [], groups = [], totals = {}) {
|
|
117
117
|
if (!rows) {
|
|
@@ -795,6 +795,7 @@ export function decorateDataTable(data) {
|
|
|
795
795
|
var _a;
|
|
796
796
|
let cell = row.cells[cellKey];
|
|
797
797
|
const value = cell.value;
|
|
798
|
+
const decode = cell.decode;
|
|
798
799
|
const options = cell['options'];
|
|
799
800
|
cell.isEditable = (_a = cell.isEditable) !== null && _a !== void 0 ? _a : cell['editable'];
|
|
800
801
|
const shapeAdapters = {
|
|
@@ -802,8 +803,10 @@ export function decorateDataTable(data) {
|
|
|
802
803
|
[FCellShapes.COMBOBOX]: () => CMBandACPAdapter(value, '', options),
|
|
803
804
|
[FCellShapes.RADIO]: () => RADAdapter(value, options),
|
|
804
805
|
[FCellShapes.CHECKBOX]: () => CHKAdapter(value, ''),
|
|
805
|
-
[FCellShapes.CHIP]: () => CHIAdapter(value),
|
|
806
|
+
[FCellShapes.CHIP]: () => CHIAdapter(value, decode),
|
|
806
807
|
[FCellShapes.SWITCH]: () => SWTAdapter(value, ''),
|
|
808
|
+
[FCellShapes.MULTI_AUTOCOMPLETE]: () => CHIAdapter(value, decode),
|
|
809
|
+
[FCellShapes.MULTI_COMBOBOX]: () => CHIAdapter(value, decode),
|
|
807
810
|
};
|
|
808
811
|
const adapterFunction = shapeAdapters[cell.shape];
|
|
809
812
|
if (adapterFunction) {
|