@descope/web-components-ui 1.109.0 → 1.110.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 (37) hide show
  1. package/dist/cjs/index.cjs.js +330 -330
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +393 -393
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/DescopeDev.js +1 -1
  6. package/dist/umd/DescopeDev.js.map +1 -1
  7. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +3 -3
  8. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
  9. package/dist/umd/descope-button.js +4 -4
  10. package/dist/umd/descope-button.js.map +1 -1
  11. package/dist/umd/descope-collapsible-container.js +1 -1
  12. package/dist/umd/descope-collapsible-container.js.map +1 -1
  13. package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
  14. package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
  15. package/dist/umd/descope-icon.js +1 -1
  16. package/dist/umd/descope-icon.js.map +1 -1
  17. package/dist/umd/descope-image.js +1 -1
  18. package/dist/umd/descope-image.js.map +1 -1
  19. package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
  20. package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -1
  21. package/dist/umd/descope-timer-button.js +2 -2
  22. package/dist/umd/descope-timer-button.js.map +1 -1
  23. package/dist/umd/descope-timer.js +1 -1
  24. package/dist/umd/descope-timer.js.map +1 -1
  25. package/dist/umd/descope-upload-file-index-js.js +3 -3
  26. package/dist/umd/descope-upload-file-index-js.js.map +1 -1
  27. package/dist/umd/descope-user-attribute-index-js.js +4 -4
  28. package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
  29. package/dist/umd/descope-user-auth-method-index-js.js +2 -2
  30. package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
  31. package/dist/umd/index.js +1 -1
  32. package/dist/umd/index.js.map +1 -1
  33. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  34. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
  35. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  36. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
  37. package/package.json +6 -6
package/dist/index.esm.js CHANGED
@@ -5,6 +5,7 @@ import 'element-internals-polyfill';
5
5
  import '@vaadin/checkbox';
6
6
  import '@vaadin/text-field';
7
7
  import '@vaadin/combo-box';
8
+ import DOMPurify from 'dompurify';
8
9
  import '@vaadin/button';
9
10
  import '@vaadin/popover/src/vaadin-popover';
10
11
  import '@vaadin/icons';
@@ -24,7 +25,6 @@ import '@vaadin/notification';
24
25
  import '@vaadin/custom-field';
25
26
  import '@vaadin/radio-group';
26
27
  import '@vaadin/avatar';
27
- import DOMPurify from 'dompurify';
28
28
  import MarkdownIt from 'markdown-it';
29
29
  import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core';
30
30
  import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common';
@@ -5190,12 +5190,206 @@ const ComboBoxClass = compose(
5190
5190
 
5191
5191
  customElements.define(componentName$1b, ComboBoxClass);
5192
5192
 
5193
- const componentName$1a = getComponentName('icon');
5193
+ const getFileExtension = (path) => {
5194
+ const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
5195
+ return match ? match[1] : null;
5196
+ };
5194
5197
 
5195
- const IconClass = compose(
5198
+ const base64Prefix = 'data:image/svg+xml;base64,';
5199
+
5200
+ const isBase64Svg = (src) => src.startsWith(base64Prefix);
5201
+
5202
+ const createImgEle = (src, altText) => {
5203
+ const ele = document.createElement('img');
5204
+ ele.setAttribute('src', src);
5205
+ ele.setAttribute('alt', altText);
5206
+ return ele;
5207
+ };
5208
+
5209
+ const createSvgEle = (text) => {
5210
+ // we want to purify the SVG to avoid XSS attacks
5211
+ const clean = DOMPurify.sanitize(text, {
5212
+ USE_PROFILES: { svg: true, svgFilters: true },
5213
+ // allow image to render
5214
+ ADD_TAGS: ['image'],
5215
+ // forbid interactiviy via `use` tags (which are sanitized by default)
5216
+ FORBID_TAGS: ['defs']
5217
+ });
5218
+
5219
+ const parser = new DOMParser();
5220
+ const ele = parser
5221
+ .parseFromString(clean, 'image/svg+xml')
5222
+ .querySelector('svg');
5223
+ return ele;
5224
+ };
5225
+
5226
+ const createImage = async (src, altText) => {
5227
+ try {
5228
+ let ele;
5229
+ if (isBase64Svg(src)) {
5230
+ // handle base64 source
5231
+ const svgXml = atob(src.slice(base64Prefix.length));
5232
+ ele = createSvgEle(svgXml);
5233
+ } else if (getFileExtension(src) === 'svg') {
5234
+ // handle urls
5235
+ const fetchedSrc = await fetch(src);
5236
+ const text = await fetchedSrc.text();
5237
+ ele = createSvgEle(text);
5238
+ } else {
5239
+ // handle binary
5240
+ ele = createImgEle(src, altText);
5241
+ }
5242
+
5243
+ ele.style.setProperty('max-width', '100%');
5244
+ ele.style.setProperty('max-height', '100%');
5245
+
5246
+ return ele;
5247
+ } catch {
5248
+ return null;
5249
+ }
5250
+ };
5251
+
5252
+ /* eslint-disable no-use-before-define */
5253
+
5254
+ const componentName$1a = getComponentName('image');
5255
+
5256
+ const srcAttrs = ['src', 'src-dark'];
5257
+
5258
+ class RawImage extends createBaseClass({
5259
+ componentName: componentName$1a,
5260
+ baseSelector: 'slot',
5261
+ }) {
5262
+ static get observedAttributes() {
5263
+ return srcAttrs;
5264
+ }
5265
+
5266
+ constructor() {
5267
+ super();
5268
+
5269
+ this.attachShadow({ mode: 'open' }).innerHTML = `
5270
+ <slot></slot>
5271
+ `;
5272
+
5273
+ injectStyle(
5274
+ `
5275
+ :host {
5276
+ display: inline-flex;
5277
+ }
5278
+ :host > slot {
5279
+ width: 100%;
5280
+ height: 100%;
5281
+ box-sizing: border-box;
5282
+ display: flex;
5283
+ overflow: hidden;
5284
+ }
5285
+
5286
+ ::slotted(*) {
5287
+ width: 100%;
5288
+ }
5289
+
5290
+ .hidden {
5291
+ display: none;
5292
+ }
5293
+ `,
5294
+ this,
5295
+ );
5296
+ }
5297
+
5298
+ init() {
5299
+ super.init?.();
5300
+ this.toggleVisibility(this.src);
5301
+ }
5302
+
5303
+ onThemeChange() {
5304
+ this.renderImage();
5305
+ }
5306
+
5307
+ toggleVisibility(isVisible) {
5308
+ if (isVisible) {
5309
+ this.classList.remove('hidden');
5310
+ } else {
5311
+ this.classList.add('hidden');
5312
+ }
5313
+ }
5314
+
5315
+ get altText() {
5316
+ return this.getAttribute('alt') || '';
5317
+ }
5318
+
5319
+ get legacySrc() {
5320
+ return this.getAttribute('src');
5321
+ }
5322
+
5323
+ get themeSrc() {
5324
+ return this.getAttribute(`src-${this.currentThemeName}`);
5325
+ }
5326
+
5327
+ get src() {
5328
+ return this.themeSrc || this.legacySrc;
5329
+ }
5330
+
5331
+ // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
5332
+ // with the value from the `st-fill` attribute
5333
+ // eslint-disable-next-line class-methods-use-this
5334
+ updateFillColor(node) {
5335
+ // set fill to root node and all its relevant selectors
5336
+ const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
5337
+
5338
+ elementsToReplace.forEach((ele) => {
5339
+ ele.setAttribute(
5340
+ 'fill',
5341
+ `var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
5342
+ );
5343
+ });
5344
+ }
5345
+
5346
+ renderImage() {
5347
+ this.toggleVisibility(this.src);
5348
+
5349
+ createImage(this.src, this.altText).then((res) => {
5350
+ this.innerHTML = '';
5351
+ if (res) {
5352
+ this.updateFillColor(res);
5353
+ this.appendChild(res);
5354
+ }
5355
+ });
5356
+ }
5357
+
5358
+ // render only when src attribute matches current theme
5359
+ shouldRender(src) {
5360
+ const srcVal = this.getAttribute(src);
5361
+ return this.src === srcVal;
5362
+ }
5363
+
5364
+ attributeChangedCallback(attrName, oldValue, newValue) {
5365
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
5366
+
5367
+ if (oldValue === newValue) return;
5368
+
5369
+ if (this.shouldRender(attrName)) {
5370
+ this.renderImage();
5371
+ }
5372
+ }
5373
+ }
5374
+
5375
+ const ImageClass = compose(
5196
5376
  createStyleMixin({
5197
5377
  mappings: {
5198
5378
  fill: {},
5379
+ height: { selector: () => ':host' },
5380
+ width: { selector: () => ':host' },
5381
+ },
5382
+ }),
5383
+ draggableMixin,
5384
+ componentNameValidationMixin,
5385
+ )(RawImage);
5386
+
5387
+ const componentName$19 = getComponentName('icon');
5388
+
5389
+ const IconClass = compose(
5390
+ createStyleMixin({
5391
+ mappings: {
5392
+ fill: [{}, { property: ImageClass.cssVarList.fill }],
5199
5393
  },
5200
5394
  }),
5201
5395
  draggableMixin,
@@ -5210,7 +5404,7 @@ const IconClass = compose(
5210
5404
  }
5211
5405
  `,
5212
5406
  excludeAttrsSync: ['tabindex', 'class'],
5213
- componentName: componentName$1a,
5407
+ componentName: componentName$19,
5214
5408
  }),
5215
5409
  );
5216
5410
 
@@ -5225,7 +5419,7 @@ const clickableMixin = (superclass) =>
5225
5419
  }
5226
5420
  };
5227
5421
 
5228
- const componentName$19 = getComponentName('button');
5422
+ const componentName$18 = getComponentName('button');
5229
5423
 
5230
5424
  const resetStyles = `
5231
5425
  :host {
@@ -5301,9 +5495,9 @@ const ButtonClass = compose(
5301
5495
 
5302
5496
  labelTextColor: { property: 'color' },
5303
5497
  iconColor: {
5304
- selector: () => `::slotted(*)`,
5305
- property: IconClass.cssVarList.fill,
5306
- },
5498
+ selector: () => `::slotted(*)`,
5499
+ property: IconClass.cssVarList.fill
5500
+ },
5307
5501
  labelTextDecoration: { ...label$9, property: 'text-decoration' },
5308
5502
  labelSpacing: { ...label$9, property: 'gap' },
5309
5503
  textAlign: { ...label$9, property: 'justify-content', fallback: 'center' },
@@ -5341,7 +5535,7 @@ const ButtonClass = compose(
5341
5535
  }
5342
5536
  `,
5343
5537
  excludeAttrsSync: ['tabindex'],
5344
- componentName: componentName$19,
5538
+ componentName: componentName$18,
5345
5539
  })
