@descope/web-components-ui 1.0.279 → 1.0.280

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/cjs/index.cjs.js +1123 -890
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.esm.js +1581 -964
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/umd/1000.js +1 -1
  7. package/dist/umd/1438.js +2 -2
  8. package/dist/umd/{9558.js → 1621.js} +117 -117
  9. package/dist/umd/2066.js +1 -1
  10. package/dist/umd/3280.js +197 -0
  11. package/dist/umd/3280.js.LICENSE.txt +29 -0
  12. package/dist/umd/{6542.js → 3951.js} +6 -6
  13. package/dist/umd/{6542.js.LICENSE.txt → 3951.js.LICENSE.txt} +0 -6
  14. package/dist/umd/422.js +1 -1
  15. package/dist/umd/5806.js +1 -1
  16. package/dist/umd/6770.js +1 -1
  17. package/dist/umd/6977.js +2 -0
  18. package/dist/umd/6977.js.LICENSE.txt +5 -0
  19. package/dist/umd/7056.js +1 -1
  20. package/dist/umd/7531.js +2 -2
  21. package/dist/umd/7583.js +2 -2
  22. package/dist/umd/8725.js +1 -1
  23. package/dist/umd/9092.js +2 -2
  24. package/dist/umd/9437.js +1 -1
  25. package/dist/umd/descope-combo-box-index-js.js +1 -1
  26. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
  27. package/dist/umd/descope-notification-index-js.js +1 -1
  28. package/dist/umd/index.js +1 -1
  29. package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -0
  30. package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -0
  31. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -0
  32. package/package.json +4 -1
  33. package/src/components/descope-combo-box/ComboBoxClass.js +4 -0
  34. package/src/components/mapping-fields/descope-mappings-field/MappingsFieldClass.js +159 -0
  35. package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/MappingItem.js +158 -0
  36. package/src/components/mapping-fields/descope-mappings-field/descope-mapping-item/index.js +3 -0
  37. package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/MappingsFieldInternal.js +232 -0
  38. package/src/components/mapping-fields/descope-mappings-field/descope-mappings-field-internal/index.js +3 -0
  39. package/src/components/mapping-fields/descope-mappings-field/index.js +14 -0
  40. package/src/index.cjs.js +1 -0
  41. package/src/index.d.ts +1 -0
  42. package/src/index.js +1 -0
  43. package/src/mixins/inputValidationMixin.js +8 -0
  44. package/src/mixins/proxyInputMixin.js +48 -6
  45. package/src/theme/components/index.js +2 -0
  46. package/src/theme/components/mappingsField.js +25 -0
  47. /package/dist/umd/{9558.js.LICENSE.txt → 1621.js.LICENSE.txt} +0 -0
@@ -566,7 +566,7 @@ const globals = {
566
566
  fonts,
567
567
  direction,
568
568
  };
569
- const vars$y = getThemeVars(globals);
569
+ const vars$z = getThemeVars(globals);
570
570
 
571
571
  const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
572
572
 
@@ -1933,6 +1933,14 @@ const inputValidationMixin = (superclass) =>
1933
1933
 
1934
1934
  #internals;
1935
1935
 
1936
+ get internals() {
1937
+ return this.#internals;
1938
+ }
1939
+
1940
+ set internals(value) {
1941
+ this.#internals = value;
1942
+ }
1943
+
1936
1944
  constructor() {
1937
1945
  super();
1938
1946
 
@@ -2119,7 +2127,10 @@ const proxyInputMixin =
2119
2127
  ({
2120
2128
  proxyProps = [],
2121
2129
  // allows us to set the event that should trigger validation
2130
+ // it can be either a string or an array of strings (for multiple events)
2122
2131
  inputEvent = 'input',
2132
+ // Proxies all validations from the parent component to the input element
2133
+ proxyParentValidation = false,
2123
2134
  }) =>
2124
2135
  (superclass) =>
2125
2136
  class ProxyInputMixinClass extends inputValidationMixin(superclass) {
@@ -2209,12 +2220,16 @@ const proxyInputMixin =
2209
2220
  // on some cases the base element is not ready so the inputElement is empty
2210
2221
  // we are deferring this section to make sure the base element is ready
2211
2222
  setTimeout(() => {
2212
- this.baseElement?.addEventListener(inputEvent, () => {
2213
- if (!this.baseElement.checkValidity()) {
2214
- this.#handleErrorMessage();
2215
- } else {
2216
- this.removeAttribute('invalid');
2217
- }
2223
+ const validationEvents = Array.isArray(inputEvent) ? inputEvent : [inputEvent];
2224
+
2225
+ validationEvents.forEach((e) => {
2226
+ this.baseElement?.addEventListener(e, () => {
2227
+ if (!this.baseElement.checkValidity()) {
2228
+ this.#handleErrorMessage();
2229
+ } else {
2230
+ this.removeAttribute('invalid');
2231
+ }
2232
+ });
2218
2233
  });
2219
2234
 
2220
2235
  this.baseElement.addEventListener('change', () => {
@@ -2237,6 +2252,41 @@ const proxyInputMixin =
2237
2252
 
2238
2253
  forwardAttrs(this, this.inputElement, { includeAttrs: ['inputmode'] });
2239
2254
  });
2255
+
2256
+ if (proxyParentValidation) {
2257
+ // All functions called on the inputElement internals will be applied to the parent
2258
+ // component internals as well. As a result, there's no need to add outer mechanisms
2259
+ // to update the parent component's validity state based on the input elements validity.
2260
+ const inputElementInternals = this.inputElement.internals;
2261
+ const parentThis = this;
2262
+ this.inputElement.internals = new Proxy(inputElementInternals, {
2263
+ get: (target, prop) => {
2264
+ if (typeof target[prop] === 'function' && prop === 'setValidity') {
2265
+ return (...args) => {
2266
+ // If we're calling setValidity with 3 args, then the validationTarget
2267
+ // needs to be swapped to be the inputElement
2268
+ if (args.length === 3) {
2269
+ const newArgs = args.slice(0, args.length - 1);
2270
+ newArgs.push(parentThis.inputElement);
2271
+ parentThis.internals[prop](...newArgs);
2272
+ } else {
2273
+ parentThis.internals[prop](...args);
2274
+ }
2275
+ return target[prop](...args);
2276
+ };
2277
+ }
2278
+
2279
+ if (typeof target[prop] === 'function') {
2280
+ return (...args) => {
2281
+ parentThis.internals[prop](...args);
2282
+ return target[prop](...args);
2283
+ };
2284
+ }
2285
+
2286
+ return target[prop];
2287
+ },
2288
+ });
2289
+ }
2240
2290
  }
2241
2291
  };
2242
2292
 
@@ -2455,7 +2505,7 @@ const clickableMixin = (superclass) =>
2455
2505
  }
2456
2506
  };
2457
2507
 
2458
- const componentName$F = getComponentName('button');
2508
+ const componentName$H = getComponentName('button');
2459
2509
 
2460
2510
  const resetStyles = `
2461
2511
  :host {
@@ -2493,7 +2543,7 @@ const iconStyles = `
2493
2543
 
2494
2544
  const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
2495
2545
 
2496
- const { host: host$h, label: label$a } = {
2546
+ const { host: host$i, label: label$a } = {
2497
2547
  host: { selector: () => ':host' },
2498
2548
  label: { selector: '::part(label)' },
2499
2549
  };
@@ -2505,7 +2555,7 @@ const ButtonClass = compose(
2505
2555
  mappings: {
2506
2556
  hostWidth: { property: 'width' },
2507
2557
  hostHeight: { property: 'height' },
2508
- hostDirection: { ...host$h, property: 'direction' },
2558
+ hostDirection: { ...host$i, property: 'direction' },
2509
2559
  fontSize: {},
2510
2560
  fontFamily: {},
2511
2561
 
@@ -2557,7 +2607,7 @@ const ButtonClass = compose(
2557
2607
  }
2558
2608
  `,
2559
2609
  excludeAttrsSync: ['tabindex'],
2560
- componentName: componentName$F,
2610
+ componentName: componentName$H,
2561
2611
  })
2562
2612
  );
2563
2613
 
@@ -2594,31 +2644,31 @@ loadingIndicatorStyles = `
2594
2644
  }
2595
2645
  `;
2596
2646
 
2597
- const globalRefs$h = getThemeRefs(globals);
2647
+ const globalRefs$i = getThemeRefs(globals);
2598
2648
  const compVars$4 = ButtonClass.cssVarList;
2599
2649
 
2600
2650
  const mode = {
2601
- primary: globalRefs$h.colors.primary,
2602
- secondary: globalRefs$h.colors.secondary,
2603
- success: globalRefs$h.colors.success,
2604
- error: globalRefs$h.colors.error,
2605
- surface: globalRefs$h.colors.surface,
2651
+ primary: globalRefs$i.colors.primary,
2652
+ secondary: globalRefs$i.colors.secondary,
2653
+ success: globalRefs$i.colors.success,
2654
+ error: globalRefs$i.colors.error,
2655
+ surface: globalRefs$i.colors.surface,
2606
2656
  };
2607
2657
 
2608
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$F);
2658
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$H);
2609
2659
 
2610
2660
  const button = {
2611
2661
  ...helperTheme$3,
2612
2662
 
2613
- [compVars$4.fontFamily]: globalRefs$h.fonts.font1.family,
2663
+ [compVars$4.fontFamily]: globalRefs$i.fonts.font1.family,
2614
2664
 
2615
2665
  [compVars$4.cursor]: 'pointer',
2616
2666
  [compVars$4.hostHeight]: '3em',
2617
2667
  [compVars$4.hostWidth]: 'auto',
2618
- [compVars$4.hostDirection]: globalRefs$h.direction,
2668
+ [compVars$4.hostDirection]: globalRefs$i.direction,
2619
2669
 
2620
- [compVars$4.borderRadius]: globalRefs$h.radius.sm,
2621
- [compVars$4.borderWidth]: globalRefs$h.border.xs,
2670
+ [compVars$4.borderRadius]: globalRefs$i.radius.sm,
2671
+ [compVars$4.borderWidth]: globalRefs$i.border.xs,
2622
2672
  [compVars$4.borderStyle]: 'solid',
2623
2673
  [compVars$4.borderColor]: 'transparent',
2624
2674
 
@@ -2661,10 +2711,10 @@ const button = {
2661
2711
  },
2662
2712
 
2663
2713
  _disabled: {
2664
- [helperVars$3.main]: globalRefs$h.colors.surface.light,
2665
- [helperVars$3.dark]: globalRefs$h.colors.surface.dark,
2666
- [helperVars$3.light]: globalRefs$h.colors.surface.light,
2667
- [helperVars$3.contrast]: globalRefs$h.colors.surface.main,
2714
+ [helperVars$3.main]: globalRefs$i.colors.surface.light,
2715
+ [helperVars$3.dark]: globalRefs$i.colors.surface.dark,
2716
+ [helperVars$3.light]: globalRefs$i.colors.surface.light,
2717
+ [helperVars$3.contrast]: globalRefs$i.colors.surface.main,
2668
2718
  },
2669
2719
 
2670
2720
  variant: {
@@ -2712,7 +2762,7 @@ const button = {
2712
2762
  },
2713
2763
  };
2714
2764
 
2715
- const vars$x = {
2765
+ const vars$y = {
2716
2766
  ...compVars$4,
2717
2767
  ...helperVars$3,
2718
2768
  };
@@ -2720,18 +2770,18 @@ const vars$x = {
2720
2770
  var button$1 = /*#__PURE__*/Object.freeze({
2721
2771
  __proto__: null,
2722
2772
  default: button,
2723
- vars: vars$x
2773
+ vars: vars$y
2724
2774
  });
2725
2775
 
2726
2776
  const {
2727
- host: host$g,
2777
+ host: host$h,
2728
2778
  label: label$9,
2729
2779
  placeholder: placeholder$3,
2730
2780
  requiredIndicator: requiredIndicator$b,
2731
2781
  inputField: inputField$6,
2732
2782
  input,
2733
- helperText: helperText$9,
2734
- errorMessage: errorMessage$b,
2783
+ helperText: helperText$a,
2784
+ errorMessage: errorMessage$c,
2735
2785
  disabledPlaceholder,
2736
2786
  } = {
2737
2787
  host: { selector: () => ':host' },
@@ -2747,12 +2797,12 @@ const {
2747
2797
 
2748
2798
  var textFieldMappings = {
2749
2799
  // we apply font-size also on the host so we can set its width with em
2750
- fontSize: [{}, host$g],
2751
- fontFamily: [label$9, inputField$6, helperText$9, errorMessage$b],
2800
+ fontSize: [{}, host$h],
2801
+ fontFamily: [label$9, inputField$6, helperText$a, errorMessage$c],
2752
2802
 
2753
- hostWidth: { ...host$g, property: 'width' },
2754
- hostMinWidth: { ...host$g, property: 'min-width' },
2755
- hostDirection: { ...host$g, property: 'direction' },
2803
+ hostWidth: { ...host$h, property: 'width' },
2804
+ hostMinWidth: { ...host$h, property: 'min-width' },
2805
+ hostDirection: { ...host$h, property: 'direction' },
2756
2806
 
2757
2807
  inputBackgroundColor: { ...inputField$6, property: 'background-color' },
2758
2808
 
@@ -2762,7 +2812,7 @@ var textFieldMappings = {
2762
2812
  { ...label$9, property: '-webkit-text-fill-color' },
2763
2813
  { ...requiredIndicator$b, property: '-webkit-text-fill-color' },
2764
2814
  ],
2765
- errorMessageTextColor: { ...errorMessage$b, property: 'color' },
2815
+ errorMessageTextColor: { ...errorMessage$c, property: 'color' },
2766
2816
 
2767
2817
  inputValueTextColor: { ...inputField$6, property: 'color' },
2768
2818
  inputCaretTextColor: { ...input, property: 'color' },
@@ -2922,11 +2972,11 @@ const resetInputLabelPosition = (name) => `
2922
2972
  }
2923
2973
  `;
2924
2974
 
2925
- const componentName$E = getComponentName('text-field');
2975
+ const componentName$G = getComponentName('text-field');
2926
2976
 
2927
2977
  const observedAttrs = ['type'];
2928
2978
 
2929
- const customMixin$6 = (superclass) =>
2979
+ const customMixin$7 = (superclass) =>
2930
2980
  class TextFieldClass extends superclass {
2931
2981
  static get observedAttributes() {
2932
2982
  return observedAttrs.concat(superclass.observedAttributes || []);
@@ -2953,7 +3003,7 @@ const TextFieldClass = compose(
2953
3003
  draggableMixin,
2954
3004
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
2955
3005
  componentNameValidationMixin,
2956
- customMixin$6
3006
+ customMixin$7
2957
3007
  )(
2958
3008
  createProxy({
2959
3009
  slots: ['prefix', 'suffix'],
@@ -2972,26 +3022,26 @@ const TextFieldClass = compose(
2972
3022
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
2973
3023
  `,
2974
3024
  excludeAttrsSync: ['tabindex'],
2975
- componentName: componentName$E,
3025
+ componentName: componentName$G,
2976
3026
  })
2977
3027
  );
2978
3028
 
2979
- const componentName$D = getComponentName('input-wrapper');
2980
- const globalRefs$g = getThemeRefs(globals);
3029
+ const componentName$F = getComponentName('input-wrapper');
3030
+ const globalRefs$h = getThemeRefs(globals);
2981
3031
 
