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