@sme.up/ketchup 10.1.0 → 10.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-c3ae141e.js → f-button-bfafefb3.js} +3 -3
- package/dist/cjs/{f-cell-83ca2b8b.js → f-cell-3ed4ad9e.js} +376 -168
- package/dist/cjs/{f-checkbox-59fb7aa5.js → f-checkbox-aaa6d45c.js} +3 -2
- package/dist/cjs/{f-chip-286f1c8d.js → f-chip-b936dcaf.js} +146 -10
- package/dist/cjs/{f-image-d22b012f.js → f-image-db10b066.js} +1 -1
- package/dist/cjs/{f-object-field-0986026c.js → f-object-field-348fa103.js} +13 -6
- package/dist/cjs/{f-paginator-utils-ee281217.js → f-paginator-utils-f951cc54.js} +15 -6
- package/dist/cjs/{f-text-field-463a6dbe.js → f-text-field-e41f653a.js} +15 -15
- package/dist/cjs/{f-typography-271f5037.js → f-typography-85d8238a.js} +1 -1
- package/dist/cjs/{index-e8aa3c73.js → index-c7d441d8.js} +8 -3
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +43 -23
- package/dist/cjs/{kup-autocomplete_28.cjs.entry.js → kup-autocomplete_29.cjs.entry.js} +2360 -1472
- package/dist/cjs/kup-box.cjs.entry.js +60 -59
- package/dist/cjs/kup-calendar.cjs.entry.js +12 -11
- package/dist/cjs/kup-card-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-cell.cjs.entry.js +17 -12
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +12 -12
- package/dist/cjs/kup-dashboard.cjs.entry.js +7 -7
- package/dist/cjs/{kup-data-table-helper-c7d3445e.js → kup-data-table-helper-adaa11bb.js} +52 -84
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- package/dist/cjs/kup-echart.cjs.entry.js +46 -14
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +5 -5
- package/dist/cjs/kup-gantt_10.cjs.entry.js +33 -33
- package/dist/cjs/kup-grid.cjs.entry.js +3 -3
- package/dist/cjs/kup-htm.cjs.entry.js +4 -4
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -3
- package/dist/cjs/kup-image-list.cjs.entry.js +25 -21
- package/dist/cjs/kup-input-panel.cjs.entry.js +102 -73
- package/dist/cjs/kup-lazy.cjs.entry.js +14 -14
- package/dist/cjs/kup-magic-box.cjs.entry.js +7 -7
- package/dist/cjs/{kup-manager-f41ad314.js → kup-manager-39bc2be8.js} +425 -246
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -4
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +6 -6
- package/dist/cjs/kup-object-field.cjs.entry.js +7 -7
- package/dist/cjs/kup-pdf.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +3 -3
- package/dist/cjs/kup-planner.cjs.entry.js +6 -6
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +4 -4
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -6
- package/dist/cjs/kup-txt.cjs.entry.js +4 -4
- package/dist/cjs/kup-typography-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-typography.cjs.entry.js +115 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/kup-accordion/kup-accordion.css +3 -3
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline-declarations.js +1 -1
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.css +3 -3
- package/dist/collection/components/kup-activity-timeline/kup-activity-timeline.js +37 -17
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +3 -3
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +49 -13
- package/dist/collection/components/kup-badge/kup-badge.css +3 -3
- package/dist/collection/components/kup-box/kup-box.css +3 -3
- package/dist/collection/components/kup-box/kup-box.js +48 -47
- package/dist/collection/components/kup-button/kup-button.css +3 -3
- package/dist/collection/components/kup-button-list/kup-button-list.css +3 -3
- package/dist/collection/components/kup-button-list/kup-button-list.js +23 -3
- package/dist/collection/components/kup-calendar/kup-calendar.css +4 -4
- package/dist/collection/components/kup-calendar/kup-calendar.js +6 -5
- package/dist/collection/components/kup-card/built-in/kup-card-clock.js +4 -2
- package/dist/collection/components/kup-card/built-in/kup-card-message-box.js +5 -1
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +78 -1
- package/dist/collection/components/kup-card/kup-card.css +248 -20
- package/dist/collection/components/kup-card/kup-card.js +5 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +10 -8
- package/dist/collection/components/kup-card-list/kup-card-list.css +3 -3
- package/dist/collection/components/kup-cell/kup-cell.css +3 -3
- package/dist/collection/components/kup-cell/kup-cell.js +28 -3
- package/dist/collection/components/kup-chart/kup-chart.css +3 -3
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +3 -3
- package/dist/collection/components/kup-chip/kup-chip.css +21 -7
- package/dist/collection/components/kup-chip/kup-chip.js +104 -33
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +3 -3
- package/dist/collection/components/kup-combobox/kup-combobox.css +3 -3
- package/dist/collection/components/kup-combobox/kup-combobox.js +30 -4
- package/dist/collection/components/kup-dashboard/kup-dashboard.css +3 -3
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +13 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +6 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table.css +55 -34
- package/dist/collection/components/kup-data-table/kup-data-table.js +707 -232
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +3 -3
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +11 -6
- package/dist/collection/components/kup-dialog/kup-dialog-declarations.js +3 -0
- package/dist/collection/components/kup-dialog/kup-dialog.css +31 -6
- package/dist/collection/components/kup-dialog/kup-dialog.js +169 -11
- package/dist/collection/components/kup-drawer/kup-drawer.css +3 -3
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +3 -3
- package/dist/collection/components/kup-echart/kup-echart.css +3 -3
- package/dist/collection/components/kup-echart/kup-echart.js +106 -11
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +15 -12
- package/dist/collection/components/kup-file-upload/kup-file-upload-declarations.js +5 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.css +203 -0
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +424 -0
- package/dist/collection/components/kup-form/kup-form.css +3 -3
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-gauge/kup-gauge.css +3 -3
- package/dist/collection/components/kup-grid/kup-grid.css +3 -3
- package/dist/collection/components/kup-htm/kup-htm.css +3 -3
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-iframe/kup-iframe.css +3 -3
- package/dist/collection/components/kup-image/assets/svg/circle.svg +3 -0
- package/dist/collection/components/kup-image/assets/svg/up.svg +43 -0
- package/dist/collection/components/kup-image/kup-image.css +3 -3
- package/dist/collection/components/kup-image-list/kup-image-list.css +6 -6
- package/dist/collection/components/kup-image-list/kup-image-list.js +15 -11
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +13 -4
- package/dist/collection/components/kup-input-panel/kup-input-panel.css +12 -5
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +89 -59
- package/dist/collection/components/kup-lazy/kup-lazy.css +3 -3
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-list/kup-list.css +3 -3
- package/dist/collection/components/kup-list/kup-list.js +59 -13
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +3 -3
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.css +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.css +3 -3
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.css +3 -3
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.css +3 -3
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.module.css +3 -3
- package/dist/collection/components/kup-planner/utils/gantt-table.module.css +6 -6
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.css +4 -4
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.css +3 -3
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +3 -3
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.css +3 -3
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-radio/kup-radio.css +3 -3
- package/dist/collection/components/kup-rating/kup-rating.css +3 -3
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -4
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.css +3 -3
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.css +3 -3
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +9 -7
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +182 -20
- package/dist/collection/components/kup-text-field/kup-text-field.css +3 -3
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +3 -3
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +57 -9
- package/dist/collection/components/kup-toolbar/kup-toolbar.css +9 -12
- package/dist/collection/components/kup-tree/kup-tree.css +24 -13
- package/dist/collection/components/kup-tree/kup-tree.js +93 -45
- package/dist/collection/components/kup-txt/kup-txt.css +3 -3
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.css +3 -3
- package/dist/collection/components/kup-typography/kup-typography.js +198 -28
- package/dist/collection/components/kup-typography-list/kup-typography-list.css +3 -3
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/f-components/f-button/f-button.js +1 -1
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +6 -1
- package/dist/collection/f-components/f-cell/f-cell.js +80 -52
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +12 -7
- package/dist/collection/f-components/f-label/f-label-declarations.js +1 -0
- package/dist/collection/f-components/f-label/f-label.js +21 -0
- package/dist/collection/f-components/f-object-field/f-object-field.js +6 -1
- package/dist/collection/f-components/f-paginator/f-paginator.js +10 -2
- package/dist/collection/f-components/f-radio/f-radio.js +17 -6
- package/dist/collection/f-components/f-text-field/f-text-field.js +12 -12
- package/dist/collection/managers/kup-data/kup-data.js +8 -0
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +12 -1
- package/dist/collection/managers/kup-interact/kup-interact.js +43 -22
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding.js +2 -2
- package/dist/collection/managers/kup-language/kup-language-declarations.js +11 -2
- package/dist/collection/managers/kup-manager/kup-manager.js +8 -1
- package/dist/collection/managers/kup-perf-monitoring/kup-perf-monitoring.js +55 -0
- package/dist/collection/managers/kup-perf-tuning/kup-perf-tuning-declarations.js +5 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +3 -0
- package/dist/collection/managers/kup-tooltip/kup-tooltip.js +7 -3
- package/dist/collection/types/GenericTypes.js +1 -0
- package/dist/collection/utils/cell-utils.js +22 -8
- package/dist/collection/utils/filters/filters-column-menu.js +9 -22
- package/dist/collection/utils/filters/filters-declarations.js +1 -1
- package/dist/collection/utils/filters/filters-rows.js +36 -58
- package/dist/collection/utils/filters/filters-tree-items.js +11 -11
- package/dist/collection/utils/filters/filters.js +19 -9
- package/dist/collection/utils/g-cell-style-generator.js +188 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu-declarations.js +0 -2
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +10 -10
- package/dist/collection/utils/label-utils.js +58 -0
- package/dist/collection/utils/utils.js +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/kup-accordion.js +23 -18
- package/dist/components/kup-activity-timeline.js +61 -36
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +29 -23
- package/dist/components/kup-card-list.js +24 -19
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +30 -20
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +23 -18
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +23 -18
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +25 -20
- package/dist/components/kup-file-upload.d.ts +11 -0
- package/dist/components/kup-file-upload.js +6 -0
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +24 -19
- package/dist/components/kup-iframe.js +23 -18
- package/dist/components/kup-image-list.js +38 -29
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +117 -83
- package/dist/components/kup-lazy.js +34 -29
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +30 -25
- package/dist/components/kup-nav-bar.js +24 -19
- package/dist/components/kup-numeric-picker.js +24 -19
- package/dist/components/kup-object-field.js +23 -18
- package/dist/components/kup-pdf.js +24 -19
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +41 -36
- package/dist/components/kup-probe.js +23 -18
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +24 -19
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +24 -19
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +24 -19
- package/dist/components/kup-typography-list.js +24 -19
- package/dist/components/kup-typography.js +136 -29
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-c43d08ab.js → p-0e85ab66.js} +5 -5
- package/dist/components/{p-5f307bf2.js → p-3438f15f.js} +71 -65
- package/dist/components/p-3b4cdace.js +56 -0
- package/dist/components/p-55542b47.js +38 -0
- package/dist/components/{p-0e6c0355.js → p-67ba8cd7.js} +2 -2
- package/dist/components/{p-5517e8e8.js → p-6992b96f.js} +5 -5
- package/dist/components/{p-ea6e4e37.js → p-6bfda249.js} +3 -3
- package/dist/components/{p-ef8026e9.js → p-7d0f1f90.js} +3075 -1532
- package/dist/components/{p-709a51cf.js → p-8472facf.js} +4 -4
- package/dist/components/p-97053b4d.js +45 -0
- package/dist/components/{p-0ac9fd6c.js → p-a0258e6f.js} +69 -29
- package/dist/components/{p-a3f73a90.js → p-b304b91c.js} +423 -246
- package/dist/components/{p-09b28008.js → p-b80494d7.js} +23 -18
- package/dist/components/{p-53e38c4a.js → p-bd3047ee.js} +3 -3
- package/dist/components/{p-4efa19a7.js → p-c325da75.js} +5 -5
- package/dist/components/p-c7c7f760.js +49 -0
- package/dist/components/{p-9da8cd93.js → p-d0e33e04.js} +16 -16
- package/dist/components/{p-c62695d4.js → p-d7136d08.js} +4 -4
- package/dist/components/{p-2fff7268.js → p-de04aef6.js} +17 -17
- package/dist/components/{p-e30483fa.js → p-eb8a2811.js} +22 -17
- package/dist/components/{p-2e5f2e07.js → p-ef8cbd35.js} +6 -1
- package/dist/components/{p-e677dddf.js → p-f2e153e3.js} +7 -7
- package/dist/esm/{f-button-f1040575.js → f-button-3c8f4506.js} +3 -3
- package/dist/esm/{f-cell-82b9ae70.js → f-cell-6576e009.js} +376 -168
- package/dist/esm/{f-checkbox-3ba20ca4.js → f-checkbox-5cdd1cad.js} +3 -2
- package/dist/esm/{f-chip-f98be128.js → f-chip-bb62428a.js} +145 -11
- package/dist/esm/{f-image-9b15e9ac.js → f-image-a2ecd7c3.js} +1 -1
- package/dist/esm/{f-object-field-1a4f54ea.js → f-object-field-b87b6ae6.js} +13 -6
- package/dist/esm/{f-paginator-utils-2fc5cd18.js → f-paginator-utils-04903d74.js} +15 -6
- package/dist/esm/{f-text-field-e766e681.js → f-text-field-9be88e51.js} +15 -15
- package/dist/esm/{f-typography-65229068.js → f-typography-8c914ec6.js} +1 -1
- package/dist/esm/{index-c9246a86.js → index-9b0f4a0d.js} +8 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-activity-timeline.entry.js +43 -23
- package/dist/esm/{kup-autocomplete_28.entry.js → kup-autocomplete_29.entry.js} +2356 -1469
- package/dist/esm/kup-box.entry.js +60 -59
- package/dist/esm/kup-calendar.entry.js +12 -11
- package/dist/esm/kup-card-list.entry.js +3 -3
- package/dist/esm/kup-cell.entry.js +17 -12
- package/dist/esm/kup-custom-task-list-header_4.entry.js +12 -12
- package/dist/esm/kup-dashboard.entry.js +7 -7
- package/dist/esm/{kup-data-table-helper-e350cc90.js → kup-data-table-helper-13eb7abf.js} +52 -84
- package/dist/esm/kup-drawer.entry.js +3 -3
- package/dist/esm/kup-echart.entry.js +46 -14
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +5 -5
- package/dist/esm/kup-gantt_10.entry.js +33 -33
- package/dist/esm/kup-grid.entry.js +3 -3
- package/dist/esm/kup-htm.entry.js +4 -4
- package/dist/esm/kup-iframe.entry.js +3 -3
- package/dist/esm/kup-image-list.entry.js +25 -21
- package/dist/esm/kup-input-panel.entry.js +102 -73
- package/dist/esm/kup-lazy.entry.js +14 -14
- package/dist/esm/kup-magic-box.entry.js +7 -7
- package/dist/esm/{kup-manager-6c75d73b.js → kup-manager-6aa0a1c7.js} +424 -247
- package/dist/esm/kup-nav-bar.entry.js +4 -4
- package/dist/esm/kup-numeric-picker.entry.js +6 -6
- package/dist/esm/kup-object-field.entry.js +7 -7
- package/dist/esm/kup-pdf.entry.js +4 -4
- package/dist/esm/kup-planner-renderer.entry.js +3 -3
- package/dist/esm/kup-planner.entry.js +6 -6
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +4 -4
- package/dist/esm/kup-snackbar.entry.js +6 -6
- package/dist/esm/kup-txt.entry.js +4 -4
- package/dist/esm/kup-typography-list.entry.js +5 -5
- package/dist/esm/kup-typography.entry.js +115 -15
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/assets/svg/circle.svg +3 -0
- package/dist/ketchup/assets/svg/up.svg +43 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-07f50333.entry.js +1 -0
- package/dist/ketchup/p-0b1e0b48.js +1 -0
- package/dist/ketchup/p-0de49966.entry.js +1 -0
- package/dist/ketchup/{p-93d6f4a9.entry.js → p-100b8ae7.entry.js} +1 -1
- package/dist/ketchup/{p-bc37db5b.entry.js → p-15f192f0.entry.js} +1 -1
- package/dist/ketchup/p-267d1898.js +1 -0
- package/dist/ketchup/p-2d84c26e.entry.js +1 -0
- package/dist/ketchup/p-3cab6420.js +1 -0
- package/dist/ketchup/p-3dbafa20.entry.js +9 -0
- package/dist/ketchup/p-3e42953b.entry.js +1 -0
- package/dist/ketchup/p-42a1f9ec.entry.js +1 -0
- package/dist/ketchup/p-4677cfd1.entry.js +1 -0
- package/dist/ketchup/{p-865ce089.entry.js → p-4ffc1a88.entry.js} +1 -1
- package/dist/ketchup/p-55b0991f.entry.js +1 -0
- package/dist/ketchup/p-58002a23.entry.js +1 -0
- package/dist/ketchup/p-5d9f2d24.entry.js +1 -0
- package/dist/ketchup/p-65b23870.entry.js +1 -0
- package/dist/ketchup/p-6b529a6f.entry.js +16 -0
- package/dist/ketchup/{p-53596bee.entry.js → p-6d628b49.entry.js} +1 -1
- package/dist/ketchup/p-6fc1bb18.entry.js +1 -0
- package/dist/ketchup/{p-b0368f88.js → p-710d0a7d.js} +1 -1
- package/dist/ketchup/p-838d8e97.js +1 -0
- package/dist/ketchup/p-8be42f5c.js +1 -0
- package/dist/ketchup/p-92431583.entry.js +1 -0
- package/dist/ketchup/{p-50b0da0c.entry.js → p-9b907768.entry.js} +1 -1
- package/dist/ketchup/p-9bc02da6.entry.js +1 -0
- package/dist/ketchup/p-9edd90c2.entry.js +1 -0
- package/dist/ketchup/p-9f9428d1.js +1 -0
- package/dist/ketchup/p-a4b6d6c5.js +1 -0
- package/dist/ketchup/p-a597a851.entry.js +1 -0
- package/dist/ketchup/p-b365f2f2.entry.js +1 -0
- package/dist/ketchup/{p-543f99d3.entry.js → p-c2ccbaca.entry.js} +1 -1
- package/dist/ketchup/p-c4224227.js +1 -0
- package/dist/ketchup/{p-60cfddce.js → p-cec0955d.js} +1 -1
- package/dist/ketchup/p-d0554d1f.entry.js +1 -0
- package/dist/ketchup/p-d084b2d4.entry.js +1 -0
- package/dist/ketchup/{p-cdf92c8b.entry.js → p-d8dbf3df.entry.js} +1 -1
- package/dist/ketchup/{p-fe190410.entry.js → p-da44226a.entry.js} +1 -1
- package/dist/ketchup/p-e104cfb7.js +1 -0
- package/dist/ketchup/p-e4fa2cf3.js +21 -0
- package/dist/ketchup/{p-d8ef1613.entry.js → p-e6afa8a6.entry.js} +4 -4
- package/dist/ketchup/{p-54ebe3bd.entry.js → p-f87b7768.entry.js} +1 -1
- package/dist/ketchup/{p-03d1cafc.entry.js → p-f8a027a1.entry.js} +2 -2
- package/dist/ketchup/{p-bdd3e0a4.entry.js → p-fb775526.entry.js} +1 -1
- package/dist/ketchup/{p-2133fdbb.entry.js → p-fdcb43a2.entry.js} +1 -1
- package/dist/types/components/kup-activity-timeline/kup-activity-timeline-declarations.d.ts +2 -2
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +6 -0
- package/dist/types/components/kup-button-list/kup-button-list.d.ts +4 -0
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +2 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +3 -0
- package/dist/types/components/kup-chip/kup-chip.d.ts +16 -5
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +8 -2
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +36 -1
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +1 -0
- package/dist/types/components/kup-dialog/kup-dialog-declarations.d.ts +3 -0
- package/dist/types/components/kup-dialog/kup-dialog.d.ts +16 -0
- package/dist/types/components/kup-echart/kup-echart.d.ts +15 -0
- package/dist/types/components/kup-file-upload/kup-file-upload-declarations.d.ts +8 -0
- package/dist/types/components/kup-file-upload/kup-file-upload.d.ts +62 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-declarations.d.ts +5 -1
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +3 -3
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +2 -1
- package/dist/types/components/kup-list/kup-list.d.ts +4 -0
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +27 -6
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +8 -1
- package/dist/types/components/kup-tree/kup-tree.d.ts +2 -0
- package/dist/types/components/kup-typography/kup-typography.d.ts +30 -5
- package/dist/types/components.d.ts +296 -26
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +7 -3
- package/dist/types/f-components/f-checkbox/f-checkbox-declarations.d.ts +2 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -1
- package/dist/types/f-components/f-label/f-label-declarations.d.ts +15 -0
- package/dist/types/f-components/f-label/f-label.d.ts +3 -0
- package/dist/types/f-components/f-paginator/f-paginator-declarations.d.ts +1 -0
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/managers/kup-interact/kup-interact-declarations.d.ts +20 -1
- package/dist/types/managers/kup-interact/kup-interact.d.ts +7 -3
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +12 -4
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +2 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +2 -0
- package/dist/types/managers/kup-perf-monitoring/kup-perf-monitoring.d.ts +7 -0
- package/dist/types/managers/kup-perf-tuning/kup-perf-tuning-declarations.d.ts +6 -0
- package/dist/types/types/GenericTypes.d.ts +2 -1
- package/dist/types/utils/cell-utils.d.ts +4 -6
- package/dist/types/utils/filters/filters-rows.d.ts +5 -5
- package/dist/types/utils/filters/filters-tree-items.d.ts +1 -1
- package/dist/types/utils/filters/filters.d.ts +4 -2
- package/dist/types/utils/g-cell-style-generator.d.ts +2 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu-declarations.d.ts +1 -3
- package/dist/types/utils/label-utils.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-01015d54.js +0 -38
- package/dist/components/p-304eab56.js +0 -49
- package/dist/components/p-76c4c708.js +0 -56
- package/dist/components/p-aec44f8f.js +0 -45
- package/dist/ketchup/p-1206f77c.entry.js +0 -9
- package/dist/ketchup/p-153b7eda.js +0 -1
- package/dist/ketchup/p-2d3a89a0.entry.js +0 -1
- package/dist/ketchup/p-35e17994.entry.js +0 -1
- package/dist/ketchup/p-3f41285f.entry.js +0 -1
- package/dist/ketchup/p-4bbc1e40.entry.js +0 -1
- package/dist/ketchup/p-4c0d6ec5.entry.js +0 -1
- package/dist/ketchup/p-5ee25762.js +0 -1
- package/dist/ketchup/p-60cdaa75.entry.js +0 -1
- package/dist/ketchup/p-60e8333c.entry.js +0 -1
- package/dist/ketchup/p-7585373e.entry.js +0 -1
- package/dist/ketchup/p-792e9244.entry.js +0 -1
- package/dist/ketchup/p-7a36e244.js +0 -1
- package/dist/ketchup/p-7a4f5182.js +0 -1
- package/dist/ketchup/p-7c078bc1.entry.js +0 -1
- package/dist/ketchup/p-7fbb8a80.entry.js +0 -1
- package/dist/ketchup/p-8b97f53e.js +0 -1
- package/dist/ketchup/p-97fe2d0c.entry.js +0 -1
- package/dist/ketchup/p-9b92dd8f.entry.js +0 -1
- package/dist/ketchup/p-a781d278.entry.js +0 -1
- package/dist/ketchup/p-b120abd7.js +0 -1
- package/dist/ketchup/p-c5614700.js +0 -21
- package/dist/ketchup/p-ce31744e.entry.js +0 -1
- package/dist/ketchup/p-d104a456.js +0 -1
- package/dist/ketchup/p-d39c3267.js +0 -1
- package/dist/ketchup/p-e7f6ca6c.entry.js +0 -1
- package/dist/ketchup/p-eb908331.entry.js +0 -1
- package/dist/ketchup/p-f38c2d0e.entry.js +0 -16
- package/dist/ketchup/p-f648a3cb.entry.js +0 -1
- package/dist/ketchup/p-f8c8cc84.js +0 -1
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f)
|
|
3
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
5
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var _KupFileUpload_instances, _KupFileUpload_kupManager, _KupFileUpload_previewMap, _KupFileUpload_handleClick, _KupFileUpload_handleFileChange, _KupFileUpload_handleFileRemove, _KupFileUpload_handleDrop, _KupFileUpload_handleCancel, _KupFileUpload_getPreview, _KupFileUpload_trimFileName, _KupFileUpload_uploadClick;
|
|
9
|
+
import { forceUpdate, Host, h, } from "@stencil/core";
|
|
10
|
+
import { kupManagerInstance } from "../../managers/kup-manager/kup-manager";
|
|
11
|
+
import { getProps, setProps } from "../../utils/utils";
|
|
12
|
+
import { KupFileUploadProps, } from "./kup-file-upload-declarations";
|
|
13
|
+
import { componentWrapperId } from "../../variables/GenericVariables";
|
|
14
|
+
import { FButton } from "../../f-components/f-button/f-button";
|
|
15
|
+
import { KupLanguageGeneric, KupLanguageUpload, } from "../../managers/kup-language/kup-language-declarations";
|
|
16
|
+
import { FButtonStyling } from "../../f-components/f-button/f-button-declarations";
|
|
17
|
+
import { FImage } from "../../f-components/f-image/f-image";
|
|
18
|
+
export class KupFileUpload {
|
|
19
|
+
constructor() {
|
|
20
|
+
_KupFileUpload_instances.add(this);
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region VARIABLES
|
|
23
|
+
/*-------------------------------------------------*/
|
|
24
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
25
|
+
/*-------------------------------------------------*/
|
|
26
|
+
_KupFileUpload_kupManager.set(this, kupManagerInstance());
|
|
27
|
+
_KupFileUpload_previewMap.set(this, new Map([
|
|
28
|
+
['application/pdf', 'file-pdf'],
|
|
29
|
+
['application/vnd.ms-excel', 'file-excel'],
|
|
30
|
+
[
|
|
31
|
+
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
32
|
+
'file-excel',
|
|
33
|
+
],
|
|
34
|
+
['application/msword', 'file-word'],
|
|
35
|
+
[
|
|
36
|
+
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
37
|
+
'file-word',
|
|
38
|
+
],
|
|
39
|
+
]));
|
|
40
|
+
this.customStyle = '';
|
|
41
|
+
this.data = null;
|
|
42
|
+
this.inputRef = undefined;
|
|
43
|
+
this.files = [];
|
|
44
|
+
this.uploadSuccess = false;
|
|
45
|
+
this.showSpinner = false;
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region WATCHERS
|
|
49
|
+
/*-------------------------------------------------*/
|
|
50
|
+
/* W a t c h e r s */
|
|
51
|
+
/*-------------------------------------------------*/
|
|
52
|
+
onDataChanged() { }
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region PUBLIC METHODS
|
|
55
|
+
/*-------------------------------------------------*/
|
|
56
|
+
/* P u b l i c M e t h o d s */
|
|
57
|
+
/*-------------------------------------------------*/
|
|
58
|
+
/**
|
|
59
|
+
* Used to retrieve component's props values.
|
|
60
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
61
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
62
|
+
*/
|
|
63
|
+
async getProps(descriptions) {
|
|
64
|
+
return getProps(this, KupFileUploadProps, descriptions);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* This method is used to trigger a new render of the component.
|
|
68
|
+
*/
|
|
69
|
+
async refresh() {
|
|
70
|
+
forceUpdate(this);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Sets the props to the component.
|
|
74
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
75
|
+
*/
|
|
76
|
+
async setProps(props) {
|
|
77
|
+
setProps(this, KupFileUploadProps, props);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Sets upload has been successfull to show success message.
|
|
81
|
+
* @param {boolean} success - Boolean to set if upload has been successfull.
|
|
82
|
+
*/
|
|
83
|
+
async setSuccess(success) {
|
|
84
|
+
this.setLoading(false);
|
|
85
|
+
if (success) {
|
|
86
|
+
__classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).call(this);
|
|
87
|
+
this.uploadSuccess = success;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Sets to show spinner during upload.
|
|
92
|
+
* @param {boolean} loading - Boolean to set if is loading.
|
|
93
|
+
*/
|
|
94
|
+
async setLoading(loading) {
|
|
95
|
+
this.showSpinner = loading;
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region LIFECYCLE HOOKS
|
|
99
|
+
/*-------------------------------------------------*/
|
|
100
|
+
/* L i f e c y c l e H o o k s */
|
|
101
|
+
/*-------------------------------------------------*/
|
|
102
|
+
componentWillLoad() {
|
|
103
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, false);
|
|
104
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.register(this);
|
|
105
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.register(this);
|
|
106
|
+
}
|
|
107
|
+
componentDidLoad() {
|
|
108
|
+
this.kupReady.emit({ comp: this, id: this.rootElement.id });
|
|
109
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logLoad(this, true);
|
|
110
|
+
}
|
|
111
|
+
componentWillRender() {
|
|
112
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logRender(this, false);
|
|
113
|
+
}
|
|
114
|
+
componentDidRender() {
|
|
115
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").debug.logRender(this, true);
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
return (h(Host, { key: 'e143d3c489688e407f713b20c5ae427797141bc6' }, h("style", { key: '99f08c09b494f7e16ef281f954714eff1182ae1f' }, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '7d5a7b4fbe15ce43bea1a957efbf6314ea65c6c6', id: componentWrapperId }, h("div", { key: 'eababb5992fd22bcd6b1d036dc058eaf30554613', class: {
|
|
119
|
+
'file-upload': true,
|
|
120
|
+
'file-upload-spinner': this.showSpinner,
|
|
121
|
+
}, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragOver: (event) => event.preventDefault() }, h("input", { key: '9f326f25f1976b64caac0bf0bb7c6390519df02d', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: true, hidden: true }), h("div", { key: '470189c4ff4e0376b0b46104e7b0748e09f2a52f', class: "file-upload__buttons" }, h(FButton, { key: 'c7b8810f0c783cdbe16c9f10cd569717de360602', icon: "upload", label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), h(FButton, { key: 'b0c4678d433916abfe9265760c2133f337e9c536', icon: "save", disabled: !this.files.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: '34205b6c5db56c861be73aa7471ba886884f0009', icon: "clear", disabled: !this.files.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })), this.uploadSuccess ? (h("span", null, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageUpload.SUCCESS))) : (h("div", { class: "file-upload__list" }, this.files.map((file, i) => (h("div", { class: "file-upload__list__item" }, h("div", { class: "file-upload__list__item__preview" }, h(FImage, { resource: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file) })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) })))))), this.showSpinner && (h("div", { key: 'fbbce7bf09bbdfa87d395773f3eaa1d39b995171', class: "file-upload__spinner-container" }, h("kup-spinner", { key: '2fb0b8832149034fd650d52aeddfc0e478ebadc0', active: true, layout: 14, dimensions: "7px" })))))));
|
|
122
|
+
}
|
|
123
|
+
disconnectedCallback() {
|
|
124
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.unregister(this);
|
|
125
|
+
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.unregister(this);
|
|
126
|
+
}
|
|
127
|
+
static get is() { return "kup-file-upload"; }
|
|
128
|
+
static get encapsulation() { return "shadow"; }
|
|
129
|
+
static get originalStyleUrls() {
|
|
130
|
+
return {
|
|
131
|
+
"$": ["kup-file-upload.scss"]
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
static get styleUrls() {
|
|
135
|
+
return {
|
|
136
|
+
"$": ["kup-file-upload.css"]
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
static get properties() {
|
|
140
|
+
return {
|
|
141
|
+
"customStyle": {
|
|
142
|
+
"type": "string",
|
|
143
|
+
"mutable": false,
|
|
144
|
+
"complexType": {
|
|
145
|
+
"original": "string",
|
|
146
|
+
"resolved": "string",
|
|
147
|
+
"references": {}
|
|
148
|
+
},
|
|
149
|
+
"required": false,
|
|
150
|
+
"optional": false,
|
|
151
|
+
"docs": {
|
|
152
|
+
"tags": [{
|
|
153
|
+
"name": "default",
|
|
154
|
+
"text": "\"\""
|
|
155
|
+
}, {
|
|
156
|
+
"name": "see",
|
|
157
|
+
"text": "https://smeup.github.io/ketchup/#/customization"
|
|
158
|
+
}],
|
|
159
|
+
"text": "Custom style of the component."
|
|
160
|
+
},
|
|
161
|
+
"attribute": "custom-style",
|
|
162
|
+
"reflect": false,
|
|
163
|
+
"defaultValue": "''"
|
|
164
|
+
},
|
|
165
|
+
"data": {
|
|
166
|
+
"type": "any",
|
|
167
|
+
"mutable": false,
|
|
168
|
+
"complexType": {
|
|
169
|
+
"original": "any",
|
|
170
|
+
"resolved": "any",
|
|
171
|
+
"references": {}
|
|
172
|
+
},
|
|
173
|
+
"required": false,
|
|
174
|
+
"optional": false,
|
|
175
|
+
"docs": {
|
|
176
|
+
"tags": [{
|
|
177
|
+
"name": "default",
|
|
178
|
+
"text": "null"
|
|
179
|
+
}],
|
|
180
|
+
"text": "Actual data of the input field."
|
|
181
|
+
},
|
|
182
|
+
"attribute": "data",
|
|
183
|
+
"reflect": false,
|
|
184
|
+
"defaultValue": "null"
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
static get states() {
|
|
189
|
+
return {
|
|
190
|
+
"inputRef": {},
|
|
191
|
+
"files": {},
|
|
192
|
+
"uploadSuccess": {},
|
|
193
|
+
"showSpinner": {}
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
static get events() {
|
|
197
|
+
return [{
|
|
198
|
+
"method": "kupReady",
|
|
199
|
+
"name": "kup-file-upload-ready",
|
|
200
|
+
"bubbles": true,
|
|
201
|
+
"cancelable": false,
|
|
202
|
+
"composed": true,
|
|
203
|
+
"docs": {
|
|
204
|
+
"tags": [],
|
|
205
|
+
"text": "When component load is complete"
|
|
206
|
+
},
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "KupEventPayload",
|
|
209
|
+
"resolved": "KupEventPayload",
|
|
210
|
+
"references": {
|
|
211
|
+
"KupEventPayload": {
|
|
212
|
+
"location": "import",
|
|
213
|
+
"path": "../../types/GenericTypes",
|
|
214
|
+
"id": "src/types/GenericTypes.ts::KupEventPayload"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}, {
|
|
219
|
+
"method": "kupUpload",
|
|
220
|
+
"name": "kup-file-upload-upload",
|
|
221
|
+
"bubbles": true,
|
|
222
|
+
"cancelable": false,
|
|
223
|
+
"composed": true,
|
|
224
|
+
"docs": {
|
|
225
|
+
"tags": [],
|
|
226
|
+
"text": ""
|
|
227
|
+
},
|
|
228
|
+
"complexType": {
|
|
229
|
+
"original": "KupFileUploadEventPayload",
|
|
230
|
+
"resolved": "KupFileUploadEventPayload",
|
|
231
|
+
"references": {
|
|
232
|
+
"KupFileUploadEventPayload": {
|
|
233
|
+
"location": "import",
|
|
234
|
+
"path": "./kup-file-upload-declarations",
|
|
235
|
+
"id": "src/components/kup-file-upload/kup-file-upload-declarations.ts::KupFileUploadEventPayload"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}];
|
|
240
|
+
}
|
|
241
|
+
static get methods() {
|
|
242
|
+
return {
|
|
243
|
+
"getProps": {
|
|
244
|
+
"complexType": {
|
|
245
|
+
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
246
|
+
"parameters": [{
|
|
247
|
+
"name": "descriptions",
|
|
248
|
+
"type": "boolean",
|
|
249
|
+
"docs": "- When provided and true, the result will be the list of props with their description."
|
|
250
|
+
}],
|
|
251
|
+
"references": {
|
|
252
|
+
"Promise": {
|
|
253
|
+
"location": "global",
|
|
254
|
+
"id": "global::Promise"
|
|
255
|
+
},
|
|
256
|
+
"GenericObject": {
|
|
257
|
+
"location": "import",
|
|
258
|
+
"path": "../../types/GenericTypes",
|
|
259
|
+
"id": "src/types/GenericTypes.ts::GenericObject"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"return": "Promise<GenericObject>"
|
|
263
|
+
},
|
|
264
|
+
"docs": {
|
|
265
|
+
"text": "Used to retrieve component's props values.",
|
|
266
|
+
"tags": [{
|
|
267
|
+
"name": "param",
|
|
268
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
269
|
+
}, {
|
|
270
|
+
"name": "returns",
|
|
271
|
+
"text": "List of props as object, each key will be a prop."
|
|
272
|
+
}]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"refresh": {
|
|
276
|
+
"complexType": {
|
|
277
|
+
"signature": "() => Promise<void>",
|
|
278
|
+
"parameters": [],
|
|
279
|
+
"references": {
|
|
280
|
+
"Promise": {
|
|
281
|
+
"location": "global",
|
|
282
|
+
"id": "global::Promise"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"return": "Promise<void>"
|
|
286
|
+
},
|
|
287
|
+
"docs": {
|
|
288
|
+
"text": "This method is used to trigger a new render of the component.",
|
|
289
|
+
"tags": []
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"setProps": {
|
|
293
|
+
"complexType": {
|
|
294
|
+
"signature": "(props: GenericObject) => Promise<void>",
|
|
295
|
+
"parameters": [{
|
|
296
|
+
"name": "props",
|
|
297
|
+
"type": "GenericObject",
|
|
298
|
+
"docs": "- Object containing props that will be set to the component."
|
|
299
|
+
}],
|
|
300
|
+
"references": {
|
|
301
|
+
"Promise": {
|
|
302
|
+
"location": "global",
|
|
303
|
+
"id": "global::Promise"
|
|
304
|
+
},
|
|
305
|
+
"GenericObject": {
|
|
306
|
+
"location": "import",
|
|
307
|
+
"path": "../../types/GenericTypes",
|
|
308
|
+
"id": "src/types/GenericTypes.ts::GenericObject"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
"return": "Promise<void>"
|
|
312
|
+
},
|
|
313
|
+
"docs": {
|
|
314
|
+
"text": "Sets the props to the component.",
|
|
315
|
+
"tags": [{
|
|
316
|
+
"name": "param",
|
|
317
|
+
"text": "props - Object containing props that will be set to the component."
|
|
318
|
+
}]
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"setSuccess": {
|
|
322
|
+
"complexType": {
|
|
323
|
+
"signature": "(success: boolean) => Promise<void>",
|
|
324
|
+
"parameters": [{
|
|
325
|
+
"name": "success",
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"docs": "- Boolean to set if upload has been successfull."
|
|
328
|
+
}],
|
|
329
|
+
"references": {
|
|
330
|
+
"Promise": {
|
|
331
|
+
"location": "global",
|
|
332
|
+
"id": "global::Promise"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"return": "Promise<void>"
|
|
336
|
+
},
|
|
337
|
+
"docs": {
|
|
338
|
+
"text": "Sets upload has been successfull to show success message.",
|
|
339
|
+
"tags": [{
|
|
340
|
+
"name": "param",
|
|
341
|
+
"text": "success - Boolean to set if upload has been successfull."
|
|
342
|
+
}]
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"setLoading": {
|
|
346
|
+
"complexType": {
|
|
347
|
+
"signature": "(loading: boolean) => Promise<void>",
|
|
348
|
+
"parameters": [{
|
|
349
|
+
"name": "loading",
|
|
350
|
+
"type": "boolean",
|
|
351
|
+
"docs": "- Boolean to set if is loading."
|
|
352
|
+
}],
|
|
353
|
+
"references": {
|
|
354
|
+
"Promise": {
|
|
355
|
+
"location": "global",
|
|
356
|
+
"id": "global::Promise"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"return": "Promise<void>"
|
|
360
|
+
},
|
|
361
|
+
"docs": {
|
|
362
|
+
"text": "Sets to show spinner during upload.",
|
|
363
|
+
"tags": [{
|
|
364
|
+
"name": "param",
|
|
365
|
+
"text": "loading - Boolean to set if is loading."
|
|
366
|
+
}]
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
static get elementRef() { return "rootElement"; }
|
|
372
|
+
static get watchers() {
|
|
373
|
+
return [{
|
|
374
|
+
"propName": "data",
|
|
375
|
+
"methodName": "onDataChanged"
|
|
376
|
+
}];
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
_KupFileUpload_kupManager = new WeakMap(), _KupFileUpload_previewMap = new WeakMap(), _KupFileUpload_instances = new WeakSet(), _KupFileUpload_handleClick = function _KupFileUpload_handleClick() {
|
|
380
|
+
this.inputRef.click();
|
|
381
|
+
}, _KupFileUpload_handleFileChange = function _KupFileUpload_handleFileChange(event) {
|
|
382
|
+
this.uploadSuccess = false;
|
|
383
|
+
const newFiles = Array.from(event.target.files);
|
|
384
|
+
this.files = [...this.files, ...newFiles];
|
|
385
|
+
}, _KupFileUpload_handleFileRemove = function _KupFileUpload_handleFileRemove(index) {
|
|
386
|
+
this.files = [
|
|
387
|
+
...this.files.splice(0, index),
|
|
388
|
+
...this.files.splice(index + 1),
|
|
389
|
+
];
|
|
390
|
+
}, _KupFileUpload_handleDrop = function _KupFileUpload_handleDrop(event) {
|
|
391
|
+
event.preventDefault();
|
|
392
|
+
this.uploadSuccess = false;
|
|
393
|
+
const droppedFiles = event.dataTransfer.files;
|
|
394
|
+
if (droppedFiles.length > 0) {
|
|
395
|
+
const newFiles = Array.from(droppedFiles);
|
|
396
|
+
this.files = [...this.files, ...newFiles];
|
|
397
|
+
}
|
|
398
|
+
}, _KupFileUpload_handleCancel = function _KupFileUpload_handleCancel() {
|
|
399
|
+
this.files = [];
|
|
400
|
+
}, _KupFileUpload_getPreview = function _KupFileUpload_getPreview(file) {
|
|
401
|
+
const previewIcon = __classPrivateFieldGet(this, _KupFileUpload_previewMap, "f").get(file.type);
|
|
402
|
+
if (!previewIcon) {
|
|
403
|
+
if (/^image\/.*/g.test(file.type)) {
|
|
404
|
+
return URL.createObjectURL(file);
|
|
405
|
+
}
|
|
406
|
+
if (/^video\/.*/g.test(file.type)) {
|
|
407
|
+
return 'video';
|
|
408
|
+
}
|
|
409
|
+
return 'file';
|
|
410
|
+
}
|
|
411
|
+
return previewIcon;
|
|
412
|
+
}, _KupFileUpload_trimFileName = function _KupFileUpload_trimFileName(fileName) {
|
|
413
|
+
return (fileName === null || fileName === void 0 ? void 0 : fileName.length) > 20
|
|
414
|
+
? fileName.slice(0, 9) + '...' + fileName.slice(-10)
|
|
415
|
+
: fileName;
|
|
416
|
+
}, _KupFileUpload_uploadClick = function _KupFileUpload_uploadClick(e) {
|
|
417
|
+
e.stopPropagation();
|
|
418
|
+
this.kupUpload.emit({
|
|
419
|
+
comp: this,
|
|
420
|
+
id: this.rootElement.id,
|
|
421
|
+
files: this.files,
|
|
422
|
+
});
|
|
423
|
+
this.setLoading(true);
|
|
424
|
+
};
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -408,7 +408,7 @@ export class KupForm {
|
|
|
408
408
|
render() {
|
|
409
409
|
let formContent = null;
|
|
410
410
|
if (this.data.rows.length === 0) {
|
|
411
|
-
formContent = (h("p", { key: '
|
|
411
|
+
formContent = (h("p", { key: '07600a04c3f15543fc67c6524d273bcbfbdae951' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
414
414
|
const rows = this.data.rows;
|
|
@@ -419,7 +419,7 @@ export class KupForm {
|
|
|
419
419
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
return (h(Host, { key: '
|
|
422
|
+
return (h(Host, { key: '68a9e2e5b9c07904b53b265235b6c2b4fe9590e5' }, h("style", { key: '16282a283ab8f5a848c5675b0b27f2437b57f542' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b37f1997e8891928f5a3d765b90bcc82c965aeb2', id: componentWrapperId }, formContent)));
|
|
423
423
|
}
|
|
424
424
|
disconnectedCallback() {
|
|
425
425
|
this.kupManager.language.unregister(this);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -69,7 +69,7 @@ export class KupHTM {
|
|
|
69
69
|
render() {
|
|
70
70
|
var _a;
|
|
71
71
|
const isLink = __classPrivateFieldGet(this, _KupHTM_instances, "m", _KupHTM_isObjectCompatibleWithHTM).call(this, (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a.obj);
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '5a79767bda05f81fbfa3b44c06592ce9d338c859' }, h("style", { key: '4977d1d9a029a0669695ac206ecbd306b467cf21' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'f8e7cdc3e1992853c090f3204fed1a0de76b904b', id: componentWrapperId }, h("div", { key: '0c6724dc5d6c2b8f53ca7573424aab59adbcf6a4', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("a", { href: this.data.value, target: "_blank", rel: "noopener noreferrer" }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB)), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
|
|
73
73
|
}
|
|
74
74
|
disconnectedCallback() {
|
|
75
75
|
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
3
|
+
<svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
4
|
+
viewBox="0 0 256 256" style="enable-background:new 0 0 256 256;" xml:space="preserve">
|
|
5
|
+
<style type="text/css">
|
|
6
|
+
.st0{opacity:0.2;fill:#727272;enable-background:new ;}
|
|
7
|
+
.st1{fill:none;}
|
|
8
|
+
.st2{clip-path:url(#SVGID_2_);}
|
|
9
|
+
.st3{clip-path:url(#SVGID_4_);fill:#747474;}
|
|
10
|
+
</style>
|
|
11
|
+
<rect x="0" y="-0.1" class="st0" width="255.8" height="255.9"/>
|
|
12
|
+
<path class="st1" d="M58.8,60.1h134.7v134.7H58.8V60.1z"/>
|
|
13
|
+
<g id="Disegno_10_1_">
|
|
14
|
+
<g>
|
|
15
|
+
<defs>
|
|
16
|
+
<rect id="SVGID_1_" x="69.4" y="69.4" width="117.2" height="117.2"/>
|
|
17
|
+
</defs>
|
|
18
|
+
<clipPath id="SVGID_2_">
|
|
19
|
+
<use xlink:href="#SVGID_1_" style="overflow:visible;"/>
|
|
20
|
+
</clipPath>
|
|
21
|
+
<g class="st2">
|
|
22
|
+
<defs>
|
|
23
|
+
<rect id="SVGID_3_" x="69.4" y="69.4" width="117.2" height="117.2"/>
|
|
24
|
+
</defs>
|
|
25
|
+
<clipPath id="SVGID_4_">
|
|
26
|
+
<use xlink:href="#SVGID_3_" style="overflow:visible;"/>
|
|
27
|
+
</clipPath>
|
|
28
|
+
<path class="st3" d="M176.6,69.4H79.4c0,0-9.9,0-9.9,10.8v95.5c0,0,0,10.8,9.9,10.8h97.3c0,0,9.9,0,9.9-10.8V80.3
|
|
29
|
+
C186.6,80.3,186.6,69.4,176.6,69.4 M120.8,140.5c0,1.4-0.2,2.6-0.6,3.4c-0.4,0.9-1.3,1.7-2.7,2.5c-1.6,0.9-3.7,1.7-6.5,2.5
|
|
30
|
+
c-2.8,0.8-6.1,1.2-9.9,1.2c-6.8,0-12-1.5-15.6-4.5c-3.6-3-5.4-7.7-5.4-14.1v-29.6c0.3-0.1,0.9-0.3,1.6-0.5
|
|
31
|
+
c0.7-0.2,1.5-0.3,2.3-0.3c2.8,0,4.3,1.3,4.3,3.8v26.2c0,4.4,1.2,7.6,3.5,9.4c2.3,1.9,5.5,2.8,9.6,2.8c2.7,0,5-0.3,6.9-0.9
|
|
32
|
+
c1.9-0.6,3.4-1.2,4.5-1.8v-38.8c0.3-0.1,0.9-0.3,1.6-0.5c0.7-0.2,1.4-0.3,2.2-0.3c2.9,0,4.4,1.3,4.4,3.8V140.5z M174,136.3
|
|
33
|
+
c-1.1,3.1-2.7,5.7-4.7,7.8c-2,2.1-4.5,3.6-7.3,4.6c-2.8,1-5.9,1.5-9.2,1.5c-2.4,0-4.6-0.3-6.7-0.8c-2.1-0.5-3.8-1.2-5.2-1.9v19.8
|
|
34
|
+
c-0.3,0.1-0.8,0.3-1.5,0.5c-0.7,0.2-1.4,0.3-2.2,0.3c-2.9,0-4.4-1.3-4.4-3.8v-53.8c0-1.4,0.2-2.4,0.7-3.3c0.5-0.8,1.5-1.7,3-2.5
|
|
35
|
+
c1.8-1,4-2,6.6-2.8c2.5-0.8,5.4-1.3,8.7-1.3c3.3,0,6.5,0.5,9.4,1.4c3,1,5.5,2.4,7.6,4.4c2.1,2,3.8,4.6,5.1,7.7
|
|
36
|
+
c1.3,3.1,1.9,6.9,1.9,11.2C175.7,129.5,175.1,133.1,174,136.3"/>
|
|
37
|
+
<path class="st3" d="M162.7,111.2c-1.5-1.4-3.1-2.4-5-3.1c-1.9-0.6-3.9-0.9-6-0.9c-2.4,0-4.5,0.3-6.2,0.9c-1.7,0.6-3.2,1.3-4.6,2
|
|
38
|
+
v30c1.3,1,2.8,1.7,4.6,2.3c1.8,0.6,3.8,0.9,6.2,0.9c4.8,0,8.6-1.4,11.5-4.3c2.9-2.9,4.3-7.5,4.3-13.9c0-3.3-0.4-6.1-1.3-8.5
|
|
39
|
+
C165.3,114.5,164.2,112.6,162.7,111.2"/>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
</g>
|
|
43
|
+
</svg>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
.kup-label-01 {
|
|
26
26
|
font-family: var(--kup-font-family);
|
|
27
|
-
font-size: 12px;
|
|
27
|
+
font-size: var(--kup-label-01-font-size, 12px);
|
|
28
28
|
line-height: 16px;
|
|
29
29
|
font-weight: 400;
|
|
30
30
|
letter-spacing: 0.32px;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
.kup-heading-compact-01 {
|
|
58
58
|
font-family: var(--kup-font-family);
|
|
59
|
-
font-size: 14px;
|
|
59
|
+
font-size: var(--kup-heading-compact-01-font-size, 14px);
|
|
60
60
|
line-height: 18px;
|
|
61
61
|
font-weight: 600;
|
|
62
62
|
letter-spacing: 0.16px;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.kup-heading-01 {
|
|
66
66
|
font-family: var(--kup-font-family);
|
|
67
|
-
font-size: 14px;
|
|
67
|
+
font-size: var(--kup-heading-01-font-size, 14px);
|
|
68
68
|
line-height: 20px;
|
|
69
69
|
font-weight: 600;
|
|
70
70
|
letter-spacing: 0.16px;
|