@sme.up/ketchup 7.5.0-SNAPSHOT → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{component-72a5b626.js → component-85c2bd4d.js} +1 -1
- package/dist/cjs/{f-button-a508a0a1.js → f-button-c0ede055.js} +1 -1
- package/dist/cjs/{f-cell-52d724f5.js → f-cell-1c17dbac.js} +15 -8
- package/dist/cjs/{f-chip-cbb70aed.js → f-chip-bace36bb.js} +2 -2
- package/dist/cjs/{f-image-510563ed.js → f-image-22174590.js} +1 -1
- package/dist/cjs/{f-paginator-utils-ff531caa.js → f-paginator-utils-e21e1f06.js} +2 -2
- package/dist/cjs/{f-text-field-d17e5aa0.js → f-text-field-503f2bb0.js} +82 -8
- package/dist/cjs/{f-text-field-mdc-85997738.js → f-text-field-mdc-0e22f3e3.js} +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +4 -4
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +851 -824
- package/dist/cjs/kup-box.cjs.entry.js +10 -10
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dash-list.cjs.entry.js +2 -3
- package/dist/cjs/kup-dash_2.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +7 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +25 -8
- package/dist/cjs/kup-family-tree.cjs.entry.js +7 -18
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +8 -8
- 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-9e1680dd.js → kup-manager-b994cf71.js} +164 -16
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +5 -5
- package/dist/cjs/kup-photo-frame.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +1041 -192
- 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 +12 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{tslib.es6-0ee02c67.js → tslib.es6-386654de.js} +9 -5
- package/dist/collection/assets/data-table.js +44 -0
- package/dist/collection/components/kup-chip/kup-chip.js +4 -3
- package/dist/collection/components/kup-dash-list/kup-dash-list.js +1 -3
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +5 -16
- package/dist/collection/components/kup-echart/kup-echart-declarations.js +2 -0
- package/dist/collection/components/kup-echart/kup-echart.js +23 -8
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +4 -15
- package/dist/collection/components/kup-planner/kup-planner-declarations.js +1 -0
- package/dist/collection/components/kup-planner/kup-planner.css +1 -3
- package/dist/collection/components/kup-planner/kup-planner.js +302 -72
- package/dist/collection/components/kup-snackbar/kup-snackbar.css +4 -3
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +27 -0
- package/dist/collection/components/kup-text-field/kup-text-field-declarations.js +3 -0
- package/dist/collection/components/kup-text-field/kup-text-field.js +109 -10
- package/dist/collection/components/kup-tree/kup-tree.js +66 -67
- package/dist/collection/f-components/f-cell/f-cell.js +12 -5
- package/dist/collection/f-components/f-text-field/f-text-field.js +80 -6
- package/dist/collection/managers/kup-manager/kup-manager.js +18 -0
- package/dist/collection/managers/kup-math/kup-math.js +85 -4
- package/dist/collection/utils/utils.js +1 -10
- package/dist/components/kup-autocomplete2.js +648 -386
- package/dist/components/kup-dash-list.js +2 -3
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart2.js +25 -8
- package/dist/components/kup-family-tree.js +5 -16
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +1041 -189
- package/dist/components/kup-snackbar.js +9 -1
- package/dist/esm/{component-b1bedf1d.js → component-120651a0.js} +1 -1
- package/dist/esm/{f-button-b7f77b26.js → f-button-c377973d.js} +1 -1
- package/dist/esm/{f-cell-dc3beffe.js → f-cell-e5a98bc8.js} +15 -8
- package/dist/esm/{f-chip-0a678211.js → f-chip-c8a18c48.js} +2 -2
- package/dist/esm/{f-image-f84dbd7c.js → f-image-5cbdf39d.js} +1 -1
- package/dist/esm/{f-paginator-utils-52902bd6.js → f-paginator-utils-a1dab059.js} +2 -2
- package/dist/esm/{f-text-field-7dd143be.js → f-text-field-dafb7c8b.js} +82 -8
- package/dist/esm/{f-text-field-mdc-d42d3f9e.js → f-text-field-mdc-cee583ea.js} +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +4 -4
- package/dist/esm/kup-autocomplete_27.entry.js +851 -824
- package/dist/esm/kup-box.entry.js +10 -10
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dash-list.entry.js +2 -3
- package/dist/esm/kup-dash_2.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +7 -7
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +25 -8
- package/dist/esm/kup-family-tree.entry.js +7 -18
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-a5ab58a0.js → kup-manager-3594cde8.js} +163 -16
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +5 -5
- package/dist/esm/kup-photo-frame.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +1042 -193
- 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 +12 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{tslib.es6-3eea2234.js → tslib.es6-8c2af864.js} +9 -5
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-98ff4101.entry.js → p-017418e7.entry.js} +1 -1
- package/dist/ketchup/{p-81605f08.js → p-10d84b1b.js} +1 -1
- package/dist/ketchup/{p-871cfe60.entry.js → p-22e72f06.entry.js} +1 -1
- package/dist/ketchup/{p-a203f78b.js → p-27a56c87.js} +1 -1
- package/dist/ketchup/{p-7065b172.js → p-2d32e3cd.js} +1 -1
- package/dist/ketchup/{p-a122b8d3.entry.js → p-31abf4b6.entry.js} +1 -1
- package/dist/ketchup/{p-beb0907a.entry.js → p-37ada0f0.entry.js} +1 -1
- package/dist/ketchup/p-38f16697.entry.js +9 -0
- package/dist/ketchup/{p-69f3b9da.js → p-4638fbff.js} +1 -1
- package/dist/ketchup/{p-00fc0f80.entry.js → p-473d2bea.entry.js} +1 -1
- package/dist/ketchup/{p-166257d0.entry.js → p-4c56e199.entry.js} +1 -1
- package/dist/ketchup/p-5205286a.entry.js +25 -0
- package/dist/ketchup/p-61319cfa.js +1 -0
- package/dist/ketchup/{p-de34eb56.js → p-6762d447.js} +1 -1
- package/dist/ketchup/{p-7040cab7.entry.js → p-6c726886.entry.js} +1 -1
- package/dist/ketchup/p-7be5ef32.entry.js +1 -0
- package/dist/ketchup/{p-e92d1972.entry.js → p-7f4f5f0f.entry.js} +1 -1
- package/dist/ketchup/p-7f59211b.js +1 -0
- package/dist/ketchup/{p-78d1fc60.entry.js → p-80815edf.entry.js} +1 -1
- package/dist/ketchup/p-8b248655.js +1 -0
- package/dist/ketchup/{p-a32cc181.entry.js → p-9fc6a9a8.entry.js} +1 -1
- package/dist/ketchup/{p-4fd6c34c.js → p-acaa171f.js} +3 -3
- package/dist/ketchup/{p-6022c951.entry.js → p-afff7a6e.entry.js} +1 -1
- package/dist/ketchup/{p-d315f7fa.entry.js → p-b718af72.entry.js} +1 -1
- package/dist/ketchup/p-bf4a881b.js +1 -0
- package/dist/ketchup/{p-c797ab39.entry.js → p-ce5b6ce7.entry.js} +1 -1
- package/dist/ketchup/p-cf322853.entry.js +1 -0
- package/dist/ketchup/{p-d2670436.entry.js → p-d1164680.entry.js} +1 -1
- package/dist/ketchup/{p-efb80719.entry.js → p-d4eb9a76.entry.js} +1 -1
- package/dist/ketchup/p-d76be079.entry.js +1 -0
- package/dist/ketchup/{p-d711e9ae.entry.js → p-ed7e118e.entry.js} +1 -1
- package/dist/ketchup/{p-f158836b.entry.js → p-ef0b4f19.entry.js} +2 -2
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +1 -1
- package/dist/types/components/kup-echart/kup-echart-declarations.d.ts +2 -0
- package/dist/types/components/kup-planner/kup-planner-declarations.d.ts +15 -2
- package/dist/types/components/kup-planner/kup-planner.d.ts +36 -11
- package/dist/types/components/kup-snackbar/kup-snackbar.d.ts +5 -0
- package/dist/types/components/kup-text-field/kup-text-field-declarations.d.ts +3 -0
- package/dist/types/components/kup-text-field/kup-text-field.d.ts +20 -2
- package/dist/types/components/kup-tree/kup-tree.d.ts +1 -5
- package/dist/types/components.d.ts +72 -4
- package/dist/types/f-components/f-text-field/f-text-field-declarations.d.ts +3 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -1
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +1 -0
- package/dist/types/managers/kup-manager/kup-manager.d.ts +7 -0
- package/dist/types/managers/kup-math/kup-math-declarations.d.ts +6 -0
- package/dist/types/managers/kup-math/kup-math.d.ts +26 -2
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +6 -18
- package/dist/ketchup/p-28efed63.js +0 -1
- package/dist/ketchup/p-3ae1409f.entry.js +0 -1
- package/dist/ketchup/p-71cb80ac.entry.js +0 -9
- package/dist/ketchup/p-79b0730b.js +0 -15
- package/dist/ketchup/p-8d0e6825.entry.js +0 -1
- package/dist/ketchup/p-9ae47a0d.entry.js +0 -1
- package/dist/ketchup/p-c5c6a2fb.js +0 -1
- package/dist/ketchup/p-d1e3573f.js +0 -1
- package/dist/ketchup/p-f69a6d89.entry.js +0 -10
|
@@ -51,7 +51,7 @@ function getNormalizedEventCoords(evt, pageOffset, clientRect) {
|
|
|
51
51
|
return { x: normalizedX, y: normalizedY };
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
/******************************************************************************
|
|
55
55
|
Copyright (c) Microsoft Corporation.
|
|
56
56
|
|
|
57
57
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -122,10 +122,14 @@ function __read(o, n) {
|
|
|
122
122
|
return ar;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
function __spreadArray(to, from) {
|
|
126
|
-
for (var i = 0,
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
function __spreadArray(to, from, pack) {
|
|
126
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
127
|
+
if (ar || !(i in from)) {
|
|
128
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
129
|
+
ar[i] = from[i];
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
129
133
|
}
|
|
130
134
|
|
|
131
135
|
/**
|
|
@@ -1430,13 +1434,13 @@ var __classPrivateFieldSet$8 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
1430
1434
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1431
1435
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1432
1436
|
};
|
|
1433
|
-
var __classPrivateFieldGet$
|
|
1437
|
+
var __classPrivateFieldGet$b = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
1434
1438
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
1435
1439
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1436
1440
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1437
1441
|
};
|
|
1438
1442
|
var _KupDebug_debugWidget;
|
|
1439
|
-
const dom$
|
|
1443
|
+
const dom$y = document.documentElement;
|
|
1440
1444
|
/**
|
|
1441
1445
|
* Debugging suite, used to log messages and statuses from the Ketchup components.
|
|
1442
1446
|
* @module KupDebug
|
|
@@ -1459,7 +1463,7 @@ class KupDebug {
|
|
|
1459
1463
|
this.logs = [];
|
|
1460
1464
|
__classPrivateFieldSet$8(this, _KupDebug_debugWidget, null, "f");
|
|
1461
1465
|
document.addEventListener('kup-language-change', () => {
|
|
1462
|
-
if (this.active && __classPrivateFieldGet$
|
|
1466
|
+
if (this.active && __classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f")) {
|
|
1463
1467
|
this.hideWidget();
|
|
1464
1468
|
this.showWidget();
|
|
1465
1469
|
}
|
|
@@ -1483,32 +1487,32 @@ class KupDebug {
|
|
|
1483
1487
|
*/
|
|
1484
1488
|
showWidget() {
|
|
1485
1489
|
const debugWidget = document.createElement('kup-card');
|
|
1486
|
-
const languages = dom$
|
|
1490
|
+
const languages = dom$y.ketchup.language.getLanguages();
|
|
1487
1491
|
const languagesListData = [];
|
|
1488
1492
|
for (let index = 0; index < languages.length; index++) {
|
|
1489
1493
|
languagesListData.push({
|
|
1490
1494
|
id: languages[index],
|
|
1491
|
-
selected: languages[index] === dom$
|
|
1495
|
+
selected: languages[index] === dom$y.ketchup.language.name
|
|
1492
1496
|
? true
|
|
1493
1497
|
: false,
|
|
1494
1498
|
value: languages[index],
|
|
1495
1499
|
});
|
|
1496
1500
|
}
|
|
1497
|
-
const themes = dom$
|
|
1501
|
+
const themes = dom$y.ketchup.theme.getThemes();
|
|
1498
1502
|
const themesListData = [];
|
|
1499
1503
|
for (let index = 0; index < themes.length; index++) {
|
|
1500
1504
|
themesListData.push({
|
|
1501
1505
|
id: themes[index],
|
|
1502
|
-
selected: themes[index] === dom$
|
|
1506
|
+
selected: themes[index] === dom$y.ketchup.theme.name ? true : false,
|
|
1503
1507
|
value: themes[index],
|
|
1504
1508
|
});
|
|
1505
1509
|
}
|
|
1506
|
-
const locales = dom$
|
|
1510
|
+
const locales = dom$y.ketchup.dates.getLocales();
|
|
1507
1511
|
const localesListData = [];
|
|
1508
1512
|
for (let index = 0; index < locales.length; index++) {
|
|
1509
1513
|
localesListData.push({
|
|
1510
1514
|
id: locales[index],
|
|
1511
|
-
selected: locales[index] === dom$
|
|
1515
|
+
selected: locales[index] === dom$y.ketchup.dates.locale ? true : false,
|
|
1512
1516
|
value: locales[index],
|
|
1513
1517
|
});
|
|
1514
1518
|
}
|
|
@@ -1518,13 +1522,13 @@ class KupDebug {
|
|
|
1518
1522
|
icon: 'power_settings_new',
|
|
1519
1523
|
id: 'kup-debug-off',
|
|
1520
1524
|
customStyle: ':host {--kup-font-size: 0.875em; border-left: 1px solid var(--kup-border-color); border-right: 1px solid var(--kup-border-color);}',
|
|
1521
|
-
title: dom$
|
|
1525
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.OFF),
|
|
1522
1526
|
},
|
|
1523
1527
|
{
|
|
1524
1528
|
customStyle: ':host {--kup-font-size: 0.875em;}',
|
|
1525
1529
|
icon: 'print',
|
|
1526
1530
|
id: 'kup-debug-print',
|
|
1527
|
-
title: dom$
|
|
1531
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.PRINT),
|
|
1528
1532
|
},
|
|
1529
1533
|
{
|
|
1530
1534
|
checked: this.autoPrint,
|
|
@@ -1532,20 +1536,20 @@ class KupDebug {
|
|
|
1532
1536
|
icon: 'speaker_notes',
|
|
1533
1537
|
iconOff: 'speaker_notes_off',
|
|
1534
1538
|
id: 'kup-debug-autoprint',
|
|
1535
|
-
title: dom$
|
|
1539
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.AUTOPRINT),
|
|
1536
1540
|
toggable: true,
|
|
1537
1541
|
},
|
|
1538
1542
|
{
|
|
1539
1543
|
customStyle: ':host {--kup-font-size: 0.875em;}',
|
|
1540
1544
|
icon: 'broom',
|
|
1541
1545
|
id: 'kup-debug-clear',
|
|
1542
|
-
title: dom$
|
|
1546
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.CLEAR),
|
|
1543
1547
|
},
|
|
1544
1548
|
{
|
|
1545
1549
|
customStyle: ':host {--kup-font-size: 0.875em;}',
|
|
1546
1550
|
icon: 'delete',
|
|
1547
1551
|
id: 'kup-debug-delete',
|
|
1548
|
-
title: dom$
|
|
1552
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.DUMP),
|
|
1549
1553
|
},
|
|
1550
1554
|
{
|
|
1551
1555
|
className: 'kup-full-height',
|
|
@@ -1554,22 +1558,22 @@ class KupDebug {
|
|
|
1554
1558
|
id: 'kup-debug-dl-props',
|
|
1555
1559
|
label: 'Props',
|
|
1556
1560
|
styling: 'flat',
|
|
1557
|
-
title: dom$
|
|
1561
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.DL_PROPS),
|
|
1558
1562
|
},
|
|
1559
1563
|
{
|
|
1560
1564
|
className: 'kup-full-height',
|
|
1561
1565
|
customStyle: ':host {border-right: 1px solid var(--kup-border-color);}',
|
|
1562
1566
|
icon: 'download',
|
|
1563
1567
|
id: 'kup-debug-dl-all',
|
|
1564
|
-
label: dom$
|
|
1568
|
+
label: dom$y.ketchup.language.translate(KupLanguageDebug.DL_ALL),
|
|
1565
1569
|
styling: 'flat',
|
|
1566
|
-
title: dom$
|
|
1570
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.DL_ALL),
|
|
1567
1571
|
},
|
|
1568
1572
|
{
|
|
1569
1573
|
customStyle: ':host {--kup-font-size: 0.875em;}',
|
|
1570
1574
|
icon: 'auto-fix',
|
|
1571
1575
|
id: 'kup-debug-magic-box',
|
|
1572
|
-
title: dom$
|
|
1576
|
+
title: dom$y.ketchup.language.translate(KupLanguageDebug.MAGIC_BOX),
|
|
1573
1577
|
},
|
|
1574
1578
|
],
|
|
1575
1579
|
combobox: [
|
|
@@ -1584,11 +1588,11 @@ class KupDebug {
|
|
|
1584
1588
|
className: 'kup-full-height',
|
|
1585
1589
|
emitSubmitEventOnEnter: false,
|
|
1586
1590
|
inputType: 'text',
|
|
1587
|
-
label: dom$
|
|
1591
|
+
label: dom$y.ketchup.language.translate(KupLanguageDebug.THEME_CHANGER),
|
|
1588
1592
|
},
|
|
1589
1593
|
},
|
|
1590
1594
|
id: 'kup-debug-theme-changer',
|
|
1591
|
-
initialValue: dom$
|
|
1595
|
+
initialValue: dom$y.ketchup.theme.name,
|
|
1592
1596
|
isSelect: true,
|
|
1593
1597
|
},
|
|
1594
1598
|
{
|
|
@@ -1602,11 +1606,11 @@ class KupDebug {
|
|
|
1602
1606
|
className: 'kup-full-height',
|
|
1603
1607
|
emitSubmitEventOnEnter: false,
|
|
1604
1608
|
inputType: 'text',
|
|
1605
|
-
label: dom$
|
|
1609
|
+
label: dom$y.ketchup.language.translate(KupLanguageDebug.LANGUAGE_CHANGER),
|
|
1606
1610
|
},
|
|
1607
1611
|
},
|
|
1608
1612
|
id: 'kup-debug-language-changer',
|
|
1609
|
-
initialValue: dom$
|
|
1613
|
+
initialValue: dom$y.ketchup.language.name,
|
|
1610
1614
|
isSelect: true,
|
|
1611
1615
|
},
|
|
1612
1616
|
{
|
|
@@ -1620,11 +1624,11 @@ class KupDebug {
|
|
|
1620
1624
|
className: 'kup-full-height',
|
|
1621
1625
|
emitSubmitEventOnEnter: false,
|
|
1622
1626
|
inputType: 'text',
|
|
1623
|
-
label: dom$
|
|
1627
|
+
label: dom$y.ketchup.language.translate(KupLanguageDebug.LOCALE_CHANGER),
|
|
1624
1628
|
},
|
|
1625
1629
|
},
|
|
1626
1630
|
id: 'kup-debug-locale-changer',
|
|
1627
|
-
initialValue: dom$
|
|
1631
|
+
initialValue: dom$y.ketchup.dates.locale,
|
|
1628
1632
|
isSelect: true,
|
|
1629
1633
|
},
|
|
1630
1634
|
],
|
|
@@ -1632,7 +1636,7 @@ class KupDebug {
|
|
|
1632
1636
|
{
|
|
1633
1637
|
className: 'kup-full-height',
|
|
1634
1638
|
id: 'kup-debug-log-limit',
|
|
1635
|
-
label: dom$
|
|
1639
|
+
label: dom$y.ketchup.language.translate(KupLanguageDebug.LOG_LIMIT),
|
|
1636
1640
|
initialValue: this.logLimit,
|
|
1637
1641
|
emitSubmitEventOnEnter: false,
|
|
1638
1642
|
inputType: 'number',
|
|
@@ -1667,7 +1671,7 @@ class KupDebug {
|
|
|
1667
1671
|
break;
|
|
1668
1672
|
case 'kup-debug-clear':
|
|
1669
1673
|
kupDebug.widgetClear();
|
|
1670
|
-
__classPrivateFieldGet$
|
|
1674
|
+
__classPrivateFieldGet$b(kupDebug, _KupDebug_debugWidget, "f").refresh();
|
|
1671
1675
|
break;
|
|
1672
1676
|
case 'kup-debug-dl-props':
|
|
1673
1677
|
kupDebug.getProps().then((res) => {
|
|
@@ -1683,7 +1687,7 @@ class KupDebug {
|
|
|
1683
1687
|
kupDebug.dump();
|
|
1684
1688
|
break;
|
|
1685
1689
|
case 'kup-debug-magic-box':
|
|
1686
|
-
dom$
|
|
1690
|
+
dom$y.ketchup.toggleMagicBox();
|
|
1687
1691
|
break;
|
|
1688
1692
|
case 'kup-debug-off':
|
|
1689
1693
|
kupDebug.toggle();
|
|
@@ -1691,21 +1695,21 @@ class KupDebug {
|
|
|
1691
1695
|
case 'kup-debug-print':
|
|
1692
1696
|
kupDebug.widgetClear();
|
|
1693
1697
|
kupDebug.widgetPrint();
|
|
1694
|
-
__classPrivateFieldGet$
|
|
1698
|
+
__classPrivateFieldGet$b(kupDebug, _KupDebug_debugWidget, "f").refresh();
|
|
1695
1699
|
break;
|
|
1696
1700
|
}
|
|
1697
1701
|
break;
|
|
1698
1702
|
case 'kup-combobox-itemclick':
|
|
1699
1703
|
switch (compID) {
|
|
1700
1704
|
case 'kup-debug-language-changer':
|
|
1701
|
-
dom$
|
|
1705
|
+
dom$y.ketchup.language.set(compEvent.detail.value);
|
|
1702
1706
|
break;
|
|
1703
1707
|
case 'kup-debug-locale-changer':
|
|
1704
|
-
dom$
|
|
1705
|
-
dom$
|
|
1708
|
+
dom$y.ketchup.dates.setLocale(compEvent.detail.value);
|
|
1709
|
+
dom$y.ketchup.math.setLocale(compEvent.detail.value);
|
|
1706
1710
|
break;
|
|
1707
1711
|
case 'kup-debug-theme-changer':
|
|
1708
|
-
dom$
|
|
1712
|
+
dom$y.ketchup.theme.set(compEvent.detail.value);
|
|
1709
1713
|
break;
|
|
1710
1714
|
}
|
|
1711
1715
|
case 'kup-textfield-input':
|
|
@@ -1726,14 +1730,14 @@ class KupDebug {
|
|
|
1726
1730
|
* Closes the debug widget.
|
|
1727
1731
|
*/
|
|
1728
1732
|
hideWidget() {
|
|
1729
|
-
__classPrivateFieldGet$
|
|
1733
|
+
__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f").remove();
|
|
1730
1734
|
__classPrivateFieldSet$8(this, _KupDebug_debugWidget, null, "f");
|
|
1731
1735
|
}
|
|
1732
1736
|
/**
|
|
1733
1737
|
* Clears all the printed logs inside the debug widget.
|
|
1734
1738
|
*/
|
|
1735
1739
|
widgetClear() {
|
|
1736
|
-
const children = Array.prototype.slice.call(__classPrivateFieldGet$
|
|
1740
|
+
const children = Array.prototype.slice.call(__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f").children, 0);
|
|
1737
1741
|
for (let index = 0; index < children.length; index++) {
|
|
1738
1742
|
children[index].remove();
|
|
1739
1743
|
}
|
|
@@ -1767,7 +1771,7 @@ class KupDebug {
|
|
|
1767
1771
|
// If the log is tied to a KupComponent, on click its props will be downloaded.
|
|
1768
1772
|
// Also, a different style will be applied to distinguish it between the others.
|
|
1769
1773
|
if (typeof this.logs[index].element == 'object') {
|
|
1770
|
-
slot.title = dom$
|
|
1774
|
+
slot.title = dom$y.ketchup.language.translate(KupLanguageDebug.DL_PROPS_COMP);
|
|
1771
1775
|
slot.style.fontWeight = 'bold';
|
|
1772
1776
|
slot.style.cursor = 'pointer';
|
|
1773
1777
|
slot.onclick = () => {
|
|
@@ -1797,7 +1801,7 @@ class KupDebug {
|
|
|
1797
1801
|
}
|
|
1798
1802
|
slots.reverse();
|
|
1799
1803
|
for (let index = 0; index < slots.length; index++) {
|
|
1800
|
-
__classPrivateFieldGet$
|
|
1804
|
+
__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f").append(slots[index]);
|
|
1801
1805
|
}
|
|
1802
1806
|
}
|
|
1803
1807
|
/**
|
|
@@ -1825,7 +1829,7 @@ class KupDebug {
|
|
|
1825
1829
|
printLog[type] = [];
|
|
1826
1830
|
}
|
|
1827
1831
|
printLog[type].push({
|
|
1828
|
-
date: dom$
|
|
1832
|
+
date: dom$y.ketchup.dates.format(this.logs[index].date, 'LLL:ms'),
|
|
1829
1833
|
element: isComponent
|
|
1830
1834
|
? this.logs[index].element
|
|
1831
1835
|
: this.logs[index].id,
|
|
@@ -1872,13 +1876,13 @@ class KupDebug {
|
|
|
1872
1876
|
}
|
|
1873
1877
|
if (this.active) {
|
|
1874
1878
|
document.dispatchEvent(new CustomEvent('kup-debug-active'));
|
|
1875
|
-
if (!__classPrivateFieldGet$
|
|
1879
|
+
if (!__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f")) {
|
|
1876
1880
|
this.showWidget();
|
|
1877
1881
|
}
|
|
1878
1882
|
}
|
|
1879
1883
|
else {
|
|
1880
1884
|
document.dispatchEvent(new CustomEvent('kup-debug-inactive'));
|
|
1881
|
-
if (__classPrivateFieldGet$
|
|
1885
|
+
if (__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f")) {
|
|
1882
1886
|
this.hideWidget();
|
|
1883
1887
|
}
|
|
1884
1888
|
}
|
|
@@ -2005,7 +2009,7 @@ class KupDebug {
|
|
|
2005
2009
|
message: message,
|
|
2006
2010
|
};
|
|
2007
2011
|
if (this.logs.length > this.logLimit) {
|
|
2008
|
-
console.warn(dom$
|
|
2012
|
+
console.warn(dom$y.ketchup.dates.format(date, 'LLL:ms') +
|
|
2009
2013
|
' kup-debug => ' +
|
|
2010
2014
|
'Too many logs (> ' +
|
|
2011
2015
|
this.logLimit +
|
|
@@ -2013,22 +2017,22 @@ class KupDebug {
|
|
|
2013
2017
|
this.dump();
|
|
2014
2018
|
}
|
|
2015
2019
|
this.logs.push(log);
|
|
2016
|
-
if (this.autoPrint && __classPrivateFieldGet$
|
|
2020
|
+
if (this.autoPrint && __classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f")) {
|
|
2017
2021
|
this.widgetClear();
|
|
2018
2022
|
this.widgetPrint();
|
|
2019
|
-
__classPrivateFieldGet$
|
|
2023
|
+
__classPrivateFieldGet$b(this, _KupDebug_debugWidget, "f").refresh();
|
|
2020
2024
|
}
|
|
2021
2025
|
}
|
|
2022
2026
|
switch (category) {
|
|
2023
2027
|
case KupDebugCategory.ERROR:
|
|
2024
|
-
console.error(dom$
|
|
2028
|
+
console.error(dom$y.ketchup.dates.format(date, 'LLL:ms') + id + message, obj);
|
|
2025
2029
|
window.dispatchEvent(new CustomEvent('kup-debug-error', {
|
|
2026
2030
|
bubbles: true,
|
|
2027
2031
|
detail: { comp, date, message },
|
|
2028
2032
|
}));
|
|
2029
2033
|
break;
|
|
2030
2034
|
case KupDebugCategory.WARNING:
|
|
2031
|
-
console.warn(dom$
|
|
2035
|
+
console.warn(dom$y.ketchup.dates.format(date, 'LLL:ms') + id + message, obj);
|
|
2032
2036
|
break;
|
|
2033
2037
|
}
|
|
2034
2038
|
}
|
|
@@ -2115,7 +2119,7 @@ var KupDynamicPositionPlacement;
|
|
|
2115
2119
|
KupDynamicPositionPlacement["TOP_RIGHT"] = "tr";
|
|
2116
2120
|
})(KupDynamicPositionPlacement || (KupDynamicPositionPlacement = {}));
|
|
2117
2121
|
|
|
2118
|
-
const dom$
|
|
2122
|
+
const dom$x = document.documentElement;
|
|
2119
2123
|
/**
|
|
2120
2124
|
* This class is used to dynamically reposition HTML elements.
|
|
2121
2125
|
* @module KupDynamicPosition
|
|
@@ -2183,7 +2187,7 @@ class KupDynamicPosition {
|
|
|
2183
2187
|
const target = mutations[0].target;
|
|
2184
2188
|
if (target.classList.contains(kupDynamicPositionActiveClass)) {
|
|
2185
2189
|
requestAnimationFrame(function () {
|
|
2186
|
-
dom$
|
|
2190
|
+
dom$x.ketchup.dynamicPosition.run(el);
|
|
2187
2191
|
});
|
|
2188
2192
|
}
|
|
2189
2193
|
});
|
|
@@ -2240,7 +2244,7 @@ class KupDynamicPosition {
|
|
|
2240
2244
|
*/
|
|
2241
2245
|
run(el) {
|
|
2242
2246
|
if (!el.isConnected) {
|
|
2243
|
-
dom$
|
|
2247
|
+
dom$x.ketchup.dynamicPosition.managedElements.delete(el);
|
|
2244
2248
|
cancelAnimationFrame(el.kupDynamicPosition.rAF);
|
|
2245
2249
|
return;
|
|
2246
2250
|
}
|
|
@@ -2348,7 +2352,7 @@ class KupDynamicPosition {
|
|
|
2348
2352
|
// Recursive
|
|
2349
2353
|
if (!el.kupDynamicPosition.detach) {
|
|
2350
2354
|
el.kupDynamicPosition.rAF = requestAnimationFrame(function () {
|
|
2351
|
-
dom$
|
|
2355
|
+
dom$x.ketchup.dynamicPosition.run(el);
|
|
2352
2356
|
});
|
|
2353
2357
|
}
|
|
2354
2358
|
else {
|
|
@@ -2436,7 +2440,7 @@ var KupDropEventTypes;
|
|
|
2436
2440
|
KupDropEventTypes["MAGICBOX"] = "text/kup-magic-box-drag";
|
|
2437
2441
|
})(KupDropEventTypes || (KupDropEventTypes = {}));
|
|
2438
2442
|
|
|
2439
|
-
const dom$
|
|
2443
|
+
const dom$w = document.documentElement;
|
|
2440
2444
|
/**
|
|
2441
2445
|
* This class handles elements as dialogs, making them resizable and movable.
|
|
2442
2446
|
* @module KupInteract
|
|
@@ -2550,7 +2554,7 @@ class KupInteract {
|
|
|
2550
2554
|
ghostImage.style.transition = 'none';
|
|
2551
2555
|
ghostImage.style.zIndex =
|
|
2552
2556
|
'calc(var(--kup-navbar-zindex) + 1)';
|
|
2553
|
-
dom$
|
|
2557
|
+
dom$w.ketchup.interact.container.appendChild(ghostImage);
|
|
2554
2558
|
draggable.kupDragDrop.ghostImage = ghostImage;
|
|
2555
2559
|
break;
|
|
2556
2560
|
case KupDragEffect.CLONE:
|
|
@@ -2711,7 +2715,7 @@ class KupInteract {
|
|
|
2711
2715
|
x += e.deltaRect.left;
|
|
2712
2716
|
y += e.deltaRect.top;
|
|
2713
2717
|
el.style.transform = 'translate(' + x + 'px,' + y + 'px)';
|
|
2714
|
-
if (dom$
|
|
2718
|
+
if (dom$w.ketchup.interact.isInViewport(el, oldTransform, e.delta)) {
|
|
2715
2719
|
el.setAttribute('data-x', x.toString());
|
|
2716
2720
|
el.setAttribute('data-y', y.toString());
|
|
2717
2721
|
}
|
|
@@ -2763,7 +2767,7 @@ class KupInteract {
|
|
|
2763
2767
|
const callbacks = {
|
|
2764
2768
|
start(e) {
|
|
2765
2769
|
const el = e.currentTarget;
|
|
2766
|
-
el.style.zIndex = (dom$
|
|
2770
|
+
el.style.zIndex = (dom$w.ketchup.interact.zIndex++).toString();
|
|
2767
2771
|
},
|
|
2768
2772
|
};
|
|
2769
2773
|
this.draggable(el, {
|
|
@@ -2772,7 +2776,7 @@ class KupInteract {
|
|
|
2772
2776
|
interact.modifiers.restrictRect({
|
|
2773
2777
|
restriction: restrictContainer
|
|
2774
2778
|
? restrictContainer
|
|
2775
|
-
: dom$
|
|
2779
|
+
: dom$w.ketchup.interact.restrictContainer,
|
|
2776
2780
|
endOnly: true,
|
|
2777
2781
|
}),
|
|
2778
2782
|
],
|
|
@@ -3724,7 +3728,7 @@ const languages = {
|
|
|
3724
3728
|
spanish: spanish
|
|
3725
3729
|
};
|
|
3726
3730
|
|
|
3727
|
-
const dom$
|
|
3731
|
+
const dom$v = document.documentElement;
|
|
3728
3732
|
/**
|
|
3729
3733
|
* Handles the translation to different languages.
|
|
3730
3734
|
* @module KupLanguage
|
|
@@ -3778,7 +3782,7 @@ class KupLanguage {
|
|
|
3778
3782
|
return invalidKey(key);
|
|
3779
3783
|
}
|
|
3780
3784
|
function invalidKey(key) {
|
|
3781
|
-
dom$
|
|
3785
|
+
dom$v.ketchup.debug.logMessage('kup-language', 'Invalid translation for key (' + key + ')!', KupDebugCategory.WARNING);
|
|
3782
3786
|
return key;
|
|
3783
3787
|
}
|
|
3784
3788
|
}
|
|
@@ -3791,7 +3795,7 @@ class KupLanguage {
|
|
|
3791
3795
|
language = language.toLowerCase();
|
|
3792
3796
|
}
|
|
3793
3797
|
else {
|
|
3794
|
-
dom$
|
|
3798
|
+
dom$v.ketchup.debug.logMessage('kup-language', "Couldn't set language, invalid string received (" +
|
|
3795
3799
|
language +
|
|
3796
3800
|
')!', KupDebugCategory.WARNING);
|
|
3797
3801
|
return;
|
|
@@ -3801,12 +3805,12 @@ class KupLanguage {
|
|
|
3801
3805
|
const dVariant = decodedLanguage.variant;
|
|
3802
3806
|
if (this.list[dLanguage]) {
|
|
3803
3807
|
if (dVariant && !this.list[dLanguage].variants[dVariant]) {
|
|
3804
|
-
dom$
|
|
3808
|
+
dom$v.ketchup.debug.logMessage('kup-language', 'Variant not found (' + dVariant + ')!', KupDebugCategory.WARNING);
|
|
3805
3809
|
return;
|
|
3806
3810
|
}
|
|
3807
3811
|
}
|
|
3808
3812
|
else {
|
|
3809
|
-
dom$
|
|
3813
|
+
dom$v.ketchup.debug.logMessage('kup-language', 'Language not found (' + dLanguage + ')!', KupDebugCategory.WARNING);
|
|
3810
3814
|
return;
|
|
3811
3815
|
}
|
|
3812
3816
|
this.name = language;
|
|
@@ -3893,7 +3897,7 @@ const obj = {
|
|
|
3893
3897
|
types: types
|
|
3894
3898
|
};
|
|
3895
3899
|
|
|
3896
|
-
const dom$
|
|
3900
|
+
const dom$u = document.documentElement;
|
|
3897
3901
|
/**
|
|
3898
3902
|
* Handles objects definition and validation.
|
|
3899
3903
|
* @module KupObjects
|
|
@@ -4228,9 +4232,9 @@ class KupObjects {
|
|
|
4228
4232
|
*/
|
|
4229
4233
|
parseDate(obj) {
|
|
4230
4234
|
if (obj.t === 'D8' && obj.p === '*DMYY') {
|
|
4231
|
-
return dom$
|
|
4235
|
+
return dom$u.ketchup.dates.toDayjs(obj.k, 'DDMMYYYY');
|
|
4232
4236
|
}
|
|
4233
|
-
return dom$
|
|
4237
|
+
return dom$u.ketchup.dates.toDayjs(obj.k);
|
|
4234
4238
|
}
|
|
4235
4239
|
/**
|
|
4236
4240
|
* Check whether two JS objects are deeply equal. When the arguments aren't objects, they are tested directly for equity.
|
|
@@ -4297,13 +4301,13 @@ var __classPrivateFieldSet$7 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
4297
4301
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
4298
4302
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
4299
4303
|
};
|
|
4300
|
-
var __classPrivateFieldGet$
|
|
4304
|
+
var __classPrivateFieldGet$a = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
4301
4305
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
4302
4306
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
4303
4307
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
4304
4308
|
};
|
|
4305
4309
|
var _KupScrollOnHover_instances, _KupScrollOnHover_arrowsContainer, _KupScrollOnHover_leftArrows, _KupScrollOnHover_rightArrows, _KupScrollOnHover_scrollEvent, _KupScrollOnHover_mousemoveEvent, _KupScrollOnHover_mouseleaveEvent, _KupScrollOnHover_rAF, _KupScrollOnHover_timeout, _KupScrollOnHover_initArrows;
|
|
4306
|
-
const dom$
|
|
4310
|
+
const dom$t = document.documentElement;
|
|
4307
4311
|
/**
|
|
4308
4312
|
* Lets the user scroll an element's overflow by hovering with the mouse on its left/right edge.
|
|
4309
4313
|
* @module KupScrollOnHover
|
|
@@ -4342,8 +4346,8 @@ class KupScrollOnHover {
|
|
|
4342
4346
|
* @param {number} step - The amount in pixels for each scroll recursion.
|
|
4343
4347
|
*/
|
|
4344
4348
|
register(el, vertical, percentages, step) {
|
|
4345
|
-
if (!__classPrivateFieldGet$
|
|
4346
|
-
__classPrivateFieldGet$
|
|
4349
|
+
if (!__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f")) {
|
|
4350
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_instances, "m", _KupScrollOnHover_initArrows).call(this);
|
|
4347
4351
|
}
|
|
4348
4352
|
el.style.overflowX = 'auto';
|
|
4349
4353
|
el.scrollOnHover = {
|
|
@@ -4359,10 +4363,10 @@ class KupScrollOnHover {
|
|
|
4359
4363
|
y: 0,
|
|
4360
4364
|
};
|
|
4361
4365
|
if (el.scrollOnHover.children) {
|
|
4362
|
-
el.addEventListener('scroll', __classPrivateFieldGet$
|
|
4366
|
+
el.addEventListener('scroll', __classPrivateFieldGet$a(this, _KupScrollOnHover_scrollEvent, "f"));
|
|
4363
4367
|
}
|
|
4364
|
-
el.addEventListener('mousemove', __classPrivateFieldGet$
|
|
4365
|
-
el.addEventListener('mouseleave', __classPrivateFieldGet$
|
|
4368
|
+
el.addEventListener('mousemove', __classPrivateFieldGet$a(this, _KupScrollOnHover_mousemoveEvent, "f"));
|
|
4369
|
+
el.addEventListener('mouseleave', __classPrivateFieldGet$a(this, _KupScrollOnHover_mouseleaveEvent, "f"));
|
|
4366
4370
|
this.managedElements.add(el);
|
|
4367
4371
|
}
|
|
4368
4372
|
/**
|
|
@@ -4370,9 +4374,9 @@ class KupScrollOnHover {
|
|
|
4370
4374
|
* @param {KupScrollOnHoverElement} el - Element to unregister.
|
|
4371
4375
|
*/
|
|
4372
4376
|
unregister(el) {
|
|
4373
|
-
el.removeEventListener('scroll', __classPrivateFieldGet$
|
|
4374
|
-
el.removeEventListener('mousemove', __classPrivateFieldGet$
|
|
4375
|
-
el.removeEventListener('mouseleave', __classPrivateFieldGet$
|
|
4377
|
+
el.removeEventListener('scroll', __classPrivateFieldGet$a(this, _KupScrollOnHover_scrollEvent, "f"));
|
|
4378
|
+
el.removeEventListener('mousemove', __classPrivateFieldGet$a(this, _KupScrollOnHover_mousemoveEvent, "f"));
|
|
4379
|
+
el.removeEventListener('mouseleave', __classPrivateFieldGet$a(this, _KupScrollOnHover_mouseleaveEvent, "f"));
|
|
4376
4380
|
if (this.managedElements) {
|
|
4377
4381
|
this.managedElements.delete(el);
|
|
4378
4382
|
}
|
|
@@ -4394,9 +4398,9 @@ class KupScrollOnHover {
|
|
|
4394
4398
|
el.scrollOnHover.rect = el.getBoundingClientRect();
|
|
4395
4399
|
el.scrollOnHover.x = event.clientX;
|
|
4396
4400
|
el.scrollOnHover.y = event.clientY;
|
|
4397
|
-
__classPrivateFieldGet$
|
|
4398
|
-
__classPrivateFieldGet$
|
|
4399
|
-
if (el.scrollOnHover.active || __classPrivateFieldGet$
|
|
4401
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f").style.left = event.clientX + 'px';
|
|
4402
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f").style.top = event.clientY + 'px';
|
|
4403
|
+
if (el.scrollOnHover.active || __classPrivateFieldGet$a(this, _KupScrollOnHover_timeout, "f")) {
|
|
4400
4404
|
return;
|
|
4401
4405
|
}
|
|
4402
4406
|
let trueHeight = el.clientHeight;
|
|
@@ -4423,16 +4427,16 @@ class KupScrollOnHover {
|
|
|
4423
4427
|
if (direction) {
|
|
4424
4428
|
for (let i = 0; i < 3; i++) {
|
|
4425
4429
|
if (direction === ScrollOnHoverDirection.LEFT) {
|
|
4426
|
-
__classPrivateFieldGet$
|
|
4430
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[i].classList.add('kup-activated');
|
|
4427
4431
|
}
|
|
4428
4432
|
else {
|
|
4429
|
-
__classPrivateFieldGet$
|
|
4433
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[i].classList.add('kup-activated');
|
|
4430
4434
|
}
|
|
4431
4435
|
}
|
|
4432
4436
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_timeout, setTimeout(() => {
|
|
4433
4437
|
el.scrollOnHover.active = true;
|
|
4434
4438
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_rAF, requestAnimationFrame(function () {
|
|
4435
|
-
dom$
|
|
4439
|
+
dom$t.ketchup.scrollOnHover.run(el, maxScrollLeft, percRight, percLeft, direction);
|
|
4436
4440
|
}), "f");
|
|
4437
4441
|
}, this.delay), "f");
|
|
4438
4442
|
}
|
|
@@ -4454,7 +4458,7 @@ class KupScrollOnHover {
|
|
|
4454
4458
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_timeout, setTimeout(() => {
|
|
4455
4459
|
el.scrollOnHover.active = true;
|
|
4456
4460
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_rAF, requestAnimationFrame(function () {
|
|
4457
|
-
dom$
|
|
4461
|
+
dom$t.ketchup.scrollOnHover.run(el, maxScrollTop, percBottom, percTop, direction);
|
|
4458
4462
|
}), "f");
|
|
4459
4463
|
}, this.delay), "f");
|
|
4460
4464
|
}
|
|
@@ -4467,16 +4471,16 @@ class KupScrollOnHover {
|
|
|
4467
4471
|
*/
|
|
4468
4472
|
async stop(el) {
|
|
4469
4473
|
el.scrollOnHover.active = false;
|
|
4470
|
-
cancelAnimationFrame(__classPrivateFieldGet$
|
|
4471
|
-
clearTimeout(__classPrivateFieldGet$
|
|
4474
|
+
cancelAnimationFrame(__classPrivateFieldGet$a(this, _KupScrollOnHover_rAF, "f"));
|
|
4475
|
+
clearTimeout(__classPrivateFieldGet$a(this, _KupScrollOnHover_timeout, "f"));
|
|
4472
4476
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_timeout, null, "f");
|
|
4473
|
-
for (let i = 0; i < __classPrivateFieldGet$
|
|
4474
|
-
__classPrivateFieldGet$
|
|
4475
|
-
__classPrivateFieldGet$
|
|
4477
|
+
for (let i = 0; i < __classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f").length; i++) {
|
|
4478
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[i].classList.remove('kup-activated');
|
|
4479
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[i].classList.remove('kup-animated');
|
|
4476
4480
|
}
|
|
4477
|
-
for (let i = 0; i < __classPrivateFieldGet$
|
|
4478
|
-
__classPrivateFieldGet$
|
|
4479
|
-
__classPrivateFieldGet$
|
|
4481
|
+
for (let i = 0; i < __classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f").length; i++) {
|
|
4482
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[i].classList.remove('kup-activated');
|
|
4483
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[i].classList.remove('kup-animated');
|
|
4480
4484
|
}
|
|
4481
4485
|
}
|
|
4482
4486
|
/**
|
|
@@ -4548,7 +4552,7 @@ class KupScrollOnHover {
|
|
|
4548
4552
|
break;
|
|
4549
4553
|
}
|
|
4550
4554
|
case ScrollOnHoverDirection.LEFT: {
|
|
4551
|
-
arrow = __classPrivateFieldGet$
|
|
4555
|
+
arrow = __classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f");
|
|
4552
4556
|
if (el.scrollLeft === 0) {
|
|
4553
4557
|
this.stop(el);
|
|
4554
4558
|
return;
|
|
@@ -4559,7 +4563,7 @@ class KupScrollOnHover {
|
|
|
4559
4563
|
break;
|
|
4560
4564
|
}
|
|
4561
4565
|
case ScrollOnHoverDirection.RIGHT: {
|
|
4562
|
-
arrow = __classPrivateFieldGet$
|
|
4566
|
+
arrow = __classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f");
|
|
4563
4567
|
if (el.scrollLeft === maxScrollLeft) {
|
|
4564
4568
|
this.stop(el);
|
|
4565
4569
|
return;
|
|
@@ -4585,7 +4589,7 @@ class KupScrollOnHover {
|
|
|
4585
4589
|
arrow[i].classList.add('kup-animated');
|
|
4586
4590
|
}
|
|
4587
4591
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_rAF, requestAnimationFrame(function () {
|
|
4588
|
-
dom$
|
|
4592
|
+
dom$t.ketchup.scrollOnHover.run(el, maxScrollLeft, percForward, percBack, direction);
|
|
4589
4593
|
}), "f");
|
|
4590
4594
|
}
|
|
4591
4595
|
/**
|
|
@@ -4602,24 +4606,80 @@ _KupScrollOnHover_arrowsContainer = new WeakMap(), _KupScrollOnHover_leftArrows
|
|
|
4602
4606
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_arrowsContainer, document.createElement('div'), "f");
|
|
4603
4607
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_leftArrows, [], "f");
|
|
4604
4608
|
__classPrivateFieldSet$7(this, _KupScrollOnHover_rightArrows, [], "f");
|
|
4605
|
-
__classPrivateFieldGet$
|
|
4609
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f").id = 'kup-scrolling-arrows';
|
|
4606
4610
|
for (let index = 1; index < 4; index++) {
|
|
4607
4611
|
const arrow = document.createElement('div');
|
|
4608
4612
|
arrow.setAttribute('class', 'kup-left-scrolling-arrow kup-arrow-' + index);
|
|
4609
|
-
__classPrivateFieldGet$
|
|
4613
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f").push(arrow);
|
|
4610
4614
|
}
|
|
4611
4615
|
for (let index = 1; index < 4; index++) {
|
|
4612
4616
|
const arrow = document.createElement('div');
|
|
4613
4617
|
arrow.setAttribute('class', 'kup-right-scrolling-arrow kup-arrow-' + index);
|
|
4614
|
-
__classPrivateFieldGet$
|
|
4618
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f").push(arrow);
|
|
4615
4619
|
}
|
|
4616
|
-
__classPrivateFieldGet$
|
|
4620
|
+
__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f").append(__classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[2], __classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[1], __classPrivateFieldGet$a(this, _KupScrollOnHover_leftArrows, "f")[0], __classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[0], __classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[1], __classPrivateFieldGet$a(this, _KupScrollOnHover_rightArrows, "f")[2]);
|
|
4617
4621
|
this.container = document.createElement('div');
|
|
4618
4622
|
this.container.setAttribute('kup-scroll-on-hover', '');
|
|
4619
|
-
this.container.appendChild(__classPrivateFieldGet$
|
|
4623
|
+
this.container.appendChild(__classPrivateFieldGet$a(this, _KupScrollOnHover_arrowsContainer, "f"));
|
|
4620
4624
|
document.body.appendChild(this.container);
|
|
4621
4625
|
};
|
|
4622
4626
|
|
|
4627
|
+
const octane = {
|
|
4628
|
+
cssVariables: {
|
|
4629
|
+
"--kup-primary-color": "#068a9c",
|
|
4630
|
+
"--kup-secondary-color": "#f4a22e",
|
|
4631
|
+
"--kup-background-color": "#ffffff",
|
|
4632
|
+
"--kup-navbar-background-color": "#068a9c",
|
|
4633
|
+
"--kup-navbar-color": "#ffffff",
|
|
4634
|
+
"--kup-drawer-background-color": "#ffffff",
|
|
4635
|
+
"--kup-drawer-color": "#535353",
|
|
4636
|
+
"--kup-navbar-height": "64px",
|
|
4637
|
+
"--kup-drawer-width": "300px",
|
|
4638
|
+
"--kup-font-family": "IBM Plex Sans, sans-serif",
|
|
4639
|
+
"--kup-font-family-monospace": "IBM Plex Sans, sans-serif",
|
|
4640
|
+
"--kup-font-size": "14px",
|
|
4641
|
+
"--kup-text-color": "#474747",
|
|
4642
|
+
"--kup-text-on-primary-color": "#e8e8e8",
|
|
4643
|
+
"--kup-text-on-secondary-color": "#312c2c",
|
|
4644
|
+
"--kup-disabled-background-color": "#d1d1d1",
|
|
4645
|
+
"--kup-disabled-color": "#636363",
|
|
4646
|
+
"--kup-hover-background-color": "#e8e8e8",
|
|
4647
|
+
"--kup-hover-color": "#303030",
|
|
4648
|
+
"--kup-title-background-color": "#068a9c",
|
|
4649
|
+
"--kup-title-color": "#fff",
|
|
4650
|
+
"--kup-icon-color": "#e8e8e8",
|
|
4651
|
+
"--kup-border-color": "#d8d8d8",
|
|
4652
|
+
"--kup-box-shadow": "0px 0px 7.5px 0px rgba(128, 128, 128, 0.5)",
|
|
4653
|
+
"--kup-info-color": "#2592df",
|
|
4654
|
+
"--kup-success-color": "#a4ba4c",
|
|
4655
|
+
"--kup-warning-color": "#de8906",
|
|
4656
|
+
"--kup-danger-color": "#a6192e",
|
|
4657
|
+
"--kup-spinner-color": "#fddc69",
|
|
4658
|
+
"--kup-chart-color-1": "#60c3fc",
|
|
4659
|
+
"--kup-chart-color-2": "#e268d8",
|
|
4660
|
+
"--kup-chart-color-3": "#860bb5",
|
|
4661
|
+
"--kup-chart-color-4": "#1a83e4",
|
|
4662
|
+
"--kup-obj-cursor": "inherit",
|
|
4663
|
+
"--kup-card-zindex": "900",
|
|
4664
|
+
"--kup-drawer-zindex": "900",
|
|
4665
|
+
"--kup-navbar-zindex": "900"
|
|
4666
|
+
},
|
|
4667
|
+
icons: {
|
|
4668
|
+
"--kup-ascending-icon": "arrow_drop_up",
|
|
4669
|
+
"--kup-descending-icon": "arrow_drop_down",
|
|
4670
|
+
"--kup-expanded-icon": "arrow_drop_down",
|
|
4671
|
+
"--kup-collapsed-icon": "menu-right",
|
|
4672
|
+
"--kup-dropdown-icon": "arrow_drop_down",
|
|
4673
|
+
"--kup-clear-icon": "cancel",
|
|
4674
|
+
"--kup-filter-remove-icon": "filter-remove",
|
|
4675
|
+
"--kup-key-icon": "key-variant",
|
|
4676
|
+
"--kup-search-icon": "search"
|
|
4677
|
+
},
|
|
4678
|
+
imports: [
|
|
4679
|
+
],
|
|
4680
|
+
customStyles: {
|
|
4681
|
+
}
|
|
4682
|
+
};
|
|
4623
4683
|
const bubbles = {
|
|
4624
4684
|
cssVariables: {
|
|
4625
4685
|
"--kup-primary-color": "#c18f00",
|
|
@@ -5495,6 +5555,7 @@ const wildlife = {
|
|
|
5495
5555
|
]
|
|
5496
5556
|
};
|
|
5497
5557
|
const themes = {
|
|
5558
|
+
octane: octane,
|
|
5498
5559
|
bubbles: bubbles,
|
|
5499
5560
|
cobalt: cobalt,
|
|
5500
5561
|
dark: dark,
|
|
@@ -5530,7 +5591,7 @@ const fPaginatorCss = ".f-paginator{margin:.5em 0;display:flex;flex-wrap:wrap;al
|
|
|
5530
5591
|
|
|
5531
5592
|
const fSwitchCss = ".f-switch{--kup_switch_font_family:var( --kup-switch-font-family, var(--kup-font-family) );--kup_switch_font_size:var(--kup-switch-font-size, var(--kup-font-size));--kup_switch_font_weight:var(--kup-switch-font-weight, 400);--kup_switch_label_color:var( --kup-switch-label-color, var(--kup-text-color) );--kup_switch_primary_color:var( --kup-switch-primary-color, var(--kup-primary-color) );--kup_switch_primary_color_rgb:var( --kup-switch-primary-color-rgb, var(--kup-primary-color-rgb) );--kup_switch_thumb_color:var( --kup-switch-thumb-color, var(--kup-border-color) );font-family:var(--kup_switch_font_family);font-size:var(--kup_switch_font_size)}.f-switch .form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875em;line-height:2em;font-weight:var(--kup_switch_font_weight);letter-spacing:0.0178571429em;color:var(--kup_switch_label_color);display:inline-flex;align-items:center;vertical-align:middle}.f-switch .form-field.form-field--align-end>label{margin-left:auto;margin-right:0px;padding-left:0px;padding-right:4px;order:-1 !important}.f-switch .form-field>label{color:var(--kup_switch_label_color);font-family:var(--kup-font-family);margin-left:0px;margin-right:auto;padding-left:4px;padding-right:0px;order:0}.f-switch .form-field .switch{display:inline-block;position:relative;outline:none;user-select:none;margin:0 .75em}.f-switch .form-field .switch .switch__track{box-sizing:border-box;width:36px;height:14px;border:1px solid rgba(0,0,0,0);border-radius:7px;opacity:.38;transition:opacity 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}.f-switch .form-field .switch .switch__thumb-underlay{border-radius:50%;display:flex;position:absolute;align-items:center;justify-content:center;transform:translateX(0);transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1);left:-14px;right:initial;top:-16px;width:48px;height:48px}.f-switch .form-field .switch .switch__thumb-underlay:hover{background-color:rgba(var(--kup_switch_primary_color_rgb), 0.125)}.f-switch .form-field .switch .switch__thumb-underlay .switch__thumb{box-shadow:0px 3px 1px -2px rgba(0,0,0,.2),0px 2px 2px 0px rgba(0,0,0,.14),0px 1px 5px 0px rgba(0,0,0,.12);box-sizing:border-box;width:20px;height:20px;border:10px solid;border-radius:50%;z-index:1;transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1),background-color 90ms cubic-bezier(0.4, 0, 0.2, 1),border-color 90ms cubic-bezier(0.4, 0, 0.2, 1)}.f-switch .form-field .switch .switch__thumb-underlay .switch__thumb .switch__native-control{left:0;right:initial;position:absolute;top:0;margin:0;opacity:0;cursor:pointer;transition:transform 90ms cubic-bezier(0.4, 0, 0.2, 1);width:64px;height:48px}.f-switch .form-field .switch:not(.switch--checked) .switch__track{background-color:var(--kup_switch_label_color)}.f-switch .form-field .switch:not(.switch--checked) .switch__thumb{background-color:var(--kup_switch_thumb_color);border-color:var(--kup_switch_thumb_color)}.f-switch .form-field .switch.switch--disabled{cursor:auto;opacity:.5;pointer-events:none}.f-switch .form-field .switch.switch--checked .switch__track{background-color:var(--kup_switch_primary_color);opacity:.54}.f-switch .form-field .switch.switch--checked .switch__thumb-underlay{transform:translateX(16px)}.f-switch .form-field .switch.switch--checked .switch__thumb{background-color:var(--kup_switch_primary_color);border-color:var(--kup_switch_primary_color)}.f-switch .form-field .switch.switch--checked .switch__thumb .switch__native-control{transform:translateX(-16px)}.f-switch.kup-danger{--kup-switch-primary-color:var(--kup-danger-color);--kup-switch-primary-color-rgb:var(--kup-danger-color-rgb)}.f-switch.kup-info{--kup-switch-primary-color:var(--kup-info-color);--kup-switch-primary-color-rgb:var(--kup-info-color-rgb)}.f-switch.kup-secondary{--kup-switch-primary-color:var(--kup-secondary-color);--kup-switch-primary-color-rgb:var(--kup-secondary-color-rgb)}.f-switch.kup-success{--kup-switch-primary-color:var(--kup-success-color);--kup-switch-primary-color-rgb:var(--kup-success-color-rgb)}.f-switch.kup-warning{--kup-switch-primary-color:var(--kup-warning-color);--kup-switch-primary-color-rgb:var(--kup-warning-color-rgb)}";
|
|
5532
5593
|
|
|
5533
|
-
const fTextFieldCss = ".mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:\"*\"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports (-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports (-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports (top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:\"\";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-floating-label{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex=\"-1\"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:\"*\"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}#kup-component .f-text-field{--kup_textfield_background_color_rgb:var( --kup-textfield-background-color-rgb, var(--kup-background-color-rgb) );--kup_textfield_color:var(--kup-textfield-color, var(--kup-text-color));--kup_textfield_color_rgb:var( --kup-textfield-color-rgb, var(--kup-text-color-rgb) );--kup_textfield_font_family:var( --kup-textfield-font-family, var(--kup-font-family) );--kup_textfield_font_size:var(--kup-textfield-font-size, 1em);--kup_textfield_font_weight:var(--kup-textfield-font-weight, 400);--kup_textfield_fullwidth_height:var( --kup-textfield-fullwidth-height, 40px );--kup_textfield_fullwidth_padding:var( --kup-textfield-fullwidth-padding, 16px );--kup_textfield_icon_color:var( --kup-textfield-icon-color, var(--kup-icon-color) );--kup_textfield_primary_color:var( --kup-textfield-primary-color, var(--kup-primary-color) );--kup_textfield_primary_color_rgb:var( --kup-textfield-primary-color-rgb, var(--kup-primary-color-rgb) );--kup_textfield_text_align:var(--kup-textfield-text-align, start);--kup_textfield_width:var(--kup-textfield-width, 100%);--mdc-theme-primary:var(--kup_textfield_primary_color);font-family:var(--kup_textfield_font_family);font-size:var(--kup_textfield_font_size)}#kup-component .f-text-field .mdc-form-field label{color:var(--kup_textfield_color);margin:auto}#kup-component .f-text-field .mdc-form-field .mdc-text-field__input{box-sizing:border-box;font-family:var(--kup_textfield_font_family);padding:6px 0px}#kup-component .f-text-field .mdc-text-field{width:var(--kup_textfield_width)}#kup-component .f-text-field .mdc-text-field .kup-icon{background-color:var(--kup_textfield_icon_color);cursor:pointer;height:24px;outline:none;padding:0 7px;pointer-events:all;width:24px}#kup-component .f-text-field .mdc-text-field .kup-icon.kup-clear-icon:hover{background-color:var(--kup-danger-color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled .kup-icon{pointer-events:none}#kup-component .f-text-field .mdc-text-field input,#kup-component .f-text-field .mdc-text-field label{font-family:var(--kup_textfield_font_family);font-size:1em;font-weight:var(--kup_textfield_font_weight)}#kup-component .f-text-field .mdc-text-field input{text-align:var(--kup_textfield_text_align)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:rgba(var(--kup_textfield_color_rgb), 0.325)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before:hover,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before:hover{border-bottom-color:rgba(var(--kup_textfield_color_rgb), 0.575)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before.mdc-line-ripple--active,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before.mdc-line-ripple--active{border-bottom-color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-leading-icon .mdc-floating-label{left:36px}#kup-component .f-text-field .mdc-text-field .mdc-text-field__icon.kup-clear-icon{right:0px;left:initial;position:absolute;top:50%;transform:translateY(-50%)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-trailing-icon input~.kup-clear-icon{right:26px}#kup-component .f-text-field .mdc-text-field.is-clearable .mdc-text-field__input{padding-right:48px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-trailing-icon.is-clearable .mdc-text-field__input{padding-right:72px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth.mdc-text-field--focused{color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth{width:100%}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--with-leading-icon label:not(.mdc-floating-label--float-above){left:20px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__trailing{border-color:rgba(var(--kup_textfield_color_rgb), 0.575);border-bottom-style:inset}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__trailing,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(var(--kup_textfield_color_rgb), 0.325)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled{color:rgba(var(--kup_textfield_color_rgb), 0.5);-webkit-text-fill-color:rgba(var(--kup_textfield_color_rgb), 0.5);opacity:1}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:rgba(var(--kup_textfield_color_rgb), 0.5)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled label{color:rgba(var(--kup_textfield_color_rgb), 0.5)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--textarea .mdc-floating-label--float-above{transform:translateY(-160%) scale(0.75)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea){height:40px}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input{height:100%}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-floating-label{display:none}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)::before{display:none}@supports (-webkit-hyphens: none){#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) label.mdc-floating-label{display:block}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea){height:40px;transition:border-color .25s}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--float-above{transform:translateY(-29.25px) scale(1)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--float-above{font-size:.75rem}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-notched-outline--upgraded .mdc-floating-label--float-above,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-26.75px) scale(0.75)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-notched-outline--upgraded .mdc-floating-label--float-above,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-40px 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-40px{0%{transform:translateX(calc(0 - 0%)) translateY(-26.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-26.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-26.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-26.75px) scale(0.75)}}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) label.mdc-floating-label{display:block}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) label.mdc-floating-label.mdc-floating-label--float-above{overflow:visible}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-text-field--with-leading-icon .mdc-floating-label--float-above{transform:translateY(-26px) scale(0.75) translateX(-42px)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled.mdc-text-field--with-leading-icon label,#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled.mdc-text-field--with-leading-icon input{left:34px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-111%) scale(0.75)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--no-label) input{box-sizing:border-box;padding-top:9px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:rgba(var(--kup_textfield_background_color_rgb), 0.125)}#kup-component .f-text-field .mdc-text-field .mdc-notched-outline{opacity:1}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:var(--kup_textfield_color)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{opacity:.7}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled).mdc-text-field--textarea .mdc-text-field-character-counter{position:absolute;bottom:9px;right:15px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined){background:var(--kup-disabled-background-color);color:var(--kup-disabled-color);-webkit-text-fill-color:var(--kup-disabled-color);opacity:1}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined) .mdc-text-field__input{color:var(--kup-disabled-color);background:var(--kup-disabled-background-color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined) label{color:var(--kup-disabled-color);background:var(--kup-disabled-background-color)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--focused)+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--persistent){opacity:0}#kup-component .f-text-field .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field-disabled) .mdc-floating-label--float-above{color:var(--kup_textfield_primary_color);opacity:1}#kup-component .f-text-field div.mdc-text-field-helper-text{font-family:var(--kup_textfield_font_family);font-size:.75em}#kup-component .f-text-field.kup-full-height{height:100%}#kup-component .f-text-field.kup-full-height .mdc-text-field{height:100%;overflow-y:hidden}#kup-component .f-text-field.kup-full-height .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea){height:100%}#kup-component .f-text-field.kup-full-height .mdc-text-field .mdc-text-field__input{height:100%}#kup-component .f-text-field.kup-full-width{width:100%}#kup-component .f-text-field.kup-full-width .mdc-text-field{height:var(--kup_textfield_fullwidth_height) !important;padding:0 var(--kup_textfield_fullwidth_padding)}#kup-component .f-text-field.kup-full-width .mdc-text-field.mdc-text-field--with-leading-icon{padding-left:0}#kup-component .f-text-field.kup-full-width .mdc-text-field.mdc-text-field--with-trailing-icon input~.kup-clear-icon{right:40px}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--filled{border-radius:16px 16px 0 0}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-radius:28px 0 0 28px;width:28px}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 28px 28px 0;width:28px}#kup-component .f-text-field.kup-danger{--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}#kup-component .f-text-field.kup-info{--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}#kup-component .f-text-field.kup-secondary{--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}#kup-component .f-text-field.kup-success{--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}#kup-component .f-text-field.kup-warning{--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}#kup-component .f-text-field .kup-icon.kup-clear-icon{-webkit-mask:var(--kup-clear-icon);mask:var(--kup-clear-icon)}#kup-component .f-text-field .kup-icon.kup-search-icon{-webkit-mask:var(--kup-search-icon);mask:var(--kup-search-icon)}";
|
|
5594
|
+
const fTextFieldCss = ".mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:\"*\"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-text-field--filled{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-text-field--filled .mdc-text-field__ripple::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-text-field--filled .mdc-text-field__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-text-field--filled.mdc-ripple-upgraded--unbounded .mdc-text-field__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-activation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-text-field--filled.mdc-ripple-upgraded--foreground-deactivation .mdc-text-field__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-text-field--filled.mdc-ripple-upgraded .mdc-text-field__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-text-field__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input{color:rgba(0, 0, 0, 0.87)}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.54)}}@media all{.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.54)}}.mdc-text-field .mdc-text-field__input{caret-color:#6200ee;caret-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.6)}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}}.mdc-text-field__affix{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);height:28px;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports (-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled .mdc-text-field__ripple::before,.mdc-text-field--filled .mdc-text-field__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-text-field--filled:hover .mdc-text-field__ripple::before,.mdc-text-field--filled.mdc-ripple-surface--hover .mdc-text-field__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:\"\";vertical-align:0}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:whitesmoke}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.42)}.mdc-text-field--filled:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-color:#6200ee;border-bottom-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports (-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.38)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.87)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports (top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports (top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports (top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-text-field__ripple::before,.mdc-text-field--outlined .mdc-text-field__ripple::after{background-color:transparent;background-color:var(--mdc-ripple-color, transparent)}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0;transition:none}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px;line-height:1.5rem}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-10.25px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-10.25px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-24.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-24.75px) scale(0.75)}}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:\"\";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-34.75px) scale(0.75)}}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-34.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-34.75px) scale(0.75)}}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label{color:rgba(98, 0, 238, 0.87)}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid .mdc-text-field__input{caret-color:#b00020;caret-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__icon--trailing{color:#b00020;color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:#b00020;border-bottom-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:#b00020;border-color:var(--mdc-theme-error, #b00020)}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}.mdc-text-field--disabled .mdc-text-field__input{color:rgba(0, 0, 0, 0.38)}@media all{.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:rgba(0, 0, 0, 0.38)}}@media all{.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:rgba(0, 0, 0, 0.38)}}.mdc-text-field--disabled .mdc-floating-label{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:rgba(0, 0, 0, 0.3)}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:rgba(0, 0, 0, 0.38)}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:rgba(0, 0, 0, 0.06)}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(0, 0, 0, 0.06)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input::placeholder{color:GrayText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-text-field--disabled .mdc-text-field__input:-ms-input-placeholder{color:GrayText}.mdc-text-field--disabled .mdc-floating-label{color:GrayText}.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:GrayText}.mdc-text-field--disabled .mdc-text-field-character-counter,.mdc-text-field--disabled+.mdc-text-field-helper-line .mdc-text-field-character-counter{color:GrayText}.mdc-text-field--disabled .mdc-text-field__icon--leading{color:GrayText}.mdc-text-field--disabled .mdc-text-field__icon--trailing{color:GrayText}.mdc-text-field--disabled .mdc-text-field__affix--prefix{color:GrayText}.mdc-text-field--disabled .mdc-text-field__affix--suffix{color:GrayText}.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:GrayText}.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:GrayText}}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled{background-color:#fafafa}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-text-field-helper-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin:0;opacity:0;will-change:opacity;transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-text-field-helper-text::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}.mdc-text-field-helper-text--persistent{transition:none;opacity:1;will-change:initial}.mdc-text-field-character-counter{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-left:auto;margin-right:0;padding-left:16px;padding-right:0;white-space:nowrap}.mdc-text-field-character-counter::before{display:inline-block;width:0;height:16px;content:\"\";vertical-align:0}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-text-field-character-counter,.mdc-text-field-character-counter[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field__icon{align-self:center;cursor:pointer}.mdc-text-field__icon:not([tabindex]),.mdc-text-field__icon[tabindex=\"-1\"]{cursor:default;pointer-events:none}.mdc-text-field__icon svg{display:block}.mdc-text-field__icon--leading{margin-left:16px;margin-right:8px}[dir=rtl] .mdc-text-field__icon--leading,.mdc-text-field__icon--leading[dir=rtl]{margin-left:8px;margin-right:16px}.mdc-text-field__icon--trailing{padding:12px;margin-left:0px;margin-right:0px}[dir=rtl] .mdc-text-field__icon--trailing,.mdc-text-field__icon--trailing[dir=rtl]{margin-left:0px;margin-right:0px}.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform;transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required::after{margin-left:1px;margin-right:0px;content:\"*\"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-106%) scale(0.75)}}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:\"\"}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);border-bottom-width:2px;opacity:0;z-index:2}.mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}#kup-component .f-text-field{--kup_textfield_background_color_rgb:var( --kup-textfield-background-color-rgb, var(--kup-background-color-rgb) );--kup_textfield_color:var(--kup-textfield-color, var(--kup-text-color));--kup_textfield_color_rgb:var( --kup-textfield-color-rgb, var(--kup-text-color-rgb) );--kup_textfield_font_family:var( --kup-textfield-font-family, var(--kup-font-family) );--kup_textfield_font_size:var(--kup-textfield-font-size, 1em);--kup_textfield_font_weight:var(--kup-textfield-font-weight, 400);--kup_textfield_fullwidth_height:var( --kup-textfield-fullwidth-height, 40px );--kup_textfield_fullwidth_padding:var( --kup-textfield-fullwidth-padding, 16px );--kup_textfield_icon_color:var( --kup-textfield-icon-color, var(--kup-icon-color) );--kup_textfield_primary_color:var( --kup-textfield-primary-color, var(--kup-primary-color) );--kup_textfield_primary_color_rgb:var( --kup-textfield-primary-color-rgb, var(--kup-primary-color-rgb) );--kup_textfield_text_align:var(--kup-textfield-text-align, start);--kup_textfield_width:var(--kup-textfield-width, 100%);--mdc-theme-primary:var(--kup_textfield_primary_color);font-family:var(--kup_textfield_font_family);font-size:var(--kup_textfield_font_size)}#kup-component .f-text-field .mdc-form-field label{color:var(--kup_textfield_color);margin:auto}#kup-component .f-text-field .mdc-form-field .mdc-text-field__input{box-sizing:border-box;font-family:var(--kup_textfield_font_family);padding:6px 0px}#kup-component .f-text-field .mdc-text-field{width:var(--kup_textfield_width)}#kup-component .f-text-field .mdc-text-field .kup-icon{background-color:var(--kup_textfield_icon_color);cursor:pointer;height:24px;outline:none;padding:0 7px;pointer-events:all;width:24px}#kup-component .f-text-field .mdc-text-field .kup-icon.kup-clear-icon:hover{background-color:var(--kup-danger-color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled .kup-icon{pointer-events:none}#kup-component .f-text-field .mdc-text-field input,#kup-component .f-text-field .mdc-text-field label{font-family:var(--kup_textfield_font_family);font-size:1em;font-weight:var(--kup_textfield_font_weight)}#kup-component .f-text-field .mdc-text-field input{text-align:var(--kup_textfield_text_align)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before{border-bottom-color:rgba(var(--kup_textfield_color_rgb), 0.325)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before:hover,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before:hover{border-bottom-color:rgba(var(--kup_textfield_color_rgb), 0.575)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:before.mdc-line-ripple--active,#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth:not(.mdc-text-field--disabled) .mdc-line-ripple:before.mdc-line-ripple--active{border-bottom-color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-leading-icon .mdc-floating-label{left:36px}#kup-component .f-text-field .mdc-text-field .mdc-text-field__icon.kup-clear-icon{right:0px;left:initial;position:absolute;top:50%;transform:translateY(-50%)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-trailing-icon input~.kup-clear-icon{right:26px}#kup-component .f-text-field .mdc-text-field.is-clearable .mdc-text-field__input{padding-right:48px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--with-trailing-icon.is-clearable .mdc-text-field__input{padding-right:72px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth.mdc-text-field--focused{color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--fullwidth{width:100%}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--with-leading-icon label:not(.mdc-floating-label--float-above){left:20px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline__trailing{border-color:rgba(var(--kup_textfield_color_rgb), 0.575);border-bottom-style:inset}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:hover .mdc-notched-outline__trailing,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--kup_textfield_primary_color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:rgba(var(--kup_textfield_color_rgb), 0.325)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled{color:rgba(var(--kup_textfield_color_rgb), 0.5);-webkit-text-fill-color:rgba(var(--kup_textfield_color_rgb), 0.5);opacity:1}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:rgba(var(--kup_textfield_color_rgb), 0.5)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--disabled label{color:rgba(var(--kup_textfield_color_rgb), 0.5)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined.mdc-text-field--textarea .mdc-floating-label--float-above{transform:translateY(-160%) scale(0.75)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea){height:40px}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input{height:100%}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-floating-label{display:none}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)::before{display:none}@supports (-webkit-hyphens: none){#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) label.mdc-floating-label{display:block}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea){height:40px;transition:border-color .25s}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--float-above{transform:translateY(-29.25px) scale(1)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--float-above{font-size:.75rem}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-notched-outline--upgraded .mdc-floating-label--float-above,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-26.75px) scale(0.75)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-notched-outline--upgraded .mdc-floating-label--float-above,#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-40px 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-40px{0%{transform:translateX(calc(0 - 0%)) translateY(-26.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-26.75px) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-26.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-26.75px) scale(0.75)}}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) label.mdc-floating-label{display:block}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea) label.mdc-floating-label.mdc-floating-label--float-above{overflow:visible}#kup-component .f-text-field .mdc-text-field.mdc-text-field--outlined:not(.mdc-text-field--textarea).mdc-text-field--with-leading-icon .mdc-floating-label--float-above{transform:translateY(-26px) scale(0.75) translateX(-42px)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled.mdc-text-field--with-leading-icon label,#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled.mdc-text-field--with-leading-icon input{left:34px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-111%) scale(0.75)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--no-label) input{box-sizing:border-box;padding-top:9px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:rgba(var(--kup_textfield_background_color_rgb), 0.125)}#kup-component .f-text-field .mdc-text-field .mdc-notched-outline{opacity:1}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{color:var(--kup_textfield_color)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-character-counter,#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text{opacity:.7}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--disabled).mdc-text-field--textarea .mdc-text-field-character-counter{position:absolute;bottom:9px;right:15px}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined){background:var(--kup-disabled-background-color);color:var(--kup-disabled-color);-webkit-text-fill-color:var(--kup-disabled-color);opacity:1}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined) .mdc-text-field__input{color:var(--kup-disabled-color);background:var(--kup-disabled-background-color)}#kup-component .f-text-field .mdc-text-field.mdc-text-field--disabled:not(.mdc-text-field--outlined) label{color:var(--kup-disabled-color);background:var(--kup-disabled-background-color)}#kup-component .f-text-field .mdc-text-field:not(.mdc-text-field--focused)+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--persistent){opacity:0}#kup-component .f-text-field .mdc-text-field.mdc-text-field--focused:not(.mdc-text-field-disabled) .mdc-floating-label--float-above{color:var(--kup_textfield_primary_color);opacity:1}#kup-component .f-text-field div.mdc-text-field-helper-text{font-family:var(--kup_textfield_font_family);font-size:.75em}#kup-component .f-text-field.kup-full-height{height:100%}#kup-component .f-text-field.kup-full-height .mdc-text-field{height:100%;overflow-y:hidden}#kup-component .f-text-field.kup-full-height .mdc-text-field:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea){height:100%}#kup-component .f-text-field.kup-full-height .mdc-text-field .mdc-text-field__input{height:100%}#kup-component .f-text-field.kup-full-width{width:100%}#kup-component .f-text-field.kup-full-width .mdc-text-field{height:var(--kup_textfield_fullwidth_height) !important;padding:0 var(--kup_textfield_fullwidth_padding)}#kup-component .f-text-field.kup-full-width .mdc-text-field.mdc-text-field--with-leading-icon{padding-left:0}#kup-component .f-text-field.kup-full-width .mdc-text-field.mdc-text-field--with-trailing-icon input~.kup-clear-icon{right:40px}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--filled{border-radius:16px 16px 0 0}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-radius:28px 0 0 28px;width:28px}#kup-component .f-text-field.kup-shaped .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 28px 28px 0;width:28px}#kup-component .f-text-field.kup-danger{--kup-textfield-primary-color:var(--kup-danger-color);--kup-textfield-primary-color-rgb:var(--kup-danger-color-rgb)}#kup-component .f-text-field.kup-info{--kup-textfield-primary-color:var(--kup-info-color);--kup-textfield-primary-color-rgb:var(--kup-info-color-rgb)}#kup-component .f-text-field.kup-secondary{--kup-textfield-primary-color:var(--kup-secondary-color);--kup-textfield-primary-color-rgb:var(--kup-secondary-color-rgb)}#kup-component .f-text-field.kup-success{--kup-textfield-primary-color:var(--kup-success-color);--kup-textfield-primary-color-rgb:var(--kup-success-color-rgb)}#kup-component .f-text-field.kup-warning{--kup-textfield-primary-color:var(--kup-warning-color);--kup-textfield-primary-color-rgb:var(--kup-warning-color-rgb)}#kup-component .f-text-field .kup-icon.kup-clear-icon{-webkit-mask:var(--kup-clear-icon);mask:var(--kup-clear-icon)}#kup-component .f-text-field .kup-icon.kup-search-icon{-webkit-mask:var(--kup-search-icon);mask:var(--kup-search-icon)}";
|
|
5534
5595
|
|
|
5535
5596
|
const mdcRippleCss = "@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-ripple-surface{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity;position:relative;outline:none;overflow:hidden}.mdc-ripple-surface::before,.mdc-ripple-surface::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-ripple-surface::before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-ripple-surface::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-ripple-surface.mdc-ripple-upgraded::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface.mdc-ripple-upgraded::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-ripple-surface::before,.mdc-ripple-surface::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-ripple-surface.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded],.mdc-ripple-upgraded--unbounded{overflow:visible}.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after,.mdc-ripple-upgraded--unbounded::before,.mdc-ripple-upgraded--unbounded::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before,.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::before,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after,.mdc-ripple-upgraded--unbounded.mdc-ripple-upgraded::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-ripple-surface::before,.mdc-ripple-surface::after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-ripple-surface:hover::before,.mdc-ripple-surface.mdc-ripple-surface--hover::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before,.mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-ripple-surface:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-ripple-surface.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}";
|
|
5536
5597
|
|
|
@@ -5766,7 +5827,7 @@ var KupThemeIconValues;
|
|
|
5766
5827
|
KupThemeIconValues["SEARCH"] = "--kup-search-icon";
|
|
5767
5828
|
})(KupThemeIconValues || (KupThemeIconValues = {}));
|
|
5768
5829
|
|
|
5769
|
-
const dom$
|
|
5830
|
+
const dom$s = document.documentElement;
|
|
5770
5831
|
/**
|
|
5771
5832
|
* Theme manager, handles everything about theming, customStyles and color utilities.
|
|
5772
5833
|
* @module KupTheme
|
|
@@ -5780,7 +5841,7 @@ class KupTheme {
|
|
|
5780
5841
|
this.list = list ? list : themes;
|
|
5781
5842
|
this.managedComponents = new Set();
|
|
5782
5843
|
this.name = name ? name : 'ketchup';
|
|
5783
|
-
this.styleTag = dom$
|
|
5844
|
+
this.styleTag = dom$s
|
|
5784
5845
|
.querySelector('head')
|
|
5785
5846
|
.appendChild(document.createElement('style'));
|
|
5786
5847
|
}
|
|
@@ -5867,9 +5928,9 @@ class KupTheme {
|
|
|
5867
5928
|
if (list) {
|
|
5868
5929
|
this.list = list;
|
|
5869
5930
|
}
|
|
5870
|
-
dom$
|
|
5931
|
+
dom$s.ketchup.debug.logMessage('theme manager', 'Setting theme to: ' + this.name + '.');
|
|
5871
5932
|
if (!this.list[this.name]) {
|
|
5872
|
-
dom$
|
|
5933
|
+
dom$s.ketchup.debug.logMessage('theme manager', 'Invalid theme name, falling back to default ("ketchup").');
|
|
5873
5934
|
this.name = 'ketchup';
|
|
5874
5935
|
}
|
|
5875
5936
|
this.cssVars = {};
|
|
@@ -5912,11 +5973,11 @@ class KupTheme {
|
|
|
5912
5973
|
this.icons() +
|
|
5913
5974
|
'}';
|
|
5914
5975
|
this.customStyle();
|
|
5915
|
-
dom$
|
|
5976
|
+
dom$s.ketchup.debug.logMessage('kup-theme', 'Theme ' + dom$s.getAttribute('kup-theme') + ' refreshed.');
|
|
5916
5977
|
document.dispatchEvent(new CustomEvent('kup-theme-refresh'));
|
|
5917
5978
|
}
|
|
5918
5979
|
catch (error) {
|
|
5919
|
-
dom$
|
|
5980
|
+
dom$s.ketchup.debug.logMessage('kup-theme', 'Theme not refreshed.', KupDebugCategory.WARNING);
|
|
5920
5981
|
}
|
|
5921
5982
|
}
|
|
5922
5983
|
/**
|
|
@@ -6035,7 +6096,7 @@ class KupTheme {
|
|
|
6035
6096
|
this.set(themes[index]);
|
|
6036
6097
|
}
|
|
6037
6098
|
else {
|
|
6038
|
-
dom$
|
|
6099
|
+
dom$s.ketchup.debug.logMessage('kup-theme', "Couldn't set a random theme: no themes available!", KupDebugCategory.WARNING);
|
|
6039
6100
|
}
|
|
6040
6101
|
}
|
|
6041
6102
|
/**
|
|
@@ -6047,7 +6108,7 @@ class KupTheme {
|
|
|
6047
6108
|
//Testing whether the color is transparent, if it is a fall back value will be returned matching the background-color
|
|
6048
6109
|
if (color === 'transparent') {
|
|
6049
6110
|
color = this.cssVars['--kup-background-color'];
|
|
6050
|
-
dom$
|
|
6111
|
+
dom$s.ketchup.debug.logMessage('theme manager', 'Received TRANSPARENT color, converted to ' +
|
|
6051
6112
|
color +
|
|
6052
6113
|
' (theme background).');
|
|
6053
6114
|
}
|
|
@@ -6065,7 +6126,7 @@ class KupTheme {
|
|
|
6065
6126
|
const oldColor = color;
|
|
6066
6127
|
color = this.codeToHex(color);
|
|
6067
6128
|
isHex = color.substring(0, 1) === '#' ? true : false;
|
|
6068
|
-
dom$
|
|
6129
|
+
dom$s.ketchup.debug.logMessage('theme manager', 'Received CODE NAME color ' +
|
|
6069
6130
|
oldColor +
|
|
6070
6131
|
', converted to ' +
|
|
6071
6132
|
color +
|
|
@@ -6119,14 +6180,14 @@ class KupTheme {
|
|
|
6119
6180
|
else {
|
|
6120
6181
|
hexColor = this.rgbToHex(rgbColorObj.r, rgbColorObj.g, rgbColorObj.b);
|
|
6121
6182
|
}
|
|
6122
|
-
dom$
|
|
6183
|
+
dom$s.ketchup.debug.logMessage('theme-manager', 'Received HEX color ' +
|
|
6123
6184
|
oldColor +
|
|
6124
6185
|
', converted to ' +
|
|
6125
6186
|
color +
|
|
6126
6187
|
'.');
|
|
6127
6188
|
}
|
|
6128
6189
|
catch (error) {
|
|
6129
|
-
dom$
|
|
6190
|
+
dom$s.ketchup.debug.logMessage('theme-manager', 'Invalid color: ' + color + '.');
|
|
6130
6191
|
}
|
|
6131
6192
|
}
|
|
6132
6193
|
let rgbValues = null;
|
|
@@ -6136,14 +6197,14 @@ class KupTheme {
|
|
|
6136
6197
|
rgbColor = color;
|
|
6137
6198
|
}
|
|
6138
6199
|
catch (error) {
|
|
6139
|
-
dom$
|
|
6200
|
+
dom$s.ketchup.debug.logMessage('theme-manager', 'Color not converted to rgb values: ' + color + '.');
|
|
6140
6201
|
}
|
|
6141
6202
|
if (!hexColor) {
|
|
6142
6203
|
try {
|
|
6143
6204
|
hexColor = this.rgbToHex(parseInt(values[1]), parseInt(values[2]), parseInt(values[3]));
|
|
6144
6205
|
}
|
|
6145
6206
|
catch (error) {
|
|
6146
|
-
dom$
|
|
6207
|
+
dom$s.ketchup.debug.logMessage('theme-manager', 'Color not converted to hex value: ' + color + '.');
|
|
6147
6208
|
}
|
|
6148
6209
|
}
|
|
6149
6210
|
if (!hslColor || !hslValues) {
|
|
@@ -6156,7 +6217,7 @@ class KupTheme {
|
|
|
6156
6217
|
hslColor = 'hsl(' + hsl.h + ',' + hsl.s + '%,' + hsl.l + '%)';
|
|
6157
6218
|
}
|
|
6158
6219
|
catch (error) {
|
|
6159
|
-
dom$
|
|
6220
|
+
dom$s.ketchup.debug.logMessage('theme-manager', 'Color not converted to hex value: ' + color + '.');
|
|
6160
6221
|
}
|
|
6161
6222
|
}
|
|
6162
6223
|
return {
|
|
@@ -6461,7 +6522,7 @@ class KupTheme {
|
|
|
6461
6522
|
return colorCodes[color.toLowerCase()];
|
|
6462
6523
|
}
|
|
6463
6524
|
else {
|
|
6464
|
-
dom$
|
|
6525
|
+
dom$s.ketchup.debug.logMessage('theme manager', 'Could not decode color ' + color + '!');
|
|
6465
6526
|
return color;
|
|
6466
6527
|
}
|
|
6467
6528
|
}
|
|
@@ -6483,13 +6544,13 @@ var __classPrivateFieldSet$6 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
6483
6544
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
6484
6545
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
6485
6546
|
};
|
|
6486
|
-
var __classPrivateFieldGet$
|
|
6547
|
+
var __classPrivateFieldGet$9 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
6487
6548
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
6488
6549
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6489
6550
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
6490
6551
|
};
|
|
6491
6552
|
var _KupToolbar_keyEvent;
|
|
6492
|
-
const dom$
|
|
6553
|
+
const dom$r = document.documentElement;
|
|
6493
6554
|
/**
|
|
6494
6555
|
* Handles component's toolbar.
|
|
6495
6556
|
* @module KupToolbar
|
|
@@ -6507,7 +6568,7 @@ class KupToolbar {
|
|
|
6507
6568
|
KupToolbarModifierKeys.CTRL,
|
|
6508
6569
|
];
|
|
6509
6570
|
__classPrivateFieldSet$6(this, _KupToolbar_keyEvent, function (e) {
|
|
6510
|
-
const toolbar = dom$
|
|
6571
|
+
const toolbar = dom$r.ketchup.toolbar;
|
|
6511
6572
|
if (toolbar.managedElements) {
|
|
6512
6573
|
for (let index = 0; index < toolbar.modifiers.length; index++) {
|
|
6513
6574
|
if (toolbar.modifiers[index] ===
|
|
@@ -6529,8 +6590,8 @@ class KupToolbar {
|
|
|
6529
6590
|
toolbar.show();
|
|
6530
6591
|
}
|
|
6531
6592
|
}, "f");
|
|
6532
|
-
document.addEventListener('keydown', __classPrivateFieldGet$
|
|
6533
|
-
document.addEventListener('keyup', __classPrivateFieldGet$
|
|
6593
|
+
document.addEventListener('keydown', __classPrivateFieldGet$9(this, _KupToolbar_keyEvent, "f"));
|
|
6594
|
+
document.addEventListener('keyup', __classPrivateFieldGet$9(this, _KupToolbar_keyEvent, "f"));
|
|
6534
6595
|
}
|
|
6535
6596
|
/**
|
|
6536
6597
|
* Shows components' toolbar.
|
|
@@ -7038,7 +7099,7 @@ var KupDatesLocales;
|
|
|
7038
7099
|
KupDatesLocales["SPANISH"] = "es";
|
|
7039
7100
|
})(KupDatesLocales || (KupDatesLocales = {}));
|
|
7040
7101
|
|
|
7041
|
-
const dom$
|
|
7102
|
+
const dom$q = document.documentElement;
|
|
7042
7103
|
var DateTimeFormatOptionsMonth;
|
|
7043
7104
|
(function (DateTimeFormatOptionsMonth) {
|
|
7044
7105
|
DateTimeFormatOptionsMonth["NUMERIC"] = "numeric";
|
|
@@ -7054,12 +7115,6 @@ function identify(array) {
|
|
|
7054
7115
|
}
|
|
7055
7116
|
}
|
|
7056
7117
|
}
|
|
7057
|
-
function getSeparator(locale, separatorType) {
|
|
7058
|
-
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
7059
|
-
return Intl.NumberFormat(locale)
|
|
7060
|
-
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
7061
|
-
.find((part) => part.type === separatorType).value;
|
|
7062
|
-
}
|
|
7063
7118
|
function getCurrentTimeFormatFromBrowserLocale(manageSeconds) {
|
|
7064
7119
|
const options = {
|
|
7065
7120
|
hour: '2-digit',
|
|
@@ -7069,7 +7124,7 @@ function getCurrentTimeFormatFromBrowserLocale(manageSeconds) {
|
|
|
7069
7124
|
if (manageSeconds == true) {
|
|
7070
7125
|
options.second = '2-digit';
|
|
7071
7126
|
}
|
|
7072
|
-
const formatObj = new Intl.DateTimeFormat(dom$
|
|
7127
|
+
const formatObj = new Intl.DateTimeFormat(dom$q.ketchup.dates.getLocale() + '-u-hc-h23', options).formatToParts(new Date());
|
|
7073
7128
|
let timeFormat = formatObj
|
|
7074
7129
|
.map((obj) => {
|
|
7075
7130
|
switch (obj.type) {
|
|
@@ -7113,7 +7168,7 @@ function stringToNumber(input) {
|
|
|
7113
7168
|
if (!input || input == null || input.trim() == '') {
|
|
7114
7169
|
input = '0';
|
|
7115
7170
|
}
|
|
7116
|
-
return dom$
|
|
7171
|
+
return dom$q.ketchup.math.numberify(input);
|
|
7117
7172
|
}
|
|
7118
7173
|
/**
|
|
7119
7174
|
* @param input number
|
|
@@ -7124,7 +7179,7 @@ function numberToString(input, decimals) {
|
|
|
7124
7179
|
if (input == null) {
|
|
7125
7180
|
return '';
|
|
7126
7181
|
}
|
|
7127
|
-
return _numberToString(input, decimals, dom$
|
|
7182
|
+
return _numberToString(input, decimals, dom$q.ketchup.dates.getLocale(), true);
|
|
7128
7183
|
}
|
|
7129
7184
|
/**
|
|
7130
7185
|
* @param type - type of number for calculate suffix
|
|
@@ -7176,7 +7231,7 @@ function unformattedStringToFormattedStringNumber(input, decimals, type) {
|
|
|
7176
7231
|
* @returns number as string, formatted by locale US, decimal separator . (like java decimal numbers), without group separator
|
|
7177
7232
|
**/
|
|
7178
7233
|
function formattedStringToUnformattedStringNumber(input, type) {
|
|
7179
|
-
return numberStringToNumberString(input, type,
|
|
7234
|
+
return numberStringToNumberString(input, type, dom$q.ketchup.math.decimalSeparator());
|
|
7180
7235
|
}
|
|
7181
7236
|
/**
|
|
7182
7237
|
* @param input number as string, formatted by locale US, decimal separator . (like java decimal numbers), with group separator
|
|
@@ -7206,16 +7261,13 @@ function numberStringToNumberString(input, type, decFmt) {
|
|
|
7206
7261
|
if (decFmt != '.') {
|
|
7207
7262
|
input = input.replace(/,/g, '.');
|
|
7208
7263
|
}
|
|
7209
|
-
if (dom$
|
|
7210
|
-
isNaN(dom$
|
|
7264
|
+
if (dom$q.ketchup.math.numberify(input) == null ||
|
|
7265
|
+
isNaN(dom$q.ketchup.math.numberify(input))) {
|
|
7211
7266
|
return originalInputValue;
|
|
7212
7267
|
}
|
|
7213
7268
|
let unf = stringToNumber(input);
|
|
7214
7269
|
return _numberToString(unf, -1, 'en-US', false);
|
|
7215
7270
|
}
|
|
7216
|
-
function getDecimalSeparator(locale) {
|
|
7217
|
-
return getSeparator(locale, 'decimal');
|
|
7218
|
-
}
|
|
7219
7271
|
function countDecimals(value) {
|
|
7220
7272
|
if (Math.floor(value) === value)
|
|
7221
7273
|
return 0;
|
|
@@ -7258,7 +7310,7 @@ function formatTime(time, manageSeconds) {
|
|
|
7258
7310
|
if (manageSeconds == true) {
|
|
7259
7311
|
options.second = '2-digit';
|
|
7260
7312
|
}
|
|
7261
|
-
return time.toLocaleTimeString(dom$
|
|
7313
|
+
return time.toLocaleTimeString(dom$q.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
7262
7314
|
}
|
|
7263
7315
|
/**
|
|
7264
7316
|
* @param value time string, formatted by actual browser locale
|
|
@@ -7266,7 +7318,7 @@ function formatTime(time, manageSeconds) {
|
|
|
7266
7318
|
*/
|
|
7267
7319
|
function isValidFormattedStringTime(value, manageSeconds) {
|
|
7268
7320
|
let format = getCurrentTimeFormatFromBrowserLocale(manageSeconds);
|
|
7269
|
-
return dom$
|
|
7321
|
+
return dom$q.ketchup.dates.isValid(value, format, true);
|
|
7270
7322
|
}
|
|
7271
7323
|
/**
|
|
7272
7324
|
* @param value date/time as string, formatted by actual browser locale
|
|
@@ -7283,8 +7335,8 @@ function formattedStringToDefaultUnformattedStringTimestamp(value) {
|
|
|
7283
7335
|
**/
|
|
7284
7336
|
function formattedStringToCustomUnformattedStringTime(value, outputFormat, manageSeconds) {
|
|
7285
7337
|
let inputFormat = getCurrentTimeFormatFromBrowserLocale(manageSeconds);
|
|
7286
|
-
if (dom$
|
|
7287
|
-
return dom$
|
|
7338
|
+
if (dom$q.ketchup.dates.isValid(value, inputFormat)) {
|
|
7339
|
+
return dom$q.ketchup.dates.format(dom$q.ketchup.dates.normalize(value, KupDatesNormalize.TIME), outputFormat);
|
|
7288
7340
|
}
|
|
7289
7341
|
else {
|
|
7290
7342
|
return '';
|
|
@@ -7306,12 +7358,12 @@ function unformattedStringToFormattedStringTime(value, manageSeconds, customedFo
|
|
|
7306
7358
|
if (manageSeconds == true) {
|
|
7307
7359
|
options.second = '2-digit';
|
|
7308
7360
|
}
|
|
7309
|
-
let date = dom$
|
|
7361
|
+
let date = dom$q.ketchup.dates.toDate(dom$q.ketchup.dates.normalize(value, KupDatesNormalize.TIME));
|
|
7310
7362
|
return formatByCustomedOutputTimeFormat(value, date, options, customedFormat);
|
|
7311
7363
|
}
|
|
7312
7364
|
function formatByCustomedOutputTimeFormat(valueStr, date, options, customedFormat) {
|
|
7313
7365
|
if (customedFormat == null) {
|
|
7314
|
-
return date.toLocaleTimeString(dom$
|
|
7366
|
+
return date.toLocaleTimeString(dom$q.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
7315
7367
|
}
|
|
7316
7368
|
switch (customedFormat) {
|
|
7317
7369
|
case 'I13': {
|
|
@@ -7380,7 +7432,7 @@ function formatByCustomedOutputTimeFormat(valueStr, date, options, customedForma
|
|
|
7380
7432
|
return valueStr;
|
|
7381
7433
|
}
|
|
7382
7434
|
}
|
|
7383
|
-
return date.toLocaleTimeString(dom$
|
|
7435
|
+
return date.toLocaleTimeString(dom$q.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
7384
7436
|
}
|
|
7385
7437
|
/**
|
|
7386
7438
|
* @param value date/time as string, formatted ISO
|
|
@@ -7397,8 +7449,8 @@ function unformattedStringToFormattedStringTimestamp(value) {
|
|
|
7397
7449
|
second: '2-digit',
|
|
7398
7450
|
hour12: false,
|
|
7399
7451
|
};
|
|
7400
|
-
let date = dom$
|
|
7401
|
-
return date.toLocaleString(dom$
|
|
7452
|
+
let date = dom$q.ketchup.dates.toDate(dom$q.ketchup.dates.normalize(value, KupDatesNormalize.TIMESTAMP));
|
|
7453
|
+
return date.toLocaleString(dom$q.ketchup.dates.getLocale() + '-u-hc-h23', options);
|
|
7402
7454
|
}
|
|
7403
7455
|
function getMonthAsStringByLocale(month, format) {
|
|
7404
7456
|
if (month == null) {
|
|
@@ -7410,7 +7462,7 @@ function getMonthAsStringByLocale(month, format) {
|
|
|
7410
7462
|
const options = {
|
|
7411
7463
|
month: format,
|
|
7412
7464
|
};
|
|
7413
|
-
const dateTimeFormat = new Intl.DateTimeFormat(dom$
|
|
7465
|
+
const dateTimeFormat = new Intl.DateTimeFormat(dom$q.ketchup.dates.getLocale(), options);
|
|
7414
7466
|
return dateTimeFormat.format(dateTmp);
|
|
7415
7467
|
}
|
|
7416
7468
|
function getMonthsAsStringByLocale(format) {
|
|
@@ -7463,7 +7515,7 @@ function setProps(comp, list, props) {
|
|
|
7463
7515
|
}
|
|
7464
7516
|
}
|
|
7465
7517
|
|
|
7466
|
-
const dom$
|
|
7518
|
+
const dom$p = document.documentElement;
|
|
7467
7519
|
// -------------
|
|
7468
7520
|
// COMMONS
|
|
7469
7521
|
// -------------
|
|
@@ -7490,9 +7542,9 @@ function getValueForDisplay2(values, column) {
|
|
|
7490
7542
|
}
|
|
7491
7543
|
function formatToNumber(cell) {
|
|
7492
7544
|
if (cell.obj) {
|
|
7493
|
-
return dom$
|
|
7545
|
+
return dom$p.ketchup.math.numberify(cell.obj.k);
|
|
7494
7546
|
}
|
|
7495
|
-
return dom$
|
|
7547
|
+
return dom$p.ketchup.math.numberify(cell.value);
|
|
7496
7548
|
}
|
|
7497
7549
|
function _getCellValueForDisplay(value, column, cell) {
|
|
7498
7550
|
let obj = column != null ? column.obj : null;
|
|
@@ -7505,17 +7557,17 @@ function getValueForDisplay(value, obj, decimals) {
|
|
|
7505
7557
|
if (value == null || value.trim() == '') {
|
|
7506
7558
|
return value;
|
|
7507
7559
|
}
|
|
7508
|
-
if (dom$
|
|
7560
|
+
if (dom$p.ketchup.objects.isNumber(obj)) {
|
|
7509
7561
|
return unformattedStringToFormattedStringNumber(value, decimals ? decimals : -1, obj ? obj.p : '');
|
|
7510
7562
|
}
|
|
7511
|
-
if (dom$
|
|
7512
|
-
dom$
|
|
7513
|
-
return dom$
|
|
7563
|
+
if (dom$p.ketchup.objects.isDate(obj) &&
|
|
7564
|
+
dom$p.ketchup.dates.isValid(value, KupDatesFormats.ISO_DATE)) {
|
|
7565
|
+
return dom$p.ketchup.dates.format(value);
|
|
7514
7566
|
}
|
|
7515
|
-
if (dom$
|
|
7516
|
-
return unformattedStringToFormattedStringTime(value, dom$
|
|
7567
|
+
if (dom$p.ketchup.objects.isTime(obj)) {
|
|
7568
|
+
return unformattedStringToFormattedStringTime(value, dom$p.ketchup.objects.isTimeWithSeconds(obj), obj.t + obj.p);
|
|
7517
7569
|
}
|
|
7518
|
-
if (dom$
|
|
7570
|
+
if (dom$p.ketchup.objects.isTimestamp(obj)) {
|
|
7519
7571
|
return unformattedStringToFormattedStringTimestamp(value);
|
|
7520
7572
|
}
|
|
7521
7573
|
return value;
|
|
@@ -7560,26 +7612,26 @@ function compareValues(obj1, value1, obj2, value2, sortMode) {
|
|
|
7560
7612
|
}
|
|
7561
7613
|
let v1 = s1;
|
|
7562
7614
|
let v2 = s2;
|
|
7563
|
-
if (dom$
|
|
7615
|
+
if (dom$p.ketchup.objects.isNumber(obj1)) {
|
|
7564
7616
|
v1 = stringToNumber(s1);
|
|
7565
7617
|
v2 = stringToNumber(s2);
|
|
7566
7618
|
}
|
|
7567
|
-
else if (dom$
|
|
7568
|
-
v1 = dom$
|
|
7569
|
-
v2 = dom$
|
|
7619
|
+
else if (dom$p.ketchup.objects.isDate(obj1)) {
|
|
7620
|
+
v1 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s1, KupDatesFormats.ISO_DATE));
|
|
7621
|
+
v2 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s2, KupDatesFormats.ISO_DATE));
|
|
7570
7622
|
}
|
|
7571
|
-
else if (dom$
|
|
7572
|
-
let manageSeconds = dom$
|
|
7573
|
-
v1 = dom$
|
|
7623
|
+
else if (dom$p.ketchup.objects.isTime(obj1)) {
|
|
7624
|
+
let manageSeconds = dom$p.ketchup.objects.isTimeWithSeconds(obj1);
|
|
7625
|
+
v1 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s1, manageSeconds
|
|
7574
7626
|
? KupDatesFormats.ISO_TIME
|
|
7575
7627
|
: KupDatesFormats.ISO_TIME_WITHOUT_SECONDS));
|
|
7576
|
-
v2 = dom$
|
|
7628
|
+
v2 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s2, manageSeconds
|
|
7577
7629
|
? KupDatesFormats.ISO_TIME
|
|
7578
7630
|
: KupDatesFormats.ISO_TIME_WITHOUT_SECONDS));
|
|
7579
7631
|
}
|
|
7580
|
-
else if (dom$
|
|
7581
|
-
v1 = dom$
|
|
7582
|
-
v2 = dom$
|
|
7632
|
+
else if (dom$p.ketchup.objects.isTimestamp(obj1)) {
|
|
7633
|
+
v1 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s1, KupDatesFormats.ISO_DATE_TIME));
|
|
7634
|
+
v2 = dom$p.ketchup.dates.toDate(dom$p.ketchup.dates.format(s2, KupDatesFormats.ISO_DATE_TIME));
|
|
7583
7635
|
}
|
|
7584
7636
|
if (v1 > v2) {
|
|
7585
7637
|
return sm * 1;
|
|
@@ -7645,7 +7697,7 @@ var KupGlobalFilterMode;
|
|
|
7645
7697
|
KupGlobalFilterMode["HIGHLIGHT"] = "highlight";
|
|
7646
7698
|
})(KupGlobalFilterMode || (KupGlobalFilterMode = {}));
|
|
7647
7699
|
|
|
7648
|
-
const dom$
|
|
7700
|
+
const dom$o = document.documentElement;
|
|
7649
7701
|
/**
|
|
7650
7702
|
* Filtering algorithms.
|
|
7651
7703
|
* @module Filters
|
|
@@ -7661,16 +7713,16 @@ class Filters {
|
|
|
7661
7713
|
return comp.rootElement.tagName === KupTagNames.TREE;
|
|
7662
7714
|
}
|
|
7663
7715
|
isObjFiltrableByInterval(obj) {
|
|
7664
|
-
if (dom$
|
|
7716
|
+
if (dom$o.ketchup.objects.isDate(obj)) {
|
|
7665
7717
|
return true;
|
|
7666
7718
|
}
|
|
7667
|
-
if (dom$
|
|
7719
|
+
if (dom$o.ketchup.objects.isTime(obj)) {
|
|
7668
7720
|
return true;
|
|
7669
7721
|
}
|
|
7670
|
-
if (dom$
|
|
7722
|
+
if (dom$o.ketchup.objects.isTimestamp(obj)) {
|
|
7671
7723
|
return true;
|
|
7672
7724
|
}
|
|
7673
|
-
if (dom$
|
|
7725
|
+
if (dom$o.ketchup.objects.isNumber(obj)) {
|
|
7674
7726
|
return true;
|
|
7675
7727
|
}
|
|
7676
7728
|
return false;
|
|
@@ -7680,17 +7732,17 @@ class Filters {
|
|
|
7680
7732
|
if (newValue == null || newValue == '' || smeupObj == null) {
|
|
7681
7733
|
return newValue;
|
|
7682
7734
|
}
|
|
7683
|
-
if (dom$
|
|
7684
|
-
if (dom$
|
|
7735
|
+
if (dom$o.ketchup.objects.isDate(smeupObj)) {
|
|
7736
|
+
if (dom$o.ketchup.dates.isValid(value, KupDatesFormats.ISO_DATE)) {
|
|
7685
7737
|
return newValue;
|
|
7686
7738
|
}
|
|
7687
|
-
if (dom$
|
|
7688
|
-
return dom$
|
|
7739
|
+
if (dom$o.ketchup.dates.isValid(value)) {
|
|
7740
|
+
return dom$o.ketchup.dates.format(dom$o.ketchup.dates.normalize(value, KupDatesNormalize.DATE), KupDatesFormats.ISO_DATE);
|
|
7689
7741
|
}
|
|
7690
7742
|
}
|
|
7691
|
-
else if (dom$
|
|
7692
|
-
let manageSeconds = dom$
|
|
7693
|
-
if (dom$
|
|
7743
|
+
else if (dom$o.ketchup.objects.isTime(smeupObj)) {
|
|
7744
|
+
let manageSeconds = dom$o.ketchup.objects.isTimeWithSeconds(smeupObj);
|
|
7745
|
+
if (dom$o.ketchup.dates.isValid(value, manageSeconds
|
|
7694
7746
|
? KupDatesFormats.ISO_TIME
|
|
7695
7747
|
: KupDatesFormats.ISO_TIME_WITHOUT_SECONDS)) {
|
|
7696
7748
|
return newValue;
|
|
@@ -7701,15 +7753,15 @@ class Filters {
|
|
|
7701
7753
|
: KupDatesFormats.ISO_TIME_WITHOUT_SECONDS, manageSeconds);
|
|
7702
7754
|
}
|
|
7703
7755
|
}
|
|
7704
|
-
else if (dom$
|
|
7705
|
-
if (dom$
|
|
7756
|
+
else if (dom$o.ketchup.objects.isTimestamp(smeupObj)) {
|
|
7757
|
+
if (dom$o.ketchup.dates.isValid(value, KupDatesFormats.ISO_DATE_TIME)) {
|
|
7706
7758
|
return newValue;
|
|
7707
7759
|
}
|
|
7708
7760
|
if (isValidFormattedStringTime(value, true)) {
|
|
7709
7761
|
return formattedStringToDefaultUnformattedStringTimestamp(value);
|
|
7710
7762
|
}
|
|
7711
7763
|
}
|
|
7712
|
-
else if (dom$
|
|
7764
|
+
else if (dom$o.ketchup.objects.isNumber(smeupObj)) {
|
|
7713
7765
|
if (isValidFormattedStringNumber(value, smeupObj ? smeupObj.p : '')) {
|
|
7714
7766
|
return formattedStringToUnformattedStringNumber(value, smeupObj ? smeupObj.p : '');
|
|
7715
7767
|
}
|
|
@@ -7832,7 +7884,7 @@ class Filters {
|
|
|
7832
7884
|
to = interval[FilterInterval.TO];
|
|
7833
7885
|
}
|
|
7834
7886
|
let checkByRegularExpression = true;
|
|
7835
|
-
if (dom$
|
|
7887
|
+
if (dom$o.ketchup.objects.isNumber(obj)) {
|
|
7836
7888
|
value = unformattedStringNumberToNumber(value, obj ? obj.p : '');
|
|
7837
7889
|
let valueNumber = stringToNumber(value);
|
|
7838
7890
|
if (from != '') {
|
|
@@ -7860,30 +7912,30 @@ class Filters {
|
|
|
7860
7912
|
}
|
|
7861
7913
|
}
|
|
7862
7914
|
}
|
|
7863
|
-
if (dom$
|
|
7864
|
-
dom$
|
|
7865
|
-
dom$
|
|
7915
|
+
if (dom$o.ketchup.objects.isDate(obj) ||
|
|
7916
|
+
dom$o.ketchup.objects.isTime(obj) ||
|
|
7917
|
+
dom$o.ketchup.objects.isTimestamp(obj)) {
|
|
7866
7918
|
let valueDate = null;
|
|
7867
7919
|
let defaultFormat = KupDatesFormats.ISO_DATE;
|
|
7868
|
-
if (dom$
|
|
7920
|
+
if (dom$o.ketchup.objects.isDate(obj)) {
|
|
7869
7921
|
defaultFormat = KupDatesFormats.ISO_DATE;
|
|
7870
7922
|
}
|
|
7871
|
-
else if (dom$
|
|
7872
|
-
defaultFormat = dom$
|
|
7923
|
+
else if (dom$o.ketchup.objects.isTime(obj)) {
|
|
7924
|
+
defaultFormat = dom$o.ketchup.objects.isTimeWithSeconds(obj)
|
|
7873
7925
|
? KupDatesFormats.ISO_TIME
|
|
7874
7926
|
: KupDatesFormats.ISO_TIME_WITHOUT_SECONDS;
|
|
7875
7927
|
}
|
|
7876
|
-
else if (dom$
|
|
7928
|
+
else if (dom$o.ketchup.objects.isTimestamp(obj)) {
|
|
7877
7929
|
defaultFormat = KupDatesFormats.ISO_DATE_TIME;
|
|
7878
7930
|
}
|
|
7879
|
-
if (dom$
|
|
7880
|
-
valueDate = dom$
|
|
7931
|
+
if (dom$o.ketchup.dates.isValid(value, defaultFormat, true)) {
|
|
7932
|
+
valueDate = dom$o.ketchup.dates.toDate(value, defaultFormat);
|
|
7881
7933
|
}
|
|
7882
7934
|
if (from != '') {
|
|
7883
7935
|
if (valueDate != null &&
|
|
7884
|
-
dom$
|
|
7936
|
+
dom$o.ketchup.dates.isValid(from, defaultFormat, true)) {
|
|
7885
7937
|
checkByRegularExpression = false;
|
|
7886
|
-
let fromDate = dom$
|
|
7938
|
+
let fromDate = dom$o.ketchup.dates.toDate(from, defaultFormat);
|
|
7887
7939
|
if (valueDate < fromDate) {
|
|
7888
7940
|
return false;
|
|
7889
7941
|
}
|
|
@@ -7894,9 +7946,9 @@ class Filters {
|
|
|
7894
7946
|
}
|
|
7895
7947
|
if (to != '') {
|
|
7896
7948
|
if (valueDate != null &&
|
|
7897
|
-
dom$
|
|
7949
|
+
dom$o.ketchup.dates.isValid(to, defaultFormat, true)) {
|
|
7898
7950
|
checkByRegularExpression = false;
|
|
7899
|
-
let toDate = dom$
|
|
7951
|
+
let toDate = dom$o.ketchup.dates.toDate(to, defaultFormat);
|
|
7900
7952
|
if (valueDate > toDate) {
|
|
7901
7953
|
return false;
|
|
7902
7954
|
}
|
|
@@ -7905,9 +7957,9 @@ class Filters {
|
|
|
7905
7957
|
filterValue = to;
|
|
7906
7958
|
}
|
|
7907
7959
|
}
|
|
7908
|
-
if (!dom$
|
|
7909
|
-
!dom$
|
|
7910
|
-
value = dom$
|
|
7960
|
+
if (!dom$o.ketchup.dates.isValid(filterValue, defaultFormat) &&
|
|
7961
|
+
!dom$o.ketchup.dates.isValid(filterValue)) {
|
|
7962
|
+
value = dom$o.ketchup.dates.format(value);
|
|
7911
7963
|
}
|
|
7912
7964
|
}
|
|
7913
7965
|
if (checkByRegularExpression) {
|
|
@@ -7931,9 +7983,9 @@ class Filters {
|
|
|
7931
7983
|
}
|
|
7932
7984
|
}
|
|
7933
7985
|
|
|
7934
|
-
const dom$
|
|
7935
|
-
const kupObjects$1 = dom$
|
|
7936
|
-
? dom$
|
|
7986
|
+
const dom$n = document.documentElement;
|
|
7987
|
+
const kupObjects$1 = dom$n.ketchup
|
|
7988
|
+
? dom$n.ketchup.objects
|
|
7937
7989
|
: new KupObjects();
|
|
7938
7990
|
/**
|
|
7939
7991
|
* Finds all the cells matching the filters criteria in the input dataset.
|
|
@@ -7942,7 +7994,7 @@ const kupObjects$1 = dom$m.ketchup
|
|
|
7942
7994
|
* @returns {KupDataCell[]} Array of cells fetched after applying the filters.
|
|
7943
7995
|
*/
|
|
7944
7996
|
function findCell(dataset, filters) {
|
|
7945
|
-
return dom$
|
|
7997
|
+
return dom$n.ketchup.data.finder(dataset, filters).cells;
|
|
7946
7998
|
}
|
|
7947
7999
|
/**
|
|
7948
8000
|
* Returns all the cells values of the specified column, sorted if required.
|
|
@@ -8014,7 +8066,7 @@ function replaceCell(dataset, cell, columns) {
|
|
|
8014
8066
|
return replaced;
|
|
8015
8067
|
}
|
|
8016
8068
|
|
|
8017
|
-
const dom$
|
|
8069
|
+
const dom$m = document.documentElement;
|
|
8018
8070
|
/**
|
|
8019
8071
|
* Finds the columns matching the criteria specified in the filters argument.
|
|
8020
8072
|
* @param {KupDataDataset | Column[]} dataset - Input dataset or array of columns.
|
|
@@ -8036,7 +8088,7 @@ function findColumns(dataset, filters) {
|
|
|
8036
8088
|
if (column[key] === filter) {
|
|
8037
8089
|
result.push(column);
|
|
8038
8090
|
}
|
|
8039
|
-
else if (dom$
|
|
8091
|
+
else if (dom$m.ketchup.objects.deepEqual(column[key], filter)) {
|
|
8040
8092
|
result.push(column);
|
|
8041
8093
|
}
|
|
8042
8094
|
}
|
|
@@ -8082,7 +8134,7 @@ function newColumn(dataset, type, options) {
|
|
|
8082
8134
|
return newColumnFromMerge(dataset, options.columns, options.newColumn);
|
|
8083
8135
|
default:
|
|
8084
8136
|
const message = 'Wrong type used to invoke new column creation!(' + type + ')';
|
|
8085
|
-
dom$
|
|
8137
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8086
8138
|
return message;
|
|
8087
8139
|
}
|
|
8088
8140
|
}
|
|
@@ -8096,7 +8148,7 @@ function newColumn(dataset, type, options) {
|
|
|
8096
8148
|
function newColumnFromConcatenate(dataset, columns, separator) {
|
|
8097
8149
|
if (!columns || columns.length === 0) {
|
|
8098
8150
|
const message = 'Invalid array, interrupting column merging!(' + columns + ')';
|
|
8099
|
-
dom$
|
|
8151
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8100
8152
|
return message;
|
|
8101
8153
|
}
|
|
8102
8154
|
let firstColumn = null;
|
|
@@ -8118,12 +8170,12 @@ function newColumnFromConcatenate(dataset, columns, separator) {
|
|
|
8118
8170
|
columns.toString() +
|
|
8119
8171
|
')';
|
|
8120
8172
|
col.visible = true;
|
|
8121
|
-
dom$
|
|
8173
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8122
8174
|
return message;
|
|
8123
8175
|
}
|
|
8124
8176
|
}
|
|
8125
8177
|
const newName = columns.join('_');
|
|
8126
|
-
const newObj = objs.length > 0 && dom$
|
|
8178
|
+
const newObj = objs.length > 0 && dom$m.ketchup.objects.isSameKupObj(objs)
|
|
8127
8179
|
? objs[0]
|
|
8128
8180
|
: null;
|
|
8129
8181
|
const newTitle = titles.join(separator);
|
|
@@ -8190,7 +8242,7 @@ function newColumnFromMath(dataset, operation, columns) {
|
|
|
8190
8242
|
}
|
|
8191
8243
|
if (columns.length === 0) {
|
|
8192
8244
|
const message = "Can't apply math formulas without columns!(" + columns + ')';
|
|
8193
|
-
dom$
|
|
8245
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8194
8246
|
return message;
|
|
8195
8247
|
}
|
|
8196
8248
|
const titles = [];
|
|
@@ -8217,11 +8269,11 @@ function newColumnFromMath(dataset, operation, columns) {
|
|
|
8217
8269
|
const col = dataset.columns[index];
|
|
8218
8270
|
if (columns.includes(col.name)) {
|
|
8219
8271
|
titles[columns.indexOf(col.name)] = col.title;
|
|
8220
|
-
if (!dom$
|
|
8272
|
+
if (!dom$m.ketchup.objects.isNumber(col.obj)) {
|
|
8221
8273
|
const message = "Can't apply math formulas on non-numerical columns!(" +
|
|
8222
8274
|
columns +
|
|
8223
8275
|
')';
|
|
8224
|
-
dom$
|
|
8276
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8225
8277
|
return message;
|
|
8226
8278
|
}
|
|
8227
8279
|
}
|
|
@@ -8232,7 +8284,7 @@ function newColumnFromMath(dataset, operation, columns) {
|
|
|
8232
8284
|
const message = 'This mathematical operation on these columns was already performed!(' +
|
|
8233
8285
|
formula +
|
|
8234
8286
|
')';
|
|
8235
|
-
dom$
|
|
8287
|
+
dom$m.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
8236
8288
|
return message;
|
|
8237
8289
|
}
|
|
8238
8290
|
}
|
|
@@ -8260,11 +8312,11 @@ function newColumnFromMath(dataset, operation, columns) {
|
|
|
8260
8312
|
if (!base) {
|
|
8261
8313
|
base = cell;
|
|
8262
8314
|
}
|
|
8263
|
-
formulaRow[column] = dom$
|
|
8315
|
+
formulaRow[column] = dom$m.ketchup.math.numberify(cell.value);
|
|
8264
8316
|
}
|
|
8265
8317
|
}
|
|
8266
8318
|
}
|
|
8267
|
-
const value = dom$
|
|
8319
|
+
const value = dom$m.ketchup.math.formulas
|
|
8268
8320
|
.custom(formula, formulaRow)
|
|
8269
8321
|
.toString();
|
|
8270
8322
|
cells[newName] = Object.assign(Object.assign({}, base), { displayedValue: null, obj: Object.assign(Object.assign({}, newObj), { k: value }), value: value });
|
|
@@ -8312,7 +8364,7 @@ function newColumnFromMerge(dataset, columns2merge, newColumn) {
|
|
|
8312
8364
|
return newColumn;
|
|
8313
8365
|
}
|
|
8314
8366
|
|
|
8315
|
-
const dom$
|
|
8367
|
+
const dom$l = document.documentElement;
|
|
8316
8368
|
/**
|
|
8317
8369
|
* Finds all the rows containing cells matching the filters criteria in the input dataset.
|
|
8318
8370
|
* @param {KupDataDataset} dataset - Input dataset.
|
|
@@ -8320,7 +8372,7 @@ const dom$k = document.documentElement;
|
|
|
8320
8372
|
* @returns {KupDataRow[]} Array of rows fetched after applying the filters.
|
|
8321
8373
|
*/
|
|
8322
8374
|
function findRow(dataset, filters) {
|
|
8323
|
-
return dom$
|
|
8375
|
+
return dom$l.ketchup.data.finder(dataset, filters).rows;
|
|
8324
8376
|
}
|
|
8325
8377
|
/**
|
|
8326
8378
|
* Converts the rows of the input dataset to tree nodes.
|
|
@@ -8662,7 +8714,7 @@ const kupTypes = [
|
|
|
8662
8714
|
FCellTypes.RATING,
|
|
8663
8715
|
];
|
|
8664
8716
|
|
|
8665
|
-
const dom$
|
|
8717
|
+
const dom$k = document.documentElement;
|
|
8666
8718
|
/**
|
|
8667
8719
|
* Handles data operations.
|
|
8668
8720
|
* @module KupData
|
|
@@ -8724,55 +8776,55 @@ class KupData {
|
|
|
8724
8776
|
return FCellTypes.STRING;
|
|
8725
8777
|
}
|
|
8726
8778
|
}
|
|
8727
|
-
if (dom$
|
|
8779
|
+
if (dom$k.ketchup.objects.isBar(obj)) {
|
|
8728
8780
|
return FCellTypes.BAR;
|
|
8729
8781
|
}
|
|
8730
|
-
else if (dom$
|
|
8782
|
+
else if (dom$k.ketchup.objects.isButton(obj)) {
|
|
8731
8783
|
return FCellTypes.BUTTON;
|
|
8732
8784
|
}
|
|
8733
|
-
else if (dom$
|
|
8785
|
+
else if (dom$k.ketchup.objects.isChart(obj)) {
|
|
8734
8786
|
return FCellTypes.CHART;
|
|
8735
8787
|
}
|
|
8736
|
-
else if (dom$
|
|
8788
|
+
else if (dom$k.ketchup.objects.isCheckbox(obj)) {
|
|
8737
8789
|
return FCellTypes.CHECKBOX;
|
|
8738
8790
|
}
|
|
8739
|
-
else if (dom$
|
|
8791
|
+
else if (dom$k.ketchup.objects.isColor(obj)) {
|
|
8740
8792
|
return FCellTypes.COLOR_PICKER;
|
|
8741
8793
|
}
|
|
8742
|
-
else if (dom$
|
|
8794
|
+
else if (dom$k.ketchup.objects.isIcon(obj)) {
|
|
8743
8795
|
return FCellTypes.ICON;
|
|
8744
8796
|
}
|
|
8745
|
-
else if (dom$
|
|
8797
|
+
else if (dom$k.ketchup.objects.isImage(obj)) {
|
|
8746
8798
|
return FCellTypes.IMAGE;
|
|
8747
8799
|
}
|
|
8748
|
-
else if (dom$
|
|
8800
|
+
else if (dom$k.ketchup.objects.isLink(obj)) {
|
|
8749
8801
|
return FCellTypes.LINK;
|
|
8750
8802
|
}
|
|
8751
|
-
else if (dom$
|
|
8803
|
+
else if (dom$k.ketchup.objects.isProgressBar(obj)) {
|
|
8752
8804
|
return FCellTypes.PROGRESS_BAR;
|
|
8753
8805
|
}
|
|
8754
|
-
else if (dom$
|
|
8806
|
+
else if (dom$k.ketchup.objects.isRadio(obj)) {
|
|
8755
8807
|
return FCellTypes.RADIO;
|
|
8756
8808
|
}
|
|
8757
|
-
else if (dom$
|
|
8809
|
+
else if (dom$k.ketchup.objects.isSwitch(obj)) {
|
|
8758
8810
|
return FCellTypes.SWITCH;
|
|
8759
8811
|
}
|
|
8760
|
-
else if (dom$
|
|
8812
|
+
else if (dom$k.ketchup.objects.isKupObjList(obj)) {
|
|
8761
8813
|
return FCellTypes.CHIP;
|
|
8762
8814
|
}
|
|
8763
|
-
else if (dom$
|
|
8815
|
+
else if (dom$k.ketchup.objects.isNumber(obj)) {
|
|
8764
8816
|
return FCellTypes.NUMBER;
|
|
8765
8817
|
}
|
|
8766
|
-
else if (dom$
|
|
8818
|
+
else if (dom$k.ketchup.objects.isDate(obj)) {
|
|
8767
8819
|
return FCellTypes.DATE;
|
|
8768
8820
|
}
|
|
8769
|
-
else if (dom$
|
|
8821
|
+
else if (dom$k.ketchup.objects.isTimestamp(obj)) {
|
|
8770
8822
|
return FCellTypes.DATETIME;
|
|
8771
8823
|
}
|
|
8772
|
-
else if (dom$
|
|
8824
|
+
else if (dom$k.ketchup.objects.isTime(obj)) {
|
|
8773
8825
|
return FCellTypes.TIME;
|
|
8774
8826
|
}
|
|
8775
|
-
else if (dom$
|
|
8827
|
+
else if (dom$k.ketchup.objects.isVoCodver(obj)) {
|
|
8776
8828
|
return FCellTypes.ICON;
|
|
8777
8829
|
}
|
|
8778
8830
|
else {
|
|
@@ -8852,10 +8904,10 @@ class KupData {
|
|
|
8852
8904
|
if (!columns || !columns.length || columns.includes(key)) {
|
|
8853
8905
|
if (min && max) {
|
|
8854
8906
|
let d = null, s = '', n = 0;
|
|
8855
|
-
if (dom$
|
|
8856
|
-
d = dom$
|
|
8857
|
-
const dMax = dom$
|
|
8858
|
-
const dMin = dom$
|
|
8907
|
+
if (dom$k.ketchup.objects.isDate(cell.obj)) {
|
|
8908
|
+
d = dom$k.ketchup.dates.toDate(cell.value);
|
|
8909
|
+
const dMax = dom$k.ketchup.dates.toDate(max instanceof String ? max.valueOf() : max);
|
|
8910
|
+
const dMin = dom$k.ketchup.dates.toDate(min instanceof String ? min.valueOf() : min);
|
|
8859
8911
|
if (d === dMax ||
|
|
8860
8912
|
d === dMin ||
|
|
8861
8913
|
(d < dMax && d > dMin)) {
|
|
@@ -8874,7 +8926,7 @@ class KupData {
|
|
|
8874
8926
|
}
|
|
8875
8927
|
}
|
|
8876
8928
|
else {
|
|
8877
|
-
n = dom$
|
|
8929
|
+
n = dom$k.ketchup.math.numberify(cell.value);
|
|
8878
8930
|
if (n === max ||
|
|
8879
8931
|
n === min ||
|
|
8880
8932
|
(n < max && n > min)) {
|
|
@@ -9031,7 +9083,7 @@ class KupData {
|
|
|
9031
9083
|
sort(dataset, sortType, headerColumn) {
|
|
9032
9084
|
if (sortType != 'normalDistribution') {
|
|
9033
9085
|
const message = 'Wrong sort type! (' + sortType + ')';
|
|
9034
|
-
dom$
|
|
9086
|
+
dom$k.ketchup.debug.logMessage('kup-data', message, KupDebugCategory.WARNING);
|
|
9035
9087
|
return dataset;
|
|
9036
9088
|
}
|
|
9037
9089
|
const output = {
|
|
@@ -10827,7 +10879,7 @@ createCommonjsModule(function (module) {
|
|
|
10827
10879
|
}));
|
|
10828
10880
|
});
|
|
10829
10881
|
|
|
10830
|
-
const dom$
|
|
10882
|
+
const dom$j = document.documentElement;
|
|
10831
10883
|
/**
|
|
10832
10884
|
* Takes a mathematical formula as string in input, with column names between brackets, and returns the result as a number.
|
|
10833
10885
|
* @param {string} formula - Mathematical operation (i.e.: ([COL1] - [COL2]) * 100 / [COL3]).
|
|
@@ -10850,7 +10902,7 @@ function customFormula(formula, row) {
|
|
|
10850
10902
|
return result;
|
|
10851
10903
|
}
|
|
10852
10904
|
catch (e) {
|
|
10853
|
-
dom$
|
|
10905
|
+
dom$j.ketchup.debug.logMessage('kup-data', 'Error while evaluating the following formula!(' + formula + ')', KupDebugCategory.ERROR);
|
|
10854
10906
|
return NaN;
|
|
10855
10907
|
}
|
|
10856
10908
|
}
|
|
@@ -10866,7 +10918,7 @@ function normalDistributionFormula(average, variance, x) {
|
|
|
10866
10918
|
Math.exp(-Math.pow(x - average, 2) / (2 * variance)));
|
|
10867
10919
|
}
|
|
10868
10920
|
|
|
10869
|
-
const dom$
|
|
10921
|
+
const dom$i = document.documentElement;
|
|
10870
10922
|
/**
|
|
10871
10923
|
* Handles mathematical operations and number formatting/conversion.
|
|
10872
10924
|
* @module KupMath
|
|
@@ -10889,7 +10941,7 @@ class KupMath {
|
|
|
10889
10941
|
const maximumFractionDigits = 14;
|
|
10890
10942
|
if (value == null || value == '')
|
|
10891
10943
|
return value;
|
|
10892
|
-
return Number(value).toLocaleString(dom$
|
|
10944
|
+
return Number(value).toLocaleString(dom$i.ketchup.math.locale, {
|
|
10893
10945
|
maximumFractionDigits: maximumFractionDigits,
|
|
10894
10946
|
});
|
|
10895
10947
|
},
|
|
@@ -10906,7 +10958,7 @@ class KupMath {
|
|
|
10906
10958
|
setLocale(locale) {
|
|
10907
10959
|
if (!Object.values(KupMathLocales).includes(locale)) {
|
|
10908
10960
|
locale = KupMathLocales.en;
|
|
10909
|
-
dom$
|
|
10961
|
+
dom$i.ketchup.debug.logMessage('kup-math', 'Invalid locale (' + locale + ')! Defaulting to english.', KupDebugCategory.WARNING);
|
|
10910
10962
|
}
|
|
10911
10963
|
this.locale = locale;
|
|
10912
10964
|
this.numeral.locale(locale);
|
|
@@ -10960,10 +11012,11 @@ class KupMath {
|
|
|
10960
11012
|
* Formats the input number with the specified format of the currently set locale.
|
|
10961
11013
|
* @param {string | String | number} input - Input number which will be automatically "numberified".
|
|
10962
11014
|
* @param {string} format - Desired format. Defaults to '0,0.00' (i.e.: 2,000,000.51).
|
|
11015
|
+
* @param {boolean} inputIsLocalized Numberifies assuming the input string is in the current KupMath locale's format.
|
|
10963
11016
|
* @returns {string} Formatted number.
|
|
10964
11017
|
*/
|
|
10965
|
-
format(input, format) {
|
|
10966
|
-
const n = this.numberify(input);
|
|
11018
|
+
format(input, format, inputIsLocalized) {
|
|
11019
|
+
const n = this.numberify(input, inputIsLocalized);
|
|
10967
11020
|
if (!format) {
|
|
10968
11021
|
const positiveN = Math.abs(n);
|
|
10969
11022
|
const decimals = positiveN - Math.floor(positiveN);
|
|
@@ -10974,8 +11027,88 @@ class KupMath {
|
|
|
10974
11027
|
format = '0,0';
|
|
10975
11028
|
}
|
|
10976
11029
|
}
|
|
10977
|
-
|
|
10978
|
-
|
|
11030
|
+
return this.numeral(n).format(format);
|
|
11031
|
+
}
|
|
11032
|
+
/**
|
|
11033
|
+
* Created the string for format a number
|
|
11034
|
+
* @param {boolean} thousandPoint - show thousandPoint
|
|
11035
|
+
* @param {number} decimals - number of decimals
|
|
11036
|
+
*/
|
|
11037
|
+
createFormatPattern(thousandPoint, decimals) {
|
|
11038
|
+
var format = '0';
|
|
11039
|
+
if (thousandPoint) {
|
|
11040
|
+
format += ',000';
|
|
11041
|
+
}
|
|
11042
|
+
if (decimals && decimals > 0) {
|
|
11043
|
+
format += '.';
|
|
11044
|
+
for (let i = 0; i < decimals; i++) {
|
|
11045
|
+
format += '0';
|
|
11046
|
+
}
|
|
11047
|
+
}
|
|
11048
|
+
return format;
|
|
11049
|
+
}
|
|
11050
|
+
/**
|
|
11051
|
+
* Returns the decimal separator of current browser
|
|
11052
|
+
* @returns current decimal separator, by locale
|
|
11053
|
+
*/
|
|
11054
|
+
decimalSeparator() {
|
|
11055
|
+
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
11056
|
+
return Intl.NumberFormat(this.locale)
|
|
11057
|
+
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
11058
|
+
.find((part) => part.type === 'decimal').value;
|
|
11059
|
+
}
|
|
11060
|
+
/**
|
|
11061
|
+
* Returns the group separator of current browser
|
|
11062
|
+
* @returns current group separator, by locale
|
|
11063
|
+
*/
|
|
11064
|
+
groupSeparator() {
|
|
11065
|
+
const numberWithGroupAndDecimalSeparator = 1000.1;
|
|
11066
|
+
return Intl.NumberFormat(this.locale)
|
|
11067
|
+
.formatToParts(numberWithGroupAndDecimalSeparator)
|
|
11068
|
+
.find((part) => part.type === 'group').value;
|
|
11069
|
+
}
|
|
11070
|
+
/**
|
|
11071
|
+
* Checks if an input string matches options, for desired formatted decimal number (integer digits, decimal digits)
|
|
11072
|
+
* @param value the input value to check
|
|
11073
|
+
* @param options options for customize the check
|
|
11074
|
+
* @returns an object from applying the regular expression for check
|
|
11075
|
+
*/
|
|
11076
|
+
matchNumericValueWithOptions(value, options) {
|
|
11077
|
+
// see https://github.com/24eme/jquery-input-number-format.git
|
|
11078
|
+
let found = undefined;
|
|
11079
|
+
let integerPartSuffix = '+';
|
|
11080
|
+
if (options.integer && options.integer > 0) {
|
|
11081
|
+
integerPartSuffix = '{0,' + options.integer + '}';
|
|
11082
|
+
}
|
|
11083
|
+
let regexp = '^[0-9]' + integerPartSuffix;
|
|
11084
|
+
if (options.allowNegative) {
|
|
11085
|
+
regexp = '^-{0,1}[0-9]' + integerPartSuffix;
|
|
11086
|
+
}
|
|
11087
|
+
if (options.decimal && options.decimal > 0) {
|
|
11088
|
+
regexp +=
|
|
11089
|
+
'([' +
|
|
11090
|
+
this.decimalSeparator() +
|
|
11091
|
+
'][0-9]{0,' +
|
|
11092
|
+
options.decimal +
|
|
11093
|
+
'})?';
|
|
11094
|
+
let regexpObj = new RegExp(regexp + '$');
|
|
11095
|
+
found = value.match(regexpObj);
|
|
11096
|
+
if (!found) {
|
|
11097
|
+
regexp =
|
|
11098
|
+
'^[' +
|
|
11099
|
+
this.decimalSeparator() +
|
|
11100
|
+
'][0-9]{0,' +
|
|
11101
|
+
options.decimal +
|
|
11102
|
+
'}';
|
|
11103
|
+
regexpObj = new RegExp(regexp + '$');
|
|
11104
|
+
found = value.match(regexpObj);
|
|
11105
|
+
}
|
|
11106
|
+
}
|
|
11107
|
+
else {
|
|
11108
|
+
let regexpObj = new RegExp(regexp + '$');
|
|
11109
|
+
found = value.match(regexpObj);
|
|
11110
|
+
}
|
|
11111
|
+
return found;
|
|
10979
11112
|
}
|
|
10980
11113
|
/**
|
|
10981
11114
|
* Returns a number from a non-specified input type between string, number, or String.
|
|
@@ -11018,7 +11151,7 @@ class KupMath {
|
|
|
11018
11151
|
}
|
|
11019
11152
|
}
|
|
11020
11153
|
|
|
11021
|
-
var __classPrivateFieldGet$
|
|
11154
|
+
var __classPrivateFieldGet$8 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
11022
11155
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
11023
11156
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11024
11157
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
@@ -11030,7 +11163,7 @@ var __classPrivateFieldSet$5 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
11030
11163
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11031
11164
|
};
|
|
11032
11165
|
var _KupTooltip_instances, _KupTooltip_clickCb, _KupTooltip_dynPos, _KupTooltip_create, _KupTooltip_setOptions;
|
|
11033
|
-
const dom$
|
|
11166
|
+
const dom$h = document.documentElement;
|
|
11034
11167
|
/**
|
|
11035
11168
|
* Handles application-wide tooltip using card component.
|
|
11036
11169
|
* @module KupTooltip
|
|
@@ -11143,8 +11276,8 @@ class KupTooltip {
|
|
|
11143
11276
|
hide() {
|
|
11144
11277
|
if (this.element) {
|
|
11145
11278
|
this.element.menuVisible = false;
|
|
11146
|
-
dom$
|
|
11147
|
-
dom$
|
|
11279
|
+
dom$h.ketchup.dynamicPosition.stop(this.element);
|
|
11280
|
+
dom$h.ketchup.removeClickCallback(__classPrivateFieldGet$8(this, _KupTooltip_clickCb, "f"));
|
|
11148
11281
|
}
|
|
11149
11282
|
}
|
|
11150
11283
|
/**
|
|
@@ -11155,26 +11288,26 @@ class KupTooltip {
|
|
|
11155
11288
|
show(anchor, options) {
|
|
11156
11289
|
// Creates the card or updates it with new options
|
|
11157
11290
|
if (!this.element) {
|
|
11158
|
-
__classPrivateFieldGet$
|
|
11291
|
+
__classPrivateFieldGet$8(this, _KupTooltip_instances, "m", _KupTooltip_create).call(this, options);
|
|
11159
11292
|
}
|
|
11160
11293
|
else if (options) {
|
|
11161
|
-
__classPrivateFieldGet$
|
|
11294
|
+
__classPrivateFieldGet$8(this, _KupTooltip_instances, "m", _KupTooltip_setOptions).call(this, options);
|
|
11162
11295
|
}
|
|
11163
11296
|
// If an anchor was provided, initializes or updates dynamic positioning
|
|
11164
11297
|
if (anchor) {
|
|
11165
|
-
__classPrivateFieldGet$
|
|
11298
|
+
__classPrivateFieldGet$8(this, _KupTooltip_instances, "m", _KupTooltip_dynPos).call(this, anchor);
|
|
11166
11299
|
}
|
|
11167
11300
|
// If the tooltip is already visible, it's pointless to go on
|
|
11168
11301
|
if (this.element.menuVisible) {
|
|
11169
11302
|
return;
|
|
11170
11303
|
}
|
|
11171
11304
|
// If the dynamic positioning is still to be registered, a warning is thrown
|
|
11172
|
-
if (!dom$
|
|
11173
|
-
dom$
|
|
11305
|
+
if (!dom$h.ketchup.dynamicPosition.isRegistered(this.element)) {
|
|
11306
|
+
dom$h.ketchup.debug.logMessage('kup-tooltip', 'Unable to display KupTooltip without specifying a valid anchor point.', KupDebugCategory.WARNING);
|
|
11174
11307
|
return;
|
|
11175
11308
|
}
|
|
11176
11309
|
this.element.menuVisible = true;
|
|
11177
|
-
dom$
|
|
11310
|
+
dom$h.ketchup.addClickCallback(__classPrivateFieldGet$8(this, _KupTooltip_clickCb, "f"), true);
|
|
11178
11311
|
}
|
|
11179
11312
|
/**
|
|
11180
11313
|
* Returns whether an element was previously registered or not.
|
|
@@ -11209,13 +11342,13 @@ class KupTooltip {
|
|
|
11209
11342
|
}
|
|
11210
11343
|
}
|
|
11211
11344
|
_KupTooltip_clickCb = new WeakMap(), _KupTooltip_instances = new WeakSet(), _KupTooltip_dynPos = function _KupTooltip_dynPos(anchor) {
|
|
11212
|
-
if (dom$
|
|
11213
|
-
dom$
|
|
11345
|
+
if (dom$h.ketchup.dynamicPosition.isRegistered(this.element)) {
|
|
11346
|
+
dom$h.ketchup.dynamicPosition.changeAnchor(this.element, anchor);
|
|
11214
11347
|
}
|
|
11215
11348
|
else {
|
|
11216
|
-
dom$
|
|
11349
|
+
dom$h.ketchup.dynamicPosition.register(this.element, anchor, null, null, true);
|
|
11217
11350
|
}
|
|
11218
|
-
dom$
|
|
11351
|
+
dom$h.ketchup.dynamicPosition.start(this.element);
|
|
11219
11352
|
}, _KupTooltip_create = function _KupTooltip_create(options) {
|
|
11220
11353
|
this.element = document.createElement('kup-card');
|
|
11221
11354
|
this.element.id = 'kup-tooltip';
|
|
@@ -11224,7 +11357,7 @@ _KupTooltip_clickCb = new WeakMap(), _KupTooltip_instances = new WeakSet(), _Kup
|
|
|
11224
11357
|
this.element.sizeX = 'auto';
|
|
11225
11358
|
this.element.sizeY = 'auto';
|
|
11226
11359
|
if (options) {
|
|
11227
|
-
__classPrivateFieldGet$
|
|
11360
|
+
__classPrivateFieldGet$8(this, _KupTooltip_instances, "m", _KupTooltip_setOptions).call(this, options);
|
|
11228
11361
|
}
|
|
11229
11362
|
document.body.appendChild(this.element);
|
|
11230
11363
|
__classPrivateFieldSet$5(this, _KupTooltip_clickCb, {
|
|
@@ -19070,7 +19203,7 @@ var html2canvas = createCommonjsModule(function (module, exports) {
|
|
|
19070
19203
|
//# sourceMappingURL=html2canvas.js.map
|
|
19071
19204
|
});
|
|
19072
19205
|
|
|
19073
|
-
const dom$
|
|
19206
|
+
const dom$g = document.documentElement;
|
|
19074
19207
|
/**
|
|
19075
19208
|
* This class controls every other Ketchup utility suite.
|
|
19076
19209
|
* @module KupManager
|
|
@@ -19285,6 +19418,24 @@ class KupManager {
|
|
|
19285
19418
|
this.utilities.clickCallbacks.add(cb);
|
|
19286
19419
|
}
|
|
19287
19420
|
}
|
|
19421
|
+
/**
|
|
19422
|
+
* Retrives event path from event.target
|
|
19423
|
+
* @param currentEl event.target
|
|
19424
|
+
* @param rootElement rootElement of component
|
|
19425
|
+
* @returns
|
|
19426
|
+
*/
|
|
19427
|
+
getEventPath(currentEl, rootElement) {
|
|
19428
|
+
const path = [];
|
|
19429
|
+
while (currentEl &&
|
|
19430
|
+
currentEl !== rootElement &&
|
|
19431
|
+
currentEl !== document.body) {
|
|
19432
|
+
path.push(currentEl);
|
|
19433
|
+
currentEl = currentEl.parentNode
|
|
19434
|
+
? currentEl.parentNode
|
|
19435
|
+
: currentEl.host;
|
|
19436
|
+
}
|
|
19437
|
+
return path;
|
|
19438
|
+
}
|
|
19288
19439
|
/**
|
|
19289
19440
|
* Rasterizes an HTMLElement, transforming into a canvas.
|
|
19290
19441
|
* @param {HTMLElement} el - Element to rasterize.
|
|
@@ -19314,26 +19465,26 @@ class KupManager {
|
|
|
19314
19465
|
*/
|
|
19315
19466
|
function kupManagerInstance() {
|
|
19316
19467
|
var _a;
|
|
19317
|
-
if (!dom$
|
|
19318
|
-
const overrides = (_a = dom$
|
|
19319
|
-
dom$
|
|
19320
|
-
dom$
|
|
19321
|
-
if (dom$
|
|
19322
|
-
dom$
|
|
19323
|
-
}
|
|
19324
|
-
globalThis.kupManager = dom$
|
|
19468
|
+
if (!dom$g.ketchup) {
|
|
19469
|
+
const overrides = (_a = dom$g.ketchupInit) !== null && _a !== void 0 ? _a : null;
|
|
19470
|
+
dom$g.ketchup = new KupManager(overrides);
|
|
19471
|
+
dom$g.ketchup.theme.set();
|
|
19472
|
+
if (dom$g.ketchup.debug.active) {
|
|
19473
|
+
dom$g.ketchup.debug.toggle(dom$g.ketchup.debug.active);
|
|
19474
|
+
}
|
|
19475
|
+
globalThis.kupManager = dom$g.ketchup;
|
|
19325
19476
|
if (overrides === null || overrides === void 0 ? void 0 : overrides.autoSetLocalization) {
|
|
19326
|
-
const locale = dom$
|
|
19477
|
+
const locale = dom$g.ketchup.dates.locale;
|
|
19327
19478
|
if (!overrides.language || !overrides.language.name) {
|
|
19328
|
-
dom$
|
|
19479
|
+
dom$g.ketchup.language.set(KupLanguageDefaults[locale]);
|
|
19329
19480
|
}
|
|
19330
19481
|
if (!overrides.math || !overrides.math.locale) {
|
|
19331
|
-
dom$
|
|
19482
|
+
dom$g.ketchup.math.setLocale(KupMathLocales[locale]);
|
|
19332
19483
|
}
|
|
19333
19484
|
}
|
|
19334
19485
|
document.dispatchEvent(new CustomEvent('kup-manager-ready'));
|
|
19335
19486
|
}
|
|
19336
|
-
return dom$
|
|
19487
|
+
return dom$g.ketchup;
|
|
19337
19488
|
}
|
|
19338
19489
|
|
|
19339
19490
|
/**
|
|
@@ -19450,6 +19601,7 @@ function createBar(data) {
|
|
|
19450
19601
|
*/
|
|
19451
19602
|
const componentWrapperId = 'kup-component';
|
|
19452
19603
|
|
|
19604
|
+
const dom$f = document.documentElement;
|
|
19453
19605
|
/*-------------------------------------------------*/
|
|
19454
19606
|
/* C o m p o n e n t */
|
|
19455
19607
|
/*-------------------------------------------------*/
|
|
@@ -19466,6 +19618,7 @@ const FTextField = (props, children) => {
|
|
|
19466
19618
|
/* M e t h o d s */
|
|
19467
19619
|
/*-------------------------------------------------*/
|
|
19468
19620
|
function setContent(props) {
|
|
19621
|
+
var _a, _b;
|
|
19469
19622
|
const isOutlined = props.textArea || props.outlined;
|
|
19470
19623
|
let labelEl;
|
|
19471
19624
|
let iconEl;
|
|
@@ -19499,23 +19652,85 @@ function setContent(props) {
|
|
|
19499
19652
|
'mdc-text-field--with-leading-icon': props.icon && !props.trailingIcon,
|
|
19500
19653
|
'mdc-text-field--with-trailing-icon': props.icon && props.trailingIcon,
|
|
19501
19654
|
};
|
|
19655
|
+
let value = props.value;
|
|
19656
|
+
let inputType = (_a = props.inputType) !== null && _a !== void 0 ? _a : 'text';
|
|
19657
|
+
let persManageForNumberFormat = false;
|
|
19658
|
+
if (props.inputType === 'number' && props.decimals && props.decimals > 0) {
|
|
19659
|
+
inputType = 'text';
|
|
19660
|
+
persManageForNumberFormat = true;
|
|
19661
|
+
}
|
|
19662
|
+
if (props.inputType === 'number') {
|
|
19663
|
+
const options = {
|
|
19664
|
+
allowNegative: (_b = props.allowNegative) !== null && _b !== void 0 ? _b : true,
|
|
19665
|
+
decimal: props.decimals,
|
|
19666
|
+
group: props.group,
|
|
19667
|
+
integer: props.integers,
|
|
19668
|
+
};
|
|
19669
|
+
value = formatValue(value, options, false);
|
|
19670
|
+
}
|
|
19502
19671
|
return (h("div", { class: classObj },
|
|
19503
19672
|
props.textArea && props.maxLength ? (h("div", { class: "mdc-text-field-character-counter" },
|
|
19504
19673
|
"'0 / ' + ",
|
|
19505
19674
|
props.maxLength)) : undefined,
|
|
19506
19675
|
!props.trailingIcon ? iconEl : undefined,
|
|
19507
19676
|
props.textArea ? (h("span", { class: "mdc-text-field__resizer" },
|
|
19508
|
-
h("textarea", { class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, maxlength: props.maxLength, value:
|
|
19677
|
+
h("textarea", { class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, maxlength: props.maxLength, value: value, onBlur: props.onBlur, onClick: props.onClick, onChange: props.onChange, onFocus: props.onFocus, onInput: props.onInput, onKeyDown: props.onKeyDown }))) : (h("input", { inputmode: props.inputMode ? props.inputMode : undefined, type: inputType, step: props.step, min: props.min, max: props.max, name: props.name, class: "mdc-text-field__input", disabled: props.disabled, readOnly: props.readOnly, placeholder: props.fullWidth && !props.outlined
|
|
19509
19678
|
? props.label
|
|
19510
|
-
: undefined, maxlength: props.maxLength, value:
|
|
19511
|
-
|
|
19512
|
-
|
|
19513
|
-
|
|
19679
|
+
: undefined, maxlength: props.maxLength, value: value, onBlur: (e) => {
|
|
19680
|
+
var _a;
|
|
19681
|
+
if (persManageForNumberFormat) {
|
|
19682
|
+
const options = {
|
|
19683
|
+
allowNegative: (_a = props.allowNegative) !== null && _a !== void 0 ? _a : true,
|
|
19684
|
+
decimal: props.decimals,
|
|
19685
|
+
group: props.group,
|
|
19686
|
+
integer: props.integers,
|
|
19687
|
+
};
|
|
19688
|
+
e.target.value = formatValue(e.target.value, options, true);
|
|
19689
|
+
}
|
|
19690
|
+
if (props.onBlur) {
|
|
19691
|
+
props.onBlur(e);
|
|
19692
|
+
}
|
|
19693
|
+
}, onChange: (e) => {
|
|
19694
|
+
var _a;
|
|
19695
|
+
if (persManageForNumberFormat) {
|
|
19696
|
+
const options = {
|
|
19697
|
+
allowNegative: (_a = props.allowNegative) !== null && _a !== void 0 ? _a : true,
|
|
19698
|
+
decimal: props.decimals,
|
|
19699
|
+
group: props.group,
|
|
19700
|
+
integer: props.integers,
|
|
19701
|
+
};
|
|
19702
|
+
e.target.value = formatValue(e.target.value, options, true);
|
|
19514
19703
|
}
|
|
19515
19704
|
if (props.onChange) {
|
|
19516
19705
|
props.onChange(e);
|
|
19517
19706
|
}
|
|
19518
|
-
}, onClick: props.onClick, onFocus: props.onFocus, onInput: props.onInput, onKeyDown: props.onKeyDown
|
|
19707
|
+
}, onClick: props.onClick, onFocus: props.onFocus, onInput: props.onInput, onKeyDown: props.onKeyDown, onKeyPress: (e) => {
|
|
19708
|
+
var _a;
|
|
19709
|
+
if (!persManageForNumberFormat) {
|
|
19710
|
+
return;
|
|
19711
|
+
}
|
|
19712
|
+
if (e.ctrlKey) {
|
|
19713
|
+
return;
|
|
19714
|
+
}
|
|
19715
|
+
if (e.key.length > 1) {
|
|
19716
|
+
return;
|
|
19717
|
+
}
|
|
19718
|
+
const options = {
|
|
19719
|
+
allowNegative: (_a = props.allowNegative) !== null && _a !== void 0 ? _a : true,
|
|
19720
|
+
decimal: props.decimals,
|
|
19721
|
+
group: props.group,
|
|
19722
|
+
integer: props.integers,
|
|
19723
|
+
};
|
|
19724
|
+
let component = e.target;
|
|
19725
|
+
let value = component.value;
|
|
19726
|
+
let beginVal = value.substring(0, component.selectionStart);
|
|
19727
|
+
let endVal = value.substring(component.selectionEnd, component.selectionEnd + value.length - 1);
|
|
19728
|
+
let val = beginVal + e.key + endVal;
|
|
19729
|
+
if (!dom$f.ketchup.math.matchNumericValueWithOptions(val, options)) {
|
|
19730
|
+
e.preventDefault();
|
|
19731
|
+
return;
|
|
19732
|
+
}
|
|
19733
|
+
} })),
|
|
19519
19734
|
props.isClearable ? (h("span", { class: `mdc-text-field__icon kup-icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onClearIconClick })) : undefined,
|
|
19520
19735
|
props.trailingIcon ? iconEl : undefined,
|
|
19521
19736
|
!props.fullWidth && !isOutlined ? labelEl : undefined,
|
|
@@ -19546,7 +19761,17 @@ function setHelper(props) {
|
|
|
19546
19761
|
}
|
|
19547
19762
|
}
|
|
19548
19763
|
}
|
|
19549
|
-
}
|
|
19764
|
+
}
|
|
19765
|
+
const formatValue = function (value, options, inputIsLocalized) {
|
|
19766
|
+
let formatedValue = value;
|
|
19767
|
+
if (!formatedValue) {
|
|
19768
|
+
return formatedValue;
|
|
19769
|
+
}
|
|
19770
|
+
if (formatedValue == '-') {
|
|
19771
|
+
return '';
|
|
19772
|
+
}
|
|
19773
|
+
return dom$f.ketchup.math.format(formatedValue, dom$f.ketchup.math.createFormatPattern(options.group, options.decimal), inputIsLocalized);
|
|
19774
|
+
};
|
|
19550
19775
|
|
|
19551
19776
|
/**
|
|
19552
19777
|
* @license
|
|
@@ -22962,10 +23187,7 @@ function cellEvent(e, props, cellType, cellEventName) {
|
|
|
22962
23187
|
const column = props.column;
|
|
22963
23188
|
const comp = props.component;
|
|
22964
23189
|
const row = props.row;
|
|
22965
|
-
|
|
22966
|
-
let value = isInputEvent
|
|
22967
|
-
? e.target.value
|
|
22968
|
-
: e.detail.value;
|
|
23190
|
+
let value = getValueFromEventTaget(e, cellType);
|
|
22969
23191
|
if (cellEventName === FCellEvents.UPDATE) {
|
|
22970
23192
|
switch (cellType) {
|
|
22971
23193
|
case FCellTypes.AUTOCOMPLETE:
|
|
@@ -23025,6 +23247,16 @@ function cellEvent(e, props, cellType, cellEventName) {
|
|
|
23025
23247
|
}
|
|
23026
23248
|
}
|
|
23027
23249
|
}
|
|
23250
|
+
function getValueFromEventTaget(e, cellType) {
|
|
23251
|
+
const isInputEvent = !!(e.target.tagName === 'INPUT');
|
|
23252
|
+
let value = isInputEvent
|
|
23253
|
+
? e.target.value
|
|
23254
|
+
: e.detail.value;
|
|
23255
|
+
if (cellType === FCellTypes.NUMBER && isInputEvent) {
|
|
23256
|
+
value = formattedStringToUnformattedStringNumber(value, '');
|
|
23257
|
+
}
|
|
23258
|
+
return value;
|
|
23259
|
+
}
|
|
23028
23260
|
function isAutoCentered(props) {
|
|
23029
23261
|
var _a;
|
|
23030
23262
|
return autoCenterComps.includes((_a = props.component) === null || _a === void 0 ? void 0 : _a.rootElement.tagName);
|
|
@@ -28830,8 +29062,8 @@ class KupDataTableState {
|
|
|
28830
29062
|
this.expandGroups = false;
|
|
28831
29063
|
this.groupLabelDisplay = GroupLabelDisplayMode.BOTH;
|
|
28832
29064
|
this.density = 'small';
|
|
28833
|
-
this.enableSortableColumns = false;
|
|
28834
29065
|
this.enableExtraColumns = true;
|
|
29066
|
+
this.enableSortableColumns = false;
|
|
28835
29067
|
this.forceOneLine = false;
|
|
28836
29068
|
this.globalFilter = false;
|
|
28837
29069
|
this.globalFilterValue = '';
|
|
@@ -30708,11 +30940,13 @@ var KupTabBarProps;
|
|
|
30708
30940
|
*/
|
|
30709
30941
|
var KupTextFieldProps;
|
|
30710
30942
|
(function (KupTextFieldProps) {
|
|
30943
|
+
KupTextFieldProps["allowNegative"] = "When true, could be input negative numbers. It has effect only with number input type.";
|
|
30711
30944
|
KupTextFieldProps["customStyle"] = "Custom style of the component.";
|
|
30712
30945
|
KupTextFieldProps["decimals"] = "Number of decimals (should be used when inputType is number).";
|
|
30713
30946
|
KupTextFieldProps["disabled"] = "When set to true, the component is disabled.";
|
|
30714
30947
|
KupTextFieldProps["emitSubmitEventOnEnter"] = "When the text field is part of the autocomplete component and the list is opened, enter key selects the item and doesn't submit.";
|
|
30715
30948
|
KupTextFieldProps["fullWidth"] = "When set to true, the component will be rendered at full width.";
|
|
30949
|
+
KupTextFieldProps["group"] = "When true, the number will be formatted with group separator. It has effect only with number input type.";
|
|
30716
30950
|
KupTextFieldProps["helper"] = "When set, its content will be shown as a help text below the field.";
|
|
30717
30951
|
KupTextFieldProps["helperEnabled"] = "When true, the helper will be displayed.";
|
|
30718
30952
|
KupTextFieldProps["helperWhenFocused"] = "When set, the helper will be shown only when the field is focused.";
|
|
@@ -30720,6 +30954,7 @@ var KupTextFieldProps;
|
|
|
30720
30954
|
KupTextFieldProps["initialValue"] = "Sets the initial value of the component";
|
|
30721
30955
|
KupTextFieldProps["inputMode"] = "The HTML inputmode of the input element. It has no effect on text areas.";
|
|
30722
30956
|
KupTextFieldProps["inputType"] = "The HTML type of the input element. It has no effect on text areas.";
|
|
30957
|
+
KupTextFieldProps["integers"] = "Number of integers (should be used when inputType is number).";
|
|
30723
30958
|
KupTextFieldProps["isClearable"] = "Enables a clear trailing icon.";
|
|
30724
30959
|
KupTextFieldProps["label"] = "When set, its content will be shown as a label.";
|
|
30725
30960
|
KupTextFieldProps["leadingLabel"] = "When set to true, the label will be on the left of the component.";
|
|
@@ -30881,6 +31116,14 @@ class FiltersTreeItems extends FiltersRows {
|
|
|
30881
31116
|
|
|
30882
31117
|
const kupTreeCss = ":host{--kup_tree_border:var(--kup-tree-border, 1px solid var(--kup-border-color));--kup_tree_color:var(--kup-tree-color, var(--kup-text-color));--kup_tree_color_rgb:var(--kup-tree-color-rgb, var(--kup-text-color-rgb));--kup_tree_font_family:var(--kup-tree-font-family, var(--kup-font-family));--kup_tree_filter_background_color:var(--kup-tree-filter-background-color, var(--kup-background-color));--kup_tree_font_family_monospace:var(\n --kup-tree-font-family-monospace,\n var(--kup-font-family-monospace)\n );--kup_tree_font_size:var(--kup-tree-font-size, var(--kup-font-size));--kup_tree_hover_color:var(--kup-tree-hover-color, var(--kup-hover-color));--kup_tree_hover_background_color:var(\n --kup-tree-hover-background-color,\n var(--kup-hover-background-color)\n );--kup_tree_icon_color:var(--kup-tree-icon-color, var(--kup-icon-color));--kup_tree_primary_color:var(\n --kup-tree-primary-color,\n var(--kup-primary-color)\n );--kup_tree_primary_color_rgb:var(\n --kup-tree-primary-color-rgb,\n var(--kup-primary-color-rgb)\n );--kup_tree_text_on_primary_color:var(\n --kup-tree-text-on-primary-color,\n var(--kup-text-on-primary-color)\n );display:block;font-family:var(--kup_tree_font_family);font-size:var(--kup_tree_font_size)}:host([prevent-x-scroll]) .wrapper{overflow-x:hidden}#kup-component{color:var(--kup_tree_color)}.density-dense .wrapper .kup-tree td:not(.grid-cell),.density-dense .wrapper .kup-tree th{padding:0 0.5em}.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree td:not(.grid-cell) .kup-tree__icon+.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon~.cell-content,.density-dense .wrapper .kup-tree th .kup-tree__icon+.cell-content{vertical-align:0.4em}.density-wide .wrapper .kup-tree td:not(.grid-cell),.density-wide .wrapper .kup-tree th{padding:0.75em 0.5em}.wrapper{overflow-x:auto}.wrapper .kup-tree{border-collapse:collapse;width:max-content}.wrapper .kup-tree thead{display:none}.wrapper .kup-tree thead.header--is-visible{display:table-header-group}.wrapper .kup-tree thead.header--is-visible th{padding:0.8em 0.5em;font-size:1.1em}.wrapper .kup-tree thead th{text-align:left}.wrapper .kup-tree tr,.wrapper .kup-tree td{font-size:1em;line-height:1em}.wrapper .kup-tree tr.mdc-ripple-surface,.wrapper .kup-tree td.mdc-ripple-surface{--mdc-ripple-fg-opacity:0.24}.wrapper .kup-tree tr.mdc-ripple-surface:before,.wrapper .kup-tree tr.mdc-ripple-surface:after,.wrapper .kup-tree td.mdc-ripple-surface:before,.wrapper .kup-tree td.mdc-ripple-surface:after{background-color:var(--kup_tree_primary_color)}.wrapper .kup-tree tr .kup-tree__icon~.cell-content,.wrapper .kup-tree tr .kup-tree__icon+.cell-content,.wrapper .kup-tree td .kup-tree__icon~.cell-content,.wrapper .kup-tree td .kup-tree__icon+.cell-content{display:inline-block;vertical-align:0.3em}.wrapper .kup-tree td:not(.grid-cell),.wrapper .kup-tree th{padding:0.4em 0.5em}.wrapper .kup-tree td{padding:0;white-space:nowrap}.wrapper .kup-tree__indent{display:inline-block;width:calc(1.5em * var(--kup_tree_node_depth, 0))}.wrapper .kup-tree__icon{display:inline-block;margin-right:0.4em;height:1.5em;min-width:1.5em;width:1.5em}.wrapper .kup-tree__node__expander{transition:transform 0.1s}.wrapper .kup-tree__node{cursor:default}.wrapper .kup-tree__node.with-dyn:not(.kup-tree__node--disabled){cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .wrapper .kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node:not(.kup-tree__node--disabled) .kup-icon.kup-tree__node__expander{cursor:pointer}.wrapper .kup-tree__node--disabled{opacity:0.4}.wrapper .kup-tree__node--disabled__expander{pointer-events:none}.wrapper .kup-tree__node .kup-icon:not(.is-image){background-color:var(--kup_tree_icon_color)}.wrapper .kup-tree__node .kup-icon.kup-tree__node__expander:not(.is-image){background-color:var(--kup_tree_color)}.wrapper .kup-tree__node .kup-icon.is-image img{display:block;height:auto;width:100%}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td{background-color:var(--kup_tree_hover_background_color);color:var(--kup_tree_hover_color)}.wrapper .kup-tree__node:hover:not(.kup-tree__node--disabled):not(.kup-tree__node--selected) td .kup-icon{background-color:var(--kup_tree_hover_color)}.wrapper .kup-tree__node--selected:not(.kup-tree__node--disabled) td{background-color:rgba(var(--kup_tree_primary_color_rgb), 0.175);color:var(--kup_tree_color)}.wrapper .kup-tree[data-show-columns] .kup-tree__node{border-bottom:solid 1px var(--kup-border-color)}#global-filter{background:var(--kup_tree_filter_background_color);margin-bottom:1em;position:sticky;top:0;z-index:1}.first-node .cell-content{font-weight:bold}.cell-content--ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:var(--kup_tree_content_width, auto)}.cell-content--highlighted{color:var(--kup_tree_text_on_primary_color);background-color:var(--kup_tree_primary_color)}.kup-icon.kup-filter-remove-icon:not(.f-image){background-color:var(--kup_tree_color);margin:0 0.25em;height:1em;width:1em;cursor:pointer;float:right;margin:0 0.25em;opacity:0.5}.grid-cell{height:0}tfoot td{border-bottom:var(--kup_tree_border);border-right:var(--kup_tree_border);box-sizing:border-box;height:36px;text-align:right;font-weight:bold;padding:0.5em 0.3125em}tfoot td:hover{background-color:var(--kup-background-color)}tfoot td:first-of-type{border:none;border-right:var(--kup_tree_border)}.hidden span{color:transparent;position:relative;text-overflow:ellipsis;transition:color 200ms}.hidden span:hover{color:var(--kup_tree_color)}.totals-value{font-weight:bold}:host([as-accordion]) .wrapper .kup-tree thead{display:table-header-group}:host([as-accordion]) .wrapper .kup-tree thead tr{border-left:var(--kup_tree_border);border-right:var(--kup_tree_border)}:host([as-accordion]) .density-dense .first-node:not(.grid-cell){padding:0.5em 1em}:host([as-accordion]) .density-medium .first-node:not(.grid-cell){padding:1em 1.5em}:host([as-accordion]) .density-wide .first-node:not(.grid-cell){padding:1.75em 1.75em}:host([as-accordion]) .kup-tree__node--first{border:none;box-sizing:border-box;display:block}:host([as-accordion]) .kup-tree__node--first:hover,:host([as-accordion]) .kup-tree__node--first[data-is-expanded]{background-color:var(--kup_tree_hover_background_color)}:host([as-accordion]) .kup-tree__node--first:hover .cell-content,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .cell-content{color:var(--kup_tree_hover_color)}:host([as-accordion]) .kup-tree__node--first:hover .kup-icon,:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-icon{background-color:var(--kup_tree_hover_color)}:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .first-node{border-bottom-left-radius:4px;border-bottom-right-radius:4px}:host([as-accordion]) .kup-tree__node--first[data-is-expanded] .kup-dropdown-icon{transform:rotate(180deg)}:host([as-accordion]) .kup-tree__node--first:first-of-type .first-node{border-top-left-radius:4px;border-top-right-radius:4px;border-top:var(--kup_tree_border)}:host([as-accordion]) .kup-tree__node--first:last-of-type .first-node{border-bottom-left-radius:4px;border-bottom-right-radius:4px}:host([as-accordion]) .kup-tree__node--first .first-node{align-items:center;border-bottom:var(--kup_tree_border);border-left:var(--kup_tree_border);border-right:var(--kup_tree_border);box-sizing:border-box;color:var(--kup_tree_color);cursor:pointer;display:flex;line-height:1.75em;outline:none;text-align:left;transition:background-color 80ms, color 80ms;width:100%}:host([as-accordion]) .kup-tree__node--first .kup-tree__icon{margin-left:0;margin-right:0.5em;min-width:1.5em}:host([as-accordion]) .kup-tree__node--first .cell-content{margin-right:0.5em;overflow:hidden;text-overflow:ellipsis;white-space:pre}:host([as-accordion]) .kup-tree__node--first .kup-dropdown-icon{background-color:var(--kup_tree_icon_color);height:1.5em;margin-left:auto;margin-right:0;min-width:1.5em;width:1.5em;transition:transform 0.1s}:host([as-accordion]) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border-top:var(--kup_tree_border);border-top-left-radius:4px;border-top-right-radius:4px}.kup-menu{animation:fade-in 0.25s ease-out;background-color:var(--kup-background-color);box-shadow:var(--kup-box-shadow);color:var(--kup-text-color);display:none;max-height:33vh;overflow:auto;position:relative;transform:none;transform-origin:unset;transition:height 0.2s;will-change:unset}.kup-menu.visible{display:block}.kup-icon.kup-collapsed-icon{-webkit-mask:var(--kup-collapsed-icon);mask:var(--kup-collapsed-icon)}.kup-icon.kup-dropdown-icon{-webkit-mask:var(--kup-dropdown-icon);mask:var(--kup-dropdown-icon)}.kup-icon.kup-expanded-icon{-webkit-mask:var(--kup-expanded-icon);mask:var(--kup-expanded-icon)}.kup-icon.kup-filter-remove-icon{-webkit-mask:var(--kup-filter-remove-icon);mask:var(--kup-filter-remove-icon)}:host(.kup-borderless) .first-node{border:none !important}:host(.kup-borderless) .kup-tree__node:not(.kup-tree__node--first)+.kup-tree__node--first{border:none !important}:host(.kup-full-width){min-width:100%}:host(.kup-full-width) table.kup-tree{min-width:100%}:host(.kup-layout-fixed) #kup-component table{table-layout:fixed;width:100%}:host(.kup-shaped) td.mdc-ripple-surface{border-radius:0 66px 66px 0}tr.clickable{cursor:pointer}";
|
|
30883
31118
|
|
|
31119
|
+
var __classPrivateFieldGet$7 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
31120
|
+
if (kind === "a" && !f)
|
|
31121
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
31122
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
31123
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
31124
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
31125
|
+
};
|
|
31126
|
+
var _KupTree_kupManager;
|
|
30884
31127
|
const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
30885
31128
|
constructor() {
|
|
30886
31129
|
super();
|
|
@@ -30907,7 +31150,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
30907
31150
|
/**
|
|
30908
31151
|
* Instance of the KupManager class.
|
|
30909
31152
|
*/
|
|
30910
|
-
this
|
|
31153
|
+
_KupTree_kupManager.set(this, kupManagerInstance());
|
|
30911
31154
|
/**
|
|
30912
31155
|
* Reference to the column menu card.
|
|
30913
31156
|
*/
|
|
@@ -30972,31 +31215,31 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
30972
31215
|
persistState() {
|
|
30973
31216
|
if (this.store && this.stateId) {
|
|
30974
31217
|
let somethingChanged = false;
|
|
30975
|
-
if (!this.
|
|
31218
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
30976
31219
|
this.state.filters = Object.assign({}, this.filters);
|
|
30977
31220
|
somethingChanged = true;
|
|
30978
31221
|
}
|
|
30979
|
-
if (!this.
|
|
31222
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.density, this.density)) {
|
|
30980
31223
|
this.state.density = this.density;
|
|
30981
31224
|
somethingChanged = true;
|
|
30982
31225
|
}
|
|
30983
|
-
if (!this.
|
|
31226
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFilters, this.showFilters)) {
|
|
30984
31227
|
this.state.showFilters = this.showFilters;
|
|
30985
31228
|
somethingChanged = true;
|
|
30986
31229
|
}
|
|
30987
|
-
if (!this.
|
|
31230
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.showFooter, this.showFooter)) {
|
|
30988
31231
|
this.state.showFooter = this.showFooter;
|
|
30989
31232
|
somethingChanged = true;
|
|
30990
31233
|
}
|
|
30991
|
-
if (!this.
|
|
31234
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.totals, this.totals)) {
|
|
30992
31235
|
this.state.totals = Object.assign({}, this.totals);
|
|
30993
31236
|
somethingChanged = true;
|
|
30994
31237
|
}
|
|
30995
|
-
if (!this.
|
|
31238
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilter, this.globalFilter)) {
|
|
30996
31239
|
this.state.globalFilter = this.globalFilter;
|
|
30997
31240
|
somethingChanged = true;
|
|
30998
31241
|
}
|
|
30999
|
-
if (!this.
|
|
31242
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
31000
31243
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
31001
31244
|
somethingChanged = true;
|
|
31002
31245
|
}
|
|
@@ -31127,7 +31370,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31127
31370
|
* @param {KupDataColumn} column - Column to hide.
|
|
31128
31371
|
*/
|
|
31129
31372
|
async hideColumn(column) {
|
|
31130
|
-
this.
|
|
31373
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").data.column.hide(this.columns, [column.name]);
|
|
31131
31374
|
this.kupColumnRemove.emit({
|
|
31132
31375
|
comp: this,
|
|
31133
31376
|
id: this.rootElement.id,
|
|
@@ -31211,21 +31454,21 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31211
31454
|
return this.treeColumnVisible;
|
|
31212
31455
|
}
|
|
31213
31456
|
checkScrollOnHover() {
|
|
31214
|
-
if (!this.
|
|
31457
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").scrollOnHover.isRegistered(this.treeWrapperRef)) {
|
|
31215
31458
|
if (this.scrollOnHover) {
|
|
31216
|
-
this.
|
|
31459
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").scrollOnHover.register(this.treeWrapperRef);
|
|
31217
31460
|
}
|
|
31218
31461
|
}
|
|
31219
31462
|
else {
|
|
31220
31463
|
if (!this.scrollOnHover) {
|
|
31221
|
-
this.
|
|
31464
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
|
|
31222
31465
|
}
|
|
31223
31466
|
}
|
|
31224
31467
|
}
|
|
31225
31468
|
onKupTreeNodeDblClick(treeNodeData, treeNodePath) {
|
|
31226
31469
|
for (let index = 0; index < this.clickTimeout.length; index++) {
|
|
31227
31470
|
clearTimeout(this.clickTimeout[index]);
|
|
31228
|
-
this.
|
|
31471
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Cleared hdlTreeNodeClick timeout(' +
|
|
31229
31472
|
this.clickTimeout[index] +
|
|
31230
31473
|
').');
|
|
31231
31474
|
}
|
|
@@ -31414,7 +31657,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31414
31657
|
}
|
|
31415
31658
|
contextMenuHandler(e) {
|
|
31416
31659
|
e.preventDefault();
|
|
31417
|
-
const details = this.getEventDetails(this.getEventPath(e.target), e);
|
|
31660
|
+
const details = this.getEventDetails(__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
31418
31661
|
if (details.area === 'header') {
|
|
31419
31662
|
if (details.th && details.column) {
|
|
31420
31663
|
this.openColumnMenu(details.column.name);
|
|
@@ -31430,18 +31673,6 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31430
31673
|
}
|
|
31431
31674
|
return details;
|
|
31432
31675
|
}
|
|
31433
|
-
getEventPath(currentEl) {
|
|
31434
|
-
const path = [];
|
|
31435
|
-
while (currentEl &&
|
|
31436
|
-
currentEl !== this.rootElement &&
|
|
31437
|
-
currentEl !== document.body) {
|
|
31438
|
-
path.push(currentEl);
|
|
31439
|
-
currentEl = currentEl.parentNode
|
|
31440
|
-
? currentEl.parentNode
|
|
31441
|
-
: currentEl.host;
|
|
31442
|
-
}
|
|
31443
|
-
return path;
|
|
31444
|
-
}
|
|
31445
31676
|
// When a TreeNode can be selected
|
|
31446
31677
|
hdlTreeNodeClick(e, treeNodeData, treeNodePath) {
|
|
31447
31678
|
if (this.expansionMode.toLowerCase() ===
|
|
@@ -31449,7 +31680,9 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31449
31680
|
(this.expansionMode.toLowerCase() === KupTreeExpansionMode.NODE &&
|
|
31450
31681
|
!treeNodeData.expandable)) {
|
|
31451
31682
|
const td = e
|
|
31452
|
-
? this
|
|
31683
|
+
? __classPrivateFieldGet$7(this, _KupTree_kupManager, "f")
|
|
31684
|
+
.getEventPath(e.target, this.rootElement)
|
|
31685
|
+
.find((el) => {
|
|
31453
31686
|
if (el.tagName === 'TD')
|
|
31454
31687
|
return el;
|
|
31455
31688
|
})
|
|
@@ -31641,10 +31874,10 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31641
31874
|
refreshStructureState() {
|
|
31642
31875
|
if (this.data) {
|
|
31643
31876
|
if (this.data.columns) {
|
|
31644
|
-
this.
|
|
31877
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logMessage(this, 'Detected KupDataDataset: setting up tree as grid.', KupDebugCategory.WARNING);
|
|
31645
31878
|
const data = this.data;
|
|
31646
31879
|
this.columns = data.columns;
|
|
31647
|
-
this.data = this.
|
|
31880
|
+
this.data = __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").data.row.toNode(data);
|
|
31648
31881
|
this.showColumns = true;
|
|
31649
31882
|
this.showHeader = true;
|
|
31650
31883
|
}
|
|
@@ -31707,7 +31940,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31707
31940
|
//---- Filter ----
|
|
31708
31941
|
let filter = null;
|
|
31709
31942
|
if (this.filtersColumnMenuInstance.hasFiltersForColumn(this.filters, column)) {
|
|
31710
|
-
const svgLabel = this.
|
|
31943
|
+
const svgLabel = __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.REMOVE_FILTERS) + `: '${this.getFilterValueForTooltip(column)}'`;
|
|
31711
31944
|
/**
|
|
31712
31945
|
* When column has a filter but filters must not be displayed, shows an icon to remove the filter.
|
|
31713
31946
|
* Upon click, the filter gets removed.
|
|
@@ -31782,9 +32015,9 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31782
32015
|
expandClass += ` ${KupThemeIconValues.COLLAPSED.replace('--', '')}`;
|
|
31783
32016
|
}
|
|
31784
32017
|
}
|
|
31785
|
-
let treeExpandIcon = (h("span", { title: this.
|
|
32018
|
+
let treeExpandIcon = (h("span", { title: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND) +
|
|
31786
32019
|
'/' +
|
|
31787
|
-
this.
|
|
32020
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.COLLAPSE) +
|
|
31788
32021
|
' (CTRL + Click)', class: expandClass, onClick: this.expansionMode.toLowerCase() ===
|
|
31789
32022
|
KupTreeExpansionMode.DROPDOWN && !treeNodeData.disabled
|
|
31790
32023
|
? (event) => {
|
|
@@ -31857,8 +32090,8 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31857
32090
|
}
|
|
31858
32091
|
}
|
|
31859
32092
|
let title = undefined;
|
|
31860
|
-
if (!this.
|
|
31861
|
-
this.
|
|
32093
|
+
if (!__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj) &&
|
|
32094
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.isDebug()) {
|
|
31862
32095
|
title =
|
|
31863
32096
|
treeNodeData.obj.t +
|
|
31864
32097
|
'; ' +
|
|
@@ -31881,7 +32114,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31881
32114
|
'mdc-ripple-surface': this.ripple &&
|
|
31882
32115
|
!this.showColumns &&
|
|
31883
32116
|
!treeNodeData.disabled,
|
|
31884
|
-
'is-obj': !this.
|
|
32117
|
+
'is-obj': !__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.isEmptyKupObj(treeNodeData.obj),
|
|
31885
32118
|
}, style: treeNodeData.style || null, title: title, onDblClick: () => {
|
|
31886
32119
|
this.onKupTreeNodeDblClick(treeNodeData, treeNodePath);
|
|
31887
32120
|
} }, this.asAccordion && !treeNodeDepth
|
|
@@ -31904,7 +32137,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31904
32137
|
}
|
|
31905
32138
|
closeTotalMenu() {
|
|
31906
32139
|
this.openedTotalMenu = null;
|
|
31907
|
-
this.
|
|
32140
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").removeClickCallback(this.clickCb);
|
|
31908
32141
|
}
|
|
31909
32142
|
isOpenedTotalMenuForColumn(column) {
|
|
31910
32143
|
return this.openedTotalMenu === column;
|
|
@@ -31934,15 +32167,15 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31934
32167
|
let totalMenu = undefined;
|
|
31935
32168
|
let menuLabel = TotalLabel.CALC;
|
|
31936
32169
|
const translation = {
|
|
31937
|
-
[TotalLabel.AVERAGE]: this.
|
|
31938
|
-
[TotalLabel.CALC]: this.
|
|
31939
|
-
[TotalLabel.CANC]: this.
|
|
31940
|
-
[TotalLabel.COUNT]: this.
|
|
31941
|
-
[TotalLabel.DISTINCT]: this.
|
|
31942
|
-
[TotalLabel.MATH]: this.
|
|
31943
|
-
[TotalLabel.MAX]: this.
|
|
31944
|
-
[TotalLabel.MIN]: this.
|
|
31945
|
-
[TotalLabel.SUM]: this.
|
|
32170
|
+
[TotalLabel.AVERAGE]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.AVERAGE),
|
|
32171
|
+
[TotalLabel.CALC]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.CALCULATE),
|
|
32172
|
+
[TotalLabel.CANC]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.CANCEL),
|
|
32173
|
+
[TotalLabel.COUNT]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.COUNT),
|
|
32174
|
+
[TotalLabel.DISTINCT]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.DISTINCT),
|
|
32175
|
+
[TotalLabel.MATH]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.FORMULA),
|
|
32176
|
+
[TotalLabel.MAX]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.MAXIMUM),
|
|
32177
|
+
[TotalLabel.MIN]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.MINIMUM),
|
|
32178
|
+
[TotalLabel.SUM]: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageTotals.SUM),
|
|
31946
32179
|
};
|
|
31947
32180
|
if (this.totals) {
|
|
31948
32181
|
const totalValue = this.totals[column.name];
|
|
@@ -31985,7 +32218,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
31985
32218
|
value: translation[TotalLabel.DISTINCT],
|
|
31986
32219
|
},
|
|
31987
32220
|
];
|
|
31988
|
-
if (this.
|
|
32221
|
+
if (__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").objects.isNumber(column.obj)) {
|
|
31989
32222
|
listData.push({
|
|
31990
32223
|
id: TotalMode.SUM,
|
|
31991
32224
|
value: translation[TotalLabel.SUM],
|
|
@@ -32051,25 +32284,25 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32051
32284
|
});
|
|
32052
32285
|
}
|
|
32053
32286
|
};
|
|
32054
|
-
this.
|
|
32055
|
-
this.
|
|
32287
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, KupPointerEventTypes.TAP, tapCb);
|
|
32288
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").interact.on(this.treeWrapperRef, KupPointerEventTypes.HOLD, holdCb);
|
|
32056
32289
|
}
|
|
32057
32290
|
totalMenuPosition() {
|
|
32058
32291
|
if (this.rootElement.shadowRoot) {
|
|
32059
32292
|
const menu = this.rootElement.shadowRoot.querySelector('#totals-menu');
|
|
32060
32293
|
if (menu) {
|
|
32061
|
-
this.
|
|
32294
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").dynamicPosition.register(menu, this.totalMenuCoords);
|
|
32062
32295
|
if (!this.clickCb) {
|
|
32063
32296
|
this.clickCb = {
|
|
32064
32297
|
cb: () => {
|
|
32065
32298
|
this.closeTotalMenu();
|
|
32066
|
-
this.
|
|
32299
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").dynamicPosition.stop(menu);
|
|
32067
32300
|
},
|
|
32068
32301
|
el: menu,
|
|
32069
32302
|
};
|
|
32070
32303
|
}
|
|
32071
|
-
this.
|
|
32072
|
-
this.
|
|
32304
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").addClickCallback(this.clickCb, true);
|
|
32305
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").dynamicPosition.start(menu);
|
|
32073
32306
|
menu.menuVisible = true;
|
|
32074
32307
|
}
|
|
32075
32308
|
}
|
|
@@ -32127,20 +32360,20 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32127
32360
|
/* L i f e c y c l e H o o k s */
|
|
32128
32361
|
/*-------------------------------------------------*/
|
|
32129
32362
|
componentWillLoad() {
|
|
32130
|
-
this.
|
|
32131
|
-
this.
|
|
32132
|
-
this.
|
|
32363
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logLoad(this, false);
|
|
32364
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.register(this);
|
|
32365
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").theme.register(this);
|
|
32133
32366
|
this.columnMenuInstance = new KupColumnMenu();
|
|
32134
32367
|
this.refreshStructureState();
|
|
32135
32368
|
}
|
|
32136
32369
|
componentDidLoad() {
|
|
32137
32370
|
this.didLoadInteractables();
|
|
32138
32371
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
32139
|
-
this.
|
|
32140
|
-
this.
|
|
32372
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").resize.observe(this.rootElement);
|
|
32373
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logLoad(this, true);
|
|
32141
32374
|
}
|
|
32142
32375
|
componentWillRender() {
|
|
32143
|
-
this.
|
|
32376
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logRender(this, false);
|
|
32144
32377
|
if (this.showFooter && this.columns) {
|
|
32145
32378
|
this.footer = calcTotals(normalizeRows(this.getColumns(), this.nodesToRows()), this.totals);
|
|
32146
32379
|
}
|
|
@@ -32172,7 +32405,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32172
32405
|
this.persistState();
|
|
32173
32406
|
// ***
|
|
32174
32407
|
this.oldWidth = this.rootElement.clientWidth;
|
|
32175
|
-
this.
|
|
32408
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").debug.logRender(this, true);
|
|
32176
32409
|
}
|
|
32177
32410
|
render() {
|
|
32178
32411
|
this.contentRefs = [];
|
|
@@ -32195,7 +32428,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32195
32428
|
}
|
|
32196
32429
|
else {
|
|
32197
32430
|
// There are no TreeNodes, so we print a single cell with a caption
|
|
32198
|
-
treeNodes.push(h("tr", null, h("td", null, this.
|
|
32431
|
+
treeNodes.push(h("tr", null, h("td", null, __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
32199
32432
|
}
|
|
32200
32433
|
// Calculates if header must be shown or not
|
|
32201
32434
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
@@ -32204,12 +32437,12 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32204
32437
|
this.data &&
|
|
32205
32438
|
this.data.length &&
|
|
32206
32439
|
this.data.length > 0) {
|
|
32207
|
-
filterField = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: this.
|
|
32440
|
+
filterField = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
32208
32441
|
window.clearTimeout(this.globalFilterTimeout);
|
|
32209
32442
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
32210
32443
|
} })));
|
|
32211
32444
|
}
|
|
32212
|
-
return (h(Host, null, h("style", null, this.
|
|
32445
|
+
return (h(Host, null, h("style", null, __classPrivateFieldGet$7(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId, class: wrapperClass }, filterField, h("div", { class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
32213
32446
|
el) }, h("table", { class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
32214
32447
|
e.preventDefault();
|
|
32215
32448
|
} }, h("thead", { class: {
|
|
@@ -32220,18 +32453,18 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32220
32453
|
: null)))));
|
|
32221
32454
|
}
|
|
32222
32455
|
disconnectedCallback() {
|
|
32223
|
-
this.
|
|
32224
|
-
this.
|
|
32225
|
-
this.
|
|
32456
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").language.register(this);
|
|
32457
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").resize.unobserve(this.rootElement);
|
|
32458
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").theme.unregister(this);
|
|
32226
32459
|
const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
|
|
32227
32460
|
if (dynamicPositionElements.length > 0) {
|
|
32228
|
-
this.
|
|
32461
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
|
|
32229
32462
|
}
|
|
32230
32463
|
if (this.columnMenuCard) {
|
|
32231
32464
|
this.columnMenuCard.remove();
|
|
32232
32465
|
}
|
|
32233
32466
|
if (this.scrollOnHover) {
|
|
32234
|
-
this.
|
|
32467
|
+
__classPrivateFieldGet$7(this, _KupTree_kupManager, "f").scrollOnHover.unregister(this.treeWrapperRef);
|
|
32235
32468
|
}
|
|
32236
32469
|
this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
|
|
32237
32470
|
}
|
|
@@ -32287,6 +32520,7 @@ const KupTree = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
32287
32520
|
"resizeCallback": [64],
|
|
32288
32521
|
"setProps": [64]
|
|
32289
32522
|
}]);
|
|
32523
|
+
_KupTree_kupManager = new WeakMap();
|
|
32290
32524
|
function defineCustomElement$q() {
|
|
32291
32525
|
if (typeof customElements === "undefined") {
|
|
32292
32526
|
return;
|
|
@@ -33007,6 +33241,14 @@ function defineCustomElement$p() {
|
|
|
33007
33241
|
|
|
33008
33242
|
const kupTextFieldCss = ":host{display:block;font-size:var(--kup-font-size)}:host([full-width]){width:100%}:host([full-width]) #kup-component{width:100%}:host(.kup-full-height){height:100%}:host(.kup-full-height) #kup-component,:host(.kup-full-height) .f-text-field,:host(.kup-full-height) .mdc-text-field{height:100%}:host(.kup-shaped) #kup-component .mdc-text-field.mdc-text-field--filled{border-radius:16px 16px 0 0}:host(.kup-shaped) #kup-component .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-radius:28px 0 0 28px;width:28px}:host(.kup-shaped) #kup-component .mdc-text-field.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:0 28px 28px 0;width:28px}";
|
|
33009
33243
|
|
|
33244
|
+
var __classPrivateFieldGet$6 = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
33245
|
+
if (kind === "a" && !f)
|
|
33246
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
33247
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
33248
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
33249
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
33250
|
+
};
|
|
33251
|
+
var _KupTextField_instances, _KupTextField_getValueForOutput, _KupTextField_setValueFromEventTaget;
|
|
33010
33252
|
const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
33011
33253
|
constructor() {
|
|
33012
33254
|
super();
|
|
@@ -33020,16 +33262,19 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33020
33262
|
this.kupIconClick = createEvent(this, "kup-textfield-iconclick", 6);
|
|
33021
33263
|
this.kupClearIconClick = createEvent(this, "kup-textfield-cleariconclick", 6);
|
|
33022
33264
|
this.kupTextFieldSubmit = createEvent(this, "kup-textfield-submit", 6);
|
|
33265
|
+
_KupTextField_instances.add(this);
|
|
33023
33266
|
/**
|
|
33024
33267
|
* Instance of the KupManager class.
|
|
33025
33268
|
*/
|
|
33026
33269
|
this.kupManager = kupManagerInstance();
|
|
33027
33270
|
this.value = '';
|
|
33271
|
+
this.allowNegative = false;
|
|
33028
33272
|
this.customStyle = '';
|
|
33029
33273
|
this.decimals = null;
|
|
33030
33274
|
this.disabled = false;
|
|
33031
33275
|
this.emitSubmitEventOnEnter = true;
|
|
33032
33276
|
this.fullWidth = false;
|
|
33277
|
+
this.group = false;
|
|
33033
33278
|
this.helper = null;
|
|
33034
33279
|
this.helperEnabled = true;
|
|
33035
33280
|
this.helperWhenFocused = false;
|
|
@@ -33037,6 +33282,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33037
33282
|
this.initialValue = '';
|
|
33038
33283
|
this.inputMode = null;
|
|
33039
33284
|
this.inputType = 'text';
|
|
33285
|
+
this.integers = null;
|
|
33040
33286
|
this.isClearable = false;
|
|
33041
33287
|
this.label = null;
|
|
33042
33288
|
this.leadingLabel = false;
|
|
@@ -33053,35 +33299,36 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33053
33299
|
}
|
|
33054
33300
|
onKupBlur(event) {
|
|
33055
33301
|
const { target } = event;
|
|
33302
|
+
__classPrivateFieldGet$6(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
33056
33303
|
this.kupBlur.emit({
|
|
33057
33304
|
comp: this,
|
|
33058
33305
|
id: this.rootElement.id,
|
|
33059
|
-
value:
|
|
33306
|
+
value: this.value,
|
|
33060
33307
|
});
|
|
33061
33308
|
}
|
|
33062
33309
|
onKupChange(event) {
|
|
33063
33310
|
const { target } = event;
|
|
33064
|
-
this.
|
|
33311
|
+
__classPrivateFieldGet$6(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
33065
33312
|
this.kupChange.emit({
|
|
33066
33313
|
comp: this,
|
|
33067
33314
|
id: this.rootElement.id,
|
|
33068
|
-
value:
|
|
33315
|
+
value: this.value,
|
|
33069
33316
|
});
|
|
33070
33317
|
}
|
|
33071
33318
|
onKupClick(event) {
|
|
33072
33319
|
const { target } = event;
|
|
33320
|
+
__classPrivateFieldGet$6(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
33073
33321
|
this.kupClick.emit({
|
|
33074
33322
|
comp: this,
|
|
33075
33323
|
id: this.rootElement.id,
|
|
33076
|
-
value:
|
|
33324
|
+
value: this.value,
|
|
33077
33325
|
});
|
|
33078
33326
|
}
|
|
33079
|
-
onKupFocus(
|
|
33080
|
-
const { target } = event;
|
|
33327
|
+
onKupFocus(_event) {
|
|
33081
33328
|
this.kupFocus.emit({
|
|
33082
33329
|
comp: this,
|
|
33083
33330
|
id: this.rootElement.id,
|
|
33084
|
-
value:
|
|
33331
|
+
value: this.value,
|
|
33085
33332
|
});
|
|
33086
33333
|
}
|
|
33087
33334
|
onKupInput(event) {
|
|
@@ -33109,12 +33356,14 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33109
33356
|
});
|
|
33110
33357
|
}
|
|
33111
33358
|
onKeyDown(event) {
|
|
33359
|
+
const { target } = event;
|
|
33112
33360
|
if (event.key === 'Enter') {
|
|
33113
33361
|
if (this.emitSubmitEventOnEnter == true) {
|
|
33362
|
+
__classPrivateFieldGet$6(this, _KupTextField_instances, "m", _KupTextField_setValueFromEventTaget).call(this, target);
|
|
33114
33363
|
this.kupTextFieldSubmit.emit({
|
|
33115
33364
|
comp: this,
|
|
33116
33365
|
id: this.rootElement.id,
|
|
33117
|
-
value: this.
|
|
33366
|
+
value: this.value,
|
|
33118
33367
|
});
|
|
33119
33368
|
}
|
|
33120
33369
|
}
|
|
@@ -33134,6 +33383,9 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33134
33383
|
* Returns the component's internal value.
|
|
33135
33384
|
*/
|
|
33136
33385
|
async getValue() {
|
|
33386
|
+
if (this.inputType == 'number') {
|
|
33387
|
+
return formattedStringToUnformattedStringNumber(this.value, '');
|
|
33388
|
+
}
|
|
33137
33389
|
return this.value;
|
|
33138
33390
|
}
|
|
33139
33391
|
/**
|
|
@@ -33161,7 +33413,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33161
33413
|
async setValue(value) {
|
|
33162
33414
|
this.value = value;
|
|
33163
33415
|
try {
|
|
33164
|
-
this.inputEl.value =
|
|
33416
|
+
this.inputEl.value = __classPrivateFieldGet$6(this, _KupTextField_instances, "m", _KupTextField_getValueForOutput).call(this);
|
|
33165
33417
|
}
|
|
33166
33418
|
catch (error) {
|
|
33167
33419
|
this.kupManager.debug.logMessage(this, "Couldn't set value on input element: '" + value + "'", KupDebugCategory.WARNING);
|
|
@@ -33197,6 +33449,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33197
33449
|
}
|
|
33198
33450
|
render() {
|
|
33199
33451
|
const props = {
|
|
33452
|
+
allowNegative: this.allowNegative,
|
|
33200
33453
|
danger: this.rootElement.classList.contains('kup-danger')
|
|
33201
33454
|
? true
|
|
33202
33455
|
: false,
|
|
@@ -33206,6 +33459,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33206
33459
|
? true
|
|
33207
33460
|
: false,
|
|
33208
33461
|
fullWidth: this.fullWidth,
|
|
33462
|
+
group: this.group,
|
|
33209
33463
|
helper: this.helper,
|
|
33210
33464
|
helperEnabled: this.helperEnabled,
|
|
33211
33465
|
helperWhenFocused: this.helperWhenFocused,
|
|
@@ -33215,6 +33469,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33215
33469
|
: false,
|
|
33216
33470
|
inputMode: this.inputMode,
|
|
33217
33471
|
inputType: this.inputType,
|
|
33472
|
+
integers: this.integers,
|
|
33218
33473
|
isClearable: this.isClearable,
|
|
33219
33474
|
label: this.label,
|
|
33220
33475
|
leadingLabel: this.leadingLabel,
|
|
@@ -33258,11 +33513,13 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33258
33513
|
get rootElement() { return this; }
|
|
33259
33514
|
static get style() { return kupTextFieldCss; }
|
|
33260
33515
|
}, [1, "kup-text-field", {
|
|
33516
|
+
"allowNegative": [4, "allow-negative"],
|
|
33261
33517
|
"customStyle": [1, "custom-style"],
|
|
33262
33518
|
"decimals": [2],
|
|
33263
33519
|
"disabled": [4],
|
|
33264
33520
|
"emitSubmitEventOnEnter": [4, "emit-submit-event-on-enter"],
|
|
33265
33521
|
"fullWidth": [516, "full-width"],
|
|
33522
|
+
"group": [4],
|
|
33266
33523
|
"helper": [1],
|
|
33267
33524
|
"helperEnabled": [4, "helper-enabled"],
|
|
33268
33525
|
"helperWhenFocused": [4, "helper-when-focused"],
|
|
@@ -33270,6 +33527,7 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33270
33527
|
"initialValue": [1, "initial-value"],
|
|
33271
33528
|
"inputMode": [1, "input-mode"],
|
|
33272
33529
|
"inputType": [1, "input-type"],
|
|
33530
|
+
"integers": [2],
|
|
33273
33531
|
"isClearable": [4, "is-clearable"],
|
|
33274
33532
|
"label": [1],
|
|
33275
33533
|
"leadingLabel": [4, "leading-label"],
|
|
@@ -33291,6 +33549,20 @@ const KupTextField = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$
|
|
|
33291
33549
|
"setProps": [64],
|
|
33292
33550
|
"setValue": [64]
|
|
33293
33551
|
}]);
|
|
33552
|
+
_KupTextField_instances = new WeakSet(), _KupTextField_getValueForOutput = function _KupTextField_getValueForOutput() {
|
|
33553
|
+
if (this.value == null || this.value.trim() == '') {
|
|
33554
|
+
return '';
|
|
33555
|
+
}
|
|
33556
|
+
let v1 = unformattedStringToFormattedStringNumber(this.value, this.decimals, '');
|
|
33557
|
+
return v1;
|
|
33558
|
+
}, _KupTextField_setValueFromEventTaget = function _KupTextField_setValueFromEventTaget(target) {
|
|
33559
|
+
if (this.inputType == 'number') {
|
|
33560
|
+
this.value = formattedStringToUnformattedStringNumber(target.value, '');
|
|
33561
|
+
}
|
|
33562
|
+
else {
|
|
33563
|
+
this.value = target.value;
|
|
33564
|
+
}
|
|
33565
|
+
};
|
|
33294
33566
|
function defineCustomElement$o() {
|
|
33295
33567
|
if (typeof customElements === "undefined") {
|
|
33296
33568
|
return;
|
|
@@ -38497,7 +38769,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
38497
38769
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
38498
38770
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
38499
38771
|
};
|
|
38500
|
-
var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements,
|
|
38772
|
+
var _KupDataTable_instances, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_insertCount, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_setDynPosElements, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_clickHandler, _KupDataTable_contextMenuHandler, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onDefaultRowActionClick, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_renderActions, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel;
|
|
38501
38773
|
const KupDataTable = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
38502
38774
|
constructor() {
|
|
38503
38775
|
super();
|
|
@@ -40391,7 +40663,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
40391
40663
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", KupDebugCategory.WARNING);
|
|
40392
40664
|
return;
|
|
40393
40665
|
}
|
|
40394
|
-
const path = __classPrivateFieldGet$3(this,
|
|
40666
|
+
const path = __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(cell, this.rootElement);
|
|
40395
40667
|
const receivingDetails = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, path);
|
|
40396
40668
|
return {
|
|
40397
40669
|
cell: receivingDetails.cell,
|
|
@@ -40477,17 +40749,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
40477
40749
|
if (__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f") && __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data) {
|
|
40478
40750
|
__classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet$3(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.getVisibleColumns(), this.columnMenuAnchor), __classPrivateFieldGet$3(this, _KupDataTable_columnMenuCard, "f").data);
|
|
40479
40751
|
}
|
|
40480
|
-
}, _KupDataTable_getEventPath = function _KupDataTable_getEventPath(currentEl) {
|
|
40481
|
-
const path = [];
|
|
40482
|
-
while (currentEl &&
|
|
40483
|
-
currentEl !== this.rootElement &&
|
|
40484
|
-
currentEl !== document.body) {
|
|
40485
|
-
path.push(currentEl);
|
|
40486
|
-
currentEl = currentEl.parentNode
|
|
40487
|
-
? currentEl.parentNode
|
|
40488
|
-
: currentEl.host;
|
|
40489
|
-
}
|
|
40490
|
-
return path;
|
|
40491
40752
|
}, _KupDataTable_resetSelectedRows = function _KupDataTable_resetSelectedRows() {
|
|
40492
40753
|
if (this.getRows().length === 0)
|
|
40493
40754
|
return;
|
|
@@ -40901,7 +41162,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
40901
41162
|
tr: tr ? tr : null,
|
|
40902
41163
|
};
|
|
40903
41164
|
}, _KupDataTable_clickHandler = function _KupDataTable_clickHandler(e) {
|
|
40904
|
-
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this,
|
|
41165
|
+
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
40905
41166
|
if (details.area === 'header') {
|
|
40906
41167
|
if (details.th && details.column) {
|
|
40907
41168
|
if (details.filterRemove) {
|
|
@@ -40939,7 +41200,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
40939
41200
|
}
|
|
40940
41201
|
return details;
|
|
40941
41202
|
}, _KupDataTable_contextMenuHandler = function _KupDataTable_contextMenuHandler(e) {
|
|
40942
|
-
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this,
|
|
41203
|
+
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
40943
41204
|
if (details.area === 'header') {
|
|
40944
41205
|
if (details.th && details.column) {
|
|
40945
41206
|
this.openColumnMenu(details.column.name);
|
|
@@ -40955,7 +41216,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
40955
41216
|
}
|
|
40956
41217
|
return details;
|
|
40957
41218
|
}, _KupDataTable_dblClickHandler = function _KupDataTable_dblClickHandler(e) {
|
|
40958
|
-
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this,
|
|
41219
|
+
const details = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
40959
41220
|
if (details.area === 'body') {
|
|
40960
41221
|
if (this.selection == SelectionMode.MULTIPLE) {
|
|
40961
41222
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_resetSelectedRows).call(this);
|
|
@@ -43321,9 +43582,9 @@ const KupChip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1 {
|
|
|
43321
43582
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
43322
43583
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
43323
43584
|
}
|
|
43324
|
-
return (h(Host, { "onKup-autocomplete-
|
|
43585
|
+
return (h(Host, { "onKup-autocomplete-itemclick": (e) => {
|
|
43325
43586
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
43326
|
-
}, "onKup-combobox-
|
|
43587
|
+
}, "onKup-combobox-itemclick": (e) => {
|
|
43327
43588
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
43328
43589
|
}, "onKup-textfield-change": (e) => {
|
|
43329
43590
|
__classPrivateFieldGet$1(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
@@ -43359,8 +43620,9 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
|
|
|
43359
43620
|
if (value) {
|
|
43360
43621
|
const node = (_b = this.data) === null || _b === void 0 ? void 0 : _b.find((node) => node.id === value);
|
|
43361
43622
|
if (!node) {
|
|
43623
|
+
const data = this.data && this.data.length ? this.data : [];
|
|
43362
43624
|
this.data = [
|
|
43363
|
-
...
|
|
43625
|
+
...data,
|
|
43364
43626
|
{
|
|
43365
43627
|
id: listNode ? listNode.id : value,
|
|
43366
43628
|
value: listNode ? listNode.value : value,
|
|
@@ -46529,4 +46791,4 @@ function defineCustomElement() {
|
|
|
46529
46791
|
} });
|
|
46530
46792
|
}
|
|
46531
46793
|
|
|
46532
|
-
export { FPaginatorMode as $, defineCustomElement$5 as A, defineCustomElement$4 as B, defineCustomElement$3 as C, defineCustomElement$2 as D, defineCustomElement$1 as E, FImage as F, defineCustomElement as G, KupAutocomplete as H, KupBadge as I, identify as J, KupThemeColorValues as K, filterRows as L, MDCRipple as M, paginateRows as N, sortRows as O, getColumnByName as P, KupLanguageGeneric as Q, FCell as R, KupDebugCategory as S, FChip as T, KupPointerEventTypes as U, KupDragEffect as V, kupDraggableCellAttr as W, KupDropEventTypes as X, FTextFieldMDC as Y, KupLanguageSearch as Z, FPaginator as _, KupThemeIconValues as a, pageChange as a0, rowsPerPageChange as a1, SortMode as a2, KupButton as a3, KupButtonList as a4, __extends as a5, __assign as a6, __spreadArray as a7, createCommonjsModule as a8, getDefaultExportFromCjs as a9,
|
|
46794
|
+
export { FPaginatorMode as $, defineCustomElement$5 as A, defineCustomElement$4 as B, defineCustomElement$3 as C, defineCustomElement$2 as D, defineCustomElement$1 as E, FImage as F, defineCustomElement as G, KupAutocomplete as H, KupBadge as I, identify as J, KupThemeColorValues as K, filterRows as L, MDCRipple as M, paginateRows as N, sortRows as O, getColumnByName as P, KupLanguageGeneric as Q, FCell as R, KupDebugCategory as S, FChip as T, KupPointerEventTypes as U, KupDragEffect as V, kupDraggableCellAttr as W, KupDropEventTypes as X, FTextFieldMDC as Y, KupLanguageSearch as Z, FPaginator as _, KupThemeIconValues as a, pageChange as a0, rowsPerPageChange as a1, SortMode as a2, KupButton as a3, KupButtonList as a4, __extends as a5, __assign as a6, __spreadArray as a7, createCommonjsModule as a8, getDefaultExportFromCjs as a9, kupDraggableRowAttr as aA, KupDynamicPositionPlacement as aB, KupCardFamily as aC, commonjsGlobal as aD, KupDatesFormats as aE, KupProgressBar as aF, KupRadio as aG, KupRating as aH, KupSpinner as aI, KupSwitch as aJ, KupTabBar as aK, KupTextField as aL, KupTimePicker as aM, KupTree as aN, KupDatesLocales as aa, FButton as ab, FChipType as ac, KupCard as ad, FCellPadding as ae, KupChart as af, KupCheckbox as ag, KupChip as ah, KupColorPicker as ai, KupCombobox as aj, getCellValueForDisplay as ak, KupLanguageDashboard as al, FTextField as am, FCheckbox as an, KupDataTable as ao, KupDatePicker as ap, KupDialog as aq, KupDropdownButton as ar, KupDataNewColumnTypes as as, FButtonStyling as at, KupForm as au, KupGauge as av, KupImage as aw, KupList as ax, kupDropEvent as ay, kupDraggableColumnAttr as az, defineCustomElement$p as b, componentWrapperId as c, defineCustomElement$q as d, defineCustomElement$o as e, defineCustomElement$n as f, getProps as g, defineCustomElement$m as h, defineCustomElement$l as i, defineCustomElement$k as j, kupManagerInstance as k, defineCustomElement$j as l, defineCustomElement$i as m, defineCustomElement$h as n, defineCustomElement$g as o, defineCustomElement$f as p, defineCustomElement$b as q, defineCustomElement$e as r, setProps as s, defineCustomElement$c as t, defineCustomElement$d as u, defineCustomElement$a as v, defineCustomElement$9 as w, defineCustomElement$8 as x, defineCustomElement$7 as y, defineCustomElement$6 as z };
|