@descope/web-components-ui 2.2.26 → 2.2.28
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/index.esm.js
CHANGED
|
@@ -2100,9 +2100,9 @@ const decodeHTML = (html) => {
|
|
|
2100
2100
|
/* eslint-disable no-param-reassign */
|
|
2101
2101
|
|
|
2102
2102
|
|
|
2103
|
-
const componentName$
|
|
2103
|
+
const componentName$1m = getComponentName$1('enriched-text');
|
|
2104
2104
|
|
|
2105
|
-
class EnrichedText extends createBaseClass$1({ componentName: componentName$
|
|
2105
|
+
class EnrichedText extends createBaseClass$1({ componentName: componentName$1m, baseSelector: ':host > div' }) {
|
|
2106
2106
|
#origLinkRenderer;
|
|
2107
2107
|
|
|
2108
2108
|
#origEmRenderer;
|
|
@@ -4394,11 +4394,11 @@ const createBaseInputClass = (...args) =>
|
|
|
4394
4394
|
inputEventsDispatchingMixin
|
|
4395
4395
|
)(createBaseClass(...args));
|
|
4396
4396
|
|
|
4397
|
-
const componentName$
|
|
4397
|
+
const componentName$1l = getComponentName('boolean-field-internal');
|
|
4398
4398
|
|
|
4399
4399
|
const forwardAttributes$1 = ['disabled', 'invalid', 'readonly'];
|
|
4400
4400
|
|
|
4401
|
-
const BaseInputClass$d = createBaseInputClass({ componentName: componentName$
|
|
4401
|
+
const BaseInputClass$d = createBaseInputClass({ componentName: componentName$1l, baseSelector: 'div' });
|
|
4402
4402
|
|
|
4403
4403
|
class BooleanInputInternal extends BaseInputClass$d {
|
|
4404
4404
|
static get observedAttributes() {
|
|
@@ -4497,14 +4497,14 @@ const booleanFieldMixin = (superclass) =>
|
|
|
4497
4497
|
|
|
4498
4498
|
const template = document.createElement('template');
|
|
4499
4499
|
template.innerHTML = `
|
|
4500
|
-
<${componentName$
|
|
4500
|
+
<${componentName$1l}
|
|
4501
4501
|
tabindex="-1"
|
|
4502
4502
|
slot="input"
|
|
4503
|
-
></${componentName$
|
|
4503
|
+
></${componentName$1l}>
|
|
4504
4504
|
`;
|
|
4505
4505
|
|
|
4506
4506
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
4507
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
4507
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$1l);
|
|
4508
4508
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
4509
4509
|
|
|
4510
4510
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -4582,7 +4582,7 @@ descope-enriched-text {
|
|
|
4582
4582
|
|
|
4583
4583
|
`;
|
|
4584
4584
|
|
|
4585
|
-
const componentName$
|
|
4585
|
+
const componentName$1k = getComponentName('checkbox');
|
|
4586
4586
|
|
|
4587
4587
|
const {
|
|
4588
4588
|
host: host$w,
|
|
@@ -4718,14 +4718,14 @@ const CheckboxClass = compose(
|
|
|
4718
4718
|
}
|
|
4719
4719
|
`,
|
|
4720
4720
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
4721
|
-
componentName: componentName$
|
|
4721
|
+
componentName: componentName$1k,
|
|
4722
4722
|
})
|
|
4723
4723
|
);
|
|
4724
4724
|
|
|
4725
|
-
const componentName$
|
|
4725
|
+
const componentName$1j = getComponentName$1('text');
|
|
4726
4726
|
|
|
4727
4727
|
class RawText extends createBaseClass$1({
|
|
4728
|
-
componentName: componentName$
|
|
4728
|
+
componentName: componentName$1j,
|
|
4729
4729
|
baseSelector: ':host > slot',
|
|
4730
4730
|
}) {
|
|
4731
4731
|
constructor() {
|
|
@@ -4791,9 +4791,9 @@ const TextClass = compose$1(
|
|
|
4791
4791
|
componentNameValidationMixin$1,
|
|
4792
4792
|
)(RawText);
|
|
4793
4793
|
|
|
4794
|
-
const componentName$
|
|
4794
|
+
const componentName$1i = getComponentName$1('link');
|
|
4795
4795
|
|
|
4796
|
-
class RawLink extends createBaseClass$1({ componentName: componentName$
|
|
4796
|
+
class RawLink extends createBaseClass$1({ componentName: componentName$1i, baseSelector: ':host a' }) {
|
|
4797
4797
|
constructor() {
|
|
4798
4798
|
super();
|
|
4799
4799
|
|
|
@@ -4870,17 +4870,17 @@ const LinkClass = compose$1(
|
|
|
4870
4870
|
componentNameValidationMixin$1
|
|
4871
4871
|
)(RawLink);
|
|
4872
4872
|
|
|
4873
|
-
customElements.define(componentName$
|
|
4873
|
+
customElements.define(componentName$1j, TextClass);
|
|
4874
4874
|
|
|
4875
|
-
customElements.define(componentName$
|
|
4875
|
+
customElements.define(componentName$1i, LinkClass);
|
|
4876
4876
|
|
|
4877
|
-
customElements.define(componentName$
|
|
4877
|
+
customElements.define(componentName$1m, EnrichedTextClass);
|
|
4878
4878
|
|
|
4879
|
-
customElements.define(componentName$
|
|
4879
|
+
customElements.define(componentName$1l, BooleanInputInternal);
|
|
4880
4880
|
|
|
4881
|
-
customElements.define(componentName$
|
|
4881
|
+
customElements.define(componentName$1k, CheckboxClass);
|
|
4882
4882
|
|
|
4883
|
-
const componentName$
|
|
4883
|
+
const componentName$1h = getComponentName('switch-toggle');
|
|
4884
4884
|
|
|
4885
4885
|
const {
|
|
4886
4886
|
host: host$t,
|
|
@@ -5024,17 +5024,17 @@ const SwitchToggleClass = compose(
|
|
|
5024
5024
|
}
|
|
5025
5025
|
`,
|
|
5026
5026
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
5027
|
-
componentName: componentName$
|
|
5027
|
+
componentName: componentName$1h,
|
|
5028
5028
|
})
|
|
5029
5029
|
);
|
|
5030
5030
|
|
|
5031
|
-
customElements.define(componentName$
|
|
5031
|
+
customElements.define(componentName$1h, SwitchToggleClass);
|
|
5032
5032
|
|
|
5033
|
-
const componentName$
|
|
5033
|
+
const componentName$1g = getComponentName('loader-linear');
|
|
5034
5034
|
|
|
5035
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
|
5035
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$1g, baseSelector: ':host > div' }) {
|
|
5036
5036
|
static get componentName() {
|
|
5037
|
-
return componentName$
|
|
5037
|
+
return componentName$1g;
|
|
5038
5038
|
}
|
|
5039
5039
|
|
|
5040
5040
|
constructor() {
|
|
@@ -5099,11 +5099,11 @@ const LoaderLinearClass = compose(
|
|
|
5099
5099
|
componentNameValidationMixin
|
|
5100
5100
|
)(RawLoaderLinear);
|
|
5101
5101
|
|
|
5102
|
-
customElements.define(componentName$
|
|
5102
|
+
customElements.define(componentName$1g, LoaderLinearClass);
|
|
5103
5103
|
|
|
5104
|
-
const componentName$
|
|
5104
|
+
const componentName$1f = getComponentName('loader-radial');
|
|
5105
5105
|
|
|
5106
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
5106
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$1f, baseSelector: ':host > div' }) {
|
|
5107
5107
|
constructor() {
|
|
5108
5108
|
super();
|
|
5109
5109
|
|
|
@@ -5151,11 +5151,11 @@ const LoaderRadialClass = compose(
|
|
|
5151
5151
|
componentNameValidationMixin
|
|
5152
5152
|
)(RawLoaderRadial);
|
|
5153
5153
|
|
|
5154
|
-
customElements.define(componentName$
|
|
5154
|
+
customElements.define(componentName$1f, LoaderRadialClass);
|
|
5155
5155
|
|
|
5156
|
-
const componentName$
|
|
5156
|
+
const componentName$1e = getComponentName('container');
|
|
5157
5157
|
|
|
5158
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
|
5158
|
+
class RawContainer extends createBaseClass({ componentName: componentName$1e, baseSelector: 'slot' }) {
|
|
5159
5159
|
constructor() {
|
|
5160
5160
|
super();
|
|
5161
5161
|
|
|
@@ -5218,9 +5218,9 @@ const ContainerClass = compose(
|
|
|
5218
5218
|
componentNameValidationMixin
|
|
5219
5219
|
)(RawContainer);
|
|
5220
5220
|
|
|
5221
|
-
customElements.define(componentName$
|
|
5221
|
+
customElements.define(componentName$1e, ContainerClass);
|
|
5222
5222
|
|
|
5223
|
-
const componentName$
|
|
5223
|
+
const componentName$1d = getComponentName$1('combo-box');
|
|
5224
5224
|
|
|
5225
5225
|
const ComboBoxMixin = (superclass) =>
|
|
5226
5226
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -5876,12 +5876,12 @@ const ComboBoxClass = compose$1(
|
|
|
5876
5876
|
// and reset items to an empty array, and opening the list box with no items
|
|
5877
5877
|
// to display.
|
|
5878
5878
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
|
|
5879
|
-
componentName: componentName$
|
|
5879
|
+
componentName: componentName$1d,
|
|
5880
5880
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
5881
5881
|
}),
|
|
5882
5882
|
);
|
|
5883
5883
|
|
|
5884
|
-
customElements.define(componentName$
|
|
5884
|
+
customElements.define(componentName$1d, ComboBoxClass);
|
|
5885
5885
|
|
|
5886
5886
|
const getFileExtension = (path) => {
|
|
5887
5887
|
const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
|
|
@@ -5944,12 +5944,12 @@ const createImage = async (src, altText) => {
|
|
|
5944
5944
|
|
|
5945
5945
|
/* eslint-disable no-use-before-define */
|
|
5946
5946
|
|
|
5947
|
-
const componentName$
|
|
5947
|
+
const componentName$1c = getComponentName$1('image');
|
|
5948
5948
|
|
|
5949
5949
|
const srcAttrs = ['src', 'src-dark'];
|
|
5950
5950
|
|
|
5951
5951
|
class RawImage extends createBaseClass$1({
|
|
5952
|
-
componentName: componentName$
|
|
5952
|
+
componentName: componentName$1c,
|
|
5953
5953
|
baseSelector: 'slot',
|
|
5954
5954
|
}) {
|
|
5955
5955
|
static get observedAttributes() {
|
|
@@ -6077,7 +6077,7 @@ const ImageClass = compose$1(
|
|
|
6077
6077
|
componentNameValidationMixin$1,
|
|
6078
6078
|
)(RawImage);
|
|
6079
6079
|
|
|
6080
|
-
const componentName$
|
|
6080
|
+
const componentName$1b = getComponentName$1('icon');
|
|
6081
6081
|
|
|
6082
6082
|
const IconClass = compose$1(
|
|
6083
6083
|
createStyleMixin$1({
|
|
@@ -6098,7 +6098,7 @@ const IconClass = compose$1(
|
|
|
6098
6098
|
}
|
|
6099
6099
|
`,
|
|
6100
6100
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
6101
|
-
componentName: componentName$
|
|
6101
|
+
componentName: componentName$1b,
|
|
6102
6102
|
}),
|
|
6103
6103
|
);
|
|
6104
6104
|
|
|
@@ -6113,7 +6113,7 @@ const clickableMixin = (superclass) =>
|
|
|
6113
6113
|
}
|
|
6114
6114
|
};
|
|
6115
6115
|
|
|
6116
|
-
const componentName$
|
|
6116
|
+
const componentName$1a = getComponentName$1('button');
|
|
6117
6117
|
|
|
6118
6118
|
const resetStyles = `
|
|
6119
6119
|
:host {
|
|
@@ -6229,7 +6229,7 @@ const ButtonClass = compose$1(
|
|
|
6229
6229
|
}
|
|
6230
6230
|
`,
|
|
6231
6231
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
6232
|
-
componentName: componentName$
|
|
6232
|
+
componentName: componentName$1a,
|
|
6233
6233
|
})
|
|
6234
6234
|
);
|
|
6235
6235
|
|
|
@@ -6266,7 +6266,7 @@ loadingIndicatorStyles = `
|
|
|
6266
6266
|
}
|
|
6267
6267
|
`;
|
|
6268
6268
|
|
|
6269
|
-
customElements.define(componentName$
|
|
6269
|
+
customElements.define(componentName$1a, ButtonClass);
|
|
6270
6270
|
|
|
6271
6271
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
|
6272
6272
|
|
|
@@ -6624,7 +6624,7 @@ const nextMonth = (epoch) => {
|
|
|
6624
6624
|
return date;
|
|
6625
6625
|
};
|
|
6626
6626
|
|
|
6627
|
-
const componentName$
|
|
6627
|
+
const componentName$19 = getComponentName('calendar');
|
|
6628
6628
|
|
|
6629
6629
|
const observedAttrs$5 = [
|
|
6630
6630
|
'initial-value',
|
|
@@ -6641,7 +6641,7 @@ const observedAttrs$5 = [
|
|
|
6641
6641
|
|
|
6642
6642
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
|
6643
6643
|
|
|
6644
|
-
const BaseInputClass$c = createBaseInputClass({ componentName: componentName$
|
|
6644
|
+
const BaseInputClass$c = createBaseInputClass({ componentName: componentName$19, baseSelector: 'div' });
|
|
6645
6645
|
|
|
6646
6646
|
class RawCalendar extends BaseInputClass$c {
|
|
6647
6647
|
static get observedAttributes() {
|
|
@@ -7262,7 +7262,7 @@ const CalendarClass = compose(
|
|
|
7262
7262
|
componentNameValidationMixin
|
|
7263
7263
|
)(RawCalendar);
|
|
7264
7264
|
|
|
7265
|
-
customElements.define(componentName$
|
|
7265
|
+
customElements.define(componentName$19, CalendarClass);
|
|
7266
7266
|
|
|
7267
7267
|
const {
|
|
7268
7268
|
host: host$p,
|
|
@@ -7417,7 +7417,7 @@ var textFieldMappings = {
|
|
|
7417
7417
|
inputIconColor: { ...inputIcon, property: 'color' },
|
|
7418
7418
|
};
|
|
7419
7419
|
|
|
7420
|
-
const componentName$
|
|
7420
|
+
const componentName$18 = getComponentName('text-field');
|
|
7421
7421
|
|
|
7422
7422
|
const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
|
|
7423
7423
|
|
|
@@ -7539,11 +7539,11 @@ const TextFieldClass = compose(
|
|
|
7539
7539
|
}
|
|
7540
7540
|
`,
|
|
7541
7541
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
7542
|
-
componentName: componentName$
|
|
7542
|
+
componentName: componentName$18,
|
|
7543
7543
|
})
|
|
7544
7544
|
);
|
|
7545
7545
|
|
|
7546
|
-
customElements.define(componentName$
|
|
7546
|
+
customElements.define(componentName$18, TextFieldClass);
|
|
7547
7547
|
|
|
7548
7548
|
// DateCounterClass allows us to add several counters to the input, and use them seperately.
|
|
7549
7549
|
// For examele, we have a DayCounter, MonthCounter and YearCounter, which can each separately navigate
|
|
@@ -7663,12 +7663,12 @@ class DateCounter {
|
|
|
7663
7663
|
}
|
|
7664
7664
|
}
|
|
7665
7665
|
|
|
7666
|
-
const componentName$
|
|
7666
|
+
const componentName$17 = getComponentName('date-field');
|
|
7667
7667
|
|
|
7668
7668
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
|
7669
7669
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
|
7670
7670
|
const BASE_SELECTOR = 'vaadin-popover';
|
|
7671
|
-
const BaseInputClass$b = createBaseInputClass({ componentName: componentName$
|
|
7671
|
+
const BaseInputClass$b = createBaseInputClass({ componentName: componentName$17, baseSelector: BASE_SELECTOR });
|
|
7672
7672
|
|
|
7673
7673
|
const dateFieldAttrs = [
|
|
7674
7674
|
'format',
|
|
@@ -8582,10 +8582,10 @@ const DateFieldClass = compose(
|
|
|
8582
8582
|
componentNameValidationMixin
|
|
8583
8583
|
)(RawDateFieldClass);
|
|
8584
8584
|
|
|
8585
|
-
customElements.define(componentName$
|
|
8585
|
+
customElements.define(componentName$17, DateFieldClass);
|
|
8586
8586
|
|
|
8587
|
-
const componentName$
|
|
8588
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
8587
|
+
const componentName$16 = getComponentName('divider');
|
|
8588
|
+
class RawDivider extends createBaseClass({ componentName: componentName$16, baseSelector: ':host > div' }) {
|
|
8589
8589
|
constructor() {
|
|
8590
8590
|
super();
|
|
8591
8591
|
|
|
@@ -8688,9 +8688,9 @@ const DividerClass = compose(
|
|
|
8688
8688
|
componentNameValidationMixin
|
|
8689
8689
|
)(RawDivider);
|
|
8690
8690
|
|
|
8691
|
-
customElements.define(componentName$
|
|
8691
|
+
customElements.define(componentName$16, DividerClass);
|
|
8692
8692
|
|
|
8693
|
-
const componentName$
|
|
8693
|
+
const componentName$15 = getComponentName('email-field');
|
|
8694
8694
|
|
|
8695
8695
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
|
8696
8696
|
const defaultAutocomplete = 'username';
|
|
@@ -8759,11 +8759,11 @@ const EmailFieldClass = compose(
|
|
|
8759
8759
|
}
|
|
8760
8760
|
`,
|
|
8761
8761
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
8762
|
-
componentName: componentName$
|
|
8762
|
+
componentName: componentName$15,
|
|
8763
8763
|
})
|
|
8764
8764
|
);
|
|
8765
8765
|
|
|
8766
|
-
customElements.define(componentName$
|
|
8766
|
+
customElements.define(componentName$15, EmailFieldClass);
|
|
8767
8767
|
|
|
8768
8768
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
|
8769
8769
|
let style;
|
|
@@ -8819,37 +8819,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
|
8819
8819
|
return CssVarImageClass;
|
|
8820
8820
|
};
|
|
8821
8821
|
|
|
8822
|
-
const componentName$
|
|
8822
|
+
const componentName$14 = getComponentName('logo');
|
|
8823
8823
|
|
|
8824
8824
|
const LogoClass = createCssVarImageClass({
|
|
8825
|
-
componentName: componentName$
|
|
8825
|
+
componentName: componentName$14,
|
|
8826
8826
|
varName: 'url',
|
|
8827
8827
|
fallbackVarName: 'fallbackUrl',
|
|
8828
8828
|
});
|
|
8829
8829
|
|
|
8830
|
-
customElements.define(componentName$
|
|
8830
|
+
customElements.define(componentName$14, LogoClass);
|
|
8831
8831
|
|
|
8832
|
-
const componentName$
|
|
8832
|
+
const componentName$13 = getComponentName('totp-image');
|
|
8833
8833
|
|
|
8834
8834
|
const TotpImageClass = createCssVarImageClass({
|
|
8835
|
-
componentName: componentName$
|
|
8835
|
+
componentName: componentName$13,
|
|
8836
8836
|
varName: 'url',
|
|
8837
8837
|
fallbackVarName: 'fallbackUrl',
|
|
8838
8838
|
});
|
|
8839
8839
|
|
|
8840
|
-
customElements.define(componentName$
|
|
8840
|
+
customElements.define(componentName$13, TotpImageClass);
|
|
8841
8841
|
|
|
8842
|
-
const componentName$
|
|
8842
|
+
const componentName$12 = getComponentName('notp-image');
|
|
8843
8843
|
|
|
8844
8844
|
const NotpImageClass = createCssVarImageClass({
|
|
8845
|
-
componentName: componentName$
|
|
8845
|
+
componentName: componentName$12,
|
|
8846
8846
|
varName: 'url',
|
|
8847
8847
|
fallbackVarName: 'fallbackUrl',
|
|
8848
8848
|
});
|
|
8849
8849
|
|
|
8850
|
-
customElements.define(componentName$
|
|
8850
|
+
customElements.define(componentName$12, NotpImageClass);
|
|
8851
8851
|
|
|
8852
|
-
const componentName$
|
|
8852
|
+
const componentName$11 = getComponentName('number-field');
|
|
8853
8853
|
|
|
8854
8854
|
const NumberFieldClass = compose(
|
|
8855
8855
|
createStyleMixin({
|
|
@@ -8883,11 +8883,11 @@ const NumberFieldClass = compose(
|
|
|
8883
8883
|
}
|
|
8884
8884
|
`,
|
|
8885
8885
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
8886
|
-
componentName: componentName$
|
|
8886
|
+
componentName: componentName$11,
|
|
8887
8887
|
})
|
|
8888
8888
|
);
|
|
8889
8889
|
|
|
8890
|
-
customElements.define(componentName$
|
|
8890
|
+
customElements.define(componentName$11, NumberFieldClass);
|
|
8891
8891
|
|
|
8892
8892
|
const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
|
|
8893
8893
|
const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
|
|
@@ -8914,7 +8914,7 @@ const toggleMaskVisibility = (input, value) => {
|
|
|
8914
8914
|
|
|
8915
8915
|
/* eslint-disable no-param-reassign */
|
|
8916
8916
|
|
|
8917
|
-
const componentName
|
|
8917
|
+
const componentName$10 = getComponentName('passcode-internal');
|
|
8918
8918
|
|
|
8919
8919
|
const observedAttributes$6 = ['digits', 'loading'];
|
|
8920
8920
|
|
|
@@ -8927,7 +8927,7 @@ const forwardAttributes = [
|
|
|
8927
8927
|
'aria-labelledby',
|
|
8928
8928
|
];
|
|
8929
8929
|
|
|
8930
|
-
const BaseInputClass$a = createBaseInputClass({ componentName: componentName
|
|
8930
|
+
const BaseInputClass$a = createBaseInputClass({ componentName: componentName$10, baseSelector: 'div' });
|
|
8931
8931
|
|
|
8932
8932
|
class PasscodeInternal extends BaseInputClass$a {
|
|
8933
8933
|
static get observedAttributes() {
|
|
@@ -9141,7 +9141,7 @@ class PasscodeInternal extends BaseInputClass$a {
|
|
|
9141
9141
|
}
|
|
9142
9142
|
}
|
|
9143
9143
|
|
|
9144
|
-
const componentName
|
|
9144
|
+
const componentName$$ = getComponentName('passcode');
|
|
9145
9145
|
|
|
9146
9146
|
const observedAttributes$5 = ['digits'];
|
|
9147
9147
|
|
|
@@ -9186,18 +9186,18 @@ const customMixin$c = (superclass) =>
|
|
|
9186
9186
|
const template = document.createElement('template');
|
|
9187
9187
|
|
|
9188
9188
|
template.innerHTML = `
|
|
9189
|
-
<${componentName
|
|
9189
|
+
<${componentName$10}
|
|
9190
9190
|
bordered="true"
|
|
9191
9191
|
name="code"
|
|
9192
9192
|
tabindex="-1"
|
|
9193
9193
|
slot="input"
|
|
9194
9194
|
role="textbox"
|
|
9195
|
-
><slot></slot></${componentName
|
|
9195
|
+
><slot></slot></${componentName$10}>
|
|
9196
9196
|
`;
|
|
9197
9197
|
|
|
9198
9198
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
9199
9199
|
|
|
9200
|
-
this.inputElement = this.shadowRoot.querySelector(componentName
|
|
9200
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$10);
|
|
9201
9201
|
|
|
9202
9202
|
forwardAttrs(this, this.inputElement, {
|
|
9203
9203
|
includeAttrs: ['digits', 'size', 'loading', 'disabled'],
|
|
@@ -9360,13 +9360,13 @@ const PasscodeClass = compose(
|
|
|
9360
9360
|
${resetInputCursor('vaadin-text-field')}
|
|
9361
9361
|
`,
|
|
9362
9362
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9363
|
-
componentName: componentName
|
|
9363
|
+
componentName: componentName$$,
|
|
9364
9364
|
})
|
|
9365
9365
|
);
|
|
9366
9366
|
|
|
9367
|
-
customElements.define(componentName
|
|
9367
|
+
customElements.define(componentName$10, PasscodeInternal);
|
|
9368
9368
|
|
|
9369
|
-
customElements.define(componentName
|
|
9369
|
+
customElements.define(componentName$$, PasscodeClass);
|
|
9370
9370
|
|
|
9371
9371
|
const passwordDraggableMixin = (superclass) =>
|
|
9372
9372
|
class PasswordDraggableMixinClass extends superclass {
|
|
@@ -9407,7 +9407,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
|
9407
9407
|
}
|
|
9408
9408
|
};
|
|
9409
9409
|
|
|
9410
|
-
const componentName$
|
|
9410
|
+
const componentName$_ = getComponentName('password');
|
|
9411
9411
|
|
|
9412
9412
|
const customMixin$b = (superclass) =>
|
|
9413
9413
|
class PasswordFieldMixinClass extends superclass {
|
|
@@ -9691,13 +9691,13 @@ const PasswordClass = compose(
|
|
|
9691
9691
|
}
|
|
9692
9692
|
`,
|
|
9693
9693
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9694
|
-
componentName: componentName$
|
|
9694
|
+
componentName: componentName$_,
|
|
9695
9695
|
})
|
|
9696
9696
|
);
|
|
9697
9697
|
|
|
9698
|
-
customElements.define(componentName$
|
|
9698
|
+
customElements.define(componentName$_, PasswordClass);
|
|
9699
9699
|
|
|
9700
|
-
const componentName$
|
|
9700
|
+
const componentName$Z = getComponentName('text-area');
|
|
9701
9701
|
|
|
9702
9702
|
const {
|
|
9703
9703
|
host: host$k,
|
|
@@ -9780,11 +9780,11 @@ const TextAreaClass = compose(
|
|
|
9780
9780
|
${resetInputCursor('vaadin-text-area')}
|
|
9781
9781
|
`,
|
|
9782
9782
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9783
|
-
componentName: componentName$
|
|
9783
|
+
componentName: componentName$Z,
|
|
9784
9784
|
})
|
|
9785
9785
|
);
|
|
9786
9786
|
|
|
9787
|
-
customElements.define(componentName$
|
|
9787
|
+
customElements.define(componentName$Z, TextAreaClass);
|
|
9788
9788
|
|
|
9789
9789
|
var CountryCodes = [
|
|
9790
9790
|
// United States should be the first option
|
|
@@ -11047,7 +11047,7 @@ const parsePhoneNumber = (val) => {
|
|
|
11047
11047
|
return [countryCode, phoneNumber];
|
|
11048
11048
|
};
|
|
11049
11049
|
|
|
11050
|
-
const componentName$
|
|
11050
|
+
const componentName$Y = getComponentName('phone-field-internal');
|
|
11051
11051
|
|
|
11052
11052
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'readonly'];
|
|
11053
11053
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
|
@@ -11061,7 +11061,7 @@ const mapAttrs$1 = {
|
|
|
11061
11061
|
|
|
11062
11062
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
|
|
11063
11063
|
|
|
11064
|
-
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$
|
|
11064
|
+
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$Y, baseSelector: 'div' });
|
|
11065
11065
|
|
|
11066
11066
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
|
|
11067
11067
|
static get observedAttributes() {
|
|
@@ -11422,12 +11422,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$9 {
|
|
|
11422
11422
|
}
|
|
11423
11423
|
};
|
|
11424
11424
|
|
|
11425
|
-
customElements.define(componentName$
|
|
11425
|
+
customElements.define(componentName$Y, PhoneFieldInternal$1);
|
|
11426
11426
|
|
|
11427
11427
|
const textVars$2 = TextFieldClass.cssVarList;
|
|
11428
11428
|
const comboVars = ComboBoxClass.cssVarList;
|
|
11429
11429
|
|
|
11430
|
-
const componentName$
|
|
11430
|
+
const componentName$X = getComponentName('phone-field');
|
|
11431
11431
|
|
|
11432
11432
|
const customMixin$a = (superclass) =>
|
|
11433
11433
|
class PhoneFieldMixinClass extends superclass {
|
|
@@ -11441,15 +11441,15 @@ const customMixin$a = (superclass) =>
|
|
|
11441
11441
|
const template = document.createElement('template');
|
|
11442
11442
|
|
|
11443
11443
|
template.innerHTML = `
|
|
11444
|
-
<${componentName$
|
|
11444
|
+
<${componentName$Y}
|
|
11445
11445
|
tabindex="-1"
|
|
11446
11446
|
slot="input"
|
|
11447
|
-
></${componentName$
|
|
11447
|
+
></${componentName$Y}>
|
|
11448
11448
|
`;
|
|
11449
11449
|
|
|
11450
11450
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
11451
11451
|
|
|
11452
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
11452
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$Y);
|
|
11453
11453
|
|
|
11454
11454
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
|
11455
11455
|
includeAttrs: [
|
|
@@ -11722,11 +11722,11 @@ const PhoneFieldClass = compose(
|
|
|
11722
11722
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
11723
11723
|
`,
|
|
11724
11724
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
11725
|
-
componentName: componentName$
|
|
11725
|
+
componentName: componentName$X,
|
|
11726
11726
|
})
|
|
11727
11727
|
);
|
|
11728
11728
|
|
|
11729
|
-
customElements.define(componentName$
|
|
11729
|
+
customElements.define(componentName$X, PhoneFieldClass);
|
|
11730
11730
|
|
|
11731
11731
|
const getCountryByCodeId = (countryCode) => {
|
|
11732
11732
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
|
@@ -11738,7 +11738,7 @@ const matchingParenthesis = (val) => {
|
|
|
11738
11738
|
return openParenMatches?.length === closeParenMatches?.length;
|
|
11739
11739
|
};
|
|
11740
11740
|
|
|
11741
|
-
const componentName$
|
|
11741
|
+
const componentName$W = getComponentName('phone-field-internal-input-box');
|
|
11742
11742
|
|
|
11743
11743
|
const observedAttributes$4 = [
|
|
11744
11744
|
'disabled',
|
|
@@ -11754,7 +11754,7 @@ const mapAttrs = {
|
|
|
11754
11754
|
'phone-input-placeholder': 'placeholder',
|
|
11755
11755
|
};
|
|
11756
11756
|
|
|
11757
|
-
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$
|
|
11757
|
+
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$W, baseSelector: 'div' });
|
|
11758
11758
|
|
|
11759
11759
|
class PhoneFieldInternal extends BaseInputClass$8 {
|
|
11760
11760
|
static get observedAttributes() {
|
|
@@ -12002,11 +12002,11 @@ class PhoneFieldInternal extends BaseInputClass$8 {
|
|
|
12002
12002
|
}
|
|
12003
12003
|
}
|
|
12004
12004
|
|
|
12005
|
-
customElements.define(componentName$
|
|
12005
|
+
customElements.define(componentName$W, PhoneFieldInternal);
|
|
12006
12006
|
|
|
12007
12007
|
const textVars$1 = TextFieldClass.cssVarList;
|
|
12008
12008
|
|
|
12009
|
-
const componentName$
|
|
12009
|
+
const componentName$V = getComponentName('phone-input-box-field');
|
|
12010
12010
|
|
|
12011
12011
|
const customMixin$9 = (superclass) =>
|
|
12012
12012
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
|
@@ -12020,15 +12020,15 @@ const customMixin$9 = (superclass) =>
|
|
|
12020
12020
|
const template = document.createElement('template');
|
|
12021
12021
|
|
|
12022
12022
|
template.innerHTML = `
|
|
12023
|
-
<${componentName$
|
|
12023
|
+
<${componentName$W}
|
|
12024
12024
|
tabindex="-1"
|
|
12025
12025
|
slot="input"
|
|
12026
|
-
></${componentName$
|
|
12026
|
+
></${componentName$W}>
|
|
12027
12027
|
`;
|
|
12028
12028
|
|
|
12029
12029
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
12030
12030
|
|
|
12031
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
12031
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$W);
|
|
12032
12032
|
|
|
12033
12033
|
syncAttrs$1(this, this.inputElement, { includeAttrs: ['has-value'] });
|
|
12034
12034
|
|
|
@@ -12235,20 +12235,20 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12235
12235
|
${inputFloatingLabelStyle()}
|
|
12236
12236
|
`,
|
|
12237
12237
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12238
|
-
componentName: componentName$
|
|
12238
|
+
componentName: componentName$V,
|
|
12239
12239
|
})
|
|
12240
12240
|
);
|
|
12241
12241
|
|
|
12242
|
-
customElements.define(componentName$
|
|
12242
|
+
customElements.define(componentName$V, PhoneFieldInputBoxClass);
|
|
12243
12243
|
|
|
12244
|
-
const componentName$
|
|
12244
|
+
const componentName$U = getComponentName('new-password-internal');
|
|
12245
12245
|
|
|
12246
12246
|
const interpolateString = (template, values) =>
|
|
12247
12247
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
|
12248
12248
|
|
|
12249
12249
|
// eslint-disable-next-line max-classes-per-file
|
|
12250
12250
|
|
|
12251
|
-
const componentName$
|
|
12251
|
+
const componentName$T = getComponentName('policy-validation');
|
|
12252
12252
|
|
|
12253
12253
|
const overrideAttrs = [
|
|
12254
12254
|
'data-password-policy-value-minlength',
|
|
@@ -12258,7 +12258,7 @@ const overrideAttrs = [
|
|
|
12258
12258
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
|
12259
12259
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
|
12260
12260
|
|
|
12261
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
|
12261
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$T, baseSelector: ':host > div' }) {
|
|
12262
12262
|
#availablePolicies;
|
|
12263
12263
|
|
|
12264
12264
|
#activePolicies = [];
|
|
@@ -12530,7 +12530,7 @@ const PolicyValidationClass = compose(
|
|
|
12530
12530
|
componentNameValidationMixin
|
|
12531
12531
|
)(RawPolicyValidation);
|
|
12532
12532
|
|
|
12533
|
-
const componentName$
|
|
12533
|
+
const componentName$S = getComponentName('new-password');
|
|
12534
12534
|
|
|
12535
12535
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
|
12536
12536
|
|
|
@@ -12544,18 +12544,18 @@ const customMixin$8 = (superclass) =>
|
|
|
12544
12544
|
const externalInputAttr = this.getAttribute('external-input');
|
|
12545
12545
|
|
|
12546
12546
|
template.innerHTML = `
|
|
12547
|
-
<${componentName$
|
|
12547
|
+
<${componentName$U}
|
|
12548
12548
|
name="new-password"
|
|
12549
12549
|
tabindex="-1"
|
|
12550
12550
|
slot="input"
|
|
12551
12551
|
external-input="${externalInputAttr}"
|
|
12552
12552
|
>
|
|
12553
|
-
</${componentName$
|
|
12553
|
+
</${componentName$U}>
|
|
12554
12554
|
`;
|
|
12555
12555
|
|
|
12556
12556
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
12557
12557
|
|
|
12558
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
12558
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$U);
|
|
12559
12559
|
|
|
12560
12560
|
if (this.getAttribute('external-input') === 'true') {
|
|
12561
12561
|
this.initExternalInput();
|
|
@@ -12740,11 +12740,11 @@ const NewPasswordClass = compose(
|
|
|
12740
12740
|
}
|
|
12741
12741
|
`,
|
|
12742
12742
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12743
|
-
componentName: componentName$
|
|
12743
|
+
componentName: componentName$S,
|
|
12744
12744
|
})
|
|
12745
12745
|
);
|
|
12746
12746
|
|
|
12747
|
-
customElements.define(componentName$
|
|
12747
|
+
customElements.define(componentName$T, PolicyValidationClass);
|
|
12748
12748
|
|
|
12749
12749
|
const passwordAttrPrefixRegex = /^password-/;
|
|
12750
12750
|
const confirmAttrPrefixRegex = /^confirm-/;
|
|
@@ -12784,7 +12784,7 @@ const inputRelatedAttrs = [].concat(
|
|
|
12784
12784
|
policyPanelAttrs
|
|
12785
12785
|
);
|
|
12786
12786
|
|
|
12787
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
|
12787
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$U, baseSelector: 'div' });
|
|
12788
12788
|
|
|
12789
12789
|
class NewPasswordInternal extends BaseInputClass$7 {
|
|
12790
12790
|
static get observedAttributes() {
|
|
@@ -13030,21 +13030,21 @@ class NewPasswordInternal extends BaseInputClass$7 {
|
|
|
13030
13030
|
}
|
|
13031
13031
|
}
|
|
13032
13032
|
|
|
13033
|
-
customElements.define(componentName$
|
|
13033
|
+
customElements.define(componentName$U, NewPasswordInternal);
|
|
13034
13034
|
|
|
13035
|
-
customElements.define(componentName$
|
|
13035
|
+
customElements.define(componentName$S, NewPasswordClass);
|
|
13036
13036
|
|
|
13037
|
-
const componentName$
|
|
13037
|
+
const componentName$R = getComponentName('recaptcha');
|
|
13038
13038
|
|
|
13039
13039
|
const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise'];
|
|
13040
13040
|
|
|
13041
|
-
const BaseClass$
|
|
13042
|
-
componentName: componentName$
|
|
13041
|
+
const BaseClass$7 = createBaseClass({
|
|
13042
|
+
componentName: componentName$R,
|
|
13043
13043
|
baseSelector: ':host > div',
|
|
13044
13044
|
});
|
|
13045
|
-
class RawRecaptcha extends BaseClass$
|
|
13045
|
+
class RawRecaptcha extends BaseClass$7 {
|
|
13046
13046
|
static get observedAttributes() {
|
|
13047
|
-
return observedAttributes$3.concat(BaseClass$
|
|
13047
|
+
return observedAttributes$3.concat(BaseClass$7.observedAttributes || []);
|
|
13048
13048
|
}
|
|
13049
13049
|
|
|
13050
13050
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
@@ -13264,7 +13264,7 @@ class RawRecaptcha extends BaseClass$6 {
|
|
|
13264
13264
|
|
|
13265
13265
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
|
13266
13266
|
|
|
13267
|
-
customElements.define(componentName$
|
|
13267
|
+
customElements.define(componentName$R, RecaptchaClass);
|
|
13268
13268
|
|
|
13269
13269
|
const getFileBase64 = (fileObj) => {
|
|
13270
13270
|
return new Promise((resolve) => {
|
|
@@ -13278,7 +13278,7 @@ const getFilename = (fileObj) => {
|
|
|
13278
13278
|
return fileObj.name.replace(/^.*\\/, '');
|
|
13279
13279
|
};
|
|
13280
13280
|
|
|
13281
|
-
const componentName$
|
|
13281
|
+
const componentName$Q = getComponentName('upload-file');
|
|
13282
13282
|
|
|
13283
13283
|
const observedAttributes$2 = [
|
|
13284
13284
|
'title',
|
|
@@ -13293,7 +13293,7 @@ const observedAttributes$2 = [
|
|
|
13293
13293
|
'icon',
|
|
13294
13294
|
];
|
|
13295
13295
|
|
|
13296
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
|
13296
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$Q, baseSelector: ':host > div' });
|
|
13297
13297
|
|
|
13298
13298
|
class RawUploadFile extends BaseInputClass$6 {
|
|
13299
13299
|
static get observedAttributes() {
|
|
@@ -13512,7 +13512,7 @@ const UploadFileClass = compose(
|
|
|
13512
13512
|
componentNameValidationMixin
|
|
13513
13513
|
)(RawUploadFile);
|
|
13514
13514
|
|
|
13515
|
-
customElements.define(componentName$
|
|
13515
|
+
customElements.define(componentName$Q, UploadFileClass);
|
|
13516
13516
|
|
|
13517
13517
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
13518
13518
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
|
@@ -13602,10 +13602,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
|
13602
13602
|
return BaseButtonSelectionGroupInternalClass;
|
|
13603
13603
|
};
|
|
13604
13604
|
|
|
13605
|
-
const componentName$
|
|
13605
|
+
const componentName$P = getComponentName('button-selection-group-internal');
|
|
13606
13606
|
|
|
13607
13607
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
13608
|
-
componentName$
|
|
13608
|
+
componentName$P
|
|
13609
13609
|
) {
|
|
13610
13610
|
getSelectedNode() {
|
|
13611
13611
|
return this.items.find((item) => item.hasAttribute('selected'));
|
|
@@ -13850,7 +13850,7 @@ const buttonSelectionGroupStyles = `
|
|
|
13850
13850
|
${resetInputCursor('vaadin-text-field')}
|
|
13851
13851
|
`;
|
|
13852
13852
|
|
|
13853
|
-
const componentName$
|
|
13853
|
+
const componentName$O = getComponentName('button-selection-group');
|
|
13854
13854
|
|
|
13855
13855
|
const buttonSelectionGroupMixin = (superclass) =>
|
|
13856
13856
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -13859,19 +13859,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
|
13859
13859
|
const template = document.createElement('template');
|
|
13860
13860
|
|
|
13861
13861
|
template.innerHTML = `
|
|
13862
|
-
<${componentName$
|
|
13862
|
+
<${componentName$P}
|
|
13863
13863
|
name="button-selection-group"
|
|
13864
13864
|
slot="input"
|
|
13865
13865
|
tabindex="-1"
|
|
13866
13866
|
part="internal-component"
|
|
13867
13867
|
>
|
|
13868
13868
|
<slot></slot>
|
|
13869
|
-
</${componentName$
|
|
13869
|
+
</${componentName$P}>
|
|
13870
13870
|
`;
|
|
13871
13871
|
|
|
13872
13872
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
13873
13873
|
|
|
13874
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
13874
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$P);
|
|
13875
13875
|
|
|
13876
13876
|
forwardAttrs(this, this.inputElement, {
|
|
13877
13877
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
|
@@ -13896,16 +13896,16 @@ const ButtonSelectionGroupClass = compose(
|
|
|
13896
13896
|
wrappedEleName: 'vaadin-text-field',
|
|
13897
13897
|
style: () => buttonSelectionGroupStyles,
|
|
13898
13898
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
13899
|
-
componentName: componentName$
|
|
13899
|
+
componentName: componentName$O,
|
|
13900
13900
|
})
|
|
13901
13901
|
);
|
|
13902
13902
|
|
|
13903
|
-
customElements.define(componentName$
|
|
13903
|
+
customElements.define(componentName$P, ButtonSelectionGroupInternalClass);
|
|
13904
13904
|
|
|
13905
|
-
const componentName$
|
|
13905
|
+
const componentName$N = getComponentName('button-selection-group-item');
|
|
13906
13906
|
|
|
13907
13907
|
class RawSelectItem extends createBaseClass({
|
|
13908
|
-
componentName: componentName$
|
|
13908
|
+
componentName: componentName$N,
|
|
13909
13909
|
baseSelector: ':host > descope-button',
|
|
13910
13910
|
}) {
|
|
13911
13911
|
get size() {
|
|
@@ -14016,14 +14016,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
|
14016
14016
|
componentNameValidationMixin
|
|
14017
14017
|
)(RawSelectItem);
|
|
14018
14018
|
|
|
14019
|
-
customElements.define(componentName$
|
|
14019
|
+
customElements.define(componentName$N, ButtonSelectionGroupItemClass);
|
|
14020
14020
|
|
|
14021
|
-
customElements.define(componentName$
|
|
14021
|
+
customElements.define(componentName$O, ButtonSelectionGroupClass);
|
|
14022
14022
|
|
|
14023
|
-
const componentName$
|
|
14023
|
+
const componentName$M = getComponentName('button-multi-selection-group-internal');
|
|
14024
14024
|
|
|
14025
14025
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
14026
|
-
componentName$
|
|
14026
|
+
componentName$M
|
|
14027
14027
|
) {
|
|
14028
14028
|
#getSelectedNodes() {
|
|
14029
14029
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
|
@@ -14126,7 +14126,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
|
14126
14126
|
}
|
|
14127
14127
|
}
|
|
14128
14128
|
|
|
14129
|
-
const componentName$
|
|
14129
|
+
const componentName$L = getComponentName('button-multi-selection-group');
|
|
14130
14130
|
|
|
14131
14131
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
14132
14132
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -14135,19 +14135,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
|
14135
14135
|
const template = document.createElement('template');
|
|
14136
14136
|
|
|
14137
14137
|
template.innerHTML = `
|
|
14138
|
-
<${componentName$
|
|
14138
|
+
<${componentName$M}
|
|
14139
14139
|
name="button-selection-group"
|
|
14140
14140
|
slot="input"
|
|
14141
14141
|
tabindex="-1"
|
|
14142
14142
|
part="internal-component"
|
|
14143
14143
|
>
|
|
14144
14144
|
<slot></slot>
|
|
14145
|
-
</${componentName$
|
|
14145
|
+
</${componentName$M}>
|
|
14146
14146
|
`;
|
|
14147
14147
|
|
|
14148
14148
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
14149
14149
|
|
|
14150
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
14150
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$M);
|
|
14151
14151
|
|
|
14152
14152
|
forwardAttrs(this, this.inputElement, {
|
|
14153
14153
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
|
@@ -14172,13 +14172,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
|
14172
14172
|
wrappedEleName: 'vaadin-text-field',
|
|
14173
14173
|
style: () => buttonSelectionGroupStyles,
|
|
14174
14174
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
14175
|
-
componentName: componentName$
|
|
14175
|
+
componentName: componentName$L,
|
|
14176
14176
|
})
|
|
14177
14177
|
);
|
|
14178
14178
|
|
|
14179
|
-
customElements.define(componentName$
|
|
14179
|
+
customElements.define(componentName$M, ButtonMultiSelectionGroupInternalClass);
|
|
14180
14180
|
|
|
14181
|
-
customElements.define(componentName$
|
|
14181
|
+
customElements.define(componentName$L, ButtonMultiSelectionGroupClass);
|
|
14182
14182
|
|
|
14183
14183
|
/* eslint-disable no-param-reassign */
|
|
14184
14184
|
|
|
@@ -14206,9 +14206,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
|
14206
14206
|
}
|
|
14207
14207
|
}
|
|
14208
14208
|
|
|
14209
|
-
const componentName$
|
|
14209
|
+
const componentName$K = getComponentName('grid-text-column');
|
|
14210
14210
|
|
|
14211
|
-
customElements.define(componentName$
|
|
14211
|
+
customElements.define(componentName$K, GridTextColumnClass);
|
|
14212
14212
|
|
|
14213
14213
|
/* eslint-disable no-param-reassign */
|
|
14214
14214
|
|
|
@@ -14243,9 +14243,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
|
14243
14243
|
|
|
14244
14244
|
/* eslint-disable no-param-reassign */
|
|
14245
14245
|
|
|
14246
|
-
const componentName$
|
|
14246
|
+
const componentName$J = getComponentName('grid-custom-column');
|
|
14247
14247
|
|
|
14248
|
-
customElements.define(componentName$
|
|
14248
|
+
customElements.define(componentName$J, GridCustomColumnClass);
|
|
14249
14249
|
|
|
14250
14250
|
const createCheckboxEle = () => {
|
|
14251
14251
|
const checkbox = document.createElement('descope-checkbox');
|
|
@@ -14304,9 +14304,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
|
14304
14304
|
}
|
|
14305
14305
|
}
|
|
14306
14306
|
|
|
14307
|
-
const componentName$
|
|
14307
|
+
const componentName$I = getComponentName('grid-selection-column');
|
|
14308
14308
|
|
|
14309
|
-
customElements.define(componentName$
|
|
14309
|
+
customElements.define(componentName$I, GridSelectionColumnClass);
|
|
14310
14310
|
|
|
14311
14311
|
/* eslint-disable no-param-reassign */
|
|
14312
14312
|
|
|
@@ -14345,9 +14345,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
|
|
|
14345
14345
|
}
|
|
14346
14346
|
}
|
|
14347
14347
|
|
|
14348
|
-
const componentName$
|
|
14348
|
+
const componentName$H = getComponentName('grid-item-details-column');
|
|
14349
14349
|
|
|
14350
|
-
customElements.define(componentName$
|
|
14350
|
+
customElements.define(componentName$H, GridItemDetailsColumnClass);
|
|
14351
14351
|
|
|
14352
14352
|
const decode = (input) => {
|
|
14353
14353
|
const txt = document.createElement('textarea');
|
|
@@ -14359,9 +14359,9 @@ const tpl = (input, inline) => {
|
|
|
14359
14359
|
return inline ? input : `<pre>${input}</pre>`;
|
|
14360
14360
|
};
|
|
14361
14361
|
|
|
14362
|
-
const componentName$
|
|
14362
|
+
const componentName$G = getComponentName('code-snippet');
|
|
14363
14363
|
|
|
14364
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
|
14364
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$G, baseSelector: ':host > code' }) {
|
|
14365
14365
|
static get observedAttributes() {
|
|
14366
14366
|
return ['lang', 'inline'];
|
|
14367
14367
|
}
|
|
@@ -14595,7 +14595,7 @@ const CodeSnippetClass = compose(
|
|
|
14595
14595
|
componentNameValidationMixin
|
|
14596
14596
|
)(CodeSnippet$1);
|
|
14597
14597
|
|
|
14598
|
-
customElements.define(componentName$
|
|
14598
|
+
customElements.define(componentName$G, CodeSnippetClass);
|
|
14599
14599
|
|
|
14600
14600
|
const isValidDataType = (data) => {
|
|
14601
14601
|
const isValid = Array.isArray(data);
|
|
@@ -14670,7 +14670,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
|
14670
14670
|
`;
|
|
14671
14671
|
};
|
|
14672
14672
|
|
|
14673
|
-
const componentName$
|
|
14673
|
+
const componentName$F = getComponentName('grid');
|
|
14674
14674
|
|
|
14675
14675
|
const GridMixin = (superclass) =>
|
|
14676
14676
|
class GridMixinClass extends superclass {
|
|
@@ -15024,13 +15024,13 @@ const GridClass = compose(
|
|
|
15024
15024
|
/*!css*/
|
|
15025
15025
|
`,
|
|
15026
15026
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
|
15027
|
-
componentName: componentName$
|
|
15027
|
+
componentName: componentName$F,
|
|
15028
15028
|
})
|
|
15029
15029
|
);
|
|
15030
15030
|
|
|
15031
|
-
customElements.define(componentName$
|
|
15031
|
+
customElements.define(componentName$F, GridClass);
|
|
15032
15032
|
|
|
15033
|
-
const componentName$
|
|
15033
|
+
const componentName$E = getComponentName('multi-select-combo-box');
|
|
15034
15034
|
|
|
15035
15035
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
15036
15036
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -15687,14 +15687,14 @@ const MultiSelectComboBoxClass = compose(
|
|
|
15687
15687
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
|
15688
15688
|
// tries to override it, causing us to lose the user set placeholder.
|
|
15689
15689
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
|
|
15690
|
-
componentName: componentName$
|
|
15690
|
+
componentName: componentName$E,
|
|
15691
15691
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
15692
15692
|
})
|
|
15693
15693
|
);
|
|
15694
15694
|
|
|
15695
|
-
customElements.define(componentName$
|
|
15695
|
+
customElements.define(componentName$E, MultiSelectComboBoxClass);
|
|
15696
15696
|
|
|
15697
|
-
const componentName$
|
|
15697
|
+
const componentName$D = getComponentName('modal');
|
|
15698
15698
|
|
|
15699
15699
|
const observedAttrs$2 = ['opened'];
|
|
15700
15700
|
|
|
@@ -15843,11 +15843,11 @@ const ModalClass = compose(
|
|
|
15843
15843
|
}
|
|
15844
15844
|
`,
|
|
15845
15845
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
|
15846
|
-
componentName: componentName$
|
|
15846
|
+
componentName: componentName$D,
|
|
15847
15847
|
})
|
|
15848
15848
|
);
|
|
15849
15849
|
|
|
15850
|
-
customElements.define(componentName$
|
|
15850
|
+
customElements.define(componentName$D, ModalClass);
|
|
15851
15851
|
|
|
15852
15852
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
|
15853
15853
|
|
|
@@ -15858,7 +15858,7 @@ if (!vaadinContainerClass) {
|
|
|
15858
15858
|
class NotificationContainerClass extends vaadinContainerClass {}
|
|
15859
15859
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
|
15860
15860
|
|
|
15861
|
-
const componentName$
|
|
15861
|
+
const componentName$C = getComponentName('notification-card');
|
|
15862
15862
|
|
|
15863
15863
|
const notificationCardMixin = (superclass) =>
|
|
15864
15864
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -15966,13 +15966,13 @@ const NotificationCardClass = compose(
|
|
|
15966
15966
|
}
|
|
15967
15967
|
`,
|
|
15968
15968
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
15969
|
-
componentName: componentName$
|
|
15969
|
+
componentName: componentName$C,
|
|
15970
15970
|
})
|
|
15971
15971
|
);
|
|
15972
15972
|
|
|
15973
|
-
customElements.define(componentName$
|
|
15973
|
+
customElements.define(componentName$C, NotificationCardClass);
|
|
15974
15974
|
|
|
15975
|
-
const componentName$
|
|
15975
|
+
const componentName$B = getComponentName('notification');
|
|
15976
15976
|
|
|
15977
15977
|
const NotificationMixin = (superclass) =>
|
|
15978
15978
|
class NotificationMixinClass extends superclass {
|
|
@@ -16067,15 +16067,15 @@ const NotificationClass = compose(
|
|
|
16067
16067
|
createProxy({
|
|
16068
16068
|
wrappedEleName: 'vaadin-notification',
|
|
16069
16069
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
16070
|
-
componentName: componentName$
|
|
16070
|
+
componentName: componentName$B,
|
|
16071
16071
|
})
|
|
16072
16072
|
);
|
|
16073
16073
|
|
|
16074
|
-
customElements.define(componentName$
|
|
16074
|
+
customElements.define(componentName$B, NotificationClass);
|
|
16075
16075
|
|
|
16076
|
-
const componentName$
|
|
16076
|
+
const componentName$A = getComponentName('mappings-field-internal');
|
|
16077
16077
|
|
|
16078
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
|
16078
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
|
|
16079
16079
|
|
|
16080
16080
|
class MappingsFieldInternal extends BaseInputClass$5 {
|
|
16081
16081
|
#errorItem;
|
|
@@ -16322,7 +16322,7 @@ class MappingsFieldInternal extends BaseInputClass$5 {
|
|
|
16322
16322
|
}
|
|
16323
16323
|
}
|
|
16324
16324
|
|
|
16325
|
-
const componentName$
|
|
16325
|
+
const componentName$z = getComponentName('mappings-field');
|
|
16326
16326
|
|
|
16327
16327
|
const customMixin$6 = (superclass) =>
|
|
16328
16328
|
class MappingsFieldMixinClass extends superclass {
|
|
@@ -16351,14 +16351,14 @@ const customMixin$6 = (superclass) =>
|
|
|
16351
16351
|
const template = document.createElement('template');
|
|
16352
16352
|
|
|
16353
16353
|
template.innerHTML = `
|
|
16354
|
-
<${componentName$
|
|
16354
|
+
<${componentName$A}
|
|
16355
16355
|
tabindex="-1"
|
|
16356
|
-
></${componentName$
|
|
16356
|
+
></${componentName$A}>
|
|
16357
16357
|
`;
|
|
16358
16358
|
|
|
16359
16359
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
16360
16360
|
|
|
16361
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
16361
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$A);
|
|
16362
16362
|
|
|
16363
16363
|
forwardAttrs(this, this.inputElement, {
|
|
16364
16364
|
includeAttrs: [
|
|
@@ -16494,13 +16494,13 @@ const MappingsFieldClass = compose(
|
|
|
16494
16494
|
'error-message',
|
|
16495
16495
|
'style',
|
|
16496
16496
|
],
|
|
16497
|
-
componentName: componentName$
|
|
16497
|
+
componentName: componentName$z,
|
|
16498
16498
|
})
|
|
16499
16499
|
);
|
|
16500
16500
|
|
|
16501
|
-
customElements.define(componentName$
|
|
16501
|
+
customElements.define(componentName$A, MappingsFieldInternal);
|
|
16502
16502
|
|
|
16503
|
-
const componentName$
|
|
16503
|
+
const componentName$y = getComponentName('mapping-item');
|
|
16504
16504
|
|
|
16505
16505
|
const inputAttrs = [
|
|
16506
16506
|
'size',
|
|
@@ -16513,7 +16513,7 @@ const inputAttrs = [
|
|
|
16513
16513
|
'st-error-message-icon-padding',
|
|
16514
16514
|
];
|
|
16515
16515
|
|
|
16516
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
|
16516
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$y, baseSelector: 'div' });
|
|
16517
16517
|
|
|
16518
16518
|
class MappingItem extends BaseInputClass$4 {
|
|
16519
16519
|
static get observedAttributes() {
|
|
@@ -16668,14 +16668,14 @@ class MappingItem extends BaseInputClass$4 {
|
|
|
16668
16668
|
}
|
|
16669
16669
|
}
|
|
16670
16670
|
|
|
16671
|
-
customElements.define(componentName$
|
|
16671
|
+
customElements.define(componentName$y, MappingItem);
|
|
16672
16672
|
|
|
16673
|
-
customElements.define(componentName$
|
|
16673
|
+
customElements.define(componentName$z, MappingsFieldClass);
|
|
16674
16674
|
|
|
16675
|
-
const componentName$
|
|
16675
|
+
const componentName$x = getComponentName$1('badge');
|
|
16676
16676
|
|
|
16677
16677
|
class RawBadge extends createBaseClass$1({
|
|
16678
|
-
componentName: componentName$
|
|
16678
|
+
componentName: componentName$x,
|
|
16679
16679
|
baseSelector: ':host > div',
|
|
16680
16680
|
}) {
|
|
16681
16681
|
constructor() {
|
|
@@ -16742,9 +16742,9 @@ var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgi
|
|
|
16742
16742
|
|
|
16743
16743
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMDAwMiAwLjk5MjE0OUMxMC4wMDAyIDEuMDE2MTUgMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNUw4LjIyNDE5IDMuMDA4MTVIMi45OTIxOUMyLjQ2NDE5IDMuMDA4MTUgMi4wMDgxOSAzLjQ0MDE1IDIuMDA4MTkgMy45OTIxNVYxMi4wMDgyQzIuMDA4MTkgMTIuNTM2MiAyLjQ0MDE5IDEyLjk5MjIgMi45OTIxOSAxMi45OTIySDUuNTM2MTlDNS44NDgxOSAxMy4wNDAyIDYuMTYwMTkgMTMuMDQwMiA2LjQ3MjE5IDEyLjk5MjJIMTEuMDA4MkMxMS41MzYyIDEyLjk5MjIgMTEuOTkyMiAxMi41NjAyIDExLjk5MjIgMTIuMDA4MlY3Ljc4NDE2TDEzLjkzNjIgNS42MjQxNUwxNC4wMDgyIDUuNjcyMTVWMTEuOTg0MkMxNC4wMDgyIDEzLjY2NDIgMTIuNjY0MiAxNS4wMDgyIDExLjAwODIgMTUuMDA4MkgzLjAxNjE5QzEuMzM2MTkgMTUuMDA4MiAtMC4wMDc4MTI1IDEzLjY2NDIgLTAuMDA3ODEyNSAxMS45ODQyVjMuOTkyMTVDLTAuMDA3ODEyNSAyLjMzNjE1IDEuMzM2MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=";
|
|
16744
16744
|
|
|
16745
|
-
const componentName$
|
|
16745
|
+
const componentName$w = getComponentName('user-attribute');
|
|
16746
16746
|
class RawUserAttribute extends createBaseClass({
|
|
16747
|
-
componentName: componentName$
|
|
16747
|
+
componentName: componentName$w,
|
|
16748
16748
|
baseSelector: ':host > .root',
|
|
16749
16749
|
}) {
|
|
16750
16750
|
constructor() {
|
|
@@ -17015,19 +17015,19 @@ const UserAttributeClass = compose(
|
|
|
17015
17015
|
componentNameValidationMixin
|
|
17016
17016
|
)(RawUserAttribute);
|
|
17017
17017
|
|
|
17018
|
-
customElements.define(componentName$
|
|
17018
|
+
customElements.define(componentName$x, BadgeClass);
|
|
17019
17019
|
|
|
17020
|
-
customElements.define(componentName$
|
|
17020
|
+
customElements.define(componentName$1c, ImageClass);
|
|
17021
17021
|
|
|
17022
|
-
customElements.define(componentName$
|
|
17022
|
+
customElements.define(componentName$1b, IconClass);
|
|
17023
17023
|
|
|
17024
|
-
customElements.define(componentName$
|
|
17024
|
+
customElements.define(componentName$w, UserAttributeClass);
|
|
17025
17025
|
|
|
17026
17026
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
17027
17027
|
|
|
17028
|
-
const componentName$
|
|
17028
|
+
const componentName$v = getComponentName('user-auth-method');
|
|
17029
17029
|
class RawUserAuthMethod extends createBaseClass({
|
|
17030
|
-
componentName: componentName$
|
|
17030
|
+
componentName: componentName$v,
|
|
17031
17031
|
baseSelector: ':host > .root',
|
|
17032
17032
|
}) {
|
|
17033
17033
|
constructor() {
|
|
@@ -17278,11 +17278,11 @@ const UserAuthMethodClass = compose(
|
|
|
17278
17278
|
componentNameValidationMixin
|
|
17279
17279
|
)(RawUserAuthMethod);
|
|
17280
17280
|
|
|
17281
|
-
customElements.define(componentName$
|
|
17281
|
+
customElements.define(componentName$v, UserAuthMethodClass);
|
|
17282
17282
|
|
|
17283
|
-
const componentName$
|
|
17283
|
+
const componentName$u = getComponentName('saml-group-mappings-internal');
|
|
17284
17284
|
|
|
17285
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
|
17285
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$u, baseSelector: '' });
|
|
17286
17286
|
|
|
17287
17287
|
class SamlGroupMappingsInternal extends BaseInputClass$3 {
|
|
17288
17288
|
static get observedAttributes() {
|
|
@@ -17408,7 +17408,7 @@ class SamlGroupMappingsInternal extends BaseInputClass$3 {
|
|
|
17408
17408
|
}
|
|
17409
17409
|
}
|
|
17410
17410
|
|
|
17411
|
-
const componentName$
|
|
17411
|
+
const componentName$t = getComponentName('saml-group-mappings');
|
|
17412
17412
|
|
|
17413
17413
|
const customMixin$5 = (superclass) =>
|
|
17414
17414
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
@@ -17418,14 +17418,14 @@ const customMixin$5 = (superclass) =>
|
|
|
17418
17418
|
const template = document.createElement('template');
|
|
17419
17419
|
|
|
17420
17420
|
template.innerHTML = `
|
|
17421
|
-
<${componentName$
|
|
17421
|
+
<${componentName$u}
|
|
17422
17422
|
tabindex="-1"
|
|
17423
|
-
></${componentName$
|
|
17423
|
+
></${componentName$u}>
|
|
17424
17424
|
`;
|
|
17425
17425
|
|
|
17426
17426
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
17427
17427
|
|
|
17428
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
17428
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$u);
|
|
17429
17429
|
|
|
17430
17430
|
forwardAttrs(this, this.inputElement, {
|
|
17431
17431
|
includeAttrs: [
|
|
@@ -17510,15 +17510,15 @@ const SamlGroupMappingsClass = compose(
|
|
|
17510
17510
|
'error-message',
|
|
17511
17511
|
'style',
|
|
17512
17512
|
],
|
|
17513
|
-
componentName: componentName$
|
|
17513
|
+
componentName: componentName$t,
|
|
17514
17514
|
})
|
|
17515
17515
|
);
|
|
17516
17516
|
|
|
17517
|
-
customElements.define(componentName$
|
|
17517
|
+
customElements.define(componentName$u, SamlGroupMappingsInternal);
|
|
17518
17518
|
|
|
17519
|
-
customElements.define(componentName$
|
|
17519
|
+
customElements.define(componentName$t, SamlGroupMappingsClass);
|
|
17520
17520
|
|
|
17521
|
-
const componentName$
|
|
17521
|
+
const componentName$s = getComponentName('radio-button');
|
|
17522
17522
|
|
|
17523
17523
|
const customMixin$4 = (superclass) =>
|
|
17524
17524
|
class CustomMixin extends superclass {
|
|
@@ -17583,11 +17583,11 @@ const RadioButtonClass = compose(
|
|
|
17583
17583
|
wrappedEleName: 'vaadin-radio-button',
|
|
17584
17584
|
excludeAttrsSync: ['tabindex', 'data', 'style'],
|
|
17585
17585
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
|
17586
|
-
componentName: componentName$
|
|
17586
|
+
componentName: componentName$s,
|
|
17587
17587
|
})
|
|
17588
17588
|
);
|
|
17589
17589
|
|
|
17590
|
-
const componentName$
|
|
17590
|
+
const componentName$r = getComponentName('radio-group');
|
|
17591
17591
|
|
|
17592
17592
|
const RadioGroupMixin = (superclass) =>
|
|
17593
17593
|
class RadioGroupMixinClass extends superclass {
|
|
@@ -17602,12 +17602,12 @@ const RadioGroupMixin = (superclass) =>
|
|
|
17602
17602
|
|
|
17603
17603
|
// we are overriding vaadin children getter so it will run on our custom elements
|
|
17604
17604
|
Object.defineProperty(this.baseElement, 'children', {
|
|
17605
|
-
get: () => this.querySelectorAll(componentName$
|
|
17605
|
+
get: () => this.querySelectorAll(componentName$s),
|
|
17606
17606
|
});
|
|
17607
17607
|
|
|
17608
17608
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
|
17609
17609
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
|
17610
|
-
return nodes.filter((node) => node.localName === componentName$
|
|
17610
|
+
return nodes.filter((node) => node.localName === componentName$s);
|
|
17611
17611
|
};
|
|
17612
17612
|
|
|
17613
17613
|
// vaadin radio group missing some input properties
|
|
@@ -17757,13 +17757,13 @@ const RadioGroupClass = compose(
|
|
|
17757
17757
|
`,
|
|
17758
17758
|
|
|
17759
17759
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction', 'style'],
|
|
17760
|
-
componentName: componentName$
|
|
17760
|
+
componentName: componentName$r,
|
|
17761
17761
|
includeForwardProps: ['value'],
|
|
17762
17762
|
})
|
|
17763
17763
|
);
|
|
17764
17764
|
|
|
17765
|
-
customElements.define(componentName$
|
|
17766
|
-
customElements.define(componentName$
|
|
17765
|
+
customElements.define(componentName$r, RadioGroupClass);
|
|
17766
|
+
customElements.define(componentName$s, RadioButtonClass);
|
|
17767
17767
|
|
|
17768
17768
|
const defaultValidateSchema = () => true;
|
|
17769
17769
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
|
@@ -17864,7 +17864,7 @@ const createDynamicDataMixin =
|
|
|
17864
17864
|
}
|
|
17865
17865
|
};
|
|
17866
17866
|
|
|
17867
|
-
const componentName$
|
|
17867
|
+
const componentName$q = getComponentName('scopes-list');
|
|
17868
17868
|
const variants = ['checkbox', 'switch'];
|
|
17869
17869
|
|
|
17870
17870
|
const itemRenderer$4 = ({ id, desc, required = false }, _, ref) => {
|
|
@@ -17883,7 +17883,7 @@ const itemRenderer$4 = ({ id, desc, required = false }, _, ref) => {
|
|
|
17883
17883
|
`;
|
|
17884
17884
|
};
|
|
17885
17885
|
|
|
17886
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
|
17886
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$q, baseSelector: 'div' }) {
|
|
17887
17887
|
constructor() {
|
|
17888
17888
|
super();
|
|
17889
17889
|
|
|
@@ -17991,7 +17991,7 @@ const ScopesListClass = compose(
|
|
|
17991
17991
|
componentNameValidationMixin
|
|
17992
17992
|
)(RawScopesList);
|
|
17993
17993
|
|
|
17994
|
-
const componentName$
|
|
17994
|
+
const componentName$p = getComponentName$1('list-item');
|
|
17995
17995
|
|
|
17996
17996
|
const customMixin$3 = (superclass) =>
|
|
17997
17997
|
class ListItemMixinClass extends superclass {
|
|
@@ -18048,14 +18048,14 @@ const ListItemClass = compose$1(
|
|
|
18048
18048
|
componentNameValidationMixin$1,
|
|
18049
18049
|
customMixin$3,
|
|
18050
18050
|
activeableMixin,
|
|
18051
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
18051
|
+
)(createBaseClass$1({ componentName: componentName$p, baseSelector: 'slot' }));
|
|
18052
18052
|
|
|
18053
|
-
customElements.define(componentName$
|
|
18053
|
+
customElements.define(componentName$p, ListItemClass);
|
|
18054
18054
|
|
|
18055
|
-
const componentName$
|
|
18055
|
+
const componentName$o = getComponentName$1('list');
|
|
18056
18056
|
|
|
18057
18057
|
class RawList extends createBaseClass$1({
|
|
18058
|
-
componentName: componentName$
|
|
18058
|
+
componentName: componentName$o,
|
|
18059
18059
|
baseSelector: '.wrapper',
|
|
18060
18060
|
}) {
|
|
18061
18061
|
static get observedAttributes() {
|
|
@@ -18226,15 +18226,15 @@ const ListClass = compose$1(
|
|
|
18226
18226
|
componentNameValidationMixin$1,
|
|
18227
18227
|
)(RawList);
|
|
18228
18228
|
|
|
18229
|
-
customElements.define(componentName$
|
|
18229
|
+
customElements.define(componentName$o, ListClass);
|
|
18230
18230
|
|
|
18231
|
-
customElements.define(componentName$
|
|
18231
|
+
customElements.define(componentName$q, ScopesListClass);
|
|
18232
18232
|
|
|
18233
18233
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
|
18234
18234
|
|
|
18235
|
-
const componentName$
|
|
18235
|
+
const componentName$n = getComponentName('third-party-app-logo');
|
|
18236
18236
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
|
18237
|
-
componentName: componentName$
|
|
18237
|
+
componentName: componentName$n,
|
|
18238
18238
|
baseSelector: '.wrapper',
|
|
18239
18239
|
}) {
|
|
18240
18240
|
constructor() {
|
|
@@ -18331,9 +18331,9 @@ const ThirdPartyAppLogoClass = compose(
|
|
|
18331
18331
|
componentNameValidationMixin
|
|
18332
18332
|
)(RawThirdPartyAppLogoClass);
|
|
18333
18333
|
|
|
18334
|
-
customElements.define(componentName$
|
|
18334
|
+
customElements.define(componentName$n, ThirdPartyAppLogoClass);
|
|
18335
18335
|
|
|
18336
|
-
const componentName$
|
|
18336
|
+
const componentName$m = getComponentName('security-questions-setup');
|
|
18337
18337
|
|
|
18338
18338
|
const attrsToSync$1 = [
|
|
18339
18339
|
'full-width',
|
|
@@ -18352,7 +18352,7 @@ const attrsToSync$1 = [
|
|
|
18352
18352
|
];
|
|
18353
18353
|
|
|
18354
18354
|
const attrsToReRender$1 = ['count', 'questions'];
|
|
18355
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
|
18355
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$m, baseSelector: 'div' }) {
|
|
18356
18356
|
constructor() {
|
|
18357
18357
|
super();
|
|
18358
18358
|
|
|
@@ -18462,7 +18462,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
|
18462
18462
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
18463
18463
|
} catch (e) {
|
|
18464
18464
|
// eslint-disable-next-line no-console
|
|
18465
|
-
console.error(componentName$
|
|
18465
|
+
console.error(componentName$m, 'Error parsing questions attribute', e);
|
|
18466
18466
|
return [];
|
|
18467
18467
|
}
|
|
18468
18468
|
}
|
|
@@ -18570,9 +18570,9 @@ const SecurityQuestionsSetupClass = compose(
|
|
|
18570
18570
|
componentNameValidationMixin
|
|
18571
18571
|
)(RawSecurityQuestionsSetup);
|
|
18572
18572
|
|
|
18573
|
-
customElements.define(componentName$
|
|
18573
|
+
customElements.define(componentName$m, SecurityQuestionsSetupClass);
|
|
18574
18574
|
|
|
18575
|
-
const componentName$
|
|
18575
|
+
const componentName$l = getComponentName('security-questions-verify');
|
|
18576
18576
|
|
|
18577
18577
|
const textFieldsAttrs = [
|
|
18578
18578
|
'full-width',
|
|
@@ -18596,7 +18596,7 @@ const attrMappings = {
|
|
|
18596
18596
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
|
18597
18597
|
|
|
18598
18598
|
const attrsToReRender = ['questions'];
|
|
18599
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
|
18599
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$l, baseSelector: 'div' }) {
|
|
18600
18600
|
constructor() {
|
|
18601
18601
|
super();
|
|
18602
18602
|
|
|
@@ -18670,7 +18670,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
|
|
|
18670
18670
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
18671
18671
|
} catch (e) {
|
|
18672
18672
|
// eslint-disable-next-line no-console
|
|
18673
|
-
console.error(componentName$
|
|
18673
|
+
console.error(componentName$l, 'Error parsing questions attribute', e);
|
|
18674
18674
|
return [];
|
|
18675
18675
|
}
|
|
18676
18676
|
}
|
|
@@ -18805,7 +18805,7 @@ const SecurityQuestionsVerifyClass = compose(
|
|
|
18805
18805
|
componentNameValidationMixin
|
|
18806
18806
|
)(RawSecurityQuestionsVerify);
|
|
18807
18807
|
|
|
18808
|
-
customElements.define(componentName$
|
|
18808
|
+
customElements.define(componentName$l, SecurityQuestionsVerifyClass);
|
|
18809
18809
|
|
|
18810
18810
|
const NUMERIC_RE = /^\d+$/;
|
|
18811
18811
|
|
|
@@ -18813,7 +18813,7 @@ const isNumericValue = (val) => NUMERIC_RE.test(val.replaceAll('+', '').replaceA
|
|
|
18813
18813
|
|
|
18814
18814
|
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
|
18815
18815
|
|
|
18816
|
-
const componentName$
|
|
18816
|
+
const componentName$k = getComponentName('hybrid-field');
|
|
18817
18817
|
|
|
18818
18818
|
const attrs = {
|
|
18819
18819
|
shared: [
|
|
@@ -18877,12 +18877,12 @@ const EMAIL_FIELD = 'descope-email-field';
|
|
|
18877
18877
|
const PHONE_FIELD = 'descope-phone-field';
|
|
18878
18878
|
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
|
18879
18879
|
|
|
18880
|
-
const BaseClass$
|
|
18881
|
-
componentName: componentName$
|
|
18880
|
+
const BaseClass$6 = createBaseClass({
|
|
18881
|
+
componentName: componentName$k,
|
|
18882
18882
|
baseSelector: 'div',
|
|
18883
18883
|
});
|
|
18884
18884
|
|
|
18885
|
-
class RawHybridField extends BaseClass$
|
|
18885
|
+
class RawHybridField extends BaseClass$6 {
|
|
18886
18886
|
#isReportedValidity = false;
|
|
18887
18887
|
|
|
18888
18888
|
#selectionStart;
|
|
@@ -19191,11 +19191,11 @@ const HybridFieldClass = compose(
|
|
|
19191
19191
|
componentNameValidationMixin
|
|
19192
19192
|
)(RawHybridField);
|
|
19193
19193
|
|
|
19194
|
-
customElements.define(componentName$
|
|
19194
|
+
customElements.define(componentName$k, HybridFieldClass);
|
|
19195
19195
|
|
|
19196
|
-
const componentName$
|
|
19196
|
+
const componentName$j = getComponentName('alert');
|
|
19197
19197
|
|
|
19198
|
-
class RawAlert extends createBaseClass({ componentName: componentName$
|
|
19198
|
+
class RawAlert extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > div' }) {
|
|
19199
19199
|
constructor() {
|
|
19200
19200
|
super();
|
|
19201
19201
|
|
|
@@ -19316,13 +19316,13 @@ const AlertClass = compose(
|
|
|
19316
19316
|
componentNameValidationMixin
|
|
19317
19317
|
)(RawAlert);
|
|
19318
19318
|
|
|
19319
|
-
customElements.define(componentName$
|
|
19319
|
+
customElements.define(componentName$j, AlertClass);
|
|
19320
19320
|
|
|
19321
|
-
const componentName$
|
|
19321
|
+
const componentName$i = getComponentName('hcaptcha');
|
|
19322
19322
|
|
|
19323
19323
|
const observedAttributes$1 = ['enabled', 'site-key'];
|
|
19324
19324
|
|
|
19325
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
|
19325
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$i, baseSelector: ':host > div' });
|
|
19326
19326
|
class RawHcaptcha extends BaseInputClass$2 {
|
|
19327
19327
|
static get observedAttributes() {
|
|
19328
19328
|
return observedAttributes$1.concat(BaseInputClass$2.observedAttributes || []);
|
|
@@ -19450,7 +19450,7 @@ const HcaptchaClass = compose(
|
|
|
19450
19450
|
componentNameValidationMixin
|
|
19451
19451
|
)(RawHcaptcha);
|
|
19452
19452
|
|
|
19453
|
-
customElements.define(componentName$
|
|
19453
|
+
customElements.define(componentName$i, HcaptchaClass);
|
|
19454
19454
|
|
|
19455
19455
|
const direction$1 = 'ltr';
|
|
19456
19456
|
|
|
@@ -19831,7 +19831,7 @@ const mode = {
|
|
|
19831
19831
|
surface: globalRefs$H.colors.surface,
|
|
19832
19832
|
};
|
|
19833
19833
|
|
|
19834
|
-
const [helperTheme$6, helperRefs$6, helperVars$6] = createHelperVars$1({ mode }, componentName$
|
|
19834
|
+
const [helperTheme$6, helperRefs$6, helperVars$6] = createHelperVars$1({ mode }, componentName$1a);
|
|
19835
19835
|
|
|
19836
19836
|
const button = {
|
|
19837
19837
|
...helperTheme$6,
|
|
@@ -19954,7 +19954,7 @@ var button$1 = /*#__PURE__*/Object.freeze({
|
|
|
19954
19954
|
vars: vars$13
|
|
19955
19955
|
});
|
|
19956
19956
|
|
|
19957
|
-
const componentName$
|
|
19957
|
+
const componentName$h = getComponentName('input-wrapper');
|
|
19958
19958
|
const globalRefs$G = getThemeRefs(globals$1);
|
|
19959
19959
|
|
|
19960
19960
|
const [theme$2, refs$1, vars$12] = createHelperVars(
|
|
@@ -20076,7 +20076,7 @@ const [theme$2, refs$1, vars$12] = createHelperVars(
|
|
|
20076
20076
|
backgroundColor: globalRefs$G.colors.surface.main,
|
|
20077
20077
|
},
|
|
20078
20078
|
},
|
|
20079
|
-
componentName$
|
|
20079
|
+
componentName$h
|
|
20080
20080
|
);
|
|
20081
20081
|
|
|
20082
20082
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
@@ -20499,7 +20499,7 @@ const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars(
|
|
|
20499
20499
|
horizontalAlignment,
|
|
20500
20500
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
20501
20501
|
},
|
|
20502
|
-
componentName$
|
|
20502
|
+
componentName$1e
|
|
20503
20503
|
);
|
|
20504
20504
|
|
|
20505
20505
|
const { shadowColor: shadowColor$5 } = helperRefs$5;
|
|
@@ -20831,7 +20831,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars(
|
|
|
20831
20831
|
thickness: '2px',
|
|
20832
20832
|
spacing: '10px',
|
|
20833
20833
|
},
|
|
20834
|
-
componentName$
|
|
20834
|
+
componentName$16
|
|
20835
20835
|
);
|
|
20836
20836
|
|
|
20837
20837
|
const divider = {
|
|
@@ -20982,7 +20982,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
|
20982
20982
|
},
|
|
20983
20983
|
},
|
|
20984
20984
|
},
|
|
20985
|
-
componentName$
|
|
20985
|
+
componentName$1f
|
|
20986
20986
|
);
|
|
20987
20987
|
|
|
20988
20988
|
const loaderRadial = {
|
|
@@ -21022,7 +21022,7 @@ var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
|
|
21022
21022
|
vars: vars$M
|
|
21023
21023
|
});
|
|
21024
21024
|
|
|
21025
|
-
const componentName$
|
|
21025
|
+
const componentName$g = getComponentName$1('input-wrapper');
|
|
21026
21026
|
const globalRefs$v = getThemeRefs$1(globals);
|
|
21027
21027
|
|
|
21028
21028
|
const [theme$1, refs] = createHelperVars$1(
|
|
@@ -21145,7 +21145,7 @@ const [theme$1, refs] = createHelperVars$1(
|
|
|
21145
21145
|
backgroundColor: globalRefs$v.colors.surface.main,
|
|
21146
21146
|
},
|
|
21147
21147
|
},
|
|
21148
|
-
componentName$
|
|
21148
|
+
componentName$g,
|
|
21149
21149
|
);
|
|
21150
21150
|
|
|
21151
21151
|
const globalRefs$u = getThemeRefs$1(globals);
|
|
@@ -21823,9 +21823,9 @@ var badge$1 = /*#__PURE__*/Object.freeze({
|
|
|
21823
21823
|
vars: vars$z
|
|
21824
21824
|
});
|
|
21825
21825
|
|
|
21826
|
-
const componentName$
|
|
21826
|
+
const componentName$f = getComponentName$1('avatar');
|
|
21827
21827
|
class RawAvatar extends createBaseClass$1({
|
|
21828
|
-
componentName: componentName$
|
|
21828
|
+
componentName: componentName$f,
|
|
21829
21829
|
baseSelector: ':host > .wrapper',
|
|
21830
21830
|
}) {
|
|
21831
21831
|
constructor() {
|
|
@@ -22488,7 +22488,7 @@ var dateField$1 = /*#__PURE__*/Object.freeze({
|
|
|
22488
22488
|
vars: vars$m
|
|
22489
22489
|
});
|
|
22490
22490
|
|
|
22491
|
-
const componentName$
|
|
22491
|
+
const componentName$e = getComponentName$1('apps-list');
|
|
22492
22492
|
|
|
22493
22493
|
const itemRenderer$3 = ({ name, icon, url }, _, ref) => `
|
|
22494
22494
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
@@ -22612,7 +22612,7 @@ const AppsListClass = compose$1(
|
|
|
22612
22612
|
slots: ['empty-state'],
|
|
22613
22613
|
wrappedEleName: 'descope-list',
|
|
22614
22614
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
22615
|
-
componentName: componentName$
|
|
22615
|
+
componentName: componentName$e,
|
|
22616
22616
|
style: () => `
|
|
22617
22617
|
:host {
|
|
22618
22618
|
width: 100%;
|
|
@@ -22717,7 +22717,7 @@ const compVars$3 = ListClass.cssVarList;
|
|
|
22717
22717
|
|
|
22718
22718
|
const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars$1(
|
|
22719
22719
|
{ shadowColor: '#00000020' },
|
|
22720
|
-
componentName$
|
|
22720
|
+
componentName$o,
|
|
22721
22721
|
);
|
|
22722
22722
|
|
|
22723
22723
|
const { shadowColor: shadowColor$2 } = helperRefs$2;
|
|
@@ -23045,10 +23045,10 @@ var hcaptcha$1 = /*#__PURE__*/Object.freeze({
|
|
|
23045
23045
|
vars: vars$c
|
|
23046
23046
|
});
|
|
23047
23047
|
|
|
23048
|
-
const componentName$
|
|
23048
|
+
const componentName$d = getComponentName$1('autocomplete-field-internal');
|
|
23049
23049
|
|
|
23050
23050
|
const BaseInputClass$1 = createBaseInputClass$1({
|
|
23051
|
-
componentName: componentName$
|
|
23051
|
+
componentName: componentName$d,
|
|
23052
23052
|
baseSelector: '',
|
|
23053
23053
|
});
|
|
23054
23054
|
const observedAttrs$1 = [];
|
|
@@ -23253,7 +23253,7 @@ class AutocompleteFieldInternal extends BaseInputClass$1 {
|
|
|
23253
23253
|
}
|
|
23254
23254
|
}
|
|
23255
23255
|
|
|
23256
|
-
const componentName$
|
|
23256
|
+
const componentName$c = getComponentName$1('autocomplete-field');
|
|
23257
23257
|
|
|
23258
23258
|
const customMixin$1 = (superclass) =>
|
|
23259
23259
|
class AutocompleteFieldMixinClass extends superclass {
|
|
@@ -23274,15 +23274,15 @@ const customMixin$1 = (superclass) =>
|
|
|
23274
23274
|
const template = document.createElement('template');
|
|
23275
23275
|
|
|
23276
23276
|
template.innerHTML = `
|
|
23277
|
-
<${componentName$
|
|
23277
|
+
<${componentName$d}
|
|
23278
23278
|
tabindex="-1"
|
|
23279
|
-
></${componentName$
|
|
23279
|
+
></${componentName$d}>
|
|
23280
23280
|
`;
|
|
23281
23281
|
|
|
23282
23282
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
23283
23283
|
|
|
23284
23284
|
this.inputElement = this.shadowRoot.querySelector(
|
|
23285
|
-
componentName$
|
|
23285
|
+
componentName$d,
|
|
23286
23286
|
);
|
|
23287
23287
|
|
|
23288
23288
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -23401,7 +23401,7 @@ const AutocompleteFieldClass = compose$1(
|
|
|
23401
23401
|
}
|
|
23402
23402
|
`,
|
|
23403
23403
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
23404
|
-
componentName: componentName$
|
|
23404
|
+
componentName: componentName$c,
|
|
23405
23405
|
}),
|
|
23406
23406
|
);
|
|
23407
23407
|
|
|
@@ -23655,7 +23655,7 @@ class RadarConnector extends createBaseConnectorClass() {
|
|
|
23655
23655
|
}
|
|
23656
23656
|
}
|
|
23657
23657
|
|
|
23658
|
-
const componentName$
|
|
23658
|
+
const componentName$b = getComponentName$1('address-field-internal');
|
|
23659
23659
|
|
|
23660
23660
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
23661
23661
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -23666,7 +23666,7 @@ const CONNECTOR_CLASSES = {
|
|
|
23666
23666
|
};
|
|
23667
23667
|
|
|
23668
23668
|
const BaseInputClass = createBaseInputClass$1({
|
|
23669
|
-
componentName: componentName$
|
|
23669
|
+
componentName: componentName$b,
|
|
23670
23670
|
baseSelector: '',
|
|
23671
23671
|
});
|
|
23672
23672
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -23773,7 +23773,7 @@ const AddressFieldInternal = compose$1(
|
|
|
23773
23773
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
23774
23774
|
)(RawAddressFieldInternal);
|
|
23775
23775
|
|
|
23776
|
-
const componentName$
|
|
23776
|
+
const componentName$a = getComponentName$1('address-field');
|
|
23777
23777
|
|
|
23778
23778
|
const customMixin = (superclass) =>
|
|
23779
23779
|
class AddressFieldMixinClass extends superclass {
|
|
@@ -23802,15 +23802,15 @@ const customMixin = (superclass) =>
|
|
|
23802
23802
|
const template = document.createElement('template');
|
|
23803
23803
|
|
|
23804
23804
|
template.innerHTML = `
|
|
23805
|
-
<${componentName$
|
|
23805
|
+
<${componentName$b}
|
|
23806
23806
|
tabindex="-1"
|
|
23807
|
-
></${componentName$
|
|
23807
|
+
></${componentName$b}>
|
|
23808
23808
|
`;
|
|
23809
23809
|
|
|
23810
23810
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
23811
23811
|
|
|
23812
23812
|
this.inputElement = this.shadowRoot.querySelector(
|
|
23813
|
-
componentName$
|
|
23813
|
+
componentName$b,
|
|
23814
23814
|
);
|
|
23815
23815
|
|
|
23816
23816
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -23888,7 +23888,7 @@ const AddressFieldClass = compose$1(
|
|
|
23888
23888
|
width: 100%;
|
|
23889
23889
|
}
|
|
23890
23890
|
|
|
23891
|
-
${componentName$
|
|
23891
|
+
${componentName$b} {
|
|
23892
23892
|
display: inline-block;
|
|
23893
23893
|
box-sizing: border-box;
|
|
23894
23894
|
user-select: none;
|
|
@@ -23896,12 +23896,12 @@ const AddressFieldClass = compose$1(
|
|
|
23896
23896
|
max-width: 100%;
|
|
23897
23897
|
}
|
|
23898
23898
|
|
|
23899
|
-
${componentName$
|
|
23899
|
+
${componentName$b} ::slotted {
|
|
23900
23900
|
padding: 0;
|
|
23901
23901
|
}
|
|
23902
23902
|
`,
|
|
23903
23903
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
23904
|
-
componentName: componentName$
|
|
23904
|
+
componentName: componentName$a,
|
|
23905
23905
|
}),
|
|
23906
23906
|
);
|
|
23907
23907
|
|
|
@@ -23941,24 +23941,24 @@ const formatTime = (ms = 0) => {
|
|
|
23941
23941
|
return timeParts.join(':');
|
|
23942
23942
|
};
|
|
23943
23943
|
|
|
23944
|
-
const componentName$
|
|
23944
|
+
const componentName$9 = getComponentName$1('timer');
|
|
23945
23945
|
|
|
23946
23946
|
const observedAttributes = ['seconds', 'hide-icon', 'paused'];
|
|
23947
23947
|
|
|
23948
|
-
const BaseClass$
|
|
23949
|
-
componentName: componentName$
|
|
23948
|
+
const BaseClass$5 = createBaseClass$1({
|
|
23949
|
+
componentName: componentName$9,
|
|
23950
23950
|
baseSelector: ':host > .wrapper',
|
|
23951
23951
|
});
|
|
23952
23952
|
|
|
23953
23953
|
const DEFAULT_INTERVAL = 1000;
|
|
23954
23954
|
|
|
23955
|
-
class RawTimer extends BaseClass$
|
|
23955
|
+
class RawTimer extends BaseClass$5 {
|
|
23956
23956
|
#timeRemains = 0;
|
|
23957
23957
|
|
|
23958
23958
|
#intervalId;
|
|
23959
23959
|
|
|
23960
23960
|
static get observedAttributes() {
|
|
23961
|
-
return observedAttributes.concat(BaseClass$
|
|
23961
|
+
return observedAttributes.concat(BaseClass$5.observedAttributes || []);
|
|
23962
23962
|
}
|
|
23963
23963
|
|
|
23964
23964
|
constructor() {
|
|
@@ -24167,7 +24167,7 @@ var timer$1 = /*#__PURE__*/Object.freeze({
|
|
|
24167
24167
|
vars: vars$9
|
|
24168
24168
|
});
|
|
24169
24169
|
|
|
24170
|
-
const componentName$
|
|
24170
|
+
const componentName$8 = getComponentName$1('timer-button');
|
|
24171
24171
|
|
|
24172
24172
|
const buttonAttrs = [
|
|
24173
24173
|
'button-variant',
|
|
@@ -24197,12 +24197,12 @@ const mapTimerAttrs = {
|
|
|
24197
24197
|
'timer-paused': 'paused',
|
|
24198
24198
|
};
|
|
24199
24199
|
|
|
24200
|
-
const BaseClass$
|
|
24201
|
-
componentName: componentName$
|
|
24200
|
+
const BaseClass$4 = createBaseClass$1({
|
|
24201
|
+
componentName: componentName$8,
|
|
24202
24202
|
baseSelector: ':host > div',
|
|
24203
24203
|
});
|
|
24204
24204
|
|
|
24205
|
-
class RawTimerButton extends BaseClass$
|
|
24205
|
+
class RawTimerButton extends BaseClass$4 {
|
|
24206
24206
|
constructor() {
|
|
24207
24207
|
super();
|
|
24208
24208
|
|
|
@@ -24328,9 +24328,9 @@ var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
|
24328
24328
|
vars: vars$8
|
|
24329
24329
|
});
|
|
24330
24330
|
|
|
24331
|
-
const componentName$
|
|
24331
|
+
const componentName$7 = getComponentName$1('password-strength');
|
|
24332
24332
|
class RawPasswordStrength extends createBaseClass$1({
|
|
24333
|
-
componentName: componentName$
|
|
24333
|
+
componentName: componentName$7,
|
|
24334
24334
|
baseSelector: ':host > .wrapper',
|
|
24335
24335
|
}) {
|
|
24336
24336
|
static get observedAttributes() {
|
|
@@ -24533,10 +24533,10 @@ var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
|
24533
24533
|
|
|
24534
24534
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
|
|
24535
24535
|
|
|
24536
|
-
const componentName$
|
|
24536
|
+
const componentName$6 = getComponentName$1('collapsible-container');
|
|
24537
24537
|
|
|
24538
24538
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
24539
|
-
componentName: componentName$
|
|
24539
|
+
componentName: componentName$6,
|
|
24540
24540
|
baseSelector: 'slot',
|
|
24541
24541
|
}) {
|
|
24542
24542
|
static get observedAttributes() {
|
|
@@ -24771,7 +24771,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars$1(
|
|
|
24771
24771
|
{
|
|
24772
24772
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
24773
24773
|
},
|
|
24774
|
-
componentName$
|
|
24774
|
+
componentName$6
|
|
24775
24775
|
);
|
|
24776
24776
|
|
|
24777
24777
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
|
@@ -24882,7 +24882,7 @@ var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
|
24882
24882
|
vars: vars$6
|
|
24883
24883
|
});
|
|
24884
24884
|
|
|
24885
|
-
const componentName$
|
|
24885
|
+
const componentName$5 = getComponentName$1('recovery-codes');
|
|
24886
24886
|
|
|
24887
24887
|
const itemRenderer$2 = ({ value }, _, ref) => {
|
|
24888
24888
|
return `
|
|
@@ -24893,7 +24893,7 @@ const itemRenderer$2 = ({ value }, _, ref) => {
|
|
|
24893
24893
|
};
|
|
24894
24894
|
|
|
24895
24895
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
24896
|
-
componentName: componentName$
|
|
24896
|
+
componentName: componentName$5,
|
|
24897
24897
|
baseSelector: ':host > div',
|
|
24898
24898
|
}) {
|
|
24899
24899
|
static get observedAttributes() {
|
|
@@ -25061,7 +25061,7 @@ var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
|
25061
25061
|
vars: vars$5
|
|
25062
25062
|
});
|
|
25063
25063
|
|
|
25064
|
-
const componentName$
|
|
25064
|
+
const componentName$4 = getComponentName$1('outbound-apps');
|
|
25065
25065
|
|
|
25066
25066
|
const itemRenderer$1 = (
|
|
25067
25067
|
{ name, description, logo, appId, isConnected },
|
|
@@ -25106,12 +25106,12 @@ const itemRenderer$1 = (
|
|
|
25106
25106
|
`;
|
|
25107
25107
|
};
|
|
25108
25108
|
|
|
25109
|
-
const BaseClass$
|
|
25110
|
-
componentName: componentName$
|
|
25109
|
+
const BaseClass$3 = createBaseClass$1({
|
|
25110
|
+
componentName: componentName$4,
|
|
25111
25111
|
baseSelector: 'descope-list',
|
|
25112
25112
|
});
|
|
25113
25113
|
|
|
25114
|
-
class RawOutboundAppsClass extends BaseClass$
|
|
25114
|
+
class RawOutboundAppsClass extends BaseClass$3 {
|
|
25115
25115
|
constructor() {
|
|
25116
25116
|
super();
|
|
25117
25117
|
|
|
@@ -25323,10 +25323,10 @@ var outboundApps$1 = /*#__PURE__*/Object.freeze({
|
|
|
25323
25323
|
vars: vars$4
|
|
25324
25324
|
});
|
|
25325
25325
|
|
|
25326
|
-
const componentName$
|
|
25326
|
+
const componentName$3 = getComponentName$1('outbound-app-button');
|
|
25327
25327
|
|
|
25328
25328
|
class RawOutboundAppButton extends createBaseClass$1({
|
|
25329
|
-
componentName: componentName$
|
|
25329
|
+
componentName: componentName$3,
|
|
25330
25330
|
baseSelector: ':host > descope-button',
|
|
25331
25331
|
}) {
|
|
25332
25332
|
static get observedAttributes() {
|
|
@@ -25508,7 +25508,7 @@ const getDeviceIcon = (deviceType) => {
|
|
|
25508
25508
|
};
|
|
25509
25509
|
};
|
|
25510
25510
|
|
|
25511
|
-
const componentName$
|
|
25511
|
+
const componentName$2 = getComponentName$1('trusted-devices');
|
|
25512
25512
|
|
|
25513
25513
|
const itemRenderer = (
|
|
25514
25514
|
{ id, name, lastLoginDate, deviceType, isCurrent },
|
|
@@ -25596,12 +25596,12 @@ const itemRenderer = (
|
|
|
25596
25596
|
return template;
|
|
25597
25597
|
};
|
|
25598
25598
|
|
|
25599
|
-
const BaseClass$
|
|
25600
|
-
componentName: componentName$
|
|
25599
|
+
const BaseClass$2 = createBaseClass$1({
|
|
25600
|
+
componentName: componentName$2,
|
|
25601
25601
|
baseSelector: ListClass.componentName,
|
|
25602
25602
|
});
|
|
25603
25603
|
|
|
25604
|
-
class RawTrustedDevicesClass extends BaseClass$
|
|
25604
|
+
class RawTrustedDevicesClass extends BaseClass$2 {
|
|
25605
25605
|
constructor() {
|
|
25606
25606
|
super();
|
|
25607
25607
|
|
|
@@ -25931,7 +25931,7 @@ var trustedDevices = /*#__PURE__*/Object.freeze({
|
|
|
25931
25931
|
vars: vars$2
|
|
25932
25932
|
});
|
|
25933
25933
|
|
|
25934
|
-
const componentName = getComponentName$1('tooltip');
|
|
25934
|
+
const componentName$1 = getComponentName$1('tooltip');
|
|
25935
25935
|
|
|
25936
25936
|
const tooltipAttrs = [
|
|
25937
25937
|
'text',
|
|
@@ -25941,14 +25941,14 @@ const tooltipAttrs = [
|
|
|
25941
25941
|
'opened',
|
|
25942
25942
|
];
|
|
25943
25943
|
|
|
25944
|
-
const BaseClass = createBaseClass$1({
|
|
25945
|
-
componentName,
|
|
25944
|
+
const BaseClass$1 = createBaseClass$1({
|
|
25945
|
+
componentName: componentName$1,
|
|
25946
25946
|
baseSelector: 'vaadin-tooltip',
|
|
25947
25947
|
});
|
|
25948
25948
|
|
|
25949
|
-
class RawTooltip extends BaseClass {
|
|
25949
|
+
class RawTooltip extends BaseClass$1 {
|
|
25950
25950
|
static get observedAttributes() {
|
|
25951
|
-
return tooltipAttrs.concat(BaseClass.observedAttributes || []);
|
|
25951
|
+
return tooltipAttrs.concat(BaseClass$1.observedAttributes || []);
|
|
25952
25952
|
}
|
|
25953
25953
|
|
|
25954
25954
|
get isOpened() {
|
|
@@ -26181,7 +26181,7 @@ const [helperTheme, helperRefs, helperVars] = createHelperVars$1(
|
|
|
26181
26181
|
{
|
|
26182
26182
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
26183
26183
|
},
|
|
26184
|
-
componentName
|
|
26184
|
+
componentName$1
|
|
26185
26185
|
);
|
|
26186
26186
|
|
|
26187
26187
|
const { shadowColor } = helperRefs;
|
|
@@ -26365,41 +26365,145 @@ const darkTheme = merge({}, defaultTheme, {
|
|
|
26365
26365
|
},
|
|
26366
26366
|
});
|
|
26367
26367
|
|
|
26368
|
-
customElements.define(componentName$
|
|
26368
|
+
customElements.define(componentName$d, AutocompleteFieldInternal);
|
|
26369
|
+
|
|
26370
|
+
customElements.define(componentName$c, AutocompleteFieldClass);
|
|
26369
26371
|
|
|
26370
|
-
customElements.define(componentName$b,
|
|
26372
|
+
customElements.define(componentName$b, AddressFieldInternal);
|
|
26371
26373
|
|
|
26372
|
-
customElements.define(componentName$a,
|
|
26374
|
+
customElements.define(componentName$a, AddressFieldClass);
|
|
26373
26375
|
|
|
26374
|
-
customElements.define(componentName$
|
|
26376
|
+
customElements.define(componentName$f, AvatarClass);
|
|
26375
26377
|
|
|
26376
|
-
customElements.define(componentName$e,
|
|
26378
|
+
customElements.define(componentName$e, AppsListClass);
|
|
26379
|
+
|
|
26380
|
+
customElements.define(componentName$6, CollapsibleContainerClass);
|
|
26381
|
+
|
|
26382
|
+
// NOTICE: This component registers with a DIFFERENT name than its file name
|
|
26383
|
+
const componentName = getComponentName$1('ponyhot');
|
|
26384
|
+
|
|
26385
|
+
const HP_PREFIX = 'dhp-';
|
|
26386
|
+
|
|
26387
|
+
const BaseClass = createBaseClass$1({
|
|
26388
|
+
componentName,
|
|
26389
|
+
baseSelector: '',
|
|
26390
|
+
});
|
|
26391
|
+
|
|
26392
|
+
class RawHoneypot extends BaseClass {
|
|
26393
|
+
get type() {
|
|
26394
|
+
return this.getAttribute('type');
|
|
26395
|
+
}
|
|
26396
|
+
|
|
26397
|
+
get value() {
|
|
26398
|
+
return this.input?.value || '';
|
|
26399
|
+
}
|
|
26400
|
+
|
|
26401
|
+
init() {
|
|
26402
|
+
this.input = this.querySelector('input');
|
|
26403
|
+
|
|
26404
|
+
if (!this.input) return;
|
|
26405
|
+
|
|
26406
|
+
this.#setupTrapListeners();
|
|
26407
|
+
this.#setupValueInterceptor();
|
|
26408
|
+
this.#hideComponent();
|
|
26409
|
+
}
|
|
26410
|
+
|
|
26411
|
+
#setupTrapListeners() {
|
|
26412
|
+
const events = [
|
|
26413
|
+
'input',
|
|
26414
|
+
'change',
|
|
26415
|
+
'click',
|
|
26416
|
+
'keydown',
|
|
26417
|
+
'keyup',
|
|
26418
|
+
'mouseover',
|
|
26419
|
+
'mousedown',
|
|
26420
|
+
];
|
|
26421
|
+
|
|
26422
|
+
const fillHoneypot = (e) => {
|
|
26423
|
+
this.input.value = `${HP_PREFIX}${e.type}`;
|
|
26424
|
+
|
|
26425
|
+
// Stop listening to all events after first trigger
|
|
26426
|
+
events.forEach((event) => {
|
|
26427
|
+
this.input.removeEventListener(event, fillHoneypot);
|
|
26428
|
+
});
|
|
26429
|
+
};
|
|
26430
|
+
|
|
26431
|
+
events.forEach((event) => {
|
|
26432
|
+
this.input.addEventListener(event, fillHoneypot);
|
|
26433
|
+
});
|
|
26434
|
+
}
|
|
26435
|
+
|
|
26436
|
+
// Intercept direct value assignments to catch bots that bypass events
|
|
26437
|
+
#setupValueInterceptor() {
|
|
26438
|
+
const originalDescriptor = Object.getOwnPropertyDescriptor(
|
|
26439
|
+
HTMLInputElement.prototype,
|
|
26440
|
+
'value',
|
|
26441
|
+
);
|
|
26442
|
+
|
|
26443
|
+
Object.defineProperty(this.input, 'value', {
|
|
26444
|
+
get() {
|
|
26445
|
+
return originalDescriptor.get.call(this);
|
|
26446
|
+
},
|
|
26447
|
+
set(newValue) {
|
|
26448
|
+
const currentValue = originalDescriptor.get.call(this);
|
|
26449
|
+
|
|
26450
|
+
// Only trap if the value is being set by external code (not our own trap)
|
|
26451
|
+
if (
|
|
26452
|
+
newValue &&
|
|
26453
|
+
!newValue.startsWith(HP_PREFIX) &&
|
|
26454
|
+
newValue !== currentValue
|
|
26455
|
+
) {
|
|
26456
|
+
originalDescriptor.set.call(this, `${HP_PREFIX}direct-set`);
|
|
26457
|
+
} else {
|
|
26458
|
+
originalDescriptor.set.call(this, newValue);
|
|
26459
|
+
}
|
|
26460
|
+
},
|
|
26461
|
+
configurable: true,
|
|
26462
|
+
});
|
|
26463
|
+
}
|
|
26464
|
+
|
|
26465
|
+
#hideComponent() {
|
|
26466
|
+
const styles = {
|
|
26467
|
+
position: 'absolute',
|
|
26468
|
+
opacity: '0.01',
|
|
26469
|
+
width: '1px',
|
|
26470
|
+
height: '1px',
|
|
26471
|
+
pointerEvents: 'none',
|
|
26472
|
+
zIndex: '-1',
|
|
26473
|
+
left: '-999999px',
|
|
26474
|
+
};
|
|
26475
|
+
|
|
26476
|
+
Object.entries(styles).forEach(([key, value]) => {
|
|
26477
|
+
this.style[key] = value;
|
|
26478
|
+
});
|
|
26479
|
+
}
|
|
26480
|
+
}
|
|
26377
26481
|
|
|
26378
|
-
|
|
26482
|
+
const HoneypotClass = compose$1(componentNameValidationMixin$1)(RawHoneypot);
|
|
26379
26483
|
|
|
26380
|
-
customElements.define(componentName
|
|
26484
|
+
customElements.define(componentName, HoneypotClass);
|
|
26381
26485
|
|
|
26382
|
-
customElements.define(componentName$
|
|
26486
|
+
customElements.define(componentName$3, OutboundAppButtonClass);
|
|
26383
26487
|
|
|
26384
|
-
customElements.define(componentName$
|
|
26488
|
+
customElements.define(componentName$4, OutboundAppsClass);
|
|
26385
26489
|
|
|
26386
|
-
customElements.define(componentName$
|
|
26490
|
+
customElements.define(componentName$7, PasswordStrengthClass);
|
|
26387
26491
|
|
|
26388
26492
|
var index = /*#__PURE__*/Object.freeze({
|
|
26389
26493
|
__proto__: null,
|
|
26390
26494
|
PasswordStrengthClass: PasswordStrengthClass,
|
|
26391
|
-
componentName: componentName$
|
|
26495
|
+
componentName: componentName$7
|
|
26392
26496
|
});
|
|
26393
26497
|
|
|
26394
|
-
customElements.define(componentName$
|
|
26498
|
+
customElements.define(componentName$5, RecoveryCodesClass);
|
|
26395
26499
|
|
|
26396
|
-
customElements.define(componentName$
|
|
26500
|
+
customElements.define(componentName$9, TimerClass);
|
|
26397
26501
|
|
|
26398
|
-
customElements.define(componentName$
|
|
26502
|
+
customElements.define(componentName$8, TimerButtonClass);
|
|
26399
26503
|
|
|
26400
|
-
customElements.define(componentName, TooltipClass);
|
|
26504
|
+
customElements.define(componentName$1, TooltipClass);
|
|
26401
26505
|
|
|
26402
|
-
customElements.define(componentName$
|
|
26506
|
+
customElements.define(componentName$2, TrustedDevicesClass);
|
|
26403
26507
|
|
|
26404
26508
|
const options = {
|
|
26405
26509
|
translations: zxcvbnEnPackage.translations,
|
|
@@ -26417,5 +26521,5 @@ var calcScore = /*#__PURE__*/Object.freeze({
|
|
|
26417
26521
|
options: options
|
|
26418
26522
|
});
|
|
26419
26523
|
|
|
26420
|
-
export { AddressFieldClass, AlertClass, AppsListClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, HcaptchaClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
|
26524
|
+
export { AddressFieldClass, AlertClass, AppsListClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, HcaptchaClass, HoneypotClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
|
26421
26525
|
//# sourceMappingURL=index.esm.js.map
|