@descope/web-components-ui 1.108.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 (78) hide show
  1. package/dist/cjs/index.cjs.js +330 -336
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +393 -399
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/2739.js +1 -1
  6. package/dist/umd/2739.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/boolean-fields-descope-checkbox-index-js.js +1 -1
  10. package/dist/umd/boolean-fields-descope-checkbox-index-js.js.map +1 -1
  11. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  12. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -1
  13. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  14. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
  15. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  16. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
  17. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +3 -3
  18. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
  19. package/dist/umd/descope-button.js +4 -4
  20. package/dist/umd/descope-button.js.map +1 -1
  21. package/dist/umd/descope-collapsible-container.js +1 -1
  22. package/dist/umd/descope-collapsible-container.js.map +1 -1
  23. package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
  24. package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
  25. package/dist/umd/descope-email-field-index-js.js +1 -1
  26. package/dist/umd/descope-email-field-index-js.js.map +1 -1
  27. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
  28. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js.map +1 -1
  29. package/dist/umd/descope-grid-index-js.js +1 -1
  30. package/dist/umd/descope-grid-index-js.js.map +1 -1
  31. package/dist/umd/descope-icon.js +1 -1
  32. package/dist/umd/descope-icon.js.map +1 -1
  33. package/dist/umd/descope-image.js +1 -1
  34. package/dist/umd/descope-image.js.map +1 -1
  35. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
  36. package/dist/umd/descope-multi-select-combo-box-index-js.js.map +1 -1
  37. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  38. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
  39. package/dist/umd/descope-new-password-index-js.js +1 -1
  40. package/dist/umd/descope-new-password-index-js.js.map +1 -1
  41. package/dist/umd/descope-number-field-index-js.js +1 -1
  42. package/dist/umd/descope-number-field-index-js.js.map +1 -1
  43. package/dist/umd/descope-passcode-index-js.js +1 -1
  44. package/dist/umd/descope-passcode-index-js.js.map +1 -1
  45. package/dist/umd/descope-password-index-js.js +1 -1
  46. package/dist/umd/descope-password-index-js.js.map +1 -1
  47. package/dist/umd/descope-radio-group-index-js.js +1 -1
  48. package/dist/umd/descope-radio-group-index-js.js.map +1 -1
  49. package/dist/umd/descope-scopes-list-index-js.js +1 -1
  50. package/dist/umd/descope-scopes-list-index-js.js.map +1 -1
  51. package/dist/umd/descope-security-questions-setup-index-js.js +1 -1
  52. package/dist/umd/descope-security-questions-setup-index-js.js.map +1 -1
  53. package/dist/umd/descope-security-questions-verify-index-js.js +1 -1
  54. package/dist/umd/descope-security-questions-verify-index-js.js.map +1 -1
  55. package/dist/umd/descope-text-area-index-js.js +1 -1
  56. package/dist/umd/descope-text-area-index-js.js.map +1 -1
  57. package/dist/umd/descope-text-field-index-js.js +1 -1
  58. package/dist/umd/descope-text-field-index-js.js.map +1 -1
  59. package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
  60. package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -1
  61. package/dist/umd/descope-timer-button.js +2 -2
  62. package/dist/umd/descope-timer-button.js.map +1 -1
  63. package/dist/umd/descope-timer.js +1 -1
  64. package/dist/umd/descope-timer.js.map +1 -1
  65. package/dist/umd/descope-upload-file-index-js.js +3 -3
  66. package/dist/umd/descope-upload-file-index-js.js.map +1 -1
  67. package/dist/umd/descope-user-attribute-index-js.js +4 -4
  68. package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
  69. package/dist/umd/descope-user-auth-method-index-js.js +2 -2
  70. package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
  71. package/dist/umd/index.js +1 -1
  72. package/dist/umd/index.js.map +1 -1
  73. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  74. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
  75. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  76. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
  77. package/package.json +17 -17
  78. package/src/helpers/themeHelpers/resetHelpers.js +0 -3
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';
@@ -613,9 +613,6 @@ const inputFloatingLabelStyle$1 = () => {
613
613
  :host([label-type="floating"]) {
614
614
  position: relative;
615
615
  }
616
- :host([label-type="floating"][has-label]) [slot="label"] {
617
- padding: 0;
618
- }
619
616
  :host([label-type="floating"][has-label]) > ::part(label) {
620
617
  z-index: 1;
621
618
  padding: 0;
@@ -2551,9 +2548,6 @@ const inputFloatingLabelStyle = () => {
2551
2548
  :host([label-type="floating"]) {
2552
2549
  position: relative;
2553
2550
  }
2554
- :host([label-type="floating"][has-label]) [slot="label"] {
2555
- padding: 0;
2556
- }
2557
2551
  :host([label-type="floating"][has-label]) > ::part(label) {
2558
2552
  z-index: 1;
2559
2553
  padding: 0;
@@ -5196,12 +5190,206 @@ const ComboBoxClass = compose(
5196
5190
 
5197
5191
  customElements.define(componentName$1b, ComboBoxClass);
5198
5192
 
5199
- 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
+ };
5200
5197
 
5201
- 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(
5202
5376
  createStyleMixin({
5203
5377
  mappings: {
5204
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 }],
5205
5393
  },
5206
5394
  }),
5207
5395
  draggableMixin,
@@ -5216,7 +5404,7 @@ const IconClass = compose(
5216
5404
  }
5217
5405
  `,
5218
5406
  excludeAttrsSync: ['tabindex', 'class'],
5219
- componentName: componentName$1a,
5407
+ componentName: componentName$19,
5220
5408
  }),
5221
5409
  );
5222
5410
 
@@ -5231,7 +5419,7 @@ const clickableMixin = (superclass) =>
5231
5419
  }
5232
5420
  };
5233
5421
 
5234
- const componentName$19 = getComponentName('button');
5422
+ const componentName$18 = getComponentName('button');
5235
5423
 
5236
5424
  const resetStyles = `
5237
5425
  :host {
@@ -5307,9 +5495,9 @@ const ButtonClass = compose(
5307
5495
 
5308
5496
  labelTextColor: { property: 'color' },
5309
5497
  iconColor: {
5310
- selector: () => `::slotted(*)`,
5311
- property: IconClass.cssVarList.fill,
5312
- },
5498
+ selector: () => `::slotted(*)`,
5499
+ property: IconClass.cssVarList.fill
5500
+ },
5313
5501
  labelTextDecoration: { ...label$9, property: 'text-decoration' },
5314
5502
  labelSpacing: { ...label$9, property: 'gap' },
5315
5503
  textAlign: { ...label$9, property: 'justify-content', fallback: 'center' },
@@ -5347,7 +5535,7 @@ const ButtonClass = compose(
5347
5535
  }
5348
5536
  `,
5349
5537
  excludeAttrsSync: ['tabindex'],
5350
- componentName: componentName$19,
5538
+ componentName: componentName$18,
5351
5539
  })
5352
5540
  );
5353
5541
 
@@ -5384,7 +5572,7 @@ loadingIndicatorStyles = `
5384
5572
  }
5385
5573
  `;
5386
5574
 
5387
- customElements.define(componentName$19, ButtonClass);
5575
+ customElements.define(componentName$18, ButtonClass);
5388
5576
 
5389
5577
  const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
5390
5578
 
@@ -5727,7 +5915,7 @@ const nextMonth = (timestamp) => {
5727
5915
  return date;
5728
5916
  };
5729
5917
 
5730
- const componentName$18 = getComponentName$1('calendar');
5918
+ const componentName$17 = getComponentName$1('calendar');
5731
5919
 
5732
5920
  const observedAttrs$5 = [
5733
5921
  'initial-value',
@@ -5744,7 +5932,7 @@ const observedAttrs$5 = [
5744
5932
 
5745
5933
  const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
5746
5934
 
5747
- const BaseInputClass$c = createBaseInputClass$1({ componentName: componentName$18, baseSelector: 'div' });
5935
+ const BaseInputClass$c = createBaseInputClass$1({ componentName: componentName$17, baseSelector: 'div' });
5748
5936
 
5749
5937
  class RawCalendar extends BaseInputClass$c {
5750
5938
  static get observedAttributes() {
@@ -6365,7 +6553,7 @@ const CalendarClass = compose$1(
6365
6553
  componentNameValidationMixin$1
6366
6554
  )(RawCalendar);
6367
6555
 
6368
- customElements.define(componentName$18, CalendarClass);
6556
+ customElements.define(componentName$17, CalendarClass);
6369
6557
 
6370
6558
  const {
6371
6559
  host: host$o,
@@ -6520,7 +6708,7 @@ var textFieldMappings = {
6520
6708
  inputIconColor: { ...inputIcon, property: 'color' },
6521
6709
  };
6522
6710
 
6523
- const componentName$17 = getComponentName$1('text-field');
6711
+ const componentName$16 = getComponentName$1('text-field');
6524
6712
 
6525
6713
  const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
6526
6714
 
@@ -6642,11 +6830,11 @@ const TextFieldClass = compose$1(
6642
6830
  }
6643
6831
  `,
6644
6832
  excludeAttrsSync: ['tabindex', 'style'],
6645
- componentName: componentName$17,
6833
+ componentName: componentName$16,
6646
6834
  })
6647
6835
  );
