@descope/web-components-ui 2.2.25 → 2.2.27
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 +329 -225
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +423 -318
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +1 -1
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-collapsible-container.js +1 -1
- package/dist/umd/descope-collapsible-container.js.map +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
- package/dist/umd/descope-honeypot.js +2 -0
- package/dist/umd/descope-honeypot.js.map +1 -0
- package/dist/umd/descope-icon.js +1 -1
- package/dist/umd/descope-icon.js.map +1 -1
- package/dist/umd/descope-outbound-app-button.js +1 -1
- package/dist/umd/descope-outbound-app-button.js.map +1 -1
- package/dist/umd/descope-outbound-apps.js +1 -1
- package/dist/umd/descope-outbound-apps.js.map +1 -1
- package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
- package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -1
- package/dist/umd/descope-timer-button.js +1 -1
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-timer.js +1 -1
- package/dist/umd/descope-timer.js.map +1 -1
- package/dist/umd/descope-trusted-devices.js +1 -1
- package/dist/umd/descope-trusted-devices.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +30 -29
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3049,12 +3049,12 @@ const createImage = async (src, altText) => {
|
|
|
3049
3049
|
|
|
3050
3050
|
/* eslint-disable no-use-before-define */
|
|
3051
3051
|
|
|
3052
|
-
const componentName$
|
|
3052
|
+
const componentName$1h = getComponentName('image');
|
|
3053
3053
|
|
|
3054
3054
|
const srcAttrs = ['src', 'src-dark'];
|
|
3055
3055
|
|
|
3056
3056
|
class RawImage extends createBaseClass$1({
|
|
3057
|
-
componentName: componentName$
|
|
3057
|
+
componentName: componentName$1h,
|
|
3058
3058
|
baseSelector: 'slot',
|
|
3059
3059
|
}) {
|
|
3060
3060
|
static get observedAttributes() {
|
|
@@ -3182,7 +3182,7 @@ const ImageClass = compose(
|
|
|
3182
3182
|
componentNameValidationMixin$1,
|
|
3183
3183
|
)(RawImage);
|
|
3184
3184
|
|
|
3185
|
-
const componentName$
|
|
3185
|
+
const componentName$1g = getComponentName('icon');
|
|
3186
3186
|
|
|
3187
3187
|
const IconClass = compose(
|
|
3188
3188
|
createStyleMixin$1({
|
|
@@ -3199,10 +3199,11 @@ const IconClass = compose(
|
|
|
3199
3199
|
style: () => `
|
|
3200
3200
|
:host {
|
|
3201
3201
|
display: inline-flex;
|
|
3202
|
+
max-height: 100%;
|
|
3202
3203
|
}
|
|
3203
3204
|
`,
|
|
3204
3205
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
3205
|
-
componentName: componentName$
|
|
3206
|
+
componentName: componentName$1g,
|
|
3206
3207
|
}),
|
|
3207
3208
|
);
|
|
3208
3209
|
|
|
@@ -3217,7 +3218,7 @@ const clickableMixin = (superclass) =>
|
|
|
3217
3218
|
}
|
|
3218
3219
|
};
|
|
3219
3220
|
|
|
3220
|
-
const componentName$
|
|
3221
|
+
const componentName$1f = getComponentName('button');
|
|
3221
3222
|
|
|
3222
3223
|
const resetStyles = `
|
|
3223
3224
|
:host {
|
|
@@ -3333,7 +3334,7 @@ const ButtonClass = compose(
|
|
|
3333
3334
|
}
|
|
3334
3335
|
`,
|
|
3335
3336
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
3336
|
-
componentName: componentName$
|
|
3337
|
+
componentName: componentName$1f,
|
|
3337
3338
|
})
|
|
3338
3339
|
);
|
|
3339
3340
|
|
|
@@ -3381,7 +3382,7 @@ const mode = {
|
|
|
3381
3382
|
surface: globalRefs$H.colors.surface,
|
|
3382
3383
|
};
|
|
3383
3384
|
|
|
3384
|
-
const [helperTheme$6, helperRefs$6, helperVars$6] = createHelperVars$1({ mode }, componentName$
|
|
3385
|
+
const [helperTheme$6, helperRefs$6, helperVars$6] = createHelperVars$1({ mode }, componentName$1f);
|
|
3385
3386
|
|
|
3386
3387
|
const button = {
|
|
3387
3388
|
...helperTheme$6,
|
|
@@ -5135,7 +5136,7 @@ var textFieldMappings = {
|
|
|
5135
5136
|
inputIconColor: { ...inputIcon, property: 'color' },
|
|
5136
5137
|
};
|
|
5137
5138
|
|
|
5138
|
-
const componentName$
|
|
5139
|
+
const componentName$1e = getComponentName$1('text-field');
|
|
5139
5140
|
|
|
5140
5141
|
const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
|
|
5141
5142
|
|
|
@@ -5257,11 +5258,11 @@ const TextFieldClass = compose$1(
|
|
|
5257
5258
|
}
|
|
5258
5259
|
`,
|
|
5259
5260
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
5260
|
-
componentName: componentName$
|
|
5261
|
+
componentName: componentName$1e,
|
|
5261
5262
|
})
|
|
5262
5263
|
);
|
|
5263
5264
|
|
|
5264
|
-
const componentName$
|
|
5265
|
+
const componentName$1d = getComponentName$1('input-wrapper');
|
|
5265
5266
|
const globalRefs$G = getThemeRefs(globals$1);
|
|
5266
5267
|
|
|
5267
5268
|
const [theme$2, refs$1, vars$12] = createHelperVars(
|
|
@@ -5383,7 +5384,7 @@ const [theme$2, refs$1, vars$12] = createHelperVars(
|
|
|
5383
5384
|
backgroundColor: globalRefs$G.colors.surface.main,
|
|
5384
5385
|
},
|
|
5385
5386
|
},
|
|
5386
|
-
componentName$
|
|
5387
|
+
componentName$1d
|
|
5387
5388
|
);
|
|
5388
5389
|
|
|
5389
5390
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
@@ -5496,7 +5497,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
|
5496
5497
|
}
|
|
5497
5498
|
};
|
|
5498
5499
|
|
|
5499
|
-
const componentName$
|
|
5500
|
+
const componentName$1c = getComponentName$1('password');
|
|
5500
5501
|
|
|
5501
5502
|
const customMixin$d = (superclass) =>
|
|
5502
5503
|
class PasswordFieldMixinClass extends superclass {
|
|
@@ -5780,7 +5781,7 @@ const PasswordClass = compose$1(
|
|
|
5780
5781
|
}
|
|
5781
5782
|
`,
|
|
5782
5783
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
5783
|
-
componentName: componentName$
|
|
5784
|
+
componentName: componentName$1c,
|
|
5784
5785
|
})
|
|
5785
5786
|
);
|
|
5786
5787
|
|
|
@@ -5839,7 +5840,7 @@ var password$1 = /*#__PURE__*/Object.freeze({
|
|
|
5839
5840
|
vars: vars$10
|
|
5840
5841
|
});
|
|
5841
5842
|
|
|
5842
|
-
const componentName$
|
|
5843
|
+
const componentName$1b = getComponentName$1('number-field');
|
|
5843
5844
|
|
|
5844
5845
|
const NumberFieldClass = compose$1(
|
|
5845
5846
|
createStyleMixin({
|
|
@@ -5873,7 +5874,7 @@ const NumberFieldClass = compose$1(
|
|
|
5873
5874
|
}
|
|
5874
5875
|
`,
|
|
5875
5876
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
5876
|
-
componentName: componentName$
|
|
5877
|
+
componentName: componentName$1b,
|
|
5877
5878
|
})
|
|
5878
5879
|
);
|
|
5879
5880
|
|
|
@@ -5929,7 +5930,7 @@ var numberField$1 = /*#__PURE__*/Object.freeze({
|
|
|
5929
5930
|
vars: vars$$
|
|
5930
5931
|
});
|
|
5931
5932
|
|
|
5932
|
-
const componentName$
|
|
5933
|
+
const componentName$1a = getComponentName$1('email-field');
|
|
5933
5934
|
|
|
5934
5935
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
|
5935
5936
|
const defaultAutocomplete = 'username';
|
|
@@ -5998,7 +5999,7 @@ const EmailFieldClass = compose$1(
|
|
|
5998
5999
|
}
|
|
5999
6000
|
`,
|
|
6000
6001
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
6001
|
-
componentName: componentName$
|
|
6002
|
+
componentName: componentName$1a,
|
|
6002
6003
|
})
|
|
6003
6004
|
);
|
|
6004
6005
|
|
|
@@ -6054,7 +6055,7 @@ var emailField$1 = /*#__PURE__*/Object.freeze({
|
|
|
6054
6055
|
vars: vars$_
|
|
6055
6056
|
});
|
|
6056
6057
|
|
|
6057
|
-
const componentName$
|
|
6058
|
+
const componentName$19 = getComponentName$1('text-area');
|
|
6058
6059
|
|
|
6059
6060
|
const {
|
|
6060
6061
|
host: host$t,
|
|
@@ -6137,7 +6138,7 @@ const TextAreaClass = compose$1(
|
|
|
6137
6138
|
${resetInputCursor('vaadin-text-area')}
|
|
6138
6139
|
`,
|
|
6139
6140
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
6140
|
-
componentName: componentName$
|
|
6141
|
+
componentName: componentName$19,
|
|
6141
6142
|
})
|
|
6142
6143
|
);
|
|
6143
6144
|
|
|
@@ -6215,9 +6216,9 @@ const decodeHTML = (html) => {
|
|
|
6215
6216
|
/* eslint-disable no-param-reassign */
|
|
6216
6217
|
|
|
6217
6218
|
|
|
6218
|
-
const componentName$
|
|
6219
|
+
const componentName$18 = getComponentName('enriched-text');
|
|
6219
6220
|
|
|
6220
|
-
class EnrichedText extends createBaseClass$1({ componentName: componentName$
|
|
6221
|
+
class EnrichedText extends createBaseClass$1({ componentName: componentName$18, baseSelector: ':host > div' }) {
|
|
6221
6222
|
#origLinkRenderer;
|
|
6222
6223
|
|
|
6223
6224
|
#origEmRenderer;
|
|
@@ -6430,9 +6431,9 @@ const createBaseInputClass = (...args) =>
|
|
|
6430
6431
|
inputEventsDispatchingMixin
|
|
6431
6432
|
)(createBaseClass(...args));
|
|
6432
6433
|
|
|
6433
|
-
const componentName$
|
|
6434
|
+
const componentName$17 = getComponentName$1('boolean-field-internal');
|
|
6434
6435
|
|
|
6435
|
-
createBaseInputClass({ componentName: componentName$
|
|
6436
|
+
createBaseInputClass({ componentName: componentName$17, baseSelector: 'div' });
|
|
6436
6437
|
|
|
6437
6438
|
const booleanFieldMixin = (superclass) =>
|
|
6438
6439
|
class BooleanFieldMixinClass extends superclass {
|
|
@@ -6441,14 +6442,14 @@ const booleanFieldMixin = (superclass) =>
|
|
|
6441
6442
|
|
|
6442
6443
|
const template = document.createElement('template');
|
|
6443
6444
|
template.innerHTML = `
|
|
6444
|
-
<${componentName$
|
|
6445
|
+
<${componentName$17}
|
|
6445
6446
|
tabindex="-1"
|
|
6446
6447
|
slot="input"
|
|
6447
|
-
></${componentName$
|
|
6448
|
+
></${componentName$17}>
|
|
6448
6449
|
`;
|
|
6449
6450
|
|
|
6450
6451
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
6451
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
6452
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$17);
|
|
6452
6453
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
6453
6454
|
|
|
6454
6455
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -6526,7 +6527,7 @@ descope-enriched-text {
|
|
|
6526
6527
|
|
|
6527
6528
|
`;
|
|
6528
6529
|
|
|
6529
|
-
const componentName$
|
|
6530
|
+
const componentName$16 = getComponentName$1('checkbox');
|
|
6530
6531
|
|
|
6531
6532
|
const {
|
|
6532
6533
|
host: host$s,
|
|
@@ -6662,7 +6663,7 @@ const CheckboxClass = compose$1(
|
|
|
6662
6663
|
}
|
|
6663
6664
|
`,
|
|
6664
6665
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
6665
|
-
componentName: componentName$
|
|
6666
|
+
componentName: componentName$16,
|
|
6666
6667
|
})
|
|
6667
6668
|
);
|
|
6668
6669
|
|
|
@@ -6707,7 +6708,7 @@ var checkbox$1 = /*#__PURE__*/Object.freeze({
|
|
|
6707
6708
|
vars: vars$Y
|
|
6708
6709
|
});
|
|
6709
6710
|
|
|
6710
|
-
const componentName$
|
|
6711
|
+
const componentName$15 = getComponentName$1('switch-toggle');
|
|
6711
6712
|
|
|
6712
6713
|
const {
|
|
6713
6714
|
host: host$r,
|
|
@@ -6851,7 +6852,7 @@ const SwitchToggleClass = compose$1(
|
|
|
6851
6852
|
}
|
|
6852
6853
|
`,
|
|
6853
6854
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
6854
|
-
componentName: componentName$
|
|
6855
|
+
componentName: componentName$15,
|
|
6855
6856
|
})
|
|
6856
6857
|
);
|
|
6857
6858
|
|
|
@@ -6932,9 +6933,9 @@ var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
|
|
6932
6933
|
vars: vars$X
|
|
6933
6934
|
});
|
|
6934
6935
|
|
|
6935
|
-
const componentName$
|
|
6936
|
+
const componentName$14 = getComponentName$1('container');
|
|
6936
6937
|
|
|
6937
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
|
6938
|
+
class RawContainer extends createBaseClass({ componentName: componentName$14, baseSelector: 'slot' }) {
|
|
6938
6939
|
constructor() {
|
|
6939
6940
|
super();
|
|
6940
6941
|
|
|
@@ -7019,7 +7020,7 @@ const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars(
|
|
|
7019
7020
|
horizontalAlignment,
|
|
7020
7021
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
7021
7022
|
},
|
|
7022
|
-
componentName$
|
|
7023
|
+
componentName$14
|
|
7023
7024
|
);
|
|
7024
7025
|
|
|
7025
7026
|
const { shadowColor: shadowColor$5 } = helperRefs$5;
|
|
@@ -7184,10 +7185,10 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
|
7184
7185
|
return CssVarImageClass;
|
|
7185
7186
|
};
|
|
7186
7187
|
|
|
7187
|
-
const componentName$
|
|
7188
|
+
const componentName$13 = getComponentName$1('logo');
|
|
7188
7189
|
|
|
7189
7190
|
const LogoClass = createCssVarImageClass({
|
|
7190
|
-
componentName: componentName$
|
|
7191
|
+
componentName: componentName$13,
|
|
7191
7192
|
varName: 'url',
|
|
7192
7193
|
fallbackVarName: 'fallbackUrl',
|
|
7193
7194
|
});
|
|
@@ -7204,10 +7205,10 @@ var logo$3 = /*#__PURE__*/Object.freeze({
|
|
|
7204
7205
|
vars: vars$V
|
|
7205
7206
|
});
|
|
7206
7207
|
|
|
7207
|
-
const componentName$
|
|
7208
|
+
const componentName$12 = getComponentName$1('totp-image');
|
|
7208
7209
|
|
|
7209
7210
|
const TotpImageClass = createCssVarImageClass({
|
|
7210
|
-
componentName: componentName$
|
|
7211
|
+
componentName: componentName$12,
|
|
7211
7212
|
varName: 'url',
|
|
7212
7213
|
fallbackVarName: 'fallbackUrl',
|
|
7213
7214
|
});
|
|
@@ -7224,10 +7225,10 @@ var totpImage = /*#__PURE__*/Object.freeze({
|
|
|
7224
7225
|
vars: vars$U
|
|
7225
7226
|
});
|
|
7226
7227
|
|
|
7227
|
-
const componentName$
|
|
7228
|
+
const componentName$11 = getComponentName$1('notp-image');
|
|
7228
7229
|
|
|
7229
7230
|
const NotpImageClass = createCssVarImageClass({
|
|
7230
|
-
componentName: componentName$
|
|
7231
|
+
componentName: componentName$11,
|
|
7231
7232
|
varName: 'url',
|
|
7232
7233
|
fallbackVarName: 'fallbackUrl',
|
|
7233
7234
|
});
|
|
@@ -7244,10 +7245,10 @@ var notpImage = /*#__PURE__*/Object.freeze({
|
|
|
7244
7245
|
vars: vars$T
|
|
7245
7246
|
});
|
|
7246
7247
|
|
|
7247
|
-
const componentName
|
|
7248
|
+
const componentName$10 = getComponentName('text');
|
|
7248
7249
|
|
|
7249
7250
|
class RawText extends createBaseClass$1({
|
|
7250
|
-
componentName: componentName
|
|
7251
|
+
componentName: componentName$10,
|
|
7251
7252
|
baseSelector: ':host > slot',
|
|
7252
7253
|
}) {
|
|
7253
7254
|
constructor() {
|
|
@@ -7416,9 +7417,9 @@ var text$4 = /*#__PURE__*/Object.freeze({
|
|
|
7416
7417
|
vars: vars$S
|
|
7417
7418
|
});
|
|
7418
7419
|
|
|
7419
|
-
const componentName
|
|
7420
|
+
const componentName$$ = getComponentName('link');
|
|
7420
7421
|
|
|
7421
|
-
class RawLink extends createBaseClass$1({ componentName: componentName
|
|
7422
|
+
class RawLink extends createBaseClass$1({ componentName: componentName$$, baseSelector: ':host a' }) {
|
|
7422
7423
|
constructor() {
|
|
7423
7424
|
super();
|
|
7424
7425
|
|
|
@@ -7569,8 +7570,8 @@ var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
|
7569
7570
|
vars: vars$Q
|
|
7570
7571
|
});
|
|
7571
7572
|
|
|
7572
|
-
const componentName$
|
|
7573
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
7573
|
+
const componentName$_ = getComponentName$1('divider');
|
|
7574
|
+
class RawDivider extends createBaseClass({ componentName: componentName$_, baseSelector: ':host > div' }) {
|
|
7574
7575
|
constructor() {
|
|
7575
7576
|
super();
|
|
7576
7577
|
|
|
@@ -7681,7 +7682,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars(
|
|
|
7681
7682
|
thickness: '2px',
|
|
7682
7683
|
spacing: '10px',
|
|
7683
7684
|
},
|
|
7684
|
-
componentName$
|
|
7685
|
+
componentName$_
|
|
7685
7686
|
);
|
|
7686
7687
|
|
|
7687
7688
|
const divider = {
|
|
@@ -7725,13 +7726,13 @@ var divider$1 = /*#__PURE__*/Object.freeze({
|
|
|
7725
7726
|
|
|
7726
7727
|
/* eslint-disable no-param-reassign */
|
|
7727
7728
|
|
|
7728
|
-
const componentName$
|
|
7729
|
+
const componentName$Z = getComponentName$1('passcode-internal');
|
|
7729
7730
|
|
|
7730
|
-
createBaseInputClass({ componentName: componentName$
|
|
7731
|
+
createBaseInputClass({ componentName: componentName$Z, baseSelector: 'div' });
|
|
7731
7732
|
|
|
7732
|
-
const componentName$
|
|
7733
|
+
const componentName$Y = getComponentName$1('loader-radial');
|
|
7733
7734
|
|
|
7734
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
7735
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$Y, baseSelector: ':host > div' }) {
|
|
7735
7736
|
constructor() {
|
|
7736
7737
|
super();
|
|
7737
7738
|
|
|
@@ -7779,7 +7780,7 @@ const LoaderRadialClass = compose$1(
|
|
|
7779
7780
|
componentNameValidationMixin
|
|
7780
7781
|
)(RawLoaderRadial);
|
|
7781
7782
|
|
|
7782
|
-
const componentName$
|
|
7783
|
+
const componentName$X = getComponentName$1('passcode');
|
|
7783
7784
|
|
|
7784
7785
|
const observedAttributes$4 = ['digits'];
|
|
7785
7786
|
|
|
@@ -7824,18 +7825,18 @@ const customMixin$b = (superclass) =>
|
|
|
7824
7825
|
const template = document.createElement('template');
|
|
7825
7826
|
|
|
7826
7827
|
template.innerHTML = `
|
|
7827
|
-
<${componentName$
|
|
7828
|
+
<${componentName$Z}
|
|
7828
7829
|
bordered="true"
|
|
7829
7830
|
name="code"
|
|
7830
7831
|
tabindex="-1"
|
|
7831
7832
|
slot="input"
|
|
7832
7833
|
role="textbox"
|
|
7833
|
-
><slot></slot></${componentName$
|
|
7834
|
+
><slot></slot></${componentName$Z}>
|
|
7834
7835
|
`;
|
|
7835
7836
|
|
|
7836
7837
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
7837
7838
|
|
|
7838
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
7839
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$Z);
|
|
7839
7840
|
|
|
7840
7841
|
forwardAttrs$1(this, this.inputElement, {
|
|
7841
7842
|
includeAttrs: ['digits', 'size', 'loading', 'disabled'],
|
|
@@ -7998,7 +7999,7 @@ const PasscodeClass = compose$1(
|
|
|
7998
7999
|
${resetInputCursor('vaadin-text-field')}
|
|
7999
8000
|
`,
|
|
8000
8001
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
8001
|
-
componentName: componentName$
|
|
8002
|
+
componentName: componentName$X,
|
|
8002
8003
|
})
|
|
8003
8004
|
);
|
|
8004
8005
|
|
|
@@ -8051,11 +8052,11 @@ var passcode$1 = /*#__PURE__*/Object.freeze({
|
|
|
8051
8052
|
vars: vars$O
|
|
8052
8053
|
});
|
|
8053
8054
|
|
|
8054
|
-
const componentName$
|
|
8055
|
+
const componentName$W = getComponentName$1('loader-linear');
|
|
8055
8056
|
|
|
8056
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
|
8057
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$W, baseSelector: ':host > div' }) {
|
|
8057
8058
|
static get componentName() {
|
|
8058
|
-
return componentName$
|
|
8059
|
+
return componentName$W;
|
|
8059
8060
|
}
|
|
8060
8061
|
|
|
8061
8062
|
constructor() {
|
|
@@ -8180,7 +8181,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
|
8180
8181
|
},
|
|
8181
8182
|
},
|
|
8182
8183
|
},
|
|
8183
|
-
componentName$
|
|
8184
|
+
componentName$Y
|
|
8184
8185
|
);
|
|
8185
8186
|
|
|
8186
8187
|
const loaderRadial = {
|
|
@@ -8220,7 +8221,7 @@ var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
|
|
8220
8221
|
vars: vars$M
|
|
8221
8222
|
});
|
|
8222
8223
|
|
|
8223
|
-
const componentName$
|
|
8224
|
+
const componentName$V = getComponentName('combo-box');
|
|
8224
8225
|
|
|
8225
8226
|
const ComboBoxMixin = (superclass) =>
|
|
8226
8227
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -8876,12 +8877,12 @@ const ComboBoxClass = compose(
|
|
|
8876
8877
|
// and reset items to an empty array, and opening the list box with no items
|
|
8877
8878
|
// to display.
|
|
8878
8879
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
|
|
8879
|
-
componentName: componentName$
|
|
8880
|
+
componentName: componentName$V,
|
|
8880
8881
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
8881
8882
|
}),
|
|
8882
8883
|
);
|
|
8883
8884
|
|
|
8884
|
-
const componentName$
|
|
8885
|
+
const componentName$U = getComponentName('input-wrapper');
|
|
8885
8886
|
const globalRefs$v = getThemeRefs$1(globals);
|
|
8886
8887
|
|
|
8887
8888
|
const [theme$1, refs] = createHelperVars$1(
|
|
@@ -9004,7 +9005,7 @@ const [theme$1, refs] = createHelperVars$1(
|
|
|
9004
9005
|
backgroundColor: globalRefs$v.colors.surface.main,
|
|
9005
9006
|
},
|
|
9006
9007
|
},
|
|
9007
|
-
componentName$
|
|
9008
|
+
componentName$U,
|
|
9008
9009
|
);
|
|
9009
9010
|
|
|
9010
9011
|
const globalRefs$u = getThemeRefs$1(globals);
|
|
@@ -10322,14 +10323,14 @@ var CountryCodes = [
|
|
|
10322
10323
|
].sort((a, b) => (a.name < b.name ? -1 : 1)),
|
|
10323
10324
|
];
|
|
10324
10325
|
|
|
10325
|
-
const componentName$
|
|
10326
|
+
const componentName$T = getComponentName$1('phone-field-internal');
|
|
10326
10327
|
|
|
10327
|
-
createBaseInputClass({ componentName: componentName$
|
|
10328
|
+
createBaseInputClass({ componentName: componentName$T, baseSelector: 'div' });
|
|
10328
10329
|
|
|
10329
10330
|
const textVars$3 = TextFieldClass.cssVarList;
|
|
10330
10331
|
const comboVars = ComboBoxClass.cssVarList;
|
|
10331
10332
|
|
|
10332
|
-
const componentName$
|
|
10333
|
+
const componentName$S = getComponentName$1('phone-field');
|
|
10333
10334
|
|
|
10334
10335
|
const customMixin$a = (superclass) =>
|
|
10335
10336
|
class PhoneFieldMixinClass extends superclass {
|
|
@@ -10343,15 +10344,15 @@ const customMixin$a = (superclass) =>
|
|
|
10343
10344
|
const template = document.createElement('template');
|
|
10344
10345
|
|
|
10345
10346
|
template.innerHTML = `
|
|
10346
|
-
<${componentName$
|
|
10347
|
+
<${componentName$T}
|
|
10347
10348
|
tabindex="-1"
|
|
10348
10349
|
slot="input"
|
|
10349
|
-
></${componentName$
|
|
10350
|
+
></${componentName$T}>
|
|
10350
10351
|
`;
|
|
10351
10352
|
|
|
10352
10353
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
10353
10354
|
|
|
10354
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
10355
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$T);
|
|
10355
10356
|
|
|
10356
10357
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
|
10357
10358
|
includeAttrs: [
|
|
@@ -10624,7 +10625,7 @@ const PhoneFieldClass = compose$1(
|
|
|
10624
10625
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
10625
10626
|
`,
|
|
10626
10627
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
10627
|
-
componentName: componentName$
|
|
10628
|
+
componentName: componentName$S,
|
|
10628
10629
|
})
|
|
10629
10630
|
);
|
|
10630
10631
|
|
|
@@ -10674,13 +10675,13 @@ var phoneField$1 = /*#__PURE__*/Object.freeze({
|
|
|
10674
10675
|
vars: vars$K
|
|
10675
10676
|
});
|
|
10676
10677
|
|
|
10677
|
-
const componentName$
|
|
10678
|
+
const componentName$R = getComponentName$1('phone-field-internal-input-box');
|
|
10678
10679
|
|
|
10679
|
-
createBaseInputClass({ componentName: componentName$
|
|
10680
|
+
createBaseInputClass({ componentName: componentName$R, baseSelector: 'div' });
|
|
10680
10681
|
|
|
10681
10682
|
const textVars$2 = TextFieldClass.cssVarList;
|
|
10682
10683
|
|
|
10683
|
-
const componentName$
|
|
10684
|
+
const componentName$Q = getComponentName$1('phone-input-box-field');
|
|
10684
10685
|
|
|
10685
10686
|
const customMixin$9 = (superclass) =>
|
|
10686
10687
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
|
@@ -10694,15 +10695,15 @@ const customMixin$9 = (superclass) =>
|
|
|
10694
10695
|
const template = document.createElement('template');
|
|
10695
10696
|
|
|
10696
10697
|
template.innerHTML = `
|
|
10697
|
-
<${componentName$
|
|
10698
|
+
<${componentName$R}
|
|
10698
10699
|
tabindex="-1"
|
|
10699
10700
|
slot="input"
|
|
10700
|
-
></${componentName$
|
|
10701
|
+
></${componentName$R}>
|
|
10701
10702
|
`;
|
|
10702
10703
|
|
|
10703
10704
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
10704
10705
|
|
|
10705
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
10706
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$R);
|
|
10706
10707
|
|
|
10707
10708
|
syncAttrs(this, this.inputElement, { includeAttrs: ['has-value'] });
|
|
10708
10709
|
|
|
@@ -10909,7 +10910,7 @@ const PhoneFieldInputBoxClass = compose$1(
|
|
|
10909
10910
|
${inputFloatingLabelStyle()}
|
|
10910
10911
|
`,
|
|
10911
10912
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
10912
|
-
componentName: componentName$
|
|
10913
|
+
componentName: componentName$Q,
|
|
10913
10914
|
})
|
|
10914
10915
|
);
|
|
10915
10916
|
|
|
@@ -10965,14 +10966,14 @@ var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
|
|
10965
10966
|
vars: vars$J
|
|
10966
10967
|
});
|
|
10967
10968
|
|
|
10968
|
-
const componentName$
|
|
10969
|
+
const componentName$P = getComponentName$1('new-password-internal');
|
|
10969
10970
|
|
|
10970
10971
|
const interpolateString = (template, values) =>
|
|
10971
10972
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
|
10972
10973
|
|
|
10973
10974
|
// eslint-disable-next-line max-classes-per-file
|
|
10974
10975
|
|
|
10975
|
-
const componentName$
|
|
10976
|
+
const componentName$O = getComponentName$1('policy-validation');
|
|
10976
10977
|
|
|
10977
10978
|
const overrideAttrs = [
|
|
10978
10979
|
'data-password-policy-value-minlength',
|
|
@@ -10982,7 +10983,7 @@ const overrideAttrs = [
|
|
|
10982
10983
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
|
10983
10984
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
|
10984
10985
|
|
|
10985
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
|
10986
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$O, baseSelector: ':host > div' }) {
|
|
10986
10987
|
#availablePolicies;
|
|
10987
10988
|
|
|
10988
10989
|
#activePolicies = [];
|
|
@@ -11254,7 +11255,7 @@ const PolicyValidationClass = compose$1(
|
|
|
11254
11255
|
componentNameValidationMixin
|
|
11255
11256
|
)(RawPolicyValidation);
|
|
11256
11257
|
|
|
11257
|
-
const componentName$
|
|
11258
|
+
const componentName$N = getComponentName$1('new-password');
|
|
11258
11259
|
|
|
11259
11260
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
|
11260
11261
|
|
|
@@ -11268,18 +11269,18 @@ const customMixin$8 = (superclass) =>
|
|
|
11268
11269
|
const externalInputAttr = this.getAttribute('external-input');
|
|
11269
11270
|
|
|
11270
11271
|
template.innerHTML = `
|
|
11271
|
-
<${componentName$
|
|
11272
|
+
<${componentName$P}
|
|
11272
11273
|
name="new-password"
|
|
11273
11274
|
tabindex="-1"
|
|
11274
11275
|
slot="input"
|
|
11275
11276
|
external-input="${externalInputAttr}"
|
|
11276
11277
|
>
|
|
11277
|
-
</${componentName$
|
|
11278
|
+
</${componentName$P}>
|
|
11278
11279
|
`;
|
|
11279
11280
|
|
|
11280
11281
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
11281
11282
|
|
|
11282
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
11283
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$P);
|
|
11283
11284
|
|
|
11284
11285
|
if (this.getAttribute('external-input') === 'true') {
|
|
11285
11286
|
this.initExternalInput();
|
|
@@ -11464,7 +11465,7 @@ const NewPasswordClass = compose$1(
|
|
|
11464
11465
|
}
|
|
11465
11466
|
`,
|
|
11466
11467
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
11467
|
-
componentName: componentName$
|
|
11468
|
+
componentName: componentName$N,
|
|
11468
11469
|
})
|
|
11469
11470
|
);
|
|
11470
11471
|
|
|
@@ -11520,7 +11521,7 @@ const getFilename = (fileObj) => {
|
|
|
11520
11521
|
return fileObj.name.replace(/^.*\\/, '');
|
|
11521
11522
|
};
|
|
11522
11523
|
|
|
11523
|
-
const componentName$
|
|
11524
|
+
const componentName$M = getComponentName$1('upload-file');
|
|
11524
11525
|
|
|
11525
11526
|
const observedAttributes$3 = [
|
|
11526
11527
|
'title',
|
|
@@ -11535,7 +11536,7 @@ const observedAttributes$3 = [
|
|
|
11535
11536
|
'icon',
|
|
11536
11537
|
];
|
|
11537
11538
|
|
|
11538
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
|
11539
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$M, baseSelector: ':host > div' });
|
|
11539
11540
|
|
|
11540
11541
|
class RawUploadFile extends BaseInputClass$4 {
|
|
11541
11542
|
static get observedAttributes() {
|
|
@@ -11821,10 +11822,10 @@ var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
|
|
11821
11822
|
vars: vars$H
|
|
11822
11823
|
});
|
|
11823
11824
|
|
|
11824
|
-
const componentName$
|
|
11825
|
+
const componentName$L = getComponentName$1('button-selection-group-item');
|
|
11825
11826
|
|
|
11826
11827
|
class RawSelectItem extends createBaseClass({
|
|
11827
|
-
componentName: componentName$
|
|
11828
|
+
componentName: componentName$L,
|
|
11828
11829
|
baseSelector: ':host > descope-button',
|
|
11829
11830
|
}) {
|
|
11830
11831
|
get size() {
|
|
@@ -12058,10 +12059,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
|
12058
12059
|
return BaseButtonSelectionGroupInternalClass;
|
|
12059
12060
|
};
|
|
12060
12061
|
|
|
12061
|
-
const componentName$
|
|
12062
|
+
const componentName$K = getComponentName$1('button-selection-group-internal');
|
|
12062
12063
|
|
|
12063
12064
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
12064
|
-
componentName$
|
|
12065
|
+
componentName$K
|
|
12065
12066
|
) {
|
|
12066
12067
|
getSelectedNode() {
|
|
12067
12068
|
return this.items.find((item) => item.hasAttribute('selected'));
|
|
@@ -12306,7 +12307,7 @@ const buttonSelectionGroupStyles = `
|
|
|
12306
12307
|
${resetInputCursor('vaadin-text-field')}
|
|
12307
12308
|
`;
|
|
12308
12309
|
|
|
12309
|
-
const componentName$
|
|
12310
|
+
const componentName$J = getComponentName$1('button-selection-group');
|
|
12310
12311
|
|
|
12311
12312
|
const buttonSelectionGroupMixin = (superclass) =>
|
|
12312
12313
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -12315,19 +12316,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
|
12315
12316
|
const template = document.createElement('template');
|
|
12316
12317
|
|
|
12317
12318
|
template.innerHTML = `
|
|
12318
|
-
<${componentName$
|
|
12319
|
+
<${componentName$K}
|
|
12319
12320
|
name="button-selection-group"
|
|
12320
12321
|
slot="input"
|
|
12321
12322
|
tabindex="-1"
|
|
12322
12323
|
part="internal-component"
|
|
12323
12324
|
>
|
|
12324
12325
|
<slot></slot>
|
|
12325
|
-
</${componentName$
|
|
12326
|
+
</${componentName$K}>
|
|
12326
12327
|
`;
|
|
12327
12328
|
|
|
12328
12329
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
12329
12330
|
|
|
12330
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
12331
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$K);
|
|
12331
12332
|
|
|
12332
12333
|
forwardAttrs$1(this, this.inputElement, {
|
|
12333
12334
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
|
@@ -12352,7 +12353,7 @@ const ButtonSelectionGroupClass = compose$1(
|
|
|
12352
12353
|
wrappedEleName: 'vaadin-text-field',
|
|
12353
12354
|
style: () => buttonSelectionGroupStyles,
|
|
12354
12355
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12355
|
-
componentName: componentName$
|
|
12356
|
+
componentName: componentName$J,
|
|
12356
12357
|
})
|
|
12357
12358
|
);
|
|
12358
12359
|
|
|
@@ -12389,10 +12390,10 @@ var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
|
12389
12390
|
vars: vars$F
|
|
12390
12391
|
});
|
|
12391
12392
|
|
|
12392
|
-
const componentName$
|
|
12393
|
+
const componentName$I = getComponentName$1('button-multi-selection-group-internal');
|
|
12393
12394
|
|
|
12394
12395
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
12395
|
-
componentName$
|
|
12396
|
+
componentName$I
|
|
12396
12397
|
) {
|
|
12397
12398
|
#getSelectedNodes() {
|
|
12398
12399
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
|
@@ -12495,7 +12496,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
|
12495
12496
|
}
|
|
12496
12497
|
}
|
|
12497
12498
|
|
|
12498
|
-
const componentName$
|
|
12499
|
+
const componentName$H = getComponentName$1('button-multi-selection-group');
|
|
12499
12500
|
|
|
12500
12501
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
12501
12502
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -12504,19 +12505,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
|
12504
12505
|
const template = document.createElement('template');
|
|
12505
12506
|
|
|
12506
12507
|
template.innerHTML = `
|
|
12507
|
-
<${componentName$
|
|
12508
|
+
<${componentName$I}
|
|
12508
12509
|
name="button-selection-group"
|
|
12509
12510
|
slot="input"
|
|
12510
12511
|
tabindex="-1"
|
|
12511
12512
|
part="internal-component"
|
|
12512
12513
|
>
|
|
12513
12514
|
<slot></slot>
|
|
12514
|
-
</${componentName$
|
|
12515
|
+
</${componentName$I}>
|
|
12515
12516
|
`;
|
|
12516
12517
|
|
|
12517
12518
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
12518
12519
|
|
|
12519
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
12520
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$I);
|
|
12520
12521
|
|
|
12521
12522
|
forwardAttrs$1(this, this.inputElement, {
|
|
12522
12523
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
|
@@ -12541,7 +12542,7 @@ const ButtonMultiSelectionGroupClass = compose$1(
|
|
|
12541
12542
|
wrappedEleName: 'vaadin-text-field',
|
|
12542
12543
|
style: () => buttonSelectionGroupStyles,
|
|
12543
12544
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12544
|
-
componentName: componentName$
|
|
12545
|
+
componentName: componentName$H,
|
|
12545
12546
|
})
|
|
12546
12547
|
);
|
|
12547
12548
|
|
|
@@ -12557,7 +12558,7 @@ var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
|
12557
12558
|
vars: vars$E
|
|
12558
12559
|
});
|
|
12559
12560
|
|
|
12560
|
-
const componentName$
|
|
12561
|
+
const componentName$G = getComponentName$1('modal');
|
|
12561
12562
|
|
|
12562
12563
|
const observedAttrs$3 = ['opened'];
|
|
12563
12564
|
|
|
@@ -12706,7 +12707,7 @@ const ModalClass = compose$1(
|
|
|
12706
12707
|
}
|
|
12707
12708
|
`,
|
|
12708
12709
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
|
12709
|
-
componentName: componentName$
|
|
12710
|
+
componentName: componentName$G,
|
|
12710
12711
|
})
|
|
12711
12712
|
);
|
|
12712
12713
|
|
|
@@ -12804,7 +12805,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
|
12804
12805
|
`;
|
|
12805
12806
|
};
|
|
12806
12807
|
|
|
12807
|
-
const componentName$
|
|
12808
|
+
const componentName$F = getComponentName$1('grid');
|
|
12808
12809
|
|
|
12809
12810
|
const GridMixin = (superclass) =>
|
|
12810
12811
|
class GridMixinClass extends superclass {
|
|
@@ -13158,7 +13159,7 @@ const GridClass = compose$1(
|
|
|
13158
13159
|
/*!css*/
|
|
13159
13160
|
`,
|
|
13160
13161
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
|
13161
|
-
componentName: componentName$
|
|
13162
|
+
componentName: componentName$F,
|
|
13162
13163
|
})
|
|
13163
13164
|
);
|
|
13164
13165
|
|
|
@@ -13214,7 +13215,7 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
|
13214
13215
|
vars: vars$C
|
|
13215
13216
|
});
|
|
13216
13217
|
|
|
13217
|
-
const componentName$
|
|
13218
|
+
const componentName$E = getComponentName$1('notification-card');
|
|
13218
13219
|
|
|
13219
13220
|
const notificationCardMixin = (superclass) =>
|
|
13220
13221
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -13322,7 +13323,7 @@ const NotificationCardClass = compose$1(
|
|
|
13322
13323
|
}
|
|
13323
13324
|
`,
|
|
13324
13325
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
13325
|
-
componentName: componentName$
|
|
13326
|
+
componentName: componentName$E,
|
|
13326
13327
|
})
|
|
13327
13328
|
);
|
|
13328
13329
|
|
|
@@ -13380,7 +13381,7 @@ var notificationCard = /*#__PURE__*/Object.freeze({
|
|
|
13380
13381
|
vars: vars$B
|
|
13381
13382
|
});
|
|
13382
13383
|
|
|
13383
|
-
const componentName$
|
|
13384
|
+
const componentName$D = getComponentName$1('multi-select-combo-box');
|
|
13384
13385
|
|
|
13385
13386
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
13386
13387
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -14037,7 +14038,7 @@ const MultiSelectComboBoxClass = compose$1(
|
|
|
14037
14038
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
|
14038
14039
|
// tries to override it, causing us to lose the user set placeholder.
|
|
14039
14040
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
|
|
14040
|
-
componentName: componentName$
|
|
14041
|
+
componentName: componentName$D,
|
|
14041
14042
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
14042
14043
|
})
|
|
14043
14044
|
);
|
|
@@ -14129,10 +14130,10 @@ var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
|
14129
14130
|
vars: vars$A
|
|
14130
14131
|
});
|
|
14131
14132
|
|
|
14132
|
-
const componentName$
|
|
14133
|
+
const componentName$C = getComponentName('badge');
|
|
14133
14134
|
|
|
14134
14135
|
class RawBadge extends createBaseClass$1({
|
|
14135
|
-
componentName: componentName$
|
|
14136
|
+
componentName: componentName$C,
|
|
14136
14137
|
baseSelector: ':host > div',
|
|
14137
14138
|
}) {
|
|
14138
14139
|
constructor() {
|
|
@@ -14267,9 +14268,9 @@ var badge$3 = /*#__PURE__*/Object.freeze({
|
|
|
14267
14268
|
vars: vars$z
|
|
14268
14269
|
});
|
|
14269
14270
|
|
|
14270
|
-
const componentName$
|
|
14271
|
+
const componentName$B = getComponentName('avatar');
|
|
14271
14272
|
class RawAvatar extends createBaseClass$1({
|
|
14272
|
-
componentName: componentName$
|
|
14273
|
+
componentName: componentName$B,
|
|
14273
14274
|
baseSelector: ':host > .wrapper',
|
|
14274
14275
|
}) {
|
|
14275
14276
|
constructor() {
|
|
@@ -14430,11 +14431,11 @@ var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
|
14430
14431
|
vars: vars$y
|
|
14431
14432
|
});
|
|
14432
14433
|
|
|
14433
|
-
const componentName$
|
|
14434
|
+
const componentName$A = getComponentName$1('mappings-field-internal');
|
|
14434
14435
|
|
|
14435
|
-
createBaseInputClass({ componentName: componentName$
|
|
14436
|
+
createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
|
|
14436
14437
|
|
|
14437
|
-
const componentName$
|
|
14438
|
+
const componentName$z = getComponentName$1('mappings-field');
|
|
14438
14439
|
|
|
14439
14440
|
const customMixin$6 = (superclass) =>
|
|
14440
14441
|
class MappingsFieldMixinClass extends superclass {
|
|
@@ -14463,14 +14464,14 @@ const customMixin$6 = (superclass) =>
|
|
|
14463
14464
|
const template = document.createElement('template');
|
|
14464
14465
|
|
|
14465
14466
|
template.innerHTML = `
|
|
14466
|
-
<${componentName$
|
|
14467
|
+
<${componentName$A}
|
|
14467
14468
|
tabindex="-1"
|
|
14468
|
-
></${componentName$
|
|
14469
|
+
></${componentName$A}>
|
|
14469
14470
|
`;
|
|
14470
14471
|
|
|
14471
14472
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
14472
14473
|
|
|
14473
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
14474
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$A);
|
|
14474
14475
|
|
|
14475
14476
|
forwardAttrs$1(this, this.inputElement, {
|
|
14476
14477
|
includeAttrs: [
|
|
@@ -14606,7 +14607,7 @@ const MappingsFieldClass = compose$1(
|
|
|
14606
14607
|
'error-message',
|
|
14607
14608
|
'style',
|
|
14608
14609
|
],
|
|
14609
|
-
componentName: componentName$
|
|
14610
|
+
componentName: componentName$z,
|
|
14610
14611
|
})
|
|
14611
14612
|
);
|
|
14612
14613
|
|
|
@@ -14644,9 +14645,9 @@ var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgi
|
|
|
14644
14645
|
|
|
14645
14646
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMDAwMiAwLjk5MjE0OUMxMC4wMDAyIDEuMDE2MTUgMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNUw4LjIyNDE5IDMuMDA4MTVIMi45OTIxOUMyLjQ2NDE5IDMuMDA4MTUgMi4wMDgxOSAzLjQ0MDE1IDIuMDA4MTkgMy45OTIxNVYxMi4wMDgyQzIuMDA4MTkgMTIuNTM2MiAyLjQ0MDE5IDEyLjk5MjIgMi45OTIxOSAxMi45OTIySDUuNTM2MTlDNS44NDgxOSAxMy4wNDAyIDYuMTYwMTkgMTMuMDQwMiA2LjQ3MjE5IDEyLjk5MjJIMTEuMDA4MkMxMS41MzYyIDEyLjk5MjIgMTEuOTkyMiAxMi41NjAyIDExLjk5MjIgMTIuMDA4MlY3Ljc4NDE2TDEzLjkzNjIgNS42MjQxNUwxNC4wMDgyIDUuNjcyMTVWMTEuOTg0MkMxNC4wMDgyIDEzLjY2NDIgMTIuNjY0MiAxNS4wMDgyIDExLjAwODIgMTUuMDA4MkgzLjAxNjE5QzEuMzM2MTkgMTUuMDA4MiAtMC4wMDc4MTI1IDEzLjY2NDIgLTAuMDA3ODEyNSAxMS45ODQyVjMuOTkyMTVDLTAuMDA3ODEyNSAyLjMzNjE1IDEuMzM2MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=";
|
|
14646
14647
|
|
|
14647
|
-
const componentName$
|
|
14648
|
+
const componentName$y = getComponentName$1('user-attribute');
|
|
14648
14649
|
class RawUserAttribute extends createBaseClass({
|
|
14649
|
-
componentName: componentName$
|
|
14650
|
+
componentName: componentName$y,
|
|
14650
14651
|
baseSelector: ':host > .root',
|
|
14651
14652
|
}) {
|
|
14652
14653
|
constructor() {
|
|
@@ -14943,9 +14944,9 @@ var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
|
|
14943
14944
|
|
|
14944
14945
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
14945
14946
|
|
|
14946
|
-
const componentName$
|
|
14947
|
+
const componentName$x = getComponentName$1('user-auth-method');
|
|
14947
14948
|
class RawUserAuthMethod extends createBaseClass({
|
|
14948
|
-
componentName: componentName$
|
|
14949
|
+
componentName: componentName$x,
|
|
14949
14950
|
baseSelector: ':host > .root',
|
|
14950
14951
|
}) {
|
|
14951
14952
|
constructor() {
|
|
@@ -15218,11 +15219,11 @@ var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
|
|
15218
15219
|
vars: vars$v
|
|
15219
15220
|
});
|
|
15220
15221
|
|
|
15221
|
-
const componentName$
|
|
15222
|
+
const componentName$w = getComponentName$1('saml-group-mappings-internal');
|
|
15222
15223
|
|
|
15223
|
-
createBaseInputClass({ componentName: componentName$
|
|
15224
|
+
createBaseInputClass({ componentName: componentName$w, baseSelector: '' });
|
|
15224
15225
|
|
|
15225
|
-
const componentName$
|
|
15226
|
+
const componentName$v = getComponentName$1('saml-group-mappings');
|
|
15226
15227
|
|
|
15227
15228
|
const customMixin$5 = (superclass) =>
|
|
15228
15229
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
@@ -15232,14 +15233,14 @@ const customMixin$5 = (superclass) =>
|
|
|
15232
15233
|
const template = document.createElement('template');
|
|
15233
15234
|
|
|
15234
15235
|
template.innerHTML = `
|
|
15235
|
-
<${componentName$
|
|
15236
|
+
<${componentName$w}
|
|
15236
15237
|
tabindex="-1"
|
|
15237
|
-
></${componentName$
|
|
15238
|
+
></${componentName$w}>
|
|
15238
15239
|
`;
|
|
15239
15240
|
|
|
15240
15241
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
15241
15242
|
|
|
15242
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
15243
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$w);
|
|
15243
15244
|
|
|
15244
15245
|
forwardAttrs$1(this, this.inputElement, {
|
|
15245
15246
|
includeAttrs: [
|
|
@@ -15324,7 +15325,7 @@ const SamlGroupMappingsClass = compose$1(
|
|
|
15324
15325
|
'error-message',
|
|
15325
15326
|
'style',
|
|
15326
15327
|
],
|
|
15327
|
-
componentName: componentName$
|
|
15328
|
+
componentName: componentName$v,
|
|
15328
15329
|
})
|
|
15329
15330
|
);
|
|
15330
15331
|
|
|
@@ -15409,9 +15410,9 @@ const tpl = (input, inline) => {
|
|
|
15409
15410
|
return inline ? input : `<pre>${input}</pre>`;
|
|
15410
15411
|
};
|
|
15411
15412
|
|
|
15412
|
-
const componentName$
|
|
15413
|
+
const componentName$u = getComponentName$1('code-snippet');
|
|
15413
15414
|
|
|
15414
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
|
15415
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > code' }) {
|
|
15415
15416
|
static get observedAttributes() {
|
|
15416
15417
|
return ['lang', 'inline'];
|
|
15417
15418
|
}
|
|
@@ -15785,7 +15786,7 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
|
15785
15786
|
vars: vars$q
|
|
15786
15787
|
});
|
|
15787
15788
|
|
|
15788
|
-
const componentName$
|
|
15789
|
+
const componentName$t = getComponentName$1('radio-button');
|
|
15789
15790
|
|
|
15790
15791
|
const customMixin$4 = (superclass) =>
|
|
15791
15792
|
class CustomMixin extends superclass {
|
|
@@ -15850,11 +15851,11 @@ const RadioButtonClass = compose$1(
|
|
|
15850
15851
|
wrappedEleName: 'vaadin-radio-button',
|
|
15851
15852
|
excludeAttrsSync: ['tabindex', 'data', 'style'],
|
|
15852
15853
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
|
15853
|
-
componentName: componentName$
|
|
15854
|
+
componentName: componentName$t,
|
|
15854
15855
|
})
|
|
15855
15856
|
);
|
|
15856
15857
|
|
|
15857
|
-
const componentName$
|
|
15858
|
+
const componentName$s = getComponentName$1('radio-group');
|
|
15858
15859
|
|
|
15859
15860
|
const RadioGroupMixin = (superclass) =>
|
|
15860
15861
|
class RadioGroupMixinClass extends superclass {
|
|
@@ -15869,12 +15870,12 @@ const RadioGroupMixin = (superclass) =>
|
|
|
15869
15870
|
|
|
15870
15871
|
// we are overriding vaadin children getter so it will run on our custom elements
|
|
15871
15872
|
Object.defineProperty(this.baseElement, 'children', {
|
|
15872
|
-
get: () => this.querySelectorAll(componentName$
|
|
15873
|
+
get: () => this.querySelectorAll(componentName$t),
|
|
15873
15874
|
});
|
|
15874
15875
|
|
|
15875
15876
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
|
15876
15877
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
|
15877
|
-
return nodes.filter((node) => node.localName === componentName$
|
|
15878
|
+
return nodes.filter((node) => node.localName === componentName$t);
|
|
15878
15879
|
};
|
|
15879
15880
|
|
|
15880
15881
|
// vaadin radio group missing some input properties
|
|
@@ -16024,7 +16025,7 @@ const RadioGroupClass = compose$1(
|
|
|
16024
16025
|
`,
|
|
16025
16026
|
|
|
16026
16027
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction', 'style'],
|
|
16027
|
-
componentName: componentName$
|
|
16028
|
+
componentName: componentName$s,
|
|
16028
16029
|
includeForwardProps: ['value'],
|
|
16029
16030
|
})
|
|
16030
16031
|
);
|
|
@@ -16472,7 +16473,7 @@ const nextMonth = (epoch) => {
|
|
|
16472
16473
|
return date;
|
|
16473
16474
|
};
|
|
16474
16475
|
|
|
16475
|
-
const componentName$
|
|
16476
|
+
const componentName$r = getComponentName$1('calendar');
|
|
16476
16477
|
|
|
16477
16478
|
const observedAttrs$2 = [
|
|
16478
16479
|
'initial-value',
|
|
@@ -16489,7 +16490,7 @@ const observedAttrs$2 = [
|
|
|
16489
16490
|
|
|
16490
16491
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
|
16491
16492
|
|
|
16492
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
|
16493
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
|
|
16493
16494
|
|
|
16494
16495
|
class RawCalendar extends BaseInputClass$3 {
|
|
16495
16496
|
static get observedAttributes() {
|
|
@@ -17318,12 +17319,12 @@ class DateCounter {
|
|
|
17318
17319
|
}
|
|
17319
17320
|
}
|
|
17320
17321
|
|
|
17321
|
-
const componentName$
|
|
17322
|
+
const componentName$q = getComponentName$1('date-field');
|
|
17322
17323
|
|
|
17323
17324
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
|
17324
17325
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
|
17325
17326
|
const BASE_SELECTOR = 'vaadin-popover';
|
|
17326
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
|
17327
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$q, baseSelector: BASE_SELECTOR });
|
|
17327
17328
|
|
|
17328
17329
|
const dateFieldAttrs = [
|
|
17329
17330
|
'format',
|
|
@@ -18275,7 +18276,7 @@ var dateField$1 = /*#__PURE__*/Object.freeze({
|
|
|
18275
18276
|
vars: vars$m
|
|
18276
18277
|
});
|
|
18277
18278
|
|
|
18278
|
-
const componentName$
|
|
18279
|
+
const componentName$p = getComponentName('list-item');
|
|
18279
18280
|
|
|
18280
18281
|
const customMixin$3 = (superclass) =>
|
|
18281
18282
|
class ListItemMixinClass extends superclass {
|
|
@@ -18332,12 +18333,12 @@ const ListItemClass = compose(
|
|
|
18332
18333
|
componentNameValidationMixin$1,
|
|
18333
18334
|
customMixin$3,
|
|
18334
18335
|
activeableMixin,
|
|
18335
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
18336
|
+
)(createBaseClass$1({ componentName: componentName$p, baseSelector: 'slot' }));
|
|
18336
18337
|
|
|
18337
|
-
const componentName$
|
|
18338
|
+
const componentName$o = getComponentName('list');
|
|
18338
18339
|
|
|
18339
18340
|
class RawList extends createBaseClass$1({
|
|
18340
|
-
componentName: componentName$
|
|
18341
|
+
componentName: componentName$o,
|
|
18341
18342
|
baseSelector: '.wrapper',
|
|
18342
18343
|
}) {
|
|
18343
18344
|
static get observedAttributes() {
|
|
@@ -18508,7 +18509,7 @@ const ListClass = compose(
|
|
|
18508
18509
|
componentNameValidationMixin$1,
|
|
18509
18510
|
)(RawList);
|
|
18510
18511
|
|
|
18511
|
-
const componentName$
|
|
18512
|
+
const componentName$n = getComponentName('apps-list');
|
|
18512
18513
|
|
|
18513
18514
|
const itemRenderer$4 = ({ name, icon, url }, _, ref) => `
|
|
18514
18515
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
@@ -18632,7 +18633,7 @@ const AppsListClass = compose(
|
|
|
18632
18633
|
slots: ['empty-state'],
|
|
18633
18634
|
wrappedEleName: 'descope-list',
|
|
18634
18635
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
18635
|
-
componentName: componentName$
|
|
18636
|
+
componentName: componentName$n,
|
|
18636
18637
|
style: () => `
|
|
18637
18638
|
:host {
|
|
18638
18639
|
width: 100%;
|
|
@@ -18737,7 +18738,7 @@ const compVars$3 = ListClass.cssVarList;
|
|
|
18737
18738
|
|
|
18738
18739
|
const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars$1(
|
|
18739
18740
|
{ shadowColor: '#00000020' },
|
|
18740
|
-
componentName$
|
|
18741
|
+
componentName$o,
|
|
18741
18742
|
);
|
|
18742
18743
|
|
|
18743
18744
|
const { shadowColor: shadowColor$2 } = helperRefs$2;
|
|
@@ -18951,7 +18952,7 @@ const createDynamicDataMixin =
|
|
|
18951
18952
|
}
|
|
18952
18953
|
};
|
|
18953
18954
|
|
|
18954
|
-
const componentName$
|
|
18955
|
+
const componentName$m = getComponentName$1('scopes-list');
|
|
18955
18956
|
const variants = ['checkbox', 'switch'];
|
|
18956
18957
|
|
|
18957
18958
|
const itemRenderer$3 = ({ id, desc, required = false }, _, ref) => {
|
|
@@ -18970,7 +18971,7 @@ const itemRenderer$3 = ({ id, desc, required = false }, _, ref) => {
|
|
|
18970
18971
|
`;
|
|
18971
18972
|
};
|
|
18972
18973
|
|
|
18973
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
|
18974
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$m, baseSelector: 'div' }) {
|
|
18974
18975
|
constructor() {
|
|
18975
18976
|
super();
|
|
18976
18977
|
|
|
@@ -19097,9 +19098,9 @@ var scopesList$1 = /*#__PURE__*/Object.freeze({
|
|
|
19097
19098
|
|
|
19098
19099
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
|
19099
19100
|
|
|
19100
|
-
const componentName$
|
|
19101
|
+
const componentName$l = getComponentName$1('third-party-app-logo');
|
|
19101
19102
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
|
19102
|
-
componentName: componentName$
|
|
19103
|
+
componentName: componentName$l,
|
|
19103
19104
|
baseSelector: '.wrapper',
|
|
19104
19105
|
}) {
|
|
19105
19106
|
constructor() {
|
|
@@ -19232,7 +19233,7 @@ var thirdPartyAppLogo$1 = /*#__PURE__*/Object.freeze({
|
|
|
19232
19233
|
vars: vars$h
|
|
19233
19234
|
});
|
|
19234
19235
|
|
|
19235
|
-
const componentName$
|
|
19236
|
+
const componentName$k = getComponentName$1('security-questions-setup');
|
|
19236
19237
|
|
|
19237
19238
|
const attrsToSync$1 = [
|
|
19238
19239
|
'full-width',
|
|
@@ -19251,7 +19252,7 @@ const attrsToSync$1 = [
|
|
|
19251
19252
|
];
|
|
19252
19253
|
|
|
19253
19254
|
const attrsToReRender$1 = ['count', 'questions'];
|
|
19254
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
|
19255
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$k, baseSelector: 'div' }) {
|
|
19255
19256
|
constructor() {
|
|
19256
19257
|
super();
|
|
19257
19258
|
|
|
@@ -19361,7 +19362,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
|
19361
19362
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
19362
19363
|
} catch (e) {
|
|
19363
19364
|
// eslint-disable-next-line no-console
|
|
19364
|
-
console.error(componentName$
|
|
19365
|
+
console.error(componentName$k, 'Error parsing questions attribute', e);
|
|
19365
19366
|
return [];
|
|
19366
19367
|
}
|
|
19367
19368
|
}
|
|
@@ -19484,7 +19485,7 @@ var securityQuestionsSetup$1 = /*#__PURE__*/Object.freeze({
|
|
|
19484
19485
|
vars: vars$g
|
|
19485
19486
|
});
|
|
19486
19487
|
|
|
19487
|
-
const componentName$
|
|
19488
|
+
const componentName$j = getComponentName$1('security-questions-verify');
|
|
19488
19489
|
|
|
19489
19490
|
const textFieldsAttrs = [
|
|
19490
19491
|
'full-width',
|
|
@@ -19508,7 +19509,7 @@ const attrMappings = {
|
|
|
19508
19509
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
|
19509
19510
|
|
|
19510
19511
|
const attrsToReRender = ['questions'];
|
|
19511
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
|
19512
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$j, baseSelector: 'div' }) {
|
|
19512
19513
|
constructor() {
|
|
19513
19514
|
super();
|
|
19514
19515
|
|
|
@@ -19582,7 +19583,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
|
|
|
19582
19583
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
19583
19584
|
} catch (e) {
|
|
19584
19585
|
// eslint-disable-next-line no-console
|
|
19585
|
-
console.error(componentName$
|
|
19586
|
+
console.error(componentName$j, 'Error parsing questions attribute', e);
|
|
19586
19587
|
return [];
|
|
19587
19588
|
}
|
|
19588
19589
|
}
|
|
@@ -19741,7 +19742,7 @@ const isNumericValue = (val) => NUMERIC_RE.test(val.replaceAll('+', '').replaceA
|
|
|
19741
19742
|
|
|
19742
19743
|
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
|
19743
19744
|
|
|
19744
|
-
const componentName$
|
|
19745
|
+
const componentName$i = getComponentName$1('hybrid-field');
|
|
19745
19746
|
|
|
19746
19747
|
const attrs = {
|
|
19747
19748
|
shared: [
|
|
@@ -19805,12 +19806,12 @@ const EMAIL_FIELD = 'descope-email-field';
|
|
|
19805
19806
|
const PHONE_FIELD = 'descope-phone-field';
|
|
19806
19807
|
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
|
19807
19808
|
|
|
19808
|
-
const BaseClass$
|
|
19809
|
-
componentName: componentName$
|
|
19809
|
+
const BaseClass$7 = createBaseClass({
|
|
19810
|
+
componentName: componentName$i,
|
|
19810
19811
|
baseSelector: 'div',
|
|
19811
19812
|
});
|
|
19812
19813
|
|
|
19813
|
-
class RawHybridField extends BaseClass$
|
|
19814
|
+
class RawHybridField extends BaseClass$7 {
|
|
19814
19815
|
#isReportedValidity = false;
|
|
19815
19816
|
|
|
19816
19817
|
#selectionStart;
|
|
@@ -20143,9 +20144,9 @@ var hybridField$1 = /*#__PURE__*/Object.freeze({
|
|
|
20143
20144
|
vars: vars$e
|
|
20144
20145
|
});
|
|
20145
20146
|
|
|
20146
|
-
const componentName$
|
|
20147
|
+
const componentName$h = getComponentName$1('alert');
|
|
20147
20148
|
|
|
20148
|
-
class RawAlert extends createBaseClass({ componentName: componentName$
|
|
20149
|
+
class RawAlert extends createBaseClass({ componentName: componentName$h, baseSelector: ':host > div' }) {
|
|
20149
20150
|
constructor() {
|
|
20150
20151
|
super();
|
|
20151
20152
|
|
|
@@ -20353,11 +20354,11 @@ var alert$1 = /*#__PURE__*/Object.freeze({
|
|
|
20353
20354
|
vars: vars$d
|
|
20354
20355
|
});
|
|
20355
20356
|
|
|
20356
|
-
const componentName$
|
|
20357
|
+
const componentName$g = getComponentName$1('hcaptcha');
|
|
20357
20358
|
|
|
20358
20359
|
const observedAttributes$2 = ['enabled', 'site-key'];
|
|
20359
20360
|
|
|
20360
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
|
20361
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$g, baseSelector: ':host > div' });
|
|
20361
20362
|
class RawHcaptcha extends BaseInputClass$1 {
|
|
20362
20363
|
static get observedAttributes() {
|
|
20363
20364
|
return observedAttributes$2.concat(BaseInputClass$1.observedAttributes || []);
|
|
@@ -20501,14 +20502,14 @@ var hcaptcha$1 = /*#__PURE__*/Object.freeze({
|
|
|
20501
20502
|
vars: vars$c
|
|
20502
20503
|
});
|
|
20503
20504
|
|
|
20504
|
-
const componentName$
|
|
20505
|
+
const componentName$f = getComponentName('autocomplete-field-internal');
|
|
20505
20506
|
|
|
20506
20507
|
createBaseInputClass$1({
|
|
20507
|
-
componentName: componentName$
|
|
20508
|
+
componentName: componentName$f,
|
|
20508
20509
|
baseSelector: '',
|
|
20509
20510
|
});
|
|
20510
20511
|
|
|
20511
|
-
const componentName$
|
|
20512
|
+
const componentName$e = getComponentName('autocomplete-field');
|
|
20512
20513
|
|
|
20513
20514
|
const customMixin$1 = (superclass) =>
|
|
20514
20515
|
class AutocompleteFieldMixinClass extends superclass {
|
|
@@ -20529,15 +20530,15 @@ const customMixin$1 = (superclass) =>
|
|
|
20529
20530
|
const template = document.createElement('template');
|
|
20530
20531
|
|
|
20531
20532
|
template.innerHTML = `
|
|
20532
|
-
<${componentName$
|
|
20533
|
+
<${componentName$f}
|
|
20533
20534
|
tabindex="-1"
|
|
20534
|
-
></${componentName$
|
|
20535
|
+
></${componentName$f}>
|
|
20535
20536
|
`;
|
|
20536
20537
|
|
|
20537
20538
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
20538
20539
|
|
|
20539
20540
|
this.inputElement = this.shadowRoot.querySelector(
|
|
20540
|
-
componentName$
|
|
20541
|
+
componentName$f,
|
|
20541
20542
|
);
|
|
20542
20543
|
|
|
20543
20544
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -20656,7 +20657,7 @@ const AutocompleteFieldClass = compose(
|
|
|
20656
20657
|
}
|
|
20657
20658
|
`,
|
|
20658
20659
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
20659
|
-
componentName: componentName$
|
|
20660
|
+
componentName: componentName$e,
|
|
20660
20661
|
}),
|
|
20661
20662
|
);
|
|
20662
20663
|
|
|
@@ -20910,7 +20911,7 @@ class RadarConnector extends createBaseConnectorClass() {
|
|
|
20910
20911
|
}
|
|
20911
20912
|
}
|
|
20912
20913
|
|
|
20913
|
-
const componentName$
|
|
20914
|
+
const componentName$d = getComponentName('address-field-internal');
|
|
20914
20915
|
|
|
20915
20916
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
20916
20917
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -20921,7 +20922,7 @@ const CONNECTOR_CLASSES = {
|
|
|
20921
20922
|
};
|
|
20922
20923
|
|
|
20923
20924
|
const BaseInputClass = createBaseInputClass$1({
|
|
20924
|
-
componentName: componentName$
|
|
20925
|
+
componentName: componentName$d,
|
|
20925
20926
|
baseSelector: '',
|
|
20926
20927
|
});
|
|
20927
20928
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -21028,7 +21029,7 @@ compose(
|
|
|
21028
21029
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
21029
21030
|
)(RawAddressFieldInternal);
|
|
21030
21031
|
|
|
21031
|
-
const componentName$
|
|
21032
|
+
const componentName$c = getComponentName('address-field');
|
|
21032
21033
|
|
|
21033
21034
|
const customMixin = (superclass) =>
|
|
21034
21035
|
class AddressFieldMixinClass extends superclass {
|
|
@@ -21057,15 +21058,15 @@ const customMixin = (superclass) =>
|
|
|
21057
21058
|
const template = document.createElement('template');
|
|
21058
21059
|
|
|
21059
21060
|
template.innerHTML = `
|
|
21060
|
-
<${componentName$
|
|
21061
|
+
<${componentName$d}
|
|
21061
21062
|
tabindex="-1"
|
|
21062
|
-
></${componentName$
|
|
21063
|
+
></${componentName$d}>
|
|
21063
21064
|
`;
|
|
21064
21065
|
|
|
21065
21066
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
21066
21067
|
|
|
21067
21068
|
this.inputElement = this.shadowRoot.querySelector(
|
|
21068
|
-
componentName$
|
|
21069
|
+
componentName$d,
|
|
21069
21070
|
);
|
|
21070
21071
|
|
|
21071
21072
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -21143,7 +21144,7 @@ const AddressFieldClass = compose(
|
|
|
21143
21144
|
width: 100%;
|
|
21144
21145
|
}
|
|
21145
21146
|
|
|
21146
|
-
${componentName$
|
|
21147
|
+
${componentName$d} {
|
|
21147
21148
|
display: inline-block;
|
|
21148
21149
|
box-sizing: border-box;
|
|
21149
21150
|
user-select: none;
|
|
@@ -21151,12 +21152,12 @@ const AddressFieldClass = compose(
|
|
|
21151
21152
|
max-width: 100%;
|
|
21152
21153
|
}
|
|
21153
21154
|
|
|
21154
|
-
${componentName$
|
|
21155
|
+
${componentName$d} ::slotted {
|
|
21155
21156
|
padding: 0;
|
|
21156
21157
|
}
|
|
21157
21158
|
`,
|
|
21158
21159
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
21159
|
-
componentName: componentName$
|
|
21160
|
+
componentName: componentName$c,
|
|
21160
21161
|
}),
|
|
21161
21162
|
);
|
|
21162
21163
|
|
|
@@ -21196,24 +21197,24 @@ const formatTime = (ms = 0) => {
|
|
|
21196
21197
|
return timeParts.join(':');
|
|
21197
21198
|
};
|
|
21198
21199
|
|
|
21199
|
-
const componentName$
|
|
21200
|
+
const componentName$b = getComponentName('timer');
|
|
21200
21201
|
|
|
21201
21202
|
const observedAttributes$1 = ['seconds', 'hide-icon', 'paused'];
|
|
21202
21203
|
|
|
21203
|
-
const BaseClass$
|
|
21204
|
-
componentName: componentName$
|
|
21204
|
+
const BaseClass$6 = createBaseClass$1({
|
|
21205
|
+
componentName: componentName$b,
|
|
21205
21206
|
baseSelector: ':host > .wrapper',
|
|
21206
21207
|
});
|
|
21207
21208
|
|
|
21208
21209
|
const DEFAULT_INTERVAL = 1000;
|
|
21209
21210
|
|
|
21210
|
-
class RawTimer extends BaseClass$
|
|
21211
|
+
class RawTimer extends BaseClass$6 {
|
|
21211
21212
|
#timeRemains = 0;
|
|
21212
21213
|
|
|
21213
21214
|
#intervalId;
|
|
21214
21215
|
|
|
21215
21216
|
static get observedAttributes() {
|
|
21216
|
-
return observedAttributes$1.concat(BaseClass$
|
|
21217
|
+
return observedAttributes$1.concat(BaseClass$6.observedAttributes || []);
|
|
21217
21218
|
}
|
|
21218
21219
|
|
|
21219
21220
|
constructor() {
|
|
@@ -21422,7 +21423,7 @@ var timer$1 = /*#__PURE__*/Object.freeze({
|
|
|
21422
21423
|
vars: vars$9
|
|
21423
21424
|
});
|
|
21424
21425
|
|
|
21425
|
-
const componentName$
|
|
21426
|
+
const componentName$a = getComponentName('timer-button');
|
|
21426
21427
|
|
|
21427
21428
|
const buttonAttrs = [
|
|
21428
21429
|
'button-variant',
|
|
@@ -21452,12 +21453,12 @@ const mapTimerAttrs = {
|
|
|
21452
21453
|
'timer-paused': 'paused',
|
|
21453
21454
|
};
|
|
21454
21455
|
|
|
21455
|
-
const BaseClass$
|
|
21456
|
-
componentName: componentName$
|
|
21456
|
+
const BaseClass$5 = createBaseClass$1({
|
|
21457
|
+
componentName: componentName$a,
|
|
21457
21458
|
baseSelector: ':host > div',
|
|
21458
21459
|
});
|
|
21459
21460
|
|
|
21460
|
-
class RawTimerButton extends BaseClass$
|
|
21461
|
+
class RawTimerButton extends BaseClass$5 {
|
|
21461
21462
|
constructor() {
|
|
21462
21463
|
super();
|
|
21463
21464
|
|
|
@@ -21583,9 +21584,9 @@ var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
|
21583
21584
|
vars: vars$8
|
|
21584
21585
|
});
|
|
21585
21586
|
|
|
21586
|
-
const componentName$
|
|
21587
|
+
const componentName$9 = getComponentName('password-strength');
|
|
21587
21588
|
class RawPasswordStrength extends createBaseClass$1({
|
|
21588
|
-
componentName: componentName$
|
|
21589
|
+
componentName: componentName$9,
|
|
21589
21590
|
baseSelector: ':host > .wrapper',
|
|
21590
21591
|
}) {
|
|
21591
21592
|
static get observedAttributes() {
|
|
@@ -21788,10 +21789,10 @@ var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
|
21788
21789
|
|
|
21789
21790
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
|
|
21790
21791
|
|
|
21791
|
-
const componentName$
|
|
21792
|
+
const componentName$8 = getComponentName('collapsible-container');
|
|
21792
21793
|
|
|
21793
21794
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
21794
|
-
componentName: componentName$
|
|
21795
|
+
componentName: componentName$8,
|
|
21795
21796
|
baseSelector: 'slot',
|
|
21796
21797
|
}) {
|
|
21797
21798
|
static get observedAttributes() {
|
|
@@ -22026,7 +22027,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars$1(
|
|
|
22026
22027
|
{
|
|
22027
22028
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
22028
22029
|
},
|
|
22029
|
-
componentName$
|
|
22030
|
+
componentName$8
|
|
22030
22031
|
);
|
|
22031
22032
|
|
|
22032
22033
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
|
@@ -22137,7 +22138,7 @@ var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
|
22137
22138
|
vars: vars$6
|
|
22138
22139
|
});
|
|
22139
22140
|
|
|
22140
|
-
const componentName$
|
|
22141
|
+
const componentName$7 = getComponentName('recovery-codes');
|
|
22141
22142
|
|
|
22142
22143
|
const itemRenderer$2 = ({ value }, _, ref) => {
|
|
22143
22144
|
return `
|
|
@@ -22148,7 +22149,7 @@ const itemRenderer$2 = ({ value }, _, ref) => {
|
|
|
22148
22149
|
};
|
|
22149
22150
|
|
|
22150
22151
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
22151
|
-
componentName: componentName$
|
|
22152
|
+
componentName: componentName$7,
|
|
22152
22153
|
baseSelector: ':host > div',
|
|
22153
22154
|
}) {
|
|
22154
22155
|
static get observedAttributes() {
|
|
@@ -22316,7 +22317,7 @@ var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
22316
22317
|
vars: vars$5
|
|
22317
22318
|
});
|
|
22318
22319
|
|
|
22319
|
-
const componentName$
|
|
22320
|
+
const componentName$6 = getComponentName('outbound-apps');
|
|
22320
22321
|
|
|
22321
22322
|
const itemRenderer$1 = (
|
|
22322
22323
|
{ name, description, logo, appId, isConnected },
|
|
@@ -22361,12 +22362,12 @@ const itemRenderer$1 = (
|
|
|
22361
22362
|
`;
|
|
22362
22363
|
};
|
|
22363
22364
|
|
|
22364
|
-
const BaseClass$
|
|
22365
|
-
componentName: componentName$
|
|
22365
|
+
const BaseClass$4 = createBaseClass$1({
|
|
22366
|
+
componentName: componentName$6,
|
|
22366
22367
|
baseSelector: 'descope-list',
|
|
22367
22368
|
});
|
|
22368
22369
|
|
|
22369
|
-
class RawOutboundAppsClass extends BaseClass$
|
|
22370
|
+
class RawOutboundAppsClass extends BaseClass$4 {
|
|
22370
22371
|
constructor() {
|
|
22371
22372
|
super();
|
|
22372
22373
|
|
|
@@ -22578,10 +22579,10 @@ var outboundApps$1 = /*#__PURE__*/Object.freeze({
|
|
|
22578
22579
|
vars: vars$4
|
|
22579
22580
|
});
|
|
22580
22581
|
|
|
22581
|
-
const componentName$
|
|
22582
|
+
const componentName$5 = getComponentName('outbound-app-button');
|
|
22582
22583
|
|
|
22583
22584
|
class RawOutboundAppButton extends createBaseClass$1({
|
|
22584
|
-
componentName: componentName$
|
|
22585
|
+
componentName: componentName$5,
|
|
22585
22586
|
baseSelector: ':host > descope-button',
|
|
22586
22587
|
}) {
|
|
22587
22588
|
static get observedAttributes() {
|
|
@@ -22763,7 +22764,7 @@ const getDeviceIcon = (deviceType) => {
|
|
|
22763
22764
|
};
|
|
22764
22765
|
};
|
|
22765
22766
|
|
|
22766
|
-
const componentName$
|
|
22767
|
+
const componentName$4 = getComponentName('trusted-devices');
|
|
22767
22768
|
|
|
22768
22769
|
const itemRenderer = (
|
|
22769
22770
|
{ id, name, lastLoginDate, deviceType, isCurrent },
|
|
@@ -22851,12 +22852,12 @@ const itemRenderer = (
|
|
|
22851
22852
|
return template;
|
|
22852
22853
|
};
|
|
22853
22854
|
|
|
22854
|
-
const BaseClass$
|
|
22855
|
-
componentName: componentName$
|
|
22855
|
+
const BaseClass$3 = createBaseClass$1({
|
|
22856
|
+
componentName: componentName$4,
|
|
22856
22857
|
baseSelector: ListClass.componentName,
|
|
22857
22858
|
});
|
|
22858
22859
|
|
|
22859
|
-
class RawTrustedDevicesClass extends BaseClass$
|
|
22860
|
+
class RawTrustedDevicesClass extends BaseClass$3 {
|
|
22860
22861
|
constructor() {
|
|
22861
22862
|
super();
|
|
22862
22863
|
|
|
@@ -23186,7 +23187,7 @@ var trustedDevices = /*#__PURE__*/Object.freeze({
|
|
|
23186
23187
|
vars: vars$2
|
|
23187
23188
|
});
|
|
23188
23189
|
|
|
23189
|
-
const componentName$
|
|
23190
|
+
const componentName$3 = getComponentName('tooltip');
|
|
23190
23191
|
|
|
23191
23192
|
const tooltipAttrs = [
|
|
23192
23193
|
'text',
|
|
@@ -23196,14 +23197,14 @@ const tooltipAttrs = [
|
|
|
23196
23197
|
'opened',
|
|
23197
23198
|
];
|
|
23198
23199
|
|
|
23199
|
-
const BaseClass$
|
|
23200
|
-
componentName: componentName$
|
|
23200
|
+
const BaseClass$2 = createBaseClass$1({
|
|
23201
|
+
componentName: componentName$3,
|
|
23201
23202
|
baseSelector: 'vaadin-tooltip',
|
|
23202
23203
|
});
|
|
23203
23204
|
|
|
23204
|
-
class RawTooltip extends BaseClass$
|
|
23205
|
+
class RawTooltip extends BaseClass$2 {
|
|
23205
23206
|
static get observedAttributes() {
|
|
23206
|
-
return tooltipAttrs.concat(BaseClass$
|
|
23207
|
+
return tooltipAttrs.concat(BaseClass$2.observedAttributes || []);
|
|
23207
23208
|
}
|
|
23208
23209
|
|
|
23209
23210
|
get isOpened() {
|
|
@@ -23436,7 +23437,7 @@ const [helperTheme, helperRefs, helperVars] = createHelperVars$1(
|
|
|
23436
23437
|
{
|
|
23437
23438
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
23438
23439
|
},
|
|
23439
|
-
componentName$
|
|
23440
|
+
componentName$3
|
|
23440
23441
|
);
|
|
23441
23442
|
|
|
23442
23443
|
const { shadowColor } = helperRefs;
|
|
@@ -23620,17 +23621,17 @@ const darkTheme = merge({}, defaultTheme, {
|
|
|
23620
23621
|
},
|
|
23621
23622
|
});
|
|
23622
23623
|
|
|
23623
|
-
const componentName$
|
|
23624
|
+
const componentName$2 = getComponentName$1('recaptcha');
|
|
23624
23625
|
|
|
23625
23626
|
const observedAttributes = ['enabled', 'site-key', 'action', 'enterprise'];
|
|
23626
23627
|
|
|
23627
|
-
const BaseClass = createBaseClass({
|
|
23628
|
-
componentName: componentName$
|
|
23628
|
+
const BaseClass$1 = createBaseClass({
|
|
23629
|
+
componentName: componentName$2,
|
|
23629
23630
|
baseSelector: ':host > div',
|
|
23630
23631
|
});
|
|
23631
|
-
class RawRecaptcha extends BaseClass {
|
|
23632
|
+
class RawRecaptcha extends BaseClass$1 {
|
|
23632
23633
|
static get observedAttributes() {
|
|
23633
|
-
return observedAttributes.concat(BaseClass.observedAttributes || []);
|
|
23634
|
+
return observedAttributes.concat(BaseClass$1.observedAttributes || []);
|
|
23634
23635
|
}
|
|
23635
23636
|
|
|
23636
23637
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
@@ -23850,7 +23851,7 @@ class RawRecaptcha extends BaseClass {
|
|
|
23850
23851
|
|
|
23851
23852
|
const RecaptchaClass = compose$1(draggableMixin)(RawRecaptcha);
|
|
23852
23853
|
|
|
23853
|
-
const componentName = getComponentName$1('notification');
|
|
23854
|
+
const componentName$1 = getComponentName$1('notification');
|
|
23854
23855
|
|
|
23855
23856
|
const NotificationMixin = (superclass) =>
|
|
23856
23857
|
class NotificationMixinClass extends superclass {
|
|
@@ -23945,10 +23946,112 @@ const NotificationClass = compose$1(
|
|
|
23945
23946
|
createProxy({
|
|
23946
23947
|
wrappedEleName: 'vaadin-notification',
|
|
23947
23948
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
23948
|
-
componentName,
|
|
23949
|
+
componentName: componentName$1,
|
|
23949
23950
|
})
|
|
23950
23951
|
);
|
|
23951
23952
|
|
|
23953
|
+
// NOTICE: This component registers with a DIFFERENT name than its file name
|
|
23954
|
+
const componentName = getComponentName('ponyhot');
|
|
23955
|
+
|
|
23956
|
+
const HP_PREFIX = 'dhp-';
|
|
23957
|
+
|
|
23958
|
+
const BaseClass = createBaseClass$1({
|
|
23959
|
+
componentName,
|
|
23960
|
+
baseSelector: '',
|
|
23961
|
+
});
|
|
23962
|
+
|
|
23963
|
+
class RawHoneypot extends BaseClass {
|
|
23964
|
+
get type() {
|
|
23965
|
+
return this.getAttribute('type');
|
|
23966
|
+
}
|
|
23967
|
+
|
|
23968
|
+
get value() {
|
|
23969
|
+
return this.input?.value || '';
|
|
23970
|
+
}
|
|
23971
|
+
|
|
23972
|
+
init() {
|
|
23973
|
+
this.input = this.querySelector('input');
|
|
23974
|
+
|
|
23975
|
+
if (!this.input) return;
|
|
23976
|
+
|
|
23977
|
+
this.#setupTrapListeners();
|
|
23978
|
+
this.#setupValueInterceptor();
|
|
23979
|
+
this.#hideComponent();
|
|
23980
|
+
}
|
|
23981
|
+
|
|
23982
|
+
#setupTrapListeners() {
|
|
23983
|
+
const events = [
|
|
23984
|
+
'input',
|
|
23985
|
+
'change',
|
|
23986
|
+
'click',
|
|
23987
|
+
'keydown',
|
|
23988
|
+
'keyup',
|
|
23989
|
+
'mouseover',
|
|
23990
|
+
'mousedown',
|
|
23991
|
+
];
|
|
23992
|
+
|
|
23993
|
+
const fillHoneypot = (e) => {
|
|
23994
|
+
this.input.value = `${HP_PREFIX}${e.type}`;
|
|
23995
|
+
|
|
23996
|
+
// Stop listening to all events after first trigger
|
|
23997
|
+
events.forEach((event) => {
|
|
23998
|
+
this.input.removeEventListener(event, fillHoneypot);
|
|
23999
|
+
});
|
|
24000
|
+
};
|
|
24001
|
+
|
|
24002
|
+
events.forEach((event) => {
|
|
24003
|
+
this.input.addEventListener(event, fillHoneypot);
|
|
24004
|
+
});
|
|
24005
|
+
}
|
|
24006
|
+
|
|
24007
|
+
// Intercept direct value assignments to catch bots that bypass events
|
|
24008
|
+
#setupValueInterceptor() {
|
|
24009
|
+
const originalDescriptor = Object.getOwnPropertyDescriptor(
|
|
24010
|
+
HTMLInputElement.prototype,
|
|
24011
|
+
'value',
|
|
24012
|
+
);
|
|
24013
|
+
|
|
24014
|
+
Object.defineProperty(this.input, 'value', {
|
|
24015
|
+
get() {
|
|
24016
|
+
return originalDescriptor.get.call(this);
|
|
24017
|
+
},
|
|
24018
|
+
set(newValue) {
|
|
24019
|
+
const currentValue = originalDescriptor.get.call(this);
|
|
24020
|
+
|
|
24021
|
+
// Only trap if the value is being set by external code (not our own trap)
|
|
24022
|
+
if (
|
|
24023
|
+
newValue &&
|
|
24024
|
+
!newValue.startsWith(HP_PREFIX) &&
|
|
24025
|
+
newValue !== currentValue
|
|
24026
|
+
) {
|
|
24027
|
+
originalDescriptor.set.call(this, `${HP_PREFIX}direct-set`);
|
|
24028
|
+
} else {
|
|
24029
|
+
originalDescriptor.set.call(this, newValue);
|
|
24030
|
+
}
|
|
24031
|
+
},
|
|
24032
|
+
configurable: true,
|
|
24033
|
+
});
|
|
24034
|
+
}
|
|
24035
|
+
|
|
24036
|
+
#hideComponent() {
|
|
24037
|
+
const styles = {
|
|
24038
|
+
position: 'absolute',
|
|
24039
|
+
opacity: '0.01',
|
|
24040
|
+
width: '1px',
|
|
24041
|
+
height: '1px',
|
|
24042
|
+
pointerEvents: 'none',
|
|
24043
|
+
zIndex: '-1',
|
|
24044
|
+
left: '-999999px',
|
|
24045
|
+
};
|
|
24046
|
+
|
|
24047
|
+
Object.entries(styles).forEach(([key, value]) => {
|
|
24048
|
+
this.style[key] = value;
|
|
24049
|
+
});
|
|
24050
|
+
}
|
|
24051
|
+
}
|
|
24052
|
+
|
|
24053
|
+
const HoneypotClass = compose(componentNameValidationMixin$1)(RawHoneypot);
|
|
24054
|
+
|
|
23952
24055
|
const options = {
|
|
23953
24056
|
translations: zxcvbnEnPackage__namespace.translations,
|
|
23954
24057
|
graphs: zxcvbnCommonPackage__namespace.adjacencyGraphs,
|
|
@@ -23987,6 +24090,7 @@ exports.EmailFieldClass = EmailFieldClass;
|
|
|
23987
24090
|
exports.EnrichedTextClass = EnrichedTextClass;
|
|
23988
24091
|
exports.GridClass = GridClass;
|
|
23989
24092
|
exports.HcaptchaClass = HcaptchaClass;
|
|
24093
|
+
exports.HoneypotClass = HoneypotClass;
|
|
23990
24094
|
exports.HybridFieldClass = HybridFieldClass;
|
|
23991
24095
|
exports.IconClass = IconClass;
|
|
23992
24096
|
exports.ImageClass = ImageClass;
|