@sme.up/ketchup 11.0.0-SNAPSHOT-20250204102909 → 11.0.0-SNAPSHOT-20250204113836
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-cell-f0ab65b9.js → f-cell-bc053135.js} +6 -4
- package/dist/cjs/{f-chip-35f8c5a9.js → f-chip-a913f6db.js} +1 -1
- package/dist/cjs/{f-object-field-5fc4341f.js → f-object-field-eabecff2.js} +2 -2
- package/dist/cjs/{f-paginator-utils-0c423047.js → f-paginator-utils-de023500.js} +1 -1
- package/dist/cjs/{f-text-field-cb62a970.js → f-text-field-8a765845.js} +1 -1
- package/dist/cjs/index-e8aa3c73.js +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_29.cjs.entry.js} +1071 -876
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +12 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-675f75cd.js → kup-data-table-helper-1da4e593.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- package/dist/cjs/kup-input-panel.cjs.entry.js +7 -7
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-80148a95.js → kup-manager-3b86b8d0.js} +25 -2
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/kup-pdf.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/kup-cell/kup-cell.js +27 -2
- package/dist/collection/components/kup-data-table/kup-data-table.js +23 -10
- 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 +423 -0
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +1 -1
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +3 -0
- package/dist/collection/f-components/f-cell/f-cell.js +2 -0
- package/dist/collection/managers/kup-data/kup-data.js +2 -0
- package/dist/collection/managers/kup-language/kup-language-declarations.js +9 -0
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +2 -0
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +21 -16
- package/dist/components/kup-activity-timeline.js +21 -16
- 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 +21 -16
- package/dist/components/kup-card-list.js +22 -17
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +28 -18
- 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-dashboard.js +21 -16
- 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 +21 -16
- 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 +23 -18
- 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 +22 -17
- package/dist/components/kup-iframe.js +21 -16
- package/dist/components/kup-image-list.js +24 -19
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +25 -20
- package/dist/components/kup-lazy.js +32 -27
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +28 -23
- package/dist/components/kup-nav-bar.js +22 -17
- package/dist/components/kup-numeric-picker.js +22 -17
- package/dist/components/kup-object-field.js +22 -17
- package/dist/components/kup-pdf.js +22 -17
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +39 -34
- package/dist/components/kup-probe.js +22 -17
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +22 -17
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +22 -17
- 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 +22 -17
- package/dist/components/kup-typography-list.js +22 -17
- package/dist/components/kup-typography.js +22 -17
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-a37e6312.js → p-00fe03b5.js} +7 -7
- package/dist/components/{p-d9d60a18.js → p-010ce0fe.js} +13 -13
- package/dist/components/{p-b57801f3.js → p-22538c02.js} +15 -15
- package/dist/components/{p-63ddd73a.js → p-2865ea51.js} +4 -4
- package/dist/components/{p-fb9ca494.js → p-443b5e15.js} +1 -1
- package/dist/components/{p-f3104d30.js → p-5b63178f.js} +21 -16
- package/dist/components/{p-74dce0e5.js → p-6924a70f.js} +2 -2
- package/dist/components/{p-23d7e632.js → p-7646ccdd.js} +2 -2
- package/dist/components/{p-5fa3e60f.js → p-8204c90e.js} +1 -1
- package/dist/components/{p-00a46ffd.js → p-8f77f6d8.js} +21 -16
- package/dist/components/{p-3aff545d.js → p-98aafbf3.js} +26 -3
- package/dist/components/{p-3bde4660.js → p-9e0b916d.js} +1 -1
- package/dist/components/{p-d7931d3a.js → p-a0a94cd3.js} +21 -16
- package/dist/components/{p-000af163.js → p-c528b477.js} +5 -5
- package/dist/components/{p-1f13e420.js → p-cb58e44a.js} +1 -1
- package/dist/components/{p-52d321c0.js → p-d339381c.js} +21 -16
- package/dist/components/{p-15078d74.js → p-dd07188b.js} +1089 -589
- package/dist/components/{p-cd2db6f6.js → p-e4277d58.js} +3 -3
- package/dist/components/{p-20771aa1.js → p-ec1762ee.js} +2 -2
- package/dist/components/{p-0d3f38e3.js → p-fd8fe6d0.js} +2 -2
- package/dist/esm/{f-cell-fa00b8ef.js → f-cell-2b1c1919.js} +6 -4
- package/dist/esm/{f-chip-05355daa.js → f-chip-b42af349.js} +1 -1
- package/dist/esm/{f-object-field-c9d54642.js → f-object-field-2bfc470c.js} +2 -2
- package/dist/esm/{f-paginator-utils-bf93d7d4.js → f-paginator-utils-541bc197.js} +1 -1
- package/dist/esm/{f-text-field-b75996bd.js → f-text-field-04f701fb.js} +1 -1
- package/dist/esm/index-c9246a86.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_29.entry.js} +1071 -877
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +12 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-e3846302.js → kup-data-table-helper-0dbc3495.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-input-panel.entry.js +7 -7
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-2d8f4f18.js → kup-manager-89189705.js} +26 -3
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/kup-pdf.entry.js +2 -2
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-36d3870e.entry.js → p-069fe9e1.entry.js} +1 -1
- package/dist/ketchup/p-0dd57f34.js +1 -0
- package/dist/ketchup/{p-72e25927.entry.js → p-0e644cb7.entry.js} +1 -1
- package/dist/ketchup/{p-6b76cc4c.entry.js → p-0ea4179b.entry.js} +1 -1
- package/dist/ketchup/{p-fe9db498.js → p-15491541.js} +1 -1
- package/dist/ketchup/{p-04915720.js → p-285c28ae.js} +1 -1
- package/dist/ketchup/{p-cbe1e4a5.entry.js → p-2e789d5f.entry.js} +1 -1
- package/dist/ketchup/{p-960b5246.entry.js → p-43159582.entry.js} +1 -1
- package/dist/ketchup/{p-b0f1b21d.entry.js → p-47545e56.entry.js} +1 -1
- package/dist/ketchup/{p-4d899ee9.entry.js → p-4b1eb87d.entry.js} +1 -1
- package/dist/ketchup/{p-31304076.entry.js → p-4ceb2da3.entry.js} +1 -1
- package/dist/ketchup/{p-b75e663b.entry.js → p-54a54f0d.entry.js} +1 -1
- package/dist/ketchup/{p-4da163e9.entry.js → p-595f3fd8.entry.js} +1 -1
- package/dist/ketchup/{p-85cbe3fc.entry.js → p-5a015f10.entry.js} +1 -1
- package/dist/ketchup/{p-b9dd4ebe.entry.js → p-5a345165.entry.js} +1 -1
- package/dist/ketchup/{p-b2cb221e.js → p-5d7a9987.js} +1 -1
- package/dist/ketchup/{p-ed90bf43.entry.js → p-6b11fc72.entry.js} +1 -1
- package/dist/ketchup/{p-a74fe69d.entry.js → p-6b771a9b.entry.js} +1 -1
- package/dist/ketchup/{p-bb757c4b.entry.js → p-7819480d.entry.js} +1 -1
- package/dist/ketchup/p-86f75374.entry.js +1 -0
- package/dist/ketchup/{p-66ccba95.entry.js → p-8afe1504.entry.js} +1 -1
- package/dist/ketchup/{p-ab8b13ac.entry.js → p-8bc2f0b6.entry.js} +1 -1
- package/dist/ketchup/p-98797821.entry.js +1 -0
- package/dist/ketchup/{p-a7123dc1.entry.js → p-9f51f081.entry.js} +1 -1
- package/dist/ketchup/p-a00e1a17.entry.js +9 -0
- package/dist/ketchup/{p-b84093fc.entry.js → p-a50b3050.entry.js} +1 -1
- package/dist/ketchup/{p-a8a3291d.entry.js → p-af7c5f4d.entry.js} +2 -2
- package/dist/ketchup/{p-317b3e3a.entry.js → p-b59ba2e0.entry.js} +1 -1
- package/dist/ketchup/{p-1d9a31fc.entry.js → p-c1b293a7.entry.js} +1 -1
- package/dist/ketchup/{p-bfe12bd6.entry.js → p-ccb2296a.entry.js} +1 -1
- package/dist/ketchup/{p-cb88c213.entry.js → p-d1389486.entry.js} +1 -1
- package/dist/ketchup/{p-72c85164.entry.js → p-d47f322d.entry.js} +1 -1
- package/dist/ketchup/{p-479ef0dc.entry.js → p-dd65ab87.entry.js} +2 -2
- package/dist/ketchup/{p-714609da.entry.js → p-e1683cf1.entry.js} +1 -1
- package/dist/ketchup/p-e202be52.js +1 -0
- package/dist/ketchup/p-e527cae5.entry.js +1 -0
- package/dist/ketchup/{p-bdfde4e7.entry.js → p-f0c7071a.entry.js} +1 -1
- package/dist/ketchup/p-f51f2af6.js +21 -0
- package/dist/ketchup/{p-162a169f.entry.js → p-f5e50e78.entry.js} +1 -1
- package/dist/ketchup/p-fc645b13.js +1 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +3 -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.d.ts +85 -0
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +2 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +10 -2
- package/dist/types/types/GenericTypes.d.ts +2 -1
- package/package.json +1 -1
- package/dist/ketchup/p-0f25c7c6.js +0 -21
- package/dist/ketchup/p-3d927559.entry.js +0 -1
- package/dist/ketchup/p-51d6eb71.js +0 -1
- package/dist/ketchup/p-64e7493c.js +0 -1
- package/dist/ketchup/p-7fff3f5f.entry.js +0 -1
- package/dist/ketchup/p-c7caa9ab.entry.js +0 -1
- package/dist/ketchup/p-d27a5f1f.js +0 -1
- package/dist/ketchup/p-de8b7f56.entry.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-2e5f2e07.js';
|
|
2
|
-
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as FCellShapes, m as getCellValueForDisplay, n as fullWidthFieldsComps, o as autoCenterComps, p as FCellEvents, q as isForceUppercase, r as isForceLowercase, t as KupDebugCategory, u as adaptContentToDisplayMode, v as FCellPadding, w as fillString, x as KupCardBuiltInClockElements, y as KupCardCSSClasses, z as KupLanguageTotals, A as KupLanguageColumn, B as KupDataNewColumnTypes, D as KupCardSubEvents, E as KupCardIds, G as KupLanguageRow, H as getColumnByName, J as KupObjects, L as formatToNumber, M as Filters, N as getValueForDisplay, O as getValueForDisplay2, P as KupData, Q as compareCell, T as TotalMode, S as getRegExpFromString, U as CHKAdapter, V as CHIAdapter, W as SWTAdapter, X as SortMode, Y as GroupLabelDisplayMode, Z as SelectionMode, _ as KupLanguageGrouping, $ as KupLanguageCheckbox, a0 as KupLanguageSearch, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as
|
|
2
|
+
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as FCellShapes, m as getCellValueForDisplay, n as fullWidthFieldsComps, o as autoCenterComps, p as FCellEvents, q as isForceUppercase, r as isForceLowercase, t as KupDebugCategory, u as adaptContentToDisplayMode, v as FCellPadding, w as fillString, x as KupCardBuiltInClockElements, y as KupCardCSSClasses, z as KupLanguageTotals, A as KupLanguageColumn, B as KupDataNewColumnTypes, D as KupCardSubEvents, E as KupCardIds, G as KupLanguageRow, H as getColumnByName, J as KupObjects, L as formatToNumber, M as Filters, N as getValueForDisplay, O as getValueForDisplay2, P as KupData, Q as compareCell, T as TotalMode, S as getRegExpFromString, U as CHKAdapter, V as CHIAdapter, W as SWTAdapter, X as SortMode, Y as GroupLabelDisplayMode, Z as SelectionMode, _ as KupLanguageGrouping, $ as KupLanguageCheckbox, a0 as KupLanguageSearch, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as KupLanguageUpload, ad as identify, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as FixedCellsClasses, an as FixedCellsCSSVarsBase, ao as KupLanguageFontsize, ap as KupLanguageDensity, aq as KupLanguageGrid, ar as KupDataTableProps, as as DataTableAreasEnum, at as iconColumn, au as keyColumn, av as fieldColumn, aw as KupCardProps } from './p-98aafbf3.js';
|
|
3
3
|
import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
|
|
4
4
|
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-1581348d.js';
|
|
5
5
|
|
|
@@ -5433,6 +5433,8 @@ function setEditableCell(cellType, classObj, cell, column, props) {
|
|
|
5433
5433
|
(_b = (_a = cell.data) === null || _a === void 0 ? void 0 : _a.onInput) === null || _b === void 0 ? void 0 : _b.call(_a, e);
|
|
5434
5434
|
cellEvent(e, props, cellType, FCellEvents.INPUT);
|
|
5435
5435
|
}, onBlur: (e) => cellEvent(e, props, cellType, FCellEvents.BLUR) })));
|
|
5436
|
+
case FCellTypes.FILE_UPLOAD:
|
|
5437
|
+
return h("kup-file-upload", Object.assign({}, cell.data));
|
|
5436
5438
|
case FCellTypes.MULTI_AUTOCOMPLETE:
|
|
5437
5439
|
return (h("kup-chip", Object.assign({ displayId: true }, cell.data, { type: FChipType.INPUT, enableInput: true, "onKup-chip-change": (e) => cellEvent(e, props, cellType, FCellEvents.UPDATE) }),
|
|
5438
5440
|
h("kup-autocomplete", Object.assign({ class: "kup-full-width", slot: "field", displayMode: ItemsDisplayMode.CODE_AND_DESC, selectMode: ItemsDisplayMode.CODE_AND_DESC, "onKup-autocomplete-blur": (e) => cellEvent(e, props, cellType, FCellEvents.BLUR), "onkup-autocomplete-input": (e) => cellEvent(e, props, cellType, FCellEvents.INPUT), "onkup-autocomplete-iconclick": (e) => cellEvent(e, props, cellType, FCellEvents.ICON_CLICK), showDropDownIcon: false }, cell.slotData, { error: cell.data.error, showMarker: (_a = cell.tooltip) !== null && _a !== void 0 ? _a : false }))));
|
|
@@ -12744,6 +12746,12 @@ var KupDropdownButtonProps;
|
|
|
12744
12746
|
KupDropdownButtonProps["dropdownOnly"] = "Default value is false. When set to true, the arrow dropdown button is the only button displayed.";
|
|
12745
12747
|
})(KupDropdownButtonProps || (KupDropdownButtonProps = {}));
|
|
12746
12748
|
|
|
12749
|
+
var KupFileUploadProps;
|
|
12750
|
+
(function (KupFileUploadProps) {
|
|
12751
|
+
KupFileUploadProps["customStyle"] = "Custom style of the component.";
|
|
12752
|
+
KupFileUploadProps["data"] = "Actual data of the input file upload.";
|
|
12753
|
+
})(KupFileUploadProps || (KupFileUploadProps = {}));
|
|
12754
|
+
|
|
12747
12755
|
/**
|
|
12748
12756
|
* Props of the kup-gauge component.
|
|
12749
12757
|
* Used to export every prop in an object.
|
|
@@ -13957,7 +13965,7 @@ class FiltersTreeItems extends FiltersRows {
|
|
|
13957
13965
|
const kupTreeCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_tree_header_background_color:var(\n --kup-tree-header-background-color,\n var(--kup-layer-2)\n );--kup_tree_body_background_color:var(\n --kup-tree-body-background-color,\n var(--kup-layer-1)\n );--kup_tree_body_background_color_hover:var(\n --kup-tree-body-background-color-hover,\n var(--kup-layer-1-hover)\n );--kup_tree_border_color:var(\n --kup-tree-border-color,\n var(--kup-border-subtle)\n );--kup_tree_tr_outline_color:var(\n --kup-tree-tr-outline-color,\n var(--kup-border-interactive)\n );--kup_tree_tr_background_color_hover:var(\n --kup-tree-tr-background-color-hover,\n var(--kup-layer-1-hover)\n );--kup_tree_tr_background_color_focus:var(\n --kup-tree-tr-background-color-focus,\n var(--kup-layer-1-selected)\n );--kup_tree_text_color:var(--kup-tree-text-color, var(--kup-text-secondary));--kup_tree_header_text_color:var(\n --kup-tree-header-text-color,\n var(--kup-text-primary)\n );--kup_tree_color_rgb:var(--kup-tree-color-rgb, var(--kup-text-color-rgb));--kup_tree_font_family:var(--kup-tree-font-family, var(--kup-font-family));--kup_tree_filter_background_color:var(\n --kup-tree-filter-background-color,\n var(--kup-layer-1)\n );--kup_tree_font_family_monospace:var(\n --kup-tree-font-family-monospace,\n var(--kup-font-family-monospace)\n );--kup_tree_font_size:var(--kup-tree-font-size, var(--kup-font-size));--kup_tree_text_hover_color:var(\n --kup-tree-text-hover-color,\n var(--kup-text-primary)\n );--kup-icon-color:var(--kup-tree-icon-color, var(--kup-text-secondary));display:block;font-family:var(--kup_tree_font_family);font-size:var(--kup_tree_font_size)}:host([prevent-x-scroll]) .wrapper{overflow-x:hidden}#kup-component{color:var(--kup_tree_text_color)}.density-dense .wrapper .kup-tree td:not(.grid-cell),.density-dense .wrapper .kup-tree th{padding:0 1.8em}.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon+.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon+.cell-content{vertical-align:0.4em}.density-wide .wrapper .kup-tree td:not(.grid-cell),.density-wide .wrapper .kup-tree th{padding:0.75em 1.8em}.wrapper{overflow-x:auto}.wrapper .kup-tree{border-collapse:collapse;width:100%}.wrapper .kup-tree thead{display:none}.wrapper .kup-tree thead.header--is-visible{display:table-header-group;background-color:var(--kup_tree_header_background_color)}.wrapper .kup-tree thead.header--is-visible th{padding:0.8em 0.5em;font-size:1.1em}.wrapper .kup-tree thead.header--is-visible th span{color:var(--kup_tree_header_text_color);font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.wrapper .kup-tree thead th{text-align:left}.wrapper .kup-tree tbody{background-color:var(--kup_tree_body_background_color)}.wrapper .kup-tree tbody tr.kup-tree__node.kup-tree__node--first td .cell-content{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.wrapper .kup-tree tfoot{background-color:var(--kup_tree_body_background_color)}.wrapper .kup-tree tr,.wrapper .kup-tree td{font-size:1em;line-height:1em}.wrapper .kup-tree tr.mdc-ripple-surface,.wrapper .kup-tree td.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.wrapper .kup-tree tr.mdc-ripple-surface:before,.wrapper .kup-tree tr.mdc-ripple-surface:after,.wrapper .kup-tree td.mdc-ripple-surface:before,.wrapper .kup-tree td.mdc-ripple-surface:after{background-color:var(--kup_tree_primary_color)}.wrapper .kup-tree tr .kup-tree__icon~.cell-content,.wrapper .kup-tree tr .kup-tree__icon+.cell-content,.wrapper .kup-tree td .kup-tree__icon~.cell-content,.wrapper .kup-tree td .kup-tree__icon+.cell-content{display:inline-block;vertical-align:0.2em;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.wrapper .kup-tree td:not(.grid-cell),.wrapper .kup-tree th{padding:0.4em var(--kup-space-03)}.wrapper .kup-tree td{padding:0;white-space:nowrap}.wrapper .kup-tree__indent{display:inline-block;width:calc(1.8em * var(--kup_tree_node_depth, 0))}.wrapper .kup-tree__icon{display:inline-block;margin-right:0.4em;height:16px;min-width:16px;width:16px}.wrapper .kup-tree__node__expander{transition:transform 0.1s}.wrapper .kup-tree__node{cursor:default}.wrapper .kup-tree__node.with-dyn:not(.kup-tree__node--disabled){cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .wrapper .kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .kup-icon.kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node--disabled{opacity:0.4}.wrapper .kup-tree__node--disabled__expander{pointer-events:none}.wrapper .kup-tree__node .kup-icon:not(.is-image){background-color:var(--kup_tree_icon_color)}.wrapper .kup-tree__node .kup-icon.kup-tree__node__expander:not(.is-image){background-color:var(--kup_tree_text_color)}.wrapper .kup-tree__node .kup-icon.is-image img{display:block;height:auto;width:100%}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td{background-color:var(--kup_tree_tr_background_color_hover);color:var(--kup_tree_text_hover_color)}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td .kup-icon{background-color:var(--kup_tree_text_hover_color)}.wrapper .kup-tree__node--selected:not(.kup-tree__node--disabled) td{background-color:var(--kup_tree_tr_background_color_focus)}.wrapper .kup-tree[data-show-columns] .kup-tree__node{border-bottom:solid 1px var(--kup_tree_border_color);border-left:2px solid transparent;box-sizing:content-box}#global-filter{background:var(--kup_tree_filter_background_color);position:sticky;top:0;z-index:1}#global-filter kup-text-field .f-text-field .mdc-text-field-container .mdc-text-field{border-bottom:none}.first-node .cell-content{font-weight:bold}.cell-content--ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:var(--kup_tree_content_width, auto)}.cell-content--highlighted{color:var(--kup_tree_text_on_primary_color);background-color:var(--kup_tree_primary_color)}.kup-icon.kup-filter-remove-icon:not(.f-image){background-color:var(--kup_tree_text_color);margin:0 0.25em;height:1em;width:1em;cursor:pointer;float:right;margin:0 0.25em;opacity:0.5}.grid-cell{height:0}.grid-cell .f-cell .f-cell__content{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}tfoot td{border-bottom:solid 1px var(--kup_tree_border_color);border-right:solid 1px var(--kup_tree_border_color);box-sizing:border-box;height:36px;text-align:right;font-weight:bold;padding:0.5em 0.3125em}tfoot td:hover{background-color:var(--kup_tree_body_background_color_hover)}tfoot td:first-of-type{border:none;border-right:solid 1px var(--kup_tree_border_color)}.hidden span{color:transparent;position:relative;text-overflow:ellipsis;transition:color 200ms}.hidden span:hover{color:var(--kup_tree_text_color)}.totals-value{font-weight:bold}.totals-value.danger-text{color:var(--kup-danger-color-60) !important}:host([as-accordion]) .wrapper .kup-tree thead{display:table-header-group}:host([as-accordion]) .wrapper .kup-tree thead tr{border-left:solid 1px var(--kup_tree_border_color);border-right:solid 1px var(--kup_tree_border_color)}:host([as-accordion]) .wrapper .kup-tree thead tr th span{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}:host([as-accordion]) .density-dense .first-node:not(.grid-cell){padding:0.5em 1em}:host([as-accordion]) .density-medium .first-node:not(.grid-cell){padding:1em 1.5em}:host([as-accordion]) .density-wide .first-node:not(.grid-cell){padding:1.75em 1.75em}:host([as-accordion]) .kup-tree__node--first{border:none;box-sizing:border-box;display:block}:host([as-accordion]) .kup-tree__node--first:hover,:host([as-accordion]) .kup-tree__node--first[data-is-expanded]{background-color:var(--kup_tree_tr_background_color_hover)}:host([as-accordion]) .kup-tree__node--first:hover .cell-content,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .cell-content{color:var(--kup_tree_text_hover_color)}:host([as-accordion]) .kup-tree__node--first:hover .kup-icon,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-icon{background-color:var(--kup_tree_text_hover_color)}:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-dropdown-icon{transform:rotate(180deg)}:host([as-accordion]) .kup-tree__node--first .first-node{align-items:center;box-sizing:border-box;color:var(--kup_tree_text_color);cursor:pointer;display:flex;line-height:1.75em;text-align:left;transition:background-color 80ms, color 80ms;width:100%}:host([as-accordion]) .kup-tree__node--first .kup-tree__icon{margin-left:0;margin-right:var(--kup-space-03);min-width:1.5em}:host([as-accordion]) .kup-tree__node--first .cell-content{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}:host([as-accordion]) .kup-tree__node--first .kup-dropdown-icon{background-color:var(--kup_tree_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform 0.1s}:host([as-accordion]) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border-top:1px solid var(--kup_tree_border_color)}.kup-menu{animation:fade-in 0.25s ease-out;background-color:var(--kup-background-color);box-shadow:var(--kup-box-shadow);color:var(kup_tree_text_color);display:none;max-height:33vh;overflow:auto;position:relative;transform:none;transform-origin:unset;transition:height 0.2s;will-change:unset}.kup-menu.visible{display:block}.kup-icon.kup-collapsed-icon{-webkit-mask:var(--kup-collapsed-icon);mask:var(--kup-collapsed-icon)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.kup-icon.kup-expanded-icon{-webkit-mask:var(--kup-expanded-icon);mask:var(--kup-expanded-icon)}.kup-icon.kup-filter-remove-icon{-webkit-mask:var(--kup-filter-remove-icon);mask:var(--kup-filter-remove-icon)}:host(.kup-borderless) .first-node{border:none !important}:host(.kup-borderless) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border:none !important}:host(.kup-full-width){min-width:100%}:host(.kup-full-width) table.kup-tree{min-width:100%}:host(.kup-layout-fixed) #kup-component table{table-layout:fixed;width:100%}:host(.kup-shaped) td.mdc-ripple-surface{border-radius:0 66px 66px 0}tr.clickable{cursor:pointer}";
|
|
13958
13966
|
const KupTreeStyle0 = kupTreeCss;
|
|
13959
13967
|
|
|
13960
|
-
var __classPrivateFieldGet$
|
|
13968
|
+
var __classPrivateFieldGet$a = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
13961
13969
|
if (kind === "a" && !f)
|
|
13962
13970
|
throw new TypeError("Private accessor was defined without a getter");
|
|
13963
13971
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
@@ -14057,31 +14065,31 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14057
14065
|
persistState() {
|
|
14058
14066
|
if (this.store && this.stateId) {
|
|
14059
14067
|
let somethingChanged = false;
|
|
14060
|
-
if (!__classPrivateFieldGet$
|
|
14068
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
14061
14069
|
this.state.filters = Object.assign({}, this.filters);
|
|
14062
14070
|
somethingChanged = true;
|
|
14063
14071
|
}
|
|
14064
|
-
if (!__classPrivateFieldGet$
|
|
14072
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
|
|
14065
14073
|
this.state.density = this.density;
|
|
14066
14074
|
somethingChanged = true;
|
|
14067
14075
|
}
|
|
14068
|
-
if (!__classPrivateFieldGet$
|
|
14076
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
|
|
14069
14077
|
this.state.showFilters = this.showFilters;
|
|
14070
14078
|
somethingChanged = true;
|
|
14071
14079
|
}
|
|
14072
|
-
if (!__classPrivateFieldGet$
|
|
14080
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
|
|
14073
14081
|
this.state.showFooter = this.showFooter;
|
|
14074
14082
|
somethingChanged = true;
|
|
14075
14083
|
}
|
|
14076
|
-
if (!__classPrivateFieldGet$
|
|
14084
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
|
|
14077
14085
|
this.state.totals = Object.assign({}, this.totals);
|
|
14078
14086
|
somethingChanged = true;
|
|
14079
14087
|
}
|
|
14080
|
-
if (!__classPrivateFieldGet$
|
|
14088
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
|
|
14081
14089
|
this.state.globalFilter = this.globalFilter;
|
|
14082
14090
|
somethingChanged = true;
|
|
14083
14091
|
}
|
|
14084
|
-
if (!__classPrivateFieldGet$
|
|
14092
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
14085
14093
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
14086
14094
|
somethingChanged = true;
|
|
14087
14095
|
}
|
|
@@ -14260,7 +14268,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14260
14268
|
* @param {KupDataColumn} column - Column to hide.
|
|
14261
14269
|
*/
|
|
14262
14270
|
async hideColumn(column) {
|
|
14263
|
-
__classPrivateFieldGet$
|
|
14271
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").data.column.hide(this.columns, [column.name]);
|
|
14264
14272
|
this.kupColumnRemove.emit({
|
|
14265
14273
|
comp: this,
|
|
14266
14274
|
id: this.rootElement.id,
|
|
@@ -14344,21 +14352,21 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14344
14352
|
return this.treeColumnVisible;
|
|
14345
14353
|
}
|
|
14346
14354
|
checkScrollOnHover() {
|
|
14347
|
-
if (!__classPrivateFieldGet$
|
|
14355
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").scrollOnHover.isRegistered(this.treeWrapperRef)) {
|
|
14348
14356
|
if (this.scrollOnHover) {
|
|
14349
|
-
__classPrivateFieldGet$
|
|
14357
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").scrollOnHover.register(this.treeWrapperRef);
|
|
14350
14358
|
}
|
|
14351
14359
|
}
|
|
14352
14360
|
else {
|
|
14353
14361
|
if (!this.scrollOnHover) {
|
|
14354
|
-
__classPrivateFieldGet$
|
|
14362
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
|
|
14355
14363
|
}
|
|
14356
14364
|
}
|
|
14357
14365
|
}
|
|
14358
14366
|
onKupTreeNodeDblClick(treeNodeData, treeNodePath) {
|
|
14359
14367
|
for (let index = 0; index < this.clickTimeout.length; index++) {
|
|
14360
14368
|
clearTimeout(this.clickTimeout[index]);
|
|
14361
|
-
__classPrivateFieldGet$
|
|
14369
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Cleared hdlTreeNodeClick timeout(' +
|
|
14362
14370
|
this.clickTimeout[index] +
|
|
14363
14371
|
').');
|
|
14364
14372
|
}
|
|
@@ -14547,7 +14555,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14547
14555
|
}
|
|
14548
14556
|
contextMenuHandler(e) {
|
|
14549
14557
|
e.preventDefault();
|
|
14550
|
-
const details = this.getEventDetails(__classPrivateFieldGet$
|
|
14558
|
+
const details = this.getEventDetails(__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
14551
14559
|
if (details.area === 'header') {
|
|
14552
14560
|
if (details.th && details.column) {
|
|
14553
14561
|
this.openColumnMenu(details.column.name);
|
|
@@ -14570,7 +14578,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14570
14578
|
(this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE &&
|
|
14571
14579
|
!isExpandable(treeNodeData))) {
|
|
14572
14580
|
const td = e
|
|
14573
|
-
? __classPrivateFieldGet$
|
|
14581
|
+
? __classPrivateFieldGet$a(this, _KupTree_kupManager, "f")
|
|
14574
14582
|
.getEventPath(e.target, this.rootElement)
|
|
14575
14583
|
.find((el) => {
|
|
14576
14584
|
if (el.tagName === 'TD')
|
|
@@ -14764,10 +14772,10 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14764
14772
|
refreshStructureState() {
|
|
14765
14773
|
if (this.data) {
|
|
14766
14774
|
if (this.data.columns) {
|
|
14767
|
-
__classPrivateFieldGet$
|
|
14775
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Detected KupDataDataset: setting up tree as grid.', KupDebugCategory.WARNING);
|
|
14768
14776
|
const data = this.data;
|
|
14769
14777
|
this.columns = data.columns;
|
|
14770
|
-
this.data = __classPrivateFieldGet$
|
|
14778
|
+
this.data = __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").data.row.toNode(data);
|
|
14771
14779
|
this.showColumns = true;
|
|
14772
14780
|
this.showHeader = true;
|
|
14773
14781
|
}
|
|
@@ -14816,7 +14824,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14816
14824
|
//---- Filter ----
|
|
14817
14825
|
let filter = null;
|
|
14818
14826
|
if (this.filtersColumnMenuInstance.hasFiltersForColumn(this.filters, column)) {
|
|
14819
|
-
const svgLabel = __classPrivateFieldGet$
|
|
14827
|
+
const svgLabel = __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.REMOVE_FILTERS) + `: '${this.getFilterValueForTooltip(column)}'`;
|
|
14820
14828
|
/**
|
|
14821
14829
|
* When column has a filter but filters must not be displayed, shows an icon to remove the filter.
|
|
14822
14830
|
* Upon click, the filter gets removed.
|
|
@@ -14891,9 +14899,9 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14891
14899
|
expandClass += ` ${KupThemeIconValues.COLLAPSED.replace('--', '')}`;
|
|
14892
14900
|
}
|
|
14893
14901
|
}
|
|
14894
|
-
let treeExpandIcon = (h$1("span", { title: __classPrivateFieldGet$
|
|
14902
|
+
let treeExpandIcon = (h$1("span", { title: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND) +
|
|
14895
14903
|
'/' +
|
|
14896
|
-
__classPrivateFieldGet$
|
|
14904
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.COLLAPSE) +
|
|
14897
14905
|
' (CTRL + Click)', class: expandClass, onClick: this.expansionMode.toLowerCase() ===
|
|
14898
14906
|
KupTreeExpansionMode.DROPDOWN && !treeNodeData.disabled
|
|
14899
14907
|
? (event) => {
|
|
@@ -14966,8 +14974,8 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14966
14974
|
}
|
|
14967
14975
|
}
|
|
14968
14976
|
let title = undefined;
|
|
14969
|
-
if (!__classPrivateFieldGet$
|
|
14970
|
-
__classPrivateFieldGet$
|
|
14977
|
+
if (!__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj) &&
|
|
14978
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.isDebug()) {
|
|
14971
14979
|
title =
|
|
14972
14980
|
treeNodeData.obj.t +
|
|
14973
14981
|
'; ' +
|
|
@@ -14990,7 +14998,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
14990
14998
|
'mdc-ripple-surface': this.ripple &&
|
|
14991
14999
|
!this.showColumns &&
|
|
14992
15000
|
!treeNodeData.disabled,
|
|
14993
|
-
'is-obj': !__classPrivateFieldGet$
|
|
15001
|
+
'is-obj': !__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj),
|
|
14994
15002
|
}, style: treeNodeData.style || null, title: title, onDblClick: () => {
|
|
14995
15003
|
this.onKupTreeNodeDblClick(treeNodeData, treeNodePath);
|
|
14996
15004
|
} }, this.asAccordion && !treeNodeDepth
|
|
@@ -15013,7 +15021,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15013
15021
|
}
|
|
15014
15022
|
closeTotalMenu() {
|
|
15015
15023
|
this.openedTotalMenu = null;
|
|
15016
|
-
__classPrivateFieldGet$
|
|
15024
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").removeClickCallback(this.clickCb);
|
|
15017
15025
|
}
|
|
15018
15026
|
isOpenedTotalMenuForColumn(column) {
|
|
15019
15027
|
return this.openedTotalMenu === column;
|
|
@@ -15043,15 +15051,15 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15043
15051
|
let totalMenu = undefined;
|
|
15044
15052
|
let menuLabel = TotalLabel.CALC;
|
|
15045
15053
|
const translation = {
|
|
15046
|
-
[TotalLabel.AVERAGE]: __classPrivateFieldGet$
|
|
15047
|
-
[TotalLabel.CALC]: __classPrivateFieldGet$
|
|
15048
|
-
[TotalLabel.CANC]: __classPrivateFieldGet$
|
|
15049
|
-
[TotalLabel.COUNT]: __classPrivateFieldGet$
|
|
15050
|
-
[TotalLabel.DISTINCT]: __classPrivateFieldGet$
|
|
15051
|
-
[TotalLabel.MATH]: __classPrivateFieldGet$
|
|
15052
|
-
[TotalLabel.MAX]: __classPrivateFieldGet$
|
|
15053
|
-
[TotalLabel.MIN]: __classPrivateFieldGet$
|
|
15054
|
-
[TotalLabel.SUM]: __classPrivateFieldGet$
|
|
15054
|
+
[TotalLabel.AVERAGE]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.AVERAGE),
|
|
15055
|
+
[TotalLabel.CALC]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.CALCULATE),
|
|
15056
|
+
[TotalLabel.CANC]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.CANCEL),
|
|
15057
|
+
[TotalLabel.COUNT]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.COUNT),
|
|
15058
|
+
[TotalLabel.DISTINCT]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.DISTINCT),
|
|
15059
|
+
[TotalLabel.MATH]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.FORMULA),
|
|
15060
|
+
[TotalLabel.MAX]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.MAXIMUM),
|
|
15061
|
+
[TotalLabel.MIN]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.MINIMUM),
|
|
15062
|
+
[TotalLabel.SUM]: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.SUM),
|
|
15055
15063
|
};
|
|
15056
15064
|
if (this.totals) {
|
|
15057
15065
|
const totalValue = this.totals[column.name];
|
|
@@ -15094,7 +15102,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15094
15102
|
value: translation[TotalLabel.DISTINCT],
|
|
15095
15103
|
},
|
|
15096
15104
|
];
|
|
15097
|
-
if (__classPrivateFieldGet$
|
|
15105
|
+
if (__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").objects.isNumber(column.obj)) {
|
|
15098
15106
|
listData.push({
|
|
15099
15107
|
id: TotalMode.SUM,
|
|
15100
15108
|
value: translation[TotalLabel.SUM],
|
|
@@ -15158,25 +15166,25 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15158
15166
|
});
|
|
15159
15167
|
}
|
|
15160
15168
|
};
|
|
15161
|
-
__classPrivateFieldGet$
|
|
15162
|
-
__classPrivateFieldGet$
|
|
15169
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, KupPointerEventTypes.TAP, tapCb);
|
|
15170
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, KupPointerEventTypes.HOLD, holdCb);
|
|
15163
15171
|
}
|
|
15164
15172
|
totalMenuPosition() {
|
|
15165
15173
|
if (this.rootElement.shadowRoot) {
|
|
15166
15174
|
const menu = this.rootElement.shadowRoot.querySelector('#totals-menu');
|
|
15167
15175
|
if (menu) {
|
|
15168
|
-
__classPrivateFieldGet$
|
|
15176
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").dynamicPosition.register(menu, this.totalMenuCoords);
|
|
15169
15177
|
if (!this.clickCb) {
|
|
15170
15178
|
this.clickCb = {
|
|
15171
15179
|
cb: () => {
|
|
15172
15180
|
this.closeTotalMenu();
|
|
15173
|
-
__classPrivateFieldGet$
|
|
15181
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").dynamicPosition.stop(menu);
|
|
15174
15182
|
},
|
|
15175
15183
|
el: menu,
|
|
15176
15184
|
};
|
|
15177
15185
|
}
|
|
15178
|
-
__classPrivateFieldGet$
|
|
15179
|
-
__classPrivateFieldGet$
|
|
15186
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").addClickCallback(this.clickCb, true);
|
|
15187
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").dynamicPosition.start(menu);
|
|
15180
15188
|
menu.menuVisible = true;
|
|
15181
15189
|
}
|
|
15182
15190
|
}
|
|
@@ -15231,9 +15239,9 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15231
15239
|
/* L i f e c y c l e H o o k s */
|
|
15232
15240
|
/*-------------------------------------------------*/
|
|
15233
15241
|
componentWillLoad() {
|
|
15234
|
-
__classPrivateFieldGet$
|
|
15235
|
-
__classPrivateFieldGet$
|
|
15236
|
-
__classPrivateFieldGet$
|
|
15242
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logLoad(this, false);
|
|
15243
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.register(this);
|
|
15244
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").theme.register(this);
|
|
15237
15245
|
this.columnMenuInstance = new KupColumnMenu();
|
|
15238
15246
|
this.initWithPersistedState();
|
|
15239
15247
|
this.refreshStructureState();
|
|
@@ -15241,11 +15249,11 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15241
15249
|
componentDidLoad() {
|
|
15242
15250
|
this.didLoadInteractables();
|
|
15243
15251
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
15244
|
-
__classPrivateFieldGet$
|
|
15245
|
-
__classPrivateFieldGet$
|
|
15252
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").resize.observe(this.rootElement);
|
|
15253
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logLoad(this, true);
|
|
15246
15254
|
}
|
|
15247
15255
|
componentWillRender() {
|
|
15248
|
-
__classPrivateFieldGet$
|
|
15256
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logRender(this, false);
|
|
15249
15257
|
if (this.showFooter && this.columns) {
|
|
15250
15258
|
this.footer = calcTotals(this.totals, this.getColumns(), normalizeRows(this.getColumns(), this.nodesToRows()));
|
|
15251
15259
|
}
|
|
@@ -15277,7 +15285,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15277
15285
|
this.persistState();
|
|
15278
15286
|
// ***
|
|
15279
15287
|
this.oldWidth = this.rootElement.clientWidth;
|
|
15280
|
-
__classPrivateFieldGet$
|
|
15288
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").debug.logRender(this, true);
|
|
15281
15289
|
}
|
|
15282
15290
|
render() {
|
|
15283
15291
|
this.contentRefs = [];
|
|
@@ -15306,7 +15314,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15306
15314
|
}
|
|
15307
15315
|
else {
|
|
15308
15316
|
// There are no TreeNodes, so we print a single cell with a caption
|
|
15309
|
-
treeNodes.push(h$1("tr", null, h$1("td", null, __classPrivateFieldGet$
|
|
15317
|
+
treeNodes.push(h$1("tr", null, h$1("td", null, __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
15310
15318
|
}
|
|
15311
15319
|
// Calculates if header must be shown or not
|
|
15312
15320
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
@@ -15315,12 +15323,12 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15315
15323
|
this.data &&
|
|
15316
15324
|
this.data.length &&
|
|
15317
15325
|
this.data.length > 0) {
|
|
15318
|
-
filterField = (h$1("div", { key: '9cdeb4a514c3c5f1f3e46461a7ca8bd8f099369a', id: "global-filter" }, h$1("kup-text-field", { key: '0f2958709b2b59ec89ee976706ac39113f315e40', fullWidth: true, label: __classPrivateFieldGet$
|
|
15326
|
+
filterField = (h$1("div", { key: '9cdeb4a514c3c5f1f3e46461a7ca8bd8f099369a', id: "global-filter" }, h$1("kup-text-field", { key: '0f2958709b2b59ec89ee976706ac39113f315e40', fullWidth: true, label: __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
15319
15327
|
window.clearTimeout(this.globalFilterTimeout);
|
|
15320
15328
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
15321
15329
|
} })));
|
|
15322
15330
|
}
|
|
15323
|
-
return (h$1(Host, { key: '3b523b6d53053f06d279ad1491560d94ac3856de' }, h$1("style", { key: '553fe40a90aee1ea496efc7c915fc555cbcb87ec' }, __classPrivateFieldGet$
|
|
15331
|
+
return (h$1(Host, { key: '3b523b6d53053f06d279ad1491560d94ac3856de' }, h$1("style", { key: '553fe40a90aee1ea496efc7c915fc555cbcb87ec' }, __classPrivateFieldGet$a(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: 'a8ad04be8cae41d39b50cf76af10d6eef7ab5318', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h$1("div", { key: '4664bfd1d6f76e03124bff6e3f99df67987f0e4a', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
15324
15332
|
el) }, h$1("table", { key: 'cbf00e3699fa589771dfbb3fc5bdf9f672dae449', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
15325
15333
|
e.preventDefault();
|
|
15326
15334
|
} }, h$1("thead", { key: '8fb34b1b797f483d9a85492c6ceec1b482f7aa68', class: {
|
|
@@ -15331,19 +15339,19 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15331
15339
|
: null)))));
|
|
15332
15340
|
}
|
|
15333
15341
|
disconnectedCallback() {
|
|
15334
|
-
__classPrivateFieldGet$
|
|
15335
|
-
__classPrivateFieldGet$
|
|
15336
|
-
__classPrivateFieldGet$
|
|
15337
|
-
__classPrivateFieldGet$
|
|
15342
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").language.unregister(this);
|
|
15343
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").resize.unobserve(this.rootElement);
|
|
15344
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").theme.unregister(this);
|
|
15345
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").interact.unregister([this.treeWrapperRef]);
|
|
15338
15346
|
const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
|
|
15339
15347
|
if (dynamicPositionElements.length > 0) {
|
|
15340
|
-
__classPrivateFieldGet$
|
|
15348
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
|
|
15341
15349
|
}
|
|
15342
15350
|
if (this.columnMenuCard) {
|
|
15343
15351
|
this.columnMenuCard.remove();
|
|
15344
15352
|
}
|
|
15345
15353
|
if (this.scrollOnHover) {
|
|
15346
|
-
__classPrivateFieldGet$
|
|
15354
|
+
__classPrivateFieldGet$a(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
|
|
15347
15355
|
}
|
|
15348
15356
|
this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
|
|
15349
15357
|
}
|
|
@@ -15405,11 +15413,11 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class KupTree extends H {
|
|
|
15405
15413
|
"expanded": ["enrichStructureStateWhenChanged"]
|
|
15406
15414
|
}]);
|
|
15407
15415
|
_KupTree_kupManager = new WeakMap();
|
|
15408
|
-
function defineCustomElement$
|
|
15416
|
+
function defineCustomElement$s() {
|
|
15409
15417
|
if (typeof customElements === "undefined") {
|
|
15410
15418
|
return;
|
|
15411
15419
|
}
|
|
15412
|
-
const components = ["kup-tree", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
15420
|
+
const components = ["kup-tree", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
15413
15421
|
components.forEach(tagName => { switch (tagName) {
|
|
15414
15422
|
case "kup-tree":
|
|
15415
15423
|
if (!customElements.get(tagName)) {
|
|
@@ -15486,69 +15494,74 @@ function defineCustomElement$r() {
|
|
|
15486
15494
|
defineCustomElement$e();
|
|
15487
15495
|
}
|
|
15488
15496
|
break;
|
|
15489
|
-
case "kup-
|
|
15497
|
+
case "kup-file-upload":
|
|
15490
15498
|
if (!customElements.get(tagName)) {
|
|
15491
15499
|
defineCustomElement$f();
|
|
15492
15500
|
}
|
|
15493
15501
|
break;
|
|
15494
|
-
case "kup-
|
|
15502
|
+
case "kup-gauge":
|
|
15495
15503
|
if (!customElements.get(tagName)) {
|
|
15496
15504
|
defineCustomElement$g();
|
|
15497
15505
|
}
|
|
15498
15506
|
break;
|
|
15499
|
-
case "kup-
|
|
15507
|
+
case "kup-image":
|
|
15500
15508
|
if (!customElements.get(tagName)) {
|
|
15501
15509
|
defineCustomElement$h();
|
|
15502
15510
|
}
|
|
15503
15511
|
break;
|
|
15504
|
-
case "kup-
|
|
15512
|
+
case "kup-list":
|
|
15505
15513
|
if (!customElements.get(tagName)) {
|
|
15506
15514
|
defineCustomElement$i();
|
|
15507
15515
|
}
|
|
15508
15516
|
break;
|
|
15517
|
+
case "kup-progress-bar":
|
|
15518
|
+
if (!customElements.get(tagName)) {
|
|
15519
|
+
defineCustomElement$j();
|
|
15520
|
+
}
|
|
15521
|
+
break;
|
|
15509
15522
|
case "kup-radio":
|
|
15510
15523
|
if (!customElements.get(tagName)) {
|
|
15511
|
-
defineCustomElement$
|
|
15524
|
+
defineCustomElement$o();
|
|
15512
15525
|
}
|
|
15513
15526
|
break;
|
|
15514
15527
|
case "kup-rating":
|
|
15515
15528
|
if (!customElements.get(tagName)) {
|
|
15516
|
-
defineCustomElement$
|
|
15529
|
+
defineCustomElement$k();
|
|
15517
15530
|
}
|
|
15518
15531
|
break;
|
|
15519
15532
|
case "kup-spinner":
|
|
15520
15533
|
if (!customElements.get(tagName)) {
|
|
15521
|
-
defineCustomElement$
|
|
15534
|
+
defineCustomElement$l();
|
|
15522
15535
|
}
|
|
15523
15536
|
break;
|
|
15524
15537
|
case "kup-switch":
|
|
15525
15538
|
if (!customElements.get(tagName)) {
|
|
15526
|
-
defineCustomElement$
|
|
15539
|
+
defineCustomElement$m();
|
|
15527
15540
|
}
|
|
15528
15541
|
break;
|
|
15529
15542
|
case "kup-tab-bar":
|
|
15530
15543
|
if (!customElements.get(tagName)) {
|
|
15531
|
-
defineCustomElement$
|
|
15544
|
+
defineCustomElement$n();
|
|
15532
15545
|
}
|
|
15533
15546
|
break;
|
|
15534
15547
|
case "kup-text-field":
|
|
15535
15548
|
if (!customElements.get(tagName)) {
|
|
15536
|
-
defineCustomElement$
|
|
15549
|
+
defineCustomElement$p();
|
|
15537
15550
|
}
|
|
15538
15551
|
break;
|
|
15539
15552
|
case "kup-time-picker":
|
|
15540
15553
|
if (!customElements.get(tagName)) {
|
|
15541
|
-
defineCustomElement$
|
|
15554
|
+
defineCustomElement$q();
|
|
15542
15555
|
}
|
|
15543
15556
|
break;
|
|
15544
15557
|
case "kup-toolbar":
|
|
15545
15558
|
if (!customElements.get(tagName)) {
|
|
15546
|
-
defineCustomElement$
|
|
15559
|
+
defineCustomElement$r();
|
|
15547
15560
|
}
|
|
15548
15561
|
break;
|
|
15549
15562
|
case "kup-tree":
|
|
15550
15563
|
if (!customElements.get(tagName)) {
|
|
15551
|
-
defineCustomElement$
|
|
15564
|
+
defineCustomElement$s();
|
|
15552
15565
|
}
|
|
15553
15566
|
break;
|
|
15554
15567
|
} });
|
|
@@ -15557,7 +15570,7 @@ function defineCustomElement$r() {
|
|
|
15557
15570
|
const kupToolbarCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.toolbar-container{width:fit-content;box-shadow:0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05)}.component-type-chip{background-color:var(--kup-layer-2);color:var(--kup-text-disabled);padding:var(--kup-space-02) var(--kup-space-03);font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.parent-class{position:relative;cursor:pointer;width:200px;background-color:var(--kup-gray-color-10);display:flex;justify-content:space-between;padding:var(--kup-space-03);border-left:1px solid transparent;align-items:center}.parent-class.toolbar-item-disabled{background-color:var(--kup-gray-color-30);color:var(--kup-gray-color-40);cursor:not-allowed}.parent-class.toolbar-item-disabled .chevron-type-wrapper .f-image .iconWrapper .f-image__icon{background-color:var(--kup-gray-color-40) !important}.parent-class .toolbar-single-value-node{display:flex;gap:8px;align-items:center}.parent-class:hover:not(.toolbar-item-disabled):not(:has(>.f-cell)){background-color:var(--kup-gray-color-10-hover)}.parent-class:focus:not(:has(>.f-cell)){outline:2px solid var(--kup-border-interactive);outline-offset:-2px}.parent-class:active:not(:has(>.f-cell)){border-left:1px solid var(--kup-border-interactive)}.parent-class>.nested-class{position:absolute;top:0;left:100%;display:none;z-index:10;transition:display 0.2s ease;background-color:var(--kup-gray-color-10);box-shadow:0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05);width:inherit;max-width:200px}.parent-class .chevron-right{float:right;margin:0;margin-left:var(--kup-space-03);font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.parent-class:hover:not(.toolbar-item-disabled)>.nested-class{display:block}.chevron-type-wrapper{display:flex;align-items:center;gap:var(--kup-space-03)}.chevron-type-wrapper .chevron-right{float:right;margin:0;margin-left:var(--kup-space-00);font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.nested-class .f-cell .f-cell__content{display:block}.nested-class .f-cell .f-cell__content .f-radio{gap:0}.nested-class .f-cell .f-cell__content .f-radio .form-field{cursor:pointer}.nested-class .f-cell .f-cell__content .f-radio .form-field:active,.nested-class .f-cell .f-cell__content .f-radio .form-field:focus{outline:2px solid var(--kup-border-interactive);outline-offset:-2px}.nested-class .f-cell .f-cell__content .f-radio .form-field:hover{background-color:var(--kup-gray-color-10-hover)}.nested-class .f-cell .f-cell__content .f-radio .form-field .radio{padding:var(--kup-space-03) 0 var(--kup-space-03) var(--kup-space-03)}.nested-class .f-cell .f-cell__content .f-radio .form-field label{width:100%;cursor:pointer;padding:var(--kup-space-03)}";
|
|
15558
15571
|
const KupToolbarStyle0 = kupToolbarCss;
|
|
15559
15572
|
|
|
15560
|
-
var __classPrivateFieldGet$
|
|
15573
|
+
var __classPrivateFieldGet$9 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
15561
15574
|
if (kind === "a" && !f)
|
|
15562
15575
|
throw new TypeError("Private accessor was defined without a getter");
|
|
15563
15576
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
@@ -15586,7 +15599,7 @@ const KupToolbar = /*@__PURE__*/ proxyCustomElement(class KupToolbar extends H {
|
|
|
15586
15599
|
this.showIcons = true;
|
|
15587
15600
|
}
|
|
15588
15601
|
onKupClick(index, node) {
|
|
15589
|
-
__classPrivateFieldGet$
|
|
15602
|
+
__classPrivateFieldGet$9(this, _KupToolbar_instances, "m", _KupToolbar_handleClick).call(this, index, node);
|
|
15590
15603
|
}
|
|
15591
15604
|
/*-------------------------------------------------*/
|
|
15592
15605
|
/* P u b l i c M e t h o d s */
|
|
@@ -15627,7 +15640,7 @@ const KupToolbar = /*@__PURE__*/ proxyCustomElement(class KupToolbar extends H {
|
|
|
15627
15640
|
: 'KUPCELL';
|
|
15628
15641
|
const coltitle = treeNode.obj && treeNode.obj.t
|
|
15629
15642
|
? treeNode.obj.t + ';' + treeNode.obj.p
|
|
15630
|
-
: __classPrivateFieldGet$
|
|
15643
|
+
: __classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_OBJECT);
|
|
15631
15644
|
return {
|
|
15632
15645
|
name: colname,
|
|
15633
15646
|
title: coltitle,
|
|
@@ -15637,11 +15650,11 @@ const KupToolbar = /*@__PURE__*/ proxyCustomElement(class KupToolbar extends H {
|
|
|
15637
15650
|
/* L i f e c y c l e H o o k s */
|
|
15638
15651
|
/*-------------------------------------------------*/
|
|
15639
15652
|
componentWillLoad() {
|
|
15640
|
-
__classPrivateFieldGet$
|
|
15641
|
-
__classPrivateFieldGet$
|
|
15653
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").debug.logLoad(this, false);
|
|
15654
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").theme.register(this);
|
|
15642
15655
|
}
|
|
15643
15656
|
componentDidLoad() {
|
|
15644
|
-
__classPrivateFieldGet$
|
|
15657
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").debug.logLoad(this, true);
|
|
15645
15658
|
this.rootElement.addEventListener('kup-cell-update', (event) => {
|
|
15646
15659
|
const index = event.detail.cell.value;
|
|
15647
15660
|
const node = event.detail.cell;
|
|
@@ -15649,19 +15662,19 @@ const KupToolbar = /*@__PURE__*/ proxyCustomElement(class KupToolbar extends H {
|
|
|
15649
15662
|
});
|
|
15650
15663
|
}
|
|
15651
15664
|
componentWillRender() {
|
|
15652
|
-
__classPrivateFieldGet$
|
|
15665
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").debug.logRender(this, false);
|
|
15653
15666
|
}
|
|
15654
15667
|
componentDidRender() {
|
|
15655
|
-
__classPrivateFieldGet$
|
|
15668
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").debug.logRender(this, true);
|
|
15656
15669
|
}
|
|
15657
15670
|
render() {
|
|
15658
15671
|
if (!this.data || this.data.length === 0) {
|
|
15659
15672
|
return;
|
|
15660
15673
|
}
|
|
15661
|
-
return (h$1(Host, null, h$1("style", null, __classPrivateFieldGet$
|
|
15674
|
+
return (h$1(Host, null, h$1("style", null, __classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { id: componentWrapperId }, h$1("div", { class: "toolbar-container" }, this.data.map((item, index) => __classPrivateFieldGet$9(this, _KupToolbar_instances, "m", _KupToolbar_renderTreeNode).call(this, item, index))))));
|
|
15662
15675
|
}
|
|
15663
15676
|
disconnectedCallback() {
|
|
15664
|
-
__classPrivateFieldGet$
|
|
15677
|
+
__classPrivateFieldGet$9(this, _KupToolbar_kupManager, "f").theme.unregister(this);
|
|
15665
15678
|
}
|
|
15666
15679
|
get rootElement() { return this; }
|
|
15667
15680
|
static get style() { return KupToolbarStyle0; }
|
|
@@ -15698,7 +15711,7 @@ _KupToolbar_kupManager = new WeakMap(), _KupToolbar_instances = new WeakSet(), _
|
|
|
15698
15711
|
: () => this.onKupClick(index, node), "data-alt": isDisabled ? 'This option is disabled' : '' }, singleItem, h$1("div", { class: "chevron-type-wrapper" }, node.componentType && (h$1("div", { class: "component-type-chip" }, node.componentType)), h$1("div", { style: { width: '14px', height: '14px' } }))))));
|
|
15699
15712
|
}
|
|
15700
15713
|
else {
|
|
15701
|
-
return (h$1("div", { class: `parent-class ${isDisabled ? 'toolbar-item-disabled' : ''}`, tabindex: isDisabled ? -1 : 0 }, singleItem, h$1("div", { class: "chevron-type-wrapper" }, node.componentType && (h$1("div", { class: "component-type-chip" }, node.componentType)), h$1(FImage, { resource: "chevron-right", sizeX: "14px", sizeY: "14px", color: "var(--kup-text-secondary)", wrapperClass: "chevron-right" })), h$1("div", { class: "nested-class" }, __classPrivateFieldGet$
|
|
15714
|
+
return (h$1("div", { class: `parent-class ${isDisabled ? 'toolbar-item-disabled' : ''}`, tabindex: isDisabled ? -1 : 0 }, singleItem, h$1("div", { class: "chevron-type-wrapper" }, node.componentType && (h$1("div", { class: "component-type-chip" }, node.componentType)), h$1(FImage, { resource: "chevron-right", sizeX: "14px", sizeY: "14px", color: "var(--kup-text-secondary)", wrapperClass: "chevron-right" })), h$1("div", { class: "nested-class" }, __classPrivateFieldGet$9(this, _KupToolbar_instances, "m", _KupToolbar_renderNestedChildren).call(this, node.children, index))));
|
|
15702
15715
|
}
|
|
15703
15716
|
}, _KupToolbar_handleClick = function _KupToolbar_handleClick(index, node) {
|
|
15704
15717
|
this.kupClick.emit({
|
|
@@ -15708,13 +15721,13 @@ _KupToolbar_kupManager = new WeakMap(), _KupToolbar_instances = new WeakSet(), _
|
|
|
15708
15721
|
index,
|
|
15709
15722
|
});
|
|
15710
15723
|
}, _KupToolbar_renderNestedChildren = function _KupToolbar_renderNestedChildren(children, parentIndex) {
|
|
15711
|
-
return children.map((child, index) => __classPrivateFieldGet$
|
|
15724
|
+
return children.map((child, index) => __classPrivateFieldGet$9(this, _KupToolbar_instances, "m", _KupToolbar_renderTreeNode).call(this, child, parentIndex + index));
|
|
15712
15725
|
};
|
|
15713
|
-
function defineCustomElement$
|
|
15726
|
+
function defineCustomElement$r() {
|
|
15714
15727
|
if (typeof customElements === "undefined") {
|
|
15715
15728
|
return;
|
|
15716
15729
|
}
|
|
15717
|
-
const components = ["kup-toolbar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
15730
|
+
const components = ["kup-toolbar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
15718
15731
|
components.forEach(tagName => { switch (tagName) {
|
|
15719
15732
|
case "kup-toolbar":
|
|
15720
15733
|
if (!customElements.get(tagName)) {
|
|
@@ -15791,69 +15804,74 @@ function defineCustomElement$q() {
|
|
|
15791
15804
|
defineCustomElement$e();
|
|
15792
15805
|
}
|
|
15793
15806
|
break;
|
|
15794
|
-
case "kup-
|
|
15807
|
+
case "kup-file-upload":
|
|
15795
15808
|
if (!customElements.get(tagName)) {
|
|
15796
15809
|
defineCustomElement$f();
|
|
15797
15810
|
}
|
|
15798
15811
|
break;
|
|
15799
|
-
case "kup-
|
|
15812
|
+
case "kup-gauge":
|
|
15800
15813
|
if (!customElements.get(tagName)) {
|
|
15801
15814
|
defineCustomElement$g();
|
|
15802
15815
|
}
|
|
15803
15816
|
break;
|
|
15804
|
-
case "kup-
|
|
15817
|
+
case "kup-image":
|
|
15805
15818
|
if (!customElements.get(tagName)) {
|
|
15806
15819
|
defineCustomElement$h();
|
|
15807
15820
|
}
|
|
15808
15821
|
break;
|
|
15809
|
-
case "kup-
|
|
15822
|
+
case "kup-list":
|
|
15810
15823
|
if (!customElements.get(tagName)) {
|
|
15811
15824
|
defineCustomElement$i();
|
|
15812
15825
|
}
|
|
15813
15826
|
break;
|
|
15827
|
+
case "kup-progress-bar":
|
|
15828
|
+
if (!customElements.get(tagName)) {
|
|
15829
|
+
defineCustomElement$j();
|
|
15830
|
+
}
|
|
15831
|
+
break;
|
|
15814
15832
|
case "kup-radio":
|
|
15815
15833
|
if (!customElements.get(tagName)) {
|
|
15816
|
-
defineCustomElement$
|
|
15834
|
+
defineCustomElement$o();
|
|
15817
15835
|
}
|
|
15818
15836
|
break;
|
|
15819
15837
|
case "kup-rating":
|
|
15820
15838
|
if (!customElements.get(tagName)) {
|
|
15821
|
-
defineCustomElement$
|
|
15839
|
+
defineCustomElement$k();
|
|
15822
15840
|
}
|
|
15823
15841
|
break;
|
|
15824
15842
|
case "kup-spinner":
|
|
15825
15843
|
if (!customElements.get(tagName)) {
|
|
15826
|
-
defineCustomElement$
|
|
15844
|
+
defineCustomElement$l();
|
|
15827
15845
|
}
|
|
15828
15846
|
break;
|
|
15829
15847
|
case "kup-switch":
|
|
15830
15848
|
if (!customElements.get(tagName)) {
|
|
15831
|
-
defineCustomElement$
|
|
15849
|
+
defineCustomElement$m();
|
|
15832
15850
|
}
|
|
15833
15851
|
break;
|
|
15834
15852
|
case "kup-tab-bar":
|
|
15835
15853
|
if (!customElements.get(tagName)) {
|
|
15836
|
-
defineCustomElement$
|
|
15854
|
+
defineCustomElement$n();
|
|
15837
15855
|
}
|
|
15838
15856
|
break;
|
|
15839
15857
|
case "kup-text-field":
|
|
15840
15858
|
if (!customElements.get(tagName)) {
|
|
15841
|
-
defineCustomElement$
|
|
15859
|
+
defineCustomElement$p();
|
|
15842
15860
|
}
|
|
15843
15861
|
break;
|
|
15844
15862
|
case "kup-time-picker":
|
|
15845
15863
|
if (!customElements.get(tagName)) {
|
|
15846
|
-
defineCustomElement$
|
|
15864
|
+
defineCustomElement$q();
|
|
15847
15865
|
}
|
|
15848
15866
|
break;
|
|
15849
15867
|
case "kup-toolbar":
|
|
15850
15868
|
if (!customElements.get(tagName)) {
|
|
15851
|
-
defineCustomElement$
|
|
15869
|
+
defineCustomElement$r();
|
|
15852
15870
|
}
|
|
15853
15871
|
break;
|
|
15854
15872
|
case "kup-tree":
|
|
15855
15873
|
if (!customElements.get(tagName)) {
|
|
15856
|
-
defineCustomElement$
|
|
15874
|
+
defineCustomElement$s();
|
|
15857
15875
|
}
|
|
15858
15876
|
break;
|
|
15859
15877
|
} });
|
|
@@ -16272,7 +16290,7 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
16272
16290
|
this.kupManager.debug.logRender(this, true);
|
|
16273
16291
|
}
|
|
16274
16292
|
render() {
|
|
16275
|
-
return (h$1(Host, { key: '
|
|
16293
|
+
return (h$1(Host, { key: 'dffe33755a510ef42a3ed226b9f2e47724ccb37f' }, h$1("style", { key: '9ca27904a2544e8bb01d43627b4e6289963fd0ab' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'cff01fdcd8fdf77c1c047ad38e0e52009a907ab3', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
16276
16294
|
}
|
|
16277
16295
|
disconnectedCallback() {
|
|
16278
16296
|
this.kupManager.dates.unregister(this);
|
|
@@ -16306,11 +16324,11 @@ const KupTimePicker = /*@__PURE__*/ proxyCustomElement(class KupTimePicker exten
|
|
|
16306
16324
|
}, [[4, "keyup", "listenKeyup"]], {
|
|
16307
16325
|
"timeMinutesStep": ["watchTimeMinutesStep"]
|
|
16308
16326
|
}]);
|
|
16309
|
-
function defineCustomElement$
|
|
16327
|
+
function defineCustomElement$q() {
|
|
16310
16328
|
if (typeof customElements === "undefined") {
|
|
16311
16329
|
return;
|
|
16312
16330
|
}
|
|
16313
|
-
const components = ["kup-time-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
16331
|
+
const components = ["kup-time-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
16314
16332
|
components.forEach(tagName => { switch (tagName) {
|
|
16315
16333
|
case "kup-time-picker":
|
|
16316
16334
|
if (!customElements.get(tagName)) {
|
|
@@ -16387,69 +16405,74 @@ function defineCustomElement$p() {
|
|
|
16387
16405
|
defineCustomElement$e();
|
|
16388
16406
|
}
|
|
16389
16407
|
break;
|
|
16390
|
-
case "kup-
|
|
16408
|
+
case "kup-file-upload":
|
|
16391
16409
|
if (!customElements.get(tagName)) {
|
|
16392
16410
|
defineCustomElement$f();
|
|
16393
16411
|
}
|
|
16394
16412
|
break;
|
|
16395
|
-
case "kup-
|
|
16413
|
+
case "kup-gauge":
|
|
16396
16414
|
if (!customElements.get(tagName)) {
|
|
16397
16415
|
defineCustomElement$g();
|
|
16398
16416
|
}
|
|
16399
16417
|
break;
|
|
16400
|
-
case "kup-
|
|
16418
|
+
case "kup-image":
|
|
16401
16419
|
if (!customElements.get(tagName)) {
|
|
16402
16420
|
defineCustomElement$h();
|
|
16403
16421
|
}
|
|
16404
16422
|
break;
|
|
16405
|
-
case "kup-
|
|
16423
|
+
case "kup-list":
|
|
16406
16424
|
if (!customElements.get(tagName)) {
|
|
16407
16425
|
defineCustomElement$i();
|
|
16408
16426
|
}
|
|
16409
16427
|
break;
|
|
16428
|
+
case "kup-progress-bar":
|
|
16429
|
+
if (!customElements.get(tagName)) {
|
|
16430
|
+
defineCustomElement$j();
|
|
16431
|
+
}
|
|
16432
|
+
break;
|
|
16410
16433
|
case "kup-radio":
|
|
16411
16434
|
if (!customElements.get(tagName)) {
|
|
16412
|
-
defineCustomElement$
|
|
16435
|
+
defineCustomElement$o();
|
|
16413
16436
|
}
|
|
16414
16437
|
break;
|
|
16415
16438
|
case "kup-rating":
|
|
16416
16439
|
if (!customElements.get(tagName)) {
|
|
16417
|
-
defineCustomElement$
|
|
16440
|
+
defineCustomElement$k();
|
|
16418
16441
|
}
|
|
16419
16442
|
break;
|
|
16420
16443
|
case "kup-spinner":
|
|
16421
16444
|
if (!customElements.get(tagName)) {
|
|
16422
|
-
defineCustomElement$
|
|
16445
|
+
defineCustomElement$l();
|
|
16423
16446
|
}
|
|
16424
16447
|
break;
|
|
16425
16448
|
case "kup-switch":
|
|
16426
16449
|
if (!customElements.get(tagName)) {
|
|
16427
|
-
defineCustomElement$
|
|
16450
|
+
defineCustomElement$m();
|
|
16428
16451
|
}
|
|
16429
16452
|
break;
|
|
16430
16453
|
case "kup-tab-bar":
|
|
16431
16454
|
if (!customElements.get(tagName)) {
|
|
16432
|
-
defineCustomElement$
|
|
16455
|
+
defineCustomElement$n();
|
|
16433
16456
|
}
|
|
16434
16457
|
break;
|
|
16435
16458
|
case "kup-text-field":
|
|
16436
16459
|
if (!customElements.get(tagName)) {
|
|
16437
|
-
defineCustomElement$
|
|
16460
|
+
defineCustomElement$p();
|
|
16438
16461
|
}
|
|
16439
16462
|
break;
|
|
16440
16463
|
case "kup-time-picker":
|
|
16441
16464
|
if (!customElements.get(tagName)) {
|
|
16442
|
-
defineCustomElement$
|
|
16465
|
+
defineCustomElement$q();
|
|
16443
16466
|
}
|
|
16444
16467
|
break;
|
|
16445
16468
|
case "kup-toolbar":
|
|
16446
16469
|
if (!customElements.get(tagName)) {
|
|
16447
|
-
defineCustomElement$
|
|
16470
|
+
defineCustomElement$r();
|
|
16448
16471
|
}
|
|
16449
16472
|
break;
|
|
16450
16473
|
case "kup-tree":
|
|
16451
16474
|
if (!customElements.get(tagName)) {
|
|
16452
|
-
defineCustomElement$
|
|
16475
|
+
defineCustomElement$s();
|
|
16453
16476
|
}
|
|
16454
16477
|
break;
|
|
16455
16478
|
} });
|
|
@@ -16458,7 +16481,7 @@ function defineCustomElement$p() {
|
|
|
16458
16481
|
const kupTextFieldCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;font-size:var(--kup-font-size)}:host([full-width]){width:100%}:host([full-width]) #kup-component{width:100%}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-shaped) #kup-component .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:28px}:host(.kup-shaped) #kup-component .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{width:28px}";
|
|
16459
16482
|
const KupTextFieldStyle0 = kupTextFieldCss;
|
|
16460
16483
|
|
|
16461
|
-
var __classPrivateFieldGet$
|
|
16484
|
+
var __classPrivateFieldGet$8 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
16462
16485
|
if (kind === "a" && !f)
|
|
16463
16486
|
throw new TypeError("Private accessor was defined without a getter");
|
|
16464
16487
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
@@ -16527,7 +16550,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
16527
16550
|
}
|
|
16528
16551
|
onKupBlur(event) {
|
|
16529
16552
|
const { target } = event;
|
|
16530
|
-
__classPrivateFieldGet$
|
|
16553
|
+
__classPrivateFieldGet$8(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
16531
16554
|
this.kupBlur.emit({
|
|
16532
16555
|
comp: this,
|
|
16533
16556
|
id: this.rootElement.id,
|
|
@@ -16536,7 +16559,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
16536
16559
|
}
|
|
16537
16560
|
onKupChange(event) {
|
|
16538
16561
|
const { target } = event;
|
|
16539
|
-
__classPrivateFieldGet$
|
|
16562
|
+
__classPrivateFieldGet$8(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
16540
16563
|
this.kupChange.emit({
|
|
16541
16564
|
comp: this,
|
|
16542
16565
|
id: this.rootElement.id,
|
|
@@ -16545,7 +16568,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
16545
16568
|
}
|
|
16546
16569
|
onKupClick(event) {
|
|
16547
16570
|
const { target } = event;
|
|
16548
|
-
__classPrivateFieldGet$
|
|
16571
|
+
__classPrivateFieldGet$8(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
16549
16572
|
this.kupClick.emit({
|
|
16550
16573
|
comp: this,
|
|
16551
16574
|
id: this.rootElement.id,
|
|
@@ -16587,7 +16610,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
16587
16610
|
const { target } = event;
|
|
16588
16611
|
if (event.key === 'Enter') {
|
|
16589
16612
|
if (this.emitSubmitEventOnEnter == true) {
|
|
16590
|
-
__classPrivateFieldGet$
|
|
16613
|
+
__classPrivateFieldGet$8(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
16591
16614
|
this.kupTextFieldSubmit.emit({
|
|
16592
16615
|
comp: this,
|
|
16593
16616
|
id: this.rootElement.id,
|
|
@@ -16666,7 +16689,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class KupTextField extends
|
|
|
16666
16689
|
}
|
|
16667
16690
|
else {
|
|
16668
16691
|
try {
|
|
16669
|
-
this.inputEl.value = __classPrivateFieldGet$
|
|
16692
|
+
this.inputEl.value = __classPrivateFieldGet$8(this, _KupTextField_instances, "m", _KupTextField_getValueForOutput).call(this);
|
|
16670
16693
|
}
|
|
16671
16694
|
catch (error) {
|
|
16672
16695
|
this.kupManager.debug.logMessage(this, "Couldn't set value on input element: '" + value + "'", KupDebugCategory.WARNING);
|
|
@@ -16853,11 +16876,11 @@ _KupTextField_instances = new WeakSet(), _KupTextField_getValueForOutput = funct
|
|
|
16853
16876
|
this.value = target.value;
|
|
16854
16877
|
}
|
|
16855
16878
|
};
|
|
16856
|
-
function defineCustomElement$
|
|
16879
|
+
function defineCustomElement$p() {
|
|
16857
16880
|
if (typeof customElements === "undefined") {
|
|
16858
16881
|
return;
|
|
16859
16882
|
}
|
|
16860
|
-
const components = ["kup-text-field", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
16883
|
+
const components = ["kup-text-field", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
16861
16884
|
components.forEach(tagName => { switch (tagName) {
|
|
16862
16885
|
case "kup-text-field":
|
|
16863
16886
|
if (!customElements.get(tagName)) {
|
|
@@ -16934,64 +16957,69 @@ function defineCustomElement$o() {
|
|
|
16934
16957
|
defineCustomElement$e();
|
|
16935
16958
|
}
|
|
16936
16959
|
break;
|
|
16937
|
-
case "kup-
|
|
16960
|
+
case "kup-file-upload":
|
|
16938
16961
|
if (!customElements.get(tagName)) {
|
|
16939
16962
|
defineCustomElement$f();
|
|
16940
16963
|
}
|
|
16941
16964
|
break;
|
|
16942
|
-
case "kup-
|
|
16965
|
+
case "kup-gauge":
|
|
16943
16966
|
if (!customElements.get(tagName)) {
|
|
16944
16967
|
defineCustomElement$g();
|
|
16945
16968
|
}
|
|
16946
16969
|
break;
|
|
16947
|
-
case "kup-
|
|
16970
|
+
case "kup-image":
|
|
16948
16971
|
if (!customElements.get(tagName)) {
|
|
16949
16972
|
defineCustomElement$h();
|
|
16950
16973
|
}
|
|
16951
16974
|
break;
|
|
16952
|
-
case "kup-
|
|
16975
|
+
case "kup-list":
|
|
16953
16976
|
if (!customElements.get(tagName)) {
|
|
16954
16977
|
defineCustomElement$i();
|
|
16955
16978
|
}
|
|
16956
16979
|
break;
|
|
16957
|
-
case "kup-
|
|
16980
|
+
case "kup-progress-bar":
|
|
16958
16981
|
if (!customElements.get(tagName)) {
|
|
16959
16982
|
defineCustomElement$j();
|
|
16960
16983
|
}
|
|
16961
16984
|
break;
|
|
16962
|
-
case "kup-
|
|
16985
|
+
case "kup-rating":
|
|
16963
16986
|
if (!customElements.get(tagName)) {
|
|
16964
16987
|
defineCustomElement$k();
|
|
16965
16988
|
}
|
|
16966
16989
|
break;
|
|
16967
|
-
case "kup-
|
|
16990
|
+
case "kup-spinner":
|
|
16968
16991
|
if (!customElements.get(tagName)) {
|
|
16969
16992
|
defineCustomElement$l();
|
|
16970
16993
|
}
|
|
16971
16994
|
break;
|
|
16972
|
-
case "kup-
|
|
16995
|
+
case "kup-switch":
|
|
16973
16996
|
if (!customElements.get(tagName)) {
|
|
16974
16997
|
defineCustomElement$m();
|
|
16975
16998
|
}
|
|
16976
16999
|
break;
|
|
17000
|
+
case "kup-tab-bar":
|
|
17001
|
+
if (!customElements.get(tagName)) {
|
|
17002
|
+
defineCustomElement$n();
|
|
17003
|
+
}
|
|
17004
|
+
break;
|
|
16977
17005
|
case "kup-text-field":
|
|
16978
17006
|
if (!customElements.get(tagName)) {
|
|
16979
|
-
defineCustomElement$
|
|
17007
|
+
defineCustomElement$p();
|
|
16980
17008
|
}
|
|
16981
17009
|
break;
|
|
16982
17010
|
case "kup-time-picker":
|
|
16983
17011
|
if (!customElements.get(tagName)) {
|
|
16984
|
-
defineCustomElement$
|
|
17012
|
+
defineCustomElement$q();
|
|
16985
17013
|
}
|
|
16986
17014
|
break;
|
|
16987
17015
|
case "kup-toolbar":
|
|
16988
17016
|
if (!customElements.get(tagName)) {
|
|
16989
|
-
defineCustomElement$
|
|
17017
|
+
defineCustomElement$r();
|
|
16990
17018
|
}
|
|
16991
17019
|
break;
|
|
16992
17020
|
case "kup-tree":
|
|
16993
17021
|
if (!customElements.get(tagName)) {
|
|
16994
|
-
defineCustomElement$
|
|
17022
|
+
defineCustomElement$s();
|
|
16995
17023
|
}
|
|
16996
17024
|
break;
|
|
16997
17025
|
} });
|
|
@@ -17145,11 +17173,11 @@ const KupRadio = /*@__PURE__*/ proxyCustomElement(class KupRadio extends H {
|
|
|
17145
17173
|
"refresh": [64],
|
|
17146
17174
|
"setProps": [64]
|
|
17147
17175
|
}]);
|
|
17148
|
-
function defineCustomElement$
|
|
17176
|
+
function defineCustomElement$o() {
|
|
17149
17177
|
if (typeof customElements === "undefined") {
|
|
17150
17178
|
return;
|
|
17151
17179
|
}
|
|
17152
|
-
const components = ["kup-radio", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17180
|
+
const components = ["kup-radio", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17153
17181
|
components.forEach(tagName => { switch (tagName) {
|
|
17154
17182
|
case "kup-radio":
|
|
17155
17183
|
if (!customElements.get(tagName)) {
|
|
@@ -17226,64 +17254,69 @@ function defineCustomElement$n() {
|
|
|
17226
17254
|
defineCustomElement$e();
|
|
17227
17255
|
}
|
|
17228
17256
|
break;
|
|
17229
|
-
case "kup-
|
|
17257
|
+
case "kup-file-upload":
|
|
17230
17258
|
if (!customElements.get(tagName)) {
|
|
17231
17259
|
defineCustomElement$f();
|
|
17232
17260
|
}
|
|
17233
17261
|
break;
|
|
17234
|
-
case "kup-
|
|
17262
|
+
case "kup-gauge":
|
|
17235
17263
|
if (!customElements.get(tagName)) {
|
|
17236
17264
|
defineCustomElement$g();
|
|
17237
17265
|
}
|
|
17238
17266
|
break;
|
|
17239
|
-
case "kup-
|
|
17267
|
+
case "kup-image":
|
|
17240
17268
|
if (!customElements.get(tagName)) {
|
|
17241
17269
|
defineCustomElement$h();
|
|
17242
17270
|
}
|
|
17243
17271
|
break;
|
|
17244
|
-
case "kup-
|
|
17272
|
+
case "kup-list":
|
|
17245
17273
|
if (!customElements.get(tagName)) {
|
|
17246
17274
|
defineCustomElement$i();
|
|
17247
17275
|
}
|
|
17248
17276
|
break;
|
|
17249
|
-
case "kup-
|
|
17277
|
+
case "kup-progress-bar":
|
|
17250
17278
|
if (!customElements.get(tagName)) {
|
|
17251
17279
|
defineCustomElement$j();
|
|
17252
17280
|
}
|
|
17253
17281
|
break;
|
|
17254
|
-
case "kup-
|
|
17282
|
+
case "kup-rating":
|
|
17255
17283
|
if (!customElements.get(tagName)) {
|
|
17256
17284
|
defineCustomElement$k();
|
|
17257
17285
|
}
|
|
17258
17286
|
break;
|
|
17259
|
-
case "kup-
|
|
17287
|
+
case "kup-spinner":
|
|
17260
17288
|
if (!customElements.get(tagName)) {
|
|
17261
17289
|
defineCustomElement$l();
|
|
17262
17290
|
}
|
|
17263
17291
|
break;
|
|
17264
|
-
case "kup-
|
|
17292
|
+
case "kup-switch":
|
|
17265
17293
|
if (!customElements.get(tagName)) {
|
|
17266
17294
|
defineCustomElement$m();
|
|
17267
17295
|
}
|
|
17268
17296
|
break;
|
|
17297
|
+
case "kup-tab-bar":
|
|
17298
|
+
if (!customElements.get(tagName)) {
|
|
17299
|
+
defineCustomElement$n();
|
|
17300
|
+
}
|
|
17301
|
+
break;
|
|
17269
17302
|
case "kup-text-field":
|
|
17270
17303
|
if (!customElements.get(tagName)) {
|
|
17271
|
-
defineCustomElement$
|
|
17304
|
+
defineCustomElement$p();
|
|
17272
17305
|
}
|
|
17273
17306
|
break;
|
|
17274
17307
|
case "kup-time-picker":
|
|
17275
17308
|
if (!customElements.get(tagName)) {
|
|
17276
|
-
defineCustomElement$
|
|
17309
|
+
defineCustomElement$q();
|
|
17277
17310
|
}
|
|
17278
17311
|
break;
|
|
17279
17312
|
case "kup-toolbar":
|
|
17280
17313
|
if (!customElements.get(tagName)) {
|
|
17281
|
-
defineCustomElement$
|
|
17314
|
+
defineCustomElement$r();
|
|
17282
17315
|
}
|
|
17283
17316
|
break;
|
|
17284
17317
|
case "kup-tree":
|
|
17285
17318
|
if (!customElements.get(tagName)) {
|
|
17286
|
-
defineCustomElement$
|
|
17319
|
+
defineCustomElement$s();
|
|
17287
17320
|
}
|
|
17288
17321
|
break;
|
|
17289
17322
|
} });
|
|
@@ -17301,7 +17334,7 @@ var __classPrivateFieldSet$5 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
17301
17334
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
17302
17335
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
17303
17336
|
};
|
|
17304
|
-
var __classPrivateFieldGet$
|
|
17337
|
+
var __classPrivateFieldGet$7 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
17305
17338
|
if (kind === "a" && !f)
|
|
17306
17339
|
throw new TypeError("Private accessor was defined without a getter");
|
|
17307
17340
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
@@ -17445,7 +17478,7 @@ const KupTabBar = /*@__PURE__*/ proxyCustomElement(class KupTabBar extends H {
|
|
|
17445
17478
|
closeRowToolbarList() {
|
|
17446
17479
|
if (this.toolbarList) {
|
|
17447
17480
|
this.kupManager.dynamicPosition.stop(this.toolbarList);
|
|
17448
|
-
this.kupManager.removeClickCallback(__classPrivateFieldGet$
|
|
17481
|
+
this.kupManager.removeClickCallback(__classPrivateFieldGet$7(this, _KupTabBar_clickCbDropCard, "f"));
|
|
17449
17482
|
this.toolbarList.remove();
|
|
17450
17483
|
this.toolbarList = null;
|
|
17451
17484
|
}
|
|
@@ -17469,10 +17502,10 @@ const KupTabBar = /*@__PURE__*/ proxyCustomElement(class KupTabBar extends H {
|
|
|
17469
17502
|
},
|
|
17470
17503
|
el: this.toolbarList,
|
|
17471
17504
|
}, "f");
|
|
17472
|
-
this.kupManager.addClickCallback(__classPrivateFieldGet$
|
|
17505
|
+
this.kupManager.addClickCallback(__classPrivateFieldGet$7(this, _KupTabBar_clickCbDropCard, "f"), true);
|
|
17473
17506
|
this.rootElement.shadowRoot.appendChild(this.toolbarList);
|
|
17474
17507
|
requestAnimationFrame(() => {
|
|
17475
|
-
this.kupManager.dynamicPosition.register(this.toolbarList, __classPrivateFieldGet$
|
|
17508
|
+
this.kupManager.dynamicPosition.register(this.toolbarList, __classPrivateFieldGet$7(this, _KupTabBar_dropDownActionCardAnchor, "f"), 0, KupDynamicPositionPlacement.AUTO, true);
|
|
17476
17509
|
this.kupManager.dynamicPosition.start(this.toolbarList);
|
|
17477
17510
|
});
|
|
17478
17511
|
}
|
|
@@ -17575,11 +17608,11 @@ const KupTabBar = /*@__PURE__*/ proxyCustomElement(class KupTabBar extends H {
|
|
|
17575
17608
|
"ripple": ["applyRipple"]
|
|
17576
17609
|
}]);
|
|
17577
17610
|
_KupTabBar_clickCbDropCard = new WeakMap(), _KupTabBar_dropDownActionCardAnchor = new WeakMap();
|
|
17578
|
-
function defineCustomElement$
|
|
17611
|
+
function defineCustomElement$n() {
|
|
17579
17612
|
if (typeof customElements === "undefined") {
|
|
17580
17613
|
return;
|
|
17581
17614
|
}
|
|
17582
|
-
const components = ["kup-tab-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17615
|
+
const components = ["kup-tab-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17583
17616
|
components.forEach(tagName => { switch (tagName) {
|
|
17584
17617
|
case "kup-tab-bar":
|
|
17585
17618
|
if (!customElements.get(tagName)) {
|
|
@@ -17656,69 +17689,74 @@ function defineCustomElement$m() {
|
|
|
17656
17689
|
defineCustomElement$e();
|
|
17657
17690
|
}
|
|
17658
17691
|
break;
|
|
17659
|
-
case "kup-
|
|
17692
|
+
case "kup-file-upload":
|
|
17660
17693
|
if (!customElements.get(tagName)) {
|
|
17661
17694
|
defineCustomElement$f();
|
|
17662
17695
|
}
|
|
17663
17696
|
break;
|
|
17664
|
-
case "kup-
|
|
17697
|
+
case "kup-gauge":
|
|
17665
17698
|
if (!customElements.get(tagName)) {
|
|
17666
17699
|
defineCustomElement$g();
|
|
17667
17700
|
}
|
|
17668
17701
|
break;
|
|
17669
|
-
case "kup-
|
|
17702
|
+
case "kup-image":
|
|
17670
17703
|
if (!customElements.get(tagName)) {
|
|
17671
17704
|
defineCustomElement$h();
|
|
17672
17705
|
}
|
|
17673
17706
|
break;
|
|
17674
|
-
case "kup-
|
|
17707
|
+
case "kup-list":
|
|
17675
17708
|
if (!customElements.get(tagName)) {
|
|
17676
17709
|
defineCustomElement$i();
|
|
17677
17710
|
}
|
|
17678
17711
|
break;
|
|
17712
|
+
case "kup-progress-bar":
|
|
17713
|
+
if (!customElements.get(tagName)) {
|
|
17714
|
+
defineCustomElement$j();
|
|
17715
|
+
}
|
|
17716
|
+
break;
|
|
17679
17717
|
case "kup-radio":
|
|
17680
17718
|
if (!customElements.get(tagName)) {
|
|
17681
|
-
defineCustomElement$
|
|
17719
|
+
defineCustomElement$o();
|
|
17682
17720
|
}
|
|
17683
17721
|
break;
|
|
17684
17722
|
case "kup-rating":
|
|
17685
17723
|
if (!customElements.get(tagName)) {
|
|
17686
|
-
defineCustomElement$
|
|
17724
|
+
defineCustomElement$k();
|
|
17687
17725
|
}
|
|
17688
17726
|
break;
|
|
17689
17727
|
case "kup-spinner":
|
|
17690
17728
|
if (!customElements.get(tagName)) {
|
|
17691
|
-
defineCustomElement$
|
|
17729
|
+
defineCustomElement$l();
|
|
17692
17730
|
}
|
|
17693
17731
|
break;
|
|
17694
17732
|
case "kup-switch":
|
|
17695
17733
|
if (!customElements.get(tagName)) {
|
|
17696
|
-
defineCustomElement$
|
|
17734
|
+
defineCustomElement$m();
|
|
17697
17735
|
}
|
|
17698
17736
|
break;
|
|
17699
17737
|
case "kup-tab-bar":
|
|
17700
17738
|
if (!customElements.get(tagName)) {
|
|
17701
|
-
defineCustomElement$
|
|
17739
|
+
defineCustomElement$n();
|
|
17702
17740
|
}
|
|
17703
17741
|
break;
|
|
17704
17742
|
case "kup-text-field":
|
|
17705
17743
|
if (!customElements.get(tagName)) {
|
|
17706
|
-
defineCustomElement$
|
|
17744
|
+
defineCustomElement$p();
|
|
17707
17745
|
}
|
|
17708
17746
|
break;
|
|
17709
17747
|
case "kup-time-picker":
|
|
17710
17748
|
if (!customElements.get(tagName)) {
|
|
17711
|
-
defineCustomElement$
|
|
17749
|
+
defineCustomElement$q();
|
|
17712
17750
|
}
|
|
17713
17751
|
break;
|
|
17714
17752
|
case "kup-toolbar":
|
|
17715
17753
|
if (!customElements.get(tagName)) {
|
|
17716
|
-
defineCustomElement$
|
|
17754
|
+
defineCustomElement$r();
|
|
17717
17755
|
}
|
|
17718
17756
|
break;
|
|
17719
17757
|
case "kup-tree":
|
|
17720
17758
|
if (!customElements.get(tagName)) {
|
|
17721
|
-
defineCustomElement$
|
|
17759
|
+
defineCustomElement$s();
|
|
17722
17760
|
}
|
|
17723
17761
|
break;
|
|
17724
17762
|
} });
|
|
@@ -17851,7 +17889,7 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends H {
|
|
|
17851
17889
|
onChange: () => this.onKupChange(),
|
|
17852
17890
|
onFocus: () => this.onKupFocus(),
|
|
17853
17891
|
};
|
|
17854
|
-
return (h$1(Host, { key: '
|
|
17892
|
+
return (h$1(Host, { key: '2a170b39ec9bd03dd5c389f9eed702212ccc2825' }, h$1("style", { key: '6939e9e63441086335c0ce728bd3327e1c913411' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '5a814af6cdce48541f7010282e89c0b7d2390cbb', id: componentWrapperId }, h$1(FSwitch, Object.assign({ key: 'ef96c77675c6b65723061bf525f0f7e321e64b01' }, props)))));
|
|
17855
17893
|
}
|
|
17856
17894
|
disconnectedCallback() {
|
|
17857
17895
|
this.kupManager.theme.unregister(this);
|
|
@@ -17870,11 +17908,11 @@ const KupSwitch = /*@__PURE__*/ proxyCustomElement(class KupSwitch extends H {
|
|
|
17870
17908
|
"refresh": [64],
|
|
17871
17909
|
"setProps": [64]
|
|
17872
17910
|
}]);
|
|
17873
|
-
function defineCustomElement$
|
|
17911
|
+
function defineCustomElement$m() {
|
|
17874
17912
|
if (typeof customElements === "undefined") {
|
|
17875
17913
|
return;
|
|
17876
17914
|
}
|
|
17877
|
-
const components = ["kup-switch", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17915
|
+
const components = ["kup-switch", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
17878
17916
|
components.forEach(tagName => { switch (tagName) {
|
|
17879
17917
|
case "kup-switch":
|
|
17880
17918
|
if (!customElements.get(tagName)) {
|
|
@@ -17951,64 +17989,69 @@ function defineCustomElement$l() {
|
|
|
17951
17989
|
defineCustomElement$e();
|
|
17952
17990
|
}
|
|
17953
17991
|
break;
|
|
17954
|
-
case "kup-
|
|
17992
|
+
case "kup-file-upload":
|
|
17955
17993
|
if (!customElements.get(tagName)) {
|
|
17956
17994
|
defineCustomElement$f();
|
|
17957
17995
|
}
|
|
17958
17996
|
break;
|
|
17959
|
-
case "kup-
|
|
17997
|
+
case "kup-gauge":
|
|
17960
17998
|
if (!customElements.get(tagName)) {
|
|
17961
17999
|
defineCustomElement$g();
|
|
17962
18000
|
}
|
|
17963
18001
|
break;
|
|
17964
|
-
case "kup-
|
|
18002
|
+
case "kup-image":
|
|
17965
18003
|
if (!customElements.get(tagName)) {
|
|
17966
18004
|
defineCustomElement$h();
|
|
17967
18005
|
}
|
|
17968
18006
|
break;
|
|
17969
|
-
case "kup-
|
|
18007
|
+
case "kup-list":
|
|
17970
18008
|
if (!customElements.get(tagName)) {
|
|
17971
18009
|
defineCustomElement$i();
|
|
17972
18010
|
}
|
|
17973
18011
|
break;
|
|
17974
|
-
case "kup-
|
|
18012
|
+
case "kup-progress-bar":
|
|
17975
18013
|
if (!customElements.get(tagName)) {
|
|
17976
18014
|
defineCustomElement$j();
|
|
17977
18015
|
}
|
|
17978
18016
|
break;
|
|
17979
|
-
case "kup-
|
|
18017
|
+
case "kup-rating":
|
|
17980
18018
|
if (!customElements.get(tagName)) {
|
|
17981
18019
|
defineCustomElement$k();
|
|
17982
18020
|
}
|
|
17983
18021
|
break;
|
|
17984
|
-
case "kup-
|
|
18022
|
+
case "kup-spinner":
|
|
17985
18023
|
if (!customElements.get(tagName)) {
|
|
17986
18024
|
defineCustomElement$l();
|
|
17987
18025
|
}
|
|
17988
18026
|
break;
|
|
17989
|
-
case "kup-
|
|
18027
|
+
case "kup-switch":
|
|
17990
18028
|
if (!customElements.get(tagName)) {
|
|
17991
18029
|
defineCustomElement$m();
|
|
17992
18030
|
}
|
|
17993
18031
|
break;
|
|
18032
|
+
case "kup-tab-bar":
|
|
18033
|
+
if (!customElements.get(tagName)) {
|
|
18034
|
+
defineCustomElement$n();
|
|
18035
|
+
}
|
|
18036
|
+
break;
|
|
17994
18037
|
case "kup-text-field":
|
|
17995
18038
|
if (!customElements.get(tagName)) {
|
|
17996
|
-
defineCustomElement$
|
|
18039
|
+
defineCustomElement$p();
|
|
17997
18040
|
}
|
|
17998
18041
|
break;
|
|
17999
18042
|
case "kup-time-picker":
|
|
18000
18043
|
if (!customElements.get(tagName)) {
|
|
18001
|
-
defineCustomElement$
|
|
18044
|
+
defineCustomElement$q();
|
|
18002
18045
|
}
|
|
18003
18046
|
break;
|
|
18004
18047
|
case "kup-toolbar":
|
|
18005
18048
|
if (!customElements.get(tagName)) {
|
|
18006
|
-
defineCustomElement$
|
|
18049
|
+
defineCustomElement$r();
|
|
18007
18050
|
}
|
|
18008
18051
|
break;
|
|
18009
18052
|
case "kup-tree":
|
|
18010
18053
|
if (!customElements.get(tagName)) {
|
|
18011
|
-
defineCustomElement$
|
|
18054
|
+
defineCustomElement$s();
|
|
18012
18055
|
}
|
|
18013
18056
|
break;
|
|
18014
18057
|
} });
|
|
@@ -18114,59 +18157,59 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
18114
18157
|
spinnerClass = 'spinner-v' + this.layout;
|
|
18115
18158
|
if (this.layout === 7) {
|
|
18116
18159
|
spinnerEl = [
|
|
18117
|
-
h$1("div", { key: '
|
|
18118
|
-
h$1("div", { key: '
|
|
18119
|
-
h$1("div", { key: '
|
|
18120
|
-
h$1("div", { key: '
|
|
18121
|
-
h$1("div", { key: '
|
|
18122
|
-
h$1("div", { key: '
|
|
18160
|
+
h$1("div", { key: 'd9e8be5e8b34f7f4a8a0434703bee6e157be1b63', class: "sk-spinner-v7-dot" }),
|
|
18161
|
+
h$1("div", { key: 'b1bdcad24453ff4f730b7c58af9f3f1f495a6eff', class: "sk-spinner-v7-dot" }),
|
|
18162
|
+
h$1("div", { key: 'da867e6a2d4a56b0bf5bddc134ed1027136ba064', class: "sk-spinner-v7-dot" }),
|
|
18163
|
+
h$1("div", { key: '82b30c602d8d4febbaf061c033ddc7e22642affc', class: "sk-spinner-v7-dot" }),
|
|
18164
|
+
h$1("div", { key: 'ffcdea64b3b4f0063444413c43349c35448ccfa2', class: "sk-spinner-v7-dot" }),
|
|
18165
|
+
h$1("div", { key: '3bf58b200418d7b3614a8e4ad9f10ca2f795aede', class: "sk-spinner-v7-dot" }),
|
|
18123
18166
|
];
|
|
18124
18167
|
}
|
|
18125
18168
|
if (this.layout === 9) {
|
|
18126
18169
|
spinnerEl = [
|
|
18127
|
-
h$1("div", { key: '
|
|
18128
|
-
h$1("div", { key: '
|
|
18170
|
+
h$1("div", { key: '7eb08ef8b31172fe3ba643aaa449ab5419e269ed', class: "sk-spinner-v9-bounce1" }),
|
|
18171
|
+
h$1("div", { key: 'd2b116c1526eb2a94dcbfa929e871809d3d3748f', class: "sk-spinner-v9-bounce2" }),
|
|
18129
18172
|
];
|
|
18130
18173
|
}
|
|
18131
18174
|
if (this.layout === 10) {
|
|
18132
18175
|
spinnerEl = [
|
|
18133
|
-
h$1("div", { key: '
|
|
18134
|
-
h$1("div", { key: '
|
|
18176
|
+
h$1("div", { key: '620f68c389d59a6a6cd4e1c6c29a6c2e9e7c55d8', class: "sk-spinner-v10-cube1" }),
|
|
18177
|
+
h$1("div", { key: '43da427d8379ee798eca33aa989fc53ca9edf6db', class: "sk-spinner-v10-cube2" }),
|
|
18135
18178
|
];
|
|
18136
18179
|
}
|
|
18137
18180
|
if (this.layout === 12) {
|
|
18138
18181
|
spinnerEl = [
|
|
18139
|
-
h$1("div", { key: '
|
|
18140
|
-
h$1("div", { key: '
|
|
18182
|
+
h$1("div", { key: '29628c208192c8e5a99f3aa1ca56770ec1271a51', class: "sk-spinner-v12-dot1" }),
|
|
18183
|
+
h$1("div", { key: '9bbab46f67ad2aad4779b0a403c32ca0a2972edf', class: "sk-spinner-v12-dot2" }),
|
|
18141
18184
|
];
|
|
18142
18185
|
}
|
|
18143
18186
|
if (this.layout === 13) {
|
|
18144
18187
|
spinnerEl = [
|
|
18145
|
-
h$1("div", { key: '
|
|
18146
|
-
h$1("div", { key: '
|
|
18147
|
-
h$1("div", { key: '
|
|
18148
|
-
h$1("div", { key: '
|
|
18149
|
-
h$1("div", { key: '
|
|
18150
|
-
h$1("div", { key: '
|
|
18151
|
-
h$1("div", { key: '
|
|
18152
|
-
h$1("div", { key: '
|
|
18153
|
-
h$1("div", { key: '
|
|
18188
|
+
h$1("div", { key: '7efa860923505f7285b5dbb58180b1a376aab300', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
18189
|
+
h$1("div", { key: '40550163fc379434f79e747fbd1bdfe53bc40fab', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
18190
|
+
h$1("div", { key: 'fddd2cf238b07e29c4a0cf61bc317434f6a11381', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
18191
|
+
h$1("div", { key: '198d810b5dde8b84c0a70b92fc5d1119fa1e9252', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
18192
|
+
h$1("div", { key: 'bf20ad081cb99c617bf341ab84562f7ff110c8eb', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
18193
|
+
h$1("div", { key: '947e8bd99e74f891424083c166741437a0523049', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
18194
|
+
h$1("div", { key: '9dfa58ef83f77871115c61956832b2c77e6f2b58', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
18195
|
+
h$1("div", { key: 'a0479158ef8e2cb8116ab5e04f62369f9234cb8c', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
18196
|
+
h$1("div", { key: '6d17905bd8f29755faa1f06b906f6038df60de39', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
18154
18197
|
];
|
|
18155
18198
|
}
|
|
18156
18199
|
if (this.layout === 14) {
|
|
18157
18200
|
spinnerEl = [
|
|
18158
|
-
h$1("div", { key: '
|
|
18159
|
-
h$1("div", { key: '
|
|
18160
|
-
h$1("div", { key: '
|
|
18161
|
-
h$1("div", { key: '
|
|
18162
|
-
h$1("div", { key: '
|
|
18163
|
-
h$1("div", { key: '
|
|
18164
|
-
h$1("div", { key: '
|
|
18165
|
-
h$1("div", { key: '
|
|
18166
|
-
h$1("div", { key: '
|
|
18167
|
-
h$1("div", { key: '
|
|
18168
|
-
h$1("div", { key: '
|
|
18169
|
-
h$1("div", { key: '
|
|
18201
|
+
h$1("div", { key: 'c7c54b017299889f97ffac724cc854df2f785d8d', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
18202
|
+
h$1("div", { key: '6e0c491f023fa53aff13de97c536db976f8ad807', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
18203
|
+
h$1("div", { key: '3eb9618dded82002c896955322102ab1c5edbed0', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
18204
|
+
h$1("div", { key: 'ca5f55fc315d180e9df0d8a6bf7c0df52f9bc4fd', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
18205
|
+
h$1("div", { key: 'f653627358a0d717dd109a44e9c2be5e0b42be16', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
18206
|
+
h$1("div", { key: 'bbbca5db1d1885a88dd372619e45c9e213068408', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
18207
|
+
h$1("div", { key: 'a685096d2c0c3bd0638b4efe18f267564afcc167', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
18208
|
+
h$1("div", { key: '34d89964e41b9520d018f98f32ce6888864f2117', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
18209
|
+
h$1("div", { key: '34e25080ba83cb4e382e45b8d74dd8805bc00bf9', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
18210
|
+
h$1("div", { key: 'e2e454f8caa409d13743b4d526f9997a38b98bb7', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
18211
|
+
h$1("div", { key: '31b2eabb2b348b0a8c3e6bb46e130a22c73371b4', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
18212
|
+
h$1("div", { key: '6e05dfc6d58ec29ededbd3ffdbdddc3984c6345c', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
18170
18213
|
];
|
|
18171
18214
|
}
|
|
18172
18215
|
}
|
|
@@ -18185,7 +18228,7 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
18185
18228
|
else {
|
|
18186
18229
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
18187
18230
|
}
|
|
18188
|
-
return (h$1(Host, { key: '
|
|
18231
|
+
return (h$1(Host, { key: '3c4ecb099a610627191bdb34a40c1b44d4a769b6', style: elStyle }, h$1("style", { key: 'c89628f8825d7cbc22b64cdeb1707baaae8d1d38' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '3fd5ecca92397a1cc5b0c2dbc3843fe1403c1f42', id: componentWrapperId, style: elStyle }, h$1("div", { key: 'f6dc141c459cc87da063c4f03c0609b1c295988b', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h$1("div", { key: 'acb6bd40542676fb484e7ceb0e15fd6164401fc9', id: wrapperClass, style: elStyle }, h$1("div", { key: '3ae4b174167a0a8a07127d5e85d95438434c091a', class: spinnerClass }, spinnerEl))))));
|
|
18189
18232
|
}
|
|
18190
18233
|
disconnectedCallback() {
|
|
18191
18234
|
this.kupManager.theme.unregister(this);
|
|
@@ -18206,11 +18249,11 @@ const KupSpinner = /*@__PURE__*/ proxyCustomElement(class KupSpinner extends H {
|
|
|
18206
18249
|
"refresh": [64],
|
|
18207
18250
|
"setProps": [64]
|
|
18208
18251
|
}]);
|
|
18209
|
-
function defineCustomElement$
|
|
18252
|
+
function defineCustomElement$l() {
|
|
18210
18253
|
if (typeof customElements === "undefined") {
|
|
18211
18254
|
return;
|
|
18212
18255
|
}
|
|
18213
|
-
const components = ["kup-spinner", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18256
|
+
const components = ["kup-spinner", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18214
18257
|
components.forEach(tagName => { switch (tagName) {
|
|
18215
18258
|
case "kup-spinner":
|
|
18216
18259
|
if (!customElements.get(tagName)) {
|
|
@@ -18287,64 +18330,69 @@ function defineCustomElement$k() {
|
|
|
18287
18330
|
defineCustomElement$e();
|
|
18288
18331
|
}
|
|
18289
18332
|
break;
|
|
18290
|
-
case "kup-
|
|
18333
|
+
case "kup-file-upload":
|
|
18291
18334
|
if (!customElements.get(tagName)) {
|
|
18292
18335
|
defineCustomElement$f();
|
|
18293
18336
|
}
|
|
18294
18337
|
break;
|
|
18295
|
-
case "kup-
|
|
18338
|
+
case "kup-gauge":
|
|
18296
18339
|
if (!customElements.get(tagName)) {
|
|
18297
18340
|
defineCustomElement$g();
|
|
18298
18341
|
}
|
|
18299
18342
|
break;
|
|
18300
|
-
case "kup-
|
|
18343
|
+
case "kup-image":
|
|
18301
18344
|
if (!customElements.get(tagName)) {
|
|
18302
18345
|
defineCustomElement$h();
|
|
18303
18346
|
}
|
|
18304
18347
|
break;
|
|
18305
|
-
case "kup-
|
|
18348
|
+
case "kup-list":
|
|
18306
18349
|
if (!customElements.get(tagName)) {
|
|
18307
18350
|
defineCustomElement$i();
|
|
18308
18351
|
}
|
|
18309
18352
|
break;
|
|
18310
|
-
case "kup-
|
|
18353
|
+
case "kup-progress-bar":
|
|
18311
18354
|
if (!customElements.get(tagName)) {
|
|
18312
18355
|
defineCustomElement$j();
|
|
18313
18356
|
}
|
|
18314
18357
|
break;
|
|
18315
|
-
case "kup-
|
|
18358
|
+
case "kup-rating":
|
|
18316
18359
|
if (!customElements.get(tagName)) {
|
|
18317
18360
|
defineCustomElement$k();
|
|
18318
18361
|
}
|
|
18319
18362
|
break;
|
|
18320
|
-
case "kup-
|
|
18363
|
+
case "kup-spinner":
|
|
18321
18364
|
if (!customElements.get(tagName)) {
|
|
18322
18365
|
defineCustomElement$l();
|
|
18323
18366
|
}
|
|
18324
18367
|
break;
|
|
18325
|
-
case "kup-
|
|
18368
|
+
case "kup-switch":
|
|
18326
18369
|
if (!customElements.get(tagName)) {
|
|
18327
18370
|
defineCustomElement$m();
|
|
18328
18371
|
}
|
|
18329
18372
|
break;
|
|
18373
|
+
case "kup-tab-bar":
|
|
18374
|
+
if (!customElements.get(tagName)) {
|
|
18375
|
+
defineCustomElement$n();
|
|
18376
|
+
}
|
|
18377
|
+
break;
|
|
18330
18378
|
case "kup-text-field":
|
|
18331
18379
|
if (!customElements.get(tagName)) {
|
|
18332
|
-
defineCustomElement$
|
|
18380
|
+
defineCustomElement$p();
|
|
18333
18381
|
}
|
|
18334
18382
|
break;
|
|
18335
18383
|
case "kup-time-picker":
|
|
18336
18384
|
if (!customElements.get(tagName)) {
|
|
18337
|
-
defineCustomElement$
|
|
18385
|
+
defineCustomElement$q();
|
|
18338
18386
|
}
|
|
18339
18387
|
break;
|
|
18340
18388
|
case "kup-toolbar":
|
|
18341
18389
|
if (!customElements.get(tagName)) {
|
|
18342
|
-
defineCustomElement$
|
|
18390
|
+
defineCustomElement$r();
|
|
18343
18391
|
}
|
|
18344
18392
|
break;
|
|
18345
18393
|
case "kup-tree":
|
|
18346
18394
|
if (!customElements.get(tagName)) {
|
|
18347
|
-
defineCustomElement$
|
|
18395
|
+
defineCustomElement$s();
|
|
18348
18396
|
}
|
|
18349
18397
|
break;
|
|
18350
18398
|
} });
|
|
@@ -18444,7 +18492,7 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends H {
|
|
|
18444
18492
|
: false,
|
|
18445
18493
|
onClick: (i) => this.onKupClick(i),
|
|
18446
18494
|
};
|
|
18447
|
-
return (h$1(Host, { key: '
|
|
18495
|
+
return (h$1(Host, { key: '879a6ae98190a2e1084def50d40d01ed821c9660' }, h$1("style", { key: '0fa9425c1dbce6d801647b70a32394063ccce065' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '36bb228b8c86388fc981ebd556df4cad4e89d7bb', id: componentWrapperId }, h$1(FRating, Object.assign({ key: '2177af857eaca72423e6d4d3a4babba73691de51' }, props)))));
|
|
18448
18496
|
}
|
|
18449
18497
|
disconnectedCallback() {
|
|
18450
18498
|
this.kupManager.theme.unregister(this);
|
|
@@ -18460,11 +18508,11 @@ const KupRating = /*@__PURE__*/ proxyCustomElement(class KupRating extends H {
|
|
|
18460
18508
|
"refresh": [64],
|
|
18461
18509
|
"setProps": [64]
|
|
18462
18510
|
}]);
|
|
18463
|
-
function defineCustomElement$
|
|
18511
|
+
function defineCustomElement$k() {
|
|
18464
18512
|
if (typeof customElements === "undefined") {
|
|
18465
18513
|
return;
|
|
18466
18514
|
}
|
|
18467
|
-
const components = ["kup-rating", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18515
|
+
const components = ["kup-rating", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18468
18516
|
components.forEach(tagName => { switch (tagName) {
|
|
18469
18517
|
case "kup-rating":
|
|
18470
18518
|
if (!customElements.get(tagName)) {
|
|
@@ -18541,64 +18589,69 @@ function defineCustomElement$j() {
|
|
|
18541
18589
|
defineCustomElement$e();
|
|
18542
18590
|
}
|
|
18543
18591
|
break;
|
|
18544
|
-
case "kup-
|
|
18592
|
+
case "kup-file-upload":
|
|
18545
18593
|
if (!customElements.get(tagName)) {
|
|
18546
18594
|
defineCustomElement$f();
|
|
18547
18595
|
}
|
|
18548
18596
|
break;
|
|
18549
|
-
case "kup-
|
|
18597
|
+
case "kup-gauge":
|
|
18550
18598
|
if (!customElements.get(tagName)) {
|
|
18551
18599
|
defineCustomElement$g();
|
|
18552
18600
|
}
|
|
18553
18601
|
break;
|
|
18554
|
-
case "kup-
|
|
18602
|
+
case "kup-image":
|
|
18555
18603
|
if (!customElements.get(tagName)) {
|
|
18556
18604
|
defineCustomElement$h();
|
|
18557
18605
|
}
|
|
18558
18606
|
break;
|
|
18559
|
-
case "kup-
|
|
18607
|
+
case "kup-list":
|
|
18560
18608
|
if (!customElements.get(tagName)) {
|
|
18561
18609
|
defineCustomElement$i();
|
|
18562
18610
|
}
|
|
18563
18611
|
break;
|
|
18564
|
-
case "kup-
|
|
18612
|
+
case "kup-progress-bar":
|
|
18565
18613
|
if (!customElements.get(tagName)) {
|
|
18566
18614
|
defineCustomElement$j();
|
|
18567
18615
|
}
|
|
18568
18616
|
break;
|
|
18569
|
-
case "kup-
|
|
18617
|
+
case "kup-rating":
|
|
18570
18618
|
if (!customElements.get(tagName)) {
|
|
18571
18619
|
defineCustomElement$k();
|
|
18572
18620
|
}
|
|
18573
18621
|
break;
|
|
18574
|
-
case "kup-
|
|
18622
|
+
case "kup-spinner":
|
|
18575
18623
|
if (!customElements.get(tagName)) {
|
|
18576
18624
|
defineCustomElement$l();
|
|
18577
18625
|
}
|
|
18578
18626
|
break;
|
|
18579
|
-
case "kup-
|
|
18627
|
+
case "kup-switch":
|
|
18580
18628
|
if (!customElements.get(tagName)) {
|
|
18581
18629
|
defineCustomElement$m();
|
|
18582
18630
|
}
|
|
18583
18631
|
break;
|
|
18632
|
+
case "kup-tab-bar":
|
|
18633
|
+
if (!customElements.get(tagName)) {
|
|
18634
|
+
defineCustomElement$n();
|
|
18635
|
+
}
|
|
18636
|
+
break;
|
|
18584
18637
|
case "kup-text-field":
|
|
18585
18638
|
if (!customElements.get(tagName)) {
|
|
18586
|
-
defineCustomElement$
|
|
18639
|
+
defineCustomElement$p();
|
|
18587
18640
|
}
|
|
18588
18641
|
break;
|
|
18589
18642
|
case "kup-time-picker":
|
|
18590
18643
|
if (!customElements.get(tagName)) {
|
|
18591
|
-
defineCustomElement$
|
|
18644
|
+
defineCustomElement$q();
|
|
18592
18645
|
}
|
|
18593
18646
|
break;
|
|
18594
18647
|
case "kup-toolbar":
|
|
18595
18648
|
if (!customElements.get(tagName)) {
|
|
18596
|
-
defineCustomElement$
|
|
18649
|
+
defineCustomElement$r();
|
|
18597
18650
|
}
|
|
18598
18651
|
break;
|
|
18599
18652
|
case "kup-tree":
|
|
18600
18653
|
if (!customElements.get(tagName)) {
|
|
18601
|
-
defineCustomElement$
|
|
18654
|
+
defineCustomElement$s();
|
|
18602
18655
|
}
|
|
18603
18656
|
break;
|
|
18604
18657
|
} });
|
|
@@ -18708,7 +18761,7 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
18708
18761
|
? true
|
|
18709
18762
|
: false,
|
|
18710
18763
|
};
|
|
18711
|
-
return (h$1(Host, { key: '
|
|
18764
|
+
return (h$1(Host, { key: 'e67a7bd17e8f831ccb6e964053d3e9bcc4f3cf74' }, h$1("style", { key: '5568051629371fd5f95b9b51441879380e5a9d67' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '65cffea374b2d2598a2e8debb8be1b4c5e6a0c41', id: componentWrapperId }, h$1(FProgressBar, Object.assign({ key: '22522650b68cc7ec26d99f06c4d1f3af417ba9f0' }, props)))));
|
|
18712
18765
|
}
|
|
18713
18766
|
disconnectedCallback() {
|
|
18714
18767
|
this.kupManager.theme.unregister(this);
|
|
@@ -18727,11 +18780,11 @@ const KupProgressBar = /*@__PURE__*/ proxyCustomElement(class KupProgressBar ext
|
|
|
18727
18780
|
"refresh": [64],
|
|
18728
18781
|
"setProps": [64]
|
|
18729
18782
|
}]);
|
|
18730
|
-
function defineCustomElement$
|
|
18783
|
+
function defineCustomElement$j() {
|
|
18731
18784
|
if (typeof customElements === "undefined") {
|
|
18732
18785
|
return;
|
|
18733
18786
|
}
|
|
18734
|
-
const components = ["kup-progress-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18787
|
+
const components = ["kup-progress-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
18735
18788
|
components.forEach(tagName => { switch (tagName) {
|
|
18736
18789
|
case "kup-progress-bar":
|
|
18737
18790
|
if (!customElements.get(tagName)) {
|
|
@@ -18808,64 +18861,69 @@ function defineCustomElement$i() {
|
|
|
18808
18861
|
defineCustomElement$e();
|
|
18809
18862
|
}
|
|
18810
18863
|
break;
|
|
18811
|
-
case "kup-
|
|
18864
|
+
case "kup-file-upload":
|
|
18812
18865
|
if (!customElements.get(tagName)) {
|
|
18813
18866
|
defineCustomElement$f();
|
|
18814
18867
|
}
|
|
18815
18868
|
break;
|
|
18816
|
-
case "kup-
|
|
18869
|
+
case "kup-gauge":
|
|
18817
18870
|
if (!customElements.get(tagName)) {
|
|
18818
18871
|
defineCustomElement$g();
|
|
18819
18872
|
}
|
|
18820
18873
|
break;
|
|
18821
|
-
case "kup-
|
|
18874
|
+
case "kup-image":
|
|
18822
18875
|
if (!customElements.get(tagName)) {
|
|
18823
18876
|
defineCustomElement$h();
|
|
18824
18877
|
}
|
|
18825
18878
|
break;
|
|
18826
|
-
case "kup-
|
|
18879
|
+
case "kup-list":
|
|
18827
18880
|
if (!customElements.get(tagName)) {
|
|
18828
18881
|
defineCustomElement$i();
|
|
18829
18882
|
}
|
|
18830
18883
|
break;
|
|
18831
|
-
case "kup-
|
|
18884
|
+
case "kup-progress-bar":
|
|
18832
18885
|
if (!customElements.get(tagName)) {
|
|
18833
18886
|
defineCustomElement$j();
|
|
18834
18887
|
}
|
|
18835
18888
|
break;
|
|
18836
|
-
case "kup-
|
|
18889
|
+
case "kup-rating":
|
|
18837
18890
|
if (!customElements.get(tagName)) {
|
|
18838
18891
|
defineCustomElement$k();
|
|
18839
18892
|
}
|
|
18840
18893
|
break;
|
|
18841
|
-
case "kup-
|
|
18894
|
+
case "kup-spinner":
|
|
18842
18895
|
if (!customElements.get(tagName)) {
|
|
18843
18896
|
defineCustomElement$l();
|
|
18844
18897
|
}
|
|
18845
18898
|
break;
|
|
18846
|
-
case "kup-
|
|
18899
|
+
case "kup-switch":
|
|
18847
18900
|
if (!customElements.get(tagName)) {
|
|
18848
18901
|
defineCustomElement$m();
|
|
18849
18902
|
}
|
|
18850
18903
|
break;
|
|
18904
|
+
case "kup-tab-bar":
|
|
18905
|
+
if (!customElements.get(tagName)) {
|
|
18906
|
+
defineCustomElement$n();
|
|
18907
|
+
}
|
|
18908
|
+
break;
|
|
18851
18909
|
case "kup-text-field":
|
|
18852
18910
|
if (!customElements.get(tagName)) {
|
|
18853
|
-
defineCustomElement$
|
|
18911
|
+
defineCustomElement$p();
|
|
18854
18912
|
}
|
|
18855
18913
|
break;
|
|
18856
18914
|
case "kup-time-picker":
|
|
18857
18915
|
if (!customElements.get(tagName)) {
|
|
18858
|
-
defineCustomElement$
|
|
18916
|
+
defineCustomElement$q();
|
|
18859
18917
|
}
|
|
18860
18918
|
break;
|
|
18861
18919
|
case "kup-toolbar":
|
|
18862
18920
|
if (!customElements.get(tagName)) {
|
|
18863
|
-
defineCustomElement$
|
|
18921
|
+
defineCustomElement$r();
|
|
18864
18922
|
}
|
|
18865
18923
|
break;
|
|
18866
18924
|
case "kup-tree":
|
|
18867
18925
|
if (!customElements.get(tagName)) {
|
|
18868
|
-
defineCustomElement$
|
|
18926
|
+
defineCustomElement$s();
|
|
18869
18927
|
}
|
|
18870
18928
|
break;
|
|
18871
18929
|
} });
|
|
@@ -18874,7 +18932,7 @@ function defineCustomElement$i() {
|
|
|
18874
18932
|
const kupListCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_list_background_color:var(\n --kup-list-background-color,\n var(--kup-layer-1)\n );--kup_list_background_color_hover:var(\n --kup-list-background-color-hover,\n var(--kup-layer-1-hover)\n );--kup_list_focus_color:var(--kup-list-focus-color, var(--kup-border-subtle));--kup_list_text_color:var(--kup-list-text-color, var(--kup-text-secondary));--kup_list_item_text_color:var(\n --kup-list-item-text-color,\n var(--kup-text-secondary)\n );--kup_list_text_color_hover:var(\n --kup-list-text-color-hover,\n var(--kup-text-primary)\n );--kup_list_font_family:var(--kup-list-font-family, var(--kup-font-family));--kup_list_font_size:var(--kup-list-font-size, var(--kup-font-size));--kup_list_font_weight:var(--kup-list-font-weight, 400);--kup_list_group_item_height:var(--kup-list-group-item-height, 3em);--kup_list_item_height:var(--kup_list_item_height_medium, 2.5em);--kup_list_item_height_small:var(--kup-list-item-height-small, 32px);--kup_list_item_height_medium:var(--kup-list-item-height-medium, 40px);--kup_list_item_height_large:var(--kup-list-item-height-large, 48px);--kup_list_item_padding_left:var(\n --kup-list-item-padding,\n var(--kup-space-05)\n );--kup_list_box_shadow:var(\n --kup-box-shadow,\n 0px 3px 6px 0 rgba(0, 0, 0, 0.3)\n );--kup_list_item_padding_right:var(--kup-list-item-padding, 0.75em);--kup_list_max_height_as_menu:var(--kup-list-max-height-as-menu, 33vh);--kup_list_primary_color:var(\n --kup-list-primary-color,\n var(--kup-primary-color)\n );--kup_list_primary_color_rgb:var(\n --kup-list-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_list_separator_color:var(\n --kup-list-separator-color,\n rgba(var(--kup-text-color-rgb), 0.25)\n );--kup_list_transition:var(--kup-list-transition, 120ms);display:block;font-family:var(--kup_list_font_family);font-size:var(--kup_list_font_size);outline:none}.scroll-list{overflow-y:auto;max-height:var(--kup_list_max_height_as_menu)}.list{background:var(--kup_list_background_color);color:var(--kup_list_text_color);font-weight:var(--kup_list_font_weight);letter-spacing:0.009375em;line-height:1.5em;list-style-type:none;margin:0;padding:0;text-decoration:inherit;text-transform:inherit}.list--empty{padding:0}.list .list-item{display:-ms-flexbox;display:flex;height:var(--kup_list_item_height);position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:var(--kup_list_item_padding_left);padding-right:calc(var(--kup_list_item_padding_left) + var(--kup_list_item_expand_padding, 0px));overflow:hidden;outline:none;transition:background-color var(--kup_list_transition), color var(--kup_list_transition)}.list .list-item[role=checkbox],.list .list-item[role=radio]{height:var(--kup_list_group_item_height)}.list .list-item:focus{outline:2px solid var(--kup-border-interactive);outline-offset:-2px}.list .list-item.list-item--activated,.list .list-item.list-item--activated .list-item__graphic,.list .list-item.list-item--selected,.list .list-item.list-item--selected .list-item__graphic{background-color:var(--kup_list_background_color_hover);color:var(--kup_list_text_color_hover)}.list .list-item .list-item__text{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--kup_list_item_text_color);font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.list .list-item .list-item__primary-text{-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:0;line-height:normal;margin-bottom:-1.5em;display:block}.list .list-item .list-item__primary-text:before{display:inline-block;width:0;height:1.5em;content:\"\";vertical-align:0}.list .list-item .list-item__primary-text:after{display:inline-block;width:0;height:2em;content:\"\";vertical-align:-2em}.list .list-item .list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-o-text-overflow:ellipsis;-webkit-font-smoothing:antialiased;display:block;font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em;text-decoration:inherit;text-transform:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-top:0;line-height:normal;color:var(--kup_list_text_color);opacity:0.75}.list .list-item .kup-icon{margin:0;margin-right:8px}.list .list-item kup-checkbox{margin:0}.list .list-divider{background-color:var(--kup_list_separator_color);height:1px;padding:0;background-clip:content-box}.list.list--two-line .list-item{height:3.6em}.list.list--two-line .list-item__text{-ms-flex-item-align:start;align-self:flex-start}.list:not(.list--non-interactive)>:not(.list-item--disabled).list-item{cursor:pointer}.list:not(.list--non-interactive)>:not(.list-item--disabled).list-item label{cursor:pointer}.list:not(.list--non-interactive) .list-item:not(.list-item--selected):hover,.list:not(.list--non-interactive) .list-item:not(.list-item--selected).list-item--focused{background-color:var(--kup_list_background_color_hover);color:var(--kup_list_text_color_hover)}.list.text-hidden .list-item__text{display:none}.kup-menu{animation:fade-in 0.25s ease-out;background-color:var(--kup_list_background_color);box-shadow:var(--kup_list_box_shadow);border:1px solid var(--kup_list_focus_color);color:var(--kup-text-color);display:none;max-height:var(--kup_list_max_height_as_menu);position:relative;transform:none;transform-origin:unset;transition:height 0.2s;user-select:none;will-change:unset}.kup-menu.visible{display:block}.kup-menu .list-item__text{user-select:none;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}:host([nested-list]){--kup_list_item_expand_padding:1.5em;max-width:250px}:host([nested-list]) .kup-menu{max-height:unset;overflow:visible}:host([nested-list]) kup-list{display:none;left:100%;position:absolute;top:0}:host([nested-list]) .list-item{overflow:visible}:host([nested-list]) .list-item__expand-icon{position:absolute;right:0}:host([nested-list]) .list-item:hover kup-list{display:block}:host(.kup-paddingless) .list{padding:0}:host(.kup-danger){--kup-list-primary-color:var(--kup-danger-color-60);--kup-list-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-list-primary-color:var(--kup-info-color);--kup-list-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-list-primary-color:var(--kup-secondary-color);--kup-list-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-list-primary-color:var(--kup-success-color-40);--kup-list-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-list-primary-color:var(--kup-warning-color-50);--kup-list-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
18875
18933
|
const KupListStyle0 = kupListCss;
|
|
18876
18934
|
|
|
18877
|
-
var __classPrivateFieldGet$
|
|
18935
|
+
var __classPrivateFieldGet$6 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
18878
18936
|
if (kind === "a" && !f)
|
|
18879
18937
|
throw new TypeError("Private accessor was defined without a getter");
|
|
18880
18938
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
@@ -18916,7 +18974,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
18916
18974
|
_KupList_previouslySelectedItemIndex.set(this, void 0);
|
|
18917
18975
|
_KupList_previouslySelectedItemReached.set(this, void 0);
|
|
18918
18976
|
_KupList_listenKeydown.set(this, (e) => {
|
|
18919
|
-
if (this.keyboardNavigation && __classPrivateFieldGet$
|
|
18977
|
+
if (this.keyboardNavigation && __classPrivateFieldGet$6(this, _KupList_listItems, "f")) {
|
|
18920
18978
|
switch (e.key) {
|
|
18921
18979
|
case 'ArrowDown':
|
|
18922
18980
|
e.preventDefault();
|
|
@@ -18931,7 +18989,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
18931
18989
|
case 'Enter':
|
|
18932
18990
|
e.preventDefault();
|
|
18933
18991
|
e.stopPropagation();
|
|
18934
|
-
__classPrivateFieldGet$
|
|
18992
|
+
__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_handleSelection).call(this, this.focused);
|
|
18935
18993
|
break;
|
|
18936
18994
|
}
|
|
18937
18995
|
}
|
|
@@ -18965,7 +19023,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
18965
19023
|
});
|
|
18966
19024
|
}
|
|
18967
19025
|
onKupClick(index) {
|
|
18968
|
-
__classPrivateFieldGet$
|
|
19026
|
+
__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
|
|
18969
19027
|
}
|
|
18970
19028
|
/*-------------------------------------------------*/
|
|
18971
19029
|
/* P u b l i c M e t h o d s */
|
|
@@ -18974,7 +19032,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
18974
19032
|
* Focuses the next element of the list.
|
|
18975
19033
|
*/
|
|
18976
19034
|
async focusNext() {
|
|
18977
|
-
if (__classPrivateFieldGet$
|
|
19035
|
+
if (__classPrivateFieldGet$6(this, _KupList_listItems, "f").length > 0) {
|
|
18978
19036
|
if (isNaN(this.focused) ||
|
|
18979
19037
|
this.focused === null ||
|
|
18980
19038
|
this.focused === undefined) {
|
|
@@ -18989,17 +19047,17 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
18989
19047
|
else {
|
|
18990
19048
|
this.focused++;
|
|
18991
19049
|
}
|
|
18992
|
-
if (this.focused > __classPrivateFieldGet$
|
|
19050
|
+
if (this.focused > __classPrivateFieldGet$6(this, _KupList_listItems, "f").length - 1) {
|
|
18993
19051
|
this.focused = 0;
|
|
18994
19052
|
}
|
|
18995
|
-
if (!__classPrivateFieldGet$
|
|
18996
|
-
__classPrivateFieldGet$
|
|
19053
|
+
if (!__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemReached, "f") &&
|
|
19054
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f")]) {
|
|
18997
19055
|
__classPrivateFieldSet$4(this, _KupList_previouslySelectedItemReached, true, "f");
|
|
18998
|
-
this.focused = __classPrivateFieldGet$
|
|
18999
|
-
__classPrivateFieldGet$
|
|
19056
|
+
this.focused = __classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f");
|
|
19057
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f")].focus();
|
|
19000
19058
|
}
|
|
19001
|
-
else if (__classPrivateFieldGet$
|
|
19002
|
-
__classPrivateFieldGet$
|
|
19059
|
+
else if (__classPrivateFieldGet$6(this, _KupList_listItems, "f")[this.focused]) {
|
|
19060
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[this.focused].focus();
|
|
19003
19061
|
}
|
|
19004
19062
|
}
|
|
19005
19063
|
}
|
|
@@ -19007,7 +19065,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19007
19065
|
* Focuses the previous element of the list.
|
|
19008
19066
|
*/
|
|
19009
19067
|
async focusPrevious() {
|
|
19010
|
-
if (__classPrivateFieldGet$
|
|
19068
|
+
if (__classPrivateFieldGet$6(this, _KupList_listItems, "f").length > 0) {
|
|
19011
19069
|
if (isNaN(this.focused) ||
|
|
19012
19070
|
this.focused === null ||
|
|
19013
19071
|
this.focused === undefined) {
|
|
@@ -19023,16 +19081,16 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19023
19081
|
this.focused--;
|
|
19024
19082
|
}
|
|
19025
19083
|
if (this.focused < 0) {
|
|
19026
|
-
this.focused = __classPrivateFieldGet$
|
|
19084
|
+
this.focused = __classPrivateFieldGet$6(this, _KupList_listItems, "f").length - 1;
|
|
19027
19085
|
}
|
|
19028
|
-
if (!__classPrivateFieldGet$
|
|
19029
|
-
__classPrivateFieldGet$
|
|
19086
|
+
if (!__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemReached, "f") &&
|
|
19087
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f")]) {
|
|
19030
19088
|
__classPrivateFieldSet$4(this, _KupList_previouslySelectedItemReached, true, "f");
|
|
19031
|
-
this.focused = __classPrivateFieldGet$
|
|
19032
|
-
__classPrivateFieldGet$
|
|
19089
|
+
this.focused = __classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f");
|
|
19090
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[__classPrivateFieldGet$6(this, _KupList_previouslySelectedItemIndex, "f")].focus();
|
|
19033
19091
|
}
|
|
19034
|
-
else if (__classPrivateFieldGet$
|
|
19035
|
-
__classPrivateFieldGet$
|
|
19092
|
+
else if (__classPrivateFieldGet$6(this, _KupList_listItems, "f")[this.focused]) {
|
|
19093
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f")[this.focused].focus();
|
|
19036
19094
|
}
|
|
19037
19095
|
}
|
|
19038
19096
|
}
|
|
@@ -19071,7 +19129,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19071
19129
|
if (index === undefined) {
|
|
19072
19130
|
index = this.focused;
|
|
19073
19131
|
}
|
|
19074
|
-
__classPrivateFieldGet$
|
|
19132
|
+
__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_handleSelection).call(this, index);
|
|
19075
19133
|
}
|
|
19076
19134
|
/**
|
|
19077
19135
|
* Sets the props to the component.
|
|
@@ -19082,11 +19140,11 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19082
19140
|
}
|
|
19083
19141
|
async setFocus() {
|
|
19084
19142
|
var _a;
|
|
19085
|
-
(_a = __classPrivateFieldGet$
|
|
19143
|
+
(_a = __classPrivateFieldGet$6(this, _KupList_inputEl, "f")) === null || _a === void 0 ? void 0 : _a.focus();
|
|
19086
19144
|
}
|
|
19087
19145
|
async setBlur() {
|
|
19088
19146
|
var _a;
|
|
19089
|
-
(_a = __classPrivateFieldGet$
|
|
19147
|
+
(_a = __classPrivateFieldGet$6(this, _KupList_inputEl, "f")) === null || _a === void 0 ? void 0 : _a.blur();
|
|
19090
19148
|
}
|
|
19091
19149
|
onFilterValueChange(event) {
|
|
19092
19150
|
var _a, _b;
|
|
@@ -19098,8 +19156,8 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19098
19156
|
/* L i f e c y c l e H o o k s */
|
|
19099
19157
|
/*-------------------------------------------------*/
|
|
19100
19158
|
componentWillLoad() {
|
|
19101
|
-
__classPrivateFieldGet$
|
|
19102
|
-
__classPrivateFieldGet$
|
|
19159
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").debug.logLoad(this, false);
|
|
19160
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").theme.register(this);
|
|
19103
19161
|
for (let index = 0; index < this.data.length; index++) {
|
|
19104
19162
|
const el = this.data[index];
|
|
19105
19163
|
if (el.selected) {
|
|
@@ -19108,10 +19166,10 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19108
19166
|
}
|
|
19109
19167
|
}
|
|
19110
19168
|
componentDidLoad() {
|
|
19111
|
-
__classPrivateFieldGet$
|
|
19169
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").debug.logLoad(this, true);
|
|
19112
19170
|
}
|
|
19113
19171
|
componentWillRender() {
|
|
19114
|
-
__classPrivateFieldGet$
|
|
19172
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").debug.logRender(this, false);
|
|
19115
19173
|
}
|
|
19116
19174
|
componentDidRender() {
|
|
19117
19175
|
var _a;
|
|
@@ -19131,7 +19189,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19131
19189
|
}
|
|
19132
19190
|
}
|
|
19133
19191
|
__classPrivateFieldSet$4(this, _KupList_previouslySelectedItemIndex, (_a = this.data.findIndex((node) => node.selected === true)) !== null && _a !== void 0 ? _a : 0, "f");
|
|
19134
|
-
__classPrivateFieldGet$
|
|
19192
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").debug.logRender(this, true);
|
|
19135
19193
|
}
|
|
19136
19194
|
render() {
|
|
19137
19195
|
__classPrivateFieldSet$4(this, _KupList_listItems, [], "f");
|
|
@@ -19145,7 +19203,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19145
19203
|
wrapperClass += ' visible';
|
|
19146
19204
|
}
|
|
19147
19205
|
}
|
|
19148
|
-
__classPrivateFieldGet$
|
|
19206
|
+
__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_checkRoleType).call(this);
|
|
19149
19207
|
if (this.selectable != true) {
|
|
19150
19208
|
componentClass += ' list--non-interactive';
|
|
19151
19209
|
}
|
|
@@ -19160,17 +19218,17 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19160
19218
|
}
|
|
19161
19219
|
let roleAttr = this.roleType;
|
|
19162
19220
|
let ariaMultiSelectable = 'false';
|
|
19163
|
-
if (__classPrivateFieldGet$
|
|
19221
|
+
if (__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isMultiSelection).call(this)) {
|
|
19164
19222
|
ariaMultiSelectable = 'true';
|
|
19165
19223
|
}
|
|
19166
19224
|
__classPrivateFieldSet$4(this, _KupList_radios, [], "f");
|
|
19167
19225
|
let index = 0;
|
|
19168
|
-
return (h$1(Host, { key: 'aebaed28a2ebf067d47b075ba423f5f05608c915' }, h$1("style", { key: '182d7eb8ce443c6ab4f135757d953e2c278dca73' }, __classPrivateFieldGet$
|
|
19169
|
-
.filter((item) => __classPrivateFieldGet$
|
|
19170
|
-
.map((item) => __classPrivateFieldGet$
|
|
19226
|
+
return (h$1(Host, { key: 'aebaed28a2ebf067d47b075ba423f5f05608c915' }, h$1("style", { key: '182d7eb8ce443c6ab4f135757d953e2c278dca73' }, __classPrivateFieldGet$6(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '0b59e4cb55a15d31b9d74737e836abecdc1b8eb8', id: "kup-component", class: wrapperClass, onKeyDown: __classPrivateFieldGet$6(this, _KupList_listenKeydown, "f") }, this.showFilter ? (h$1("div", { class: filterClass }, __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h$1("div", { key: 'a8b4e04680be6753cafb6cb891d9a06486e0cf0b', class: listScrollClass }, h$1("ul", { key: '3b4bbd860fb478db8a98dfa3db8da31de82ddde4', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
19227
|
+
.filter((item) => __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
19228
|
+
.map((item) => __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
|
|
19171
19229
|
}
|
|
19172
19230
|
disconnectedCallback() {
|
|
19173
|
-
__classPrivateFieldGet$
|
|
19231
|
+
__classPrivateFieldGet$6(this, _KupList_kupManager, "f").theme.unregister(this);
|
|
19174
19232
|
}
|
|
19175
19233
|
get rootElement() { return this; }
|
|
19176
19234
|
static get style() { return KupListStyle0; }
|
|
@@ -19252,7 +19310,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19252
19310
|
if (this.showIcons == true &&
|
|
19253
19311
|
item.icon != null &&
|
|
19254
19312
|
item.icon.trim() != '') {
|
|
19255
|
-
imageTag = __classPrivateFieldGet$
|
|
19313
|
+
imageTag = __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_getIconTag).call(this, item.icon, item.placeholderIcon);
|
|
19256
19314
|
}
|
|
19257
19315
|
let primaryTextTag = [
|
|
19258
19316
|
getIdOfItemByDisplayMode(item, item.id == '' ? ItemsDisplayMode.DESCRIPTION : this.displayMode, ' - '),
|
|
@@ -19268,9 +19326,9 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19268
19326
|
}
|
|
19269
19327
|
let classAttr = 'list-item';
|
|
19270
19328
|
let tabIndexAttr = item.selected == true ? '0' : '-1';
|
|
19271
|
-
if (!__classPrivateFieldGet$
|
|
19329
|
+
if (!__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isNested).call(this) &&
|
|
19272
19330
|
item.selected == true &&
|
|
19273
|
-
__classPrivateFieldGet$
|
|
19331
|
+
__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isListBoxRule).call(this)) {
|
|
19274
19332
|
classAttr += ' list-item--selected';
|
|
19275
19333
|
}
|
|
19276
19334
|
if (this.focused === index) {
|
|
@@ -19286,7 +19344,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19286
19344
|
imageTag,
|
|
19287
19345
|
h$1("span", { class: "list-item__text" }, primaryTextTag, secTextTag),
|
|
19288
19346
|
];
|
|
19289
|
-
if (__classPrivateFieldGet$
|
|
19347
|
+
if (__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
|
|
19290
19348
|
roleAttr = 'radio';
|
|
19291
19349
|
ariaCheckedAttr = item.selected == true ? 'true' : 'false';
|
|
19292
19350
|
let dataTmp = [
|
|
@@ -19300,12 +19358,12 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19300
19358
|
display: 'none',
|
|
19301
19359
|
};
|
|
19302
19360
|
innerSpanTag = [
|
|
19303
|
-
h$1("span", { class: "list-item__graphic" }, h$1("input", { type: "radio", style: trickForMDC }), h$1("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index, ref: (el) => (__classPrivateFieldGet$
|
|
19361
|
+
h$1("span", { class: "list-item__graphic" }, h$1("input", { type: "radio", style: trickForMDC }), h$1("kup-radio", { data: dataTmp, id: this.rootElement.id + '_' + index, ref: (el) => (__classPrivateFieldGet$6(this, _KupList_radios, "f")[index] = el) })),
|
|
19304
19362
|
imageTag,
|
|
19305
19363
|
h$1("label", { class: "list-item__text", htmlFor: this.rootElement.id + '_' + index }, primaryTextTag, secTextTag),
|
|
19306
19364
|
];
|
|
19307
19365
|
}
|
|
19308
|
-
else if (__classPrivateFieldGet$
|
|
19366
|
+
else if (__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this)) {
|
|
19309
19367
|
roleAttr = 'checkbox';
|
|
19310
19368
|
ariaCheckedAttr = item.selected == true ? 'true' : 'false';
|
|
19311
19369
|
let checkedAttr = item.selected == true ? true : false;
|
|
@@ -19323,14 +19381,14 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19323
19381
|
vNodes.push(h$1("li", { role: "separator", class: "list-divider" }));
|
|
19324
19382
|
}
|
|
19325
19383
|
vNodes.push(h$1("li", { ref: (el) => {
|
|
19326
|
-
__classPrivateFieldGet$
|
|
19384
|
+
__classPrivateFieldGet$6(this, _KupList_listItems, "f").push(el);
|
|
19327
19385
|
}, class: classAttr, role: roleAttr, tabindex: tabIndexAttr, "data-id": item.id, "aria-selected": ariaSelectedAttr, "aria-checked": ariaCheckedAttr, onBlur: !this.selectable
|
|
19328
19386
|
? (e) => e.stopPropagation()
|
|
19329
19387
|
: () => this.onKupBlur(), onFocus: !this.selectable
|
|
19330
19388
|
? (e) => e.stopPropagation()
|
|
19331
19389
|
: () => this.onKupFocus(), onClick: !this.selectable
|
|
19332
19390
|
? (e) => e.stopPropagation()
|
|
19333
|
-
: __classPrivateFieldGet$
|
|
19391
|
+
: __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isNested).call(this)
|
|
19334
19392
|
? (e) => {
|
|
19335
19393
|
e.stopPropagation();
|
|
19336
19394
|
this.onKupClick(index);
|
|
@@ -19351,7 +19409,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19351
19409
|
};
|
|
19352
19410
|
return (h$1(FImage, Object.assign({}, propsFImage, { resource: icon, placeholderResource: placeholderIcon, wrapperClass: `icon-button__icon kup-icon` })));
|
|
19353
19411
|
}, _KupList_isMultiSelection = function _KupList_isMultiSelection() {
|
|
19354
|
-
return __classPrivateFieldGet$
|
|
19412
|
+
return __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this);
|
|
19355
19413
|
}, _KupList_isCheckBoxRule = function _KupList_isCheckBoxRule() {
|
|
19356
19414
|
return this.roleType == KupListRole.GROUP;
|
|
19357
19415
|
}, _KupList_isRadioButtonRule = function _KupList_isRadioButtonRule() {
|
|
@@ -19359,7 +19417,7 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19359
19417
|
}, _KupList_isListBoxRule = function _KupList_isListBoxRule() {
|
|
19360
19418
|
return this.roleType == KupListRole.LISTBOX;
|
|
19361
19419
|
}, _KupList_checkRoleType = function _KupList_checkRoleType() {
|
|
19362
|
-
if (!__classPrivateFieldGet$
|
|
19420
|
+
if (!__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isCheckBoxRule).call(this) && !__classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_isRadioButtonRule).call(this)) {
|
|
19363
19421
|
this.roleType = KupListRole.LISTBOX;
|
|
19364
19422
|
}
|
|
19365
19423
|
}, _KupList_itemCompliant = function _KupList_itemCompliant(item) {
|
|
@@ -19369,15 +19427,15 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19369
19427
|
return (item.id.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0 ||
|
|
19370
19428
|
item.value.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0);
|
|
19371
19429
|
}, _KupList_createFilterComponent = function _KupList_createFilterComponent() {
|
|
19372
|
-
return (h$1("div", { id: "global-filter", class: "filter" }, h$1(FTextField, { fullWidth: true, label: __classPrivateFieldGet$
|
|
19430
|
+
return (h$1("div", { id: "global-filter", class: "filter" }, h$1(FTextField, { fullWidth: true, label: __classPrivateFieldGet$6(this, _KupList_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, value: this.filter, onInput: (event) => {
|
|
19373
19431
|
this.onFilterValueChange(event);
|
|
19374
19432
|
} })));
|
|
19375
19433
|
};
|
|
19376
|
-
function defineCustomElement$
|
|
19434
|
+
function defineCustomElement$i() {
|
|
19377
19435
|
if (typeof customElements === "undefined") {
|
|
19378
19436
|
return;
|
|
19379
19437
|
}
|
|
19380
|
-
const components = ["kup-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
19438
|
+
const components = ["kup-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
19381
19439
|
components.forEach(tagName => { switch (tagName) {
|
|
19382
19440
|
case "kup-list":
|
|
19383
19441
|
if (!customElements.get(tagName)) {
|
|
@@ -19454,69 +19512,74 @@ function defineCustomElement$h() {
|
|
|
19454
19512
|
defineCustomElement$e();
|
|
19455
19513
|
}
|
|
19456
19514
|
break;
|
|
19457
|
-
case "kup-
|
|
19515
|
+
case "kup-file-upload":
|
|
19458
19516
|
if (!customElements.get(tagName)) {
|
|
19459
19517
|
defineCustomElement$f();
|
|
19460
19518
|
}
|
|
19461
19519
|
break;
|
|
19462
|
-
case "kup-
|
|
19520
|
+
case "kup-gauge":
|
|
19463
19521
|
if (!customElements.get(tagName)) {
|
|
19464
19522
|
defineCustomElement$g();
|
|
19465
19523
|
}
|
|
19466
19524
|
break;
|
|
19467
|
-
case "kup-
|
|
19525
|
+
case "kup-image":
|
|
19468
19526
|
if (!customElements.get(tagName)) {
|
|
19469
19527
|
defineCustomElement$h();
|
|
19470
19528
|
}
|
|
19471
19529
|
break;
|
|
19472
|
-
case "kup-
|
|
19530
|
+
case "kup-list":
|
|
19473
19531
|
if (!customElements.get(tagName)) {
|
|
19474
19532
|
defineCustomElement$i();
|
|
19475
19533
|
}
|
|
19476
19534
|
break;
|
|
19535
|
+
case "kup-progress-bar":
|
|
19536
|
+
if (!customElements.get(tagName)) {
|
|
19537
|
+
defineCustomElement$j();
|
|
19538
|
+
}
|
|
19539
|
+
break;
|
|
19477
19540
|
case "kup-radio":
|
|
19478
19541
|
if (!customElements.get(tagName)) {
|
|
19479
|
-
defineCustomElement$
|
|
19542
|
+
defineCustomElement$o();
|
|
19480
19543
|
}
|
|
19481
19544
|
break;
|
|
19482
19545
|
case "kup-rating":
|
|
19483
19546
|
if (!customElements.get(tagName)) {
|
|
19484
|
-
defineCustomElement$
|
|
19547
|
+
defineCustomElement$k();
|
|
19485
19548
|
}
|
|
19486
19549
|
break;
|
|
19487
19550
|
case "kup-spinner":
|
|
19488
19551
|
if (!customElements.get(tagName)) {
|
|
19489
|
-
defineCustomElement$
|
|
19552
|
+
defineCustomElement$l();
|
|
19490
19553
|
}
|
|
19491
19554
|
break;
|
|
19492
19555
|
case "kup-switch":
|
|
19493
19556
|
if (!customElements.get(tagName)) {
|
|
19494
|
-
defineCustomElement$
|
|
19557
|
+
defineCustomElement$m();
|
|
19495
19558
|
}
|
|
19496
19559
|
break;
|
|
19497
19560
|
case "kup-tab-bar":
|
|
19498
19561
|
if (!customElements.get(tagName)) {
|
|
19499
|
-
defineCustomElement$
|
|
19562
|
+
defineCustomElement$n();
|
|
19500
19563
|
}
|
|
19501
19564
|
break;
|
|
19502
19565
|
case "kup-text-field":
|
|
19503
19566
|
if (!customElements.get(tagName)) {
|
|
19504
|
-
defineCustomElement$
|
|
19567
|
+
defineCustomElement$p();
|
|
19505
19568
|
}
|
|
19506
19569
|
break;
|
|
19507
19570
|
case "kup-time-picker":
|
|
19508
19571
|
if (!customElements.get(tagName)) {
|
|
19509
|
-
defineCustomElement$
|
|
19572
|
+
defineCustomElement$q();
|
|
19510
19573
|
}
|
|
19511
19574
|
break;
|
|
19512
19575
|
case "kup-toolbar":
|
|
19513
19576
|
if (!customElements.get(tagName)) {
|
|
19514
|
-
defineCustomElement$
|
|
19577
|
+
defineCustomElement$r();
|
|
19515
19578
|
}
|
|
19516
19579
|
break;
|
|
19517
19580
|
case "kup-tree":
|
|
19518
19581
|
if (!customElements.get(tagName)) {
|
|
19519
|
-
defineCustomElement$
|
|
19582
|
+
defineCustomElement$s();
|
|
19520
19583
|
}
|
|
19521
19584
|
break;
|
|
19522
19585
|
} });
|
|
@@ -19730,11 +19793,11 @@ const KupImage = /*@__PURE__*/ proxyCustomElement(class KupImage extends H {
|
|
|
19730
19793
|
"refresh": [64],
|
|
19731
19794
|
"setProps": [64]
|
|
19732
19795
|
}]);
|
|
19733
|
-
function defineCustomElement$
|
|
19796
|
+
function defineCustomElement$h() {
|
|
19734
19797
|
if (typeof customElements === "undefined") {
|
|
19735
19798
|
return;
|
|
19736
19799
|
}
|
|
19737
|
-
const components = ["kup-image", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
19800
|
+
const components = ["kup-image", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
19738
19801
|
components.forEach(tagName => { switch (tagName) {
|
|
19739
19802
|
case "kup-image":
|
|
19740
19803
|
if (!customElements.get(tagName)) {
|
|
@@ -19811,64 +19874,69 @@ function defineCustomElement$g() {
|
|
|
19811
19874
|
defineCustomElement$e();
|
|
19812
19875
|
}
|
|
19813
19876
|
break;
|
|
19814
|
-
case "kup-
|
|
19877
|
+
case "kup-file-upload":
|
|
19815
19878
|
if (!customElements.get(tagName)) {
|
|
19816
19879
|
defineCustomElement$f();
|
|
19817
19880
|
}
|
|
19818
19881
|
break;
|
|
19819
|
-
case "kup-
|
|
19882
|
+
case "kup-gauge":
|
|
19820
19883
|
if (!customElements.get(tagName)) {
|
|
19821
19884
|
defineCustomElement$g();
|
|
19822
19885
|
}
|
|
19823
19886
|
break;
|
|
19824
|
-
case "kup-
|
|
19887
|
+
case "kup-image":
|
|
19825
19888
|
if (!customElements.get(tagName)) {
|
|
19826
19889
|
defineCustomElement$h();
|
|
19827
19890
|
}
|
|
19828
19891
|
break;
|
|
19829
|
-
case "kup-
|
|
19892
|
+
case "kup-list":
|
|
19830
19893
|
if (!customElements.get(tagName)) {
|
|
19831
19894
|
defineCustomElement$i();
|
|
19832
19895
|
}
|
|
19833
19896
|
break;
|
|
19834
|
-
case "kup-
|
|
19897
|
+
case "kup-progress-bar":
|
|
19835
19898
|
if (!customElements.get(tagName)) {
|
|
19836
19899
|
defineCustomElement$j();
|
|
19837
19900
|
}
|
|
19838
19901
|
break;
|
|
19839
|
-
case "kup-
|
|
19902
|
+
case "kup-rating":
|
|
19840
19903
|
if (!customElements.get(tagName)) {
|
|
19841
19904
|
defineCustomElement$k();
|
|
19842
19905
|
}
|
|
19843
19906
|
break;
|
|
19844
|
-
case "kup-
|
|
19907
|
+
case "kup-spinner":
|
|
19845
19908
|
if (!customElements.get(tagName)) {
|
|
19846
19909
|
defineCustomElement$l();
|
|
19847
19910
|
}
|
|
19848
19911
|
break;
|
|
19849
|
-
case "kup-
|
|
19912
|
+
case "kup-switch":
|
|
19850
19913
|
if (!customElements.get(tagName)) {
|
|
19851
19914
|
defineCustomElement$m();
|
|
19852
19915
|
}
|
|
19853
19916
|
break;
|
|
19917
|
+
case "kup-tab-bar":
|
|
19918
|
+
if (!customElements.get(tagName)) {
|
|
19919
|
+
defineCustomElement$n();
|
|
19920
|
+
}
|
|
19921
|
+
break;
|
|
19854
19922
|
case "kup-text-field":
|
|
19855
19923
|
if (!customElements.get(tagName)) {
|
|
19856
|
-
defineCustomElement$
|
|
19924
|
+
defineCustomElement$p();
|
|
19857
19925
|
}
|
|
19858
19926
|
break;
|
|
19859
19927
|
case "kup-time-picker":
|
|
19860
19928
|
if (!customElements.get(tagName)) {
|
|
19861
|
-
defineCustomElement$
|
|
19929
|
+
defineCustomElement$q();
|
|
19862
19930
|
}
|
|
19863
19931
|
break;
|
|
19864
19932
|
case "kup-toolbar":
|
|
19865
19933
|
if (!customElements.get(tagName)) {
|
|
19866
|
-
defineCustomElement$
|
|
19934
|
+
defineCustomElement$r();
|
|
19867
19935
|
}
|
|
19868
19936
|
break;
|
|
19869
19937
|
case "kup-tree":
|
|
19870
19938
|
if (!customElements.get(tagName)) {
|
|
19871
|
-
defineCustomElement$
|
|
19939
|
+
defineCustomElement$s();
|
|
19872
19940
|
}
|
|
19873
19941
|
break;
|
|
19874
19942
|
} });
|
|
@@ -20175,47 +20243,386 @@ const KupGauge = /*@__PURE__*/ proxyCustomElement(class KupGauge extends H {
|
|
|
20175
20243
|
' ' +
|
|
20176
20244
|
this.measurementUnit));
|
|
20177
20245
|
}
|
|
20178
|
-
const width = { width: this.widthComponent };
|
|
20179
|
-
return (h$1(Host, null, h$1("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { id: componentWrapperId, class: "gauge__container" }, h$1("svg", { class: "gauge", style: width, viewBox: `0 0 ${this.size} ${valueLabelYPosition}` }, h$1("g", { transform: `rotate(-90) translate(-${halvedSize}, ${halvedSize})` }, arcsElements), this.needleCircle ? (h$1("circle", { class: "gauge__needle-base", cx: halvedSize, cy: halvedSize, r: needleCircleRadius })) : null, h$1("path", { class: "gauge__needle", d: this.paintNeedle(needleLength, needleCircleRadius, halvedSize, halvedSize, this.calculateValuePercentage(this.value)) }), textElements, valueText))));
|
|
20246
|
+
const width = { width: this.widthComponent };
|
|
20247
|
+
return (h$1(Host, null, h$1("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { id: componentWrapperId, class: "gauge__container" }, h$1("svg", { class: "gauge", style: width, viewBox: `0 0 ${this.size} ${valueLabelYPosition}` }, h$1("g", { transform: `rotate(-90) translate(-${halvedSize}, ${halvedSize})` }, arcsElements), this.needleCircle ? (h$1("circle", { class: "gauge__needle-base", cx: halvedSize, cy: halvedSize, r: needleCircleRadius })) : null, h$1("path", { class: "gauge__needle", d: this.paintNeedle(needleLength, needleCircleRadius, halvedSize, halvedSize, this.calculateValuePercentage(this.value)) }), textElements, valueText))));
|
|
20248
|
+
}
|
|
20249
|
+
disconnectedCallback() {
|
|
20250
|
+
this.kupManager.theme.unregister(this);
|
|
20251
|
+
}
|
|
20252
|
+
get rootElement() { return this; }
|
|
20253
|
+
static get style() { return KupGaugeStyle0; }
|
|
20254
|
+
}, [1, "kup-gauge", {
|
|
20255
|
+
"arcThickness": [2, "arc-thickness"],
|
|
20256
|
+
"colors": [16],
|
|
20257
|
+
"customStyle": [1, "custom-style"],
|
|
20258
|
+
"firstThreshold": [2, "first-threshold"],
|
|
20259
|
+
"labelDistance": [1026, "label-distance"],
|
|
20260
|
+
"maxValue": [1026, "max-value"],
|
|
20261
|
+
"measurementUnit": [1, "measurement-unit"],
|
|
20262
|
+
"minValue": [1026, "min-value"],
|
|
20263
|
+
"needleCircle": [4, "needle-circle"],
|
|
20264
|
+
"onlyValue": [4, "only-value"],
|
|
20265
|
+
"reverseColors": [4, "reverse-colors"],
|
|
20266
|
+
"secondThreshold": [2, "second-threshold"],
|
|
20267
|
+
"showLabels": [4, "show-labels"],
|
|
20268
|
+
"showMaxmin": [4, "show-maxmin"],
|
|
20269
|
+
"showValue": [4, "show-value"],
|
|
20270
|
+
"size": [2],
|
|
20271
|
+
"value": [1026],
|
|
20272
|
+
"valueSize": [2, "value-size"],
|
|
20273
|
+
"widthComponent": [1, "width-component"],
|
|
20274
|
+
"getProps": [64],
|
|
20275
|
+
"refresh": [64],
|
|
20276
|
+
"setProps": [64]
|
|
20277
|
+
}]);
|
|
20278
|
+
function defineCustomElement$g() {
|
|
20279
|
+
if (typeof customElements === "undefined") {
|
|
20280
|
+
return;
|
|
20281
|
+
}
|
|
20282
|
+
const components = ["kup-gauge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
20283
|
+
components.forEach(tagName => { switch (tagName) {
|
|
20284
|
+
case "kup-gauge":
|
|
20285
|
+
if (!customElements.get(tagName)) {
|
|
20286
|
+
customElements.define(tagName, KupGauge);
|
|
20287
|
+
}
|
|
20288
|
+
break;
|
|
20289
|
+
case "kup-autocomplete":
|
|
20290
|
+
if (!customElements.get(tagName)) {
|
|
20291
|
+
defineCustomElement();
|
|
20292
|
+
}
|
|
20293
|
+
break;
|
|
20294
|
+
case "kup-badge":
|
|
20295
|
+
if (!customElements.get(tagName)) {
|
|
20296
|
+
defineCustomElement$1();
|
|
20297
|
+
}
|
|
20298
|
+
break;
|
|
20299
|
+
case "kup-button":
|
|
20300
|
+
if (!customElements.get(tagName)) {
|
|
20301
|
+
defineCustomElement$2();
|
|
20302
|
+
}
|
|
20303
|
+
break;
|
|
20304
|
+
case "kup-button-list":
|
|
20305
|
+
if (!customElements.get(tagName)) {
|
|
20306
|
+
defineCustomElement$3();
|
|
20307
|
+
}
|
|
20308
|
+
break;
|
|
20309
|
+
case "kup-card":
|
|
20310
|
+
if (!customElements.get(tagName)) {
|
|
20311
|
+
defineCustomElement$4();
|
|
20312
|
+
}
|
|
20313
|
+
break;
|
|
20314
|
+
case "kup-chart":
|
|
20315
|
+
if (!customElements.get(tagName)) {
|
|
20316
|
+
defineCustomElement$5();
|
|
20317
|
+
}
|
|
20318
|
+
break;
|
|
20319
|
+
case "kup-checkbox":
|
|
20320
|
+
if (!customElements.get(tagName)) {
|
|
20321
|
+
defineCustomElement$6();
|
|
20322
|
+
}
|
|
20323
|
+
break;
|
|
20324
|
+
case "kup-chip":
|
|
20325
|
+
if (!customElements.get(tagName)) {
|
|
20326
|
+
defineCustomElement$7();
|
|
20327
|
+
}
|
|
20328
|
+
break;
|
|
20329
|
+
case "kup-color-picker":
|
|
20330
|
+
if (!customElements.get(tagName)) {
|
|
20331
|
+
defineCustomElement$8();
|
|
20332
|
+
}
|
|
20333
|
+
break;
|
|
20334
|
+
case "kup-combobox":
|
|
20335
|
+
if (!customElements.get(tagName)) {
|
|
20336
|
+
defineCustomElement$9();
|
|
20337
|
+
}
|
|
20338
|
+
break;
|
|
20339
|
+
case "kup-data-table":
|
|
20340
|
+
if (!customElements.get(tagName)) {
|
|
20341
|
+
defineCustomElement$a();
|
|
20342
|
+
}
|
|
20343
|
+
break;
|
|
20344
|
+
case "kup-date-picker":
|
|
20345
|
+
if (!customElements.get(tagName)) {
|
|
20346
|
+
defineCustomElement$c();
|
|
20347
|
+
}
|
|
20348
|
+
break;
|
|
20349
|
+
case "kup-dialog":
|
|
20350
|
+
if (!customElements.get(tagName)) {
|
|
20351
|
+
defineCustomElement$d();
|
|
20352
|
+
}
|
|
20353
|
+
break;
|
|
20354
|
+
case "kup-dropdown-button":
|
|
20355
|
+
if (!customElements.get(tagName)) {
|
|
20356
|
+
defineCustomElement$e();
|
|
20357
|
+
}
|
|
20358
|
+
break;
|
|
20359
|
+
case "kup-file-upload":
|
|
20360
|
+
if (!customElements.get(tagName)) {
|
|
20361
|
+
defineCustomElement$f();
|
|
20362
|
+
}
|
|
20363
|
+
break;
|
|
20364
|
+
case "kup-gauge":
|
|
20365
|
+
if (!customElements.get(tagName)) {
|
|
20366
|
+
defineCustomElement$g();
|
|
20367
|
+
}
|
|
20368
|
+
break;
|
|
20369
|
+
case "kup-image":
|
|
20370
|
+
if (!customElements.get(tagName)) {
|
|
20371
|
+
defineCustomElement$h();
|
|
20372
|
+
}
|
|
20373
|
+
break;
|
|
20374
|
+
case "kup-list":
|
|
20375
|
+
if (!customElements.get(tagName)) {
|
|
20376
|
+
defineCustomElement$i();
|
|
20377
|
+
}
|
|
20378
|
+
break;
|
|
20379
|
+
case "kup-progress-bar":
|
|
20380
|
+
if (!customElements.get(tagName)) {
|
|
20381
|
+
defineCustomElement$j();
|
|
20382
|
+
}
|
|
20383
|
+
break;
|
|
20384
|
+
case "kup-rating":
|
|
20385
|
+
if (!customElements.get(tagName)) {
|
|
20386
|
+
defineCustomElement$k();
|
|
20387
|
+
}
|
|
20388
|
+
break;
|
|
20389
|
+
case "kup-spinner":
|
|
20390
|
+
if (!customElements.get(tagName)) {
|
|
20391
|
+
defineCustomElement$l();
|
|
20392
|
+
}
|
|
20393
|
+
break;
|
|
20394
|
+
case "kup-switch":
|
|
20395
|
+
if (!customElements.get(tagName)) {
|
|
20396
|
+
defineCustomElement$m();
|
|
20397
|
+
}
|
|
20398
|
+
break;
|
|
20399
|
+
case "kup-tab-bar":
|
|
20400
|
+
if (!customElements.get(tagName)) {
|
|
20401
|
+
defineCustomElement$n();
|
|
20402
|
+
}
|
|
20403
|
+
break;
|
|
20404
|
+
case "kup-text-field":
|
|
20405
|
+
if (!customElements.get(tagName)) {
|
|
20406
|
+
defineCustomElement$p();
|
|
20407
|
+
}
|
|
20408
|
+
break;
|
|
20409
|
+
case "kup-time-picker":
|
|
20410
|
+
if (!customElements.get(tagName)) {
|
|
20411
|
+
defineCustomElement$q();
|
|
20412
|
+
}
|
|
20413
|
+
break;
|
|
20414
|
+
case "kup-toolbar":
|
|
20415
|
+
if (!customElements.get(tagName)) {
|
|
20416
|
+
defineCustomElement$r();
|
|
20417
|
+
}
|
|
20418
|
+
break;
|
|
20419
|
+
case "kup-tree":
|
|
20420
|
+
if (!customElements.get(tagName)) {
|
|
20421
|
+
defineCustomElement$s();
|
|
20422
|
+
}
|
|
20423
|
+
break;
|
|
20424
|
+
} });
|
|
20425
|
+
}
|
|
20426
|
+
|
|
20427
|
+
const kupFileUploadCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{--kup_upload_icon_color:var(--kup-upload-icon-color, var(--kup-icon-color));--kup_upload_border_color:var(\n --kup-upload-border-color,\n var(--kup-gray-color-30)\n );flex:1}:host .file-upload-spinner>*{opacity:0.6;pointer-events:none}:host .file-upload-spinner>file-upload__spinner-container{opacity:1}:host .file-upload{display:flex;flex-direction:column;gap:1em;border:2px dashed var(--kup_upload_border_color);border-radius:4px;padding:1em;position:relative}:host .file-upload__buttons{display:flex;gap:1em;align-items:center;justify-content:center}:host .file-upload__buttons .spinner{height:48px;margin:auto;width:48px}:host .file-upload__list{display:flex;flex-direction:column;gap:1em}:host .file-upload__list__item{display:flex;gap:1em;align-items:center}:host .file-upload__list__item__preview{height:3em;width:3em;display:flex;align-items:center}:host .file-upload__list__item__desc{width:14em}:host .file-upload__list__item__clear{background-color:var(--kup_upload_icon_color);cursor:pointer;height:16px;width:16px;min-width:16px;min-height:16px;outline:none;pointer-events:all;-webkit-mask:var(--kup-clear-icon);mask:var(--kup-clear-icon)}:host .file-upload__list__item__clear:hover{background-color:var(--kup-danger-color-60)}:host .file-upload__spinner-container{height:calc(100% - 2em);width:20%;position:absolute;left:40%}";
|
|
20428
|
+
const KupFileUploadStyle0 = kupFileUploadCss;
|
|
20429
|
+
|
|
20430
|
+
var __classPrivateFieldGet$5 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
20431
|
+
if (kind === "a" && !f)
|
|
20432
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
20433
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
20434
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
20435
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
20436
|
+
};
|
|
20437
|
+
var _KupFileUpload_instances, _KupFileUpload_kupManager, _KupFileUpload_previewMap, _KupFileUpload_handleClick, _KupFileUpload_handleFileChange, _KupFileUpload_handleFileRemove, _KupFileUpload_handleDrop, _KupFileUpload_handleCancel, _KupFileUpload_getPreview, _KupFileUpload_trimFileName, _KupFileUpload_uploadClick;
|
|
20438
|
+
const KupFileUpload = /*@__PURE__*/ proxyCustomElement(class KupFileUpload extends H {
|
|
20439
|
+
constructor() {
|
|
20440
|
+
super();
|
|
20441
|
+
this.__registerHost();
|
|
20442
|
+
this.__attachShadow();
|
|
20443
|
+
this.kupReady = createEvent(this, "kup-file-upload-ready", 6);
|
|
20444
|
+
this.kupUpload = createEvent(this, "kup-file-upload-upload", 6);
|
|
20445
|
+
_KupFileUpload_instances.add(this);
|
|
20446
|
+
//#endregion
|
|
20447
|
+
//#region VARIABLES
|
|
20448
|
+
/*-------------------------------------------------*/
|
|
20449
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
20450
|
+
/*-------------------------------------------------*/
|
|
20451
|
+
_KupFileUpload_kupManager.set(this, kupManagerInstance());
|
|
20452
|
+
_KupFileUpload_previewMap.set(this, new Map([
|
|
20453
|
+
['application/pdf', 'file-pdf'],
|
|
20454
|
+
['application/vnd.ms-excel', 'file-excel'],
|
|
20455
|
+
[
|
|
20456
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
20457
|
+
'file-excel',
|
|
20458
|
+
],
|
|
20459
|
+
['application/msword', 'file-word'],
|
|
20460
|
+
[
|
|
20461
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
20462
|
+
'file-word',
|
|
20463
|
+
],
|
|
20464
|
+
]));
|
|
20465
|
+
this.customStyle = '';
|
|
20466
|
+
this.data = null;
|
|
20467
|
+
this.inputRef = undefined;
|
|
20468
|
+
this.files = [];
|
|
20469
|
+
this.uploadSuccess = false;
|
|
20470
|
+
this.showSpinner = false;
|
|
20471
|
+
}
|
|
20472
|
+
//#endregion
|
|
20473
|
+
//#region WATCHERS
|
|
20474
|
+
/*-------------------------------------------------*/
|
|
20475
|
+
/* W a t c h e r s */
|
|
20476
|
+
/*-------------------------------------------------*/
|
|
20477
|
+
onDataChanged() { }
|
|
20478
|
+
//#endregion
|
|
20479
|
+
//#region PUBLIC METHODS
|
|
20480
|
+
/*-------------------------------------------------*/
|
|
20481
|
+
/* P u b l i c M e t h o d s */
|
|
20482
|
+
/*-------------------------------------------------*/
|
|
20483
|
+
/**
|
|
20484
|
+
* Used to retrieve component's props values.
|
|
20485
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
20486
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
20487
|
+
*/
|
|
20488
|
+
async getProps(descriptions) {
|
|
20489
|
+
return getProps(this, KupFileUploadProps, descriptions);
|
|
20490
|
+
}
|
|
20491
|
+
/**
|
|
20492
|
+
* This method is used to trigger a new render of the component.
|
|
20493
|
+
*/
|
|
20494
|
+
async refresh() {
|
|
20495
|
+
forceUpdate(this);
|
|
20496
|
+
}
|
|
20497
|
+
/**
|
|
20498
|
+
* Sets the props to the component.
|
|
20499
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
20500
|
+
*/
|
|
20501
|
+
async setProps(props) {
|
|
20502
|
+
setProps(this, KupFileUploadProps, props);
|
|
20503
|
+
}
|
|
20504
|
+
/**
|
|
20505
|
+
* Sets upload has been successfull to show success message.
|
|
20506
|
+
* @param {boolean} success - Boolean to set if upload has been successfull.
|
|
20507
|
+
*/
|
|
20508
|
+
async setSuccess(success) {
|
|
20509
|
+
this.setLoading(false);
|
|
20510
|
+
if (success) {
|
|
20511
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).call(this);
|
|
20512
|
+
this.uploadSuccess = success;
|
|
20513
|
+
}
|
|
20514
|
+
}
|
|
20515
|
+
/**
|
|
20516
|
+
* Sets to show spinner during upload.
|
|
20517
|
+
* @param {boolean} loading - Boolean to set if is loading.
|
|
20518
|
+
*/
|
|
20519
|
+
async setLoading(loading) {
|
|
20520
|
+
this.showSpinner = loading;
|
|
20521
|
+
}
|
|
20522
|
+
//#endregion
|
|
20523
|
+
//#region LIFECYCLE HOOKS
|
|
20524
|
+
/*-------------------------------------------------*/
|
|
20525
|
+
/* L i f e c y c l e H o o k s */
|
|
20526
|
+
/*-------------------------------------------------*/
|
|
20527
|
+
componentWillLoad() {
|
|
20528
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, false);
|
|
20529
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.register(this);
|
|
20530
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.register(this);
|
|
20531
|
+
}
|
|
20532
|
+
componentDidLoad() {
|
|
20533
|
+
this.kupReady.emit({ comp: this, id: this.rootElement.id });
|
|
20534
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, true);
|
|
20535
|
+
}
|
|
20536
|
+
componentWillRender() {
|
|
20537
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logRender(this, false);
|
|
20538
|
+
}
|
|
20539
|
+
componentDidRender() {
|
|
20540
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").debug.logRender(this, true);
|
|
20541
|
+
}
|
|
20542
|
+
render() {
|
|
20543
|
+
return (h$1(Host, { key: 'fe4bf368d35a09d537000b666c22b8a796e841d8' }, h$1("style", { key: '7f795ecba5c7187f2752051561545a27fdb4eb76' }, __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: '6f998101815936c02246f56816f03e9d43c3ce8d', id: componentWrapperId }, h$1("div", { key: 'aa518134c9ae9a1a3645e811c75b39da73c544b3', class: {
|
|
20544
|
+
'file-upload': true,
|
|
20545
|
+
'file-upload-spinner': this.showSpinner,
|
|
20546
|
+
}, onDrop: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h$1("input", { key: 'ed848e17a8e40fec4b5c119a316ab5a6c09c9085', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: true, hidden: true }), h$1("div", { key: 'c713ff2f83975080221437cca9ead4534dd4ef9b', class: "file-upload__buttons" }, h$1(FButton, { key: 'bad9df6fe8d6f45fc414b3c25559333e887d3273', icon: "upload", label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), h$1(FButton, { key: '3966f24556bce210cc2e84b0b34153ff7feb182c', icon: "save", disabled: !this.files.length, label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h$1(FButton, { key: '4c538a64d604496d0d65a1c9dc3bb88ddc92df19', icon: "clear", disabled: !this.files.length, label: __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })), this.uploadSuccess ? (h$1("span", null, __classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageUpload.SUCCESS))) : (h$1("div", { class: "file-upload__list" }, this.files.map((file, i) => (h$1("div", { class: "file-upload__list__item" }, h$1("div", { class: "file-upload__list__item__preview" }, h$1(FImage, { resource: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file) })), h$1("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h$1("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet$5(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) })))))), this.showSpinner && (h$1("div", { key: '54782b7a4ceb1a4626255256d4832ed24be43e36', class: "file-upload__spinner-container" }, h$1("kup-spinner", { key: '7da8a612be8f0a9a01e96308c7492650677f7b55', active: true, layout: 14, dimensions: "7px" })))))));
|
|
20180
20547
|
}
|
|
20181
20548
|
disconnectedCallback() {
|
|
20182
|
-
this.
|
|
20549
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").language.unregister(this);
|
|
20550
|
+
__classPrivateFieldGet$5(this, _KupFileUpload_kupManager, "f").theme.unregister(this);
|
|
20183
20551
|
}
|
|
20184
20552
|
get rootElement() { return this; }
|
|
20185
|
-
static get
|
|
20186
|
-
|
|
20187
|
-
|
|
20188
|
-
|
|
20553
|
+
static get watchers() { return {
|
|
20554
|
+
"data": ["onDataChanged"]
|
|
20555
|
+
}; }
|
|
20556
|
+
static get style() { return KupFileUploadStyle0; }
|
|
20557
|
+
}, [1, "kup-file-upload", {
|
|
20189
20558
|
"customStyle": [1, "custom-style"],
|
|
20190
|
-
"
|
|
20191
|
-
"
|
|
20192
|
-
"
|
|
20193
|
-
"
|
|
20194
|
-
"
|
|
20195
|
-
"needleCircle": [4, "needle-circle"],
|
|
20196
|
-
"onlyValue": [4, "only-value"],
|
|
20197
|
-
"reverseColors": [4, "reverse-colors"],
|
|
20198
|
-
"secondThreshold": [2, "second-threshold"],
|
|
20199
|
-
"showLabels": [4, "show-labels"],
|
|
20200
|
-
"showMaxmin": [4, "show-maxmin"],
|
|
20201
|
-
"showValue": [4, "show-value"],
|
|
20202
|
-
"size": [2],
|
|
20203
|
-
"value": [1026],
|
|
20204
|
-
"valueSize": [2, "value-size"],
|
|
20205
|
-
"widthComponent": [1, "width-component"],
|
|
20559
|
+
"data": [8],
|
|
20560
|
+
"inputRef": [32],
|
|
20561
|
+
"files": [32],
|
|
20562
|
+
"uploadSuccess": [32],
|
|
20563
|
+
"showSpinner": [32],
|
|
20206
20564
|
"getProps": [64],
|
|
20207
20565
|
"refresh": [64],
|
|
20208
|
-
"setProps": [64]
|
|
20566
|
+
"setProps": [64],
|
|
20567
|
+
"setSuccess": [64],
|
|
20568
|
+
"setLoading": [64]
|
|
20569
|
+
}, undefined, {
|
|
20570
|
+
"data": ["onDataChanged"]
|
|
20209
20571
|
}]);
|
|
20572
|
+
_KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakMap(), _KupFileUpload_instances = new WeakSet(), _KupFileUpload_handleClick = function _KupFileUpload_handleClick() {
|
|
20573
|
+
this.inputRef.click();
|
|
20574
|
+
}, _KupFileUpload_handleFileChange = function _KupFileUpload_handleFileChange(event) {
|
|
20575
|
+
this.uploadSuccess = false;
|
|
20576
|
+
const newFiles = Array.from(event.target.files);
|
|
20577
|
+
this.files = [...this.files, ...newFiles];
|
|
20578
|
+
}, _KupFileUpload_handleFileRemove = function _KupFileUpload_handleFileRemove(index) {
|
|
20579
|
+
this.files = [
|
|
20580
|
+
...this.files.splice(0, index),
|
|
20581
|
+
...this.files.splice(index + 1),
|
|
20582
|
+
];
|
|
20583
|
+
}, _KupFileUpload_handleDrop = function _KupFileUpload_handleDrop(event) {
|
|
20584
|
+
event.preventDefault();
|
|
20585
|
+
const droppedFiles = event.dataTransfer.files;
|
|
20586
|
+
if (droppedFiles.length > 0) {
|
|
20587
|
+
const newFiles = Array.from(droppedFiles);
|
|
20588
|
+
this.files = [...this.files, ...newFiles];
|
|
20589
|
+
}
|
|
20590
|
+
}, _KupFileUpload_handleCancel = function _KupFileUpload_handleCancel() {
|
|
20591
|
+
this.files = [];
|
|
20592
|
+
}, _KupFileUpload_getPreview = function _KupFileUpload_getPreview(file) {
|
|
20593
|
+
const previewIcon = __classPrivateFieldGet$5(this, _KupFileUpload_previewMap, "f").get(file.type);
|
|
20594
|
+
if (!previewIcon) {
|
|
20595
|
+
if (/^image\/.*/g.test(file.type)) {
|
|
20596
|
+
return URL.createObjectURL(file);
|
|
20597
|
+
}
|
|
20598
|
+
if (/^video\/.*/g.test(file.type)) {
|
|
20599
|
+
return 'video';
|
|
20600
|
+
}
|
|
20601
|
+
return 'file';
|
|
20602
|
+
}
|
|
20603
|
+
return previewIcon;
|
|
20604
|
+
}, _KupFileUpload_trimFileName = function _KupFileUpload_trimFileName(fileName) {
|
|
20605
|
+
return (fileName === null || fileName === void 0 ? void 0 : fileName.length) > 20
|
|
20606
|
+
? fileName.slice(0, 9) + '...' + fileName.slice(-10)
|
|
20607
|
+
: fileName;
|
|
20608
|
+
}, _KupFileUpload_uploadClick = function _KupFileUpload_uploadClick(e) {
|
|
20609
|
+
e.stopPropagation();
|
|
20610
|
+
this.kupUpload.emit({
|
|
20611
|
+
comp: this,
|
|
20612
|
+
id: this.rootElement.id,
|
|
20613
|
+
files: this.files,
|
|
20614
|
+
});
|
|
20615
|
+
this.setLoading(true);
|
|
20616
|
+
};
|
|
20210
20617
|
function defineCustomElement$f() {
|
|
20211
20618
|
if (typeof customElements === "undefined") {
|
|
20212
20619
|
return;
|
|
20213
20620
|
}
|
|
20214
|
-
const components = ["kup-
|
|
20621
|
+
const components = ["kup-file-upload", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
20215
20622
|
components.forEach(tagName => { switch (tagName) {
|
|
20216
|
-
case "kup-
|
|
20623
|
+
case "kup-file-upload":
|
|
20217
20624
|
if (!customElements.get(tagName)) {
|
|
20218
|
-
customElements.define(tagName,
|
|
20625
|
+
customElements.define(tagName, KupFileUpload);
|
|
20219
20626
|
}
|
|
20220
20627
|
break;
|
|
20221
20628
|
case "kup-autocomplete":
|
|
@@ -20288,64 +20695,69 @@ function defineCustomElement$f() {
|
|
|
20288
20695
|
defineCustomElement$e();
|
|
20289
20696
|
}
|
|
20290
20697
|
break;
|
|
20291
|
-
case "kup-
|
|
20698
|
+
case "kup-file-upload":
|
|
20292
20699
|
if (!customElements.get(tagName)) {
|
|
20293
20700
|
defineCustomElement$f();
|
|
20294
20701
|
}
|
|
20295
20702
|
break;
|
|
20296
|
-
case "kup-
|
|
20703
|
+
case "kup-gauge":
|
|
20297
20704
|
if (!customElements.get(tagName)) {
|
|
20298
20705
|
defineCustomElement$g();
|
|
20299
20706
|
}
|
|
20300
20707
|
break;
|
|
20301
|
-
case "kup-
|
|
20708
|
+
case "kup-image":
|
|
20302
20709
|
if (!customElements.get(tagName)) {
|
|
20303
20710
|
defineCustomElement$h();
|
|
20304
20711
|
}
|
|
20305
20712
|
break;
|
|
20306
|
-
case "kup-
|
|
20713
|
+
case "kup-list":
|
|
20307
20714
|
if (!customElements.get(tagName)) {
|
|
20308
20715
|
defineCustomElement$i();
|
|
20309
20716
|
}
|
|
20310
20717
|
break;
|
|
20311
|
-
case "kup-
|
|
20718
|
+
case "kup-progress-bar":
|
|
20312
20719
|
if (!customElements.get(tagName)) {
|
|
20313
20720
|
defineCustomElement$j();
|
|
20314
20721
|
}
|
|
20315
20722
|
break;
|
|
20316
|
-
case "kup-
|
|
20723
|
+
case "kup-rating":
|
|
20317
20724
|
if (!customElements.get(tagName)) {
|
|
20318
20725
|
defineCustomElement$k();
|
|
20319
20726
|
}
|
|
20320
20727
|
break;
|
|
20321
|
-
case "kup-
|
|
20728
|
+
case "kup-spinner":
|
|
20322
20729
|
if (!customElements.get(tagName)) {
|
|
20323
20730
|
defineCustomElement$l();
|
|
20324
20731
|
}
|
|
20325
20732
|
break;
|
|
20326
|
-
case "kup-
|
|
20733
|
+
case "kup-switch":
|
|
20327
20734
|
if (!customElements.get(tagName)) {
|
|
20328
20735
|
defineCustomElement$m();
|
|
20329
20736
|
}
|
|
20330
20737
|
break;
|
|
20738
|
+
case "kup-tab-bar":
|
|
20739
|
+
if (!customElements.get(tagName)) {
|
|
20740
|
+
defineCustomElement$n();
|
|
20741
|
+
}
|
|
20742
|
+
break;
|
|
20331
20743
|
case "kup-text-field":
|
|
20332
20744
|
if (!customElements.get(tagName)) {
|
|
20333
|
-
defineCustomElement$
|
|
20745
|
+
defineCustomElement$p();
|
|
20334
20746
|
}
|
|
20335
20747
|
break;
|
|
20336
20748
|
case "kup-time-picker":
|
|
20337
20749
|
if (!customElements.get(tagName)) {
|
|
20338
|
-
defineCustomElement$
|
|
20750
|
+
defineCustomElement$q();
|
|
20339
20751
|
}
|
|
20340
20752
|
break;
|
|
20341
20753
|
case "kup-toolbar":
|
|
20342
20754
|
if (!customElements.get(tagName)) {
|
|
20343
|
-
defineCustomElement$
|
|
20755
|
+
defineCustomElement$r();
|
|
20344
20756
|
}
|
|
20345
20757
|
break;
|
|
20346
20758
|
case "kup-tree":
|
|
20347
20759
|
if (!customElements.get(tagName)) {
|
|
20348
|
-
defineCustomElement$
|
|
20760
|
+
defineCustomElement$s();
|
|
20349
20761
|
}
|
|
20350
20762
|
break;
|
|
20351
20763
|
} });
|
|
@@ -20682,7 +21094,7 @@ function defineCustomElement$e() {
|
|
|
20682
21094
|
if (typeof customElements === "undefined") {
|
|
20683
21095
|
return;
|
|
20684
21096
|
}
|
|
20685
|
-
const components = ["kup-dropdown-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
21097
|
+
const components = ["kup-dropdown-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
20686
21098
|
components.forEach(tagName => { switch (tagName) {
|
|
20687
21099
|
case "kup-dropdown-button":
|
|
20688
21100
|
if (!customElements.get(tagName)) {
|
|
@@ -20759,69 +21171,74 @@ function defineCustomElement$e() {
|
|
|
20759
21171
|
defineCustomElement$e();
|
|
20760
21172
|
}
|
|
20761
21173
|
break;
|
|
20762
|
-
case "kup-
|
|
21174
|
+
case "kup-file-upload":
|
|
20763
21175
|
if (!customElements.get(tagName)) {
|
|
20764
21176
|
defineCustomElement$f();
|
|
20765
21177
|
}
|
|
20766
21178
|
break;
|
|
20767
|
-
case "kup-
|
|
21179
|
+
case "kup-gauge":
|
|
20768
21180
|
if (!customElements.get(tagName)) {
|
|
20769
21181
|
defineCustomElement$g();
|
|
20770
21182
|
}
|
|
20771
21183
|
break;
|
|
20772
|
-
case "kup-
|
|
21184
|
+
case "kup-image":
|
|
20773
21185
|
if (!customElements.get(tagName)) {
|
|
20774
21186
|
defineCustomElement$h();
|
|
20775
21187
|
}
|
|
20776
21188
|
break;
|
|
20777
|
-
case "kup-
|
|
21189
|
+
case "kup-list":
|
|
20778
21190
|
if (!customElements.get(tagName)) {
|
|
20779
21191
|
defineCustomElement$i();
|
|
20780
21192
|
}
|
|
20781
21193
|
break;
|
|
21194
|
+
case "kup-progress-bar":
|
|
21195
|
+
if (!customElements.get(tagName)) {
|
|
21196
|
+
defineCustomElement$j();
|
|
21197
|
+
}
|
|
21198
|
+
break;
|
|
20782
21199
|
case "kup-radio":
|
|
20783
21200
|
if (!customElements.get(tagName)) {
|
|
20784
|
-
defineCustomElement$
|
|
21201
|
+
defineCustomElement$o();
|
|
20785
21202
|
}
|
|
20786
21203
|
break;
|
|
20787
21204
|
case "kup-rating":
|
|
20788
21205
|
if (!customElements.get(tagName)) {
|
|
20789
|
-
defineCustomElement$
|
|
21206
|
+
defineCustomElement$k();
|
|
20790
21207
|
}
|
|
20791
21208
|
break;
|
|
20792
21209
|
case "kup-spinner":
|
|
20793
21210
|
if (!customElements.get(tagName)) {
|
|
20794
|
-
defineCustomElement$
|
|
21211
|
+
defineCustomElement$l();
|
|
20795
21212
|
}
|
|
20796
21213
|
break;
|
|
20797
21214
|
case "kup-switch":
|
|
20798
21215
|
if (!customElements.get(tagName)) {
|
|
20799
|
-
defineCustomElement$
|
|
21216
|
+
defineCustomElement$m();
|
|
20800
21217
|
}
|
|
20801
21218
|
break;
|
|
20802
21219
|
case "kup-tab-bar":
|
|
20803
21220
|
if (!customElements.get(tagName)) {
|
|
20804
|
-
defineCustomElement$
|
|
21221
|
+
defineCustomElement$n();
|
|
20805
21222
|
}
|
|
20806
21223
|
break;
|
|
20807
21224
|
case "kup-text-field":
|
|
20808
21225
|
if (!customElements.get(tagName)) {
|
|
20809
|
-
defineCustomElement$
|
|
21226
|
+
defineCustomElement$p();
|
|
20810
21227
|
}
|
|
20811
21228
|
break;
|
|
20812
21229
|
case "kup-time-picker":
|
|
20813
21230
|
if (!customElements.get(tagName)) {
|
|
20814
|
-
defineCustomElement$
|
|
21231
|
+
defineCustomElement$q();
|
|
20815
21232
|
}
|
|
20816
21233
|
break;
|
|
20817
21234
|
case "kup-toolbar":
|
|
20818
21235
|
if (!customElements.get(tagName)) {
|
|
20819
|
-
defineCustomElement$
|
|
21236
|
+
defineCustomElement$r();
|
|
20820
21237
|
}
|
|
20821
21238
|
break;
|
|
20822
21239
|
case "kup-tree":
|
|
20823
21240
|
if (!customElements.get(tagName)) {
|
|
20824
|
-
defineCustomElement$
|
|
21241
|
+
defineCustomElement$s();
|
|
20825
21242
|
}
|
|
20826
21243
|
break;
|
|
20827
21244
|
} });
|
|
@@ -21015,7 +21432,7 @@ function defineCustomElement$d() {
|
|
|
21015
21432
|
if (typeof customElements === "undefined") {
|
|
21016
21433
|
return;
|
|
21017
21434
|
}
|
|
21018
|
-
const components = ["kup-dialog", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
21435
|
+
const components = ["kup-dialog", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
21019
21436
|
components.forEach(tagName => { switch (tagName) {
|
|
21020
21437
|
case "kup-dialog":
|
|
21021
21438
|
if (!customElements.get(tagName)) {
|
|
@@ -21092,64 +21509,69 @@ function defineCustomElement$d() {
|
|
|
21092
21509
|
defineCustomElement$e();
|
|
21093
21510
|
}
|
|
21094
21511
|
break;
|
|
21095
|
-
case "kup-
|
|
21512
|
+
case "kup-file-upload":
|
|
21096
21513
|
if (!customElements.get(tagName)) {
|
|
21097
21514
|
defineCustomElement$f();
|
|
21098
21515
|
}
|
|
21099
21516
|
break;
|
|
21100
|
-
case "kup-
|
|
21517
|
+
case "kup-gauge":
|
|
21101
21518
|
if (!customElements.get(tagName)) {
|
|
21102
21519
|
defineCustomElement$g();
|
|
21103
21520
|
}
|
|
21104
21521
|
break;
|
|
21105
|
-
case "kup-
|
|
21522
|
+
case "kup-image":
|
|
21106
21523
|
if (!customElements.get(tagName)) {
|
|
21107
21524
|
defineCustomElement$h();
|
|
21108
21525
|
}
|
|
21109
21526
|
break;
|
|
21110
|
-
case "kup-
|
|
21527
|
+
case "kup-list":
|
|
21111
21528
|
if (!customElements.get(tagName)) {
|
|
21112
21529
|
defineCustomElement$i();
|
|
21113
21530
|
}
|
|
21114
21531
|
break;
|
|
21115
|
-
case "kup-
|
|
21532
|
+
case "kup-progress-bar":
|
|
21116
21533
|
if (!customElements.get(tagName)) {
|
|
21117
21534
|
defineCustomElement$j();
|
|
21118
21535
|
}
|
|
21119
21536
|
break;
|
|
21120
|
-
case "kup-
|
|
21537
|
+
case "kup-rating":
|
|
21121
21538
|
if (!customElements.get(tagName)) {
|
|
21122
21539
|
defineCustomElement$k();
|
|
21123
21540
|
}
|
|
21124
21541
|
break;
|
|
21125
|
-
case "kup-
|
|
21542
|
+
case "kup-spinner":
|
|
21126
21543
|
if (!customElements.get(tagName)) {
|
|
21127
21544
|
defineCustomElement$l();
|
|
21128
21545
|
}
|
|
21129
21546
|
break;
|
|
21130
|
-
case "kup-
|
|
21547
|
+
case "kup-switch":
|
|
21131
21548
|
if (!customElements.get(tagName)) {
|
|
21132
21549
|
defineCustomElement$m();
|
|
21133
21550
|
}
|
|
21134
21551
|
break;
|
|
21552
|
+
case "kup-tab-bar":
|
|
21553
|
+
if (!customElements.get(tagName)) {
|
|
21554
|
+
defineCustomElement$n();
|
|
21555
|
+
}
|
|
21556
|
+
break;
|
|
21135
21557
|
case "kup-text-field":
|
|
21136
21558
|
if (!customElements.get(tagName)) {
|
|
21137
|
-
defineCustomElement$
|
|
21559
|
+
defineCustomElement$p();
|
|
21138
21560
|
}
|
|
21139
21561
|
break;
|
|
21140
21562
|
case "kup-time-picker":
|
|
21141
21563
|
if (!customElements.get(tagName)) {
|
|
21142
|
-
defineCustomElement$
|
|
21564
|
+
defineCustomElement$q();
|
|
21143
21565
|
}
|
|
21144
21566
|
break;
|
|
21145
21567
|
case "kup-toolbar":
|
|
21146
21568
|
if (!customElements.get(tagName)) {
|
|
21147
|
-
defineCustomElement$
|
|
21569
|
+
defineCustomElement$r();
|
|
21148
21570
|
}
|
|
21149
21571
|
break;
|
|
21150
21572
|
case "kup-tree":
|
|
21151
21573
|
if (!customElements.get(tagName)) {
|
|
21152
|
-
defineCustomElement$
|
|
21574
|
+
defineCustomElement$s();
|
|
21153
21575
|
}
|
|
21154
21576
|
break;
|
|
21155
21577
|
} });
|
|
@@ -21599,7 +22021,7 @@ function defineCustomElement$c() {
|
|
|
21599
22021
|
if (typeof customElements === "undefined") {
|
|
21600
22022
|
return;
|
|
21601
22023
|
}
|
|
21602
|
-
const components = ["kup-date-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
22024
|
+
const components = ["kup-date-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
21603
22025
|
components.forEach(tagName => { switch (tagName) {
|
|
21604
22026
|
case "kup-date-picker":
|
|
21605
22027
|
if (!customElements.get(tagName)) {
|
|
@@ -21676,64 +22098,69 @@ function defineCustomElement$c() {
|
|
|
21676
22098
|
defineCustomElement$e();
|
|
21677
22099
|
}
|
|
21678
22100
|
break;
|
|
21679
|
-
case "kup-
|
|
22101
|
+
case "kup-file-upload":
|
|
21680
22102
|
if (!customElements.get(tagName)) {
|
|
21681
22103
|
defineCustomElement$f();
|
|
21682
22104
|
}
|
|
21683
22105
|
break;
|
|
21684
|
-
case "kup-
|
|
22106
|
+
case "kup-gauge":
|
|
21685
22107
|
if (!customElements.get(tagName)) {
|
|
21686
22108
|
defineCustomElement$g();
|
|
21687
22109
|
}
|
|
21688
22110
|
break;
|
|
21689
|
-
case "kup-
|
|
22111
|
+
case "kup-image":
|
|
21690
22112
|
if (!customElements.get(tagName)) {
|
|
21691
22113
|
defineCustomElement$h();
|
|
21692
22114
|
}
|
|
21693
22115
|
break;
|
|
21694
|
-
case "kup-
|
|
22116
|
+
case "kup-list":
|
|
21695
22117
|
if (!customElements.get(tagName)) {
|
|
21696
22118
|
defineCustomElement$i();
|
|
21697
22119
|
}
|
|
21698
22120
|
break;
|
|
21699
|
-
case "kup-
|
|
22121
|
+
case "kup-progress-bar":
|
|
21700
22122
|
if (!customElements.get(tagName)) {
|
|
21701
22123
|
defineCustomElement$j();
|
|
21702
22124
|
}
|
|
21703
22125
|
break;
|
|
21704
|
-
case "kup-
|
|
22126
|
+
case "kup-rating":
|
|
21705
22127
|
if (!customElements.get(tagName)) {
|
|
21706
22128
|
defineCustomElement$k();
|
|
21707
22129
|
}
|
|
21708
22130
|
break;
|
|
21709
|
-
case "kup-
|
|
22131
|
+
case "kup-spinner":
|
|
21710
22132
|
if (!customElements.get(tagName)) {
|
|
21711
22133
|
defineCustomElement$l();
|
|
21712
22134
|
}
|
|
21713
22135
|
break;
|
|
21714
|
-
case "kup-
|
|
22136
|
+
case "kup-switch":
|
|
21715
22137
|
if (!customElements.get(tagName)) {
|
|
21716
22138
|
defineCustomElement$m();
|
|
21717
22139
|
}
|
|
21718
22140
|
break;
|
|
22141
|
+
case "kup-tab-bar":
|
|
22142
|
+
if (!customElements.get(tagName)) {
|
|
22143
|
+
defineCustomElement$n();
|
|
22144
|
+
}
|
|
22145
|
+
break;
|
|
21719
22146
|
case "kup-text-field":
|
|
21720
22147
|
if (!customElements.get(tagName)) {
|
|
21721
|
-
defineCustomElement$
|
|
22148
|
+
defineCustomElement$p();
|
|
21722
22149
|
}
|
|
21723
22150
|
break;
|
|
21724
22151
|
case "kup-time-picker":
|
|
21725
22152
|
if (!customElements.get(tagName)) {
|
|
21726
|
-
defineCustomElement$
|
|
22153
|
+
defineCustomElement$q();
|
|
21727
22154
|
}
|
|
21728
22155
|
break;
|
|
21729
22156
|
case "kup-toolbar":
|
|
21730
22157
|
if (!customElements.get(tagName)) {
|
|
21731
|
-
defineCustomElement$
|
|
22158
|
+
defineCustomElement$r();
|
|
21732
22159
|
}
|
|
21733
22160
|
break;
|
|
21734
22161
|
case "kup-tree":
|
|
21735
22162
|
if (!customElements.get(tagName)) {
|
|
21736
|
-
defineCustomElement$
|
|
22163
|
+
defineCustomElement$s();
|
|
21737
22164
|
}
|
|
21738
22165
|
break;
|
|
21739
22166
|
} });
|
|
@@ -22176,7 +22603,7 @@ const KupForm = /*@__PURE__*/ proxyCustomElement(class KupForm extends H {
|
|
|
22176
22603
|
render() {
|
|
22177
22604
|
let formContent = null;
|
|
22178
22605
|
if (this.data.rows.length === 0) {
|
|
22179
|
-
formContent = (h$1("p", { key: '
|
|
22606
|
+
formContent = (h$1("p", { key: 'f749de74f0497b4be1fb554de9e3c9cb1464f16d' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
22180
22607
|
}
|
|
22181
22608
|
else {
|
|
22182
22609
|
const rows = this.data.rows;
|
|
@@ -22187,7 +22614,7 @@ const KupForm = /*@__PURE__*/ proxyCustomElement(class KupForm extends H {
|
|
|
22187
22614
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
22188
22615
|
}
|
|
22189
22616
|
}
|
|
22190
|
-
return (h$1(Host, { key: '
|
|
22617
|
+
return (h$1(Host, { key: 'f32e3c7318dd06b37dda2c66fc35188671fd5c2b' }, h$1("style", { key: 'bda0f827c81efc66666670b3da38b699921855cf' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '07ba4ba3f36154ee5457b340993f3fd54b202b30', id: componentWrapperId }, formContent)));
|
|
22191
22618
|
}
|
|
22192
22619
|
disconnectedCallback() {
|
|
22193
22620
|
this.kupManager.language.unregister(this);
|
|
@@ -22218,7 +22645,7 @@ function defineCustomElement$b() {
|
|
|
22218
22645
|
if (typeof customElements === "undefined") {
|
|
22219
22646
|
return;
|
|
22220
22647
|
}
|
|
22221
|
-
const components = ["kup-form", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
22648
|
+
const components = ["kup-form", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
22222
22649
|
components.forEach(tagName => { switch (tagName) {
|
|
22223
22650
|
case "kup-form":
|
|
22224
22651
|
if (!customElements.get(tagName)) {
|
|
@@ -22295,69 +22722,74 @@ function defineCustomElement$b() {
|
|
|
22295
22722
|
defineCustomElement$e();
|
|
22296
22723
|
}
|
|
22297
22724
|
break;
|
|
22298
|
-
case "kup-
|
|
22725
|
+
case "kup-file-upload":
|
|
22299
22726
|
if (!customElements.get(tagName)) {
|
|
22300
22727
|
defineCustomElement$f();
|
|
22301
22728
|
}
|
|
22302
22729
|
break;
|
|
22303
|
-
case "kup-
|
|
22730
|
+
case "kup-gauge":
|
|
22304
22731
|
if (!customElements.get(tagName)) {
|
|
22305
22732
|
defineCustomElement$g();
|
|
22306
22733
|
}
|
|
22307
22734
|
break;
|
|
22308
|
-
case "kup-
|
|
22735
|
+
case "kup-image":
|
|
22309
22736
|
if (!customElements.get(tagName)) {
|
|
22310
22737
|
defineCustomElement$h();
|
|
22311
22738
|
}
|
|
22312
22739
|
break;
|
|
22313
|
-
case "kup-
|
|
22740
|
+
case "kup-list":
|
|
22314
22741
|
if (!customElements.get(tagName)) {
|
|
22315
22742
|
defineCustomElement$i();
|
|
22316
22743
|
}
|
|
22317
22744
|
break;
|
|
22745
|
+
case "kup-progress-bar":
|
|
22746
|
+
if (!customElements.get(tagName)) {
|
|
22747
|
+
defineCustomElement$j();
|
|
22748
|
+
}
|
|
22749
|
+
break;
|
|
22318
22750
|
case "kup-radio":
|
|
22319
22751
|
if (!customElements.get(tagName)) {
|
|
22320
|
-
defineCustomElement$
|
|
22752
|
+
defineCustomElement$o();
|
|
22321
22753
|
}
|
|
22322
22754
|
break;
|
|
22323
22755
|
case "kup-rating":
|
|
22324
22756
|
if (!customElements.get(tagName)) {
|
|
22325
|
-
defineCustomElement$
|
|
22757
|
+
defineCustomElement$k();
|
|
22326
22758
|
}
|
|
22327
22759
|
break;
|
|
22328
22760
|
case "kup-spinner":
|
|
22329
22761
|
if (!customElements.get(tagName)) {
|
|
22330
|
-
defineCustomElement$
|
|
22762
|
+
defineCustomElement$l();
|
|
22331
22763
|
}
|
|
22332
22764
|
break;
|
|
22333
22765
|
case "kup-switch":
|
|
22334
22766
|
if (!customElements.get(tagName)) {
|
|
22335
|
-
defineCustomElement$
|
|
22767
|
+
defineCustomElement$m();
|
|
22336
22768
|
}
|
|
22337
22769
|
break;
|
|
22338
22770
|
case "kup-tab-bar":
|
|
22339
22771
|
if (!customElements.get(tagName)) {
|
|
22340
|
-
defineCustomElement$
|
|
22772
|
+
defineCustomElement$n();
|
|
22341
22773
|
}
|
|
22342
22774
|
break;
|
|
22343
22775
|
case "kup-text-field":
|
|
22344
22776
|
if (!customElements.get(tagName)) {
|
|
22345
|
-
defineCustomElement$
|
|
22777
|
+
defineCustomElement$p();
|
|
22346
22778
|
}
|
|
22347
22779
|
break;
|
|
22348
22780
|
case "kup-time-picker":
|
|
22349
22781
|
if (!customElements.get(tagName)) {
|
|
22350
|
-
defineCustomElement$
|
|
22782
|
+
defineCustomElement$q();
|
|
22351
22783
|
}
|
|
22352
22784
|
break;
|
|
22353
22785
|
case "kup-toolbar":
|
|
22354
22786
|
if (!customElements.get(tagName)) {
|
|
22355
|
-
defineCustomElement$
|
|
22787
|
+
defineCustomElement$r();
|
|
22356
22788
|
}
|
|
22357
22789
|
break;
|
|
22358
22790
|
case "kup-tree":
|
|
22359
22791
|
if (!customElements.get(tagName)) {
|
|
22360
|
-
defineCustomElement$
|
|
22792
|
+
defineCustomElement$s();
|
|
22361
22793
|
}
|
|
22362
22794
|
break;
|
|
22363
22795
|
} });
|
|
@@ -23748,7 +24180,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23748
24180
|
}
|
|
23749
24181
|
let rows = null;
|
|
23750
24182
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
23751
|
-
rows = (h$1("tr", { key: '
|
|
24183
|
+
rows = (h$1("tr", { key: '43964b68259ee77d1eb2cc703fc4551c5ad085f8', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '4c8df8bc2924d6844a58ea329e34d03f2ecb5f9c', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
23752
24184
|
}
|
|
23753
24185
|
else {
|
|
23754
24186
|
rows = [];
|
|
@@ -23813,7 +24245,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23813
24245
|
for (let i = 0; i < chipsData.length; i++) {
|
|
23814
24246
|
props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
23815
24247
|
}
|
|
23816
|
-
groupChips = h$1(FChip, Object.assign({ key: '
|
|
24248
|
+
groupChips = h$1(FChip, Object.assign({ key: '57d143c2c89aa93b7cccf8926201818f32f7666c' }, props));
|
|
23817
24249
|
}
|
|
23818
24250
|
}
|
|
23819
24251
|
const tableClass = {
|
|
@@ -23845,7 +24277,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23845
24277
|
if (this.headerIsPersistent &&
|
|
23846
24278
|
this.tableHeight === undefined &&
|
|
23847
24279
|
this.tableWidth === undefined) {
|
|
23848
|
-
stickyEl = (h$1("sticky-header", { key: '
|
|
24280
|
+
stickyEl = (h$1("sticky-header", { key: '72143e2dd14c2ed457a8da40c41d88d0056ee11d', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: '384803dc3e404b30e2b1bc5ad64f9d9e9e329b43' }, h$1("tr-sticky", { key: '1b9c1a17fc090a9f0c1bbcc964c54c4ecee962af' }, stickyHeader))));
|
|
23849
24281
|
}
|
|
23850
24282
|
let belowClass = 'below-wrapper';
|
|
23851
24283
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -23891,7 +24323,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23891
24323
|
const useGlobalFilter = !this.legacyLook &&
|
|
23892
24324
|
(this.globalFilter ||
|
|
23893
24325
|
this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
23894
|
-
const compCreated = (h$1(Host, { key: '
|
|
24326
|
+
const compCreated = (h$1(Host, { key: '4076ece2048ed51fa61f083a93ceb3888f9de8eb', "onKup-drop": (e) => {
|
|
23895
24327
|
this.kupDataTableDrop.emit(e.detail);
|
|
23896
24328
|
}, "onKup-cell-input": (e) => {
|
|
23897
24329
|
autoselectOnAction(e);
|
|
@@ -23906,11 +24338,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23906
24338
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
23907
24339
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
23908
24340
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
23909
|
-
} }, h$1("style", { key: '
|
|
24341
|
+
} }, h$1("style", { key: '675c3b5746de43ea52b8f97e07d7e03b94290494' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: '1ed5d580d217b720947c25f381ce247342057af7', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '84d8d0006e722229cc9d797f671db29bef09a0c8', class: "group-wrapper" }, groupChips), h$1("div", { key: '5c933f3495d308f993d77b6c9fe282cea4f517bc', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
23910
24342
|
const t = event.target;
|
|
23911
24343
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
23912
24344
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
23913
|
-
} }))) : null, h$1("div", { key: '
|
|
24345
|
+
} }))) : null, h$1("div", { key: 'bb34804d5fc095b5bcc2bddd21801ffbdf4c74f3', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
23914
24346
|
this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
|
|
23915
24347
|
this.kupSave.emit({
|
|
23916
24348
|
comp: this,
|
|
@@ -23960,9 +24392,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23960
24392
|
this.data.rows.unshift(row);
|
|
23961
24393
|
await this.refresh(true);
|
|
23962
24394
|
}
|
|
23963
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '
|
|
24395
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '8f342239d3aa4d1c7c5fce166a2b60909685d0e2', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
23964
24396
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
23965
|
-
: null), h$1("div", { key: '
|
|
24397
|
+
: null), h$1("div", { key: 'c91e64e42b858a644c29b107fd9cb233d39a970f', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
23966
24398
|
? [
|
|
23967
24399
|
h$1("div", { class: "settings-trigger", onClick: () => {
|
|
23968
24400
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -23971,7 +24403,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23971
24403
|
} }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
23972
24404
|
this.renderCustomizePanel(),
|
|
23973
24405
|
]
|
|
23974
|
-
: null, h$1("table", { key: '
|
|
24406
|
+
: null, h$1("table", { key: '2ab7c7256505b8326502f3a0c8f0e162a0c4f8e9', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
23975
24407
|
ev.stopPropagation();
|
|
23976
24408
|
}, onPointerDown: (e) => {
|
|
23977
24409
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -23979,7 +24411,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
23979
24411
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
23980
24412
|
}, onContextMenu: (e) => {
|
|
23981
24413
|
e.preventDefault();
|
|
23982
|
-
} }, h$1("thead", { key: '
|
|
24414
|
+
} }, h$1("thead", { key: '43664e89ccde104c0c41dd1449e1c89d441757aa', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: '522d372292fd65339de510b1b9cd9c5174f450a3' }, header)), h$1("tbody", { key: '8447665b521befe969818f94cb0abab27f4c0da4' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
23983
24415
|
return compCreated;
|
|
23984
24416
|
}
|
|
23985
24417
|
disconnectedCallback() {
|
|
@@ -25647,6 +26079,17 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
25647
26079
|
break;
|
|
25648
26080
|
}
|
|
25649
26081
|
}
|
|
26082
|
+
// Manage row selection on rowAction click
|
|
26083
|
+
if (!td) {
|
|
26084
|
+
this.kupRowSelected.emit({
|
|
26085
|
+
comp: this,
|
|
26086
|
+
id: this.rootElement.id,
|
|
26087
|
+
selectedRows: this.selectedRows,
|
|
26088
|
+
clickedRow: row,
|
|
26089
|
+
clickedColumn: null,
|
|
26090
|
+
});
|
|
26091
|
+
return;
|
|
26092
|
+
}
|
|
25650
26093
|
// find clicked column
|
|
25651
26094
|
const clickedColumn = td.dataset.column;
|
|
25652
26095
|
// selecting clicked column
|
|
@@ -26202,6 +26645,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
26202
26645
|
rowActions.forEach((action, index) => {
|
|
26203
26646
|
var _a;
|
|
26204
26647
|
const imageProp = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.action.buildImageProp(action.icon, action.text || ((_a = action.column) === null || _a === void 0 ? void 0 : _a.title) || '', 'action', () => {
|
|
26648
|
+
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, row, null, true);
|
|
26205
26649
|
this.kupRowActionItemClick.emit({
|
|
26206
26650
|
comp: this,
|
|
26207
26651
|
id: this.rootElement.id,
|
|
@@ -26219,6 +26663,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
26219
26663
|
else {
|
|
26220
26664
|
const textPopulatedRowActions = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.action.createActionsWithText(rowActions);
|
|
26221
26665
|
const imageProp = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").data.action.buildImageProp('chevron-down', __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND), 'expander', (e) => {
|
|
26666
|
+
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowClick).call(this, row, null, true);
|
|
26222
26667
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, row, textPopulatedRowActions);
|
|
26223
26668
|
});
|
|
26224
26669
|
actionsOnRow.push(imageProp);
|
|
@@ -26653,7 +27098,7 @@ function defineCustomElement$a() {
|
|
|
26653
27098
|
if (typeof customElements === "undefined") {
|
|
26654
27099
|
return;
|
|
26655
27100
|
}
|
|
26656
|
-
const components = ["kup-data-table", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
27101
|
+
const components = ["kup-data-table", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
26657
27102
|
components.forEach(tagName => { switch (tagName) {
|
|
26658
27103
|
case "kup-data-table":
|
|
26659
27104
|
if (!customElements.get(tagName)) {
|
|
@@ -26730,6 +27175,11 @@ function defineCustomElement$a() {
|
|
|
26730
27175
|
defineCustomElement$e();
|
|
26731
27176
|
}
|
|
26732
27177
|
break;
|
|
27178
|
+
case "kup-file-upload":
|
|
27179
|
+
if (!customElements.get(tagName)) {
|
|
27180
|
+
defineCustomElement$f();
|
|
27181
|
+
}
|
|
27182
|
+
break;
|
|
26733
27183
|
case "kup-form":
|
|
26734
27184
|
if (!customElements.get(tagName)) {
|
|
26735
27185
|
defineCustomElement$b();
|
|
@@ -26737,67 +27187,67 @@ function defineCustomElement$a() {
|
|
|
26737
27187
|
break;
|
|
26738
27188
|
case "kup-gauge":
|
|
26739
27189
|
if (!customElements.get(tagName)) {
|
|
26740
|
-
defineCustomElement$
|
|
27190
|
+
defineCustomElement$g();
|
|
26741
27191
|
}
|
|
26742
27192
|
break;
|
|
26743
27193
|
case "kup-image":
|
|
26744
27194
|
if (!customElements.get(tagName)) {
|
|
26745
|
-
defineCustomElement$
|
|
27195
|
+
defineCustomElement$h();
|
|
26746
27196
|
}
|
|
26747
27197
|
break;
|
|
26748
27198
|
case "kup-list":
|
|
26749
27199
|
if (!customElements.get(tagName)) {
|
|
26750
|
-
defineCustomElement$
|
|
27200
|
+
defineCustomElement$i();
|
|
26751
27201
|
}
|
|
26752
27202
|
break;
|
|
26753
27203
|
case "kup-progress-bar":
|
|
26754
27204
|
if (!customElements.get(tagName)) {
|
|
26755
|
-
defineCustomElement$
|
|
27205
|
+
defineCustomElement$j();
|
|
26756
27206
|
}
|
|
26757
27207
|
break;
|
|
26758
27208
|
case "kup-radio":
|
|
26759
27209
|
if (!customElements.get(tagName)) {
|
|
26760
|
-
defineCustomElement$
|
|
27210
|
+
defineCustomElement$o();
|
|
26761
27211
|
}
|
|
26762
27212
|
break;
|
|
26763
27213
|
case "kup-rating":
|
|
26764
27214
|
if (!customElements.get(tagName)) {
|
|
26765
|
-
defineCustomElement$
|
|
27215
|
+
defineCustomElement$k();
|
|
26766
27216
|
}
|
|
26767
27217
|
break;
|
|
26768
27218
|
case "kup-spinner":
|
|
26769
27219
|
if (!customElements.get(tagName)) {
|
|
26770
|
-
defineCustomElement$
|
|
27220
|
+
defineCustomElement$l();
|
|
26771
27221
|
}
|
|
26772
27222
|
break;
|
|
26773
27223
|
case "kup-switch":
|
|
26774
27224
|
if (!customElements.get(tagName)) {
|
|
26775
|
-
defineCustomElement$
|
|
27225
|
+
defineCustomElement$m();
|
|
26776
27226
|
}
|
|
26777
27227
|
break;
|
|
26778
27228
|
case "kup-tab-bar":
|
|
26779
27229
|
if (!customElements.get(tagName)) {
|
|
26780
|
-
defineCustomElement$
|
|
27230
|
+
defineCustomElement$n();
|
|
26781
27231
|
}
|
|
26782
27232
|
break;
|
|
26783
27233
|
case "kup-text-field":
|
|
26784
27234
|
if (!customElements.get(tagName)) {
|
|
26785
|
-
defineCustomElement$
|
|
27235
|
+
defineCustomElement$p();
|
|
26786
27236
|
}
|
|
26787
27237
|
break;
|
|
26788
27238
|
case "kup-time-picker":
|
|
26789
27239
|
if (!customElements.get(tagName)) {
|
|
26790
|
-
defineCustomElement$
|
|
27240
|
+
defineCustomElement$q();
|
|
26791
27241
|
}
|
|
26792
27242
|
break;
|
|
26793
27243
|
case "kup-toolbar":
|
|
26794
27244
|
if (!customElements.get(tagName)) {
|
|
26795
|
-
defineCustomElement$
|
|
27245
|
+
defineCustomElement$r();
|
|
26796
27246
|
}
|
|
26797
27247
|
break;
|
|
26798
27248
|
case "kup-tree":
|
|
26799
27249
|
if (!customElements.get(tagName)) {
|
|
26800
|
-
defineCustomElement$
|
|
27250
|
+
defineCustomElement$s();
|
|
26801
27251
|
}
|
|
26802
27252
|
break;
|
|
26803
27253
|
} });
|
|
@@ -27227,7 +27677,7 @@ function defineCustomElement$9() {
|
|
|
27227
27677
|
if (typeof customElements === "undefined") {
|
|
27228
27678
|
return;
|
|
27229
27679
|
}
|
|
27230
|
-
const components = ["kup-combobox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
27680
|
+
const components = ["kup-combobox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
27231
27681
|
components.forEach(tagName => { switch (tagName) {
|
|
27232
27682
|
case "kup-combobox":
|
|
27233
27683
|
if (!customElements.get(tagName)) {
|
|
@@ -27304,69 +27754,74 @@ function defineCustomElement$9() {
|
|
|
27304
27754
|
defineCustomElement$e();
|
|
27305
27755
|
}
|
|
27306
27756
|
break;
|
|
27307
|
-
case "kup-
|
|
27757
|
+
case "kup-file-upload":
|
|
27308
27758
|
if (!customElements.get(tagName)) {
|
|
27309
27759
|
defineCustomElement$f();
|
|
27310
27760
|
}
|
|
27311
27761
|
break;
|
|
27312
|
-
case "kup-
|
|
27762
|
+
case "kup-gauge":
|
|
27313
27763
|
if (!customElements.get(tagName)) {
|
|
27314
27764
|
defineCustomElement$g();
|
|
27315
27765
|
}
|
|
27316
27766
|
break;
|
|
27317
|
-
case "kup-
|
|
27767
|
+
case "kup-image":
|
|
27318
27768
|
if (!customElements.get(tagName)) {
|
|
27319
27769
|
defineCustomElement$h();
|
|
27320
27770
|
}
|
|
27321
27771
|
break;
|
|
27322
|
-
case "kup-
|
|
27772
|
+
case "kup-list":
|
|
27323
27773
|
if (!customElements.get(tagName)) {
|
|
27324
27774
|
defineCustomElement$i();
|
|
27325
27775
|
}
|
|
27326
27776
|
break;
|
|
27777
|
+
case "kup-progress-bar":
|
|
27778
|
+
if (!customElements.get(tagName)) {
|
|
27779
|
+
defineCustomElement$j();
|
|
27780
|
+
}
|
|
27781
|
+
break;
|
|
27327
27782
|
case "kup-radio":
|
|
27328
27783
|
if (!customElements.get(tagName)) {
|
|
27329
|
-
defineCustomElement$
|
|
27784
|
+
defineCustomElement$o();
|
|
27330
27785
|
}
|
|
27331
27786
|
break;
|
|
27332
27787
|
case "kup-rating":
|
|
27333
27788
|
if (!customElements.get(tagName)) {
|
|
27334
|
-
defineCustomElement$
|
|
27789
|
+
defineCustomElement$k();
|
|
27335
27790
|
}
|
|
27336
27791
|
break;
|
|
27337
27792
|
case "kup-spinner":
|
|
27338
27793
|
if (!customElements.get(tagName)) {
|
|
27339
|
-
defineCustomElement$
|
|
27794
|
+
defineCustomElement$l();
|
|
27340
27795
|
}
|
|
27341
27796
|
break;
|
|
27342
27797
|
case "kup-switch":
|
|
27343
27798
|
if (!customElements.get(tagName)) {
|
|
27344
|
-
defineCustomElement$
|
|
27799
|
+
defineCustomElement$m();
|
|
27345
27800
|
}
|
|
27346
27801
|
break;
|
|
27347
27802
|
case "kup-tab-bar":
|
|
27348
27803
|
if (!customElements.get(tagName)) {
|
|
27349
|
-
defineCustomElement$
|
|
27804
|
+
defineCustomElement$n();
|
|
27350
27805
|
}
|
|
27351
27806
|
break;
|
|
27352
27807
|
case "kup-text-field":
|
|
27353
27808
|
if (!customElements.get(tagName)) {
|
|
27354
|
-
defineCustomElement$
|
|
27809
|
+
defineCustomElement$p();
|
|
27355
27810
|
}
|
|
27356
27811
|
break;
|
|
27357
27812
|
case "kup-time-picker":
|
|
27358
27813
|
if (!customElements.get(tagName)) {
|
|
27359
|
-
defineCustomElement$
|
|
27814
|
+
defineCustomElement$q();
|
|
27360
27815
|
}
|
|
27361
27816
|
break;
|
|
27362
27817
|
case "kup-toolbar":
|
|
27363
27818
|
if (!customElements.get(tagName)) {
|
|
27364
|
-
defineCustomElement$
|
|
27819
|
+
defineCustomElement$r();
|
|
27365
27820
|
}
|
|
27366
27821
|
break;
|
|
27367
27822
|
case "kup-tree":
|
|
27368
27823
|
if (!customElements.get(tagName)) {
|
|
27369
|
-
defineCustomElement$
|
|
27824
|
+
defineCustomElement$s();
|
|
27370
27825
|
}
|
|
27371
27826
|
break;
|
|
27372
27827
|
} });
|
|
@@ -27640,7 +28095,7 @@ function defineCustomElement$8() {
|
|
|
27640
28095
|
if (typeof customElements === "undefined") {
|
|
27641
28096
|
return;
|
|
27642
28097
|
}
|
|
27643
|
-
const components = ["kup-color-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
28098
|
+
const components = ["kup-color-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
27644
28099
|
components.forEach(tagName => { switch (tagName) {
|
|
27645
28100
|
case "kup-color-picker":
|
|
27646
28101
|
if (!customElements.get(tagName)) {
|
|
@@ -27717,64 +28172,69 @@ function defineCustomElement$8() {
|
|
|
27717
28172
|
defineCustomElement$e();
|
|
27718
28173
|
}
|
|
27719
28174
|
break;
|
|
27720
|
-
case "kup-
|
|
28175
|
+
case "kup-file-upload":
|
|
27721
28176
|
if (!customElements.get(tagName)) {
|
|
27722
28177
|
defineCustomElement$f();
|
|
27723
28178
|
}
|
|
27724
28179
|
break;
|
|
27725
|
-
case "kup-
|
|
28180
|
+
case "kup-gauge":
|
|
27726
28181
|
if (!customElements.get(tagName)) {
|
|
27727
28182
|
defineCustomElement$g();
|
|
27728
28183
|
}
|
|
27729
28184
|
break;
|
|
27730
|
-
case "kup-
|
|
28185
|
+
case "kup-image":
|
|
27731
28186
|
if (!customElements.get(tagName)) {
|
|
27732
28187
|
defineCustomElement$h();
|
|
27733
28188
|
}
|
|
27734
28189
|
break;
|
|
27735
|
-
case "kup-
|
|
28190
|
+
case "kup-list":
|
|
27736
28191
|
if (!customElements.get(tagName)) {
|
|
27737
28192
|
defineCustomElement$i();
|
|
27738
28193
|
}
|
|
27739
28194
|
break;
|
|
27740
|
-
case "kup-
|
|
28195
|
+
case "kup-progress-bar":
|
|
27741
28196
|
if (!customElements.get(tagName)) {
|
|
27742
28197
|
defineCustomElement$j();
|
|
27743
28198
|
}
|
|
27744
28199
|
break;
|
|
27745
|
-
case "kup-
|
|
28200
|
+
case "kup-rating":
|
|
27746
28201
|
if (!customElements.get(tagName)) {
|
|
27747
28202
|
defineCustomElement$k();
|
|
27748
28203
|
}
|
|
27749
28204
|
break;
|
|
27750
|
-
case "kup-
|
|
28205
|
+
case "kup-spinner":
|
|
27751
28206
|
if (!customElements.get(tagName)) {
|
|
27752
28207
|
defineCustomElement$l();
|
|
27753
28208
|
}
|
|
27754
28209
|
break;
|
|
27755
|
-
case "kup-
|
|
28210
|
+
case "kup-switch":
|
|
27756
28211
|
if (!customElements.get(tagName)) {
|
|
27757
28212
|
defineCustomElement$m();
|
|
27758
28213
|
}
|
|
27759
28214
|
break;
|
|
28215
|
+
case "kup-tab-bar":
|
|
28216
|
+
if (!customElements.get(tagName)) {
|
|
28217
|
+
defineCustomElement$n();
|
|
28218
|
+
}
|
|
28219
|
+
break;
|
|
27760
28220
|
case "kup-text-field":
|
|
27761
28221
|
if (!customElements.get(tagName)) {
|
|
27762
|
-
defineCustomElement$
|
|
28222
|
+
defineCustomElement$p();
|
|
27763
28223
|
}
|
|
27764
28224
|
break;
|
|
27765
28225
|
case "kup-time-picker":
|
|
27766
28226
|
if (!customElements.get(tagName)) {
|
|
27767
|
-
defineCustomElement$
|
|
28227
|
+
defineCustomElement$q();
|
|
27768
28228
|
}
|
|
27769
28229
|
break;
|
|
27770
28230
|
case "kup-toolbar":
|
|
27771
28231
|
if (!customElements.get(tagName)) {
|
|
27772
|
-
defineCustomElement$
|
|
28232
|
+
defineCustomElement$r();
|
|
27773
28233
|
}
|
|
27774
28234
|
break;
|
|
27775
28235
|
case "kup-tree":
|
|
27776
28236
|
if (!customElements.get(tagName)) {
|
|
27777
|
-
defineCustomElement$
|
|
28237
|
+
defineCustomElement$s();
|
|
27778
28238
|
}
|
|
27779
28239
|
break;
|
|
27780
28240
|
} });
|
|
@@ -28047,7 +28507,7 @@ function defineCustomElement$7() {
|
|
|
28047
28507
|
if (typeof customElements === "undefined") {
|
|
28048
28508
|
return;
|
|
28049
28509
|
}
|
|
28050
|
-
const components = ["kup-chip", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
28510
|
+
const components = ["kup-chip", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
28051
28511
|
components.forEach(tagName => { switch (tagName) {
|
|
28052
28512
|
case "kup-chip":
|
|
28053
28513
|
if (!customElements.get(tagName)) {
|
|
@@ -28124,64 +28584,69 @@ function defineCustomElement$7() {
|
|
|
28124
28584
|
defineCustomElement$e();
|
|
28125
28585
|
}
|
|
28126
28586
|
break;
|
|
28127
|
-
case "kup-
|
|
28587
|
+
case "kup-file-upload":
|
|
28128
28588
|
if (!customElements.get(tagName)) {
|
|
28129
28589
|
defineCustomElement$f();
|
|
28130
28590
|
}
|
|
28131
28591
|
break;
|
|
28132
|
-
case "kup-
|
|
28592
|
+
case "kup-gauge":
|
|
28133
28593
|
if (!customElements.get(tagName)) {
|
|
28134
28594
|
defineCustomElement$g();
|
|
28135
28595
|
}
|
|
28136
28596
|
break;
|
|
28137
|
-
case "kup-
|
|
28597
|
+
case "kup-image":
|
|
28138
28598
|
if (!customElements.get(tagName)) {
|
|
28139
28599
|
defineCustomElement$h();
|
|
28140
28600
|
}
|
|
28141
28601
|
break;
|
|
28142
|
-
case "kup-
|
|
28602
|
+
case "kup-list":
|
|
28143
28603
|
if (!customElements.get(tagName)) {
|
|
28144
28604
|
defineCustomElement$i();
|
|
28145
28605
|
}
|
|
28146
28606
|
break;
|
|
28147
|
-
case "kup-
|
|
28607
|
+
case "kup-progress-bar":
|
|
28148
28608
|
if (!customElements.get(tagName)) {
|
|
28149
28609
|
defineCustomElement$j();
|
|
28150
28610
|
}
|
|
28151
28611
|
break;
|
|
28152
|
-
case "kup-
|
|
28612
|
+
case "kup-rating":
|
|
28153
28613
|
if (!customElements.get(tagName)) {
|
|
28154
28614
|
defineCustomElement$k();
|
|
28155
28615
|
}
|
|
28156
28616
|
break;
|
|
28157
|
-
case "kup-
|
|
28617
|
+
case "kup-spinner":
|
|
28158
28618
|
if (!customElements.get(tagName)) {
|
|
28159
28619
|
defineCustomElement$l();
|
|
28160
28620
|
}
|
|
28161
28621
|
break;
|
|
28162
|
-
case "kup-
|
|
28622
|
+
case "kup-switch":
|
|
28163
28623
|
if (!customElements.get(tagName)) {
|
|
28164
28624
|
defineCustomElement$m();
|
|
28165
28625
|
}
|
|
28166
28626
|
break;
|
|
28627
|
+
case "kup-tab-bar":
|
|
28628
|
+
if (!customElements.get(tagName)) {
|
|
28629
|
+
defineCustomElement$n();
|
|
28630
|
+
}
|
|
28631
|
+
break;
|
|
28167
28632
|
case "kup-text-field":
|
|
28168
28633
|
if (!customElements.get(tagName)) {
|
|
28169
|
-
defineCustomElement$
|
|
28634
|
+
defineCustomElement$p();
|
|
28170
28635
|
}
|
|
28171
28636
|
break;
|
|
28172
28637
|
case "kup-time-picker":
|
|
28173
28638
|
if (!customElements.get(tagName)) {
|
|
28174
|
-
defineCustomElement$
|
|
28639
|
+
defineCustomElement$q();
|
|
28175
28640
|
}
|
|
28176
28641
|
break;
|
|
28177
28642
|
case "kup-toolbar":
|
|
28178
28643
|
if (!customElements.get(tagName)) {
|
|
28179
|
-
defineCustomElement$
|
|
28644
|
+
defineCustomElement$r();
|
|
28180
28645
|
}
|
|
28181
28646
|
break;
|
|
28182
28647
|
case "kup-tree":
|
|
28183
28648
|
if (!customElements.get(tagName)) {
|
|
28184
|
-
defineCustomElement$
|
|
28649
|
+
defineCustomElement$s();
|
|
28185
28650
|
}
|
|
28186
28651
|
break;
|
|
28187
28652
|
} });
|
|
@@ -28351,7 +28816,7 @@ function defineCustomElement$6() {
|
|
|
28351
28816
|
if (typeof customElements === "undefined") {
|
|
28352
28817
|
return;
|
|
28353
28818
|
}
|
|
28354
|
-
const components = ["kup-checkbox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
28819
|
+
const components = ["kup-checkbox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
28355
28820
|
components.forEach(tagName => { switch (tagName) {
|
|
28356
28821
|
case "kup-checkbox":
|
|
28357
28822
|
if (!customElements.get(tagName)) {
|
|
@@ -28428,64 +28893,69 @@ function defineCustomElement$6() {
|
|
|
28428
28893
|
defineCustomElement$e();
|
|
28429
28894
|
}
|
|
28430
28895
|
break;
|
|
28431
|
-
case "kup-
|
|
28896
|
+
case "kup-file-upload":
|
|
28432
28897
|
if (!customElements.get(tagName)) {
|
|
28433
28898
|
defineCustomElement$f();
|
|
28434
28899
|
}
|
|
28435
28900
|
break;
|
|
28436
|
-
case "kup-
|
|
28901
|
+
case "kup-gauge":
|
|
28437
28902
|
if (!customElements.get(tagName)) {
|
|
28438
28903
|
defineCustomElement$g();
|
|
28439
28904
|
}
|
|
28440
28905
|
break;
|
|
28441
|
-
case "kup-
|
|
28906
|
+
case "kup-image":
|
|
28442
28907
|
if (!customElements.get(tagName)) {
|
|
28443
28908
|
defineCustomElement$h();
|
|
28444
28909
|
}
|
|
28445
28910
|
break;
|
|
28446
|
-
case "kup-
|
|
28911
|
+
case "kup-list":
|
|
28447
28912
|
if (!customElements.get(tagName)) {
|
|
28448
28913
|
defineCustomElement$i();
|
|
28449
28914
|
}
|
|
28450
28915
|
break;
|
|
28451
|
-
case "kup-
|
|
28916
|
+
case "kup-progress-bar":
|
|
28452
28917
|
if (!customElements.get(tagName)) {
|
|
28453
28918
|
defineCustomElement$j();
|
|
28454
28919
|
}
|
|
28455
28920
|
break;
|
|
28456
|
-
case "kup-
|
|
28921
|
+
case "kup-rating":
|
|
28457
28922
|
if (!customElements.get(tagName)) {
|
|
28458
28923
|
defineCustomElement$k();
|
|
28459
28924
|
}
|
|
28460
28925
|
break;
|
|
28461
|
-
case "kup-
|
|
28926
|
+
case "kup-spinner":
|
|
28462
28927
|
if (!customElements.get(tagName)) {
|
|
28463
28928
|
defineCustomElement$l();
|
|
28464
28929
|
}
|
|
28465
28930
|
break;
|
|
28466
|
-
case "kup-
|
|
28931
|
+
case "kup-switch":
|
|
28467
28932
|
if (!customElements.get(tagName)) {
|
|
28468
28933
|
defineCustomElement$m();
|
|
28469
28934
|
}
|
|
28470
28935
|
break;
|
|
28936
|
+
case "kup-tab-bar":
|
|
28937
|
+
if (!customElements.get(tagName)) {
|
|
28938
|
+
defineCustomElement$n();
|
|
28939
|
+
}
|
|
28940
|
+
break;
|
|
28471
28941
|
case "kup-text-field":
|
|
28472
28942
|
if (!customElements.get(tagName)) {
|
|
28473
|
-
defineCustomElement$
|
|
28943
|
+
defineCustomElement$p();
|
|
28474
28944
|
}
|
|
28475
28945
|
break;
|
|
28476
28946
|
case "kup-time-picker":
|
|
28477
28947
|
if (!customElements.get(tagName)) {
|
|
28478
|
-
defineCustomElement$
|
|
28948
|
+
defineCustomElement$q();
|
|
28479
28949
|
}
|
|
28480
28950
|
break;
|
|
28481
28951
|
case "kup-toolbar":
|
|
28482
28952
|
if (!customElements.get(tagName)) {
|
|
28483
|
-
defineCustomElement$
|
|
28953
|
+
defineCustomElement$r();
|
|
28484
28954
|
}
|
|
28485
28955
|
break;
|
|
28486
28956
|
case "kup-tree":
|
|
28487
28957
|
if (!customElements.get(tagName)) {
|
|
28488
|
-
defineCustomElement$
|
|
28958
|
+
defineCustomElement$s();
|
|
28489
28959
|
}
|
|
28490
28960
|
break;
|
|
28491
28961
|
} });
|
|
@@ -29005,7 +29475,7 @@ function defineCustomElement$5() {
|
|
|
29005
29475
|
if (typeof customElements === "undefined") {
|
|
29006
29476
|
return;
|
|
29007
29477
|
}
|
|
29008
|
-
const components = ["kup-chart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
29478
|
+
const components = ["kup-chart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
29009
29479
|
components.forEach(tagName => { switch (tagName) {
|
|
29010
29480
|
case "kup-chart":
|
|
29011
29481
|
if (!customElements.get(tagName)) {
|
|
@@ -29082,64 +29552,69 @@ function defineCustomElement$5() {
|
|
|
29082
29552
|
defineCustomElement$e();
|
|
29083
29553
|
}
|
|
29084
29554
|
break;
|
|
29085
|
-
case "kup-
|
|
29555
|
+
case "kup-file-upload":
|
|
29086
29556
|
if (!customElements.get(tagName)) {
|
|
29087
29557
|
defineCustomElement$f();
|
|
29088
29558
|
}
|
|
29089
29559
|
break;
|
|
29090
|
-
case "kup-
|
|
29560
|
+
case "kup-gauge":
|
|
29091
29561
|
if (!customElements.get(tagName)) {
|
|
29092
29562
|
defineCustomElement$g();
|
|
29093
29563
|
}
|
|
29094
29564
|
break;
|
|
29095
|
-
case "kup-
|
|
29565
|
+
case "kup-image":
|
|
29096
29566
|
if (!customElements.get(tagName)) {
|
|
29097
29567
|
defineCustomElement$h();
|
|
29098
29568
|
}
|
|
29099
29569
|
break;
|
|
29100
|
-
case "kup-
|
|
29570
|
+
case "kup-list":
|
|
29101
29571
|
if (!customElements.get(tagName)) {
|
|
29102
29572
|
defineCustomElement$i();
|
|
29103
29573
|
}
|
|
29104
29574
|
break;
|
|
29105
|
-
case "kup-
|
|
29575
|
+
case "kup-progress-bar":
|
|
29106
29576
|
if (!customElements.get(tagName)) {
|
|
29107
29577
|
defineCustomElement$j();
|
|
29108
29578
|
}
|
|
29109
29579
|
break;
|
|
29110
|
-
case "kup-
|
|
29580
|
+
case "kup-rating":
|
|
29111
29581
|
if (!customElements.get(tagName)) {
|
|
29112
29582
|
defineCustomElement$k();
|
|
29113
29583
|
}
|
|
29114
29584
|
break;
|
|
29115
|
-
case "kup-
|
|
29585
|
+
case "kup-spinner":
|
|
29116
29586
|
if (!customElements.get(tagName)) {
|
|
29117
29587
|
defineCustomElement$l();
|
|
29118
29588
|
}
|
|
29119
29589
|
break;
|
|
29120
|
-
case "kup-
|
|
29590
|
+
case "kup-switch":
|
|
29121
29591
|
if (!customElements.get(tagName)) {
|
|
29122
29592
|
defineCustomElement$m();
|
|
29123
29593
|
}
|
|
29124
29594
|
break;
|
|
29595
|
+
case "kup-tab-bar":
|
|
29596
|
+
if (!customElements.get(tagName)) {
|
|
29597
|
+
defineCustomElement$n();
|
|
29598
|
+
}
|
|
29599
|
+
break;
|
|
29125
29600
|
case "kup-text-field":
|
|
29126
29601
|
if (!customElements.get(tagName)) {
|
|
29127
|
-
defineCustomElement$
|
|
29602
|
+
defineCustomElement$p();
|
|
29128
29603
|
}
|
|
29129
29604
|
break;
|
|
29130
29605
|
case "kup-time-picker":
|
|
29131
29606
|
if (!customElements.get(tagName)) {
|
|
29132
|
-
defineCustomElement$
|
|
29607
|
+
defineCustomElement$q();
|
|
29133
29608
|
}
|
|
29134
29609
|
break;
|
|
29135
29610
|
case "kup-toolbar":
|
|
29136
29611
|
if (!customElements.get(tagName)) {
|
|
29137
|
-
defineCustomElement$
|
|
29612
|
+
defineCustomElement$r();
|
|
29138
29613
|
}
|
|
29139
29614
|
break;
|
|
29140
29615
|
case "kup-tree":
|
|
29141
29616
|
if (!customElements.get(tagName)) {
|
|
29142
|
-
defineCustomElement$
|
|
29617
|
+
defineCustomElement$s();
|
|
29143
29618
|
}
|
|
29144
29619
|
break;
|
|
29145
29620
|
} });
|
|
@@ -29597,7 +30072,7 @@ function defineCustomElement$4() {
|
|
|
29597
30072
|
if (typeof customElements === "undefined") {
|
|
29598
30073
|
return;
|
|
29599
30074
|
}
|
|
29600
|
-
const components = ["kup-card", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30075
|
+
const components = ["kup-card", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-form", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
29601
30076
|
components.forEach(tagName => { switch (tagName) {
|
|
29602
30077
|
case "kup-card":
|
|
29603
30078
|
if (!customElements.get(tagName)) {
|
|
@@ -29674,6 +30149,11 @@ function defineCustomElement$4() {
|
|
|
29674
30149
|
defineCustomElement$e();
|
|
29675
30150
|
}
|
|
29676
30151
|
break;
|
|
30152
|
+
case "kup-file-upload":
|
|
30153
|
+
if (!customElements.get(tagName)) {
|
|
30154
|
+
defineCustomElement$f();
|
|
30155
|
+
}
|
|
30156
|
+
break;
|
|
29677
30157
|
case "kup-form":
|
|
29678
30158
|
if (!customElements.get(tagName)) {
|
|
29679
30159
|
defineCustomElement$b();
|
|
@@ -29681,67 +30161,67 @@ function defineCustomElement$4() {
|
|
|
29681
30161
|
break;
|
|
29682
30162
|
case "kup-gauge":
|
|
29683
30163
|
if (!customElements.get(tagName)) {
|
|
29684
|
-
defineCustomElement$
|
|
30164
|
+
defineCustomElement$g();
|
|
29685
30165
|
}
|
|
29686
30166
|
break;
|
|
29687
30167
|
case "kup-image":
|
|
29688
30168
|
if (!customElements.get(tagName)) {
|
|
29689
|
-
defineCustomElement$
|
|
30169
|
+
defineCustomElement$h();
|
|
29690
30170
|
}
|
|
29691
30171
|
break;
|
|
29692
30172
|
case "kup-list":
|
|
29693
30173
|
if (!customElements.get(tagName)) {
|
|
29694
|
-
defineCustomElement$
|
|
30174
|
+
defineCustomElement$i();
|
|
29695
30175
|
}
|
|
29696
30176
|
break;
|
|
29697
30177
|
case "kup-progress-bar":
|
|
29698
30178
|
if (!customElements.get(tagName)) {
|
|
29699
|
-
defineCustomElement$
|
|
30179
|
+
defineCustomElement$j();
|
|
29700
30180
|
}
|
|
29701
30181
|
break;
|
|
29702
30182
|
case "kup-radio":
|
|
29703
30183
|
if (!customElements.get(tagName)) {
|
|
29704
|
-
defineCustomElement$
|
|
30184
|
+
defineCustomElement$o();
|
|
29705
30185
|
}
|
|
29706
30186
|
break;
|
|
29707
30187
|
case "kup-rating":
|
|
29708
30188
|
if (!customElements.get(tagName)) {
|
|
29709
|
-
defineCustomElement$
|
|
30189
|
+
defineCustomElement$k();
|
|
29710
30190
|
}
|
|
29711
30191
|
break;
|
|
29712
30192
|
case "kup-spinner":
|
|
29713
30193
|
if (!customElements.get(tagName)) {
|
|
29714
|
-
defineCustomElement$
|
|
30194
|
+
defineCustomElement$l();
|
|
29715
30195
|
}
|
|
29716
30196
|
break;
|
|
29717
30197
|
case "kup-switch":
|
|
29718
30198
|
if (!customElements.get(tagName)) {
|
|
29719
|
-
defineCustomElement$
|
|
30199
|
+
defineCustomElement$m();
|
|
29720
30200
|
}
|
|
29721
30201
|
break;
|
|
29722
30202
|
case "kup-tab-bar":
|
|
29723
30203
|
if (!customElements.get(tagName)) {
|
|
29724
|
-
defineCustomElement$
|
|
30204
|
+
defineCustomElement$n();
|
|
29725
30205
|
}
|
|
29726
30206
|
break;
|
|
29727
30207
|
case "kup-text-field":
|
|
29728
30208
|
if (!customElements.get(tagName)) {
|
|
29729
|
-
defineCustomElement$
|
|
30209
|
+
defineCustomElement$p();
|
|
29730
30210
|
}
|
|
29731
30211
|
break;
|
|
29732
30212
|
case "kup-time-picker":
|
|
29733
30213
|
if (!customElements.get(tagName)) {
|
|
29734
|
-
defineCustomElement$
|
|
30214
|
+
defineCustomElement$q();
|
|
29735
30215
|
}
|
|
29736
30216
|
break;
|
|
29737
30217
|
case "kup-toolbar":
|
|
29738
30218
|
if (!customElements.get(tagName)) {
|
|
29739
|
-
defineCustomElement$
|
|
30219
|
+
defineCustomElement$r();
|
|
29740
30220
|
}
|
|
29741
30221
|
break;
|
|
29742
30222
|
case "kup-tree":
|
|
29743
30223
|
if (!customElements.get(tagName)) {
|
|
29744
|
-
defineCustomElement$
|
|
30224
|
+
defineCustomElement$s();
|
|
29745
30225
|
}
|
|
29746
30226
|
break;
|
|
29747
30227
|
} });
|
|
@@ -30070,7 +30550,7 @@ function defineCustomElement$3() {
|
|
|
30070
30550
|
if (typeof customElements === "undefined") {
|
|
30071
30551
|
return;
|
|
30072
30552
|
}
|
|
30073
|
-
const components = ["kup-button-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30553
|
+
const components = ["kup-button-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30074
30554
|
components.forEach(tagName => { switch (tagName) {
|
|
30075
30555
|
case "kup-button-list":
|
|
30076
30556
|
if (!customElements.get(tagName)) {
|
|
@@ -30147,69 +30627,74 @@ function defineCustomElement$3() {
|
|
|
30147
30627
|
defineCustomElement$e();
|
|
30148
30628
|
}
|
|
30149
30629
|
break;
|
|
30150
|
-
case "kup-
|
|
30630
|
+
case "kup-file-upload":
|
|
30151
30631
|
if (!customElements.get(tagName)) {
|
|
30152
30632
|
defineCustomElement$f();
|
|
30153
30633
|
}
|
|
30154
30634
|
break;
|
|
30155
|
-
case "kup-
|
|
30635
|
+
case "kup-gauge":
|
|
30156
30636
|
if (!customElements.get(tagName)) {
|
|
30157
30637
|
defineCustomElement$g();
|
|
30158
30638
|
}
|
|
30159
30639
|
break;
|
|
30160
|
-
case "kup-
|
|
30640
|
+
case "kup-image":
|
|
30161
30641
|
if (!customElements.get(tagName)) {
|
|
30162
30642
|
defineCustomElement$h();
|
|
30163
30643
|
}
|
|
30164
30644
|
break;
|
|
30165
|
-
case "kup-
|
|
30645
|
+
case "kup-list":
|
|
30166
30646
|
if (!customElements.get(tagName)) {
|
|
30167
30647
|
defineCustomElement$i();
|
|
30168
30648
|
}
|
|
30169
30649
|
break;
|
|
30650
|
+
case "kup-progress-bar":
|
|
30651
|
+
if (!customElements.get(tagName)) {
|
|
30652
|
+
defineCustomElement$j();
|
|
30653
|
+
}
|
|
30654
|
+
break;
|
|
30170
30655
|
case "kup-radio":
|
|
30171
30656
|
if (!customElements.get(tagName)) {
|
|
30172
|
-
defineCustomElement$
|
|
30657
|
+
defineCustomElement$o();
|
|
30173
30658
|
}
|
|
30174
30659
|
break;
|
|
30175
30660
|
case "kup-rating":
|
|
30176
30661
|
if (!customElements.get(tagName)) {
|
|
30177
|
-
defineCustomElement$
|
|
30662
|
+
defineCustomElement$k();
|
|
30178
30663
|
}
|
|
30179
30664
|
break;
|
|
30180
30665
|
case "kup-spinner":
|
|
30181
30666
|
if (!customElements.get(tagName)) {
|
|
30182
|
-
defineCustomElement$
|
|
30667
|
+
defineCustomElement$l();
|
|
30183
30668
|
}
|
|
30184
30669
|
break;
|
|
30185
30670
|
case "kup-switch":
|
|
30186
30671
|
if (!customElements.get(tagName)) {
|
|
30187
|
-
defineCustomElement$
|
|
30672
|
+
defineCustomElement$m();
|
|
30188
30673
|
}
|
|
30189
30674
|
break;
|
|
30190
30675
|
case "kup-tab-bar":
|
|
30191
30676
|
if (!customElements.get(tagName)) {
|
|
30192
|
-
defineCustomElement$
|
|
30677
|
+
defineCustomElement$n();
|
|
30193
30678
|
}
|
|
30194
30679
|
break;
|
|
30195
30680
|
case "kup-text-field":
|
|
30196
30681
|
if (!customElements.get(tagName)) {
|
|
30197
|
-
defineCustomElement$
|
|
30682
|
+
defineCustomElement$p();
|
|
30198
30683
|
}
|
|
30199
30684
|
break;
|
|
30200
30685
|
case "kup-time-picker":
|
|
30201
30686
|
if (!customElements.get(tagName)) {
|
|
30202
|
-
defineCustomElement$
|
|
30687
|
+
defineCustomElement$q();
|
|
30203
30688
|
}
|
|
30204
30689
|
break;
|
|
30205
30690
|
case "kup-toolbar":
|
|
30206
30691
|
if (!customElements.get(tagName)) {
|
|
30207
|
-
defineCustomElement$
|
|
30692
|
+
defineCustomElement$r();
|
|
30208
30693
|
}
|
|
30209
30694
|
break;
|
|
30210
30695
|
case "kup-tree":
|
|
30211
30696
|
if (!customElements.get(tagName)) {
|
|
30212
|
-
defineCustomElement$
|
|
30697
|
+
defineCustomElement$s();
|
|
30213
30698
|
}
|
|
30214
30699
|
break;
|
|
30215
30700
|
} });
|
|
@@ -30436,7 +30921,7 @@ function defineCustomElement$2() {
|
|
|
30436
30921
|
if (typeof customElements === "undefined") {
|
|
30437
30922
|
return;
|
|
30438
30923
|
}
|
|
30439
|
-
const components = ["kup-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30924
|
+
const components = ["kup-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30440
30925
|
components.forEach(tagName => { switch (tagName) {
|
|
30441
30926
|
case "kup-button":
|
|
30442
30927
|
if (!customElements.get(tagName)) {
|
|
@@ -30513,64 +30998,69 @@ function defineCustomElement$2() {
|
|
|
30513
30998
|
defineCustomElement$e();
|
|
30514
30999
|
}
|
|
30515
31000
|
break;
|
|
30516
|
-
case "kup-
|
|
31001
|
+
case "kup-file-upload":
|
|
30517
31002
|
if (!customElements.get(tagName)) {
|
|
30518
31003
|
defineCustomElement$f();
|
|
30519
31004
|
}
|
|
30520
31005
|
break;
|
|
30521
|
-
case "kup-
|
|
31006
|
+
case "kup-gauge":
|
|
30522
31007
|
if (!customElements.get(tagName)) {
|
|
30523
31008
|
defineCustomElement$g();
|
|
30524
31009
|
}
|
|
30525
31010
|
break;
|
|
30526
|
-
case "kup-
|
|
31011
|
+
case "kup-image":
|
|
30527
31012
|
if (!customElements.get(tagName)) {
|
|
30528
31013
|
defineCustomElement$h();
|
|
30529
31014
|
}
|
|
30530
31015
|
break;
|
|
30531
|
-
case "kup-
|
|
31016
|
+
case "kup-list":
|
|
30532
31017
|
if (!customElements.get(tagName)) {
|
|
30533
31018
|
defineCustomElement$i();
|
|
30534
31019
|
}
|
|
30535
31020
|
break;
|
|
30536
|
-
case "kup-
|
|
31021
|
+
case "kup-progress-bar":
|
|
30537
31022
|
if (!customElements.get(tagName)) {
|
|
30538
31023
|
defineCustomElement$j();
|
|
30539
31024
|
}
|
|
30540
31025
|
break;
|
|
30541
|
-
case "kup-
|
|
31026
|
+
case "kup-rating":
|
|
30542
31027
|
if (!customElements.get(tagName)) {
|
|
30543
31028
|
defineCustomElement$k();
|
|
30544
31029
|
}
|
|
30545
31030
|
break;
|
|
30546
|
-
case "kup-
|
|
31031
|
+
case "kup-spinner":
|
|
30547
31032
|
if (!customElements.get(tagName)) {
|
|
30548
31033
|
defineCustomElement$l();
|
|
30549
31034
|
}
|
|
30550
31035
|
break;
|
|
30551
|
-
case "kup-
|
|
31036
|
+
case "kup-switch":
|
|
30552
31037
|
if (!customElements.get(tagName)) {
|
|
30553
31038
|
defineCustomElement$m();
|
|
30554
31039
|
}
|
|
30555
31040
|
break;
|
|
31041
|
+
case "kup-tab-bar":
|
|
31042
|
+
if (!customElements.get(tagName)) {
|
|
31043
|
+
defineCustomElement$n();
|
|
31044
|
+
}
|
|
31045
|
+
break;
|
|
30556
31046
|
case "kup-text-field":
|
|
30557
31047
|
if (!customElements.get(tagName)) {
|
|
30558
|
-
defineCustomElement$
|
|
31048
|
+
defineCustomElement$p();
|
|
30559
31049
|
}
|
|
30560
31050
|
break;
|
|
30561
31051
|
case "kup-time-picker":
|
|
30562
31052
|
if (!customElements.get(tagName)) {
|
|
30563
|
-
defineCustomElement$
|
|
31053
|
+
defineCustomElement$q();
|
|
30564
31054
|
}
|
|
30565
31055
|
break;
|
|
30566
31056
|
case "kup-toolbar":
|
|
30567
31057
|
if (!customElements.get(tagName)) {
|
|
30568
|
-
defineCustomElement$
|
|
31058
|
+
defineCustomElement$r();
|
|
30569
31059
|
}
|
|
30570
31060
|
break;
|
|
30571
31061
|
case "kup-tree":
|
|
30572
31062
|
if (!customElements.get(tagName)) {
|
|
30573
|
-
defineCustomElement$
|
|
31063
|
+
defineCustomElement$s();
|
|
30574
31064
|
}
|
|
30575
31065
|
break;
|
|
30576
31066
|
} });
|
|
@@ -30677,7 +31167,7 @@ function defineCustomElement$1() {
|
|
|
30677
31167
|
if (typeof customElements === "undefined") {
|
|
30678
31168
|
return;
|
|
30679
31169
|
}
|
|
30680
|
-
const components = ["kup-badge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
31170
|
+
const components = ["kup-badge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
30681
31171
|
components.forEach(tagName => { switch (tagName) {
|
|
30682
31172
|
case "kup-badge":
|
|
30683
31173
|
if (!customElements.get(tagName)) {
|
|
@@ -30754,64 +31244,69 @@ function defineCustomElement$1() {
|
|
|
30754
31244
|
defineCustomElement$e();
|
|
30755
31245
|
}
|
|
30756
31246
|
break;
|
|
30757
|
-
case "kup-
|
|
31247
|
+
case "kup-file-upload":
|
|
30758
31248
|
if (!customElements.get(tagName)) {
|
|
30759
31249
|
defineCustomElement$f();
|
|
30760
31250
|
}
|
|
30761
31251
|
break;
|
|
30762
|
-
case "kup-
|
|
31252
|
+
case "kup-gauge":
|
|
30763
31253
|
if (!customElements.get(tagName)) {
|
|
30764
31254
|
defineCustomElement$g();
|
|
30765
31255
|
}
|
|
30766
31256
|
break;
|
|
30767
|
-
case "kup-
|
|
31257
|
+
case "kup-image":
|
|
30768
31258
|
if (!customElements.get(tagName)) {
|
|
30769
31259
|
defineCustomElement$h();
|
|
30770
31260
|
}
|
|
30771
31261
|
break;
|
|
30772
|
-
case "kup-
|
|
31262
|
+
case "kup-list":
|
|
30773
31263
|
if (!customElements.get(tagName)) {
|
|
30774
31264
|
defineCustomElement$i();
|
|
30775
31265
|
}
|
|
30776
31266
|
break;
|
|
30777
|
-
case "kup-
|
|
31267
|
+
case "kup-progress-bar":
|
|
30778
31268
|
if (!customElements.get(tagName)) {
|
|
30779
31269
|
defineCustomElement$j();
|
|
30780
31270
|
}
|
|
30781
31271
|
break;
|
|
30782
|
-
case "kup-
|
|
31272
|
+
case "kup-rating":
|
|
30783
31273
|
if (!customElements.get(tagName)) {
|
|
30784
31274
|
defineCustomElement$k();
|
|
30785
31275
|
}
|
|
30786
31276
|
break;
|
|
30787
|
-
case "kup-
|
|
31277
|
+
case "kup-spinner":
|
|
30788
31278
|
if (!customElements.get(tagName)) {
|
|
30789
31279
|
defineCustomElement$l();
|
|
30790
31280
|
}
|
|
30791
31281
|
break;
|
|
30792
|
-
case "kup-
|
|
31282
|
+
case "kup-switch":
|
|
30793
31283
|
if (!customElements.get(tagName)) {
|
|
30794
31284
|
defineCustomElement$m();
|
|
30795
31285
|
}
|
|
30796
31286
|
break;
|
|
31287
|
+
case "kup-tab-bar":
|
|
31288
|
+
if (!customElements.get(tagName)) {
|
|
31289
|
+
defineCustomElement$n();
|
|
31290
|
+
}
|
|
31291
|
+
break;
|
|
30797
31292
|
case "kup-text-field":
|
|
30798
31293
|
if (!customElements.get(tagName)) {
|
|
30799
|
-
defineCustomElement$
|
|
31294
|
+
defineCustomElement$p();
|
|
30800
31295
|
}
|
|
30801
31296
|
break;
|
|
30802
31297
|
case "kup-time-picker":
|
|
30803
31298
|
if (!customElements.get(tagName)) {
|
|
30804
|
-
defineCustomElement$
|
|
31299
|
+
defineCustomElement$q();
|
|
30805
31300
|
}
|
|
30806
31301
|
break;
|
|
30807
31302
|
case "kup-toolbar":
|
|
30808
31303
|
if (!customElements.get(tagName)) {
|
|
30809
|
-
defineCustomElement$
|
|
31304
|
+
defineCustomElement$r();
|
|
30810
31305
|
}
|
|
30811
31306
|
break;
|
|
30812
31307
|
case "kup-tree":
|
|
30813
31308
|
if (!customElements.get(tagName)) {
|
|
30814
|
-
defineCustomElement$
|
|
31309
|
+
defineCustomElement$s();
|
|
30815
31310
|
}
|
|
30816
31311
|
break;
|
|
30817
31312
|
} });
|
|
@@ -31292,7 +31787,7 @@ function defineCustomElement() {
|
|
|
31292
31787
|
if (typeof customElements === "undefined") {
|
|
31293
31788
|
return;
|
|
31294
31789
|
}
|
|
31295
|
-
const components = ["kup-autocomplete", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
31790
|
+
const components = ["kup-autocomplete", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-file-upload", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-toolbar", "kup-tree"];
|
|
31296
31791
|
components.forEach(tagName => { switch (tagName) {
|
|
31297
31792
|
case "kup-autocomplete":
|
|
31298
31793
|
if (!customElements.get(tagName)) {
|
|
@@ -31369,72 +31864,77 @@ function defineCustomElement() {
|
|
|
31369
31864
|
defineCustomElement$e();
|
|
31370
31865
|
}
|
|
31371
31866
|
break;
|
|
31372
|
-
case "kup-
|
|
31867
|
+
case "kup-file-upload":
|
|
31373
31868
|
if (!customElements.get(tagName)) {
|
|
31374
31869
|
defineCustomElement$f();
|
|
31375
31870
|
}
|
|
31376
31871
|
break;
|
|
31377
|
-
case "kup-
|
|
31872
|
+
case "kup-gauge":
|
|
31378
31873
|
if (!customElements.get(tagName)) {
|
|
31379
31874
|
defineCustomElement$g();
|
|
31380
31875
|
}
|
|
31381
31876
|
break;
|
|
31382
|
-
case "kup-
|
|
31877
|
+
case "kup-image":
|
|
31383
31878
|
if (!customElements.get(tagName)) {
|
|
31384
31879
|
defineCustomElement$h();
|
|
31385
31880
|
}
|
|
31386
31881
|
break;
|
|
31387
|
-
case "kup-
|
|
31882
|
+
case "kup-list":
|
|
31388
31883
|
if (!customElements.get(tagName)) {
|
|
31389
31884
|
defineCustomElement$i();
|
|
31390
31885
|
}
|
|
31391
31886
|
break;
|
|
31887
|
+
case "kup-progress-bar":
|
|
31888
|
+
if (!customElements.get(tagName)) {
|
|
31889
|
+
defineCustomElement$j();
|
|
31890
|
+
}
|
|
31891
|
+
break;
|
|
31392
31892
|
case "kup-radio":
|
|
31393
31893
|
if (!customElements.get(tagName)) {
|
|
31394
|
-
defineCustomElement$
|
|
31894
|
+
defineCustomElement$o();
|
|
31395
31895
|
}
|
|
31396
31896
|
break;
|
|
31397
31897
|
case "kup-rating":
|
|
31398
31898
|
if (!customElements.get(tagName)) {
|
|
31399
|
-
defineCustomElement$
|
|
31899
|
+
defineCustomElement$k();
|
|
31400
31900
|
}
|
|
31401
31901
|
break;
|
|
31402
31902
|
case "kup-spinner":
|
|
31403
31903
|
if (!customElements.get(tagName)) {
|
|
31404
|
-
defineCustomElement$
|
|
31904
|
+
defineCustomElement$l();
|
|
31405
31905
|
}
|
|
31406
31906
|
break;
|
|
31407
31907
|
case "kup-switch":
|
|
31408
31908
|
if (!customElements.get(tagName)) {
|
|
31409
|
-
defineCustomElement$
|
|
31909
|
+
defineCustomElement$m();
|
|
31410
31910
|
}
|
|
31411
31911
|
break;
|
|
31412
31912
|
case "kup-tab-bar":
|
|
31413
31913
|
if (!customElements.get(tagName)) {
|
|
31414
|
-
defineCustomElement$
|
|
31914
|
+
defineCustomElement$n();
|
|
31415
31915
|
}
|
|
31416
31916
|
break;
|
|
31417
31917
|
case "kup-text-field":
|
|
31418
31918
|
if (!customElements.get(tagName)) {
|
|
31419
|
-
defineCustomElement$
|
|
31919
|
+
defineCustomElement$p();
|
|
31420
31920
|
}
|
|
31421
31921
|
break;
|
|
31422
31922
|
case "kup-time-picker":
|
|
31423
31923
|
if (!customElements.get(tagName)) {
|
|
31424
|
-
defineCustomElement$
|
|
31924
|
+
defineCustomElement$q();
|
|
31425
31925
|
}
|
|
31426
31926
|
break;
|
|
31427
31927
|
case "kup-toolbar":
|
|
31428
31928
|
if (!customElements.get(tagName)) {
|
|
31429
|
-
defineCustomElement$
|
|
31929
|
+
defineCustomElement$r();
|
|
31430
31930
|
}
|
|
31431
31931
|
break;
|
|
31432
31932
|
case "kup-tree":
|
|
31433
31933
|
if (!customElements.get(tagName)) {
|
|
31434
|
-
defineCustomElement$
|
|
31934
|
+
defineCustomElement$s();
|
|
31435
31935
|
}
|
|
31436
31936
|
break;
|
|
31437
31937
|
} });
|
|
31438
31938
|
}
|
|
31439
31939
|
|
|
31440
|
-
export {
|
|
31940
|
+
export { FTextField as $, defineCustomElement$3 as A, defineCustomElement$2 as B, defineCustomElement$1 as C, defineCustomElement as D, sortRows as E, FImage as F, KupBadge as G, filterRows as H, paginateRows as I, pageChange as J, KupAutocomplete as K, rowsPerPageChange as L, MDCRipple as M, FCell as N, FChip as O, FTextFieldMDC as P, FPaginator as Q, KupButton as R, KupButtonList as S, FButton as T, FChipType as U, KupCard as V, KupChart as W, KupCheckbox as X, KupChip as Y, KupColorPicker as Z, KupCombobox as _, defineCustomElement$r as a, FCheckbox as a0, KupDataTable as a1, KupDatePicker as a2, KupDialog as a3, KupDropdownButton as a4, FButtonStyling as a5, KupFileUpload as a6, KupForm as a7, KupGauge as a8, KupImage as a9, KupList as aa, FObjectField as ab, KupProgressBar as ac, KupRadio as ad, KupRating as ae, KupSpinner as af, KupSwitch as ag, KupTabBar as ah, KupTextField as ai, KupTimePicker as aj, KupToolbar as ak, KupTree as al, defineCustomElement$q as b, componentWrapperId as c, defineCustomElement$s as d, defineCustomElement$p as e, defineCustomElement$n as f, defineCustomElement$m as g, defineCustomElement$l as h, defineCustomElement$k as i, defineCustomElement$o as j, defineCustomElement$j as k, defineCustomElement$i as l, defineCustomElement$h as m, defineCustomElement$g as n, defineCustomElement$b as o, defineCustomElement$f as p, defineCustomElement$e as q, defineCustomElement$d as r, defineCustomElement$c as s, defineCustomElement$a as t, defineCustomElement$9 as u, defineCustomElement$8 as v, defineCustomElement$7 as w, defineCustomElement$6 as x, defineCustomElement$5 as y, defineCustomElement$4 as z };
|