6648
6836
 
6649
- customElements.define(componentName$17, TextFieldClass);
6837
+ customElements.define(componentName$16, TextFieldClass);
6650
6838
 
6651
6839
  // DateCounterClass allows us to add several counters to the input, and use them seperately.
6652
6840
  // For examele, we have a DayCounter, MonthCounter and YearCounter, which can each separately navigate
@@ -6766,12 +6954,12 @@ class DateCounter {
6766
6954
  }
6767
6955
  }
6768
6956
 
6769
- const componentName$16 = getComponentName$1('date-field');
6957
+ const componentName$15 = getComponentName$1('date-field');
6770
6958
 
6771
6959
  // we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
6772
6960
  // be able to process this component's overlay. The whole process needs refactoring as soon as possible.
6773
6961
  const BASE_SELECTOR = 'vaadin-popover';
6774
- const BaseInputClass$b = createBaseInputClass$1({ componentName: componentName$16, baseSelector: BASE_SELECTOR });
6962
+ const BaseInputClass$b = createBaseInputClass$1({ componentName: componentName$15, baseSelector: BASE_SELECTOR });
6775
6963
 
6776
6964
  const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly', 'disable-calendar'];
6777
6965
  const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
@@ -7654,12 +7842,12 @@ const DateFieldClass = compose$1(
7654
7842
  componentNameValidationMixin$1
7655
7843
  )(RawDateFieldClass);
7656
7844
 
7657
- customElements.define(componentName$16, DateFieldClass);
7845
+ customElements.define(componentName$15, DateFieldClass);
7658
7846
 
7659
- const componentName$15 = getComponentName('text');
7847
+ const componentName$14 = getComponentName('text');
7660
7848
 
7661
7849
  class RawText extends createBaseClass({
7662
- componentName: componentName$15,
7850
+ componentName: componentName$14,
7663
7851
  baseSelector: ':host > slot',
7664
7852
  }) {
7665
7853
  constructor() {
@@ -7721,8 +7909,8 @@ const TextClass = compose(
7721
7909
  componentNameValidationMixin,
7722
7910
  )(RawText);
7723
7911
 
7724
- const componentName$14 = getComponentName$1('divider');
7725
- 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' }) {
7726
7914
  constructor() {
7727
7915
  super();
7728
7916
 
@@ -7825,11 +8013,11 @@ const DividerClass = compose$1(
7825
8013
  componentNameValidationMixin$1
7826
8014
  )(RawDivider);
7827
8015
 
7828
- customElements.define(componentName$15, TextClass);
8016
+ customElements.define(componentName$14, TextClass);
7829
8017
 
7830
- customElements.define(componentName$14, DividerClass);
8018
+ customElements.define(componentName$13, DividerClass);
7831
8019
 
7832
- const componentName$13 = getComponentName$1('email-field');
8020
+ const componentName$12 = getComponentName$1('email-field');
7833
8021
 
7834
8022
  const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
7835
8023
  const defaultAutocomplete = 'username';
@@ -7898,11 +8086,11 @@ const EmailFieldClass = compose$1(
7898
8086
  }
7899
8087
  `,
7900
8088
  excludeAttrsSync: ['tabindex'],
7901
- componentName: componentName$13,
8089
+ componentName: componentName$12,
7902
8090
  })
7903
8091
  );
7904
8092
 
7905
- customElements.define(componentName$13, EmailFieldClass);
8093
+ customElements.define(componentName$12, EmailFieldClass);
7906
8094
 
7907
8095
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
7908
8096
  let style;
@@ -7958,37 +8146,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
7958
8146
  return CssVarImageClass;
7959
8147
  };
7960
8148
 
7961
- const componentName$12 = getComponentName$1('logo');
8149
+ const componentName$11 = getComponentName$1('logo');
7962
8150
 
7963
8151
  const LogoClass = createCssVarImageClass({
7964
- componentName: componentName$12,
8152
+ componentName: componentName$11,
7965
8153
  varName: 'url',
7966
8154
  fallbackVarName: 'fallbackUrl',
7967
8155
  });
7968
8156
 
7969
- customElements.define(componentName$12, LogoClass);
8157
+ customElements.define(componentName$11, LogoClass);
7970
8158
 
7971
- const componentName$11 = getComponentName$1('totp-image');
8159
+ const componentName$10 = getComponentName$1('totp-image');
7972
8160
 
7973
8161
  const TotpImageClass = createCssVarImageClass({
7974
- componentName: componentName$11,
8162
+ componentName: componentName$10,
7975
8163
  varName: 'url',
7976
8164
  fallbackVarName: 'fallbackUrl',
7977
8165
  });
7978
8166
 
7979
- customElements.define(componentName$11, TotpImageClass);
8167
+ customElements.define(componentName$10, TotpImageClass);
7980
8168
 
7981
- const componentName$10 = getComponentName$1('notp-image');
8169
+ const componentName$$ = getComponentName$1('notp-image');
7982
8170
 
7983
8171
  const NotpImageClass = createCssVarImageClass({
7984
- componentName: componentName$10,
8172
+ componentName: componentName$$,
7985
8173
  varName: 'url',
7986
8174
  fallbackVarName: 'fallbackUrl',
7987
8175
  });
7988
8176
 
7989
- customElements.define(componentName$10, NotpImageClass);
8177
+ customElements.define(componentName$$, NotpImageClass);
7990
8178
 
7991
- const componentName$$ = getComponentName$1('number-field');
8179
+ const componentName$_ = getComponentName$1('number-field');
7992
8180
 
7993
8181
  const NumberFieldClass = compose$1(
7994
8182
  createStyleMixin$1({
@@ -8022,11 +8210,11 @@ const NumberFieldClass = compose$1(
8022
8210
  }
8023
8211
  `,
8024
8212
  excludeAttrsSync: ['tabindex'],
8025
- componentName: componentName$$,
8213
+ componentName: componentName$_,
8026
8214
  })
8027
8215
  );
8028
8216
 
8029
- customElements.define(componentName$$, NumberFieldClass);
8217
+ customElements.define(componentName$_, NumberFieldClass);
8030
8218
 
8031
8219
  const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
8032
8220
  const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
