@descope/web-components-ui 1.107.0 → 1.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +1520 -1376
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1482 -1337
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/2739.js +1 -1
- package/dist/umd/2739.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js.map +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -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-index-js.js.map +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-index-js.js.map +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
- package/dist/umd/descope-email-field-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js.map +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.map +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js.map +1 -1
- package/dist/umd/descope-hcaptcha-index-js.js +2 -0
- package/dist/umd/descope-hcaptcha-index-js.js.map +1 -0
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js.map +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js.map +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js.map +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js.map +1 -1
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js.map +1 -1
- package/dist/umd/descope-scopes-list-index-js.js +1 -1
- package/dist/umd/descope-scopes-list-index-js.js.map +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js.map +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js.map +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +17 -17
- package/src/components/descope-hcaptcha/HcaptchaClass.js +137 -0
- package/src/components/descope-hcaptcha/index.js +5 -0
- package/src/helpers/themeHelpers/resetHelpers.js +0 -3
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/theme/components/hcaptcha.js +14 -0
- package/src/theme/components/index.js +2 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -557,9 +557,6 @@ const inputFloatingLabelStyle$1 = () => {
|
|
557
557
|
:host([label-type="floating"]) {
|
558
558
|
position: relative;
|
559
559
|
}
|
560
|
-
:host([label-type="floating"][has-label]) [slot="label"] {
|
561
|
-
padding: 0;
|
562
|
-
}
|
563
560
|
:host([label-type="floating"][has-label]) > ::part(label) {
|
564
561
|
z-index: 1;
|
565
562
|
padding: 0;
|
@@ -1070,7 +1067,7 @@ const globals$1 = {
|
|
1070
1067
|
fonts: fonts$1,
|
1071
1068
|
direction: direction$1,
|
1072
1069
|
};
|
1073
|
-
const vars$
|
1070
|
+
const vars$11 = getThemeVars(globals$1);
|
1074
1071
|
|
1075
1072
|
const direction = 'ltr';
|
1076
1073
|
|
@@ -1843,7 +1840,7 @@ const inputEventsDispatchingMixin$1 = (superclass) =>
|
|
1843
1840
|
}
|
1844
1841
|
};
|
1845
1842
|
|
1846
|
-
const observedAttributes$
|
1843
|
+
const observedAttributes$6 = ['required', 'pattern'];
|
1847
1844
|
|
1848
1845
|
const errorAttributes$1 = {
|
1849
1846
|
valueMissing: 'data-errormessage-value-missing',
|
@@ -1862,7 +1859,7 @@ const inputValidationMixin$1 = (superclass) =>
|
|
1862
1859
|
#validationTarget = validationTargetSymbol$1;
|
1863
1860
|
|
1864
1861
|
static get observedAttributes() {
|
1865
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
1862
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$6];
|
1866
1863
|
}
|
1867
1864
|
|
1868
1865
|
static get formAssociated() {
|
@@ -2065,7 +2062,7 @@ const inputValidationMixin$1 = (superclass) =>
|
|
2065
2062
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
2066
2063
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
2067
2064
|
|
2068
|
-
if (observedAttributes$
|
2065
|
+
if (observedAttributes$6.includes(attrName)) {
|
2069
2066
|
this.#setValidity();
|
2070
2067
|
}
|
2071
2068
|
}
|
@@ -2724,7 +2721,7 @@ const createDynamicDataMixin$1 =
|
|
2724
2721
|
}
|
2725
2722
|
};
|
2726
2723
|
|
2727
|
-
const componentName$
|
2724
|
+
const componentName$1c = getComponentName('icon');
|
2728
2725
|
|
2729
2726
|
const IconClass = compose(
|
2730
2727
|
createStyleMixin$1({
|
@@ -2744,7 +2741,7 @@ const IconClass = compose(
|
|
2744
2741
|
}
|
2745
2742
|
`,
|
2746
2743
|
excludeAttrsSync: ['tabindex', 'class'],
|
2747
|
-
componentName: componentName$
|
2744
|
+
componentName: componentName$1c,
|
2748
2745
|
}),
|
2749
2746
|
);
|
2750
2747
|
|
@@ -2759,7 +2756,7 @@ const clickableMixin = (superclass) =>
|
|
2759
2756
|
}
|
2760
2757
|
};
|
2761
2758
|
|
2762
|
-
const componentName$
|
2759
|
+
const componentName$1b = getComponentName('button');
|
2763
2760
|
|
2764
2761
|
const resetStyles = `
|
2765
2762
|
:host {
|
@@ -2875,7 +2872,7 @@ const ButtonClass = compose(
|
|
2875
2872
|
}
|
2876
2873
|
`,
|
2877
2874
|
excludeAttrsSync: ['tabindex'],
|
2878
|
-
componentName: componentName$
|
2875
|
+
componentName: componentName$1b,
|
2879
2876
|
})
|
2880
2877
|
);
|
2881
2878
|
|
@@ -2923,7 +2920,7 @@ const mode = {
|
|
2923
2920
|
surface: globalRefs$G.colors.surface,
|
2924
2921
|
};
|
2925
2922
|
|
2926
|
-
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$
|
2923
|
+
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$1b);
|
2927
2924
|
|
2928
2925
|
const button = {
|
2929
2926
|
...helperTheme$5,
|
@@ -3035,7 +3032,7 @@ const button = {
|
|
3035
3032
|
},
|
3036
3033
|
};
|
3037
3034
|
|
3038
|
-
const vars
|
3035
|
+
const vars$10 = {
|
3039
3036
|
...compVars$8,
|
3040
3037
|
...helperVars$5,
|
3041
3038
|
};
|
@@ -3043,7 +3040,7 @@ const vars$$ = {
|
|
3043
3040
|
var button$1 = /*#__PURE__*/Object.freeze({
|
3044
3041
|
__proto__: null,
|
3045
3042
|
default: button,
|
3046
|
-
vars: vars
|
3043
|
+
vars: vars$10
|
3047
3044
|
});
|
3048
3045
|
|
3049
3046
|
const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
|
@@ -3575,7 +3572,7 @@ const createProxy = ({
|
|
3575
3572
|
return ProxyClass;
|
3576
3573
|
};
|
3577
3574
|
|
3578
|
-
const observedAttributes$
|
3575
|
+
const observedAttributes$5 = ['required', 'pattern'];
|
3579
3576
|
|
3580
3577
|
const errorAttributes = {
|
3581
3578
|
valueMissing: 'data-errormessage-value-missing',
|
@@ -3594,7 +3591,7 @@ const inputValidationMixin = (superclass) =>
|
|
3594
3591
|
#validationTarget = validationTargetSymbol;
|
3595
3592
|
|
3596
3593
|
static get observedAttributes() {
|
3597
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
3594
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$5];
|
3598
3595
|
}
|
3599
3596
|
|
3600
3597
|
static get formAssociated() {
|
@@ -3772,7 +3769,7 @@ const inputValidationMixin = (superclass) =>
|
|
3772
3769
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
3773
3770
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
3774
3771
|
|
3775
|
-
if (observedAttributes$
|
3772
|
+
if (observedAttributes$5.includes(attrName)) {
|
3776
3773
|
this.#setValidity();
|
3777
3774
|
}
|
3778
3775
|
}
|
@@ -4784,9 +4781,6 @@ const inputFloatingLabelStyle = () => {
|
|
4784
4781
|
:host([label-type="floating"]) {
|
4785
4782
|
position: relative;
|
4786
4783
|
}
|
4787
|
-
:host([label-type="floating"][has-label]) [slot="label"] {
|
4788
|
-
padding: 0;
|
4789
|
-
}
|
4790
4784
|
:host([label-type="floating"][has-label]) > ::part(label) {
|
4791
4785
|
z-index: 1;
|
4792
4786
|
padding: 0;
|
@@ -4795,7 +4789,7 @@ const inputFloatingLabelStyle = () => {
|
|
4795
4789
|
`;
|
4796
4790
|
};
|
4797
4791
|
|
4798
|
-
const componentName$
|
4792
|
+
const componentName$1a = getComponentName$1('text-field');
|
4799
4793
|
|
4800
4794
|
const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
|
4801
4795
|
|
@@ -4917,14 +4911,14 @@ const TextFieldClass = compose$1(
|
|
4917
4911
|
}
|
4918
4912
|
`,
|
4919
4913
|
excludeAttrsSync: ['tabindex', 'style'],
|
4920
|
-
componentName: componentName$
|
4914
|
+
componentName: componentName$1a,
|
4921
4915
|
})
|
4922
4916
|
);
|
4923
4917
|
|
4924
|
-
const componentName$
|
4918
|
+
const componentName$19 = getComponentName$1('input-wrapper');
|
4925
4919
|
const globalRefs$F = getThemeRefs(globals$1);
|
4926
4920
|
|
4927
|
-
const [theme$2, refs$1, vars
|
4921
|
+
const [theme$2, refs$1, vars$$] = createHelperVars(
|
4928
4922
|
{
|
4929
4923
|
labelTextColor: globalRefs$F.colors.surface.dark,
|
4930
4924
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
@@ -5043,78 +5037,78 @@ const [theme$2, refs$1, vars$_] = createHelperVars(
|
|
5043
5037
|
backgroundColor: globalRefs$F.colors.surface.main,
|
5044
5038
|
},
|
5045
5039
|
},
|
5046
|
-
componentName$
|
5040
|
+
componentName$19
|
5047
5041
|
);
|
5048
5042
|
|
5049
5043
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
5050
5044
|
__proto__: null,
|
5051
5045
|
default: theme$2,
|
5052
5046
|
refs: refs$1,
|
5053
|
-
vars: vars
|
5047
|
+
vars: vars$$
|
5054
5048
|
});
|
5055
5049
|
|
5056
5050
|
const globalRefs$E = getThemeRefs(globals$1);
|
5057
|
-
const vars$
|
5051
|
+
const vars$_ = TextFieldClass.cssVarList;
|
5058
5052
|
|
5059
5053
|
const textField$1 = {
|
5060
|
-
[vars$
|
5061
|
-
[vars$
|
5062
|
-
[vars$
|
5063
|
-
[vars$
|
5064
|
-
[vars$
|
5065
|
-
[vars$
|
5066
|
-
[vars$
|
5067
|
-
[vars$
|
5068
|
-
[vars$
|
5069
|
-
[vars$
|
5070
|
-
[vars$
|
5071
|
-
[vars$
|
5072
|
-
[vars$
|
5073
|
-
[vars$
|
5074
|
-
[vars$
|
5075
|
-
[vars$
|
5076
|
-
[vars$
|
5077
|
-
[vars$
|
5078
|
-
[vars$
|
5079
|
-
[vars$
|
5080
|
-
[vars$
|
5081
|
-
[vars$
|
5082
|
-
[vars$
|
5083
|
-
[vars$
|
5084
|
-
[vars$
|
5054
|
+
[vars$_.hostWidth]: refs$1.width,
|
5055
|
+
[vars$_.hostMinWidth]: refs$1.minWidth,
|
5056
|
+
[vars$_.hostDirection]: refs$1.direction,
|
5057
|
+
[vars$_.fontSize]: refs$1.fontSize,
|
5058
|
+
[vars$_.fontFamily]: refs$1.fontFamily,
|
5059
|
+
[vars$_.labelFontSize]: refs$1.labelFontSize,
|
5060
|
+
[vars$_.labelFontWeight]: refs$1.labelFontWeight,
|
5061
|
+
[vars$_.labelTextColor]: refs$1.labelTextColor,
|
5062
|
+
[vars$_.labelRequiredIndicator]: refs$1.requiredIndicator,
|
5063
|
+
[vars$_.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
5064
|
+
[vars$_.inputValueTextColor]: refs$1.valueTextColor,
|
5065
|
+
[vars$_.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
5066
|
+
[vars$_.inputBorderWidth]: refs$1.borderWidth,
|
5067
|
+
[vars$_.inputBorderStyle]: refs$1.borderStyle,
|
5068
|
+
[vars$_.inputBorderColor]: refs$1.borderColor,
|
5069
|
+
[vars$_.inputBorderRadius]: refs$1.borderRadius,
|
5070
|
+
[vars$_.inputOutlineWidth]: refs$1.outlineWidth,
|
5071
|
+
[vars$_.inputOutlineStyle]: refs$1.outlineStyle,
|
5072
|
+
[vars$_.inputOutlineColor]: refs$1.outlineColor,
|
5073
|
+
[vars$_.inputOutlineOffset]: refs$1.outlineOffset,
|
5074
|
+
[vars$_.inputBackgroundColor]: refs$1.backgroundColor,
|
5075
|
+
[vars$_.inputHeight]: refs$1.inputHeight,
|
5076
|
+
[vars$_.inputHorizontalPadding]: refs$1.horizontalPadding,
|
5077
|
+
[vars$_.helperTextColor]: refs$1.helperTextColor,
|
5078
|
+
[vars$_.textAlign]: refs$1.textAlign,
|
5085
5079
|
textAlign: {
|
5086
|
-
right: { [vars$
|
5087
|
-
left: { [vars$
|
5088
|
-
center: { [vars$
|
5080
|
+
right: { [vars$_.inputTextAlign]: 'right' },
|
5081
|
+
left: { [vars$_.inputTextAlign]: 'left' },
|
5082
|
+
center: { [vars$_.inputTextAlign]: 'center' },
|
5089
5083
|
},
|
5090
|
-
[vars$
|
5091
|
-
[vars$
|
5092
|
-
[vars$
|
5093
|
-
[vars$
|
5094
|
-
[vars$
|
5095
|
-
[vars$
|
5096
|
-
[vars$
|
5097
|
-
[vars$
|
5098
|
-
[vars$
|
5099
|
-
[vars$
|
5100
|
-
[vars$
|
5101
|
-
[vars$
|
5102
|
-
[vars$
|
5084
|
+
[vars$_.labelPosition]: refs$1.labelPosition,
|
5085
|
+
[vars$_.labelTopPosition]: refs$1.labelTopPosition,
|
5086
|
+
[vars$_.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
5087
|
+
[vars$_.inputTransformY]: refs$1.inputTransformY,
|
5088
|
+
[vars$_.inputTransition]: refs$1.inputTransition,
|
5089
|
+
[vars$_.marginInlineStart]: refs$1.marginInlineStart,
|
5090
|
+
[vars$_.placeholderOpacity]: refs$1.placeholderOpacity,
|
5091
|
+
[vars$_.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
5092
|
+
[vars$_.valueInputHeight]: refs$1.valueInputHeight,
|
5093
|
+
[vars$_.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
5094
|
+
[vars$_.inputIconOffset]: globalRefs$E.spacing.md,
|
5095
|
+
[vars$_.inputIconSize]: refs$1.inputIconSize,
|
5096
|
+
[vars$_.inputIconColor]: refs$1.placeholderTextColor,
|
5103
5097
|
|
5104
5098
|
// error message icon
|
5105
|
-
[vars$
|
5106
|
-
[vars$
|
5107
|
-
[vars$
|
5108
|
-
[vars$
|
5109
|
-
[vars$
|
5110
|
-
[vars$
|
5099
|
+
[vars$_.errorMessageIcon]: refs$1.errorMessageIcon,
|
5100
|
+
[vars$_.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
5101
|
+
[vars$_.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
5102
|
+
[vars$_.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
5103
|
+
[vars$_.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
5104
|
+
[vars$_.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
5111
5105
|
};
|
5112
5106
|
|
5113
5107
|
var textField$2 = /*#__PURE__*/Object.freeze({
|
5114
5108
|
__proto__: null,
|
5115
5109
|
default: textField$1,
|
5116
5110
|
textField: textField$1,
|
5117
|
-
vars: vars$
|
5111
|
+
vars: vars$_
|
5118
5112
|
});
|
5119
5113
|
|
5120
5114
|
const passwordDraggableMixin = (superclass) =>
|
@@ -5156,7 +5150,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
5156
5150
|
}
|
5157
5151
|
};
|
5158
5152
|
|
5159
|
-
const componentName$
|
5153
|
+
const componentName$18 = getComponentName$1('password');
|
5160
5154
|
|
5161
5155
|
const customMixin$d = (superclass) =>
|
5162
5156
|
class PasswordFieldMixinClass extends superclass {
|
@@ -5438,66 +5432,66 @@ const PasswordClass = compose$1(
|
|
5438
5432
|
}
|
5439
5433
|
`,
|
5440
5434
|
excludeAttrsSync: ['tabindex'],
|
5441
|
-
componentName: componentName$
|
5435
|
+
componentName: componentName$18,
|
5442
5436
|
})
|
5443
5437
|
);
|
5444
5438
|
|
5445
5439
|
const globalRefs$D = getThemeRefs(globals$1);
|
5446
|
-
const vars$
|
5440
|
+
const vars$Z = PasswordClass.cssVarList;
|
5447
5441
|
|
5448
5442
|
const password = {
|
5449
|
-
[vars$
|
5450
|
-
[vars$
|
5451
|
-
[vars$
|
5452
|
-
[vars$
|
5453
|
-
[vars$
|
5454
|
-
[vars$
|
5455
|
-
[vars$
|
5456
|
-
[vars$
|
5457
|
-
[vars$
|
5458
|
-
[vars$
|
5459
|
-
[vars$
|
5460
|
-
[vars$
|
5461
|
-
[vars$
|
5462
|
-
[vars$
|
5463
|
-
[vars$
|
5464
|
-
[vars$
|
5465
|
-
[vars$
|
5466
|
-
[vars$
|
5467
|
-
[vars$
|
5468
|
-
[vars$
|
5469
|
-
[vars$
|
5470
|
-
[vars$
|
5471
|
-
[vars$
|
5472
|
-
[vars$
|
5473
|
-
[vars$
|
5474
|
-
[vars$
|
5475
|
-
[vars$
|
5476
|
-
[vars$
|
5477
|
-
[vars$
|
5478
|
-
[vars$
|
5479
|
-
[vars$
|
5480
|
-
[vars$
|
5481
|
-
[vars$
|
5482
|
-
[vars$
|
5483
|
-
[vars$
|
5443
|
+
[vars$Z.hostWidth]: refs$1.width,
|
5444
|
+
[vars$Z.hostMinWidth]: refs$1.minWidth,
|
5445
|
+
[vars$Z.hostDirection]: refs$1.direction,
|
5446
|
+
[vars$Z.fontSize]: refs$1.fontSize,
|
5447
|
+
[vars$Z.fontFamily]: refs$1.fontFamily,
|
5448
|
+
[vars$Z.labelFontSize]: refs$1.labelFontSize,
|
5449
|
+
[vars$Z.labelFontWeight]: refs$1.labelFontWeight,
|
5450
|
+
[vars$Z.labelTextColor]: refs$1.labelTextColor,
|
5451
|
+
[vars$Z.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
5452
|
+
[vars$Z.inputHorizontalPadding]: refs$1.horizontalPadding,
|
5453
|
+
[vars$Z.inputHeight]: refs$1.inputHeight,
|
5454
|
+
[vars$Z.inputBackgroundColor]: refs$1.backgroundColor,
|
5455
|
+
[vars$Z.labelRequiredIndicator]: refs$1.requiredIndicator,
|
5456
|
+
[vars$Z.inputValueTextColor]: refs$1.valueTextColor,
|
5457
|
+
[vars$Z.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
5458
|
+
[vars$Z.inputBorderWidth]: refs$1.borderWidth,
|
5459
|
+
[vars$Z.inputBorderStyle]: refs$1.borderStyle,
|
5460
|
+
[vars$Z.inputBorderColor]: refs$1.borderColor,
|
5461
|
+
[vars$Z.inputBorderRadius]: refs$1.borderRadius,
|
5462
|
+
[vars$Z.inputOutlineWidth]: refs$1.outlineWidth,
|
5463
|
+
[vars$Z.inputOutlineStyle]: refs$1.outlineStyle,
|
5464
|
+
[vars$Z.inputOutlineColor]: refs$1.outlineColor,
|
5465
|
+
[vars$Z.inputOutlineOffset]: refs$1.outlineOffset,
|
5466
|
+
[vars$Z.revealButtonOffset]: globalRefs$D.spacing.md,
|
5467
|
+
[vars$Z.revealButtonSize]: refs$1.toggleButtonSize,
|
5468
|
+
[vars$Z.revealButtonColor]: refs$1.placeholderTextColor,
|
5469
|
+
[vars$Z.labelPosition]: refs$1.labelPosition,
|
5470
|
+
[vars$Z.labelTopPosition]: refs$1.labelTopPosition,
|
5471
|
+
[vars$Z.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
5472
|
+
[vars$Z.inputTransformY]: refs$1.inputTransformY,
|
5473
|
+
[vars$Z.inputTransition]: refs$1.inputTransition,
|
5474
|
+
[vars$Z.marginInlineStart]: refs$1.marginInlineStart,
|
5475
|
+
[vars$Z.placeholderOpacity]: refs$1.placeholderOpacity,
|
5476
|
+
[vars$Z.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
5477
|
+
[vars$Z.valueInputHeight]: refs$1.valueInputHeight,
|
5484
5478
|
|
5485
5479
|
// error message icon
|
5486
|
-
[vars$
|
5487
|
-
[vars$
|
5488
|
-
[vars$
|
5489
|
-
[vars$
|
5490
|
-
[vars$
|
5491
|
-
[vars$
|
5480
|
+
[vars$Z.errorMessageIcon]: refs$1.errorMessageIcon,
|
5481
|
+
[vars$Z.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
5482
|
+
[vars$Z.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
5483
|
+
[vars$Z.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
5484
|
+
[vars$Z.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
5485
|
+
[vars$Z.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
5492
5486
|
};
|
5493
5487
|
|
5494
5488
|
var password$1 = /*#__PURE__*/Object.freeze({
|
5495
5489
|
__proto__: null,
|
5496
5490
|
default: password,
|
5497
|
-
vars: vars$
|
5491
|
+
vars: vars$Z
|
5498
5492
|
});
|
5499
5493
|
|
5500
|
-
const componentName$
|
5494
|
+
const componentName$17 = getComponentName$1('number-field');
|
5501
5495
|
|
5502
5496
|
const NumberFieldClass = compose$1(
|
5503
5497
|
createStyleMixin({
|
@@ -5531,63 +5525,63 @@ const NumberFieldClass = compose$1(
|
|
5531
5525
|
}
|
5532
5526
|
`,
|
5533
5527
|
excludeAttrsSync: ['tabindex'],
|
5534
|
-
componentName: componentName$
|
5528
|
+
componentName: componentName$17,
|
5535
5529
|
})
|
5536
5530
|
);
|
5537
5531
|
|
5538
|
-
const vars$
|
5532
|
+
const vars$Y = NumberFieldClass.cssVarList;
|
5539
5533
|
|
5540
5534
|
const numberField = {
|
5541
|
-
[vars$
|
5542
|
-
[vars$
|
5543
|
-
[vars$
|
5544
|
-
[vars$
|
5545
|
-
[vars$
|
5546
|
-
[vars$
|
5547
|
-
[vars$
|
5548
|
-
[vars$
|
5549
|
-
[vars$
|
5550
|
-
[vars$
|
5551
|
-
[vars$
|
5552
|
-
[vars$
|
5553
|
-
[vars$
|
5554
|
-
[vars$
|
5555
|
-
[vars$
|
5556
|
-
[vars$
|
5557
|
-
[vars$
|
5558
|
-
[vars$
|
5559
|
-
[vars$
|
5560
|
-
[vars$
|
5561
|
-
[vars$
|
5562
|
-
[vars$
|
5563
|
-
[vars$
|
5564
|
-
[vars$
|
5565
|
-
[vars$
|
5566
|
-
[vars$
|
5567
|
-
[vars$
|
5568
|
-
[vars$
|
5569
|
-
[vars$
|
5570
|
-
[vars$
|
5571
|
-
[vars$
|
5572
|
-
[vars$
|
5573
|
-
[vars$
|
5535
|
+
[vars$Y.hostWidth]: refs$1.width,
|
5536
|
+
[vars$Y.hostMinWidth]: refs$1.minWidth,
|
5537
|
+
[vars$Y.hostDirection]: refs$1.direction,
|
5538
|
+
[vars$Y.fontSize]: refs$1.fontSize,
|
5539
|
+
[vars$Y.fontFamily]: refs$1.fontFamily,
|
5540
|
+
[vars$Y.labelFontSize]: refs$1.labelFontSize,
|
5541
|
+
[vars$Y.labelFontWeight]: refs$1.labelFontWeight,
|
5542
|
+
[vars$Y.labelTextColor]: refs$1.labelTextColor,
|
5543
|
+
[vars$Y.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
5544
|
+
[vars$Y.inputValueTextColor]: refs$1.valueTextColor,
|
5545
|
+
[vars$Y.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
5546
|
+
[vars$Y.inputBorderWidth]: refs$1.borderWidth,
|
5547
|
+
[vars$Y.inputBorderStyle]: refs$1.borderStyle,
|
5548
|
+
[vars$Y.inputBorderColor]: refs$1.borderColor,
|
5549
|
+
[vars$Y.inputBorderRadius]: refs$1.borderRadius,
|
5550
|
+
[vars$Y.inputOutlineWidth]: refs$1.outlineWidth,
|
5551
|
+
[vars$Y.inputOutlineStyle]: refs$1.outlineStyle,
|
5552
|
+
[vars$Y.inputOutlineColor]: refs$1.outlineColor,
|
5553
|
+
[vars$Y.inputOutlineOffset]: refs$1.outlineOffset,
|
5554
|
+
[vars$Y.inputBackgroundColor]: refs$1.backgroundColor,
|
5555
|
+
[vars$Y.labelRequiredIndicator]: refs$1.requiredIndicator,
|
5556
|
+
[vars$Y.inputHorizontalPadding]: refs$1.horizontalPadding,
|
5557
|
+
[vars$Y.inputHeight]: refs$1.inputHeight,
|
5558
|
+
[vars$Y.labelPosition]: refs$1.labelPosition,
|
5559
|
+
[vars$Y.labelTopPosition]: refs$1.labelTopPosition,
|
5560
|
+
[vars$Y.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
5561
|
+
[vars$Y.inputTransformY]: refs$1.inputTransformY,
|
5562
|
+
[vars$Y.inputTransition]: refs$1.inputTransition,
|
5563
|
+
[vars$Y.marginInlineStart]: refs$1.marginInlineStart,
|
5564
|
+
[vars$Y.placeholderOpacity]: refs$1.placeholderOpacity,
|
5565
|
+
[vars$Y.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
5566
|
+
[vars$Y.valueInputHeight]: refs$1.valueInputHeight,
|
5567
|
+
[vars$Y.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
5574
5568
|
|
5575
5569
|
// error message icon
|
5576
|
-
[vars$
|
5577
|
-
[vars$
|
5578
|
-
[vars$
|
5579
|
-
[vars$
|
5580
|
-
[vars$
|
5581
|
-
[vars$
|
5570
|
+
[vars$Y.errorMessageIcon]: refs$1.errorMessageIcon,
|
5571
|
+
[vars$Y.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
5572
|
+
[vars$Y.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
5573
|
+
[vars$Y.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
5574
|
+
[vars$Y.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
5575
|
+
[vars$Y.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
5582
5576
|
};
|
5583
5577
|
|
5584
5578
|
var numberField$1 = /*#__PURE__*/Object.freeze({
|
5585
5579
|
__proto__: null,
|
5586
5580
|
default: numberField,
|
5587
|
-
vars: vars$
|
5581
|
+
vars: vars$Y
|
5588
5582
|
});
|
5589
5583
|
|
5590
|
-
const componentName$
|
5584
|
+
const componentName$16 = getComponentName$1('email-field');
|
5591
5585
|
|
5592
5586
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
5593
5587
|
const defaultAutocomplete = 'username';
|
@@ -5656,63 +5650,63 @@ const EmailFieldClass = compose$1(
|
|
5656
5650
|
}
|
5657
5651
|
`,
|
5658
5652
|
excludeAttrsSync: ['tabindex'],
|
5659
|
-
componentName: componentName$
|
5653
|
+
componentName: componentName$16,
|
5660
5654
|
})
|
5661
5655
|
);
|
5662
5656
|
|
5663
|
-
const vars$
|
5657
|
+
const vars$X = EmailFieldClass.cssVarList;
|
5664
5658
|
|
5665
5659
|
const emailField = {
|
5666
|
-
[vars$
|
5667
|
-
[vars$
|
5668
|
-
[vars$
|
5669
|
-
[vars$
|
5670
|
-
[vars$
|
5671
|
-
[vars$
|
5672
|
-
[vars$
|
5673
|
-
[vars$
|
5674
|
-
[vars$
|
5675
|
-
[vars$
|
5676
|
-
[vars$
|
5677
|
-
[vars$
|
5678
|
-
[vars$
|
5679
|
-
[vars$
|
5680
|
-
[vars$
|
5681
|
-
[vars$
|
5682
|
-
[vars$
|
5683
|
-
[vars$
|
5684
|
-
[vars$
|
5685
|
-
[vars$
|
5686
|
-
[vars$
|
5687
|
-
[vars$
|
5688
|
-
[vars$
|
5689
|
-
[vars$
|
5690
|
-
[vars$
|
5691
|
-
[vars$
|
5692
|
-
[vars$
|
5693
|
-
[vars$
|
5694
|
-
[vars$
|
5695
|
-
[vars$
|
5696
|
-
[vars$
|
5697
|
-
[vars$
|
5698
|
-
[vars$
|
5660
|
+
[vars$X.hostWidth]: refs$1.width,
|
5661
|
+
[vars$X.hostMinWidth]: refs$1.minWidth,
|
5662
|
+
[vars$X.hostDirection]: refs$1.direction,
|
5663
|
+
[vars$X.fontSize]: refs$1.fontSize,
|
5664
|
+
[vars$X.fontFamily]: refs$1.fontFamily,
|
5665
|
+
[vars$X.labelFontSize]: refs$1.labelFontSize,
|
5666
|
+
[vars$X.labelFontWeight]: refs$1.labelFontWeight,
|
5667
|
+
[vars$X.labelTextColor]: refs$1.labelTextColor,
|
5668
|
+
[vars$X.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
5669
|
+
[vars$X.inputValueTextColor]: refs$1.valueTextColor,
|
5670
|
+
[vars$X.labelRequiredIndicator]: refs$1.requiredIndicator,
|
5671
|
+
[vars$X.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
5672
|
+
[vars$X.inputBorderWidth]: refs$1.borderWidth,
|
5673
|
+
[vars$X.inputBorderStyle]: refs$1.borderStyle,
|
5674
|
+
[vars$X.inputBorderColor]: refs$1.borderColor,
|
5675
|
+
[vars$X.inputBorderRadius]: refs$1.borderRadius,
|
5676
|
+
[vars$X.inputOutlineWidth]: refs$1.outlineWidth,
|
5677
|
+
[vars$X.inputOutlineStyle]: refs$1.outlineStyle,
|
5678
|
+
[vars$X.inputOutlineColor]: refs$1.outlineColor,
|
5679
|
+
[vars$X.inputOutlineOffset]: refs$1.outlineOffset,
|
5680
|
+
[vars$X.inputBackgroundColor]: refs$1.backgroundColor,
|
5681
|
+
[vars$X.inputHorizontalPadding]: refs$1.horizontalPadding,
|
5682
|
+
[vars$X.inputHeight]: refs$1.inputHeight,
|
5683
|
+
[vars$X.labelPosition]: refs$1.labelPosition,
|
5684
|
+
[vars$X.labelTopPosition]: refs$1.labelTopPosition,
|
5685
|
+
[vars$X.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
5686
|
+
[vars$X.inputTransformY]: refs$1.inputTransformY,
|
5687
|
+
[vars$X.inputTransition]: refs$1.inputTransition,
|
5688
|
+
[vars$X.marginInlineStart]: refs$1.marginInlineStart,
|
5689
|
+
[vars$X.placeholderOpacity]: refs$1.placeholderOpacity,
|
5690
|
+
[vars$X.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
5691
|
+
[vars$X.valueInputHeight]: refs$1.valueInputHeight,
|
5692
|
+
[vars$X.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
5699
5693
|
|
5700
5694
|
// error message icon
|
5701
|
-
[vars$
|
5702
|
-
[vars$
|
5703
|
-
[vars$
|
5704
|
-
[vars$
|
5705
|
-
[vars$
|
5706
|
-
[vars$
|
5695
|
+
[vars$X.errorMessageIcon]: refs$1.errorMessageIcon,
|
5696
|
+
[vars$X.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
5697
|
+
[vars$X.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
5698
|
+
[vars$X.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
5699
|
+
[vars$X.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
5700
|
+
[vars$X.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
5707
5701
|
};
|
5708
5702
|
|
5709
5703
|
var emailField$1 = /*#__PURE__*/Object.freeze({
|
5710
5704
|
__proto__: null,
|
5711
5705
|
default: emailField,
|
5712
|
-
vars: vars$
|
5706
|
+
vars: vars$X
|
5713
5707
|
});
|
5714
5708
|
|
5715
|
-
const componentName$
|
5709
|
+
const componentName$15 = getComponentName$1('text-area');
|
5716
5710
|
|
5717
5711
|
const {
|
5718
5712
|
host: host$q,
|
@@ -5794,58 +5788,58 @@ const TextAreaClass = compose$1(
|
|
5794
5788
|
${resetInputCursor('vaadin-text-area')}
|
5795
5789
|
`,
|
5796
5790
|
excludeAttrsSync: ['tabindex'],
|
5797
|
-
componentName: componentName$
|
5791
|
+
componentName: componentName$15,
|
5798
5792
|
})
|
5799
5793
|
);
|
5800
5794
|
|
5801
|
-
const vars$
|
5795
|
+
const vars$W = TextAreaClass.cssVarList;
|
5802
5796
|
|
5803
5797
|
const textArea = {
|
5804
|
-
[vars$
|
5805
|
-
[vars$
|
5806
|
-
[vars$
|
5807
|
-
[vars$
|
5808
|
-
[vars$
|
5809
|
-
[vars$
|
5810
|
-
[vars$
|
5811
|
-
[vars$
|
5812
|
-
[vars$
|
5813
|
-
[vars$
|
5814
|
-
[vars$
|
5815
|
-
[vars$
|
5816
|
-
[vars$
|
5817
|
-
[vars$
|
5818
|
-
[vars$
|
5819
|
-
[vars$
|
5820
|
-
[vars$
|
5821
|
-
[vars$
|
5822
|
-
[vars$
|
5823
|
-
[vars$
|
5824
|
-
[vars$
|
5798
|
+
[vars$W.hostWidth]: refs$1.width,
|
5799
|
+
[vars$W.hostMinWidth]: refs$1.minWidth,
|
5800
|
+
[vars$W.hostDirection]: refs$1.direction,
|
5801
|
+
[vars$W.fontSize]: refs$1.fontSize,
|
5802
|
+
[vars$W.fontFamily]: refs$1.fontFamily,
|
5803
|
+
[vars$W.labelTextColor]: refs$1.labelTextColor,
|
5804
|
+
[vars$W.labelRequiredIndicator]: refs$1.requiredIndicator,
|
5805
|
+
[vars$W.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
5806
|
+
[vars$W.inputBackgroundColor]: refs$1.backgroundColor,
|
5807
|
+
[vars$W.inputValueTextColor]: refs$1.valueTextColor,
|
5808
|
+
[vars$W.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
5809
|
+
[vars$W.inputBorderRadius]: refs$1.borderRadius,
|
5810
|
+
[vars$W.inputBorderWidth]: refs$1.borderWidth,
|
5811
|
+
[vars$W.inputBorderStyle]: refs$1.borderStyle,
|
5812
|
+
[vars$W.inputBorderColor]: refs$1.borderColor,
|
5813
|
+
[vars$W.inputOutlineWidth]: refs$1.outlineWidth,
|
5814
|
+
[vars$W.inputOutlineStyle]: refs$1.outlineStyle,
|
5815
|
+
[vars$W.inputOutlineColor]: refs$1.outlineColor,
|
5816
|
+
[vars$W.inputOutlineOffset]: refs$1.outlineOffset,
|
5817
|
+
[vars$W.inputResizeType]: 'vertical',
|
5818
|
+
[vars$W.inputMinHeight]: '5em',
|
5825
5819
|
|
5826
5820
|
// error message icon
|
5827
|
-
[vars$
|
5828
|
-
[vars$
|
5829
|
-
[vars$
|
5830
|
-
[vars$
|
5831
|
-
[vars$
|
5832
|
-
[vars$
|
5821
|
+
[vars$W.errorMessageIcon]: refs$1.errorMessageIcon,
|
5822
|
+
[vars$W.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
5823
|
+
[vars$W.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
5824
|
+
[vars$W.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
5825
|
+
[vars$W.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
5826
|
+
[vars$W.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
5833
5827
|
|
5834
5828
|
textAlign: {
|
5835
|
-
right: { [vars$
|
5836
|
-
left: { [vars$
|
5837
|
-
center: { [vars$
|
5829
|
+
right: { [vars$W.inputTextAlign]: 'right' },
|
5830
|
+
left: { [vars$W.inputTextAlign]: 'left' },
|
5831
|
+
center: { [vars$W.inputTextAlign]: 'center' },
|
5838
5832
|
},
|
5839
5833
|
|
5840
5834
|
_readonly: {
|
5841
|
-
[vars$
|
5835
|
+
[vars$W.inputResizeType]: 'none',
|
5842
5836
|
},
|
5843
5837
|
};
|
5844
5838
|
|
5845
5839
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
5846
5840
|
__proto__: null,
|
5847
5841
|
default: textArea,
|
5848
|
-
vars: vars$
|
5842
|
+
vars: vars$W
|
5849
5843
|
});
|
5850
5844
|
|
5851
5845
|
const createBaseInputClass = (...args) =>
|
@@ -5856,9 +5850,9 @@ const createBaseInputClass = (...args) =>
|
|
5856
5850
|
inputEventsDispatchingMixin
|
5857
5851
|
)(createBaseClass(...args));
|
5858
5852
|
|
5859
|
-
const componentName$
|
5853
|
+
const componentName$14 = getComponentName$1('boolean-field-internal');
|
5860
5854
|
|
5861
|
-
createBaseInputClass({ componentName: componentName$
|
5855
|
+
createBaseInputClass({ componentName: componentName$14, baseSelector: 'div' });
|
5862
5856
|
|
5863
5857
|
const booleanFieldMixin = (superclass) =>
|
5864
5858
|
class BooleanFieldMixinClass extends superclass {
|
@@ -5867,14 +5861,14 @@ const booleanFieldMixin = (superclass) =>
|
|
5867
5861
|
|
5868
5862
|
const template = document.createElement('template');
|
5869
5863
|
template.innerHTML = `
|
5870
|
-
<${componentName$
|
5864
|
+
<${componentName$14}
|
5871
5865
|
tabindex="-1"
|
5872
5866
|
slot="input"
|
5873
|
-
></${componentName$
|
5867
|
+
></${componentName$14}>
|
5874
5868
|
`;
|
5875
5869
|
|
5876
5870
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5877
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5871
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$14);
|
5878
5872
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
5879
5873
|
|
5880
5874
|
forwardAttrs$1(this, this.inputElement, {
|
@@ -5943,7 +5937,7 @@ descope-boolean-field-internal {
|
|
5943
5937
|
}
|
5944
5938
|
`;
|
5945
5939
|
|
5946
|
-
const componentName$
|
5940
|
+
const componentName$13 = getComponentName$1('checkbox');
|
5947
5941
|
|
5948
5942
|
const {
|
5949
5943
|
host: host$p,
|
@@ -6061,52 +6055,52 @@ const CheckboxClass = compose$1(
|
|
6061
6055
|
}
|
6062
6056
|
`,
|
6063
6057
|
excludeAttrsSync: ['label', 'tabindex'],
|
6064
|
-
componentName: componentName$
|
6058
|
+
componentName: componentName$13,
|
6065
6059
|
})
|
6066
6060
|
);
|
6067
6061
|
|
6068
|
-
const vars$
|
6062
|
+
const vars$V = CheckboxClass.cssVarList;
|
6069
6063
|
const checkboxSize = '1.35em';
|
6070
6064
|
|
6071
6065
|
const checkbox = {
|
6072
|
-
[vars$
|
6073
|
-
[vars$
|
6074
|
-
[vars$
|
6075
|
-
[vars$
|
6076
|
-
[vars$
|
6077
|
-
[vars$
|
6078
|
-
[vars$
|
6079
|
-
[vars$
|
6080
|
-
[vars$
|
6081
|
-
[vars$
|
6082
|
-
[vars$
|
6083
|
-
[vars$
|
6084
|
-
[vars$
|
6085
|
-
[vars$
|
6086
|
-
[vars$
|
6087
|
-
[vars$
|
6088
|
-
[vars$
|
6089
|
-
[vars$
|
6090
|
-
[vars$
|
6091
|
-
[vars$
|
6092
|
-
[vars$
|
6066
|
+
[vars$V.hostWidth]: refs$1.width,
|
6067
|
+
[vars$V.hostDirection]: refs$1.direction,
|
6068
|
+
[vars$V.fontSize]: refs$1.fontSize,
|
6069
|
+
[vars$V.fontFamily]: refs$1.fontFamily,
|
6070
|
+
[vars$V.labelTextColor]: refs$1.labelTextColor,
|
6071
|
+
[vars$V.labelRequiredIndicator]: refs$1.requiredIndicator,
|
6072
|
+
[vars$V.labelFontWeight]: '400',
|
6073
|
+
[vars$V.labelLineHeight]: checkboxSize,
|
6074
|
+
[vars$V.labelSpacing]: '1em',
|
6075
|
+
[vars$V.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
6076
|
+
[vars$V.inputOutlineWidth]: refs$1.outlineWidth,
|
6077
|
+
[vars$V.inputOutlineOffset]: refs$1.outlineOffset,
|
6078
|
+
[vars$V.inputOutlineColor]: refs$1.outlineColor,
|
6079
|
+
[vars$V.inputOutlineStyle]: refs$1.outlineStyle,
|
6080
|
+
[vars$V.inputBorderRadius]: refs$1.borderRadius,
|
6081
|
+
[vars$V.inputBorderColor]: refs$1.borderColor,
|
6082
|
+
[vars$V.inputBorderWidth]: refs$1.borderWidth,
|
6083
|
+
[vars$V.inputBorderStyle]: refs$1.borderStyle,
|
6084
|
+
[vars$V.inputBackgroundColor]: refs$1.backgroundColor,
|
6085
|
+
[vars$V.inputSize]: checkboxSize,
|
6086
|
+
[vars$V.inputValueTextColor]: refs$1.valueTextColor,
|
6093
6087
|
|
6094
6088
|
// error message icon
|
6095
|
-
[vars$
|
6096
|
-
[vars$
|
6097
|
-
[vars$
|
6098
|
-
[vars$
|
6099
|
-
[vars$
|
6100
|
-
[vars$
|
6089
|
+
[vars$V.errorMessageIcon]: refs$1.errorMessageIcon,
|
6090
|
+
[vars$V.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
6091
|
+
[vars$V.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
6092
|
+
[vars$V.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
6093
|
+
[vars$V.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
6094
|
+
[vars$V.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
6101
6095
|
};
|
6102
6096
|
|
6103
6097
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
6104
6098
|
__proto__: null,
|
6105
6099
|
default: checkbox,
|
6106
|
-
vars: vars$
|
6100
|
+
vars: vars$V
|
6107
6101
|
});
|
6108
6102
|
|
6109
|
-
const componentName$
|
6103
|
+
const componentName$12 = getComponentName$1('switch-toggle');
|
6110
6104
|
|
6111
6105
|
const {
|
6112
6106
|
host: host$o,
|
@@ -6245,7 +6239,7 @@ const SwitchToggleClass = compose$1(
|
|
6245
6239
|
}
|
6246
6240
|
`,
|
6247
6241
|
excludeAttrsSync: ['label', 'tabindex'],
|
6248
|
-
componentName: componentName$
|
6242
|
+
componentName: componentName$12,
|
6249
6243
|
})
|
6250
6244
|
);
|
6251
6245
|
|
@@ -6253,82 +6247,82 @@ const knobMargin = '2px';
|
|
6253
6247
|
const checkboxHeight = '1.25em';
|
6254
6248
|
|
6255
6249
|
const globalRefs$C = getThemeRefs(globals$1);
|
6256
|
-
const vars$
|
6250
|
+
const vars$U = SwitchToggleClass.cssVarList;
|
6257
6251
|
|
6258
6252
|
const switchToggle = {
|
6259
|
-
[vars$
|
6260
|
-
[vars$
|
6261
|
-
[vars$
|
6262
|
-
[vars$
|
6263
|
-
|
6264
|
-
[vars$
|
6265
|
-
[vars$
|
6266
|
-
[vars$
|
6267
|
-
[vars$
|
6268
|
-
|
6269
|
-
[vars$
|
6270
|
-
[vars$
|
6271
|
-
[vars$
|
6272
|
-
[vars$
|
6273
|
-
[vars$
|
6274
|
-
[vars$
|
6275
|
-
[vars$
|
6276
|
-
|
6277
|
-
[vars$
|
6278
|
-
[vars$
|
6279
|
-
[vars$
|
6280
|
-
[vars$
|
6281
|
-
[vars$
|
6282
|
-
[vars$
|
6283
|
-
|
6284
|
-
[vars$
|
6285
|
-
[vars$
|
6286
|
-
[vars$
|
6287
|
-
[vars$
|
6288
|
-
[vars$
|
6289
|
-
[vars$
|
6253
|
+
[vars$U.hostWidth]: refs$1.width,
|
6254
|
+
[vars$U.hostDirection]: refs$1.direction,
|
6255
|
+
[vars$U.fontSize]: refs$1.fontSize,
|
6256
|
+
[vars$U.fontFamily]: refs$1.fontFamily,
|
6257
|
+
|
6258
|
+
[vars$U.inputOutlineWidth]: refs$1.outlineWidth,
|
6259
|
+
[vars$U.inputOutlineOffset]: refs$1.outlineOffset,
|
6260
|
+
[vars$U.inputOutlineColor]: refs$1.outlineColor,
|
6261
|
+
[vars$U.inputOutlineStyle]: refs$1.outlineStyle,
|
6262
|
+
|
6263
|
+
[vars$U.trackBorderStyle]: refs$1.borderStyle,
|
6264
|
+
[vars$U.trackBorderWidth]: refs$1.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
6265
|
+
[vars$U.trackBorderColor]: refs$1.borderColor,
|
6266
|
+
[vars$U.trackBackgroundColor]: refs$1.backgroundColor,
|
6267
|
+
[vars$U.trackBorderRadius]: globalRefs$C.radius.md,
|
6268
|
+
[vars$U.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
6269
|
+
[vars$U.trackHeight]: checkboxHeight,
|
6270
|
+
|
6271
|
+
[vars$U.knobSize]: `calc(1em - ${knobMargin})`,
|
6272
|
+
[vars$U.knobRadius]: '50%',
|
6273
|
+
[vars$U.knobTopOffset]: '1px',
|
6274
|
+
[vars$U.knobLeftOffset]: knobMargin,
|
6275
|
+
[vars$U.knobColor]: refs$1.labelTextColor,
|
6276
|
+
[vars$U.knobTransitionDuration]: '0.3s',
|
6277
|
+
|
6278
|
+
[vars$U.labelTextColor]: refs$1.labelTextColor,
|
6279
|
+
[vars$U.labelFontWeight]: '400',
|
6280
|
+
[vars$U.labelLineHeight]: '1.35em',
|
6281
|
+
[vars$U.labelSpacing]: '1em',
|
6282
|
+
[vars$U.labelRequiredIndicator]: refs$1.requiredIndicator,
|
6283
|
+
[vars$U.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
6290
6284
|
|
6291
6285
|
// error message icon
|
6292
|
-
[vars$
|
6293
|
-
[vars$
|
6294
|
-
[vars$
|
6295
|
-
[vars$
|
6296
|
-
[vars$
|
6297
|
-
[vars$
|
6286
|
+
[vars$U.errorMessageIcon]: refs$1.errorMessageIcon,
|
6287
|
+
[vars$U.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
6288
|
+
[vars$U.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
6289
|
+
[vars$U.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
6290
|
+
[vars$U.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
6291
|
+
[vars$U.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
6298
6292
|
|
6299
6293
|
_checked: {
|
6300
|
-
[vars$
|
6301
|
-
[vars$
|
6302
|
-
[vars$
|
6303
|
-
[vars$
|
6294
|
+
[vars$U.trackBorderColor]: refs$1.borderColor,
|
6295
|
+
[vars$U.knobLeftOffset]: `calc(100% - var(${vars$U.knobSize}) - ${knobMargin})`,
|
6296
|
+
[vars$U.knobColor]: refs$1.valueTextColor,
|
6297
|
+
[vars$U.knobTextColor]: refs$1.valueTextColor,
|
6304
6298
|
},
|
6305
6299
|
|
6306
6300
|
_disabled: {
|
6307
|
-
[vars$
|
6308
|
-
[vars$
|
6309
|
-
[vars$
|
6310
|
-
[vars$
|
6301
|
+
[vars$U.knobColor]: globalRefs$C.colors.surface.light,
|
6302
|
+
[vars$U.trackBorderColor]: globalRefs$C.colors.surface.light,
|
6303
|
+
[vars$U.trackBackgroundColor]: globalRefs$C.colors.surface.main,
|
6304
|
+
[vars$U.labelTextColor]: refs$1.labelTextColor,
|
6311
6305
|
_checked: {
|
6312
|
-
[vars$
|
6313
|
-
[vars$
|
6306
|
+
[vars$U.knobColor]: globalRefs$C.colors.surface.light,
|
6307
|
+
[vars$U.trackBackgroundColor]: globalRefs$C.colors.surface.main,
|
6314
6308
|
},
|
6315
6309
|
},
|
6316
6310
|
|
6317
6311
|
_invalid: {
|
6318
|
-
[vars$
|
6319
|
-
[vars$
|
6312
|
+
[vars$U.trackBorderColor]: globalRefs$C.colors.error.main,
|
6313
|
+
[vars$U.knobColor]: globalRefs$C.colors.error.main,
|
6320
6314
|
},
|
6321
6315
|
};
|
6322
6316
|
|
6323
6317
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
6324
6318
|
__proto__: null,
|
6325
6319
|
default: switchToggle,
|
6326
|
-
vars: vars$
|
6320
|
+
vars: vars$U
|
6327
6321
|
});
|
6328
6322
|
|
6329
|
-
const componentName$
|
6323
|
+
const componentName$11 = getComponentName$1('container');
|
6330
6324
|
|
6331
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
6325
|
+
class RawContainer extends createBaseClass({ componentName: componentName$11, baseSelector: 'slot' }) {
|
6332
6326
|
constructor() {
|
6333
6327
|
super();
|
6334
6328
|
|
@@ -6413,7 +6407,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars(
|
|
6413
6407
|
horizontalAlignment,
|
6414
6408
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
6415
6409
|
},
|
6416
|
-
componentName$
|
6410
|
+
componentName$11
|
6417
6411
|
);
|
6418
6412
|
|
6419
6413
|
const { shadowColor: shadowColor$4 } = helperRefs$4;
|
@@ -6508,7 +6502,7 @@ const container = {
|
|
6508
6502
|
},
|
6509
6503
|
};
|
6510
6504
|
|
6511
|
-
const vars$
|
6505
|
+
const vars$T = {
|
6512
6506
|
...compVars$7,
|
6513
6507
|
...helperVars$4,
|
6514
6508
|
};
|
@@ -6516,7 +6510,7 @@ const vars$S = {
|
|
6516
6510
|
var container$1 = /*#__PURE__*/Object.freeze({
|
6517
6511
|
__proto__: null,
|
6518
6512
|
default: container,
|
6519
|
-
vars: vars$
|
6513
|
+
vars: vars$T
|
6520
6514
|
});
|
6521
6515
|
|
6522
6516
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
@@ -6573,70 +6567,70 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
6573
6567
|
return CssVarImageClass;
|
6574
6568
|
};
|
6575
6569
|
|
6576
|
-
const componentName
|
6570
|
+
const componentName$10 = getComponentName$1('logo');
|
6577
6571
|
|
6578
6572
|
const LogoClass = createCssVarImageClass({
|
6579
|
-
componentName: componentName
|
6573
|
+
componentName: componentName$10,
|
6580
6574
|
varName: 'url',
|
6581
6575
|
fallbackVarName: 'fallbackUrl',
|
6582
6576
|
});
|
6583
6577
|
|
6584
|
-
const vars$
|
6578
|
+
const vars$S = LogoClass.cssVarList;
|
6585
6579
|
|
6586
6580
|
const logo$2 = {
|
6587
|
-
[vars$
|
6581
|
+
[vars$S.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
6588
6582
|
};
|
6589
6583
|
|
6590
6584
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
6591
6585
|
__proto__: null,
|
6592
6586
|
default: logo$2,
|
6593
|
-
vars: vars$
|
6587
|
+
vars: vars$S
|
6594
6588
|
});
|
6595
6589
|
|
6596
|
-
const componentName
|
6590
|
+
const componentName$$ = getComponentName$1('totp-image');
|
6597
6591
|
|
6598
6592
|
const TotpImageClass = createCssVarImageClass({
|
6599
|
-
componentName: componentName
|
6593
|
+
componentName: componentName$$,
|
6600
6594
|
varName: 'url',
|
6601
6595
|
fallbackVarName: 'fallbackUrl',
|
6602
6596
|
});
|
6603
6597
|
|
6604
|
-
const vars$
|
6598
|
+
const vars$R = TotpImageClass.cssVarList;
|
6605
6599
|
|
6606
6600
|
const logo$1 = {
|
6607
|
-
[vars$
|
6601
|
+
[vars$R.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
6608
6602
|
};
|
6609
6603
|
|
6610
6604
|
var totpImage = /*#__PURE__*/Object.freeze({
|
6611
6605
|
__proto__: null,
|
6612
6606
|
default: logo$1,
|
6613
|
-
vars: vars$
|
6607
|
+
vars: vars$R
|
6614
6608
|
});
|
6615
6609
|
|
6616
|
-
const componentName$
|
6610
|
+
const componentName$_ = getComponentName$1('notp-image');
|
6617
6611
|
|
6618
6612
|
const NotpImageClass = createCssVarImageClass({
|
6619
|
-
componentName: componentName$
|
6613
|
+
componentName: componentName$_,
|
6620
6614
|
varName: 'url',
|
6621
6615
|
fallbackVarName: 'fallbackUrl',
|
6622
6616
|
});
|
6623
6617
|
|
6624
|
-
const vars$
|
6618
|
+
const vars$Q = NotpImageClass.cssVarList;
|
6625
6619
|
|
6626
6620
|
const logo = {
|
6627
|
-
[vars$
|
6621
|
+
[vars$Q.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
6628
6622
|
};
|
6629
6623
|
|
6630
6624
|
var notpImage = /*#__PURE__*/Object.freeze({
|
6631
6625
|
__proto__: null,
|
6632
6626
|
default: logo,
|
6633
|
-
vars: vars$
|
6627
|
+
vars: vars$Q
|
6634
6628
|
});
|
6635
6629
|
|
6636
|
-
const componentName$
|
6630
|
+
const componentName$Z = getComponentName('text');
|
6637
6631
|
|
6638
6632
|
class RawText extends createBaseClass$1({
|
6639
|
-
componentName: componentName$
|
6633
|
+
componentName: componentName$Z,
|
6640
6634
|
baseSelector: ':host > slot',
|
6641
6635
|
}) {
|
6642
6636
|
constructor() {
|
@@ -6699,106 +6693,106 @@ const TextClass = compose(
|
|
6699
6693
|
)(RawText);
|
6700
6694
|
|
6701
6695
|
const globalRefs$A = getThemeRefs$1(globals);
|
6702
|
-
const vars$
|
6696
|
+
const vars$P = TextClass.cssVarList;
|
6703
6697
|
|
6704
6698
|
const text$3 = {
|
6705
|
-
[vars$
|
6706
|
-
[vars$
|
6707
|
-
[vars$
|
6708
|
-
[vars$
|
6699
|
+
[vars$P.hostDirection]: globalRefs$A.direction,
|
6700
|
+
[vars$P.textLineHeight]: '1.35em',
|
6701
|
+
[vars$P.textAlign]: 'left',
|
6702
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.dark,
|
6709
6703
|
|
6710
6704
|
variant: {
|
6711
6705
|
h1: {
|
6712
|
-
[vars$
|
6713
|
-
[vars$
|
6714
|
-
[vars$
|
6706
|
+
[vars$P.fontSize]: globalRefs$A.typography.h1.size,
|
6707
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h1.weight,
|
6708
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h1.font,
|
6715
6709
|
},
|
6716
6710
|
h2: {
|
6717
|
-
[vars$
|
6718
|
-
[vars$
|
6719
|
-
[vars$
|
6711
|
+
[vars$P.fontSize]: globalRefs$A.typography.h2.size,
|
6712
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h2.weight,
|
6713
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h2.font,
|
6720
6714
|
},
|
6721
6715
|
h3: {
|
6722
|
-
[vars$
|
6723
|
-
[vars$
|
6724
|
-
[vars$
|
6716
|
+
[vars$P.fontSize]: globalRefs$A.typography.h3.size,
|
6717
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h3.weight,
|
6718
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h3.font,
|
6725
6719
|
},
|
6726
6720
|
subtitle1: {
|
6727
|
-
[vars$
|
6728
|
-
[vars$
|
6729
|
-
[vars$
|
6721
|
+
[vars$P.fontSize]: globalRefs$A.typography.subtitle1.size,
|
6722
|
+
[vars$P.fontWeight]: globalRefs$A.typography.subtitle1.weight,
|
6723
|
+
[vars$P.fontFamily]: globalRefs$A.typography.subtitle1.font,
|
6730
6724
|
},
|
6731
6725
|
subtitle2: {
|
6732
|
-
[vars$
|
6733
|
-
[vars$
|
6734
|
-
[vars$
|
6726
|
+
[vars$P.fontSize]: globalRefs$A.typography.subtitle2.size,
|
6727
|
+
[vars$P.fontWeight]: globalRefs$A.typography.subtitle2.weight,
|
6728
|
+
[vars$P.fontFamily]: globalRefs$A.typography.subtitle2.font,
|
6735
6729
|
},
|
6736
6730
|
body1: {
|
6737
|
-
[vars$
|
6738
|
-
[vars$
|
6739
|
-
[vars$
|
6731
|
+
[vars$P.fontSize]: globalRefs$A.typography.body1.size,
|
6732
|
+
[vars$P.fontWeight]: globalRefs$A.typography.body1.weight,
|
6733
|
+
[vars$P.fontFamily]: globalRefs$A.typography.body1.font,
|
6740
6734
|
},
|
6741
6735
|
body2: {
|
6742
|
-
[vars$
|
6743
|
-
[vars$
|
6744
|
-
[vars$
|
6736
|
+
[vars$P.fontSize]: globalRefs$A.typography.body2.size,
|
6737
|
+
[vars$P.fontWeight]: globalRefs$A.typography.body2.weight,
|
6738
|
+
[vars$P.fontFamily]: globalRefs$A.typography.body2.font,
|
6745
6739
|
},
|
6746
6740
|
},
|
6747
6741
|
|
6748
6742
|
mode: {
|
6749
6743
|
primary: {
|
6750
|
-
[vars$
|
6744
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.contrast,
|
6751
6745
|
},
|
6752
6746
|
secondary: {
|
6753
|
-
[vars$
|
6747
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.dark,
|
6754
6748
|
},
|
6755
6749
|
error: {
|
6756
|
-
[vars$
|
6750
|
+
[vars$P.textColor]: globalRefs$A.colors.error.main,
|
6757
6751
|
},
|
6758
6752
|
'error-dark': {
|
6759
|
-
[vars$
|
6753
|
+
[vars$P.textColor]: globalRefs$A.colors.error.dark,
|
6760
6754
|
},
|
6761
6755
|
success: {
|
6762
|
-
[vars$
|
6756
|
+
[vars$P.textColor]: globalRefs$A.colors.success.main,
|
6763
6757
|
},
|
6764
6758
|
'success-dark': {
|
6765
|
-
[vars$
|
6759
|
+
[vars$P.textColor]: globalRefs$A.colors.success.dark,
|
6766
6760
|
},
|
6767
6761
|
warning: {
|
6768
|
-
[vars$
|
6762
|
+
[vars$P.textColor]: globalRefs$A.colors.warning.main,
|
6769
6763
|
},
|
6770
6764
|
'warning-dark': {
|
6771
|
-
[vars$
|
6765
|
+
[vars$P.textColor]: globalRefs$A.colors.warning.dark,
|
6772
6766
|
},
|
6773
6767
|
},
|
6774
6768
|
|
6775
6769
|
textAlign: {
|
6776
|
-
right: { [vars$
|
6777
|
-
left: { [vars$
|
6778
|
-
center: { [vars$
|
6770
|
+
right: { [vars$P.textAlign]: 'right' },
|
6771
|
+
left: { [vars$P.textAlign]: 'left' },
|
6772
|
+
center: { [vars$P.textAlign]: 'center' },
|
6779
6773
|
},
|
6780
6774
|
|
6781
6775
|
_fullWidth: {
|
6782
|
-
[vars$
|
6776
|
+
[vars$P.hostWidth]: '100%',
|
6783
6777
|
},
|
6784
6778
|
|
6785
6779
|
_italic: {
|
6786
|
-
[vars$
|
6780
|
+
[vars$P.fontStyle]: 'italic',
|
6787
6781
|
},
|
6788
6782
|
|
6789
6783
|
_uppercase: {
|
6790
|
-
[vars$
|
6784
|
+
[vars$P.textTransform]: 'uppercase',
|
6791
6785
|
},
|
6792
6786
|
|
6793
6787
|
_lowercase: {
|
6794
|
-
[vars$
|
6788
|
+
[vars$P.textTransform]: 'lowercase',
|
6795
6789
|
},
|
6796
6790
|
};
|
6797
6791
|
|
6798
6792
|
var text$4 = /*#__PURE__*/Object.freeze({
|
6799
6793
|
__proto__: null,
|
6800
6794
|
default: text$3,
|
6801
|
-
vars: vars$
|
6795
|
+
vars: vars$P
|
6802
6796
|
});
|
6803
6797
|
|
6804
6798
|
const disableRules = [
|
@@ -6825,9 +6819,9 @@ const decodeHTML = (html) => {
|
|
6825
6819
|
/* eslint-disable no-param-reassign */
|
6826
6820
|
|
6827
6821
|
|
6828
|
-
const componentName$
|
6822
|
+
const componentName$Y = getComponentName('enriched-text');
|
6829
6823
|
|
6830
|
-
class EnrichedText extends createBaseClass$1({ componentName: componentName$
|
6824
|
+
class EnrichedText extends createBaseClass$1({ componentName: componentName$Y, baseSelector: ':host > div' }) {
|
6831
6825
|
#origLinkRenderer;
|
6832
6826
|
|
6833
6827
|
#origEmRenderer;
|
@@ -7024,9 +7018,9 @@ const EnrichedTextClass = compose(
|
|
7024
7018
|
componentNameValidationMixin$1
|
7025
7019
|
)(EnrichedText);
|
7026
7020
|
|
7027
|
-
const componentName$
|
7021
|
+
const componentName$X = getComponentName('link');
|
7028
7022
|
|
7029
|
-
class RawLink extends createBaseClass$1({ componentName: componentName$
|
7023
|
+
class RawLink extends createBaseClass$1({ componentName: componentName$X, baseSelector: ':host a' }) {
|
7030
7024
|
constructor() {
|
7031
7025
|
super();
|
7032
7026
|
|
@@ -7095,31 +7089,31 @@ const LinkClass = compose(
|
|
7095
7089
|
)(RawLink);
|
7096
7090
|
|
7097
7091
|
const globalRefs$z = getThemeRefs$1(globals);
|
7098
|
-
const vars$
|
7092
|
+
const vars$O = LinkClass.cssVarList;
|
7099
7093
|
|
7100
7094
|
const link$1 = {
|
7101
|
-
[vars$
|
7102
|
-
[vars$
|
7095
|
+
[vars$O.hostDirection]: globalRefs$z.direction,
|
7096
|
+
[vars$O.cursor]: 'pointer',
|
7103
7097
|
|
7104
|
-
[vars$
|
7098
|
+
[vars$O.textColor]: globalRefs$z.colors.primary.main,
|
7105
7099
|
|
7106
7100
|
textAlign: {
|
7107
|
-
right: { [vars$
|
7108
|
-
left: { [vars$
|
7109
|
-
center: { [vars$
|
7101
|
+
right: { [vars$O.textAlign]: 'right' },
|
7102
|
+
left: { [vars$O.textAlign]: 'left' },
|
7103
|
+
center: { [vars$O.textAlign]: 'center' },
|
7110
7104
|
},
|
7111
7105
|
|
7112
7106
|
_fullWidth: {
|
7113
|
-
[vars$
|
7107
|
+
[vars$O.hostWidth]: '100%',
|
7114
7108
|
},
|
7115
7109
|
|
7116
7110
|
_hover: {
|
7117
|
-
[vars$
|
7111
|
+
[vars$O.textDecoration]: 'underline',
|
7118
7112
|
},
|
7119
7113
|
|
7120
7114
|
mode: {
|
7121
7115
|
secondary: {
|
7122
|
-
[vars$
|
7116
|
+
[vars$O.textColor]: globalRefs$z.colors.secondary.main,
|
7123
7117
|
},
|
7124
7118
|
},
|
7125
7119
|
};
|
@@ -7127,37 +7121,37 @@ const link$1 = {
|
|
7127
7121
|
var link$2 = /*#__PURE__*/Object.freeze({
|
7128
7122
|
__proto__: null,
|
7129
7123
|
default: link$1,
|
7130
|
-
vars: vars$
|
7124
|
+
vars: vars$O
|
7131
7125
|
});
|
7132
7126
|
|
7133
7127
|
const globalRefs$y = getThemeRefs$1(globals);
|
7134
|
-
const vars$
|
7128
|
+
const vars$N = EnrichedTextClass.cssVarList;
|
7135
7129
|
|
7136
7130
|
const enrichedText = {
|
7137
|
-
[vars$
|
7138
|
-
[vars$
|
7131
|
+
[vars$N.hostDirection]: globalRefs$y.direction,
|
7132
|
+
[vars$N.hostWidth]: useVar$1(vars$P.hostWidth),
|
7139
7133
|
|
7140
|
-
[vars$
|
7141
|
-
[vars$
|
7142
|
-
[vars$
|
7134
|
+
[vars$N.textLineHeight]: useVar$1(vars$P.textLineHeight),
|
7135
|
+
[vars$N.textColor]: useVar$1(vars$P.textColor),
|
7136
|
+
[vars$N.textAlign]: useVar$1(vars$P.textAlign),
|
7143
7137
|
|
7144
|
-
[vars$
|
7145
|
-
[vars$
|
7146
|
-
[vars$
|
7138
|
+
[vars$N.fontSize]: useVar$1(vars$P.fontSize),
|
7139
|
+
[vars$N.fontWeight]: useVar$1(vars$P.fontWeight),
|
7140
|
+
[vars$N.fontFamily]: useVar$1(vars$P.fontFamily),
|
7147
7141
|
|
7148
|
-
[vars$
|
7149
|
-
[vars$
|
7150
|
-
[vars$
|
7142
|
+
[vars$N.linkColor]: useVar$1(vars$O.textColor),
|
7143
|
+
[vars$N.linkTextDecoration]: 'none',
|
7144
|
+
[vars$N.linkHoverTextDecoration]: 'underline',
|
7151
7145
|
|
7152
|
-
[vars$
|
7153
|
-
[vars$
|
7154
|
-
[vars$
|
7146
|
+
[vars$N.fontWeightBold]: '900',
|
7147
|
+
[vars$N.minWidth]: '0.25em',
|
7148
|
+
[vars$N.minHeight]: '1.35em',
|
7155
7149
|
|
7156
|
-
[vars$
|
7150
|
+
[vars$N.hostDisplay]: 'inline-block',
|
7157
7151
|
|
7158
7152
|
_empty: {
|
7159
7153
|
_hideWhenEmpty: {
|
7160
|
-
[vars$
|
7154
|
+
[vars$N.hostDisplay]: 'none',
|
7161
7155
|
},
|
7162
7156
|
},
|
7163
7157
|
};
|
@@ -7165,11 +7159,11 @@ const enrichedText = {
|
|
7165
7159
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
7166
7160
|
__proto__: null,
|
7167
7161
|
default: enrichedText,
|
7168
|
-
vars: vars$
|
7162
|
+
vars: vars$N
|
7169
7163
|
});
|
7170
7164
|
|
7171
|
-
const componentName$
|
7172
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
7165
|
+
const componentName$W = getComponentName$1('divider');
|
7166
|
+
class RawDivider extends createBaseClass({ componentName: componentName$W, baseSelector: ':host > div' }) {
|
7173
7167
|
constructor() {
|
7174
7168
|
super();
|
7175
7169
|
|
@@ -7280,7 +7274,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
7280
7274
|
thickness: '2px',
|
7281
7275
|
spacing: '10px',
|
7282
7276
|
},
|
7283
|
-
componentName$
|
7277
|
+
componentName$W
|
7284
7278
|
);
|
7285
7279
|
|
7286
7280
|
const divider = {
|
@@ -7311,7 +7305,7 @@ const divider = {
|
|
7311
7305
|
},
|
7312
7306
|
};
|
7313
7307
|
|
7314
|
-
const vars$
|
7308
|
+
const vars$M = {
|
7315
7309
|
...compVars$6,
|
7316
7310
|
...helperVars$3,
|
7317
7311
|
};
|
@@ -7319,18 +7313,18 @@ const vars$L = {
|
|
7319
7313
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
7320
7314
|
__proto__: null,
|
7321
7315
|
default: divider,
|
7322
|
-
vars: vars$
|
7316
|
+
vars: vars$M
|
7323
7317
|
});
|
7324
7318
|
|
7325
7319
|
/* eslint-disable no-param-reassign */
|
7326
7320
|
|
7327
|
-
const componentName$
|
7321
|
+
const componentName$V = getComponentName$1('passcode-internal');
|
7328
7322
|
|
7329
|
-
createBaseInputClass({ componentName: componentName$
|
7323
|
+
createBaseInputClass({ componentName: componentName$V, baseSelector: 'div' });
|
7330
7324
|
|
7331
|
-
const componentName$
|
7325
|
+
const componentName$U = getComponentName$1('loader-radial');
|
7332
7326
|
|
7333
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
7327
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$U, baseSelector: ':host > div' }) {
|
7334
7328
|
constructor() {
|
7335
7329
|
super();
|
7336
7330
|
|
@@ -7378,14 +7372,14 @@ const LoaderRadialClass = compose$1(
|
|
7378
7372
|
componentNameValidationMixin
|
7379
7373
|
)(RawLoaderRadial);
|
7380
7374
|
|
7381
|
-
const componentName$
|
7375
|
+
const componentName$T = getComponentName$1('passcode');
|
7382
7376
|
|
7383
|
-
const observedAttributes$
|
7377
|
+
const observedAttributes$4 = ['digits'];
|
7384
7378
|
|
7385
7379
|
const customMixin$b = (superclass) =>
|
7386
7380
|
class PasscodeMixinClass extends superclass {
|
7387
7381
|
static get observedAttributes() {
|
7388
|
-
return observedAttributes$
|
7382
|
+
return observedAttributes$4.concat(superclass.observedAttributes || []);
|
7389
7383
|
}
|
7390
7384
|
|
7391
7385
|
get digits() {
|
@@ -7423,18 +7417,18 @@ const customMixin$b = (superclass) =>
|
|
7423
7417
|
const template = document.createElement('template');
|
7424
7418
|
|
7425
7419
|
template.innerHTML = `
|
7426
|
-
<${componentName$
|
7420
|
+
<${componentName$V}
|
7427
7421
|
bordered="true"
|
7428
7422
|
name="code"
|
7429
7423
|
tabindex="-1"
|
7430
7424
|
slot="input"
|
7431
7425
|
role="textbox"
|
7432
|
-
><slot></slot></${componentName$
|
7426
|
+
><slot></slot></${componentName$V}>
|
7433
7427
|
`;
|
7434
7428
|
|
7435
7429
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7436
7430
|
|
7437
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7431
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$V);
|
7438
7432
|
|
7439
7433
|
forwardAttrs$1(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
7440
7434
|
}
|
@@ -7593,64 +7587,64 @@ const PasscodeClass = compose$1(
|
|
7593
7587
|
${resetInputCursor('vaadin-text-field')}
|
7594
7588
|
`,
|
7595
7589
|
excludeAttrsSync: ['tabindex'],
|
7596
|
-
componentName: componentName$
|
7590
|
+
componentName: componentName$T,
|
7597
7591
|
})
|
7598
7592
|
);
|
7599
7593
|
|
7600
|
-
const vars$
|
7594
|
+
const vars$L = PasscodeClass.cssVarList;
|
7601
7595
|
|
7602
7596
|
const passcode = {
|
7603
|
-
[vars$
|
7604
|
-
[vars$
|
7605
|
-
[vars$
|
7606
|
-
[vars$
|
7607
|
-
[vars$
|
7608
|
-
[vars$
|
7609
|
-
[vars$
|
7610
|
-
[vars$
|
7611
|
-
[vars$
|
7612
|
-
[vars$
|
7613
|
-
[vars$
|
7614
|
-
[vars$
|
7615
|
-
[vars$
|
7616
|
-
[vars$
|
7617
|
-
[vars$
|
7597
|
+
[vars$L.hostDirection]: refs$1.direction,
|
7598
|
+
[vars$L.fontFamily]: refs$1.fontFamily,
|
7599
|
+
[vars$L.fontSize]: refs$1.fontSize,
|
7600
|
+
[vars$L.labelTextColor]: refs$1.labelTextColor,
|
7601
|
+
[vars$L.labelRequiredIndicator]: refs$1.requiredIndicator,
|
7602
|
+
[vars$L.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
7603
|
+
[vars$L.digitValueTextColor]: refs$1.valueTextColor,
|
7604
|
+
[vars$L.digitPadding]: '0',
|
7605
|
+
[vars$L.digitTextAlign]: 'center',
|
7606
|
+
[vars$L.digitSpacing]: '4px',
|
7607
|
+
[vars$L.hostWidth]: refs$1.width,
|
7608
|
+
[vars$L.digitOutlineColor]: 'transparent',
|
7609
|
+
[vars$L.digitOutlineWidth]: refs$1.outlineWidth,
|
7610
|
+
[vars$L.focusedDigitFieldOutlineColor]: refs$1.outlineColor,
|
7611
|
+
[vars$L.digitSize]: refs$1.inputHeight,
|
7618
7612
|
|
7619
7613
|
// error message icon
|
7620
|
-
[vars$
|
7621
|
-
[vars$
|
7622
|
-
[vars$
|
7623
|
-
[vars$
|
7624
|
-
[vars$
|
7625
|
-
[vars$
|
7614
|
+
[vars$L.errorMessageIcon]: refs$1.errorMessageIcon,
|
7615
|
+
[vars$L.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
7616
|
+
[vars$L.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
7617
|
+
[vars$L.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
7618
|
+
[vars$L.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
7619
|
+
[vars$L.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
7626
7620
|
|
7627
7621
|
size: {
|
7628
|
-
xs: { [vars$
|
7629
|
-
sm: { [vars$
|
7630
|
-
md: { [vars$
|
7631
|
-
lg: { [vars$
|
7622
|
+
xs: { [vars$L.spinnerSize]: '15px' },
|
7623
|
+
sm: { [vars$L.spinnerSize]: '20px' },
|
7624
|
+
md: { [vars$L.spinnerSize]: '20px' },
|
7625
|
+
lg: { [vars$L.spinnerSize]: '20px' },
|
7632
7626
|
},
|
7633
7627
|
|
7634
7628
|
_hideCursor: {
|
7635
|
-
[vars$
|
7629
|
+
[vars$L.digitCaretTextColor]: 'transparent',
|
7636
7630
|
},
|
7637
7631
|
|
7638
7632
|
_loading: {
|
7639
|
-
[vars$
|
7633
|
+
[vars$L.overlayOpacity]: refs$1.overlayOpacity,
|
7640
7634
|
},
|
7641
7635
|
};
|
7642
7636
|
|
7643
7637
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
7644
7638
|
__proto__: null,
|
7645
7639
|
default: passcode,
|
7646
|
-
vars: vars$
|
7640
|
+
vars: vars$L
|
7647
7641
|
});
|
7648
7642
|
|
7649
|
-
const componentName$
|
7643
|
+
const componentName$S = getComponentName$1('loader-linear');
|
7650
7644
|
|
7651
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
7645
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$S, baseSelector: ':host > div' }) {
|
7652
7646
|
static get componentName() {
|
7653
|
-
return componentName$
|
7647
|
+
return componentName$S;
|
7654
7648
|
}
|
7655
7649
|
|
7656
7650
|
constructor() {
|
@@ -7716,48 +7710,48 @@ const LoaderLinearClass = compose$1(
|
|
7716
7710
|
)(RawLoaderLinear);
|
7717
7711
|
|
7718
7712
|
const globalRefs$w = getThemeRefs(globals$1);
|
7719
|
-
const vars$
|
7713
|
+
const vars$K = LoaderLinearClass.cssVarList;
|
7720
7714
|
|
7721
7715
|
const loaderLinear = {
|
7722
|
-
[vars$
|
7723
|
-
[vars$
|
7716
|
+
[vars$K.hostDisplay]: 'inline-block',
|
7717
|
+
[vars$K.hostWidth]: '100%',
|
7724
7718
|
|
7725
|
-
[vars$
|
7726
|
-
[vars$
|
7719
|
+
[vars$K.barColor]: globalRefs$w.colors.surface.contrast,
|
7720
|
+
[vars$K.barWidth]: '20%',
|
7727
7721
|
|
7728
|
-
[vars$
|
7729
|
-
[vars$
|
7722
|
+
[vars$K.barBackgroundColor]: globalRefs$w.colors.surface.light,
|
7723
|
+
[vars$K.barBorderRadius]: '4px',
|
7730
7724
|
|
7731
|
-
[vars$
|
7732
|
-
[vars$
|
7733
|
-
[vars$
|
7734
|
-
[vars$
|
7725
|
+
[vars$K.animationDuration]: '2s',
|
7726
|
+
[vars$K.animationTimingFunction]: 'linear',
|
7727
|
+
[vars$K.animationIterationCount]: 'infinite',
|
7728
|
+
[vars$K.verticalPadding]: '0.25em',
|
7735
7729
|
|
7736
7730
|
size: {
|
7737
|
-
xs: { [vars$
|
7738
|
-
sm: { [vars$
|
7739
|
-
md: { [vars$
|
7740
|
-
lg: { [vars$
|
7731
|
+
xs: { [vars$K.barHeight]: '2px' },
|
7732
|
+
sm: { [vars$K.barHeight]: '4px' },
|
7733
|
+
md: { [vars$K.barHeight]: '6px' },
|
7734
|
+
lg: { [vars$K.barHeight]: '8px' },
|
7741
7735
|
},
|
7742
7736
|
|
7743
7737
|
mode: {
|
7744
7738
|
primary: {
|
7745
|
-
[vars$
|
7739
|
+
[vars$K.barColor]: globalRefs$w.colors.primary.main,
|
7746
7740
|
},
|
7747
7741
|
secondary: {
|
7748
|
-
[vars$
|
7742
|
+
[vars$K.barColor]: globalRefs$w.colors.secondary.main,
|
7749
7743
|
},
|
7750
7744
|
},
|
7751
7745
|
|
7752
7746
|
_hidden: {
|
7753
|
-
[vars$
|
7747
|
+
[vars$K.hostDisplay]: 'none',
|
7754
7748
|
},
|
7755
7749
|
};
|
7756
7750
|
|
7757
7751
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
7758
7752
|
__proto__: null,
|
7759
7753
|
default: loaderLinear,
|
7760
|
-
vars: vars$
|
7754
|
+
vars: vars$K
|
7761
7755
|
});
|
7762
7756
|
|
7763
7757
|
const globalRefs$v = getThemeRefs(globals$1);
|
@@ -7775,7 +7769,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
7775
7769
|
},
|
7776
7770
|
},
|
7777
7771
|
},
|
7778
|
-
componentName$
|
7772
|
+
componentName$U
|
7779
7773
|
);
|
7780
7774
|
|
7781
7775
|
const loaderRadial = {
|
@@ -7804,7 +7798,7 @@ const loaderRadial = {
|
|
7804
7798
|
[compVars$5.hostDisplay]: 'none',
|
7805
7799
|
},
|
7806
7800
|
};
|
7807
|
-
const vars$
|
7801
|
+
const vars$J = {
|
7808
7802
|
...compVars$5,
|
7809
7803
|
...helperVars$2,
|
7810
7804
|
};
|
@@ -7812,10 +7806,10 @@ const vars$I = {
|
|
7812
7806
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
7813
7807
|
__proto__: null,
|
7814
7808
|
default: loaderRadial,
|
7815
|
-
vars: vars$
|
7809
|
+
vars: vars$J
|
7816
7810
|
});
|
7817
7811
|
|
7818
|
-
const componentName$
|
7812
|
+
const componentName$R = getComponentName('combo-box');
|
7819
7813
|
|
7820
7814
|
const ComboBoxMixin = (superclass) =>
|
7821
7815
|
class ComboBoxMixinClass extends superclass {
|
@@ -8464,15 +8458,15 @@ const ComboBoxClass = compose(
|
|
8464
8458
|
// and reset items to an empty array, and opening the list box with no items
|
8465
8459
|
// to display.
|
8466
8460
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading'],
|
8467
|
-
componentName: componentName$
|
8461
|
+
componentName: componentName$R,
|
8468
8462
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
8469
8463
|
}),
|
8470
8464
|
);
|
8471
8465
|
|
8472
|
-
const componentName$
|
8466
|
+
const componentName$Q = getComponentName('input-wrapper');
|
8473
8467
|
const globalRefs$u = getThemeRefs$1(globals);
|
8474
8468
|
|
8475
|
-
const [theme$1, refs, vars$
|
8469
|
+
const [theme$1, refs, vars$I] = createHelperVars$1(
|
8476
8470
|
{
|
8477
8471
|
labelTextColor: globalRefs$u.colors.surface.dark,
|
8478
8472
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
@@ -8592,103 +8586,103 @@ const [theme$1, refs, vars$H] = createHelperVars$1(
|
|
8592
8586
|
backgroundColor: globalRefs$u.colors.surface.main,
|
8593
8587
|
},
|
8594
8588
|
},
|
8595
|
-
componentName$
|
8589
|
+
componentName$Q,
|
8596
8590
|
);
|
8597
8591
|
|
8598
8592
|
const globalRefs$t = getThemeRefs$1(globals);
|
8599
|
-
const vars$
|
8593
|
+
const vars$H = ComboBoxClass.cssVarList;
|
8600
8594
|
|
8601
8595
|
const comboBox = {
|
8602
|
-
[vars$
|
8603
|
-
[vars$
|
8604
|
-
[vars$
|
8605
|
-
[vars$
|
8606
|
-
[vars$
|
8607
|
-
[vars$
|
8608
|
-
[vars$
|
8609
|
-
[vars$
|
8610
|
-
[vars$
|
8611
|
-
[vars$
|
8612
|
-
[vars$
|
8613
|
-
[vars$
|
8614
|
-
[vars$
|
8615
|
-
[vars$
|
8616
|
-
[vars$
|
8617
|
-
[vars$
|
8618
|
-
[vars$
|
8619
|
-
[vars$
|
8620
|
-
[vars$
|
8621
|
-
[vars$
|
8622
|
-
[vars$
|
8623
|
-
[vars$
|
8624
|
-
[vars$
|
8625
|
-
[vars$
|
8626
|
-
[vars$
|
8627
|
-
[vars$
|
8628
|
-
[vars$
|
8629
|
-
[vars$
|
8630
|
-
[vars$
|
8631
|
-
[vars$
|
8632
|
-
[vars$
|
8633
|
-
[vars$
|
8634
|
-
[vars$
|
8635
|
-
[vars$
|
8636
|
-
[vars$
|
8637
|
-
[vars$
|
8638
|
-
[vars$
|
8639
|
-
[vars$
|
8596
|
+
[vars$H.hostWidth]: refs.width,
|
8597
|
+
[vars$H.hostDirection]: refs.direction,
|
8598
|
+
[vars$H.fontSize]: refs.fontSize,
|
8599
|
+
[vars$H.fontFamily]: refs.fontFamily,
|
8600
|
+
[vars$H.labelFontSize]: refs.labelFontSize,
|
8601
|
+
[vars$H.labelFontWeight]: refs.labelFontWeight,
|
8602
|
+
[vars$H.labelTextColor]: refs.labelTextColor,
|
8603
|
+
[vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
|
8604
|
+
[vars$H.inputBorderColor]: refs.borderColor,
|
8605
|
+
[vars$H.inputBorderWidth]: refs.borderWidth,
|
8606
|
+
[vars$H.inputBorderStyle]: refs.borderStyle,
|
8607
|
+
[vars$H.inputBorderRadius]: refs.borderRadius,
|
8608
|
+
[vars$H.inputOutlineColor]: refs.outlineColor,
|
8609
|
+
[vars$H.inputOutlineOffset]: refs.outlineOffset,
|
8610
|
+
[vars$H.inputOutlineWidth]: refs.outlineWidth,
|
8611
|
+
[vars$H.inputOutlineStyle]: refs.outlineStyle,
|
8612
|
+
[vars$H.labelRequiredIndicator]: refs.requiredIndicator,
|
8613
|
+
[vars$H.inputValueTextColor]: refs.valueTextColor,
|
8614
|
+
[vars$H.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8615
|
+
[vars$H.inputBackgroundColor]: refs.backgroundColor,
|
8616
|
+
[vars$H.inputHorizontalPadding]: refs.horizontalPadding,
|
8617
|
+
[vars$H.inputHeight]: refs.inputHeight,
|
8618
|
+
[vars$H.inputDropdownButtonColor]: globalRefs$t.colors.surface.dark,
|
8619
|
+
[vars$H.inputDropdownButtonCursor]: 'pointer',
|
8620
|
+
[vars$H.inputDropdownButtonSize]: refs.toggleButtonSize,
|
8621
|
+
[vars$H.inputDropdownButtonOffset]: globalRefs$t.spacing.xs,
|
8622
|
+
[vars$H.overlayItemPaddingInlineStart]: globalRefs$t.spacing.xs,
|
8623
|
+
[vars$H.overlayItemPaddingInlineEnd]: globalRefs$t.spacing.lg,
|
8624
|
+
[vars$H.labelPosition]: refs.labelPosition,
|
8625
|
+
[vars$H.labelTopPosition]: refs.labelTopPosition,
|
8626
|
+
[vars$H.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
8627
|
+
[vars$H.inputTransformY]: refs.inputTransformY,
|
8628
|
+
[vars$H.inputTransition]: refs.inputTransition,
|
8629
|
+
[vars$H.marginInlineStart]: refs.marginInlineStart,
|
8630
|
+
[vars$H.placeholderOpacity]: refs.placeholderOpacity,
|
8631
|
+
[vars$H.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
8632
|
+
[vars$H.valueInputHeight]: refs.valueInputHeight,
|
8633
|
+
[vars$H.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
8640
8634
|
|
8641
8635
|
// error message icon
|
8642
|
-
[vars$
|
8643
|
-
[vars$
|
8644
|
-
[vars$
|
8645
|
-
[vars$
|
8646
|
-
[vars$
|
8647
|
-
[vars$
|
8636
|
+
[vars$H.errorMessageIcon]: refs.errorMessageIcon,
|
8637
|
+
[vars$H.errorMessageIconSize]: refs.errorMessageIconSize,
|
8638
|
+
[vars$H.errorMessageIconPadding]: refs.errorMessageIconPadding,
|
8639
|
+
[vars$H.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
|
8640
|
+
[vars$H.errorMessageIconPosition]: refs.errorMessageIconPosition,
|
8641
|
+
[vars$H.errorMessageFontSize]: refs.errorMessageFontSize,
|
8648
8642
|
|
8649
8643
|
_readonly: {
|
8650
|
-
[vars$
|
8644
|
+
[vars$H.inputDropdownButtonCursor]: 'default',
|
8651
8645
|
},
|
8652
8646
|
|
8653
8647
|
// Overlay theme exposed via the component:
|
8654
|
-
[vars$
|
8655
|
-
[vars$
|
8656
|
-
[vars$
|
8657
|
-
[vars$
|
8658
|
-
[vars$
|
8659
|
-
[vars$
|
8660
|
-
[vars$
|
8661
|
-
[vars$
|
8662
|
-
[vars$
|
8648
|
+
[vars$H.overlayFontSize]: refs.fontSize,
|
8649
|
+
[vars$H.overlayFontFamily]: refs.fontFamily,
|
8650
|
+
[vars$H.overlayCursor]: 'pointer',
|
8651
|
+
[vars$H.overlayItemBoxShadow]: 'none',
|
8652
|
+
[vars$H.overlayBackground]: refs.backgroundColor,
|
8653
|
+
[vars$H.overlayTextColor]: refs.valueTextColor,
|
8654
|
+
[vars$H.overlayCheckmarkDisplay]: 'initial',
|
8655
|
+
[vars$H.overlaySelectedItemBackground]: 'initial',
|
8656
|
+
[vars$H.overlaySelectedItemHoverBackground]:
|
8663
8657
|
globalRefs$t.colors.primary.highlight,
|
8664
|
-
[vars$
|
8658
|
+
[vars$H.overlaySelectedItemFocusBackground]:
|
8665
8659
|
globalRefs$t.colors.primary.highlight,
|
8666
|
-
[vars$
|
8667
|
-
[vars$
|
8660
|
+
[vars$H.overlayItemHoverBackground]: globalRefs$t.colors.primary.highlight,
|
8661
|
+
[vars$H.overlayItemFocusBackground]: globalRefs$t.colors.primary.highlight,
|
8668
8662
|
|
8669
8663
|
// Overlay direct theme:
|
8670
|
-
[vars$
|
8671
|
-
[vars$
|
8664
|
+
[vars$H.overlay.minHeight]: '400px',
|
8665
|
+
[vars$H.overlay.margin]: '0',
|
8672
8666
|
|
8673
|
-
[vars$
|
8674
|
-
[vars$
|
8675
|
-
[vars$
|
8667
|
+
[vars$H.overlay.contentHeight]: '100%',
|
8668
|
+
[vars$H.overlay.contentOpacity]: '1',
|
8669
|
+
[vars$H.overlay.scrollerMinHeight]: '1px',
|
8676
8670
|
_loading: {
|
8677
|
-
[vars$
|
8678
|
-
[vars$
|
8679
|
-
[vars$
|
8671
|
+
[vars$H.overlay.loaderTop]: '50%',
|
8672
|
+
[vars$H.overlay.loaderLeft]: '50%',
|
8673
|
+
[vars$H.overlay.loaderRight]: 'auto',
|
8680
8674
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
8681
8675
|
// Margin has to be half of the width/height of the loader to center it
|
8682
|
-
[vars$
|
8683
|
-
[vars$
|
8684
|
-
[vars$
|
8685
|
-
[vars$
|
8686
|
-
[vars$
|
8676
|
+
[vars$H.overlay.loaderMargin]: '-15px 0 0 -15px',
|
8677
|
+
[vars$H.overlay.loaderWidth]: '30px',
|
8678
|
+
[vars$H.overlay.loaderHeight]: '30px',
|
8679
|
+
[vars$H.overlay.loaderBorder]: '2px solid transparent',
|
8680
|
+
[vars$H.overlay.loaderBorderColor]:
|
8687
8681
|
`${globalRefs$t.colors.primary.highlight} ${globalRefs$t.colors.primary.highlight} ${globalRefs$t.colors.primary.main} ${globalRefs$t.colors.primary.main}`,
|
8688
|
-
[vars$
|
8689
|
-
[vars$
|
8690
|
-
[vars$
|
8691
|
-
[vars$
|
8682
|
+
[vars$H.overlay.loaderBorderRadius]: '50%',
|
8683
|
+
[vars$H.overlay.contentHeight]: '100px',
|
8684
|
+
[vars$H.overlay.scrollerMinHeight]: '100px',
|
8685
|
+
[vars$H.overlay.contentOpacity]: '0',
|
8692
8686
|
},
|
8693
8687
|
};
|
8694
8688
|
|
@@ -8696,7 +8690,7 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
|
|
8696
8690
|
__proto__: null,
|
8697
8691
|
comboBox: comboBox,
|
8698
8692
|
default: comboBox,
|
8699
|
-
vars: vars$
|
8693
|
+
vars: vars$H
|
8700
8694
|
});
|
8701
8695
|
|
8702
8696
|
var CountryCodes = [
|
@@ -9910,14 +9904,14 @@ var CountryCodes = [
|
|
9910
9904
|
].sort((a, b) => (a.name < b.name ? -1 : 1)),
|
9911
9905
|
];
|
9912
9906
|
|
9913
|
-
const componentName$
|
9907
|
+
const componentName$P = getComponentName$1('phone-field-internal');
|
9914
9908
|
|
9915
|
-
createBaseInputClass({ componentName: componentName$
|
9909
|
+
createBaseInputClass({ componentName: componentName$P, baseSelector: 'div' });
|
9916
9910
|
|
9917
9911
|
const textVars$3 = TextFieldClass.cssVarList;
|
9918
9912
|
const comboVars = ComboBoxClass.cssVarList;
|
9919
9913
|
|
9920
|
-
const componentName$
|
9914
|
+
const componentName$O = getComponentName$1('phone-field');
|
9921
9915
|
|
9922
9916
|
const customMixin$a = (superclass) =>
|
9923
9917
|
class PhoneFieldMixinClass extends superclass {
|
@@ -9931,15 +9925,15 @@ const customMixin$a = (superclass) =>
|
|
9931
9925
|
const template = document.createElement('template');
|
9932
9926
|
|
9933
9927
|
template.innerHTML = `
|
9934
|
-
<${componentName$
|
9928
|
+
<${componentName$P}
|
9935
9929
|
tabindex="-1"
|
9936
9930
|
slot="input"
|
9937
|
-
></${componentName$
|
9931
|
+
></${componentName$P}>
|
9938
9932
|
`;
|
9939
9933
|
|
9940
9934
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
9941
9935
|
|
9942
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
9936
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$P);
|
9943
9937
|
|
9944
9938
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
9945
9939
|
includeAttrs: [
|
@@ -10211,44 +10205,44 @@ const PhoneFieldClass = compose$1(
|
|
10211
10205
|
${resetInputLabelPosition('vaadin-text-field')}
|
10212
10206
|
`,
|
10213
10207
|
excludeAttrsSync: ['tabindex'],
|
10214
|
-
componentName: componentName$
|
10208
|
+
componentName: componentName$O,
|
10215
10209
|
})
|
10216
10210
|
);
|
10217
10211
|
|
10218
|
-
const vars$
|
10212
|
+
const vars$G = PhoneFieldClass.cssVarList;
|
10219
10213
|
|
10220
10214
|
const phoneField = {
|
10221
|
-
[vars$
|
10222
|
-
[vars$
|
10223
|
-
[vars$
|
10224
|
-
[vars$
|
10225
|
-
[vars$
|
10226
|
-
[vars$
|
10227
|
-
[vars$
|
10228
|
-
[vars$
|
10229
|
-
[vars$
|
10230
|
-
[vars$
|
10231
|
-
[vars$
|
10232
|
-
[vars$
|
10233
|
-
[vars$
|
10234
|
-
[vars$
|
10235
|
-
[vars$
|
10236
|
-
[vars$
|
10237
|
-
[vars$
|
10238
|
-
[vars$
|
10239
|
-
[vars$
|
10240
|
-
[vars$
|
10241
|
-
[vars$
|
10242
|
-
[vars$
|
10243
|
-
[vars$
|
10215
|
+
[vars$G.hostWidth]: refs$1.width,
|
10216
|
+
[vars$G.hostDirection]: refs$1.direction,
|
10217
|
+
[vars$G.fontSize]: refs$1.fontSize,
|
10218
|
+
[vars$G.fontFamily]: refs$1.fontFamily,
|
10219
|
+
[vars$G.labelTextColor]: refs$1.labelTextColor,
|
10220
|
+
[vars$G.labelRequiredIndicator]: refs$1.requiredIndicator,
|
10221
|
+
[vars$G.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
10222
|
+
[vars$G.inputValueTextColor]: refs$1.valueTextColor,
|
10223
|
+
[vars$G.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
10224
|
+
[vars$G.inputBorderStyle]: refs$1.borderStyle,
|
10225
|
+
[vars$G.inputBorderWidth]: refs$1.borderWidth,
|
10226
|
+
[vars$G.inputBorderColor]: refs$1.borderColor,
|
10227
|
+
[vars$G.inputBorderRadius]: refs$1.borderRadius,
|
10228
|
+
[vars$G.inputOutlineStyle]: refs$1.outlineStyle,
|
10229
|
+
[vars$G.inputOutlineWidth]: refs$1.outlineWidth,
|
10230
|
+
[vars$G.inputOutlineColor]: refs$1.outlineColor,
|
10231
|
+
[vars$G.inputOutlineOffset]: refs$1.outlineOffset,
|
10232
|
+
[vars$G.phoneInputWidth]: refs$1.minWidth,
|
10233
|
+
[vars$G.countryCodeInputWidth]: '5em',
|
10234
|
+
[vars$G.countryCodeDropdownWidth]: '20em',
|
10235
|
+
[vars$G.marginInlineStart]: '-0.25em',
|
10236
|
+
[vars$G.valueInputHeight]: refs$1.valueInputHeight,
|
10237
|
+
[vars$G.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
10244
10238
|
|
10245
10239
|
// error message icon
|
10246
|
-
[vars$
|
10247
|
-
[vars$
|
10248
|
-
[vars$
|
10249
|
-
[vars$
|
10250
|
-
[vars$
|
10251
|
-
[vars$
|
10240
|
+
[vars$G.errorMessageIcon]: refs$1.errorMessageIcon,
|
10241
|
+
[vars$G.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
10242
|
+
[vars$G.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
10243
|
+
[vars$G.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
10244
|
+
[vars$G.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
10245
|
+
[vars$G.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
10252
10246
|
|
10253
10247
|
// '@overlay': {
|
10254
10248
|
// overlayItemBackgroundColor: 'red'
|
@@ -10258,16 +10252,16 @@ const phoneField = {
|
|
10258
10252
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
10259
10253
|
__proto__: null,
|
10260
10254
|
default: phoneField,
|
10261
|
-
vars: vars$
|
10255
|
+
vars: vars$G
|
10262
10256
|
});
|
10263
10257
|
|
10264
|
-
const componentName$
|
10258
|
+
const componentName$N = getComponentName$1('phone-field-internal-input-box');
|
10265
10259
|
|
10266
|
-
createBaseInputClass({ componentName: componentName$
|
10260
|
+
createBaseInputClass({ componentName: componentName$N, baseSelector: 'div' });
|
10267
10261
|
|
10268
10262
|
const textVars$2 = TextFieldClass.cssVarList;
|
10269
10263
|
|
10270
|
-
const componentName$
|
10264
|
+
const componentName$M = getComponentName$1('phone-input-box-field');
|
10271
10265
|
|
10272
10266
|
const customMixin$9 = (superclass) =>
|
10273
10267
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
@@ -10281,15 +10275,15 @@ const customMixin$9 = (superclass) =>
|
|
10281
10275
|
const template = document.createElement('template');
|
10282
10276
|
|
10283
10277
|
template.innerHTML = `
|
10284
|
-
<${componentName$
|
10278
|
+
<${componentName$N}
|
10285
10279
|
tabindex="-1"
|
10286
10280
|
slot="input"
|
10287
|
-
></${componentName$
|
10281
|
+
></${componentName$N}>
|
10288
10282
|
`;
|
10289
10283
|
|
10290
10284
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10291
10285
|
|
10292
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10286
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$N);
|
10293
10287
|
|
10294
10288
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
10295
10289
|
includeAttrs: [
|
@@ -10493,70 +10487,70 @@ const PhoneFieldInputBoxClass = compose$1(
|
|
10493
10487
|
${inputFloatingLabelStyle()}
|
10494
10488
|
`,
|
10495
10489
|
excludeAttrsSync: ['tabindex'],
|
10496
|
-
componentName: componentName$
|
10490
|
+
componentName: componentName$M,
|
10497
10491
|
})
|
10498
10492
|
);
|
10499
10493
|
|
10500
|
-
const vars$
|
10494
|
+
const vars$F = PhoneFieldInputBoxClass.cssVarList;
|
10501
10495
|
|
10502
10496
|
const phoneInputBoxField = {
|
10503
|
-
[vars$
|
10504
|
-
[vars$
|
10505
|
-
[vars$
|
10506
|
-
[vars$
|
10507
|
-
[vars$
|
10508
|
-
[vars$
|
10509
|
-
[vars$
|
10510
|
-
[vars$
|
10511
|
-
[vars$
|
10512
|
-
[vars$
|
10513
|
-
[vars$
|
10514
|
-
[vars$
|
10515
|
-
[vars$
|
10516
|
-
[vars$
|
10517
|
-
[vars$
|
10518
|
-
[vars$
|
10519
|
-
[vars$
|
10520
|
-
[vars$
|
10521
|
-
[vars$
|
10522
|
-
[vars$
|
10523
|
-
[vars$
|
10524
|
-
[vars$
|
10525
|
-
[vars$
|
10526
|
-
[vars$
|
10527
|
-
[vars$
|
10528
|
-
[vars$
|
10529
|
-
[vars$
|
10530
|
-
[vars$
|
10531
|
-
[vars$
|
10497
|
+
[vars$F.hostWidth]: '16em',
|
10498
|
+
[vars$F.hostMinWidth]: refs$1.minWidth,
|
10499
|
+
[vars$F.hostDirection]: refs$1.direction,
|
10500
|
+
[vars$F.fontSize]: refs$1.fontSize,
|
10501
|
+
[vars$F.fontFamily]: refs$1.fontFamily,
|
10502
|
+
[vars$F.labelFontSize]: refs$1.labelFontSize,
|
10503
|
+
[vars$F.labelFontWeight]: refs$1.labelFontWeight,
|
10504
|
+
[vars$F.labelTextColor]: refs$1.labelTextColor,
|
10505
|
+
[vars$F.labelRequiredIndicator]: refs$1.requiredIndicator,
|
10506
|
+
[vars$F.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
10507
|
+
[vars$F.inputValueTextColor]: refs$1.valueTextColor,
|
10508
|
+
[vars$F.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
10509
|
+
[vars$F.inputBorderStyle]: refs$1.borderStyle,
|
10510
|
+
[vars$F.inputBorderWidth]: refs$1.borderWidth,
|
10511
|
+
[vars$F.inputBorderColor]: refs$1.borderColor,
|
10512
|
+
[vars$F.inputBorderRadius]: refs$1.borderRadius,
|
10513
|
+
[vars$F.inputOutlineStyle]: refs$1.outlineStyle,
|
10514
|
+
[vars$F.inputOutlineWidth]: refs$1.outlineWidth,
|
10515
|
+
[vars$F.inputOutlineColor]: refs$1.outlineColor,
|
10516
|
+
[vars$F.inputOutlineOffset]: refs$1.outlineOffset,
|
10517
|
+
[vars$F.labelPosition]: refs$1.labelPosition,
|
10518
|
+
[vars$F.labelTopPosition]: refs$1.labelTopPosition,
|
10519
|
+
[vars$F.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
10520
|
+
[vars$F.inputTransformY]: refs$1.inputTransformY,
|
10521
|
+
[vars$F.inputTransition]: refs$1.inputTransition,
|
10522
|
+
[vars$F.marginInlineStart]: refs$1.marginInlineStart,
|
10523
|
+
[vars$F.valueInputHeight]: refs$1.valueInputHeight,
|
10524
|
+
[vars$F.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
10525
|
+
[vars$F.inputHorizontalPadding]: '0',
|
10532
10526
|
|
10533
10527
|
// error message icon
|
10534
|
-
[vars$
|
10535
|
-
[vars$
|
10536
|
-
[vars$
|
10537
|
-
[vars$
|
10538
|
-
[vars$
|
10539
|
-
[vars$
|
10528
|
+
[vars$F.errorMessageIcon]: refs$1.errorMessageIcon,
|
10529
|
+
[vars$F.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
10530
|
+
[vars$F.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
10531
|
+
[vars$F.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
10532
|
+
[vars$F.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
10533
|
+
[vars$F.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
10540
10534
|
|
10541
10535
|
_fullWidth: {
|
10542
|
-
[vars$
|
10536
|
+
[vars$F.hostWidth]: refs$1.width,
|
10543
10537
|
},
|
10544
10538
|
};
|
10545
10539
|
|
10546
10540
|
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
10547
10541
|
__proto__: null,
|
10548
10542
|
default: phoneInputBoxField,
|
10549
|
-
vars: vars$
|
10543
|
+
vars: vars$F
|
10550
10544
|
});
|
10551
10545
|
|
10552
|
-
const componentName$
|
10546
|
+
const componentName$L = getComponentName$1('new-password-internal');
|
10553
10547
|
|
10554
10548
|
const interpolateString = (template, values) =>
|
10555
10549
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
10556
10550
|
|
10557
10551
|
// eslint-disable-next-line max-classes-per-file
|
10558
10552
|
|
10559
|
-
const componentName$
|
10553
|
+
const componentName$K = getComponentName$1('policy-validation');
|
10560
10554
|
|
10561
10555
|
const overrideAttrs = [
|
10562
10556
|
'data-password-policy-value-minlength',
|
@@ -10566,7 +10560,7 @@ const overrideAttrs = [
|
|
10566
10560
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
10567
10561
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
10568
10562
|
|
10569
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
10563
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$K, baseSelector: ':host > div' }) {
|
10570
10564
|
#availablePolicies;
|
10571
10565
|
|
10572
10566
|
#activePolicies = [];
|
@@ -10838,7 +10832,7 @@ const PolicyValidationClass = compose$1(
|
|
10838
10832
|
componentNameValidationMixin
|
10839
10833
|
)(RawPolicyValidation);
|
10840
10834
|
|
10841
|
-
const componentName$
|
10835
|
+
const componentName$J = getComponentName$1('new-password');
|
10842
10836
|
|
10843
10837
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
10844
10838
|
|
@@ -10852,18 +10846,18 @@ const customMixin$8 = (superclass) =>
|
|
10852
10846
|
const externalInputAttr = this.getAttribute('external-input');
|
10853
10847
|
|
10854
10848
|
template.innerHTML = `
|
10855
|
-
<${componentName$
|
10849
|
+
<${componentName$L}
|
10856
10850
|
name="new-password"
|
10857
10851
|
tabindex="-1"
|
10858
10852
|
slot="input"
|
10859
10853
|
external-input="${externalInputAttr}"
|
10860
10854
|
>
|
10861
|
-
</${componentName$
|
10855
|
+
</${componentName$L}>
|
10862
10856
|
`;
|
10863
10857
|
|
10864
10858
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10865
10859
|
|
10866
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10860
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$L);
|
10867
10861
|
|
10868
10862
|
if (this.getAttribute('external-input') === 'true') {
|
10869
10863
|
this.initExternalInput();
|
@@ -11047,48 +11041,48 @@ const NewPasswordClass = compose$1(
|
|
11047
11041
|
}
|
11048
11042
|
`,
|
11049
11043
|
excludeAttrsSync: ['tabindex'],
|
11050
|
-
componentName: componentName$
|
11044
|
+
componentName: componentName$J,
|
11051
11045
|
})
|
11052
11046
|
);
|
11053
11047
|
|
11054
11048
|
const globalRefs$s = getThemeRefs(globals$1);
|
11055
|
-
const vars$
|
11049
|
+
const vars$E = NewPasswordClass.cssVarList;
|
11056
11050
|
|
11057
11051
|
const newPassword = {
|
11058
|
-
[vars$
|
11059
|
-
[vars$
|
11060
|
-
[vars$
|
11061
|
-
[vars$
|
11062
|
-
[vars$
|
11063
|
-
[vars$
|
11064
|
-
[vars$
|
11065
|
-
[vars$
|
11066
|
-
[vars$
|
11067
|
-
[vars$
|
11068
|
-
[vars$
|
11069
|
-
[vars$
|
11070
|
-
[vars$
|
11052
|
+
[vars$E.hostWidth]: refs$1.width,
|
11053
|
+
[vars$E.hostMinWidth]: refs$1.minWidth,
|
11054
|
+
[vars$E.hostDirection]: refs$1.direction,
|
11055
|
+
[vars$E.fontSize]: refs$1.fontSize,
|
11056
|
+
[vars$E.fontFamily]: refs$1.fontFamily,
|
11057
|
+
[vars$E.labelFontSize]: refs$1.labelFontSize,
|
11058
|
+
[vars$E.labelFontWeight]: refs$1.labelFontWeight,
|
11059
|
+
[vars$E.labelTextColor]: refs$1.labelTextColor,
|
11060
|
+
[vars$E.spaceBetweenInputs]: '1em',
|
11061
|
+
[vars$E.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
11062
|
+
[vars$E.policyPreviewBackgroundColor]: 'none',
|
11063
|
+
[vars$E.policyPreviewPadding]: globalRefs$s.spacing.lg,
|
11064
|
+
[vars$E.valueInputHeight]: refs$1.valueInputHeight,
|
11071
11065
|
|
11072
11066
|
// error message icon
|
11073
|
-
[vars$
|
11074
|
-
[vars$
|
11075
|
-
[vars$
|
11076
|
-
[vars$
|
11077
|
-
[vars$
|
11078
|
-
[vars$
|
11067
|
+
[vars$E.errorMessageIcon]: refs$1.errorMessageIcon,
|
11068
|
+
[vars$E.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
11069
|
+
[vars$E.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
11070
|
+
[vars$E.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
11071
|
+
[vars$E.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
11072
|
+
[vars$E.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
11079
11073
|
|
11080
11074
|
_required: {
|
11081
11075
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
11082
11076
|
// That's why we fake the required indicator on each input.
|
11083
11077
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
11084
|
-
[vars$
|
11078
|
+
[vars$E.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
11085
11079
|
},
|
11086
11080
|
};
|
11087
11081
|
|
11088
11082
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
11089
11083
|
__proto__: null,
|
11090
11084
|
default: newPassword,
|
11091
|
-
vars: vars$
|
11085
|
+
vars: vars$E
|
11092
11086
|
});
|
11093
11087
|
|
11094
11088
|
const getFileBase64 = (fileObj) => {
|
@@ -11103,9 +11097,9 @@ const getFilename = (fileObj) => {
|
|
11103
11097
|
return fileObj.name.replace(/^.*\\/, '');
|
11104
11098
|
};
|
11105
11099
|
|
11106
|
-
const componentName$
|
11100
|
+
const componentName$I = getComponentName$1('upload-file');
|
11107
11101
|
|
11108
|
-
const observedAttributes$
|
11102
|
+
const observedAttributes$3 = [
|
11109
11103
|
'title',
|
11110
11104
|
'description',
|
11111
11105
|
'button-label',
|
@@ -11118,11 +11112,11 @@ const observedAttributes$2 = [
|
|
11118
11112
|
'icon',
|
11119
11113
|
];
|
11120
11114
|
|
11121
|
-
const BaseInputClass$
|
11115
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$I, baseSelector: ':host > div' });
|
11122
11116
|
|
11123
|
-
class RawUploadFile extends BaseInputClass$
|
11117
|
+
class RawUploadFile extends BaseInputClass$4 {
|
11124
11118
|
static get observedAttributes() {
|
11125
|
-
return observedAttributes$
|
11119
|
+
return observedAttributes$3.concat(BaseInputClass$4.observedAttributes || []);
|
11126
11120
|
}
|
11127
11121
|
|
11128
11122
|
constructor() {
|
@@ -11337,77 +11331,77 @@ const UploadFileClass = compose$1(
|
|
11337
11331
|
componentNameValidationMixin
|
11338
11332
|
)(RawUploadFile);
|
11339
11333
|
|
11340
|
-
const vars$
|
11334
|
+
const vars$D = UploadFileClass.cssVarList;
|
11341
11335
|
|
11342
11336
|
const uploadFile = {
|
11343
|
-
[vars$
|
11344
|
-
[vars$
|
11345
|
-
[vars$
|
11337
|
+
[vars$D.hostDirection]: refs$1.direction,
|
11338
|
+
[vars$D.labelTextColor]: refs$1.labelTextColor,
|
11339
|
+
[vars$D.fontFamily]: refs$1.fontFamily,
|
11346
11340
|
|
11347
|
-
[vars$
|
11341
|
+
[vars$D.iconSize]: '2em',
|
11348
11342
|
|
11349
|
-
[vars$
|
11350
|
-
[vars$
|
11343
|
+
[vars$D.hostPadding]: '0.75em',
|
11344
|
+
[vars$D.gap]: '0.5em',
|
11351
11345
|
|
11352
|
-
[vars$
|
11353
|
-
[vars$
|
11354
|
-
[vars$
|
11346
|
+
[vars$D.fontSize]: '16px',
|
11347
|
+
[vars$D.titleFontWeight]: '500',
|
11348
|
+
[vars$D.lineHeight]: '1em',
|
11355
11349
|
|
11356
|
-
[vars$
|
11357
|
-
[vars$
|
11358
|
-
[vars$
|
11359
|
-
[vars$
|
11350
|
+
[vars$D.borderWidth]: refs$1.borderWidth,
|
11351
|
+
[vars$D.borderColor]: refs$1.borderColor,
|
11352
|
+
[vars$D.borderRadius]: refs$1.borderRadius,
|
11353
|
+
[vars$D.borderStyle]: 'dashed',
|
11360
11354
|
|
11361
11355
|
_required: {
|
11362
|
-
[vars$
|
11356
|
+
[vars$D.requiredIndicator]: refs$1.requiredIndicator,
|
11363
11357
|
},
|
11364
11358
|
|
11365
11359
|
size: {
|
11366
11360
|
xs: {
|
11367
|
-
[vars$
|
11368
|
-
[vars$
|
11369
|
-
[vars$
|
11370
|
-
[vars$
|
11371
|
-
[vars$
|
11361
|
+
[vars$D.hostHeight]: '196px',
|
11362
|
+
[vars$D.hostWidth]: '200px',
|
11363
|
+
[vars$D.titleFontSize]: '0.875em',
|
11364
|
+
[vars$D.descriptionFontSize]: '0.875em',
|
11365
|
+
[vars$D.lineHeight]: '1.25em',
|
11372
11366
|
},
|
11373
11367
|
sm: {
|
11374
|
-
[vars$
|
11375
|
-
[vars$
|
11376
|
-
[vars$
|
11377
|
-
[vars$
|
11378
|
-
[vars$
|
11368
|
+
[vars$D.hostHeight]: '216px',
|
11369
|
+
[vars$D.hostWidth]: '230px',
|
11370
|
+
[vars$D.titleFontSize]: '1em',
|
11371
|
+
[vars$D.descriptionFontSize]: '0.875em',
|
11372
|
+
[vars$D.lineHeight]: '1.25em',
|
11379
11373
|
},
|
11380
11374
|
md: {
|
11381
|
-
[vars$
|
11382
|
-
[vars$
|
11383
|
-
[vars$
|
11384
|
-
[vars$
|
11385
|
-
[vars$
|
11375
|
+
[vars$D.hostHeight]: '256px',
|
11376
|
+
[vars$D.hostWidth]: '312px',
|
11377
|
+
[vars$D.titleFontSize]: '1.125em',
|
11378
|
+
[vars$D.descriptionFontSize]: '1em',
|
11379
|
+
[vars$D.lineHeight]: '1.5em',
|
11386
11380
|
},
|
11387
11381
|
lg: {
|
11388
|
-
[vars$
|
11389
|
-
[vars$
|
11390
|
-
[vars$
|
11391
|
-
[vars$
|
11392
|
-
[vars$
|
11382
|
+
[vars$D.hostHeight]: '280px',
|
11383
|
+
[vars$D.hostWidth]: '336px',
|
11384
|
+
[vars$D.titleFontSize]: '1.125em',
|
11385
|
+
[vars$D.descriptionFontSize]: '1.125em',
|
11386
|
+
[vars$D.lineHeight]: '1.75em',
|
11393
11387
|
},
|
11394
11388
|
},
|
11395
11389
|
|
11396
11390
|
_fullWidth: {
|
11397
|
-
[vars$
|
11391
|
+
[vars$D.hostWidth]: refs$1.width,
|
11398
11392
|
},
|
11399
11393
|
};
|
11400
11394
|
|
11401
11395
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
11402
11396
|
__proto__: null,
|
11403
11397
|
default: uploadFile,
|
11404
|
-
vars: vars$
|
11398
|
+
vars: vars$D
|
11405
11399
|
});
|
11406
11400
|
|
11407
|
-
const componentName$
|
11401
|
+
const componentName$H = getComponentName$1('button-selection-group-item');
|
11408
11402
|
|
11409
11403
|
class RawSelectItem extends createBaseClass({
|
11410
|
-
componentName: componentName$
|
11404
|
+
componentName: componentName$H,
|
11411
11405
|
baseSelector: ':host > descope-button',
|
11412
11406
|
}) {
|
11413
11407
|
get size() {
|
@@ -11520,37 +11514,37 @@ const ButtonSelectionGroupItemClass = compose$1(
|
|
11520
11514
|
|
11521
11515
|
const globalRefs$r = getThemeRefs(globals$1);
|
11522
11516
|
|
11523
|
-
const vars$
|
11517
|
+
const vars$C = ButtonSelectionGroupItemClass.cssVarList;
|
11524
11518
|
|
11525
11519
|
const buttonSelectionGroupItem = {
|
11526
|
-
[vars$
|
11527
|
-
[vars$
|
11528
|
-
[vars$
|
11529
|
-
[vars$
|
11530
|
-
[vars$
|
11531
|
-
[vars$
|
11532
|
-
[vars$
|
11533
|
-
[vars$
|
11520
|
+
[vars$C.hostDirection]: 'inherit',
|
11521
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.main,
|
11522
|
+
[vars$C.labelTextColor]: globalRefs$r.colors.surface.contrast,
|
11523
|
+
[vars$C.borderColor]: globalRefs$r.colors.surface.light,
|
11524
|
+
[vars$C.borderStyle]: 'solid',
|
11525
|
+
[vars$C.borderRadius]: globalRefs$r.radius.sm,
|
11526
|
+
[vars$C.outlineColor]: 'transparent',
|
11527
|
+
[vars$C.borderWidth]: globalRefs$r.border.xs,
|
11534
11528
|
|
11535
11529
|
_hover: {
|
11536
|
-
[vars$
|
11530
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.highlight,
|
11537
11531
|
},
|
11538
11532
|
|
11539
11533
|
_focused: {
|
11540
|
-
[vars$
|
11534
|
+
[vars$C.outlineColor]: globalRefs$r.colors.surface.light,
|
11541
11535
|
},
|
11542
11536
|
|
11543
11537
|
_selected: {
|
11544
|
-
[vars$
|
11545
|
-
[vars$
|
11546
|
-
[vars$
|
11538
|
+
[vars$C.borderColor]: globalRefs$r.colors.surface.contrast,
|
11539
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.contrast,
|
11540
|
+
[vars$C.labelTextColor]: globalRefs$r.colors.surface.main,
|
11547
11541
|
},
|
11548
11542
|
};
|
11549
11543
|
|
11550
11544
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
11551
11545
|
__proto__: null,
|
11552
11546
|
default: buttonSelectionGroupItem,
|
11553
|
-
vars: vars$
|
11547
|
+
vars: vars$C
|
11554
11548
|
});
|
11555
11549
|
|
11556
11550
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
@@ -11641,10 +11635,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
11641
11635
|
return BaseButtonSelectionGroupInternalClass;
|
11642
11636
|
};
|
11643
11637
|
|
11644
|
-
const componentName$
|
11638
|
+
const componentName$G = getComponentName$1('button-selection-group-internal');
|
11645
11639
|
|
11646
11640
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
11647
|
-
componentName$
|
11641
|
+
componentName$G
|
11648
11642
|
) {
|
11649
11643
|
getSelectedNode() {
|
11650
11644
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -11889,7 +11883,7 @@ const buttonSelectionGroupStyles = `
|
|
11889
11883
|
${resetInputCursor('vaadin-text-field')}
|
11890
11884
|
`;
|
11891
11885
|
|
11892
|
-
const componentName$
|
11886
|
+
const componentName$F = getComponentName$1('button-selection-group');
|
11893
11887
|
|
11894
11888
|
const buttonSelectionGroupMixin = (superclass) =>
|
11895
11889
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -11898,19 +11892,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
11898
11892
|
const template = document.createElement('template');
|
11899
11893
|
|
11900
11894
|
template.innerHTML = `
|
11901
|
-
<${componentName$
|
11895
|
+
<${componentName$G}
|
11902
11896
|
name="button-selection-group"
|
11903
11897
|
slot="input"
|
11904
11898
|
tabindex="-1"
|
11905
11899
|
part="internal-component"
|
11906
11900
|
>
|
11907
11901
|
<slot></slot>
|
11908
|
-
</${componentName$
|
11902
|
+
</${componentName$G}>
|
11909
11903
|
`;
|
11910
11904
|
|
11911
11905
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
11912
11906
|
|
11913
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
11907
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$G);
|
11914
11908
|
|
11915
11909
|
forwardAttrs$1(this, this.inputElement, {
|
11916
11910
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -11935,7 +11929,7 @@ const ButtonSelectionGroupClass = compose$1(
|
|
11935
11929
|
wrappedEleName: 'vaadin-text-field',
|
11936
11930
|
style: () => buttonSelectionGroupStyles,
|
11937
11931
|
excludeAttrsSync: ['tabindex'],
|
11938
|
-
componentName: componentName$
|
11932
|
+
componentName: componentName$F,
|
11939
11933
|
})
|
11940
11934
|
);
|
11941
11935
|
|
@@ -11960,22 +11954,22 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
11960
11954
|
[vars.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
11961
11955
|
});
|
11962
11956
|
|
11963
|
-
const vars$
|
11957
|
+
const vars$B = ButtonSelectionGroupClass.cssVarList;
|
11964
11958
|
|
11965
11959
|
const buttonSelectionGroup = {
|
11966
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
11960
|
+
...createBaseButtonSelectionGroupMappings(vars$B),
|
11967
11961
|
};
|
11968
11962
|
|
11969
11963
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
11970
11964
|
__proto__: null,
|
11971
11965
|
default: buttonSelectionGroup,
|
11972
|
-
vars: vars$
|
11966
|
+
vars: vars$B
|
11973
11967
|
});
|
11974
11968
|
|
11975
|
-
const componentName$
|
11969
|
+
const componentName$E = getComponentName$1('button-multi-selection-group-internal');
|
11976
11970
|
|
11977
11971
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
11978
|
-
componentName$
|
11972
|
+
componentName$E
|
11979
11973
|
) {
|
11980
11974
|
#getSelectedNodes() {
|
11981
11975
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -12078,7 +12072,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
12078
12072
|
}
|
12079
12073
|
}
|
12080
12074
|
|
12081
|
-
const componentName$
|
12075
|
+
const componentName$D = getComponentName$1('button-multi-selection-group');
|
12082
12076
|
|
12083
12077
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
12084
12078
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -12087,19 +12081,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
12087
12081
|
const template = document.createElement('template');
|
12088
12082
|
|
12089
12083
|
template.innerHTML = `
|
12090
|
-
<${componentName$
|
12084
|
+
<${componentName$E}
|
12091
12085
|
name="button-selection-group"
|
12092
12086
|
slot="input"
|
12093
12087
|
tabindex="-1"
|
12094
12088
|
part="internal-component"
|
12095
12089
|
>
|
12096
12090
|
<slot></slot>
|
12097
|
-
</${componentName$
|
12091
|
+
</${componentName$E}>
|
12098
12092
|
`;
|
12099
12093
|
|
12100
12094
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
12101
12095
|
|
12102
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
12096
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$E);
|
12103
12097
|
|
12104
12098
|
forwardAttrs$1(this, this.inputElement, {
|
12105
12099
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -12124,23 +12118,23 @@ const ButtonMultiSelectionGroupClass = compose$1(
|
|
12124
12118
|
wrappedEleName: 'vaadin-text-field',
|
12125
12119
|
style: () => buttonSelectionGroupStyles,
|
12126
12120
|
excludeAttrsSync: ['tabindex'],
|
12127
|
-
componentName: componentName$
|
12121
|
+
componentName: componentName$D,
|
12128
12122
|
})
|
12129
12123
|
);
|
12130
12124
|
|
12131
|
-
const vars$
|
12125
|
+
const vars$A = ButtonMultiSelectionGroupClass.cssVarList;
|
12132
12126
|
|
12133
12127
|
const buttonMultiSelectionGroup = {
|
12134
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
12128
|
+
...createBaseButtonSelectionGroupMappings(vars$A),
|
12135
12129
|
};
|
12136
12130
|
|
12137
12131
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
12138
12132
|
__proto__: null,
|
12139
12133
|
default: buttonMultiSelectionGroup,
|
12140
|
-
vars: vars$
|
12134
|
+
vars: vars$A
|
12141
12135
|
});
|
12142
12136
|
|
12143
|
-
const componentName$
|
12137
|
+
const componentName$C = getComponentName$1('modal');
|
12144
12138
|
|
12145
12139
|
const observedAttrs$3 = ['opened'];
|
12146
12140
|
|
@@ -12264,7 +12258,7 @@ const ModalClass = compose$1(
|
|
12264
12258
|
}
|
12265
12259
|
`,
|
12266
12260
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
12267
|
-
componentName: componentName$
|
12261
|
+
componentName: componentName$C,
|
12268
12262
|
})
|
12269
12263
|
);
|
12270
12264
|
|
@@ -12278,14 +12272,14 @@ const modal = {
|
|
12278
12272
|
[compVars$4.overlayWidth]: '540px',
|
12279
12273
|
};
|
12280
12274
|
|
12281
|
-
const vars$
|
12275
|
+
const vars$z = {
|
12282
12276
|
...compVars$4,
|
12283
12277
|
};
|
12284
12278
|
|
12285
12279
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
12286
12280
|
__proto__: null,
|
12287
12281
|
default: modal,
|
12288
|
-
vars: vars$
|
12282
|
+
vars: vars$z
|
12289
12283
|
});
|
12290
12284
|
|
12291
12285
|
const isValidDataType = (data) => {
|
@@ -12361,7 +12355,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
12361
12355
|
`;
|
12362
12356
|
};
|
12363
12357
|
|
12364
|
-
const componentName$
|
12358
|
+
const componentName$B = getComponentName$1('grid');
|
12365
12359
|
|
12366
12360
|
const GridMixin = (superclass) =>
|
12367
12361
|
class GridMixinClass extends superclass {
|
@@ -12715,52 +12709,52 @@ const GridClass = compose$1(
|
|
12715
12709
|
/*!css*/
|
12716
12710
|
`,
|
12717
12711
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
12718
|
-
componentName: componentName$
|
12712
|
+
componentName: componentName$B,
|
12719
12713
|
})
|
12720
12714
|
);
|
12721
12715
|
|
12722
12716
|
const globalRefs$o = getThemeRefs(globals$1);
|
12723
|
-
const vars$
|
12717
|
+
const vars$y = GridClass.cssVarList;
|
12724
12718
|
|
12725
12719
|
const grid = {
|
12726
|
-
[vars$
|
12727
|
-
[vars$
|
12728
|
-
[vars$
|
12729
|
-
[vars$
|
12730
|
-
[vars$
|
12731
|
-
|
12732
|
-
[vars$
|
12733
|
-
[vars$
|
12734
|
-
|
12735
|
-
[vars$
|
12736
|
-
[vars$
|
12737
|
-
[vars$
|
12738
|
-
|
12739
|
-
[vars$
|
12740
|
-
[vars$
|
12741
|
-
[vars$
|
12742
|
-
[vars$
|
12743
|
-
|
12744
|
-
[vars$
|
12745
|
-
[vars$
|
12746
|
-
|
12747
|
-
[vars$
|
12748
|
-
[vars$
|
12749
|
-
[vars$
|
12750
|
-
|
12751
|
-
[vars$
|
12752
|
-
[vars$
|
12753
|
-
[vars$
|
12754
|
-
[vars$
|
12755
|
-
[vars$
|
12756
|
-
[vars$
|
12757
|
-
[vars$
|
12758
|
-
[vars$
|
12759
|
-
[vars$
|
12760
|
-
[vars$
|
12720
|
+
[vars$y.hostWidth]: '100%',
|
12721
|
+
[vars$y.hostHeight]: '100%',
|
12722
|
+
[vars$y.hostMinHeight]: '400px',
|
12723
|
+
[vars$y.fontWeight]: '400',
|
12724
|
+
[vars$y.backgroundColor]: globalRefs$o.colors.surface.main,
|
12725
|
+
|
12726
|
+
[vars$y.fontSize]: refs$1.fontSize,
|
12727
|
+
[vars$y.fontFamily]: refs$1.fontFamily,
|
12728
|
+
|
12729
|
+
[vars$y.sortIndicatorsColor]: globalRefs$o.colors.surface.light,
|
12730
|
+
[vars$y.activeSortIndicator]: globalRefs$o.colors.surface.dark,
|
12731
|
+
[vars$y.resizeHandleColor]: globalRefs$o.colors.surface.light,
|
12732
|
+
|
12733
|
+
[vars$y.borderWidth]: refs$1.borderWidth,
|
12734
|
+
[vars$y.borderStyle]: refs$1.borderStyle,
|
12735
|
+
[vars$y.borderRadius]: refs$1.borderRadius,
|
12736
|
+
[vars$y.borderColor]: 'transparent',
|
12737
|
+
|
12738
|
+
[vars$y.headerRowTextColor]: globalRefs$o.colors.surface.dark,
|
12739
|
+
[vars$y.separatorColor]: globalRefs$o.colors.surface.light,
|
12740
|
+
|
12741
|
+
[vars$y.valueTextColor]: globalRefs$o.colors.surface.contrast,
|
12742
|
+
[vars$y.selectedBackgroundColor]: globalRefs$o.colors.surface.highlight,
|
12743
|
+
[vars$y.hostDirection]: globalRefs$o.direction,
|
12744
|
+
|
12745
|
+
[vars$y.toggleDetailsPanelButtonSize]: '1em',
|
12746
|
+
[vars$y.toggleDetailsPanelButtonOpenedColor]: globalRefs$o.colors.surface.contrast,
|
12747
|
+
[vars$y.toggleDetailsPanelButtonClosedColor]: globalRefs$o.colors.surface.light,
|
12748
|
+
[vars$y.toggleDetailsPanelButtonCursor]: 'pointer',
|
12749
|
+
[vars$y.detailsPanelBackgroundColor]: globalRefs$o.colors.surface.highlight,
|
12750
|
+
[vars$y.detailsPanelBorderTopColor]: globalRefs$o.colors.surface.light,
|
12751
|
+
[vars$y.detailsPanelLabelsColor]: globalRefs$o.colors.surface.dark,
|
12752
|
+
[vars$y.detailsPanelLabelsFontSize]: '0.8em',
|
12753
|
+
[vars$y.detailsPanelItemsGap]: '2em',
|
12754
|
+
[vars$y.detailsPanelPadding]: '12px 0',
|
12761
12755
|
|
12762
12756
|
_bordered: {
|
12763
|
-
[vars$
|
12757
|
+
[vars$y.borderColor]: refs$1.borderColor,
|
12764
12758
|
},
|
12765
12759
|
};
|
12766
12760
|
|
@@ -12768,10 +12762,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
12768
12762
|
__proto__: null,
|
12769
12763
|
default: grid,
|
12770
12764
|
grid: grid,
|
12771
|
-
vars: vars$
|
12765
|
+
vars: vars$y
|
12772
12766
|
});
|
12773
12767
|
|
12774
|
-
const componentName$
|
12768
|
+
const componentName$A = getComponentName$1('notification-card');
|
12775
12769
|
|
12776
12770
|
const notificationCardMixin = (superclass) =>
|
12777
12771
|
class NotificationCardMixinClass extends superclass {
|
@@ -12879,54 +12873,54 @@ const NotificationCardClass = compose$1(
|
|
12879
12873
|
}
|
12880
12874
|
`,
|
12881
12875
|
excludeAttrsSync: ['tabindex'],
|
12882
|
-
componentName: componentName$
|
12876
|
+
componentName: componentName$A,
|
12883
12877
|
})
|
12884
12878
|
);
|
12885
12879
|
|
12886
12880
|
const globalRefs$n = getThemeRefs(globals$1);
|
12887
|
-
const vars$
|
12881
|
+
const vars$x = NotificationCardClass.cssVarList;
|
12888
12882
|
|
12889
12883
|
const shadowColor$3 = '#00000020';
|
12890
12884
|
|
12891
12885
|
const notification = {
|
12892
|
-
[vars$
|
12893
|
-
[vars$
|
12894
|
-
[vars$
|
12895
|
-
[vars$
|
12896
|
-
[vars$
|
12897
|
-
[vars$
|
12898
|
-
[vars$
|
12899
|
-
[vars$
|
12900
|
-
[vars$
|
12886
|
+
[vars$x.hostMinWidth]: '415px',
|
12887
|
+
[vars$x.fontFamily]: globalRefs$n.fonts.font1.family,
|
12888
|
+
[vars$x.fontSize]: globalRefs$n.typography.body1.size,
|
12889
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.surface.main,
|
12890
|
+
[vars$x.textColor]: globalRefs$n.colors.surface.contrast,
|
12891
|
+
[vars$x.boxShadow]: `${globalRefs$n.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$n.shadow.narrow.xl} ${shadowColor$3}`,
|
12892
|
+
[vars$x.verticalPadding]: '0.625em',
|
12893
|
+
[vars$x.horizontalPadding]: '1.5em',
|
12894
|
+
[vars$x.borderRadius]: globalRefs$n.radius.xs,
|
12901
12895
|
|
12902
12896
|
_bordered: {
|
12903
|
-
[vars$
|
12904
|
-
[vars$
|
12905
|
-
[vars$
|
12897
|
+
[vars$x.borderWidth]: globalRefs$n.border.sm,
|
12898
|
+
[vars$x.borderStyle]: 'solid',
|
12899
|
+
[vars$x.borderColor]: 'transparent',
|
12906
12900
|
},
|
12907
12901
|
|
12908
12902
|
size: {
|
12909
|
-
xs: { [vars$
|
12910
|
-
sm: { [vars$
|
12911
|
-
md: { [vars$
|
12912
|
-
lg: { [vars$
|
12903
|
+
xs: { [vars$x.fontSize]: '12px' },
|
12904
|
+
sm: { [vars$x.fontSize]: '14px' },
|
12905
|
+
md: { [vars$x.fontSize]: '16px' },
|
12906
|
+
lg: { [vars$x.fontSize]: '18px' },
|
12913
12907
|
},
|
12914
12908
|
|
12915
12909
|
mode: {
|
12916
12910
|
primary: {
|
12917
|
-
[vars$
|
12918
|
-
[vars$
|
12919
|
-
[vars$
|
12911
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.primary.main,
|
12912
|
+
[vars$x.textColor]: globalRefs$n.colors.primary.contrast,
|
12913
|
+
[vars$x.borderColor]: globalRefs$n.colors.primary.light,
|
12920
12914
|
},
|
12921
12915
|
success: {
|
12922
|
-
[vars$
|
12923
|
-
[vars$
|
12924
|
-
[vars$
|
12916
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.success.main,
|
12917
|
+
[vars$x.textColor]: globalRefs$n.colors.success.contrast,
|
12918
|
+
[vars$x.borderColor]: globalRefs$n.colors.success.light,
|
12925
12919
|
},
|
12926
12920
|
error: {
|
12927
|
-
[vars$
|
12928
|
-
[vars$
|
12929
|
-
[vars$
|
12921
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.error.main,
|
12922
|
+
[vars$x.textColor]: globalRefs$n.colors.error.contrast,
|
12923
|
+
[vars$x.borderColor]: globalRefs$n.colors.error.light,
|
12930
12924
|
},
|
12931
12925
|
},
|
12932
12926
|
};
|
@@ -12934,10 +12928,10 @@ const notification = {
|
|
12934
12928
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
12935
12929
|
__proto__: null,
|
12936
12930
|
default: notification,
|
12937
|
-
vars: vars$
|
12931
|
+
vars: vars$x
|
12938
12932
|
});
|
12939
12933
|
|
12940
|
-
const componentName$
|
12934
|
+
const componentName$z = getComponentName$1('multi-select-combo-box');
|
12941
12935
|
|
12942
12936
|
const multiSelectComboBoxMixin = (superclass) =>
|
12943
12937
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -13590,101 +13584,101 @@ const MultiSelectComboBoxClass = compose$1(
|
|
13590
13584
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
13591
13585
|
// tries to override it, causing us to lose the user set placeholder.
|
13592
13586
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
13593
|
-
componentName: componentName$
|
13587
|
+
componentName: componentName$z,
|
13594
13588
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
13595
13589
|
})
|
13596
13590
|
);
|
13597
13591
|
|
13598
13592
|
const globalRefs$m = getThemeRefs(globals$1);
|
13599
|
-
const vars$
|
13593
|
+
const vars$w = MultiSelectComboBoxClass.cssVarList;
|
13600
13594
|
|
13601
13595
|
const multiSelectComboBox = {
|
13602
|
-
[vars$
|
13603
|
-
[vars$
|
13604
|
-
[vars$
|
13605
|
-
[vars$
|
13606
|
-
[vars$
|
13607
|
-
[vars$
|
13608
|
-
[vars$
|
13609
|
-
[vars$
|
13610
|
-
[vars$
|
13611
|
-
[vars$
|
13612
|
-
[vars$
|
13613
|
-
[vars$
|
13614
|
-
[vars$
|
13615
|
-
[vars$
|
13616
|
-
[vars$
|
13617
|
-
[vars$
|
13618
|
-
[vars$
|
13619
|
-
[vars$
|
13620
|
-
[vars$
|
13621
|
-
[vars$
|
13622
|
-
[vars$
|
13623
|
-
[vars$
|
13624
|
-
[vars$
|
13625
|
-
[vars$
|
13626
|
-
[vars$
|
13627
|
-
[vars$
|
13628
|
-
[vars$
|
13629
|
-
[vars$
|
13630
|
-
[vars$
|
13631
|
-
[vars$
|
13632
|
-
[vars$
|
13633
|
-
[vars$
|
13634
|
-
[vars$
|
13635
|
-
[vars$
|
13636
|
-
[vars$
|
13637
|
-
[vars$
|
13638
|
-
[vars$
|
13639
|
-
[vars$
|
13640
|
-
[vars$
|
13641
|
-
[vars$
|
13642
|
-
[vars$
|
13596
|
+
[vars$w.hostWidth]: refs$1.width,
|
13597
|
+
[vars$w.hostDirection]: refs$1.direction,
|
13598
|
+
[vars$w.fontSize]: refs$1.fontSize,
|
13599
|
+
[vars$w.fontFamily]: refs$1.fontFamily,
|
13600
|
+
[vars$w.labelFontSize]: refs$1.labelFontSize,
|
13601
|
+
[vars$w.labelFontWeight]: refs$1.labelFontWeight,
|
13602
|
+
[vars$w.labelTextColor]: refs$1.labelTextColor,
|
13603
|
+
[vars$w.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
13604
|
+
[vars$w.inputBorderColor]: refs$1.borderColor,
|
13605
|
+
[vars$w.inputBorderWidth]: refs$1.borderWidth,
|
13606
|
+
[vars$w.inputBorderStyle]: refs$1.borderStyle,
|
13607
|
+
[vars$w.inputBorderRadius]: refs$1.borderRadius,
|
13608
|
+
[vars$w.inputOutlineColor]: refs$1.outlineColor,
|
13609
|
+
[vars$w.inputOutlineOffset]: refs$1.outlineOffset,
|
13610
|
+
[vars$w.inputOutlineWidth]: refs$1.outlineWidth,
|
13611
|
+
[vars$w.inputOutlineStyle]: refs$1.outlineStyle,
|
13612
|
+
[vars$w.labelRequiredIndicator]: refs$1.requiredIndicator,
|
13613
|
+
[vars$w.inputValueTextColor]: refs$1.valueTextColor,
|
13614
|
+
[vars$w.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
13615
|
+
[vars$w.inputBackgroundColor]: refs$1.backgroundColor,
|
13616
|
+
[vars$w.inputHorizontalPadding]: refs$1.horizontalPadding,
|
13617
|
+
[vars$w.inputVerticalPadding]: refs$1.verticalPadding,
|
13618
|
+
[vars$w.inputHeight]: refs$1.inputHeight,
|
13619
|
+
[vars$w.inputDropdownButtonColor]: globalRefs$m.colors.surface.dark,
|
13620
|
+
[vars$w.inputDropdownButtonCursor]: 'pointer',
|
13621
|
+
[vars$w.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
13622
|
+
[vars$w.inputDropdownButtonOffset]: globalRefs$m.spacing.xs,
|
13623
|
+
[vars$w.overlayItemPaddingInlineStart]: globalRefs$m.spacing.xs,
|
13624
|
+
[vars$w.overlayItemPaddingInlineEnd]: globalRefs$m.spacing.lg,
|
13625
|
+
[vars$w.chipFontSize]: refs$1.chipFontSize,
|
13626
|
+
[vars$w.chipTextColor]: globalRefs$m.colors.surface.contrast,
|
13627
|
+
[vars$w.chipBackgroundColor]: globalRefs$m.colors.surface.light,
|
13628
|
+
[vars$w.labelPosition]: refs$1.labelPosition,
|
13629
|
+
[vars$w.labelTopPosition]: refs$1.labelTopPosition,
|
13630
|
+
[vars$w.labelLeftPosition]: refs$1.labelLeftPosition,
|
13631
|
+
[vars$w.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
13632
|
+
[vars$w.inputTransformY]: refs$1.inputTransformY,
|
13633
|
+
[vars$w.inputTransition]: refs$1.inputTransition,
|
13634
|
+
[vars$w.marginInlineStart]: refs$1.marginInlineStart,
|
13635
|
+
[vars$w.placeholderOpacity]: refs$1.placeholderOpacity,
|
13636
|
+
[vars$w.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
13643
13637
|
|
13644
13638
|
// error message icon
|
13645
|
-
[vars$
|
13646
|
-
[vars$
|
13647
|
-
[vars$
|
13648
|
-
[vars$
|
13649
|
-
[vars$
|
13650
|
-
[vars$
|
13639
|
+
[vars$w.errorMessageIcon]: refs$1.errorMessageIcon,
|
13640
|
+
[vars$w.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
13641
|
+
[vars$w.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
13642
|
+
[vars$w.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
13643
|
+
[vars$w.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
13644
|
+
[vars$w.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
13651
13645
|
|
13652
13646
|
labelType: {
|
13653
13647
|
floating: {
|
13654
|
-
[vars$
|
13648
|
+
[vars$w.inputHorizontalPadding]: '0.25em',
|
13655
13649
|
_hasValue: {
|
13656
|
-
[vars$
|
13650
|
+
[vars$w.inputHorizontalPadding]: '0.45em',
|
13657
13651
|
},
|
13658
13652
|
},
|
13659
13653
|
},
|
13660
13654
|
|
13661
13655
|
_readonly: {
|
13662
|
-
[vars$
|
13656
|
+
[vars$w.inputDropdownButtonCursor]: 'default',
|
13663
13657
|
},
|
13664
13658
|
|
13665
13659
|
// Overlay theme exposed via the component:
|
13666
|
-
[vars$
|
13667
|
-
[vars$
|
13668
|
-
[vars$
|
13669
|
-
[vars$
|
13670
|
-
[vars$
|
13671
|
-
[vars$
|
13660
|
+
[vars$w.overlayFontSize]: refs$1.fontSize,
|
13661
|
+
[vars$w.overlayFontFamily]: refs$1.fontFamily,
|
13662
|
+
[vars$w.overlayCursor]: 'pointer',
|
13663
|
+
[vars$w.overlayItemBoxShadow]: 'none',
|
13664
|
+
[vars$w.overlayBackground]: refs$1.backgroundColor,
|
13665
|
+
[vars$w.overlayTextColor]: refs$1.valueTextColor,
|
13672
13666
|
|
13673
13667
|
// Overlay direct theme:
|
13674
|
-
[vars$
|
13675
|
-
[vars$
|
13668
|
+
[vars$w.overlay.minHeight]: '400px',
|
13669
|
+
[vars$w.overlay.margin]: '0',
|
13676
13670
|
};
|
13677
13671
|
|
13678
13672
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
13679
13673
|
__proto__: null,
|
13680
13674
|
default: multiSelectComboBox,
|
13681
13675
|
multiSelectComboBox: multiSelectComboBox,
|
13682
|
-
vars: vars$
|
13676
|
+
vars: vars$w
|
13683
13677
|
});
|
13684
13678
|
|
13685
|
-
const componentName$
|
13679
|
+
const componentName$y = getComponentName$1('badge');
|
13686
13680
|
|
13687
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
13681
|
+
class RawBadge extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
|
13688
13682
|
constructor() {
|
13689
13683
|
super();
|
13690
13684
|
|
@@ -13740,65 +13734,65 @@ const BadgeClass = compose$1(
|
|
13740
13734
|
)(RawBadge);
|
13741
13735
|
|
13742
13736
|
const globalRefs$l = getThemeRefs(globals$1);
|
13743
|
-
const vars$
|
13737
|
+
const vars$v = BadgeClass.cssVarList;
|
13744
13738
|
|
13745
13739
|
const badge$2 = {
|
13746
|
-
[vars$
|
13747
|
-
[vars$
|
13740
|
+
[vars$v.hostWidth]: 'fit-content',
|
13741
|
+
[vars$v.hostDirection]: globalRefs$l.direction,
|
13748
13742
|
|
13749
|
-
[vars$
|
13743
|
+
[vars$v.textAlign]: 'center',
|
13750
13744
|
|
13751
|
-
[vars$
|
13752
|
-
[vars$
|
13745
|
+
[vars$v.fontFamily]: globalRefs$l.fonts.font1.family,
|
13746
|
+
[vars$v.fontWeight]: '400',
|
13753
13747
|
|
13754
|
-
[vars$
|
13755
|
-
[vars$
|
13748
|
+
[vars$v.verticalPadding]: '0.25em',
|
13749
|
+
[vars$v.horizontalPadding]: '0.5em',
|
13756
13750
|
|
13757
|
-
[vars$
|
13758
|
-
[vars$
|
13759
|
-
[vars$
|
13760
|
-
[vars$
|
13751
|
+
[vars$v.borderWidth]: globalRefs$l.border.xs,
|
13752
|
+
[vars$v.borderRadius]: globalRefs$l.radius.xs,
|
13753
|
+
[vars$v.borderColor]: 'transparent',
|
13754
|
+
[vars$v.borderStyle]: 'solid',
|
13761
13755
|
|
13762
13756
|
_fullWidth: {
|
13763
|
-
[vars$
|
13757
|
+
[vars$v.hostWidth]: '100%',
|
13764
13758
|
},
|
13765
13759
|
|
13766
13760
|
size: {
|
13767
|
-
xs: { [vars$
|
13768
|
-
sm: { [vars$
|
13769
|
-
md: { [vars$
|
13770
|
-
lg: { [vars$
|
13761
|
+
xs: { [vars$v.fontSize]: '12px' },
|
13762
|
+
sm: { [vars$v.fontSize]: '14px' },
|
13763
|
+
md: { [vars$v.fontSize]: '16px' },
|
13764
|
+
lg: { [vars$v.fontSize]: '18px' },
|
13771
13765
|
},
|
13772
13766
|
|
13773
13767
|
mode: {
|
13774
13768
|
default: {
|
13775
|
-
[vars$
|
13769
|
+
[vars$v.textColor]: globalRefs$l.colors.surface.dark,
|
13776
13770
|
_bordered: {
|
13777
|
-
[vars$
|
13771
|
+
[vars$v.borderColor]: globalRefs$l.colors.surface.light,
|
13778
13772
|
},
|
13779
13773
|
},
|
13780
13774
|
primary: {
|
13781
|
-
[vars$
|
13775
|
+
[vars$v.textColor]: globalRefs$l.colors.primary.main,
|
13782
13776
|
_bordered: {
|
13783
|
-
[vars$
|
13777
|
+
[vars$v.borderColor]: globalRefs$l.colors.primary.light,
|
13784
13778
|
},
|
13785
13779
|
},
|
13786
13780
|
secondary: {
|
13787
|
-
[vars$
|
13781
|
+
[vars$v.textColor]: globalRefs$l.colors.secondary.main,
|
13788
13782
|
_bordered: {
|
13789
|
-
[vars$
|
13783
|
+
[vars$v.borderColor]: globalRefs$l.colors.secondary.light,
|
13790
13784
|
},
|
13791
13785
|
},
|
13792
13786
|
error: {
|
13793
|
-
[vars$
|
13787
|
+
[vars$v.textColor]: globalRefs$l.colors.error.main,
|
13794
13788
|
_bordered: {
|
13795
|
-
[vars$
|
13789
|
+
[vars$v.borderColor]: globalRefs$l.colors.error.light,
|
13796
13790
|
},
|
13797
13791
|
},
|
13798
13792
|
success: {
|
13799
|
-
[vars$
|
13793
|
+
[vars$v.textColor]: globalRefs$l.colors.success.main,
|
13800
13794
|
_bordered: {
|
13801
|
-
[vars$
|
13795
|
+
[vars$v.borderColor]: globalRefs$l.colors.success.light,
|
13802
13796
|
},
|
13803
13797
|
},
|
13804
13798
|
},
|
@@ -13807,12 +13801,12 @@ const badge$2 = {
|
|
13807
13801
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
13808
13802
|
__proto__: null,
|
13809
13803
|
default: badge$2,
|
13810
|
-
vars: vars$
|
13804
|
+
vars: vars$v
|
13811
13805
|
});
|
13812
13806
|
|
13813
|
-
const componentName$
|
13807
|
+
const componentName$x = getComponentName('avatar');
|
13814
13808
|
class RawAvatar extends createBaseClass$1({
|
13815
|
-
componentName: componentName$
|
13809
|
+
componentName: componentName$x,
|
13816
13810
|
baseSelector: ':host > .wrapper',
|
13817
13811
|
}) {
|
13818
13812
|
constructor() {
|
@@ -13955,21 +13949,21 @@ const avatar = {
|
|
13955
13949
|
},
|
13956
13950
|
};
|
13957
13951
|
|
13958
|
-
const vars$
|
13952
|
+
const vars$u = {
|
13959
13953
|
...compVars$3,
|
13960
13954
|
};
|
13961
13955
|
|
13962
13956
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
13963
13957
|
__proto__: null,
|
13964
13958
|
default: avatar,
|
13965
|
-
vars: vars$
|
13959
|
+
vars: vars$u
|
13966
13960
|
});
|
13967
13961
|
|
13968
|
-
const componentName$
|
13962
|
+
const componentName$w = getComponentName$1('mappings-field-internal');
|
13969
13963
|
|
13970
|
-
createBaseInputClass({ componentName: componentName$
|
13964
|
+
createBaseInputClass({ componentName: componentName$w, baseSelector: 'div' });
|
13971
13965
|
|
13972
|
-
const componentName$
|
13966
|
+
const componentName$v = getComponentName$1('mappings-field');
|
13973
13967
|
|
13974
13968
|
const customMixin$6 = (superclass) =>
|
13975
13969
|
class MappingsFieldMixinClass extends superclass {
|
@@ -13998,14 +13992,14 @@ const customMixin$6 = (superclass) =>
|
|
13998
13992
|
const template = document.createElement('template');
|
13999
13993
|
|
14000
13994
|
template.innerHTML = `
|
14001
|
-
<${componentName$
|
13995
|
+
<${componentName$w}
|
14002
13996
|
tabindex="-1"
|
14003
|
-
></${componentName$
|
13997
|
+
></${componentName$w}>
|
14004
13998
|
`;
|
14005
13999
|
|
14006
14000
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
14007
14001
|
|
14008
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
14002
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$w);
|
14009
14003
|
|
14010
14004
|
forwardAttrs$1(this, this.inputElement, {
|
14011
14005
|
includeAttrs: [
|
@@ -14140,47 +14134,47 @@ const MappingsFieldClass = compose$1(
|
|
14140
14134
|
'options',
|
14141
14135
|
'error-message',
|
14142
14136
|
],
|
14143
|
-
componentName: componentName$
|
14137
|
+
componentName: componentName$v,
|
14144
14138
|
})
|
14145
14139
|
);
|
14146
14140
|
|
14147
14141
|
const globalRefs$j = getThemeRefs(globals$1);
|
14148
14142
|
|
14149
|
-
const vars$
|
14143
|
+
const vars$t = MappingsFieldClass.cssVarList;
|
14150
14144
|
|
14151
14145
|
const mappingsField = {
|
14152
|
-
[vars$
|
14153
|
-
[vars$
|
14154
|
-
[vars$
|
14155
|
-
[vars$
|
14156
|
-
[vars$
|
14157
|
-
[vars$
|
14158
|
-
[vars$
|
14159
|
-
[vars$
|
14160
|
-
[vars$
|
14161
|
-
[vars$
|
14146
|
+
[vars$t.hostWidth]: refs$1.width,
|
14147
|
+
[vars$t.hostDirection]: refs$1.direction,
|
14148
|
+
[vars$t.fontSize]: refs$1.fontSize,
|
14149
|
+
[vars$t.fontFamily]: refs$1.fontFamily,
|
14150
|
+
[vars$t.separatorFontSize]: '14px',
|
14151
|
+
[vars$t.labelsFontSize]: '14px',
|
14152
|
+
[vars$t.labelsLineHeight]: '1',
|
14153
|
+
[vars$t.labelsMarginBottom]: '6px',
|
14154
|
+
[vars$t.labelTextColor]: refs$1.labelTextColor,
|
14155
|
+
[vars$t.itemMarginBottom]: '1em',
|
14162
14156
|
// To be positioned correctly, the min width has to match the text field min width
|
14163
|
-
[vars$
|
14157
|
+
[vars$t.valueLabelMinWidth]: refs$1.minWidth,
|
14164
14158
|
// To be positioned correctly, the min width has to match the combo box field min width
|
14165
|
-
[vars$
|
14166
|
-
[vars$
|
14167
|
-
[vars$
|
14159
|
+
[vars$t.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$j.border.xs})`,
|
14160
|
+
[vars$t.separatorWidth]: '70px',
|
14161
|
+
[vars$t.removeButtonWidth]: '60px',
|
14168
14162
|
};
|
14169
14163
|
|
14170
14164
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
14171
14165
|
__proto__: null,
|
14172
14166
|
default: mappingsField,
|
14173
14167
|
mappingsField: mappingsField,
|
14174
|
-
vars: vars$
|
14168
|
+
vars: vars$t
|
14175
14169
|
});
|
14176
14170
|
|
14177
14171
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
14178
14172
|
|
14179
14173
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
14180
14174
|
|
14181
|
-
const componentName$
|
14175
|
+
const componentName$u = getComponentName$1('user-attribute');
|
14182
14176
|
class RawUserAttribute extends createBaseClass({
|
14183
|
-
componentName: componentName$
|
14177
|
+
componentName: componentName$u,
|
14184
14178
|
baseSelector: ':host > .root',
|
14185
14179
|
}) {
|
14186
14180
|
constructor() {
|
@@ -14425,31 +14419,31 @@ const UserAttributeClass = compose$1(
|
|
14425
14419
|
)(RawUserAttribute);
|
14426
14420
|
|
14427
14421
|
const globalRefs$i = getThemeRefs(globals$1);
|
14428
|
-
const vars$
|
14422
|
+
const vars$s = UserAttributeClass.cssVarList;
|
14429
14423
|
|
14430
14424
|
const userAttribute = {
|
14431
|
-
[vars$
|
14432
|
-
[vars$
|
14433
|
-
[vars$
|
14434
|
-
[vars$
|
14435
|
-
[vars$
|
14436
|
-
[vars$
|
14425
|
+
[vars$s.hostDirection]: globalRefs$i.direction,
|
14426
|
+
[vars$s.labelTextWidth]: '150px',
|
14427
|
+
[vars$s.valueTextWidth]: '200px',
|
14428
|
+
[vars$s.badgeMaxWidth]: '85px',
|
14429
|
+
[vars$s.itemsGap]: '16px',
|
14430
|
+
[vars$s.hostMinWidth]: '530px',
|
14437
14431
|
_fullWidth: {
|
14438
|
-
[vars$
|
14432
|
+
[vars$s.hostWidth]: '100%',
|
14439
14433
|
},
|
14440
14434
|
};
|
14441
14435
|
|
14442
14436
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
14443
14437
|
__proto__: null,
|
14444
14438
|
default: userAttribute,
|
14445
|
-
vars: vars$
|
14439
|
+
vars: vars$s
|
14446
14440
|
});
|
14447
14441
|
|
14448
14442
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
14449
14443
|
|
14450
|
-
const componentName$
|
14444
|
+
const componentName$t = getComponentName$1('user-auth-method');
|
14451
14445
|
class RawUserAuthMethod extends createBaseClass({
|
14452
|
-
componentName: componentName$
|
14446
|
+
componentName: componentName$t,
|
14453
14447
|
baseSelector: ':host > .root',
|
14454
14448
|
}) {
|
14455
14449
|
constructor() {
|
@@ -14645,31 +14639,31 @@ const UserAuthMethodClass = compose$1(
|
|
14645
14639
|
)(RawUserAuthMethod);
|
14646
14640
|
|
14647
14641
|
const globalRefs$h = getThemeRefs(globals$1);
|
14648
|
-
const vars$
|
14642
|
+
const vars$r = UserAuthMethodClass.cssVarList;
|
14649
14643
|
|
14650
14644
|
const userAuthMethod = {
|
14651
|
-
[vars$
|
14652
|
-
[vars$
|
14653
|
-
[vars$
|
14654
|
-
[vars$
|
14655
|
-
[vars$
|
14656
|
-
[vars$
|
14645
|
+
[vars$r.hostDirection]: globalRefs$h.direction,
|
14646
|
+
[vars$r.labelTextWidth]: '200px',
|
14647
|
+
[vars$r.itemsGap]: '16px',
|
14648
|
+
[vars$r.hostMinWidth]: '530px',
|
14649
|
+
[vars$r.iconSize]: '24px',
|
14650
|
+
[vars$r.iconColor]: 'currentcolor',
|
14657
14651
|
_fullWidth: {
|
14658
|
-
[vars$
|
14652
|
+
[vars$r.hostWidth]: '100%',
|
14659
14653
|
},
|
14660
14654
|
};
|
14661
14655
|
|
14662
14656
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
14663
14657
|
__proto__: null,
|
14664
14658
|
default: userAuthMethod,
|
14665
|
-
vars: vars$
|
14659
|
+
vars: vars$r
|
14666
14660
|
});
|
14667
14661
|
|
14668
|
-
const componentName$
|
14662
|
+
const componentName$s = getComponentName$1('saml-group-mappings-internal');
|
14669
14663
|
|
14670
|
-
createBaseInputClass({ componentName: componentName$
|
14664
|
+
createBaseInputClass({ componentName: componentName$s, baseSelector: '' });
|
14671
14665
|
|
14672
|
-
const componentName$
|
14666
|
+
const componentName$r = getComponentName$1('saml-group-mappings');
|
14673
14667
|
|
14674
14668
|
const customMixin$5 = (superclass) =>
|
14675
14669
|
class SamlGroupMappingsMixinClass extends superclass {
|
@@ -14679,14 +14673,14 @@ const customMixin$5 = (superclass) =>
|
|
14679
14673
|
const template = document.createElement('template');
|
14680
14674
|
|
14681
14675
|
template.innerHTML = `
|
14682
|
-
<${componentName$
|
14676
|
+
<${componentName$s}
|
14683
14677
|
tabindex="-1"
|
14684
|
-
></${componentName$
|
14678
|
+
></${componentName$s}>
|
14685
14679
|
`;
|
14686
14680
|
|
14687
14681
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
14688
14682
|
|
14689
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
14683
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$s);
|
14690
14684
|
|
14691
14685
|
forwardAttrs$1(this, this.inputElement, {
|
14692
14686
|
includeAttrs: [
|
@@ -14770,69 +14764,69 @@ const SamlGroupMappingsClass = compose$1(
|
|
14770
14764
|
'options',
|
14771
14765
|
'error-message',
|
14772
14766
|
],
|
14773
|
-
componentName: componentName$
|
14767
|
+
componentName: componentName$r,
|
14774
14768
|
})
|
14775
14769
|
);
|
14776
14770
|
|
14777
|
-
const vars$
|
14771
|
+
const vars$q = SamlGroupMappingsClass.cssVarList;
|
14778
14772
|
|
14779
14773
|
const samlGroupMappings = {
|
14780
|
-
[vars$
|
14781
|
-
[vars$
|
14782
|
-
[vars$
|
14774
|
+
[vars$q.hostWidth]: refs$1.width,
|
14775
|
+
[vars$q.hostDirection]: refs$1.direction,
|
14776
|
+
[vars$q.groupNameInputMarginBottom]: '1em',
|
14783
14777
|
|
14784
14778
|
// error message icon
|
14785
|
-
[vars$
|
14786
|
-
[vars$
|
14787
|
-
[vars$
|
14788
|
-
[vars$
|
14789
|
-
[vars$
|
14790
|
-
[vars$
|
14779
|
+
[vars$q.errorMessageIcon]: refs$1.errorMessageIcon,
|
14780
|
+
[vars$q.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
14781
|
+
[vars$q.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
14782
|
+
[vars$q.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
14783
|
+
[vars$q.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
14784
|
+
[vars$q.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
14791
14785
|
};
|
14792
14786
|
|
14793
14787
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
14794
14788
|
__proto__: null,
|
14795
14789
|
default: samlGroupMappings,
|
14796
14790
|
samlGroupMappings: samlGroupMappings,
|
14797
|
-
vars: vars$
|
14791
|
+
vars: vars$q
|
14798
14792
|
});
|
14799
14793
|
|
14800
14794
|
const globalRefs$g = getThemeRefs(globals$1);
|
14801
|
-
const vars$
|
14795
|
+
const vars$p = PolicyValidationClass.cssVarList;
|
14802
14796
|
|
14803
14797
|
const policyValidation = {
|
14804
|
-
[vars$
|
14805
|
-
[vars$
|
14806
|
-
[vars$
|
14807
|
-
[vars$
|
14808
|
-
[vars$
|
14809
|
-
[vars$
|
14810
|
-
[vars$
|
14811
|
-
[vars$
|
14812
|
-
[vars$
|
14813
|
-
[vars$
|
14814
|
-
[vars$
|
14815
|
-
[vars$
|
14816
|
-
[vars$
|
14817
|
-
[vars$
|
14818
|
-
[vars$
|
14819
|
-
[vars$
|
14798
|
+
[vars$p.fontFamily]: refs$1.fontFamily,
|
14799
|
+
[vars$p.fontSize]: refs$1.labelFontSize,
|
14800
|
+
[vars$p.textColor]: refs$1.labelTextColor,
|
14801
|
+
[vars$p.borderWidth]: refs$1.borderWidth,
|
14802
|
+
[vars$p.borderStyle]: refs$1.borderStyle,
|
14803
|
+
[vars$p.borderColor]: refs$1.borderColor,
|
14804
|
+
[vars$p.borderRadius]: globalRefs$g.radius.sm,
|
14805
|
+
[vars$p.backgroundColor]: 'none',
|
14806
|
+
[vars$p.padding]: '0px',
|
14807
|
+
[vars$p.labelMargin]: globalRefs$g.spacing.sm,
|
14808
|
+
[vars$p.itemsSpacing]: globalRefs$g.spacing.lg,
|
14809
|
+
[vars$p.itemSymbolDefault]: "'\\2022'", // "•"
|
14810
|
+
[vars$p.itemSymbolSuccess]: "'\\2713'", // "✓"
|
14811
|
+
[vars$p.itemSymbolError]: "'\\2A09'", // "⨉"
|
14812
|
+
[vars$p.itemSymbolSuccessColor]: globalRefs$g.colors.success.main,
|
14813
|
+
[vars$p.itemSymbolErrorColor]: globalRefs$g.colors.error.main,
|
14820
14814
|
};
|
14821
14815
|
|
14822
14816
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
14823
14817
|
__proto__: null,
|
14824
14818
|
default: policyValidation,
|
14825
|
-
vars: vars$
|
14819
|
+
vars: vars$p
|
14826
14820
|
});
|
14827
14821
|
|
14828
|
-
const vars$
|
14822
|
+
const vars$o = IconClass.cssVarList;
|
14829
14823
|
|
14830
14824
|
const icon$2 = {};
|
14831
14825
|
|
14832
14826
|
var icon$3 = /*#__PURE__*/Object.freeze({
|
14833
14827
|
__proto__: null,
|
14834
14828
|
default: icon$2,
|
14835
|
-
vars: vars$
|
14829
|
+
vars: vars$o
|
14836
14830
|
});
|
14837
14831
|
|
14838
14832
|
const getFileExtension = (path) => {
|
@@ -14896,12 +14890,12 @@ const createImage = async (src, altText) => {
|
|
14896
14890
|
|
14897
14891
|
/* eslint-disable no-use-before-define */
|
14898
14892
|
|
14899
|
-
const componentName$
|
14893
|
+
const componentName$q = getComponentName('image');
|
14900
14894
|
|
14901
14895
|
const srcAttrs = ['src', 'src-dark'];
|
14902
14896
|
|
14903
14897
|
class RawImage extends createBaseClass$1({
|
14904
|
-
componentName: componentName$
|
14898
|
+
componentName: componentName$q,
|
14905
14899
|
baseSelector: 'slot',
|
14906
14900
|
}) {
|
14907
14901
|
static get observedAttributes() {
|
@@ -15029,14 +15023,14 @@ const ImageClass = compose(
|
|
15029
15023
|
componentNameValidationMixin$1,
|
15030
15024
|
)(RawImage);
|
15031
15025
|
|
15032
|
-
const vars$
|
15026
|
+
const vars$n = ImageClass.cssVarList;
|
15033
15027
|
|
15034
15028
|
const image = {};
|
15035
15029
|
|
15036
15030
|
var image$1 = /*#__PURE__*/Object.freeze({
|
15037
15031
|
__proto__: null,
|
15038
15032
|
default: image,
|
15039
|
-
vars: vars$
|
15033
|
+
vars: vars$n
|
15040
15034
|
});
|
15041
15035
|
|
15042
15036
|
const decode = (input) => {
|
@@ -15049,9 +15043,9 @@ const tpl = (input, inline) => {
|
|
15049
15043
|
return inline ? input : `<pre>${input}</pre>`;
|
15050
15044
|
};
|
15051
15045
|
|
15052
|
-
const componentName$
|
15046
|
+
const componentName$p = getComponentName$1('code-snippet');
|
15053
15047
|
|
15054
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
15048
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > code' }) {
|
15055
15049
|
static get observedAttributes() {
|
15056
15050
|
return ['lang', 'inline'];
|
15057
15051
|
}
|
@@ -15287,7 +15281,7 @@ const CodeSnippetClass = compose$1(
|
|
15287
15281
|
|
15288
15282
|
const globalRefs$f = getThemeRefs(globals$1);
|
15289
15283
|
|
15290
|
-
const vars$
|
15284
|
+
const vars$m = CodeSnippetClass.cssVarList;
|
15291
15285
|
|
15292
15286
|
const light = {
|
15293
15287
|
color2: '#d73a49',
|
@@ -15316,50 +15310,50 @@ const dark = {
|
|
15316
15310
|
};
|
15317
15311
|
|
15318
15312
|
const CodeSnippet = {
|
15319
|
-
[vars$
|
15320
|
-
[vars$
|
15321
|
-
[vars$
|
15322
|
-
[vars$
|
15323
|
-
[vars$
|
15324
|
-
[vars$
|
15325
|
-
[vars$
|
15326
|
-
[vars$
|
15327
|
-
[vars$
|
15328
|
-
[vars$
|
15329
|
-
[vars$
|
15330
|
-
[vars$
|
15331
|
-
[vars$
|
15332
|
-
[vars$
|
15333
|
-
[vars$
|
15334
|
-
[vars$
|
15335
|
-
[vars$
|
15336
|
-
[vars$
|
15337
|
-
[vars$
|
15338
|
-
[vars$
|
15339
|
-
[vars$
|
15340
|
-
[vars$
|
15341
|
-
[vars$
|
15342
|
-
[vars$
|
15343
|
-
[vars$
|
15344
|
-
[vars$
|
15345
|
-
[vars$
|
15346
|
-
[vars$
|
15347
|
-
[vars$
|
15348
|
-
[vars$
|
15349
|
-
[vars$
|
15350
|
-
[vars$
|
15351
|
-
[vars$
|
15352
|
-
[vars$
|
15353
|
-
[vars$
|
15354
|
-
[vars$
|
15355
|
-
[vars$
|
15356
|
-
[vars$
|
15357
|
-
[vars$
|
15358
|
-
[vars$
|
15359
|
-
[vars$
|
15360
|
-
[vars$
|
15361
|
-
[vars$
|
15362
|
-
[vars$
|
15313
|
+
[vars$m.rootBgColor]: globalRefs$f.colors.surface.main,
|
15314
|
+
[vars$m.rootTextColor]: globalRefs$f.colors.surface.contrast,
|
15315
|
+
[vars$m.docTagTextColor]: light.color2,
|
15316
|
+
[vars$m.keywordTextColor]: light.color2,
|
15317
|
+
[vars$m.metaKeywordTextColor]: light.color2,
|
15318
|
+
[vars$m.templateTagTextColor]: light.color2,
|
15319
|
+
[vars$m.templateVariableTextColor]: light.color2,
|
15320
|
+
[vars$m.typeTextColor]: light.color2,
|
15321
|
+
[vars$m.variableLanguageTextColor]: light.color2,
|
15322
|
+
[vars$m.titleTextColor]: light.color3,
|
15323
|
+
[vars$m.titleClassTextColor]: light.color3,
|
15324
|
+
[vars$m.titleClassInheritedTextColor]: light.color3,
|
15325
|
+
[vars$m.titleFunctionTextColor]: light.color3,
|
15326
|
+
[vars$m.attrTextColor]: light.color4,
|
15327
|
+
[vars$m.attributeTextColor]: light.color4,
|
15328
|
+
[vars$m.literalTextColor]: light.color4,
|
15329
|
+
[vars$m.metaTextColor]: light.color4,
|
15330
|
+
[vars$m.numberTextColor]: light.color4,
|
15331
|
+
[vars$m.operatorTextColor]: light.color4,
|
15332
|
+
[vars$m.variableTextColor]: light.color4,
|
15333
|
+
[vars$m.selectorAttrTextColor]: light.color4,
|
15334
|
+
[vars$m.selectorClassTextColor]: light.color4,
|
15335
|
+
[vars$m.selectorIdTextColor]: light.color4,
|
15336
|
+
[vars$m.regexpTextColor]: light.color13,
|
15337
|
+
[vars$m.stringTextColor]: light.color13,
|
15338
|
+
[vars$m.metaStringTextColor]: light.color13,
|
15339
|
+
[vars$m.builtInTextColor]: light.color5,
|
15340
|
+
[vars$m.symbolTextColor]: light.color5,
|
15341
|
+
[vars$m.commentTextColor]: light.color6,
|
15342
|
+
[vars$m.codeTextColor]: light.color6,
|
15343
|
+
[vars$m.formulaTextColor]: light.color6,
|
15344
|
+
[vars$m.nameTextColor]: light.color7,
|
15345
|
+
[vars$m.quoteTextColor]: light.color7,
|
15346
|
+
[vars$m.selectorTagTextColor]: light.color7,
|
15347
|
+
[vars$m.selectorPseudoTextColor]: light.color7,
|
15348
|
+
[vars$m.substTextColor]: light.color8,
|
15349
|
+
[vars$m.sectionTextColor]: light.color4,
|
15350
|
+
[vars$m.bulletTextColor]: light.color9,
|
15351
|
+
[vars$m.emphasisTextColor]: light.color8,
|
15352
|
+
[vars$m.strongTextColor]: light.color8,
|
15353
|
+
[vars$m.additionTextColor]: light.color7,
|
15354
|
+
[vars$m.additionBgColor]: light.color10,
|
15355
|
+
[vars$m.deletionTextColor]: light.color2,
|
15356
|
+
[vars$m.deletionBgColor]: light.color10,
|
15363
15357
|
/* purposely ignored */
|
15364
15358
|
// [vars.charEscapeTextColor]: '',
|
15365
15359
|
// [vars.linkTextColor]: '',
|
@@ -15371,50 +15365,50 @@ const CodeSnippet = {
|
|
15371
15365
|
|
15372
15366
|
const codeSnippetDarkThemeOverrides = {
|
15373
15367
|
codeSnippet: {
|
15374
|
-
[vars$
|
15375
|
-
[vars$
|
15376
|
-
[vars$
|
15377
|
-
[vars$
|
15378
|
-
[vars$
|
15379
|
-
[vars$
|
15380
|
-
[vars$
|
15381
|
-
[vars$
|
15382
|
-
[vars$
|
15383
|
-
[vars$
|
15384
|
-
[vars$
|
15385
|
-
[vars$
|
15386
|
-
[vars$
|
15387
|
-
[vars$
|
15388
|
-
[vars$
|
15389
|
-
[vars$
|
15390
|
-
[vars$
|
15391
|
-
[vars$
|
15392
|
-
[vars$
|
15393
|
-
[vars$
|
15394
|
-
[vars$
|
15395
|
-
[vars$
|
15396
|
-
[vars$
|
15397
|
-
[vars$
|
15398
|
-
[vars$
|
15399
|
-
[vars$
|
15400
|
-
[vars$
|
15401
|
-
[vars$
|
15402
|
-
[vars$
|
15403
|
-
[vars$
|
15404
|
-
[vars$
|
15405
|
-
[vars$
|
15406
|
-
[vars$
|
15407
|
-
[vars$
|
15408
|
-
[vars$
|
15409
|
-
[vars$
|
15410
|
-
[vars$
|
15411
|
-
[vars$
|
15412
|
-
[vars$
|
15413
|
-
[vars$
|
15414
|
-
[vars$
|
15415
|
-
[vars$
|
15416
|
-
[vars$
|
15417
|
-
[vars$
|
15368
|
+
[vars$m.rootBgColor]: globalRefs$f.colors.surface.main,
|
15369
|
+
[vars$m.rootTextColor]: globalRefs$f.colors.surface.contrast,
|
15370
|
+
[vars$m.docTagTextColor]: dark.color2,
|
15371
|
+
[vars$m.keywordTextColor]: dark.color2,
|
15372
|
+
[vars$m.metaKeywordTextColor]: dark.color2,
|
15373
|
+
[vars$m.templateTagTextColor]: dark.color2,
|
15374
|
+
[vars$m.templateVariableTextColor]: dark.color2,
|
15375
|
+
[vars$m.typeTextColor]: dark.color2,
|
15376
|
+
[vars$m.variableLanguageTextColor]: dark.color2,
|
15377
|
+
[vars$m.titleTextColor]: dark.color3,
|
15378
|
+
[vars$m.titleClassTextColor]: dark.color3,
|
15379
|
+
[vars$m.titleClassInheritedTextColor]: dark.color3,
|
15380
|
+
[vars$m.titleFunctionTextColor]: dark.color3,
|
15381
|
+
[vars$m.attrTextColor]: dark.color4,
|
15382
|
+
[vars$m.attributeTextColor]: dark.color4,
|
15383
|
+
[vars$m.literalTextColor]: dark.color4,
|
15384
|
+
[vars$m.metaTextColor]: dark.color4,
|
15385
|
+
[vars$m.numberTextColor]: dark.color4,
|
15386
|
+
[vars$m.operatorTextColor]: dark.color4,
|
15387
|
+
[vars$m.variableTextColor]: dark.color4,
|
15388
|
+
[vars$m.selectorAttrTextColor]: dark.color4,
|
15389
|
+
[vars$m.selectorClassTextColor]: dark.color4,
|
15390
|
+
[vars$m.selectorIdTextColor]: dark.color4,
|
15391
|
+
[vars$m.regexpTextColor]: dark.color13,
|
15392
|
+
[vars$m.stringTextColor]: dark.color13,
|
15393
|
+
[vars$m.metaStringTextColor]: dark.color13,
|
15394
|
+
[vars$m.builtInTextColor]: dark.color5,
|
15395
|
+
[vars$m.symbolTextColor]: dark.color5,
|
15396
|
+
[vars$m.commentTextColor]: dark.color6,
|
15397
|
+
[vars$m.codeTextColor]: dark.color6,
|
15398
|
+
[vars$m.formulaTextColor]: dark.color6,
|
15399
|
+
[vars$m.nameTextColor]: dark.color7,
|
15400
|
+
[vars$m.quoteTextColor]: dark.color7,
|
15401
|
+
[vars$m.selectorTagTextColor]: dark.color7,
|
15402
|
+
[vars$m.selectorPseudoTextColor]: dark.color7,
|
15403
|
+
[vars$m.substTextColor]: dark.color8,
|
15404
|
+
[vars$m.sectionTextColor]: dark.color4,
|
15405
|
+
[vars$m.bulletTextColor]: dark.color9,
|
15406
|
+
[vars$m.emphasisTextColor]: dark.color8,
|
15407
|
+
[vars$m.strongTextColor]: dark.color8,
|
15408
|
+
[vars$m.additionTextColor]: dark.color7,
|
15409
|
+
[vars$m.additionBgColor]: dark.color10,
|
15410
|
+
[vars$m.deletionTextColor]: dark.color2,
|
15411
|
+
[vars$m.deletionBgColor]: dark.color10,
|
15418
15412
|
},
|
15419
15413
|
};
|
15420
15414
|
|
@@ -15422,10 +15416,10 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
15422
15416
|
__proto__: null,
|
15423
15417
|
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
15424
15418
|
default: CodeSnippet,
|
15425
|
-
vars: vars$
|
15419
|
+
vars: vars$m
|
15426
15420
|
});
|
15427
15421
|
|
15428
|
-
const componentName$
|
15422
|
+
const componentName$o = getComponentName$1('radio-button');
|
15429
15423
|
|
15430
15424
|
const customMixin$4 = (superclass) =>
|
15431
15425
|
class CustomMixin extends superclass {
|
@@ -15490,11 +15484,11 @@ const RadioButtonClass = compose$1(
|
|
15490
15484
|
wrappedEleName: 'vaadin-radio-button',
|
15491
15485
|
excludeAttrsSync: ['tabindex', 'data'],
|
15492
15486
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
15493
|
-
componentName: componentName$
|
15487
|
+
componentName: componentName$o,
|
15494
15488
|
})
|
15495
15489
|
);
|
15496
15490
|
|
15497
|
-
const componentName$
|
15491
|
+
const componentName$n = getComponentName$1('radio-group');
|
15498
15492
|
|
15499
15493
|
const RadioGroupMixin = (superclass) =>
|
15500
15494
|
class RadioGroupMixinClass extends superclass {
|
@@ -15509,12 +15503,12 @@ const RadioGroupMixin = (superclass) =>
|
|
15509
15503
|
|
15510
15504
|
// we are overriding vaadin children getter so it will run on our custom elements
|
15511
15505
|
Object.defineProperty(this.baseElement, 'children', {
|
15512
|
-
get: () => this.querySelectorAll(componentName$
|
15506
|
+
get: () => this.querySelectorAll(componentName$o),
|
15513
15507
|
});
|
15514
15508
|
|
15515
15509
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
15516
15510
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
15517
|
-
return nodes.filter((node) => node.localName === componentName$
|
15511
|
+
return nodes.filter((node) => node.localName === componentName$o);
|
15518
15512
|
};
|
15519
15513
|
|
15520
15514
|
// vaadin radio group missing some input properties
|
@@ -15664,44 +15658,44 @@ const RadioGroupClass = compose$1(
|
|
15664
15658
|
`,
|
15665
15659
|
|
15666
15660
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
15667
|
-
componentName: componentName$
|
15661
|
+
componentName: componentName$n,
|
15668
15662
|
includeForwardProps: ['value'],
|
15669
15663
|
})
|
15670
15664
|
);
|
15671
15665
|
|
15672
|
-
const vars$
|
15666
|
+
const vars$l = RadioGroupClass.cssVarList;
|
15673
15667
|
const globalRefs$e = getThemeRefs(globals$1);
|
15674
15668
|
|
15675
15669
|
const radioGroup = {
|
15676
|
-
[vars$
|
15677
|
-
[vars$
|
15678
|
-
[vars$
|
15679
|
-
[vars$
|
15680
|
-
[vars$
|
15681
|
-
[vars$
|
15682
|
-
[vars$
|
15683
|
-
[vars$
|
15684
|
-
[vars$
|
15685
|
-
[vars$
|
15686
|
-
[vars$
|
15687
|
-
[vars$
|
15688
|
-
[vars$
|
15689
|
-
[vars$
|
15690
|
-
[vars$
|
15691
|
-
[vars$
|
15670
|
+
[vars$l.buttonsRowGap]: '9px',
|
15671
|
+
[vars$l.hostWidth]: refs$1.width,
|
15672
|
+
[vars$l.hostDirection]: refs$1.direction,
|
15673
|
+
[vars$l.fontSize]: refs$1.fontSize,
|
15674
|
+
[vars$l.fontFamily]: refs$1.fontFamily,
|
15675
|
+
[vars$l.labelTextColor]: refs$1.labelTextColor,
|
15676
|
+
[vars$l.labelRequiredIndicator]: refs$1.requiredIndicator,
|
15677
|
+
[vars$l.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
15678
|
+
[vars$l.errorMessageIcon]: refs$1.errorMessageIcon,
|
15679
|
+
[vars$l.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
15680
|
+
[vars$l.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
15681
|
+
[vars$l.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
15682
|
+
[vars$l.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
15683
|
+
[vars$l.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
15684
|
+
[vars$l.helperTextColor]: refs$1.helperTextColor,
|
15685
|
+
[vars$l.itemsLabelColor]: globalRefs$e.colors.surface.contrast,
|
15692
15686
|
|
15693
15687
|
textAlign: {
|
15694
|
-
right: { [vars$
|
15695
|
-
left: { [vars$
|
15696
|
-
center: { [vars$
|
15688
|
+
right: { [vars$l.inputTextAlign]: 'right' },
|
15689
|
+
left: { [vars$l.inputTextAlign]: 'left' },
|
15690
|
+
center: { [vars$l.inputTextAlign]: 'center' },
|
15697
15691
|
},
|
15698
15692
|
|
15699
15693
|
_fullWidth: {
|
15700
|
-
[vars$
|
15694
|
+
[vars$l.buttonsSpacing]: 'space-between',
|
15701
15695
|
},
|
15702
15696
|
|
15703
15697
|
_disabled: {
|
15704
|
-
[vars$
|
15698
|
+
[vars$l.itemsLabelColor]: globalRefs$e.colors.surface.light,
|
15705
15699
|
},
|
15706
15700
|
};
|
15707
15701
|
|
@@ -15709,24 +15703,24 @@ var radioGroup$1 = /*#__PURE__*/Object.freeze({
|
|
15709
15703
|
__proto__: null,
|
15710
15704
|
default: radioGroup,
|
15711
15705
|
radioGroup: radioGroup,
|
15712
|
-
vars: vars$
|
15706
|
+
vars: vars$l
|
15713
15707
|
});
|
15714
15708
|
|
15715
|
-
const vars$
|
15709
|
+
const vars$k = RadioButtonClass.cssVarList;
|
15716
15710
|
const globalRefs$d = getThemeRefs(globals$1);
|
15717
15711
|
|
15718
15712
|
const radioButton = {
|
15719
|
-
[vars$
|
15720
|
-
[vars$
|
15721
|
-
[vars$
|
15722
|
-
[vars$
|
15723
|
-
[vars$
|
15724
|
-
[vars$
|
15725
|
-
[vars$
|
15726
|
-
[vars$
|
15713
|
+
[vars$k.fontFamily]: refs$1.fontFamily,
|
15714
|
+
[vars$k.radioSize]: 'calc(1em + 6px)',
|
15715
|
+
[vars$k.radioMargin]: 'auto 4px',
|
15716
|
+
[vars$k.radioCheckedSize]: `calc(var(${vars$k.radioSize})/5)`,
|
15717
|
+
[vars$k.radioCheckedColor]: globalRefs$d.colors.surface.light,
|
15718
|
+
[vars$k.radioBackgroundColor]: globalRefs$d.colors.surface.light,
|
15719
|
+
[vars$k.radioBorderColor]: 'none',
|
15720
|
+
[vars$k.radioBorderWidth]: 0,
|
15727
15721
|
|
15728
15722
|
_checked: {
|
15729
|
-
[vars$
|
15723
|
+
[vars$k.radioBackgroundColor]: globalRefs$d.colors.surface.contrast,
|
15730
15724
|
},
|
15731
15725
|
|
15732
15726
|
_hover: {
|
@@ -15735,16 +15729,16 @@ const radioButton = {
|
|
15735
15729
|
|
15736
15730
|
size: {
|
15737
15731
|
xs: {
|
15738
|
-
[vars$
|
15732
|
+
[vars$k.fontSize]: '12px',
|
15739
15733
|
},
|
15740
15734
|
sm: {
|
15741
|
-
[vars$
|
15735
|
+
[vars$k.fontSize]: '14px',
|
15742
15736
|
},
|
15743
15737
|
md: {
|
15744
|
-
[vars$
|
15738
|
+
[vars$k.fontSize]: '16px',
|
15745
15739
|
},
|
15746
15740
|
lg: {
|
15747
|
-
[vars$
|
15741
|
+
[vars$k.fontSize]: '18px',
|
15748
15742
|
},
|
15749
15743
|
},
|
15750
15744
|
};
|
@@ -15753,7 +15747,7 @@ var radioButton$1 = /*#__PURE__*/Object.freeze({
|
|
15753
15747
|
__proto__: null,
|
15754
15748
|
default: radioButton,
|
15755
15749
|
radioButton: radioButton,
|
15756
|
-
vars: vars$
|
15750
|
+
vars: vars$k
|
15757
15751
|
});
|
15758
15752
|
|
15759
15753
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
@@ -16097,7 +16091,7 @@ const nextMonth = (timestamp) => {
|
|
16097
16091
|
return date;
|
16098
16092
|
};
|
16099
16093
|
|
16100
|
-
const componentName$
|
16094
|
+
const componentName$m = getComponentName$1('calendar');
|
16101
16095
|
|
16102
16096
|
const observedAttrs$2 = [
|
16103
16097
|
'initial-value',
|
@@ -16114,11 +16108,11 @@ const observedAttrs$2 = [
|
|
16114
16108
|
|
16115
16109
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
16116
16110
|
|
16117
|
-
const BaseInputClass$
|
16111
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$m, baseSelector: 'div' });
|
16118
16112
|
|
16119
|
-
class RawCalendar extends BaseInputClass$
|
16113
|
+
class RawCalendar extends BaseInputClass$3 {
|
16120
16114
|
static get observedAttributes() {
|
16121
|
-
return [].concat(BaseInputClass$
|
16115
|
+
return [].concat(BaseInputClass$3.observedAttributes || [], observedAttrs$2, calendarUiAttrs);
|
16122
16116
|
}
|
16123
16117
|
|
16124
16118
|
// preview state timestamp
|
@@ -16737,92 +16731,92 @@ const CalendarClass = compose$1(
|
|
16737
16731
|
|
16738
16732
|
const globalRefs$c = getThemeRefs(globals$1);
|
16739
16733
|
|
16740
|
-
const vars$
|
16734
|
+
const vars$j = CalendarClass.cssVarList;
|
16741
16735
|
|
16742
16736
|
const calendar = {
|
16743
|
-
[vars$
|
16744
|
-
[vars$
|
16745
|
-
[vars$
|
16737
|
+
[vars$j.fontFamily]: refs$1.fontFamily,
|
16738
|
+
[vars$j.fontSize]: refs$1.fontSize,
|
16739
|
+
[vars$j.hostDirection]: refs$1.direction,
|
16746
16740
|
|
16747
|
-
[vars$
|
16741
|
+
[vars$j.calendarPadding]: '1em',
|
16748
16742
|
|
16749
|
-
[vars$
|
16750
|
-
[vars$
|
16751
|
-
[vars$
|
16752
|
-
[vars$
|
16743
|
+
[vars$j.topNavVerticalPadding]: '1em',
|
16744
|
+
[vars$j.topNavAlignment]: 'space-between',
|
16745
|
+
[vars$j.topNavGap]: '0',
|
16746
|
+
[vars$j.topNavSelectorsGap]: '0.5em',
|
16753
16747
|
|
16754
|
-
[vars$
|
16755
|
-
[vars$
|
16756
|
-
[vars$
|
16757
|
-
[vars$
|
16748
|
+
[vars$j.bottomNavVerticalPadding]: '0.75em',
|
16749
|
+
[vars$j.bottomNavHorizontalPadding]: '1.5em',
|
16750
|
+
[vars$j.bottomNavAlignment]: 'space-between',
|
16751
|
+
[vars$j.bottomNavGap]: '0.5em',
|
16758
16752
|
|
16759
|
-
[vars$
|
16760
|
-
[vars$
|
16761
|
-
[vars$
|
16762
|
-
[vars$
|
16753
|
+
[vars$j.navMarginBottom]: '0.75em',
|
16754
|
+
[vars$j.navBorderBottomWidth]: '1px',
|
16755
|
+
[vars$j.navBorderBottomColor]: globalRefs$c.colors.surface.highlight,
|
16756
|
+
[vars$j.navBorderBottomStyle]: 'solid',
|
16763
16757
|
|
16764
|
-
[vars$
|
16765
|
-
[vars$
|
16758
|
+
[vars$j.yearInputWidth]: '6em',
|
16759
|
+
[vars$j.monthInputWidth]: '8em',
|
16766
16760
|
|
16767
|
-
[vars$
|
16768
|
-
[vars$
|
16761
|
+
[vars$j.navButtonSize]: '24px',
|
16762
|
+
[vars$j.navButtonCursor]: 'pointer',
|
16769
16763
|
|
16770
|
-
[vars$
|
16771
|
-
[vars$
|
16764
|
+
[vars$j.weekdayFontSize]: '0.875em',
|
16765
|
+
[vars$j.weekdayFontWeight]: '500',
|
16772
16766
|
|
16773
16767
|
// day table cell
|
16774
|
-
[vars$
|
16768
|
+
[vars$j.dayHeight]: '3.125em',
|
16775
16769
|
|
16776
16770
|
// day value
|
16777
|
-
[vars$
|
16778
|
-
[vars$
|
16779
|
-
[vars$
|
16780
|
-
[vars$
|
16781
|
-
[vars$
|
16782
|
-
[vars$
|
16783
|
-
[vars$
|
16784
|
-
[vars$
|
16785
|
-
[vars$
|
16786
|
-
[vars$
|
16771
|
+
[vars$j.daySize]: '2.125em',
|
16772
|
+
[vars$j.dayFontSize]: '1em',
|
16773
|
+
[vars$j.dayRadius]: '50%',
|
16774
|
+
[vars$j.dayTextAlign]: 'center',
|
16775
|
+
[vars$j.dayPadding]: '0',
|
16776
|
+
[vars$j.dayTextColor]: globalRefs$c.colors.surface.contrast,
|
16777
|
+
[vars$j.dayFontWeight]: '500',
|
16778
|
+
[vars$j.dayBackgroundColor]: 'transparent',
|
16779
|
+
[vars$j.dayCursor]: 'pointer',
|
16780
|
+
[vars$j.dayBackgroundColorHover]: globalRefs$c.colors.primary.highlight,
|
16787
16781
|
|
16788
16782
|
// selected day
|
16789
|
-
[vars$
|
16790
|
-
[vars$
|
16783
|
+
[vars$j.daySelectedBackgroundColor]: globalRefs$c.colors.primary.main,
|
16784
|
+
[vars$j.daySelectedTextdColor]: globalRefs$c.colors.primary.contrast,
|
16791
16785
|
|
16792
16786
|
// disabled day (out of min/max range)
|
16793
|
-
[vars$
|
16787
|
+
[vars$j.dayDisabledTextdColor]: globalRefs$c.colors.surface.light,
|
16794
16788
|
|
16795
16789
|
// today
|
16796
|
-
[vars$
|
16797
|
-
[vars$
|
16798
|
-
[vars$
|
16790
|
+
[vars$j.currentDayBorderColor]: globalRefs$c.colors.surface.light,
|
16791
|
+
[vars$j.currentDayBorderWidth]: '1px',
|
16792
|
+
[vars$j.currentDayBorderStyle]: 'solid',
|
16799
16793
|
|
16800
16794
|
size: {
|
16801
|
-
xs: { [vars$
|
16802
|
-
sm: { [vars$
|
16803
|
-
md: { [vars$
|
16804
|
-
lg: { [vars$
|
16795
|
+
xs: { [vars$j.fontSize]: '12px' },
|
16796
|
+
sm: { [vars$j.fontSize]: '14px' },
|
16797
|
+
md: { [vars$j.fontSize]: '16px' },
|
16798
|
+
lg: { [vars$j.fontSize]: '18px' },
|
16805
16799
|
},
|
16806
16800
|
|
16807
|
-
[vars$
|
16801
|
+
[vars$j.navButtonRotation]: 'rotate(180deg)',
|
16808
16802
|
|
16809
16803
|
_disabled: {
|
16810
|
-
[vars$
|
16811
|
-
[vars$
|
16812
|
-
[vars$
|
16813
|
-
[vars$
|
16804
|
+
[vars$j.navButtonOpacity]: '0.5',
|
16805
|
+
[vars$j.dayBackgroundColorHover]: 'none',
|
16806
|
+
[vars$j.navButtonCursor]: 'default',
|
16807
|
+
[vars$j.dayCursor]: 'default',
|
16814
16808
|
},
|
16815
16809
|
|
16816
16810
|
_fullWidth: {
|
16817
|
-
[vars$
|
16818
|
-
[vars$
|
16811
|
+
[vars$j.hostWidth]: '100%',
|
16812
|
+
[vars$j.dayBlockAlign]: '0 auto',
|
16819
16813
|
},
|
16820
16814
|
};
|
16821
16815
|
|
16822
16816
|
var calendar$1 = /*#__PURE__*/Object.freeze({
|
16823
16817
|
__proto__: null,
|
16824
16818
|
default: calendar,
|
16825
|
-
vars: vars$
|
16819
|
+
vars: vars$j
|
16826
16820
|
});
|
16827
16821
|
|
16828
16822
|
// DateCounterClass allows us to add several counters to the input, and use them seperately.
|
@@ -16943,18 +16937,18 @@ class DateCounter {
|
|
16943
16937
|
}
|
16944
16938
|
}
|
16945
16939
|
|
16946
|
-
const componentName$
|
16940
|
+
const componentName$l = getComponentName$1('date-field');
|
16947
16941
|
|
16948
16942
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
16949
16943
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
16950
16944
|
const BASE_SELECTOR = 'vaadin-popover';
|
16951
|
-
const BaseInputClass$
|
16945
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$l, baseSelector: BASE_SELECTOR });
|
16952
16946
|
|
16953
16947
|
const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly', 'disable-calendar'];
|
16954
16948
|
const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
|
16955
16949
|
const observedAttrs$1 = [...dateFieldAttrs, ...calendarAttrs];
|
16956
16950
|
|
16957
|
-
class RawDateFieldClass extends BaseInputClass$
|
16951
|
+
class RawDateFieldClass extends BaseInputClass$2 {
|
16958
16952
|
timestamp = '';
|
16959
16953
|
|
16960
16954
|
format = DEFAULT_FORMAT;
|
@@ -16996,7 +16990,7 @@ class RawDateFieldClass extends BaseInputClass$1 {
|
|
16996
16990
|
];
|
16997
16991
|
|
16998
16992
|
static get observedAttributes() {
|
16999
|
-
return [].concat(BaseInputClass$
|
16993
|
+
return [].concat(BaseInputClass$2.observedAttributes || [], observedAttrs$1);
|
17000
16994
|
}
|
17001
16995
|
|
17002
16996
|
constructor() {
|
@@ -17835,38 +17829,38 @@ const globalRefs$b = getThemeRefs(globals$1);
|
|
17835
17829
|
const shadowColor$2 = '#00000020';
|
17836
17830
|
const { shadow } = globalRefs$b;
|
17837
17831
|
|
17838
|
-
const vars$
|
17832
|
+
const vars$i = DateFieldClass.cssVarList;
|
17839
17833
|
|
17840
17834
|
const dateField = {
|
17841
|
-
[vars$
|
17842
|
-
[vars$
|
17843
|
-
[vars$
|
17844
|
-
|
17845
|
-
[vars$
|
17846
|
-
[vars$
|
17847
|
-
[vars$
|
17848
|
-
[vars$
|
17849
|
-
[vars$
|
17850
|
-
[vars$
|
17851
|
-
[vars$
|
17852
|
-
[vars$
|
17853
|
-
[vars$
|
17854
|
-
|
17855
|
-
[vars$
|
17856
|
-
[vars$
|
17857
|
-
|
17858
|
-
[vars$
|
17859
|
-
[vars$
|
17860
|
-
[vars$
|
17861
|
-
[vars$
|
17862
|
-
[vars$
|
17863
|
-
[vars$
|
17835
|
+
[vars$i.hostWidth]: refs$1.width,
|
17836
|
+
[vars$i.hostDirection]: refs$1.direction,
|
17837
|
+
[vars$i.iconMargin]: '0.375em',
|
17838
|
+
|
17839
|
+
[vars$i.overlay.marginTop]: `calc(${refs$1.outlineWidth} + 1px)`,
|
17840
|
+
[vars$i.overlay.backgroundColor]: refs$1.backgroundColor,
|
17841
|
+
[vars$i.overlay.backdropBackgroundColor]: 'transparent',
|
17842
|
+
[vars$i.overlay.backdropPointerEvents]: 'all',
|
17843
|
+
[vars$i.overlay.boxShadow]: `${shadow.wide.xl} ${shadowColor$2}, ${shadow.narrow.xl} ${shadowColor$2}`,
|
17844
|
+
[vars$i.overlay.outlineWidth]: '0',
|
17845
|
+
[vars$i.overlay.outlineColor]: 'transparent',
|
17846
|
+
[vars$i.overlay.outlineStyle]: 'none',
|
17847
|
+
[vars$i.overlay.padding]: '0',
|
17848
|
+
|
17849
|
+
[vars$i.rtlInputDirection]: 'ltr',
|
17850
|
+
[vars$i.rtlInputAlignment]: 'right',
|
17851
|
+
|
17852
|
+
[vars$i.errorMessageIcon]: refs$1.errorMessageIcon,
|
17853
|
+
[vars$i.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
17854
|
+
[vars$i.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
17855
|
+
[vars$i.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
17856
|
+
[vars$i.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
17857
|
+
[vars$i.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
17864
17858
|
};
|
17865
17859
|
|
17866
17860
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
17867
17861
|
__proto__: null,
|
17868
17862
|
default: dateField,
|
17869
|
-
vars: vars$
|
17863
|
+
vars: vars$i
|
17870
17864
|
});
|
17871
17865
|
|
17872
17866
|
const activeableMixin = (superclass) =>
|
@@ -17884,7 +17878,7 @@ const activeableMixin = (superclass) =>
|
|
17884
17878
|
}
|
17885
17879
|
};
|
17886
17880
|
|
17887
|
-
const componentName$
|
17881
|
+
const componentName$k = getComponentName$1('list-item');
|
17888
17882
|
|
17889
17883
|
const customMixin$3 = (superclass) =>
|
17890
17884
|
class ListItemMixinClass extends superclass {
|
@@ -17934,11 +17928,11 @@ const ListItemClass = compose$1(
|
|
17934
17928
|
componentNameValidationMixin,
|
17935
17929
|
customMixin$3,
|
17936
17930
|
activeableMixin
|
17937
|
-
)(createBaseClass({ componentName: componentName$
|
17931
|
+
)(createBaseClass({ componentName: componentName$k, baseSelector: 'slot' }));
|
17938
17932
|
|
17939
|
-
const componentName$
|
17933
|
+
const componentName$j = getComponentName$1('list');
|
17940
17934
|
|
17941
|
-
class RawList extends createBaseClass({ componentName: componentName$
|
17935
|
+
class RawList extends createBaseClass({ componentName: componentName$j, baseSelector: '.wrapper' }) {
|
17942
17936
|
static get observedAttributes() {
|
17943
17937
|
return ['variant', 'readonly'];
|
17944
17938
|
}
|
@@ -18092,7 +18086,7 @@ const compVars$2 = ListClass.cssVarList;
|
|
18092
18086
|
|
18093
18087
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
18094
18088
|
{ shadowColor: '#00000020' },
|
18095
|
-
componentName$
|
18089
|
+
componentName$j
|
18096
18090
|
);
|
18097
18091
|
|
18098
18092
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
@@ -18132,7 +18126,7 @@ const list$1 = {
|
|
18132
18126
|
},
|
18133
18127
|
};
|
18134
18128
|
|
18135
|
-
const vars$
|
18129
|
+
const vars$h = {
|
18136
18130
|
...compVars$2,
|
18137
18131
|
...helperVars$1,
|
18138
18132
|
};
|
@@ -18140,49 +18134,49 @@ const vars$g = {
|
|
18140
18134
|
var list$2 = /*#__PURE__*/Object.freeze({
|
18141
18135
|
__proto__: null,
|
18142
18136
|
default: list$1,
|
18143
|
-
vars: vars$
|
18137
|
+
vars: vars$h
|
18144
18138
|
});
|
18145
18139
|
|
18146
18140
|
const globalRefs$9 = getThemeRefs(globals$1);
|
18147
18141
|
|
18148
|
-
const vars$
|
18142
|
+
const vars$g = ListItemClass.cssVarList;
|
18149
18143
|
|
18150
18144
|
const list = {
|
18151
|
-
[vars$
|
18152
|
-
[vars$
|
18153
|
-
[vars$
|
18154
|
-
[vars$
|
18155
|
-
[vars$
|
18156
|
-
[vars$
|
18157
|
-
[vars$
|
18158
|
-
[vars$
|
18159
|
-
[vars$
|
18160
|
-
[vars$
|
18161
|
-
[vars$
|
18145
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.main,
|
18146
|
+
[vars$g.padding]: globalRefs$9.spacing.lg,
|
18147
|
+
[vars$g.gap]: globalRefs$9.spacing.md,
|
18148
|
+
[vars$g.borderStyle]: 'solid',
|
18149
|
+
[vars$g.borderWidth]: globalRefs$9.border.xs,
|
18150
|
+
[vars$g.borderColor]: globalRefs$9.colors.surface.main,
|
18151
|
+
[vars$g.borderRadius]: globalRefs$9.radius.sm,
|
18152
|
+
[vars$g.cursor]: 'pointer',
|
18153
|
+
[vars$g.alignItems]: 'center',
|
18154
|
+
[vars$g.flexDirection]: 'row',
|
18155
|
+
[vars$g.transition]: 'border-color 0.2s, background-color 0.2s',
|
18162
18156
|
|
18163
18157
|
variant: {
|
18164
18158
|
tile: {
|
18165
|
-
[vars$
|
18166
|
-
[vars$
|
18167
|
-
[vars$
|
18159
|
+
[vars$g.alignItems]: 'flex-start',
|
18160
|
+
[vars$g.flexDirection]: 'column',
|
18161
|
+
[vars$g.borderColor]: globalRefs$9.colors.surface.light,
|
18168
18162
|
},
|
18169
18163
|
},
|
18170
18164
|
|
18171
18165
|
_hover: {
|
18172
|
-
[vars$
|
18166
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.highlight,
|
18173
18167
|
},
|
18174
18168
|
|
18175
18169
|
_active: {
|
18176
|
-
[vars$
|
18177
|
-
[vars$
|
18178
|
-
[vars$
|
18170
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.main,
|
18171
|
+
[vars$g.borderColor]: globalRefs$9.colors.primary.light,
|
18172
|
+
[vars$g.outline]: `1px solid ${globalRefs$9.colors.primary.light}`,
|
18179
18173
|
},
|
18180
18174
|
};
|
18181
18175
|
|
18182
18176
|
var listItem = /*#__PURE__*/Object.freeze({
|
18183
18177
|
__proto__: null,
|
18184
18178
|
default: list,
|
18185
|
-
vars: vars$
|
18179
|
+
vars: vars$g
|
18186
18180
|
});
|
18187
18181
|
|
18188
18182
|
const defaultValidateSchema = () => true;
|
@@ -18284,7 +18278,7 @@ const createDynamicDataMixin =
|
|
18284
18278
|
}
|
18285
18279
|
};
|
18286
18280
|
|
18287
|
-
const componentName$
|
18281
|
+
const componentName$i = getComponentName$1('apps-list');
|
18288
18282
|
|
18289
18283
|
const limitAbbreviation = (str, limit = 2) =>
|
18290
18284
|
str
|
@@ -18346,7 +18340,7 @@ const AppsListClass = compose$1(
|
|
18346
18340
|
slots: ['empty-state'],
|
18347
18341
|
wrappedEleName: 'descope-list',
|
18348
18342
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
18349
|
-
componentName: componentName$
|
18343
|
+
componentName: componentName$i,
|
18350
18344
|
style: () => `
|
18351
18345
|
:host {
|
18352
18346
|
width: 100%;
|
@@ -18371,33 +18365,33 @@ const AppsListClass = compose$1(
|
|
18371
18365
|
})
|
18372
18366
|
);
|
18373
18367
|
|
18374
|
-
const vars$
|
18368
|
+
const vars$f = AppsListClass.cssVarList;
|
18375
18369
|
const globalRefs$8 = getThemeRefs(globals$1);
|
18376
18370
|
|
18377
18371
|
const defaultHeight = '400px';
|
18378
18372
|
|
18379
18373
|
const appsList = {
|
18380
|
-
[vars$
|
18381
|
-
[vars$
|
18382
|
-
[vars$
|
18383
|
-
[vars$
|
18374
|
+
[vars$f.itemsFontWeight]: 'normal',
|
18375
|
+
[vars$f.itemsTextAlign]: 'start',
|
18376
|
+
[vars$f.hostDirection]: globalRefs$8.direction,
|
18377
|
+
[vars$f.maxHeight]: defaultHeight,
|
18384
18378
|
|
18385
18379
|
_empty: {
|
18386
|
-
[vars$
|
18380
|
+
[vars$f.minHeight]: defaultHeight,
|
18387
18381
|
},
|
18388
18382
|
|
18389
18383
|
size: {
|
18390
18384
|
xs: {
|
18391
|
-
[vars$
|
18385
|
+
[vars$f.itemsFontSize]: '14px',
|
18392
18386
|
},
|
18393
18387
|
sm: {
|
18394
|
-
[vars$
|
18388
|
+
[vars$f.itemsFontSize]: '14px',
|
18395
18389
|
},
|
18396
18390
|
md: {
|
18397
|
-
[vars$
|
18391
|
+
[vars$f.itemsFontSize]: '16px',
|
18398
18392
|
},
|
18399
18393
|
lg: {
|
18400
|
-
[vars$
|
18394
|
+
[vars$f.itemsFontSize]: '20px',
|
18401
18395
|
},
|
18402
18396
|
},
|
18403
18397
|
};
|
@@ -18405,10 +18399,10 @@ const appsList = {
|
|
18405
18399
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
18406
18400
|
__proto__: null,
|
18407
18401
|
default: appsList,
|
18408
|
-
vars: vars$
|
18402
|
+
vars: vars$f
|
18409
18403
|
});
|
18410
18404
|
|
18411
|
-
const componentName$
|
18405
|
+
const componentName$h = getComponentName$1('scopes-list');
|
18412
18406
|
const variants = ['checkbox', 'switch'];
|
18413
18407
|
|
18414
18408
|
const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
|
@@ -18427,7 +18421,7 @@ const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
|
|
18427
18421
|
`;
|
18428
18422
|
};
|
18429
18423
|
|
18430
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
18424
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$h, baseSelector: 'div' }) {
|
18431
18425
|
constructor() {
|
18432
18426
|
super();
|
18433
18427
|
|
@@ -18535,28 +18529,28 @@ const ScopesListClass = compose$1(
|
|
18535
18529
|
componentNameValidationMixin
|
18536
18530
|
)(RawScopesList);
|
18537
18531
|
|
18538
|
-
const vars$
|
18532
|
+
const vars$e = ScopesListClass.cssVarList;
|
18539
18533
|
|
18540
18534
|
const scopesList = {
|
18541
|
-
[vars$
|
18542
|
-
[vars$
|
18543
|
-
[vars$
|
18535
|
+
[vars$e.requiredInputBorderColor]: theme$2._disabled[vars$$.borderColor],
|
18536
|
+
[vars$e.requiredInputValueTextColor]: theme$2._disabled[vars$$.valueTextColor],
|
18537
|
+
[vars$e.hostWidth]: '280px',
|
18544
18538
|
_fullWidth: {
|
18545
|
-
[vars$
|
18539
|
+
[vars$e.hostWidth]: '100%',
|
18546
18540
|
},
|
18547
18541
|
};
|
18548
18542
|
|
18549
18543
|
var scopesList$1 = /*#__PURE__*/Object.freeze({
|
18550
18544
|
__proto__: null,
|
18551
18545
|
default: scopesList,
|
18552
|
-
vars: vars$
|
18546
|
+
vars: vars$e
|
18553
18547
|
});
|
18554
18548
|
|
18555
18549
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
18556
18550
|
|
18557
|
-
const componentName$
|
18551
|
+
const componentName$g = getComponentName$1('third-party-app-logo');
|
18558
18552
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
18559
|
-
componentName: componentName$
|
18553
|
+
componentName: componentName$g,
|
18560
18554
|
baseSelector: '.wrapper',
|
18561
18555
|
}) {
|
18562
18556
|
constructor() {
|
@@ -18654,31 +18648,31 @@ const ThirdPartyAppLogoClass = compose$1(
|
|
18654
18648
|
)(RawThirdPartyAppLogoClass);
|
18655
18649
|
|
18656
18650
|
const globalRefs$7 = getThemeRefs(globals$1);
|
18657
|
-
const vars$
|
18651
|
+
const vars$d = ThirdPartyAppLogoClass.cssVarList;
|
18658
18652
|
|
18659
18653
|
const thirdPartyAppLogo = {
|
18660
|
-
[vars$
|
18661
|
-
[vars$
|
18662
|
-
[vars$
|
18654
|
+
[vars$d.gap]: globalRefs$7.spacing.lg,
|
18655
|
+
[vars$d.arrowsColor]: globalRefs$7.colors.surface.dark,
|
18656
|
+
[vars$d.thirdPartyAppLogoFallback]:
|
18663
18657
|
'url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)',
|
18664
|
-
[vars$
|
18658
|
+
[vars$d.companyLogoFallback]:
|
18665
18659
|
'url(https://imgs.descope.com/components/project-logo-placeholder.svg)',
|
18666
18660
|
size: {
|
18667
18661
|
xs: {
|
18668
|
-
[vars$
|
18669
|
-
[vars$
|
18662
|
+
[vars$d.logoMaxHeight]: '30px',
|
18663
|
+
[vars$d.logoMaxWidth]: '120px',
|
18670
18664
|
},
|
18671
18665
|
sm: {
|
18672
|
-
[vars$
|
18673
|
-
[vars$
|
18666
|
+
[vars$d.logoMaxHeight]: '40px',
|
18667
|
+
[vars$d.logoMaxWidth]: '160px',
|
18674
18668
|
},
|
18675
18669
|
md: {
|
18676
|
-
[vars$
|
18677
|
-
[vars$
|
18670
|
+
[vars$d.logoMaxHeight]: '48px',
|
18671
|
+
[vars$d.logoMaxWidth]: '200px',
|
18678
18672
|
},
|
18679
18673
|
lg: {
|
18680
|
-
[vars$
|
18681
|
-
[vars$
|
18674
|
+
[vars$d.logoMaxHeight]: '60px',
|
18675
|
+
[vars$d.logoMaxWidth]: '240px',
|
18682
18676
|
},
|
18683
18677
|
},
|
18684
18678
|
};
|
@@ -18686,10 +18680,10 @@ const thirdPartyAppLogo = {
|
|
18686
18680
|
var thirdPartyAppLogo$1 = /*#__PURE__*/Object.freeze({
|
18687
18681
|
__proto__: null,
|
18688
18682
|
default: thirdPartyAppLogo,
|
18689
|
-
vars: vars$
|
18683
|
+
vars: vars$d
|
18690
18684
|
});
|
18691
18685
|
|
18692
|
-
const componentName$
|
18686
|
+
const componentName$f = getComponentName$1('security-questions-setup');
|
18693
18687
|
|
18694
18688
|
const attrsToSync$1 = [
|
18695
18689
|
'full-width',
|
@@ -18708,7 +18702,7 @@ const attrsToSync$1 = [
|
|
18708
18702
|
];
|
18709
18703
|
|
18710
18704
|
const attrsToReRender$1 = ['count', 'questions'];
|
18711
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
18705
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$f, baseSelector: 'div' }) {
|
18712
18706
|
constructor() {
|
18713
18707
|
super();
|
18714
18708
|
|
@@ -18818,7 +18812,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
18818
18812
|
return JSON.parse(this.getAttribute('questions')) || [];
|
18819
18813
|
} catch (e) {
|
18820
18814
|
// eslint-disable-next-line no-console
|
18821
|
-
console.error(componentName$
|
18815
|
+
console.error(componentName$f, 'Error parsing questions attribute', e);
|
18822
18816
|
return [];
|
18823
18817
|
}
|
18824
18818
|
}
|
@@ -18926,22 +18920,22 @@ const SecurityQuestionsSetupClass = compose$1(
|
|
18926
18920
|
componentNameValidationMixin
|
18927
18921
|
)(RawSecurityQuestionsSetup);
|
18928
18922
|
|
18929
|
-
const vars$
|
18923
|
+
const vars$c = SecurityQuestionsSetupClass.cssVarList;
|
18930
18924
|
|
18931
18925
|
const securityQuestionsSetup = {
|
18932
|
-
[vars$
|
18926
|
+
[vars$c.hostWidth]: 'fit-content',
|
18933
18927
|
_fullWidth: {
|
18934
|
-
[vars$
|
18928
|
+
[vars$c.hostWidth]: '100%',
|
18935
18929
|
},
|
18936
18930
|
};
|
18937
18931
|
|
18938
18932
|
var securityQuestionsSetup$1 = /*#__PURE__*/Object.freeze({
|
18939
18933
|
__proto__: null,
|
18940
18934
|
default: securityQuestionsSetup,
|
18941
|
-
vars: vars$
|
18935
|
+
vars: vars$c
|
18942
18936
|
});
|
18943
18937
|
|
18944
|
-
const componentName$
|
18938
|
+
const componentName$e = getComponentName$1('security-questions-verify');
|
18945
18939
|
|
18946
18940
|
const textFieldsAttrs = [
|
18947
18941
|
'full-width',
|
@@ -18965,7 +18959,7 @@ const attrMappings = {
|
|
18965
18959
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
18966
18960
|
|
18967
18961
|
const attrsToReRender = ['questions'];
|
18968
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
18962
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$e, baseSelector: 'div' }) {
|
18969
18963
|
constructor() {
|
18970
18964
|
super();
|
18971
18965
|
|
@@ -19039,7 +19033,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
|
|
19039
19033
|
return JSON.parse(this.getAttribute('questions')) || [];
|
19040
19034
|
} catch (e) {
|
19041
19035
|
// eslint-disable-next-line no-console
|
19042
|
-
console.error(componentName$
|
19036
|
+
console.error(componentName$e, 'Error parsing questions attribute', e);
|
19043
19037
|
return [];
|
19044
19038
|
}
|
19045
19039
|
}
|
@@ -19174,22 +19168,22 @@ const SecurityQuestionsVerifyClass = compose$1(
|
|
19174
19168
|
componentNameValidationMixin
|
19175
19169
|
)(RawSecurityQuestionsVerify);
|
19176
19170
|
|
19177
|
-
const vars$
|
19171
|
+
const vars$b = SecurityQuestionsVerifyClass.cssVarList;
|
19178
19172
|
|
19179
19173
|
const securityQuestionsVerify = {
|
19180
|
-
[vars$
|
19181
|
-
[vars$
|
19174
|
+
[vars$b.hostWidth]: 'min-content',
|
19175
|
+
[vars$b.questionCursor]: 'pointer',
|
19182
19176
|
_fullWidth: {
|
19183
|
-
[vars$
|
19177
|
+
[vars$b.hostWidth]: '100%',
|
19184
19178
|
},
|
19185
|
-
[vars$
|
19186
|
-
[vars$
|
19179
|
+
[vars$b.questionFontSize]: refs$1.fontSize,
|
19180
|
+
[vars$b.questionFontFamily]: refs$1.fontFamily,
|
19187
19181
|
};
|
19188
19182
|
|
19189
19183
|
var securityQuestionsVerify$1 = /*#__PURE__*/Object.freeze({
|
19190
19184
|
__proto__: null,
|
19191
19185
|
default: securityQuestionsVerify,
|
19192
|
-
vars: vars$
|
19186
|
+
vars: vars$b
|
19193
19187
|
});
|
19194
19188
|
|
19195
19189
|
const NUMERIC_RE = /^\d+$/;
|
@@ -19198,7 +19192,7 @@ const isNumericValue = (val) => NUMERIC_RE.test(val.replaceAll('+', '').replaceA
|
|
19198
19192
|
|
19199
19193
|
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
19200
19194
|
|
19201
|
-
const componentName$
|
19195
|
+
const componentName$d = getComponentName$1('hybrid-field');
|
19202
19196
|
|
19203
19197
|
const attrs = {
|
19204
19198
|
shared: [
|
@@ -19264,7 +19258,7 @@ const PHONE_FIELD = 'descope-phone-field';
|
|
19264
19258
|
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
19265
19259
|
|
19266
19260
|
const BaseClass$3 = createBaseClass({
|
19267
|
-
componentName: componentName$
|
19261
|
+
componentName: componentName$d,
|
19268
19262
|
baseSelector: 'div',
|
19269
19263
|
});
|
19270
19264
|
|
@@ -19577,33 +19571,33 @@ const HybridFieldClass = compose$1(
|
|
19577
19571
|
componentNameValidationMixin
|
19578
19572
|
)(RawHybridField);
|
19579
19573
|
|
19580
|
-
const vars$
|
19574
|
+
const vars$a = HybridFieldClass.cssVarList;
|
19581
19575
|
|
19582
19576
|
const hybridField = {
|
19583
|
-
[vars$
|
19577
|
+
[vars$a.hostDirection]: refs$1.direction,
|
19584
19578
|
|
19585
19579
|
// error message icon
|
19586
|
-
[vars$
|
19587
|
-
[vars$
|
19588
|
-
[vars$
|
19589
|
-
[vars$
|
19590
|
-
[vars$
|
19591
|
-
[vars$
|
19580
|
+
[vars$a.errorMessageIcon]: refs$1.errorMessageIcon,
|
19581
|
+
[vars$a.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
19582
|
+
[vars$a.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
19583
|
+
[vars$a.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
19584
|
+
[vars$a.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
19585
|
+
[vars$a.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
19592
19586
|
|
19593
19587
|
_fullWidth: {
|
19594
|
-
[vars$
|
19588
|
+
[vars$a.hostWidth]: '100%',
|
19595
19589
|
},
|
19596
19590
|
};
|
19597
19591
|
|
19598
19592
|
var hybridField$1 = /*#__PURE__*/Object.freeze({
|
19599
19593
|
__proto__: null,
|
19600
19594
|
default: hybridField,
|
19601
|
-
vars: vars$
|
19595
|
+
vars: vars$a
|
19602
19596
|
});
|
19603
19597
|
|
19604
|
-
const componentName$
|
19598
|
+
const componentName$c = getComponentName$1('alert');
|
19605
19599
|
|
19606
|
-
class RawAlert extends createBaseClass({ componentName: componentName$
|
19600
|
+
class RawAlert extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
|
19607
19601
|
constructor() {
|
19608
19602
|
super();
|
19609
19603
|
|
@@ -19719,89 +19713,237 @@ const AlertClass = compose$1(
|
|
19719
19713
|
)(RawAlert);
|
19720
19714
|
|
19721
19715
|
const globalRefs$6 = getThemeRefs(globals$1);
|
19722
|
-
const vars$
|
19716
|
+
const vars$9 = AlertClass.cssVarList;
|
19723
19717
|
|
19724
19718
|
const alert = {
|
19725
|
-
[vars$
|
19726
|
-
[vars$
|
19727
|
-
[vars$
|
19728
|
-
[vars$
|
19729
|
-
[vars$
|
19730
|
-
[vars$
|
19731
|
-
[vars$
|
19732
|
-
[vars$
|
19733
|
-
[vars$
|
19719
|
+
[vars$9.hostDirection]: globalRefs$6.direction,
|
19720
|
+
[vars$9.backgroundColor]: 'transparent',
|
19721
|
+
[vars$9.iconSize]: '1.35em',
|
19722
|
+
[vars$9.alignItems]: 'center',
|
19723
|
+
[vars$9.borderRadius]: globalRefs$6.radius.md,
|
19724
|
+
[vars$9.horizontalPadding]: '0',
|
19725
|
+
[vars$9.verticalPadding]: '0',
|
19726
|
+
[vars$9.gap]: `0.5em`,
|
19727
|
+
[vars$9.fontSize]: useVar(vars$P.fontSize),
|
19734
19728
|
|
19735
19729
|
mode: {
|
19736
19730
|
error: {
|
19737
19731
|
// Notice: If icon is empty, we need to remove it from the theme, to prevent it from rendering minimal layout
|
19738
19732
|
// [vars.icon]: `url(${icon})`,
|
19739
|
-
[vars$
|
19733
|
+
[vars$9.textColor]: globalRefs$6.colors.error.main,
|
19740
19734
|
_bordered: {
|
19741
|
-
[vars$
|
19735
|
+
[vars$9.borderColor]: globalRefs$6.colors.error.main,
|
19742
19736
|
},
|
19743
19737
|
},
|
19744
19738
|
success: {
|
19745
19739
|
// Notice: If icon is empty, we need to remove it from the theme, to prevent it from rendering minimal layout
|
19746
19740
|
// [vars.icon]: '',
|
19747
|
-
[vars$
|
19741
|
+
[vars$9.textColor]: globalRefs$6.colors.success.main,
|
19748
19742
|
_bordered: {
|
19749
|
-
[vars$
|
19743
|
+
[vars$9.borderColor]: globalRefs$6.colors.success.main,
|
19750
19744
|
},
|
19751
19745
|
},
|
19752
19746
|
},
|
19753
19747
|
|
19754
19748
|
spacing: {
|
19755
19749
|
xs: {
|
19756
|
-
[vars$
|
19757
|
-
[vars$
|
19750
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.xs,
|
19751
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.xs,
|
19758
19752
|
},
|
19759
19753
|
sm: {
|
19760
|
-
[vars$
|
19761
|
-
[vars$
|
19754
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.sm,
|
19755
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.sm,
|
19762
19756
|
},
|
19763
19757
|
md: {
|
19764
|
-
[vars$
|
19765
|
-
[vars$
|
19758
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.md,
|
19759
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.md,
|
19766
19760
|
},
|
19767
19761
|
lg: {
|
19768
|
-
[vars$
|
19769
|
-
[vars$
|
19762
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.lg,
|
19763
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.lg,
|
19770
19764
|
},
|
19771
19765
|
xl: {
|
19772
|
-
[vars$
|
19773
|
-
[vars$
|
19766
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.xl,
|
19767
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.xl,
|
19774
19768
|
},
|
19775
19769
|
},
|
19776
19770
|
|
19777
19771
|
textAlign: {
|
19778
19772
|
left: {
|
19779
|
-
[vars$
|
19773
|
+
[vars$9.justifyContent]: 'left',
|
19780
19774
|
},
|
19781
19775
|
center: {
|
19782
|
-
[vars$
|
19776
|
+
[vars$9.justifyContent]: 'center',
|
19783
19777
|
},
|
19784
19778
|
right: {
|
19785
|
-
[vars$
|
19779
|
+
[vars$9.justifyContent]: 'right',
|
19786
19780
|
},
|
19787
19781
|
},
|
19788
19782
|
|
19789
19783
|
_bordered: {
|
19790
|
-
[vars$
|
19791
|
-
[vars$
|
19792
|
-
[vars$
|
19793
|
-
[vars$
|
19794
|
-
[vars$
|
19784
|
+
[vars$9.borderWidth]: globalRefs$6.border.xs,
|
19785
|
+
[vars$9.borderColor]: 'transparent',
|
19786
|
+
[vars$9.borderStyle]: 'solid',
|
19787
|
+
[vars$9.borderWidth]: globalRefs$6.border.xs,
|
19788
|
+
[vars$9.borderRadius]: globalRefs$6.radius.sm,
|
19795
19789
|
},
|
19796
19790
|
|
19797
19791
|
_fullWidth: {
|
19798
|
-
[vars$
|
19792
|
+
[vars$9.hostWidth]: '100%',
|
19799
19793
|
},
|
19800
19794
|
};
|
19801
19795
|
|
19802
19796
|
var alert$1 = /*#__PURE__*/Object.freeze({
|
19803
19797
|
__proto__: null,
|
19804
19798
|
default: alert,
|
19799
|
+
vars: vars$9
|
19800
|
+
});
|
19801
|
+
|
19802
|
+
const componentName$b = getComponentName$1('hcaptcha');
|
19803
|
+
|
19804
|
+
const observedAttributes$2 = ['enabled', 'site-key'];
|
19805
|
+
|
19806
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$b, baseSelector: ':host > div' });
|
19807
|
+
class RawHcaptcha extends BaseInputClass$1 {
|
19808
|
+
static get observedAttributes() {
|
19809
|
+
return observedAttributes$2.concat(BaseInputClass$1.observedAttributes || []);
|
19810
|
+
}
|
19811
|
+
|
19812
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
19813
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
19814
|
+
if (oldValue !== newValue) {
|
19815
|
+
if (attrName === 'enabled') {
|
19816
|
+
this.toggleCaptchaEles(newValue === 'true');
|
19817
|
+
}
|
19818
|
+
}
|
19819
|
+
}
|
19820
|
+
|
19821
|
+
constructor() {
|
19822
|
+
super();
|
19823
|
+
|
19824
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
19825
|
+
<div class="badge">
|
19826
|
+
<span id="hcaptcha"></span>
|
19827
|
+
<input id="hcaptcha-input" type="hidden" name="hcaptcha" required />
|
19828
|
+
<img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>
|
19829
|
+
</div>
|
19830
|
+
<slot></slot>
|
19831
|
+
`;
|
19832
|
+
|
19833
|
+
injectStyle(
|
19834
|
+
`
|
19835
|
+
:host {
|
19836
|
+
display: inline-flex;
|
19837
|
+
}
|
19838
|
+
:host > div:not(.hidden) {
|
19839
|
+
display: flex;
|
19840
|
+
}
|
19841
|
+
:host #hcaptcha-input {
|
19842
|
+
display: none;
|
19843
|
+
}
|
19844
|
+
:host #hcaptcha .hcaptcha-logo {
|
19845
|
+
height: 100%;
|
19846
|
+
}
|
19847
|
+
:host #hcaptcha {
|
19848
|
+
width: 100%;
|
19849
|
+
height: 100%;
|
19850
|
+
}
|
19851
|
+
:host img {
|
19852
|
+
max-width: 100%;
|
19853
|
+
max-height: 100%;
|
19854
|
+
object-fit: contain;
|
19855
|
+
}
|
19856
|
+
.hidden {
|
19857
|
+
display: none;
|
19858
|
+
}
|
19859
|
+
`,
|
19860
|
+
this
|
19861
|
+
);
|
19862
|
+
|
19863
|
+
this.captchaEle = this.shadowRoot.querySelector('#hcaptcha');
|
19864
|
+
this.mockCaptchaEle = this.shadowRoot.querySelector('img');
|
19865
|
+
this.badge = this.shadowRoot.querySelector('.badge');
|
19866
|
+
this.inputElement = this.shadowRoot.querySelector('input');
|
19867
|
+
}
|
19868
|
+
|
19869
|
+
init() {
|
19870
|
+
super.init?.();
|
19871
|
+
|
19872
|
+
observeChildren(this, this.updatePreview.bind(this));
|
19873
|
+
// avoid any possible conflicts with the inner input elements
|
19874
|
+
this.inputElement.getValidity = null;
|
19875
|
+
this.inputElement.checkValidity = null;
|
19876
|
+
}
|
19877
|
+
|
19878
|
+
toggleCaptchaEles(enabled) {
|
19879
|
+
if (enabled) {
|
19880
|
+
this.captchaEle.style.display = '';
|
19881
|
+
this.mockCaptchaEle.style.display = 'none';
|
19882
|
+
} else {
|
19883
|
+
this.captchaEle.style.display = 'none';
|
19884
|
+
this.mockCaptchaEle.style.display = '';
|
19885
|
+
}
|
19886
|
+
}
|
19887
|
+
|
19888
|
+
updatePreview() {
|
19889
|
+
this.toggleCaptchaEles(this.enabled);
|
19890
|
+
}
|
19891
|
+
|
19892
|
+
getValidity() {
|
19893
|
+
if (!this.inputElement.value) {
|
19894
|
+
return { valueMissing: true };
|
19895
|
+
}
|
19896
|
+
|
19897
|
+
return {};
|
19898
|
+
}
|
19899
|
+
|
19900
|
+
checkValidity() {
|
19901
|
+
return !!this.inputElement.value;
|
19902
|
+
}
|
19903
|
+
|
19904
|
+
get siteKey() {
|
19905
|
+
return this.getAttribute('site-key');
|
19906
|
+
}
|
19907
|
+
|
19908
|
+
get enabled() {
|
19909
|
+
return this.getAttribute('enabled') === 'true';
|
19910
|
+
}
|
19911
|
+
}
|
19912
|
+
|
19913
|
+
const HcaptchaClass = compose$1(
|
19914
|
+
createStyleMixin({
|
19915
|
+
mappings: {
|
19916
|
+
hostWidth: [{ selector: () => ':host', property: 'width' }],
|
19917
|
+
hostDirection: { property: 'direction' },
|
19918
|
+
verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
|
19919
|
+
horizontalPadding: [{ property: 'padding-left' }, { property: 'padding-right' }],
|
19920
|
+
maxHeight: [
|
19921
|
+
{ selector: '>img', property: 'height' },
|
19922
|
+
{ selector: '>#hcaptcha', property: 'height' },
|
19923
|
+
],
|
19924
|
+
maxWidth: [
|
19925
|
+
{ selector: '>img', property: 'max-width' },
|
19926
|
+
{ selector: '>hcaptcha', property: 'max-width' },
|
19927
|
+
],
|
19928
|
+
},
|
19929
|
+
}),
|
19930
|
+
draggableMixin,
|
19931
|
+
componentNameValidationMixin
|
19932
|
+
)(RawHcaptcha);
|
19933
|
+
|
19934
|
+
const vars$8 = HcaptchaClass.cssVarList;
|
19935
|
+
|
19936
|
+
const hcaptcha = {
|
19937
|
+
enabled: {
|
19938
|
+
false: {
|
19939
|
+
[vars$8.maxHeight]: '70px',
|
19940
|
+
},
|
19941
|
+
},
|
19942
|
+
};
|
19943
|
+
|
19944
|
+
var hcaptcha$1 = /*#__PURE__*/Object.freeze({
|
19945
|
+
__proto__: null,
|
19946
|
+
default: hcaptcha,
|
19805
19947
|
vars: vars$8
|
19806
19948
|
});
|
19807
19949
|
|
@@ -21684,6 +21826,7 @@ const components = {
|
|
21684
21826
|
passwordStrength: passwordStrength$1,
|
21685
21827
|
collapsibleContainer: collapsibleContainer$1,
|
21686
21828
|
recoveryCodes: recoveryCodes$1,
|
21829
|
+
hcaptcha: hcaptcha$1,
|
21687
21830
|
};
|
21688
21831
|
|
21689
21832
|
const theme = Object.keys(components).reduce(
|
@@ -21696,7 +21839,7 @@ const vars = Object.keys(components).reduce(
|
|
21696
21839
|
);
|
21697
21840
|
|
21698
21841
|
const defaultTheme = { globals: globals$1, components: theme };
|
21699
|
-
const themeVars = { globals: vars$
|
21842
|
+
const themeVars = { globals: vars$11, components: vars };
|
21700
21843
|
|
21701
21844
|
const colors = {
|
21702
21845
|
surface: {
|
@@ -22118,6 +22261,7 @@ exports.DividerClass = DividerClass;
|
|
22118
22261
|
exports.EmailFieldClass = EmailFieldClass;
|
22119
22262
|
exports.EnrichedTextClass = EnrichedTextClass;
|
22120
22263
|
exports.GridClass = GridClass;
|
22264
|
+
exports.HcaptchaClass = HcaptchaClass;
|
22121
22265
|
exports.HybridFieldClass = HybridFieldClass;
|
22122
22266
|
exports.IconClass = IconClass;
|
22123
22267
|
exports.ImageClass = ImageClass;
|