5346
5540
  );
5347
5541
 
@@ -5378,7 +5572,7 @@ loadingIndicatorStyles = `
5378
5572
  }
5379
5573
  `;
5380
5574
 
5381
- customElements.define(componentName$19, ButtonClass);
5575
+ customElements.define(componentName$18, ButtonClass);
5382
5576
 
5383
5577
  const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
5384
5578
 
@@ -5721,7 +5915,7 @@ const nextMonth = (timestamp) => {
5721
5915
  return date;
5722
5916
  };
5723
5917
 
5724
- const componentName$18 = getComponentName$1('calendar');
5918
+ const componentName$17 = getComponentName$1('calendar');
5725
5919
 
5726
5920
  const observedAttrs$5 = [
5727
5921
  'initial-value',
@@ -5738,7 +5932,7 @@ const observedAttrs$5 = [
5738
5932
 
5739
5933
  const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
5740
5934
 
5741
- const BaseInputClass$c = createBaseInputClass$1({ componentName: componentName$18, baseSelector: 'div' });
5935
+ const BaseInputClass$c = createBaseInputClass$1({ componentName: componentName$17, baseSelector: 'div' });
5742
5936
 
5743
5937
  class RawCalendar extends BaseInputClass$c {
5744
5938
  static get observedAttributes() {
@@ -6359,7 +6553,7 @@ const CalendarClass = compose$1(
6359
6553
  componentNameValidationMixin$1
6360
6554
  )(RawCalendar);
6361
6555
 
6362
- customElements.define(componentName$18, CalendarClass);
6556
+ customElements.define(componentName$17, CalendarClass);
6363
6557
 
6364
6558
  const {
6365
6559
  host: host$o,
@@ -6514,7 +6708,7 @@ var textFieldMappings = {
6514
6708
  inputIconColor: { ...inputIcon, property: 'color' },
6515
6709
  };
6516
6710
 
6517
- const componentName$17 = getComponentName$1('text-field');
6711
+ const componentName$16 = getComponentName$1('text-field');
6518
6712
 
6519
6713
  const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
6520
6714
 
@@ -6636,11 +6830,11 @@ const TextFieldClass = compose$1(
6636
6830
  }
6637
6831
  `,
6638
6832
  excludeAttrsSync: ['tabindex', 'style'],
6639
- componentName: componentName$17,
6833
+ componentName: componentName$16,
6640
6834
  })
6641
6835
  );
6642
6836
 
6643
- customElements.define(componentName$17, TextFieldClass);
6837
+ customElements.define(componentName$16, TextFieldClass);
6644
6838
 
6645
6839
  // DateCounterClass allows us to add several counters to the input, and use them seperately.
6646
6840
  // For examele, we have a DayCounter, MonthCounter and YearCounter, which can each separately navigate
@@ -6760,12 +6954,12 @@ class DateCounter {
6760
6954
  }
6761
6955
  }
6762
6956
 
6763
- const componentName$16 = getComponentName$1('date-field');
6957
+ const componentName$15 = getComponentName$1('date-field');
6764
6958
 
6765
6959
  // we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
6766
6960
  // be able to process this component's overlay. The whole process needs refactoring as soon as possible.
6767
6961
  const BASE_SELECTOR = 'vaadin-popover';
6768
- const BaseInputClass$b = createBaseInputClass$1({ componentName: componentName$16, baseSelector: BASE_SELECTOR });
6962
+ const BaseInputClass$b = createBaseInputClass$1({ componentName: componentName$15, baseSelector: BASE_SELECTOR });
6769
6963
 
6770
6964
  const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly', 'disable-calendar'];
6771
6965
  const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
@@ -7648,12 +7842,12 @@ const DateFieldClass = compose$1(
7648
7842
  componentNameValidationMixin$1
7649
7843
  )(RawDateFieldClass);
7650
7844
 
7651
- customElements.define(componentName$16, DateFieldClass);
7845
+ customElements.define(componentName$15, DateFieldClass);
7652
7846
 
7653
- const componentName$15 = getComponentName('text');
7847
+ const componentName$14 = getComponentName('text');
7654
7848
 
7655
7849
  class RawText extends createBaseClass({
7656
- componentName: componentName$15,
7850
+ componentName: componentName$14,
7657
7851
  baseSelector: ':host > slot',
7658
7852
  }) {
7659
7853
  constructor() {
@@ -7715,8 +7909,8 @@ const TextClass = compose(
7715
7909
  componentNameValidationMixin,
7716
7910
  )(RawText);
7717
7911
 
7718
- const componentName$14 = getComponentName$1('divider');
7719
- class RawDivider extends createBaseClass$1({ componentName: componentName$14, baseSelector: ':host > div' }) {
7912
+ const componentName$13 = getComponentName$1('divider');
7913
+ class RawDivider extends createBaseClass$1({ componentName: componentName$13, baseSelector: ':host > div' }) {
7720
7914
  constructor() {
7721
7915
  super();
7722
7916
 
@@ -7819,11 +8013,11 @@ const DividerClass = compose$1(
7819
8013
  componentNameValidationMixin$1
7820
8014
  )(RawDivider);
7821
8015
 
7822
- customElements.define(componentName$15, TextClass);
8016
+ customElements.define(componentName$14, TextClass);
7823
8017
 
7824
- customElements.define(componentName$14, DividerClass);
8018
+ customElements.define(componentName$13, DividerClass);
7825
8019
 
7826
- const componentName$13 = getComponentName$1('email-field');
8020
+ const componentName$12 = getComponentName$1('email-field');
7827
8021
 
7828
8022
  const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
7829
8023
  const defaultAutocomplete = 'username';
@@ -7892,11 +8086,11 @@ const EmailFieldClass = compose$1(
7892
8086
  }
7893
8087
  `,
7894
8088
  excludeAttrsSync: ['tabindex'],
7895
- componentName: componentName$13,
8089
+ componentName: componentName$12,
7896
8090
  })
7897
8091
  );
7898
8092
 
7899
- customElements.define(componentName$13, EmailFieldClass);
8093
+ customElements.define(componentName$12, EmailFieldClass);
7900
8094
 
7901
8095
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
7902
8096
  let style;
@@ -7952,37 +8146,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
7952
8146
  return CssVarImageClass;
7953
8147
  };
7954
8148
 
7955
- const componentName$12 = getComponentName$1('logo');
8149
+ const componentName$11 = getComponentName$1('logo');
7956
8150
 
7957
8151
  const LogoClass = createCssVarImageClass({
7958
- componentName: componentName$12,
8152
+ componentName: componentName$11,
7959
8153
  varName: 'url',
7960
8154
  fallbackVarName: 'fallbackUrl',
7961
8155
  });
7962
8156
 
7963
- customElements.define(componentName$12, LogoClass);
8157
+ customElements.define(componentName$11, LogoClass);
7964
8158
 
7965
- const componentName$11 = getComponentName$1('totp-image');
8159
+ const componentName$10 = getComponentName$1('totp-image');
7966
8160
 
7967
8161
  const TotpImageClass = createCssVarImageClass({
7968
- componentName: componentName$11,
8162
+ componentName: componentName$10,
7969
8163
  varName: 'url',
7970
8164
  fallbackVarName: 'fallbackUrl',
7971
8165
  });
7972
8166
 
7973
- customElements.define(componentName$11, TotpImageClass);
8167
+ customElements.define(componentName$10, TotpImageClass);
7974
8168
 
7975
- const componentName$10 = getComponentName$1('notp-image');
8169
+ const componentName$$ = getComponentName$1('notp-image');
7976
8170
 
7977
8171
  const NotpImageClass = createCssVarImageClass({
7978
- componentName: componentName$10,
8172
+ componentName: componentName$$,
7979
8173
  varName: 'url',
7980
8174
  fallbackVarName: 'fallbackUrl',
7981
8175
  });
7982
8176
 
7983
- customElements.define(componentName$10, NotpImageClass);
8177
+ customElements.define(componentName$$, NotpImageClass);
7984
8178
 
7985
- const componentName$$ = getComponentName$1('number-field');
8179
+ const componentName$_ = getComponentName$1('number-field');
7986
8180
 
7987
8181
  const NumberFieldClass = compose$1(
7988
8182
  createStyleMixin$1({
@@ -8016,11 +8210,11 @@ const NumberFieldClass = compose$1(
8016
8210
  }
8017
8211
  `,
8018
8212
  excludeAttrsSync: ['tabindex'],
8019
- componentName: componentName$$,
8213
+ componentName: componentName$_,
8020
8214
  })
8021
8215
  );
8022
8216
 
8023
- customElements.define(componentName$$, NumberFieldClass);
8217
+ customElements.define(componentName$_, NumberFieldClass);
8024
8218
 
8025
8219
  const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
8026
8220
  const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
@@ -8047,7 +8241,7 @@ const toggleMaskVisibility = (input, value) => {
8047
8241
 
8048
8242
  /* eslint-disable no-param-reassign */
8049
8243
 
8050
- const componentName$_ = getComponentName$1('passcode-internal');
8244
+ const componentName$Z = getComponentName$1('passcode-internal');
8051
8245
 
8052
8246
  const observedAttributes$6 = ['digits', 'loading'];
8053
8247
 
@@ -8060,7 +8254,7 @@ const forwardAttributes = [
8060
8254
  'aria-labelledby',
8061
8255
  ];
8062
8256
 
8063
- const BaseInputClass$a = createBaseInputClass$1({ componentName: componentName$_, baseSelector: 'div' });
8257
+ const BaseInputClass$a = createBaseInputClass$1({ componentName: componentName$Z, baseSelector: 'div' });
8064
8258
 
8065
8259
  class PasscodeInternal extends BaseInputClass$a {
8066
8260
  static get observedAttributes() {
@@ -8274,7 +8468,7 @@ class PasscodeInternal extends BaseInputClass$a {
8274
8468
  }
8275
8469
  }
8276
8470
 
8277
- const componentName$Z = getComponentName$1('passcode');
8471
+ const componentName$Y = getComponentName$1('passcode');
8278
8472
 
8279
8473
  const observedAttributes$5 = ['digits'];
8280
8474
 
@@ -8319,18 +8513,18 @@ const customMixin$c = (superclass) =>
8319
8513
  const template = document.createElement('template');
8320
8514
 
8321
8515
  template.innerHTML = `
8322
- <${componentName$_}
8516
+ <${componentName$Z}
8323
8517
  bordered="true"
8324
8518
  name="code"
8325
8519
  tabindex="-1"
8326
8520
  slot="input"
8327
8521
  role="textbox"
8328
- ><slot></slot></${componentName$_}>
8522
+ ><slot></slot></${componentName$Z}>
8329
8523
  `;
8330
8524
 
8331
8525
  this.baseElement.appendChild(template.content.cloneNode(true));
8332
8526
 
8333
- this.inputElement = this.shadowRoot.querySelector(componentName$_);
8527
+ this.inputElement = this.shadowRoot.querySelector(componentName$Z);
8334
8528
 
8335
8529
  forwardAttrs$1(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
8336
8530
  }
@@ -8489,13 +8683,13 @@ const PasscodeClass = compose$1(
8489
8683
  ${resetInputCursor('vaadin-text-field')}
8490
8684
  `,
8491
8685
  excludeAttrsSync: ['tabindex'],
8492
- componentName: componentName$Z,
8686
+ componentName: componentName$Y,
8493
8687
  })
8494
8688
  );
8495
8689
 
8496
- customElements.define(componentName$_, PasscodeInternal);
8690
+ customElements.define(componentName$Z, PasscodeInternal);
8497
8691
 
8498
- customElements.define(componentName$Z, PasscodeClass);
8692
+ customElements.define(componentName$Y, PasscodeClass);
8499
8693
 
8500
8694
  const passwordDraggableMixin = (superclass) =>
8501
8695
  class PasswordDraggableMixinClass extends superclass {
@@ -8536,7 +8730,7 @@ const passwordDraggableMixin = (superclass) =>
8536
8730
  }
8537
8731
  };