@@ -8053,7 +8241,7 @@ const toggleMaskVisibility = (input, value) => {
8053
8241
 
8054
8242
  /* eslint-disable no-param-reassign */
8055
8243
 
8056
- const componentName$_ = getComponentName$1('passcode-internal');
8244
+ const componentName$Z = getComponentName$1('passcode-internal');
8057
8245
 
8058
8246
  const observedAttributes$6 = ['digits', 'loading'];
8059
8247
 
@@ -8066,7 +8254,7 @@ const forwardAttributes = [
8066
8254
  'aria-labelledby',
8067
8255
  ];
8068
8256
 
8069
- const BaseInputClass$a = createBaseInputClass$1({ componentName: componentName$_, baseSelector: 'div' });
8257
+ const BaseInputClass$a = createBaseInputClass$1({ componentName: componentName$Z, baseSelector: 'div' });
8070
8258
 
8071
8259
  class PasscodeInternal extends BaseInputClass$a {
8072
8260
  static get observedAttributes() {
@@ -8280,7 +8468,7 @@ class PasscodeInternal extends BaseInputClass$a {
8280
8468
  }
8281
8469
  }
8282
8470
 
8283
- const componentName$Z = getComponentName$1('passcode');
8471
+ const componentName$Y = getComponentName$1('passcode');
8284
8472
 
8285
8473
  const observedAttributes$5 = ['digits'];
8286
8474
 
@@ -8325,18 +8513,18 @@ const customMixin$c = (superclass) =>
8325
8513
  const template = document.createElement('template');
8326
8514
 
8327
8515
  template.innerHTML = `
8328
- <${componentName$_}
8516
+ <${componentName$Z}
8329
8517
  bordered="true"
8330
8518
  name="code"
8331
8519
  tabindex="-1"
8332
8520
  slot="input"
8333
8521
  role="textbox"
8334
- ><slot></slot></${componentName$_}>
8522
+ ><slot></slot></${componentName$Z}>
8335
8523
  `;
8336
8524
 
8337
8525
  this.baseElement.appendChild(template.content.cloneNode(true));
8338
8526
 
8339
- this.inputElement = this.shadowRoot.querySelector(componentName$_);
8527
+ this.inputElement = this.shadowRoot.querySelector(componentName$Z);
8340
8528
 
8341
8529
  forwardAttrs$1(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
8342
8530
  }
@@ -8495,13 +8683,13 @@ const PasscodeClass = compose$1(
8495
8683
  ${resetInputCursor('vaadin-text-field')}
8496
8684
  `,
8497
8685
  excludeAttrsSync: ['tabindex'],
8498
- componentName: componentName$Z,
8686
+ componentName: componentName$Y,
8499
8687
  })
8500
8688
  );
8501
8689
 
8502
- customElements.define(componentName$_, PasscodeInternal);
8690
+ customElements.define(componentName$Z, PasscodeInternal);
8503
8691
 
8504
- customElements.define(componentName$Z, PasscodeClass);
8692
+ customElements.define(componentName$Y, PasscodeClass);
8505
8693
 
8506
8694
  const passwordDraggableMixin = (superclass) =>
8507
8695
  class PasswordDraggableMixinClass extends superclass {
@@ -8542,7 +8730,7 @@ const passwordDraggableMixin = (superclass) =>
8542
8730
  }
8543
8731
  };
8544
8732
 
8545
- const componentName$Y = getComponentName$1('password');
8733
+ const componentName$X = getComponentName$1('password');
8546
8734
 
8547
8735
  const customMixin$b = (superclass) =>
8548
8736
  class PasswordFieldMixinClass extends superclass {
@@ -8824,13 +9012,13 @@ const PasswordClass = compose$1(
8824
9012
  }
8825
9013
  `,
8826
9014
  excludeAttrsSync: ['tabindex'],
8827
- componentName: componentName$Y,
9015
+ componentName: componentName$X,
8828
9016
  })
8829
9017
  );
8830
9018
 
8831
- customElements.define(componentName$Y, PasswordClass);
9019
+ customElements.define(componentName$X, PasswordClass);
8832
9020
 
8833
- const componentName$X = getComponentName$1('text-area');
9021
+ const componentName$W = getComponentName$1('text-area');
8834
9022
 
8835
9023
  const {
8836
9024
  host: host$j,
@@ -8912,11 +9100,11 @@ const TextAreaClass = compose$1(
8912
9100
  ${resetInputCursor('vaadin-text-area')}
8913
9101
  `,
8914
9102
  excludeAttrsSync: ['tabindex'],
8915
- componentName: componentName$X,
9103
+ componentName: componentName$W,
8916
9104
  })
8917
9105
  );
8918
9106
 
8919
- customElements.define(componentName$X, TextAreaClass);
9107
+ customElements.define(componentName$W, TextAreaClass);
8920
9108
 
8921
9109
  var CountryCodes = [
8922
9110
  // United States should be the first option
@@ -10179,7 +10367,7 @@ const parsePhoneNumber = (val) => {
10179
10367
  return [countryCode, phoneNumber];
10180
10368
  };
10181
10369
 
10182
- const componentName$W = getComponentName$1('phone-field-internal');
10370
+ const componentName$V = getComponentName$1('phone-field-internal');
10183
10371
 
10184
10372
  const commonAttrs$1 = ['disabled', 'size', 'bordered', 'readonly'];
10185
10373
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -10193,7 +10381,7 @@ const mapAttrs$1 = {
10193
10381
 
10194
10382
  const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
10195
10383
 
10196
- const BaseInputClass$9 = createBaseInputClass$1({ componentName: componentName$W, baseSelector: 'div' });
10384
+ const BaseInputClass$9 = createBaseInputClass$1({ componentName: componentName$V, baseSelector: 'div' });
10197
10385
 
10198
10386
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
10199
10387
  static get observedAttributes() {
@@ -10550,12 +10738,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
10550
10738
  }
10551
10739
  };
10552
10740
 
10553
- customElements.define(componentName$W, PhoneFieldInternal$1);
10741
+ customElements.define(componentName$V, PhoneFieldInternal$1);
10554
10742
 
10555
10743
  const textVars$2 = TextFieldClass.cssVarList;
10556
10744
  const comboVars = ComboBoxClass.cssVarList;
10557
10745
 
10558
- const componentName$V = getComponentName$1('phone-field');
10746
+ const componentName$U = getComponentName$1('phone-field');
10559
10747
 
10560
10748
  const customMixin$a = (superclass) =>
10561
10749
  class PhoneFieldMixinClass extends superclass {
@@ -10569,15 +10757,15 @@ const customMixin$a = (superclass) =>
10569
10757
  const template = document.createElement('template');
10570
10758
 
10571
10759
  template.innerHTML = `
10572
- <${componentName$W}
10760
+ <${componentName$V}
10573
10761
  tabindex="-1"
10574
10762
  slot="input"
10575
- ></${componentName$W}>
10763
+ ></${componentName$V}>
10576
10764
  `;
10577
10765
 
10578
10766
  this.baseElement.appendChild(template.content.cloneNode(true));
10579
10767
 
10580
- this.inputElement = this.shadowRoot.querySelector(componentName$W);
10768
+ this.inputElement = this.shadowRoot.querySelector(componentName$V);
10581
10769
 
10582
10770
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
10583
10771
  includeAttrs: [
@@ -10849,11 +11037,11 @@ const PhoneFieldClass = compose$1(
10849
11037
  ${resetInputLabelPosition('vaadin-text-field')}
10850
11038
  `,
10851
11039
  excludeAttrsSync: ['tabindex'],
10852
- componentName: componentName$V,
11040
+ componentName: componentName$U,
10853
11041
  })
10854
11042
  );
10855
11043
 
10856
- customElements.define(componentName$V, PhoneFieldClass);
11044
+ customElements.define(componentName$U, PhoneFieldClass);
10857
11045
 
10858
11046
  const getCountryByCodeId = (countryCode) => {
10859
11047
  return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
@@ -10865,7 +11053,7 @@ const matchingParenthesis = (val) => {
10865
11053
  return openParenMatches?.length === closeParenMatches?.length;
10866
11054
  };
10867
11055
 
10868
- const componentName$U = getComponentName$1('phone-field-internal-input-box');
11056
+ const componentName$T = getComponentName$1('phone-field-internal-input-box');
10869
11057
 
10870
11058
  const observedAttributes$4 = [
10871
11059
  'disabled',
@@ -10881,7 +11069,7 @@ const mapAttrs = {
10881
11069
  'phone-input-placeholder': 'placeholder',
10882
11070
  };
10883
11071
 
10884
- const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$U, baseSelector: 'div' });
11072
+ const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$T, baseSelector: 'div' });
10885
11073
 
