@descope/web-components-ui 1.0.349 → 1.0.350

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 (68) hide show
  1. package/dist/cjs/index.cjs.js +0 -8
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +293 -299
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/4392.js +1 -1
  6. package/dist/umd/4978.js +1 -0
  7. package/dist/umd/DescopeDev.js +1 -1
  8. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
  9. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  10. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  11. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  12. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
  13. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  14. package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
  15. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  16. package/dist/umd/descope-avatar-index-js.js +1 -1
  17. package/dist/umd/descope-badge-index-js.js +1 -1
  18. package/dist/umd/descope-button-index-js.js +1 -1
  19. package/dist/umd/descope-code-snippet-index-js.js +1 -1
  20. package/dist/umd/descope-combo-box-index-js.js +1 -1
  21. package/dist/umd/descope-container-index-js.js +1 -1
  22. package/dist/umd/descope-date-picker-index-js.js +1 -1
  23. package/dist/umd/descope-divider-index-js.js +1 -1
  24. package/dist/umd/descope-email-field-index-js.js +1 -1
  25. package/dist/umd/descope-enriched-text-index-js.js +1 -1
  26. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
  27. package/dist/umd/descope-grid-index-js.js +1 -1
  28. package/dist/umd/descope-icon-index-js.js +1 -1
  29. package/dist/umd/descope-image-index-js.js +1 -1
  30. package/dist/umd/descope-link-index-js.js +1 -1
  31. package/dist/umd/descope-loader-linear-index-js.js +1 -1
  32. package/dist/umd/descope-loader-radial-index-js.js +1 -1
  33. package/dist/umd/descope-logo-index-js.js +1 -1
  34. package/dist/umd/descope-modal-index-js.js +1 -1
  35. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
  36. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  37. package/dist/umd/descope-new-password-index-js.js +1 -1
  38. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
  39. package/dist/umd/descope-notification-index-js.js +1 -1
  40. package/dist/umd/descope-notp-image-index-js.js +1 -1
  41. package/dist/umd/descope-number-field-index-js.js +1 -1
  42. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
  43. package/dist/umd/descope-passcode-index-js.js +1 -1
  44. package/dist/umd/descope-password-index-js.js +1 -1
  45. package/dist/umd/descope-policy-validation-index-js.js +1 -1
  46. package/dist/umd/descope-radio-group-index-js.js +1 -1
  47. package/dist/umd/descope-recaptcha-index-js.js +1 -1
  48. package/dist/umd/descope-text-area-index-js.js +1 -1
  49. package/dist/umd/descope-text-field-index-js.js +1 -1
  50. package/dist/umd/descope-text-index-js.js +1 -1
  51. package/dist/umd/descope-totp-image-index-js.js +1 -1
  52. package/dist/umd/descope-upload-file-index-js.js +1 -1
  53. package/dist/umd/descope-user-attribute-index-js.js +1 -1
  54. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  55. package/dist/umd/index.js +1 -1
  56. package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
  57. package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
  58. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  59. package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
  60. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  61. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
  62. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  63. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  64. package/package.json +1 -1
  65. package/src/components/descope-grid/GridClass.js +0 -1
  66. package/src/components/descope-grid/index.js +1 -0
  67. package/dist/umd/1000.js +0 -1
  68. package/dist/umd/1765.js +0 -1
package/dist/index.esm.js CHANGED
@@ -13,12 +13,12 @@ import '@vaadin/combo-box';
13
13
  import '@vaadin/grid';
14
14
  import { GridSortColumn } from '@vaadin/grid/vaadin-grid-sort-column';
15
15
  import { GridSelectionColumn } from '@vaadin/grid/vaadin-grid-selection-column';
16
+ import hljs from 'highlight.js';
16
17
  import '@vaadin/multi-select-combo-box';
17
18
  import '@vaadin/dialog';
18
19
  import '@vaadin/notification';
19
20
  import '@vaadin/avatar';
20
21
  import '@vaadin/custom-field';
21
- import hljs from 'highlight.js';
22
22
  import '@vaadin/radio-group';
23
23
  import merge from 'lodash.merge';
24
24
  import Color from 'color';
@@ -8424,6 +8424,250 @@ const componentName$i = getComponentName('grid-item-details-column');
8424
8424
 
8425
8425
  customElements.define(componentName$i, GridItemDetailsColumnClass);
8426
8426
 
