@sme.up/ketchup 6.7.0 → 6.9.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/dist/cjs/{f-button-bf76ab95.js → f-button-e48df7ac.js} +1 -1
- package/dist/cjs/{f-cell-b7a1524a.js → f-cell-73b2fd86.js} +5 -5
- package/dist/cjs/{f-chip-a5e100b1.js → f-chip-1d499dc9.js} +2 -2
- package/dist/cjs/{f-image-d80a2749.js → f-image-9be73458.js} +1 -1
- package/dist/cjs/{f-paginator-utils-c70812fe.js → f-paginator-utils-b1f44f04.js} +2 -2
- package/dist/cjs/{f-text-field-48b8bb16.js → f-text-field-43439612.js} +1 -1
- package/dist/cjs/ketchup.cjs.js +2 -2
- package/dist/cjs/kup-accordion.cjs.entry.js +6 -29
- package/dist/cjs/{kup-autocomplete_25.cjs.entry.js → kup-autocomplete_26.cjs.entry.js} +3792 -4304
- package/dist/cjs/kup-box.cjs.entry.js +29 -110
- package/dist/cjs/kup-calendar.cjs.entry.js +9 -33
- package/dist/cjs/kup-cell.cjs.entry.js +8 -27
- package/dist/cjs/kup-dash-list.cjs.entry.js +9 -8
- package/dist/cjs/kup-dash_2.cjs.entry.js +6 -34
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -30
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -18
- package/dist/cjs/kup-echart.cjs.entry.js +15 -76
- package/dist/cjs/kup-family-tree.cjs.entry.js +11 -47
- package/dist/cjs/kup-iframe.cjs.entry.js +4 -16
- package/dist/cjs/kup-image-list.cjs.entry.js +14 -32
- package/dist/cjs/kup-lazy.cjs.entry.js +9 -36
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -24
- package/dist/cjs/{kup-manager-0e38bf48.js → kup-manager-58ba55f4.js} +70 -2
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -15
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +13 -56
- package/dist/cjs/kup-photo-frame.cjs.entry.js +8 -30
- package/dist/cjs/kup-probe.cjs.entry.js +12 -32
- package/dist/cjs/kup-qlik.cjs.entry.js +5 -59
- package/dist/cjs/kup-snackbar.cjs.entry.js +6 -37
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/data-table.js +0 -44
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/kup-accordion/kup-accordion.js +4 -27
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +15 -64
- package/dist/collection/components/kup-badge/kup-badge.js +3 -19
- package/dist/collection/components/kup-box/kup-box.js +22 -103
- package/dist/collection/components/kup-button/kup-button.js +3 -58
- package/dist/collection/components/kup-button-list/kup-button-list.js +3 -38
- package/dist/collection/components/kup-calendar/kup-calendar.js +5 -29
- package/dist/collection/components/kup-card/box/kup-card-box.js +5 -2
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +10 -2
- package/dist/collection/components/kup-card/built-in/kup-card-form.js +11 -0
- package/dist/collection/components/kup-card/kup-card.css +78 -12
- package/dist/collection/components/kup-card/kup-card.js +48 -47
- package/dist/collection/components/kup-cell/kup-cell.js +3 -22
- package/dist/collection/components/kup-chart/kup-chart.js +15 -49
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +3 -38
- package/dist/collection/components/kup-chip/kup-chip.js +5 -21
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +4 -35
- package/dist/collection/components/kup-combobox/kup-combobox.js +10 -42
- package/dist/collection/components/kup-dash/kup-dash.js +2 -14
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +8 -7
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +4 -26
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +2 -0
- 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 +9 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +3546 -3385
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +7 -35
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -17
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +12 -63
- package/dist/collection/components/kup-echart/kup-echart.js +14 -75
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +8 -44
- package/dist/collection/components/kup-form/kup-form.js +4 -24
- package/dist/collection/components/kup-gauge/kup-gauge.js +15 -76
- package/dist/collection/components/kup-grid/kup-grid.js +3 -19
- package/dist/collection/components/kup-iframe/kup-iframe.js +3 -15
- package/dist/collection/components/kup-image/kup-image.js +5 -45
- package/dist/collection/components/kup-image-list/kup-image-list.js +8 -26
- package/dist/collection/components/kup-lazy/kup-lazy.js +8 -35
- package/dist/collection/components/kup-list/kup-list.js +5 -68
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -22
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +2 -14
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +11 -54
- package/dist/collection/components/kup-photo-frame/kup-photo-frame.js +7 -29
- package/dist/collection/components/kup-probe/kup-probe.js +11 -31
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +3 -35
- package/dist/collection/components/kup-qlik/kup-qlik.js +4 -58
- package/dist/collection/components/kup-radio/kup-radio.js +3 -34
- package/dist/collection/components/kup-rating/kup-rating.js +4 -27
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +3 -34
- package/dist/collection/components/kup-spinner/kup-spinner.js +3 -39
- package/dist/collection/components/kup-switch/kup-switch.js +3 -34
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +4 -24
- package/dist/collection/components/kup-text-field/kup-text-field.js +2 -115
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +8 -43
- package/dist/collection/components/kup-tree/kup-tree.js +39 -129
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/managers/kup-data/kup-data-column-helper.js +4 -1
- package/dist/collection/managers/kup-language/kup-language-declarations.js +6 -0
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +1 -1
- package/dist/components/index.d.ts +68 -0
- package/dist/components/index.js +48 -0
- package/dist/components/kup-accordion.d.ts +11 -0
- package/dist/components/kup-accordion.js +363 -0
- package/dist/components/kup-autocomplete.d.ts +11 -0
- package/dist/components/kup-autocomplete.js +6 -0
- package/dist/components/kup-autocomplete2.js +45995 -0
- package/dist/components/kup-badge.d.ts +11 -0
- package/dist/components/kup-badge.js +6 -0
- package/dist/components/kup-box.d.ts +11 -0
- package/dist/components/kup-box.js +6 -0
- package/dist/components/kup-box2.js +1412 -0
- package/dist/components/kup-button-list.d.ts +11 -0
- package/dist/components/kup-button-list.js +6 -0
- package/dist/components/kup-button.d.ts +11 -0
- package/dist/components/kup-button.js +6 -0
- package/dist/components/kup-calendar.d.ts +11 -0
- package/dist/components/kup-calendar.js +14818 -0
- package/dist/components/kup-card.d.ts +11 -0
- package/dist/components/kup-card.js +6 -0
- package/dist/components/kup-cell.d.ts +11 -0
- package/dist/components/kup-cell.js +332 -0
- package/dist/components/kup-chart.d.ts +11 -0
- package/dist/components/kup-chart.js +6 -0
- package/dist/components/kup-checkbox.d.ts +11 -0
- package/dist/components/kup-checkbox.js +6 -0
- package/dist/components/kup-chip.d.ts +11 -0
- package/dist/components/kup-chip.js +6 -0
- package/dist/components/kup-color-picker.d.ts +11 -0
- package/dist/components/kup-color-picker.js +6 -0
- package/dist/components/kup-combobox.d.ts +11 -0
- package/dist/components/kup-combobox.js +6 -0
- package/dist/components/kup-dash-list.d.ts +11 -0
- package/dist/components/kup-dash-list.js +275 -0
- package/dist/components/kup-dash.d.ts +11 -0
- package/dist/components/kup-dash.js +6 -0
- package/dist/components/kup-dash2.js +223 -0
- package/dist/components/kup-dashboard.d.ts +11 -0
- package/dist/components/kup-dashboard.js +559 -0
- package/dist/components/kup-data-table.d.ts +11 -0
- package/dist/components/kup-data-table.js +6 -0
- package/dist/components/kup-date-picker.d.ts +11 -0
- package/dist/components/kup-date-picker.js +6 -0
- package/dist/components/kup-drawer.d.ts +11 -0
- package/dist/components/kup-drawer.js +303 -0
- package/dist/components/kup-dropdown-button.d.ts +11 -0
- package/dist/components/kup-dropdown-button.js +6 -0
- package/dist/components/kup-echart.d.ts +11 -0
- package/dist/components/kup-echart.js +6 -0
- package/dist/components/kup-echart2.js +94317 -0
- package/dist/components/kup-family-tree.d.ts +11 -0
- package/dist/components/kup-family-tree.js +623 -0
- package/dist/components/kup-form.d.ts +11 -0
- package/dist/components/kup-form.js +6 -0
- package/dist/components/kup-gauge.d.ts +11 -0
- package/dist/components/kup-gauge.js +6 -0
- package/dist/components/kup-grid.d.ts +11 -0
- package/dist/components/kup-grid.js +6 -0
- package/dist/components/kup-grid2.js +256 -0
- package/dist/components/kup-iframe.d.ts +11 -0
- package/dist/components/kup-iframe.js +257 -0
- package/dist/components/kup-image-list.d.ts +11 -0
- package/dist/components/kup-image-list.js +416 -0
- package/dist/components/kup-image.d.ts +11 -0
- package/dist/components/kup-image.js +6 -0
- package/dist/components/kup-lazy.d.ts +11 -0
- package/dist/components/kup-lazy.js +352 -0
- package/dist/components/kup-list.d.ts +11 -0
- package/dist/components/kup-list.js +6 -0
- package/dist/components/kup-magic-box.d.ts +11 -0
- package/dist/components/kup-magic-box.js +470 -0
- package/dist/components/kup-nav-bar.d.ts +11 -0
- package/dist/components/kup-nav-bar.js +292 -0
- package/dist/components/kup-numeric-picker.d.ts +11 -0
- package/dist/components/kup-numeric-picker.js +536 -0
- package/dist/components/kup-photo-frame.d.ts +11 -0
- package/dist/components/kup-photo-frame.js +308 -0
- package/dist/components/kup-probe.d.ts +11 -0
- package/dist/components/kup-probe.js +403 -0
- package/dist/components/kup-progress-bar.d.ts +11 -0
- package/dist/components/kup-progress-bar.js +6 -0
- package/dist/components/kup-qlik.d.ts +11 -0
- package/dist/components/kup-qlik.js +302 -0
- package/dist/components/kup-radio.d.ts +11 -0
- package/dist/components/kup-radio.js +6 -0
- package/dist/components/kup-rating.d.ts +11 -0
- package/dist/components/kup-rating.js +6 -0
- package/dist/components/kup-snackbar.d.ts +11 -0
- package/dist/components/kup-snackbar.js +272 -0
- package/dist/components/kup-spinner.d.ts +11 -0
- package/dist/components/kup-spinner.js +6 -0
- package/dist/components/kup-switch.d.ts +11 -0
- package/dist/components/kup-switch.js +6 -0
- package/dist/components/kup-tab-bar.d.ts +11 -0
- package/dist/components/kup-tab-bar.js +6 -0
- package/dist/components/kup-text-field.d.ts +11 -0
- package/dist/components/kup-text-field.js +6 -0
- package/dist/components/kup-time-picker.d.ts +11 -0
- package/dist/components/kup-time-picker.js +6 -0
- package/dist/components/kup-tree.d.ts +11 -0
- package/dist/components/kup-tree.js +6 -0
- package/dist/esm/{f-button-e79f7594.js → f-button-b902ad65.js} +1 -1
- package/dist/esm/{f-cell-9400374e.js → f-cell-b11d0d5d.js} +5 -5
- package/dist/esm/{f-chip-bf740287.js → f-chip-6b8cd306.js} +2 -2
- package/dist/esm/{f-image-ab3dc8cb.js → f-image-983805af.js} +1 -1
- package/dist/esm/{f-paginator-utils-6909e43b.js → f-paginator-utils-b22bec1f.js} +2 -2
- package/dist/esm/{f-text-field-4841dfea.js → f-text-field-3f9a7ba7.js} +1 -1
- package/dist/esm/ketchup.js +2 -2
- package/dist/esm/kup-accordion.entry.js +6 -29
- package/dist/esm/{kup-autocomplete_25.entry.js → kup-autocomplete_26.entry.js} +3790 -4303
- package/dist/esm/kup-box.entry.js +29 -110
- package/dist/esm/kup-calendar.entry.js +9 -33
- package/dist/esm/kup-cell.entry.js +8 -27
- package/dist/esm/kup-dash-list.entry.js +9 -8
- package/dist/esm/kup-dash_2.entry.js +6 -34
- package/dist/esm/kup-dashboard.entry.js +8 -30
- package/dist/esm/kup-drawer.entry.js +3 -18
- package/dist/esm/kup-echart.entry.js +15 -76
- package/dist/esm/kup-family-tree.entry.js +11 -47
- package/dist/esm/kup-iframe.entry.js +4 -16
- package/dist/esm/kup-image-list.entry.js +14 -32
- package/dist/esm/kup-lazy.entry.js +9 -36
- package/dist/esm/kup-magic-box.entry.js +5 -24
- package/dist/esm/{kup-manager-c54e6df5.js → kup-manager-a1976c1f.js} +71 -3
- package/dist/esm/kup-nav-bar.entry.js +3 -15
- package/dist/esm/kup-numeric-picker.entry.js +13 -56
- package/dist/esm/kup-photo-frame.entry.js +8 -30
- package/dist/esm/kup-probe.entry.js +12 -32
- package/dist/esm/kup-qlik.entry.js +5 -59
- package/dist/esm/kup-snackbar.entry.js +6 -37
- package/dist/esm/loader.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-4a0ccf18.entry.js → p-0e34943f.entry.js} +1 -1
- package/dist/ketchup/p-1df3f4b3.js +30 -0
- package/dist/ketchup/p-1f1c3e90.entry.js +1 -0
- package/dist/ketchup/p-2f274bd1.entry.js +1 -0
- package/dist/ketchup/{p-e1d0ea71.js → p-34fb0757.js} +1 -1
- package/dist/ketchup/p-43d52a62.js +1 -0
- package/dist/ketchup/{p-4f0d3062.js → p-59a78bb2.js} +1 -1
- package/dist/ketchup/{p-bffaef6e.entry.js → p-5c6798dc.entry.js} +1 -1
- package/dist/ketchup/p-5d4503ff.entry.js +9 -0
- package/dist/ketchup/{p-182b869e.entry.js → p-6154123c.entry.js} +1 -1
- package/dist/ketchup/p-657eb6db.js +1 -0
- package/dist/ketchup/{p-30a63b85.entry.js → p-6686f614.entry.js} +1 -1
- package/dist/ketchup/p-67c86b4a.entry.js +1 -0
- package/dist/ketchup/{p-25bf0cb6.js → p-751a87a6.js} +1 -1
- package/dist/ketchup/{p-60fa0ccf.entry.js → p-7d223413.entry.js} +1 -1
- package/dist/ketchup/{p-7e7b6127.entry.js → p-8bed854e.entry.js} +1 -1
- package/dist/ketchup/{p-6bd57787.entry.js → p-9003c78d.entry.js} +1 -1
- package/dist/ketchup/{p-41620707.entry.js → p-913d78b8.entry.js} +1 -1
- package/dist/ketchup/{p-f9d5e553.entry.js → p-a4c30e9a.entry.js} +1 -1
- package/dist/ketchup/p-b2bb0feb.entry.js +1 -0
- package/dist/ketchup/{p-fb4d772a.entry.js → p-b8de542a.entry.js} +1 -1
- package/dist/ketchup/{p-2e184b57.entry.js → p-bb172702.entry.js} +1 -1
- package/dist/ketchup/{p-859163c2.entry.js → p-c1d3332f.entry.js} +1 -1
- package/dist/ketchup/{p-8e1fa7a8.entry.js → p-ca42bab6.entry.js} +2 -2
- package/dist/ketchup/{p-758d03f4.entry.js → p-ca723973.entry.js} +1 -1
- package/dist/ketchup/{p-5bea2971.js → p-f08ba5cd.js} +1 -1
- package/dist/ketchup/{p-313e376b.entry.js → p-fc1f1a63.entry.js} +2 -2
- package/dist/ketchup/{p-1f5c7f21.entry.js → p-fe4d6234.entry.js} +1 -1
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +7 -2
- package/dist/types/components/kup-card/built-in/kup-card-form.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +11 -1
- package/dist/types/components/kup-card/kup-card.d.ts +5 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +9 -0
- 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 +41 -202
- package/dist/types/components/kup-tree/kup-tree.d.ts +0 -1
- package/dist/types/components.d.ts +55 -2
- package/dist/types/managers/kup-data/kup-data-declarations.d.ts +1 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +7 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/kup-form.cjs.entry.js +0 -486
- package/dist/esm/kup-form.entry.js +0 -482
- package/dist/ketchup/p-1dfd2a51.js +0 -30
- package/dist/ketchup/p-22ec1ba0.entry.js +0 -9
- package/dist/ketchup/p-260ff835.entry.js +0 -1
- package/dist/ketchup/p-53d3ae80.entry.js +0 -1
- package/dist/ketchup/p-6333388c.js +0 -1
- package/dist/ketchup/p-8386e3db.entry.js +0 -1
- package/dist/ketchup/p-90860d9e.entry.js +0 -1
- package/dist/ketchup/p-b7fdc7aa.entry.js +0 -1
- package/dist/ketchup/p-c35c5e05.js +0 -1
|
@@ -20,136 +20,55 @@ import { pageChange, rowsPerPageChange, } from '../../f-components/f-paginator/f
|
|
|
20
20
|
import { FTextFieldMDC } from '../../f-components/f-text-field/f-text-field-mdc';
|
|
21
21
|
export class KupBox {
|
|
22
22
|
constructor() {
|
|
23
|
+
this.state = new KupBoxState();
|
|
23
24
|
/*-------------------------------------------------*/
|
|
24
|
-
/*
|
|
25
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
25
26
|
/*-------------------------------------------------*/
|
|
27
|
+
/**
|
|
28
|
+
* Instance of the KupManager class.
|
|
29
|
+
*/
|
|
30
|
+
this.kupManager = kupManagerInstance();
|
|
31
|
+
this.visibleColumns = [];
|
|
32
|
+
this.rows = [];
|
|
33
|
+
this.filteredRows = [];
|
|
34
|
+
this.sectionRef = null;
|
|
35
|
+
this.rowsRefs = [];
|
|
36
|
+
this.hold = false;
|
|
37
|
+
this.interactableDrag = [];
|
|
38
|
+
this.interactableDrop = [];
|
|
39
|
+
this.interactableTouch = [];
|
|
26
40
|
this.collapsedSection = {};
|
|
27
41
|
this.selectedRows = [];
|
|
42
|
+
this.rowActionMenuOpened = undefined;
|
|
28
43
|
this.currentPage = 1;
|
|
29
44
|
this.currentRowsPerPage = 10;
|
|
30
|
-
this.state = new KupBoxState();
|
|
31
|
-
/*-------------------------------------------------*/
|
|
32
|
-
/* P r o p s */
|
|
33
|
-
/*-------------------------------------------------*/
|
|
34
|
-
/**
|
|
35
|
-
* Data of the card linked to the box when the latter's layout must be a premade template.
|
|
36
|
-
* @default null
|
|
37
|
-
*/
|
|
38
45
|
this.cardData = null;
|
|
39
|
-
/**
|
|
40
|
-
* Number of columns
|
|
41
|
-
* @default 1
|
|
42
|
-
*/
|
|
43
46
|
this.columns = 1;
|
|
44
|
-
/**
|
|
45
|
-
* Custom style of the component.
|
|
46
|
-
* @default ""
|
|
47
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
48
|
-
*/
|
|
49
47
|
this.customStyle = '';
|
|
50
|
-
/**
|
|
51
|
-
* Actual data of the box.
|
|
52
|
-
* @default null
|
|
53
|
-
*/
|
|
54
48
|
this.data = null;
|
|
55
|
-
/**
|
|
56
|
-
* Enable dragging
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
49
|
this.dragEnabled = false;
|
|
60
|
-
/**
|
|
61
|
-
* Enable dropping
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
50
|
this.dropEnabled = false;
|
|
65
|
-
/**
|
|
66
|
-
* Drop can be done in section
|
|
67
|
-
* @default false
|
|
68
|
-
*/
|
|
69
51
|
this.dropOnSection = false;
|
|
70
|
-
/**
|
|
71
|
-
* When set to true, editable cells will be rendered using input components.
|
|
72
|
-
* @default false
|
|
73
|
-
*/
|
|
74
52
|
this.editableData = false;
|
|
75
|
-
/**
|
|
76
|
-
* If enabled, a button to load / display the row actions
|
|
77
|
-
* will be displayed on the right of every box
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
53
|
this.enableRowActions = false;
|
|
81
|
-
/**
|
|
82
|
-
* When set to true it activates the global filter.
|
|
83
|
-
* @default false
|
|
84
|
-
*/
|
|
85
54
|
this.globalFilter = false;
|
|
86
|
-
/**
|
|
87
|
-
* The value of the global filter.
|
|
88
|
-
* @default ""
|
|
89
|
-
*/
|
|
90
55
|
this.globalFilterValue = '';
|
|
91
|
-
/**
|
|
92
|
-
* Displays the boxlist as a Kanban.
|
|
93
|
-
* @default null
|
|
94
|
-
*/
|
|
95
56
|
this.kanban = null;
|
|
96
|
-
|
|
97
|
-
* Enable multi selection
|
|
98
|
-
* @default false
|
|
99
|
-
*/
|
|
57
|
+
this.layout = undefined;
|
|
100
58
|
this.multiSelection = false;
|
|
101
|
-
/**
|
|
102
|
-
* Current page number
|
|
103
|
-
* @default 1
|
|
104
|
-
*/
|
|
105
59
|
this.pageSelected = 1;
|
|
106
|
-
/**
|
|
107
|
-
* Number of boxes per page
|
|
108
|
-
* @default 10
|
|
109
|
-
*/
|
|
110
60
|
this.pageSize = 10;
|
|
111
|
-
/**
|
|
112
|
-
* Enables pagination
|
|
113
|
-
* @default false
|
|
114
|
-
*/
|
|
115
61
|
this.pagination = false;
|
|
116
|
-
|
|
117
|
-
* Activates the scroll on hover function.
|
|
118
|
-
* @default false
|
|
119
|
-
*/
|
|
62
|
+
this.rowsPerPage = undefined;
|
|
120
63
|
this.scrollOnHover = false;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
* @default true
|
|
124
|
-
*/
|
|
64
|
+
this.selectBox = undefined;
|
|
65
|
+
this.selectedRowsState = undefined;
|
|
125
66
|
this.showSelection = true;
|
|
126
|
-
|
|
127
|
-
* Enable sorting
|
|
128
|
-
* @default false
|
|
129
|
-
*/
|
|
67
|
+
this.sortBy = undefined;
|
|
130
68
|
this.sortEnabled = false;
|
|
131
69
|
this.stateId = '';
|
|
132
|
-
|
|
133
|
-
* Disable swipe
|
|
134
|
-
* @default false
|
|
135
|
-
*/
|
|
70
|
+
this.store = undefined;
|
|
136
71
|
this.swipeDisabled = false;
|
|
137
|
-
/*-------------------------------------------------*/
|
|
138
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
139
|
-
/*-------------------------------------------------*/
|
|
140
|
-
/**
|
|
141
|
-
* Instance of the KupManager class.
|
|
142
|
-
*/
|
|
143
|
-
this.kupManager = kupManagerInstance();
|
|
144
|
-
this.visibleColumns = [];
|
|
145
|
-
this.rows = [];
|
|
146
|
-
this.filteredRows = [];
|
|
147
|
-
this.sectionRef = null;
|
|
148
|
-
this.rowsRefs = [];
|
|
149
|
-
this.hold = false;
|
|
150
|
-
this.interactableDrag = [];
|
|
151
|
-
this.interactableDrop = [];
|
|
152
|
-
this.interactableTouch = [];
|
|
153
72
|
}
|
|
154
73
|
initWithPersistedState() {
|
|
155
74
|
if (this.store && this.stateId) {
|
|
@@ -9,79 +9,24 @@ import { componentWrapperId } from '../../variables/GenericVariables';
|
|
|
9
9
|
export class KupButton {
|
|
10
10
|
constructor() {
|
|
11
11
|
/*-------------------------------------------------*/
|
|
12
|
-
/*
|
|
12
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
13
13
|
/*-------------------------------------------------*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @default ""
|
|
15
|
+
* Instance of the KupManager class.
|
|
17
16
|
*/
|
|
17
|
+
this.kupManager = kupManagerInstance();
|
|
18
18
|
this.value = '';
|
|
19
|
-
/*-------------------------------------------------*/
|
|
20
|
-
/* P r o p s */
|
|
21
|
-
/*-------------------------------------------------*/
|
|
22
|
-
/**
|
|
23
|
-
* Sets the type of the button.
|
|
24
|
-
* @default null
|
|
25
|
-
*/
|
|
26
19
|
this.buttonType = null;
|
|
27
|
-
/**
|
|
28
|
-
* When set to true, the icon button state will be on.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
20
|
this.checked = false;
|
|
32
|
-
/**
|
|
33
|
-
* Custom style of the component.
|
|
34
|
-
* @default ""
|
|
35
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
36
|
-
*/
|
|
37
21
|
this.customStyle = '';
|
|
38
|
-
/**
|
|
39
|
-
* Defaults at false. When set to true, the component is disabled.
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
22
|
this.disabled = false;
|
|
43
|
-
/**
|
|
44
|
-
* When set, the button will show this icon.
|
|
45
|
-
* @default null
|
|
46
|
-
*/
|
|
47
23
|
this.icon = null;
|
|
48
|
-
/**
|
|
49
|
-
* When set, the icon button off state will show this icon. Otherwise, an outlined version of the icon prop will be displayed.
|
|
50
|
-
* @default null
|
|
51
|
-
*/
|
|
52
24
|
this.iconOff = null;
|
|
53
|
-
/**
|
|
54
|
-
* When set, the button will show this text.
|
|
55
|
-
* @default null
|
|
56
|
-
*/
|
|
57
25
|
this.label = null;
|
|
58
|
-
/**
|
|
59
|
-
* Defines the style of the button. Styles available: "flat", "outlined" and "raised" which is also the default.
|
|
60
|
-
* @default FButtonStyling.RAISED
|
|
61
|
-
*/
|
|
62
26
|
this.styling = FButtonStyling.RAISED;
|
|
63
|
-
/**
|
|
64
|
-
* When set to true, the button show a spinner received in slot.
|
|
65
|
-
* @default false
|
|
66
|
-
*/
|
|
67
27
|
this.showSpinner = false;
|
|
68
|
-
/**
|
|
69
|
-
* When set to true, the icon button will be toggable on/off.
|
|
70
|
-
* @default false
|
|
71
|
-
*/
|
|
72
28
|
this.toggable = false;
|
|
73
|
-
/**
|
|
74
|
-
* When set, the icon will be shown after the text.
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
29
|
this.trailingIcon = false;
|
|
78
|
-
/*-------------------------------------------------*/
|
|
79
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
80
|
-
/*-------------------------------------------------*/
|
|
81
|
-
/**
|
|
82
|
-
* Instance of the KupManager class.
|
|
83
|
-
*/
|
|
84
|
-
this.kupManager = kupManagerInstance();
|
|
85
30
|
}
|
|
86
31
|
onKupBlur() {
|
|
87
32
|
this.kupBlur.emit({
|
|
@@ -9,54 +9,19 @@ import { setProps } from '../../utils/utils';
|
|
|
9
9
|
export class KupButtonList {
|
|
10
10
|
constructor() {
|
|
11
11
|
/*-------------------------------------------------*/
|
|
12
|
-
/*
|
|
12
|
+
/* I n t e r n a l V a r i a b l e s */
|
|
13
13
|
/*-------------------------------------------------*/
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @default ""
|
|
15
|
+
* Instance of the KupManager class.
|
|
17
16
|
*/
|
|
17
|
+
this.kupManager = kupManagerInstance();
|
|
18
18
|
this.selected = '';
|
|
19
|
-
/*-------------------------------------------------*/
|
|
20
|
-
/* P r o p s */
|
|
21
|
-
/*-------------------------------------------------*/
|
|
22
|
-
/**
|
|
23
|
-
* Number of columns.
|
|
24
|
-
* @default 0
|
|
25
|
-
*/
|
|
26
19
|
this.columns = 0;
|
|
27
|
-
/**
|
|
28
|
-
* Custom style of the component.
|
|
29
|
-
* @default ""
|
|
30
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
31
|
-
*/
|
|
32
20
|
this.customStyle = '';
|
|
33
|
-
/**
|
|
34
|
-
* Props of the sub-components.
|
|
35
|
-
* @default []
|
|
36
|
-
*/
|
|
37
21
|
this.data = [];
|
|
38
|
-
/**
|
|
39
|
-
* When set to true, the sub-components are disabled.
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
22
|
this.disabled = false;
|
|
43
|
-
/**
|
|
44
|
-
* When set to true, highlights the selected button with the secondary color of KupTheme.
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
23
|
this.showSelection = true;
|
|
48
|
-
/**
|
|
49
|
-
* Defines the style of the buttons. Available styles are "flat", "outlined" and "raised" (which is the default).
|
|
50
|
-
* @default FButtonStyling.RAISED
|
|
51
|
-
*/
|
|
52
24
|
this.styling = FButtonStyling.RAISED;
|
|
53
|
-
/*-------------------------------------------------*/
|
|
54
|
-
/* I n t e r n a l V a r i a b l e s */
|
|
55
|
-
/*-------------------------------------------------*/
|
|
56
|
-
/**
|
|
57
|
-
* Instance of the KupManager class.
|
|
58
|
-
*/
|
|
59
|
-
this.kupManager = kupManagerInstance();
|
|
60
25
|
}
|
|
61
26
|
onKupClick(index, subIndex) {
|
|
62
27
|
this.selected = index;
|
|
@@ -23,35 +23,6 @@ import { KupLanguageGeneric } from '../../managers/kup-language/kup-language-dec
|
|
|
23
23
|
import { KupDatesLocales } from '../../managers/kup-dates/kup-dates-declarations';
|
|
24
24
|
export class KupCalendar {
|
|
25
25
|
constructor() {
|
|
26
|
-
/*-------------------------------------------------*/
|
|
27
|
-
/* P r o p s */
|
|
28
|
-
/*-------------------------------------------------*/
|
|
29
|
-
/**
|
|
30
|
-
* Sets the initial date of the calendar. Must be in ISO format (YYYY-MM-DD).
|
|
31
|
-
* @default null
|
|
32
|
-
*/
|
|
33
|
-
this.currentDate = null;
|
|
34
|
-
/**
|
|
35
|
-
* Custom style of the component.
|
|
36
|
-
* @default ""
|
|
37
|
-
* @see https://ketchup.smeup.com/ketchup-showcase/#/customization
|
|
38
|
-
*/
|
|
39
|
-
this.customStyle = '';
|
|
40
|
-
/**
|
|
41
|
-
* Actual data of the calendar.
|
|
42
|
-
* @default null
|
|
43
|
-
*/
|
|
44
|
-
this.data = null;
|
|
45
|
-
/**
|
|
46
|
-
* When disabled, the navigation toolbar won't be displayed.
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
49
|
-
this.hideNavigation = false;
|
|
50
|
-
/**
|
|
51
|
-
* Type of the view.
|
|
52
|
-
* @default KupCalendarViewTypes.MONTH
|
|
53
|
-
*/
|
|
54
|
-
this.viewType = KupCalendarViewTypes.MONTH;
|
|
55
26
|
this.calendarContainer = null;
|
|
56
27
|
this.kupManager = kupManagerInstance();
|
|
57
28
|
this.navTitle = null;
|
|
@@ -63,6 +34,11 @@ export class KupCalendar {
|
|
|
63
34
|
this.imageCol = null;
|
|
64
35
|
this.startCol = null;
|
|
65
36
|
this.styleCol = null;
|
|
37
|
+
this.currentDate = null;
|
|
38
|
+
this.customStyle = '';
|
|
39
|
+
this.data = null;
|
|
40
|
+
this.hideNavigation = false;
|
|
41
|
+
this.viewType = KupCalendarViewTypes.MONTH;
|
|
66
42
|
}
|
|
67
43
|
/*-------------------------------------------------*/
|
|
68
44
|
/* W a t c h e r s */
|
|
@@ -42,9 +42,12 @@ export function create2(component) {
|
|
|
42
42
|
renderKup: true,
|
|
43
43
|
row: { cells: { [column.name]: cell } },
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
props.cell.cssClass = props.cell.cssClass
|
|
46
|
+
? props.cell.cssClass + ' c-right-aligned'
|
|
47
|
+
: 'c-right-aligned';
|
|
48
|
+
rows.push(h("tr", null, h("td", { class: "label" }, column.title), h("td", { class: "value" }, h(FCell, Object.assign({}, props)))));
|
|
46
49
|
}
|
|
47
|
-
return (h("div", { class: `box-layout-${component.layoutNumber}` }, h("
|
|
50
|
+
return (h("div", { class: `box-layout-${component.layoutNumber}` }, h("table", null, rows)));
|
|
48
51
|
}
|
|
49
52
|
/**
|
|
50
53
|
* 3rd box card layout, it can be used as a key-value row list.
|
|
@@ -3,6 +3,7 @@ import { KupCardCSSClasses } from '../kup-card-declarations';
|
|
|
3
3
|
import { prepareCalendar } from './kup-card-calendar';
|
|
4
4
|
import { prepareClock } from './kup-card-clock';
|
|
5
5
|
import { prepareColumnDropMenu } from './kup-card-column-drop-menu';
|
|
6
|
+
import { prepareForm } from './kup-card-form';
|
|
6
7
|
import { prepareNumeric } from './kup-card-numeric';
|
|
7
8
|
/**
|
|
8
9
|
* 1st built-in layout, calendar view.
|
|
@@ -39,10 +40,17 @@ export function create4(component) {
|
|
|
39
40
|
}
|
|
40
41
|
/**
|
|
41
42
|
* 5th built-in layout, numeric picker.
|
|
42
|
-
* This layout is rendered after the render cycle completes.
|
|
43
43
|
* @param {KupCard} component - Card component.
|
|
44
|
-
* @returns {VNode}
|
|
44
|
+
* @returns {VNode} 5th built-in layout virtual node.
|
|
45
45
|
*/
|
|
46
46
|
export function create5(component) {
|
|
47
47
|
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }, prepareNumeric(component)));
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* 6th built-in layout, form with submit button.
|
|
51
|
+
* @param {KupCard} component - Card component.
|
|
52
|
+
* @returns {VNode} 6th built-in layout virtual node.
|
|
53
|
+
*/
|
|
54
|
+
export function create6(component) {
|
|
55
|
+
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }, prepareForm(component)));
|
|
56
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h } from '@stencil/core';
|
|
2
|
+
import { FButton } from '../../../f-components/f-button/f-button';
|
|
3
|
+
import { FButtonStyling } from '../../../f-components/f-button/f-button-declarations';
|
|
4
|
+
const dom = document.documentElement;
|
|
5
|
+
export function prepareForm(component) {
|
|
6
|
+
const options = component.data.options;
|
|
7
|
+
return [
|
|
8
|
+
h("kup-form", null),
|
|
9
|
+
h("div", { class: "button-wrapper" }, h(FButton, { icon: "clear", label: "Cancel", styling: FButtonStyling.FLAT }), h(FButton, { icon: "check", label: "Confirm" })),
|
|
10
|
+
];
|
|
11
|
+
}
|
|
@@ -24,18 +24,15 @@
|
|
|
24
24
|
font-size: var(--kup-font-size);
|
|
25
25
|
padding: 0.5em;
|
|
26
26
|
}
|
|
27
|
-
.box-layout-2
|
|
27
|
+
.box-layout-2 table {
|
|
28
28
|
width: 100%;
|
|
29
29
|
}
|
|
30
|
-
.box-layout-2 .flex-container {
|
|
31
|
-
display: flex;
|
|
32
|
-
justify-content: space-between;
|
|
33
|
-
}
|
|
34
30
|
.box-layout-2 .label {
|
|
31
|
+
max-width: 50%;
|
|
35
32
|
overflow: hidden;
|
|
36
33
|
padding: 0.5em;
|
|
37
34
|
text-overflow: ellipsis;
|
|
38
|
-
|
|
35
|
+
white-space: nowrap;
|
|
39
36
|
}
|
|
40
37
|
.box-layout-2 .value {
|
|
41
38
|
padding: 0.5em;
|
|
@@ -50,6 +47,8 @@
|
|
|
50
47
|
}
|
|
51
48
|
.box-layout-3 .container {
|
|
52
49
|
display: flex;
|
|
50
|
+
justify-content: space-between;
|
|
51
|
+
overflow: hidden;
|
|
53
52
|
width: 100%;
|
|
54
53
|
}
|
|
55
54
|
.box-layout-3 .flex-container {
|
|
@@ -61,7 +60,6 @@
|
|
|
61
60
|
padding: 0.5em;
|
|
62
61
|
text-overflow: ellipsis;
|
|
63
62
|
white-space: nowrap;
|
|
64
|
-
width: 50%;
|
|
65
63
|
}
|
|
66
64
|
.box-layout-3 .value {
|
|
67
65
|
padding: 0.5em;
|
|
@@ -901,6 +899,20 @@
|
|
|
901
899
|
background-color: var(--kup-hover-background-color);
|
|
902
900
|
}
|
|
903
901
|
|
|
902
|
+
.built-in-layout-6 {
|
|
903
|
+
background-color: var(--kup-background-color);
|
|
904
|
+
border-radius: 4px;
|
|
905
|
+
box-sizing: border-box;
|
|
906
|
+
box-shadow: 0 2px 1px -1px rgba(128, 128, 128, 0.1), 0 1px 1px 0 rgba(128, 128, 128, 0.1), 0 1px 3px 0 rgba(128, 128, 128, 0.6);
|
|
907
|
+
display: flex;
|
|
908
|
+
flex-direction: column;
|
|
909
|
+
height: 100%;
|
|
910
|
+
position: relative;
|
|
911
|
+
width: 100%;
|
|
912
|
+
overflow: auto;
|
|
913
|
+
padding: 0.5em;
|
|
914
|
+
}
|
|
915
|
+
|
|
904
916
|
.collapsible-layout-1 {
|
|
905
917
|
color: var(--kup-text-color);
|
|
906
918
|
box-shadow: 0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);
|
|
@@ -2407,6 +2419,8 @@
|
|
|
2407
2419
|
/* Chrome */
|
|
2408
2420
|
}
|
|
2409
2421
|
.standard-layout-14 .section-1 {
|
|
2422
|
+
--kup-button-font-size: 0.75em;
|
|
2423
|
+
box-sizing: border-box;
|
|
2410
2424
|
display: flex;
|
|
2411
2425
|
padding: 1em;
|
|
2412
2426
|
}
|
|
@@ -2422,14 +2436,21 @@
|
|
|
2422
2436
|
margin: 0 0.5em 0 0;
|
|
2423
2437
|
}
|
|
2424
2438
|
.standard-layout-14 .section-1 .title {
|
|
2425
|
-
|
|
2439
|
+
align-items: flex-end;
|
|
2440
|
+
display: flex;
|
|
2426
2441
|
font-size: 1.25em;
|
|
2427
|
-
|
|
2442
|
+
font-weight: 600;
|
|
2443
|
+
margin-bottom: 0.5em;
|
|
2428
2444
|
padding: 0 0.25em 0.25em;
|
|
2445
|
+
text-align: left;
|
|
2429
2446
|
}
|
|
2430
2447
|
.standard-layout-14 .section-1 .title .label {
|
|
2431
2448
|
cursor: pointer;
|
|
2432
2449
|
padding-right: 0.25em;
|
|
2450
|
+
padding-top: 0.5em;
|
|
2451
|
+
overflow: hidden;
|
|
2452
|
+
text-overflow: ellipsis;
|
|
2453
|
+
white-space: nowrap;
|
|
2433
2454
|
}
|
|
2434
2455
|
.standard-layout-14 .section-1 .title .label:hover {
|
|
2435
2456
|
text-decoration: underline;
|
|
@@ -2446,6 +2467,7 @@
|
|
|
2446
2467
|
width: auto;
|
|
2447
2468
|
}
|
|
2448
2469
|
.standard-layout-14 .section-1 .info .value {
|
|
2470
|
+
font-weight: 600;
|
|
2449
2471
|
width: 100%;
|
|
2450
2472
|
}
|
|
2451
2473
|
.standard-layout-14 .sub-button {
|
|
@@ -2516,8 +2538,7 @@
|
|
|
2516
2538
|
.standard-layout-14 #open-in-new,
|
|
2517
2539
|
.standard-layout-14 #search,
|
|
2518
2540
|
.standard-layout-14 #new {
|
|
2519
|
-
margin: 0;
|
|
2520
|
-
display: inline-flex;
|
|
2541
|
+
margin: 0 0 0.5em 0;
|
|
2521
2542
|
}
|
|
2522
2543
|
|
|
2523
2544
|
.standard-layout-15 {
|
|
@@ -2547,16 +2568,18 @@
|
|
|
2547
2568
|
margin: 0 0.5em 0 0;
|
|
2548
2569
|
}
|
|
2549
2570
|
.standard-layout-15 .section-1 .title {
|
|
2550
|
-
align-items:
|
|
2571
|
+
align-items: flex-end;
|
|
2551
2572
|
display: flex;
|
|
2552
2573
|
font-size: 1.25em;
|
|
2553
2574
|
font-weight: 600;
|
|
2575
|
+
margin-bottom: 0.5em;
|
|
2554
2576
|
padding: 0 0.25em 0.25em;
|
|
2555
2577
|
text-align: left;
|
|
2556
2578
|
}
|
|
2557
2579
|
.standard-layout-15 .section-1 .title .label {
|
|
2558
2580
|
cursor: pointer;
|
|
2559
2581
|
padding-right: 0.25em;
|
|
2582
|
+
padding-top: 0.5em;
|
|
2560
2583
|
overflow: hidden;
|
|
2561
2584
|
text-overflow: ellipsis;
|
|
2562
2585
|
white-space: nowrap;
|
|
@@ -2640,9 +2663,11 @@
|
|
|
2640
2663
|
}
|
|
2641
2664
|
|
|
2642
2665
|
/**
|
|
2666
|
+
* @prop --kup-card-backdrop: Backdrop of the component when is visible.
|
|
2643
2667
|
* @prop --kup-card-ripple-color: Sets color of ripple effect (for Material layouts).
|
|
2644
2668
|
*/
|
|
2645
2669
|
:host {
|
|
2670
|
+
--kup_card_backdrop: var(--kup-card-backdrop, rgba(0, 0, 0, 0.32));
|
|
2646
2671
|
--kup_card_ripple_color: var(
|
|
2647
2672
|
--kup-card-ripple-color,
|
|
2648
2673
|
var(--kup-primary-color)
|
|
@@ -2657,6 +2682,16 @@
|
|
|
2657
2682
|
width: var(--kup_card_width);
|
|
2658
2683
|
}
|
|
2659
2684
|
|
|
2685
|
+
:host([show-modal]) #kup-component {
|
|
2686
|
+
position: fixed;
|
|
2687
|
+
z-index: var(--kup-card-zindex);
|
|
2688
|
+
height: var(--kup_card_height);
|
|
2689
|
+
width: var(--kup_card_width);
|
|
2690
|
+
top: var(--kup_card_top);
|
|
2691
|
+
left: var(--kup_card_left);
|
|
2692
|
+
display: var(--kup_card_display, none);
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2660
2695
|
:host([is-menu]) {
|
|
2661
2696
|
display: none;
|
|
2662
2697
|
animation: fade-in 0.25s ease-out;
|
|
@@ -2672,6 +2707,18 @@
|
|
|
2672
2707
|
width: 100%;
|
|
2673
2708
|
}
|
|
2674
2709
|
|
|
2710
|
+
.backdrop {
|
|
2711
|
+
background: var(--kup_card_backdrop);
|
|
2712
|
+
display: none;
|
|
2713
|
+
height: 100%;
|
|
2714
|
+
left: 0;
|
|
2715
|
+
position: fixed;
|
|
2716
|
+
top: 0;
|
|
2717
|
+
width: 100%;
|
|
2718
|
+
z-index: calc(var(--kup-card-zindex) - 1);
|
|
2719
|
+
display: block;
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2675
2722
|
.mdc-ripple-surface {
|
|
2676
2723
|
cursor: pointer;
|
|
2677
2724
|
flex-direction: column;
|
|
@@ -2691,4 +2738,23 @@
|
|
|
2691
2738
|
}
|
|
2692
2739
|
.card-view.visible {
|
|
2693
2740
|
display: block;
|
|
2741
|
+
}
|
|
2742
|
+
|
|
2743
|
+
.dialog-layout-7 {
|
|
2744
|
+
background-color: var(--kup-background-color);
|
|
2745
|
+
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);
|
|
2746
|
+
display: flex;
|
|
2747
|
+
flex-direction: column;
|
|
2748
|
+
height: 100%;
|
|
2749
|
+
max-height: 95vh;
|
|
2750
|
+
max-width: 95vw;
|
|
2751
|
+
width: 100%;
|
|
2752
|
+
}
|
|
2753
|
+
.dialog-layout-7 .section-1 {
|
|
2754
|
+
max-height: 40vh;
|
|
2755
|
+
overflow: auto;
|
|
2756
|
+
}
|
|
2757
|
+
.dialog-layout-7 .section-2 {
|
|
2758
|
+
display: flex;
|
|
2759
|
+
justify-content: center;
|
|
2694
2760
|
}
|