@descope/web-components-ui 1.0.349 → 1.0.351
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.
- package/dist/cjs/index.cjs.js +33 -11
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +328 -302
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4392.js +1 -1
- package/dist/umd/4978.js +1 -0
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/descope-avatar-index-js.js +1 -1
- package/dist/umd/descope-badge-index-js.js +1 -1
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-code-snippet-index-js.js +1 -1
- package/dist/umd/descope-combo-box-index-js.js +1 -1
- package/dist/umd/descope-container-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-divider-index-js.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +1 -1
- package/dist/umd/descope-enriched-text-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-icon-index-js.js +1 -1
- package/dist/umd/descope-image-index-js.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-loader-linear-index-js.js +1 -1
- package/dist/umd/descope-loader-radial-index-js.js +1 -1
- package/dist/umd/descope-logo-index-js.js +1 -1
- package/dist/umd/descope-modal-index-js.js +1 -1
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
- package/dist/umd/descope-notification-index-js.js +1 -1
- package/dist/umd/descope-notp-image-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-policy-validation-index-js.js +1 -1
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-recaptcha-index-js.js +1 -1
- package/dist/umd/descope-text-area-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/descope-text-index-js.js +1 -1
- package/dist/umd/descope-totp-image-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-grid/GridClass.js +0 -1
- package/src/components/descope-grid/index.js +1 -0
- package/src/components/descope-new-password/NewPasswordClass.js +1 -0
- package/src/components/descope-new-password/descope-new-password-internal/NewPasswordInternal.js +2 -0
- package/src/components/descope-password/PasswordClass.js +32 -3
- package/dist/umd/1000.js +0 -1
- 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';
|
|
@@ -3460,10 +3460,20 @@ const componentName$E = getComponentName('password');
|
|
|
3460
3460
|
|
|
3461
3461
|
const customMixin$7 = (superclass) =>
|
|
3462
3462
|
class PasswordFieldMixinClass extends superclass {
|
|
3463
|
+
static get observedAttributes() {
|
|
3464
|
+
return ['manual-visibility-toggle'];
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
get manualToggleVisibility() {
|
|
3468
|
+
return this.getAttribute('manual-visibility-toggle') === 'true';
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3463
3471
|
init() {
|
|
3464
3472
|
super.init?.();
|
|
3465
|
-
|
|
3466
3473
|
this.handleCaretOnVisibilityChange();
|
|
3474
|
+
this.origSetPasswordVisible = this.baseElement._setPasswordVisible;
|
|
3475
|
+
this.origSetFocused = this.baseElement._setFocused;
|
|
3476
|
+
this.baseElement._setFocused = this.setFocus.bind(this);
|
|
3467
3477
|
}
|
|
3468
3478
|
|
|
3469
3479
|
get caretPosition() {
|
|
@@ -3482,8 +3492,27 @@ const customMixin$7 = (superclass) =>
|
|
|
3482
3492
|
};
|
|
3483
3493
|
}
|
|
3484
3494
|
|
|
3485
|
-
|
|
3486
|
-
|
|
3495
|
+
// We use `manual-visibility-toggle` to to toggle the password's visibility
|
|
3496
|
+
// even if the input field is focused-out. However, on focusout - Vaadin resets
|
|
3497
|
+
// password visibility. Since we don't want to override Vaadin's native setFocus
|
|
3498
|
+
// function (which is part of their FocusMixin).
|
|
3499
|
+
// So, here we override the part of logic that runs within Vaadin's setFocus that reports
|
|
3500
|
+
// the password visibility state. This logic is part of our `manual-visibility-toggle` only.
|
|
3501
|
+
setFocus(focused) {
|
|
3502
|
+
if (this.manualToggleVisibility) {
|
|
3503
|
+
this.baseElement._setPasswordVisible = () => {};
|
|
3504
|
+
}
|
|
3505
|
+
this.origSetFocused.call(this.baseElement, focused);
|
|
3506
|
+
this.baseElement._setPasswordVisible = this.origSetPasswordVisible.bind(this.baseElement);
|
|
3507
|
+
}
|
|
3508
|
+
|
|
3509
|
+
resetPasswordVisibilityToggle() {
|
|
3510
|
+
this.baseElement._setPasswordVisible = this.origSetPasswordVisible;
|
|
3511
|
+
this.baseElement._setFocused = this.origSetFocus;
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
3515
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
3487
3516
|
}
|
|
3488
3517
|
};
|
|
3489
3518
|
|
|
@@ -6802,6 +6831,7 @@ const customMixin$4 = (superclass) =>
|
|
|
6802
6831
|
'available-policies',
|
|
6803
6832
|
'data-password-policy-value-minlength',
|
|
6804
6833
|
'label-type',
|
|
6834
|
+
'manual-visibility-toggle',
|
|
6805
6835
|
],
|
|
6806
6836
|
});
|
|
6807
6837
|
}
|
|
@@ -6949,6 +6979,7 @@ const commonAttrs = [
|
|
|
6949
6979
|
'draggable',
|
|
6950
6980
|
'autocomplete',
|
|
6951
6981
|
'label-type',
|
|
6982
|
+
'manual-visibility-toggle',
|
|
6952
6983
|
];
|
|
6953
6984
|
|
|
6954
6985
|
const inputRelatedAttrs = [].concat(
|
|
@@ -7064,6 +7095,7 @@ class NewPasswordInternal extends BaseInputClass$4 {
|
|
|
7064
7095
|
'available-policies',
|
|
7065
7096
|
'active-policies',
|
|
7066
7097
|
'data-password-policy-value-minlength',
|
|
7098
|
+
'manual-visibility-toggle',
|
|
7067
7099
|
],
|
|
7068
7100
|
mapAttrs: {
|
|
7069
7101
|
'policy-label': 'label',
|
|
@@ -8424,6 +8456,250 @@ const componentName$i = getComponentName('grid-item-details-column');
|
|
|
8424
8456
|
|
|
8425
8457
|
customElements.define(componentName$i, GridItemDetailsColumnClass);
|
|
8426
8458
|
|
|
8459
|
+
const decode = (input) => {
|
|
8460
|
+
const txt = document.createElement('textarea');
|
|
8461
|
+
txt.innerHTML = input;
|
|
8462
|
+
return txt.value;
|
|
8463
|
+
};
|
|
8464
|
+
|
|
8465
|
+
const tpl = (input, inline) => {
|
|
8466
|
+
return inline ? input : `<pre>${input}</pre>`;
|
|
8467
|
+
};
|
|
8468
|
+
|
|
8469
|
+
const componentName$h = getComponentName('code-snippet');
|
|
8470
|
+
|
|
8471
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$h, baseSelector: ':host > code' }) {
|
|
8472
|
+
static get observedAttributes() {
|
|
8473
|
+
return ['lang', 'inline'];
|
|
8474
|
+
}
|
|
8475
|
+
|
|
8476
|
+
constructor() {
|
|
8477
|
+
super();
|
|
8478
|
+
|
|
8479
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
8480
|
+
<style>
|
|
8481
|
+
:host {
|
|
8482
|
+
display: inline-block;
|
|
8483
|
+
width: 100%;
|
|
8484
|
+
}
|
|
8485
|
+
code {
|
|
8486
|
+
display: block;
|
|
8487
|
+
width: 100%;
|
|
8488
|
+
min-height: 1em;
|
|
8489
|
+
overflow-x: scroll;
|
|
8490
|
+
overflow-y: scroll;
|
|
8491
|
+
}
|
|
8492
|
+
pre {
|
|
8493
|
+
margin: 0;
|
|
8494
|
+
}
|
|
8495
|
+
</style>
|
|
8496
|
+
<code class="hljs"></code>
|
|
8497
|
+
`;
|
|
8498
|
+
}
|
|
8499
|
+
|
|
8500
|
+
init() {
|
|
8501
|
+
super.init?.();
|
|
8502
|
+
|
|
8503
|
+
this.lang = this.getAttribute('lang');
|
|
8504
|
+
this.isInline = this.getAttribute('inline') === 'true';
|
|
8505
|
+
|
|
8506
|
+
observeChildren(this, this.#renderSnippet.bind(this));
|
|
8507
|
+
}
|
|
8508
|
+
|
|
8509
|
+
get contentNode() {
|
|
8510
|
+
return this.shadowRoot.querySelector(this.baseSelector);
|
|
8511
|
+
}
|
|
8512
|
+
|
|
8513
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
8514
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
8515
|
+
|
|
8516
|
+
if (oldValue !== newValue) {
|
|
8517
|
+
if (attrName === 'inline') {
|
|
8518
|
+
this.isInline = newValue;
|
|
8519
|
+
}
|
|
8520
|
+
|
|
8521
|
+
if (attrName === 'lang') {
|
|
8522
|
+
this.lang = newValue;
|
|
8523
|
+
}
|
|
8524
|
+
|
|
8525
|
+
this.#renderSnippet();
|
|
8526
|
+
}
|
|
8527
|
+
}
|
|
8528
|
+
|
|
8529
|
+
#renderSnippet() {
|
|
8530
|
+
const sanitized = decode(this.textContent);
|
|
8531
|
+
const language = this.lang;
|
|
8532
|
+
|
|
8533
|
+
if (!language) {
|
|
8534
|
+
this.contentNode.textContent = sanitized;
|
|
8535
|
+
return;
|
|
8536
|
+
}
|
|
8537
|
+
|
|
8538
|
+
const { value: highlighted } = hljs.highlight(sanitized, { language });
|
|
8539
|
+
|
|
8540
|
+
this.contentNode.innerHTML = tpl(highlighted, this.isInline);
|
|
8541
|
+
}
|
|
8542
|
+
};
|
|
8543
|
+
|
|
8544
|
+
const {
|
|
8545
|
+
root,
|
|
8546
|
+
docTag,
|
|
8547
|
+
keyword,
|
|
8548
|
+
metaKeyword,
|
|
8549
|
+
templateTag,
|
|
8550
|
+
templateVariable,
|
|
8551
|
+
type,
|
|
8552
|
+
variableLanguage,
|
|
8553
|
+
title,
|
|
8554
|
+
titleClass,
|
|
8555
|
+
titleClassInherited,
|
|
8556
|
+
titleFunction,
|
|
8557
|
+
attr,
|
|
8558
|
+
attribute,
|
|
8559
|
+
literal,
|
|
8560
|
+
meta,
|
|
8561
|
+
number,
|
|
8562
|
+
operator,
|
|
8563
|
+
variable,
|
|
8564
|
+
selectorAttr,
|
|
8565
|
+
selectorClass,
|
|
8566
|
+
selectorId,
|
|
8567
|
+
regexp,
|
|
8568
|
+
string,
|
|
8569
|
+
metaString,
|
|
8570
|
+
builtIn,
|
|
8571
|
+
symbol,
|
|
8572
|
+
comment,
|
|
8573
|
+
code,
|
|
8574
|
+
formula,
|
|
8575
|
+
name,
|
|
8576
|
+
quote,
|
|
8577
|
+
selectorTag,
|
|
8578
|
+
selectorPseudo,
|
|
8579
|
+
subst,
|
|
8580
|
+
section,
|
|
8581
|
+
bullet,
|
|
8582
|
+
emphasis,
|
|
8583
|
+
strong,
|
|
8584
|
+
addition,
|
|
8585
|
+
deletion,
|
|
8586
|
+
charEscape,
|
|
8587
|
+
link: link$2,
|
|
8588
|
+
params,
|
|
8589
|
+
property,
|
|
8590
|
+
punctuation,
|
|
8591
|
+
tag,
|
|
8592
|
+
} = {
|
|
8593
|
+
root: { selector: () => '.hljs' },
|
|
8594
|
+
docTag: { selector: () => '.hljs-doctag' },
|
|
8595
|
+
keyword: { selector: () => '.hljs-keyword' },
|
|
8596
|
+
metaKeyword: { selector: () => '.hljs-meta .hljs-keyword' },
|
|
8597
|
+
templateTag: { selector: () => '.hljs-template-tag' },
|
|
8598
|
+
templateVariable: { selector: () => '.hljs-template-variable' },
|
|
8599
|
+
type: { selector: () => '.hljs-type' },
|
|
8600
|
+
variableLanguage: { selector: () => '.hljs-variable.language' },
|
|
8601
|
+
title: { selector: () => '.hljs-title' },
|
|
8602
|
+
titleClass: { selector: () => '.hljs-title.class_' },
|
|
8603
|
+
titleClassInherited: { selector: () => '.hljs-title.class_.inherited__' },
|
|
8604
|
+
titleFunction: { selector: () => '.hljs-title.function_' },
|
|
8605
|
+
attr: { selector: () => '.hljs-attr' },
|
|
8606
|
+
attribute: { selector: () => '.hljs-attribute' },
|
|
8607
|
+
literal: { selector: () => '.hljs-literal' },
|
|
8608
|
+
meta: { selector: () => '.hljs-meta' },
|
|
8609
|
+
number: { selector: () => '.hljs-number' },
|
|
8610
|
+
operator: { selector: () => '.hljs-operator' },
|
|
8611
|
+
variable: { selector: () => '.hljs-variable' },
|
|
8612
|
+
selectorAttr: { selector: () => '.hljs-selector-attr' },
|
|
8613
|
+
selectorClass: { selector: () => '.hljs-selector-class' },
|
|
8614
|
+
selectorId: { selector: () => '.hljs-selector-id' },
|
|
8615
|
+
regexp: { selector: () => '.hljs-regexp' },
|
|
8616
|
+
string: { selector: () => '.hljs-string' },
|
|
8617
|
+
metaString: { selector: () => '.hljs-meta .hljs-string' },
|
|
8618
|
+
builtIn: { selector: () => '.hljs-built_in' },
|
|
8619
|
+
symbol: { selector: () => '.hljs-symbol' },
|
|
8620
|
+
comment: { selector: () => '.hljs-comment' },
|
|
8621
|
+
code: { selector: () => '.hljs-code' },
|
|
8622
|
+
formula: { selector: () => '.hljs-formula' },
|
|
8623
|
+
name: { selector: () => '.hljs-name' },
|
|
8624
|
+
quote: { selector: () => '.hljs-quote' },
|
|
8625
|
+
selectorTag: { selector: () => '.hljs-selector-tag' },
|
|
8626
|
+
selectorPseudo: { selector: () => '.hljs-selector-pseudo' },
|
|
8627
|
+
subst: { selector: () => '.hljs-subst' },
|
|
8628
|
+
section: { selector: () => '.hljs-section' },
|
|
8629
|
+
bullet: { selector: () => '.hljs-bullet' },
|
|
8630
|
+
emphasis: { selector: () => '.hljs-emphasis' },
|
|
8631
|
+
strong: { selector: () => '.hljs-strong' },
|
|
8632
|
+
addition: { selector: () => '.hljs-addition' },
|
|
8633
|
+
deletion: { selector: () => '.hljs-deletion' },
|
|
8634
|
+
charEscape: { selector: () => '.hljs-char.escape' },
|
|
8635
|
+
link: { selector: () => '.hljs-link' },
|
|
8636
|
+
params: { selector: () => '.hljs-params' },
|
|
8637
|
+
property: { selector: () => '.hljs-property' },
|
|
8638
|
+
punctuation: { selector: () => '.hljs-punctuation' },
|
|
8639
|
+
tag: { selector: () => '.hljs-tag' },
|
|
8640
|
+
};
|
|
8641
|
+
|
|
8642
|
+
const CodeSnippetClass = compose(
|
|
8643
|
+
createStyleMixin({
|
|
8644
|
+
mappings: {
|
|
8645
|
+
rootBgColor: { ...root, property: 'background-color' },
|
|
8646
|
+
rootTextColor: { ...root, property: 'color' },
|
|
8647
|
+
docTagTextColor: { ...docTag, property: 'color' },
|
|
8648
|
+
keywordTextColor: { ...keyword, property: 'color' },
|
|
8649
|
+
metaKeywordTextColor: { ...metaKeyword, property: 'color' },
|
|
8650
|
+
templateTagTextColor: { ...templateTag, property: 'color' },
|
|
8651
|
+
templateVariableTextColor: { ...templateVariable, property: 'color' },
|
|
8652
|
+
typeTextColor: { ...type, property: 'color' },
|
|
8653
|
+
variableLanguageTextColor: { ...variableLanguage, property: 'color' },
|
|
8654
|
+
titleTextColor: { ...title, property: 'color' },
|
|
8655
|
+
titleClassTextColor: { ...titleClass, property: 'color' },
|
|
8656
|
+
titleClassInheritedTextColor: { ...titleClassInherited, property: 'color' },
|
|
8657
|
+
titleFunctionTextColor: { ...titleFunction, property: 'color' },
|
|
8658
|
+
attrTextColor: { ...attr, property: 'color' },
|
|
8659
|
+
attributeTextColor: { ...attribute, property: 'color' },
|
|
8660
|
+
literalTextColor: { ...literal, property: 'color' },
|
|
8661
|
+
metaTextColor: { ...meta, property: 'color' },
|
|
8662
|
+
numberTextColor: { ...number, property: 'color' },
|
|
8663
|
+
operatorTextColor: { ...operator, property: 'color' },
|
|
8664
|
+
variableTextColor: { ...variable, property: 'color' },
|
|
8665
|
+
selectorAttrTextColor: { ...selectorAttr, property: 'color' },
|
|
8666
|
+
selectorClassTextColor: { ...selectorClass, property: 'color' },
|
|
8667
|
+
selectorIdTextColor: { ...selectorId, property: 'color' },
|
|
8668
|
+
regexpTextColor: { ...regexp, property: 'color' },
|
|
8669
|
+
stringTextColor: { ...string, property: 'color' },
|
|
8670
|
+
metaStringTextColor: { ...metaString, property: 'color' },
|
|
8671
|
+
builtInTextColor: { ...builtIn, property: 'color' },
|
|
8672
|
+
symbolTextColor: { ...symbol, property: 'color' },
|
|
8673
|
+
commentTextColor: { ...comment, property: 'color' },
|
|
8674
|
+
codeTextColor: { ...code, property: 'color' },
|
|
8675
|
+
formulaTextColor: { ...formula, property: 'color' },
|
|
8676
|
+
nameTextColor: { ...name, property: 'color' },
|
|
8677
|
+
quoteTextColor: { ...quote, property: 'color' },
|
|
8678
|
+
selectorTagTextColor: { ...selectorTag, property: 'color' },
|
|
8679
|
+
selectorPseudoTextColor: { ...selectorPseudo, property: 'color' },
|
|
8680
|
+
substTextColor: { ...subst, property: 'color' },
|
|
8681
|
+
sectionTextColor: { ...section, property: 'color' },
|
|
8682
|
+
bulletTextColor: { ...bullet, property: 'color' },
|
|
8683
|
+
emphasisTextColor: { ...emphasis, property: 'color' },
|
|
8684
|
+
strongTextColor: { ...strong, property: 'color' },
|
|
8685
|
+
additionTextColor: { ...addition, property: 'color' },
|
|
8686
|
+
additionBgColor: { ...addition, property: 'background-color' },
|
|
8687
|
+
deletionTextColor: { ...deletion, property: 'color' },
|
|
8688
|
+
deletionBgColor: { ...deletion, property: 'background-color' },
|
|
8689
|
+
charEscapeTextColor: { ...charEscape, property: 'color' },
|
|
8690
|
+
linkTextColor: { ...link$2, property: 'color' },
|
|
8691
|
+
paramsTextColor: { ...params, property: 'color' },
|
|
8692
|
+
propertyTextColor: { ...property, property: 'color' },
|
|
8693
|
+
punctuationTextColor: { ...punctuation, property: 'color' },
|
|
8694
|
+
tagTextColor: { ...tag, property: 'color' },
|
|
8695
|
+
},
|
|
8696
|
+
}),
|
|
8697
|
+
draggableMixin,
|
|
8698
|
+
componentNameValidationMixin
|
|
8699
|
+
)(CodeSnippet$1);
|
|
8700
|
+
|
|
8701
|
+
customElements.define(componentName$h, CodeSnippetClass);
|
|
8702
|
+
|
|
8427
8703
|
const isValidDataType = (data) => {
|
|
8428
8704
|
const isValid = Array.isArray(data);
|
|
8429
8705
|
if (!isValid) {
|
|
@@ -8486,7 +8762,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
|
8486
8762
|
`;
|
|
8487
8763
|
};
|
|
8488
8764
|
|
|
8489
|
-
const componentName$
|
|
8765
|
+
const componentName$g = getComponentName('grid');
|
|
8490
8766
|
|
|
8491
8767
|
const GridMixin = (superclass) =>
|
|
8492
8768
|
class GridMixinClass extends superclass {
|
|
@@ -8506,7 +8782,6 @@ const GridMixin = (superclass) =>
|
|
|
8506
8782
|
// this renders the details panel content
|
|
8507
8783
|
// in order to open it, the descope-grid-item-details-column should be used
|
|
8508
8784
|
#rowDetailsRenderer = async (cell, _col, model) => {
|
|
8509
|
-
await Promise.resolve().then(function () { return index; });
|
|
8510
8785
|
// prevent details panel from being scrolled into view when clicked
|
|
8511
8786
|
cell.addEventListener('mousedown', (e) => e.stopImmediatePropagation(), true);
|
|
8512
8787
|
|
|
@@ -8833,13 +9108,13 @@ const GridClass = compose(
|
|
|
8833
9108
|
/*!css*/
|
|
8834
9109
|
`,
|
|
8835
9110
|
excludeAttrsSync: ['columns', 'tabindex'],
|
|
8836
|
-
componentName: componentName$
|
|
9111
|
+
componentName: componentName$g,
|
|
8837
9112
|
})
|
|
8838
9113
|
);
|
|
8839
9114
|
|
|
8840
|
-
customElements.define(componentName$
|
|
9115
|
+
customElements.define(componentName$g, GridClass);
|
|
8841
9116
|
|
|
8842
|
-
const componentName$
|
|
9117
|
+
const componentName$f = getComponentName('multi-select-combo-box');
|
|
8843
9118
|
|
|
8844
9119
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
8845
9120
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -9473,16 +9748,16 @@ const MultiSelectComboBoxClass = compose(
|
|
|
9473
9748
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
|
9474
9749
|
// tries to override it, causing us to lose the user set placeholder.
|
|
9475
9750
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
|
9476
|
-
componentName: componentName$
|
|
9751
|
+
componentName: componentName$f,
|
|
9477
9752
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
9478
9753
|
})
|
|
9479
9754
|
);
|
|
9480
9755
|
|
|
9481
|
-
customElements.define(componentName$
|
|
9756
|
+
customElements.define(componentName$f, MultiSelectComboBoxClass);
|
|
9482
9757
|
|
|
9483
|
-
const componentName$
|
|
9758
|
+
const componentName$e = getComponentName('badge');
|
|
9484
9759
|
|
|
9485
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
|
9760
|
+
class RawBadge extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > div' }) {
|
|
9486
9761
|
constructor() {
|
|
9487
9762
|
super();
|
|
9488
9763
|
|
|
@@ -9533,9 +9808,9 @@ const BadgeClass = compose(
|
|
|
9533
9808
|
componentNameValidationMixin
|
|
9534
9809
|
)(RawBadge);
|
|
9535
9810
|
|
|
9536
|
-
customElements.define(componentName$
|
|
9811
|
+
customElements.define(componentName$e, BadgeClass);
|
|
9537
9812
|
|
|
9538
|
-
const componentName$
|
|
9813
|
+
const componentName$d = getComponentName('modal');
|
|
9539
9814
|
|
|
9540
9815
|
const customMixin$3 = (superclass) =>
|
|
9541
9816
|
class ModalMixinClass extends superclass {
|
|
@@ -9634,11 +9909,11 @@ const ModalClass = compose(
|
|
|
9634
9909
|
wrappedEleName: 'vaadin-dialog',
|
|
9635
9910
|
style: () => ``,
|
|
9636
9911
|
excludeAttrsSync: ['tabindex', 'opened'],
|
|
9637
|
-
componentName: componentName$
|
|
9912
|
+
componentName: componentName$d,
|
|
9638
9913
|
})
|
|
9639
9914
|
);
|
|
9640
9915
|
|
|
9641
|
-
customElements.define(componentName$
|
|
9916
|
+
customElements.define(componentName$d, ModalClass);
|
|
9642
9917
|
|
|
9643
9918
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
|
9644
9919
|
|
|
@@ -9649,7 +9924,7 @@ if (!vaadinContainerClass) {
|
|
|
9649
9924
|
class NotificationContainerClass extends vaadinContainerClass {}
|
|
9650
9925
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
|
9651
9926
|
|
|
9652
|
-
const componentName$
|
|
9927
|
+
const componentName$c = getComponentName('notification-card');
|
|
9653
9928
|
|
|
9654
9929
|
const notificationCardMixin = (superclass) =>
|
|
9655
9930
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -9757,13 +10032,13 @@ const NotificationCardClass = compose(
|
|
|
9757
10032
|
}
|
|
9758
10033
|
`,
|
|
9759
10034
|
excludeAttrsSync: ['tabindex'],
|
|
9760
|
-
componentName: componentName$
|
|
10035
|
+
componentName: componentName$c,
|
|
9761
10036
|
})
|
|
9762
10037
|
);
|
|
9763
10038
|
|
|
9764
|
-
customElements.define(componentName$
|
|
10039
|
+
customElements.define(componentName$c, NotificationCardClass);
|
|
9765
10040
|
|
|
9766
|
-
const componentName$
|
|
10041
|
+
const componentName$b = getComponentName('notification');
|
|
9767
10042
|
|
|
9768
10043
|
const NotificationMixin = (superclass) =>
|
|
9769
10044
|
class NotificationMixinClass extends superclass {
|
|
@@ -9858,14 +10133,14 @@ const NotificationClass = compose(
|
|
|
9858
10133
|
createProxy({
|
|
9859
10134
|
wrappedEleName: 'vaadin-notification',
|
|
9860
10135
|
excludeAttrsSync: ['tabindex'],
|
|
9861
|
-
componentName: componentName$
|
|
10136
|
+
componentName: componentName$b,
|
|
9862
10137
|
})
|
|
9863
10138
|
);
|
|
9864
10139
|
|
|
9865
|
-
customElements.define(componentName$
|
|
10140
|
+
customElements.define(componentName$b, NotificationClass);
|
|
9866
10141
|
|
|
9867
|
-
const componentName$
|
|
9868
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
|
10142
|
+
const componentName$a = getComponentName('avatar');
|
|
10143
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$a, baseSelector: ':host > .wrapper' }) {
|
|
9869
10144
|
constructor() {
|
|
9870
10145
|
super();
|
|
9871
10146
|
|
|
@@ -9966,13 +10241,13 @@ const AvatarClass = compose(
|
|
|
9966
10241
|
componentNameValidationMixin
|
|
9967
10242
|
)(RawAvatar);
|
|
9968
10243
|
|
|
9969
|
-
customElements.define(componentName$
|
|
10244
|
+
customElements.define(componentName$a, AvatarClass);
|
|
9970
10245
|
|
|
9971
10246
|
customElements.define(componentName$X, IconClass);
|
|
9972
10247
|
|
|
9973
|
-
const componentName$
|
|
10248
|
+
const componentName$9 = getComponentName('mappings-field-internal');
|
|
9974
10249
|
|
|
9975
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
|
10250
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$9, baseSelector: 'div' });
|
|
9976
10251
|
|
|
9977
10252
|
class MappingsFieldInternal extends BaseInputClass$2 {
|
|
9978
10253
|
#errorItem;
|
|
@@ -10207,7 +10482,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
|
|
|
10207
10482
|
}
|
|
10208
10483
|
}
|
|
10209
10484
|
|
|
10210
|
-
const componentName$
|
|
10485
|
+
const componentName$8 = getComponentName('mappings-field');
|
|
10211
10486
|
|
|
10212
10487
|
const customMixin$2 = (superclass) =>
|
|
10213
10488
|
class MappingsFieldMixinClass extends superclass {
|
|
@@ -10236,14 +10511,14 @@ const customMixin$2 = (superclass) =>
|
|
|
10236
10511
|
const template = document.createElement('template');
|
|
10237
10512
|
|
|
10238
10513
|
template.innerHTML = `
|
|
10239
|
-
<${componentName$
|
|
10514
|
+
<${componentName$9}
|
|
10240
10515
|
tabindex="-1"
|
|
10241
|
-
></${componentName$
|
|
10516
|
+
></${componentName$9}>
|
|
10242
10517
|
`;
|
|
10243
10518
|
|
|
10244
10519
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
10245
10520
|
|
|
10246
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
10521
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$9);
|
|
10247
10522
|
|
|
10248
10523
|
forwardAttrs(this, this.inputElement, {
|
|
10249
10524
|
includeAttrs: [
|
|
@@ -10372,17 +10647,17 @@ const MappingsFieldClass = compose(
|
|
|
10372
10647
|
'options',
|
|
10373
10648
|
'error-message',
|
|
10374
10649
|
],
|
|
10375
|
-
componentName: componentName$
|
|
10650
|
+
componentName: componentName$8,
|
|
10376
10651
|
})
|
|
10377
10652
|
);
|
|
10378
10653
|
|
|
10379
|
-
customElements.define(componentName$
|
|
10654
|
+
customElements.define(componentName$9, MappingsFieldInternal);
|
|
10380
10655
|
|
|
10381
|
-
const componentName$
|
|
10656
|
+
const componentName$7 = getComponentName('mapping-item');
|
|
10382
10657
|
|
|
10383
10658
|
const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
|
|
10384
10659
|
|
|
10385
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
|
10660
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$7, baseSelector: 'div' });
|
|
10386
10661
|
|
|
10387
10662
|
class MappingItem extends BaseInputClass$1 {
|
|
10388
10663
|
static get observedAttributes() {
|
|
@@ -10532,17 +10807,17 @@ class MappingItem extends BaseInputClass$1 {
|
|
|
10532
10807
|
}
|
|
10533
10808
|
}
|
|
10534
10809
|
|
|
10535
|
-
customElements.define(componentName$
|
|
10810
|
+
customElements.define(componentName$7, MappingItem);
|
|
10536
10811
|
|
|
10537
|
-
customElements.define(componentName$
|
|
10812
|
+
customElements.define(componentName$8, MappingsFieldClass);
|
|
10538
10813
|
|
|
10539
10814
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
10540
10815
|
|
|
10541
10816
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
10542
10817
|
|
|
10543
|
-
const componentName$
|
|
10818
|
+
const componentName$6 = getComponentName('user-attribute');
|
|
10544
10819
|
class RawUserAttribute extends createBaseClass({
|
|
10545
|
-
componentName: componentName$
|
|
10820
|
+
componentName: componentName$6,
|
|
10546
10821
|
baseSelector: ':host > .root',
|
|
10547
10822
|
}) {
|
|
10548
10823
|
constructor() {
|
|
@@ -10772,13 +11047,13 @@ const UserAttributeClass = compose(
|
|
|
10772
11047
|
componentNameValidationMixin
|
|
10773
11048
|
)(RawUserAttribute);
|
|
10774
11049
|
|
|
10775
|
-
customElements.define(componentName$
|
|
11050
|
+
customElements.define(componentName$6, UserAttributeClass);
|
|
10776
11051
|
|
|
10777
11052
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
10778
11053
|
|
|
10779
|
-
const componentName$
|
|
11054
|
+
const componentName$5 = getComponentName('user-auth-method');
|
|
10780
11055
|
class RawUserAuthMethod extends createBaseClass({
|
|
10781
|
-
componentName: componentName$
|
|
11056
|
+
componentName: componentName$5,
|
|
10782
11057
|
baseSelector: ':host > .root',
|
|
10783
11058
|
}) {
|
|
10784
11059
|
constructor() {
|
|
@@ -10970,11 +11245,11 @@ const UserAuthMethodClass = compose(
|
|
|
10970
11245
|
componentNameValidationMixin
|
|
10971
11246
|
)(RawUserAuthMethod);
|
|
10972
11247
|
|
|
10973
|
-
customElements.define(componentName$
|
|
11248
|
+
customElements.define(componentName$5, UserAuthMethodClass);
|
|
10974
11249
|
|
|
10975
|
-
const componentName$
|
|
11250
|
+
const componentName$4 = getComponentName('saml-group-mappings-internal');
|
|
10976
11251
|
|
|
10977
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
|
11252
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$4, baseSelector: '' });
|
|
10978
11253
|
|
|
10979
11254
|
class SamlGroupMappingsInternal extends BaseInputClass {
|
|
10980
11255
|
static get observedAttributes() {
|
|
@@ -11100,7 +11375,7 @@ class SamlGroupMappingsInternal extends BaseInputClass {
|
|
|
11100
11375
|
}
|
|
11101
11376
|
}
|
|
11102
11377
|
|
|
11103
|
-
const componentName$
|
|
11378
|
+
const componentName$3 = getComponentName('saml-group-mappings');
|
|
11104
11379
|
|
|
11105
11380
|
const customMixin$1 = (superclass) =>
|
|
11106
11381
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
@@ -11110,14 +11385,14 @@ const customMixin$1 = (superclass) =>
|
|
|
11110
11385
|
const template = document.createElement('template');
|
|
11111
11386
|
|
|
11112
11387
|
template.innerHTML = `
|
|
11113
|
-
<${componentName$
|
|
11388
|
+
<${componentName$4}
|
|
11114
11389
|
tabindex="-1"
|
|
11115
|
-
></${componentName$
|
|
11390
|
+
></${componentName$4}>
|
|
11116
11391
|
`;
|
|
11117
11392
|
|
|
11118
11393
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
11119
11394
|
|
|
11120
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
11395
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$4);
|
|
11121
11396
|
|
|
11122
11397
|
forwardAttrs(this, this.inputElement, {
|
|
11123
11398
|
includeAttrs: [
|
|
@@ -11194,262 +11469,13 @@ const SamlGroupMappingsClass = compose(
|
|
|
11194
11469
|
'options',
|
|
11195
11470
|
'error-message',
|
|
11196
11471
|
],
|
|
11197
|
-
componentName: componentName$
|
|
11472
|
+
componentName: componentName$3,
|
|
11198
11473
|
})
|
|
11199
11474
|
);
|
|
11200
11475
|
|
|
11201
|
-
customElements.define(componentName$
|
|
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;
|
|
11278
|
-
|
|
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);
|
|
11476
|
+
customElements.define(componentName$4, SamlGroupMappingsInternal);
|
|
11446
11477
|
|
|
11447
|
-
customElements.define(componentName$3,
|
|
11448
|
-
|
|
11449
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
11450
|
-
__proto__: null,
|
|
11451
|
-
CodeSnippetClass: CodeSnippetClass
|
|
11452
|
-
});
|
|
11478
|
+
customElements.define(componentName$3, SamlGroupMappingsClass);
|
|
11453
11479
|
|
|
11454
11480
|
const componentName$2 = getComponentName('radio-button');
|
|
11455
11481
|
|