@sme.up/ketchup 4.0.0 → 4.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/README.md +3 -3
- package/dist/cjs/cell-utils-dc0884a3.js +168 -0
- package/dist/cjs/f-button-2ba74fb5.js +105 -0
- package/dist/cjs/f-cell-fe60a08d.js +731 -0
- package/dist/cjs/f-chip-90d95d22.js +141 -0
- package/dist/cjs/{f-image-5f4f29ca.js → f-image-d3bd4e08.js} +4 -5
- package/dist/cjs/{index-3c471303.js → index-0416afab.js} +73 -64
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -8
- package/dist/cjs/{kup-autocomplete_29.cjs.entry.js → kup-autocomplete_28.cjs.entry.js} +2580 -3060
- package/dist/cjs/kup-calendar.cjs.entry.js +30 -30
- package/dist/cjs/kup-cell.cjs.entry.js +201 -0
- package/dist/cjs/kup-dash-list.cjs.entry.js +15 -7
- package/dist/cjs/kup-dash_2.cjs.entry.js +104 -62
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -6
- package/dist/cjs/kup-field.cjs.entry.js +3 -5
- package/dist/cjs/kup-iframe.cjs.entry.js +3 -4
- package/dist/cjs/kup-lazy.cjs.entry.js +4 -6
- package/dist/cjs/kup-magic-box.cjs.entry.js +21 -31
- package/dist/cjs/kup-manager-1a2688ca.js +5813 -0
- package/dist/cjs/kup-nav-bar.cjs.entry.js +4 -6
- package/dist/cjs/kup-probe.cjs.entry.js +3 -4
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +152 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-2af73538.js → utils-0cc466b9.js} +17 -83
- package/dist/collection/assets/cell.js +51 -0
- package/dist/collection/assets/data-table.js +518 -1
- package/dist/collection/assets/index.js +8 -0
- package/dist/collection/assets/snackbar.js +32 -0
- package/dist/collection/collection-manifest.json +6 -6
- package/dist/collection/components/kup-accordion/kup-accordion.css +0 -213
- package/dist/collection/components/kup-accordion/kup-accordion.js +15 -16
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.css +5 -2381
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +83 -111
- package/dist/collection/components/kup-badge/kup-badge.css +1 -35
- package/dist/collection/components/kup-badge/kup-badge.js +13 -14
- package/dist/collection/components/kup-box/kup-box.css +47 -780
- package/dist/collection/components/kup-box/kup-box.js +240 -366
- package/dist/collection/components/kup-button/kup-button.css +0 -333
- package/dist/collection/components/kup-button/kup-button.js +27 -28
- package/dist/collection/components/kup-button-list/kup-button-list.css +0 -332
- package/dist/collection/components/kup-button-list/kup-button-list.js +19 -20
- package/dist/collection/components/kup-calendar/kup-calendar.css +0 -517
- package/dist/collection/components/kup-calendar/kup-calendar.js +47 -45
- package/dist/collection/components/kup-card/builtin/kup-card-builtin.js +20 -0
- package/dist/collection/components/kup-card/builtin/kup-card-calendar.js +458 -0
- package/dist/collection/components/kup-card/builtin/kup-card-clock.js +321 -0
- package/dist/collection/components/kup-card/dialog/kup-card-dialog.js +18 -0
- package/dist/collection/components/kup-card/free/kup-card-free.js +13 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +19 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +19 -1
- package/dist/collection/components/kup-card/kup-card.css +615 -185
- package/dist/collection/components/kup-card/kup-card.js +94 -34
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +75 -0
- package/dist/collection/components/kup-cell/kup-cell-declarations.js +11 -0
- package/dist/collection/components/kup-cell/kup-cell.css +20 -0
- package/dist/collection/components/kup-cell/kup-cell.js +413 -0
- package/dist/collection/components/kup-chart/kup-chart.js +41 -42
- package/dist/collection/components/kup-checkbox/kup-checkbox.css +0 -214
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +19 -20
- package/dist/collection/components/kup-chip/kup-chip.css +0 -217
- package/dist/collection/components/kup-chip/kup-chip.js +15 -16
- package/dist/collection/components/kup-color-picker/kup-color-picker.css +7 -2380
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +41 -41
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.css +5 -2381
- package/dist/collection/components/kup-combobox/kup-combobox.js +68 -28
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +13 -4
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +61 -102
- package/dist/collection/components/kup-data-table/kup-data-table.css +118 -3232
- package/dist/collection/components/kup-data-table/kup-data-table.js +589 -1089
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +1 -85
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +92 -395
- package/dist/collection/components/kup-drawer/kup-drawer.js +9 -10
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.css +12 -340
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +56 -45
- package/dist/collection/components/kup-field/kup-field.js +21 -22
- package/dist/collection/components/kup-gauge/kup-gauge.js +17 -18
- package/dist/collection/components/kup-grid/kup-grid.css +2 -1
- package/dist/collection/components/kup-grid/kup-grid.js +13 -14
- package/dist/collection/components/kup-iframe/kup-iframe.js +4 -4
- package/dist/collection/components/kup-image/assets/svg/ketchup.svg +74 -0
- package/dist/collection/components/kup-image/assets/svg/smeup.svg +59 -0
- package/dist/collection/components/kup-image/kup-image.css +0 -32
- package/dist/collection/components/kup-image/kup-image.js +25 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +17 -18
- package/dist/collection/components/kup-list/kup-list-declarations.js +1 -1
- package/dist/collection/components/kup-list/kup-list.css +4 -260
- package/dist/collection/components/kup-list/kup-list.js +39 -49
- package/dist/collection/components/kup-magic-box/kup-magic-box.css +13 -39
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +29 -38
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +11 -12
- package/dist/collection/components/kup-paginator/kup-paginator.css +0 -332
- package/dist/collection/components/kup-paginator/kup-paginator.js +44 -12
- package/dist/collection/components/kup-probe/kup-probe.js +9 -9
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +21 -22
- package/dist/collection/components/kup-radio/kup-radio.js +17 -18
- package/dist/collection/components/kup-rating/kup-rating.js +15 -16
- package/dist/collection/components/kup-snackbar/kup-snackbar-declarations.js +13 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +75 -0
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +390 -0
- package/dist/collection/components/kup-spinner/kup-spinner.js +23 -24
- package/dist/collection/components/kup-switch/kup-switch.css +0 -156
- package/dist/collection/components/kup-switch/kup-switch.js +17 -18
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.css +0 -199
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +13 -14
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +1 -0
- package/dist/collection/components/kup-text-field/kup-text-field.css +4 -2371
- package/dist/collection/components/kup-text-field/kup-text-field.js +77 -51
- package/dist/collection/components/kup-time-picker/kup-time-picker.css +7 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +97 -317
- package/dist/collection/components/kup-tooltip/kup-tooltip.js +24 -14
- package/dist/collection/components/kup-tree/kup-tree.css +27 -371
- package/dist/collection/components/kup-tree/kup-tree.js +163 -383
- package/dist/collection/f-components/f-button/f-button.js +4 -2
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +143 -0
- package/dist/collection/f-components/f-cell/f-cell.js +471 -0
- package/dist/collection/f-components/f-checkbox/f-checkbox.js +1 -1
- package/dist/collection/f-components/f-chip/f-chip.js +2 -2
- package/dist/collection/f-components/f-image/f-image.js +2 -3
- package/dist/collection/f-components/f-switch/f-switch.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field-mdc.js +1 -1
- package/dist/collection/f-components/f-text-field/f-text-field.js +25 -21
- package/dist/collection/utils/cell-utils.js +18 -222
- package/dist/collection/utils/filters/filters.js +31 -37
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +15 -3
- package/dist/collection/utils/kup-dates/kup-dates.js +14 -2
- package/dist/collection/utils/kup-debug/kup-debug-browser-utils.js +3 -3
- package/dist/collection/utils/kup-debug/kup-debug.js +57 -29
- package/dist/collection/utils/kup-dynamic-position/kup-dynamic-position.js +5 -7
- package/dist/collection/utils/kup-interact/kup-interact-declarations.js +48 -0
- package/dist/collection/utils/kup-interact/kup-interact.js +379 -0
- package/dist/collection/utils/kup-language/kup-language-declarations.js +2 -0
- package/dist/collection/utils/kup-language/kup-language.js +1 -1
- package/dist/collection/utils/kup-manager/kup-manager.js +47 -10
- package/dist/collection/utils/kup-objects/kup-objects.js +9 -33
- package/dist/collection/utils/kup-scroll-on-hover/kup-scroll-on-hover.js +60 -62
- package/dist/collection/utils/kup-search/kup-search-declarations.js +1 -0
- package/dist/collection/utils/kup-search/kup-search.js +75 -0
- package/dist/collection/utils/kup-theme/kup-theme-declarations.js +1 -0
- package/dist/collection/utils/kup-theme/kup-theme.js +4 -3
- package/dist/collection/utils/kup-toolbar/kup-toolbar.js +16 -18
- package/dist/collection/utils/utils.js +15 -23
- package/dist/esm/cell-utils-8f512ea9.js +160 -0
- package/dist/esm/f-button-30dbcaa9.js +103 -0
- package/dist/esm/f-cell-95c186c6.js +727 -0
- package/dist/esm/f-chip-c0e9c0ff.js +139 -0
- package/dist/esm/{f-image-68b34fab.js → f-image-3bc8b24f.js} +4 -5
- package/dist/esm/{index-bf2824a6.js → index-e0e67c23.js} +74 -65
- package/dist/esm/ketchup.js +3 -3
- package/dist/esm/kup-accordion.entry.js +6 -8
- package/dist/esm/{kup-autocomplete_29.entry.js → kup-autocomplete_28.entry.js} +2379 -2858
- package/dist/esm/kup-calendar.entry.js +10 -10
- package/dist/esm/kup-cell.entry.js +197 -0
- package/dist/esm/kup-dash-list.entry.js +15 -7
- package/dist/esm/kup-dash_2.entry.js +104 -62
- package/dist/esm/kup-drawer.entry.js +4 -6
- package/dist/esm/kup-field.entry.js +3 -5
- package/dist/esm/kup-iframe.entry.js +3 -4
- package/dist/esm/kup-lazy.entry.js +4 -6
- package/dist/esm/kup-magic-box.entry.js +21 -31
- package/dist/esm/kup-manager-7fc234da.js +5800 -0
- package/dist/esm/kup-nav-bar.entry.js +4 -6
- package/dist/esm/kup-probe.entry.js +3 -4
- package/dist/esm/kup-qlik.entry.js +2 -3
- package/dist/esm/kup-snackbar.entry.js +148 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{utils-13dd007a.js → utils-6c73709d.js} +15 -78
- package/dist/ketchup/assets/svg/ketchup.svg +74 -0
- package/dist/ketchup/assets/svg/smeup.svg +59 -0
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-15321eae.js +1 -0
- package/dist/ketchup/p-1baf1205.entry.js +1 -0
- package/dist/ketchup/p-1c6178e4.entry.js +1 -0
- package/dist/ketchup/p-44375e49.js +1 -0
- package/dist/ketchup/p-4dcdbd31.entry.js +45 -0
- package/dist/ketchup/p-5a5f2a53.js +1 -0
- package/dist/ketchup/{p-c7ee1fbc.js → p-61faaa38.js} +2 -2
- package/dist/ketchup/p-62816d0b.entry.js +1 -0
- package/dist/ketchup/p-65adc15b.entry.js +1 -0
- package/dist/ketchup/p-7e23ea7c.entry.js +1 -0
- package/dist/ketchup/p-a378ba56.entry.js +1 -0
- package/dist/ketchup/p-a878016f.entry.js +1 -0
- package/dist/ketchup/p-a96e6e32.entry.js +1 -0
- package/dist/ketchup/p-ad32821e.entry.js +1 -0
- package/dist/ketchup/p-af4a6191.entry.js +1 -0
- package/dist/ketchup/p-c18c7bb0.entry.js +27 -0
- package/dist/ketchup/p-ca0ca27f.entry.js +1 -0
- package/dist/ketchup/p-cb5f4994.js +1 -0
- package/dist/ketchup/p-ccda584a.entry.js +1 -0
- package/dist/ketchup/p-d4aa4922.js +1 -0
- package/dist/ketchup/p-dbb6998b.entry.js +1 -0
- package/dist/ketchup/p-de83f2f6.js +1 -0
- package/dist/ketchup/p-ec3a3db9.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -6
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +7 -13
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +13 -4
- package/dist/types/components/kup-box/kup-box.d.ts +13 -6
- package/dist/types/components/kup-card/builtin/kup-card-builtin.d.ts +14 -0
- package/dist/types/components/kup-card/builtin/kup-card-calendar.d.ts +2 -0
- package/dist/types/components/kup-card/builtin/kup-card-clock.d.ts +2 -0
- package/dist/types/components/kup-card/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/free/kup-card-free.d.ts +8 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +74 -0
- package/dist/types/components/kup-card/kup-card.d.ts +12 -3
- package/dist/types/components/kup-card/standard/kup-card-standard.d.ts +6 -0
- package/dist/types/components/kup-cell/kup-cell-declarations.d.ts +10 -0
- package/dist/types/components/kup-cell/kup-cell.d.ts +67 -0
- package/dist/types/components/kup-color-picker/kup-color-picker.d.ts +1 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +3 -2
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +4 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +20 -36
- package/dist/types/components/kup-data-table/kup-data-table-helper.d.ts +1 -15
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +33 -83
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +11 -23
- package/dist/types/components/kup-dropdown-button/kup-dropdown-button.d.ts +1 -4
- package/dist/types/components/kup-list/kup-list-declarations.d.ts +1 -1
- package/dist/types/components/kup-list/kup-list.d.ts +2 -3
- package/dist/types/components/kup-magic-box/kup-magic-box.d.ts +1 -0
- package/dist/types/components/kup-paginator/kup-paginator.d.ts +6 -0
- package/dist/types/components/kup-snackbar/kup-snackbar-declarations.d.ts +12 -0
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +79 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +2 -1
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +5 -0
- package/dist/types/components/kup-time-picker/kup-time-picker.d.ts +10 -20
- package/dist/types/components/kup-tooltip/kup-tooltip.d.ts +1 -0
- package/dist/types/components/kup-tree/kup-tree-declarations.d.ts +4 -4
- package/dist/types/components/kup-tree/kup-tree.d.ts +12 -23
- package/dist/types/components.d.ts +348 -176
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +153 -0
- package/dist/types/f-components/f-cell/f-cell.d.ts +3 -0
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +1 -0
- package/dist/types/f-components/f-text-field/f-text-field-mdc.d.ts +1 -1
- package/dist/types/utils/cell-utils.d.ts +0 -19
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -0
- package/dist/types/utils/kup-dates/kup-dates.d.ts +9 -4
- package/dist/types/utils/kup-debug/kup-debug.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +1 -1
- package/dist/types/utils/kup-dynamic-position/kup-dynamic-position.d.ts +2 -2
- package/dist/types/utils/kup-interact/kup-interact-declarations.d.ts +127 -0
- package/dist/types/utils/kup-interact/kup-interact.d.ts +93 -0
- package/dist/types/utils/kup-language/kup-language-declarations.d.ts +2 -0
- package/dist/types/utils/kup-language/kup-language.d.ts +1 -1
- package/dist/types/utils/kup-manager/kup-manager-declarations.d.ts +28 -8
- package/dist/types/utils/kup-manager/kup-manager.d.ts +18 -5
- package/dist/types/utils/kup-objects/kup-objects.d.ts +1 -7
- package/dist/types/utils/kup-search/kup-search-declarations.d.ts +7 -0
- package/dist/types/utils/kup-search/kup-search.d.ts +20 -0
- package/dist/types/utils/kup-theme/kup-theme-declarations.d.ts +2 -0
- package/dist/types/utils/kup-theme/kup-theme.d.ts +2 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +4 -6
- package/dist/cjs/cell-utils-1f89a299.js +0 -1527
- package/dist/cjs/drag-and-drop-4787ff6f.js +0 -281
- package/dist/cjs/f-chip-2d58c8f7.js +0 -239
- package/dist/cjs/kup-grid.cjs.entry.js +0 -130
- package/dist/cjs/kup-manager-59ad8bdc.js +0 -4845
- package/dist/cjs/kup-objects-59ea949c.js +0 -717
- package/dist/collection/assets/images/drag-multiple.js +0 -1
- package/dist/collection/components/kup-editor/kup-editor.css +0 -5
- package/dist/collection/components/kup-editor/kup-editor.js +0 -59
- package/dist/collection/components/kup-layout/kup-layout.css +0 -53
- package/dist/collection/components/kup-layout/kup-layout.js +0 -156
- package/dist/collection/utils/drag-and-drop.js +0 -109
- package/dist/collection/utils/kup-dialog/kup-dialog-declarations.js +0 -36
- package/dist/collection/utils/kup-dialog/kup-dialog.js +0 -310
- package/dist/esm/cell-utils-cb612463.js +0 -1510
- package/dist/esm/drag-and-drop-321cb4ca.js +0 -265
- package/dist/esm/f-chip-125d5dd6.js +0 -236
- package/dist/esm/kup-grid.entry.js +0 -126
- package/dist/esm/kup-manager-e7d7b353.js +0 -4842
- package/dist/esm/kup-objects-d38d2fa2.js +0 -711
- package/dist/ketchup/p-00fe1e3e.js +0 -1
- package/dist/ketchup/p-0320e24e.entry.js +0 -1
- package/dist/ketchup/p-08c7a092.js +0 -1
- package/dist/ketchup/p-1165f4ea.entry.js +0 -1
- package/dist/ketchup/p-170d3cba.js +0 -1
- package/dist/ketchup/p-18cb3ba3.js +0 -1
- package/dist/ketchup/p-23541a97.entry.js +0 -45
- package/dist/ketchup/p-64ea7e37.entry.js +0 -1
- package/dist/ketchup/p-7896031c.entry.js +0 -1
- package/dist/ketchup/p-876da4c2.entry.js +0 -1
- package/dist/ketchup/p-8fb9d9b2.entry.js +0 -1
- package/dist/ketchup/p-940ab57a.entry.js +0 -1
- package/dist/ketchup/p-9c858a38.entry.js +0 -1
- package/dist/ketchup/p-a12a5690.entry.js +0 -1
- package/dist/ketchup/p-a5424073.js +0 -1
- package/dist/ketchup/p-b0724035.entry.js +0 -1
- package/dist/ketchup/p-b14e77f0.js +0 -1
- package/dist/ketchup/p-d24cfdea.entry.js +0 -1
- package/dist/ketchup/p-ee89966f.entry.js +0 -27
- package/dist/ketchup/p-fcd2fd8f.js +0 -1
- package/dist/ketchup/p-fce3b9d8.entry.js +0 -1
- package/dist/types/assets/images/drag-multiple.d.ts +0 -1
- package/dist/types/components/kup-editor/kup-editor.d.ts +0 -16
- package/dist/types/components/kup-layout/kup-layout.d.ts +0 -25
- package/dist/types/utils/drag-and-drop.d.ts +0 -53
- package/dist/types/utils/kup-dialog/kup-dialog-declarations.d.ts +0 -43
- package/dist/types/utils/kup-dialog/kup-dialog.d.ts +0 -50
|
@@ -207,9 +207,8 @@ export class KupField {
|
|
|
207
207
|
if ((submitIsRight || submitIsBottom) && submit) {
|
|
208
208
|
toRender.push(submit);
|
|
209
209
|
}
|
|
210
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
211
210
|
return (h(Host, null,
|
|
212
|
-
|
|
211
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
213
212
|
h("div", { id: componentWrapperId, class: wrapperClass }, toRender)));
|
|
214
213
|
}
|
|
215
214
|
disconnectedCallback() {
|
|
@@ -236,11 +235,11 @@ export class KupField {
|
|
|
236
235
|
"optional": false,
|
|
237
236
|
"docs": {
|
|
238
237
|
"tags": [{
|
|
239
|
-
"
|
|
240
|
-
"
|
|
238
|
+
"name": "default",
|
|
239
|
+
"text": "\"\""
|
|
241
240
|
}, {
|
|
242
|
-
"
|
|
243
|
-
"
|
|
241
|
+
"name": "see",
|
|
242
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
244
243
|
}],
|
|
245
244
|
"text": "Custom style of the component."
|
|
246
245
|
},
|
|
@@ -264,8 +263,8 @@ export class KupField {
|
|
|
264
263
|
"optional": false,
|
|
265
264
|
"docs": {
|
|
266
265
|
"tags": [{
|
|
267
|
-
"
|
|
268
|
-
"
|
|
266
|
+
"name": "default",
|
|
267
|
+
"text": "{}"
|
|
269
268
|
}],
|
|
270
269
|
"text": "Effective data to pass to the component."
|
|
271
270
|
},
|
|
@@ -283,8 +282,8 @@ export class KupField {
|
|
|
283
282
|
"optional": false,
|
|
284
283
|
"docs": {
|
|
285
284
|
"tags": [{
|
|
286
|
-
"
|
|
287
|
-
"
|
|
285
|
+
"name": "default",
|
|
286
|
+
"text": "\"\""
|
|
288
287
|
}],
|
|
289
288
|
"text": "The text of the label. If set to empty or has only white space chars, the label will be removed."
|
|
290
289
|
},
|
|
@@ -304,8 +303,8 @@ export class KupField {
|
|
|
304
303
|
"optional": false,
|
|
305
304
|
"docs": {
|
|
306
305
|
"tags": [{
|
|
307
|
-
"
|
|
308
|
-
"
|
|
306
|
+
"name": "default",
|
|
307
|
+
"text": "\"left\""
|
|
309
308
|
}],
|
|
310
309
|
"text": "Sets the label's position, left right or top."
|
|
311
310
|
},
|
|
@@ -325,8 +324,8 @@ export class KupField {
|
|
|
325
324
|
"optional": false,
|
|
326
325
|
"docs": {
|
|
327
326
|
"tags": [{
|
|
328
|
-
"
|
|
329
|
-
"
|
|
327
|
+
"name": "default",
|
|
328
|
+
"text": "false"
|
|
330
329
|
}],
|
|
331
330
|
"text": "Sets whether the submit button must be displayed or not."
|
|
332
331
|
},
|
|
@@ -346,8 +345,8 @@ export class KupField {
|
|
|
346
345
|
"optional": false,
|
|
347
346
|
"docs": {
|
|
348
347
|
"tags": [{
|
|
349
|
-
"
|
|
350
|
-
"
|
|
348
|
+
"name": "default",
|
|
349
|
+
"text": "\"\""
|
|
351
350
|
}],
|
|
352
351
|
"text": "Sets the submit button's label."
|
|
353
352
|
},
|
|
@@ -367,8 +366,8 @@ export class KupField {
|
|
|
367
366
|
"optional": false,
|
|
368
367
|
"docs": {
|
|
369
368
|
"tags": [{
|
|
370
|
-
"
|
|
371
|
-
"
|
|
369
|
+
"name": "default",
|
|
370
|
+
"text": "\"right\""
|
|
372
371
|
}],
|
|
373
372
|
"text": "Sets the submit button's position, top right bottom or left."
|
|
374
373
|
},
|
|
@@ -388,8 +387,8 @@ export class KupField {
|
|
|
388
387
|
"optional": false,
|
|
389
388
|
"docs": {
|
|
390
389
|
"tags": [{
|
|
391
|
-
"
|
|
392
|
-
"
|
|
390
|
+
"name": "default",
|
|
391
|
+
"text": "undefined"
|
|
393
392
|
}],
|
|
394
393
|
"text": "The type of the FLD"
|
|
395
394
|
},
|
|
@@ -467,8 +466,8 @@ export class KupField {
|
|
|
467
466
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
468
467
|
"parameters": [{
|
|
469
468
|
"tags": [{
|
|
470
|
-
"
|
|
471
|
-
"
|
|
469
|
+
"name": "param",
|
|
470
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
472
471
|
}],
|
|
473
472
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
474
473
|
}],
|
|
@@ -363,9 +363,8 @@ export class KupGauge {
|
|
|
363
363
|
this.measurementUnit));
|
|
364
364
|
}
|
|
365
365
|
const width = { width: this.widthComponent };
|
|
366
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
367
366
|
return (h(Host, null,
|
|
368
|
-
|
|
367
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
369
368
|
h("div", { id: componentWrapperId, class: "gauge__container" },
|
|
370
369
|
h("svg", { class: "gauge", style: width, viewBox: `0 0 ${this.size} ${valueLabelYPosition}` },
|
|
371
370
|
h("g", { transform: `rotate(-90) translate(-${halvedSize}, ${halvedSize})` }, arcsElements),
|
|
@@ -398,11 +397,11 @@ export class KupGauge {
|
|
|
398
397
|
"optional": false,
|
|
399
398
|
"docs": {
|
|
400
399
|
"tags": [{
|
|
401
|
-
"
|
|
402
|
-
"
|
|
400
|
+
"name": "namespace",
|
|
401
|
+
"text": "kup-gauge.arcThickness"
|
|
403
402
|
}, {
|
|
404
|
-
"
|
|
405
|
-
"
|
|
403
|
+
"name": "see",
|
|
404
|
+
"text": "kup-gauge.size"
|
|
406
405
|
}],
|
|
407
406
|
"text": "Sets how much the arc of the gauge should be thick."
|
|
408
407
|
},
|
|
@@ -438,11 +437,11 @@ export class KupGauge {
|
|
|
438
437
|
"optional": false,
|
|
439
438
|
"docs": {
|
|
440
439
|
"tags": [{
|
|
441
|
-
"
|
|
442
|
-
"
|
|
440
|
+
"name": "default",
|
|
441
|
+
"text": "\"\""
|
|
443
442
|
}, {
|
|
444
|
-
"
|
|
445
|
-
"
|
|
443
|
+
"name": "see",
|
|
444
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
446
445
|
}],
|
|
447
446
|
"text": "Custom style of the component."
|
|
448
447
|
},
|
|
@@ -676,11 +675,11 @@ export class KupGauge {
|
|
|
676
675
|
"optional": false,
|
|
677
676
|
"docs": {
|
|
678
677
|
"tags": [{
|
|
679
|
-
"
|
|
680
|
-
"
|
|
678
|
+
"name": "namespace",
|
|
679
|
+
"text": "kup-gauge.size"
|
|
681
680
|
}, {
|
|
682
|
-
"
|
|
683
|
-
"
|
|
681
|
+
"name": "see",
|
|
682
|
+
"text": "kup-gauge.arcThickness"
|
|
684
683
|
}],
|
|
685
684
|
"text": "Con be used change the viewbox of the SVG.\nBy manipulating this value, some customizations of the aspect of the gauge is achievable."
|
|
686
685
|
},
|
|
@@ -749,8 +748,8 @@ export class KupGauge {
|
|
|
749
748
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
750
749
|
"parameters": [{
|
|
751
750
|
"tags": [{
|
|
752
|
-
"
|
|
753
|
-
"
|
|
751
|
+
"name": "param",
|
|
752
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
754
753
|
}],
|
|
755
754
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
756
755
|
}],
|
|
@@ -797,8 +796,8 @@ export class KupGauge {
|
|
|
797
796
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
798
797
|
"parameters": [{
|
|
799
798
|
"tags": [{
|
|
800
|
-
"
|
|
801
|
-
"
|
|
799
|
+
"name": "param",
|
|
800
|
+
"text": "props - Object containing props that will be set to the component."
|
|
802
801
|
}],
|
|
803
802
|
"text": "- Object containing props that will be set to the component."
|
|
804
803
|
}],
|
|
@@ -31,10 +31,11 @@
|
|
|
31
31
|
grid-template-columns: repeat(var(--kup_grid_columns, 12), minmax(0px, 1fr));
|
|
32
32
|
}
|
|
33
33
|
.layout-grid .layout-grid__inner .layout-grid__cell {
|
|
34
|
+
box-sizing: border-box;
|
|
34
35
|
display: flex;
|
|
36
|
+
justify-content: center;
|
|
35
37
|
margin: 0px;
|
|
36
38
|
width: auto;
|
|
37
|
-
box-sizing: border-box;
|
|
38
39
|
}
|
|
39
40
|
.layout-grid__cell--span-1 {
|
|
40
41
|
grid-column-end: span 1;
|
|
@@ -98,9 +98,8 @@ export class KupGrid {
|
|
|
98
98
|
const style = {
|
|
99
99
|
['--kup_grid_columns']: this.columns,
|
|
100
100
|
};
|
|
101
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
102
101
|
return (h(Host, { style: style },
|
|
103
|
-
|
|
102
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
104
103
|
h("div", { id: componentWrapperId },
|
|
105
104
|
h("div", { class: this.singleLine ? 'flex-layout' : 'layout-grid' },
|
|
106
105
|
h("div", { class: this.singleLine
|
|
@@ -131,8 +130,8 @@ export class KupGrid {
|
|
|
131
130
|
"optional": false,
|
|
132
131
|
"docs": {
|
|
133
132
|
"tags": [{
|
|
134
|
-
"
|
|
135
|
-
"
|
|
133
|
+
"name": "default",
|
|
134
|
+
"text": "12"
|
|
136
135
|
}],
|
|
137
136
|
"text": "The number of columns displayed by the grid, the default behavior is 12."
|
|
138
137
|
},
|
|
@@ -152,11 +151,11 @@ export class KupGrid {
|
|
|
152
151
|
"optional": false,
|
|
153
152
|
"docs": {
|
|
154
153
|
"tags": [{
|
|
155
|
-
"
|
|
156
|
-
"
|
|
154
|
+
"name": "default",
|
|
155
|
+
"text": "\"\""
|
|
157
156
|
}, {
|
|
158
|
-
"
|
|
159
|
-
"
|
|
157
|
+
"name": "see",
|
|
158
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
160
159
|
}],
|
|
161
160
|
"text": "Custom style of the component."
|
|
162
161
|
},
|
|
@@ -176,8 +175,8 @@ export class KupGrid {
|
|
|
176
175
|
"optional": false,
|
|
177
176
|
"docs": {
|
|
178
177
|
"tags": [{
|
|
179
|
-
"
|
|
180
|
-
"
|
|
178
|
+
"name": "default",
|
|
179
|
+
"text": "false"
|
|
181
180
|
}],
|
|
182
181
|
"text": "When set to true, forces the content on a single line."
|
|
183
182
|
},
|
|
@@ -192,8 +191,8 @@ export class KupGrid {
|
|
|
192
191
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
193
192
|
"parameters": [{
|
|
194
193
|
"tags": [{
|
|
195
|
-
"
|
|
196
|
-
"
|
|
194
|
+
"name": "param",
|
|
195
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
197
196
|
}],
|
|
198
197
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
199
198
|
}],
|
|
@@ -240,8 +239,8 @@ export class KupGrid {
|
|
|
240
239
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
241
240
|
"parameters": [{
|
|
242
241
|
"tags": [{
|
|
243
|
-
"
|
|
244
|
-
"
|
|
242
|
+
"name": "param",
|
|
243
|
+
"text": "props - Object containing props that will be set to the component."
|
|
245
244
|
}],
|
|
246
245
|
"text": "- Object containing props that will be set to the component."
|
|
247
246
|
}],
|
|
@@ -208,8 +208,8 @@ export class KupIframe {
|
|
|
208
208
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
209
209
|
"parameters": [{
|
|
210
210
|
"tags": [{
|
|
211
|
-
"
|
|
212
|
-
"
|
|
211
|
+
"name": "param",
|
|
212
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
213
213
|
}],
|
|
214
214
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
215
215
|
}],
|
|
@@ -256,8 +256,8 @@ export class KupIframe {
|
|
|
256
256
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
257
257
|
"parameters": [{
|
|
258
258
|
"tags": [{
|
|
259
|
-
"
|
|
260
|
-
"
|
|
259
|
+
"name": "param",
|
|
260
|
+
"text": "props - Object containing props that will be set to the component."
|
|
261
261
|
}],
|
|
262
262
|
"text": "- Object containing props that will be set to the component."
|
|
263
263
|
}],
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
viewBox="0 0 129.05 48.14"
|
|
4
|
+
>
|
|
5
|
+
<g>
|
|
6
|
+
<g>
|
|
7
|
+
<g>
|
|
8
|
+
<rect
|
|
9
|
+
y="3.29"
|
|
10
|
+
width="19.92"
|
|
11
|
+
height="19.92"
|
|
12
|
+
/>
|
|
13
|
+
<rect
|
|
14
|
+
y="28.22"
|
|
15
|
+
width="19.92"
|
|
16
|
+
height="19.92"
|
|
17
|
+
/>
|
|
18
|
+
<rect
|
|
19
|
+
x="24.9"
|
|
20
|
+
y="28.22"
|
|
21
|
+
width="19.92"
|
|
22
|
+
height="19.92"
|
|
23
|
+
/>
|
|
24
|
+
<rect
|
|
25
|
+
x="24.04"
|
|
26
|
+
y="4.12"
|
|
27
|
+
width="19.92"
|
|
28
|
+
height="19.92"
|
|
29
|
+
transform="translate(0 28.16) rotate(-45)"
|
|
30
|
+
/>
|
|
31
|
+
</g>
|
|
32
|
+
<g>
|
|
33
|
+
<path
|
|
34
|
+
d="M64.59,36.84a3.2,3.2,0,0,1-.65.06,1.61,1.61,0,0,1-1-.25,1,1,0,0,1-.32-.87V24.42a2.09,2.09,0,0,1,.45-.11,4.28,4.28,0,0,1,.65,0,1.68,1.68,0,0,1,1,.24,1.07,1.07,0,0,1,.32.88v5.89l3.69-3.67a1.94,1.94,0,0,1,1.16.32,1,1,0,0,1,.43.82,1.16,1.16,0,0,1-.27.76,7.31,7.31,0,0,1-.87.82l-2.05,1.78,3.63,3.4a1.83,1.83,0,0,1-.4,1,1.14,1.14,0,0,1-.93.37,1.41,1.41,0,0,1-.77-.21,4.5,4.5,0,0,1-.81-.74L65,32.85v3.9Z"
|
|
35
|
+
/>
|
|
36
|
+
<path
|
|
37
|
+
d="M74.16,33.35a2.27,2.27,0,0,0,1,1.4,3.42,3.42,0,0,0,1.79.44A4.36,4.36,0,0,0,78.41,35a5.35,5.35,0,0,0,1.09-.5,1.26,1.26,0,0,1,.44.42,1.06,1.06,0,0,1,.17.57,1,1,0,0,1-.26.67,2,2,0,0,1-.7.51,5.22,5.22,0,0,1-1.05.32,7.83,7.83,0,0,1-1.32.11,6.61,6.61,0,0,1-2-.3,4.1,4.1,0,0,1-1.57-.92,4.26,4.26,0,0,1-1-1.53,5.59,5.59,0,0,1-.37-2.13,5.33,5.33,0,0,1,.36-2.05,4.35,4.35,0,0,1,1-1.47,4,4,0,0,1,1.43-.87,5.23,5.23,0,0,1,1.73-.28,4.72,4.72,0,0,1,1.71.29,4,4,0,0,1,1.33.82,3.7,3.7,0,0,1,.87,1.25,4.17,4.17,0,0,1,.31,1.59,1.05,1.05,0,0,1-.28.8,1.41,1.41,0,0,1-.77.34Zm2.11-4.05a2.15,2.15,0,0,0-1.56.62,2.65,2.65,0,0,0-.7,1.76l4.22-.63a2.17,2.17,0,0,0-.55-1.23A1.81,1.81,0,0,0,76.27,29.3Z"
|
|
38
|
+
/>
|
|
39
|
+
<path
|
|
40
|
+
d="M85.13,34.85a1.76,1.76,0,0,0,1,.26,3,3,0,0,0,.66-.07,3.72,3.72,0,0,0,.59-.19,1.12,1.12,0,0,1,.26.37,1.15,1.15,0,0,1,.11.5,1.12,1.12,0,0,1-.52.94,2.83,2.83,0,0,1-1.65.37,3.77,3.77,0,0,1-2.37-.67,2.67,2.67,0,0,1-.86-2.23V25.41l.45-.1a3.06,3.06,0,0,1,.63-.06,1.6,1.6,0,0,1,1,.25,1.06,1.06,0,0,1,.31.87V28h2.8a1.92,1.92,0,0,1,.17.4,1.83,1.83,0,0,1,.07.53,1,1,0,0,1-.22.72.81.81,0,0,1-.61.23H84.76V34A1,1,0,0,0,85.13,34.85Z"
|
|
41
|
+
/>
|
|
42
|
+
<path
|
|
43
|
+
d="M94.15,29.42a3,3,0,0,0-1.05.18,2.34,2.34,0,0,0-.84.56,2.65,2.65,0,0,0-.56.89,3.34,3.34,0,0,0-.21,1.23,2.82,2.82,0,0,0,.74,2.12,2.64,2.64,0,0,0,1.92.71,3.31,3.31,0,0,0,1.15-.18,6.3,6.3,0,0,0,.86-.39,1.79,1.79,0,0,1,.43.44,1,1,0,0,1,.16.57A1.23,1.23,0,0,1,96,36.62a4.36,4.36,0,0,1-2,.41,6.23,6.23,0,0,1-2-.29,4.09,4.09,0,0,1-1.55-.89,4,4,0,0,1-1-1.5,5.68,5.68,0,0,1-.35-2.07,5.32,5.32,0,0,1,.38-2.1,4.27,4.27,0,0,1,1-1.5A4.34,4.34,0,0,1,92,27.79a5.77,5.77,0,0,1,1.87-.29,4,4,0,0,1,2,.44A1.29,1.29,0,0,1,96.66,29a1.08,1.08,0,0,1-.16.56,1.54,1.54,0,0,1-.37.39c-.26-.13-.54-.26-.85-.39A3.16,3.16,0,0,0,94.15,29.42Z"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
d="M100.69,36.84a3.2,3.2,0,0,1-.65.06,1.61,1.61,0,0,1-1-.25,1,1,0,0,1-.32-.87V24.42a2.09,2.09,0,0,1,.45-.11,4.28,4.28,0,0,1,.65,0,1.68,1.68,0,0,1,1,.24,1.07,1.07,0,0,1,.32.88V28a5.35,5.35,0,0,1,1-.36,4.5,4.5,0,0,1,1.21-.15,4,4,0,0,1,2.75.89,3.36,3.36,0,0,1,1,2.7v5.66l-.45.09a3.13,3.13,0,0,1-.63.06,1.61,1.61,0,0,1-1-.25,1,1,0,0,1-.32-.87V31.2a1.75,1.75,0,0,0-.5-1.38,1.93,1.93,0,0,0-1.29-.42,2.67,2.67,0,0,0-1,.16,4,4,0,0,0-.8.39v6.8Z"
|
|
47
|
+
/>
|
|
48
|
+
<path
|
|
49
|
+
d="M117.71,35.73a1.32,1.32,0,0,1-.55.52,5.09,5.09,0,0,1-1.4.57,7,7,0,0,1-1.93.23,6.52,6.52,0,0,1-1.78-.22,3.73,3.73,0,0,1-1.37-.67,2.89,2.89,0,0,1-.87-1.16,4.08,4.08,0,0,1-.31-1.67V27.8a2.2,2.2,0,0,1,.45-.1,3.24,3.24,0,0,1,.65-.05,1.72,1.72,0,0,1,1,.23,1,1,0,0,1,.32.89v4.52a1.77,1.77,0,0,0,.51,1.42,2.16,2.16,0,0,0,1.43.42,3.59,3.59,0,0,0,1-.11,2.54,2.54,0,0,0,.62-.25v-7a2.24,2.24,0,0,1,.44-.1,3.26,3.26,0,0,1,.64-.05,1.73,1.73,0,0,1,1,.23,1.06,1.06,0,0,1,.31.89V35A1.58,1.58,0,0,1,117.71,35.73Z"
|
|
50
|
+
/>
|
|
51
|
+
<path
|
|
52
|
+
d="M124.53,37a4.64,4.64,0,0,1-1-.1,5.55,5.55,0,0,1-.84-.26v3.5l-.46.09a3.1,3.1,0,0,1-.64.06,1.57,1.57,0,0,1-1-.25,1,1,0,0,1-.32-.87V29.57a1.35,1.35,0,0,1,.18-.74,1.8,1.8,0,0,1,.58-.54,6.27,6.27,0,0,1,1.36-.56,7,7,0,0,1,1.85-.23,6.62,6.62,0,0,1,1.93.27,4.15,4.15,0,0,1,1.52.86,3.71,3.71,0,0,1,1,1.47,5.65,5.65,0,0,1,.36,2.13,5.84,5.84,0,0,1-.34,2.09,4.4,4.4,0,0,1-.94,1.5,3.85,3.85,0,0,1-1.42.91A5.35,5.35,0,0,1,124.53,37Zm-.36-1.92a2.32,2.32,0,0,0,1.79-.7,3.15,3.15,0,0,0,.64-2.18,3,3,0,0,0-.66-2.19,2.37,2.37,0,0,0-1.71-.64,2.77,2.77,0,0,0-.91.13,4.84,4.84,0,0,0-.67.28V34.7a3.41,3.41,0,0,0,.67.3A2.78,2.78,0,0,0,124.17,35.11Z"
|
|
53
|
+
/>
|
|
54
|
+
</g>
|
|
55
|
+
<g>
|
|
56
|
+
<path
|
|
57
|
+
d="M67.81,14.05a1.67,1.67,0,0,1-.65,1.4,3.15,3.15,0,0,1-1.91.5,5,5,0,0,1-1-.09,3.24,3.24,0,0,1-.76-.24,1.57,1.57,0,0,1-.49-.34.53.53,0,0,1-.17-.38.62.62,0,0,1,.09-.32.77.77,0,0,1,.27-.27,4.6,4.6,0,0,0,.88.5,3,3,0,0,0,1.15.22c1,0,1.46-.33,1.46-1s-.33-.88-1-1l-1.16-.31a2.58,2.58,0,0,1-1.25-.65,1.56,1.56,0,0,1-.39-1.1,1.73,1.73,0,0,1,.15-.7,1.58,1.58,0,0,1,.45-.59,2.6,2.6,0,0,1,.76-.4,3.83,3.83,0,0,1,1.08-.14A3.73,3.73,0,0,1,67,9.4c.4.2.6.42.6.67a.57.57,0,0,1-.09.32.52.52,0,0,1-.25.21,4.16,4.16,0,0,0-.71-.36,2.79,2.79,0,0,0-1.09-.2,1.8,1.8,0,0,0-1,.24A.75.75,0,0,0,64,11a.73.73,0,0,0,.21.55,1.31,1.31,0,0,0,.7.33l1,.24a3.09,3.09,0,0,1,1.43.71A1.68,1.68,0,0,1,67.81,14.05Z"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M77.33,10.36a1.61,1.61,0,0,0-1-.32,2.38,2.38,0,0,0-1.63.65,1.89,1.89,0,0,1,.09.6v4.45l-.22.06a1,1,0,0,1-.3,0c-.4,0-.61-.17-.61-.51v-4a1.24,1.24,0,0,0-.39-1A1.63,1.63,0,0,0,72.17,10a2.66,2.66,0,0,0-.85.14,3.93,3.93,0,0,0-.68.32v5.24l-.21.06a1,1,0,0,1-.31,0q-.6,0-.6-.51V10.56a.86.86,0,0,1,.12-.47,1.33,1.33,0,0,1,.42-.38,4,4,0,0,1,1-.42,4.3,4.3,0,0,1,1.17-.17,3.51,3.51,0,0,1,1.22.2,1.84,1.84,0,0,1,.81.55,3.17,3.17,0,0,1,2.16-.75,2.83,2.83,0,0,1,1.81.54,2,2,0,0,1,.67,1.66v4.42l-.22.06a1,1,0,0,1-.3,0q-.6,0-.6-.51v-4A1.22,1.22,0,0,0,77.33,10.36Z"
|
|
61
|
+
/>
|
|
62
|
+
<path
|
|
63
|
+
d="M81.76,13.19A2.17,2.17,0,0,0,84.17,15a2.78,2.78,0,0,0,1.06-.2,3.12,3.12,0,0,0,.76-.42.6.6,0,0,1,.33.53.57.57,0,0,1-.17.38,1.61,1.61,0,0,1-.48.32,3,3,0,0,1-.7.23,4.57,4.57,0,0,1-.86.08,3.61,3.61,0,0,1-2.57-.88,3.36,3.36,0,0,1-.94-2.58,4,4,0,0,1,.23-1.42A3.13,3.13,0,0,1,81.47,10a2.78,2.78,0,0,1,1-.66,3.41,3.41,0,0,1,2.41,0,2.7,2.7,0,0,1,.91.59,2.85,2.85,0,0,1,.61.91A3.11,3.11,0,0,1,86.6,12a.57.57,0,0,1-.14.44.64.64,0,0,1-.39.16ZM83.69,10a1.86,1.86,0,0,0-1.41.59,2.48,2.48,0,0,0-.59,1.7l3.85-.53A2.13,2.13,0,0,0,85,10.52,1.71,1.71,0,0,0,83.69,10Z"
|
|
64
|
+
/>
|
|
65
|
+
<path
|
|
66
|
+
d="M88.24,9.33l.22-.07a1.55,1.55,0,0,1,.31,0c.4,0,.59.17.59.52v3.6a1.57,1.57,0,0,0,.48,1.29,2,2,0,0,0,1.31.39,3.23,3.23,0,0,0,.95-.12,2.72,2.72,0,0,0,.62-.25V9.33l.22-.07.3,0c.4,0,.6.17.6.52v4.87a1.21,1.21,0,0,1-.08.47.78.78,0,0,1-.37.34,4.21,4.21,0,0,1-.89.35,4.85,4.85,0,0,1-1.36.17A3.32,3.32,0,0,1,89,15.33a2.35,2.35,0,0,1-.75-1.93Z"
|
|
67
|
+
/>
|
|
68
|
+
<path
|
|
69
|
+
d="M98.71,16a3.93,3.93,0,0,1-.92-.11,3.65,3.65,0,0,1-.72-.27v2.72l-.21.06a1.36,1.36,0,0,1-.3,0c-.4,0-.61-.18-.61-.52V10.48a.94.94,0,0,1,.1-.45,1.15,1.15,0,0,1,.41-.35,5.51,5.51,0,0,1,.9-.39,4,4,0,0,1,1.2-.17,4.15,4.15,0,0,1,1.29.19,2.74,2.74,0,0,1,1.05.61,2.85,2.85,0,0,1,.7,1.06,4,4,0,0,1,.26,1.54,4.32,4.32,0,0,1-.23,1.51A2.8,2.8,0,0,1,101,15.1a2.57,2.57,0,0,1-1,.64A3.72,3.72,0,0,1,98.71,16ZM98.56,15a2.1,2.1,0,0,0,1.57-.6,2.6,2.6,0,0,0,.6-1.91,3.25,3.25,0,0,0-.18-1.16,1.9,1.9,0,0,0-.47-.77,1.63,1.63,0,0,0-.7-.42,2.47,2.47,0,0,0-.82-.13,2.43,2.43,0,0,0-.86.13,3.63,3.63,0,0,0-.63.28v4.13a2.33,2.33,0,0,0,.63.32A2.78,2.78,0,0,0,98.56,15Z"
|
|
70
|
+
/>
|
|
71
|
+
</g>
|
|
72
|
+
</g>
|
|
73
|
+
</g></svg
|
|
74
|
+
>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
version="1.1"
|
|
3
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
5
|
+
x="0px"
|
|
6
|
+
y="0px"
|
|
7
|
+
viewBox="0 0 519.3 212.4"
|
|
8
|
+
style="enable-background: new 0 0 519.3 212.4"
|
|
9
|
+
xml:space="preserve"
|
|
10
|
+
>
|
|
11
|
+
<g>
|
|
12
|
+
<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-5c4.6-1.5,9.8-2.3,15.7-2.3c6,0,11.6,0.9,17,2.6c5.3,1.7,9.9,4.4,13.7,8
|
|
48
|
+
c3.8,3.6,6.9,8.2,9.2,13.8c2.3,5.6,3.4,12.3,3.4,20.1C499.7,108.9,498.7,115.5,496.7,121.1z"
|
|
49
|
+
/>
|
|
50
|
+
<path
|
|
51
|
+
d="M476.3,76c-2.6-2.6-5.7-4.4-9.1-5.5c-3.4-1.1-7-1.7-10.8-1.7c-4.4,0-8.1,0.6-11.2,1.7
|
|
52
|
+
c-3.1,1.1-5.8,2.3-8.2,3.7v54.1c2.3,1.7,5.1,3.1,8.2,4.2c3.2,1.1,6.9,1.7,11.2,1.7c8.5,0,15.4-2.6,20.6-7.8
|
|
53
|
+
c5.2-5.2,7.8-13.5,7.8-25c0-6-0.8-11.1-2.3-15.2C481,81.9,479,78.6,476.3,76z"
|
|
54
|
+
/>
|
|
55
|
+
</g>
|
|
56
|
+
</g>
|
|
57
|
+
</g>
|
|
58
|
+
<g></g>
|
|
59
|
+
</svg>
|
|
@@ -1,35 +1,3 @@
|
|
|
1
|
-
.f-image--wrapper {
|
|
2
|
-
display: block;
|
|
3
|
-
margin: auto;
|
|
4
|
-
position: relative;
|
|
5
|
-
height: var(--kup_image_height, 100%);
|
|
6
|
-
width: var(--kup_image_width, 100%);
|
|
7
|
-
}
|
|
8
|
-
.f-image--wrapper.kup-fit img {
|
|
9
|
-
max-width: max-content;
|
|
10
|
-
object-fit: contain;
|
|
11
|
-
}
|
|
12
|
-
.f-image--wrapper img {
|
|
13
|
-
display: block;
|
|
14
|
-
margin: auto;
|
|
15
|
-
height: var(--kup_image_height, 100%);
|
|
16
|
-
width: var(--kup_image_width, 100%);
|
|
17
|
-
}
|
|
18
|
-
.f-image--wrapper .f-image__css {
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
height: var(--kup_image_height, 100%);
|
|
21
|
-
width: var(--kup_image_width, 100%);
|
|
22
|
-
}
|
|
23
|
-
.f-image--wrapper .f-image__icon {
|
|
24
|
-
margin: auto;
|
|
25
|
-
height: var(--kup_image_height, 100%);
|
|
26
|
-
width: var(--kup_image_width, 100%);
|
|
27
|
-
}
|
|
28
|
-
.f-image--wrapper .css-step.bottom-aligned {
|
|
29
|
-
bottom: 0;
|
|
30
|
-
position: absolute;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
1
|
:host {
|
|
34
2
|
display: block;
|
|
35
3
|
position: relative;
|
|
@@ -177,9 +177,8 @@ export class KupImage {
|
|
|
177
177
|
this.kupManager.debug.logMessage(this, message, KupDebugCategory.WARNING);
|
|
178
178
|
return;
|
|
179
179
|
}
|
|
180
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
181
180
|
return (h(Host, { style: elStyle },
|
|
182
|
-
|
|
181
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
183
182
|
feedback,
|
|
184
183
|
h("div", { id: componentWrapperId }, el)));
|
|
185
184
|
}
|
|
@@ -213,8 +212,8 @@ export class KupImage {
|
|
|
213
212
|
"optional": false,
|
|
214
213
|
"docs": {
|
|
215
214
|
"tags": [{
|
|
216
|
-
"
|
|
217
|
-
"
|
|
215
|
+
"name": "default",
|
|
216
|
+
"text": "null"
|
|
218
217
|
}],
|
|
219
218
|
"text": "Sets the data of badges."
|
|
220
219
|
},
|
|
@@ -232,8 +231,8 @@ export class KupImage {
|
|
|
232
231
|
"optional": false,
|
|
233
232
|
"docs": {
|
|
234
233
|
"tags": [{
|
|
235
|
-
"
|
|
236
|
-
"
|
|
234
|
+
"name": "default",
|
|
235
|
+
"text": "KupThemeColorValues.ICON"
|
|
237
236
|
}],
|
|
238
237
|
"text": "The color of the icon, defaults to the CSS variable KupThemeColorValues.ICON."
|
|
239
238
|
},
|
|
@@ -253,11 +252,11 @@ export class KupImage {
|
|
|
253
252
|
"optional": false,
|
|
254
253
|
"docs": {
|
|
255
254
|
"tags": [{
|
|
256
|
-
"
|
|
257
|
-
"
|
|
255
|
+
"name": "default",
|
|
256
|
+
"text": "\"\""
|
|
258
257
|
}, {
|
|
259
|
-
"
|
|
260
|
-
"
|
|
258
|
+
"name": "see",
|
|
259
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
261
260
|
}],
|
|
262
261
|
"text": "Custom style of the component."
|
|
263
262
|
},
|
|
@@ -282,8 +281,8 @@ export class KupImage {
|
|
|
282
281
|
"optional": false,
|
|
283
282
|
"docs": {
|
|
284
283
|
"tags": [{
|
|
285
|
-
"
|
|
286
|
-
"
|
|
284
|
+
"name": "default",
|
|
285
|
+
"text": "null"
|
|
287
286
|
}],
|
|
288
287
|
"text": "When present, the component will be drawn using CSS. Check the 'Drawing with CSS' section of the image showcase for more information."
|
|
289
288
|
},
|
|
@@ -301,8 +300,8 @@ export class KupImage {
|
|
|
301
300
|
"optional": false,
|
|
302
301
|
"docs": {
|
|
303
302
|
"tags": [{
|
|
304
|
-
"
|
|
305
|
-
"
|
|
303
|
+
"name": "default",
|
|
304
|
+
"text": "false"
|
|
306
305
|
}],
|
|
307
306
|
"text": "When set to true, a spinner will be displayed until the image finished loading. Not compatible with SVGs."
|
|
308
307
|
},
|
|
@@ -322,8 +321,8 @@ export class KupImage {
|
|
|
322
321
|
"optional": false,
|
|
323
322
|
"docs": {
|
|
324
323
|
"tags": [{
|
|
325
|
-
"
|
|
326
|
-
"
|
|
324
|
+
"name": "default",
|
|
325
|
+
"text": "false"
|
|
327
326
|
}],
|
|
328
327
|
"text": "The image component will create a canvas element on which it's possible to draw. It's a temporary feature that will be fully replaced by CSS drawing in the future."
|
|
329
328
|
},
|
|
@@ -343,8 +342,8 @@ export class KupImage {
|
|
|
343
342
|
"optional": false,
|
|
344
343
|
"docs": {
|
|
345
344
|
"tags": [{
|
|
346
|
-
"
|
|
347
|
-
"
|
|
345
|
+
"name": "default",
|
|
346
|
+
"text": "null"
|
|
348
347
|
}],
|
|
349
348
|
"text": "The resource used to fetch the image."
|
|
350
349
|
},
|
|
@@ -364,8 +363,8 @@ export class KupImage {
|
|
|
364
363
|
"optional": false,
|
|
365
364
|
"docs": {
|
|
366
365
|
"tags": [{
|
|
367
|
-
"
|
|
368
|
-
"
|
|
366
|
+
"name": "default",
|
|
367
|
+
"text": "'100%'"
|
|
369
368
|
}],
|
|
370
369
|
"text": "The width of the icon, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
371
370
|
},
|
|
@@ -385,8 +384,8 @@ export class KupImage {
|
|
|
385
384
|
"optional": false,
|
|
386
385
|
"docs": {
|
|
387
386
|
"tags": [{
|
|
388
|
-
"
|
|
389
|
-
"
|
|
387
|
+
"name": "default",
|
|
388
|
+
"text": "'100%'"
|
|
390
389
|
}],
|
|
391
390
|
"text": "The height of the icon, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
392
391
|
},
|
|
@@ -422,8 +421,8 @@ export class KupImage {
|
|
|
422
421
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
423
422
|
"parameters": [{
|
|
424
423
|
"tags": [{
|
|
425
|
-
"
|
|
426
|
-
"
|
|
424
|
+
"name": "param",
|
|
425
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
427
426
|
}],
|
|
428
427
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
429
428
|
}],
|
|
@@ -470,8 +469,8 @@ export class KupImage {
|
|
|
470
469
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
471
470
|
"parameters": [{
|
|
472
471
|
"tags": [{
|
|
473
|
-
"
|
|
474
|
-
"
|
|
472
|
+
"name": "param",
|
|
473
|
+
"text": "props - Object containing props that will be set to the component."
|
|
475
474
|
}],
|
|
476
475
|
"text": "- Object containing props that will be set to the component."
|
|
477
476
|
}],
|