@descope/web-components-ui 1.0.294 → 1.0.295
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1145 -919
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1139 -912
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1735.js +73 -0
- package/dist/umd/1735.js.LICENSE.txt +17 -0
- package/dist/umd/2106.js +1 -1
- package/dist/umd/7911.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -0
- package/dist/umd/index.js +1 -1
- package/package.json +21 -2
- package/src/components/descope-user-attribute/UserAttributeClass.js +13 -0
- package/src/components/descope-user-auth-method/UserAuthMethodClass.js +201 -0
- package/src/components/descope-user-auth-method/green-v.svg +3 -0
- package/src/components/descope-user-auth-method/index.js +9 -0
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/userAuthMethod.js +19 -0
package/dist/index.esm.js
CHANGED
@@ -1354,7 +1354,7 @@ const clickableMixin = (superclass) =>
|
|
1354
1354
|
}
|
1355
1355
|
};
|
1356
1356
|
|
1357
|
-
const componentName$
|
1357
|
+
const componentName$R = getComponentName('button');
|
1358
1358
|
|
1359
1359
|
const resetStyles = `
|
1360
1360
|
:host {
|
@@ -1392,7 +1392,7 @@ const iconStyles = `
|
|
1392
1392
|
|
1393
1393
|
const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
|
1394
1394
|
|
1395
|
-
const { host: host$
|
1395
|
+
const { host: host$n, label: label$a } = {
|
1396
1396
|
host: { selector: () => ':host' },
|
1397
1397
|
label: { selector: '::part(label)' },
|
1398
1398
|
};
|
@@ -1404,7 +1404,7 @@ const ButtonClass = compose(
|
|
1404
1404
|
mappings: {
|
1405
1405
|
hostWidth: { property: 'width' },
|
1406
1406
|
hostHeight: { property: 'height' },
|
1407
|
-
hostDirection: { ...host$
|
1407
|
+
hostDirection: { ...host$n, property: 'direction' },
|
1408
1408
|
fontSize: {},
|
1409
1409
|
fontFamily: {},
|
1410
1410
|
|
@@ -1456,7 +1456,7 @@ const ButtonClass = compose(
|
|
1456
1456
|
}
|
1457
1457
|
`,
|
1458
1458
|
excludeAttrsSync: ['tabindex'],
|
1459
|
-
componentName: componentName$
|
1459
|
+
componentName: componentName$R,
|
1460
1460
|
})
|
1461
1461
|
);
|
1462
1462
|
|
@@ -1493,7 +1493,7 @@ loadingIndicatorStyles = `
|
|
1493
1493
|
}
|
1494
1494
|
`;
|
1495
1495
|
|
1496
|
-
customElements.define(componentName$
|
1496
|
+
customElements.define(componentName$R, ButtonClass);
|
1497
1497
|
|
1498
1498
|
const createBaseInputClass = (...args) =>
|
1499
1499
|
compose(
|
@@ -1503,11 +1503,11 @@ const createBaseInputClass = (...args) =>
|
|
1503
1503
|
inputEventsDispatchingMixin
|
1504
1504
|
)(createBaseClass(...args));
|
1505
1505
|
|
1506
|
-
const componentName$
|
1506
|
+
const componentName$Q = getComponentName('boolean-field-internal');
|
1507
1507
|
|
1508
1508
|
const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
|
1509
1509
|
|
1510
|
-
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$
|
1510
|
+
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$Q, baseSelector: 'div' });
|
1511
1511
|
|
1512
1512
|
class BooleanInputInternal extends BaseInputClass$8 {
|
1513
1513
|
static get observedAttributes() {
|
@@ -1583,14 +1583,14 @@ const booleanFieldMixin = (superclass) =>
|
|
1583
1583
|
|
1584
1584
|
const template = document.createElement('template');
|
1585
1585
|
template.innerHTML = `
|
1586
|
-
<${componentName$
|
1586
|
+
<${componentName$Q}
|
1587
1587
|
tabindex="-1"
|
1588
1588
|
slot="input"
|
1589
|
-
></${componentName$
|
1589
|
+
></${componentName$Q}>
|
1590
1590
|
`;
|
1591
1591
|
|
1592
1592
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
1593
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
1593
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$Q);
|
1594
1594
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
1595
1595
|
|
1596
1596
|
forwardAttrs(this, this.inputElement, {
|
@@ -1789,10 +1789,10 @@ descope-boolean-field-internal {
|
|
1789
1789
|
}
|
1790
1790
|
`;
|
1791
1791
|
|
1792
|
-
const componentName$
|
1792
|
+
const componentName$P = getComponentName('checkbox');
|
1793
1793
|
|
1794
1794
|
const {
|
1795
|
-
host: host$
|
1795
|
+
host: host$m,
|
1796
1796
|
component: component$1,
|
1797
1797
|
checkboxElement,
|
1798
1798
|
checkboxSurface,
|
@@ -1814,10 +1814,10 @@ const {
|
|
1814
1814
|
const CheckboxClass = compose(
|
1815
1815
|
createStyleMixin({
|
1816
1816
|
mappings: {
|
1817
|
-
hostWidth: { ...host$
|
1818
|
-
hostDirection: { ...host$
|
1817
|
+
hostWidth: { ...host$m, property: 'width' },
|
1818
|
+
hostDirection: { ...host$m, property: 'direction' },
|
1819
1819
|
|
1820
|
-
fontSize: [host$
|
1820
|
+
fontSize: [host$m, checkboxElement, checkboxLabel$1],
|
1821
1821
|
fontFamily: [checkboxLabel$1, helperText$a, errorMessage$c],
|
1822
1822
|
|
1823
1823
|
labelTextColor: { ...checkboxLabel$1, property: 'color' },
|
@@ -1895,18 +1895,18 @@ const CheckboxClass = compose(
|
|
1895
1895
|
}
|
1896
1896
|
`,
|
1897
1897
|
excludeAttrsSync: ['label', 'tabindex'],
|
1898
|
-
componentName: componentName$
|
1898
|
+
componentName: componentName$P,
|
1899
1899
|
})
|
1900
1900
|
);
|
1901
1901
|
|
1902
|
-
customElements.define(componentName$
|
1902
|
+
customElements.define(componentName$Q, BooleanInputInternal);
|
1903
1903
|
|
1904
|
-
customElements.define(componentName$
|
1904
|
+
customElements.define(componentName$P, CheckboxClass);
|
1905
1905
|
|
1906
|
-
const componentName$
|
1906
|
+
const componentName$O = getComponentName('switch-toggle');
|
1907
1907
|
|
1908
1908
|
const {
|
1909
|
-
host: host$
|
1909
|
+
host: host$l,
|
1910
1910
|
component,
|
1911
1911
|
checkboxElement: track,
|
1912
1912
|
checkboxSurface: knob,
|
@@ -1928,8 +1928,8 @@ const {
|
|
1928
1928
|
const SwitchToggleClass = compose(
|
1929
1929
|
createStyleMixin({
|
1930
1930
|
mappings: {
|
1931
|
-
hostWidth: { ...host$
|
1932
|
-
hostDirection: { ...host$
|
1931
|
+
hostWidth: { ...host$l, property: 'width' },
|
1932
|
+
hostDirection: { ...host$l, property: 'direction' },
|
1933
1933
|
|
1934
1934
|
fontSize: [component, checkboxLabel, checkboxLabel],
|
1935
1935
|
fontFamily: [checkboxLabel, helperText$9, errorMessage$b],
|
@@ -2035,17 +2035,17 @@ const SwitchToggleClass = compose(
|
|
2035
2035
|
}
|
2036
2036
|
`,
|
2037
2037
|
excludeAttrsSync: ['label', 'tabindex'],
|
2038
|
-
componentName: componentName$
|
2038
|
+
componentName: componentName$O,
|
2039
2039
|
})
|
2040
2040
|
);
|
2041
2041
|
|
2042
|
-
customElements.define(componentName$
|
2042
|
+
customElements.define(componentName$O, SwitchToggleClass);
|
2043
2043
|
|
2044
|
-
const componentName$
|
2044
|
+
const componentName$N = getComponentName('loader-linear');
|
2045
2045
|
|
2046
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
2046
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$N, baseSelector: ':host > div' }) {
|
2047
2047
|
static get componentName() {
|
2048
|
-
return componentName$
|
2048
|
+
return componentName$N;
|
2049
2049
|
}
|
2050
2050
|
|
2051
2051
|
constructor() {
|
@@ -2081,18 +2081,18 @@ const selectors$2 = {
|
|
2081
2081
|
host: { selector: () => ':host' },
|
2082
2082
|
};
|
2083
2083
|
|
2084
|
-
const { after: after$1, host: host$
|
2084
|
+
const { after: after$1, host: host$k } = selectors$2;
|
2085
2085
|
|
2086
2086
|
const LoaderLinearClass = compose(
|
2087
2087
|
createStyleMixin({
|
2088
2088
|
mappings: {
|
2089
2089
|
hostDisplay: {},
|
2090
|
-
hostWidth: { ...host$
|
2090
|
+
hostWidth: { ...host$k, property: 'width' },
|
2091
2091
|
barHeight: [{ property: 'height' }, { ...after$1, property: 'height' }],
|
2092
2092
|
barBorderRadius: [{ property: 'border-radius' }, { ...after$1, property: 'border-radius' }],
|
2093
2093
|
verticalPadding: [
|
2094
|
-
{ ...host$
|
2095
|
-
{ ...host$
|
2094
|
+
{ ...host$k, property: 'padding-top' },
|
2095
|
+
{ ...host$k, property: 'padding-bottom' },
|
2096
2096
|
],
|
2097
2097
|
barBackgroundColor: { property: 'background-color' },
|
2098
2098
|
barColor: { ...after$1, property: 'background-color' },
|
@@ -2106,11 +2106,11 @@ const LoaderLinearClass = compose(
|
|
2106
2106
|
componentNameValidationMixin
|
2107
2107
|
)(RawLoaderLinear);
|
2108
2108
|
|
2109
|
-
customElements.define(componentName$
|
2109
|
+
customElements.define(componentName$N, LoaderLinearClass);
|
2110
2110
|
|
2111
|
-
const componentName$
|
2111
|
+
const componentName$M = getComponentName('loader-radial');
|
2112
2112
|
|
2113
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
2113
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$M, baseSelector: ':host > div' }) {
|
2114
2114
|
constructor() {
|
2115
2115
|
super();
|
2116
2116
|
|
@@ -2154,11 +2154,11 @@ const LoaderRadialClass = compose(
|
|
2154
2154
|
componentNameValidationMixin
|
2155
2155
|
)(RawLoaderRadial);
|
2156
2156
|
|
2157
|
-
customElements.define(componentName$
|
2157
|
+
customElements.define(componentName$M, LoaderRadialClass);
|
2158
2158
|
|
2159
|
-
const componentName$
|
2159
|
+
const componentName$L = getComponentName('container');
|
2160
2160
|
|
2161
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
2161
|
+
class RawContainer extends createBaseClass({ componentName: componentName$L, baseSelector: 'slot' }) {
|
2162
2162
|
constructor() {
|
2163
2163
|
super();
|
2164
2164
|
|
@@ -2211,13 +2211,13 @@ const ContainerClass = compose(
|
|
2211
2211
|
componentNameValidationMixin
|
2212
2212
|
)(RawContainer);
|
2213
2213
|
|
2214
|
-
customElements.define(componentName$
|
2214
|
+
customElements.define(componentName$L, ContainerClass);
|
2215
2215
|
|
2216
2216
|
// eslint-disable-next-line max-classes-per-file
|
2217
2217
|
|
2218
|
-
const componentName$
|
2218
|
+
const componentName$K = getComponentName('text');
|
2219
2219
|
|
2220
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
2220
|
+
class RawText extends createBaseClass({ componentName: componentName$K, baseSelector: ':host > slot' }) {
|
2221
2221
|
constructor() {
|
2222
2222
|
super();
|
2223
2223
|
|
@@ -2277,8 +2277,8 @@ const TextClass = compose(
|
|
2277
2277
|
customTextMixin
|
2278
2278
|
)(RawText);
|
2279
2279
|
|
2280
|
-
const componentName$
|
2281
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
2280
|
+
const componentName$J = getComponentName('divider');
|
2281
|
+
class RawDivider extends createBaseClass({ componentName: componentName$J, baseSelector: ':host > div' }) {
|
2282
2282
|
constructor() {
|
2283
2283
|
super();
|
2284
2284
|
|
@@ -2324,7 +2324,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$I, baseS
|
|
2324
2324
|
}
|
2325
2325
|
|
2326
2326
|
const textVars$3 = TextClass.cssVarList;
|
2327
|
-
const { host: host$
|
2327
|
+
const { host: host$j, before, after, text: text$3 } = {
|
2328
2328
|
host: { selector: () => ':host' },
|
2329
2329
|
before: { selector: '::before' },
|
2330
2330
|
after: { selector: '::after' },
|
@@ -2334,8 +2334,8 @@ const { host: host$i, before, after, text: text$3 } = {
|
|
2334
2334
|
const DividerClass = compose(
|
2335
2335
|
createStyleMixin({
|
2336
2336
|
mappings: {
|
2337
|
-
hostWidth: { ...host$
|
2338
|
-
hostPadding: { ...host$
|
2337
|
+
hostWidth: { ...host$j, property: 'width' },
|
2338
|
+
hostPadding: { ...host$j, property: 'padding' },
|
2339
2339
|
hostDirection: { ...text$3, property: 'direction' },
|
2340
2340
|
|
2341
2341
|
minHeight: {},
|
@@ -2377,12 +2377,12 @@ const DividerClass = compose(
|
|
2377
2377
|
componentNameValidationMixin
|
2378
2378
|
)(RawDivider);
|
2379
2379
|
|
2380
|
-
customElements.define(componentName$
|
2380
|
+
customElements.define(componentName$K, TextClass);
|
2381
2381
|
|
2382
|
-
customElements.define(componentName$
|
2382
|
+
customElements.define(componentName$J, DividerClass);
|
2383
2383
|
|
2384
2384
|
const {
|
2385
|
-
host: host$
|
2385
|
+
host: host$i,
|
2386
2386
|
label: label$9,
|
2387
2387
|
placeholder: placeholder$3,
|
2388
2388
|
requiredIndicator: requiredIndicator$9,
|
@@ -2407,12 +2407,12 @@ const {
|
|
2407
2407
|
|
2408
2408
|
var textFieldMappings = {
|
2409
2409
|
// we apply font-size also on the host so we can set its width with em
|
2410
|
-
fontSize: [{}, host$
|
2410
|
+
fontSize: [{}, host$i],
|
2411
2411
|
fontFamily: [label$9, inputField$6, helperText$8, errorMessage$a],
|
2412
2412
|
|
2413
|
-
hostWidth: { ...host$
|
2414
|
-
hostMinWidth: { ...host$
|
2415
|
-
hostDirection: { ...host$
|
2413
|
+
hostWidth: { ...host$i, property: 'width' },
|
2414
|
+
hostMinWidth: { ...host$i, property: 'min-width' },
|
2415
|
+
hostDirection: { ...host$i, property: 'direction' },
|
2416
2416
|
|
2417
2417
|
inputBackgroundColor: { ...inputField$6, property: 'background-color' },
|
2418
2418
|
|
@@ -2457,7 +2457,7 @@ var textFieldMappings = {
|
|
2457
2457
|
],
|
2458
2458
|
};
|
2459
2459
|
|
2460
|
-
const componentName$
|
2460
|
+
const componentName$I = getComponentName('email-field');
|
2461
2461
|
|
2462
2462
|
const customMixin$8 = (superclass) =>
|
2463
2463
|
class EmailFieldMixinClass extends superclass {
|
@@ -2492,15 +2492,15 @@ const EmailFieldClass = compose(
|
|
2492
2492
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
2493
2493
|
`,
|
2494
2494
|
excludeAttrsSync: ['tabindex'],
|
2495
|
-
componentName: componentName$
|
2495
|
+
componentName: componentName$I,
|
2496
2496
|
})
|
2497
2497
|
);
|
2498
2498
|
|
2499
|
-
customElements.define(componentName$
|
2499
|
+
customElements.define(componentName$I, EmailFieldClass);
|
2500
2500
|
|
2501
|
-
const componentName$
|
2501
|
+
const componentName$H = getComponentName('link');
|
2502
2502
|
|
2503
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
2503
|
+
class RawLink extends createBaseClass({ componentName: componentName$H, baseSelector: ':host a' }) {
|
2504
2504
|
constructor() {
|
2505
2505
|
super();
|
2506
2506
|
|
@@ -2546,12 +2546,12 @@ const selectors$1 = {
|
|
2546
2546
|
text: { selector: () => TextClass.componentName },
|
2547
2547
|
};
|
2548
2548
|
|
2549
|
-
const { anchor, text: text$2, host: host$
|
2549
|
+
const { anchor, text: text$2, host: host$h, wrapper: wrapper$1 } = selectors$1;
|
2550
2550
|
|
2551
2551
|
const LinkClass = compose(
|
2552
2552
|
createStyleMixin({
|
2553
2553
|
mappings: {
|
2554
|
-
hostWidth: { ...host$
|
2554
|
+
hostWidth: { ...host$h, property: 'width' },
|
2555
2555
|
hostDirection: { ...text$2, property: 'direction' },
|
2556
2556
|
textAlign: wrapper$1,
|
2557
2557
|
textColor: [
|
@@ -2565,7 +2565,7 @@ const LinkClass = compose(
|
|
2565
2565
|
componentNameValidationMixin
|
2566
2566
|
)(RawLink);
|
2567
2567
|
|
2568
|
-
customElements.define(componentName$
|
2568
|
+
customElements.define(componentName$H, LinkClass);
|
2569
2569
|
|
2570
2570
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
2571
2571
|
let style;
|
@@ -2617,37 +2617,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
2617
2617
|
return CssVarImageClass;
|
2618
2618
|
};
|
2619
2619
|
|
2620
|
-
const componentName$
|
2620
|
+
const componentName$G = getComponentName('logo');
|
2621
2621
|
|
2622
2622
|
const LogoClass = createCssVarImageClass({
|
2623
|
-
componentName: componentName$
|
2623
|
+
componentName: componentName$G,
|
2624
2624
|
varName: 'url',
|
2625
2625
|
fallbackVarName: 'fallbackUrl',
|
2626
2626
|
});
|
2627
2627
|
|
2628
|
-
customElements.define(componentName$
|
2628
|
+
customElements.define(componentName$G, LogoClass);
|
2629
2629
|
|
2630
|
-
const componentName$
|
2630
|
+
const componentName$F = getComponentName('totp-image');
|
2631
2631
|
|
2632
2632
|
const TotpImageClass = createCssVarImageClass({
|
2633
|
-
componentName: componentName$
|
2633
|
+
componentName: componentName$F,
|
2634
2634
|
varName: 'url',
|
2635
2635
|
fallbackVarName: 'fallbackUrl',
|
2636
2636
|
});
|
2637
2637
|
|
2638
|
-
customElements.define(componentName$
|
2638
|
+
customElements.define(componentName$F, TotpImageClass);
|
2639
2639
|
|
2640
|
-
const componentName$
|
2640
|
+
const componentName$E = getComponentName('notp-image');
|
2641
2641
|
|
2642
2642
|
const NotpImageClass = createCssVarImageClass({
|
2643
|
-
componentName: componentName$
|
2643
|
+
componentName: componentName$E,
|
2644
2644
|
varName: 'url',
|
2645
2645
|
fallbackVarName: 'fallbackUrl',
|
2646
2646
|
});
|
2647
2647
|
|
2648
|
-
customElements.define(componentName$
|
2648
|
+
customElements.define(componentName$E, NotpImageClass);
|
2649
2649
|
|
2650
|
-
const componentName$
|
2650
|
+
const componentName$D = getComponentName('number-field');
|
2651
2651
|
|
2652
2652
|
const NumberFieldClass = compose(
|
2653
2653
|
createStyleMixin({
|
@@ -2673,11 +2673,11 @@ const NumberFieldClass = compose(
|
|
2673
2673
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
2674
2674
|
`,
|
2675
2675
|
excludeAttrsSync: ['tabindex'],
|
2676
|
-
componentName: componentName$
|
2676
|
+
componentName: componentName$D,
|
2677
2677
|
})
|
2678
2678
|
);
|
2679
2679
|
|
2680
|
-
customElements.define(componentName$
|
2680
|
+
customElements.define(componentName$D, NumberFieldClass);
|
2681
2681
|
|
2682
2682
|
const focusElement = (ele) => {
|
2683
2683
|
ele?.focus();
|
@@ -2695,13 +2695,13 @@ const getSanitizedCharacters = (str) => {
|
|
2695
2695
|
|
2696
2696
|
/* eslint-disable no-param-reassign */
|
2697
2697
|
|
2698
|
-
const componentName$
|
2698
|
+
const componentName$C = getComponentName('passcode-internal');
|
2699
2699
|
|
2700
2700
|
const observedAttributes$5 = ['digits', 'loading'];
|
2701
2701
|
|
2702
2702
|
const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
|
2703
2703
|
|
2704
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
2704
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$C, baseSelector: 'div' });
|
2705
2705
|
|
2706
2706
|
class PasscodeInternal extends BaseInputClass$7 {
|
2707
2707
|
static get observedAttributes() {
|
@@ -2927,7 +2927,7 @@ class PasscodeInternal extends BaseInputClass$7 {
|
|
2927
2927
|
}
|
2928
2928
|
}
|
2929
2929
|
|
2930
|
-
const componentName$
|
2930
|
+
const componentName$B = getComponentName('text-field');
|
2931
2931
|
|
2932
2932
|
const observedAttrs = ['type'];
|
2933
2933
|
|
@@ -2977,11 +2977,11 @@ const TextFieldClass = compose(
|
|
2977
2977
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
2978
2978
|
`,
|
2979
2979
|
excludeAttrsSync: ['tabindex'],
|
2980
|
-
componentName: componentName$
|
2980
|
+
componentName: componentName$B,
|
2981
2981
|
})
|
2982
2982
|
);
|
2983
2983
|
|
2984
|
-
const componentName$
|
2984
|
+
const componentName$A = getComponentName('passcode');
|
2985
2985
|
|
2986
2986
|
const observedAttributes$4 = ['digits'];
|
2987
2987
|
|
@@ -3000,17 +3000,17 @@ const customMixin$6 = (superclass) =>
|
|
3000
3000
|
const template = document.createElement('template');
|
3001
3001
|
|
3002
3002
|
template.innerHTML = `
|
3003
|
-
<${componentName$
|
3003
|
+
<${componentName$C}
|
3004
3004
|
bordered="true"
|
3005
3005
|
name="code"
|
3006
3006
|
tabindex="-1"
|
3007
3007
|
slot="input"
|
3008
|
-
><slot></slot></${componentName$
|
3008
|
+
><slot></slot></${componentName$C}>
|
3009
3009
|
`;
|
3010
3010
|
|
3011
3011
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
3012
3012
|
|
3013
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
3013
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$C);
|
3014
3014
|
|
3015
3015
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
3016
3016
|
}
|
@@ -3025,7 +3025,7 @@ const customMixin$6 = (superclass) =>
|
|
3025
3025
|
};
|
3026
3026
|
|
3027
3027
|
const {
|
3028
|
-
host: host$
|
3028
|
+
host: host$g,
|
3029
3029
|
digitField,
|
3030
3030
|
label: label$8,
|
3031
3031
|
requiredIndicator: requiredIndicator$8,
|
@@ -3048,10 +3048,10 @@ const loaderVars = LoaderRadialClass.cssVarList;
|
|
3048
3048
|
const PasscodeClass = compose(
|
3049
3049
|
createStyleMixin({
|
3050
3050
|
mappings: {
|
3051
|
-
fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$
|
3051
|
+
fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$g],
|
3052
3052
|
hostWidth: { property: 'width' },
|
3053
|
-
hostDirection: { ...host$
|
3054
|
-
fontFamily: [host$
|
3053
|
+
hostDirection: { ...host$g, property: 'direction' },
|
3054
|
+
fontFamily: [host$g, { ...label$8 }],
|
3055
3055
|
labelTextColor: [
|
3056
3056
|
{ ...label$8, property: 'color' },
|
3057
3057
|
{ ...requiredIndicator$8, property: 'color' },
|
@@ -3157,15 +3157,15 @@ const PasscodeClass = compose(
|
|
3157
3157
|
${resetInputCursor('vaadin-text-field')}
|
3158
3158
|
`,
|
3159
3159
|
excludeAttrsSync: ['tabindex'],
|
3160
|
-
componentName: componentName$
|
3160
|
+
componentName: componentName$A,
|
3161
3161
|
})
|
3162
3162
|
);
|
3163
3163
|
|
3164
|
-
customElements.define(componentName$
|
3164
|
+
customElements.define(componentName$B, TextFieldClass);
|
3165
3165
|
|
3166
|
-
customElements.define(componentName$
|
3166
|
+
customElements.define(componentName$C, PasscodeInternal);
|
3167
3167
|
|
3168
|
-
customElements.define(componentName$
|
3168
|
+
customElements.define(componentName$A, PasscodeClass);
|
3169
3169
|
|
3170
3170
|
const passwordDraggableMixin = (superclass) =>
|
3171
3171
|
class PasswordDraggableMixinClass extends superclass {
|
@@ -3201,10 +3201,10 @@ const passwordDraggableMixin = (superclass) =>
|
|
3201
3201
|
}
|
3202
3202
|
};
|
3203
3203
|
|
3204
|
-
const componentName$
|
3204
|
+
const componentName$z = getComponentName('password');
|
3205
3205
|
|
3206
3206
|
const {
|
3207
|
-
host: host$
|
3207
|
+
host: host$f,
|
3208
3208
|
inputField: inputField$5,
|
3209
3209
|
inputElement: inputElement$2,
|
3210
3210
|
inputElementPlaceholder,
|
@@ -3230,10 +3230,10 @@ const {
|
|
3230
3230
|
const PasswordClass = compose(
|
3231
3231
|
createStyleMixin({
|
3232
3232
|
mappings: {
|
3233
|
-
hostWidth: { ...host$
|
3234
|
-
hostMinWidth: { ...host$
|
3235
|
-
hostDirection: { ...host$
|
3236
|
-
fontSize: [{}, host$
|
3233
|
+
hostWidth: { ...host$f, property: 'width' },
|
3234
|
+
hostMinWidth: { ...host$f, property: 'min-width' },
|
3235
|
+
hostDirection: { ...host$f, property: 'direction' },
|
3236
|
+
fontSize: [{}, host$f],
|
3237
3237
|
fontFamily: [label$7, inputField$5, errorMessage$8, helperText$7],
|
3238
3238
|
inputHeight: { ...inputField$5, property: 'height' },
|
3239
3239
|
inputHorizontalPadding: [
|
@@ -3330,16 +3330,16 @@ const PasswordClass = compose(
|
|
3330
3330
|
}
|
3331
3331
|
`,
|
3332
3332
|
excludeAttrsSync: ['tabindex'],
|
3333
|
-
componentName: componentName$
|
3333
|
+
componentName: componentName$z,
|
3334
3334
|
})
|
3335
3335
|
);
|
3336
3336
|
|
3337
|
-
customElements.define(componentName$
|
3337
|
+
customElements.define(componentName$z, PasswordClass);
|
3338
3338
|
|
3339
|
-
const componentName$
|
3339
|
+
const componentName$y = getComponentName('text-area');
|
3340
3340
|
|
3341
3341
|
const {
|
3342
|
-
host: host$
|
3342
|
+
host: host$e,
|
3343
3343
|
label: label$6,
|
3344
3344
|
placeholder: placeholder$2,
|
3345
3345
|
inputField: inputField$4,
|
@@ -3361,10 +3361,10 @@ const {
|
|
3361
3361
|
const TextAreaClass = compose(
|
3362
3362
|
createStyleMixin({
|
3363
3363
|
mappings: {
|
3364
|
-
hostWidth: { ...host$
|
3365
|
-
hostMinWidth: { ...host$
|
3366
|
-
hostDirection: { ...host$
|
3367
|
-
fontSize: [host$
|
3364
|
+
hostWidth: { ...host$e, property: 'width' },
|
3365
|
+
hostMinWidth: { ...host$e, property: 'min-width' },
|
3366
|
+
hostDirection: { ...host$e, property: 'direction' },
|
3367
|
+
fontSize: [host$e, textArea$2],
|
3368
3368
|
fontFamily: [label$6, inputField$4, helperText$6, errorMessage$7],
|
3369
3369
|
labelTextColor: [
|
3370
3370
|
{ ...label$6, property: 'color' },
|
@@ -3412,17 +3412,17 @@ const TextAreaClass = compose(
|
|
3412
3412
|
${resetInputCursor('vaadin-text-area')}
|
3413
3413
|
`,
|
3414
3414
|
excludeAttrsSync: ['tabindex'],
|
3415
|
-
componentName: componentName$
|
3415
|
+
componentName: componentName$y,
|
3416
3416
|
})
|
3417
3417
|
);
|
3418
3418
|
|
3419
|
-
customElements.define(componentName$
|
3419
|
+
customElements.define(componentName$y, TextAreaClass);
|
3420
3420
|
|
3421
3421
|
const observedAttributes$3 = ['src', 'alt'];
|
3422
3422
|
|
3423
|
-
const componentName$
|
3423
|
+
const componentName$x = getComponentName('image');
|
3424
3424
|
|
3425
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
3425
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$x, baseSelector: ':host > img' });
|
3426
3426
|
class RawImage extends BaseClass$1 {
|
3427
3427
|
static get observedAttributes() {
|
3428
3428
|
return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
|
@@ -3462,9 +3462,9 @@ const ImageClass = compose(
|
|
3462
3462
|
draggableMixin
|
3463
3463
|
)(RawImage);
|
3464
3464
|
|
3465
|
-
customElements.define(componentName$
|
3465
|
+
customElements.define(componentName$x, ImageClass);
|
3466
3466
|
|
3467
|
-
const componentName$
|
3467
|
+
const componentName$w = getComponentName('combo-box');
|
3468
3468
|
|
3469
3469
|
const ComboBoxMixin = (superclass) =>
|
3470
3470
|
class ComboBoxMixinClass extends superclass {
|
@@ -3690,7 +3690,7 @@ const ComboBoxMixin = (superclass) =>
|
|
3690
3690
|
};
|
3691
3691
|
|
3692
3692
|
const {
|
3693
|
-
host: host$
|
3693
|
+
host: host$d,
|
3694
3694
|
inputField: inputField$3,
|
3695
3695
|
inputElement: inputElement$1,
|
3696
3696
|
placeholder: placeholder$1,
|
@@ -3716,10 +3716,10 @@ const {
|
|
3716
3716
|
const ComboBoxClass = compose(
|
3717
3717
|
createStyleMixin({
|
3718
3718
|
mappings: {
|
3719
|
-
hostWidth: { ...host$
|
3720
|
-
hostDirection: { ...host$
|
3719
|
+
hostWidth: { ...host$d, property: 'width' },
|
3720
|
+
hostDirection: { ...host$d, property: 'direction' },
|
3721
3721
|
// we apply font-size also on the host so we can set its width with em
|
3722
|
-
fontSize: [{}, host$
|
3722
|
+
fontSize: [{}, host$d],
|
3723
3723
|
fontFamily: [label$5, placeholder$1, inputField$3, helperText$5, errorMessage$6],
|
3724
3724
|
labelTextColor: [
|
3725
3725
|
{ ...label$5, property: 'color' },
|
@@ -3847,12 +3847,12 @@ const ComboBoxClass = compose(
|
|
3847
3847
|
// and reset items to an empty array, and opening the list box with no items
|
3848
3848
|
// to display.
|
3849
3849
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
3850
|
-
componentName: componentName$
|
3850
|
+
componentName: componentName$w,
|
3851
3851
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
3852
3852
|
})
|
3853
3853
|
);
|
3854
3854
|
|
3855
|
-
customElements.define(componentName$
|
3855
|
+
customElements.define(componentName$w, ComboBoxClass);
|
3856
3856
|
|
3857
3857
|
var CountryCodes = [
|
3858
3858
|
// United States should be the first option
|
@@ -5095,7 +5095,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
|
|
5095
5095
|
</div>
|
5096
5096
|
`;
|
5097
5097
|
|
5098
|
-
const componentName$
|
5098
|
+
const componentName$v = getComponentName('phone-field-internal');
|
5099
5099
|
|
5100
5100
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
|
5101
5101
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
@@ -5107,7 +5107,7 @@ const mapAttrs$1 = {
|
|
5107
5107
|
|
5108
5108
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
|
5109
5109
|
|
5110
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
5110
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$v, baseSelector: 'div' });
|
5111
5111
|
|
5112
5112
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
5113
5113
|
static get observedAttributes() {
|
@@ -5279,12 +5279,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
5279
5279
|
}
|
5280
5280
|
};
|
5281
5281
|
|
5282
|
-
customElements.define(componentName$
|
5282
|
+
customElements.define(componentName$v, PhoneFieldInternal$1);
|
5283
5283
|
|
5284
5284
|
const textVars$1 = TextFieldClass.cssVarList;
|
5285
5285
|
const comboVars = ComboBoxClass.cssVarList;
|
5286
5286
|
|
5287
|
-
const componentName$
|
5287
|
+
const componentName$u = getComponentName('phone-field');
|
5288
5288
|
|
5289
5289
|
const customMixin$5 = (superclass) =>
|
5290
5290
|
class PhoneFieldMixinClass extends superclass {
|
@@ -5298,15 +5298,15 @@ const customMixin$5 = (superclass) =>
|
|
5298
5298
|
const template = document.createElement('template');
|
5299
5299
|
|
5300
5300
|
template.innerHTML = `
|
5301
|
-
<${componentName$
|
5301
|
+
<${componentName$v}
|
5302
5302
|
tabindex="-1"
|
5303
5303
|
slot="input"
|
5304
|
-
></${componentName$
|
5304
|
+
></${componentName$v}>
|
5305
5305
|
`;
|
5306
5306
|
|
5307
5307
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5308
5308
|
|
5309
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5309
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$v);
|
5310
5310
|
|
5311
5311
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5312
5312
|
includeAttrs: [
|
@@ -5326,7 +5326,7 @@ const customMixin$5 = (superclass) =>
|
|
5326
5326
|
};
|
5327
5327
|
|
5328
5328
|
const {
|
5329
|
-
host: host$
|
5329
|
+
host: host$c,
|
5330
5330
|
label: label$4,
|
5331
5331
|
requiredIndicator: requiredIndicator$4,
|
5332
5332
|
inputField: inputField$2,
|
@@ -5351,7 +5351,7 @@ const PhoneFieldClass = compose(
|
|
5351
5351
|
createStyleMixin({
|
5352
5352
|
mappings: {
|
5353
5353
|
fontSize: [
|
5354
|
-
host$
|
5354
|
+
host$c,
|
5355
5355
|
inputField$2,
|
5356
5356
|
{
|
5357
5357
|
selector: TextFieldClass.componentName,
|
@@ -5372,11 +5372,11 @@ const PhoneFieldClass = compose(
|
|
5372
5372
|
},
|
5373
5373
|
],
|
5374
5374
|
hostWidth: [
|
5375
|
-
{ ...host$
|
5375
|
+
{ ...host$c, property: 'width' },
|
5376
5376
|
{ ...phoneInput$1, property: 'width' },
|
5377
5377
|
{ ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
|
5378
5378
|
],
|
5379
|
-
hostDirection: { ...host$
|
5379
|
+
hostDirection: { ...host$c, property: 'direction' },
|
5380
5380
|
|
5381
5381
|
inputBorderStyle: [
|
5382
5382
|
{ ...inputField$2, property: 'border-style' },
|
@@ -5502,17 +5502,17 @@ const PhoneFieldClass = compose(
|
|
5502
5502
|
${resetInputLabelPosition('vaadin-text-field')}
|
5503
5503
|
`,
|
5504
5504
|
excludeAttrsSync: ['tabindex'],
|
5505
|
-
componentName: componentName$
|
5505
|
+
componentName: componentName$u,
|
5506
5506
|
})
|
5507
5507
|
);
|
5508
5508
|
|
5509
|
-
customElements.define(componentName$
|
5509
|
+
customElements.define(componentName$u, PhoneFieldClass);
|
5510
5510
|
|
5511
5511
|
const getCountryByCodeId = (countryCode) => {
|
5512
5512
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
5513
5513
|
};
|
5514
5514
|
|
5515
|
-
const componentName$
|
5515
|
+
const componentName$t = getComponentName('phone-field-internal-input-box');
|
5516
5516
|
|
5517
5517
|
const observedAttributes$2 = [
|
5518
5518
|
'disabled',
|
@@ -5526,7 +5526,7 @@ const mapAttrs = {
|
|
5526
5526
|
'phone-input-placeholder': 'placeholder',
|
5527
5527
|
};
|
5528
5528
|
|
5529
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
5529
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$t, baseSelector: 'div' });
|
5530
5530
|
|
5531
5531
|
class PhoneFieldInternal extends BaseInputClass$5 {
|
5532
5532
|
static get observedAttributes() {
|
@@ -5665,11 +5665,11 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
5665
5665
|
}
|
5666
5666
|
}
|
5667
5667
|
|
5668
|
-
customElements.define(componentName$
|
5668
|
+
customElements.define(componentName$t, PhoneFieldInternal);
|
5669
5669
|
|
5670
5670
|
const textVars = TextFieldClass.cssVarList;
|
5671
5671
|
|
5672
|
-
const componentName$
|
5672
|
+
const componentName$s = getComponentName('phone-input-box-field');
|
5673
5673
|
|
5674
5674
|
const customMixin$4 = (superclass) =>
|
5675
5675
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -5683,15 +5683,15 @@ const customMixin$4 = (superclass) =>
|
|
5683
5683
|
const template = document.createElement('template');
|
5684
5684
|
|
5685
5685
|
template.innerHTML = `
|
5686
|
-
<${componentName$
|
5686
|
+
<${componentName$t}
|
5687
5687
|
tabindex="-1"
|
5688
5688
|
slot="input"
|
5689
|
-
></${componentName$
|
5689
|
+
></${componentName$t}>
|
5690
5690
|
`;
|
5691
5691
|
|
5692
5692
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5693
5693
|
|
5694
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5694
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$t);
|
5695
5695
|
|
5696
5696
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
5697
5697
|
includeAttrs: [
|
@@ -5708,7 +5708,7 @@ const customMixin$4 = (superclass) =>
|
|
5708
5708
|
}
|
5709
5709
|
};
|
5710
5710
|
|
5711
|
-
const { host: host$
|
5711
|
+
const { host: host$b, label: label$3, requiredIndicator: requiredIndicator$3, inputField: inputField$1, phoneInput, errorMessage: errorMessage$4, helperText: helperText$3 } = {
|
5712
5712
|
host: { selector: () => ':host' },
|
5713
5713
|
label: { selector: '::part(label)' },
|
5714
5714
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
@@ -5722,7 +5722,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
5722
5722
|
createStyleMixin({
|
5723
5723
|
mappings: {
|
5724
5724
|
fontSize: [
|
5725
|
-
host$
|
5725
|
+
host$b,
|
5726
5726
|
inputField$1,
|
5727
5727
|
{
|
5728
5728
|
selector: TextFieldClass.componentName,
|
@@ -5730,9 +5730,9 @@ const PhoneFieldInputBoxClass = compose(
|
|
5730
5730
|
},
|
5731
5731
|
],
|
5732
5732
|
fontFamily: [label$3, errorMessage$4, helperText$3],
|
5733
|
-
hostWidth: { ...host$
|
5734
|
-
hostMinWidth: { ...host$
|
5735
|
-
hostDirection: { ...host$
|
5733
|
+
hostWidth: { ...host$b, property: 'width' },
|
5734
|
+
hostMinWidth: { ...host$b, property: 'min-width' },
|
5735
|
+
hostDirection: { ...host$b, property: 'direction' },
|
5736
5736
|
|
5737
5737
|
inputBorderStyle: { ...inputField$1, property: 'border-style' },
|
5738
5738
|
inputBorderWidth: { ...inputField$1, property: 'border-width' },
|
@@ -5824,26 +5824,26 @@ const PhoneFieldInputBoxClass = compose(
|
|
5824
5824
|
${resetInputLabelPosition('vaadin-text-field')}
|
5825
5825
|
`,
|
5826
5826
|
excludeAttrsSync: ['tabindex'],
|
5827
|
-
componentName: componentName$
|
5827
|
+
componentName: componentName$s,
|
5828
5828
|
})
|
5829
5829
|
);
|
5830
5830
|
|
5831
|
-
customElements.define(componentName$
|
5831
|
+
customElements.define(componentName$s, PhoneFieldInputBoxClass);
|
5832
5832
|
|
5833
|
-
const componentName$
|
5833
|
+
const componentName$r = getComponentName('new-password-internal');
|
5834
5834
|
|
5835
5835
|
const interpolateString = (template, values) =>
|
5836
5836
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
5837
5837
|
|
5838
5838
|
// eslint-disable-next-line max-classes-per-file
|
5839
5839
|
|
5840
|
-
const componentName$
|
5840
|
+
const componentName$q = getComponentName('policy-validation');
|
5841
5841
|
|
5842
5842
|
const overrideAttrs = ['data-password-policy-value-minlength'];
|
5843
5843
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
5844
5844
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
5845
5845
|
|
5846
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
5846
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$q, baseSelector: ':host > div' }) {
|
5847
5847
|
#availablePolicies;
|
5848
5848
|
|
5849
5849
|
#activePolicies = [];
|
@@ -6016,7 +6016,7 @@ class RawPolicyValidation extends createBaseClass({ componentName: componentName
|
|
6016
6016
|
}
|
6017
6017
|
}
|
6018
6018
|
|
6019
|
-
const { host: host$
|
6019
|
+
const { host: host$a, item, symbolDefault, symbolSuccess, symbolError } = {
|
6020
6020
|
host: { selector: () => ':host > div' },
|
6021
6021
|
item: { selector: () => '.item' },
|
6022
6022
|
symbolDefault: { selector: () => '.item[data-valid="none"]::before' },
|
@@ -6032,13 +6032,13 @@ const PolicyValidationClass = compose(
|
|
6032
6032
|
fontSize: {},
|
6033
6033
|
fontFamily: {},
|
6034
6034
|
padding: {},
|
6035
|
-
borderWidth: { ...host$
|
6036
|
-
borderStyle: { ...host$
|
6037
|
-
borderColor: { ...host$
|
6038
|
-
borderRadius: { ...host$
|
6039
|
-
backgroundColor: { ...host$
|
6035
|
+
borderWidth: { ...host$a, property: 'border-width' },
|
6036
|
+
borderStyle: { ...host$a, property: 'border-style' },
|
6037
|
+
borderColor: { ...host$a, property: 'border-color' },
|
6038
|
+
borderRadius: { ...host$a, property: 'border-radius' },
|
6039
|
+
backgroundColor: { ...host$a, property: 'background-color' },
|
6040
6040
|
textColor: { property: 'color' },
|
6041
|
-
labelMargin: { ...host$
|
6041
|
+
labelMargin: { ...host$a, property: 'gap' },
|
6042
6042
|
itemsSpacing: { ...item, property: 'line-height' },
|
6043
6043
|
itemSymbolSuccessColor: { ...symbolSuccess, property: 'color' },
|
6044
6044
|
itemSymbolErrorColor: { ...symbolError, property: 'color' },
|
@@ -6051,7 +6051,7 @@ const PolicyValidationClass = compose(
|
|
6051
6051
|
componentNameValidationMixin
|
6052
6052
|
)(RawPolicyValidation);
|
6053
6053
|
|
6054
|
-
const componentName$
|
6054
|
+
const componentName$p = getComponentName('new-password');
|
6055
6055
|
|
6056
6056
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
6057
6057
|
|
@@ -6063,16 +6063,16 @@ const customMixin$3 = (superclass) =>
|
|
6063
6063
|
const template = document.createElement('template');
|
6064
6064
|
|
6065
6065
|
template.innerHTML = `
|
6066
|
-
<${componentName$
|
6066
|
+
<${componentName$r}
|
6067
6067
|
name="new-password"
|
6068
6068
|
tabindex="-1"
|
6069
6069
|
slot="input"
|
6070
|
-
></${componentName$
|
6070
|
+
></${componentName$r}>
|
6071
6071
|
`;
|
6072
6072
|
|
6073
6073
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6074
6074
|
|
6075
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6075
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$r);
|
6076
6076
|
|
6077
6077
|
forwardAttrs(this, this.inputElement, {
|
6078
6078
|
includeAttrs: [
|
@@ -6099,7 +6099,7 @@ const customMixin$3 = (superclass) =>
|
|
6099
6099
|
};
|
6100
6100
|
|
6101
6101
|
const {
|
6102
|
-
host: host$
|
6102
|
+
host: host$9,
|
6103
6103
|
label: label$2,
|
6104
6104
|
internalInputsWrapper,
|
6105
6105
|
errorMessage: errorMessage$3,
|
@@ -6120,7 +6120,7 @@ const NewPasswordClass = compose(
|
|
6120
6120
|
createStyleMixin({
|
6121
6121
|
mappings: {
|
6122
6122
|
fontSize: [
|
6123
|
-
host$
|
6123
|
+
host$9,
|
6124
6124
|
{},
|
6125
6125
|
{
|
6126
6126
|
selector: PasswordClass.componentName,
|
@@ -6129,13 +6129,13 @@ const NewPasswordClass = compose(
|
|
6129
6129
|
],
|
6130
6130
|
fontFamily: [label$2, errorMessage$3, helperText$2],
|
6131
6131
|
errorMessageTextColor: { ...errorMessage$3, property: 'color' },
|
6132
|
-
hostWidth: { ...host$
|
6133
|
-
hostMinWidth: { ...host$
|
6132
|
+
hostWidth: { ...host$9, property: 'width' },
|
6133
|
+
hostMinWidth: { ...host$9, property: 'min-width' },
|
6134
6134
|
hostDirection: [
|
6135
|
-
{ ...host$
|
6135
|
+
{ ...host$9, property: 'direction' },
|
6136
6136
|
{ ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
|
6137
6137
|
],
|
6138
|
-
inputsRequiredIndicator: { ...host$
|
6138
|
+
inputsRequiredIndicator: { ...host$9, property: 'content' },
|
6139
6139
|
spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
|
6140
6140
|
policyPreviewBackgroundColor: {
|
6141
6141
|
...policyPreview,
|
@@ -6204,11 +6204,11 @@ const NewPasswordClass = compose(
|
|
6204
6204
|
}
|
6205
6205
|
`,
|
6206
6206
|
excludeAttrsSync: ['tabindex'],
|
6207
|
-
componentName: componentName$
|
6207
|
+
componentName: componentName$p,
|
6208
6208
|
})
|
6209
6209
|
);
|
6210
6210
|
|
6211
|
-
customElements.define(componentName$
|
6211
|
+
customElements.define(componentName$q, PolicyValidationClass);
|
6212
6212
|
|
6213
6213
|
const passwordAttrPrefixRegex = /^password-/;
|
6214
6214
|
const confirmAttrPrefixRegex = /^confirm-/;
|
@@ -6237,7 +6237,7 @@ const inputRelatedAttrs = [].concat(
|
|
6237
6237
|
policyPanelAttrs
|
6238
6238
|
);
|
6239
6239
|
|
6240
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
6240
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
|
6241
6241
|
|
6242
6242
|
class NewPasswordInternal extends BaseInputClass$4 {
|
6243
6243
|
static get observedAttributes() {
|
@@ -6444,16 +6444,16 @@ class NewPasswordInternal extends BaseInputClass$4 {
|
|
6444
6444
|
}
|
6445
6445
|
}
|
6446
6446
|
|
6447
|
-
customElements.define(componentName$
|
6447
|
+
customElements.define(componentName$r, NewPasswordInternal);
|
6448
6448
|
|
6449
|
-
customElements.define(componentName$
|
6449
|
+
customElements.define(componentName$p, NewPasswordClass);
|
6450
6450
|
|
6451
|
-
const componentName$
|
6451
|
+
const componentName$o = getComponentName('recaptcha');
|
6452
6452
|
|
6453
6453
|
const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
|
6454
6454
|
|
6455
6455
|
const BaseClass = createBaseClass({
|
6456
|
-
componentName: componentName$
|
6456
|
+
componentName: componentName$o,
|
6457
6457
|
baseSelector: ':host > div',
|
6458
6458
|
});
|
6459
6459
|
class RawRecaptcha extends BaseClass {
|
@@ -6605,7 +6605,7 @@ class RawRecaptcha extends BaseClass {
|
|
6605
6605
|
|
6606
6606
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
6607
6607
|
|
6608
|
-
customElements.define(componentName$
|
6608
|
+
customElements.define(componentName$o, RecaptchaClass);
|
6609
6609
|
|
6610
6610
|
const getFileBase64 = (fileObj) => {
|
6611
6611
|
return new Promise((resolve) => {
|
@@ -6619,7 +6619,7 @@ const getFilename = (fileObj) => {
|
|
6619
6619
|
return fileObj.name.replace(/^.*\\/, '');
|
6620
6620
|
};
|
6621
6621
|
|
6622
|
-
const componentName$
|
6622
|
+
const componentName$n = getComponentName('upload-file');
|
6623
6623
|
|
6624
6624
|
const observedAttributes = [
|
6625
6625
|
'title',
|
@@ -6634,7 +6634,7 @@ const observedAttributes = [
|
|
6634
6634
|
'icon',
|
6635
6635
|
];
|
6636
6636
|
|
6637
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
6637
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$n, baseSelector: ':host > div' });
|
6638
6638
|
|
6639
6639
|
class RawUploadFile extends BaseInputClass$3 {
|
6640
6640
|
static get observedAttributes() {
|
@@ -6806,7 +6806,7 @@ class RawUploadFile extends BaseInputClass$3 {
|
|
6806
6806
|
}
|
6807
6807
|
|
6808
6808
|
const buttonVars = ButtonClass.cssVarList;
|
6809
|
-
const { host: host$
|
6809
|
+
const { host: host$8, wrapper, icon, title, description, requiredIndicator: requiredIndicator$2 } = {
|
6810
6810
|
host: { selector: () => ':host' },
|
6811
6811
|
wrapper: { selector: () => ':host > div' },
|
6812
6812
|
icon: { selector: () => '::slotted(*)' },
|
@@ -6825,11 +6825,11 @@ const UploadFileClass = compose(
|
|
6825
6825
|
borderWidth: {},
|
6826
6826
|
borderStyle: {},
|
6827
6827
|
borderRadius: {},
|
6828
|
-
hostHeight: { ...host$
|
6829
|
-
hostWidth: { ...host$
|
6828
|
+
hostHeight: { ...host$8, property: 'height' },
|
6829
|
+
hostWidth: { ...host$8, property: 'width' },
|
6830
6830
|
hostPadding: { property: 'padding' },
|
6831
6831
|
hostDirection: [
|
6832
|
-
{ ...host$
|
6832
|
+
{ ...host$8, property: 'direction' },
|
6833
6833
|
{ selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
|
6834
6834
|
],
|
6835
6835
|
gap: { ...wrapper },
|
@@ -6849,7 +6849,7 @@ const UploadFileClass = compose(
|
|
6849
6849
|
componentNameValidationMixin
|
6850
6850
|
)(RawUploadFile);
|
6851
6851
|
|
6852
|
-
customElements.define(componentName$
|
6852
|
+
customElements.define(componentName$n, UploadFileClass);
|
6853
6853
|
|
6854
6854
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
6855
6855
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
@@ -6947,10 +6947,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
6947
6947
|
return BaseButtonSelectionGroupInternalClass;
|
6948
6948
|
};
|
6949
6949
|
|
6950
|
-
const componentName$
|
6950
|
+
const componentName$m = getComponentName('button-selection-group-internal');
|
6951
6951
|
|
6952
6952
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
6953
|
-
componentName$
|
6953
|
+
componentName$m
|
6954
6954
|
) {
|
6955
6955
|
getSelectedNode() {
|
6956
6956
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -7106,7 +7106,7 @@ const buttonSelectionGroupBaseMixin = (superclass) =>
|
|
7106
7106
|
}
|
7107
7107
|
};
|
7108
7108
|
|
7109
|
-
const { host: host$
|
7109
|
+
const { host: host$7, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper, errorMessage: errorMessage$2 } = {
|
7110
7110
|
host: { selector: () => ':host' },
|
7111
7111
|
label: { selector: '::part(label)' },
|
7112
7112
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
@@ -7115,9 +7115,9 @@ const { host: host$6, label: label$1, requiredIndicator: requiredIndicator$1, in
|
|
7115
7115
|
};
|
7116
7116
|
|
7117
7117
|
const buttonSelectionGroupMappings = {
|
7118
|
-
hostWidth: { ...host$
|
7119
|
-
hostDirection: { ...host$
|
7120
|
-
fontFamily: host$
|
7118
|
+
hostWidth: { ...host$7, property: 'width' },
|
7119
|
+
hostDirection: { ...host$7, property: 'direction' },
|
7120
|
+
fontFamily: host$7,
|
7121
7121
|
labelTextColor: [
|
7122
7122
|
{ ...label$1, property: 'color' },
|
7123
7123
|
{ ...requiredIndicator$1, property: 'color' },
|
@@ -7182,7 +7182,7 @@ const buttonSelectionGroupStyles = `
|
|
7182
7182
|
${resetInputCursor('vaadin-text-field')}
|
7183
7183
|
`;
|
7184
7184
|
|
7185
|
-
const componentName$
|
7185
|
+
const componentName$l = getComponentName('button-selection-group');
|
7186
7186
|
|
7187
7187
|
const buttonSelectionGroupMixin = (superclass) =>
|
7188
7188
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -7191,19 +7191,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
7191
7191
|
const template = document.createElement('template');
|
7192
7192
|
|
7193
7193
|
template.innerHTML = `
|
7194
|
-
<${componentName$
|
7194
|
+
<${componentName$m}
|
7195
7195
|
name="button-selection-group"
|
7196
7196
|
slot="input"
|
7197
7197
|
tabindex="-1"
|
7198
7198
|
part="internal-component"
|
7199
7199
|
>
|
7200
7200
|
<slot></slot>
|
7201
|
-
</${componentName$
|
7201
|
+
</${componentName$m}>
|
7202
7202
|
`;
|
7203
7203
|
|
7204
7204
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7205
7205
|
|
7206
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7206
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$m);
|
7207
7207
|
|
7208
7208
|
forwardAttrs(this, this.inputElement, {
|
7209
7209
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -7228,16 +7228,16 @@ const ButtonSelectionGroupClass = compose(
|
|
7228
7228
|
wrappedEleName: 'vaadin-text-field',
|
7229
7229
|
style: () => buttonSelectionGroupStyles,
|
7230
7230
|
excludeAttrsSync: ['tabindex'],
|
7231
|
-
componentName: componentName$
|
7231
|
+
componentName: componentName$l,
|
7232
7232
|
})
|
7233
7233
|
);
|
7234
7234
|
|
7235
|
-
customElements.define(componentName$
|
7235
|
+
customElements.define(componentName$m, ButtonSelectionGroupInternalClass);
|
7236
7236
|
|
7237
|
-
const componentName$
|
7237
|
+
const componentName$k = getComponentName('button-selection-group-item');
|
7238
7238
|
|
7239
7239
|
class RawSelectItem extends createBaseClass({
|
7240
|
-
componentName: componentName$
|
7240
|
+
componentName: componentName$k,
|
7241
7241
|
baseSelector: ':host > descope-button',
|
7242
7242
|
}) {
|
7243
7243
|
get size() {
|
@@ -7344,14 +7344,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
7344
7344
|
componentNameValidationMixin
|
7345
7345
|
)(RawSelectItem);
|
7346
7346
|
|
7347
|
-
customElements.define(componentName$
|
7347
|
+
customElements.define(componentName$k, ButtonSelectionGroupItemClass);
|
7348
7348
|
|
7349
|
-
customElements.define(componentName$
|
7349
|
+
customElements.define(componentName$l, ButtonSelectionGroupClass);
|
7350
7350
|
|
7351
|
-
const componentName$
|
7351
|
+
const componentName$j = getComponentName('button-multi-selection-group-internal');
|
7352
7352
|
|
7353
7353
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
7354
|
-
componentName$
|
7354
|
+
componentName$j
|
7355
7355
|
) {
|
7356
7356
|
#getSelectedNodes() {
|
7357
7357
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -7454,7 +7454,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
7454
7454
|
}
|
7455
7455
|
}
|
7456
7456
|
|
7457
|
-
const componentName$
|
7457
|
+
const componentName$i = getComponentName('button-multi-selection-group');
|
7458
7458
|
|
7459
7459
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
7460
7460
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -7463,19 +7463,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
7463
7463
|
const template = document.createElement('template');
|
7464
7464
|
|
7465
7465
|
template.innerHTML = `
|
7466
|
-
<${componentName$
|
7466
|
+
<${componentName$j}
|
7467
7467
|
name="button-selection-group"
|
7468
7468
|
slot="input"
|
7469
7469
|
tabindex="-1"
|
7470
7470
|
part="internal-component"
|
7471
7471
|
>
|
7472
7472
|
<slot></slot>
|
7473
|
-
</${componentName$
|
7473
|
+
</${componentName$j}>
|
7474
7474
|
`;
|
7475
7475
|
|
7476
7476
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7477
7477
|
|
7478
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7478
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$j);
|
7479
7479
|
|
7480
7480
|
forwardAttrs(this, this.inputElement, {
|
7481
7481
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -7500,13 +7500,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
7500
7500
|
wrappedEleName: 'vaadin-text-field',
|
7501
7501
|
style: () => buttonSelectionGroupStyles,
|
7502
7502
|
excludeAttrsSync: ['tabindex'],
|
7503
|
-
componentName: componentName$
|
7503
|
+
componentName: componentName$i,
|
7504
7504
|
})
|
7505
7505
|
);
|
7506
7506
|
|
7507
|
-
customElements.define(componentName$
|
7507
|
+
customElements.define(componentName$j, ButtonMultiSelectionGroupInternalClass);
|
7508
7508
|
|
7509
|
-
customElements.define(componentName$
|
7509
|
+
customElements.define(componentName$i, ButtonMultiSelectionGroupClass);
|
7510
7510
|
|
7511
7511
|
/* eslint-disable no-param-reassign */
|
7512
7512
|
|
@@ -7534,9 +7534,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
7534
7534
|
}
|
7535
7535
|
}
|
7536
7536
|
|
7537
|
-
const componentName$
|
7537
|
+
const componentName$h = getComponentName('grid-text-column');
|
7538
7538
|
|
7539
|
-
customElements.define(componentName$
|
7539
|
+
customElements.define(componentName$h, GridTextColumnClass);
|
7540
7540
|
|
7541
7541
|
/* eslint-disable no-param-reassign */
|
7542
7542
|
|
@@ -7571,9 +7571,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
7571
7571
|
|
7572
7572
|
/* eslint-disable no-param-reassign */
|
7573
7573
|
|
7574
|
-
const componentName$
|
7574
|
+
const componentName$g = getComponentName('grid-custom-column');
|
7575
7575
|
|
7576
|
-
customElements.define(componentName$
|
7576
|
+
customElements.define(componentName$g, GridCustomColumnClass);
|
7577
7577
|
|
7578
7578
|
const createCheckboxEle = () => {
|
7579
7579
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -7632,9 +7632,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
7632
7632
|
}
|
7633
7633
|
}
|
7634
7634
|
|
7635
|
-
const componentName$
|
7635
|
+
const componentName$f = getComponentName('grid-selection-column');
|
7636
7636
|
|
7637
|
-
customElements.define(componentName$
|
7637
|
+
customElements.define(componentName$f, GridSelectionColumnClass);
|
7638
7638
|
|
7639
7639
|
const isValidDataType = (data) => {
|
7640
7640
|
const isValid = Array.isArray(data);
|
@@ -7646,7 +7646,7 @@ const isValidDataType = (data) => {
|
|
7646
7646
|
return isValid;
|
7647
7647
|
};
|
7648
7648
|
|
7649
|
-
const componentName$
|
7649
|
+
const componentName$e = getComponentName('grid');
|
7650
7650
|
|
7651
7651
|
const GridMixin = (superclass) =>
|
7652
7652
|
class GridMixinClass extends superclass {
|
@@ -7806,7 +7806,7 @@ const GridMixin = (superclass) =>
|
|
7806
7806
|
};
|
7807
7807
|
|
7808
7808
|
const {
|
7809
|
-
host: host$
|
7809
|
+
host: host$6,
|
7810
7810
|
headerRow,
|
7811
7811
|
headerRowCell,
|
7812
7812
|
contentRow,
|
@@ -7841,15 +7841,15 @@ const GridClass = compose(
|
|
7841
7841
|
fontWeight: { ...contentRow },
|
7842
7842
|
valueTextColor: { ...contentRow, property: 'color' },
|
7843
7843
|
backgroundColor: [
|
7844
|
-
{ ...host$
|
7844
|
+
{ ...host$6, property: 'background-color' },
|
7845
7845
|
{ ...contentRow, property: 'background-color' },
|
7846
7846
|
],
|
7847
7847
|
sortIndicatorsColor: { ...sortIndicators, property: 'color' },
|
7848
7848
|
activeSortIndicator: { ...activeSortIndicator, property: 'color' },
|
7849
|
-
borderColor: { ...host$
|
7850
|
-
borderWidth: { ...host$
|
7851
|
-
borderStyle: { ...host$
|
7852
|
-
borderRadius: { ...host$
|
7849
|
+
borderColor: { ...host$6, property: 'border-color' },
|
7850
|
+
borderWidth: { ...host$6, property: 'border-width' },
|
7851
|
+
borderStyle: { ...host$6, property: 'border-style' },
|
7852
|
+
borderRadius: { ...host$6, property: 'border-radius' },
|
7853
7853
|
selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
|
7854
7854
|
headerRowTextColor: { ...headerRowCell, property: 'color' },
|
7855
7855
|
separatorColor: [
|
@@ -7882,13 +7882,13 @@ const GridClass = compose(
|
|
7882
7882
|
}
|
7883
7883
|
`,
|
7884
7884
|
excludeAttrsSync: ['columns', 'tabindex'],
|
7885
|
-
componentName: componentName$
|
7885
|
+
componentName: componentName$e,
|
7886
7886
|
})
|
7887
7887
|
);
|
7888
7888
|
|
7889
|
-
customElements.define(componentName$
|
7889
|
+
customElements.define(componentName$e, GridClass);
|
7890
7890
|
|
7891
|
-
const componentName$
|
7891
|
+
const componentName$d = getComponentName('multi-select-combo-box');
|
7892
7892
|
|
7893
7893
|
const multiSelectComboBoxMixin = (superclass) =>
|
7894
7894
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -8276,7 +8276,7 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
8276
8276
|
};
|
8277
8277
|
|
8278
8278
|
const {
|
8279
|
-
host: host$
|
8279
|
+
host: host$5,
|
8280
8280
|
inputField,
|
8281
8281
|
inputElement,
|
8282
8282
|
placeholder,
|
@@ -8314,10 +8314,10 @@ const {
|
|
8314
8314
|
const MultiSelectComboBoxClass = compose(
|
8315
8315
|
createStyleMixin({
|
8316
8316
|
mappings: {
|
8317
|
-
hostWidth: { ...host$
|
8318
|
-
hostDirection: { ...host$
|
8317
|
+
hostWidth: { ...host$5, property: 'width' },
|
8318
|
+
hostDirection: { ...host$5, property: 'direction' },
|
8319
8319
|
// we apply font-size also on the host so we can set its width with em
|
8320
|
-
fontSize: [{}, host$
|
8320
|
+
fontSize: [{}, host$5],
|
8321
8321
|
chipFontSize: { ...chipLabel, property: 'font-size' },
|
8322
8322
|
fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$1, chipLabel],
|
8323
8323
|
labelTextColor: [
|
@@ -8492,16 +8492,16 @@ const MultiSelectComboBoxClass = compose(
|
|
8492
8492
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
8493
8493
|
// tries to override it, causing us to lose the user set placeholder.
|
8494
8494
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
8495
|
-
componentName: componentName$
|
8495
|
+
componentName: componentName$d,
|
8496
8496
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
8497
8497
|
})
|
8498
8498
|
);
|
8499
8499
|
|
8500
|
-
customElements.define(componentName$
|
8500
|
+
customElements.define(componentName$d, MultiSelectComboBoxClass);
|
8501
8501
|
|
8502
|
-
const componentName$
|
8502
|
+
const componentName$c = getComponentName('badge');
|
8503
8503
|
|
8504
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
8504
|
+
class RawBadge extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
|
8505
8505
|
constructor() {
|
8506
8506
|
super();
|
8507
8507
|
|
@@ -8552,9 +8552,9 @@ const BadgeClass = compose(
|
|
8552
8552
|
componentNameValidationMixin
|
8553
8553
|
)(RawBadge);
|
8554
8554
|
|
8555
|
-
customElements.define(componentName$
|
8555
|
+
customElements.define(componentName$c, BadgeClass);
|
8556
8556
|
|
8557
|
-
const componentName$
|
8557
|
+
const componentName$b = getComponentName('modal');
|
8558
8558
|
|
8559
8559
|
const customMixin$2 = (superclass) =>
|
8560
8560
|
class ModalMixinClass extends superclass {
|
@@ -8653,11 +8653,11 @@ const ModalClass = compose(
|
|
8653
8653
|
wrappedEleName: 'vaadin-dialog',
|
8654
8654
|
style: () => ``,
|
8655
8655
|
excludeAttrsSync: ['tabindex', 'opened'],
|
8656
|
-
componentName: componentName$
|
8656
|
+
componentName: componentName$b,
|
8657
8657
|
})
|
8658
8658
|
);
|
8659
8659
|
|
8660
|
-
customElements.define(componentName$
|
8660
|
+
customElements.define(componentName$b, ModalClass);
|
8661
8661
|
|
8662
8662
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
8663
8663
|
|
@@ -8668,7 +8668,7 @@ if (!vaadinContainerClass) {
|
|
8668
8668
|
class NotificationContainerClass extends vaadinContainerClass {}
|
8669
8669
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
8670
8670
|
|
8671
|
-
const componentName$
|
8671
|
+
const componentName$a = getComponentName('notification-card');
|
8672
8672
|
|
8673
8673
|
const notificationCardMixin = (superclass) =>
|
8674
8674
|
class NotificationCardMixinClass extends superclass {
|
@@ -8776,13 +8776,13 @@ const NotificationCardClass = compose(
|
|
8776
8776
|
}
|
8777
8777
|
`,
|
8778
8778
|
excludeAttrsSync: ['tabindex'],
|
8779
|
-
componentName: componentName$
|
8779
|
+
componentName: componentName$a,
|
8780
8780
|
})
|
8781
8781
|
);
|
8782
8782
|
|
8783
|
-
customElements.define(componentName$
|
8783
|
+
customElements.define(componentName$a, NotificationCardClass);
|
8784
8784
|
|
8785
|
-
const componentName$
|
8785
|
+
const componentName$9 = getComponentName('notification');
|
8786
8786
|
|
8787
8787
|
const NotificationMixin = (superclass) =>
|
8788
8788
|
class NotificationMixinClass extends superclass {
|
@@ -8877,14 +8877,14 @@ const NotificationClass = compose(
|
|
8877
8877
|
createProxy({
|
8878
8878
|
wrappedEleName: 'vaadin-notification',
|
8879
8879
|
excludeAttrsSync: ['tabindex'],
|
8880
|
-
componentName: componentName$
|
8880
|
+
componentName: componentName$9,
|
8881
8881
|
})
|
8882
8882
|
);
|
8883
8883
|
|
8884
|
-
customElements.define(componentName$
|
8884
|
+
customElements.define(componentName$9, NotificationClass);
|
8885
8885
|
|
8886
|
-
const componentName$
|
8887
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
8886
|
+
const componentName$8 = getComponentName('avatar');
|
8887
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$8, baseSelector: ':host > .wrapper' }) {
|
8888
8888
|
constructor() {
|
8889
8889
|
super();
|
8890
8890
|
|
@@ -8959,7 +8959,7 @@ class RawAvatar extends createBaseClass({ componentName: componentName$7, baseSe
|
|
8959
8959
|
}
|
8960
8960
|
}
|
8961
8961
|
|
8962
|
-
const { host: host$
|
8962
|
+
const { host: host$4, editableBadge, avatar: avatar$2 } = {
|
8963
8963
|
host: { selector: () => ':host' },
|
8964
8964
|
editableBadge: { selector: '> .editableBadge' },
|
8965
8965
|
avatar: { selector: 'vaadin-avatar' },
|
@@ -8968,10 +8968,10 @@ const { host: host$3, editableBadge, avatar: avatar$2 } = {
|
|
8968
8968
|
const AvatarClass = compose(
|
8969
8969
|
createStyleMixin({
|
8970
8970
|
mappings: {
|
8971
|
-
hostWidth: { ...host$
|
8972
|
-
hostHeight: { ...host$
|
8973
|
-
cursor: [avatar$2, host$
|
8974
|
-
hostDirection: { ...host$
|
8971
|
+
hostWidth: { ...host$4, property: 'width' },
|
8972
|
+
hostHeight: { ...host$4, property: 'height' },
|
8973
|
+
cursor: [avatar$2, host$4],
|
8974
|
+
hostDirection: { ...host$4, property: 'direction' },
|
8975
8975
|
avatarTextColor: { ...avatar$2, property: 'color' },
|
8976
8976
|
avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
|
8977
8977
|
editableIconColor: { ...editableBadge, property: 'color' },
|
@@ -8983,11 +8983,11 @@ const AvatarClass = compose(
|
|
8983
8983
|
componentNameValidationMixin
|
8984
8984
|
)(RawAvatar);
|
8985
8985
|
|
8986
|
-
customElements.define(componentName$
|
8986
|
+
customElements.define(componentName$8, AvatarClass);
|
8987
8987
|
|
8988
|
-
const componentName$
|
8988
|
+
const componentName$7 = getComponentName('mappings-field-internal');
|
8989
8989
|
|
8990
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
8990
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$7, baseSelector: 'div' });
|
8991
8991
|
|
8992
8992
|
class MappingsFieldInternal extends BaseInputClass$2 {
|
8993
8993
|
#errorItem;
|
@@ -9222,7 +9222,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
|
|
9222
9222
|
}
|
9223
9223
|
}
|
9224
9224
|
|
9225
|
-
const componentName$
|
9225
|
+
const componentName$6 = getComponentName('mappings-field');
|
9226
9226
|
|
9227
9227
|
const customMixin$1 = (superclass) =>
|
9228
9228
|
class MappingsFieldMixinClass extends superclass {
|
@@ -9251,14 +9251,14 @@ const customMixin$1 = (superclass) =>
|
|
9251
9251
|
const template = document.createElement('template');
|
9252
9252
|
|
9253
9253
|
template.innerHTML = `
|
9254
|
-
<${componentName$
|
9254
|
+
<${componentName$7}
|
9255
9255
|
tabindex="-1"
|
9256
|
-
></${componentName$
|
9256
|
+
></${componentName$7}>
|
9257
9257
|
`;
|
9258
9258
|
|
9259
9259
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
9260
9260
|
|
9261
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
9261
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$7);
|
9262
9262
|
|
9263
9263
|
forwardAttrs(this, this.inputElement, {
|
9264
9264
|
includeAttrs: [
|
@@ -9285,7 +9285,7 @@ const customMixin$1 = (superclass) =>
|
|
9285
9285
|
};
|
9286
9286
|
|
9287
9287
|
const {
|
9288
|
-
host: host$
|
9288
|
+
host: host$3,
|
9289
9289
|
helperText,
|
9290
9290
|
errorMessage,
|
9291
9291
|
mappingItem,
|
@@ -9313,10 +9313,10 @@ const {
|
|
9313
9313
|
const MappingsFieldClass = compose(
|
9314
9314
|
createStyleMixin({
|
9315
9315
|
mappings: {
|
9316
|
-
hostWidth: { ...host$
|
9317
|
-
hostDirection: { ...host$
|
9316
|
+
hostWidth: { ...host$3, property: 'width' },
|
9317
|
+
hostDirection: { ...host$3, property: 'direction' },
|
9318
9318
|
// we apply font-size also on the host so we can set its width with em
|
9319
|
-
fontSize: [{}, host$
|
9319
|
+
fontSize: [{}, host$3, { ...separator, property: 'margin-top' }],
|
9320
9320
|
fontFamily: [helperText, errorMessage, labels],
|
9321
9321
|
separatorFontSize: { ...separator, property: 'font-size' },
|
9322
9322
|
labelsFontSize: { ...labelsText, property: 'font-size' },
|
@@ -9387,17 +9387,17 @@ const MappingsFieldClass = compose(
|
|
9387
9387
|
'options',
|
9388
9388
|
'error-message',
|
9389
9389
|
],
|
9390
|
-
componentName: componentName$
|
9390
|
+
componentName: componentName$6,
|
9391
9391
|
})
|
9392
9392
|
);
|
9393
9393
|
|
9394
|
-
customElements.define(componentName$
|
9394
|
+
customElements.define(componentName$7, MappingsFieldInternal);
|
9395
9395
|
|
9396
|
-
const componentName$
|
9396
|
+
const componentName$5 = getComponentName('mapping-item');
|
9397
9397
|
|
9398
9398
|
const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
|
9399
9399
|
|
9400
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
9400
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$5, baseSelector: 'div' });
|
9401
9401
|
|
9402
9402
|
class MappingItem extends BaseInputClass$1 {
|
9403
9403
|
static get observedAttributes() {
|
@@ -9547,21 +9547,17 @@ class MappingItem extends BaseInputClass$1 {
|
|
9547
9547
|
}
|
9548
9548
|
}
|
9549
9549
|
|
9550
|
-
customElements.define(componentName$
|
9550
|
+
customElements.define(componentName$5, MappingItem);
|
9551
9551
|
|
9552
|
-
customElements.define(componentName$
|
9552
|
+
customElements.define(componentName$6, MappingsFieldClass);
|
9553
9553
|
|
9554
|
-
|
9555
|
-
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;
|
9556
|
-
}
|
9554
|
+
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
9557
9555
|
|
9558
|
-
|
9559
|
-
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;
|
9560
|
-
}
|
9556
|
+
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
9561
9557
|
|
9562
|
-
const componentName$
|
9558
|
+
const componentName$4 = getComponentName('user-attribute');
|
9563
9559
|
class RawUserAttribute extends createBaseClass({
|
9564
|
-
componentName: componentName$
|
9560
|
+
componentName: componentName$4,
|
9565
9561
|
baseSelector: ':host > .root',
|
9566
9562
|
}) {
|
9567
9563
|
constructor() {
|
@@ -9612,6 +9608,10 @@ class RawUserAttribute extends createBaseClass({
|
|
9612
9608
|
margin-inline-end: 10px;
|
9613
9609
|
}
|
9614
9610
|
|
9611
|
+
.hidden {
|
9612
|
+
visibility: hidden;
|
9613
|
+
}
|
9614
|
+
|
9615
9615
|
descope-text[data-id="label-text"].required:after {
|
9616
9616
|
content: '*';
|
9617
9617
|
color: var(${TextClass.cssVarList.textColor});
|
@@ -9705,6 +9705,7 @@ class RawUserAttribute extends createBaseClass({
|
|
9705
9705
|
this.onIsRequiredChange();
|
9706
9706
|
this.onBadgeLabelChange();
|
9707
9707
|
this.onBadgeTooltipTextChange();
|
9708
|
+
this.handleDeleteButtonVisibility();
|
9708
9709
|
|
9709
9710
|
this.deleteButton.addEventListener('click', () =>
|
9710
9711
|
this.dispatchEvent(new CustomEvent('delete-clicked', { bubbles: true, composed: true }))
|
@@ -9726,6 +9727,10 @@ class RawUserAttribute extends createBaseClass({
|
|
9726
9727
|
].concat(super.observedAttributes);
|
9727
9728
|
}
|
9728
9729
|
|
9730
|
+
handleDeleteButtonVisibility() {
|
9731
|
+
this.deleteButton.classList.toggle('hidden', this.isRequired || !this.value);
|
9732
|
+
}
|
9733
|
+
|
9729
9734
|
attributeChangedCallback(name, oldValue, newValue) {
|
9730
9735
|
super.attributeChangedCallback?.(name, oldValue, newValue);
|
9731
9736
|
|
@@ -9744,10 +9749,14 @@ class RawUserAttribute extends createBaseClass({
|
|
9744
9749
|
} else if (name === 'badge-tooltip-text') {
|
9745
9750
|
this.onBadgeTooltipTextChange();
|
9746
9751
|
}
|
9752
|
+
|
9753
|
+
if (name === 'value' || name === 'required') {
|
9754
|
+
this.handleDeleteButtonVisibility();
|
9755
|
+
}
|
9747
9756
|
}
|
9748
9757
|
}
|
9749
9758
|
|
9750
|
-
const { host: host$
|
9759
|
+
const { host: host$2, textFields, buttons: buttons$1, badge: badge$3, labelText, valueText, textWrapper: textWrapper$1 } = {
|
9751
9760
|
host: { selector: () => ':host' },
|
9752
9761
|
textFields: { selector: 'descope-text' },
|
9753
9762
|
valueText: { selector: 'descope-text[data-id="value-text"]' },
|
@@ -9758,27 +9767,224 @@ const { host: host$1, textFields, buttons, badge: badge$2, labelText, valueText,
|
|
9758
9767
|
};
|
9759
9768
|
|
9760
9769
|
const UserAttributeClass = compose(
|
9770
|
+
createStyleMixin({
|
9771
|
+
mappings: {
|
9772
|
+
hostWidth: { ...host$2, property: 'width' },
|
9773
|
+
hostMinWidth: { ...host$2, property: 'min-width' },
|
9774
|
+
hostDirection: [
|
9775
|
+
{ ...host$2, property: 'direction' },
|
9776
|
+
{ ...textFields, property: TextClass.cssVarList.hostDirection },
|
9777
|
+
{ ...buttons$1, property: ButtonClass.cssVarList.hostDirection },
|
9778
|
+
{ ...badge$3, property: BadgeClass.cssVarList.hostDirection },
|
9779
|
+
],
|
9780
|
+
labelTextWidth: { ...labelText, property: 'width' },
|
9781
|
+
valueTextWidth: { ...valueText, property: 'width' },
|
9782
|
+
badgeMaxWidth: { ...badge$3, property: 'max-width' },
|
9783
|
+
itemsGap: [{ property: 'gap' }, { ...textWrapper$1, property: 'gap' }],
|
9784
|
+
},
|
9785
|
+
}),
|
9786
|
+
draggableMixin,
|
9787
|
+
componentNameValidationMixin
|
9788
|
+
)(RawUserAttribute);
|
9789
|
+
|
9790
|
+
customElements.define(componentName$4, UserAttributeClass);
|
9791
|
+
|
9792
|
+
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
9793
|
+
|
9794
|
+
const componentName$3 = getComponentName('user-auth-method');
|
9795
|
+
class RawUserAuthMethod extends createBaseClass({
|
9796
|
+
componentName: componentName$3,
|
9797
|
+
baseSelector: ':host > .root',
|
9798
|
+
}) {
|
9799
|
+
constructor() {
|
9800
|
+
super();
|
9801
|
+
|
9802
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
9803
|
+
<style>
|
9804
|
+
:host {
|
9805
|
+
display: inline-flex;
|
9806
|
+
}
|
9807
|
+
|
9808
|
+
vaadin-icon {
|
9809
|
+
color: currentcolor;
|
9810
|
+
}
|
9811
|
+
|
9812
|
+
.root {
|
9813
|
+
display: flex;
|
9814
|
+
width: 100%;
|
9815
|
+
height: 100%;
|
9816
|
+
align-items: center;
|
9817
|
+
}
|
9818
|
+
|
9819
|
+
.btn-wrapper {
|
9820
|
+
display: flex;
|
9821
|
+
justify-content: space-between;
|
9822
|
+
align-items: center;
|
9823
|
+
flex-grow: 0;
|
9824
|
+
}
|
9825
|
+
|
9826
|
+
.text-wrapper {
|
9827
|
+
display: flex;
|
9828
|
+
align-items: center;
|
9829
|
+
flex-grow: 1;
|
9830
|
+
}
|
9831
|
+
|
9832
|
+
descope-text::part(text-wrapper) {
|
9833
|
+
text-overflow: ellipsis;
|
9834
|
+
overflow: hidden;
|
9835
|
+
white-space: nowrap;
|
9836
|
+
width: initial;
|
9837
|
+
}
|
9838
|
+
|
9839
|
+
descope-text {
|
9840
|
+
display: inline-flex;
|
9841
|
+
}
|
9842
|
+
|
9843
|
+
.fulfilled-indicator {
|
9844
|
+
width: 1em;
|
9845
|
+
height: 1em;
|
9846
|
+
display: flex;
|
9847
|
+
align-items: center;
|
9848
|
+
padding-inline-end: 1em;
|
9849
|
+
}
|
9850
|
+
|
9851
|
+
.hidden {
|
9852
|
+
display: none;
|
9853
|
+
}
|
9854
|
+
|
9855
|
+
.hidden-btn {
|
9856
|
+
width: 0;
|
9857
|
+
}
|
9858
|
+
|
9859
|
+
slot[name="method-icon"]{
|
9860
|
+
display: inline-flex;
|
9861
|
+
align-items: center;
|
9862
|
+
}
|
9863
|
+
</style>
|
9864
|
+
|
9865
|
+
|
9866
|
+
<div class="root">
|
9867
|
+
<div class="text-wrapper">
|
9868
|
+
<slot name="method-icon"></slot>
|
9869
|
+
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>
|
9870
|
+
</div>
|
9871
|
+
|
9872
|
+
<div class="btn-wrapper">
|
9873
|
+
<descope-button size="sm" variant="link" mode="primary">
|
9874
|
+
<slot name="button-icon"></slot>
|
9875
|
+
</descope-button>
|
9876
|
+
<div class="fulfilled-indicator">
|
9877
|
+
<vaadin-icon src=${greenVIcon}></vaadin-icon>
|
9878
|
+
</div>
|
9879
|
+
<descope-button class="hidden-btn"size="sm" variant="link" mode="primary"></descope-button>
|
9880
|
+
</div>
|
9881
|
+
</div>
|
9882
|
+
`;
|
9883
|
+
|
9884
|
+
this.button = this.shadowRoot.querySelector('descope-button');
|
9885
|
+
this.fulfilledIndicator = this.shadowRoot.querySelector('.fulfilled-indicator');
|
9886
|
+
this.labelText = this.shadowRoot.querySelector('descope-text[data-id="label-text"]');
|
9887
|
+
}
|
9888
|
+
|
9889
|
+
onLabelChange() {
|
9890
|
+
this.labelText.innerText = this.label;
|
9891
|
+
this.labelText.setAttribute('title', this.label);
|
9892
|
+
}
|
9893
|
+
|
9894
|
+
onButtonLabelChange() {
|
9895
|
+
let textSpanEle = this.button.querySelector('span');
|
9896
|
+
|
9897
|
+
if (this.buttonLabel) {
|
9898
|
+
if (!textSpanEle) {
|
9899
|
+
textSpanEle = document.createElement('span');
|
9900
|
+
this.button.appendChild(textSpanEle);
|
9901
|
+
}
|
9902
|
+
textSpanEle.innerText = this.buttonLabel;
|
9903
|
+
} else if (textSpanEle) {
|
9904
|
+
this.button.removeChild(textSpanEle);
|
9905
|
+
}
|
9906
|
+
}
|
9907
|
+
|
9908
|
+
onFulfilledChange() {
|
9909
|
+
this.button.classList.toggle('hidden', this.isFulfilled);
|
9910
|
+
this.fulfilledIndicator.classList.toggle('hidden', !this.isFulfilled);
|
9911
|
+
}
|
9912
|
+
|
9913
|
+
get label() {
|
9914
|
+
return this.getAttribute('label') || '';
|
9915
|
+
}
|
9916
|
+
|
9917
|
+
get buttonLabel() {
|
9918
|
+
return this.getAttribute('button-label') || '';
|
9919
|
+
}
|
9920
|
+
|
9921
|
+
get isFulfilled() {
|
9922
|
+
return this.getAttribute('fulfilled') === 'true';
|
9923
|
+
}
|
9924
|
+
|
9925
|
+
init() {
|
9926
|
+
this.onLabelChange();
|
9927
|
+
this.onButtonLabelChange();
|
9928
|
+
this.onFulfilledChange();
|
9929
|
+
|
9930
|
+
this.button.addEventListener('click', () =>
|
9931
|
+
this.dispatchEvent(new CustomEvent('button-clicked', { bubbles: true, composed: true }))
|
9932
|
+
);
|
9933
|
+
}
|
9934
|
+
|
9935
|
+
static get observedAttributes() {
|
9936
|
+
return ['label', 'fulfilled'].concat(super.observedAttributes);
|
9937
|
+
}
|
9938
|
+
|
9939
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
9940
|
+
super.attributeChangedCallback?.(name, oldValue, newValue);
|
9941
|
+
if (oldValue === newValue) {
|
9942
|
+
return;
|
9943
|
+
}
|
9944
|
+
|
9945
|
+
if (name === 'label') {
|
9946
|
+
this.onLabelChange();
|
9947
|
+
} else if (name === 'fulfilled') {
|
9948
|
+
this.onFulfilledChange();
|
9949
|
+
} else if (name === 'button-label') {
|
9950
|
+
this.onButtonLabelChange();
|
9951
|
+
}
|
9952
|
+
}
|
9953
|
+
}
|
9954
|
+
|
9955
|
+
const { host: host$1, textField: textField$2, buttons, badge: badge$2, textWrapper, methodIconSlot } = {
|
9956
|
+
host: { selector: () => ':host' },
|
9957
|
+
textField: { selector: 'descope-text' },
|
9958
|
+
buttons: { selector: 'descope-button' },
|
9959
|
+
badge: { selector: 'descope-badge' },
|
9960
|
+
textWrapper: { selector: ' .text-wrapper' },
|
9961
|
+
methodIconSlot: { selector: 'slot[name="method-icon"]' },
|
9962
|
+
};
|
9963
|
+
|
9964
|
+
const UserAuthMethodClass = compose(
|
9761
9965
|
createStyleMixin({
|
9762
9966
|
mappings: {
|
9763
9967
|
hostWidth: { ...host$1, property: 'width' },
|
9764
9968
|
hostMinWidth: { ...host$1, property: 'min-width' },
|
9765
9969
|
hostDirection: [
|
9766
9970
|
{ ...host$1, property: 'direction' },
|
9767
|
-
{ ...
|
9971
|
+
{ ...textField$2, property: TextClass.cssVarList.hostDirection },
|
9768
9972
|
{ ...buttons, property: ButtonClass.cssVarList.hostDirection },
|
9769
9973
|
{ ...badge$2, property: BadgeClass.cssVarList.hostDirection },
|
9770
9974
|
],
|
9771
|
-
labelTextWidth: { ...
|
9772
|
-
valueTextWidth: { ...valueText, property: 'width' },
|
9773
|
-
badgeMaxWidth: { ...badge$2, property: 'max-width' },
|
9975
|
+
labelTextWidth: { ...textField$2, property: 'width' },
|
9774
9976
|
itemsGap: [{ property: 'gap' }, { ...textWrapper, property: 'gap' }],
|
9977
|
+
iconSize: [
|
9978
|
+
{ ...methodIconSlot, property: 'width' },
|
9979
|
+
{ ...methodIconSlot, property: 'height' },
|
9980
|
+
],
|
9775
9981
|
},
|
9776
9982
|
}),
|
9777
9983
|
draggableMixin,
|
9778
9984
|
componentNameValidationMixin
|
9779
|
-
)(
|
9985
|
+
)(RawUserAuthMethod);
|
9780
9986
|
|
9781
|
-
customElements.define(componentName$3,
|
9987
|
+
customElements.define(componentName$3, UserAuthMethodClass);
|
9782
9988
|
|
9783
9989
|
const componentName$2 = getComponentName('saml-group-mappings-internal');
|
9784
9990
|
|
@@ -10440,33 +10646,33 @@ const globals = {
|
|
10440
10646
|
fonts,
|
10441
10647
|
direction,
|
10442
10648
|
};
|
10443
|
-
const vars$
|
10649
|
+
const vars$E = getThemeVars(globals);
|
10444
10650
|
|
10445
|
-
const globalRefs$
|
10651
|
+
const globalRefs$n = getThemeRefs(globals);
|
10446
10652
|
const compVars$5 = ButtonClass.cssVarList;
|
10447
10653
|
|
10448
10654
|
const mode = {
|
10449
|
-
primary: globalRefs$
|
10450
|
-
secondary: globalRefs$
|
10451
|
-
success: globalRefs$
|
10452
|
-
error: globalRefs$
|
10453
|
-
surface: globalRefs$
|
10655
|
+
primary: globalRefs$n.colors.primary,
|
10656
|
+
secondary: globalRefs$n.colors.secondary,
|
10657
|
+
success: globalRefs$n.colors.success,
|
10658
|
+
error: globalRefs$n.colors.error,
|
10659
|
+
surface: globalRefs$n.colors.surface,
|
10454
10660
|
};
|
10455
10661
|
|
10456
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
10662
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$R);
|
10457
10663
|
|
10458
10664
|
const button = {
|
10459
10665
|
...helperTheme$3,
|
10460
10666
|
|
10461
|
-
[compVars$5.fontFamily]: globalRefs$
|
10667
|
+
[compVars$5.fontFamily]: globalRefs$n.fonts.font1.family,
|
10462
10668
|
|
10463
10669
|
[compVars$5.cursor]: 'pointer',
|
10464
10670
|
[compVars$5.hostHeight]: '3em',
|
10465
10671
|
[compVars$5.hostWidth]: 'auto',
|
10466
|
-
[compVars$5.hostDirection]: globalRefs$
|
10672
|
+
[compVars$5.hostDirection]: globalRefs$n.direction,
|
10467
10673
|
|
10468
|
-
[compVars$5.borderRadius]: globalRefs$
|
10469
|
-
[compVars$5.borderWidth]: globalRefs$
|
10674
|
+
[compVars$5.borderRadius]: globalRefs$n.radius.sm,
|
10675
|
+
[compVars$5.borderWidth]: globalRefs$n.border.xs,
|
10470
10676
|
[compVars$5.borderStyle]: 'solid',
|
10471
10677
|
[compVars$5.borderColor]: 'transparent',
|
10472
10678
|
|
@@ -10509,10 +10715,10 @@ const button = {
|
|
10509
10715
|
},
|
10510
10716
|
|
10511
10717
|
_disabled: {
|
10512
|
-
[helperVars$3.main]: globalRefs$
|
10513
|
-
[helperVars$3.dark]: globalRefs$
|
10514
|
-
[helperVars$3.light]: globalRefs$
|
10515
|
-
[helperVars$3.contrast]: globalRefs$
|
10718
|
+
[helperVars$3.main]: globalRefs$n.colors.surface.light,
|
10719
|
+
[helperVars$3.dark]: globalRefs$n.colors.surface.dark,
|
10720
|
+
[helperVars$3.light]: globalRefs$n.colors.surface.light,
|
10721
|
+
[helperVars$3.contrast]: globalRefs$n.colors.surface.main,
|
10516
10722
|
},
|
10517
10723
|
|
10518
10724
|
variant: {
|
@@ -10560,7 +10766,7 @@ const button = {
|
|
10560
10766
|
},
|
10561
10767
|
};
|
10562
10768
|
|
10563
|
-
const vars$
|
10769
|
+
const vars$D = {
|
10564
10770
|
...compVars$5,
|
10565
10771
|
...helperVars$3,
|
10566
10772
|
};
|
@@ -10568,28 +10774,28 @@ const vars$C = {
|
|
10568
10774
|
var button$1 = /*#__PURE__*/Object.freeze({
|
10569
10775
|
__proto__: null,
|
10570
10776
|
default: button,
|
10571
|
-
vars: vars$
|
10777
|
+
vars: vars$D
|
10572
10778
|
});
|
10573
10779
|
|
10574
10780
|
const componentName = getComponentName('input-wrapper');
|
10575
|
-
const globalRefs$
|
10781
|
+
const globalRefs$m = getThemeRefs(globals);
|
10576
10782
|
|
10577
|
-
const [theme$1, refs, vars$
|
10783
|
+
const [theme$1, refs, vars$C] = createHelperVars(
|
10578
10784
|
{
|
10579
|
-
labelTextColor: globalRefs$
|
10785
|
+
labelTextColor: globalRefs$m.colors.surface.dark,
|
10580
10786
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
10581
|
-
valueTextColor: globalRefs$
|
10582
|
-
placeholderTextColor: globalRefs$
|
10787
|
+
valueTextColor: globalRefs$m.colors.surface.contrast,
|
10788
|
+
placeholderTextColor: globalRefs$m.colors.surface.dark,
|
10583
10789
|
requiredIndicator: "'*'",
|
10584
|
-
helperTextColor: globalRefs$
|
10585
|
-
errorMessageTextColor: globalRefs$
|
10586
|
-
successMessageTextColor: globalRefs$
|
10790
|
+
helperTextColor: globalRefs$m.colors.surface.dark,
|
10791
|
+
errorMessageTextColor: globalRefs$m.colors.error.main,
|
10792
|
+
successMessageTextColor: globalRefs$m.colors.success.main,
|
10587
10793
|
|
10588
|
-
borderWidth: globalRefs$
|
10589
|
-
borderRadius: globalRefs$
|
10794
|
+
borderWidth: globalRefs$m.border.xs,
|
10795
|
+
borderRadius: globalRefs$m.radius.xs,
|
10590
10796
|
borderColor: 'transparent',
|
10591
10797
|
|
10592
|
-
outlineWidth: globalRefs$
|
10798
|
+
outlineWidth: globalRefs$m.border.sm,
|
10593
10799
|
outlineStyle: 'solid',
|
10594
10800
|
outlineColor: 'transparent',
|
10595
10801
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
@@ -10600,11 +10806,11 @@ const [theme$1, refs, vars$B] = createHelperVars(
|
|
10600
10806
|
horizontalPadding: '0.5em',
|
10601
10807
|
verticalPadding: '0.5em',
|
10602
10808
|
|
10603
|
-
backgroundColor: globalRefs$
|
10809
|
+
backgroundColor: globalRefs$m.colors.surface.main,
|
10604
10810
|
|
10605
|
-
fontFamily: globalRefs$
|
10811
|
+
fontFamily: globalRefs$m.fonts.font1.family,
|
10606
10812
|
|
10607
|
-
direction: globalRefs$
|
10813
|
+
direction: globalRefs$m.direction,
|
10608
10814
|
|
10609
10815
|
overlayOpacity: '0.3',
|
10610
10816
|
|
@@ -10620,28 +10826,28 @@ const [theme$1, refs, vars$B] = createHelperVars(
|
|
10620
10826
|
},
|
10621
10827
|
|
10622
10828
|
_focused: {
|
10623
|
-
outlineColor: globalRefs$
|
10829
|
+
outlineColor: globalRefs$m.colors.surface.light,
|
10624
10830
|
_invalid: {
|
10625
|
-
outlineColor: globalRefs$
|
10831
|
+
outlineColor: globalRefs$m.colors.error.main,
|
10626
10832
|
},
|
10627
10833
|
},
|
10628
10834
|
|
10629
10835
|
_bordered: {
|
10630
|
-
outlineWidth: globalRefs$
|
10631
|
-
borderColor: globalRefs$
|
10836
|
+
outlineWidth: globalRefs$m.border.xs,
|
10837
|
+
borderColor: globalRefs$m.colors.surface.light,
|
10632
10838
|
borderStyle: 'solid',
|
10633
10839
|
_invalid: {
|
10634
|
-
borderColor: globalRefs$
|
10840
|
+
borderColor: globalRefs$m.colors.error.main,
|
10635
10841
|
},
|
10636
10842
|
},
|
10637
10843
|
|
10638
10844
|
_disabled: {
|
10639
|
-
labelTextColor: globalRefs$
|
10640
|
-
borderColor: globalRefs$
|
10641
|
-
valueTextColor: globalRefs$
|
10642
|
-
placeholderTextColor: globalRefs$
|
10643
|
-
helperTextColor: globalRefs$
|
10644
|
-
backgroundColor: globalRefs$
|
10845
|
+
labelTextColor: globalRefs$m.colors.surface.light,
|
10846
|
+
borderColor: globalRefs$m.colors.surface.light,
|
10847
|
+
valueTextColor: globalRefs$m.colors.surface.light,
|
10848
|
+
placeholderTextColor: globalRefs$m.colors.surface.light,
|
10849
|
+
helperTextColor: globalRefs$m.colors.surface.light,
|
10850
|
+
backgroundColor: globalRefs$m.colors.surface.main,
|
10645
10851
|
},
|
10646
10852
|
},
|
10647
10853
|
componentName
|
@@ -10651,22 +10857,64 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
10651
10857
|
__proto__: null,
|
10652
10858
|
default: theme$1,
|
10653
10859
|
refs: refs,
|
10654
|
-
vars: vars$
|
10860
|
+
vars: vars$C
|
10655
10861
|
});
|
10656
10862
|
|
10657
|
-
const vars$
|
10863
|
+
const vars$B = TextFieldClass.cssVarList;
|
10658
10864
|
|
10659
10865
|
const textField = {
|
10866
|
+
[vars$B.hostWidth]: refs.width,
|
10867
|
+
[vars$B.hostMinWidth]: refs.minWidth,
|
10868
|
+
[vars$B.hostDirection]: refs.direction,
|
10869
|
+
[vars$B.fontSize]: refs.fontSize,
|
10870
|
+
[vars$B.fontFamily]: refs.fontFamily,
|
10871
|
+
[vars$B.labelTextColor]: refs.labelTextColor,
|
10872
|
+
[vars$B.labelRequiredIndicator]: refs.requiredIndicator,
|
10873
|
+
[vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
|
10874
|
+
[vars$B.inputValueTextColor]: refs.valueTextColor,
|
10875
|
+
[vars$B.inputPlaceholderColor]: refs.placeholderTextColor,
|
10876
|
+
[vars$B.inputBorderWidth]: refs.borderWidth,
|
10877
|
+
[vars$B.inputBorderStyle]: refs.borderStyle,
|
10878
|
+
[vars$B.inputBorderColor]: refs.borderColor,
|
10879
|
+
[vars$B.inputBorderRadius]: refs.borderRadius,
|
10880
|
+
[vars$B.inputOutlineWidth]: refs.outlineWidth,
|
10881
|
+
[vars$B.inputOutlineStyle]: refs.outlineStyle,
|
10882
|
+
[vars$B.inputOutlineColor]: refs.outlineColor,
|
10883
|
+
[vars$B.inputOutlineOffset]: refs.outlineOffset,
|
10884
|
+
[vars$B.inputBackgroundColor]: refs.backgroundColor,
|
10885
|
+
[vars$B.inputHeight]: refs.inputHeight,
|
10886
|
+
[vars$B.inputHorizontalPadding]: refs.horizontalPadding,
|
10887
|
+
[vars$B.helperTextColor]: refs.helperTextColor,
|
10888
|
+
textAlign: {
|
10889
|
+
right: { [vars$B.inputTextAlign]: 'right' },
|
10890
|
+
left: { [vars$B.inputTextAlign]: 'left' },
|
10891
|
+
center: { [vars$B.inputTextAlign]: 'center' },
|
10892
|
+
},
|
10893
|
+
};
|
10894
|
+
|
10895
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
10896
|
+
__proto__: null,
|
10897
|
+
default: textField,
|
10898
|
+
textField: textField,
|
10899
|
+
vars: vars$B
|
10900
|
+
});
|
10901
|
+
|
10902
|
+
const globalRefs$l = getThemeRefs(globals);
|
10903
|
+
const vars$A = PasswordClass.cssVarList;
|
10904
|
+
|
10905
|
+
const password = {
|
10660
10906
|
[vars$A.hostWidth]: refs.width,
|
10661
|
-
[vars$A.hostMinWidth]: refs.minWidth,
|
10662
10907
|
[vars$A.hostDirection]: refs.direction,
|
10663
10908
|
[vars$A.fontSize]: refs.fontSize,
|
10664
10909
|
[vars$A.fontFamily]: refs.fontFamily,
|
10665
10910
|
[vars$A.labelTextColor]: refs.labelTextColor,
|
10666
|
-
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
10667
10911
|
[vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
|
10912
|
+
[vars$A.inputHorizontalPadding]: refs.horizontalPadding,
|
10913
|
+
[vars$A.inputHeight]: refs.inputHeight,
|
10914
|
+
[vars$A.inputBackgroundColor]: refs.backgroundColor,
|
10915
|
+
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
10668
10916
|
[vars$A.inputValueTextColor]: refs.valueTextColor,
|
10669
|
-
[vars$A.
|
10917
|
+
[vars$A.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10670
10918
|
[vars$A.inputBorderWidth]: refs.borderWidth,
|
10671
10919
|
[vars$A.inputBorderStyle]: refs.borderStyle,
|
10672
10920
|
[vars$A.inputBorderColor]: refs.borderColor,
|
@@ -10675,40 +10923,29 @@ const textField = {
|
|
10675
10923
|
[vars$A.inputOutlineStyle]: refs.outlineStyle,
|
10676
10924
|
[vars$A.inputOutlineColor]: refs.outlineColor,
|
10677
10925
|
[vars$A.inputOutlineOffset]: refs.outlineOffset,
|
10678
|
-
[vars$A.
|
10679
|
-
[vars$A.
|
10680
|
-
[vars$A.
|
10681
|
-
[vars$A.helperTextColor]: refs.helperTextColor,
|
10682
|
-
textAlign: {
|
10683
|
-
right: { [vars$A.inputTextAlign]: 'right' },
|
10684
|
-
left: { [vars$A.inputTextAlign]: 'left' },
|
10685
|
-
center: { [vars$A.inputTextAlign]: 'center' },
|
10686
|
-
},
|
10926
|
+
[vars$A.revealButtonOffset]: globalRefs$l.spacing.md,
|
10927
|
+
[vars$A.revealButtonSize]: refs.toggleButtonSize,
|
10928
|
+
[vars$A.revealButtonColor]: refs.placeholderTextColor,
|
10687
10929
|
};
|
10688
10930
|
|
10689
|
-
var
|
10931
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
10690
10932
|
__proto__: null,
|
10691
|
-
default:
|
10692
|
-
textField: textField,
|
10933
|
+
default: password,
|
10693
10934
|
vars: vars$A
|
10694
10935
|
});
|
10695
10936
|
|
10696
|
-
const
|
10697
|
-
const vars$z = PasswordClass.cssVarList;
|
10937
|
+
const vars$z = NumberFieldClass.cssVarList;
|
10698
10938
|
|
10699
|
-
const
|
10939
|
+
const numberField = {
|
10700
10940
|
[vars$z.hostWidth]: refs.width,
|
10941
|
+
[vars$z.hostMinWidth]: refs.minWidth,
|
10701
10942
|
[vars$z.hostDirection]: refs.direction,
|
10702
10943
|
[vars$z.fontSize]: refs.fontSize,
|
10703
10944
|
[vars$z.fontFamily]: refs.fontFamily,
|
10704
10945
|
[vars$z.labelTextColor]: refs.labelTextColor,
|
10705
10946
|
[vars$z.errorMessageTextColor]: refs.errorMessageTextColor,
|
10706
|
-
[vars$z.inputHorizontalPadding]: refs.horizontalPadding,
|
10707
|
-
[vars$z.inputHeight]: refs.inputHeight,
|
10708
|
-
[vars$z.inputBackgroundColor]: refs.backgroundColor,
|
10709
|
-
[vars$z.labelRequiredIndicator]: refs.requiredIndicator,
|
10710
10947
|
[vars$z.inputValueTextColor]: refs.valueTextColor,
|
10711
|
-
[vars$z.
|
10948
|
+
[vars$z.inputPlaceholderColor]: refs.placeholderTextColor,
|
10712
10949
|
[vars$z.inputBorderWidth]: refs.borderWidth,
|
10713
10950
|
[vars$z.inputBorderStyle]: refs.borderStyle,
|
10714
10951
|
[vars$z.inputBorderColor]: refs.borderColor,
|
@@ -10717,20 +10954,21 @@ const password = {
|
|
10717
10954
|
[vars$z.inputOutlineStyle]: refs.outlineStyle,
|
10718
10955
|
[vars$z.inputOutlineColor]: refs.outlineColor,
|
10719
10956
|
[vars$z.inputOutlineOffset]: refs.outlineOffset,
|
10720
|
-
[vars$z.
|
10721
|
-
[vars$z.
|
10722
|
-
[vars$z.
|
10957
|
+
[vars$z.inputBackgroundColor]: refs.backgroundColor,
|
10958
|
+
[vars$z.labelRequiredIndicator]: refs.requiredIndicator,
|
10959
|
+
[vars$z.inputHorizontalPadding]: refs.horizontalPadding,
|
10960
|
+
[vars$z.inputHeight]: refs.inputHeight,
|
10723
10961
|
};
|
10724
10962
|
|
10725
|
-
var
|
10963
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
10726
10964
|
__proto__: null,
|
10727
|
-
default:
|
10965
|
+
default: numberField,
|
10728
10966
|
vars: vars$z
|
10729
10967
|
});
|
10730
10968
|
|
10731
|
-
const vars$y =
|
10969
|
+
const vars$y = EmailFieldClass.cssVarList;
|
10732
10970
|
|
10733
|
-
const
|
10971
|
+
const emailField = {
|
10734
10972
|
[vars$y.hostWidth]: refs.width,
|
10735
10973
|
[vars$y.hostMinWidth]: refs.minWidth,
|
10736
10974
|
[vars$y.hostDirection]: refs.direction,
|
@@ -10739,6 +10977,7 @@ const numberField = {
|
|
10739
10977
|
[vars$y.labelTextColor]: refs.labelTextColor,
|
10740
10978
|
[vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
|
10741
10979
|
[vars$y.inputValueTextColor]: refs.valueTextColor,
|
10980
|
+
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
10742
10981
|
[vars$y.inputPlaceholderColor]: refs.placeholderTextColor,
|
10743
10982
|
[vars$y.inputBorderWidth]: refs.borderWidth,
|
10744
10983
|
[vars$y.inputBorderStyle]: refs.borderStyle,
|
@@ -10749,200 +10988,167 @@ const numberField = {
|
|
10749
10988
|
[vars$y.inputOutlineColor]: refs.outlineColor,
|
10750
10989
|
[vars$y.inputOutlineOffset]: refs.outlineOffset,
|
10751
10990
|
[vars$y.inputBackgroundColor]: refs.backgroundColor,
|
10752
|
-
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
10753
10991
|
[vars$y.inputHorizontalPadding]: refs.horizontalPadding,
|
10754
10992
|
[vars$y.inputHeight]: refs.inputHeight,
|
10755
10993
|
};
|
10756
10994
|
|
10757
|
-
var
|
10995
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
10758
10996
|
__proto__: null,
|
10759
|
-
default:
|
10997
|
+
default: emailField,
|
10760
10998
|
vars: vars$y
|
10761
10999
|
});
|
10762
11000
|
|
10763
|
-
const vars$x =
|
11001
|
+
const vars$x = TextAreaClass.cssVarList;
|
10764
11002
|
|
10765
|
-
const
|
11003
|
+
const textArea = {
|
10766
11004
|
[vars$x.hostWidth]: refs.width,
|
10767
11005
|
[vars$x.hostMinWidth]: refs.minWidth,
|
10768
11006
|
[vars$x.hostDirection]: refs.direction,
|
10769
11007
|
[vars$x.fontSize]: refs.fontSize,
|
10770
11008
|
[vars$x.fontFamily]: refs.fontFamily,
|
10771
11009
|
[vars$x.labelTextColor]: refs.labelTextColor,
|
11010
|
+
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
10772
11011
|
[vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
|
11012
|
+
[vars$x.inputBackgroundColor]: refs.backgroundColor,
|
10773
11013
|
[vars$x.inputValueTextColor]: refs.valueTextColor,
|
10774
|
-
[vars$x.
|
10775
|
-
[vars$x.
|
11014
|
+
[vars$x.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11015
|
+
[vars$x.inputBorderRadius]: refs.borderRadius,
|
10776
11016
|
[vars$x.inputBorderWidth]: refs.borderWidth,
|
10777
11017
|
[vars$x.inputBorderStyle]: refs.borderStyle,
|
10778
11018
|
[vars$x.inputBorderColor]: refs.borderColor,
|
10779
|
-
[vars$x.inputBorderRadius]: refs.borderRadius,
|
10780
11019
|
[vars$x.inputOutlineWidth]: refs.outlineWidth,
|
10781
11020
|
[vars$x.inputOutlineStyle]: refs.outlineStyle,
|
10782
11021
|
[vars$x.inputOutlineColor]: refs.outlineColor,
|
10783
11022
|
[vars$x.inputOutlineOffset]: refs.outlineOffset,
|
10784
|
-
[vars$x.
|
10785
|
-
[vars$x.
|
10786
|
-
|
11023
|
+
[vars$x.inputResizeType]: 'vertical',
|
11024
|
+
[vars$x.inputMinHeight]: '5em',
|
11025
|
+
textAlign: {
|
11026
|
+
right: { [vars$x.inputTextAlign]: 'right' },
|
11027
|
+
left: { [vars$x.inputTextAlign]: 'left' },
|
11028
|
+
center: { [vars$x.inputTextAlign]: 'center' },
|
11029
|
+
},
|
11030
|
+
|
11031
|
+
_readonly: {
|
11032
|
+
[vars$x.inputResizeType]: 'none',
|
11033
|
+
},
|
10787
11034
|
};
|
10788
11035
|
|
10789
|
-
var
|
11036
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
10790
11037
|
__proto__: null,
|
10791
|
-
default:
|
11038
|
+
default: textArea,
|
10792
11039
|
vars: vars$x
|
10793
11040
|
});
|
10794
11041
|
|
10795
|
-
const vars$w =
|
11042
|
+
const vars$w = CheckboxClass.cssVarList;
|
11043
|
+
const checkboxSize = '1.35em';
|
10796
11044
|
|
10797
|
-
const
|
11045
|
+
const checkbox = {
|
10798
11046
|
[vars$w.hostWidth]: refs.width,
|
10799
|
-
[vars$w.hostMinWidth]: refs.minWidth,
|
10800
11047
|
[vars$w.hostDirection]: refs.direction,
|
10801
11048
|
[vars$w.fontSize]: refs.fontSize,
|
10802
11049
|
[vars$w.fontFamily]: refs.fontFamily,
|
10803
11050
|
[vars$w.labelTextColor]: refs.labelTextColor,
|
10804
11051
|
[vars$w.labelRequiredIndicator]: refs.requiredIndicator,
|
11052
|
+
[vars$w.labelFontWeight]: '400',
|
11053
|
+
[vars$w.labelLineHeight]: checkboxSize,
|
11054
|
+
[vars$w.labelSpacing]: '1em',
|
10805
11055
|
[vars$w.errorMessageTextColor]: refs.errorMessageTextColor,
|
10806
|
-
[vars$w.
|
10807
|
-
[vars$w.
|
10808
|
-
[vars$w.
|
11056
|
+
[vars$w.inputOutlineWidth]: refs.outlineWidth,
|
11057
|
+
[vars$w.inputOutlineOffset]: refs.outlineOffset,
|
11058
|
+
[vars$w.inputOutlineColor]: refs.outlineColor,
|
11059
|
+
[vars$w.inputOutlineStyle]: refs.outlineStyle,
|
10809
11060
|
[vars$w.inputBorderRadius]: refs.borderRadius,
|
11061
|
+
[vars$w.inputBorderColor]: refs.borderColor,
|
10810
11062
|
[vars$w.inputBorderWidth]: refs.borderWidth,
|
10811
11063
|
[vars$w.inputBorderStyle]: refs.borderStyle,
|
10812
|
-
[vars$w.
|
10813
|
-
[vars$w.
|
10814
|
-
|
10815
|
-
|
10816
|
-
|
10817
|
-
[vars$w.inputResizeType]: 'vertical',
|
10818
|
-
[vars$w.inputMinHeight]: '5em',
|
10819
|
-
textAlign: {
|
10820
|
-
right: { [vars$w.inputTextAlign]: 'right' },
|
10821
|
-
left: { [vars$w.inputTextAlign]: 'left' },
|
10822
|
-
center: { [vars$w.inputTextAlign]: 'center' },
|
11064
|
+
[vars$w.inputBackgroundColor]: refs.backgroundColor,
|
11065
|
+
[vars$w.inputSize]: checkboxSize,
|
11066
|
+
|
11067
|
+
_checked: {
|
11068
|
+
[vars$w.inputValueTextColor]: refs.valueTextColor,
|
10823
11069
|
},
|
10824
11070
|
|
10825
|
-
|
10826
|
-
[vars$w.
|
11071
|
+
_disabled: {
|
11072
|
+
[vars$w.labelTextColor]: refs.labelTextColor,
|
10827
11073
|
},
|
10828
11074
|
};
|
10829
11075
|
|
10830
|
-
var
|
11076
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
10831
11077
|
__proto__: null,
|
10832
|
-
default:
|
11078
|
+
default: checkbox,
|
10833
11079
|
vars: vars$w
|
10834
11080
|
});
|
10835
11081
|
|
10836
|
-
const
|
10837
|
-
const
|
11082
|
+
const knobMargin = '2px';
|
11083
|
+
const checkboxHeight = '1.25em';
|
10838
11084
|
|
10839
|
-
const
|
11085
|
+
const globalRefs$k = getThemeRefs(globals);
|
11086
|
+
const vars$v = SwitchToggleClass.cssVarList;
|
11087
|
+
|
11088
|
+
const switchToggle = {
|
10840
11089
|
[vars$v.hostWidth]: refs.width,
|
10841
11090
|
[vars$v.hostDirection]: refs.direction,
|
10842
11091
|
[vars$v.fontSize]: refs.fontSize,
|
10843
11092
|
[vars$v.fontFamily]: refs.fontFamily,
|
10844
|
-
|
10845
|
-
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
10846
|
-
[vars$v.labelFontWeight]: '400',
|
10847
|
-
[vars$v.labelLineHeight]: checkboxSize,
|
10848
|
-
[vars$v.labelSpacing]: '1em',
|
10849
|
-
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
11093
|
+
|
10850
11094
|
[vars$v.inputOutlineWidth]: refs.outlineWidth,
|
10851
11095
|
[vars$v.inputOutlineOffset]: refs.outlineOffset,
|
10852
11096
|
[vars$v.inputOutlineColor]: refs.outlineColor,
|
10853
11097
|
[vars$v.inputOutlineStyle]: refs.outlineStyle,
|
10854
|
-
[vars$v.inputBorderRadius]: refs.borderRadius,
|
10855
|
-
[vars$v.inputBorderColor]: refs.borderColor,
|
10856
|
-
[vars$v.inputBorderWidth]: refs.borderWidth,
|
10857
|
-
[vars$v.inputBorderStyle]: refs.borderStyle,
|
10858
|
-
[vars$v.inputBackgroundColor]: refs.backgroundColor,
|
10859
|
-
[vars$v.inputSize]: checkboxSize,
|
10860
11098
|
|
10861
|
-
|
10862
|
-
|
10863
|
-
|
11099
|
+
[vars$v.trackBorderStyle]: refs.borderStyle,
|
11100
|
+
[vars$v.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
11101
|
+
[vars$v.trackBorderColor]: refs.borderColor,
|
11102
|
+
[vars$v.trackBackgroundColor]: refs.backgroundColor,
|
11103
|
+
[vars$v.trackBorderRadius]: globalRefs$k.radius.md,
|
11104
|
+
[vars$v.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
11105
|
+
[vars$v.trackHeight]: checkboxHeight,
|
11106
|
+
|
11107
|
+
[vars$v.knobSize]: `calc(1em - ${knobMargin})`,
|
11108
|
+
[vars$v.knobRadius]: '50%',
|
11109
|
+
[vars$v.knobTopOffset]: '1px',
|
11110
|
+
[vars$v.knobLeftOffset]: knobMargin,
|
11111
|
+
[vars$v.knobColor]: refs.labelTextColor,
|
11112
|
+
[vars$v.knobTransitionDuration]: '0.3s',
|
10864
11113
|
|
10865
|
-
|
10866
|
-
|
10867
|
-
|
10868
|
-
|
10869
|
-
|
10870
|
-
|
10871
|
-
__proto__: null,
|
10872
|
-
default: checkbox,
|
10873
|
-
vars: vars$v
|
10874
|
-
});
|
10875
|
-
|
10876
|
-
const knobMargin = '2px';
|
10877
|
-
const checkboxHeight = '1.25em';
|
10878
|
-
|
10879
|
-
const globalRefs$j = getThemeRefs(globals);
|
10880
|
-
const vars$u = SwitchToggleClass.cssVarList;
|
10881
|
-
|
10882
|
-
const switchToggle = {
|
10883
|
-
[vars$u.hostWidth]: refs.width,
|
10884
|
-
[vars$u.hostDirection]: refs.direction,
|
10885
|
-
[vars$u.fontSize]: refs.fontSize,
|
10886
|
-
[vars$u.fontFamily]: refs.fontFamily,
|
10887
|
-
|
10888
|
-
[vars$u.inputOutlineWidth]: refs.outlineWidth,
|
10889
|
-
[vars$u.inputOutlineOffset]: refs.outlineOffset,
|
10890
|
-
[vars$u.inputOutlineColor]: refs.outlineColor,
|
10891
|
-
[vars$u.inputOutlineStyle]: refs.outlineStyle,
|
10892
|
-
|
10893
|
-
[vars$u.trackBorderStyle]: refs.borderStyle,
|
10894
|
-
[vars$u.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
10895
|
-
[vars$u.trackBorderColor]: refs.borderColor,
|
10896
|
-
[vars$u.trackBackgroundColor]: refs.backgroundColor,
|
10897
|
-
[vars$u.trackBorderRadius]: globalRefs$j.radius.md,
|
10898
|
-
[vars$u.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
10899
|
-
[vars$u.trackHeight]: checkboxHeight,
|
10900
|
-
|
10901
|
-
[vars$u.knobSize]: `calc(1em - ${knobMargin})`,
|
10902
|
-
[vars$u.knobRadius]: '50%',
|
10903
|
-
[vars$u.knobTopOffset]: '1px',
|
10904
|
-
[vars$u.knobLeftOffset]: knobMargin,
|
10905
|
-
[vars$u.knobColor]: refs.labelTextColor,
|
10906
|
-
[vars$u.knobTransitionDuration]: '0.3s',
|
10907
|
-
|
10908
|
-
[vars$u.labelTextColor]: refs.labelTextColor,
|
10909
|
-
[vars$u.labelFontWeight]: '400',
|
10910
|
-
[vars$u.labelLineHeight]: '1.35em',
|
10911
|
-
[vars$u.labelSpacing]: '1em',
|
10912
|
-
[vars$u.labelRequiredIndicator]: refs.requiredIndicator,
|
10913
|
-
[vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
|
11114
|
+
[vars$v.labelTextColor]: refs.labelTextColor,
|
11115
|
+
[vars$v.labelFontWeight]: '400',
|
11116
|
+
[vars$v.labelLineHeight]: '1.35em',
|
11117
|
+
[vars$v.labelSpacing]: '1em',
|
11118
|
+
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
11119
|
+
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
10914
11120
|
|
10915
11121
|
_checked: {
|
10916
|
-
[vars$
|
10917
|
-
[vars$
|
10918
|
-
[vars$
|
10919
|
-
[vars$
|
11122
|
+
[vars$v.trackBorderColor]: refs.borderColor,
|
11123
|
+
[vars$v.knobLeftOffset]: `calc(100% - var(${vars$v.knobSize}) - ${knobMargin})`,
|
11124
|
+
[vars$v.knobColor]: refs.valueTextColor,
|
11125
|
+
[vars$v.knobTextColor]: refs.valueTextColor,
|
10920
11126
|
},
|
10921
11127
|
|
10922
11128
|
_disabled: {
|
10923
|
-
[vars$
|
10924
|
-
[vars$
|
10925
|
-
[vars$
|
10926
|
-
[vars$
|
11129
|
+
[vars$v.knobColor]: globalRefs$k.colors.surface.light,
|
11130
|
+
[vars$v.trackBorderColor]: globalRefs$k.colors.surface.light,
|
11131
|
+
[vars$v.trackBackgroundColor]: globalRefs$k.colors.surface.main,
|
11132
|
+
[vars$v.labelTextColor]: refs.labelTextColor,
|
10927
11133
|
_checked: {
|
10928
|
-
[vars$
|
10929
|
-
[vars$
|
11134
|
+
[vars$v.knobColor]: globalRefs$k.colors.surface.light,
|
11135
|
+
[vars$v.trackBackgroundColor]: globalRefs$k.colors.surface.main,
|
10930
11136
|
},
|
10931
11137
|
},
|
10932
11138
|
|
10933
11139
|
_invalid: {
|
10934
|
-
[vars$
|
10935
|
-
[vars$
|
11140
|
+
[vars$v.trackBorderColor]: globalRefs$k.colors.error.main,
|
11141
|
+
[vars$v.knobColor]: globalRefs$k.colors.error.main,
|
10936
11142
|
},
|
10937
11143
|
};
|
10938
11144
|
|
10939
11145
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
10940
11146
|
__proto__: null,
|
10941
11147
|
default: switchToggle,
|
10942
|
-
vars: vars$
|
11148
|
+
vars: vars$v
|
10943
11149
|
});
|
10944
11150
|
|
10945
|
-
const globalRefs$
|
11151
|
+
const globalRefs$j = getThemeRefs(globals);
|
10946
11152
|
|
10947
11153
|
const compVars$4 = ContainerClass.cssVarList;
|
10948
11154
|
|
@@ -10964,7 +11170,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
10964
11170
|
horizontalAlignment,
|
10965
11171
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
10966
11172
|
},
|
10967
|
-
componentName$
|
11173
|
+
componentName$L
|
10968
11174
|
);
|
10969
11175
|
|
10970
11176
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
@@ -10974,10 +11180,10 @@ const container = {
|
|
10974
11180
|
|
10975
11181
|
[compVars$4.hostWidth]: '100%',
|
10976
11182
|
[compVars$4.boxShadow]: 'none',
|
10977
|
-
[compVars$4.backgroundColor]: globalRefs$
|
10978
|
-
[compVars$4.color]: globalRefs$
|
11183
|
+
[compVars$4.backgroundColor]: globalRefs$j.colors.surface.main,
|
11184
|
+
[compVars$4.color]: globalRefs$j.colors.surface.contrast,
|
10979
11185
|
[compVars$4.borderRadius]: '0px',
|
10980
|
-
[compVars$4.hostDirection]: globalRefs$
|
11186
|
+
[compVars$4.hostDirection]: globalRefs$j.direction,
|
10981
11187
|
|
10982
11188
|
verticalPadding: {
|
10983
11189
|
sm: { [compVars$4.verticalPadding]: '5px' },
|
@@ -11023,34 +11229,34 @@ const container = {
|
|
11023
11229
|
|
11024
11230
|
shadow: {
|
11025
11231
|
sm: {
|
11026
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11232
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.sm} ${shadowColor$1}`,
|
11027
11233
|
},
|
11028
11234
|
md: {
|
11029
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11235
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.md} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.md} ${shadowColor$1}`,
|
11030
11236
|
},
|
11031
11237
|
lg: {
|
11032
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11238
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.lg} ${shadowColor$1}`,
|
11033
11239
|
},
|
11034
11240
|
xl: {
|
11035
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11241
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.xl} ${shadowColor$1}`,
|
11036
11242
|
},
|
11037
11243
|
'2xl': {
|
11038
11244
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
11039
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11245
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide['2xl']} ${shadowColor$1}`,
|
11040
11246
|
},
|
11041
11247
|
},
|
11042
11248
|
|
11043
11249
|
borderRadius: {
|
11044
|
-
sm: { [compVars$4.borderRadius]: globalRefs$
|
11045
|
-
md: { [compVars$4.borderRadius]: globalRefs$
|
11046
|
-
lg: { [compVars$4.borderRadius]: globalRefs$
|
11047
|
-
xl: { [compVars$4.borderRadius]: globalRefs$
|
11048
|
-
'2xl': { [compVars$4.borderRadius]: globalRefs$
|
11049
|
-
'3xl': { [compVars$4.borderRadius]: globalRefs$
|
11250
|
+
sm: { [compVars$4.borderRadius]: globalRefs$j.radius.sm },
|
11251
|
+
md: { [compVars$4.borderRadius]: globalRefs$j.radius.md },
|
11252
|
+
lg: { [compVars$4.borderRadius]: globalRefs$j.radius.lg },
|
11253
|
+
xl: { [compVars$4.borderRadius]: globalRefs$j.radius.xl },
|
11254
|
+
'2xl': { [compVars$4.borderRadius]: globalRefs$j.radius['2xl'] },
|
11255
|
+
'3xl': { [compVars$4.borderRadius]: globalRefs$j.radius['3xl'] },
|
11050
11256
|
},
|
11051
11257
|
};
|
11052
11258
|
|
11053
|
-
const vars$
|
11259
|
+
const vars$u = {
|
11054
11260
|
...compVars$4,
|
11055
11261
|
...helperVars$2,
|
11056
11262
|
};
|
@@ -11058,166 +11264,166 @@ const vars$t = {
|
|
11058
11264
|
var container$1 = /*#__PURE__*/Object.freeze({
|
11059
11265
|
__proto__: null,
|
11060
11266
|
default: container,
|
11061
|
-
vars: vars$
|
11267
|
+
vars: vars$u
|
11062
11268
|
});
|
11063
11269
|
|
11064
|
-
const vars$
|
11270
|
+
const vars$t = LogoClass.cssVarList;
|
11065
11271
|
|
11066
11272
|
const logo$2 = {
|
11067
|
-
[vars$
|
11273
|
+
[vars$t.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
11068
11274
|
};
|
11069
11275
|
|
11070
11276
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
11071
11277
|
__proto__: null,
|
11072
11278
|
default: logo$2,
|
11073
|
-
vars: vars$
|
11279
|
+
vars: vars$t
|
11074
11280
|
});
|
11075
11281
|
|
11076
|
-
const vars$
|
11282
|
+
const vars$s = TotpImageClass.cssVarList;
|
11077
11283
|
|
11078
11284
|
const logo$1 = {
|
11079
|
-
[vars$
|
11285
|
+
[vars$s.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
11080
11286
|
};
|
11081
11287
|
|
11082
11288
|
var totpImage = /*#__PURE__*/Object.freeze({
|
11083
11289
|
__proto__: null,
|
11084
11290
|
default: logo$1,
|
11085
|
-
vars: vars$
|
11291
|
+
vars: vars$s
|
11086
11292
|
});
|
11087
11293
|
|
11088
|
-
const vars$
|
11294
|
+
const vars$r = NotpImageClass.cssVarList;
|
11089
11295
|
|
11090
11296
|
const logo = {
|
11091
|
-
[vars$
|
11297
|
+
[vars$r.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
11092
11298
|
};
|
11093
11299
|
|
11094
11300
|
var notpImage = /*#__PURE__*/Object.freeze({
|
11095
11301
|
__proto__: null,
|
11096
11302
|
default: logo,
|
11097
|
-
vars: vars$
|
11303
|
+
vars: vars$r
|
11098
11304
|
});
|
11099
11305
|
|
11100
|
-
const globalRefs$
|
11101
|
-
const vars$
|
11306
|
+
const globalRefs$i = getThemeRefs(globals);
|
11307
|
+
const vars$q = TextClass.cssVarList;
|
11102
11308
|
|
11103
11309
|
const text = {
|
11104
|
-
[vars$
|
11105
|
-
[vars$
|
11106
|
-
[vars$
|
11107
|
-
[vars$
|
11310
|
+
[vars$q.hostDirection]: globalRefs$i.direction,
|
11311
|
+
[vars$q.textLineHeight]: '1.35em',
|
11312
|
+
[vars$q.textAlign]: 'left',
|
11313
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.dark,
|
11108
11314
|
variant: {
|
11109
11315
|
h1: {
|
11110
|
-
[vars$
|
11111
|
-
[vars$
|
11112
|
-
[vars$
|
11316
|
+
[vars$q.fontSize]: globalRefs$i.typography.h1.size,
|
11317
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h1.weight,
|
11318
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h1.font,
|
11113
11319
|
},
|
11114
11320
|
h2: {
|
11115
|
-
[vars$
|
11116
|
-
[vars$
|
11117
|
-
[vars$
|
11321
|
+
[vars$q.fontSize]: globalRefs$i.typography.h2.size,
|
11322
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h2.weight,
|
11323
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h2.font,
|
11118
11324
|
},
|
11119
11325
|
h3: {
|
11120
|
-
[vars$
|
11121
|
-
[vars$
|
11122
|
-
[vars$
|
11326
|
+
[vars$q.fontSize]: globalRefs$i.typography.h3.size,
|
11327
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h3.weight,
|
11328
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h3.font,
|
11123
11329
|
},
|
11124
11330
|
subtitle1: {
|
11125
|
-
[vars$
|
11126
|
-
[vars$
|
11127
|
-
[vars$
|
11331
|
+
[vars$q.fontSize]: globalRefs$i.typography.subtitle1.size,
|
11332
|
+
[vars$q.fontWeight]: globalRefs$i.typography.subtitle1.weight,
|
11333
|
+
[vars$q.fontFamily]: globalRefs$i.typography.subtitle1.font,
|
11128
11334
|
},
|
11129
11335
|
subtitle2: {
|
11130
|
-
[vars$
|
11131
|
-
[vars$
|
11132
|
-
[vars$
|
11336
|
+
[vars$q.fontSize]: globalRefs$i.typography.subtitle2.size,
|
11337
|
+
[vars$q.fontWeight]: globalRefs$i.typography.subtitle2.weight,
|
11338
|
+
[vars$q.fontFamily]: globalRefs$i.typography.subtitle2.font,
|
11133
11339
|
},
|
11134
11340
|
body1: {
|
11135
|
-
[vars$
|
11136
|
-
[vars$
|
11137
|
-
[vars$
|
11341
|
+
[vars$q.fontSize]: globalRefs$i.typography.body1.size,
|
11342
|
+
[vars$q.fontWeight]: globalRefs$i.typography.body1.weight,
|
11343
|
+
[vars$q.fontFamily]: globalRefs$i.typography.body1.font,
|
11138
11344
|
},
|
11139
11345
|
body2: {
|
11140
|
-
[vars$
|
11141
|
-
[vars$
|
11142
|
-
[vars$
|
11346
|
+
[vars$q.fontSize]: globalRefs$i.typography.body2.size,
|
11347
|
+
[vars$q.fontWeight]: globalRefs$i.typography.body2.weight,
|
11348
|
+
[vars$q.fontFamily]: globalRefs$i.typography.body2.font,
|
11143
11349
|
},
|
11144
11350
|
},
|
11145
11351
|
|
11146
11352
|
mode: {
|
11147
11353
|
primary: {
|
11148
|
-
[vars$
|
11354
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.contrast,
|
11149
11355
|
},
|
11150
11356
|
secondary: {
|
11151
|
-
[vars$
|
11357
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.dark,
|
11152
11358
|
},
|
11153
11359
|
error: {
|
11154
|
-
[vars$
|
11360
|
+
[vars$q.textColor]: globalRefs$i.colors.error.main,
|
11155
11361
|
},
|
11156
11362
|
success: {
|
11157
|
-
[vars$
|
11363
|
+
[vars$q.textColor]: globalRefs$i.colors.success.main,
|
11158
11364
|
},
|
11159
11365
|
},
|
11160
11366
|
|
11161
11367
|
textAlign: {
|
11162
|
-
right: { [vars$
|
11163
|
-
left: { [vars$
|
11164
|
-
center: { [vars$
|
11368
|
+
right: { [vars$q.textAlign]: 'right' },
|
11369
|
+
left: { [vars$q.textAlign]: 'left' },
|
11370
|
+
center: { [vars$q.textAlign]: 'center' },
|
11165
11371
|
},
|
11166
11372
|
|
11167
11373
|
_fullWidth: {
|
11168
|
-
[vars$
|
11374
|
+
[vars$q.hostWidth]: '100%',
|
11169
11375
|
},
|
11170
11376
|
|
11171
11377
|
_italic: {
|
11172
|
-
[vars$
|
11378
|
+
[vars$q.fontStyle]: 'italic',
|
11173
11379
|
},
|
11174
11380
|
|
11175
11381
|
_uppercase: {
|
11176
|
-
[vars$
|
11382
|
+
[vars$q.textTransform]: 'uppercase',
|
11177
11383
|
},
|
11178
11384
|
|
11179
11385
|
_lowercase: {
|
11180
|
-
[vars$
|
11386
|
+
[vars$q.textTransform]: 'lowercase',
|
11181
11387
|
},
|
11182
11388
|
};
|
11183
11389
|
|
11184
11390
|
var text$1 = /*#__PURE__*/Object.freeze({
|
11185
11391
|
__proto__: null,
|
11186
11392
|
default: text,
|
11187
|
-
vars: vars$
|
11393
|
+
vars: vars$q
|
11188
11394
|
});
|
11189
11395
|
|
11190
|
-
const globalRefs$
|
11191
|
-
const vars$
|
11396
|
+
const globalRefs$h = getThemeRefs(globals);
|
11397
|
+
const vars$p = LinkClass.cssVarList;
|
11192
11398
|
|
11193
11399
|
const link = {
|
11194
|
-
[vars$
|
11195
|
-
[vars$
|
11400
|
+
[vars$p.hostDirection]: globalRefs$h.direction,
|
11401
|
+
[vars$p.cursor]: 'pointer',
|
11196
11402
|
|
11197
|
-
[vars$
|
11403
|
+
[vars$p.textColor]: globalRefs$h.colors.primary.main,
|
11198
11404
|
|
11199
11405
|
textAlign: {
|
11200
|
-
right: { [vars$
|
11201
|
-
left: { [vars$
|
11202
|
-
center: { [vars$
|
11406
|
+
right: { [vars$p.textAlign]: 'right' },
|
11407
|
+
left: { [vars$p.textAlign]: 'left' },
|
11408
|
+
center: { [vars$p.textAlign]: 'center' },
|
11203
11409
|
},
|
11204
11410
|
|
11205
11411
|
_fullWidth: {
|
11206
|
-
[vars$
|
11412
|
+
[vars$p.hostWidth]: '100%',
|
11207
11413
|
},
|
11208
11414
|
|
11209
11415
|
mode: {
|
11210
11416
|
primary: {
|
11211
|
-
[vars$
|
11417
|
+
[vars$p.textColor]: globalRefs$h.colors.primary.main,
|
11212
11418
|
},
|
11213
11419
|
secondary: {
|
11214
|
-
[vars$
|
11420
|
+
[vars$p.textColor]: globalRefs$h.colors.secondary.main,
|
11215
11421
|
},
|
11216
11422
|
error: {
|
11217
|
-
[vars$
|
11423
|
+
[vars$p.textColor]: globalRefs$h.colors.error.main,
|
11218
11424
|
},
|
11219
11425
|
success: {
|
11220
|
-
[vars$
|
11426
|
+
[vars$p.textColor]: globalRefs$h.colors.success.main,
|
11221
11427
|
},
|
11222
11428
|
},
|
11223
11429
|
};
|
@@ -11225,10 +11431,10 @@ const link = {
|
|
11225
11431
|
var link$1 = /*#__PURE__*/Object.freeze({
|
11226
11432
|
__proto__: null,
|
11227
11433
|
default: link,
|
11228
|
-
vars: vars$
|
11434
|
+
vars: vars$p
|
11229
11435
|
});
|
11230
11436
|
|
11231
|
-
const globalRefs$
|
11437
|
+
const globalRefs$g = getThemeRefs(globals);
|
11232
11438
|
const compVars$3 = DividerClass.cssVarList;
|
11233
11439
|
|
11234
11440
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
@@ -11236,18 +11442,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
11236
11442
|
thickness: '2px',
|
11237
11443
|
spacing: '10px',
|
11238
11444
|
},
|
11239
|
-
componentName$
|
11445
|
+
componentName$J
|
11240
11446
|
);
|
11241
11447
|
|
11242
11448
|
const divider = {
|
11243
11449
|
...helperTheme$1,
|
11244
11450
|
|
11245
|
-
[compVars$3.hostDirection]: globalRefs$
|
11451
|
+
[compVars$3.hostDirection]: globalRefs$g.direction,
|
11246
11452
|
[compVars$3.alignItems]: 'center',
|
11247
11453
|
[compVars$3.flexDirection]: 'row',
|
11248
11454
|
[compVars$3.alignSelf]: 'stretch',
|
11249
11455
|
[compVars$3.hostWidth]: '100%',
|
11250
|
-
[compVars$3.stripeColor]: globalRefs$
|
11456
|
+
[compVars$3.stripeColor]: globalRefs$g.colors.surface.light,
|
11251
11457
|
[compVars$3.stripeColorOpacity]: '0.5',
|
11252
11458
|
[compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
|
11253
11459
|
[compVars$3.labelTextWidth]: 'fit-content',
|
@@ -11267,7 +11473,7 @@ const divider = {
|
|
11267
11473
|
},
|
11268
11474
|
};
|
11269
11475
|
|
11270
|
-
const vars$
|
11476
|
+
const vars$o = {
|
11271
11477
|
...compVars$3,
|
11272
11478
|
...helperVars$1,
|
11273
11479
|
};
|
@@ -11275,111 +11481,111 @@ const vars$n = {
|
|
11275
11481
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
11276
11482
|
__proto__: null,
|
11277
11483
|
default: divider,
|
11278
|
-
vars: vars$
|
11484
|
+
vars: vars$o
|
11279
11485
|
});
|
11280
11486
|
|
11281
|
-
const vars$
|
11487
|
+
const vars$n = PasscodeClass.cssVarList;
|
11282
11488
|
|
11283
11489
|
const passcode = {
|
11284
|
-
[vars$
|
11285
|
-
[vars$
|
11286
|
-
[vars$
|
11287
|
-
[vars$
|
11288
|
-
[vars$
|
11289
|
-
[vars$
|
11290
|
-
[vars$
|
11291
|
-
[vars$
|
11292
|
-
[vars$
|
11293
|
-
[vars$
|
11294
|
-
[vars$
|
11295
|
-
[vars$
|
11296
|
-
[vars$
|
11297
|
-
[vars$
|
11298
|
-
[vars$
|
11490
|
+
[vars$n.hostDirection]: refs.direction,
|
11491
|
+
[vars$n.fontFamily]: refs.fontFamily,
|
11492
|
+
[vars$n.fontSize]: refs.fontSize,
|
11493
|
+
[vars$n.labelTextColor]: refs.labelTextColor,
|
11494
|
+
[vars$n.labelRequiredIndicator]: refs.requiredIndicator,
|
11495
|
+
[vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
|
11496
|
+
[vars$n.digitValueTextColor]: refs.valueTextColor,
|
11497
|
+
[vars$n.digitPadding]: '0',
|
11498
|
+
[vars$n.digitTextAlign]: 'center',
|
11499
|
+
[vars$n.digitSpacing]: '4px',
|
11500
|
+
[vars$n.hostWidth]: refs.width,
|
11501
|
+
[vars$n.digitOutlineColor]: 'transparent',
|
11502
|
+
[vars$n.digitOutlineWidth]: refs.outlineWidth,
|
11503
|
+
[vars$n.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
11504
|
+
[vars$n.digitSize]: refs.inputHeight,
|
11299
11505
|
|
11300
11506
|
size: {
|
11301
|
-
xs: { [vars$
|
11302
|
-
sm: { [vars$
|
11303
|
-
md: { [vars$
|
11304
|
-
lg: { [vars$
|
11507
|
+
xs: { [vars$n.spinnerSize]: '15px' },
|
11508
|
+
sm: { [vars$n.spinnerSize]: '20px' },
|
11509
|
+
md: { [vars$n.spinnerSize]: '20px' },
|
11510
|
+
lg: { [vars$n.spinnerSize]: '20px' },
|
11305
11511
|
},
|
11306
11512
|
|
11307
11513
|
_hideCursor: {
|
11308
|
-
[vars$
|
11514
|
+
[vars$n.digitCaretTextColor]: 'transparent',
|
11309
11515
|
},
|
11310
11516
|
|
11311
11517
|
_loading: {
|
11312
|
-
[vars$
|
11518
|
+
[vars$n.overlayOpacity]: refs.overlayOpacity,
|
11313
11519
|
},
|
11314
11520
|
};
|
11315
11521
|
|
11316
11522
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
11317
11523
|
__proto__: null,
|
11318
11524
|
default: passcode,
|
11319
|
-
vars: vars$
|
11525
|
+
vars: vars$n
|
11320
11526
|
});
|
11321
11527
|
|
11322
|
-
const globalRefs$
|
11323
|
-
const vars$
|
11528
|
+
const globalRefs$f = getThemeRefs(globals);
|
11529
|
+
const vars$m = LoaderLinearClass.cssVarList;
|
11324
11530
|
|
11325
11531
|
const loaderLinear = {
|
11326
|
-
[vars$
|
11327
|
-
[vars$
|
11532
|
+
[vars$m.hostDisplay]: 'inline-block',
|
11533
|
+
[vars$m.hostWidth]: '100%',
|
11328
11534
|
|
11329
|
-
[vars$
|
11330
|
-
[vars$
|
11535
|
+
[vars$m.barColor]: globalRefs$f.colors.surface.contrast,
|
11536
|
+
[vars$m.barWidth]: '20%',
|
11331
11537
|
|
11332
|
-
[vars$
|
11333
|
-
[vars$
|
11538
|
+
[vars$m.barBackgroundColor]: globalRefs$f.colors.surface.light,
|
11539
|
+
[vars$m.barBorderRadius]: '4px',
|
11334
11540
|
|
11335
|
-
[vars$
|
11336
|
-
[vars$
|
11337
|
-
[vars$
|
11338
|
-
[vars$
|
11541
|
+
[vars$m.animationDuration]: '2s',
|
11542
|
+
[vars$m.animationTimingFunction]: 'linear',
|
11543
|
+
[vars$m.animationIterationCount]: 'infinite',
|
11544
|
+
[vars$m.verticalPadding]: '0.25em',
|
11339
11545
|
|
11340
11546
|
size: {
|
11341
|
-
xs: { [vars$
|
11342
|
-
sm: { [vars$
|
11343
|
-
md: { [vars$
|
11344
|
-
lg: { [vars$
|
11547
|
+
xs: { [vars$m.barHeight]: '2px' },
|
11548
|
+
sm: { [vars$m.barHeight]: '4px' },
|
11549
|
+
md: { [vars$m.barHeight]: '6px' },
|
11550
|
+
lg: { [vars$m.barHeight]: '8px' },
|
11345
11551
|
},
|
11346
11552
|
|
11347
11553
|
mode: {
|
11348
11554
|
primary: {
|
11349
|
-
[vars$
|
11555
|
+
[vars$m.barColor]: globalRefs$f.colors.primary.main,
|
11350
11556
|
},
|
11351
11557
|
secondary: {
|
11352
|
-
[vars$
|
11558
|
+
[vars$m.barColor]: globalRefs$f.colors.secondary.main,
|
11353
11559
|
},
|
11354
11560
|
},
|
11355
11561
|
|
11356
11562
|
_hidden: {
|
11357
|
-
[vars$
|
11563
|
+
[vars$m.hostDisplay]: 'none',
|
11358
11564
|
},
|
11359
11565
|
};
|
11360
11566
|
|
11361
11567
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
11362
11568
|
__proto__: null,
|
11363
11569
|
default: loaderLinear,
|
11364
|
-
vars: vars$
|
11570
|
+
vars: vars$m
|
11365
11571
|
});
|
11366
11572
|
|
11367
|
-
const globalRefs$
|
11573
|
+
const globalRefs$e = getThemeRefs(globals);
|
11368
11574
|
const compVars$2 = LoaderRadialClass.cssVarList;
|
11369
11575
|
|
11370
11576
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
11371
11577
|
{
|
11372
|
-
spinnerColor: globalRefs$
|
11578
|
+
spinnerColor: globalRefs$e.colors.surface.contrast,
|
11373
11579
|
mode: {
|
11374
11580
|
primary: {
|
11375
|
-
spinnerColor: globalRefs$
|
11581
|
+
spinnerColor: globalRefs$e.colors.primary.main,
|
11376
11582
|
},
|
11377
11583
|
secondary: {
|
11378
|
-
spinnerColor: globalRefs$
|
11584
|
+
spinnerColor: globalRefs$e.colors.secondary.main,
|
11379
11585
|
},
|
11380
11586
|
},
|
11381
11587
|
},
|
11382
|
-
componentName$
|
11588
|
+
componentName$M
|
11383
11589
|
);
|
11384
11590
|
|
11385
11591
|
const loaderRadial = {
|
@@ -11408,7 +11614,7 @@ const loaderRadial = {
|
|
11408
11614
|
[compVars$2.hostDisplay]: 'none',
|
11409
11615
|
},
|
11410
11616
|
};
|
11411
|
-
const vars$
|
11617
|
+
const vars$l = {
|
11412
11618
|
...compVars$2,
|
11413
11619
|
...helperVars,
|
11414
11620
|
};
|
@@ -11416,78 +11622,114 @@ const vars$k = {
|
|
11416
11622
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
11417
11623
|
__proto__: null,
|
11418
11624
|
default: loaderRadial,
|
11419
|
-
vars: vars$
|
11625
|
+
vars: vars$l
|
11420
11626
|
});
|
11421
11627
|
|
11422
|
-
const globalRefs$
|
11423
|
-
const vars$
|
11628
|
+
const globalRefs$d = getThemeRefs(globals);
|
11629
|
+
const vars$k = ComboBoxClass.cssVarList;
|
11424
11630
|
|
11425
11631
|
const comboBox = {
|
11426
|
-
[vars$
|
11427
|
-
[vars$
|
11428
|
-
[vars$
|
11429
|
-
[vars$
|
11430
|
-
[vars$
|
11431
|
-
[vars$
|
11432
|
-
[vars$
|
11433
|
-
[vars$
|
11434
|
-
[vars$
|
11435
|
-
[vars$
|
11436
|
-
[vars$
|
11437
|
-
[vars$
|
11438
|
-
[vars$
|
11439
|
-
[vars$
|
11440
|
-
[vars$
|
11441
|
-
[vars$
|
11442
|
-
[vars$
|
11443
|
-
[vars$
|
11444
|
-
[vars$
|
11445
|
-
[vars$
|
11446
|
-
[vars$
|
11447
|
-
[vars$
|
11448
|
-
[vars$
|
11449
|
-
[vars$
|
11450
|
-
[vars$
|
11451
|
-
[vars$
|
11632
|
+
[vars$k.hostWidth]: refs.width,
|
11633
|
+
[vars$k.hostDirection]: refs.direction,
|
11634
|
+
[vars$k.fontSize]: refs.fontSize,
|
11635
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
11636
|
+
[vars$k.labelTextColor]: refs.labelTextColor,
|
11637
|
+
[vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
|
11638
|
+
[vars$k.inputBorderColor]: refs.borderColor,
|
11639
|
+
[vars$k.inputBorderWidth]: refs.borderWidth,
|
11640
|
+
[vars$k.inputBorderStyle]: refs.borderStyle,
|
11641
|
+
[vars$k.inputBorderRadius]: refs.borderRadius,
|
11642
|
+
[vars$k.inputOutlineColor]: refs.outlineColor,
|
11643
|
+
[vars$k.inputOutlineOffset]: refs.outlineOffset,
|
11644
|
+
[vars$k.inputOutlineWidth]: refs.outlineWidth,
|
11645
|
+
[vars$k.inputOutlineStyle]: refs.outlineStyle,
|
11646
|
+
[vars$k.labelRequiredIndicator]: refs.requiredIndicator,
|
11647
|
+
[vars$k.inputValueTextColor]: refs.valueTextColor,
|
11648
|
+
[vars$k.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11649
|
+
[vars$k.inputBackgroundColor]: refs.backgroundColor,
|
11650
|
+
[vars$k.inputHorizontalPadding]: refs.horizontalPadding,
|
11651
|
+
[vars$k.inputHeight]: refs.inputHeight,
|
11652
|
+
[vars$k.inputDropdownButtonColor]: globalRefs$d.colors.surface.dark,
|
11653
|
+
[vars$k.inputDropdownButtonCursor]: 'pointer',
|
11654
|
+
[vars$k.inputDropdownButtonSize]: refs.toggleButtonSize,
|
11655
|
+
[vars$k.inputDropdownButtonOffset]: globalRefs$d.spacing.xs,
|
11656
|
+
[vars$k.overlayItemPaddingInlineStart]: globalRefs$d.spacing.xs,
|
11657
|
+
[vars$k.overlayItemPaddingInlineEnd]: globalRefs$d.spacing.lg,
|
11452
11658
|
|
11453
11659
|
_readonly: {
|
11454
|
-
[vars$
|
11660
|
+
[vars$k.inputDropdownButtonCursor]: 'default',
|
11455
11661
|
},
|
11456
11662
|
|
11457
11663
|
// Overlay theme exposed via the component:
|
11458
|
-
[vars$
|
11459
|
-
[vars$
|
11460
|
-
[vars$
|
11461
|
-
[vars$
|
11462
|
-
[vars$
|
11463
|
-
[vars$
|
11664
|
+
[vars$k.overlayFontSize]: refs.fontSize,
|
11665
|
+
[vars$k.overlayFontFamily]: refs.fontFamily,
|
11666
|
+
[vars$k.overlayCursor]: 'pointer',
|
11667
|
+
[vars$k.overlayItemBoxShadow]: 'none',
|
11668
|
+
[vars$k.overlayBackground]: refs.backgroundColor,
|
11669
|
+
[vars$k.overlayTextColor]: refs.valueTextColor,
|
11464
11670
|
|
11465
11671
|
// Overlay direct theme:
|
11466
|
-
[vars$
|
11467
|
-
[vars$
|
11672
|
+
[vars$k.overlay.minHeight]: '400px',
|
11673
|
+
[vars$k.overlay.margin]: '0',
|
11468
11674
|
};
|
11469
11675
|
|
11470
11676
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
11471
11677
|
__proto__: null,
|
11472
11678
|
comboBox: comboBox,
|
11473
11679
|
default: comboBox,
|
11474
|
-
vars: vars$
|
11680
|
+
vars: vars$k
|
11475
11681
|
});
|
11476
11682
|
|
11477
|
-
const vars$
|
11683
|
+
const vars$j = ImageClass.cssVarList;
|
11478
11684
|
|
11479
11685
|
const image = {};
|
11480
11686
|
|
11481
11687
|
var image$1 = /*#__PURE__*/Object.freeze({
|
11482
11688
|
__proto__: null,
|
11483
11689
|
default: image,
|
11484
|
-
vars: vars$
|
11690
|
+
vars: vars$j
|
11485
11691
|
});
|
11486
11692
|
|
11487
|
-
const vars$
|
11693
|
+
const vars$i = PhoneFieldClass.cssVarList;
|
11488
11694
|
|
11489
11695
|
const phoneField = {
|
11490
|
-
[vars$
|
11696
|
+
[vars$i.hostWidth]: refs.width,
|
11697
|
+
[vars$i.hostDirection]: refs.direction,
|
11698
|
+
[vars$i.fontSize]: refs.fontSize,
|
11699
|
+
[vars$i.fontFamily]: refs.fontFamily,
|
11700
|
+
[vars$i.labelTextColor]: refs.labelTextColor,
|
11701
|
+
[vars$i.labelRequiredIndicator]: refs.requiredIndicator,
|
11702
|
+
[vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
|
11703
|
+
[vars$i.inputValueTextColor]: refs.valueTextColor,
|
11704
|
+
[vars$i.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11705
|
+
[vars$i.inputBorderStyle]: refs.borderStyle,
|
11706
|
+
[vars$i.inputBorderWidth]: refs.borderWidth,
|
11707
|
+
[vars$i.inputBorderColor]: refs.borderColor,
|
11708
|
+
[vars$i.inputBorderRadius]: refs.borderRadius,
|
11709
|
+
[vars$i.inputOutlineStyle]: refs.outlineStyle,
|
11710
|
+
[vars$i.inputOutlineWidth]: refs.outlineWidth,
|
11711
|
+
[vars$i.inputOutlineColor]: refs.outlineColor,
|
11712
|
+
[vars$i.inputOutlineOffset]: refs.outlineOffset,
|
11713
|
+
[vars$i.phoneInputWidth]: refs.minWidth,
|
11714
|
+
[vars$i.countryCodeInputWidth]: '5em',
|
11715
|
+
[vars$i.countryCodeDropdownWidth]: '20em',
|
11716
|
+
|
11717
|
+
// '@overlay': {
|
11718
|
+
// overlayItemBackgroundColor: 'red'
|
11719
|
+
// }
|
11720
|
+
};
|
11721
|
+
|
11722
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
11723
|
+
__proto__: null,
|
11724
|
+
default: phoneField,
|
11725
|
+
vars: vars$i
|
11726
|
+
});
|
11727
|
+
|
11728
|
+
const vars$h = PhoneFieldInputBoxClass.cssVarList;
|
11729
|
+
|
11730
|
+
const phoneInputBoxField = {
|
11731
|
+
[vars$h.hostWidth]: '16em',
|
11732
|
+
[vars$h.hostMinWidth]: refs.minWidth,
|
11491
11733
|
[vars$h.hostDirection]: refs.direction,
|
11492
11734
|
[vars$h.fontSize]: refs.fontSize,
|
11493
11735
|
[vars$h.fontFamily]: refs.fontFamily,
|
@@ -11504,184 +11746,148 @@ const phoneField = {
|
|
11504
11746
|
[vars$h.inputOutlineWidth]: refs.outlineWidth,
|
11505
11747
|
[vars$h.inputOutlineColor]: refs.outlineColor,
|
11506
11748
|
[vars$h.inputOutlineOffset]: refs.outlineOffset,
|
11507
|
-
|
11508
|
-
|
11509
|
-
|
11510
|
-
|
11511
|
-
// '@overlay': {
|
11512
|
-
// overlayItemBackgroundColor: 'red'
|
11513
|
-
// }
|
11749
|
+
_fullWidth: {
|
11750
|
+
[vars$h.hostWidth]: refs.width,
|
11751
|
+
},
|
11514
11752
|
};
|
11515
11753
|
|
11516
|
-
var
|
11754
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
11517
11755
|
__proto__: null,
|
11518
|
-
default:
|
11756
|
+
default: phoneInputBoxField,
|
11519
11757
|
vars: vars$h
|
11520
11758
|
});
|
11521
11759
|
|
11522
|
-
const
|
11760
|
+
const globalRefs$c = getThemeRefs(globals);
|
11761
|
+
const vars$g = NewPasswordClass.cssVarList;
|
11523
11762
|
|
11524
|
-
const
|
11525
|
-
[vars$g.hostWidth]:
|
11763
|
+
const newPassword = {
|
11764
|
+
[vars$g.hostWidth]: refs.width,
|
11526
11765
|
[vars$g.hostMinWidth]: refs.minWidth,
|
11527
11766
|
[vars$g.hostDirection]: refs.direction,
|
11528
11767
|
[vars$g.fontSize]: refs.fontSize,
|
11529
11768
|
[vars$g.fontFamily]: refs.fontFamily,
|
11530
|
-
[vars$g.
|
11531
|
-
[vars$g.labelRequiredIndicator]: refs.requiredIndicator,
|
11769
|
+
[vars$g.spaceBetweenInputs]: '1em',
|
11532
11770
|
[vars$g.errorMessageTextColor]: refs.errorMessageTextColor,
|
11533
|
-
[vars$g.
|
11534
|
-
[vars$g.
|
11535
|
-
[vars$g.inputBorderStyle]: refs.borderStyle,
|
11536
|
-
[vars$g.inputBorderWidth]: refs.borderWidth,
|
11537
|
-
[vars$g.inputBorderColor]: refs.borderColor,
|
11538
|
-
[vars$g.inputBorderRadius]: refs.borderRadius,
|
11539
|
-
[vars$g.inputOutlineStyle]: refs.outlineStyle,
|
11540
|
-
[vars$g.inputOutlineWidth]: refs.outlineWidth,
|
11541
|
-
[vars$g.inputOutlineColor]: refs.outlineColor,
|
11542
|
-
[vars$g.inputOutlineOffset]: refs.outlineOffset,
|
11543
|
-
_fullWidth: {
|
11544
|
-
[vars$g.hostWidth]: refs.width,
|
11545
|
-
},
|
11546
|
-
};
|
11547
|
-
|
11548
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
11549
|
-
__proto__: null,
|
11550
|
-
default: phoneInputBoxField,
|
11551
|
-
vars: vars$g
|
11552
|
-
});
|
11553
|
-
|
11554
|
-
const globalRefs$b = getThemeRefs(globals);
|
11555
|
-
const vars$f = NewPasswordClass.cssVarList;
|
11556
|
-
|
11557
|
-
const newPassword = {
|
11558
|
-
[vars$f.hostWidth]: refs.width,
|
11559
|
-
[vars$f.hostMinWidth]: refs.minWidth,
|
11560
|
-
[vars$f.hostDirection]: refs.direction,
|
11561
|
-
[vars$f.fontSize]: refs.fontSize,
|
11562
|
-
[vars$f.fontFamily]: refs.fontFamily,
|
11563
|
-
[vars$f.spaceBetweenInputs]: '1em',
|
11564
|
-
[vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
|
11565
|
-
[vars$f.policyPreviewBackgroundColor]: 'none',
|
11566
|
-
[vars$f.policyPreviewPadding]: globalRefs$b.spacing.lg,
|
11771
|
+
[vars$g.policyPreviewBackgroundColor]: 'none',
|
11772
|
+
[vars$g.policyPreviewPadding]: globalRefs$c.spacing.lg,
|
11567
11773
|
|
11568
11774
|
_required: {
|
11569
11775
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
11570
11776
|
// That's why we fake the required indicator on each input.
|
11571
11777
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
11572
|
-
[vars$
|
11778
|
+
[vars$g.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
11573
11779
|
},
|
11574
11780
|
};
|
11575
11781
|
|
11576
11782
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
11577
11783
|
__proto__: null,
|
11578
11784
|
default: newPassword,
|
11579
|
-
vars: vars$
|
11785
|
+
vars: vars$g
|
11580
11786
|
});
|
11581
11787
|
|
11582
|
-
const vars$
|
11788
|
+
const vars$f = UploadFileClass.cssVarList;
|
11583
11789
|
|
11584
11790
|
const uploadFile = {
|
11585
|
-
[vars$
|
11586
|
-
[vars$
|
11587
|
-
[vars$
|
11791
|
+
[vars$f.hostDirection]: refs.direction,
|
11792
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
11793
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
11588
11794
|
|
11589
|
-
[vars$
|
11795
|
+
[vars$f.iconSize]: '2em',
|
11590
11796
|
|
11591
|
-
[vars$
|
11592
|
-
[vars$
|
11797
|
+
[vars$f.hostPadding]: '0.75em',
|
11798
|
+
[vars$f.gap]: '0.5em',
|
11593
11799
|
|
11594
|
-
[vars$
|
11595
|
-
[vars$
|
11596
|
-
[vars$
|
11800
|
+
[vars$f.fontSize]: '16px',
|
11801
|
+
[vars$f.titleFontWeight]: '500',
|
11802
|
+
[vars$f.lineHeight]: '1em',
|
11597
11803
|
|
11598
|
-
[vars$
|
11599
|
-
[vars$
|
11600
|
-
[vars$
|
11601
|
-
[vars$
|
11804
|
+
[vars$f.borderWidth]: refs.borderWidth,
|
11805
|
+
[vars$f.borderColor]: refs.borderColor,
|
11806
|
+
[vars$f.borderRadius]: refs.borderRadius,
|
11807
|
+
[vars$f.borderStyle]: 'dashed',
|
11602
11808
|
|
11603
11809
|
_required: {
|
11604
|
-
[vars$
|
11810
|
+
[vars$f.requiredIndicator]: refs.requiredIndicator,
|
11605
11811
|
},
|
11606
11812
|
|
11607
11813
|
size: {
|
11608
11814
|
xs: {
|
11609
|
-
[vars$
|
11610
|
-
[vars$
|
11611
|
-
[vars$
|
11612
|
-
[vars$
|
11613
|
-
[vars$
|
11815
|
+
[vars$f.hostHeight]: '196px',
|
11816
|
+
[vars$f.hostWidth]: '200px',
|
11817
|
+
[vars$f.titleFontSize]: '0.875em',
|
11818
|
+
[vars$f.descriptionFontSize]: '0.875em',
|
11819
|
+
[vars$f.lineHeight]: '1.25em',
|
11614
11820
|
},
|
11615
11821
|
sm: {
|
11616
|
-
[vars$
|
11617
|
-
[vars$
|
11618
|
-
[vars$
|
11619
|
-
[vars$
|
11620
|
-
[vars$
|
11822
|
+
[vars$f.hostHeight]: '216px',
|
11823
|
+
[vars$f.hostWidth]: '230px',
|
11824
|
+
[vars$f.titleFontSize]: '1em',
|
11825
|
+
[vars$f.descriptionFontSize]: '0.875em',
|
11826
|
+
[vars$f.lineHeight]: '1.25em',
|
11621
11827
|
},
|
11622
11828
|
md: {
|
11623
|
-
[vars$
|
11624
|
-
[vars$
|
11625
|
-
[vars$
|
11626
|
-
[vars$
|
11627
|
-
[vars$
|
11829
|
+
[vars$f.hostHeight]: '256px',
|
11830
|
+
[vars$f.hostWidth]: '312px',
|
11831
|
+
[vars$f.titleFontSize]: '1.125em',
|
11832
|
+
[vars$f.descriptionFontSize]: '1em',
|
11833
|
+
[vars$f.lineHeight]: '1.5em',
|
11628
11834
|
},
|
11629
11835
|
lg: {
|
11630
|
-
[vars$
|
11631
|
-
[vars$
|
11632
|
-
[vars$
|
11633
|
-
[vars$
|
11634
|
-
[vars$
|
11836
|
+
[vars$f.hostHeight]: '280px',
|
11837
|
+
[vars$f.hostWidth]: '336px',
|
11838
|
+
[vars$f.titleFontSize]: '1.125em',
|
11839
|
+
[vars$f.descriptionFontSize]: '1.125em',
|
11840
|
+
[vars$f.lineHeight]: '1.75em',
|
11635
11841
|
},
|
11636
11842
|
},
|
11637
11843
|
|
11638
11844
|
_fullWidth: {
|
11639
|
-
[vars$
|
11845
|
+
[vars$f.hostWidth]: refs.width,
|
11640
11846
|
},
|
11641
11847
|
};
|
11642
11848
|
|
11643
11849
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
11644
11850
|
__proto__: null,
|
11645
11851
|
default: uploadFile,
|
11646
|
-
vars: vars$
|
11852
|
+
vars: vars$f
|
11647
11853
|
});
|
11648
11854
|
|
11649
|
-
const globalRefs$
|
11855
|
+
const globalRefs$b = getThemeRefs(globals);
|
11650
11856
|
|
11651
|
-
const vars$
|
11857
|
+
const vars$e = ButtonSelectionGroupItemClass.cssVarList;
|
11652
11858
|
|
11653
11859
|
const buttonSelectionGroupItem = {
|
11654
|
-
[vars$
|
11655
|
-
[vars$
|
11656
|
-
[vars$
|
11657
|
-
[vars$
|
11658
|
-
[vars$
|
11659
|
-
[vars$
|
11660
|
-
[vars$
|
11661
|
-
[vars$
|
11860
|
+
[vars$e.hostDirection]: 'inherit',
|
11861
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.main,
|
11862
|
+
[vars$e.labelTextColor]: globalRefs$b.colors.surface.contrast,
|
11863
|
+
[vars$e.borderColor]: globalRefs$b.colors.surface.light,
|
11864
|
+
[vars$e.borderStyle]: 'solid',
|
11865
|
+
[vars$e.borderRadius]: globalRefs$b.radius.sm,
|
11866
|
+
[vars$e.outlineColor]: 'transparent',
|
11867
|
+
[vars$e.borderWidth]: globalRefs$b.border.xs,
|
11662
11868
|
|
11663
11869
|
_hover: {
|
11664
|
-
[vars$
|
11870
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.highlight,
|
11665
11871
|
},
|
11666
11872
|
|
11667
11873
|
_focused: {
|
11668
|
-
[vars$
|
11874
|
+
[vars$e.outlineColor]: globalRefs$b.colors.surface.light,
|
11669
11875
|
},
|
11670
11876
|
|
11671
11877
|
_selected: {
|
11672
|
-
[vars$
|
11673
|
-
[vars$
|
11674
|
-
[vars$
|
11878
|
+
[vars$e.borderColor]: globalRefs$b.colors.surface.contrast,
|
11879
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.contrast,
|
11880
|
+
[vars$e.labelTextColor]: globalRefs$b.colors.surface.main,
|
11675
11881
|
},
|
11676
11882
|
};
|
11677
11883
|
|
11678
11884
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
11679
11885
|
__proto__: null,
|
11680
11886
|
default: buttonSelectionGroupItem,
|
11681
|
-
vars: vars$
|
11887
|
+
vars: vars$e
|
11682
11888
|
});
|
11683
11889
|
|
11684
|
-
const globalRefs$
|
11890
|
+
const globalRefs$a = getThemeRefs(globals);
|
11685
11891
|
|
11686
11892
|
const createBaseButtonSelectionGroupMappings = (vars) => ({
|
11687
11893
|
[vars.hostDirection]: refs.direction,
|
@@ -11689,84 +11895,84 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
11689
11895
|
[vars.labelTextColor]: refs.labelTextColor,
|
11690
11896
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
11691
11897
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
11692
|
-
[vars.itemsSpacing]: globalRefs$
|
11898
|
+
[vars.itemsSpacing]: globalRefs$a.spacing.sm,
|
11693
11899
|
[vars.hostWidth]: refs.width,
|
11694
11900
|
});
|
11695
11901
|
|
11696
|
-
const vars$
|
11902
|
+
const vars$d = ButtonSelectionGroupClass.cssVarList;
|
11697
11903
|
|
11698
11904
|
const buttonSelectionGroup = {
|
11699
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11905
|
+
...createBaseButtonSelectionGroupMappings(vars$d),
|
11700
11906
|
};
|
11701
11907
|
|
11702
11908
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
11703
11909
|
__proto__: null,
|
11704
11910
|
default: buttonSelectionGroup,
|
11705
|
-
vars: vars$
|
11911
|
+
vars: vars$d
|
11706
11912
|
});
|
11707
11913
|
|
11708
|
-
const vars$
|
11914
|
+
const vars$c = ButtonMultiSelectionGroupClass.cssVarList;
|
11709
11915
|
|
11710
11916
|
const buttonMultiSelectionGroup = {
|
11711
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11917
|
+
...createBaseButtonSelectionGroupMappings(vars$c),
|
11712
11918
|
};
|
11713
11919
|
|
11714
11920
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
11715
11921
|
__proto__: null,
|
11716
11922
|
default: buttonMultiSelectionGroup,
|
11717
|
-
vars: vars$
|
11923
|
+
vars: vars$c
|
11718
11924
|
});
|
11719
11925
|
|
11720
|
-
const globalRefs$
|
11926
|
+
const globalRefs$9 = getThemeRefs(globals);
|
11721
11927
|
|
11722
11928
|
const compVars$1 = ModalClass.cssVarList;
|
11723
11929
|
|
11724
11930
|
const modal = {
|
11725
|
-
[compVars$1.overlayBackgroundColor]: globalRefs$
|
11726
|
-
[compVars$1.overlayShadow]: globalRefs$
|
11931
|
+
[compVars$1.overlayBackgroundColor]: globalRefs$9.colors.surface.main,
|
11932
|
+
[compVars$1.overlayShadow]: globalRefs$9.shadow.wide['2xl'],
|
11727
11933
|
[compVars$1.overlayWidth]: '540px',
|
11728
11934
|
};
|
11729
11935
|
|
11730
|
-
const vars$
|
11936
|
+
const vars$b = {
|
11731
11937
|
...compVars$1,
|
11732
11938
|
};
|
11733
11939
|
|
11734
11940
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
11735
11941
|
__proto__: null,
|
11736
11942
|
default: modal,
|
11737
|
-
vars: vars$
|
11943
|
+
vars: vars$b
|
11738
11944
|
});
|
11739
11945
|
|
11740
|
-
const globalRefs$
|
11741
|
-
const vars$
|
11946
|
+
const globalRefs$8 = getThemeRefs(globals);
|
11947
|
+
const vars$a = GridClass.cssVarList;
|
11742
11948
|
|
11743
11949
|
const grid = {
|
11744
|
-
[vars$
|
11745
|
-
[vars$
|
11746
|
-
[vars$
|
11747
|
-
[vars$
|
11748
|
-
[vars$
|
11950
|
+
[vars$a.hostWidth]: '100%',
|
11951
|
+
[vars$a.hostHeight]: '100%',
|
11952
|
+
[vars$a.hostMinHeight]: '400px',
|
11953
|
+
[vars$a.fontWeight]: '400',
|
11954
|
+
[vars$a.backgroundColor]: globalRefs$8.colors.surface.main,
|
11749
11955
|
|
11750
|
-
[vars$
|
11751
|
-
[vars$
|
11956
|
+
[vars$a.fontSize]: refs.fontSize,
|
11957
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
11752
11958
|
|
11753
|
-
[vars$
|
11754
|
-
[vars$
|
11755
|
-
[vars$
|
11959
|
+
[vars$a.sortIndicatorsColor]: globalRefs$8.colors.surface.light,
|
11960
|
+
[vars$a.activeSortIndicator]: globalRefs$8.colors.surface.dark,
|
11961
|
+
[vars$a.resizeHandleColor]: globalRefs$8.colors.surface.light,
|
11756
11962
|
|
11757
|
-
[vars$
|
11758
|
-
[vars$
|
11759
|
-
[vars$
|
11760
|
-
[vars$
|
11963
|
+
[vars$a.borderWidth]: refs.borderWidth,
|
11964
|
+
[vars$a.borderStyle]: refs.borderStyle,
|
11965
|
+
[vars$a.borderRadius]: refs.borderRadius,
|
11966
|
+
[vars$a.borderColor]: 'transparent',
|
11761
11967
|
|
11762
|
-
[vars$
|
11763
|
-
[vars$
|
11968
|
+
[vars$a.headerRowTextColor]: globalRefs$8.colors.surface.dark,
|
11969
|
+
[vars$a.separatorColor]: globalRefs$8.colors.surface.light,
|
11764
11970
|
|
11765
|
-
[vars$
|
11766
|
-
[vars$
|
11971
|
+
[vars$a.valueTextColor]: globalRefs$8.colors.surface.contrast,
|
11972
|
+
[vars$a.selectedBackgroundColor]: globalRefs$8.colors.surface.highlight,
|
11767
11973
|
|
11768
11974
|
_bordered: {
|
11769
|
-
[vars$
|
11975
|
+
[vars$a.borderColor]: refs.borderColor,
|
11770
11976
|
},
|
11771
11977
|
};
|
11772
11978
|
|
@@ -11774,53 +11980,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
11774
11980
|
__proto__: null,
|
11775
11981
|
default: grid,
|
11776
11982
|
grid: grid,
|
11777
|
-
vars: vars$
|
11983
|
+
vars: vars$a
|
11778
11984
|
});
|
11779
11985
|
|
11780
|
-
const globalRefs$
|
11781
|
-
const vars$
|
11986
|
+
const globalRefs$7 = getThemeRefs(globals);
|
11987
|
+
const vars$9 = NotificationCardClass.cssVarList;
|
11782
11988
|
|
11783
11989
|
const shadowColor = '#00000020';
|
11784
11990
|
|
11785
11991
|
const notification = {
|
11786
|
-
[vars$
|
11787
|
-
[vars$
|
11788
|
-
[vars$
|
11789
|
-
[vars$
|
11790
|
-
[vars$
|
11791
|
-
[vars$
|
11792
|
-
[vars$
|
11793
|
-
[vars$
|
11794
|
-
[vars$
|
11992
|
+
[vars$9.hostMinWidth]: '415px',
|
11993
|
+
[vars$9.fontFamily]: globalRefs$7.fonts.font1.family,
|
11994
|
+
[vars$9.fontSize]: globalRefs$7.typography.body1.size,
|
11995
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.surface.main,
|
11996
|
+
[vars$9.textColor]: globalRefs$7.colors.surface.contrast,
|
11997
|
+
[vars$9.boxShadow]: `${globalRefs$7.shadow.wide.xl} ${shadowColor}, ${globalRefs$7.shadow.narrow.xl} ${shadowColor}`,
|
11998
|
+
[vars$9.verticalPadding]: '0.625em',
|
11999
|
+
[vars$9.horizontalPadding]: '1.5em',
|
12000
|
+
[vars$9.borderRadius]: globalRefs$7.radius.xs,
|
11795
12001
|
|
11796
12002
|
_bordered: {
|
11797
|
-
[vars$
|
11798
|
-
[vars$
|
11799
|
-
[vars$
|
12003
|
+
[vars$9.borderWidth]: globalRefs$7.border.sm,
|
12004
|
+
[vars$9.borderStyle]: 'solid',
|
12005
|
+
[vars$9.borderColor]: 'transparent',
|
11800
12006
|
},
|
11801
12007
|
|
11802
12008
|
size: {
|
11803
|
-
xs: { [vars$
|
11804
|
-
sm: { [vars$
|
11805
|
-
md: { [vars$
|
11806
|
-
lg: { [vars$
|
12009
|
+
xs: { [vars$9.fontSize]: '12px' },
|
12010
|
+
sm: { [vars$9.fontSize]: '14px' },
|
12011
|
+
md: { [vars$9.fontSize]: '16px' },
|
12012
|
+
lg: { [vars$9.fontSize]: '18px' },
|
11807
12013
|
},
|
11808
12014
|
|
11809
12015
|
mode: {
|
11810
12016
|
primary: {
|
11811
|
-
[vars$
|
11812
|
-
[vars$
|
11813
|
-
[vars$
|
12017
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.primary.main,
|
12018
|
+
[vars$9.textColor]: globalRefs$7.colors.primary.contrast,
|
12019
|
+
[vars$9.borderColor]: globalRefs$7.colors.primary.light,
|
11814
12020
|
},
|
11815
12021
|
success: {
|
11816
|
-
[vars$
|
11817
|
-
[vars$
|
11818
|
-
[vars$
|
12022
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.success.main,
|
12023
|
+
[vars$9.textColor]: globalRefs$7.colors.success.contrast,
|
12024
|
+
[vars$9.borderColor]: globalRefs$7.colors.success.light,
|
11819
12025
|
},
|
11820
12026
|
error: {
|
11821
|
-
[vars$
|
11822
|
-
[vars$
|
11823
|
-
[vars$
|
12027
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.error.main,
|
12028
|
+
[vars$9.textColor]: globalRefs$7.colors.error.contrast,
|
12029
|
+
[vars$9.borderColor]: globalRefs$7.colors.error.light,
|
11824
12030
|
},
|
11825
12031
|
},
|
11826
12032
|
};
|
@@ -11828,128 +12034,128 @@ const notification = {
|
|
11828
12034
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
11829
12035
|
__proto__: null,
|
11830
12036
|
default: notification,
|
11831
|
-
vars: vars$
|
12037
|
+
vars: vars$9
|
11832
12038
|
});
|
11833
12039
|
|
11834
|
-
const globalRefs$
|
11835
|
-
const vars$
|
12040
|
+
const globalRefs$6 = getThemeRefs(globals);
|
12041
|
+
const vars$8 = MultiSelectComboBoxClass.cssVarList;
|
11836
12042
|
|
11837
12043
|
const multiSelectComboBox = {
|
11838
|
-
[vars$
|
11839
|
-
[vars$
|
11840
|
-
[vars$
|
11841
|
-
[vars$
|
11842
|
-
[vars$
|
11843
|
-
[vars$
|
11844
|
-
[vars$
|
11845
|
-
[vars$
|
11846
|
-
[vars$
|
11847
|
-
[vars$
|
11848
|
-
[vars$
|
11849
|
-
[vars$
|
11850
|
-
[vars$
|
11851
|
-
[vars$
|
11852
|
-
[vars$
|
11853
|
-
[vars$
|
11854
|
-
[vars$
|
11855
|
-
[vars$
|
11856
|
-
[vars$
|
11857
|
-
[vars$
|
11858
|
-
[vars$
|
11859
|
-
[vars$
|
11860
|
-
[vars$
|
11861
|
-
[vars$
|
11862
|
-
[vars$
|
11863
|
-
[vars$
|
11864
|
-
[vars$
|
11865
|
-
[vars$
|
11866
|
-
[vars$
|
11867
|
-
[vars$
|
12044
|
+
[vars$8.hostWidth]: refs.width,
|
12045
|
+
[vars$8.hostDirection]: refs.direction,
|
12046
|
+
[vars$8.fontSize]: refs.fontSize,
|
12047
|
+
[vars$8.fontFamily]: refs.fontFamily,
|
12048
|
+
[vars$8.labelTextColor]: refs.labelTextColor,
|
12049
|
+
[vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
|
12050
|
+
[vars$8.inputBorderColor]: refs.borderColor,
|
12051
|
+
[vars$8.inputBorderWidth]: refs.borderWidth,
|
12052
|
+
[vars$8.inputBorderStyle]: refs.borderStyle,
|
12053
|
+
[vars$8.inputBorderRadius]: refs.borderRadius,
|
12054
|
+
[vars$8.inputOutlineColor]: refs.outlineColor,
|
12055
|
+
[vars$8.inputOutlineOffset]: refs.outlineOffset,
|
12056
|
+
[vars$8.inputOutlineWidth]: refs.outlineWidth,
|
12057
|
+
[vars$8.inputOutlineStyle]: refs.outlineStyle,
|
12058
|
+
[vars$8.labelRequiredIndicator]: refs.requiredIndicator,
|
12059
|
+
[vars$8.inputValueTextColor]: refs.valueTextColor,
|
12060
|
+
[vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
12061
|
+
[vars$8.inputBackgroundColor]: refs.backgroundColor,
|
12062
|
+
[vars$8.inputHorizontalPadding]: refs.horizontalPadding,
|
12063
|
+
[vars$8.inputVerticalPadding]: refs.verticalPadding,
|
12064
|
+
[vars$8.inputHeight]: refs.inputHeight,
|
12065
|
+
[vars$8.inputDropdownButtonColor]: globalRefs$6.colors.surface.dark,
|
12066
|
+
[vars$8.inputDropdownButtonCursor]: 'pointer',
|
12067
|
+
[vars$8.inputDropdownButtonSize]: refs.toggleButtonSize,
|
12068
|
+
[vars$8.inputDropdownButtonOffset]: globalRefs$6.spacing.xs,
|
12069
|
+
[vars$8.overlayItemPaddingInlineStart]: globalRefs$6.spacing.xs,
|
12070
|
+
[vars$8.overlayItemPaddingInlineEnd]: globalRefs$6.spacing.lg,
|
12071
|
+
[vars$8.chipFontSize]: refs.chipFontSize,
|
12072
|
+
[vars$8.chipTextColor]: globalRefs$6.colors.surface.contrast,
|
12073
|
+
[vars$8.chipBackgroundColor]: globalRefs$6.colors.surface.light,
|
11868
12074
|
|
11869
12075
|
_readonly: {
|
11870
|
-
[vars$
|
12076
|
+
[vars$8.inputDropdownButtonCursor]: 'default',
|
11871
12077
|
},
|
11872
12078
|
|
11873
12079
|
// Overlay theme exposed via the component:
|
11874
|
-
[vars$
|
11875
|
-
[vars$
|
11876
|
-
[vars$
|
11877
|
-
[vars$
|
11878
|
-
[vars$
|
11879
|
-
[vars$
|
12080
|
+
[vars$8.overlayFontSize]: refs.fontSize,
|
12081
|
+
[vars$8.overlayFontFamily]: refs.fontFamily,
|
12082
|
+
[vars$8.overlayCursor]: 'pointer',
|
12083
|
+
[vars$8.overlayItemBoxShadow]: 'none',
|
12084
|
+
[vars$8.overlayBackground]: refs.backgroundColor,
|
12085
|
+
[vars$8.overlayTextColor]: refs.valueTextColor,
|
11880
12086
|
|
11881
12087
|
// Overlay direct theme:
|
11882
|
-
[vars$
|
11883
|
-
[vars$
|
12088
|
+
[vars$8.overlay.minHeight]: '400px',
|
12089
|
+
[vars$8.overlay.margin]: '0',
|
11884
12090
|
};
|
11885
12091
|
|
11886
12092
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
11887
12093
|
__proto__: null,
|
11888
12094
|
default: multiSelectComboBox,
|
11889
12095
|
multiSelectComboBox: multiSelectComboBox,
|
11890
|
-
vars: vars$
|
12096
|
+
vars: vars$8
|
11891
12097
|
});
|
11892
12098
|
|
11893
|
-
const globalRefs$
|
11894
|
-
const vars$
|
12099
|
+
const globalRefs$5 = getThemeRefs(globals);
|
12100
|
+
const vars$7 = BadgeClass.cssVarList;
|
11895
12101
|
|
11896
12102
|
const badge = {
|
11897
|
-
[vars$
|
11898
|
-
[vars$
|
12103
|
+
[vars$7.hostWidth]: 'fit-content',
|
12104
|
+
[vars$7.hostDirection]: globalRefs$5.direction,
|
11899
12105
|
|
11900
|
-
[vars$
|
12106
|
+
[vars$7.textAlign]: 'center',
|
11901
12107
|
|
11902
|
-
[vars$
|
11903
|
-
[vars$
|
12108
|
+
[vars$7.fontFamily]: globalRefs$5.fonts.font1.family,
|
12109
|
+
[vars$7.fontWeight]: '400',
|
11904
12110
|
|
11905
|
-
[vars$
|
11906
|
-
[vars$
|
12111
|
+
[vars$7.verticalPadding]: '0.25em',
|
12112
|
+
[vars$7.horizontalPadding]: '0.5em',
|
11907
12113
|
|
11908
|
-
[vars$
|
11909
|
-
[vars$
|
11910
|
-
[vars$
|
11911
|
-
[vars$
|
12114
|
+
[vars$7.borderWidth]: globalRefs$5.border.xs,
|
12115
|
+
[vars$7.borderRadius]: globalRefs$5.radius.xs,
|
12116
|
+
[vars$7.borderColor]: 'transparent',
|
12117
|
+
[vars$7.borderStyle]: 'solid',
|
11912
12118
|
|
11913
12119
|
_fullWidth: {
|
11914
|
-
[vars$
|
12120
|
+
[vars$7.hostWidth]: '100%',
|
11915
12121
|
},
|
11916
12122
|
|
11917
12123
|
size: {
|
11918
|
-
xs: { [vars$
|
11919
|
-
sm: { [vars$
|
11920
|
-
md: { [vars$
|
11921
|
-
lg: { [vars$
|
12124
|
+
xs: { [vars$7.fontSize]: '12px' },
|
12125
|
+
sm: { [vars$7.fontSize]: '14px' },
|
12126
|
+
md: { [vars$7.fontSize]: '16px' },
|
12127
|
+
lg: { [vars$7.fontSize]: '18px' },
|
11922
12128
|
},
|
11923
12129
|
|
11924
12130
|
mode: {
|
11925
12131
|
default: {
|
11926
|
-
[vars$
|
12132
|
+
[vars$7.textColor]: globalRefs$5.colors.surface.dark,
|
11927
12133
|
_bordered: {
|
11928
|
-
[vars$
|
12134
|
+
[vars$7.borderColor]: globalRefs$5.colors.surface.light,
|
11929
12135
|
},
|
11930
12136
|
},
|
11931
12137
|
primary: {
|
11932
|
-
[vars$
|
12138
|
+
[vars$7.textColor]: globalRefs$5.colors.primary.main,
|
11933
12139
|
_bordered: {
|
11934
|
-
[vars$
|
12140
|
+
[vars$7.borderColor]: globalRefs$5.colors.primary.light,
|
11935
12141
|
},
|
11936
12142
|
},
|
11937
12143
|
secondary: {
|
11938
|
-
[vars$
|
12144
|
+
[vars$7.textColor]: globalRefs$5.colors.secondary.main,
|
11939
12145
|
_bordered: {
|
11940
|
-
[vars$
|
12146
|
+
[vars$7.borderColor]: globalRefs$5.colors.secondary.light,
|
11941
12147
|
},
|
11942
12148
|
},
|
11943
12149
|
error: {
|
11944
|
-
[vars$
|
12150
|
+
[vars$7.textColor]: globalRefs$5.colors.error.main,
|
11945
12151
|
_bordered: {
|
11946
|
-
[vars$
|
12152
|
+
[vars$7.borderColor]: globalRefs$5.colors.error.light,
|
11947
12153
|
},
|
11948
12154
|
},
|
11949
12155
|
success: {
|
11950
|
-
[vars$
|
12156
|
+
[vars$7.textColor]: globalRefs$5.colors.success.main,
|
11951
12157
|
_bordered: {
|
11952
|
-
[vars$
|
12158
|
+
[vars$7.borderColor]: globalRefs$5.colors.success.light,
|
11953
12159
|
},
|
11954
12160
|
},
|
11955
12161
|
},
|
@@ -11958,19 +12164,19 @@ const badge = {
|
|
11958
12164
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
11959
12165
|
__proto__: null,
|
11960
12166
|
default: badge,
|
11961
|
-
vars: vars$
|
12167
|
+
vars: vars$7
|
11962
12168
|
});
|
11963
12169
|
|
11964
|
-
const globalRefs$
|
12170
|
+
const globalRefs$4 = getThemeRefs(globals);
|
11965
12171
|
const compVars = AvatarClass.cssVarList;
|
11966
12172
|
|
11967
12173
|
const avatar = {
|
11968
|
-
[compVars.hostDirection]: globalRefs$
|
11969
|
-
[compVars.editableIconColor]: globalRefs$
|
11970
|
-
[compVars.editableBorderColor]: globalRefs$
|
11971
|
-
[compVars.editableBackgroundColor]: globalRefs$
|
11972
|
-
[compVars.avatarTextColor]: globalRefs$
|
11973
|
-
[compVars.avatarBackgroundColor]: globalRefs$
|
12174
|
+
[compVars.hostDirection]: globalRefs$4.direction,
|
12175
|
+
[compVars.editableIconColor]: globalRefs$4.colors.surface.dark,
|
12176
|
+
[compVars.editableBorderColor]: globalRefs$4.colors.surface.dark,
|
12177
|
+
[compVars.editableBackgroundColor]: globalRefs$4.colors.surface.main,
|
12178
|
+
[compVars.avatarTextColor]: globalRefs$4.colors.surface.main,
|
12179
|
+
[compVars.avatarBackgroundColor]: globalRefs$4.colors.surface.dark,
|
11974
12180
|
|
11975
12181
|
_editable: {
|
11976
12182
|
[compVars.cursor]: 'pointer',
|
@@ -11996,64 +12202,84 @@ const avatar = {
|
|
11996
12202
|
},
|
11997
12203
|
};
|
11998
12204
|
|
11999
|
-
const vars$
|
12205
|
+
const vars$6 = {
|
12000
12206
|
...compVars,
|
12001
12207
|
};
|
12002
12208
|
|
12003
12209
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
12004
12210
|
__proto__: null,
|
12005
12211
|
default: avatar,
|
12006
|
-
vars: vars$
|
12212
|
+
vars: vars$6
|
12007
12213
|
});
|
12008
12214
|
|
12009
|
-
const globalRefs$
|
12215
|
+
const globalRefs$3 = getThemeRefs(globals);
|
12010
12216
|
|
12011
|
-
const vars$
|
12217
|
+
const vars$5 = MappingsFieldClass.cssVarList;
|
12012
12218
|
|
12013
12219
|
const mappingsField = {
|
12014
|
-
[vars$
|
12015
|
-
[vars$
|
12016
|
-
[vars$
|
12017
|
-
[vars$
|
12018
|
-
[vars$
|
12019
|
-
[vars$
|
12020
|
-
[vars$
|
12021
|
-
[vars$
|
12022
|
-
[vars$
|
12023
|
-
[vars$
|
12220
|
+
[vars$5.hostWidth]: refs.width,
|
12221
|
+
[vars$5.hostDirection]: refs.direction,
|
12222
|
+
[vars$5.fontSize]: refs.fontSize,
|
12223
|
+
[vars$5.fontFamily]: refs.fontFamily,
|
12224
|
+
[vars$5.separatorFontSize]: '14px',
|
12225
|
+
[vars$5.labelsFontSize]: '14px',
|
12226
|
+
[vars$5.labelsLineHeight]: '1',
|
12227
|
+
[vars$5.labelsMarginBottom]: '6px',
|
12228
|
+
[vars$5.labelTextColor]: refs.labelTextColor,
|
12229
|
+
[vars$5.itemMarginBottom]: '1em',
|
12024
12230
|
// To be positioned correctly, the min width has to match the text field min width
|
12025
|
-
[vars$
|
12231
|
+
[vars$5.valueLabelMinWidth]: refs.minWidth,
|
12026
12232
|
// To be positioned correctly, the min width has to match the combo box field min width
|
12027
|
-
[vars$
|
12028
|
-
[vars$
|
12029
|
-
[vars$
|
12233
|
+
[vars$5.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$3.border.xs})`,
|
12234
|
+
[vars$5.separatorWidth]: '70px',
|
12235
|
+
[vars$5.removeButtonWidth]: '60px',
|
12030
12236
|
};
|
12031
12237
|
|
12032
12238
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
12033
12239
|
__proto__: null,
|
12034
12240
|
default: mappingsField,
|
12035
12241
|
mappingsField: mappingsField,
|
12242
|
+
vars: vars$5
|
12243
|
+
});
|
12244
|
+
|
12245
|
+
const globalRefs$2 = getThemeRefs(globals);
|
12246
|
+
const vars$4 = UserAttributeClass.cssVarList;
|
12247
|
+
|
12248
|
+
const userAttribute = {
|
12249
|
+
[vars$4.hostDirection]: globalRefs$2.direction,
|
12250
|
+
[vars$4.labelTextWidth]: '150px',
|
12251
|
+
[vars$4.valueTextWidth]: '200px',
|
12252
|
+
[vars$4.badgeMaxWidth]: '85px',
|
12253
|
+
[vars$4.itemsGap]: '16px',
|
12254
|
+
[vars$4.hostMinWidth]: '530px',
|
12255
|
+
_fullWidth: {
|
12256
|
+
[vars$4.hostWidth]: '100%',
|
12257
|
+
},
|
12258
|
+
};
|
12259
|
+
|
12260
|
+
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
12261
|
+
__proto__: null,
|
12262
|
+
default: userAttribute,
|
12036
12263
|
vars: vars$4
|
12037
12264
|
});
|
12038
12265
|
|
12039
12266
|
const globalRefs$1 = getThemeRefs(globals);
|
12040
|
-
const vars$3 =
|
12267
|
+
const vars$3 = UserAuthMethodClass.cssVarList;
|
12041
12268
|
|
12042
|
-
const
|
12269
|
+
const userAuthMethod = {
|
12043
12270
|
[vars$3.hostDirection]: globalRefs$1.direction,
|
12044
|
-
[vars$3.labelTextWidth]: '
|
12045
|
-
[vars$3.valueTextWidth]: '200px',
|
12046
|
-
[vars$3.badgeMaxWidth]: '85px',
|
12271
|
+
[vars$3.labelTextWidth]: '200px',
|
12047
12272
|
[vars$3.itemsGap]: '16px',
|
12048
12273
|
[vars$3.hostMinWidth]: '530px',
|
12274
|
+
[vars$3.iconSize]: '24px',
|
12049
12275
|
_fullWidth: {
|
12050
12276
|
[vars$3.hostWidth]: '100%',
|
12051
12277
|
},
|
12052
12278
|
};
|
12053
12279
|
|
12054
|
-
var
|
12280
|
+
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
12055
12281
|
__proto__: null,
|
12056
|
-
default:
|
12282
|
+
default: userAuthMethod,
|
12057
12283
|
vars: vars$3
|
12058
12284
|
});
|
12059
12285
|
|
@@ -12137,6 +12363,7 @@ const components = {
|
|
12137
12363
|
avatar: avatar$1,
|
12138
12364
|
mappingsField: mappingsField$1,
|
12139
12365
|
userAttribute: userAttribute$1,
|
12366
|
+
userAuthMethod: userAuthMethod$1,
|
12140
12367
|
samlGroupMappings: samlGroupMappings$1,
|
12141
12368
|
policyValidation: policyValidation$1,
|
12142
12369
|
};
|
@@ -12151,7 +12378,7 @@ const vars = Object.keys(components).reduce(
|
|
12151
12378
|
);
|
12152
12379
|
|
12153
12380
|
const defaultTheme = { globals, components: theme };
|
12154
|
-
const themeVars = { globals: vars$
|
12381
|
+
const themeVars = { globals: vars$E, components: vars };
|
12155
12382
|
|
12156
12383
|
const colors = {
|
12157
12384
|
surface: {
|
@@ -12197,5 +12424,5 @@ const darkTheme = merge({}, defaultTheme, {
|
|
12197
12424
|
},
|
12198
12425
|
});
|
12199
12426
|
|
12200
|
-
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, PolicyValidationClass, RecaptchaClass, SamlGroupMappingsClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
12427
|
+
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, PolicyValidationClass, RecaptchaClass, SamlGroupMappingsClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
12201
12428
|
//# sourceMappingURL=index.esm.js.map
|