8538
8732
 
8539
- const componentName$Y = getComponentName$1('password');
8733
+ const componentName$X = getComponentName$1('password');
8540
8734
 
8541
8735
  const customMixin$b = (superclass) =>
8542
8736
  class PasswordFieldMixinClass extends superclass {
@@ -8818,13 +9012,13 @@ const PasswordClass = compose$1(
8818
9012
  }
8819
9013
  `,
8820
9014
  excludeAttrsSync: ['tabindex'],
8821
- componentName: componentName$Y,
9015
+ componentName: componentName$X,
8822
9016
  })
8823
9017
  );
8824
9018
 
8825
- customElements.define(componentName$Y, PasswordClass);
9019
+ customElements.define(componentName$X, PasswordClass);
8826
9020
 
8827
- const componentName$X = getComponentName$1('text-area');
9021
+ const componentName$W = getComponentName$1('text-area');
8828
9022
 
8829
9023
  const {
8830
9024
  host: host$j,
@@ -8906,11 +9100,11 @@ const TextAreaClass = compose$1(
8906
9100
  ${resetInputCursor('vaadin-text-area')}
8907
9101
  `,
8908
9102
  excludeAttrsSync: ['tabindex'],
8909
- componentName: componentName$X,
9103
+ componentName: componentName$W,
8910
9104
  })
8911
9105
  );
8912
9106
 
8913
- customElements.define(componentName$X, TextAreaClass);
9107
+ customElements.define(componentName$W, TextAreaClass);
8914
9108
 
