@descope/web-components-ui 1.0.288 → 1.0.290
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1148 -880
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +1147 -878
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/2106.js +1 -1
- package/dist/umd/7911.js +73 -0
- package/dist/umd/7911.js.LICENSE.txt +17 -0
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-avatar-index-js.js +1 -1
- package/dist/umd/descope-badge-index-js.js +1 -1
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -0
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/package.json +4 -2
- package/src/components/button-selection-group-fields/descope-button-selection-group-item/ButtonSelectionGroupItemClass.js +4 -0
- package/src/components/descope-avatar/AvatarClass.js +7 -5
- package/src/components/descope-badge/BadgeClass.js +3 -0
- package/src/components/descope-text/TextClass.js +1 -1
- package/src/components/descope-user-attribute/UserAttributeClass.js +228 -0
- package/src/components/descope-user-attribute/delete.svg +3 -0
- package/src/components/descope-user-attribute/edit.svg +3 -0
- package/src/components/descope-user-attribute/index.js +9 -0
- package/src/helpers/themeHelpers/componentsThemeManager.js +4 -0
- package/src/index.cjs.js +1 -0
- package/src/index.d.ts +3 -0
- package/src/index.js +1 -0
- package/src/theme/components/avatar.js +4 -0
- package/src/theme/components/buttonSelectionGroup/buttonSelectionGroupItem.js +1 -0
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/userAttribute.js +20 -0
package/dist/index.esm.js
CHANGED
@@ -209,6 +209,10 @@ class ComponentsThemeManager {
|
|
209
209
|
this.#themes = themes;
|
210
210
|
this.#notify();
|
211
211
|
}
|
212
|
+
|
213
|
+
get hasThemes() {
|
214
|
+
return !!Object.keys(this.#themes).length;
|
215
|
+
}
|
212
216
|
}
|
213
217
|
|
214
218
|
const componentsThemeManager = new ComponentsThemeManager();
|
@@ -1343,7 +1347,7 @@ const clickableMixin = (superclass) =>
|
|
1343
1347
|
}
|
1344
1348
|
};
|
1345
1349
|
|
1346
|
-
const componentName$
|
1350
|
+
const componentName$N = getComponentName('button');
|
1347
1351
|
|
1348
1352
|
const resetStyles = `
|
1349
1353
|
:host {
|
@@ -1381,7 +1385,7 @@ const iconStyles = `
|
|
1381
1385
|
|
1382
1386
|
const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
|
1383
1387
|
|
1384
|
-
const { host: host$
|
1388
|
+
const { host: host$k, label: label$a } = {
|
1385
1389
|
host: { selector: () => ':host' },
|
1386
1390
|
label: { selector: '::part(label)' },
|
1387
1391
|
};
|
@@ -1393,7 +1397,7 @@ const ButtonClass = compose(
|
|
1393
1397
|
mappings: {
|
1394
1398
|
hostWidth: { property: 'width' },
|
1395
1399
|
hostHeight: { property: 'height' },
|
1396
|
-
hostDirection: { ...host$
|
1400
|
+
hostDirection: { ...host$k, property: 'direction' },
|
1397
1401
|
fontSize: {},
|
1398
1402
|
fontFamily: {},
|
1399
1403
|
|
@@ -1445,7 +1449,7 @@ const ButtonClass = compose(
|
|
1445
1449
|
}
|
1446
1450
|
`,
|
1447
1451
|
excludeAttrsSync: ['tabindex'],
|
1448
|
-
componentName: componentName$
|
1452
|
+
componentName: componentName$N,
|
1449
1453
|
})
|
1450
1454
|
);
|
1451
1455
|
|
@@ -1482,7 +1486,7 @@ loadingIndicatorStyles = `
|
|
1482
1486
|
}
|
1483
1487
|
`;
|
1484
1488
|
|
1485
|
-
customElements.define(componentName$
|
1489
|
+
customElements.define(componentName$N, ButtonClass);
|
1486
1490
|
|
1487
1491
|
const createBaseInputClass = (...args) =>
|
1488
1492
|
compose(
|
@@ -1492,11 +1496,11 @@ const createBaseInputClass = (...args) =>
|
|
1492
1496
|
inputEventsDispatchingMixin
|
1493
1497
|
)(createBaseClass(...args));
|
1494
1498
|
|
1495
|
-
const componentName$
|
1499
|
+
const componentName$M = getComponentName('boolean-field-internal');
|
1496
1500
|
|
1497
1501
|
const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
|
1498
1502
|
|
1499
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
1503
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$M, baseSelector: 'div' });
|
1500
1504
|
|
1501
1505
|
class BooleanInputInternal extends BaseInputClass$7 {
|
1502
1506
|
static get observedAttributes() {
|
@@ -1572,14 +1576,14 @@ const booleanFieldMixin = (superclass) =>
|
|
1572
1576
|
|
1573
1577
|
const template = document.createElement('template');
|
1574
1578
|
template.innerHTML = `
|
1575
|
-
<${componentName$
|
1579
|
+
<${componentName$M}
|
1576
1580
|
tabindex="-1"
|
1577
1581
|
slot="input"
|
1578
|
-
></${componentName$
|
1582
|
+
></${componentName$M}>
|
1579
1583
|
`;
|
1580
1584
|
|
1581
1585
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
1582
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
1586
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$M);
|
1583
1587
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
1584
1588
|
|
1585
1589
|
forwardAttrs(this, this.inputElement, {
|
@@ -1778,10 +1782,10 @@ descope-boolean-field-internal {
|
|
1778
1782
|
}
|
1779
1783
|
`;
|
1780
1784
|
|
1781
|
-
const componentName$
|
1785
|
+
const componentName$L = getComponentName('checkbox');
|
1782
1786
|
|
1783
1787
|
const {
|
1784
|
-
host: host$
|
1788
|
+
host: host$j,
|
1785
1789
|
component: component$1,
|
1786
1790
|
checkboxElement,
|
1787
1791
|
checkboxSurface,
|
@@ -1803,10 +1807,10 @@ const {
|
|
1803
1807
|
const CheckboxClass = compose(
|
1804
1808
|
createStyleMixin({
|
1805
1809
|
mappings: {
|
1806
|
-
hostWidth: { ...host$
|
1807
|
-
hostDirection: { ...host$
|
1810
|
+
hostWidth: { ...host$j, property: 'width' },
|
1811
|
+
hostDirection: { ...host$j, property: 'direction' },
|
1808
1812
|
|
1809
|
-
fontSize: [host$
|
1813
|
+
fontSize: [host$j, checkboxElement, checkboxLabel$1],
|
1810
1814
|
fontFamily: [checkboxLabel$1, helperText$a, errorMessage$c],
|
1811
1815
|
|
1812
1816
|
labelTextColor: { ...checkboxLabel$1, property: 'color' },
|
@@ -1884,18 +1888,18 @@ const CheckboxClass = compose(
|
|
1884
1888
|
}
|
1885
1889
|
`,
|
1886
1890
|
excludeAttrsSync: ['label', 'tabindex'],
|
1887
|
-
componentName: componentName$
|
1891
|
+
componentName: componentName$L,
|
1888
1892
|
})
|
1889
1893
|
);
|
1890
1894
|
|
1891
|
-
customElements.define(componentName$
|
1895
|
+
customElements.define(componentName$M, BooleanInputInternal);
|
1892
1896
|
|
1893
|
-
customElements.define(componentName$
|
1897
|
+
customElements.define(componentName$L, CheckboxClass);
|
1894
1898
|
|
1895
|
-
const componentName$
|
1899
|
+
const componentName$K = getComponentName('switch-toggle');
|
1896
1900
|
|
1897
1901
|
const {
|
1898
|
-
host: host$
|
1902
|
+
host: host$i,
|
1899
1903
|
component,
|
1900
1904
|
checkboxElement: track,
|
1901
1905
|
checkboxSurface: knob,
|
@@ -1917,8 +1921,8 @@ const {
|
|
1917
1921
|
const SwitchToggleClass = compose(
|
1918
1922
|
createStyleMixin({
|
1919
1923
|
mappings: {
|
1920
|
-
hostWidth: { ...host$
|
1921
|
-
hostDirection: { ...host$
|
1924
|
+
hostWidth: { ...host$i, property: 'width' },
|
1925
|
+
hostDirection: { ...host$i, property: 'direction' },
|
1922
1926
|
|
1923
1927
|
fontSize: [component, checkboxLabel, checkboxLabel],
|
1924
1928
|
fontFamily: [checkboxLabel, helperText$9, errorMessage$b],
|
@@ -2024,17 +2028,17 @@ const SwitchToggleClass = compose(
|
|
2024
2028
|
}
|
2025
2029
|
`,
|
2026
2030
|
excludeAttrsSync: ['label', 'tabindex'],
|
2027
|
-
componentName: componentName$
|
2031
|
+
componentName: componentName$K,
|
2028
2032
|
})
|
2029
2033
|
);
|
2030
2034
|
|
2031
|
-
customElements.define(componentName$
|
2035
|
+
customElements.define(componentName$K, SwitchToggleClass);
|
2032
2036
|
|
2033
|
-
const componentName$
|
2037
|
+
const componentName$J = getComponentName('loader-linear');
|
2034
2038
|
|
2035
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
2039
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$J, baseSelector: ':host > div' }) {
|
2036
2040
|
static get componentName() {
|
2037
|
-
return componentName$
|
2041
|
+
return componentName$J;
|
2038
2042
|
}
|
2039
2043
|
|
2040
2044
|
constructor() {
|
@@ -2070,18 +2074,18 @@ const selectors$2 = {
|
|
2070
2074
|
host: { selector: () => ':host' },
|
2071
2075
|
};
|
2072
2076
|
|
2073
|
-
const { after: after$1, host: host$
|
2077
|
+
const { after: after$1, host: host$h } = selectors$2;
|
2074
2078
|
|
2075
2079
|
const LoaderLinearClass = compose(
|
2076
2080
|
createStyleMixin({
|
2077
2081
|
mappings: {
|
2078
2082
|
hostDisplay: {},
|
2079
|
-
hostWidth: { ...host$
|
2083
|
+
hostWidth: { ...host$h, property: 'width' },
|
2080
2084
|
barHeight: [{ property: 'height' }, { ...after$1, property: 'height' }],
|
2081
2085
|
barBorderRadius: [{ property: 'border-radius' }, { ...after$1, property: 'border-radius' }],
|
2082
2086
|
verticalPadding: [
|
2083
|
-
{ ...host$
|
2084
|
-
{ ...host$
|
2087
|
+
{ ...host$h, property: 'padding-top' },
|
2088
|
+
{ ...host$h, property: 'padding-bottom' },
|
2085
2089
|
],
|
2086
2090
|
barBackgroundColor: { property: 'background-color' },
|
2087
2091
|
barColor: { ...after$1, property: 'background-color' },
|
@@ -2095,11 +2099,11 @@ const LoaderLinearClass = compose(
|
|
2095
2099
|
componentNameValidationMixin
|
2096
2100
|
)(RawLoaderLinear);
|
2097
2101
|
|
2098
|
-
customElements.define(componentName$
|
2102
|
+
customElements.define(componentName$J, LoaderLinearClass);
|
2099
2103
|
|
2100
|
-
const componentName$
|
2104
|
+
const componentName$I = getComponentName('loader-radial');
|
2101
2105
|
|
2102
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
2106
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$I, baseSelector: ':host > div' }) {
|
2103
2107
|
constructor() {
|
2104
2108
|
super();
|
2105
2109
|
|
@@ -2143,11 +2147,11 @@ const LoaderRadialClass = compose(
|
|
2143
2147
|
componentNameValidationMixin
|
2144
2148
|
)(RawLoaderRadial);
|
2145
2149
|
|
2146
|
-
customElements.define(componentName$
|
2150
|
+
customElements.define(componentName$I, LoaderRadialClass);
|
2147
2151
|
|
2148
|
-
const componentName$
|
2152
|
+
const componentName$H = getComponentName('container');
|
2149
2153
|
|
2150
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
2154
|
+
class RawContainer extends createBaseClass({ componentName: componentName$H, baseSelector: 'slot' }) {
|
2151
2155
|
constructor() {
|
2152
2156
|
super();
|
2153
2157
|
|
@@ -2200,13 +2204,13 @@ const ContainerClass = compose(
|
|
2200
2204
|
componentNameValidationMixin
|
2201
2205
|
)(RawContainer);
|
2202
2206
|
|
2203
|
-
customElements.define(componentName$
|
2207
|
+
customElements.define(componentName$H, ContainerClass);
|
2204
2208
|
|
2205
2209
|
// eslint-disable-next-line max-classes-per-file
|
2206
2210
|
|
2207
|
-
const componentName$
|
2211
|
+
const componentName$G = getComponentName('text');
|
2208
2212
|
|
2209
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
2213
|
+
class RawText extends createBaseClass({ componentName: componentName$G, baseSelector: ':host > slot' }) {
|
2210
2214
|
constructor() {
|
2211
2215
|
super();
|
2212
2216
|
|
@@ -2220,7 +2224,7 @@ class RawText extends createBaseClass({ componentName: componentName$F, baseSele
|
|
2220
2224
|
display: inline-block;
|
2221
2225
|
}
|
2222
2226
|
</style>
|
2223
|
-
<slot></slot>
|
2227
|
+
<slot part="text-wrapper"></slot>
|
2224
2228
|
`;
|
2225
2229
|
}
|
2226
2230
|
}
|
@@ -2266,8 +2270,8 @@ const TextClass = compose(
|
|
2266
2270
|
customTextMixin
|
2267
2271
|
)(RawText);
|
2268
2272
|
|
2269
|
-
const componentName$
|
2270
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
2273
|
+
const componentName$F = getComponentName('divider');
|
2274
|
+
class RawDivider extends createBaseClass({ componentName: componentName$F, baseSelector: ':host > div' }) {
|
2271
2275
|
constructor() {
|
2272
2276
|
super();
|
2273
2277
|
|
@@ -2313,7 +2317,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$E, baseS
|
|
2313
2317
|
}
|
2314
2318
|
|
2315
2319
|
const textVars$3 = TextClass.cssVarList;
|
2316
|
-
const { host: host$
|
2320
|
+
const { host: host$g, before, after, text: text$3 } = {
|
2317
2321
|
host: { selector: () => ':host' },
|
2318
2322
|
before: { selector: '::before' },
|
2319
2323
|
after: { selector: '::after' },
|
@@ -2323,8 +2327,8 @@ const { host: host$f, before, after, text: text$3 } = {
|
|
2323
2327
|
const DividerClass = compose(
|
2324
2328
|
createStyleMixin({
|
2325
2329
|
mappings: {
|
2326
|
-
hostWidth: { ...host$
|
2327
|
-
hostPadding: { ...host$
|
2330
|
+
hostWidth: { ...host$g, property: 'width' },
|
2331
|
+
hostPadding: { ...host$g, property: 'padding' },
|
2328
2332
|
hostDirection: { ...text$3, property: 'direction' },
|
2329
2333
|
|
2330
2334
|
minHeight: {},
|
@@ -2366,12 +2370,12 @@ const DividerClass = compose(
|
|
2366
2370
|
componentNameValidationMixin
|
2367
2371
|
)(RawDivider);
|
2368
2372
|
|
2369
|
-
customElements.define(componentName$
|
2373
|
+
customElements.define(componentName$G, TextClass);
|
2370
2374
|
|
2371
|
-
customElements.define(componentName$
|
2375
|
+
customElements.define(componentName$F, DividerClass);
|
2372
2376
|
|
2373
2377
|
const {
|
2374
|
-
host: host$
|
2378
|
+
host: host$f,
|
2375
2379
|
label: label$9,
|
2376
2380
|
placeholder: placeholder$3,
|
2377
2381
|
requiredIndicator: requiredIndicator$9,
|
@@ -2396,12 +2400,12 @@ const {
|
|
2396
2400
|
|
2397
2401
|
var textFieldMappings = {
|
2398
2402
|
// we apply font-size also on the host so we can set its width with em
|
2399
|
-
fontSize: [{}, host$
|
2403
|
+
fontSize: [{}, host$f],
|
2400
2404
|
fontFamily: [label$9, inputField$6, helperText$8, errorMessage$a],
|
2401
2405
|
|
2402
|
-
hostWidth: { ...host$
|
2403
|
-
hostMinWidth: { ...host$
|
2404
|
-
hostDirection: { ...host$
|
2406
|
+
hostWidth: { ...host$f, property: 'width' },
|
2407
|
+
hostMinWidth: { ...host$f, property: 'min-width' },
|
2408
|
+
hostDirection: { ...host$f, property: 'direction' },
|
2405
2409
|
|
2406
2410
|
inputBackgroundColor: { ...inputField$6, property: 'background-color' },
|
2407
2411
|
|
@@ -2446,7 +2450,7 @@ var textFieldMappings = {
|
|
2446
2450
|
],
|
2447
2451
|
};
|
2448
2452
|
|
2449
|
-
const componentName$
|
2453
|
+
const componentName$E = getComponentName('email-field');
|
2450
2454
|
|
2451
2455
|
const customMixin$7 = (superclass) =>
|
2452
2456
|
class EmailFieldMixinClass extends superclass {
|
@@ -2481,15 +2485,15 @@ const EmailFieldClass = compose(
|
|
2481
2485
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
2482
2486
|
`,
|
2483
2487
|
excludeAttrsSync: ['tabindex'],
|
2484
|
-
componentName: componentName$
|
2488
|
+
componentName: componentName$E,
|
2485
2489
|
})
|
2486
2490
|
);
|
2487
2491
|
|
2488
|
-
customElements.define(componentName$
|
2492
|
+
customElements.define(componentName$E, EmailFieldClass);
|
2489
2493
|
|
2490
|
-
const componentName$
|
2494
|
+
const componentName$D = getComponentName('link');
|
2491
2495
|
|
2492
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
2496
|
+
class RawLink extends createBaseClass({ componentName: componentName$D, baseSelector: ':host a' }) {
|
2493
2497
|
constructor() {
|
2494
2498
|
super();
|
2495
2499
|
|
@@ -2535,12 +2539,12 @@ const selectors$1 = {
|
|
2535
2539
|
text: { selector: () => TextClass.componentName },
|
2536
2540
|
};
|
2537
2541
|
|
2538
|
-
const { anchor, text: text$2, host: host$
|
2542
|
+
const { anchor, text: text$2, host: host$e, wrapper: wrapper$1 } = selectors$1;
|
2539
2543
|
|
2540
2544
|
const LinkClass = compose(
|
2541
2545
|
createStyleMixin({
|
2542
2546
|
mappings: {
|
2543
|
-
hostWidth: { ...host$
|
2547
|
+
hostWidth: { ...host$e, property: 'width' },
|
2544
2548
|
hostDirection: { ...text$2, property: 'direction' },
|
2545
2549
|
textAlign: wrapper$1,
|
2546
2550
|
textColor: [
|
@@ -2554,7 +2558,7 @@ const LinkClass = compose(
|
|
2554
2558
|
componentNameValidationMixin
|
2555
2559
|
)(RawLink);
|
2556
2560
|
|
2557
|
-
customElements.define(componentName$
|
2561
|
+
customElements.define(componentName$D, LinkClass);
|
2558
2562
|
|
2559
2563
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
2560
2564
|
let style;
|
@@ -2606,37 +2610,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
2606
2610
|
return CssVarImageClass;
|
2607
2611
|
};
|
2608
2612
|
|
2609
|
-
const componentName$
|
2613
|
+
const componentName$C = getComponentName('logo');
|
2610
2614
|
|
2611
2615
|
const LogoClass = createCssVarImageClass({
|
2612
|
-
componentName: componentName$
|
2616
|
+
componentName: componentName$C,
|
2613
2617
|
varName: 'url',
|
2614
2618
|
fallbackVarName: 'fallbackUrl',
|
2615
2619
|
});
|
2616
2620
|
|
2617
|
-
customElements.define(componentName$
|
2621
|
+
customElements.define(componentName$C, LogoClass);
|
2618
2622
|
|
2619
|
-
const componentName$
|
2623
|
+
const componentName$B = getComponentName('totp-image');
|
2620
2624
|
|
2621
2625
|
const TotpImageClass = createCssVarImageClass({
|
2622
|
-
componentName: componentName$
|
2626
|
+
componentName: componentName$B,
|
2623
2627
|
varName: 'url',
|
2624
2628
|
fallbackVarName: 'fallbackUrl',
|
2625
2629
|
});
|
2626
2630
|
|
2627
|
-
customElements.define(componentName$
|
2631
|
+
customElements.define(componentName$B, TotpImageClass);
|
2628
2632
|
|
2629
|
-
const componentName$
|
2633
|
+
const componentName$A = getComponentName('notp-image');
|
2630
2634
|
|
2631
2635
|
const NotpImageClass = createCssVarImageClass({
|
2632
|
-
componentName: componentName$
|
2636
|
+
componentName: componentName$A,
|
2633
2637
|
varName: 'url',
|
2634
2638
|
fallbackVarName: 'fallbackUrl',
|
2635
2639
|
});
|
2636
2640
|
|
2637
|
-
customElements.define(componentName$
|
2641
|
+
customElements.define(componentName$A, NotpImageClass);
|
2638
2642
|
|
2639
|
-
const componentName$
|
2643
|
+
const componentName$z = getComponentName('number-field');
|
2640
2644
|
|
2641
2645
|
const NumberFieldClass = compose(
|
2642
2646
|
createStyleMixin({
|
@@ -2662,11 +2666,11 @@ const NumberFieldClass = compose(
|
|
2662
2666
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
2663
2667
|
`,
|
2664
2668
|
excludeAttrsSync: ['tabindex'],
|
2665
|
-
componentName: componentName$
|
2669
|
+
componentName: componentName$z,
|
2666
2670
|
})
|
2667
2671
|
);
|
2668
2672
|
|
2669
|
-
customElements.define(componentName$
|
2673
|
+
customElements.define(componentName$z, NumberFieldClass);
|
2670
2674
|
|
2671
2675
|
const focusElement = (ele) => {
|
2672
2676
|
ele?.focus();
|
@@ -2684,13 +2688,13 @@ const getSanitizedCharacters = (str) => {
|
|
2684
2688
|
|
2685
2689
|
/* eslint-disable no-param-reassign */
|
2686
2690
|
|
2687
|
-
const componentName$
|
2691
|
+
const componentName$y = getComponentName('passcode-internal');
|
2688
2692
|
|
2689
2693
|
const observedAttributes$5 = ['digits', 'loading'];
|
2690
2694
|
|
2691
2695
|
const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
|
2692
2696
|
|
2693
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
2697
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$y, baseSelector: 'div' });
|
2694
2698
|
|
2695
2699
|
class PasscodeInternal extends BaseInputClass$6 {
|
2696
2700
|
static get observedAttributes() {
|
@@ -2916,7 +2920,7 @@ class PasscodeInternal extends BaseInputClass$6 {
|
|
2916
2920
|
}
|
2917
2921
|
}
|
2918
2922
|
|
2919
|
-
const componentName$
|
2923
|
+
const componentName$x = getComponentName('text-field');
|
2920
2924
|
|
2921
2925
|
const observedAttrs = ['type'];
|
2922
2926
|
|
@@ -2966,11 +2970,11 @@ const TextFieldClass = compose(
|
|
2966
2970
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
2967
2971
|
`,
|
2968
2972
|
excludeAttrsSync: ['tabindex'],
|
2969
|
-
componentName: componentName$
|
2973
|
+
componentName: componentName$x,
|
2970
2974
|
})
|
2971
2975
|
);
|
2972
2976
|
|
2973
|
-
const componentName$
|
2977
|
+
const componentName$w = getComponentName('passcode');
|
2974
2978
|
|
2975
2979
|
const observedAttributes$4 = ['digits'];
|
2976
2980
|
|
@@ -2989,17 +2993,17 @@ const customMixin$5 = (superclass) =>
|
|
2989
2993
|
const template = document.createElement('template');
|
2990
2994
|
|
2991
2995
|
template.innerHTML = `
|
2992
|
-
<${componentName$
|
2996
|
+
<${componentName$y}
|
2993
2997
|
bordered="true"
|
2994
2998
|
name="code"
|
2995
2999
|
tabindex="-1"
|
2996
3000
|
slot="input"
|
2997
|
-
><slot></slot></${componentName$
|
3001
|
+
><slot></slot></${componentName$y}>
|
2998
3002
|
`;
|
2999
3003
|
|
3000
3004
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
3001
3005
|
|
3002
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
3006
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$y);
|
3003
3007
|
|
3004
3008
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
3005
3009
|
}
|
@@ -3014,7 +3018,7 @@ const customMixin$5 = (superclass) =>
|
|
3014
3018
|
};
|
3015
3019
|
|
3016
3020
|
const {
|
3017
|
-
host: host$
|
3021
|
+
host: host$d,
|
3018
3022
|
digitField,
|
3019
3023
|
label: label$8,
|
3020
3024
|
requiredIndicator: requiredIndicator$8,
|
@@ -3037,10 +3041,10 @@ const loaderVars = LoaderRadialClass.cssVarList;
|
|
3037
3041
|
const PasscodeClass = compose(
|
3038
3042
|
createStyleMixin({
|
3039
3043
|
mappings: {
|
3040
|
-
fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$
|
3044
|
+
fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$d],
|
3041
3045
|
hostWidth: { property: 'width' },
|
3042
|
-
hostDirection: { ...host$
|
3043
|
-
fontFamily: [host$
|
3046
|
+
hostDirection: { ...host$d, property: 'direction' },
|
3047
|
+
fontFamily: [host$d, { ...label$8 }],
|
3044
3048
|
labelTextColor: [
|
3045
3049
|
{ ...label$8, property: 'color' },
|
3046
3050
|
{ ...requiredIndicator$8, property: 'color' },
|
@@ -3146,15 +3150,15 @@ const PasscodeClass = compose(
|
|
3146
3150
|
${resetInputCursor('vaadin-text-field')}
|
3147
3151
|
`,
|
3148
3152
|
excludeAttrsSync: ['tabindex'],
|
3149
|
-
componentName: componentName$
|
3153
|
+
componentName: componentName$w,
|
3150
3154
|
})
|
3151
3155
|
);
|
3152
3156
|
|
3153
|
-
customElements.define(componentName$
|
3157
|
+
customElements.define(componentName$x, TextFieldClass);
|
3154
3158
|
|
3155
|
-
customElements.define(componentName$
|
3159
|
+
customElements.define(componentName$y, PasscodeInternal);
|
3156
3160
|
|
3157
|
-
customElements.define(componentName$
|
3161
|
+
customElements.define(componentName$w, PasscodeClass);
|
3158
3162
|
|
3159
3163
|
const passwordDraggableMixin = (superclass) =>
|
3160
3164
|
class PasswordDraggableMixinClass extends superclass {
|
@@ -3190,10 +3194,10 @@ const passwordDraggableMixin = (superclass) =>
|
|
3190
3194
|
}
|
3191
3195
|
};
|
3192
3196
|
|
3193
|
-
const componentName$
|
3197
|
+
const componentName$v = getComponentName('password');
|
3194
3198
|
|
3195
3199
|
const {
|
3196
|
-
host: host$
|
3200
|
+
host: host$c,
|
3197
3201
|
inputField: inputField$5,
|
3198
3202
|
inputElement: inputElement$2,
|
3199
3203
|
inputElementPlaceholder,
|
@@ -3219,10 +3223,10 @@ const {
|
|
3219
3223
|
const PasswordClass = compose(
|
3220
3224
|
createStyleMixin({
|
3221
3225
|
mappings: {
|
3222
|
-
hostWidth: { ...host$
|
3223
|
-
hostMinWidth: { ...host$
|
3224
|
-
hostDirection: { ...host$
|
3225
|
-
fontSize: [{}, host$
|
3226
|
+
hostWidth: { ...host$c, property: 'width' },
|
3227
|
+
hostMinWidth: { ...host$c, property: 'min-width' },
|
3228
|
+
hostDirection: { ...host$c, property: 'direction' },
|
3229
|
+
fontSize: [{}, host$c],
|
3226
3230
|
fontFamily: [label$7, inputField$5, errorMessage$8, helperText$7],
|
3227
3231
|
inputHeight: { ...inputField$5, property: 'height' },
|
3228
3232
|
inputHorizontalPadding: [
|
@@ -3319,16 +3323,16 @@ const PasswordClass = compose(
|
|
3319
3323
|
}
|
3320
3324
|
`,
|
3321
3325
|
excludeAttrsSync: ['tabindex'],
|
3322
|
-
componentName: componentName$
|
3326
|
+
componentName: componentName$v,
|
3323
3327
|
})
|
3324
3328
|
);
|
3325
3329
|
|
3326
|
-
customElements.define(componentName$
|
3330
|
+
customElements.define(componentName$v, PasswordClass);
|
3327
3331
|
|
3328
|
-
const componentName$
|
3332
|
+
const componentName$u = getComponentName('text-area');
|
3329
3333
|
|
3330
3334
|
const {
|
3331
|
-
host: host$
|
3335
|
+
host: host$b,
|
3332
3336
|
label: label$6,
|
3333
3337
|
placeholder: placeholder$2,
|
3334
3338
|
inputField: inputField$4,
|
@@ -3350,10 +3354,10 @@ const {
|
|
3350
3354
|
const TextAreaClass = compose(
|
3351
3355
|
createStyleMixin({
|
3352
3356
|
mappings: {
|
3353
|
-
hostWidth: { ...host$
|
3354
|
-
hostMinWidth: { ...host$
|
3355
|
-
hostDirection: { ...host$
|
3356
|
-
fontSize: [host$
|
3357
|
+
hostWidth: { ...host$b, property: 'width' },
|
3358
|
+
hostMinWidth: { ...host$b, property: 'min-width' },
|
3359
|
+
hostDirection: { ...host$b, property: 'direction' },
|
3360
|
+
fontSize: [host$b, textArea$2],
|
3357
3361
|
fontFamily: [label$6, inputField$4, helperText$6, errorMessage$7],
|
3358
3362
|
labelTextColor: [
|
3359
3363
|
{ ...label$6, property: 'color' },
|
@@ -3401,17 +3405,17 @@ const TextAreaClass = compose(
|
|
3401
3405
|
${resetInputCursor('vaadin-text-area')}
|
3402
3406
|
`,
|
3403
3407
|
excludeAttrsSync: ['tabindex'],
|
3404
|
-
componentName: componentName$
|
3408
|
+
componentName: componentName$u,
|
3405
3409
|
})
|
3406
3410
|
);
|
3407
3411
|
|
3408
|
-
customElements.define(componentName$
|
3412
|
+
customElements.define(componentName$u, TextAreaClass);
|
3409
3413
|
|
3410
3414
|
const observedAttributes$3 = ['src', 'alt'];
|
3411
3415
|
|
3412
|
-
const componentName$
|
3416
|
+
const componentName$t = getComponentName('image');
|
3413
3417
|
|
3414
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
3418
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$t, baseSelector: ':host > img' });
|
3415
3419
|
class RawImage extends BaseClass$1 {
|
3416
3420
|
static get observedAttributes() {
|
3417
3421
|
return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
|
@@ -3451,9 +3455,9 @@ const ImageClass = compose(
|
|
3451
3455
|
draggableMixin
|
3452
3456
|
)(RawImage);
|
3453
3457
|
|
3454
|
-
customElements.define(componentName$
|
3458
|
+
customElements.define(componentName$t, ImageClass);
|
3455
3459
|
|
3456
|
-
const componentName$
|
3460
|
+
const componentName$s = getComponentName('combo-box');
|
3457
3461
|
|
3458
3462
|
const ComboBoxMixin = (superclass) =>
|
3459
3463
|
class ComboBoxMixinClass extends superclass {
|
@@ -3679,7 +3683,7 @@ const ComboBoxMixin = (superclass) =>
|
|
3679
3683
|
};
|
3680
3684
|
|
3681
3685
|
const {
|
3682
|
-
host: host$
|
3686
|
+
host: host$a,
|
3683
3687
|
inputField: inputField$3,
|
3684
3688
|
inputElement: inputElement$1,
|
3685
3689
|
placeholder: placeholder$1,
|
@@ -3705,10 +3709,10 @@ const {
|
|
3705
3709
|
const ComboBoxClass = compose(
|
3706
3710
|
createStyleMixin({
|
3707
3711
|
mappings: {
|
3708
|
-
hostWidth: { ...host$
|
3709
|
-
hostDirection: { ...host$
|
3712
|
+
hostWidth: { ...host$a, property: 'width' },
|
3713
|
+
hostDirection: { ...host$a, property: 'direction' },
|
3710
3714
|
// we apply font-size also on the host so we can set its width with em
|
3711
|
-
fontSize: [{}, host$
|
3715
|
+
fontSize: [{}, host$a],
|
3712
3716
|
fontFamily: [label$5, placeholder$1, inputField$3, helperText$5, errorMessage$6],
|
3713
3717
|
labelTextColor: [
|
3714
3718
|
{ ...label$5, property: 'color' },
|
@@ -3836,12 +3840,12 @@ const ComboBoxClass = compose(
|
|
3836
3840
|
// and reset items to an empty array, and opening the list box with no items
|
3837
3841
|
// to display.
|
3838
3842
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
3839
|
-
componentName: componentName$
|
3843
|
+
componentName: componentName$s,
|
3840
3844
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
3841
3845
|
})
|
3842
3846
|
);
|
3843
3847
|
|
3844
|
-
customElements.define(componentName$
|
3848
|
+
customElements.define(componentName$s, ComboBoxClass);
|
3845
3849
|
|
3846
3850
|
var CountryCodes = [
|
3847
3851
|
// United States should be the first option
|
@@ -5084,7 +5088,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
|
|
5084
5088
|
</div>
|
5085
5089
|
`;
|
5086
5090
|
|
5087
|
-
const componentName$
|
5091
|
+
const componentName$r = getComponentName('phone-field-internal');
|
5088
5092
|
|
5089
5093
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
|
5090
5094
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
@@ -5096,7 +5100,7 @@ const mapAttrs$1 = {
|
|
5096
5100
|
|
5097
5101
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
|
5098
5102
|
|
5099
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
5103
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
|
5100
5104
|
|
5101
5105
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$5 {
|
5102
5106
|
static get observedAttributes() {
|
@@ -5268,12 +5272,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$5 {
|
|
5268
5272
|
}
|
5269
5273
|
};
|
5270
5274
|
|
5271
|
-
customElements.define(componentName$
|
5275
|
+
customElements.define(componentName$r, PhoneFieldInternal$1);
|
5272
5276
|
|
5273
5277
|
const textVars$1 = TextFieldClass.cssVarList;
|
5274
5278
|
const comboVars = ComboBoxClass.cssVarList;
|
5275
5279
|
|
5276
|
-
const componentName$
|
5280
|
+
const componentName$q = getComponentName('phone-field');
|
5277
5281
|
|
5278
5282
|
const customMixin$4 = (superclass) =>
|
5279
5283
|
class PhoneFieldMixinClass extends superclass {
|
@@ -5287,15 +5291,15 @@ const customMixin$4 = (superclass) =>
|
|
5287
5291
|
const template = document.createElement('template');
|
5288
5292
|
|
5289
5293
|
template.innerHTML = `
|
5290
|
-
<${componentName$
|
5294
|
+
<${componentName$r}
|
5291
5295
|
tabindex="-1"
|
5292
5296
|
slot="input"
|
5293
|
-
></${componentName$
|
5297
|
+
></${componentName$r}>
|
5294
5298
|
`;
|
5295
5299
|
|
5296
5300
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5297
5301
|
|
5298
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5302
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$r);
|
5299
5303
|
|
5300
5304
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5301
5305
|
includeAttrs: [
|
@@ -5315,7 +5319,7 @@ const customMixin$4 = (superclass) =>
|
|
5315
5319
|
};
|
5316
5320
|
|
5317
5321
|
const {
|
5318
|
-
host: host$
|
5322
|
+
host: host$9,
|
5319
5323
|
label: label$4,
|
5320
5324
|
requiredIndicator: requiredIndicator$4,
|
5321
5325
|
inputField: inputField$2,
|
@@ -5340,7 +5344,7 @@ const PhoneFieldClass = compose(
|
|
5340
5344
|
createStyleMixin({
|
5341
5345
|
mappings: {
|
5342
5346
|
fontSize: [
|
5343
|
-
host$
|
5347
|
+
host$9,
|
5344
5348
|
inputField$2,
|
5345
5349
|
{
|
5346
5350
|
selector: TextFieldClass.componentName,
|
@@ -5361,11 +5365,11 @@ const PhoneFieldClass = compose(
|
|
5361
5365
|
},
|
5362
5366
|
],
|
5363
5367
|
hostWidth: [
|
5364
|
-
{ ...host$
|
5368
|
+
{ ...host$9, property: 'width' },
|
5365
5369
|
{ ...phoneInput$1, property: 'width' },
|
5366
5370
|
{ ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
|
5367
5371
|
],
|
5368
|
-
hostDirection: { ...host$
|
5372
|
+
hostDirection: { ...host$9, property: 'direction' },
|
5369
5373
|
|
5370
5374
|
inputBorderStyle: [
|
5371
5375
|
{ ...inputField$2, property: 'border-style' },
|
@@ -5491,17 +5495,17 @@ const PhoneFieldClass = compose(
|
|
5491
5495
|
${resetInputLabelPosition('vaadin-text-field')}
|
5492
5496
|
`,
|
5493
5497
|
excludeAttrsSync: ['tabindex'],
|
5494
|
-
componentName: componentName$
|
5498
|
+
componentName: componentName$q,
|
5495
5499
|
})
|
5496
5500
|
);
|
5497
5501
|
|
5498
|
-
customElements.define(componentName$
|
5502
|
+
customElements.define(componentName$q, PhoneFieldClass);
|
5499
5503
|
|
5500
5504
|
const getCountryByCodeId = (countryCode) => {
|
5501
5505
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
5502
5506
|
};
|
5503
5507
|
|
5504
|
-
const componentName$
|
5508
|
+
const componentName$p = getComponentName('phone-field-internal-input-box');
|
5505
5509
|
|
5506
5510
|
const observedAttributes$2 = [
|
5507
5511
|
'disabled',
|
@@ -5515,7 +5519,7 @@ const mapAttrs = {
|
|
5515
5519
|
'phone-input-placeholder': 'placeholder',
|
5516
5520
|
};
|
5517
5521
|
|
5518
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
5522
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$p, baseSelector: 'div' });
|
5519
5523
|
|
5520
5524
|
class PhoneFieldInternal extends BaseInputClass$4 {
|
5521
5525
|
static get observedAttributes() {
|
@@ -5654,11 +5658,11 @@ class PhoneFieldInternal extends BaseInputClass$4 {
|
|
5654
5658
|
}
|
5655
5659
|
}
|
5656
5660
|
|
5657
|
-
customElements.define(componentName$
|
5661
|
+
customElements.define(componentName$p, PhoneFieldInternal);
|
5658
5662
|
|
5659
5663
|
const textVars = TextFieldClass.cssVarList;
|
5660
5664
|
|
5661
|
-
const componentName$
|
5665
|
+
const componentName$o = getComponentName('phone-input-box-field');
|
5662
5666
|
|
5663
5667
|
const customMixin$3 = (superclass) =>
|
5664
5668
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -5672,15 +5676,15 @@ const customMixin$3 = (superclass) =>
|
|
5672
5676
|
const template = document.createElement('template');
|
5673
5677
|
|
5674
5678
|
template.innerHTML = `
|
5675
|
-
<${componentName$
|
5679
|
+
<${componentName$p}
|
5676
5680
|
tabindex="-1"
|
5677
5681
|
slot="input"
|
5678
|
-
></${componentName$
|
5682
|
+
></${componentName$p}>
|
5679
5683
|
`;
|
5680
5684
|
|
5681
5685
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5682
5686
|
|
5683
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5687
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$p);
|
5684
5688
|
|
5685
5689
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5686
5690
|
includeAttrs: [
|
@@ -5697,7 +5701,7 @@ const customMixin$3 = (superclass) =>
|
|
5697
5701
|
}
|
5698
5702
|
};
|
5699
5703
|
|
5700
|
-
const { host: host$
|
5704
|
+
const { host: host$8, label: label$3, requiredIndicator: requiredIndicator$3, inputField: inputField$1, phoneInput, errorMessage: errorMessage$4, helperText: helperText$3 } = {
|
5701
5705
|
host: { selector: () => ':host' },
|
5702
5706
|
label: { selector: '::part(label)' },
|
5703
5707
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
@@ -5711,7 +5715,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
5711
5715
|
createStyleMixin({
|
5712
5716
|
mappings: {
|
5713
5717
|
fontSize: [
|
5714
|
-
host$
|
5718
|
+
host$8,
|
5715
5719
|
inputField$1,
|
5716
5720
|
{
|
5717
5721
|
selector: TextFieldClass.componentName,
|
@@ -5719,9 +5723,9 @@ const PhoneFieldInputBoxClass = compose(
|
|
5719
5723
|
},
|
5720
5724
|
],
|
5721
5725
|
fontFamily: [label$3, errorMessage$4, helperText$3],
|
5722
|
-
hostWidth: { ...host$
|
5723
|
-
hostMinWidth: { ...host$
|
5724
|
-
hostDirection: { ...host$
|
5726
|
+
hostWidth: { ...host$8, property: 'width' },
|
5727
|
+
hostMinWidth: { ...host$8, property: 'min-width' },
|
5728
|
+
hostDirection: { ...host$8, property: 'direction' },
|
5725
5729
|
|
5726
5730
|
inputBorderStyle: { ...inputField$1, property: 'border-style' },
|
5727
5731
|
inputBorderWidth: { ...inputField$1, property: 'border-width' },
|
@@ -5813,15 +5817,15 @@ const PhoneFieldInputBoxClass = compose(
|
|
5813
5817
|
${resetInputLabelPosition('vaadin-text-field')}
|
5814
5818
|
`,
|
5815
5819
|
excludeAttrsSync: ['tabindex'],
|
5816
|
-
componentName: componentName$
|
5820
|
+
componentName: componentName$o,
|
5817
5821
|
})
|
5818
5822
|
);
|
5819
5823
|
|
5820
|
-
customElements.define(componentName$
|
5824
|
+
customElements.define(componentName$o, PhoneFieldInputBoxClass);
|
5821
5825
|
|
5822
|
-
const componentName$
|
5826
|
+
const componentName$n = getComponentName('new-password-internal');
|
5823
5827
|
|
5824
|
-
const componentName$
|
5828
|
+
const componentName$m = getComponentName('new-password');
|
5825
5829
|
|
5826
5830
|
const customMixin$2 = (superclass) =>
|
5827
5831
|
class NewPasswordMixinClass extends superclass {
|
@@ -5831,16 +5835,16 @@ const customMixin$2 = (superclass) =>
|
|
5831
5835
|
const template = document.createElement('template');
|
5832
5836
|
|
5833
5837
|
template.innerHTML = `
|
5834
|
-
<${componentName$
|
5838
|
+
<${componentName$n}
|
5835
5839
|
name="new-password"
|
5836
5840
|
tabindex="-1"
|
5837
5841
|
slot="input"
|
5838
|
-
></${componentName$
|
5842
|
+
></${componentName$n}>
|
5839
5843
|
`;
|
5840
5844
|
|
5841
5845
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5842
5846
|
|
5843
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5847
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$n);
|
5844
5848
|
|
5845
5849
|
forwardAttrs(this, this.inputElement, {
|
5846
5850
|
includeAttrs: [
|
@@ -5861,7 +5865,7 @@ const customMixin$2 = (superclass) =>
|
|
5861
5865
|
}
|
5862
5866
|
};
|
5863
5867
|
|
5864
|
-
const { host: host$
|
5868
|
+
const { host: host$7, label: label$2, internalInputsWrapper, errorMessage: errorMessage$3, helperText: helperText$2, passwordInput } = {
|
5865
5869
|
host: { selector: () => ':host' },
|
5866
5870
|
label: { selector: '::part(label)' },
|
5867
5871
|
internalInputsWrapper: { selector: 'descope-new-password-internal .wrapper' },
|
@@ -5874,7 +5878,7 @@ const NewPasswordClass = compose(
|
|
5874
5878
|
createStyleMixin({
|
5875
5879
|
mappings: {
|
5876
5880
|
fontSize: [
|
5877
|
-
host$
|
5881
|
+
host$7,
|
5878
5882
|
{},
|
5879
5883
|
{
|
5880
5884
|
selector: PasswordClass.componentName,
|
@@ -5883,13 +5887,13 @@ const NewPasswordClass = compose(
|
|
5883
5887
|
],
|
5884
5888
|
fontFamily: [label$2, errorMessage$3, helperText$2],
|
5885
5889
|
errorMessageTextColor: { ...errorMessage$3, property: 'color' },
|
5886
|
-
hostWidth: { ...host$
|
5887
|
-
hostMinWidth: { ...host$
|
5890
|
+
hostWidth: { ...host$7, property: 'width' },
|
5891
|
+
hostMinWidth: { ...host$7, property: 'min-width' },
|
5888
5892
|
hostDirection: [
|
5889
|
-
{ ...host$
|
5893
|
+
{ ...host$7, property: 'direction' },
|
5890
5894
|
{ ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
|
5891
5895
|
],
|
5892
|
-
inputsRequiredIndicator: { ...host$
|
5896
|
+
inputsRequiredIndicator: { ...host$7, property: 'content' },
|
5893
5897
|
spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
|
5894
5898
|
},
|
5895
5899
|
}),
|
@@ -5947,7 +5951,7 @@ const NewPasswordClass = compose(
|
|
5947
5951
|
}
|
5948
5952
|
`,
|
5949
5953
|
excludeAttrsSync: ['tabindex'],
|
5950
|
-
componentName: componentName$
|
5954
|
+
componentName: componentName$m,
|
5951
5955
|
})
|
5952
5956
|
);
|
5953
5957
|
|
@@ -5972,7 +5976,7 @@ const commonAttrs = [
|
|
5972
5976
|
|
5973
5977
|
const inputRelatedAttrs = [].concat(commonAttrs, passwordInputAttrs, confirmInputAttrs);
|
5974
5978
|
|
5975
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
5979
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$n, baseSelector: 'div' });
|
5976
5980
|
|
5977
5981
|
class NewPasswordInternal extends BaseInputClass$3 {
|
5978
5982
|
static get observedAttributes() {
|
@@ -6137,16 +6141,16 @@ class NewPasswordInternal extends BaseInputClass$3 {
|
|
6137
6141
|
}
|
6138
6142
|
}
|
6139
6143
|
|
6140
|
-
customElements.define(componentName$
|
6144
|
+
customElements.define(componentName$n, NewPasswordInternal);
|
6141
6145
|
|
6142
|
-
customElements.define(componentName$
|
6146
|
+
customElements.define(componentName$m, NewPasswordClass);
|
6143
6147
|
|
6144
|
-
const componentName$
|
6148
|
+
const componentName$l = getComponentName('recaptcha');
|
6145
6149
|
|
6146
6150
|
const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
|
6147
6151
|
|
6148
6152
|
const BaseClass = createBaseClass({
|
6149
|
-
componentName: componentName$
|
6153
|
+
componentName: componentName$l,
|
6150
6154
|
baseSelector: ':host > div',
|
6151
6155
|
});
|
6152
6156
|
class RawRecaptcha extends BaseClass {
|
@@ -6298,7 +6302,7 @@ class RawRecaptcha extends BaseClass {
|
|
6298
6302
|
|
6299
6303
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
6300
6304
|
|
6301
|
-
customElements.define(componentName$
|
6305
|
+
customElements.define(componentName$l, RecaptchaClass);
|
6302
6306
|
|
6303
6307
|
const getFileBase64 = (fileObj) => {
|
6304
6308
|
return new Promise((resolve) => {
|
@@ -6312,7 +6316,7 @@ const getFilename = (fileObj) => {
|
|
6312
6316
|
return fileObj.name.replace(/^.*\\/, '');
|
6313
6317
|
};
|
6314
6318
|
|
6315
|
-
const componentName$
|
6319
|
+
const componentName$k = getComponentName('upload-file');
|
6316
6320
|
|
6317
6321
|
const observedAttributes = [
|
6318
6322
|
'title',
|
@@ -6327,7 +6331,7 @@ const observedAttributes = [
|
|
6327
6331
|
'icon',
|
6328
6332
|
];
|
6329
6333
|
|
6330
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
6334
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$k, baseSelector: ':host > div' });
|
6331
6335
|
|
6332
6336
|
class RawUploadFile extends BaseInputClass$2 {
|
6333
6337
|
static get observedAttributes() {
|
@@ -6499,7 +6503,7 @@ class RawUploadFile extends BaseInputClass$2 {
|
|
6499
6503
|
}
|
6500
6504
|
|
6501
6505
|
const buttonVars = ButtonClass.cssVarList;
|
6502
|
-
const { host: host$
|
6506
|
+
const { host: host$6, wrapper, icon, title, description, requiredIndicator: requiredIndicator$2 } = {
|
6503
6507
|
host: { selector: () => ':host' },
|
6504
6508
|
wrapper: { selector: () => ':host > div' },
|
6505
6509
|
icon: { selector: () => '::slotted(*)' },
|
@@ -6518,11 +6522,11 @@ const UploadFileClass = compose(
|
|
6518
6522
|
borderWidth: {},
|
6519
6523
|
borderStyle: {},
|
6520
6524
|
borderRadius: {},
|
6521
|
-
hostHeight: { ...host$
|
6522
|
-
hostWidth: { ...host$
|
6525
|
+
hostHeight: { ...host$6, property: 'height' },
|
6526
|
+
hostWidth: { ...host$6, property: 'width' },
|
6523
6527
|
hostPadding: { property: 'padding' },
|
6524
6528
|
hostDirection: [
|
6525
|
-
{ ...host$
|
6529
|
+
{ ...host$6, property: 'direction' },
|
6526
6530
|
{ selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
|
6527
6531
|
],
|
6528
6532
|
gap: { ...wrapper },
|
@@ -6542,7 +6546,7 @@ const UploadFileClass = compose(
|
|
6542
6546
|
componentNameValidationMixin
|
6543
6547
|
)(RawUploadFile);
|
6544
6548
|
|
6545
|
-
customElements.define(componentName$
|
6549
|
+
customElements.define(componentName$k, UploadFileClass);
|
6546
6550
|
|
6547
6551
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
6548
6552
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
@@ -6640,10 +6644,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
6640
6644
|
return BaseButtonSelectionGroupInternalClass;
|
6641
6645
|
};
|
6642
6646
|
|
6643
|
-
const componentName$
|
6647
|
+
const componentName$j = getComponentName('button-selection-group-internal');
|
6644
6648
|
|
6645
6649
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
6646
|
-
componentName$
|
6650
|
+
componentName$j
|
6647
6651
|
) {
|
6648
6652
|
getSelectedNode() {
|
6649
6653
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -6799,7 +6803,7 @@ const buttonSelectionGroupBaseMixin = (superclass) =>
|
|
6799
6803
|
}
|
6800
6804
|
};
|
6801
6805
|
|
6802
|
-
const { host: host$
|
6806
|
+
const { host: host$5, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper, errorMessage: errorMessage$2 } = {
|
6803
6807
|
host: { selector: () => ':host' },
|
6804
6808
|
label: { selector: '::part(label)' },
|
6805
6809
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
@@ -6808,9 +6812,9 @@ const { host: host$4, label: label$1, requiredIndicator: requiredIndicator$1, in
|
|
6808
6812
|
};
|
6809
6813
|
|
6810
6814
|
const buttonSelectionGroupMappings = {
|
6811
|
-
hostWidth: { ...host$
|
6812
|
-
hostDirection: { ...host$
|
6813
|
-
fontFamily: host$
|
6815
|
+
hostWidth: { ...host$5, property: 'width' },
|
6816
|
+
hostDirection: { ...host$5, property: 'direction' },
|
6817
|
+
fontFamily: host$5,
|
6814
6818
|
labelTextColor: [
|
6815
6819
|
{ ...label$1, property: 'color' },
|
6816
6820
|
{ ...requiredIndicator$1, property: 'color' },
|
@@ -6875,7 +6879,7 @@ const buttonSelectionGroupStyles = `
|
|
6875
6879
|
${resetInputCursor('vaadin-text-field')}
|
6876
6880
|
`;
|
6877
6881
|
|
6878
|
-
const componentName$
|
6882
|
+
const componentName$i = getComponentName('button-selection-group');
|
6879
6883
|
|
6880
6884
|
const buttonSelectionGroupMixin = (superclass) =>
|
6881
6885
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -6884,19 +6888,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
6884
6888
|
const template = document.createElement('template');
|
6885
6889
|
|
6886
6890
|
template.innerHTML = `
|
6887
|
-
<${componentName$
|
6891
|
+
<${componentName$j}
|
6888
6892
|
name="button-selection-group"
|
6889
6893
|
slot="input"
|
6890
6894
|
tabindex="-1"
|
6891
6895
|
part="internal-component"
|
6892
6896
|
>
|
6893
6897
|
<slot></slot>
|
6894
|
-
</${componentName$
|
6898
|
+
</${componentName$j}>
|
6895
6899
|
`;
|
6896
6900
|
|
6897
6901
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6898
6902
|
|
6899
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6903
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$j);
|
6900
6904
|
|
6901
6905
|
forwardAttrs(this, this.inputElement, {
|
6902
6906
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -6921,16 +6925,16 @@ const ButtonSelectionGroupClass = compose(
|
|
6921
6925
|
wrappedEleName: 'vaadin-text-field',
|
6922
6926
|
style: () => buttonSelectionGroupStyles,
|
6923
6927
|
excludeAttrsSync: ['tabindex'],
|
6924
|
-
componentName: componentName$
|
6928
|
+
componentName: componentName$i,
|
6925
6929
|
})
|
6926
6930
|
);
|
6927
6931
|
|
6928
|
-
customElements.define(componentName$
|
6932
|
+
customElements.define(componentName$j, ButtonSelectionGroupInternalClass);
|
6929
6933
|
|
6930
|
-
const componentName$
|
6934
|
+
const componentName$h = getComponentName('button-selection-group-item');
|
6931
6935
|
|
6932
6936
|
class RawSelectItem extends createBaseClass({
|
6933
|
-
componentName: componentName$
|
6937
|
+
componentName: componentName$h,
|
6934
6938
|
baseSelector: ':host > descope-button',
|
6935
6939
|
}) {
|
6936
6940
|
get size() {
|
@@ -7015,6 +7019,10 @@ const ButtonSelectionGroupItemClass = compose(
|
|
7015
7019
|
selector: () => ButtonClass.componentName,
|
7016
7020
|
property: ButtonClass.cssVarList.borderColor,
|
7017
7021
|
},
|
7022
|
+
borderWidth: {
|
7023
|
+
selector: () => ButtonClass.componentName,
|
7024
|
+
property: ButtonClass.cssVarList.borderWidth,
|
7025
|
+
},
|
7018
7026
|
borderStyle: {
|
7019
7027
|
selector: () => ButtonClass.componentName,
|
7020
7028
|
property: ButtonClass.cssVarList.borderStyle,
|
@@ -7033,14 +7041,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
7033
7041
|
componentNameValidationMixin
|
7034
7042
|
)(RawSelectItem);
|
7035
7043
|
|
7036
|
-
customElements.define(componentName$
|
7044
|
+
customElements.define(componentName$h, ButtonSelectionGroupItemClass);
|
7037
7045
|
|
7038
|
-
customElements.define(componentName$
|
7046
|
+
customElements.define(componentName$i, ButtonSelectionGroupClass);
|
7039
7047
|
|
7040
|
-
const componentName$
|
7048
|
+
const componentName$g = getComponentName('button-multi-selection-group-internal');
|
7041
7049
|
|
7042
7050
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
7043
|
-
componentName$
|
7051
|
+
componentName$g
|
7044
7052
|
) {
|
7045
7053
|
#getSelectedNodes() {
|
7046
7054
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -7143,7 +7151,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
7143
7151
|
}
|
7144
7152
|
}
|
7145
7153
|
|
7146
|
-
const componentName$
|
7154
|
+
const componentName$f = getComponentName('button-multi-selection-group');
|
7147
7155
|
|
7148
7156
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
7149
7157
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -7152,19 +7160,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
7152
7160
|
const template = document.createElement('template');
|
7153
7161
|
|
7154
7162
|
template.innerHTML = `
|
7155
|
-
<${componentName$
|
7163
|
+
<${componentName$g}
|
7156
7164
|
name="button-selection-group"
|
7157
7165
|
slot="input"
|
7158
7166
|
tabindex="-1"
|
7159
7167
|
part="internal-component"
|
7160
7168
|
>
|
7161
7169
|
<slot></slot>
|
7162
|
-
</${componentName$
|
7170
|
+
</${componentName$g}>
|
7163
7171
|
`;
|
7164
7172
|
|
7165
7173
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7166
7174
|
|
7167
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7175
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$g);
|
7168
7176
|
|
7169
7177
|
forwardAttrs(this, this.inputElement, {
|
7170
7178
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -7189,13 +7197,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
7189
7197
|
wrappedEleName: 'vaadin-text-field',
|
7190
7198
|
style: () => buttonSelectionGroupStyles,
|
7191
7199
|
excludeAttrsSync: ['tabindex'],
|
7192
|
-
componentName: componentName$
|
7200
|
+
componentName: componentName$f,
|
7193
7201
|
})
|
7194
7202
|
);
|
7195
7203
|
|
7196
|
-
customElements.define(componentName$
|
7204
|
+
customElements.define(componentName$g, ButtonMultiSelectionGroupInternalClass);
|
7197
7205
|
|
7198
|
-
customElements.define(componentName$
|
7206
|
+
customElements.define(componentName$f, ButtonMultiSelectionGroupClass);
|
7199
7207
|
|
7200
7208
|
/* eslint-disable no-param-reassign */
|
7201
7209
|
|
@@ -7223,9 +7231,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
7223
7231
|
}
|
7224
7232
|
}
|
7225
7233
|
|
7226
|
-
const componentName$
|
7234
|
+
const componentName$e = getComponentName('grid-text-column');
|
7227
7235
|
|
7228
|
-
customElements.define(componentName$
|
7236
|
+
customElements.define(componentName$e, GridTextColumnClass);
|
7229
7237
|
|
7230
7238
|
/* eslint-disable no-param-reassign */
|
7231
7239
|
|
@@ -7260,9 +7268,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
7260
7268
|
|
7261
7269
|
/* eslint-disable no-param-reassign */
|
7262
7270
|
|
7263
|
-
const componentName$
|
7271
|
+
const componentName$d = getComponentName('grid-custom-column');
|
7264
7272
|
|
7265
|
-
customElements.define(componentName$
|
7273
|
+
customElements.define(componentName$d, GridCustomColumnClass);
|
7266
7274
|
|
7267
7275
|
const createCheckboxEle = () => {
|
7268
7276
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -7321,9 +7329,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
7321
7329
|
}
|
7322
7330
|
}
|
7323
7331
|
|
7324
|
-
const componentName$
|
7332
|
+
const componentName$c = getComponentName('grid-selection-column');
|
7325
7333
|
|
7326
|
-
customElements.define(componentName$
|
7334
|
+
customElements.define(componentName$c, GridSelectionColumnClass);
|
7327
7335
|
|
7328
7336
|
const isValidDataType = (data) => {
|
7329
7337
|
const isValid = Array.isArray(data);
|
@@ -7335,7 +7343,7 @@ const isValidDataType = (data) => {
|
|
7335
7343
|
return isValid;
|
7336
7344
|
};
|
7337
7345
|
|
7338
|
-
const componentName$
|
7346
|
+
const componentName$b = getComponentName('grid');
|
7339
7347
|
|
7340
7348
|
const GridMixin = (superclass) =>
|
7341
7349
|
class GridMixinClass extends superclass {
|
@@ -7495,7 +7503,7 @@ const GridMixin = (superclass) =>
|
|
7495
7503
|
};
|
7496
7504
|
|
7497
7505
|
const {
|
7498
|
-
host: host$
|
7506
|
+
host: host$4,
|
7499
7507
|
headerRow,
|
7500
7508
|
headerRowCell,
|
7501
7509
|
contentRow,
|
@@ -7530,15 +7538,15 @@ const GridClass = compose(
|
|
7530
7538
|
fontWeight: { ...contentRow },
|
7531
7539
|
valueTextColor: { ...contentRow, property: 'color' },
|
7532
7540
|
backgroundColor: [
|
7533
|
-
{ ...host$
|
7541
|
+
{ ...host$4, property: 'background-color' },
|
7534
7542
|
{ ...contentRow, property: 'background-color' },
|
7535
7543
|
],
|
7536
7544
|
sortIndicatorsColor: { ...sortIndicators, property: 'color' },
|
7537
7545
|
activeSortIndicator: { ...activeSortIndicator, property: 'color' },
|
7538
|
-
borderColor: { ...host$
|
7539
|
-
borderWidth: { ...host$
|
7540
|
-
borderStyle: { ...host$
|
7541
|
-
borderRadius: { ...host$
|
7546
|
+
borderColor: { ...host$4, property: 'border-color' },
|
7547
|
+
borderWidth: { ...host$4, property: 'border-width' },
|
7548
|
+
borderStyle: { ...host$4, property: 'border-style' },
|
7549
|
+
borderRadius: { ...host$4, property: 'border-radius' },
|
7542
7550
|
selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
|
7543
7551
|
headerRowTextColor: { ...headerRowCell, property: 'color' },
|
7544
7552
|
separatorColor: [
|
@@ -7571,13 +7579,13 @@ const GridClass = compose(
|
|
7571
7579
|
}
|
7572
7580
|
`,
|
7573
7581
|
excludeAttrsSync: ['columns', 'tabindex'],
|
7574
|
-
componentName: componentName$
|
7582
|
+
componentName: componentName$b,
|
7575
7583
|
})
|
7576
7584
|
);
|
7577
7585
|
|
7578
|
-
customElements.define(componentName$
|
7586
|
+
customElements.define(componentName$b, GridClass);
|
7579
7587
|
|
7580
|
-
const componentName$
|
7588
|
+
const componentName$a = getComponentName('multi-select-combo-box');
|
7581
7589
|
|
7582
7590
|
const multiSelectComboBoxMixin = (superclass) =>
|
7583
7591
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -7965,7 +7973,7 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
7965
7973
|
};
|
7966
7974
|
|
7967
7975
|
const {
|
7968
|
-
host: host$
|
7976
|
+
host: host$3,
|
7969
7977
|
inputField,
|
7970
7978
|
inputElement,
|
7971
7979
|
placeholder,
|
@@ -8003,10 +8011,10 @@ const {
|
|
8003
8011
|
const MultiSelectComboBoxClass = compose(
|
8004
8012
|
createStyleMixin({
|
8005
8013
|
mappings: {
|
8006
|
-
hostWidth: { ...host$
|
8007
|
-
hostDirection: { ...host$
|
8014
|
+
hostWidth: { ...host$3, property: 'width' },
|
8015
|
+
hostDirection: { ...host$3, property: 'direction' },
|
8008
8016
|
// we apply font-size also on the host so we can set its width with em
|
8009
|
-
fontSize: [{}, host$
|
8017
|
+
fontSize: [{}, host$3],
|
8010
8018
|
chipFontSize: { ...chipLabel, property: 'font-size' },
|
8011
8019
|
fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$1, chipLabel],
|
8012
8020
|
labelTextColor: [
|
@@ -8181,16 +8189,16 @@ const MultiSelectComboBoxClass = compose(
|
|
8181
8189
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
8182
8190
|
// tries to override it, causing us to lose the user set placeholder.
|
8183
8191
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
8184
|
-
componentName: componentName$
|
8192
|
+
componentName: componentName$a,
|
8185
8193
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
8186
8194
|
})
|
8187
8195
|
);
|
8188
8196
|
|
8189
|
-
customElements.define(componentName$
|
8197
|
+
customElements.define(componentName$a, MultiSelectComboBoxClass);
|
8190
8198
|
|
8191
|
-
const componentName$
|
8199
|
+
const componentName$9 = getComponentName('badge');
|
8192
8200
|
|
8193
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
8201
|
+
class RawBadge extends createBaseClass({ componentName: componentName$9, baseSelector: ':host > div' }) {
|
8194
8202
|
constructor() {
|
8195
8203
|
super();
|
8196
8204
|
|
@@ -8201,6 +8209,9 @@ class RawBadge extends createBaseClass({ componentName: componentName$8, baseSel
|
|
8201
8209
|
}
|
8202
8210
|
:host > div {
|
8203
8211
|
width: 100%;
|
8212
|
+
text-overflow: ellipsis;
|
8213
|
+
overflow: hidden;
|
8214
|
+
white-space: nowrap;
|
8204
8215
|
}
|
8205
8216
|
</style>
|
8206
8217
|
<div>
|
@@ -8238,9 +8249,9 @@ const BadgeClass = compose(
|
|
8238
8249
|
componentNameValidationMixin
|
8239
8250
|
)(RawBadge);
|
8240
8251
|
|
8241
|
-
customElements.define(componentName$
|
8252
|
+
customElements.define(componentName$9, BadgeClass);
|
8242
8253
|
|
8243
|
-
const componentName$
|
8254
|
+
const componentName$8 = getComponentName('modal');
|
8244
8255
|
|
8245
8256
|
const customMixin$1 = (superclass) =>
|
8246
8257
|
class ModalMixinClass extends superclass {
|
@@ -8339,11 +8350,11 @@ const ModalClass = compose(
|
|
8339
8350
|
wrappedEleName: 'vaadin-dialog',
|
8340
8351
|
style: () => ``,
|
8341
8352
|
excludeAttrsSync: ['tabindex', 'opened'],
|
8342
|
-
componentName: componentName$
|
8353
|
+
componentName: componentName$8,
|
8343
8354
|
})
|
8344
8355
|
);
|
8345
8356
|
|
8346
|
-
customElements.define(componentName$
|
8357
|
+
customElements.define(componentName$8, ModalClass);
|
8347
8358
|
|
8348
8359
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
8349
8360
|
|
@@ -8354,7 +8365,7 @@ if (!vaadinContainerClass) {
|
|
8354
8365
|
class NotificationContainerClass extends vaadinContainerClass {}
|
8355
8366
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
8356
8367
|
|
8357
|
-
const componentName$
|
8368
|
+
const componentName$7 = getComponentName('notification-card');
|
8358
8369
|
|
8359
8370
|
const notificationCardMixin = (superclass) =>
|
8360
8371
|
class NotificationCardMixinClass extends superclass {
|
@@ -8462,13 +8473,13 @@ const NotificationCardClass = compose(
|
|
8462
8473
|
}
|
8463
8474
|
`,
|
8464
8475
|
excludeAttrsSync: ['tabindex'],
|
8465
|
-
componentName: componentName$
|
8476
|
+
componentName: componentName$7,
|
8466
8477
|
})
|
8467
8478
|
);
|
8468
8479
|
|
8469
|
-
customElements.define(componentName$
|
8480
|
+
customElements.define(componentName$7, NotificationCardClass);
|
8470
8481
|
|
8471
|
-
const componentName$
|
8482
|
+
const componentName$6 = getComponentName('notification');
|
8472
8483
|
|
8473
8484
|
const NotificationMixin = (superclass) =>
|
8474
8485
|
class NotificationMixinClass extends superclass {
|
@@ -8563,14 +8574,14 @@ const NotificationClass = compose(
|
|
8563
8574
|
createProxy({
|
8564
8575
|
wrappedEleName: 'vaadin-notification',
|
8565
8576
|
excludeAttrsSync: ['tabindex'],
|
8566
|
-
componentName: componentName$
|
8577
|
+
componentName: componentName$6,
|
8567
8578
|
})
|
8568
8579
|
);
|
8569
8580
|
|
8570
|
-
customElements.define(componentName$
|
8581
|
+
customElements.define(componentName$6, NotificationClass);
|
8571
8582
|
|
8572
|
-
const componentName$
|
8573
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
8583
|
+
const componentName$5 = getComponentName('avatar');
|
8584
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$5, baseSelector: ':host > .wrapper' }) {
|
8574
8585
|
constructor() {
|
8575
8586
|
super();
|
8576
8587
|
|
@@ -8580,7 +8591,7 @@ class RawAvatar extends createBaseClass({ componentName: componentName$4, baseSe
|
|
8580
8591
|
display: inline-flex;
|
8581
8592
|
}
|
8582
8593
|
|
8583
|
-
.
|
8594
|
+
.editableBadge {
|
8584
8595
|
border: 1px solid;
|
8585
8596
|
border-radius: 100%;
|
8586
8597
|
height: fit-content;
|
@@ -8616,7 +8627,7 @@ class RawAvatar extends createBaseClass({ componentName: componentName$4, baseSe
|
|
8616
8627
|
|
8617
8628
|
<div class="wrapper">
|
8618
8629
|
<vaadin-avatar></vaadin-avatar>
|
8619
|
-
<div class="
|
8630
|
+
<div class="editableBadge">
|
8620
8631
|
<vaadin-icon icon="vaadin:pencil"></vaadin-icon>
|
8621
8632
|
</div>
|
8622
8633
|
</div>
|
@@ -8625,10 +8636,11 @@ class RawAvatar extends createBaseClass({ componentName: componentName$4, baseSe
|
|
8625
8636
|
this.avatarComponent = this.shadowRoot.querySelector('vaadin-avatar');
|
8626
8637
|
|
8627
8638
|
forwardAttrs(this, this.avatarComponent, {
|
8628
|
-
includeAttrs: ['name', 'img'],
|
8639
|
+
includeAttrs: ['display-name', 'img'],
|
8640
|
+
mapAttrs: { 'display-name': 'name' },
|
8629
8641
|
});
|
8630
8642
|
|
8631
|
-
const editableIcon = this.shadowRoot.querySelector('.
|
8643
|
+
const editableIcon = this.shadowRoot.querySelector('.editableBadge');
|
8632
8644
|
|
8633
8645
|
observeAttributes(
|
8634
8646
|
this,
|
@@ -8644,18 +8656,19 @@ class RawAvatar extends createBaseClass({ componentName: componentName$4, baseSe
|
|
8644
8656
|
}
|
8645
8657
|
}
|
8646
8658
|
|
8647
|
-
const { host: host$
|
8659
|
+
const { host: host$2, editableBadge, avatar: avatar$2 } = {
|
8648
8660
|
host: { selector: () => ':host' },
|
8649
|
-
editableBadge: { selector: '> .
|
8661
|
+
editableBadge: { selector: '> .editableBadge' },
|
8650
8662
|
avatar: { selector: 'vaadin-avatar' },
|
8651
8663
|
};
|
8652
8664
|
|
8653
8665
|
const AvatarClass = compose(
|
8654
8666
|
createStyleMixin({
|
8655
8667
|
mappings: {
|
8656
|
-
hostWidth: { ...host$
|
8657
|
-
hostHeight: { ...host$
|
8658
|
-
|
8668
|
+
hostWidth: { ...host$2, property: 'width' },
|
8669
|
+
hostHeight: { ...host$2, property: 'height' },
|
8670
|
+
cursor: [avatar$2, host$2],
|
8671
|
+
hostDirection: { ...host$2, property: 'direction' },
|
8659
8672
|
avatarTextColor: { ...avatar$2, property: 'color' },
|
8660
8673
|
avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
|
8661
8674
|
editableIconColor: { ...editableBadge, property: 'color' },
|
@@ -8667,11 +8680,11 @@ const AvatarClass = compose(
|
|
8667
8680
|
componentNameValidationMixin
|
8668
8681
|
)(RawAvatar);
|
8669
8682
|
|
8670
|
-
customElements.define(componentName$
|
8683
|
+
customElements.define(componentName$5, AvatarClass);
|
8671
8684
|
|
8672
|
-
const componentName$
|
8685
|
+
const componentName$4 = getComponentName('mappings-field-internal');
|
8673
8686
|
|
8674
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
8687
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$4, baseSelector: 'div' });
|
8675
8688
|
|
8676
8689
|
class MappingsFieldInternal extends BaseInputClass$1 {
|
8677
8690
|
#errorItem;
|
@@ -8906,7 +8919,7 @@ class MappingsFieldInternal extends BaseInputClass$1 {
|
|
8906
8919
|
}
|
8907
8920
|
}
|
8908
8921
|
|
8909
|
-
const componentName$
|
8922
|
+
const componentName$3 = getComponentName('mappings-field');
|
8910
8923
|
|
8911
8924
|
const customMixin = (superclass) =>
|
8912
8925
|
class MappingsFieldMixinClass extends superclass {
|
@@ -8935,14 +8948,14 @@ const customMixin = (superclass) =>
|
|
8935
8948
|
const template = document.createElement('template');
|
8936
8949
|
|
8937
8950
|
template.innerHTML = `
|
8938
|
-
<${componentName$
|
8951
|
+
<${componentName$4}
|
8939
8952
|
tabindex="-1"
|
8940
|
-
></${componentName$
|
8953
|
+
></${componentName$4}>
|
8941
8954
|
`;
|
8942
8955
|
|
8943
8956
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8944
8957
|
|
8945
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8958
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$4);
|
8946
8959
|
|
8947
8960
|
forwardAttrs(this, this.inputElement, {
|
8948
8961
|
includeAttrs: [
|
@@ -8965,7 +8978,7 @@ const customMixin = (superclass) =>
|
|
8965
8978
|
};
|
8966
8979
|
|
8967
8980
|
const {
|
8968
|
-
host,
|
8981
|
+
host: host$1,
|
8969
8982
|
helperText,
|
8970
8983
|
errorMessage,
|
8971
8984
|
mappingItem,
|
@@ -8989,10 +9002,10 @@ const {
|
|
8989
9002
|
const MappingsFieldClass = compose(
|
8990
9003
|
createStyleMixin({
|
8991
9004
|
mappings: {
|
8992
|
-
hostWidth: { ...host, property: 'width' },
|
8993
|
-
hostDirection: { ...host, property: 'direction' },
|
9005
|
+
hostWidth: { ...host$1, property: 'width' },
|
9006
|
+
hostDirection: { ...host$1, property: 'direction' },
|
8994
9007
|
// we apply font-size also on the host so we can set its width with em
|
8995
|
-
fontSize: [{}, host, { ...separator, property: 'margin-top' }],
|
9008
|
+
fontSize: [{}, host$1, { ...separator, property: 'margin-top' }],
|
8996
9009
|
fontFamily: [helperText, errorMessage, labels],
|
8997
9010
|
separatorFontSize: { ...separator, property: 'font-size' },
|
8998
9011
|
labelTextColor: { ...labels, property: TextClass.cssVarList.textColor },
|
@@ -9058,17 +9071,17 @@ const MappingsFieldClass = compose(
|
|
9058
9071
|
'options',
|
9059
9072
|
'error-message',
|
9060
9073
|
],
|
9061
|
-
componentName: componentName$
|
9074
|
+
componentName: componentName$3,
|
9062
9075
|
})
|
9063
9076
|
);
|
9064
9077
|
|
9065
|
-
customElements.define(componentName$
|
9078
|
+
customElements.define(componentName$4, MappingsFieldInternal);
|
9066
9079
|
|
9067
|
-
const componentName$
|
9080
|
+
const componentName$2 = getComponentName('mapping-item');
|
9068
9081
|
|
9069
9082
|
const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
|
9070
9083
|
|
9071
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
9084
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$2, baseSelector: 'div' });
|
9072
9085
|
|
9073
9086
|
class MappingItem extends BaseInputClass {
|
9074
9087
|
static get observedAttributes() {
|
@@ -9218,9 +9231,238 @@ class MappingItem extends BaseInputClass {
|
|
9218
9231
|
}
|
9219
9232
|
}
|
9220
9233
|
|
9221
|
-
customElements.define(componentName$
|
9234
|
+
customElements.define(componentName$2, MappingItem);
|
9235
|
+
|
9236
|
+
customElements.define(componentName$3, MappingsFieldClass);
|
9237
|
+
|
9238
|
+
function deleteIcon() {
|
9239
|
+
return (new DOMParser().parseFromString("<svg width=\"14\" height=\"18\" viewBox=\"0 0 14 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1 16C1 17.1 1.9 18 3 18H11C12.1 18 13 17.1 13 16V4H1V16ZM3 6H11V16H3V6ZM10.5 1L9.5 0H4.5L3.5 1H0V3H14V1H10.5Z\" fill=\"currentcolor\"/>\n</svg>\n", 'image/svg+xml')).firstChild;
|
9240
|
+
}
|
9241
|
+
|
9242
|
+
function editIcon() {
|
9243
|
+
return (new DOMParser().parseFromString("<svg width=\"15\" height=\"15\" viewBox=\"0 0 15 15\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10.0002 0.992149C10.0002 1.01615 10.0002 1.01615 10.0002 1.01615L8.22419 3.00815H2.99219C2.46419 3.00815 2.00819 3.44015 2.00819 3.99215V12.0082C2.00819 12.5362 2.44019 12.9922 2.99219 12.9922H5.53619C5.84819 13.0402 6.16019 13.0402 6.47219 12.9922H11.0082C11.5362 12.9922 11.9922 12.5602 11.9922 12.0082V7.78416L13.9362 5.62415L14.0082 5.67215V11.9842C14.0082 13.6642 12.6642 15.0082 11.0082 15.0082H3.01619C1.33619 15.0082 -0.0078125 13.6642 -0.0078125 11.9842V3.99215C-0.0078125 2.33615 1.33619 0.992149 3.01619 0.992149H10.0002ZM11.2722 2.62415L12.6162 4.11215L7.72019 9.68016C7.50419 9.92016 6.83219 10.2322 5.68019 10.6162C5.65619 10.6402 5.60819 10.6402 5.56019 10.6162C5.46419 10.5922 5.39219 10.4722 5.44019 10.3762C5.75219 9.24816 6.04019 8.55216 6.25619 8.31216L11.2722 2.62415ZM11.9202 1.85615L13.2882 0.320149C13.6482 -0.0878516 14.2722 -0.111852 14.6802 0.272149C15.0882 0.632149 15.1122 1.28015 14.7522 1.68815L13.2642 3.36815L11.9202 1.85615Z\" fill=\"currentcolor\"/>\n</svg>\n", 'image/svg+xml')).firstChild;
|
9244
|
+
}
|
9245
|
+
|
9246
|
+
const componentName$1 = getComponentName('user-attribute');
|
9247
|
+
class RawUserAttribute extends createBaseClass({
|
9248
|
+
componentName: componentName$1,
|
9249
|
+
baseSelector: ':host > .root',
|
9250
|
+
}) {
|
9251
|
+
constructor() {
|
9252
|
+
super();
|
9253
|
+
|
9254
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
9255
|
+
<style>
|
9256
|
+
:host {
|
9257
|
+
display: inline-flex;
|
9258
|
+
}
|
9259
|
+
|
9260
|
+
vaadin-icon {
|
9261
|
+
color: currentcolor;
|
9262
|
+
}
|
9263
|
+
|
9264
|
+
.root {
|
9265
|
+
display: flex;
|
9266
|
+
width: 100%;
|
9267
|
+
height: 100%;
|
9268
|
+
align-items: center;
|
9269
|
+
}
|
9270
|
+
|
9271
|
+
.btn-wrapper {
|
9272
|
+
display: flex;
|
9273
|
+
justify-content: space-between;
|
9274
|
+
align-items: center;
|
9275
|
+
flex-grow: 0;
|
9276
|
+
}
|
9222
9277
|
|
9223
|
-
|
9278
|
+
.text-wrapper {
|
9279
|
+
display: flex;
|
9280
|
+
align-items: center;
|
9281
|
+
flex-grow: 1;
|
9282
|
+
}
|
9283
|
+
|
9284
|
+
descope-text::part(text-wrapper) {
|
9285
|
+
text-overflow: ellipsis;
|
9286
|
+
overflow: hidden;
|
9287
|
+
white-space: nowrap;
|
9288
|
+
width: initial;
|
9289
|
+
}
|
9290
|
+
|
9291
|
+
descope-text {
|
9292
|
+
display: inline-flex;
|
9293
|
+
}
|
9294
|
+
|
9295
|
+
descope-badge {
|
9296
|
+
margin-inline-end: 10px;
|
9297
|
+
}
|
9298
|
+
|
9299
|
+
descope-text[data-id="label-text"].required:after {
|
9300
|
+
content: '*';
|
9301
|
+
color: var(${TextClass.cssVarList.textColor});
|
9302
|
+
}
|
9303
|
+
</style>
|
9304
|
+
|
9305
|
+
|
9306
|
+
<div class="root">
|
9307
|
+
<div class="text-wrapper">
|
9308
|
+
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="secondary"></descope-text>
|
9309
|
+
<descope-text st-text-align="auto" data-id="value-text" variant="body1" mode="primary"></descope-text>
|
9310
|
+
</div>
|
9311
|
+
|
9312
|
+
<div class="btn-wrapper">
|
9313
|
+
<descope-badge mode="default" bordered="true" size="xs"></descope-badge>
|
9314
|
+
<descope-button size="xs" data-id="edit-btn" square="true" variant="link" mode="primary">
|
9315
|
+
<vaadin-icon src=${editIcon}></vaadin-icon>
|
9316
|
+
</descope-button>
|
9317
|
+
<descope-button size="xs" data-id="delete-btn" square="true" variant="link" mode="primary">
|
9318
|
+
<vaadin-icon src=${deleteIcon}></vaadin-icon>
|
9319
|
+
</descope-button>
|
9320
|
+
</div
|
9321
|
+
</div>
|
9322
|
+
`;
|
9323
|
+
|
9324
|
+
this.deleteButton = this.shadowRoot.querySelector('descope-button[data-id="delete-btn"]');
|
9325
|
+
this.editButton = this.shadowRoot.querySelector('descope-button[data-id="edit-btn"]');
|
9326
|
+
this.badge = this.shadowRoot.querySelector('descope-badge');
|
9327
|
+
this.labelText = this.shadowRoot.querySelector('descope-text[data-id="label-text"]');
|
9328
|
+
this.valueText = this.shadowRoot.querySelector('descope-text[data-id="value-text"]');
|
9329
|
+
}
|
9330
|
+
|
9331
|
+
onLabelChange() {
|
9332
|
+
this.labelText.innerText = this.label;
|
9333
|
+
this.labelText.setAttribute('title', this.label);
|
9334
|
+
}
|
9335
|
+
|
9336
|
+
onValueOrPlaceholderChange() {
|
9337
|
+
const text = this.value || this.placeholder;
|
9338
|
+
const mode = this.value ? 'primary' : 'secondary';
|
9339
|
+
|
9340
|
+
this.valueText.innerText = text;
|
9341
|
+
this.valueText.setAttribute('title', text);
|
9342
|
+
this.valueText.setAttribute('mode', mode);
|
9343
|
+
}
|
9344
|
+
|
9345
|
+
onBadgeLabelChange() {
|
9346
|
+
if (!this.badgeLabel) {
|
9347
|
+
this.badge.style.display = 'none';
|
9348
|
+
} else {
|
9349
|
+
this.badge.innerText = this.badgeLabel;
|
9350
|
+
this.badge.style.display = '';
|
9351
|
+
}
|
9352
|
+
}
|
9353
|
+
|
9354
|
+
onBadgeTooltipTextChange() {
|
9355
|
+
this.badge.setAttribute('title', this.badgeTooltipText || this.badgeLabel);
|
9356
|
+
}
|
9357
|
+
|
9358
|
+
onIsRequiredChange() {
|
9359
|
+
this.labelText.classList.toggle('required', this.isRequired);
|
9360
|
+
}
|
9361
|
+
|
9362
|
+
get label() {
|
9363
|
+
return this.getAttribute('label') || '';
|
9364
|
+
}
|
9365
|
+
|
9366
|
+
get value() {
|
9367
|
+
return this.getAttribute('value') || '';
|
9368
|
+
}
|
9369
|
+
|
9370
|
+
get placeholder() {
|
9371
|
+
return this.getAttribute('placeholder') || '';
|
9372
|
+
}
|
9373
|
+
|
9374
|
+
get isRequired() {
|
9375
|
+
return this.getAttribute('required') === 'true';
|
9376
|
+
}
|
9377
|
+
|
9378
|
+
get badgeLabel() {
|
9379
|
+
return this.getAttribute('badge-label') || '';
|
9380
|
+
}
|
9381
|
+
|
9382
|
+
get badgeTooltipText() {
|
9383
|
+
return this.getAttribute('badge-tooltip-text') || '';
|
9384
|
+
}
|
9385
|
+
|
9386
|
+
init() {
|
9387
|
+
this.onLabelChange();
|
9388
|
+
this.onValueOrPlaceholderChange();
|
9389
|
+
this.onIsRequiredChange();
|
9390
|
+
this.onBadgeLabelChange();
|
9391
|
+
this.onBadgeTooltipTextChange();
|
9392
|
+
|
9393
|
+
this.deleteButton.addEventListener('click', () =>
|
9394
|
+
this.dispatchEvent(new CustomEvent('delete-clicked', { bubbles: true, composed: true }))
|
9395
|
+
);
|
9396
|
+
|
9397
|
+
this.editButton.addEventListener('click', () =>
|
9398
|
+
this.dispatchEvent(new CustomEvent('edit-clicked', { bubbles: true, composed: true }))
|
9399
|
+
);
|
9400
|
+
}
|
9401
|
+
|
9402
|
+
static get observedAttributes() {
|
9403
|
+
return [
|
9404
|
+
'label',
|
9405
|
+
'value',
|
9406
|
+
'placeholder',
|
9407
|
+
'required',
|
9408
|
+
'badge-label',
|
9409
|
+
'badge-tooltip-text',
|
9410
|
+
].concat(super.observedAttributes);
|
9411
|
+
}
|
9412
|
+
|
9413
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
9414
|
+
super.attributeChangedCallback?.(name, oldValue, newValue);
|
9415
|
+
|
9416
|
+
if (oldValue === newValue) {
|
9417
|
+
return;
|
9418
|
+
}
|
9419
|
+
|
9420
|
+
if (name === 'label') {
|
9421
|
+
this.onLabelChange();
|
9422
|
+
} else if (name === 'value' || name === 'placeholder') {
|
9423
|
+
this.onValueOrPlaceholderChange();
|
9424
|
+
} else if (name === 'required') {
|
9425
|
+
this.onIsRequiredChange();
|
9426
|
+
} else if (name === 'badge-label') {
|
9427
|
+
this.onBadgeLabelChange();
|
9428
|
+
} else if (name === 'badge-tooltip-text') {
|
9429
|
+
this.onBadgeTooltipTextChange();
|
9430
|
+
}
|
9431
|
+
}
|
9432
|
+
}
|
9433
|
+
|
9434
|
+
const { host, textFields, buttons, badge: badge$2, labelText, valueText, textWrapper } = {
|
9435
|
+
host: { selector: () => ':host' },
|
9436
|
+
textFields: { selector: 'descope-text' },
|
9437
|
+
valueText: { selector: 'descope-text[data-id="value-text"]' },
|
9438
|
+
labelText: { selector: 'descope-text[data-id="label-text"]' },
|
9439
|
+
buttons: { selector: 'descope-button' },
|
9440
|
+
badge: { selector: 'descope-badge' },
|
9441
|
+
textWrapper: { selector: ' .text-wrapper' },
|
9442
|
+
};
|
9443
|
+
|
9444
|
+
const UserAttributeClass = compose(
|
9445
|
+
createStyleMixin({
|
9446
|
+
mappings: {
|
9447
|
+
hostWidth: { ...host, property: 'width' },
|
9448
|
+
hostMinWidth: { ...host, property: 'min-width' },
|
9449
|
+
hostDirection: [
|
9450
|
+
{ ...host, property: 'direction' },
|
9451
|
+
{ ...textFields, property: TextClass.cssVarList.hostDirection },
|
9452
|
+
{ ...buttons, property: ButtonClass.cssVarList.hostDirection },
|
9453
|
+
{ ...badge$2, property: BadgeClass.cssVarList.hostDirection },
|
9454
|
+
],
|
9455
|
+
labelTextWidth: { ...labelText, property: 'width' },
|
9456
|
+
valueTextWidth: { ...valueText, property: 'width' },
|
9457
|
+
badgeMaxWidth: { ...badge$2, property: 'max-width' },
|
9458
|
+
itemsGap: [{ property: 'gap' }, { ...textWrapper, property: 'gap' }],
|
9459
|
+
},
|
9460
|
+
}),
|
9461
|
+
draggableMixin,
|
9462
|
+
componentNameValidationMixin
|
9463
|
+
)(RawUserAttribute);
|
9464
|
+
|
9465
|
+
customElements.define(componentName$1, UserAttributeClass);
|
9224
9466
|
|
9225
9467
|
const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
|
9226
9468
|
|
@@ -9652,33 +9894,33 @@ const globals = {
|
|
9652
9894
|
fonts,
|
9653
9895
|
direction,
|
9654
9896
|
};
|
9655
|
-
const vars$
|
9897
|
+
const vars$B = getThemeVars(globals);
|
9656
9898
|
|
9657
|
-
const globalRefs$
|
9899
|
+
const globalRefs$k = getThemeRefs(globals);
|
9658
9900
|
const compVars$5 = ButtonClass.cssVarList;
|
9659
9901
|
|
9660
9902
|
const mode = {
|
9661
|
-
primary: globalRefs$
|
9662
|
-
secondary: globalRefs$
|
9663
|
-
success: globalRefs$
|
9664
|
-
error: globalRefs$
|
9665
|
-
surface: globalRefs$
|
9903
|
+
primary: globalRefs$k.colors.primary,
|
9904
|
+
secondary: globalRefs$k.colors.secondary,
|
9905
|
+
success: globalRefs$k.colors.success,
|
9906
|
+
error: globalRefs$k.colors.error,
|
9907
|
+
surface: globalRefs$k.colors.surface,
|
9666
9908
|
};
|
9667
9909
|
|
9668
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
9910
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$N);
|
9669
9911
|
|
9670
9912
|
const button = {
|
9671
9913
|
...helperTheme$3,
|
9672
9914
|
|
9673
|
-
[compVars$5.fontFamily]: globalRefs$
|
9915
|
+
[compVars$5.fontFamily]: globalRefs$k.fonts.font1.family,
|
9674
9916
|
|
9675
9917
|
[compVars$5.cursor]: 'pointer',
|
9676
9918
|
[compVars$5.hostHeight]: '3em',
|
9677
9919
|
[compVars$5.hostWidth]: 'auto',
|
9678
|
-
[compVars$5.hostDirection]: globalRefs$
|
9920
|
+
[compVars$5.hostDirection]: globalRefs$k.direction,
|
9679
9921
|
|
9680
|
-
[compVars$5.borderRadius]: globalRefs$
|
9681
|
-
[compVars$5.borderWidth]: globalRefs$
|
9922
|
+
[compVars$5.borderRadius]: globalRefs$k.radius.sm,
|
9923
|
+
[compVars$5.borderWidth]: globalRefs$k.border.xs,
|
9682
9924
|
[compVars$5.borderStyle]: 'solid',
|
9683
9925
|
[compVars$5.borderColor]: 'transparent',
|
9684
9926
|
|
@@ -9721,10 +9963,10 @@ const button = {
|
|
9721
9963
|
},
|
9722
9964
|
|
9723
9965
|
_disabled: {
|
9724
|
-
[helperVars$3.main]: globalRefs$
|
9725
|
-
[helperVars$3.dark]: globalRefs$
|
9726
|
-
[helperVars$3.light]: globalRefs$
|
9727
|
-
[helperVars$3.contrast]: globalRefs$
|
9966
|
+
[helperVars$3.main]: globalRefs$k.colors.surface.light,
|
9967
|
+
[helperVars$3.dark]: globalRefs$k.colors.surface.dark,
|
9968
|
+
[helperVars$3.light]: globalRefs$k.colors.surface.light,
|
9969
|
+
[helperVars$3.contrast]: globalRefs$k.colors.surface.main,
|
9728
9970
|
},
|
9729
9971
|
|
9730
9972
|
variant: {
|
@@ -9772,7 +10014,7 @@ const button = {
|
|
9772
10014
|
},
|
9773
10015
|
};
|
9774
10016
|
|
9775
|
-
const vars$
|
10017
|
+
const vars$A = {
|
9776
10018
|
...compVars$5,
|
9777
10019
|
...helperVars$3,
|
9778
10020
|
};
|
@@ -9780,26 +10022,26 @@ const vars$z = {
|
|
9780
10022
|
var button$1 = /*#__PURE__*/Object.freeze({
|
9781
10023
|
__proto__: null,
|
9782
10024
|
default: button,
|
9783
|
-
vars: vars$
|
10025
|
+
vars: vars$A
|
9784
10026
|
});
|
9785
10027
|
|
9786
10028
|
const componentName = getComponentName('input-wrapper');
|
9787
|
-
const globalRefs$
|
10029
|
+
const globalRefs$j = getThemeRefs(globals);
|
9788
10030
|
|
9789
|
-
const [theme$1, refs, vars$
|
10031
|
+
const [theme$1, refs, vars$z] = createHelperVars(
|
9790
10032
|
{
|
9791
|
-
labelTextColor: globalRefs$
|
9792
|
-
valueTextColor: globalRefs$
|
9793
|
-
placeholderTextColor: globalRefs$
|
10033
|
+
labelTextColor: globalRefs$j.colors.surface.dark,
|
10034
|
+
valueTextColor: globalRefs$j.colors.surface.contrast,
|
10035
|
+
placeholderTextColor: globalRefs$j.colors.surface.dark,
|
9794
10036
|
requiredIndicator: "'*'",
|
9795
|
-
errorMessageTextColor: globalRefs$
|
9796
|
-
helperTextColor: globalRefs$
|
10037
|
+
errorMessageTextColor: globalRefs$j.colors.error.main,
|
10038
|
+
helperTextColor: globalRefs$j.colors.surface.dark,
|
9797
10039
|
|
9798
|
-
borderWidth: globalRefs$
|
9799
|
-
borderRadius: globalRefs$
|
10040
|
+
borderWidth: globalRefs$j.border.xs,
|
10041
|
+
borderRadius: globalRefs$j.radius.xs,
|
9800
10042
|
borderColor: 'transparent',
|
9801
10043
|
|
9802
|
-
outlineWidth: globalRefs$
|
10044
|
+
outlineWidth: globalRefs$j.border.sm,
|
9803
10045
|
outlineStyle: 'solid',
|
9804
10046
|
outlineColor: 'transparent',
|
9805
10047
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
@@ -9810,11 +10052,11 @@ const [theme$1, refs, vars$y] = createHelperVars(
|
|
9810
10052
|
horizontalPadding: '0.5em',
|
9811
10053
|
verticalPadding: '0.5em',
|
9812
10054
|
|
9813
|
-
backgroundColor: globalRefs$
|
10055
|
+
backgroundColor: globalRefs$j.colors.surface.main,
|
9814
10056
|
|
9815
|
-
fontFamily: globalRefs$
|
10057
|
+
fontFamily: globalRefs$j.fonts.font1.family,
|
9816
10058
|
|
9817
|
-
direction: globalRefs$
|
10059
|
+
direction: globalRefs$j.direction,
|
9818
10060
|
|
9819
10061
|
overlayOpacity: '0.3',
|
9820
10062
|
|
@@ -9830,28 +10072,28 @@ const [theme$1, refs, vars$y] = createHelperVars(
|
|
9830
10072
|
},
|
9831
10073
|
|
9832
10074
|
_focused: {
|
9833
|
-
outlineColor: globalRefs$
|
10075
|
+
outlineColor: globalRefs$j.colors.surface.light,
|
9834
10076
|
_invalid: {
|
9835
|
-
outlineColor: globalRefs$
|
10077
|
+
outlineColor: globalRefs$j.colors.error.main,
|
9836
10078
|
},
|
9837
10079
|
},
|
9838
10080
|
|
9839
10081
|
_bordered: {
|
9840
|
-
outlineWidth: globalRefs$
|
9841
|
-
borderColor: globalRefs$
|
10082
|
+
outlineWidth: globalRefs$j.border.xs,
|
10083
|
+
borderColor: globalRefs$j.colors.surface.light,
|
9842
10084
|
borderStyle: 'solid',
|
9843
10085
|
_invalid: {
|
9844
|
-
borderColor: globalRefs$
|
10086
|
+
borderColor: globalRefs$j.colors.error.main,
|
9845
10087
|
},
|
9846
10088
|
},
|
9847
10089
|
|
9848
10090
|
_disabled: {
|
9849
|
-
labelTextColor: globalRefs$
|
9850
|
-
borderColor: globalRefs$
|
9851
|
-
valueTextColor: globalRefs$
|
9852
|
-
placeholderTextColor: globalRefs$
|
9853
|
-
helperTextColor: globalRefs$
|
9854
|
-
backgroundColor: globalRefs$
|
10091
|
+
labelTextColor: globalRefs$j.colors.surface.light,
|
10092
|
+
borderColor: globalRefs$j.colors.surface.light,
|
10093
|
+
valueTextColor: globalRefs$j.colors.surface.light,
|
10094
|
+
placeholderTextColor: globalRefs$j.colors.surface.light,
|
10095
|
+
helperTextColor: globalRefs$j.colors.surface.light,
|
10096
|
+
backgroundColor: globalRefs$j.colors.surface.main,
|
9855
10097
|
},
|
9856
10098
|
},
|
9857
10099
|
componentName
|
@@ -9861,22 +10103,64 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
9861
10103
|
__proto__: null,
|
9862
10104
|
default: theme$1,
|
9863
10105
|
refs: refs,
|
9864
|
-
vars: vars$
|
10106
|
+
vars: vars$z
|
9865
10107
|
});
|
9866
10108
|
|
9867
|
-
const vars$
|
10109
|
+
const vars$y = TextFieldClass.cssVarList;
|
9868
10110
|
|
9869
10111
|
const textField = {
|
10112
|
+
[vars$y.hostWidth]: refs.width,
|
10113
|
+
[vars$y.hostMinWidth]: refs.minWidth,
|
10114
|
+
[vars$y.hostDirection]: refs.direction,
|
10115
|
+
[vars$y.fontSize]: refs.fontSize,
|
10116
|
+
[vars$y.fontFamily]: refs.fontFamily,
|
10117
|
+
[vars$y.labelTextColor]: refs.labelTextColor,
|
10118
|
+
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
10119
|
+
[vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
|
10120
|
+
[vars$y.inputValueTextColor]: refs.valueTextColor,
|
10121
|
+
[vars$y.inputPlaceholderColor]: refs.placeholderTextColor,
|
10122
|
+
[vars$y.inputBorderWidth]: refs.borderWidth,
|
10123
|
+
[vars$y.inputBorderStyle]: refs.borderStyle,
|
10124
|
+
[vars$y.inputBorderColor]: refs.borderColor,
|
10125
|
+
[vars$y.inputBorderRadius]: refs.borderRadius,
|
10126
|
+
[vars$y.inputOutlineWidth]: refs.outlineWidth,
|
10127
|
+
[vars$y.inputOutlineStyle]: refs.outlineStyle,
|
10128
|
+
[vars$y.inputOutlineColor]: refs.outlineColor,
|
10129
|
+
[vars$y.inputOutlineOffset]: refs.outlineOffset,
|
10130
|
+
[vars$y.inputBackgroundColor]: refs.backgroundColor,
|
10131
|
+
[vars$y.inputHeight]: refs.inputHeight,
|
10132
|
+
[vars$y.inputHorizontalPadding]: refs.horizontalPadding,
|
10133
|
+
[vars$y.helperTextColor]: refs.helperTextColor,
|
10134
|
+
textAlign: {
|
10135
|
+
right: { [vars$y.inputTextAlign]: 'right' },
|
10136
|
+
left: { [vars$y.inputTextAlign]: 'left' },
|
10137
|
+
center: { [vars$y.inputTextAlign]: 'center' },
|
10138
|
+
},
|
10139
|
+
};
|
10140
|
+
|
10141
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
10142
|
+
__proto__: null,
|
10143
|
+
default: textField,
|
10144
|
+
textField: textField,
|
10145
|
+
vars: vars$y
|
10146
|
+
});
|
10147
|
+
|
10148
|
+
const globalRefs$i = getThemeRefs(globals);
|
10149
|
+
const vars$x = PasswordClass.cssVarList;
|
10150
|
+
|
10151
|
+
const password = {
|
9870
10152
|
[vars$x.hostWidth]: refs.width,
|
9871
|
-
[vars$x.hostMinWidth]: refs.minWidth,
|
9872
10153
|
[vars$x.hostDirection]: refs.direction,
|
9873
10154
|
[vars$x.fontSize]: refs.fontSize,
|
9874
10155
|
[vars$x.fontFamily]: refs.fontFamily,
|
9875
10156
|
[vars$x.labelTextColor]: refs.labelTextColor,
|
9876
|
-
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
9877
10157
|
[vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
|
10158
|
+
[vars$x.inputHorizontalPadding]: refs.horizontalPadding,
|
10159
|
+
[vars$x.inputHeight]: refs.inputHeight,
|
10160
|
+
[vars$x.inputBackgroundColor]: refs.backgroundColor,
|
10161
|
+
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
9878
10162
|
[vars$x.inputValueTextColor]: refs.valueTextColor,
|
9879
|
-
[vars$x.
|
10163
|
+
[vars$x.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
9880
10164
|
[vars$x.inputBorderWidth]: refs.borderWidth,
|
9881
10165
|
[vars$x.inputBorderStyle]: refs.borderStyle,
|
9882
10166
|
[vars$x.inputBorderColor]: refs.borderColor,
|
@@ -9885,40 +10169,29 @@ const textField = {
|
|
9885
10169
|
[vars$x.inputOutlineStyle]: refs.outlineStyle,
|
9886
10170
|
[vars$x.inputOutlineColor]: refs.outlineColor,
|
9887
10171
|
[vars$x.inputOutlineOffset]: refs.outlineOffset,
|
9888
|
-
[vars$x.
|
9889
|
-
[vars$x.
|
9890
|
-
[vars$x.
|
9891
|
-
[vars$x.helperTextColor]: refs.helperTextColor,
|
9892
|
-
textAlign: {
|
9893
|
-
right: { [vars$x.inputTextAlign]: 'right' },
|
9894
|
-
left: { [vars$x.inputTextAlign]: 'left' },
|
9895
|
-
center: { [vars$x.inputTextAlign]: 'center' },
|
9896
|
-
},
|
10172
|
+
[vars$x.revealButtonOffset]: globalRefs$i.spacing.md,
|
10173
|
+
[vars$x.revealButtonSize]: refs.toggleButtonSize,
|
10174
|
+
[vars$x.revealButtonColor]: refs.placeholderTextColor,
|
9897
10175
|
};
|
9898
10176
|
|
9899
|
-
var
|
10177
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
9900
10178
|
__proto__: null,
|
9901
|
-
default:
|
9902
|
-
textField: textField,
|
10179
|
+
default: password,
|
9903
10180
|
vars: vars$x
|
9904
10181
|
});
|
9905
10182
|
|
9906
|
-
const
|
9907
|
-
const vars$w = PasswordClass.cssVarList;
|
10183
|
+
const vars$w = NumberFieldClass.cssVarList;
|
9908
10184
|
|
9909
|
-
const
|
10185
|
+
const numberField = {
|
9910
10186
|
[vars$w.hostWidth]: refs.width,
|
10187
|
+
[vars$w.hostMinWidth]: refs.minWidth,
|
9911
10188
|
[vars$w.hostDirection]: refs.direction,
|
9912
10189
|
[vars$w.fontSize]: refs.fontSize,
|
9913
10190
|
[vars$w.fontFamily]: refs.fontFamily,
|
9914
10191
|
[vars$w.labelTextColor]: refs.labelTextColor,
|
9915
10192
|
[vars$w.errorMessageTextColor]: refs.errorMessageTextColor,
|
9916
|
-
[vars$w.inputHorizontalPadding]: refs.horizontalPadding,
|
9917
|
-
[vars$w.inputHeight]: refs.inputHeight,
|
9918
|
-
[vars$w.inputBackgroundColor]: refs.backgroundColor,
|
9919
|
-
[vars$w.labelRequiredIndicator]: refs.requiredIndicator,
|
9920
10193
|
[vars$w.inputValueTextColor]: refs.valueTextColor,
|
9921
|
-
[vars$w.
|
10194
|
+
[vars$w.inputPlaceholderColor]: refs.placeholderTextColor,
|
9922
10195
|
[vars$w.inputBorderWidth]: refs.borderWidth,
|
9923
10196
|
[vars$w.inputBorderStyle]: refs.borderStyle,
|
9924
10197
|
[vars$w.inputBorderColor]: refs.borderColor,
|
@@ -9927,20 +10200,21 @@ const password = {
|
|
9927
10200
|
[vars$w.inputOutlineStyle]: refs.outlineStyle,
|
9928
10201
|
[vars$w.inputOutlineColor]: refs.outlineColor,
|
9929
10202
|
[vars$w.inputOutlineOffset]: refs.outlineOffset,
|
9930
|
-
[vars$w.
|
9931
|
-
[vars$w.
|
9932
|
-
[vars$w.
|
10203
|
+
[vars$w.inputBackgroundColor]: refs.backgroundColor,
|
10204
|
+
[vars$w.labelRequiredIndicator]: refs.requiredIndicator,
|
10205
|
+
[vars$w.inputHorizontalPadding]: refs.horizontalPadding,
|
10206
|
+
[vars$w.inputHeight]: refs.inputHeight,
|
9933
10207
|
};
|
9934
10208
|
|
9935
|
-
var
|
10209
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
9936
10210
|
__proto__: null,
|
9937
|
-
default:
|
10211
|
+
default: numberField,
|
9938
10212
|
vars: vars$w
|
9939
10213
|
});
|
9940
10214
|
|
9941
|
-
const vars$v =
|
10215
|
+
const vars$v = EmailFieldClass.cssVarList;
|
9942
10216
|
|
9943
|
-
const
|
10217
|
+
const emailField = {
|
9944
10218
|
[vars$v.hostWidth]: refs.width,
|
9945
10219
|
[vars$v.hostMinWidth]: refs.minWidth,
|
9946
10220
|
[vars$v.hostDirection]: refs.direction,
|
@@ -9949,6 +10223,7 @@ const numberField = {
|
|
9949
10223
|
[vars$v.labelTextColor]: refs.labelTextColor,
|
9950
10224
|
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
9951
10225
|
[vars$v.inputValueTextColor]: refs.valueTextColor,
|
10226
|
+
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
9952
10227
|
[vars$v.inputPlaceholderColor]: refs.placeholderTextColor,
|
9953
10228
|
[vars$v.inputBorderWidth]: refs.borderWidth,
|
9954
10229
|
[vars$v.inputBorderStyle]: refs.borderStyle,
|
@@ -9959,200 +10234,167 @@ const numberField = {
|
|
9959
10234
|
[vars$v.inputOutlineColor]: refs.outlineColor,
|
9960
10235
|
[vars$v.inputOutlineOffset]: refs.outlineOffset,
|
9961
10236
|
[vars$v.inputBackgroundColor]: refs.backgroundColor,
|
9962
|
-
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
9963
10237
|
[vars$v.inputHorizontalPadding]: refs.horizontalPadding,
|
9964
10238
|
[vars$v.inputHeight]: refs.inputHeight,
|
9965
10239
|
};
|
9966
10240
|
|
9967
|
-
var
|
10241
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
9968
10242
|
__proto__: null,
|
9969
|
-
default:
|
10243
|
+
default: emailField,
|
9970
10244
|
vars: vars$v
|
9971
10245
|
});
|
9972
10246
|
|
9973
|
-
const vars$u =
|
10247
|
+
const vars$u = TextAreaClass.cssVarList;
|
9974
10248
|
|
9975
|
-
const
|
10249
|
+
const textArea = {
|
9976
10250
|
[vars$u.hostWidth]: refs.width,
|
9977
10251
|
[vars$u.hostMinWidth]: refs.minWidth,
|
9978
10252
|
[vars$u.hostDirection]: refs.direction,
|
9979
10253
|
[vars$u.fontSize]: refs.fontSize,
|
9980
10254
|
[vars$u.fontFamily]: refs.fontFamily,
|
9981
10255
|
[vars$u.labelTextColor]: refs.labelTextColor,
|
10256
|
+
[vars$u.labelRequiredIndicator]: refs.requiredIndicator,
|
9982
10257
|
[vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
|
10258
|
+
[vars$u.inputBackgroundColor]: refs.backgroundColor,
|
9983
10259
|
[vars$u.inputValueTextColor]: refs.valueTextColor,
|
9984
|
-
[vars$u.
|
9985
|
-
[vars$u.
|
10260
|
+
[vars$u.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10261
|
+
[vars$u.inputBorderRadius]: refs.borderRadius,
|
9986
10262
|
[vars$u.inputBorderWidth]: refs.borderWidth,
|
9987
10263
|
[vars$u.inputBorderStyle]: refs.borderStyle,
|
9988
10264
|
[vars$u.inputBorderColor]: refs.borderColor,
|
9989
|
-
[vars$u.inputBorderRadius]: refs.borderRadius,
|
9990
10265
|
[vars$u.inputOutlineWidth]: refs.outlineWidth,
|
9991
10266
|
[vars$u.inputOutlineStyle]: refs.outlineStyle,
|
9992
10267
|
[vars$u.inputOutlineColor]: refs.outlineColor,
|
9993
10268
|
[vars$u.inputOutlineOffset]: refs.outlineOffset,
|
9994
|
-
[vars$u.
|
9995
|
-
[vars$u.
|
9996
|
-
|
10269
|
+
[vars$u.inputResizeType]: 'vertical',
|
10270
|
+
[vars$u.inputMinHeight]: '5em',
|
10271
|
+
textAlign: {
|
10272
|
+
right: { [vars$u.inputTextAlign]: 'right' },
|
10273
|
+
left: { [vars$u.inputTextAlign]: 'left' },
|
10274
|
+
center: { [vars$u.inputTextAlign]: 'center' },
|
10275
|
+
},
|
10276
|
+
|
10277
|
+
_readonly: {
|
10278
|
+
[vars$u.inputResizeType]: 'none',
|
10279
|
+
},
|
9997
10280
|
};
|
9998
10281
|
|
9999
|
-
var
|
10282
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
10000
10283
|
__proto__: null,
|
10001
|
-
default:
|
10284
|
+
default: textArea,
|
10002
10285
|
vars: vars$u
|
10003
10286
|
});
|
10004
10287
|
|
10005
|
-
const vars$t =
|
10288
|
+
const vars$t = CheckboxClass.cssVarList;
|
10289
|
+
const checkboxSize = '1.35em';
|
10006
10290
|
|
10007
|
-
const
|
10291
|
+
const checkbox = {
|
10008
10292
|
[vars$t.hostWidth]: refs.width,
|
10009
|
-
[vars$t.hostMinWidth]: refs.minWidth,
|
10010
10293
|
[vars$t.hostDirection]: refs.direction,
|
10011
10294
|
[vars$t.fontSize]: refs.fontSize,
|
10012
10295
|
[vars$t.fontFamily]: refs.fontFamily,
|
10013
10296
|
[vars$t.labelTextColor]: refs.labelTextColor,
|
10014
10297
|
[vars$t.labelRequiredIndicator]: refs.requiredIndicator,
|
10298
|
+
[vars$t.labelFontWeight]: '400',
|
10299
|
+
[vars$t.labelLineHeight]: checkboxSize,
|
10300
|
+
[vars$t.labelSpacing]: '1em',
|
10015
10301
|
[vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
|
10016
|
-
[vars$t.
|
10017
|
-
[vars$t.
|
10018
|
-
[vars$t.
|
10302
|
+
[vars$t.inputOutlineWidth]: refs.outlineWidth,
|
10303
|
+
[vars$t.inputOutlineOffset]: refs.outlineOffset,
|
10304
|
+
[vars$t.inputOutlineColor]: refs.outlineColor,
|
10305
|
+
[vars$t.inputOutlineStyle]: refs.outlineStyle,
|
10019
10306
|
[vars$t.inputBorderRadius]: refs.borderRadius,
|
10307
|
+
[vars$t.inputBorderColor]: refs.borderColor,
|
10020
10308
|
[vars$t.inputBorderWidth]: refs.borderWidth,
|
10021
10309
|
[vars$t.inputBorderStyle]: refs.borderStyle,
|
10022
|
-
[vars$t.
|
10023
|
-
[vars$t.
|
10024
|
-
|
10025
|
-
|
10026
|
-
|
10027
|
-
[vars$t.inputResizeType]: 'vertical',
|
10028
|
-
[vars$t.inputMinHeight]: '5em',
|
10029
|
-
textAlign: {
|
10030
|
-
right: { [vars$t.inputTextAlign]: 'right' },
|
10031
|
-
left: { [vars$t.inputTextAlign]: 'left' },
|
10032
|
-
center: { [vars$t.inputTextAlign]: 'center' },
|
10310
|
+
[vars$t.inputBackgroundColor]: refs.backgroundColor,
|
10311
|
+
[vars$t.inputSize]: checkboxSize,
|
10312
|
+
|
10313
|
+
_checked: {
|
10314
|
+
[vars$t.inputValueTextColor]: refs.valueTextColor,
|
10033
10315
|
},
|
10034
10316
|
|
10035
|
-
|
10036
|
-
[vars$t.
|
10317
|
+
_disabled: {
|
10318
|
+
[vars$t.labelTextColor]: refs.labelTextColor,
|
10037
10319
|
},
|
10038
10320
|
};
|
10039
10321
|
|
10040
|
-
var
|
10322
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
10041
10323
|
__proto__: null,
|
10042
|
-
default:
|
10324
|
+
default: checkbox,
|
10043
10325
|
vars: vars$t
|
10044
10326
|
});
|
10045
10327
|
|
10046
|
-
const
|
10047
|
-
const
|
10328
|
+
const knobMargin = '2px';
|
10329
|
+
const checkboxHeight = '1.25em';
|
10048
10330
|
|
10049
|
-
const
|
10331
|
+
const globalRefs$h = getThemeRefs(globals);
|
10332
|
+
const vars$s = SwitchToggleClass.cssVarList;
|
10333
|
+
|
10334
|
+
const switchToggle = {
|
10050
10335
|
[vars$s.hostWidth]: refs.width,
|
10051
10336
|
[vars$s.hostDirection]: refs.direction,
|
10052
10337
|
[vars$s.fontSize]: refs.fontSize,
|
10053
10338
|
[vars$s.fontFamily]: refs.fontFamily,
|
10054
|
-
|
10055
|
-
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
10056
|
-
[vars$s.labelFontWeight]: '400',
|
10057
|
-
[vars$s.labelLineHeight]: checkboxSize,
|
10058
|
-
[vars$s.labelSpacing]: '1em',
|
10059
|
-
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
10339
|
+
|
10060
10340
|
[vars$s.inputOutlineWidth]: refs.outlineWidth,
|
10061
10341
|
[vars$s.inputOutlineOffset]: refs.outlineOffset,
|
10062
10342
|
[vars$s.inputOutlineColor]: refs.outlineColor,
|
10063
10343
|
[vars$s.inputOutlineStyle]: refs.outlineStyle,
|
10064
|
-
[vars$s.inputBorderRadius]: refs.borderRadius,
|
10065
|
-
[vars$s.inputBorderColor]: refs.borderColor,
|
10066
|
-
[vars$s.inputBorderWidth]: refs.borderWidth,
|
10067
|
-
[vars$s.inputBorderStyle]: refs.borderStyle,
|
10068
|
-
[vars$s.inputBackgroundColor]: refs.backgroundColor,
|
10069
|
-
[vars$s.inputSize]: checkboxSize,
|
10070
|
-
|
10071
|
-
_checked: {
|
10072
|
-
[vars$s.inputValueTextColor]: refs.valueTextColor,
|
10073
|
-
},
|
10074
|
-
|
10075
|
-
_disabled: {
|
10076
|
-
[vars$s.labelTextColor]: refs.labelTextColor,
|
10077
|
-
},
|
10078
|
-
};
|
10079
|
-
|
10080
|
-
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
10081
|
-
__proto__: null,
|
10082
|
-
default: checkbox,
|
10083
|
-
vars: vars$s
|
10084
|
-
});
|
10085
|
-
|
10086
|
-
const knobMargin = '2px';
|
10087
|
-
const checkboxHeight = '1.25em';
|
10088
10344
|
|
10089
|
-
|
10090
|
-
|
10345
|
+
[vars$s.trackBorderStyle]: refs.borderStyle,
|
10346
|
+
[vars$s.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
10347
|
+
[vars$s.trackBorderColor]: refs.borderColor,
|
10348
|
+
[vars$s.trackBackgroundColor]: refs.backgroundColor,
|
10349
|
+
[vars$s.trackBorderRadius]: globalRefs$h.radius.md,
|
10350
|
+
[vars$s.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
10351
|
+
[vars$s.trackHeight]: checkboxHeight,
|
10352
|
+
|
10353
|
+
[vars$s.knobSize]: `calc(1em - ${knobMargin})`,
|
10354
|
+
[vars$s.knobRadius]: '50%',
|
10355
|
+
[vars$s.knobTopOffset]: '1px',
|
10356
|
+
[vars$s.knobLeftOffset]: knobMargin,
|
10357
|
+
[vars$s.knobColor]: refs.labelTextColor,
|
10358
|
+
[vars$s.knobTransitionDuration]: '0.3s',
|
10091
10359
|
|
10092
|
-
|
10093
|
-
[vars$
|
10094
|
-
[vars$
|
10095
|
-
[vars$
|
10096
|
-
[vars$
|
10097
|
-
|
10098
|
-
[vars$r.inputOutlineWidth]: refs.outlineWidth,
|
10099
|
-
[vars$r.inputOutlineOffset]: refs.outlineOffset,
|
10100
|
-
[vars$r.inputOutlineColor]: refs.outlineColor,
|
10101
|
-
[vars$r.inputOutlineStyle]: refs.outlineStyle,
|
10102
|
-
|
10103
|
-
[vars$r.trackBorderStyle]: refs.borderStyle,
|
10104
|
-
[vars$r.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
10105
|
-
[vars$r.trackBorderColor]: refs.borderColor,
|
10106
|
-
[vars$r.trackBackgroundColor]: refs.backgroundColor,
|
10107
|
-
[vars$r.trackBorderRadius]: globalRefs$g.radius.md,
|
10108
|
-
[vars$r.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
10109
|
-
[vars$r.trackHeight]: checkboxHeight,
|
10110
|
-
|
10111
|
-
[vars$r.knobSize]: `calc(1em - ${knobMargin})`,
|
10112
|
-
[vars$r.knobRadius]: '50%',
|
10113
|
-
[vars$r.knobTopOffset]: '1px',
|
10114
|
-
[vars$r.knobLeftOffset]: knobMargin,
|
10115
|
-
[vars$r.knobColor]: refs.labelTextColor,
|
10116
|
-
[vars$r.knobTransitionDuration]: '0.3s',
|
10117
|
-
|
10118
|
-
[vars$r.labelTextColor]: refs.labelTextColor,
|
10119
|
-
[vars$r.labelFontWeight]: '400',
|
10120
|
-
[vars$r.labelLineHeight]: '1.35em',
|
10121
|
-
[vars$r.labelSpacing]: '1em',
|
10122
|
-
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
10123
|
-
[vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
|
10360
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
10361
|
+
[vars$s.labelFontWeight]: '400',
|
10362
|
+
[vars$s.labelLineHeight]: '1.35em',
|
10363
|
+
[vars$s.labelSpacing]: '1em',
|
10364
|
+
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
10365
|
+
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
10124
10366
|
|
10125
10367
|
_checked: {
|
10126
|
-
[vars$
|
10127
|
-
[vars$
|
10128
|
-
[vars$
|
10129
|
-
[vars$
|
10368
|
+
[vars$s.trackBorderColor]: refs.borderColor,
|
10369
|
+
[vars$s.knobLeftOffset]: `calc(100% - var(${vars$s.knobSize}) - ${knobMargin})`,
|
10370
|
+
[vars$s.knobColor]: refs.valueTextColor,
|
10371
|
+
[vars$s.knobTextColor]: refs.valueTextColor,
|
10130
10372
|
},
|
10131
10373
|
|
10132
10374
|
_disabled: {
|
10133
|
-
[vars$
|
10134
|
-
[vars$
|
10135
|
-
[vars$
|
10136
|
-
[vars$
|
10375
|
+
[vars$s.knobColor]: globalRefs$h.colors.surface.light,
|
10376
|
+
[vars$s.trackBorderColor]: globalRefs$h.colors.surface.light,
|
10377
|
+
[vars$s.trackBackgroundColor]: globalRefs$h.colors.surface.main,
|
10378
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
10137
10379
|
_checked: {
|
10138
|
-
[vars$
|
10139
|
-
[vars$
|
10380
|
+
[vars$s.knobColor]: globalRefs$h.colors.surface.light,
|
10381
|
+
[vars$s.trackBackgroundColor]: globalRefs$h.colors.surface.main,
|
10140
10382
|
},
|
10141
10383
|
},
|
10142
10384
|
|
10143
10385
|
_invalid: {
|
10144
|
-
[vars$
|
10145
|
-
[vars$
|
10386
|
+
[vars$s.trackBorderColor]: globalRefs$h.colors.error.main,
|
10387
|
+
[vars$s.knobColor]: globalRefs$h.colors.error.main,
|
10146
10388
|
},
|
10147
10389
|
};
|
10148
10390
|
|
10149
10391
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
10150
10392
|
__proto__: null,
|
10151
10393
|
default: switchToggle,
|
10152
|
-
vars: vars$
|
10394
|
+
vars: vars$s
|
10153
10395
|
});
|
10154
10396
|
|
10155
|
-
const globalRefs$
|
10397
|
+
const globalRefs$g = getThemeRefs(globals);
|
10156
10398
|
|
10157
10399
|
const compVars$4 = ContainerClass.cssVarList;
|
10158
10400
|
|
@@ -10174,7 +10416,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
10174
10416
|
horizontalAlignment,
|
10175
10417
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
10176
10418
|
},
|
10177
|
-
componentName$
|
10419
|
+
componentName$H
|
10178
10420
|
);
|
10179
10421
|
|
10180
10422
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
@@ -10184,10 +10426,10 @@ const container = {
|
|
10184
10426
|
|
10185
10427
|
[compVars$4.hostWidth]: '100%',
|
10186
10428
|
[compVars$4.boxShadow]: 'none',
|
10187
|
-
[compVars$4.backgroundColor]: globalRefs$
|
10188
|
-
[compVars$4.color]: globalRefs$
|
10429
|
+
[compVars$4.backgroundColor]: globalRefs$g.colors.surface.main,
|
10430
|
+
[compVars$4.color]: globalRefs$g.colors.surface.contrast,
|
10189
10431
|
[compVars$4.borderRadius]: '0px',
|
10190
|
-
[compVars$4.hostDirection]: globalRefs$
|
10432
|
+
[compVars$4.hostDirection]: globalRefs$g.direction,
|
10191
10433
|
|
10192
10434
|
verticalPadding: {
|
10193
10435
|
sm: { [compVars$4.verticalPadding]: '5px' },
|
@@ -10233,34 +10475,34 @@ const container = {
|
|
10233
10475
|
|
10234
10476
|
shadow: {
|
10235
10477
|
sm: {
|
10236
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
10478
|
+
[compVars$4.boxShadow]: `${globalRefs$g.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$g.shadow.narrow.sm} ${shadowColor$1}`,
|
10237
10479
|
},
|
10238
10480
|
md: {
|
10239
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
10481
|
+
[compVars$4.boxShadow]: `${globalRefs$g.shadow.wide.md} ${shadowColor$1}, ${globalRefs$g.shadow.narrow.md} ${shadowColor$1}`,
|
10240
10482
|
},
|
10241
10483
|
lg: {
|
10242
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
10484
|
+
[compVars$4.boxShadow]: `${globalRefs$g.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$g.shadow.narrow.lg} ${shadowColor$1}`,
|
10243
10485
|
},
|
10244
10486
|
xl: {
|
10245
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
10487
|
+
[compVars$4.boxShadow]: `${globalRefs$g.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$g.shadow.narrow.xl} ${shadowColor$1}`,
|
10246
10488
|
},
|
10247
10489
|
'2xl': {
|
10248
10490
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
10249
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
10491
|
+
[compVars$4.boxShadow]: `${globalRefs$g.shadow.wide['2xl']} ${shadowColor$1}`,
|
10250
10492
|
},
|
10251
10493
|
},
|
10252
10494
|
|
10253
10495
|
borderRadius: {
|
10254
|
-
sm: { [compVars$4.borderRadius]: globalRefs$
|
10255
|
-
md: { [compVars$4.borderRadius]: globalRefs$
|
10256
|
-
lg: { [compVars$4.borderRadius]: globalRefs$
|
10257
|
-
xl: { [compVars$4.borderRadius]: globalRefs$
|
10258
|
-
'2xl': { [compVars$4.borderRadius]: globalRefs$
|
10259
|
-
'3xl': { [compVars$4.borderRadius]: globalRefs$
|
10496
|
+
sm: { [compVars$4.borderRadius]: globalRefs$g.radius.sm },
|
10497
|
+
md: { [compVars$4.borderRadius]: globalRefs$g.radius.md },
|
10498
|
+
lg: { [compVars$4.borderRadius]: globalRefs$g.radius.lg },
|
10499
|
+
xl: { [compVars$4.borderRadius]: globalRefs$g.radius.xl },
|
10500
|
+
'2xl': { [compVars$4.borderRadius]: globalRefs$g.radius['2xl'] },
|
10501
|
+
'3xl': { [compVars$4.borderRadius]: globalRefs$g.radius['3xl'] },
|
10260
10502
|
},
|
10261
10503
|
};
|
10262
10504
|
|
10263
|
-
const vars$
|
10505
|
+
const vars$r = {
|
10264
10506
|
...compVars$4,
|
10265
10507
|
...helperVars$2,
|
10266
10508
|
};
|
@@ -10268,166 +10510,166 @@ const vars$q = {
|
|
10268
10510
|
var container$1 = /*#__PURE__*/Object.freeze({
|
10269
10511
|
__proto__: null,
|
10270
10512
|
default: container,
|
10271
|
-
vars: vars$
|
10513
|
+
vars: vars$r
|
10272
10514
|
});
|
10273
10515
|
|
10274
|
-
const vars$
|
10516
|
+
const vars$q = LogoClass.cssVarList;
|
10275
10517
|
|
10276
10518
|
const logo$2 = {
|
10277
|
-
[vars$
|
10519
|
+
[vars$q.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
10278
10520
|
};
|
10279
10521
|
|
10280
10522
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
10281
10523
|
__proto__: null,
|
10282
10524
|
default: logo$2,
|
10283
|
-
vars: vars$
|
10525
|
+
vars: vars$q
|
10284
10526
|
});
|
10285
10527
|
|
10286
|
-
const vars$
|
10528
|
+
const vars$p = TotpImageClass.cssVarList;
|
10287
10529
|
|
10288
10530
|
const logo$1 = {
|
10289
|
-
[vars$
|
10531
|
+
[vars$p.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
10290
10532
|
};
|
10291
10533
|
|
10292
10534
|
var totpImage = /*#__PURE__*/Object.freeze({
|
10293
10535
|
__proto__: null,
|
10294
10536
|
default: logo$1,
|
10295
|
-
vars: vars$
|
10537
|
+
vars: vars$p
|
10296
10538
|
});
|
10297
10539
|
|
10298
|
-
const vars$
|
10540
|
+
const vars$o = NotpImageClass.cssVarList;
|
10299
10541
|
|
10300
10542
|
const logo = {
|
10301
|
-
[vars$
|
10543
|
+
[vars$o.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
10302
10544
|
};
|
10303
10545
|
|
10304
10546
|
var notpImage = /*#__PURE__*/Object.freeze({
|
10305
10547
|
__proto__: null,
|
10306
10548
|
default: logo,
|
10307
|
-
vars: vars$
|
10549
|
+
vars: vars$o
|
10308
10550
|
});
|
10309
10551
|
|
10310
|
-
const globalRefs$
|
10311
|
-
const vars$
|
10552
|
+
const globalRefs$f = getThemeRefs(globals);
|
10553
|
+
const vars$n = TextClass.cssVarList;
|
10312
10554
|
|
10313
10555
|
const text = {
|
10314
|
-
[vars$
|
10315
|
-
[vars$
|
10316
|
-
[vars$
|
10317
|
-
[vars$
|
10556
|
+
[vars$n.hostDirection]: globalRefs$f.direction,
|
10557
|
+
[vars$n.textLineHeight]: '1.35em',
|
10558
|
+
[vars$n.textAlign]: 'left',
|
10559
|
+
[vars$n.textColor]: globalRefs$f.colors.surface.dark,
|
10318
10560
|
variant: {
|
10319
10561
|
h1: {
|
10320
|
-
[vars$
|
10321
|
-
[vars$
|
10322
|
-
[vars$
|
10562
|
+
[vars$n.fontSize]: globalRefs$f.typography.h1.size,
|
10563
|
+
[vars$n.fontWeight]: globalRefs$f.typography.h1.weight,
|
10564
|
+
[vars$n.fontFamily]: globalRefs$f.typography.h1.font,
|
10323
10565
|
},
|
10324
10566
|
h2: {
|
10325
|
-
[vars$
|
10326
|
-
[vars$
|
10327
|
-
[vars$
|
10567
|
+
[vars$n.fontSize]: globalRefs$f.typography.h2.size,
|
10568
|
+
[vars$n.fontWeight]: globalRefs$f.typography.h2.weight,
|
10569
|
+
[vars$n.fontFamily]: globalRefs$f.typography.h2.font,
|
10328
10570
|
},
|
10329
10571
|
h3: {
|
10330
|
-
[vars$
|
10331
|
-
[vars$
|
10332
|
-
[vars$
|
10572
|
+
[vars$n.fontSize]: globalRefs$f.typography.h3.size,
|
10573
|
+
[vars$n.fontWeight]: globalRefs$f.typography.h3.weight,
|
10574
|
+
[vars$n.fontFamily]: globalRefs$f.typography.h3.font,
|
10333
10575
|
},
|
10334
10576
|
subtitle1: {
|
10335
|
-
[vars$
|
10336
|
-
[vars$
|
10337
|
-
[vars$
|
10577
|
+
[vars$n.fontSize]: globalRefs$f.typography.subtitle1.size,
|
10578
|
+
[vars$n.fontWeight]: globalRefs$f.typography.subtitle1.weight,
|
10579
|
+
[vars$n.fontFamily]: globalRefs$f.typography.subtitle1.font,
|
10338
10580
|
},
|
10339
10581
|
subtitle2: {
|
10340
|
-
[vars$
|
10341
|
-
[vars$
|
10342
|
-
[vars$
|
10582
|
+
[vars$n.fontSize]: globalRefs$f.typography.subtitle2.size,
|
10583
|
+
[vars$n.fontWeight]: globalRefs$f.typography.subtitle2.weight,
|
10584
|
+
[vars$n.fontFamily]: globalRefs$f.typography.subtitle2.font,
|
10343
10585
|
},
|
10344
10586
|
body1: {
|
10345
|
-
[vars$
|
10346
|
-
[vars$
|
10347
|
-
[vars$
|
10587
|
+
[vars$n.fontSize]: globalRefs$f.typography.body1.size,
|
10588
|
+
[vars$n.fontWeight]: globalRefs$f.typography.body1.weight,
|
10589
|
+
[vars$n.fontFamily]: globalRefs$f.typography.body1.font,
|
10348
10590
|
},
|
10349
10591
|
body2: {
|
10350
|
-
[vars$
|
10351
|
-
[vars$
|
10352
|
-
[vars$
|
10592
|
+
[vars$n.fontSize]: globalRefs$f.typography.body2.size,
|
10593
|
+
[vars$n.fontWeight]: globalRefs$f.typography.body2.weight,
|
10594
|
+
[vars$n.fontFamily]: globalRefs$f.typography.body2.font,
|
10353
10595
|
},
|
10354
10596
|
},
|
10355
10597
|
|
10356
10598
|
mode: {
|
10357
10599
|
primary: {
|
10358
|
-
[vars$
|
10600
|
+
[vars$n.textColor]: globalRefs$f.colors.surface.contrast,
|
10359
10601
|
},
|
10360
10602
|
secondary: {
|
10361
|
-
[vars$
|
10603
|
+
[vars$n.textColor]: globalRefs$f.colors.surface.dark,
|
10362
10604
|
},
|
10363
10605
|
error: {
|
10364
|
-
[vars$
|
10606
|
+
[vars$n.textColor]: globalRefs$f.colors.error.main,
|
10365
10607
|
},
|
10366
10608
|
success: {
|
10367
|
-
[vars$
|
10609
|
+
[vars$n.textColor]: globalRefs$f.colors.success.main,
|
10368
10610
|
},
|
10369
10611
|
},
|
10370
10612
|
|
10371
10613
|
textAlign: {
|
10372
|
-
right: { [vars$
|
10373
|
-
left: { [vars$
|
10374
|
-
center: { [vars$
|
10614
|
+
right: { [vars$n.textAlign]: 'right' },
|
10615
|
+
left: { [vars$n.textAlign]: 'left' },
|
10616
|
+
center: { [vars$n.textAlign]: 'center' },
|
10375
10617
|
},
|
10376
10618
|
|
10377
10619
|
_fullWidth: {
|
10378
|
-
[vars$
|
10620
|
+
[vars$n.hostWidth]: '100%',
|
10379
10621
|
},
|
10380
10622
|
|
10381
10623
|
_italic: {
|
10382
|
-
[vars$
|
10624
|
+
[vars$n.fontStyle]: 'italic',
|
10383
10625
|
},
|
10384
10626
|
|
10385
10627
|
_uppercase: {
|
10386
|
-
[vars$
|
10628
|
+
[vars$n.textTransform]: 'uppercase',
|
10387
10629
|
},
|
10388
10630
|
|
10389
10631
|
_lowercase: {
|
10390
|
-
[vars$
|
10632
|
+
[vars$n.textTransform]: 'lowercase',
|
10391
10633
|
},
|
10392
10634
|
};
|
10393
10635
|
|
10394
10636
|
var text$1 = /*#__PURE__*/Object.freeze({
|
10395
10637
|
__proto__: null,
|
10396
10638
|
default: text,
|
10397
|
-
vars: vars$
|
10639
|
+
vars: vars$n
|
10398
10640
|
});
|
10399
10641
|
|
10400
|
-
const globalRefs$
|
10401
|
-
const vars$
|
10642
|
+
const globalRefs$e = getThemeRefs(globals);
|
10643
|
+
const vars$m = LinkClass.cssVarList;
|
10402
10644
|
|
10403
10645
|
const link = {
|
10404
|
-
[vars$
|
10405
|
-
[vars$
|
10646
|
+
[vars$m.hostDirection]: globalRefs$e.direction,
|
10647
|
+
[vars$m.cursor]: 'pointer',
|
10406
10648
|
|
10407
|
-
[vars$
|
10649
|
+
[vars$m.textColor]: globalRefs$e.colors.primary.main,
|
10408
10650
|
|
10409
10651
|
textAlign: {
|
10410
|
-
right: { [vars$
|
10411
|
-
left: { [vars$
|
10412
|
-
center: { [vars$
|
10652
|
+
right: { [vars$m.textAlign]: 'right' },
|
10653
|
+
left: { [vars$m.textAlign]: 'left' },
|
10654
|
+
center: { [vars$m.textAlign]: 'center' },
|
10413
10655
|
},
|
10414
10656
|
|
10415
10657
|
_fullWidth: {
|
10416
|
-
[vars$
|
10658
|
+
[vars$m.hostWidth]: '100%',
|
10417
10659
|
},
|
10418
10660
|
|
10419
10661
|
mode: {
|
10420
10662
|
primary: {
|
10421
|
-
[vars$
|
10663
|
+
[vars$m.textColor]: globalRefs$e.colors.primary.main,
|
10422
10664
|
},
|
10423
10665
|
secondary: {
|
10424
|
-
[vars$
|
10666
|
+
[vars$m.textColor]: globalRefs$e.colors.secondary.main,
|
10425
10667
|
},
|
10426
10668
|
error: {
|
10427
|
-
[vars$
|
10669
|
+
[vars$m.textColor]: globalRefs$e.colors.error.main,
|
10428
10670
|
},
|
10429
10671
|
success: {
|
10430
|
-
[vars$
|
10672
|
+
[vars$m.textColor]: globalRefs$e.colors.success.main,
|
10431
10673
|
},
|
10432
10674
|
},
|
10433
10675
|
};
|
@@ -10435,10 +10677,10 @@ const link = {
|
|
10435
10677
|
var link$1 = /*#__PURE__*/Object.freeze({
|
10436
10678
|
__proto__: null,
|
10437
10679
|
default: link,
|
10438
|
-
vars: vars$
|
10680
|
+
vars: vars$m
|
10439
10681
|
});
|
10440
10682
|
|
10441
|
-
const globalRefs$
|
10683
|
+
const globalRefs$d = getThemeRefs(globals);
|
10442
10684
|
const compVars$3 = DividerClass.cssVarList;
|
10443
10685
|
|
10444
10686
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
@@ -10446,18 +10688,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
10446
10688
|
thickness: '2px',
|
10447
10689
|
spacing: '10px',
|
10448
10690
|
},
|
10449
|
-
componentName$
|
10691
|
+
componentName$F
|
10450
10692
|
);
|
10451
10693
|
|
10452
10694
|
const divider = {
|
10453
10695
|
...helperTheme$1,
|
10454
10696
|
|
10455
|
-
[compVars$3.hostDirection]: globalRefs$
|
10697
|
+
[compVars$3.hostDirection]: globalRefs$d.direction,
|
10456
10698
|
[compVars$3.alignItems]: 'center',
|
10457
10699
|
[compVars$3.flexDirection]: 'row',
|
10458
10700
|
[compVars$3.alignSelf]: 'stretch',
|
10459
10701
|
[compVars$3.hostWidth]: '100%',
|
10460
|
-
[compVars$3.stripeColor]: globalRefs$
|
10702
|
+
[compVars$3.stripeColor]: globalRefs$d.colors.surface.light,
|
10461
10703
|
[compVars$3.stripeColorOpacity]: '0.5',
|
10462
10704
|
[compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
|
10463
10705
|
[compVars$3.labelTextWidth]: 'fit-content',
|
@@ -10477,7 +10719,7 @@ const divider = {
|
|
10477
10719
|
},
|
10478
10720
|
};
|
10479
10721
|
|
10480
|
-
const vars$
|
10722
|
+
const vars$l = {
|
10481
10723
|
...compVars$3,
|
10482
10724
|
...helperVars$1,
|
10483
10725
|
};
|
@@ -10485,111 +10727,111 @@ const vars$k = {
|
|
10485
10727
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
10486
10728
|
__proto__: null,
|
10487
10729
|
default: divider,
|
10488
|
-
vars: vars$
|
10730
|
+
vars: vars$l
|
10489
10731
|
});
|
10490
10732
|
|
10491
|
-
const vars$
|
10733
|
+
const vars$k = PasscodeClass.cssVarList;
|
10492
10734
|
|
10493
10735
|
const passcode = {
|
10494
|
-
[vars$
|
10495
|
-
[vars$
|
10496
|
-
[vars$
|
10497
|
-
[vars$
|
10498
|
-
[vars$
|
10499
|
-
[vars$
|
10500
|
-
[vars$
|
10501
|
-
[vars$
|
10502
|
-
[vars$
|
10503
|
-
[vars$
|
10504
|
-
[vars$
|
10505
|
-
[vars$
|
10506
|
-
[vars$
|
10507
|
-
[vars$
|
10508
|
-
[vars$
|
10736
|
+
[vars$k.hostDirection]: refs.direction,
|
10737
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
10738
|
+
[vars$k.fontSize]: refs.fontSize,
|
10739
|
+
[vars$k.labelTextColor]: refs.labelTextColor,
|
10740
|
+
[vars$k.labelRequiredIndicator]: refs.requiredIndicator,
|
10741
|
+
[vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
|
10742
|
+
[vars$k.digitValueTextColor]: refs.valueTextColor,
|
10743
|
+
[vars$k.digitPadding]: '0',
|
10744
|
+
[vars$k.digitTextAlign]: 'center',
|
10745
|
+
[vars$k.digitSpacing]: '4px',
|
10746
|
+
[vars$k.hostWidth]: refs.width,
|
10747
|
+
[vars$k.digitOutlineColor]: 'transparent',
|
10748
|
+
[vars$k.digitOutlineWidth]: refs.outlineWidth,
|
10749
|
+
[vars$k.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
10750
|
+
[vars$k.digitSize]: refs.inputHeight,
|
10509
10751
|
|
10510
10752
|
size: {
|
10511
|
-
xs: { [vars$
|
10512
|
-
sm: { [vars$
|
10513
|
-
md: { [vars$
|
10514
|
-
lg: { [vars$
|
10753
|
+
xs: { [vars$k.spinnerSize]: '15px' },
|
10754
|
+
sm: { [vars$k.spinnerSize]: '20px' },
|
10755
|
+
md: { [vars$k.spinnerSize]: '20px' },
|
10756
|
+
lg: { [vars$k.spinnerSize]: '20px' },
|
10515
10757
|
},
|
10516
10758
|
|
10517
10759
|
_hideCursor: {
|
10518
|
-
[vars$
|
10760
|
+
[vars$k.digitCaretTextColor]: 'transparent',
|
10519
10761
|
},
|
10520
10762
|
|
10521
10763
|
_loading: {
|
10522
|
-
[vars$
|
10764
|
+
[vars$k.overlayOpacity]: refs.overlayOpacity,
|
10523
10765
|
},
|
10524
10766
|
};
|
10525
10767
|
|
10526
10768
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
10527
10769
|
__proto__: null,
|
10528
10770
|
default: passcode,
|
10529
|
-
vars: vars$
|
10771
|
+
vars: vars$k
|
10530
10772
|
});
|
10531
10773
|
|
10532
|
-
const globalRefs$
|
10533
|
-
const vars$
|
10774
|
+
const globalRefs$c = getThemeRefs(globals);
|
10775
|
+
const vars$j = LoaderLinearClass.cssVarList;
|
10534
10776
|
|
10535
10777
|
const loaderLinear = {
|
10536
|
-
[vars$
|
10537
|
-
[vars$
|
10778
|
+
[vars$j.hostDisplay]: 'inline-block',
|
10779
|
+
[vars$j.hostWidth]: '100%',
|
10538
10780
|
|
10539
|
-
[vars$
|
10540
|
-
[vars$
|
10781
|
+
[vars$j.barColor]: globalRefs$c.colors.surface.contrast,
|
10782
|
+
[vars$j.barWidth]: '20%',
|
10541
10783
|
|
10542
|
-
[vars$
|
10543
|
-
[vars$
|
10784
|
+
[vars$j.barBackgroundColor]: globalRefs$c.colors.surface.light,
|
10785
|
+
[vars$j.barBorderRadius]: '4px',
|
10544
10786
|
|
10545
|
-
[vars$
|
10546
|
-
[vars$
|
10547
|
-
[vars$
|
10548
|
-
[vars$
|
10787
|
+
[vars$j.animationDuration]: '2s',
|
10788
|
+
[vars$j.animationTimingFunction]: 'linear',
|
10789
|
+
[vars$j.animationIterationCount]: 'infinite',
|
10790
|
+
[vars$j.verticalPadding]: '0.25em',
|
10549
10791
|
|
10550
10792
|
size: {
|
10551
|
-
xs: { [vars$
|
10552
|
-
sm: { [vars$
|
10553
|
-
md: { [vars$
|
10554
|
-
lg: { [vars$
|
10793
|
+
xs: { [vars$j.barHeight]: '2px' },
|
10794
|
+
sm: { [vars$j.barHeight]: '4px' },
|
10795
|
+
md: { [vars$j.barHeight]: '6px' },
|
10796
|
+
lg: { [vars$j.barHeight]: '8px' },
|
10555
10797
|
},
|
10556
10798
|
|
10557
10799
|
mode: {
|
10558
10800
|
primary: {
|
10559
|
-
[vars$
|
10801
|
+
[vars$j.barColor]: globalRefs$c.colors.primary.main,
|
10560
10802
|
},
|
10561
10803
|
secondary: {
|
10562
|
-
[vars$
|
10804
|
+
[vars$j.barColor]: globalRefs$c.colors.secondary.main,
|
10563
10805
|
},
|
10564
10806
|
},
|
10565
10807
|
|
10566
10808
|
_hidden: {
|
10567
|
-
[vars$
|
10809
|
+
[vars$j.hostDisplay]: 'none',
|
10568
10810
|
},
|
10569
10811
|
};
|
10570
10812
|
|
10571
10813
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
10572
10814
|
__proto__: null,
|
10573
10815
|
default: loaderLinear,
|
10574
|
-
vars: vars$
|
10816
|
+
vars: vars$j
|
10575
10817
|
});
|
10576
10818
|
|
10577
|
-
const globalRefs$
|
10819
|
+
const globalRefs$b = getThemeRefs(globals);
|
10578
10820
|
const compVars$2 = LoaderRadialClass.cssVarList;
|
10579
10821
|
|
10580
10822
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
10581
10823
|
{
|
10582
|
-
spinnerColor: globalRefs$
|
10824
|
+
spinnerColor: globalRefs$b.colors.surface.contrast,
|
10583
10825
|
mode: {
|
10584
10826
|
primary: {
|
10585
|
-
spinnerColor: globalRefs$
|
10827
|
+
spinnerColor: globalRefs$b.colors.primary.main,
|
10586
10828
|
},
|
10587
10829
|
secondary: {
|
10588
|
-
spinnerColor: globalRefs$
|
10830
|
+
spinnerColor: globalRefs$b.colors.secondary.main,
|
10589
10831
|
},
|
10590
10832
|
},
|
10591
10833
|
},
|
10592
|
-
componentName$
|
10834
|
+
componentName$I
|
10593
10835
|
);
|
10594
10836
|
|
10595
10837
|
const loaderRadial = {
|
@@ -10618,7 +10860,7 @@ const loaderRadial = {
|
|
10618
10860
|
[compVars$2.hostDisplay]: 'none',
|
10619
10861
|
},
|
10620
10862
|
};
|
10621
|
-
const vars$
|
10863
|
+
const vars$i = {
|
10622
10864
|
...compVars$2,
|
10623
10865
|
...helperVars,
|
10624
10866
|
};
|
@@ -10626,78 +10868,114 @@ const vars$h = {
|
|
10626
10868
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
10627
10869
|
__proto__: null,
|
10628
10870
|
default: loaderRadial,
|
10629
|
-
vars: vars$
|
10871
|
+
vars: vars$i
|
10630
10872
|
});
|
10631
10873
|
|
10632
|
-
const globalRefs$
|
10633
|
-
const vars$
|
10874
|
+
const globalRefs$a = getThemeRefs(globals);
|
10875
|
+
const vars$h = ComboBoxClass.cssVarList;
|
10634
10876
|
|
10635
10877
|
const comboBox = {
|
10636
|
-
[vars$
|
10637
|
-
[vars$
|
10638
|
-
[vars$
|
10639
|
-
[vars$
|
10640
|
-
[vars$
|
10641
|
-
[vars$
|
10642
|
-
[vars$
|
10643
|
-
[vars$
|
10644
|
-
[vars$
|
10645
|
-
[vars$
|
10646
|
-
[vars$
|
10647
|
-
[vars$
|
10648
|
-
[vars$
|
10649
|
-
[vars$
|
10650
|
-
[vars$
|
10651
|
-
[vars$
|
10652
|
-
[vars$
|
10653
|
-
[vars$
|
10654
|
-
[vars$
|
10655
|
-
[vars$
|
10656
|
-
[vars$
|
10657
|
-
[vars$
|
10658
|
-
[vars$
|
10659
|
-
[vars$
|
10660
|
-
[vars$
|
10661
|
-
[vars$
|
10878
|
+
[vars$h.hostWidth]: refs.width,
|
10879
|
+
[vars$h.hostDirection]: refs.direction,
|
10880
|
+
[vars$h.fontSize]: refs.fontSize,
|
10881
|
+
[vars$h.fontFamily]: refs.fontFamily,
|
10882
|
+
[vars$h.labelTextColor]: refs.labelTextColor,
|
10883
|
+
[vars$h.errorMessageTextColor]: refs.errorMessageTextColor,
|
10884
|
+
[vars$h.inputBorderColor]: refs.borderColor,
|
10885
|
+
[vars$h.inputBorderWidth]: refs.borderWidth,
|
10886
|
+
[vars$h.inputBorderStyle]: refs.borderStyle,
|
10887
|
+
[vars$h.inputBorderRadius]: refs.borderRadius,
|
10888
|
+
[vars$h.inputOutlineColor]: refs.outlineColor,
|
10889
|
+
[vars$h.inputOutlineOffset]: refs.outlineOffset,
|
10890
|
+
[vars$h.inputOutlineWidth]: refs.outlineWidth,
|
10891
|
+
[vars$h.inputOutlineStyle]: refs.outlineStyle,
|
10892
|
+
[vars$h.labelRequiredIndicator]: refs.requiredIndicator,
|
10893
|
+
[vars$h.inputValueTextColor]: refs.valueTextColor,
|
10894
|
+
[vars$h.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10895
|
+
[vars$h.inputBackgroundColor]: refs.backgroundColor,
|
10896
|
+
[vars$h.inputHorizontalPadding]: refs.horizontalPadding,
|
10897
|
+
[vars$h.inputHeight]: refs.inputHeight,
|
10898
|
+
[vars$h.inputDropdownButtonColor]: globalRefs$a.colors.surface.dark,
|
10899
|
+
[vars$h.inputDropdownButtonCursor]: 'pointer',
|
10900
|
+
[vars$h.inputDropdownButtonSize]: refs.toggleButtonSize,
|
10901
|
+
[vars$h.inputDropdownButtonOffset]: globalRefs$a.spacing.xs,
|
10902
|
+
[vars$h.overlayItemPaddingInlineStart]: globalRefs$a.spacing.xs,
|
10903
|
+
[vars$h.overlayItemPaddingInlineEnd]: globalRefs$a.spacing.lg,
|
10662
10904
|
|
10663
10905
|
_readonly: {
|
10664
|
-
[vars$
|
10906
|
+
[vars$h.inputDropdownButtonCursor]: 'default',
|
10665
10907
|
},
|
10666
10908
|
|
10667
10909
|
// Overlay theme exposed via the component:
|
10668
|
-
[vars$
|
10669
|
-
[vars$
|
10670
|
-
[vars$
|
10671
|
-
[vars$
|
10672
|
-
[vars$
|
10673
|
-
[vars$
|
10910
|
+
[vars$h.overlayFontSize]: refs.fontSize,
|
10911
|
+
[vars$h.overlayFontFamily]: refs.fontFamily,
|
10912
|
+
[vars$h.overlayCursor]: 'pointer',
|
10913
|
+
[vars$h.overlayItemBoxShadow]: 'none',
|
10914
|
+
[vars$h.overlayBackground]: refs.backgroundColor,
|
10915
|
+
[vars$h.overlayTextColor]: refs.valueTextColor,
|
10674
10916
|
|
10675
10917
|
// Overlay direct theme:
|
10676
|
-
[vars$
|
10677
|
-
[vars$
|
10918
|
+
[vars$h.overlay.minHeight]: '400px',
|
10919
|
+
[vars$h.overlay.margin]: '0',
|
10678
10920
|
};
|
10679
10921
|
|
10680
10922
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
10681
10923
|
__proto__: null,
|
10682
10924
|
comboBox: comboBox,
|
10683
10925
|
default: comboBox,
|
10684
|
-
vars: vars$
|
10926
|
+
vars: vars$h
|
10685
10927
|
});
|
10686
10928
|
|
10687
|
-
const vars$
|
10929
|
+
const vars$g = ImageClass.cssVarList;
|
10688
10930
|
|
10689
10931
|
const image = {};
|
10690
10932
|
|
10691
10933
|
var image$1 = /*#__PURE__*/Object.freeze({
|
10692
10934
|
__proto__: null,
|
10693
10935
|
default: image,
|
10694
|
-
vars: vars$
|
10936
|
+
vars: vars$g
|
10695
10937
|
});
|
10696
10938
|
|
10697
|
-
const vars$
|
10939
|
+
const vars$f = PhoneFieldClass.cssVarList;
|
10698
10940
|
|
10699
10941
|
const phoneField = {
|
10700
|
-
[vars$
|
10942
|
+
[vars$f.hostWidth]: refs.width,
|
10943
|
+
[vars$f.hostDirection]: refs.direction,
|
10944
|
+
[vars$f.fontSize]: refs.fontSize,
|
10945
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
10946
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
10947
|
+
[vars$f.labelRequiredIndicator]: refs.requiredIndicator,
|
10948
|
+
[vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
|
10949
|
+
[vars$f.inputValueTextColor]: refs.valueTextColor,
|
10950
|
+
[vars$f.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10951
|
+
[vars$f.inputBorderStyle]: refs.borderStyle,
|
10952
|
+
[vars$f.inputBorderWidth]: refs.borderWidth,
|
10953
|
+
[vars$f.inputBorderColor]: refs.borderColor,
|
10954
|
+
[vars$f.inputBorderRadius]: refs.borderRadius,
|
10955
|
+
[vars$f.inputOutlineStyle]: refs.outlineStyle,
|
10956
|
+
[vars$f.inputOutlineWidth]: refs.outlineWidth,
|
10957
|
+
[vars$f.inputOutlineColor]: refs.outlineColor,
|
10958
|
+
[vars$f.inputOutlineOffset]: refs.outlineOffset,
|
10959
|
+
[vars$f.phoneInputWidth]: refs.minWidth,
|
10960
|
+
[vars$f.countryCodeInputWidth]: '5em',
|
10961
|
+
[vars$f.countryCodeDropdownWidth]: '20em',
|
10962
|
+
|
10963
|
+
// '@overlay': {
|
10964
|
+
// overlayItemBackgroundColor: 'red'
|
10965
|
+
// }
|
10966
|
+
};
|
10967
|
+
|
10968
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
10969
|
+
__proto__: null,
|
10970
|
+
default: phoneField,
|
10971
|
+
vars: vars$f
|
10972
|
+
});
|
10973
|
+
|
10974
|
+
const vars$e = PhoneFieldInputBoxClass.cssVarList;
|
10975
|
+
|
10976
|
+
const phoneInputBoxField = {
|
10977
|
+
[vars$e.hostWidth]: '16em',
|
10978
|
+
[vars$e.hostMinWidth]: refs.minWidth,
|
10701
10979
|
[vars$e.hostDirection]: refs.direction,
|
10702
10980
|
[vars$e.fontSize]: refs.fontSize,
|
10703
10981
|
[vars$e.fontFamily]: refs.fontFamily,
|
@@ -10714,180 +10992,145 @@ const phoneField = {
|
|
10714
10992
|
[vars$e.inputOutlineWidth]: refs.outlineWidth,
|
10715
10993
|
[vars$e.inputOutlineColor]: refs.outlineColor,
|
10716
10994
|
[vars$e.inputOutlineOffset]: refs.outlineOffset,
|
10717
|
-
|
10718
|
-
|
10719
|
-
|
10720
|
-
|
10721
|
-
// '@overlay': {
|
10722
|
-
// overlayItemBackgroundColor: 'red'
|
10723
|
-
// }
|
10995
|
+
_fullWidth: {
|
10996
|
+
[vars$e.hostWidth]: refs.width,
|
10997
|
+
},
|
10724
10998
|
};
|
10725
10999
|
|
10726
|
-
var
|
11000
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
10727
11001
|
__proto__: null,
|
10728
|
-
default:
|
11002
|
+
default: phoneInputBoxField,
|
10729
11003
|
vars: vars$e
|
10730
11004
|
});
|
10731
11005
|
|
10732
|
-
const vars$d =
|
11006
|
+
const vars$d = NewPasswordClass.cssVarList;
|
10733
11007
|
|
10734
|
-
const
|
10735
|
-
[vars$d.hostWidth]:
|
11008
|
+
const newPassword = {
|
11009
|
+
[vars$d.hostWidth]: refs.width,
|
10736
11010
|
[vars$d.hostMinWidth]: refs.minWidth,
|
10737
11011
|
[vars$d.hostDirection]: refs.direction,
|
10738
11012
|
[vars$d.fontSize]: refs.fontSize,
|
10739
11013
|
[vars$d.fontFamily]: refs.fontFamily,
|
10740
|
-
[vars$d.
|
10741
|
-
[vars$d.labelRequiredIndicator]: refs.requiredIndicator,
|
11014
|
+
[vars$d.spaceBetweenInputs]: '1em',
|
10742
11015
|
[vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
|
10743
|
-
[vars$d.inputValueTextColor]: refs.valueTextColor,
|
10744
|
-
[vars$d.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10745
|
-
[vars$d.inputBorderStyle]: refs.borderStyle,
|
10746
|
-
[vars$d.inputBorderWidth]: refs.borderWidth,
|
10747
|
-
[vars$d.inputBorderColor]: refs.borderColor,
|
10748
|
-
[vars$d.inputBorderRadius]: refs.borderRadius,
|
10749
|
-
[vars$d.inputOutlineStyle]: refs.outlineStyle,
|
10750
|
-
[vars$d.inputOutlineWidth]: refs.outlineWidth,
|
10751
|
-
[vars$d.inputOutlineColor]: refs.outlineColor,
|
10752
|
-
[vars$d.inputOutlineOffset]: refs.outlineOffset,
|
10753
|
-
_fullWidth: {
|
10754
|
-
[vars$d.hostWidth]: refs.width,
|
10755
|
-
},
|
10756
|
-
};
|
10757
|
-
|
10758
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
10759
|
-
__proto__: null,
|
10760
|
-
default: phoneInputBoxField,
|
10761
|
-
vars: vars$d
|
10762
|
-
});
|
10763
|
-
|
10764
|
-
const vars$c = NewPasswordClass.cssVarList;
|
10765
|
-
|
10766
|
-
const newPassword = {
|
10767
|
-
[vars$c.hostWidth]: refs.width,
|
10768
|
-
[vars$c.hostMinWidth]: refs.minWidth,
|
10769
|
-
[vars$c.hostDirection]: refs.direction,
|
10770
|
-
[vars$c.fontSize]: refs.fontSize,
|
10771
|
-
[vars$c.fontFamily]: refs.fontFamily,
|
10772
|
-
[vars$c.spaceBetweenInputs]: '1em',
|
10773
|
-
[vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
|
10774
11016
|
|
10775
11017
|
_required: {
|
10776
11018
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
10777
11019
|
// That's why we fake the required indicator on each input.
|
10778
11020
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
10779
|
-
[vars$
|
11021
|
+
[vars$d.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
10780
11022
|
},
|
10781
11023
|
};
|
10782
11024
|
|
10783
11025
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
10784
11026
|
__proto__: null,
|
10785
11027
|
default: newPassword,
|
10786
|
-
vars: vars$
|
11028
|
+
vars: vars$d
|
10787
11029
|
});
|
10788
11030
|
|
10789
|
-
const vars$
|
11031
|
+
const vars$c = UploadFileClass.cssVarList;
|
10790
11032
|
|
10791
11033
|
const uploadFile = {
|
10792
|
-
[vars$
|
10793
|
-
[vars$
|
10794
|
-
[vars$
|
11034
|
+
[vars$c.hostDirection]: refs.direction,
|
11035
|
+
[vars$c.labelTextColor]: refs.labelTextColor,
|
11036
|
+
[vars$c.fontFamily]: refs.fontFamily,
|
10795
11037
|
|
10796
|
-
[vars$
|
11038
|
+
[vars$c.iconSize]: '2em',
|
10797
11039
|
|
10798
|
-
[vars$
|
10799
|
-
[vars$
|
11040
|
+
[vars$c.hostPadding]: '0.75em',
|
11041
|
+
[vars$c.gap]: '0.5em',
|
10800
11042
|
|
10801
|
-
[vars$
|
10802
|
-
[vars$
|
10803
|
-
[vars$
|
11043
|
+
[vars$c.fontSize]: '16px',
|
11044
|
+
[vars$c.titleFontWeight]: '500',
|
11045
|
+
[vars$c.lineHeight]: '1em',
|
10804
11046
|
|
10805
|
-
[vars$
|
10806
|
-
[vars$
|
10807
|
-
[vars$
|
10808
|
-
[vars$
|
11047
|
+
[vars$c.borderWidth]: refs.borderWidth,
|
11048
|
+
[vars$c.borderColor]: refs.borderColor,
|
11049
|
+
[vars$c.borderRadius]: refs.borderRadius,
|
11050
|
+
[vars$c.borderStyle]: 'dashed',
|
10809
11051
|
|
10810
11052
|
_required: {
|
10811
|
-
[vars$
|
11053
|
+
[vars$c.requiredIndicator]: refs.requiredIndicator,
|
10812
11054
|
},
|
10813
11055
|
|
10814
11056
|
size: {
|
10815
11057
|
xs: {
|
10816
|
-
[vars$
|
10817
|
-
[vars$
|
10818
|
-
[vars$
|
10819
|
-
[vars$
|
10820
|
-
[vars$
|
11058
|
+
[vars$c.hostHeight]: '196px',
|
11059
|
+
[vars$c.hostWidth]: '200px',
|
11060
|
+
[vars$c.titleFontSize]: '0.875em',
|
11061
|
+
[vars$c.descriptionFontSize]: '0.875em',
|
11062
|
+
[vars$c.lineHeight]: '1.25em',
|
10821
11063
|
},
|
10822
11064
|
sm: {
|
10823
|
-
[vars$
|
10824
|
-
[vars$
|
10825
|
-
[vars$
|
10826
|
-
[vars$
|
10827
|
-
[vars$
|
11065
|
+
[vars$c.hostHeight]: '216px',
|
11066
|
+
[vars$c.hostWidth]: '230px',
|
11067
|
+
[vars$c.titleFontSize]: '1em',
|
11068
|
+
[vars$c.descriptionFontSize]: '0.875em',
|
11069
|
+
[vars$c.lineHeight]: '1.25em',
|
10828
11070
|
},
|
10829
11071
|
md: {
|
10830
|
-
[vars$
|
10831
|
-
[vars$
|
10832
|
-
[vars$
|
10833
|
-
[vars$
|
10834
|
-
[vars$
|
11072
|
+
[vars$c.hostHeight]: '256px',
|
11073
|
+
[vars$c.hostWidth]: '312px',
|
11074
|
+
[vars$c.titleFontSize]: '1.125em',
|
11075
|
+
[vars$c.descriptionFontSize]: '1em',
|
11076
|
+
[vars$c.lineHeight]: '1.5em',
|
10835
11077
|
},
|
10836
11078
|
lg: {
|
10837
|
-
[vars$
|
10838
|
-
[vars$
|
10839
|
-
[vars$
|
10840
|
-
[vars$
|
10841
|
-
[vars$
|
11079
|
+
[vars$c.hostHeight]: '280px',
|
11080
|
+
[vars$c.hostWidth]: '336px',
|
11081
|
+
[vars$c.titleFontSize]: '1.125em',
|
11082
|
+
[vars$c.descriptionFontSize]: '1.125em',
|
11083
|
+
[vars$c.lineHeight]: '1.75em',
|
10842
11084
|
},
|
10843
11085
|
},
|
10844
11086
|
|
10845
11087
|
_fullWidth: {
|
10846
|
-
[vars$
|
11088
|
+
[vars$c.hostWidth]: refs.width,
|
10847
11089
|
},
|
10848
11090
|
};
|
10849
11091
|
|
10850
11092
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
10851
11093
|
__proto__: null,
|
10852
11094
|
default: uploadFile,
|
10853
|
-
vars: vars$
|
11095
|
+
vars: vars$c
|
10854
11096
|
});
|
10855
11097
|
|
10856
|
-
const globalRefs$
|
11098
|
+
const globalRefs$9 = getThemeRefs(globals);
|
10857
11099
|
|
10858
|
-
const vars$
|
11100
|
+
const vars$b = ButtonSelectionGroupItemClass.cssVarList;
|
10859
11101
|
|
10860
11102
|
const buttonSelectionGroupItem = {
|
10861
|
-
[vars$
|
10862
|
-
[vars$
|
10863
|
-
[vars$
|
10864
|
-
[vars$
|
10865
|
-
[vars$
|
10866
|
-
[vars$
|
10867
|
-
[vars$
|
11103
|
+
[vars$b.hostDirection]: 'inherit',
|
11104
|
+
[vars$b.backgroundColor]: globalRefs$9.colors.surface.main,
|
11105
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.surface.contrast,
|
11106
|
+
[vars$b.borderColor]: globalRefs$9.colors.surface.light,
|
11107
|
+
[vars$b.borderStyle]: 'solid',
|
11108
|
+
[vars$b.borderRadius]: globalRefs$9.radius.sm,
|
11109
|
+
[vars$b.outlineColor]: 'transparent',
|
11110
|
+
[vars$b.borderWidth]: globalRefs$9.border.xs,
|
10868
11111
|
|
10869
11112
|
_hover: {
|
10870
|
-
[vars$
|
11113
|
+
[vars$b.backgroundColor]: globalRefs$9.colors.surface.highlight,
|
10871
11114
|
},
|
10872
11115
|
|
10873
11116
|
_focused: {
|
10874
|
-
[vars$
|
11117
|
+
[vars$b.outlineColor]: globalRefs$9.colors.surface.light,
|
10875
11118
|
},
|
10876
11119
|
|
10877
11120
|
_selected: {
|
10878
|
-
[vars$
|
10879
|
-
[vars$
|
10880
|
-
[vars$
|
11121
|
+
[vars$b.borderColor]: globalRefs$9.colors.surface.contrast,
|
11122
|
+
[vars$b.backgroundColor]: globalRefs$9.colors.surface.contrast,
|
11123
|
+
[vars$b.labelTextColor]: globalRefs$9.colors.surface.main,
|
10881
11124
|
},
|
10882
11125
|
};
|
10883
11126
|
|
10884
11127
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
10885
11128
|
__proto__: null,
|
10886
11129
|
default: buttonSelectionGroupItem,
|
10887
|
-
vars: vars$
|
11130
|
+
vars: vars$b
|
10888
11131
|
});
|
10889
11132
|
|
10890
|
-
const globalRefs$
|
11133
|
+
const globalRefs$8 = getThemeRefs(globals);
|
10891
11134
|
|
10892
11135
|
const createBaseButtonSelectionGroupMappings = (vars) => ({
|
10893
11136
|
[vars.hostDirection]: refs.direction,
|
@@ -10895,84 +11138,84 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
10895
11138
|
[vars.labelTextColor]: refs.labelTextColor,
|
10896
11139
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
10897
11140
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
10898
|
-
[vars.itemsSpacing]: globalRefs$
|
11141
|
+
[vars.itemsSpacing]: globalRefs$8.spacing.sm,
|
10899
11142
|
[vars.hostWidth]: refs.width,
|
10900
11143
|
});
|
10901
11144
|
|
10902
|
-
const vars$
|
11145
|
+
const vars$a = ButtonSelectionGroupClass.cssVarList;
|
10903
11146
|
|
10904
11147
|
const buttonSelectionGroup = {
|
10905
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11148
|
+
...createBaseButtonSelectionGroupMappings(vars$a),
|
10906
11149
|
};
|
10907
11150
|
|
10908
11151
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
10909
11152
|
__proto__: null,
|
10910
11153
|
default: buttonSelectionGroup,
|
10911
|
-
vars: vars$
|
11154
|
+
vars: vars$a
|
10912
11155
|
});
|
10913
11156
|
|
10914
|
-
const vars$
|
11157
|
+
const vars$9 = ButtonMultiSelectionGroupClass.cssVarList;
|
10915
11158
|
|
10916
11159
|
const buttonMultiSelectionGroup = {
|
10917
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11160
|
+
...createBaseButtonSelectionGroupMappings(vars$9),
|
10918
11161
|
};
|
10919
11162
|
|
10920
11163
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
10921
11164
|
__proto__: null,
|
10922
11165
|
default: buttonMultiSelectionGroup,
|
10923
|
-
vars: vars$
|
11166
|
+
vars: vars$9
|
10924
11167
|
});
|
10925
11168
|
|
10926
|
-
const globalRefs$
|
11169
|
+
const globalRefs$7 = getThemeRefs(globals);
|
10927
11170
|
|
10928
11171
|
const compVars$1 = ModalClass.cssVarList;
|
10929
11172
|
|
10930
11173
|
const modal = {
|
10931
|
-
[compVars$1.overlayBackgroundColor]: globalRefs$
|
10932
|
-
[compVars$1.overlayShadow]: globalRefs$
|
11174
|
+
[compVars$1.overlayBackgroundColor]: globalRefs$7.colors.surface.main,
|
11175
|
+
[compVars$1.overlayShadow]: globalRefs$7.shadow.wide['2xl'],
|
10933
11176
|
[compVars$1.overlayWidth]: '540px',
|
10934
11177
|
};
|
10935
11178
|
|
10936
|
-
const vars$
|
11179
|
+
const vars$8 = {
|
10937
11180
|
...compVars$1,
|
10938
11181
|
};
|
10939
11182
|
|
10940
11183
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
10941
11184
|
__proto__: null,
|
10942
11185
|
default: modal,
|
10943
|
-
vars: vars$
|
11186
|
+
vars: vars$8
|
10944
11187
|
});
|
10945
11188
|
|
10946
|
-
const globalRefs$
|
10947
|
-
const vars$
|
11189
|
+
const globalRefs$6 = getThemeRefs(globals);
|
11190
|
+
const vars$7 = GridClass.cssVarList;
|
10948
11191
|
|
10949
11192
|
const grid = {
|
10950
|
-
[vars$
|
10951
|
-
[vars$
|
10952
|
-
[vars$
|
10953
|
-
[vars$
|
10954
|
-
[vars$
|
11193
|
+
[vars$7.hostWidth]: '100%',
|
11194
|
+
[vars$7.hostHeight]: '100%',
|
11195
|
+
[vars$7.hostMinHeight]: '400px',
|
11196
|
+
[vars$7.fontWeight]: '400',
|
11197
|
+
[vars$7.backgroundColor]: globalRefs$6.colors.surface.main,
|
10955
11198
|
|
10956
|
-
[vars$
|
10957
|
-
[vars$
|
11199
|
+
[vars$7.fontSize]: refs.fontSize,
|
11200
|
+
[vars$7.fontFamily]: refs.fontFamily,
|
10958
11201
|
|
10959
|
-
[vars$
|
10960
|
-
[vars$
|
10961
|
-
[vars$
|
11202
|
+
[vars$7.sortIndicatorsColor]: globalRefs$6.colors.surface.light,
|
11203
|
+
[vars$7.activeSortIndicator]: globalRefs$6.colors.surface.dark,
|
11204
|
+
[vars$7.resizeHandleColor]: globalRefs$6.colors.surface.light,
|
10962
11205
|
|
10963
|
-
[vars$
|
10964
|
-
[vars$
|
10965
|
-
[vars$
|
10966
|
-
[vars$
|
11206
|
+
[vars$7.borderWidth]: refs.borderWidth,
|
11207
|
+
[vars$7.borderStyle]: refs.borderStyle,
|
11208
|
+
[vars$7.borderRadius]: refs.borderRadius,
|
11209
|
+
[vars$7.borderColor]: 'transparent',
|
10967
11210
|
|
10968
|
-
[vars$
|
10969
|
-
[vars$
|
11211
|
+
[vars$7.headerRowTextColor]: globalRefs$6.colors.surface.dark,
|
11212
|
+
[vars$7.separatorColor]: globalRefs$6.colors.surface.light,
|
10970
11213
|
|
10971
|
-
[vars$
|
10972
|
-
[vars$
|
11214
|
+
[vars$7.valueTextColor]: globalRefs$6.colors.surface.contrast,
|
11215
|
+
[vars$7.selectedBackgroundColor]: globalRefs$6.colors.surface.highlight,
|
10973
11216
|
|
10974
11217
|
_bordered: {
|
10975
|
-
[vars$
|
11218
|
+
[vars$7.borderColor]: refs.borderColor,
|
10976
11219
|
},
|
10977
11220
|
};
|
10978
11221
|
|
@@ -10980,53 +11223,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
10980
11223
|
__proto__: null,
|
10981
11224
|
default: grid,
|
10982
11225
|
grid: grid,
|
10983
|
-
vars: vars$
|
11226
|
+
vars: vars$7
|
10984
11227
|
});
|
10985
11228
|
|
10986
|
-
const globalRefs$
|
10987
|
-
const vars$
|
11229
|
+
const globalRefs$5 = getThemeRefs(globals);
|
11230
|
+
const vars$6 = NotificationCardClass.cssVarList;
|
10988
11231
|
|
10989
11232
|
const shadowColor = '#00000020';
|
10990
11233
|
|
10991
11234
|
const notification = {
|
10992
|
-
[vars$
|
10993
|
-
[vars$
|
10994
|
-
[vars$
|
10995
|
-
[vars$
|
10996
|
-
[vars$
|
10997
|
-
[vars$
|
10998
|
-
[vars$
|
10999
|
-
[vars$
|
11000
|
-
[vars$
|
11235
|
+
[vars$6.hostMinWidth]: '415px',
|
11236
|
+
[vars$6.fontFamily]: globalRefs$5.fonts.font1.family,
|
11237
|
+
[vars$6.fontSize]: globalRefs$5.typography.body1.size,
|
11238
|
+
[vars$6.backgroundColor]: globalRefs$5.colors.surface.main,
|
11239
|
+
[vars$6.textColor]: globalRefs$5.colors.surface.contrast,
|
11240
|
+
[vars$6.boxShadow]: `${globalRefs$5.shadow.wide.xl} ${shadowColor}, ${globalRefs$5.shadow.narrow.xl} ${shadowColor}`,
|
11241
|
+
[vars$6.verticalPadding]: '0.625em',
|
11242
|
+
[vars$6.horizontalPadding]: '1.5em',
|
11243
|
+
[vars$6.borderRadius]: globalRefs$5.radius.xs,
|
11001
11244
|
|
11002
11245
|
_bordered: {
|
11003
|
-
[vars$
|
11004
|
-
[vars$
|
11005
|
-
[vars$
|
11246
|
+
[vars$6.borderWidth]: globalRefs$5.border.sm,
|
11247
|
+
[vars$6.borderStyle]: 'solid',
|
11248
|
+
[vars$6.borderColor]: 'transparent',
|
11006
11249
|
},
|
11007
11250
|
|
11008
11251
|
size: {
|
11009
|
-
xs: { [vars$
|
11010
|
-
sm: { [vars$
|
11011
|
-
md: { [vars$
|
11012
|
-
lg: { [vars$
|
11252
|
+
xs: { [vars$6.fontSize]: '12px' },
|
11253
|
+
sm: { [vars$6.fontSize]: '14px' },
|
11254
|
+
md: { [vars$6.fontSize]: '16px' },
|
11255
|
+
lg: { [vars$6.fontSize]: '18px' },
|
11013
11256
|
},
|
11014
11257
|
|
11015
11258
|
mode: {
|
11016
11259
|
primary: {
|
11017
|
-
[vars$
|
11018
|
-
[vars$
|
11019
|
-
[vars$
|
11260
|
+
[vars$6.backgroundColor]: globalRefs$5.colors.primary.main,
|
11261
|
+
[vars$6.textColor]: globalRefs$5.colors.primary.contrast,
|
11262
|
+
[vars$6.borderColor]: globalRefs$5.colors.primary.light,
|
11020
11263
|
},
|
11021
11264
|
success: {
|
11022
|
-
[vars$
|
11023
|
-
[vars$
|
11024
|
-
[vars$
|
11265
|
+
[vars$6.backgroundColor]: globalRefs$5.colors.success.main,
|
11266
|
+
[vars$6.textColor]: globalRefs$5.colors.success.contrast,
|
11267
|
+
[vars$6.borderColor]: globalRefs$5.colors.success.light,
|
11025
11268
|
},
|
11026
11269
|
error: {
|
11027
|
-
[vars$
|
11028
|
-
[vars$
|
11029
|
-
[vars$
|
11270
|
+
[vars$6.backgroundColor]: globalRefs$5.colors.error.main,
|
11271
|
+
[vars$6.textColor]: globalRefs$5.colors.error.contrast,
|
11272
|
+
[vars$6.borderColor]: globalRefs$5.colors.error.light,
|
11030
11273
|
},
|
11031
11274
|
},
|
11032
11275
|
};
|
@@ -11034,128 +11277,128 @@ const notification = {
|
|
11034
11277
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
11035
11278
|
__proto__: null,
|
11036
11279
|
default: notification,
|
11037
|
-
vars: vars$
|
11280
|
+
vars: vars$6
|
11038
11281
|
});
|
11039
11282
|
|
11040
|
-
const globalRefs$
|
11041
|
-
const vars$
|
11283
|
+
const globalRefs$4 = getThemeRefs(globals);
|
11284
|
+
const vars$5 = MultiSelectComboBoxClass.cssVarList;
|
11042
11285
|
|
11043
11286
|
const multiSelectComboBox = {
|
11044
|
-
[vars$
|
11045
|
-
[vars$
|
11046
|
-
[vars$
|
11047
|
-
[vars$
|
11048
|
-
[vars$
|
11049
|
-
[vars$
|
11050
|
-
[vars$
|
11051
|
-
[vars$
|
11052
|
-
[vars$
|
11053
|
-
[vars$
|
11054
|
-
[vars$
|
11055
|
-
[vars$
|
11056
|
-
[vars$
|
11057
|
-
[vars$
|
11058
|
-
[vars$
|
11059
|
-
[vars$
|
11060
|
-
[vars$
|
11061
|
-
[vars$
|
11062
|
-
[vars$
|
11063
|
-
[vars$
|
11064
|
-
[vars$
|
11065
|
-
[vars$
|
11066
|
-
[vars$
|
11067
|
-
[vars$
|
11068
|
-
[vars$
|
11069
|
-
[vars$
|
11070
|
-
[vars$
|
11071
|
-
[vars$
|
11072
|
-
[vars$
|
11073
|
-
[vars$
|
11287
|
+
[vars$5.hostWidth]: refs.width,
|
11288
|
+
[vars$5.hostDirection]: refs.direction,
|
11289
|
+
[vars$5.fontSize]: refs.fontSize,
|
11290
|
+
[vars$5.fontFamily]: refs.fontFamily,
|
11291
|
+
[vars$5.labelTextColor]: refs.labelTextColor,
|
11292
|
+
[vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
|
11293
|
+
[vars$5.inputBorderColor]: refs.borderColor,
|
11294
|
+
[vars$5.inputBorderWidth]: refs.borderWidth,
|
11295
|
+
[vars$5.inputBorderStyle]: refs.borderStyle,
|
11296
|
+
[vars$5.inputBorderRadius]: refs.borderRadius,
|
11297
|
+
[vars$5.inputOutlineColor]: refs.outlineColor,
|
11298
|
+
[vars$5.inputOutlineOffset]: refs.outlineOffset,
|
11299
|
+
[vars$5.inputOutlineWidth]: refs.outlineWidth,
|
11300
|
+
[vars$5.inputOutlineStyle]: refs.outlineStyle,
|
11301
|
+
[vars$5.labelRequiredIndicator]: refs.requiredIndicator,
|
11302
|
+
[vars$5.inputValueTextColor]: refs.valueTextColor,
|
11303
|
+
[vars$5.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11304
|
+
[vars$5.inputBackgroundColor]: refs.backgroundColor,
|
11305
|
+
[vars$5.inputHorizontalPadding]: refs.horizontalPadding,
|
11306
|
+
[vars$5.inputVerticalPadding]: refs.verticalPadding,
|
11307
|
+
[vars$5.inputHeight]: refs.inputHeight,
|
11308
|
+
[vars$5.inputDropdownButtonColor]: globalRefs$4.colors.surface.dark,
|
11309
|
+
[vars$5.inputDropdownButtonCursor]: 'pointer',
|
11310
|
+
[vars$5.inputDropdownButtonSize]: refs.toggleButtonSize,
|
11311
|
+
[vars$5.inputDropdownButtonOffset]: globalRefs$4.spacing.xs,
|
11312
|
+
[vars$5.overlayItemPaddingInlineStart]: globalRefs$4.spacing.xs,
|
11313
|
+
[vars$5.overlayItemPaddingInlineEnd]: globalRefs$4.spacing.lg,
|
11314
|
+
[vars$5.chipFontSize]: refs.chipFontSize,
|
11315
|
+
[vars$5.chipTextColor]: globalRefs$4.colors.surface.contrast,
|
11316
|
+
[vars$5.chipBackgroundColor]: globalRefs$4.colors.surface.light,
|
11074
11317
|
|
11075
11318
|
_readonly: {
|
11076
|
-
[vars$
|
11319
|
+
[vars$5.inputDropdownButtonCursor]: 'default',
|
11077
11320
|
},
|
11078
11321
|
|
11079
11322
|
// Overlay theme exposed via the component:
|
11080
|
-
[vars$
|
11081
|
-
[vars$
|
11082
|
-
[vars$
|
11083
|
-
[vars$
|
11084
|
-
[vars$
|
11085
|
-
[vars$
|
11323
|
+
[vars$5.overlayFontSize]: refs.fontSize,
|
11324
|
+
[vars$5.overlayFontFamily]: refs.fontFamily,
|
11325
|
+
[vars$5.overlayCursor]: 'pointer',
|
11326
|
+
[vars$5.overlayItemBoxShadow]: 'none',
|
11327
|
+
[vars$5.overlayBackground]: refs.backgroundColor,
|
11328
|
+
[vars$5.overlayTextColor]: refs.valueTextColor,
|
11086
11329
|
|
11087
11330
|
// Overlay direct theme:
|
11088
|
-
[vars$
|
11089
|
-
[vars$
|
11331
|
+
[vars$5.overlay.minHeight]: '400px',
|
11332
|
+
[vars$5.overlay.margin]: '0',
|
11090
11333
|
};
|
11091
11334
|
|
11092
11335
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
11093
11336
|
__proto__: null,
|
11094
11337
|
default: multiSelectComboBox,
|
11095
11338
|
multiSelectComboBox: multiSelectComboBox,
|
11096
|
-
vars: vars$
|
11339
|
+
vars: vars$5
|
11097
11340
|
});
|
11098
11341
|
|
11099
|
-
const globalRefs$
|
11100
|
-
const vars$
|
11342
|
+
const globalRefs$3 = getThemeRefs(globals);
|
11343
|
+
const vars$4 = BadgeClass.cssVarList;
|
11101
11344
|
|
11102
11345
|
const badge = {
|
11103
|
-
[vars$
|
11104
|
-
[vars$
|
11346
|
+
[vars$4.hostWidth]: 'fit-content',
|
11347
|
+
[vars$4.hostDirection]: globalRefs$3.direction,
|
11105
11348
|
|
11106
|
-
[vars$
|
11349
|
+
[vars$4.textAlign]: 'center',
|
11107
11350
|
|
11108
|
-
[vars$
|
11109
|
-
[vars$
|
11351
|
+
[vars$4.fontFamily]: globalRefs$3.fonts.font1.family,
|
11352
|
+
[vars$4.fontWeight]: '400',
|
11110
11353
|
|
11111
|
-
[vars$
|
11112
|
-
[vars$
|
11354
|
+
[vars$4.verticalPadding]: '0.25em',
|
11355
|
+
[vars$4.horizontalPadding]: '0.5em',
|
11113
11356
|
|
11114
|
-
[vars$
|
11115
|
-
[vars$
|
11116
|
-
[vars$
|
11117
|
-
[vars$
|
11357
|
+
[vars$4.borderWidth]: globalRefs$3.border.xs,
|
11358
|
+
[vars$4.borderRadius]: globalRefs$3.radius.xs,
|
11359
|
+
[vars$4.borderColor]: 'transparent',
|
11360
|
+
[vars$4.borderStyle]: 'solid',
|
11118
11361
|
|
11119
11362
|
_fullWidth: {
|
11120
|
-
[vars$
|
11363
|
+
[vars$4.hostWidth]: '100%',
|
11121
11364
|
},
|
11122
11365
|
|
11123
11366
|
size: {
|
11124
|
-
xs: { [vars$
|
11125
|
-
sm: { [vars$
|
11126
|
-
md: { [vars$
|
11127
|
-
lg: { [vars$
|
11367
|
+
xs: { [vars$4.fontSize]: '12px' },
|
11368
|
+
sm: { [vars$4.fontSize]: '14px' },
|
11369
|
+
md: { [vars$4.fontSize]: '16px' },
|
11370
|
+
lg: { [vars$4.fontSize]: '18px' },
|
11128
11371
|
},
|
11129
11372
|
|
11130
11373
|
mode: {
|
11131
11374
|
default: {
|
11132
|
-
[vars$
|
11375
|
+
[vars$4.textColor]: globalRefs$3.colors.surface.dark,
|
11133
11376
|
_bordered: {
|
11134
|
-
[vars$
|
11377
|
+
[vars$4.borderColor]: globalRefs$3.colors.surface.light,
|
11135
11378
|
},
|
11136
11379
|
},
|
11137
11380
|
primary: {
|
11138
|
-
[vars$
|
11381
|
+
[vars$4.textColor]: globalRefs$3.colors.primary.main,
|
11139
11382
|
_bordered: {
|
11140
|
-
[vars$
|
11383
|
+
[vars$4.borderColor]: globalRefs$3.colors.primary.light,
|
11141
11384
|
},
|
11142
11385
|
},
|
11143
11386
|
secondary: {
|
11144
|
-
[vars$
|
11387
|
+
[vars$4.textColor]: globalRefs$3.colors.secondary.main,
|
11145
11388
|
_bordered: {
|
11146
|
-
[vars$
|
11389
|
+
[vars$4.borderColor]: globalRefs$3.colors.secondary.light,
|
11147
11390
|
},
|
11148
11391
|
},
|
11149
11392
|
error: {
|
11150
|
-
[vars$
|
11393
|
+
[vars$4.textColor]: globalRefs$3.colors.error.main,
|
11151
11394
|
_bordered: {
|
11152
|
-
[vars$
|
11395
|
+
[vars$4.borderColor]: globalRefs$3.colors.error.light,
|
11153
11396
|
},
|
11154
11397
|
},
|
11155
11398
|
success: {
|
11156
|
-
[vars$
|
11399
|
+
[vars$4.textColor]: globalRefs$3.colors.success.main,
|
11157
11400
|
_bordered: {
|
11158
|
-
[vars$
|
11401
|
+
[vars$4.borderColor]: globalRefs$3.colors.success.light,
|
11159
11402
|
},
|
11160
11403
|
},
|
11161
11404
|
},
|
@@ -11164,19 +11407,23 @@ const badge = {
|
|
11164
11407
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
11165
11408
|
__proto__: null,
|
11166
11409
|
default: badge,
|
11167
|
-
vars: vars$
|
11410
|
+
vars: vars$4
|
11168
11411
|
});
|
11169
11412
|
|
11170
|
-
const globalRefs$
|
11413
|
+
const globalRefs$2 = getThemeRefs(globals);
|
11171
11414
|
const compVars = AvatarClass.cssVarList;
|
11172
11415
|
|
11173
11416
|
const avatar = {
|
11174
|
-
[compVars.hostDirection]: globalRefs$
|
11175
|
-
[compVars.editableIconColor]: globalRefs$
|
11176
|
-
[compVars.editableBorderColor]: globalRefs$
|
11177
|
-
[compVars.editableBackgroundColor]: globalRefs$
|
11178
|
-
[compVars.avatarTextColor]: globalRefs$
|
11179
|
-
[compVars.avatarBackgroundColor]: globalRefs$
|
11417
|
+
[compVars.hostDirection]: globalRefs$2.direction,
|
11418
|
+
[compVars.editableIconColor]: globalRefs$2.colors.surface.dark,
|
11419
|
+
[compVars.editableBorderColor]: globalRefs$2.colors.surface.dark,
|
11420
|
+
[compVars.editableBackgroundColor]: globalRefs$2.colors.surface.main,
|
11421
|
+
[compVars.avatarTextColor]: globalRefs$2.colors.surface.main,
|
11422
|
+
[compVars.avatarBackgroundColor]: globalRefs$2.colors.surface.dark,
|
11423
|
+
|
11424
|
+
_editable: {
|
11425
|
+
[compVars.cursor]: 'pointer',
|
11426
|
+
},
|
11180
11427
|
|
11181
11428
|
size: {
|
11182
11429
|
xs: {
|
@@ -11198,41 +11445,62 @@ const avatar = {
|
|
11198
11445
|
},
|
11199
11446
|
};
|
11200
11447
|
|
11201
|
-
const vars$
|
11448
|
+
const vars$3 = {
|
11202
11449
|
...compVars,
|
11203
11450
|
};
|
11204
11451
|
|
11205
11452
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
11206
11453
|
__proto__: null,
|
11207
11454
|
default: avatar,
|
11208
|
-
vars: vars$
|
11455
|
+
vars: vars$3
|
11209
11456
|
});
|
11210
11457
|
|
11211
|
-
const globalRefs = getThemeRefs(globals);
|
11458
|
+
const globalRefs$1 = getThemeRefs(globals);
|
11212
11459
|
|
11213
|
-
const vars$
|
11460
|
+
const vars$2 = MappingsFieldClass.cssVarList;
|
11214
11461
|
|
11215
11462
|
const mappingsField = {
|
11216
|
-
[vars$
|
11217
|
-
[vars$
|
11218
|
-
[vars$
|
11219
|
-
[vars$
|
11220
|
-
[vars$
|
11221
|
-
[vars$
|
11222
|
-
[vars$
|
11463
|
+
[vars$2.hostWidth]: refs.width,
|
11464
|
+
[vars$2.hostDirection]: refs.direction,
|
11465
|
+
[vars$2.fontSize]: refs.fontSize,
|
11466
|
+
[vars$2.fontFamily]: refs.fontFamily,
|
11467
|
+
[vars$2.separatorFontSize]: '14px',
|
11468
|
+
[vars$2.labelTextColor]: refs.labelTextColor,
|
11469
|
+
[vars$2.itemMarginBottom]: '1em',
|
11223
11470
|
// To be positioned correctly, the min width has to match the text field min width
|
11224
|
-
[vars$
|
11471
|
+
[vars$2.valueLabelMinWidth]: refs.minWidth,
|
11225
11472
|
// To be positioned correctly, the min width has to match the combo box field min width
|
11226
|
-
[vars$
|
11227
|
-
[vars$
|
11228
|
-
[vars$
|
11229
|
-
[vars$
|
11473
|
+
[vars$2.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$1.border.xs})`,
|
11474
|
+
[vars$2.labelsMarginBottom]: `calc(${globalRefs$1.typography.body2.size} / 2)`,
|
11475
|
+
[vars$2.separatorWidth]: '70px',
|
11476
|
+
[vars$2.removeButtonWidth]: '60px',
|
11230
11477
|
};
|
11231
11478
|
|
11232
11479
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
11233
11480
|
__proto__: null,
|
11234
11481
|
default: mappingsField,
|
11235
11482
|
mappingsField: mappingsField,
|
11483
|
+
vars: vars$2
|
11484
|
+
});
|
11485
|
+
|
11486
|
+
const globalRefs = getThemeRefs(globals);
|
11487
|
+
const vars$1 = UserAttributeClass.cssVarList;
|
11488
|
+
|
11489
|
+
const userAttribute = {
|
11490
|
+
[vars$1.hostDirection]: globalRefs.direction,
|
11491
|
+
[vars$1.labelTextWidth]: '150px',
|
11492
|
+
[vars$1.valueTextWidth]: '200px',
|
11493
|
+
[vars$1.badgeMaxWidth]: '85px',
|
11494
|
+
[vars$1.itemsGap]: '16px',
|
11495
|
+
[vars$1.hostMinWidth]: '530px',
|
11496
|
+
_fullWidth: {
|
11497
|
+
[vars$1.hostWidth]: '100%',
|
11498
|
+
},
|
11499
|
+
};
|
11500
|
+
|
11501
|
+
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
11502
|
+
__proto__: null,
|
11503
|
+
default: userAttribute,
|
11236
11504
|
vars: vars$1
|
11237
11505
|
});
|
11238
11506
|
|
@@ -11272,6 +11540,7 @@ const components = {
|
|
11272
11540
|
badge: badge$1,
|
11273
11541
|
avatar: avatar$1,
|
11274
11542
|
mappingsField: mappingsField$1,
|
11543
|
+
userAttribute: userAttribute$1,
|
11275
11544
|
};
|
11276
11545
|
|
11277
11546
|
const theme = Object.keys(components).reduce(
|
@@ -11284,7 +11553,7 @@ const vars = Object.keys(components).reduce(
|
|
11284
11553
|
);
|
11285
11554
|
|
11286
11555
|
const defaultTheme = { globals, components: theme };
|
11287
|
-
const themeVars = { globals: vars$
|
11556
|
+
const themeVars = { globals: vars$B, components: vars };
|
11288
11557
|
|
11289
11558
|
const colors = {
|
11290
11559
|
surface: {
|
@@ -11330,5 +11599,5 @@ const darkTheme = merge({}, defaultTheme, {
|
|
11330
11599
|
},
|
11331
11600
|
});
|
11332
11601
|
|
11333
|
-
export { AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CheckboxClass, ComboBoxClass, ContainerClass, DividerClass, EmailFieldClass, GridClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, RecaptchaClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
11602
|
+
export { AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CheckboxClass, ComboBoxClass, ContainerClass, DividerClass, EmailFieldClass, GridClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, RecaptchaClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
11334
11603
|
//# sourceMappingURL=index.esm.js.map
|