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