@descope/web-components-ui 1.0.394 → 1.0.396
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 +1415 -1196
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1395 -1175
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4619.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +4 -4
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
- package/dist/umd/descope-security-questions-verify-index-js.js +37 -0
- package/dist/umd/descope-security-questions-verify-index-js.js.LICENSE.txt +11 -0
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-email-field/EmailFieldClass.js +1 -0
- package/src/components/descope-new-password/NewPasswordClass.js +1 -0
- package/src/components/descope-password/PasswordClass.js +1 -0
- package/src/components/descope-security-questions-setup/SecurityQuestionsSetupClass.js +1 -9
- package/src/components/descope-security-questions-setup/index.js +0 -1
- package/src/components/descope-security-questions-verify/SecurityQuestionsVerifyClass.js +208 -0
- package/src/components/descope-security-questions-verify/index.js +7 -0
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/mixins/externalInputHelpers.js +2 -1
- package/src/mixins/externalInputMixin.js +3 -2
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/securityQuestionsSetup.js +2 -2
- package/src/theme/components/securityQuestionsVerify.js +16 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -651,7 +651,7 @@ const globals = {
|
|
651
651
|
fonts,
|
652
652
|
direction,
|
653
653
|
};
|
654
|
-
const vars$
|
654
|
+
const vars$S = getThemeVars(globals);
|
655
655
|
|
656
656
|
const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
|
657
657
|
|
@@ -2694,11 +2694,12 @@ const createExternalInputSlot = (slotName, targetSlotName) => {
|
|
2694
2694
|
return slotEle;
|
2695
2695
|
};
|
2696
2696
|
|
2697
|
-
const createExternalInputEle = (targetSlotName, type, autocompleteType) => {
|
2697
|
+
const createExternalInputEle = (targetSlotName, type, autocompleteType, inputName) => {
|
2698
2698
|
const inputEle = document.createElement('input');
|
2699
2699
|
|
2700
2700
|
inputEle.setAttribute('slot', targetSlotName);
|
2701
2701
|
inputEle.setAttribute('type', type);
|
2702
|
+
inputEle.setAttribute('name', inputName);
|
2702
2703
|
inputEle.setAttribute('data-hidden-input', 'true');
|
2703
2704
|
inputEle.setAttribute('autocomplete', autocompleteType);
|
2704
2705
|
|
@@ -2759,7 +2760,7 @@ const applyExternalInputStyles = (sourceInputEle, targetInputEle, labelType) =>
|
|
2759
2760
|
};
|
2760
2761
|
|
2761
2762
|
const externalInputMixin =
|
2762
|
-
({ inputType, autocompleteType, includeAttrs = [], noBlurDispatch = false }) =>
|
2763
|
+
({ inputType, inputName, autocompleteType, includeAttrs = [], noBlurDispatch = false }) =>
|
2763
2764
|
(superclass) =>
|
2764
2765
|
class ExternalInputMixinClass extends superclass {
|
2765
2766
|
#timers = [];
|
@@ -2790,7 +2791,8 @@ const externalInputMixin =
|
|
2790
2791
|
this.externalInput = createExternalInputEle(
|
2791
2792
|
'external-input',
|
2792
2793
|
inputType,
|
2793
|
-
this.getAutocompleteType()
|
2794
|
+
this.getAutocompleteType(),
|
2795
|
+
inputName
|
2794
2796
|
);
|
2795
2797
|
|
2796
2798
|
// apply original input's styles to external input
|
@@ -2969,9 +2971,9 @@ const createIcon = async (src) => {
|
|
2969
2971
|
|
2970
2972
|
/* eslint-disable no-use-before-define */
|
2971
2973
|
|
2972
|
-
const componentName
|
2974
|
+
const componentName$$ = getComponentName('icon');
|
2973
2975
|
|
2974
|
-
class RawIcon extends createBaseClass({ componentName: componentName
|
2976
|
+
class RawIcon extends createBaseClass({ componentName: componentName$$, baseSelector: 'slot' }) {
|
2975
2977
|
static get observedAttributes() {
|
2976
2978
|
return ['src'];
|
2977
2979
|
}
|
@@ -3056,7 +3058,7 @@ const clickableMixin = (superclass) =>
|
|
3056
3058
|
}
|
3057
3059
|
};
|
3058
3060
|
|
3059
|
-
const componentName$
|
3061
|
+
const componentName$_ = getComponentName('button');
|
3060
3062
|
|
3061
3063
|
const resetStyles = `
|
3062
3064
|
:host {
|
@@ -3172,7 +3174,7 @@ const ButtonClass = compose(
|
|
3172
3174
|
}
|
3173
3175
|
`,
|
3174
3176
|
excludeAttrsSync: ['tabindex'],
|
3175
|
-
componentName: componentName$
|
3177
|
+
componentName: componentName$_,
|
3176
3178
|
})
|
3177
3179
|
);
|
3178
3180
|
|
@@ -3220,7 +3222,7 @@ const mode = {
|
|
3220
3222
|
surface: globalRefs$y.colors.surface,
|
3221
3223
|
};
|
3222
3224
|
|
3223
|
-
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$
|
3225
|
+
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$_);
|
3224
3226
|
|
3225
3227
|
const button = {
|
3226
3228
|
...helperTheme$4,
|
@@ -3332,7 +3334,7 @@ const button = {
|
|
3332
3334
|
},
|
3333
3335
|
};
|
3334
3336
|
|
3335
|
-
const vars$
|
3337
|
+
const vars$R = {
|
3336
3338
|
...compVars$6,
|
3337
3339
|
...helperVars$4,
|
3338
3340
|
};
|
@@ -3340,7 +3342,7 @@ const vars$Q = {
|
|
3340
3342
|
var button$1 = /*#__PURE__*/Object.freeze({
|
3341
3343
|
__proto__: null,
|
3342
3344
|
default: button,
|
3343
|
-
vars: vars$
|
3345
|
+
vars: vars$R
|
3344
3346
|
});
|
3345
3347
|
|
3346
3348
|
const {
|
@@ -3634,7 +3636,7 @@ const inputFloatingLabelStyle = () => {
|
|
3634
3636
|
`;
|
3635
3637
|
};
|
3636
3638
|
|
3637
|
-
const componentName$
|
3639
|
+
const componentName$Z = getComponentName('text-field');
|
3638
3640
|
|
3639
3641
|
const observedAttrs$2 = ['type', 'label-type', 'copy-to-clipboard'];
|
3640
3642
|
|
@@ -3756,14 +3758,14 @@ const TextFieldClass = compose(
|
|
3756
3758
|
}
|
3757
3759
|
`,
|
3758
3760
|
excludeAttrsSync: ['tabindex'],
|
3759
|
-
componentName: componentName$
|
3761
|
+
componentName: componentName$Z,
|
3760
3762
|
})
|
3761
3763
|
);
|
3762
3764
|
|
3763
|
-
const componentName$
|
3765
|
+
const componentName$Y = getComponentName('input-wrapper');
|
3764
3766
|
const globalRefs$x = getThemeRefs(globals);
|
3765
3767
|
|
3766
|
-
const [theme$1, refs, vars$
|
3768
|
+
const [theme$1, refs, vars$Q] = createHelperVars(
|
3767
3769
|
{
|
3768
3770
|
labelTextColor: globalRefs$x.colors.surface.dark,
|
3769
3771
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
@@ -3875,70 +3877,70 @@ const [theme$1, refs, vars$P] = createHelperVars(
|
|
3875
3877
|
backgroundColor: globalRefs$x.colors.surface.main,
|
3876
3878
|
},
|
3877
3879
|
},
|
3878
|
-
componentName$
|
3880
|
+
componentName$Y
|
3879
3881
|
);
|
3880
3882
|
|
3881
3883
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
3882
3884
|
__proto__: null,
|
3883
3885
|
default: theme$1,
|
3884
3886
|
refs: refs,
|
3885
|
-
vars: vars$
|
3887
|
+
vars: vars$Q
|
3886
3888
|
});
|
3887
3889
|
|
3888
3890
|
const globalRefs$w = getThemeRefs(globals);
|
3889
|
-
const vars$
|
3891
|
+
const vars$P = TextFieldClass.cssVarList;
|
3890
3892
|
|
3891
3893
|
const textField$1 = {
|
3892
|
-
[vars$
|
3893
|
-
[vars$
|
3894
|
-
[vars$
|
3895
|
-
[vars$
|
3896
|
-
[vars$
|
3897
|
-
[vars$
|
3898
|
-
[vars$
|
3899
|
-
[vars$
|
3900
|
-
[vars$
|
3901
|
-
[vars$
|
3902
|
-
[vars$
|
3903
|
-
[vars$
|
3904
|
-
[vars$
|
3905
|
-
[vars$
|
3906
|
-
[vars$
|
3907
|
-
[vars$
|
3908
|
-
[vars$
|
3909
|
-
[vars$
|
3910
|
-
[vars$
|
3911
|
-
[vars$
|
3912
|
-
[vars$
|
3913
|
-
[vars$
|
3914
|
-
[vars$
|
3915
|
-
[vars$
|
3916
|
-
[vars$
|
3894
|
+
[vars$P.hostWidth]: refs.width,
|
3895
|
+
[vars$P.hostMinWidth]: refs.minWidth,
|
3896
|
+
[vars$P.hostDirection]: refs.direction,
|
3897
|
+
[vars$P.fontSize]: refs.fontSize,
|
3898
|
+
[vars$P.fontFamily]: refs.fontFamily,
|
3899
|
+
[vars$P.labelFontSize]: refs.labelFontSize,
|
3900
|
+
[vars$P.labelFontWeight]: refs.labelFontWeight,
|
3901
|
+
[vars$P.labelTextColor]: refs.labelTextColor,
|
3902
|
+
[vars$P.labelRequiredIndicator]: refs.requiredIndicator,
|
3903
|
+
[vars$P.errorMessageTextColor]: refs.errorMessageTextColor,
|
3904
|
+
[vars$P.inputValueTextColor]: refs.valueTextColor,
|
3905
|
+
[vars$P.inputPlaceholderColor]: refs.placeholderTextColor,
|
3906
|
+
[vars$P.inputBorderWidth]: refs.borderWidth,
|
3907
|
+
[vars$P.inputBorderStyle]: refs.borderStyle,
|
3908
|
+
[vars$P.inputBorderColor]: refs.borderColor,
|
3909
|
+
[vars$P.inputBorderRadius]: refs.borderRadius,
|
3910
|
+
[vars$P.inputOutlineWidth]: refs.outlineWidth,
|
3911
|
+
[vars$P.inputOutlineStyle]: refs.outlineStyle,
|
3912
|
+
[vars$P.inputOutlineColor]: refs.outlineColor,
|
3913
|
+
[vars$P.inputOutlineOffset]: refs.outlineOffset,
|
3914
|
+
[vars$P.inputBackgroundColor]: refs.backgroundColor,
|
3915
|
+
[vars$P.inputHeight]: refs.inputHeight,
|
3916
|
+
[vars$P.inputHorizontalPadding]: refs.horizontalPadding,
|
3917
|
+
[vars$P.helperTextColor]: refs.helperTextColor,
|
3918
|
+
[vars$P.textAlign]: refs.textAlign,
|
3917
3919
|
textAlign: {
|
3918
|
-
right: { [vars$
|
3919
|
-
left: { [vars$
|
3920
|
-
center: { [vars$
|
3920
|
+
right: { [vars$P.inputTextAlign]: 'right' },
|
3921
|
+
left: { [vars$P.inputTextAlign]: 'left' },
|
3922
|
+
center: { [vars$P.inputTextAlign]: 'center' },
|
3921
3923
|
},
|
3922
|
-
[vars$
|
3923
|
-
[vars$
|
3924
|
-
[vars$
|
3925
|
-
[vars$
|
3926
|
-
[vars$
|
3927
|
-
[vars$
|
3928
|
-
[vars$
|
3929
|
-
[vars$
|
3930
|
-
[vars$
|
3931
|
-
[vars$
|
3932
|
-
[vars$
|
3933
|
-
[vars$
|
3934
|
-
[vars$
|
3924
|
+
[vars$P.labelPosition]: refs.labelPosition,
|
3925
|
+
[vars$P.labelTopPosition]: refs.labelTopPosition,
|
3926
|
+
[vars$P.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
3927
|
+
[vars$P.inputTransformY]: refs.inputTransformY,
|
3928
|
+
[vars$P.inputTransition]: refs.inputTransition,
|
3929
|
+
[vars$P.marginInlineStart]: refs.marginInlineStart,
|
3930
|
+
[vars$P.placeholderOpacity]: refs.placeholderOpacity,
|
3931
|
+
[vars$P.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
3932
|
+
[vars$P.valueInputHeight]: refs.valueInputHeight,
|
3933
|
+
[vars$P.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
3934
|
+
[vars$P.inputIconOffset]: globalRefs$w.spacing.md,
|
3935
|
+
[vars$P.inputIconSize]: refs.inputIconSize,
|
3936
|
+
[vars$P.inputIconColor]: refs.placeholderTextColor,
|
3935
3937
|
};
|
3936
3938
|
|
3937
3939
|
var textField$2 = /*#__PURE__*/Object.freeze({
|
3938
3940
|
__proto__: null,
|
3939
3941
|
default: textField$1,
|
3940
3942
|
textField: textField$1,
|
3941
|
-
vars: vars$
|
3943
|
+
vars: vars$P
|
3942
3944
|
});
|
3943
3945
|
|
3944
3946
|
const passwordDraggableMixin = (superclass) =>
|
@@ -3980,7 +3982,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
3980
3982
|
}
|
3981
3983
|
};
|
3982
3984
|
|
3983
|
-
const componentName$
|
3985
|
+
const componentName$X = getComponentName('password');
|
3984
3986
|
|
3985
3987
|
const customMixin$b = (superclass) =>
|
3986
3988
|
class PasswordFieldMixinClass extends superclass {
|
@@ -4182,6 +4184,7 @@ const PasswordClass = compose(
|
|
4182
4184
|
draggableMixin,
|
4183
4185
|
externalInputMixin({
|
4184
4186
|
inputType: 'password',
|
4187
|
+
inputName: 'password',
|
4185
4188
|
includeAttrs: ['disabled', 'readonly', 'pattern', 'type', 'autocomplete'],
|
4186
4189
|
noBlurDispatch: true,
|
4187
4190
|
}),
|
@@ -4255,58 +4258,58 @@ const PasswordClass = compose(
|
|
4255
4258
|
}
|
4256
4259
|
`,
|
4257
4260
|
excludeAttrsSync: ['tabindex'],
|
4258
|
-
componentName: componentName$
|
4261
|
+
componentName: componentName$X,
|
4259
4262
|
})
|
4260
4263
|
);
|
4261
4264
|
|
4262
4265
|
const globalRefs$v = getThemeRefs(globals);
|
4263
|
-
const vars$
|
4266
|
+
const vars$O = PasswordClass.cssVarList;
|
4264
4267
|
|
4265
4268
|
const password = {
|
4266
|
-
[vars$
|
4267
|
-
[vars$
|
4268
|
-
[vars$
|
4269
|
-
[vars$
|
4270
|
-
[vars$
|
4271
|
-
[vars$
|
4272
|
-
[vars$
|
4273
|
-
[vars$
|
4274
|
-
[vars$
|
4275
|
-
[vars$
|
4276
|
-
[vars$
|
4277
|
-
[vars$
|
4278
|
-
[vars$
|
4279
|
-
[vars$
|
4280
|
-
[vars$
|
4281
|
-
[vars$
|
4282
|
-
[vars$
|
4283
|
-
[vars$
|
4284
|
-
[vars$
|
4285
|
-
[vars$
|
4286
|
-
[vars$
|
4287
|
-
[vars$
|
4288
|
-
[vars$
|
4289
|
-
[vars$
|
4290
|
-
[vars$
|
4291
|
-
[vars$
|
4292
|
-
[vars$
|
4293
|
-
[vars$
|
4294
|
-
[vars$
|
4295
|
-
[vars$
|
4296
|
-
[vars$
|
4297
|
-
[vars$
|
4298
|
-
[vars$
|
4299
|
-
[vars$
|
4300
|
-
[vars$
|
4269
|
+
[vars$O.hostWidth]: refs.width,
|
4270
|
+
[vars$O.hostMinWidth]: refs.minWidth,
|
4271
|
+
[vars$O.hostDirection]: refs.direction,
|
4272
|
+
[vars$O.fontSize]: refs.fontSize,
|
4273
|
+
[vars$O.fontFamily]: refs.fontFamily,
|
4274
|
+
[vars$O.labelFontSize]: refs.labelFontSize,
|
4275
|
+
[vars$O.labelFontWeight]: refs.labelFontWeight,
|
4276
|
+
[vars$O.labelTextColor]: refs.labelTextColor,
|
4277
|
+
[vars$O.errorMessageTextColor]: refs.errorMessageTextColor,
|
4278
|
+
[vars$O.inputHorizontalPadding]: refs.horizontalPadding,
|
4279
|
+
[vars$O.inputHeight]: refs.inputHeight,
|
4280
|
+
[vars$O.inputBackgroundColor]: refs.backgroundColor,
|
4281
|
+
[vars$O.labelRequiredIndicator]: refs.requiredIndicator,
|
4282
|
+
[vars$O.inputValueTextColor]: refs.valueTextColor,
|
4283
|
+
[vars$O.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
4284
|
+
[vars$O.inputBorderWidth]: refs.borderWidth,
|
4285
|
+
[vars$O.inputBorderStyle]: refs.borderStyle,
|
4286
|
+
[vars$O.inputBorderColor]: refs.borderColor,
|
4287
|
+
[vars$O.inputBorderRadius]: refs.borderRadius,
|
4288
|
+
[vars$O.inputOutlineWidth]: refs.outlineWidth,
|
4289
|
+
[vars$O.inputOutlineStyle]: refs.outlineStyle,
|
4290
|
+
[vars$O.inputOutlineColor]: refs.outlineColor,
|
4291
|
+
[vars$O.inputOutlineOffset]: refs.outlineOffset,
|
4292
|
+
[vars$O.revealButtonOffset]: globalRefs$v.spacing.md,
|
4293
|
+
[vars$O.revealButtonSize]: refs.toggleButtonSize,
|
4294
|
+
[vars$O.revealButtonColor]: refs.placeholderTextColor,
|
4295
|
+
[vars$O.labelPosition]: refs.labelPosition,
|
4296
|
+
[vars$O.labelTopPosition]: refs.labelTopPosition,
|
4297
|
+
[vars$O.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
4298
|
+
[vars$O.inputTransformY]: refs.inputTransformY,
|
4299
|
+
[vars$O.inputTransition]: refs.inputTransition,
|
4300
|
+
[vars$O.marginInlineStart]: refs.marginInlineStart,
|
4301
|
+
[vars$O.placeholderOpacity]: refs.placeholderOpacity,
|
4302
|
+
[vars$O.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
4303
|
+
[vars$O.valueInputHeight]: refs.valueInputHeight,
|
4301
4304
|
};
|
4302
4305
|
|
4303
4306
|
var password$1 = /*#__PURE__*/Object.freeze({
|
4304
4307
|
__proto__: null,
|
4305
4308
|
default: password,
|
4306
|
-
vars: vars$
|
4309
|
+
vars: vars$O
|
4307
4310
|
});
|
4308
4311
|
|
4309
|
-
const componentName$
|
4312
|
+
const componentName$W = getComponentName('number-field');
|
4310
4313
|
|
4311
4314
|
const NumberFieldClass = compose(
|
4312
4315
|
createStyleMixin({
|
@@ -4340,55 +4343,55 @@ const NumberFieldClass = compose(
|
|
4340
4343
|
}
|
4341
4344
|
`,
|
4342
4345
|
excludeAttrsSync: ['tabindex'],
|
4343
|
-
componentName: componentName$
|
4346
|
+
componentName: componentName$W,
|
4344
4347
|
})
|
4345
4348
|
);
|
4346
4349
|
|
4347
|
-
const vars$
|
4350
|
+
const vars$N = NumberFieldClass.cssVarList;
|
4348
4351
|
|
4349
4352
|
const numberField = {
|
4350
|
-
[vars$
|
4351
|
-
[vars$
|
4352
|
-
[vars$
|
4353
|
-
[vars$
|
4354
|
-
[vars$
|
4355
|
-
[vars$
|
4356
|
-
[vars$
|
4357
|
-
[vars$
|
4358
|
-
[vars$
|
4359
|
-
[vars$
|
4360
|
-
[vars$
|
4361
|
-
[vars$
|
4362
|
-
[vars$
|
4363
|
-
[vars$
|
4364
|
-
[vars$
|
4365
|
-
[vars$
|
4366
|
-
[vars$
|
4367
|
-
[vars$
|
4368
|
-
[vars$
|
4369
|
-
[vars$
|
4370
|
-
[vars$
|
4371
|
-
[vars$
|
4372
|
-
[vars$
|
4373
|
-
[vars$
|
4374
|
-
[vars$
|
4375
|
-
[vars$
|
4376
|
-
[vars$
|
4377
|
-
[vars$
|
4378
|
-
[vars$
|
4379
|
-
[vars$
|
4380
|
-
[vars$
|
4381
|
-
[vars$
|
4382
|
-
[vars$
|
4353
|
+
[vars$N.hostWidth]: refs.width,
|
4354
|
+
[vars$N.hostMinWidth]: refs.minWidth,
|
4355
|
+
[vars$N.hostDirection]: refs.direction,
|
4356
|
+
[vars$N.fontSize]: refs.fontSize,
|
4357
|
+
[vars$N.fontFamily]: refs.fontFamily,
|
4358
|
+
[vars$N.labelFontSize]: refs.labelFontSize,
|
4359
|
+
[vars$N.labelFontWeight]: refs.labelFontWeight,
|
4360
|
+
[vars$N.labelTextColor]: refs.labelTextColor,
|
4361
|
+
[vars$N.errorMessageTextColor]: refs.errorMessageTextColor,
|
4362
|
+
[vars$N.inputValueTextColor]: refs.valueTextColor,
|
4363
|
+
[vars$N.inputPlaceholderColor]: refs.placeholderTextColor,
|
4364
|
+
[vars$N.inputBorderWidth]: refs.borderWidth,
|
4365
|
+
[vars$N.inputBorderStyle]: refs.borderStyle,
|
4366
|
+
[vars$N.inputBorderColor]: refs.borderColor,
|
4367
|
+
[vars$N.inputBorderRadius]: refs.borderRadius,
|
4368
|
+
[vars$N.inputOutlineWidth]: refs.outlineWidth,
|
4369
|
+
[vars$N.inputOutlineStyle]: refs.outlineStyle,
|
4370
|
+
[vars$N.inputOutlineColor]: refs.outlineColor,
|
4371
|
+
[vars$N.inputOutlineOffset]: refs.outlineOffset,
|
4372
|
+
[vars$N.inputBackgroundColor]: refs.backgroundColor,
|
4373
|
+
[vars$N.labelRequiredIndicator]: refs.requiredIndicator,
|
4374
|
+
[vars$N.inputHorizontalPadding]: refs.horizontalPadding,
|
4375
|
+
[vars$N.inputHeight]: refs.inputHeight,
|
4376
|
+
[vars$N.labelPosition]: refs.labelPosition,
|
4377
|
+
[vars$N.labelTopPosition]: refs.labelTopPosition,
|
4378
|
+
[vars$N.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
4379
|
+
[vars$N.inputTransformY]: refs.inputTransformY,
|
4380
|
+
[vars$N.inputTransition]: refs.inputTransition,
|
4381
|
+
[vars$N.marginInlineStart]: refs.marginInlineStart,
|
4382
|
+
[vars$N.placeholderOpacity]: refs.placeholderOpacity,
|
4383
|
+
[vars$N.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
4384
|
+
[vars$N.valueInputHeight]: refs.valueInputHeight,
|
4385
|
+
[vars$N.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
4383
4386
|
};
|
4384
4387
|
|
4385
4388
|
var numberField$1 = /*#__PURE__*/Object.freeze({
|
4386
4389
|
__proto__: null,
|
4387
4390
|
default: numberField,
|
4388
|
-
vars: vars$
|
4391
|
+
vars: vars$N
|
4389
4392
|
});
|
4390
4393
|
|
4391
|
-
const componentName$
|
4394
|
+
const componentName$V = getComponentName('email-field');
|
4392
4395
|
|
4393
4396
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
4394
4397
|
const defaultAutocomplete = 'username';
|
@@ -4416,6 +4419,7 @@ const EmailFieldClass = compose(
|
|
4416
4419
|
draggableMixin,
|
4417
4420
|
externalInputMixin({
|
4418
4421
|
inputType: 'email',
|
4422
|
+
inputName: 'email',
|
4419
4423
|
autocompleteType: 'username',
|
4420
4424
|
includeAttrs: ['disabled', 'readonly', 'pattern'],
|
4421
4425
|
}),
|
@@ -4456,55 +4460,55 @@ const EmailFieldClass = compose(
|
|
4456
4460
|
}
|
4457
4461
|
`,
|
4458
4462
|
excludeAttrsSync: ['tabindex'],
|
4459
|
-
componentName: componentName$
|
4463
|
+
componentName: componentName$V,
|
4460
4464
|
})
|
4461
4465
|
);
|
4462
4466
|
|
4463
|
-
const vars$
|
4467
|
+
const vars$M = EmailFieldClass.cssVarList;
|
4464
4468
|
|
4465
4469
|
const emailField = {
|
4466
|
-
[vars$
|
4467
|
-
[vars$
|
4468
|
-
[vars$
|
4469
|
-
[vars$
|
4470
|
-
[vars$
|
4471
|
-
[vars$
|
4472
|
-
[vars$
|
4473
|
-
[vars$
|
4474
|
-
[vars$
|
4475
|
-
[vars$
|
4476
|
-
[vars$
|
4477
|
-
[vars$
|
4478
|
-
[vars$
|
4479
|
-
[vars$
|
4480
|
-
[vars$
|
4481
|
-
[vars$
|
4482
|
-
[vars$
|
4483
|
-
[vars$
|
4484
|
-
[vars$
|
4485
|
-
[vars$
|
4486
|
-
[vars$
|
4487
|
-
[vars$
|
4488
|
-
[vars$
|
4489
|
-
[vars$
|
4490
|
-
[vars$
|
4491
|
-
[vars$
|
4492
|
-
[vars$
|
4493
|
-
[vars$
|
4494
|
-
[vars$
|
4495
|
-
[vars$
|
4496
|
-
[vars$
|
4497
|
-
[vars$
|
4498
|
-
[vars$
|
4470
|
+
[vars$M.hostWidth]: refs.width,
|
4471
|
+
[vars$M.hostMinWidth]: refs.minWidth,
|
4472
|
+
[vars$M.hostDirection]: refs.direction,
|
4473
|
+
[vars$M.fontSize]: refs.fontSize,
|
4474
|
+
[vars$M.fontFamily]: refs.fontFamily,
|
4475
|
+
[vars$M.labelFontSize]: refs.labelFontSize,
|
4476
|
+
[vars$M.labelFontWeight]: refs.labelFontWeight,
|
4477
|
+
[vars$M.labelTextColor]: refs.labelTextColor,
|
4478
|
+
[vars$M.errorMessageTextColor]: refs.errorMessageTextColor,
|
4479
|
+
[vars$M.inputValueTextColor]: refs.valueTextColor,
|
4480
|
+
[vars$M.labelRequiredIndicator]: refs.requiredIndicator,
|
4481
|
+
[vars$M.inputPlaceholderColor]: refs.placeholderTextColor,
|
4482
|
+
[vars$M.inputBorderWidth]: refs.borderWidth,
|
4483
|
+
[vars$M.inputBorderStyle]: refs.borderStyle,
|
4484
|
+
[vars$M.inputBorderColor]: refs.borderColor,
|
4485
|
+
[vars$M.inputBorderRadius]: refs.borderRadius,
|
4486
|
+
[vars$M.inputOutlineWidth]: refs.outlineWidth,
|
4487
|
+
[vars$M.inputOutlineStyle]: refs.outlineStyle,
|
4488
|
+
[vars$M.inputOutlineColor]: refs.outlineColor,
|
4489
|
+
[vars$M.inputOutlineOffset]: refs.outlineOffset,
|
4490
|
+
[vars$M.inputBackgroundColor]: refs.backgroundColor,
|
4491
|
+
[vars$M.inputHorizontalPadding]: refs.horizontalPadding,
|
4492
|
+
[vars$M.inputHeight]: refs.inputHeight,
|
4493
|
+
[vars$M.labelPosition]: refs.labelPosition,
|
4494
|
+
[vars$M.labelTopPosition]: refs.labelTopPosition,
|
4495
|
+
[vars$M.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
4496
|
+
[vars$M.inputTransformY]: refs.inputTransformY,
|
4497
|
+
[vars$M.inputTransition]: refs.inputTransition,
|
4498
|
+
[vars$M.marginInlineStart]: refs.marginInlineStart,
|
4499
|
+
[vars$M.placeholderOpacity]: refs.placeholderOpacity,
|
4500
|
+
[vars$M.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
4501
|
+
[vars$M.valueInputHeight]: refs.valueInputHeight,
|
4502
|
+
[vars$M.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
4499
4503
|
};
|
4500
4504
|
|
4501
4505
|
var emailField$1 = /*#__PURE__*/Object.freeze({
|
4502
4506
|
__proto__: null,
|
4503
4507
|
default: emailField,
|
4504
|
-
vars: vars$
|
4508
|
+
vars: vars$M
|
4505
4509
|
});
|
4506
4510
|
|
4507
|
-
const componentName$
|
4511
|
+
const componentName$U = getComponentName('text-area');
|
4508
4512
|
|
4509
4513
|
const {
|
4510
4514
|
host: host$l,
|
@@ -4580,49 +4584,49 @@ const TextAreaClass = compose(
|
|
4580
4584
|
${resetInputCursor('vaadin-text-area')}
|
4581
4585
|
`,
|
4582
4586
|
excludeAttrsSync: ['tabindex'],
|
4583
|
-
componentName: componentName$
|
4587
|
+
componentName: componentName$U,
|
4584
4588
|
})
|
4585
4589
|
);
|
4586
4590
|
|
4587
|
-
const vars$
|
4591
|
+
const vars$L = TextAreaClass.cssVarList;
|
4588
4592
|
|
4589
4593
|
const textArea = {
|
4590
|
-
[vars$
|
4591
|
-
[vars$
|
4592
|
-
[vars$
|
4593
|
-
[vars$
|
4594
|
-
[vars$
|
4595
|
-
[vars$
|
4596
|
-
[vars$
|
4597
|
-
[vars$
|
4598
|
-
[vars$
|
4599
|
-
[vars$
|
4600
|
-
[vars$
|
4601
|
-
[vars$
|
4602
|
-
[vars$
|
4603
|
-
[vars$
|
4604
|
-
[vars$
|
4605
|
-
[vars$
|
4606
|
-
[vars$
|
4607
|
-
[vars$
|
4608
|
-
[vars$
|
4609
|
-
[vars$
|
4610
|
-
[vars$
|
4594
|
+
[vars$L.hostWidth]: refs.width,
|
4595
|
+
[vars$L.hostMinWidth]: refs.minWidth,
|
4596
|
+
[vars$L.hostDirection]: refs.direction,
|
4597
|
+
[vars$L.fontSize]: refs.fontSize,
|
4598
|
+
[vars$L.fontFamily]: refs.fontFamily,
|
4599
|
+
[vars$L.labelTextColor]: refs.labelTextColor,
|
4600
|
+
[vars$L.labelRequiredIndicator]: refs.requiredIndicator,
|
4601
|
+
[vars$L.errorMessageTextColor]: refs.errorMessageTextColor,
|
4602
|
+
[vars$L.inputBackgroundColor]: refs.backgroundColor,
|
4603
|
+
[vars$L.inputValueTextColor]: refs.valueTextColor,
|
4604
|
+
[vars$L.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
4605
|
+
[vars$L.inputBorderRadius]: refs.borderRadius,
|
4606
|
+
[vars$L.inputBorderWidth]: refs.borderWidth,
|
4607
|
+
[vars$L.inputBorderStyle]: refs.borderStyle,
|
4608
|
+
[vars$L.inputBorderColor]: refs.borderColor,
|
4609
|
+
[vars$L.inputOutlineWidth]: refs.outlineWidth,
|
4610
|
+
[vars$L.inputOutlineStyle]: refs.outlineStyle,
|
4611
|
+
[vars$L.inputOutlineColor]: refs.outlineColor,
|
4612
|
+
[vars$L.inputOutlineOffset]: refs.outlineOffset,
|
4613
|
+
[vars$L.inputResizeType]: 'vertical',
|
4614
|
+
[vars$L.inputMinHeight]: '5em',
|
4611
4615
|
textAlign: {
|
4612
|
-
right: { [vars$
|
4613
|
-
left: { [vars$
|
4614
|
-
center: { [vars$
|
4616
|
+
right: { [vars$L.inputTextAlign]: 'right' },
|
4617
|
+
left: { [vars$L.inputTextAlign]: 'left' },
|
4618
|
+
center: { [vars$L.inputTextAlign]: 'center' },
|
4615
4619
|
},
|
4616
4620
|
|
4617
4621
|
_readonly: {
|
4618
|
-
[vars$
|
4622
|
+
[vars$L.inputResizeType]: 'none',
|
4619
4623
|
},
|
4620
4624
|
};
|
4621
4625
|
|
4622
4626
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
4623
4627
|
__proto__: null,
|
4624
4628
|
default: textArea,
|
4625
|
-
vars: vars$
|
4629
|
+
vars: vars$L
|
4626
4630
|
});
|
4627
4631
|
|
4628
4632
|
const createBaseInputClass = (...args) =>
|
@@ -4633,9 +4637,9 @@ const createBaseInputClass = (...args) =>
|
|
4633
4637
|
inputEventsDispatchingMixin
|
4634
4638
|
)(createBaseClass(...args));
|
4635
4639
|
|
4636
|
-
const componentName$
|
4640
|
+
const componentName$T = getComponentName('boolean-field-internal');
|
4637
4641
|
|
4638
|
-
createBaseInputClass({ componentName: componentName$
|
4642
|
+
createBaseInputClass({ componentName: componentName$T, baseSelector: 'div' });
|
4639
4643
|
|
4640
4644
|
const booleanFieldMixin = (superclass) =>
|
4641
4645
|
class BooleanFieldMixinClass extends superclass {
|
@@ -4644,14 +4648,14 @@ const booleanFieldMixin = (superclass) =>
|
|
4644
4648
|
|
4645
4649
|
const template = document.createElement('template');
|
4646
4650
|
template.innerHTML = `
|
4647
|
-
<${componentName$
|
4651
|
+
<${componentName$T}
|
4648
4652
|
tabindex="-1"
|
4649
4653
|
slot="input"
|
4650
|
-
></${componentName$
|
4654
|
+
></${componentName$T}>
|
4651
4655
|
`;
|
4652
4656
|
|
4653
4657
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
4654
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
4658
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$T);
|
4655
4659
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
4656
4660
|
|
4657
4661
|
forwardAttrs(this, this.inputElement, {
|
@@ -4720,7 +4724,7 @@ descope-boolean-field-internal {
|
|
4720
4724
|
}
|
4721
4725
|
`;
|
4722
4726
|
|
4723
|
-
const componentName$
|
4727
|
+
const componentName$S = getComponentName('checkbox');
|
4724
4728
|
|
4725
4729
|
const {
|
4726
4730
|
host: host$k,
|
@@ -4832,44 +4836,44 @@ const CheckboxClass = compose(
|
|
4832
4836
|
}
|
4833
4837
|
`,
|
4834
4838
|
excludeAttrsSync: ['label', 'tabindex'],
|
4835
|
-
componentName: componentName$
|
4839
|
+
componentName: componentName$S,
|
4836
4840
|
})
|
4837
4841
|
);
|
4838
4842
|
|
4839
|
-
const vars$
|
4843
|
+
const vars$K = CheckboxClass.cssVarList;
|
4840
4844
|
const checkboxSize = '1.35em';
|
4841
4845
|
|
4842
4846
|
const checkbox = {
|
4843
|
-
[vars$
|
4844
|
-
[vars$
|
4845
|
-
[vars$
|
4846
|
-
[vars$
|
4847
|
-
[vars$
|
4848
|
-
[vars$
|
4849
|
-
[vars$
|
4850
|
-
[vars$
|
4851
|
-
[vars$
|
4852
|
-
[vars$
|
4853
|
-
[vars$
|
4854
|
-
[vars$
|
4855
|
-
[vars$
|
4856
|
-
[vars$
|
4857
|
-
[vars$
|
4858
|
-
[vars$
|
4859
|
-
[vars$
|
4860
|
-
[vars$
|
4861
|
-
[vars$
|
4862
|
-
[vars$
|
4863
|
-
[vars$
|
4847
|
+
[vars$K.hostWidth]: refs.width,
|
4848
|
+
[vars$K.hostDirection]: refs.direction,
|
4849
|
+
[vars$K.fontSize]: refs.fontSize,
|
4850
|
+
[vars$K.fontFamily]: refs.fontFamily,
|
4851
|
+
[vars$K.labelTextColor]: refs.labelTextColor,
|
4852
|
+
[vars$K.labelRequiredIndicator]: refs.requiredIndicator,
|
4853
|
+
[vars$K.labelFontWeight]: '400',
|
4854
|
+
[vars$K.labelLineHeight]: checkboxSize,
|
4855
|
+
[vars$K.labelSpacing]: '1em',
|
4856
|
+
[vars$K.errorMessageTextColor]: refs.errorMessageTextColor,
|
4857
|
+
[vars$K.inputOutlineWidth]: refs.outlineWidth,
|
4858
|
+
[vars$K.inputOutlineOffset]: refs.outlineOffset,
|
4859
|
+
[vars$K.inputOutlineColor]: refs.outlineColor,
|
4860
|
+
[vars$K.inputOutlineStyle]: refs.outlineStyle,
|
4861
|
+
[vars$K.inputBorderRadius]: refs.borderRadius,
|
4862
|
+
[vars$K.inputBorderColor]: refs.borderColor,
|
4863
|
+
[vars$K.inputBorderWidth]: refs.borderWidth,
|
4864
|
+
[vars$K.inputBorderStyle]: refs.borderStyle,
|
4865
|
+
[vars$K.inputBackgroundColor]: refs.backgroundColor,
|
4866
|
+
[vars$K.inputSize]: checkboxSize,
|
4867
|
+
[vars$K.inputValueTextColor]: refs.valueTextColor,
|
4864
4868
|
};
|
4865
4869
|
|
4866
4870
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
4867
4871
|
__proto__: null,
|
4868
4872
|
default: checkbox,
|
4869
|
-
vars: vars$
|
4873
|
+
vars: vars$K
|
4870
4874
|
});
|
4871
4875
|
|
4872
|
-
const componentName$
|
4876
|
+
const componentName$R = getComponentName('switch-toggle');
|
4873
4877
|
|
4874
4878
|
const {
|
4875
4879
|
host: host$j,
|
@@ -5001,7 +5005,7 @@ const SwitchToggleClass = compose(
|
|
5001
5005
|
}
|
5002
5006
|
`,
|
5003
5007
|
excludeAttrsSync: ['label', 'tabindex'],
|
5004
|
-
componentName: componentName$
|
5008
|
+
componentName: componentName$R,
|
5005
5009
|
})
|
5006
5010
|
);
|
5007
5011
|
|
@@ -5009,74 +5013,74 @@ const knobMargin = '2px';
|
|
5009
5013
|
const checkboxHeight = '1.25em';
|
5010
5014
|
|
5011
5015
|
const globalRefs$u = getThemeRefs(globals);
|
5012
|
-
const vars$
|
5016
|
+
const vars$J = SwitchToggleClass.cssVarList;
|
5013
5017
|
|
5014
5018
|
const switchToggle = {
|
5015
|
-
[vars$
|
5016
|
-
[vars$
|
5017
|
-
[vars$
|
5018
|
-
[vars$
|
5019
|
-
|
5020
|
-
[vars$
|
5021
|
-
[vars$
|
5022
|
-
[vars$
|
5023
|
-
[vars$
|
5024
|
-
|
5025
|
-
[vars$
|
5026
|
-
[vars$
|
5027
|
-
[vars$
|
5028
|
-
[vars$
|
5029
|
-
[vars$
|
5030
|
-
[vars$
|
5031
|
-
[vars$
|
5032
|
-
|
5033
|
-
[vars$
|
5034
|
-
[vars$
|
5035
|
-
[vars$
|
5036
|
-
[vars$
|
5037
|
-
[vars$
|
5038
|
-
[vars$
|
5039
|
-
|
5040
|
-
[vars$
|
5041
|
-
[vars$
|
5042
|
-
[vars$
|
5043
|
-
[vars$
|
5044
|
-
[vars$
|
5045
|
-
[vars$
|
5019
|
+
[vars$J.hostWidth]: refs.width,
|
5020
|
+
[vars$J.hostDirection]: refs.direction,
|
5021
|
+
[vars$J.fontSize]: refs.fontSize,
|
5022
|
+
[vars$J.fontFamily]: refs.fontFamily,
|
5023
|
+
|
5024
|
+
[vars$J.inputOutlineWidth]: refs.outlineWidth,
|
5025
|
+
[vars$J.inputOutlineOffset]: refs.outlineOffset,
|
5026
|
+
[vars$J.inputOutlineColor]: refs.outlineColor,
|
5027
|
+
[vars$J.inputOutlineStyle]: refs.outlineStyle,
|
5028
|
+
|
5029
|
+
[vars$J.trackBorderStyle]: refs.borderStyle,
|
5030
|
+
[vars$J.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
5031
|
+
[vars$J.trackBorderColor]: refs.borderColor,
|
5032
|
+
[vars$J.trackBackgroundColor]: refs.backgroundColor,
|
5033
|
+
[vars$J.trackBorderRadius]: globalRefs$u.radius.md,
|
5034
|
+
[vars$J.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
5035
|
+
[vars$J.trackHeight]: checkboxHeight,
|
5036
|
+
|
5037
|
+
[vars$J.knobSize]: `calc(1em - ${knobMargin})`,
|
5038
|
+
[vars$J.knobRadius]: '50%',
|
5039
|
+
[vars$J.knobTopOffset]: '1px',
|
5040
|
+
[vars$J.knobLeftOffset]: knobMargin,
|
5041
|
+
[vars$J.knobColor]: refs.labelTextColor,
|
5042
|
+
[vars$J.knobTransitionDuration]: '0.3s',
|
5043
|
+
|
5044
|
+
[vars$J.labelTextColor]: refs.labelTextColor,
|
5045
|
+
[vars$J.labelFontWeight]: '400',
|
5046
|
+
[vars$J.labelLineHeight]: '1.35em',
|
5047
|
+
[vars$J.labelSpacing]: '1em',
|
5048
|
+
[vars$J.labelRequiredIndicator]: refs.requiredIndicator,
|
5049
|
+
[vars$J.errorMessageTextColor]: refs.errorMessageTextColor,
|
5046
5050
|
|
5047
5051
|
_checked: {
|
5048
|
-
[vars$
|
5049
|
-
[vars$
|
5050
|
-
[vars$
|
5051
|
-
[vars$
|
5052
|
+
[vars$J.trackBorderColor]: refs.borderColor,
|
5053
|
+
[vars$J.knobLeftOffset]: `calc(100% - var(${vars$J.knobSize}) - ${knobMargin})`,
|
5054
|
+
[vars$J.knobColor]: refs.valueTextColor,
|
5055
|
+
[vars$J.knobTextColor]: refs.valueTextColor,
|
5052
5056
|
},
|
5053
5057
|
|
5054
5058
|
_disabled: {
|
5055
|
-
[vars$
|
5056
|
-
[vars$
|
5057
|
-
[vars$
|
5058
|
-
[vars$
|
5059
|
+
[vars$J.knobColor]: globalRefs$u.colors.surface.light,
|
5060
|
+
[vars$J.trackBorderColor]: globalRefs$u.colors.surface.light,
|
5061
|
+
[vars$J.trackBackgroundColor]: globalRefs$u.colors.surface.main,
|
5062
|
+
[vars$J.labelTextColor]: refs.labelTextColor,
|
5059
5063
|
_checked: {
|
5060
|
-
[vars$
|
5061
|
-
[vars$
|
5064
|
+
[vars$J.knobColor]: globalRefs$u.colors.surface.light,
|
5065
|
+
[vars$J.trackBackgroundColor]: globalRefs$u.colors.surface.main,
|
5062
5066
|
},
|
5063
5067
|
},
|
5064
5068
|
|
5065
5069
|
_invalid: {
|
5066
|
-
[vars$
|
5067
|
-
[vars$
|
5070
|
+
[vars$J.trackBorderColor]: globalRefs$u.colors.error.main,
|
5071
|
+
[vars$J.knobColor]: globalRefs$u.colors.error.main,
|
5068
5072
|
},
|
5069
5073
|
};
|
5070
5074
|
|
5071
5075
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
5072
5076
|
__proto__: null,
|
5073
5077
|
default: switchToggle,
|
5074
|
-
vars: vars$
|
5078
|
+
vars: vars$J
|
5075
5079
|
});
|
5076
5080
|
|
5077
|
-
const componentName$
|
5081
|
+
const componentName$Q = getComponentName('container');
|
5078
5082
|
|
5079
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
5083
|
+
class RawContainer extends createBaseClass({ componentName: componentName$Q, baseSelector: 'slot' }) {
|
5080
5084
|
constructor() {
|
5081
5085
|
super();
|
5082
5086
|
|
@@ -5151,7 +5155,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
5151
5155
|
horizontalAlignment,
|
5152
5156
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
5153
5157
|
},
|
5154
|
-
componentName$
|
5158
|
+
componentName$Q
|
5155
5159
|
);
|
5156
5160
|
|
5157
5161
|
const { shadowColor: shadowColor$3 } = helperRefs$3;
|
@@ -5238,7 +5242,7 @@ const container = {
|
|
5238
5242
|
},
|
5239
5243
|
};
|
5240
5244
|
|
5241
|
-
const vars$
|
5245
|
+
const vars$I = {
|
5242
5246
|
...compVars$5,
|
5243
5247
|
...helperVars$3,
|
5244
5248
|
};
|
@@ -5246,7 +5250,7 @@ const vars$H = {
|
|
5246
5250
|
var container$1 = /*#__PURE__*/Object.freeze({
|
5247
5251
|
__proto__: null,
|
5248
5252
|
default: container,
|
5249
|
-
vars: vars$
|
5253
|
+
vars: vars$I
|
5250
5254
|
});
|
5251
5255
|
|
5252
5256
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
@@ -5299,69 +5303,69 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
5299
5303
|
return CssVarImageClass;
|
5300
5304
|
};
|
5301
5305
|
|
5302
|
-
const componentName$
|
5306
|
+
const componentName$P = getComponentName('logo');
|
5303
5307
|
|
5304
5308
|
const LogoClass = createCssVarImageClass({
|
5305
|
-
componentName: componentName$
|
5309
|
+
componentName: componentName$P,
|
5306
5310
|
varName: 'url',
|
5307
5311
|
fallbackVarName: 'fallbackUrl',
|
5308
5312
|
});
|
5309
5313
|
|
5310
|
-
const vars$
|
5314
|
+
const vars$H = LogoClass.cssVarList;
|
5311
5315
|
|
5312
5316
|
const logo$2 = {
|
5313
|
-
[vars$
|
5317
|
+
[vars$H.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
5314
5318
|
};
|
5315
5319
|
|
5316
5320
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
5317
5321
|
__proto__: null,
|
5318
5322
|
default: logo$2,
|
5319
|
-
vars: vars$
|
5323
|
+
vars: vars$H
|
5320
5324
|
});
|
5321
5325
|
|
5322
|
-
const componentName$
|
5326
|
+
const componentName$O = getComponentName('totp-image');
|
5323
5327
|
|
5324
5328
|
const TotpImageClass = createCssVarImageClass({
|
5325
|
-
componentName: componentName$
|
5329
|
+
componentName: componentName$O,
|
5326
5330
|
varName: 'url',
|
5327
5331
|
fallbackVarName: 'fallbackUrl',
|
5328
5332
|
});
|
5329
5333
|
|
5330
|
-
const vars$
|
5334
|
+
const vars$G = TotpImageClass.cssVarList;
|
5331
5335
|
|
5332
5336
|
const logo$1 = {
|
5333
|
-
[vars$
|
5337
|
+
[vars$G.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
5334
5338
|
};
|
5335
5339
|
|
5336
5340
|
var totpImage = /*#__PURE__*/Object.freeze({
|
5337
5341
|
__proto__: null,
|
5338
5342
|
default: logo$1,
|
5339
|
-
vars: vars$
|
5343
|
+
vars: vars$G
|
5340
5344
|
});
|
5341
5345
|
|
5342
|
-
const componentName$
|
5346
|
+
const componentName$N = getComponentName('notp-image');
|
5343
5347
|
|
5344
5348
|
const NotpImageClass = createCssVarImageClass({
|
5345
|
-
componentName: componentName$
|
5349
|
+
componentName: componentName$N,
|
5346
5350
|
varName: 'url',
|
5347
5351
|
fallbackVarName: 'fallbackUrl',
|
5348
5352
|
});
|
5349
5353
|
|
5350
|
-
const vars$
|
5354
|
+
const vars$F = NotpImageClass.cssVarList;
|
5351
5355
|
|
5352
5356
|
const logo = {
|
5353
|
-
[vars$
|
5357
|
+
[vars$F.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
5354
5358
|
};
|
5355
5359
|
|
5356
5360
|
var notpImage = /*#__PURE__*/Object.freeze({
|
5357
5361
|
__proto__: null,
|
5358
5362
|
default: logo,
|
5359
|
-
vars: vars$
|
5363
|
+
vars: vars$F
|
5360
5364
|
});
|
5361
5365
|
|
5362
|
-
const componentName$
|
5366
|
+
const componentName$M = getComponentName('text');
|
5363
5367
|
|
5364
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
5368
|
+
class RawText extends createBaseClass({ componentName: componentName$M, baseSelector: ':host > slot' }) {
|
5365
5369
|
constructor() {
|
5366
5370
|
super();
|
5367
5371
|
|
@@ -5419,94 +5423,94 @@ const TextClass = compose(
|
|
5419
5423
|
)(RawText);
|
5420
5424
|
|
5421
5425
|
const globalRefs$s = getThemeRefs(globals);
|
5422
|
-
const vars$
|
5426
|
+
const vars$E = TextClass.cssVarList;
|
5423
5427
|
|
5424
5428
|
const text$2 = {
|
5425
|
-
[vars$
|
5426
|
-
[vars$
|
5427
|
-
[vars$
|
5428
|
-
[vars$
|
5429
|
+
[vars$E.hostDirection]: globalRefs$s.direction,
|
5430
|
+
[vars$E.textLineHeight]: '1.35em',
|
5431
|
+
[vars$E.textAlign]: 'left',
|
5432
|
+
[vars$E.textColor]: globalRefs$s.colors.surface.dark,
|
5429
5433
|
|
5430
5434
|
variant: {
|
5431
5435
|
h1: {
|
5432
|
-
[vars$
|
5433
|
-
[vars$
|
5434
|
-
[vars$
|
5436
|
+
[vars$E.fontSize]: globalRefs$s.typography.h1.size,
|
5437
|
+
[vars$E.fontWeight]: globalRefs$s.typography.h1.weight,
|
5438
|
+
[vars$E.fontFamily]: globalRefs$s.typography.h1.font,
|
5435
5439
|
},
|
5436
5440
|
h2: {
|
5437
|
-
[vars$
|
5438
|
-
[vars$
|
5439
|
-
[vars$
|
5441
|
+
[vars$E.fontSize]: globalRefs$s.typography.h2.size,
|
5442
|
+
[vars$E.fontWeight]: globalRefs$s.typography.h2.weight,
|
5443
|
+
[vars$E.fontFamily]: globalRefs$s.typography.h2.font,
|
5440
5444
|
},
|
5441
5445
|
h3: {
|
5442
|
-
[vars$
|
5443
|
-
[vars$
|
5444
|
-
[vars$
|
5446
|
+
[vars$E.fontSize]: globalRefs$s.typography.h3.size,
|
5447
|
+
[vars$E.fontWeight]: globalRefs$s.typography.h3.weight,
|
5448
|
+
[vars$E.fontFamily]: globalRefs$s.typography.h3.font,
|
5445
5449
|
},
|
5446
5450
|
subtitle1: {
|
5447
|
-
[vars$
|
5448
|
-
[vars$
|
5449
|
-
[vars$
|
5451
|
+
[vars$E.fontSize]: globalRefs$s.typography.subtitle1.size,
|
5452
|
+
[vars$E.fontWeight]: globalRefs$s.typography.subtitle1.weight,
|
5453
|
+
[vars$E.fontFamily]: globalRefs$s.typography.subtitle1.font,
|
5450
5454
|
},
|
5451
5455
|
subtitle2: {
|
5452
|
-
[vars$
|
5453
|
-
[vars$
|
5454
|
-
[vars$
|
5456
|
+
[vars$E.fontSize]: globalRefs$s.typography.subtitle2.size,
|
5457
|
+
[vars$E.fontWeight]: globalRefs$s.typography.subtitle2.weight,
|
5458
|
+
[vars$E.fontFamily]: globalRefs$s.typography.subtitle2.font,
|
5455
5459
|
},
|
5456
5460
|
body1: {
|
5457
|
-
[vars$
|
5458
|
-
[vars$
|
5459
|
-
[vars$
|
5461
|
+
[vars$E.fontSize]: globalRefs$s.typography.body1.size,
|
5462
|
+
[vars$E.fontWeight]: globalRefs$s.typography.body1.weight,
|
5463
|
+
[vars$E.fontFamily]: globalRefs$s.typography.body1.font,
|
5460
5464
|
},
|
5461
5465
|
body2: {
|
5462
|
-
[vars$
|
5463
|
-
[vars$
|
5464
|
-
[vars$
|
5466
|
+
[vars$E.fontSize]: globalRefs$s.typography.body2.size,
|
5467
|
+
[vars$E.fontWeight]: globalRefs$s.typography.body2.weight,
|
5468
|
+
[vars$E.fontFamily]: globalRefs$s.typography.body2.font,
|
5465
5469
|
},
|
5466
5470
|
},
|
5467
5471
|
|
5468
5472
|
mode: {
|
5469
5473
|
primary: {
|
5470
|
-
[vars$
|
5474
|
+
[vars$E.textColor]: globalRefs$s.colors.surface.contrast,
|
5471
5475
|
},
|
5472
5476
|
secondary: {
|
5473
|
-
[vars$
|
5477
|
+
[vars$E.textColor]: globalRefs$s.colors.surface.dark,
|
5474
5478
|
},
|
5475
5479
|
error: {
|
5476
|
-
[vars$
|
5480
|
+
[vars$E.textColor]: globalRefs$s.colors.error.main,
|
5477
5481
|
},
|
5478
5482
|
success: {
|
5479
|
-
[vars$
|
5483
|
+
[vars$E.textColor]: globalRefs$s.colors.success.main,
|
5480
5484
|
},
|
5481
5485
|
},
|
5482
5486
|
|
5483
5487
|
textAlign: {
|
5484
|
-
right: { [vars$
|
5485
|
-
left: { [vars$
|
5486
|
-
center: { [vars$
|
5488
|
+
right: { [vars$E.textAlign]: 'right' },
|
5489
|
+
left: { [vars$E.textAlign]: 'left' },
|
5490
|
+
center: { [vars$E.textAlign]: 'center' },
|
5487
5491
|
},
|
5488
5492
|
|
5489
5493
|
_fullWidth: {
|
5490
|
-
[vars$
|
5494
|
+
[vars$E.hostWidth]: '100%',
|
5491
5495
|
},
|
5492
5496
|
|
5493
5497
|
_italic: {
|
5494
|
-
[vars$
|
5498
|
+
[vars$E.fontStyle]: 'italic',
|
5495
5499
|
},
|
5496
5500
|
|
5497
5501
|
_uppercase: {
|
5498
|
-
[vars$
|
5502
|
+
[vars$E.textTransform]: 'uppercase',
|
5499
5503
|
},
|
5500
5504
|
|
5501
5505
|
_lowercase: {
|
5502
|
-
[vars$
|
5506
|
+
[vars$E.textTransform]: 'lowercase',
|
5503
5507
|
},
|
5504
5508
|
};
|
5505
5509
|
|
5506
5510
|
var text$3 = /*#__PURE__*/Object.freeze({
|
5507
5511
|
__proto__: null,
|
5508
5512
|
default: text$2,
|
5509
|
-
vars: vars$
|
5513
|
+
vars: vars$E
|
5510
5514
|
});
|
5511
5515
|
|
5512
5516
|
const disableRules = [
|
@@ -5533,9 +5537,9 @@ const decodeHTML = (html) => {
|
|
5533
5537
|
/* eslint-disable no-param-reassign */
|
5534
5538
|
|
5535
5539
|
|
5536
|
-
const componentName$
|
5540
|
+
const componentName$L = getComponentName('enriched-text');
|
5537
5541
|
|
5538
|
-
class EnrichedText extends createBaseClass({ componentName: componentName$
|
5542
|
+
class EnrichedText extends createBaseClass({ componentName: componentName$L, baseSelector: ':host > div' }) {
|
5539
5543
|
#origLinkRenderer;
|
5540
5544
|
|
5541
5545
|
#origEmRenderer;
|
@@ -5731,9 +5735,9 @@ const EnrichedTextClass = compose(
|
|
5731
5735
|
componentNameValidationMixin
|
5732
5736
|
)(EnrichedText);
|
5733
5737
|
|
5734
|
-
const componentName$
|
5738
|
+
const componentName$K = getComponentName('link');
|
5735
5739
|
|
5736
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
5740
|
+
class RawLink extends createBaseClass({ componentName: componentName$K, baseSelector: ':host a' }) {
|
5737
5741
|
constructor() {
|
5738
5742
|
super();
|
5739
5743
|
|
@@ -5798,37 +5802,37 @@ const LinkClass = compose(
|
|
5798
5802
|
)(RawLink);
|
5799
5803
|
|
5800
5804
|
const globalRefs$r = getThemeRefs(globals);
|
5801
|
-
const vars$
|
5805
|
+
const vars$D = LinkClass.cssVarList;
|
5802
5806
|
|
5803
5807
|
const link$1 = {
|
5804
|
-
[vars$
|
5805
|
-
[vars$
|
5808
|
+
[vars$D.hostDirection]: globalRefs$r.direction,
|
5809
|
+
[vars$D.cursor]: 'pointer',
|
5806
5810
|
|
5807
|
-
[vars$
|
5811
|
+
[vars$D.textColor]: globalRefs$r.colors.primary.main,
|
5808
5812
|
|
5809
5813
|
textAlign: {
|
5810
|
-
right: { [vars$
|
5811
|
-
left: { [vars$
|
5812
|
-
center: { [vars$
|
5814
|
+
right: { [vars$D.textAlign]: 'right' },
|
5815
|
+
left: { [vars$D.textAlign]: 'left' },
|
5816
|
+
center: { [vars$D.textAlign]: 'center' },
|
5813
5817
|
},
|
5814
5818
|
|
5815
5819
|
_fullWidth: {
|
5816
|
-
[vars$
|
5820
|
+
[vars$D.hostWidth]: '100%',
|
5817
5821
|
},
|
5818
5822
|
|
5819
5823
|
_hover: {
|
5820
|
-
[vars$
|
5824
|
+
[vars$D.textDecoration]: 'underline',
|
5821
5825
|
},
|
5822
5826
|
|
5823
5827
|
mode: {
|
5824
5828
|
secondary: {
|
5825
|
-
[vars$
|
5829
|
+
[vars$D.textColor]: globalRefs$r.colors.secondary.main,
|
5826
5830
|
},
|
5827
5831
|
error: {
|
5828
|
-
[vars$
|
5832
|
+
[vars$D.textColor]: globalRefs$r.colors.error.main,
|
5829
5833
|
},
|
5830
5834
|
success: {
|
5831
|
-
[vars$
|
5835
|
+
[vars$D.textColor]: globalRefs$r.colors.success.main,
|
5832
5836
|
},
|
5833
5837
|
},
|
5834
5838
|
};
|
@@ -5836,37 +5840,37 @@ const link$1 = {
|
|
5836
5840
|
var link$2 = /*#__PURE__*/Object.freeze({
|
5837
5841
|
__proto__: null,
|
5838
5842
|
default: link$1,
|
5839
|
-
vars: vars$
|
5843
|
+
vars: vars$D
|
5840
5844
|
});
|
5841
5845
|
|
5842
5846
|
const globalRefs$q = getThemeRefs(globals);
|
5843
|
-
const vars$
|
5847
|
+
const vars$C = EnrichedTextClass.cssVarList;
|
5844
5848
|
|
5845
5849
|
const enrichedText = {
|
5846
|
-
[vars$
|
5847
|
-
[vars$
|
5850
|
+
[vars$C.hostDirection]: globalRefs$q.direction,
|
5851
|
+
[vars$C.hostWidth]: useVar(vars$E.hostWidth),
|
5848
5852
|
|
5849
|
-
[vars$
|
5850
|
-
[vars$
|
5851
|
-
[vars$
|
5853
|
+
[vars$C.textLineHeight]: useVar(vars$E.textLineHeight),
|
5854
|
+
[vars$C.textColor]: useVar(vars$E.textColor),
|
5855
|
+
[vars$C.textAlign]: useVar(vars$E.textAlign),
|
5852
5856
|
|
5853
|
-
[vars$
|
5854
|
-
[vars$
|
5855
|
-
[vars$
|
5857
|
+
[vars$C.fontSize]: useVar(vars$E.fontSize),
|
5858
|
+
[vars$C.fontWeight]: useVar(vars$E.fontWeight),
|
5859
|
+
[vars$C.fontFamily]: useVar(vars$E.fontFamily),
|
5856
5860
|
|
5857
|
-
[vars$
|
5858
|
-
[vars$
|
5859
|
-
[vars$
|
5861
|
+
[vars$C.linkColor]: useVar(vars$D.textColor),
|
5862
|
+
[vars$C.linkTextDecoration]: 'none',
|
5863
|
+
[vars$C.linkHoverTextDecoration]: 'underline',
|
5860
5864
|
|
5861
|
-
[vars$
|
5862
|
-
[vars$
|
5863
|
-
[vars$
|
5865
|
+
[vars$C.fontWeightBold]: '900',
|
5866
|
+
[vars$C.minWidth]: '0.25em',
|
5867
|
+
[vars$C.minHeight]: '1.35em',
|
5864
5868
|
|
5865
|
-
[vars$
|
5869
|
+
[vars$C.hostDisplay]: 'inline-block',
|
5866
5870
|
|
5867
5871
|
_empty: {
|
5868
5872
|
_hideWhenEmpty: {
|
5869
|
-
[vars$
|
5873
|
+
[vars$C.hostDisplay]: 'none',
|
5870
5874
|
},
|
5871
5875
|
},
|
5872
5876
|
};
|
@@ -5874,11 +5878,11 @@ const enrichedText = {
|
|
5874
5878
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
5875
5879
|
__proto__: null,
|
5876
5880
|
default: enrichedText,
|
5877
|
-
vars: vars$
|
5881
|
+
vars: vars$C
|
5878
5882
|
});
|
5879
5883
|
|
5880
|
-
const componentName$
|
5881
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
5884
|
+
const componentName$J = getComponentName('divider');
|
5885
|
+
class RawDivider extends createBaseClass({ componentName: componentName$J, baseSelector: ':host > div' }) {
|
5882
5886
|
constructor() {
|
5883
5887
|
super();
|
5884
5888
|
|
@@ -5985,7 +5989,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
5985
5989
|
thickness: '2px',
|
5986
5990
|
spacing: '10px',
|
5987
5991
|
},
|
5988
|
-
componentName$
|
5992
|
+
componentName$J
|
5989
5993
|
);
|
5990
5994
|
|
5991
5995
|
const divider = {
|
@@ -6016,7 +6020,7 @@ const divider = {
|
|
6016
6020
|
},
|
6017
6021
|
};
|
6018
6022
|
|
6019
|
-
const vars$
|
6023
|
+
const vars$B = {
|
6020
6024
|
...compVars$4,
|
6021
6025
|
...helperVars$2,
|
6022
6026
|
};
|
@@ -6024,18 +6028,18 @@ const vars$A = {
|
|
6024
6028
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
6025
6029
|
__proto__: null,
|
6026
6030
|
default: divider,
|
6027
|
-
vars: vars$
|
6031
|
+
vars: vars$B
|
6028
6032
|
});
|
6029
6033
|
|
6030
6034
|
/* eslint-disable no-param-reassign */
|
6031
6035
|
|
6032
|
-
const componentName$
|
6036
|
+
const componentName$I = getComponentName('passcode-internal');
|
6033
6037
|
|
6034
|
-
createBaseInputClass({ componentName: componentName$
|
6038
|
+
createBaseInputClass({ componentName: componentName$I, baseSelector: 'div' });
|
6035
6039
|
|
6036
|
-
const componentName$
|
6040
|
+
const componentName$H = getComponentName('loader-radial');
|
6037
6041
|
|
6038
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
6042
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$H, baseSelector: ':host > div' }) {
|
6039
6043
|
constructor() {
|
6040
6044
|
super();
|
6041
6045
|
|
@@ -6079,7 +6083,7 @@ const LoaderRadialClass = compose(
|
|
6079
6083
|
componentNameValidationMixin
|
6080
6084
|
)(RawLoaderRadial);
|
6081
6085
|
|
6082
|
-
const componentName$
|
6086
|
+
const componentName$G = getComponentName('passcode');
|
6083
6087
|
|
6084
6088
|
const observedAttributes$3 = ['digits'];
|
6085
6089
|
|
@@ -6098,17 +6102,17 @@ const customMixin$9 = (superclass) =>
|
|
6098
6102
|
const template = document.createElement('template');
|
6099
6103
|
|
6100
6104
|
template.innerHTML = `
|
6101
|
-
<${componentName$
|
6105
|
+
<${componentName$I}
|
6102
6106
|
bordered="true"
|
6103
6107
|
name="code"
|
6104
6108
|
tabindex="-1"
|
6105
6109
|
slot="input"
|
6106
|
-
><slot></slot></${componentName$
|
6110
|
+
><slot></slot></${componentName$I}>
|
6107
6111
|
`;
|
6108
6112
|
|
6109
6113
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6110
6114
|
|
6111
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6115
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$I);
|
6112
6116
|
|
6113
6117
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
6114
6118
|
}
|
@@ -6260,56 +6264,56 @@ const PasscodeClass = compose(
|
|
6260
6264
|
${resetInputCursor('vaadin-text-field')}
|
6261
6265
|
`,
|
6262
6266
|
excludeAttrsSync: ['tabindex'],
|
6263
|
-
componentName: componentName$
|
6267
|
+
componentName: componentName$G,
|
6264
6268
|
})
|
6265
6269
|
);
|
6266
6270
|
|
6267
|
-
const vars$
|
6271
|
+
const vars$A = PasscodeClass.cssVarList;
|
6268
6272
|
|
6269
6273
|
const passcode = {
|
6270
|
-
[vars$
|
6271
|
-
[vars$
|
6272
|
-
[vars$
|
6273
|
-
[vars$
|
6274
|
-
[vars$
|
6275
|
-
[vars$
|
6276
|
-
[vars$
|
6277
|
-
[vars$
|
6278
|
-
[vars$
|
6279
|
-
[vars$
|
6280
|
-
[vars$
|
6281
|
-
[vars$
|
6282
|
-
[vars$
|
6283
|
-
[vars$
|
6284
|
-
[vars$
|
6274
|
+
[vars$A.hostDirection]: refs.direction,
|
6275
|
+
[vars$A.fontFamily]: refs.fontFamily,
|
6276
|
+
[vars$A.fontSize]: refs.fontSize,
|
6277
|
+
[vars$A.labelTextColor]: refs.labelTextColor,
|
6278
|
+
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
6279
|
+
[vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
|
6280
|
+
[vars$A.digitValueTextColor]: refs.valueTextColor,
|
6281
|
+
[vars$A.digitPadding]: '0',
|
6282
|
+
[vars$A.digitTextAlign]: 'center',
|
6283
|
+
[vars$A.digitSpacing]: '4px',
|
6284
|
+
[vars$A.hostWidth]: refs.width,
|
6285
|
+
[vars$A.digitOutlineColor]: 'transparent',
|
6286
|
+
[vars$A.digitOutlineWidth]: refs.outlineWidth,
|
6287
|
+
[vars$A.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
6288
|
+
[vars$A.digitSize]: refs.inputHeight,
|
6285
6289
|
|
6286
6290
|
size: {
|
6287
|
-
xs: { [vars$
|
6288
|
-
sm: { [vars$
|
6289
|
-
md: { [vars$
|
6290
|
-
lg: { [vars$
|
6291
|
+
xs: { [vars$A.spinnerSize]: '15px' },
|
6292
|
+
sm: { [vars$A.spinnerSize]: '20px' },
|
6293
|
+
md: { [vars$A.spinnerSize]: '20px' },
|
6294
|
+
lg: { [vars$A.spinnerSize]: '20px' },
|
6291
6295
|
},
|
6292
6296
|
|
6293
6297
|
_hideCursor: {
|
6294
|
-
[vars$
|
6298
|
+
[vars$A.digitCaretTextColor]: 'transparent',
|
6295
6299
|
},
|
6296
6300
|
|
6297
6301
|
_loading: {
|
6298
|
-
[vars$
|
6302
|
+
[vars$A.overlayOpacity]: refs.overlayOpacity,
|
6299
6303
|
},
|
6300
6304
|
};
|
6301
6305
|
|
6302
6306
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
6303
6307
|
__proto__: null,
|
6304
6308
|
default: passcode,
|
6305
|
-
vars: vars$
|
6309
|
+
vars: vars$A
|
6306
6310
|
});
|
6307
6311
|
|
6308
|
-
const componentName$
|
6312
|
+
const componentName$F = getComponentName('loader-linear');
|
6309
6313
|
|
6310
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
6314
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$F, baseSelector: ':host > div' }) {
|
6311
6315
|
static get componentName() {
|
6312
|
-
return componentName$
|
6316
|
+
return componentName$F;
|
6313
6317
|
}
|
6314
6318
|
|
6315
6319
|
constructor() {
|
@@ -6371,48 +6375,48 @@ const LoaderLinearClass = compose(
|
|
6371
6375
|
)(RawLoaderLinear);
|
6372
6376
|
|
6373
6377
|
const globalRefs$o = getThemeRefs(globals);
|
6374
|
-
const vars$
|
6378
|
+
const vars$z = LoaderLinearClass.cssVarList;
|
6375
6379
|
|
6376
6380
|
const loaderLinear = {
|
6377
|
-
[vars$
|
6378
|
-
[vars$
|
6381
|
+
[vars$z.hostDisplay]: 'inline-block',
|
6382
|
+
[vars$z.hostWidth]: '100%',
|
6379
6383
|
|
6380
|
-
[vars$
|
6381
|
-
[vars$
|
6384
|
+
[vars$z.barColor]: globalRefs$o.colors.surface.contrast,
|
6385
|
+
[vars$z.barWidth]: '20%',
|
6382
6386
|
|
6383
|
-
[vars$
|
6384
|
-
[vars$
|
6387
|
+
[vars$z.barBackgroundColor]: globalRefs$o.colors.surface.light,
|
6388
|
+
[vars$z.barBorderRadius]: '4px',
|
6385
6389
|
|
6386
|
-
[vars$
|
6387
|
-
[vars$
|
6388
|
-
[vars$
|
6389
|
-
[vars$
|
6390
|
+
[vars$z.animationDuration]: '2s',
|
6391
|
+
[vars$z.animationTimingFunction]: 'linear',
|
6392
|
+
[vars$z.animationIterationCount]: 'infinite',
|
6393
|
+
[vars$z.verticalPadding]: '0.25em',
|
6390
6394
|
|
6391
6395
|
size: {
|
6392
|
-
xs: { [vars$
|
6393
|
-
sm: { [vars$
|
6394
|
-
md: { [vars$
|
6395
|
-
lg: { [vars$
|
6396
|
+
xs: { [vars$z.barHeight]: '2px' },
|
6397
|
+
sm: { [vars$z.barHeight]: '4px' },
|
6398
|
+
md: { [vars$z.barHeight]: '6px' },
|
6399
|
+
lg: { [vars$z.barHeight]: '8px' },
|
6396
6400
|
},
|
6397
6401
|
|
6398
6402
|
mode: {
|
6399
6403
|
primary: {
|
6400
|
-
[vars$
|
6404
|
+
[vars$z.barColor]: globalRefs$o.colors.primary.main,
|
6401
6405
|
},
|
6402
6406
|
secondary: {
|
6403
|
-
[vars$
|
6407
|
+
[vars$z.barColor]: globalRefs$o.colors.secondary.main,
|
6404
6408
|
},
|
6405
6409
|
},
|
6406
6410
|
|
6407
6411
|
_hidden: {
|
6408
|
-
[vars$
|
6412
|
+
[vars$z.hostDisplay]: 'none',
|
6409
6413
|
},
|
6410
6414
|
};
|
6411
6415
|
|
6412
6416
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
6413
6417
|
__proto__: null,
|
6414
6418
|
default: loaderLinear,
|
6415
|
-
vars: vars$
|
6419
|
+
vars: vars$z
|
6416
6420
|
});
|
6417
6421
|
|
6418
6422
|
const globalRefs$n = getThemeRefs(globals);
|
@@ -6430,7 +6434,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
6430
6434
|
},
|
6431
6435
|
},
|
6432
6436
|
},
|
6433
|
-
componentName$
|
6437
|
+
componentName$H
|
6434
6438
|
);
|
6435
6439
|
|
6436
6440
|
const loaderRadial = {
|
@@ -6459,7 +6463,7 @@ const loaderRadial = {
|
|
6459
6463
|
[compVars$3.hostDisplay]: 'none',
|
6460
6464
|
},
|
6461
6465
|
};
|
6462
|
-
const vars$
|
6466
|
+
const vars$y = {
|
6463
6467
|
...compVars$3,
|
6464
6468
|
...helperVars$1,
|
6465
6469
|
};
|
@@ -6467,10 +6471,10 @@ const vars$x = {
|
|
6467
6471
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
6468
6472
|
__proto__: null,
|
6469
6473
|
default: loaderRadial,
|
6470
|
-
vars: vars$
|
6474
|
+
vars: vars$y
|
6471
6475
|
});
|
6472
6476
|
|
6473
|
-
const componentName$
|
6477
|
+
const componentName$E = getComponentName('combo-box');
|
6474
6478
|
|
6475
6479
|
const ComboBoxMixin = (superclass) =>
|
6476
6480
|
class ComboBoxMixinClass extends superclass {
|
@@ -6915,83 +6919,83 @@ const ComboBoxClass = compose(
|
|
6915
6919
|
// and reset items to an empty array, and opening the list box with no items
|
6916
6920
|
// to display.
|
6917
6921
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
6918
|
-
componentName: componentName$
|
6922
|
+
componentName: componentName$E,
|
6919
6923
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
6920
6924
|
})
|
6921
6925
|
);
|
6922
6926
|
|
6923
6927
|
const globalRefs$m = getThemeRefs(globals);
|
6924
|
-
const vars$
|
6928
|
+
const vars$x = ComboBoxClass.cssVarList;
|
6925
6929
|
|
6926
6930
|
const comboBox = {
|
6927
|
-
[vars$
|
6928
|
-
[vars$
|
6929
|
-
[vars$
|
6930
|
-
[vars$
|
6931
|
-
[vars$
|
6932
|
-
[vars$
|
6933
|
-
[vars$
|
6934
|
-
[vars$
|
6935
|
-
[vars$
|
6936
|
-
[vars$
|
6937
|
-
[vars$
|
6938
|
-
[vars$
|
6939
|
-
[vars$
|
6940
|
-
[vars$
|
6941
|
-
[vars$
|
6942
|
-
[vars$
|
6943
|
-
[vars$
|
6944
|
-
[vars$
|
6945
|
-
[vars$
|
6946
|
-
[vars$
|
6947
|
-
[vars$
|
6948
|
-
[vars$
|
6949
|
-
[vars$
|
6950
|
-
[vars$
|
6951
|
-
[vars$
|
6952
|
-
[vars$
|
6953
|
-
[vars$
|
6954
|
-
[vars$
|
6955
|
-
[vars$
|
6956
|
-
[vars$
|
6957
|
-
[vars$
|
6958
|
-
[vars$
|
6959
|
-
[vars$
|
6960
|
-
[vars$
|
6961
|
-
[vars$
|
6962
|
-
[vars$
|
6963
|
-
[vars$
|
6964
|
-
[vars$
|
6931
|
+
[vars$x.hostWidth]: refs.width,
|
6932
|
+
[vars$x.hostDirection]: refs.direction,
|
6933
|
+
[vars$x.fontSize]: refs.fontSize,
|
6934
|
+
[vars$x.fontFamily]: refs.fontFamily,
|
6935
|
+
[vars$x.labelFontSize]: refs.labelFontSize,
|
6936
|
+
[vars$x.labelFontWeight]: refs.labelFontWeight,
|
6937
|
+
[vars$x.labelTextColor]: refs.labelTextColor,
|
6938
|
+
[vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
|
6939
|
+
[vars$x.inputBorderColor]: refs.borderColor,
|
6940
|
+
[vars$x.inputBorderWidth]: refs.borderWidth,
|
6941
|
+
[vars$x.inputBorderStyle]: refs.borderStyle,
|
6942
|
+
[vars$x.inputBorderRadius]: refs.borderRadius,
|
6943
|
+
[vars$x.inputOutlineColor]: refs.outlineColor,
|
6944
|
+
[vars$x.inputOutlineOffset]: refs.outlineOffset,
|
6945
|
+
[vars$x.inputOutlineWidth]: refs.outlineWidth,
|
6946
|
+
[vars$x.inputOutlineStyle]: refs.outlineStyle,
|
6947
|
+
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
6948
|
+
[vars$x.inputValueTextColor]: refs.valueTextColor,
|
6949
|
+
[vars$x.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
6950
|
+
[vars$x.inputBackgroundColor]: refs.backgroundColor,
|
6951
|
+
[vars$x.inputHorizontalPadding]: refs.horizontalPadding,
|
6952
|
+
[vars$x.inputHeight]: refs.inputHeight,
|
6953
|
+
[vars$x.inputDropdownButtonColor]: globalRefs$m.colors.surface.dark,
|
6954
|
+
[vars$x.inputDropdownButtonCursor]: 'pointer',
|
6955
|
+
[vars$x.inputDropdownButtonSize]: refs.toggleButtonSize,
|
6956
|
+
[vars$x.inputDropdownButtonOffset]: globalRefs$m.spacing.xs,
|
6957
|
+
[vars$x.overlayItemPaddingInlineStart]: globalRefs$m.spacing.xs,
|
6958
|
+
[vars$x.overlayItemPaddingInlineEnd]: globalRefs$m.spacing.lg,
|
6959
|
+
[vars$x.labelPosition]: refs.labelPosition,
|
6960
|
+
[vars$x.labelTopPosition]: refs.labelTopPosition,
|
6961
|
+
[vars$x.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
6962
|
+
[vars$x.inputTransformY]: refs.inputTransformY,
|
6963
|
+
[vars$x.inputTransition]: refs.inputTransition,
|
6964
|
+
[vars$x.marginInlineStart]: refs.marginInlineStart,
|
6965
|
+
[vars$x.placeholderOpacity]: refs.placeholderOpacity,
|
6966
|
+
[vars$x.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
6967
|
+
[vars$x.valueInputHeight]: refs.valueInputHeight,
|
6968
|
+
[vars$x.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
6965
6969
|
|
6966
6970
|
_readonly: {
|
6967
|
-
[vars$
|
6971
|
+
[vars$x.inputDropdownButtonCursor]: 'default',
|
6968
6972
|
},
|
6969
6973
|
|
6970
6974
|
// Overlay theme exposed via the component:
|
6971
|
-
[vars$
|
6972
|
-
[vars$
|
6973
|
-
[vars$
|
6974
|
-
[vars$
|
6975
|
-
[vars$
|
6976
|
-
[vars$
|
6975
|
+
[vars$x.overlayFontSize]: refs.fontSize,
|
6976
|
+
[vars$x.overlayFontFamily]: refs.fontFamily,
|
6977
|
+
[vars$x.overlayCursor]: 'pointer',
|
6978
|
+
[vars$x.overlayItemBoxShadow]: 'none',
|
6979
|
+
[vars$x.overlayBackground]: refs.backgroundColor,
|
6980
|
+
[vars$x.overlayTextColor]: refs.valueTextColor,
|
6977
6981
|
|
6978
6982
|
// Overlay direct theme:
|
6979
|
-
[vars$
|
6980
|
-
[vars$
|
6983
|
+
[vars$x.overlay.minHeight]: '400px',
|
6984
|
+
[vars$x.overlay.margin]: '0',
|
6981
6985
|
};
|
6982
6986
|
|
6983
6987
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
6984
6988
|
__proto__: null,
|
6985
6989
|
comboBox: comboBox,
|
6986
6990
|
default: comboBox,
|
6987
|
-
vars: vars$
|
6991
|
+
vars: vars$x
|
6988
6992
|
});
|
6989
6993
|
|
6990
6994
|
const observedAttributes$2 = ['src', 'alt'];
|
6991
6995
|
|
6992
|
-
const componentName$
|
6996
|
+
const componentName$D = getComponentName('image');
|
6993
6997
|
|
6994
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
6998
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$D, baseSelector: ':host > img' });
|
6995
6999
|
class RawImage extends BaseClass$1 {
|
6996
7000
|
static get observedAttributes() {
|
6997
7001
|
return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
|
@@ -7031,14 +7035,14 @@ const ImageClass = compose(
|
|
7031
7035
|
draggableMixin
|
7032
7036
|
)(RawImage);
|
7033
7037
|
|
7034
|
-
const vars$
|
7038
|
+
const vars$w = ImageClass.cssVarList;
|
7035
7039
|
|
7036
7040
|
const image = {};
|
7037
7041
|
|
7038
7042
|
var image$1 = /*#__PURE__*/Object.freeze({
|
7039
7043
|
__proto__: null,
|
7040
7044
|
default: image,
|
7041
|
-
vars: vars$
|
7045
|
+
vars: vars$w
|
7042
7046
|
});
|
7043
7047
|
|
7044
7048
|
var CountryCodes = [
|
@@ -8257,14 +8261,14 @@ var CountryCodes = [
|
|
8257
8261
|
].sort((a, b) => (a.name < b.name ? -1 : 1)),
|
8258
8262
|
];
|
8259
8263
|
|
8260
|
-
const componentName$
|
8264
|
+
const componentName$C = getComponentName('phone-field-internal');
|
8261
8265
|
|
8262
|
-
createBaseInputClass({ componentName: componentName$
|
8266
|
+
createBaseInputClass({ componentName: componentName$C, baseSelector: 'div' });
|
8263
8267
|
|
8264
8268
|
const textVars$2 = TextFieldClass.cssVarList;
|
8265
8269
|
const comboVars = ComboBoxClass.cssVarList;
|
8266
8270
|
|
8267
|
-
const componentName$
|
8271
|
+
const componentName$B = getComponentName('phone-field');
|
8268
8272
|
|
8269
8273
|
const customMixin$8 = (superclass) =>
|
8270
8274
|
class PhoneFieldMixinClass extends superclass {
|
@@ -8278,15 +8282,15 @@ const customMixin$8 = (superclass) =>
|
|
8278
8282
|
const template = document.createElement('template');
|
8279
8283
|
|
8280
8284
|
template.innerHTML = `
|
8281
|
-
<${componentName$
|
8285
|
+
<${componentName$C}
|
8282
8286
|
tabindex="-1"
|
8283
8287
|
slot="input"
|
8284
|
-
></${componentName$
|
8288
|
+
></${componentName$C}>
|
8285
8289
|
`;
|
8286
8290
|
|
8287
8291
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8288
8292
|
|
8289
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8293
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$C);
|
8290
8294
|
|
8291
8295
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8292
8296
|
includeAttrs: [
|
@@ -8508,36 +8512,36 @@ const PhoneFieldClass = compose(
|
|
8508
8512
|
${resetInputLabelPosition('vaadin-text-field')}
|
8509
8513
|
`,
|
8510
8514
|
excludeAttrsSync: ['tabindex'],
|
8511
|
-
componentName: componentName$
|
8515
|
+
componentName: componentName$B,
|
8512
8516
|
})
|
8513
8517
|
);
|
8514
8518
|
|
8515
|
-
const vars$
|
8519
|
+
const vars$v = PhoneFieldClass.cssVarList;
|
8516
8520
|
|
8517
8521
|
const phoneField = {
|
8518
|
-
[vars$
|
8519
|
-
[vars$
|
8520
|
-
[vars$
|
8521
|
-
[vars$
|
8522
|
-
[vars$
|
8523
|
-
[vars$
|
8524
|
-
[vars$
|
8525
|
-
[vars$
|
8526
|
-
[vars$
|
8527
|
-
[vars$
|
8528
|
-
[vars$
|
8529
|
-
[vars$
|
8530
|
-
[vars$
|
8531
|
-
[vars$
|
8532
|
-
[vars$
|
8533
|
-
[vars$
|
8534
|
-
[vars$
|
8535
|
-
[vars$
|
8536
|
-
[vars$
|
8537
|
-
[vars$
|
8538
|
-
[vars$
|
8539
|
-
[vars$
|
8540
|
-
[vars$
|
8522
|
+
[vars$v.hostWidth]: refs.width,
|
8523
|
+
[vars$v.hostDirection]: refs.direction,
|
8524
|
+
[vars$v.fontSize]: refs.fontSize,
|
8525
|
+
[vars$v.fontFamily]: refs.fontFamily,
|
8526
|
+
[vars$v.labelTextColor]: refs.labelTextColor,
|
8527
|
+
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
8528
|
+
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
8529
|
+
[vars$v.inputValueTextColor]: refs.valueTextColor,
|
8530
|
+
[vars$v.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8531
|
+
[vars$v.inputBorderStyle]: refs.borderStyle,
|
8532
|
+
[vars$v.inputBorderWidth]: refs.borderWidth,
|
8533
|
+
[vars$v.inputBorderColor]: refs.borderColor,
|
8534
|
+
[vars$v.inputBorderRadius]: refs.borderRadius,
|
8535
|
+
[vars$v.inputOutlineStyle]: refs.outlineStyle,
|
8536
|
+
[vars$v.inputOutlineWidth]: refs.outlineWidth,
|
8537
|
+
[vars$v.inputOutlineColor]: refs.outlineColor,
|
8538
|
+
[vars$v.inputOutlineOffset]: refs.outlineOffset,
|
8539
|
+
[vars$v.phoneInputWidth]: refs.minWidth,
|
8540
|
+
[vars$v.countryCodeInputWidth]: '5em',
|
8541
|
+
[vars$v.countryCodeDropdownWidth]: '20em',
|
8542
|
+
[vars$v.marginInlineStart]: '-0.25em',
|
8543
|
+
[vars$v.valueInputHeight]: refs.valueInputHeight,
|
8544
|
+
[vars$v.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
8541
8545
|
|
8542
8546
|
// '@overlay': {
|
8543
8547
|
// overlayItemBackgroundColor: 'red'
|
@@ -8547,16 +8551,16 @@ const phoneField = {
|
|
8547
8551
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
8548
8552
|
__proto__: null,
|
8549
8553
|
default: phoneField,
|
8550
|
-
vars: vars$
|
8554
|
+
vars: vars$v
|
8551
8555
|
});
|
8552
8556
|
|
8553
|
-
const componentName$
|
8557
|
+
const componentName$A = getComponentName('phone-field-internal-input-box');
|
8554
8558
|
|
8555
|
-
createBaseInputClass({ componentName: componentName$
|
8559
|
+
createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
|
8556
8560
|
|
8557
8561
|
const textVars$1 = TextFieldClass.cssVarList;
|
8558
8562
|
|
8559
|
-
const componentName$
|
8563
|
+
const componentName$z = getComponentName('phone-input-box-field');
|
8560
8564
|
|
8561
8565
|
const customMixin$7 = (superclass) =>
|
8562
8566
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -8570,15 +8574,15 @@ const customMixin$7 = (superclass) =>
|
|
8570
8574
|
const template = document.createElement('template');
|
8571
8575
|
|
8572
8576
|
template.innerHTML = `
|
8573
|
-
<${componentName$
|
8577
|
+
<${componentName$A}
|
8574
8578
|
tabindex="-1"
|
8575
8579
|
slot="input"
|
8576
|
-
></${componentName$
|
8580
|
+
></${componentName$A}>
|
8577
8581
|
`;
|
8578
8582
|
|
8579
8583
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8580
8584
|
|
8581
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8585
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$A);
|
8582
8586
|
|
8583
8587
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8584
8588
|
includeAttrs: [
|
@@ -8755,68 +8759,68 @@ const PhoneFieldInputBoxClass = compose(
|
|
8755
8759
|
${inputFloatingLabelStyle()}
|
8756
8760
|
`,
|
8757
8761
|
excludeAttrsSync: ['tabindex'],
|
8758
|
-
componentName: componentName$
|
8762
|
+
componentName: componentName$z,
|
8759
8763
|
})
|
8760
8764
|
);
|
8761
8765
|
|
8762
|
-
const vars$
|
8766
|
+
const vars$u = PhoneFieldInputBoxClass.cssVarList;
|
8763
8767
|
|
8764
8768
|
const phoneInputBoxField = {
|
8765
|
-
[vars$
|
8766
|
-
[vars$
|
8767
|
-
[vars$
|
8768
|
-
[vars$
|
8769
|
-
[vars$
|
8770
|
-
[vars$
|
8771
|
-
[vars$
|
8772
|
-
[vars$
|
8773
|
-
[vars$
|
8774
|
-
[vars$
|
8775
|
-
[vars$
|
8776
|
-
[vars$
|
8777
|
-
[vars$
|
8778
|
-
[vars$
|
8779
|
-
[vars$
|
8780
|
-
[vars$
|
8781
|
-
[vars$
|
8782
|
-
[vars$
|
8783
|
-
[vars$
|
8784
|
-
[vars$
|
8785
|
-
[vars$
|
8786
|
-
[vars$
|
8787
|
-
[vars$
|
8788
|
-
[vars$
|
8789
|
-
[vars$
|
8790
|
-
[vars$
|
8791
|
-
[vars$
|
8792
|
-
[vars$
|
8793
|
-
[vars$
|
8769
|
+
[vars$u.hostWidth]: '16em',
|
8770
|
+
[vars$u.hostMinWidth]: refs.minWidth,
|
8771
|
+
[vars$u.hostDirection]: refs.direction,
|
8772
|
+
[vars$u.fontSize]: refs.fontSize,
|
8773
|
+
[vars$u.fontFamily]: refs.fontFamily,
|
8774
|
+
[vars$u.labelFontSize]: refs.labelFontSize,
|
8775
|
+
[vars$u.labelFontWeight]: refs.labelFontWeight,
|
8776
|
+
[vars$u.labelTextColor]: refs.labelTextColor,
|
8777
|
+
[vars$u.labelRequiredIndicator]: refs.requiredIndicator,
|
8778
|
+
[vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
|
8779
|
+
[vars$u.inputValueTextColor]: refs.valueTextColor,
|
8780
|
+
[vars$u.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
8781
|
+
[vars$u.inputBorderStyle]: refs.borderStyle,
|
8782
|
+
[vars$u.inputBorderWidth]: refs.borderWidth,
|
8783
|
+
[vars$u.inputBorderColor]: refs.borderColor,
|
8784
|
+
[vars$u.inputBorderRadius]: refs.borderRadius,
|
8785
|
+
[vars$u.inputOutlineStyle]: refs.outlineStyle,
|
8786
|
+
[vars$u.inputOutlineWidth]: refs.outlineWidth,
|
8787
|
+
[vars$u.inputOutlineColor]: refs.outlineColor,
|
8788
|
+
[vars$u.inputOutlineOffset]: refs.outlineOffset,
|
8789
|
+
[vars$u.labelPosition]: refs.labelPosition,
|
8790
|
+
[vars$u.labelTopPosition]: refs.labelTopPosition,
|
8791
|
+
[vars$u.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
8792
|
+
[vars$u.inputTransformY]: refs.inputTransformY,
|
8793
|
+
[vars$u.inputTransition]: refs.inputTransition,
|
8794
|
+
[vars$u.marginInlineStart]: refs.marginInlineStart,
|
8795
|
+
[vars$u.valueInputHeight]: refs.valueInputHeight,
|
8796
|
+
[vars$u.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
8797
|
+
[vars$u.inputHorizontalPadding]: '0',
|
8794
8798
|
|
8795
8799
|
_fullWidth: {
|
8796
|
-
[vars$
|
8800
|
+
[vars$u.hostWidth]: refs.width,
|
8797
8801
|
},
|
8798
8802
|
};
|
8799
8803
|
|
8800
8804
|
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
8801
8805
|
__proto__: null,
|
8802
8806
|
default: phoneInputBoxField,
|
8803
|
-
vars: vars$
|
8807
|
+
vars: vars$u
|
8804
8808
|
});
|
8805
8809
|
|
8806
|
-
const componentName$
|
8810
|
+
const componentName$y = getComponentName('new-password-internal');
|
8807
8811
|
|
8808
8812
|
const interpolateString = (template, values) =>
|
8809
8813
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
8810
8814
|
|
8811
8815
|
// eslint-disable-next-line max-classes-per-file
|
8812
8816
|
|
8813
|
-
const componentName$
|
8817
|
+
const componentName$x = getComponentName('policy-validation');
|
8814
8818
|
|
8815
8819
|
const overrideAttrs = ['data-password-policy-value-minlength'];
|
8816
8820
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
8817
8821
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
8818
8822
|
|
8819
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
8823
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$x, baseSelector: ':host > div' }) {
|
8820
8824
|
#availablePolicies;
|
8821
8825
|
|
8822
8826
|
#activePolicies = [];
|
@@ -9024,7 +9028,7 @@ const PolicyValidationClass = compose(
|
|
9024
9028
|
componentNameValidationMixin
|
9025
9029
|
)(RawPolicyValidation);
|
9026
9030
|
|
9027
|
-
const componentName$
|
9031
|
+
const componentName$w = getComponentName('new-password');
|
9028
9032
|
|
9029
9033
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
9030
9034
|
|
@@ -9038,18 +9042,18 @@ const customMixin$6 = (superclass) =>
|
|
9038
9042
|
const externalInputAttr = this.getAttribute('external-input');
|
9039
9043
|
|
9040
9044
|
template.innerHTML = `
|
9041
|
-
<${componentName$
|
9045
|
+
<${componentName$y}
|
9042
9046
|
name="new-password"
|
9043
9047
|
tabindex="-1"
|
9044
9048
|
slot="input"
|
9045
9049
|
external-input="${externalInputAttr}"
|
9046
9050
|
>
|
9047
|
-
</${componentName$
|
9051
|
+
</${componentName$y}>
|
9048
9052
|
`;
|
9049
9053
|
|
9050
9054
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
9051
9055
|
|
9052
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
9056
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$y);
|
9053
9057
|
|
9054
9058
|
if (this.getAttribute('external-input') === 'true') {
|
9055
9059
|
this.initExternalInput();
|
@@ -9093,6 +9097,7 @@ const customMixin$6 = (superclass) =>
|
|
9093
9097
|
|
9094
9098
|
// move external input
|
9095
9099
|
externalInput.setAttribute('slot', slotName);
|
9100
|
+
externalInput.setAttribute('name', this.getAttribute('name'));
|
9096
9101
|
externalInput.setAttribute('data-hidden-input', 'true');
|
9097
9102
|
|
9098
9103
|
this.appendChild(externalInput);
|
@@ -9225,40 +9230,40 @@ const NewPasswordClass = compose(
|
|
9225
9230
|
}
|
9226
9231
|
`,
|
9227
9232
|
excludeAttrsSync: ['tabindex'],
|
9228
|
-
componentName: componentName$
|
9233
|
+
componentName: componentName$w,
|
9229
9234
|
})
|
9230
9235
|
);
|
9231
9236
|
|
9232
9237
|
const globalRefs$l = getThemeRefs(globals);
|
9233
|
-
const vars$
|
9238
|
+
const vars$t = NewPasswordClass.cssVarList;
|
9234
9239
|
|
9235
9240
|
const newPassword = {
|
9236
|
-
[vars$
|
9237
|
-
[vars$
|
9238
|
-
[vars$
|
9239
|
-
[vars$
|
9240
|
-
[vars$
|
9241
|
-
[vars$
|
9242
|
-
[vars$
|
9243
|
-
[vars$
|
9244
|
-
[vars$
|
9245
|
-
[vars$
|
9246
|
-
[vars$
|
9247
|
-
[vars$
|
9248
|
-
[vars$
|
9241
|
+
[vars$t.hostWidth]: refs.width,
|
9242
|
+
[vars$t.hostMinWidth]: refs.minWidth,
|
9243
|
+
[vars$t.hostDirection]: refs.direction,
|
9244
|
+
[vars$t.fontSize]: refs.fontSize,
|
9245
|
+
[vars$t.fontFamily]: refs.fontFamily,
|
9246
|
+
[vars$t.labelFontSize]: refs.labelFontSize,
|
9247
|
+
[vars$t.labelFontWeight]: refs.labelFontWeight,
|
9248
|
+
[vars$t.labelTextColor]: refs.labelTextColor,
|
9249
|
+
[vars$t.spaceBetweenInputs]: '1em',
|
9250
|
+
[vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
|
9251
|
+
[vars$t.policyPreviewBackgroundColor]: 'none',
|
9252
|
+
[vars$t.policyPreviewPadding]: globalRefs$l.spacing.lg,
|
9253
|
+
[vars$t.valueInputHeight]: refs.valueInputHeight,
|
9249
9254
|
|
9250
9255
|
_required: {
|
9251
9256
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
9252
9257
|
// That's why we fake the required indicator on each input.
|
9253
9258
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
9254
|
-
[vars$
|
9259
|
+
[vars$t.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
9255
9260
|
},
|
9256
9261
|
};
|
9257
9262
|
|
9258
9263
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
9259
9264
|
__proto__: null,
|
9260
9265
|
default: newPassword,
|
9261
|
-
vars: vars$
|
9266
|
+
vars: vars$t
|
9262
9267
|
});
|
9263
9268
|
|
9264
9269
|
const getFileBase64 = (fileObj) => {
|
@@ -9273,7 +9278,7 @@ const getFilename = (fileObj) => {
|
|
9273
9278
|
return fileObj.name.replace(/^.*\\/, '');
|
9274
9279
|
};
|
9275
9280
|
|
9276
|
-
const componentName$
|
9281
|
+
const componentName$v = getComponentName('upload-file');
|
9277
9282
|
|
9278
9283
|
const observedAttributes$1 = [
|
9279
9284
|
'title',
|
@@ -9288,7 +9293,7 @@ const observedAttributes$1 = [
|
|
9288
9293
|
'icon',
|
9289
9294
|
];
|
9290
9295
|
|
9291
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
9296
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$v, baseSelector: ':host > div' });
|
9292
9297
|
|
9293
9298
|
class RawUploadFile extends BaseInputClass$2 {
|
9294
9299
|
static get observedAttributes() {
|
@@ -9503,77 +9508,77 @@ const UploadFileClass = compose(
|
|
9503
9508
|
componentNameValidationMixin
|
9504
9509
|
)(RawUploadFile);
|
9505
9510
|
|
9506
|
-
const vars$
|
9511
|
+
const vars$s = UploadFileClass.cssVarList;
|
9507
9512
|
|
9508
9513
|
const uploadFile = {
|
9509
|
-
[vars$
|
9510
|
-
[vars$
|
9511
|
-
[vars$
|
9514
|
+
[vars$s.hostDirection]: refs.direction,
|
9515
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
9516
|
+
[vars$s.fontFamily]: refs.fontFamily,
|
9512
9517
|
|
9513
|
-
[vars$
|
9518
|
+
[vars$s.iconSize]: '2em',
|
9514
9519
|
|
9515
|
-
[vars$
|
9516
|
-
[vars$
|
9520
|
+
[vars$s.hostPadding]: '0.75em',
|
9521
|
+
[vars$s.gap]: '0.5em',
|
9517
9522
|
|
9518
|
-
[vars$
|
9519
|
-
[vars$
|
9520
|
-
[vars$
|
9523
|
+
[vars$s.fontSize]: '16px',
|
9524
|
+
[vars$s.titleFontWeight]: '500',
|
9525
|
+
[vars$s.lineHeight]: '1em',
|
9521
9526
|
|
9522
|
-
[vars$
|
9523
|
-
[vars$
|
9524
|
-
[vars$
|
9525
|
-
[vars$
|
9527
|
+
[vars$s.borderWidth]: refs.borderWidth,
|
9528
|
+
[vars$s.borderColor]: refs.borderColor,
|
9529
|
+
[vars$s.borderRadius]: refs.borderRadius,
|
9530
|
+
[vars$s.borderStyle]: 'dashed',
|
9526
9531
|
|
9527
9532
|
_required: {
|
9528
|
-
[vars$
|
9533
|
+
[vars$s.requiredIndicator]: refs.requiredIndicator,
|
9529
9534
|
},
|
9530
9535
|
|
9531
9536
|
size: {
|
9532
9537
|
xs: {
|
9533
|
-
[vars$
|
9534
|
-
[vars$
|
9535
|
-
[vars$
|
9536
|
-
[vars$
|
9537
|
-
[vars$
|
9538
|
+
[vars$s.hostHeight]: '196px',
|
9539
|
+
[vars$s.hostWidth]: '200px',
|
9540
|
+
[vars$s.titleFontSize]: '0.875em',
|
9541
|
+
[vars$s.descriptionFontSize]: '0.875em',
|
9542
|
+
[vars$s.lineHeight]: '1.25em',
|
9538
9543
|
},
|
9539
9544
|
sm: {
|
9540
|
-
[vars$
|
9541
|
-
[vars$
|
9542
|
-
[vars$
|
9543
|
-
[vars$
|
9544
|
-
[vars$
|
9545
|
+
[vars$s.hostHeight]: '216px',
|
9546
|
+
[vars$s.hostWidth]: '230px',
|
9547
|
+
[vars$s.titleFontSize]: '1em',
|
9548
|
+
[vars$s.descriptionFontSize]: '0.875em',
|
9549
|
+
[vars$s.lineHeight]: '1.25em',
|
9545
9550
|
},
|
9546
9551
|
md: {
|
9547
|
-
[vars$
|
9548
|
-
[vars$
|
9549
|
-
[vars$
|
9550
|
-
[vars$
|
9551
|
-
[vars$
|
9552
|
+
[vars$s.hostHeight]: '256px',
|
9553
|
+
[vars$s.hostWidth]: '312px',
|
9554
|
+
[vars$s.titleFontSize]: '1.125em',
|
9555
|
+
[vars$s.descriptionFontSize]: '1em',
|
9556
|
+
[vars$s.lineHeight]: '1.5em',
|
9552
9557
|
},
|
9553
9558
|
lg: {
|
9554
|
-
[vars$
|
9555
|
-
[vars$
|
9556
|
-
[vars$
|
9557
|
-
[vars$
|
9558
|
-
[vars$
|
9559
|
+
[vars$s.hostHeight]: '280px',
|
9560
|
+
[vars$s.hostWidth]: '336px',
|
9561
|
+
[vars$s.titleFontSize]: '1.125em',
|
9562
|
+
[vars$s.descriptionFontSize]: '1.125em',
|
9563
|
+
[vars$s.lineHeight]: '1.75em',
|
9559
9564
|
},
|
9560
9565
|
},
|
9561
9566
|
|
9562
9567
|
_fullWidth: {
|
9563
|
-
[vars$
|
9568
|
+
[vars$s.hostWidth]: refs.width,
|
9564
9569
|
},
|
9565
9570
|
};
|
9566
9571
|
|
9567
9572
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
9568
9573
|
__proto__: null,
|
9569
9574
|
default: uploadFile,
|
9570
|
-
vars: vars$
|
9575
|
+
vars: vars$s
|
9571
9576
|
});
|
9572
9577
|
|
9573
|
-
const componentName$
|
9578
|
+
const componentName$u = getComponentName('button-selection-group-item');
|
9574
9579
|
|
9575
9580
|
class RawSelectItem extends createBaseClass({
|
9576
|
-
componentName: componentName$
|
9581
|
+
componentName: componentName$u,
|
9577
9582
|
baseSelector: ':host > descope-button',
|
9578
9583
|
}) {
|
9579
9584
|
get size() {
|
@@ -9682,37 +9687,37 @@ const ButtonSelectionGroupItemClass = compose(
|
|
9682
9687
|
|
9683
9688
|
const globalRefs$k = getThemeRefs(globals);
|
9684
9689
|
|
9685
|
-
const vars$
|
9690
|
+
const vars$r = ButtonSelectionGroupItemClass.cssVarList;
|
9686
9691
|
|
9687
9692
|
const buttonSelectionGroupItem = {
|
9688
|
-
[vars$
|
9689
|
-
[vars$
|
9690
|
-
[vars$
|
9691
|
-
[vars$
|
9692
|
-
[vars$
|
9693
|
-
[vars$
|
9694
|
-
[vars$
|
9695
|
-
[vars$
|
9693
|
+
[vars$r.hostDirection]: 'inherit',
|
9694
|
+
[vars$r.backgroundColor]: globalRefs$k.colors.surface.main,
|
9695
|
+
[vars$r.labelTextColor]: globalRefs$k.colors.surface.contrast,
|
9696
|
+
[vars$r.borderColor]: globalRefs$k.colors.surface.light,
|
9697
|
+
[vars$r.borderStyle]: 'solid',
|
9698
|
+
[vars$r.borderRadius]: globalRefs$k.radius.sm,
|
9699
|
+
[vars$r.outlineColor]: 'transparent',
|
9700
|
+
[vars$r.borderWidth]: globalRefs$k.border.xs,
|
9696
9701
|
|
9697
9702
|
_hover: {
|
9698
|
-
[vars$
|
9703
|
+
[vars$r.backgroundColor]: globalRefs$k.colors.surface.highlight,
|
9699
9704
|
},
|
9700
9705
|
|
9701
9706
|
_focused: {
|
9702
|
-
[vars$
|
9707
|
+
[vars$r.outlineColor]: globalRefs$k.colors.surface.light,
|
9703
9708
|
},
|
9704
9709
|
|
9705
9710
|
_selected: {
|
9706
|
-
[vars$
|
9707
|
-
[vars$
|
9708
|
-
[vars$
|
9711
|
+
[vars$r.borderColor]: globalRefs$k.colors.surface.contrast,
|
9712
|
+
[vars$r.backgroundColor]: globalRefs$k.colors.surface.contrast,
|
9713
|
+
[vars$r.labelTextColor]: globalRefs$k.colors.surface.main,
|
9709
9714
|
},
|
9710
9715
|
};
|
9711
9716
|
|
9712
9717
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
9713
9718
|
__proto__: null,
|
9714
9719
|
default: buttonSelectionGroupItem,
|
9715
|
-
vars: vars$
|
9720
|
+
vars: vars$r
|
9716
9721
|
});
|
9717
9722
|
|
9718
9723
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
@@ -9811,10 +9816,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
9811
9816
|
return BaseButtonSelectionGroupInternalClass;
|
9812
9817
|
};
|
9813
9818
|
|
9814
|
-
const componentName$
|
9819
|
+
const componentName$t = getComponentName('button-selection-group-internal');
|
9815
9820
|
|
9816
9821
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
9817
|
-
componentName$
|
9822
|
+
componentName$t
|
9818
9823
|
) {
|
9819
9824
|
getSelectedNode() {
|
9820
9825
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -10046,7 +10051,7 @@ const buttonSelectionGroupStyles = `
|
|
10046
10051
|
${resetInputCursor('vaadin-text-field')}
|
10047
10052
|
`;
|
10048
10053
|
|
10049
|
-
const componentName$
|
10054
|
+
const componentName$s = getComponentName('button-selection-group');
|
10050
10055
|
|
10051
10056
|
const buttonSelectionGroupMixin = (superclass) =>
|
10052
10057
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10055,19 +10060,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
10055
10060
|
const template = document.createElement('template');
|
10056
10061
|
|
10057
10062
|
template.innerHTML = `
|
10058
|
-
<${componentName$
|
10063
|
+
<${componentName$t}
|
10059
10064
|
name="button-selection-group"
|
10060
10065
|
slot="input"
|
10061
10066
|
tabindex="-1"
|
10062
10067
|
part="internal-component"
|
10063
10068
|
>
|
10064
10069
|
<slot></slot>
|
10065
|
-
</${componentName$
|
10070
|
+
</${componentName$t}>
|
10066
10071
|
`;
|
10067
10072
|
|
10068
10073
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10069
10074
|
|
10070
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10075
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$t);
|
10071
10076
|
|
10072
10077
|
forwardAttrs(this, this.inputElement, {
|
10073
10078
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -10092,7 +10097,7 @@ const ButtonSelectionGroupClass = compose(
|
|
10092
10097
|
wrappedEleName: 'vaadin-text-field',
|
10093
10098
|
style: () => buttonSelectionGroupStyles,
|
10094
10099
|
excludeAttrsSync: ['tabindex'],
|
10095
|
-
componentName: componentName$
|
10100
|
+
componentName: componentName$s,
|
10096
10101
|
})
|
10097
10102
|
);
|
10098
10103
|
|
@@ -10108,22 +10113,22 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
10108
10113
|
[vars.hostWidth]: refs.width,
|
10109
10114
|
});
|
10110
10115
|
|
10111
|
-
const vars$
|
10116
|
+
const vars$q = ButtonSelectionGroupClass.cssVarList;
|
10112
10117
|
|
10113
10118
|
const buttonSelectionGroup = {
|
10114
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
10119
|
+
...createBaseButtonSelectionGroupMappings(vars$q),
|
10115
10120
|
};
|
10116
10121
|
|
10117
10122
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
10118
10123
|
__proto__: null,
|
10119
10124
|
default: buttonSelectionGroup,
|
10120
|
-
vars: vars$
|
10125
|
+
vars: vars$q
|
10121
10126
|
});
|
10122
10127
|
|
10123
|
-
const componentName$
|
10128
|
+
const componentName$r = getComponentName('button-multi-selection-group-internal');
|
10124
10129
|
|
10125
10130
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
10126
|
-
componentName$
|
10131
|
+
componentName$r
|
10127
10132
|
) {
|
10128
10133
|
#getSelectedNodes() {
|
10129
10134
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -10226,7 +10231,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
10226
10231
|
}
|
10227
10232
|
}
|
10228
10233
|
|
10229
|
-
const componentName$
|
10234
|
+
const componentName$q = getComponentName('button-multi-selection-group');
|
10230
10235
|
|
10231
10236
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
10232
10237
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10235,19 +10240,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
10235
10240
|
const template = document.createElement('template');
|
10236
10241
|
|
10237
10242
|
template.innerHTML = `
|
10238
|
-
<${componentName$
|
10243
|
+
<${componentName$r}
|
10239
10244
|
name="button-selection-group"
|
10240
10245
|
slot="input"
|
10241
10246
|
tabindex="-1"
|
10242
10247
|
part="internal-component"
|
10243
10248
|
>
|
10244
10249
|
<slot></slot>
|
10245
|
-
</${componentName$
|
10250
|
+
</${componentName$r}>
|
10246
10251
|
`;
|
10247
10252
|
|
10248
10253
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10249
10254
|
|
10250
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10255
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$r);
|
10251
10256
|
|
10252
10257
|
forwardAttrs(this, this.inputElement, {
|
10253
10258
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -10272,23 +10277,23 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
10272
10277
|
wrappedEleName: 'vaadin-text-field',
|
10273
10278
|
style: () => buttonSelectionGroupStyles,
|
10274
10279
|
excludeAttrsSync: ['tabindex'],
|
10275
|
-
componentName: componentName$
|
10280
|
+
componentName: componentName$q,
|
10276
10281
|
})
|
10277
10282
|
);
|
10278
10283
|
|
10279
|
-
const vars$
|
10284
|
+
const vars$p = ButtonMultiSelectionGroupClass.cssVarList;
|
10280
10285
|
|
10281
10286
|
const buttonMultiSelectionGroup = {
|
10282
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
10287
|
+
...createBaseButtonSelectionGroupMappings(vars$p),
|
10283
10288
|
};
|
10284
10289
|
|
10285
10290
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
10286
10291
|
__proto__: null,
|
10287
10292
|
default: buttonMultiSelectionGroup,
|
10288
|
-
vars: vars$
|
10293
|
+
vars: vars$p
|
10289
10294
|
});
|
10290
10295
|
|
10291
|
-
const componentName$
|
10296
|
+
const componentName$p = getComponentName('modal');
|
10292
10297
|
|
10293
10298
|
const customMixin$5 = (superclass) =>
|
10294
10299
|
class ModalMixinClass extends superclass {
|
@@ -10387,7 +10392,7 @@ const ModalClass = compose(
|
|
10387
10392
|
wrappedEleName: 'vaadin-dialog',
|
10388
10393
|
style: () => ``,
|
10389
10394
|
excludeAttrsSync: ['tabindex', 'opened'],
|
10390
|
-
componentName: componentName$
|
10395
|
+
componentName: componentName$p,
|
10391
10396
|
})
|
10392
10397
|
);
|
10393
10398
|
|
@@ -10401,14 +10406,14 @@ const modal = {
|
|
10401
10406
|
[compVars$2.overlayWidth]: '540px',
|
10402
10407
|
};
|
10403
10408
|
|
10404
|
-
const vars$
|
10409
|
+
const vars$o = {
|
10405
10410
|
...compVars$2,
|
10406
10411
|
};
|
10407
10412
|
|
10408
10413
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
10409
10414
|
__proto__: null,
|
10410
10415
|
default: modal,
|
10411
|
-
vars: vars$
|
10416
|
+
vars: vars$o
|
10412
10417
|
});
|
10413
10418
|
|
10414
10419
|
const isValidDataType = (data) => {
|
@@ -10484,7 +10489,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
10484
10489
|
`;
|
10485
10490
|
};
|
10486
10491
|
|
10487
|
-
const componentName$
|
10492
|
+
const componentName$o = getComponentName('grid');
|
10488
10493
|
|
10489
10494
|
const GridMixin = (superclass) =>
|
10490
10495
|
class GridMixinClass extends superclass {
|
@@ -10838,52 +10843,52 @@ const GridClass = compose(
|
|
10838
10843
|
/*!css*/
|
10839
10844
|
`,
|
10840
10845
|
excludeAttrsSync: ['columns', 'tabindex'],
|
10841
|
-
componentName: componentName$
|
10846
|
+
componentName: componentName$o,
|
10842
10847
|
})
|
10843
10848
|
);
|
10844
10849
|
|
10845
10850
|
const globalRefs$h = getThemeRefs(globals);
|
10846
|
-
const vars$
|
10851
|
+
const vars$n = GridClass.cssVarList;
|
10847
10852
|
|
10848
10853
|
const grid = {
|
10849
|
-
[vars$
|
10850
|
-
[vars$
|
10851
|
-
[vars$
|
10852
|
-
[vars$
|
10853
|
-
[vars$
|
10854
|
-
|
10855
|
-
[vars$
|
10856
|
-
[vars$
|
10857
|
-
|
10858
|
-
[vars$
|
10859
|
-
[vars$
|
10860
|
-
[vars$
|
10861
|
-
|
10862
|
-
[vars$
|
10863
|
-
[vars$
|
10864
|
-
[vars$
|
10865
|
-
[vars$
|
10866
|
-
|
10867
|
-
[vars$
|
10868
|
-
[vars$
|
10869
|
-
|
10870
|
-
[vars$
|
10871
|
-
[vars$
|
10872
|
-
[vars$
|
10873
|
-
|
10874
|
-
[vars$
|
10875
|
-
[vars$
|
10876
|
-
[vars$
|
10877
|
-
[vars$
|
10878
|
-
[vars$
|
10879
|
-
[vars$
|
10880
|
-
[vars$
|
10881
|
-
[vars$
|
10882
|
-
[vars$
|
10883
|
-
[vars$
|
10854
|
+
[vars$n.hostWidth]: '100%',
|
10855
|
+
[vars$n.hostHeight]: '100%',
|
10856
|
+
[vars$n.hostMinHeight]: '400px',
|
10857
|
+
[vars$n.fontWeight]: '400',
|
10858
|
+
[vars$n.backgroundColor]: globalRefs$h.colors.surface.main,
|
10859
|
+
|
10860
|
+
[vars$n.fontSize]: refs.fontSize,
|
10861
|
+
[vars$n.fontFamily]: refs.fontFamily,
|
10862
|
+
|
10863
|
+
[vars$n.sortIndicatorsColor]: globalRefs$h.colors.surface.light,
|
10864
|
+
[vars$n.activeSortIndicator]: globalRefs$h.colors.surface.dark,
|
10865
|
+
[vars$n.resizeHandleColor]: globalRefs$h.colors.surface.light,
|
10866
|
+
|
10867
|
+
[vars$n.borderWidth]: refs.borderWidth,
|
10868
|
+
[vars$n.borderStyle]: refs.borderStyle,
|
10869
|
+
[vars$n.borderRadius]: refs.borderRadius,
|
10870
|
+
[vars$n.borderColor]: 'transparent',
|
10871
|
+
|
10872
|
+
[vars$n.headerRowTextColor]: globalRefs$h.colors.surface.dark,
|
10873
|
+
[vars$n.separatorColor]: globalRefs$h.colors.surface.light,
|
10874
|
+
|
10875
|
+
[vars$n.valueTextColor]: globalRefs$h.colors.surface.contrast,
|
10876
|
+
[vars$n.selectedBackgroundColor]: globalRefs$h.colors.surface.highlight,
|
10877
|
+
[vars$n.hostDirection]: globalRefs$h.direction,
|
10878
|
+
|
10879
|
+
[vars$n.toggleDetailsPanelButtonSize]: '1em',
|
10880
|
+
[vars$n.toggleDetailsPanelButtonOpenedColor]: globalRefs$h.colors.surface.contrast,
|
10881
|
+
[vars$n.toggleDetailsPanelButtonClosedColor]: globalRefs$h.colors.surface.light,
|
10882
|
+
[vars$n.toggleDetailsPanelButtonCursor]: 'pointer',
|
10883
|
+
[vars$n.detailsPanelBackgroundColor]: globalRefs$h.colors.surface.highlight,
|
10884
|
+
[vars$n.detailsPanelBorderTopColor]: globalRefs$h.colors.surface.light,
|
10885
|
+
[vars$n.detailsPanelLabelsColor]: globalRefs$h.colors.surface.dark,
|
10886
|
+
[vars$n.detailsPanelLabelsFontSize]: '0.8em',
|
10887
|
+
[vars$n.detailsPanelItemsGap]: '2em',
|
10888
|
+
[vars$n.detailsPanelPadding]: '12px 0',
|
10884
10889
|
|
10885
10890
|
_bordered: {
|
10886
|
-
[vars$
|
10891
|
+
[vars$n.borderColor]: refs.borderColor,
|
10887
10892
|
},
|
10888
10893
|
};
|
10889
10894
|
|
@@ -10891,10 +10896,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
10891
10896
|
__proto__: null,
|
10892
10897
|
default: grid,
|
10893
10898
|
grid: grid,
|
10894
|
-
vars: vars$
|
10899
|
+
vars: vars$n
|
10895
10900
|
});
|
10896
10901
|
|
10897
|
-
const componentName$
|
10902
|
+
const componentName$n = getComponentName('notification-card');
|
10898
10903
|
|
10899
10904
|
const notificationCardMixin = (superclass) =>
|
10900
10905
|
class NotificationCardMixinClass extends superclass {
|
@@ -11002,54 +11007,54 @@ const NotificationCardClass = compose(
|
|
11002
11007
|
}
|
11003
11008
|
`,
|
11004
11009
|
excludeAttrsSync: ['tabindex'],
|
11005
|
-
componentName: componentName$
|
11010
|
+
componentName: componentName$n,
|
11006
11011
|
})
|
11007
11012
|
);
|
11008
11013
|
|
11009
11014
|
const globalRefs$g = getThemeRefs(globals);
|
11010
|
-
const vars$
|
11015
|
+
const vars$m = NotificationCardClass.cssVarList;
|
11011
11016
|
|
11012
11017
|
const shadowColor$2 = '#00000020';
|
11013
11018
|
|
11014
11019
|
const notification = {
|
11015
|
-
[vars$
|
11016
|
-
[vars$
|
11017
|
-
[vars$
|
11018
|
-
[vars$
|
11019
|
-
[vars$
|
11020
|
-
[vars$
|
11021
|
-
[vars$
|
11022
|
-
[vars$
|
11023
|
-
[vars$
|
11020
|
+
[vars$m.hostMinWidth]: '415px',
|
11021
|
+
[vars$m.fontFamily]: globalRefs$g.fonts.font1.family,
|
11022
|
+
[vars$m.fontSize]: globalRefs$g.typography.body1.size,
|
11023
|
+
[vars$m.backgroundColor]: globalRefs$g.colors.surface.main,
|
11024
|
+
[vars$m.textColor]: globalRefs$g.colors.surface.contrast,
|
11025
|
+
[vars$m.boxShadow]: `${globalRefs$g.shadow.wide.xl} ${shadowColor$2}, ${globalRefs$g.shadow.narrow.xl} ${shadowColor$2}`,
|
11026
|
+
[vars$m.verticalPadding]: '0.625em',
|
11027
|
+
[vars$m.horizontalPadding]: '1.5em',
|
11028
|
+
[vars$m.borderRadius]: globalRefs$g.radius.xs,
|
11024
11029
|
|
11025
11030
|
_bordered: {
|
11026
|
-
[vars$
|
11027
|
-
[vars$
|
11028
|
-
[vars$
|
11031
|
+
[vars$m.borderWidth]: globalRefs$g.border.sm,
|
11032
|
+
[vars$m.borderStyle]: 'solid',
|
11033
|
+
[vars$m.borderColor]: 'transparent',
|
11029
11034
|
},
|
11030
11035
|
|
11031
11036
|
size: {
|
11032
|
-
xs: { [vars$
|
11033
|
-
sm: { [vars$
|
11034
|
-
md: { [vars$
|
11035
|
-
lg: { [vars$
|
11037
|
+
xs: { [vars$m.fontSize]: '12px' },
|
11038
|
+
sm: { [vars$m.fontSize]: '14px' },
|
11039
|
+
md: { [vars$m.fontSize]: '16px' },
|
11040
|
+
lg: { [vars$m.fontSize]: '18px' },
|
11036
11041
|
},
|
11037
11042
|
|
11038
11043
|
mode: {
|
11039
11044
|
primary: {
|
11040
|
-
[vars$
|
11041
|
-
[vars$
|
11042
|
-
[vars$
|
11045
|
+
[vars$m.backgroundColor]: globalRefs$g.colors.primary.main,
|
11046
|
+
[vars$m.textColor]: globalRefs$g.colors.primary.contrast,
|
11047
|
+
[vars$m.borderColor]: globalRefs$g.colors.primary.light,
|
11043
11048
|
},
|
11044
11049
|
success: {
|
11045
|
-
[vars$
|
11046
|
-
[vars$
|
11047
|
-
[vars$
|
11050
|
+
[vars$m.backgroundColor]: globalRefs$g.colors.success.main,
|
11051
|
+
[vars$m.textColor]: globalRefs$g.colors.success.contrast,
|
11052
|
+
[vars$m.borderColor]: globalRefs$g.colors.success.light,
|
11048
11053
|
},
|
11049
11054
|
error: {
|
11050
|
-
[vars$
|
11051
|
-
[vars$
|
11052
|
-
[vars$
|
11055
|
+
[vars$m.backgroundColor]: globalRefs$g.colors.error.main,
|
11056
|
+
[vars$m.textColor]: globalRefs$g.colors.error.contrast,
|
11057
|
+
[vars$m.borderColor]: globalRefs$g.colors.error.light,
|
11053
11058
|
},
|
11054
11059
|
},
|
11055
11060
|
};
|
@@ -11057,10 +11062,10 @@ const notification = {
|
|
11057
11062
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
11058
11063
|
__proto__: null,
|
11059
11064
|
default: notification,
|
11060
|
-
vars: vars$
|
11065
|
+
vars: vars$m
|
11061
11066
|
});
|
11062
11067
|
|
11063
|
-
const componentName$
|
11068
|
+
const componentName$m = getComponentName('multi-select-combo-box');
|
11064
11069
|
|
11065
11070
|
const multiSelectComboBoxMixin = (superclass) =>
|
11066
11071
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -11694,93 +11699,93 @@ const MultiSelectComboBoxClass = compose(
|
|
11694
11699
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
11695
11700
|
// tries to override it, causing us to lose the user set placeholder.
|
11696
11701
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
11697
|
-
componentName: componentName$
|
11702
|
+
componentName: componentName$m,
|
11698
11703
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
11699
11704
|
})
|
11700
11705
|
);
|
11701
11706
|
|
11702
11707
|
const globalRefs$f = getThemeRefs(globals);
|
11703
|
-
const vars$
|
11708
|
+
const vars$l = MultiSelectComboBoxClass.cssVarList;
|
11704
11709
|
|
11705
11710
|
const multiSelectComboBox = {
|
11706
|
-
[vars$
|
11707
|
-
[vars$
|
11708
|
-
[vars$
|
11709
|
-
[vars$
|
11710
|
-
[vars$
|
11711
|
-
[vars$
|
11712
|
-
[vars$
|
11713
|
-
[vars$
|
11714
|
-
[vars$
|
11715
|
-
[vars$
|
11716
|
-
[vars$
|
11717
|
-
[vars$
|
11718
|
-
[vars$
|
11719
|
-
[vars$
|
11720
|
-
[vars$
|
11721
|
-
[vars$
|
11722
|
-
[vars$
|
11723
|
-
[vars$
|
11724
|
-
[vars$
|
11725
|
-
[vars$
|
11726
|
-
[vars$
|
11727
|
-
[vars$
|
11728
|
-
[vars$
|
11729
|
-
[vars$
|
11730
|
-
[vars$
|
11731
|
-
[vars$
|
11732
|
-
[vars$
|
11733
|
-
[vars$
|
11734
|
-
[vars$
|
11735
|
-
[vars$
|
11736
|
-
[vars$
|
11737
|
-
[vars$
|
11738
|
-
[vars$
|
11739
|
-
[vars$
|
11740
|
-
[vars$
|
11741
|
-
[vars$
|
11742
|
-
[vars$
|
11743
|
-
[vars$
|
11744
|
-
[vars$
|
11745
|
-
[vars$
|
11746
|
-
[vars$
|
11711
|
+
[vars$l.hostWidth]: refs.width,
|
11712
|
+
[vars$l.hostDirection]: refs.direction,
|
11713
|
+
[vars$l.fontSize]: refs.fontSize,
|
11714
|
+
[vars$l.fontFamily]: refs.fontFamily,
|
11715
|
+
[vars$l.labelFontSize]: refs.labelFontSize,
|
11716
|
+
[vars$l.labelFontWeight]: refs.labelFontWeight,
|
11717
|
+
[vars$l.labelTextColor]: refs.labelTextColor,
|
11718
|
+
[vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
|
11719
|
+
[vars$l.inputBorderColor]: refs.borderColor,
|
11720
|
+
[vars$l.inputBorderWidth]: refs.borderWidth,
|
11721
|
+
[vars$l.inputBorderStyle]: refs.borderStyle,
|
11722
|
+
[vars$l.inputBorderRadius]: refs.borderRadius,
|
11723
|
+
[vars$l.inputOutlineColor]: refs.outlineColor,
|
11724
|
+
[vars$l.inputOutlineOffset]: refs.outlineOffset,
|
11725
|
+
[vars$l.inputOutlineWidth]: refs.outlineWidth,
|
11726
|
+
[vars$l.inputOutlineStyle]: refs.outlineStyle,
|
11727
|
+
[vars$l.labelRequiredIndicator]: refs.requiredIndicator,
|
11728
|
+
[vars$l.inputValueTextColor]: refs.valueTextColor,
|
11729
|
+
[vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
11730
|
+
[vars$l.inputBackgroundColor]: refs.backgroundColor,
|
11731
|
+
[vars$l.inputHorizontalPadding]: refs.horizontalPadding,
|
11732
|
+
[vars$l.inputVerticalPadding]: refs.verticalPadding,
|
11733
|
+
[vars$l.inputHeight]: refs.inputHeight,
|
11734
|
+
[vars$l.inputDropdownButtonColor]: globalRefs$f.colors.surface.dark,
|
11735
|
+
[vars$l.inputDropdownButtonCursor]: 'pointer',
|
11736
|
+
[vars$l.inputDropdownButtonSize]: refs.toggleButtonSize,
|
11737
|
+
[vars$l.inputDropdownButtonOffset]: globalRefs$f.spacing.xs,
|
11738
|
+
[vars$l.overlayItemPaddingInlineStart]: globalRefs$f.spacing.xs,
|
11739
|
+
[vars$l.overlayItemPaddingInlineEnd]: globalRefs$f.spacing.lg,
|
11740
|
+
[vars$l.chipFontSize]: refs.chipFontSize,
|
11741
|
+
[vars$l.chipTextColor]: globalRefs$f.colors.surface.contrast,
|
11742
|
+
[vars$l.chipBackgroundColor]: globalRefs$f.colors.surface.light,
|
11743
|
+
[vars$l.labelPosition]: refs.labelPosition,
|
11744
|
+
[vars$l.labelTopPosition]: refs.labelTopPosition,
|
11745
|
+
[vars$l.labelLeftPosition]: refs.labelLeftPosition,
|
11746
|
+
[vars$l.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
11747
|
+
[vars$l.inputTransformY]: refs.inputTransformY,
|
11748
|
+
[vars$l.inputTransition]: refs.inputTransition,
|
11749
|
+
[vars$l.marginInlineStart]: refs.marginInlineStart,
|
11750
|
+
[vars$l.placeholderOpacity]: refs.placeholderOpacity,
|
11751
|
+
[vars$l.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
11747
11752
|
|
11748
11753
|
labelType: {
|
11749
11754
|
floating: {
|
11750
|
-
[vars$
|
11755
|
+
[vars$l.inputHorizontalPadding]: '0.25em',
|
11751
11756
|
_hasValue: {
|
11752
|
-
[vars$
|
11757
|
+
[vars$l.inputHorizontalPadding]: '0.45em',
|
11753
11758
|
},
|
11754
11759
|
},
|
11755
11760
|
},
|
11756
11761
|
|
11757
11762
|
_readonly: {
|
11758
|
-
[vars$
|
11763
|
+
[vars$l.inputDropdownButtonCursor]: 'default',
|
11759
11764
|
},
|
11760
11765
|
|
11761
11766
|
// Overlay theme exposed via the component:
|
11762
|
-
[vars$
|
11763
|
-
[vars$
|
11764
|
-
[vars$
|
11765
|
-
[vars$
|
11766
|
-
[vars$
|
11767
|
-
[vars$
|
11767
|
+
[vars$l.overlayFontSize]: refs.fontSize,
|
11768
|
+
[vars$l.overlayFontFamily]: refs.fontFamily,
|
11769
|
+
[vars$l.overlayCursor]: 'pointer',
|
11770
|
+
[vars$l.overlayItemBoxShadow]: 'none',
|
11771
|
+
[vars$l.overlayBackground]: refs.backgroundColor,
|
11772
|
+
[vars$l.overlayTextColor]: refs.valueTextColor,
|
11768
11773
|
|
11769
11774
|
// Overlay direct theme:
|
11770
|
-
[vars$
|
11771
|
-
[vars$
|
11775
|
+
[vars$l.overlay.minHeight]: '400px',
|
11776
|
+
[vars$l.overlay.margin]: '0',
|
11772
11777
|
};
|
11773
11778
|
|
11774
11779
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
11775
11780
|
__proto__: null,
|
11776
11781
|
default: multiSelectComboBox,
|
11777
11782
|
multiSelectComboBox: multiSelectComboBox,
|
11778
|
-
vars: vars$
|
11783
|
+
vars: vars$l
|
11779
11784
|
});
|
11780
11785
|
|
11781
|
-
const componentName$
|
11786
|
+
const componentName$l = getComponentName('badge');
|
11782
11787
|
|
11783
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
11788
|
+
class RawBadge extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > div' }) {
|
11784
11789
|
constructor() {
|
11785
11790
|
super();
|
11786
11791
|
|
@@ -11832,65 +11837,65 @@ const BadgeClass = compose(
|
|
11832
11837
|
)(RawBadge);
|
11833
11838
|
|
11834
11839
|
const globalRefs$e = getThemeRefs(globals);
|
11835
|
-
const vars$
|
11840
|
+
const vars$k = BadgeClass.cssVarList;
|
11836
11841
|
|
11837
11842
|
const badge$2 = {
|
11838
|
-
[vars$
|
11839
|
-
[vars$
|
11843
|
+
[vars$k.hostWidth]: 'fit-content',
|
11844
|
+
[vars$k.hostDirection]: globalRefs$e.direction,
|
11840
11845
|
|
11841
|
-
[vars$
|
11846
|
+
[vars$k.textAlign]: 'center',
|
11842
11847
|
|
11843
|
-
[vars$
|
11844
|
-
[vars$
|
11848
|
+
[vars$k.fontFamily]: globalRefs$e.fonts.font1.family,
|
11849
|
+
[vars$k.fontWeight]: '400',
|
11845
11850
|
|
11846
|
-
[vars$
|
11847
|
-
[vars$
|
11851
|
+
[vars$k.verticalPadding]: '0.25em',
|
11852
|
+
[vars$k.horizontalPadding]: '0.5em',
|
11848
11853
|
|
11849
|
-
[vars$
|
11850
|
-
[vars$
|
11851
|
-
[vars$
|
11852
|
-
[vars$
|
11854
|
+
[vars$k.borderWidth]: globalRefs$e.border.xs,
|
11855
|
+
[vars$k.borderRadius]: globalRefs$e.radius.xs,
|
11856
|
+
[vars$k.borderColor]: 'transparent',
|
11857
|
+
[vars$k.borderStyle]: 'solid',
|
11853
11858
|
|
11854
11859
|
_fullWidth: {
|
11855
|
-
[vars$
|
11860
|
+
[vars$k.hostWidth]: '100%',
|
11856
11861
|
},
|
11857
11862
|
|
11858
11863
|
size: {
|
11859
|
-
xs: { [vars$
|
11860
|
-
sm: { [vars$
|
11861
|
-
md: { [vars$
|
11862
|
-
lg: { [vars$
|
11864
|
+
xs: { [vars$k.fontSize]: '12px' },
|
11865
|
+
sm: { [vars$k.fontSize]: '14px' },
|
11866
|
+
md: { [vars$k.fontSize]: '16px' },
|
11867
|
+
lg: { [vars$k.fontSize]: '18px' },
|
11863
11868
|
},
|
11864
11869
|
|
11865
11870
|
mode: {
|
11866
11871
|
default: {
|
11867
|
-
[vars$
|
11872
|
+
[vars$k.textColor]: globalRefs$e.colors.surface.dark,
|
11868
11873
|
_bordered: {
|
11869
|
-
[vars$
|
11874
|
+
[vars$k.borderColor]: globalRefs$e.colors.surface.light,
|
11870
11875
|
},
|
11871
11876
|
},
|
11872
11877
|
primary: {
|
11873
|
-
[vars$
|
11878
|
+
[vars$k.textColor]: globalRefs$e.colors.primary.main,
|
11874
11879
|
_bordered: {
|
11875
|
-
[vars$
|
11880
|
+
[vars$k.borderColor]: globalRefs$e.colors.primary.light,
|
11876
11881
|
},
|
11877
11882
|
},
|
11878
11883
|
secondary: {
|
11879
|
-
[vars$
|
11884
|
+
[vars$k.textColor]: globalRefs$e.colors.secondary.main,
|
11880
11885
|
_bordered: {
|
11881
|
-
[vars$
|
11886
|
+
[vars$k.borderColor]: globalRefs$e.colors.secondary.light,
|
11882
11887
|
},
|
11883
11888
|
},
|
11884
11889
|
error: {
|
11885
|
-
[vars$
|
11890
|
+
[vars$k.textColor]: globalRefs$e.colors.error.main,
|
11886
11891
|
_bordered: {
|
11887
|
-
[vars$
|
11892
|
+
[vars$k.borderColor]: globalRefs$e.colors.error.light,
|
11888
11893
|
},
|
11889
11894
|
},
|
11890
11895
|
success: {
|
11891
|
-
[vars$
|
11896
|
+
[vars$k.textColor]: globalRefs$e.colors.success.main,
|
11892
11897
|
_bordered: {
|
11893
|
-
[vars$
|
11898
|
+
[vars$k.borderColor]: globalRefs$e.colors.success.light,
|
11894
11899
|
},
|
11895
11900
|
},
|
11896
11901
|
},
|
@@ -11899,11 +11904,11 @@ const badge$2 = {
|
|
11899
11904
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
11900
11905
|
__proto__: null,
|
11901
11906
|
default: badge$2,
|
11902
|
-
vars: vars$
|
11907
|
+
vars: vars$k
|
11903
11908
|
});
|
11904
11909
|
|
11905
|
-
const componentName$
|
11906
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
11910
|
+
const componentName$k = getComponentName('avatar');
|
11911
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$k, baseSelector: ':host > .wrapper' }) {
|
11907
11912
|
constructor() {
|
11908
11913
|
super();
|
11909
11914
|
|
@@ -12042,21 +12047,21 @@ const avatar = {
|
|
12042
12047
|
},
|
12043
12048
|
};
|
12044
12049
|
|
12045
|
-
const vars$
|
12050
|
+
const vars$j = {
|
12046
12051
|
...compVars$1,
|
12047
12052
|
};
|
12048
12053
|
|
12049
12054
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
12050
12055
|
__proto__: null,
|
12051
12056
|
default: avatar,
|
12052
|
-
vars: vars$
|
12057
|
+
vars: vars$j
|
12053
12058
|
});
|
12054
12059
|
|
12055
|
-
const componentName$
|
12060
|
+
const componentName$j = getComponentName('mappings-field-internal');
|
12056
12061
|
|
12057
|
-
createBaseInputClass({ componentName: componentName$
|
12062
|
+
createBaseInputClass({ componentName: componentName$j, baseSelector: 'div' });
|
12058
12063
|
|
12059
|
-
const componentName$
|
12064
|
+
const componentName$i = getComponentName('mappings-field');
|
12060
12065
|
|
12061
12066
|
const customMixin$4 = (superclass) =>
|
12062
12067
|
class MappingsFieldMixinClass extends superclass {
|
@@ -12085,14 +12090,14 @@ const customMixin$4 = (superclass) =>
|
|
12085
12090
|
const template = document.createElement('template');
|
12086
12091
|
|
12087
12092
|
template.innerHTML = `
|
12088
|
-
<${componentName$
|
12093
|
+
<${componentName$j}
|
12089
12094
|
tabindex="-1"
|
12090
|
-
></${componentName$
|
12095
|
+
></${componentName$j}>
|
12091
12096
|
`;
|
12092
12097
|
|
12093
12098
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
12094
12099
|
|
12095
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
12100
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$j);
|
12096
12101
|
|
12097
12102
|
forwardAttrs(this, this.inputElement, {
|
12098
12103
|
includeAttrs: [
|
@@ -12224,47 +12229,47 @@ const MappingsFieldClass = compose(
|
|
12224
12229
|
'options',
|
12225
12230
|
'error-message',
|
12226
12231
|
],
|
12227
|
-
componentName: componentName$
|
12232
|
+
componentName: componentName$i,
|
12228
12233
|
})
|
12229
12234
|
);
|
12230
12235
|
|
12231
12236
|
const globalRefs$c = getThemeRefs(globals);
|
12232
12237
|
|
12233
|
-
const vars$
|
12238
|
+
const vars$i = MappingsFieldClass.cssVarList;
|
12234
12239
|
|
12235
12240
|
const mappingsField = {
|
12236
|
-
[vars$
|
12237
|
-
[vars$
|
12238
|
-
[vars$
|
12239
|
-
[vars$
|
12240
|
-
[vars$
|
12241
|
-
[vars$
|
12242
|
-
[vars$
|
12243
|
-
[vars$
|
12244
|
-
[vars$
|
12245
|
-
[vars$
|
12241
|
+
[vars$i.hostWidth]: refs.width,
|
12242
|
+
[vars$i.hostDirection]: refs.direction,
|
12243
|
+
[vars$i.fontSize]: refs.fontSize,
|
12244
|
+
[vars$i.fontFamily]: refs.fontFamily,
|
12245
|
+
[vars$i.separatorFontSize]: '14px',
|
12246
|
+
[vars$i.labelsFontSize]: '14px',
|
12247
|
+
[vars$i.labelsLineHeight]: '1',
|
12248
|
+
[vars$i.labelsMarginBottom]: '6px',
|
12249
|
+
[vars$i.labelTextColor]: refs.labelTextColor,
|
12250
|
+
[vars$i.itemMarginBottom]: '1em',
|
12246
12251
|
// To be positioned correctly, the min width has to match the text field min width
|
12247
|
-
[vars$
|
12252
|
+
[vars$i.valueLabelMinWidth]: refs.minWidth,
|
12248
12253
|
// To be positioned correctly, the min width has to match the combo box field min width
|
12249
|
-
[vars$
|
12250
|
-
[vars$
|
12251
|
-
[vars$
|
12254
|
+
[vars$i.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$c.border.xs})`,
|
12255
|
+
[vars$i.separatorWidth]: '70px',
|
12256
|
+
[vars$i.removeButtonWidth]: '60px',
|
12252
12257
|
};
|
12253
12258
|
|
12254
12259
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
12255
12260
|
__proto__: null,
|
12256
12261
|
default: mappingsField,
|
12257
12262
|
mappingsField: mappingsField,
|
12258
|
-
vars: vars$
|
12263
|
+
vars: vars$i
|
12259
12264
|
});
|
12260
12265
|
|
12261
12266
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
12262
12267
|
|
12263
12268
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
12264
12269
|
|
12265
|
-
const componentName$
|
12270
|
+
const componentName$h = getComponentName('user-attribute');
|
12266
12271
|
class RawUserAttribute extends createBaseClass({
|
12267
|
-
componentName: componentName$
|
12272
|
+
componentName: componentName$h,
|
12268
12273
|
baseSelector: ':host > .root',
|
12269
12274
|
}) {
|
12270
12275
|
constructor() {
|
@@ -12499,31 +12504,31 @@ const UserAttributeClass = compose(
|
|
12499
12504
|
)(RawUserAttribute);
|
12500
12505
|
|
12501
12506
|
const globalRefs$b = getThemeRefs(globals);
|
12502
|
-
const vars$
|
12507
|
+
const vars$h = UserAttributeClass.cssVarList;
|
12503
12508
|
|
12504
12509
|
const userAttribute = {
|
12505
|
-
[vars$
|
12506
|
-
[vars$
|
12507
|
-
[vars$
|
12508
|
-
[vars$
|
12509
|
-
[vars$
|
12510
|
-
[vars$
|
12510
|
+
[vars$h.hostDirection]: globalRefs$b.direction,
|
12511
|
+
[vars$h.labelTextWidth]: '150px',
|
12512
|
+
[vars$h.valueTextWidth]: '200px',
|
12513
|
+
[vars$h.badgeMaxWidth]: '85px',
|
12514
|
+
[vars$h.itemsGap]: '16px',
|
12515
|
+
[vars$h.hostMinWidth]: '530px',
|
12511
12516
|
_fullWidth: {
|
12512
|
-
[vars$
|
12517
|
+
[vars$h.hostWidth]: '100%',
|
12513
12518
|
},
|
12514
12519
|
};
|
12515
12520
|
|
12516
12521
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
12517
12522
|
__proto__: null,
|
12518
12523
|
default: userAttribute,
|
12519
|
-
vars: vars$
|
12524
|
+
vars: vars$h
|
12520
12525
|
});
|
12521
12526
|
|
12522
12527
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
12523
12528
|
|
12524
|
-
const componentName$
|
12529
|
+
const componentName$g = getComponentName('user-auth-method');
|
12525
12530
|
class RawUserAuthMethod extends createBaseClass({
|
12526
|
-
componentName: componentName$
|
12531
|
+
componentName: componentName$g,
|
12527
12532
|
baseSelector: ':host > .root',
|
12528
12533
|
}) {
|
12529
12534
|
constructor() {
|
@@ -12716,30 +12721,30 @@ const UserAuthMethodClass = compose(
|
|
12716
12721
|
)(RawUserAuthMethod);
|
12717
12722
|
|
12718
12723
|
const globalRefs$a = getThemeRefs(globals);
|
12719
|
-
const vars$
|
12724
|
+
const vars$g = UserAuthMethodClass.cssVarList;
|
12720
12725
|
|
12721
12726
|
const userAuthMethod = {
|
12722
|
-
[vars$
|
12723
|
-
[vars$
|
12724
|
-
[vars$
|
12725
|
-
[vars$
|
12726
|
-
[vars$
|
12727
|
+
[vars$g.hostDirection]: globalRefs$a.direction,
|
12728
|
+
[vars$g.labelTextWidth]: '200px',
|
12729
|
+
[vars$g.itemsGap]: '16px',
|
12730
|
+
[vars$g.hostMinWidth]: '530px',
|
12731
|
+
[vars$g.iconSize]: '24px',
|
12727
12732
|
_fullWidth: {
|
12728
|
-
[vars$
|
12733
|
+
[vars$g.hostWidth]: '100%',
|
12729
12734
|
},
|
12730
12735
|
};
|
12731
12736
|
|
12732
12737
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
12733
12738
|
__proto__: null,
|
12734
12739
|
default: userAuthMethod,
|
12735
|
-
vars: vars$
|
12740
|
+
vars: vars$g
|
12736
12741
|
});
|
12737
12742
|
|
12738
|
-
const componentName$
|
12743
|
+
const componentName$f = getComponentName('saml-group-mappings-internal');
|
12739
12744
|
|
12740
|
-
createBaseInputClass({ componentName: componentName$
|
12745
|
+
createBaseInputClass({ componentName: componentName$f, baseSelector: '' });
|
12741
12746
|
|
12742
|
-
const componentName$
|
12747
|
+
const componentName$e = getComponentName('saml-group-mappings');
|
12743
12748
|
|
12744
12749
|
const customMixin$3 = (superclass) =>
|
12745
12750
|
class SamlGroupMappingsMixinClass extends superclass {
|
@@ -12749,14 +12754,14 @@ const customMixin$3 = (superclass) =>
|
|
12749
12754
|
const template = document.createElement('template');
|
12750
12755
|
|
12751
12756
|
template.innerHTML = `
|
12752
|
-
<${componentName$
|
12757
|
+
<${componentName$f}
|
12753
12758
|
tabindex="-1"
|
12754
|
-
></${componentName$
|
12759
|
+
></${componentName$f}>
|
12755
12760
|
`;
|
12756
12761
|
|
12757
12762
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
12758
12763
|
|
12759
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
12764
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$f);
|
12760
12765
|
|
12761
12766
|
forwardAttrs(this, this.inputElement, {
|
12762
12767
|
includeAttrs: [
|
@@ -12833,61 +12838,61 @@ const SamlGroupMappingsClass = compose(
|
|
12833
12838
|
'options',
|
12834
12839
|
'error-message',
|
12835
12840
|
],
|
12836
|
-
componentName: componentName$
|
12841
|
+
componentName: componentName$e,
|
12837
12842
|
})
|
12838
12843
|
);
|
12839
12844
|
|
12840
|
-
const vars$
|
12845
|
+
const vars$f = SamlGroupMappingsClass.cssVarList;
|
12841
12846
|
|
12842
12847
|
const samlGroupMappings = {
|
12843
|
-
[vars$
|
12844
|
-
[vars$
|
12845
|
-
[vars$
|
12848
|
+
[vars$f.hostWidth]: refs.width,
|
12849
|
+
[vars$f.hostDirection]: refs.direction,
|
12850
|
+
[vars$f.groupNameInputMarginBottom]: '1em',
|
12846
12851
|
};
|
12847
12852
|
|
12848
12853
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
12849
12854
|
__proto__: null,
|
12850
12855
|
default: samlGroupMappings,
|
12851
12856
|
samlGroupMappings: samlGroupMappings,
|
12852
|
-
vars: vars$
|
12857
|
+
vars: vars$f
|
12853
12858
|
});
|
12854
12859
|
|
12855
12860
|
const globalRefs$9 = getThemeRefs(globals);
|
12856
|
-
const vars$
|
12861
|
+
const vars$e = PolicyValidationClass.cssVarList;
|
12857
12862
|
|
12858
12863
|
const policyValidation = {
|
12859
|
-
[vars$
|
12860
|
-
[vars$
|
12861
|
-
[vars$
|
12862
|
-
[vars$
|
12863
|
-
[vars$
|
12864
|
-
[vars$
|
12865
|
-
[vars$
|
12866
|
-
[vars$
|
12867
|
-
[vars$
|
12868
|
-
[vars$
|
12869
|
-
[vars$
|
12870
|
-
[vars$
|
12871
|
-
[vars$
|
12872
|
-
[vars$
|
12873
|
-
[vars$
|
12874
|
-
[vars$
|
12864
|
+
[vars$e.fontFamily]: refs.fontFamily,
|
12865
|
+
[vars$e.fontSize]: refs.labelFontSize,
|
12866
|
+
[vars$e.textColor]: refs.labelTextColor,
|
12867
|
+
[vars$e.borderWidth]: refs.borderWidth,
|
12868
|
+
[vars$e.borderStyle]: refs.borderStyle,
|
12869
|
+
[vars$e.borderColor]: refs.borderColor,
|
12870
|
+
[vars$e.borderRadius]: globalRefs$9.radius.sm,
|
12871
|
+
[vars$e.backgroundColor]: 'none',
|
12872
|
+
[vars$e.padding]: '0px',
|
12873
|
+
[vars$e.labelMargin]: globalRefs$9.spacing.sm,
|
12874
|
+
[vars$e.itemsSpacing]: globalRefs$9.spacing.lg,
|
12875
|
+
[vars$e.itemSymbolDefault]: "'\\2022'", // "•"
|
12876
|
+
[vars$e.itemSymbolSuccess]: "'\\2713'", // "✓"
|
12877
|
+
[vars$e.itemSymbolError]: "'\\2A09'", // "⨉"
|
12878
|
+
[vars$e.itemSymbolSuccessColor]: globalRefs$9.colors.success.main,
|
12879
|
+
[vars$e.itemSymbolErrorColor]: globalRefs$9.colors.error.main,
|
12875
12880
|
};
|
12876
12881
|
|
12877
12882
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
12878
12883
|
__proto__: null,
|
12879
12884
|
default: policyValidation,
|
12880
|
-
vars: vars$
|
12885
|
+
vars: vars$e
|
12881
12886
|
});
|
12882
12887
|
|
12883
|
-
const vars$
|
12888
|
+
const vars$d = IconClass.cssVarList;
|
12884
12889
|
|
12885
12890
|
const icon = {};
|
12886
12891
|
|
12887
12892
|
var icon$1 = /*#__PURE__*/Object.freeze({
|
12888
12893
|
__proto__: null,
|
12889
12894
|
default: icon,
|
12890
|
-
vars: vars$
|
12895
|
+
vars: vars$d
|
12891
12896
|
});
|
12892
12897
|
|
12893
12898
|
const decode = (input) => {
|
@@ -12900,9 +12905,9 @@ const tpl = (input, inline) => {
|
|
12900
12905
|
return inline ? input : `<pre>${input}</pre>`;
|
12901
12906
|
};
|
12902
12907
|
|
12903
|
-
const componentName$
|
12908
|
+
const componentName$d = getComponentName('code-snippet');
|
12904
12909
|
|
12905
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
12910
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$d, baseSelector: ':host > code' }) {
|
12906
12911
|
static get observedAttributes() {
|
12907
12912
|
return ['lang', 'inline'];
|
12908
12913
|
}
|
@@ -13134,7 +13139,7 @@ const CodeSnippetClass = compose(
|
|
13134
13139
|
|
13135
13140
|
const globalRefs$8 = getThemeRefs(globals);
|
13136
13141
|
|
13137
|
-
const vars$
|
13142
|
+
const vars$c = CodeSnippetClass.cssVarList;
|
13138
13143
|
|
13139
13144
|
const light = {
|
13140
13145
|
color1: '#fa0',
|
@@ -13169,50 +13174,50 @@ const dark = {
|
|
13169
13174
|
};
|
13170
13175
|
|
13171
13176
|
const CodeSnippet = {
|
13172
|
-
[vars$
|
13173
|
-
[vars$
|
13174
|
-
[vars$
|
13175
|
-
[vars$
|
13176
|
-
[vars$
|
13177
|
-
[vars$
|
13178
|
-
[vars$
|
13179
|
-
[vars$
|
13180
|
-
[vars$
|
13181
|
-
[vars$
|
13182
|
-
[vars$
|
13183
|
-
[vars$
|
13184
|
-
[vars$
|
13185
|
-
[vars$
|
13186
|
-
[vars$
|
13187
|
-
[vars$
|
13188
|
-
[vars$
|
13189
|
-
[vars$
|
13190
|
-
[vars$
|
13191
|
-
[vars$
|
13192
|
-
[vars$
|
13193
|
-
[vars$
|
13194
|
-
[vars$
|
13195
|
-
[vars$
|
13196
|
-
[vars$
|
13197
|
-
[vars$
|
13198
|
-
[vars$
|
13199
|
-
[vars$
|
13200
|
-
[vars$
|
13201
|
-
[vars$
|
13202
|
-
[vars$
|
13203
|
-
[vars$
|
13204
|
-
[vars$
|
13205
|
-
[vars$
|
13206
|
-
[vars$
|
13207
|
-
[vars$
|
13208
|
-
[vars$
|
13209
|
-
[vars$
|
13210
|
-
[vars$
|
13211
|
-
[vars$
|
13212
|
-
[vars$
|
13213
|
-
[vars$
|
13214
|
-
[vars$
|
13215
|
-
[vars$
|
13177
|
+
[vars$c.rootBgColor]: globalRefs$8.colors.surface.main,
|
13178
|
+
[vars$c.rootTextColor]: globalRefs$8.colors.surface.contrast,
|
13179
|
+
[vars$c.docTagTextColor]: light.color2,
|
13180
|
+
[vars$c.keywordTextColor]: light.color2,
|
13181
|
+
[vars$c.metaKeywordTextColor]: light.color2,
|
13182
|
+
[vars$c.templateTagTextColor]: light.color2,
|
13183
|
+
[vars$c.templateVariableTextColor]: light.color2,
|
13184
|
+
[vars$c.typeTextColor]: light.color2,
|
13185
|
+
[vars$c.variableLanguageTextColor]: light.color2,
|
13186
|
+
[vars$c.titleTextColor]: light.color3,
|
13187
|
+
[vars$c.titleClassTextColor]: light.color3,
|
13188
|
+
[vars$c.titleClassInheritedTextColor]: light.color3,
|
13189
|
+
[vars$c.titleFunctionTextColor]: light.color3,
|
13190
|
+
[vars$c.attrTextColor]: light.color4,
|
13191
|
+
[vars$c.attributeTextColor]: light.color4,
|
13192
|
+
[vars$c.literalTextColor]: light.color4,
|
13193
|
+
[vars$c.metaTextColor]: light.color4,
|
13194
|
+
[vars$c.numberTextColor]: light.color4,
|
13195
|
+
[vars$c.operatorTextColor]: light.color4,
|
13196
|
+
[vars$c.variableTextColor]: light.color4,
|
13197
|
+
[vars$c.selectorAttrTextColor]: light.color4,
|
13198
|
+
[vars$c.selectorClassTextColor]: light.color4,
|
13199
|
+
[vars$c.selectorIdTextColor]: light.color4,
|
13200
|
+
[vars$c.regexpTextColor]: light.color13,
|
13201
|
+
[vars$c.stringTextColor]: light.color13,
|
13202
|
+
[vars$c.metaStringTextColor]: light.color13,
|
13203
|
+
[vars$c.builtInTextColor]: light.color5,
|
13204
|
+
[vars$c.symbolTextColor]: light.color5,
|
13205
|
+
[vars$c.commentTextColor]: light.color6,
|
13206
|
+
[vars$c.codeTextColor]: light.color6,
|
13207
|
+
[vars$c.formulaTextColor]: light.color6,
|
13208
|
+
[vars$c.nameTextColor]: light.color7,
|
13209
|
+
[vars$c.quoteTextColor]: light.color7,
|
13210
|
+
[vars$c.selectorTagTextColor]: light.color7,
|
13211
|
+
[vars$c.selectorPseudoTextColor]: light.color7,
|
13212
|
+
[vars$c.substTextColor]: light.color8,
|
13213
|
+
[vars$c.sectionTextColor]: light.color4,
|
13214
|
+
[vars$c.bulletTextColor]: light.color9,
|
13215
|
+
[vars$c.emphasisTextColor]: light.color8,
|
13216
|
+
[vars$c.strongTextColor]: light.color8,
|
13217
|
+
[vars$c.additionTextColor]: light.color7,
|
13218
|
+
[vars$c.additionBgColor]: light.color10,
|
13219
|
+
[vars$c.deletionTextColor]: light.color2,
|
13220
|
+
[vars$c.deletionBgColor]: light.color10,
|
13216
13221
|
/* purposely ignored */
|
13217
13222
|
// [vars.charEscapeTextColor]: '',
|
13218
13223
|
// [vars.linkTextColor]: '',
|
@@ -13224,50 +13229,50 @@ const CodeSnippet = {
|
|
13224
13229
|
|
13225
13230
|
const codeSnippetDarkThemeOverrides = {
|
13226
13231
|
codeSnippet: {
|
13227
|
-
[vars$
|
13228
|
-
[vars$
|
13229
|
-
[vars$
|
13230
|
-
[vars$
|
13231
|
-
[vars$
|
13232
|
-
[vars$
|
13233
|
-
[vars$
|
13234
|
-
[vars$
|
13235
|
-
[vars$
|
13236
|
-
[vars$
|
13237
|
-
[vars$
|
13238
|
-
[vars$
|
13239
|
-
[vars$
|
13240
|
-
[vars$
|
13241
|
-
[vars$
|
13242
|
-
[vars$
|
13243
|
-
[vars$
|
13244
|
-
[vars$
|
13245
|
-
[vars$
|
13246
|
-
[vars$
|
13247
|
-
[vars$
|
13248
|
-
[vars$
|
13249
|
-
[vars$
|
13250
|
-
[vars$
|
13251
|
-
[vars$
|
13252
|
-
[vars$
|
13253
|
-
[vars$
|
13254
|
-
[vars$
|
13255
|
-
[vars$
|
13256
|
-
[vars$
|
13257
|
-
[vars$
|
13258
|
-
[vars$
|
13259
|
-
[vars$
|
13260
|
-
[vars$
|
13261
|
-
[vars$
|
13262
|
-
[vars$
|
13263
|
-
[vars$
|
13264
|
-
[vars$
|
13265
|
-
[vars$
|
13266
|
-
[vars$
|
13267
|
-
[vars$
|
13268
|
-
[vars$
|
13269
|
-
[vars$
|
13270
|
-
[vars$
|
13232
|
+
[vars$c.rootBgColor]: globalRefs$8.colors.surface.main,
|
13233
|
+
[vars$c.rootTextColor]: globalRefs$8.colors.surface.contrast,
|
13234
|
+
[vars$c.docTagTextColor]: dark.color2,
|
13235
|
+
[vars$c.keywordTextColor]: dark.color2,
|
13236
|
+
[vars$c.metaKeywordTextColor]: dark.color2,
|
13237
|
+
[vars$c.templateTagTextColor]: dark.color2,
|
13238
|
+
[vars$c.templateVariableTextColor]: dark.color2,
|
13239
|
+
[vars$c.typeTextColor]: dark.color2,
|
13240
|
+
[vars$c.variableLanguageTextColor]: dark.color2,
|
13241
|
+
[vars$c.titleTextColor]: dark.color3,
|
13242
|
+
[vars$c.titleClassTextColor]: dark.color3,
|
13243
|
+
[vars$c.titleClassInheritedTextColor]: dark.color3,
|
13244
|
+
[vars$c.titleFunctionTextColor]: dark.color3,
|
13245
|
+
[vars$c.attrTextColor]: dark.color4,
|
13246
|
+
[vars$c.attributeTextColor]: dark.color4,
|
13247
|
+
[vars$c.literalTextColor]: dark.color4,
|
13248
|
+
[vars$c.metaTextColor]: dark.color4,
|
13249
|
+
[vars$c.numberTextColor]: dark.color4,
|
13250
|
+
[vars$c.operatorTextColor]: dark.color4,
|
13251
|
+
[vars$c.variableTextColor]: dark.color4,
|
13252
|
+
[vars$c.selectorAttrTextColor]: dark.color4,
|
13253
|
+
[vars$c.selectorClassTextColor]: dark.color4,
|
13254
|
+
[vars$c.selectorIdTextColor]: dark.color4,
|
13255
|
+
[vars$c.regexpTextColor]: dark.color13,
|
13256
|
+
[vars$c.stringTextColor]: dark.color13,
|
13257
|
+
[vars$c.metaStringTextColor]: dark.color13,
|
13258
|
+
[vars$c.builtInTextColor]: dark.color5,
|
13259
|
+
[vars$c.symbolTextColor]: dark.color5,
|
13260
|
+
[vars$c.commentTextColor]: dark.color6,
|
13261
|
+
[vars$c.codeTextColor]: dark.color6,
|
13262
|
+
[vars$c.formulaTextColor]: dark.color6,
|
13263
|
+
[vars$c.nameTextColor]: dark.color7,
|
13264
|
+
[vars$c.quoteTextColor]: dark.color7,
|
13265
|
+
[vars$c.selectorTagTextColor]: dark.color7,
|
13266
|
+
[vars$c.selectorPseudoTextColor]: dark.color7,
|
13267
|
+
[vars$c.substTextColor]: dark.color8,
|
13268
|
+
[vars$c.sectionTextColor]: dark.color4,
|
13269
|
+
[vars$c.bulletTextColor]: dark.color9,
|
13270
|
+
[vars$c.emphasisTextColor]: dark.color8,
|
13271
|
+
[vars$c.strongTextColor]: dark.color8,
|
13272
|
+
[vars$c.additionTextColor]: dark.color7,
|
13273
|
+
[vars$c.additionBgColor]: dark.color10,
|
13274
|
+
[vars$c.deletionTextColor]: dark.color2,
|
13275
|
+
[vars$c.deletionBgColor]: dark.color10,
|
13271
13276
|
},
|
13272
13277
|
};
|
13273
13278
|
|
@@ -13275,10 +13280,10 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
13275
13280
|
__proto__: null,
|
13276
13281
|
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
13277
13282
|
default: CodeSnippet,
|
13278
|
-
vars: vars$
|
13283
|
+
vars: vars$c
|
13279
13284
|
});
|
13280
13285
|
|
13281
|
-
const componentName$
|
13286
|
+
const componentName$c = getComponentName('radio-button');
|
13282
13287
|
|
13283
13288
|
const customMixin$2 = (superclass) =>
|
13284
13289
|
class CustomMixin extends superclass {
|
@@ -13343,11 +13348,11 @@ const RadioButtonClass = compose(
|
|
13343
13348
|
wrappedEleName: 'vaadin-radio-button',
|
13344
13349
|
excludeAttrsSync: ['tabindex', 'data'],
|
13345
13350
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
13346
|
-
componentName: componentName$
|
13351
|
+
componentName: componentName$c,
|
13347
13352
|
})
|
13348
13353
|
);
|
13349
13354
|
|
13350
|
-
const componentName$
|
13355
|
+
const componentName$b = getComponentName('radio-group');
|
13351
13356
|
|
13352
13357
|
const RadioGroupMixin = (superclass) =>
|
13353
13358
|
class RadioGroupMixinClass extends superclass {
|
@@ -13362,12 +13367,12 @@ const RadioGroupMixin = (superclass) =>
|
|
13362
13367
|
|
13363
13368
|
// we are overriding vaadin children getter so it will run on our custom elements
|
13364
13369
|
Object.defineProperty(this.baseElement, 'children', {
|
13365
|
-
get: () => this.querySelectorAll(componentName$
|
13370
|
+
get: () => this.querySelectorAll(componentName$c),
|
13366
13371
|
});
|
13367
13372
|
|
13368
13373
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
13369
13374
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
13370
|
-
return nodes.filter((node) => node.localName === componentName$
|
13375
|
+
return nodes.filter((node) => node.localName === componentName$c);
|
13371
13376
|
};
|
13372
13377
|
|
13373
13378
|
// vaadin radio group missing some input properties
|
@@ -13517,38 +13522,38 @@ const RadioGroupClass = compose(
|
|
13517
13522
|
`,
|
13518
13523
|
|
13519
13524
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
13520
|
-
componentName: componentName$
|
13525
|
+
componentName: componentName$b,
|
13521
13526
|
includeForwardProps: ['value'],
|
13522
13527
|
})
|
13523
13528
|
);
|
13524
13529
|
|
13525
|
-
const vars$
|
13530
|
+
const vars$b = RadioGroupClass.cssVarList;
|
13526
13531
|
const globalRefs$7 = getThemeRefs(globals);
|
13527
13532
|
|
13528
13533
|
const radioGroup = {
|
13529
|
-
[vars$
|
13530
|
-
[vars$
|
13531
|
-
[vars$
|
13532
|
-
[vars$
|
13533
|
-
[vars$
|
13534
|
-
[vars$
|
13535
|
-
[vars$
|
13536
|
-
[vars$
|
13537
|
-
[vars$
|
13538
|
-
[vars$
|
13534
|
+
[vars$b.buttonsRowGap]: '9px',
|
13535
|
+
[vars$b.hostWidth]: refs.width,
|
13536
|
+
[vars$b.hostDirection]: refs.direction,
|
13537
|
+
[vars$b.fontSize]: refs.fontSize,
|
13538
|
+
[vars$b.fontFamily]: refs.fontFamily,
|
13539
|
+
[vars$b.labelTextColor]: refs.labelTextColor,
|
13540
|
+
[vars$b.labelRequiredIndicator]: refs.requiredIndicator,
|
13541
|
+
[vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
|
13542
|
+
[vars$b.helperTextColor]: refs.helperTextColor,
|
13543
|
+
[vars$b.itemsLabelColor]: globalRefs$7.colors.surface.contrast,
|
13539
13544
|
|
13540
13545
|
textAlign: {
|
13541
|
-
right: { [vars$
|
13542
|
-
left: { [vars$
|
13543
|
-
center: { [vars$
|
13546
|
+
right: { [vars$b.inputTextAlign]: 'right' },
|
13547
|
+
left: { [vars$b.inputTextAlign]: 'left' },
|
13548
|
+
center: { [vars$b.inputTextAlign]: 'center' },
|
13544
13549
|
},
|
13545
13550
|
|
13546
13551
|
_fullWidth: {
|
13547
|
-
[vars$
|
13552
|
+
[vars$b.buttonsSpacing]: 'space-between',
|
13548
13553
|
},
|
13549
13554
|
|
13550
13555
|
_disabled: {
|
13551
|
-
[vars$
|
13556
|
+
[vars$b.itemsLabelColor]: globalRefs$7.colors.surface.light,
|
13552
13557
|
},
|
13553
13558
|
};
|
13554
13559
|
|
@@ -13556,24 +13561,24 @@ var radioGroup$1 = /*#__PURE__*/Object.freeze({
|
|
13556
13561
|
__proto__: null,
|
13557
13562
|
default: radioGroup,
|
13558
13563
|
radioGroup: radioGroup,
|
13559
|
-
vars: vars$
|
13564
|
+
vars: vars$b
|
13560
13565
|
});
|
13561
13566
|
|
13562
|
-
const vars$
|
13567
|
+
const vars$a = RadioButtonClass.cssVarList;
|
13563
13568
|
const globalRefs$6 = getThemeRefs(globals);
|
13564
13569
|
|
13565
13570
|
const radioButton = {
|
13566
|
-
[vars$
|
13567
|
-
[vars$
|
13568
|
-
[vars$
|
13569
|
-
[vars$
|
13570
|
-
[vars$
|
13571
|
-
[vars$
|
13572
|
-
[vars$
|
13573
|
-
[vars$
|
13571
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
13572
|
+
[vars$a.radioSize]: 'calc(1em + 6px)',
|
13573
|
+
[vars$a.radioMargin]: 'auto 4px',
|
13574
|
+
[vars$a.radioCheckedSize]: `calc(var(${vars$a.radioSize})/5)`,
|
13575
|
+
[vars$a.radioCheckedColor]: globalRefs$6.colors.surface.light,
|
13576
|
+
[vars$a.radioBackgroundColor]: globalRefs$6.colors.surface.light,
|
13577
|
+
[vars$a.radioBorderColor]: 'none',
|
13578
|
+
[vars$a.radioBorderWidth]: 0,
|
13574
13579
|
|
13575
13580
|
_checked: {
|
13576
|
-
[vars$
|
13581
|
+
[vars$a.radioBackgroundColor]: globalRefs$6.colors.surface.contrast,
|
13577
13582
|
},
|
13578
13583
|
|
13579
13584
|
_hover: {
|
@@ -13582,16 +13587,16 @@ const radioButton = {
|
|
13582
13587
|
|
13583
13588
|
size: {
|
13584
13589
|
xs: {
|
13585
|
-
[vars$
|
13590
|
+
[vars$a.fontSize]: '12px',
|
13586
13591
|
},
|
13587
13592
|
sm: {
|
13588
|
-
[vars$
|
13593
|
+
[vars$a.fontSize]: '14px',
|
13589
13594
|
},
|
13590
13595
|
md: {
|
13591
|
-
[vars$
|
13596
|
+
[vars$a.fontSize]: '16px',
|
13592
13597
|
},
|
13593
13598
|
lg: {
|
13594
|
-
[vars$
|
13599
|
+
[vars$a.fontSize]: '18px',
|
13595
13600
|
},
|
13596
13601
|
},
|
13597
13602
|
};
|
@@ -13600,7 +13605,7 @@ var radioButton$1 = /*#__PURE__*/Object.freeze({
|
|
13600
13605
|
__proto__: null,
|
13601
13606
|
default: radioButton,
|
13602
13607
|
radioButton: radioButton,
|
13603
|
-
vars: vars$
|
13608
|
+
vars: vars$a
|
13604
13609
|
});
|
13605
13610
|
|
13606
13611
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
@@ -13918,7 +13923,7 @@ const nextMonth = (timestamp) => {
|
|
13918
13923
|
return date;
|
13919
13924
|
};
|
13920
13925
|
|
13921
|
-
const componentName$
|
13926
|
+
const componentName$a = getComponentName('calendar');
|
13922
13927
|
|
13923
13928
|
const observedAttrs$1 = [
|
13924
13929
|
'initial-value',
|
@@ -13935,7 +13940,7 @@ const observedAttrs$1 = [
|
|
13935
13940
|
|
13936
13941
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
13937
13942
|
|
13938
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
13943
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
|
13939
13944
|
|
13940
13945
|
class RawCalendar extends BaseInputClass$1 {
|
13941
13946
|
static get observedAttributes() {
|
@@ -14550,92 +14555,92 @@ const CalendarClass = compose(
|
|
14550
14555
|
|
14551
14556
|
const globalRefs$5 = getThemeRefs(globals);
|
14552
14557
|
|
14553
|
-
const vars$
|
14558
|
+
const vars$9 = CalendarClass.cssVarList;
|
14554
14559
|
|
14555
14560
|
const calendar = {
|
14556
|
-
[vars$
|
14557
|
-
[vars$
|
14558
|
-
[vars$
|
14561
|
+
[vars$9.fontFamily]: refs.fontFamily,
|
14562
|
+
[vars$9.fontSize]: refs.fontSize,
|
14563
|
+
[vars$9.hostDirection]: refs.direction,
|
14559
14564
|
|
14560
|
-
[vars$
|
14565
|
+
[vars$9.calendarPadding]: '1em',
|
14561
14566
|
|
14562
|
-
[vars$
|
14563
|
-
[vars$
|
14564
|
-
[vars$
|
14565
|
-
[vars$
|
14567
|
+
[vars$9.topNavVerticalPadding]: '1em',
|
14568
|
+
[vars$9.topNavAlignment]: 'space-between',
|
14569
|
+
[vars$9.topNavGap]: '0',
|
14570
|
+
[vars$9.topNavSelectorsGap]: '0.5em',
|
14566
14571
|
|
14567
|
-
[vars$
|
14568
|
-
[vars$
|
14569
|
-
[vars$
|
14570
|
-
[vars$
|
14572
|
+
[vars$9.bottomNavVerticalPadding]: '0.75em',
|
14573
|
+
[vars$9.bottomNavHorizontalPadding]: '1.5em',
|
14574
|
+
[vars$9.bottomNavAlignment]: 'space-between',
|
14575
|
+
[vars$9.bottomNavGap]: '0.5em',
|
14571
14576
|
|
14572
|
-
[vars$
|
14573
|
-
[vars$
|
14574
|
-
[vars$
|
14575
|
-
[vars$
|
14577
|
+
[vars$9.navMarginBottom]: '0.75em',
|
14578
|
+
[vars$9.navBorderBottomWidth]: '1px',
|
14579
|
+
[vars$9.navBorderBottomColor]: globalRefs$5.colors.surface.highlight,
|
14580
|
+
[vars$9.navBorderBottomStyle]: 'solid',
|
14576
14581
|
|
14577
|
-
[vars$
|
14578
|
-
[vars$
|
14582
|
+
[vars$9.yearInputWidth]: '6em',
|
14583
|
+
[vars$9.monthInputWidth]: '8em',
|
14579
14584
|
|
14580
|
-
[vars$
|
14581
|
-
[vars$
|
14585
|
+
[vars$9.navButtonSize]: '24px',
|
14586
|
+
[vars$9.navButtonCursor]: 'pointer',
|
14582
14587
|
|
14583
|
-
[vars$
|
14584
|
-
[vars$
|
14588
|
+
[vars$9.weekdayFontSize]: '0.875em',
|
14589
|
+
[vars$9.weekdayFontWeight]: '500',
|
14585
14590
|
|
14586
14591
|
// day table cell
|
14587
|
-
[vars$
|
14592
|
+
[vars$9.dayHeight]: '3.125em',
|
14588
14593
|
|
14589
14594
|
// day value
|
14590
|
-
[vars$
|
14591
|
-
[vars$
|
14592
|
-
[vars$
|
14593
|
-
[vars$
|
14594
|
-
[vars$
|
14595
|
-
[vars$
|
14596
|
-
[vars$
|
14597
|
-
[vars$
|
14598
|
-
[vars$
|
14599
|
-
[vars$
|
14595
|
+
[vars$9.daySize]: '2.125em',
|
14596
|
+
[vars$9.dayFontSize]: '1em',
|
14597
|
+
[vars$9.dayRadius]: '50%',
|
14598
|
+
[vars$9.dayTextAlign]: 'center',
|
14599
|
+
[vars$9.dayPadding]: '0',
|
14600
|
+
[vars$9.dayTextColor]: globalRefs$5.colors.surface.contrast,
|
14601
|
+
[vars$9.dayFontWeight]: '500',
|
14602
|
+
[vars$9.dayBackgroundColor]: 'transparent',
|
14603
|
+
[vars$9.dayCursor]: 'pointer',
|
14604
|
+
[vars$9.dayBackgroundColorHover]: globalRefs$5.colors.primary.highlight,
|
14600
14605
|
|
14601
14606
|
// selected day
|
14602
|
-
[vars$
|
14603
|
-
[vars$
|
14607
|
+
[vars$9.daySelectedBackgroundColor]: globalRefs$5.colors.primary.main,
|
14608
|
+
[vars$9.daySelectedTextdColor]: globalRefs$5.colors.primary.contrast,
|
14604
14609
|
|
14605
14610
|
// disabled day (out of min/max range)
|
14606
|
-
[vars$
|
14611
|
+
[vars$9.dayDisabledTextdColor]: globalRefs$5.colors.surface.light,
|
14607
14612
|
|
14608
14613
|
// today
|
14609
|
-
[vars$
|
14610
|
-
[vars$
|
14611
|
-
[vars$
|
14614
|
+
[vars$9.currentDayBorderColor]: globalRefs$5.colors.surface.light,
|
14615
|
+
[vars$9.currentDayBorderWidth]: '1px',
|
14616
|
+
[vars$9.currentDayBorderStyle]: 'solid',
|
14612
14617
|
|
14613
14618
|
size: {
|
14614
|
-
xs: { [vars$
|
14615
|
-
sm: { [vars$
|
14616
|
-
md: { [vars$
|
14617
|
-
lg: { [vars$
|
14619
|
+
xs: { [vars$9.fontSize]: '12px' },
|
14620
|
+
sm: { [vars$9.fontSize]: '14px' },
|
14621
|
+
md: { [vars$9.fontSize]: '16px' },
|
14622
|
+
lg: { [vars$9.fontSize]: '18px' },
|
14618
14623
|
},
|
14619
14624
|
|
14620
|
-
[vars$
|
14625
|
+
[vars$9.navButtonRotation]: 'rotate(180deg)',
|
14621
14626
|
|
14622
14627
|
_disabled: {
|
14623
|
-
[vars$
|
14624
|
-
[vars$
|
14625
|
-
[vars$
|
14626
|
-
[vars$
|
14628
|
+
[vars$9.navButtonOpacity]: '0.5',
|
14629
|
+
[vars$9.dayBackgroundColorHover]: 'none',
|
14630
|
+
[vars$9.navButtonCursor]: 'default',
|
14631
|
+
[vars$9.dayCursor]: 'default',
|
14627
14632
|
},
|
14628
14633
|
|
14629
14634
|
_fullWidth: {
|
14630
|
-
[vars$
|
14631
|
-
[vars$
|
14635
|
+
[vars$9.hostWidth]: '100%',
|
14636
|
+
[vars$9.dayBlockAlign]: '0 auto',
|
14632
14637
|
},
|
14633
14638
|
};
|
14634
14639
|
|
14635
14640
|
var calendar$1 = /*#__PURE__*/Object.freeze({
|
14636
14641
|
__proto__: null,
|
14637
14642
|
default: calendar,
|
14638
|
-
vars: vars$
|
14643
|
+
vars: vars$9
|
14639
14644
|
});
|
14640
14645
|
|
14641
14646
|
const patterns = {
|
@@ -14769,12 +14774,12 @@ class DateCounter {
|
|
14769
14774
|
}
|
14770
14775
|
}
|
14771
14776
|
|
14772
|
-
const componentName$
|
14777
|
+
const componentName$9 = getComponentName('date-field');
|
14773
14778
|
|
14774
14779
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
14775
14780
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
14776
14781
|
const BASE_SELECTOR = 'vaadin-popover';
|
14777
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
14782
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$9, baseSelector: BASE_SELECTOR });
|
14778
14783
|
|
14779
14784
|
const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly'];
|
14780
14785
|
const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
|
@@ -15449,31 +15454,31 @@ const globalRefs$4 = getThemeRefs(globals);
|
|
15449
15454
|
const shadowColor$1 = '#00000020';
|
15450
15455
|
const { shadow } = globalRefs$4;
|
15451
15456
|
|
15452
|
-
const vars$
|
15457
|
+
const vars$8 = DateFieldClass.cssVarList;
|
15453
15458
|
|
15454
15459
|
const dateField = {
|
15455
|
-
[vars$
|
15456
|
-
[vars$
|
15457
|
-
[vars$
|
15458
|
-
|
15459
|
-
[vars$
|
15460
|
-
[vars$
|
15461
|
-
[vars$
|
15462
|
-
[vars$
|
15463
|
-
[vars$
|
15464
|
-
[vars$
|
15465
|
-
[vars$
|
15466
|
-
[vars$
|
15467
|
-
[vars$
|
15468
|
-
|
15469
|
-
[vars$
|
15470
|
-
[vars$
|
15460
|
+
[vars$8.hostWidth]: refs.width,
|
15461
|
+
[vars$8.hostDirection]: refs.direction,
|
15462
|
+
[vars$8.iconMargin]: '0.375em',
|
15463
|
+
|
15464
|
+
[vars$8.overlay.marginTop]: `calc(${refs.outlineWidth} + 1px)`,
|
15465
|
+
[vars$8.overlay.backgroundColor]: refs.backgroundColor,
|
15466
|
+
[vars$8.overlay.backdropBackgroundColor]: 'transparent',
|
15467
|
+
[vars$8.overlay.backdropPointerEvents]: 'all',
|
15468
|
+
[vars$8.overlay.boxShadow]: `${shadow.wide.xl} ${shadowColor$1}, ${shadow.narrow.xl} ${shadowColor$1}`,
|
15469
|
+
[vars$8.overlay.outlineWidth]: '0',
|
15470
|
+
[vars$8.overlay.outlineColor]: 'transparent',
|
15471
|
+
[vars$8.overlay.outlineStyle]: 'none',
|
15472
|
+
[vars$8.overlay.padding]: '0',
|
15473
|
+
|
15474
|
+
[vars$8.rtlInputDirection]: 'ltr',
|
15475
|
+
[vars$8.rtlInputAlignment]: 'right',
|
15471
15476
|
};
|
15472
15477
|
|
15473
15478
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
15474
15479
|
__proto__: null,
|
15475
15480
|
default: dateField,
|
15476
|
-
vars: vars$
|
15481
|
+
vars: vars$8
|
15477
15482
|
});
|
15478
15483
|
|
15479
15484
|
const activeableMixin = (superclass) =>
|
@@ -15491,7 +15496,7 @@ const activeableMixin = (superclass) =>
|
|
15491
15496
|
}
|
15492
15497
|
};
|
15493
15498
|
|
15494
|
-
const componentName$
|
15499
|
+
const componentName$8 = getComponentName('list-item');
|
15495
15500
|
|
15496
15501
|
const customMixin$1 = (superclass) =>
|
15497
15502
|
class ListItemMixinClass extends superclass {
|
@@ -15540,11 +15545,11 @@ const ListItemClass = compose(
|
|
15540
15545
|
componentNameValidationMixin,
|
15541
15546
|
customMixin$1,
|
15542
15547
|
activeableMixin
|
15543
|
-
)(createBaseClass({ componentName: componentName$
|
15548
|
+
)(createBaseClass({ componentName: componentName$8, baseSelector: 'slot' }));
|
15544
15549
|
|
15545
|
-
const componentName$
|
15550
|
+
const componentName$7 = getComponentName('list');
|
15546
15551
|
|
15547
|
-
class RawList extends createBaseClass({ componentName: componentName$
|
15552
|
+
class RawList extends createBaseClass({ componentName: componentName$7, baseSelector: '.wrapper' }) {
|
15548
15553
|
static get observedAttributes() {
|
15549
15554
|
return ['variant', 'readonly'];
|
15550
15555
|
}
|
@@ -15697,7 +15702,7 @@ const compVars = ListClass.cssVarList;
|
|
15697
15702
|
|
15698
15703
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
15699
15704
|
{ shadowColor: '#00000020' },
|
15700
|
-
componentName$
|
15705
|
+
componentName$7
|
15701
15706
|
);
|
15702
15707
|
|
15703
15708
|
const { shadowColor } = helperRefs;
|
@@ -15737,7 +15742,7 @@ const list$1 = {
|
|
15737
15742
|
},
|
15738
15743
|
};
|
15739
15744
|
|
15740
|
-
const vars$
|
15745
|
+
const vars$7 = {
|
15741
15746
|
...compVars,
|
15742
15747
|
...helperVars,
|
15743
15748
|
};
|
@@ -15745,49 +15750,49 @@ const vars$6 = {
|
|
15745
15750
|
var list$2 = /*#__PURE__*/Object.freeze({
|
15746
15751
|
__proto__: null,
|
15747
15752
|
default: list$1,
|
15748
|
-
vars: vars$
|
15753
|
+
vars: vars$7
|
15749
15754
|
});
|
15750
15755
|
|
15751
15756
|
const globalRefs$2 = getThemeRefs(globals);
|
15752
15757
|
|
15753
|
-
const vars$
|
15758
|
+
const vars$6 = ListItemClass.cssVarList;
|
15754
15759
|
|
15755
15760
|
const list = {
|
15756
|
-
[vars$
|
15757
|
-
[vars$
|
15758
|
-
[vars$
|
15759
|
-
[vars$
|
15760
|
-
[vars$
|
15761
|
-
[vars$
|
15762
|
-
[vars$
|
15763
|
-
[vars$
|
15764
|
-
[vars$
|
15765
|
-
[vars$
|
15766
|
-
[vars$
|
15761
|
+
[vars$6.backgroundColor]: globalRefs$2.colors.surface.main,
|
15762
|
+
[vars$6.padding]: globalRefs$2.spacing.lg,
|
15763
|
+
[vars$6.gap]: globalRefs$2.spacing.md,
|
15764
|
+
[vars$6.borderStyle]: 'solid',
|
15765
|
+
[vars$6.borderWidth]: globalRefs$2.border.xs,
|
15766
|
+
[vars$6.borderColor]: globalRefs$2.colors.surface.main,
|
15767
|
+
[vars$6.borderRadius]: globalRefs$2.radius.sm,
|
15768
|
+
[vars$6.cursor]: 'pointer',
|
15769
|
+
[vars$6.alignItems]: 'center',
|
15770
|
+
[vars$6.flexDirection]: 'row',
|
15771
|
+
[vars$6.transition]: 'border-color 0.2s, background-color 0.2s',
|
15767
15772
|
|
15768
15773
|
variant: {
|
15769
15774
|
tile: {
|
15770
|
-
[vars$
|
15771
|
-
[vars$
|
15772
|
-
[vars$
|
15775
|
+
[vars$6.alignItems]: 'flex-start',
|
15776
|
+
[vars$6.flexDirection]: 'column',
|
15777
|
+
[vars$6.borderColor]: globalRefs$2.colors.surface.light,
|
15773
15778
|
},
|
15774
15779
|
},
|
15775
15780
|
|
15776
15781
|
_hover: {
|
15777
|
-
[vars$
|
15782
|
+
[vars$6.backgroundColor]: globalRefs$2.colors.surface.highlight,
|
15778
15783
|
},
|
15779
15784
|
|
15780
15785
|
_active: {
|
15781
|
-
[vars$
|
15782
|
-
[vars$
|
15783
|
-
[vars$
|
15786
|
+
[vars$6.backgroundColor]: globalRefs$2.colors.surface.main,
|
15787
|
+
[vars$6.borderColor]: globalRefs$2.colors.primary.light,
|
15788
|
+
[vars$6.outline]: `1px solid ${globalRefs$2.colors.primary.light}`,
|
15784
15789
|
},
|
15785
15790
|
};
|
15786
15791
|
|
15787
15792
|
var listItem = /*#__PURE__*/Object.freeze({
|
15788
15793
|
__proto__: null,
|
15789
15794
|
default: list,
|
15790
|
-
vars: vars$
|
15795
|
+
vars: vars$6
|
15791
15796
|
});
|
15792
15797
|
|
15793
15798
|
const defaultValidateSchema = () => true;
|
@@ -15889,7 +15894,7 @@ const createDynamicDataMixin =
|
|
15889
15894
|
}
|
15890
15895
|
};
|
15891
15896
|
|
15892
|
-
const componentName$
|
15897
|
+
const componentName$6 = getComponentName('apps-list');
|
15893
15898
|
|
15894
15899
|
const limitAbbreviation = (str, limit = 2) =>
|
15895
15900
|
str
|
@@ -15951,7 +15956,7 @@ const AppsListClass = compose(
|
|
15951
15956
|
slots: ['empty-state'],
|
15952
15957
|
wrappedEleName: 'descope-list',
|
15953
15958
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
15954
|
-
componentName: componentName$
|
15959
|
+
componentName: componentName$6,
|
15955
15960
|
style: () => `
|
15956
15961
|
:host {
|
15957
15962
|
width: 100%;
|
@@ -15976,33 +15981,33 @@ const AppsListClass = compose(
|
|
15976
15981
|
})
|
15977
15982
|
);
|
15978
15983
|
|
15979
|
-
const vars$
|
15984
|
+
const vars$5 = AppsListClass.cssVarList;
|
15980
15985
|
const globalRefs$1 = getThemeRefs(globals);
|
15981
15986
|
|
15982
15987
|
const defaultHeight = '400px';
|
15983
15988
|
|
15984
15989
|
const appsList = {
|
15985
|
-
[vars$
|
15986
|
-
[vars$
|
15987
|
-
[vars$
|
15988
|
-
[vars$
|
15990
|
+
[vars$5.itemsFontWeight]: 'normal',
|
15991
|
+
[vars$5.itemsTextAlign]: 'start',
|
15992
|
+
[vars$5.hostDirection]: globalRefs$1.direction,
|
15993
|
+
[vars$5.maxHeight]: defaultHeight,
|
15989
15994
|
|
15990
15995
|
_empty: {
|
15991
|
-
[vars$
|
15996
|
+
[vars$5.minHeight]: defaultHeight,
|
15992
15997
|
},
|
15993
15998
|
|
15994
15999
|
size: {
|
15995
16000
|
xs: {
|
15996
|
-
[vars$
|
16001
|
+
[vars$5.itemsFontSize]: '14px',
|
15997
16002
|
},
|
15998
16003
|
sm: {
|
15999
|
-
[vars$
|
16004
|
+
[vars$5.itemsFontSize]: '14px',
|
16000
16005
|
},
|
16001
16006
|
md: {
|
16002
|
-
[vars$
|
16007
|
+
[vars$5.itemsFontSize]: '16px',
|
16003
16008
|
},
|
16004
16009
|
lg: {
|
16005
|
-
[vars$
|
16010
|
+
[vars$5.itemsFontSize]: '20px',
|
16006
16011
|
},
|
16007
16012
|
},
|
16008
16013
|
};
|
@@ -16010,10 +16015,10 @@ const appsList = {
|
|
16010
16015
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
16011
16016
|
__proto__: null,
|
16012
16017
|
default: appsList,
|
16013
|
-
vars: vars$
|
16018
|
+
vars: vars$5
|
16014
16019
|
});
|
16015
16020
|
|
16016
|
-
const componentName$
|
16021
|
+
const componentName$5 = getComponentName('scopes-list');
|
16017
16022
|
const variants = ['checkbox', 'switch'];
|
16018
16023
|
|
16019
16024
|
const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
@@ -16032,7 +16037,7 @@ const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
|
16032
16037
|
`;
|
16033
16038
|
};
|
16034
16039
|
|
16035
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
16040
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$5, baseSelector: 'div' }) {
|
16036
16041
|
constructor() {
|
16037
16042
|
super();
|
16038
16043
|
|
@@ -16137,28 +16142,28 @@ const ScopesListClass = compose(
|
|
16137
16142
|
componentNameValidationMixin
|
16138
16143
|
)(RawScopesList);
|
16139
16144
|
|
16140
|
-
const vars$
|
16145
|
+
const vars$4 = ScopesListClass.cssVarList;
|
16141
16146
|
|
16142
|
-
const scopesList
|
16143
|
-
[vars$
|
16144
|
-
[vars$
|
16145
|
-
[vars$
|
16147
|
+
const scopesList = {
|
16148
|
+
[vars$4.requiredInputBorderColor]: theme$1._disabled[vars$Q.borderColor],
|
16149
|
+
[vars$4.requiredInputValueTextColor]: theme$1._disabled[vars$Q.valueTextColor],
|
16150
|
+
[vars$4.hostWidth]: '280px',
|
16146
16151
|
_fullWidth: {
|
16147
|
-
[vars$
|
16152
|
+
[vars$4.hostWidth]: '100%',
|
16148
16153
|
},
|
16149
16154
|
};
|
16150
16155
|
|
16151
|
-
var scopesList$
|
16156
|
+
var scopesList$1 = /*#__PURE__*/Object.freeze({
|
16152
16157
|
__proto__: null,
|
16153
|
-
default: scopesList
|
16154
|
-
vars: vars$
|
16158
|
+
default: scopesList,
|
16159
|
+
vars: vars$4
|
16155
16160
|
});
|
16156
16161
|
|
16157
16162
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
16158
16163
|
|
16159
|
-
const componentName$
|
16164
|
+
const componentName$4 = getComponentName('third-party-app-logo');
|
16160
16165
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
16161
|
-
componentName: componentName$
|
16166
|
+
componentName: componentName$4,
|
16162
16167
|
baseSelector: '.wrapper',
|
16163
16168
|
}) {
|
16164
16169
|
constructor() {
|
@@ -16253,31 +16258,31 @@ const ThirdPartyAppLogoClass = compose(
|
|
16253
16258
|
)(RawThirdPartyAppLogoClass);
|
16254
16259
|
|
16255
16260
|
const globalRefs = getThemeRefs(globals);
|
16256
|
-
const vars$
|
16261
|
+
const vars$3 = ThirdPartyAppLogoClass.cssVarList;
|
16257
16262
|
|
16258
16263
|
const thirdPartyAppLogo = {
|
16259
|
-
[vars$
|
16260
|
-
[vars$
|
16261
|
-
[vars$
|
16264
|
+
[vars$3.gap]: globalRefs.spacing.lg,
|
16265
|
+
[vars$3.arrowsColor]: globalRefs.colors.surface.dark,
|
16266
|
+
[vars$3.thirdPartyAppLogoFallback]:
|
16262
16267
|
'url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)',
|
16263
|
-
[vars$
|
16268
|
+
[vars$3.companyLogoFallback]:
|
16264
16269
|
'url(https://imgs.descope.com/components/project-logo-placeholder.svg)',
|
16265
16270
|
size: {
|
16266
16271
|
xs: {
|
16267
|
-
[vars$
|
16268
|
-
[vars$
|
16272
|
+
[vars$3.logoMaxHeight]: '30px',
|
16273
|
+
[vars$3.logoMaxWidth]: '120px',
|
16269
16274
|
},
|
16270
16275
|
sm: {
|
16271
|
-
[vars$
|
16272
|
-
[vars$
|
16276
|
+
[vars$3.logoMaxHeight]: '40px',
|
16277
|
+
[vars$3.logoMaxWidth]: '160px',
|
16273
16278
|
},
|
16274
16279
|
md: {
|
16275
|
-
[vars$
|
16276
|
-
[vars$
|
16280
|
+
[vars$3.logoMaxHeight]: '48px',
|
16281
|
+
[vars$3.logoMaxWidth]: '200px',
|
16277
16282
|
},
|
16278
16283
|
lg: {
|
16279
|
-
[vars$
|
16280
|
-
[vars$
|
16284
|
+
[vars$3.logoMaxHeight]: '60px',
|
16285
|
+
[vars$3.logoMaxWidth]: '240px',
|
16281
16286
|
},
|
16282
16287
|
},
|
16283
16288
|
};
|
@@ -16285,12 +16290,12 @@ const thirdPartyAppLogo = {
|
|
16285
16290
|
var thirdPartyAppLogo$1 = /*#__PURE__*/Object.freeze({
|
16286
16291
|
__proto__: null,
|
16287
16292
|
default: thirdPartyAppLogo,
|
16288
|
-
vars: vars$
|
16293
|
+
vars: vars$3
|
16289
16294
|
});
|
16290
16295
|
|
16291
|
-
const componentName$
|
16296
|
+
const componentName$3 = getComponentName('security-questions-setup');
|
16292
16297
|
|
16293
|
-
const attrsToSync = [
|
16298
|
+
const attrsToSync$1 = [
|
16294
16299
|
'full-width',
|
16295
16300
|
'readonly',
|
16296
16301
|
'size',
|
@@ -16303,8 +16308,8 @@ const attrsToSync = [
|
|
16303
16308
|
'answer-data-errormessage-value-missing',
|
16304
16309
|
];
|
16305
16310
|
|
16306
|
-
const attrsToReRender = ['count', 'questions'];
|
16307
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
16311
|
+
const attrsToReRender$1 = ['count', 'questions'];
|
16312
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$3, baseSelector: 'div' }) {
|
16308
16313
|
constructor() {
|
16309
16314
|
super();
|
16310
16315
|
|
@@ -16324,14 +16329,6 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
16324
16329
|
`;
|
16325
16330
|
}
|
16326
16331
|
|
16327
|
-
get isReadOnly() {
|
16328
|
-
return this.getAttribute('readonly') === 'true';
|
16329
|
-
}
|
16330
|
-
|
16331
|
-
get size() {
|
16332
|
-
return this.getAttribute('size') || 'sm';
|
16333
|
-
}
|
16334
|
-
|
16335
16332
|
get count() {
|
16336
16333
|
return Number(this.getAttribute('count')) || 0;
|
16337
16334
|
}
|
@@ -16378,7 +16375,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
16378
16375
|
el.data = this.data;
|
16379
16376
|
});
|
16380
16377
|
|
16381
|
-
this.#syncAttrs(attrsToSync);
|
16378
|
+
this.#syncAttrs(attrsToSync$1);
|
16382
16379
|
}
|
16383
16380
|
|
16384
16381
|
getAttachedTextField(combo) {
|
@@ -16419,7 +16416,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
16419
16416
|
return JSON.parse(this.getAttribute('questions')) || [];
|
16420
16417
|
} catch (e) {
|
16421
16418
|
// eslint-disable-next-line no-console
|
16422
|
-
console.error(componentName$
|
16419
|
+
console.error(componentName$3, 'Error parsing questions attribute', e);
|
16423
16420
|
return [];
|
16424
16421
|
}
|
16425
16422
|
}
|
@@ -16495,12 +16492,12 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
16495
16492
|
() => {
|
16496
16493
|
this.#renderQuestions();
|
16497
16494
|
},
|
16498
|
-
{ includeAttrs: attrsToReRender }
|
16495
|
+
{ includeAttrs: attrsToReRender$1 }
|
16499
16496
|
);
|
16500
16497
|
|
16501
16498
|
// update existing components
|
16502
16499
|
observeAttributes(this, this.#syncAttrs.bind(this), {
|
16503
|
-
includeAttrs: attrsToSync,
|
16500
|
+
includeAttrs: attrsToSync$1,
|
16504
16501
|
});
|
16505
16502
|
}
|
16506
16503
|
}
|
@@ -16527,18 +16524,238 @@ const SecurityQuestionsSetupClass = compose(
|
|
16527
16524
|
componentNameValidationMixin
|
16528
16525
|
)(RawSecurityQuestionsSetup);
|
16529
16526
|
|
16530
|
-
const vars$
|
16527
|
+
const vars$2 = SecurityQuestionsSetupClass.cssVarList;
|
16531
16528
|
|
16532
|
-
const
|
16533
|
-
[vars$
|
16529
|
+
const securityQuestionsSetup = {
|
16530
|
+
[vars$2.hostWidth]: 'fit-content',
|
16531
|
+
_fullWidth: {
|
16532
|
+
[vars$2.hostWidth]: '100%',
|
16533
|
+
},
|
16534
|
+
};
|
16535
|
+
|
16536
|
+
var securityQuestionsSetup$1 = /*#__PURE__*/Object.freeze({
|
16537
|
+
__proto__: null,
|
16538
|
+
default: securityQuestionsSetup,
|
16539
|
+
vars: vars$2
|
16540
|
+
});
|
16541
|
+
|
16542
|
+
const componentName$2 = getComponentName('security-questions-verify');
|
16543
|
+
|
16544
|
+
const textFieldsAttrs = [
|
16545
|
+
'full-width',
|
16546
|
+
'readonly',
|
16547
|
+
'size',
|
16548
|
+
'answer-placeholder',
|
16549
|
+
'answer-data-errormessage-value-missing',
|
16550
|
+
];
|
16551
|
+
|
16552
|
+
const textsAttrs = ['question-mode'];
|
16553
|
+
|
16554
|
+
const attrMappings = {
|
16555
|
+
'answer-placeholder': 'placeholder',
|
16556
|
+
'answer-data-errormessage-value-missing': 'data-errormessage-value-missing',
|
16557
|
+
'question-mode': 'mode',
|
16558
|
+
};
|
16559
|
+
|
16560
|
+
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
16561
|
+
|
16562
|
+
const attrsToReRender = ['questions'];
|
16563
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$2, baseSelector: 'div' }) {
|
16564
|
+
constructor() {
|
16565
|
+
super();
|
16566
|
+
|
16567
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
16568
|
+
<style>
|
16569
|
+
:host {
|
16570
|
+
display: inline-flex;
|
16571
|
+
}
|
16572
|
+
|
16573
|
+
div {
|
16574
|
+
display: flex;
|
16575
|
+
flex-direction: column;
|
16576
|
+
}
|
16577
|
+
|
16578
|
+
</style>
|
16579
|
+
<div></div>
|
16580
|
+
`;
|
16581
|
+
}
|
16582
|
+
|
16583
|
+
#renderQuestions() {
|
16584
|
+
const res = this.questions.map(
|
16585
|
+
({ id, text }) =>
|
16586
|
+
// <!--html-->
|
16587
|
+
`
|
16588
|
+
<div class="question-wrapper">
|
16589
|
+
<descope-text
|
16590
|
+
data-id="${id}"
|
16591
|
+
>${text}</descope-text>
|
16592
|
+
|
16593
|
+
<descope-text-field
|
16594
|
+
data-id="${id}"
|
16595
|
+
required="true"
|
16596
|
+
bordered="true"
|
16597
|
+
></descope-text-field>
|
16598
|
+
</div>
|
16599
|
+
`
|
16600
|
+
// <!--!html-->
|
16601
|
+
);
|
16602
|
+
|
16603
|
+
this.baseElement.innerHTML = res.join(
|
16604
|
+
'<spacer></spacer><descope-divider></descope-divider><spacer></spacer>'
|
16605
|
+
);
|
16606
|
+
|
16607
|
+
this.#syncAttrs(attrsToSync);
|
16608
|
+
|
16609
|
+
// focus input when text is clicked
|
16610
|
+
this.texts.forEach((el) => {
|
16611
|
+
const input = this.textFields.find(
|
16612
|
+
(field) => field.getAttribute('data-id') === el.getAttribute('data-id')
|
16613
|
+
);
|
16614
|
+
// eslint-disable-next-line no-param-reassign
|
16615
|
+
if (input) el.onclick = input.focus.bind(input);
|
16616
|
+
});
|
16617
|
+
}
|
16618
|
+
|
16619
|
+
reportValidity() {
|
16620
|
+
this.textFields.reverse().forEach((el) => el.reportValidity());
|
16621
|
+
|
16622
|
+
return this.checkValidity();
|
16623
|
+
}
|
16624
|
+
|
16625
|
+
checkValidity() {
|
16626
|
+
return this.textFields.every((el) => el.checkValidity());
|
16627
|
+
}
|
16628
|
+
|
16629
|
+
get questions() {
|
16630
|
+
try {
|
16631
|
+
return JSON.parse(this.getAttribute('questions')) || [];
|
16632
|
+
} catch (e) {
|
16633
|
+
// eslint-disable-next-line no-console
|
16634
|
+
console.error(componentName$2, 'Error parsing questions attribute', e);
|
16635
|
+
return [];
|
16636
|
+
}
|
16637
|
+
}
|
16638
|
+
|
16639
|
+
get texts() {
|
16640
|
+
return Array.from(this.baseElement.querySelectorAll('descope-text'));
|
16641
|
+
}
|
16642
|
+
|
16643
|
+
get textFields() {
|
16644
|
+
return Array.from(this.baseElement.querySelectorAll('descope-text-field'));
|
16645
|
+
}
|
16646
|
+
|
16647
|
+
get elements() {
|
16648
|
+
return Array.from(this.baseElement.querySelectorAll('descope-text, descope-text-field'));
|
16649
|
+
}
|
16650
|
+
|
16651
|
+
get value() {
|
16652
|
+
return this.textFields.map((el) => ({ id: el.getAttribute('data-id'), answer: el.value }));
|
16653
|
+
}
|
16654
|
+
|
16655
|
+
set value(val = []) {
|
16656
|
+
val.forEach(({ id, answer }) => {
|
16657
|
+
const textField = this.textFields.find((el) => el.getAttribute('data-id') === id);
|
16658
|
+
if (textField) textField.value = answer;
|
16659
|
+
});
|
16660
|
+
}
|
16661
|
+
|
16662
|
+
// eslint-disable-next-line class-methods-use-this
|
16663
|
+
#updateAttribute(ele, attrName, value) {
|
16664
|
+
if (value === null) ele.removeAttribute(attrName);
|
16665
|
+
else ele.setAttribute(attrName, value);
|
16666
|
+
}
|
16667
|
+
|
16668
|
+
#getElementsToUpdate(attr) {
|
16669
|
+
switch (true) {
|
16670
|
+
case textFieldsAttrs.includes(attr):
|
16671
|
+
return this.textFields;
|
16672
|
+
case textsAttrs.includes(attr):
|
16673
|
+
return this.texts;
|
16674
|
+
default:
|
16675
|
+
return [];
|
16676
|
+
}
|
16677
|
+
}
|
16678
|
+
|
16679
|
+
#syncAttrs(attrs) {
|
16680
|
+
attrs.forEach((attr) => {
|
16681
|
+
this.#getElementsToUpdate(attr).forEach((el) => {
|
16682
|
+
this.#updateAttribute(el, attrMappings[attr] || attr, this.getAttribute(attr));
|
16683
|
+
});
|
16684
|
+
});
|
16685
|
+
}
|
16686
|
+
|
16687
|
+
init() {
|
16688
|
+
super.init?.();
|
16689
|
+
// render new components
|
16690
|
+
observeAttributes(
|
16691
|
+
this,
|
16692
|
+
() => {
|
16693
|
+
this.#renderQuestions();
|
16694
|
+
},
|
16695
|
+
{ includeAttrs: attrsToReRender }
|
16696
|
+
);
|
16697
|
+
|
16698
|
+
// update existing components
|
16699
|
+
observeAttributes(this, this.#syncAttrs.bind(this), {
|
16700
|
+
includeAttrs: attrsToSync,
|
16701
|
+
});
|
16702
|
+
}
|
16703
|
+
}
|
16704
|
+
|
16705
|
+
const SecurityQuestionsVerifyClass = compose(
|
16706
|
+
createStyleMixin({ componentNameOverride: getComponentName('input-wrapper') }),
|
16707
|
+
createStyleMixin({
|
16708
|
+
mappings: {
|
16709
|
+
hostWidth: [{ selector: () => ':host', property: 'width' }, { property: 'width' }],
|
16710
|
+
hostDirection: [
|
16711
|
+
{ selector: () => ':host', property: 'direction' },
|
16712
|
+
{
|
16713
|
+
selector: () => TextClass.componentName,
|
16714
|
+
property: TextClass.cssVarList.hostDirection,
|
16715
|
+
},
|
16716
|
+
{
|
16717
|
+
selector: () => TextFieldClass.componentName,
|
16718
|
+
property: TextFieldClass.cssVarList.hostDirection,
|
16719
|
+
},
|
16720
|
+
],
|
16721
|
+
gap: { selector: () => 'div', property: 'gap' },
|
16722
|
+
questionTextAlign: {
|
16723
|
+
selector: () => TextClass.componentName,
|
16724
|
+
property: TextClass.cssVarList.textAlign,
|
16725
|
+
},
|
16726
|
+
questionFontSize: {
|
16727
|
+
selector: () => TextClass.componentName,
|
16728
|
+
property: TextClass.cssVarList.fontSize,
|
16729
|
+
},
|
16730
|
+
questionFontFamily: {
|
16731
|
+
selector: () => TextClass.componentName,
|
16732
|
+
property: TextClass.cssVarList.fontFamily,
|
16733
|
+
},
|
16734
|
+
questionCursor: {
|
16735
|
+
selector: () => TextClass.componentName,
|
16736
|
+
property: 'cursor',
|
16737
|
+
},
|
16738
|
+
},
|
16739
|
+
}),
|
16740
|
+
draggableMixin,
|
16741
|
+
componentNameValidationMixin
|
16742
|
+
)(RawSecurityQuestionsVerify);
|
16743
|
+
|
16744
|
+
const vars$1 = SecurityQuestionsVerifyClass.cssVarList;
|
16745
|
+
|
16746
|
+
const securityQuestionsVerify = {
|
16747
|
+
[vars$1.hostWidth]: 'min-content',
|
16748
|
+
[vars$1.questionCursor]: 'pointer',
|
16534
16749
|
_fullWidth: {
|
16535
16750
|
[vars$1.hostWidth]: '100%',
|
16536
16751
|
},
|
16752
|
+
[vars$1.questionFontSize]: refs.fontSize,
|
16753
|
+
[vars$1.questionFontFamily]: refs.fontFamily,
|
16537
16754
|
};
|
16538
16755
|
|
16539
|
-
var
|
16756
|
+
var securityQuestionsVerify$1 = /*#__PURE__*/Object.freeze({
|
16540
16757
|
__proto__: null,
|
16541
|
-
default:
|
16758
|
+
default: securityQuestionsVerify,
|
16542
16759
|
vars: vars$1
|
16543
16760
|
});
|
16544
16761
|
|
@@ -16592,9 +16809,10 @@ const components = {
|
|
16592
16809
|
list: list$2,
|
16593
16810
|
listItem,
|
16594
16811
|
appsList: appsList$1,
|
16595
|
-
scopesList: scopesList$
|
16812
|
+
scopesList: scopesList$1,
|
16596
16813
|
thirdPartyAppLogo: thirdPartyAppLogo$1,
|
16597
|
-
securityQuestionsSetup,
|
16814
|
+
securityQuestionsSetup: securityQuestionsSetup$1,
|
16815
|
+
securityQuestionsVerify: securityQuestionsVerify$1,
|
16598
16816
|
};
|
16599
16817
|
|
16600
16818
|
const theme = Object.keys(components).reduce(
|
@@ -16607,7 +16825,7 @@ const vars = Object.keys(components).reduce(
|
|
16607
16825
|
);
|
16608
16826
|
|
16609
16827
|
const defaultTheme = { globals, components: theme };
|
16610
|
-
const themeVars = { globals: vars$
|
16828
|
+
const themeVars = { globals: vars$S, components: vars };
|
16611
16829
|
|
16612
16830
|
const colors = {
|
16613
16831
|
surface: {
|
@@ -16988,6 +17206,7 @@ exports.RecaptchaClass = RecaptchaClass;
|
|
16988
17206
|
exports.SamlGroupMappingsClass = SamlGroupMappingsClass;
|
16989
17207
|
exports.ScopesListClass = ScopesListClass;
|
16990
17208
|
exports.SecurityQuestionsSetupClass = SecurityQuestionsSetupClass;
|
17209
|
+
exports.SecurityQuestionsVerifyClass = SecurityQuestionsVerifyClass;
|
16991
17210
|
exports.SwitchToggleClass = SwitchToggleClass;
|
16992
17211
|
exports.TextAreaClass = TextAreaClass;
|
16993
17212
|
exports.TextClass = TextClass;
|