@sme.up/ketchup 9.5.0 → 9.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-button-033ed6d4.js → f-button-357a3dff.js} +1 -1
- package/dist/cjs/{f-cell-ef276797.js → f-cell-1de0ea69.js} +5 -5
- package/dist/cjs/{f-chip-d4e26a2b.js → f-chip-bd5882a0.js} +2 -2
- package/dist/cjs/{f-image-33be7baf.js → f-image-30531fd0.js} +1 -1
- package/dist/cjs/{f-paginator-utils-5a18cc19.js → f-paginator-utils-ad8a4635.js} +2 -2
- package/dist/cjs/{f-text-field-f03e97f8.js → f-text-field-be758970.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +125 -20
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-f90f1b6d.js → kup-manager-cefb1999.js} +492 -365
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/card.js +46 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/kup-card/built-in/kup-card-built-in.js +9 -0
- package/dist/collection/components/kup-card/built-in/kup-card-openai.js +74 -0
- package/dist/collection/components/kup-card/kup-card-declarations.js +1 -0
- package/dist/collection/components/kup-card/kup-card.css +86 -0
- package/dist/collection/components/kup-card/kup-card.js +6 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +2 -3
- package/dist/collection/components/kup-dialog/kup-dialog.css +3 -3
- package/dist/collection/components/kup-dialog/kup-dialog.js +19 -5
- package/dist/collection/managers/kup-manager/kup-manager.js +6 -123
- package/dist/collection/managers/kup-openai/kup-openai-declarations.js +1 -0
- package/dist/collection/managers/kup-openai/kup-openai.js +247 -0
- package/dist/components/kup-autocomplete2.js +776 -546
- package/dist/components/kup-manager.js +492 -365
- package/dist/esm/{f-button-ccde4447.js → f-button-856a189a.js} +1 -1
- package/dist/esm/{f-cell-2ad41d52.js → f-cell-6324d838.js} +5 -5
- package/dist/esm/{f-chip-3df1c255.js → f-chip-e15fba8a.js} +2 -2
- package/dist/esm/{f-image-5434b351.js → f-image-26b1bc14.js} +1 -1
- package/dist/esm/{f-paginator-utils-b90cdd2b.js → f-paginator-utils-e8f62783.js} +2 -2
- package/dist/esm/{f-text-field-f0b81f8b.js → f-text-field-bbe1f236.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-autocomplete_27.entry.js +125 -20
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-e33d8d8c.js → kup-manager-8d1df189.js} +492 -365
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-f81d7218.entry.js → p-07bed934.entry.js} +1 -1
- package/dist/ketchup/{p-5b3d8636.entry.js → p-0c124f99.entry.js} +1 -1
- package/dist/ketchup/{p-58798e2d.entry.js → p-0f6cb6e4.entry.js} +1 -1
- package/dist/ketchup/p-177f8008.entry.js +9 -0
- package/dist/ketchup/{p-f0e4e190.js → p-269a9af8.js} +1 -1
- package/dist/ketchup/p-2ab02da0.entry.js +1 -0
- package/dist/ketchup/{p-1a594e06.entry.js → p-3f028a71.entry.js} +1 -1
- package/dist/ketchup/{p-6a8fcb02.entry.js → p-4a18db68.entry.js} +1 -1
- package/dist/ketchup/{p-01aaf3e4.entry.js → p-4eb6d4e8.entry.js} +1 -1
- package/dist/ketchup/{p-eea1ee1b.js → p-63031c77.js} +1 -1
- package/dist/ketchup/{p-4725191c.entry.js → p-753f30d8.entry.js} +1 -1
- package/dist/ketchup/{p-a5229d3d.entry.js → p-8042dcd5.entry.js} +1 -1
- package/dist/ketchup/{p-1dbfcab5.entry.js → p-81c1d557.entry.js} +1 -1
- package/dist/ketchup/p-937a322f.js +29 -0
- package/dist/ketchup/{p-4afe8662.js → p-9ba8f169.js} +1 -1
- package/dist/ketchup/{p-645d881d.entry.js → p-a2d3aec9.entry.js} +1 -1
- package/dist/ketchup/{p-2940b559.entry.js → p-b115e1ec.entry.js} +1 -1
- package/dist/ketchup/{p-11e7be94.js → p-b396d0f8.js} +1 -1
- package/dist/ketchup/{p-7e5d8532.entry.js → p-c12a9759.entry.js} +1 -1
- package/dist/ketchup/{p-190d0bc5.entry.js → p-cadeb53d.entry.js} +1 -1
- package/dist/ketchup/{p-9df95b9f.js → p-caeed3c3.js} +1 -1
- package/dist/ketchup/{p-b104afb6.entry.js → p-d300948a.entry.js} +1 -1
- package/dist/ketchup/{p-95b31ede.js → p-d76cd8d6.js} +1 -1
- package/dist/ketchup/{p-b857aab2.entry.js → p-d9a1e5a4.entry.js} +1 -1
- package/dist/ketchup/{p-788da2d9.entry.js → p-dc370227.entry.js} +1 -1
- package/dist/ketchup/{p-5fa089cd.entry.js → p-f1cae1e1.entry.js} +1 -1
- package/dist/ketchup/{p-269a1dfe.entry.js → p-f417e794.entry.js} +1 -1
- package/dist/ketchup/{p-c0c65349.entry.js → p-f753c13f.entry.js} +1 -1
- package/dist/ketchup/{p-ddd25869.entry.js → p-f7980061.entry.js} +1 -1
- package/dist/types/components/kup-card/built-in/kup-card-built-in.d.ts +6 -0
- package/dist/types/components/kup-card/built-in/kup-card-openai.d.ts +3 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +20 -1
- package/dist/types/components.d.ts +0 -86
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +2 -14
- package/dist/types/managers/kup-manager/kup-manager.d.ts +3 -17
- package/dist/types/managers/kup-openai/kup-openai-declarations.d.ts +4 -0
- package/dist/types/managers/kup-openai/kup-openai.d.ts +29 -0
- package/package.json +1 -1
- package/dist/cjs/kup-openai-interface.cjs.entry.js +0 -146
- package/dist/collection/components/kup-openai-interface/kup-openai-interface-declarations.js +0 -11
- package/dist/collection/components/kup-openai-interface/kup-openai-interface.css +0 -64
- package/dist/collection/components/kup-openai-interface/kup-openai-interface.js +0 -340
- package/dist/components/kup-openai-interface.d.ts +0 -11
- package/dist/components/kup-openai-interface.js +0 -301
- package/dist/esm/kup-openai-interface.entry.js +0 -142
- package/dist/ketchup/p-23e4caa1.entry.js +0 -9
- package/dist/ketchup/p-2681d3a2.entry.js +0 -1
- package/dist/ketchup/p-39ba3355.js +0 -29
- package/dist/ketchup/p-6f108540.entry.js +0 -1
- package/dist/types/components/kup-openai-interface/kup-openai-interface-declarations.d.ts +0 -10
- package/dist/types/components/kup-openai-interface/kup-openai-interface.d.ts +0 -59
|
@@ -5351,7 +5351,7 @@ function create6$4(component) {
|
|
|
5351
5351
|
* @param {KupCard} component - Card component.
|
|
5352
5352
|
* @returns {VNode} 7th box layout virtual node.
|
|
5353
5353
|
*/
|
|
5354
|
-
function create7$
|
|
5354
|
+
function create7$4(component) {
|
|
5355
5355
|
return create5$4(component);
|
|
5356
5356
|
}
|
|
5357
5357
|
/**
|
|
@@ -5371,7 +5371,7 @@ const boxLayouts = /*#__PURE__*/Object.freeze({
|
|
|
5371
5371
|
create4: create4$4,
|
|
5372
5372
|
create5: create5$4,
|
|
5373
5373
|
create6: create6$4,
|
|
5374
|
-
create7: create7$
|
|
5374
|
+
create7: create7$4,
|
|
5375
5375
|
create8: create8$2
|
|
5376
5376
|
});
|
|
5377
5377
|
|
|
@@ -6438,6 +6438,84 @@ function saveValue(component) {
|
|
|
6438
6438
|
component.onKupClick(component.rootElement.id, el.kupData.value ? Number(el.kupData.value).toString() : '');
|
|
6439
6439
|
}
|
|
6440
6440
|
|
|
6441
|
+
let inputArea = null;
|
|
6442
|
+
let clearButton = null;
|
|
6443
|
+
let submitButton = null;
|
|
6444
|
+
function prepareOpenAIInterface(component) {
|
|
6445
|
+
const options = component.data.options;
|
|
6446
|
+
const clear = () => {
|
|
6447
|
+
inputArea.setValue('');
|
|
6448
|
+
};
|
|
6449
|
+
const disableInteractivity = (status) => {
|
|
6450
|
+
clearButton.disabled = status;
|
|
6451
|
+
inputArea.disabled = status;
|
|
6452
|
+
submitButton.showSpinner = status;
|
|
6453
|
+
};
|
|
6454
|
+
const submitCb = async () => {
|
|
6455
|
+
if (options.submitCb) {
|
|
6456
|
+
options.submitCb(disableInteractivity, inputArea);
|
|
6457
|
+
}
|
|
6458
|
+
};
|
|
6459
|
+
const authJsx = () => {
|
|
6460
|
+
return [
|
|
6461
|
+
h("div", { class: "title" }, "Authentication"),
|
|
6462
|
+
h("kup-text-field", { class: "password", label: "Password", icon: "key-variant", inputType: "password", helperEnabled: true, "onKup-textfield-iconclick": options.authCb, "onKup-textfield-submit": options.authCb }),
|
|
6463
|
+
];
|
|
6464
|
+
};
|
|
6465
|
+
const connectingJsx = () => {
|
|
6466
|
+
return [
|
|
6467
|
+
h("div", { class: "spinner" },
|
|
6468
|
+
h("kup-spinner", { active: true, layout: 6, dimensions: "7px" })),
|
|
6469
|
+
h("div", { class: "title" }, "Just a moment."),
|
|
6470
|
+
h("div", { class: "text" }, "We're connecting you to your AI assistant..."),
|
|
6471
|
+
];
|
|
6472
|
+
};
|
|
6473
|
+
const errorJsx = () => {
|
|
6474
|
+
return [
|
|
6475
|
+
h(FImage, { resource: "hotel", sizeX: "4em", sizeY: "4em" }),
|
|
6476
|
+
h("div", { class: "title" }, "Zzz..."),
|
|
6477
|
+
h("div", { class: "text" }, "Your AI assistant is currently offline!"),
|
|
6478
|
+
];
|
|
6479
|
+
};
|
|
6480
|
+
const readyJsx = () => {
|
|
6481
|
+
const genChat = () => {
|
|
6482
|
+
const nodes = [];
|
|
6483
|
+
if (options.messages && options.messages.length > 0) {
|
|
6484
|
+
options.messages.forEach((m) => {
|
|
6485
|
+
nodes.push(h("div", { class: "message-container" },
|
|
6486
|
+
h("div", { class: m.type }, m.text),
|
|
6487
|
+
h(FButton, { icon: "content-copy", onClick: () => {
|
|
6488
|
+
navigator.clipboard.writeText(m.text);
|
|
6489
|
+
}, title: "Copy text to clipboard.", wrapperClass: "copy" })));
|
|
6490
|
+
});
|
|
6491
|
+
}
|
|
6492
|
+
else {
|
|
6493
|
+
nodes.push(h("div", { class: "empty" }, "Your chat history is empty!"));
|
|
6494
|
+
}
|
|
6495
|
+
return nodes;
|
|
6496
|
+
};
|
|
6497
|
+
return [
|
|
6498
|
+
h("div", { class: "query-area" },
|
|
6499
|
+
h("kup-text-field", { label: "Ask me something!", textArea: true, ref: (el) => (inputArea = el) }),
|
|
6500
|
+
h("div", { class: "buttons" },
|
|
6501
|
+
h("kup-button", { icon: "clear", label: "Clear", "onKup-button-click": () => clear(), styling: FButtonStyling.FLAT, ref: (el) => (clearButton = el) }),
|
|
6502
|
+
h("kup-button", { icon: "open-ai", label: "Submit", "onKup-button-click": () => submitCb(), ref: (el) => (submitButton = el) },
|
|
6503
|
+
h("kup-spinner", { active: true, dimensions: "0.6em", slot: "spinner" })))),
|
|
6504
|
+
h("div", { class: `chat-area ${KupCardCSSClasses.AUTOSCROLL}` }, genChat()),
|
|
6505
|
+
];
|
|
6506
|
+
};
|
|
6507
|
+
if (submitButton) {
|
|
6508
|
+
disableInteractivity(false);
|
|
6509
|
+
}
|
|
6510
|
+
return (h("div", { class: `wrapper ${options.state}` }, options.state === 'authentication'
|
|
6511
|
+
? authJsx()
|
|
6512
|
+
: options.state === 'ready'
|
|
6513
|
+
? readyJsx()
|
|
6514
|
+
: options.state === 'connecting'
|
|
6515
|
+
? connectingJsx()
|
|
6516
|
+
: errorJsx()));
|
|
6517
|
+
}
|
|
6518
|
+
|
|
6441
6519
|
/**
|
|
6442
6520
|
* 1st built-in layout, calendar view.
|
|
6443
6521
|
* @param {KupCard} component - Card component.
|
|
@@ -6487,6 +6565,14 @@ function create5$3(component) {
|
|
|
6487
6565
|
function create6$3(component) {
|
|
6488
6566
|
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }, prepareMessageBox(component)));
|
|
6489
6567
|
}
|
|
6568
|
+
/**
|
|
6569
|
+
* 7th built-in layout, Open AI interface.
|
|
6570
|
+
* @param {KupCard} component - Card component.
|
|
6571
|
+
* @returns {VNode} 7th built-in layout virtual node.
|
|
6572
|
+
*/
|
|
6573
|
+
function create7$3(component) {
|
|
6574
|
+
return (h("div", { class: `built-in-layout-${component.layoutNumber} ${KupCardCSSClasses.BUILT_IN_CARD}` }, prepareOpenAIInterface(component)));
|
|
6575
|
+
}
|
|
6490
6576
|
|
|
6491
6577
|
const builtInLayouts = /*#__PURE__*/Object.freeze({
|
|
6492
6578
|
__proto__: null,
|
|
@@ -6495,7 +6581,8 @@ const builtInLayouts = /*#__PURE__*/Object.freeze({
|
|
|
6495
6581
|
create3: create3$3,
|
|
6496
6582
|
create4: create4$3,
|
|
6497
6583
|
create5: create5$3,
|
|
6498
|
-
create6: create6$3
|
|
6584
|
+
create6: create6$3,
|
|
6585
|
+
create7: create7$3
|
|
6499
6586
|
});
|
|
6500
6587
|
|
|
6501
6588
|
/**
|
|
@@ -11735,6 +11822,21 @@ function rowsPerPageChange(rowsNumber, max) {
|
|
|
11735
11822
|
return null;
|
|
11736
11823
|
}
|
|
11737
11824
|
|
|
11825
|
+
/**
|
|
11826
|
+
* Props of the kup-dialog component.
|
|
11827
|
+
* Used to export every prop in an object.
|
|
11828
|
+
*/
|
|
11829
|
+
var KupDialogProps;
|
|
11830
|
+
(function (KupDialogProps) {
|
|
11831
|
+
KupDialogProps["autoCenter"] = "Auto centers the dialog relatively to the viewport.";
|
|
11832
|
+
KupDialogProps["customStyle"] = "Custom style of the component.";
|
|
11833
|
+
KupDialogProps["header"] = "Header options.";
|
|
11834
|
+
KupDialogProps["modal"] = "Set of options to display the dialog as a modal.";
|
|
11835
|
+
KupDialogProps["resizable"] = "Sets whether the dialog is resizable or not.";
|
|
11836
|
+
KupDialogProps["sizeX"] = "The width of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vw, etc.).";
|
|
11837
|
+
KupDialogProps["sizeY"] = "The height of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vh, etc.).";
|
|
11838
|
+
})(KupDialogProps || (KupDialogProps = {}));
|
|
11839
|
+
|
|
11738
11840
|
/**
|
|
11739
11841
|
* Props of the kup-dropdown-button component.
|
|
11740
11842
|
* Used to export every prop in an object.
|
|
@@ -14355,7 +14457,7 @@ function defineCustomElement$q() {
|
|
|
14355
14457
|
if (typeof customElements === "undefined") {
|
|
14356
14458
|
return;
|
|
14357
14459
|
}
|
|
14358
|
-
const components = ["kup-tree", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
14460
|
+
const components = ["kup-tree", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
14359
14461
|
components.forEach(tagName => { switch (tagName) {
|
|
14360
14462
|
case "kup-tree":
|
|
14361
14463
|
if (!customElements.get(tagName)) {
|
|
@@ -14418,6 +14520,11 @@ function defineCustomElement$q() {
|
|
|
14418
14520
|
}
|
|
14419
14521
|
break;
|
|
14420
14522
|
case "kup-date-picker":
|
|
14523
|
+
if (!customElements.get(tagName)) {
|
|
14524
|
+
defineCustomElement$c();
|
|
14525
|
+
}
|
|
14526
|
+
break;
|
|
14527
|
+
case "kup-dialog":
|
|
14421
14528
|
if (!customElements.get(tagName)) {
|
|
14422
14529
|
defineCustomElement$d();
|
|
14423
14530
|
}
|
|
@@ -14634,7 +14741,7 @@ function defineCustomElement$p() {
|
|
|
14634
14741
|
if (typeof customElements === "undefined") {
|
|
14635
14742
|
return;
|
|
14636
14743
|
}
|
|
14637
|
-
const components = ["kup-radio", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
14744
|
+
const components = ["kup-radio", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
14638
14745
|
components.forEach(tagName => { switch (tagName) {
|
|
14639
14746
|
case "kup-radio":
|
|
14640
14747
|
if (!customElements.get(tagName)) {
|
|
@@ -14697,6 +14804,11 @@ function defineCustomElement$p() {
|
|
|
14697
14804
|
}
|
|
14698
14805
|
break;
|
|
14699
14806
|
case "kup-date-picker":
|
|
14807
|
+
if (!customElements.get(tagName)) {
|
|
14808
|
+
defineCustomElement$c();
|
|
14809
|
+
}
|
|
14810
|
+
break;
|
|
14811
|
+
case "kup-dialog":
|
|
14700
14812
|
if (!customElements.get(tagName)) {
|
|
14701
14813
|
defineCustomElement$d();
|
|
14702
14814
|
}
|
|
@@ -15210,7 +15322,7 @@ function defineCustomElement$o() {
|
|
|
15210
15322
|
if (typeof customElements === "undefined") {
|
|
15211
15323
|
return;
|
|
15212
15324
|
}
|
|
15213
|
-
const components = ["kup-time-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
15325
|
+
const components = ["kup-time-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
15214
15326
|
components.forEach(tagName => { switch (tagName) {
|
|
15215
15327
|
case "kup-time-picker":
|
|
15216
15328
|
if (!customElements.get(tagName)) {
|
|
@@ -15273,6 +15385,11 @@ function defineCustomElement$o() {
|
|
|
15273
15385
|
}
|
|
15274
15386
|
break;
|
|
15275
15387
|
case "kup-date-picker":
|
|
15388
|
+
if (!customElements.get(tagName)) {
|
|
15389
|
+
defineCustomElement$c();
|
|
15390
|
+
}
|
|
15391
|
+
break;
|
|
15392
|
+
case "kup-dialog":
|
|
15276
15393
|
if (!customElements.get(tagName)) {
|
|
15277
15394
|
defineCustomElement$d();
|
|
15278
15395
|
}
|
|
@@ -15676,7 +15793,7 @@ function defineCustomElement$n() {
|
|
|
15676
15793
|
if (typeof customElements === "undefined") {
|
|
15677
15794
|
return;
|
|
15678
15795
|
}
|
|
15679
|
-
const components = ["kup-text-field", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
15796
|
+
const components = ["kup-text-field", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
15680
15797
|
components.forEach(tagName => { switch (tagName) {
|
|
15681
15798
|
case "kup-text-field":
|
|
15682
15799
|
if (!customElements.get(tagName)) {
|
|
@@ -15739,6 +15856,11 @@ function defineCustomElement$n() {
|
|
|
15739
15856
|
}
|
|
15740
15857
|
break;
|
|
15741
15858
|
case "kup-date-picker":
|
|
15859
|
+
if (!customElements.get(tagName)) {
|
|
15860
|
+
defineCustomElement$c();
|
|
15861
|
+
}
|
|
15862
|
+
break;
|
|
15863
|
+
case "kup-dialog":
|
|
15742
15864
|
if (!customElements.get(tagName)) {
|
|
15743
15865
|
defineCustomElement$d();
|
|
15744
15866
|
}
|
|
@@ -16004,7 +16126,7 @@ function defineCustomElement$m() {
|
|
|
16004
16126
|
if (typeof customElements === "undefined") {
|
|
16005
16127
|
return;
|
|
16006
16128
|
}
|
|
16007
|
-
const components = ["kup-tab-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16129
|
+
const components = ["kup-tab-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16008
16130
|
components.forEach(tagName => { switch (tagName) {
|
|
16009
16131
|
case "kup-tab-bar":
|
|
16010
16132
|
if (!customElements.get(tagName)) {
|
|
@@ -16067,6 +16189,11 @@ function defineCustomElement$m() {
|
|
|
16067
16189
|
}
|
|
16068
16190
|
break;
|
|
16069
16191
|
case "kup-date-picker":
|
|
16192
|
+
if (!customElements.get(tagName)) {
|
|
16193
|
+
defineCustomElement$c();
|
|
16194
|
+
}
|
|
16195
|
+
break;
|
|
16196
|
+
case "kup-dialog":
|
|
16070
16197
|
if (!customElements.get(tagName)) {
|
|
16071
16198
|
defineCustomElement$d();
|
|
16072
16199
|
}
|
|
@@ -16280,7 +16407,7 @@ function defineCustomElement$l() {
|
|
|
16280
16407
|
if (typeof customElements === "undefined") {
|
|
16281
16408
|
return;
|
|
16282
16409
|
}
|
|
16283
|
-
const components = ["kup-switch", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16410
|
+
const components = ["kup-switch", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16284
16411
|
components.forEach(tagName => { switch (tagName) {
|
|
16285
16412
|
case "kup-switch":
|
|
16286
16413
|
if (!customElements.get(tagName)) {
|
|
@@ -16343,6 +16470,11 @@ function defineCustomElement$l() {
|
|
|
16343
16470
|
}
|
|
16344
16471
|
break;
|
|
16345
16472
|
case "kup-date-picker":
|
|
16473
|
+
if (!customElements.get(tagName)) {
|
|
16474
|
+
defineCustomElement$c();
|
|
16475
|
+
}
|
|
16476
|
+
break;
|
|
16477
|
+
case "kup-dialog":
|
|
16346
16478
|
if (!customElements.get(tagName)) {
|
|
16347
16479
|
defineCustomElement$d();
|
|
16348
16480
|
}
|
|
@@ -16605,7 +16737,7 @@ function defineCustomElement$k() {
|
|
|
16605
16737
|
if (typeof customElements === "undefined") {
|
|
16606
16738
|
return;
|
|
16607
16739
|
}
|
|
16608
|
-
const components = ["kup-spinner", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16740
|
+
const components = ["kup-spinner", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16609
16741
|
components.forEach(tagName => { switch (tagName) {
|
|
16610
16742
|
case "kup-spinner":
|
|
16611
16743
|
if (!customElements.get(tagName)) {
|
|
@@ -16668,6 +16800,11 @@ function defineCustomElement$k() {
|
|
|
16668
16800
|
}
|
|
16669
16801
|
break;
|
|
16670
16802
|
case "kup-date-picker":
|
|
16803
|
+
if (!customElements.get(tagName)) {
|
|
16804
|
+
defineCustomElement$c();
|
|
16805
|
+
}
|
|
16806
|
+
break;
|
|
16807
|
+
case "kup-dialog":
|
|
16671
16808
|
if (!customElements.get(tagName)) {
|
|
16672
16809
|
defineCustomElement$d();
|
|
16673
16810
|
}
|
|
@@ -16848,7 +16985,7 @@ function defineCustomElement$j() {
|
|
|
16848
16985
|
if (typeof customElements === "undefined") {
|
|
16849
16986
|
return;
|
|
16850
16987
|
}
|
|
16851
|
-
const components = ["kup-rating", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16988
|
+
const components = ["kup-rating", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
16852
16989
|
components.forEach(tagName => { switch (tagName) {
|
|
16853
16990
|
case "kup-rating":
|
|
16854
16991
|
if (!customElements.get(tagName)) {
|
|
@@ -16911,6 +17048,11 @@ function defineCustomElement$j() {
|
|
|
16911
17048
|
}
|
|
16912
17049
|
break;
|
|
16913
17050
|
case "kup-date-picker":
|
|
17051
|
+
if (!customElements.get(tagName)) {
|
|
17052
|
+
defineCustomElement$c();
|
|
17053
|
+
}
|
|
17054
|
+
break;
|
|
17055
|
+
case "kup-dialog":
|
|
16914
17056
|
if (!customElements.get(tagName)) {
|
|
16915
17057
|
defineCustomElement$d();
|
|
16916
17058
|
}
|
|
@@ -17104,7 +17246,7 @@ function defineCustomElement$i() {
|
|
|
17104
17246
|
if (typeof customElements === "undefined") {
|
|
17105
17247
|
return;
|
|
17106
17248
|
}
|
|
17107
|
-
const components = ["kup-progress-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
17249
|
+
const components = ["kup-progress-bar", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
17108
17250
|
components.forEach(tagName => { switch (tagName) {
|
|
17109
17251
|
case "kup-progress-bar":
|
|
17110
17252
|
if (!customElements.get(tagName)) {
|
|
@@ -17167,6 +17309,11 @@ function defineCustomElement$i() {
|
|
|
17167
17309
|
}
|
|
17168
17310
|
break;
|
|
17169
17311
|
case "kup-date-picker":
|
|
17312
|
+
if (!customElements.get(tagName)) {
|
|
17313
|
+
defineCustomElement$c();
|
|
17314
|
+
}
|
|
17315
|
+
break;
|
|
17316
|
+
case "kup-dialog":
|
|
17170
17317
|
if (!customElements.get(tagName)) {
|
|
17171
17318
|
defineCustomElement$d();
|
|
17172
17319
|
}
|
|
@@ -17678,7 +17825,7 @@ function defineCustomElement$h() {
|
|
|
17678
17825
|
if (typeof customElements === "undefined") {
|
|
17679
17826
|
return;
|
|
17680
17827
|
}
|
|
17681
|
-
const components = ["kup-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
17828
|
+
const components = ["kup-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
17682
17829
|
components.forEach(tagName => { switch (tagName) {
|
|
17683
17830
|
case "kup-list":
|
|
17684
17831
|
if (!customElements.get(tagName)) {
|
|
@@ -17741,6 +17888,11 @@ function defineCustomElement$h() {
|
|
|
17741
17888
|
}
|
|
17742
17889
|
break;
|
|
17743
17890
|
case "kup-date-picker":
|
|
17891
|
+
if (!customElements.get(tagName)) {
|
|
17892
|
+
defineCustomElement$c();
|
|
17893
|
+
}
|
|
17894
|
+
break;
|
|
17895
|
+
case "kup-dialog":
|
|
17744
17896
|
if (!customElements.get(tagName)) {
|
|
17745
17897
|
defineCustomElement$d();
|
|
17746
17898
|
}
|
|
@@ -17982,7 +18134,7 @@ function defineCustomElement$g() {
|
|
|
17982
18134
|
if (typeof customElements === "undefined") {
|
|
17983
18135
|
return;
|
|
17984
18136
|
}
|
|
17985
|
-
const components = ["kup-image", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
18137
|
+
const components = ["kup-image", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
17986
18138
|
components.forEach(tagName => { switch (tagName) {
|
|
17987
18139
|
case "kup-image":
|
|
17988
18140
|
if (!customElements.get(tagName)) {
|
|
@@ -18045,6 +18197,11 @@ function defineCustomElement$g() {
|
|
|
18045
18197
|
}
|
|
18046
18198
|
break;
|
|
18047
18199
|
case "kup-date-picker":
|
|
18200
|
+
if (!customElements.get(tagName)) {
|
|
18201
|
+
defineCustomElement$c();
|
|
18202
|
+
}
|
|
18203
|
+
break;
|
|
18204
|
+
case "kup-dialog":
|
|
18048
18205
|
if (!customElements.get(tagName)) {
|
|
18049
18206
|
defineCustomElement$d();
|
|
18050
18207
|
}
|
|
@@ -18448,7 +18605,7 @@ function defineCustomElement$f() {
|
|
|
18448
18605
|
if (typeof customElements === "undefined") {
|
|
18449
18606
|
return;
|
|
18450
18607
|
}
|
|
18451
|
-
const components = ["kup-gauge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
18608
|
+
const components = ["kup-gauge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
18452
18609
|
components.forEach(tagName => { switch (tagName) {
|
|
18453
18610
|
case "kup-gauge":
|
|
18454
18611
|
if (!customElements.get(tagName)) {
|
|
@@ -18511,6 +18668,11 @@ function defineCustomElement$f() {
|
|
|
18511
18668
|
}
|
|
18512
18669
|
break;
|
|
18513
18670
|
case "kup-date-picker":
|
|
18671
|
+
if (!customElements.get(tagName)) {
|
|
18672
|
+
defineCustomElement$c();
|
|
18673
|
+
}
|
|
18674
|
+
break;
|
|
18675
|
+
case "kup-dialog":
|
|
18514
18676
|
if (!customElements.get(tagName)) {
|
|
18515
18677
|
defineCustomElement$d();
|
|
18516
18678
|
}
|
|
@@ -18901,7 +19063,7 @@ function defineCustomElement$e() {
|
|
|
18901
19063
|
if (typeof customElements === "undefined") {
|
|
18902
19064
|
return;
|
|
18903
19065
|
}
|
|
18904
|
-
const components = ["kup-dropdown-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
19066
|
+
const components = ["kup-dropdown-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
18905
19067
|
components.forEach(tagName => { switch (tagName) {
|
|
18906
19068
|
case "kup-dropdown-button":
|
|
18907
19069
|
if (!customElements.get(tagName)) {
|
|
@@ -18964,6 +19126,11 @@ function defineCustomElement$e() {
|
|
|
18964
19126
|
}
|
|
18965
19127
|
break;
|
|
18966
19128
|
case "kup-date-picker":
|
|
19129
|
+
if (!customElements.get(tagName)) {
|
|
19130
|
+
defineCustomElement$c();
|
|
19131
|
+
}
|
|
19132
|
+
break;
|
|
19133
|
+
case "kup-dialog":
|
|
18967
19134
|
if (!customElements.get(tagName)) {
|
|
18968
19135
|
defineCustomElement$d();
|
|
18969
19136
|
}
|
|
@@ -19036,417 +19203,184 @@ function defineCustomElement$e() {
|
|
|
19036
19203
|
} });
|
|
19037
19204
|
}
|
|
19038
19205
|
|
|
19039
|
-
const
|
|
19206
|
+
const kupDialogCss = ":host{--kup_dialog_header_height:var(--kup-dialog-header-height, 2em);box-sizing:border-box;display:block;height:var(--kup_dialog_height);left:var(--kup_dialog_left);min-height:var(--kup_dialog_height);min-width:var(--kup_dialog_width);position:absolute;top:var(--kup_dialog_top);transition:opacity 0.25s ease-in;width:var(--kup_dialog_width)}#kup-component{height:100%;width:100%}:host([fade-in]){opacity:0}:host([fade-in]) ::slotted{opacity:0}.header{background-color:var(--kup-title-background-color);color:var(--kup-title-color);display:flex;flex-direction:row;height:var(--kup_dialog_header_height);position:relative;width:100%}.header__title{font-weight:bold;line-height:2em;padding-left:0.5em;padding-right:2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header__close.f-image{--kup-icon-color:var(--kup-title-color);cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:0;background:var(--kup-title-background-color)}.header__close.f-image:hover{opacity:0.5}.content{height:calc(100% - var(--kup_dialog_header_height));overflow:auto;user-select:text}";
|
|
19040
19207
|
|
|
19041
|
-
|
|
19208
|
+
var __classPrivateFieldGet$4 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
19209
|
+
if (kind === "a" && !f)
|
|
19210
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
19211
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
19212
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
19213
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
19214
|
+
};
|
|
19215
|
+
var __classPrivateFieldSet$3 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
19216
|
+
if (kind === "m")
|
|
19217
|
+
throw new TypeError("Private method is not writable");
|
|
19218
|
+
if (kind === "a" && !f)
|
|
19219
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
19220
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
19221
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
19222
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
19223
|
+
};
|
|
19224
|
+
var _KupDialog_header, _KupDialog_kupManager, _KupDialog_recalcSafeguard;
|
|
19225
|
+
const KupDialog = /*@__PURE__*/ proxyCustomElement(class KupDialog extends HTMLElement$1 {
|
|
19042
19226
|
constructor() {
|
|
19043
19227
|
super();
|
|
19044
19228
|
this.__registerHost();
|
|
19045
19229
|
this.__attachShadow();
|
|
19046
|
-
this.
|
|
19047
|
-
this.
|
|
19048
|
-
this.kupClick = createEvent(this, "kup-datepicker-click", 6);
|
|
19049
|
-
this.kupFocus = createEvent(this, "kup-datepicker-focus", 6);
|
|
19050
|
-
this.kupInput = createEvent(this, "kup-datepicker-input", 6);
|
|
19051
|
-
this.kupIconClick = createEvent(this, "kup-datepicker-iconclick", 6);
|
|
19052
|
-
this.kupItemClick = createEvent(this, "kup-datepicker-itemclick", 6);
|
|
19053
|
-
this.kupTextFieldSubmit = createEvent(this, "kup-datepicker-textfieldsubmit", 6);
|
|
19054
|
-
this.kupClearIconClick = createEvent(this, "kup-datepicker-cleariconclick", 6);
|
|
19230
|
+
this.kupClose = createEvent(this, "kup-dialog-close", 6);
|
|
19231
|
+
this.kupReady = createEvent(this, "kup-dialog-ready", 6);
|
|
19055
19232
|
/*-------------------------------------------------*/
|
|
19056
19233
|
/* I n t e r n a l V a r i a b l e s */
|
|
19057
19234
|
/*-------------------------------------------------*/
|
|
19058
|
-
|
|
19059
|
-
|
|
19060
|
-
|
|
19061
|
-
this.
|
|
19062
|
-
this.textfieldEl = null;
|
|
19063
|
-
this.pickerContainerEl = null;
|
|
19064
|
-
this.pickerEl = {
|
|
19065
|
-
value: new Date().toISOString(),
|
|
19066
|
-
date: new Date(),
|
|
19067
|
-
};
|
|
19068
|
-
this.clickCb = null;
|
|
19069
|
-
this.stateSwitcher = false;
|
|
19070
|
-
this.value = '';
|
|
19235
|
+
_KupDialog_header.set(this, null);
|
|
19236
|
+
_KupDialog_kupManager.set(this, kupManagerInstance());
|
|
19237
|
+
_KupDialog_recalcSafeguard.set(this, 0);
|
|
19238
|
+
this.autoCenter = { onReady: true };
|
|
19071
19239
|
this.customStyle = '';
|
|
19072
|
-
this.
|
|
19073
|
-
this.
|
|
19074
|
-
this.
|
|
19075
|
-
this.
|
|
19076
|
-
|
|
19077
|
-
onKupDatePickerItemClick(value) {
|
|
19078
|
-
this.setPickerValueSelected(value);
|
|
19079
|
-
this.kupChange.emit({
|
|
19080
|
-
comp: this,
|
|
19081
|
-
id: this.rootElement.id,
|
|
19082
|
-
value: this.value,
|
|
19083
|
-
});
|
|
19084
|
-
this.kupItemClick.emit({
|
|
19085
|
-
comp: this,
|
|
19086
|
-
id: this.rootElement.id,
|
|
19087
|
-
value: this.value,
|
|
19088
|
-
});
|
|
19089
|
-
this.setFocus();
|
|
19240
|
+
this.header = { icons: { close: true } };
|
|
19241
|
+
this.modal = { closeOnBackdropClick: true };
|
|
19242
|
+
this.resizable = true;
|
|
19243
|
+
this.sizeX = 'auto';
|
|
19244
|
+
this.sizeY = 'auto';
|
|
19090
19245
|
}
|
|
19091
|
-
|
|
19092
|
-
|
|
19093
|
-
|
|
19094
|
-
|
|
19095
|
-
|
|
19096
|
-
|
|
19097
|
-
|
|
19098
|
-
this.
|
|
19246
|
+
/*-------------------------------------------------*/
|
|
19247
|
+
/* P u b l i c M e t h o d s */
|
|
19248
|
+
/*-------------------------------------------------*/
|
|
19249
|
+
/**
|
|
19250
|
+
* Closes the dialog detaching it from the DOM.
|
|
19251
|
+
*/
|
|
19252
|
+
async close() {
|
|
19253
|
+
this.kupClose.emit({
|
|
19099
19254
|
comp: this,
|
|
19100
19255
|
id: this.rootElement.id,
|
|
19101
19256
|
});
|
|
19257
|
+
this.rootElement.remove();
|
|
19102
19258
|
}
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19259
|
+
/**
|
|
19260
|
+
* Used to retrieve component's props values.
|
|
19261
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
19262
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
19263
|
+
*/
|
|
19264
|
+
async getProps(descriptions) {
|
|
19265
|
+
return getProps(this, KupDialogProps, descriptions);
|
|
19109
19266
|
}
|
|
19110
|
-
|
|
19111
|
-
|
|
19267
|
+
/**
|
|
19268
|
+
* Places the dialog at the center of the screen.
|
|
19269
|
+
*/
|
|
19270
|
+
async recalcPosition() {
|
|
19271
|
+
var _a;
|
|
19272
|
+
const rect = this.rootElement.getBoundingClientRect();
|
|
19273
|
+
if (!rect.x && !rect.y) {
|
|
19274
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logMessage(this, `recalcPosition() ran before the component finished being drawn. Running again (attempt #${__classPrivateFieldGet$4(this, _KupDialog_recalcSafeguard, "f")}).`, KupDebugCategory.INFO);
|
|
19275
|
+
if (__classPrivateFieldGet$4(this, _KupDialog_recalcSafeguard, "f") < 50) {
|
|
19276
|
+
__classPrivateFieldSet$3(this, _KupDialog_recalcSafeguard, (_a = __classPrivateFieldGet$4(this, _KupDialog_recalcSafeguard, "f"), _a++, _a), "f");
|
|
19277
|
+
setTimeout(async () => this.recalcPosition(), 50);
|
|
19278
|
+
return;
|
|
19279
|
+
}
|
|
19280
|
+
else {
|
|
19281
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logMessage(this, `Too many attempts centering the dialog.`, KupDebugCategory.WARNING);
|
|
19282
|
+
}
|
|
19283
|
+
}
|
|
19284
|
+
__classPrivateFieldSet$3(this, _KupDialog_recalcSafeguard, 0, "f");
|
|
19285
|
+
const left = window.innerWidth / 2 - rect.width / 2;
|
|
19286
|
+
const top = window.innerHeight / 2 - rect.height / 2;
|
|
19287
|
+
this.rootElement.style.setProperty('--kup_dialog_left', left + 'px');
|
|
19288
|
+
this.rootElement.style.setProperty('--kup_dialog_top', top + 'px');
|
|
19289
|
+
this.rootElement.removeAttribute('fade-in');
|
|
19112
19290
|
}
|
|
19113
|
-
|
|
19114
|
-
|
|
19115
|
-
|
|
19116
|
-
|
|
19117
|
-
|
|
19118
|
-
});
|
|
19291
|
+
/**
|
|
19292
|
+
* This method is used to trigger a new render of the component.
|
|
19293
|
+
*/
|
|
19294
|
+
async refresh() {
|
|
19295
|
+
forceUpdate(this);
|
|
19119
19296
|
}
|
|
19120
|
-
|
|
19121
|
-
|
|
19122
|
-
|
|
19123
|
-
|
|
19124
|
-
|
|
19125
|
-
|
|
19297
|
+
/**
|
|
19298
|
+
* Sets the props to the component.
|
|
19299
|
+
* @param {GenericObject} props - Object containing props that will be set to the component.
|
|
19300
|
+
*/
|
|
19301
|
+
async setProps(props) {
|
|
19302
|
+
setProps(this, KupDialogProps, props);
|
|
19126
19303
|
}
|
|
19127
|
-
|
|
19128
|
-
|
|
19304
|
+
/*-------------------------------------------------*/
|
|
19305
|
+
/* L i f e c y c l e H o o k s */
|
|
19306
|
+
/*-------------------------------------------------*/
|
|
19307
|
+
componentWillLoad() {
|
|
19308
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logLoad(this, false);
|
|
19309
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.register(this);
|
|
19129
19310
|
}
|
|
19130
|
-
|
|
19131
|
-
|
|
19132
|
-
|
|
19133
|
-
|
|
19134
|
-
|
|
19135
|
-
onKupIconClick() {
|
|
19136
|
-
if (this.isPickerOpened()) {
|
|
19137
|
-
this.closePicker();
|
|
19311
|
+
componentDidLoad() {
|
|
19312
|
+
var _a;
|
|
19313
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$4(this, _KupDialog_header, "f") ? __classPrivateFieldGet$4(this, _KupDialog_header, "f") : null, !this.resizable);
|
|
19314
|
+
if ((_a = this.autoCenter) === null || _a === void 0 ? void 0 : _a.onReady) {
|
|
19315
|
+
this.recalcPosition();
|
|
19138
19316
|
}
|
|
19139
19317
|
else {
|
|
19140
|
-
this.
|
|
19318
|
+
this.rootElement.removeAttribute('fade-in');
|
|
19141
19319
|
}
|
|
19142
|
-
this.
|
|
19320
|
+
if (this.modal) {
|
|
19321
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
|
|
19322
|
+
? () => {
|
|
19323
|
+
this.close();
|
|
19324
|
+
}
|
|
19325
|
+
: null);
|
|
19326
|
+
}
|
|
19327
|
+
this.kupReady.emit({
|
|
19143
19328
|
comp: this,
|
|
19144
19329
|
id: this.rootElement.id,
|
|
19145
|
-
value: this.value,
|
|
19146
19330
|
});
|
|
19331
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
|
|
19147
19332
|
}
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
/*-------------------------------------------------*/
|
|
19151
|
-
listenKeyup(e) {
|
|
19152
|
-
if (this.isPickerOpened()) {
|
|
19153
|
-
if (e.key === 'Escape') {
|
|
19154
|
-
this.closePicker();
|
|
19155
|
-
}
|
|
19156
|
-
if (e.key === 'Enter') {
|
|
19157
|
-
this.setPickerValueSelected();
|
|
19158
|
-
}
|
|
19159
|
-
}
|
|
19160
|
-
}
|
|
19161
|
-
/*-------------------------------------------------*/
|
|
19162
|
-
/* W a t c h e r s */
|
|
19163
|
-
/*-------------------------------------------------*/
|
|
19164
|
-
watchFirstDayIndex() {
|
|
19165
|
-
if (this.firstDayIndex > 6 || this.firstDayIndex < 0) {
|
|
19166
|
-
this.kupManager.debug.logMessage(this, 'property first-day-index=[' +
|
|
19167
|
-
this.firstDayIndex +
|
|
19168
|
-
'] not allowed: it must be >= 0 and <= 6', KupDebugCategory.WARNING);
|
|
19169
|
-
this.firstDayIndex = 1;
|
|
19170
|
-
}
|
|
19171
|
-
}
|
|
19172
|
-
/*-------------------------------------------------*/
|
|
19173
|
-
/* P u b l i c M e t h o d s */
|
|
19174
|
-
/*-------------------------------------------------*/
|
|
19175
|
-
/**
|
|
19176
|
-
* Retrieves the component's value.
|
|
19177
|
-
* @returns {string} Value of the component.
|
|
19178
|
-
*/
|
|
19179
|
-
async getValue() {
|
|
19180
|
-
return this.value;
|
|
19333
|
+
componentWillRender() {
|
|
19334
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logRender(this, false);
|
|
19181
19335
|
}
|
|
19182
|
-
|
|
19183
|
-
|
|
19184
|
-
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
19185
|
-
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
19186
|
-
*/
|
|
19187
|
-
async getProps(descriptions) {
|
|
19188
|
-
let props = {};
|
|
19189
|
-
if (descriptions) {
|
|
19190
|
-
props = KupDatePickerProps;
|
|
19191
|
-
}
|
|
19192
|
-
else {
|
|
19193
|
-
for (const key in KupDatePickerProps) {
|
|
19194
|
-
if (Object.prototype.hasOwnProperty.call(KupDatePickerProps, key)) {
|
|
19195
|
-
props[key] = this[key];
|
|
19196
|
-
}
|
|
19197
|
-
}
|
|
19198
|
-
}
|
|
19199
|
-
return props;
|
|
19336
|
+
componentDidRender() {
|
|
19337
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logRender(this, true);
|
|
19200
19338
|
}
|
|
19201
|
-
|
|
19202
|
-
|
|
19203
|
-
|
|
19204
|
-
|
|
19205
|
-
|
|
19339
|
+
render() {
|
|
19340
|
+
var _a;
|
|
19341
|
+
const style = {
|
|
19342
|
+
'--kup_dialog_height': this.sizeY ? this.sizeY : 'auto',
|
|
19343
|
+
'--kup_dialog_width': this.sizeX ? this.sizeX : 'auto',
|
|
19344
|
+
};
|
|
19345
|
+
return (h(Host, { "fade-in": true, style: style }, h("style", null, __classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$3(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : null, h("div", { class: "content" }, h("slot", null)))));
|
|
19206
19346
|
}
|
|
19207
|
-
|
|
19208
|
-
|
|
19209
|
-
|
|
19210
|
-
async setFocus() {
|
|
19211
|
-
if (this.textfieldEl != null) {
|
|
19212
|
-
this.textfieldEl.focus();
|
|
19347
|
+
disconnectedCallback() {
|
|
19348
|
+
if (this.modal) {
|
|
19349
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").interact.hideModalBackdrop();
|
|
19213
19350
|
}
|
|
19351
|
+
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.unregister(this);
|
|
19214
19352
|
}
|
|
19215
|
-
|
|
19216
|
-
|
|
19217
|
-
|
|
19218
|
-
|
|
19219
|
-
|
|
19220
|
-
|
|
19353
|
+
get rootElement() { return this; }
|
|
19354
|
+
static get style() { return kupDialogCss; }
|
|
19355
|
+
}, [1, "kup-dialog", {
|
|
19356
|
+
"autoCenter": [16],
|
|
19357
|
+
"customStyle": [1, "custom-style"],
|
|
19358
|
+
"header": [16],
|
|
19359
|
+
"modal": [16],
|
|
19360
|
+
"resizable": [4],
|
|
19361
|
+
"sizeX": [1, "size-x"],
|
|
19362
|
+
"sizeY": [1, "size-y"],
|
|
19363
|
+
"close": [64],
|
|
19364
|
+
"getProps": [64],
|
|
19365
|
+
"recalcPosition": [64],
|
|
19366
|
+
"refresh": [64],
|
|
19367
|
+
"setProps": [64]
|
|
19368
|
+
}]);
|
|
19369
|
+
_KupDialog_header = new WeakMap(), _KupDialog_kupManager = new WeakMap(), _KupDialog_recalcSafeguard = new WeakMap();
|
|
19370
|
+
function defineCustomElement$d() {
|
|
19371
|
+
if (typeof customElements === "undefined") {
|
|
19372
|
+
return;
|
|
19221
19373
|
}
|
|
19222
|
-
|
|
19223
|
-
|
|
19224
|
-
|
|
19225
|
-
|
|
19226
|
-
|
|
19227
|
-
if (this.kupManager.dates.isValid(eventDetailValue)) {
|
|
19228
|
-
newValue = this.kupManager.dates.format(this.kupManager.dates.normalize(eventDetailValue, KupDatesNormalize.DATE), KupDatesFormats.ISO_DATE);
|
|
19229
|
-
this.refreshPickerComponentValue(newValue);
|
|
19230
|
-
if (isOnInputEvent != true) {
|
|
19231
|
-
this.setValue(newValue);
|
|
19374
|
+
const components = ["kup-dialog", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
19375
|
+
components.forEach(tagName => { switch (tagName) {
|
|
19376
|
+
case "kup-dialog":
|
|
19377
|
+
if (!customElements.get(tagName)) {
|
|
19378
|
+
customElements.define(tagName, KupDialog);
|
|
19232
19379
|
}
|
|
19233
|
-
|
|
19234
|
-
|
|
19235
|
-
if (
|
|
19236
|
-
|
|
19237
|
-
id: this.rootElement.id,
|
|
19238
|
-
value: newValue,
|
|
19239
|
-
});
|
|
19240
|
-
}
|
|
19241
|
-
}
|
|
19242
|
-
}
|
|
19243
|
-
refreshPickerComponentValue(value) {
|
|
19244
|
-
if (!this.isPickerOpened()) {
|
|
19245
|
-
return;
|
|
19246
|
-
}
|
|
19247
|
-
let d;
|
|
19248
|
-
if (this.kupManager.dates.isValid(value, KupDatesFormats.ISO_DATE)) {
|
|
19249
|
-
d = new Date(value);
|
|
19250
|
-
}
|
|
19251
|
-
else {
|
|
19252
|
-
d = new Date();
|
|
19253
|
-
}
|
|
19254
|
-
this.pickerEl.value = d.toISOString();
|
|
19255
|
-
this.pickerEl.date = d;
|
|
19256
|
-
this.refresh();
|
|
19257
|
-
}
|
|
19258
|
-
setPickerValueSelected(newValue) {
|
|
19259
|
-
if (this.disabled == true) {
|
|
19260
|
-
return;
|
|
19261
|
-
}
|
|
19262
|
-
if (newValue == null) {
|
|
19263
|
-
newValue = this.getPickerValueSelected();
|
|
19264
|
-
}
|
|
19265
|
-
this.closePicker();
|
|
19266
|
-
if (newValue == null) {
|
|
19267
|
-
return;
|
|
19268
|
-
}
|
|
19269
|
-
this.setValue(newValue);
|
|
19270
|
-
}
|
|
19271
|
-
getPickerValueSelected() {
|
|
19272
|
-
return this.pickerEl.value;
|
|
19273
|
-
}
|
|
19274
|
-
getValueForPickerComponent() {
|
|
19275
|
-
return this.value;
|
|
19276
|
-
}
|
|
19277
|
-
openPicker() {
|
|
19278
|
-
const textfieldEl = this.textfieldEl;
|
|
19279
|
-
this.pickerContainerEl.menuVisible = true;
|
|
19280
|
-
const elStyle = this.pickerContainerEl.style;
|
|
19281
|
-
elStyle.height = 'auto';
|
|
19282
|
-
elStyle.minWidth = this.textfieldEl.parentElement.clientWidth + 'px';
|
|
19283
|
-
this.refreshPickerComponentValue(this.getValueForPickerComponent());
|
|
19284
|
-
if (textfieldEl != null) {
|
|
19285
|
-
textfieldEl.classList.add('toggled');
|
|
19286
|
-
}
|
|
19287
|
-
if (this.kupManager.dynamicPosition.isRegistered(this.pickerContainerEl)) {
|
|
19288
|
-
this.kupManager.dynamicPosition.changeAnchor(this.pickerContainerEl, this.textfieldEl.parentElement);
|
|
19289
|
-
}
|
|
19290
|
-
else {
|
|
19291
|
-
this.kupManager.dynamicPosition.register(this.pickerContainerEl, this.textfieldEl.parentElement, 0, KupDynamicPositionPlacement.AUTO, true);
|
|
19292
|
-
}
|
|
19293
|
-
this.kupManager.dynamicPosition.start(this.pickerContainerEl);
|
|
19294
|
-
if (!this.clickCb) {
|
|
19295
|
-
this.clickCb = {
|
|
19296
|
-
cb: () => {
|
|
19297
|
-
this.closePicker();
|
|
19298
|
-
},
|
|
19299
|
-
el: this.pickerContainerEl,
|
|
19300
|
-
};
|
|
19301
|
-
}
|
|
19302
|
-
this.kupManager.addClickCallback(this.clickCb, true);
|
|
19303
|
-
}
|
|
19304
|
-
closePicker() {
|
|
19305
|
-
this.kupManager.removeClickCallback(this.clickCb);
|
|
19306
|
-
if (!this.isPickerOpened()) {
|
|
19307
|
-
return;
|
|
19308
|
-
}
|
|
19309
|
-
let textfieldEl = this.textfieldEl;
|
|
19310
|
-
if (textfieldEl != null) {
|
|
19311
|
-
textfieldEl.classList.remove('toggled');
|
|
19312
|
-
}
|
|
19313
|
-
this.pickerContainerEl.menuVisible = false;
|
|
19314
|
-
this.kupManager.dynamicPosition.stop(this.pickerContainerEl);
|
|
19315
|
-
}
|
|
19316
|
-
isPickerOpened() {
|
|
19317
|
-
return this.pickerContainerEl.menuVisible == true;
|
|
19318
|
-
}
|
|
19319
|
-
getTextFieldId() {
|
|
19320
|
-
return this.textfieldEl.id;
|
|
19321
|
-
}
|
|
19322
|
-
prepTextfield(initialValue) {
|
|
19323
|
-
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
19324
|
-
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
19325
|
-
const textfieldData = Object.assign({}, this.data['kup-text-field']);
|
|
19326
|
-
if (!textfieldData.icon) {
|
|
19327
|
-
textfieldData.icon = 'calendar';
|
|
19328
|
-
}
|
|
19329
|
-
if (textfieldData.icon) {
|
|
19330
|
-
textfieldData.trailingIcon = true;
|
|
19331
|
-
}
|
|
19332
|
-
return (h(FTextField, Object.assign({}, textfieldData, { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, id: this.rootElement.id + '_text-field', value: initialValue, onBlur: () => this.onKupBlur(), onChange: (e) => this.onKupChange(e), onClearIconClick: () => this.onKupClearIconClick(), onClick: () => this.onKupClick(), onFocus: () => this.onKupFocus(), onIconClick: () => this.onKupIconClick(), onKeyDown: (e) => this.onkupTextFieldSubmit(e), onInput: (e) => this.onKupInput(e) }), this.prepDatePicker()));
|
|
19333
|
-
}
|
|
19334
|
-
getInitEndYear(curYear) {
|
|
19335
|
-
let initYear = curYear - (curYear % 10);
|
|
19336
|
-
let endYear = initYear + 16 - 1;
|
|
19337
|
-
return { initYear: initYear, endYear: endYear };
|
|
19338
|
-
}
|
|
19339
|
-
isRelatedTargetInThisComponent(e) {
|
|
19340
|
-
if (!e.relatedTarget) {
|
|
19341
|
-
return false;
|
|
19342
|
-
}
|
|
19343
|
-
let id = e.relatedTarget.id;
|
|
19344
|
-
if (id == null || id.trim() == '') {
|
|
19345
|
-
return false;
|
|
19346
|
-
}
|
|
19347
|
-
if (id == this.getTextFieldId()) {
|
|
19348
|
-
return true;
|
|
19349
|
-
}
|
|
19350
|
-
let idConc = '#prev-page#next-page#date-picker-div#change-view-button#calendar#';
|
|
19351
|
-
return idConc.indexOf('#' + id + '#') >= 0;
|
|
19352
|
-
}
|
|
19353
|
-
prepDatePicker() {
|
|
19354
|
-
const data = {
|
|
19355
|
-
options: {
|
|
19356
|
-
initialValue: this.value,
|
|
19357
|
-
firstDayIndex: this.firstDayIndex,
|
|
19358
|
-
resetStatus: true,
|
|
19359
|
-
},
|
|
19360
|
-
};
|
|
19361
|
-
return (h("kup-card", { ref: (el) => (this.pickerContainerEl = el), data: data, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "auto", isMenu: true, "onkup-card-click": (ev) => {
|
|
19362
|
-
if (ev.detail.value != null && ev.detail.value != '')
|
|
19363
|
-
this.onKupDatePickerItemClick(ev.detail.value);
|
|
19364
|
-
} }));
|
|
19365
|
-
}
|
|
19366
|
-
getDateForOutput() {
|
|
19367
|
-
if (this.value == null || this.value.trim() == '') {
|
|
19368
|
-
return '';
|
|
19369
|
-
}
|
|
19370
|
-
let v1 = this.kupManager.dates.format(this.value);
|
|
19371
|
-
return v1;
|
|
19372
|
-
}
|
|
19373
|
-
/*-------------------------------------------------*/
|
|
19374
|
-
/* L i f e c y c l e H o o k s */
|
|
19375
|
-
/*-------------------------------------------------*/
|
|
19376
|
-
componentWillLoad() {
|
|
19377
|
-
this.kupManager.dates.register(this);
|
|
19378
|
-
this.kupManager.debug.logLoad(this, false);
|
|
19379
|
-
this.kupManager.theme.register(this);
|
|
19380
|
-
this.watchFirstDayIndex();
|
|
19381
|
-
this.value = this.initialValue;
|
|
19382
|
-
if (!this.data) {
|
|
19383
|
-
this.data = {
|
|
19384
|
-
'kup-text-field': {},
|
|
19385
|
-
};
|
|
19386
|
-
}
|
|
19387
|
-
}
|
|
19388
|
-
componentDidLoad() {
|
|
19389
|
-
this.kupManager.debug.logLoad(this, true);
|
|
19390
|
-
}
|
|
19391
|
-
componentWillRender() {
|
|
19392
|
-
this.kupManager.debug.logRender(this, false);
|
|
19393
|
-
}
|
|
19394
|
-
componentDidRender() {
|
|
19395
|
-
const root = this.rootElement.shadowRoot;
|
|
19396
|
-
if (root) {
|
|
19397
|
-
const f = root.querySelector('.f-text-field');
|
|
19398
|
-
if (f) {
|
|
19399
|
-
this.textfieldEl = f.querySelector('input');
|
|
19400
|
-
FTextFieldMDC(f);
|
|
19401
|
-
}
|
|
19402
|
-
}
|
|
19403
|
-
this.kupManager.debug.logRender(this, true);
|
|
19404
|
-
}
|
|
19405
|
-
render() {
|
|
19406
|
-
return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
19407
|
-
}
|
|
19408
|
-
disconnectedCallback() {
|
|
19409
|
-
this.kupManager.dates.unregister(this);
|
|
19410
|
-
this.kupManager.theme.unregister(this);
|
|
19411
|
-
if (this.pickerContainerEl) {
|
|
19412
|
-
this.pickerContainerEl.remove();
|
|
19413
|
-
}
|
|
19414
|
-
}
|
|
19415
|
-
get rootElement() { return this; }
|
|
19416
|
-
static get watchers() { return {
|
|
19417
|
-
"firstDayIndex": ["watchFirstDayIndex"]
|
|
19418
|
-
}; }
|
|
19419
|
-
static get style() { return kupDatePickerCss; }
|
|
19420
|
-
}, [1, "kup-date-picker", {
|
|
19421
|
-
"customStyle": [1, "custom-style"],
|
|
19422
|
-
"data": [1040],
|
|
19423
|
-
"disabled": [4],
|
|
19424
|
-
"firstDayIndex": [2, "first-day-index"],
|
|
19425
|
-
"initialValue": [1, "initial-value"],
|
|
19426
|
-
"stateSwitcher": [32],
|
|
19427
|
-
"value": [32],
|
|
19428
|
-
"getValue": [64],
|
|
19429
|
-
"getProps": [64],
|
|
19430
|
-
"refresh": [64],
|
|
19431
|
-
"setFocus": [64],
|
|
19432
|
-
"setValue": [64]
|
|
19433
|
-
}, [[0, "keyup", "listenKeyup"]], {
|
|
19434
|
-
"firstDayIndex": ["watchFirstDayIndex"]
|
|
19435
|
-
}]);
|
|
19436
|
-
function defineCustomElement$d() {
|
|
19437
|
-
if (typeof customElements === "undefined") {
|
|
19438
|
-
return;
|
|
19439
|
-
}
|
|
19440
|
-
const components = ["kup-date-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
19441
|
-
components.forEach(tagName => { switch (tagName) {
|
|
19442
|
-
case "kup-date-picker":
|
|
19443
|
-
if (!customElements.get(tagName)) {
|
|
19444
|
-
customElements.define(tagName, KupDatePicker);
|
|
19445
|
-
}
|
|
19446
|
-
break;
|
|
19447
|
-
case "kup-autocomplete":
|
|
19448
|
-
if (!customElements.get(tagName)) {
|
|
19449
|
-
defineCustomElement();
|
|
19380
|
+
break;
|
|
19381
|
+
case "kup-autocomplete":
|
|
19382
|
+
if (!customElements.get(tagName)) {
|
|
19383
|
+
defineCustomElement();
|
|
19450
19384
|
}
|
|
19451
19385
|
break;
|
|
19452
19386
|
case "kup-badge":
|
|
@@ -19500,6 +19434,11 @@ function defineCustomElement$d() {
|
|
|
19500
19434
|
}
|
|
19501
19435
|
break;
|
|
19502
19436
|
case "kup-date-picker":
|
|
19437
|
+
if (!customElements.get(tagName)) {
|
|
19438
|
+
defineCustomElement$c();
|
|
19439
|
+
}
|
|
19440
|
+
break;
|
|
19441
|
+
case "kup-dialog":
|
|
19503
19442
|
if (!customElements.get(tagName)) {
|
|
19504
19443
|
defineCustomElement$d();
|
|
19505
19444
|
}
|
|
@@ -19567,181 +19506,412 @@ function defineCustomElement$d() {
|
|
|
19567
19506
|
} });
|
|
19568
19507
|
}
|
|
19569
19508
|
|
|
19570
|
-
|
|
19571
|
-
* Props of the kup-dialog component.
|
|
19572
|
-
* Used to export every prop in an object.
|
|
19573
|
-
*/
|
|
19574
|
-
var KupDialogProps;
|
|
19575
|
-
(function (KupDialogProps) {
|
|
19576
|
-
KupDialogProps["autoCenter"] = "Auto centers the dialog relatively to the viewport.";
|
|
19577
|
-
KupDialogProps["customStyle"] = "Custom style of the component.";
|
|
19578
|
-
KupDialogProps["header"] = "Header options.";
|
|
19579
|
-
KupDialogProps["modal"] = "Set of options to display the dialog as a modal.";
|
|
19580
|
-
KupDialogProps["resizable"] = "Sets whether the dialog is resizable or not.";
|
|
19581
|
-
KupDialogProps["sizeX"] = "The width of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vw, etc.).";
|
|
19582
|
-
KupDialogProps["sizeY"] = "The height of the dialog, defaults to auto. Accepts any valid CSS format (px, %, vh, etc.).";
|
|
19583
|
-
})(KupDialogProps || (KupDialogProps = {}));
|
|
19584
|
-
|
|
19585
|
-
const kupDialogCss = ":host{--kup_dialog_header_height:var(--kup-dialog-header-height, 2em);box-sizing:border-box;display:block;height:var(--kup_dialog_height);left:var(--kup_dialog_left);min-height:var(--kup_dialog_height);min-width:var(--kup_dialog_width);position:absolute;top:var(--kup_dialog_top);transition:opacity 0.25s ease-in;width:var(--kup_dialog_width)}#kup-component{height:100%;width:100%}[fade-in]{opacity:0}[fade-in] ::slotted{display:none}.header{background-color:var(--kup-title-background-color);color:var(--kup-title-color);display:flex;flex-direction:row;height:var(--kup_dialog_header_height);position:relative;width:100%}.header__title{font-weight:bold;line-height:2em;padding-left:0.5em;padding-right:2em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header__close.f-image{--kup-icon-color:var(--kup-title-color);cursor:pointer;margin-right:0;transition:opacity 0.25s;position:absolute;right:0;background:var(--kup-title-background-color)}.header__close.f-image:hover{opacity:0.5}.content{height:calc(100% - var(--kup_dialog_header_height));overflow:auto;user-select:text}";
|
|
19509
|
+
const kupDatePickerCss = ":host{display:block;font-size:var(--kup-font-size)}.f-text-field{position:relative}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component{height:100%}:host(.kup-full-width){width:100%}:host(.kup-full-width) #kup-component{width:100%}:host(.kup-danger){--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}:host(.kup-info){--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}:host(.kup-secondary){--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}:host(.kup-success){--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}:host(.kup-warning){--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
19586
19510
|
|
|
19587
|
-
|
|
19588
|
-
if (kind === "a" && !f)
|
|
19589
|
-
throw new TypeError("Private accessor was defined without a getter");
|
|
19590
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
19591
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
19592
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
19593
|
-
};
|
|
19594
|
-
var __classPrivateFieldSet$3 = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
19595
|
-
if (kind === "m")
|
|
19596
|
-
throw new TypeError("Private method is not writable");
|
|
19597
|
-
if (kind === "a" && !f)
|
|
19598
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
19599
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
19600
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
19601
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
19602
|
-
};
|
|
19603
|
-
var _KupDialog_header, _KupDialog_kupManager;
|
|
19604
|
-
const KupDialog = /*@__PURE__*/ proxyCustomElement(class KupDialog extends HTMLElement$1 {
|
|
19511
|
+
const KupDatePicker = /*@__PURE__*/ proxyCustomElement(class KupDatePicker extends HTMLElement$1 {
|
|
19605
19512
|
constructor() {
|
|
19606
19513
|
super();
|
|
19607
19514
|
this.__registerHost();
|
|
19608
19515
|
this.__attachShadow();
|
|
19609
|
-
this.
|
|
19610
|
-
this.
|
|
19516
|
+
this.kupBlur = createEvent(this, "kup-datepicker-blur", 6);
|
|
19517
|
+
this.kupChange = createEvent(this, "kup-datepicker-change", 6);
|
|
19518
|
+
this.kupClick = createEvent(this, "kup-datepicker-click", 6);
|
|
19519
|
+
this.kupFocus = createEvent(this, "kup-datepicker-focus", 6);
|
|
19520
|
+
this.kupInput = createEvent(this, "kup-datepicker-input", 6);
|
|
19521
|
+
this.kupIconClick = createEvent(this, "kup-datepicker-iconclick", 6);
|
|
19522
|
+
this.kupItemClick = createEvent(this, "kup-datepicker-itemclick", 6);
|
|
19523
|
+
this.kupTextFieldSubmit = createEvent(this, "kup-datepicker-textfieldsubmit", 6);
|
|
19524
|
+
this.kupClearIconClick = createEvent(this, "kup-datepicker-cleariconclick", 6);
|
|
19611
19525
|
/*-------------------------------------------------*/
|
|
19612
19526
|
/* I n t e r n a l V a r i a b l e s */
|
|
19613
19527
|
/*-------------------------------------------------*/
|
|
19614
|
-
|
|
19615
|
-
|
|
19616
|
-
|
|
19528
|
+
/**
|
|
19529
|
+
* Instance of the KupManager class.
|
|
19530
|
+
*/
|
|
19531
|
+
this.kupManager = kupManagerInstance();
|
|
19532
|
+
this.textfieldEl = null;
|
|
19533
|
+
this.pickerContainerEl = null;
|
|
19534
|
+
this.pickerEl = {
|
|
19535
|
+
value: new Date().toISOString(),
|
|
19536
|
+
date: new Date(),
|
|
19537
|
+
};
|
|
19538
|
+
this.clickCb = null;
|
|
19539
|
+
this.stateSwitcher = false;
|
|
19540
|
+
this.value = '';
|
|
19617
19541
|
this.customStyle = '';
|
|
19618
|
-
this.
|
|
19619
|
-
this.
|
|
19620
|
-
this.
|
|
19621
|
-
this.
|
|
19622
|
-
|
|
19542
|
+
this.data = null;
|
|
19543
|
+
this.disabled = false;
|
|
19544
|
+
this.firstDayIndex = 1;
|
|
19545
|
+
this.initialValue = '';
|
|
19546
|
+
}
|
|
19547
|
+
onKupDatePickerItemClick(value) {
|
|
19548
|
+
this.setPickerValueSelected(value);
|
|
19549
|
+
this.kupChange.emit({
|
|
19550
|
+
comp: this,
|
|
19551
|
+
id: this.rootElement.id,
|
|
19552
|
+
value: this.value,
|
|
19553
|
+
});
|
|
19554
|
+
this.kupItemClick.emit({
|
|
19555
|
+
comp: this,
|
|
19556
|
+
id: this.rootElement.id,
|
|
19557
|
+
value: this.value,
|
|
19558
|
+
});
|
|
19559
|
+
this.setFocus();
|
|
19560
|
+
}
|
|
19561
|
+
onKupClearIconClick() {
|
|
19562
|
+
this.setPickerValueSelected('');
|
|
19563
|
+
this.kupChange.emit({
|
|
19564
|
+
comp: this,
|
|
19565
|
+
id: this.rootElement.id,
|
|
19566
|
+
value: this.value,
|
|
19567
|
+
});
|
|
19568
|
+
this.kupClearIconClick.emit({
|
|
19569
|
+
comp: this,
|
|
19570
|
+
id: this.rootElement.id,
|
|
19571
|
+
});
|
|
19572
|
+
}
|
|
19573
|
+
onKupBlur() {
|
|
19574
|
+
this.kupBlur.emit({
|
|
19575
|
+
id: this.rootElement.id,
|
|
19576
|
+
value: this.value,
|
|
19577
|
+
comp: this,
|
|
19578
|
+
});
|
|
19579
|
+
}
|
|
19580
|
+
onKupChange(e) {
|
|
19581
|
+
this.refreshPickerValue(e.target.value, this.kupChange);
|
|
19582
|
+
}
|
|
19583
|
+
onKupClick() {
|
|
19584
|
+
this.kupClick.emit({
|
|
19585
|
+
comp: this,
|
|
19586
|
+
id: this.rootElement.id,
|
|
19587
|
+
value: this.value,
|
|
19588
|
+
});
|
|
19589
|
+
}
|
|
19590
|
+
onKupFocus() {
|
|
19591
|
+
this.kupFocus.emit({
|
|
19592
|
+
comp: this,
|
|
19593
|
+
id: this.rootElement.id,
|
|
19594
|
+
value: this.value,
|
|
19595
|
+
});
|
|
19596
|
+
}
|
|
19597
|
+
onKupInput(e) {
|
|
19598
|
+
this.refreshPickerValue(e.target.value, this.kupInput, true);
|
|
19599
|
+
}
|
|
19600
|
+
onkupTextFieldSubmit(e) {
|
|
19601
|
+
if (e.key === 'Enter') {
|
|
19602
|
+
this.refreshPickerValue(e.target.value, this.kupTextFieldSubmit);
|
|
19603
|
+
}
|
|
19604
|
+
}
|
|
19605
|
+
onKupIconClick() {
|
|
19606
|
+
if (this.isPickerOpened()) {
|
|
19607
|
+
this.closePicker();
|
|
19608
|
+
}
|
|
19609
|
+
else {
|
|
19610
|
+
this.openPicker();
|
|
19611
|
+
}
|
|
19612
|
+
this.kupIconClick.emit({
|
|
19613
|
+
comp: this,
|
|
19614
|
+
id: this.rootElement.id,
|
|
19615
|
+
value: this.value,
|
|
19616
|
+
});
|
|
19617
|
+
}
|
|
19618
|
+
/*-------------------------------------------------*/
|
|
19619
|
+
/* L i s t e n e r s */
|
|
19620
|
+
/*-------------------------------------------------*/
|
|
19621
|
+
listenKeyup(e) {
|
|
19622
|
+
if (this.isPickerOpened()) {
|
|
19623
|
+
if (e.key === 'Escape') {
|
|
19624
|
+
this.closePicker();
|
|
19625
|
+
}
|
|
19626
|
+
if (e.key === 'Enter') {
|
|
19627
|
+
this.setPickerValueSelected();
|
|
19628
|
+
}
|
|
19629
|
+
}
|
|
19630
|
+
}
|
|
19631
|
+
/*-------------------------------------------------*/
|
|
19632
|
+
/* W a t c h e r s */
|
|
19633
|
+
/*-------------------------------------------------*/
|
|
19634
|
+
watchFirstDayIndex() {
|
|
19635
|
+
if (this.firstDayIndex > 6 || this.firstDayIndex < 0) {
|
|
19636
|
+
this.kupManager.debug.logMessage(this, 'property first-day-index=[' +
|
|
19637
|
+
this.firstDayIndex +
|
|
19638
|
+
'] not allowed: it must be >= 0 and <= 6', KupDebugCategory.WARNING);
|
|
19639
|
+
this.firstDayIndex = 1;
|
|
19640
|
+
}
|
|
19641
|
+
}
|
|
19642
|
+
/*-------------------------------------------------*/
|
|
19643
|
+
/* P u b l i c M e t h o d s */
|
|
19644
|
+
/*-------------------------------------------------*/
|
|
19645
|
+
/**
|
|
19646
|
+
* Retrieves the component's value.
|
|
19647
|
+
* @returns {string} Value of the component.
|
|
19648
|
+
*/
|
|
19649
|
+
async getValue() {
|
|
19650
|
+
return this.value;
|
|
19651
|
+
}
|
|
19652
|
+
/**
|
|
19653
|
+
* Used to retrieve component's props values.
|
|
19654
|
+
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
19655
|
+
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
19656
|
+
*/
|
|
19657
|
+
async getProps(descriptions) {
|
|
19658
|
+
let props = {};
|
|
19659
|
+
if (descriptions) {
|
|
19660
|
+
props = KupDatePickerProps;
|
|
19661
|
+
}
|
|
19662
|
+
else {
|
|
19663
|
+
for (const key in KupDatePickerProps) {
|
|
19664
|
+
if (Object.prototype.hasOwnProperty.call(KupDatePickerProps, key)) {
|
|
19665
|
+
props[key] = this[key];
|
|
19666
|
+
}
|
|
19667
|
+
}
|
|
19668
|
+
}
|
|
19669
|
+
return props;
|
|
19670
|
+
}
|
|
19671
|
+
/**
|
|
19672
|
+
* This method is used to trigger a new render of the component.
|
|
19673
|
+
*/
|
|
19674
|
+
async refresh() {
|
|
19675
|
+
forceUpdate(this);
|
|
19676
|
+
}
|
|
19677
|
+
/**
|
|
19678
|
+
* Sets the focus to the component.
|
|
19679
|
+
*/
|
|
19680
|
+
async setFocus() {
|
|
19681
|
+
if (this.textfieldEl != null) {
|
|
19682
|
+
this.textfieldEl.focus();
|
|
19683
|
+
}
|
|
19684
|
+
}
|
|
19685
|
+
/**
|
|
19686
|
+
* Sets the component's value.
|
|
19687
|
+
* @param {string} value - Value to be set.
|
|
19688
|
+
*/
|
|
19689
|
+
async setValue(value) {
|
|
19690
|
+
this.value = value;
|
|
19691
|
+
}
|
|
19692
|
+
/*-------------------------------------------------*/
|
|
19693
|
+
/* P r i v a t e M e t h o d s */
|
|
19694
|
+
/*-------------------------------------------------*/
|
|
19695
|
+
refreshPickerValue(eventDetailValue, eventToRaise, isOnInputEvent) {
|
|
19696
|
+
let newValue = eventDetailValue;
|
|
19697
|
+
if (this.kupManager.dates.isValid(eventDetailValue)) {
|
|
19698
|
+
newValue = this.kupManager.dates.format(this.kupManager.dates.normalize(eventDetailValue, KupDatesNormalize.DATE), KupDatesFormats.ISO_DATE);
|
|
19699
|
+
this.refreshPickerComponentValue(newValue);
|
|
19700
|
+
if (isOnInputEvent != true) {
|
|
19701
|
+
this.setValue(newValue);
|
|
19702
|
+
}
|
|
19703
|
+
}
|
|
19704
|
+
if (newValue != null) {
|
|
19705
|
+
if (eventToRaise != null) {
|
|
19706
|
+
eventToRaise.emit({
|
|
19707
|
+
id: this.rootElement.id,
|
|
19708
|
+
value: newValue,
|
|
19709
|
+
});
|
|
19710
|
+
}
|
|
19711
|
+
}
|
|
19712
|
+
}
|
|
19713
|
+
refreshPickerComponentValue(value) {
|
|
19714
|
+
if (!this.isPickerOpened()) {
|
|
19715
|
+
return;
|
|
19716
|
+
}
|
|
19717
|
+
let d;
|
|
19718
|
+
if (this.kupManager.dates.isValid(value, KupDatesFormats.ISO_DATE)) {
|
|
19719
|
+
d = new Date(value);
|
|
19720
|
+
}
|
|
19721
|
+
else {
|
|
19722
|
+
d = new Date();
|
|
19723
|
+
}
|
|
19724
|
+
this.pickerEl.value = d.toISOString();
|
|
19725
|
+
this.pickerEl.date = d;
|
|
19726
|
+
this.refresh();
|
|
19727
|
+
}
|
|
19728
|
+
setPickerValueSelected(newValue) {
|
|
19729
|
+
if (this.disabled == true) {
|
|
19730
|
+
return;
|
|
19731
|
+
}
|
|
19732
|
+
if (newValue == null) {
|
|
19733
|
+
newValue = this.getPickerValueSelected();
|
|
19734
|
+
}
|
|
19735
|
+
this.closePicker();
|
|
19736
|
+
if (newValue == null) {
|
|
19737
|
+
return;
|
|
19738
|
+
}
|
|
19739
|
+
this.setValue(newValue);
|
|
19740
|
+
}
|
|
19741
|
+
getPickerValueSelected() {
|
|
19742
|
+
return this.pickerEl.value;
|
|
19743
|
+
}
|
|
19744
|
+
getValueForPickerComponent() {
|
|
19745
|
+
return this.value;
|
|
19746
|
+
}
|
|
19747
|
+
openPicker() {
|
|
19748
|
+
const textfieldEl = this.textfieldEl;
|
|
19749
|
+
this.pickerContainerEl.menuVisible = true;
|
|
19750
|
+
const elStyle = this.pickerContainerEl.style;
|
|
19751
|
+
elStyle.height = 'auto';
|
|
19752
|
+
elStyle.minWidth = this.textfieldEl.parentElement.clientWidth + 'px';
|
|
19753
|
+
this.refreshPickerComponentValue(this.getValueForPickerComponent());
|
|
19754
|
+
if (textfieldEl != null) {
|
|
19755
|
+
textfieldEl.classList.add('toggled');
|
|
19756
|
+
}
|
|
19757
|
+
if (this.kupManager.dynamicPosition.isRegistered(this.pickerContainerEl)) {
|
|
19758
|
+
this.kupManager.dynamicPosition.changeAnchor(this.pickerContainerEl, this.textfieldEl.parentElement);
|
|
19759
|
+
}
|
|
19760
|
+
else {
|
|
19761
|
+
this.kupManager.dynamicPosition.register(this.pickerContainerEl, this.textfieldEl.parentElement, 0, KupDynamicPositionPlacement.AUTO, true);
|
|
19762
|
+
}
|
|
19763
|
+
this.kupManager.dynamicPosition.start(this.pickerContainerEl);
|
|
19764
|
+
if (!this.clickCb) {
|
|
19765
|
+
this.clickCb = {
|
|
19766
|
+
cb: () => {
|
|
19767
|
+
this.closePicker();
|
|
19768
|
+
},
|
|
19769
|
+
el: this.pickerContainerEl,
|
|
19770
|
+
};
|
|
19771
|
+
}
|
|
19772
|
+
this.kupManager.addClickCallback(this.clickCb, true);
|
|
19773
|
+
}
|
|
19774
|
+
closePicker() {
|
|
19775
|
+
this.kupManager.removeClickCallback(this.clickCb);
|
|
19776
|
+
if (!this.isPickerOpened()) {
|
|
19777
|
+
return;
|
|
19778
|
+
}
|
|
19779
|
+
let textfieldEl = this.textfieldEl;
|
|
19780
|
+
if (textfieldEl != null) {
|
|
19781
|
+
textfieldEl.classList.remove('toggled');
|
|
19782
|
+
}
|
|
19783
|
+
this.pickerContainerEl.menuVisible = false;
|
|
19784
|
+
this.kupManager.dynamicPosition.stop(this.pickerContainerEl);
|
|
19623
19785
|
}
|
|
19624
|
-
|
|
19625
|
-
|
|
19626
|
-
/*-------------------------------------------------*/
|
|
19627
|
-
/**
|
|
19628
|
-
* Closes the dialog detaching it from the DOM.
|
|
19629
|
-
*/
|
|
19630
|
-
async close() {
|
|
19631
|
-
this.kupClose.emit({
|
|
19632
|
-
comp: this,
|
|
19633
|
-
id: this.rootElement.id,
|
|
19634
|
-
});
|
|
19635
|
-
this.rootElement.remove();
|
|
19786
|
+
isPickerOpened() {
|
|
19787
|
+
return this.pickerContainerEl.menuVisible == true;
|
|
19636
19788
|
}
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
* @param {boolean} descriptions - When provided and true, the result will be the list of props with their description.
|
|
19640
|
-
* @returns {Promise<GenericObject>} List of props as object, each key will be a prop.
|
|
19641
|
-
*/
|
|
19642
|
-
async getProps(descriptions) {
|
|
19643
|
-
return getProps(this, KupDialogProps, descriptions);
|
|
19789
|
+
getTextFieldId() {
|
|
19790
|
+
return this.textfieldEl.id;
|
|
19644
19791
|
}
|
|
19645
|
-
|
|
19646
|
-
|
|
19647
|
-
|
|
19648
|
-
|
|
19649
|
-
|
|
19650
|
-
|
|
19651
|
-
|
|
19652
|
-
|
|
19653
|
-
|
|
19792
|
+
prepTextfield(initialValue) {
|
|
19793
|
+
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
19794
|
+
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
19795
|
+
const textfieldData = Object.assign({}, this.data['kup-text-field']);
|
|
19796
|
+
if (!textfieldData.icon) {
|
|
19797
|
+
textfieldData.icon = 'calendar';
|
|
19798
|
+
}
|
|
19799
|
+
if (textfieldData.icon) {
|
|
19800
|
+
textfieldData.trailingIcon = true;
|
|
19801
|
+
}
|
|
19802
|
+
return (h(FTextField, Object.assign({}, textfieldData, { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, id: this.rootElement.id + '_text-field', value: initialValue, onBlur: () => this.onKupBlur(), onChange: (e) => this.onKupChange(e), onClearIconClick: () => this.onKupClearIconClick(), onClick: () => this.onKupClick(), onFocus: () => this.onKupFocus(), onIconClick: () => this.onKupIconClick(), onKeyDown: (e) => this.onkupTextFieldSubmit(e), onInput: (e) => this.onKupInput(e) }), this.prepDatePicker()));
|
|
19654
19803
|
}
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19658
|
-
|
|
19659
|
-
forceUpdate(this);
|
|
19804
|
+
getInitEndYear(curYear) {
|
|
19805
|
+
let initYear = curYear - (curYear % 10);
|
|
19806
|
+
let endYear = initYear + 16 - 1;
|
|
19807
|
+
return { initYear: initYear, endYear: endYear };
|
|
19660
19808
|
}
|
|
19661
|
-
|
|
19662
|
-
|
|
19663
|
-
|
|
19664
|
-
|
|
19665
|
-
|
|
19666
|
-
|
|
19809
|
+
isRelatedTargetInThisComponent(e) {
|
|
19810
|
+
if (!e.relatedTarget) {
|
|
19811
|
+
return false;
|
|
19812
|
+
}
|
|
19813
|
+
let id = e.relatedTarget.id;
|
|
19814
|
+
if (id == null || id.trim() == '') {
|
|
19815
|
+
return false;
|
|
19816
|
+
}
|
|
19817
|
+
if (id == this.getTextFieldId()) {
|
|
19818
|
+
return true;
|
|
19819
|
+
}
|
|
19820
|
+
let idConc = '#prev-page#next-page#date-picker-div#change-view-button#calendar#';
|
|
19821
|
+
return idConc.indexOf('#' + id + '#') >= 0;
|
|
19822
|
+
}
|
|
19823
|
+
prepDatePicker() {
|
|
19824
|
+
const data = {
|
|
19825
|
+
options: {
|
|
19826
|
+
initialValue: this.value,
|
|
19827
|
+
firstDayIndex: this.firstDayIndex,
|
|
19828
|
+
resetStatus: true,
|
|
19829
|
+
},
|
|
19830
|
+
};
|
|
19831
|
+
return (h("kup-card", { ref: (el) => (this.pickerContainerEl = el), data: data, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "auto", isMenu: true, "onkup-card-click": (ev) => {
|
|
19832
|
+
if (ev.detail.value != null && ev.detail.value != '')
|
|
19833
|
+
this.onKupDatePickerItemClick(ev.detail.value);
|
|
19834
|
+
} }));
|
|
19835
|
+
}
|
|
19836
|
+
getDateForOutput() {
|
|
19837
|
+
if (this.value == null || this.value.trim() == '') {
|
|
19838
|
+
return '';
|
|
19839
|
+
}
|
|
19840
|
+
let v1 = this.kupManager.dates.format(this.value);
|
|
19841
|
+
return v1;
|
|
19667
19842
|
}
|
|
19668
19843
|
/*-------------------------------------------------*/
|
|
19669
19844
|
/* L i f e c y c l e H o o k s */
|
|
19670
19845
|
/*-------------------------------------------------*/
|
|
19671
19846
|
componentWillLoad() {
|
|
19672
|
-
|
|
19673
|
-
|
|
19847
|
+
this.kupManager.dates.register(this);
|
|
19848
|
+
this.kupManager.debug.logLoad(this, false);
|
|
19849
|
+
this.kupManager.theme.register(this);
|
|
19850
|
+
this.watchFirstDayIndex();
|
|
19851
|
+
this.value = this.initialValue;
|
|
19852
|
+
if (!this.data) {
|
|
19853
|
+
this.data = {
|
|
19854
|
+
'kup-text-field': {},
|
|
19855
|
+
};
|
|
19856
|
+
}
|
|
19674
19857
|
}
|
|
19675
19858
|
componentDidLoad() {
|
|
19676
|
-
|
|
19677
|
-
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").interact.dialogify(this.rootElement, __classPrivateFieldGet$4(this, _KupDialog_header, "f") ? __classPrivateFieldGet$4(this, _KupDialog_header, "f") : null, !this.resizable);
|
|
19678
|
-
if ((_a = this.autoCenter) === null || _a === void 0 ? void 0 : _a.onReady) {
|
|
19679
|
-
this.recalcPosition().then(() => {
|
|
19680
|
-
this.rootElement.removeAttribute('fade-in');
|
|
19681
|
-
});
|
|
19682
|
-
}
|
|
19683
|
-
else {
|
|
19684
|
-
this.rootElement.removeAttribute('fade-in');
|
|
19685
|
-
}
|
|
19686
|
-
if (this.modal) {
|
|
19687
|
-
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").interact.showModalBackdrop(this.modal.closeOnBackdropClick
|
|
19688
|
-
? () => {
|
|
19689
|
-
this.close();
|
|
19690
|
-
}
|
|
19691
|
-
: null);
|
|
19692
|
-
}
|
|
19693
|
-
this.kupReady.emit({
|
|
19694
|
-
comp: this,
|
|
19695
|
-
id: this.rootElement.id,
|
|
19696
|
-
});
|
|
19697
|
-
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").debug.logLoad(this, true);
|
|
19859
|
+
this.kupManager.debug.logLoad(this, true);
|
|
19698
19860
|
}
|
|
19699
19861
|
componentWillRender() {
|
|
19700
|
-
|
|
19862
|
+
this.kupManager.debug.logRender(this, false);
|
|
19701
19863
|
}
|
|
19702
19864
|
componentDidRender() {
|
|
19703
|
-
|
|
19865
|
+
const root = this.rootElement.shadowRoot;
|
|
19866
|
+
if (root) {
|
|
19867
|
+
const f = root.querySelector('.f-text-field');
|
|
19868
|
+
if (f) {
|
|
19869
|
+
this.textfieldEl = f.querySelector('input');
|
|
19870
|
+
FTextFieldMDC(f);
|
|
19871
|
+
}
|
|
19872
|
+
}
|
|
19873
|
+
this.kupManager.debug.logRender(this, true);
|
|
19704
19874
|
}
|
|
19705
19875
|
render() {
|
|
19706
|
-
|
|
19707
|
-
const style = {
|
|
19708
|
-
'--kup_dialog_height': this.sizeY ? this.sizeY : 'auto',
|
|
19709
|
-
'--kup_dialog_width': this.sizeX ? this.sizeX : 'auto',
|
|
19710
|
-
};
|
|
19711
|
-
return (h(Host, { "fade-in": true, style: style }, h("style", null, __classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$3(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_a = this.header.icons) === null || _a === void 0 ? void 0 : _a.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : null, h("div", { class: "content" }, h("slot", null)))));
|
|
19876
|
+
return (h(Host, null, h("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, this.prepTextfield(this.getDateForOutput()))));
|
|
19712
19877
|
}
|
|
19713
19878
|
disconnectedCallback() {
|
|
19714
|
-
|
|
19715
|
-
|
|
19879
|
+
this.kupManager.dates.unregister(this);
|
|
19880
|
+
this.kupManager.theme.unregister(this);
|
|
19881
|
+
if (this.pickerContainerEl) {
|
|
19882
|
+
this.pickerContainerEl.remove();
|
|
19716
19883
|
}
|
|
19717
|
-
__classPrivateFieldGet$4(this, _KupDialog_kupManager, "f").theme.unregister(this);
|
|
19718
19884
|
}
|
|
19719
19885
|
get rootElement() { return this; }
|
|
19720
|
-
static get
|
|
19721
|
-
|
|
19722
|
-
|
|
19886
|
+
static get watchers() { return {
|
|
19887
|
+
"firstDayIndex": ["watchFirstDayIndex"]
|
|
19888
|
+
}; }
|
|
19889
|
+
static get style() { return kupDatePickerCss; }
|
|
19890
|
+
}, [1, "kup-date-picker", {
|
|
19723
19891
|
"customStyle": [1, "custom-style"],
|
|
19724
|
-
"
|
|
19725
|
-
"
|
|
19726
|
-
"
|
|
19727
|
-
"
|
|
19728
|
-
"
|
|
19729
|
-
"
|
|
19892
|
+
"data": [1040],
|
|
19893
|
+
"disabled": [4],
|
|
19894
|
+
"firstDayIndex": [2, "first-day-index"],
|
|
19895
|
+
"initialValue": [1, "initial-value"],
|
|
19896
|
+
"stateSwitcher": [32],
|
|
19897
|
+
"value": [32],
|
|
19898
|
+
"getValue": [64],
|
|
19730
19899
|
"getProps": [64],
|
|
19731
|
-
"recalcPosition": [64],
|
|
19732
19900
|
"refresh": [64],
|
|
19733
|
-
"
|
|
19901
|
+
"setFocus": [64],
|
|
19902
|
+
"setValue": [64]
|
|
19903
|
+
}, [[0, "keyup", "listenKeyup"]], {
|
|
19904
|
+
"firstDayIndex": ["watchFirstDayIndex"]
|
|
19734
19905
|
}]);
|
|
19735
|
-
_KupDialog_header = new WeakMap(), _KupDialog_kupManager = new WeakMap();
|
|
19736
19906
|
function defineCustomElement$c() {
|
|
19737
19907
|
if (typeof customElements === "undefined") {
|
|
19738
19908
|
return;
|
|
19739
19909
|
}
|
|
19740
|
-
const components = ["kup-
|
|
19910
|
+
const components = ["kup-date-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
19741
19911
|
components.forEach(tagName => { switch (tagName) {
|
|
19742
|
-
case "kup-
|
|
19912
|
+
case "kup-date-picker":
|
|
19743
19913
|
if (!customElements.get(tagName)) {
|
|
19744
|
-
customElements.define(tagName,
|
|
19914
|
+
customElements.define(tagName, KupDatePicker);
|
|
19745
19915
|
}
|
|
19746
19916
|
break;
|
|
19747
19917
|
case "kup-autocomplete":
|
|
@@ -19800,6 +19970,11 @@ function defineCustomElement$c() {
|
|
|
19800
19970
|
}
|
|
19801
19971
|
break;
|
|
19802
19972
|
case "kup-date-picker":
|
|
19973
|
+
if (!customElements.get(tagName)) {
|
|
19974
|
+
defineCustomElement$c();
|
|
19975
|
+
}
|
|
19976
|
+
break;
|
|
19977
|
+
case "kup-dialog":
|
|
19803
19978
|
if (!customElements.get(tagName)) {
|
|
19804
19979
|
defineCustomElement$d();
|
|
19805
19980
|
}
|
|
@@ -20345,7 +20520,7 @@ function defineCustomElement$b() {
|
|
|
20345
20520
|
if (typeof customElements === "undefined") {
|
|
20346
20521
|
return;
|
|
20347
20522
|
}
|
|
20348
|
-
const components = ["kup-form", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
20523
|
+
const components = ["kup-form", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
20349
20524
|
components.forEach(tagName => { switch (tagName) {
|
|
20350
20525
|
case "kup-form":
|
|
20351
20526
|
if (!customElements.get(tagName)) {
|
|
@@ -20408,6 +20583,11 @@ function defineCustomElement$b() {
|
|
|
20408
20583
|
}
|
|
20409
20584
|
break;
|
|
20410
20585
|
case "kup-date-picker":
|
|
20586
|
+
if (!customElements.get(tagName)) {
|
|
20587
|
+
defineCustomElement$c();
|
|
20588
|
+
}
|
|
20589
|
+
break;
|
|
20590
|
+
case "kup-dialog":
|
|
20411
20591
|
if (!customElements.get(tagName)) {
|
|
20412
20592
|
defineCustomElement$d();
|
|
20413
20593
|
}
|
|
@@ -21568,12 +21748,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
21568
21748
|
' Magic Box ' +
|
|
21569
21749
|
'(' +
|
|
21570
21750
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
21571
|
-
')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").
|
|
21572
|
-
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").openAIInterface.url ? (h("kup-button", { title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
|
|
21751
|
+
')', icon: "auto-fix", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").toggleMagicBox() }), __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").openAI && __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").openAI.url ? (h("kup-button", { title: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOGGLE) +
|
|
21573
21752
|
' Open AI ' +
|
|
21574
21753
|
'(' +
|
|
21575
21754
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
21576
|
-
')', icon: "open-ai", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").
|
|
21755
|
+
')', icon: "open-ai", "onkup-button-click": () => __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").openAI.show(this.data) })) : null), totalsMatrix));
|
|
21577
21756
|
}
|
|
21578
21757
|
render() {
|
|
21579
21758
|
__classPrivateFieldSet$2(this, _KupDataTable_thRefs, [], "f");
|
|
@@ -24191,12 +24370,12 @@ function defineCustomElement$a() {
|
|
|
24191
24370
|
break;
|
|
24192
24371
|
case "kup-date-picker":
|
|
24193
24372
|
if (!customElements.get(tagName)) {
|
|
24194
|
-
defineCustomElement$
|
|
24373
|
+
defineCustomElement$c();
|
|
24195
24374
|
}
|
|
24196
24375
|
break;
|
|
24197
24376
|
case "kup-dialog":
|
|
24198
24377
|
if (!customElements.get(tagName)) {
|
|
24199
|
-
defineCustomElement$
|
|
24378
|
+
defineCustomElement$d();
|
|
24200
24379
|
}
|
|
24201
24380
|
break;
|
|
24202
24381
|
case "kup-dropdown-button":
|
|
@@ -24638,7 +24817,7 @@ function defineCustomElement$9() {
|
|
|
24638
24817
|
if (typeof customElements === "undefined") {
|
|
24639
24818
|
return;
|
|
24640
24819
|
}
|
|
24641
|
-
const components = ["kup-combobox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
24820
|
+
const components = ["kup-combobox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
24642
24821
|
components.forEach(tagName => { switch (tagName) {
|
|
24643
24822
|
case "kup-combobox":
|
|
24644
24823
|
if (!customElements.get(tagName)) {
|
|
@@ -24701,6 +24880,11 @@ function defineCustomElement$9() {
|
|
|
24701
24880
|
}
|
|
24702
24881
|
break;
|
|
24703
24882
|
case "kup-date-picker":
|
|
24883
|
+
if (!customElements.get(tagName)) {
|
|
24884
|
+
defineCustomElement$c();
|
|
24885
|
+
}
|
|
24886
|
+
break;
|
|
24887
|
+
case "kup-dialog":
|
|
24704
24888
|
if (!customElements.get(tagName)) {
|
|
24705
24889
|
defineCustomElement$d();
|
|
24706
24890
|
}
|
|
@@ -25038,7 +25222,7 @@ function defineCustomElement$8() {
|
|
|
25038
25222
|
if (typeof customElements === "undefined") {
|
|
25039
25223
|
return;
|
|
25040
25224
|
}
|
|
25041
|
-
const components = ["kup-color-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25225
|
+
const components = ["kup-color-picker", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25042
25226
|
components.forEach(tagName => { switch (tagName) {
|
|
25043
25227
|
case "kup-color-picker":
|
|
25044
25228
|
if (!customElements.get(tagName)) {
|
|
@@ -25101,6 +25285,11 @@ function defineCustomElement$8() {
|
|
|
25101
25285
|
}
|
|
25102
25286
|
break;
|
|
25103
25287
|
case "kup-date-picker":
|
|
25288
|
+
if (!customElements.get(tagName)) {
|
|
25289
|
+
defineCustomElement$c();
|
|
25290
|
+
}
|
|
25291
|
+
break;
|
|
25292
|
+
case "kup-dialog":
|
|
25104
25293
|
if (!customElements.get(tagName)) {
|
|
25105
25294
|
defineCustomElement$d();
|
|
25106
25295
|
}
|
|
@@ -25425,7 +25614,7 @@ function defineCustomElement$7() {
|
|
|
25425
25614
|
if (typeof customElements === "undefined") {
|
|
25426
25615
|
return;
|
|
25427
25616
|
}
|
|
25428
|
-
const components = ["kup-chip", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25617
|
+
const components = ["kup-chip", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25429
25618
|
components.forEach(tagName => { switch (tagName) {
|
|
25430
25619
|
case "kup-chip":
|
|
25431
25620
|
if (!customElements.get(tagName)) {
|
|
@@ -25488,6 +25677,11 @@ function defineCustomElement$7() {
|
|
|
25488
25677
|
}
|
|
25489
25678
|
break;
|
|
25490
25679
|
case "kup-date-picker":
|
|
25680
|
+
if (!customElements.get(tagName)) {
|
|
25681
|
+
defineCustomElement$c();
|
|
25682
|
+
}
|
|
25683
|
+
break;
|
|
25684
|
+
case "kup-dialog":
|
|
25491
25685
|
if (!customElements.get(tagName)) {
|
|
25492
25686
|
defineCustomElement$d();
|
|
25493
25687
|
}
|
|
@@ -25712,7 +25906,7 @@ function defineCustomElement$6() {
|
|
|
25712
25906
|
if (typeof customElements === "undefined") {
|
|
25713
25907
|
return;
|
|
25714
25908
|
}
|
|
25715
|
-
const components = ["kup-checkbox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25909
|
+
const components = ["kup-checkbox", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
25716
25910
|
components.forEach(tagName => { switch (tagName) {
|
|
25717
25911
|
case "kup-checkbox":
|
|
25718
25912
|
if (!customElements.get(tagName)) {
|
|
@@ -25775,6 +25969,11 @@ function defineCustomElement$6() {
|
|
|
25775
25969
|
}
|
|
25776
25970
|
break;
|
|
25777
25971
|
case "kup-date-picker":
|
|
25972
|
+
if (!customElements.get(tagName)) {
|
|
25973
|
+
defineCustomElement$c();
|
|
25974
|
+
}
|
|
25975
|
+
break;
|
|
25976
|
+
case "kup-dialog":
|
|
25778
25977
|
if (!customElements.get(tagName)) {
|
|
25779
25978
|
defineCustomElement$d();
|
|
25780
25979
|
}
|
|
@@ -26355,7 +26554,7 @@ function defineCustomElement$5() {
|
|
|
26355
26554
|
if (typeof customElements === "undefined") {
|
|
26356
26555
|
return;
|
|
26357
26556
|
}
|
|
26358
|
-
const components = ["kup-chart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
26557
|
+
const components = ["kup-chart", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
26359
26558
|
components.forEach(tagName => { switch (tagName) {
|
|
26360
26559
|
case "kup-chart":
|
|
26361
26560
|
if (!customElements.get(tagName)) {
|
|
@@ -26418,6 +26617,11 @@ function defineCustomElement$5() {
|
|
|
26418
26617
|
}
|
|
26419
26618
|
break;
|
|
26420
26619
|
case "kup-date-picker":
|
|
26620
|
+
if (!customElements.get(tagName)) {
|
|
26621
|
+
defineCustomElement$c();
|
|
26622
|
+
}
|
|
26623
|
+
break;
|
|
26624
|
+
case "kup-dialog":
|
|
26421
26625
|
if (!customElements.get(tagName)) {
|
|
26422
26626
|
defineCustomElement$d();
|
|
26423
26627
|
}
|
|
@@ -26485,7 +26689,7 @@ function defineCustomElement$5() {
|
|
|
26485
26689
|
} });
|
|
26486
26690
|
}
|
|
26487
26691
|
|
|
26488
|
-
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}";
|
|
26692
|
+
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}.built-in-layout-7{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:1.25em 1.25em}.built-in-layout-7 .wrapper{margin:auto}.built-in-layout-7 .wrapper.ready{display:flex;flex-direction:column;height:100%;width:100%}.built-in-layout-7 .password{padding:1.5em 0}.built-in-layout-7 .query-area{min-width:250px}.built-in-layout-7 .chat-area{overflow:auto;padding-top:1.25em;white-space:pre-line;word-break:normal}.built-in-layout-7 .spinner{height:48px;margin:auto;width:48px}.built-in-layout-7 .title{text-align:center;font-size:2em;padding:0.75em 0 0.5em}.built-in-layout-7 .empty,.built-in-layout-7 .text{font-size:0.875em;font-style:italic;opacity:0.5;text-align:center}.built-in-layout-7 .buttons{display:flex;justify-content:space-evenly;padding:1em 0}.built-in-layout-7 .request,.built-in-layout-7 .response{padding:0.5em 1em 1em 1em}.built-in-layout-7 .request{font-weight:bold}.built-in-layout-7 .response{margin-bottom:1em}.built-in-layout-7 .message-container{background-color:var(--kup-background-color);border-radius:4px;position:relative}.built-in-layout-7 .message-container:hover{background-color:rgba(var(--kup-primary-color-rgb), 0.175)}.built-in-layout-7 .message-container:hover .copy{opacity:1}.built-in-layout-7 .copy{--kup-button-font-size:0.75em;bottom:0;opacity:0;position:absolute;right:0;transition:background-color 125ms ease, opacity 250ms ease}.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}";
|
|
26489
26693
|
|
|
26490
26694
|
const KupCard = /*@__PURE__*/ proxyCustomElement(class KupCard extends HTMLElement$1 {
|
|
26491
26695
|
constructor() {
|
|
@@ -26738,6 +26942,12 @@ const KupCard = /*@__PURE__*/ proxyCustomElement(class KupCard extends HTMLEleme
|
|
|
26738
26942
|
this.rootElement.style.setProperty('--kup_card_dynamic_color_' + index, this.kupManager.theme.colorContrast(window.getComputedStyle(dynColors[index])
|
|
26739
26943
|
.backgroundColor));
|
|
26740
26944
|
}
|
|
26945
|
+
const autoscroll = root.querySelectorAll('.' + KupCardCSSClasses.AUTOSCROLL);
|
|
26946
|
+
if (autoscroll && autoscroll.length) {
|
|
26947
|
+
autoscroll.forEach((el) => {
|
|
26948
|
+
el.scrollTop = el.scrollHeight;
|
|
26949
|
+
});
|
|
26950
|
+
}
|
|
26741
26951
|
switch (family) {
|
|
26742
26952
|
case KupCardFamily.COLLAPSIBLE:
|
|
26743
26953
|
this.collapsible();
|
|
@@ -26993,12 +27203,12 @@ function defineCustomElement$4() {
|
|
|
26993
27203
|
break;
|
|
26994
27204
|
case "kup-date-picker":
|
|
26995
27205
|
if (!customElements.get(tagName)) {
|
|
26996
|
-
defineCustomElement$
|
|
27206
|
+
defineCustomElement$c();
|
|
26997
27207
|
}
|
|
26998
27208
|
break;
|
|
26999
27209
|
case "kup-dialog":
|
|
27000
27210
|
if (!customElements.get(tagName)) {
|
|
27001
|
-
defineCustomElement$
|
|
27211
|
+
defineCustomElement$d();
|
|
27002
27212
|
}
|
|
27003
27213
|
break;
|
|
27004
27214
|
case "kup-dropdown-button":
|
|
@@ -27352,7 +27562,7 @@ function defineCustomElement$3() {
|
|
|
27352
27562
|
if (typeof customElements === "undefined") {
|
|
27353
27563
|
return;
|
|
27354
27564
|
}
|
|
27355
|
-
const components = ["kup-button-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
27565
|
+
const components = ["kup-button-list", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
27356
27566
|
components.forEach(tagName => { switch (tagName) {
|
|
27357
27567
|
case "kup-button-list":
|
|
27358
27568
|
if (!customElements.get(tagName)) {
|
|
@@ -27415,6 +27625,11 @@ function defineCustomElement$3() {
|
|
|
27415
27625
|
}
|
|
27416
27626
|
break;
|
|
27417
27627
|
case "kup-date-picker":
|
|
27628
|
+
if (!customElements.get(tagName)) {
|
|
27629
|
+
defineCustomElement$c();
|
|
27630
|
+
}
|
|
27631
|
+
break;
|
|
27632
|
+
case "kup-dialog":
|
|
27418
27633
|
if (!customElements.get(tagName)) {
|
|
27419
27634
|
defineCustomElement$d();
|
|
27420
27635
|
}
|
|
@@ -27684,7 +27899,7 @@ function defineCustomElement$2() {
|
|
|
27684
27899
|
if (typeof customElements === "undefined") {
|
|
27685
27900
|
return;
|
|
27686
27901
|
}
|
|
27687
|
-
const components = ["kup-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
27902
|
+
const components = ["kup-button", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
27688
27903
|
components.forEach(tagName => { switch (tagName) {
|
|
27689
27904
|
case "kup-button":
|
|
27690
27905
|
if (!customElements.get(tagName)) {
|
|
@@ -27747,6 +27962,11 @@ function defineCustomElement$2() {
|
|
|
27747
27962
|
}
|
|
27748
27963
|
break;
|
|
27749
27964
|
case "kup-date-picker":
|
|
27965
|
+
if (!customElements.get(tagName)) {
|
|
27966
|
+
defineCustomElement$c();
|
|
27967
|
+
}
|
|
27968
|
+
break;
|
|
27969
|
+
case "kup-dialog":
|
|
27750
27970
|
if (!customElements.get(tagName)) {
|
|
27751
27971
|
defineCustomElement$d();
|
|
27752
27972
|
}
|
|
@@ -27912,7 +28132,7 @@ function defineCustomElement$1() {
|
|
|
27912
28132
|
if (typeof customElements === "undefined") {
|
|
27913
28133
|
return;
|
|
27914
28134
|
}
|
|
27915
|
-
const components = ["kup-badge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
28135
|
+
const components = ["kup-badge", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
27916
28136
|
components.forEach(tagName => { switch (tagName) {
|
|
27917
28137
|
case "kup-badge":
|
|
27918
28138
|
if (!customElements.get(tagName)) {
|
|
@@ -27975,6 +28195,11 @@ function defineCustomElement$1() {
|
|
|
27975
28195
|
}
|
|
27976
28196
|
break;
|
|
27977
28197
|
case "kup-date-picker":
|
|
28198
|
+
if (!customElements.get(tagName)) {
|
|
28199
|
+
defineCustomElement$c();
|
|
28200
|
+
}
|
|
28201
|
+
break;
|
|
28202
|
+
case "kup-dialog":
|
|
27978
28203
|
if (!customElements.get(tagName)) {
|
|
27979
28204
|
defineCustomElement$d();
|
|
27980
28205
|
}
|
|
@@ -28415,7 +28640,7 @@ function defineCustomElement() {
|
|
|
28415
28640
|
if (typeof customElements === "undefined") {
|
|
28416
28641
|
return;
|
|
28417
28642
|
}
|
|
28418
|
-
const components = ["kup-autocomplete", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
28643
|
+
const components = ["kup-autocomplete", "kup-autocomplete", "kup-badge", "kup-button", "kup-button-list", "kup-card", "kup-chart", "kup-checkbox", "kup-chip", "kup-color-picker", "kup-combobox", "kup-data-table", "kup-date-picker", "kup-dialog", "kup-dropdown-button", "kup-gauge", "kup-image", "kup-list", "kup-progress-bar", "kup-radio", "kup-rating", "kup-spinner", "kup-switch", "kup-tab-bar", "kup-text-field", "kup-time-picker", "kup-tree"];
|
|
28419
28644
|
components.forEach(tagName => { switch (tagName) {
|
|
28420
28645
|
case "kup-autocomplete":
|
|
28421
28646
|
if (!customElements.get(tagName)) {
|
|
@@ -28478,6 +28703,11 @@ function defineCustomElement() {
|
|
|
28478
28703
|
}
|
|
28479
28704
|
break;
|
|
28480
28705
|
case "kup-date-picker":
|
|
28706
|
+
if (!customElements.get(tagName)) {
|
|
28707
|
+
defineCustomElement$c();
|
|
28708
|
+
}
|
|
28709
|
+
break;
|
|
28710
|
+
case "kup-dialog":
|
|
28481
28711
|
if (!customElements.get(tagName)) {
|
|
28482
28712
|
defineCustomElement$d();
|
|
28483
28713
|
}
|
|
@@ -28550,4 +28780,4 @@ function defineCustomElement() {
|
|
|
28550
28780
|
} });
|
|
28551
28781
|
}
|
|
28552
28782
|
|
|
28553
|
-
export { FCheckbox as $, defineCustomElement$1 as A, defineCustomElement as B, KupBadge as C, filterRows as D, paginateRows as E, FImage as F, sortRows as G, pageChange as H, rowsPerPageChange as I, FCell as J, KupAutocomplete as K, FChip as L, MDCRipple as M, FTextFieldMDC as N, FPaginator as O, FPaginatorMode as P, KupButton as Q, KupButtonList as R, FButton as S, FChipType as T, KupCard as U, KupChart as V, KupCheckbox as W, KupChip as X, KupColorPicker as Y, KupCombobox as Z, FTextField as _, defineCustomElement$o as a, KupDataTable as a0, KupDatePicker as a1, KupDialog as a2, KupDropdownButton as a3, FButtonStyling as a4, KupForm as a5, KupGauge as a6, KupImage as a7, KupList as a8, KupProgressBar as a9, KupRadio as aa, KupRating as ab, KupSpinner as ac, KupSwitch as ad, KupTabBar as ae, KupTextField as af, KupTimePicker as ag, KupTree as ah, defineCustomElement$n as b, componentWrapperId as c, defineCustomElement$q as d, defineCustomElement$m as e, defineCustomElement$l as f, defineCustomElement$k as g, defineCustomElement$j as h, defineCustomElement$p as i, defineCustomElement$i as j, defineCustomElement$h as k, defineCustomElement$g as l, defineCustomElement$f as m, defineCustomElement$b as n, defineCustomElement$e as o, defineCustomElement$
|
|
28783
|
+
export { FCheckbox as $, defineCustomElement$1 as A, defineCustomElement as B, KupBadge as C, filterRows as D, paginateRows as E, FImage as F, sortRows as G, pageChange as H, rowsPerPageChange as I, FCell as J, KupAutocomplete as K, FChip as L, MDCRipple as M, FTextFieldMDC as N, FPaginator as O, FPaginatorMode as P, KupButton as Q, KupButtonList as R, FButton as S, FChipType as T, KupCard as U, KupChart as V, KupCheckbox as W, KupChip as X, KupColorPicker as Y, KupCombobox as Z, FTextField as _, defineCustomElement$o as a, KupDataTable as a0, KupDatePicker as a1, KupDialog as a2, KupDropdownButton as a3, FButtonStyling as a4, KupForm as a5, KupGauge as a6, KupImage as a7, KupList as a8, KupProgressBar as a9, KupRadio as aa, KupRating as ab, KupSpinner as ac, KupSwitch as ad, KupTabBar as ae, KupTextField as af, KupTimePicker as ag, KupTree as ah, defineCustomElement$n as b, componentWrapperId as c, defineCustomElement$q as d, defineCustomElement$m as e, defineCustomElement$l as f, defineCustomElement$k as g, defineCustomElement$j as h, defineCustomElement$p as i, defineCustomElement$i as j, defineCustomElement$h as k, defineCustomElement$g as l, defineCustomElement$f as m, defineCustomElement$b as n, defineCustomElement$e as o, defineCustomElement$d as p, defineCustomElement$c as q, defineCustomElement$a as r, defineCustomElement$9 as s, defineCustomElement$8 as t, defineCustomElement$7 as u, defineCustomElement$6 as v, defineCustomElement$5 as w, defineCustomElement$4 as x, defineCustomElement$3 as y, defineCustomElement$2 as z };
|