10886
11074
  class PhoneFieldInternal extends BaseInputClass$8 {
10887
11075
  static get observedAttributes() {
@@ -11127,11 +11315,11 @@ class PhoneFieldInternal extends BaseInputClass$8 {
11127
11315
  }
11128
11316
  }
11129
11317
 
11130
- customElements.define(componentName$U, PhoneFieldInternal);
11318
+ customElements.define(componentName$T, PhoneFieldInternal);
11131
11319
 
11132
11320
  const textVars$1 = TextFieldClass.cssVarList;
11133
11321
 
11134
- const componentName$T = getComponentName$1('phone-input-box-field');
11322
+ const componentName$S = getComponentName$1('phone-input-box-field');
11135
11323
 
11136
11324
  const customMixin$9 = (superclass) =>
11137
11325
  class PhoneFieldInputBoxMixinClass extends superclass {
@@ -11145,15 +11333,15 @@ const customMixin$9 = (superclass) =>
11145
11333
  const template = document.createElement('template');
11146
11334
 
11147
11335
  template.innerHTML = `
11148
- <${componentName$U}
11336
+ <${componentName$T}
11149
11337
  tabindex="-1"
11150
11338
  slot="input"
11151
- ></${componentName$U}>
11339
+ ></${componentName$T}>
11152
11340
  `;
11153
11341
 
11154
11342
  this.baseElement.appendChild(template.content.cloneNode(true));
11155
11343
 
11156
- this.inputElement = this.shadowRoot.querySelector(componentName$U);
11344
+ this.inputElement = this.shadowRoot.querySelector(componentName$T);
11157
11345
 
11158
11346
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
11159
11347
  includeAttrs: [
@@ -11357,20 +11545,20 @@ const PhoneFieldInputBoxClass = compose$1(
11357
11545
  ${inputFloatingLabelStyle()}
11358
11546
  `,
11359
11547
  excludeAttrsSync: ['tabindex'],
11360
- componentName: componentName$T,
11548
+ componentName: componentName$S,
11361
11549
  })
11362
11550
  );
11363
11551
 
11364
- customElements.define(componentName$T, PhoneFieldInputBoxClass);
11552
+ customElements.define(componentName$S, PhoneFieldInputBoxClass);
11365
11553
 
11366
- const componentName$S = getComponentName$1('new-password-internal');
11554
+ const componentName$R = getComponentName$1('new-password-internal');
11367
11555
 
11368
11556
  const interpolateString = (template, values) =>
11369
11557
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
11370
11558
 
11371
11559
  // eslint-disable-next-line max-classes-per-file
11372
11560
 
11373
- const componentName$R = getComponentName$1('policy-validation');
11561
+ const componentName$Q = getComponentName$1('policy-validation');
11374
11562
 
11375
11563
  const overrideAttrs = [
11376
11564
  'data-password-policy-value-minlength',
@@ -11380,7 +11568,7 @@ const overrideAttrs = [
11380
11568
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
11381
11569
  const policyAttrs = ['label', 'value', ...dataAttrs];
11382
11570
 
11383
- class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$R, baseSelector: ':host > div' }) {
11571
+ class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$Q, baseSelector: ':host > div' }) {
11384
11572
  #availablePolicies;
11385
11573
 
11386
11574
  #activePolicies = [];
@@ -11652,7 +11840,7 @@ const PolicyValidationClass = compose$1(
11652
11840
  componentNameValidationMixin$1
11653
11841
  )(RawPolicyValidation);
11654
11842
 
11655
- const componentName$Q = getComponentName$1('new-password');
11843
+ const componentName$P = getComponentName$1('new-password');
11656
11844
 
11657
11845
  const policyPreviewVars = PolicyValidationClass.cssVarList;
11658
11846
 
@@ -11666,18 +11854,18 @@ const customMixin$8 = (superclass) =>
11666
11854
  const externalInputAttr = this.getAttribute('external-input');
11667
11855
 
11668
11856
  template.innerHTML = `
11669
- <${componentName$S}
11857
+ <${componentName$R}
11670
11858
  name="new-password"
11671
11859
  tabindex="-1"
11672
11860
  slot="input"
11673
11861
  external-input="${externalInputAttr}"
11674
11862
  >
11675
- </${componentName$S}>
11863
+ </${componentName$R}>
11676
11864
  `;
11677
11865
 
11678
11866
  this.baseElement.appendChild(template.content.cloneNode(true));
11679
11867
 
11680
- this.inputElement = this.shadowRoot.querySelector(componentName$S);
11868
+ this.inputElement = this.shadowRoot.querySelector(componentName$R);
11681
11869
 
11682
11870
  if (this.getAttribute('external-input') === 'true') {
11683
11871
  this.initExternalInput();
@@ -11861,11 +12049,11 @@ const NewPasswordClass = compose$1(
11861
12049
  }
11862
12050
  `,
11863
12051
  excludeAttrsSync: ['tabindex'],
11864
- componentName: componentName$Q,
12052
+ componentName: componentName$P,
11865
12053
  })
11866
12054
  );
11867
12055
 
11868
- customElements.define(componentName$R, PolicyValidationClass);
12056
+ customElements.define(componentName$Q, PolicyValidationClass);
11869
12057
 
11870
12058
  const passwordAttrPrefixRegex = /^password-/;
11871
12059
  const confirmAttrPrefixRegex = /^confirm-/;
@@ -11905,7 +12093,7 @@ const inputRelatedAttrs = [].concat(
11905
12093
  policyPanelAttrs
11906
12094
  );
11907
12095
 
11908
- const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$S, baseSelector: 'div' });
12096
+ const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$R, baseSelector: 'div' });
11909
12097
 