8427
+ const decode = (input) => {
8428
+ const txt = document.createElement('textarea');
8429
+ txt.innerHTML = input;
8430
+ return txt.value;
8431
+ };
8432
+
8433
+ const tpl = (input, inline) => {
8434
+ return inline ? input : `<pre>${input}</pre>`;
8435
+ };
8436
+
8437
+ const componentName$h = getComponentName('code-snippet');
8438
+
8439
+ let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$h, baseSelector: ':host > code' }) {
8440
+ static get observedAttributes() {
8441
+ return ['lang', 'inline'];
8442
+ }
8443
+
8444
+ constructor() {
8445
+ super();
8446
+
8447
+ this.attachShadow({ mode: 'open' }).innerHTML = `
8448
+ <style>
8449
+ :host {
8450
+ display: inline-block;
8451
+ width: 100%;
8452
+ }
8453
+ code {
8454
+ display: block;
8455
+ width: 100%;
8456
+ min-height: 1em;
8457
+ overflow-x: scroll;
8458
+ overflow-y: scroll;
8459
+ }
8460
+ pre {
8461
+ margin: 0;
8462
+ }
8463
+ </style>
8464
+ <code class="hljs"></code>
8465
+ `;
8466
+ }
8467
+
8468
+ init() {
8469
+ super.init?.();
8470
+
8471
+ this.lang = this.getAttribute('lang');
8472
+ this.isInline = this.getAttribute('inline') === 'true';
8473
+
8474
+ observeChildren(this, this.#renderSnippet.bind(this));
8475
+ }
8476
+
8477
+ get contentNode() {
8478
+ return this.shadowRoot.querySelector(this.baseSelector);
8479
+ }
8480
+
8481
+ attributeChangedCallback(attrName, oldValue, newValue) {
8482
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
8483
+
8484
+ if (oldValue !== newValue) {
8485
+ if (attrName === 'inline') {
8486
+ this.isInline = newValue;
8487
+ }
8488
+
8489
+ if (attrName === 'lang') {
8490
+ this.lang = newValue;
8491
+ }
8492
+
8493
+ this.#renderSnippet();
8494
+ }
8495
+ }
8496
+
8497
+ #renderSnippet() {
8498
+ const sanitized = decode(this.textContent);
8499
+ const language = this.lang;
8500
+
8501
+ if (!language) {
8502
+ this.contentNode.textContent = sanitized;
8503
+ return;
8504
+ }
8505
+
8506
+ const { value: highlighted } = hljs.highlight(sanitized, { language });
8507
+
8508
+ this.contentNode.innerHTML = tpl(highlighted, this.isInline);
8509
+ }
8510
+ };
8511
+
8512
+ const {
8513
+ root,
8514
+ docTag,
8515
+ keyword,
8516
+ metaKeyword,
8517
+ templateTag,
8518
+ templateVariable,
8519
+ type,
8520
+ variableLanguage,
8521
+ title,
8522
+ titleClass,
8523
+ titleClassInherited,
8524
+ titleFunction,
8525
+ attr,
8526
+ attribute,
8527
+ literal,
8528
+ meta,
8529
+ number,
8530
+ operator,
8531
+ variable,
8532
+ selectorAttr,
8533
+ selectorClass,
8534
+ selectorId,
8535
+ regexp,
8536
+ string,
8537
+ metaString,
8538
+ builtIn,
8539
+ symbol,
8540
+ comment,
8541
+ code,
8542
+ formula,
8543
+ name,
8544
+ quote,
8545
+ selectorTag,
8546
+ selectorPseudo,
8547
+ subst,
8548
+ section,
8549
+ bullet,
8550
+ emphasis,
8551
+ strong,
8552
+ addition,
8553
+ deletion,
8554
+ charEscape,
8555
+ link: link$2,
8556
+ params,
8557
+ property,
8558
+ punctuation,
8559
+ tag,
8560
+ } = {
8561
+ root: { selector: () => '.hljs' },
8562
+ docTag: { selector: () => '.hljs-doctag' },
8563
+ keyword: { selector: () => '.hljs-keyword' },
8564
+ metaKeyword: { selector: () => '.hljs-meta .hljs-keyword' },
8565
+ templateTag: { selector: () => '.hljs-template-tag' },
8566
+ templateVariable: { selector: () => '.hljs-template-variable' },
8567
+ type: { selector: () => '.hljs-type' },
8568
+ variableLanguage: { selector: () => '.hljs-variable.language' },
8569
+ title: { selector: () => '.hljs-title' },
8570
+ titleClass: { selector: () => '.hljs-title.class_' },
8571
+ titleClassInherited: { selector: () => '.hljs-title.class_.inherited__' },
8572
+ titleFunction: { selector: () => '.hljs-title.function_' },
8573
+ attr: { selector: () => '.hljs-attr' },
8574
+ attribute: { selector: () => '.hljs-attribute' },
8575
+ literal: { selector: () => '.hljs-literal' },
8576
+ meta: { selector: () => '.hljs-meta' },
8577
+ number: { selector: () => '.hljs-number' },
8578
+ operator: { selector: () => '.hljs-operator' },
8579
+ variable: { selector: () => '.hljs-variable' },
8580
+ selectorAttr: { selector: () => '.hljs-selector-attr' },
8581
+ selectorClass: { selector: () => '.hljs-selector-class' },
8582
+ selectorId: { selector: () => '.hljs-selector-id' },
8583
+ regexp: { selector: () => '.hljs-regexp' },
8584
+ string: { selector: () => '.hljs-string' },
8585
+ metaString: { selector: () => '.hljs-meta .hljs-string' },
8586
+ builtIn: { selector: () => '.hljs-built_in' },
8587
+ symbol: { selector: () => '.hljs-symbol' },
8588
+ comment: { selector: () => '.hljs-comment' },
8589
+ code: { selector: () => '.hljs-code' },
8590
+ formula: { selector: () => '.hljs-formula' },
8591
+ name: { selector: () => '.hljs-name' },
8592
+ quote: { selector: () => '.hljs-quote' },
8593
+ selectorTag: { selector: () => '.hljs-selector-tag' },
8594
+ selectorPseudo: { selector: () => '.hljs-selector-pseudo' },
8595
+ subst: { selector: () => '.hljs-subst' },
8596
+ section: { selector: () => '.hljs-section' },
8597
+ bullet: { selector: () => '.hljs-bullet' },
8598
+ emphasis: { selector: () => '.hljs-emphasis' },
8599
+ strong: { selector: () => '.hljs-strong' },
8600
+ addition: { selector: () => '.hljs-addition' },
8601
+ deletion: { selector: () => '.hljs-deletion' },
8602
+ charEscape: { selector: () => '.hljs-char.escape' },
8603
+ link: { selector: () => '.hljs-link' },
8604
+ params: { selector: () => '.hljs-params' },
8605
+ property: { selector: () => '.hljs-property' },
8606
+ punctuation: { selector: () => '.hljs-punctuation' },
8607
+ tag: { selector: () => '.hljs-tag' },
8608
+ };
8609
+
8610
+ const CodeSnippetClass = compose(
8611
+ createStyleMixin({
8612
+ mappings: {
8613
+ rootBgColor: { ...root, property: 'background-color' },
8614
+ rootTextColor: { ...root, property: 'color' },
8615
+ docTagTextColor: { ...docTag, property: 'color' },
8616
+ keywordTextColor: { ...keyword, property: 'color' },
8617
+ metaKeywordTextColor: { ...metaKeyword, property: 'color' },
8618
+ templateTagTextColor: { ...templateTag, property: 'color' },
8619
+ templateVariableTextColor: { ...templateVariable, property: 'color' },
8620
+ typeTextColor: { ...type, property: 'color' },
8621
+ variableLanguageTextColor: { ...variableLanguage, property: 'color' },
8622
+ titleTextColor: { ...title, property: 'color' },
8623
+ titleClassTextColor: { ...titleClass, property: 'color' },
8624
+ titleClassInheritedTextColor: { ...titleClassInherited, property: 'color' },
8625
+ titleFunctionTextColor: { ...titleFunction, property: 'color' },
8626
+ attrTextColor: { ...attr, property: 'color' },
8627
+ attributeTextColor: { ...attribute, property: 'color' },
8628
+ literalTextColor: { ...literal, property: 'color' },
8629
+ metaTextColor: { ...meta, property: 'color' },
8630
+ numberTextColor: { ...number, property: 'color' },
8631
+ operatorTextColor: { ...operator, property: 'color' },
8632
+ variableTextColor: { ...variable, property: 'color' },
8633
+ selectorAttrTextColor: { ...selectorAttr, property: 'color' },
8634
+ selectorClassTextColor: { ...selectorClass, property: 'color' },
8635
+ selectorIdTextColor: { ...selectorId, property: 'color' },
8636
+ regexpTextColor: { ...regexp, property: 'color' },
8637
+ stringTextColor: { ...string, property: 'color' },
8638
+ metaStringTextColor: { ...metaString, property: 'color' },
8639
+ builtInTextColor: { ...builtIn, property: 'color' },
8640
+ symbolTextColor: { ...symbol, property: 'color' },
8641
+ commentTextColor: { ...comment, property: 'color' },
8642
+ codeTextColor: { ...code, property: 'color' },
8643
+ formulaTextColor: { ...formula, property: 'color' },
8644
+ nameTextColor: { ...name, property: 'color' },
8645
+ quoteTextColor: { ...quote, property: 'color' },
8646
+ selectorTagTextColor: { ...selectorTag, property: 'color' },
8647
+ selectorPseudoTextColor: { ...selectorPseudo, property: 'color' },
8648
+ substTextColor: { ...subst, property: 'color' },
8649
+ sectionTextColor: { ...section, property: 'color' },
8650
+ bulletTextColor: { ...bullet, property: 'color' },
8651
+ emphasisTextColor: { ...emphasis, property: 'color' },
8652
+ strongTextColor: { ...strong, property: 'color' },
8653
+ additionTextColor: { ...addition, property: 'color' },
8654
+ additionBgColor: { ...addition, property: 'background-color' },
8655
+ deletionTextColor: { ...deletion, property: 'color' },
8656
+ deletionBgColor: { ...deletion, property: 'background-color' },
8657
+ charEscapeTextColor: { ...charEscape, property: 'color' },
8658
+ linkTextColor: { ...link$2, property: 'color' },
8659
+ paramsTextColor: { ...params, property: 'color' },
8660
+ propertyTextColor: { ...property, property: 'color' },
8661
+ punctuationTextColor: { ...punctuation, property: 'color' },
8662
+ tagTextColor: { ...tag, property: 'color' },
8663
+ },
8664
+ }),
8665
+ draggableMixin,
8666
+ componentNameValidationMixin
8667
+ )(CodeSnippet$1);
8668
+
8669
+ customElements.define(componentName$h, CodeSnippetClass);
8670
+
8427
8671
  const isValidDataType = (data) => {
8428
8672
  const isValid = Array.isArray(data);
8429
8673
  if (!isValid) {
@@ -8486,7 +8730,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
8486
8730
  `;
8487
8731
  };
8488
8732
 
8489
- const componentName$h = getComponentName('grid');
8733
+ const componentName$g = getComponentName('grid');
8490
8734
 
8491
8735
  const GridMixin = (superclass) =>
8492
8736
  class GridMixinClass extends superclass {
@@ -8506,7 +8750,6 @@ const GridMixin = (superclass) =>
8506
8750
  // this renders the details panel content
8507
8751
  // in order to open it, the descope-grid-item-details-column should be used
8508
8752
  #rowDetailsRenderer = async (cell, _col, model) => {
8509
- await Promise.resolve().then(function () { return index; });
8510
8753
  // prevent details panel from being scrolled into view when clicked
8511
8754
  cell.addEventListener('mousedown', (e) => e.stopImmediatePropagation(), true);
8512
8755
 
@@ -8833,13 +9076,13 @@ const GridClass = compose(
8833
9076
  /*!css*/
8834
9077
  `,
8835
9078
  excludeAttrsSync: ['columns', 'tabindex'],
8836
- componentName: componentName$h,
9079
+ componentName: componentName$g,
8837
9080
  })