2982
- const [theme$1, refs, vars$w] = createHelperVars(
3032
+ const [theme$1, refs, vars$x] = createHelperVars(
2983
3033
  {
2984
- labelTextColor: globalRefs$g.colors.surface.dark,
2985
- valueTextColor: globalRefs$g.colors.surface.contrast,
2986
- placeholderTextColor: globalRefs$g.colors.surface.dark,
3034
+ labelTextColor: globalRefs$h.colors.surface.dark,
3035
+ valueTextColor: globalRefs$h.colors.surface.contrast,
3036
+ placeholderTextColor: globalRefs$h.colors.surface.dark,
2987
3037
  requiredIndicator: "'*'",
2988
- errorMessageTextColor: globalRefs$g.colors.error.main,
3038
+ errorMessageTextColor: globalRefs$h.colors.error.main,
2989
3039
 
2990
- borderWidth: globalRefs$g.border.xs,
2991
- borderRadius: globalRefs$g.radius.xs,
3040
+ borderWidth: globalRefs$h.border.xs,
3041
+ borderRadius: globalRefs$h.radius.xs,
2992
3042
  borderColor: 'transparent',
2993
3043
 
2994
- outlineWidth: globalRefs$g.border.sm,
3044
+ outlineWidth: globalRefs$h.border.sm,
2995
3045
  outlineStyle: 'solid',
2996
3046
  outlineColor: 'transparent',
2997
3047
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -3002,11 +3052,11 @@ const [theme$1, refs, vars$w] = createHelperVars(
3002
3052
  horizontalPadding: '0.5em',
3003
3053
  verticalPadding: '0.5em',
3004
3054
 
3005
- backgroundColor: globalRefs$g.colors.surface.main,
3055
+ backgroundColor: globalRefs$h.colors.surface.main,
3006
3056
 
3007
- fontFamily: globalRefs$g.fonts.font1.family,
3057
+ fontFamily: globalRefs$h.fonts.font1.family,
3008
3058
 
3009
- direction: globalRefs$g.direction,
3059
+ direction: globalRefs$h.direction,
3010
3060
 
3011
3061
  overlayOpacity: '0.3',
3012
3062
 
@@ -3022,67 +3072,67 @@ const [theme$1, refs, vars$w] = createHelperVars(
3022
3072
  },
3023
3073
 
3024
3074
  _focused: {
3025
- outlineColor: globalRefs$g.colors.surface.light,
3075
+ outlineColor: globalRefs$h.colors.surface.light,
3026
3076
  _invalid: {
3027
- outlineColor: globalRefs$g.colors.error.main,
3077
+ outlineColor: globalRefs$h.colors.error.main,
3028
3078
  },
3029
3079
  },
3030
3080
 
3031
3081
  _bordered: {
3032
- outlineWidth: globalRefs$g.border.xs,
3033
- borderColor: globalRefs$g.colors.surface.light,
3082
+ outlineWidth: globalRefs$h.border.xs,
3083
+ borderColor: globalRefs$h.colors.surface.light,
3034
3084
  borderStyle: 'solid',
3035
3085
  _invalid: {
3036
- borderColor: globalRefs$g.colors.error.main,
3086
+ borderColor: globalRefs$h.colors.error.main,
3037
3087
  },
3038
3088
  },
3039
3089
 
3040
3090
  _disabled: {
3041
- labelTextColor: globalRefs$g.colors.surface.light,
3042
- borderColor: globalRefs$g.colors.surface.light,
3043
- valueTextColor: globalRefs$g.colors.surface.light,
3044
- placeholderTextColor: globalRefs$g.colors.surface.light,
3045
- backgroundColor: globalRefs$g.colors.surface.main,
3091
+ labelTextColor: globalRefs$h.colors.surface.light,
3092
+ borderColor: globalRefs$h.colors.surface.light,
3093
+ valueTextColor: globalRefs$h.colors.surface.light,
3094
+ placeholderTextColor: globalRefs$h.colors.surface.light,
3095
+ backgroundColor: globalRefs$h.colors.surface.main,
3046
3096
  },
3047
3097
  },
3048
- componentName$D
3098
+ componentName$F
3049
3099
  );
3050
3100
 
3051
3101
  var inputWrapper = /*#__PURE__*/Object.freeze({
3052
3102
  __proto__: null,
3053
3103
  default: theme$1,
3054
3104
  refs: refs,
3055
- vars: vars$w
3105
+ vars: vars$x
3056
3106
  });
3057
3107
 
3058
- const vars$v = TextFieldClass.cssVarList;
3108
+ const vars$w = TextFieldClass.cssVarList;
3059
3109
 
3060
3110
  const textField = {
3061
- [vars$v.hostWidth]: refs.width,
3062
- [vars$v.hostMinWidth]: refs.minWidth,
3063
- [vars$v.hostDirection]: refs.direction,
3064
- [vars$v.fontSize]: refs.fontSize,
3065
- [vars$v.fontFamily]: refs.fontFamily,
3066
- [vars$v.labelTextColor]: refs.labelTextColor,
3067
- [vars$v.labelRequiredIndicator]: refs.requiredIndicator,
3068
- [vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
3069
- [vars$v.inputValueTextColor]: refs.valueTextColor,
3070
- [vars$v.inputPlaceholderColor]: refs.placeholderTextColor,
3071
- [vars$v.inputBorderWidth]: refs.borderWidth,
3072
- [vars$v.inputBorderStyle]: refs.borderStyle,
3073
- [vars$v.inputBorderColor]: refs.borderColor,
3074
- [vars$v.inputBorderRadius]: refs.borderRadius,
3075
- [vars$v.inputOutlineWidth]: refs.outlineWidth,
3076
- [vars$v.inputOutlineStyle]: refs.outlineStyle,
3077
- [vars$v.inputOutlineColor]: refs.outlineColor,
3078
- [vars$v.inputOutlineOffset]: refs.outlineOffset,
3079
- [vars$v.inputBackgroundColor]: refs.backgroundColor,
3080
- [vars$v.inputHeight]: refs.inputHeight,
3081
- [vars$v.inputHorizontalPadding]: refs.horizontalPadding,
3111
+ [vars$w.hostWidth]: refs.width,
3112
+ [vars$w.hostMinWidth]: refs.minWidth,
3113
+ [vars$w.hostDirection]: refs.direction,
3114
+ [vars$w.fontSize]: refs.fontSize,
3115
+ [vars$w.fontFamily]: refs.fontFamily,
3116
+ [vars$w.labelTextColor]: refs.labelTextColor,
3117
+ [vars$w.labelRequiredIndicator]: refs.requiredIndicator,
3118
+ [vars$w.errorMessageTextColor]: refs.errorMessageTextColor,
3119
+ [vars$w.inputValueTextColor]: refs.valueTextColor,
3120
+ [vars$w.inputPlaceholderColor]: refs.placeholderTextColor,
3121
+ [vars$w.inputBorderWidth]: refs.borderWidth,
3122
+ [vars$w.inputBorderStyle]: refs.borderStyle,
3123
+ [vars$w.inputBorderColor]: refs.borderColor,
3124
+ [vars$w.inputBorderRadius]: refs.borderRadius,
3125
+ [vars$w.inputOutlineWidth]: refs.outlineWidth,
3126
+ [vars$w.inputOutlineStyle]: refs.outlineStyle,
3127
+ [vars$w.inputOutlineColor]: refs.outlineColor,
3128
+ [vars$w.inputOutlineOffset]: refs.outlineOffset,
3129
+ [vars$w.inputBackgroundColor]: refs.backgroundColor,
3130
+ [vars$w.inputHeight]: refs.inputHeight,
3131
+ [vars$w.inputHorizontalPadding]: refs.horizontalPadding,
3082
3132
  textAlign: {
3083
- right: { [vars$v.inputTextAlign]: 'right' },
3084
- left: { [vars$v.inputTextAlign]: 'left' },
3085
- center: { [vars$v.inputTextAlign]: 'center' },
3133
+ right: { [vars$w.inputTextAlign]: 'right' },
3134
+ left: { [vars$w.inputTextAlign]: 'left' },
3135
+ center: { [vars$w.inputTextAlign]: 'center' },
3086
3136
  },
3087
3137
  };
3088
3138
 
@@ -3090,7 +3140,7 @@ var textField$1 = /*#__PURE__*/Object.freeze({
3090
3140
  __proto__: null,
3091
3141
  default: textField,
3092
3142
  textField: textField,
3093
- vars: vars$v
3143
+ vars: vars$w
3094
3144
  });
3095
3145
 
3096
3146
  const passwordDraggableMixin = (superclass) =>
@@ -3127,10 +3177,10 @@ const passwordDraggableMixin = (superclass) =>
3127
3177
  }
3128
3178
  };
3129
3179
 
3130
- const componentName$C = getComponentName('password');
3180
+ const componentName$E = getComponentName('password');
3131
3181
 
3132
3182
  const {
3133
- host: host$f,
3183
+ host: host$g,
3134
3184
  inputField: inputField$5,
3135
3185
  inputElement: inputElement$2,
3136
3186
  inputElementPlaceholder,
@@ -3138,8 +3188,8 @@ const {
3138
3188
  revealButtonIcon,
3139
3189
  label: label$8,
3140
3190
  requiredIndicator: requiredIndicator$a,
3141
- errorMessage: errorMessage$a,
3142
- helperText: helperText$8,
3191
+ errorMessage: errorMessage$b,
3192
+ helperText: helperText$9,
3143
3193
  } = {
3144
3194
  host: { selector: () => ':host' },
3145
3195
  inputField: { selector: '::part(input-field)' },
@@ -3156,11 +3206,11 @@ const {
3156
3206
  const PasswordClass = compose(
3157
3207
  createStyleMixin({
3158
3208
  mappings: {
3159
- hostWidth: { ...host$f, property: 'width' },
3160
- hostMinWidth: { ...host$f, property: 'min-width' },
3161
- hostDirection: { ...host$f, property: 'direction' },
3162
- fontSize: [{}, host$f],
3163
- fontFamily: [label$8, inputField$5, errorMessage$a, helperText$8],
3209
+ hostWidth: { ...host$g, property: 'width' },
3210
+ hostMinWidth: { ...host$g, property: 'min-width' },
3211
+ hostDirection: { ...host$g, property: 'direction' },
3212
+ fontSize: [{}, host$g],
3213
+ fontFamily: [label$8, inputField$5, errorMessage$b, helperText$9],
3164
3214
  inputHeight: { ...inputField$5, property: 'height' },
3165
3215
  inputHorizontalPadding: [
3166
3216
  { ...inputElement$2, property: 'padding-left' },
@@ -3183,7 +3233,7 @@ const PasswordClass = compose(
3183
3233
  { ...requiredIndicator$a, property: 'color' },
3184
3234
  ],
3185
3235
  labelRequiredIndicator: { ...requiredIndicator$a, property: 'content' },
3186
- errorMessageTextColor: { ...errorMessage$a, property: 'color' },
3236
+ errorMessageTextColor: { ...errorMessage$b, property: 'color' },
3187
3237
 
3188
3238
  inputValueTextColor: { ...inputElement$2, property: 'color' },
3189
3239
  inputPlaceholderTextColor: { ...inputElementPlaceholder, property: 'color' },
@@ -3256,46 +3306,46 @@ const PasswordClass = compose(
3256
3306
  }
3257
3307
  `,
3258
3308
  excludeAttrsSync: ['tabindex'],
3259
- componentName: componentName$C,
3309
+ componentName: componentName$E,
3260
3310
  })
3261
3311
  );
3262
3312
 
3263
- const globalRefs$f = getThemeRefs(globals);
3264
- const vars$u = PasswordClass.cssVarList;
3313
+ const globalRefs$g = getThemeRefs(globals);
3314
+ const vars$v = PasswordClass.cssVarList;
3265
3315
 
3266
3316
  const password = {
3267
- [vars$u.hostWidth]: refs.width,
3268
- [vars$u.hostDirection]: refs.direction,
3269
- [vars$u.fontSize]: refs.fontSize,
3270
- [vars$u.fontFamily]: refs.fontFamily,
3271
- [vars$u.labelTextColor]: refs.labelTextColor,
3272
- [vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
3273
- [vars$u.inputHorizontalPadding]: refs.horizontalPadding,
3274
- [vars$u.inputHeight]: refs.inputHeight,
3275
- [vars$u.inputBackgroundColor]: refs.backgroundColor,
3276
- [vars$u.labelRequiredIndicator]: refs.requiredIndicator,
3277
- [vars$u.inputValueTextColor]: refs.valueTextColor,
3278
- [vars$u.inputPlaceholderTextColor]: refs.placeholderTextColor,
3279
- [vars$u.inputBorderWidth]: refs.borderWidth,
3280
- [vars$u.inputBorderStyle]: refs.borderStyle,
3281
- [vars$u.inputBorderColor]: refs.borderColor,
3282
- [vars$u.inputBorderRadius]: refs.borderRadius,
3283
- [vars$u.inputOutlineWidth]: refs.outlineWidth,
3284
- [vars$u.inputOutlineStyle]: refs.outlineStyle,
3285
- [vars$u.inputOutlineColor]: refs.outlineColor,
3286
- [vars$u.inputOutlineOffset]: refs.outlineOffset,
3287
- [vars$u.revealButtonOffset]: globalRefs$f.spacing.md,
3288
- [vars$u.revealButtonSize]: refs.toggleButtonSize,
3289
- [vars$u.revealButtonColor]: refs.placeholderTextColor,
3317
+ [vars$v.hostWidth]: refs.width,
3318
+ [vars$v.hostDirection]: refs.direction,
3319
+ [vars$v.fontSize]: refs.fontSize,
3320
+ [vars$v.fontFamily]: refs.fontFamily,
3321
+ [vars$v.labelTextColor]: refs.labelTextColor,
3322
+ [vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
3323
+ [vars$v.inputHorizontalPadding]: refs.horizontalPadding,
3324
+ [vars$v.inputHeight]: refs.inputHeight,
3325
+ [vars$v.inputBackgroundColor]: refs.backgroundColor,
3326
+ [vars$v.labelRequiredIndicator]: refs.requiredIndicator,
3327
+ [vars$v.inputValueTextColor]: refs.valueTextColor,
3328
+ [vars$v.inputPlaceholderTextColor]: refs.placeholderTextColor,
3329
+ [vars$v.inputBorderWidth]: refs.borderWidth,
3330
+ [vars$v.inputBorderStyle]: refs.borderStyle,
3331
+ [vars$v.inputBorderColor]: refs.borderColor,
3332
+ [vars$v.inputBorderRadius]: refs.borderRadius,
3333
+ [vars$v.inputOutlineWidth]: refs.outlineWidth,
3334
+ [vars$v.inputOutlineStyle]: refs.outlineStyle,
3335
+ [vars$v.inputOutlineColor]: refs.outlineColor,
3336
+ [vars$v.inputOutlineOffset]: refs.outlineOffset,
3337
+ [vars$v.revealButtonOffset]: globalRefs$g.spacing.md,
3338
+ [vars$v.revealButtonSize]: refs.toggleButtonSize,
3339
+ [vars$v.revealButtonColor]: refs.placeholderTextColor,
3290
3340
  };
3291
3341
 
3292
3342
  var password$1 = /*#__PURE__*/Object.freeze({
3293
3343
  __proto__: null,
3294
3344
  default: password,
3295
- vars: vars$u
3345
+ vars: vars$v
3296
3346
  });
3297
3347
 
3298
- const componentName$B = getComponentName('number-field');
3348
+ const componentName$D = getComponentName('number-field');
3299
3349
 
3300
3350
  const NumberFieldClass = compose(
3301
3351
  createStyleMixin({
@@ -3321,45 +3371,45 @@ const NumberFieldClass = compose(
3321
3371
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
3322
3372
  `,
3323
3373
  excludeAttrsSync: ['tabindex'],
3324
- componentName: componentName$B,
3374
+ componentName: componentName$D,
3325
3375
  })
3326
3376
  );
3327
3377
 
3328
- const vars$t = NumberFieldClass.cssVarList;
3378
+ const vars$u = NumberFieldClass.cssVarList;
3329
3379
 
3330
3380
  const numberField = {
3331
- [vars$t.hostWidth]: refs.width,
3332
- [vars$t.hostMinWidth]: refs.minWidth,
3333
- [vars$t.hostDirection]: refs.direction,
3334
- [vars$t.fontSize]: refs.fontSize,
3335
- [vars$t.fontFamily]: refs.fontFamily,
3336
- [vars$t.labelTextColor]: refs.labelTextColor,
3337
- [vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
3338
- [vars$t.inputValueTextColor]: refs.valueTextColor,
3339
- [vars$t.inputPlaceholderColor]: refs.placeholderTextColor,
3340
- [vars$t.inputBorderWidth]: refs.borderWidth,
3341
- [vars$t.inputBorderStyle]: refs.borderStyle,
3342
- [vars$t.inputBorderColor]: refs.borderColor,
3343
- [vars$t.inputBorderRadius]: refs.borderRadius,
3344
- [vars$t.inputOutlineWidth]: refs.outlineWidth,
3345
- [vars$t.inputOutlineStyle]: refs.outlineStyle,
3346
- [vars$t.inputOutlineColor]: refs.outlineColor,
3347
- [vars$t.inputOutlineOffset]: refs.outlineOffset,
3348
- [vars$t.inputBackgroundColor]: refs.backgroundColor,
3349
- [vars$t.labelRequiredIndicator]: refs.requiredIndicator,
3350
- [vars$t.inputHorizontalPadding]: refs.horizontalPadding,
3351
- [vars$t.inputHeight]: refs.inputHeight,
3381
+ [vars$u.hostWidth]: refs.width,
3382
+ [vars$u.hostMinWidth]: refs.minWidth,
3383
+ [vars$u.hostDirection]: refs.direction,
3384
+ [vars$u.fontSize]: refs.fontSize,
3385
+ [vars$u.fontFamily]: refs.fontFamily,
3386
+ [vars$u.labelTextColor]: refs.labelTextColor,
3387
+ [vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
3388
+ [vars$u.inputValueTextColor]: refs.valueTextColor,
3389
+ [vars$u.inputPlaceholderColor]: refs.placeholderTextColor,
3390
+ [vars$u.inputBorderWidth]: refs.borderWidth,
3391
+ [vars$u.inputBorderStyle]: refs.borderStyle,
3392
+ [vars$u.inputBorderColor]: refs.borderColor,
3393
+ [vars$u.inputBorderRadius]: refs.borderRadius,
3394
+ [vars$u.inputOutlineWidth]: refs.outlineWidth,
3395
+ [vars$u.inputOutlineStyle]: refs.outlineStyle,
3396
+ [vars$u.inputOutlineColor]: refs.outlineColor,
3397
+ [vars$u.inputOutlineOffset]: refs.outlineOffset,
3398
+ [vars$u.inputBackgroundColor]: refs.backgroundColor,
3399
+ [vars$u.labelRequiredIndicator]: refs.requiredIndicator,
3400
+ [vars$u.inputHorizontalPadding]: refs.horizontalPadding,
3401
+ [vars$u.inputHeight]: refs.inputHeight,
3352
3402
  };
3353
3403
 
3354
3404
  var numberField$1 = /*#__PURE__*/Object.freeze({
3355
3405
  __proto__: null,
3356
3406
  default: numberField,
3357
- vars: vars$t
3407
+ vars: vars$u
3358
3408
  });
3359
3409
 
3360
- const componentName$A = getComponentName('email-field');
3410
+ const componentName$C = getComponentName('email-field');
3361
3411
 
3362
- const customMixin$5 = (superclass) =>
3412
+ const customMixin$6 = (superclass) =>
3363
3413
  class EmailFieldMixinClass extends superclass {
3364
3414
  init() {
3365
3415
  super.init?.();
@@ -3373,7 +3423,7 @@ const EmailFieldClass = compose(
3373
3423
  draggableMixin,
3374
3424
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
3375
3425
  componentNameValidationMixin,
3376
- customMixin$5
3426
+ customMixin$6
3377
3427
  )(
3378
3428
  createProxy({
3379
3429
  slots: ['', 'suffix'],
@@ -3392,53 +3442,53 @@ const EmailFieldClass = compose(
3392
3442
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
3393
3443
  `,
3394
3444
  excludeAttrsSync: ['tabindex'],
3395
- componentName: componentName$A,
3445
+ componentName: componentName$C,
3396
3446
  })
3397
3447
  );
3398
3448
 
3399
- const vars$s = EmailFieldClass.cssVarList;
3449
+ const vars$t = EmailFieldClass.cssVarList;
3400
3450
 
3401
3451
  const emailField = {
3402
- [vars$s.hostWidth]: refs.width,
3403
- [vars$s.hostMinWidth]: refs.minWidth,
3404
- [vars$s.hostDirection]: refs.direction,
3405
- [vars$s.fontSize]: refs.fontSize,
3406
- [vars$s.fontFamily]: refs.fontFamily,
3407
- [vars$s.labelTextColor]: refs.labelTextColor,
3408
- [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
3409
- [vars$s.inputValueTextColor]: refs.valueTextColor,
3410
- [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
3411
- [vars$s.inputPlaceholderColor]: refs.placeholderTextColor,
3412
- [vars$s.inputBorderWidth]: refs.borderWidth,
3413
- [vars$s.inputBorderStyle]: refs.borderStyle,
3414
- [vars$s.inputBorderColor]: refs.borderColor,
3415
- [vars$s.inputBorderRadius]: refs.borderRadius,
3416
- [vars$s.inputOutlineWidth]: refs.outlineWidth,
3417
- [vars$s.inputOutlineStyle]: refs.outlineStyle,
3418
- [vars$s.inputOutlineColor]: refs.outlineColor,
3419
- [vars$s.inputOutlineOffset]: refs.outlineOffset,
3420
- [vars$s.inputBackgroundColor]: refs.backgroundColor,
3421
- [vars$s.inputHorizontalPadding]: refs.horizontalPadding,
3422
- [vars$s.inputHeight]: refs.inputHeight,
3452
+ [vars$t.hostWidth]: refs.width,
3453
+ [vars$t.hostMinWidth]: refs.minWidth,
3454
+ [vars$t.hostDirection]: refs.direction,
3455
+ [vars$t.fontSize]: refs.fontSize,
3456
+ [vars$t.fontFamily]: refs.fontFamily,
3457
+ [vars$t.labelTextColor]: refs.labelTextColor,
3458
+ [vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
3459
+ [vars$t.inputValueTextColor]: refs.valueTextColor,
3460
+ [vars$t.labelRequiredIndicator]: refs.requiredIndicator,
3461
+ [vars$t.inputPlaceholderColor]: refs.placeholderTextColor,
3462
+ [vars$t.inputBorderWidth]: refs.borderWidth,
3463
+ [vars$t.inputBorderStyle]: refs.borderStyle,
3464
+ [vars$t.inputBorderColor]: refs.borderColor,
3465
+ [vars$t.inputBorderRadius]: refs.borderRadius,
3466
+ [vars$t.inputOutlineWidth]: refs.outlineWidth,
3467
+ [vars$t.inputOutlineStyle]: refs.outlineStyle,
3468
+ [vars$t.inputOutlineColor]: refs.outlineColor,
3469
+ [vars$t.inputOutlineOffset]: refs.outlineOffset,
3470
+ [vars$t.inputBackgroundColor]: refs.backgroundColor,
3471
+ [vars$t.inputHorizontalPadding]: refs.horizontalPadding,
3472
+ [vars$t.inputHeight]: refs.inputHeight,
3423
3473
  };
3424
3474
 
3425
3475
  var emailField$1 = /*#__PURE__*/Object.freeze({
3426
3476
  __proto__: null,
3427
3477
  default: emailField,
3428
- vars: vars$s
3478
+ vars: vars$t
3429
3479
  });
3430
3480
 
3431
- const componentName$z = getComponentName('text-area');
3481
+ const componentName$B = getComponentName('text-area');
3432
3482
 
3433
3483
  const {
3434
- host: host$e,
3484
+ host: host$f,
3435
3485
  label: label$7,
3436
3486
  placeholder: placeholder$2,
3437
3487
  inputField: inputField$4,
3438
3488
  textArea: textArea$2,
3439
3489
  requiredIndicator: requiredIndicator$9,
3440
- helperText: helperText$7,
3441
- errorMessage: errorMessage$9,
3490
+ helperText: helperText$8,
3491
+ errorMessage: errorMessage$a,
3442
3492
  } = {
3443
3493
  host: { selector: () => ':host' },
3444
3494
  label: { selector: '::part(label)' },
@@ -3453,17 +3503,17 @@ const {
3453
3503
  const TextAreaClass = compose(
3454
3504
  createStyleMixin({
3455
3505
  mappings: {
3456
- hostWidth: { ...host$e, property: 'width' },
3457
- hostMinWidth: { ...host$e, property: 'min-width' },
3458
- hostDirection: { ...host$e, property: 'direction' },
3459
- fontSize: [host$e, textArea$2],
3460
- fontFamily: [label$7, inputField$4, helperText$7, errorMessage$9],
3506
+ hostWidth: { ...host$f, property: 'width' },
3507
+ hostMinWidth: { ...host$f, property: 'min-width' },
3508
+ hostDirection: { ...host$f, property: 'direction' },
3509
+ fontSize: [host$f, textArea$2],
3510
+ fontFamily: [label$7, inputField$4, helperText$8, errorMessage$a],
3461
3511
  labelTextColor: [
3462
3512
  { ...label$7, property: 'color' },
3463
3513
  { ...requiredIndicator$9, property: 'color' },
3464
3514
  ],
3465
3515
  labelRequiredIndicator: { ...requiredIndicator$9, property: 'content' },
3466
- errorMessageTextColor: { ...errorMessage$9, property: 'color' },
3516
+ errorMessageTextColor: { ...errorMessage$a, property: 'color' },
3467
3517
  inputBackgroundColor: { ...inputField$4, property: 'background-color' },
3468
3518
  inputValueTextColor: { ...textArea$2, property: 'color' },
3469
3519
  inputPlaceholderTextColor: { ...placeholder$2, property: 'color' },
@@ -3504,49 +3554,49 @@ const TextAreaClass = compose(
3504
3554
  ${resetInputCursor('vaadin-text-area')}
3505
3555
  `,
3506
3556
  excludeAttrsSync: ['tabindex'],
3507
- componentName: componentName$z,
3557
+ componentName: componentName$B,
3508
3558
  })
3509
3559
  );
3510
3560
 
3511
- const vars$r = TextAreaClass.cssVarList;
3561
+ const vars$s = TextAreaClass.cssVarList;
3512
3562
 
3513
3563
  const textArea = {
3514
- [vars$r.hostWidth]: refs.width,
3515
- [vars$r.hostMinWidth]: refs.minWidth,
3516
- [vars$r.hostDirection]: refs.direction,
3517
- [vars$r.fontSize]: refs.fontSize,
3518
- [vars$r.fontFamily]: refs.fontFamily,
3519
- [vars$r.labelTextColor]: refs.labelTextColor,
3520
- [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
3521
- [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
3522
- [vars$r.inputBackgroundColor]: refs.backgroundColor,
3523
- [vars$r.inputValueTextColor]: refs.valueTextColor,
3524
- [vars$r.inputPlaceholderTextColor]: refs.placeholderTextColor,
3525
- [vars$r.inputBorderRadius]: refs.borderRadius,
3526
- [vars$r.inputBorderWidth]: refs.borderWidth,
3527
- [vars$r.inputBorderStyle]: refs.borderStyle,
3528
- [vars$r.inputBorderColor]: refs.borderColor,
3529
- [vars$r.inputOutlineWidth]: refs.outlineWidth,
3530
- [vars$r.inputOutlineStyle]: refs.outlineStyle,
3531
- [vars$r.inputOutlineColor]: refs.outlineColor,
3532
- [vars$r.inputOutlineOffset]: refs.outlineOffset,
3533
- [vars$r.inputResizeType]: 'vertical',
3534
- [vars$r.inputMinHeight]: '5em',
3564
+ [vars$s.hostWidth]: refs.width,
3565
+ [vars$s.hostMinWidth]: refs.minWidth,
3566
+ [vars$s.hostDirection]: refs.direction,
3567
+ [vars$s.fontSize]: refs.fontSize,
3568
+ [vars$s.fontFamily]: refs.fontFamily,
3569
+ [vars$s.labelTextColor]: refs.labelTextColor,
3570
+ [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
3571
+ [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
3572
+ [vars$s.inputBackgroundColor]: refs.backgroundColor,
3573
+ [vars$s.inputValueTextColor]: refs.valueTextColor,
3574
+ [vars$s.inputPlaceholderTextColor]: refs.placeholderTextColor,
3575
+ [vars$s.inputBorderRadius]: refs.borderRadius,
3576
+ [vars$s.inputBorderWidth]: refs.borderWidth,
3577
+ [vars$s.inputBorderStyle]: refs.borderStyle,
3578
+ [vars$s.inputBorderColor]: refs.borderColor,
3579
+ [vars$s.inputOutlineWidth]: refs.outlineWidth,
3580
+ [vars$s.inputOutlineStyle]: refs.outlineStyle,
3581
+ [vars$s.inputOutlineColor]: refs.outlineColor,
3582
+ [vars$s.inputOutlineOffset]: refs.outlineOffset,
3583
+ [vars$s.inputResizeType]: 'vertical',
3584
+ [vars$s.inputMinHeight]: '5em',
3535
3585
  textAlign: {
3536
- right: { [vars$r.inputTextAlign]: 'right' },
3537
- left: { [vars$r.inputTextAlign]: 'left' },
3538
- center: { [vars$r.inputTextAlign]: 'center' },
3586
+ right: { [vars$s.inputTextAlign]: 'right' },
3587
+ left: { [vars$s.inputTextAlign]: 'left' },
3588
+ center: { [vars$s.inputTextAlign]: 'center' },
3539
3589
  },
3540
3590
 
3541
3591
  _readonly: {
3542
- [vars$r.inputResizeType]: 'none',
3592
+ [vars$s.inputResizeType]: 'none',
3543
3593
  },
3544
3594
  };
3545
3595
 
3546
3596
  var textArea$1 = /*#__PURE__*/Object.freeze({
3547
3597
  __proto__: null,
3548
3598
  default: textArea,
3549
- vars: vars$r
3599
+ vars: vars$s
3550
3600
  });
3551
3601
 
3552
3602
  const createBaseInputClass = (...args) =>
@@ -3557,9 +3607,9 @@ const createBaseInputClass = (...args) =>
3557
3607
  inputEventsDispatchingMixin
3558
3608
  )(createBaseClass(...args));
3559
3609
 
3560
- const componentName$y = getComponentName('boolean-field-internal');
3610
+ const componentName$A = getComponentName('boolean-field-internal');
3561
3611
 
3562
- createBaseInputClass({ componentName: componentName$y, baseSelector: 'div' });
3612
+ createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
3563
3613
 
3564
3614
  const booleanFieldMixin = (superclass) =>
3565
3615
  class BooleanFieldMixinClass extends superclass {
@@ -3568,14 +3618,14 @@ const booleanFieldMixin = (superclass) =>
3568
3618
 
3569
3619
  const template = document.createElement('template');
3570
3620
  template.innerHTML = `
3571
- <${componentName$y}
3621
+ <${componentName$A}
3572
3622
  tabindex="-1"
3573
3623
  slot="input"
3574
- ></${componentName$y}>
3624
+ ></${componentName$A}>
3575
3625
  `;
3576
3626
 
3577
3627
  this.baseElement.appendChild(template.content.cloneNode(true));
3578
- this.inputElement = this.shadowRoot.querySelector(componentName$y);
3628
+ this.inputElement = this.shadowRoot.querySelector(componentName$A);
3579
3629
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
3580
3630
 
3581
3631
  forwardAttrs(this, this.inputElement, {
@@ -3645,17 +3695,17 @@ descope-boolean-field-internal {
3645
3695
  }
3646
3696
  `;
3647
3697
 
3648
- const componentName$x = getComponentName('checkbox');
3698
+ const componentName$z = getComponentName('checkbox');
3649
3699
 
3650
3700
  const {
3651
- host: host$d,
3701
+ host: host$e,
3652
3702
  component: component$1,
3653
3703
  checkboxElement,
3654
3704
  checkboxSurface,
3655
3705
  checkboxLabel: checkboxLabel$1,
3656
3706
  requiredIndicator: requiredIndicator$8,
3657
- helperText: helperText$6,
3658
- errorMessage: errorMessage$8,
3707
+ helperText: helperText$7,
3708
+ errorMessage: errorMessage$9,
3659
3709
  } = {
3660
3710
  host: { selector: () => ':host' },
3661
3711
  requiredIndicator: { selector: '[required] vaadin-checkbox [slot="label"]:not(:empty)::after' },
@@ -3670,11 +3720,11 @@ const {
3670
3720
  const CheckboxClass = compose(
3671
3721
  createStyleMixin({
3672
3722
  mappings: {
3673
- hostWidth: { ...host$d, property: 'width' },
3674
- hostDirection: { ...host$d, property: 'direction' },
3723
+ hostWidth: { ...host$e, property: 'width' },
3724
+ hostDirection: { ...host$e, property: 'direction' },
3675
3725
 
3676
- fontSize: [host$d, checkboxElement, checkboxLabel$1],
3677
- fontFamily: [checkboxLabel$1, helperText$6, errorMessage$8],
3726
+ fontSize: [host$e, checkboxElement, checkboxLabel$1],
3727
+ fontFamily: [checkboxLabel$1, helperText$7, errorMessage$9],
3678
3728
 
3679
3729
  labelTextColor: { ...checkboxLabel$1, property: 'color' },
3680
3730
  labelSpacing: { ...checkboxLabel$1, property: 'padding-inline-start' },
@@ -3682,7 +3732,7 @@ const CheckboxClass = compose(
3682
3732
  labelFontWeight: { ...checkboxLabel$1, property: 'font-weight' },
3683
3733
  labelRequiredIndicator: { ...requiredIndicator$8, property: 'content' },
3684
3734
 
3685
- errorMessageTextColor: { ...errorMessage$8, property: 'color' },
3735
+ errorMessageTextColor: { ...errorMessage$9, property: 'color' },
3686
3736
 
3687
3737
  inputValueTextColor: { ...checkboxSurface, property: 'color' },
3688
3738
  inputBackgroundColor: { ...checkboxElement, property: 'background-color' },
@@ -3751,61 +3801,61 @@ const CheckboxClass = compose(
3751
3801
  }
3752
3802
  `,
3753
3803
  excludeAttrsSync: ['label', 'tabindex'],
3754
- componentName: componentName$x,
3804
+ componentName: componentName$z,
3755
3805
  })
3756
3806
  );
3757
3807
 
3758
- const vars$q = CheckboxClass.cssVarList;
3808
+ const vars$r = CheckboxClass.cssVarList;
3759
3809
  const checkboxSize = '1.35em';
3760
3810
 
3761
3811
  const checkbox = {
3762
- [vars$q.hostWidth]: refs.width,
3763
- [vars$q.hostDirection]: refs.direction,
3764
- [vars$q.fontSize]: refs.fontSize,
3765
- [vars$q.fontFamily]: refs.fontFamily,
3766
- [vars$q.labelTextColor]: refs.labelTextColor,
3767
- [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
3768
- [vars$q.labelFontWeight]: '400',
3769
- [vars$q.labelLineHeight]: checkboxSize,
3770
- [vars$q.labelSpacing]: '1em',
3771
- [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
3772
- [vars$q.inputOutlineWidth]: refs.outlineWidth,
3773
- [vars$q.inputOutlineOffset]: refs.outlineOffset,
3774
- [vars$q.inputOutlineColor]: refs.outlineColor,
3775
- [vars$q.inputOutlineStyle]: refs.outlineStyle,
3776
- [vars$q.inputBorderRadius]: refs.borderRadius,
3777
- [vars$q.inputBorderColor]: refs.borderColor,
3778
- [vars$q.inputBorderWidth]: refs.borderWidth,
3779
- [vars$q.inputBorderStyle]: refs.borderStyle,
3780
- [vars$q.inputBackgroundColor]: refs.backgroundColor,
3781
- [vars$q.inputSize]: checkboxSize,
3812
+ [vars$r.hostWidth]: refs.width,
3813
+ [vars$r.hostDirection]: refs.direction,
3814
+ [vars$r.fontSize]: refs.fontSize,
3815
+ [vars$r.fontFamily]: refs.fontFamily,
3816
+ [vars$r.labelTextColor]: refs.labelTextColor,
3817
+ [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
3818
+ [vars$r.labelFontWeight]: '400',
3819
+ [vars$r.labelLineHeight]: checkboxSize,
3820
+ [vars$r.labelSpacing]: '1em',
3821
+ [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
3822
+ [vars$r.inputOutlineWidth]: refs.outlineWidth,
3823
+ [vars$r.inputOutlineOffset]: refs.outlineOffset,
3824
+ [vars$r.inputOutlineColor]: refs.outlineColor,
3825
+ [vars$r.inputOutlineStyle]: refs.outlineStyle,
3826
+ [vars$r.inputBorderRadius]: refs.borderRadius,
3827
+ [vars$r.inputBorderColor]: refs.borderColor,
3828
+ [vars$r.inputBorderWidth]: refs.borderWidth,
3829
+ [vars$r.inputBorderStyle]: refs.borderStyle,
3830
+ [vars$r.inputBackgroundColor]: refs.backgroundColor,
3831
+ [vars$r.inputSize]: checkboxSize,
3782
3832
 
3783
3833
  _checked: {
3784
- [vars$q.inputValueTextColor]: refs.valueTextColor,
3834
+ [vars$r.inputValueTextColor]: refs.valueTextColor,
3785
3835
  },
3786
3836
 
3787
3837
  _disabled: {
3788
- [vars$q.labelTextColor]: refs.labelTextColor,
3838
+ [vars$r.labelTextColor]: refs.labelTextColor,
3789
3839
  },
3790
3840
  };
3791
3841
 
3792
3842
  var checkbox$1 = /*#__PURE__*/Object.freeze({
3793
3843
  __proto__: null,
3794
3844
  default: checkbox,
3795
- vars: vars$q
3845
+ vars: vars$r
3796
3846
  });
3797
3847
 
3798
- const componentName$w = getComponentName('switch-toggle');
3848
+ const componentName$y = getComponentName('switch-toggle');
3799
3849
 
3800
3850
  const {
3801
- host: host$c,
3851
+ host: host$d,
3802
3852
  component,
3803
3853
  checkboxElement: track,
3804
3854
  checkboxSurface: knob,
3805
3855
  checkboxLabel,
3806
3856
  requiredIndicator: requiredIndicator$7,
3807
- helperText: helperText$5,
3808
- errorMessage: errorMessage$7,
3857
+ helperText: helperText$6,
3858
+ errorMessage: errorMessage$8,
3809
3859
  } = {
3810
3860
  host: { selector: () => ':host' },
3811
3861
  requiredIndicator: { selector: '[required] vaadin-checkbox [slot="label"]:not(:empty)::after' },
@@ -3820,11 +3870,11 @@ const {
3820
3870
  const SwitchToggleClass = compose(
3821
3871
  createStyleMixin({
3822
3872
  mappings: {
3823
- hostWidth: { ...host$c, property: 'width' },
3824
- hostDirection: { ...host$c, property: 'direction' },
3873
+ hostWidth: { ...host$d, property: 'width' },
3874
+ hostDirection: { ...host$d, property: 'direction' },
3825
3875
 
3826
3876
  fontSize: [component, checkboxLabel, checkboxLabel],
3827
- fontFamily: [checkboxLabel, helperText$5, errorMessage$7],
3877
+ fontFamily: [checkboxLabel, helperText$6, errorMessage$8],
3828
3878
 
3829
3879
  labelTextColor: { ...checkboxLabel, property: 'color' },
3830
3880
  labelSpacing: { ...checkboxLabel, property: 'padding-inline-start' },
@@ -3832,7 +3882,7 @@ const SwitchToggleClass = compose(
3832
3882
  labelFontWeight: { ...checkboxLabel, property: 'font-weight' },
3833
3883
  labelRequiredIndicator: { ...requiredIndicator$7, property: 'content' },
3834
3884
 
3835
- errorMessageTextColor: { ...errorMessage$7, property: 'color' },
3885
+ errorMessageTextColor: { ...errorMessage$8, property: 'color' },
3836
3886
 
3837
3887
  trackBorderWidth: { ...track, property: 'border-width' },
3838
3888
  trackBorderStyle: { ...track, property: 'border-style' },
@@ -3927,82 +3977,82 @@ const SwitchToggleClass = compose(
3927
3977
  }
3928
3978
  `,
3929
3979
  excludeAttrsSync: ['label', 'tabindex'],
3930
- componentName: componentName$w,
3980
+ componentName: componentName$y,
3931
3981
  })
3932
3982
  );
3933
3983
 
3934
3984
  const knobMargin = '2px';
3935
3985
  const checkboxHeight = '1.25em';
3936
3986
 
3937
- const globalRefs$e = getThemeRefs(globals);
3938
- const vars$p = SwitchToggleClass.cssVarList;
3987
+ const globalRefs$f = getThemeRefs(globals);
3988
+ const vars$q = SwitchToggleClass.cssVarList;
3939
3989
 
3940
3990
  const switchToggle = {
3941
- [vars$p.hostWidth]: refs.width,
3942
- [vars$p.hostDirection]: refs.direction,
3943
- [vars$p.fontSize]: refs.fontSize,
3944
- [vars$p.fontFamily]: refs.fontFamily,
3945
-
3946
- [vars$p.inputOutlineWidth]: refs.outlineWidth,
3947
- [vars$p.inputOutlineOffset]: refs.outlineOffset,
3948
- [vars$p.inputOutlineColor]: refs.outlineColor,
3949
- [vars$p.inputOutlineStyle]: refs.outlineStyle,
3950
-
3951
- [vars$p.trackBorderStyle]: refs.borderStyle,
3952
- [vars$p.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
3953
- [vars$p.trackBorderColor]: refs.borderColor,
3954
- [vars$p.trackBackgroundColor]: refs.backgroundColor,
3955
- [vars$p.trackBorderRadius]: globalRefs$e.radius.md,
3956
- [vars$p.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
3957
- [vars$p.trackHeight]: checkboxHeight,
3958
-
3959
- [vars$p.knobSize]: `calc(1em - ${knobMargin})`,
3960
- [vars$p.knobRadius]: '50%',
3961
- [vars$p.knobTopOffset]: '1px',
3962
- [vars$p.knobLeftOffset]: knobMargin,
3963
- [vars$p.knobColor]: refs.labelTextColor,
3964
- [vars$p.knobTransitionDuration]: '0.3s',
3965
-
3966
- [vars$p.labelTextColor]: refs.labelTextColor,
3967
- [vars$p.labelFontWeight]: '400',
3968
- [vars$p.labelLineHeight]: '1.35em',
3969
- [vars$p.labelSpacing]: '1em',
3970
- [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
3971
- [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
3991
+ [vars$q.hostWidth]: refs.width,
3992
+ [vars$q.hostDirection]: refs.direction,
3993
+ [vars$q.fontSize]: refs.fontSize,
3994
+ [vars$q.fontFamily]: refs.fontFamily,
3995
+
3996
+ [vars$q.inputOutlineWidth]: refs.outlineWidth,
3997
+ [vars$q.inputOutlineOffset]: refs.outlineOffset,
3998
+ [vars$q.inputOutlineColor]: refs.outlineColor,
3999
+ [vars$q.inputOutlineStyle]: refs.outlineStyle,
4000
+
4001
+ [vars$q.trackBorderStyle]: refs.borderStyle,
4002
+ [vars$q.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
4003
+ [vars$q.trackBorderColor]: refs.borderColor,
4004
+ [vars$q.trackBackgroundColor]: refs.backgroundColor,
4005
+ [vars$q.trackBorderRadius]: globalRefs$f.radius.md,
4006
+ [vars$q.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
4007
+ [vars$q.trackHeight]: checkboxHeight,
4008
+
4009
+ [vars$q.knobSize]: `calc(1em - ${knobMargin})`,
4010
+ [vars$q.knobRadius]: '50%',
4011
+ [vars$q.knobTopOffset]: '1px',
4012
+ [vars$q.knobLeftOffset]: knobMargin,
4013
+ [vars$q.knobColor]: refs.labelTextColor,
4014
+ [vars$q.knobTransitionDuration]: '0.3s',
4015
+
4016
+ [vars$q.labelTextColor]: refs.labelTextColor,
4017
+ [vars$q.labelFontWeight]: '400',
4018
+ [vars$q.labelLineHeight]: '1.35em',
4019
+ [vars$q.labelSpacing]: '1em',
4020
+ [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
4021
+ [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
3972
4022
 
3973
4023
  _checked: {
3974
- [vars$p.trackBorderColor]: refs.borderColor,
3975
- [vars$p.knobLeftOffset]: `calc(100% - var(${vars$p.knobSize}) - ${knobMargin})`,
3976
- [vars$p.knobColor]: refs.valueTextColor,
3977
- [vars$p.knobTextColor]: refs.valueTextColor,
4024
+ [vars$q.trackBorderColor]: refs.borderColor,
4025
+ [vars$q.knobLeftOffset]: `calc(100% - var(${vars$q.knobSize}) - ${knobMargin})`,
4026
+ [vars$q.knobColor]: refs.valueTextColor,
4027
+ [vars$q.knobTextColor]: refs.valueTextColor,
3978
4028
  },
3979
4029
 
3980
4030
  _disabled: {
3981
- [vars$p.knobColor]: globalRefs$e.colors.surface.light,
3982
- [vars$p.trackBorderColor]: globalRefs$e.colors.surface.light,
3983
- [vars$p.trackBackgroundColor]: globalRefs$e.colors.surface.main,
3984
- [vars$p.labelTextColor]: refs.labelTextColor,
4031
+ [vars$q.knobColor]: globalRefs$f.colors.surface.light,
4032
+ [vars$q.trackBorderColor]: globalRefs$f.colors.surface.light,
4033
+ [vars$q.trackBackgroundColor]: globalRefs$f.colors.surface.main,
4034
+ [vars$q.labelTextColor]: refs.labelTextColor,
3985
4035
  _checked: {
3986
- [vars$p.knobColor]: globalRefs$e.colors.surface.light,
3987
- [vars$p.trackBackgroundColor]: globalRefs$e.colors.surface.main,
4036
+ [vars$q.knobColor]: globalRefs$f.colors.surface.light,
4037
+ [vars$q.trackBackgroundColor]: globalRefs$f.colors.surface.main,
3988
4038
  },
3989
4039
  },
3990
4040
 
3991
4041
  _invalid: {
3992
- [vars$p.trackBorderColor]: globalRefs$e.colors.error.main,
3993
- [vars$p.knobColor]: globalRefs$e.colors.error.main,
4042
+ [vars$q.trackBorderColor]: globalRefs$f.colors.error.main,
4043
+ [vars$q.knobColor]: globalRefs$f.colors.error.main,
3994
4044
  },
3995
4045
  };
3996
4046
 
3997
4047
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
3998
4048
  __proto__: null,
3999
4049
  default: switchToggle,
4000
- vars: vars$p
4050
+ vars: vars$q
4001
4051
  });
4002
4052
 
4003
- const componentName$v = getComponentName('container');
4053
+ const componentName$x = getComponentName('container');
4004
4054
 
4005
- class RawContainer extends createBaseClass({ componentName: componentName$v, baseSelector: 'slot' }) {
4055
+ class RawContainer extends createBaseClass({ componentName: componentName$x, baseSelector: 'slot' }) {
4006
4056
  constructor() {
4007
4057
  super();
4008
4058
 
@@ -4055,7 +4105,7 @@ const ContainerClass = compose(
4055
4105
  componentNameValidationMixin
4056
4106
  )(RawContainer);
4057
4107
 
4058
- const globalRefs$d = getThemeRefs(globals);
4108
+ const globalRefs$e = getThemeRefs(globals);
4059
4109
 
4060
4110
  const compVars$3 = ContainerClass.cssVarList;
4061
4111
 
@@ -4077,7 +4127,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
4077
4127
  horizontalAlignment,
4078
4128
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
4079
4129
  },
4080
- componentName$v
4130
+ componentName$x
4081
4131
  );
4082
4132
 
4083
4133
  const { shadowColor: shadowColor$1 } = helperRefs$2;
@@ -4087,10 +4137,10 @@ const container = {
4087
4137
 
4088
4138
  [compVars$3.hostWidth]: '100%',
4089
4139
  [compVars$3.boxShadow]: 'none',
4090
- [compVars$3.backgroundColor]: globalRefs$d.colors.surface.main,
4091
- [compVars$3.color]: globalRefs$d.colors.surface.contrast,
4140
+ [compVars$3.backgroundColor]: globalRefs$e.colors.surface.main,
4141
+ [compVars$3.color]: globalRefs$e.colors.surface.contrast,
4092
4142
  [compVars$3.borderRadius]: '0px',
4093
- [compVars$3.hostDirection]: globalRefs$d.direction,
4143
+ [compVars$3.hostDirection]: globalRefs$e.direction,
4094
4144
 
4095
4145
  verticalPadding: {
4096
4146
  sm: { [compVars$3.verticalPadding]: '5px' },
@@ -4136,34 +4186,34 @@ const container = {
4136
4186
 
4137
4187
  shadow: {
4138
4188
  sm: {
4139
- [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.sm} ${shadowColor$1}`,
4189
+ [compVars$3.boxShadow]: `${globalRefs$e.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$e.shadow.narrow.sm} ${shadowColor$1}`,
4140
4190
  },
4141
4191
  md: {
4142
- [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.md} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.md} ${shadowColor$1}`,
4192
+ [compVars$3.boxShadow]: `${globalRefs$e.shadow.wide.md} ${shadowColor$1}, ${globalRefs$e.shadow.narrow.md} ${shadowColor$1}`,
4143
4193
  },
4144
4194
  lg: {
4145
- [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.lg} ${shadowColor$1}`,
4195
+ [compVars$3.boxShadow]: `${globalRefs$e.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$e.shadow.narrow.lg} ${shadowColor$1}`,
4146
4196
  },
4147
4197
  xl: {
4148
- [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.xl} ${shadowColor$1}`,
4198
+ [compVars$3.boxShadow]: `${globalRefs$e.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$e.shadow.narrow.xl} ${shadowColor$1}`,
4149
4199
  },
4150
4200
  '2xl': {
4151
4201
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
4152
- [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide['2xl']} ${shadowColor$1}`,
4202
+ [compVars$3.boxShadow]: `${globalRefs$e.shadow.wide['2xl']} ${shadowColor$1}`,
4153
4203
  },
4154
4204
  },
4155
4205
 
4156
4206
  borderRadius: {
4157
- sm: { [compVars$3.borderRadius]: globalRefs$d.radius.sm },
4158
- md: { [compVars$3.borderRadius]: globalRefs$d.radius.md },
4159
- lg: { [compVars$3.borderRadius]: globalRefs$d.radius.lg },
4160
- xl: { [compVars$3.borderRadius]: globalRefs$d.radius.xl },
4161
- '2xl': { [compVars$3.borderRadius]: globalRefs$d.radius['2xl'] },
4162
- '3xl': { [compVars$3.borderRadius]: globalRefs$d.radius['3xl'] },
4207
+ sm: { [compVars$3.borderRadius]: globalRefs$e.radius.sm },
4208
+ md: { [compVars$3.borderRadius]: globalRefs$e.radius.md },
4209
+ lg: { [compVars$3.borderRadius]: globalRefs$e.radius.lg },
4210
+ xl: { [compVars$3.borderRadius]: globalRefs$e.radius.xl },
4211
+ '2xl': { [compVars$3.borderRadius]: globalRefs$e.radius['2xl'] },
4212
+ '3xl': { [compVars$3.borderRadius]: globalRefs$e.radius['3xl'] },
4163
4213
  },
4164
4214
  };
4165
4215
 
4166
- const vars$o = {
4216
+ const vars$p = {
4167
4217
  ...compVars$3,
4168
4218
  ...helperVars$2,
4169
4219
  };
@@ -4171,7 +4221,7 @@ const vars$o = {
4171
4221
  var container$1 = /*#__PURE__*/Object.freeze({
4172
4222
  __proto__: null,
4173
4223
  default: container,
4174
- vars: vars$o
4224
+ vars: vars$p
4175
4225
  });
4176
4226
 
4177
4227
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
@@ -4224,71 +4274,71 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
4224
4274
  return CssVarImageClass;
4225
4275
  };
4226
4276
 
4227
- const componentName$u = getComponentName('logo');
4277
+ const componentName$w = getComponentName('logo');
4228
4278
 
4229
4279
  const LogoClass = createCssVarImageClass({
4230
- componentName: componentName$u,
4280
+ componentName: componentName$w,
4231
4281
  varName: 'url',
4232
4282
  fallbackVarName: 'fallbackUrl',
4233
4283
  });
4234
4284
 
4235
- const vars$n = LogoClass.cssVarList;
4285
+ const vars$o = LogoClass.cssVarList;
4236
4286
 
4237
4287
  const logo$2 = {
4238
- [vars$n.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4288
+ [vars$o.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4239
4289
  };
4240
4290
 
4241
4291
  var logo$3 = /*#__PURE__*/Object.freeze({
4242
4292
  __proto__: null,
4243
4293
  default: logo$2,
4244
- vars: vars$n
4294
+ vars: vars$o
4245
4295
  });
4246
4296
 
4247
- const componentName$t = getComponentName('totp-image');
4297
+ const componentName$v = getComponentName('totp-image');
4248
4298
 
4249
4299
  const TotpImageClass = createCssVarImageClass({
4250
- componentName: componentName$t,
4300
+ componentName: componentName$v,
4251
4301
  varName: 'url',
4252
4302
  fallbackVarName: 'fallbackUrl',
4253
4303
  });
4254
4304
 
4255
- const vars$m = TotpImageClass.cssVarList;
4305
+ const vars$n = TotpImageClass.cssVarList;
4256
4306
 
4257
4307
  const logo$1 = {
4258
- [vars$m.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4308
+ [vars$n.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4259
4309
  };
4260
4310
 
4261
4311
  var totpImage = /*#__PURE__*/Object.freeze({
4262
4312
  __proto__: null,
4263
4313
  default: logo$1,
4264
- vars: vars$m
4314
+ vars: vars$n
4265
4315
  });
4266
4316
 
4267
- const componentName$s = getComponentName('notp-image');
4317
+ const componentName$u = getComponentName('notp-image');
4268
4318
 
4269
4319
  const NotpImageClass = createCssVarImageClass({
4270
- componentName: componentName$s,
4320
+ componentName: componentName$u,
4271
4321
  varName: 'url',
4272
4322
  fallbackVarName: 'fallbackUrl',
4273
4323
  });
4274
4324
 
4275
- const vars$l = NotpImageClass.cssVarList;
4325
+ const vars$m = NotpImageClass.cssVarList;
4276
4326
 
4277
4327
  const logo = {
4278
- [vars$l.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
4328
+ [vars$m.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
4279
4329
  };
4280
4330
 
4281
4331
  var notpImage = /*#__PURE__*/Object.freeze({
4282
4332
  __proto__: null,
4283
4333
  default: logo,
4284
- vars: vars$l
4334
+ vars: vars$m
4285
4335
  });
4286
4336
 
4287
4337
  // eslint-disable-next-line max-classes-per-file
4288
4338
 
4289
- const componentName$r = getComponentName('text');
4339
+ const componentName$t = getComponentName('text');
4290
4340
 
4291
- class RawText extends createBaseClass({ componentName: componentName$r, baseSelector: ':host > slot' }) {
4341
+ class RawText extends createBaseClass({ componentName: componentName$t, baseSelector: ':host > slot' }) {
4292
4342
  constructor() {
4293
4343
  super();
4294
4344
 
@@ -4348,99 +4398,99 @@ const TextClass = compose(
4348
4398
  customTextMixin
4349
4399
  )(RawText);
4350
4400
 
4351
- const globalRefs$c = getThemeRefs(globals);
4352
- const vars$k = TextClass.cssVarList;
4401
+ const globalRefs$d = getThemeRefs(globals);
4402
+ const vars$l = TextClass.cssVarList;
4353
4403
 
4354
4404
  const text$2 = {
4355
- [vars$k.hostDirection]: globalRefs$c.direction,
4356
- [vars$k.textLineHeight]: '1.35em',
4357
- [vars$k.textAlign]: 'left',
4358
- [vars$k.textColor]: globalRefs$c.colors.surface.dark,
4405
+ [vars$l.hostDirection]: globalRefs$d.direction,
4406
+ [vars$l.textLineHeight]: '1.35em',
4407
+ [vars$l.textAlign]: 'left',
4408
+ [vars$l.textColor]: globalRefs$d.colors.surface.dark,
4359
4409
  variant: {
4360
4410
  h1: {
4361
- [vars$k.fontSize]: globalRefs$c.typography.h1.size,
4362
- [vars$k.fontWeight]: globalRefs$c.typography.h1.weight,
4363
- [vars$k.fontFamily]: globalRefs$c.typography.h1.font,
4411
+ [vars$l.fontSize]: globalRefs$d.typography.h1.size,
4412
+ [vars$l.fontWeight]: globalRefs$d.typography.h1.weight,
4413
+ [vars$l.fontFamily]: globalRefs$d.typography.h1.font,
4364
4414
  },
4365
4415
  h2: {
4366
- [vars$k.fontSize]: globalRefs$c.typography.h2.size,
4367
- [vars$k.fontWeight]: globalRefs$c.typography.h2.weight,
4368
- [vars$k.fontFamily]: globalRefs$c.typography.h2.font,
4416
+ [vars$l.fontSize]: globalRefs$d.typography.h2.size,
4417
+ [vars$l.fontWeight]: globalRefs$d.typography.h2.weight,
4418
+ [vars$l.fontFamily]: globalRefs$d.typography.h2.font,
4369
4419
  },
4370
4420
  h3: {
4371
- [vars$k.fontSize]: globalRefs$c.typography.h3.size,
4372
- [vars$k.fontWeight]: globalRefs$c.typography.h3.weight,
4373
- [vars$k.fontFamily]: globalRefs$c.typography.h3.font,
4421
+ [vars$l.fontSize]: globalRefs$d.typography.h3.size,
4422
+ [vars$l.fontWeight]: globalRefs$d.typography.h3.weight,
4423
+ [vars$l.fontFamily]: globalRefs$d.typography.h3.font,
4374
4424
  },
4375
4425
  subtitle1: {
4376
- [vars$k.fontSize]: globalRefs$c.typography.subtitle1.size,
4377
- [vars$k.fontWeight]: globalRefs$c.typography.subtitle1.weight,
4378
- [vars$k.fontFamily]: globalRefs$c.typography.subtitle1.font,
4426
+ [vars$l.fontSize]: globalRefs$d.typography.subtitle1.size,
4427
+ [vars$l.fontWeight]: globalRefs$d.typography.subtitle1.weight,
4428
+ [vars$l.fontFamily]: globalRefs$d.typography.subtitle1.font,
4379
4429
  },
4380
4430
  subtitle2: {
4381
- [vars$k.fontSize]: globalRefs$c.typography.subtitle2.size,
4382
- [vars$k.fontWeight]: globalRefs$c.typography.subtitle2.weight,
4383
- [vars$k.fontFamily]: globalRefs$c.typography.subtitle2.font,
4431
+ [vars$l.fontSize]: globalRefs$d.typography.subtitle2.size,
4432
+ [vars$l.fontWeight]: globalRefs$d.typography.subtitle2.weight,
4433
+ [vars$l.fontFamily]: globalRefs$d.typography.subtitle2.font,
4384
4434
  },
4385
4435
  body1: {
4386
- [vars$k.fontSize]: globalRefs$c.typography.body1.size,
4387
- [vars$k.fontWeight]: globalRefs$c.typography.body1.weight,
4388
- [vars$k.fontFamily]: globalRefs$c.typography.body1.font,
4436
+ [vars$l.fontSize]: globalRefs$d.typography.body1.size,
4437
+ [vars$l.fontWeight]: globalRefs$d.typography.body1.weight,
4438
+ [vars$l.fontFamily]: globalRefs$d.typography.body1.font,
4389
4439
  },
4390
4440
  body2: {
4391
- [vars$k.fontSize]: globalRefs$c.typography.body2.size,
4392
- [vars$k.fontWeight]: globalRefs$c.typography.body2.weight,
4393
- [vars$k.fontFamily]: globalRefs$c.typography.body2.font,
4441
+ [vars$l.fontSize]: globalRefs$d.typography.body2.size,
4442
+ [vars$l.fontWeight]: globalRefs$d.typography.body2.weight,
4443
+ [vars$l.fontFamily]: globalRefs$d.typography.body2.font,
4394
4444
  },
4395
4445
  },
4396
4446
 
4397
4447
  mode: {
4398
4448
  primary: {
4399
- [vars$k.textColor]: globalRefs$c.colors.surface.contrast,
4449
+ [vars$l.textColor]: globalRefs$d.colors.surface.contrast,
4400
4450
  },
4401
4451
  secondary: {
4402
- [vars$k.textColor]: globalRefs$c.colors.surface.dark,
4452
+ [vars$l.textColor]: globalRefs$d.colors.surface.dark,
4403
4453
  },
4404
4454
  error: {
4405
- [vars$k.textColor]: globalRefs$c.colors.error.main,
4455
+ [vars$l.textColor]: globalRefs$d.colors.error.main,
4406
4456
  },
4407
4457
  success: {
4408
- [vars$k.textColor]: globalRefs$c.colors.success.main,
4458
+ [vars$l.textColor]: globalRefs$d.colors.success.main,
4409
4459
  },
4410
4460
  },
4411
4461
 
4412
4462
  textAlign: {
4413
- right: { [vars$k.textAlign]: 'right' },
4414
- left: { [vars$k.textAlign]: 'left' },
4415
- center: { [vars$k.textAlign]: 'center' },
4463
+ right: { [vars$l.textAlign]: 'right' },
4464
+ left: { [vars$l.textAlign]: 'left' },
4465
+ center: { [vars$l.textAlign]: 'center' },
4416
4466
  },
4417
4467
 
4418
4468
  _fullWidth: {
4419
- [vars$k.hostWidth]: '100%',
4469
+ [vars$l.hostWidth]: '100%',
4420
4470
  },
4421
4471
 
4422
4472
  _italic: {
4423
- [vars$k.fontStyle]: 'italic',
4473
+ [vars$l.fontStyle]: 'italic',
4424
4474
  },
4425
4475
 
4426
4476
  _uppercase: {
4427
- [vars$k.textTransform]: 'uppercase',
4477
+ [vars$l.textTransform]: 'uppercase',
4428
4478
  },
4429
4479
 
4430
4480
  _lowercase: {
4431
- [vars$k.textTransform]: 'lowercase',
4481
+ [vars$l.textTransform]: 'lowercase',
4432
4482
  },
4433
4483
  };
4434
4484
 
4435
4485
  var text$3 = /*#__PURE__*/Object.freeze({
4436
4486
  __proto__: null,
4437
4487
  default: text$2,
4438
- vars: vars$k
4488
+ vars: vars$l
4439
4489
  });
4440
4490
 
4441
- const componentName$q = getComponentName('link');
4491
+ const componentName$s = getComponentName('link');
4442
4492
 
4443
- class RawLink extends createBaseClass({ componentName: componentName$q, baseSelector: ':host a' }) {
4493
+ class RawLink extends createBaseClass({ componentName: componentName$s, baseSelector: ':host a' }) {
4444
4494
  constructor() {
4445
4495
  super();
4446
4496
 
@@ -4486,12 +4536,12 @@ const selectors$2 = {
4486
4536
  text: { selector: () => TextClass.componentName },
4487
4537
  };
4488
4538
 
4489
- const { anchor, text: text$1, host: host$b, wrapper: wrapper$1 } = selectors$2;
4539
+ const { anchor, text: text$1, host: host$c, wrapper: wrapper$1 } = selectors$2;
4490
4540
 
4491
4541
  const LinkClass = compose(
4492
4542
  createStyleMixin({
4493
4543
  mappings: {
4494
- hostWidth: { ...host$b, property: 'width' },
4544
+ hostWidth: { ...host$c, property: 'width' },
4495
4545
  hostDirection: { ...text$1, property: 'direction' },
4496
4546
  textAlign: wrapper$1,
4497
4547
  textColor: [
@@ -4505,37 +4555,37 @@ const LinkClass = compose(
4505
4555
  componentNameValidationMixin
4506
4556
  )(RawLink);
4507
4557
 
4508
- const globalRefs$b = getThemeRefs(globals);
4509
- const vars$j = LinkClass.cssVarList;
4558
+ const globalRefs$c = getThemeRefs(globals);
4559
+ const vars$k = LinkClass.cssVarList;
4510
4560
 
4511
4561
  const link = {
4512
- [vars$j.hostDirection]: globalRefs$b.direction,
4513
- [vars$j.cursor]: 'pointer',
4562
+ [vars$k.hostDirection]: globalRefs$c.direction,
4563
+ [vars$k.cursor]: 'pointer',
4514
4564
 
4515
- [vars$j.textColor]: globalRefs$b.colors.primary.main,
4565
+ [vars$k.textColor]: globalRefs$c.colors.primary.main,
4516
4566
 
4517
4567
  textAlign: {
4518
- right: { [vars$j.textAlign]: 'right' },
4519
- left: { [vars$j.textAlign]: 'left' },
4520
- center: { [vars$j.textAlign]: 'center' },
4568
+ right: { [vars$k.textAlign]: 'right' },
4569
+ left: { [vars$k.textAlign]: 'left' },
4570
+ center: { [vars$k.textAlign]: 'center' },
4521
4571
  },
4522
4572
 
4523
4573
  _fullWidth: {
4524
- [vars$j.hostWidth]: '100%',
4574
+ [vars$k.hostWidth]: '100%',
4525
4575
  },
4526
4576
 
4527
4577
  mode: {
4528
4578
  primary: {
4529
- [vars$j.textColor]: globalRefs$b.colors.primary.main,
4579
+ [vars$k.textColor]: globalRefs$c.colors.primary.main,
4530
4580
  },
4531
4581
  secondary: {
4532
- [vars$j.textColor]: globalRefs$b.colors.secondary.main,
4582
+ [vars$k.textColor]: globalRefs$c.colors.secondary.main,
4533
4583
  },
4534
4584
  error: {
4535
- [vars$j.textColor]: globalRefs$b.colors.error.main,
4585
+ [vars$k.textColor]: globalRefs$c.colors.error.main,
4536
4586
  },
4537
4587
  success: {
4538
- [vars$j.textColor]: globalRefs$b.colors.success.main,
4588
+ [vars$k.textColor]: globalRefs$c.colors.success.main,
4539
4589
  },
4540
4590
  },
4541
4591
  };
@@ -4543,11 +4593,11 @@ const link = {
4543
4593
  var link$1 = /*#__PURE__*/Object.freeze({
4544
4594
  __proto__: null,
4545
4595
  default: link,
4546
- vars: vars$j
4596
+ vars: vars$k
4547
4597
  });
4548
4598
 
4549
- const componentName$p = getComponentName('divider');
4550
- class RawDivider extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > div' }) {
4599
+ const componentName$r = getComponentName('divider');
4600
+ class RawDivider extends createBaseClass({ componentName: componentName$r, baseSelector: ':host > div' }) {
4551
4601
  constructor() {
4552
4602
  super();
4553
4603
 
@@ -4593,7 +4643,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$p, baseS
4593
4643
  }
4594
4644
 
4595
4645
  const textVars$3 = TextClass.cssVarList;
4596
- const { host: host$a, before, after: after$1, text } = {
4646
+ const { host: host$b, before, after: after$1, text } = {
4597
4647
  host: { selector: () => ':host' },
4598
4648
  before: { selector: '::before' },
4599
4649
  after: { selector: '::after' },
@@ -4603,8 +4653,8 @@ const { host: host$a, before, after: after$1, text } = {
4603
4653
  const DividerClass = compose(
4604
4654
  createStyleMixin({
4605
4655
  mappings: {
4606
- hostWidth: { ...host$a, property: 'width' },
4607
- hostPadding: { ...host$a, property: 'padding' },
4656
+ hostWidth: { ...host$b, property: 'width' },
4657
+ hostPadding: { ...host$b, property: 'padding' },
4608
4658
  hostDirection: { ...text, property: 'direction' },
4609
4659
 
4610
4660
  minHeight: {},
@@ -4646,7 +4696,7 @@ const DividerClass = compose(
4646
4696
  componentNameValidationMixin
4647
4697
  )(RawDivider);
4648
4698
 
4649
- const globalRefs$a = getThemeRefs(globals);
4699
+ const globalRefs$b = getThemeRefs(globals);
4650
4700
  const compVars$2 = DividerClass.cssVarList;
4651
4701
 
4652
4702
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -4654,18 +4704,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
4654
4704
  thickness: '2px',
4655
4705
  spacing: '10px',
4656
4706
  },
4657
- componentName$p
4707
+ componentName$r
4658
4708
  );
4659
4709
 
4660
4710
  const divider = {
4661
4711
  ...helperTheme$1,
4662
4712
 
4663
- [compVars$2.hostDirection]: globalRefs$a.direction,
4713
+ [compVars$2.hostDirection]: globalRefs$b.direction,
4664
4714
  [compVars$2.alignItems]: 'center',
4665
4715
  [compVars$2.flexDirection]: 'row',
4666
4716
  [compVars$2.alignSelf]: 'stretch',
4667
4717
  [compVars$2.hostWidth]: '100%',
4668
- [compVars$2.stripeColor]: globalRefs$a.colors.surface.light,
4718
+ [compVars$2.stripeColor]: globalRefs$b.colors.surface.light,
4669
4719
  [compVars$2.stripeColorOpacity]: '0.5',
4670
4720
  [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
4671
4721
  [compVars$2.labelTextWidth]: 'fit-content',
@@ -4685,7 +4735,7 @@ const divider = {
4685
4735
  },
4686
4736
  };
4687
4737
 
4688
- const vars$i = {
4738
+ const vars$j = {
4689
4739
  ...compVars$2,
4690
4740
  ...helperVars$1,
4691
4741
  };
@@ -4693,18 +4743,18 @@ const vars$i = {
4693
4743
  var divider$1 = /*#__PURE__*/Object.freeze({
4694
4744
  __proto__: null,
4695
4745
  default: divider,
4696
- vars: vars$i
4746
+ vars: vars$j
4697
4747
  });
4698
4748
 
4699
4749
  /* eslint-disable no-param-reassign */
4700
4750
 
4701
- const componentName$o = getComponentName('passcode-internal');
4751
+ const componentName$q = getComponentName('passcode-internal');
4702
4752
 
4703
- createBaseInputClass({ componentName: componentName$o, baseSelector: 'div' });
4753
+ createBaseInputClass({ componentName: componentName$q, baseSelector: 'div' });
4704
4754
 
4705
- const componentName$n = getComponentName('loader-radial');
4755
+ const componentName$p = getComponentName('loader-radial');
4706
4756
 
4707
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$n, baseSelector: ':host > div' }) {
4757
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > div' }) {
4708
4758
  constructor() {
4709
4759
  super();
4710
4760
 
@@ -4748,11 +4798,11 @@ const LoaderRadialClass = compose(
4748
4798
  componentNameValidationMixin
4749
4799
  )(RawLoaderRadial);
4750
4800
 
4751
- const componentName$m = getComponentName('passcode');
4801
+ const componentName$o = getComponentName('passcode');
4752
4802
 
4753
4803
  const observedAttributes$3 = ['digits'];
4754
4804
 
4755
- const customMixin$4 = (superclass) =>
4805
+ const customMixin$5 = (superclass) =>
4756
4806
  class PasscodeMixinClass extends superclass {
4757
4807
  static get observedAttributes() {
4758
4808
  return observedAttributes$3.concat(superclass.observedAttributes || []);
@@ -4767,17 +4817,17 @@ const customMixin$4 = (superclass) =>
4767
4817
  const template = document.createElement('template');
4768
4818
 
4769
4819
  template.innerHTML = `
4770
- <${componentName$o}
4820
+ <${componentName$q}
4771
4821
  bordered="true"
4772
4822
  name="code"
4773
4823
  tabindex="-1"
4774
4824
  slot="input"
4775
- ><slot></slot></${componentName$o}>
4825
+ ><slot></slot></${componentName$q}>
4776
4826
  `;
4777
4827
 
4778
4828
  this.baseElement.appendChild(template.content.cloneNode(true));
4779
4829
 
4780
- this.inputElement = this.shadowRoot.querySelector(componentName$o);
4830
+ this.inputElement = this.shadowRoot.querySelector(componentName$q);
4781
4831
 
4782
4832
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
4783
4833
  }
@@ -4792,13 +4842,13 @@ const customMixin$4 = (superclass) =>
4792
4842
  };
4793
4843
 
4794
4844
  const {
4795
- host: host$9,
4845
+ host: host$a,
4796
4846
  digitField,
4797
4847
  label: label$6,
4798
4848
  requiredIndicator: requiredIndicator$6,
4799
4849
  internalWrapper: internalWrapper$1,
4800
4850
  focusedDigitField,
4801
- errorMessage: errorMessage$6,
4851
+ errorMessage: errorMessage$7,
4802
4852
  } = {
4803
4853
  host: { selector: () => ':host' },
4804
4854
  focusedDigitField: { selector: () => `${TextFieldClass.componentName}[focused="true"]` },
@@ -4815,16 +4865,16 @@ const loaderVars = LoaderRadialClass.cssVarList;
4815
4865
  const PasscodeClass = compose(
4816
4866
  createStyleMixin({
4817
4867
  mappings: {
4818
- fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$9],
4868
+ fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$a],
4819
4869
  hostWidth: { property: 'width' },
4820
- hostDirection: { ...host$9, property: 'direction' },
4821
- fontFamily: [host$9, { ...label$6 }],
4870
+ hostDirection: { ...host$a, property: 'direction' },
4871
+ fontFamily: [host$a, { ...label$6 }],
4822
4872
  labelTextColor: [
4823
4873
  { ...label$6, property: 'color' },
4824
4874
  { ...requiredIndicator$6, property: 'color' },
4825
4875
  ],
4826
4876
  labelRequiredIndicator: { ...requiredIndicator$6, property: 'content' },
4827
- errorMessageTextColor: { ...errorMessage$6, property: 'color' },
4877
+ errorMessageTextColor: { ...errorMessage$7, property: 'color' },
4828
4878
  digitValueTextColor: {
4829
4879
  selector: TextFieldClass.componentName,
4830
4880
  property: textVars$2.inputValueTextColor,
@@ -4848,7 +4898,7 @@ const PasscodeClass = compose(
4848
4898
  draggableMixin,
4849
4899
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
4850
4900
  componentNameValidationMixin,
4851
- customMixin$4
4901
+ customMixin$5
4852
4902
  )(
4853
4903
  createProxy({
4854
4904
  slots: [],
@@ -4924,56 +4974,56 @@ const PasscodeClass = compose(
4924
4974
  ${resetInputCursor('vaadin-text-field')}
4925
4975
  `,
4926
4976
  excludeAttrsSync: ['tabindex'],
4927
- componentName: componentName$m,
4977
+ componentName: componentName$o,
4928
4978
  })
4929
4979
  );
4930
4980
 
4931
- const vars$h = PasscodeClass.cssVarList;
4981
+ const vars$i = PasscodeClass.cssVarList;
4932
4982
 
4933
4983
  const passcode = {
4934
- [vars$h.hostDirection]: refs.direction,
4935
- [vars$h.fontFamily]: refs.fontFamily,
4936
- [vars$h.fontSize]: refs.fontSize,
4937
- [vars$h.labelTextColor]: refs.labelTextColor,
4938
- [vars$h.labelRequiredIndicator]: refs.requiredIndicator,
4939
- [vars$h.errorMessageTextColor]: refs.errorMessageTextColor,
4940
- [vars$h.digitValueTextColor]: refs.valueTextColor,
4941
- [vars$h.digitPadding]: '0',
4942
- [vars$h.digitTextAlign]: 'center',
4943
- [vars$h.digitSpacing]: '4px',
4944
- [vars$h.hostWidth]: refs.width,
4945
- [vars$h.digitOutlineColor]: 'transparent',
4946
- [vars$h.digitOutlineWidth]: refs.outlineWidth,
4947
- [vars$h.focusedDigitFieldOutlineColor]: refs.outlineColor,
4948
- [vars$h.digitSize]: refs.inputHeight,
4984
+ [vars$i.hostDirection]: refs.direction,
4985
+ [vars$i.fontFamily]: refs.fontFamily,
4986
+ [vars$i.fontSize]: refs.fontSize,
4987
+ [vars$i.labelTextColor]: refs.labelTextColor,
4988
+ [vars$i.labelRequiredIndicator]: refs.requiredIndicator,
4989
+ [vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
4990
+ [vars$i.digitValueTextColor]: refs.valueTextColor,
4991
+ [vars$i.digitPadding]: '0',
4992
+ [vars$i.digitTextAlign]: 'center',
4993
+ [vars$i.digitSpacing]: '4px',
4994
+ [vars$i.hostWidth]: refs.width,
4995
+ [vars$i.digitOutlineColor]: 'transparent',
4996
+ [vars$i.digitOutlineWidth]: refs.outlineWidth,
4997
+ [vars$i.focusedDigitFieldOutlineColor]: refs.outlineColor,
4998
+ [vars$i.digitSize]: refs.inputHeight,
4949
4999
 
4950
5000
  size: {
4951
- xs: { [vars$h.spinnerSize]: '15px' },
4952
- sm: { [vars$h.spinnerSize]: '20px' },
4953
- md: { [vars$h.spinnerSize]: '20px' },
4954
- lg: { [vars$h.spinnerSize]: '20px' },
5001
+ xs: { [vars$i.spinnerSize]: '15px' },
5002
+ sm: { [vars$i.spinnerSize]: '20px' },
5003
+ md: { [vars$i.spinnerSize]: '20px' },
5004
+ lg: { [vars$i.spinnerSize]: '20px' },
4955
5005
  },
4956
5006
 
4957
5007
  _hideCursor: {
4958
- [vars$h.digitCaretTextColor]: 'transparent',
5008
+ [vars$i.digitCaretTextColor]: 'transparent',
4959
5009
  },
4960
5010
 
4961
5011
  _loading: {
4962
- [vars$h.overlayOpacity]: refs.overlayOpacity,
5012
+ [vars$i.overlayOpacity]: refs.overlayOpacity,
4963
5013
  },
4964
5014
  };
4965
5015
 
4966
5016
  var passcode$1 = /*#__PURE__*/Object.freeze({
4967
5017
  __proto__: null,
4968
5018
  default: passcode,
4969
- vars: vars$h
5019
+ vars: vars$i
4970
5020
  });
4971
5021
 
4972
- const componentName$l = getComponentName('loader-linear');
5022
+ const componentName$n = getComponentName('loader-linear');
4973
5023
 
4974
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > div' }) {
5024
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$n, baseSelector: ':host > div' }) {
4975
5025
  static get componentName() {
4976
- return componentName$l;
5026
+ return componentName$n;
4977
5027
  }
4978
5028
 
4979
5029
  constructor() {
@@ -5009,18 +5059,18 @@ const selectors$1 = {
5009
5059
  host: { selector: () => ':host' },
5010
5060
  };
5011
5061
 
5012
- const { after, host: host$8 } = selectors$1;
5062
+ const { after, host: host$9 } = selectors$1;
5013
5063
 
5014
5064
  const LoaderLinearClass = compose(
5015
5065
  createStyleMixin({
5016
5066
  mappings: {
5017
5067
  hostDisplay: {},
5018
- hostWidth: { ...host$8, property: 'width' },
5068
+ hostWidth: { ...host$9, property: 'width' },
5019
5069
  barHeight: [{ property: 'height' }, { ...after, property: 'height' }],
5020
5070
  barBorderRadius: [{ property: 'border-radius' }, { ...after, property: 'border-radius' }],
5021
5071
  verticalPadding: [
5022
- { ...host$8, property: 'padding-top' },
5023
- { ...host$8, property: 'padding-bottom' },
5072
+ { ...host$9, property: 'padding-top' },
5073
+ { ...host$9, property: 'padding-bottom' },
5024
5074
  ],
5025
5075
  barBackgroundColor: { property: 'background-color' },
5026
5076
  barColor: { ...after, property: 'background-color' },
@@ -5034,67 +5084,67 @@ const LoaderLinearClass = compose(
5034
5084
  componentNameValidationMixin
5035
5085
  )(RawLoaderLinear);
5036
5086
 
5037
- const globalRefs$9 = getThemeRefs(globals);
5038
- const vars$g = LoaderLinearClass.cssVarList;
5087
+ const globalRefs$a = getThemeRefs(globals);
5088
+ const vars$h = LoaderLinearClass.cssVarList;
5039
5089
 
5040
5090
  const loaderLinear = {
5041
- [vars$g.hostDisplay]: 'inline-block',
5042
- [vars$g.hostWidth]: '100%',
5091
+ [vars$h.hostDisplay]: 'inline-block',
5092
+ [vars$h.hostWidth]: '100%',
5043
5093
 
5044
- [vars$g.barColor]: globalRefs$9.colors.surface.contrast,
5045
- [vars$g.barWidth]: '20%',
5094
+ [vars$h.barColor]: globalRefs$a.colors.surface.contrast,
5095
+ [vars$h.barWidth]: '20%',
5046
5096
 
5047
- [vars$g.barBackgroundColor]: globalRefs$9.colors.surface.light,
5048
- [vars$g.barBorderRadius]: '4px',
5097
+ [vars$h.barBackgroundColor]: globalRefs$a.colors.surface.light,
5098
+ [vars$h.barBorderRadius]: '4px',
5049
5099
 
5050
- [vars$g.animationDuration]: '2s',
5051
- [vars$g.animationTimingFunction]: 'linear',
5052
- [vars$g.animationIterationCount]: 'infinite',
5053
- [vars$g.verticalPadding]: '0.25em',
5100
+ [vars$h.animationDuration]: '2s',
5101
+ [vars$h.animationTimingFunction]: 'linear',
5102
+ [vars$h.animationIterationCount]: 'infinite',
5103
+ [vars$h.verticalPadding]: '0.25em',
5054
5104
 
5055
5105
  size: {
5056
- xs: { [vars$g.barHeight]: '2px' },
5057
- sm: { [vars$g.barHeight]: '4px' },
5058
- md: { [vars$g.barHeight]: '6px' },
5059
- lg: { [vars$g.barHeight]: '8px' },
5106
+ xs: { [vars$h.barHeight]: '2px' },
5107
+ sm: { [vars$h.barHeight]: '4px' },
5108
+ md: { [vars$h.barHeight]: '6px' },
5109
+ lg: { [vars$h.barHeight]: '8px' },
5060
5110
  },
5061
5111
 
5062
5112
  mode: {
5063
5113
  primary: {
5064
- [vars$g.barColor]: globalRefs$9.colors.primary.main,
5114
+ [vars$h.barColor]: globalRefs$a.colors.primary.main,
5065
5115
  },
5066
5116
  secondary: {
5067
- [vars$g.barColor]: globalRefs$9.colors.secondary.main,
5117
+ [vars$h.barColor]: globalRefs$a.colors.secondary.main,
5068
5118
  },
5069
5119
  },
5070
5120
 
5071
5121
  _hidden: {
5072
- [vars$g.hostDisplay]: 'none',
5122
+ [vars$h.hostDisplay]: 'none',
5073
5123
  },
5074
5124
  };
5075
5125
 
5076
5126
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
5077
5127
  __proto__: null,
5078
5128
  default: loaderLinear,
5079
- vars: vars$g
5129
+ vars: vars$h
5080
5130
  });
5081
5131
 
5082
- const globalRefs$8 = getThemeRefs(globals);
5132
+ const globalRefs$9 = getThemeRefs(globals);
5083
5133
  const compVars$1 = LoaderRadialClass.cssVarList;
5084
5134
 
5085
5135
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
5086
5136
  {
5087
- spinnerColor: globalRefs$8.colors.surface.contrast,
5137
+ spinnerColor: globalRefs$9.colors.surface.contrast,
5088
5138
  mode: {
5089
5139
  primary: {
5090
- spinnerColor: globalRefs$8.colors.primary.main,
5140
+ spinnerColor: globalRefs$9.colors.primary.main,
5091
5141
  },
5092
5142
  secondary: {
5093
- spinnerColor: globalRefs$8.colors.secondary.main,
5143
+ spinnerColor: globalRefs$9.colors.secondary.main,
5094
5144
  },
5095
5145
  },
5096
5146
  },
5097
- componentName$n
5147
+ componentName$p
5098
5148
  );
5099
5149
 
5100
5150
  const loaderRadial = {
@@ -5123,7 +5173,7 @@ const loaderRadial = {
5123
5173
  [compVars$1.hostDisplay]: 'none',
5124
5174
  },
5125
5175
  };
5126
- const vars$f = {
5176
+ const vars$g = {
5127
5177
  ...compVars$1,
5128
5178
  ...helperVars,
5129
5179
  };
@@ -5131,10 +5181,10 @@ const vars$f = {
5131
5181
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
5132
5182
  __proto__: null,
5133
5183
  default: loaderRadial,
5134
- vars: vars$f
5184
+ vars: vars$g
5135
5185
  });
5136
5186
 
5137
- const componentName$k = getComponentName('combo-box');
5187
+ const componentName$m = getComponentName('combo-box');
5138
5188
 
5139
5189
  const ComboBoxMixin = (superclass) =>
5140
5190
  class ComboBoxMixinClass extends superclass {
@@ -5332,6 +5382,10 @@ const ComboBoxMixin = (superclass) =>
5332
5382
  observeChildren(this, this.#onChildrenChange.bind(this));
5333
5383
 
5334
5384
  this.setDefaultValue();
5385
+
5386
+ this.baseElement.addEventListener('selected-item-changed', () => {
5387
+ this.dispatchEvent(new Event('input', { bubbles: true, composed: true }));
5388
+ });
5335
5389
  }
5336
5390
 
5337
5391
  setDefaultValue() {
@@ -5356,7 +5410,7 @@ const ComboBoxMixin = (superclass) =>
5356
5410
  };
5357
5411
 
5358
5412
  const {
5359
- host: host$7,
5413
+ host: host$8,
5360
5414
  inputField: inputField$3,
5361
5415
  inputElement: inputElement$1,
5362
5416
  placeholder: placeholder$1,
@@ -5364,8 +5418,8 @@ const {
5364
5418
  clearButton: clearButton$1,
5365
5419
  label: label$5,
5366
5420
  requiredIndicator: requiredIndicator$5,
5367
- helperText: helperText$4,
5368
- errorMessage: errorMessage$5,
5421
+ helperText: helperText$5,
5422
+ errorMessage: errorMessage$6,
5369
5423
  } = {
5370
5424
  host: { selector: () => ':host' },
5371
5425
  inputField: { selector: '::part(input-field)' },
@@ -5382,16 +5436,16 @@ const {
5382
5436
  const ComboBoxClass = compose(
5383
5437
  createStyleMixin({
5384
5438
  mappings: {
5385
- hostWidth: { ...host$7, property: 'width' },
5386
- hostDirection: { ...host$7, property: 'direction' },
5439
+ hostWidth: { ...host$8, property: 'width' },
5440
+ hostDirection: { ...host$8, property: 'direction' },
5387
5441
  // we apply font-size also on the host so we can set its width with em
5388
- fontSize: [{}, host$7],
5389
- fontFamily: [label$5, placeholder$1, inputField$3, helperText$4, errorMessage$5],
5442
+ fontSize: [{}, host$8],
5443
+ fontFamily: [label$5, placeholder$1, inputField$3, helperText$5, errorMessage$6],
5390
5444
  labelTextColor: [
5391
5445
  { ...label$5, property: 'color' },
5392
5446
  { ...requiredIndicator$5, property: 'color' },
5393
5447
  ],
5394
- errorMessageTextColor: { ...errorMessage$5, property: 'color' },
5448
+ errorMessageTextColor: { ...errorMessage$6, property: 'color' },
5395
5449
  inputHeight: { ...inputField$3, property: 'height' },
5396
5450
  inputBackgroundColor: { ...inputField$3, property: 'background-color' },
5397
5451
  inputBorderColor: { ...inputField$3, property: 'border-color' },
@@ -5513,71 +5567,71 @@ const ComboBoxClass = compose(
5513
5567
  // and reset items to an empty array, and opening the list box with no items
5514
5568
  // to display.
5515
5569
  excludeAttrsSync: ['tabindex', 'size', 'data'],
5516
- componentName: componentName$k,
5570
+ componentName: componentName$m,
5517
5571
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
5518
5572
  })
5519
5573
  );
5520
5574
 
5521
- const globalRefs$7 = getThemeRefs(globals);
5522
- const vars$e = ComboBoxClass.cssVarList;
5575
+ const globalRefs$8 = getThemeRefs(globals);
5576
+ const vars$f = ComboBoxClass.cssVarList;
5523
5577
 
5524
5578
  const comboBox = {
5525
- [vars$e.hostWidth]: refs.width,
5526
- [vars$e.hostDirection]: refs.direction,
5527
- [vars$e.fontSize]: refs.fontSize,
5528
- [vars$e.fontFamily]: refs.fontFamily,
5529
- [vars$e.labelTextColor]: refs.labelTextColor,
5530
- [vars$e.errorMessageTextColor]: refs.errorMessageTextColor,
5531
- [vars$e.inputBorderColor]: refs.borderColor,
5532
- [vars$e.inputBorderWidth]: refs.borderWidth,
5533
- [vars$e.inputBorderStyle]: refs.borderStyle,
5534
- [vars$e.inputBorderRadius]: refs.borderRadius,
5535
- [vars$e.inputOutlineColor]: refs.outlineColor,
5536
- [vars$e.inputOutlineOffset]: refs.outlineOffset,
5537
- [vars$e.inputOutlineWidth]: refs.outlineWidth,
5538
- [vars$e.inputOutlineStyle]: refs.outlineStyle,
5539
- [vars$e.labelRequiredIndicator]: refs.requiredIndicator,
5540
- [vars$e.inputValueTextColor]: refs.valueTextColor,
5541
- [vars$e.inputPlaceholderTextColor]: refs.placeholderTextColor,
5542
- [vars$e.inputBackgroundColor]: refs.backgroundColor,
5543
- [vars$e.inputHorizontalPadding]: refs.horizontalPadding,
5544
- [vars$e.inputHeight]: refs.inputHeight,
5545
- [vars$e.inputDropdownButtonColor]: globalRefs$7.colors.surface.dark,
5546
- [vars$e.inputDropdownButtonCursor]: 'pointer',
5547
- [vars$e.inputDropdownButtonSize]: refs.toggleButtonSize,
5548
- [vars$e.inputDropdownButtonOffset]: globalRefs$7.spacing.xs,
5549
- [vars$e.overlayItemPaddingInlineStart]: globalRefs$7.spacing.xs,
5550
- [vars$e.overlayItemPaddingInlineEnd]: globalRefs$7.spacing.lg,
5579
+ [vars$f.hostWidth]: refs.width,
5580
+ [vars$f.hostDirection]: refs.direction,
5581
+ [vars$f.fontSize]: refs.fontSize,
5582
+ [vars$f.fontFamily]: refs.fontFamily,
5583
+ [vars$f.labelTextColor]: refs.labelTextColor,
5584
+ [vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
5585
+ [vars$f.inputBorderColor]: refs.borderColor,
5586
+ [vars$f.inputBorderWidth]: refs.borderWidth,
5587
+ [vars$f.inputBorderStyle]: refs.borderStyle,
5588
+ [vars$f.inputBorderRadius]: refs.borderRadius,
5589
+ [vars$f.inputOutlineColor]: refs.outlineColor,
5590
+ [vars$f.inputOutlineOffset]: refs.outlineOffset,
5591
+ [vars$f.inputOutlineWidth]: refs.outlineWidth,
5592
+ [vars$f.inputOutlineStyle]: refs.outlineStyle,
5593
+ [vars$f.labelRequiredIndicator]: refs.requiredIndicator,
5594
+ [vars$f.inputValueTextColor]: refs.valueTextColor,
5595
+ [vars$f.inputPlaceholderTextColor]: refs.placeholderTextColor,
5596
+ [vars$f.inputBackgroundColor]: refs.backgroundColor,
5597
+ [vars$f.inputHorizontalPadding]: refs.horizontalPadding,
5598
+ [vars$f.inputHeight]: refs.inputHeight,
5599
+ [vars$f.inputDropdownButtonColor]: globalRefs$8.colors.surface.dark,
5600
+ [vars$f.inputDropdownButtonCursor]: 'pointer',
5601
+ [vars$f.inputDropdownButtonSize]: refs.toggleButtonSize,
5602
+ [vars$f.inputDropdownButtonOffset]: globalRefs$8.spacing.xs,
5603
+ [vars$f.overlayItemPaddingInlineStart]: globalRefs$8.spacing.xs,
5604
+ [vars$f.overlayItemPaddingInlineEnd]: globalRefs$8.spacing.lg,
5551
5605
 
5552
5606
  _readonly: {
5553
- [vars$e.inputDropdownButtonCursor]: 'default',
5607
+ [vars$f.inputDropdownButtonCursor]: 'default',
5554
5608
  },
5555
5609
 
5556
5610
  // Overlay theme exposed via the component:
5557
- [vars$e.overlayFontSize]: refs.fontSize,
5558
- [vars$e.overlayFontFamily]: refs.fontFamily,
5559
- [vars$e.overlayCursor]: 'pointer',
5560
- [vars$e.overlayItemBoxShadow]: 'none',
5561
- [vars$e.overlayBackground]: refs.backgroundColor,
5562
- [vars$e.overlayTextColor]: refs.valueTextColor,
5611
+ [vars$f.overlayFontSize]: refs.fontSize,
5612
+ [vars$f.overlayFontFamily]: refs.fontFamily,
5613
+ [vars$f.overlayCursor]: 'pointer',
5614
+ [vars$f.overlayItemBoxShadow]: 'none',
5615
+ [vars$f.overlayBackground]: refs.backgroundColor,
5616
+ [vars$f.overlayTextColor]: refs.valueTextColor,
5563
5617
 
5564
5618
  // Overlay direct theme:
5565
- [vars$e.overlay.minHeight]: '400px',
5566
- [vars$e.overlay.margin]: '0',
5619
+ [vars$f.overlay.minHeight]: '400px',
5620
+ [vars$f.overlay.margin]: '0',
5567
5621
  };
5568
5622
 
5569
5623
  var comboBox$1 = /*#__PURE__*/Object.freeze({
5570
5624
  __proto__: null,
5571
5625
  comboBox: comboBox,
5572
5626
  default: comboBox,
5573
- vars: vars$e
5627
+ vars: vars$f
5574
5628
  });
5575
5629
 
5576
5630
  const observedAttributes$2 = ['src', 'alt'];
5577
5631
 
5578
- const componentName$j = getComponentName('image');
5632
+ const componentName$l = getComponentName('image');
5579
5633
 
5580
- const BaseClass$1 = createBaseClass({ componentName: componentName$j, baseSelector: ':host > img' });
5634
+ const BaseClass$1 = createBaseClass({ componentName: componentName$l, baseSelector: ':host > img' });
5581
5635
  class RawImage extends BaseClass$1 {
5582
5636
  static get observedAttributes() {
5583
5637
  return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
@@ -5617,14 +5671,14 @@ const ImageClass = compose(
5617
5671
  draggableMixin
5618
5672
  )(RawImage);
5619
5673
 
5620
- const vars$d = ImageClass.cssVarList;
5674
+ const vars$e = ImageClass.cssVarList;
5621
5675
 
5622
5676
  const image = {};
5623
5677
 
5624
5678
  var image$1 = /*#__PURE__*/Object.freeze({
5625
5679
  __proto__: null,
5626
5680
  default: image,
5627
- vars: vars$d
5681
+ vars: vars$e
5628
5682
  });
5629
5683
 
5630
5684
  var CountryCodes = [
@@ -6840,16 +6894,16 @@ var CountryCodes = [
6840
6894
  },
6841
6895
  ].sort((a, b) => (a.name < b.name ? -1 : 1));
6842
6896
 
6843
- const componentName$i = getComponentName('phone-field-internal');
6897
+ const componentName$k = getComponentName('phone-field-internal');
6844
6898
 
6845
- createBaseInputClass({ componentName: componentName$i, baseSelector: 'div' });
6899
+ createBaseInputClass({ componentName: componentName$k, baseSelector: 'div' });
6846
6900
 
6847
6901
  const textVars$1 = TextFieldClass.cssVarList;
6848
6902
  const comboVars = ComboBoxClass.cssVarList;
6849
6903
 
6850
- const componentName$h = getComponentName('phone-field');
6904
+ const componentName$j = getComponentName('phone-field');
6851
6905
 
6852
- const customMixin$3 = (superclass) =>
6906
+ const customMixin$4 = (superclass) =>
6853
6907
  class PhoneFieldMixinClass extends superclass {
6854
6908
  static get CountryCodes() {
6855
6909
  return CountryCodes;
@@ -6861,15 +6915,15 @@ const customMixin$3 = (superclass) =>
6861
6915
  const template = document.createElement('template');
6862
6916
 
6863
6917
  template.innerHTML = `
6864
- <${componentName$i}
6918
+ <${componentName$k}
6865
6919
  tabindex="-1"
6866
6920
  slot="input"
6867
- ></${componentName$i}>
6921
+ ></${componentName$k}>
6868
6922
  `;
6869
6923
 
6870
6924
  this.baseElement.appendChild(template.content.cloneNode(true));
6871
6925
 
6872
- this.inputElement = this.shadowRoot.querySelector(componentName$i);
6926
+ this.inputElement = this.shadowRoot.querySelector(componentName$k);
6873
6927
 
6874
6928
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
6875
6929
  includeAttrs: [
@@ -6889,15 +6943,15 @@ const customMixin$3 = (superclass) =>
6889
6943
  };
6890
6944
 
6891
6945
  const {
6892
- host: host$6,
6946
+ host: host$7,
6893
6947
  label: label$4,
6894
6948
  requiredIndicator: requiredIndicator$4,
6895
6949
  inputField: inputField$2,
6896
6950
  countryCodeInput,
6897
6951
  phoneInput: phoneInput$1,
6898
- separator,
6899
- errorMessage: errorMessage$4,
6900
- helperText: helperText$3,
6952
+ separator: separator$1,
6953
+ errorMessage: errorMessage$5,
6954
+ helperText: helperText$4,
6901
6955
  } = {
6902
6956
  host: { selector: () => ':host' },
6903
6957
  label: { selector: '::part(label)' },
@@ -6914,7 +6968,7 @@ const PhoneFieldClass = compose(
6914
6968
  createStyleMixin({
6915
6969
  mappings: {
6916
6970
  fontSize: [
6917
- host$6,
6971
+ host$7,
6918
6972
  inputField$2,
6919
6973
  {
6920
6974
  selector: TextFieldClass.componentName,
@@ -6927,31 +6981,31 @@ const PhoneFieldClass = compose(
6927
6981
  ],
6928
6982
  fontFamily: [
6929
6983
  label$4,
6930
- errorMessage$4,
6931
- helperText$3,
6984
+ errorMessage$5,
6985
+ helperText$4,
6932
6986
  {
6933
6987
  ...countryCodeInput,
6934
6988
  property: ComboBoxClass.cssVarList.overlay.fontFamily,
6935
6989
  },
6936
6990
  ],
6937
6991
  hostWidth: [
6938
- { ...host$6, property: 'width' },
6992
+ { ...host$7, property: 'width' },
6939
6993
  { ...phoneInput$1, property: 'width' },
6940
6994
  { ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
6941
6995
  ],
6942
- hostDirection: { ...host$6, property: 'direction' },
6996
+ hostDirection: { ...host$7, property: 'direction' },
6943
6997
 
6944
6998
  inputBorderStyle: [
6945
6999
  { ...inputField$2, property: 'border-style' },
6946
- { ...separator, property: 'border-left-style' },
7000
+ { ...separator$1, property: 'border-left-style' },
6947
7001
  ],
6948
7002
  inputBorderWidth: [
6949
7003
  { ...inputField$2, property: 'border-width' },
6950
- { ...separator, property: 'border-left-width' },
7004
+ { ...separator$1, property: 'border-left-width' },
6951
7005
  ],
6952
7006
  inputBorderColor: [
6953
7007
  { ...inputField$2, property: 'border-color' },
6954
- { ...separator, property: 'border-left-color' },
7008
+ { ...separator$1, property: 'border-left-color' },
6955
7009
  ],
6956
7010
  inputBorderRadius: { ...inputField$2, property: 'border-radius' },
6957
7011
 
@@ -6967,7 +7021,7 @@ const PhoneFieldClass = compose(
6967
7021
  { ...requiredIndicator$4, property: 'color' },
6968
7022
  ],
6969
7023
  labelRequiredIndicator: { ...requiredIndicator$4, property: 'content' },
6970
- errorMessageTextColor: { ...errorMessage$4, property: 'color' },
7024
+ errorMessageTextColor: { ...errorMessage$5, property: 'color' },
6971
7025
 
6972
7026
  inputValueTextColor: [
6973
7027
  { ...phoneInput$1, property: textVars$1.inputValueTextColor },
@@ -6989,7 +7043,7 @@ const PhoneFieldClass = compose(
6989
7043
  }),
6990
7044
  draggableMixin,
6991
7045
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
6992
- customMixin$3
7046
+ customMixin$4
6993
7047
  )(
6994
7048
  createProxy({
6995
7049
  slots: [],
@@ -7065,33 +7119,33 @@ const PhoneFieldClass = compose(
7065
7119
  ${resetInputLabelPosition('vaadin-text-field')}
7066
7120
  `,
7067
7121
  excludeAttrsSync: ['tabindex'],
7068
- componentName: componentName$h,
7122
+ componentName: componentName$j,
7069
7123
  })
7070
7124
  );
7071
7125
 
7072
- const vars$c = PhoneFieldClass.cssVarList;
7126
+ const vars$d = PhoneFieldClass.cssVarList;
7073
7127
 
7074
7128
  const phoneField = {
7075
- [vars$c.hostWidth]: refs.width,
7076
- [vars$c.hostDirection]: refs.direction,
7077
- [vars$c.fontSize]: refs.fontSize,
7078
- [vars$c.fontFamily]: refs.fontFamily,
7079
- [vars$c.labelTextColor]: refs.labelTextColor,
7080
- [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
7081
- [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
7082
- [vars$c.inputValueTextColor]: refs.valueTextColor,
7083
- [vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
7084
- [vars$c.inputBorderStyle]: refs.borderStyle,
7085
- [vars$c.inputBorderWidth]: refs.borderWidth,
7086
- [vars$c.inputBorderColor]: refs.borderColor,
7087
- [vars$c.inputBorderRadius]: refs.borderRadius,
7088
- [vars$c.inputOutlineStyle]: refs.outlineStyle,
7089
- [vars$c.inputOutlineWidth]: refs.outlineWidth,
7090
- [vars$c.inputOutlineColor]: refs.outlineColor,
7091
- [vars$c.inputOutlineOffset]: refs.outlineOffset,
7092
- [vars$c.phoneInputWidth]: refs.minWidth,
7093
- [vars$c.countryCodeInputWidth]: '5em',
7094
- [vars$c.countryCodeDropdownWidth]: '20em',
7129
+ [vars$d.hostWidth]: refs.width,
7130
+ [vars$d.hostDirection]: refs.direction,
7131
+ [vars$d.fontSize]: refs.fontSize,
7132
+ [vars$d.fontFamily]: refs.fontFamily,
7133
+ [vars$d.labelTextColor]: refs.labelTextColor,
7134
+ [vars$d.labelRequiredIndicator]: refs.requiredIndicator,
7135
+ [vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
7136
+ [vars$d.inputValueTextColor]: refs.valueTextColor,
7137
+ [vars$d.inputPlaceholderTextColor]: refs.placeholderTextColor,
7138
+ [vars$d.inputBorderStyle]: refs.borderStyle,
7139
+ [vars$d.inputBorderWidth]: refs.borderWidth,
7140
+ [vars$d.inputBorderColor]: refs.borderColor,
7141
+ [vars$d.inputBorderRadius]: refs.borderRadius,
7142
+ [vars$d.inputOutlineStyle]: refs.outlineStyle,
7143
+ [vars$d.inputOutlineWidth]: refs.outlineWidth,
7144
+ [vars$d.inputOutlineColor]: refs.outlineColor,
7145
+ [vars$d.inputOutlineOffset]: refs.outlineOffset,
7146
+ [vars$d.phoneInputWidth]: refs.minWidth,
7147
+ [vars$d.countryCodeInputWidth]: '5em',
7148
+ [vars$d.countryCodeDropdownWidth]: '20em',
7095
7149
 
7096
7150
  // '@overlay': {
7097
7151
  // overlayItemBackgroundColor: 'red'
@@ -7101,18 +7155,18 @@ const phoneField = {
7101
7155
  var phoneField$1 = /*#__PURE__*/Object.freeze({
7102
7156
  __proto__: null,
7103
7157
  default: phoneField,
7104
- vars: vars$c
7158
+ vars: vars$d
7105
7159
  });
7106
7160
 
7107
- const componentName$g = getComponentName('phone-field-internal-input-box');
7161
+ const componentName$i = getComponentName('phone-field-internal-input-box');
7108
7162
 
7109
- createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
7163
+ createBaseInputClass({ componentName: componentName$i, baseSelector: 'div' });
7110
7164
 
7111
7165
  const textVars = TextFieldClass.cssVarList;
7112
7166
 
7113
- const componentName$f = getComponentName('phone-input-box-field');
7167
+ const componentName$h = getComponentName('phone-input-box-field');
7114
7168
 
7115
- const customMixin$2 = (superclass) =>
7169
+ const customMixin$3 = (superclass) =>
7116
7170
  class PhoneInputBoxFieldMixinClass extends superclass {
7117
7171
  static get CountryCodes() {
7118
7172
  return CountryCodes;
@@ -7124,15 +7178,15 @@ const customMixin$2 = (superclass) =>
7124
7178
  const template = document.createElement('template');
7125
7179
 
7126
7180
  template.innerHTML = `
7127
- <${componentName$g}
7181
+ <${componentName$i}
7128
7182
  tabindex="-1"
7129
7183
  slot="input"
7130
- ></${componentName$g}>
7184
+ ></${componentName$i}>
7131
7185
  `;
7132
7186
 
7133
7187
  this.baseElement.appendChild(template.content.cloneNode(true));
7134
7188
 
7135
- this.inputElement = this.shadowRoot.querySelector(componentName$g);
7189
+ this.inputElement = this.shadowRoot.querySelector(componentName$i);
7136
7190
 
7137
7191
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
7138
7192
  includeAttrs: [
@@ -7149,7 +7203,7 @@ const customMixin$2 = (superclass) =>
7149
7203
  }
7150
7204
  };
7151
7205
 
7152
- const { host: host$5, label: label$3, requiredIndicator: requiredIndicator$3, inputField: inputField$1, phoneInput, errorMessage: errorMessage$3, helperText: helperText$2 } = {
7206
+ const { host: host$6, label: label$3, requiredIndicator: requiredIndicator$3, inputField: inputField$1, phoneInput, errorMessage: errorMessage$4, helperText: helperText$3 } = {
7153
7207
  host: { selector: () => ':host' },
7154
7208
  label: { selector: '::part(label)' },
7155
7209
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -7163,17 +7217,17 @@ const PhoneFieldInputBoxClass = compose(
7163
7217
  createStyleMixin({
7164
7218
  mappings: {
7165
7219
  fontSize: [
7166
- host$5,
7220
+ host$6,
7167
7221
  inputField$1,
7168
7222
  {
7169
7223
  selector: TextFieldClass.componentName,
7170
7224
  property: TextFieldClass.cssVarList.fontSize,
7171
7225
  },
7172
7226
  ],
7173
- fontFamily: [label$3, errorMessage$3, helperText$2],
7174
- hostWidth: { ...host$5, property: 'width' },
7175
- hostMinWidth: { ...host$5, property: 'min-width' },
7176
- hostDirection: { ...host$5, property: 'direction' },
7227
+ fontFamily: [label$3, errorMessage$4, helperText$3],
7228
+ hostWidth: { ...host$6, property: 'width' },
7229
+ hostMinWidth: { ...host$6, property: 'min-width' },
7230
+ hostDirection: { ...host$6, property: 'direction' },
7177
7231
 
7178
7232
  inputBorderStyle: { ...inputField$1, property: 'border-style' },
7179
7233
  inputBorderWidth: { ...inputField$1, property: 'border-width' },
@@ -7185,7 +7239,7 @@ const PhoneFieldInputBoxClass = compose(
7185
7239
  { ...requiredIndicator$3, property: 'color' },
7186
7240
  ],
7187
7241
  labelRequiredIndicator: { ...requiredIndicator$3, property: 'content' },
7188
- errorMessageTextColor: { ...errorMessage$3, property: 'color' },
7242
+ errorMessageTextColor: { ...errorMessage$4, property: 'color' },
7189
7243
 
7190
7244
  inputValueTextColor: { ...phoneInput, property: textVars.inputValueTextColor },
7191
7245
 
@@ -7199,7 +7253,7 @@ const PhoneFieldInputBoxClass = compose(
7199
7253
  }),
7200
7254
  draggableMixin,
7201
7255
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
7202
- customMixin$2
7256
+ customMixin$3
7203
7257
  )(
7204
7258
  createProxy({
7205
7259
  slots: [],
@@ -7265,47 +7319,47 @@ const PhoneFieldInputBoxClass = compose(
7265
7319
  ${resetInputLabelPosition('vaadin-text-field')}
7266
7320
  `,
7267
7321
  excludeAttrsSync: ['tabindex'],
7268
- componentName: componentName$f,
7322
+ componentName: componentName$h,
7269
7323
  })
7270
7324
  );
7271
7325
 
7272
- const vars$b = PhoneFieldInputBoxClass.cssVarList;
7326
+ const vars$c = PhoneFieldInputBoxClass.cssVarList;
7273
7327
 
7274
7328
  const phoneInputBoxField = {
7275
- [vars$b.hostWidth]: '16em',
7276
- [vars$b.hostMinWidth]: refs.minWidth,
7277
- [vars$b.hostDirection]: refs.direction,
7278
- [vars$b.fontSize]: refs.fontSize,
7279
- [vars$b.fontFamily]: refs.fontFamily,
7280
- [vars$b.labelTextColor]: refs.labelTextColor,
7281
- [vars$b.labelRequiredIndicator]: refs.requiredIndicator,
7282
- [vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
7283
- [vars$b.inputValueTextColor]: refs.valueTextColor,
7284
- [vars$b.inputPlaceholderTextColor]: refs.placeholderTextColor,
7285
- [vars$b.inputBorderStyle]: refs.borderStyle,
7286
- [vars$b.inputBorderWidth]: refs.borderWidth,
7287
- [vars$b.inputBorderColor]: refs.borderColor,
7288
- [vars$b.inputBorderRadius]: refs.borderRadius,
7289
- [vars$b.inputOutlineStyle]: refs.outlineStyle,
7290
- [vars$b.inputOutlineWidth]: refs.outlineWidth,
7291
- [vars$b.inputOutlineColor]: refs.outlineColor,
7292
- [vars$b.inputOutlineOffset]: refs.outlineOffset,
7329
+ [vars$c.hostWidth]: '16em',
7330
+ [vars$c.hostMinWidth]: refs.minWidth,
7331
+ [vars$c.hostDirection]: refs.direction,
7332
+ [vars$c.fontSize]: refs.fontSize,
7333
+ [vars$c.fontFamily]: refs.fontFamily,
7334
+ [vars$c.labelTextColor]: refs.labelTextColor,
7335
+ [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
7336
+ [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
7337
+ [vars$c.inputValueTextColor]: refs.valueTextColor,
7338
+ [vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
7339
+ [vars$c.inputBorderStyle]: refs.borderStyle,
7340
+ [vars$c.inputBorderWidth]: refs.borderWidth,
7341
+ [vars$c.inputBorderColor]: refs.borderColor,
7342
+ [vars$c.inputBorderRadius]: refs.borderRadius,
7343
+ [vars$c.inputOutlineStyle]: refs.outlineStyle,
7344
+ [vars$c.inputOutlineWidth]: refs.outlineWidth,
7345
+ [vars$c.inputOutlineColor]: refs.outlineColor,
7346
+ [vars$c.inputOutlineOffset]: refs.outlineOffset,
7293
7347
  _fullWidth: {
7294
- [vars$b.hostWidth]: refs.width,
7348
+ [vars$c.hostWidth]: refs.width,
7295
7349
  },
7296
7350
  };
7297
7351
 
7298
7352
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
7299
7353
  __proto__: null,
7300
7354
  default: phoneInputBoxField,
7301
- vars: vars$b
7355
+ vars: vars$c
7302
7356
  });
7303
7357
 
7304
- const componentName$e = getComponentName('new-password-internal');
7358
+ const componentName$g = getComponentName('new-password-internal');
7305
7359
 
7306
- const componentName$d = getComponentName('new-password');
7360
+ const componentName$f = getComponentName('new-password');
7307
7361
 
7308
- const customMixin$1 = (superclass) =>
7362
+ const customMixin$2 = (superclass) =>
7309
7363
  class NewPasswordMixinClass extends superclass {
7310
7364
  init() {
7311
7365
  super.init?.();
@@ -7313,16 +7367,16 @@ const customMixin$1 = (superclass) =>
7313
7367
  const template = document.createElement('template');
7314
7368
 
7315
7369
  template.innerHTML = `
7316
- <${componentName$e}
7370
+ <${componentName$g}
7317
7371
  name="new-password"
7318
7372
  tabindex="-1"
7319
7373
  slot="input"
7320
- ></${componentName$e}>
7374
+ ></${componentName$g}>
7321
7375
  `;
7322
7376
 
7323
7377
  this.baseElement.appendChild(template.content.cloneNode(true));
7324
7378
 
7325
- this.inputElement = this.shadowRoot.querySelector(componentName$e);
7379
+ this.inputElement = this.shadowRoot.querySelector(componentName$g);
7326
7380
 
7327
7381
  forwardAttrs(this, this.inputElement, {
7328
7382
  includeAttrs: [
@@ -7343,7 +7397,7 @@ const customMixin$1 = (superclass) =>
7343
7397
  }
7344
7398
  };
7345
7399
 
7346
- const { host: host$4, label: label$2, internalInputsWrapper, errorMessage: errorMessage$2, helperText: helperText$1, passwordInput } = {
7400
+ const { host: host$5, label: label$2, internalInputsWrapper, errorMessage: errorMessage$3, helperText: helperText$2, passwordInput } = {
7347
7401
  host: { selector: () => ':host' },
7348
7402
  label: { selector: '::part(label)' },
7349
7403
  internalInputsWrapper: { selector: 'descope-new-password-internal .wrapper' },
@@ -7356,28 +7410,28 @@ const NewPasswordClass = compose(
7356
7410
  createStyleMixin({
7357
7411
  mappings: {
7358
7412
  fontSize: [
7359
- host$4,
7413
+ host$5,
7360
7414
  {},
7361
7415
  {
7362
7416
  selector: PasswordClass.componentName,
7363
7417
  property: PasswordClass.cssVarList.fontSize,
7364
7418
  },
7365
7419
  ],
7366
- fontFamily: [label$2, errorMessage$2, helperText$1],
7367
- errorMessageTextColor: { ...errorMessage$2, property: 'color' },
7368
- hostWidth: { ...host$4, property: 'width' },
7369
- hostMinWidth: { ...host$4, property: 'min-width' },
7420
+ fontFamily: [label$2, errorMessage$3, helperText$2],
7421
+ errorMessageTextColor: { ...errorMessage$3, property: 'color' },
7422
+ hostWidth: { ...host$5, property: 'width' },
7423
+ hostMinWidth: { ...host$5, property: 'min-width' },
7370
7424
  hostDirection: [
7371
- { ...host$4, property: 'direction' },
7425
+ { ...host$5, property: 'direction' },
7372
7426
  { ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
7373
7427
  ],
7374
- inputsRequiredIndicator: { ...host$4, property: 'content' },
7428
+ inputsRequiredIndicator: { ...host$5, property: 'content' },
7375
7429
  spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
7376
7430
  },
7377
7431
  }),
7378
7432
  draggableMixin,
7379
7433
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
7380
- customMixin$1
7434
+ customMixin$2
7381
7435
  )(
7382
7436
  createProxy({
7383
7437
  slots: [],
@@ -7429,33 +7483,33 @@ const NewPasswordClass = compose(
7429
7483
  }
7430
7484
  `,
7431
7485
  excludeAttrsSync: ['tabindex'],
7432
- componentName: componentName$d,
7486
+ componentName: componentName$f,
7433
7487
  })
7434
7488
  );
7435
7489
 
7436
- const vars$a = NewPasswordClass.cssVarList;
7490
+ const vars$b = NewPasswordClass.cssVarList;
7437
7491
 
7438
7492
  const newPassword = {
7439
- [vars$a.hostWidth]: refs.width,
7440
- [vars$a.hostMinWidth]: refs.minWidth,
7441
- [vars$a.hostDirection]: refs.direction,
7442
- [vars$a.fontSize]: refs.fontSize,
7443
- [vars$a.fontFamily]: refs.fontFamily,
7444
- [vars$a.spaceBetweenInputs]: '1em',
7445
- [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
7493
+ [vars$b.hostWidth]: refs.width,
7494
+ [vars$b.hostMinWidth]: refs.minWidth,
7495
+ [vars$b.hostDirection]: refs.direction,
7496
+ [vars$b.fontSize]: refs.fontSize,
7497
+ [vars$b.fontFamily]: refs.fontFamily,
7498
+ [vars$b.spaceBetweenInputs]: '1em',
7499
+ [vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
7446
7500
 
7447
7501
  _required: {
7448
7502
  // NewPassword doesn't pass `required` attribute to its Password components.
7449
7503
  // That's why we fake the required indicator on each input.
7450
7504
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
7451
- [vars$a.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7505
+ [vars$b.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7452
7506
  },
7453
7507
  };
7454
7508
 
7455
7509
  var newPassword$1 = /*#__PURE__*/Object.freeze({
7456
7510
  __proto__: null,
7457
7511
  default: newPassword,
7458
- vars: vars$a
7512
+ vars: vars$b
7459
7513
  });
7460
7514
 
7461
7515
  const getFileBase64 = (fileObj) => {
@@ -7470,7 +7524,7 @@ const getFilename = (fileObj) => {
7470
7524
  return fileObj.name.replace(/^.*\\/, '');
7471
7525
  };
7472
7526
 
7473
- const componentName$c = getComponentName('upload-file');
7527
+ const componentName$e = getComponentName('upload-file');
7474
7528
 
7475
7529
  const observedAttributes$1 = [
7476
7530
  'title',
@@ -7485,7 +7539,7 @@ const observedAttributes$1 = [
7485
7539
  'icon',
7486
7540
  ];
7487
7541
 
7488
- const BaseInputClass = createBaseInputClass({ componentName: componentName$c, baseSelector: ':host > div' });
7542
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$e, baseSelector: ':host > div' });
7489
7543
 
7490
7544
  class RawUploadFile extends BaseInputClass {
7491
7545
  static get observedAttributes() {
@@ -7657,7 +7711,7 @@ class RawUploadFile extends BaseInputClass {
7657
7711
  }
7658
7712
 
7659
7713
  const buttonVars = ButtonClass.cssVarList;
7660
- const { host: host$3, wrapper, icon, title, description, requiredIndicator: requiredIndicator$2 } = {
7714
+ const { host: host$4, wrapper, icon, title, description, requiredIndicator: requiredIndicator$2 } = {
7661
7715
  host: { selector: () => ':host' },
7662
7716
  wrapper: { selector: () => ':host > div' },
7663
7717
  icon: { selector: () => '::slotted(*)' },
@@ -7676,11 +7730,11 @@ const UploadFileClass = compose(
7676
7730
  borderWidth: {},
7677
7731
  borderStyle: {},
7678
7732
  borderRadius: {},
7679
- hostHeight: { ...host$3, property: 'height' },
7680
- hostWidth: { ...host$3, property: 'width' },
7733
+ hostHeight: { ...host$4, property: 'height' },
7734
+ hostWidth: { ...host$4, property: 'width' },
7681
7735
  hostPadding: { property: 'padding' },
7682
7736
  hostDirection: [
7683
- { ...host$3, property: 'direction' },
7737
+ { ...host$4, property: 'direction' },
7684
7738
  { selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
7685
7739
  ],
7686
7740
  gap: { ...wrapper },
@@ -7700,77 +7754,77 @@ const UploadFileClass = compose(
7700
7754
  componentNameValidationMixin
7701
7755
  )(RawUploadFile);
7702
7756
 
7703
- const vars$9 = UploadFileClass.cssVarList;
7757
+ const vars$a = UploadFileClass.cssVarList;
7704
7758
 
7705
7759
  const uploadFile = {
7706
- [vars$9.hostDirection]: refs.direction,
7707
- [vars$9.labelTextColor]: refs.labelTextColor,
7708
- [vars$9.fontFamily]: refs.fontFamily,
7760
+ [vars$a.hostDirection]: refs.direction,
7761
+ [vars$a.labelTextColor]: refs.labelTextColor,
7762
+ [vars$a.fontFamily]: refs.fontFamily,
7709
7763
 
7710
- [vars$9.iconSize]: '2em',
7764
+ [vars$a.iconSize]: '2em',
7711
7765
 
7712
- [vars$9.hostPadding]: '0.75em',
7713
- [vars$9.gap]: '0.5em',
7766
+ [vars$a.hostPadding]: '0.75em',
7767
+ [vars$a.gap]: '0.5em',
7714
7768
 
7715
- [vars$9.fontSize]: '16px',
7716
- [vars$9.titleFontWeight]: '500',
7717
- [vars$9.lineHeight]: '1em',
7769
+ [vars$a.fontSize]: '16px',
7770
+ [vars$a.titleFontWeight]: '500',
7771
+ [vars$a.lineHeight]: '1em',
7718
7772
 
7719
- [vars$9.borderWidth]: refs.borderWidth,
7720
- [vars$9.borderColor]: refs.borderColor,
7721
- [vars$9.borderRadius]: refs.borderRadius,
7722
- [vars$9.borderStyle]: 'dashed',
7773
+ [vars$a.borderWidth]: refs.borderWidth,
7774
+ [vars$a.borderColor]: refs.borderColor,
7775
+ [vars$a.borderRadius]: refs.borderRadius,
7776
+ [vars$a.borderStyle]: 'dashed',
7723
7777
 
7724
7778
  _required: {
7725
- [vars$9.requiredIndicator]: refs.requiredIndicator,
7779
+ [vars$a.requiredIndicator]: refs.requiredIndicator,
7726
7780
  },
7727
7781
 
7728
7782
  size: {
7729
7783
  xs: {
7730
- [vars$9.hostHeight]: '196px',
7731
- [vars$9.hostWidth]: '200px',
7732
- [vars$9.titleFontSize]: '0.875em',
7733
- [vars$9.descriptionFontSize]: '0.875em',
7734
- [vars$9.lineHeight]: '1.25em',
7784
+ [vars$a.hostHeight]: '196px',
7785
+ [vars$a.hostWidth]: '200px',
7786
+ [vars$a.titleFontSize]: '0.875em',
7787
+ [vars$a.descriptionFontSize]: '0.875em',
7788
+ [vars$a.lineHeight]: '1.25em',
7735
7789
  },
7736
7790
  sm: {
7737
- [vars$9.hostHeight]: '216px',
7738
- [vars$9.hostWidth]: '230px',
7739
- [vars$9.titleFontSize]: '1em',
7740
- [vars$9.descriptionFontSize]: '0.875em',
7741
- [vars$9.lineHeight]: '1.25em',
7791
+ [vars$a.hostHeight]: '216px',
7792
+ [vars$a.hostWidth]: '230px',
7793
+ [vars$a.titleFontSize]: '1em',
7794
+ [vars$a.descriptionFontSize]: '0.875em',
7795
+ [vars$a.lineHeight]: '1.25em',
7742
7796
  },
7743
7797
  md: {
7744
- [vars$9.hostHeight]: '256px',
7745
- [vars$9.hostWidth]: '312px',
7746
- [vars$9.titleFontSize]: '1.125em',
7747
- [vars$9.descriptionFontSize]: '1em',
7748
- [vars$9.lineHeight]: '1.5em',
7798
+ [vars$a.hostHeight]: '256px',
7799
+ [vars$a.hostWidth]: '312px',
7800
+ [vars$a.titleFontSize]: '1.125em',
7801
+ [vars$a.descriptionFontSize]: '1em',
7802
+ [vars$a.lineHeight]: '1.5em',
7749
7803
  },
7750
7804
  lg: {
7751
- [vars$9.hostHeight]: '280px',
7752
- [vars$9.hostWidth]: '336px',
7753
- [vars$9.titleFontSize]: '1.125em',
7754
- [vars$9.descriptionFontSize]: '1.125em',
7755
- [vars$9.lineHeight]: '1.75em',
7805
+ [vars$a.hostHeight]: '280px',
7806
+ [vars$a.hostWidth]: '336px',
7807
+ [vars$a.titleFontSize]: '1.125em',
7808
+ [vars$a.descriptionFontSize]: '1.125em',
7809
+ [vars$a.lineHeight]: '1.75em',
7756
7810
  },
7757
7811
  },
7758
7812
 
7759
7813
  _fullWidth: {
7760
- [vars$9.hostWidth]: refs.width,
7814
+ [vars$a.hostWidth]: refs.width,
7761
7815
  },
7762
7816
  };
7763
7817
 
7764
7818
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
7765
7819
  __proto__: null,
7766
7820
  default: uploadFile,
7767
- vars: vars$9
7821
+ vars: vars$a
7768
7822
  });
7769
7823
 
7770
- const componentName$b = getComponentName('button-selection-group-item');
7824
+ const componentName$d = getComponentName('button-selection-group-item');
7771
7825
 
7772
7826
  class RawSelectItem extends createBaseClass({
7773
- componentName: componentName$b,
7827
+ componentName: componentName$d,
7774
7828
  baseSelector: ':host > descope-button',
7775
7829
  }) {
7776
7830
  get size() {
@@ -7873,38 +7927,38 @@ const ButtonSelectionGroupItemClass = compose(
7873
7927
  componentNameValidationMixin
7874
7928
  )(RawSelectItem);
7875
7929
 
7876
- const globalRefs$6 = getThemeRefs(globals);
7930
+ const globalRefs$7 = getThemeRefs(globals);
7877
7931
 
7878
- const vars$8 = ButtonSelectionGroupItemClass.cssVarList;
7932
+ const vars$9 = ButtonSelectionGroupItemClass.cssVarList;
7879
7933
 
7880
7934
  const buttonSelectionGroupItem = {
7881
- [vars$8.hostDirection]: 'inherit',
7882
- [vars$8.backgroundColor]: globalRefs$6.colors.surface.main,
7883
- [vars$8.labelTextColor]: globalRefs$6.colors.surface.contrast,
7884
- [vars$8.borderColor]: globalRefs$6.colors.surface.light,
7885
- [vars$8.borderStyle]: 'solid',
7886
- [vars$8.borderRadius]: globalRefs$6.radius.sm,
7887
- [vars$8.outlineColor]: 'transparent',
7935
+ [vars$9.hostDirection]: 'inherit',
7936
+ [vars$9.backgroundColor]: globalRefs$7.colors.surface.main,
7937
+ [vars$9.labelTextColor]: globalRefs$7.colors.surface.contrast,
7938
+ [vars$9.borderColor]: globalRefs$7.colors.surface.light,
7939
+ [vars$9.borderStyle]: 'solid',
7940
+ [vars$9.borderRadius]: globalRefs$7.radius.sm,
7941
+ [vars$9.outlineColor]: 'transparent',
7888
7942
 
7889
7943
  _hover: {
7890
- [vars$8.backgroundColor]: globalRefs$6.colors.surface.highlight,
7944
+ [vars$9.backgroundColor]: globalRefs$7.colors.surface.highlight,
7891
7945
  },
7892
7946
 
7893
7947
  _focused: {
7894
- [vars$8.outlineColor]: globalRefs$6.colors.surface.light,
7948
+ [vars$9.outlineColor]: globalRefs$7.colors.surface.light,
7895
7949
  },
7896
7950
 
7897
7951
  _selected: {
7898
- [vars$8.borderColor]: globalRefs$6.colors.surface.contrast,
7899
- [vars$8.backgroundColor]: globalRefs$6.colors.surface.contrast,
7900
- [vars$8.labelTextColor]: globalRefs$6.colors.surface.main,
7952
+ [vars$9.borderColor]: globalRefs$7.colors.surface.contrast,
7953
+ [vars$9.backgroundColor]: globalRefs$7.colors.surface.contrast,
7954
+ [vars$9.labelTextColor]: globalRefs$7.colors.surface.main,
7901
7955
  },
7902
7956
  };
7903
7957
 
7904
7958
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
7905
7959
  __proto__: null,
7906
7960
  default: buttonSelectionGroupItem,
7907
- vars: vars$8
7961
+ vars: vars$9
7908
7962
  });
7909
7963
 
7910
7964
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
@@ -8003,10 +8057,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
8003
8057
  return BaseButtonSelectionGroupInternalClass;
8004
8058
  };
8005
8059
 
8006
- const componentName$a = getComponentName('button-selection-group-internal');
8060
+ const componentName$c = getComponentName('button-selection-group-internal');
8007
8061
 
8008
8062
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
8009
- componentName$a
8063
+ componentName$c
8010
8064
  ) {
8011
8065
  getSelectedNode() {
8012
8066
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -8162,7 +8216,7 @@ const buttonSelectionGroupBaseMixin = (superclass) =>
8162
8216
  }
8163
8217
  };
8164
8218
 
8165
- const { host: host$2, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper, errorMessage: errorMessage$1 } = {
8219
+ const { host: host$3, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper, errorMessage: errorMessage$2 } = {
8166
8220
  host: { selector: () => ':host' },
8167
8221
  label: { selector: '::part(label)' },
8168
8222
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -8171,15 +8225,15 @@ const { host: host$2, label: label$1, requiredIndicator: requiredIndicator$1, in
8171
8225
  };
8172
8226
 
8173
8227
  const buttonSelectionGroupMappings = {
8174
- hostWidth: { ...host$2, property: 'width' },
8175
- hostDirection: { ...host$2, property: 'direction' },
8176
- fontFamily: host$2,
8228
+ hostWidth: { ...host$3, property: 'width' },
8229
+ hostDirection: { ...host$3, property: 'direction' },
8230
+ fontFamily: host$3,
8177
8231
  labelTextColor: [
8178
8232
  { ...label$1, property: 'color' },
8179
8233
  { ...requiredIndicator$1, property: 'color' },
8180
8234
  ],
8181
8235
  labelRequiredIndicator: { ...requiredIndicator$1, property: 'content' },
8182
- errorMessageTextColor: { ...errorMessage$1, property: 'color' },
8236
+ errorMessageTextColor: { ...errorMessage$2, property: 'color' },
8183
8237
  itemsSpacing: { ...internalWrapper, property: 'gap' },
8184
8238
  };
8185
8239
 
@@ -8238,7 +8292,7 @@ const buttonSelectionGroupStyles = `
8238
8292
  ${resetInputCursor('vaadin-text-field')}
8239
8293
  `;
8240
8294
 
8241
- const componentName$9 = getComponentName('button-selection-group');
8295
+ const componentName$b = getComponentName('button-selection-group');
8242
8296
 
8243
8297
  const buttonSelectionGroupMixin = (superclass) =>
8244
8298
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -8247,19 +8301,19 @@ const buttonSelectionGroupMixin = (superclass) =>
8247
8301
  const template = document.createElement('template');
8248
8302
 
8249
8303
  template.innerHTML = `
8250
- <${componentName$a}
8304
+ <${componentName$c}
8251
8305
  name="button-selection-group"
8252
8306
  slot="input"
8253
8307
  tabindex="-1"
8254
8308
  part="internal-component"
8255
8309
  >
8256
8310
  <slot></slot>
8257
- </${componentName$a}>
8311
+ </${componentName$c}>
8258
8312
  `;
8259
8313
 
8260
8314
  this.baseElement.appendChild(template.content.cloneNode(true));
8261
8315
 
8262
- this.inputElement = this.shadowRoot.querySelector(componentName$a);
8316
+ this.inputElement = this.shadowRoot.querySelector(componentName$c);
8263
8317
 
8264
8318
  forwardAttrs(this, this.inputElement, {
8265
8319
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -8284,11 +8338,11 @@ const ButtonSelectionGroupClass = compose(
8284
8338
  wrappedEleName: 'vaadin-text-field',
8285
8339
  style: () => buttonSelectionGroupStyles,
8286
8340
  excludeAttrsSync: ['tabindex'],
8287
- componentName: componentName$9,
8341
+ componentName: componentName$b,
8288
8342
  })
8289
8343
  );
8290
8344
 
8291
- const globalRefs$5 = getThemeRefs(globals);
8345
+ const globalRefs$6 = getThemeRefs(globals);
8292
8346
 
8293
8347
  const createBaseButtonSelectionGroupMappings = (vars) => ({
8294
8348
  [vars.hostDirection]: refs.direction,
@@ -8296,26 +8350,26 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
8296
8350
  [vars.labelTextColor]: refs.labelTextColor,
8297
8351
  [vars.labelRequiredIndicator]: refs.requiredIndicator,
8298
8352
  [vars.errorMessageTextColor]: refs.errorMessageTextColor,
8299
- [vars.itemsSpacing]: globalRefs$5.spacing.sm,
8353
+ [vars.itemsSpacing]: globalRefs$6.spacing.sm,
8300
8354
  [vars.hostWidth]: refs.width,
8301
8355
  });
8302
8356
 
8303
- const vars$7 = ButtonSelectionGroupClass.cssVarList;
8357
+ const vars$8 = ButtonSelectionGroupClass.cssVarList;
8304
8358
 
8305
8359
  const buttonSelectionGroup = {
8306
- ...createBaseButtonSelectionGroupMappings(vars$7),
8360
+ ...createBaseButtonSelectionGroupMappings(vars$8),
8307
8361
  };
8308
8362
 
8309
8363
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8310
8364
  __proto__: null,
8311
8365
  default: buttonSelectionGroup,
8312
- vars: vars$7
8366
+ vars: vars$8
8313
8367
  });
8314
8368
 
8315
- const componentName$8 = getComponentName('button-multi-selection-group-internal');
8369
+ const componentName$a = getComponentName('button-multi-selection-group-internal');
8316
8370
 
8317
8371
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
8318
- componentName$8
8372
+ componentName$a
8319
8373
  ) {
8320
8374
  #getSelectedNodes() {
8321
8375
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -8418,7 +8472,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
8418
8472
  }
8419
8473
  }
8420
8474
 
8421
- const componentName$7 = getComponentName('button-multi-selection-group');
8475
+ const componentName$9 = getComponentName('button-multi-selection-group');
8422
8476
 
8423
8477
  const buttonMultiSelectionGroupMixin = (superclass) =>
8424
8478
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -8427,19 +8481,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
8427
8481
  const template = document.createElement('template');
8428
8482
 
8429
8483
  template.innerHTML = `
8430
- <${componentName$8}
8484
+ <${componentName$a}
8431
8485
  name="button-selection-group"
8432
8486
  slot="input"
8433
8487
  tabindex="-1"
8434
8488
  part="internal-component"
8435
8489
  >
8436
8490
  <slot></slot>
8437
- </${componentName$8}>
8491
+ </${componentName$a}>
8438
8492
  `;
8439
8493
 
8440
8494
  this.baseElement.appendChild(template.content.cloneNode(true));
8441
8495
 
8442
- this.inputElement = this.shadowRoot.querySelector(componentName$8);
8496
+ this.inputElement = this.shadowRoot.querySelector(componentName$a);
8443
8497
 
8444
8498
  forwardAttrs(this, this.inputElement, {
8445
8499
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -8464,25 +8518,25 @@ const ButtonMultiSelectionGroupClass = compose(
8464
8518
  wrappedEleName: 'vaadin-text-field',
8465
8519
  style: () => buttonSelectionGroupStyles,
8466
8520
  excludeAttrsSync: ['tabindex'],
8467
- componentName: componentName$7,
8521
+ componentName: componentName$9,
8468
8522
  })
8469
8523
  );
8470
8524
 
8471
- const vars$6 = ButtonMultiSelectionGroupClass.cssVarList;
8525
+ const vars$7 = ButtonMultiSelectionGroupClass.cssVarList;
8472
8526
 
8473
8527
  const buttonMultiSelectionGroup = {
8474
- ...createBaseButtonSelectionGroupMappings(vars$6),
8528
+ ...createBaseButtonSelectionGroupMappings(vars$7),
8475
8529
  };
8476
8530
 
8477
8531
  var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8478
8532
  __proto__: null,
8479
8533
  default: buttonMultiSelectionGroup,
8480
- vars: vars$6
8534
+ vars: vars$7
8481
8535
  });
8482
8536
 
8483
- const componentName$6 = getComponentName('modal');
8537
+ const componentName$8 = getComponentName('modal');
8484
8538
 
8485
- const customMixin = (superclass) =>
8539
+ const customMixin$1 = (superclass) =>
8486
8540
  class ModalMixinClass extends superclass {
8487
8541
  get opened() {
8488
8542
  return this.getAttribute('opened') === 'true';
@@ -8572,35 +8626,35 @@ const ModalClass = compose(
8572
8626
  }),
8573
8627
  draggableMixin,
8574
8628
  componentNameValidationMixin,
8575
- customMixin
8629
+ customMixin$1
8576
8630
  )(
8577
8631
  createProxy({
8578
8632
  slots: [''],
8579
8633
  wrappedEleName: 'vaadin-dialog',
8580
8634
  style: () => ``,
8581
8635
  excludeAttrsSync: ['tabindex', 'opened'],
8582
- componentName: componentName$6,
8636
+ componentName: componentName$8,
8583
8637
  })
8584
8638
  );
8585
8639
 
8586
- const globalRefs$4 = getThemeRefs(globals);
8640
+ const globalRefs$5 = getThemeRefs(globals);
8587
8641
 
8588
8642
  const compVars = ModalClass.cssVarList;
8589
8643
 
8590
8644
  const modal = {
8591
- [compVars.overlayBackgroundColor]: globalRefs$4.colors.surface.main,
8592
- [compVars.overlayShadow]: globalRefs$4.shadow.wide['2xl'],
8645
+ [compVars.overlayBackgroundColor]: globalRefs$5.colors.surface.main,
8646
+ [compVars.overlayShadow]: globalRefs$5.shadow.wide['2xl'],
8593
8647
  [compVars.overlayWidth]: '540px',
8594
8648
  };
8595
8649
 
8596
- const vars$5 = {
8650
+ const vars$6 = {
8597
8651
  ...compVars,
8598
8652
  };
8599
8653
 
8600
8654
  var modal$1 = /*#__PURE__*/Object.freeze({
8601
8655
  __proto__: null,
8602
8656
  default: modal,
8603
- vars: vars$5
8657
+ vars: vars$6
8604
8658
  });
8605
8659
 
8606
8660
  const isValidDataType = (data) => {
@@ -8613,7 +8667,7 @@ const isValidDataType = (data) => {
8613
8667
  return isValid;
8614
8668
  };
8615
8669
 
8616
- const componentName$5 = getComponentName('grid');
8670
+ const componentName$7 = getComponentName('grid');
8617
8671
 
8618
8672
  const GridMixin = (superclass) =>
8619
8673
  class GridMixinClass extends superclass {
@@ -8773,7 +8827,7 @@ const GridMixin = (superclass) =>
8773
8827
  };
8774
8828
 
8775
8829
  const {
8776
- host: host$1,
8830
+ host: host$2,
8777
8831
  headerRow,
8778
8832
  headerRowCell,
8779
8833
  contentRow,
@@ -8808,15 +8862,15 @@ const GridClass = compose(
8808
8862
  fontWeight: { ...contentRow },
8809
8863
  valueTextColor: { ...contentRow, property: 'color' },
8810
8864
  backgroundColor: [
8811
- { ...host$1, property: 'background-color' },
8865
+ { ...host$2, property: 'background-color' },
8812
8866
  { ...contentRow, property: 'background-color' },
8813
8867
  ],
8814
8868
  sortIndicatorsColor: { ...sortIndicators, property: 'color' },
8815
8869
  activeSortIndicator: { ...activeSortIndicator, property: 'color' },
8816
- borderColor: { ...host$1, property: 'border-color' },
8817
- borderWidth: { ...host$1, property: 'border-width' },
8818
- borderStyle: { ...host$1, property: 'border-style' },
8819
- borderRadius: { ...host$1, property: 'border-radius' },
8870
+ borderColor: { ...host$2, property: 'border-color' },
8871
+ borderWidth: { ...host$2, property: 'border-width' },
8872
+ borderStyle: { ...host$2, property: 'border-style' },
8873
+ borderRadius: { ...host$2, property: 'border-radius' },
8820
8874
  selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
8821
8875
  headerRowTextColor: { ...headerRowCell, property: 'color' },
8822
8876
  separatorColor: [
@@ -8849,40 +8903,40 @@ const GridClass = compose(
8849
8903
  }
8850
8904
  `,
8851
8905
  excludeAttrsSync: ['columns', 'tabindex'],
8852
- componentName: componentName$5,
8906
+ componentName: componentName$7,
8853
8907
  })
8854
8908
  );
8855
8909
 
8856
- const globalRefs$3 = getThemeRefs(globals);
8857
- const vars$4 = GridClass.cssVarList;
8910
+ const globalRefs$4 = getThemeRefs(globals);
8911
+ const vars$5 = GridClass.cssVarList;
8858
8912
 
8859
8913
  const grid = {
8860
- [vars$4.hostWidth]: '100%',
8861
- [vars$4.hostHeight]: '100%',
8862
- [vars$4.hostMinHeight]: '400px',
8863
- [vars$4.fontWeight]: '400',
8864
- [vars$4.backgroundColor]: globalRefs$3.colors.surface.main,
8914
+ [vars$5.hostWidth]: '100%',
8915
+ [vars$5.hostHeight]: '100%',
8916
+ [vars$5.hostMinHeight]: '400px',
8917
+ [vars$5.fontWeight]: '400',
8918
+ [vars$5.backgroundColor]: globalRefs$4.colors.surface.main,
8865
8919
 
8866
- [vars$4.fontSize]: refs.fontSize,
8867
- [vars$4.fontFamily]: refs.fontFamily,
8920
+ [vars$5.fontSize]: refs.fontSize,
8921
+ [vars$5.fontFamily]: refs.fontFamily,
8868
8922
 
8869
- [vars$4.sortIndicatorsColor]: globalRefs$3.colors.surface.light,
8870
- [vars$4.activeSortIndicator]: globalRefs$3.colors.surface.dark,
8871
- [vars$4.resizeHandleColor]: globalRefs$3.colors.surface.light,
8923
+ [vars$5.sortIndicatorsColor]: globalRefs$4.colors.surface.light,
8924
+ [vars$5.activeSortIndicator]: globalRefs$4.colors.surface.dark,
8925
+ [vars$5.resizeHandleColor]: globalRefs$4.colors.surface.light,
8872
8926
 
8873
- [vars$4.borderWidth]: refs.borderWidth,
8874
- [vars$4.borderStyle]: refs.borderStyle,
8875
- [vars$4.borderRadius]: refs.borderRadius,
8876
- [vars$4.borderColor]: 'transparent',
8927
+ [vars$5.borderWidth]: refs.borderWidth,
8928
+ [vars$5.borderStyle]: refs.borderStyle,
8929
+ [vars$5.borderRadius]: refs.borderRadius,
8930
+ [vars$5.borderColor]: 'transparent',
8877
8931
 
8878
- [vars$4.headerRowTextColor]: globalRefs$3.colors.surface.dark,
8879
- [vars$4.separatorColor]: globalRefs$3.colors.surface.light,
8932
+ [vars$5.headerRowTextColor]: globalRefs$4.colors.surface.dark,
8933
+ [vars$5.separatorColor]: globalRefs$4.colors.surface.light,
8880
8934
 
8881
- [vars$4.valueTextColor]: globalRefs$3.colors.surface.contrast,
8882
- [vars$4.selectedBackgroundColor]: globalRefs$3.colors.surface.highlight,
8935
+ [vars$5.valueTextColor]: globalRefs$4.colors.surface.contrast,
8936
+ [vars$5.selectedBackgroundColor]: globalRefs$4.colors.surface.highlight,
8883
8937
 
8884
8938
  _bordered: {
8885
- [vars$4.borderColor]: refs.borderColor,
8939
+ [vars$5.borderColor]: refs.borderColor,
8886
8940
  },
8887
8941
  };
8888
8942
 
@@ -8890,10 +8944,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
8890
8944
  __proto__: null,
8891
8945
  default: grid,
8892
8946
  grid: grid,
8893
- vars: vars$4
8947
+ vars: vars$5
8894
8948
  });
8895
8949
 
8896
- const componentName$4 = getComponentName('notification-card');
8950
+ const componentName$6 = getComponentName('notification-card');
8897
8951
 
8898
8952
  const notificationCardMixin = (superclass) =>
8899
8953
  class NotificationCardMixinClass extends superclass {
@@ -9001,54 +9055,54 @@ const NotificationCardClass = compose(
9001
9055
  }
9002
9056
  `,
9003
9057
  excludeAttrsSync: ['tabindex'],
9004
- componentName: componentName$4,
9058
+ componentName: componentName$6,
9005
9059
  })
9006
9060
  );
9007
9061
 
9008
- const globalRefs$2 = getThemeRefs(globals);
9009
- const vars$3 = NotificationCardClass.cssVarList;
9062
+ const globalRefs$3 = getThemeRefs(globals);
9063
+ const vars$4 = NotificationCardClass.cssVarList;
9010
9064
 
9011
9065
  const shadowColor = '#00000020';
9012
9066
 
9013
9067
  const notification = {
9014
- [vars$3.hostMinWidth]: '415px',
9015
- [vars$3.fontFamily]: globalRefs$2.fonts.font1.family,
9016
- [vars$3.fontSize]: globalRefs$2.typography.body1.size,
9017
- [vars$3.backgroundColor]: globalRefs$2.colors.surface.main,
9018
- [vars$3.textColor]: globalRefs$2.colors.surface.contrast,
9019
- [vars$3.boxShadow]: `${globalRefs$2.shadow.wide.xl} ${shadowColor}, ${globalRefs$2.shadow.narrow.xl} ${shadowColor}`,
9020
- [vars$3.verticalPadding]: '0.625em',
9021
- [vars$3.horizontalPadding]: '1.5em',
9022
- [vars$3.borderRadius]: globalRefs$2.radius.xs,
9068
+ [vars$4.hostMinWidth]: '415px',
9069
+ [vars$4.fontFamily]: globalRefs$3.fonts.font1.family,
9070
+ [vars$4.fontSize]: globalRefs$3.typography.body1.size,
9071
+ [vars$4.backgroundColor]: globalRefs$3.colors.surface.main,
9072
+ [vars$4.textColor]: globalRefs$3.colors.surface.contrast,
9073
+ [vars$4.boxShadow]: `${globalRefs$3.shadow.wide.xl} ${shadowColor}, ${globalRefs$3.shadow.narrow.xl} ${shadowColor}`,
9074
+ [vars$4.verticalPadding]: '0.625em',
9075
+ [vars$4.horizontalPadding]: '1.5em',
9076
+ [vars$4.borderRadius]: globalRefs$3.radius.xs,
9023
9077
 
9024
9078
  _bordered: {
9025
- [vars$3.borderWidth]: globalRefs$2.border.sm,
9026
- [vars$3.borderStyle]: 'solid',
9027
- [vars$3.borderColor]: 'transparent',
9079
+ [vars$4.borderWidth]: globalRefs$3.border.sm,
9080
+ [vars$4.borderStyle]: 'solid',
9081
+ [vars$4.borderColor]: 'transparent',
9028
9082
  },
9029
9083
 
9030
9084
  size: {
9031
- xs: { [vars$3.fontSize]: '12px' },
9032
- sm: { [vars$3.fontSize]: '14px' },
9033
- md: { [vars$3.fontSize]: '16px' },
9034
- lg: { [vars$3.fontSize]: '18px' },
9085
+ xs: { [vars$4.fontSize]: '12px' },
9086
+ sm: { [vars$4.fontSize]: '14px' },
9087
+ md: { [vars$4.fontSize]: '16px' },
9088
+ lg: { [vars$4.fontSize]: '18px' },
9035
9089
  },
9036
9090
 
9037
9091
  mode: {
9038
9092
  primary: {
9039
- [vars$3.backgroundColor]: globalRefs$2.colors.primary.main,
9040
- [vars$3.textColor]: globalRefs$2.colors.primary.contrast,
9041
- [vars$3.borderColor]: globalRefs$2.colors.primary.light,
9093
+ [vars$4.backgroundColor]: globalRefs$3.colors.primary.main,
9094
+ [vars$4.textColor]: globalRefs$3.colors.primary.contrast,
9095
+ [vars$4.borderColor]: globalRefs$3.colors.primary.light,
9042
9096
  },
9043
9097
  success: {
9044
- [vars$3.backgroundColor]: globalRefs$2.colors.success.main,
9045
- [vars$3.textColor]: globalRefs$2.colors.success.contrast,
9046
- [vars$3.borderColor]: globalRefs$2.colors.success.light,
9098
+ [vars$4.backgroundColor]: globalRefs$3.colors.success.main,
9099
+ [vars$4.textColor]: globalRefs$3.colors.success.contrast,
9100
+ [vars$4.borderColor]: globalRefs$3.colors.success.light,
9047
9101
  },
9048
9102
  error: {
9049
- [vars$3.backgroundColor]: globalRefs$2.colors.error.main,
9050
- [vars$3.textColor]: globalRefs$2.colors.error.contrast,
9051
- [vars$3.borderColor]: globalRefs$2.colors.error.light,
9103
+ [vars$4.backgroundColor]: globalRefs$3.colors.error.main,
9104
+ [vars$4.textColor]: globalRefs$3.colors.error.contrast,
9105
+ [vars$4.borderColor]: globalRefs$3.colors.error.light,
9052
9106
  },
9053
9107
  },
9054
9108
  };
@@ -9056,10 +9110,10 @@ const notification = {
9056
9110
  var notificationCard = /*#__PURE__*/Object.freeze({
9057
9111
  __proto__: null,
9058
9112
  default: notification,
9059
- vars: vars$3
9113
+ vars: vars$4
9060
9114
  });
9061
9115
 
9062
- const componentName$3 = getComponentName('multi-select-combo-box');
9116
+ const componentName$5 = getComponentName('multi-select-combo-box');
9063
9117
 
9064
9118
  const multiSelectComboBoxMixin = (superclass) =>
9065
9119
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -9447,7 +9501,7 @@ const multiSelectComboBoxMixin = (superclass) =>
9447
9501
  };
9448
9502
 
9449
9503
  const {
9450
- host,
9504
+ host: host$1,
9451
9505
  inputField,
9452
9506
  inputElement,
9453
9507
  placeholder,
@@ -9455,8 +9509,8 @@ const {
9455
9509
  clearButton,
9456
9510
  label,
9457
9511
  requiredIndicator,
9458
- helperText,
9459
- errorMessage,
9512
+ helperText: helperText$1,
9513
+ errorMessage: errorMessage$1,
9460
9514
  chip,
9461
9515
  chipLabel,
9462
9516
  overflowChipFirstBorder,
@@ -9485,17 +9539,17 @@ const {
9485
9539
  const MultiSelectComboBoxClass = compose(
9486
9540
  createStyleMixin({
9487
9541
  mappings: {
9488
- hostWidth: { ...host, property: 'width' },
9489
- hostDirection: { ...host, property: 'direction' },
9542
+ hostWidth: { ...host$1, property: 'width' },
9543
+ hostDirection: { ...host$1, property: 'direction' },
9490
9544
  // we apply font-size also on the host so we can set its width with em
9491
- fontSize: [{}, host],
9545
+ fontSize: [{}, host$1],
9492
9546
  chipFontSize: { ...chipLabel, property: 'font-size' },
9493
- fontFamily: [label, placeholder, inputField, helperText, errorMessage, chipLabel],
9547
+ fontFamily: [label, placeholder, inputField, helperText$1, errorMessage$1, chipLabel],
9494
9548
  labelTextColor: [
9495
9549
  { ...label, property: 'color' },
9496
9550
  { ...requiredIndicator, property: 'color' },
9497
9551
  ],
9498
- errorMessageTextColor: { ...errorMessage, property: 'color' },
9552
+ errorMessageTextColor: { ...errorMessage$1, property: 'color' },
9499
9553
  inputHeight: { ...inputField, property: 'min-height' },
9500
9554
  inputBackgroundColor: { ...inputField, property: 'background-color' },
9501
9555
  inputBorderColor: { ...inputField, property: 'border-color' },
@@ -9663,73 +9717,73 @@ const MultiSelectComboBoxClass = compose(
9663
9717
  // Note: we exclude `placeholder` because the vaadin component observes it and
9664
9718
  // tries to override it, causing us to lose the user set placeholder.
9665
9719
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
9666
- componentName: componentName$3,
9720
+ componentName: componentName$5,
9667
9721
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
9668
9722
  })
9669
9723
  );
9670
9724
 
9671
- const globalRefs$1 = getThemeRefs(globals);
9672
- const vars$2 = MultiSelectComboBoxClass.cssVarList;
9725
+ const globalRefs$2 = getThemeRefs(globals);
9726
+ const vars$3 = MultiSelectComboBoxClass.cssVarList;
9673
9727
 
9674
9728
  const multiSelectComboBox = {
9675
- [vars$2.hostWidth]: refs.width,
9676
- [vars$2.hostDirection]: refs.direction,
9677
- [vars$2.fontSize]: refs.fontSize,
9678
- [vars$2.fontFamily]: refs.fontFamily,
9679
- [vars$2.labelTextColor]: refs.labelTextColor,
9680
- [vars$2.errorMessageTextColor]: refs.errorMessageTextColor,
9681
- [vars$2.inputBorderColor]: refs.borderColor,
9682
- [vars$2.inputBorderWidth]: refs.borderWidth,
9683
- [vars$2.inputBorderStyle]: refs.borderStyle,
9684
- [vars$2.inputBorderRadius]: refs.borderRadius,
9685
- [vars$2.inputOutlineColor]: refs.outlineColor,
9686
- [vars$2.inputOutlineOffset]: refs.outlineOffset,
9687
- [vars$2.inputOutlineWidth]: refs.outlineWidth,
9688
- [vars$2.inputOutlineStyle]: refs.outlineStyle,
9689
- [vars$2.labelRequiredIndicator]: refs.requiredIndicator,
9690
- [vars$2.inputValueTextColor]: refs.valueTextColor,
9691
- [vars$2.inputPlaceholderTextColor]: refs.placeholderTextColor,
9692
- [vars$2.inputBackgroundColor]: refs.backgroundColor,
9693
- [vars$2.inputHorizontalPadding]: refs.horizontalPadding,
9694
- [vars$2.inputVerticalPadding]: refs.verticalPadding,
9695
- [vars$2.inputHeight]: refs.inputHeight,
9696
- [vars$2.inputDropdownButtonColor]: globalRefs$1.colors.surface.dark,
9697
- [vars$2.inputDropdownButtonCursor]: 'pointer',
9698
- [vars$2.inputDropdownButtonSize]: refs.toggleButtonSize,
9699
- [vars$2.inputDropdownButtonOffset]: globalRefs$1.spacing.xs,
9700
- [vars$2.overlayItemPaddingInlineStart]: globalRefs$1.spacing.xs,
9701
- [vars$2.overlayItemPaddingInlineEnd]: globalRefs$1.spacing.lg,
9702
- [vars$2.chipFontSize]: refs.chipFontSize,
9703
- [vars$2.chipTextColor]: globalRefs$1.colors.surface.contrast,
9704
- [vars$2.chipBackgroundColor]: globalRefs$1.colors.surface.light,
9729
+ [vars$3.hostWidth]: refs.width,
9730
+ [vars$3.hostDirection]: refs.direction,
9731
+ [vars$3.fontSize]: refs.fontSize,
9732
+ [vars$3.fontFamily]: refs.fontFamily,
9733
+ [vars$3.labelTextColor]: refs.labelTextColor,
9734
+ [vars$3.errorMessageTextColor]: refs.errorMessageTextColor,
9735
+ [vars$3.inputBorderColor]: refs.borderColor,
9736
+ [vars$3.inputBorderWidth]: refs.borderWidth,
9737
+ [vars$3.inputBorderStyle]: refs.borderStyle,
9738
+ [vars$3.inputBorderRadius]: refs.borderRadius,
9739
+ [vars$3.inputOutlineColor]: refs.outlineColor,
9740
+ [vars$3.inputOutlineOffset]: refs.outlineOffset,
9741
+ [vars$3.inputOutlineWidth]: refs.outlineWidth,
9742
+ [vars$3.inputOutlineStyle]: refs.outlineStyle,
9743
+ [vars$3.labelRequiredIndicator]: refs.requiredIndicator,
9744
+ [vars$3.inputValueTextColor]: refs.valueTextColor,
9745
+ [vars$3.inputPlaceholderTextColor]: refs.placeholderTextColor,
9746
+ [vars$3.inputBackgroundColor]: refs.backgroundColor,
9747
+ [vars$3.inputHorizontalPadding]: refs.horizontalPadding,
9748
+ [vars$3.inputVerticalPadding]: refs.verticalPadding,
9749
+ [vars$3.inputHeight]: refs.inputHeight,
9750
+ [vars$3.inputDropdownButtonColor]: globalRefs$2.colors.surface.dark,
9751
+ [vars$3.inputDropdownButtonCursor]: 'pointer',
9752
+ [vars$3.inputDropdownButtonSize]: refs.toggleButtonSize,
9753
+ [vars$3.inputDropdownButtonOffset]: globalRefs$2.spacing.xs,
9754
+ [vars$3.overlayItemPaddingInlineStart]: globalRefs$2.spacing.xs,
9755
+ [vars$3.overlayItemPaddingInlineEnd]: globalRefs$2.spacing.lg,
9756
+ [vars$3.chipFontSize]: refs.chipFontSize,
9757
+ [vars$3.chipTextColor]: globalRefs$2.colors.surface.contrast,
9758
+ [vars$3.chipBackgroundColor]: globalRefs$2.colors.surface.light,
9705
9759
 
9706
9760
  _readonly: {
9707
- [vars$2.inputDropdownButtonCursor]: 'default',
9761
+ [vars$3.inputDropdownButtonCursor]: 'default',
9708
9762
  },
9709
9763
 
9710
9764
  // Overlay theme exposed via the component:
9711
- [vars$2.overlayFontSize]: refs.fontSize,
9712
- [vars$2.overlayFontFamily]: refs.fontFamily,
9713
- [vars$2.overlayCursor]: 'pointer',
9714
- [vars$2.overlayItemBoxShadow]: 'none',
9715
- [vars$2.overlayBackground]: refs.backgroundColor,
9716
- [vars$2.overlayTextColor]: refs.valueTextColor,
9765
+ [vars$3.overlayFontSize]: refs.fontSize,
9766
+ [vars$3.overlayFontFamily]: refs.fontFamily,
9767
+ [vars$3.overlayCursor]: 'pointer',
9768
+ [vars$3.overlayItemBoxShadow]: 'none',
9769
+ [vars$3.overlayBackground]: refs.backgroundColor,
9770
+ [vars$3.overlayTextColor]: refs.valueTextColor,
9717
9771
 
9718
9772
  // Overlay direct theme:
9719
- [vars$2.overlay.minHeight]: '400px',
9720
- [vars$2.overlay.margin]: '0',
9773
+ [vars$3.overlay.minHeight]: '400px',
9774
+ [vars$3.overlay.margin]: '0',
9721
9775
  };
9722
9776
 
9723
9777
  var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
9724
9778
  __proto__: null,
9725
9779
  default: multiSelectComboBox,
9726
9780
  multiSelectComboBox: multiSelectComboBox,
9727
- vars: vars$2
9781
+ vars: vars$3
9728
9782
  });
9729
9783
 
9730
- const componentName$2 = getComponentName('badge');
9784
+ const componentName$4 = getComponentName('badge');
9731
9785
 
9732
- class RawBadge extends createBaseClass({ componentName: componentName$2, baseSelector: ':host > div' }) {
9786
+ class RawBadge extends createBaseClass({ componentName: componentName$4, baseSelector: ':host > div' }) {
9733
9787
  constructor() {
9734
9788
  super();
9735
9789
 
@@ -9777,66 +9831,66 @@ const BadgeClass = compose(
9777
9831
  componentNameValidationMixin
9778
9832
  )(RawBadge);
9779
9833
 
9780
- const globalRefs = getThemeRefs(globals);
9781
- const vars$1 = BadgeClass.cssVarList;
9834
+ const globalRefs$1 = getThemeRefs(globals);
9835
+ const vars$2 = BadgeClass.cssVarList;
9782
9836
 
9783
9837
  const badge = {
9784
- [vars$1.hostWidth]: 'fit-content',
9785
- [vars$1.hostDirection]: globalRefs.direction,
9838
+ [vars$2.hostWidth]: 'fit-content',
9839
+ [vars$2.hostDirection]: globalRefs$1.direction,
9786
9840
 
9787
- [vars$1.textAlign]: 'center',
9841
+ [vars$2.textAlign]: 'center',
9788
9842
 
9789
- [vars$1.fontFamily]: globalRefs.fonts.font1.family,
9790
- [vars$1.fontWeight]: '400',
9843
+ [vars$2.fontFamily]: globalRefs$1.fonts.font1.family,
9844
+ [vars$2.fontWeight]: '400',
9791
9845
 
9792
- [vars$1.verticalPadding]: '0.25em',
9793
- [vars$1.horizontalPadding]: '0.5em',
9846
+ [vars$2.verticalPadding]: '0.25em',
9847
+ [vars$2.horizontalPadding]: '0.5em',
9794
9848
 
9795
- [vars$1.borderWidth]: globalRefs.border.xs,
9796
- [vars$1.borderRadius]: globalRefs.radius.xs,
9797
- [vars$1.borderColor]: 'transparent',
9798
- [vars$1.borderStyle]: 'solid',
9849
+ [vars$2.borderWidth]: globalRefs$1.border.xs,
9850
+ [vars$2.borderRadius]: globalRefs$1.radius.xs,
9851
+ [vars$2.borderColor]: 'transparent',
9852
+ [vars$2.borderStyle]: 'solid',
9799
9853
 
9800
9854
  _fullWidth: {
9801
- [vars$1.hostWidth]: '100%',
9855
+ [vars$2.hostWidth]: '100%',
9802
9856
  },
9803
9857
 
9804
9858
  size: {
9805
- xs: { [vars$1.fontSize]: '12px' },
9806
- sm: { [vars$1.fontSize]: '14px' },
9807
- md: { [vars$1.fontSize]: '16px' },
9808
- lg: { [vars$1.fontSize]: '18px' },
9859
+ xs: { [vars$2.fontSize]: '12px' },
9860
+ sm: { [vars$2.fontSize]: '14px' },
9861
+ md: { [vars$2.fontSize]: '16px' },
9862
+ lg: { [vars$2.fontSize]: '18px' },
9809
9863
  },
9810
9864
 
9811
9865
  mode: {
9812
9866
  default: {
9813
- [vars$1.textColor]: globalRefs.colors.surface.dark,
9867
+ [vars$2.textColor]: globalRefs$1.colors.surface.dark,
9814
9868
  _bordered: {
9815
- [vars$1.borderColor]: globalRefs.colors.surface.light,
9869
+ [vars$2.borderColor]: globalRefs$1.colors.surface.light,
9816
9870
  },
9817
9871
  },
9818
9872
  primary: {
9819
- [vars$1.textColor]: globalRefs.colors.primary.main,
9873
+ [vars$2.textColor]: globalRefs$1.colors.primary.main,
9820
9874
  _bordered: {
9821
- [vars$1.borderColor]: globalRefs.colors.primary.light,
9875
+ [vars$2.borderColor]: globalRefs$1.colors.primary.light,
9822
9876
  },
9823
9877
  },
9824
9878
  secondary: {
9825
- [vars$1.textColor]: globalRefs.colors.secondary.main,
9879
+ [vars$2.textColor]: globalRefs$1.colors.secondary.main,
9826
9880
  _bordered: {
9827
- [vars$1.borderColor]: globalRefs.colors.secondary.light,
9881
+ [vars$2.borderColor]: globalRefs$1.colors.secondary.light,
9828
9882
  },
9829
9883
  },
9830
9884
  error: {
9831
- [vars$1.textColor]: globalRefs.colors.error.main,
9885
+ [vars$2.textColor]: globalRefs$1.colors.error.main,
9832
9886
  _bordered: {
9833
- [vars$1.borderColor]: globalRefs.colors.error.light,
9887
+ [vars$2.borderColor]: globalRefs$1.colors.error.light,
9834
9888
  },
9835
9889
  },
9836
9890
  success: {
9837
- [vars$1.textColor]: globalRefs.colors.success.main,
9891
+ [vars$2.textColor]: globalRefs$1.colors.success.main,
9838
9892
  _bordered: {
9839
- [vars$1.borderColor]: globalRefs.colors.success.light,
9893
+ [vars$2.borderColor]: globalRefs$1.colors.success.light,
9840
9894
  },
9841
9895
  },
9842
9896
  },
@@ -9845,6 +9899,183 @@ const badge = {
9845
9899
  var badge$1 = /*#__PURE__*/Object.freeze({
9846
9900
  __proto__: null,
9847
9901
  default: badge,
9902
+ vars: vars$2
9903
+ });
9904
+
9905
+ customElements.define(componentName$t, TextClass);
9906
+
9907
+ const componentName$3 = getComponentName('mappings-field-internal');
9908
+
9909
+ createBaseInputClass({ componentName: componentName$3, baseSelector: 'div' });
9910
+
9911
+ const componentName$2 = getComponentName('mappings-field');
9912
+
9913
+ const SEPARATOR_WIDTH = '80px';
9914
+ const REMOVE_BUTTON_WIDTH = '60px';
9915
+
9916
+ const customMixin = (superclass) =>
9917
+ class MappingsFieldMixinClass extends superclass {
9918
+ get defaultValues() {
9919
+ const defaultValuesAttr = this.getAttribute('default-values');
9920
+ if (defaultValuesAttr) {
9921
+ try {
9922
+ return JSON.parse(defaultValuesAttr);
9923
+ } catch (e) {
9924
+ // eslint-disable-next-line no-console
9925
+ console.error('could not parse data string from attribute "default-values" -', e.message);
9926
+ }
9927
+ }
9928
+ return [];
9929
+ }
9930
+
9931
+ setDefaultValues() {
9932
+ const initialDefaultValues = this.defaultValues;
9933
+ if (Object.keys(initialDefaultValues).length > 0) {
9934
+ this.inputElement.value = initialDefaultValues;
9935
+ }
9936
+ }
9937
+
9938
+ init() {
9939
+ super.init?.();
9940
+ const template = document.createElement('template');
9941
+
9942
+ template.innerHTML = `
9943
+ <${componentName$3}
9944
+ tabindex="-1"
9945
+ ></${componentName$3}>
9946
+ `;
9947
+
9948
+ this.baseElement.appendChild(template.content.cloneNode(true));
9949
+
9950
+ this.inputElement = this.shadowRoot.querySelector(componentName$3);
9951
+
9952
+ forwardAttrs(this, this.inputElement, {
9953
+ includeAttrs: [
9954
+ 'size',
9955
+ 'full-width',
9956
+ 'label-value',
9957
+ 'label-attr',
9958
+ 'button-label',
9959
+ 'separator',
9960
+ 'options',
9961
+ 'default-values',
9962
+ 'invalid',
9963
+ 'readonly',
9964
+ 'disabled',
9965
+ ],
9966
+ });
9967
+
9968
+ this.setDefaultValues();
9969
+ }
9970
+ };
9971
+
9972
+ const { host, helperText, errorMessage, mappingItem, labels, valueLabel, attrLabel, separator } = {
9973
+ host: { selector: () => ':host' },
9974
+ helperText: { selector: '::part(helper-text)' },
9975
+ errorMessage: { selector: '::part(error-message)' },
9976
+ mappingItem: { selector: 'descope-mapping-item::part(wrapper)' },
9977
+ labels: { selector: 'descope-mappings-field-internal [part="labels"] descope-text' },
9978
+ valueLabel: { selector: 'descope-mappings-field-internal [part="labels"] [part="value-label"]' },
9979
+ attrLabel: { selector: 'descope-mappings-field-internal [part="labels"] [part="attr-label"]' },
9980
+ separator: { selector: 'descope-mapping-item::part(separator)' },
9981
+ };
9982
+
9983
+ const MappingsFieldClass = compose(
9984
+ createStyleMixin({
9985
+ mappings: {
9986
+ hostWidth: { ...host, property: 'width' },
9987
+ hostDirection: { ...host, property: 'direction' },
9988
+ // we apply font-size also on the host so we can set its width with em
9989
+ fontSize: [{}, host, { ...separator, property: 'margin-top' }],
9990
+ fontFamily: [helperText, errorMessage, labels],
9991
+ separatorFontSize: { ...separator, property: 'font-size' },
9992
+ labelTextColor: { ...labels, property: TextClass.cssVarList.textColor },
9993
+ itemMarginBottom: { ...mappingItem, property: 'margin-bottom' },
9994
+ valueLabelMinWidth: { ...valueLabel, property: 'min-width' },
9995
+ attrLabelMinWidth: { ...attrLabel, property: 'min-width' },
9996
+ },
9997
+ }),
9998
+ draggableMixin,
9999
+ composedProxyInputMixin({
10000
+ proxyProps: ['value', 'selectionStart'],
10001
+ inputEvent: 'input',
10002
+ proxyParentValidation: true,
10003
+ }),
10004
+ componentNameValidationMixin,
10005
+ customMixin
10006
+ )(
10007
+ createProxy({
10008
+ slots: [],
10009
+ wrappedEleName: 'vaadin-custom-field',
10010
+ style: () => `
10011
+ :host {
10012
+ display: inline-flex;
10013
+ max-width: 100%;
10014
+ direction: ltr;
10015
+ }
10016
+ vaadin-custom-field {
10017
+ line-height: unset;
10018
+ width: 100%;
10019
+ }
10020
+
10021
+ descope-mappings-field-internal [part="labels"] {
10022
+ margin-bottom: 0.5em;
10023
+ display: grid;
10024
+ grid-template-columns: 1fr ${SEPARATOR_WIDTH} 1fr ${REMOVE_BUTTON_WIDTH};
10025
+ }
10026
+
10027
+ descope-mappings-field-internal [part="labels"] [part="value-label"],
10028
+ descope-mappings-field-internal [part="labels"] [part="attr-label"] {
10029
+ ${TextClass.cssVarList.fontWeight}: 500;
10030
+ }
10031
+
10032
+ descope-mappings-field-internal [part="labels"] [part="value-label"] {
10033
+ grid-column: 1 / span 1;
10034
+ }
10035
+
10036
+ descope-mappings-field-internal [part="labels"] [part="attr-label"] {
10037
+ grid-column: 3 / span 1;
10038
+ }
10039
+
10040
+ descope-mapping-item::part(wrapper) {
10041
+ display: grid;
10042
+ grid-template-columns: 1fr ${SEPARATOR_WIDTH} 1fr ${REMOVE_BUTTON_WIDTH};
10043
+ }
10044
+ `,
10045
+ excludeAttrsSync: [
10046
+ 'tabindex',
10047
+ 'label-value',
10048
+ 'label-attr',
10049
+ 'button-label',
10050
+ 'options',
10051
+ 'error-message',
10052
+ ],
10053
+ componentName: componentName$2,
10054
+ })
10055
+ );
10056
+
10057
+ const globalRefs = getThemeRefs(globals);
10058
+
10059
+ const vars$1 = MappingsFieldClass.cssVarList;
10060
+
10061
+ const mappingsField = {
10062
+ [vars$1.hostWidth]: refs.width,
10063
+ [vars$1.hostDirection]: refs.direction,
10064
+ [vars$1.fontSize]: refs.fontSize,
10065
+ [vars$1.fontFamily]: refs.fontFamily,
10066
+ [vars$1.separatorFontSize]: '14px',
10067
+ [vars$1.labelTextColor]: refs.labelTextColor,
10068
+ [vars$1.itemMarginBottom]: '1em',
10069
+ // To be positioned correctly, the min width has to match the text field min width
10070
+ [vars$1.valueLabelMinWidth]: refs.minWidth,
10071
+ // To be positioned correctly, the min width has to match the combo box field min width
10072
+ [vars$1.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs.border.xs})`,
10073
+ };
10074
+
10075
+ var mappingsField$1 = /*#__PURE__*/Object.freeze({
10076
+ __proto__: null,
10077
+ default: mappingsField,
10078
+ mappingsField: mappingsField,
9848
10079
  vars: vars$1
9849
10080
  });
9850
10081
 
@@ -9882,6 +10113,7 @@ const components = {
9882
10113
  notificationCard,
9883
10114
  multiSelectComboBox: multiSelectComboBox$1,
9884
10115
  badge: badge$1,
10116
+ mappingsField: mappingsField$1,
9885
10117
  };
9886
10118
 
9887
10119
  const theme = Object.keys(components).reduce(
@@ -9894,7 +10126,7 @@ const vars = Object.keys(components).reduce(
9894
10126
  );
9895
10127
 
9896
10128
  const defaultTheme = { globals, components: theme };
9897
- const themeVars = { globals: vars$y, components: vars };
10129
+ const themeVars = { globals: vars$z, components: vars };
9898
10130
 
9899
10131
  const colors = {
9900
10132
  surface: {
@@ -10211,6 +10443,7 @@ exports.LinkClass = LinkClass;
10211
10443
  exports.LoaderLinearClass = LoaderLinearClass;
10212
10444
  exports.LoaderRadialClass = LoaderRadialClass;
10213
10445
  exports.LogoClass = LogoClass;
10446
+ exports.MappingsFieldClass = MappingsFieldClass;
10214
10447
  exports.ModalClass = ModalClass;
10215
10448
  exports.MultiSelectComboBoxClass = MultiSelectComboBoxClass;
10216
10449
  exports.NewPasswordClass = NewPasswordClass;