@descope/web-components-ui 1.0.294 → 1.0.296
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +1147 -920
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1141 -913
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1224.js +1 -1
- package/dist/umd/1438.js +16 -9
- package/dist/umd/1438.js.LICENSE.txt +12 -0
- package/dist/umd/1612.js +338 -0
- package/dist/umd/1621.js +1 -1
- package/dist/umd/2362.js +129 -0
- package/dist/umd/3830.js +2 -0
- package/dist/umd/{3003.js.LICENSE.txt → 3830.js.LICENSE.txt} +12 -0
- package/dist/umd/3951.js +116 -4
- package/dist/umd/3951.js.LICENSE.txt +18 -0
- package/dist/umd/{9211.js → 4024.js} +5 -5
- package/dist/umd/{2775.js → 4028.js} +10 -10
- package/dist/umd/4028.js.LICENSE.txt +23 -0
- package/dist/umd/4052.js +338 -0
- package/dist/umd/4392.js +1 -0
- package/dist/umd/4746.js +124 -0
- package/dist/umd/{6091.js.LICENSE.txt → 4746.js.LICENSE.txt} +6 -0
- package/dist/umd/4978.js +1 -0
- package/dist/umd/{4595.js → 5135.js} +93 -5
- package/dist/umd/{2775.js.LICENSE.txt → 5135.js.LICENSE.txt} +2 -2
- package/dist/umd/5517.js +1 -1
- package/dist/umd/5806.js +4 -4
- package/dist/umd/5910.js +1 -1
- package/dist/umd/63.js +147 -1
- package/dist/umd/63.js.LICENSE.txt +13 -1
- package/dist/umd/6594.js +2 -0
- package/dist/umd/{1940.js.LICENSE.txt → 6594.js.LICENSE.txt} +1 -1
- package/dist/umd/6770.js +4 -4
- package/dist/umd/7056.js +376 -5
- package/dist/umd/7056.js.LICENSE.txt +6 -0
- package/dist/umd/7164.js +148 -0
- package/dist/umd/{2106.js.LICENSE.txt → 7164.js.LICENSE.txt} +1 -7
- package/dist/umd/7531.js +1 -1
- package/dist/umd/7911.js +4 -4
- package/dist/umd/7911.js.LICENSE.txt +6 -0
- package/dist/umd/{3092.js → 8191.js} +40 -5
- package/dist/umd/8866.js +97 -5
- package/dist/umd/8866.js.LICENSE.txt +12 -0
- package/dist/umd/9092.js +440 -12
- package/dist/umd/9092.js.LICENSE.txt +6 -0
- package/dist/umd/{1940.js → 9314.js} +126 -7
- package/dist/umd/9314.js.LICENSE.txt +11 -0
- package/dist/umd/9423.js +608 -0
- package/dist/umd/9423.js.LICENSE.txt +23 -0
- package/dist/umd/9562.js +338 -0
- package/dist/umd/9562.js.LICENSE.txt +11 -0
- package/dist/umd/DescopeDev.js +1 -0
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +2 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +2 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-avatar-index-js.js +1 -1
- package/dist/umd/descope-badge-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +338 -1
- package/dist/umd/descope-button-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-combo-box-index-js.js +113 -1
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +54 -1
- package/dist/umd/descope-email-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +90 -1
- package/dist/umd/{4595.js.LICENSE.txt → descope-grid-descope-grid-custom-column-index-js.js.LICENSE.txt} +6 -0
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +2 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +90 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js.LICENSE.txt +17 -0
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-image-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-index-js.js +1 -1
- package/dist/umd/descope-modal-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
- package/dist/umd/descope-notification-index-js.js +1 -1
- package/dist/umd/descope-notp-image-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +37 -1
- package/dist/umd/descope-passcode-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-policy-validation-index-js.js +1 -1
- package/dist/umd/descope-recaptcha-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +37 -1
- package/dist/umd/descope-text-field-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/descope-totp-image-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.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/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -126
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +37 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.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 +202 -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/dev/index.js +1 -0
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/mixins/normalizeBooleanAttributesMixin.js +1 -1
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/userAuthMethod.js +19 -0
- package/dist/umd/1000.js +0 -1
- package/dist/umd/1037.js +0 -2
- package/dist/umd/1721.js +0 -1
- package/dist/umd/2066.js +0 -2
- package/dist/umd/2106.js +0 -73
- package/dist/umd/2269.js +0 -2
- package/dist/umd/2269.js.LICENSE.txt +0 -5
- package/dist/umd/2481.js +0 -1
- package/dist/umd/262.js +0 -2
- package/dist/umd/262.js.LICENSE.txt +0 -5
- package/dist/umd/3003.js +0 -2
- package/dist/umd/3208.js +0 -2
- package/dist/umd/3208.js.LICENSE.txt +0 -5
- package/dist/umd/322.js +0 -90
- package/dist/umd/322.js.LICENSE.txt +0 -5
- package/dist/umd/3249.js +0 -2
- package/dist/umd/3249.js.LICENSE.txt +0 -5
- package/dist/umd/3373.js +0 -2
- package/dist/umd/3373.js.LICENSE.txt +0 -5
- package/dist/umd/3585.js +0 -1
- package/dist/umd/3878.js +0 -1
- package/dist/umd/4201.js +0 -1
- package/dist/umd/422.js +0 -2
- package/dist/umd/422.js.LICENSE.txt +0 -5
- package/dist/umd/4226.js +0 -114
- package/dist/umd/4447.js +0 -1
- package/dist/umd/4567.js +0 -1
- package/dist/umd/4577.js +0 -1
- package/dist/umd/4803.js +0 -1
- package/dist/umd/4905.js +0 -2
- package/dist/umd/4905.js.LICENSE.txt +0 -5
- package/dist/umd/4946.js +0 -2
- package/dist/umd/4946.js.LICENSE.txt +0 -5
- package/dist/umd/6091.js +0 -124
- package/dist/umd/6606.js +0 -17
- package/dist/umd/6687.js +0 -9
- package/dist/umd/6687.js.LICENSE.txt +0 -5
- package/dist/umd/6977.js +0 -2
- package/dist/umd/6977.js.LICENSE.txt +0 -5
- package/dist/umd/7044.js +0 -1
- package/dist/umd/7583.js +0 -113
- package/dist/umd/8623.js +0 -2
- package/dist/umd/8623.js.LICENSE.txt +0 -5
- package/dist/umd/8725.js +0 -37
- package/dist/umd/9189.js +0 -2
- package/dist/umd/9189.js.LICENSE.txt +0 -5
- package/dist/umd/9211.js.LICENSE.txt +0 -5
- package/dist/umd/9214.js +0 -1
- package/dist/umd/9320.js +0 -2
- package/dist/umd/9320.js.LICENSE.txt +0 -5
- package/dist/umd/9383.js +0 -94
- package/dist/umd/9434.js +0 -1
- package/dist/umd/9437.js +0 -19
- package/dist/umd/9437.js.LICENSE.txt +0 -5
- package/dist/umd/9680.js +0 -2
- package/dist/umd/9680.js.LICENSE.txt +0 -5
- package/dist/umd/9789.js +0 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.LICENSE.txt +0 -5
- /package/dist/umd/{3092.js.LICENSE.txt → 1612.js.LICENSE.txt} +0 -0
- /package/dist/umd/{6606.js.LICENSE.txt → 2362.js.LICENSE.txt} +0 -0
- /package/dist/umd/{4226.js.LICENSE.txt → 4024.js.LICENSE.txt} +0 -0
- /package/dist/umd/{8725.js.LICENSE.txt → 4052.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9383.js.LICENSE.txt → 8191.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1037.js.LICENSE.txt → boolean-fields-descope-checkbox-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{2066.js.LICENSE.txt → boolean-fields-descope-switch-toggle-index-js.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7583.js.LICENSE.txt → descope-combo-box-index-js.js.LICENSE.txt} +0 -0
package/dist/index.esm.js
CHANGED
@@ -630,7 +630,7 @@ const normalizeBooleanAttributesMixin = (superclass) =>
|
|
630
630
|
}
|
631
631
|
} else if (!attrVal) {
|
632
632
|
// eslint-disable-next-line no-console
|
633
|
-
console.
|
633
|
+
console.debug(
|
634
634
|
`attribute "${attr}" has no value, should it be added to the boolean attributes list?`
|
635
635
|
);
|
636
636
|
}
|
@@ -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,225 @@ 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
|
+
overflow: hidden;
|
9858
|
+
}
|
9859
|
+
|
9860
|
+
slot[name="method-icon"]{
|
9861
|
+
display: inline-flex;
|
9862
|
+
align-items: center;
|
9863
|
+
}
|
9864
|
+
</style>
|
9865
|
+
|
9866
|
+
|
9867
|
+
<div class="root">
|
9868
|
+
<div class="text-wrapper">
|
9869
|
+
<slot name="method-icon"></slot>
|
9870
|
+
<descope-text st-text-align="auto" data-id="label-text" variant="body1" mode="primary"></descope-text>
|
9871
|
+
</div>
|
9872
|
+
|
9873
|
+
<div class="btn-wrapper">
|
9874
|
+
<descope-button size="sm" variant="link" mode="primary">
|
9875
|
+
<slot name="button-icon"></slot>
|
9876
|
+
</descope-button>
|
9877
|
+
<div class="fulfilled-indicator">
|
9878
|
+
<vaadin-icon src=${greenVIcon}></vaadin-icon>
|
9879
|
+
</div>
|
9880
|
+
<descope-button class="hidden-btn" size="sm" variant="link" mode="primary"></descope-button>
|
9881
|
+
</div>
|
9882
|
+
</div>
|
9883
|
+
`;
|
9884
|
+
|
9885
|
+
this.button = this.shadowRoot.querySelector('descope-button');
|
9886
|
+
this.fulfilledIndicator = this.shadowRoot.querySelector('.fulfilled-indicator');
|
9887
|
+
this.labelText = this.shadowRoot.querySelector('descope-text[data-id="label-text"]');
|
9888
|
+
}
|
9889
|
+
|
9890
|
+
onLabelChange() {
|
9891
|
+
this.labelText.innerText = this.label;
|
9892
|
+
this.labelText.setAttribute('title', this.label);
|
9893
|
+
}
|
9894
|
+
|
9895
|
+
onButtonLabelChange() {
|
9896
|
+
let textSpanEle = this.button.querySelector('span');
|
9897
|
+
|
9898
|
+
if (this.buttonLabel) {
|
9899
|
+
if (!textSpanEle) {
|
9900
|
+
textSpanEle = document.createElement('span');
|
9901
|
+
this.button.appendChild(textSpanEle);
|
9902
|
+
}
|
9903
|
+
textSpanEle.innerText = this.buttonLabel;
|
9904
|
+
} else if (textSpanEle) {
|
9905
|
+
this.button.removeChild(textSpanEle);
|
9906
|
+
}
|
9907
|
+
}
|
9908
|
+
|
9909
|
+
onFulfilledChange() {
|
9910
|
+
this.button.classList.toggle('hidden', this.isFulfilled);
|
9911
|
+
this.fulfilledIndicator.classList.toggle('hidden', !this.isFulfilled);
|
9912
|
+
}
|
9913
|
+
|
9914
|
+
get label() {
|
9915
|
+
return this.getAttribute('label') || '';
|
9916
|
+
}
|
9917
|
+
|
9918
|
+
get buttonLabel() {
|
9919
|
+
return this.getAttribute('button-label') || '';
|
9920
|
+
}
|
9921
|
+
|
9922
|
+
get isFulfilled() {
|
9923
|
+
return this.getAttribute('fulfilled') === 'true';
|
9924
|
+
}
|
9925
|
+
|
9926
|
+
init() {
|
9927
|
+
this.onLabelChange();
|
9928
|
+
this.onButtonLabelChange();
|
9929
|
+
this.onFulfilledChange();
|
9930
|
+
|
9931
|
+
this.button.addEventListener('click', () =>
|
9932
|
+
this.dispatchEvent(new CustomEvent('button-clicked', { bubbles: true, composed: true }))
|
9933
|
+
);
|
9934
|
+
}
|
9935
|
+
|
9936
|
+
static get observedAttributes() {
|
9937
|
+
return ['label', 'fulfilled'].concat(super.observedAttributes);
|
9938
|
+
}
|
9939
|
+
|
9940
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
9941
|
+
super.attributeChangedCallback?.(name, oldValue, newValue);
|
9942
|
+
if (oldValue === newValue) {
|
9943
|
+
return;
|
9944
|
+
}
|
9945
|
+
|
9946
|
+
if (name === 'label') {
|
9947
|
+
this.onLabelChange();
|
9948
|
+
} else if (name === 'fulfilled') {
|
9949
|
+
this.onFulfilledChange();
|
9950
|
+
} else if (name === 'button-label') {
|
9951
|
+
this.onButtonLabelChange();
|
9952
|
+
}
|
9953
|
+
}
|
9954
|
+
}
|
9955
|
+
|
9956
|
+
const { host: host$1, textField: textField$2, buttons, badge: badge$2, textWrapper, methodIconSlot } = {
|
9957
|
+
host: { selector: () => ':host' },
|
9958
|
+
textField: { selector: 'descope-text' },
|
9959
|
+
buttons: { selector: 'descope-button' },
|
9960
|
+
badge: { selector: 'descope-badge' },
|
9961
|
+
textWrapper: { selector: ' .text-wrapper' },
|
9962
|
+
methodIconSlot: { selector: 'slot[name="method-icon"]' },
|
9963
|
+
};
|
9964
|
+
|
9965
|
+
const UserAuthMethodClass = compose(
|
9761
9966
|
createStyleMixin({
|
9762
9967
|
mappings: {
|
9763
9968
|
hostWidth: { ...host$1, property: 'width' },
|
9764
9969
|
hostMinWidth: { ...host$1, property: 'min-width' },
|
9765
9970
|
hostDirection: [
|
9766
9971
|
{ ...host$1, property: 'direction' },
|
9767
|
-
{ ...
|
9972
|
+
{ ...textField$2, property: TextClass.cssVarList.hostDirection },
|
9768
9973
|
{ ...buttons, property: ButtonClass.cssVarList.hostDirection },
|
9769
9974
|
{ ...badge$2, property: BadgeClass.cssVarList.hostDirection },
|
9770
9975
|
],
|
9771
|
-
labelTextWidth: { ...
|
9772
|
-
valueTextWidth: { ...valueText, property: 'width' },
|
9773
|
-
badgeMaxWidth: { ...badge$2, property: 'max-width' },
|
9976
|
+
labelTextWidth: { ...textField$2, property: 'width' },
|
9774
9977
|
itemsGap: [{ property: 'gap' }, { ...textWrapper, property: 'gap' }],
|
9978
|
+
iconSize: [
|
9979
|
+
{ ...methodIconSlot, property: 'width' },
|
9980
|
+
{ ...methodIconSlot, property: 'height' },
|
9981
|
+
],
|
9775
9982
|
},
|
9776
9983
|
}),
|
9777
9984
|
draggableMixin,
|
9778
9985
|
componentNameValidationMixin
|
9779
|
-
)(
|
9986
|
+
)(RawUserAuthMethod);
|
9780
9987
|
|
9781
|
-
customElements.define(componentName$3,
|
9988
|
+
customElements.define(componentName$3, UserAuthMethodClass);
|
9782
9989
|
|
9783
9990
|
const componentName$2 = getComponentName('saml-group-mappings-internal');
|
9784
9991
|
|
@@ -10440,33 +10647,33 @@ const globals = {
|
|
10440
10647
|
fonts,
|
10441
10648
|
direction,
|
10442
10649
|
};
|
10443
|
-
const vars$
|
10650
|
+
const vars$E = getThemeVars(globals);
|
10444
10651
|
|
10445
|
-
const globalRefs$
|
10652
|
+
const globalRefs$n = getThemeRefs(globals);
|
10446
10653
|
const compVars$5 = ButtonClass.cssVarList;
|
10447
10654
|
|
10448
10655
|
const mode = {
|
10449
|
-
primary: globalRefs$
|
10450
|
-
secondary: globalRefs$
|
10451
|
-
success: globalRefs$
|
10452
|
-
error: globalRefs$
|
10453
|
-
surface: globalRefs$
|
10656
|
+
primary: globalRefs$n.colors.primary,
|
10657
|
+
secondary: globalRefs$n.colors.secondary,
|
10658
|
+
success: globalRefs$n.colors.success,
|
10659
|
+
error: globalRefs$n.colors.error,
|
10660
|
+
surface: globalRefs$n.colors.surface,
|
10454
10661
|
};
|
10455
10662
|
|
10456
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
10663
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$R);
|
10457
10664
|
|
10458
10665
|
const button = {
|
10459
10666
|
...helperTheme$3,
|
10460
10667
|
|
10461
|
-
[compVars$5.fontFamily]: globalRefs$
|
10668
|
+
[compVars$5.fontFamily]: globalRefs$n.fonts.font1.family,
|
10462
10669
|
|
10463
10670
|
[compVars$5.cursor]: 'pointer',
|
10464
10671
|
[compVars$5.hostHeight]: '3em',
|
10465
10672
|
[compVars$5.hostWidth]: 'auto',
|
10466
|
-
[compVars$5.hostDirection]: globalRefs$
|
10673
|
+
[compVars$5.hostDirection]: globalRefs$n.direction,
|
10467
10674
|
|
10468
|
-
[compVars$5.borderRadius]: globalRefs$
|
10469
|
-
[compVars$5.borderWidth]: globalRefs$
|
10675
|
+
[compVars$5.borderRadius]: globalRefs$n.radius.sm,
|
10676
|
+
[compVars$5.borderWidth]: globalRefs$n.border.xs,
|
10470
10677
|
[compVars$5.borderStyle]: 'solid',
|
10471
10678
|
[compVars$5.borderColor]: 'transparent',
|
10472
10679
|
|
@@ -10509,10 +10716,10 @@ const button = {
|
|
10509
10716
|
},
|
10510
10717
|
|
10511
10718
|
_disabled: {
|
10512
|
-
[helperVars$3.main]: globalRefs$
|
10513
|
-
[helperVars$3.dark]: globalRefs$
|
10514
|
-
[helperVars$3.light]: globalRefs$
|
10515
|
-
[helperVars$3.contrast]: globalRefs$
|
10719
|
+
[helperVars$3.main]: globalRefs$n.colors.surface.light,
|
10720
|
+
[helperVars$3.dark]: globalRefs$n.colors.surface.dark,
|
10721
|
+
[helperVars$3.light]: globalRefs$n.colors.surface.light,
|
10722
|
+
[helperVars$3.contrast]: globalRefs$n.colors.surface.main,
|
10516
10723
|
},
|
10517
10724
|
|
10518
10725
|
variant: {
|
@@ -10560,7 +10767,7 @@ const button = {
|
|
10560
10767
|
},
|
10561
10768
|
};
|
10562
10769
|
|
10563
|
-
const vars$
|
10770
|
+
const vars$D = {
|
10564
10771
|
...compVars$5,
|
10565
10772
|
...helperVars$3,
|
10566
10773
|
};
|
@@ -10568,28 +10775,28 @@ const vars$C = {
|
|
10568
10775
|
var button$1 = /*#__PURE__*/Object.freeze({
|
10569
10776
|
__proto__: null,
|
10570
10777
|
default: button,
|
10571
|
-
vars: vars$
|
10778
|
+
vars: vars$D
|
10572
10779
|
});
|
10573
10780
|
|
10574
10781
|
const componentName = getComponentName('input-wrapper');
|
10575
|
-
const globalRefs$
|
10782
|
+
const globalRefs$m = getThemeRefs(globals);
|
10576
10783
|
|
10577
|
-
const [theme$1, refs, vars$
|
10784
|
+
const [theme$1, refs, vars$C] = createHelperVars(
|
10578
10785
|
{
|
10579
|
-
labelTextColor: globalRefs$
|
10786
|
+
labelTextColor: globalRefs$m.colors.surface.dark,
|
10580
10787
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
10581
|
-
valueTextColor: globalRefs$
|
10582
|
-
placeholderTextColor: globalRefs$
|
10788
|
+
valueTextColor: globalRefs$m.colors.surface.contrast,
|
10789
|
+
placeholderTextColor: globalRefs$m.colors.surface.dark,
|
10583
10790
|
requiredIndicator: "'*'",
|
10584
|
-
helperTextColor: globalRefs$
|
10585
|
-
errorMessageTextColor: globalRefs$
|
10586
|
-
successMessageTextColor: globalRefs$
|
10791
|
+
helperTextColor: globalRefs$m.colors.surface.dark,
|
10792
|
+
errorMessageTextColor: globalRefs$m.colors.error.main,
|
10793
|
+
successMessageTextColor: globalRefs$m.colors.success.main,
|
10587
10794
|
|
10588
|
-
borderWidth: globalRefs$
|
10589
|
-
borderRadius: globalRefs$
|
10795
|
+
borderWidth: globalRefs$m.border.xs,
|
10796
|
+
borderRadius: globalRefs$m.radius.xs,
|
10590
10797
|
borderColor: 'transparent',
|
10591
10798
|
|
10592
|
-
outlineWidth: globalRefs$
|
10799
|
+
outlineWidth: globalRefs$m.border.sm,
|
10593
10800
|
outlineStyle: 'solid',
|
10594
10801
|
outlineColor: 'transparent',
|
10595
10802
|
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 +10807,11 @@ const [theme$1, refs, vars$B] = createHelperVars(
|
|
10600
10807
|
horizontalPadding: '0.5em',
|
10601
10808
|
verticalPadding: '0.5em',
|
10602
10809
|
|
10603
|
-
backgroundColor: globalRefs$
|
10810
|
+
backgroundColor: globalRefs$m.colors.surface.main,
|
10604
10811
|
|
10605
|
-
fontFamily: globalRefs$
|
10812
|
+
fontFamily: globalRefs$m.fonts.font1.family,
|
10606
10813
|
|
10607
|
-
direction: globalRefs$
|
10814
|
+
direction: globalRefs$m.direction,
|
10608
10815
|
|
10609
10816
|
overlayOpacity: '0.3',
|
10610
10817
|
|
@@ -10620,28 +10827,28 @@ const [theme$1, refs, vars$B] = createHelperVars(
|
|
10620
10827
|
},
|
10621
10828
|
|
10622
10829
|
_focused: {
|
10623
|
-
outlineColor: globalRefs$
|
10830
|
+
outlineColor: globalRefs$m.colors.surface.light,
|
10624
10831
|
_invalid: {
|
10625
|
-
outlineColor: globalRefs$
|
10832
|
+
outlineColor: globalRefs$m.colors.error.main,
|
10626
10833
|
},
|
10627
10834
|
},
|
10628
10835
|
|
10629
10836
|
_bordered: {
|
10630
|
-
outlineWidth: globalRefs$
|
10631
|
-
borderColor: globalRefs$
|
10837
|
+
outlineWidth: globalRefs$m.border.xs,
|
10838
|
+
borderColor: globalRefs$m.colors.surface.light,
|
10632
10839
|
borderStyle: 'solid',
|
10633
10840
|
_invalid: {
|
10634
|
-
borderColor: globalRefs$
|
10841
|
+
borderColor: globalRefs$m.colors.error.main,
|
10635
10842
|
},
|
10636
10843
|
},
|
10637
10844
|
|
10638
10845
|
_disabled: {
|
10639
|
-
labelTextColor: globalRefs$
|
10640
|
-
borderColor: globalRefs$
|
10641
|
-
valueTextColor: globalRefs$
|
10642
|
-
placeholderTextColor: globalRefs$
|
10643
|
-
helperTextColor: globalRefs$
|
10644
|
-
backgroundColor: globalRefs$
|
10846
|
+
labelTextColor: globalRefs$m.colors.surface.light,
|
10847
|
+
borderColor: globalRefs$m.colors.surface.light,
|
10848
|
+
valueTextColor: globalRefs$m.colors.surface.light,
|
10849
|
+
placeholderTextColor: globalRefs$m.colors.surface.light,
|
10850
|
+
helperTextColor: globalRefs$m.colors.surface.light,
|
10851
|
+
backgroundColor: globalRefs$m.colors.surface.main,
|
10645
10852
|
},
|
10646
10853
|
},
|
10647
10854
|
componentName
|
@@ -10651,22 +10858,64 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
10651
10858
|
__proto__: null,
|
10652
10859
|
default: theme$1,
|
10653
10860
|
refs: refs,
|
10654
|
-
vars: vars$
|
10861
|
+
vars: vars$C
|
10655
10862
|
});
|
10656
10863
|
|
10657
|
-
const vars$
|
10864
|
+
const vars$B = TextFieldClass.cssVarList;
|
10658
10865
|
|
10659
10866
|
const textField = {
|
10867
|
+
[vars$B.hostWidth]: refs.width,
|
10868
|
+
[vars$B.hostMinWidth]: refs.minWidth,
|
10869
|
+
[vars$B.hostDirection]: refs.direction,
|
10870
|
+
[vars$B.fontSize]: refs.fontSize,
|
10871
|
+
[vars$B.fontFamily]: refs.fontFamily,
|
10872
|
+
[vars$B.labelTextColor]: refs.labelTextColor,
|
10873
|
+
[vars$B.labelRequiredIndicator]: refs.requiredIndicator,
|
10874
|
+
[vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
|
10875
|
+
[vars$B.inputValueTextColor]: refs.valueTextColor,
|
10876
|
+
[vars$B.inputPlaceholderColor]: refs.placeholderTextColor,
|
10877
|
+
[vars$B.inputBorderWidth]: refs.borderWidth,
|
10878
|
+
[vars$B.inputBorderStyle]: refs.borderStyle,
|
10879
|
+
[vars$B.inputBorderColor]: refs.borderColor,
|
10880
|
+
[vars$B.inputBorderRadius]: refs.borderRadius,
|
10881
|
+
[vars$B.inputOutlineWidth]: refs.outlineWidth,
|
10882
|
+
[vars$B.inputOutlineStyle]: refs.outlineStyle,
|
10883
|
+
[vars$B.inputOutlineColor]: refs.outlineColor,
|
10884
|
+
[vars$B.inputOutlineOffset]: refs.outlineOffset,
|
10885
|
+
[vars$B.inputBackgroundColor]: refs.backgroundColor,
|
10886
|
+
[vars$B.inputHeight]: refs.inputHeight,
|
10887
|
+
[vars$B.inputHorizontalPadding]: refs.horizontalPadding,
|
10888
|
+
[vars$B.helperTextColor]: refs.helperTextColor,
|
10889
|
+
textAlign: {
|
10890
|
+
right: { [vars$B.inputTextAlign]: 'right' },
|
10891
|
+
left: { [vars$B.inputTextAlign]: 'left' },
|
10892
|
+
center: { [vars$B.inputTextAlign]: 'center' },
|
10893
|
+
},
|
10894
|
+
};
|
10895
|
+
|
10896
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
10897
|
+
__proto__: null,
|
10898
|
+
default: textField,
|
10899
|
+
textField: textField,
|
10900
|
+
vars: vars$B
|
10901
|
+
});
|
10902
|
+
|
10903
|
+
const globalRefs$l = getThemeRefs(globals);
|
10904
|
+
const vars$A = PasswordClass.cssVarList;
|
10905
|
+
|
10906
|
+
const password = {
|
10660
10907
|
[vars$A.hostWidth]: refs.width,
|
10661
|
-
[vars$A.hostMinWidth]: refs.minWidth,
|
10662
10908
|
[vars$A.hostDirection]: refs.direction,
|
10663
10909
|
[vars$A.fontSize]: refs.fontSize,
|
10664
10910
|
[vars$A.fontFamily]: refs.fontFamily,
|
10665
10911
|
[vars$A.labelTextColor]: refs.labelTextColor,
|
10666
|
-
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
10667
10912
|
[vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
|
10913
|
+
[vars$A.inputHorizontalPadding]: refs.horizontalPadding,
|
10914
|
+
[vars$A.inputHeight]: refs.inputHeight,
|
10915
|
+
[vars$A.inputBackgroundColor]: refs.backgroundColor,
|
10916
|
+
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
10668
10917
|
[vars$A.inputValueTextColor]: refs.valueTextColor,
|
10669
|
-
[vars$A.
|
10918
|
+
[vars$A.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
10670
10919
|
[vars$A.inputBorderWidth]: refs.borderWidth,
|
10671
10920
|
[vars$A.inputBorderStyle]: refs.borderStyle,
|
10672
10921
|
[vars$A.inputBorderColor]: refs.borderColor,
|
@@ -10675,40 +10924,29 @@ const textField = {
|
|
10675
10924
|
[vars$A.inputOutlineStyle]: refs.outlineStyle,
|
10676
10925
|
[vars$A.inputOutlineColor]: refs.outlineColor,
|
10677
10926
|
[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
|
-
},
|
10927
|
+
[vars$A.revealButtonOffset]: globalRefs$l.spacing.md,
|
10928
|
+
[vars$A.revealButtonSize]: refs.toggleButtonSize,
|
10929
|
+
[vars$A.revealButtonColor]: refs.placeholderTextColor,
|
10687
10930
|
};
|
10688
10931
|
|
10689
|
-
var
|
10932
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
10690
10933
|
__proto__: null,
|
10691
|
-
default:
|
10692
|
-
textField: textField,
|
10934
|
+
default: password,
|
10693
10935
|
vars: vars$A
|
10694
10936
|
});
|
10695
10937
|
|
10696
|
-
const
|
10697
|
-
const vars$z = PasswordClass.cssVarList;
|
10938
|
+
const vars$z = NumberFieldClass.cssVarList;
|
10698
10939
|
|
10699
|
-
const
|
10940
|
+
const numberField = {
|
10700
10941
|
[vars$z.hostWidth]: refs.width,
|
10942
|
+
[vars$z.hostMinWidth]: refs.minWidth,
|
10701
10943
|
[vars$z.hostDirection]: refs.direction,
|
10702
10944
|
[vars$z.fontSize]: refs.fontSize,
|
10703
10945
|
[vars$z.fontFamily]: refs.fontFamily,
|
10704
10946
|
[vars$z.labelTextColor]: refs.labelTextColor,
|
10705
10947
|
[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
10948
|
[vars$z.inputValueTextColor]: refs.valueTextColor,
|
10711
|
-
[vars$z.
|
10949
|
+
[vars$z.inputPlaceholderColor]: refs.placeholderTextColor,
|
10712
10950
|
[vars$z.inputBorderWidth]: refs.borderWidth,
|
10713
10951
|
[vars$z.inputBorderStyle]: refs.borderStyle,
|
10714
10952
|
[vars$z.inputBorderColor]: refs.borderColor,
|
@@ -10717,20 +10955,21 @@ const password = {
|
|
10717
10955
|
[vars$z.inputOutlineStyle]: refs.outlineStyle,
|
10718
10956
|
[vars$z.inputOutlineColor]: refs.outlineColor,
|
10719
10957
|
[vars$z.inputOutlineOffset]: refs.outlineOffset,
|
10720
|
-
[vars$z.
|
10721
|
-
[vars$z.
|
10722
|
-
[vars$z.
|
10958
|
+
[vars$z.inputBackgroundColor]: refs.backgroundColor,
|
10959
|
+
[vars$z.labelRequiredIndicator]: refs.requiredIndicator,
|
10960
|
+
[vars$z.inputHorizontalPadding]: refs.horizontalPadding,
|
10961
|
+
[vars$z.inputHeight]: refs.inputHeight,
|
10723
10962
|
};
|
10724
10963
|
|
10725
|
-
var
|
10964
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
10726
10965
|
__proto__: null,
|
10727
|
-
default:
|
10966
|
+
default: numberField,
|
10728
10967
|
vars: vars$z
|
10729
10968
|
});
|
10730
10969
|
|
10731
|
-
const vars$y =
|
10970
|
+
const vars$y = EmailFieldClass.cssVarList;
|
10732
10971
|
|
10733
|
-
const
|
10972
|
+
const emailField = {
|
10734
10973
|
[vars$y.hostWidth]: refs.width,
|
10735
10974
|
[vars$y.hostMinWidth]: refs.minWidth,
|
10736
10975
|
[vars$y.hostDirection]: refs.direction,
|
@@ -10739,6 +10978,7 @@ const numberField = {
|
|
10739
10978
|
[vars$y.labelTextColor]: refs.labelTextColor,
|
10740
10979
|
[vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
|
10741
10980
|
[vars$y.inputValueTextColor]: refs.valueTextColor,
|
10981
|
+
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
10742
10982
|
[vars$y.inputPlaceholderColor]: refs.placeholderTextColor,
|
10743
10983
|
[vars$y.inputBorderWidth]: refs.borderWidth,
|
10744
10984
|
[vars$y.inputBorderStyle]: refs.borderStyle,
|
@@ -10749,200 +10989,167 @@ const numberField = {
|
|
10749
10989
|
[vars$y.inputOutlineColor]: refs.outlineColor,
|
10750
10990
|
[vars$y.inputOutlineOffset]: refs.outlineOffset,
|
10751
10991
|
[vars$y.inputBackgroundColor]: refs.backgroundColor,
|
10752
|
-
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
10753
10992
|
[vars$y.inputHorizontalPadding]: refs.horizontalPadding,
|
10754
10993
|
[vars$y.inputHeight]: refs.inputHeight,
|
10755
10994
|
};
|
10756
10995
|
|
10757
|
-
var
|
10996
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
10758
10997
|
__proto__: null,
|
10759
|
-
default:
|
10998
|
+
default: emailField,
|
10760
10999
|
vars: vars$y
|
10761
11000
|
});
|
10762
11001
|
|
10763
|
-
const vars$x =
|
11002
|
+
const vars$x = TextAreaClass.cssVarList;
|
10764
11003
|
|
10765
|
-
const
|
11004
|
+
const textArea = {
|
10766
11005
|
[vars$x.hostWidth]: refs.width,
|
10767
11006
|
[vars$x.hostMinWidth]: refs.minWidth,
|
10768
11007
|
[vars$x.hostDirection]: refs.direction,
|
10769
11008
|
[vars$x.fontSize]: refs.fontSize,
|
10770
11009
|
[vars$x.fontFamily]: refs.fontFamily,
|
10771
11010
|
[vars$x.labelTextColor]: refs.labelTextColor,
|
11011
|
+
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
10772
11012
|
[vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
|
11013
|
+
[vars$x.inputBackgroundColor]: refs.backgroundColor,
|
10773
11014
|
[vars$x.inputValueTextColor]: refs.valueTextColor,
|
10774
|
-
[vars$x.
|
10775
|
-
[vars$x.
|
11015
|
+
[vars$x.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11016
|
+
[vars$x.inputBorderRadius]: refs.borderRadius,
|
10776
11017
|
[vars$x.inputBorderWidth]: refs.borderWidth,
|
10777
11018
|
[vars$x.inputBorderStyle]: refs.borderStyle,
|
10778
11019
|
[vars$x.inputBorderColor]: refs.borderColor,
|
10779
|
-
[vars$x.inputBorderRadius]: refs.borderRadius,
|
10780
11020
|
[vars$x.inputOutlineWidth]: refs.outlineWidth,
|
10781
11021
|
[vars$x.inputOutlineStyle]: refs.outlineStyle,
|
10782
11022
|
[vars$x.inputOutlineColor]: refs.outlineColor,
|
10783
11023
|
[vars$x.inputOutlineOffset]: refs.outlineOffset,
|
10784
|
-
[vars$x.
|
10785
|
-
[vars$x.
|
10786
|
-
|
11024
|
+
[vars$x.inputResizeType]: 'vertical',
|
11025
|
+
[vars$x.inputMinHeight]: '5em',
|
11026
|
+
textAlign: {
|
11027
|
+
right: { [vars$x.inputTextAlign]: 'right' },
|
11028
|
+
left: { [vars$x.inputTextAlign]: 'left' },
|
11029
|
+
center: { [vars$x.inputTextAlign]: 'center' },
|
11030
|
+
},
|
11031
|
+
|
11032
|
+
_readonly: {
|
11033
|
+
[vars$x.inputResizeType]: 'none',
|
11034
|
+
},
|
10787
11035
|
};
|
10788
11036
|
|
10789
|
-
var
|
11037
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
10790
11038
|
__proto__: null,
|
10791
|
-
default:
|
11039
|
+
default: textArea,
|
10792
11040
|
vars: vars$x
|
10793
11041
|
});
|
10794
11042
|
|
10795
|
-
const vars$w =
|
11043
|
+
const vars$w = CheckboxClass.cssVarList;
|
11044
|
+
const checkboxSize = '1.35em';
|
10796
11045
|
|
10797
|
-
const
|
11046
|
+
const checkbox = {
|
10798
11047
|
[vars$w.hostWidth]: refs.width,
|
10799
|
-
[vars$w.hostMinWidth]: refs.minWidth,
|
10800
11048
|
[vars$w.hostDirection]: refs.direction,
|
10801
11049
|
[vars$w.fontSize]: refs.fontSize,
|
10802
11050
|
[vars$w.fontFamily]: refs.fontFamily,
|
10803
11051
|
[vars$w.labelTextColor]: refs.labelTextColor,
|
10804
11052
|
[vars$w.labelRequiredIndicator]: refs.requiredIndicator,
|
11053
|
+
[vars$w.labelFontWeight]: '400',
|
11054
|
+
[vars$w.labelLineHeight]: checkboxSize,
|
11055
|
+
[vars$w.labelSpacing]: '1em',
|
10805
11056
|
[vars$w.errorMessageTextColor]: refs.errorMessageTextColor,
|
10806
|
-
[vars$w.
|
10807
|
-
[vars$w.
|
10808
|
-
[vars$w.
|
11057
|
+
[vars$w.inputOutlineWidth]: refs.outlineWidth,
|
11058
|
+
[vars$w.inputOutlineOffset]: refs.outlineOffset,
|
11059
|
+
[vars$w.inputOutlineColor]: refs.outlineColor,
|
11060
|
+
[vars$w.inputOutlineStyle]: refs.outlineStyle,
|
10809
11061
|
[vars$w.inputBorderRadius]: refs.borderRadius,
|
11062
|
+
[vars$w.inputBorderColor]: refs.borderColor,
|
10810
11063
|
[vars$w.inputBorderWidth]: refs.borderWidth,
|
10811
11064
|
[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' },
|
11065
|
+
[vars$w.inputBackgroundColor]: refs.backgroundColor,
|
11066
|
+
[vars$w.inputSize]: checkboxSize,
|
11067
|
+
|
11068
|
+
_checked: {
|
11069
|
+
[vars$w.inputValueTextColor]: refs.valueTextColor,
|
10823
11070
|
},
|
10824
11071
|
|
10825
|
-
|
10826
|
-
[vars$w.
|
11072
|
+
_disabled: {
|
11073
|
+
[vars$w.labelTextColor]: refs.labelTextColor,
|
10827
11074
|
},
|
10828
11075
|
};
|
10829
11076
|
|
10830
|
-
var
|
11077
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
10831
11078
|
__proto__: null,
|
10832
|
-
default:
|
11079
|
+
default: checkbox,
|
10833
11080
|
vars: vars$w
|
10834
11081
|
});
|
10835
11082
|
|
10836
|
-
const
|
10837
|
-
const
|
11083
|
+
const knobMargin = '2px';
|
11084
|
+
const checkboxHeight = '1.25em';
|
10838
11085
|
|
10839
|
-
const
|
11086
|
+
const globalRefs$k = getThemeRefs(globals);
|
11087
|
+
const vars$v = SwitchToggleClass.cssVarList;
|
11088
|
+
|
11089
|
+
const switchToggle = {
|
10840
11090
|
[vars$v.hostWidth]: refs.width,
|
10841
11091
|
[vars$v.hostDirection]: refs.direction,
|
10842
11092
|
[vars$v.fontSize]: refs.fontSize,
|
10843
11093
|
[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,
|
11094
|
+
|
10850
11095
|
[vars$v.inputOutlineWidth]: refs.outlineWidth,
|
10851
11096
|
[vars$v.inputOutlineOffset]: refs.outlineOffset,
|
10852
11097
|
[vars$v.inputOutlineColor]: refs.outlineColor,
|
10853
11098
|
[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
11099
|
|
10861
|
-
|
10862
|
-
|
10863
|
-
|
11100
|
+
[vars$v.trackBorderStyle]: refs.borderStyle,
|
11101
|
+
[vars$v.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
11102
|
+
[vars$v.trackBorderColor]: refs.borderColor,
|
11103
|
+
[vars$v.trackBackgroundColor]: refs.backgroundColor,
|
11104
|
+
[vars$v.trackBorderRadius]: globalRefs$k.radius.md,
|
11105
|
+
[vars$v.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
11106
|
+
[vars$v.trackHeight]: checkboxHeight,
|
11107
|
+
|
11108
|
+
[vars$v.knobSize]: `calc(1em - ${knobMargin})`,
|
11109
|
+
[vars$v.knobRadius]: '50%',
|
11110
|
+
[vars$v.knobTopOffset]: '1px',
|
11111
|
+
[vars$v.knobLeftOffset]: knobMargin,
|
11112
|
+
[vars$v.knobColor]: refs.labelTextColor,
|
11113
|
+
[vars$v.knobTransitionDuration]: '0.3s',
|
10864
11114
|
|
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,
|
11115
|
+
[vars$v.labelTextColor]: refs.labelTextColor,
|
11116
|
+
[vars$v.labelFontWeight]: '400',
|
11117
|
+
[vars$v.labelLineHeight]: '1.35em',
|
11118
|
+
[vars$v.labelSpacing]: '1em',
|
11119
|
+
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
11120
|
+
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
10914
11121
|
|
10915
11122
|
_checked: {
|
10916
|
-
[vars$
|
10917
|
-
[vars$
|
10918
|
-
[vars$
|
10919
|
-
[vars$
|
11123
|
+
[vars$v.trackBorderColor]: refs.borderColor,
|
11124
|
+
[vars$v.knobLeftOffset]: `calc(100% - var(${vars$v.knobSize}) - ${knobMargin})`,
|
11125
|
+
[vars$v.knobColor]: refs.valueTextColor,
|
11126
|
+
[vars$v.knobTextColor]: refs.valueTextColor,
|
10920
11127
|
},
|
10921
11128
|
|
10922
11129
|
_disabled: {
|
10923
|
-
[vars$
|
10924
|
-
[vars$
|
10925
|
-
[vars$
|
10926
|
-
[vars$
|
11130
|
+
[vars$v.knobColor]: globalRefs$k.colors.surface.light,
|
11131
|
+
[vars$v.trackBorderColor]: globalRefs$k.colors.surface.light,
|
11132
|
+
[vars$v.trackBackgroundColor]: globalRefs$k.colors.surface.main,
|
11133
|
+
[vars$v.labelTextColor]: refs.labelTextColor,
|
10927
11134
|
_checked: {
|
10928
|
-
[vars$
|
10929
|
-
[vars$
|
11135
|
+
[vars$v.knobColor]: globalRefs$k.colors.surface.light,
|
11136
|
+
[vars$v.trackBackgroundColor]: globalRefs$k.colors.surface.main,
|
10930
11137
|
},
|
10931
11138
|
},
|
10932
11139
|
|
10933
11140
|
_invalid: {
|
10934
|
-
[vars$
|
10935
|
-
[vars$
|
11141
|
+
[vars$v.trackBorderColor]: globalRefs$k.colors.error.main,
|
11142
|
+
[vars$v.knobColor]: globalRefs$k.colors.error.main,
|
10936
11143
|
},
|
10937
11144
|
};
|
10938
11145
|
|
10939
11146
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
10940
11147
|
__proto__: null,
|
10941
11148
|
default: switchToggle,
|
10942
|
-
vars: vars$
|
11149
|
+
vars: vars$v
|
10943
11150
|
});
|
10944
11151
|
|
10945
|
-
const globalRefs$
|
11152
|
+
const globalRefs$j = getThemeRefs(globals);
|
10946
11153
|
|
10947
11154
|
const compVars$4 = ContainerClass.cssVarList;
|
10948
11155
|
|
@@ -10964,7 +11171,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
10964
11171
|
horizontalAlignment,
|
10965
11172
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
10966
11173
|
},
|
10967
|
-
componentName$
|
11174
|
+
componentName$L
|
10968
11175
|
);
|
10969
11176
|
|
10970
11177
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
@@ -10974,10 +11181,10 @@ const container = {
|
|
10974
11181
|
|
10975
11182
|
[compVars$4.hostWidth]: '100%',
|
10976
11183
|
[compVars$4.boxShadow]: 'none',
|
10977
|
-
[compVars$4.backgroundColor]: globalRefs$
|
10978
|
-
[compVars$4.color]: globalRefs$
|
11184
|
+
[compVars$4.backgroundColor]: globalRefs$j.colors.surface.main,
|
11185
|
+
[compVars$4.color]: globalRefs$j.colors.surface.contrast,
|
10979
11186
|
[compVars$4.borderRadius]: '0px',
|
10980
|
-
[compVars$4.hostDirection]: globalRefs$
|
11187
|
+
[compVars$4.hostDirection]: globalRefs$j.direction,
|
10981
11188
|
|
10982
11189
|
verticalPadding: {
|
10983
11190
|
sm: { [compVars$4.verticalPadding]: '5px' },
|
@@ -11023,34 +11230,34 @@ const container = {
|
|
11023
11230
|
|
11024
11231
|
shadow: {
|
11025
11232
|
sm: {
|
11026
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11233
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.sm} ${shadowColor$1}`,
|
11027
11234
|
},
|
11028
11235
|
md: {
|
11029
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11236
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.md} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.md} ${shadowColor$1}`,
|
11030
11237
|
},
|
11031
11238
|
lg: {
|
11032
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11239
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.lg} ${shadowColor$1}`,
|
11033
11240
|
},
|
11034
11241
|
xl: {
|
11035
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11242
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$j.shadow.narrow.xl} ${shadowColor$1}`,
|
11036
11243
|
},
|
11037
11244
|
'2xl': {
|
11038
11245
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
11039
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
11246
|
+
[compVars$4.boxShadow]: `${globalRefs$j.shadow.wide['2xl']} ${shadowColor$1}`,
|
11040
11247
|
},
|
11041
11248
|
},
|
11042
11249
|
|
11043
11250
|
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$
|
11251
|
+
sm: { [compVars$4.borderRadius]: globalRefs$j.radius.sm },
|
11252
|
+
md: { [compVars$4.borderRadius]: globalRefs$j.radius.md },
|
11253
|
+
lg: { [compVars$4.borderRadius]: globalRefs$j.radius.lg },
|
11254
|
+
xl: { [compVars$4.borderRadius]: globalRefs$j.radius.xl },
|
11255
|
+
'2xl': { [compVars$4.borderRadius]: globalRefs$j.radius['2xl'] },
|
11256
|
+
'3xl': { [compVars$4.borderRadius]: globalRefs$j.radius['3xl'] },
|
11050
11257
|
},
|
11051
11258
|
};
|
11052
11259
|
|
11053
|
-
const vars$
|
11260
|
+
const vars$u = {
|
11054
11261
|
...compVars$4,
|
11055
11262
|
...helperVars$2,
|
11056
11263
|
};
|
@@ -11058,166 +11265,166 @@ const vars$t = {
|
|
11058
11265
|
var container$1 = /*#__PURE__*/Object.freeze({
|
11059
11266
|
__proto__: null,
|
11060
11267
|
default: container,
|
11061
|
-
vars: vars$
|
11268
|
+
vars: vars$u
|
11062
11269
|
});
|
11063
11270
|
|
11064
|
-
const vars$
|
11271
|
+
const vars$t = LogoClass.cssVarList;
|
11065
11272
|
|
11066
11273
|
const logo$2 = {
|
11067
|
-
[vars$
|
11274
|
+
[vars$t.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
11068
11275
|
};
|
11069
11276
|
|
11070
11277
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
11071
11278
|
__proto__: null,
|
11072
11279
|
default: logo$2,
|
11073
|
-
vars: vars$
|
11280
|
+
vars: vars$t
|
11074
11281
|
});
|
11075
11282
|
|
11076
|
-
const vars$
|
11283
|
+
const vars$s = TotpImageClass.cssVarList;
|
11077
11284
|
|
11078
11285
|
const logo$1 = {
|
11079
|
-
[vars$
|
11286
|
+
[vars$s.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
11080
11287
|
};
|
11081
11288
|
|
11082
11289
|
var totpImage = /*#__PURE__*/Object.freeze({
|
11083
11290
|
__proto__: null,
|
11084
11291
|
default: logo$1,
|
11085
|
-
vars: vars$
|
11292
|
+
vars: vars$s
|
11086
11293
|
});
|
11087
11294
|
|
11088
|
-
const vars$
|
11295
|
+
const vars$r = NotpImageClass.cssVarList;
|
11089
11296
|
|
11090
11297
|
const logo = {
|
11091
|
-
[vars$
|
11298
|
+
[vars$r.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
11092
11299
|
};
|
11093
11300
|
|
11094
11301
|
var notpImage = /*#__PURE__*/Object.freeze({
|
11095
11302
|
__proto__: null,
|
11096
11303
|
default: logo,
|
11097
|
-
vars: vars$
|
11304
|
+
vars: vars$r
|
11098
11305
|
});
|
11099
11306
|
|
11100
|
-
const globalRefs$
|
11101
|
-
const vars$
|
11307
|
+
const globalRefs$i = getThemeRefs(globals);
|
11308
|
+
const vars$q = TextClass.cssVarList;
|
11102
11309
|
|
11103
11310
|
const text = {
|
11104
|
-
[vars$
|
11105
|
-
[vars$
|
11106
|
-
[vars$
|
11107
|
-
[vars$
|
11311
|
+
[vars$q.hostDirection]: globalRefs$i.direction,
|
11312
|
+
[vars$q.textLineHeight]: '1.35em',
|
11313
|
+
[vars$q.textAlign]: 'left',
|
11314
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.dark,
|
11108
11315
|
variant: {
|
11109
11316
|
h1: {
|
11110
|
-
[vars$
|
11111
|
-
[vars$
|
11112
|
-
[vars$
|
11317
|
+
[vars$q.fontSize]: globalRefs$i.typography.h1.size,
|
11318
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h1.weight,
|
11319
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h1.font,
|
11113
11320
|
},
|
11114
11321
|
h2: {
|
11115
|
-
[vars$
|
11116
|
-
[vars$
|
11117
|
-
[vars$
|
11322
|
+
[vars$q.fontSize]: globalRefs$i.typography.h2.size,
|
11323
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h2.weight,
|
11324
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h2.font,
|
11118
11325
|
},
|
11119
11326
|
h3: {
|
11120
|
-
[vars$
|
11121
|
-
[vars$
|
11122
|
-
[vars$
|
11327
|
+
[vars$q.fontSize]: globalRefs$i.typography.h3.size,
|
11328
|
+
[vars$q.fontWeight]: globalRefs$i.typography.h3.weight,
|
11329
|
+
[vars$q.fontFamily]: globalRefs$i.typography.h3.font,
|
11123
11330
|
},
|
11124
11331
|
subtitle1: {
|
11125
|
-
[vars$
|
11126
|
-
[vars$
|
11127
|
-
[vars$
|
11332
|
+
[vars$q.fontSize]: globalRefs$i.typography.subtitle1.size,
|
11333
|
+
[vars$q.fontWeight]: globalRefs$i.typography.subtitle1.weight,
|
11334
|
+
[vars$q.fontFamily]: globalRefs$i.typography.subtitle1.font,
|
11128
11335
|
},
|
11129
11336
|
subtitle2: {
|
11130
|
-
[vars$
|
11131
|
-
[vars$
|
11132
|
-
[vars$
|
11337
|
+
[vars$q.fontSize]: globalRefs$i.typography.subtitle2.size,
|
11338
|
+
[vars$q.fontWeight]: globalRefs$i.typography.subtitle2.weight,
|
11339
|
+
[vars$q.fontFamily]: globalRefs$i.typography.subtitle2.font,
|
11133
11340
|
},
|
11134
11341
|
body1: {
|
11135
|
-
[vars$
|
11136
|
-
[vars$
|
11137
|
-
[vars$
|
11342
|
+
[vars$q.fontSize]: globalRefs$i.typography.body1.size,
|
11343
|
+
[vars$q.fontWeight]: globalRefs$i.typography.body1.weight,
|
11344
|
+
[vars$q.fontFamily]: globalRefs$i.typography.body1.font,
|
11138
11345
|
},
|
11139
11346
|
body2: {
|
11140
|
-
[vars$
|
11141
|
-
[vars$
|
11142
|
-
[vars$
|
11347
|
+
[vars$q.fontSize]: globalRefs$i.typography.body2.size,
|
11348
|
+
[vars$q.fontWeight]: globalRefs$i.typography.body2.weight,
|
11349
|
+
[vars$q.fontFamily]: globalRefs$i.typography.body2.font,
|
11143
11350
|
},
|
11144
11351
|
},
|
11145
11352
|
|
11146
11353
|
mode: {
|
11147
11354
|
primary: {
|
11148
|
-
[vars$
|
11355
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.contrast,
|
11149
11356
|
},
|
11150
11357
|
secondary: {
|
11151
|
-
[vars$
|
11358
|
+
[vars$q.textColor]: globalRefs$i.colors.surface.dark,
|
11152
11359
|
},
|
11153
11360
|
error: {
|
11154
|
-
[vars$
|
11361
|
+
[vars$q.textColor]: globalRefs$i.colors.error.main,
|
11155
11362
|
},
|
11156
11363
|
success: {
|
11157
|
-
[vars$
|
11364
|
+
[vars$q.textColor]: globalRefs$i.colors.success.main,
|
11158
11365
|
},
|
11159
11366
|
},
|
11160
11367
|
|
11161
11368
|
textAlign: {
|
11162
|
-
right: { [vars$
|
11163
|
-
left: { [vars$
|
11164
|
-
center: { [vars$
|
11369
|
+
right: { [vars$q.textAlign]: 'right' },
|
11370
|
+
left: { [vars$q.textAlign]: 'left' },
|
11371
|
+
center: { [vars$q.textAlign]: 'center' },
|
11165
11372
|
},
|
11166
11373
|
|
11167
11374
|
_fullWidth: {
|
11168
|
-
[vars$
|
11375
|
+
[vars$q.hostWidth]: '100%',
|
11169
11376
|
},
|
11170
11377
|
|
11171
11378
|
_italic: {
|
11172
|
-
[vars$
|
11379
|
+
[vars$q.fontStyle]: 'italic',
|
11173
11380
|
},
|
11174
11381
|
|
11175
11382
|
_uppercase: {
|
11176
|
-
[vars$
|
11383
|
+
[vars$q.textTransform]: 'uppercase',
|
11177
11384
|
},
|
11178
11385
|
|
11179
11386
|
_lowercase: {
|
11180
|
-
[vars$
|
11387
|
+
[vars$q.textTransform]: 'lowercase',
|
11181
11388
|
},
|
11182
11389
|
};
|
11183
11390
|
|
11184
11391
|
var text$1 = /*#__PURE__*/Object.freeze({
|
11185
11392
|
__proto__: null,
|
11186
11393
|
default: text,
|
11187
|
-
vars: vars$
|
11394
|
+
vars: vars$q
|
11188
11395
|
});
|
11189
11396
|
|
11190
|
-
const globalRefs$
|
11191
|
-
const vars$
|
11397
|
+
const globalRefs$h = getThemeRefs(globals);
|
11398
|
+
const vars$p = LinkClass.cssVarList;
|
11192
11399
|
|
11193
11400
|
const link = {
|
11194
|
-
[vars$
|
11195
|
-
[vars$
|
11401
|
+
[vars$p.hostDirection]: globalRefs$h.direction,
|
11402
|
+
[vars$p.cursor]: 'pointer',
|
11196
11403
|
|
11197
|
-
[vars$
|
11404
|
+
[vars$p.textColor]: globalRefs$h.colors.primary.main,
|
11198
11405
|
|
11199
11406
|
textAlign: {
|
11200
|
-
right: { [vars$
|
11201
|
-
left: { [vars$
|
11202
|
-
center: { [vars$
|
11407
|
+
right: { [vars$p.textAlign]: 'right' },
|
11408
|
+
left: { [vars$p.textAlign]: 'left' },
|
11409
|
+
center: { [vars$p.textAlign]: 'center' },
|
11203
11410
|
},
|
11204
11411
|
|
11205
11412
|
_fullWidth: {
|
11206
|
-
[vars$
|
11413
|
+
[vars$p.hostWidth]: '100%',
|
11207
11414
|
},
|
11208
11415
|
|
11209
11416
|
mode: {
|
11210
11417
|
primary: {
|
11211
|
-
[vars$
|
11418
|
+
[vars$p.textColor]: globalRefs$h.colors.primary.main,
|
11212
11419
|
},
|
11213
11420
|
secondary: {
|
11214
|
-
[vars$
|
11421
|
+
[vars$p.textColor]: globalRefs$h.colors.secondary.main,
|
11215
11422
|
},
|
11216
11423
|
error: {
|
11217
|
-
[vars$
|
11424
|
+
[vars$p.textColor]: globalRefs$h.colors.error.main,
|
11218
11425
|
},
|
11219
11426
|
success: {
|
11220
|
-
[vars$
|
11427
|
+
[vars$p.textColor]: globalRefs$h.colors.success.main,
|
11221
11428
|
},
|
11222
11429
|
},
|
11223
11430
|
};
|
@@ -11225,10 +11432,10 @@ const link = {
|
|
11225
11432
|
var link$1 = /*#__PURE__*/Object.freeze({
|
11226
11433
|
__proto__: null,
|
11227
11434
|
default: link,
|
11228
|
-
vars: vars$
|
11435
|
+
vars: vars$p
|
11229
11436
|
});
|
11230
11437
|
|
11231
|
-
const globalRefs$
|
11438
|
+
const globalRefs$g = getThemeRefs(globals);
|
11232
11439
|
const compVars$3 = DividerClass.cssVarList;
|
11233
11440
|
|
11234
11441
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
@@ -11236,18 +11443,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
11236
11443
|
thickness: '2px',
|
11237
11444
|
spacing: '10px',
|
11238
11445
|
},
|
11239
|
-
componentName$
|
11446
|
+
componentName$J
|
11240
11447
|
);
|
11241
11448
|
|
11242
11449
|
const divider = {
|
11243
11450
|
...helperTheme$1,
|
11244
11451
|
|
11245
|
-
[compVars$3.hostDirection]: globalRefs$
|
11452
|
+
[compVars$3.hostDirection]: globalRefs$g.direction,
|
11246
11453
|
[compVars$3.alignItems]: 'center',
|
11247
11454
|
[compVars$3.flexDirection]: 'row',
|
11248
11455
|
[compVars$3.alignSelf]: 'stretch',
|
11249
11456
|
[compVars$3.hostWidth]: '100%',
|
11250
|
-
[compVars$3.stripeColor]: globalRefs$
|
11457
|
+
[compVars$3.stripeColor]: globalRefs$g.colors.surface.light,
|
11251
11458
|
[compVars$3.stripeColorOpacity]: '0.5',
|
11252
11459
|
[compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
|
11253
11460
|
[compVars$3.labelTextWidth]: 'fit-content',
|
@@ -11267,7 +11474,7 @@ const divider = {
|
|
11267
11474
|
},
|
11268
11475
|
};
|
11269
11476
|
|
11270
|
-
const vars$
|
11477
|
+
const vars$o = {
|
11271
11478
|
...compVars$3,
|
11272
11479
|
...helperVars$1,
|
11273
11480
|
};
|
@@ -11275,111 +11482,111 @@ const vars$n = {
|
|
11275
11482
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
11276
11483
|
__proto__: null,
|
11277
11484
|
default: divider,
|
11278
|
-
vars: vars$
|
11485
|
+
vars: vars$o
|
11279
11486
|
});
|
11280
11487
|
|
11281
|
-
const vars$
|
11488
|
+
const vars$n = PasscodeClass.cssVarList;
|
11282
11489
|
|
11283
11490
|
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$
|
11491
|
+
[vars$n.hostDirection]: refs.direction,
|
11492
|
+
[vars$n.fontFamily]: refs.fontFamily,
|
11493
|
+
[vars$n.fontSize]: refs.fontSize,
|
11494
|
+
[vars$n.labelTextColor]: refs.labelTextColor,
|
11495
|
+
[vars$n.labelRequiredIndicator]: refs.requiredIndicator,
|
11496
|
+
[vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
|
11497
|
+
[vars$n.digitValueTextColor]: refs.valueTextColor,
|
11498
|
+
[vars$n.digitPadding]: '0',
|
11499
|
+
[vars$n.digitTextAlign]: 'center',
|
11500
|
+
[vars$n.digitSpacing]: '4px',
|
11501
|
+
[vars$n.hostWidth]: refs.width,
|
11502
|
+
[vars$n.digitOutlineColor]: 'transparent',
|
11503
|
+
[vars$n.digitOutlineWidth]: refs.outlineWidth,
|
11504
|
+
[vars$n.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
11505
|
+
[vars$n.digitSize]: refs.inputHeight,
|
11299
11506
|
|
11300
11507
|
size: {
|
11301
|
-
xs: { [vars$
|
11302
|
-
sm: { [vars$
|
11303
|
-
md: { [vars$
|
11304
|
-
lg: { [vars$
|
11508
|
+
xs: { [vars$n.spinnerSize]: '15px' },
|
11509
|
+
sm: { [vars$n.spinnerSize]: '20px' },
|
11510
|
+
md: { [vars$n.spinnerSize]: '20px' },
|
11511
|
+
lg: { [vars$n.spinnerSize]: '20px' },
|
11305
11512
|
},
|
11306
11513
|
|
11307
11514
|
_hideCursor: {
|
11308
|
-
[vars$
|
11515
|
+
[vars$n.digitCaretTextColor]: 'transparent',
|
11309
11516
|
},
|
11310
11517
|
|
11311
11518
|
_loading: {
|
11312
|
-
[vars$
|
11519
|
+
[vars$n.overlayOpacity]: refs.overlayOpacity,
|
11313
11520
|
},
|
11314
11521
|
};
|
11315
11522
|
|
11316
11523
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
11317
11524
|
__proto__: null,
|
11318
11525
|
default: passcode,
|
11319
|
-
vars: vars$
|
11526
|
+
vars: vars$n
|
11320
11527
|
});
|
11321
11528
|
|
11322
|
-
const globalRefs$
|
11323
|
-
const vars$
|
11529
|
+
const globalRefs$f = getThemeRefs(globals);
|
11530
|
+
const vars$m = LoaderLinearClass.cssVarList;
|
11324
11531
|
|
11325
11532
|
const loaderLinear = {
|
11326
|
-
[vars$
|
11327
|
-
[vars$
|
11533
|
+
[vars$m.hostDisplay]: 'inline-block',
|
11534
|
+
[vars$m.hostWidth]: '100%',
|
11328
11535
|
|
11329
|
-
[vars$
|
11330
|
-
[vars$
|
11536
|
+
[vars$m.barColor]: globalRefs$f.colors.surface.contrast,
|
11537
|
+
[vars$m.barWidth]: '20%',
|
11331
11538
|
|
11332
|
-
[vars$
|
11333
|
-
[vars$
|
11539
|
+
[vars$m.barBackgroundColor]: globalRefs$f.colors.surface.light,
|
11540
|
+
[vars$m.barBorderRadius]: '4px',
|
11334
11541
|
|
11335
|
-
[vars$
|
11336
|
-
[vars$
|
11337
|
-
[vars$
|
11338
|
-
[vars$
|
11542
|
+
[vars$m.animationDuration]: '2s',
|
11543
|
+
[vars$m.animationTimingFunction]: 'linear',
|
11544
|
+
[vars$m.animationIterationCount]: 'infinite',
|
11545
|
+
[vars$m.verticalPadding]: '0.25em',
|
11339
11546
|
|
11340
11547
|
size: {
|
11341
|
-
xs: { [vars$
|
11342
|
-
sm: { [vars$
|
11343
|
-
md: { [vars$
|
11344
|
-
lg: { [vars$
|
11548
|
+
xs: { [vars$m.barHeight]: '2px' },
|
11549
|
+
sm: { [vars$m.barHeight]: '4px' },
|
11550
|
+
md: { [vars$m.barHeight]: '6px' },
|
11551
|
+
lg: { [vars$m.barHeight]: '8px' },
|
11345
11552
|
},
|
11346
11553
|
|
11347
11554
|
mode: {
|
11348
11555
|
primary: {
|
11349
|
-
[vars$
|
11556
|
+
[vars$m.barColor]: globalRefs$f.colors.primary.main,
|
11350
11557
|
},
|
11351
11558
|
secondary: {
|
11352
|
-
[vars$
|
11559
|
+
[vars$m.barColor]: globalRefs$f.colors.secondary.main,
|
11353
11560
|
},
|
11354
11561
|
},
|
11355
11562
|
|
11356
11563
|
_hidden: {
|
11357
|
-
[vars$
|
11564
|
+
[vars$m.hostDisplay]: 'none',
|
11358
11565
|
},
|
11359
11566
|
};
|
11360
11567
|
|
11361
11568
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
11362
11569
|
__proto__: null,
|
11363
11570
|
default: loaderLinear,
|
11364
|
-
vars: vars$
|
11571
|
+
vars: vars$m
|
11365
11572
|
});
|
11366
11573
|
|
11367
|
-
const globalRefs$
|
11574
|
+
const globalRefs$e = getThemeRefs(globals);
|
11368
11575
|
const compVars$2 = LoaderRadialClass.cssVarList;
|
11369
11576
|
|
11370
11577
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
11371
11578
|
{
|
11372
|
-
spinnerColor: globalRefs$
|
11579
|
+
spinnerColor: globalRefs$e.colors.surface.contrast,
|
11373
11580
|
mode: {
|
11374
11581
|
primary: {
|
11375
|
-
spinnerColor: globalRefs$
|
11582
|
+
spinnerColor: globalRefs$e.colors.primary.main,
|
11376
11583
|
},
|
11377
11584
|
secondary: {
|
11378
|
-
spinnerColor: globalRefs$
|
11585
|
+
spinnerColor: globalRefs$e.colors.secondary.main,
|
11379
11586
|
},
|
11380
11587
|
},
|
11381
11588
|
},
|
11382
|
-
componentName$
|
11589
|
+
componentName$M
|
11383
11590
|
);
|
11384
11591
|
|
11385
11592
|
const loaderRadial = {
|
@@ -11408,7 +11615,7 @@ const loaderRadial = {
|
|
11408
11615
|
[compVars$2.hostDisplay]: 'none',
|
11409
11616
|
},
|
11410
11617
|
};
|
11411
|
-
const vars$
|
11618
|
+
const vars$l = {
|
11412
11619
|
...compVars$2,
|
11413
11620
|
...helperVars,
|
11414
11621
|
};
|
@@ -11416,78 +11623,114 @@ const vars$k = {
|
|
11416
11623
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
11417
11624
|
__proto__: null,
|
11418
11625
|
default: loaderRadial,
|
11419
|
-
vars: vars$
|
11626
|
+
vars: vars$l
|
11420
11627
|
});
|
11421
11628
|
|
11422
|
-
const globalRefs$
|
11423
|
-
const vars$
|
11629
|
+
const globalRefs$d = getThemeRefs(globals);
|
11630
|
+
const vars$k = ComboBoxClass.cssVarList;
|
11424
11631
|
|
11425
11632
|
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$
|
11633
|
+
[vars$k.hostWidth]: refs.width,
|
11634
|
+
[vars$k.hostDirection]: refs.direction,
|
11635
|
+
[vars$k.fontSize]: refs.fontSize,
|
11636
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
11637
|
+
[vars$k.labelTextColor]: refs.labelTextColor,
|
11638
|
+
[vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
|
11639
|
+
[vars$k.inputBorderColor]: refs.borderColor,
|
11640
|
+
[vars$k.inputBorderWidth]: refs.borderWidth,
|
11641
|
+
[vars$k.inputBorderStyle]: refs.borderStyle,
|
11642
|
+
[vars$k.inputBorderRadius]: refs.borderRadius,
|
11643
|
+
[vars$k.inputOutlineColor]: refs.outlineColor,
|
11644
|
+
[vars$k.inputOutlineOffset]: refs.outlineOffset,
|
11645
|
+
[vars$k.inputOutlineWidth]: refs.outlineWidth,
|
11646
|
+
[vars$k.inputOutlineStyle]: refs.outlineStyle,
|
11647
|
+
[vars$k.labelRequiredIndicator]: refs.requiredIndicator,
|
11648
|
+
[vars$k.inputValueTextColor]: refs.valueTextColor,
|
11649
|
+
[vars$k.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11650
|
+
[vars$k.inputBackgroundColor]: refs.backgroundColor,
|
11651
|
+
[vars$k.inputHorizontalPadding]: refs.horizontalPadding,
|
11652
|
+
[vars$k.inputHeight]: refs.inputHeight,
|
11653
|
+
[vars$k.inputDropdownButtonColor]: globalRefs$d.colors.surface.dark,
|
11654
|
+
[vars$k.inputDropdownButtonCursor]: 'pointer',
|
11655
|
+
[vars$k.inputDropdownButtonSize]: refs.toggleButtonSize,
|
11656
|
+
[vars$k.inputDropdownButtonOffset]: globalRefs$d.spacing.xs,
|
11657
|
+
[vars$k.overlayItemPaddingInlineStart]: globalRefs$d.spacing.xs,
|
11658
|
+
[vars$k.overlayItemPaddingInlineEnd]: globalRefs$d.spacing.lg,
|
11452
11659
|
|
11453
11660
|
_readonly: {
|
11454
|
-
[vars$
|
11661
|
+
[vars$k.inputDropdownButtonCursor]: 'default',
|
11455
11662
|
},
|
11456
11663
|
|
11457
11664
|
// Overlay theme exposed via the component:
|
11458
|
-
[vars$
|
11459
|
-
[vars$
|
11460
|
-
[vars$
|
11461
|
-
[vars$
|
11462
|
-
[vars$
|
11463
|
-
[vars$
|
11665
|
+
[vars$k.overlayFontSize]: refs.fontSize,
|
11666
|
+
[vars$k.overlayFontFamily]: refs.fontFamily,
|
11667
|
+
[vars$k.overlayCursor]: 'pointer',
|
11668
|
+
[vars$k.overlayItemBoxShadow]: 'none',
|
11669
|
+
[vars$k.overlayBackground]: refs.backgroundColor,
|
11670
|
+
[vars$k.overlayTextColor]: refs.valueTextColor,
|
11464
11671
|
|
11465
11672
|
// Overlay direct theme:
|
11466
|
-
[vars$
|
11467
|
-
[vars$
|
11673
|
+
[vars$k.overlay.minHeight]: '400px',
|
11674
|
+
[vars$k.overlay.margin]: '0',
|
11468
11675
|
};
|
11469
11676
|
|
11470
11677
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
11471
11678
|
__proto__: null,
|
11472
11679
|
comboBox: comboBox,
|
11473
11680
|
default: comboBox,
|
11474
|
-
vars: vars$
|
11681
|
+
vars: vars$k
|
11475
11682
|
});
|
11476
11683
|
|
11477
|
-
const vars$
|
11684
|
+
const vars$j = ImageClass.cssVarList;
|
11478
11685
|
|
11479
11686
|
const image = {};
|
11480
11687
|
|
11481
11688
|
var image$1 = /*#__PURE__*/Object.freeze({
|
11482
11689
|
__proto__: null,
|
11483
11690
|
default: image,
|
11484
|
-
vars: vars$
|
11691
|
+
vars: vars$j
|
11485
11692
|
});
|
11486
11693
|
|
11487
|
-
const vars$
|
11694
|
+
const vars$i = PhoneFieldClass.cssVarList;
|
11488
11695
|
|
11489
11696
|
const phoneField = {
|
11490
|
-
[vars$
|
11697
|
+
[vars$i.hostWidth]: refs.width,
|
11698
|
+
[vars$i.hostDirection]: refs.direction,
|
11699
|
+
[vars$i.fontSize]: refs.fontSize,
|
11700
|
+
[vars$i.fontFamily]: refs.fontFamily,
|
11701
|
+
[vars$i.labelTextColor]: refs.labelTextColor,
|
11702
|
+
[vars$i.labelRequiredIndicator]: refs.requiredIndicator,
|
11703
|
+
[vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
|
11704
|
+
[vars$i.inputValueTextColor]: refs.valueTextColor,
|
11705
|
+
[vars$i.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11706
|
+
[vars$i.inputBorderStyle]: refs.borderStyle,
|
11707
|
+
[vars$i.inputBorderWidth]: refs.borderWidth,
|
11708
|
+
[vars$i.inputBorderColor]: refs.borderColor,
|
11709
|
+
[vars$i.inputBorderRadius]: refs.borderRadius,
|
11710
|
+
[vars$i.inputOutlineStyle]: refs.outlineStyle,
|
11711
|
+
[vars$i.inputOutlineWidth]: refs.outlineWidth,
|
11712
|
+
[vars$i.inputOutlineColor]: refs.outlineColor,
|
11713
|
+
[vars$i.inputOutlineOffset]: refs.outlineOffset,
|
11714
|
+
[vars$i.phoneInputWidth]: refs.minWidth,
|
11715
|
+
[vars$i.countryCodeInputWidth]: '5em',
|
11716
|
+
[vars$i.countryCodeDropdownWidth]: '20em',
|
11717
|
+
|
11718
|
+
// '@overlay': {
|
11719
|
+
// overlayItemBackgroundColor: 'red'
|
11720
|
+
// }
|
11721
|
+
};
|
11722
|
+
|
11723
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
11724
|
+
__proto__: null,
|
11725
|
+
default: phoneField,
|
11726
|
+
vars: vars$i
|
11727
|
+
});
|
11728
|
+
|
11729
|
+
const vars$h = PhoneFieldInputBoxClass.cssVarList;
|
11730
|
+
|
11731
|
+
const phoneInputBoxField = {
|
11732
|
+
[vars$h.hostWidth]: '16em',
|
11733
|
+
[vars$h.hostMinWidth]: refs.minWidth,
|
11491
11734
|
[vars$h.hostDirection]: refs.direction,
|
11492
11735
|
[vars$h.fontSize]: refs.fontSize,
|
11493
11736
|
[vars$h.fontFamily]: refs.fontFamily,
|
@@ -11504,184 +11747,148 @@ const phoneField = {
|
|
11504
11747
|
[vars$h.inputOutlineWidth]: refs.outlineWidth,
|
11505
11748
|
[vars$h.inputOutlineColor]: refs.outlineColor,
|
11506
11749
|
[vars$h.inputOutlineOffset]: refs.outlineOffset,
|
11507
|
-
|
11508
|
-
|
11509
|
-
|
11510
|
-
|
11511
|
-
// '@overlay': {
|
11512
|
-
// overlayItemBackgroundColor: 'red'
|
11513
|
-
// }
|
11750
|
+
_fullWidth: {
|
11751
|
+
[vars$h.hostWidth]: refs.width,
|
11752
|
+
},
|
11514
11753
|
};
|
11515
11754
|
|
11516
|
-
var
|
11755
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
11517
11756
|
__proto__: null,
|
11518
|
-
default:
|
11757
|
+
default: phoneInputBoxField,
|
11519
11758
|
vars: vars$h
|
11520
11759
|
});
|
11521
11760
|
|
11522
|
-
const
|
11761
|
+
const globalRefs$c = getThemeRefs(globals);
|
11762
|
+
const vars$g = NewPasswordClass.cssVarList;
|
11523
11763
|
|
11524
|
-
const
|
11525
|
-
[vars$g.hostWidth]:
|
11764
|
+
const newPassword = {
|
11765
|
+
[vars$g.hostWidth]: refs.width,
|
11526
11766
|
[vars$g.hostMinWidth]: refs.minWidth,
|
11527
11767
|
[vars$g.hostDirection]: refs.direction,
|
11528
11768
|
[vars$g.fontSize]: refs.fontSize,
|
11529
11769
|
[vars$g.fontFamily]: refs.fontFamily,
|
11530
|
-
[vars$g.
|
11531
|
-
[vars$g.labelRequiredIndicator]: refs.requiredIndicator,
|
11770
|
+
[vars$g.spaceBetweenInputs]: '1em',
|
11532
11771
|
[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,
|
11772
|
+
[vars$g.policyPreviewBackgroundColor]: 'none',
|
11773
|
+
[vars$g.policyPreviewPadding]: globalRefs$c.spacing.lg,
|
11567
11774
|
|
11568
11775
|
_required: {
|
11569
11776
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
11570
11777
|
// That's why we fake the required indicator on each input.
|
11571
11778
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
11572
|
-
[vars$
|
11779
|
+
[vars$g.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
11573
11780
|
},
|
11574
11781
|
};
|
11575
11782
|
|
11576
11783
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
11577
11784
|
__proto__: null,
|
11578
11785
|
default: newPassword,
|
11579
|
-
vars: vars$
|
11786
|
+
vars: vars$g
|
11580
11787
|
});
|
11581
11788
|
|
11582
|
-
const vars$
|
11789
|
+
const vars$f = UploadFileClass.cssVarList;
|
11583
11790
|
|
11584
11791
|
const uploadFile = {
|
11585
|
-
[vars$
|
11586
|
-
[vars$
|
11587
|
-
[vars$
|
11792
|
+
[vars$f.hostDirection]: refs.direction,
|
11793
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
11794
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
11588
11795
|
|
11589
|
-
[vars$
|
11796
|
+
[vars$f.iconSize]: '2em',
|
11590
11797
|
|
11591
|
-
[vars$
|
11592
|
-
[vars$
|
11798
|
+
[vars$f.hostPadding]: '0.75em',
|
11799
|
+
[vars$f.gap]: '0.5em',
|
11593
11800
|
|
11594
|
-
[vars$
|
11595
|
-
[vars$
|
11596
|
-
[vars$
|
11801
|
+
[vars$f.fontSize]: '16px',
|
11802
|
+
[vars$f.titleFontWeight]: '500',
|
11803
|
+
[vars$f.lineHeight]: '1em',
|
11597
11804
|
|
11598
|
-
[vars$
|
11599
|
-
[vars$
|
11600
|
-
[vars$
|
11601
|
-
[vars$
|
11805
|
+
[vars$f.borderWidth]: refs.borderWidth,
|
11806
|
+
[vars$f.borderColor]: refs.borderColor,
|
11807
|
+
[vars$f.borderRadius]: refs.borderRadius,
|
11808
|
+
[vars$f.borderStyle]: 'dashed',
|
11602
11809
|
|
11603
11810
|
_required: {
|
11604
|
-
[vars$
|
11811
|
+
[vars$f.requiredIndicator]: refs.requiredIndicator,
|
11605
11812
|
},
|
11606
11813
|
|
11607
11814
|
size: {
|
11608
11815
|
xs: {
|
11609
|
-
[vars$
|
11610
|
-
[vars$
|
11611
|
-
[vars$
|
11612
|
-
[vars$
|
11613
|
-
[vars$
|
11816
|
+
[vars$f.hostHeight]: '196px',
|
11817
|
+
[vars$f.hostWidth]: '200px',
|
11818
|
+
[vars$f.titleFontSize]: '0.875em',
|
11819
|
+
[vars$f.descriptionFontSize]: '0.875em',
|
11820
|
+
[vars$f.lineHeight]: '1.25em',
|
11614
11821
|
},
|
11615
11822
|
sm: {
|
11616
|
-
[vars$
|
11617
|
-
[vars$
|
11618
|
-
[vars$
|
11619
|
-
[vars$
|
11620
|
-
[vars$
|
11823
|
+
[vars$f.hostHeight]: '216px',
|
11824
|
+
[vars$f.hostWidth]: '230px',
|
11825
|
+
[vars$f.titleFontSize]: '1em',
|
11826
|
+
[vars$f.descriptionFontSize]: '0.875em',
|
11827
|
+
[vars$f.lineHeight]: '1.25em',
|
11621
11828
|
},
|
11622
11829
|
md: {
|
11623
|
-
[vars$
|
11624
|
-
[vars$
|
11625
|
-
[vars$
|
11626
|
-
[vars$
|
11627
|
-
[vars$
|
11830
|
+
[vars$f.hostHeight]: '256px',
|
11831
|
+
[vars$f.hostWidth]: '312px',
|
11832
|
+
[vars$f.titleFontSize]: '1.125em',
|
11833
|
+
[vars$f.descriptionFontSize]: '1em',
|
11834
|
+
[vars$f.lineHeight]: '1.5em',
|
11628
11835
|
},
|
11629
11836
|
lg: {
|
11630
|
-
[vars$
|
11631
|
-
[vars$
|
11632
|
-
[vars$
|
11633
|
-
[vars$
|
11634
|
-
[vars$
|
11837
|
+
[vars$f.hostHeight]: '280px',
|
11838
|
+
[vars$f.hostWidth]: '336px',
|
11839
|
+
[vars$f.titleFontSize]: '1.125em',
|
11840
|
+
[vars$f.descriptionFontSize]: '1.125em',
|
11841
|
+
[vars$f.lineHeight]: '1.75em',
|
11635
11842
|
},
|
11636
11843
|
},
|
11637
11844
|
|
11638
11845
|
_fullWidth: {
|
11639
|
-
[vars$
|
11846
|
+
[vars$f.hostWidth]: refs.width,
|
11640
11847
|
},
|
11641
11848
|
};
|
11642
11849
|
|
11643
11850
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
11644
11851
|
__proto__: null,
|
11645
11852
|
default: uploadFile,
|
11646
|
-
vars: vars$
|
11853
|
+
vars: vars$f
|
11647
11854
|
});
|
11648
11855
|
|
11649
|
-
const globalRefs$
|
11856
|
+
const globalRefs$b = getThemeRefs(globals);
|
11650
11857
|
|
11651
|
-
const vars$
|
11858
|
+
const vars$e = ButtonSelectionGroupItemClass.cssVarList;
|
11652
11859
|
|
11653
11860
|
const buttonSelectionGroupItem = {
|
11654
|
-
[vars$
|
11655
|
-
[vars$
|
11656
|
-
[vars$
|
11657
|
-
[vars$
|
11658
|
-
[vars$
|
11659
|
-
[vars$
|
11660
|
-
[vars$
|
11661
|
-
[vars$
|
11861
|
+
[vars$e.hostDirection]: 'inherit',
|
11862
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.main,
|
11863
|
+
[vars$e.labelTextColor]: globalRefs$b.colors.surface.contrast,
|
11864
|
+
[vars$e.borderColor]: globalRefs$b.colors.surface.light,
|
11865
|
+
[vars$e.borderStyle]: 'solid',
|
11866
|
+
[vars$e.borderRadius]: globalRefs$b.radius.sm,
|
11867
|
+
[vars$e.outlineColor]: 'transparent',
|
11868
|
+
[vars$e.borderWidth]: globalRefs$b.border.xs,
|
11662
11869
|
|
11663
11870
|
_hover: {
|
11664
|
-
[vars$
|
11871
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.highlight,
|
11665
11872
|
},
|
11666
11873
|
|
11667
11874
|
_focused: {
|
11668
|
-
[vars$
|
11875
|
+
[vars$e.outlineColor]: globalRefs$b.colors.surface.light,
|
11669
11876
|
},
|
11670
11877
|
|
11671
11878
|
_selected: {
|
11672
|
-
[vars$
|
11673
|
-
[vars$
|
11674
|
-
[vars$
|
11879
|
+
[vars$e.borderColor]: globalRefs$b.colors.surface.contrast,
|
11880
|
+
[vars$e.backgroundColor]: globalRefs$b.colors.surface.contrast,
|
11881
|
+
[vars$e.labelTextColor]: globalRefs$b.colors.surface.main,
|
11675
11882
|
},
|
11676
11883
|
};
|
11677
11884
|
|
11678
11885
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
11679
11886
|
__proto__: null,
|
11680
11887
|
default: buttonSelectionGroupItem,
|
11681
|
-
vars: vars$
|
11888
|
+
vars: vars$e
|
11682
11889
|
});
|
11683
11890
|
|
11684
|
-
const globalRefs$
|
11891
|
+
const globalRefs$a = getThemeRefs(globals);
|
11685
11892
|
|
11686
11893
|
const createBaseButtonSelectionGroupMappings = (vars) => ({
|
11687
11894
|
[vars.hostDirection]: refs.direction,
|
@@ -11689,84 +11896,84 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
11689
11896
|
[vars.labelTextColor]: refs.labelTextColor,
|
11690
11897
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
11691
11898
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
11692
|
-
[vars.itemsSpacing]: globalRefs$
|
11899
|
+
[vars.itemsSpacing]: globalRefs$a.spacing.sm,
|
11693
11900
|
[vars.hostWidth]: refs.width,
|
11694
11901
|
});
|
11695
11902
|
|
11696
|
-
const vars$
|
11903
|
+
const vars$d = ButtonSelectionGroupClass.cssVarList;
|
11697
11904
|
|
11698
11905
|
const buttonSelectionGroup = {
|
11699
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11906
|
+
...createBaseButtonSelectionGroupMappings(vars$d),
|
11700
11907
|
};
|
11701
11908
|
|
11702
11909
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
11703
11910
|
__proto__: null,
|
11704
11911
|
default: buttonSelectionGroup,
|
11705
|
-
vars: vars$
|
11912
|
+
vars: vars$d
|
11706
11913
|
});
|
11707
11914
|
|
11708
|
-
const vars$
|
11915
|
+
const vars$c = ButtonMultiSelectionGroupClass.cssVarList;
|
11709
11916
|
|
11710
11917
|
const buttonMultiSelectionGroup = {
|
11711
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11918
|
+
...createBaseButtonSelectionGroupMappings(vars$c),
|
11712
11919
|
};
|
11713
11920
|
|
11714
11921
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
11715
11922
|
__proto__: null,
|
11716
11923
|
default: buttonMultiSelectionGroup,
|
11717
|
-
vars: vars$
|
11924
|
+
vars: vars$c
|
11718
11925
|
});
|
11719
11926
|
|
11720
|
-
const globalRefs$
|
11927
|
+
const globalRefs$9 = getThemeRefs(globals);
|
11721
11928
|
|
11722
11929
|
const compVars$1 = ModalClass.cssVarList;
|
11723
11930
|
|
11724
11931
|
const modal = {
|
11725
|
-
[compVars$1.overlayBackgroundColor]: globalRefs$
|
11726
|
-
[compVars$1.overlayShadow]: globalRefs$
|
11932
|
+
[compVars$1.overlayBackgroundColor]: globalRefs$9.colors.surface.main,
|
11933
|
+
[compVars$1.overlayShadow]: globalRefs$9.shadow.wide['2xl'],
|
11727
11934
|
[compVars$1.overlayWidth]: '540px',
|
11728
11935
|
};
|
11729
11936
|
|
11730
|
-
const vars$
|
11937
|
+
const vars$b = {
|
11731
11938
|
...compVars$1,
|
11732
11939
|
};
|
11733
11940
|
|
11734
11941
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
11735
11942
|
__proto__: null,
|
11736
11943
|
default: modal,
|
11737
|
-
vars: vars$
|
11944
|
+
vars: vars$b
|
11738
11945
|
});
|
11739
11946
|
|
11740
|
-
const globalRefs$
|
11741
|
-
const vars$
|
11947
|
+
const globalRefs$8 = getThemeRefs(globals);
|
11948
|
+
const vars$a = GridClass.cssVarList;
|
11742
11949
|
|
11743
11950
|
const grid = {
|
11744
|
-
[vars$
|
11745
|
-
[vars$
|
11746
|
-
[vars$
|
11747
|
-
[vars$
|
11748
|
-
[vars$
|
11951
|
+
[vars$a.hostWidth]: '100%',
|
11952
|
+
[vars$a.hostHeight]: '100%',
|
11953
|
+
[vars$a.hostMinHeight]: '400px',
|
11954
|
+
[vars$a.fontWeight]: '400',
|
11955
|
+
[vars$a.backgroundColor]: globalRefs$8.colors.surface.main,
|
11749
11956
|
|
11750
|
-
[vars$
|
11751
|
-
[vars$
|
11957
|
+
[vars$a.fontSize]: refs.fontSize,
|
11958
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
11752
11959
|
|
11753
|
-
[vars$
|
11754
|
-
[vars$
|
11755
|
-
[vars$
|
11960
|
+
[vars$a.sortIndicatorsColor]: globalRefs$8.colors.surface.light,
|
11961
|
+
[vars$a.activeSortIndicator]: globalRefs$8.colors.surface.dark,
|
11962
|
+
[vars$a.resizeHandleColor]: globalRefs$8.colors.surface.light,
|
11756
11963
|
|
11757
|
-
[vars$
|
11758
|
-
[vars$
|
11759
|
-
[vars$
|
11760
|
-
[vars$
|
11964
|
+
[vars$a.borderWidth]: refs.borderWidth,
|
11965
|
+
[vars$a.borderStyle]: refs.borderStyle,
|
11966
|
+
[vars$a.borderRadius]: refs.borderRadius,
|
11967
|
+
[vars$a.borderColor]: 'transparent',
|
11761
11968
|
|
11762
|
-
[vars$
|
11763
|
-
[vars$
|
11969
|
+
[vars$a.headerRowTextColor]: globalRefs$8.colors.surface.dark,
|
11970
|
+
[vars$a.separatorColor]: globalRefs$8.colors.surface.light,
|
11764
11971
|
|
11765
|
-
[vars$
|
11766
|
-
[vars$
|
11972
|
+
[vars$a.valueTextColor]: globalRefs$8.colors.surface.contrast,
|
11973
|
+
[vars$a.selectedBackgroundColor]: globalRefs$8.colors.surface.highlight,
|
11767
11974
|
|
11768
11975
|
_bordered: {
|
11769
|
-
[vars$
|
11976
|
+
[vars$a.borderColor]: refs.borderColor,
|
11770
11977
|
},
|
11771
11978
|
};
|
11772
11979
|
|
@@ -11774,53 +11981,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
11774
11981
|
__proto__: null,
|
11775
11982
|
default: grid,
|
11776
11983
|
grid: grid,
|
11777
|
-
vars: vars$
|
11984
|
+
vars: vars$a
|
11778
11985
|
});
|
11779
11986
|
|
11780
|
-
const globalRefs$
|
11781
|
-
const vars$
|
11987
|
+
const globalRefs$7 = getThemeRefs(globals);
|
11988
|
+
const vars$9 = NotificationCardClass.cssVarList;
|
11782
11989
|
|
11783
11990
|
const shadowColor = '#00000020';
|
11784
11991
|
|
11785
11992
|
const notification = {
|
11786
|
-
[vars$
|
11787
|
-
[vars$
|
11788
|
-
[vars$
|
11789
|
-
[vars$
|
11790
|
-
[vars$
|
11791
|
-
[vars$
|
11792
|
-
[vars$
|
11793
|
-
[vars$
|
11794
|
-
[vars$
|
11993
|
+
[vars$9.hostMinWidth]: '415px',
|
11994
|
+
[vars$9.fontFamily]: globalRefs$7.fonts.font1.family,
|
11995
|
+
[vars$9.fontSize]: globalRefs$7.typography.body1.size,
|
11996
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.surface.main,
|
11997
|
+
[vars$9.textColor]: globalRefs$7.colors.surface.contrast,
|
11998
|
+
[vars$9.boxShadow]: `${globalRefs$7.shadow.wide.xl} ${shadowColor}, ${globalRefs$7.shadow.narrow.xl} ${shadowColor}`,
|
11999
|
+
[vars$9.verticalPadding]: '0.625em',
|
12000
|
+
[vars$9.horizontalPadding]: '1.5em',
|
12001
|
+
[vars$9.borderRadius]: globalRefs$7.radius.xs,
|
11795
12002
|
|
11796
12003
|
_bordered: {
|
11797
|
-
[vars$
|
11798
|
-
[vars$
|
11799
|
-
[vars$
|
12004
|
+
[vars$9.borderWidth]: globalRefs$7.border.sm,
|
12005
|
+
[vars$9.borderStyle]: 'solid',
|
12006
|
+
[vars$9.borderColor]: 'transparent',
|
11800
12007
|
},
|
11801
12008
|
|
11802
12009
|
size: {
|
11803
|
-
xs: { [vars$
|
11804
|
-
sm: { [vars$
|
11805
|
-
md: { [vars$
|
11806
|
-
lg: { [vars$
|
12010
|
+
xs: { [vars$9.fontSize]: '12px' },
|
12011
|
+
sm: { [vars$9.fontSize]: '14px' },
|
12012
|
+
md: { [vars$9.fontSize]: '16px' },
|
12013
|
+
lg: { [vars$9.fontSize]: '18px' },
|
11807
12014
|
},
|
11808
12015
|
|
11809
12016
|
mode: {
|
11810
12017
|
primary: {
|
11811
|
-
[vars$
|
11812
|
-
[vars$
|
11813
|
-
[vars$
|
12018
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.primary.main,
|
12019
|
+
[vars$9.textColor]: globalRefs$7.colors.primary.contrast,
|
12020
|
+
[vars$9.borderColor]: globalRefs$7.colors.primary.light,
|
11814
12021
|
},
|
11815
12022
|
success: {
|
11816
|
-
[vars$
|
11817
|
-
[vars$
|
11818
|
-
[vars$
|
12023
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.success.main,
|
12024
|
+
[vars$9.textColor]: globalRefs$7.colors.success.contrast,
|
12025
|
+
[vars$9.borderColor]: globalRefs$7.colors.success.light,
|
11819
12026
|
},
|
11820
12027
|
error: {
|
11821
|
-
[vars$
|
11822
|
-
[vars$
|
11823
|
-
[vars$
|
12028
|
+
[vars$9.backgroundColor]: globalRefs$7.colors.error.main,
|
12029
|
+
[vars$9.textColor]: globalRefs$7.colors.error.contrast,
|
12030
|
+
[vars$9.borderColor]: globalRefs$7.colors.error.light,
|
11824
12031
|
},
|
11825
12032
|
},
|
11826
12033
|
};
|
@@ -11828,128 +12035,128 @@ const notification = {
|
|
11828
12035
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
11829
12036
|
__proto__: null,
|
11830
12037
|
default: notification,
|
11831
|
-
vars: vars$
|
12038
|
+
vars: vars$9
|
11832
12039
|
});
|
11833
12040
|
|
11834
|
-
const globalRefs$
|
11835
|
-
const vars$
|
12041
|
+
const globalRefs$6 = getThemeRefs(globals);
|
12042
|
+
const vars$8 = MultiSelectComboBoxClass.cssVarList;
|
11836
12043
|
|
11837
12044
|
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$
|
12045
|
+
[vars$8.hostWidth]: refs.width,
|
12046
|
+
[vars$8.hostDirection]: refs.direction,
|
12047
|
+
[vars$8.fontSize]: refs.fontSize,
|
12048
|
+
[vars$8.fontFamily]: refs.fontFamily,
|
12049
|
+
[vars$8.labelTextColor]: refs.labelTextColor,
|
12050
|
+
[vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
|
12051
|
+
[vars$8.inputBorderColor]: refs.borderColor,
|
12052
|
+
[vars$8.inputBorderWidth]: refs.borderWidth,
|
12053
|
+
[vars$8.inputBorderStyle]: refs.borderStyle,
|
12054
|
+
[vars$8.inputBorderRadius]: refs.borderRadius,
|
12055
|
+
[vars$8.inputOutlineColor]: refs.outlineColor,
|
12056
|
+
[vars$8.inputOutlineOffset]: refs.outlineOffset,
|
12057
|
+
[vars$8.inputOutlineWidth]: refs.outlineWidth,
|
12058
|
+
[vars$8.inputOutlineStyle]: refs.outlineStyle,
|
12059
|
+
[vars$8.labelRequiredIndicator]: refs.requiredIndicator,
|
12060
|
+
[vars$8.inputValueTextColor]: refs.valueTextColor,
|
12061
|
+
[vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
12062
|
+
[vars$8.inputBackgroundColor]: refs.backgroundColor,
|
12063
|
+
[vars$8.inputHorizontalPadding]: refs.horizontalPadding,
|
12064
|
+
[vars$8.inputVerticalPadding]: refs.verticalPadding,
|
12065
|
+
[vars$8.inputHeight]: refs.inputHeight,
|
12066
|
+
[vars$8.inputDropdownButtonColor]: globalRefs$6.colors.surface.dark,
|
12067
|
+
[vars$8.inputDropdownButtonCursor]: 'pointer',
|
12068
|
+
[vars$8.inputDropdownButtonSize]: refs.toggleButtonSize,
|
12069
|
+
[vars$8.inputDropdownButtonOffset]: globalRefs$6.spacing.xs,
|
12070
|
+
[vars$8.overlayItemPaddingInlineStart]: globalRefs$6.spacing.xs,
|
12071
|
+
[vars$8.overlayItemPaddingInlineEnd]: globalRefs$6.spacing.lg,
|
12072
|
+
[vars$8.chipFontSize]: refs.chipFontSize,
|
12073
|
+
[vars$8.chipTextColor]: globalRefs$6.colors.surface.contrast,
|
12074
|
+
[vars$8.chipBackgroundColor]: globalRefs$6.colors.surface.light,
|
11868
12075
|
|
11869
12076
|
_readonly: {
|
11870
|
-
[vars$
|
12077
|
+
[vars$8.inputDropdownButtonCursor]: 'default',
|
11871
12078
|
},
|
11872
12079
|
|
11873
12080
|
// Overlay theme exposed via the component:
|
11874
|
-
[vars$
|
11875
|
-
[vars$
|
11876
|
-
[vars$
|
11877
|
-
[vars$
|
11878
|
-
[vars$
|
11879
|
-
[vars$
|
12081
|
+
[vars$8.overlayFontSize]: refs.fontSize,
|
12082
|
+
[vars$8.overlayFontFamily]: refs.fontFamily,
|
12083
|
+
[vars$8.overlayCursor]: 'pointer',
|
12084
|
+
[vars$8.overlayItemBoxShadow]: 'none',
|
12085
|
+
[vars$8.overlayBackground]: refs.backgroundColor,
|
12086
|
+
[vars$8.overlayTextColor]: refs.valueTextColor,
|
11880
12087
|
|
11881
12088
|
// Overlay direct theme:
|
11882
|
-
[vars$
|
11883
|
-
[vars$
|
12089
|
+
[vars$8.overlay.minHeight]: '400px',
|
12090
|
+
[vars$8.overlay.margin]: '0',
|
11884
12091
|
};
|
11885
12092
|
|
11886
12093
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
11887
12094
|
__proto__: null,
|
11888
12095
|
default: multiSelectComboBox,
|
11889
12096
|
multiSelectComboBox: multiSelectComboBox,
|
11890
|
-
vars: vars$
|
12097
|
+
vars: vars$8
|
11891
12098
|
});
|
11892
12099
|
|
11893
|
-
const globalRefs$
|
11894
|
-
const vars$
|
12100
|
+
const globalRefs$5 = getThemeRefs(globals);
|
12101
|
+
const vars$7 = BadgeClass.cssVarList;
|
11895
12102
|
|
11896
12103
|
const badge = {
|
11897
|
-
[vars$
|
11898
|
-
[vars$
|
12104
|
+
[vars$7.hostWidth]: 'fit-content',
|
12105
|
+
[vars$7.hostDirection]: globalRefs$5.direction,
|
11899
12106
|
|
11900
|
-
[vars$
|
12107
|
+
[vars$7.textAlign]: 'center',
|
11901
12108
|
|
11902
|
-
[vars$
|
11903
|
-
[vars$
|
12109
|
+
[vars$7.fontFamily]: globalRefs$5.fonts.font1.family,
|
12110
|
+
[vars$7.fontWeight]: '400',
|
11904
12111
|
|
11905
|
-
[vars$
|
11906
|
-
[vars$
|
12112
|
+
[vars$7.verticalPadding]: '0.25em',
|
12113
|
+
[vars$7.horizontalPadding]: '0.5em',
|
11907
12114
|
|
11908
|
-
[vars$
|
11909
|
-
[vars$
|
11910
|
-
[vars$
|
11911
|
-
[vars$
|
12115
|
+
[vars$7.borderWidth]: globalRefs$5.border.xs,
|
12116
|
+
[vars$7.borderRadius]: globalRefs$5.radius.xs,
|
12117
|
+
[vars$7.borderColor]: 'transparent',
|
12118
|
+
[vars$7.borderStyle]: 'solid',
|
11912
12119
|
|
11913
12120
|
_fullWidth: {
|
11914
|
-
[vars$
|
12121
|
+
[vars$7.hostWidth]: '100%',
|
11915
12122
|
},
|
11916
12123
|
|
11917
12124
|
size: {
|
11918
|
-
xs: { [vars$
|
11919
|
-
sm: { [vars$
|
11920
|
-
md: { [vars$
|
11921
|
-
lg: { [vars$
|
12125
|
+
xs: { [vars$7.fontSize]: '12px' },
|
12126
|
+
sm: { [vars$7.fontSize]: '14px' },
|
12127
|
+
md: { [vars$7.fontSize]: '16px' },
|
12128
|
+
lg: { [vars$7.fontSize]: '18px' },
|
11922
12129
|
},
|
11923
12130
|
|
11924
12131
|
mode: {
|
11925
12132
|
default: {
|
11926
|
-
[vars$
|
12133
|
+
[vars$7.textColor]: globalRefs$5.colors.surface.dark,
|
11927
12134
|
_bordered: {
|
11928
|
-
[vars$
|
12135
|
+
[vars$7.borderColor]: globalRefs$5.colors.surface.light,
|
11929
12136
|
},
|
11930
12137
|
},
|
11931
12138
|
primary: {
|
11932
|
-
[vars$
|
12139
|
+
[vars$7.textColor]: globalRefs$5.colors.primary.main,
|
11933
12140
|
_bordered: {
|
11934
|
-
[vars$
|
12141
|
+
[vars$7.borderColor]: globalRefs$5.colors.primary.light,
|
11935
12142
|
},
|
11936
12143
|
},
|
11937
12144
|
secondary: {
|
11938
|
-
[vars$
|
12145
|
+
[vars$7.textColor]: globalRefs$5.colors.secondary.main,
|
11939
12146
|
_bordered: {
|
11940
|
-
[vars$
|
12147
|
+
[vars$7.borderColor]: globalRefs$5.colors.secondary.light,
|
11941
12148
|
},
|
11942
12149
|
},
|
11943
12150
|
error: {
|
11944
|
-
[vars$
|
12151
|
+
[vars$7.textColor]: globalRefs$5.colors.error.main,
|
11945
12152
|
_bordered: {
|
11946
|
-
[vars$
|
12153
|
+
[vars$7.borderColor]: globalRefs$5.colors.error.light,
|
11947
12154
|
},
|
11948
12155
|
},
|
11949
12156
|
success: {
|
11950
|
-
[vars$
|
12157
|
+
[vars$7.textColor]: globalRefs$5.colors.success.main,
|
11951
12158
|
_bordered: {
|
11952
|
-
[vars$
|
12159
|
+
[vars$7.borderColor]: globalRefs$5.colors.success.light,
|
11953
12160
|
},
|
11954
12161
|
},
|
11955
12162
|
},
|
@@ -11958,19 +12165,19 @@ const badge = {
|
|
11958
12165
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
11959
12166
|
__proto__: null,
|
11960
12167
|
default: badge,
|
11961
|
-
vars: vars$
|
12168
|
+
vars: vars$7
|
11962
12169
|
});
|
11963
12170
|
|
11964
|
-
const globalRefs$
|
12171
|
+
const globalRefs$4 = getThemeRefs(globals);
|
11965
12172
|
const compVars = AvatarClass.cssVarList;
|
11966
12173
|
|
11967
12174
|
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$
|
12175
|
+
[compVars.hostDirection]: globalRefs$4.direction,
|
12176
|
+
[compVars.editableIconColor]: globalRefs$4.colors.surface.dark,
|
12177
|
+
[compVars.editableBorderColor]: globalRefs$4.colors.surface.dark,
|
12178
|
+
[compVars.editableBackgroundColor]: globalRefs$4.colors.surface.main,
|
12179
|
+
[compVars.avatarTextColor]: globalRefs$4.colors.surface.main,
|
12180
|
+
[compVars.avatarBackgroundColor]: globalRefs$4.colors.surface.dark,
|
11974
12181
|
|
11975
12182
|
_editable: {
|
11976
12183
|
[compVars.cursor]: 'pointer',
|
@@ -11996,64 +12203,84 @@ const avatar = {
|
|
11996
12203
|
},
|
11997
12204
|
};
|
11998
12205
|
|
11999
|
-
const vars$
|
12206
|
+
const vars$6 = {
|
12000
12207
|
...compVars,
|
12001
12208
|
};
|
12002
12209
|
|
12003
12210
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
12004
12211
|
__proto__: null,
|
12005
12212
|
default: avatar,
|
12006
|
-
vars: vars$
|
12213
|
+
vars: vars$6
|
12007
12214
|
});
|
12008
12215
|
|
12009
|
-
const globalRefs$
|
12216
|
+
const globalRefs$3 = getThemeRefs(globals);
|
12010
12217
|
|
12011
|
-
const vars$
|
12218
|
+
const vars$5 = MappingsFieldClass.cssVarList;
|
12012
12219
|
|
12013
12220
|
const mappingsField = {
|
12014
|
-
[vars$
|
12015
|
-
[vars$
|
12016
|
-
[vars$
|
12017
|
-
[vars$
|
12018
|
-
[vars$
|
12019
|
-
[vars$
|
12020
|
-
[vars$
|
12021
|
-
[vars$
|
12022
|
-
[vars$
|
12023
|
-
[vars$
|
12221
|
+
[vars$5.hostWidth]: refs.width,
|
12222
|
+
[vars$5.hostDirection]: refs.direction,
|
12223
|
+
[vars$5.fontSize]: refs.fontSize,
|
12224
|
+
[vars$5.fontFamily]: refs.fontFamily,
|
12225
|
+
[vars$5.separatorFontSize]: '14px',
|
12226
|
+
[vars$5.labelsFontSize]: '14px',
|
12227
|
+
[vars$5.labelsLineHeight]: '1',
|
12228
|
+
[vars$5.labelsMarginBottom]: '6px',
|
12229
|
+
[vars$5.labelTextColor]: refs.labelTextColor,
|
12230
|
+
[vars$5.itemMarginBottom]: '1em',
|
12024
12231
|
// To be positioned correctly, the min width has to match the text field min width
|
12025
|
-
[vars$
|
12232
|
+
[vars$5.valueLabelMinWidth]: refs.minWidth,
|
12026
12233
|
// To be positioned correctly, the min width has to match the combo box field min width
|
12027
|
-
[vars$
|
12028
|
-
[vars$
|
12029
|
-
[vars$
|
12234
|
+
[vars$5.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$3.border.xs})`,
|
12235
|
+
[vars$5.separatorWidth]: '70px',
|
12236
|
+
[vars$5.removeButtonWidth]: '60px',
|
12030
12237
|
};
|
12031
12238
|
|
12032
12239
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
12033
12240
|
__proto__: null,
|
12034
12241
|
default: mappingsField,
|
12035
12242
|
mappingsField: mappingsField,
|
12243
|
+
vars: vars$5
|
12244
|
+
});
|
12245
|
+
|
12246
|
+
const globalRefs$2 = getThemeRefs(globals);
|
12247
|
+
const vars$4 = UserAttributeClass.cssVarList;
|
12248
|
+
|
12249
|
+
const userAttribute = {
|
12250
|
+
[vars$4.hostDirection]: globalRefs$2.direction,
|
12251
|
+
[vars$4.labelTextWidth]: '150px',
|
12252
|
+
[vars$4.valueTextWidth]: '200px',
|
12253
|
+
[vars$4.badgeMaxWidth]: '85px',
|
12254
|
+
[vars$4.itemsGap]: '16px',
|
12255
|
+
[vars$4.hostMinWidth]: '530px',
|
12256
|
+
_fullWidth: {
|
12257
|
+
[vars$4.hostWidth]: '100%',
|
12258
|
+
},
|
12259
|
+
};
|
12260
|
+
|
12261
|
+
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
12262
|
+
__proto__: null,
|
12263
|
+
default: userAttribute,
|
12036
12264
|
vars: vars$4
|
12037
12265
|
});
|
12038
12266
|
|
12039
12267
|
const globalRefs$1 = getThemeRefs(globals);
|
12040
|
-
const vars$3 =
|
12268
|
+
const vars$3 = UserAuthMethodClass.cssVarList;
|
12041
12269
|
|
12042
|
-
const
|
12270
|
+
const userAuthMethod = {
|
12043
12271
|
[vars$3.hostDirection]: globalRefs$1.direction,
|
12044
|
-
[vars$3.labelTextWidth]: '
|
12045
|
-
[vars$3.valueTextWidth]: '200px',
|
12046
|
-
[vars$3.badgeMaxWidth]: '85px',
|
12272
|
+
[vars$3.labelTextWidth]: '200px',
|
12047
12273
|
[vars$3.itemsGap]: '16px',
|
12048
12274
|
[vars$3.hostMinWidth]: '530px',
|
12275
|
+
[vars$3.iconSize]: '24px',
|
12049
12276
|
_fullWidth: {
|
12050
12277
|
[vars$3.hostWidth]: '100%',
|
12051
12278
|
},
|
12052
12279
|
};
|
12053
12280
|
|
12054
|
-
var
|
12281
|
+
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
12055
12282
|
__proto__: null,
|
12056
|
-
default:
|
12283
|
+
default: userAuthMethod,
|
12057
12284
|
vars: vars$3
|
12058
12285
|
});
|
12059
12286
|
|
@@ -12137,6 +12364,7 @@ const components = {
|
|
12137
12364
|
avatar: avatar$1,
|
12138
12365
|
mappingsField: mappingsField$1,
|
12139
12366
|
userAttribute: userAttribute$1,
|
12367
|
+
userAuthMethod: userAuthMethod$1,
|
12140
12368
|
samlGroupMappings: samlGroupMappings$1,
|
12141
12369
|
policyValidation: policyValidation$1,
|
12142
12370
|
};
|
@@ -12151,7 +12379,7 @@ const vars = Object.keys(components).reduce(
|
|
12151
12379
|
);
|
12152
12380
|
|
12153
12381
|
const defaultTheme = { globals, components: theme };
|
12154
|
-
const themeVars = { globals: vars$
|
12382
|
+
const themeVars = { globals: vars$E, components: vars };
|
12155
12383
|
|
12156
12384
|
const colors = {
|
12157
12385
|
surface: {
|
@@ -12197,5 +12425,5 @@ const darkTheme = merge({}, defaultTheme, {
|
|
12197
12425
|
},
|
12198
12426
|
});
|
12199
12427
|
|
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 };
|
12428
|
+
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
12429
|
//# sourceMappingURL=index.esm.js.map
|