@descope/web-components-ui 1.86.0 → 1.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/cjs/index.cjs.js +738 -678
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +784 -724
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/8961.js +1 -1
  6. package/dist/umd/8961.js.map +1 -1
  7. package/dist/umd/DescopeDev.js +1 -1
  8. package/dist/umd/DescopeDev.js.map +1 -1
  9. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  10. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
  11. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  12. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
  13. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  14. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
  15. package/dist/umd/descope-button.js +4 -4
  16. package/dist/umd/descope-button.js.map +1 -1
  17. package/dist/umd/descope-collapsible-container.js +1 -1
  18. package/dist/umd/descope-collapsible-container.js.map +1 -1
  19. package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
  20. package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
  21. package/dist/umd/descope-icon.js +1 -1
  22. package/dist/umd/descope-icon.js.map +1 -1
  23. package/dist/umd/descope-image.js +2 -0
  24. package/dist/umd/descope-image.js.map +1 -0
  25. package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
  26. package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -1
  27. package/dist/umd/descope-timer-button.js +1 -1
  28. package/dist/umd/descope-timer-button.js.map +1 -1
  29. package/dist/umd/descope-timer.js +1 -1
  30. package/dist/umd/descope-timer.js.map +1 -1
  31. package/dist/umd/descope-upload-file-index-js.js +1 -1
  32. package/dist/umd/descope-upload-file-index-js.js.map +1 -1
  33. package/dist/umd/descope-user-attribute-index-js.js +1 -1
  34. package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
  35. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  36. package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
  37. package/dist/umd/index.js +1 -1
  38. package/dist/umd/index.js.map +1 -1
  39. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  40. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
  41. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  42. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
  43. package/package.json +14 -13
  44. package/src/index.cjs.js +0 -1
  45. package/src/index.js +0 -1
  46. package/src/theme/components/index.js +2 -2
  47. package/dist/umd/descope-image-index-js.js +0 -2
  48. package/dist/umd/descope-image-index-js.js.map +0 -1
  49. package/src/components/descope-image/ImageClass.js +0 -53
  50. package/src/components/descope-image/index.js +0 -5
  51. package/src/theme/components/image.js +0 -8
@@ -3,9 +3,9 @@
3
3
  var merge = require('lodash.merge');
4
4
  require('lodash.debounce');
5
5
  var Color = require('color');
6
- var DOMPurify = require('dompurify');
7
6
  var MarkdownIt = require('markdown-it');
8
7
  require('libphonenumber-js/min');
8
+ var DOMPurify = require('dompurify');
9
9
  var hljs = require('highlight.js');
10
10
  var core = require('@zxcvbn-ts/core');
11
11
  var zxcvbnCommonPackage = require('@zxcvbn-ts/language-common');
@@ -1396,8 +1396,10 @@ const createStyleMixin$1 =
1396
1396
  this.#baseSelector = baseSelector ?? this.baseSelector;
1397
1397
  this.#getRootElement = getRootElement;
1398
1398
 
1399
- this.#styleAttributes = Object.keys(CustomStyleMixinClass.cssVarList).map((key) =>
1400
- kebabCaseJoin(STYLE_OVERRIDE_ATTR_PREFIX$1, componentNameSuffix, key)
1399
+ this.#styleAttributes = Object.keys(
1400
+ CustomStyleMixinClass.cssVarList,
1401
+ ).map((key) =>
1402
+ kebabCaseJoin(STYLE_OVERRIDE_ATTR_PREFIX$1, componentNameSuffix, key),
1401
1403
  );
1402
1404
  }
1403
1405
 
@@ -1407,14 +1409,23 @@ const createStyleMixin$1 =
1407
1409
  }
1408
1410
 
1409
1411
  #onComponentThemeChange() {
1410
- this.#themeStyleEle.replaceSync(this.#componentTheme[this.#themeSection]);
1412
+ this.#themeStyleEle.replaceSync(
1413
+ this.#componentTheme[this.#themeSection],
1414
+ );
1415
+ this.currentThemeName = componentsThemeManager.currentThemeName;
1416
+ // `onThemeChange` - This function is a hook for the component, so it can be implemented in the component
1417
+ // and is executed once theme is change.
1418
+ this.onThemeChange?.(componentsThemeManager.currentThemeName);
1411
1419
  }
1412
1420
 
1413
1421
  #createComponentTheme() {
1414
- this.#themeStyleEle = injectStyle('', this.#rootElement, { prepend: true });
1415
- this.#disconnectThemeManager = componentsThemeManager.onCurrentThemeChange(
1416
- this.#onComponentThemeChange.bind(this)
1417
- );
1422
+ this.#themeStyleEle = injectStyle('', this.#rootElement, {
1423
+ prepend: true,
1424
+ });
1425
+ this.#disconnectThemeManager =
1426
+ componentsThemeManager.onCurrentThemeChange(
1427
+ this.#onComponentThemeChange.bind(this),
1428
+ );
1418
1429
  this.#onComponentThemeChange();
1419
1430
  }
1420
1431
 
@@ -1422,10 +1433,13 @@ const createStyleMixin$1 =
1422
1433
  if (this.#styleAttributes.length) {
1423
1434
  const classSpecifier = createClassSelectorSpecifier$1(
1424
1435
  componentName,
1425
- CSS_SELECTOR_SPECIFIER_MULTIPLY
1436
+ CSS_SELECTOR_SPECIFIER_MULTIPLY,
1426
1437
  );
1427
1438
 
1428
- this.#overrideStyleEle = injectStyle(`:host(${classSpecifier}) {}`, this.#rootElement);
1439
+ this.#overrideStyleEle = injectStyle(
1440
+ `:host(${classSpecifier}) {}`,
1441
+ this.#rootElement,
1442
+ );
1429
1443
  }
1430
1444
  }
1431
1445
 
@@ -1436,7 +1450,7 @@ const createStyleMixin$1 =
1436
1450
 
1437
1451
  const varName = getCssVarName(
1438
1452
  componentName,
1439
- attrName.replace(new RegExp(`^${STYLE_OVERRIDE_ATTR_PREFIX$1}-`), '')
1453
+ attrName.replace(new RegExp(`^${STYLE_OVERRIDE_ATTR_PREFIX$1}-`), ''),
1440
1454
  );
1441
1455
 
1442
1456
  if (value) style?.setProperty(varName, value);