8915
9109
  var CountryCodes = [
8916
9110
  // United States should be the first option
@@ -10173,7 +10367,7 @@ const parsePhoneNumber = (val) => {
10173
10367
  return [countryCode, phoneNumber];
10174
10368
  };
10175
10369
 
10176
- const componentName$W = getComponentName$1('phone-field-internal');
10370
+ const componentName$V = getComponentName$1('phone-field-internal');
10177
10371
 
10178
10372
  const commonAttrs$1 = ['disabled', 'size', 'bordered', 'readonly'];
10179
10373
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -10187,7 +10381,7 @@ const mapAttrs$1 = {
10187
10381
 
10188
10382
  const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
10189
10383
 
10190
- const BaseInputClass$9 = createBaseInputClass$1({ componentName: componentName$W, baseSelector: 'div' });
10384
+ const BaseInputClass$9 = createBaseInputClass$1({ componentName: componentName$V, baseSelector: 'div' });
10191
10385
 
10192
10386
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
10193
10387
  static get observedAttributes() {
@@ -10544,12 +10738,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
10544
10738
  }
10545
10739
  };
10546
10740
 
10547
- customElements.define(componentName$W, PhoneFieldInternal$1);
10741
+ customElements.define(componentName$V, PhoneFieldInternal$1);
10548
10742
 
10549
10743
  const textVars$2 = TextFieldClass.cssVarList;
10550
10744
  const comboVars = ComboBoxClass.cssVarList;
10551
10745
 
10552
- const componentName$V = getComponentName$1('phone-field');
10746
+ const componentName$U = getComponentName$1('phone-field');
10553
10747
 
10554
10748
  const customMixin$a = (superclass) =>
10555
10749
  class PhoneFieldMixinClass extends superclass {
@@ -10563,15 +10757,15 @@ const customMixin$a = (superclass) =>
10563
10757
  const template = document.createElement('template');
10564
10758
 
10565
10759
  template.innerHTML = `
10566
- <${componentName$W}
10760
+ <${componentName$V}
10567
10761
  tabindex="-1"
10568
10762
  slot="input"
10569
- ></${componentName$W}>
10763
+ ></${componentName$V}>
10570
10764
  `;
10571
10765
 
10572
10766
  this.baseElement.appendChild(template.content.cloneNode(true));
10573
10767
 
10574
- this.inputElement = this.shadowRoot.querySelector(componentName$W);
10768
+ this.inputElement = this.shadowRoot.querySelector(componentName$V);
10575
10769
 
10576
10770
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
10577
10771
  includeAttrs: [
@@ -10843,11 +11037,11 @@ const PhoneFieldClass = compose$1(
10843
11037
  ${resetInputLabelPosition('vaadin-text-field')}
10844
11038
  `,
10845
11039
  excludeAttrsSync: ['tabindex'],
10846
- componentName: componentName$V,
11040
+ componentName: componentName$U,
10847
11041
  })
10848
11042
  );
10849
11043
 
10850
- customElements.define(componentName$V, PhoneFieldClass);
11044
+ customElements.define(componentName$U, PhoneFieldClass);
10851
11045
 
10852
11046
  const getCountryByCodeId = (countryCode) => {
10853
11047
  return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
@@ -10859,7 +11053,7 @@ const matchingParenthesis = (val) => {
10859
11053
  return openParenMatches?.length === closeParenMatches?.length;
10860
11054
  };
10861
11055
 
10862
- const componentName$U = getComponentName$1('phone-field-internal-input-box');
11056
+ const componentName$T = getComponentName$1('phone-field-internal-input-box');
10863
11057
 
10864
11058
  const observedAttributes$4 = [
10865
11059
  'disabled',
@@ -10875,7 +11069,7 @@ const mapAttrs = {
10875
11069
  'phone-input-placeholder': 'placeholder',
10876
11070
  };
10877
11071
 
10878
- const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$U, baseSelector: 'div' });
11072
+ const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$T, baseSelector: 'div' });
10879
11073
 
10880
11074
  class PhoneFieldInternal extends BaseInputClass$8 {
10881
11075
  static get observedAttributes() {
@@ -11121,11 +11315,11 @@ class PhoneFieldInternal extends BaseInputClass$8 {
11121
11315
  }
11122
11316
  }
11123
11317
 
11124
- customElements.define(componentName$U, PhoneFieldInternal);
11318
+ customElements.define(componentName$T, PhoneFieldInternal);
11125
11319
 
11126
11320
  const textVars$1 = TextFieldClass.cssVarList;
11127
11321
 
11128
- const componentName$T = getComponentName$1('phone-input-box-field');
11322
+ const componentName$S = getComponentName$1('phone-input-box-field');
11129
11323
 
11130
11324
  const customMixin$9 = (superclass) =>
11131
11325
  class PhoneFieldInputBoxMixinClass extends superclass {
@@ -11139,15 +11333,15 @@ const customMixin$9 = (superclass) =>
11139
11333
  const template = document.createElement('template');
11140
11334
 
11141
11335
  template.innerHTML = `
11142
- <${componentName$U}
11336
+ <${componentName$T}
11143
11337
  tabindex="-1"
11144
11338
  slot="input"
11145
- ></${componentName$U}>
11339
+ ></${componentName$T}>
11146
11340
  `;
11147
11341
 
11148
11342
  this.baseElement.appendChild(template.content.cloneNode(true));
11149
11343
 
11150
- this.inputElement = this.shadowRoot.querySelector(componentName$U);
11344
+ this.inputElement = this.shadowRoot.querySelector(componentName$T);
11151
11345
 
11152
11346
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
11153
11347
  includeAttrs: [
@@ -11351,20 +11545,20 @@ const PhoneFieldInputBoxClass = compose$1(
11351
11545
  ${inputFloatingLabelStyle()}
11352
11546
  `,
11353
11547
  excludeAttrsSync: ['tabindex'],
11354
- componentName: componentName$T,
11548
+ componentName: componentName$S,
11355
11549
  })
11356
11550
  );
11357
11551
 
11358
- customElements.define(componentName$T, PhoneFieldInputBoxClass);
11552
+ customElements.define(componentName$S, PhoneFieldInputBoxClass);
11359
11553
 
11360
- const componentName$S = getComponentName$1('new-password-internal');
11554
+ const componentName$R = getComponentName$1('new-password-internal');
11361
11555
 
11362
11556
  const interpolateString = (template, values) =>
11363
11557
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
11364
11558
 
11365
11559
  // eslint-disable-next-line max-classes-per-file
11366
11560
 
11367
- const componentName$R = getComponentName$1('policy-validation');
11561
+ const componentName$Q = getComponentName$1('policy-validation');
11368
11562
 
11369
11563
  const overrideAttrs = [
11370
11564
  'data-password-policy-value-minlength',
@@ -11374,7 +11568,7 @@ const overrideAttrs = [
11374
11568
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
11375
11569
  const policyAttrs = ['label', 'value', ...dataAttrs];
11376
11570
 
11377
- class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$R, baseSelector: ':host > div' }) {
11571
+ class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$Q, baseSelector: ':host > div' }) {
11378
11572
  #availablePolicies;
11379
11573
 
11380
11574
  #activePolicies = [];
@@ -11646,7 +11840,7 @@ const PolicyValidationClass = compose$1(
11646
11840
  componentNameValidationMixin$1
11647
11841
  )(RawPolicyValidation);
11648
11842
 
11649
- const componentName$Q = getComponentName$1('new-password');
11843
+ const componentName$P = getComponentName$1('new-password');
11650
11844
 
11651
11845
  const policyPreviewVars = PolicyValidationClass.cssVarList;
11652
11846
 
@@ -11660,18 +11854,18 @@ const customMixin$8 = (superclass) =>
11660
11854
  const externalInputAttr = this.getAttribute('external-input');
11661
11855
 
11662
11856
  template.innerHTML = `
11663
- <${componentName$S}
11857
+ <${componentName$R}
11664
11858
  name="new-password"
11665
11859
  tabindex="-1"
11666
11860
  slot="input"
11667
11861
  external-input="${externalInputAttr}"
11668
11862
  >
11669
- </${componentName$S}>
11863
+ </${componentName$R}>
11670
11864
  `;
11671
11865
 
11672
11866
  this.baseElement.appendChild(template.content.cloneNode(true));
11673
11867
 
11674
- this.inputElement = this.shadowRoot.querySelector(componentName$S);
11868
+ this.inputElement = this.shadowRoot.querySelector(componentName$R);
11675
11869
 
11676
11870
  if (this.getAttribute('external-input') === 'true') {
11677
11871
  this.initExternalInput();
@@ -11855,11 +12049,11 @@ const NewPasswordClass = compose$1(
11855
12049
  }
11856
12050
  `,
11857
12051
  excludeAttrsSync: ['tabindex'],
11858
- componentName: componentName$Q,
12052
+ componentName: componentName$P,
11859
12053
  })
11860
12054
  );
11861
12055
 
11862
- customElements.define(componentName$R, PolicyValidationClass);
12056
+ customElements.define(componentName$Q, PolicyValidationClass);
11863
12057
 
11864
12058
  const passwordAttrPrefixRegex = /^password-/;
11865
12059
  const confirmAttrPrefixRegex = /^confirm-/;
@@ -11899,7 +12093,7 @@ const inputRelatedAttrs = [].concat(
11899
12093
  policyPanelAttrs
11900
12094
  );
11901
12095
 
11902
- const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$S, baseSelector: 'div' });
12096
+ const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$R, baseSelector: 'div' });
11903
12097
 
11904
12098
  class NewPasswordInternal extends BaseInputClass$7 {
11905
12099
  static get observedAttributes() {
@@ -12145,16 +12339,16 @@ class NewPasswordInternal extends BaseInputClass$7 {
12145
12339
  }
12146
12340
  }
12147
12341
 
12148
- customElements.define(componentName$S, NewPasswordInternal);
12342
+ customElements.define(componentName$R, NewPasswordInternal);
12149
12343
 
12150
- customElements.define(componentName$Q, NewPasswordClass);
12344
+ customElements.define(componentName$P, NewPasswordClass);
12151
12345
 
12152
- const componentName$P = getComponentName$1('recaptcha');
12346
+ const componentName$O = getComponentName$1('recaptcha');
12153
12347
 
12154
12348
  const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise'];
12155
12349
 
12156
12350
  const BaseClass$3 = createBaseClass$1({
12157
- componentName: componentName$P,
12351
+ componentName: componentName$O,
12158
12352
  baseSelector: ':host > div',
12159
12353
  });
12160
12354
  class RawRecaptcha extends BaseClass$3 {
@@ -12379,7 +12573,7 @@ class RawRecaptcha extends BaseClass$3 {
12379
12573
 
12380
12574
  const RecaptchaClass = compose$1(draggableMixin$1)(RawRecaptcha);
12381
12575
 
12382
- customElements.define(componentName$P, RecaptchaClass);
12576
+ customElements.define(componentName$O, RecaptchaClass);
12383
12577
 
12384
12578
  const getFileBase64 = (fileObj) => {
12385
12579
  return new Promise((resolve) => {
@@ -12393,7 +12587,7 @@ const getFilename = (fileObj) => {
12393
12587
  return fileObj.name.replace(/^.*\\/, '');
12394
12588
  };
12395
12589
 
12396
- const componentName$O = getComponentName$1('upload-file');
12590
+ const componentName$N = getComponentName$1('upload-file');
12397
12591
 
12398
12592
  const observedAttributes$2 = [
12399
12593
  'title',
@@ -12408,7 +12602,7 @@ const observedAttributes$2 = [
12408
12602
  'icon',
12409
12603
  ];
12410
12604
 
12411
- const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$O, baseSelector: ':host > div' });
12605
+ const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$N, baseSelector: ':host > div' });
12412
12606
 
12413
12607
  class RawUploadFile extends BaseInputClass$6 {
12414
12608
  static get observedAttributes() {
@@ -12627,7 +12821,7 @@ const UploadFileClass = compose$1(
12627
12821
  componentNameValidationMixin$1
12628
12822
  )(RawUploadFile);
12629
12823
 
12630
- customElements.define(componentName$O, UploadFileClass);
12824
+ customElements.define(componentName$N, UploadFileClass);
12631
12825
 
12632
12826
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
12633
12827
  class BaseButtonSelectionGroupInternalClass extends createBaseInputClass$1({
@@ -12717,10 +12911,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
12717
12911
  return BaseButtonSelectionGroupInternalClass;
12718
12912
  };
12719
12913
 
12720
- const componentName$N = getComponentName$1('button-selection-group-internal');
12914
+ const componentName$M = getComponentName$1('button-selection-group-internal');
12721
12915
 
12722
12916
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
12723
- componentName$N
12917
+ componentName$M
12724
12918
  ) {
12725
12919
  getSelectedNode() {
12726
12920
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -12965,7 +13159,7 @@ const buttonSelectionGroupStyles = `
12965
13159
  ${resetInputCursor('vaadin-text-field')}
12966
13160
  `;
12967
13161
 
12968
- const componentName$M = getComponentName$1('button-selection-group');
13162
+ const componentName$L = getComponentName$1('button-selection-group');
12969
13163
 
12970
13164
  const buttonSelectionGroupMixin = (superclass) =>
12971
13165
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -12974,19 +13168,19 @@ const buttonSelectionGroupMixin = (superclass) =>
12974
13168
  const template = document.createElement('template');
12975
13169
 
12976
13170
  template.innerHTML = `
12977
- <${componentName$N}
13171
+ <${componentName$M}
12978
13172
  name="button-selection-group"
12979
13173
  slot="input"
12980
13174
  tabindex="-1"
12981
13175
  part="internal-component"
12982
13176
  >
12983
13177
  <slot></slot>
12984
- </${componentName$N}>
13178
+ </${componentName$M}>
12985
13179
  `;
12986
13180
 
12987
13181
  this.baseElement.appendChild(template.content.cloneNode(true));
12988
13182
 
12989
- this.inputElement = this.shadowRoot.querySelector(componentName$N);
13183
+ this.inputElement = this.shadowRoot.querySelector(componentName$M);
12990
13184
 
12991
13185
  forwardAttrs$1(this, this.inputElement, {
12992
13186
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -13011,16 +13205,16 @@ const ButtonSelectionGroupClass = compose$1(
13011
13205
  wrappedEleName: 'vaadin-text-field',
13012
13206
  style: () => buttonSelectionGroupStyles,
13013
13207
  excludeAttrsSync: ['tabindex'],
13014
- componentName: componentName$M,
13208
+ componentName: componentName$L,
13015
13209
  })
13016
13210
  );
13017
13211
 
13018
- customElements.define(componentName$N, ButtonSelectionGroupInternalClass);
13212
+ customElements.define(componentName$M, ButtonSelectionGroupInternalClass);
13019
13213
 
13020
- const componentName$L = getComponentName$1('button-selection-group-item');
13214
+ const componentName$K = getComponentName$1('button-selection-group-item');
13021
13215
 
13022
13216
  class RawSelectItem extends createBaseClass$1({
13023
- componentName: componentName$L,
13217
+ componentName: componentName$K,
13024
13218
  baseSelector: ':host > descope-button',
13025
13219
  }) {
13026
13220
  get size() {
@@ -13131,14 +13325,14 @@ const ButtonSelectionGroupItemClass = compose$1(
13131
13325
  componentNameValidationMixin$1
13132
13326
  )(RawSelectItem);
13133
13327
 
13134
- customElements.define(componentName$L, ButtonSelectionGroupItemClass);
13328
+ customElements.define(componentName$K, ButtonSelectionGroupItemClass);
13135
13329
 
13136
- customElements.define(componentName$M, ButtonSelectionGroupClass);
13330
+ customElements.define(componentName$L, ButtonSelectionGroupClass);
13137
13331
 
13138
- const componentName$K = getComponentName$1('button-multi-selection-group-internal');
13332
+ const componentName$J = getComponentName$1('button-multi-selection-group-internal');
13139
13333
 
13140
13334
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
13141
- componentName$K
13335
+ componentName$J
13142
13336
  ) {
13143
13337
  #getSelectedNodes() {
13144
13338
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -13241,7 +13435,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
13241
13435
  }
13242
13436
  }
13243
13437
 
13244
- const componentName$J = getComponentName$1('button-multi-selection-group');
13438
+ const componentName$I = getComponentName$1('button-multi-selection-group');
13245
13439
 
13246
13440
  const buttonMultiSelectionGroupMixin = (superclass) =>
13247
13441
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -13250,19 +13444,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
13250
13444
  const template = document.createElement('template');
13251
13445
 
13252
13446
  template.innerHTML = `
13253
- <${componentName$K}
13447
+ <${componentName$J}
13254
13448
  name="button-selection-group"
13255
13449
  slot="input"
13256
13450
  tabindex="-1"
13257
13451
  part="internal-component"
13258
13452
  >
13259
13453
  <slot></slot>
13260
- </${componentName$K}>
13454
+ </${componentName$J}>
13261
13455
  `;
13262
13456
 
13263
13457
  this.baseElement.appendChild(template.content.cloneNode(true));
13264
13458
 
13265
- this.inputElement = this.shadowRoot.querySelector(componentName$K);
13459
+ this.inputElement = this.shadowRoot.querySelector(componentName$J);
13266
13460
 
13267
13461
  forwardAttrs$1(this, this.inputElement, {
13268
13462
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -13287,13 +13481,13 @@ const ButtonMultiSelectionGroupClass = compose$1(
13287
13481
  wrappedEleName: 'vaadin-text-field',
13288
13482
  style: () => buttonSelectionGroupStyles,
13289
13483
  excludeAttrsSync: ['tabindex'],
13290
- componentName: componentName$J,
13484
+ componentName: componentName$I,
13291
13485
  })
13292
13486
  );
13293
13487
 
13294
- customElements.define(componentName$K, ButtonMultiSelectionGroupInternalClass);
13488
+ customElements.define(componentName$J, ButtonMultiSelectionGroupInternalClass);
13295
13489
 
13296
- customElements.define(componentName$J, ButtonMultiSelectionGroupClass);
13490
+ customElements.define(componentName$I, ButtonMultiSelectionGroupClass);
13297
13491
 
13298
13492
  /* eslint-disable no-param-reassign */
13299
13493
 
@@ -13321,9 +13515,9 @@ class GridTextColumnClass extends GridSortColumn {
13321
13515
  }
13322
13516
  }
13323
13517
 
13324
- const componentName$I = getComponentName$1('grid-text-column');
13518
+ const componentName$H = getComponentName$1('grid-text-column');
13325
13519
 
13326
- customElements.define(componentName$I, GridTextColumnClass);
13520
+ customElements.define(componentName$H, GridTextColumnClass);
13327
13521
 
13328
13522
  /* eslint-disable no-param-reassign */
13329
13523
 
@@ -13358,9 +13552,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
13358
13552
 
13359
13553
  /* eslint-disable no-param-reassign */
13360
13554
 
13361
- const componentName$H = getComponentName$1('grid-custom-column');
13555
+ const componentName$G = getComponentName$1('grid-custom-column');
13362
13556
 
13363
- customElements.define(componentName$H, GridCustomColumnClass);
13557
+ customElements.define(componentName$G, GridCustomColumnClass);
13364
13558
 
13365
13559
  const createCheckboxEle = () => {
13366
13560
  const checkbox = document.createElement('descope-checkbox');
@@ -13419,9 +13613,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
13419
13613
  }
13420
13614
  }
13421
13615
 
13422
- const componentName$G = getComponentName$1('grid-selection-column');
13616
+ const componentName$F = getComponentName$1('grid-selection-column');
13423
13617
 
13424
- customElements.define(componentName$G, GridSelectionColumnClass);
13618
+ customElements.define(componentName$F, GridSelectionColumnClass);
13425
13619
 
13426
13620
  /* eslint-disable no-param-reassign */
13427
13621
 
@@ -13460,9 +13654,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
13460
13654
  }
13461
13655
  }
13462
13656
 
13463
- const componentName$F = getComponentName$1('grid-item-details-column');
13657
+ const componentName$E = getComponentName$1('grid-item-details-column');
13464
13658
 
13465
- customElements.define(componentName$F, GridItemDetailsColumnClass);
13659
+ customElements.define(componentName$E, GridItemDetailsColumnClass);
13466
13660
 
13467
13661
  const decode = (input) => {
13468
13662
  const txt = document.createElement('textarea');
@@ -13474,9 +13668,9 @@ const tpl = (input, inline) => {
13474
13668
  return inline ? input : `<pre>${input}</pre>`;
13475
13669
  };
13476
13670
 
13477
- const componentName$E = getComponentName$1('code-snippet');
13671
+ const componentName$D = getComponentName$1('code-snippet');
13478
13672
 
13479
- let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName: componentName$E, baseSelector: ':host > code' }) {
13673
+ let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName: componentName$D, baseSelector: ':host > code' }) {
13480
13674
  static get observedAttributes() {
13481
13675
  return ['lang', 'inline'];
13482
13676
  }
@@ -13710,7 +13904,7 @@ const CodeSnippetClass = compose$1(
13710
13904
  componentNameValidationMixin$1
13711
13905
  )(CodeSnippet$1);
13712
13906
 
13713
- customElements.define(componentName$E, CodeSnippetClass);
13907
+ customElements.define(componentName$D, CodeSnippetClass);
13714
13908
 
13715
13909
  const isValidDataType = (data) => {
13716
13910
  const isValid = Array.isArray(data);
@@ -13785,7 +13979,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
13785
13979
  `;
13786
13980
  };
13787
13981
 
13788
- const componentName$D = getComponentName$1('grid');
13982
+ const componentName$C = getComponentName$1('grid');
13789
13983
 
13790
13984
  const GridMixin = (superclass) =>
13791
13985
  class GridMixinClass extends superclass {
@@ -14139,13 +14333,13 @@ const GridClass = compose$1(
14139
14333
  /*!css*/
14140
14334
  `,
14141
14335
  excludeAttrsSync: ['columns', 'tabindex', 'style'],
14142
- componentName: componentName$D,
14336
+ componentName: componentName$C,
14143
14337
  })
14144
14338
  );
14145
14339
 
14146
- customElements.define(componentName$D, GridClass);
14340
+ customElements.define(componentName$C, GridClass);
14147
14341
 
14148
- const componentName$C = getComponentName$1('multi-select-combo-box');
14342
+ const componentName$B = getComponentName$1('multi-select-combo-box');
14149
14343
 
14150
14344
  const multiSelectComboBoxMixin = (superclass) =>
14151
14345
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -14798,16 +14992,16 @@ const MultiSelectComboBoxClass = compose$1(
14798
14992
  // Note: we exclude `placeholder` because the vaadin component observes it and
14799
14993
  // tries to override it, causing us to lose the user set placeholder.
14800
14994
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
14801
- componentName: componentName$C,
14995
+ componentName: componentName$B,
14802
14996
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
14803
14997
  })
14804
14998
  );
14805
14999
 
14806
- customElements.define(componentName$C, MultiSelectComboBoxClass);
15000
+ customElements.define(componentName$B, MultiSelectComboBoxClass);
14807
15001
 
14808
- const componentName$B = getComponentName$1('badge');
15002
+ const componentName$A = getComponentName$1('badge');
14809
15003
 
14810
- class RawBadge extends createBaseClass$1({ componentName: componentName$B, baseSelector: ':host > div' }) {
15004
+ class RawBadge extends createBaseClass$1({ componentName: componentName$A, baseSelector: ':host > div' }) {
14811
15005
  constructor() {
14812
15006
  super();
14813
15007
 
@@ -14862,9 +15056,9 @@ const BadgeClass = compose$1(
14862
15056
  componentNameValidationMixin$1
14863
15057
  )(RawBadge);
14864
15058
 
14865
- customElements.define(componentName$B, BadgeClass);
15059
+ customElements.define(componentName$A, BadgeClass);
14866
15060
 
14867
- const componentName$A = getComponentName$1('modal');
15061
+ const componentName$z = getComponentName$1('modal');
14868
15062
 
14869
15063
  const observedAttrs$2 = ['opened'];
14870
15064
 
@@ -14988,11 +15182,11 @@ const ModalClass = compose$1(
14988
15182
  }
14989
15183
  `,
14990
15184
  excludeAttrsSync: ['tabindex', 'opened', 'style'],
14991
- componentName: componentName$A,
15185
+ componentName: componentName$z,
14992
15186
  })
14993
15187
  );