11910
12098
  class NewPasswordInternal extends BaseInputClass$7 {
11911
12099
  static get observedAttributes() {
@@ -12151,16 +12339,16 @@ class NewPasswordInternal extends BaseInputClass$7 {
12151
12339
  }
12152
12340
  }
12153
12341
 
12154
- customElements.define(componentName$S, NewPasswordInternal);
12342
+ customElements.define(componentName$R, NewPasswordInternal);
12155
12343
 
12156
- customElements.define(componentName$Q, NewPasswordClass);
12344
+ customElements.define(componentName$P, NewPasswordClass);
12157
12345
 
12158
- const componentName$P = getComponentName$1('recaptcha');
12346
+ const componentName$O = getComponentName$1('recaptcha');
12159
12347
 
12160
12348
  const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise'];
12161
12349
 
12162
12350
  const BaseClass$3 = createBaseClass$1({
12163
- componentName: componentName$P,
12351
+ componentName: componentName$O,
12164
12352
  baseSelector: ':host > div',
12165
12353
  });
12166
12354
  class RawRecaptcha extends BaseClass$3 {
@@ -12385,7 +12573,7 @@ class RawRecaptcha extends BaseClass$3 {
12385
12573
 
12386
12574
  const RecaptchaClass = compose$1(draggableMixin$1)(RawRecaptcha);
12387
12575
 
12388
- customElements.define(componentName$P, RecaptchaClass);
12576
+ customElements.define(componentName$O, RecaptchaClass);
12389
12577
 
12390
12578
  const getFileBase64 = (fileObj) => {
12391
12579
  return new Promise((resolve) => {
@@ -12399,7 +12587,7 @@ const getFilename = (fileObj) => {
12399
12587
  return fileObj.name.replace(/^.*\\/, '');
12400
12588
  };
12401
12589
 
12402
- const componentName$O = getComponentName$1('upload-file');
12590
+ const componentName$N = getComponentName$1('upload-file');
12403
12591
 
12404
12592
  const observedAttributes$2 = [
12405
12593
  'title',
@@ -12414,7 +12602,7 @@ const observedAttributes$2 = [
12414
12602
  'icon',
12415
12603
  ];
12416
12604
 
12417
- const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$O, baseSelector: ':host > div' });
12605
+ const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$N, baseSelector: ':host > div' });
12418
12606
 
12419
12607
  class RawUploadFile extends BaseInputClass$6 {
12420
12608
  static get observedAttributes() {
@@ -12633,7 +12821,7 @@ const UploadFileClass = compose$1(
12633
12821
  componentNameValidationMixin$1
12634
12822
  )(RawUploadFile);
12635
12823
 
12636
- customElements.define(componentName$O, UploadFileClass);
12824
+ customElements.define(componentName$N, UploadFileClass);
12637
12825
 
12638
12826
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
12639
12827
  class BaseButtonSelectionGroupInternalClass extends createBaseInputClass$1({
@@ -12723,10 +12911,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
12723
12911
  return BaseButtonSelectionGroupInternalClass;
12724
12912
  };
12725
12913
 
12726
- const componentName$N = getComponentName$1('button-selection-group-internal');
12914
+ const componentName$M = getComponentName$1('button-selection-group-internal');
12727
12915
 
12728
12916
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
12729
- componentName$N
12917
+ componentName$M
12730
12918
  ) {
12731
12919
  getSelectedNode() {
12732
12920
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -12971,7 +13159,7 @@ const buttonSelectionGroupStyles = `
12971
13159
  ${resetInputCursor('vaadin-text-field')}
12972
13160
  `;
12973
13161
 
12974
- const componentName$M = getComponentName$1('button-selection-group');
13162
+ const componentName$L = getComponentName$1('button-selection-group');
12975
13163
 
12976
13164
  const buttonSelectionGroupMixin = (superclass) =>
12977
13165
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -12980,19 +13168,19 @@ const buttonSelectionGroupMixin = (superclass) =>
12980
13168
  const template = document.createElement('template');
12981
13169
 
12982
13170
  template.innerHTML = `
12983
- <${componentName$N}
13171
+ <${componentName$M}
12984
13172
  name="button-selection-group"
12985
13173
  slot="input"
12986
13174
  tabindex="-1"
12987
13175
  part="internal-component"
12988
13176
  >
12989
13177
  <slot></slot>
12990
- </${componentName$N}>
13178
+ </${componentName$M}>
12991
13179
  `;
12992
13180
 
12993
13181
  this.baseElement.appendChild(template.content.cloneNode(true));
12994
13182
 
12995
- this.inputElement = this.shadowRoot.querySelector(componentName$N);
13183
+ this.inputElement = this.shadowRoot.querySelector(componentName$M);
12996
13184
 
12997
13185
  forwardAttrs$1(this, this.inputElement, {
12998
13186
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -13017,16 +13205,16 @@ const ButtonSelectionGroupClass = compose$1(
13017
13205
  wrappedEleName: 'vaadin-text-field',
13018
13206
  style: () => buttonSelectionGroupStyles,
13019
13207
  excludeAttrsSync: ['tabindex'],
13020
- componentName: componentName$M,
13208
+ componentName: componentName$L,
13021
13209
  })
13022
13210
  );
13023
13211
 
13024
- customElements.define(componentName$N, ButtonSelectionGroupInternalClass);
13212
+ customElements.define(componentName$M, ButtonSelectionGroupInternalClass);
13025
13213
 
13026
- const componentName$L = getComponentName$1('button-selection-group-item');
13214
+ const componentName$K = getComponentName$1('button-selection-group-item');
13027
13215
 
13028
13216
  class RawSelectItem extends createBaseClass$1({
13029
- componentName: componentName$L,
13217
+ componentName: componentName$K,
13030
13218
  baseSelector: ':host > descope-button',
13031
13219
  }) {
13032
13220
  get size() {
@@ -13137,14 +13325,14 @@ const ButtonSelectionGroupItemClass = compose$1(
13137
13325
  componentNameValidationMixin$1
13138
13326
  )(RawSelectItem);
13139
13327
 
13140
- customElements.define(componentName$L, ButtonSelectionGroupItemClass);
13328
+ customElements.define(componentName$K, ButtonSelectionGroupItemClass);
13141
13329
 
13142
- customElements.define(componentName$M, ButtonSelectionGroupClass);
13330
+ customElements.define(componentName$L, ButtonSelectionGroupClass);
13143
13331
 
13144
- const componentName$K = getComponentName$1('button-multi-selection-group-internal');
13332
+ const componentName$J = getComponentName$1('button-multi-selection-group-internal');
13145
13333
 
13146
13334
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
13147
- componentName$K
13335
+ componentName$J
13148
13336
  ) {
13149
13337
  #getSelectedNodes() {
13150
13338
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -13247,7 +13435,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
13247
13435
  }
13248
13436
  }
13249
13437
 
13250
- const componentName$J = getComponentName$1('button-multi-selection-group');
13438
+ const componentName$I = getComponentName$1('button-multi-selection-group');
13251
13439
 
13252
13440
  const buttonMultiSelectionGroupMixin = (superclass) =>
13253
13441
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -13256,19 +13444,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
13256
13444
  const template = document.createElement('template');
13257
13445
 
13258
13446
  template.innerHTML = `
13259
- <${componentName$K}
13447
+ <${componentName$J}
13260
13448
  name="button-selection-group"
13261
13449
  slot="input"
13262
13450
  tabindex="-1"
13263
13451
  part="internal-component"
13264
13452
  >
13265
13453
  <slot></slot>
13266
- </${componentName$K}>
13454
+ </${componentName$J}>
13267
13455
  `;
13268
13456
 
13269
13457
  this.baseElement.appendChild(template.content.cloneNode(true));
13270
13458
 
13271
- this.inputElement = this.shadowRoot.querySelector(componentName$K);
13459
+ this.inputElement = this.shadowRoot.querySelector(componentName$J);
13272
13460
 
13273
13461
  forwardAttrs$1(this, this.inputElement, {
13274
13462
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -13293,13 +13481,13 @@ const ButtonMultiSelectionGroupClass = compose$1(
13293
13481
  wrappedEleName: 'vaadin-text-field',
13294
13482
  style: () => buttonSelectionGroupStyles,
13295
13483
  excludeAttrsSync: ['tabindex'],
13296
- componentName: componentName$J,
13484
+ componentName: componentName$I,
13297
13485
  })
13298
13486
  );
13299
13487
 
13300
- customElements.define(componentName$K, ButtonMultiSelectionGroupInternalClass);
13488
+ customElements.define(componentName$J, ButtonMultiSelectionGroupInternalClass);
13301
13489
 
13302
- customElements.define(componentName$J, ButtonMultiSelectionGroupClass);
13490
+ customElements.define(componentName$I, ButtonMultiSelectionGroupClass);
13303
13491
 
13304
13492
  /* eslint-disable no-param-reassign */
13305
13493
 
@@ -13327,9 +13515,9 @@ class GridTextColumnClass extends GridSortColumn {
13327
13515
  }
13328
13516
  }
13329
13517
 
13330
- const componentName$I = getComponentName$1('grid-text-column');
13518
+ const componentName$H = getComponentName$1('grid-text-column');
13331
13519
 
13332
- customElements.define(componentName$I, GridTextColumnClass);
13520
+ customElements.define(componentName$H, GridTextColumnClass);
13333
13521
 
13334
13522
  /* eslint-disable no-param-reassign */
13335
13523
 
@@ -13364,9 +13552,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
13364
13552
 
13365
13553
  /* eslint-disable no-param-reassign */
13366
13554
 
13367
- const componentName$H = getComponentName$1('grid-custom-column');
13555
+ const componentName$G = getComponentName$1('grid-custom-column');
13368
13556
 
13369
- customElements.define(componentName$H, GridCustomColumnClass);
13557
+ customElements.define(componentName$G, GridCustomColumnClass);
13370
13558
 
13371
13559
  const createCheckboxEle = () => {
13372
13560
  const checkbox = document.createElement('descope-checkbox');
@@ -13425,9 +13613,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
13425
13613
  }
13426
13614
  }
13427
13615
 
13428
- const componentName$G = getComponentName$1('grid-selection-column');
13616
+ const componentName$F = getComponentName$1('grid-selection-column');
13429
13617
 
13430
- customElements.define(componentName$G, GridSelectionColumnClass);
13618
+ customElements.define(componentName$F, GridSelectionColumnClass);
13431
13619
 
13432
13620
  /* eslint-disable no-param-reassign */
13433
13621
 
@@ -13466,9 +13654,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
13466
13654
  }
13467
13655
  }
13468
13656
 
13469
- const componentName$F = getComponentName$1('grid-item-details-column');
13657
+ const componentName$E = getComponentName$1('grid-item-details-column');
13470
13658
 
13471
- customElements.define(componentName$F, GridItemDetailsColumnClass);
13659
+ customElements.define(componentName$E, GridItemDetailsColumnClass);
13472
13660
 
13473
13661
  const decode = (input) => {
13474
13662
  const txt = document.createElement('textarea');
@@ -13480,9 +13668,9 @@ const tpl = (input, inline) => {
13480
13668
  return inline ? input : `<pre>${input}</pre>`;
13481
13669
  };
13482
13670
 
13483
- const componentName$E = getComponentName$1('code-snippet');
13671
+ const componentName$D = getComponentName$1('code-snippet');
13484
13672
 
13485
- 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' }) {
13486
13674
  static get observedAttributes() {
13487
13675
  return ['lang', 'inline'];
13488
13676
  }
@@ -13716,7 +13904,7 @@ const CodeSnippetClass = compose$1(
13716
13904
  componentNameValidationMixin$1
13717
13905
  )(CodeSnippet$1);
13718
13906
 
13719
- customElements.define(componentName$E, CodeSnippetClass);
13907
+ customElements.define(componentName$D, CodeSnippetClass);
13720
13908
 
13721
13909
  const isValidDataType = (data) => {
13722
13910
  const isValid = Array.isArray(data);
@@ -13791,7 +13979,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
13791
13979
  `;
13792
13980
  };
13793
13981
 
13794
- const componentName$D = getComponentName$1('grid');
13982
+ const componentName$C = getComponentName$1('grid');
13795
13983
 
13796
13984
  const GridMixin = (superclass) =>
13797
13985
  class GridMixinClass extends superclass {
@@ -14145,13 +14333,13 @@ const GridClass = compose$1(
14145
14333
  /*!css*/
14146
14334
  `,
14147
14335
  excludeAttrsSync: ['columns', 'tabindex', 'style'],
14148
- componentName: componentName$D,
14336
+ componentName: componentName$C,
14149
14337
  })
14150
14338
  );
14151
14339
 
14152
- customElements.define(componentName$D, GridClass);
14340
+ customElements.define(componentName$C, GridClass);
14153
14341
 
14154
- const componentName$C = getComponentName$1('multi-select-combo-box');
14342
+ const componentName$B = getComponentName$1('multi-select-combo-box');
14155
14343
 
14156
14344
  const multiSelectComboBoxMixin = (superclass) =>
14157
14345
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -14804,16 +14992,16 @@ const MultiSelectComboBoxClass = compose$1(
14804
14992
  // Note: we exclude `placeholder` because the vaadin component observes it and
14805
14993
  // tries to override it, causing us to lose the user set placeholder.
14806
14994
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
14807
- componentName: componentName$C,
14995
+ componentName: componentName$B,
14808
14996
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
14809
14997
  })
14810
14998
  );