8838
9081
  );
8839
9082
 
8840
- customElements.define(componentName$h, GridClass);
9083
+ customElements.define(componentName$g, GridClass);
8841
9084
 
8842
- const componentName$g = getComponentName('multi-select-combo-box');
9085
+ const componentName$f = getComponentName('multi-select-combo-box');
8843
9086
 
8844
9087
  const multiSelectComboBoxMixin = (superclass) =>
8845
9088
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -9473,16 +9716,16 @@ const MultiSelectComboBoxClass = compose(
9473
9716
  // Note: we exclude `placeholder` because the vaadin component observes it and
9474
9717
  // tries to override it, causing us to lose the user set placeholder.
9475
9718
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
9476
- componentName: componentName$g,
9719
+ componentName: componentName$f,
9477
9720
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
9478
9721
  })
9479
9722
  );
9480
9723
 
9481
- customElements.define(componentName$g, MultiSelectComboBoxClass);
9724
+ customElements.define(componentName$f, MultiSelectComboBoxClass);
9482
9725
 
9483
- const componentName$f = getComponentName('badge');
9726
+ const componentName$e = getComponentName('badge');
9484
9727
 
9485
- class RawBadge extends createBaseClass({ componentName: componentName$f, baseSelector: ':host > div' }) {
9728
+ class RawBadge extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > div' }) {
9486
9729
  constructor() {
9487
9730
  super();
9488
9731
 
@@ -9533,9 +9776,9 @@ const BadgeClass = compose(
9533
9776
  componentNameValidationMixin
9534
9777
  )(RawBadge);
9535
9778
 
9536
- customElements.define(componentName$f, BadgeClass);
9779
+ customElements.define(componentName$e, BadgeClass);
9537
9780
 
9538
- const componentName$e = getComponentName('modal');
9781
+ const componentName$d = getComponentName('modal');
9539
9782
 
9540
9783
  const customMixin$3 = (superclass) =>
9541
9784
  class ModalMixinClass extends superclass {
@@ -9634,11 +9877,11 @@ const ModalClass = compose(
9634
9877
  wrappedEleName: 'vaadin-dialog',
9635
9878
  style: () => ``,
9636
9879
  excludeAttrsSync: ['tabindex', 'opened'],
9637
- componentName: componentName$e,
9880
+ componentName: componentName$d,
9638
9881
  })
9639
9882
  );
9640
9883
 
9641
- customElements.define(componentName$e, ModalClass);
9884
+ customElements.define(componentName$d, ModalClass);
9642
9885
 
9643
9886
  const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
9644
9887
 
@@ -9649,7 +9892,7 @@ if (!vaadinContainerClass) {
9649
9892
  class NotificationContainerClass extends vaadinContainerClass {}
9650
9893
  customElements.define(getComponentName('notification-container'), NotificationContainerClass);
9651
9894
 
9652
- const componentName$d = getComponentName('notification-card');
9895
+ const componentName$c = getComponentName('notification-card');
9653
9896
 
9654
9897
  const notificationCardMixin = (superclass) =>
9655
9898
  class NotificationCardMixinClass extends superclass {
@@ -9757,13 +10000,13 @@ const NotificationCardClass = compose(
9757
10000
  }
9758
10001
  `,
9759
10002
  excludeAttrsSync: ['tabindex'],
9760
- componentName: componentName$d,
10003
+ componentName: componentName$c,
9761
10004
  })
9762
10005
  );
9763
10006
 
9764
- customElements.define(componentName$d, NotificationCardClass);
10007
+ customElements.define(componentName$c, NotificationCardClass);
9765
10008
 
9766
- const componentName$c = getComponentName('notification');
10009
+ const componentName$b = getComponentName('notification');
9767
10010
 
9768
10011
  const NotificationMixin = (superclass) =>
9769
10012
  class NotificationMixinClass extends superclass {
@@ -9858,14 +10101,14 @@ const NotificationClass = compose(
9858
10101
  createProxy({
9859
10102
  wrappedEleName: 'vaadin-notification',
9860
10103
  excludeAttrsSync: ['tabindex'],
9861
- componentName: componentName$c,
10104
+ componentName: componentName$b,
9862
10105
  })
9863
10106
  );
9864
10107
 
9865
- customElements.define(componentName$c, NotificationClass);
10108
+ customElements.define(componentName$b, NotificationClass);
9866
10109
 
9867
- const componentName$b = getComponentName('avatar');
9868
- class RawAvatar extends createBaseClass({ componentName: componentName$b, baseSelector: ':host > .wrapper' }) {
10110
+ const componentName$a = getComponentName('avatar');
10111
+ class RawAvatar extends createBaseClass({ componentName: componentName$a, baseSelector: ':host > .wrapper' }) {
9869
10112
  constructor() {
9870
10113
  super();
9871
10114
 
@@ -9966,13 +10209,13 @@ const AvatarClass = compose(
9966
10209
  componentNameValidationMixin
9967
10210
  )(RawAvatar);
9968
10211
 
9969
- customElements.define(componentName$b, AvatarClass);
10212
+ customElements.define(componentName$a, AvatarClass);
9970
10213
 
9971
10214
  customElements.define(componentName$X, IconClass);
9972
10215
 
9973
- const componentName$a = getComponentName('mappings-field-internal');
10216
+ const componentName$9 = getComponentName('mappings-field-internal');
9974
10217
 
9975
- const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
10218
+ const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$9, baseSelector: 'div' });
9976
10219
 
9977
10220
  class MappingsFieldInternal extends BaseInputClass$2 {
9978
10221
  #errorItem;
@@ -10207,7 +10450,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
10207
10450
  }
10208
10451
  }
10209
10452
 
10210
- const componentName$9 = getComponentName('mappings-field');
10453
+ const componentName$8 = getComponentName('mappings-field');
10211
10454
 
10212
10455
  const customMixin$2 = (superclass) =>
10213
10456
  class MappingsFieldMixinClass extends superclass {
@@ -10236,14 +10479,14 @@ const customMixin$2 = (superclass) =>
10236
10479
  const template = document.createElement('template');
10237
10480
 
10238
10481
  template.innerHTML = `
10239
- <${componentName$a}
10482
+ <${componentName$9}
10240
10483
  tabindex="-1"
10241
- ></${componentName$a}>
10484
+ ></${componentName$9}>
10242
10485
  `;
10243
10486
 
10244
10487
  this.baseElement.appendChild(template.content.cloneNode(true));
10245
10488
 
10246
- this.inputElement = this.shadowRoot.querySelector(componentName$a);
10489
+ this.inputElement = this.shadowRoot.querySelector(componentName$9);
10247
10490
 
10248
10491
  forwardAttrs(this, this.inputElement, {
10249
10492
  includeAttrs: [
@@ -10372,17 +10615,17 @@ const MappingsFieldClass = compose(
10372
10615
  'options',
10373
10616
  'error-message',
10374
10617
  ],
10375
- componentName: componentName$9,
10618
+ componentName: componentName$8,
10376
10619
  })
10377
10620
  );
10378
10621
 
10379
- customElements.define(componentName$a, MappingsFieldInternal);
10622
+ customElements.define(componentName$9, MappingsFieldInternal);
10380
10623
 
10381
- const componentName$8 = getComponentName('mapping-item');
10624
+ const componentName$7 = getComponentName('mapping-item');
10382
10625
 
10383
10626
  const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
10384
10627
 
10385
- const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$8, baseSelector: 'div' });
10628
+ const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$7, baseSelector: 'div' });
10386
10629
 
10387
10630
  class MappingItem extends BaseInputClass$1 {
10388
10631
  static get observedAttributes() {
@@ -10532,17 +10775,17 @@ class MappingItem extends BaseInputClass$1 {
10532
10775
  }
10533
10776
  }
10534
10777
 
10535
- customElements.define(componentName$8, MappingItem);
10778
+ customElements.define(componentName$7, MappingItem);
10536
10779
 
10537
- customElements.define(componentName$9, MappingsFieldClass);
10780
+ customElements.define(componentName$8, MappingsFieldClass);
10538
10781
 
10539
10782
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
10540
10783
 
10541
10784
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
10542
10785
 
10543
- const componentName$7 = getComponentName('user-attribute');
10786
+ const componentName$6 = getComponentName('user-attribute');
10544
10787
  class RawUserAttribute extends createBaseClass({
10545
- componentName: componentName$7,
10788
+ componentName: componentName$6,
10546
10789
  baseSelector: ':host > .root',
10547
10790
  }) {
10548
10791
  constructor() {
@@ -10772,13 +11015,13 @@ const UserAttributeClass = compose(
10772
11015
  componentNameValidationMixin
10773
11016
  )(RawUserAttribute);
10774
11017
 
10775
- customElements.define(componentName$7, UserAttributeClass);
11018
+ customElements.define(componentName$6, UserAttributeClass);
10776
11019
 
10777
11020
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
10778
11021
 
10779
- const componentName$6 = getComponentName('user-auth-method');
11022
+ const componentName$5 = getComponentName('user-auth-method');
10780
11023
  class RawUserAuthMethod extends createBaseClass({
10781
- componentName: componentName$6,
11024
+ componentName: componentName$5,
10782
11025
  baseSelector: ':host > .root',
10783
11026
  }) {
10784
11027
  constructor() {
@@ -10970,11 +11213,11 @@ const UserAuthMethodClass = compose(
10970
11213
  componentNameValidationMixin
10971
11214
  )(RawUserAuthMethod);
10972
11215
 
10973
- customElements.define(componentName$6, UserAuthMethodClass);
11216
+ customElements.define(componentName$5, UserAuthMethodClass);
10974
11217
 
10975
- const componentName$5 = getComponentName('saml-group-mappings-internal');
11218
+ const componentName$4 = getComponentName('saml-group-mappings-internal');
10976
11219
 
10977
- const BaseInputClass = createBaseInputClass({ componentName: componentName$5, baseSelector: '' });
11220
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$4, baseSelector: '' });
10978
11221
 
10979
11222
  class SamlGroupMappingsInternal extends BaseInputClass {
10980
11223
  static get observedAttributes() {
@@ -11100,7 +11343,7 @@ class SamlGroupMappingsInternal extends BaseInputClass {
11100
11343
  }
11101
11344
  }
11102
11345
 
11103
- const componentName$4 = getComponentName('saml-group-mappings');
11346
+ const componentName$3 = getComponentName('saml-group-mappings');
11104
11347
 
11105
11348
  const customMixin$1 = (superclass) =>
11106
11349
  class SamlGroupMappingsMixinClass extends superclass {
@@ -11110,14 +11353,14 @@ const customMixin$1 = (superclass) =>
11110
11353
  const template = document.createElement('template');
11111
11354
 
11112
11355
  template.innerHTML = `
11113
- <${componentName$5}
11356
+ <${componentName$4}
11114
11357
  tabindex="-1"
11115
- ></${componentName$5}>
11358
+ ></${componentName$4}>
11116
11359
  `;
11117
11360
 
11118
11361
  this.baseElement.appendChild(template.content.cloneNode(true));
11119
11362
 
11120
- this.inputElement = this.shadowRoot.querySelector(componentName$5);
11363
+ this.inputElement = this.shadowRoot.querySelector(componentName$4);
11121
11364
 
11122
11365
  forwardAttrs(this, this.inputElement, {
11123
11366
  includeAttrs: [
@@ -11194,262 +11437,13 @@ const SamlGroupMappingsClass = compose(
11194
11437
  'options',
11195
11438
  'error-message',
11196
11439
  ],
11197
- componentName: componentName$4,
11440
+ componentName: componentName$3,
11198
11441
  })
11199
11442
  );
11200
11443
 
11201
- customElements.define(componentName$5, SamlGroupMappingsInternal);
11202
-
11203
- customElements.define(componentName$4, SamlGroupMappingsClass);
11204
-
11205
- const decode = (input) => {
11206
- const txt = document.createElement('textarea');
11207
- txt.innerHTML = input;
11208
- return txt.value;
11209
- };
11210
-
11211
- const tpl = (input, inline) => {
11212
- return inline ? input : `<pre>${input}</pre>`;
11213
- };
11214
-
11215
- const componentName$3 = getComponentName('code-snippet');
11216
-
11217
- let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$3, baseSelector: ':host > code' }) {
11218
- static get observedAttributes() {
11219
- return ['lang', 'inline'];
11220
- }
11221
-
11222
- constructor() {
11223
- super();
11224
-
11225
- this.attachShadow({ mode: 'open' }).innerHTML = `
11226
- <style>
11227
- :host {
11228
- display: inline-block;
11229
- width: 100%;
11230
- }
11231
- code {
11232
- display: block;
11233
- width: 100%;
11234
- min-height: 1em;
11235
- overflow-x: scroll;
11236
- overflow-y: scroll;
11237
- }
11238
- pre {
11239
- margin: 0;
11240
- }
11241
- </style>
11242
- <code class="hljs"></code>
11243
- `;
11244
- }
11245
-
11246
- init() {
11247
- super.init?.();
11248
-
11249
- this.lang = this.getAttribute('lang');
11250
- this.isInline = this.getAttribute('inline') === 'true';
11251
-
11252
- observeChildren(this, this.#renderSnippet.bind(this));
11253
- }
11254
-
11255
- get contentNode() {
11256
- return this.shadowRoot.querySelector(this.baseSelector);
11257
- }
11258
-
11259
- attributeChangedCallback(attrName, oldValue, newValue) {
11260
- super.attributeChangedCallback?.(attrName, oldValue, newValue);
11261
-
11262
- if (oldValue !== newValue) {
11263
- if (attrName === 'inline') {
11264
- this.isInline = newValue;
11265
- }
11266
-
11267
- if (attrName === 'lang') {
11268
- this.lang = newValue;
11269
- }
11270
-
11271
- this.#renderSnippet();
11272
- }
11273
- }
11274
-
11275
- #renderSnippet() {
11276
- const sanitized = decode(this.textContent);
11277
- const language = this.lang;
11444
+ customElements.define(componentName$4, SamlGroupMappingsInternal);
11278
11445
 
11279
- if (!language) {
11280
- this.contentNode.textContent = sanitized;
11281
- return;
11282
- }
11283
-
11284
- const { value: highlighted } = hljs.highlight(sanitized, { language });
11285
-
11286
- this.contentNode.innerHTML = tpl(highlighted, this.isInline);
11287
- }
11288
- };
11289
-
11290
- const {
11291
- root,
11292
- docTag,
11293
- keyword,
11294
- metaKeyword,
11295
- templateTag,
11296
- templateVariable,
11297
- type,
11298
- variableLanguage,
11299
- title,
11300
- titleClass,
11301
- titleClassInherited,
11302
- titleFunction,
11303
- attr,
11304
- attribute,
11305
- literal,
11306
- meta,
11307
- number,
11308
- operator,
11309
- variable,
11310
- selectorAttr,
11311
- selectorClass,
11312
- selectorId,
11313
- regexp,
11314
- string,
11315
- metaString,
11316
- builtIn,
11317
- symbol,
11318
- comment,
11319
- code,
11320
- formula,
11321
- name,
11322
- quote,
11323
- selectorTag,
11324
- selectorPseudo,
11325
- subst,
11326
- section,
11327
- bullet,
11328
- emphasis,
11329
- strong,
11330
- addition,
11331
- deletion,
11332
- charEscape,
11333
- link: link$2,
11334
- params,
11335
- property,
11336
- punctuation,
11337
- tag,
11338
- } = {
11339
- root: { selector: () => '.hljs' },
11340
- docTag: { selector: () => '.hljs-doctag' },
11341
- keyword: { selector: () => '.hljs-keyword' },
11342
- metaKeyword: { selector: () => '.hljs-meta .hljs-keyword' },
11343
- templateTag: { selector: () => '.hljs-template-tag' },
11344
- templateVariable: { selector: () => '.hljs-template-variable' },
11345
- type: { selector: () => '.hljs-type' },
11346
- variableLanguage: { selector: () => '.hljs-variable.language' },
11347
- title: { selector: () => '.hljs-title' },
11348
- titleClass: { selector: () => '.hljs-title.class_' },
11349
- titleClassInherited: { selector: () => '.hljs-title.class_.inherited__' },
11350
- titleFunction: { selector: () => '.hljs-title.function_' },
11351
- attr: { selector: () => '.hljs-attr' },
11352
- attribute: { selector: () => '.hljs-attribute' },
11353
- literal: { selector: () => '.hljs-literal' },
11354
- meta: { selector: () => '.hljs-meta' },
11355
- number: { selector: () => '.hljs-number' },
11356
- operator: { selector: () => '.hljs-operator' },
11357
- variable: { selector: () => '.hljs-variable' },
11358
- selectorAttr: { selector: () => '.hljs-selector-attr' },
11359
- selectorClass: { selector: () => '.hljs-selector-class' },
11360
- selectorId: { selector: () => '.hljs-selector-id' },
11361
- regexp: { selector: () => '.hljs-regexp' },
11362
- string: { selector: () => '.hljs-string' },
11363
- metaString: { selector: () => '.hljs-meta .hljs-string' },
11364
- builtIn: { selector: () => '.hljs-built_in' },
11365
- symbol: { selector: () => '.hljs-symbol' },
11366
- comment: { selector: () => '.hljs-comment' },
11367
- code: { selector: () => '.hljs-code' },
11368
- formula: { selector: () => '.hljs-formula' },
11369
- name: { selector: () => '.hljs-name' },
11370
- quote: { selector: () => '.hljs-quote' },
11371
- selectorTag: { selector: () => '.hljs-selector-tag' },
11372
- selectorPseudo: { selector: () => '.hljs-selector-pseudo' },
11373
- subst: { selector: () => '.hljs-subst' },
11374
- section: { selector: () => '.hljs-section' },
11375
- bullet: { selector: () => '.hljs-bullet' },
11376
- emphasis: { selector: () => '.hljs-emphasis' },
11377
- strong: { selector: () => '.hljs-strong' },
11378
- addition: { selector: () => '.hljs-addition' },
11379
- deletion: { selector: () => '.hljs-deletion' },
11380
- charEscape: { selector: () => '.hljs-char.escape' },
11381
- link: { selector: () => '.hljs-link' },
11382
- params: { selector: () => '.hljs-params' },
11383
- property: { selector: () => '.hljs-property' },
11384
- punctuation: { selector: () => '.hljs-punctuation' },
11385
- tag: { selector: () => '.hljs-tag' },
11386
- };
11387
-
11388
- const CodeSnippetClass = compose(
11389
- createStyleMixin({
11390
- mappings: {
11391
- rootBgColor: { ...root, property: 'background-color' },
11392
- rootTextColor: { ...root, property: 'color' },
11393
- docTagTextColor: { ...docTag, property: 'color' },
11394
- keywordTextColor: { ...keyword, property: 'color' },
11395
- metaKeywordTextColor: { ...metaKeyword, property: 'color' },
11396
- templateTagTextColor: { ...templateTag, property: 'color' },
11397
- templateVariableTextColor: { ...templateVariable, property: 'color' },
11398
- typeTextColor: { ...type, property: 'color' },
11399
- variableLanguageTextColor: { ...variableLanguage, property: 'color' },
11400
- titleTextColor: { ...title, property: 'color' },
11401
- titleClassTextColor: { ...titleClass, property: 'color' },
11402
- titleClassInheritedTextColor: { ...titleClassInherited, property: 'color' },
11403
- titleFunctionTextColor: { ...titleFunction, property: 'color' },
11404
- attrTextColor: { ...attr, property: 'color' },
11405
- attributeTextColor: { ...attribute, property: 'color' },
11406
- literalTextColor: { ...literal, property: 'color' },
11407
- metaTextColor: { ...meta, property: 'color' },
11408
- numberTextColor: { ...number, property: 'color' },
11409
- operatorTextColor: { ...operator, property: 'color' },
11410
- variableTextColor: { ...variable, property: 'color' },
11411
- selectorAttrTextColor: { ...selectorAttr, property: 'color' },
11412
- selectorClassTextColor: { ...selectorClass, property: 'color' },
11413
- selectorIdTextColor: { ...selectorId, property: 'color' },
11414
- regexpTextColor: { ...regexp, property: 'color' },
11415
- stringTextColor: { ...string, property: 'color' },
11416
- metaStringTextColor: { ...metaString, property: 'color' },
11417
- builtInTextColor: { ...builtIn, property: 'color' },
11418
- symbolTextColor: { ...symbol, property: 'color' },
11419
- commentTextColor: { ...comment, property: 'color' },
11420
- codeTextColor: { ...code, property: 'color' },
11421
- formulaTextColor: { ...formula, property: 'color' },
11422
- nameTextColor: { ...name, property: 'color' },
11423
- quoteTextColor: { ...quote, property: 'color' },
11424
- selectorTagTextColor: { ...selectorTag, property: 'color' },
11425
- selectorPseudoTextColor: { ...selectorPseudo, property: 'color' },
11426
- substTextColor: { ...subst, property: 'color' },
11427
- sectionTextColor: { ...section, property: 'color' },
11428
- bulletTextColor: { ...bullet, property: 'color' },
11429
- emphasisTextColor: { ...emphasis, property: 'color' },
11430
- strongTextColor: { ...strong, property: 'color' },
11431
- additionTextColor: { ...addition, property: 'color' },
11432
- additionBgColor: { ...addition, property: 'background-color' },
11433
- deletionTextColor: { ...deletion, property: 'color' },
11434
- deletionBgColor: { ...deletion, property: 'background-color' },
11435
- charEscapeTextColor: { ...charEscape, property: 'color' },
11436
- linkTextColor: { ...link$2, property: 'color' },
11437
- paramsTextColor: { ...params, property: 'color' },
11438
- propertyTextColor: { ...property, property: 'color' },
11439
- punctuationTextColor: { ...punctuation, property: 'color' },
11440
- tagTextColor: { ...tag, property: 'color' },
11441
- },
11442
- }),
11443
- draggableMixin,
11444
- componentNameValidationMixin
11445
- )(CodeSnippet$1);
11446
-
11447
- customElements.define(componentName$3, CodeSnippetClass);
11448
-
11449
- var index = /*#__PURE__*/Object.freeze({
11450
- __proto__: null,
11451
- CodeSnippetClass: CodeSnippetClass
11452
- });
11446
+ customElements.define(componentName$3, SamlGroupMappingsClass);
11453
11447
 
11454
11448
  const componentName$2 = getComponentName('radio-button');
11455
11449