@descope/web-components-ui 1.0.311 → 1.0.313
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 +1303 -906
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +1309 -911
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1224.js +1 -1
- package/dist/umd/1438.js +11 -11
- package/dist/umd/1612.js +4 -4
- package/dist/umd/1621.js +8 -8
- package/dist/umd/2362.js +2 -2
- package/dist/umd/3830.js +1 -1
- package/dist/umd/3951.js +4 -4
- package/dist/umd/4024.js +4 -4
- package/dist/umd/4028.js +6 -6
- package/dist/umd/4052.js +4 -4
- package/dist/umd/4392.js +1 -1
- package/dist/umd/4569.js +1 -1
- package/dist/umd/4746.js +2 -2
- package/dist/umd/4978.js +1 -1
- package/dist/umd/5135.js +4 -4
- package/dist/umd/5517.js +1 -1
- package/dist/umd/5806.js +2 -2
- package/dist/umd/5910.js +1 -1
- package/dist/umd/63.js +7 -7
- package/dist/umd/637.js +1 -0
- package/dist/umd/6594.js +1 -1
- package/dist/umd/6770.js +2 -2
- package/dist/umd/7056.js +9 -9
- package/dist/umd/7164.js +7 -7
- package/dist/umd/7531.js +4 -4
- package/dist/umd/7911.js +4 -4
- package/dist/umd/8191.js +4 -4
- package/dist/umd/8866.js +5 -5
- package/dist/umd/9092.js +12 -12
- package/dist/umd/9314.js +5 -5
- package/dist/umd/9423.js +12 -12
- package/dist/umd/9562.js +4 -4
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-avatar-index-js.js +1 -1
- package/dist/umd/descope-badge-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +4 -4
- package/dist/umd/descope-code-snippet-index-js.js +1 -0
- package/dist/umd/descope-combo-box-index-js.js +5 -5
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +4 -4
- package/dist/umd/descope-enriched-text-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +3 -3
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +3 -3
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-icon-index-js.js +1 -1
- package/dist/umd/descope-image-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-index-js.js +1 -1
- package/dist/umd/descope-modal-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
- package/dist/umd/descope-notification-index-js.js +1 -1
- package/dist/umd/descope-notp-image-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +2 -2
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-policy-validation-index-js.js +1 -1
- package/dist/umd/descope-recaptcha-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +2 -2
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/descope-totp-image-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +2 -2
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +2 -1
- package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
- package/src/components/descope-code-snippet/helpers.js +9 -0
- package/src/components/descope-code-snippet/index.js +5 -0
- package/src/components/descope-enriched-text/EnrichedTextClass.js +1 -0
- package/src/components/descope-link/LinkClass.js +1 -0
- package/src/components/descope-text/TextClass.js +1 -0
- package/src/darkTheme.js +4 -0
- package/src/index.cjs.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/theme/components/codeSnippet.js +145 -0
- package/src/theme/components/index.js +2 -0
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var merge = require('lodash.merge');
|
|
4
4
|
var Color = require('color');
|
|
5
5
|
var MarkdownIt = require('markdown-it');
|
|
6
|
+
var hljs = require('highlight.js');
|
|
6
7
|
|
|
7
8
|
const DESCOPE_PREFIX = 'descope';
|
|
8
9
|
const CSS_SELECTOR_SPECIFIER_MULTIPLY = 3;
|
|
@@ -631,7 +632,7 @@ const globals = {
|
|
|
631
632
|
fonts,
|
|
632
633
|
direction,
|
|
633
634
|
};
|
|
634
|
-
const vars$
|
|
635
|
+
const vars$H = getThemeVars(globals);
|
|
635
636
|
|
|
636
637
|
const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
|
|
637
638
|
|
|
@@ -2566,9 +2567,9 @@ const inputEventsDispatchingMixin = (superclass) =>
|
|
|
2566
2567
|
|
|
2567
2568
|
/* eslint-disable no-use-before-define */
|
|
2568
2569
|
|
|
2569
|
-
const componentName$
|
|
2570
|
+
const componentName$Q = getComponentName('icon');
|
|
2570
2571
|
|
|
2571
|
-
class RawIcon extends createBaseClass({ componentName: componentName$
|
|
2572
|
+
class RawIcon extends createBaseClass({ componentName: componentName$Q, baseSelector: 'slot' }) {
|
|
2572
2573
|
constructor() {
|
|
2573
2574
|
super();
|
|
2574
2575
|
|
|
@@ -2637,7 +2638,7 @@ const clickableMixin = (superclass) =>
|
|
|
2637
2638
|
}
|
|
2638
2639
|
};
|
|
2639
2640
|
|
|
2640
|
-
const componentName$
|
|
2641
|
+
const componentName$P = getComponentName('button');
|
|
2641
2642
|
|
|
2642
2643
|
const resetStyles = `
|
|
2643
2644
|
:host {
|
|
@@ -2743,7 +2744,7 @@ const ButtonClass = compose(
|
|
|
2743
2744
|
}
|
|
2744
2745
|
`,
|
|
2745
2746
|
excludeAttrsSync: ['tabindex'],
|
|
2746
|
-
componentName: componentName$
|
|
2747
|
+
componentName: componentName$P,
|
|
2747
2748
|
})
|
|
2748
2749
|
);
|
|
2749
2750
|
|
|
@@ -2780,31 +2781,31 @@ loadingIndicatorStyles = `
|
|
|
2780
2781
|
}
|
|
2781
2782
|
`;
|
|
2782
2783
|
|
|
2783
|
-
const globalRefs$
|
|
2784
|
+
const globalRefs$p = getThemeRefs(globals);
|
|
2784
2785
|
const compVars$5 = ButtonClass.cssVarList;
|
|
2785
2786
|
|
|
2786
2787
|
const mode = {
|
|
2787
|
-
primary: globalRefs$
|
|
2788
|
-
secondary: globalRefs$
|
|
2789
|
-
success: globalRefs$
|
|
2790
|
-
error: globalRefs$
|
|
2791
|
-
surface: globalRefs$
|
|
2788
|
+
primary: globalRefs$p.colors.primary,
|
|
2789
|
+
secondary: globalRefs$p.colors.secondary,
|
|
2790
|
+
success: globalRefs$p.colors.success,
|
|
2791
|
+
error: globalRefs$p.colors.error,
|
|
2792
|
+
surface: globalRefs$p.colors.surface,
|
|
2792
2793
|
};
|
|
2793
2794
|
|
|
2794
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
|
2795
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$P);
|
|
2795
2796
|
|
|
2796
2797
|
const button = {
|
|
2797
2798
|
...helperTheme$3,
|
|
2798
2799
|
|
|
2799
|
-
[compVars$5.fontFamily]: globalRefs$
|
|
2800
|
+
[compVars$5.fontFamily]: globalRefs$p.fonts.font1.family,
|
|
2800
2801
|
|
|
2801
2802
|
[compVars$5.cursor]: 'pointer',
|
|
2802
2803
|
[compVars$5.hostHeight]: '3em',
|
|
2803
2804
|
[compVars$5.hostWidth]: 'auto',
|
|
2804
|
-
[compVars$5.hostDirection]: globalRefs$
|
|
2805
|
+
[compVars$5.hostDirection]: globalRefs$p.direction,
|
|
2805
2806
|
|
|
2806
|
-
[compVars$5.borderRadius]: globalRefs$
|
|
2807
|
-
[compVars$5.borderWidth]: globalRefs$
|
|
2807
|
+
[compVars$5.borderRadius]: globalRefs$p.radius.sm,
|
|
2808
|
+
[compVars$5.borderWidth]: globalRefs$p.border.xs,
|
|
2808
2809
|
[compVars$5.borderStyle]: 'solid',
|
|
2809
2810
|
[compVars$5.borderColor]: 'transparent',
|
|
2810
2811
|
|
|
@@ -2847,11 +2848,11 @@ const button = {
|
|
|
2847
2848
|
},
|
|
2848
2849
|
|
|
2849
2850
|
_disabled: {
|
|
2850
|
-
[helperVars$3.main]: globalRefs$
|
|
2851
|
-
[helperVars$3.dark]: globalRefs$
|
|
2852
|
-
[helperVars$3.light]: globalRefs$
|
|
2853
|
-
[helperVars$3.contrast]: globalRefs$
|
|
2854
|
-
[compVars$5.iconColor]: globalRefs$
|
|
2851
|
+
[helperVars$3.main]: globalRefs$p.colors.surface.light,
|
|
2852
|
+
[helperVars$3.dark]: globalRefs$p.colors.surface.dark,
|
|
2853
|
+
[helperVars$3.light]: globalRefs$p.colors.surface.light,
|
|
2854
|
+
[helperVars$3.contrast]: globalRefs$p.colors.surface.main,
|
|
2855
|
+
[compVars$5.iconColor]: globalRefs$p.colors.surface.main,
|
|
2855
2856
|
},
|
|
2856
2857
|
|
|
2857
2858
|
variant: {
|
|
@@ -2899,7 +2900,7 @@ const button = {
|
|
|
2899
2900
|
},
|
|
2900
2901
|
};
|
|
2901
2902
|
|
|
2902
|
-
const vars$
|
|
2903
|
+
const vars$G = {
|
|
2903
2904
|
...compVars$5,
|
|
2904
2905
|
...helperVars$3,
|
|
2905
2906
|
};
|
|
@@ -2907,7 +2908,7 @@ const vars$F = {
|
|
|
2907
2908
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
2908
2909
|
__proto__: null,
|
|
2909
2910
|
default: button,
|
|
2910
|
-
vars: vars$
|
|
2911
|
+
vars: vars$G
|
|
2911
2912
|
});
|
|
2912
2913
|
|
|
2913
2914
|
const {
|
|
@@ -3134,7 +3135,7 @@ const resetInputLabelPosition = (name) => `
|
|
|
3134
3135
|
}
|
|
3135
3136
|
`;
|
|
3136
3137
|
|
|
3137
|
-
const componentName$
|
|
3138
|
+
const componentName$O = getComponentName('text-field');
|
|
3138
3139
|
|
|
3139
3140
|
const observedAttrs = ['type'];
|
|
3140
3141
|
|
|
@@ -3209,29 +3210,29 @@ const TextFieldClass = compose(
|
|
|
3209
3210
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
|
3210
3211
|
`,
|
|
3211
3212
|
excludeAttrsSync: ['tabindex'],
|
|
3212
|
-
componentName: componentName$
|
|
3213
|
+
componentName: componentName$O,
|
|
3213
3214
|
})
|
|
3214
3215
|
);
|
|
3215
3216
|
|
|
3216
|
-
const componentName$
|
|
3217
|
-
const globalRefs$
|
|
3217
|
+
const componentName$N = getComponentName('input-wrapper');
|
|
3218
|
+
const globalRefs$o = getThemeRefs(globals);
|
|
3218
3219
|
|
|
3219
|
-
const [theme$1, refs, vars$
|
|
3220
|
+
const [theme$1, refs, vars$F] = createHelperVars(
|
|
3220
3221
|
{
|
|
3221
|
-
labelTextColor: globalRefs$
|
|
3222
|
+
labelTextColor: globalRefs$o.colors.surface.dark,
|
|
3222
3223
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
3223
|
-
valueTextColor: globalRefs$
|
|
3224
|
-
placeholderTextColor: globalRefs$
|
|
3224
|
+
valueTextColor: globalRefs$o.colors.surface.contrast,
|
|
3225
|
+
placeholderTextColor: globalRefs$o.colors.surface.dark,
|
|
3225
3226
|
requiredIndicator: "'*'",
|
|
3226
|
-
helperTextColor: globalRefs$
|
|
3227
|
-
errorMessageTextColor: globalRefs$
|
|
3228
|
-
successMessageTextColor: globalRefs$
|
|
3227
|
+
helperTextColor: globalRefs$o.colors.surface.dark,
|
|
3228
|
+
errorMessageTextColor: globalRefs$o.colors.error.main,
|
|
3229
|
+
successMessageTextColor: globalRefs$o.colors.success.main,
|
|
3229
3230
|
|
|
3230
|
-
borderWidth: globalRefs$
|
|
3231
|
-
borderRadius: globalRefs$
|
|
3231
|
+
borderWidth: globalRefs$o.border.xs,
|
|
3232
|
+
borderRadius: globalRefs$o.radius.xs,
|
|
3232
3233
|
borderColor: 'transparent',
|
|
3233
3234
|
|
|
3234
|
-
outlineWidth: globalRefs$
|
|
3235
|
+
outlineWidth: globalRefs$o.border.sm,
|
|
3235
3236
|
outlineStyle: 'solid',
|
|
3236
3237
|
outlineColor: 'transparent',
|
|
3237
3238
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
|
@@ -3242,11 +3243,11 @@ const [theme$1, refs, vars$E] = createHelperVars(
|
|
|
3242
3243
|
horizontalPadding: '0.5em',
|
|
3243
3244
|
verticalPadding: '0.5em',
|
|
3244
3245
|
|
|
3245
|
-
backgroundColor: globalRefs$
|
|
3246
|
+
backgroundColor: globalRefs$o.colors.surface.main,
|
|
3246
3247
|
|
|
3247
|
-
fontFamily: globalRefs$
|
|
3248
|
+
fontFamily: globalRefs$o.fonts.font1.family,
|
|
3248
3249
|
|
|
3249
|
-
direction: globalRefs$
|
|
3250
|
+
direction: globalRefs$o.direction,
|
|
3250
3251
|
|
|
3251
3252
|
overlayOpacity: '0.3',
|
|
3252
3253
|
|
|
@@ -3262,69 +3263,69 @@ const [theme$1, refs, vars$E] = createHelperVars(
|
|
|
3262
3263
|
},
|
|
3263
3264
|
|
|
3264
3265
|
_focused: {
|
|
3265
|
-
outlineColor: globalRefs$
|
|
3266
|
+
outlineColor: globalRefs$o.colors.surface.light,
|
|
3266
3267
|
_invalid: {
|
|
3267
|
-
outlineColor: globalRefs$
|
|
3268
|
+
outlineColor: globalRefs$o.colors.error.main,
|
|
3268
3269
|
},
|
|
3269
3270
|
},
|
|
3270
3271
|
|
|
3271
3272
|
_bordered: {
|
|
3272
|
-
outlineWidth: globalRefs$
|
|
3273
|
-
borderColor: globalRefs$
|
|
3273
|
+
outlineWidth: globalRefs$o.border.xs,
|
|
3274
|
+
borderColor: globalRefs$o.colors.surface.light,
|
|
3274
3275
|
borderStyle: 'solid',
|
|
3275
3276
|
_invalid: {
|
|
3276
|
-
borderColor: globalRefs$
|
|
3277
|
+
borderColor: globalRefs$o.colors.error.main,
|
|
3277
3278
|
},
|
|
3278
3279
|
},
|
|
3279
3280
|
|
|
3280
3281
|
_disabled: {
|
|
3281
|
-
labelTextColor: globalRefs$
|
|
3282
|
-
borderColor: globalRefs$
|
|
3283
|
-
valueTextColor: globalRefs$
|
|
3284
|
-
placeholderTextColor: globalRefs$
|
|
3285
|
-
helperTextColor: globalRefs$
|
|
3286
|
-
backgroundColor: globalRefs$
|
|
3282
|
+
labelTextColor: globalRefs$o.colors.surface.light,
|
|
3283
|
+
borderColor: globalRefs$o.colors.surface.light,
|
|
3284
|
+
valueTextColor: globalRefs$o.colors.surface.light,
|
|
3285
|
+
placeholderTextColor: globalRefs$o.colors.surface.light,
|
|
3286
|
+
helperTextColor: globalRefs$o.colors.surface.light,
|
|
3287
|
+
backgroundColor: globalRefs$o.colors.surface.main,
|
|
3287
3288
|
},
|
|
3288
3289
|
},
|
|
3289
|
-
componentName$
|
|
3290
|
+
componentName$N
|
|
3290
3291
|
);
|
|
3291
3292
|
|
|
3292
3293
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
3293
3294
|
__proto__: null,
|
|
3294
3295
|
default: theme$1,
|
|
3295
3296
|
refs: refs,
|
|
3296
|
-
vars: vars$
|
|
3297
|
+
vars: vars$F
|
|
3297
3298
|
});
|
|
3298
3299
|
|
|
3299
|
-
const vars$
|
|
3300
|
+
const vars$E = TextFieldClass.cssVarList;
|
|
3300
3301
|
|
|
3301
3302
|
const textField$1 = {
|
|
3302
|
-
[vars$
|
|
3303
|
-
[vars$
|
|
3304
|
-
[vars$
|
|
3305
|
-
[vars$
|
|
3306
|
-
[vars$
|
|
3307
|
-
[vars$
|
|
3308
|
-
[vars$
|
|
3309
|
-
[vars$
|
|
3310
|
-
[vars$
|
|
3311
|
-
[vars$
|
|
3312
|
-
[vars$
|
|
3313
|
-
[vars$
|
|
3314
|
-
[vars$
|
|
3315
|
-
[vars$
|
|
3316
|
-
[vars$
|
|
3317
|
-
[vars$
|
|
3318
|
-
[vars$
|
|
3319
|
-
[vars$
|
|
3320
|
-
[vars$
|
|
3321
|
-
[vars$
|
|
3322
|
-
[vars$
|
|
3323
|
-
[vars$
|
|
3303
|
+
[vars$E.hostWidth]: refs.width,
|
|
3304
|
+
[vars$E.hostMinWidth]: refs.minWidth,
|
|
3305
|
+
[vars$E.hostDirection]: refs.direction,
|
|
3306
|
+
[vars$E.fontSize]: refs.fontSize,
|
|
3307
|
+
[vars$E.fontFamily]: refs.fontFamily,
|
|
3308
|
+
[vars$E.labelTextColor]: refs.labelTextColor,
|
|
3309
|
+
[vars$E.labelRequiredIndicator]: refs.requiredIndicator,
|
|
3310
|
+
[vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
3311
|
+
[vars$E.inputValueTextColor]: refs.valueTextColor,
|
|
3312
|
+
[vars$E.inputPlaceholderColor]: refs.placeholderTextColor,
|
|
3313
|
+
[vars$E.inputBorderWidth]: refs.borderWidth,
|
|
3314
|
+
[vars$E.inputBorderStyle]: refs.borderStyle,
|
|
3315
|
+
[vars$E.inputBorderColor]: refs.borderColor,
|
|
3316
|
+
[vars$E.inputBorderRadius]: refs.borderRadius,
|
|
3317
|
+
[vars$E.inputOutlineWidth]: refs.outlineWidth,
|
|
3318
|
+
[vars$E.inputOutlineStyle]: refs.outlineStyle,
|
|
3319
|
+
[vars$E.inputOutlineColor]: refs.outlineColor,
|
|
3320
|
+
[vars$E.inputOutlineOffset]: refs.outlineOffset,
|
|
3321
|
+
[vars$E.inputBackgroundColor]: refs.backgroundColor,
|
|
3322
|
+
[vars$E.inputHeight]: refs.inputHeight,
|
|
3323
|
+
[vars$E.inputHorizontalPadding]: refs.horizontalPadding,
|
|
3324
|
+
[vars$E.helperTextColor]: refs.helperTextColor,
|
|
3324
3325
|
textAlign: {
|
|
3325
|
-
right: { [vars$
|
|
3326
|
-
left: { [vars$
|
|
3327
|
-
center: { [vars$
|
|
3326
|
+
right: { [vars$E.inputTextAlign]: 'right' },
|
|
3327
|
+
left: { [vars$E.inputTextAlign]: 'left' },
|
|
3328
|
+
center: { [vars$E.inputTextAlign]: 'center' },
|
|
3328
3329
|
},
|
|
3329
3330
|
};
|
|
3330
3331
|
|
|
@@ -3332,7 +3333,7 @@ var textField$2 = /*#__PURE__*/Object.freeze({
|
|
|
3332
3333
|
__proto__: null,
|
|
3333
3334
|
default: textField$1,
|
|
3334
3335
|
textField: textField$1,
|
|
3335
|
-
vars: vars$
|
|
3336
|
+
vars: vars$E
|
|
3336
3337
|
});
|
|
3337
3338
|
|
|
3338
3339
|
const passwordDraggableMixin = (superclass) =>
|
|
@@ -3369,7 +3370,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
|
3369
3370
|
}
|
|
3370
3371
|
};
|
|
3371
3372
|
|
|
3372
|
-
const componentName$
|
|
3373
|
+
const componentName$M = getComponentName('password');
|
|
3373
3374
|
|
|
3374
3375
|
const {
|
|
3375
3376
|
host: host$l,
|
|
@@ -3498,46 +3499,46 @@ const PasswordClass = compose(
|
|
|
3498
3499
|
}
|
|
3499
3500
|
`,
|
|
3500
3501
|
excludeAttrsSync: ['tabindex'],
|
|
3501
|
-
componentName: componentName$
|
|
3502
|
+
componentName: componentName$M,
|
|
3502
3503
|
})
|
|
3503
3504
|
);
|
|
3504
3505
|
|
|
3505
|
-
const globalRefs$
|
|
3506
|
-
const vars$
|
|
3506
|
+
const globalRefs$n = getThemeRefs(globals);
|
|
3507
|
+
const vars$D = PasswordClass.cssVarList;
|
|
3507
3508
|
|
|
3508
3509
|
const password = {
|
|
3509
|
-
[vars$
|
|
3510
|
-
[vars$
|
|
3511
|
-
[vars$
|
|
3512
|
-
[vars$
|
|
3513
|
-
[vars$
|
|
3514
|
-
[vars$
|
|
3515
|
-
[vars$
|
|
3516
|
-
[vars$
|
|
3517
|
-
[vars$
|
|
3518
|
-
[vars$
|
|
3519
|
-
[vars$
|
|
3520
|
-
[vars$
|
|
3521
|
-
[vars$
|
|
3522
|
-
[vars$
|
|
3523
|
-
[vars$
|
|
3524
|
-
[vars$
|
|
3525
|
-
[vars$
|
|
3526
|
-
[vars$
|
|
3527
|
-
[vars$
|
|
3528
|
-
[vars$
|
|
3529
|
-
[vars$
|
|
3530
|
-
[vars$
|
|
3531
|
-
[vars$
|
|
3510
|
+
[vars$D.hostWidth]: refs.width,
|
|
3511
|
+
[vars$D.hostDirection]: refs.direction,
|
|
3512
|
+
[vars$D.fontSize]: refs.fontSize,
|
|
3513
|
+
[vars$D.fontFamily]: refs.fontFamily,
|
|
3514
|
+
[vars$D.labelTextColor]: refs.labelTextColor,
|
|
3515
|
+
[vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
3516
|
+
[vars$D.inputHorizontalPadding]: refs.horizontalPadding,
|
|
3517
|
+
[vars$D.inputHeight]: refs.inputHeight,
|
|
3518
|
+
[vars$D.inputBackgroundColor]: refs.backgroundColor,
|
|
3519
|
+
[vars$D.labelRequiredIndicator]: refs.requiredIndicator,
|
|
3520
|
+
[vars$D.inputValueTextColor]: refs.valueTextColor,
|
|
3521
|
+
[vars$D.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
3522
|
+
[vars$D.inputBorderWidth]: refs.borderWidth,
|
|
3523
|
+
[vars$D.inputBorderStyle]: refs.borderStyle,
|
|
3524
|
+
[vars$D.inputBorderColor]: refs.borderColor,
|
|
3525
|
+
[vars$D.inputBorderRadius]: refs.borderRadius,
|
|
3526
|
+
[vars$D.inputOutlineWidth]: refs.outlineWidth,
|
|
3527
|
+
[vars$D.inputOutlineStyle]: refs.outlineStyle,
|
|
3528
|
+
[vars$D.inputOutlineColor]: refs.outlineColor,
|
|
3529
|
+
[vars$D.inputOutlineOffset]: refs.outlineOffset,
|
|
3530
|
+
[vars$D.revealButtonOffset]: globalRefs$n.spacing.md,
|
|
3531
|
+
[vars$D.revealButtonSize]: refs.toggleButtonSize,
|
|
3532
|
+
[vars$D.revealButtonColor]: refs.placeholderTextColor,
|
|
3532
3533
|
};
|
|
3533
3534
|
|
|
3534
3535
|
var password$1 = /*#__PURE__*/Object.freeze({
|
|
3535
3536
|
__proto__: null,
|
|
3536
3537
|
default: password,
|
|
3537
|
-
vars: vars$
|
|
3538
|
+
vars: vars$D
|
|
3538
3539
|
});
|
|
3539
3540
|
|
|
3540
|
-
const componentName$
|
|
3541
|
+
const componentName$L = getComponentName('number-field');
|
|
3541
3542
|
|
|
3542
3543
|
const NumberFieldClass = compose(
|
|
3543
3544
|
createStyleMixin({
|
|
@@ -3563,43 +3564,43 @@ const NumberFieldClass = compose(
|
|
|
3563
3564
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
|
3564
3565
|
`,
|
|
3565
3566
|
excludeAttrsSync: ['tabindex'],
|
|
3566
|
-
componentName: componentName$
|
|
3567
|
+
componentName: componentName$L,
|
|
3567
3568
|
})
|
|
3568
3569
|
);
|
|
3569
3570
|
|
|
3570
|
-
const vars$
|
|
3571
|
+
const vars$C = NumberFieldClass.cssVarList;
|
|
3571
3572
|
|
|
3572
3573
|
const numberField = {
|
|
3573
|
-
[vars$
|
|
3574
|
-
[vars$
|
|
3575
|
-
[vars$
|
|
3576
|
-
[vars$
|
|
3577
|
-
[vars$
|
|
3578
|
-
[vars$
|
|
3579
|
-
[vars$
|
|
3580
|
-
[vars$
|
|
3581
|
-
[vars$
|
|
3582
|
-
[vars$
|
|
3583
|
-
[vars$
|
|
3584
|
-
[vars$
|
|
3585
|
-
[vars$
|
|
3586
|
-
[vars$
|
|
3587
|
-
[vars$
|
|
3588
|
-
[vars$
|
|
3589
|
-
[vars$
|
|
3590
|
-
[vars$
|
|
3591
|
-
[vars$
|
|
3592
|
-
[vars$
|
|
3593
|
-
[vars$
|
|
3574
|
+
[vars$C.hostWidth]: refs.width,
|
|
3575
|
+
[vars$C.hostMinWidth]: refs.minWidth,
|
|
3576
|
+
[vars$C.hostDirection]: refs.direction,
|
|
3577
|
+
[vars$C.fontSize]: refs.fontSize,
|
|
3578
|
+
[vars$C.fontFamily]: refs.fontFamily,
|
|
3579
|
+
[vars$C.labelTextColor]: refs.labelTextColor,
|
|
3580
|
+
[vars$C.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
3581
|
+
[vars$C.inputValueTextColor]: refs.valueTextColor,
|
|
3582
|
+
[vars$C.inputPlaceholderColor]: refs.placeholderTextColor,
|
|
3583
|
+
[vars$C.inputBorderWidth]: refs.borderWidth,
|
|
3584
|
+
[vars$C.inputBorderStyle]: refs.borderStyle,
|
|
3585
|
+
[vars$C.inputBorderColor]: refs.borderColor,
|
|
3586
|
+
[vars$C.inputBorderRadius]: refs.borderRadius,
|
|
3587
|
+
[vars$C.inputOutlineWidth]: refs.outlineWidth,
|
|
3588
|
+
[vars$C.inputOutlineStyle]: refs.outlineStyle,
|
|
3589
|
+
[vars$C.inputOutlineColor]: refs.outlineColor,
|
|
3590
|
+
[vars$C.inputOutlineOffset]: refs.outlineOffset,
|
|
3591
|
+
[vars$C.inputBackgroundColor]: refs.backgroundColor,
|
|
3592
|
+
[vars$C.labelRequiredIndicator]: refs.requiredIndicator,
|
|
3593
|
+
[vars$C.inputHorizontalPadding]: refs.horizontalPadding,
|
|
3594
|
+
[vars$C.inputHeight]: refs.inputHeight,
|
|
3594
3595
|
};
|
|
3595
3596
|
|
|
3596
3597
|
var numberField$1 = /*#__PURE__*/Object.freeze({
|
|
3597
3598
|
__proto__: null,
|
|
3598
3599
|
default: numberField,
|
|
3599
|
-
vars: vars$
|
|
3600
|
+
vars: vars$C
|
|
3600
3601
|
});
|
|
3601
3602
|
|
|
3602
|
-
const componentName$
|
|
3603
|
+
const componentName$K = getComponentName('email-field');
|
|
3603
3604
|
|
|
3604
3605
|
const customMixin$7 = (superclass) =>
|
|
3605
3606
|
class EmailFieldMixinClass extends superclass {
|
|
@@ -3634,43 +3635,43 @@ const EmailFieldClass = compose(
|
|
|
3634
3635
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
|
3635
3636
|
`,
|
|
3636
3637
|
excludeAttrsSync: ['tabindex'],
|
|
3637
|
-
componentName: componentName$
|
|
3638
|
+
componentName: componentName$K,
|
|
3638
3639
|
})
|
|
3639
3640
|
);
|
|
3640
3641
|
|
|
3641
|
-
const vars$
|
|
3642
|
+
const vars$B = EmailFieldClass.cssVarList;
|
|
3642
3643
|
|
|
3643
3644
|
const emailField = {
|
|
3644
|
-
[vars$
|
|
3645
|
-
[vars$
|
|
3646
|
-
[vars$
|
|
3647
|
-
[vars$
|
|
3648
|
-
[vars$
|
|
3649
|
-
[vars$
|
|
3650
|
-
[vars$
|
|
3651
|
-
[vars$
|
|
3652
|
-
[vars$
|
|
3653
|
-
[vars$
|
|
3654
|
-
[vars$
|
|
3655
|
-
[vars$
|
|
3656
|
-
[vars$
|
|
3657
|
-
[vars$
|
|
3658
|
-
[vars$
|
|
3659
|
-
[vars$
|
|
3660
|
-
[vars$
|
|
3661
|
-
[vars$
|
|
3662
|
-
[vars$
|
|
3663
|
-
[vars$
|
|
3664
|
-
[vars$
|
|
3645
|
+
[vars$B.hostWidth]: refs.width,
|
|
3646
|
+
[vars$B.hostMinWidth]: refs.minWidth,
|
|
3647
|
+
[vars$B.hostDirection]: refs.direction,
|
|
3648
|
+
[vars$B.fontSize]: refs.fontSize,
|
|
3649
|
+
[vars$B.fontFamily]: refs.fontFamily,
|
|
3650
|
+
[vars$B.labelTextColor]: refs.labelTextColor,
|
|
3651
|
+
[vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
3652
|
+
[vars$B.inputValueTextColor]: refs.valueTextColor,
|
|
3653
|
+
[vars$B.labelRequiredIndicator]: refs.requiredIndicator,
|
|
3654
|
+
[vars$B.inputPlaceholderColor]: refs.placeholderTextColor,
|
|
3655
|
+
[vars$B.inputBorderWidth]: refs.borderWidth,
|
|
3656
|
+
[vars$B.inputBorderStyle]: refs.borderStyle,
|
|
3657
|
+
[vars$B.inputBorderColor]: refs.borderColor,
|
|
3658
|
+
[vars$B.inputBorderRadius]: refs.borderRadius,
|
|
3659
|
+
[vars$B.inputOutlineWidth]: refs.outlineWidth,
|
|
3660
|
+
[vars$B.inputOutlineStyle]: refs.outlineStyle,
|
|
3661
|
+
[vars$B.inputOutlineColor]: refs.outlineColor,
|
|
3662
|
+
[vars$B.inputOutlineOffset]: refs.outlineOffset,
|
|
3663
|
+
[vars$B.inputBackgroundColor]: refs.backgroundColor,
|
|
3664
|
+
[vars$B.inputHorizontalPadding]: refs.horizontalPadding,
|
|
3665
|
+
[vars$B.inputHeight]: refs.inputHeight,
|
|
3665
3666
|
};
|
|
3666
3667
|
|
|
3667
3668
|
var emailField$1 = /*#__PURE__*/Object.freeze({
|
|
3668
3669
|
__proto__: null,
|
|
3669
3670
|
default: emailField,
|
|
3670
|
-
vars: vars$
|
|
3671
|
+
vars: vars$B
|
|
3671
3672
|
});
|
|
3672
3673
|
|
|
3673
|
-
const componentName$
|
|
3674
|
+
const componentName$J = getComponentName('text-area');
|
|
3674
3675
|
|
|
3675
3676
|
const {
|
|
3676
3677
|
host: host$k,
|
|
@@ -3746,49 +3747,49 @@ const TextAreaClass = compose(
|
|
|
3746
3747
|
${resetInputCursor('vaadin-text-area')}
|
|
3747
3748
|
`,
|
|
3748
3749
|
excludeAttrsSync: ['tabindex'],
|
|
3749
|
-
componentName: componentName$
|
|
3750
|
+
componentName: componentName$J,
|
|
3750
3751
|
})
|
|
3751
3752
|
);
|
|
3752
3753
|
|
|
3753
|
-
const vars$
|
|
3754
|
+
const vars$A = TextAreaClass.cssVarList;
|
|
3754
3755
|
|
|
3755
3756
|
const textArea = {
|
|
3756
|
-
[vars$
|
|
3757
|
-
[vars$
|
|
3758
|
-
[vars$
|
|
3759
|
-
[vars$
|
|
3760
|
-
[vars$
|
|
3761
|
-
[vars$
|
|
3762
|
-
[vars$
|
|
3763
|
-
[vars$
|
|
3764
|
-
[vars$
|
|
3765
|
-
[vars$
|
|
3766
|
-
[vars$
|
|
3767
|
-
[vars$
|
|
3768
|
-
[vars$
|
|
3769
|
-
[vars$
|
|
3770
|
-
[vars$
|
|
3771
|
-
[vars$
|
|
3772
|
-
[vars$
|
|
3773
|
-
[vars$
|
|
3774
|
-
[vars$
|
|
3775
|
-
[vars$
|
|
3776
|
-
[vars$
|
|
3757
|
+
[vars$A.hostWidth]: refs.width,
|
|
3758
|
+
[vars$A.hostMinWidth]: refs.minWidth,
|
|
3759
|
+
[vars$A.hostDirection]: refs.direction,
|
|
3760
|
+
[vars$A.fontSize]: refs.fontSize,
|
|
3761
|
+
[vars$A.fontFamily]: refs.fontFamily,
|
|
3762
|
+
[vars$A.labelTextColor]: refs.labelTextColor,
|
|
3763
|
+
[vars$A.labelRequiredIndicator]: refs.requiredIndicator,
|
|
3764
|
+
[vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
3765
|
+
[vars$A.inputBackgroundColor]: refs.backgroundColor,
|
|
3766
|
+
[vars$A.inputValueTextColor]: refs.valueTextColor,
|
|
3767
|
+
[vars$A.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
3768
|
+
[vars$A.inputBorderRadius]: refs.borderRadius,
|
|
3769
|
+
[vars$A.inputBorderWidth]: refs.borderWidth,
|
|
3770
|
+
[vars$A.inputBorderStyle]: refs.borderStyle,
|
|
3771
|
+
[vars$A.inputBorderColor]: refs.borderColor,
|
|
3772
|
+
[vars$A.inputOutlineWidth]: refs.outlineWidth,
|
|
3773
|
+
[vars$A.inputOutlineStyle]: refs.outlineStyle,
|
|
3774
|
+
[vars$A.inputOutlineColor]: refs.outlineColor,
|
|
3775
|
+
[vars$A.inputOutlineOffset]: refs.outlineOffset,
|
|
3776
|
+
[vars$A.inputResizeType]: 'vertical',
|
|
3777
|
+
[vars$A.inputMinHeight]: '5em',
|
|
3777
3778
|
textAlign: {
|
|
3778
|
-
right: { [vars$
|
|
3779
|
-
left: { [vars$
|
|
3780
|
-
center: { [vars$
|
|
3779
|
+
right: { [vars$A.inputTextAlign]: 'right' },
|
|
3780
|
+
left: { [vars$A.inputTextAlign]: 'left' },
|
|
3781
|
+
center: { [vars$A.inputTextAlign]: 'center' },
|
|
3781
3782
|
},
|
|
3782
3783
|
|
|
3783
3784
|
_readonly: {
|
|
3784
|
-
[vars$
|
|
3785
|
+
[vars$A.inputResizeType]: 'none',
|
|
3785
3786
|
},
|
|
3786
3787
|
};
|
|
3787
3788
|
|
|
3788
3789
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
|
3789
3790
|
__proto__: null,
|
|
3790
3791
|
default: textArea,
|
|
3791
|
-
vars: vars$
|
|
3792
|
+
vars: vars$A
|
|
3792
3793
|
});
|
|
3793
3794
|
|
|
3794
3795
|
const createBaseInputClass = (...args) =>
|
|
@@ -3799,9 +3800,9 @@ const createBaseInputClass = (...args) =>
|
|
|
3799
3800
|
inputEventsDispatchingMixin
|
|
3800
3801
|
)(createBaseClass(...args));
|
|
3801
3802
|
|
|
3802
|
-
const componentName$
|
|
3803
|
+
const componentName$I = getComponentName('boolean-field-internal');
|
|
3803
3804
|
|
|
3804
|
-
createBaseInputClass({ componentName: componentName$
|
|
3805
|
+
createBaseInputClass({ componentName: componentName$I, baseSelector: 'div' });
|
|
3805
3806
|
|
|
3806
3807
|
const booleanFieldMixin = (superclass) =>
|
|
3807
3808
|
class BooleanFieldMixinClass extends superclass {
|
|
@@ -3810,14 +3811,14 @@ const booleanFieldMixin = (superclass) =>
|
|
|
3810
3811
|
|
|
3811
3812
|
const template = document.createElement('template');
|
|
3812
3813
|
template.innerHTML = `
|
|
3813
|
-
<${componentName$
|
|
3814
|
+
<${componentName$I}
|
|
3814
3815
|
tabindex="-1"
|
|
3815
3816
|
slot="input"
|
|
3816
|
-
></${componentName$
|
|
3817
|
+
></${componentName$I}>
|
|
3817
3818
|
`;
|
|
3818
3819
|
|
|
3819
3820
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
3820
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
3821
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$I);
|
|
3821
3822
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
3822
3823
|
|
|
3823
3824
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -3887,7 +3888,7 @@ descope-boolean-field-internal {
|
|
|
3887
3888
|
}
|
|
3888
3889
|
`;
|
|
3889
3890
|
|
|
3890
|
-
const componentName$
|
|
3891
|
+
const componentName$H = getComponentName('checkbox');
|
|
3891
3892
|
|
|
3892
3893
|
const {
|
|
3893
3894
|
host: host$j,
|
|
@@ -3993,51 +3994,51 @@ const CheckboxClass = compose(
|
|
|
3993
3994
|
}
|
|
3994
3995
|
`,
|
|
3995
3996
|
excludeAttrsSync: ['label', 'tabindex'],
|
|
3996
|
-
componentName: componentName$
|
|
3997
|
+
componentName: componentName$H,
|
|
3997
3998
|
})
|
|
3998
3999
|
);
|
|
3999
4000
|
|
|
4000
|
-
const vars$
|
|
4001
|
+
const vars$z = CheckboxClass.cssVarList;
|
|
4001
4002
|
const checkboxSize = '1.35em';
|
|
4002
4003
|
|
|
4003
4004
|
const checkbox = {
|
|
4004
|
-
[vars$
|
|
4005
|
-
[vars$
|
|
4006
|
-
[vars$
|
|
4007
|
-
[vars$
|
|
4008
|
-
[vars$
|
|
4009
|
-
[vars$
|
|
4010
|
-
[vars$
|
|
4011
|
-
[vars$
|
|
4012
|
-
[vars$
|
|
4013
|
-
[vars$
|
|
4014
|
-
[vars$
|
|
4015
|
-
[vars$
|
|
4016
|
-
[vars$
|
|
4017
|
-
[vars$
|
|
4018
|
-
[vars$
|
|
4019
|
-
[vars$
|
|
4020
|
-
[vars$
|
|
4021
|
-
[vars$
|
|
4022
|
-
[vars$
|
|
4023
|
-
[vars$
|
|
4005
|
+
[vars$z.hostWidth]: refs.width,
|
|
4006
|
+
[vars$z.hostDirection]: refs.direction,
|
|
4007
|
+
[vars$z.fontSize]: refs.fontSize,
|
|
4008
|
+
[vars$z.fontFamily]: refs.fontFamily,
|
|
4009
|
+
[vars$z.labelTextColor]: refs.labelTextColor,
|
|
4010
|
+
[vars$z.labelRequiredIndicator]: refs.requiredIndicator,
|
|
4011
|
+
[vars$z.labelFontWeight]: '400',
|
|
4012
|
+
[vars$z.labelLineHeight]: checkboxSize,
|
|
4013
|
+
[vars$z.labelSpacing]: '1em',
|
|
4014
|
+
[vars$z.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
4015
|
+
[vars$z.inputOutlineWidth]: refs.outlineWidth,
|
|
4016
|
+
[vars$z.inputOutlineOffset]: refs.outlineOffset,
|
|
4017
|
+
[vars$z.inputOutlineColor]: refs.outlineColor,
|
|
4018
|
+
[vars$z.inputOutlineStyle]: refs.outlineStyle,
|
|
4019
|
+
[vars$z.inputBorderRadius]: refs.borderRadius,
|
|
4020
|
+
[vars$z.inputBorderColor]: refs.borderColor,
|
|
4021
|
+
[vars$z.inputBorderWidth]: refs.borderWidth,
|
|
4022
|
+
[vars$z.inputBorderStyle]: refs.borderStyle,
|
|
4023
|
+
[vars$z.inputBackgroundColor]: refs.backgroundColor,
|
|
4024
|
+
[vars$z.inputSize]: checkboxSize,
|
|
4024
4025
|
|
|
4025
4026
|
_checked: {
|
|
4026
|
-
[vars$
|
|
4027
|
+
[vars$z.inputValueTextColor]: refs.valueTextColor,
|
|
4027
4028
|
},
|
|
4028
4029
|
|
|
4029
4030
|
_disabled: {
|
|
4030
|
-
[vars$
|
|
4031
|
+
[vars$z.labelTextColor]: refs.labelTextColor,
|
|
4031
4032
|
},
|
|
4032
4033
|
};
|
|
4033
4034
|
|
|
4034
4035
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
|
4035
4036
|
__proto__: null,
|
|
4036
4037
|
default: checkbox,
|
|
4037
|
-
vars: vars$
|
|
4038
|
+
vars: vars$z
|
|
4038
4039
|
});
|
|
4039
4040
|
|
|
4040
|
-
const componentName$
|
|
4041
|
+
const componentName$G = getComponentName('switch-toggle');
|
|
4041
4042
|
|
|
4042
4043
|
const {
|
|
4043
4044
|
host: host$i,
|
|
@@ -4169,82 +4170,82 @@ const SwitchToggleClass = compose(
|
|
|
4169
4170
|
}
|
|
4170
4171
|
`,
|
|
4171
4172
|
excludeAttrsSync: ['label', 'tabindex'],
|
|
4172
|
-
componentName: componentName$
|
|
4173
|
+
componentName: componentName$G,
|
|
4173
4174
|
})
|
|
4174
4175
|
);
|
|
4175
4176
|
|
|
4176
4177
|
const knobMargin = '2px';
|
|
4177
4178
|
const checkboxHeight = '1.25em';
|
|
4178
4179
|
|
|
4179
|
-
const globalRefs$
|
|
4180
|
-
const vars$
|
|
4180
|
+
const globalRefs$m = getThemeRefs(globals);
|
|
4181
|
+
const vars$y = SwitchToggleClass.cssVarList;
|
|
4181
4182
|
|
|
4182
4183
|
const switchToggle = {
|
|
4183
|
-
[vars$
|
|
4184
|
-
[vars$
|
|
4185
|
-
[vars$
|
|
4186
|
-
[vars$
|
|
4187
|
-
|
|
4188
|
-
[vars$
|
|
4189
|
-
[vars$
|
|
4190
|
-
[vars$
|
|
4191
|
-
[vars$
|
|
4192
|
-
|
|
4193
|
-
[vars$
|
|
4194
|
-
[vars$
|
|
4195
|
-
[vars$
|
|
4196
|
-
[vars$
|
|
4197
|
-
[vars$
|
|
4198
|
-
[vars$
|
|
4199
|
-
[vars$
|
|
4200
|
-
|
|
4201
|
-
[vars$
|
|
4202
|
-
[vars$
|
|
4203
|
-
[vars$
|
|
4204
|
-
[vars$
|
|
4205
|
-
[vars$
|
|
4206
|
-
[vars$
|
|
4207
|
-
|
|
4208
|
-
[vars$
|
|
4209
|
-
[vars$
|
|
4210
|
-
[vars$
|
|
4211
|
-
[vars$
|
|
4212
|
-
[vars$
|
|
4213
|
-
[vars$
|
|
4184
|
+
[vars$y.hostWidth]: refs.width,
|
|
4185
|
+
[vars$y.hostDirection]: refs.direction,
|
|
4186
|
+
[vars$y.fontSize]: refs.fontSize,
|
|
4187
|
+
[vars$y.fontFamily]: refs.fontFamily,
|
|
4188
|
+
|
|
4189
|
+
[vars$y.inputOutlineWidth]: refs.outlineWidth,
|
|
4190
|
+
[vars$y.inputOutlineOffset]: refs.outlineOffset,
|
|
4191
|
+
[vars$y.inputOutlineColor]: refs.outlineColor,
|
|
4192
|
+
[vars$y.inputOutlineStyle]: refs.outlineStyle,
|
|
4193
|
+
|
|
4194
|
+
[vars$y.trackBorderStyle]: refs.borderStyle,
|
|
4195
|
+
[vars$y.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
|
4196
|
+
[vars$y.trackBorderColor]: refs.borderColor,
|
|
4197
|
+
[vars$y.trackBackgroundColor]: refs.backgroundColor,
|
|
4198
|
+
[vars$y.trackBorderRadius]: globalRefs$m.radius.md,
|
|
4199
|
+
[vars$y.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
|
4200
|
+
[vars$y.trackHeight]: checkboxHeight,
|
|
4201
|
+
|
|
4202
|
+
[vars$y.knobSize]: `calc(1em - ${knobMargin})`,
|
|
4203
|
+
[vars$y.knobRadius]: '50%',
|
|
4204
|
+
[vars$y.knobTopOffset]: '1px',
|
|
4205
|
+
[vars$y.knobLeftOffset]: knobMargin,
|
|
4206
|
+
[vars$y.knobColor]: refs.labelTextColor,
|
|
4207
|
+
[vars$y.knobTransitionDuration]: '0.3s',
|
|
4208
|
+
|
|
4209
|
+
[vars$y.labelTextColor]: refs.labelTextColor,
|
|
4210
|
+
[vars$y.labelFontWeight]: '400',
|
|
4211
|
+
[vars$y.labelLineHeight]: '1.35em',
|
|
4212
|
+
[vars$y.labelSpacing]: '1em',
|
|
4213
|
+
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
|
4214
|
+
[vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
4214
4215
|
|
|
4215
4216
|
_checked: {
|
|
4216
|
-
[vars$
|
|
4217
|
-
[vars$
|
|
4218
|
-
[vars$
|
|
4219
|
-
[vars$
|
|
4217
|
+
[vars$y.trackBorderColor]: refs.borderColor,
|
|
4218
|
+
[vars$y.knobLeftOffset]: `calc(100% - var(${vars$y.knobSize}) - ${knobMargin})`,
|
|
4219
|
+
[vars$y.knobColor]: refs.valueTextColor,
|
|
4220
|
+
[vars$y.knobTextColor]: refs.valueTextColor,
|
|
4220
4221
|
},
|
|
4221
4222
|
|
|
4222
4223
|
_disabled: {
|
|
4223
|
-
[vars$
|
|
4224
|
-
[vars$
|
|
4225
|
-
[vars$
|
|
4226
|
-
[vars$
|
|
4224
|
+
[vars$y.knobColor]: globalRefs$m.colors.surface.light,
|
|
4225
|
+
[vars$y.trackBorderColor]: globalRefs$m.colors.surface.light,
|
|
4226
|
+
[vars$y.trackBackgroundColor]: globalRefs$m.colors.surface.main,
|
|
4227
|
+
[vars$y.labelTextColor]: refs.labelTextColor,
|
|
4227
4228
|
_checked: {
|
|
4228
|
-
[vars$
|
|
4229
|
-
[vars$
|
|
4229
|
+
[vars$y.knobColor]: globalRefs$m.colors.surface.light,
|
|
4230
|
+
[vars$y.trackBackgroundColor]: globalRefs$m.colors.surface.main,
|
|
4230
4231
|
},
|
|
4231
4232
|
},
|
|
4232
4233
|
|
|
4233
4234
|
_invalid: {
|
|
4234
|
-
[vars$
|
|
4235
|
-
[vars$
|
|
4235
|
+
[vars$y.trackBorderColor]: globalRefs$m.colors.error.main,
|
|
4236
|
+
[vars$y.knobColor]: globalRefs$m.colors.error.main,
|
|
4236
4237
|
},
|
|
4237
4238
|
};
|
|
4238
4239
|
|
|
4239
4240
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
|
4240
4241
|
__proto__: null,
|
|
4241
4242
|
default: switchToggle,
|
|
4242
|
-
vars: vars$
|
|
4243
|
+
vars: vars$y
|
|
4243
4244
|
});
|
|
4244
4245
|
|
|
4245
|
-
const componentName$
|
|
4246
|
+
const componentName$F = getComponentName('container');
|
|
4246
4247
|
|
|
4247
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
|
4248
|
+
class RawContainer extends createBaseClass({ componentName: componentName$F, baseSelector: 'slot' }) {
|
|
4248
4249
|
constructor() {
|
|
4249
4250
|
super();
|
|
4250
4251
|
|
|
@@ -4297,7 +4298,7 @@ const ContainerClass = compose(
|
|
|
4297
4298
|
componentNameValidationMixin
|
|
4298
4299
|
)(RawContainer);
|
|
4299
4300
|
|
|
4300
|
-
const globalRefs$
|
|
4301
|
+
const globalRefs$l = getThemeRefs(globals);
|
|
4301
4302
|
|
|
4302
4303
|
const compVars$4 = ContainerClass.cssVarList;
|
|
4303
4304
|
|
|
@@ -4319,7 +4320,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
|
4319
4320
|
horizontalAlignment,
|
|
4320
4321
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
4321
4322
|
},
|
|
4322
|
-
componentName$
|
|
4323
|
+
componentName$F
|
|
4323
4324
|
);
|
|
4324
4325
|
|
|
4325
4326
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
|
@@ -4329,10 +4330,10 @@ const container = {
|
|
|
4329
4330
|
|
|
4330
4331
|
[compVars$4.hostWidth]: '100%',
|
|
4331
4332
|
[compVars$4.boxShadow]: 'none',
|
|
4332
|
-
[compVars$4.backgroundColor]: globalRefs$
|
|
4333
|
-
[compVars$4.color]: globalRefs$
|
|
4333
|
+
[compVars$4.backgroundColor]: globalRefs$l.colors.surface.main,
|
|
4334
|
+
[compVars$4.color]: globalRefs$l.colors.surface.contrast,
|
|
4334
4335
|
[compVars$4.borderRadius]: '0px',
|
|
4335
|
-
[compVars$4.hostDirection]: globalRefs$
|
|
4336
|
+
[compVars$4.hostDirection]: globalRefs$l.direction,
|
|
4336
4337
|
|
|
4337
4338
|
verticalPadding: {
|
|
4338
4339
|
sm: { [compVars$4.verticalPadding]: '5px' },
|
|
@@ -4378,34 +4379,34 @@ const container = {
|
|
|
4378
4379
|
|
|
4379
4380
|
shadow: {
|
|
4380
4381
|
sm: {
|
|
4381
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
|
4382
|
+
[compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.sm} ${shadowColor$1}`,
|
|
4382
4383
|
},
|
|
4383
4384
|
md: {
|
|
4384
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
|
4385
|
+
[compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.md} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.md} ${shadowColor$1}`,
|
|
4385
4386
|
},
|
|
4386
4387
|
lg: {
|
|
4387
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
|
4388
|
+
[compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.lg} ${shadowColor$1}`,
|
|
4388
4389
|
},
|
|
4389
4390
|
xl: {
|
|
4390
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
|
4391
|
+
[compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.xl} ${shadowColor$1}`,
|
|
4391
4392
|
},
|
|
4392
4393
|
'2xl': {
|
|
4393
4394
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
|
4394
|
-
[compVars$4.boxShadow]: `${globalRefs$
|
|
4395
|
+
[compVars$4.boxShadow]: `${globalRefs$l.shadow.wide['2xl']} ${shadowColor$1}`,
|
|
4395
4396
|
},
|
|
4396
4397
|
},
|
|
4397
4398
|
|
|
4398
4399
|
borderRadius: {
|
|
4399
|
-
sm: { [compVars$4.borderRadius]: globalRefs$
|
|
4400
|
-
md: { [compVars$4.borderRadius]: globalRefs$
|
|
4401
|
-
lg: { [compVars$4.borderRadius]: globalRefs$
|
|
4402
|
-
xl: { [compVars$4.borderRadius]: globalRefs$
|
|
4403
|
-
'2xl': { [compVars$4.borderRadius]: globalRefs$
|
|
4404
|
-
'3xl': { [compVars$4.borderRadius]: globalRefs$
|
|
4400
|
+
sm: { [compVars$4.borderRadius]: globalRefs$l.radius.sm },
|
|
4401
|
+
md: { [compVars$4.borderRadius]: globalRefs$l.radius.md },
|
|
4402
|
+
lg: { [compVars$4.borderRadius]: globalRefs$l.radius.lg },
|
|
4403
|
+
xl: { [compVars$4.borderRadius]: globalRefs$l.radius.xl },
|
|
4404
|
+
'2xl': { [compVars$4.borderRadius]: globalRefs$l.radius['2xl'] },
|
|
4405
|
+
'3xl': { [compVars$4.borderRadius]: globalRefs$l.radius['3xl'] },
|
|
4405
4406
|
},
|
|
4406
4407
|
};
|
|
4407
4408
|
|
|
4408
|
-
const vars$
|
|
4409
|
+
const vars$x = {
|
|
4409
4410
|
...compVars$4,
|
|
4410
4411
|
...helperVars$2,
|
|
4411
4412
|
};
|
|
@@ -4413,7 +4414,7 @@ const vars$w = {
|
|
|
4413
4414
|
var container$1 = /*#__PURE__*/Object.freeze({
|
|
4414
4415
|
__proto__: null,
|
|
4415
4416
|
default: container,
|
|
4416
|
-
vars: vars$
|
|
4417
|
+
vars: vars$x
|
|
4417
4418
|
});
|
|
4418
4419
|
|
|
4419
4420
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
|
@@ -4466,69 +4467,69 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
|
4466
4467
|
return CssVarImageClass;
|
|
4467
4468
|
};
|
|
4468
4469
|
|
|
4469
|
-
const componentName$
|
|
4470
|
+
const componentName$E = getComponentName('logo');
|
|
4470
4471
|
|
|
4471
4472
|
const LogoClass = createCssVarImageClass({
|
|
4472
|
-
componentName: componentName$
|
|
4473
|
+
componentName: componentName$E,
|
|
4473
4474
|
varName: 'url',
|
|
4474
4475
|
fallbackVarName: 'fallbackUrl',
|
|
4475
4476
|
});
|
|
4476
4477
|
|
|
4477
|
-
const vars$
|
|
4478
|
+
const vars$w = LogoClass.cssVarList;
|
|
4478
4479
|
|
|
4479
4480
|
const logo$2 = {
|
|
4480
|
-
[vars$
|
|
4481
|
+
[vars$w.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
|
4481
4482
|
};
|
|
4482
4483
|
|
|
4483
4484
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
|
4484
4485
|
__proto__: null,
|
|
4485
4486
|
default: logo$2,
|
|
4486
|
-
vars: vars$
|
|
4487
|
+
vars: vars$w
|
|
4487
4488
|
});
|
|
4488
4489
|
|
|
4489
|
-
const componentName$
|
|
4490
|
+
const componentName$D = getComponentName('totp-image');
|
|
4490
4491
|
|
|
4491
4492
|
const TotpImageClass = createCssVarImageClass({
|
|
4492
|
-
componentName: componentName$
|
|
4493
|
+
componentName: componentName$D,
|
|
4493
4494
|
varName: 'url',
|
|
4494
4495
|
fallbackVarName: 'fallbackUrl',
|
|
4495
4496
|
});
|
|
4496
4497
|
|
|
4497
|
-
const vars$
|
|
4498
|
+
const vars$v = TotpImageClass.cssVarList;
|
|
4498
4499
|
|
|
4499
4500
|
const logo$1 = {
|
|
4500
|
-
[vars$
|
|
4501
|
+
[vars$v.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
|
4501
4502
|
};
|
|
4502
4503
|
|
|
4503
4504
|
var totpImage = /*#__PURE__*/Object.freeze({
|
|
4504
4505
|
__proto__: null,
|
|
4505
4506
|
default: logo$1,
|
|
4506
|
-
vars: vars$
|
|
4507
|
+
vars: vars$v
|
|
4507
4508
|
});
|
|
4508
4509
|
|
|
4509
|
-
const componentName$
|
|
4510
|
+
const componentName$C = getComponentName('notp-image');
|
|
4510
4511
|
|
|
4511
4512
|
const NotpImageClass = createCssVarImageClass({
|
|
4512
|
-
componentName: componentName$
|
|
4513
|
+
componentName: componentName$C,
|
|
4513
4514
|
varName: 'url',
|
|
4514
4515
|
fallbackVarName: 'fallbackUrl',
|
|
4515
4516
|
});
|
|
4516
4517
|
|
|
4517
|
-
const vars$
|
|
4518
|
+
const vars$u = NotpImageClass.cssVarList;
|
|
4518
4519
|
|
|
4519
4520
|
const logo = {
|
|
4520
|
-
[vars$
|
|
4521
|
+
[vars$u.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
|
4521
4522
|
};
|
|
4522
4523
|
|
|
4523
4524
|
var notpImage = /*#__PURE__*/Object.freeze({
|
|
4524
4525
|
__proto__: null,
|
|
4525
4526
|
default: logo,
|
|
4526
|
-
vars: vars$
|
|
4527
|
+
vars: vars$u
|
|
4527
4528
|
});
|
|
4528
4529
|
|
|
4529
|
-
const componentName$
|
|
4530
|
+
const componentName$B = getComponentName('text');
|
|
4530
4531
|
|
|
4531
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
|
4532
|
+
class RawText extends createBaseClass({ componentName: componentName$B, baseSelector: ':host > slot' }) {
|
|
4532
4533
|
constructor() {
|
|
4533
4534
|
super();
|
|
4534
4535
|
|
|
@@ -4536,6 +4537,7 @@ class RawText extends createBaseClass({ componentName: componentName$A, baseSele
|
|
|
4536
4537
|
<style>
|
|
4537
4538
|
:host {
|
|
4538
4539
|
display: inline-block;
|
|
4540
|
+
line-height: 1em;
|
|
4539
4541
|
}
|
|
4540
4542
|
:host > slot {
|
|
4541
4543
|
width: 100%;
|
|
@@ -4584,94 +4586,94 @@ const TextClass = compose(
|
|
|
4584
4586
|
componentNameValidationMixin
|
|
4585
4587
|
)(RawText);
|
|
4586
4588
|
|
|
4587
|
-
const globalRefs$
|
|
4588
|
-
const vars$
|
|
4589
|
+
const globalRefs$k = getThemeRefs(globals);
|
|
4590
|
+
const vars$t = TextClass.cssVarList;
|
|
4589
4591
|
|
|
4590
4592
|
const text$2 = {
|
|
4591
|
-
[vars$
|
|
4592
|
-
[vars$
|
|
4593
|
-
[vars$
|
|
4594
|
-
[vars$
|
|
4593
|
+
[vars$t.hostDirection]: globalRefs$k.direction,
|
|
4594
|
+
[vars$t.textLineHeight]: '1.35em',
|
|
4595
|
+
[vars$t.textAlign]: 'left',
|
|
4596
|
+
[vars$t.textColor]: globalRefs$k.colors.surface.dark,
|
|
4595
4597
|
variant: {
|
|
4596
4598
|
h1: {
|
|
4597
|
-
[vars$
|
|
4598
|
-
[vars$
|
|
4599
|
-
[vars$
|
|
4599
|
+
[vars$t.fontSize]: globalRefs$k.typography.h1.size,
|
|
4600
|
+
[vars$t.fontWeight]: globalRefs$k.typography.h1.weight,
|
|
4601
|
+
[vars$t.fontFamily]: globalRefs$k.typography.h1.font,
|
|
4600
4602
|
},
|
|
4601
4603
|
h2: {
|
|
4602
|
-
[vars$
|
|
4603
|
-
[vars$
|
|
4604
|
-
[vars$
|
|
4604
|
+
[vars$t.fontSize]: globalRefs$k.typography.h2.size,
|
|
4605
|
+
[vars$t.fontWeight]: globalRefs$k.typography.h2.weight,
|
|
4606
|
+
[vars$t.fontFamily]: globalRefs$k.typography.h2.font,
|
|
4605
4607
|
},
|
|
4606
4608
|
h3: {
|
|
4607
|
-
[vars$
|
|
4608
|
-
[vars$
|
|
4609
|
-
[vars$
|
|
4609
|
+
[vars$t.fontSize]: globalRefs$k.typography.h3.size,
|
|
4610
|
+
[vars$t.fontWeight]: globalRefs$k.typography.h3.weight,
|
|
4611
|
+
[vars$t.fontFamily]: globalRefs$k.typography.h3.font,
|
|
4610
4612
|
},
|
|
4611
4613
|
subtitle1: {
|
|
4612
|
-
[vars$
|
|
4613
|
-
[vars$
|
|
4614
|
-
[vars$
|
|
4614
|
+
[vars$t.fontSize]: globalRefs$k.typography.subtitle1.size,
|
|
4615
|
+
[vars$t.fontWeight]: globalRefs$k.typography.subtitle1.weight,
|
|
4616
|
+
[vars$t.fontFamily]: globalRefs$k.typography.subtitle1.font,
|
|
4615
4617
|
},
|
|
4616
4618
|
subtitle2: {
|
|
4617
|
-
[vars$
|
|
4618
|
-
[vars$
|
|
4619
|
-
[vars$
|
|
4619
|
+
[vars$t.fontSize]: globalRefs$k.typography.subtitle2.size,
|
|
4620
|
+
[vars$t.fontWeight]: globalRefs$k.typography.subtitle2.weight,
|
|
4621
|
+
[vars$t.fontFamily]: globalRefs$k.typography.subtitle2.font,
|
|
4620
4622
|
},
|
|
4621
4623
|
body1: {
|
|
4622
|
-
[vars$
|
|
4623
|
-
[vars$
|
|
4624
|
-
[vars$
|
|
4624
|
+
[vars$t.fontSize]: globalRefs$k.typography.body1.size,
|
|
4625
|
+
[vars$t.fontWeight]: globalRefs$k.typography.body1.weight,
|
|
4626
|
+
[vars$t.fontFamily]: globalRefs$k.typography.body1.font,
|
|
4625
4627
|
},
|
|
4626
4628
|
body2: {
|
|
4627
|
-
[vars$
|
|
4628
|
-
[vars$
|
|
4629
|
-
[vars$
|
|
4629
|
+
[vars$t.fontSize]: globalRefs$k.typography.body2.size,
|
|
4630
|
+
[vars$t.fontWeight]: globalRefs$k.typography.body2.weight,
|
|
4631
|
+
[vars$t.fontFamily]: globalRefs$k.typography.body2.font,
|
|
4630
4632
|
},
|
|
4631
4633
|
},
|
|
4632
4634
|
|
|
4633
4635
|
mode: {
|
|
4634
4636
|
primary: {
|
|
4635
|
-
[vars$
|
|
4637
|
+
[vars$t.textColor]: globalRefs$k.colors.surface.contrast,
|
|
4636
4638
|
},
|
|
4637
4639
|
secondary: {
|
|
4638
|
-
[vars$
|
|
4640
|
+
[vars$t.textColor]: globalRefs$k.colors.surface.dark,
|
|
4639
4641
|
},
|
|
4640
4642
|
error: {
|
|
4641
|
-
[vars$
|
|
4643
|
+
[vars$t.textColor]: globalRefs$k.colors.error.main,
|
|
4642
4644
|
},
|
|
4643
4645
|
success: {
|
|
4644
|
-
[vars$
|
|
4646
|
+
[vars$t.textColor]: globalRefs$k.colors.success.main,
|
|
4645
4647
|
},
|
|
4646
4648
|
},
|
|
4647
4649
|
|
|
4648
4650
|
textAlign: {
|
|
4649
|
-
right: { [vars$
|
|
4650
|
-
left: { [vars$
|
|
4651
|
-
center: { [vars$
|
|
4651
|
+
right: { [vars$t.textAlign]: 'right' },
|
|
4652
|
+
left: { [vars$t.textAlign]: 'left' },
|
|
4653
|
+
center: { [vars$t.textAlign]: 'center' },
|
|
4652
4654
|
},
|
|
4653
4655
|
|
|
4654
4656
|
_fullWidth: {
|
|
4655
|
-
[vars$
|
|
4657
|
+
[vars$t.hostWidth]: '100%',
|
|
4656
4658
|
},
|
|
4657
4659
|
|
|
4658
4660
|
_italic: {
|
|
4659
|
-
[vars$
|
|
4661
|
+
[vars$t.fontStyle]: 'italic',
|
|
4660
4662
|
},
|
|
4661
4663
|
|
|
4662
4664
|
_uppercase: {
|
|
4663
|
-
[vars$
|
|
4665
|
+
[vars$t.textTransform]: 'uppercase',
|
|
4664
4666
|
},
|
|
4665
4667
|
|
|
4666
4668
|
_lowercase: {
|
|
4667
|
-
[vars$
|
|
4669
|
+
[vars$t.textTransform]: 'lowercase',
|
|
4668
4670
|
},
|
|
4669
4671
|
};
|
|
4670
4672
|
|
|
4671
4673
|
var text$3 = /*#__PURE__*/Object.freeze({
|
|
4672
4674
|
__proto__: null,
|
|
4673
4675
|
default: text$2,
|
|
4674
|
-
vars: vars$
|
|
4676
|
+
vars: vars$t
|
|
4675
4677
|
});
|
|
4676
4678
|
|
|
4677
4679
|
const textRuleSet = {
|
|
@@ -4688,9 +4690,9 @@ const textRuleSet = {
|
|
|
4688
4690
|
},
|
|
4689
4691
|
};
|
|
4690
4692
|
|
|
4691
|
-
const componentName$
|
|
4693
|
+
const componentName$A = getComponentName('enriched-text');
|
|
4692
4694
|
|
|
4693
|
-
let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName: componentName$
|
|
4695
|
+
let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName: componentName$A, baseSelector: ':host > div' }) {
|
|
4694
4696
|
#origLinkRenderer;
|
|
4695
4697
|
|
|
4696
4698
|
constructor() {
|
|
@@ -4700,6 +4702,7 @@ let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName:
|
|
|
4700
4702
|
<style>
|
|
4701
4703
|
:host {
|
|
4702
4704
|
display: inline-block;
|
|
4705
|
+
line-height: 1em;
|
|
4703
4706
|
}
|
|
4704
4707
|
:host > slot {
|
|
4705
4708
|
width: 100%;
|
|
@@ -4850,9 +4853,9 @@ const EnrichedTextClass = compose(
|
|
|
4850
4853
|
componentNameValidationMixin
|
|
4851
4854
|
)(EnrichedText$2);
|
|
4852
4855
|
|
|
4853
|
-
const componentName$
|
|
4856
|
+
const componentName$z = getComponentName('link');
|
|
4854
4857
|
|
|
4855
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
|
4858
|
+
class RawLink extends createBaseClass({ componentName: componentName$z, baseSelector: ':host a' }) {
|
|
4856
4859
|
constructor() {
|
|
4857
4860
|
super();
|
|
4858
4861
|
|
|
@@ -4860,6 +4863,7 @@ class RawLink extends createBaseClass({ componentName: componentName$y, baseSele
|
|
|
4860
4863
|
<style>
|
|
4861
4864
|
:host {
|
|
4862
4865
|
display: inline-block;
|
|
4866
|
+
line-height: 1em;
|
|
4863
4867
|
}
|
|
4864
4868
|
:host a {
|
|
4865
4869
|
display: inline;
|
|
@@ -4917,135 +4921,135 @@ const LinkClass = compose(
|
|
|
4917
4921
|
componentNameValidationMixin
|
|
4918
4922
|
)(RawLink);
|
|
4919
4923
|
|
|
4920
|
-
const globalRefs$
|
|
4921
|
-
const vars$
|
|
4924
|
+
const globalRefs$j = getThemeRefs(globals);
|
|
4925
|
+
const vars$s = EnrichedTextClass.cssVarList;
|
|
4922
4926
|
|
|
4923
4927
|
const EnrichedText = {
|
|
4924
|
-
[vars$
|
|
4928
|
+
[vars$s.hostDirection]: globalRefs$j.direction,
|
|
4925
4929
|
|
|
4926
|
-
[vars$
|
|
4927
|
-
[vars$
|
|
4928
|
-
[vars$
|
|
4930
|
+
[vars$s.fontSize]: globalRefs$j.typography.body1.size,
|
|
4931
|
+
[vars$s.fontWeight]: globalRefs$j.typography.body1.weight,
|
|
4932
|
+
[vars$s.fontFamily]: globalRefs$j.typography.body1.font,
|
|
4929
4933
|
|
|
4930
|
-
[vars$
|
|
4931
|
-
[vars$
|
|
4932
|
-
[vars$
|
|
4934
|
+
[vars$s.textLineHeight]: '1.35em',
|
|
4935
|
+
[vars$s.textAlign]: 'left',
|
|
4936
|
+
[vars$s.textColor]: globalRefs$j.colors.surface.dark,
|
|
4933
4937
|
|
|
4934
|
-
[vars$
|
|
4938
|
+
[vars$s.linkColor]: `var(${LinkClass.cssVarList.textColor})`,
|
|
4935
4939
|
|
|
4936
4940
|
mode: {
|
|
4937
4941
|
primary: {
|
|
4938
|
-
[vars$
|
|
4942
|
+
[vars$s.textColor]: globalRefs$j.colors.surface.contrast,
|
|
4939
4943
|
},
|
|
4940
4944
|
secondary: {
|
|
4941
|
-
[vars$
|
|
4945
|
+
[vars$s.textColor]: globalRefs$j.colors.surface.dark,
|
|
4942
4946
|
},
|
|
4943
4947
|
error: {
|
|
4944
|
-
[vars$
|
|
4948
|
+
[vars$s.textColor]: globalRefs$j.colors.error.main,
|
|
4945
4949
|
},
|
|
4946
4950
|
success: {
|
|
4947
|
-
[vars$
|
|
4951
|
+
[vars$s.textColor]: globalRefs$j.colors.success.main,
|
|
4948
4952
|
},
|
|
4949
4953
|
},
|
|
4950
4954
|
|
|
4951
4955
|
variant: {
|
|
4952
4956
|
h1: {
|
|
4953
|
-
[vars$
|
|
4954
|
-
[vars$
|
|
4955
|
-
[vars$
|
|
4957
|
+
[vars$s.fontSize]: globalRefs$j.typography.h1.size,
|
|
4958
|
+
[vars$s.fontWeight]: globalRefs$j.typography.h1.weight,
|
|
4959
|
+
[vars$s.fontFamily]: globalRefs$j.typography.h1.font,
|
|
4956
4960
|
},
|
|
4957
4961
|
h2: {
|
|
4958
|
-
[vars$
|
|
4959
|
-
[vars$
|
|
4960
|
-
[vars$
|
|
4962
|
+
[vars$s.fontSize]: globalRefs$j.typography.h2.size,
|
|
4963
|
+
[vars$s.fontWeight]: globalRefs$j.typography.h2.weight,
|
|
4964
|
+
[vars$s.fontFamily]: globalRefs$j.typography.h2.font,
|
|
4961
4965
|
},
|
|
4962
4966
|
h3: {
|
|
4963
|
-
[vars$
|
|
4964
|
-
[vars$
|
|
4965
|
-
[vars$
|
|
4967
|
+
[vars$s.fontSize]: globalRefs$j.typography.h3.size,
|
|
4968
|
+
[vars$s.fontWeight]: globalRefs$j.typography.h3.weight,
|
|
4969
|
+
[vars$s.fontFamily]: globalRefs$j.typography.h3.font,
|
|
4966
4970
|
},
|
|
4967
4971
|
subtitle1: {
|
|
4968
|
-
[vars$
|
|
4969
|
-
[vars$
|
|
4970
|
-
[vars$
|
|
4972
|
+
[vars$s.fontSize]: globalRefs$j.typography.subtitle1.size,
|
|
4973
|
+
[vars$s.fontWeight]: globalRefs$j.typography.subtitle1.weight,
|
|
4974
|
+
[vars$s.fontFamily]: globalRefs$j.typography.subtitle1.font,
|
|
4971
4975
|
},
|
|
4972
4976
|
subtitle2: {
|
|
4973
|
-
[vars$
|
|
4974
|
-
[vars$
|
|
4975
|
-
[vars$
|
|
4977
|
+
[vars$s.fontSize]: globalRefs$j.typography.subtitle2.size,
|
|
4978
|
+
[vars$s.fontWeight]: globalRefs$j.typography.subtitle2.weight,
|
|
4979
|
+
[vars$s.fontFamily]: globalRefs$j.typography.subtitle2.font,
|
|
4976
4980
|
},
|
|
4977
4981
|
body1: {
|
|
4978
|
-
[vars$
|
|
4979
|
-
[vars$
|
|
4980
|
-
[vars$
|
|
4982
|
+
[vars$s.fontSize]: globalRefs$j.typography.body1.size,
|
|
4983
|
+
[vars$s.fontWeight]: globalRefs$j.typography.body1.weight,
|
|
4984
|
+
[vars$s.fontFamily]: globalRefs$j.typography.body1.font,
|
|
4981
4985
|
},
|
|
4982
4986
|
body2: {
|
|
4983
|
-
[vars$
|
|
4984
|
-
[vars$
|
|
4985
|
-
[vars$
|
|
4987
|
+
[vars$s.fontSize]: globalRefs$j.typography.body2.size,
|
|
4988
|
+
[vars$s.fontWeight]: globalRefs$j.typography.body2.weight,
|
|
4989
|
+
[vars$s.fontFamily]: globalRefs$j.typography.body2.font,
|
|
4986
4990
|
},
|
|
4987
4991
|
},
|
|
4988
4992
|
|
|
4989
4993
|
textAlign: {
|
|
4990
|
-
right: { [vars$
|
|
4991
|
-
left: { [vars$
|
|
4992
|
-
center: { [vars$
|
|
4994
|
+
right: { [vars$s.textAlign]: 'right' },
|
|
4995
|
+
left: { [vars$s.textAlign]: 'left' },
|
|
4996
|
+
center: { [vars$s.textAlign]: 'center' },
|
|
4993
4997
|
},
|
|
4994
4998
|
|
|
4995
4999
|
_fullWidth: {
|
|
4996
|
-
[vars$
|
|
5000
|
+
[vars$s.hostWidth]: '100%',
|
|
4997
5001
|
},
|
|
4998
5002
|
};
|
|
4999
5003
|
|
|
5000
5004
|
var EnrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
5001
5005
|
__proto__: null,
|
|
5002
5006
|
default: EnrichedText,
|
|
5003
|
-
vars: vars$
|
|
5007
|
+
vars: vars$s
|
|
5004
5008
|
});
|
|
5005
5009
|
|
|
5006
|
-
const globalRefs$
|
|
5007
|
-
const vars$
|
|
5010
|
+
const globalRefs$i = getThemeRefs(globals);
|
|
5011
|
+
const vars$r = LinkClass.cssVarList;
|
|
5008
5012
|
|
|
5009
|
-
const link = {
|
|
5010
|
-
[vars$
|
|
5011
|
-
[vars$
|
|
5013
|
+
const link$1 = {
|
|
5014
|
+
[vars$r.hostDirection]: globalRefs$i.direction,
|
|
5015
|
+
[vars$r.cursor]: 'pointer',
|
|
5012
5016
|
|
|
5013
|
-
[vars$
|
|
5017
|
+
[vars$r.textColor]: globalRefs$i.colors.primary.main,
|
|
5014
5018
|
|
|
5015
5019
|
textAlign: {
|
|
5016
|
-
right: { [vars$
|
|
5017
|
-
left: { [vars$
|
|
5018
|
-
center: { [vars$
|
|
5020
|
+
right: { [vars$r.textAlign]: 'right' },
|
|
5021
|
+
left: { [vars$r.textAlign]: 'left' },
|
|
5022
|
+
center: { [vars$r.textAlign]: 'center' },
|
|
5019
5023
|
},
|
|
5020
5024
|
|
|
5021
5025
|
_fullWidth: {
|
|
5022
|
-
[vars$
|
|
5026
|
+
[vars$r.hostWidth]: '100%',
|
|
5023
5027
|
},
|
|
5024
5028
|
|
|
5025
5029
|
mode: {
|
|
5026
5030
|
primary: {
|
|
5027
|
-
[vars$
|
|
5031
|
+
[vars$r.textColor]: globalRefs$i.colors.primary.main,
|
|
5028
5032
|
},
|
|
5029
5033
|
secondary: {
|
|
5030
|
-
[vars$
|
|
5034
|
+
[vars$r.textColor]: globalRefs$i.colors.secondary.main,
|
|
5031
5035
|
},
|
|
5032
5036
|
error: {
|
|
5033
|
-
[vars$
|
|
5037
|
+
[vars$r.textColor]: globalRefs$i.colors.error.main,
|
|
5034
5038
|
},
|
|
5035
5039
|
success: {
|
|
5036
|
-
[vars$
|
|
5040
|
+
[vars$r.textColor]: globalRefs$i.colors.success.main,
|
|
5037
5041
|
},
|
|
5038
5042
|
},
|
|
5039
5043
|
};
|
|
5040
5044
|
|
|
5041
|
-
var link$
|
|
5045
|
+
var link$2 = /*#__PURE__*/Object.freeze({
|
|
5042
5046
|
__proto__: null,
|
|
5043
|
-
default: link,
|
|
5044
|
-
vars: vars$
|
|
5047
|
+
default: link$1,
|
|
5048
|
+
vars: vars$r
|
|
5045
5049
|
});
|
|
5046
5050
|
|
|
5047
|
-
const componentName$
|
|
5048
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
5051
|
+
const componentName$y = getComponentName('divider');
|
|
5052
|
+
class RawDivider extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
|
|
5049
5053
|
constructor() {
|
|
5050
5054
|
super();
|
|
5051
5055
|
|
|
@@ -5144,7 +5148,7 @@ const DividerClass = compose(
|
|
|
5144
5148
|
componentNameValidationMixin
|
|
5145
5149
|
)(RawDivider);
|
|
5146
5150
|
|
|
5147
|
-
const globalRefs$
|
|
5151
|
+
const globalRefs$h = getThemeRefs(globals);
|
|
5148
5152
|
const compVars$3 = DividerClass.cssVarList;
|
|
5149
5153
|
|
|
5150
5154
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
@@ -5152,18 +5156,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
|
5152
5156
|
thickness: '2px',
|
|
5153
5157
|
spacing: '10px',
|
|
5154
5158
|
},
|
|
5155
|
-
componentName$
|
|
5159
|
+
componentName$y
|
|
5156
5160
|
);
|
|
5157
5161
|
|
|
5158
5162
|
const divider = {
|
|
5159
5163
|
...helperTheme$1,
|
|
5160
5164
|
|
|
5161
|
-
[compVars$3.hostDirection]: globalRefs$
|
|
5165
|
+
[compVars$3.hostDirection]: globalRefs$h.direction,
|
|
5162
5166
|
[compVars$3.alignItems]: 'center',
|
|
5163
5167
|
[compVars$3.flexDirection]: 'row',
|
|
5164
5168
|
[compVars$3.alignSelf]: 'stretch',
|
|
5165
5169
|
[compVars$3.hostWidth]: '100%',
|
|
5166
|
-
[compVars$3.stripeColor]: globalRefs$
|
|
5170
|
+
[compVars$3.stripeColor]: globalRefs$h.colors.surface.light,
|
|
5167
5171
|
[compVars$3.stripeColorOpacity]: '0.5',
|
|
5168
5172
|
[compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
|
|
5169
5173
|
[compVars$3.labelTextWidth]: 'fit-content',
|
|
@@ -5183,7 +5187,7 @@ const divider = {
|
|
|
5183
5187
|
},
|
|
5184
5188
|
};
|
|
5185
5189
|
|
|
5186
|
-
const vars$
|
|
5190
|
+
const vars$q = {
|
|
5187
5191
|
...compVars$3,
|
|
5188
5192
|
...helperVars$1,
|
|
5189
5193
|
};
|
|
@@ -5191,18 +5195,18 @@ const vars$p = {
|
|
|
5191
5195
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
|
5192
5196
|
__proto__: null,
|
|
5193
5197
|
default: divider,
|
|
5194
|
-
vars: vars$
|
|
5198
|
+
vars: vars$q
|
|
5195
5199
|
});
|
|
5196
5200
|
|
|
5197
5201
|
/* eslint-disable no-param-reassign */
|
|
5198
5202
|
|
|
5199
|
-
const componentName$
|
|
5203
|
+
const componentName$x = getComponentName('passcode-internal');
|
|
5200
5204
|
|
|
5201
|
-
createBaseInputClass({ componentName: componentName$
|
|
5205
|
+
createBaseInputClass({ componentName: componentName$x, baseSelector: 'div' });
|
|
5202
5206
|
|
|
5203
|
-
const componentName$
|
|
5207
|
+
const componentName$w = getComponentName('loader-radial');
|
|
5204
5208
|
|
|
5205
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
5209
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > div' }) {
|
|
5206
5210
|
constructor() {
|
|
5207
5211
|
super();
|
|
5208
5212
|
|
|
@@ -5246,7 +5250,7 @@ const LoaderRadialClass = compose(
|
|
|
5246
5250
|
componentNameValidationMixin
|
|
5247
5251
|
)(RawLoaderRadial);
|
|
5248
5252
|
|
|
5249
|
-
const componentName$
|
|
5253
|
+
const componentName$v = getComponentName('passcode');
|
|
5250
5254
|
|
|
5251
5255
|
const observedAttributes$3 = ['digits'];
|
|
5252
5256
|
|
|
@@ -5265,17 +5269,17 @@ const customMixin$6 = (superclass) =>
|
|
|
5265
5269
|
const template = document.createElement('template');
|
|
5266
5270
|
|
|
5267
5271
|
template.innerHTML = `
|
|
5268
|
-
<${componentName$
|
|
5272
|
+
<${componentName$x}
|
|
5269
5273
|
bordered="true"
|
|
5270
5274
|
name="code"
|
|
5271
5275
|
tabindex="-1"
|
|
5272
5276
|
slot="input"
|
|
5273
|
-
><slot></slot></${componentName$
|
|
5277
|
+
><slot></slot></${componentName$x}>
|
|
5274
5278
|
`;
|
|
5275
5279
|
|
|
5276
5280
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
5277
5281
|
|
|
5278
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
5282
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$x);
|
|
5279
5283
|
|
|
5280
5284
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
|
5281
5285
|
}
|
|
@@ -5422,56 +5426,56 @@ const PasscodeClass = compose(
|
|
|
5422
5426
|
${resetInputCursor('vaadin-text-field')}
|
|
5423
5427
|
`,
|
|
5424
5428
|
excludeAttrsSync: ['tabindex'],
|
|
5425
|
-
componentName: componentName$
|
|
5429
|
+
componentName: componentName$v,
|
|
5426
5430
|
})
|
|
5427
5431
|
);
|
|
5428
5432
|
|
|
5429
|
-
const vars$
|
|
5433
|
+
const vars$p = PasscodeClass.cssVarList;
|
|
5430
5434
|
|
|
5431
5435
|
const passcode = {
|
|
5432
|
-
[vars$
|
|
5433
|
-
[vars$
|
|
5434
|
-
[vars$
|
|
5435
|
-
[vars$
|
|
5436
|
-
[vars$
|
|
5437
|
-
[vars$
|
|
5438
|
-
[vars$
|
|
5439
|
-
[vars$
|
|
5440
|
-
[vars$
|
|
5441
|
-
[vars$
|
|
5442
|
-
[vars$
|
|
5443
|
-
[vars$
|
|
5444
|
-
[vars$
|
|
5445
|
-
[vars$
|
|
5446
|
-
[vars$
|
|
5436
|
+
[vars$p.hostDirection]: refs.direction,
|
|
5437
|
+
[vars$p.fontFamily]: refs.fontFamily,
|
|
5438
|
+
[vars$p.fontSize]: refs.fontSize,
|
|
5439
|
+
[vars$p.labelTextColor]: refs.labelTextColor,
|
|
5440
|
+
[vars$p.labelRequiredIndicator]: refs.requiredIndicator,
|
|
5441
|
+
[vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
5442
|
+
[vars$p.digitValueTextColor]: refs.valueTextColor,
|
|
5443
|
+
[vars$p.digitPadding]: '0',
|
|
5444
|
+
[vars$p.digitTextAlign]: 'center',
|
|
5445
|
+
[vars$p.digitSpacing]: '4px',
|
|
5446
|
+
[vars$p.hostWidth]: refs.width,
|
|
5447
|
+
[vars$p.digitOutlineColor]: 'transparent',
|
|
5448
|
+
[vars$p.digitOutlineWidth]: refs.outlineWidth,
|
|
5449
|
+
[vars$p.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
|
5450
|
+
[vars$p.digitSize]: refs.inputHeight,
|
|
5447
5451
|
|
|
5448
5452
|
size: {
|
|
5449
|
-
xs: { [vars$
|
|
5450
|
-
sm: { [vars$
|
|
5451
|
-
md: { [vars$
|
|
5452
|
-
lg: { [vars$
|
|
5453
|
+
xs: { [vars$p.spinnerSize]: '15px' },
|
|
5454
|
+
sm: { [vars$p.spinnerSize]: '20px' },
|
|
5455
|
+
md: { [vars$p.spinnerSize]: '20px' },
|
|
5456
|
+
lg: { [vars$p.spinnerSize]: '20px' },
|
|
5453
5457
|
},
|
|
5454
5458
|
|
|
5455
5459
|
_hideCursor: {
|
|
5456
|
-
[vars$
|
|
5460
|
+
[vars$p.digitCaretTextColor]: 'transparent',
|
|
5457
5461
|
},
|
|
5458
5462
|
|
|
5459
5463
|
_loading: {
|
|
5460
|
-
[vars$
|
|
5464
|
+
[vars$p.overlayOpacity]: refs.overlayOpacity,
|
|
5461
5465
|
},
|
|
5462
5466
|
};
|
|
5463
5467
|
|
|
5464
5468
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
|
5465
5469
|
__proto__: null,
|
|
5466
5470
|
default: passcode,
|
|
5467
|
-
vars: vars$
|
|
5471
|
+
vars: vars$p
|
|
5468
5472
|
});
|
|
5469
5473
|
|
|
5470
|
-
const componentName$
|
|
5474
|
+
const componentName$u = getComponentName('loader-linear');
|
|
5471
5475
|
|
|
5472
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
|
5476
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > div' }) {
|
|
5473
5477
|
static get componentName() {
|
|
5474
|
-
return componentName$
|
|
5478
|
+
return componentName$u;
|
|
5475
5479
|
}
|
|
5476
5480
|
|
|
5477
5481
|
constructor() {
|
|
@@ -5532,67 +5536,67 @@ const LoaderLinearClass = compose(
|
|
|
5532
5536
|
componentNameValidationMixin
|
|
5533
5537
|
)(RawLoaderLinear);
|
|
5534
5538
|
|
|
5535
|
-
const globalRefs$
|
|
5536
|
-
const vars$
|
|
5539
|
+
const globalRefs$g = getThemeRefs(globals);
|
|
5540
|
+
const vars$o = LoaderLinearClass.cssVarList;
|
|
5537
5541
|
|
|
5538
5542
|
const loaderLinear = {
|
|
5539
|
-
[vars$
|
|
5540
|
-
[vars$
|
|
5543
|
+
[vars$o.hostDisplay]: 'inline-block',
|
|
5544
|
+
[vars$o.hostWidth]: '100%',
|
|
5541
5545
|
|
|
5542
|
-
[vars$
|
|
5543
|
-
[vars$
|
|
5546
|
+
[vars$o.barColor]: globalRefs$g.colors.surface.contrast,
|
|
5547
|
+
[vars$o.barWidth]: '20%',
|
|
5544
5548
|
|
|
5545
|
-
[vars$
|
|
5546
|
-
[vars$
|
|
5549
|
+
[vars$o.barBackgroundColor]: globalRefs$g.colors.surface.light,
|
|
5550
|
+
[vars$o.barBorderRadius]: '4px',
|
|
5547
5551
|
|
|
5548
|
-
[vars$
|
|
5549
|
-
[vars$
|
|
5550
|
-
[vars$
|
|
5551
|
-
[vars$
|
|
5552
|
+
[vars$o.animationDuration]: '2s',
|
|
5553
|
+
[vars$o.animationTimingFunction]: 'linear',
|
|
5554
|
+
[vars$o.animationIterationCount]: 'infinite',
|
|
5555
|
+
[vars$o.verticalPadding]: '0.25em',
|
|
5552
5556
|
|
|
5553
5557
|
size: {
|
|
5554
|
-
xs: { [vars$
|
|
5555
|
-
sm: { [vars$
|
|
5556
|
-
md: { [vars$
|
|
5557
|
-
lg: { [vars$
|
|
5558
|
+
xs: { [vars$o.barHeight]: '2px' },
|
|
5559
|
+
sm: { [vars$o.barHeight]: '4px' },
|
|
5560
|
+
md: { [vars$o.barHeight]: '6px' },
|
|
5561
|
+
lg: { [vars$o.barHeight]: '8px' },
|
|
5558
5562
|
},
|
|
5559
5563
|
|
|
5560
5564
|
mode: {
|
|
5561
5565
|
primary: {
|
|
5562
|
-
[vars$
|
|
5566
|
+
[vars$o.barColor]: globalRefs$g.colors.primary.main,
|
|
5563
5567
|
},
|
|
5564
5568
|
secondary: {
|
|
5565
|
-
[vars$
|
|
5569
|
+
[vars$o.barColor]: globalRefs$g.colors.secondary.main,
|
|
5566
5570
|
},
|
|
5567
5571
|
},
|
|
5568
5572
|
|
|
5569
5573
|
_hidden: {
|
|
5570
|
-
[vars$
|
|
5574
|
+
[vars$o.hostDisplay]: 'none',
|
|
5571
5575
|
},
|
|
5572
5576
|
};
|
|
5573
5577
|
|
|
5574
5578
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
|
5575
5579
|
__proto__: null,
|
|
5576
5580
|
default: loaderLinear,
|
|
5577
|
-
vars: vars$
|
|
5581
|
+
vars: vars$o
|
|
5578
5582
|
});
|
|
5579
5583
|
|
|
5580
|
-
const globalRefs$
|
|
5584
|
+
const globalRefs$f = getThemeRefs(globals);
|
|
5581
5585
|
const compVars$2 = LoaderRadialClass.cssVarList;
|
|
5582
5586
|
|
|
5583
5587
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
|
5584
5588
|
{
|
|
5585
|
-
spinnerColor: globalRefs$
|
|
5589
|
+
spinnerColor: globalRefs$f.colors.surface.contrast,
|
|
5586
5590
|
mode: {
|
|
5587
5591
|
primary: {
|
|
5588
|
-
spinnerColor: globalRefs$
|
|
5592
|
+
spinnerColor: globalRefs$f.colors.primary.main,
|
|
5589
5593
|
},
|
|
5590
5594
|
secondary: {
|
|
5591
|
-
spinnerColor: globalRefs$
|
|
5595
|
+
spinnerColor: globalRefs$f.colors.secondary.main,
|
|
5592
5596
|
},
|
|
5593
5597
|
},
|
|
5594
5598
|
},
|
|
5595
|
-
componentName$
|
|
5599
|
+
componentName$w
|
|
5596
5600
|
);
|
|
5597
5601
|
|
|
5598
5602
|
const loaderRadial = {
|
|
@@ -5621,7 +5625,7 @@ const loaderRadial = {
|
|
|
5621
5625
|
[compVars$2.hostDisplay]: 'none',
|
|
5622
5626
|
},
|
|
5623
5627
|
};
|
|
5624
|
-
const vars$
|
|
5628
|
+
const vars$n = {
|
|
5625
5629
|
...compVars$2,
|
|
5626
5630
|
...helperVars,
|
|
5627
5631
|
};
|
|
@@ -5629,10 +5633,10 @@ const vars$m = {
|
|
|
5629
5633
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
|
5630
5634
|
__proto__: null,
|
|
5631
5635
|
default: loaderRadial,
|
|
5632
|
-
vars: vars$
|
|
5636
|
+
vars: vars$n
|
|
5633
5637
|
});
|
|
5634
5638
|
|
|
5635
|
-
const componentName$
|
|
5639
|
+
const componentName$t = getComponentName('combo-box');
|
|
5636
5640
|
|
|
5637
5641
|
const ComboBoxMixin = (superclass) =>
|
|
5638
5642
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -6015,71 +6019,71 @@ const ComboBoxClass = compose(
|
|
|
6015
6019
|
// and reset items to an empty array, and opening the list box with no items
|
|
6016
6020
|
// to display.
|
|
6017
6021
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
|
6018
|
-
componentName: componentName$
|
|
6022
|
+
componentName: componentName$t,
|
|
6019
6023
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
6020
6024
|
})
|
|
6021
6025
|
);
|
|
6022
6026
|
|
|
6023
|
-
const globalRefs$
|
|
6024
|
-
const vars$
|
|
6027
|
+
const globalRefs$e = getThemeRefs(globals);
|
|
6028
|
+
const vars$m = ComboBoxClass.cssVarList;
|
|
6025
6029
|
|
|
6026
6030
|
const comboBox = {
|
|
6027
|
-
[vars$
|
|
6028
|
-
[vars$
|
|
6029
|
-
[vars$
|
|
6030
|
-
[vars$
|
|
6031
|
-
[vars$
|
|
6032
|
-
[vars$
|
|
6033
|
-
[vars$
|
|
6034
|
-
[vars$
|
|
6035
|
-
[vars$
|
|
6036
|
-
[vars$
|
|
6037
|
-
[vars$
|
|
6038
|
-
[vars$
|
|
6039
|
-
[vars$
|
|
6040
|
-
[vars$
|
|
6041
|
-
[vars$
|
|
6042
|
-
[vars$
|
|
6043
|
-
[vars$
|
|
6044
|
-
[vars$
|
|
6045
|
-
[vars$
|
|
6046
|
-
[vars$
|
|
6047
|
-
[vars$
|
|
6048
|
-
[vars$
|
|
6049
|
-
[vars$
|
|
6050
|
-
[vars$
|
|
6051
|
-
[vars$
|
|
6052
|
-
[vars$
|
|
6031
|
+
[vars$m.hostWidth]: refs.width,
|
|
6032
|
+
[vars$m.hostDirection]: refs.direction,
|
|
6033
|
+
[vars$m.fontSize]: refs.fontSize,
|
|
6034
|
+
[vars$m.fontFamily]: refs.fontFamily,
|
|
6035
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
|
6036
|
+
[vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
6037
|
+
[vars$m.inputBorderColor]: refs.borderColor,
|
|
6038
|
+
[vars$m.inputBorderWidth]: refs.borderWidth,
|
|
6039
|
+
[vars$m.inputBorderStyle]: refs.borderStyle,
|
|
6040
|
+
[vars$m.inputBorderRadius]: refs.borderRadius,
|
|
6041
|
+
[vars$m.inputOutlineColor]: refs.outlineColor,
|
|
6042
|
+
[vars$m.inputOutlineOffset]: refs.outlineOffset,
|
|
6043
|
+
[vars$m.inputOutlineWidth]: refs.outlineWidth,
|
|
6044
|
+
[vars$m.inputOutlineStyle]: refs.outlineStyle,
|
|
6045
|
+
[vars$m.labelRequiredIndicator]: refs.requiredIndicator,
|
|
6046
|
+
[vars$m.inputValueTextColor]: refs.valueTextColor,
|
|
6047
|
+
[vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
6048
|
+
[vars$m.inputBackgroundColor]: refs.backgroundColor,
|
|
6049
|
+
[vars$m.inputHorizontalPadding]: refs.horizontalPadding,
|
|
6050
|
+
[vars$m.inputHeight]: refs.inputHeight,
|
|
6051
|
+
[vars$m.inputDropdownButtonColor]: globalRefs$e.colors.surface.dark,
|
|
6052
|
+
[vars$m.inputDropdownButtonCursor]: 'pointer',
|
|
6053
|
+
[vars$m.inputDropdownButtonSize]: refs.toggleButtonSize,
|
|
6054
|
+
[vars$m.inputDropdownButtonOffset]: globalRefs$e.spacing.xs,
|
|
6055
|
+
[vars$m.overlayItemPaddingInlineStart]: globalRefs$e.spacing.xs,
|
|
6056
|
+
[vars$m.overlayItemPaddingInlineEnd]: globalRefs$e.spacing.lg,
|
|
6053
6057
|
|
|
6054
6058
|
_readonly: {
|
|
6055
|
-
[vars$
|
|
6059
|
+
[vars$m.inputDropdownButtonCursor]: 'default',
|
|
6056
6060
|
},
|
|
6057
6061
|
|
|
6058
6062
|
// Overlay theme exposed via the component:
|
|
6059
|
-
[vars$
|
|
6060
|
-
[vars$
|
|
6061
|
-
[vars$
|
|
6062
|
-
[vars$
|
|
6063
|
-
[vars$
|
|
6064
|
-
[vars$
|
|
6063
|
+
[vars$m.overlayFontSize]: refs.fontSize,
|
|
6064
|
+
[vars$m.overlayFontFamily]: refs.fontFamily,
|
|
6065
|
+
[vars$m.overlayCursor]: 'pointer',
|
|
6066
|
+
[vars$m.overlayItemBoxShadow]: 'none',
|
|
6067
|
+
[vars$m.overlayBackground]: refs.backgroundColor,
|
|
6068
|
+
[vars$m.overlayTextColor]: refs.valueTextColor,
|
|
6065
6069
|
|
|
6066
6070
|
// Overlay direct theme:
|
|
6067
|
-
[vars$
|
|
6068
|
-
[vars$
|
|
6071
|
+
[vars$m.overlay.minHeight]: '400px',
|
|
6072
|
+
[vars$m.overlay.margin]: '0',
|
|
6069
6073
|
};
|
|
6070
6074
|
|
|
6071
6075
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
|
6072
6076
|
__proto__: null,
|
|
6073
6077
|
comboBox: comboBox,
|
|
6074
6078
|
default: comboBox,
|
|
6075
|
-
vars: vars$
|
|
6079
|
+
vars: vars$m
|
|
6076
6080
|
});
|
|
6077
6081
|
|
|
6078
6082
|
const observedAttributes$2 = ['src', 'alt'];
|
|
6079
6083
|
|
|
6080
|
-
const componentName$
|
|
6084
|
+
const componentName$s = getComponentName('image');
|
|
6081
6085
|
|
|
6082
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
|
6086
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$s, baseSelector: ':host > img' });
|
|
6083
6087
|
class RawImage extends BaseClass$1 {
|
|
6084
6088
|
static get observedAttributes() {
|
|
6085
6089
|
return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
|
|
@@ -6119,14 +6123,14 @@ const ImageClass = compose(
|
|
|
6119
6123
|
draggableMixin
|
|
6120
6124
|
)(RawImage);
|
|
6121
6125
|
|
|
6122
|
-
const vars$
|
|
6126
|
+
const vars$l = ImageClass.cssVarList;
|
|
6123
6127
|
|
|
6124
6128
|
const image = {};
|
|
6125
6129
|
|
|
6126
6130
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
6127
6131
|
__proto__: null,
|
|
6128
6132
|
default: image,
|
|
6129
|
-
vars: vars$
|
|
6133
|
+
vars: vars$l
|
|
6130
6134
|
});
|
|
6131
6135
|
|
|
6132
6136
|
var CountryCodes = [
|
|
@@ -7345,14 +7349,14 @@ var CountryCodes = [
|
|
|
7345
7349
|
].sort((a, b) => (a.name < b.name ? -1 : 1)),
|
|
7346
7350
|
];
|
|
7347
7351
|
|
|
7348
|
-
const componentName$
|
|
7352
|
+
const componentName$r = getComponentName('phone-field-internal');
|
|
7349
7353
|
|
|
7350
|
-
createBaseInputClass({ componentName: componentName$
|
|
7354
|
+
createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
|
|
7351
7355
|
|
|
7352
7356
|
const textVars$1 = TextFieldClass.cssVarList;
|
|
7353
7357
|
const comboVars = ComboBoxClass.cssVarList;
|
|
7354
7358
|
|
|
7355
|
-
const componentName$
|
|
7359
|
+
const componentName$q = getComponentName('phone-field');
|
|
7356
7360
|
|
|
7357
7361
|
const customMixin$5 = (superclass) =>
|
|
7358
7362
|
class PhoneFieldMixinClass extends superclass {
|
|
@@ -7366,15 +7370,15 @@ const customMixin$5 = (superclass) =>
|
|
|
7366
7370
|
const template = document.createElement('template');
|
|
7367
7371
|
|
|
7368
7372
|
template.innerHTML = `
|
|
7369
|
-
<${componentName$
|
|
7373
|
+
<${componentName$r}
|
|
7370
7374
|
tabindex="-1"
|
|
7371
7375
|
slot="input"
|
|
7372
|
-
></${componentName$
|
|
7376
|
+
></${componentName$r}>
|
|
7373
7377
|
`;
|
|
7374
7378
|
|
|
7375
7379
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
7376
7380
|
|
|
7377
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
7381
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$r);
|
|
7378
7382
|
|
|
7379
7383
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
|
7380
7384
|
includeAttrs: [
|
|
@@ -7570,33 +7574,33 @@ const PhoneFieldClass = compose(
|
|
|
7570
7574
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
7571
7575
|
`,
|
|
7572
7576
|
excludeAttrsSync: ['tabindex'],
|
|
7573
|
-
componentName: componentName$
|
|
7577
|
+
componentName: componentName$q,
|
|
7574
7578
|
})
|
|
7575
7579
|
);
|
|
7576
7580
|
|
|
7577
|
-
const vars$
|
|
7581
|
+
const vars$k = PhoneFieldClass.cssVarList;
|
|
7578
7582
|
|
|
7579
7583
|
const phoneField = {
|
|
7580
|
-
[vars$
|
|
7581
|
-
[vars$
|
|
7582
|
-
[vars$
|
|
7583
|
-
[vars$
|
|
7584
|
-
[vars$
|
|
7585
|
-
[vars$
|
|
7586
|
-
[vars$
|
|
7587
|
-
[vars$
|
|
7588
|
-
[vars$
|
|
7589
|
-
[vars$
|
|
7590
|
-
[vars$
|
|
7591
|
-
[vars$
|
|
7592
|
-
[vars$
|
|
7593
|
-
[vars$
|
|
7594
|
-
[vars$
|
|
7595
|
-
[vars$
|
|
7596
|
-
[vars$
|
|
7597
|
-
[vars$
|
|
7598
|
-
[vars$
|
|
7599
|
-
[vars$
|
|
7584
|
+
[vars$k.hostWidth]: refs.width,
|
|
7585
|
+
[vars$k.hostDirection]: refs.direction,
|
|
7586
|
+
[vars$k.fontSize]: refs.fontSize,
|
|
7587
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
|
7588
|
+
[vars$k.labelTextColor]: refs.labelTextColor,
|
|
7589
|
+
[vars$k.labelRequiredIndicator]: refs.requiredIndicator,
|
|
7590
|
+
[vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
7591
|
+
[vars$k.inputValueTextColor]: refs.valueTextColor,
|
|
7592
|
+
[vars$k.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
7593
|
+
[vars$k.inputBorderStyle]: refs.borderStyle,
|
|
7594
|
+
[vars$k.inputBorderWidth]: refs.borderWidth,
|
|
7595
|
+
[vars$k.inputBorderColor]: refs.borderColor,
|
|
7596
|
+
[vars$k.inputBorderRadius]: refs.borderRadius,
|
|
7597
|
+
[vars$k.inputOutlineStyle]: refs.outlineStyle,
|
|
7598
|
+
[vars$k.inputOutlineWidth]: refs.outlineWidth,
|
|
7599
|
+
[vars$k.inputOutlineColor]: refs.outlineColor,
|
|
7600
|
+
[vars$k.inputOutlineOffset]: refs.outlineOffset,
|
|
7601
|
+
[vars$k.phoneInputWidth]: refs.minWidth,
|
|
7602
|
+
[vars$k.countryCodeInputWidth]: '5em',
|
|
7603
|
+
[vars$k.countryCodeDropdownWidth]: '20em',
|
|
7600
7604
|
|
|
7601
7605
|
// '@overlay': {
|
|
7602
7606
|
// overlayItemBackgroundColor: 'red'
|
|
@@ -7606,16 +7610,16 @@ const phoneField = {
|
|
|
7606
7610
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
|
7607
7611
|
__proto__: null,
|
|
7608
7612
|
default: phoneField,
|
|
7609
|
-
vars: vars$
|
|
7613
|
+
vars: vars$k
|
|
7610
7614
|
});
|
|
7611
7615
|
|
|
7612
|
-
const componentName$
|
|
7616
|
+
const componentName$p = getComponentName('phone-field-internal-input-box');
|
|
7613
7617
|
|
|
7614
|
-
createBaseInputClass({ componentName: componentName$
|
|
7618
|
+
createBaseInputClass({ componentName: componentName$p, baseSelector: 'div' });
|
|
7615
7619
|
|
|
7616
7620
|
const textVars = TextFieldClass.cssVarList;
|
|
7617
7621
|
|
|
7618
|
-
const componentName$
|
|
7622
|
+
const componentName$o = getComponentName('phone-input-box-field');
|
|
7619
7623
|
|
|
7620
7624
|
const customMixin$4 = (superclass) =>
|
|
7621
7625
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
|
@@ -7629,15 +7633,15 @@ const customMixin$4 = (superclass) =>
|
|
|
7629
7633
|
const template = document.createElement('template');
|
|
7630
7634
|
|
|
7631
7635
|
template.innerHTML = `
|
|
7632
|
-
<${componentName$
|
|
7636
|
+
<${componentName$p}
|
|
7633
7637
|
tabindex="-1"
|
|
7634
7638
|
slot="input"
|
|
7635
|
-
></${componentName$
|
|
7639
|
+
></${componentName$p}>
|
|
7636
7640
|
`;
|
|
7637
7641
|
|
|
7638
7642
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
7639
7643
|
|
|
7640
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
7644
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$p);
|
|
7641
7645
|
|
|
7642
7646
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
|
7643
7647
|
includeAttrs: [
|
|
@@ -7770,56 +7774,56 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
7770
7774
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
7771
7775
|
`,
|
|
7772
7776
|
excludeAttrsSync: ['tabindex'],
|
|
7773
|
-
componentName: componentName$
|
|
7777
|
+
componentName: componentName$o,
|
|
7774
7778
|
})
|
|
7775
7779
|
);
|
|
7776
7780
|
|
|
7777
|
-
const vars$
|
|
7781
|
+
const vars$j = PhoneFieldInputBoxClass.cssVarList;
|
|
7778
7782
|
|
|
7779
7783
|
const phoneInputBoxField = {
|
|
7780
|
-
[vars$
|
|
7781
|
-
[vars$
|
|
7782
|
-
[vars$
|
|
7783
|
-
[vars$
|
|
7784
|
-
[vars$
|
|
7785
|
-
[vars$
|
|
7786
|
-
[vars$
|
|
7787
|
-
[vars$
|
|
7788
|
-
[vars$
|
|
7789
|
-
[vars$
|
|
7790
|
-
[vars$
|
|
7791
|
-
[vars$
|
|
7792
|
-
[vars$
|
|
7793
|
-
[vars$
|
|
7794
|
-
[vars$
|
|
7795
|
-
[vars$
|
|
7796
|
-
[vars$
|
|
7797
|
-
[vars$
|
|
7784
|
+
[vars$j.hostWidth]: '16em',
|
|
7785
|
+
[vars$j.hostMinWidth]: refs.minWidth,
|
|
7786
|
+
[vars$j.hostDirection]: refs.direction,
|
|
7787
|
+
[vars$j.fontSize]: refs.fontSize,
|
|
7788
|
+
[vars$j.fontFamily]: refs.fontFamily,
|
|
7789
|
+
[vars$j.labelTextColor]: refs.labelTextColor,
|
|
7790
|
+
[vars$j.labelRequiredIndicator]: refs.requiredIndicator,
|
|
7791
|
+
[vars$j.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
7792
|
+
[vars$j.inputValueTextColor]: refs.valueTextColor,
|
|
7793
|
+
[vars$j.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
7794
|
+
[vars$j.inputBorderStyle]: refs.borderStyle,
|
|
7795
|
+
[vars$j.inputBorderWidth]: refs.borderWidth,
|
|
7796
|
+
[vars$j.inputBorderColor]: refs.borderColor,
|
|
7797
|
+
[vars$j.inputBorderRadius]: refs.borderRadius,
|
|
7798
|
+
[vars$j.inputOutlineStyle]: refs.outlineStyle,
|
|
7799
|
+
[vars$j.inputOutlineWidth]: refs.outlineWidth,
|
|
7800
|
+
[vars$j.inputOutlineColor]: refs.outlineColor,
|
|
7801
|
+
[vars$j.inputOutlineOffset]: refs.outlineOffset,
|
|
7798
7802
|
_fullWidth: {
|
|
7799
|
-
[vars$
|
|
7803
|
+
[vars$j.hostWidth]: refs.width,
|
|
7800
7804
|
},
|
|
7801
7805
|
};
|
|
7802
7806
|
|
|
7803
7807
|
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
|
7804
7808
|
__proto__: null,
|
|
7805
7809
|
default: phoneInputBoxField,
|
|
7806
|
-
vars: vars$
|
|
7810
|
+
vars: vars$j
|
|
7807
7811
|
});
|
|
7808
7812
|
|
|
7809
|
-
const componentName$
|
|
7813
|
+
const componentName$n = getComponentName('new-password-internal');
|
|
7810
7814
|
|
|
7811
7815
|
const interpolateString = (template, values) =>
|
|
7812
7816
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
|
7813
7817
|
|
|
7814
7818
|
// eslint-disable-next-line max-classes-per-file
|
|
7815
7819
|
|
|
7816
|
-
const componentName$
|
|
7820
|
+
const componentName$m = getComponentName('policy-validation');
|
|
7817
7821
|
|
|
7818
7822
|
const overrideAttrs = ['data-password-policy-value-minlength'];
|
|
7819
7823
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
|
7820
7824
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
|
7821
7825
|
|
|
7822
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
|
7826
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > div' }) {
|
|
7823
7827
|
#availablePolicies;
|
|
7824
7828
|
|
|
7825
7829
|
#activePolicies = [];
|
|
@@ -8027,7 +8031,7 @@ const PolicyValidationClass = compose(
|
|
|
8027
8031
|
componentNameValidationMixin
|
|
8028
8032
|
)(RawPolicyValidation);
|
|
8029
8033
|
|
|
8030
|
-
const componentName$
|
|
8034
|
+
const componentName$l = getComponentName('new-password');
|
|
8031
8035
|
|
|
8032
8036
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
|
8033
8037
|
|
|
@@ -8039,16 +8043,16 @@ const customMixin$3 = (superclass) =>
|
|
|
8039
8043
|
const template = document.createElement('template');
|
|
8040
8044
|
|
|
8041
8045
|
template.innerHTML = `
|
|
8042
|
-
<${componentName$
|
|
8046
|
+
<${componentName$n}
|
|
8043
8047
|
name="new-password"
|
|
8044
8048
|
tabindex="-1"
|
|
8045
8049
|
slot="input"
|
|
8046
|
-
></${componentName$
|
|
8050
|
+
></${componentName$n}>
|
|
8047
8051
|
`;
|
|
8048
8052
|
|
|
8049
8053
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
8050
8054
|
|
|
8051
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
8055
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$n);
|
|
8052
8056
|
|
|
8053
8057
|
forwardAttrs(this, this.inputElement, {
|
|
8054
8058
|
includeAttrs: [
|
|
@@ -8180,36 +8184,36 @@ const NewPasswordClass = compose(
|
|
|
8180
8184
|
}
|
|
8181
8185
|
`,
|
|
8182
8186
|
excludeAttrsSync: ['tabindex'],
|
|
8183
|
-
componentName: componentName$
|
|
8187
|
+
componentName: componentName$l,
|
|
8184
8188
|
})
|
|
8185
8189
|
);
|
|
8186
8190
|
|
|
8187
|
-
const globalRefs$
|
|
8188
|
-
const vars$
|
|
8191
|
+
const globalRefs$d = getThemeRefs(globals);
|
|
8192
|
+
const vars$i = NewPasswordClass.cssVarList;
|
|
8189
8193
|
|
|
8190
8194
|
const newPassword = {
|
|
8191
|
-
[vars$
|
|
8192
|
-
[vars$
|
|
8193
|
-
[vars$
|
|
8194
|
-
[vars$
|
|
8195
|
-
[vars$
|
|
8196
|
-
[vars$
|
|
8197
|
-
[vars$
|
|
8198
|
-
[vars$
|
|
8199
|
-
[vars$
|
|
8195
|
+
[vars$i.hostWidth]: refs.width,
|
|
8196
|
+
[vars$i.hostMinWidth]: refs.minWidth,
|
|
8197
|
+
[vars$i.hostDirection]: refs.direction,
|
|
8198
|
+
[vars$i.fontSize]: refs.fontSize,
|
|
8199
|
+
[vars$i.fontFamily]: refs.fontFamily,
|
|
8200
|
+
[vars$i.spaceBetweenInputs]: '1em',
|
|
8201
|
+
[vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
8202
|
+
[vars$i.policyPreviewBackgroundColor]: 'none',
|
|
8203
|
+
[vars$i.policyPreviewPadding]: globalRefs$d.spacing.lg,
|
|
8200
8204
|
|
|
8201
8205
|
_required: {
|
|
8202
8206
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
|
8203
8207
|
// That's why we fake the required indicator on each input.
|
|
8204
8208
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
|
8205
|
-
[vars$
|
|
8209
|
+
[vars$i.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
|
8206
8210
|
},
|
|
8207
8211
|
};
|
|
8208
8212
|
|
|
8209
8213
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
|
8210
8214
|
__proto__: null,
|
|
8211
8215
|
default: newPassword,
|
|
8212
|
-
vars: vars$
|
|
8216
|
+
vars: vars$i
|
|
8213
8217
|
});
|
|
8214
8218
|
|
|
8215
8219
|
const getFileBase64 = (fileObj) => {
|
|
@@ -8224,7 +8228,7 @@ const getFilename = (fileObj) => {
|
|
|
8224
8228
|
return fileObj.name.replace(/^.*\\/, '');
|
|
8225
8229
|
};
|
|
8226
8230
|
|
|
8227
|
-
const componentName$
|
|
8231
|
+
const componentName$k = getComponentName('upload-file');
|
|
8228
8232
|
|
|
8229
8233
|
const observedAttributes$1 = [
|
|
8230
8234
|
'title',
|
|
@@ -8239,7 +8243,7 @@ const observedAttributes$1 = [
|
|
|
8239
8243
|
'icon',
|
|
8240
8244
|
];
|
|
8241
8245
|
|
|
8242
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
|
8246
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$k, baseSelector: ':host > div' });
|
|
8243
8247
|
|
|
8244
8248
|
class RawUploadFile extends BaseInputClass {
|
|
8245
8249
|
static get observedAttributes() {
|
|
@@ -8411,7 +8415,7 @@ class RawUploadFile extends BaseInputClass {
|
|
|
8411
8415
|
}
|
|
8412
8416
|
|
|
8413
8417
|
const buttonVars = ButtonClass.cssVarList;
|
|
8414
|
-
const { host: host$8, wrapper, icon: icon$2, title, description, requiredIndicator: requiredIndicator$2 } = {
|
|
8418
|
+
const { host: host$8, wrapper, icon: icon$2, title: title$1, description, requiredIndicator: requiredIndicator$2 } = {
|
|
8415
8419
|
host: { selector: () => ':host' },
|
|
8416
8420
|
wrapper: { selector: () => ':host > div' },
|
|
8417
8421
|
icon: { selector: () => '::slotted(*)' },
|
|
@@ -8439,11 +8443,11 @@ const UploadFileClass = compose(
|
|
|
8439
8443
|
],
|
|
8440
8444
|
gap: { ...wrapper },
|
|
8441
8445
|
lineHeight: { ...wrapper, property: 'line-height' },
|
|
8442
|
-
titleFontSize: { ...title, property: 'font-size' },
|
|
8443
|
-
titleFontWeight: { ...title, property: 'font-weight' },
|
|
8446
|
+
titleFontSize: { ...title$1, property: 'font-size' },
|
|
8447
|
+
titleFontWeight: { ...title$1, property: 'font-weight' },
|
|
8444
8448
|
descriptionFontSize: { ...description, property: 'font-size' },
|
|
8445
8449
|
labelTextColor: [
|
|
8446
|
-
{ ...title, property: 'color' },
|
|
8450
|
+
{ ...title$1, property: 'color' },
|
|
8447
8451
|
{ ...description, property: 'color' },
|
|
8448
8452
|
],
|
|
8449
8453
|
iconSize: { ...icon$2, property: 'width' },
|
|
@@ -8454,77 +8458,77 @@ const UploadFileClass = compose(
|
|
|
8454
8458
|
componentNameValidationMixin
|
|
8455
8459
|
)(RawUploadFile);
|
|
8456
8460
|
|
|
8457
|
-
const vars$
|
|
8461
|
+
const vars$h = UploadFileClass.cssVarList;
|
|
8458
8462
|
|
|
8459
8463
|
const uploadFile = {
|
|
8460
|
-
[vars$
|
|
8461
|
-
[vars$
|
|
8462
|
-
[vars$
|
|
8464
|
+
[vars$h.hostDirection]: refs.direction,
|
|
8465
|
+
[vars$h.labelTextColor]: refs.labelTextColor,
|
|
8466
|
+
[vars$h.fontFamily]: refs.fontFamily,
|
|
8463
8467
|
|
|
8464
|
-
[vars$
|
|
8468
|
+
[vars$h.iconSize]: '2em',
|
|
8465
8469
|
|
|
8466
|
-
[vars$
|
|
8467
|
-
[vars$
|
|
8470
|
+
[vars$h.hostPadding]: '0.75em',
|
|
8471
|
+
[vars$h.gap]: '0.5em',
|
|
8468
8472
|
|
|
8469
|
-
[vars$
|
|
8470
|
-
[vars$
|
|
8471
|
-
[vars$
|
|
8473
|
+
[vars$h.fontSize]: '16px',
|
|
8474
|
+
[vars$h.titleFontWeight]: '500',
|
|
8475
|
+
[vars$h.lineHeight]: '1em',
|
|
8472
8476
|
|
|
8473
|
-
[vars$
|
|
8474
|
-
[vars$
|
|
8475
|
-
[vars$
|
|
8476
|
-
[vars$
|
|
8477
|
+
[vars$h.borderWidth]: refs.borderWidth,
|
|
8478
|
+
[vars$h.borderColor]: refs.borderColor,
|
|
8479
|
+
[vars$h.borderRadius]: refs.borderRadius,
|
|
8480
|
+
[vars$h.borderStyle]: 'dashed',
|
|
8477
8481
|
|
|
8478
8482
|
_required: {
|
|
8479
|
-
[vars$
|
|
8483
|
+
[vars$h.requiredIndicator]: refs.requiredIndicator,
|
|
8480
8484
|
},
|
|
8481
8485
|
|
|
8482
8486
|
size: {
|
|
8483
8487
|
xs: {
|
|
8484
|
-
[vars$
|
|
8485
|
-
[vars$
|
|
8486
|
-
[vars$
|
|
8487
|
-
[vars$
|
|
8488
|
-
[vars$
|
|
8488
|
+
[vars$h.hostHeight]: '196px',
|
|
8489
|
+
[vars$h.hostWidth]: '200px',
|
|
8490
|
+
[vars$h.titleFontSize]: '0.875em',
|
|
8491
|
+
[vars$h.descriptionFontSize]: '0.875em',
|
|
8492
|
+
[vars$h.lineHeight]: '1.25em',
|
|
8489
8493
|
},
|
|
8490
8494
|
sm: {
|
|
8491
|
-
[vars$
|
|
8492
|
-
[vars$
|
|
8493
|
-
[vars$
|
|
8494
|
-
[vars$
|
|
8495
|
-
[vars$
|
|
8495
|
+
[vars$h.hostHeight]: '216px',
|
|
8496
|
+
[vars$h.hostWidth]: '230px',
|
|
8497
|
+
[vars$h.titleFontSize]: '1em',
|
|
8498
|
+
[vars$h.descriptionFontSize]: '0.875em',
|
|
8499
|
+
[vars$h.lineHeight]: '1.25em',
|
|
8496
8500
|
},
|
|
8497
8501
|
md: {
|
|
8498
|
-
[vars$
|
|
8499
|
-
[vars$
|
|
8500
|
-
[vars$
|
|
8501
|
-
[vars$
|
|
8502
|
-
[vars$
|
|
8502
|
+
[vars$h.hostHeight]: '256px',
|
|
8503
|
+
[vars$h.hostWidth]: '312px',
|
|
8504
|
+
[vars$h.titleFontSize]: '1.125em',
|
|
8505
|
+
[vars$h.descriptionFontSize]: '1em',
|
|
8506
|
+
[vars$h.lineHeight]: '1.5em',
|
|
8503
8507
|
},
|
|
8504
8508
|
lg: {
|
|
8505
|
-
[vars$
|
|
8506
|
-
[vars$
|
|
8507
|
-
[vars$
|
|
8508
|
-
[vars$
|
|
8509
|
-
[vars$
|
|
8509
|
+
[vars$h.hostHeight]: '280px',
|
|
8510
|
+
[vars$h.hostWidth]: '336px',
|
|
8511
|
+
[vars$h.titleFontSize]: '1.125em',
|
|
8512
|
+
[vars$h.descriptionFontSize]: '1.125em',
|
|
8513
|
+
[vars$h.lineHeight]: '1.75em',
|
|
8510
8514
|
},
|
|
8511
8515
|
},
|
|
8512
8516
|
|
|
8513
8517
|
_fullWidth: {
|
|
8514
|
-
[vars$
|
|
8518
|
+
[vars$h.hostWidth]: refs.width,
|
|
8515
8519
|
},
|
|
8516
8520
|
};
|
|
8517
8521
|
|
|
8518
8522
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
|
8519
8523
|
__proto__: null,
|
|
8520
8524
|
default: uploadFile,
|
|
8521
|
-
vars: vars$
|
|
8525
|
+
vars: vars$h
|
|
8522
8526
|
});
|
|
8523
8527
|
|
|
8524
|
-
const componentName$
|
|
8528
|
+
const componentName$j = getComponentName('button-selection-group-item');
|
|
8525
8529
|
|
|
8526
8530
|
class RawSelectItem extends createBaseClass({
|
|
8527
|
-
componentName: componentName$
|
|
8531
|
+
componentName: componentName$j,
|
|
8528
8532
|
baseSelector: ':host > descope-button',
|
|
8529
8533
|
}) {
|
|
8530
8534
|
get size() {
|
|
@@ -8631,39 +8635,39 @@ const ButtonSelectionGroupItemClass = compose(
|
|
|
8631
8635
|
componentNameValidationMixin
|
|
8632
8636
|
)(RawSelectItem);
|
|
8633
8637
|
|
|
8634
|
-
const globalRefs$
|
|
8638
|
+
const globalRefs$c = getThemeRefs(globals);
|
|
8635
8639
|
|
|
8636
|
-
const vars$
|
|
8640
|
+
const vars$g = ButtonSelectionGroupItemClass.cssVarList;
|
|
8637
8641
|
|
|
8638
8642
|
const buttonSelectionGroupItem = {
|
|
8639
|
-
[vars$
|
|
8640
|
-
[vars$
|
|
8641
|
-
[vars$
|
|
8642
|
-
[vars$
|
|
8643
|
-
[vars$
|
|
8644
|
-
[vars$
|
|
8645
|
-
[vars$
|
|
8646
|
-
[vars$
|
|
8643
|
+
[vars$g.hostDirection]: 'inherit',
|
|
8644
|
+
[vars$g.backgroundColor]: globalRefs$c.colors.surface.main,
|
|
8645
|
+
[vars$g.labelTextColor]: globalRefs$c.colors.surface.contrast,
|
|
8646
|
+
[vars$g.borderColor]: globalRefs$c.colors.surface.light,
|
|
8647
|
+
[vars$g.borderStyle]: 'solid',
|
|
8648
|
+
[vars$g.borderRadius]: globalRefs$c.radius.sm,
|
|
8649
|
+
[vars$g.outlineColor]: 'transparent',
|
|
8650
|
+
[vars$g.borderWidth]: globalRefs$c.border.xs,
|
|
8647
8651
|
|
|
8648
8652
|
_hover: {
|
|
8649
|
-
[vars$
|
|
8653
|
+
[vars$g.backgroundColor]: globalRefs$c.colors.surface.highlight,
|
|
8650
8654
|
},
|
|
8651
8655
|
|
|
8652
8656
|
_focused: {
|
|
8653
|
-
[vars$
|
|
8657
|
+
[vars$g.outlineColor]: globalRefs$c.colors.surface.light,
|
|
8654
8658
|
},
|
|
8655
8659
|
|
|
8656
8660
|
_selected: {
|
|
8657
|
-
[vars$
|
|
8658
|
-
[vars$
|
|
8659
|
-
[vars$
|
|
8661
|
+
[vars$g.borderColor]: globalRefs$c.colors.surface.contrast,
|
|
8662
|
+
[vars$g.backgroundColor]: globalRefs$c.colors.surface.contrast,
|
|
8663
|
+
[vars$g.labelTextColor]: globalRefs$c.colors.surface.main,
|
|
8660
8664
|
},
|
|
8661
8665
|
};
|
|
8662
8666
|
|
|
8663
8667
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
|
8664
8668
|
__proto__: null,
|
|
8665
8669
|
default: buttonSelectionGroupItem,
|
|
8666
|
-
vars: vars$
|
|
8670
|
+
vars: vars$g
|
|
8667
8671
|
});
|
|
8668
8672
|
|
|
8669
8673
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
@@ -8762,10 +8766,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
|
8762
8766
|
return BaseButtonSelectionGroupInternalClass;
|
|
8763
8767
|
};
|
|
8764
8768
|
|
|
8765
|
-
const componentName$
|
|
8769
|
+
const componentName$i = getComponentName('button-selection-group-internal');
|
|
8766
8770
|
|
|
8767
8771
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
8768
|
-
componentName$
|
|
8772
|
+
componentName$i
|
|
8769
8773
|
) {
|
|
8770
8774
|
getSelectedNode() {
|
|
8771
8775
|
return this.items.find((item) => item.hasAttribute('selected'));
|
|
@@ -8997,7 +9001,7 @@ const buttonSelectionGroupStyles = `
|
|
|
8997
9001
|
${resetInputCursor('vaadin-text-field')}
|
|
8998
9002
|
`;
|
|
8999
9003
|
|
|
9000
|
-
const componentName$
|
|
9004
|
+
const componentName$h = getComponentName('button-selection-group');
|
|
9001
9005
|
|
|
9002
9006
|
const buttonSelectionGroupMixin = (superclass) =>
|
|
9003
9007
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -9006,19 +9010,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
|
9006
9010
|
const template = document.createElement('template');
|
|
9007
9011
|
|
|
9008
9012
|
template.innerHTML = `
|
|
9009
|
-
<${componentName$
|
|
9013
|
+
<${componentName$i}
|
|
9010
9014
|
name="button-selection-group"
|
|
9011
9015
|
slot="input"
|
|
9012
9016
|
tabindex="-1"
|
|
9013
9017
|
part="internal-component"
|
|
9014
9018
|
>
|
|
9015
9019
|
<slot></slot>
|
|
9016
|
-
</${componentName$
|
|
9020
|
+
</${componentName$i}>
|
|
9017
9021
|
`;
|
|
9018
9022
|
|
|
9019
9023
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
9020
9024
|
|
|
9021
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
9025
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$i);
|
|
9022
9026
|
|
|
9023
9027
|
forwardAttrs(this, this.inputElement, {
|
|
9024
9028
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
|
@@ -9043,11 +9047,11 @@ const ButtonSelectionGroupClass = compose(
|
|
|
9043
9047
|
wrappedEleName: 'vaadin-text-field',
|
|
9044
9048
|
style: () => buttonSelectionGroupStyles,
|
|
9045
9049
|
excludeAttrsSync: ['tabindex'],
|
|
9046
|
-
componentName: componentName$
|
|
9050
|
+
componentName: componentName$h,
|
|
9047
9051
|
})
|
|
9048
9052
|
);
|
|
9049
9053
|
|
|
9050
|
-
const globalRefs$
|
|
9054
|
+
const globalRefs$b = getThemeRefs(globals);
|
|
9051
9055
|
|
|
9052
9056
|
const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
9053
9057
|
[vars.hostDirection]: refs.direction,
|
|
@@ -9055,26 +9059,26 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
|
9055
9059
|
[vars.labelTextColor]: refs.labelTextColor,
|
|
9056
9060
|
[vars.labelRequiredIndicator]: refs.requiredIndicator,
|
|
9057
9061
|
[vars.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
9058
|
-
[vars.itemsSpacing]: globalRefs$
|
|
9062
|
+
[vars.itemsSpacing]: globalRefs$b.spacing.sm,
|
|
9059
9063
|
[vars.hostWidth]: refs.width,
|
|
9060
9064
|
});
|
|
9061
9065
|
|
|
9062
|
-
const vars$
|
|
9066
|
+
const vars$f = ButtonSelectionGroupClass.cssVarList;
|
|
9063
9067
|
|
|
9064
9068
|
const buttonSelectionGroup = {
|
|
9065
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
|
9069
|
+
...createBaseButtonSelectionGroupMappings(vars$f),
|
|
9066
9070
|
};
|
|
9067
9071
|
|
|
9068
9072
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
9069
9073
|
__proto__: null,
|
|
9070
9074
|
default: buttonSelectionGroup,
|
|
9071
|
-
vars: vars$
|
|
9075
|
+
vars: vars$f
|
|
9072
9076
|
});
|
|
9073
9077
|
|
|
9074
|
-
const componentName$
|
|
9078
|
+
const componentName$g = getComponentName('button-multi-selection-group-internal');
|
|
9075
9079
|
|
|
9076
9080
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
9077
|
-
componentName$
|
|
9081
|
+
componentName$g
|
|
9078
9082
|
) {
|
|
9079
9083
|
#getSelectedNodes() {
|
|
9080
9084
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
|
@@ -9177,7 +9181,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
|
9177
9181
|
}
|
|
9178
9182
|
}
|
|
9179
9183
|
|
|
9180
|
-
const componentName$
|
|
9184
|
+
const componentName$f = getComponentName('button-multi-selection-group');
|
|
9181
9185
|
|
|
9182
9186
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
9183
9187
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -9186,19 +9190,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
|
9186
9190
|
const template = document.createElement('template');
|
|
9187
9191
|
|
|
9188
9192
|
template.innerHTML = `
|
|
9189
|
-
<${componentName$
|
|
9193
|
+
<${componentName$g}
|
|
9190
9194
|
name="button-selection-group"
|
|
9191
9195
|
slot="input"
|
|
9192
9196
|
tabindex="-1"
|
|
9193
9197
|
part="internal-component"
|
|
9194
9198
|
>
|
|
9195
9199
|
<slot></slot>
|
|
9196
|
-
</${componentName$
|
|
9200
|
+
</${componentName$g}>
|
|
9197
9201
|
`;
|
|
9198
9202
|
|
|
9199
9203
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
9200
9204
|
|
|
9201
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
9205
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$g);
|
|
9202
9206
|
|
|
9203
9207
|
forwardAttrs(this, this.inputElement, {
|
|
9204
9208
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
|
@@ -9223,23 +9227,23 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
|
9223
9227
|
wrappedEleName: 'vaadin-text-field',
|
|
9224
9228
|
style: () => buttonSelectionGroupStyles,
|
|
9225
9229
|
excludeAttrsSync: ['tabindex'],
|
|
9226
|
-
componentName: componentName$
|
|
9230
|
+
componentName: componentName$f,
|
|
9227
9231
|
})
|
|
9228
9232
|
);
|
|
9229
9233
|
|
|
9230
|
-
const vars$
|
|
9234
|
+
const vars$e = ButtonMultiSelectionGroupClass.cssVarList;
|
|
9231
9235
|
|
|
9232
9236
|
const buttonMultiSelectionGroup = {
|
|
9233
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
|
9237
|
+
...createBaseButtonSelectionGroupMappings(vars$e),
|
|
9234
9238
|
};
|
|
9235
9239
|
|
|
9236
9240
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
9237
9241
|
__proto__: null,
|
|
9238
9242
|
default: buttonMultiSelectionGroup,
|
|
9239
|
-
vars: vars$
|
|
9243
|
+
vars: vars$e
|
|
9240
9244
|
});
|
|
9241
9245
|
|
|
9242
|
-
const componentName$
|
|
9246
|
+
const componentName$e = getComponentName('modal');
|
|
9243
9247
|
|
|
9244
9248
|
const customMixin$2 = (superclass) =>
|
|
9245
9249
|
class ModalMixinClass extends superclass {
|
|
@@ -9338,28 +9342,28 @@ const ModalClass = compose(
|
|
|
9338
9342
|
wrappedEleName: 'vaadin-dialog',
|
|
9339
9343
|
style: () => ``,
|
|
9340
9344
|
excludeAttrsSync: ['tabindex', 'opened'],
|
|
9341
|
-
componentName: componentName$
|
|
9345
|
+
componentName: componentName$e,
|
|
9342
9346
|
})
|
|
9343
9347
|
);
|
|
9344
9348
|
|
|
9345
|
-
const globalRefs$
|
|
9349
|
+
const globalRefs$a = getThemeRefs(globals);
|
|
9346
9350
|
|
|
9347
9351
|
const compVars$1 = ModalClass.cssVarList;
|
|
9348
9352
|
|
|
9349
9353
|
const modal = {
|
|
9350
|
-
[compVars$1.overlayBackgroundColor]: globalRefs$
|
|
9351
|
-
[compVars$1.overlayShadow]: globalRefs$
|
|
9354
|
+
[compVars$1.overlayBackgroundColor]: globalRefs$a.colors.surface.main,
|
|
9355
|
+
[compVars$1.overlayShadow]: globalRefs$a.shadow.wide['2xl'],
|
|
9352
9356
|
[compVars$1.overlayWidth]: '540px',
|
|
9353
9357
|
};
|
|
9354
9358
|
|
|
9355
|
-
const vars$
|
|
9359
|
+
const vars$d = {
|
|
9356
9360
|
...compVars$1,
|
|
9357
9361
|
};
|
|
9358
9362
|
|
|
9359
9363
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
|
9360
9364
|
__proto__: null,
|
|
9361
9365
|
default: modal,
|
|
9362
|
-
vars: vars$
|
|
9366
|
+
vars: vars$d
|
|
9363
9367
|
});
|
|
9364
9368
|
|
|
9365
9369
|
const isValidDataType = (data) => {
|
|
@@ -9372,7 +9376,7 @@ const isValidDataType = (data) => {
|
|
|
9372
9376
|
return isValid;
|
|
9373
9377
|
};
|
|
9374
9378
|
|
|
9375
|
-
const componentName$
|
|
9379
|
+
const componentName$d = getComponentName('grid');
|
|
9376
9380
|
|
|
9377
9381
|
const GridMixin = (superclass) =>
|
|
9378
9382
|
class GridMixinClass extends superclass {
|
|
@@ -9608,40 +9612,40 @@ const GridClass = compose(
|
|
|
9608
9612
|
}
|
|
9609
9613
|
`,
|
|
9610
9614
|
excludeAttrsSync: ['columns', 'tabindex'],
|
|
9611
|
-
componentName: componentName$
|
|
9615
|
+
componentName: componentName$d,
|
|
9612
9616
|
})
|
|
9613
9617
|
);
|
|
9614
9618
|
|
|
9615
|
-
const globalRefs$
|
|
9616
|
-
const vars$
|
|
9619
|
+
const globalRefs$9 = getThemeRefs(globals);
|
|
9620
|
+
const vars$c = GridClass.cssVarList;
|
|
9617
9621
|
|
|
9618
9622
|
const grid = {
|
|
9619
|
-
[vars$
|
|
9620
|
-
[vars$
|
|
9621
|
-
[vars$
|
|
9622
|
-
[vars$
|
|
9623
|
-
[vars$
|
|
9623
|
+
[vars$c.hostWidth]: '100%',
|
|
9624
|
+
[vars$c.hostHeight]: '100%',
|
|
9625
|
+
[vars$c.hostMinHeight]: '400px',
|
|
9626
|
+
[vars$c.fontWeight]: '400',
|
|
9627
|
+
[vars$c.backgroundColor]: globalRefs$9.colors.surface.main,
|
|
9624
9628
|
|
|
9625
|
-
[vars$
|
|
9626
|
-
[vars$
|
|
9629
|
+
[vars$c.fontSize]: refs.fontSize,
|
|
9630
|
+
[vars$c.fontFamily]: refs.fontFamily,
|
|
9627
9631
|
|
|
9628
|
-
[vars$
|
|
9629
|
-
[vars$
|
|
9630
|
-
[vars$
|
|
9632
|
+
[vars$c.sortIndicatorsColor]: globalRefs$9.colors.surface.light,
|
|
9633
|
+
[vars$c.activeSortIndicator]: globalRefs$9.colors.surface.dark,
|
|
9634
|
+
[vars$c.resizeHandleColor]: globalRefs$9.colors.surface.light,
|
|
9631
9635
|
|
|
9632
|
-
[vars$
|
|
9633
|
-
[vars$
|
|
9634
|
-
[vars$
|
|
9635
|
-
[vars$
|
|
9636
|
+
[vars$c.borderWidth]: refs.borderWidth,
|
|
9637
|
+
[vars$c.borderStyle]: refs.borderStyle,
|
|
9638
|
+
[vars$c.borderRadius]: refs.borderRadius,
|
|
9639
|
+
[vars$c.borderColor]: 'transparent',
|
|
9636
9640
|
|
|
9637
|
-
[vars$
|
|
9638
|
-
[vars$
|
|
9641
|
+
[vars$c.headerRowTextColor]: globalRefs$9.colors.surface.dark,
|
|
9642
|
+
[vars$c.separatorColor]: globalRefs$9.colors.surface.light,
|
|
9639
9643
|
|
|
9640
|
-
[vars$
|
|
9641
|
-
[vars$
|
|
9644
|
+
[vars$c.valueTextColor]: globalRefs$9.colors.surface.contrast,
|
|
9645
|
+
[vars$c.selectedBackgroundColor]: globalRefs$9.colors.surface.highlight,
|
|
9642
9646
|
|
|
9643
9647
|
_bordered: {
|
|
9644
|
-
[vars$
|
|
9648
|
+
[vars$c.borderColor]: refs.borderColor,
|
|
9645
9649
|
},
|
|
9646
9650
|
};
|
|
9647
9651
|
|
|
@@ -9649,10 +9653,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
|
9649
9653
|
__proto__: null,
|
|
9650
9654
|
default: grid,
|
|
9651
9655
|
grid: grid,
|
|
9652
|
-
vars: vars$
|
|
9656
|
+
vars: vars$c
|
|
9653
9657
|
});
|
|
9654
9658
|
|
|
9655
|
-
const componentName$
|
|
9659
|
+
const componentName$c = getComponentName('notification-card');
|
|
9656
9660
|
|
|
9657
9661
|
const notificationCardMixin = (superclass) =>
|
|
9658
9662
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -9760,54 +9764,54 @@ const NotificationCardClass = compose(
|
|
|
9760
9764
|
}
|
|
9761
9765
|
`,
|
|
9762
9766
|
excludeAttrsSync: ['tabindex'],
|
|
9763
|
-
componentName: componentName$
|
|
9767
|
+
componentName: componentName$c,
|
|
9764
9768
|
})
|
|
9765
9769
|
);
|
|
9766
9770
|
|
|
9767
|
-
const globalRefs$
|
|
9768
|
-
const vars$
|
|
9771
|
+
const globalRefs$8 = getThemeRefs(globals);
|
|
9772
|
+
const vars$b = NotificationCardClass.cssVarList;
|
|
9769
9773
|
|
|
9770
9774
|
const shadowColor = '#00000020';
|
|
9771
9775
|
|
|
9772
9776
|
const notification = {
|
|
9773
|
-
[vars$
|
|
9774
|
-
[vars$
|
|
9775
|
-
[vars$
|
|
9776
|
-
[vars$
|
|
9777
|
-
[vars$
|
|
9778
|
-
[vars$
|
|
9779
|
-
[vars$
|
|
9780
|
-
[vars$
|
|
9781
|
-
[vars$
|
|
9777
|
+
[vars$b.hostMinWidth]: '415px',
|
|
9778
|
+
[vars$b.fontFamily]: globalRefs$8.fonts.font1.family,
|
|
9779
|
+
[vars$b.fontSize]: globalRefs$8.typography.body1.size,
|
|
9780
|
+
[vars$b.backgroundColor]: globalRefs$8.colors.surface.main,
|
|
9781
|
+
[vars$b.textColor]: globalRefs$8.colors.surface.contrast,
|
|
9782
|
+
[vars$b.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
|
|
9783
|
+
[vars$b.verticalPadding]: '0.625em',
|
|
9784
|
+
[vars$b.horizontalPadding]: '1.5em',
|
|
9785
|
+
[vars$b.borderRadius]: globalRefs$8.radius.xs,
|
|
9782
9786
|
|
|
9783
9787
|
_bordered: {
|
|
9784
|
-
[vars$
|
|
9785
|
-
[vars$
|
|
9786
|
-
[vars$
|
|
9788
|
+
[vars$b.borderWidth]: globalRefs$8.border.sm,
|
|
9789
|
+
[vars$b.borderStyle]: 'solid',
|
|
9790
|
+
[vars$b.borderColor]: 'transparent',
|
|
9787
9791
|
},
|
|
9788
9792
|
|
|
9789
9793
|
size: {
|
|
9790
|
-
xs: { [vars$
|
|
9791
|
-
sm: { [vars$
|
|
9792
|
-
md: { [vars$
|
|
9793
|
-
lg: { [vars$
|
|
9794
|
+
xs: { [vars$b.fontSize]: '12px' },
|
|
9795
|
+
sm: { [vars$b.fontSize]: '14px' },
|
|
9796
|
+
md: { [vars$b.fontSize]: '16px' },
|
|
9797
|
+
lg: { [vars$b.fontSize]: '18px' },
|
|
9794
9798
|
},
|
|
9795
9799
|
|
|
9796
9800
|
mode: {
|
|
9797
9801
|
primary: {
|
|
9798
|
-
[vars$
|
|
9799
|
-
[vars$
|
|
9800
|
-
[vars$
|
|
9802
|
+
[vars$b.backgroundColor]: globalRefs$8.colors.primary.main,
|
|
9803
|
+
[vars$b.textColor]: globalRefs$8.colors.primary.contrast,
|
|
9804
|
+
[vars$b.borderColor]: globalRefs$8.colors.primary.light,
|
|
9801
9805
|
},
|
|
9802
9806
|
success: {
|
|
9803
|
-
[vars$
|
|
9804
|
-
[vars$
|
|
9805
|
-
[vars$
|
|
9807
|
+
[vars$b.backgroundColor]: globalRefs$8.colors.success.main,
|
|
9808
|
+
[vars$b.textColor]: globalRefs$8.colors.success.contrast,
|
|
9809
|
+
[vars$b.borderColor]: globalRefs$8.colors.success.light,
|
|
9806
9810
|
},
|
|
9807
9811
|
error: {
|
|
9808
|
-
[vars$
|
|
9809
|
-
[vars$
|
|
9810
|
-
[vars$
|
|
9812
|
+
[vars$b.backgroundColor]: globalRefs$8.colors.error.main,
|
|
9813
|
+
[vars$b.textColor]: globalRefs$8.colors.error.contrast,
|
|
9814
|
+
[vars$b.borderColor]: globalRefs$8.colors.error.light,
|
|
9811
9815
|
},
|
|
9812
9816
|
},
|
|
9813
9817
|
};
|
|
@@ -9815,10 +9819,10 @@ const notification = {
|
|
|
9815
9819
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
|
9816
9820
|
__proto__: null,
|
|
9817
9821
|
default: notification,
|
|
9818
|
-
vars: vars$
|
|
9822
|
+
vars: vars$b
|
|
9819
9823
|
});
|
|
9820
9824
|
|
|
9821
|
-
const componentName$
|
|
9825
|
+
const componentName$b = getComponentName('multi-select-combo-box');
|
|
9822
9826
|
|
|
9823
9827
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
9824
9828
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -10422,73 +10426,73 @@ const MultiSelectComboBoxClass = compose(
|
|
|
10422
10426
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
|
10423
10427
|
// tries to override it, causing us to lose the user set placeholder.
|
|
10424
10428
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
|
10425
|
-
componentName: componentName$
|
|
10429
|
+
componentName: componentName$b,
|
|
10426
10430
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
10427
10431
|
})
|
|
10428
10432
|
);
|
|
10429
10433
|
|
|
10430
|
-
const globalRefs$
|
|
10431
|
-
const vars$
|
|
10434
|
+
const globalRefs$7 = getThemeRefs(globals);
|
|
10435
|
+
const vars$a = MultiSelectComboBoxClass.cssVarList;
|
|
10432
10436
|
|
|
10433
10437
|
const multiSelectComboBox = {
|
|
10434
|
-
[vars$
|
|
10435
|
-
[vars$
|
|
10436
|
-
[vars$
|
|
10437
|
-
[vars$
|
|
10438
|
-
[vars$
|
|
10439
|
-
[vars$
|
|
10440
|
-
[vars$
|
|
10441
|
-
[vars$
|
|
10442
|
-
[vars$
|
|
10443
|
-
[vars$
|
|
10444
|
-
[vars$
|
|
10445
|
-
[vars$
|
|
10446
|
-
[vars$
|
|
10447
|
-
[vars$
|
|
10448
|
-
[vars$
|
|
10449
|
-
[vars$
|
|
10450
|
-
[vars$
|
|
10451
|
-
[vars$
|
|
10452
|
-
[vars$
|
|
10453
|
-
[vars$
|
|
10454
|
-
[vars$
|
|
10455
|
-
[vars$
|
|
10456
|
-
[vars$
|
|
10457
|
-
[vars$
|
|
10458
|
-
[vars$
|
|
10459
|
-
[vars$
|
|
10460
|
-
[vars$
|
|
10461
|
-
[vars$
|
|
10462
|
-
[vars$
|
|
10463
|
-
[vars$
|
|
10438
|
+
[vars$a.hostWidth]: refs.width,
|
|
10439
|
+
[vars$a.hostDirection]: refs.direction,
|
|
10440
|
+
[vars$a.fontSize]: refs.fontSize,
|
|
10441
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
|
10442
|
+
[vars$a.labelTextColor]: refs.labelTextColor,
|
|
10443
|
+
[vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
10444
|
+
[vars$a.inputBorderColor]: refs.borderColor,
|
|
10445
|
+
[vars$a.inputBorderWidth]: refs.borderWidth,
|
|
10446
|
+
[vars$a.inputBorderStyle]: refs.borderStyle,
|
|
10447
|
+
[vars$a.inputBorderRadius]: refs.borderRadius,
|
|
10448
|
+
[vars$a.inputOutlineColor]: refs.outlineColor,
|
|
10449
|
+
[vars$a.inputOutlineOffset]: refs.outlineOffset,
|
|
10450
|
+
[vars$a.inputOutlineWidth]: refs.outlineWidth,
|
|
10451
|
+
[vars$a.inputOutlineStyle]: refs.outlineStyle,
|
|
10452
|
+
[vars$a.labelRequiredIndicator]: refs.requiredIndicator,
|
|
10453
|
+
[vars$a.inputValueTextColor]: refs.valueTextColor,
|
|
10454
|
+
[vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
10455
|
+
[vars$a.inputBackgroundColor]: refs.backgroundColor,
|
|
10456
|
+
[vars$a.inputHorizontalPadding]: refs.horizontalPadding,
|
|
10457
|
+
[vars$a.inputVerticalPadding]: refs.verticalPadding,
|
|
10458
|
+
[vars$a.inputHeight]: refs.inputHeight,
|
|
10459
|
+
[vars$a.inputDropdownButtonColor]: globalRefs$7.colors.surface.dark,
|
|
10460
|
+
[vars$a.inputDropdownButtonCursor]: 'pointer',
|
|
10461
|
+
[vars$a.inputDropdownButtonSize]: refs.toggleButtonSize,
|
|
10462
|
+
[vars$a.inputDropdownButtonOffset]: globalRefs$7.spacing.xs,
|
|
10463
|
+
[vars$a.overlayItemPaddingInlineStart]: globalRefs$7.spacing.xs,
|
|
10464
|
+
[vars$a.overlayItemPaddingInlineEnd]: globalRefs$7.spacing.lg,
|
|
10465
|
+
[vars$a.chipFontSize]: refs.chipFontSize,
|
|
10466
|
+
[vars$a.chipTextColor]: globalRefs$7.colors.surface.contrast,
|
|
10467
|
+
[vars$a.chipBackgroundColor]: globalRefs$7.colors.surface.light,
|
|
10464
10468
|
|
|
10465
10469
|
_readonly: {
|
|
10466
|
-
[vars$
|
|
10470
|
+
[vars$a.inputDropdownButtonCursor]: 'default',
|
|
10467
10471
|
},
|
|
10468
10472
|
|
|
10469
10473
|
// Overlay theme exposed via the component:
|
|
10470
|
-
[vars$
|
|
10471
|
-
[vars$
|
|
10472
|
-
[vars$
|
|
10473
|
-
[vars$
|
|
10474
|
-
[vars$
|
|
10475
|
-
[vars$
|
|
10474
|
+
[vars$a.overlayFontSize]: refs.fontSize,
|
|
10475
|
+
[vars$a.overlayFontFamily]: refs.fontFamily,
|
|
10476
|
+
[vars$a.overlayCursor]: 'pointer',
|
|
10477
|
+
[vars$a.overlayItemBoxShadow]: 'none',
|
|
10478
|
+
[vars$a.overlayBackground]: refs.backgroundColor,
|
|
10479
|
+
[vars$a.overlayTextColor]: refs.valueTextColor,
|
|
10476
10480
|
|
|
10477
10481
|
// Overlay direct theme:
|
|
10478
|
-
[vars$
|
|
10479
|
-
[vars$
|
|
10482
|
+
[vars$a.overlay.minHeight]: '400px',
|
|
10483
|
+
[vars$a.overlay.margin]: '0',
|
|
10480
10484
|
};
|
|
10481
10485
|
|
|
10482
10486
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
10483
10487
|
__proto__: null,
|
|
10484
10488
|
default: multiSelectComboBox,
|
|
10485
10489
|
multiSelectComboBox: multiSelectComboBox,
|
|
10486
|
-
vars: vars$
|
|
10490
|
+
vars: vars$a
|
|
10487
10491
|
});
|
|
10488
10492
|
|
|
10489
|
-
const componentName$
|
|
10493
|
+
const componentName$a = getComponentName('badge');
|
|
10490
10494
|
|
|
10491
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
|
10495
|
+
class RawBadge extends createBaseClass({ componentName: componentName$a, baseSelector: ':host > div' }) {
|
|
10492
10496
|
constructor() {
|
|
10493
10497
|
super();
|
|
10494
10498
|
|
|
@@ -10539,66 +10543,66 @@ const BadgeClass = compose(
|
|
|
10539
10543
|
componentNameValidationMixin
|
|
10540
10544
|
)(RawBadge);
|
|
10541
10545
|
|
|
10542
|
-
const globalRefs$
|
|
10543
|
-
const vars$
|
|
10546
|
+
const globalRefs$6 = getThemeRefs(globals);
|
|
10547
|
+
const vars$9 = BadgeClass.cssVarList;
|
|
10544
10548
|
|
|
10545
10549
|
const badge$2 = {
|
|
10546
|
-
[vars$
|
|
10547
|
-
[vars$
|
|
10550
|
+
[vars$9.hostWidth]: 'fit-content',
|
|
10551
|
+
[vars$9.hostDirection]: globalRefs$6.direction,
|
|
10548
10552
|
|
|
10549
|
-
[vars$
|
|
10553
|
+
[vars$9.textAlign]: 'center',
|
|
10550
10554
|
|
|
10551
|
-
[vars$
|
|
10552
|
-
[vars$
|
|
10555
|
+
[vars$9.fontFamily]: globalRefs$6.fonts.font1.family,
|
|
10556
|
+
[vars$9.fontWeight]: '400',
|
|
10553
10557
|
|
|
10554
|
-
[vars$
|
|
10555
|
-
[vars$
|
|
10558
|
+
[vars$9.verticalPadding]: '0.25em',
|
|
10559
|
+
[vars$9.horizontalPadding]: '0.5em',
|
|
10556
10560
|
|
|
10557
|
-
[vars$
|
|
10558
|
-
[vars$
|
|
10559
|
-
[vars$
|
|
10560
|
-
[vars$
|
|
10561
|
+
[vars$9.borderWidth]: globalRefs$6.border.xs,
|
|
10562
|
+
[vars$9.borderRadius]: globalRefs$6.radius.xs,
|
|
10563
|
+
[vars$9.borderColor]: 'transparent',
|
|
10564
|
+
[vars$9.borderStyle]: 'solid',
|
|
10561
10565
|
|
|
10562
10566
|
_fullWidth: {
|
|
10563
|
-
[vars$
|
|
10567
|
+
[vars$9.hostWidth]: '100%',
|
|
10564
10568
|
},
|
|
10565
10569
|
|
|
10566
10570
|
size: {
|
|
10567
|
-
xs: { [vars$
|
|
10568
|
-
sm: { [vars$
|
|
10569
|
-
md: { [vars$
|
|
10570
|
-
lg: { [vars$
|
|
10571
|
+
xs: { [vars$9.fontSize]: '12px' },
|
|
10572
|
+
sm: { [vars$9.fontSize]: '14px' },
|
|
10573
|
+
md: { [vars$9.fontSize]: '16px' },
|
|
10574
|
+
lg: { [vars$9.fontSize]: '18px' },
|
|
10571
10575
|
},
|
|
10572
10576
|
|
|
10573
10577
|
mode: {
|
|
10574
10578
|
default: {
|
|
10575
|
-
[vars$
|
|
10579
|
+
[vars$9.textColor]: globalRefs$6.colors.surface.dark,
|
|
10576
10580
|
_bordered: {
|
|
10577
|
-
[vars$
|
|
10581
|
+
[vars$9.borderColor]: globalRefs$6.colors.surface.light,
|
|
10578
10582
|
},
|
|
10579
10583
|
},
|
|
10580
10584
|
primary: {
|
|
10581
|
-
[vars$
|
|
10585
|
+
[vars$9.textColor]: globalRefs$6.colors.primary.main,
|
|
10582
10586
|
_bordered: {
|
|
10583
|
-
[vars$
|
|
10587
|
+
[vars$9.borderColor]: globalRefs$6.colors.primary.light,
|
|
10584
10588
|
},
|
|
10585
10589
|
},
|
|
10586
10590
|
secondary: {
|
|
10587
|
-
[vars$
|
|
10591
|
+
[vars$9.textColor]: globalRefs$6.colors.secondary.main,
|
|
10588
10592
|
_bordered: {
|
|
10589
|
-
[vars$
|
|
10593
|
+
[vars$9.borderColor]: globalRefs$6.colors.secondary.light,
|
|
10590
10594
|
},
|
|
10591
10595
|
},
|
|
10592
10596
|
error: {
|
|
10593
|
-
[vars$
|
|
10597
|
+
[vars$9.textColor]: globalRefs$6.colors.error.main,
|
|
10594
10598
|
_bordered: {
|
|
10595
|
-
[vars$
|
|
10599
|
+
[vars$9.borderColor]: globalRefs$6.colors.error.light,
|
|
10596
10600
|
},
|
|
10597
10601
|
},
|
|
10598
10602
|
success: {
|
|
10599
|
-
[vars$
|
|
10603
|
+
[vars$9.textColor]: globalRefs$6.colors.success.main,
|
|
10600
10604
|
_bordered: {
|
|
10601
|
-
[vars$
|
|
10605
|
+
[vars$9.borderColor]: globalRefs$6.colors.success.light,
|
|
10602
10606
|
},
|
|
10603
10607
|
},
|
|
10604
10608
|
},
|
|
@@ -10607,11 +10611,11 @@ const badge$2 = {
|
|
|
10607
10611
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
|
10608
10612
|
__proto__: null,
|
|
10609
10613
|
default: badge$2,
|
|
10610
|
-
vars: vars$
|
|
10614
|
+
vars: vars$9
|
|
10611
10615
|
});
|
|
10612
10616
|
|
|
10613
|
-
const componentName$
|
|
10614
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
|
10617
|
+
const componentName$9 = getComponentName('avatar');
|
|
10618
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$9, baseSelector: ':host > .wrapper' }) {
|
|
10615
10619
|
constructor() {
|
|
10616
10620
|
super();
|
|
10617
10621
|
|
|
@@ -10712,16 +10716,16 @@ const AvatarClass = compose(
|
|
|
10712
10716
|
componentNameValidationMixin
|
|
10713
10717
|
)(RawAvatar);
|
|
10714
10718
|
|
|
10715
|
-
const globalRefs$
|
|
10719
|
+
const globalRefs$5 = getThemeRefs(globals);
|
|
10716
10720
|
const compVars = AvatarClass.cssVarList;
|
|
10717
10721
|
|
|
10718
10722
|
const avatar = {
|
|
10719
|
-
[compVars.hostDirection]: globalRefs$
|
|
10720
|
-
[compVars.editableIconColor]: globalRefs$
|
|
10721
|
-
[compVars.editableBorderColor]: globalRefs$
|
|
10722
|
-
[compVars.editableBackgroundColor]: globalRefs$
|
|
10723
|
-
[compVars.avatarTextColor]: globalRefs$
|
|
10724
|
-
[compVars.avatarBackgroundColor]: globalRefs$
|
|
10723
|
+
[compVars.hostDirection]: globalRefs$5.direction,
|
|
10724
|
+
[compVars.editableIconColor]: globalRefs$5.colors.surface.dark,
|
|
10725
|
+
[compVars.editableBorderColor]: globalRefs$5.colors.surface.dark,
|
|
10726
|
+
[compVars.editableBackgroundColor]: globalRefs$5.colors.surface.main,
|
|
10727
|
+
[compVars.avatarTextColor]: globalRefs$5.colors.surface.main,
|
|
10728
|
+
[compVars.avatarBackgroundColor]: globalRefs$5.colors.surface.dark,
|
|
10725
10729
|
|
|
10726
10730
|
_editable: {
|
|
10727
10731
|
[compVars.cursor]: 'pointer',
|
|
@@ -10747,21 +10751,21 @@ const avatar = {
|
|
|
10747
10751
|
},
|
|
10748
10752
|
};
|
|
10749
10753
|
|
|
10750
|
-
const vars$
|
|
10754
|
+
const vars$8 = {
|
|
10751
10755
|
...compVars,
|
|
10752
10756
|
};
|
|
10753
10757
|
|
|
10754
10758
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
10755
10759
|
__proto__: null,
|
|
10756
10760
|
default: avatar,
|
|
10757
|
-
vars: vars$
|
|
10761
|
+
vars: vars$8
|
|
10758
10762
|
});
|
|
10759
10763
|
|
|
10760
|
-
const componentName$
|
|
10764
|
+
const componentName$8 = getComponentName('mappings-field-internal');
|
|
10761
10765
|
|
|
10762
|
-
createBaseInputClass({ componentName: componentName$
|
|
10766
|
+
createBaseInputClass({ componentName: componentName$8, baseSelector: 'div' });
|
|
10763
10767
|
|
|
10764
|
-
const componentName$
|
|
10768
|
+
const componentName$7 = getComponentName('mappings-field');
|
|
10765
10769
|
|
|
10766
10770
|
const customMixin$1 = (superclass) =>
|
|
10767
10771
|
class MappingsFieldMixinClass extends superclass {
|
|
@@ -10790,14 +10794,14 @@ const customMixin$1 = (superclass) =>
|
|
|
10790
10794
|
const template = document.createElement('template');
|
|
10791
10795
|
|
|
10792
10796
|
template.innerHTML = `
|
|
10793
|
-
<${componentName$
|
|
10797
|
+
<${componentName$8}
|
|
10794
10798
|
tabindex="-1"
|
|
10795
|
-
></${componentName$
|
|
10799
|
+
></${componentName$8}>
|
|
10796
10800
|
`;
|
|
10797
10801
|
|
|
10798
10802
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
10799
10803
|
|
|
10800
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
10804
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$8);
|
|
10801
10805
|
|
|
10802
10806
|
forwardAttrs(this, this.inputElement, {
|
|
10803
10807
|
includeAttrs: [
|
|
@@ -10926,47 +10930,47 @@ const MappingsFieldClass = compose(
|
|
|
10926
10930
|
'options',
|
|
10927
10931
|
'error-message',
|
|
10928
10932
|
],
|
|
10929
|
-
componentName: componentName$
|
|
10933
|
+
componentName: componentName$7,
|
|
10930
10934
|
})
|
|
10931
10935
|
);
|
|
10932
10936
|
|
|
10933
|
-
const globalRefs$
|
|
10937
|
+
const globalRefs$4 = getThemeRefs(globals);
|
|
10934
10938
|
|
|
10935
|
-
const vars$
|
|
10939
|
+
const vars$7 = MappingsFieldClass.cssVarList;
|
|
10936
10940
|
|
|
10937
10941
|
const mappingsField = {
|
|
10938
|
-
[vars$
|
|
10939
|
-
[vars$
|
|
10940
|
-
[vars$
|
|
10941
|
-
[vars$
|
|
10942
|
-
[vars$
|
|
10943
|
-
[vars$
|
|
10944
|
-
[vars$
|
|
10945
|
-
[vars$
|
|
10946
|
-
[vars$
|
|
10947
|
-
[vars$
|
|
10942
|
+
[vars$7.hostWidth]: refs.width,
|
|
10943
|
+
[vars$7.hostDirection]: refs.direction,
|
|
10944
|
+
[vars$7.fontSize]: refs.fontSize,
|
|
10945
|
+
[vars$7.fontFamily]: refs.fontFamily,
|
|
10946
|
+
[vars$7.separatorFontSize]: '14px',
|
|
10947
|
+
[vars$7.labelsFontSize]: '14px',
|
|
10948
|
+
[vars$7.labelsLineHeight]: '1',
|
|
10949
|
+
[vars$7.labelsMarginBottom]: '6px',
|
|
10950
|
+
[vars$7.labelTextColor]: refs.labelTextColor,
|
|
10951
|
+
[vars$7.itemMarginBottom]: '1em',
|
|
10948
10952
|
// To be positioned correctly, the min width has to match the text field min width
|
|
10949
|
-
[vars$
|
|
10953
|
+
[vars$7.valueLabelMinWidth]: refs.minWidth,
|
|
10950
10954
|
// To be positioned correctly, the min width has to match the combo box field min width
|
|
10951
|
-
[vars$
|
|
10952
|
-
[vars$
|
|
10953
|
-
[vars$
|
|
10955
|
+
[vars$7.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$4.border.xs})`,
|
|
10956
|
+
[vars$7.separatorWidth]: '70px',
|
|
10957
|
+
[vars$7.removeButtonWidth]: '60px',
|
|
10954
10958
|
};
|
|
10955
10959
|
|
|
10956
10960
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
|
10957
10961
|
__proto__: null,
|
|
10958
10962
|
default: mappingsField,
|
|
10959
10963
|
mappingsField: mappingsField,
|
|
10960
|
-
vars: vars$
|
|
10964
|
+
vars: vars$7
|
|
10961
10965
|
});
|
|
10962
10966
|
|
|
10963
10967
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
10964
10968
|
|
|
10965
10969
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
10966
10970
|
|
|
10967
|
-
const componentName$
|
|
10971
|
+
const componentName$6 = getComponentName('user-attribute');
|
|
10968
10972
|
class RawUserAttribute extends createBaseClass({
|
|
10969
|
-
componentName: componentName$
|
|
10973
|
+
componentName: componentName$6,
|
|
10970
10974
|
baseSelector: ':host > .root',
|
|
10971
10975
|
}) {
|
|
10972
10976
|
constructor() {
|
|
@@ -11196,32 +11200,32 @@ const UserAttributeClass = compose(
|
|
|
11196
11200
|
componentNameValidationMixin
|
|
11197
11201
|
)(RawUserAttribute);
|
|
11198
11202
|
|
|
11199
|
-
const globalRefs$
|
|
11200
|
-
const vars$
|
|
11203
|
+
const globalRefs$3 = getThemeRefs(globals);
|
|
11204
|
+
const vars$6 = UserAttributeClass.cssVarList;
|
|
11201
11205
|
|
|
11202
11206
|
const userAttribute = {
|
|
11203
|
-
[vars$
|
|
11204
|
-
[vars$
|
|
11205
|
-
[vars$
|
|
11206
|
-
[vars$
|
|
11207
|
-
[vars$
|
|
11208
|
-
[vars$
|
|
11207
|
+
[vars$6.hostDirection]: globalRefs$3.direction,
|
|
11208
|
+
[vars$6.labelTextWidth]: '150px',
|
|
11209
|
+
[vars$6.valueTextWidth]: '200px',
|
|
11210
|
+
[vars$6.badgeMaxWidth]: '85px',
|
|
11211
|
+
[vars$6.itemsGap]: '16px',
|
|
11212
|
+
[vars$6.hostMinWidth]: '530px',
|
|
11209
11213
|
_fullWidth: {
|
|
11210
|
-
[vars$
|
|
11214
|
+
[vars$6.hostWidth]: '100%',
|
|
11211
11215
|
},
|
|
11212
11216
|
};
|
|
11213
11217
|
|
|
11214
11218
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
|
11215
11219
|
__proto__: null,
|
|
11216
11220
|
default: userAttribute,
|
|
11217
|
-
vars: vars$
|
|
11221
|
+
vars: vars$6
|
|
11218
11222
|
});
|
|
11219
11223
|
|
|
11220
11224
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
11221
11225
|
|
|
11222
|
-
const componentName$
|
|
11226
|
+
const componentName$5 = getComponentName('user-auth-method');
|
|
11223
11227
|
class RawUserAuthMethod extends createBaseClass({
|
|
11224
|
-
componentName: componentName$
|
|
11228
|
+
componentName: componentName$5,
|
|
11225
11229
|
baseSelector: ':host > .root',
|
|
11226
11230
|
}) {
|
|
11227
11231
|
constructor() {
|
|
@@ -11413,31 +11417,31 @@ const UserAuthMethodClass = compose(
|
|
|
11413
11417
|
componentNameValidationMixin
|
|
11414
11418
|
)(RawUserAuthMethod);
|
|
11415
11419
|
|
|
11416
|
-
const globalRefs$
|
|
11417
|
-
const vars$
|
|
11420
|
+
const globalRefs$2 = getThemeRefs(globals);
|
|
11421
|
+
const vars$5 = UserAuthMethodClass.cssVarList;
|
|
11418
11422
|
|
|
11419
11423
|
const userAuthMethod = {
|
|
11420
|
-
[vars$
|
|
11421
|
-
[vars$
|
|
11422
|
-
[vars$
|
|
11423
|
-
[vars$
|
|
11424
|
-
[vars$
|
|
11424
|
+
[vars$5.hostDirection]: globalRefs$2.direction,
|
|
11425
|
+
[vars$5.labelTextWidth]: '200px',
|
|
11426
|
+
[vars$5.itemsGap]: '16px',
|
|
11427
|
+
[vars$5.hostMinWidth]: '530px',
|
|
11428
|
+
[vars$5.iconSize]: '24px',
|
|
11425
11429
|
_fullWidth: {
|
|
11426
|
-
[vars$
|
|
11430
|
+
[vars$5.hostWidth]: '100%',
|
|
11427
11431
|
},
|
|
11428
11432
|
};
|
|
11429
11433
|
|
|
11430
11434
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
|
11431
11435
|
__proto__: null,
|
|
11432
11436
|
default: userAuthMethod,
|
|
11433
|
-
vars: vars$
|
|
11437
|
+
vars: vars$5
|
|
11434
11438
|
});
|
|
11435
11439
|
|
|
11436
|
-
const componentName$
|
|
11440
|
+
const componentName$4 = getComponentName('saml-group-mappings-internal');
|
|
11437
11441
|
|
|
11438
|
-
createBaseInputClass({ componentName: componentName$
|
|
11442
|
+
createBaseInputClass({ componentName: componentName$4, baseSelector: '' });
|
|
11439
11443
|
|
|
11440
|
-
const componentName$
|
|
11444
|
+
const componentName$3 = getComponentName('saml-group-mappings');
|
|
11441
11445
|
|
|
11442
11446
|
const customMixin = (superclass) =>
|
|
11443
11447
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
@@ -11447,14 +11451,14 @@ const customMixin = (superclass) =>
|
|
|
11447
11451
|
const template = document.createElement('template');
|
|
11448
11452
|
|
|
11449
11453
|
template.innerHTML = `
|
|
11450
|
-
<${componentName$
|
|
11454
|
+
<${componentName$4}
|
|
11451
11455
|
tabindex="-1"
|
|
11452
|
-
></${componentName$
|
|
11456
|
+
></${componentName$4}>
|
|
11453
11457
|
`;
|
|
11454
11458
|
|
|
11455
11459
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
11456
11460
|
|
|
11457
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
11461
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$4);
|
|
11458
11462
|
|
|
11459
11463
|
forwardAttrs(this, this.inputElement, {
|
|
11460
11464
|
includeAttrs: [
|
|
@@ -11531,60 +11535,448 @@ const SamlGroupMappingsClass = compose(
|
|
|
11531
11535
|
'options',
|
|
11532
11536
|
'error-message',
|
|
11533
11537
|
],
|
|
11534
|
-
componentName: componentName$
|
|
11538
|
+
componentName: componentName$3,
|
|
11535
11539
|
})
|
|
11536
11540
|
);
|
|
11537
11541
|
|
|
11538
|
-
const vars$
|
|
11542
|
+
const vars$4 = SamlGroupMappingsClass.cssVarList;
|
|
11539
11543
|
|
|
11540
11544
|
const samlGroupMappings = {
|
|
11541
|
-
[vars$
|
|
11542
|
-
[vars$
|
|
11543
|
-
[vars$
|
|
11545
|
+
[vars$4.hostWidth]: refs.width,
|
|
11546
|
+
[vars$4.hostDirection]: refs.direction,
|
|
11547
|
+
[vars$4.groupNameInputMarginBottom]: '1em',
|
|
11544
11548
|
};
|
|
11545
11549
|
|
|
11546
11550
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
|
11547
11551
|
__proto__: null,
|
|
11548
11552
|
default: samlGroupMappings,
|
|
11549
11553
|
samlGroupMappings: samlGroupMappings,
|
|
11550
|
-
vars: vars$
|
|
11554
|
+
vars: vars$4
|
|
11551
11555
|
});
|
|
11552
11556
|
|
|
11553
|
-
const globalRefs = getThemeRefs(globals);
|
|
11554
|
-
const vars$
|
|
11557
|
+
const globalRefs$1 = getThemeRefs(globals);
|
|
11558
|
+
const vars$3 = PolicyValidationClass.cssVarList;
|
|
11555
11559
|
|
|
11556
11560
|
const policyValidation = {
|
|
11557
|
-
[vars$
|
|
11558
|
-
[vars$
|
|
11559
|
-
[vars$
|
|
11560
|
-
[vars$
|
|
11561
|
-
[vars$
|
|
11562
|
-
[vars$
|
|
11563
|
-
[vars$
|
|
11564
|
-
[vars$
|
|
11565
|
-
[vars$
|
|
11566
|
-
[vars$
|
|
11567
|
-
[vars$
|
|
11568
|
-
[vars$
|
|
11569
|
-
[vars$
|
|
11570
|
-
[vars$
|
|
11571
|
-
[vars$
|
|
11572
|
-
[vars$
|
|
11561
|
+
[vars$3.fontFamily]: refs.fontFamily,
|
|
11562
|
+
[vars$3.fontSize]: refs.labelFontSize,
|
|
11563
|
+
[vars$3.textColor]: refs.labelTextColor,
|
|
11564
|
+
[vars$3.borderWidth]: refs.borderWidth,
|
|
11565
|
+
[vars$3.borderStyle]: refs.borderStyle,
|
|
11566
|
+
[vars$3.borderColor]: refs.borderColor,
|
|
11567
|
+
[vars$3.borderRadius]: globalRefs$1.radius.sm,
|
|
11568
|
+
[vars$3.backgroundColor]: 'none',
|
|
11569
|
+
[vars$3.padding]: '0px',
|
|
11570
|
+
[vars$3.labelMargin]: globalRefs$1.spacing.sm,
|
|
11571
|
+
[vars$3.itemsSpacing]: globalRefs$1.spacing.lg,
|
|
11572
|
+
[vars$3.itemSymbolDefault]: "'\\2022'", // "•"
|
|
11573
|
+
[vars$3.itemSymbolSuccess]: "'\\2713'", // "✓"
|
|
11574
|
+
[vars$3.itemSymbolError]: "'\\2A09'", // "⨉"
|
|
11575
|
+
[vars$3.itemSymbolSuccessColor]: globalRefs$1.colors.success.main,
|
|
11576
|
+
[vars$3.itemSymbolErrorColor]: globalRefs$1.colors.error.main,
|
|
11573
11577
|
};
|
|
11574
11578
|
|
|
11575
11579
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
|
11576
11580
|
__proto__: null,
|
|
11577
11581
|
default: policyValidation,
|
|
11578
|
-
vars: vars$
|
|
11582
|
+
vars: vars$3
|
|
11579
11583
|
});
|
|
11580
11584
|
|
|
11581
|
-
const vars$
|
|
11585
|
+
const vars$2 = IconClass.cssVarList;
|
|
11582
11586
|
|
|
11583
11587
|
const icon = {};
|
|
11584
11588
|
|
|
11585
11589
|
var icon$1 = /*#__PURE__*/Object.freeze({
|
|
11586
11590
|
__proto__: null,
|
|
11587
11591
|
default: icon,
|
|
11592
|
+
vars: vars$2
|
|
11593
|
+
});
|
|
11594
|
+
|
|
11595
|
+
const decode = (input) => {
|
|
11596
|
+
const txt = document.createElement('textarea');
|
|
11597
|
+
txt.innerHTML = input;
|
|
11598
|
+
return txt.value;
|
|
11599
|
+
};
|
|
11600
|
+
|
|
11601
|
+
const tpl = (input, inline) => {
|
|
11602
|
+
return inline ? input : `<pre>${input}</pre>`;
|
|
11603
|
+
};
|
|
11604
|
+
|
|
11605
|
+
const componentName$2 = getComponentName('code-snippet');
|
|
11606
|
+
|
|
11607
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$2, baseSelector: ':host > code' }) {
|
|
11608
|
+
static get observedAttributes() {
|
|
11609
|
+
return ['lang', 'inline'];
|
|
11610
|
+
}
|
|
11611
|
+
|
|
11612
|
+
constructor() {
|
|
11613
|
+
super();
|
|
11614
|
+
|
|
11615
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
11616
|
+
<style>
|
|
11617
|
+
:host {
|
|
11618
|
+
display: inline-block;
|
|
11619
|
+
width: 100%;
|
|
11620
|
+
}
|
|
11621
|
+
code {
|
|
11622
|
+
display: block;
|
|
11623
|
+
width: 100%;
|
|
11624
|
+
min-height: 1em;
|
|
11625
|
+
overflow-x: scroll;
|
|
11626
|
+
overflow-y: scroll;
|
|
11627
|
+
}
|
|
11628
|
+
pre {
|
|
11629
|
+
margin: 0;
|
|
11630
|
+
}
|
|
11631
|
+
</style>
|
|
11632
|
+
<code class="hljs"></code>
|
|
11633
|
+
`;
|
|
11634
|
+
}
|
|
11635
|
+
|
|
11636
|
+
init() {
|
|
11637
|
+
super.init?.();
|
|
11638
|
+
|
|
11639
|
+
this.lang = this.getAttribute('lang');
|
|
11640
|
+
this.isInline = this.getAttribute('inline') === 'true';
|
|
11641
|
+
|
|
11642
|
+
observeChildren(this, this.#renderSnippet.bind(this));
|
|
11643
|
+
}
|
|
11644
|
+
|
|
11645
|
+
get contentNode() {
|
|
11646
|
+
return this.shadowRoot.querySelector(this.baseSelector);
|
|
11647
|
+
}
|
|
11648
|
+
|
|
11649
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
11650
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
11651
|
+
|
|
11652
|
+
if (oldValue !== newValue) {
|
|
11653
|
+
if (attrName === 'inline') {
|
|
11654
|
+
this.isInline = newValue;
|
|
11655
|
+
}
|
|
11656
|
+
|
|
11657
|
+
if (attrName === 'lang') {
|
|
11658
|
+
this.lang = newValue;
|
|
11659
|
+
}
|
|
11660
|
+
|
|
11661
|
+
this.#renderSnippet();
|
|
11662
|
+
}
|
|
11663
|
+
}
|
|
11664
|
+
|
|
11665
|
+
#renderSnippet() {
|
|
11666
|
+
const sanitized = decode(this.textContent);
|
|
11667
|
+
const language = this.lang;
|
|
11668
|
+
|
|
11669
|
+
if (!language) {
|
|
11670
|
+
this.contentNode.textContent = sanitized;
|
|
11671
|
+
return;
|
|
11672
|
+
}
|
|
11673
|
+
|
|
11674
|
+
const { value: highlighted } = hljs.highlight(sanitized, { language });
|
|
11675
|
+
|
|
11676
|
+
this.contentNode.innerHTML = tpl(highlighted, this.isInline);
|
|
11677
|
+
}
|
|
11678
|
+
};
|
|
11679
|
+
|
|
11680
|
+
const {
|
|
11681
|
+
root,
|
|
11682
|
+
docTag,
|
|
11683
|
+
keyword,
|
|
11684
|
+
metaKeyword,
|
|
11685
|
+
templateTag,
|
|
11686
|
+
templateVariable,
|
|
11687
|
+
type,
|
|
11688
|
+
variableLanguage,
|
|
11689
|
+
title,
|
|
11690
|
+
titleClass,
|
|
11691
|
+
titleClassInherited,
|
|
11692
|
+
titleFunction,
|
|
11693
|
+
attr,
|
|
11694
|
+
attribute,
|
|
11695
|
+
literal,
|
|
11696
|
+
meta,
|
|
11697
|
+
number,
|
|
11698
|
+
operator,
|
|
11699
|
+
variable,
|
|
11700
|
+
selectorAttr,
|
|
11701
|
+
selectorClass,
|
|
11702
|
+
selectorId,
|
|
11703
|
+
regexp,
|
|
11704
|
+
string,
|
|
11705
|
+
metaString,
|
|
11706
|
+
builtIn,
|
|
11707
|
+
symbol,
|
|
11708
|
+
comment,
|
|
11709
|
+
code,
|
|
11710
|
+
formula,
|
|
11711
|
+
name,
|
|
11712
|
+
quote,
|
|
11713
|
+
selectorTag,
|
|
11714
|
+
selectorPseudo,
|
|
11715
|
+
subst,
|
|
11716
|
+
section,
|
|
11717
|
+
bullet,
|
|
11718
|
+
emphasis,
|
|
11719
|
+
strong,
|
|
11720
|
+
addition,
|
|
11721
|
+
deletion,
|
|
11722
|
+
charEscape,
|
|
11723
|
+
link,
|
|
11724
|
+
params,
|
|
11725
|
+
property,
|
|
11726
|
+
punctuation,
|
|
11727
|
+
tag,
|
|
11728
|
+
} = {
|
|
11729
|
+
root: { selector: () => '.hljs' },
|
|
11730
|
+
docTag: { selector: () => '.hljs-doctag' },
|
|
11731
|
+
keyword: { selector: () => '.hljs-keyword' },
|
|
11732
|
+
metaKeyword: { selector: () => '.hljs-meta .hljs-keyword' },
|
|
11733
|
+
templateTag: { selector: () => '.hljs-template-tag' },
|
|
11734
|
+
templateVariable: { selector: () => '.hljs-template-variable' },
|
|
11735
|
+
type: { selector: () => '.hljs-type' },
|
|
11736
|
+
variableLanguage: { selector: () => '.hljs-variable.language' },
|
|
11737
|
+
title: { selector: () => '.hljs-title' },
|
|
11738
|
+
titleClass: { selector: () => '.hljs-title.class_' },
|
|
11739
|
+
titleClassInherited: { selector: () => '.hljs-title.class_.inherited__' },
|
|
11740
|
+
titleFunction: { selector: () => '.hljs-title.function_' },
|
|
11741
|
+
attr: { selector: () => '.hljs-attr' },
|
|
11742
|
+
attribute: { selector: () => '.hljs-attribute' },
|
|
11743
|
+
literal: { selector: () => '.hljs-literal' },
|
|
11744
|
+
meta: { selector: () => '.hljs-meta' },
|
|
11745
|
+
number: { selector: () => '.hljs-number' },
|
|
11746
|
+
operator: { selector: () => '.hljs-operator' },
|
|
11747
|
+
variable: { selector: () => '.hljs-variable' },
|
|
11748
|
+
selectorAttr: { selector: () => '.hljs-selector-attr' },
|
|
11749
|
+
selectorClass: { selector: () => '.hljs-selector-class' },
|
|
11750
|
+
selectorId: { selector: () => '.hljs-selector-id' },
|
|
11751
|
+
regexp: { selector: () => '.hljs-regexp' },
|
|
11752
|
+
string: { selector: () => '.hljs-string' },
|
|
11753
|
+
metaString: { selector: () => '.hljs-meta .hljs-string' },
|
|
11754
|
+
builtIn: { selector: () => '.hljs-built_in' },
|
|
11755
|
+
symbol: { selector: () => '.hljs-symbol' },
|
|
11756
|
+
comment: { selector: () => '.hljs-comment' },
|
|
11757
|
+
code: { selector: () => '.hljs-code' },
|
|
11758
|
+
formula: { selector: () => '.hljs-formula' },
|
|
11759
|
+
name: { selector: () => '.hljs-name' },
|
|
11760
|
+
quote: { selector: () => '.hljs-quote' },
|
|
11761
|
+
selectorTag: { selector: () => '.hljs-selector-tag' },
|
|
11762
|
+
selectorPseudo: { selector: () => '.hljs-selector-pseudo' },
|
|
11763
|
+
subst: { selector: () => '.hljs-subst' },
|
|
11764
|
+
section: { selector: () => '.hljs-section' },
|
|
11765
|
+
bullet: { selector: () => '.hljs-bullet' },
|
|
11766
|
+
emphasis: { selector: () => '.hljs-emphasis' },
|
|
11767
|
+
strong: { selector: () => '.hljs-strong' },
|
|
11768
|
+
addition: { selector: () => '.hljs-addition' },
|
|
11769
|
+
deletion: { selector: () => '.hljs-deletion' },
|
|
11770
|
+
charEscape: { selector: () => '.hljs-char.escape' },
|
|
11771
|
+
link: { selector: () => '.hljs-link' },
|
|
11772
|
+
params: { selector: () => '.hljs-params' },
|
|
11773
|
+
property: { selector: () => '.hljs-property' },
|
|
11774
|
+
punctuation: { selector: () => '.hljs-punctuation' },
|
|
11775
|
+
tag: { selector: () => '.hljs-tag' },
|
|
11776
|
+
};
|
|
11777
|
+
|
|
11778
|
+
const CodeSnippetClass = compose(
|
|
11779
|
+
createStyleMixin({
|
|
11780
|
+
mappings: {
|
|
11781
|
+
rootBgColor: { ...root, property: 'background-color' },
|
|
11782
|
+
rootTextColor: { ...root, property: 'color' },
|
|
11783
|
+
docTagTextColor: { ...docTag, property: 'color' },
|
|
11784
|
+
keywordTextColor: { ...keyword, property: 'color' },
|
|
11785
|
+
metaKeywordTextColor: { ...metaKeyword, property: 'color' },
|
|
11786
|
+
templateTagTextColor: { ...templateTag, property: 'color' },
|
|
11787
|
+
templateVariableTextColor: { ...templateVariable, property: 'color' },
|
|
11788
|
+
typeTextColor: { ...type, property: 'color' },
|
|
11789
|
+
variableLanguageTextColor: { ...variableLanguage, property: 'color' },
|
|
11790
|
+
titleTextColor: { ...title, property: 'color' },
|
|
11791
|
+
titleClassTextColor: { ...titleClass, property: 'color' },
|
|
11792
|
+
titleClassInheritedTextColor: { ...titleClassInherited, property: 'color' },
|
|
11793
|
+
titleFunctionTextColor: { ...titleFunction, property: 'color' },
|
|
11794
|
+
attrTextColor: { ...attr, property: 'color' },
|
|
11795
|
+
attributeTextColor: { ...attribute, property: 'color' },
|
|
11796
|
+
literalTextColor: { ...literal, property: 'color' },
|
|
11797
|
+
metaTextColor: { ...meta, property: 'color' },
|
|
11798
|
+
numberTextColor: { ...number, property: 'color' },
|
|
11799
|
+
operatorTextColor: { ...operator, property: 'color' },
|
|
11800
|
+
variableTextColor: { ...variable, property: 'color' },
|
|
11801
|
+
selectorAttrTextColor: { ...selectorAttr, property: 'color' },
|
|
11802
|
+
selectorClassTextColor: { ...selectorClass, property: 'color' },
|
|
11803
|
+
selectorIdTextColor: { ...selectorId, property: 'color' },
|
|
11804
|
+
regexpTextColor: { ...regexp, property: 'color' },
|
|
11805
|
+
stringTextColor: { ...string, property: 'color' },
|
|
11806
|
+
metaStringTextColor: { ...metaString, property: 'color' },
|
|
11807
|
+
builtInTextColor: { ...builtIn, property: 'color' },
|
|
11808
|
+
symbolTextColor: { ...symbol, property: 'color' },
|
|
11809
|
+
commentTextColor: { ...comment, property: 'color' },
|
|
11810
|
+
codeTextColor: { ...code, property: 'color' },
|
|
11811
|
+
formulaTextColor: { ...formula, property: 'color' },
|
|
11812
|
+
nameTextColor: { ...name, property: 'color' },
|
|
11813
|
+
quoteTextColor: { ...quote, property: 'color' },
|
|
11814
|
+
selectorTagTextColor: { ...selectorTag, property: 'color' },
|
|
11815
|
+
selectorPseudoTextColor: { ...selectorPseudo, property: 'color' },
|
|
11816
|
+
substTextColor: { ...subst, property: 'color' },
|
|
11817
|
+
sectionTextColor: { ...section, property: 'color' },
|
|
11818
|
+
bulletTextColor: { ...bullet, property: 'color' },
|
|
11819
|
+
emphasisTextColor: { ...emphasis, property: 'color' },
|
|
11820
|
+
strongTextColor: { ...strong, property: 'color' },
|
|
11821
|
+
additionTextColor: { ...addition, property: 'color' },
|
|
11822
|
+
additionBgColor: { ...addition, property: 'background-color' },
|
|
11823
|
+
deletionTextColor: { ...deletion, property: 'color' },
|
|
11824
|
+
deletionBgColor: { ...deletion, property: 'background-color' },
|
|
11825
|
+
charEscapeTextColor: { ...charEscape, property: 'color' },
|
|
11826
|
+
linkTextColor: { ...link, property: 'color' },
|
|
11827
|
+
paramsTextColor: { ...params, property: 'color' },
|
|
11828
|
+
propertyTextColor: { ...property, property: 'color' },
|
|
11829
|
+
punctuationTextColor: { ...punctuation, property: 'color' },
|
|
11830
|
+
tagTextColor: { ...tag, property: 'color' },
|
|
11831
|
+
},
|
|
11832
|
+
}),
|
|
11833
|
+
draggableMixin,
|
|
11834
|
+
componentNameValidationMixin
|
|
11835
|
+
)(CodeSnippet$1);
|
|
11836
|
+
|
|
11837
|
+
const globalRefs = getThemeRefs(globals);
|
|
11838
|
+
|
|
11839
|
+
const vars$1 = CodeSnippetClass.cssVarList;
|
|
11840
|
+
|
|
11841
|
+
const light = {
|
|
11842
|
+
color1: '#fa0',
|
|
11843
|
+
color2: '#d73a49',
|
|
11844
|
+
color3: '#6f42c1',
|
|
11845
|
+
color4: '#005cc5',
|
|
11846
|
+
color5: '#e36209',
|
|
11847
|
+
color6: '#6a737d',
|
|
11848
|
+
color7: '#22863a',
|
|
11849
|
+
color8: '#24292e',
|
|
11850
|
+
color9: '#735c0f',
|
|
11851
|
+
color10: '#f0fff4',
|
|
11852
|
+
color11: '#b31d28',
|
|
11853
|
+
color12: '#ffeef0',
|
|
11854
|
+
color13: '#032f62',
|
|
11855
|
+
};
|
|
11856
|
+
|
|
11857
|
+
const dark = {
|
|
11858
|
+
color1: '#c9d1d9',
|
|
11859
|
+
color2: '#ff7b72',
|
|
11860
|
+
color3: '#d2a8ff',
|
|
11861
|
+
color4: '#79c0ff',
|
|
11862
|
+
color5: '#ffa657',
|
|
11863
|
+
color6: '#8b949e',
|
|
11864
|
+
color7: '#7ee787',
|
|
11865
|
+
color8: '#c9d1d9',
|
|
11866
|
+
color9: '#735c0f',
|
|
11867
|
+
color10: '#f0fff4',
|
|
11868
|
+
color11: '#67060c',
|
|
11869
|
+
color12: '#ffeef0',
|
|
11870
|
+
color13: '#a5d6ff',
|
|
11871
|
+
};
|
|
11872
|
+
|
|
11873
|
+
const CodeSnippet = {
|
|
11874
|
+
[vars$1.rootBgColor]: globalRefs.colors.surface.main,
|
|
11875
|
+
[vars$1.rootTextColor]: globalRefs.colors.surface.contrast,
|
|
11876
|
+
[vars$1.docTagTextColor]: light.color2,
|
|
11877
|
+
[vars$1.keywordTextColor]: light.color2,
|
|
11878
|
+
[vars$1.metaKeywordTextColor]: light.color2,
|
|
11879
|
+
[vars$1.templateTagTextColor]: light.color2,
|
|
11880
|
+
[vars$1.templateVariableTextColor]: light.color2,
|
|
11881
|
+
[vars$1.typeTextColor]: light.color2,
|
|
11882
|
+
[vars$1.variableLanguageTextColor]: light.color2,
|
|
11883
|
+
[vars$1.titleTextColor]: light.color3,
|
|
11884
|
+
[vars$1.titleClassTextColor]: light.color3,
|
|
11885
|
+
[vars$1.titleClassInheritedTextColor]: light.color3,
|
|
11886
|
+
[vars$1.titleFunctionTextColor]: light.color3,
|
|
11887
|
+
[vars$1.attrTextColor]: light.color4,
|
|
11888
|
+
[vars$1.attributeTextColor]: light.color4,
|
|
11889
|
+
[vars$1.literalTextColor]: light.color4,
|
|
11890
|
+
[vars$1.metaTextColor]: light.color4,
|
|
11891
|
+
[vars$1.numberTextColor]: light.color4,
|
|
11892
|
+
[vars$1.operatorTextColor]: light.color4,
|
|
11893
|
+
[vars$1.variableTextColor]: light.color4,
|
|
11894
|
+
[vars$1.selectorAttrTextColor]: light.color4,
|
|
11895
|
+
[vars$1.selectorClassTextColor]: light.color4,
|
|
11896
|
+
[vars$1.selectorIdTextColor]: light.color4,
|
|
11897
|
+
[vars$1.regexpTextColor]: light.color13,
|
|
11898
|
+
[vars$1.stringTextColor]: light.color13,
|
|
11899
|
+
[vars$1.metaStringTextColor]: light.color13,
|
|
11900
|
+
[vars$1.builtInTextColor]: light.color5,
|
|
11901
|
+
[vars$1.symbolTextColor]: light.color5,
|
|
11902
|
+
[vars$1.commentTextColor]: light.color6,
|
|
11903
|
+
[vars$1.codeTextColor]: light.color6,
|
|
11904
|
+
[vars$1.formulaTextColor]: light.color6,
|
|
11905
|
+
[vars$1.nameTextColor]: light.color7,
|
|
11906
|
+
[vars$1.quoteTextColor]: light.color7,
|
|
11907
|
+
[vars$1.selectorTagTextColor]: light.color7,
|
|
11908
|
+
[vars$1.selectorPseudoTextColor]: light.color7,
|
|
11909
|
+
[vars$1.substTextColor]: light.color8,
|
|
11910
|
+
[vars$1.sectionTextColor]: light.color4,
|
|
11911
|
+
[vars$1.bulletTextColor]: light.color9,
|
|
11912
|
+
[vars$1.emphasisTextColor]: light.color8,
|
|
11913
|
+
[vars$1.strongTextColor]: light.color8,
|
|
11914
|
+
[vars$1.additionTextColor]: light.color7,
|
|
11915
|
+
[vars$1.additionBgColor]: light.color10,
|
|
11916
|
+
[vars$1.deletionTextColor]: light.color2,
|
|
11917
|
+
[vars$1.deletionBgColor]: light.color10,
|
|
11918
|
+
/* purposely ignored */
|
|
11919
|
+
// [vars.charEscapeTextColor]: '',
|
|
11920
|
+
// [vars.linkTextColor]: '',
|
|
11921
|
+
// [vars.paramsTextColor]: '',
|
|
11922
|
+
// [vars.propertyTextColor]: '',
|
|
11923
|
+
// [vars.punctuationTextColor]: '',
|
|
11924
|
+
// [vars.tagTextColor ]: '',
|
|
11925
|
+
};
|
|
11926
|
+
|
|
11927
|
+
const codeSnippetDarkThemeOverrides = {
|
|
11928
|
+
codeSnippet: {
|
|
11929
|
+
[vars$1.rootBgColor]: globalRefs.colors.surface.main,
|
|
11930
|
+
[vars$1.rootTextColor]: globalRefs.colors.surface.contrast,
|
|
11931
|
+
[vars$1.docTagTextColor]: dark.color2,
|
|
11932
|
+
[vars$1.keywordTextColor]: dark.color2,
|
|
11933
|
+
[vars$1.metaKeywordTextColor]: dark.color2,
|
|
11934
|
+
[vars$1.templateTagTextColor]: dark.color2,
|
|
11935
|
+
[vars$1.templateVariableTextColor]: dark.color2,
|
|
11936
|
+
[vars$1.typeTextColor]: dark.color2,
|
|
11937
|
+
[vars$1.variableLanguageTextColor]: dark.color2,
|
|
11938
|
+
[vars$1.titleTextColor]: dark.color3,
|
|
11939
|
+
[vars$1.titleClassTextColor]: dark.color3,
|
|
11940
|
+
[vars$1.titleClassInheritedTextColor]: dark.color3,
|
|
11941
|
+
[vars$1.titleFunctionTextColor]: dark.color3,
|
|
11942
|
+
[vars$1.attrTextColor]: dark.color4,
|
|
11943
|
+
[vars$1.attributeTextColor]: dark.color4,
|
|
11944
|
+
[vars$1.literalTextColor]: dark.color4,
|
|
11945
|
+
[vars$1.metaTextColor]: dark.color4,
|
|
11946
|
+
[vars$1.numberTextColor]: dark.color4,
|
|
11947
|
+
[vars$1.operatorTextColor]: dark.color4,
|
|
11948
|
+
[vars$1.variableTextColor]: dark.color4,
|
|
11949
|
+
[vars$1.selectorAttrTextColor]: dark.color4,
|
|
11950
|
+
[vars$1.selectorClassTextColor]: dark.color4,
|
|
11951
|
+
[vars$1.selectorIdTextColor]: dark.color4,
|
|
11952
|
+
[vars$1.regexpTextColor]: dark.color13,
|
|
11953
|
+
[vars$1.stringTextColor]: dark.color13,
|
|
11954
|
+
[vars$1.metaStringTextColor]: dark.color13,
|
|
11955
|
+
[vars$1.builtInTextColor]: dark.color5,
|
|
11956
|
+
[vars$1.symbolTextColor]: dark.color5,
|
|
11957
|
+
[vars$1.commentTextColor]: dark.color6,
|
|
11958
|
+
[vars$1.codeTextColor]: dark.color6,
|
|
11959
|
+
[vars$1.formulaTextColor]: dark.color6,
|
|
11960
|
+
[vars$1.nameTextColor]: dark.color7,
|
|
11961
|
+
[vars$1.quoteTextColor]: dark.color7,
|
|
11962
|
+
[vars$1.selectorTagTextColor]: dark.color7,
|
|
11963
|
+
[vars$1.selectorPseudoTextColor]: dark.color7,
|
|
11964
|
+
[vars$1.substTextColor]: dark.color8,
|
|
11965
|
+
[vars$1.sectionTextColor]: dark.color4,
|
|
11966
|
+
[vars$1.bulletTextColor]: dark.color9,
|
|
11967
|
+
[vars$1.emphasisTextColor]: dark.color8,
|
|
11968
|
+
[vars$1.strongTextColor]: dark.color8,
|
|
11969
|
+
[vars$1.additionTextColor]: dark.color7,
|
|
11970
|
+
[vars$1.additionBgColor]: dark.color10,
|
|
11971
|
+
[vars$1.deletionTextColor]: dark.color2,
|
|
11972
|
+
[vars$1.deletionBgColor]: dark.color10,
|
|
11973
|
+
},
|
|
11974
|
+
};
|
|
11975
|
+
|
|
11976
|
+
var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
11977
|
+
__proto__: null,
|
|
11978
|
+
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
|
11979
|
+
default: CodeSnippet,
|
|
11588
11980
|
vars: vars$1
|
|
11589
11981
|
});
|
|
11590
11982
|
|
|
@@ -11603,7 +11995,7 @@ const components = {
|
|
|
11603
11995
|
notpImage,
|
|
11604
11996
|
text: text$3,
|
|
11605
11997
|
EnrichedText: EnrichedText$1,
|
|
11606
|
-
link: link$
|
|
11998
|
+
link: link$2,
|
|
11607
11999
|
divider: divider$1,
|
|
11608
12000
|
passcode: passcode$1,
|
|
11609
12001
|
loaderRadial: loaderRadial$1,
|
|
@@ -11630,6 +12022,7 @@ const components = {
|
|
|
11630
12022
|
samlGroupMappings: samlGroupMappings$1,
|
|
11631
12023
|
policyValidation: policyValidation$1,
|
|
11632
12024
|
icon: icon$1,
|
|
12025
|
+
codeSnippet,
|
|
11633
12026
|
};
|
|
11634
12027
|
|
|
11635
12028
|
const theme = Object.keys(components).reduce(
|
|
@@ -11642,7 +12035,7 @@ const vars = Object.keys(components).reduce(
|
|
|
11642
12035
|
);
|
|
11643
12036
|
|
|
11644
12037
|
const defaultTheme = { globals, components: theme };
|
|
11645
|
-
const themeVars = { globals: vars$
|
|
12038
|
+
const themeVars = { globals: vars$H, components: vars };
|
|
11646
12039
|
|
|
11647
12040
|
const colors = {
|
|
11648
12041
|
surface: {
|
|
@@ -11686,6 +12079,9 @@ const darkTheme = merge({}, defaultTheme, {
|
|
|
11686
12079
|
globals: {
|
|
11687
12080
|
colors,
|
|
11688
12081
|
},
|
|
12082
|
+
components: {
|
|
12083
|
+
...codeSnippetDarkThemeOverrides,
|
|
12084
|
+
},
|
|
11689
12085
|
});
|
|
11690
12086
|
|
|
11691
12087
|
const componentName$1 = getComponentName('recaptcha');
|
|
@@ -11969,6 +12365,7 @@ exports.ButtonMultiSelectionGroupClass = ButtonMultiSelectionGroupClass;
|
|
|
11969
12365
|
exports.ButtonSelectionGroupClass = ButtonSelectionGroupClass;
|
|
11970
12366
|
exports.ButtonSelectionGroupItemClass = ButtonSelectionGroupItemClass;
|
|
11971
12367
|
exports.CheckboxClass = CheckboxClass;
|
|
12368
|
+
exports.CodeSnippetClass = CodeSnippetClass;
|
|
11972
12369
|
exports.ContainerClass = ContainerClass;
|
|
11973
12370
|
exports.DividerClass = DividerClass;
|
|
11974
12371
|
exports.EmailFieldClass = EmailFieldClass;
|