14811
14999
 
14812
- customElements.define(componentName$C, MultiSelectComboBoxClass);
15000
+ customElements.define(componentName$B, MultiSelectComboBoxClass);
14813
15001
 
14814
- const componentName$B = getComponentName$1('badge');
15002
+ const componentName$A = getComponentName$1('badge');
14815
15003
 
14816
- class RawBadge extends createBaseClass$1({ componentName: componentName$B, baseSelector: ':host > div' }) {
15004
+ class RawBadge extends createBaseClass$1({ componentName: componentName$A, baseSelector: ':host > div' }) {
14817
15005
  constructor() {
14818
15006
  super();
14819
15007
 
@@ -14868,9 +15056,9 @@ const BadgeClass = compose$1(
14868
15056
  componentNameValidationMixin$1
14869
15057
  )(RawBadge);
14870
15058
 
14871
- customElements.define(componentName$B, BadgeClass);
15059
+ customElements.define(componentName$A, BadgeClass);
14872
15060
 
14873
- const componentName$A = getComponentName$1('modal');
15061
+ const componentName$z = getComponentName$1('modal');
14874
15062
 
14875
15063
  const observedAttrs$2 = ['opened'];
14876
15064
 
@@ -14994,11 +15182,11 @@ const ModalClass = compose$1(
14994
15182
  }
14995
15183
  `,
14996
15184
  excludeAttrsSync: ['tabindex', 'opened', 'style'],
14997
- componentName: componentName$A,
15185
+ componentName: componentName$z,
14998
15186
  })
14999
15187
  );
15000
15188
 
15001
- customElements.define(componentName$A, ModalClass);
15189
+ customElements.define(componentName$z, ModalClass);
15002
15190
 
15003
15191
  const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
15004
15192
 
@@ -15009,7 +15197,7 @@ if (!vaadinContainerClass) {
15009
15197
  class NotificationContainerClass extends vaadinContainerClass {}
15010
15198
  customElements.define(getComponentName$1('notification-container'), NotificationContainerClass);
15011
15199
 
15012
- const componentName$z = getComponentName$1('notification-card');
15200
+ const componentName$y = getComponentName$1('notification-card');
15013
15201
 
15014
15202
  const notificationCardMixin = (superclass) =>
15015
15203
  class NotificationCardMixinClass extends superclass {
@@ -15117,13 +15305,13 @@ const NotificationCardClass = compose$1(
15117
15305
  }
15118
15306
  `,
15119
15307
  excludeAttrsSync: ['tabindex'],
15120
- componentName: componentName$z,
15308
+ componentName: componentName$y,
15121
15309
  })
15122
15310
  );
15123
15311
 
15124
- customElements.define(componentName$z, NotificationCardClass);
15312
+ customElements.define(componentName$y, NotificationCardClass);
15125
15313
 
15126
- const componentName$y = getComponentName$1('notification');
15314
+ const componentName$x = getComponentName$1('notification');
15127
15315
 
15128
15316
  const NotificationMixin = (superclass) =>
15129
15317
  class NotificationMixinClass extends superclass {
@@ -15218,15 +15406,15 @@ const NotificationClass = compose$1(
15218
15406
  createProxy$1({
15219
15407
  wrappedEleName: 'vaadin-notification',
15220
15408
  excludeAttrsSync: ['tabindex'],
15221
- componentName: componentName$y,
15409
+ componentName: componentName$x,
15222
15410
  })
15223
15411
  );
15224
15412
 
15225
- customElements.define(componentName$y, NotificationClass);
15413
+ customElements.define(componentName$x, NotificationClass);
15226
15414
 
15227
- const componentName$x = getComponentName$1('mappings-field-internal');
15415
+ const componentName$w = getComponentName$1('mappings-field-internal');
15228
15416
 
15229
- const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$x, baseSelector: 'div' });
15417
+ const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$w, baseSelector: 'div' });
15230
15418
 
15231
15419
  class MappingsFieldInternal extends BaseInputClass$5 {
15232
15420
  #errorItem;
@@ -15473,7 +15661,7 @@ class MappingsFieldInternal extends BaseInputClass$5 {
15473
15661
  }
15474
15662
  }
15475
15663
 
15476
- const componentName$w = getComponentName$1('mappings-field');
15664
+ const componentName$v = getComponentName$1('mappings-field');
15477
15665
 
15478
15666
  const customMixin$6 = (superclass) =>
15479
15667
  class MappingsFieldMixinClass extends superclass {
@@ -15502,14 +15690,14 @@ const customMixin$6 = (superclass) =>
15502
15690
  const template = document.createElement('template');
15503
15691
 
15504
15692
  template.innerHTML = `
15505
- <${componentName$x}
15693
+ <${componentName$w}
15506
15694
  tabindex="-1"
15507
- ></${componentName$x}>
15695
+ ></${componentName$w}>
15508
15696
  `;
15509
15697
 
15510
15698
  this.baseElement.appendChild(template.content.cloneNode(true));
15511
15699
 
15512
- this.inputElement = this.shadowRoot.querySelector(componentName$x);
15700
+ this.inputElement = this.shadowRoot.querySelector(componentName$w);
15513
15701
 
15514
15702
  forwardAttrs$1(this, this.inputElement, {
15515
15703
  includeAttrs: [
@@ -15644,13 +15832,13 @@ const MappingsFieldClass = compose$1(
15644
15832
  'options',
15645
15833
  'error-message',
15646
15834
  ],
15647
- componentName: componentName$w,
15835
+ componentName: componentName$v,
15648
15836
  })
15649
15837
  );
15650
15838
 
15651
- customElements.define(componentName$x, MappingsFieldInternal);
15839
+ customElements.define(componentName$w, MappingsFieldInternal);
15652
15840
 
15653
- const componentName$v = getComponentName$1('mapping-item');
15841
+ const componentName$u = getComponentName$1('mapping-item');
15654
15842
 
15655
15843
  const inputAttrs = [
15656
15844
  'size',
@@ -15663,7 +15851,7 @@ const inputAttrs = [
15663
15851
  'st-error-message-icon-padding',
15664
15852
  ];
15665
15853
 
15666
- const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$v, baseSelector: 'div' });
15854
+ const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$u, baseSelector: 'div' });
15667
15855
 
