@sme.up/ketchup 8.3.3 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component-24811409.js → component-cb3b32f5.js} +7 -2
- package/dist/cjs/{f-button-7687085a.js → f-button-733664a5.js} +2 -2
- package/dist/cjs/{f-cell-37ef6f00.js → f-cell-f37757a6.js} +201 -22
- package/dist/cjs/{f-checkbox-758d1d34.js → f-checkbox-556771e8.js} +1 -1
- package/dist/cjs/{f-chip-cf59bdb3.js → f-chip-3349d130.js} +3 -3
- package/dist/cjs/{f-image-1245b0cf.js → f-image-b7a5816b.js} +2 -2
- package/dist/cjs/{f-paginator-utils-b1af2a8f.js → f-paginator-utils-1fe1df76.js} +49 -50
- package/dist/cjs/{f-text-field-9c745112.js → f-text-field-8557fc3f.js} +38 -4
- package/dist/cjs/{f-text-field-mdc-b1fa6fd6.js → f-text-field-mdc-4fda9705.js} +1 -1
- package/dist/cjs/{index-eac07680.js → index-4b3a5567.js} +134 -26
- package/dist/cjs/ketchup.cjs.js +3 -3
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +295 -338
- package/dist/cjs/kup-box.cjs.entry.js +25 -17
- package/dist/cjs/kup-calendar.cjs.entry.js +6 -6
- package/dist/cjs/kup-card-list.cjs.entry.js +244 -0
- package/dist/cjs/kup-cell.cjs.entry.js +9 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +8 -8
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +4579 -4431
- package/dist/cjs/kup-family-tree.cjs.entry.js +4 -4
- package/dist/cjs/kup-grid.cjs.entry.js +109 -0
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +9 -9
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +3 -3
- package/dist/cjs/{kup-manager-38caaef3.js → kup-manager-cb73c128.js} +64 -14
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +5 -5
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/card-list.js +709 -0
- package/dist/collection/assets/data-table-performance.js +6 -0
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/assets/image-list.js +2 -12
- package/dist/collection/assets/index.js +8 -4
- package/dist/collection/assets/progress-bar.js +0 -0
- package/dist/collection/assets/radio.js +30 -0
- package/dist/collection/collection-manifest.json +3 -4
- package/dist/collection/components/kup-box/kup-box.js +14 -6
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js +1 -1
- package/dist/collection/components/kup-card/kup-card.css +34 -7
- package/dist/collection/components/kup-card/kup-card.js +25 -22
- package/dist/collection/components/kup-card/scalable/kup-card-scalable.js +45 -54
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +10 -5
- package/dist/collection/components/kup-card-list/kup-card-list-declarations.js +13 -0
- package/dist/collection/components/kup-card-list/kup-card-list.css +34 -0
- package/dist/collection/components/kup-card-list/kup-card-list.js +481 -0
- package/dist/collection/components/kup-data-table/kup-data-table-helper.js +47 -48
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +36 -22
- package/dist/collection/components/kup-echart/kup-echart.js +0 -2
- package/dist/collection/components/kup-grid/kup-grid.css +10 -0
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.css +1 -242
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +37 -84
- package/dist/collection/components/kup-radio/kup-radio.css +0 -161
- package/dist/collection/components/kup-radio/kup-radio.js +31 -26
- package/dist/collection/components/kup-rating/kup-rating.css +0 -8
- package/dist/collection/components/kup-rating/kup-rating.js +27 -52
- package/dist/collection/f-components/f-cell/f-cell-declarations.js +2 -0
- package/dist/collection/f-components/f-cell/f-cell.js +38 -17
- package/dist/collection/f-components/f-progress-bar/f-progress-bar-declarations.js +1 -0
- package/dist/collection/f-components/f-progress-bar/f-progress-bar.js +88 -0
- package/dist/collection/f-components/f-radio/f-radio-declarations.js +1 -0
- package/dist/collection/f-components/f-radio/f-radio.js +28 -0
- package/dist/collection/f-components/f-rating/f-rating-declarations.js +1 -0
- package/dist/collection/f-components/f-rating/f-rating.js +26 -0
- package/dist/collection/f-components/f-text-field/f-text-field.js +36 -2
- package/dist/collection/managers/kup-data/kup-data.js +2 -0
- package/dist/collection/managers/kup-math/kup-math.js +1 -1
- package/dist/collection/managers/kup-theme/kup-theme-declarations.js +33 -0
- package/dist/collection/managers/kup-theme/kup-theme.js +13 -1
- package/dist/collection/types/GenericTypes.js +1 -2
- package/dist/collection/utils/cell-utils.js +6 -7
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -0
- package/dist/components/kup-autocomplete2.js +1555 -1387
- package/dist/components/kup-box2.js +24 -6
- package/dist/components/kup-calendar.js +4 -1
- package/dist/components/{kup-dash-list.d.ts → kup-card-list.d.ts} +4 -4
- package/dist/components/kup-card-list.js +408 -0
- package/dist/components/kup-cell.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +3 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +4578 -4430
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid2.js +1 -1
- package/dist/components/kup-image-list.js +3 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +3 -1
- package/dist/esm/{component-cc25b031.js → component-879e99bf.js} +7 -2
- package/dist/esm/{f-button-e54ce8d5.js → f-button-f247ce10.js} +2 -2
- package/dist/esm/{f-cell-4149a05d.js → f-cell-ba94f1b3.js} +199 -23
- package/dist/esm/{f-checkbox-7b113dd8.js → f-checkbox-cbf7b3de.js} +1 -1
- package/dist/esm/{f-chip-c3c86f7b.js → f-chip-104c4a64.js} +3 -3
- package/dist/esm/{f-image-adceee49.js → f-image-d2a9603c.js} +2 -2
- package/dist/esm/{f-paginator-utils-e559dac8.js → f-paginator-utils-743522fa.js} +49 -50
- package/dist/esm/{f-text-field-aa4497a8.js → f-text-field-4d91ccfc.js} +38 -4
- package/dist/esm/{f-text-field-mdc-32a1ffd9.js → f-text-field-mdc-1143cf21.js} +1 -1
- package/dist/esm/{index-d413187a.js → index-c161a33e.js} +134 -26
- package/dist/esm/ketchup.js +4 -4
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_27.entry.js +295 -338
- package/dist/esm/kup-box.entry.js +25 -17
- package/dist/esm/kup-calendar.entry.js +6 -6
- package/dist/esm/kup-card-list.entry.js +240 -0
- package/dist/esm/kup-cell.entry.js +9 -7
- package/dist/esm/kup-dashboard.entry.js +8 -8
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +4579 -4431
- package/dist/esm/kup-family-tree.entry.js +4 -4
- package/dist/esm/kup-grid.entry.js +105 -0
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +9 -9
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +3 -3
- package/dist/esm/{kup-manager-a4153fb2.js → kup-manager-94b3d177.js} +64 -14
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +5 -5
- package/dist/esm/kup-photo-frame.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +5 -5
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +4 -4
- package/dist/esm/loader.js +3 -3
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-12e47371.js +1 -0
- package/dist/ketchup/{p-3c44e838.entry.js → p-15548f51.entry.js} +1 -1
- package/dist/ketchup/p-20e8ab84.js +2 -0
- package/dist/ketchup/{p-2739b7ac.entry.js → p-21f1b22a.entry.js} +1 -1
- package/dist/ketchup/{p-e76b646c.js → p-2c47b88f.js} +3 -3
- package/dist/ketchup/{p-23d54fb2.entry.js → p-304f296e.entry.js} +1 -1
- package/dist/ketchup/p-48f8b0d5.entry.js +9 -0
- package/dist/ketchup/p-4ca502ce.entry.js +1 -0
- package/dist/ketchup/{p-698442ed.js → p-4d7c02f4.js} +1 -1
- package/dist/ketchup/{p-3d671241.entry.js → p-5abbf31b.entry.js} +1 -1
- package/dist/ketchup/{p-44b5c573.entry.js → p-5c9b10a5.entry.js} +1 -1
- package/dist/ketchup/{p-b415fe84.entry.js → p-5cb2dbf3.entry.js} +1 -1
- package/dist/ketchup/p-679ccbf8.js +1 -0
- package/dist/ketchup/p-6a0ac578.entry.js +1 -0
- package/dist/ketchup/{p-f3c8c1da.entry.js → p-87e13738.entry.js} +1 -1
- package/dist/ketchup/p-8e5db599.entry.js +1 -0
- package/dist/ketchup/{p-c0878519.entry.js → p-a14ede8c.entry.js} +1 -1
- package/dist/ketchup/{p-2f0798d3.js → p-a2007880.js} +1 -1
- package/dist/ketchup/p-a2b75445.entry.js +39 -0
- package/dist/ketchup/{p-47752f3b.js → p-b0678a34.js} +1 -1
- package/dist/ketchup/{p-7360a410.js → p-ba003975.js} +1 -1
- package/dist/ketchup/{p-d817be2a.js → p-bb80719e.js} +1 -1
- package/dist/ketchup/{p-c39ddeae.entry.js → p-bf41d71f.entry.js} +1 -1
- package/dist/ketchup/p-c32e8755.entry.js +1 -0
- package/dist/ketchup/p-c4b1bde1.entry.js +1 -0
- package/dist/ketchup/p-c6b58be6.entry.js +1 -0
- package/dist/ketchup/{p-6d9ffb32.js → p-cd2af1a6.js} +1 -1
- package/dist/ketchup/{p-124f3f42.js → p-d4a879fc.js} +1 -1
- package/dist/ketchup/{p-b623c774.entry.js → p-d56763cf.entry.js} +1 -1
- package/dist/ketchup/{p-3081ed82.entry.js → p-e7f57bee.entry.js} +1 -1
- package/dist/ketchup/{p-eec864dd.entry.js → p-eb12225c.entry.js} +1 -1
- package/dist/ketchup/{p-3bbcae45.entry.js → p-f22abf4e.entry.js} +1 -1
- package/dist/ketchup/{p-e917200c.entry.js → p-f82db512.entry.js} +1 -1
- package/dist/types/components/kup-box/kup-box.d.ts +1 -0
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -1
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +1 -1
- package/dist/types/components/kup-card/kup-card.d.ts +3 -3
- package/dist/types/components/kup-card-list/kup-card-list-declarations.d.ts +35 -0
- package/dist/types/components/kup-card-list/kup-card-list.d.ts +62 -0
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-progress-bar/kup-progress-bar.d.ts +0 -1
- package/dist/types/components/kup-radio/kup-radio-declarations.d.ts +1 -9
- package/dist/types/components/kup-radio/kup-radio.d.ts +3 -2
- package/dist/types/components/kup-rating/kup-rating.d.ts +2 -7
- package/dist/types/components.d.ts +103 -96
- package/dist/types/f-components/f-cell/f-cell-declarations.d.ts +2 -0
- package/dist/types/f-components/f-progress-bar/f-progress-bar-declarations.d.ts +16 -0
- package/dist/types/f-components/f-progress-bar/f-progress-bar.d.ts +3 -0
- package/dist/types/f-components/f-radio/f-radio-declarations.d.ts +22 -0
- package/dist/types/f-components/f-radio/f-radio.d.ts +3 -0
- package/dist/types/f-components/f-rating/f-rating-declarations.d.ts +10 -0
- package/dist/types/f-components/f-rating/f-rating.d.ts +3 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +1 -1
- package/dist/types/managers/kup-theme/kup-theme-declarations.d.ts +12 -0
- package/dist/types/stencil-public-runtime.d.ts +16 -4
- package/dist/types/types/GenericTypes.d.ts +1 -2
- package/package.json +6 -3
- package/dist/cjs/kup-dash-list.cjs.entry.js +0 -116
- package/dist/cjs/kup-dash_2.cjs.entry.js +0 -179
- package/dist/collection/assets/dash-list.js +0 -474
- package/dist/collection/components/kup-dash/kup-dash.css +0 -136
- package/dist/collection/components/kup-dash/kup-dash.js +0 -171
- package/dist/collection/components/kup-dash-list/kup-dash-list.css +0 -10
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +0 -331
- package/dist/components/kup-dash-list.js +0 -288
- package/dist/components/kup-dash.d.ts +0 -11
- package/dist/components/kup-dash.js +0 -6
- package/dist/components/kup-dash2.js +0 -228
- package/dist/esm/kup-dash-list.entry.js +0 -112
- package/dist/esm/kup-dash_2.entry.js +0 -174
- package/dist/ketchup/p-0848391f.entry.js +0 -1
- package/dist/ketchup/p-25d45dc9.entry.js +0 -1
- package/dist/ketchup/p-283ca113.entry.js +0 -1
- package/dist/ketchup/p-384137d7.entry.js +0 -39
- package/dist/ketchup/p-3972b97c.entry.js +0 -1
- package/dist/ketchup/p-5ce0e645.entry.js +0 -1
- package/dist/ketchup/p-b8fcbcc9.entry.js +0 -1
- package/dist/ketchup/p-be864593.entry.js +0 -9
- package/dist/ketchup/p-d680bdde.js +0 -1
- package/dist/ketchup/p-f79d544a.js +0 -1
- package/dist/ketchup/p-fd75d5bf.js +0 -2
- package/dist/types/components/kup-dash/kup-dash.d.ts +0 -33
- package/dist/types/components/kup-dash-list/kup-dash-list.d.ts +0 -22
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const fTextField = require('./f-text-field-
|
|
8
|
-
const fTextFieldMdc = require('./f-text-field-mdc-
|
|
9
|
-
const fCell = require('./f-cell-
|
|
5
|
+
const index = require('./index-4b3a5567.js');
|
|
6
|
+
const kupManager = require('./kup-manager-cb73c128.js');
|
|
7
|
+
const fTextField = require('./f-text-field-8557fc3f.js');
|
|
8
|
+
const fTextFieldMdc = require('./f-text-field-mdc-4fda9705.js');
|
|
9
|
+
const fCell = require('./f-cell-f37757a6.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fImage = require('./f-image-
|
|
12
|
-
const fButton = require('./f-button-
|
|
11
|
+
const fImage = require('./f-image-b7a5816b.js');
|
|
12
|
+
const fButton = require('./f-button-733664a5.js');
|
|
13
13
|
const fButtonDeclarations = require('./f-button-declarations-3fd791a8.js');
|
|
14
|
-
const fChip = require('./f-chip-
|
|
15
|
-
const component = require('./component-
|
|
16
|
-
const fCheckbox = require('./f-checkbox-
|
|
17
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
14
|
+
const fChip = require('./f-chip-3349d130.js');
|
|
15
|
+
const component = require('./component-cb3b32f5.js');
|
|
16
|
+
const fCheckbox = require('./f-checkbox-556771e8.js');
|
|
17
|
+
const fPaginatorUtils = require('./f-paginator-utils-1fe1df76.js');
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the kup-autocomplete component.
|
|
@@ -1079,7 +1079,7 @@ const KupButtonList = class {
|
|
|
1079
1079
|
};
|
|
1080
1080
|
KupButtonList.style = kupButtonListCss;
|
|
1081
1081
|
|
|
1082
|
-
const dom$
|
|
1082
|
+
const dom$a = document.documentElement;
|
|
1083
1083
|
/**
|
|
1084
1084
|
* 1st box card layout, it can be used as a key-value grid list.
|
|
1085
1085
|
* @param {KupCard} component - Card component.
|
|
@@ -1174,8 +1174,8 @@ function create4$4(component) {
|
|
|
1174
1174
|
let value = null;
|
|
1175
1175
|
for (let index = 0; index < cells.length; index++) {
|
|
1176
1176
|
const cell = cells[index];
|
|
1177
|
-
const isImage = dom$
|
|
1178
|
-
dom$
|
|
1177
|
+
const isImage = dom$a.ketchup.objects.isImage(cell.obj) ||
|
|
1178
|
+
dom$a.ketchup.objects.isIcon(cell.obj) ||
|
|
1179
1179
|
((_a = cell.shape) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === kupManager.FCellShapes.IMAGE;
|
|
1180
1180
|
if (!image && isImage) {
|
|
1181
1181
|
image = index;
|
|
@@ -1226,8 +1226,8 @@ function create5$4(component) {
|
|
|
1226
1226
|
for (let index$1 = 0; index$1 < cells.length; index$1++) {
|
|
1227
1227
|
const cell = cells[index$1];
|
|
1228
1228
|
const column = component.data.columns[index$1];
|
|
1229
|
-
const isImage = dom$
|
|
1230
|
-
dom$
|
|
1229
|
+
const isImage = dom$a.ketchup.objects.isImage(cell.obj) ||
|
|
1230
|
+
dom$a.ketchup.objects.isIcon(cell.obj) ||
|
|
1231
1231
|
((_a = cell.shape) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === kupManager.FCellShapes.IMAGE;
|
|
1232
1232
|
if (!imageProps && isImage) {
|
|
1233
1233
|
imageProps = {
|
|
@@ -1279,8 +1279,8 @@ function create6$4(component) {
|
|
|
1279
1279
|
for (let index$1 = 0; index$1 < cells.length; index$1++) {
|
|
1280
1280
|
const cell = cells[index$1];
|
|
1281
1281
|
const column = component.data.columns[index$1];
|
|
1282
|
-
const isImage = dom$
|
|
1283
|
-
dom$
|
|
1282
|
+
const isImage = dom$a.ketchup.objects.isImage(cell.obj) ||
|
|
1283
|
+
dom$a.ketchup.objects.isIcon(cell.obj) ||
|
|
1284
1284
|
((_a = cell.shape) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === kupManager.FCellShapes.IMAGE;
|
|
1285
1285
|
if (!image && isImage) {
|
|
1286
1286
|
image = index$1;
|
|
@@ -1368,7 +1368,7 @@ var SourceEvent;
|
|
|
1368
1368
|
SourceEvent["YEAR"] = "year";
|
|
1369
1369
|
})(SourceEvent || (SourceEvent = {}));
|
|
1370
1370
|
|
|
1371
|
-
const dom$
|
|
1371
|
+
const dom$9 = document.documentElement;
|
|
1372
1372
|
function prepareCalendar(component) {
|
|
1373
1373
|
const el = component.rootElement;
|
|
1374
1374
|
if (!el.kupData)
|
|
@@ -1393,7 +1393,7 @@ function prepareCalendar(component) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
if (!el.kupData.value)
|
|
1395
1395
|
setValue$2(component, new Date());
|
|
1396
|
-
const months = dom$
|
|
1396
|
+
const months = dom$9.ketchup.dates.getMonthsAsString();
|
|
1397
1397
|
const curYear = getYear(component);
|
|
1398
1398
|
const curMonth = getMonth(component);
|
|
1399
1399
|
const yearRange = getInitEndYear(curYear);
|
|
@@ -1520,7 +1520,7 @@ function createCalendar(component) {
|
|
|
1520
1520
|
}
|
|
1521
1521
|
}
|
|
1522
1522
|
function createDaysCalendar(component) {
|
|
1523
|
-
const days = dom$
|
|
1523
|
+
const days = dom$9.ketchup.dates.getDaysOfWeekAsString(getFirstDayIndex(component));
|
|
1524
1524
|
const selectedDate = getValue$1(component);
|
|
1525
1525
|
const selectedDay = getDay(component);
|
|
1526
1526
|
const selectedMonth = getMonth(component);
|
|
@@ -1586,7 +1586,7 @@ function createDaysCalendar(component) {
|
|
|
1586
1586
|
index.h("tbody", null, tbody)));
|
|
1587
1587
|
}
|
|
1588
1588
|
function createMonthsCalendar(component) {
|
|
1589
|
-
const months = dom$
|
|
1589
|
+
const months = dom$9.ketchup.dates.getMonthsAsString(kupManager.KupDateTimeFormatOptionsMonth.SHORT);
|
|
1590
1590
|
let selectedDay = getDay(component);
|
|
1591
1591
|
const selectedMonth = getMonth(component);
|
|
1592
1592
|
const selectedYear = getYear(component);
|
|
@@ -1737,7 +1737,7 @@ function refresh(component) {
|
|
|
1737
1737
|
}
|
|
1738
1738
|
function onCalendarMonthYearItemClick(component, value) {
|
|
1739
1739
|
let d;
|
|
1740
|
-
if (dom$
|
|
1740
|
+
if (dom$9.ketchup.dates.isValid(value, kupManager.KupDatesFormats.ISO_DATE)) {
|
|
1741
1741
|
d = new Date(value);
|
|
1742
1742
|
}
|
|
1743
1743
|
else {
|
|
@@ -1759,7 +1759,7 @@ function onCalendarMonthYearItemClick(component, value) {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
function onCalendarItemClick(component, value) {
|
|
1761
1761
|
let d;
|
|
1762
|
-
if (dom$
|
|
1762
|
+
if (dom$9.ketchup.dates.isValid(value, kupManager.KupDatesFormats.ISO_DATE)) {
|
|
1763
1763
|
d = new Date(value);
|
|
1764
1764
|
}
|
|
1765
1765
|
else {
|
|
@@ -1770,7 +1770,7 @@ function onCalendarItemClick(component, value) {
|
|
|
1770
1770
|
refresh(component);
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
|
-
const dom$
|
|
1773
|
+
const dom$8 = document.documentElement;
|
|
1774
1774
|
function prepareClock(component) {
|
|
1775
1775
|
const el = component.rootElement;
|
|
1776
1776
|
el.kupData = {};
|
|
@@ -1885,7 +1885,7 @@ function onKupBlur(component) {
|
|
|
1885
1885
|
function createClock(component) {
|
|
1886
1886
|
let selectedTime;
|
|
1887
1887
|
if (getValue(component)) {
|
|
1888
|
-
selectedTime = dom$
|
|
1888
|
+
selectedTime = dom$8.ketchup.dates.toDate(getValue(component), isManageSeconds(component)
|
|
1889
1889
|
? kupManager.KupDatesFormats.ISO_TIME
|
|
1890
1890
|
: kupManager.KupDatesFormats.ISO_TIME_WITHOUT_SECONDS);
|
|
1891
1891
|
}
|
|
@@ -2087,7 +2087,7 @@ function setClockTime(e, component) {
|
|
|
2087
2087
|
e.target.classList.add('selected');
|
|
2088
2088
|
}
|
|
2089
2089
|
|
|
2090
|
-
const dom$
|
|
2090
|
+
const dom$7 = document.documentElement;
|
|
2091
2091
|
const premadeFormulas = [
|
|
2092
2092
|
kupManager.KupLanguageTotals.AVERAGE,
|
|
2093
2093
|
kupManager.KupLanguageTotals.DIFFERENCE,
|
|
@@ -2102,7 +2102,7 @@ function prepareColumnDropMenu(component) {
|
|
|
2102
2102
|
const column = options.data.columns[index];
|
|
2103
2103
|
if (column.visible !== false &&
|
|
2104
2104
|
column.obj &&
|
|
2105
|
-
dom$
|
|
2105
|
+
dom$7.ketchup.objects.isNumber(column.obj)) {
|
|
2106
2106
|
chipData.push({
|
|
2107
2107
|
obj: column.obj,
|
|
2108
2108
|
value: column.name,
|
|
@@ -2118,7 +2118,7 @@ function prepareColumnDropMenu(component) {
|
|
|
2118
2118
|
if (options.enableFormula) {
|
|
2119
2119
|
combobox = prepareCombobox(options, numericalColumnsExist);
|
|
2120
2120
|
if (numericalColumnsExist) {
|
|
2121
|
-
button = (index.h("kup-button", { "onKup-button-click": () => applyFormula(component), label: dom$
|
|
2121
|
+
button = (index.h("kup-button", { "onKup-button-click": () => applyFormula(component), label: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.CALCULATE), styling: fButtonDeclarations.FButtonStyling.OUTLINED }));
|
|
2122
2122
|
chipSet = (index.h("div", { class: "sub-chip" },
|
|
2123
2123
|
index.h("kup-chip", { data: chipData, "onKup-chip-click": (e) => typeColumn(e, component) })));
|
|
2124
2124
|
}
|
|
@@ -2131,35 +2131,35 @@ function prepareList(options) {
|
|
|
2131
2131
|
listData.push({
|
|
2132
2132
|
icon: 'library_add',
|
|
2133
2133
|
id: kupManager.KupLanguageGeneric.MERGE,
|
|
2134
|
-
value: dom$
|
|
2134
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageGeneric.MERGE),
|
|
2135
2135
|
});
|
|
2136
2136
|
}
|
|
2137
2137
|
if (options.enableMove) {
|
|
2138
2138
|
listData.push({
|
|
2139
2139
|
icon: 'swap_horiz',
|
|
2140
2140
|
id: kupManager.KupLanguageGeneric.MOVE,
|
|
2141
|
-
value: dom$
|
|
2141
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageGeneric.MOVE),
|
|
2142
2142
|
});
|
|
2143
2143
|
}
|
|
2144
2144
|
return listData.length > 0 ? (index.h("kup-list", { data: listData, showIcons: true, "onkup-list-click": (e) => listClick(e, options) })) : null;
|
|
2145
2145
|
}
|
|
2146
2146
|
function prepareCombobox(options, numericalColumnsExist) {
|
|
2147
2147
|
const comboListData = [];
|
|
2148
|
-
const numeric = dom$
|
|
2149
|
-
dom$
|
|
2148
|
+
const numeric = dom$7.ketchup.objects.isNumber(options.receivingColumn.obj) &&
|
|
2149
|
+
dom$7.ketchup.objects.isNumber(options.starterColumn.obj);
|
|
2150
2150
|
if (numeric) {
|
|
2151
2151
|
comboListData.push({
|
|
2152
2152
|
id: kupManager.KupLanguageTotals.AVERAGE,
|
|
2153
|
-
value: dom$
|
|
2153
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.AVERAGE),
|
|
2154
2154
|
}, {
|
|
2155
2155
|
id: kupManager.KupLanguageTotals.DIFFERENCE,
|
|
2156
|
-
value: dom$
|
|
2156
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.DIFFERENCE),
|
|
2157
2157
|
}, {
|
|
2158
2158
|
id: kupManager.KupLanguageTotals.PRODUCT,
|
|
2159
|
-
value: dom$
|
|
2159
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.PRODUCT),
|
|
2160
2160
|
}, {
|
|
2161
2161
|
id: kupManager.KupLanguageTotals.SUM,
|
|
2162
|
-
value: dom$
|
|
2162
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.SUM),
|
|
2163
2163
|
}, {
|
|
2164
2164
|
id: `([${options.starterColumn.name}]/[${options.receivingColumn.name}])*100`,
|
|
2165
2165
|
value: `[${options.starterColumn.name}] / [${options.receivingColumn.name}] * 100`,
|
|
@@ -2171,7 +2171,7 @@ function prepareCombobox(options, numericalColumnsExist) {
|
|
|
2171
2171
|
else {
|
|
2172
2172
|
comboListData.push({
|
|
2173
2173
|
id: kupManager.KupLanguageColumn.NO_FORMULA,
|
|
2174
|
-
value: dom$
|
|
2174
|
+
value: dom$7.ketchup.language.translate(kupManager.KupLanguageColumn.NO_FORMULA),
|
|
2175
2175
|
});
|
|
2176
2176
|
}
|
|
2177
2177
|
const comboData = {
|
|
@@ -2181,11 +2181,11 @@ function prepareCombobox(options, numericalColumnsExist) {
|
|
|
2181
2181
|
},
|
|
2182
2182
|
'kup-text-field': {
|
|
2183
2183
|
helper: !numericalColumnsExist
|
|
2184
|
-
? dom$
|
|
2184
|
+
? dom$7.ketchup.language.translate(kupManager.KupLanguageColumn.NON_NUMERICAL_IN_TABLE)
|
|
2185
2185
|
: numeric
|
|
2186
2186
|
? `i.e.: [${options.receivingColumn.name}] - [${options.starterColumn.name}] + 1`
|
|
2187
|
-
: dom$
|
|
2188
|
-
label: dom$
|
|
2187
|
+
: dom$7.ketchup.language.translate(kupManager.KupLanguageColumn.NON_NUMERICAL),
|
|
2188
|
+
label: dom$7.ketchup.language.translate(kupManager.KupLanguageTotals.FORMULA),
|
|
2189
2189
|
outlined: true,
|
|
2190
2190
|
},
|
|
2191
2191
|
};
|
|
@@ -2223,7 +2223,7 @@ async function applyFormula(component) {
|
|
|
2223
2223
|
if (combobox) {
|
|
2224
2224
|
const value = (await combobox.getValue());
|
|
2225
2225
|
if (premadeFormulas.includes(value)) {
|
|
2226
|
-
dom$
|
|
2226
|
+
dom$7.ketchup.data.column.new(options.data, kupManager.KupDataNewColumnTypes.MATH, {
|
|
2227
2227
|
columns: [
|
|
2228
2228
|
options.receivingColumn.name,
|
|
2229
2229
|
options.starterColumn.name,
|
|
@@ -2235,7 +2235,7 @@ async function applyFormula(component) {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
2237
|
else {
|
|
2238
|
-
const result = dom$
|
|
2238
|
+
const result = dom$7.ketchup.data.column.new(options.data, kupManager.KupDataNewColumnTypes.MATH, {
|
|
2239
2239
|
operation: value,
|
|
2240
2240
|
});
|
|
2241
2241
|
if (typeof result === 'string' || result instanceof String) {
|
|
@@ -2250,18 +2250,18 @@ async function applyFormula(component) {
|
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
|
-
const dom$
|
|
2253
|
+
const dom$6 = document.documentElement;
|
|
2254
2254
|
function prepareMessageBox(component) {
|
|
2255
2255
|
const options = component.data.options;
|
|
2256
2256
|
const buttonsExist = !!(options.cancelCb || options.confirmCb);
|
|
2257
2257
|
return (index.h("div", { class: "message-box" },
|
|
2258
2258
|
options.text ? index.h("div", { class: "text" }, options.text) : null,
|
|
2259
2259
|
buttonsExist ? (index.h("div", { class: "button-wrapper" },
|
|
2260
|
-
options.cancelCb ? (index.h(fButton.FButton, { icon: "clear", label: dom$
|
|
2261
|
-
options.confirmCb ? (index.h(fButton.FButton, { icon: "check", label: dom$
|
|
2260
|
+
options.cancelCb ? (index.h(fButton.FButton, { icon: "clear", label: dom$6.ketchup.language.translate(kupManager.KupLanguageGeneric.ABORT), onClick: options.cancelCb, styling: fButtonDeclarations.FButtonStyling.FLAT })) : null,
|
|
2261
|
+
options.confirmCb ? (index.h(fButton.FButton, { icon: "check", label: dom$6.ketchup.language.translate(kupManager.KupLanguageGeneric.CONFIRM), onClick: options.confirmCb })) : null)) : null));
|
|
2262
2262
|
}
|
|
2263
2263
|
|
|
2264
|
-
const dom$
|
|
2264
|
+
const dom$5 = document.documentElement;
|
|
2265
2265
|
function prepareNumeric(component) {
|
|
2266
2266
|
const el = component.rootElement;
|
|
2267
2267
|
if (!el.kupData)
|
|
@@ -2283,7 +2283,7 @@ function prepareNumeric(component) {
|
|
|
2283
2283
|
el.kupData.value = obj.k;
|
|
2284
2284
|
else
|
|
2285
2285
|
el.kupData.value = options.initialValue.toString();
|
|
2286
|
-
el.kupData.localeValue = dom$
|
|
2286
|
+
el.kupData.localeValue = dom$5.ketchup.math.numbers.toLocaleString(el.kupData.value);
|
|
2287
2287
|
}
|
|
2288
2288
|
options.resetStatus = false;
|
|
2289
2289
|
}
|
|
@@ -2358,7 +2358,7 @@ function setSign(component) {
|
|
|
2358
2358
|
return;
|
|
2359
2359
|
strVal = '-' + strVal;
|
|
2360
2360
|
el.kupData.value = strVal;
|
|
2361
|
-
el.kupData.localeValue = dom$
|
|
2361
|
+
el.kupData.localeValue = dom$5.ketchup.math.numbers.toLocaleString(strVal);
|
|
2362
2362
|
component.refresh();
|
|
2363
2363
|
}
|
|
2364
2364
|
function setValue(component, value) {
|
|
@@ -2395,7 +2395,7 @@ function setValue(component, value) {
|
|
|
2395
2395
|
return;
|
|
2396
2396
|
strVal += value;
|
|
2397
2397
|
el.kupData.value = strVal;
|
|
2398
|
-
el.kupData.localeValue = dom$
|
|
2398
|
+
el.kupData.localeValue = dom$5.ketchup.math.numbers.toLocaleString(strVal);
|
|
2399
2399
|
component.refresh();
|
|
2400
2400
|
}
|
|
2401
2401
|
function clearValue(component) {
|
|
@@ -2405,7 +2405,7 @@ function clearValue(component) {
|
|
|
2405
2405
|
component.refresh();
|
|
2406
2406
|
}
|
|
2407
2407
|
function getDecimalChar() {
|
|
2408
|
-
return (0.1).toLocaleString(dom$
|
|
2408
|
+
return (0.1).toLocaleString(dom$5.ketchup.math.locale).substring(1, 2);
|
|
2409
2409
|
}
|
|
2410
2410
|
function saveValue(component) {
|
|
2411
2411
|
const el = component.rootElement;
|
|
@@ -2774,7 +2774,7 @@ const collapsibleLayouts = /*#__PURE__*/Object.freeze({
|
|
|
2774
2774
|
create2: create2$4
|
|
2775
2775
|
});
|
|
2776
2776
|
|
|
2777
|
-
const dom$
|
|
2777
|
+
const dom$4 = document.documentElement;
|
|
2778
2778
|
/**
|
|
2779
2779
|
* 1st dialog card layout, used to display information in string format.
|
|
2780
2780
|
* @param {KupCard} component - Card component.
|
|
@@ -2868,8 +2868,8 @@ function create4$2(component) {
|
|
|
2868
2868
|
return (index.h("div", { class: `dialog-layout-${component.layoutNumber} dialog-element` },
|
|
2869
2869
|
textArray[0] ? dialogHeader(textArray[0]) : dialogHeader(''),
|
|
2870
2870
|
datatableArray[0] && buttonArray[0] && buttonArray[1] ? (index.h("div", { class: "section-1" },
|
|
2871
|
-
index.h("kup-button", Object.assign({}, buttonArray[0], { id: kupManager.KupCardIds.PREVIOUS_ROW, "onkup-button-click": () => prevButton(component), title: dom$
|
|
2872
|
-
index.h("kup-button", Object.assign({}, buttonArray[1], { id: kupManager.KupCardIds.NEXT_ROW, "onkup-button-click": () => nextButton(component), title: dom$
|
|
2871
|
+
index.h("kup-button", Object.assign({}, buttonArray[0], { id: kupManager.KupCardIds.PREVIOUS_ROW, "onkup-button-click": () => prevButton(component), title: dom$4.ketchup.language.translate(kupManager.KupLanguageRow.PREVIOUS) })),
|
|
2872
|
+
index.h("kup-button", Object.assign({}, buttonArray[1], { id: kupManager.KupCardIds.NEXT_ROW, "onkup-button-click": () => nextButton(component), title: dom$4.ketchup.language.translate(kupManager.KupLanguageRow.NEXT) })))) : null,
|
|
2873
2873
|
datatableArray[0] ? (index.h("div", { class: "section-2" },
|
|
2874
2874
|
index.h("kup-data-table", Object.assign({ id: "datatable1" }, datatableArray[0])))) : null));
|
|
2875
2875
|
}
|
|
@@ -3054,27 +3054,28 @@ const freeLayouts = /*#__PURE__*/Object.freeze({
|
|
|
3054
3054
|
create2: create2$2
|
|
3055
3055
|
});
|
|
3056
3056
|
|
|
3057
|
+
const dom$3 = document.documentElement;
|
|
3057
3058
|
/**
|
|
3058
3059
|
* 1st scalable card layout, column of 2 texts.
|
|
3059
3060
|
* @param {KupCard} component - Card component.
|
|
3060
3061
|
* @returns {VNode} 1st scalable layout virtual node.
|
|
3061
3062
|
*/
|
|
3062
3063
|
function create1$1(component) {
|
|
3064
|
+
//Image color
|
|
3065
|
+
const colorArray = component.data['color']
|
|
3066
|
+
? component.data['color']
|
|
3067
|
+
: [];
|
|
3063
3068
|
//Title, subtitle
|
|
3064
3069
|
let textIndex = 0;
|
|
3065
3070
|
const textArray = component.data['text']
|
|
3066
3071
|
? component.data['text']
|
|
3067
3072
|
: [];
|
|
3068
|
-
|
|
3069
|
-
let CSSVariables = {
|
|
3070
|
-
['--kup_card_multiplier']: '1',
|
|
3071
|
-
};
|
|
3072
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3073
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3073
3074
|
index.h("div", { class: "scalable-element" },
|
|
3074
3075
|
index.h("div", { class: "descr" },
|
|
3075
|
-
index.h("div",
|
|
3076
|
+
index.h("div", { style: colorArray[0] ? { color: colorArray[0] } : undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3076
3077
|
index.h("div", { class: "value" },
|
|
3077
|
-
index.h("div",
|
|
3078
|
+
index.h("div", { style: colorArray[1] ? { color: colorArray[1] } : undefined }, textArray[++textIndex] ? textArray[textIndex] : '')))));
|
|
3078
3079
|
}
|
|
3079
3080
|
/**
|
|
3080
3081
|
* 2nd scalable card layout, used to display numerical values.
|
|
@@ -3091,27 +3092,26 @@ function create2$1(component) {
|
|
|
3091
3092
|
? component.data['image']
|
|
3092
3093
|
: [];
|
|
3093
3094
|
//Value, decimal value, measurement unit
|
|
3094
|
-
let textIndex = 0;
|
|
3095
3095
|
const textArray = component.data['text']
|
|
3096
3096
|
? component.data['text']
|
|
3097
3097
|
: [];
|
|
3098
|
-
|
|
3099
|
-
let CSSVariables = {
|
|
3100
|
-
['--kup_card_multiplier']: '1',
|
|
3101
|
-
};
|
|
3102
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3098
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3103
3099
|
index.h("div", { class: "scalable-element" },
|
|
3104
3100
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3105
3101
|
? colorArray[0]
|
|
3106
3102
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1.25em", sizeY: "1.25em" }))) : null),
|
|
3107
3103
|
index.h("div", { class: "value-int" },
|
|
3108
|
-
index.h("div",
|
|
3109
|
-
textArray[
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3104
|
+
index.h("div", { style: colorArray[1] ? { color: colorArray[1] } : undefined },
|
|
3105
|
+
textArray[0] ? textArray[0] : '',
|
|
3106
|
+
textArray[1]
|
|
3107
|
+
? dom$3.ketchup.math.decimalSeparator()
|
|
3108
|
+
: '')),
|
|
3109
|
+
textArray[1] ? (index.h("div", { class: "value-dec" },
|
|
3110
|
+
index.h("div", { style: colorArray[1]
|
|
3111
|
+
? { color: colorArray[1] }
|
|
3112
|
+
: undefined }, textArray[1]))) : null,
|
|
3113
3113
|
index.h("div", { class: "unit" },
|
|
3114
|
-
index.h("div",
|
|
3114
|
+
index.h("div", { style: colorArray[1] ? { color: colorArray[1] } : undefined }, textArray[2] ? textArray[2] : '')))));
|
|
3115
3115
|
}
|
|
3116
3116
|
/**
|
|
3117
3117
|
* 3rd scalable card layout, column of 2 texts.
|
|
@@ -3119,21 +3119,21 @@ function create2$1(component) {
|
|
|
3119
3119
|
* @returns {VNode} 3rd scalable layout virtual node.
|
|
3120
3120
|
*/
|
|
3121
3121
|
function create3$1(component) {
|
|
3122
|
+
//Image color
|
|
3123
|
+
const colorArray = component.data['color']
|
|
3124
|
+
? component.data['color']
|
|
3125
|
+
: [];
|
|
3122
3126
|
//Title, subtitle
|
|
3123
3127
|
let textIndex = 0;
|
|
3124
3128
|
const textArray = component.data['text']
|
|
3125
3129
|
? component.data['text']
|
|
3126
3130
|
: [];
|
|
3127
|
-
|
|
3128
|
-
let CSSVariables = {
|
|
3129
|
-
['--kup_card_multiplier']: '1',
|
|
3130
|
-
};
|
|
3131
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3131
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3132
3132
|
index.h("div", { class: "scalable-element" },
|
|
3133
3133
|
index.h("div", { class: "value" },
|
|
3134
|
-
index.h("div",
|
|
3134
|
+
index.h("div", { style: colorArray[0] ? { color: colorArray[0] } : undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3135
3135
|
index.h("div", { class: "descr" },
|
|
3136
|
-
index.h("div",
|
|
3136
|
+
index.h("div", { style: colorArray[1] ? { color: colorArray[1] } : undefined }, textArray[++textIndex] ? textArray[textIndex] : '')))));
|
|
3137
3137
|
}
|
|
3138
3138
|
/**
|
|
3139
3139
|
* 4th scalable card layout, used to display numerical values with subtitle.
|
|
@@ -3150,34 +3150,34 @@ function create4$1(component) {
|
|
|
3150
3150
|
? component.data['image']
|
|
3151
3151
|
: [];
|
|
3152
3152
|
//Value, decimal value, measurement unit, subtitle
|
|
3153
|
-
let textIndex = 0;
|
|
3154
3153
|
const textArray = component.data['text']
|
|
3155
3154
|
? component.data['text']
|
|
3156
3155
|
: [];
|
|
3157
|
-
|
|
3158
|
-
let CSSVariables = {
|
|
3159
|
-
[`--color-0`]: colorArray[0]
|
|
3160
|
-
? colorArray[0]
|
|
3161
|
-
: `var(${kupManager.KupThemeColorValues.PRIMARY})`,
|
|
3162
|
-
['--kup_card_multiplier']: '1',
|
|
3163
|
-
};
|
|
3164
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3156
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3165
3157
|
index.h("div", { class: "scalable-element" },
|
|
3166
3158
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3167
3159
|
? colorArray[0]
|
|
3168
3160
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1.25em", sizeY: "1.25em" }))) : null),
|
|
3169
3161
|
index.h("div", { class: "value-and-unit" },
|
|
3170
3162
|
index.h("div", { class: "value-int" },
|
|
3171
|
-
index.h("div",
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3163
|
+
index.h("div", { style: colorArray[1]
|
|
3164
|
+
? { color: colorArray[1] }
|
|
3165
|
+
: undefined },
|
|
3166
|
+
textArray[0] ? textArray[0] : '',
|
|
3167
|
+
textArray[1]
|
|
3168
|
+
? dom$3.ketchup.math.decimalSeparator()
|
|
3169
|
+
: '')),
|
|
3170
|
+
textArray[1] ? (index.h("div", { class: "value-dec" },
|
|
3171
|
+
index.h("div", { style: colorArray[1]
|
|
3172
|
+
? { color: colorArray[1] }
|
|
3173
|
+
: undefined }, textArray[1]))) : null,
|
|
3176
3174
|
index.h("div", { class: "unit" },
|
|
3177
|
-
index.h("div",
|
|
3175
|
+
index.h("div", { style: colorArray[1]
|
|
3176
|
+
? { color: colorArray[1] }
|
|
3177
|
+
: undefined }, textArray[2] ? textArray[2] : ''))),
|
|
3178
3178
|
index.h("div", { class: "empty-placeholder" }),
|
|
3179
3179
|
index.h("div", { class: "descr" },
|
|
3180
|
-
index.h("div",
|
|
3180
|
+
index.h("div", { style: colorArray[2] ? { color: colorArray[2] } : undefined }, textArray[3] ? textArray[3] : '')))));
|
|
3181
3181
|
}
|
|
3182
3182
|
/**
|
|
3183
3183
|
* 5th scalable card layout, icon with title and subtitle.
|
|
@@ -3198,17 +3198,17 @@ function create5$1(component) {
|
|
|
3198
3198
|
const textArray = component.data['text']
|
|
3199
3199
|
? component.data['text']
|
|
3200
3200
|
: [];
|
|
3201
|
-
|
|
3202
|
-
let CSSVariables = {
|
|
3203
|
-
['--kup_card_multiplier']: '1',
|
|
3204
|
-
};
|
|
3205
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3201
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3206
3202
|
index.h("div", { class: "scalable-element" },
|
|
3207
3203
|
index.h("div", { class: "text-wrapper" },
|
|
3208
3204
|
index.h("div", { class: "descr" },
|
|
3209
|
-
index.h("div",
|
|
3205
|
+
index.h("div", { style: colorArray[1]
|
|
3206
|
+
? { color: colorArray[1] }
|
|
3207
|
+
: undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3210
3208
|
index.h("div", { class: "value" },
|
|
3211
|
-
index.h("div",
|
|
3209
|
+
index.h("div", { style: colorArray[2]
|
|
3210
|
+
? { color: colorArray[2] }
|
|
3211
|
+
: undefined }, textArray[++textIndex] ? textArray[textIndex] : ''))),
|
|
3212
3212
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3213
3213
|
? colorArray[0]
|
|
3214
3214
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1em", sizeY: "1em" }))) : null))));
|
|
@@ -3232,20 +3232,20 @@ function create6$1(component) {
|
|
|
3232
3232
|
const textArray = component.data['text']
|
|
3233
3233
|
? component.data['text']
|
|
3234
3234
|
: [];
|
|
3235
|
-
|
|
3236
|
-
let CSSVariables = {
|
|
3237
|
-
['--kup_card_multiplier']: '1',
|
|
3238
|
-
};
|
|
3239
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3235
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3240
3236
|
index.h("div", { class: "scalable-element" },
|
|
3241
3237
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3242
3238
|
? colorArray[0]
|
|
3243
3239
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1em", sizeY: "1em" }))) : null),
|
|
3244
3240
|
index.h("div", { class: "text-wrapper" },
|
|
3245
3241
|
index.h("div", { class: "value" },
|
|
3246
|
-
index.h("div",
|
|
3242
|
+
index.h("div", { style: colorArray[1]
|
|
3243
|
+
? { color: colorArray[1] }
|
|
3244
|
+
: undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3247
3245
|
index.h("div", { class: "descr" },
|
|
3248
|
-
index.h("div",
|
|
3246
|
+
index.h("div", { style: colorArray[2]
|
|
3247
|
+
? { color: colorArray[2] }
|
|
3248
|
+
: undefined }, textArray[++textIndex] ? textArray[textIndex] : ''))))));
|
|
3249
3249
|
}
|
|
3250
3250
|
/**
|
|
3251
3251
|
* 7th scalable card layout, icon with title and subtitle.
|
|
@@ -3266,17 +3266,17 @@ function create7$1(component) {
|
|
|
3266
3266
|
const textArray = component.data['text']
|
|
3267
3267
|
? component.data['text']
|
|
3268
3268
|
: [];
|
|
3269
|
-
|
|
3270
|
-
let CSSVariables = {
|
|
3271
|
-
['--kup_card_multiplier']: '1',
|
|
3272
|
-
};
|
|
3273
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3269
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3274
3270
|
index.h("div", { class: "scalable-element" },
|
|
3275
3271
|
index.h("div", { class: "text-wrapper" },
|
|
3276
3272
|
index.h("div", { class: "value" },
|
|
3277
|
-
index.h("div",
|
|
3273
|
+
index.h("div", { style: colorArray[1]
|
|
3274
|
+
? { color: colorArray[1] }
|
|
3275
|
+
: undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3278
3276
|
index.h("div", { class: "descr" },
|
|
3279
|
-
index.h("div",
|
|
3277
|
+
index.h("div", { style: colorArray[2]
|
|
3278
|
+
? { color: colorArray[2] }
|
|
3279
|
+
: undefined }, textArray[++textIndex] ? textArray[textIndex] : ''))),
|
|
3280
3280
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3281
3281
|
? colorArray[0]
|
|
3282
3282
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1em", sizeY: "1em" }))) : null))));
|
|
@@ -3300,19 +3300,15 @@ function create8$1(component) {
|
|
|
3300
3300
|
const textArray = component.data['text']
|
|
3301
3301
|
? component.data['text']
|
|
3302
3302
|
: [];
|
|
3303
|
-
|
|
3304
|
-
let CSSVariables = {
|
|
3305
|
-
['--kup_card_multiplier']: '1',
|
|
3306
|
-
};
|
|
3307
|
-
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card`, style: CSSVariables },
|
|
3303
|
+
return (index.h("div", { class: `scalable-layout-${component.layoutNumber} scalable-card` },
|
|
3308
3304
|
index.h("div", { class: "scalable-element" },
|
|
3309
3305
|
index.h("div", { class: "icon" }, imageArray[0] ? (index.h(fImage.FImage, Object.assign({ color: colorArray[0]
|
|
3310
3306
|
? colorArray[0]
|
|
3311
3307
|
: `var(${kupManager.KupThemeColorValues.PRIMARY})`, id: "image1" }, imageArray[0], { sizeX: "1em", sizeY: "1em" }))) : null),
|
|
3312
3308
|
index.h("div", { class: "value" },
|
|
3313
|
-
index.h("div",
|
|
3309
|
+
index.h("div", { style: colorArray[1] ? { color: colorArray[1] } : undefined }, textArray[textIndex] ? textArray[textIndex] : '')),
|
|
3314
3310
|
index.h("div", { class: "descr" },
|
|
3315
|
-
index.h("div",
|
|
3311
|
+
index.h("div", { style: colorArray[2] ? { color: colorArray[2] } : undefined }, textArray[++textIndex] ? textArray[textIndex] : '')))));
|
|
3316
3312
|
}
|
|
3317
3313
|
/**
|
|
3318
3314
|
* 9th scalable card layout, tile view.
|
|
@@ -3355,14 +3351,10 @@ function create9$1(component) {
|
|
|
3355
3351
|
['--color-1']: componentBg,
|
|
3356
3352
|
['--color-2']: textFg,
|
|
3357
3353
|
};
|
|
3358
|
-
const CSSVariablesChild = {
|
|
3359
|
-
['--kup_card_multiplier']: '1',
|
|
3360
|
-
['box-shadow']: 'none',
|
|
3361
|
-
};
|
|
3362
3354
|
return (index.h("div", { class: `scalable-layout-${component.layoutNumber}`, style: CSSVariables },
|
|
3363
3355
|
index.h("div", { class: "section-1" }),
|
|
3364
3356
|
index.h("div", { class: "section-2" },
|
|
3365
|
-
index.h("div", { class: "scalable-card"
|
|
3357
|
+
index.h("div", { class: "scalable-card" },
|
|
3366
3358
|
index.h("div", { class: "text scalable-element" },
|
|
3367
3359
|
index.h("div", { class: "value" }, mainText),
|
|
3368
3360
|
index.h("div", { class: "descr" }, subText))),
|
|
@@ -4004,14 +3996,17 @@ function create14(component) {
|
|
|
4004
3996
|
imageArray[0] ? (index.h(fImage.FImage, Object.assign({ id: "image1" }, imageArray[0], { sizeX: "84px", sizeY: "84px" }))) : (index.h("div", { class: "sub-spinner" },
|
|
4005
3997
|
index.h("kup-spinner", { active: true, dimensions: "7px", layout: 14 }))),
|
|
4006
3998
|
index.h("div", { class: "sub-1" },
|
|
4007
|
-
textArray[0]
|
|
4008
|
-
|
|
4009
|
-
buttonsIds.includes(KupColumnMenuIds.
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
KupColumnMenuIds.
|
|
3999
|
+
textArray[0] ||
|
|
4000
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_OPEN_IN_NEW) ||
|
|
4001
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("div", { class: "top" },
|
|
4002
|
+
textArray[0] ? (index.h("div", { class: "title" },
|
|
4003
|
+
index.h("span", { class: `label ${kupManager.KupCardCSSClasses.CLICKABLE_LINK}`, id: "title-link" }, textArray[0]))) : null,
|
|
4004
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_OPEN_IN_NEW) ||
|
|
4005
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("div", { class: "buttons" },
|
|
4006
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4007
|
+
KupColumnMenuIds.BUTTON_OPEN_IN_NEW)))) : null,
|
|
4008
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4009
|
+
KupColumnMenuIds.BUTTON_SEARCH)))) : null)) : null)) : null,
|
|
4015
4010
|
textArray[1] && textArray[2] ? (index.h("div", { class: "info" },
|
|
4016
4011
|
index.h("span", { class: "label" }, textArray[1]),
|
|
4017
4012
|
index.h("span", { class: "value" }, textArray[2]))) : null,
|
|
@@ -4139,12 +4134,17 @@ function create15(component) {
|
|
|
4139
4134
|
imageArray[0] ? (index.h(fImage.FImage, Object.assign({ id: "image1" }, imageArray[0], { sizeX: "84px", sizeY: "84px" }))) : (index.h("div", { class: "sub-spinner" },
|
|
4140
4135
|
index.h("kup-spinner", { active: true, dimensions: "7px", layout: 14 }))),
|
|
4141
4136
|
index.h("div", { class: "sub-1" },
|
|
4142
|
-
textArray[0]
|
|
4143
|
-
|
|
4144
|
-
buttonsIds.includes(KupColumnMenuIds.
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4137
|
+
textArray[0] ||
|
|
4138
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_OPEN_IN_NEW) ||
|
|
4139
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("div", { class: "top" },
|
|
4140
|
+
textArray[0] ? (index.h("div", { class: "title" },
|
|
4141
|
+
index.h("span", { class: `label ${kupManager.KupCardCSSClasses.CLICKABLE_LINK}`, id: "title-link" }, textArray[0]))) : null,
|
|
4142
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_OPEN_IN_NEW) ||
|
|
4143
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("div", { class: "buttons" },
|
|
4144
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4145
|
+
KupColumnMenuIds.BUTTON_OPEN_IN_NEW)))) : null,
|
|
4146
|
+
buttonsIds.includes(KupColumnMenuIds.BUTTON_SEARCH) ? (index.h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4147
|
+
KupColumnMenuIds.BUTTON_SEARCH)))) : null)) : null)) : null,
|
|
4148
4148
|
sectionOneArray[1] && sectionOneArray[2] ? (index.h("div", { class: "info" },
|
|
4149
4149
|
index.h("span", { class: "label" }, sectionOneArray[1]),
|
|
4150
4150
|
index.h("span", { class: "value" }, sectionOneArray[2]))) : null,
|
|
@@ -5182,7 +5182,7 @@ var Picker = function () {
|
|
|
5182
5182
|
Picker.StyleElement = style;
|
|
5183
5183
|
}
|
|
5184
5184
|
|
|
5185
|
-
const kupCardCss = ".box-layout-1{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-1 table{width:100%}.box-layout-1 .label{overflow:hidden;padding:0.5em;text-overflow:ellipsis;width:50%}.box-layout-1 .value{font-weight:bold;padding:0.5em}.box-layout-2{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-2 table{width:100%}.box-layout-2 .label{max-width:50%;overflow:hidden;padding:0.5em;text-overflow:ellipsis;white-space:nowrap}.box-layout-2 .value{padding:0.5em;font-weight:bold}.box-layout-3{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-3 .container{display:flex;justify-content:space-between;overflow:hidden;width:100%}.box-layout-3 .flex-container{align-items:center;display:flex;justify-content:center;width:100%}.box-layout-3 .flex-container:first-child{justify-content:flex-start}.box-layout-3 .flex-container:last-child{justify-content:flex-end}.box-layout-3 .label{overflow:hidden;padding:0.5em;text-overflow:ellipsis;white-space:nowrap}.box-layout-3 .value{padding:0.5em;font-weight:bold}.box-layout-3 .f-cell .f-cell__text{white-space:nowrap}.box-layout-4{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:0.5em}.box-layout-4 .container{margin:auto;width:100%}.box-layout-4 .image{border-radius:50%;height:64px;margin:auto;width:64px}.box-layout-4 .value{font-weight:bold;padding-top:0.5em}.box-layout-4 .f-cell.c-centered .f-cell__content img,.box-layout-4 .f-cell.c-centered .f-cell__content .f-image{margin:0}.box-layout-5{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-5 .container{display:flex;height:100%;margin:auto;width:100%}.box-layout-5 .image{display:flex;height:100%;margin:auto;width:50%}.box-layout-5 .label,.box-layout-5 .value{padding:0.5em}.box-layout-5 .label{overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.box-layout-5 .value{font-weight:bold}.box-layout-5 .table{box-sizing:border-box;padding:1.25em}.box-layout-5 .table,.box-layout-5 table{width:100%}.box-layout-6{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-6 .container{display:flex;height:100%;margin:auto;width:100%}.box-layout-6 .image{display:flex;height:100%;margin:auto;width:50%}.box-layout-6 .label{padding-bottom:0.25em}.box-layout-6 .value{font-weight:bold;padding-bottom:1.25em}.box-layout-6 tr:last-child .value{padding-bottom:0}.box-layout-6 .table{box-sizing:border-box;display:flex;height:max-content;margin:auto;padding:1.25em}.box-layout-6 .table,.box-layout-6 table{width:100%}.box-layout-7{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-7 .container{height:100%;margin:auto;width:100%}.box-layout-7 .image{width:100%}.box-layout-7 .label,.box-layout-7 .value{padding:0.25em}.box-layout-7 .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.box-layout-7 .value{font-weight:bold}.box-layout-7 .table{box-sizing:border-box;padding:1.25em;padding-bottom:0}.box-layout-7 .table,.box-layout-7 table{width:100%}.box-layout-8{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-8 .container{height:100%;margin:auto;width:100%}.box-layout-8 .image{width:100%}.box-layout-8 .label{overflow:hidden;padding-bottom:0.25em;text-overflow:ellipsis;white-space:nowrap}.box-layout-8 .value{font-weight:bold;padding-bottom:1.25em}.box-layout-8 tr:last-child .value{padding-bottom:0}.box-layout-8 .table{box-sizing:border-box;padding:1.25em;padding-bottom:0}.box-layout-8 .table,.box-layout-8 table{width:100%}.built-in-layout-1{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto;padding:0.5em}.built-in-layout-1 .section-1{box-sizing:border-box;height:5em;overflow:auto;padding-bottom:1em;width:100%}.built-in-layout-1 .section-1 .sub-1{display:flex;flex-direction:row;justify-content:center}.built-in-layout-1 .section-2{height:calc(100% - 60px);overflow:auto;width:100%}.built-in-layout-1 .prev-page{margin-left:auto}.built-in-layout-1 .change-view-button{margin:auto;width:12em;text-align:center}.built-in-layout-1 #change-view-button button{text-transform:capitalize}.built-in-layout-1 .next-page{margin-right:auto}.built-in-layout-1 .calendar{border-collapse:collapse;width:100%}.built-in-layout-1 thead{border-bottom:1px solid var(--kup-border-color)}.built-in-layout-1 .item-text{color:rgba(var(--kup-text-color-rgb), 0.5)}.built-in-layout-1 .item{text-align:center}.built-in-layout-1 .item:not(.selected) .item-number:hover{background-color:var(--kup-hover-background-color)}.built-in-layout-1 .item.selected .item-number,.built-in-layout-1 .item.selected .item-number:hover{background-color:rgba(var(--kup-primary-color-rgb), 0.175)}.built-in-layout-1 .item-number{border-radius:50%;cursor:pointer;display:flex;justify-content:center;line-height:2.5em;margin:auto;width:2.5em;transition:background-color 0.25s;text-transform:capitalize}.built-in-layout-2{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.built-in-layout-2 .clock{box-shadow:var(--kup-box-shadow);width:300px;height:450px;background-color:var(--kup-background-color);position:relative;font-family:var(--kup-font-family)}.built-in-layout-2 .top{background-color:var(--kup-primary-color);color:var(--kup-text-on-primary-color);height:100px;line-height:100px;font-size:50px;text-align:center}.built-in-layout-2 .top span{cursor:pointer;opacity:0.75;transition:0.25s ease-in-out}.built-in-layout-2 .top .visible{opacity:1}.built-in-layout-2 .circle{user-select:none;background-color:rgba(var(--kup-text-color-rgb), 0.1);width:250px;height:250px;border-radius:1000px;position:relative;top:25px;left:25px;box-sizing:border-box;display:none}.built-in-layout-2 .circle.visible{display:block}.built-in-layout-2 .mid{position:absolute;left:calc(50% - 0px);top:calc(50% - 0px);width:2px;height:2px;border-radius:10px;background-color:var(--kup-text-color)}.built-in-layout-2 .hour{position:absolute;height:40px;line-height:40px;width:40px;border-radius:40px;text-align:center}.built-in-layout-2 .hour.selected{z-index:2}.built-in-layout-2 .hour.selected::after{content:\"\";z-index:-1;background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:101px;right:50%}.built-in-layout-2 .hour2{z-index:2;position:absolute;height:30px;line-height:30px;width:30px;border-radius:40px;text-align:center;font-size:14px}.built-in-layout-2 .hour2.selected::after{content:\"\";background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:64px;right:50%;z-index:-1}.built-in-layout-2 .unit{position:absolute;height:20px;line-height:20px;width:20px;border-radius:40px;text-align:center;font-size:12px}.built-in-layout-2 .unit.selected::after{content:\"\";background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:101px;right:50%}.built-in-layout-2 .hour,.built-in-layout-2 .hour2,.built-in-layout-2 .unit{cursor:pointer;transition:background-color 0.25s}.built-in-layout-2 .hour:hover,.built-in-layout-2 .hour2:hover,.built-in-layout-2 .unit:hover{background-color:rgba(var(--kup-primary-color-rgb), 0.275)}.built-in-layout-2 .hour.selected,.built-in-layout-2 .hour2.selected,.built-in-layout-2 .unit.selected{background-color:var(--kup-primary-color);color:var(--kup-text-on-primary-color)}.built-in-layout-2 .actions{color:var(--kup-primary-color);font-weight:bold;font-size:20px;display:flex;justify-content:flex-end;position:absolute;width:100%;box-sizing:border-box;bottom:10px}.built-in-layout-2 .action{display:inline-block;width:100px;text-align:center;height:37.5px;line-height:37.5px;margin-right:10px;cursor:pointer;border-radius:2px}.built-in-layout-2 .clock .actions .action:hover{background-color:rgba(0, 0, 0, 0.1)}.built-in-layout-2 .clock .actions .action:visible{background-color:rgba(0, 0, 0, 0.3)}.built-in-layout-2 .hour:nth-child(12):after{transform:rotate(330deg)}.built-in-layout-2 .hour:nth-child(11):after{transform:rotate(300deg)}.built-in-layout-2 .hour:nth-child(10):after{transform:rotate(270deg)}.built-in-layout-2 .hour:nth-child(9):after{transform:rotate(240deg)}.built-in-layout-2 .hour:nth-child(8):after{transform:rotate(210deg)}.built-in-layout-2 .hour:nth-child(7):after{transform:rotate(180deg)}.built-in-layout-2 .hour:nth-child(6):after{transform:rotate(150deg)}.built-in-layout-2 .hour:nth-child(5):after{transform:rotate(120deg)}.built-in-layout-2 .hour:nth-child(4):after{transform:rotate(90deg)}.built-in-layout-2 .hour:nth-child(3):after{transform:rotate(60deg)}.built-in-layout-2 .hour:nth-child(2):after{transform:rotate(30deg)}.built-in-layout-2 .hour:nth-child(1):after{transform:rotate(0deg)}.built-in-layout-2 .hour2:nth-child(24):after{transform:rotate(690deg)}.built-in-layout-2 .hour2:nth-child(23):after{transform:rotate(660deg)}.built-in-layout-2 .hour2:nth-child(22):after{transform:rotate(630deg)}.built-in-layout-2 .hour2:nth-child(21):after{transform:rotate(600deg)}.built-in-layout-2 .hour2:nth-child(20):after{transform:rotate(570deg)}.built-in-layout-2 .hour2:nth-child(19):after{transform:rotate(540deg)}.built-in-layout-2 .hour2:nth-child(18):after{transform:rotate(510deg)}.built-in-layout-2 .hour2:nth-child(17):after{transform:rotate(480deg)}.built-in-layout-2 .hour2:nth-child(16):after{transform:rotate(450deg)}.built-in-layout-2 .hour2:nth-child(15):after{transform:rotate(420deg)}.built-in-layout-2 .hour2:nth-child(14):after{transform:rotate(390deg)}.built-in-layout-2 .hour2:nth-child(13):after{transform:rotate(360deg)}.built-in-layout-2 .unit:nth-child(60):after{transform:rotate(354deg)}.built-in-layout-2 .unit:nth-child(59):after{transform:rotate(348deg)}.built-in-layout-2 .unit:nth-child(58):after{transform:rotate(342deg)}.built-in-layout-2 .unit:nth-child(57):after{transform:rotate(336deg)}.built-in-layout-2 .unit:nth-child(56):after{transform:rotate(330deg)}.built-in-layout-2 .unit:nth-child(55):after{transform:rotate(324deg)}.built-in-layout-2 .unit:nth-child(54):after{transform:rotate(318deg)}.built-in-layout-2 .unit:nth-child(53):after{transform:rotate(312deg)}.built-in-layout-2 .unit:nth-child(52):after{transform:rotate(306deg)}.built-in-layout-2 .unit:nth-child(51):after{transform:rotate(300deg)}.built-in-layout-2 .unit:nth-child(50):after{transform:rotate(294deg)}.built-in-layout-2 .unit:nth-child(49):after{transform:rotate(288deg)}.built-in-layout-2 .unit:nth-child(48):after{transform:rotate(282deg)}.built-in-layout-2 .unit:nth-child(47):after{transform:rotate(276deg)}.built-in-layout-2 .unit:nth-child(46):after{transform:rotate(270deg)}.built-in-layout-2 .unit:nth-child(45):after{transform:rotate(264deg)}.built-in-layout-2 .unit:nth-child(44):after{transform:rotate(258deg)}.built-in-layout-2 .unit:nth-child(43):after{transform:rotate(252deg)}.built-in-layout-2 .unit:nth-child(42):after{transform:rotate(246deg)}.built-in-layout-2 .unit:nth-child(41):after{transform:rotate(240deg)}.built-in-layout-2 .unit:nth-child(40):after{transform:rotate(234deg)}.built-in-layout-2 .unit:nth-child(39):after{transform:rotate(228deg)}.built-in-layout-2 .unit:nth-child(38):after{transform:rotate(222deg)}.built-in-layout-2 .unit:nth-child(37):after{transform:rotate(216deg)}.built-in-layout-2 .unit:nth-child(36):after{transform:rotate(210deg)}.built-in-layout-2 .unit:nth-child(35):after{transform:rotate(204deg)}.built-in-layout-2 .unit:nth-child(34):after{transform:rotate(198deg)}.built-in-layout-2 .unit:nth-child(33):after{transform:rotate(192deg)}.built-in-layout-2 .unit:nth-child(32):after{transform:rotate(186deg)}.built-in-layout-2 .unit:nth-child(31):after{transform:rotate(180deg)}.built-in-layout-2 .unit:nth-child(30):after{transform:rotate(174deg)}.built-in-layout-2 .unit:nth-child(29):after{transform:rotate(168deg)}.built-in-layout-2 .unit:nth-child(28):after{transform:rotate(162deg)}.built-in-layout-2 .unit:nth-child(27):after{transform:rotate(156deg)}.built-in-layout-2 .unit:nth-child(26):after{transform:rotate(150deg)}.built-in-layout-2 .unit:nth-child(25):after{transform:rotate(144deg)}.built-in-layout-2 .unit:nth-child(24):after{transform:rotate(138deg)}.built-in-layout-2 .unit:nth-child(23):after{transform:rotate(132deg)}.built-in-layout-2 .unit:nth-child(22):after{transform:rotate(126deg)}.built-in-layout-2 .unit:nth-child(21):after{transform:rotate(120deg)}.built-in-layout-2 .unit:nth-child(20):after{transform:rotate(114deg)}.built-in-layout-2 .unit:nth-child(19):after{transform:rotate(108deg)}.built-in-layout-2 .unit:nth-child(18):after{transform:rotate(102deg)}.built-in-layout-2 .unit:nth-child(17):after{transform:rotate(96deg)}.built-in-layout-2 .unit:nth-child(16):after{transform:rotate(90deg)}.built-in-layout-2 .unit:nth-child(15):after{transform:rotate(84deg)}.built-in-layout-2 .unit:nth-child(14):after{transform:rotate(78deg)}.built-in-layout-2 .unit:nth-child(13):after{transform:rotate(72deg)}.built-in-layout-2 .unit:nth-child(12):after{transform:rotate(66deg)}.built-in-layout-2 .unit:nth-child(11):after{transform:rotate(60deg)}.built-in-layout-2 .unit:nth-child(10):after{transform:rotate(54deg)}.built-in-layout-2 .unit:nth-child(9):after{transform:rotate(48deg)}.built-in-layout-2 .unit:nth-child(8):after{transform:rotate(42deg)}.built-in-layout-2 .unit:nth-child(7):after{transform:rotate(36deg)}.built-in-layout-2 .unit:nth-child(6):after{transform:rotate(30deg)}.built-in-layout-2 .unit:nth-child(5):after{transform:rotate(24deg)}.built-in-layout-2 .unit:nth-child(4):after{transform:rotate(18deg)}.built-in-layout-2 .unit:nth-child(3):after{transform:rotate(12deg)}.built-in-layout-2 .unit:nth-child(2):after{transform:rotate(6deg)}.built-in-layout-2 .unit:nth-child(1):after{transform:rotate(0deg)}.built-in-layout-3{background:var(--kup-background-color);box-shadow:rgba(128, 128, 128, 0.1) 0px 2px 1px -1px, rgba(128, 128, 128, 0.1) 0px 1px 1px 0px, rgba(128, 128, 128, 0.6) 0px 1px 3px 0px;box-sizing:border-box;overflow:auto}.built-in-layout-3 kup-button,.built-in-layout-3 kup-combobox{margin:0 auto 0.75em auto}.built-in-layout-3 kup-combobox{width:95%}.built-in-layout-3 .sub-chip{border-top:1px solid var(--kup-border-color);max-height:33vh;overflow:auto;width:100%}.built-in-layout-4{background:var(--kup-background-color);box-shadow:rgba(128, 128, 128, 0.1) 0px 2px 1px -1px, rgba(128, 128, 128, 0.1) 0px 1px 1px 0px, rgba(128, 128, 128, 0.6) 0px 1px 3px 0px;box-sizing:border-box}.built-in-layout-4 .picker_arrow{position:absolute;z-index:-1}.built-in-layout-4 .picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.built-in-layout-4 .picker_wrapper.popup,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{background:var(--kup-background-color);box-shadow:0 0 10px 1px rgba(0, 0, 0, 0.4)}.built-in-layout-4 .picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;transform:skew(45deg);transform-origin:0 100%}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.built-in-layout-4 .popup.popup_top{bottom:100%;left:0}.built-in-layout-4 .popup.popup_top .picker_arrow{bottom:0;left:0;transform:rotate(-90deg)}.built-in-layout-4 .popup.popup_bottom{top:100%;left:0}.built-in-layout-4 .popup.popup_bottom .picker_arrow{top:0;left:0;transform:rotate(90deg) scale(1, -1)}.built-in-layout-4 .popup.popup_left{top:0;right:100%}.built-in-layout-4 .popup.popup_left .picker_arrow{top:0;right:0;transform:scale(-1, 1)}.built-in-layout-4 .popup.popup_right{top:0;left:100%}.built-in-layout-4 .popup.popup_right .picker_arrow{top:0;left:0}.built-in-layout-4 .picker_wrapper.no_alpha .picker_alpha{display:none}.built-in-layout-4 .picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.built-in-layout-4 .picker_wrapper.no_cancel .picker_cancel{display:none}.built-in-layout-4 .layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:0.5em}.built-in-layout-4 .layout_default.picker_wrapper input,.built-in-layout-4 .layout_default.picker_wrapper button{font-size:1em}.built-in-layout-4 .layout_default.picker_wrapper>*{margin:0.5em}.built-in-layout-4 .layout_default.picker_wrapper::before{content:\"\";display:block;width:100%;height:0;order:1}.built-in-layout-4 .layout_default .picker_slider,.built-in-layout-4 .layout_default .picker_selector{padding:1em}.built-in-layout-4 .layout_default .picker_hue{width:100%}.built-in-layout-4 .layout_default .picker_sl{flex:1 1 auto}.built-in-layout-4 .layout_default .picker_sl::before{content:\"\";display:block;padding-bottom:100%}.built-in-layout-4 .layout_default .picker_editor{order:1;width:6.5em}.built-in-layout-4 .layout_default .picker_editor input{width:100%;height:100%}.built-in-layout-4 .layout_default .picker_sample{order:1;flex:1 1 auto}.built-in-layout-4 .layout_default .picker_done,.built-in-layout-4 .layout_default .picker_cancel{order:1}.built-in-layout-4 .picker_wrapper{box-sizing:border-box;background:var(--kup-background-color);box-shadow:0 0 0 1px var(--kup-border-color);cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.built-in-layout-4 .picker_wrapper:focus{outline:none}.built-in-layout-4 .picker_wrapper button,.built-in-layout-4 .picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px var(--kup-border-color);outline:none}.built-in-layout-4 .picker_wrapper button:focus,.built-in-layout-4 .picker_wrapper button:active,.built-in-layout-4 .picker_wrapper input:focus,.built-in-layout-4 .picker_wrapper input:active{box-shadow:0 0 2px 1px var(--kup-border-color)}.built-in-layout-4 .picker_wrapper button{padding:0.4em 0.6em;cursor:pointer;background-color:whitesmoke;background-image:linear-gradient(0deg, gainsboro, transparent)}.built-in-layout-4 .picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.built-in-layout-4 .picker_selector{position:absolute;z-index:1;display:block;transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.built-in-layout-4 .picker_slider .picker_selector{border-radius:2px}.built-in-layout-4 .picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px var(--kup-border-color)}.built-in-layout-4 .picker_sl{position:relative;box-shadow:0 0 0 1px var(--kup-border-color);background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%), linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%), linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.built-in-layout-4 .picker_alpha,.built-in-layout-4 .picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px var(--kup-border-color)}.built-in-layout-4 .picker_alpha .picker_selector,.built-in-layout-4 .picker_sample .picker_selector{background:none}.built-in-layout-4 .picker_editor input{font-family:monospace;padding:0.2em 0.4em}.built-in-layout-4 .picker_sample::before{content:\"\";position:absolute;display:block;width:100%;height:100%;background:currentColor}.built-in-layout-4 .picker_done,.built-in-layout-4 .picker_arrow{display:none}.built-in-layout-4 .layout_default.picker_wrapper{bottom:unset;font-size:var(--kup-font-size);left:unset;padding:0.25em;right:unset;top:unset;width:100%}.built-in-layout-4 .layout_default .picker_editor input{background:none;color:var(--kup-text-color);font-family:var(--kup-font-family);font-size:var(--kup-font-size)}.built-in-layout-4 .picker_wrapper.popup{box-shadow:var(--kup-box-shadow);margin:0;outline:none}.built-in-layout-5{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto;padding:0.5em}.built-in-layout-5>table{width:100%}.built-in-layout-5>table>tr>td>div.value{text-align:right;color:var(--kup-primary-color);border-bottom:1px solid var(--kup-border-color);min-height:1.5em}.built-in-layout-5>table>tr>td>.f-button{display:flex;justify-content:center}.built-in-layout-5>table>tr>td>div.number{border-radius:50%;cursor:pointer;display:flex;justify-content:center;line-height:2.5em;margin:auto;width:2.5em;transition:background-color 0.25s;text-transform:capitalize}.built-in-layout-5>table>tr>td>div.number:hover{background-color:var(--kup-hover-background-color)}.built-in-layout-6{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto;padding:2em}.built-in-layout-6 .text{padding-bottom:1.5em;text-align:center}.built-in-layout-6 .button-wrapper{display:flex;justify-content:center}.built-in-layout-6 .f-button{padding:0 0.5em}.collapsible-layout-1{color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.collapsible-layout-1 .section-1{background-color:var(--color-0);display:flex;flex:0 0 10%;max-width:10%}.collapsible-layout-1 .section-2{box-sizing:border-box;height:100%;display:flex;flex:0 0 90%;flex-direction:column;max-width:90%}.collapsible-layout-1 .section-2 .sub-1{min-height:1.5em;display:flex;padding:0.6rem 0.8em 0;font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.collapsible-layout-1 .section-2 .sub-1 div{font-size:1em}.collapsible-layout-1 .section-2 .sub-1 .left{text-align:left;width:80%}.collapsible-layout-1 .section-2 .sub-1 .right{text-align:right;width:20%}.collapsible-layout-1 .section-2 .sub-2{text-align:left;padding:0.6em 0.8em;font-size:0.875em}.collapsible-layout-2{color:var(--kup-text-color);box-shadow:rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;border-radius:4px;display:flex;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.collapsible-layout-2 .section-1{box-sizing:border-box;height:100%;display:flex;flex-direction:column;max-width:100%;width:100%}.collapsible-layout-2 .section-1 .sub-1{text-align:left;padding:0.6em 0.8em 0;font-size:1em;font-weight:bold;max-width:75%}.collapsible-layout-2 .section-1 .sub-2{text-align:left;padding:0.6em 0.8em;max-width:75%}.collapsible-layout-2 .section-1 .sub-2 div{font-size:0.875em}.collapsible-layout-2 .section-1 .sub-3{color:var(--color-0);text-align:center;position:absolute;top:1em;right:1em;max-width:25%;text-overflow:ellipsis;overflow:hidden;max-height:calc(24px + 2.25em);padding:0 1em}.collapsible-layout-2 .section-1 .sub-3 kup-image{margin:auto}.collapsible-layout-2 .section-1 .sub-3 div{font-size:1.25em}.collapsible-card .collapsible-trigger{display:none;position:absolute;bottom:0;left:0;height:50px;width:100%}.collapsible-card .collapsible-trigger kup-button{margin:auto;width:48px}.collapsible-card .collapsible-wrapper{overflow:auto}.collapsible-card.collapsible-active{padding-bottom:50px}.collapsible-card.collapsible-active .collapsible-trigger{display:block}.dialog-layout-1{background-color:var(--kup-background-color);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);color:var(--kup-text-color);display:flex;flex-direction:column;height:100%;width:100%;overflow:auto}.dialog-layout-1 .section-1{display:grid;grid-gap:0.5em;grid-template-columns:repeat(2, auto);grid-template-rows:repeat(auto-fill, 1.25em);height:100%;padding:0.5em;overflow:auto;touch-action:none}.dialog-layout-1 .section-1 .text{min-width:max-content}.dialog-layout-1 .section-1 .text:not(.label){font-weight:bold}.dialog-layout-2{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-2 .section-1{text-align:center;touch-action:none;padding-bottom:1em}.dialog-layout-2 .section-1 .text{padding-top:0.75em}.dialog-layout-2 .section-1 .text:not(.label){font-weight:bold}.dialog-layout-2 .section-2{border-top:1px solid var(--kup-border-color);display:grid;grid-gap:0.5em;grid-template-columns:repeat(2, auto);grid-template-rows:repeat(auto-fill, 1.25em);height:100%;padding:0.5em;overflow:auto;touch-action:none}.dialog-layout-2 .section-2 .text{min-width:max-content}.dialog-layout-2 .section-2 .text:not(.label){font-weight:bold}.dialog-layout-3{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;overflow:visible;flex-direction:column;height:100%;position:relative;width:100%}.dialog-layout-3 kup-button{margin-left:0}.dialog-layout-3 .section-1{background-color:var(--kup-background-color);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;box-shadow:0px 1px 3px 0px var(--kup-text-color);height:52px;width:100%;text-align:right;touch-action:none}.dialog-layout-3 .section-1 kup-button{margin-right:0.25em}.dialog-layout-3 .section-2{height:100%;width:100%;overflow:auto;max-height:50vh}.dialog-layout-3 ::slotted(.text){color:var(--kup-text-color);font-family:var(--kup-font-family-monospace);white-space:nowrap;border-bottom:1px solid var(--kup-border-color);line-height:1.75em}.dialog-layout-4{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-4 .section-1{display:flex;justify-content:space-evenly}.dialog-layout-4 .section-2{height:100%;overflow:auto;padding:0.25em;touch-action:none}.dialog-layout-5{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-5 .section-1{display:flex;justify-content:space-evenly}.dialog-layout-5 .section-2{height:100%;overflow:auto}.dialog-layout-6{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;max-height:95vh;max-width:95vw;width:100%}.dialog-layout-6 .section-1{display:flex;height:100%;justify-content:space-evenly;overflow:auto}.dialog-layout-6 kup-data-table{width:100%}#drag-handle{-ms-touch-action:none;touch-action:none}#drag-handle:not(.header-bar){display:flex;height:100%}#drag-handle:not(.header-bar) .f-image{margin:auto}#drag-handle.header-bar{background-color:var(--kup-title-background-color);color:var(--kup-title-color);display:flex;flex-direction:row;height:2em;position:relative;width:100%}#drag-handle.header-bar .dialog-title{font-weight:bold;line-height:2em;padding-left:0.5em;padding-right:2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#drag-handle.header-bar #dialog-close{cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:0;background:var(--kup-title-background-color)}#drag-handle.header-bar #dialog-close:hover{opacity:0.5}.free-layout-1{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto;padding:1em}.free-layout-2{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto}.scalable-layout-1 .descr{font-size:70%;width:100%}.scalable-layout-1 .value{font-size:220%}.scalable-layout-2 #image1 img{object-fit:contain}.scalable-layout-2 .scalable-element{display:grid;grid-template-columns:1fr 1fr 0.5fr 0.5fr}.scalable-layout-2 .icon{margin:auto;font-size:150%;margin-right:5%}.scalable-layout-2 .value-int{font-size:250%}.scalable-layout-2 .value-dec,.scalable-layout-2 .unit{font-size:130%;margin-top:auto;margin-bottom:10%}.scalable-layout-2 .value-dec{margin-left:2%}.scalable-layout-2 .unit{margin-left:4%}.scalable-layout-3 .descr{font-size:70%;width:100%}.scalable-layout-3 .value{font-size:220%}.scalable-layout-4 #image1 img{object-fit:contain}.scalable-layout-4 .scalable-element{display:grid;grid-template-columns:1fr 5fr}.scalable-layout-4 .icon{font-size:150%;margin:auto 5% auto auto}.scalable-layout-4 .value-and-unit{display:flex;color:var(--color-0)}.scalable-layout-4 .value-and-unit .value-int{font-size:250%}.scalable-layout-4 .value-and-unit .value-dec,.scalable-layout-4 .value-and-unit .unit{font-size:130%;margin-top:auto;margin-bottom:10%}.scalable-layout-4 .value-and-unit .value-dec{margin-left:2%}.scalable-layout-4 .value-and-unit .unit{margin-left:4%}.scalable-layout-4 .descr{margin-left:4%;text-align:left;font-size:80%;width:100%;min-width:max-content}.scalable-layout-5 #image1 img{object-fit:contain}.scalable-layout-5 .scalable-element{display:flex}.scalable-layout-5 .text-wrapper{margin-right:10px}.scalable-layout-5 .icon{font-size:150%;margin:auto;margin-bottom:0.35em}.scalable-layout-5 .value{font-size:200%}.scalable-layout-5 .descr{text-align:right;font-size:65%;width:100%;min-width:max-content;position:relative;bottom:-10%}.scalable-layout-6 #image1 img{object-fit:contain}.scalable-layout-6 .scalable-element{display:flex;justify-content:space-between}.scalable-layout-6 .text-wrapper{margin-left:1em}.scalable-layout-6 .icon{font-size:150%;margin:auto}.scalable-layout-6 .value{font-size:220%;text-align:right}.scalable-layout-6 .descr{font-size:80%;text-align:right;width:100%;min-width:max-content}.scalable-layout-7 #image1 img{object-fit:contain}.scalable-layout-7 .scalable-element{display:flex}.scalable-layout-7 .text-wrapper{margin-right:0.5em}.scalable-layout-7 .icon{font-size:150%;margin:auto;margin-top:0.35em}.scalable-layout-7 .value{font-size:200%}.scalable-layout-7 .descr{text-align:right;font-size:65%;width:100%;min-width:max-content;position:relative;bottom:10%}.scalable-layout-8 #image1 img{object-fit:contain}.scalable-layout-8 .scalable-element{align-items:center;display:grid;grid-template-columns:0.25fr 1.25fr 0.25fr}.scalable-layout-8 .icon{margin-right:4%;font-size:75%}.scalable-layout-8 .value{margin:0 10%;font-size:250%}.scalable-layout-8 .descr{font-size:60%;text-align:left}.scalable-layout-9{background-color:var(--color-1);color:var(--color-2);height:100%;display:flex;justify-content:unset;overflow:auto;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);border-radius:4px}.scalable-layout-9 .section-1{background-color:var(--color-0);width:20%;height:100%}.scalable-layout-9 .section-2{width:100%;height:100%;display:flex;flex-direction:column}.scalable-layout-9 .text{display:flex;justify-content:center;flex-direction:column}.scalable-layout-9 .descr{font-size:80%}.scalable-layout-9 .value{font-size:220%}.scalable-layout-9 .buttons{height:max-content;margin-bottom:2%}.scalable-layout-9 .f-button{float:right}.scalable-card{align-items:center;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);border-radius:4px;display:flex;font-size:calc(var(--kup-font-size) * var(--kup_card_multiplier));height:100%;justify-content:center;position:relative;text-align:center;word-break:normal;width:100%}.standard-layout-1{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-1 kup-button{margin-right:0}.standard-layout-1 #image1 img{object-fit:cover}.standard-layout-1.has-actions{padding-bottom:52px}.standard-layout-1.has-actions .section-2 .sub-2.description{padding-bottom:0}.standard-layout-1 .section-1{height:60%;width:100%}.standard-layout-1 .section-2{height:40%;width:100%;overflow:auto}.standard-layout-1 .section-2 .sub-2.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-1 .section-2 .sub-2.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-1 .section-2 .sub-2.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-1 .section-3{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-1 .section-3 kup-button{margin-left:0.25em}.standard-layout-2{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-2 kup-button{margin-right:0}.standard-layout-2 #image1 img{object-fit:cover}.standard-layout-2.has-actions{padding-bottom:52px}.standard-layout-2.has-actions .section-3 .sub-3.description{padding-bottom:0}.standard-layout-2 .section-1{width:100%}.standard-layout-2 .section-1 .sub-1.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-2 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-2 .section-1 .sub-1.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-2 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-2 .section-2{height:75%;width:100%}.standard-layout-2 .section-3{width:100%;overflow:auto}.standard-layout-2 .section-3 .sub-3.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em 8px;padding-top:1em;text-align:left}.standard-layout-2 .section-3 .sub-3.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-2 .section-4{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-2 .section-4 kup-button{margin-left:0.25em}.standard-layout-3{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-3 kup-button{margin-right:0}.standard-layout-3 #image1 img{object-fit:cover}.standard-layout-3.has-actions{padding-bottom:52px}.standard-layout-3.has-actions .section-2 .sub-2.description{padding-bottom:0}.standard-layout-3 .section-1{height:75%;width:100%}.standard-layout-3 .section-1 .media{position:relative;height:100%;width:100%}.standard-layout-3 .section-1 .text-on-media{position:absolute;bottom:0;left:0}.standard-layout-3 .section-1 .sub-1.title{color:white;padding:0 1em;padding-top:1em;text-align:left}.standard-layout-3 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-3 .section-1 .sub-1.subtitle{color:white;opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-3 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-3 .section-2{width:100%;overflow:auto}.standard-layout-3 .section-2 .sub-2.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em 8px;padding-top:1em;text-align:left}.standard-layout-3 .section-2 .sub-2.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-3 .section-3{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-3 .section-3 kup-button{margin-left:0.25em}.standard-layout-4{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-4 kup-button{margin-right:0}.standard-layout-4 #image1 img{object-fit:cover}.standard-layout-4.has-actions{padding-bottom:52px}.standard-layout-4.has-actions .section-3 .sub-3.description{padding-bottom:0}.standard-layout-4 .section-1{display:flex;height:100%;width:100%}.standard-layout-4 .section-1 .sub-1.image{width:33%}.standard-layout-4 .section-1 .sub-1.text{width:77%}.standard-layout-4 .section-1 .sub-1.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-4 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-4 .section-1 .sub-1.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-4 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-4 .section-2{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-4 .section-2 kup-button{margin-left:0.25em}.standard-layout-5{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);height:100%;overflow:hidden;width:100%}.standard-layout-5 .section-1{background-color:var(--color-0);height:3%}.standard-layout-5 .section-2{display:flex;height:53%}.standard-layout-5 .section-3{display:flex;height:24%}.standard-layout-5 .section-4{display:flex;height:20%;background-color:var(--color-1)}.standard-layout-5 .sub-2{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}.standard-layout-5 .sub-2.icon{min-height:20px;flex:0 0 10%;max-width:10%}.standard-layout-5 .sub-2.icon #image1{box-sizing:border-box;margin:auto;padding:0 20%}.standard-layout-5 .sub-2.icon #image1 img{object-fit:contain}.standard-layout-5 .sub-2.text{flex:0 0 70%;max-width:70%;margin:auto;height:100%;flex-wrap:nowrap;padding:1em;text-align:left}.standard-layout-5 .sub-2.image{box-sizing:border-box;flex:0 0 20%;padding:1.5vh 0;max-width:20%}.standard-layout-5 .sub-2.image #image2{box-sizing:border-box;margin:auto;padding:0 10%}.standard-layout-5 .sub-2.image #image2 img{object-fit:contain}.standard-layout-5 .sub-2 .desc-text{overflow:auto}.standard-layout-5 .sub-2 .alt-text{color:var(--kup-primary-color)}.standard-layout-5 .sub-3{box-sizing:border-box}.standard-layout-5 .sub-3.progress-bar{margin:auto;padding:0 5%;vertical-align:2px;width:80%}.standard-layout-5 .sub-3.button{margin:auto;text-align:center;width:20%}.standard-layout-5 .sub-3 kup-button{margin:auto}.standard-layout-5 .sub-4{box-sizing:border-box;margin:auto}.standard-layout-5 .sub-4.text{width:50%;font-size:0.875em}.standard-layout-5 .sub-4 div{padding:0 5%}.standard-layout-5 .sub-4 .alt-text{color:var(--color-0);font-size:1em}.standard-layout-5 .alt-text{font-weight:bold}@media screen and (max-width: 767px){.standard-layout-5 .sub-2.image{display:none}.standard-layout-5 .sub-2.icon{flex-basis:30%;max-width:30%}}.standard-layout-6{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;height:100%;overflow:hidden;width:100%}.standard-layout-6 .section-1{background-color:var(--color-0);display:flex;flex:0 0 10%;max-width:10%}.standard-layout-6 .section-1 .alt-text{color:var(--kup_card_dynamic_color_0);height:100%;text-align:center;writing-mode:vertical-lr;margin:auto;font-size:1.25em}.standard-layout-6 .section-2{box-sizing:border-box;height:100%;display:flex;flex:0 0 90%;flex-direction:column;max-width:90%}.standard-layout-6 .section-2 .sub-2{margin:auto;text-align:center}.standard-layout-6 .section-2 .sub-2 kup-progress-bar{margin-bottom:1em}.standard-layout-6 kup-button{position:absolute;bottom:2%;right:2%}.standard-layout-7{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.standard-layout-7 #image1 img{margin:auto;object-fit:contain}.standard-layout-7 .section-1{background-color:var(--color-0);height:5%;width:100%}.standard-layout-7 .section-2{height:80%;width:100%;text-align:center;padding:25px 25%;box-sizing:border-box}.standard-layout-7 .section-2 .sub-2{margin:auto}.standard-layout-7 .section-2 .sub-2.image{box-sizing:border-box;height:65%}.standard-layout-7 .section-2 .sub-2.text{font-size:1.4em;letter-spacing:1.2px;padding-top:1em;height:35%}.standard-layout-7 .section-3{display:flex;height:15%;width:100%}.standard-layout-7 .section-3 .alt-text{margin:auto;opacity:0.75;width:50%}.standard-layout-7 .section-3 .alt-text:nth-child(1){margin-left:1em;text-align:left}.standard-layout-7 .section-3 .alt-text:nth-child(2){margin-right:1em;text-align:right}.standard-layout-8{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-8 .background{background-color:var(--color-0);content:\"\";height:100%;width:100%;opacity:0.1;pointer-events:none;position:absolute;top:0;left:0;z-index:1}.standard-layout-8 .section-1{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;overflow:auto;height:auto}.standard-layout-8 .section-1 .sub-1{text-align:left;padding:0.6em 0.8em 0;font-size:1em;font-weight:bold;max-width:75%}.standard-layout-8 .section-1 .sub-2{text-align:left;padding:0.6em 0.8em;font-size:0.875em;max-width:75%}.standard-layout-8 .section-1 .sub-3{color:var(--color-0);font-weight:bold;text-align:center;font-size:1.2em;position:absolute;top:1em;right:1em;max-width:25%;text-overflow:ellipsis;max-height:calc(24px + 2.25em);padding:0 1em;overflow:hidden}.standard-layout-8 .section-1 .sub-3 kup-image{margin:auto}.standard-layout-8 .section-2{display:flex;height:auto;overflow:auto}.standard-layout-9{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-9 #image1 img{object-fit:contain}.standard-layout-9 .section-1{margin-top:auto;margin-right:18px;margin-bottom:auto;white-space:nowrap}.standard-layout-9 .section-2{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-9 .sub-2{display:flex;flex-direction:row}.standard-layout-9 .text{text-align:left}.standard-layout-9 .text-wrapper{display:flex;flex-direction:column}.standard-layout-9 .icon{margin:auto;padding:0 1.25em}.standard-layout-9 .description{font-size:1.5em;letter-spacing:1px;padding-left:1.25em;padding-top:0.25em}.standard-layout-9 .title{font-size:2.75em;font-weight:bold}.standard-layout-9 .subtitle{font-size:1.5em;opacity:0.75}.standard-layout-10{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-10 #image1 img{object-fit:contain}.standard-layout-10 .section-1{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-10 .section-2{margin-top:auto;margin-left:18px;margin-bottom:auto;white-space:nowrap}.standard-layout-10 .sub-2{display:flex;flex-direction:row-reverse}.standard-layout-10 .text{text-align:right}.standard-layout-10 .text-wrapper{display:flex;flex-direction:column}.standard-layout-10 .icon{margin:auto;padding:0 1.25em}.standard-layout-10 .description{font-size:1.5em;letter-spacing:1px;padding-right:1.25em;padding-top:0.25em}.standard-layout-10 .title{font-size:2.75em;font-weight:bold}.standard-layout-10 .subtitle{font-size:1.5em;opacity:0.75}.standard-layout-11{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-11 #image1 img{object-fit:contain}.standard-layout-11 .section-1{display:flex;height:100%;margin-top:auto;margin-bottom:auto;min-width:6em;max-width:6em;overflow:hidden;transition:0.25s ease-in}.standard-layout-11 .section-2{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-11 .sub-1{background-color:var(--color-0);height:100%;text-align:center;writing-mode:vertical-lr;min-width:6em;display:flex;transition:width 0.25s ease-in}.standard-layout-11 .sub-1 div{font-size:1.25em}.standard-layout-11 .sub-2{display:flex;flex-direction:row}.standard-layout-11 .text:not(.description){text-align:left}.standard-layout-11 .text-wrapper{display:flex;flex-direction:column}.standard-layout-11 .icon{margin:auto;padding:0 1.25em}.standard-layout-11 .description{font-size:1.5em;letter-spacing:1px;margin:auto;color:var(--kup_card_dynamic_color_0)}.standard-layout-11 .title{font-size:2.75em;font-weight:bold;margin-top:auto}.standard-layout-11 .subtitle{font-size:1.5em;opacity:0.75;margin-bottom:auto}.standard-layout-12{background-color:var(--kup-background-color);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);color:var(--kup-text-color);min-width:200px;min-width:-moz-max-content;min-width:-webkit-max-content;}.standard-layout-12 .section-1{display:inline-flex;border-bottom:1px solid var(--kup-border-color);width:100%}.standard-layout-12 .section-1 kup-button{margin:0}.standard-layout-12 .section-2{display:flex;flex-direction:column}.standard-layout-12 .section-2.has-content{border-bottom:1px solid var(--kup-border-color);padding:0.5em 0.5em}.standard-layout-12 .section-2 kup-date-picker:first-of-type,.standard-layout-12 .section-2 kup-time-picker:first-of-type{margin-bottom:0.5em}.standard-layout-12 .section-3{backface-visibility:hidden;display:flex;flex-direction:column;max-height:20vh;overflow:auto}.standard-layout-12 .section-3 kup-checkbox{margin-left:0;margin-right:auto}.standard-layout-13{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%}.standard-layout-13 kup-button{margin-left:0}.standard-layout-13 .section-1{background-color:var(--kup-background-color);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;box-shadow:0px 1px 3px 0px var(--kup-text-color);height:52px;width:100%;text-align:right}.standard-layout-13 .section-1 kup-button{margin-right:0.25em}.standard-layout-13 .section-2{height:100%;width:100%;overflow:auto;max-height:50vh}.standard-layout-13 .text{color:var(--kup-text-color);font-family:var(--kup-font-family-monospace);white-space:nowrap;border-bottom:1px solid var(--kup-border-color);line-height:1.75em}.standard-layout-14{background-color:var(--kup-background-color);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);color:var(--kup-text-color);min-width:200px;min-width:-moz-max-content;min-width:-webkit-max-content;}.standard-layout-14 .section-1{--kup-button-font-size:0.75em;box-sizing:border-box;display:flex;padding:1em}.standard-layout-14 .section-1 .sub-1{width:100%}.standard-layout-14 .section-1 .sub-spinner{height:88px;width:88px;margin:0 10px}.standard-layout-14 .section-1 .f-image{margin:0 0.5em 0 0}.standard-layout-14 .section-1 .title{align-items:flex-end;display:flex;font-size:1.25em;font-weight:600;margin-bottom:0.5em;padding:0 0.25em 0.25em;text-align:left}.standard-layout-14 .section-1 .title .label{cursor:pointer;padding-right:0.25em;padding-top:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standard-layout-14 .section-1 .title .label:hover{text-decoration:underline}.standard-layout-14 .section-1 .info{display:flex;padding:0 0.25em 0.25em;width:100%}.standard-layout-14 .section-1 .info .label{color:rgba(var(--kup-text-color-rgb), 0.75);margin-right:0.75em;min-width:max-content;width:auto}.standard-layout-14 .section-1 .info .value{font-weight:600;width:100%}.standard-layout-14 .sub-button{display:inline-flex;width:100%}.standard-layout-14 .sub-button kup-button{margin:0}.standard-layout-14 .sub-checkbox{backface-visibility:hidden;display:flex;flex-direction:column;max-height:20vh;overflow:auto}.standard-layout-14 .sub-checkbox kup-checkbox{margin-left:0;margin-right:auto}.standard-layout-14 .sub-formula{padding:0.5em}.standard-layout-14 .sub-chip{max-width:25vw;overflow:auto;box-shadow:0 3px 2px -2px var(--kup-border-color)}.standard-layout-14 .sub-field{display:flex;flex-direction:column}.standard-layout-14 .sub-field.has-content{border-bottom:1px solid var(--kup-border-color);padding:0.5em 0.5em}.standard-layout-14 .sub-field kup-date-picker:first-of-type,.standard-layout-14 .sub-field kup-time-picker:first-of-type{margin-bottom:0.5em}.standard-layout-14 .sub-spinner{height:100px}.standard-layout-14 .sub-autocomplete{padding-top:1em}.standard-layout-14 .sub-autocomplete kup-autocomplete{margin:auto;padding:0.5em 0;width:max-content}.standard-layout-14 .sub-switch{display:flex;justify-content:space-evenly;padding:2em}.standard-layout-14 .sub-tree{max-height:25vh;overflow:auto}.standard-layout-14 #apply{display:none;margin:auto}.standard-layout-14 #apply.visible{display:block}.standard-layout-14 #open-in-new,.standard-layout-14 #search,.standard-layout-14 #new{margin:0 0 0.5em 0}.standard-layout-15{background:var(--kup-background-color);border-radius:3px;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);color:var(--kup-text-color);display:block;font-size:var(--kup-font-size);outline:none}.standard-layout-15 .section-1{--kup-button-font-size:0.75em;box-sizing:border-box;display:flex;padding:1em}.standard-layout-15 .section-1 .sub-1{width:100%}.standard-layout-15 .section-1 .sub-spinner{height:88px;width:88px;margin:0 10px}.standard-layout-15 .section-1 .f-image{margin:0 0.5em 0 0}.standard-layout-15 .section-1 .title{align-items:flex-end;display:flex;font-size:1.25em;font-weight:600;margin-bottom:0.5em;padding:0 0.25em 0.25em;text-align:left}.standard-layout-15 .section-1 .title .label{cursor:pointer;padding-right:0.25em;padding-top:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standard-layout-15 .section-1 .title .label:hover{text-decoration:underline}.standard-layout-15 .section-1 .info{display:flex;padding:0 0.25em 0.25em;width:100%}.standard-layout-15 .section-1 .info .label{color:rgba(var(--kup-text-color-rgb), 0.75);margin-right:0.75em;min-width:max-content;width:auto}.standard-layout-15 .section-1 .info .value{font-weight:600;width:100%}.standard-layout-15 .section-2{border-top:1px solid var(--kup-border-color);box-sizing:border-box;height:180px;opacity:1;overflow:auto;transition:height 250ms ease-out, opacity 250ms ease-out}.standard-layout-15 .section-2 .info{box-sizing:border-box;height:100%;overflow:auto;padding:1.25em}.standard-layout-15 .section-2 .detail-row{align-items:center;display:flex;justify-content:space-between}.standard-layout-15 .section-2 .detail-row:not(:last-child){margin-bottom:6px}.standard-layout-15 .section-2 .detail-row__label{color:rgba(var(--kup-text-color-rgb), 0.5);margin-top:0.175em;max-width:320px;padding-right:1.25em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standard-layout-15 .section-2 .detail-row__value{color:var(--kup-text-color);font-size:105%;font-weight:600;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standard-layout-15 .section-2 kup-tree{text-align:left}.standard-layout-15 .section-3{border-top:1px solid var(--kup-border-color);display:flex;justify-content:flex-end;padding:6px;padding-top:2px;padding-bottom:2px}.standard-layout-15 .section-3 kup-button{margin:auto 0}.standard-layout-15 #open-in-new,.standard-layout-15 #search,.standard-layout-15 #new{margin:0 0 0.5em 0}:host{--kup_card_backdrop:var(--kup-card-backdrop, rgba(0, 0, 0, 0.32));--kup_card_ripple_color:var(\n --kup-card-ripple-color,\n var(--kup-primary-color)\n );display:block;font-size:var(--kup-font-size);height:var(--kup_card_height);min-height:var(--kup_card_height);min-width:var(--kup_card_width);outline:none;position:relative;width:var(--kup_card_width)}:host([is-menu]){display:none;animation:fade-in 0.25s ease-out}:host([menu-visible]){box-shadow:var(--kup-box-shadow);display:block}#kup-component{height:100%;width:100%}.mdc-ripple-surface{cursor:pointer;flex-direction:column;display:flex;height:100%;position:relative}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_card_ripple_color)}.card-view{animation:fade-in 0.25s ease-out;display:none;height:100%;width:100%}.card-view.visible{display:block}";
|
|
5185
|
+
const kupCardCss = ".box-layout-1{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-1 table{width:100%}.box-layout-1 .label{overflow:hidden;padding:0.5em;text-overflow:ellipsis;width:50%}.box-layout-1 .value{font-weight:bold;padding:0.5em}.box-layout-2{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-2 table{width:100%}.box-layout-2 .label{max-width:50%;overflow:hidden;padding:0.5em;text-overflow:ellipsis;white-space:nowrap}.box-layout-2 .value{padding:0.5em;font-weight:bold}.box-layout-3{background-color:var(--kup-background-color);color:var(--kup-text-color);font-size:var(--kup-font-size);padding:0.5em}.box-layout-3 .container{display:flex;justify-content:space-between;overflow:hidden;width:100%}.box-layout-3 .flex-container{align-items:center;display:flex;justify-content:center;width:100%}.box-layout-3 .flex-container:first-child{justify-content:flex-start}.box-layout-3 .flex-container:last-child{justify-content:flex-end}.box-layout-3 .label{overflow:hidden;padding:0.5em;text-overflow:ellipsis;white-space:nowrap}.box-layout-3 .value{padding:0.5em;font-weight:bold}.box-layout-3 .f-cell .f-cell__text{white-space:nowrap}.box-layout-4{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:0.5em}.box-layout-4 .container{margin:auto;width:100%}.box-layout-4 .image{border-radius:50%;height:64px;margin:auto;width:64px}.box-layout-4 .value{font-weight:bold;padding-top:0.5em}.box-layout-4 .f-cell.c-centered .f-cell__content img,.box-layout-4 .f-cell.c-centered .f-cell__content .f-image{margin:0}.box-layout-5{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-5 .container{display:flex;height:100%;margin:auto;width:100%}.box-layout-5 .image{display:flex;height:100%;margin:auto;width:50%}.box-layout-5 .label,.box-layout-5 .value{padding:0.5em}.box-layout-5 .label{overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap}.box-layout-5 .value{font-weight:bold}.box-layout-5 .table{box-sizing:border-box;padding:1.25em}.box-layout-5 .table,.box-layout-5 table{width:100%}.box-layout-6{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-6 .container{display:flex;height:100%;margin:auto;width:100%}.box-layout-6 .image{display:flex;height:100%;margin:auto;width:50%}.box-layout-6 .label{padding-bottom:0.25em}.box-layout-6 .value{font-weight:bold;padding-bottom:1.25em}.box-layout-6 tr:last-child .value{padding-bottom:0}.box-layout-6 .table{box-sizing:border-box;display:flex;height:max-content;margin:auto;padding:1.25em}.box-layout-6 .table,.box-layout-6 table{width:100%}.box-layout-7{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-7 .container{height:100%;margin:auto;width:100%}.box-layout-7 .image{width:100%}.box-layout-7 .label,.box-layout-7 .value{padding:0.25em}.box-layout-7 .label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.box-layout-7 .value{font-weight:bold}.box-layout-7 .table{box-sizing:border-box;padding:1.25em;padding-bottom:0}.box-layout-7 .table,.box-layout-7 table{width:100%}.box-layout-8{background-color:var(--kup-background-color);color:var(--kup-text-color);display:flex;font-size:var(--kup-font-size);height:100%;padding:1em 0.5em}.box-layout-8 .container{height:100%;margin:auto;width:100%}.box-layout-8 .image{width:100%}.box-layout-8 .label{overflow:hidden;padding-bottom:0.25em;text-overflow:ellipsis;white-space:nowrap}.box-layout-8 .value{font-weight:bold;padding-bottom:1.25em}.box-layout-8 tr:last-child .value{padding-bottom:0}.box-layout-8 .table{box-sizing:border-box;padding:1.25em;padding-bottom:0}.box-layout-8 .table,.box-layout-8 table{width:100%}.built-in-layout-1{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto;padding:0.5em}.built-in-layout-1 .section-1{box-sizing:border-box;height:5em;overflow:auto;padding-bottom:1em;width:100%}.built-in-layout-1 .section-1 .sub-1{display:flex;flex-direction:row;justify-content:center}.built-in-layout-1 .section-2{height:calc(100% - 60px);overflow:auto;width:100%}.built-in-layout-1 .prev-page{margin-left:auto}.built-in-layout-1 .change-view-button{margin:auto;width:12em;text-align:center}.built-in-layout-1 #change-view-button button{text-transform:capitalize}.built-in-layout-1 .next-page{margin-right:auto}.built-in-layout-1 .calendar{border-collapse:collapse;width:100%}.built-in-layout-1 thead{border-bottom:1px solid var(--kup-border-color)}.built-in-layout-1 .item-text{color:rgba(var(--kup-text-color-rgb), 0.5)}.built-in-layout-1 .item{text-align:center}.built-in-layout-1 .item:not(.selected) .item-number:hover{background-color:var(--kup-hover-background-color)}.built-in-layout-1 .item.selected .item-number,.built-in-layout-1 .item.selected .item-number:hover{background-color:rgba(var(--kup-primary-color-rgb), 0.175)}.built-in-layout-1 .item-number{border-radius:50%;cursor:pointer;display:flex;justify-content:center;line-height:2.5em;margin:auto;width:2.5em;transition:background-color 0.25s;text-transform:capitalize}.built-in-layout-2{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.built-in-layout-2 .clock{box-shadow:var(--kup-box-shadow);width:300px;height:450px;background-color:var(--kup-background-color);position:relative;font-family:var(--kup-font-family)}.built-in-layout-2 .top{background-color:var(--kup-primary-color);color:var(--kup-text-on-primary-color);height:100px;line-height:100px;font-size:50px;text-align:center}.built-in-layout-2 .top span{cursor:pointer;opacity:0.75;transition:0.25s ease-in-out}.built-in-layout-2 .top .visible{opacity:1}.built-in-layout-2 .circle{user-select:none;background-color:rgba(var(--kup-text-color-rgb), 0.1);width:250px;height:250px;border-radius:1000px;position:relative;top:25px;left:25px;box-sizing:border-box;display:none}.built-in-layout-2 .circle.visible{display:block}.built-in-layout-2 .mid{position:absolute;left:calc(50% - 0px);top:calc(50% - 0px);width:2px;height:2px;border-radius:10px;background-color:var(--kup-text-color)}.built-in-layout-2 .hour{position:absolute;height:40px;line-height:40px;width:40px;border-radius:40px;text-align:center}.built-in-layout-2 .hour.selected{z-index:2}.built-in-layout-2 .hour.selected::after{content:\"\";z-index:-1;background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:101px;right:50%}.built-in-layout-2 .hour2{z-index:2;position:absolute;height:30px;line-height:30px;width:30px;border-radius:40px;text-align:center;font-size:14px}.built-in-layout-2 .hour2.selected::after{content:\"\";background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:64px;right:50%;z-index:-1}.built-in-layout-2 .unit{position:absolute;height:20px;line-height:20px;width:20px;border-radius:40px;text-align:center;font-size:12px}.built-in-layout-2 .unit.selected::after{content:\"\";background-color:rgba(var(--kup-primary-color-rgb), 0.5);height:1px;width:100%;position:absolute;transform:rotate(-90deg);transform-origin:100% 0%;top:50%;width:101px;right:50%}.built-in-layout-2 .hour,.built-in-layout-2 .hour2,.built-in-layout-2 .unit{cursor:pointer;transition:background-color 0.25s}.built-in-layout-2 .hour:hover,.built-in-layout-2 .hour2:hover,.built-in-layout-2 .unit:hover{background-color:rgba(var(--kup-primary-color-rgb), 0.275)}.built-in-layout-2 .hour.selected,.built-in-layout-2 .hour2.selected,.built-in-layout-2 .unit.selected{background-color:var(--kup-primary-color);color:var(--kup-text-on-primary-color)}.built-in-layout-2 .actions{color:var(--kup-primary-color);font-weight:bold;font-size:20px;display:flex;justify-content:flex-end;position:absolute;width:100%;box-sizing:border-box;bottom:10px}.built-in-layout-2 .action{display:inline-block;width:100px;text-align:center;height:37.5px;line-height:37.5px;margin-right:10px;cursor:pointer;border-radius:2px}.built-in-layout-2 .clock .actions .action:hover{background-color:rgba(0, 0, 0, 0.1)}.built-in-layout-2 .clock .actions .action:visible{background-color:rgba(0, 0, 0, 0.3)}.built-in-layout-2 .hour:nth-child(12):after{transform:rotate(330deg)}.built-in-layout-2 .hour:nth-child(11):after{transform:rotate(300deg)}.built-in-layout-2 .hour:nth-child(10):after{transform:rotate(270deg)}.built-in-layout-2 .hour:nth-child(9):after{transform:rotate(240deg)}.built-in-layout-2 .hour:nth-child(8):after{transform:rotate(210deg)}.built-in-layout-2 .hour:nth-child(7):after{transform:rotate(180deg)}.built-in-layout-2 .hour:nth-child(6):after{transform:rotate(150deg)}.built-in-layout-2 .hour:nth-child(5):after{transform:rotate(120deg)}.built-in-layout-2 .hour:nth-child(4):after{transform:rotate(90deg)}.built-in-layout-2 .hour:nth-child(3):after{transform:rotate(60deg)}.built-in-layout-2 .hour:nth-child(2):after{transform:rotate(30deg)}.built-in-layout-2 .hour:nth-child(1):after{transform:rotate(0deg)}.built-in-layout-2 .hour2:nth-child(24):after{transform:rotate(690deg)}.built-in-layout-2 .hour2:nth-child(23):after{transform:rotate(660deg)}.built-in-layout-2 .hour2:nth-child(22):after{transform:rotate(630deg)}.built-in-layout-2 .hour2:nth-child(21):after{transform:rotate(600deg)}.built-in-layout-2 .hour2:nth-child(20):after{transform:rotate(570deg)}.built-in-layout-2 .hour2:nth-child(19):after{transform:rotate(540deg)}.built-in-layout-2 .hour2:nth-child(18):after{transform:rotate(510deg)}.built-in-layout-2 .hour2:nth-child(17):after{transform:rotate(480deg)}.built-in-layout-2 .hour2:nth-child(16):after{transform:rotate(450deg)}.built-in-layout-2 .hour2:nth-child(15):after{transform:rotate(420deg)}.built-in-layout-2 .hour2:nth-child(14):after{transform:rotate(390deg)}.built-in-layout-2 .hour2:nth-child(13):after{transform:rotate(360deg)}.built-in-layout-2 .unit:nth-child(60):after{transform:rotate(354deg)}.built-in-layout-2 .unit:nth-child(59):after{transform:rotate(348deg)}.built-in-layout-2 .unit:nth-child(58):after{transform:rotate(342deg)}.built-in-layout-2 .unit:nth-child(57):after{transform:rotate(336deg)}.built-in-layout-2 .unit:nth-child(56):after{transform:rotate(330deg)}.built-in-layout-2 .unit:nth-child(55):after{transform:rotate(324deg)}.built-in-layout-2 .unit:nth-child(54):after{transform:rotate(318deg)}.built-in-layout-2 .unit:nth-child(53):after{transform:rotate(312deg)}.built-in-layout-2 .unit:nth-child(52):after{transform:rotate(306deg)}.built-in-layout-2 .unit:nth-child(51):after{transform:rotate(300deg)}.built-in-layout-2 .unit:nth-child(50):after{transform:rotate(294deg)}.built-in-layout-2 .unit:nth-child(49):after{transform:rotate(288deg)}.built-in-layout-2 .unit:nth-child(48):after{transform:rotate(282deg)}.built-in-layout-2 .unit:nth-child(47):after{transform:rotate(276deg)}.built-in-layout-2 .unit:nth-child(46):after{transform:rotate(270deg)}.built-in-layout-2 .unit:nth-child(45):after{transform:rotate(264deg)}.built-in-layout-2 .unit:nth-child(44):after{transform:rotate(258deg)}.built-in-layout-2 .unit:nth-child(43):after{transform:rotate(252deg)}.built-in-layout-2 .unit:nth-child(42):after{transform:rotate(246deg)}.built-in-layout-2 .unit:nth-child(41):after{transform:rotate(240deg)}.built-in-layout-2 .unit:nth-child(40):after{transform:rotate(234deg)}.built-in-layout-2 .unit:nth-child(39):after{transform:rotate(228deg)}.built-in-layout-2 .unit:nth-child(38):after{transform:rotate(222deg)}.built-in-layout-2 .unit:nth-child(37):after{transform:rotate(216deg)}.built-in-layout-2 .unit:nth-child(36):after{transform:rotate(210deg)}.built-in-layout-2 .unit:nth-child(35):after{transform:rotate(204deg)}.built-in-layout-2 .unit:nth-child(34):after{transform:rotate(198deg)}.built-in-layout-2 .unit:nth-child(33):after{transform:rotate(192deg)}.built-in-layout-2 .unit:nth-child(32):after{transform:rotate(186deg)}.built-in-layout-2 .unit:nth-child(31):after{transform:rotate(180deg)}.built-in-layout-2 .unit:nth-child(30):after{transform:rotate(174deg)}.built-in-layout-2 .unit:nth-child(29):after{transform:rotate(168deg)}.built-in-layout-2 .unit:nth-child(28):after{transform:rotate(162deg)}.built-in-layout-2 .unit:nth-child(27):after{transform:rotate(156deg)}.built-in-layout-2 .unit:nth-child(26):after{transform:rotate(150deg)}.built-in-layout-2 .unit:nth-child(25):after{transform:rotate(144deg)}.built-in-layout-2 .unit:nth-child(24):after{transform:rotate(138deg)}.built-in-layout-2 .unit:nth-child(23):after{transform:rotate(132deg)}.built-in-layout-2 .unit:nth-child(22):after{transform:rotate(126deg)}.built-in-layout-2 .unit:nth-child(21):after{transform:rotate(120deg)}.built-in-layout-2 .unit:nth-child(20):after{transform:rotate(114deg)}.built-in-layout-2 .unit:nth-child(19):after{transform:rotate(108deg)}.built-in-layout-2 .unit:nth-child(18):after{transform:rotate(102deg)}.built-in-layout-2 .unit:nth-child(17):after{transform:rotate(96deg)}.built-in-layout-2 .unit:nth-child(16):after{transform:rotate(90deg)}.built-in-layout-2 .unit:nth-child(15):after{transform:rotate(84deg)}.built-in-layout-2 .unit:nth-child(14):after{transform:rotate(78deg)}.built-in-layout-2 .unit:nth-child(13):after{transform:rotate(72deg)}.built-in-layout-2 .unit:nth-child(12):after{transform:rotate(66deg)}.built-in-layout-2 .unit:nth-child(11):after{transform:rotate(60deg)}.built-in-layout-2 .unit:nth-child(10):after{transform:rotate(54deg)}.built-in-layout-2 .unit:nth-child(9):after{transform:rotate(48deg)}.built-in-layout-2 .unit:nth-child(8):after{transform:rotate(42deg)}.built-in-layout-2 .unit:nth-child(7):after{transform:rotate(36deg)}.built-in-layout-2 .unit:nth-child(6):after{transform:rotate(30deg)}.built-in-layout-2 .unit:nth-child(5):after{transform:rotate(24deg)}.built-in-layout-2 .unit:nth-child(4):after{transform:rotate(18deg)}.built-in-layout-2 .unit:nth-child(3):after{transform:rotate(12deg)}.built-in-layout-2 .unit:nth-child(2):after{transform:rotate(6deg)}.built-in-layout-2 .unit:nth-child(1):after{transform:rotate(0deg)}.built-in-layout-3{background:var(--kup-background-color);box-shadow:rgba(128, 128, 128, 0.1) 0px 2px 1px -1px, rgba(128, 128, 128, 0.1) 0px 1px 1px 0px, rgba(128, 128, 128, 0.6) 0px 1px 3px 0px;box-sizing:border-box;overflow:auto}.built-in-layout-3 kup-button,.built-in-layout-3 kup-combobox{margin:0 auto 0.75em auto}.built-in-layout-3 kup-combobox{width:95%}.built-in-layout-3 .sub-chip{border-top:1px solid var(--kup-border-color);max-height:33vh;overflow:auto;width:100%}.built-in-layout-4{background:var(--kup-background-color);box-shadow:rgba(128, 128, 128, 0.1) 0px 2px 1px -1px, rgba(128, 128, 128, 0.1) 0px 1px 1px 0px, rgba(128, 128, 128, 0.6) 0px 1px 3px 0px;box-sizing:border-box}.built-in-layout-4 .picker_arrow{position:absolute;z-index:-1}.built-in-layout-4 .picker_wrapper.popup{position:absolute;z-index:2;margin:1.5em}.built-in-layout-4 .picker_wrapper.popup,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{background:var(--kup-background-color);box-shadow:0 0 10px 1px rgba(0, 0, 0, 0.4)}.built-in-layout-4 .picker_wrapper.popup .picker_arrow{width:3em;height:3em;margin:0}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before,.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{content:\"\";display:block;position:absolute;top:0;left:0;z-index:-99}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::before{width:100%;height:100%;transform:skew(45deg);transform-origin:0 100%}.built-in-layout-4 .picker_wrapper.popup .picker_arrow::after{width:150%;height:150%;box-shadow:none}.built-in-layout-4 .popup.popup_top{bottom:100%;left:0}.built-in-layout-4 .popup.popup_top .picker_arrow{bottom:0;left:0;transform:rotate(-90deg)}.built-in-layout-4 .popup.popup_bottom{top:100%;left:0}.built-in-layout-4 .popup.popup_bottom .picker_arrow{top:0;left:0;transform:rotate(90deg) scale(1, -1)}.built-in-layout-4 .popup.popup_left{top:0;right:100%}.built-in-layout-4 .popup.popup_left .picker_arrow{top:0;right:0;transform:scale(-1, 1)}.built-in-layout-4 .popup.popup_right{top:0;left:100%}.built-in-layout-4 .popup.popup_right .picker_arrow{top:0;left:0}.built-in-layout-4 .picker_wrapper.no_alpha .picker_alpha{display:none}.built-in-layout-4 .picker_wrapper.no_editor .picker_editor{position:absolute;z-index:-1;opacity:0}.built-in-layout-4 .picker_wrapper.no_cancel .picker_cancel{display:none}.built-in-layout-4 .layout_default.picker_wrapper{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:stretch;font-size:10px;width:25em;padding:0.5em}.built-in-layout-4 .layout_default.picker_wrapper input,.built-in-layout-4 .layout_default.picker_wrapper button{font-size:1em}.built-in-layout-4 .layout_default.picker_wrapper>*{margin:0.5em}.built-in-layout-4 .layout_default.picker_wrapper::before{content:\"\";display:block;width:100%;height:0;order:1}.built-in-layout-4 .layout_default .picker_slider,.built-in-layout-4 .layout_default .picker_selector{padding:1em}.built-in-layout-4 .layout_default .picker_hue{width:100%}.built-in-layout-4 .layout_default .picker_sl{flex:1 1 auto}.built-in-layout-4 .layout_default .picker_sl::before{content:\"\";display:block;padding-bottom:100%}.built-in-layout-4 .layout_default .picker_editor{order:1;width:6.5em}.built-in-layout-4 .layout_default .picker_editor input{width:100%;height:100%}.built-in-layout-4 .layout_default .picker_sample{order:1;flex:1 1 auto}.built-in-layout-4 .layout_default .picker_done,.built-in-layout-4 .layout_default .picker_cancel{order:1}.built-in-layout-4 .picker_wrapper{box-sizing:border-box;background:var(--kup-background-color);box-shadow:0 0 0 1px var(--kup-border-color);cursor:default;font-family:sans-serif;color:#444;pointer-events:auto}.built-in-layout-4 .picker_wrapper:focus{outline:none}.built-in-layout-4 .picker_wrapper button,.built-in-layout-4 .picker_wrapper input{box-sizing:border-box;border:none;box-shadow:0 0 0 1px var(--kup-border-color);outline:none}.built-in-layout-4 .picker_wrapper button:focus,.built-in-layout-4 .picker_wrapper button:active,.built-in-layout-4 .picker_wrapper input:focus,.built-in-layout-4 .picker_wrapper input:active{box-shadow:0 0 2px 1px var(--kup-border-color)}.built-in-layout-4 .picker_wrapper button{padding:0.4em 0.6em;cursor:pointer;background-color:whitesmoke;background-image:linear-gradient(0deg, gainsboro, transparent)}.built-in-layout-4 .picker_wrapper button:active{background-image:linear-gradient(0deg, transparent, gainsboro)}.built-in-layout-4 .picker_selector{position:absolute;z-index:1;display:block;transform:translate(-50%, -50%);border:2px solid white;border-radius:100%;box-shadow:0 0 3px 1px #67b9ff;background:currentColor;cursor:pointer}.built-in-layout-4 .picker_slider .picker_selector{border-radius:2px}.built-in-layout-4 .picker_hue{position:relative;background-image:linear-gradient(90deg, red, yellow, lime, cyan, blue, magenta, red);box-shadow:0 0 0 1px var(--kup-border-color)}.built-in-layout-4 .picker_sl{position:relative;box-shadow:0 0 0 1px var(--kup-border-color);background-image:linear-gradient(180deg, white, rgba(255, 255, 255, 0) 50%), linear-gradient(0deg, black, rgba(0, 0, 0, 0) 50%), linear-gradient(90deg, #808080, rgba(128, 128, 128, 0))}.built-in-layout-4 .picker_alpha,.built-in-layout-4 .picker_sample{position:relative;background:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='2'%3E%3Cpath d='M1,0H0V1H2V2H1' fill='lightgrey'/%3E%3C/svg%3E\") left top/contain white;box-shadow:0 0 0 1px var(--kup-border-color)}.built-in-layout-4 .picker_alpha .picker_selector,.built-in-layout-4 .picker_sample .picker_selector{background:none}.built-in-layout-4 .picker_editor input{font-family:monospace;padding:0.2em 0.4em}.built-in-layout-4 .picker_sample::before{content:\"\";position:absolute;display:block;width:100%;height:100%;background:currentColor}.built-in-layout-4 .picker_done,.built-in-layout-4 .picker_arrow{display:none}.built-in-layout-4 .layout_default.picker_wrapper{bottom:unset;font-size:var(--kup-font-size);left:unset;padding:0.25em;right:unset;top:unset;width:100%}.built-in-layout-4 .layout_default .picker_editor input{background:none;color:var(--kup-text-color);font-family:var(--kup-font-family);font-size:var(--kup-font-size)}.built-in-layout-4 .picker_wrapper.popup{box-shadow:var(--kup-box-shadow);margin:0;outline:none}.built-in-layout-5{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto;padding:0.5em}.built-in-layout-5>table{width:100%}.built-in-layout-5>table>tr>td>div.value{text-align:right;color:var(--kup-primary-color);border-bottom:1px solid var(--kup-border-color);min-height:1.5em}.built-in-layout-5>table>tr>td>.f-button{display:flex;justify-content:center}.built-in-layout-5>table>tr>td>div.number{border-radius:50%;cursor:pointer;display:flex;justify-content:center;line-height:2.5em;margin:auto;width:2.5em;transition:background-color 0.25s;text-transform:capitalize}.built-in-layout-5>table>tr>td>div.number:hover{background-color:var(--kup-hover-background-color)}.built-in-layout-6{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto;padding:2em}.built-in-layout-6 .text{padding-bottom:1.5em;text-align:center}.built-in-layout-6 .button-wrapper{display:flex;justify-content:center}.built-in-layout-6 .f-button{padding:0 0.5em}.collapsible-layout-1{color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.collapsible-layout-1 .section-1{background-color:var(--color-0);display:flex;flex:0 0 10%;max-width:10%}.collapsible-layout-1 .section-2{box-sizing:border-box;height:100%;display:flex;flex:0 0 90%;flex-direction:column;max-width:90%}.collapsible-layout-1 .section-2 .sub-1{min-height:1.5em;display:flex;padding:0.6rem 0.8em 0;font-weight:bold;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.collapsible-layout-1 .section-2 .sub-1 div{font-size:1em}.collapsible-layout-1 .section-2 .sub-1 .left{text-align:left;width:80%}.collapsible-layout-1 .section-2 .sub-1 .right{text-align:right;width:20%}.collapsible-layout-1 .section-2 .sub-2{text-align:left;padding:0.6em 0.8em;font-size:0.875em}.collapsible-layout-2{color:var(--kup-text-color);box-shadow:rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px;border-radius:4px;display:flex;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.collapsible-layout-2 .section-1{box-sizing:border-box;height:100%;display:flex;flex-direction:column;max-width:100%;width:100%}.collapsible-layout-2 .section-1 .sub-1{text-align:left;padding:0.6em 0.8em 0;font-size:1em;font-weight:bold;max-width:75%}.collapsible-layout-2 .section-1 .sub-2{text-align:left;padding:0.6em 0.8em;max-width:75%}.collapsible-layout-2 .section-1 .sub-2 div{font-size:0.875em}.collapsible-layout-2 .section-1 .sub-3{color:var(--color-0);text-align:center;position:absolute;top:1em;right:1em;max-width:25%;text-overflow:ellipsis;overflow:hidden;max-height:calc(24px + 2.25em);padding:0 1em}.collapsible-layout-2 .section-1 .sub-3 kup-image{margin:auto}.collapsible-layout-2 .section-1 .sub-3 div{font-size:1.25em}.collapsible-card .collapsible-trigger{display:none;position:absolute;bottom:0;left:0;height:50px;width:100%}.collapsible-card .collapsible-trigger kup-button{margin:auto;width:48px}.collapsible-card .collapsible-wrapper{overflow:auto}.collapsible-card.collapsible-active{padding-bottom:50px}.collapsible-card.collapsible-active .collapsible-trigger{display:block}.dialog-layout-1{background-color:var(--kup-background-color);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);color:var(--kup-text-color);display:flex;flex-direction:column;height:100%;width:100%;overflow:auto}.dialog-layout-1 .section-1{display:grid;grid-gap:0.5em;grid-template-columns:repeat(2, auto);grid-template-rows:repeat(auto-fill, 1.25em);height:100%;padding:0.5em;overflow:auto;touch-action:none}.dialog-layout-1 .section-1 .text{min-width:max-content}.dialog-layout-1 .section-1 .text:not(.label){font-weight:bold}.dialog-layout-2{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-2 .section-1{text-align:center;touch-action:none;padding-bottom:1em}.dialog-layout-2 .section-1 .text{padding-top:0.75em}.dialog-layout-2 .section-1 .text:not(.label){font-weight:bold}.dialog-layout-2 .section-2{border-top:1px solid var(--kup-border-color);display:grid;grid-gap:0.5em;grid-template-columns:repeat(2, auto);grid-template-rows:repeat(auto-fill, 1.25em);height:100%;padding:0.5em;overflow:auto;touch-action:none}.dialog-layout-2 .section-2 .text{min-width:max-content}.dialog-layout-2 .section-2 .text:not(.label){font-weight:bold}.dialog-layout-3{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;overflow:visible;flex-direction:column;height:100%;position:relative;width:100%}.dialog-layout-3 kup-button{margin-left:0}.dialog-layout-3 .section-1{background-color:var(--kup-background-color);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;box-shadow:0px 1px 3px 0px var(--kup-text-color);height:52px;width:100%;text-align:right;touch-action:none}.dialog-layout-3 .section-1 kup-button{margin-right:0.25em}.dialog-layout-3 .section-2{height:100%;width:100%;overflow:auto;max-height:50vh}.dialog-layout-3 ::slotted(.text){color:var(--kup-text-color);font-family:var(--kup-font-family-monospace);white-space:nowrap;border-bottom:1px solid var(--kup-border-color);line-height:1.75em}.dialog-layout-4{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-4 .section-1{display:flex;justify-content:space-evenly}.dialog-layout-4 .section-2{height:100%;overflow:auto;padding:0.25em;touch-action:none}.dialog-layout-5{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;width:100%}.dialog-layout-5 .section-1{display:flex;justify-content:space-evenly}.dialog-layout-5 .section-2{height:100%;overflow:auto}.dialog-layout-6{background-color:var(--kup-background-color);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);display:flex;flex-direction:column;height:100%;max-height:95vh;max-width:95vw;width:100%}.dialog-layout-6 .section-1{display:flex;height:100%;justify-content:space-evenly;overflow:auto}.dialog-layout-6 kup-data-table{width:100%}#drag-handle{-ms-touch-action:none;touch-action:none}#drag-handle:not(.header-bar){display:flex;height:100%}#drag-handle:not(.header-bar) .f-image{margin:auto}#drag-handle.header-bar{background-color:var(--kup-title-background-color);color:var(--kup-title-color);display:flex;flex-direction:row;height:2em;position:relative;width:100%}#drag-handle.header-bar .dialog-title{font-weight:bold;line-height:2em;padding-left:0.5em;padding-right:2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#drag-handle.header-bar #dialog-close{cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:0;background:var(--kup-title-background-color)}#drag-handle.header-bar #dialog-close:hover{opacity:0.5}.free-layout-1{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto;padding:1em}.free-layout-2{background:var(--kup-background-color);box-shadow:var(--kup-box-shadow);box-sizing:border-box;overflow:auto}.scalable-layout-1 .descr{font-size:70%;width:100%}.scalable-layout-1 .value{font-size:220%}.scalable-layout-2 #image1 img{object-fit:contain}.scalable-layout-2 .scalable-element{display:grid;grid-template-columns:0.25fr 1fr 0.5fr 0.5fr}.scalable-layout-2 .icon{margin:auto;font-size:150%;margin-right:5%}.scalable-layout-2 .value-int{font-size:250%}.scalable-layout-2 .value-dec,.scalable-layout-2 .unit{font-size:130%;margin-top:auto;margin-bottom:10%}.scalable-layout-2 .value-dec{margin-left:2%}.scalable-layout-2 .unit{margin-left:4%}.scalable-layout-3 .descr{font-size:70%;width:100%}.scalable-layout-3 .value{font-size:220%}.scalable-layout-4 #image1 img{object-fit:contain}.scalable-layout-4 .scalable-element{display:grid;grid-template-columns:1fr 5fr}.scalable-layout-4 .icon{font-size:150%;margin:auto 5% auto auto}.scalable-layout-4 .value-and-unit{display:flex;color:var(--color-0)}.scalable-layout-4 .value-and-unit .value-int{font-size:250%}.scalable-layout-4 .value-and-unit .value-dec,.scalable-layout-4 .value-and-unit .unit{font-size:130%;margin-top:auto;margin-bottom:10%}.scalable-layout-4 .value-and-unit .value-dec{margin-left:2%}.scalable-layout-4 .value-and-unit .unit{margin-left:4%}.scalable-layout-4 .descr{margin-left:4%;text-align:left;font-size:80%;width:100%;min-width:max-content}.scalable-layout-5 #image1 img{object-fit:contain}.scalable-layout-5 .scalable-element{display:flex}.scalable-layout-5 .text-wrapper{margin-right:10px}.scalable-layout-5 .icon{font-size:150%;margin:auto;margin-bottom:0.35em}.scalable-layout-5 .value{font-size:200%}.scalable-layout-5 .descr{text-align:right;font-size:65%;width:100%;min-width:max-content;position:relative}.scalable-layout-6 #image1 img{object-fit:contain}.scalable-layout-6 .scalable-element{display:flex;justify-content:space-between}.scalable-layout-6 .text-wrapper{margin-left:1em}.scalable-layout-6 .icon{font-size:150%;margin:auto}.scalable-layout-6 .value{font-size:220%;text-align:right}.scalable-layout-6 .descr{font-size:80%;text-align:right;width:100%;min-width:max-content}.scalable-layout-7 #image1 img{object-fit:contain}.scalable-layout-7 .scalable-element{display:flex}.scalable-layout-7 .text-wrapper{margin-right:0.5em}.scalable-layout-7 .icon{font-size:150%;margin:auto;margin-top:0.35em}.scalable-layout-7 .value{font-size:200%;text-align:right}.scalable-layout-7 .descr{text-align:right;font-size:65%;width:100%;min-width:max-content;position:relative}.scalable-layout-8 #image1 img{object-fit:contain}.scalable-layout-8 .scalable-element{align-items:center;display:grid;grid-template-columns:0.25fr 1.25fr 0.25fr}.scalable-layout-8 .icon{margin-right:4%;font-size:75%}.scalable-layout-8 .value{margin:0 8px;font-size:250%}.scalable-layout-8 .descr{font-size:60%;text-align:left}.scalable-layout-9{background-color:var(--color-1);color:var(--color-2);height:100%;display:flex;justify-content:unset;overflow:auto;border-radius:4px}.scalable-layout-9 .section-1{background-color:var(--color-0);width:20%;height:100%}.scalable-layout-9 .section-2{width:100%;height:100%;display:flex;flex-direction:column}.scalable-layout-9 .text{display:flex;justify-content:center;flex-direction:column}.scalable-layout-9 .descr{font-size:80%}.scalable-layout-9 .value{font-size:220%}.scalable-layout-9 .buttons{height:max-content;margin-bottom:2%}.scalable-layout-9 .f-button{float:right}.scalable-card{align-items:center;box-shadow:var(--kup_card_scalable_box_shadow);border-radius:4px;display:flex;font-size:var(--kup_card_scalable_static_font_size, calc(var(--kup_card_scalable_starting_font_size) * var(--kup_card_scalable_multiplier, 1)));height:100%;justify-content:center;position:relative;text-align:center;word-break:normal;width:100%}.standard-layout-1{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-1 kup-button{margin-right:0}.standard-layout-1 #image1 img{object-fit:cover}.standard-layout-1.has-actions{padding-bottom:52px}.standard-layout-1.has-actions .section-2 .sub-2.description{padding-bottom:0}.standard-layout-1 .section-1{height:60%;width:100%}.standard-layout-1 .section-2{height:40%;width:100%;overflow:auto}.standard-layout-1 .section-2 .sub-2.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-1 .section-2 .sub-2.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-1 .section-2 .sub-2.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-1 .section-2 .sub-2.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-1 .section-3{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-1 .section-3 kup-button{margin-left:0.25em}.standard-layout-2{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-2 kup-button{margin-right:0}.standard-layout-2 #image1 img{object-fit:cover}.standard-layout-2.has-actions{padding-bottom:52px}.standard-layout-2.has-actions .section-3 .sub-3.description{padding-bottom:0}.standard-layout-2 .section-1{width:100%}.standard-layout-2 .section-1 .sub-1.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-2 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-2 .section-1 .sub-1.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-2 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-2 .section-2{height:75%;width:100%}.standard-layout-2 .section-3{width:100%;overflow:auto}.standard-layout-2 .section-3 .sub-3.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em 8px;padding-top:1em;text-align:left}.standard-layout-2 .section-3 .sub-3.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-2 .section-4{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-2 .section-4 kup-button{margin-left:0.25em}.standard-layout-3{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-3 kup-button{margin-right:0}.standard-layout-3 #image1 img{object-fit:cover}.standard-layout-3.has-actions{padding-bottom:52px}.standard-layout-3.has-actions .section-2 .sub-2.description{padding-bottom:0}.standard-layout-3 .section-1{height:75%;width:100%}.standard-layout-3 .section-1 .media{position:relative;height:100%;width:100%}.standard-layout-3 .section-1 .text-on-media{position:absolute;bottom:0;left:0}.standard-layout-3 .section-1 .sub-1.title{color:white;padding:0 1em;padding-top:1em;text-align:left}.standard-layout-3 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-3 .section-1 .sub-1.subtitle{color:white;opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-3 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-3 .section-2{width:100%;overflow:auto}.standard-layout-3 .section-2 .sub-2.description{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;opacity:0.6;padding:0 1em 8px;padding-top:1em;text-align:left}.standard-layout-3 .section-2 .sub-2.description div{font-size:0.875em;font-weight:400;letter-spacing:0.0178571429em;line-height:1.25em}.standard-layout-3 .section-3{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-3 .section-3 kup-button{margin-left:0.25em}.standard-layout-4{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%;overflow:auto}.standard-layout-4 kup-button{margin-right:0}.standard-layout-4 #image1 img{object-fit:cover}.standard-layout-4.has-actions{padding-bottom:52px}.standard-layout-4.has-actions .section-3 .sub-3.description{padding-bottom:0}.standard-layout-4 .section-1{display:flex;height:100%;width:100%}.standard-layout-4 .section-1 .sub-1.image{width:33%}.standard-layout-4 .section-1 .sub-1.text{width:77%}.standard-layout-4 .section-1 .sub-1.title{color:var(--kup-text-color);padding:0 1em;padding-top:1em;text-align:left}.standard-layout-4 .section-1 .sub-1.title div{font-size:1.25em;font-weight:500;letter-spacing:0.0125em}.standard-layout-4 .section-1 .sub-1.subtitle{opacity:0.6;padding:0 1em;padding-bottom:1em;text-align:left}.standard-layout-4 .section-1 .sub-1.subtitle div{font-size:0.875em;font-weight:500;letter-spacing:0.0071428571em;line-height:1.375em}.standard-layout-4 .section-2{display:flex;justify-content:flex-end;align-items:center;box-sizing:border-box;position:absolute;left:0;bottom:0;padding:2px 1em;height:52px;width:100%;text-align:right}.standard-layout-4 .section-2 kup-button{margin-left:0.25em}.standard-layout-5{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);height:100%;overflow:hidden;width:100%}.standard-layout-5 .section-1{background-color:var(--color-0);height:3%}.standard-layout-5 .section-2{display:flex;height:53%}.standard-layout-5 .section-3{display:flex;height:24%}.standard-layout-5 .section-4{display:flex;height:20%;background-color:var(--color-1)}.standard-layout-5 .sub-2{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:center}.standard-layout-5 .sub-2.icon{min-height:20px;flex:0 0 10%;max-width:10%}.standard-layout-5 .sub-2.icon #image1{box-sizing:border-box;margin:auto;padding:0 20%}.standard-layout-5 .sub-2.icon #image1 img{object-fit:contain}.standard-layout-5 .sub-2.text{flex:0 0 70%;max-width:70%;margin:auto;height:100%;flex-wrap:nowrap;padding:1em;text-align:left}.standard-layout-5 .sub-2.image{box-sizing:border-box;flex:0 0 20%;padding:1.5vh 0;max-width:20%}.standard-layout-5 .sub-2.image #image2{box-sizing:border-box;margin:auto;padding:0 10%}.standard-layout-5 .sub-2.image #image2 img{object-fit:contain}.standard-layout-5 .sub-2 .desc-text{overflow:auto}.standard-layout-5 .sub-2 .alt-text{color:var(--kup-primary-color)}.standard-layout-5 .sub-3{box-sizing:border-box}.standard-layout-5 .sub-3.progress-bar{margin:auto;padding:0 5%;vertical-align:2px;width:80%}.standard-layout-5 .sub-3.button{margin:auto;text-align:center;width:20%}.standard-layout-5 .sub-3 kup-button{margin:auto}.standard-layout-5 .sub-4{box-sizing:border-box;margin:auto}.standard-layout-5 .sub-4.text{width:50%;font-size:0.875em}.standard-layout-5 .sub-4 div{padding:0 5%}.standard-layout-5 .sub-4 .alt-text{color:var(--color-0);font-size:1em}.standard-layout-5 .alt-text{font-weight:bold}@media screen and (max-width: 767px){.standard-layout-5 .sub-2.image{display:none}.standard-layout-5 .sub-2.icon{flex-basis:30%;max-width:30%}}.standard-layout-6{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;height:100%;overflow:hidden;width:100%}.standard-layout-6 .section-1{background-color:var(--color-0);display:flex;flex:0 0 10%;max-width:10%}.standard-layout-6 .section-1 .alt-text{color:var(--kup_card_dynamic_color_0);height:100%;text-align:center;writing-mode:vertical-lr;margin:auto;font-size:1.25em}.standard-layout-6 .section-2{box-sizing:border-box;height:100%;display:flex;flex:0 0 90%;flex-direction:column;max-width:90%}.standard-layout-6 .section-2 .sub-2{margin:auto;text-align:center}.standard-layout-6 .section-2 .sub-2 kup-progress-bar{margin-bottom:1em}.standard-layout-6 kup-button{position:absolute;bottom:2%;right:2%}.standard-layout-7{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%}.standard-layout-7 #image1 img{margin:auto;object-fit:contain}.standard-layout-7 .section-1{background-color:var(--color-0);height:5%;width:100%}.standard-layout-7 .section-2{height:80%;width:100%;text-align:center;padding:25px 25%;box-sizing:border-box}.standard-layout-7 .section-2 .sub-2{margin:auto}.standard-layout-7 .section-2 .sub-2.image{box-sizing:border-box;height:65%}.standard-layout-7 .section-2 .sub-2.text{font-size:1.4em;letter-spacing:1.2px;padding-top:1em;height:35%}.standard-layout-7 .section-3{display:flex;height:15%;width:100%}.standard-layout-7 .section-3 .alt-text{margin:auto;opacity:0.75;width:50%}.standard-layout-7 .section-3 .alt-text:nth-child(1){margin-left:1em;text-align:left}.standard-layout-7 .section-3 .alt-text:nth-child(2){margin-right:1em;text-align:right}.standard-layout-8{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-8 .background{background-color:var(--color-0);content:\"\";height:100%;width:100%;opacity:0.1;pointer-events:none;position:absolute;top:0;left:0;z-index:1}.standard-layout-8 .section-1{box-sizing:border-box;display:flex;flex-direction:column;max-width:100%;overflow:auto;height:auto}.standard-layout-8 .section-1 .sub-1{text-align:left;padding:0.6em 0.8em 0;font-size:1em;font-weight:bold;max-width:75%}.standard-layout-8 .section-1 .sub-2{text-align:left;padding:0.6em 0.8em;font-size:0.875em;max-width:75%}.standard-layout-8 .section-1 .sub-3{color:var(--color-0);font-weight:bold;text-align:center;font-size:1.2em;position:absolute;top:1em;right:1em;max-width:25%;text-overflow:ellipsis;max-height:calc(24px + 2.25em);padding:0 1em;overflow:hidden}.standard-layout-8 .section-1 .sub-3 kup-image{margin:auto}.standard-layout-8 .section-2{display:flex;height:auto;overflow:auto}.standard-layout-9{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-9 #image1 img{object-fit:contain}.standard-layout-9 .section-1{margin-top:auto;margin-right:18px;margin-bottom:auto;white-space:nowrap}.standard-layout-9 .section-2{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-9 .sub-2{display:flex;flex-direction:row}.standard-layout-9 .text{text-align:left}.standard-layout-9 .text-wrapper{display:flex;flex-direction:column}.standard-layout-9 .icon{margin:auto;padding:0 1.25em}.standard-layout-9 .description{font-size:1.5em;letter-spacing:1px;padding-left:1.25em;padding-top:0.25em}.standard-layout-9 .title{font-size:2.75em;font-weight:bold}.standard-layout-9 .subtitle{font-size:1.5em;opacity:0.75}.standard-layout-10{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-10 #image1 img{object-fit:contain}.standard-layout-10 .section-1{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-10 .section-2{margin-top:auto;margin-left:18px;margin-bottom:auto;white-space:nowrap}.standard-layout-10 .sub-2{display:flex;flex-direction:row-reverse}.standard-layout-10 .text{text-align:right}.standard-layout-10 .text-wrapper{display:flex;flex-direction:column}.standard-layout-10 .icon{margin:auto;padding:0 1.25em}.standard-layout-10 .description{font-size:1.5em;letter-spacing:1px;padding-right:1.25em;padding-top:0.25em}.standard-layout-10 .title{font-size:2.75em;font-weight:bold}.standard-layout-10 .subtitle{font-size:1.5em;opacity:0.75}.standard-layout-11{background-color:var(--kup-background-color);color:var(--kup-text-color);box-shadow:0px 0px 7.5px 0px rgba(128, 128, 128, 0.5);display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%;box-sizing:border-box;position:relative}.standard-layout-11 #image1 img{object-fit:contain}.standard-layout-11 .section-1{display:flex;height:100%;margin-top:auto;margin-bottom:auto;min-width:6em;max-width:6em;overflow:hidden;transition:0.25s ease-in}.standard-layout-11 .section-2{display:flex;height:100%;margin-top:auto;margin-bottom:auto;width:100%;overflow:hidden}.standard-layout-11 .sub-1{background-color:var(--color-0);height:100%;text-align:center;writing-mode:vertical-lr;min-width:6em;display:flex;transition:width 0.25s ease-in}.standard-layout-11 .sub-1 div{font-size:1.25em}.standard-layout-11 .sub-2{display:flex;flex-direction:row}.standard-layout-11 .text:not(.description){text-align:left}.standard-layout-11 .text-wrapper{display:flex;flex-direction:column}.standard-layout-11 .icon{margin:auto;padding:0 1.25em}.standard-layout-11 .description{font-size:1.5em;letter-spacing:1px;margin:auto;color:var(--kup_card_dynamic_color_0)}.standard-layout-11 .title{font-size:2.75em;font-weight:bold;margin-top:auto}.standard-layout-11 .subtitle{font-size:1.5em;opacity:0.75;margin-bottom:auto}.standard-layout-12{background-color:var(--kup-background-color);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);color:var(--kup-text-color);min-width:200px;min-width:-moz-max-content;min-width:-webkit-max-content;}.standard-layout-12 .section-1{display:inline-flex;border-bottom:1px solid var(--kup-border-color);width:100%}.standard-layout-12 .section-1 kup-button{margin:0}.standard-layout-12 .section-2{display:flex;flex-direction:column}.standard-layout-12 .section-2.has-content{border-bottom:1px solid var(--kup-border-color);padding:0.5em 0.5em}.standard-layout-12 .section-2 kup-date-picker:first-of-type,.standard-layout-12 .section-2 kup-time-picker:first-of-type{margin-bottom:0.5em}.standard-layout-12 .section-3{backface-visibility:hidden;display:flex;flex-direction:column;max-height:20vh;overflow:auto}.standard-layout-12 .section-3 kup-checkbox{margin-left:0;margin-right:auto}.standard-layout-13{background-color:var(--kup-background-color);border-radius:4px;box-sizing:border-box;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);display:flex;flex-direction:column;height:100%;position:relative;width:100%}.standard-layout-13 kup-button{margin-left:0}.standard-layout-13 .section-1{background-color:var(--kup-background-color);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;box-shadow:0px 1px 3px 0px var(--kup-text-color);height:52px;width:100%;text-align:right}.standard-layout-13 .section-1 kup-button{margin-right:0.25em}.standard-layout-13 .section-2{height:100%;width:100%;overflow:auto;max-height:50vh}.standard-layout-13 .text{color:var(--kup-text-color);font-family:var(--kup-font-family-monospace);white-space:nowrap;border-bottom:1px solid var(--kup-border-color);line-height:1.75em}.standard-layout-14{background-color:var(--kup-background-color);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);color:var(--kup-text-color);min-width:200px;min-width:-moz-max-content;min-width:-webkit-max-content;}.standard-layout-14 .section-1{--kup-button-font-size:0.75em;box-sizing:border-box;display:flex;padding:1em}.standard-layout-14 .section-1 .sub-1{width:100%}.standard-layout-14 .section-1 .top{display:flex;justify-content:space-between}.standard-layout-14 .section-1 .buttons{display:flex}.standard-layout-14 .section-1 .sub-spinner{height:88px;width:88px;margin:0 10px}.standard-layout-14 .section-1 .f-image{margin:0 0.5em 0 0}.standard-layout-14 .section-1 .title{align-items:flex-end;display:flex;font-size:1.25em;font-weight:600;margin-bottom:0.5em;padding:0 0.25em 0.25em;text-align:left}.standard-layout-14 .section-1 .title .label{cursor:pointer;padding-right:0.25em;padding-top:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standard-layout-14 .section-1 .title .label:hover{text-decoration:underline}.standard-layout-14 .section-1 .info{display:flex;padding:0 0.25em 0.25em;width:100%}.standard-layout-14 .section-1 .info .label{color:rgba(var(--kup-text-color-rgb), 0.75);margin-right:0.75em;min-width:max-content;width:auto}.standard-layout-14 .section-1 .info .value{font-weight:600;width:100%}.standard-layout-14 .sub-button{display:inline-flex;width:100%}.standard-layout-14 .sub-button kup-button{margin:0}.standard-layout-14 .sub-checkbox{backface-visibility:hidden;display:flex;flex-direction:column;max-height:20vh;overflow:auto}.standard-layout-14 .sub-checkbox kup-checkbox{margin-left:0;margin-right:auto}.standard-layout-14 .sub-formula{padding:0.5em}.standard-layout-14 .sub-chip{max-width:25vw;overflow:auto;box-shadow:0 3px 2px -2px var(--kup-border-color)}.standard-layout-14 .sub-field{display:flex;flex-direction:column}.standard-layout-14 .sub-field.has-content{border-bottom:1px solid var(--kup-border-color);padding:0.5em 0.5em}.standard-layout-14 .sub-field kup-date-picker:first-of-type,.standard-layout-14 .sub-field kup-time-picker:first-of-type{margin-bottom:0.5em}.standard-layout-14 .sub-spinner{height:100px}.standard-layout-14 .sub-autocomplete{padding-top:1em}.standard-layout-14 .sub-autocomplete kup-autocomplete{margin:auto;padding:0.5em 0;width:max-content}.standard-layout-14 .sub-switch{display:flex;justify-content:space-evenly;padding:2em}.standard-layout-14 .sub-tree{max-height:25vh;overflow:auto}.standard-layout-14 #apply{display:none;margin:auto}.standard-layout-14 #apply.visible{display:block}.standard-layout-14 #open-in-new,.standard-layout-14 #search,.standard-layout-14 #new{margin:0 0 0.5em 0}.standard-layout-15{background:var(--kup-background-color);border-radius:3px;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);color:var(--kup-text-color);display:block;font-size:var(--kup-font-size);outline:none}.standard-layout-15 .section-1{--kup-button-font-size:0.75em;box-sizing:border-box;display:flex;padding:1em}.standard-layout-15 .section-1 .sub-1{width:100%}.standard-layout-15 .section-1 .top{display:flex;justify-content:space-between}.standard-layout-15 .section-1 .buttons{display:flex}.standard-layout-15 .section-1 .sub-spinner{height:88px;width:88px;margin:0 10px}.standard-layout-15 .section-1 .f-image{margin:0 0.5em 0 0}.standard-layout-15 .section-1 .title{align-items:flex-end;display:flex;font-size:1.25em;font-weight:600;margin-bottom:0.5em;padding:0 0.25em 0.25em;text-align:left}.standard-layout-15 .section-1 .title .label{cursor:pointer;padding-right:0.25em;padding-top:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.standard-layout-15 .section-1 .title .label:hover{text-decoration:underline}.standard-layout-15 .section-1 .info{display:flex;padding:0 0.25em 0.25em;width:100%}.standard-layout-15 .section-1 .info .label{color:rgba(var(--kup-text-color-rgb), 0.75);margin-right:0.75em;min-width:max-content;width:auto}.standard-layout-15 .section-1 .info .value{font-weight:600;width:100%}.standard-layout-15 .section-2{border-top:1px solid var(--kup-border-color);box-sizing:border-box;height:180px;opacity:1;overflow:auto;transition:height 250ms ease-out, opacity 250ms ease-out}.standard-layout-15 .section-2 .info{box-sizing:border-box;height:100%;overflow:auto;padding:1.25em}.standard-layout-15 .section-2 .detail-row{align-items:center;display:flex;justify-content:space-between}.standard-layout-15 .section-2 .detail-row:not(:last-child){margin-bottom:6px}.standard-layout-15 .section-2 .detail-row__label{color:rgba(var(--kup-text-color-rgb), 0.5);margin-top:0.175em;max-width:320px;padding-right:1.25em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standard-layout-15 .section-2 .detail-row__value{color:var(--kup-text-color);font-size:105%;font-weight:600;max-width:320px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.standard-layout-15 .section-2 kup-tree{text-align:left}.standard-layout-15 .section-3{border-top:1px solid var(--kup-border-color);display:flex;justify-content:flex-end;padding:6px;padding-top:2px;padding-bottom:2px}.standard-layout-15 .section-3 kup-button{margin:auto 0}.standard-layout-15 #open-in-new,.standard-layout-15 #search,.standard-layout-15 #new{margin:0 0 0.5em 0}:host{--kup_card_backdrop:var(--kup-card-backdrop, rgba(0, 0, 0, 0.32));--kup_card_ripple_color:var(\n --kup-card-ripple-color,\n var(--kup-primary-color)\n );--kup_card_scalable_box_shadow:var(\n --kup-card-scalable-box-shadow,\n 0 2px 1px -1px rgba(0, 0, 0, 0.2),\n 0 1px 1px 0 rgba(0, 0, 0, 0.14),\n 0 1px 3px 0 rgba(0, 0, 0, 0.12)\n );--kup_card_scalable_starting_font_size:var(\n --kup-card-scalable-starting-font-size,\n 3em\n );--kup_card_scalable_static_font_size:var(\n --kup-card-scalable-static-font-size\n );display:block;font-size:var(--kup-font-size);height:var(--kup_card_height);min-height:var(--kup_card_height);min-width:var(--kup_card_width);outline:none;position:relative;width:var(--kup_card_width)}:host([is-menu]){display:none;animation:fade-in 0.25s ease-out}:host([menu-visible]){box-shadow:var(--kup-box-shadow);display:block}#kup-component{height:100%;width:100%}.mdc-ripple-surface{cursor:pointer;flex-direction:column;display:flex;height:100%;position:relative}.mdc-ripple-surface:before,.mdc-ripple-surface:after{background-color:var(--kup_card_ripple_color)}.card-view{animation:fade-in 0.25s ease-out;display:none;height:100%;width:100%}.card-view.visible{display:block}";
|
|
5186
5186
|
|
|
5187
5187
|
const KupCard = class {
|
|
5188
5188
|
constructor(hostRef) {
|
|
@@ -5495,17 +5495,16 @@ const KupCard = class {
|
|
|
5495
5495
|
}
|
|
5496
5496
|
/**
|
|
5497
5497
|
* This method is invoked by the layout manager when the layout family is scalable.
|
|
5498
|
-
* The content of the card (.scalable-element) will be resized to fit the wrapper (
|
|
5499
|
-
* The scaling is performed by using a CSS variable (--
|
|
5498
|
+
* The content of the card (.scalable-element) will be resized to fit the wrapper (kup-card).
|
|
5499
|
+
* The scaling is performed by using a CSS variable (--kup_card_scalable_multiplier) which will impact the card's font-size.
|
|
5500
5500
|
* When there is empty space, the multiplier will be increased, as will the content.
|
|
5501
5501
|
* Viceversa, when the content exceeds the boundaries, the multiplier will be decreased.
|
|
5502
5502
|
*/
|
|
5503
|
-
scalable() {
|
|
5503
|
+
async scalable() {
|
|
5504
5504
|
this.scalingActive = true;
|
|
5505
5505
|
const root = this.rootElement.shadowRoot;
|
|
5506
5506
|
const el = root.querySelector('.scalable-element');
|
|
5507
|
-
const card =
|
|
5508
|
-
const multiplierStep = 0.1;
|
|
5507
|
+
const card = this.rootElement;
|
|
5509
5508
|
/**
|
|
5510
5509
|
* cardHeight sets the maximum height of the content, when exceeded the multiplier will be reduced (90%).
|
|
5511
5510
|
*/
|
|
@@ -5515,37 +5514,41 @@ const KupCard = class {
|
|
|
5515
5514
|
*/
|
|
5516
5515
|
const cardWidthLow = (85 / 100) * card.clientWidth;
|
|
5517
5516
|
const cardWidthHigh = (95 / 100) * card.clientWidth;
|
|
5518
|
-
|
|
5519
|
-
let
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5517
|
+
const multiplierStep = 0.1;
|
|
5518
|
+
let tooManyAttempts = 75;
|
|
5519
|
+
let multiplier = 1;
|
|
5520
|
+
let redrawCount = 0;
|
|
5521
|
+
const redraw = async () => {
|
|
5522
|
+
card.style.setProperty('--kup_card_scalable_multiplier', multiplier.toFixed(1) + '');
|
|
5523
|
+
this.kupManager.debug.logMessage(this, 'Redrawing scalable card (' + ++redrawCount + ').', kupManager.KupDebugCategory.INFO);
|
|
5524
|
+
};
|
|
5525
|
+
const roundMultiplier = (m) => {
|
|
5526
|
+
return parseFloat(m.toFixed(1));
|
|
5527
|
+
};
|
|
5528
|
+
card.style.opacity = '0';
|
|
5529
|
+
card.style.transition = 'opacity 125ms ease-in';
|
|
5523
5530
|
/**
|
|
5524
5531
|
* Cycle to adjust the width.
|
|
5525
5532
|
*/
|
|
5533
|
+
await redraw();
|
|
5526
5534
|
while ((el.clientWidth < cardWidthLow || el.clientWidth > cardWidthHigh) &&
|
|
5527
5535
|
tooManyAttempts > 0 &&
|
|
5528
5536
|
multiplier > multiplierStep) {
|
|
5529
5537
|
tooManyAttempts--;
|
|
5530
|
-
if (el.clientWidth < cardWidthLow
|
|
5531
|
-
|
|
5532
|
-
|
|
5538
|
+
if (el.clientWidth < cardWidthLow &&
|
|
5539
|
+
el.clientHeight <= cardHeight) {
|
|
5540
|
+
multiplier = roundMultiplier(multiplier + multiplierStep);
|
|
5541
|
+
await redraw();
|
|
5533
5542
|
}
|
|
5534
5543
|
else if (el.clientWidth > cardWidthHigh) {
|
|
5535
|
-
multiplier = multiplier - multiplierStep;
|
|
5536
|
-
|
|
5544
|
+
multiplier = roundMultiplier(multiplier - multiplierStep);
|
|
5545
|
+
await redraw();
|
|
5537
5546
|
}
|
|
5538
5547
|
else {
|
|
5539
5548
|
tooManyAttempts = 0;
|
|
5540
5549
|
}
|
|
5541
5550
|
}
|
|
5542
|
-
|
|
5543
|
-
* Cycle to adjust the height, in case it exceeds its boundaries after having adjusted width.
|
|
5544
|
-
*/
|
|
5545
|
-
while (el.clientHeight > cardHeight && multiplier > multiplierStep) {
|
|
5546
|
-
multiplier = multiplier - multiplierStep;
|
|
5547
|
-
card.style.setProperty('--kup_card_multiplier', multiplier + '');
|
|
5548
|
-
}
|
|
5551
|
+
card.style.opacity = '1';
|
|
5549
5552
|
this.scalingActive = false;
|
|
5550
5553
|
}
|
|
5551
5554
|
/*-------------------------------------------------*/
|
|
@@ -7257,8 +7260,8 @@ class KupDataTableState {
|
|
|
7257
7260
|
this.expandGroups = false;
|
|
7258
7261
|
this.groupLabelDisplay = kupManager.GroupLabelDisplayMode.BOTH;
|
|
7259
7262
|
this.density = 'small';
|
|
7260
|
-
this.enableSortableColumns = false;
|
|
7261
7263
|
this.enableExtraColumns = true;
|
|
7264
|
+
this.enableSortableColumns = false;
|
|
7262
7265
|
this.forceOneLine = false;
|
|
7263
7266
|
this.globalFilter = false;
|
|
7264
7267
|
this.globalFilterValue = '';
|
|
@@ -8044,7 +8047,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
8044
8047
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
8045
8048
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
8046
8049
|
};
|
|
8047
|
-
var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_clickHandler, _KupDataTable_contextMenuHandler, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onDefaultRowActionClick, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_renderActions, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel;
|
|
8050
|
+
var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_clickHandler, _KupDataTable_contextMenuHandler, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onDefaultRowActionClick, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_renderActions, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel;
|
|
8048
8051
|
const KupDataTable = class {
|
|
8049
8052
|
constructor(hostRef) {
|
|
8050
8053
|
index.registerInstance(this, hostRef);
|
|
@@ -8758,7 +8761,10 @@ const KupDataTable = class {
|
|
|
8758
8761
|
this.selectedRows = [];
|
|
8759
8762
|
for (let index = 0; index < rowsIdentifiers.length; index++) {
|
|
8760
8763
|
const id = rowsIdentifiers[index];
|
|
8761
|
-
|
|
8764
|
+
const row = __classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable_getRow).call(this, id);
|
|
8765
|
+
if (row) {
|
|
8766
|
+
this.selectedRows.push(row);
|
|
8767
|
+
}
|
|
8762
8768
|
}
|
|
8763
8769
|
if (emitEvent !== false) {
|
|
8764
8770
|
this.kupRowSelected.emit({
|
|
@@ -9046,7 +9052,7 @@ const KupDataTable = class {
|
|
|
9046
9052
|
});
|
|
9047
9053
|
}
|
|
9048
9054
|
if (this.totals) {
|
|
9049
|
-
const selectedItem = listData.find((item) => item.
|
|
9055
|
+
const selectedItem = listData.find((item) => item.id === this.totals[column.name]);
|
|
9050
9056
|
if (selectedItem) {
|
|
9051
9057
|
selectedItem.selected = true;
|
|
9052
9058
|
listData.push({
|
|
@@ -9250,8 +9256,12 @@ const KupDataTable = class {
|
|
|
9250
9256
|
for (let index = 0; index < this.data.columns.length; index++) {
|
|
9251
9257
|
const column = this.data.columns[index];
|
|
9252
9258
|
cells[column.name] = {
|
|
9253
|
-
data: column.cellData
|
|
9254
|
-
|
|
9259
|
+
data: column.cellData
|
|
9260
|
+
? JSON.parse(JSON.stringify(column.cellData))
|
|
9261
|
+
: undefined,
|
|
9262
|
+
slotData: column.cellSlotData
|
|
9263
|
+
? JSON.parse(JSON.stringify(column.cellSlotData))
|
|
9264
|
+
: undefined,
|
|
9255
9265
|
isEditable: column.isKey ||
|
|
9256
9266
|
column.isEditable,
|
|
9257
9267
|
obj: Object.assign({}, column.obj),
|
|
@@ -9401,27 +9411,34 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
9401
9411
|
__classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable_setTransposedData).call(this);
|
|
9402
9412
|
}
|
|
9403
9413
|
}, _KupDataTable_getRow = function _KupDataTable_getRow(id) {
|
|
9404
|
-
let row = null;
|
|
9405
|
-
const search = (rows) => {
|
|
9406
|
-
if (rows && rows.length > 0 && !row) {
|
|
9407
|
-
test(rows);
|
|
9408
|
-
}
|
|
9409
|
-
};
|
|
9410
|
-
const test = (rows) => {
|
|
9411
|
-
if (typeof id === 'number') {
|
|
9412
|
-
row = rows[id];
|
|
9413
|
-
}
|
|
9414
|
-
else {
|
|
9415
|
-
row = rows.find((row) => row.id === id);
|
|
9416
|
-
}
|
|
9417
|
-
};
|
|
9418
9414
|
if (__classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable_isGrouping).call(this) && typeof id === 'string') {
|
|
9419
|
-
__classPrivateFieldGet$4(this,
|
|
9415
|
+
return __classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$4(this, _KupDataTable_paginatedRows, "f"));
|
|
9420
9416
|
}
|
|
9421
9417
|
else {
|
|
9422
|
-
|
|
9418
|
+
return __classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, __classPrivateFieldGet$4(this, _KupDataTable_rows, "f"));
|
|
9423
9419
|
}
|
|
9424
|
-
|
|
9420
|
+
}, _KupDataTable__getRow = function _KupDataTable__getRow(id, rows) {
|
|
9421
|
+
if (!rows || rows.length == 0) {
|
|
9422
|
+
return null;
|
|
9423
|
+
}
|
|
9424
|
+
if (typeof id === 'number') {
|
|
9425
|
+
return rows[id];
|
|
9426
|
+
}
|
|
9427
|
+
else {
|
|
9428
|
+
for (let i = 0; i < rows.length; i++) {
|
|
9429
|
+
let r = rows[i];
|
|
9430
|
+
if (r.id === id) {
|
|
9431
|
+
return r;
|
|
9432
|
+
}
|
|
9433
|
+
if (r.group) {
|
|
9434
|
+
r = __classPrivateFieldGet$4(this, _KupDataTable_instances, "m", _KupDataTable__getRow).call(this, id, r.group.children);
|
|
9435
|
+
if (r) {
|
|
9436
|
+
return r;
|
|
9437
|
+
}
|
|
9438
|
+
}
|
|
9439
|
+
}
|
|
9440
|
+
}
|
|
9441
|
+
return null;
|
|
9425
9442
|
}, _KupDataTable_getTransposedData = function _KupDataTable_getTransposedData(column) {
|
|
9426
9443
|
if (column) {
|
|
9427
9444
|
this.filters = {};
|
|
@@ -14671,7 +14688,7 @@ var KupProgressBarProps;
|
|
|
14671
14688
|
KupProgressBarProps["value"] = "The current value the progress bar must display.";
|
|
14672
14689
|
})(KupProgressBarProps || (KupProgressBarProps = {}));
|
|
14673
14690
|
|
|
14674
|
-
const kupProgressBarCss = ":host{
|
|
14691
|
+
const kupProgressBarCss = ":host{display:block;width:var(--kup-progressbar-width, 100%)}";
|
|
14675
14692
|
|
|
14676
14693
|
const KupProgressBar = class {
|
|
14677
14694
|
constructor(hostRef) {
|
|
@@ -14716,27 +14733,6 @@ const KupProgressBar = class {
|
|
|
14716
14733
|
kupManager.setProps(this, KupProgressBarProps, props);
|
|
14717
14734
|
}
|
|
14718
14735
|
/*-------------------------------------------------*/
|
|
14719
|
-
/* P r i v a t e M e t h o d s */
|
|
14720
|
-
/*-------------------------------------------------*/
|
|
14721
|
-
createIconElement() {
|
|
14722
|
-
if (!this.icon) {
|
|
14723
|
-
return undefined;
|
|
14724
|
-
}
|
|
14725
|
-
if (this.icon.indexOf('.') > -1 ||
|
|
14726
|
-
this.icon.indexOf('/') > -1 ||
|
|
14727
|
-
this.icon.indexOf('\\') > -1) {
|
|
14728
|
-
return (index.h("span", { class: "label kup-icon is-image" }, index.h("img", { src: this.icon })));
|
|
14729
|
-
}
|
|
14730
|
-
else {
|
|
14731
|
-
let svg = `url('${index.getAssetPath(`./assets/svg/${this.icon}.svg`)}') no-repeat center`;
|
|
14732
|
-
let iconStyle = {
|
|
14733
|
-
mask: svg,
|
|
14734
|
-
webkitMask: svg,
|
|
14735
|
-
};
|
|
14736
|
-
return index.h("span", { style: iconStyle, class: "label kup-icon" });
|
|
14737
|
-
}
|
|
14738
|
-
}
|
|
14739
|
-
/*-------------------------------------------------*/
|
|
14740
14736
|
/* L i f e c y c l e H o o k s */
|
|
14741
14737
|
/*-------------------------------------------------*/
|
|
14742
14738
|
componentWillLoad() {
|
|
@@ -14758,69 +14754,42 @@ const KupProgressBar = class {
|
|
|
14758
14754
|
this.kupManager.debug.logRender(this, true);
|
|
14759
14755
|
}
|
|
14760
14756
|
render() {
|
|
14761
|
-
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14757
|
+
const props = {
|
|
14758
|
+
animated: this.rootElement.classList.contains('kup-animated')
|
|
14759
|
+
? true
|
|
14760
|
+
: false,
|
|
14761
|
+
danger: this.rootElement.classList.contains('kup-danger')
|
|
14762
|
+
? true
|
|
14763
|
+
: false,
|
|
14764
|
+
centeredLabel: this.centeredLabel,
|
|
14765
|
+
hideLabel: this.hideLabel,
|
|
14766
|
+
icon: this.icon,
|
|
14767
|
+
info: this.rootElement.classList.contains('kup-info')
|
|
14768
|
+
? true
|
|
14769
|
+
: false,
|
|
14770
|
+
isRadial: this.isRadial,
|
|
14771
|
+
label: this.label,
|
|
14772
|
+
padded: this.rootElement.classList.contains('kup-padded')
|
|
14773
|
+
? true
|
|
14774
|
+
: false,
|
|
14775
|
+
secondary: this.rootElement.classList.contains('kup-secondary')
|
|
14776
|
+
? true
|
|
14777
|
+
: false,
|
|
14778
|
+
slim: this.rootElement.classList.contains('kup-slim')
|
|
14779
|
+
? true
|
|
14780
|
+
: false,
|
|
14781
|
+
striped: this.rootElement.classList.contains('kup-striped')
|
|
14782
|
+
? true
|
|
14783
|
+
: false,
|
|
14784
|
+
success: this.rootElement.classList.contains('kup-success')
|
|
14785
|
+
? true
|
|
14786
|
+
: false,
|
|
14787
|
+
value: this.value,
|
|
14788
|
+
warning: this.rootElement.classList.contains('kup-warning')
|
|
14789
|
+
? true
|
|
14790
|
+
: false,
|
|
14773
14791
|
};
|
|
14774
|
-
|
|
14775
|
-
labelStyle = valueStyle;
|
|
14776
|
-
if (this.value > 2) {
|
|
14777
|
-
componentClass += ' text-color-on-primary';
|
|
14778
|
-
}
|
|
14779
|
-
}
|
|
14780
|
-
else if (this.value > 49) {
|
|
14781
|
-
componentClass += ' text-color-on-primary';
|
|
14782
|
-
}
|
|
14783
|
-
let label = null;
|
|
14784
|
-
if (this.icon) {
|
|
14785
|
-
label = this.createIconElement();
|
|
14786
|
-
}
|
|
14787
|
-
else {
|
|
14788
|
-
if (!this.hideLabel) {
|
|
14789
|
-
if (this.isRadial) {
|
|
14790
|
-
if (this.label) {
|
|
14791
|
-
label = index.h("span", { class: "label" }, this.label);
|
|
14792
|
-
}
|
|
14793
|
-
else {
|
|
14794
|
-
label = (index.h("span", { class: "label" }, this.value, index.h("span", { class: "smaller" }, "%")));
|
|
14795
|
-
}
|
|
14796
|
-
}
|
|
14797
|
-
else {
|
|
14798
|
-
if (this.label) {
|
|
14799
|
-
label = this.label;
|
|
14800
|
-
}
|
|
14801
|
-
else {
|
|
14802
|
-
label = this.value + '%';
|
|
14803
|
-
}
|
|
14804
|
-
}
|
|
14805
|
-
}
|
|
14806
|
-
}
|
|
14807
|
-
if (this.value > 0) {
|
|
14808
|
-
pieClass += ' has-value';
|
|
14809
|
-
if (this.value > 50) {
|
|
14810
|
-
pieClass += ' is-more-than-half';
|
|
14811
|
-
}
|
|
14812
|
-
else {
|
|
14813
|
-
pieClass += ' is-less-than-half';
|
|
14814
|
-
}
|
|
14815
|
-
}
|
|
14816
|
-
let el;
|
|
14817
|
-
if (this.isRadial) {
|
|
14818
|
-
el = (index.h("div", { class: componentClass }, label, index.h("div", { class: pieClass }, index.h("div", { style: radialStyle, class: "left-side half-circle" }), index.h("div", { class: "right-side half-circle" })), index.h("div", { class: "shadow" })));
|
|
14819
|
-
}
|
|
14820
|
-
else {
|
|
14821
|
-
el = (index.h("div", { class: componentClass }, index.h("div", { class: "progress-bar-percentage", style: valueStyle }, index.h("span", { style: labelStyle }, label))));
|
|
14822
|
-
}
|
|
14823
|
-
return (index.h(index.Host, null, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, el)));
|
|
14792
|
+
return (index.h(index.Host, null, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h(fCell.FProgressBar, Object.assign({}, props)))));
|
|
14824
14793
|
}
|
|
14825
14794
|
disconnectedCallback() {
|
|
14826
14795
|
this.kupManager.theme.unregister(this);
|
|
@@ -14842,7 +14811,7 @@ var KupRadioProps;
|
|
|
14842
14811
|
KupRadioProps["leadingLabel"] = "Defaults at false. When set to true, the label will be on the left of the component.";
|
|
14843
14812
|
})(KupRadioProps || (KupRadioProps = {}));
|
|
14844
14813
|
|
|
14845
|
-
const kupRadioCss = ":host{
|
|
14814
|
+
const kupRadioCss = ":host{display:block}";
|
|
14846
14815
|
|
|
14847
14816
|
const KupRadio = class {
|
|
14848
14817
|
constructor(hostRef) {
|
|
@@ -14886,6 +14855,7 @@ const KupRadio = class {
|
|
|
14886
14855
|
id: this.rootElement.id,
|
|
14887
14856
|
value: this.value,
|
|
14888
14857
|
});
|
|
14858
|
+
this.refresh();
|
|
14889
14859
|
}
|
|
14890
14860
|
onKupFocus() {
|
|
14891
14861
|
this.kupFocus.emit({
|
|
@@ -14937,28 +14907,31 @@ const KupRadio = class {
|
|
|
14937
14907
|
if (!this.data || this.data.length === 0) {
|
|
14938
14908
|
return;
|
|
14939
14909
|
}
|
|
14940
|
-
const
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
|
|
14944
|
-
|
|
14945
|
-
|
|
14946
|
-
|
|
14947
|
-
|
|
14948
|
-
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
|
|
14952
|
-
|
|
14953
|
-
|
|
14954
|
-
|
|
14955
|
-
|
|
14956
|
-
|
|
14957
|
-
|
|
14958
|
-
|
|
14959
|
-
|
|
14910
|
+
const props = {
|
|
14911
|
+
columns: this.columns,
|
|
14912
|
+
danger: this.rootElement.classList.contains('kup-danger')
|
|
14913
|
+
? true
|
|
14914
|
+
: false,
|
|
14915
|
+
data: this.data,
|
|
14916
|
+
disabled: this.disabled,
|
|
14917
|
+
info: this.rootElement.classList.contains('kup-info')
|
|
14918
|
+
? true
|
|
14919
|
+
: false,
|
|
14920
|
+
leadingLabel: this.leadingLabel,
|
|
14921
|
+
secondary: this.rootElement.classList.contains('kup-secondary')
|
|
14922
|
+
? true
|
|
14923
|
+
: false,
|
|
14924
|
+
success: this.rootElement.classList.contains('kup-success')
|
|
14925
|
+
? true
|
|
14926
|
+
: false,
|
|
14927
|
+
warning: this.rootElement.classList.contains('kup-warning')
|
|
14928
|
+
? true
|
|
14929
|
+
: false,
|
|
14930
|
+
onBlur: () => this.onKupBlur(),
|
|
14931
|
+
onChange: (i) => this.onKupChange(i),
|
|
14932
|
+
onFocus: () => this.onKupFocus(),
|
|
14960
14933
|
};
|
|
14961
|
-
return (index.h(index.Host,
|
|
14934
|
+
return (index.h(index.Host, null, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h(fCell.FRadio, Object.assign({}, props)))));
|
|
14962
14935
|
}
|
|
14963
14936
|
disconnectedCallback() {
|
|
14964
14937
|
this.kupManager.theme.unregister(this);
|
|
@@ -14979,12 +14952,12 @@ var KupRatingProps;
|
|
|
14979
14952
|
KupRatingProps["value"] = "Rated stars";
|
|
14980
14953
|
})(KupRatingProps || (KupRatingProps = {}));
|
|
14981
14954
|
|
|
14982
|
-
const kupRatingCss = ":host{
|
|
14955
|
+
const kupRatingCss = ":host{display:block}";
|
|
14983
14956
|
|
|
14984
14957
|
const KupRating = class {
|
|
14985
14958
|
constructor(hostRef) {
|
|
14986
14959
|
index.registerInstance(this, hostRef);
|
|
14987
|
-
this.
|
|
14960
|
+
this.kupClick = index.createEvent(this, "kup-rating-click", 6);
|
|
14988
14961
|
/*-------------------------------------------------*/
|
|
14989
14962
|
/* I n t e r n a l V a r i a b l e s */
|
|
14990
14963
|
/*-------------------------------------------------*/
|
|
@@ -14992,30 +14965,23 @@ const KupRating = class {
|
|
|
14992
14965
|
* Instance of the KupManager class.
|
|
14993
14966
|
*/
|
|
14994
14967
|
this.kupManager = kupManager.kupManagerInstance();
|
|
14995
|
-
this.stars = [];
|
|
14996
14968
|
this.customStyle = '';
|
|
14997
14969
|
this.disabled = false;
|
|
14998
14970
|
this.maxValue = 5;
|
|
14999
14971
|
this.value = 0;
|
|
15000
14972
|
}
|
|
15001
|
-
|
|
14973
|
+
onKupClick(newValue) {
|
|
15002
14974
|
if (!this.disabled) {
|
|
15003
14975
|
this.value = newValue;
|
|
15004
|
-
this.
|
|
15005
|
-
this.kupRatingClick.emit({
|
|
14976
|
+
this.kupClick.emit({
|
|
15006
14977
|
comp: this,
|
|
15007
14978
|
id: this.rootElement.id,
|
|
15008
14979
|
value: this.value,
|
|
15009
14980
|
});
|
|
14981
|
+
this.refresh();
|
|
15010
14982
|
}
|
|
15011
14983
|
}
|
|
15012
14984
|
/*-------------------------------------------------*/
|
|
15013
|
-
/* W a t c h e r s */
|
|
15014
|
-
/*-------------------------------------------------*/
|
|
15015
|
-
onValueChanged() {
|
|
15016
|
-
this.buildStars(this.value);
|
|
15017
|
-
}
|
|
15018
|
-
/*-------------------------------------------------*/
|
|
15019
14985
|
/* P u b l i c M e t h o d s */
|
|
15020
14986
|
/*-------------------------------------------------*/
|
|
15021
14987
|
/**
|
|
@@ -15040,37 +15006,11 @@ const KupRating = class {
|
|
|
15040
15006
|
kupManager.setProps(this, KupRatingProps, props);
|
|
15041
15007
|
}
|
|
15042
15008
|
/*-------------------------------------------------*/
|
|
15043
|
-
/* P r i v a t e M e t h o d s */
|
|
15044
|
-
/*-------------------------------------------------*/
|
|
15045
|
-
onMouseOver(newValue) {
|
|
15046
|
-
if (!this.disabled) {
|
|
15047
|
-
this.buildStars(newValue);
|
|
15048
|
-
}
|
|
15049
|
-
}
|
|
15050
|
-
onMouseOut() {
|
|
15051
|
-
if (!this.disabled) {
|
|
15052
|
-
this.buildStars(this.value);
|
|
15053
|
-
}
|
|
15054
|
-
}
|
|
15055
|
-
buildStars(numberOfStars) {
|
|
15056
|
-
let stars = [];
|
|
15057
|
-
for (let i = 1; i <= this.maxValue; i++) {
|
|
15058
|
-
if (i <= numberOfStars) {
|
|
15059
|
-
stars.push(index.h("span", { class: "rating", onMouseOver: () => this.onMouseOver(i), onMouseOut: () => this.onMouseOut(), onClick: () => this.onStarClick(i) }, "\u2605"));
|
|
15060
|
-
}
|
|
15061
|
-
else {
|
|
15062
|
-
stars.push(index.h("span", { class: "rating", onMouseOver: () => this.onMouseOver(i), onMouseOut: () => this.onMouseOut(), onClick: () => this.onStarClick(i) }, "\u2606"));
|
|
15063
|
-
}
|
|
15064
|
-
}
|
|
15065
|
-
this.stars = stars;
|
|
15066
|
-
}
|
|
15067
|
-
/*-------------------------------------------------*/
|
|
15068
15009
|
/* L i f e c y c l e H o o k s */
|
|
15069
15010
|
/*-------------------------------------------------*/
|
|
15070
15011
|
componentWillLoad() {
|
|
15071
15012
|
this.kupManager.debug.logLoad(this, false);
|
|
15072
15013
|
this.kupManager.theme.register(this);
|
|
15073
|
-
this.onValueChanged();
|
|
15074
15014
|
}
|
|
15075
15015
|
componentDidLoad() {
|
|
15076
15016
|
this.kupManager.debug.logLoad(this, true);
|
|
@@ -15082,16 +15022,33 @@ const KupRating = class {
|
|
|
15082
15022
|
this.kupManager.debug.logRender(this, true);
|
|
15083
15023
|
}
|
|
15084
15024
|
render() {
|
|
15085
|
-
|
|
15025
|
+
const props = {
|
|
15026
|
+
danger: this.rootElement.classList.contains('kup-danger')
|
|
15027
|
+
? true
|
|
15028
|
+
: false,
|
|
15029
|
+
disabled: this.disabled,
|
|
15030
|
+
info: this.rootElement.classList.contains('kup-info')
|
|
15031
|
+
? true
|
|
15032
|
+
: false,
|
|
15033
|
+
maxValue: this.maxValue,
|
|
15034
|
+
secondary: this.rootElement.classList.contains('kup-secondary')
|
|
15035
|
+
? true
|
|
15036
|
+
: false,
|
|
15037
|
+
success: this.rootElement.classList.contains('kup-success')
|
|
15038
|
+
? true
|
|
15039
|
+
: false,
|
|
15040
|
+
value: this.value,
|
|
15041
|
+
warning: this.rootElement.classList.contains('kup-warning')
|
|
15042
|
+
? true
|
|
15043
|
+
: false,
|
|
15044
|
+
onClick: (i) => this.onKupClick(i),
|
|
15045
|
+
};
|
|
15046
|
+
return (index.h(index.Host, null, index.h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h(fCell.FRating, Object.assign({}, props)))));
|
|
15086
15047
|
}
|
|
15087
15048
|
disconnectedCallback() {
|
|
15088
15049
|
this.kupManager.theme.unregister(this);
|
|
15089
15050
|
}
|
|
15090
15051
|
get rootElement() { return index.getElement(this); }
|
|
15091
|
-
static get watchers() { return {
|
|
15092
|
-
"value": ["onValueChanged"],
|
|
15093
|
-
"maxValue": ["onValueChanged"]
|
|
15094
|
-
}; }
|
|
15095
15052
|
};
|
|
15096
15053
|
KupRating.style = kupRatingCss;
|
|
15097
15054
|
|