@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const fImage = require('./f-image-
|
|
4
|
-
const index = require('./index-
|
|
3
|
+
const fImage = require('./f-image-db10b066.js');
|
|
4
|
+
const index = require('./index-c7d441d8.js');
|
|
5
5
|
|
|
6
6
|
/*-------------------------------------------------*/
|
|
7
7
|
/* C o m p o n e n t */
|
|
@@ -16,6 +16,7 @@ const FCheckbox = (props) => {
|
|
|
16
16
|
'checkbox--disabled': props.disabled ? true : false,
|
|
17
17
|
'checkbox--indeterminate': props.indeterminate ? true : false,
|
|
18
18
|
'checkbox--legacy-look': props.legacyLook ? true : false,
|
|
19
|
+
[`checkbox--${props.sizing || 'small'}`]: true,
|
|
19
20
|
};
|
|
20
21
|
const propsFImage = {
|
|
21
22
|
color: props.error
|
|
@@ -1,8 +1,139 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const fImage = require('./f-image-
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
3
|
+
const index = require('./index-c7d441d8.js');
|
|
4
|
+
const fImage = require('./f-image-db10b066.js');
|
|
5
|
+
const kupManager = require('./kup-manager-39bc2be8.js');
|
|
6
|
+
|
|
7
|
+
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
8
|
+
const { id, value } = item;
|
|
9
|
+
if (id == null && value) {
|
|
10
|
+
return value;
|
|
11
|
+
}
|
|
12
|
+
if (id && value == null) {
|
|
13
|
+
return id;
|
|
14
|
+
}
|
|
15
|
+
switch (mode) {
|
|
16
|
+
case kupManager.ItemsDisplayMode.CODE:
|
|
17
|
+
return id;
|
|
18
|
+
case kupManager.ItemsDisplayMode.DESCRIPTION:
|
|
19
|
+
return value;
|
|
20
|
+
case kupManager.ItemsDisplayMode.CODE_AND_DESC:
|
|
21
|
+
case kupManager.ItemsDisplayMode.CODE_AND_DESC_ALIAS:
|
|
22
|
+
return id && value ? id + separator + value : id || value;
|
|
23
|
+
case kupManager.ItemsDisplayMode.DESC_AND_CODE:
|
|
24
|
+
return value && id ? value + separator + id : value || id;
|
|
25
|
+
default:
|
|
26
|
+
return id;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function consistencyCheck(idIn, listData, listEl, selectMode, displayMode, e) {
|
|
30
|
+
const validList = !!(listEl && listData && listData['data']);
|
|
31
|
+
let id = '';
|
|
32
|
+
let displayedValue = '';
|
|
33
|
+
let selected = null;
|
|
34
|
+
if (e != null) {
|
|
35
|
+
selected = e.detail.selected;
|
|
36
|
+
}
|
|
37
|
+
if (selected == null && idIn != null && validList) {
|
|
38
|
+
selected = getItemByDisplayMode(listData, idIn, displayMode, true);
|
|
39
|
+
listEl.data = [...listData['data']];
|
|
40
|
+
}
|
|
41
|
+
if (selected == null && idIn == null && listData) {
|
|
42
|
+
selected = getFirstItemSelected(listData);
|
|
43
|
+
}
|
|
44
|
+
let trueValue = null;
|
|
45
|
+
if (selected == null) {
|
|
46
|
+
selected = {
|
|
47
|
+
id: idIn == null ? '' : idIn,
|
|
48
|
+
value: idIn == null ? '' : idIn,
|
|
49
|
+
};
|
|
50
|
+
id = selected.id;
|
|
51
|
+
displayedValue = selected.id;
|
|
52
|
+
trueValue = selected.id;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
id = getIdOfItemByDisplayMode(selected, selectMode, ' - ');
|
|
56
|
+
displayedValue = getIdOfItemByDisplayMode(selected, id == '' ? kupManager.ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
|
|
57
|
+
trueValue = getIdOfItemByDisplayMode(selected, kupManager.ItemsDisplayMode.CODE, ' - ');
|
|
58
|
+
}
|
|
59
|
+
const listNode = validList
|
|
60
|
+
? listData['data'].find((x) => x.id === trueValue)
|
|
61
|
+
: null;
|
|
62
|
+
let exists = listNode ? true : false;
|
|
63
|
+
return {
|
|
64
|
+
value: id,
|
|
65
|
+
displayedValue: displayedValue,
|
|
66
|
+
node: listNode,
|
|
67
|
+
exists: exists,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function getFirstItemSelected(listData) {
|
|
71
|
+
if (listData['data']) {
|
|
72
|
+
for (let i = 0; i < listData['data'].length; i++) {
|
|
73
|
+
if (listData['data'][i].selected) {
|
|
74
|
+
return listData['data'][i];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
function getItemById(listData, id, setSelected) {
|
|
81
|
+
if (listData && listData['data']) {
|
|
82
|
+
let found = false;
|
|
83
|
+
let item = null;
|
|
84
|
+
for (let i = 0; i < listData['data'].length; i++) {
|
|
85
|
+
if (setSelected == true) {
|
|
86
|
+
listData['data'][i].selected = false;
|
|
87
|
+
}
|
|
88
|
+
if (!found &&
|
|
89
|
+
listData['data'][i].id.toString().toLowerCase() ==
|
|
90
|
+
id.toString().toLowerCase()) {
|
|
91
|
+
item = listData['data'][i];
|
|
92
|
+
item.selected = true;
|
|
93
|
+
found = true;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (found == true) {
|
|
97
|
+
return item;
|
|
98
|
+
}
|
|
99
|
+
for (let i = 0; i < listData['data'].length; i++) {
|
|
100
|
+
if (listData['data'][i].value.toString().toLowerCase() ==
|
|
101
|
+
id.toString().toLowerCase()) {
|
|
102
|
+
item = listData['data'][i];
|
|
103
|
+
item.selected = true;
|
|
104
|
+
found = true;
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
if (found == true) {
|
|
109
|
+
return item;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
function getItemByDisplayMode(listData, id, displayMode, setSelected) {
|
|
115
|
+
if (listData && listData['data']) {
|
|
116
|
+
let found = false;
|
|
117
|
+
let item = null;
|
|
118
|
+
for (let i = 0; i < listData['data'].length; i++) {
|
|
119
|
+
let displayedValue = getIdOfItemByDisplayMode(listData['data'][i], id == '' ? kupManager.ItemsDisplayMode.DESCRIPTION : displayMode, ' - ');
|
|
120
|
+
if (setSelected == true) {
|
|
121
|
+
listData['data'][i].selected = false;
|
|
122
|
+
}
|
|
123
|
+
if (!found &&
|
|
124
|
+
displayedValue.toString().toLowerCase() ==
|
|
125
|
+
id.toString().toLowerCase()) {
|
|
126
|
+
item = listData['data'][i];
|
|
127
|
+
item.selected = true;
|
|
128
|
+
found = true;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (found == true) {
|
|
132
|
+
return item;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return getItemById(listData, id, setSelected);
|
|
136
|
+
}
|
|
6
137
|
|
|
7
138
|
/**
|
|
8
139
|
* Types of the f-chip component.
|
|
@@ -53,6 +184,9 @@ const FChip = (props) => {
|
|
|
53
184
|
if (!props.type) {
|
|
54
185
|
props.type = exports.FChipType.STANDARD;
|
|
55
186
|
}
|
|
187
|
+
if (!props.displayMode) {
|
|
188
|
+
props.displayMode = kupManager.ItemsDisplayMode.DESCRIPTION;
|
|
189
|
+
}
|
|
56
190
|
const isChoice = props.type.toLowerCase() === exports.FChipType.CHOICE;
|
|
57
191
|
const isFilter = props.type.toLowerCase() === exports.FChipType.FILTER;
|
|
58
192
|
const isInput = props.type.toLowerCase() === exports.FChipType.INPUT;
|
|
@@ -65,7 +199,7 @@ const FChip = (props) => {
|
|
|
65
199
|
'chip-set--input': isInput ? true : false,
|
|
66
200
|
'chip--outlined': isOutlined ? true : false,
|
|
67
201
|
'chip--raised': isRaised ? true : false,
|
|
68
|
-
[`chip--${props.sizing}`]:
|
|
202
|
+
[`chip--${props.sizing || 'extra-small'}`]: true,
|
|
69
203
|
};
|
|
70
204
|
return (index.h("div", Object.assign({ class: `f-chip ${props.danger ? 'kup-danger' : ''} ${props.info ? 'kup-info' : ''} ${props.secondary ? 'kup-secondary' : ''} ${props.success ? 'kup-success' : ''} ${props.warning ? 'kup-warning' : ''} ${props.wrapperClass ? props.wrapperClass : ''} ${props.primary ? 'kup-primary' : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
71
205
|
index.h("div", { class: classObj, role: "grid" }, createChipList(props, isChoice, isFilter, isInput))));
|
|
@@ -85,6 +219,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
85
219
|
const indentStyle = {
|
|
86
220
|
['--kup_chip_indent_offset']: indent.toString(),
|
|
87
221
|
};
|
|
222
|
+
const isDisabled = props.disabled;
|
|
88
223
|
chipGroup.push(index.h("div", { class: `chip-set__wrapper ${hasChildren && !showChildren
|
|
89
224
|
? 'chip-set__wrapper--hidden-children'
|
|
90
225
|
: ''}` },
|
|
@@ -96,7 +231,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
96
231
|
'/' +
|
|
97
232
|
dom.ketchup.language.translate(kupManager.KupLanguageGeneric.COLLAPSE) +
|
|
98
233
|
' (CTRL + Click)', wrapperClass: "dropdown-icon" })) : indent ? (index.h(fImage.FImage, { resource: "blank", sizeX: "16px", sizeY: "16px", wrapperClass: "dropdown-icon" })) : null,
|
|
99
|
-
createChip(chip)));
|
|
234
|
+
createChip(chip, isDisabled)));
|
|
100
235
|
if (showChildren) {
|
|
101
236
|
for (let index = 0; index < chip.children.length; index++) {
|
|
102
237
|
if (chip.children[index]) {
|
|
@@ -105,9 +240,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
105
240
|
}
|
|
106
241
|
}
|
|
107
242
|
}
|
|
108
|
-
function createChip(chip) {
|
|
243
|
+
function createChip(chip, disabled) {
|
|
109
244
|
const onlyIcon = !!(chip.icon && !chip.value);
|
|
110
|
-
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''}`;
|
|
245
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled && 'chip--disabled'}`;
|
|
111
246
|
let iconEl = [];
|
|
112
247
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
113
248
|
if (isFilter || isChoice) {
|
|
@@ -136,6 +271,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
136
271
|
index.h("svg", { class: "chip__checkmark-svg", viewBox: "-2 -3 30 30" },
|
|
137
272
|
index.h("path", { class: "chip__checkmark-path", fill: "none", stroke: "black", d: "M1.73,12.91 8.1,19.28 22.79,4.59" }))));
|
|
138
273
|
}
|
|
274
|
+
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? kupManager.ItemsDisplayMode.CODE : props.displayMode, ' - ');
|
|
139
275
|
return (index.h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
140
276
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
141
277
|
: null, role: "row", title: chip.title ? chip.title : '' },
|
|
@@ -149,9 +285,7 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
149
285
|
: null, onFocus: props.onFocus && props.onFocus[i]
|
|
150
286
|
? props.onFocus[i].bind(props.onFocus[i], chip)
|
|
151
287
|
: null },
|
|
152
|
-
index.h("span", { class: "chip__text" },
|
|
153
|
-
? chip.id + ' - ' + chip.value
|
|
154
|
-
: chip.value))),
|
|
288
|
+
index.h("span", { class: "chip__text" }, chipText))),
|
|
155
289
|
isInput ? (index.h("span", { role: "gridcell" },
|
|
156
290
|
index.h("span", { tabindex: "-1", class: `kup-icon chip__icon ${kupManager.KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onIconClick && props.onIconClick[i]
|
|
157
291
|
? props.onIconClick[i].bind(props.onIconClick[i], chip)
|
|
@@ -162,3 +296,5 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
162
296
|
}
|
|
163
297
|
|
|
164
298
|
exports.FChip = FChip;
|
|
299
|
+
exports.consistencyCheck = consistencyCheck;
|
|
300
|
+
exports.getIdOfItemByDisplayMode = getIdOfItemByDisplayMode;
|
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fButton = require('./f-button-
|
|
3
|
+
const index = require('./index-c7d441d8.js');
|
|
4
|
+
const kupManager = require('./kup-manager-39bc2be8.js');
|
|
5
|
+
const fButton = require('./f-button-bfafefb3.js');
|
|
6
6
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
7
|
+
const fTextField = require('./f-text-field-e41f653a.js');
|
|
8
8
|
|
|
9
9
|
const STATE = new WeakMap();
|
|
10
10
|
const FObjectField = (props) => {
|
|
11
11
|
var _a;
|
|
12
|
+
let helperSection;
|
|
13
|
+
const attachHelperSection = (element) => {
|
|
14
|
+
helperSection = element;
|
|
15
|
+
return false;
|
|
16
|
+
};
|
|
12
17
|
return (index.h("div", { class: `f-object-field ${props.wrapperClass ? props.wrapperClass : ''}`, ref: async (el) => {
|
|
13
18
|
if (el) {
|
|
14
19
|
props.root = el;
|
|
15
20
|
setState(props);
|
|
16
21
|
}
|
|
17
22
|
} },
|
|
18
|
-
index.h(
|
|
19
|
-
|
|
23
|
+
index.h("div", { class: "fields-wrapper" },
|
|
24
|
+
index.h(fTextField.FTextField, Object.assign({ icon: 'search', trailingIcon: true, disabled: false }, (_a = props.cell) === null || _a === void 0 ? void 0 : _a.data, { attachHelperSection: attachHelperSection, value: props.inputValue, onChange: props.onChange, onIconClick: handlers.icon.bind(props), onInput: handlers.input.bind(props), onKeyDown: handlers.keydown.bind(props) })),
|
|
25
|
+
index.h(fButton.FButton, { icon: 'menu', onClick: handlers.button.bind(props), sizing: kupManager.KupComponentSizing.SMALL, styling: fButtonDeclarations.FButtonStyling.FLAT, wrapperClass: "obj-field-extra-btn" })),
|
|
26
|
+
helperSection,
|
|
20
27
|
index.h("kup-toolbar", { "onKup-toolbar-click": handlers.toolbar.bind(props) })));
|
|
21
28
|
};
|
|
22
29
|
function openList(props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fButton = require('./f-button-
|
|
3
|
+
const index = require('./index-c7d441d8.js');
|
|
4
|
+
const kupManager = require('./kup-manager-39bc2be8.js');
|
|
5
|
+
const fButton = require('./f-button-bfafefb3.js');
|
|
6
6
|
const fButtonDeclarations = require('./f-button-declarations-76ef9f87.js');
|
|
7
7
|
|
|
8
8
|
var FPaginatorMode;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index = require('./index-
|
|
4
|
-
const kupManager = require('./kup-manager-
|
|
5
|
-
const fImage = require('./f-image-
|
|
3
|
+
const index = require('./index-c7d441d8.js');
|
|
4
|
+
const kupManager = require('./kup-manager-39bc2be8.js');
|
|
5
|
+
const fImage = require('./f-image-db10b066.js');
|
|
6
6
|
|
|
7
7
|
const dom = document.documentElement;
|
|
8
8
|
/*-------------------------------------------------*/
|
|
9
9
|
/* C o m p o n e n t */
|
|
10
10
|
/*-------------------------------------------------*/
|
|
11
11
|
const FTextField = (props, children) => {
|
|
12
|
+
var _a, _b;
|
|
12
13
|
const classObj = {
|
|
13
14
|
'f-text-field': true,
|
|
14
15
|
'kup-danger': props.danger,
|
|
@@ -20,14 +21,17 @@ const FTextField = (props, children) => {
|
|
|
20
21
|
'kup-shaped': props.shaped,
|
|
21
22
|
'kup-success': props.success,
|
|
22
23
|
'kup-warning': props.warning,
|
|
24
|
+
[`f-text-field--${props.sizing || 'small'}`]: true,
|
|
23
25
|
[props.wrapperClass]: !!props.wrapperClass,
|
|
24
26
|
};
|
|
27
|
+
const helper = setHelper(props);
|
|
28
|
+
const attachHelperSection = (_b = (_a = props.attachHelperSection) === null || _a === void 0 ? void 0 : _a.call(props, helper)) !== null && _b !== void 0 ? _b : true;
|
|
25
29
|
return (index.h("div", Object.assign({ class: classObj }, props.dataSet, { id: props.id, title: props.title }),
|
|
26
30
|
props.leadingLabel || props.trailingLabel ? (index.h("div", { class: `mdc-form-field ${props.leadingLabel ? 'mdc-form-field--align-end' : ''}` }, [
|
|
27
31
|
setContent(props),
|
|
28
|
-
|
|
32
|
+
attachHelperSection ? helper : null,
|
|
29
33
|
index.h("label", null, props.label),
|
|
30
|
-
])) : ([setContent(props),
|
|
34
|
+
])) : ([setContent(props), attachHelperSection ? helper : null]),
|
|
31
35
|
children));
|
|
32
36
|
};
|
|
33
37
|
/*-------------------------------------------------*/
|
|
@@ -43,7 +47,11 @@ function setContent(props) {
|
|
|
43
47
|
if (props.maxLength >= 256) {
|
|
44
48
|
props.textArea = true;
|
|
45
49
|
}
|
|
46
|
-
if (props.label &&
|
|
50
|
+
if (props.label &&
|
|
51
|
+
!props.leadingLabel &&
|
|
52
|
+
!props.trailingLabel &&
|
|
53
|
+
!props.legacyLook // do not show label in input panel absolute ( legacy mode )
|
|
54
|
+
) {
|
|
47
55
|
labelEl = (index.h("div", { class: "mdc-text-field__label-container" },
|
|
48
56
|
index.h("label", { class: "mdc-label", htmlFor: "kup-input" }, props.label),
|
|
49
57
|
props.maxLength && props.showCounter ? (index.h("div", { class: "mdc-text-field__label-character-counter" },
|
|
@@ -118,7 +126,7 @@ function setContent(props) {
|
|
|
118
126
|
let value = props.value;
|
|
119
127
|
let inputType = props.quantityButtons
|
|
120
128
|
? 'number'
|
|
121
|
-
: (_a = props.inputType) !== null && _a !== void 0 ? _a : 'text';
|
|
129
|
+
: ((_a = props.inputType) !== null && _a !== void 0 ? _a : 'text');
|
|
122
130
|
let persManageForNumberFormat = false;
|
|
123
131
|
if (props.inputType === 'number') {
|
|
124
132
|
inputType = 'text';
|
|
@@ -134,14 +142,6 @@ function setContent(props) {
|
|
|
134
142
|
};
|
|
135
143
|
value = formatValue(value, options, false);
|
|
136
144
|
}
|
|
137
|
-
if (props.textArea) {
|
|
138
|
-
try {
|
|
139
|
-
value = JSON.parse(`"${value}"`);
|
|
140
|
-
}
|
|
141
|
-
catch (e) {
|
|
142
|
-
value = JSON.parse(JSON.stringify(value));
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
145
|
return (index.h("div", { class: classContainerObj },
|
|
146
146
|
!props.fullWidth ? labelEl : undefined,
|
|
147
147
|
index.h("div", { class: classObj },
|
|
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'ketchup';
|
|
24
|
-
const BUILD = /* ketchup */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate:
|
|
24
|
+
const BUILD = /* ketchup */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: true, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: true, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
27
|
Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -74,10 +74,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
74
74
|
}
|
|
75
75
|
switch(bundleId) {
|
|
76
76
|
|
|
77
|
-
case 'kup-
|
|
77
|
+
case 'kup-autocomplete_29.cjs':
|
|
78
78
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
79
79
|
/* webpackMode: "lazy" */
|
|
80
|
-
'./kup-
|
|
80
|
+
'./kup-autocomplete_29.cjs.entry.js')); }).then(processMod, consoleError);
|
|
81
81
|
case 'kup-accordion.cjs':
|
|
82
82
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
83
83
|
/* webpackMode: "lazy" */
|
|
@@ -1186,6 +1186,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
}
|
|
1188
1188
|
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1189
|
+
if (instance.componentShouldUpdate) {
|
|
1190
|
+
if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
|
|
1191
|
+
return;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1189
1194
|
scheduleUpdate(hostRef, false);
|
|
1190
1195
|
}
|
|
1191
1196
|
}
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const kupManager = require('./kup-manager-
|
|
5
|
+
const kupManager = require('./kup-manager-39bc2be8.js');
|
|
6
6
|
require('./kup-dates-bc4cf9d0.js');
|
|
7
|
-
require('./index-
|
|
7
|
+
require('./index-c7d441d8.js');
|
|
8
8
|
|
|
9
9
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
10
10
|
function newKupManager(init) {
|