15668
15856
  class MappingItem extends BaseInputClass$4 {
15669
15857
  static get observedAttributes() {
@@ -15818,17 +16006,17 @@ class MappingItem extends BaseInputClass$4 {
15818
16006
  }
15819
16007
  }
15820
16008
 
15821
- customElements.define(componentName$v, MappingItem);
16009
+ customElements.define(componentName$u, MappingItem);
15822
16010
 
15823
- customElements.define(componentName$w, MappingsFieldClass);
16011
+ customElements.define(componentName$v, MappingsFieldClass);
15824
16012
 
15825
16013
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
15826
16014
 
15827
16015
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
15828
16016
 
15829
- const componentName$u = getComponentName$1('user-attribute');
16017
+ const componentName$t = getComponentName$1('user-attribute');
15830
16018
  class RawUserAttribute extends createBaseClass$1({
15831
- componentName: componentName$u,
16019
+ componentName: componentName$t,
15832
16020
  baseSelector: ':host > .root',
15833
16021
  }) {
15834
16022
  constructor() {
@@ -16072,13 +16260,13 @@ const UserAttributeClass = compose$1(
16072
16260
  componentNameValidationMixin$1
16073
16261
  )(RawUserAttribute);
16074
16262
 
16075
- customElements.define(componentName$u, UserAttributeClass);
16263
+ customElements.define(componentName$t, UserAttributeClass);
16076
16264
 
16077
16265
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
16078
16266
 
16079
- const componentName$t = getComponentName$1('user-auth-method');
16267
+ const componentName$s = getComponentName$1('user-auth-method');
16080
16268
  class RawUserAuthMethod extends createBaseClass$1({
16081
- componentName: componentName$t,
16269
+ componentName: componentName$s,
16082
16270
  baseSelector: ':host > .root',
16083
16271
  }) {
16084
16272
  constructor() {
@@ -16273,11 +16461,11 @@ const UserAuthMethodClass = compose$1(
16273
16461
  componentNameValidationMixin$1
16274
16462
  )(RawUserAuthMethod);
16275
16463
 
16276
- customElements.define(componentName$t, UserAuthMethodClass);
16464
+ customElements.define(componentName$s, UserAuthMethodClass);
16277
16465
 
16278
- const componentName$s = getComponentName$1('saml-group-mappings-internal');
16466
+ const componentName$r = getComponentName$1('saml-group-mappings-internal');
16279
16467
 
16280
- const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$s, baseSelector: '' });
16468
+ const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$r, baseSelector: '' });
16281
16469
 
16282
16470
  class SamlGroupMappingsInternal extends BaseInputClass$3 {
16283
16471
  static get observedAttributes() {
@@ -16403,7 +16591,7 @@ class SamlGroupMappingsInternal extends BaseInputClass$3 {
16403
16591
  }
16404
16592
  }
16405
16593
 
16406
- const componentName$r = getComponentName$1('saml-group-mappings');
16594
+ const componentName$q = getComponentName$1('saml-group-mappings');
16407
16595
 
16408
16596
  const customMixin$5 = (superclass) =>
16409
16597
  class SamlGroupMappingsMixinClass extends superclass {
@@ -16413,14 +16601,14 @@ const customMixin$5 = (superclass) =>
16413
16601
  const template = document.createElement('template');
16414
16602
 
16415
16603
  template.innerHTML = `
16416
- <${componentName$s}
16604
+ <${componentName$r}
16417
16605
  tabindex="-1"
16418
- ></${componentName$s}>
16606
+ ></${componentName$r}>
16419
16607
  `;
16420
16608
 
16421
16609
  this.baseElement.appendChild(template.content.cloneNode(true));
16422
16610
 
16423
- this.inputElement = this.shadowRoot.querySelector(componentName$s);
16611
+ this.inputElement = this.shadowRoot.querySelector(componentName$r);
16424
16612
 
16425
16613
  forwardAttrs$1(this, this.inputElement, {
16426
16614
  includeAttrs: [
@@ -16504,15 +16692,15 @@ const SamlGroupMappingsClass = compose$1(
16504
16692
  'options',
16505
16693
  'error-message',
16506
16694
  ],
16507
- componentName: componentName$r,
16695
+ componentName: componentName$q,
16508
16696
  })
16509
16697
  );
16510
16698
 
16511
- customElements.define(componentName$s, SamlGroupMappingsInternal);
16699
+ customElements.define(componentName$r, SamlGroupMappingsInternal);
16512
16700
 
16513
- customElements.define(componentName$r, SamlGroupMappingsClass);
16701
+ customElements.define(componentName$q, SamlGroupMappingsClass);
16514
16702
 
16515
- const componentName$q = getComponentName$1('radio-button');
16703
+ const componentName$p = getComponentName$1('radio-button');
16516
16704
 
16517
16705
  const customMixin$4 = (superclass) =>
16518
16706
  class CustomMixin extends superclass {
@@ -16577,11 +16765,11 @@ const RadioButtonClass = compose$1(
16577
16765
  wrappedEleName: 'vaadin-radio-button',
16578
16766
  excludeAttrsSync: ['tabindex', 'data'],
16579
16767
  includeForwardProps: ['checked', 'name', 'disabled'],
16580
- componentName: componentName$q,
16768
+ componentName: componentName$p,
16581
16769
  })
16582
16770
  );
16583
16771
 
16584
- const componentName$p = getComponentName$1('radio-group');
16772
+ const componentName$o = getComponentName$1('radio-group');
16585
16773
 
16586
16774
  const RadioGroupMixin = (superclass) =>
16587
16775
  class RadioGroupMixinClass extends superclass {
@@ -16596,12 +16784,12 @@ const RadioGroupMixin = (superclass) =>
16596
16784
 
16597
16785
  // we are overriding vaadin children getter so it will run on our custom elements
16598
16786
  Object.defineProperty(this.baseElement, 'children', {
16599
- get: () => this.querySelectorAll(componentName$q),
16787
+ get: () => this.querySelectorAll(componentName$p),
16600
16788
  });
16601
16789
 
16602
16790
  // we are overriding vaadin __filterRadioButtons so it will run on our custom elements
16603
16791
  this.baseElement.__filterRadioButtons = (nodes) => {
16604
- return nodes.filter((node) => node.localName === componentName$q);
16792
+ return nodes.filter((node) => node.localName === componentName$p);
16605
16793
  };
16606
16794
 
16607
16795
  // vaadin radio group missing some input properties
@@ -16751,13 +16939,13 @@ const RadioGroupClass = compose$1(
16751
16939
  `,
16752
16940
 
16753
16941
  excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
16754
- componentName: componentName$p,
16942
+ componentName: componentName$o,
16755
16943
  includeForwardProps: ['value'],
16756
16944
  })
16757
16945
  );
16758
16946
 
16759
- customElements.define(componentName$p, RadioGroupClass);
16760
- customElements.define(componentName$q, RadioButtonClass);
16947
+ customElements.define(componentName$o, RadioGroupClass);
16948
+ customElements.define(componentName$p, RadioButtonClass);
16761
16949
 
16762
16950
  const activeableMixin = (superclass) =>
16763
16951
  class ActiveableMixinClass extends superclass {
@@ -16774,7 +16962,7 @@ const activeableMixin = (superclass) =>
16774
16962
  }
16775
16963
  };
16776
16964
 
16777
- const componentName$o = getComponentName$1('list-item');
16965
+ const componentName$n = getComponentName$1('list-item');
16778
16966
 
16779
16967
  const customMixin$3 = (superclass) =>
16780
16968
  class ListItemMixinClass extends superclass {
@@ -16824,11 +17012,11 @@ const ListItemClass = compose$1(
16824
17012
  componentNameValidationMixin$1,
16825
17013
  customMixin$3,
16826
17014
  activeableMixin
16827
- )(createBaseClass$1({ componentName: componentName$o, baseSelector: 'slot' }));
17015
+ )(createBaseClass$1({ componentName: componentName$n, baseSelector: 'slot' }));
16828
17016
 
16829
- const componentName$n = getComponentName$1('list');
17017
+ const componentName$m = getComponentName$1('list');
16830
17018
 
16831
- class RawList extends createBaseClass$1({ componentName: componentName$n, baseSelector: '.wrapper' }) {
17019
+ class RawList extends createBaseClass$1({ componentName: componentName$m, baseSelector: '.wrapper' }) {
16832
17020
  static get observedAttributes() {
16833
17021
  return ['variant', 'readonly'];
16834
17022
  }
@@ -16976,12 +17164,12 @@ const ListClass = compose$1(
16976
17164
  componentNameValidationMixin$1
16977
17165
  )(RawList);
16978
17166
 
16979
- customElements.define(componentName$n, ListClass);
16980
- customElements.define(componentName$o, ListItemClass);
17167
+ customElements.define(componentName$m, ListClass);
17168
+ customElements.define(componentName$n, ListItemClass);
16981
17169
 
16982
- const componentName$m = getComponentName('avatar');
17170
+ const componentName$l = getComponentName('avatar');
16983
17171
  class RawAvatar extends createBaseClass({
16984
- componentName: componentName$m,
17172
+ componentName: componentName$l,
16985
17173
  baseSelector: ':host > .wrapper',
16986
17174
  }) {
16987
17175
  constructor() {
@@ -17089,7 +17277,7 @@ const AvatarClass = compose(
17089
17277
  componentNameValidationMixin,
17090
17278
  )(RawAvatar);
17091
17279
 
17092
- customElements.define(componentName$m, AvatarClass);
17280
+ customElements.define(componentName$l, AvatarClass);
17093
17281
 
17094
17282
  const defaultValidateSchema = () => true;
17095
17283
  const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
@@ -17190,7 +17378,7 @@ const createDynamicDataMixin =
17190
17378
  }
17191
17379
  };
17192
17380
 
17193
- const componentName$l = getComponentName$1('apps-list');
17381
+ const componentName$k = getComponentName$1('apps-list');
17194
17382
 
17195
17383
  const limitAbbreviation = (str, limit = 2) =>
17196
17384
  str
@@ -17252,7 +17440,7 @@ const AppsListClass = compose$1(
17252
17440
  slots: ['empty-state'],
17253
17441
  wrappedEleName: 'descope-list',
17254
17442
  excludeAttrsSync: ['tabindex', 'class', 'empty'],
17255
- componentName: componentName$l,
17443
+ componentName: componentName$k,
17256
17444
  style: () => `
17257
17445
  :host {
17258
17446
  width: 100%;
@@ -17277,9 +17465,9 @@ const AppsListClass = compose$1(
17277
17465
  })
17278
17466
  );
17279
17467
 
17280
- customElements.define(componentName$l, AppsListClass);
17468
+ customElements.define(componentName$k, AppsListClass);
17281
17469
 
17282
- const componentName$k = getComponentName$1('scopes-list');
17470
+ const componentName$j = getComponentName$1('scopes-list');
17283
17471
  const variants = ['checkbox', 'switch'];
17284
17472
 
17285
17473
  const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
@@ -17298,7 +17486,7 @@ const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
17298
17486
  `;
17299
17487
  };
17300
17488
 
17301
- class RawScopesList extends createBaseClass$1({ componentName: componentName$k, baseSelector: 'div' }) {
17489
+ class RawScopesList extends createBaseClass$1({ componentName: componentName$j, baseSelector: 'div' }) {
17302
17490
  constructor() {
17303
17491
  super();
17304
17492
 
@@ -17406,13 +17594,13 @@ const ScopesListClass = compose$1(
17406
17594
  componentNameValidationMixin$1
17407
17595
  )(RawScopesList);
17408
17596
 
17409
- customElements.define(componentName$k, ScopesListClass);
17597
+ customElements.define(componentName$j, ScopesListClass);
17410
17598
 
17411
17599
  var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
17412
17600
 
17413
- const componentName$j = getComponentName$1('third-party-app-logo');
17601
+ const componentName$i = getComponentName$1('third-party-app-logo');
17414
17602
  class RawThirdPartyAppLogoClass extends createBaseClass$1({
17415
- componentName: componentName$j,
17603
+ componentName: componentName$i,
17416
17604
  baseSelector: '.wrapper',
17417
17605
  }) {
17418
17606
  constructor() {
@@ -17509,205 +17697,11 @@ const ThirdPartyAppLogoClass = compose$1(
17509
17697
  componentNameValidationMixin$1
17510
17698
  )(RawThirdPartyAppLogoClass);
17511
17699
 
17512
- const getFileExtension = (path) => {
17513
- const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
17514
- return match ? match[1] : null;
17515
- };
17516
-
17517
- const base64Prefix = 'data:image/svg+xml;base64,';
17518
-
17519
- const isBase64Svg = (src) => src.startsWith(base64Prefix);
17520
-
17521
- const createImgEle = (src, altText) => {
17522
- const ele = document.createElement('img');
17523
- ele.setAttribute('src', src);
17524
- ele.setAttribute('alt', altText);
17525
- return ele;
17526
- };
17527
-
17528
- const createSvgEle = (text) => {
17529
- // we want to purify the SVG to avoid XSS attacks
17530
- const clean = DOMPurify.sanitize(text, {
17531
- USE_PROFILES: { svg: true, svgFilters: true },
17532
- // allow image to render
17533
- ADD_TAGS: ['image'],
17534
- // forbid interactiviy via `use` tags (which are sanitized by default)
17535
- FORBID_TAGS: ['defs']
17536
- });
17537
-
17538
- const parser = new DOMParser();
17539
- const ele = parser
17540
- .parseFromString(clean, 'image/svg+xml')
17541
- .querySelector('svg');
17542
- return ele;
17543
- };
17544
-
17545
- const createImage = async (src, altText) => {
17546
- try {
17547
- let ele;
17548
- if (isBase64Svg(src)) {
17549
- // handle base64 source
17550
- const svgXml = atob(src.slice(base64Prefix.length));
17551
- ele = createSvgEle(svgXml);
17552
- } else if (getFileExtension(src) === 'svg') {
17553
- // handle urls
17554
- const fetchedSrc = await fetch(src);
17555
- const text = await fetchedSrc.text();
17556
- ele = createSvgEle(text);
17557
- } else {
17558
- // handle binary
17559
- ele = createImgEle(src, altText);
17560
- }
17561
-
17562
- ele.style.setProperty('max-width', '100%');
17563
- ele.style.setProperty('max-height', '100%');
17564
-
17565
- return ele;
17566
- } catch {
17567
- return null;
17568
- }
17569
- };
17570
-
17571
- /* eslint-disable no-use-before-define */
17572
-
17573
- const componentName$i = getComponentName('image');
17574
-
17575
- const srcAttrs = ['src', 'src-dark'];
17576
-
17577
- class RawImage extends createBaseClass({
17578
- componentName: componentName$i,
17579
- baseSelector: 'slot',
17580
- }) {
17581
- static get observedAttributes() {
17582
- return srcAttrs;
17583
- }
17584
-
17585
- constructor() {
17586
- super();
17587
-
17588
- this.attachShadow({ mode: 'open' }).innerHTML = `
17589
- <slot></slot>
17590
- `;
17591
-
17592
- injectStyle(
17593
- `
17594
- :host {
17595
- display: inline-flex;
17596
- }
17597
- :host > slot {
17598
- width: 100%;
17599
- height: 100%;
17600
- box-sizing: border-box;
17601
- display: flex;
17602
- overflow: hidden;
17603
- }
17604
-
17605
- ::slotted(*) {
17606
- width: 100%;
17607
- }
17608
-
17609
- .hidden {
17610
- display: none;
17611
- }
17612
- `,
17613
- this,
17614
- );
17615
- }
17616
-
17617
- init() {
17618
- super.init?.();
17619
- this.toggleVisibility(this.src);
17620
- }
17621
-
17622
- onThemeChange() {
17623
- this.renderImage();
17624
- }
17625
-
17626
- toggleVisibility(isVisible) {
17627
- if (isVisible) {
17628
- this.classList.remove('hidden');
17629
- } else {
17630
- this.classList.add('hidden');
17631
- }
17632
- }
17633
-
17634
- get altText() {
17635
- return this.getAttribute('alt') || '';
17636
- }
17637
-
17638
- get legacySrc() {
17639
- return this.getAttribute('src');
17640
- }
17641
-
17642
- get themeSrc() {
17643
- return this.getAttribute(`src-${this.currentThemeName}`);
17644
- }
17645
-
17646
- get src() {
17647
- return this.themeSrc || this.legacySrc;
17648
- }
17649
-
17650
- // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
17651
- // with the value from the `st-fill` attribute
17652
- // eslint-disable-next-line class-methods-use-this
17653
- updateFillColor(node) {
17654
- // set fill to root node and all its relevant selectors
17655
- const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
17656
-
17657
- elementsToReplace.forEach((ele) => {
17658
- ele.setAttribute(
17659
- 'fill',
17660
- `var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
17661
- );
17662
- });
17663
- }
17664
-
17665
- renderImage() {
17666
- this.toggleVisibility(this.src);
17667
-
17668
- createImage(this.src, this.altText).then((res) => {
17669
- this.innerHTML = '';
17670
- if (res) {
17671
- this.updateFillColor(res);
17672
- this.appendChild(res);
17673
- }
17674
- });
17675
- }
17676
-
17677
- // render only when src attribute matches current theme
17678
- shouldRender(src) {
17679
- const srcVal = this.getAttribute(src);
17680
- return this.src === srcVal;
17681
- }
17682
-
17683
- attributeChangedCallback(attrName, oldValue, newValue) {
17684
- super.attributeChangedCallback?.(attrName, oldValue, newValue);
17685
-
17686
- if (oldValue === newValue) return;
17687
-
17688
- if (this.shouldRender(attrName)) {
17689
- this.renderImage();
17690
- }
17691
- }
17692
- }
17693
-
17694
- const ImageClass = compose(
17695
- createStyleMixin({
17696
- mappings: {
17697
- fill: {},
17698
- height: { selector: () => ':host' },
17699
- width: { selector: () => ':host' },
17700
- },
17701
- }),
17702
- draggableMixin,
17703
- componentNameValidationMixin,
17704
- )(RawImage);
17705
-
17706
- customElements.define(componentName$i, ImageClass);
17700
+ customElements.define(componentName$1a, ImageClass);
17707
17701
 
