@sme.up/ketchup 4.0.0 → 4.2.0-SNAPSHOT
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-1d44a3f0.js +168 -0
- package/dist/cjs/f-button-a5788453.js +105 -0
- package/dist/cjs/f-cell-eba6f39e.js +727 -0
- package/dist/cjs/f-chip-ce69b7d2.js +141 -0
- package/dist/cjs/{f-image-5f4f29ca.js → f-image-e03842eb.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} +1678 -2558
- 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-75f1a2cd.js +5794 -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-b3ec89fe.js} +18 -26
- package/dist/collection/assets/cell.js +51 -0
- package/dist/collection/assets/data-table.js +518 -45
- 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/dialog/kup-card-dialog.js +18 -0
- package/dist/collection/components/kup-card/kup-card-helper.js +19 -1
- package/dist/collection/components/kup-card/kup-card.css +147 -216
- package/dist/collection/components/kup-card/kup-card.js +80 -29
- 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 +3 -1
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +61 -102
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.css +127 -3203
- package/dist/collection/components/kup-data-table/kup-data-table.js +568 -1085
- package/dist/collection/components/kup-date-picker/kup-date-picker.css +6 -8
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +77 -106
- 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 +3 -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 +6 -0
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +55 -85
- 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 +158 -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 +467 -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 +76 -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-9a2914fc.js +160 -0
- package/dist/esm/f-button-55a9ed88.js +103 -0
- package/dist/esm/f-cell-ac520cb2.js +723 -0
- package/dist/esm/f-chip-babf1740.js +139 -0
- package/dist/esm/{f-image-68b34fab.js → f-image-70ca9dfe.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} +1451 -2330
- 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-bba32828.js +5781 -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-cfcbe33f.js} +16 -23
- 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-03ae1be9.entry.js +1 -0
- package/dist/ketchup/p-06c209a5.js +1 -0
- package/dist/ketchup/p-1ce9a037.js +1 -0
- package/dist/ketchup/p-1e2c3497.js +1 -0
- package/dist/ketchup/p-40df35de.entry.js +1 -0
- package/dist/ketchup/{p-c7ee1fbc.js → p-4748be4b.js} +2 -2
- package/dist/ketchup/p-52038ccb.js +1 -0
- package/dist/ketchup/p-5db41fae.entry.js +45 -0
- package/dist/ketchup/p-5faf7715.entry.js +1 -0
- package/dist/ketchup/p-62208488.entry.js +1 -0
- package/dist/ketchup/p-69a705ae.entry.js +1 -0
- package/dist/ketchup/p-6cc8264d.entry.js +1 -0
- package/dist/ketchup/p-74259992.entry.js +1 -0
- package/dist/ketchup/p-756aa8b1.entry.js +1 -0
- package/dist/ketchup/p-a7687c0e.entry.js +27 -0
- package/dist/ketchup/p-cb5f4994.js +1 -0
- package/dist/ketchup/p-d58dbf0e.js +1 -0
- package/dist/ketchup/p-d6ce1ac6.entry.js +1 -0
- package/dist/ketchup/p-daf03877.entry.js +1 -0
- package/dist/ketchup/p-e90934b5.entry.js +1 -0
- package/dist/ketchup/p-ea387b49.entry.js +1 -0
- package/dist/ketchup/p-f6bff949.js +1 -0
- package/dist/ketchup/p-ff7d590e.entry.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/dialog/kup-card-dialog.d.ts +6 -0
- package/dist/types/components/kup-card/kup-card.d.ts +9 -0
- 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 +21 -32
- 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-state.d.ts +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +32 -81
- package/dist/types/components/kup-date-picker/kup-date-picker.d.ts +12 -14
- 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 +8 -11
- 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 +346 -174
- 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
|
@@ -1,202 +1,3 @@
|
|
|
1
|
-
@keyframes mdc-ripple-fg-radius-in {
|
|
2
|
-
from {
|
|
3
|
-
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
4
|
-
transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
@keyframes mdc-ripple-fg-opacity-in {
|
|
11
|
-
from {
|
|
12
|
-
animation-timing-function: linear;
|
|
13
|
-
opacity: 0;
|
|
14
|
-
}
|
|
15
|
-
to {
|
|
16
|
-
opacity: var(--mdc-ripple-fg-opacity, 0);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
@keyframes mdc-ripple-fg-opacity-out {
|
|
20
|
-
from {
|
|
21
|
-
animation-timing-function: linear;
|
|
22
|
-
opacity: var(--mdc-ripple-fg-opacity, 0);
|
|
23
|
-
}
|
|
24
|
-
to {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
.mdc-ripple-surface {
|
|
29
|
-
--mdc-ripple-fg-size: 0;
|
|
30
|
-
--mdc-ripple-left: 0;
|
|
31
|
-
--mdc-ripple-top: 0;
|
|
32
|
-
--mdc-ripple-fg-scale: 1;
|
|
33
|
-
--mdc-ripple-fg-translate-end: 0;
|
|
34
|
-
--mdc-ripple-fg-translate-start: 0;
|
|
35
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
36
|
-
will-change: transform, opacity;
|
|
37
|
-
position: relative;
|
|
38
|
-
outline: none;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
43
|
-
position: absolute;
|
|
44
|
-
border-radius: 50%;
|
|
45
|
-
opacity: 0;
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
content: "";
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.mdc-ripple-surface::before {
|
|
51
|
-
transition: opacity 15ms linear, background-color 15ms linear;
|
|
52
|
-
z-index: 1;
|
|
53
|
-
/* @alternate */
|
|
54
|
-
z-index: var(--mdc-ripple-z-index, 1);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.mdc-ripple-surface::after {
|
|
58
|
-
z-index: 0;
|
|
59
|
-
/* @alternate */
|
|
60
|
-
z-index: var(--mdc-ripple-z-index, 0);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::before {
|
|
64
|
-
transform: scale(var(--mdc-ripple-fg-scale, 1));
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::after {
|
|
68
|
-
top: 0;
|
|
69
|
-
/* @noflip */
|
|
70
|
-
left: 0;
|
|
71
|
-
transform: scale(0);
|
|
72
|
-
transform-origin: center center;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {
|
|
76
|
-
top: var(--mdc-ripple-top, 0);
|
|
77
|
-
/* @noflip */
|
|
78
|
-
left: var(--mdc-ripple-left, 0);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {
|
|
82
|
-
animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {
|
|
86
|
-
animation: mdc-ripple-fg-opacity-out 150ms;
|
|
87
|
-
transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
91
|
-
background-color: #000;
|
|
92
|
-
/* @alternate */
|
|
93
|
-
background-color: var(--mdc-ripple-color, #000);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.mdc-ripple-surface:hover::before, .mdc-ripple-surface.mdc-ripple-surface--hover::before {
|
|
97
|
-
opacity: 0.04;
|
|
98
|
-
/* @alternate */
|
|
99
|
-
opacity: var(--mdc-ripple-hover-opacity, 0.04);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before, .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before {
|
|
103
|
-
transition-duration: 75ms;
|
|
104
|
-
opacity: 0.12;
|
|
105
|
-
/* @alternate */
|
|
106
|
-
opacity: var(--mdc-ripple-focus-opacity, 0.12);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {
|
|
110
|
-
transition: opacity 150ms linear;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {
|
|
114
|
-
transition-duration: 75ms;
|
|
115
|
-
opacity: 0.12;
|
|
116
|
-
/* @alternate */
|
|
117
|
-
opacity: var(--mdc-ripple-press-opacity, 0.12);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.mdc-ripple-surface.mdc-ripple-upgraded {
|
|
121
|
-
--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, 0.12);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.mdc-ripple-surface::before, .mdc-ripple-surface::after {
|
|
125
|
-
top: calc(50% - 100%);
|
|
126
|
-
/* @noflip */
|
|
127
|
-
left: calc(50% - 100%);
|
|
128
|
-
width: 200%;
|
|
129
|
-
height: 200%;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.mdc-ripple-surface.mdc-ripple-upgraded::after {
|
|
133
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
134
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded],
|
|
138
|
-
.mdc-ripple-upgraded--unbounded {
|
|
139
|
-
overflow: visible;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,
|
|
143
|
-
.mdc-ripple-upgraded--unbounded::before,
|
|
144
|
-
.mdc-ripple-upgraded--unbounded::after {
|
|
145
|
-
top: calc(50% - 50%);
|
|
146
|
-
/* @noflip */
|
|
147
|
-
left: calc(50% - 50%);
|
|
148
|
-
width: 100%;
|
|
149
|
-
height: 100%;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,
|
|
153
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,
|
|
154
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {
|
|
155
|
-
top: var(--mdc-ripple-top, calc(50% - 50%));
|
|
156
|
-
/* @noflip */
|
|
157
|
-
left: var(--mdc-ripple-left, calc(50% - 50%));
|
|
158
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
159
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,
|
|
163
|
-
.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after {
|
|
164
|
-
width: var(--mdc-ripple-fg-size, 100%);
|
|
165
|
-
height: var(--mdc-ripple-fg-size, 100%);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.f-image--wrapper {
|
|
169
|
-
display: block;
|
|
170
|
-
margin: auto;
|
|
171
|
-
position: relative;
|
|
172
|
-
height: var(--kup_image_height, 100%);
|
|
173
|
-
width: var(--kup_image_width, 100%);
|
|
174
|
-
}
|
|
175
|
-
.f-image--wrapper.kup-fit img {
|
|
176
|
-
max-width: max-content;
|
|
177
|
-
object-fit: contain;
|
|
178
|
-
}
|
|
179
|
-
.f-image--wrapper img {
|
|
180
|
-
display: block;
|
|
181
|
-
margin: auto;
|
|
182
|
-
height: var(--kup_image_height, 100%);
|
|
183
|
-
width: var(--kup_image_width, 100%);
|
|
184
|
-
}
|
|
185
|
-
.f-image--wrapper .f-image__css {
|
|
186
|
-
overflow: hidden;
|
|
187
|
-
height: var(--kup_image_height, 100%);
|
|
188
|
-
width: var(--kup_image_width, 100%);
|
|
189
|
-
}
|
|
190
|
-
.f-image--wrapper .f-image__icon {
|
|
191
|
-
margin: auto;
|
|
192
|
-
height: var(--kup_image_height, 100%);
|
|
193
|
-
width: var(--kup_image_width, 100%);
|
|
194
|
-
}
|
|
195
|
-
.f-image--wrapper .css-step.bottom-aligned {
|
|
196
|
-
bottom: 0;
|
|
197
|
-
position: absolute;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
1
|
.collapsible-layout-1 {
|
|
201
2
|
color: var(--kup-text-color);
|
|
202
3
|
box-shadow: 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);
|
|
@@ -340,6 +141,7 @@
|
|
|
340
141
|
height: 100%;
|
|
341
142
|
padding: 0.5em;
|
|
342
143
|
overflow: auto;
|
|
144
|
+
touch-action: none;
|
|
343
145
|
}
|
|
344
146
|
.dialog-layout-1 .section-1 .text {
|
|
345
147
|
min-width: max-content;
|
|
@@ -358,6 +160,7 @@
|
|
|
358
160
|
}
|
|
359
161
|
.dialog-layout-2 .section-1 {
|
|
360
162
|
text-align: center;
|
|
163
|
+
touch-action: none;
|
|
361
164
|
padding-bottom: 1em;
|
|
362
165
|
}
|
|
363
166
|
.dialog-layout-2 .section-1 .text {
|
|
@@ -375,6 +178,7 @@
|
|
|
375
178
|
height: 100%;
|
|
376
179
|
padding: 0.5em;
|
|
377
180
|
overflow: auto;
|
|
181
|
+
touch-action: none;
|
|
378
182
|
}
|
|
379
183
|
.dialog-layout-2 .section-2 .text {
|
|
380
184
|
min-width: max-content;
|
|
@@ -389,7 +193,7 @@
|
|
|
389
193
|
box-sizing: border-box;
|
|
390
194
|
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
391
195
|
display: flex;
|
|
392
|
-
overflow:
|
|
196
|
+
overflow: visible;
|
|
393
197
|
flex-direction: column;
|
|
394
198
|
height: 100%;
|
|
395
199
|
position: relative;
|
|
@@ -408,6 +212,7 @@
|
|
|
408
212
|
height: 52px;
|
|
409
213
|
width: 100%;
|
|
410
214
|
text-align: right;
|
|
215
|
+
touch-action: none;
|
|
411
216
|
}
|
|
412
217
|
.dialog-layout-3 .section-1 kup-button {
|
|
413
218
|
margin-right: 0.25em;
|
|
@@ -441,6 +246,8 @@
|
|
|
441
246
|
.dialog-layout-4 .section-2 {
|
|
442
247
|
height: 100%;
|
|
443
248
|
overflow: auto;
|
|
249
|
+
padding: 0.25em;
|
|
250
|
+
touch-action: none;
|
|
444
251
|
}
|
|
445
252
|
|
|
446
253
|
.dialog-layout-5 {
|
|
@@ -460,6 +267,37 @@
|
|
|
460
267
|
overflow: auto;
|
|
461
268
|
}
|
|
462
269
|
|
|
270
|
+
.dialog-layout-6 {
|
|
271
|
+
background-color: var(--kup-background-color);
|
|
272
|
+
box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
|
|
273
|
+
display: flex;
|
|
274
|
+
flex-direction: column;
|
|
275
|
+
height: 100%;
|
|
276
|
+
max-height: 95vh;
|
|
277
|
+
max-width: 95vw;
|
|
278
|
+
width: 100%;
|
|
279
|
+
}
|
|
280
|
+
.dialog-layout-6 .section-1 {
|
|
281
|
+
display: flex;
|
|
282
|
+
height: 100%;
|
|
283
|
+
justify-content: space-evenly;
|
|
284
|
+
overflow: auto;
|
|
285
|
+
}
|
|
286
|
+
.dialog-layout-6 kup-data-table {
|
|
287
|
+
width: 100%;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
#drag-handle {
|
|
291
|
+
-ms-touch-action: none;
|
|
292
|
+
touch-action: none;
|
|
293
|
+
}
|
|
294
|
+
#drag-handle:not(.header-bar) {
|
|
295
|
+
display: flex;
|
|
296
|
+
height: 100%;
|
|
297
|
+
}
|
|
298
|
+
#drag-handle:not(.header-bar) .f-image {
|
|
299
|
+
margin: auto;
|
|
300
|
+
}
|
|
463
301
|
#drag-handle.header-bar {
|
|
464
302
|
background-color: var(--kup-title-background-color);
|
|
465
303
|
color: var(--kup-title-color);
|
|
@@ -1547,6 +1385,7 @@
|
|
|
1547
1385
|
margin-bottom: 0.5em;
|
|
1548
1386
|
}
|
|
1549
1387
|
.standard-layout-12 .section-3 {
|
|
1388
|
+
backface-visibility: hidden;
|
|
1550
1389
|
display: flex;
|
|
1551
1390
|
flex-direction: column;
|
|
1552
1391
|
max-height: 20vh;
|
|
@@ -1622,7 +1461,7 @@
|
|
|
1622
1461
|
width: 88px;
|
|
1623
1462
|
margin: 0 10px;
|
|
1624
1463
|
}
|
|
1625
|
-
.standard-layout-14 .section-1 .f-image
|
|
1464
|
+
.standard-layout-14 .section-1 .f-image {
|
|
1626
1465
|
margin: 0 0.5em 0 0;
|
|
1627
1466
|
}
|
|
1628
1467
|
.standard-layout-14 .section-1 .title {
|
|
@@ -1659,6 +1498,7 @@
|
|
|
1659
1498
|
margin: 0;
|
|
1660
1499
|
}
|
|
1661
1500
|
.standard-layout-14 .sub-checkbox {
|
|
1501
|
+
backface-visibility: hidden;
|
|
1662
1502
|
display: flex;
|
|
1663
1503
|
flex-direction: column;
|
|
1664
1504
|
max-height: 20vh;
|
|
@@ -1718,6 +1558,110 @@
|
|
|
1718
1558
|
display: inline-flex;
|
|
1719
1559
|
}
|
|
1720
1560
|
|
|
1561
|
+
.standard-layout-15 {
|
|
1562
|
+
outline: none;
|
|
1563
|
+
display: block;
|
|
1564
|
+
font-size: var(--kup-font-size);
|
|
1565
|
+
background: var(--kup-background-color);
|
|
1566
|
+
color: var(--kup-text-color);
|
|
1567
|
+
box-shadow: var(--kup-box-shadow);
|
|
1568
|
+
border-radius: 3px;
|
|
1569
|
+
min-width: 350px;
|
|
1570
|
+
max-width: 700px;
|
|
1571
|
+
}
|
|
1572
|
+
.standard-layout-15 .section-1 {
|
|
1573
|
+
box-sizing: border-box;
|
|
1574
|
+
display: flex;
|
|
1575
|
+
padding: 1em;
|
|
1576
|
+
}
|
|
1577
|
+
.standard-layout-15 .section-1 .sub-1 {
|
|
1578
|
+
width: 100%;
|
|
1579
|
+
}
|
|
1580
|
+
.standard-layout-15 .section-1 .sub-spinner {
|
|
1581
|
+
height: 88px;
|
|
1582
|
+
width: 88px;
|
|
1583
|
+
margin: 0 10px;
|
|
1584
|
+
}
|
|
1585
|
+
.standard-layout-15 .section-1 .f-image {
|
|
1586
|
+
margin: 0 0.5em 0 0;
|
|
1587
|
+
}
|
|
1588
|
+
.standard-layout-15 .section-1 .title {
|
|
1589
|
+
font-size: 1.25em;
|
|
1590
|
+
padding: 0 0.25em 0.25em;
|
|
1591
|
+
text-align: left;
|
|
1592
|
+
}
|
|
1593
|
+
.standard-layout-15 .section-1 .title .label {
|
|
1594
|
+
cursor: pointer;
|
|
1595
|
+
padding-right: 0.25em;
|
|
1596
|
+
}
|
|
1597
|
+
.standard-layout-15 .section-1 .title .label:hover {
|
|
1598
|
+
text-decoration: underline;
|
|
1599
|
+
}
|
|
1600
|
+
.standard-layout-15 .section-1 .info {
|
|
1601
|
+
display: flex;
|
|
1602
|
+
padding: 0 0.25em 0.25em;
|
|
1603
|
+
width: 100%;
|
|
1604
|
+
}
|
|
1605
|
+
.standard-layout-15 .section-1 .info .label {
|
|
1606
|
+
color: rgba(var(--kup-text-color-rgb), 0.75);
|
|
1607
|
+
margin-right: 0.75em;
|
|
1608
|
+
min-width: max-content;
|
|
1609
|
+
width: auto;
|
|
1610
|
+
}
|
|
1611
|
+
.standard-layout-15 .section-1 .info .value {
|
|
1612
|
+
width: 100%;
|
|
1613
|
+
}
|
|
1614
|
+
.standard-layout-15 .section-2 {
|
|
1615
|
+
border-top: 1px solid var(--kup-border-color);
|
|
1616
|
+
box-sizing: border-box;
|
|
1617
|
+
height: 180px;
|
|
1618
|
+
opacity: 1;
|
|
1619
|
+
overflow: auto;
|
|
1620
|
+
transition: height 250ms ease-out, opacity 250ms ease-out;
|
|
1621
|
+
}
|
|
1622
|
+
.standard-layout-15 .section-2 .info {
|
|
1623
|
+
box-sizing: border-box;
|
|
1624
|
+
height: 100%;
|
|
1625
|
+
padding: 1.25em;
|
|
1626
|
+
}
|
|
1627
|
+
.standard-layout-15 .section-2 .detail-row {
|
|
1628
|
+
display: flex;
|
|
1629
|
+
justify-content: space-between;
|
|
1630
|
+
}
|
|
1631
|
+
.standard-layout-15 .section-2 .detail-row:not(:last-child) {
|
|
1632
|
+
margin-bottom: 6px;
|
|
1633
|
+
}
|
|
1634
|
+
.standard-layout-15 .section-2 .detail-row__label {
|
|
1635
|
+
color: rgba(var(--kup-text-color-rgb), 0.5);
|
|
1636
|
+
margin-top: 0.175em;
|
|
1637
|
+
max-width: 320px;
|
|
1638
|
+
}
|
|
1639
|
+
.standard-layout-15 .section-2 .detail-row__value {
|
|
1640
|
+
color: var(--kup-text-color);
|
|
1641
|
+
font-size: 120%;
|
|
1642
|
+
max-width: 320px;
|
|
1643
|
+
}
|
|
1644
|
+
.standard-layout-15 .section-2 kup-tree {
|
|
1645
|
+
text-align: left;
|
|
1646
|
+
}
|
|
1647
|
+
.standard-layout-15 .section-3 {
|
|
1648
|
+
border-top: 1px solid var(--kup-border-color);
|
|
1649
|
+
display: flex;
|
|
1650
|
+
justify-content: flex-end;
|
|
1651
|
+
padding: 6px;
|
|
1652
|
+
padding-top: 2px;
|
|
1653
|
+
padding-bottom: 2px;
|
|
1654
|
+
}
|
|
1655
|
+
.standard-layout-15 .section-3 kup-button {
|
|
1656
|
+
margin: auto 0;
|
|
1657
|
+
}
|
|
1658
|
+
.standard-layout-15 #open-in-new,
|
|
1659
|
+
.standard-layout-15 #search,
|
|
1660
|
+
.standard-layout-15 #new {
|
|
1661
|
+
margin: 0;
|
|
1662
|
+
display: inline-flex;
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1721
1665
|
/**
|
|
1722
1666
|
* @prop --kup-card-ripple-color: Sets color of ripple effect (for Material layouts).
|
|
1723
1667
|
*/
|
|
@@ -1764,22 +1708,9 @@
|
|
|
1764
1708
|
.card-view {
|
|
1765
1709
|
animation: fade-in 0.25s ease-out;
|
|
1766
1710
|
display: none;
|
|
1711
|
+
height: 100%;
|
|
1712
|
+
width: 100%;
|
|
1767
1713
|
}
|
|
1768
1714
|
.card-view.visible {
|
|
1769
1715
|
display: block;
|
|
1770
|
-
}
|
|
1771
|
-
|
|
1772
|
-
@keyframes fade-in {
|
|
1773
|
-
0% {
|
|
1774
|
-
display: none;
|
|
1775
|
-
opacity: 0;
|
|
1776
|
-
}
|
|
1777
|
-
1% {
|
|
1778
|
-
display: block;
|
|
1779
|
-
opacity: 0;
|
|
1780
|
-
}
|
|
1781
|
-
100% {
|
|
1782
|
-
display: block;
|
|
1783
|
-
opacity: 1;
|
|
1784
|
-
}
|
|
1785
1716
|
}
|
|
@@ -85,6 +85,13 @@ export class KupCard {
|
|
|
85
85
|
id: id,
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
+
onKupClose(id) {
|
|
89
|
+
this.kupClose.emit({
|
|
90
|
+
comp: this,
|
|
91
|
+
id: id,
|
|
92
|
+
});
|
|
93
|
+
this.rootElement.remove();
|
|
94
|
+
}
|
|
88
95
|
onKupEvent(e) {
|
|
89
96
|
layoutSpecificEvents(this, e);
|
|
90
97
|
this.kupEvent.emit({
|
|
@@ -138,7 +145,7 @@ export class KupCard {
|
|
|
138
145
|
// The dialog "X" button.
|
|
139
146
|
const dialogClose = root.querySelector('#' + KupCardIds.DIALOG_CLOSE);
|
|
140
147
|
if (dialogClose) {
|
|
141
|
-
dialogClose.onclick = () => this.
|
|
148
|
+
dialogClose.onclick = () => this.onKupClose(KupCardIds.DIALOG_CLOSE);
|
|
142
149
|
}
|
|
143
150
|
// When an element can be clicked. Ideally anchors/links.
|
|
144
151
|
const links = root.querySelectorAll('.' + KupCardCSSClasses.CLICKABLE_LINK);
|
|
@@ -216,8 +223,8 @@ export class KupCard {
|
|
|
216
223
|
const card = this.rootElement;
|
|
217
224
|
const dragHandle = root.querySelector('#' + KupCardIds.DRAG_HANDLE);
|
|
218
225
|
const unresizable = !!root.querySelector('.' + KupCardCSSClasses.DIALOG_UNRESIZABLE);
|
|
219
|
-
if (!this.kupManager.
|
|
220
|
-
this.kupManager.
|
|
226
|
+
if (!this.kupManager.interact.isRegistered(card)) {
|
|
227
|
+
this.kupManager.interact.dialogify(card, dragHandle ? dragHandle : null, unresizable);
|
|
221
228
|
}
|
|
222
229
|
}
|
|
223
230
|
}
|
|
@@ -267,6 +274,7 @@ export class KupCard {
|
|
|
267
274
|
root.addEventListener('kup-chip-iconclick', this.cardEvent);
|
|
268
275
|
root.addEventListener('kup-combobox-itemclick', this.cardEvent);
|
|
269
276
|
root.addEventListener('kup-datatable-cellupdate', this.cardEvent);
|
|
277
|
+
root.addEventListener('kup-datatable-rowselected', this.cardEvent);
|
|
270
278
|
root.addEventListener('kup-datepicker-cleariconclick', this.cardEvent);
|
|
271
279
|
root.addEventListener('kup-datepicker-input', this.cardEvent);
|
|
272
280
|
root.addEventListener('kup-datepicker-itemclick', this.cardEvent);
|
|
@@ -358,6 +366,10 @@ export class KupCard {
|
|
|
358
366
|
MDCRipple.attachTo(rippleEl);
|
|
359
367
|
}
|
|
360
368
|
this.kupManager.resize.observe(this.rootElement);
|
|
369
|
+
this.kupReady.emit({
|
|
370
|
+
comp: this,
|
|
371
|
+
id: this.rootElement.id,
|
|
372
|
+
});
|
|
361
373
|
this.kupManager.debug.logLoad(this, true);
|
|
362
374
|
}
|
|
363
375
|
componentWillRender() {
|
|
@@ -384,16 +396,15 @@ export class KupCard {
|
|
|
384
396
|
'--kup_card_height': this.sizeY ? this.sizeY : '100%',
|
|
385
397
|
'--kup_card_width': this.sizeX ? this.sizeX : '100%',
|
|
386
398
|
};
|
|
387
|
-
const customStyle = this.kupManager.theme.setCustomStyle(this.rootElement);
|
|
388
399
|
return (h(Host, { style: style },
|
|
389
|
-
|
|
400
|
+
h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)),
|
|
390
401
|
h("div", { id: componentWrapperId, onClick: () => this.onKupClick(null) }, this.getLayout())));
|
|
391
402
|
}
|
|
392
403
|
disconnectedCallback() {
|
|
404
|
+
this.kupManager.interact.unregister([this.rootElement]);
|
|
393
405
|
this.kupManager.language.unregister(this);
|
|
394
|
-
this.kupManager.theme.unregister(this);
|
|
395
|
-
this.kupManager.dialog.unregister([this.rootElement]);
|
|
396
406
|
this.kupManager.resize.unobserve(this.rootElement);
|
|
407
|
+
this.kupManager.theme.unregister(this);
|
|
397
408
|
}
|
|
398
409
|
static get is() { return "kup-card"; }
|
|
399
410
|
static get encapsulation() { return "shadow"; }
|
|
@@ -416,11 +427,11 @@ export class KupCard {
|
|
|
416
427
|
"optional": false,
|
|
417
428
|
"docs": {
|
|
418
429
|
"tags": [{
|
|
419
|
-
"
|
|
420
|
-
"
|
|
430
|
+
"name": "default",
|
|
431
|
+
"text": "\"\""
|
|
421
432
|
}, {
|
|
422
|
-
"
|
|
423
|
-
"
|
|
433
|
+
"name": "see",
|
|
434
|
+
"text": "https://ketchup.smeup.com/ketchup-showcase/#/customization"
|
|
424
435
|
}],
|
|
425
436
|
"text": "Custom style of the component."
|
|
426
437
|
},
|
|
@@ -445,8 +456,8 @@ export class KupCard {
|
|
|
445
456
|
"optional": false,
|
|
446
457
|
"docs": {
|
|
447
458
|
"tags": [{
|
|
448
|
-
"
|
|
449
|
-
"
|
|
459
|
+
"name": "default",
|
|
460
|
+
"text": "null"
|
|
450
461
|
}],
|
|
451
462
|
"text": "The actual data of the card."
|
|
452
463
|
},
|
|
@@ -464,8 +475,8 @@ export class KupCard {
|
|
|
464
475
|
"optional": false,
|
|
465
476
|
"docs": {
|
|
466
477
|
"tags": [{
|
|
467
|
-
"
|
|
468
|
-
"
|
|
478
|
+
"name": "default",
|
|
479
|
+
"text": "false"
|
|
469
480
|
}],
|
|
470
481
|
"text": "Defines whether the card is a menu or not.\nWorks together with menuVisible."
|
|
471
482
|
},
|
|
@@ -490,8 +501,8 @@ export class KupCard {
|
|
|
490
501
|
"optional": false,
|
|
491
502
|
"docs": {
|
|
492
503
|
"tags": [{
|
|
493
|
-
"
|
|
494
|
-
"
|
|
504
|
+
"name": "default",
|
|
505
|
+
"text": "KupCardFamily.STANDARD"
|
|
495
506
|
}],
|
|
496
507
|
"text": "Sets the type of the card."
|
|
497
508
|
},
|
|
@@ -511,8 +522,8 @@ export class KupCard {
|
|
|
511
522
|
"optional": false,
|
|
512
523
|
"docs": {
|
|
513
524
|
"tags": [{
|
|
514
|
-
"
|
|
515
|
-
"
|
|
525
|
+
"name": "default",
|
|
526
|
+
"text": "1"
|
|
516
527
|
}],
|
|
517
528
|
"text": "Sets the number of the layout."
|
|
518
529
|
},
|
|
@@ -532,8 +543,8 @@ export class KupCard {
|
|
|
532
543
|
"optional": false,
|
|
533
544
|
"docs": {
|
|
534
545
|
"tags": [{
|
|
535
|
-
"
|
|
536
|
-
"
|
|
546
|
+
"name": "default",
|
|
547
|
+
"text": "false"
|
|
537
548
|
}],
|
|
538
549
|
"text": "Sets the status of the card as menu, when false it's hidden otherwise it's visible.\nWorks together with isMenu."
|
|
539
550
|
},
|
|
@@ -553,8 +564,8 @@ export class KupCard {
|
|
|
553
564
|
"optional": false,
|
|
554
565
|
"docs": {
|
|
555
566
|
"tags": [{
|
|
556
|
-
"
|
|
557
|
-
"
|
|
567
|
+
"name": "default",
|
|
568
|
+
"text": "\"100%\""
|
|
558
569
|
}],
|
|
559
570
|
"text": "The width of the card, defaults to 100%. Accepts any valid CSS format (px, %, vw, etc.)."
|
|
560
571
|
},
|
|
@@ -574,8 +585,8 @@ export class KupCard {
|
|
|
574
585
|
"optional": false,
|
|
575
586
|
"docs": {
|
|
576
587
|
"tags": [{
|
|
577
|
-
"
|
|
578
|
-
"
|
|
588
|
+
"name": "default",
|
|
589
|
+
"text": "\"100%\""
|
|
579
590
|
}],
|
|
580
591
|
"text": "The height of the card, defaults to 100%. Accepts any valid CSS format (px, %, vh, etc.)."
|
|
581
592
|
},
|
|
@@ -604,6 +615,26 @@ export class KupCard {
|
|
|
604
615
|
}
|
|
605
616
|
}
|
|
606
617
|
}
|
|
618
|
+
}, {
|
|
619
|
+
"method": "kupClose",
|
|
620
|
+
"name": "kup-card-close",
|
|
621
|
+
"bubbles": true,
|
|
622
|
+
"cancelable": false,
|
|
623
|
+
"composed": true,
|
|
624
|
+
"docs": {
|
|
625
|
+
"tags": [],
|
|
626
|
+
"text": "Triggered when a dialog card is closed with the \"X\"."
|
|
627
|
+
},
|
|
628
|
+
"complexType": {
|
|
629
|
+
"original": "KupEventPayload",
|
|
630
|
+
"resolved": "KupEventPayload",
|
|
631
|
+
"references": {
|
|
632
|
+
"KupEventPayload": {
|
|
633
|
+
"location": "import",
|
|
634
|
+
"path": "../../types/GenericTypes"
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
}
|
|
607
638
|
}, {
|
|
608
639
|
"method": "kupEvent",
|
|
609
640
|
"name": "kup-card-event",
|
|
@@ -624,6 +655,26 @@ export class KupCard {
|
|
|
624
655
|
}
|
|
625
656
|
}
|
|
626
657
|
}
|
|
658
|
+
}, {
|
|
659
|
+
"method": "kupReady",
|
|
660
|
+
"name": "kup-card-ready",
|
|
661
|
+
"bubbles": true,
|
|
662
|
+
"cancelable": false,
|
|
663
|
+
"composed": true,
|
|
664
|
+
"docs": {
|
|
665
|
+
"tags": [],
|
|
666
|
+
"text": "Triggered when the component is ready."
|
|
667
|
+
},
|
|
668
|
+
"complexType": {
|
|
669
|
+
"original": "KupEventPayload",
|
|
670
|
+
"resolved": "KupEventPayload",
|
|
671
|
+
"references": {
|
|
672
|
+
"KupEventPayload": {
|
|
673
|
+
"location": "import",
|
|
674
|
+
"path": "../../types/GenericTypes"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
627
678
|
}]; }
|
|
628
679
|
static get methods() { return {
|
|
629
680
|
"getProps": {
|
|
@@ -631,8 +682,8 @@ export class KupCard {
|
|
|
631
682
|
"signature": "(descriptions?: boolean) => Promise<GenericObject>",
|
|
632
683
|
"parameters": [{
|
|
633
684
|
"tags": [{
|
|
634
|
-
"
|
|
635
|
-
"
|
|
685
|
+
"name": "param",
|
|
686
|
+
"text": "descriptions - When provided and true, the result will be the list of props with their description."
|
|
636
687
|
}],
|
|
637
688
|
"text": "- When provided and true, the result will be the list of props with their description."
|
|
638
689
|
}],
|
|
@@ -695,8 +746,8 @@ export class KupCard {
|
|
|
695
746
|
"signature": "(props: GenericObject) => Promise<void>",
|
|
696
747
|
"parameters": [{
|
|
697
748
|
"tags": [{
|
|
698
|
-
"
|
|
699
|
-
"
|
|
749
|
+
"name": "param",
|
|
750
|
+
"text": "props - Object containing props that will be set to the component."
|
|
700
751
|
}],
|
|
701
752
|
"text": "- Object containing props that will be set to the component."
|
|
702
753
|
}],
|