14994
15188
 
14995
- customElements.define(componentName$A, ModalClass);
15189
+ customElements.define(componentName$z, ModalClass);
14996
15190
 
14997
15191
  const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
14998
15192
 
@@ -15003,7 +15197,7 @@ if (!vaadinContainerClass) {
15003
15197
  class NotificationContainerClass extends vaadinContainerClass {}
15004
15198
  customElements.define(getComponentName$1('notification-container'), NotificationContainerClass);
15005
15199
 
15006
- const componentName$z = getComponentName$1('notification-card');
15200
+ const componentName$y = getComponentName$1('notification-card');
15007
15201
 
15008
15202
  const notificationCardMixin = (superclass) =>
15009
15203
  class NotificationCardMixinClass extends superclass {
@@ -15111,13 +15305,13 @@ const NotificationCardClass = compose$1(
15111
15305
  }
15112
15306
  `,
15113
15307
  excludeAttrsSync: ['tabindex'],
15114
- componentName: componentName$z,
15308
+ componentName: componentName$y,
15115
15309
  })
15116
15310
  );
15117
15311
 
15118
- customElements.define(componentName$z, NotificationCardClass);
15312
+ customElements.define(componentName$y, NotificationCardClass);
15119
15313
 
15120
- const componentName$y = getComponentName$1('notification');
15314
+ const componentName$x = getComponentName$1('notification');
15121
15315
 
15122
15316
  const NotificationMixin = (superclass) =>
15123
15317
  class NotificationMixinClass extends superclass {
@@ -15212,15 +15406,15 @@ const NotificationClass = compose$1(
15212
15406
  createProxy$1({
15213
15407
  wrappedEleName: 'vaadin-notification',
15214
15408
  excludeAttrsSync: ['tabindex'],
15215
- componentName: componentName$y,
15409
+ componentName: componentName$x,
15216
15410
  })
15217
15411
  );
15218
15412
 
15219
- customElements.define(componentName$y, NotificationClass);
15413
+ customElements.define(componentName$x, NotificationClass);
15220
15414
 
15221
- const componentName$x = getComponentName$1('mappings-field-internal');
15415
+ const componentName$w = getComponentName$1('mappings-field-internal');
15222
15416
 
15223
- const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$x, baseSelector: 'div' });
15417
+ const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$w, baseSelector: 'div' });
15224
15418
 
15225
15419
  class MappingsFieldInternal extends BaseInputClass$5 {
15226
15420
  #errorItem;
@@ -15467,7 +15661,7 @@ class MappingsFieldInternal extends BaseInputClass$5 {
15467
15661
  }
15468
15662
  }
15469
15663
 
15470
- const componentName$w = getComponentName$1('mappings-field');
15664
+ const componentName$v = getComponentName$1('mappings-field');
15471
15665
 
15472
15666
  const customMixin$6 = (superclass) =>
15473
15667
  class MappingsFieldMixinClass extends superclass {
@@ -15496,14 +15690,14 @@ const customMixin$6 = (superclass) =>
15496
15690
  const template = document.createElement('template');
15497
15691
 
15498
15692
  template.innerHTML = `
15499
- <${componentName$x}
15693
+ <${componentName$w}
15500
15694
  tabindex="-1"
15501
- ></${componentName$x}>
15695
+ ></${componentName$w}>
15502
15696
  `;
15503
15697
 
15504
15698
  this.baseElement.appendChild(template.content.cloneNode(true));
15505
15699
 
15506
- this.inputElement = this.shadowRoot.querySelector(componentName$x);
15700
+ this.inputElement = this.shadowRoot.querySelector(componentName$w);
15507
15701
 
15508
15702
  forwardAttrs$1(this, this.inputElement, {
15509
15703
  includeAttrs: [
@@ -15638,13 +15832,13 @@ const MappingsFieldClass = compose$1(
15638
15832
  'options',
15639
15833
  'error-message',
15640
15834
  ],
15641
- componentName: componentName$w,
15835
+ componentName: componentName$v,
15642
15836
  })
15643
15837
  );
15644
15838
 
15645
- customElements.define(componentName$x, MappingsFieldInternal);
15839
+ customElements.define(componentName$w, MappingsFieldInternal);
15646
15840
 
15647
- const componentName$v = getComponentName$1('mapping-item');
15841
+ const componentName$u = getComponentName$1('mapping-item');
15648
15842
 
15649
15843
  const inputAttrs = [
15650
15844
  'size',
@@ -15657,7 +15851,7 @@ const inputAttrs = [
15657
15851
  'st-error-message-icon-padding',
15658
15852
  ];
15659
15853
 
15660
- const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$v, baseSelector: 'div' });
15854
+ const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$u, baseSelector: 'div' });
15661
15855
 
15662
15856
  class MappingItem extends BaseInputClass$4 {
15663
15857
  static get observedAttributes() {
@@ -15812,17 +16006,17 @@ class MappingItem extends BaseInputClass$4 {
15812
16006
  }
15813
16007
  }
15814
16008
 
15815
- customElements.define(componentName$v, MappingItem);
16009
+ customElements.define(componentName$u, MappingItem);
15816
16010
 
15817
- customElements.define(componentName$w, MappingsFieldClass);
16011
+ customElements.define(componentName$v, MappingsFieldClass);
15818
16012
 
15819
16013
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
15820
16014
 
15821
16015
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
15822
16016
 
15823
- const componentName$u = getComponentName$1('user-attribute');
16017
+ const componentName$t = getComponentName$1('user-attribute');
15824
16018
  class RawUserAttribute extends createBaseClass$1({
15825
- componentName: componentName$u,
16019
+ componentName: componentName$t,
15826
16020
  baseSelector: ':host > .root',
15827
16021
  }) {
15828
16022
  constructor() {
@@ -16066,13 +16260,13 @@ const UserAttributeClass = compose$1(
16066
16260
  componentNameValidationMixin$1
16067
16261
  )(RawUserAttribute);
16068
16262
 
16069
- customElements.define(componentName$u, UserAttributeClass);
16263
+ customElements.define(componentName$t, UserAttributeClass);
16070
16264
 
16071
16265
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
16072
16266
 
16073
- const componentName$t = getComponentName$1('user-auth-method');
16267
+ const componentName$s = getComponentName$1('user-auth-method');
16074
16268
  class RawUserAuthMethod extends createBaseClass$1({
16075
- componentName: componentName$t,
16269
+ componentName: componentName$s,
16076
16270
  baseSelector: ':host > .root',
16077
16271
  }) {
16078
16272
  constructor() {
@@ -16267,11 +16461,11 @@ const UserAuthMethodClass = compose$1(
16267
16461
  componentNameValidationMixin$1
16268
16462
  )(RawUserAuthMethod);
16269
16463
 
16270
- customElements.define(componentName$t, UserAuthMethodClass);
16464
+ customElements.define(componentName$s, UserAuthMethodClass);
16271
16465
 
16272
- const componentName$s = getComponentName$1('saml-group-mappings-internal');
16466
+ const componentName$r = getComponentName$1('saml-group-mappings-internal');
16273
16467
 
16274
- const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$s, baseSelector: '' });
16468
+ const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$r, baseSelector: '' });
16275
16469
 
16276
16470
  class SamlGroupMappingsInternal extends BaseInputClass$3 {
16277
16471
  static get observedAttributes() {
@@ -16397,7 +16591,7 @@ class SamlGroupMappingsInternal extends BaseInputClass$3 {
16397
16591
  }
16398
16592
  }
16399
16593
 
16400
- const componentName$r = getComponentName$1('saml-group-mappings');
16594
+ const componentName$q = getComponentName$1('saml-group-mappings');
16401
16595
 
16402
16596
  const customMixin$5 = (superclass) =>
16403
16597
  class SamlGroupMappingsMixinClass extends superclass {
@@ -16407,14 +16601,14 @@ const customMixin$5 = (superclass) =>
16407
16601
  const template = document.createElement('template');
16408
16602
 
16409
16603
  template.innerHTML = `
16410
- <${componentName$s}
16604
+ <${componentName$r}
16411
16605
  tabindex="-1"
16412
- ></${componentName$s}>
16606
+ ></${componentName$r}>
16413
16607
  `;
16414
16608
 
16415
16609
  this.baseElement.appendChild(template.content.cloneNode(true));
16416
16610
 
16417
- this.inputElement = this.shadowRoot.querySelector(componentName$s);
16611
+ this.inputElement = this.shadowRoot.querySelector(componentName$r);
16418
16612
 
16419
16613
  forwardAttrs$1(this, this.inputElement, {
16420
16614
  includeAttrs: [
@@ -16498,15 +16692,15 @@ const SamlGroupMappingsClass = compose$1(
16498
16692
  'options',
16499
16693
  'error-message',
16500
16694
  ],
16501
- componentName: componentName$r,
16695
+ componentName: componentName$q,
16502
16696
  })
16503
16697
  );
16504
16698
 
16505
- customElements.define(componentName$s, SamlGroupMappingsInternal);
16699
+ customElements.define(componentName$r, SamlGroupMappingsInternal);
16506
16700
 
16507
- customElements.define(componentName$r, SamlGroupMappingsClass);
16701
+ customElements.define(componentName$q, SamlGroupMappingsClass);
16508
16702
 
16509
- const componentName$q = getComponentName$1('radio-button');
16703
+ const componentName$p = getComponentName$1('radio-button');
16510
16704
 
16511
16705
  const customMixin$4 = (superclass) =>
16512
16706
  class CustomMixin extends superclass {
@@ -16571,11 +16765,11 @@ const RadioButtonClass = compose$1(
16571
16765
  wrappedEleName: 'vaadin-radio-button',
16572
16766
  excludeAttrsSync: ['tabindex', 'data'],
16573
16767
  includeForwardProps: ['checked', 'name', 'disabled'],
16574
- componentName: componentName$q,
16768
+ componentName: componentName$p,
16575
16769
  })
16576
16770
  );
16577
16771
 
16578
- const componentName$p = getComponentName$1('radio-group');
16772
+ const componentName$o = getComponentName$1('radio-group');
16579
16773
 
16580
16774
  const RadioGroupMixin = (superclass) =>
16581
16775
  class RadioGroupMixinClass extends superclass {
@@ -16590,12 +16784,12 @@ const RadioGroupMixin = (superclass) =>
16590
16784
 
16591
16785
  // we are overriding vaadin children getter so it will run on our custom elements
16592
16786
  Object.defineProperty(this.baseElement, 'children', {
16593
- get: () => this.querySelectorAll(componentName$q),
16787
+ get: () => this.querySelectorAll(componentName$p),
16594
16788
  });
16595
16789
 
16596
16790
  // we are overriding vaadin __filterRadioButtons so it will run on our custom elements
16597
16791
  this.baseElement.__filterRadioButtons = (nodes) => {
16598
- return nodes.filter((node) => node.localName === componentName$q);
16792
+ return nodes.filter((node) => node.localName === componentName$p);
16599
16793
  };
16600
16794
 
16601
16795
  // vaadin radio group missing some input properties
@@ -16745,13 +16939,13 @@ const RadioGroupClass = compose$1(
16745
16939
  `,
16746
16940
 
16747
16941
  excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
16748
- componentName: componentName$p,
16942
+ componentName: componentName$o,
16749
16943
  includeForwardProps: ['value'],
16750
16944
  })