17708
- customElements.define(componentName$1a, IconClass);
17702
+ customElements.define(componentName$19, IconClass);
17709
17703
 
17710
- customElements.define(componentName$j, ThirdPartyAppLogoClass);
17704
+ customElements.define(componentName$i, ThirdPartyAppLogoClass);
17711
17705
 
17712
17706
  const componentName$h = getComponentName$1('security-questions-setup');
17713
17707
 
@@ -19592,7 +19586,7 @@ const mode = {
19592
19586
  surface: globalRefs$G.colors.surface,
19593
19587
  };
19594
19588
 
19595
- 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);
19596
19590
 
19597
19591
  const button = {
19598
19592
  ...helperTheme$5,
@@ -20587,7 +20581,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
20587
20581
  thickness: '2px',
20588
20582
  spacing: '10px',
20589
20583
  },
20590
- componentName$14
20584
+ componentName$13
20591
20585
  );
20592
20586
 
20593
20587
  const divider = {
@@ -22126,7 +22120,7 @@ const compVars$2 = ListClass.cssVarList;
22126
22120
 
22127
22121
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
22128
22122
  { shadowColor: '#00000020' },
22129
- componentName$n
22123
+ componentName$m
22130
22124
  );
22131
22125
 
22132
22126
  const { shadowColor: shadowColor$1 } = helperRefs$1;