@sme.up/ketchup 10.1.0 → 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-83ca2b8b.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-286f1c8d.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-0986026c.js → f-object-field-348fa103.js} +13 -6
- package/dist/cjs/{f-paginator-utils-ee281217.js → f-paginator-utils-f951cc54.js} +15 -6
- package/dist/cjs/{f-text-field-463a6dbe.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} +2360 -1472
- 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-c7d3445e.js → kup-data-table-helper-adaa11bb.js} +52 -84
- 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-f41ad314.js → kup-manager-39bc2be8.js} +425 -246
- 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-clock.js +4 -2
- 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 +248 -20
- package/dist/collection/components/kup-card/kup-card.js +5 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +10 -8
- 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 +707 -232
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +3 -3
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +11 -6
- 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 +59 -13
- 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 +57 -9
- 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-paginator/f-paginator.js +10 -2
- 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 +8 -0
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +12 -1
- 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 +11 -2
- 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 +9 -22
- package/dist/collection/utils/filters/filters-declarations.js +1 -1
- package/dist/collection/utils/filters/filters-rows.js +36 -58
- package/dist/collection/utils/filters/filters-tree-items.js +11 -11
- package/dist/collection/utils/filters/filters.js +19 -9
- package/dist/collection/utils/g-cell-style-generator.js +188 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +0 -2
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +10 -10
- 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-5f307bf2.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-ef8026e9.js → p-7d0f1f90.js} +3075 -1532
- package/dist/components/{p-709a51cf.js → p-8472facf.js} +4 -4
- package/dist/components/p-97053b4d.js +45 -0
- package/dist/components/{p-0ac9fd6c.js → p-a0258e6f.js} +69 -29
- package/dist/components/{p-a3f73a90.js → p-b304b91c.js} +423 -246
- package/dist/components/{p-09b28008.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-e30483fa.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-82b9ae70.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-f98be128.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-1a4f54ea.js → f-object-field-b87b6ae6.js} +13 -6
- package/dist/esm/{f-paginator-utils-2fc5cd18.js → f-paginator-utils-04903d74.js} +15 -6
- package/dist/esm/{f-text-field-e766e681.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} +2356 -1469
- 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-e350cc90.js → kup-data-table-helper-13eb7abf.js} +52 -84
- 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-6c75d73b.js → kup-manager-6aa0a1c7.js} +424 -247
- 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-93d6f4a9.entry.js → p-100b8ae7.entry.js} +1 -1
- package/dist/ketchup/{p-bc37db5b.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-865ce089.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-53596bee.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-8be42f5c.js +1 -0
- package/dist/ketchup/p-92431583.entry.js +1 -0
- package/dist/ketchup/{p-50b0da0c.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-543f99d3.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-cdf92c8b.entry.js → p-d8dbf3df.entry.js} +1 -1
- package/dist/ketchup/{p-fe190410.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-d8ef1613.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-03d1cafc.entry.js → p-f8a027a1.entry.js} +2 -2
- package/dist/ketchup/{p-bdd3e0a4.entry.js → p-fb775526.entry.js} +1 -1
- package/dist/ketchup/{p-2133fdbb.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 +8 -1
- 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 +296 -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-paginator/f-paginator-declarations.d.ts +1 -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 +12 -4
- 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 +4 -2
- package/dist/types/utils/g-cell-style-generator.d.ts +2 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +1 -3
- 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-1206f77c.entry.js +0 -9
- package/dist/ketchup/p-153b7eda.js +0 -1
- package/dist/ketchup/p-2d3a89a0.entry.js +0 -1
- package/dist/ketchup/p-35e17994.entry.js +0 -1
- package/dist/ketchup/p-3f41285f.entry.js +0 -1
- package/dist/ketchup/p-4bbc1e40.entry.js +0 -1
- package/dist/ketchup/p-4c0d6ec5.entry.js +0 -1
- package/dist/ketchup/p-5ee25762.js +0 -1
- package/dist/ketchup/p-60cdaa75.entry.js +0 -1
- package/dist/ketchup/p-60e8333c.entry.js +0 -1
- package/dist/ketchup/p-7585373e.entry.js +0 -1
- package/dist/ketchup/p-792e9244.entry.js +0 -1
- package/dist/ketchup/p-7a36e244.js +0 -1
- package/dist/ketchup/p-7a4f5182.js +0 -1
- package/dist/ketchup/p-7c078bc1.entry.js +0 -1
- package/dist/ketchup/p-7fbb8a80.entry.js +0 -1
- package/dist/ketchup/p-8b97f53e.js +0 -1
- package/dist/ketchup/p-97fe2d0c.entry.js +0 -1
- package/dist/ketchup/p-9b92dd8f.entry.js +0 -1
- package/dist/ketchup/p-a781d278.entry.js +0 -1
- package/dist/ketchup/p-b120abd7.js +0 -1
- package/dist/ketchup/p-c5614700.js +0 -21
- package/dist/ketchup/p-ce31744e.entry.js +0 -1
- package/dist/ketchup/p-d104a456.js +0 -1
- package/dist/ketchup/p-d39c3267.js +0 -1
- package/dist/ketchup/p-e7f6ca6c.entry.js +0 -1
- package/dist/ketchup/p-eb908331.entry.js +0 -1
- package/dist/ketchup/p-f38c2d0e.entry.js +0 -16
- package/dist/ketchup/p-f648a3cb.entry.js +0 -1
- package/dist/ketchup/p-f8c8cc84.js +0 -1
|
@@ -9,6 +9,7 @@ import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc"
|
|
|
9
9
|
import { KupCardFamily, } from "../kup-card/kup-card-declarations";
|
|
10
10
|
import { KupDynamicPositionPlacement } from "../../managers/kup-dynamic-position/kup-dynamic-position-declarations";
|
|
11
11
|
import { KupDatesFormats } from "../../managers/kup-dates/kup-dates-declarations";
|
|
12
|
+
import { FILTER_ANALYZER } from "../../utils/filters/filters-declarations";
|
|
12
13
|
export class KupTimePicker {
|
|
13
14
|
constructor() {
|
|
14
15
|
/*-------------------------------------------------*/
|
|
@@ -26,6 +27,7 @@ export class KupTimePicker {
|
|
|
26
27
|
this.pickerKupEl = undefined;
|
|
27
28
|
this.clickCb = null;
|
|
28
29
|
this.value = '';
|
|
30
|
+
this.appendSelection = false;
|
|
29
31
|
this.clockVariant = true;
|
|
30
32
|
this.customStyle = '';
|
|
31
33
|
this.data = {};
|
|
@@ -55,12 +57,12 @@ export class KupTimePicker {
|
|
|
55
57
|
});
|
|
56
58
|
this.setFocus();
|
|
57
59
|
}
|
|
58
|
-
onKupClearIconClick() {
|
|
59
|
-
this.
|
|
60
|
+
async onKupClearIconClick() {
|
|
61
|
+
this.value = '';
|
|
60
62
|
this.kupChange.emit({
|
|
61
63
|
comp: this,
|
|
62
64
|
id: this.rootElement.id,
|
|
63
|
-
value: this.
|
|
65
|
+
value: await this.getValue(),
|
|
64
66
|
});
|
|
65
67
|
this.kupClearIconClick.emit({
|
|
66
68
|
comp: this,
|
|
@@ -147,6 +149,10 @@ export class KupTimePicker {
|
|
|
147
149
|
return;
|
|
148
150
|
}
|
|
149
151
|
}
|
|
152
|
+
watchInitialValue() {
|
|
153
|
+
this.setValue(this.initialValue);
|
|
154
|
+
this.refresh();
|
|
155
|
+
}
|
|
150
156
|
/*-------------------------------------------------*/
|
|
151
157
|
/* P u b l i c M e t h o d s */
|
|
152
158
|
/*-------------------------------------------------*/
|
|
@@ -201,11 +207,13 @@ export class KupTimePicker {
|
|
|
201
207
|
}
|
|
202
208
|
refreshPickerValue(eventDetailValue, eventToRaise) {
|
|
203
209
|
let newValue = null;
|
|
204
|
-
|
|
210
|
+
const isValidFilter = FILTER_ANALYZER.test(eventDetailValue);
|
|
211
|
+
if (this.kupManager.dates.isValidFormattedStringTime(eventDetailValue, this.manageSeconds) ||
|
|
212
|
+
isValidFilter) {
|
|
205
213
|
this.value = eventDetailValue;
|
|
206
214
|
newValue = this.value;
|
|
207
215
|
}
|
|
208
|
-
if (newValue != null) {
|
|
216
|
+
if (newValue != null && eventToRaise) {
|
|
209
217
|
eventToRaise.emit({
|
|
210
218
|
comp: this,
|
|
211
219
|
id: this.rootElement.id,
|
|
@@ -227,7 +235,17 @@ export class KupTimePicker {
|
|
|
227
235
|
if (newValue == null) {
|
|
228
236
|
return;
|
|
229
237
|
}
|
|
230
|
-
this.
|
|
238
|
+
if (this.appendSelection && newValue) {
|
|
239
|
+
// Append behavior: combine current value with the new one
|
|
240
|
+
const currentValue = this.textfieldEl.value;
|
|
241
|
+
const formattedDate = this.kupManager.dates.timeStringToFormattedString(newValue, this.manageSeconds);
|
|
242
|
+
const combinedValue = currentValue + formattedDate;
|
|
243
|
+
this.refreshPickerValue(combinedValue, undefined);
|
|
244
|
+
}
|
|
245
|
+
else {
|
|
246
|
+
// Default behavior: replace the entire value
|
|
247
|
+
this.value = newValue;
|
|
248
|
+
}
|
|
231
249
|
}
|
|
232
250
|
getPickerValueSelected() {
|
|
233
251
|
return this.value;
|
|
@@ -311,10 +329,13 @@ export class KupTimePicker {
|
|
|
311
329
|
return idConc.indexOf('#' + id + '#') >= 0;
|
|
312
330
|
}
|
|
313
331
|
prepTimePicker() {
|
|
332
|
+
const startingValue = this.kupManager.dates.isValidFormattedStringTime(this.value, this.manageSeconds)
|
|
333
|
+
? this.getTimeForOutput()
|
|
334
|
+
: '';
|
|
314
335
|
if (this.clockVariant) {
|
|
315
336
|
const data = {
|
|
316
337
|
options: {
|
|
317
|
-
initialValue:
|
|
338
|
+
initialValue: startingValue,
|
|
318
339
|
manageSeconds: this.manageSeconds,
|
|
319
340
|
hoursActive: this.hoursActive,
|
|
320
341
|
minutesActive: this.minutesActive,
|
|
@@ -327,7 +348,7 @@ export class KupTimePicker {
|
|
|
327
348
|
} }));
|
|
328
349
|
}
|
|
329
350
|
else {
|
|
330
|
-
return (h("kup-list", { ref: (el) => (this.pickerKupEl = el), data: this.createTimeListData(
|
|
351
|
+
return (h("kup-list", { ref: (el) => (this.pickerKupEl = el), data: this.createTimeListData(startingValue), "is-menu": true, "onkup-list-click": (e) => this.onKupTimePickerItemClick(e, e.detail.selected.id), id: this.rootElement.id + '_list' }));
|
|
331
352
|
}
|
|
332
353
|
}
|
|
333
354
|
createTimeListData(value) {
|
|
@@ -369,6 +390,9 @@ export class KupTimePicker {
|
|
|
369
390
|
if (this.value == null || this.value.trim() == '') {
|
|
370
391
|
return '';
|
|
371
392
|
}
|
|
393
|
+
if (FILTER_ANALYZER.test(this.value)) {
|
|
394
|
+
return this.value;
|
|
395
|
+
}
|
|
372
396
|
let v1 = this.kupManager.dates.timeStringToFormattedString(this.value, this.manageSeconds);
|
|
373
397
|
return v1;
|
|
374
398
|
}
|
|
@@ -407,7 +431,7 @@ export class KupTimePicker {
|
|
|
407
431
|
this.kupManager.debug.logRender(this, true);
|
|
408
432
|
}
|
|
409
433
|
render() {
|
|
410
|
-
return (h(Host, { key: '
|
|
434
|
+
return (h(Host, { key: '997fb07059e92499bd05e903bc1386d474158422' }, h("style", { key: 'aa3545fd8451391ca1eb53c88b61aea1aec9d30d' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'ca27bff1abeafddae9279398a31c3c83fa04aa47', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
411
435
|
}
|
|
412
436
|
disconnectedCallback() {
|
|
413
437
|
this.kupManager.dates.unregister(this);
|
|
@@ -430,6 +454,27 @@ export class KupTimePicker {
|
|
|
430
454
|
}
|
|
431
455
|
static get properties() {
|
|
432
456
|
return {
|
|
457
|
+
"appendSelection": {
|
|
458
|
+
"type": "boolean",
|
|
459
|
+
"mutable": false,
|
|
460
|
+
"complexType": {
|
|
461
|
+
"original": "boolean",
|
|
462
|
+
"resolved": "boolean",
|
|
463
|
+
"references": {}
|
|
464
|
+
},
|
|
465
|
+
"required": false,
|
|
466
|
+
"optional": false,
|
|
467
|
+
"docs": {
|
|
468
|
+
"tags": [{
|
|
469
|
+
"name": "default",
|
|
470
|
+
"text": "false"
|
|
471
|
+
}],
|
|
472
|
+
"text": "When set to true, the selected date will be appended to the current value\r\ninstead of replacing it."
|
|
473
|
+
},
|
|
474
|
+
"attribute": "append-selection",
|
|
475
|
+
"reflect": false,
|
|
476
|
+
"defaultValue": "false"
|
|
477
|
+
},
|
|
433
478
|
"clockVariant": {
|
|
434
479
|
"type": "boolean",
|
|
435
480
|
"mutable": false,
|
|
@@ -966,6 +1011,9 @@ export class KupTimePicker {
|
|
|
966
1011
|
return [{
|
|
967
1012
|
"propName": "timeMinutesStep",
|
|
968
1013
|
"methodName": "watchTimeMinutesStep"
|
|
1014
|
+
}, {
|
|
1015
|
+
"propName": "initialValue",
|
|
1016
|
+
"methodName": "watchInitialValue"
|
|
969
1017
|
}];
|
|
970
1018
|
}
|
|
971
1019
|
static get listeners() {
|
|
@@ -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;
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
.parent-class {
|
|
146
146
|
position: relative;
|
|
147
147
|
cursor: pointer;
|
|
148
|
-
width:
|
|
148
|
+
min-width: 175px;
|
|
149
149
|
background-color: var(--kup-gray-color-10);
|
|
150
150
|
display: flex;
|
|
151
151
|
justify-content: space-between;
|
|
@@ -165,6 +165,11 @@
|
|
|
165
165
|
display: flex;
|
|
166
166
|
gap: 8px;
|
|
167
167
|
align-items: center;
|
|
168
|
+
font-family: var(--kup-font-family);
|
|
169
|
+
font-size: var(--kup-body-compact-01-font-size, 14px);
|
|
170
|
+
line-height: 18px;
|
|
171
|
+
font-weight: 400;
|
|
172
|
+
letter-spacing: 0.16px;
|
|
168
173
|
}
|
|
169
174
|
.parent-class:hover:not(.toolbar-item-disabled):not(:has(> .f-cell)) {
|
|
170
175
|
background-color: var(--kup-gray-color-10-hover);
|
|
@@ -233,12 +238,4 @@
|
|
|
233
238
|
}
|
|
234
239
|
.nested-class .f-cell .f-cell__content .f-radio .form-field:hover {
|
|
235
240
|
background-color: var(--kup-gray-color-10-hover);
|
|
236
|
-
}
|
|
237
|
-
.nested-class .f-cell .f-cell__content .f-radio .form-field .radio {
|
|
238
|
-
padding: var(--kup-space-03) 0 var(--kup-space-03) var(--kup-space-03);
|
|
239
|
-
}
|
|
240
|
-
.nested-class .f-cell .f-cell__content .f-radio .form-field label {
|
|
241
|
-
width: 100%;
|
|
242
|
-
cursor: pointer;
|
|
243
|
-
padding: var(--kup-space-03);
|
|
244
241
|
}
|
|
@@ -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;
|
|
@@ -204,6 +204,13 @@
|
|
|
204
204
|
color: var(--kup_tree_text_color);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
.density-extra_dense .wrapper .kup-tree td:not(.grid-cell),
|
|
208
|
+
.density-extra_dense .wrapper .kup-tree th,
|
|
209
|
+
.density-extra_dense .wrapper .kup-tree td:not(.grid-cell),
|
|
210
|
+
.density-extra_dense .wrapper .kup-tree th {
|
|
211
|
+
padding: var(--kup-space-02) var(--kup-space-03);
|
|
212
|
+
}
|
|
213
|
+
|
|
207
214
|
.density-dense .wrapper .kup-tree td:not(.grid-cell),
|
|
208
215
|
.density-dense .wrapper .kup-tree th,
|
|
209
216
|
.density-dense .wrapper .kup-tree td:not(.grid-cell),
|
|
@@ -248,7 +255,7 @@
|
|
|
248
255
|
.wrapper .kup-tree thead.header--is-visible th span {
|
|
249
256
|
color: var(--kup_tree_header_text_color);
|
|
250
257
|
font-family: var(--kup-font-family);
|
|
251
|
-
font-size: 14px;
|
|
258
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
252
259
|
line-height: 18px;
|
|
253
260
|
font-weight: 600;
|
|
254
261
|
letter-spacing: 0.16px;
|
|
@@ -348,9 +355,9 @@
|
|
|
348
355
|
.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td {
|
|
349
356
|
background-color: var(--kup_tree_tr_background_color_hover);
|
|
350
357
|
color: var(--kup_tree_text_hover_color);
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
358
|
+
/*.kup-icon {
|
|
359
|
+
background-color: var(--kup_tree_text_hover_color);
|
|
360
|
+
}*/
|
|
354
361
|
}
|
|
355
362
|
.wrapper .kup-tree__node--selected:not(.kup-tree__node--disabled) td {
|
|
356
363
|
background-color: var(--kup_tree_tr_background_color_focus);
|
|
@@ -438,6 +445,9 @@ tfoot td:first-of-type {
|
|
|
438
445
|
.totals-value {
|
|
439
446
|
font-weight: bold;
|
|
440
447
|
}
|
|
448
|
+
.totals-value.danger-text {
|
|
449
|
+
color: var(--kup-danger-color-60) !important;
|
|
450
|
+
}
|
|
441
451
|
|
|
442
452
|
:host([as-accordion]) .wrapper .kup-tree thead {
|
|
443
453
|
display: table-header-group;
|
|
@@ -448,11 +458,14 @@ tfoot td:first-of-type {
|
|
|
448
458
|
}
|
|
449
459
|
:host([as-accordion]) .wrapper .kup-tree thead tr th span {
|
|
450
460
|
font-family: var(--kup-font-family);
|
|
451
|
-
font-size: 14px;
|
|
461
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
452
462
|
line-height: 18px;
|
|
453
463
|
font-weight: 600;
|
|
454
464
|
letter-spacing: 0.16px;
|
|
455
465
|
}
|
|
466
|
+
:host([as-accordion]) .density-extra_dense .first-node:not(.grid-cell) {
|
|
467
|
+
padding: var(--kup-space-02) var(--kup-space-03);
|
|
468
|
+
}
|
|
456
469
|
:host([as-accordion]) .density-dense .first-node:not(.grid-cell) {
|
|
457
470
|
padding: 0.5em 1em;
|
|
458
471
|
}
|
|
@@ -493,7 +506,6 @@ tfoot td:first-of-type {
|
|
|
493
506
|
:host([as-accordion]) .kup-tree__node--first .kup-tree__icon {
|
|
494
507
|
margin-left: 0;
|
|
495
508
|
margin-right: var(--kup-space-03);
|
|
496
|
-
min-width: 1.5em;
|
|
497
509
|
}
|
|
498
510
|
:host([as-accordion]) .kup-tree__node--first .cell-content {
|
|
499
511
|
margin-right: 0.5em;
|
|
@@ -503,11 +515,10 @@ tfoot td:first-of-type {
|
|
|
503
515
|
}
|
|
504
516
|
:host([as-accordion]) .kup-tree__node--first .kup-dropdown-icon {
|
|
505
517
|
background-color: var(--kup_tree_icon_color);
|
|
506
|
-
height:
|
|
518
|
+
height: 1em;
|
|
507
519
|
margin-left: auto;
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
width: 1.5em;
|
|
520
|
+
min-width: 1em;
|
|
521
|
+
width: 1em;
|
|
511
522
|
transition: transform 0.1s;
|
|
512
523
|
}
|
|
513
524
|
:host([as-accordion]) .kup-tree__node:not(.kup-tree__node--first) + .kup-tree__node--first {
|
|
@@ -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 _KupTree_kupManager;
|
|
8
|
+
var _KupTree_instances, _KupTree_checkUpdateState, _KupTree_kupManager;
|
|
9
9
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
10
10
|
import { TotalLabel, TotalMode, } from "./../kup-data-table/kup-data-table-declarations";
|
|
11
11
|
import { KupTreeProps, treeMainColumnName, KupTreeExpansionMode, } from "./kup-tree-declarations";
|
|
@@ -13,18 +13,20 @@ import { MDCRipple } from "@material/ripple";
|
|
|
13
13
|
import { kupManagerInstance, } from "../../managers/kup-manager/kup-manager";
|
|
14
14
|
import { calcTotals, normalizeRows, } from "../kup-data-table/kup-data-table-helper";
|
|
15
15
|
import { KupTreeState } from "./kup-tree-state";
|
|
16
|
-
import { getColumnByName, getValueForDisplay } from "../../utils/cell-utils";
|
|
16
|
+
import { getColumnByName, getValueForDisplay, isNegativeNumber, } from "../../utils/cell-utils";
|
|
17
17
|
import { getProps, setProps } from "../../utils/utils";
|
|
18
18
|
import { KupColumnMenu } from "../../utils/kup-column-menu/kup-column-menu";
|
|
19
19
|
import { FiltersColumnMenu } from "../../utils/filters/filters-column-menu";
|
|
20
20
|
import { KupGlobalFilterMode, } from "../../utils/filters/filters-declarations";
|
|
21
21
|
import { FiltersTreeItems } from "../../utils/filters/filters-tree-items";
|
|
22
|
+
import { ItemsDisplayMode, } from "../kup-list/kup-list-declarations";
|
|
23
|
+
import { KupComponentSizing, } from "../../types/GenericTypes";
|
|
22
24
|
import { kupDynamicPositionAttribute, } from "../../managers/kup-dynamic-position/kup-dynamic-position-declarations";
|
|
23
25
|
import { KupLanguageGeneric, KupLanguageSearch, KupLanguageTotals, } from "../../managers/kup-language/kup-language-declarations";
|
|
24
26
|
import { componentWrapperId } from "../../variables/GenericVariables";
|
|
25
27
|
import { KupThemeIconValues } from "../../managers/kup-theme/kup-theme-declarations";
|
|
26
28
|
import { KupPointerEventTypes } from "../../managers/kup-interact/kup-interact-declarations";
|
|
27
|
-
import { FCellPadding, } from "../../f-components/f-cell/f-cell-declarations";
|
|
29
|
+
import { FCellClasses, FCellPadding, } from "../../f-components/f-cell/f-cell-declarations";
|
|
28
30
|
import { FCell } from "../../f-components/f-cell/f-cell";
|
|
29
31
|
import { KupDebugCategory } from "../../managers/kup-debug/kup-debug-declarations";
|
|
30
32
|
import { FTextFieldMDC } from "../../f-components/f-text-field/f-text-field-mdc";
|
|
@@ -32,6 +34,7 @@ import { FImage } from "../../f-components/f-image/f-image";
|
|
|
32
34
|
import { isExpandable } from "./kup-tree-helper";
|
|
33
35
|
export class KupTree {
|
|
34
36
|
constructor() {
|
|
37
|
+
_KupTree_instances.add(this);
|
|
35
38
|
/*-------------------------------------------------*/
|
|
36
39
|
/* S t a t e s */
|
|
37
40
|
/*-------------------------------------------------*/
|
|
@@ -66,7 +69,7 @@ export class KupTree {
|
|
|
66
69
|
this.columns = undefined;
|
|
67
70
|
this.customStyle = '';
|
|
68
71
|
this.data = [];
|
|
69
|
-
this.density = FCellPadding.
|
|
72
|
+
this.density = FCellPadding.EXTRA_DENSE;
|
|
70
73
|
this.dynamicExpansionCallback = undefined;
|
|
71
74
|
this.editableData = false;
|
|
72
75
|
this.enableExtraColumns = true;
|
|
@@ -90,9 +93,11 @@ export class KupTree {
|
|
|
90
93
|
this.store = undefined;
|
|
91
94
|
this.useDynamicExpansion = false;
|
|
92
95
|
this.totals = undefined;
|
|
96
|
+
this.displayMode = ItemsDisplayMode.CODE_AND_DESC;
|
|
93
97
|
}
|
|
94
98
|
initWithPersistedState() {
|
|
95
99
|
if (this.store && this.stateId) {
|
|
100
|
+
this.state.load = true;
|
|
96
101
|
const state = this.store.getState(this.stateId);
|
|
97
102
|
if (state != null) {
|
|
98
103
|
this.density = state.density;
|
|
@@ -107,35 +112,7 @@ export class KupTree {
|
|
|
107
112
|
}
|
|
108
113
|
persistState() {
|
|
109
114
|
if (this.store && this.stateId) {
|
|
110
|
-
let somethingChanged =
|
|
111
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
112
|
-
this.state.filters = Object.assign({}, this.filters);
|
|
113
|
-
somethingChanged = true;
|
|
114
|
-
}
|
|
115
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
|
|
116
|
-
this.state.density = this.density;
|
|
117
|
-
somethingChanged = true;
|
|
118
|
-
}
|
|
119
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
|
|
120
|
-
this.state.showFilters = this.showFilters;
|
|
121
|
-
somethingChanged = true;
|
|
122
|
-
}
|
|
123
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
|
|
124
|
-
this.state.showFooter = this.showFooter;
|
|
125
|
-
somethingChanged = true;
|
|
126
|
-
}
|
|
127
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
|
|
128
|
-
this.state.totals = Object.assign({}, this.totals);
|
|
129
|
-
somethingChanged = true;
|
|
130
|
-
}
|
|
131
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
|
|
132
|
-
this.state.globalFilter = this.globalFilter;
|
|
133
|
-
somethingChanged = true;
|
|
134
|
-
}
|
|
135
|
-
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
136
|
-
this.state.globalFilterValue = this.globalFilterValue;
|
|
137
|
-
somethingChanged = true;
|
|
138
|
-
}
|
|
115
|
+
let somethingChanged = __classPrivateFieldGet(this, _KupTree_instances, "m", _KupTree_checkUpdateState).call(this);
|
|
139
116
|
if (!this.state.load) {
|
|
140
117
|
this.state.load = true;
|
|
141
118
|
return;
|
|
@@ -917,6 +894,7 @@ export class KupTree {
|
|
|
917
894
|
* @returns The the JSX created from the current tree node.
|
|
918
895
|
*/
|
|
919
896
|
renderTreeNode(treeNodeData, treeNodePath, treeNodeDepth = 0) {
|
|
897
|
+
var _a, _b, _c, _d, _e, _f;
|
|
920
898
|
// Creates the indentation of the current element. Use a css variable to specify padding.
|
|
921
899
|
let indent = treeNodeDepth ? (h("span", { class: "kup-tree__indent", style: {
|
|
922
900
|
['--kup_tree_node_depth']: this.asAccordion
|
|
@@ -1028,13 +1006,25 @@ export class KupTree {
|
|
|
1028
1006
|
';';
|
|
1029
1007
|
}
|
|
1030
1008
|
let treeNodeCell = null;
|
|
1009
|
+
let nodeValue;
|
|
1010
|
+
switch (this.displayMode) {
|
|
1011
|
+
case ItemsDisplayMode.CODE:
|
|
1012
|
+
nodeValue = (_b = (_a = treeNodeData.obj) === null || _a === void 0 ? void 0 : _a.k) !== null && _b !== void 0 ? _b : '';
|
|
1013
|
+
break;
|
|
1014
|
+
case ItemsDisplayMode.DESCRIPTION:
|
|
1015
|
+
nodeValue = (_c = treeNodeData.value) !== null && _c !== void 0 ? _c : '';
|
|
1016
|
+
break;
|
|
1017
|
+
default:
|
|
1018
|
+
nodeValue = `${(_e = (_d = treeNodeData.obj) === null || _d === void 0 ? void 0 : _d.k) !== null && _e !== void 0 ? _e : ''}: ${(_f = treeNodeData.value) !== null && _f !== void 0 ? _f : ''}`;
|
|
1019
|
+
break;
|
|
1020
|
+
}
|
|
1031
1021
|
if (this.isTreeColumnVisible()) {
|
|
1032
1022
|
let content = '';
|
|
1033
1023
|
if (KupGlobalFilterMode.HIGHLIGHT === this.globalFilterMode) {
|
|
1034
1024
|
content = this.renderHighlightedContent(treeNodeData.value, this.globalFilterValue, 'cell-content');
|
|
1035
1025
|
}
|
|
1036
1026
|
else {
|
|
1037
|
-
content = (h("span", { ref: (el) => this.contentRefs.push(el), class: "cell-content", title: this.preventXScroll ? treeNodeData.value : null },
|
|
1027
|
+
content = (h("span", { ref: (el) => this.contentRefs.push(el), class: "cell-content", title: this.preventXScroll ? treeNodeData.value : null }, nodeValue));
|
|
1038
1028
|
}
|
|
1039
1029
|
treeNodeCell = (h("td", { class: {
|
|
1040
1030
|
'first-node': treeNodeDepth === 0 ? true : false,
|
|
@@ -1173,10 +1163,13 @@ export class KupTree {
|
|
|
1173
1163
|
}
|
|
1174
1164
|
totalMenu = (h("kup-list", { class: `total-menu`, data: listData, id: "totals-menu", "is-menu": true, keyboardNavigation: true, "menu-visible": true, "onkup-list-click": (event) => this.onTotalsChange(event, column) }));
|
|
1175
1165
|
}
|
|
1176
|
-
const
|
|
1166
|
+
const totalValue = this.footer[column.name] != null
|
|
1177
1167
|
? getValueForDisplay(this.footer[column.name], column.obj, column.decimals)
|
|
1178
1168
|
: '';
|
|
1179
|
-
|
|
1169
|
+
const totalsClass = `totals-value ${isNegativeNumber(this.footer[column.name])
|
|
1170
|
+
? FCellClasses.TEXT_DANGER
|
|
1171
|
+
: ''}`;
|
|
1172
|
+
return (h("td", { "data-column": column.name }, totalMenu, h("span", { class: totalsClass, title: translation[menuLabel] }, totalValue)));
|
|
1180
1173
|
});
|
|
1181
1174
|
return (h("tfoot", null, h("tr", null, nodesCell, footerCells)));
|
|
1182
1175
|
}
|
|
@@ -1332,7 +1325,7 @@ export class KupTree {
|
|
|
1332
1325
|
render() {
|
|
1333
1326
|
this.contentRefs = [];
|
|
1334
1327
|
this.sizedColumns = this.getSizedColumns();
|
|
1335
|
-
let wrapperClass =
|
|
1328
|
+
let wrapperClass = `density-${this.density}`;
|
|
1336
1329
|
const wrapperStyle = Object.assign({}, (this.treeHeight
|
|
1337
1330
|
? {
|
|
1338
1331
|
maxHeight: this.treeHeight,
|
|
@@ -1365,17 +1358,17 @@ export class KupTree {
|
|
|
1365
1358
|
this.data &&
|
|
1366
1359
|
this.data.length &&
|
|
1367
1360
|
this.data.length > 0) {
|
|
1368
|
-
filterField = (h("div", { key: '
|
|
1361
|
+
filterField = (h("div", { key: 'e68236c35b28dc74903b90003d4a1240b569f366', id: "global-filter" }, h("kup-text-field", { key: '526bdfb87cd35eb6168a1bf3334fde8323e45be1', fullWidth: true, label: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1369
1362
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1370
1363
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1371
1364
|
} })));
|
|
1372
1365
|
}
|
|
1373
|
-
return (h(Host, { key: '
|
|
1374
|
-
el) }, h("table", { key: '
|
|
1366
|
+
return (h(Host, { key: 'c369bdb6e28db1beb946f3a715a8421fe3e2a701' }, h("style", { key: '82c896b8da6ef3e31158198388bb0664096b2c49' }, __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'f2d74776516574f96aab1ca357f9da575a577bfd', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h("div", { key: '7944337733b78bed4ac37052fff0a03d4a7e03b0', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
1367
|
+
el) }, h("table", { key: 'd63479c278a53d922ad04aa335dd1744a19def0a', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
1375
1368
|
e.preventDefault();
|
|
1376
|
-
} }, h("thead", { key: '
|
|
1369
|
+
} }, h("thead", { key: '98aa898b8f23b08d2e0813bb86f64c7d51a6c246', class: {
|
|
1377
1370
|
'header--is-visible': visibleHeader,
|
|
1378
|
-
} }, h("tr", { key: '
|
|
1371
|
+
} }, h("tr", { key: 'cba9c76ebbaa03e58069683bff831507ce51e0fa' }, visibleHeader ? this.renderHeader() : null)), h("tbody", { key: 'f4a869f9406a8c4a7fd9158cca6db016054ddea8' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
1379
1372
|
this.columns
|
|
1380
1373
|
? this.renderFooter()
|
|
1381
1374
|
: null)))));
|
|
@@ -1504,7 +1497,7 @@ export class KupTree {
|
|
|
1504
1497
|
"mutable": false,
|
|
1505
1498
|
"complexType": {
|
|
1506
1499
|
"original": "FCellPadding",
|
|
1507
|
-
"resolved": "FCellPadding.DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
1500
|
+
"resolved": "FCellPadding.DENSE | FCellPadding.EXTRA_DENSE | FCellPadding.MEDIUM | FCellPadding.NONE | FCellPadding.WIDE",
|
|
1508
1501
|
"references": {
|
|
1509
1502
|
"FCellPadding": {
|
|
1510
1503
|
"location": "import",
|
|
@@ -1521,7 +1514,7 @@ export class KupTree {
|
|
|
1521
1514
|
},
|
|
1522
1515
|
"attribute": "density",
|
|
1523
1516
|
"reflect": false,
|
|
1524
|
-
"defaultValue": "FCellPadding.
|
|
1517
|
+
"defaultValue": "FCellPadding.EXTRA_DENSE"
|
|
1525
1518
|
},
|
|
1526
1519
|
"dynamicExpansionCallback": {
|
|
1527
1520
|
"type": "unknown",
|
|
@@ -1992,6 +1985,30 @@ export class KupTree {
|
|
|
1992
1985
|
"tags": [],
|
|
1993
1986
|
"text": "Defines the current totals options."
|
|
1994
1987
|
}
|
|
1988
|
+
},
|
|
1989
|
+
"displayMode": {
|
|
1990
|
+
"type": "string",
|
|
1991
|
+
"mutable": false,
|
|
1992
|
+
"complexType": {
|
|
1993
|
+
"original": "ItemsDisplayMode",
|
|
1994
|
+
"resolved": "ItemsDisplayMode.CODE | ItemsDisplayMode.CODE_AND_DESC | ItemsDisplayMode.CODE_AND_DESC_ALIAS | ItemsDisplayMode.DESCRIPTION | ItemsDisplayMode.DESC_AND_CODE",
|
|
1995
|
+
"references": {
|
|
1996
|
+
"ItemsDisplayMode": {
|
|
1997
|
+
"location": "import",
|
|
1998
|
+
"path": "../kup-list/kup-list-declarations",
|
|
1999
|
+
"id": "src/components/kup-list/kup-list-declarations.ts::ItemsDisplayMode"
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
},
|
|
2003
|
+
"required": false,
|
|
2004
|
+
"optional": false,
|
|
2005
|
+
"docs": {
|
|
2006
|
+
"tags": [],
|
|
2007
|
+
"text": ""
|
|
2008
|
+
},
|
|
2009
|
+
"attribute": "display-mode",
|
|
2010
|
+
"reflect": false,
|
|
2011
|
+
"defaultValue": "ItemsDisplayMode.CODE_AND_DESC"
|
|
1995
2012
|
}
|
|
1996
2013
|
};
|
|
1997
2014
|
}
|
|
@@ -2589,4 +2606,35 @@ export class KupTree {
|
|
|
2589
2606
|
}];
|
|
2590
2607
|
}
|
|
2591
2608
|
}
|
|
2592
|
-
_KupTree_kupManager = new WeakMap()
|
|
2609
|
+
_KupTree_kupManager = new WeakMap(), _KupTree_instances = new WeakSet(), _KupTree_checkUpdateState = function _KupTree_checkUpdateState() {
|
|
2610
|
+
let somethingChanged = false;
|
|
2611
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
2612
|
+
this.state.filters = Object.assign({}, this.filters);
|
|
2613
|
+
somethingChanged = true;
|
|
2614
|
+
}
|
|
2615
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
|
|
2616
|
+
this.state.density = this.density;
|
|
2617
|
+
somethingChanged = true;
|
|
2618
|
+
}
|
|
2619
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
|
|
2620
|
+
this.state.showFilters = this.showFilters;
|
|
2621
|
+
somethingChanged = true;
|
|
2622
|
+
}
|
|
2623
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
|
|
2624
|
+
this.state.showFooter = this.showFooter;
|
|
2625
|
+
somethingChanged = true;
|
|
2626
|
+
}
|
|
2627
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
|
|
2628
|
+
this.state.totals = Object.assign({}, this.totals);
|
|
2629
|
+
somethingChanged = true;
|
|
2630
|
+
}
|
|
2631
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
|
|
2632
|
+
this.state.globalFilter = this.globalFilter;
|
|
2633
|
+
somethingChanged = true;
|
|
2634
|
+
}
|
|
2635
|
+
if (!__classPrivateFieldGet(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
2636
|
+
this.state.globalFilterValue = this.globalFilterValue;
|
|
2637
|
+
somethingChanged = true;
|
|
2638
|
+
}
|
|
2639
|
+
return somethingChanged;
|
|
2640
|
+
};
|
|
@@ -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;
|
|
@@ -74,7 +74,7 @@ export class KupTxt {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const value = this.getValue();
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: '05b83ab932103ec9ebeeff7bfaffc3d2def6d945' }, h("style", { key: 'd1207c1f47fa24a6acecbc49a765e9f2926f3c7d' }, __classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'fce2b328dbb5bbb4255548bed43e429fc28fec40', id: componentWrapperId }, h("div", { key: '399fb51322b4b0567738f7f7472eae2ea3f40261', innerHTML: value }))));
|
|
78
78
|
}
|
|
79
79
|
disconnectedCallback() {
|
|
80
80
|
__classPrivateFieldGet(this, _KupTxt_kupManager, "f").theme.unregister(this);
|
|
@@ -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;
|