16751
16945
  );
16752
16946
 
16753
- customElements.define(componentName$p, RadioGroupClass);
16754
- customElements.define(componentName$q, RadioButtonClass);
16947
+ customElements.define(componentName$o, RadioGroupClass);
16948
+ customElements.define(componentName$p, RadioButtonClass);
16755
16949
 
16756
16950
  const activeableMixin = (superclass) =>
16757
16951
  class ActiveableMixinClass extends superclass {
@@ -16768,7 +16962,7 @@ const activeableMixin = (superclass) =>
16768
16962
  }
16769
16963
  };
16770
16964
 
16771
- const componentName$o = getComponentName$1('list-item');
16965
+ const componentName$n = getComponentName$1('list-item');
16772
16966
 
16773
16967
  const customMixin$3 = (superclass) =>
16774
16968
  class ListItemMixinClass extends superclass {
@@ -16818,11 +17012,11 @@ const ListItemClass = compose$1(
16818
17012
  componentNameValidationMixin$1,
16819
17013
  customMixin$3,
16820
17014
  activeableMixin
16821
- )(createBaseClass$1({ componentName: componentName$o, baseSelector: 'slot' }));
17015
+ )(createBaseClass$1({ componentName: componentName$n, baseSelector: 'slot' }));
16822
17016
 
