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