@@ -1459,7 +1473,7 @@ const createStyleMixin$1 =
1459
1473
  const style = createStyle$1(
1460
1474
  kebabCaseJoin(componentName, this.#componentNameSuffix),
1461
1475
  this.#baseSelector,
1462
- mappings
1476
+ mappings,
1463
1477
  );
1464
1478
 
1465
1479
  injectStyle(style, this.#rootElement, { prepend: true });
@@ -1467,13 +1481,16 @@ const createStyleMixin$1 =
1467
1481
  }
1468
1482
 
1469
1483
  #addClassName(className) {
1470
- (this.#rootElement.classList || this.#rootElement.host.classList).add(className);
1484
+ (this.#rootElement.classList || this.#rootElement.host.classList).add(
1485
+ className,
1486
+ );
1471
1487
  }
1472
1488
 
1473
1489
  async init() {
1474
1490
  super.init?.();
1475
1491
  if (this.shadowRoot.isConnected) {
1476
- this.#rootElement = (await this.#getRootElement?.(this)) || this.shadowRoot;
1492
+ this.#rootElement =
1493
+ (await this.#getRootElement?.(this)) || this.shadowRoot;
1477
1494
 
1478
1495
  this.#addClassName(componentName);
1479
1496
 
@@ -1811,7 +1828,7 @@ const inputEventsDispatchingMixin$1 = (superclass) =>
1811
1828
  }
1812
1829
  };
1813
1830
 
1814
- const observedAttributes$6 = ['required', 'pattern'];
1831
+ const observedAttributes$5 = ['required', 'pattern'];
1815
1832
 
1816
1833
  const errorAttributes$1 = {
1817
1834
  valueMissing: 'data-errormessage-value-missing',
@@ -1830,7 +1847,7 @@ const inputValidationMixin$1 = (superclass) =>
1830
1847
  #validationTarget = validationTargetSymbol$1;
1831
1848
 
1832
1849
  static get observedAttributes() {
1833
- return [...(superclass.observedAttributes || []), ...observedAttributes$6];
1850
+ return [...(superclass.observedAttributes || []), ...observedAttributes$5];
1834
1851
  }
1835
1852
 
1836
1853
  static get formAssociated() {
@@ -2002,7 +2019,7 @@ const inputValidationMixin$1 = (superclass) =>
2002
2019
  attributeChangedCallback(attrName, oldValue, newValue) {
2003
2020
  super.attributeChangedCallback?.(attrName, oldValue, newValue);
2004
2021
 
2005
- if (observedAttributes$6.includes(attrName)) {
2022
+ if (observedAttributes$5.includes(attrName)) {
2006
2023
  this.#setValidity();
2007
2024
  }
2008
2025
  }
@@ -2551,149 +2568,29 @@ const connectorMixin =
2551
2568
  }
2552
2569
  };
2553
2570
 
2554
- const getFileExtension = (path) => {
2555
- const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
2556
- return match ? match[1] : null;
2557
- };
2558
-
2559
- const base64Prefix = 'data:image/svg+xml;base64,';
2560
-
2561
- const isBase64Svg = (src) => src.startsWith(base64Prefix);
2562
-
2563
- const createImgEle = (src) => {
2564
- const ele = document.createElement('img');
2565
- ele.setAttribute('src', src);
2566
- return ele;
2567
- };
2568
-
2569
- const createSvgEle = (text) => {
2570
- // we want to purify the SVG to avoid XSS attacks
2571
- const clean = DOMPurify.sanitize(text, { USE_PROFILES: { svg: true, svgFilters: true } });
2572
-
2573
- const parser = new DOMParser();
2574
- const ele = parser.parseFromString(clean, 'image/svg+xml').querySelector('svg');
2575
- return ele;
2576
- };
2577
-
2578
- const createIcon = async (src) => {
2579
- try {
2580
- let ele;
2581
- if (isBase64Svg(src)) {
2582
- // handle base64 source
2583
- const svgXml = atob(src.slice(base64Prefix.length));
2584
- ele = createSvgEle(svgXml);
2585
- } else if (getFileExtension(src) === 'svg') {
2586
- // handle urls
2587
- const fetchedSrc = await fetch(src);
2588
- const text = await fetchedSrc.text();
2589
- ele = createSvgEle(text);
2590
- } else {
2591
- // handle binary
2592
- ele = createImgEle(src);
2593
- }
2594
-
2595
- ele.style.setProperty('max-width', '100%');
2596
- ele.style.setProperty('max-height', '100%');
2597
-
2598
- return ele;
2599
- } catch {
2600
- return null;
2601
- }
2602
- };
2603
-
2604
- /* eslint-disable no-use-before-define */
2605
-
2606
2571
  const componentName$1a = getComponentName('icon');
2607
2572
 
2608
- class RawIcon extends createBaseClass$1({ componentName: componentName$1a, baseSelector: 'slot' }) {
2609
- static get observedAttributes() {
2610
- return ['src'];
2611
- }
2612
-
2613
- #icon;
2614
-
2615
- constructor() {
2616
- super();
2617
-
2618
- this.attachShadow({ mode: 'open' }).innerHTML = `
2619
- <slot></slot>
2620
- `;
2621
-
2622
- injectStyle(
2623
- `
2624
- :host > slot {
2625
- box-sizing: border-box;
2626
- width: 100%;
2627
- height: 100%;
2628
- display: flex;
2629
- overflow: hidden;
2630
- }
2631
- :host {
2632
- display: inline-block;
2633
- }
2634
- `,
2635
- this
2636
- );
2637
- }
2638
-
2639
- init() {
2640
- super.init?.();
2641
- this.toggleVisibility(this.src);
2642
- }
2643
-
2644
- toggleVisibility(isVisible) {
2645
- this.style.display = isVisible ? '' : 'none';
2646
- }
2647
-
2648
- get src() {
2649
- return this.getAttribute('src');
2650
- }
2651
-
2652
- // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
2653
- // with the value from the `st-fill` attribute
2654
- // eslint-disable-next-line class-methods-use-this
2655
- updateFillColor(node) {
2656
- // set fill to root node and all its relevant selectors
2657
- const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
2658
-
2659
- elementsToReplace.forEach((ele) => {
2660
- ele.setAttribute(
2661
- 'fill',
2662
- `var(${IconClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`
2663
- );
2664
- });
2665
- }
2666
-
2667
- attributeChangedCallback(attrName, oldValue, newValue) {
2668
- super.attributeChangedCallback?.(attrName, oldValue, newValue);
2669
-
2670
- if (oldValue === newValue) return;
2671
-
2672
- if (attrName === 'src') {
2673
- this.toggleVisibility(newValue);
2674
-
2675
- createIcon(this.src).then((res) => {
2676
- this.innerHTML = '';
2677
- if (res) {
2678
- const clonedNode = res.cloneNode(true);
2679
- this.updateFillColor(clonedNode);
2680
- this.appendChild(clonedNode);
2681
- }
2682
- });
2683
- }
2684
- }
2685
- }
2686
-
2687
2573
  const IconClass = compose(
2688
2574
  createStyleMixin$1({
2689
2575
  mappings: {
2690
2576
  fill: {},
2691
- alignItems: {}
2692
2577
  },
2693
2578
  }),
2694
2579
  draggableMixin$1,
2695
- componentNameValidationMixin$1
2696
- )(RawIcon);
2580
+ componentNameValidationMixin$1,
2581
+ )(
2582
+ createProxy$1({
2583
+ slots: [],
2584
+ wrappedEleName: 'descope-image',
2585
+ style: () => `
2586
+ :host {
2587
+ display: inline-flex;
2588
+ }
2589
+ `,
2590
+ excludeAttrsSync: ['tabindex', 'class'],
2591
+ componentName: componentName$1a,
2592
+ }),
2593
+ );
2697
2594
 
2698
2595
  const clickableMixin = (superclass) =>
2699
2596
  class ClickableMixinClass extends superclass {
@@ -3522,7 +3419,7 @@ const createProxy = ({
3522
3419
  return ProxyClass;
3523
3420
  };
3524
3421
 
3525
- const observedAttributes$5 = ['required', 'pattern'];
3422
+ const observedAttributes$4 = ['required', 'pattern'];
3526
3423
 
3527
3424
  const errorAttributes = {
3528
3425
  valueMissing: 'data-errormessage-value-missing',
@@ -3541,7 +3438,7 @@ const inputValidationMixin = (superclass) =>
3541
3438
  #validationTarget = validationTargetSymbol;
3542
3439
 
3543
3440
  static get observedAttributes() {
3544
- return [...(superclass.observedAttributes || []), ...observedAttributes$5];
3441
+ return [...(superclass.observedAttributes || []), ...observedAttributes$4];
3545
3442
  }
3546
3443
 
3547
3444
  static get formAssociated() {
@@ -3713,7 +3610,7 @@ const inputValidationMixin = (superclass) =>
3713
3610
  attributeChangedCallback(attrName, oldValue, newValue) {
3714
3611
  super.attributeChangedCallback?.(attrName, oldValue, newValue);
3715
3612
 
3716
- if (observedAttributes$5.includes(attrName)) {
3613
+ if (observedAttributes$4.includes(attrName)) {
3717
3614
  this.#setValidity();
3718
3615
  }
3719
3616
  }
@@ -7307,12 +7204,12 @@ const LoaderRadialClass = compose$1(
7307
7204
 
7308
7205
  const componentName$R = getComponentName$1('passcode');
7309
7206
 
7310
- const observedAttributes$4 = ['digits'];
7207
+ const observedAttributes$3 = ['digits'];
7311
7208
 
7312
7209
  const customMixin$b = (superclass) =>
7313
7210
  class PasscodeMixinClass extends superclass {
7314
7211
  static get observedAttributes() {
7315
- return observedAttributes$4.concat(superclass.observedAttributes || []);
7212
+ return observedAttributes$3.concat(superclass.observedAttributes || []);
7316
7213
  }
7317
7214
 
7318
7215
  get digits() {
@@ -8626,64 +8523,6 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
8626
8523
  vars: vars$F
8627
8524
  });
8628
8525
 
8629
- const observedAttributes$3 = ['src', 'alt'];
8630
-
8631
- const componentName$N = getComponentName$1('image');
8632
-
8633
- const BaseClass$4 = createBaseClass({ componentName: componentName$N, baseSelector: ':host > img' });
8634
- class RawImage extends BaseClass$4 {
8635
- static get observedAttributes() {
8636
- return observedAttributes$3.concat(BaseClass$4.observedAttributes || []);
8637
- }
8638
-
8639
- constructor() {
8640
- super();
8641
-
8642
- this.attachShadow({ mode: 'open' }).innerHTML = `
8643
- <img/>
8644
- `;
8645
-
8646
- injectStyle(
8647
- `
8648
- :host > img {
8649
- width: 100%;
8650
- height: 100%
8651
- }
8652
- :host {
8653
- display: inline-flex;
8654
- }
8655
- `,
8656
- this
8657
- );
8658
- }
8659
-
8660
- connectedCallback() {
8661
- super.connectedCallback?.();
8662
-
8663
- forwardAttrs$1(this, this.baseElement, { includeAttrs: observedAttributes$3 });
8664
- }
8665
- }
8666
-
8667
- const ImageClass = compose$1(
8668
- createStyleMixin({
8669
- mappings: {
8670
- height: { selector: () => ':host' },
8671
- width: { selector: () => ':host' },
8672
- },
8673
- }),
8674
- draggableMixin
8675
- )(RawImage);
8676
-
8677
- const vars$E = ImageClass.cssVarList;
8678
-
8679
- const image = {};
8680
-
8681
- var image$1 = /*#__PURE__*/Object.freeze({
8682
- __proto__: null,
8683
- default: image,
8684
- vars: vars$E
8685
- });
8686
-
8687
8526
  var CountryCodes = [
8688
8527
  // United States should be the first option
8689
8528
  {
@@ -9895,14 +9734,14 @@ var CountryCodes = [
9895
9734
  ].sort((a, b) => (a.name < b.name ? -1 : 1)),
9896
9735
  ];
9897
9736
 
9898
- const componentName$M = getComponentName$1('phone-field-internal');
9737
+ const componentName$N = getComponentName$1('phone-field-internal');
9899
9738
 
9900
- createBaseInputClass({ componentName: componentName$M, baseSelector: 'div' });
9739
+ createBaseInputClass({ componentName: componentName$N, baseSelector: 'div' });
9901
9740
 
9902
9741
  const textVars$2 = TextFieldClass.cssVarList;
9903
9742
  const comboVars = ComboBoxClass.cssVarList;
9904
9743
 
9905
- const componentName$L = getComponentName$1('phone-field');
9744
+ const componentName$M = getComponentName$1('phone-field');
9906
9745
 
9907
9746
  const customMixin$a = (superclass) =>
9908
9747
  class PhoneFieldMixinClass extends superclass {
@@ -9916,15 +9755,15 @@ const customMixin$a = (superclass) =>
9916
9755
  const template = document.createElement('template');
9917
9756
 
9918
9757
  template.innerHTML = `
9919
- <${componentName$M}
9758
+ <${componentName$N}
9920
9759
  tabindex="-1"
9921
9760
  slot="input"
9922
- ></${componentName$M}>
9761
+ ></${componentName$N}>
9923
9762
  `;
9924
9763
 
9925
9764
  this.baseElement.appendChild(template.content.cloneNode(true));
9926
9765
 
9927
- this.inputElement = this.shadowRoot.querySelector(componentName$M);
9766
+ this.inputElement = this.shadowRoot.querySelector(componentName$N);
9928
9767
 
9929
9768
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
9930
9769
  includeAttrs: [
@@ -10196,44 +10035,44 @@ const PhoneFieldClass = compose$1(
10196
10035
  ${resetInputLabelPosition('vaadin-text-field')}
10197
10036
  `,
10198
10037
  excludeAttrsSync: ['tabindex'],
10199
- componentName: componentName$L,
10038
+ componentName: componentName$M,
10200
10039
  })
10201
10040
  );
10202
10041
 
10203
- const vars$D = PhoneFieldClass.cssVarList;
10042
+ const vars$E = PhoneFieldClass.cssVarList;
10204
10043
 
10205
10044
  const phoneField = {
10206
- [vars$D.hostWidth]: refs$1.width,
10207
- [vars$D.hostDirection]: refs$1.direction,
10208
- [vars$D.fontSize]: refs$1.fontSize,
10209
- [vars$D.fontFamily]: refs$1.fontFamily,
10210
- [vars$D.labelTextColor]: refs$1.labelTextColor,
10211
- [vars$D.labelRequiredIndicator]: refs$1.requiredIndicator,
10212
- [vars$D.errorMessageTextColor]: refs$1.errorMessageTextColor,
10213
- [vars$D.inputValueTextColor]: refs$1.valueTextColor,
10214
- [vars$D.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
10215
- [vars$D.inputBorderStyle]: refs$1.borderStyle,
10216
- [vars$D.inputBorderWidth]: refs$1.borderWidth,
10217
- [vars$D.inputBorderColor]: refs$1.borderColor,
10218
- [vars$D.inputBorderRadius]: refs$1.borderRadius,
10219
- [vars$D.inputOutlineStyle]: refs$1.outlineStyle,
10220
- [vars$D.inputOutlineWidth]: refs$1.outlineWidth,
10221
- [vars$D.inputOutlineColor]: refs$1.outlineColor,
10222
- [vars$D.inputOutlineOffset]: refs$1.outlineOffset,
10223
- [vars$D.phoneInputWidth]: refs$1.minWidth,
10224
- [vars$D.countryCodeInputWidth]: '5em',
10225
- [vars$D.countryCodeDropdownWidth]: '20em',
10226
- [vars$D.marginInlineStart]: '-0.25em',
10227
- [vars$D.valueInputHeight]: refs$1.valueInputHeight,
10228
- [vars$D.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
10045
+ [vars$E.hostWidth]: refs$1.width,
10046
+ [vars$E.hostDirection]: refs$1.direction,
10047
+ [vars$E.fontSize]: refs$1.fontSize,
10048
+ [vars$E.fontFamily]: refs$1.fontFamily,
10049
+ [vars$E.labelTextColor]: refs$1.labelTextColor,
10050
+ [vars$E.labelRequiredIndicator]: refs$1.requiredIndicator,
10051
+ [vars$E.errorMessageTextColor]: refs$1.errorMessageTextColor,
10052
+ [vars$E.inputValueTextColor]: refs$1.valueTextColor,
10053
+ [vars$E.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
10054
+ [vars$E.inputBorderStyle]: refs$1.borderStyle,
10055
+ [vars$E.inputBorderWidth]: refs$1.borderWidth,
10056
+ [vars$E.inputBorderColor]: refs$1.borderColor,
10057
+ [vars$E.inputBorderRadius]: refs$1.borderRadius,
10058
+ [vars$E.inputOutlineStyle]: refs$1.outlineStyle,
10059
+ [vars$E.inputOutlineWidth]: refs$1.outlineWidth,
10060
+ [vars$E.inputOutlineColor]: refs$1.outlineColor,
10061
+ [vars$E.inputOutlineOffset]: refs$1.outlineOffset,
10062
+ [vars$E.phoneInputWidth]: refs$1.minWidth,
10063
+ [vars$E.countryCodeInputWidth]: '5em',
10064
+ [vars$E.countryCodeDropdownWidth]: '20em',
10065
+ [vars$E.marginInlineStart]: '-0.25em',
10066
+ [vars$E.valueInputHeight]: refs$1.valueInputHeight,
10067
+ [vars$E.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
10229
10068
 
10230
10069
  // error message icon
10231
- [vars$D.errorMessageIcon]: refs$1.errorMessageIcon,
10232
- [vars$D.errorMessageIconSize]: refs$1.errorMessageIconSize,
10233
- [vars$D.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
10234
- [vars$D.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
10235
- [vars$D.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
10236
- [vars$D.errorMessageFontSize]: refs$1.errorMessageFontSize,
10070
+ [vars$E.errorMessageIcon]: refs$1.errorMessageIcon,
10071
+ [vars$E.errorMessageIconSize]: refs$1.errorMessageIconSize,
10072
+ [vars$E.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
10073
+ [vars$E.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
10074
+ [vars$E.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
10075
+ [vars$E.errorMessageFontSize]: refs$1.errorMessageFontSize,
10237
10076
 
10238
10077
  // '@overlay': {
10239
10078
  // overlayItemBackgroundColor: 'red'
@@ -10243,16 +10082,16 @@ const phoneField = {
10243
10082
  var phoneField$1 = /*#__PURE__*/Object.freeze({
10244
10083
  __proto__: null,
10245
10084
  default: phoneField,
10246
- vars: vars$D
10085
+ vars: vars$E
10247
10086
  });
10248
10087
 
10249
- const componentName$K = getComponentName$1('phone-field-internal-input-box');
10088
+ const componentName$L = getComponentName$1('phone-field-internal-input-box');
10250
10089
 
10251
- createBaseInputClass({ componentName: componentName$K, baseSelector: 'div' });
10090
+ createBaseInputClass({ componentName: componentName$L, baseSelector: 'div' });
10252
10091
 
10253
10092
  const textVars$1 = TextFieldClass.cssVarList;
10254
10093
 
10255
- const componentName$J = getComponentName$1('phone-input-box-field');
10094
+ const componentName$K = getComponentName$1('phone-input-box-field');
10256
10095
 
10257
10096
  const customMixin$9 = (superclass) =>
10258
10097
  class PhoneFieldInputBoxMixinClass extends superclass {
@@ -10266,15 +10105,15 @@ const customMixin$9 = (superclass) =>
10266
10105
  const template = document.createElement('template');
10267
10106
 
10268
10107
  template.innerHTML = `
10269
- <${componentName$K}
10108
+ <${componentName$L}
10270
10109
  tabindex="-1"
10271
10110
  slot="input"
10272
- ></${componentName$K}>
10111
+ ></${componentName$L}>
10273
10112
  `;
10274
10113
 
10275
10114
  this.baseElement.appendChild(template.content.cloneNode(true));
10276
10115
 
10277
- this.inputElement = this.shadowRoot.querySelector(componentName$K);
10116
+ this.inputElement = this.shadowRoot.querySelector(componentName$L);
10278
10117
 
10279
10118
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
10280
10119
  includeAttrs: [
@@ -10478,70 +10317,70 @@ const PhoneFieldInputBoxClass = compose$1(
10478
10317
  ${inputFloatingLabelStyle()}
10479
10318
  `,
10480
10319
  excludeAttrsSync: ['tabindex'],
10481
- componentName: componentName$J,
10320
+ componentName: componentName$K,
10482
10321
  })
10483
10322
  );
10484
10323
 
10485
- const vars$C = PhoneFieldInputBoxClass.cssVarList;
10324
+ const vars$D = PhoneFieldInputBoxClass.cssVarList;
10486
10325
 
10487
10326
  const phoneInputBoxField = {
10488
- [vars$C.hostWidth]: '16em',
10489
- [vars$C.hostMinWidth]: refs$1.minWidth,
10490
- [vars$C.hostDirection]: refs$1.direction,
10491
- [vars$C.fontSize]: refs$1.fontSize,
10492
- [vars$C.fontFamily]: refs$1.fontFamily,
10493
- [vars$C.labelFontSize]: refs$1.labelFontSize,
10494
- [vars$C.labelFontWeight]: refs$1.labelFontWeight,
10495
- [vars$C.labelTextColor]: refs$1.labelTextColor,
10496
- [vars$C.labelRequiredIndicator]: refs$1.requiredIndicator,
10497
- [vars$C.errorMessageTextColor]: refs$1.errorMessageTextColor,
10498
- [vars$C.inputValueTextColor]: refs$1.valueTextColor,
10499
- [vars$C.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
10500
- [vars$C.inputBorderStyle]: refs$1.borderStyle,
10501
- [vars$C.inputBorderWidth]: refs$1.borderWidth,
10502
- [vars$C.inputBorderColor]: refs$1.borderColor,
10503
- [vars$C.inputBorderRadius]: refs$1.borderRadius,
10504
- [vars$C.inputOutlineStyle]: refs$1.outlineStyle,
10505
- [vars$C.inputOutlineWidth]: refs$1.outlineWidth,
10506
- [vars$C.inputOutlineColor]: refs$1.outlineColor,
10507
- [vars$C.inputOutlineOffset]: refs$1.outlineOffset,
10508
- [vars$C.labelPosition]: refs$1.labelPosition,
10509
- [vars$C.labelTopPosition]: refs$1.labelTopPosition,
10510
- [vars$C.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
10511
- [vars$C.inputTransformY]: refs$1.inputTransformY,
10512
- [vars$C.inputTransition]: refs$1.inputTransition,
10513
- [vars$C.marginInlineStart]: refs$1.marginInlineStart,
10514
- [vars$C.valueInputHeight]: refs$1.valueInputHeight,
10515
- [vars$C.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
10516
- [vars$C.inputHorizontalPadding]: '0',
10327
+ [vars$D.hostWidth]: '16em',
10328
+ [vars$D.hostMinWidth]: refs$1.minWidth,
10329
+ [vars$D.hostDirection]: refs$1.direction,
10330
+ [vars$D.fontSize]: refs$1.fontSize,
10331
+ [vars$D.fontFamily]: refs$1.fontFamily,
10332
+ [vars$D.labelFontSize]: refs$1.labelFontSize,
10333
+ [vars$D.labelFontWeight]: refs$1.labelFontWeight,
10334
+ [vars$D.labelTextColor]: refs$1.labelTextColor,
10335
+ [vars$D.labelRequiredIndicator]: refs$1.requiredIndicator,
10336
+ [vars$D.errorMessageTextColor]: refs$1.errorMessageTextColor,
10337
+ [vars$D.inputValueTextColor]: refs$1.valueTextColor,
10338
+ [vars$D.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
10339
+ [vars$D.inputBorderStyle]: refs$1.borderStyle,
10340
+ [vars$D.inputBorderWidth]: refs$1.borderWidth,
10341
+ [vars$D.inputBorderColor]: refs$1.borderColor,
10342
+ [vars$D.inputBorderRadius]: refs$1.borderRadius,
10343
+ [vars$D.inputOutlineStyle]: refs$1.outlineStyle,
10344
+ [vars$D.inputOutlineWidth]: refs$1.outlineWidth,
10345
+ [vars$D.inputOutlineColor]: refs$1.outlineColor,
10346
+ [vars$D.inputOutlineOffset]: refs$1.outlineOffset,
10347
+ [vars$D.labelPosition]: refs$1.labelPosition,
10348
+ [vars$D.labelTopPosition]: refs$1.labelTopPosition,
10349
+ [vars$D.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
10350
+ [vars$D.inputTransformY]: refs$1.inputTransformY,
10351
+ [vars$D.inputTransition]: refs$1.inputTransition,
10352
+ [vars$D.marginInlineStart]: refs$1.marginInlineStart,
10353
+ [vars$D.valueInputHeight]: refs$1.valueInputHeight,
10354
+ [vars$D.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
10355
+ [vars$D.inputHorizontalPadding]: '0',
10517
10356
 
10518
10357
  // error message icon
10519
- [vars$C.errorMessageIcon]: refs$1.errorMessageIcon,
10520
- [vars$C.errorMessageIconSize]: refs$1.errorMessageIconSize,
10521
- [vars$C.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
10522
- [vars$C.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
10523
- [vars$C.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
10524
- [vars$C.errorMessageFontSize]: refs$1.errorMessageFontSize,
10525
-
10526
- _fullWidth: {
10527
- [vars$C.hostWidth]: refs$1.width,
10528
- },
10529
- };
10530
-
10358
+ [vars$D.errorMessageIcon]: refs$1.errorMessageIcon,
10359
+ [vars$D.errorMessageIconSize]: refs$1.errorMessageIconSize,
10360
+ [vars$D.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
10361
+ [vars$D.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
10362
+ [vars$D.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
10363
+ [vars$D.errorMessageFontSize]: refs$1.errorMessageFontSize,
10364
+
10365
+ _fullWidth: {
10366
+ [vars$D.hostWidth]: refs$1.width,
10367
+ },
10368
+ };
10369
+
10531
10370
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
10532
10371
  __proto__: null,
10533
10372
  default: phoneInputBoxField,
10534
- vars: vars$C
10373
+ vars: vars$D
10535
10374
  });
10536
10375
 
10537
- const componentName$I = getComponentName$1('new-password-internal');
10376
+ const componentName$J = getComponentName$1('new-password-internal');
10538
10377
 
10539
10378
  const interpolateString = (template, values) =>
10540
10379
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
10541
10380
 
10542
10381
  // eslint-disable-next-line max-classes-per-file
10543
10382
 
10544
- const componentName$H = getComponentName$1('policy-validation');
10383
+ const componentName$I = getComponentName$1('policy-validation');
10545
10384
 
10546
10385
  const overrideAttrs = [
10547
10386
  'data-password-policy-value-minlength',
@@ -10551,7 +10390,7 @@ const overrideAttrs = [
10551
10390
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
10552
10391
  const policyAttrs = ['label', 'value', ...dataAttrs];
10553
10392
 
10554
- class RawPolicyValidation extends createBaseClass({ componentName: componentName$H, baseSelector: ':host > div' }) {
10393
+ class RawPolicyValidation extends createBaseClass({ componentName: componentName$I, baseSelector: ':host > div' }) {
10555
10394
  #availablePolicies;
10556
10395
 
10557
10396
  #activePolicies = [];
@@ -10823,7 +10662,7 @@ const PolicyValidationClass = compose$1(
10823
10662
  componentNameValidationMixin
10824
10663
  )(RawPolicyValidation);
10825
10664
 
10826
- const componentName$G = getComponentName$1('new-password');
10665
+ const componentName$H = getComponentName$1('new-password');
10827
10666
 
10828
10667
  const policyPreviewVars = PolicyValidationClass.cssVarList;
10829
10668
 
@@ -10837,18 +10676,18 @@ const customMixin$8 = (superclass) =>
10837
10676
  const externalInputAttr = this.getAttribute('external-input');
10838
10677
 
10839
10678
  template.innerHTML = `
10840
- <${componentName$I}
10679
+ <${componentName$J}
10841
10680
  name="new-password"
10842
10681
  tabindex="-1"
10843
10682
  slot="input"
10844
10683
  external-input="${externalInputAttr}"
10845
10684
  >
10846
- </${componentName$I}>
10685
+ </${componentName$J}>
10847
10686
  `;
10848
10687
 
10849
10688
  this.baseElement.appendChild(template.content.cloneNode(true));
10850
10689
 
10851
- this.inputElement = this.shadowRoot.querySelector(componentName$I);
10690
+ this.inputElement = this.shadowRoot.querySelector(componentName$J);
10852
10691
 
10853
10692
  if (this.getAttribute('external-input') === 'true') {
10854
10693
  this.initExternalInput();
@@ -11032,48 +10871,48 @@ const NewPasswordClass = compose$1(
11032
10871
  }
11033
10872
  `,
11034
10873
  excludeAttrsSync: ['tabindex'],
11035
- componentName: componentName$G,
10874
+ componentName: componentName$H,
11036
10875
  })
11037
10876
  );
11038
10877
 
11039
10878
  const globalRefs$r = getThemeRefs(globals$1);
11040
- const vars$B = NewPasswordClass.cssVarList;
10879
+ const vars$C = NewPasswordClass.cssVarList;
11041
10880
 
11042
10881
  const newPassword = {
11043
- [vars$B.hostWidth]: refs$1.width,
11044
- [vars$B.hostMinWidth]: refs$1.minWidth,
11045
- [vars$B.hostDirection]: refs$1.direction,
11046
- [vars$B.fontSize]: refs$1.fontSize,
11047
- [vars$B.fontFamily]: refs$1.fontFamily,
11048
- [vars$B.labelFontSize]: refs$1.labelFontSize,
11049
- [vars$B.labelFontWeight]: refs$1.labelFontWeight,
11050
- [vars$B.labelTextColor]: refs$1.labelTextColor,
11051
- [vars$B.spaceBetweenInputs]: '1em',
11052
- [vars$B.errorMessageTextColor]: refs$1.errorMessageTextColor,
11053
- [vars$B.policyPreviewBackgroundColor]: 'none',
11054
- [vars$B.policyPreviewPadding]: globalRefs$r.spacing.lg,
11055
- [vars$B.valueInputHeight]: refs$1.valueInputHeight,
10882
+ [vars$C.hostWidth]: refs$1.width,
10883
+ [vars$C.hostMinWidth]: refs$1.minWidth,
10884
+ [vars$C.hostDirection]: refs$1.direction,
10885
+ [vars$C.fontSize]: refs$1.fontSize,
10886
+ [vars$C.fontFamily]: refs$1.fontFamily,
10887
+ [vars$C.labelFontSize]: refs$1.labelFontSize,
10888
+ [vars$C.labelFontWeight]: refs$1.labelFontWeight,
10889
+ [vars$C.labelTextColor]: refs$1.labelTextColor,
10890
+ [vars$C.spaceBetweenInputs]: '1em',
10891
+ [vars$C.errorMessageTextColor]: refs$1.errorMessageTextColor,
10892
+ [vars$C.policyPreviewBackgroundColor]: 'none',
10893
+ [vars$C.policyPreviewPadding]: globalRefs$r.spacing.lg,
10894
+ [vars$C.valueInputHeight]: refs$1.valueInputHeight,
11056
10895
 
11057
10896
  // error message icon
11058
- [vars$B.errorMessageIcon]: refs$1.errorMessageIcon,
11059
- [vars$B.errorMessageIconSize]: refs$1.errorMessageIconSize,
11060
- [vars$B.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
11061
- [vars$B.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
11062
- [vars$B.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
11063
- [vars$B.errorMessageFontSize]: refs$1.errorMessageFontSize,
10897
+ [vars$C.errorMessageIcon]: refs$1.errorMessageIcon,
10898
+ [vars$C.errorMessageIconSize]: refs$1.errorMessageIconSize,
10899
+ [vars$C.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
10900
+ [vars$C.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
10901
+ [vars$C.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
10902
+ [vars$C.errorMessageFontSize]: refs$1.errorMessageFontSize,
11064
10903
 
11065
10904
  _required: {
11066
10905
  // NewPassword doesn't pass `required` attribute to its Password components.
11067
10906
  // That's why we fake the required indicator on each input.
11068
10907
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
11069
- [vars$B.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
10908
+ [vars$C.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
11070
10909
  },
11071
10910
  };
11072
10911
 
11073
10912
  var newPassword$1 = /*#__PURE__*/Object.freeze({
11074
10913
  __proto__: null,
11075
10914
  default: newPassword,
11076
- vars: vars$B
10915
+ vars: vars$C
11077
10916
  });
11078
10917
 
11079
10918
  const getFileBase64 = (fileObj) => {
@@ -11088,7 +10927,7 @@ const getFilename = (fileObj) => {
11088
10927
  return fileObj.name.replace(/^.*\\/, '');
11089
10928
  };
11090
10929
 
11091
- const componentName$F = getComponentName$1('upload-file');
10930
+ const componentName$G = getComponentName$1('upload-file');
11092
10931
 
11093
10932
  const observedAttributes$2 = [
11094
10933
  'title',
@@ -11103,7 +10942,7 @@ const observedAttributes$2 = [
11103
10942
  'icon',
11104
10943
  ];
11105
10944
 
11106
- const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$F, baseSelector: ':host > div' });
10945
+ const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$G, baseSelector: ':host > div' });
11107
10946
 
11108
10947
  class RawUploadFile extends BaseInputClass$3 {
11109
10948
  static get observedAttributes() {
@@ -11322,77 +11161,77 @@ const UploadFileClass = compose$1(
11322
11161
  componentNameValidationMixin
11323
11162
  )(RawUploadFile);
11324
11163
 
11325
- const vars$A = UploadFileClass.cssVarList;
11164
+ const vars$B = UploadFileClass.cssVarList;
11326
11165
 
11327
11166
  const uploadFile = {
11328
- [vars$A.hostDirection]: refs$1.direction,
11329
- [vars$A.labelTextColor]: refs$1.labelTextColor,
11330
- [vars$A.fontFamily]: refs$1.fontFamily,
11167
+ [vars$B.hostDirection]: refs$1.direction,
11168
+ [vars$B.labelTextColor]: refs$1.labelTextColor,
11169
+ [vars$B.fontFamily]: refs$1.fontFamily,
11331
11170
 
11332
- [vars$A.iconSize]: '2em',
11171
+ [vars$B.iconSize]: '2em',
11333
11172
 
11334
- [vars$A.hostPadding]: '0.75em',
11335
- [vars$A.gap]: '0.5em',
11173
+ [vars$B.hostPadding]: '0.75em',
11174
+ [vars$B.gap]: '0.5em',
11336
11175
 
11337
- [vars$A.fontSize]: '16px',
11338
- [vars$A.titleFontWeight]: '500',
11339
- [vars$A.lineHeight]: '1em',
11176
+ [vars$B.fontSize]: '16px',
11177
+ [vars$B.titleFontWeight]: '500',
11178
+ [vars$B.lineHeight]: '1em',
11340
11179
 
11341
- [vars$A.borderWidth]: refs$1.borderWidth,
11342
- [vars$A.borderColor]: refs$1.borderColor,
11343
- [vars$A.borderRadius]: refs$1.borderRadius,
11344
- [vars$A.borderStyle]: 'dashed',
11180
+ [vars$B.borderWidth]: refs$1.borderWidth,
11181
+ [vars$B.borderColor]: refs$1.borderColor,
11182
+ [vars$B.borderRadius]: refs$1.borderRadius,
11183
+ [vars$B.borderStyle]: 'dashed',
11345
11184
 
11346
11185
  _required: {
11347
- [vars$A.requiredIndicator]: refs$1.requiredIndicator,
11186
+ [vars$B.requiredIndicator]: refs$1.requiredIndicator,
11348
11187
  },
11349
11188
 
11350
11189
  size: {
11351
11190
  xs: {
11352
- [vars$A.hostHeight]: '196px',
11353
- [vars$A.hostWidth]: '200px',
11354
- [vars$A.titleFontSize]: '0.875em',
11355
- [vars$A.descriptionFontSize]: '0.875em',
11356
- [vars$A.lineHeight]: '1.25em',
11191
+ [vars$B.hostHeight]: '196px',
11192
+ [vars$B.hostWidth]: '200px',
11193
+ [vars$B.titleFontSize]: '0.875em',
11194
+ [vars$B.descriptionFontSize]: '0.875em',
11195
+ [vars$B.lineHeight]: '1.25em',
11357
11196
  },
11358
11197
  sm: {
11359
- [vars$A.hostHeight]: '216px',
11360
- [vars$A.hostWidth]: '230px',
11361
- [vars$A.titleFontSize]: '1em',
11362
- [vars$A.descriptionFontSize]: '0.875em',
11363
- [vars$A.lineHeight]: '1.25em',
11198
+ [vars$B.hostHeight]: '216px',
11199
+ [vars$B.hostWidth]: '230px',
11200
+ [vars$B.titleFontSize]: '1em',
11201
+ [vars$B.descriptionFontSize]: '0.875em',
11202
+ [vars$B.lineHeight]: '1.25em',
11364
11203
  },
11365
11204
  md: {
11366
- [vars$A.hostHeight]: '256px',
11367
- [vars$A.hostWidth]: '312px',
11368
- [vars$A.titleFontSize]: '1.125em',
11369
- [vars$A.descriptionFontSize]: '1em',
11370
- [vars$A.lineHeight]: '1.5em',
11205
+ [vars$B.hostHeight]: '256px',
11206
+ [vars$B.hostWidth]: '312px',
11207
+ [vars$B.titleFontSize]: '1.125em',
11208
+ [vars$B.descriptionFontSize]: '1em',
11209
+ [vars$B.lineHeight]: '1.5em',
11371
11210
  },
11372
11211
  lg: {
11373
- [vars$A.hostHeight]: '280px',
11374
- [vars$A.hostWidth]: '336px',
11375
- [vars$A.titleFontSize]: '1.125em',
11376
- [vars$A.descriptionFontSize]: '1.125em',
11377
- [vars$A.lineHeight]: '1.75em',
11212
+ [vars$B.hostHeight]: '280px',
11213
+ [vars$B.hostWidth]: '336px',
11214
+ [vars$B.titleFontSize]: '1.125em',
11215
+ [vars$B.descriptionFontSize]: '1.125em',
11216
+ [vars$B.lineHeight]: '1.75em',
11378
11217
  },
11379
11218
  },
11380
11219
 
11381
11220
  _fullWidth: {
11382
- [vars$A.hostWidth]: refs$1.width,
11221
+ [vars$B.hostWidth]: refs$1.width,
11383
11222
  },
11384
11223
  };
11385
11224
 
11386
11225
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
11387
11226
  __proto__: null,
11388
11227
  default: uploadFile,
11389
- vars: vars$A
11228
+ vars: vars$B
11390
11229
  });
11391
11230
 
11392
- const componentName$E = getComponentName$1('button-selection-group-item');
11231
+ const componentName$F = getComponentName$1('button-selection-group-item');
11393
11232
 
11394
11233
  class RawSelectItem extends createBaseClass({
11395
- componentName: componentName$E,
11234
+ componentName: componentName$F,
11396
11235
  baseSelector: ':host > descope-button',
11397
11236
  }) {
11398
11237
  get size() {
@@ -11505,37 +11344,37 @@ const ButtonSelectionGroupItemClass = compose$1(
11505
11344
 
11506
11345
  const globalRefs$q = getThemeRefs(globals$1);
11507
11346
 
11508
- const vars$z = ButtonSelectionGroupItemClass.cssVarList;
11347
+ const vars$A = ButtonSelectionGroupItemClass.cssVarList;
11509
11348
 
11510
11349
  const buttonSelectionGroupItem = {
11511
- [vars$z.hostDirection]: 'inherit',
11512
- [vars$z.backgroundColor]: globalRefs$q.colors.surface.main,
11513
- [vars$z.labelTextColor]: globalRefs$q.colors.surface.contrast,
11514
- [vars$z.borderColor]: globalRefs$q.colors.surface.light,
11515
- [vars$z.borderStyle]: 'solid',
11516
- [vars$z.borderRadius]: globalRefs$q.radius.sm,
11517
- [vars$z.outlineColor]: 'transparent',
11518
- [vars$z.borderWidth]: globalRefs$q.border.xs,
11350
+ [vars$A.hostDirection]: 'inherit',
11351
+ [vars$A.backgroundColor]: globalRefs$q.colors.surface.main,
11352
+ [vars$A.labelTextColor]: globalRefs$q.colors.surface.contrast,
11353
+ [vars$A.borderColor]: globalRefs$q.colors.surface.light,
11354
+ [vars$A.borderStyle]: 'solid',
11355
+ [vars$A.borderRadius]: globalRefs$q.radius.sm,
11356
+ [vars$A.outlineColor]: 'transparent',
11357
+ [vars$A.borderWidth]: globalRefs$q.border.xs,
11519
11358
 
11520
11359
  _hover: {
11521
- [vars$z.backgroundColor]: globalRefs$q.colors.surface.highlight,
11360
+ [vars$A.backgroundColor]: globalRefs$q.colors.surface.highlight,
11522
11361
  },
11523
11362
 
11524
11363
  _focused: {
11525
- [vars$z.outlineColor]: globalRefs$q.colors.surface.light,
11364
+ [vars$A.outlineColor]: globalRefs$q.colors.surface.light,
11526
11365
  },
11527
11366
 
11528
11367
  _selected: {
11529
- [vars$z.borderColor]: globalRefs$q.colors.surface.contrast,
11530
- [vars$z.backgroundColor]: globalRefs$q.colors.surface.contrast,
11531
- [vars$z.labelTextColor]: globalRefs$q.colors.surface.main,
11368
+ [vars$A.borderColor]: globalRefs$q.colors.surface.contrast,
11369
+ [vars$A.backgroundColor]: globalRefs$q.colors.surface.contrast,
11370
+ [vars$A.labelTextColor]: globalRefs$q.colors.surface.main,
11532
11371
  },
11533
11372
  };
11534
11373
 
11535
11374
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
11536
11375
  __proto__: null,
11537
11376
  default: buttonSelectionGroupItem,
11538
- vars: vars$z
11377
+ vars: vars$A
11539
11378
  });
11540
11379
 
11541
11380
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
@@ -11626,10 +11465,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
11626
11465
  return BaseButtonSelectionGroupInternalClass;
11627
11466
  };
11628
11467
 
11629
- const componentName$D = getComponentName$1('button-selection-group-internal');
11468
+ const componentName$E = getComponentName$1('button-selection-group-internal');
11630
11469
 
11631
11470
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
11632
- componentName$D
11471
+ componentName$E
11633
11472
  ) {
11634
11473
  getSelectedNode() {
11635
11474
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -11874,7 +11713,7 @@ const buttonSelectionGroupStyles = `
11874
11713
  ${resetInputCursor('vaadin-text-field')}
11875
11714
  `;
11876
11715
 
11877
- const componentName$C = getComponentName$1('button-selection-group');
11716
+ const componentName$D = getComponentName$1('button-selection-group');
11878
11717
 
11879
11718
  const buttonSelectionGroupMixin = (superclass) =>
11880
11719
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -11883,19 +11722,19 @@ const buttonSelectionGroupMixin = (superclass) =>
11883
11722
  const template = document.createElement('template');
11884
11723
 
11885
11724
  template.innerHTML = `
11886
- <${componentName$D}
11725
+ <${componentName$E}
11887
11726
  name="button-selection-group"
11888
11727
  slot="input"
11889
11728
  tabindex="-1"
11890
11729
  part="internal-component"
11891
11730
  >
11892
11731
  <slot></slot>
11893
- </${componentName$D}>
11732
+ </${componentName$E}>
11894
11733
  `;
11895
11734
 
11896
11735
  this.baseElement.appendChild(template.content.cloneNode(true));
11897
11736
 
11898
- this.inputElement = this.shadowRoot.querySelector(componentName$D);
11737
+ this.inputElement = this.shadowRoot.querySelector(componentName$E);
11899
11738
 
11900
11739
  forwardAttrs$1(this, this.inputElement, {
11901
11740
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -11920,7 +11759,7 @@ const ButtonSelectionGroupClass = compose$1(
11920
11759
  wrappedEleName: 'vaadin-text-field',
11921
11760
  style: () => buttonSelectionGroupStyles,
11922
11761
  excludeAttrsSync: ['tabindex'],
11923
- componentName: componentName$C,
11762
+ componentName: componentName$D,
11924
11763
  })
11925
11764
  );
11926
11765
 
@@ -11945,22 +11784,22 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
11945
11784
  [vars.errorMessageFontSize]: refs$1.errorMessageFontSize,
11946
11785
  });
11947
11786
 
11948
- const vars$y = ButtonSelectionGroupClass.cssVarList;
11787
+ const vars$z = ButtonSelectionGroupClass.cssVarList;
11949
11788
 
11950
11789
  const buttonSelectionGroup = {
11951
- ...createBaseButtonSelectionGroupMappings(vars$y),
11790
+ ...createBaseButtonSelectionGroupMappings(vars$z),
11952
11791
  };
11953
11792
 
11954
11793
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
11955
11794
  __proto__: null,
11956
11795
  default: buttonSelectionGroup,
11957
- vars: vars$y
11796
+ vars: vars$z
11958
11797
  });
11959
11798
 
11960
- const componentName$B = getComponentName$1('button-multi-selection-group-internal');
11799
+ const componentName$C = getComponentName$1('button-multi-selection-group-internal');
11961
11800
 
11962
11801
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
11963
- componentName$B
11802
+ componentName$C
11964
11803
  ) {
11965
11804
  #getSelectedNodes() {
11966
11805
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -12063,7 +11902,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
12063
11902
  }
12064
11903
  }
12065
11904
 
12066
- const componentName$A = getComponentName$1('button-multi-selection-group');
11905
+ const componentName$B = getComponentName$1('button-multi-selection-group');
12067
11906
 
12068
11907
  const buttonMultiSelectionGroupMixin = (superclass) =>
12069
11908
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -12072,19 +11911,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
12072
11911
  const template = document.createElement('template');
12073
11912
 
12074
11913
  template.innerHTML = `
12075
- <${componentName$B}
11914
+ <${componentName$C}
12076
11915
  name="button-selection-group"
12077
11916
  slot="input"
12078
11917
  tabindex="-1"
12079
11918
  part="internal-component"
12080
11919
  >
12081
11920
  <slot></slot>
12082
- </${componentName$B}>
11921
+ </${componentName$C}>
12083
11922
  `;
12084
11923
 
12085
11924
  this.baseElement.appendChild(template.content.cloneNode(true));
12086
11925
 
12087
- this.inputElement = this.shadowRoot.querySelector(componentName$B);
11926
+ this.inputElement = this.shadowRoot.querySelector(componentName$C);
12088
11927
 
12089
11928
  forwardAttrs$1(this, this.inputElement, {
12090
11929
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -12109,23 +11948,23 @@ const ButtonMultiSelectionGroupClass = compose$1(
12109
11948
  wrappedEleName: 'vaadin-text-field',
12110
11949
  style: () => buttonSelectionGroupStyles,
12111
11950
  excludeAttrsSync: ['tabindex'],
12112
- componentName: componentName$A,
11951
+ componentName: componentName$B,
12113
11952
  })
12114
11953
  );
12115
11954
 
12116
- const vars$x = ButtonMultiSelectionGroupClass.cssVarList;
11955
+ const vars$y = ButtonMultiSelectionGroupClass.cssVarList;
12117
11956
 
12118
11957
  const buttonMultiSelectionGroup = {
12119
- ...createBaseButtonSelectionGroupMappings(vars$x),
11958
+ ...createBaseButtonSelectionGroupMappings(vars$y),
12120
11959
  };
12121
11960
 
12122
11961
  var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
12123
11962
  __proto__: null,
12124
11963
  default: buttonMultiSelectionGroup,
12125
- vars: vars$x
11964
+ vars: vars$y
12126
11965
  });
12127
11966
 
12128
- const componentName$z = getComponentName$1('modal');
11967
+ const componentName$A = getComponentName$1('modal');
12129
11968
 
12130
11969
  const observedAttrs$3 = ['opened'];
12131
11970
 
@@ -12249,7 +12088,7 @@ const ModalClass = compose$1(
12249
12088
  }
12250
12089
  `,
12251
12090
  excludeAttrsSync: ['tabindex', 'opened', 'style'],
12252
- componentName: componentName$z,
12091
+ componentName: componentName$A,
12253
12092
  })
12254
12093
  );
12255
12094
 
@@ -12263,14 +12102,14 @@ const modal = {
12263
12102
  [compVars$4.overlayWidth]: '540px',
12264
12103
  };
12265
12104
 
12266
- const vars$w = {
12105
+ const vars$x = {
12267
12106
  ...compVars$4,
12268
12107
  };
12269
12108
 
12270
12109
  var modal$1 = /*#__PURE__*/Object.freeze({
12271
12110
  __proto__: null,
12272
12111
  default: modal,
12273
- vars: vars$w
12112
+ vars: vars$x
12274
12113
  });
12275
12114
 
12276
12115
  const isValidDataType = (data) => {
@@ -12346,7 +12185,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
12346
12185
  `;
12347
12186
  };
12348
12187
 
12349
- const componentName$y = getComponentName$1('grid');
12188
+ const componentName$z = getComponentName$1('grid');
12350
12189
 
12351
12190
  const GridMixin = (superclass) =>
12352
12191
  class GridMixinClass extends superclass {
@@ -12700,52 +12539,52 @@ const GridClass = compose$1(
12700
12539
  /*!css*/
12701
12540
  `,
12702
12541
  excludeAttrsSync: ['columns', 'tabindex', 'style'],
12703
- componentName: componentName$y,
12542
+ componentName: componentName$z,
12704
12543
  })
12705
12544
  );
12706
12545
 
12707
12546
  const globalRefs$n = getThemeRefs(globals$1);
12708
- const vars$v = GridClass.cssVarList;
12547
+ const vars$w = GridClass.cssVarList;
12709
12548
 
12710
12549
  const grid = {
12711
- [vars$v.hostWidth]: '100%',
12712
- [vars$v.hostHeight]: '100%',
12713
- [vars$v.hostMinHeight]: '400px',
12714
- [vars$v.fontWeight]: '400',
12715
- [vars$v.backgroundColor]: globalRefs$n.colors.surface.main,
12716
-
12717
- [vars$v.fontSize]: refs$1.fontSize,
12718
- [vars$v.fontFamily]: refs$1.fontFamily,
12719
-
12720
- [vars$v.sortIndicatorsColor]: globalRefs$n.colors.surface.light,
12721
- [vars$v.activeSortIndicator]: globalRefs$n.colors.surface.dark,
12722
- [vars$v.resizeHandleColor]: globalRefs$n.colors.surface.light,
12723
-
12724
- [vars$v.borderWidth]: refs$1.borderWidth,
12725
- [vars$v.borderStyle]: refs$1.borderStyle,
12726
- [vars$v.borderRadius]: refs$1.borderRadius,
12727
- [vars$v.borderColor]: 'transparent',
12728
-
12729
- [vars$v.headerRowTextColor]: globalRefs$n.colors.surface.dark,
12730
- [vars$v.separatorColor]: globalRefs$n.colors.surface.light,
12731
-
12732
- [vars$v.valueTextColor]: globalRefs$n.colors.surface.contrast,
12733
- [vars$v.selectedBackgroundColor]: globalRefs$n.colors.surface.highlight,
12734
- [vars$v.hostDirection]: globalRefs$n.direction,
12735
-
12736
- [vars$v.toggleDetailsPanelButtonSize]: '1em',
12737
- [vars$v.toggleDetailsPanelButtonOpenedColor]: globalRefs$n.colors.surface.contrast,
12738
- [vars$v.toggleDetailsPanelButtonClosedColor]: globalRefs$n.colors.surface.light,
12739
- [vars$v.toggleDetailsPanelButtonCursor]: 'pointer',
12740
- [vars$v.detailsPanelBackgroundColor]: globalRefs$n.colors.surface.highlight,
12741
- [vars$v.detailsPanelBorderTopColor]: globalRefs$n.colors.surface.light,
12742
- [vars$v.detailsPanelLabelsColor]: globalRefs$n.colors.surface.dark,
12743
- [vars$v.detailsPanelLabelsFontSize]: '0.8em',
12744
- [vars$v.detailsPanelItemsGap]: '2em',
12745
- [vars$v.detailsPanelPadding]: '12px 0',
12550
+ [vars$w.hostWidth]: '100%',
12551
+ [vars$w.hostHeight]: '100%',
12552
+ [vars$w.hostMinHeight]: '400px',
12553
+ [vars$w.fontWeight]: '400',
12554
+ [vars$w.backgroundColor]: globalRefs$n.colors.surface.main,
12555
+
12556
+ [vars$w.fontSize]: refs$1.fontSize,
12557
+ [vars$w.fontFamily]: refs$1.fontFamily,
12558
+
12559
+ [vars$w.sortIndicatorsColor]: globalRefs$n.colors.surface.light,
12560
+ [vars$w.activeSortIndicator]: globalRefs$n.colors.surface.dark,
12561
+ [vars$w.resizeHandleColor]: globalRefs$n.colors.surface.light,
12562
+
12563
+ [vars$w.borderWidth]: refs$1.borderWidth,
12564
+ [vars$w.borderStyle]: refs$1.borderStyle,
12565
+ [vars$w.borderRadius]: refs$1.borderRadius,
12566
+ [vars$w.borderColor]: 'transparent',
12567
+
12568
+ [vars$w.headerRowTextColor]: globalRefs$n.colors.surface.dark,
12569
+ [vars$w.separatorColor]: globalRefs$n.colors.surface.light,
12570
+
12571
+ [vars$w.valueTextColor]: globalRefs$n.colors.surface.contrast,
12572
+ [vars$w.selectedBackgroundColor]: globalRefs$n.colors.surface.highlight,
12573
+ [vars$w.hostDirection]: globalRefs$n.direction,
12574
+
12575
+ [vars$w.toggleDetailsPanelButtonSize]: '1em',
12576
+ [vars$w.toggleDetailsPanelButtonOpenedColor]: globalRefs$n.colors.surface.contrast,
12577
+ [vars$w.toggleDetailsPanelButtonClosedColor]: globalRefs$n.colors.surface.light,
12578
+ [vars$w.toggleDetailsPanelButtonCursor]: 'pointer',
12579
+ [vars$w.detailsPanelBackgroundColor]: globalRefs$n.colors.surface.highlight,
12580
+ [vars$w.detailsPanelBorderTopColor]: globalRefs$n.colors.surface.light,
12581
+ [vars$w.detailsPanelLabelsColor]: globalRefs$n.colors.surface.dark,
12582
+ [vars$w.detailsPanelLabelsFontSize]: '0.8em',
12583
+ [vars$w.detailsPanelItemsGap]: '2em',
12584
+ [vars$w.detailsPanelPadding]: '12px 0',
12746
12585
 
12747
12586
  _bordered: {
12748
- [vars$v.borderColor]: refs$1.borderColor,
12587
+ [vars$w.borderColor]: refs$1.borderColor,
12749
12588
  },
12750
12589
  };
12751
12590
 
@@ -12753,10 +12592,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
12753
12592
  __proto__: null,
12754
12593
  default: grid,
12755
12594
  grid: grid,
12756
- vars: vars$v
12595
+ vars: vars$w
12757
12596
  });
12758
12597
 
12759
- const componentName$x = getComponentName$1('notification-card');
12598
+ const componentName$y = getComponentName$1('notification-card');
12760
12599
 
12761
12600
  const notificationCardMixin = (superclass) =>
12762
12601
  class NotificationCardMixinClass extends superclass {
@@ -12864,54 +12703,54 @@ const NotificationCardClass = compose$1(
12864
12703
  }
12865
12704
  `,
12866
12705
  excludeAttrsSync: ['tabindex'],
12867
- componentName: componentName$x,
12706
+ componentName: componentName$y,
12868
12707
  })
12869
12708
  );
12870
12709
 
12871
12710
  const globalRefs$m = getThemeRefs(globals$1);
12872
- const vars$u = NotificationCardClass.cssVarList;
12711
+ const vars$v = NotificationCardClass.cssVarList;
12873
12712
 
12874
12713
  const shadowColor$3 = '#00000020';
12875
12714
 
12876
12715
  const notification = {
12877
- [vars$u.hostMinWidth]: '415px',
12878
- [vars$u.fontFamily]: globalRefs$m.fonts.font1.family,
12879
- [vars$u.fontSize]: globalRefs$m.typography.body1.size,
12880
- [vars$u.backgroundColor]: globalRefs$m.colors.surface.main,
12881
- [vars$u.textColor]: globalRefs$m.colors.surface.contrast,
12882
- [vars$u.boxShadow]: `${globalRefs$m.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$m.shadow.narrow.xl} ${shadowColor$3}`,
12883
- [vars$u.verticalPadding]: '0.625em',
12884
- [vars$u.horizontalPadding]: '1.5em',
12885
- [vars$u.borderRadius]: globalRefs$m.radius.xs,
12716
+ [vars$v.hostMinWidth]: '415px',
12717
+ [vars$v.fontFamily]: globalRefs$m.fonts.font1.family,
12718
+ [vars$v.fontSize]: globalRefs$m.typography.body1.size,
12719
+ [vars$v.backgroundColor]: globalRefs$m.colors.surface.main,
12720
+ [vars$v.textColor]: globalRefs$m.colors.surface.contrast,
12721
+ [vars$v.boxShadow]: `${globalRefs$m.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$m.shadow.narrow.xl} ${shadowColor$3}`,
12722
+ [vars$v.verticalPadding]: '0.625em',
12723
+ [vars$v.horizontalPadding]: '1.5em',
12724
+ [vars$v.borderRadius]: globalRefs$m.radius.xs,
12886
12725
 
12887
12726
  _bordered: {
12888
- [vars$u.borderWidth]: globalRefs$m.border.sm,
12889
- [vars$u.borderStyle]: 'solid',
12890
- [vars$u.borderColor]: 'transparent',
12727
+ [vars$v.borderWidth]: globalRefs$m.border.sm,
12728
+ [vars$v.borderStyle]: 'solid',
12729
+ [vars$v.borderColor]: 'transparent',
12891
12730
  },
12892
12731
 
12893
12732
  size: {
12894
- xs: { [vars$u.fontSize]: '12px' },
12895
- sm: { [vars$u.fontSize]: '14px' },
12896
- md: { [vars$u.fontSize]: '16px' },
12897
- lg: { [vars$u.fontSize]: '18px' },
12733
+ xs: { [vars$v.fontSize]: '12px' },
12734
+ sm: { [vars$v.fontSize]: '14px' },
12735
+ md: { [vars$v.fontSize]: '16px' },
12736
+ lg: { [vars$v.fontSize]: '18px' },
12898
12737
  },
12899
12738
 
12900
12739
  mode: {
12901
12740
  primary: {
12902
- [vars$u.backgroundColor]: globalRefs$m.colors.primary.main,
12903
- [vars$u.textColor]: globalRefs$m.colors.primary.contrast,
12904
- [vars$u.borderColor]: globalRefs$m.colors.primary.light,
12741
+ [vars$v.backgroundColor]: globalRefs$m.colors.primary.main,
12742
+ [vars$v.textColor]: globalRefs$m.colors.primary.contrast,
12743
+ [vars$v.borderColor]: globalRefs$m.colors.primary.light,
12905
12744
  },
12906
12745
  success: {
12907
- [vars$u.backgroundColor]: globalRefs$m.colors.success.main,
12908
- [vars$u.textColor]: globalRefs$m.colors.success.contrast,
12909
- [vars$u.borderColor]: globalRefs$m.colors.success.light,
12746
+ [vars$v.backgroundColor]: globalRefs$m.colors.success.main,
12747
+ [vars$v.textColor]: globalRefs$m.colors.success.contrast,
12748
+ [vars$v.borderColor]: globalRefs$m.colors.success.light,
12910
12749
  },
12911
12750
  error: {
12912
- [vars$u.backgroundColor]: globalRefs$m.colors.error.main,
12913
- [vars$u.textColor]: globalRefs$m.colors.error.contrast,
12914
- [vars$u.borderColor]: globalRefs$m.colors.error.light,
12751
+ [vars$v.backgroundColor]: globalRefs$m.colors.error.main,
12752
+ [vars$v.textColor]: globalRefs$m.colors.error.contrast,
12753
+ [vars$v.borderColor]: globalRefs$m.colors.error.light,
12915
12754
  },
12916
12755
  },
12917
12756
  };
@@ -12919,10 +12758,10 @@ const notification = {
12919
12758
  var notificationCard = /*#__PURE__*/Object.freeze({
12920
12759
  __proto__: null,
12921
12760
  default: notification,
12922
- vars: vars$u
12761
+ vars: vars$v
12923
12762
  });
12924
12763
 
12925
- const componentName$w = getComponentName$1('multi-select-combo-box');
12764
+ const componentName$x = getComponentName$1('multi-select-combo-box');
12926
12765
 
12927
12766
  const multiSelectComboBoxMixin = (superclass) =>
12928
12767
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -13575,101 +13414,101 @@ const MultiSelectComboBoxClass = compose$1(
13575
13414
  // Note: we exclude `placeholder` because the vaadin component observes it and
13576
13415
  // tries to override it, causing us to lose the user set placeholder.
13577
13416
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
13578
- componentName: componentName$w,
13417
+ componentName: componentName$x,
13579
13418
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
13580
13419
  })
13581
13420
  );
13582
13421
 
13583
13422
  const globalRefs$l = getThemeRefs(globals$1);
13584
- const vars$t = MultiSelectComboBoxClass.cssVarList;
13423
+ const vars$u = MultiSelectComboBoxClass.cssVarList;
13585
13424
 
13586
13425
  const multiSelectComboBox = {
13587
- [vars$t.hostWidth]: refs$1.width,
13588
- [vars$t.hostDirection]: refs$1.direction,
13589
- [vars$t.fontSize]: refs$1.fontSize,
13590
- [vars$t.fontFamily]: refs$1.fontFamily,
13591
- [vars$t.labelFontSize]: refs$1.labelFontSize,
13592
- [vars$t.labelFontWeight]: refs$1.labelFontWeight,
13593
- [vars$t.labelTextColor]: refs$1.labelTextColor,
13594
- [vars$t.errorMessageTextColor]: refs$1.errorMessageTextColor,
13595
- [vars$t.inputBorderColor]: refs$1.borderColor,
13596
- [vars$t.inputBorderWidth]: refs$1.borderWidth,
13597
- [vars$t.inputBorderStyle]: refs$1.borderStyle,
13598
- [vars$t.inputBorderRadius]: refs$1.borderRadius,
13599
- [vars$t.inputOutlineColor]: refs$1.outlineColor,
13600
- [vars$t.inputOutlineOffset]: refs$1.outlineOffset,
13601
- [vars$t.inputOutlineWidth]: refs$1.outlineWidth,
13602
- [vars$t.inputOutlineStyle]: refs$1.outlineStyle,
13603
- [vars$t.labelRequiredIndicator]: refs$1.requiredIndicator,
13604
- [vars$t.inputValueTextColor]: refs$1.valueTextColor,
13605
- [vars$t.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
13606
- [vars$t.inputBackgroundColor]: refs$1.backgroundColor,
13607
- [vars$t.inputHorizontalPadding]: refs$1.horizontalPadding,
13608
- [vars$t.inputVerticalPadding]: refs$1.verticalPadding,
13609
- [vars$t.inputHeight]: refs$1.inputHeight,
13610
- [vars$t.inputDropdownButtonColor]: globalRefs$l.colors.surface.dark,
13611
- [vars$t.inputDropdownButtonCursor]: 'pointer',
13612
- [vars$t.inputDropdownButtonSize]: refs$1.toggleButtonSize,
13613
- [vars$t.inputDropdownButtonOffset]: globalRefs$l.spacing.xs,
13614
- [vars$t.overlayItemPaddingInlineStart]: globalRefs$l.spacing.xs,
13615
- [vars$t.overlayItemPaddingInlineEnd]: globalRefs$l.spacing.lg,
13616
- [vars$t.chipFontSize]: refs$1.chipFontSize,
13617
- [vars$t.chipTextColor]: globalRefs$l.colors.surface.contrast,
13618
- [vars$t.chipBackgroundColor]: globalRefs$l.colors.surface.light,
13619
- [vars$t.labelPosition]: refs$1.labelPosition,
13620
- [vars$t.labelTopPosition]: refs$1.labelTopPosition,
13621
- [vars$t.labelLeftPosition]: refs$1.labelLeftPosition,
13622
- [vars$t.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
13623
- [vars$t.inputTransformY]: refs$1.inputTransformY,
13624
- [vars$t.inputTransition]: refs$1.inputTransition,
13625
- [vars$t.marginInlineStart]: refs$1.marginInlineStart,
13626
- [vars$t.placeholderOpacity]: refs$1.placeholderOpacity,
13627
- [vars$t.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
13426
+ [vars$u.hostWidth]: refs$1.width,
13427
+ [vars$u.hostDirection]: refs$1.direction,
13428
+ [vars$u.fontSize]: refs$1.fontSize,
13429
+ [vars$u.fontFamily]: refs$1.fontFamily,
13430
+ [vars$u.labelFontSize]: refs$1.labelFontSize,
13431
+ [vars$u.labelFontWeight]: refs$1.labelFontWeight,
13432
+ [vars$u.labelTextColor]: refs$1.labelTextColor,
13433
+ [vars$u.errorMessageTextColor]: refs$1.errorMessageTextColor,
13434
+ [vars$u.inputBorderColor]: refs$1.borderColor,
13435
+ [vars$u.inputBorderWidth]: refs$1.borderWidth,
13436
+ [vars$u.inputBorderStyle]: refs$1.borderStyle,
13437
+ [vars$u.inputBorderRadius]: refs$1.borderRadius,
13438
+ [vars$u.inputOutlineColor]: refs$1.outlineColor,
13439
+ [vars$u.inputOutlineOffset]: refs$1.outlineOffset,
13440
+ [vars$u.inputOutlineWidth]: refs$1.outlineWidth,
13441
+ [vars$u.inputOutlineStyle]: refs$1.outlineStyle,
13442
+ [vars$u.labelRequiredIndicator]: refs$1.requiredIndicator,
13443
+ [vars$u.inputValueTextColor]: refs$1.valueTextColor,
13444
+ [vars$u.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
13445
+ [vars$u.inputBackgroundColor]: refs$1.backgroundColor,
13446
+ [vars$u.inputHorizontalPadding]: refs$1.horizontalPadding,
13447
+ [vars$u.inputVerticalPadding]: refs$1.verticalPadding,
13448
+ [vars$u.inputHeight]: refs$1.inputHeight,
13449
+ [vars$u.inputDropdownButtonColor]: globalRefs$l.colors.surface.dark,
13450
+ [vars$u.inputDropdownButtonCursor]: 'pointer',
13451
+ [vars$u.inputDropdownButtonSize]: refs$1.toggleButtonSize,
13452
+ [vars$u.inputDropdownButtonOffset]: globalRefs$l.spacing.xs,
13453
+ [vars$u.overlayItemPaddingInlineStart]: globalRefs$l.spacing.xs,
13454
+ [vars$u.overlayItemPaddingInlineEnd]: globalRefs$l.spacing.lg,
13455
+ [vars$u.chipFontSize]: refs$1.chipFontSize,
13456
+ [vars$u.chipTextColor]: globalRefs$l.colors.surface.contrast,
13457
+ [vars$u.chipBackgroundColor]: globalRefs$l.colors.surface.light,
13458
+ [vars$u.labelPosition]: refs$1.labelPosition,
13459
+ [vars$u.labelTopPosition]: refs$1.labelTopPosition,
13460
+ [vars$u.labelLeftPosition]: refs$1.labelLeftPosition,
13461
+ [vars$u.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
13462
+ [vars$u.inputTransformY]: refs$1.inputTransformY,
13463
+ [vars$u.inputTransition]: refs$1.inputTransition,
13464
+ [vars$u.marginInlineStart]: refs$1.marginInlineStart,
13465
+ [vars$u.placeholderOpacity]: refs$1.placeholderOpacity,
13466
+ [vars$u.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
13628
13467
 
13629
13468
  // error message icon
13630
- [vars$t.errorMessageIcon]: refs$1.errorMessageIcon,
13631
- [vars$t.errorMessageIconSize]: refs$1.errorMessageIconSize,
13632
- [vars$t.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
13633
- [vars$t.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
13634
- [vars$t.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
13635
- [vars$t.errorMessageFontSize]: refs$1.errorMessageFontSize,
13469
+ [vars$u.errorMessageIcon]: refs$1.errorMessageIcon,
13470
+ [vars$u.errorMessageIconSize]: refs$1.errorMessageIconSize,
13471
+ [vars$u.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
13472
+ [vars$u.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
13473
+ [vars$u.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
13474
+ [vars$u.errorMessageFontSize]: refs$1.errorMessageFontSize,
13636
13475
 
13637
13476
  labelType: {
13638
13477
  floating: {
13639
- [vars$t.inputHorizontalPadding]: '0.25em',
13478
+ [vars$u.inputHorizontalPadding]: '0.25em',
13640
13479
  _hasValue: {
13641
- [vars$t.inputHorizontalPadding]: '0.45em',
13480
+ [vars$u.inputHorizontalPadding]: '0.45em',
13642
13481
  },
13643
13482
  },
13644
13483
  },
13645
13484
 
13646
13485
  _readonly: {
13647
- [vars$t.inputDropdownButtonCursor]: 'default',
13486
+ [vars$u.inputDropdownButtonCursor]: 'default',
13648
13487
  },
13649
13488
 
13650
13489
  // Overlay theme exposed via the component:
13651
- [vars$t.overlayFontSize]: refs$1.fontSize,
13652
- [vars$t.overlayFontFamily]: refs$1.fontFamily,
13653
- [vars$t.overlayCursor]: 'pointer',
13654
- [vars$t.overlayItemBoxShadow]: 'none',
13655
- [vars$t.overlayBackground]: refs$1.backgroundColor,
13656
- [vars$t.overlayTextColor]: refs$1.valueTextColor,
13490
+ [vars$u.overlayFontSize]: refs$1.fontSize,
13491
+ [vars$u.overlayFontFamily]: refs$1.fontFamily,
13492
+ [vars$u.overlayCursor]: 'pointer',
13493
+ [vars$u.overlayItemBoxShadow]: 'none',
13494
+ [vars$u.overlayBackground]: refs$1.backgroundColor,
13495
+ [vars$u.overlayTextColor]: refs$1.valueTextColor,
13657
13496
 
13658
13497
  // Overlay direct theme:
13659
- [vars$t.overlay.minHeight]: '400px',
13660
- [vars$t.overlay.margin]: '0',
13498
+ [vars$u.overlay.minHeight]: '400px',
13499
+ [vars$u.overlay.margin]: '0',
13661
13500
  };
13662
13501
 
13663
13502
  var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
13664
13503
  __proto__: null,
13665
13504
  default: multiSelectComboBox,
13666
13505
  multiSelectComboBox: multiSelectComboBox,
13667
- vars: vars$t
13506
+ vars: vars$u
13668
13507
  });
13669
13508
 
13670
- const componentName$v = getComponentName$1('badge');
13509
+ const componentName$w = getComponentName$1('badge');
13671
13510
 
13672
- class RawBadge extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > div' }) {
13511
+ class RawBadge extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > div' }) {
13673
13512
  constructor() {
13674
13513
  super();
13675
13514
 
@@ -13725,65 +13564,65 @@ const BadgeClass = compose$1(
13725
13564
  )(RawBadge);
13726
13565
 
13727
13566
  const globalRefs$k = getThemeRefs(globals$1);
13728
- const vars$s = BadgeClass.cssVarList;
13567
+ const vars$t = BadgeClass.cssVarList;
13729
13568
 
13730
13569
  const badge$2 = {
13731
- [vars$s.hostWidth]: 'fit-content',
13732
- [vars$s.hostDirection]: globalRefs$k.direction,
13570
+ [vars$t.hostWidth]: 'fit-content',
13571
+ [vars$t.hostDirection]: globalRefs$k.direction,
13733
13572
 
13734
- [vars$s.textAlign]: 'center',
13573
+ [vars$t.textAlign]: 'center',
13735
13574
 
13736
- [vars$s.fontFamily]: globalRefs$k.fonts.font1.family,
13737
- [vars$s.fontWeight]: '400',
13575
+ [vars$t.fontFamily]: globalRefs$k.fonts.font1.family,
13576
+ [vars$t.fontWeight]: '400',
13738
13577
 
13739
- [vars$s.verticalPadding]: '0.25em',
13740
- [vars$s.horizontalPadding]: '0.5em',
13578
+ [vars$t.verticalPadding]: '0.25em',
13579
+ [vars$t.horizontalPadding]: '0.5em',
13741
13580
 
13742
- [vars$s.borderWidth]: globalRefs$k.border.xs,
13743
- [vars$s.borderRadius]: globalRefs$k.radius.xs,
13744
- [vars$s.borderColor]: 'transparent',
13745
- [vars$s.borderStyle]: 'solid',
13581
+ [vars$t.borderWidth]: globalRefs$k.border.xs,
13582
+ [vars$t.borderRadius]: globalRefs$k.radius.xs,
13583
+ [vars$t.borderColor]: 'transparent',
13584
+ [vars$t.borderStyle]: 'solid',
13746
13585
 
13747
13586
  _fullWidth: {
13748
- [vars$s.hostWidth]: '100%',
13587
+ [vars$t.hostWidth]: '100%',
13749
13588
  },
13750
13589
 
13751
13590
  size: {
13752
- xs: { [vars$s.fontSize]: '12px' },
13753
- sm: { [vars$s.fontSize]: '14px' },
13754
- md: { [vars$s.fontSize]: '16px' },
13755
- lg: { [vars$s.fontSize]: '18px' },
13591
+ xs: { [vars$t.fontSize]: '12px' },
13592
+ sm: { [vars$t.fontSize]: '14px' },
13593
+ md: { [vars$t.fontSize]: '16px' },
13594
+ lg: { [vars$t.fontSize]: '18px' },
13756
13595
  },
13757
13596
 
13758
13597
  mode: {
13759
13598
  default: {
13760
- [vars$s.textColor]: globalRefs$k.colors.surface.dark,
13599
+ [vars$t.textColor]: globalRefs$k.colors.surface.dark,
13761
13600
  _bordered: {
13762
- [vars$s.borderColor]: globalRefs$k.colors.surface.light,
13601
+ [vars$t.borderColor]: globalRefs$k.colors.surface.light,
13763
13602
  },
13764
13603
  },
13765
13604
  primary: {
13766
- [vars$s.textColor]: globalRefs$k.colors.primary.main,
13605
+ [vars$t.textColor]: globalRefs$k.colors.primary.main,
13767
13606
  _bordered: {
13768
- [vars$s.borderColor]: globalRefs$k.colors.primary.light,
13607
+ [vars$t.borderColor]: globalRefs$k.colors.primary.light,
13769
13608
  },
13770
13609
  },
13771
13610
  secondary: {
13772
- [vars$s.textColor]: globalRefs$k.colors.secondary.main,
13611
+ [vars$t.textColor]: globalRefs$k.colors.secondary.main,
13773
13612
  _bordered: {
13774
- [vars$s.borderColor]: globalRefs$k.colors.secondary.light,
13613
+ [vars$t.borderColor]: globalRefs$k.colors.secondary.light,
13775
13614
  },
13776
13615
  },
13777
13616
  error: {
13778
- [vars$s.textColor]: globalRefs$k.colors.error.main,
13617
+ [vars$t.textColor]: globalRefs$k.colors.error.main,
13779
13618
  _bordered: {
13780
- [vars$s.borderColor]: globalRefs$k.colors.error.light,
13619
+ [vars$t.borderColor]: globalRefs$k.colors.error.light,
13781
13620
  },
13782
13621
  },
13783
13622
  success: {
13784
- [vars$s.textColor]: globalRefs$k.colors.success.main,
13623
+ [vars$t.textColor]: globalRefs$k.colors.success.main,
13785
13624
  _bordered: {
13786
- [vars$s.borderColor]: globalRefs$k.colors.success.light,
13625
+ [vars$t.borderColor]: globalRefs$k.colors.success.light,
13787
13626
  },
13788
13627
  },
13789
13628
  },
@@ -13792,12 +13631,12 @@ const badge$2 = {
13792
13631
  var badge$3 = /*#__PURE__*/Object.freeze({
13793
13632
  __proto__: null,
13794
13633
  default: badge$2,
13795
- vars: vars$s
13634
+ vars: vars$t
13796
13635
  });
13797
13636
 
13798
- const componentName$u = getComponentName('avatar');
13637
+ const componentName$v = getComponentName('avatar');
13799
13638
  class RawAvatar extends createBaseClass$1({
13800
- componentName: componentName$u,
13639
+ componentName: componentName$v,
13801
13640
  baseSelector: ':host > .wrapper',
13802
13641
  }) {
13803
13642
  constructor() {
@@ -13940,21 +13779,21 @@ const avatar = {
13940
13779
  },
13941
13780
  };
13942
13781
 
13943
- const vars$r = {
13782
+ const vars$s = {
13944
13783
  ...compVars$3,
13945
13784
  };
13946
13785
 
13947
13786
  var avatar$1 = /*#__PURE__*/Object.freeze({
13948
13787
  __proto__: null,
13949
13788
  default: avatar,
13950
- vars: vars$r
13789
+ vars: vars$s
13951
13790
  });
13952
13791
 
13953
- const componentName$t = getComponentName$1('mappings-field-internal');
13792
+ const componentName$u = getComponentName$1('mappings-field-internal');
13954
13793
 
13955
- createBaseInputClass({ componentName: componentName$t, baseSelector: 'div' });
13794
+ createBaseInputClass({ componentName: componentName$u, baseSelector: 'div' });
13956
13795
 
13957
- const componentName$s = getComponentName$1('mappings-field');
13796
+ const componentName$t = getComponentName$1('mappings-field');
13958
13797
 
13959
13798
  const customMixin$6 = (superclass) =>
13960
13799
  class MappingsFieldMixinClass extends superclass {
@@ -13983,14 +13822,14 @@ const customMixin$6 = (superclass) =>
13983
13822
  const template = document.createElement('template');
13984
13823
 
13985
13824
  template.innerHTML = `
13986
- <${componentName$t}
13825
+ <${componentName$u}
13987
13826
  tabindex="-1"
13988
- ></${componentName$t}>
13827
+ ></${componentName$u}>
13989
13828
  `;
13990
13829
 
13991
13830
  this.baseElement.appendChild(template.content.cloneNode(true));
13992
13831
 
13993
- this.inputElement = this.shadowRoot.querySelector(componentName$t);
13832
+ this.inputElement = this.shadowRoot.querySelector(componentName$u);
13994
13833
 
13995
13834
  forwardAttrs$1(this, this.inputElement, {
13996
13835
  includeAttrs: [
@@ -14125,47 +13964,47 @@ const MappingsFieldClass = compose$1(
14125
13964
  'options',
14126
13965
  'error-message',
14127
13966
  ],
14128
- componentName: componentName$s,
13967
+ componentName: componentName$t,
14129
13968
  })
14130
13969
  );
14131
13970
 
14132
13971
  const globalRefs$i = getThemeRefs(globals$1);
14133
13972
 
14134
- const vars$q = MappingsFieldClass.cssVarList;
13973
+ const vars$r = MappingsFieldClass.cssVarList;
14135
13974
 
14136
13975
  const mappingsField = {
14137
- [vars$q.hostWidth]: refs$1.width,
14138
- [vars$q.hostDirection]: refs$1.direction,
14139
- [vars$q.fontSize]: refs$1.fontSize,
14140
- [vars$q.fontFamily]: refs$1.fontFamily,
14141
- [vars$q.separatorFontSize]: '14px',
14142
- [vars$q.labelsFontSize]: '14px',
14143
- [vars$q.labelsLineHeight]: '1',
14144
- [vars$q.labelsMarginBottom]: '6px',
14145
- [vars$q.labelTextColor]: refs$1.labelTextColor,
14146
- [vars$q.itemMarginBottom]: '1em',
13976
+ [vars$r.hostWidth]: refs$1.width,
13977
+ [vars$r.hostDirection]: refs$1.direction,
13978
+ [vars$r.fontSize]: refs$1.fontSize,
13979
+ [vars$r.fontFamily]: refs$1.fontFamily,
13980
+ [vars$r.separatorFontSize]: '14px',
13981
+ [vars$r.labelsFontSize]: '14px',
13982
+ [vars$r.labelsLineHeight]: '1',
13983
+ [vars$r.labelsMarginBottom]: '6px',
13984
+ [vars$r.labelTextColor]: refs$1.labelTextColor,
13985
+ [vars$r.itemMarginBottom]: '1em',
14147
13986
  // To be positioned correctly, the min width has to match the text field min width
14148
- [vars$q.valueLabelMinWidth]: refs$1.minWidth,
13987
+ [vars$r.valueLabelMinWidth]: refs$1.minWidth,
14149
13988
  // To be positioned correctly, the min width has to match the combo box field min width
14150
- [vars$q.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$i.border.xs})`,
14151
- [vars$q.separatorWidth]: '70px',
14152
- [vars$q.removeButtonWidth]: '60px',
13989
+ [vars$r.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$i.border.xs})`,
13990
+ [vars$r.separatorWidth]: '70px',
13991
+ [vars$r.removeButtonWidth]: '60px',
14153
13992
  };
14154
13993
 
14155
13994
  var mappingsField$1 = /*#__PURE__*/Object.freeze({
14156
13995
  __proto__: null,
14157
13996
  default: mappingsField,
14158
13997
  mappingsField: mappingsField,
14159
- vars: vars$q
13998
+ vars: vars$r
14160
13999
  });
14161
14000
 
14162
14001
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
14163
14002
 
14164
14003
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
14165
14004
 
14166
- const componentName$r = getComponentName$1('user-attribute');
14005
+ const componentName$s = getComponentName$1('user-attribute');
14167
14006
  class RawUserAttribute extends createBaseClass({
14168
- componentName: componentName$r,
14007
+ componentName: componentName$s,
14169
14008
  baseSelector: ':host > .root',
14170
14009
  }) {
14171
14010
  constructor() {
@@ -14410,31 +14249,31 @@ const UserAttributeClass = compose$1(
14410
14249
  )(RawUserAttribute);
14411
14250
 
14412
14251
  const globalRefs$h = getThemeRefs(globals$1);
14413
- const vars$p = UserAttributeClass.cssVarList;
14252
+ const vars$q = UserAttributeClass.cssVarList;
14414
14253
 
14415
14254
  const userAttribute = {
14416
- [vars$p.hostDirection]: globalRefs$h.direction,
14417
- [vars$p.labelTextWidth]: '150px',
14418
- [vars$p.valueTextWidth]: '200px',
14419
- [vars$p.badgeMaxWidth]: '85px',
14420
- [vars$p.itemsGap]: '16px',
14421
- [vars$p.hostMinWidth]: '530px',
14255
+ [vars$q.hostDirection]: globalRefs$h.direction,
14256
+ [vars$q.labelTextWidth]: '150px',
14257
+ [vars$q.valueTextWidth]: '200px',
14258
+ [vars$q.badgeMaxWidth]: '85px',
14259
+ [vars$q.itemsGap]: '16px',
14260
+ [vars$q.hostMinWidth]: '530px',
14422
14261
  _fullWidth: {
14423
- [vars$p.hostWidth]: '100%',
14262
+ [vars$q.hostWidth]: '100%',
14424
14263
  },
14425
14264
  };
14426
14265
 
14427
14266
  var userAttribute$1 = /*#__PURE__*/Object.freeze({
14428
14267
  __proto__: null,
14429
14268
  default: userAttribute,
14430
- vars: vars$p
14269
+ vars: vars$q
14431
14270
  });
14432
14271
 
14433
14272
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
14434
14273
 
14435
- const componentName$q = getComponentName$1('user-auth-method');
14274
+ const componentName$r = getComponentName$1('user-auth-method');
14436
14275
  class RawUserAuthMethod extends createBaseClass({
14437
- componentName: componentName$q,
14276
+ componentName: componentName$r,
14438
14277
  baseSelector: ':host > .root',
14439
14278
  }) {
14440
14279
  constructor() {
@@ -14630,31 +14469,31 @@ const UserAuthMethodClass = compose$1(
14630
14469
  )(RawUserAuthMethod);
14631
14470
 
14632
14471
  const globalRefs$g = getThemeRefs(globals$1);
14633
- const vars$o = UserAuthMethodClass.cssVarList;
14472
+ const vars$p = UserAuthMethodClass.cssVarList;
14634
14473
 
14635
14474
  const userAuthMethod = {
14636
- [vars$o.hostDirection]: globalRefs$g.direction,
14637
- [vars$o.labelTextWidth]: '200px',
14638
- [vars$o.itemsGap]: '16px',
14639
- [vars$o.hostMinWidth]: '530px',
14640
- [vars$o.iconSize]: '24px',
14641
- [vars$o.iconColor]: 'currentcolor',
14475
+ [vars$p.hostDirection]: globalRefs$g.direction,
14476
+ [vars$p.labelTextWidth]: '200px',
14477
+ [vars$p.itemsGap]: '16px',
14478
+ [vars$p.hostMinWidth]: '530px',
14479
+ [vars$p.iconSize]: '24px',
14480
+ [vars$p.iconColor]: 'currentcolor',
14642
14481
  _fullWidth: {
14643
- [vars$o.hostWidth]: '100%',
14482
+ [vars$p.hostWidth]: '100%',
14644
14483
  },
14645
14484
  };
14646
14485
 
14647
14486
  var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
14648
14487
  __proto__: null,
14649
14488
  default: userAuthMethod,
14650
- vars: vars$o
14489
+ vars: vars$p
14651
14490
  });
14652
14491
 
14653
- const componentName$p = getComponentName$1('saml-group-mappings-internal');
14492
+ const componentName$q = getComponentName$1('saml-group-mappings-internal');
14654
14493
 
14655
- createBaseInputClass({ componentName: componentName$p, baseSelector: '' });
14494
+ createBaseInputClass({ componentName: componentName$q, baseSelector: '' });
14656
14495
 
14657
- const componentName$o = getComponentName$1('saml-group-mappings');
14496
+ const componentName$p = getComponentName$1('saml-group-mappings');
14658
14497
 
14659
14498
  const customMixin$5 = (superclass) =>
14660
14499
  class SamlGroupMappingsMixinClass extends superclass {
@@ -14664,14 +14503,14 @@ const customMixin$5 = (superclass) =>
14664
14503
  const template = document.createElement('template');
14665
14504
 
14666
14505
  template.innerHTML = `
14667
- <${componentName$p}
14506
+ <${componentName$q}
14668
14507
  tabindex="-1"
14669
- ></${componentName$p}>
14508
+ ></${componentName$q}>
14670
14509
  `;
14671
14510
 
14672
14511
  this.baseElement.appendChild(template.content.cloneNode(true));
14673
14512
 
14674
- this.inputElement = this.shadowRoot.querySelector(componentName$p);
14513
+ this.inputElement = this.shadowRoot.querySelector(componentName$q);
14675
14514
 
14676
14515
  forwardAttrs$1(this, this.inputElement, {
14677
14516
  includeAttrs: [
@@ -14755,68 +14594,268 @@ const SamlGroupMappingsClass = compose$1(
14755
14594
  'options',
14756
14595
  'error-message',
14757
14596
  ],
14758
- componentName: componentName$o,
14597
+ componentName: componentName$p,
14759
14598
  })
14760
14599
  );
14761
14600
 
14762
- const vars$n = SamlGroupMappingsClass.cssVarList;
14601
+ const vars$o = SamlGroupMappingsClass.cssVarList;
14763
14602
 
14764
14603
  const samlGroupMappings = {
14765
- [vars$n.hostWidth]: refs$1.width,
14766
- [vars$n.hostDirection]: refs$1.direction,
14767
- [vars$n.groupNameInputMarginBottom]: '1em',
14604
+ [vars$o.hostWidth]: refs$1.width,
14605
+ [vars$o.hostDirection]: refs$1.direction,
14606
+ [vars$o.groupNameInputMarginBottom]: '1em',
14768
14607
 
14769
14608
  // error message icon
14770
- [vars$n.errorMessageIcon]: refs$1.errorMessageIcon,
14771
- [vars$n.errorMessageIconSize]: refs$1.errorMessageIconSize,
14772
- [vars$n.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
14773
- [vars$n.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
14774
- [vars$n.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
14775
- [vars$n.errorMessageFontSize]: refs$1.errorMessageFontSize,
14609
+ [vars$o.errorMessageIcon]: refs$1.errorMessageIcon,
14610
+ [vars$o.errorMessageIconSize]: refs$1.errorMessageIconSize,
14611
+ [vars$o.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
14612
+ [vars$o.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
14613
+ [vars$o.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
14614
+ [vars$o.errorMessageFontSize]: refs$1.errorMessageFontSize,
14776
14615
  };
14777
14616
 
14778
14617
  var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
14779
14618
  __proto__: null,
14780
14619
  default: samlGroupMappings,
14781
14620
  samlGroupMappings: samlGroupMappings,
14782
- vars: vars$n
14621
+ vars: vars$o
14783
14622
  });
14784
14623
 
14785
14624
  const globalRefs$f = getThemeRefs(globals$1);
14786
- const vars$m = PolicyValidationClass.cssVarList;
14625
+ const vars$n = PolicyValidationClass.cssVarList;
14787
14626
 
14788
14627
  const policyValidation = {
14789
- [vars$m.fontFamily]: refs$1.fontFamily,
14790
- [vars$m.fontSize]: refs$1.labelFontSize,
14791
- [vars$m.textColor]: refs$1.labelTextColor,
14792
- [vars$m.borderWidth]: refs$1.borderWidth,
14793
- [vars$m.borderStyle]: refs$1.borderStyle,
14794
- [vars$m.borderColor]: refs$1.borderColor,
14795
- [vars$m.borderRadius]: globalRefs$f.radius.sm,
14796
- [vars$m.backgroundColor]: 'none',
14797
- [vars$m.padding]: '0px',
14798
- [vars$m.labelMargin]: globalRefs$f.spacing.sm,
14799
- [vars$m.itemsSpacing]: globalRefs$f.spacing.lg,
14800
- [vars$m.itemSymbolDefault]: "'\\2022'", // "•"
14801
- [vars$m.itemSymbolSuccess]: "'\\2713'", // "✓"
14802
- [vars$m.itemSymbolError]: "'\\2A09'", // "⨉"
14803
- [vars$m.itemSymbolSuccessColor]: globalRefs$f.colors.success.main,
14804
- [vars$m.itemSymbolErrorColor]: globalRefs$f.colors.error.main,
14628
+ [vars$n.fontFamily]: refs$1.fontFamily,
14629
+ [vars$n.fontSize]: refs$1.labelFontSize,
14630
+ [vars$n.textColor]: refs$1.labelTextColor,
14631
+ [vars$n.borderWidth]: refs$1.borderWidth,
14632
+ [vars$n.borderStyle]: refs$1.borderStyle,
14633
+ [vars$n.borderColor]: refs$1.borderColor,
14634
+ [vars$n.borderRadius]: globalRefs$f.radius.sm,
14635
+ [vars$n.backgroundColor]: 'none',
14636
+ [vars$n.padding]: '0px',
14637
+ [vars$n.labelMargin]: globalRefs$f.spacing.sm,
14638
+ [vars$n.itemsSpacing]: globalRefs$f.spacing.lg,
14639
+ [vars$n.itemSymbolDefault]: "'\\2022'", // "•"
14640
+ [vars$n.itemSymbolSuccess]: "'\\2713'", // "✓"
14641
+ [vars$n.itemSymbolError]: "'\\2A09'", // "⨉"
14642
+ [vars$n.itemSymbolSuccessColor]: globalRefs$f.colors.success.main,
14643
+ [vars$n.itemSymbolErrorColor]: globalRefs$f.colors.error.main,
14805
14644
  };
14806
14645
 
14807
14646
  var policyValidation$1 = /*#__PURE__*/Object.freeze({
14808
14647
  __proto__: null,
14809
14648
  default: policyValidation,
14810
- vars: vars$m
14649
+ vars: vars$n
14811
14650
  });
14812
14651
 
14813
- const vars$l = IconClass.cssVarList;
14652
+ const vars$m = IconClass.cssVarList;
14814
14653
 
14815
14654
  const icon$2 = {};
14816
14655
 
14817
14656
  var icon$3 = /*#__PURE__*/Object.freeze({
14818
14657
  __proto__: null,
14819
14658
  default: icon$2,
14659
+ vars: vars$m
14660
+ });
14661
+
14662
+ const getFileExtension = (path) => {
14663
+ const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
14664
+ return match ? match[1] : null;
14665
+ };
14666
+
14667
+ const base64Prefix = 'data:image/svg+xml;base64,';
14668
+
14669
+ const isBase64Svg = (src) => src.startsWith(base64Prefix);
14670
+
14671
+ const createImgEle = (src, altText) => {
14672
+ const ele = document.createElement('img');
14673
+ ele.setAttribute('src', src);
14674
+ ele.setAttribute('alt', altText);
14675
+ return ele;
14676
+ };
14677
+
14678
+ const createSvgEle = (text) => {
14679
+ // we want to purify the SVG to avoid XSS attacks
14680
+ const clean = DOMPurify.sanitize(text, {
14681
+ USE_PROFILES: { svg: true, svgFilters: true },
14682
+ });
14683
+
14684
+ const parser = new DOMParser();
14685
+ const ele = parser
14686
+ .parseFromString(clean, 'image/svg+xml')
14687
+ .querySelector('svg');
14688
+ return ele;
14689
+ };
14690
+
14691
+ const createImage = async (src, altText) => {
14692
+ try {
14693
+ let ele;
14694
+ if (isBase64Svg(src)) {
14695
+ // handle base64 source
14696
+ const svgXml = atob(src.slice(base64Prefix.length));
14697
+ ele = createSvgEle(svgXml);
14698
+ } else if (getFileExtension(src) === 'svg') {
14699
+ // handle urls
14700
+ const fetchedSrc = await fetch(src);
14701
+ const text = await fetchedSrc.text();
14702
+ ele = createSvgEle(text);
14703
+ } else {
14704
+ // handle binary
14705
+ ele = createImgEle(src, altText);
14706
+ }
14707
+
14708
+ ele.style.setProperty('max-width', '100%');
14709
+ ele.style.setProperty('max-height', '100%');
14710
+
14711
+ return ele;
14712
+ } catch {
14713
+ return null;
14714
+ }
14715
+ };
14716
+
14717
+ /* eslint-disable no-use-before-define */
14718
+
14719
+ const componentName$o = getComponentName('image');
14720
+
14721
+ const srcAttrs = ['src', 'src-dark'];
14722
+
14723
+ class RawImage extends createBaseClass$1({
14724
+ componentName: componentName$o,
14725
+ baseSelector: 'slot',
14726
+ }) {
14727
+ static get observedAttributes() {
14728
+ return srcAttrs;
14729
+ }
14730
+
14731
+ constructor() {
14732
+ super();
14733
+
14734
+ this.attachShadow({ mode: 'open' }).innerHTML = `
14735
+ <slot></slot>
14736
+ `;
14737
+
14738
+ injectStyle(
14739
+ `
14740
+ :host {
14741
+ display: inline-flex;
14742
+ }
14743
+ :host > slot {
14744
+ width: 100%;
14745
+ height: 100%;
14746
+ box-sizing: border-box;
14747
+ display: flex;
14748
+ overflow: hidden;
14749
+ }
14750
+
14751
+ ::slotted(*) {
14752
+ width: 100%;
14753
+ }
14754
+
14755
+ .hidden {
14756
+ display: none;
14757
+ }
14758
+ `,
14759
+ this,
14760
+ );
14761
+ }
14762
+
14763
+ init() {
14764
+ super.init?.();
14765
+ this.toggleVisibility(this.src);
14766
+ }
14767
+
14768
+ onThemeChange() {
14769
+ this.renderImage();
14770
+ }
14771
+
14772
+ toggleVisibility(isVisible) {
14773
+ if (isVisible) {
14774
+ this.classList.remove('hidden');
14775
+ } else {
14776
+ this.classList.add('hidden');
14777
+ }
14778
+ }
14779
+
14780
+ get altText() {
14781
+ return this.getAttribute('alt') || '';
14782
+ }
14783
+
14784
+ get legacySrc() {
14785
+ return this.getAttribute('src');
14786
+ }
14787
+
14788
+ get themeSrc() {
14789
+ return this.getAttribute(`src-${this.currentThemeName}`);
14790
+ }
14791
+
14792
+ get src() {
14793
+ return this.themeSrc || this.legacySrc;
14794
+ }
14795
+
14796
+ // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
14797
+ // with the value from the `st-fill` attribute
14798
+ // eslint-disable-next-line class-methods-use-this
14799
+ updateFillColor(node) {
14800
+ // set fill to root node and all its relevant selectors
14801
+ const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
14802
+
14803
+ elementsToReplace.forEach((ele) => {
14804
+ ele.setAttribute(
14805
+ 'fill',
14806
+ `var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
14807
+ );
14808
+ });
14809
+ }
14810
+
14811
+ renderImage() {
14812
+ this.toggleVisibility(this.src);
14813
+
14814
+ createImage(this.src, this.altText).then((res) => {
14815
+ this.innerHTML = '';
14816
+ if (res) {
14817
+ this.updateFillColor(res);
14818
+ this.appendChild(res);
14819
+ }
14820
+ });
14821
+ }
14822
+
14823
+ // render only when src attribute matches current theme
14824
+ shouldRender(src) {
14825
+ const srcVal = this.getAttribute(src);
14826
+ return this.src === srcVal;
14827
+ }
14828
+
14829
+ attributeChangedCallback(attrName, oldValue, newValue) {
14830
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
14831
+
14832
+ if (oldValue === newValue) return;
14833
+
14834
+ if (this.shouldRender(attrName)) {
14835
+ this.renderImage();
14836
+ }
14837
+ }
14838
+ }
14839
+
14840
+ const ImageClass = compose(
14841
+ createStyleMixin$1({
14842
+ mappings: {
14843
+ fill: {},
14844
+ height: { selector: () => ':host' },
14845
+ width: { selector: () => ':host' },
14846
+ },
14847
+ }),
14848
+ draggableMixin$1,
14849
+ componentNameValidationMixin$1,
14850
+ )(RawImage);
14851
+
14852
+ const vars$l = ImageClass.cssVarList;
14853
+
14854
+ const image = {};
14855
+
14856
+ var image$1 = /*#__PURE__*/Object.freeze({
14857
+ __proto__: null,
14858
+ default: image,
14820
14859
  vars: vars$l
14821
14860
  });
14822
14861
 
@@ -20074,7 +20113,7 @@ class RawTimer extends BaseClass$2 {
20074
20113
 
20075
20114
  this.attachShadow({ mode: 'open' }).innerHTML = `
20076
20115
  <div class="wrapper">
20077
- <descope-icon src=${clockIcon} class="icon"></descope-icon>
20116
+ <descope-icon src="${clockIcon}" class="icon"></descope-icon>
20078
20117
  <div class="timer"></div>
20079
20118
  </div>
20080
20119
  `;
@@ -20174,7 +20213,7 @@ class RawTimer extends BaseClass$2 {
20174
20213
  }
20175
20214
 
20176
20215
  #toggleIcon(val) {
20177
- this.icon.classList.toggle('hidden', val === 'true');
20216
+ this.icon.classList.toggle('hidden', val);
20178
20217
  }
20179
20218
 
20180
20219
  #handlePause(paused) {
@@ -20198,7 +20237,7 @@ class RawTimer extends BaseClass$2 {
20198
20237
  this.reset();
20199
20238
  }
20200
20239
  if (attrName === 'hide-icon') {
20201
- this.#toggleIcon(newValue);
20240
+ this.#toggleIcon(newValue === 'true');
20202
20241
  }
20203
20242
  if (attrName === 'paused') {
20204
20243
  this.#handlePause(newValue === 'true');
@@ -20643,7 +20682,10 @@ var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQ
20643
20682
 
20644
20683
  const componentName$2 = getComponentName('collapsible-container');
20645
20684
 
20646
- class RawCollapsibleContainer extends createBaseClass$1({ componentName: componentName$2, baseSelector: 'slot' }) {
20685
+ class RawCollapsibleContainer extends createBaseClass$1({
20686
+ componentName: componentName$2,
20687
+ baseSelector: 'slot',
20688
+ }) {
20647
20689
  static get observedAttributes() {
20648
20690
  return ['collapsed', 'collapsible', 'text'];
20649
20691
  }
@@ -20655,7 +20697,9 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20655
20697
  <div class="wrapper">
20656
20698
  <descope-text st-host-direction="ltr">
20657
20699
  <div class="header">
20658
- <descope-icon st-align-items="center" st-fill="currentcolor" src=${chevronIcon}></descope-icon>
20700
+ <div class="icon">
20701
+ <descope-icon st-fill="currentcolor" src=${chevronIcon}></descope-icon>
20702
+ </div>
20659
20703
  <span></span>
20660
20704
  </div>
20661
20705
  </descope-text>
@@ -20670,7 +20714,6 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20670
20714
  div.content {
20671
20715
  transition-property: max-height;
20672
20716
  overflow: auto;
20673
- transition-property: max-height;
20674
20717
  height: auto;
20675
20718
  }
20676
20719
  slot {
@@ -20689,11 +20732,15 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20689
20732
  display: flex;
20690
20733
  align-items: baseline;
20691
20734
  }
20692
- descope-icon {
20693
- transition-property: transform;
20735
+ .icon {
20694
20736
  flex-shrink: 0;
20695
20737
  height: var(${TextClass.cssVarList.textLineHeight});
20696
20738
  min-height: 24px;
20739
+ display: flex;
20740
+ align-items: center;
20741
+ }
20742
+ descope-icon {
20743
+ transition-property: transform;
20697
20744
  }
20698
20745
  .rotate {
20699
20746
  transform: rotate(-180deg);
@@ -20716,7 +20763,7 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20716
20763
  flex-direction: column;
20717
20764
  }
20718
20765
  `,
20719
- this
20766
+ this,
20720
20767
  );
20721
20768
 
20722
20769
  this.header = this.shadowRoot.querySelector('.header');
@@ -20727,7 +20774,7 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20727
20774
  }
20728
20775
 
20729
20776
  get isCollapsible() {
20730
- return this.getAttribute('collapsible') === 'true'
20777
+ return this.getAttribute('collapsible') === 'true';
20731
20778
  }
20732
20779
 
20733
20780
  calcContentHeight() {
@@ -20778,7 +20825,7 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20778
20825
  });
20779
20826
  forwardAttrs(this, this.textComponent, {
20780
20827
  includeAttrs: ['text-align', 'text-variant', 'text-mode'],
20781
- mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' }
20828
+ mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' },
20782
20829
  });
20783
20830
  }
20784
20831
 
@@ -20790,7 +20837,7 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20790
20837
  attributeChangedCallback(name, oldValue, newValue) {
20791
20838
  if (name === 'text') {
20792
20839
  this.updateHeaderText();
20793
- return
20840
+ return;
20794
20841
  }
20795
20842
  const collapsed = this.isCollapsed && this.isCollapsible;
20796
20843
  if (collapsed) {
@@ -20804,6 +20851,7 @@ class RawCollapsibleContainer extends createBaseClass$1({ componentName: compone
20804
20851
  const selectors = {
20805
20852
  host: () => ':host',
20806
20853
  icon: () => 'descope-icon',
20854
+ iconWrapper: () => '.icon',
20807
20855
  header: () => '.header',
20808
20856
  text: () => 'span',
20809
20857
  wrapper: () => '.wrapper',
@@ -20815,8 +20863,14 @@ const CollapsibleContainerClass = compose(
20815
20863
  mappings: {
20816
20864
  hostWidth: { selector: selectors.host, property: 'width' },
20817
20865
  hostDirection: { selector: selectors.host, property: 'direction' },
20818
- verticalPadding: [{ selector: selectors.wrapper, property: 'padding-top' }, { selector: selectors.wrapper, property: 'padding-bottom' }],
20819
- horizontalPadding: [{ selector: selectors.wrapper, property: 'padding-left' }, { selector: selectors.wrapper, property: 'padding-right' }],
20866
+ verticalPadding: [
20867
+ { selector: selectors.wrapper, property: 'padding-top' },
20868
+ { selector: selectors.wrapper, property: 'padding-bottom' },
20869
+ ],
20870
+ horizontalPadding: [
20871
+ { selector: selectors.wrapper, property: 'padding-left' },
20872
+ { selector: selectors.wrapper, property: 'padding-right' },
20873
+ ],
20820
20874
 
20821
20875
  flexDirection: {},
20822
20876
  justifyContent: {},
@@ -20837,17 +20891,23 @@ const CollapsibleContainerClass = compose(
20837
20891
 
20838
20892
  boxShadow: { selector: selectors.wrapper },
20839
20893
 
20840
- headerIconOrder: { selector: selectors.icon, property: 'order' },
20894
+ headerIconOrder: { selector: selectors.iconWrapper, property: 'order' },
20841
20895
  headerCursor: { selector: selectors.header, property: 'cursor' },
20842
20896
  headerGap: { selector: selectors.header, property: 'gap' },
20843
20897
  textGrow: { selector: selectors.text, property: 'flex-grow' },
20844
20898
  textDirection: { selector: selectors.text, property: 'direction' },
20845
- iconAnimationDuration: { selector: selectors.icon, property: 'transition-duration' },
20846
- contentAnimationDuration: { selector: selectors.content, property: 'transition-duration' },
20899
+ iconAnimationDuration: {
20900
+ selector: selectors.icon,
20901
+ property: 'transition-duration',
20902
+ },
20903
+ contentAnimationDuration: {
20904
+ selector: selectors.content,
20905
+ property: 'transition-duration',
20906
+ },
20847
20907
  },
20848
20908
  }),
20849
20909
  draggableMixin$1,
20850
- componentNameValidationMixin$1
20910
+ componentNameValidationMixin$1,
20851
20911
  )(RawCollapsibleContainer);
20852
20912
 
20853
20913
  const globalRefs = getThemeRefs$1(globals);
@@ -20990,7 +21050,6 @@ const components = {
20990
21050
  loaderRadial: loaderRadial$1,
20991
21051
  loaderLinear: loaderLinear$1,
20992
21052
  comboBox: comboBox$1,
20993
- image: image$1,
20994
21053
  phoneField: phoneField$1,
20995
21054
  phoneInputBoxField: phoneInputBoxField$1,
20996
21055
  newPassword: newPassword$1,
@@ -21010,6 +21069,7 @@ const components = {
21010
21069
  userAuthMethod: userAuthMethod$1,
21011
21070
  samlGroupMappings: samlGroupMappings$1,
21012
21071
  policyValidation: policyValidation$1,
21072
+ image: image$1,
21013
21073
  icon: icon$3,
21014
21074
  codeSnippet,
21015
21075
  radioGroup: radioGroup$1,