16823
- const componentName$n = getComponentName$1('list');
17017
+ const componentName$m = getComponentName$1('list');
16824
17018
 
16825
- class RawList extends createBaseClass$1({ componentName: componentName$n, baseSelector: '.wrapper' }) {
17019
+ class RawList extends createBaseClass$1({ componentName: componentName$m, baseSelector: '.wrapper' }) {
16826
17020
  static get observedAttributes() {
16827
17021
  return ['variant', 'readonly'];
16828
17022
  }
@@ -16970,12 +17164,12 @@ const ListClass = compose$1(
16970
17164
  componentNameValidationMixin$1
16971
17165
  )(RawList);
16972
17166
 
16973
- customElements.define(componentName$n, ListClass);
16974
- customElements.define(componentName$o, ListItemClass);
17167
+ customElements.define(componentName$m, ListClass);
17168
+ customElements.define(componentName$n, ListItemClass);
16975
17169
 
16976
- const componentName$m = getComponentName('avatar');
17170
+ const componentName$l = getComponentName('avatar');
16977
17171
  class RawAvatar extends createBaseClass({
16978
- componentName: componentName$m,
17172
+ componentName: componentName$l,
16979
17173
  baseSelector: ':host > .wrapper',
16980
17174
  }) {
16981
17175
  constructor() {
@@ -17083,7 +17277,7 @@ const AvatarClass = compose(
17083
17277
  componentNameValidationMixin,
17084
17278
  )(RawAvatar);
17085
17279
 
17086
- customElements.define(componentName$m, AvatarClass);
17280
+ customElements.define(componentName$l, AvatarClass);
17087
17281
 
17088
17282
  const defaultValidateSchema = () => true;
17089
17283
  const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
@@ -17184,7 +17378,7 @@ const createDynamicDataMixin =
17184
17378
  }
17185
17379
  };
17186
17380
 
17187
- const componentName$l = getComponentName$1('apps-list');
17381
+ const componentName$k = getComponentName$1('apps-list');
17188
17382
 
17189
17383
  const limitAbbreviation = (str, limit = 2) =>
17190
17384
  str
@@ -17246,7 +17440,7 @@ const AppsListClass = compose$1(
17246
17440
  slots: ['empty-state'],
17247
17441
  wrappedEleName: 'descope-list',
17248
17442
  excludeAttrsSync: ['tabindex', 'class', 'empty'],
17249
- componentName: componentName$l,
17443
+ componentName: componentName$k,
17250
17444
  style: () => `
17251
17445
  :host {
17252
17446
  width: 100%;
@@ -17271,9 +17465,9 @@ const AppsListClass = compose$1(
17271
17465
  })
17272
17466
  );
17273
17467
 
17274
- customElements.define(componentName$l, AppsListClass);
17468
+ customElements.define(componentName$k, AppsListClass);
17275
17469
 
17276
- const componentName$k = getComponentName$1('scopes-list');
17470
+ const componentName$j = getComponentName$1('scopes-list');
17277
17471
  const variants = ['checkbox', 'switch'];
17278
17472
 
17279
17473
  const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
@@ -17292,7 +17486,7 @@ const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
17292
17486
  `;
17293
17487
  };
17294
17488
 
17295
- class RawScopesList extends createBaseClass$1({ componentName: componentName$k, baseSelector: 'div' }) {
17489
+ class RawScopesList extends createBaseClass$1({ componentName: componentName$j, baseSelector: 'div' }) {
17296
17490
  constructor() {
17297
17491
  super();
17298
17492
 
@@ -17400,13 +17594,13 @@ const ScopesListClass = compose$1(
17400
17594
  componentNameValidationMixin$1
17401
17595
  )(RawScopesList);
17402
17596
 
17403
- customElements.define(componentName$k, ScopesListClass);
17597
+ customElements.define(componentName$j, ScopesListClass);
17404
17598
 
17405
17599
  var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
17406
17600
 
17407
- const componentName$j = getComponentName$1('third-party-app-logo');
17601
+ const componentName$i = getComponentName$1('third-party-app-logo');
17408
17602
  class RawThirdPartyAppLogoClass extends createBaseClass$1({
17409
- componentName: componentName$j,
17603
+ componentName: componentName$i,
17410
17604
  baseSelector: '.wrapper',
17411
17605
  }) {
17412
17606
  constructor() {
@@ -17503,205 +17697,11 @@ const ThirdPartyAppLogoClass = compose$1(
17503
17697
  componentNameValidationMixin$1
17504
17698
  )(RawThirdPartyAppLogoClass);
17505
17699
 
17506
- const getFileExtension = (path) => {
17507
- const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
17508
- return match ? match[1] : null;
17509
- };
17510
-
17511
- const base64Prefix = 'data:image/svg+xml;base64,';
17512
-
17513
- const isBase64Svg = (src) => src.startsWith(base64Prefix);
17514
-
17515
- const createImgEle = (src, altText) => {
17516
- const ele = document.createElement('img');
17517
- ele.setAttribute('src', src);
17518
- ele.setAttribute('alt', altText);
17519
- return ele;
17520
- };
17521
-
17522
- const createSvgEle = (text) => {
17523
- // we want to purify the SVG to avoid XSS attacks
17524
- const clean = DOMPurify.sanitize(text, {
17525
- USE_PROFILES: { svg: true, svgFilters: true },
17526
- // allow image to render
17527
- ADD_TAGS: ['image'],
17528
- // forbid interactiviy via `use` tags (which are sanitized by default)
17529
- FORBID_TAGS: ['defs']
17530
- });
17531
-
17532
- const parser = new DOMParser();
17533
- const ele = parser
17534
- .parseFromString(clean, 'image/svg+xml')
17535
- .querySelector('svg');
17536
- return ele;
17537
- };
17538
-
17539
- const createImage = async (src, altText) => {
17540
- try {
17541
- let ele;
17542
- if (isBase64Svg(src)) {
17543
- // handle base64 source
17544
- const svgXml = atob(src.slice(base64Prefix.length));
17545
- ele = createSvgEle(svgXml);
17546
- } else if (getFileExtension(src) === 'svg') {
17547
- // handle urls
17548
- const fetchedSrc = await fetch(src);
17549
- const text = await fetchedSrc.text();
17550
- ele = createSvgEle(text);
17551
- } else {
17552
- // handle binary
17553
- ele = createImgEle(src, altText);
17554
- }
17555
-
17556
- ele.style.setProperty('max-width', '100%');
17557
- ele.style.setProperty('max-height', '100%');
17558
-
17559
- return ele;
17560
- } catch {
17561
- return null;
17562
- }
17563
- };
17564
-
17565
- /* eslint-disable no-use-before-define */
17566
-
17567
- const componentName$i = getComponentName('image');
17568
-
17569
- const srcAttrs = ['src', 'src-dark'];
17570
-
17571
- class RawImage extends createBaseClass({
17572
- componentName: componentName$i,
17573
- baseSelector: 'slot',
17574
- }) {
17575
- static get observedAttributes() {
17576
- return srcAttrs;
17577
- }
17578
-
17579
- constructor() {
17580
- super();
17581
-
17582
- this.attachShadow({ mode: 'open' }).innerHTML = `
17583
- <slot></slot>
17584
- `;
17585
-
17586
- injectStyle(
17587
- `
17588
- :host {
17589
- display: inline-flex;
17590
- }
17591
- :host > slot {
17592
- width: 100%;
17593
- height: 100%;
17594
- box-sizing: border-box;
17595
- display: flex;
17596
- overflow: hidden;
17597
- }
17598
-
17599
- ::slotted(*) {
17600
- width: 100%;
17601
- }
17602
-
17603
- .hidden {
17604
- display: none;
17605
- }
17606
- `,
17607
- this,
17608
- );
17609
- }
17610
-
17611
- init() {
17612
- super.init?.();
17613
- this.toggleVisibility(this.src);
17614
- }
17615
-
17616
- onThemeChange() {
17617
- this.renderImage();
17618
- }
17619
-
17620
- toggleVisibility(isVisible) {
17621
- if (isVisible) {
17622
- this.classList.remove('hidden');
17623
- } else {
17624
- this.classList.add('hidden');
17625
- }
17626
- }
17627
-
17628
- get altText() {
17629
- return this.getAttribute('alt') || '';
17630
- }
17631
-
17632
- get legacySrc() {
17633
- return this.getAttribute('src');
17634
- }
17635
-
17636
- get themeSrc() {
17637
- return this.getAttribute(`src-${this.currentThemeName}`);
17638
- }
17639
-
17640
- get src() {
17641
- return this.themeSrc || this.legacySrc;
17642
- }
17643
-
17644
- // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
17645
- // with the value from the `st-fill` attribute
17646
- // eslint-disable-next-line class-methods-use-this
17647
- updateFillColor(node) {
17648
- // set fill to root node and all its relevant selectors
17649
- const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
17650
-
17651
- elementsToReplace.forEach((ele) => {
17652
- ele.setAttribute(
17653
- 'fill',
17654
- `var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
17655
- );
17656
- });
17657
- }
17658
-
17659
- renderImage() {
17660
- this.toggleVisibility(this.src);
17661
-
17662
- createImage(this.src, this.altText).then((res) => {
17663
- this.innerHTML = '';
17664
- if (res) {
17665
- this.updateFillColor(res);
17666
- this.appendChild(res);
17667
- }
17668
- });
17669
- }
17670
-
17671
- // render only when src attribute matches current theme
17672
- shouldRender(src) {
17673
- const srcVal = this.getAttribute(src);
17674
- return this.src === srcVal;
17675
- }
17676
-
17677
- attributeChangedCallback(attrName, oldValue, newValue) {
17678
- super.attributeChangedCallback?.(attrName, oldValue, newValue);
17679
-
17680
- if (oldValue === newValue) return;
17681
-
17682
- if (this.shouldRender(attrName)) {
17683
- this.renderImage();
17684
- }
17685
- }
17686
- }
17687
-
17688
- const ImageClass = compose(
17689
- createStyleMixin({
17690
- mappings: {
17691
- fill: {},
17692
- height: { selector: () => ':host' },
17693
- width: { selector: () => ':host' },
17694
- },
17695
- }),
17696
- draggableMixin,
17697
- componentNameValidationMixin,
17698
- )(RawImage);
17699
-
17700
- customElements.define(componentName$i, ImageClass);
17700
+ customElements.define(componentName$1a, ImageClass);
17701
17701
 
17702
- customElements.define(componentName$1a, IconClass);
17702
+ customElements.define(componentName$19, IconClass);
17703
17703
 
17704
- customElements.define(componentName$j, ThirdPartyAppLogoClass);
17704
+ customElements.define(componentName$i, ThirdPartyAppLogoClass);
17705
17705
 
17706
17706
  const componentName$h = getComponentName$1('security-questions-setup');
17707
17707
 
@@ -19586,7 +19586,7 @@ const mode = {
19586
19586
  surface: globalRefs$G.colors.surface,
19587
19587
  };
19588
19588
 
19589
- const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$19);
19589
+ const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$18);
19590
19590
 
19591
19591
  const button = {
19592
19592
  ...helperTheme$5,
@@ -20581,7 +20581,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
20581
20581
  thickness: '2px',
20582
20582
  spacing: '10px',
20583
20583
  },
20584
- componentName$14
20584
+ componentName$13
20585
20585
  );
20586
20586
 
20587
20587
  const divider = {
@@ -22120,7 +22120,7 @@ const compVars$2 = ListClass.cssVarList;
22120
22120
 
22121
22121
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
22122
22122
  { shadowColor: '#00000020' },
22123
- componentName$n
22123
+ componentName$m
22124
22124
  );
22125
22125
 
22126
22126
  const { shadowColor: shadowColor$1 } = helperRefs$1;