@descope/web-components-ui 1.0.401 → 1.0.403
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 +1573 -1208
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1620 -1208
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/1053.js +1 -1
- package/dist/umd/4619.js +1 -1
- package/dist/umd/6726.js +1 -1
- package/dist/umd/7212.js +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-hybrid-field-index-js.js +19 -0
- package/dist/umd/descope-hybrid-field-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +1 -1
- package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +148 -1
- package/package.json +1 -1
- package/src/components/descope-hybrid-field/HybridFieldClass.js +289 -0
- package/src/components/descope-hybrid-field/helpers.js +5 -0
- package/src/components/descope-hybrid-field/index.js +9 -0
- package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +8 -0
- package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +45 -5
- package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +45 -11
- package/src/components/phone-fields/descope-phone-input-box-field/PhoneFieldInputBoxClass.js +21 -12
- package/src/components/phone-fields/descope-phone-input-box-field/descope-phone-input-box-internal/PhoneFieldInternalInputBox.js +17 -5
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/mixins/inputEventsDispatchingMixin.js +5 -5
- package/src/theme/components/hybridField.js +15 -0
- package/src/theme/components/index.js +2 -0
- package/dist/umd/4831.js +0 -148
- /package/dist/umd/{4831.js.LICENSE.txt → phone-fields-descope-phone-input-box-field-index-js.js.LICENSE.txt} +0 -0
package/dist/index.esm.js
CHANGED
@@ -1433,13 +1433,13 @@ const inputEventsDispatchingMixin = (superclass) =>
|
|
1433
1433
|
handleInputEventDispatching() {
|
1434
1434
|
let previousRootComponentValue = this.value;
|
1435
1435
|
|
1436
|
+
// we are comparing the previous value to the new one,
|
1437
|
+
// and if they have the same value, we are blocking the input event
|
1436
1438
|
this.addEventListener('input', (e) => {
|
1437
|
-
|
1438
|
-
|
1439
|
-
if (previousRootComponentValue === this.value) {
|
1440
|
-
e.stopImmediatePropagation();
|
1441
|
-
} else {
|
1439
|
+
e.stopImmediatePropagation();
|
1440
|
+
if (previousRootComponentValue !== this.value) {
|
1442
1441
|
previousRootComponentValue = this.value;
|
1442
|
+
createDispatchEvent.call(this, 'input', { bubbles: true });
|
1443
1443
|
}
|
1444
1444
|
});
|
1445
1445
|
}
|
@@ -1755,9 +1755,9 @@ const createIcon = async (src) => {
|
|
1755
1755
|
|
1756
1756
|
/* eslint-disable no-use-before-define */
|
1757
1757
|
|
1758
|
-
const componentName$
|
1758
|
+
const componentName$15 = getComponentName('icon');
|
1759
1759
|
|
1760
|
-
class RawIcon extends createBaseClass({ componentName: componentName$
|
1760
|
+
class RawIcon extends createBaseClass({ componentName: componentName$15, baseSelector: 'slot' }) {
|
1761
1761
|
static get observedAttributes() {
|
1762
1762
|
return ['src'];
|
1763
1763
|
}
|
@@ -1842,7 +1842,7 @@ const clickableMixin = (superclass) =>
|
|
1842
1842
|
}
|
1843
1843
|
};
|
1844
1844
|
|
1845
|
-
const componentName$
|
1845
|
+
const componentName$14 = getComponentName('button');
|
1846
1846
|
|
1847
1847
|
const resetStyles = `
|
1848
1848
|
:host {
|
@@ -1958,7 +1958,7 @@ const ButtonClass = compose(
|
|
1958
1958
|
}
|
1959
1959
|
`,
|
1960
1960
|
excludeAttrsSync: ['tabindex'],
|
1961
|
-
componentName: componentName$
|
1961
|
+
componentName: componentName$14,
|
1962
1962
|
})
|
1963
1963
|
);
|
1964
1964
|
|
@@ -1995,7 +1995,7 @@ loadingIndicatorStyles = `
|
|
1995
1995
|
}
|
1996
1996
|
`;
|
1997
1997
|
|
1998
|
-
customElements.define(componentName$
|
1998
|
+
customElements.define(componentName$14, ButtonClass);
|
1999
1999
|
|
2000
2000
|
const createBaseInputClass = (...args) =>
|
2001
2001
|
compose(
|
@@ -2005,11 +2005,11 @@ const createBaseInputClass = (...args) =>
|
|
2005
2005
|
inputEventsDispatchingMixin
|
2006
2006
|
)(createBaseClass(...args));
|
2007
2007
|
|
2008
|
-
const componentName$
|
2008
|
+
const componentName$13 = getComponentName('boolean-field-internal');
|
2009
2009
|
|
2010
2010
|
const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
|
2011
2011
|
|
2012
|
-
const BaseInputClass$a = createBaseInputClass({ componentName: componentName$
|
2012
|
+
const BaseInputClass$a = createBaseInputClass({ componentName: componentName$13, baseSelector: 'div' });
|
2013
2013
|
|
2014
2014
|
class BooleanInputInternal extends BaseInputClass$a {
|
2015
2015
|
static get observedAttributes() {
|
@@ -2085,14 +2085,14 @@ const booleanFieldMixin = (superclass) =>
|
|
2085
2085
|
|
2086
2086
|
const template = document.createElement('template');
|
2087
2087
|
template.innerHTML = `
|
2088
|
-
<${componentName$
|
2088
|
+
<${componentName$13}
|
2089
2089
|
tabindex="-1"
|
2090
2090
|
slot="input"
|
2091
|
-
></${componentName$
|
2091
|
+
></${componentName$13}>
|
2092
2092
|
`;
|
2093
2093
|
|
2094
2094
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
2095
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
2095
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$13);
|
2096
2096
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
2097
2097
|
|
2098
2098
|
forwardAttrs(this, this.inputElement, {
|
@@ -2306,7 +2306,7 @@ descope-boolean-field-internal {
|
|
2306
2306
|
}
|
2307
2307
|
`;
|
2308
2308
|
|
2309
|
-
const componentName$
|
2309
|
+
const componentName$12 = getComponentName('checkbox');
|
2310
2310
|
|
2311
2311
|
const {
|
2312
2312
|
host: host$n,
|
@@ -2418,15 +2418,15 @@ const CheckboxClass = compose(
|
|
2418
2418
|
}
|
2419
2419
|
`,
|
2420
2420
|
excludeAttrsSync: ['label', 'tabindex'],
|
2421
|
-
componentName: componentName$
|
2421
|
+
componentName: componentName$12,
|
2422
2422
|
})
|
2423
2423
|
);
|
2424
2424
|
|
2425
|
-
customElements.define(componentName$
|
2425
|
+
customElements.define(componentName$13, BooleanInputInternal);
|
2426
2426
|
|
2427
|
-
customElements.define(componentName$
|
2427
|
+
customElements.define(componentName$12, CheckboxClass);
|
2428
2428
|
|
2429
|
-
const componentName$
|
2429
|
+
const componentName$11 = getComponentName('switch-toggle');
|
2430
2430
|
|
2431
2431
|
const {
|
2432
2432
|
host: host$m,
|
@@ -2558,17 +2558,17 @@ const SwitchToggleClass = compose(
|
|
2558
2558
|
}
|
2559
2559
|
`,
|
2560
2560
|
excludeAttrsSync: ['label', 'tabindex'],
|
2561
|
-
componentName: componentName$
|
2561
|
+
componentName: componentName$11,
|
2562
2562
|
})
|
2563
2563
|
);
|
2564
2564
|
|
2565
|
-
customElements.define(componentName$
|
2565
|
+
customElements.define(componentName$11, SwitchToggleClass);
|
2566
2566
|
|
2567
|
-
const componentName
|
2567
|
+
const componentName$10 = getComponentName('loader-linear');
|
2568
2568
|
|
2569
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName
|
2569
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$10, baseSelector: ':host > div' }) {
|
2570
2570
|
static get componentName() {
|
2571
|
-
return componentName
|
2571
|
+
return componentName$10;
|
2572
2572
|
}
|
2573
2573
|
|
2574
2574
|
constructor() {
|
@@ -2629,11 +2629,11 @@ const LoaderLinearClass = compose(
|
|
2629
2629
|
componentNameValidationMixin
|
2630
2630
|
)(RawLoaderLinear);
|
2631
2631
|
|
2632
|
-
customElements.define(componentName
|
2632
|
+
customElements.define(componentName$10, LoaderLinearClass);
|
2633
2633
|
|
2634
|
-
const componentName
|
2634
|
+
const componentName$$ = getComponentName('loader-radial');
|
2635
2635
|
|
2636
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName
|
2636
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$$, baseSelector: ':host > div' }) {
|
2637
2637
|
constructor() {
|
2638
2638
|
super();
|
2639
2639
|
|
@@ -2677,11 +2677,11 @@ const LoaderRadialClass = compose(
|
|
2677
2677
|
componentNameValidationMixin
|
2678
2678
|
)(RawLoaderRadial);
|
2679
2679
|
|
2680
|
-
customElements.define(componentName
|
2680
|
+
customElements.define(componentName$$, LoaderRadialClass);
|
2681
2681
|
|
2682
|
-
const componentName$
|
2682
|
+
const componentName$_ = getComponentName('container');
|
2683
2683
|
|
2684
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
2684
|
+
class RawContainer extends createBaseClass({ componentName: componentName$_, baseSelector: 'slot' }) {
|
2685
2685
|
constructor() {
|
2686
2686
|
super();
|
2687
2687
|
|
@@ -2740,9 +2740,9 @@ const ContainerClass = compose(
|
|
2740
2740
|
componentNameValidationMixin
|
2741
2741
|
)(RawContainer);
|
2742
2742
|
|
2743
|
-
customElements.define(componentName$
|
2743
|
+
customElements.define(componentName$_, ContainerClass);
|
2744
2744
|
|
2745
|
-
const componentName$
|
2745
|
+
const componentName$Z = getComponentName('combo-box');
|
2746
2746
|
|
2747
2747
|
const ComboBoxMixin = (superclass) =>
|
2748
2748
|
class ComboBoxMixinClass extends superclass {
|
@@ -3187,14 +3187,14 @@ const ComboBoxClass = compose(
|
|
3187
3187
|
// and reset items to an empty array, and opening the list box with no items
|
3188
3188
|
// to display.
|
3189
3189
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
3190
|
-
componentName: componentName$
|
3190
|
+
componentName: componentName$Z,
|
3191
3191
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
3192
3192
|
})
|
3193
3193
|
);
|
3194
3194
|
|
3195
|
-
customElements.define(componentName$
|
3195
|
+
customElements.define(componentName$Z, ComboBoxClass);
|
3196
3196
|
|
3197
|
-
customElements.define(componentName$
|
3197
|
+
customElements.define(componentName$15, IconClass);
|
3198
3198
|
|
3199
3199
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
3200
3200
|
|
@@ -3511,7 +3511,7 @@ const nextMonth = (timestamp) => {
|
|
3511
3511
|
return date;
|
3512
3512
|
};
|
3513
3513
|
|
3514
|
-
const componentName$
|
3514
|
+
const componentName$Y = getComponentName('calendar');
|
3515
3515
|
|
3516
3516
|
const observedAttrs$2 = [
|
3517
3517
|
'initial-value',
|
@@ -3528,7 +3528,7 @@ const observedAttrs$2 = [
|
|
3528
3528
|
|
3529
3529
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
3530
3530
|
|
3531
|
-
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$
|
3531
|
+
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$Y, baseSelector: 'div' });
|
3532
3532
|
|
3533
3533
|
class RawCalendar extends BaseInputClass$9 {
|
3534
3534
|
static get observedAttributes() {
|
@@ -4141,7 +4141,7 @@ const CalendarClass = compose(
|
|
4141
4141
|
componentNameValidationMixin
|
4142
4142
|
)(RawCalendar);
|
4143
4143
|
|
4144
|
-
customElements.define(componentName$
|
4144
|
+
customElements.define(componentName$Y, CalendarClass);
|
4145
4145
|
|
4146
4146
|
const {
|
4147
4147
|
host: host$j,
|
@@ -4289,7 +4289,7 @@ var textFieldMappings = {
|
|
4289
4289
|
inputIconColor: { ...inputIcon, property: 'color' },
|
4290
4290
|
};
|
4291
4291
|
|
4292
|
-
const componentName$
|
4292
|
+
const componentName$X = getComponentName('text-field');
|
4293
4293
|
|
4294
4294
|
const observedAttrs$1 = ['type', 'label-type', 'copy-to-clipboard'];
|
4295
4295
|
|
@@ -4411,11 +4411,11 @@ const TextFieldClass = compose(
|
|
4411
4411
|
}
|
4412
4412
|
`,
|
4413
4413
|
excludeAttrsSync: ['tabindex'],
|
4414
|
-
componentName: componentName$
|
4414
|
+
componentName: componentName$X,
|
4415
4415
|
})
|
4416
4416
|
);
|
4417
4417
|
|
4418
|
-
customElements.define(componentName$
|
4418
|
+
customElements.define(componentName$X, TextFieldClass);
|
4419
4419
|
|
4420
4420
|
const patterns = {
|
4421
4421
|
MM: '(0?[1-9]|1[0-2])',
|
@@ -4548,12 +4548,12 @@ class DateCounter {
|
|
4548
4548
|
}
|
4549
4549
|
}
|
4550
4550
|
|
4551
|
-
const componentName$
|
4551
|
+
const componentName$W = getComponentName('date-field');
|
4552
4552
|
|
4553
4553
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
4554
4554
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
4555
4555
|
const BASE_SELECTOR = 'vaadin-popover';
|
4556
|
-
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$
|
4556
|
+
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$W, baseSelector: BASE_SELECTOR });
|
4557
4557
|
|
4558
4558
|
const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly'];
|
4559
4559
|
const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
|
@@ -5224,11 +5224,11 @@ const DateFieldClass = compose(
|
|
5224
5224
|
componentNameValidationMixin
|
5225
5225
|
)(RawDateFieldClass);
|
5226
5226
|
|
5227
|
-
customElements.define(componentName$
|
5227
|
+
customElements.define(componentName$W, DateFieldClass);
|
5228
5228
|
|
5229
|
-
const componentName$
|
5229
|
+
const componentName$V = getComponentName('text');
|
5230
5230
|
|
5231
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
5231
|
+
class RawText extends createBaseClass({ componentName: componentName$V, baseSelector: ':host > slot' }) {
|
5232
5232
|
constructor() {
|
5233
5233
|
super();
|
5234
5234
|
|
@@ -5285,8 +5285,8 @@ const TextClass = compose(
|
|
5285
5285
|
componentNameValidationMixin
|
5286
5286
|
)(RawText);
|
5287
5287
|
|
5288
|
-
const componentName$
|
5289
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
5288
|
+
const componentName$U = getComponentName('divider');
|
5289
|
+
class RawDivider extends createBaseClass({ componentName: componentName$U, baseSelector: ':host > div' }) {
|
5290
5290
|
constructor() {
|
5291
5291
|
super();
|
5292
5292
|
|
@@ -5385,11 +5385,11 @@ const DividerClass = compose(
|
|
5385
5385
|
componentNameValidationMixin
|
5386
5386
|
)(RawDivider);
|
5387
5387
|
|
5388
|
-
customElements.define(componentName$
|
5388
|
+
customElements.define(componentName$V, TextClass);
|
5389
5389
|
|
5390
|
-
customElements.define(componentName$
|
5390
|
+
customElements.define(componentName$U, DividerClass);
|
5391
5391
|
|
5392
|
-
const componentName$
|
5392
|
+
const componentName$T = getComponentName('email-field');
|
5393
5393
|
|
5394
5394
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
5395
5395
|
const defaultAutocomplete = 'username';
|
@@ -5458,15 +5458,15 @@ const EmailFieldClass = compose(
|
|
5458
5458
|
}
|
5459
5459
|
`,
|
5460
5460
|
excludeAttrsSync: ['tabindex'],
|
5461
|
-
componentName: componentName$
|
5461
|
+
componentName: componentName$T,
|
5462
5462
|
})
|
5463
5463
|
);
|
5464
5464
|
|
5465
|
-
customElements.define(componentName$
|
5465
|
+
customElements.define(componentName$T, EmailFieldClass);
|
5466
5466
|
|
5467
|
-
const componentName$
|
5467
|
+
const componentName$S = getComponentName('link');
|
5468
5468
|
|
5469
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
5469
|
+
class RawLink extends createBaseClass({ componentName: componentName$S, baseSelector: ':host a' }) {
|
5470
5470
|
constructor() {
|
5471
5471
|
super();
|
5472
5472
|
|
@@ -5530,7 +5530,7 @@ const LinkClass = compose(
|
|
5530
5530
|
componentNameValidationMixin
|
5531
5531
|
)(RawLink);
|
5532
5532
|
|
5533
|
-
customElements.define(componentName$
|
5533
|
+
customElements.define(componentName$S, LinkClass);
|
5534
5534
|
|
5535
5535
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
5536
5536
|
let style;
|
@@ -5582,37 +5582,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
5582
5582
|
return CssVarImageClass;
|
5583
5583
|
};
|
5584
5584
|
|
5585
|
-
const componentName$
|
5585
|
+
const componentName$R = getComponentName('logo');
|
5586
5586
|
|
5587
5587
|
const LogoClass = createCssVarImageClass({
|
5588
|
-
componentName: componentName$
|
5588
|
+
componentName: componentName$R,
|
5589
5589
|
varName: 'url',
|
5590
5590
|
fallbackVarName: 'fallbackUrl',
|
5591
5591
|
});
|
5592
5592
|
|
5593
|
-
customElements.define(componentName$
|
5593
|
+
customElements.define(componentName$R, LogoClass);
|
5594
5594
|
|
5595
|
-
const componentName$
|
5595
|
+
const componentName$Q = getComponentName('totp-image');
|
5596
5596
|
|
5597
5597
|
const TotpImageClass = createCssVarImageClass({
|
5598
|
-
componentName: componentName$
|
5598
|
+
componentName: componentName$Q,
|
5599
5599
|
varName: 'url',
|
5600
5600
|
fallbackVarName: 'fallbackUrl',
|
5601
5601
|
});
|
5602
5602
|
|
5603
|
-
customElements.define(componentName$
|
5603
|
+
customElements.define(componentName$Q, TotpImageClass);
|
5604
5604
|
|
5605
|
-
const componentName$
|
5605
|
+
const componentName$P = getComponentName('notp-image');
|
5606
5606
|
|
5607
5607
|
const NotpImageClass = createCssVarImageClass({
|
5608
|
-
componentName: componentName$
|
5608
|
+
componentName: componentName$P,
|
5609
5609
|
varName: 'url',
|
5610
5610
|
fallbackVarName: 'fallbackUrl',
|
5611
5611
|
});
|
5612
5612
|
|
5613
|
-
customElements.define(componentName$
|
5613
|
+
customElements.define(componentName$P, NotpImageClass);
|
5614
5614
|
|
5615
|
-
const componentName$
|
5615
|
+
const componentName$O = getComponentName('number-field');
|
5616
5616
|
|
5617
5617
|
const NumberFieldClass = compose(
|
5618
5618
|
createStyleMixin({
|
@@ -5646,11 +5646,11 @@ const NumberFieldClass = compose(
|
|
5646
5646
|
}
|
5647
5647
|
`,
|
5648
5648
|
excludeAttrsSync: ['tabindex'],
|
5649
|
-
componentName: componentName$
|
5649
|
+
componentName: componentName$O,
|
5650
5650
|
})
|
5651
5651
|
);
|
5652
5652
|
|
5653
|
-
customElements.define(componentName$
|
5653
|
+
customElements.define(componentName$O, NumberFieldClass);
|
5654
5654
|
|
5655
5655
|
const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
|
5656
5656
|
const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
|
@@ -5696,13 +5696,13 @@ const toggleMaskVisibility = (input, value) => {
|
|
5696
5696
|
|
5697
5697
|
/* eslint-disable no-param-reassign */
|
5698
5698
|
|
5699
|
-
const componentName$
|
5699
|
+
const componentName$N = getComponentName('passcode-internal');
|
5700
5700
|
|
5701
5701
|
const observedAttributes$5 = ['digits', 'loading'];
|
5702
5702
|
|
5703
5703
|
const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
|
5704
5704
|
|
5705
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
5705
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$N, baseSelector: 'div' });
|
5706
5706
|
|
5707
5707
|
class PasscodeInternal extends BaseInputClass$7 {
|
5708
5708
|
static get observedAttributes() {
|
@@ -5920,7 +5920,7 @@ class PasscodeInternal extends BaseInputClass$7 {
|
|
5920
5920
|
}
|
5921
5921
|
}
|
5922
5922
|
|
5923
|
-
const componentName$
|
5923
|
+
const componentName$M = getComponentName('passcode');
|
5924
5924
|
|
5925
5925
|
const observedAttributes$4 = ['digits'];
|
5926
5926
|
|
@@ -5939,17 +5939,17 @@ const customMixin$a = (superclass) =>
|
|
5939
5939
|
const template = document.createElement('template');
|
5940
5940
|
|
5941
5941
|
template.innerHTML = `
|
5942
|
-
<${componentName$
|
5942
|
+
<${componentName$N}
|
5943
5943
|
bordered="true"
|
5944
5944
|
name="code"
|
5945
5945
|
tabindex="-1"
|
5946
5946
|
slot="input"
|
5947
|
-
><slot></slot></${componentName$
|
5947
|
+
><slot></slot></${componentName$N}>
|
5948
5948
|
`;
|
5949
5949
|
|
5950
5950
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5951
5951
|
|
5952
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5952
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$N);
|
5953
5953
|
|
5954
5954
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
5955
5955
|
}
|
@@ -6101,13 +6101,13 @@ const PasscodeClass = compose(
|
|
6101
6101
|
${resetInputCursor('vaadin-text-field')}
|
6102
6102
|
`,
|
6103
6103
|
excludeAttrsSync: ['tabindex'],
|
6104
|
-
componentName: componentName$
|
6104
|
+
componentName: componentName$M,
|
6105
6105
|
})
|
6106
6106
|
);
|
6107
6107
|
|
6108
|
-
customElements.define(componentName$
|
6108
|
+
customElements.define(componentName$N, PasscodeInternal);
|
6109
6109
|
|
6110
|
-
customElements.define(componentName$
|
6110
|
+
customElements.define(componentName$M, PasscodeClass);
|
6111
6111
|
|
6112
6112
|
const passwordDraggableMixin = (superclass) =>
|
6113
6113
|
class PasswordDraggableMixinClass extends superclass {
|
@@ -6148,7 +6148,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
6148
6148
|
}
|
6149
6149
|
};
|
6150
6150
|
|
6151
|
-
const componentName$
|
6151
|
+
const componentName$L = getComponentName('password');
|
6152
6152
|
|
6153
6153
|
const customMixin$9 = (superclass) =>
|
6154
6154
|
class PasswordFieldMixinClass extends superclass {
|
@@ -6424,11 +6424,11 @@ const PasswordClass = compose(
|
|
6424
6424
|
}
|
6425
6425
|
`,
|
6426
6426
|
excludeAttrsSync: ['tabindex'],
|
6427
|
-
componentName: componentName$
|
6427
|
+
componentName: componentName$L,
|
6428
6428
|
})
|
6429
6429
|
);
|
6430
6430
|
|
6431
|
-
customElements.define(componentName$
|
6431
|
+
customElements.define(componentName$L, PasswordClass);
|
6432
6432
|
|
6433
6433
|
const disableRules = [
|
6434
6434
|
'blockquote',
|
@@ -6454,9 +6454,9 @@ const decodeHTML = (html) => {
|
|
6454
6454
|
/* eslint-disable no-param-reassign */
|
6455
6455
|
|
6456
6456
|
|
6457
|
-
const componentName$
|
6457
|
+
const componentName$K = getComponentName('enriched-text');
|
6458
6458
|
|
6459
|
-
class EnrichedText extends createBaseClass({ componentName: componentName$
|
6459
|
+
class EnrichedText extends createBaseClass({ componentName: componentName$K, baseSelector: ':host > div' }) {
|
6460
6460
|
#origLinkRenderer;
|
6461
6461
|
|
6462
6462
|
#origEmRenderer;
|
@@ -6652,9 +6652,9 @@ const EnrichedTextClass = compose(
|
|
6652
6652
|
componentNameValidationMixin
|
6653
6653
|
)(EnrichedText);
|
6654
6654
|
|
6655
|
-
customElements.define(componentName$
|
6655
|
+
customElements.define(componentName$K, EnrichedTextClass);
|
6656
6656
|
|
6657
|
-
const componentName$
|
6657
|
+
const componentName$J = getComponentName('text-area');
|
6658
6658
|
|
6659
6659
|
const {
|
6660
6660
|
host: host$d,
|
@@ -6730,20 +6730,20 @@ const TextAreaClass = compose(
|
|
6730
6730
|
${resetInputCursor('vaadin-text-area')}
|
6731
6731
|
`,
|
6732
6732
|
excludeAttrsSync: ['tabindex'],
|
6733
|
-
componentName: componentName$
|
6733
|
+
componentName: componentName$J,
|
6734
6734
|
})
|
6735
6735
|
);
|
6736
6736
|
|
6737
|
-
customElements.define(componentName$
|
6737
|
+
customElements.define(componentName$J, TextAreaClass);
|
6738
6738
|
|
6739
6739
|
const observedAttributes$3 = ['src', 'alt'];
|
6740
6740
|
|
6741
|
-
const componentName$
|
6741
|
+
const componentName$I = getComponentName('image');
|
6742
6742
|
|
6743
|
-
const BaseClass$
|
6744
|
-
class RawImage extends BaseClass$
|
6743
|
+
const BaseClass$2 = createBaseClass({ componentName: componentName$I, baseSelector: ':host > img' });
|
6744
|
+
class RawImage extends BaseClass$2 {
|
6745
6745
|
static get observedAttributes() {
|
6746
|
-
return observedAttributes$3.concat(BaseClass$
|
6746
|
+
return observedAttributes$3.concat(BaseClass$2.observedAttributes || []);
|
6747
6747
|
}
|
6748
6748
|
|
6749
6749
|
constructor() {
|
@@ -6780,7 +6780,7 @@ const ImageClass = compose(
|
|
6780
6780
|
draggableMixin
|
6781
6781
|
)(RawImage);
|
6782
6782
|
|
6783
|
-
customElements.define(componentName$
|
6783
|
+
customElements.define(componentName$I, ImageClass);
|
6784
6784
|
|
6785
6785
|
var CountryCodes = [
|
6786
6786
|
// United States should be the first option
|
@@ -8049,9 +8049,9 @@ const parsePhoneNumber = (val) => {
|
|
8049
8049
|
return [countryCode, phoneNumber];
|
8050
8050
|
};
|
8051
8051
|
|
8052
|
-
const componentName$
|
8052
|
+
const componentName$H = getComponentName('phone-field-internal');
|
8053
8053
|
|
8054
|
-
const commonAttrs$1 = ['disabled', 'size', 'bordered', '
|
8054
|
+
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'readonly', 'allow-alphanumeric-input'];
|
8055
8055
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
8056
8056
|
const phoneAttrs = ['phone-input-placeholder', 'maxlength', 'autocomplete', 'name'];
|
8057
8057
|
const labelTypeAttrs = ['label-type', 'country-input-label', 'label'];
|
@@ -8063,7 +8063,7 @@ const mapAttrs$1 = {
|
|
8063
8063
|
|
8064
8064
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
|
8065
8065
|
|
8066
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
8066
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$H, baseSelector: 'div' });
|
8067
8067
|
|
8068
8068
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
8069
8069
|
static get observedAttributes() {
|
@@ -8074,7 +8074,7 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8074
8074
|
super();
|
8075
8075
|
|
8076
8076
|
this.innerHTML = `
|
8077
|
-
<div>
|
8077
|
+
<div class="wrapper">
|
8078
8078
|
<descope-combo-box
|
8079
8079
|
item-label-path="data-name"
|
8080
8080
|
item-value-path="data-id"
|
@@ -8100,6 +8100,14 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8100
8100
|
};
|
8101
8101
|
}
|
8102
8102
|
|
8103
|
+
get countryCodeInputData() {
|
8104
|
+
return this.countryCodeInput.items;
|
8105
|
+
}
|
8106
|
+
|
8107
|
+
get allowAlphanumericInput() {
|
8108
|
+
return this.getAttribute('allow-alphanumeric-input') === 'true';
|
8109
|
+
}
|
8110
|
+
|
8103
8111
|
get value() {
|
8104
8112
|
if (!this.phoneNumberValue) {
|
8105
8113
|
return '';
|
@@ -8110,15 +8118,35 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8110
8118
|
set value(val) {
|
8111
8119
|
const [countryCode, phoneNumber] = parsePhoneNumber(val);
|
8112
8120
|
|
8113
|
-
|
8114
|
-
|
8121
|
+
this.#setCountryCode(countryCode);
|
8122
|
+
this.#setPhoneNumber(phoneNumber);
|
8123
|
+
}
|
8124
|
+
|
8125
|
+
setSelectionRange(...args) {
|
8126
|
+
this.phoneNumberInput.setSelectionRange(...args);
|
8127
|
+
}
|
8128
|
+
|
8129
|
+
get selectionStart() {
|
8130
|
+
return this.phoneNumberInput.selectionStart;
|
8131
|
+
}
|
8132
|
+
|
8133
|
+
#setCountryCode(val) {
|
8134
|
+
if (val) {
|
8135
|
+
const countryCodeItem = this.getCountryByDialCode(val);
|
8115
8136
|
if (countryCodeItem) {
|
8116
8137
|
this.countryCodeInput.selectedItem = countryCodeItem;
|
8117
8138
|
}
|
8118
8139
|
} else {
|
8119
8140
|
this.countryCodeInput.selectedItem = undefined;
|
8120
8141
|
}
|
8121
|
-
|
8142
|
+
}
|
8143
|
+
|
8144
|
+
#setPhoneNumber(val) {
|
8145
|
+
if (this.phoneNumberInput.value === val) {
|
8146
|
+
return;
|
8147
|
+
}
|
8148
|
+
|
8149
|
+
this.phoneNumberInput.value = val;
|
8122
8150
|
}
|
8123
8151
|
|
8124
8152
|
get phoneNumberValue() {
|
@@ -8129,6 +8157,10 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8129
8157
|
return this.countryCodeInput.shadowRoot.querySelector('input').value;
|
8130
8158
|
}
|
8131
8159
|
|
8160
|
+
get phoneNumberInputEle() {
|
8161
|
+
return this.phoneNumberInput.shadowRoot.querySelector('input');
|
8162
|
+
}
|
8163
|
+
|
8132
8164
|
get minLength() {
|
8133
8165
|
return parseInt(this.getAttribute('minlength'), 10) || 0;
|
8134
8166
|
}
|
@@ -8202,12 +8234,14 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8202
8234
|
initInputs() {
|
8203
8235
|
// Sanitize phone input value to filter everything but digits
|
8204
8236
|
this.phoneNumberInput.addEventListener('input', (e) => {
|
8205
|
-
|
8206
|
-
|
8207
|
-
.
|
8208
|
-
|
8209
|
-
|
8210
|
-
|
8237
|
+
if (!this.allowAlphanumericInput) {
|
8238
|
+
const telDigitsRegExp = /^\d$/;
|
8239
|
+
const sanitizedInput = e.target.value
|
8240
|
+
.split('')
|
8241
|
+
.filter((char) => telDigitsRegExp.test(char))
|
8242
|
+
.join('');
|
8243
|
+
e.target.value = sanitizedInput;
|
8244
|
+
}
|
8211
8245
|
});
|
8212
8246
|
|
8213
8247
|
this.handleFocusEventsDispatching(this.inputs);
|
@@ -8280,12 +8314,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8280
8314
|
}
|
8281
8315
|
};
|
8282
8316
|
|
8283
|
-
customElements.define(componentName$
|
8317
|
+
customElements.define(componentName$H, PhoneFieldInternal$1);
|
8284
8318
|
|
8285
8319
|
const textVars$1 = TextFieldClass.cssVarList;
|
8286
8320
|
const comboVars = ComboBoxClass.cssVarList;
|
8287
8321
|
|
8288
|
-
const componentName$
|
8322
|
+
const componentName$G = getComponentName('phone-field');
|
8289
8323
|
|
8290
8324
|
const customMixin$8 = (superclass) =>
|
8291
8325
|
class PhoneFieldMixinClass extends superclass {
|
@@ -8299,15 +8333,15 @@ const customMixin$8 = (superclass) =>
|
|
8299
8333
|
const template = document.createElement('template');
|
8300
8334
|
|
8301
8335
|
template.innerHTML = `
|
8302
|
-
<${componentName$
|
8336
|
+
<${componentName$H}
|
8303
8337
|
tabindex="-1"
|
8304
8338
|
slot="input"
|
8305
|
-
></${componentName$
|
8339
|
+
></${componentName$H}>
|
8306
8340
|
`;
|
8307
8341
|
|
8308
8342
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8309
8343
|
|
8310
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8344
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$H);
|
8311
8345
|
|
8312
8346
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8313
8347
|
includeAttrs: [
|
@@ -8325,9 +8359,28 @@ const customMixin$8 = (superclass) =>
|
|
8325
8359
|
'readonly',
|
8326
8360
|
'label',
|
8327
8361
|
'label-type',
|
8362
|
+
'allow-alphanumeric-input',
|
8328
8363
|
],
|
8329
8364
|
});
|
8330
8365
|
}
|
8366
|
+
|
8367
|
+
get countryCodeItems() {
|
8368
|
+
return this.inputElement?.countryCodeValue;
|
8369
|
+
}
|
8370
|
+
|
8371
|
+
get phoneNumberInputEle() {
|
8372
|
+
return this.inputElement?.phoneNumberInputEle;
|
8373
|
+
}
|
8374
|
+
|
8375
|
+
get countryCodeInputData() {
|
8376
|
+
return this.inputElement?.countryCodeInputData;
|
8377
|
+
}
|
8378
|
+
|
8379
|
+
get countryCodes() {
|
8380
|
+
return Array.from(this.inputElement.countryCodeInputData).map((ele) =>
|
8381
|
+
ele.getAttribute('data-country-code')
|
8382
|
+
);
|
8383
|
+
}
|
8331
8384
|
};
|
8332
8385
|
|
8333
8386
|
const {
|
@@ -8335,6 +8388,7 @@ const {
|
|
8335
8388
|
label: label$4,
|
8336
8389
|
requiredIndicator: requiredIndicator$4,
|
8337
8390
|
inputField: inputField$2,
|
8391
|
+
internalAfter,
|
8338
8392
|
countryCodeInput,
|
8339
8393
|
phoneInput: phoneInput$1,
|
8340
8394
|
separator: separator$1,
|
@@ -8345,6 +8399,7 @@ const {
|
|
8345
8399
|
label: { selector: '::part(label)' },
|
8346
8400
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
8347
8401
|
inputField: { selector: '::part(input-field)' },
|
8402
|
+
internalAfter: { selector: 'descope-phone-field-internal::after' },
|
8348
8403
|
phoneInput: { selector: () => 'descope-text-field' },
|
8349
8404
|
countryCodeInput: { selector: () => 'descope-combo-box' },
|
8350
8405
|
separator: { selector: 'descope-phone-field-internal .separator' },
|
@@ -8384,18 +8439,21 @@ const PhoneFieldClass = compose(
|
|
8384
8439
|
hostDirection: { ...host$c, property: 'direction' },
|
8385
8440
|
|
8386
8441
|
inputBorderStyle: [
|
8387
|
-
{ ...
|
8442
|
+
{ ...internalAfter, property: 'outline-style' },
|
8388
8443
|
{ ...separator$1, property: 'border-left-style' },
|
8389
8444
|
],
|
8390
8445
|
inputBorderWidth: [
|
8391
|
-
{ ...
|
8446
|
+
{ ...internalAfter, property: 'outline-width' },
|
8392
8447
|
{ ...separator$1, property: 'border-left-width' },
|
8393
8448
|
],
|
8394
8449
|
inputBorderColor: [
|
8395
|
-
{ ...
|
8450
|
+
{ ...internalAfter, property: 'outline-color' },
|
8396
8451
|
{ ...separator$1, property: 'border-left-color' },
|
8397
8452
|
],
|
8398
|
-
inputBorderRadius:
|
8453
|
+
inputBorderRadius: [
|
8454
|
+
{ ...inputField$2, property: 'border-radius' },
|
8455
|
+
{ ...internalAfter, property: 'border-radius' },
|
8456
|
+
],
|
8399
8457
|
|
8400
8458
|
countryCodeInputWidth: { ...countryCodeInput, property: comboVars.hostWidth },
|
8401
8459
|
countryCodeDropdownWidth: {
|
@@ -8477,6 +8535,10 @@ const PhoneFieldClass = compose(
|
|
8477
8535
|
vaadin-text-field::before {
|
8478
8536
|
height: 0;
|
8479
8537
|
}
|
8538
|
+
vaadin-text-field::part(label) {
|
8539
|
+
margin-left: 0;
|
8540
|
+
margin-right: 0;
|
8541
|
+
}
|
8480
8542
|
vaadin-text-field::part(input-field) {
|
8481
8543
|
padding: 0;
|
8482
8544
|
background: transparent;
|
@@ -8488,7 +8550,19 @@ const PhoneFieldClass = compose(
|
|
8488
8550
|
width: 100%;
|
8489
8551
|
height: 100%;
|
8490
8552
|
direction: ltr;
|
8553
|
+
position: relative;
|
8491
8554
|
}
|
8555
|
+
descope-phone-field-internal::after {
|
8556
|
+
content: '';
|
8557
|
+
position: absolute;
|
8558
|
+
width: 100%;
|
8559
|
+
height: 100%;
|
8560
|
+
top: 0;
|
8561
|
+
left: 0;
|
8562
|
+
box-sizing: border-box;
|
8563
|
+
outline-offset: calc(var(${PhoneFieldClass.cssVarList.inputBorderWidth}) * -1);
|
8564
|
+
pointer-events: none;
|
8565
|
+
}
|
8492
8566
|
descope-phone-field-internal > div {
|
8493
8567
|
width: 100%;
|
8494
8568
|
height: 100%;
|
@@ -8499,7 +8573,7 @@ const PhoneFieldClass = compose(
|
|
8499
8573
|
}
|
8500
8574
|
descope-combo-box {
|
8501
8575
|
flex-shrink: 0;
|
8502
|
-
|
8576
|
+
min-width: 5.75em;
|
8503
8577
|
${comboVars.inputOutlineWidth}: 0;
|
8504
8578
|
${comboVars.inputOutlineOffset}: 0;
|
8505
8579
|
${comboVars.inputBorderWidth}: 0;
|
@@ -8529,17 +8603,17 @@ const PhoneFieldClass = compose(
|
|
8529
8603
|
${resetInputLabelPosition('vaadin-text-field')}
|
8530
8604
|
`,
|
8531
8605
|
excludeAttrsSync: ['tabindex'],
|
8532
|
-
componentName: componentName$
|
8606
|
+
componentName: componentName$G,
|
8533
8607
|
})
|
8534
8608
|
);
|
8535
8609
|
|
8536
|
-
customElements.define(componentName$
|
8610
|
+
customElements.define(componentName$G, PhoneFieldClass);
|
8537
8611
|
|
8538
8612
|
const getCountryByCodeId = (countryCode) => {
|
8539
8613
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
8540
8614
|
};
|
8541
8615
|
|
8542
|
-
const componentName$
|
8616
|
+
const componentName$F = getComponentName('phone-field-internal-input-box');
|
8543
8617
|
|
8544
8618
|
const observedAttributes$2 = [
|
8545
8619
|
'disabled',
|
@@ -8551,12 +8625,13 @@ const observedAttributes$2 = [
|
|
8551
8625
|
'name',
|
8552
8626
|
'autocomplete',
|
8553
8627
|
'label-type',
|
8628
|
+
'allow-alphanumeric-input',
|
8554
8629
|
];
|
8555
8630
|
const mapAttrs = {
|
8556
8631
|
'phone-input-placeholder': 'placeholder',
|
8557
8632
|
};
|
8558
8633
|
|
8559
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
8634
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$F, baseSelector: 'div' });
|
8560
8635
|
|
8561
8636
|
class PhoneFieldInternal extends BaseInputClass$5 {
|
8562
8637
|
static get observedAttributes() {
|
@@ -8583,6 +8658,10 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
8583
8658
|
return !!this.getAttribute('default-code');
|
8584
8659
|
}
|
8585
8660
|
|
8661
|
+
get allowAlphanumericInput() {
|
8662
|
+
return this.getAttribute('allow-alphanumeric-input') === 'true';
|
8663
|
+
}
|
8664
|
+
|
8586
8665
|
get value() {
|
8587
8666
|
if (!this.phoneNumberValue) {
|
8588
8667
|
return '';
|
@@ -8613,6 +8692,10 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
8613
8692
|
return this.phoneNumberInput.value;
|
8614
8693
|
}
|
8615
8694
|
|
8695
|
+
get phoneNumberInputEle() {
|
8696
|
+
return this.phoneNumberInput.shadowRoot.querySelector('input');
|
8697
|
+
}
|
8698
|
+
|
8616
8699
|
get minLength() {
|
8617
8700
|
return parseInt(this.getAttribute('minlength'), 10) || 0;
|
8618
8701
|
}
|
@@ -8672,11 +8755,14 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
8672
8755
|
.replace('--', '-')
|
8673
8756
|
.replace('+-', '+');
|
8674
8757
|
|
8675
|
-
|
8676
|
-
|
8677
|
-
|
8678
|
-
|
8679
|
-
|
8758
|
+
let sanitizedInput = e.target.value;
|
8759
|
+
if (!this.allowAlphanumericInput) {
|
8760
|
+
const telDigitsRegExp = /^[+\d-]+$/;
|
8761
|
+
sanitizedInput = e.target.value
|
8762
|
+
.split('')
|
8763
|
+
.filter((char) => telDigitsRegExp.test(char))
|
8764
|
+
.join('');
|
8765
|
+
}
|
8680
8766
|
|
8681
8767
|
e.target.value = sanitizedInput;
|
8682
8768
|
});
|
@@ -8695,11 +8781,11 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
8695
8781
|
}
|
8696
8782
|
}
|
8697
8783
|
|
8698
|
-
customElements.define(componentName$
|
8784
|
+
customElements.define(componentName$F, PhoneFieldInternal);
|
8699
8785
|
|
8700
8786
|
const textVars = TextFieldClass.cssVarList;
|
8701
8787
|
|
8702
|
-
const componentName$
|
8788
|
+
const componentName$E = getComponentName('phone-input-box-field');
|
8703
8789
|
|
8704
8790
|
const customMixin$7 = (superclass) =>
|
8705
8791
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -8713,15 +8799,15 @@ const customMixin$7 = (superclass) =>
|
|
8713
8799
|
const template = document.createElement('template');
|
8714
8800
|
|
8715
8801
|
template.innerHTML = `
|
8716
|
-
<${componentName$
|
8802
|
+
<${componentName$F}
|
8717
8803
|
tabindex="-1"
|
8718
8804
|
slot="input"
|
8719
|
-
></${componentName$
|
8805
|
+
></${componentName$F}>
|
8720
8806
|
`;
|
8721
8807
|
|
8722
8808
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8723
8809
|
|
8724
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8810
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$F);
|
8725
8811
|
|
8726
8812
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8727
8813
|
includeAttrs: [
|
@@ -8735,9 +8821,14 @@ const customMixin$7 = (superclass) =>
|
|
8735
8821
|
'phone-input-placeholder',
|
8736
8822
|
'label',
|
8737
8823
|
'label-type',
|
8824
|
+
'allow-alphanumeric-input',
|
8738
8825
|
],
|
8739
8826
|
});
|
8740
8827
|
}
|
8828
|
+
|
8829
|
+
get phoneNumberInputEle() {
|
8830
|
+
return this.inputElement?.phoneNumberInputEle;
|
8831
|
+
}
|
8741
8832
|
};
|
8742
8833
|
|
8743
8834
|
const {
|
@@ -8746,6 +8837,7 @@ const {
|
|
8746
8837
|
inputElement: inputElement$1,
|
8747
8838
|
requiredIndicator: requiredIndicator$3,
|
8748
8839
|
inputField: inputField$1,
|
8840
|
+
inputFieldInternal,
|
8749
8841
|
phoneInput,
|
8750
8842
|
errorMessage: errorMessage$4,
|
8751
8843
|
helperText: helperText$3,
|
@@ -8755,7 +8847,10 @@ const {
|
|
8755
8847
|
placeholder: { selector: '> input:placeholder-shown' },
|
8756
8848
|
inputElement: { selector: 'input' },
|
8757
8849
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
8758
|
-
inputField: { selector: '::part(input-field)' },
|
8850
|
+
inputField: { selector: () => 'vaadin-text-field::part(input-field)' },
|
8851
|
+
inputFieldInternal: {
|
8852
|
+
selector: () => 'descope-phone-field-internal-input-box vaadin-text-field::part(input-field)',
|
8853
|
+
},
|
8759
8854
|
phoneInput: { selector: () => 'descope-text-field' },
|
8760
8855
|
helperText: { selector: '::part(helper-text)' },
|
8761
8856
|
errorMessage: { selector: '::part(error-message)' },
|
@@ -8777,10 +8872,13 @@ const PhoneFieldInputBoxClass = compose(
|
|
8777
8872
|
hostMinWidth: { ...host$b, property: 'min-width' },
|
8778
8873
|
hostDirection: { ...host$b, property: 'direction' },
|
8779
8874
|
|
8780
|
-
inputBorderStyle: { ...
|
8781
|
-
inputBorderWidth: { ...
|
8782
|
-
inputBorderColor: { ...
|
8783
|
-
inputBorderRadius:
|
8875
|
+
inputBorderStyle: { ...inputFieldInternal, property: 'border-style' },
|
8876
|
+
inputBorderWidth: { ...inputFieldInternal, property: 'border-width' },
|
8877
|
+
inputBorderColor: { ...inputFieldInternal, property: 'border-color' },
|
8878
|
+
inputBorderRadius: [
|
8879
|
+
{ ...inputField$1, property: 'border-radius' },
|
8880
|
+
{ ...inputFieldInternal, property: 'border-radius' },
|
8881
|
+
],
|
8784
8882
|
|
8785
8883
|
inputHorizontalPadding: [
|
8786
8884
|
{ ...phoneInput, property: 'padding-left' },
|
@@ -8841,7 +8939,6 @@ const PhoneFieldInputBoxClass = compose(
|
|
8841
8939
|
|
8842
8940
|
vaadin-text-field {
|
8843
8941
|
width: 100%;
|
8844
|
-
height: 100%;
|
8845
8942
|
box-sizing: border-box;
|
8846
8943
|
padding: 0;
|
8847
8944
|
}
|
@@ -8861,23 +8958,21 @@ const PhoneFieldInputBoxClass = compose(
|
|
8861
8958
|
-webkit-mask-image: none;
|
8862
8959
|
padding: 0;
|
8863
8960
|
width: 100%;
|
8864
|
-
height: 100%;
|
8865
8961
|
}
|
8866
8962
|
descope-phone-field-internal-input-box > div {
|
8867
8963
|
width: 100%;
|
8868
|
-
height: 100%;
|
8869
8964
|
}
|
8870
8965
|
descope-phone-field-internal-input-box .separator {
|
8871
8966
|
flex: 0;
|
8872
8967
|
border: none;
|
8873
8968
|
}
|
8969
|
+
descope-phone-field-internal-input-box descope-text-field {
|
8970
|
+
${textVars.inputOutlineWidth}: 0;
|
8971
|
+
${textVars.inputOutlineOffset}: 0;
|
8972
|
+
}
|
8874
8973
|
descope-text-field {
|
8875
8974
|
flex-grow: 1;
|
8876
8975
|
width: 100%;
|
8877
|
-
${textVars.inputOutlineWidth}: 0;
|
8878
|
-
${textVars.inputOutlineOffset}: 0;
|
8879
|
-
${textVars.inputBorderWidth}: 0;
|
8880
|
-
${textVars.inputBorderRadius}: 0;
|
8881
8976
|
direction: ltr;
|
8882
8977
|
}
|
8883
8978
|
vaadin-text-field[readonly] > input:placeholder-shown {
|
@@ -8898,26 +8993,26 @@ const PhoneFieldInputBoxClass = compose(
|
|
8898
8993
|
${inputFloatingLabelStyle()}
|
8899
8994
|
`,
|
8900
8995
|
excludeAttrsSync: ['tabindex'],
|
8901
|
-
componentName: componentName$
|
8996
|
+
componentName: componentName$E,
|
8902
8997
|
})
|
8903
8998
|
);
|
8904
8999
|
|
8905
|
-
customElements.define(componentName$
|
9000
|
+
customElements.define(componentName$E, PhoneFieldInputBoxClass);
|
8906
9001
|
|
8907
|
-
const componentName$
|
9002
|
+
const componentName$D = getComponentName('new-password-internal');
|
8908
9003
|
|
8909
9004
|
const interpolateString = (template, values) =>
|
8910
9005
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
8911
9006
|
|
8912
9007
|
// eslint-disable-next-line max-classes-per-file
|
8913
9008
|
|
8914
|
-
const componentName$
|
9009
|
+
const componentName$C = getComponentName('policy-validation');
|
8915
9010
|
|
8916
9011
|
const overrideAttrs = ['data-password-policy-value-minlength'];
|
8917
9012
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
8918
9013
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
8919
9014
|
|
8920
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
9015
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$C, baseSelector: ':host > div' }) {
|
8921
9016
|
#availablePolicies;
|
8922
9017
|
|
8923
9018
|
#activePolicies = [];
|
@@ -9125,7 +9220,7 @@ const PolicyValidationClass = compose(
|
|
9125
9220
|
componentNameValidationMixin
|
9126
9221
|
)(RawPolicyValidation);
|
9127
9222
|
|
9128
|
-
const componentName$
|
9223
|
+
const componentName$B = getComponentName('new-password');
|
9129
9224
|
|
9130
9225
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
9131
9226
|
|
@@ -9139,18 +9234,18 @@ const customMixin$6 = (superclass) =>
|
|
9139
9234
|
const externalInputAttr = this.getAttribute('external-input');
|
9140
9235
|
|
9141
9236
|
template.innerHTML = `
|
9142
|
-
<${componentName$
|
9237
|
+
<${componentName$D}
|
9143
9238
|
name="new-password"
|
9144
9239
|
tabindex="-1"
|
9145
9240
|
slot="input"
|
9146
9241
|
external-input="${externalInputAttr}"
|
9147
9242
|
>
|
9148
|
-
</${componentName$
|
9243
|
+
</${componentName$D}>
|
9149
9244
|
`;
|
9150
9245
|
|
9151
9246
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
9152
9247
|
|
9153
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
9248
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$D);
|
9154
9249
|
|
9155
9250
|
if (this.getAttribute('external-input') === 'true') {
|
9156
9251
|
this.initExternalInput();
|
@@ -9327,11 +9422,11 @@ const NewPasswordClass = compose(
|
|
9327
9422
|
}
|
9328
9423
|
`,
|
9329
9424
|
excludeAttrsSync: ['tabindex'],
|
9330
|
-
componentName: componentName$
|
9425
|
+
componentName: componentName$B,
|
9331
9426
|
})
|
9332
9427
|
);
|
9333
9428
|
|
9334
|
-
customElements.define(componentName$
|
9429
|
+
customElements.define(componentName$C, PolicyValidationClass);
|
9335
9430
|
|
9336
9431
|
const passwordAttrPrefixRegex = /^password-/;
|
9337
9432
|
const confirmAttrPrefixRegex = /^confirm-/;
|
@@ -9363,7 +9458,7 @@ const inputRelatedAttrs = [].concat(
|
|
9363
9458
|
policyPanelAttrs
|
9364
9459
|
);
|
9365
9460
|
|
9366
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
9461
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$D, baseSelector: 'div' });
|
9367
9462
|
|
9368
9463
|
class NewPasswordInternal extends BaseInputClass$4 {
|
9369
9464
|
static get observedAttributes() {
|
@@ -9573,21 +9668,21 @@ class NewPasswordInternal extends BaseInputClass$4 {
|
|
9573
9668
|
}
|
9574
9669
|
}
|
9575
9670
|
|
9576
|
-
customElements.define(componentName$
|
9671
|
+
customElements.define(componentName$D, NewPasswordInternal);
|
9577
9672
|
|
9578
|
-
customElements.define(componentName$
|
9673
|
+
customElements.define(componentName$B, NewPasswordClass);
|
9579
9674
|
|
9580
|
-
const componentName$
|
9675
|
+
const componentName$A = getComponentName('recaptcha');
|
9581
9676
|
|
9582
9677
|
const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
|
9583
9678
|
|
9584
|
-
const BaseClass = createBaseClass({
|
9585
|
-
componentName: componentName$
|
9679
|
+
const BaseClass$1 = createBaseClass({
|
9680
|
+
componentName: componentName$A,
|
9586
9681
|
baseSelector: ':host > div',
|
9587
9682
|
});
|
9588
|
-
class RawRecaptcha extends BaseClass {
|
9683
|
+
class RawRecaptcha extends BaseClass$1 {
|
9589
9684
|
static get observedAttributes() {
|
9590
|
-
return observedAttributes$1.concat(BaseClass.observedAttributes || []);
|
9685
|
+
return observedAttributes$1.concat(BaseClass$1.observedAttributes || []);
|
9591
9686
|
}
|
9592
9687
|
|
9593
9688
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
@@ -9769,7 +9864,7 @@ class RawRecaptcha extends BaseClass {
|
|
9769
9864
|
|
9770
9865
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
9771
9866
|
|
9772
|
-
customElements.define(componentName$
|
9867
|
+
customElements.define(componentName$A, RecaptchaClass);
|
9773
9868
|
|
9774
9869
|
const getFileBase64 = (fileObj) => {
|
9775
9870
|
return new Promise((resolve) => {
|
@@ -9783,7 +9878,7 @@ const getFilename = (fileObj) => {
|
|
9783
9878
|
return fileObj.name.replace(/^.*\\/, '');
|
9784
9879
|
};
|
9785
9880
|
|
9786
|
-
const componentName$
|
9881
|
+
const componentName$z = getComponentName('upload-file');
|
9787
9882
|
|
9788
9883
|
const observedAttributes = [
|
9789
9884
|
'title',
|
@@ -9798,7 +9893,7 @@ const observedAttributes = [
|
|
9798
9893
|
'icon',
|
9799
9894
|
];
|
9800
9895
|
|
9801
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
9896
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$z, baseSelector: ':host > div' });
|
9802
9897
|
|
9803
9898
|
class RawUploadFile extends BaseInputClass$3 {
|
9804
9899
|
static get observedAttributes() {
|
@@ -10013,7 +10108,7 @@ const UploadFileClass = compose(
|
|
10013
10108
|
componentNameValidationMixin
|
10014
10109
|
)(RawUploadFile);
|
10015
10110
|
|
10016
|
-
customElements.define(componentName$
|
10111
|
+
customElements.define(componentName$z, UploadFileClass);
|
10017
10112
|
|
10018
10113
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
10019
10114
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
@@ -10111,10 +10206,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
10111
10206
|
return BaseButtonSelectionGroupInternalClass;
|
10112
10207
|
};
|
10113
10208
|
|
10114
|
-
const componentName$
|
10209
|
+
const componentName$y = getComponentName('button-selection-group-internal');
|
10115
10210
|
|
10116
10211
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
10117
|
-
componentName$
|
10212
|
+
componentName$y
|
10118
10213
|
) {
|
10119
10214
|
getSelectedNode() {
|
10120
10215
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -10346,7 +10441,7 @@ const buttonSelectionGroupStyles = `
|
|
10346
10441
|
${resetInputCursor('vaadin-text-field')}
|
10347
10442
|
`;
|
10348
10443
|
|
10349
|
-
const componentName$
|
10444
|
+
const componentName$x = getComponentName('button-selection-group');
|
10350
10445
|
|
10351
10446
|
const buttonSelectionGroupMixin = (superclass) =>
|
10352
10447
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10355,19 +10450,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
10355
10450
|
const template = document.createElement('template');
|
10356
10451
|
|
10357
10452
|
template.innerHTML = `
|
10358
|
-
<${componentName$
|
10453
|
+
<${componentName$y}
|
10359
10454
|
name="button-selection-group"
|
10360
10455
|
slot="input"
|
10361
10456
|
tabindex="-1"
|
10362
10457
|
part="internal-component"
|
10363
10458
|
>
|
10364
10459
|
<slot></slot>
|
10365
|
-
</${componentName$
|
10460
|
+
</${componentName$y}>
|
10366
10461
|
`;
|
10367
10462
|
|
10368
10463
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10369
10464
|
|
10370
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10465
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$y);
|
10371
10466
|
|
10372
10467
|
forwardAttrs(this, this.inputElement, {
|
10373
10468
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -10392,16 +10487,16 @@ const ButtonSelectionGroupClass = compose(
|
|
10392
10487
|
wrappedEleName: 'vaadin-text-field',
|
10393
10488
|
style: () => buttonSelectionGroupStyles,
|
10394
10489
|
excludeAttrsSync: ['tabindex'],
|
10395
|
-
componentName: componentName$
|
10490
|
+
componentName: componentName$x,
|
10396
10491
|
})
|
10397
10492
|
);
|
10398
10493
|
|
10399
|
-
customElements.define(componentName$
|
10494
|
+
customElements.define(componentName$y, ButtonSelectionGroupInternalClass);
|
10400
10495
|
|
10401
|
-
const componentName$
|
10496
|
+
const componentName$w = getComponentName('button-selection-group-item');
|
10402
10497
|
|
10403
10498
|
class RawSelectItem extends createBaseClass({
|
10404
|
-
componentName: componentName$
|
10499
|
+
componentName: componentName$w,
|
10405
10500
|
baseSelector: ':host > descope-button',
|
10406
10501
|
}) {
|
10407
10502
|
get size() {
|
@@ -10508,14 +10603,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
10508
10603
|
componentNameValidationMixin
|
10509
10604
|
)(RawSelectItem);
|
10510
10605
|
|
10511
|
-
customElements.define(componentName$
|
10606
|
+
customElements.define(componentName$w, ButtonSelectionGroupItemClass);
|
10512
10607
|
|
10513
|
-
customElements.define(componentName$
|
10608
|
+
customElements.define(componentName$x, ButtonSelectionGroupClass);
|
10514
10609
|
|
10515
|
-
const componentName$
|
10610
|
+
const componentName$v = getComponentName('button-multi-selection-group-internal');
|
10516
10611
|
|
10517
10612
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
10518
|
-
componentName$
|
10613
|
+
componentName$v
|
10519
10614
|
) {
|
10520
10615
|
#getSelectedNodes() {
|
10521
10616
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -10618,7 +10713,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
10618
10713
|
}
|
10619
10714
|
}
|
10620
10715
|
|
10621
|
-
const componentName$
|
10716
|
+
const componentName$u = getComponentName('button-multi-selection-group');
|
10622
10717
|
|
10623
10718
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
10624
10719
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10627,19 +10722,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
10627
10722
|
const template = document.createElement('template');
|
10628
10723
|
|
10629
10724
|
template.innerHTML = `
|
10630
|
-
<${componentName$
|
10725
|
+
<${componentName$v}
|
10631
10726
|
name="button-selection-group"
|
10632
10727
|
slot="input"
|
10633
10728
|
tabindex="-1"
|
10634
10729
|
part="internal-component"
|
10635
10730
|
>
|
10636
10731
|
<slot></slot>
|
10637
|
-
</${componentName$
|
10732
|
+
</${componentName$v}>
|
10638
10733
|
`;
|
10639
10734
|
|
10640
10735
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10641
10736
|
|
10642
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10737
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$v);
|
10643
10738
|
|
10644
10739
|
forwardAttrs(this, this.inputElement, {
|
10645
10740
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -10664,13 +10759,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
10664
10759
|
wrappedEleName: 'vaadin-text-field',
|
10665
10760
|
style: () => buttonSelectionGroupStyles,
|
10666
10761
|
excludeAttrsSync: ['tabindex'],
|
10667
|
-
componentName: componentName$
|
10762
|
+
componentName: componentName$u,
|
10668
10763
|
})
|
10669
10764
|
);
|
10670
10765
|
|
10671
|
-
customElements.define(componentName$
|
10766
|
+
customElements.define(componentName$v, ButtonMultiSelectionGroupInternalClass);
|
10672
10767
|
|
10673
|
-
customElements.define(componentName$
|
10768
|
+
customElements.define(componentName$u, ButtonMultiSelectionGroupClass);
|
10674
10769
|
|
10675
10770
|
/* eslint-disable no-param-reassign */
|
10676
10771
|
|
@@ -10698,9 +10793,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
10698
10793
|
}
|
10699
10794
|
}
|
10700
10795
|
|
10701
|
-
const componentName$
|
10796
|
+
const componentName$t = getComponentName('grid-text-column');
|
10702
10797
|
|
10703
|
-
customElements.define(componentName$
|
10798
|
+
customElements.define(componentName$t, GridTextColumnClass);
|
10704
10799
|
|
10705
10800
|
/* eslint-disable no-param-reassign */
|
10706
10801
|
|
@@ -10735,9 +10830,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
10735
10830
|
|
10736
10831
|
/* eslint-disable no-param-reassign */
|
10737
10832
|
|
10738
|
-
const componentName$
|
10833
|
+
const componentName$s = getComponentName('grid-custom-column');
|
10739
10834
|
|
10740
|
-
customElements.define(componentName$
|
10835
|
+
customElements.define(componentName$s, GridCustomColumnClass);
|
10741
10836
|
|
10742
10837
|
const createCheckboxEle = () => {
|
10743
10838
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -10796,9 +10891,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
10796
10891
|
}
|
10797
10892
|
}
|
10798
10893
|
|
10799
|
-
const componentName$
|
10894
|
+
const componentName$r = getComponentName('grid-selection-column');
|
10800
10895
|
|
10801
|
-
customElements.define(componentName$
|
10896
|
+
customElements.define(componentName$r, GridSelectionColumnClass);
|
10802
10897
|
|
10803
10898
|
/* eslint-disable no-param-reassign */
|
10804
10899
|
|
@@ -10837,9 +10932,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
|
|
10837
10932
|
}
|
10838
10933
|
}
|
10839
10934
|
|
10840
|
-
const componentName$
|
10935
|
+
const componentName$q = getComponentName('grid-item-details-column');
|
10841
10936
|
|
10842
|
-
customElements.define(componentName$
|
10937
|
+
customElements.define(componentName$q, GridItemDetailsColumnClass);
|
10843
10938
|
|
10844
10939
|
const decode = (input) => {
|
10845
10940
|
const txt = document.createElement('textarea');
|
@@ -10851,9 +10946,9 @@ const tpl = (input, inline) => {
|
|
10851
10946
|
return inline ? input : `<pre>${input}</pre>`;
|
10852
10947
|
};
|
10853
10948
|
|
10854
|
-
const componentName$
|
10949
|
+
const componentName$p = getComponentName('code-snippet');
|
10855
10950
|
|
10856
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
10951
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > code' }) {
|
10857
10952
|
static get observedAttributes() {
|
10858
10953
|
return ['lang', 'inline'];
|
10859
10954
|
}
|
@@ -11083,7 +11178,7 @@ const CodeSnippetClass = compose(
|
|
11083
11178
|
componentNameValidationMixin
|
11084
11179
|
)(CodeSnippet$1);
|
11085
11180
|
|
11086
|
-
customElements.define(componentName$
|
11181
|
+
customElements.define(componentName$p, CodeSnippetClass);
|
11087
11182
|
|
11088
11183
|
const isValidDataType = (data) => {
|
11089
11184
|
const isValid = Array.isArray(data);
|
@@ -11158,7 +11253,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
11158
11253
|
`;
|
11159
11254
|
};
|
11160
11255
|
|
11161
|
-
const componentName$
|
11256
|
+
const componentName$o = getComponentName('grid');
|
11162
11257
|
|
11163
11258
|
const GridMixin = (superclass) =>
|
11164
11259
|
class GridMixinClass extends superclass {
|
@@ -11512,13 +11607,13 @@ const GridClass = compose(
|
|
11512
11607
|
/*!css*/
|
11513
11608
|
`,
|
11514
11609
|
excludeAttrsSync: ['columns', 'tabindex'],
|
11515
|
-
componentName: componentName$
|
11610
|
+
componentName: componentName$o,
|
11516
11611
|
})
|
11517
11612
|
);
|
11518
11613
|
|
11519
|
-
customElements.define(componentName$
|
11614
|
+
customElements.define(componentName$o, GridClass);
|
11520
11615
|
|
11521
|
-
const componentName$
|
11616
|
+
const componentName$n = getComponentName('multi-select-combo-box');
|
11522
11617
|
|
11523
11618
|
const multiSelectComboBoxMixin = (superclass) =>
|
11524
11619
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -11758,6 +11853,14 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
11758
11853
|
setGetValidity() {
|
11759
11854
|
// eslint-disable-next-line func-names
|
11760
11855
|
this.getValidity = function () {
|
11856
|
+
if (this.pattern) {
|
11857
|
+
const patternRegex = new RegExp(this.pattern);
|
11858
|
+
if (this.value.some((val) => !patternRegex.test(val)))
|
11859
|
+
return {
|
11860
|
+
patternMismatch: true,
|
11861
|
+
};
|
11862
|
+
}
|
11863
|
+
|
11761
11864
|
if (this.isRequired && !this.value.length) {
|
11762
11865
|
return {
|
11763
11866
|
valueMissing: true,
|
@@ -12152,16 +12255,16 @@ const MultiSelectComboBoxClass = compose(
|
|
12152
12255
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
12153
12256
|
// tries to override it, causing us to lose the user set placeholder.
|
12154
12257
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
12155
|
-
componentName: componentName$
|
12258
|
+
componentName: componentName$n,
|
12156
12259
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
12157
12260
|
})
|
12158
12261
|
);
|
12159
12262
|
|
12160
|
-
customElements.define(componentName$
|
12263
|
+
customElements.define(componentName$n, MultiSelectComboBoxClass);
|
12161
12264
|
|
12162
|
-
const componentName$
|
12265
|
+
const componentName$m = getComponentName('badge');
|
12163
12266
|
|
12164
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
12267
|
+
class RawBadge extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > div' }) {
|
12165
12268
|
constructor() {
|
12166
12269
|
super();
|
12167
12270
|
|
@@ -12212,9 +12315,9 @@ const BadgeClass = compose(
|
|
12212
12315
|
componentNameValidationMixin
|
12213
12316
|
)(RawBadge);
|
12214
12317
|
|
12215
|
-
customElements.define(componentName$
|
12318
|
+
customElements.define(componentName$m, BadgeClass);
|
12216
12319
|
|
12217
|
-
const componentName$
|
12320
|
+
const componentName$l = getComponentName('modal');
|
12218
12321
|
|
12219
12322
|
const customMixin$5 = (superclass) =>
|
12220
12323
|
class ModalMixinClass extends superclass {
|
@@ -12313,11 +12416,11 @@ const ModalClass = compose(
|
|
12313
12416
|
wrappedEleName: 'vaadin-dialog',
|
12314
12417
|
style: () => ``,
|
12315
12418
|
excludeAttrsSync: ['tabindex', 'opened'],
|
12316
|
-
componentName: componentName$
|
12419
|
+
componentName: componentName$l,
|
12317
12420
|
})
|
12318
12421
|
);
|
12319
12422
|
|
12320
|
-
customElements.define(componentName$
|
12423
|
+
customElements.define(componentName$l, ModalClass);
|
12321
12424
|
|
12322
12425
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
12323
12426
|
|
@@ -12328,7 +12431,7 @@ if (!vaadinContainerClass) {
|
|
12328
12431
|
class NotificationContainerClass extends vaadinContainerClass {}
|
12329
12432
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
12330
12433
|
|
12331
|
-
const componentName$
|
12434
|
+
const componentName$k = getComponentName('notification-card');
|
12332
12435
|
|
12333
12436
|
const notificationCardMixin = (superclass) =>
|
12334
12437
|
class NotificationCardMixinClass extends superclass {
|
@@ -12436,13 +12539,13 @@ const NotificationCardClass = compose(
|
|
12436
12539
|
}
|
12437
12540
|
`,
|
12438
12541
|
excludeAttrsSync: ['tabindex'],
|
12439
|
-
componentName: componentName$
|
12542
|
+
componentName: componentName$k,
|
12440
12543
|
})
|
12441
12544
|
);
|
12442
12545
|
|
12443
|
-
customElements.define(componentName$
|
12546
|
+
customElements.define(componentName$k, NotificationCardClass);
|
12444
12547
|
|
12445
|
-
const componentName$
|
12548
|
+
const componentName$j = getComponentName('notification');
|
12446
12549
|
|
12447
12550
|
const NotificationMixin = (superclass) =>
|
12448
12551
|
class NotificationMixinClass extends superclass {
|
@@ -12537,14 +12640,14 @@ const NotificationClass = compose(
|
|
12537
12640
|
createProxy({
|
12538
12641
|
wrappedEleName: 'vaadin-notification',
|
12539
12642
|
excludeAttrsSync: ['tabindex'],
|
12540
|
-
componentName: componentName$
|
12643
|
+
componentName: componentName$j,
|
12541
12644
|
})
|
12542
12645
|
);
|
12543
12646
|
|
12544
|
-
customElements.define(componentName$
|
12647
|
+
customElements.define(componentName$j, NotificationClass);
|
12545
12648
|
|
12546
|
-
const componentName$
|
12547
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
12649
|
+
const componentName$i = getComponentName('avatar');
|
12650
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > .wrapper' }) {
|
12548
12651
|
constructor() {
|
12549
12652
|
super();
|
12550
12653
|
|
@@ -12648,11 +12751,11 @@ const AvatarClass = compose(
|
|
12648
12751
|
componentNameValidationMixin
|
12649
12752
|
)(RawAvatar);
|
12650
12753
|
|
12651
|
-
customElements.define(componentName$
|
12754
|
+
customElements.define(componentName$i, AvatarClass);
|
12652
12755
|
|
12653
|
-
const componentName$
|
12756
|
+
const componentName$h = getComponentName('mappings-field-internal');
|
12654
12757
|
|
12655
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
12758
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$h, baseSelector: 'div' });
|
12656
12759
|
|
12657
12760
|
class MappingsFieldInternal extends BaseInputClass$2 {
|
12658
12761
|
#errorItem;
|
@@ -12887,7 +12990,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
|
|
12887
12990
|
}
|
12888
12991
|
}
|
12889
12992
|
|
12890
|
-
const componentName$
|
12993
|
+
const componentName$g = getComponentName('mappings-field');
|
12891
12994
|
|
12892
12995
|
const customMixin$4 = (superclass) =>
|
12893
12996
|
class MappingsFieldMixinClass extends superclass {
|
@@ -12916,14 +13019,14 @@ const customMixin$4 = (superclass) =>
|
|
12916
13019
|
const template = document.createElement('template');
|
12917
13020
|
|
12918
13021
|
template.innerHTML = `
|
12919
|
-
<${componentName$
|
13022
|
+
<${componentName$h}
|
12920
13023
|
tabindex="-1"
|
12921
|
-
></${componentName$
|
13024
|
+
></${componentName$h}>
|
12922
13025
|
`;
|
12923
13026
|
|
12924
13027
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
12925
13028
|
|
12926
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
13029
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$h);
|
12927
13030
|
|
12928
13031
|
forwardAttrs(this, this.inputElement, {
|
12929
13032
|
includeAttrs: [
|
@@ -13055,17 +13158,17 @@ const MappingsFieldClass = compose(
|
|
13055
13158
|
'options',
|
13056
13159
|
'error-message',
|
13057
13160
|
],
|
13058
|
-
componentName: componentName$
|
13161
|
+
componentName: componentName$g,
|
13059
13162
|
})
|
13060
13163
|
);
|
13061
13164
|
|
13062
|
-
customElements.define(componentName$
|
13165
|
+
customElements.define(componentName$h, MappingsFieldInternal);
|
13063
13166
|
|
13064
|
-
const componentName$
|
13167
|
+
const componentName$f = getComponentName('mapping-item');
|
13065
13168
|
|
13066
13169
|
const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
|
13067
13170
|
|
13068
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
13171
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$f, baseSelector: 'div' });
|
13069
13172
|
|
13070
13173
|
class MappingItem extends BaseInputClass$1 {
|
13071
13174
|
static get observedAttributes() {
|
@@ -13215,17 +13318,17 @@ class MappingItem extends BaseInputClass$1 {
|
|
13215
13318
|
}
|
13216
13319
|
}
|
13217
13320
|
|
13218
|
-
customElements.define(componentName$
|
13321
|
+
customElements.define(componentName$f, MappingItem);
|
13219
13322
|
|
13220
|
-
customElements.define(componentName$
|
13323
|
+
customElements.define(componentName$g, MappingsFieldClass);
|
13221
13324
|
|
13222
13325
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
13223
13326
|
|
13224
13327
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
13225
13328
|
|
13226
|
-
const componentName$
|
13329
|
+
const componentName$e = getComponentName('user-attribute');
|
13227
13330
|
class RawUserAttribute extends createBaseClass({
|
13228
|
-
componentName: componentName$
|
13331
|
+
componentName: componentName$e,
|
13229
13332
|
baseSelector: ':host > .root',
|
13230
13333
|
}) {
|
13231
13334
|
constructor() {
|
@@ -13459,13 +13562,13 @@ const UserAttributeClass = compose(
|
|
13459
13562
|
componentNameValidationMixin
|
13460
13563
|
)(RawUserAttribute);
|
13461
13564
|
|
13462
|
-
customElements.define(componentName$
|
13565
|
+
customElements.define(componentName$e, UserAttributeClass);
|
13463
13566
|
|
13464
13567
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
13465
13568
|
|
13466
|
-
const componentName$
|
13569
|
+
const componentName$d = getComponentName('user-auth-method');
|
13467
13570
|
class RawUserAuthMethod extends createBaseClass({
|
13468
|
-
componentName: componentName$
|
13571
|
+
componentName: componentName$d,
|
13469
13572
|
baseSelector: ':host > .root',
|
13470
13573
|
}) {
|
13471
13574
|
constructor() {
|
@@ -13658,11 +13761,11 @@ const UserAuthMethodClass = compose(
|
|
13658
13761
|
componentNameValidationMixin
|
13659
13762
|
)(RawUserAuthMethod);
|
13660
13763
|
|
13661
|
-
customElements.define(componentName$
|
13764
|
+
customElements.define(componentName$d, UserAuthMethodClass);
|
13662
13765
|
|
13663
|
-
const componentName$
|
13766
|
+
const componentName$c = getComponentName('saml-group-mappings-internal');
|
13664
13767
|
|
13665
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
13768
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$c, baseSelector: '' });
|
13666
13769
|
|
13667
13770
|
class SamlGroupMappingsInternal extends BaseInputClass {
|
13668
13771
|
static get observedAttributes() {
|
@@ -13788,7 +13891,7 @@ class SamlGroupMappingsInternal extends BaseInputClass {
|
|
13788
13891
|
}
|
13789
13892
|
}
|
13790
13893
|
|
13791
|
-
const componentName$
|
13894
|
+
const componentName$b = getComponentName('saml-group-mappings');
|
13792
13895
|
|
13793
13896
|
const customMixin$3 = (superclass) =>
|
13794
13897
|
class SamlGroupMappingsMixinClass extends superclass {
|
@@ -13798,14 +13901,14 @@ const customMixin$3 = (superclass) =>
|
|
13798
13901
|
const template = document.createElement('template');
|
13799
13902
|
|
13800
13903
|
template.innerHTML = `
|
13801
|
-
<${componentName$
|
13904
|
+
<${componentName$c}
|
13802
13905
|
tabindex="-1"
|
13803
|
-
></${componentName$
|
13906
|
+
></${componentName$c}>
|
13804
13907
|
`;
|
13805
13908
|
|
13806
13909
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
13807
13910
|
|
13808
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
13911
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$c);
|
13809
13912
|
|
13810
13913
|
forwardAttrs(this, this.inputElement, {
|
13811
13914
|
includeAttrs: [
|
@@ -13882,15 +13985,15 @@ const SamlGroupMappingsClass = compose(
|
|
13882
13985
|
'options',
|
13883
13986
|
'error-message',
|
13884
13987
|
],
|
13885
|
-
componentName: componentName$
|
13988
|
+
componentName: componentName$b,
|
13886
13989
|
})
|
13887
13990
|
);
|
13888
13991
|
|
13889
|
-
customElements.define(componentName$
|
13992
|
+
customElements.define(componentName$c, SamlGroupMappingsInternal);
|
13890
13993
|
|
13891
|
-
customElements.define(componentName$
|
13994
|
+
customElements.define(componentName$b, SamlGroupMappingsClass);
|
13892
13995
|
|
13893
|
-
const componentName$
|
13996
|
+
const componentName$a = getComponentName('radio-button');
|
13894
13997
|
|
13895
13998
|
const customMixin$2 = (superclass) =>
|
13896
13999
|
class CustomMixin extends superclass {
|
@@ -13955,11 +14058,11 @@ const RadioButtonClass = compose(
|
|
13955
14058
|
wrappedEleName: 'vaadin-radio-button',
|
13956
14059
|
excludeAttrsSync: ['tabindex', 'data'],
|
13957
14060
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
13958
|
-
componentName: componentName$
|
14061
|
+
componentName: componentName$a,
|
13959
14062
|
})
|
13960
14063
|
);
|
13961
14064
|
|
13962
|
-
const componentName$
|
14065
|
+
const componentName$9 = getComponentName('radio-group');
|
13963
14066
|
|
13964
14067
|
const RadioGroupMixin = (superclass) =>
|
13965
14068
|
class RadioGroupMixinClass extends superclass {
|
@@ -13974,12 +14077,12 @@ const RadioGroupMixin = (superclass) =>
|
|
13974
14077
|
|
13975
14078
|
// we are overriding vaadin children getter so it will run on our custom elements
|
13976
14079
|
Object.defineProperty(this.baseElement, 'children', {
|
13977
|
-
get: () => this.querySelectorAll(componentName$
|
14080
|
+
get: () => this.querySelectorAll(componentName$a),
|
13978
14081
|
});
|
13979
14082
|
|
13980
14083
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
13981
14084
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
13982
|
-
return nodes.filter((node) => node.localName === componentName$
|
14085
|
+
return nodes.filter((node) => node.localName === componentName$a);
|
13983
14086
|
};
|
13984
14087
|
|
13985
14088
|
// vaadin radio group missing some input properties
|
@@ -14129,13 +14232,13 @@ const RadioGroupClass = compose(
|
|
14129
14232
|
`,
|
14130
14233
|
|
14131
14234
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
14132
|
-
componentName: componentName$
|
14235
|
+
componentName: componentName$9,
|
14133
14236
|
includeForwardProps: ['value'],
|
14134
14237
|
})
|
14135
14238
|
);
|
14136
14239
|
|
14137
|
-
customElements.define(componentName$
|
14138
|
-
customElements.define(componentName$
|
14240
|
+
customElements.define(componentName$9, RadioGroupClass);
|
14241
|
+
customElements.define(componentName$a, RadioButtonClass);
|
14139
14242
|
|
14140
14243
|
const activeableMixin = (superclass) =>
|
14141
14244
|
class ActiveableMixinClass extends superclass {
|
@@ -14152,7 +14255,7 @@ const activeableMixin = (superclass) =>
|
|
14152
14255
|
}
|
14153
14256
|
};
|
14154
14257
|
|
14155
|
-
const componentName$
|
14258
|
+
const componentName$8 = getComponentName('list-item');
|
14156
14259
|
|
14157
14260
|
const customMixin$1 = (superclass) =>
|
14158
14261
|
class ListItemMixinClass extends superclass {
|
@@ -14201,11 +14304,11 @@ const ListItemClass = compose(
|
|
14201
14304
|
componentNameValidationMixin,
|
14202
14305
|
customMixin$1,
|
14203
14306
|
activeableMixin
|
14204
|
-
)(createBaseClass({ componentName: componentName$
|
14307
|
+
)(createBaseClass({ componentName: componentName$8, baseSelector: 'slot' }));
|
14205
14308
|
|
14206
|
-
const componentName$
|
14309
|
+
const componentName$7 = getComponentName('list');
|
14207
14310
|
|
14208
|
-
class RawList extends createBaseClass({ componentName: componentName$
|
14311
|
+
class RawList extends createBaseClass({ componentName: componentName$7, baseSelector: '.wrapper' }) {
|
14209
14312
|
static get observedAttributes() {
|
14210
14313
|
return ['variant', 'readonly'];
|
14211
14314
|
}
|
@@ -14352,8 +14455,8 @@ const ListClass = compose(
|
|
14352
14455
|
componentNameValidationMixin
|
14353
14456
|
)(RawList);
|
14354
14457
|
|
14355
|
-
customElements.define(componentName$
|
14356
|
-
customElements.define(componentName$
|
14458
|
+
customElements.define(componentName$7, ListClass);
|
14459
|
+
customElements.define(componentName$8, ListItemClass);
|
14357
14460
|
|
14358
14461
|
const defaultValidateSchema = () => true;
|
14359
14462
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
@@ -14454,7 +14557,7 @@ const createDynamicDataMixin =
|
|
14454
14557
|
}
|
14455
14558
|
};
|
14456
14559
|
|
14457
|
-
const componentName$
|
14560
|
+
const componentName$6 = getComponentName('apps-list');
|
14458
14561
|
|
14459
14562
|
const limitAbbreviation = (str, limit = 2) =>
|
14460
14563
|
str
|
@@ -14516,7 +14619,7 @@ const AppsListClass = compose(
|
|
14516
14619
|
slots: ['empty-state'],
|
14517
14620
|
wrappedEleName: 'descope-list',
|
14518
14621
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
14519
|
-
componentName: componentName$
|
14622
|
+
componentName: componentName$6,
|
14520
14623
|
style: () => `
|
14521
14624
|
:host {
|
14522
14625
|
width: 100%;
|
@@ -14541,9 +14644,9 @@ const AppsListClass = compose(
|
|
14541
14644
|
})
|
14542
14645
|
);
|
14543
14646
|
|
14544
|
-
customElements.define(componentName$
|
14647
|
+
customElements.define(componentName$6, AppsListClass);
|
14545
14648
|
|
14546
|
-
const componentName$
|
14649
|
+
const componentName$5 = getComponentName('scopes-list');
|
14547
14650
|
const variants = ['checkbox', 'switch'];
|
14548
14651
|
|
14549
14652
|
const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
@@ -14562,7 +14665,7 @@ const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
|
14562
14665
|
`;
|
14563
14666
|
};
|
14564
14667
|
|
14565
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
14668
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$5, baseSelector: 'div' }) {
|
14566
14669
|
constructor() {
|
14567
14670
|
super();
|
14568
14671
|
|
@@ -14667,13 +14770,13 @@ const ScopesListClass = compose(
|
|
14667
14770
|
componentNameValidationMixin
|
14668
14771
|
)(RawScopesList);
|
14669
14772
|
|
14670
|
-
customElements.define(componentName$
|
14773
|
+
customElements.define(componentName$5, ScopesListClass);
|
14671
14774
|
|
14672
14775
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
14673
14776
|
|
14674
|
-
const componentName$
|
14777
|
+
const componentName$4 = getComponentName('third-party-app-logo');
|
14675
14778
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
14676
|
-
componentName: componentName$
|
14779
|
+
componentName: componentName$4,
|
14677
14780
|
baseSelector: '.wrapper',
|
14678
14781
|
}) {
|
14679
14782
|
constructor() {
|
@@ -14767,9 +14870,9 @@ const ThirdPartyAppLogoClass = compose(
|
|
14767
14870
|
componentNameValidationMixin
|
14768
14871
|
)(RawThirdPartyAppLogoClass);
|
14769
14872
|
|
14770
|
-
customElements.define(componentName$
|
14873
|
+
customElements.define(componentName$4, ThirdPartyAppLogoClass);
|
14771
14874
|
|
14772
|
-
const componentName$
|
14875
|
+
const componentName$3 = getComponentName('security-questions-setup');
|
14773
14876
|
|
14774
14877
|
const attrsToSync$1 = [
|
14775
14878
|
'full-width',
|
@@ -14785,7 +14888,7 @@ const attrsToSync$1 = [
|
|
14785
14888
|
];
|
14786
14889
|
|
14787
14890
|
const attrsToReRender$1 = ['count', 'questions'];
|
14788
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
14891
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$3, baseSelector: 'div' }) {
|
14789
14892
|
constructor() {
|
14790
14893
|
super();
|
14791
14894
|
|
@@ -14892,7 +14995,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
14892
14995
|
return JSON.parse(this.getAttribute('questions')) || [];
|
14893
14996
|
} catch (e) {
|
14894
14997
|
// eslint-disable-next-line no-console
|
14895
|
-
console.error(componentName$
|
14998
|
+
console.error(componentName$3, 'Error parsing questions attribute', e);
|
14896
14999
|
return [];
|
14897
15000
|
}
|
14898
15001
|
}
|
@@ -15000,9 +15103,9 @@ const SecurityQuestionsSetupClass = compose(
|
|
15000
15103
|
componentNameValidationMixin
|
15001
15104
|
)(RawSecurityQuestionsSetup);
|
15002
15105
|
|
15003
|
-
customElements.define(componentName$
|
15106
|
+
customElements.define(componentName$3, SecurityQuestionsSetupClass);
|
15004
15107
|
|
15005
|
-
const componentName$
|
15108
|
+
const componentName$2 = getComponentName('security-questions-verify');
|
15006
15109
|
|
15007
15110
|
const textFieldsAttrs = [
|
15008
15111
|
'full-width',
|
@@ -15023,7 +15126,7 @@ const attrMappings = {
|
|
15023
15126
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
15024
15127
|
|
15025
15128
|
const attrsToReRender = ['questions'];
|
15026
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
15129
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$2, baseSelector: 'div' }) {
|
15027
15130
|
constructor() {
|
15028
15131
|
super();
|
15029
15132
|
|
@@ -15094,7 +15197,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
|
|
15094
15197
|
return JSON.parse(this.getAttribute('questions')) || [];
|
15095
15198
|
} catch (e) {
|
15096
15199
|
// eslint-disable-next-line no-console
|
15097
|
-
console.error(componentName$
|
15200
|
+
console.error(componentName$2, 'Error parsing questions attribute', e);
|
15098
15201
|
return [];
|
15099
15202
|
}
|
15100
15203
|
}
|
@@ -15204,7 +15307,299 @@ const SecurityQuestionsVerifyClass = compose(
|
|
15204
15307
|
componentNameValidationMixin
|
15205
15308
|
)(RawSecurityQuestionsVerify);
|
15206
15309
|
|
15207
|
-
customElements.define(componentName$
|
15310
|
+
customElements.define(componentName$2, SecurityQuestionsVerifyClass);
|
15311
|
+
|
15312
|
+
const NUMERIC_RE = /^\d+$/;
|
15313
|
+
|
15314
|
+
const isNumericValue = (val) => NUMERIC_RE.test(val.replaceAll('+', '').replaceAll('-', ''));
|
15315
|
+
|
15316
|
+
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
15317
|
+
|
15318
|
+
const componentName$1 = getComponentName('hybrid-field');
|
15319
|
+
|
15320
|
+
const attrs = {
|
15321
|
+
shared: [
|
15322
|
+
'label',
|
15323
|
+
'placeholder',
|
15324
|
+
'bordered',
|
15325
|
+
'full-width',
|
15326
|
+
'label-type',
|
15327
|
+
'size',
|
15328
|
+
'disabled',
|
15329
|
+
'readonly',
|
15330
|
+
'required',
|
15331
|
+
'st-host-direction',
|
15332
|
+
],
|
15333
|
+
email: [
|
15334
|
+
'data-errormessage-value-missing-email',
|
15335
|
+
'data-errormessage-pattern-mismatch-email',
|
15336
|
+
'external-input',
|
15337
|
+
],
|
15338
|
+
phone: {
|
15339
|
+
countryCode: [
|
15340
|
+
'country-input-label',
|
15341
|
+
'country-input-placeholder',
|
15342
|
+
'restrict-countries',
|
15343
|
+
'default-code',
|
15344
|
+
'phone-minlength',
|
15345
|
+
'data-errormessage-value-missing-phone',
|
15346
|
+
],
|
15347
|
+
inputBox: [
|
15348
|
+
'restrict-countries',
|
15349
|
+
'default-code',
|
15350
|
+
'phone-minlength',
|
15351
|
+
'data-errormessage-value-missing-phone',
|
15352
|
+
],
|
15353
|
+
},
|
15354
|
+
};
|
15355
|
+
|
15356
|
+
const attrMap = {
|
15357
|
+
email: {
|
15358
|
+
'data-errormessage-value-missing-email': 'data-errormessage-value-missing',
|
15359
|
+
'data-errormessage-pattern-mismatch-email': 'data-errormessage-pattern-mismatch',
|
15360
|
+
},
|
15361
|
+
phone: {
|
15362
|
+
placeholder: 'phone-input-placeholder',
|
15363
|
+
'phone-minlength': 'minlength',
|
15364
|
+
'data-errormessage-value-missing-phone': 'data-errormessage-value-missing',
|
15365
|
+
},
|
15366
|
+
};
|
15367
|
+
|
15368
|
+
const EMAIL_FIELD = 'descope-email-field';
|
15369
|
+
const PHONE_FIELD = 'descope-phone-field';
|
15370
|
+
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
15371
|
+
|
15372
|
+
const BaseClass = createBaseClass({
|
15373
|
+
componentName: componentName$1,
|
15374
|
+
baseSelector: 'div',
|
15375
|
+
});
|
15376
|
+
|
15377
|
+
class RawHybridField extends BaseClass {
|
15378
|
+
#isReportedValidity = false;
|
15379
|
+
|
15380
|
+
#selectionStart;
|
15381
|
+
|
15382
|
+
constructor() {
|
15383
|
+
super();
|
15384
|
+
|
15385
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
15386
|
+
<style>
|
15387
|
+
:host {
|
15388
|
+
display: inline-flex;
|
15389
|
+
box-sizing: border-box;
|
15390
|
+
padding: 0;
|
15391
|
+
gap: 0;
|
15392
|
+
}
|
15393
|
+
.wrapper {
|
15394
|
+
display: grid;
|
15395
|
+
place-content: center;
|
15396
|
+
}
|
15397
|
+
descope-email-field,
|
15398
|
+
descope-phone-field,
|
15399
|
+
descope-phone-input-box-field {
|
15400
|
+
grid-area: 1/1;
|
15401
|
+
width: 100%;
|
15402
|
+
height: 100%;
|
15403
|
+
}
|
15404
|
+
.hidden {
|
15405
|
+
visibility: hidden;
|
15406
|
+
}
|
15407
|
+
</style>
|
15408
|
+
<div class="wrapper">
|
15409
|
+
<descope-email-field external-input="${this.isExternalInput}"></descope-email-field>
|
15410
|
+
<descope-phone-field allow-alphanumeric-input="true"></descope-phone-field>
|
15411
|
+
<descope-phone-input-box-field allow-alphanumeric-input="true"></descope-phone-input-box-field>
|
15412
|
+
</div>
|
15413
|
+
`;
|
15414
|
+
}
|
15415
|
+
|
15416
|
+
get isExternalInput() {
|
15417
|
+
return this.getAttribute('external-input') === 'true';
|
15418
|
+
}
|
15419
|
+
|
15420
|
+
get emailInputEle() {
|
15421
|
+
return this.isExternalInput ? this.emailInput.externalInput : this.emailInput.inputElement;
|
15422
|
+
}
|
15423
|
+
|
15424
|
+
get phoneVariant() {
|
15425
|
+
const isInputBox = this.getAttribute('phone-variant') === 'inputBox';
|
15426
|
+
return isInputBox ? this.phoneInputBoxInput : this.phoneCountryCodeInput;
|
15427
|
+
}
|
15428
|
+
|
15429
|
+
get defaultCode() {
|
15430
|
+
const firstItem = this.phoneCountryCodeInput.countryCodes?.[0] || '';
|
15431
|
+
return this.getAttribute('default-code') || firstItem;
|
15432
|
+
}
|
15433
|
+
|
15434
|
+
get activeInputEle() {
|
15435
|
+
if (this.activeInput === this.emailInput) {
|
15436
|
+
return this.emailInputEle;
|
15437
|
+
}
|
15438
|
+
return this.phoneVariant.phoneNumberInputEle;
|
15439
|
+
}
|
15440
|
+
|
15441
|
+
get value() {
|
15442
|
+
return this.activeInput?.value || '';
|
15443
|
+
}
|
15444
|
+
|
15445
|
+
set value(val) {
|
15446
|
+
this.handleActiveInput(val);
|
15447
|
+
this.activeInput.value = val;
|
15448
|
+
}
|
15449
|
+
|
15450
|
+
init() {
|
15451
|
+
super.init?.();
|
15452
|
+
this.initInputs();
|
15453
|
+
this.updateAttrs();
|
15454
|
+
this.toggleInputVisibility();
|
15455
|
+
}
|
15456
|
+
|
15457
|
+
initInputs() {
|
15458
|
+
this.emailInput = this.shadowRoot.querySelector(EMAIL_FIELD);
|
15459
|
+
this.phoneCountryCodeInput = this.shadowRoot.querySelector(PHONE_FIELD);
|
15460
|
+
this.phoneInputBoxInput = this.shadowRoot.querySelector(PHONE_INPUT_BOX_FIELD);
|
15461
|
+
|
15462
|
+
this.inputs = [this.emailInput, this.phoneCountryCodeInput, this.phoneInputBoxInput];
|
15463
|
+
|
15464
|
+
this.activeInput = this.emailInput;
|
15465
|
+
|
15466
|
+
this.initInputEles();
|
15467
|
+
this.overrideEmailInputType();
|
15468
|
+
|
15469
|
+
// We want to prevent Vaadin from changing the input type to `email`
|
15470
|
+
// otherwise, we cannot get the selectionStart from the input.
|
15471
|
+
const origEmailSetAttr = this.emailInput.setAttribute.bind(this.emailInputEle);
|
15472
|
+
this.emailInputEle.setAttribute = (name, value) => {
|
15473
|
+
if (name !== 'type' || value !== 'email' || !this.emailInput.hasAttribute('focused')) {
|
15474
|
+
return origEmailSetAttr(name, value);
|
15475
|
+
}
|
15476
|
+
return false;
|
15477
|
+
};
|
15478
|
+
}
|
15479
|
+
|
15480
|
+
// we need to listen on the inner `input` element itself, otherwise we don't always get an `input` event
|
15481
|
+
initInputEles() {
|
15482
|
+
const inputEles = [
|
15483
|
+
this.emailInputEle,
|
15484
|
+
this.phoneCountryCodeInput.phoneNumberInputEle,
|
15485
|
+
this.phoneInputBoxInput.phoneNumberInputEle,
|
15486
|
+
];
|
15487
|
+
|
15488
|
+
inputEles.forEach((ele) => {
|
15489
|
+
ele?.addEventListener('input', this.onValueChange.bind(this));
|
15490
|
+
});
|
15491
|
+
}
|
15492
|
+
|
15493
|
+
overrideEmailInputType() {
|
15494
|
+
this.emailInputEle.addEventListener('focus', () => {
|
15495
|
+
this.emailInputEle.setAttribute('type', 'text');
|
15496
|
+
});
|
15497
|
+
this.emailInputEle.addEventListener('blur', () => {
|
15498
|
+
setTimeout(() => {
|
15499
|
+
this.emailInputEle?.setAttribute('type', 'email');
|
15500
|
+
});
|
15501
|
+
});
|
15502
|
+
}
|
15503
|
+
|
15504
|
+
updateAttrs() {
|
15505
|
+
this.inputs.forEach((input) => forwardAttrs(this, input, { includeAttrs: attrs.shared }));
|
15506
|
+
|
15507
|
+
forwardAttrs(this, this.emailInput, { includeAttrs: attrs.email, mapAttrs: attrMap.email });
|
15508
|
+
|
15509
|
+
forwardAttrs(this, this.phoneCountryCodeInput, {
|
15510
|
+
includeAttrs: attrs.phone.countryCode,
|
15511
|
+
mapAttrs: attrMap.phone,
|
15512
|
+
});
|
15513
|
+
|
15514
|
+
forwardAttrs(this, this.phoneInputBoxInput, {
|
15515
|
+
includeAttrs: attrs.phone.inputBox,
|
15516
|
+
mapAttrs: attrMap.phone,
|
15517
|
+
});
|
15518
|
+
|
15519
|
+
setTimeout(() => this.phoneCountryCodeInput.setAttribute('default-code', this.defaultCode));
|
15520
|
+
}
|
15521
|
+
|
15522
|
+
onValueChange() {
|
15523
|
+
this.#selectionStart = this.activeInputEle.selectionStart;
|
15524
|
+
this.handleActiveInput(this.activeInput.value);
|
15525
|
+
}
|
15526
|
+
|
15527
|
+
handleActiveInput(val) {
|
15528
|
+
const expectedActiveInput = isNumericValue(val) ? this.phoneVariant : this.emailInput;
|
15529
|
+
|
15530
|
+
if (this.activeInput !== expectedActiveInput) {
|
15531
|
+
this.setActiveInput(expectedActiveInput);
|
15532
|
+
}
|
15533
|
+
}
|
15534
|
+
|
15535
|
+
setActiveInput(expectedActiveInput) {
|
15536
|
+
const val = this.activeInput.value;
|
15537
|
+
this.activeInput = expectedActiveInput;
|
15538
|
+
this.setActiveInputValue(val);
|
15539
|
+
if (this.#isReportedValidity) this.activeInput.reportValidity();
|
15540
|
+
this.setActiveInputSelectionStart();
|
15541
|
+
this.toggleInputVisibility();
|
15542
|
+
}
|
15543
|
+
|
15544
|
+
setActiveInputSelectionStart() {
|
15545
|
+
setTimeout(() => {
|
15546
|
+
this.activeInputEle.focus();
|
15547
|
+
this.activeInputEle.setSelectionRange?.(this.#selectionStart, this.#selectionStart);
|
15548
|
+
});
|
15549
|
+
}
|
15550
|
+
|
15551
|
+
setActiveInputValue(val) {
|
15552
|
+
const sanitizedVal = sanitizeCountryCodePrefix(val);
|
15553
|
+
const isPhoneField = this.activeInput.localName === PHONE_FIELD;
|
15554
|
+
const value = isPhoneField
|
15555
|
+
? `${this.phoneCountryCodeInput.countryCodeItems}-${sanitizedVal}`
|
15556
|
+
: sanitizedVal;
|
15557
|
+
this.activeInput.value = value;
|
15558
|
+
}
|
15559
|
+
|
15560
|
+
toggleInputVisibility() {
|
15561
|
+
this.inputs.forEach((input) => {
|
15562
|
+
input !== this.activeInput ? input.classList.add('hidden') : input.classList.remove('hidden');
|
15563
|
+
});
|
15564
|
+
}
|
15565
|
+
|
15566
|
+
reportValidity() {
|
15567
|
+
this.#isReportedValidity = true;
|
15568
|
+
|
15569
|
+
const ele = this.activeInputEle;
|
15570
|
+
|
15571
|
+
// On reportValidity we want to set the caret at the end of the input value.
|
15572
|
+
// Since checkValidity triggers `focus` on the input, it sets the caret at the start of the input,
|
15573
|
+
// regardless the existing value.
|
15574
|
+
setTimeout(() => {
|
15575
|
+
ele.setSelectionRange?.(ele.value.length, ele.value.length);
|
15576
|
+
});
|
15577
|
+
|
15578
|
+
return this.activeInput.reportValidity();
|
15579
|
+
}
|
15580
|
+
|
15581
|
+
checkValidity() {
|
15582
|
+
return this.activeInput.checkValidity();
|
15583
|
+
}
|
15584
|
+
}
|
15585
|
+
|
15586
|
+
const HybridFieldClass = compose(
|
15587
|
+
createStyleMixin({ componentNameOverride: getComponentName('input-wrapper') }),
|
15588
|
+
createStyleMixin({
|
15589
|
+
mappings: {
|
15590
|
+
hostWidth: { selector: () => ':host', property: 'width' },
|
15591
|
+
hostDirection: [
|
15592
|
+
{ selector: () => 'descope-email-field', property: 'direction' },
|
15593
|
+
{ selector: () => 'descope-phone-field', property: 'direction' },
|
15594
|
+
{ selector: () => 'descope-phone-input-box-field', property: 'direction' },
|
15595
|
+
],
|
15596
|
+
},
|
15597
|
+
}),
|
15598
|
+
draggableMixin,
|
15599
|
+
componentNameValidationMixin
|
15600
|
+
)(RawHybridField);
|
15601
|
+
|
15602
|
+
customElements.define(componentName$1, HybridFieldClass);
|
15208
15603
|
|
15209
15604
|
const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
|
15210
15605
|
|
@@ -15643,7 +16038,7 @@ const globals = {
|
|
15643
16038
|
fonts,
|
15644
16039
|
direction,
|
15645
16040
|
};
|
15646
|
-
const vars$
|
16041
|
+
const vars$T = getThemeVars(globals);
|
15647
16042
|
|
15648
16043
|
const globalRefs$y = getThemeRefs(globals);
|
15649
16044
|
const compVars$6 = ButtonClass.cssVarList;
|
@@ -15656,7 +16051,7 @@ const mode = {
|
|
15656
16051
|
surface: globalRefs$y.colors.surface,
|
15657
16052
|
};
|
15658
16053
|
|
15659
|
-
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$
|
16054
|
+
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$14);
|
15660
16055
|
|
15661
16056
|
const button = {
|
15662
16057
|
...helperTheme$4,
|
@@ -15768,7 +16163,7 @@ const button = {
|
|
15768
16163
|
},
|
15769
16164
|
};
|
15770
16165
|
|
15771
|
-
const vars$
|
16166
|
+
const vars$S = {
|
15772
16167
|
...compVars$6,
|
15773
16168
|
...helperVars$4,
|
15774
16169
|
};
|
@@ -15776,13 +16171,13 @@ const vars$R = {
|
|
15776
16171
|
var button$1 = /*#__PURE__*/Object.freeze({
|
15777
16172
|
__proto__: null,
|
15778
16173
|
default: button,
|
15779
|
-
vars: vars$
|
16174
|
+
vars: vars$S
|
15780
16175
|
});
|
15781
16176
|
|
15782
16177
|
const componentName = getComponentName('input-wrapper');
|
15783
16178
|
const globalRefs$x = getThemeRefs(globals);
|
15784
16179
|
|
15785
|
-
const [theme$1, refs, vars$
|
16180
|
+
const [theme$1, refs, vars$R] = createHelperVars(
|
15786
16181
|
{
|
15787
16182
|
labelTextColor: globalRefs$x.colors.surface.dark,
|
15788
16183
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
@@ -15901,13 +16296,69 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
15901
16296
|
__proto__: null,
|
15902
16297
|
default: theme$1,
|
15903
16298
|
refs: refs,
|
15904
|
-
vars: vars$
|
16299
|
+
vars: vars$R
|
15905
16300
|
});
|
15906
16301
|
|
15907
16302
|
const globalRefs$w = getThemeRefs(globals);
|
15908
|
-
const vars$
|
16303
|
+
const vars$Q = TextFieldClass.cssVarList;
|
15909
16304
|
|
15910
16305
|
const textField = {
|
16306
|
+
[vars$Q.hostWidth]: refs.width,
|
16307
|
+
[vars$Q.hostMinWidth]: refs.minWidth,
|
16308
|
+
[vars$Q.hostDirection]: refs.direction,
|
16309
|
+
[vars$Q.fontSize]: refs.fontSize,
|
16310
|
+
[vars$Q.fontFamily]: refs.fontFamily,
|
16311
|
+
[vars$Q.labelFontSize]: refs.labelFontSize,
|
16312
|
+
[vars$Q.labelFontWeight]: refs.labelFontWeight,
|
16313
|
+
[vars$Q.labelTextColor]: refs.labelTextColor,
|
16314
|
+
[vars$Q.labelRequiredIndicator]: refs.requiredIndicator,
|
16315
|
+
[vars$Q.errorMessageTextColor]: refs.errorMessageTextColor,
|
16316
|
+
[vars$Q.inputValueTextColor]: refs.valueTextColor,
|
16317
|
+
[vars$Q.inputPlaceholderColor]: refs.placeholderTextColor,
|
16318
|
+
[vars$Q.inputBorderWidth]: refs.borderWidth,
|
16319
|
+
[vars$Q.inputBorderStyle]: refs.borderStyle,
|
16320
|
+
[vars$Q.inputBorderColor]: refs.borderColor,
|
16321
|
+
[vars$Q.inputBorderRadius]: refs.borderRadius,
|
16322
|
+
[vars$Q.inputOutlineWidth]: refs.outlineWidth,
|
16323
|
+
[vars$Q.inputOutlineStyle]: refs.outlineStyle,
|
16324
|
+
[vars$Q.inputOutlineColor]: refs.outlineColor,
|
16325
|
+
[vars$Q.inputOutlineOffset]: refs.outlineOffset,
|
16326
|
+
[vars$Q.inputBackgroundColor]: refs.backgroundColor,
|
16327
|
+
[vars$Q.inputHeight]: refs.inputHeight,
|
16328
|
+
[vars$Q.inputHorizontalPadding]: refs.horizontalPadding,
|
16329
|
+
[vars$Q.helperTextColor]: refs.helperTextColor,
|
16330
|
+
[vars$Q.textAlign]: refs.textAlign,
|
16331
|
+
textAlign: {
|
16332
|
+
right: { [vars$Q.inputTextAlign]: 'right' },
|
16333
|
+
left: { [vars$Q.inputTextAlign]: 'left' },
|
16334
|
+
center: { [vars$Q.inputTextAlign]: 'center' },
|
16335
|
+
},
|
16336
|
+
[vars$Q.labelPosition]: refs.labelPosition,
|
16337
|
+
[vars$Q.labelTopPosition]: refs.labelTopPosition,
|
16338
|
+
[vars$Q.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16339
|
+
[vars$Q.inputTransformY]: refs.inputTransformY,
|
16340
|
+
[vars$Q.inputTransition]: refs.inputTransition,
|
16341
|
+
[vars$Q.marginInlineStart]: refs.marginInlineStart,
|
16342
|
+
[vars$Q.placeholderOpacity]: refs.placeholderOpacity,
|
16343
|
+
[vars$Q.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
16344
|
+
[vars$Q.valueInputHeight]: refs.valueInputHeight,
|
16345
|
+
[vars$Q.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16346
|
+
[vars$Q.inputIconOffset]: globalRefs$w.spacing.md,
|
16347
|
+
[vars$Q.inputIconSize]: refs.inputIconSize,
|
16348
|
+
[vars$Q.inputIconColor]: refs.placeholderTextColor,
|
16349
|
+
};
|
16350
|
+
|
16351
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
16352
|
+
__proto__: null,
|
16353
|
+
default: textField,
|
16354
|
+
textField: textField,
|
16355
|
+
vars: vars$Q
|
16356
|
+
});
|
16357
|
+
|
16358
|
+
const globalRefs$v = getThemeRefs(globals);
|
16359
|
+
const vars$P = PasswordClass.cssVarList;
|
16360
|
+
|
16361
|
+
const password = {
|
15911
16362
|
[vars$P.hostWidth]: refs.width,
|
15912
16363
|
[vars$P.hostMinWidth]: refs.minWidth,
|
15913
16364
|
[vars$P.hostDirection]: refs.direction,
|
@@ -15916,10 +16367,13 @@ const textField = {
|
|
15916
16367
|
[vars$P.labelFontSize]: refs.labelFontSize,
|
15917
16368
|
[vars$P.labelFontWeight]: refs.labelFontWeight,
|
15918
16369
|
[vars$P.labelTextColor]: refs.labelTextColor,
|
15919
|
-
[vars$P.labelRequiredIndicator]: refs.requiredIndicator,
|
15920
16370
|
[vars$P.errorMessageTextColor]: refs.errorMessageTextColor,
|
16371
|
+
[vars$P.inputHorizontalPadding]: refs.horizontalPadding,
|
16372
|
+
[vars$P.inputHeight]: refs.inputHeight,
|
16373
|
+
[vars$P.inputBackgroundColor]: refs.backgroundColor,
|
16374
|
+
[vars$P.labelRequiredIndicator]: refs.requiredIndicator,
|
15921
16375
|
[vars$P.inputValueTextColor]: refs.valueTextColor,
|
15922
|
-
[vars$P.
|
16376
|
+
[vars$P.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
15923
16377
|
[vars$P.inputBorderWidth]: refs.borderWidth,
|
15924
16378
|
[vars$P.inputBorderStyle]: refs.borderStyle,
|
15925
16379
|
[vars$P.inputBorderColor]: refs.borderColor,
|
@@ -15928,16 +16382,9 @@ const textField = {
|
|
15928
16382
|
[vars$P.inputOutlineStyle]: refs.outlineStyle,
|
15929
16383
|
[vars$P.inputOutlineColor]: refs.outlineColor,
|
15930
16384
|
[vars$P.inputOutlineOffset]: refs.outlineOffset,
|
15931
|
-
[vars$P.
|
15932
|
-
[vars$P.
|
15933
|
-
[vars$P.
|
15934
|
-
[vars$P.helperTextColor]: refs.helperTextColor,
|
15935
|
-
[vars$P.textAlign]: refs.textAlign,
|
15936
|
-
textAlign: {
|
15937
|
-
right: { [vars$P.inputTextAlign]: 'right' },
|
15938
|
-
left: { [vars$P.inputTextAlign]: 'left' },
|
15939
|
-
center: { [vars$P.inputTextAlign]: 'center' },
|
15940
|
-
},
|
16385
|
+
[vars$P.revealButtonOffset]: globalRefs$v.spacing.md,
|
16386
|
+
[vars$P.revealButtonSize]: refs.toggleButtonSize,
|
16387
|
+
[vars$P.revealButtonColor]: refs.placeholderTextColor,
|
15941
16388
|
[vars$P.labelPosition]: refs.labelPosition,
|
15942
16389
|
[vars$P.labelTopPosition]: refs.labelTopPosition,
|
15943
16390
|
[vars$P.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
@@ -15947,23 +16394,17 @@ const textField = {
|
|
15947
16394
|
[vars$P.placeholderOpacity]: refs.placeholderOpacity,
|
15948
16395
|
[vars$P.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
15949
16396
|
[vars$P.valueInputHeight]: refs.valueInputHeight,
|
15950
|
-
[vars$P.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15951
|
-
[vars$P.inputIconOffset]: globalRefs$w.spacing.md,
|
15952
|
-
[vars$P.inputIconSize]: refs.inputIconSize,
|
15953
|
-
[vars$P.inputIconColor]: refs.placeholderTextColor,
|
15954
16397
|
};
|
15955
16398
|
|
15956
|
-
var
|
16399
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
15957
16400
|
__proto__: null,
|
15958
|
-
default:
|
15959
|
-
textField: textField,
|
16401
|
+
default: password,
|
15960
16402
|
vars: vars$P
|
15961
16403
|
});
|
15962
16404
|
|
15963
|
-
const
|
15964
|
-
const vars$O = PasswordClass.cssVarList;
|
16405
|
+
const vars$O = NumberFieldClass.cssVarList;
|
15965
16406
|
|
15966
|
-
const
|
16407
|
+
const numberField = {
|
15967
16408
|
[vars$O.hostWidth]: refs.width,
|
15968
16409
|
[vars$O.hostMinWidth]: refs.minWidth,
|
15969
16410
|
[vars$O.hostDirection]: refs.direction,
|
@@ -15973,12 +16414,8 @@ const password = {
|
|
15973
16414
|
[vars$O.labelFontWeight]: refs.labelFontWeight,
|
15974
16415
|
[vars$O.labelTextColor]: refs.labelTextColor,
|
15975
16416
|
[vars$O.errorMessageTextColor]: refs.errorMessageTextColor,
|
15976
|
-
[vars$O.inputHorizontalPadding]: refs.horizontalPadding,
|
15977
|
-
[vars$O.inputHeight]: refs.inputHeight,
|
15978
|
-
[vars$O.inputBackgroundColor]: refs.backgroundColor,
|
15979
|
-
[vars$O.labelRequiredIndicator]: refs.requiredIndicator,
|
15980
16417
|
[vars$O.inputValueTextColor]: refs.valueTextColor,
|
15981
|
-
[vars$O.
|
16418
|
+
[vars$O.inputPlaceholderColor]: refs.placeholderTextColor,
|
15982
16419
|
[vars$O.inputBorderWidth]: refs.borderWidth,
|
15983
16420
|
[vars$O.inputBorderStyle]: refs.borderStyle,
|
15984
16421
|
[vars$O.inputBorderColor]: refs.borderColor,
|
@@ -15987,9 +16424,10 @@ const password = {
|
|
15987
16424
|
[vars$O.inputOutlineStyle]: refs.outlineStyle,
|
15988
16425
|
[vars$O.inputOutlineColor]: refs.outlineColor,
|
15989
16426
|
[vars$O.inputOutlineOffset]: refs.outlineOffset,
|
15990
|
-
[vars$O.
|
15991
|
-
[vars$O.
|
15992
|
-
[vars$O.
|
16427
|
+
[vars$O.inputBackgroundColor]: refs.backgroundColor,
|
16428
|
+
[vars$O.labelRequiredIndicator]: refs.requiredIndicator,
|
16429
|
+
[vars$O.inputHorizontalPadding]: refs.horizontalPadding,
|
16430
|
+
[vars$O.inputHeight]: refs.inputHeight,
|
15993
16431
|
[vars$O.labelPosition]: refs.labelPosition,
|
15994
16432
|
[vars$O.labelTopPosition]: refs.labelTopPosition,
|
15995
16433
|
[vars$O.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
@@ -15999,17 +16437,18 @@ const password = {
|
|
15999
16437
|
[vars$O.placeholderOpacity]: refs.placeholderOpacity,
|
16000
16438
|
[vars$O.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
16001
16439
|
[vars$O.valueInputHeight]: refs.valueInputHeight,
|
16440
|
+
[vars$O.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16002
16441
|
};
|
16003
16442
|
|
16004
|
-
var
|
16443
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
16005
16444
|
__proto__: null,
|
16006
|
-
default:
|
16445
|
+
default: numberField,
|
16007
16446
|
vars: vars$O
|
16008
16447
|
});
|
16009
16448
|
|
16010
|
-
const vars$N =
|
16449
|
+
const vars$N = EmailFieldClass.cssVarList;
|
16011
16450
|
|
16012
|
-
const
|
16451
|
+
const emailField = {
|
16013
16452
|
[vars$N.hostWidth]: refs.width,
|
16014
16453
|
[vars$N.hostMinWidth]: refs.minWidth,
|
16015
16454
|
[vars$N.hostDirection]: refs.direction,
|
@@ -16020,6 +16459,7 @@ const numberField = {
|
|
16020
16459
|
[vars$N.labelTextColor]: refs.labelTextColor,
|
16021
16460
|
[vars$N.errorMessageTextColor]: refs.errorMessageTextColor,
|
16022
16461
|
[vars$N.inputValueTextColor]: refs.valueTextColor,
|
16462
|
+
[vars$N.labelRequiredIndicator]: refs.requiredIndicator,
|
16023
16463
|
[vars$N.inputPlaceholderColor]: refs.placeholderTextColor,
|
16024
16464
|
[vars$N.inputBorderWidth]: refs.borderWidth,
|
16025
16465
|
[vars$N.inputBorderStyle]: refs.borderStyle,
|
@@ -16030,7 +16470,6 @@ const numberField = {
|
|
16030
16470
|
[vars$N.inputOutlineColor]: refs.outlineColor,
|
16031
16471
|
[vars$N.inputOutlineOffset]: refs.outlineOffset,
|
16032
16472
|
[vars$N.inputBackgroundColor]: refs.backgroundColor,
|
16033
|
-
[vars$N.labelRequiredIndicator]: refs.requiredIndicator,
|
16034
16473
|
[vars$N.inputHorizontalPadding]: refs.horizontalPadding,
|
16035
16474
|
[vars$N.inputHeight]: refs.inputHeight,
|
16036
16475
|
[vars$N.labelPosition]: refs.labelPosition,
|
@@ -16045,197 +16484,153 @@ const numberField = {
|
|
16045
16484
|
[vars$N.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16046
16485
|
};
|
16047
16486
|
|
16048
|
-
var
|
16487
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
16049
16488
|
__proto__: null,
|
16050
|
-
default:
|
16489
|
+
default: emailField,
|
16051
16490
|
vars: vars$N
|
16052
16491
|
});
|
16053
16492
|
|
16054
|
-
const vars$M =
|
16493
|
+
const vars$M = TextAreaClass.cssVarList;
|
16055
16494
|
|
16056
|
-
const
|
16495
|
+
const textArea = {
|
16057
16496
|
[vars$M.hostWidth]: refs.width,
|
16058
16497
|
[vars$M.hostMinWidth]: refs.minWidth,
|
16059
16498
|
[vars$M.hostDirection]: refs.direction,
|
16060
16499
|
[vars$M.fontSize]: refs.fontSize,
|
16061
16500
|
[vars$M.fontFamily]: refs.fontFamily,
|
16062
|
-
[vars$M.labelFontSize]: refs.labelFontSize,
|
16063
|
-
[vars$M.labelFontWeight]: refs.labelFontWeight,
|
16064
16501
|
[vars$M.labelTextColor]: refs.labelTextColor,
|
16502
|
+
[vars$M.labelRequiredIndicator]: refs.requiredIndicator,
|
16065
16503
|
[vars$M.errorMessageTextColor]: refs.errorMessageTextColor,
|
16504
|
+
[vars$M.inputBackgroundColor]: refs.backgroundColor,
|
16066
16505
|
[vars$M.inputValueTextColor]: refs.valueTextColor,
|
16067
|
-
[vars$M.
|
16068
|
-
[vars$M.
|
16506
|
+
[vars$M.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
16507
|
+
[vars$M.inputBorderRadius]: refs.borderRadius,
|
16069
16508
|
[vars$M.inputBorderWidth]: refs.borderWidth,
|
16070
16509
|
[vars$M.inputBorderStyle]: refs.borderStyle,
|
16071
16510
|
[vars$M.inputBorderColor]: refs.borderColor,
|
16072
|
-
[vars$M.inputBorderRadius]: refs.borderRadius,
|
16073
16511
|
[vars$M.inputOutlineWidth]: refs.outlineWidth,
|
16074
16512
|
[vars$M.inputOutlineStyle]: refs.outlineStyle,
|
16075
16513
|
[vars$M.inputOutlineColor]: refs.outlineColor,
|
16076
16514
|
[vars$M.inputOutlineOffset]: refs.outlineOffset,
|
16077
|
-
[vars$M.
|
16078
|
-
[vars$M.
|
16079
|
-
|
16080
|
-
|
16081
|
-
|
16082
|
-
|
16083
|
-
|
16084
|
-
|
16085
|
-
|
16086
|
-
|
16087
|
-
|
16088
|
-
[vars$M.valueInputHeight]: refs.valueInputHeight,
|
16089
|
-
[vars$M.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16515
|
+
[vars$M.inputResizeType]: 'vertical',
|
16516
|
+
[vars$M.inputMinHeight]: '5em',
|
16517
|
+
textAlign: {
|
16518
|
+
right: { [vars$M.inputTextAlign]: 'right' },
|
16519
|
+
left: { [vars$M.inputTextAlign]: 'left' },
|
16520
|
+
center: { [vars$M.inputTextAlign]: 'center' },
|
16521
|
+
},
|
16522
|
+
|
16523
|
+
_readonly: {
|
16524
|
+
[vars$M.inputResizeType]: 'none',
|
16525
|
+
},
|
16090
16526
|
};
|
16091
16527
|
|
16092
|
-
var
|
16528
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
16093
16529
|
__proto__: null,
|
16094
|
-
default:
|
16530
|
+
default: textArea,
|
16095
16531
|
vars: vars$M
|
16096
16532
|
});
|
16097
16533
|
|
16098
|
-
const vars$L =
|
16534
|
+
const vars$L = CheckboxClass.cssVarList;
|
16535
|
+
const checkboxSize = '1.35em';
|
16099
16536
|
|
16100
|
-
const
|
16537
|
+
const checkbox = {
|
16101
16538
|
[vars$L.hostWidth]: refs.width,
|
16102
|
-
[vars$L.hostMinWidth]: refs.minWidth,
|
16103
16539
|
[vars$L.hostDirection]: refs.direction,
|
16104
16540
|
[vars$L.fontSize]: refs.fontSize,
|
16105
16541
|
[vars$L.fontFamily]: refs.fontFamily,
|
16106
16542
|
[vars$L.labelTextColor]: refs.labelTextColor,
|
16107
16543
|
[vars$L.labelRequiredIndicator]: refs.requiredIndicator,
|
16544
|
+
[vars$L.labelFontWeight]: '400',
|
16545
|
+
[vars$L.labelLineHeight]: checkboxSize,
|
16546
|
+
[vars$L.labelSpacing]: '1em',
|
16108
16547
|
[vars$L.errorMessageTextColor]: refs.errorMessageTextColor,
|
16109
|
-
[vars$L.
|
16110
|
-
[vars$L.
|
16111
|
-
[vars$L.
|
16548
|
+
[vars$L.inputOutlineWidth]: refs.outlineWidth,
|
16549
|
+
[vars$L.inputOutlineOffset]: refs.outlineOffset,
|
16550
|
+
[vars$L.inputOutlineColor]: refs.outlineColor,
|
16551
|
+
[vars$L.inputOutlineStyle]: refs.outlineStyle,
|
16112
16552
|
[vars$L.inputBorderRadius]: refs.borderRadius,
|
16553
|
+
[vars$L.inputBorderColor]: refs.borderColor,
|
16113
16554
|
[vars$L.inputBorderWidth]: refs.borderWidth,
|
16114
16555
|
[vars$L.inputBorderStyle]: refs.borderStyle,
|
16115
|
-
[vars$L.
|
16116
|
-
[vars$L.
|
16117
|
-
[vars$L.
|
16118
|
-
[vars$L.inputOutlineColor]: refs.outlineColor,
|
16119
|
-
[vars$L.inputOutlineOffset]: refs.outlineOffset,
|
16120
|
-
[vars$L.inputResizeType]: 'vertical',
|
16121
|
-
[vars$L.inputMinHeight]: '5em',
|
16122
|
-
textAlign: {
|
16123
|
-
right: { [vars$L.inputTextAlign]: 'right' },
|
16124
|
-
left: { [vars$L.inputTextAlign]: 'left' },
|
16125
|
-
center: { [vars$L.inputTextAlign]: 'center' },
|
16126
|
-
},
|
16127
|
-
|
16128
|
-
_readonly: {
|
16129
|
-
[vars$L.inputResizeType]: 'none',
|
16130
|
-
},
|
16556
|
+
[vars$L.inputBackgroundColor]: refs.backgroundColor,
|
16557
|
+
[vars$L.inputSize]: checkboxSize,
|
16558
|
+
[vars$L.inputValueTextColor]: refs.valueTextColor,
|
16131
16559
|
};
|
16132
16560
|
|
16133
|
-
var
|
16561
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
16134
16562
|
__proto__: null,
|
16135
|
-
default:
|
16563
|
+
default: checkbox,
|
16136
16564
|
vars: vars$L
|
16137
16565
|
});
|
16138
16566
|
|
16139
|
-
const
|
16140
|
-
const
|
16567
|
+
const knobMargin = '2px';
|
16568
|
+
const checkboxHeight = '1.25em';
|
16141
16569
|
|
16142
|
-
const
|
16570
|
+
const globalRefs$u = getThemeRefs(globals);
|
16571
|
+
const vars$K = SwitchToggleClass.cssVarList;
|
16572
|
+
|
16573
|
+
const switchToggle = {
|
16143
16574
|
[vars$K.hostWidth]: refs.width,
|
16144
16575
|
[vars$K.hostDirection]: refs.direction,
|
16145
16576
|
[vars$K.fontSize]: refs.fontSize,
|
16146
16577
|
[vars$K.fontFamily]: refs.fontFamily,
|
16147
|
-
|
16148
|
-
[vars$K.labelRequiredIndicator]: refs.requiredIndicator,
|
16149
|
-
[vars$K.labelFontWeight]: '400',
|
16150
|
-
[vars$K.labelLineHeight]: checkboxSize,
|
16151
|
-
[vars$K.labelSpacing]: '1em',
|
16152
|
-
[vars$K.errorMessageTextColor]: refs.errorMessageTextColor,
|
16578
|
+
|
16153
16579
|
[vars$K.inputOutlineWidth]: refs.outlineWidth,
|
16154
16580
|
[vars$K.inputOutlineOffset]: refs.outlineOffset,
|
16155
16581
|
[vars$K.inputOutlineColor]: refs.outlineColor,
|
16156
16582
|
[vars$K.inputOutlineStyle]: refs.outlineStyle,
|
16157
|
-
[vars$K.inputBorderRadius]: refs.borderRadius,
|
16158
|
-
[vars$K.inputBorderColor]: refs.borderColor,
|
16159
|
-
[vars$K.inputBorderWidth]: refs.borderWidth,
|
16160
|
-
[vars$K.inputBorderStyle]: refs.borderStyle,
|
16161
|
-
[vars$K.inputBackgroundColor]: refs.backgroundColor,
|
16162
|
-
[vars$K.inputSize]: checkboxSize,
|
16163
|
-
[vars$K.inputValueTextColor]: refs.valueTextColor,
|
16164
|
-
};
|
16165
16583
|
|
16166
|
-
|
16167
|
-
|
16168
|
-
|
16169
|
-
vars:
|
16170
|
-
|
16584
|
+
[vars$K.trackBorderStyle]: refs.borderStyle,
|
16585
|
+
[vars$K.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
16586
|
+
[vars$K.trackBorderColor]: refs.borderColor,
|
16587
|
+
[vars$K.trackBackgroundColor]: refs.backgroundColor,
|
16588
|
+
[vars$K.trackBorderRadius]: globalRefs$u.radius.md,
|
16589
|
+
[vars$K.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
16590
|
+
[vars$K.trackHeight]: checkboxHeight,
|
16591
|
+
|
16592
|
+
[vars$K.knobSize]: `calc(1em - ${knobMargin})`,
|
16593
|
+
[vars$K.knobRadius]: '50%',
|
16594
|
+
[vars$K.knobTopOffset]: '1px',
|
16595
|
+
[vars$K.knobLeftOffset]: knobMargin,
|
16596
|
+
[vars$K.knobColor]: refs.labelTextColor,
|
16597
|
+
[vars$K.knobTransitionDuration]: '0.3s',
|
16171
16598
|
|
16172
|
-
|
16173
|
-
|
16174
|
-
|
16175
|
-
|
16176
|
-
|
16177
|
-
|
16178
|
-
const switchToggle = {
|
16179
|
-
[vars$J.hostWidth]: refs.width,
|
16180
|
-
[vars$J.hostDirection]: refs.direction,
|
16181
|
-
[vars$J.fontSize]: refs.fontSize,
|
16182
|
-
[vars$J.fontFamily]: refs.fontFamily,
|
16183
|
-
|
16184
|
-
[vars$J.inputOutlineWidth]: refs.outlineWidth,
|
16185
|
-
[vars$J.inputOutlineOffset]: refs.outlineOffset,
|
16186
|
-
[vars$J.inputOutlineColor]: refs.outlineColor,
|
16187
|
-
[vars$J.inputOutlineStyle]: refs.outlineStyle,
|
16188
|
-
|
16189
|
-
[vars$J.trackBorderStyle]: refs.borderStyle,
|
16190
|
-
[vars$J.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
16191
|
-
[vars$J.trackBorderColor]: refs.borderColor,
|
16192
|
-
[vars$J.trackBackgroundColor]: refs.backgroundColor,
|
16193
|
-
[vars$J.trackBorderRadius]: globalRefs$u.radius.md,
|
16194
|
-
[vars$J.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
16195
|
-
[vars$J.trackHeight]: checkboxHeight,
|
16196
|
-
|
16197
|
-
[vars$J.knobSize]: `calc(1em - ${knobMargin})`,
|
16198
|
-
[vars$J.knobRadius]: '50%',
|
16199
|
-
[vars$J.knobTopOffset]: '1px',
|
16200
|
-
[vars$J.knobLeftOffset]: knobMargin,
|
16201
|
-
[vars$J.knobColor]: refs.labelTextColor,
|
16202
|
-
[vars$J.knobTransitionDuration]: '0.3s',
|
16203
|
-
|
16204
|
-
[vars$J.labelTextColor]: refs.labelTextColor,
|
16205
|
-
[vars$J.labelFontWeight]: '400',
|
16206
|
-
[vars$J.labelLineHeight]: '1.35em',
|
16207
|
-
[vars$J.labelSpacing]: '1em',
|
16208
|
-
[vars$J.labelRequiredIndicator]: refs.requiredIndicator,
|
16209
|
-
[vars$J.errorMessageTextColor]: refs.errorMessageTextColor,
|
16599
|
+
[vars$K.labelTextColor]: refs.labelTextColor,
|
16600
|
+
[vars$K.labelFontWeight]: '400',
|
16601
|
+
[vars$K.labelLineHeight]: '1.35em',
|
16602
|
+
[vars$K.labelSpacing]: '1em',
|
16603
|
+
[vars$K.labelRequiredIndicator]: refs.requiredIndicator,
|
16604
|
+
[vars$K.errorMessageTextColor]: refs.errorMessageTextColor,
|
16210
16605
|
|
16211
16606
|
_checked: {
|
16212
|
-
[vars$
|
16213
|
-
[vars$
|
16214
|
-
[vars$
|
16215
|
-
[vars$
|
16607
|
+
[vars$K.trackBorderColor]: refs.borderColor,
|
16608
|
+
[vars$K.knobLeftOffset]: `calc(100% - var(${vars$K.knobSize}) - ${knobMargin})`,
|
16609
|
+
[vars$K.knobColor]: refs.valueTextColor,
|
16610
|
+
[vars$K.knobTextColor]: refs.valueTextColor,
|
16216
16611
|
},
|
16217
16612
|
|
16218
16613
|
_disabled: {
|
16219
|
-
[vars$
|
16220
|
-
[vars$
|
16221
|
-
[vars$
|
16222
|
-
[vars$
|
16614
|
+
[vars$K.knobColor]: globalRefs$u.colors.surface.light,
|
16615
|
+
[vars$K.trackBorderColor]: globalRefs$u.colors.surface.light,
|
16616
|
+
[vars$K.trackBackgroundColor]: globalRefs$u.colors.surface.main,
|
16617
|
+
[vars$K.labelTextColor]: refs.labelTextColor,
|
16223
16618
|
_checked: {
|
16224
|
-
[vars$
|
16225
|
-
[vars$
|
16619
|
+
[vars$K.knobColor]: globalRefs$u.colors.surface.light,
|
16620
|
+
[vars$K.trackBackgroundColor]: globalRefs$u.colors.surface.main,
|
16226
16621
|
},
|
16227
16622
|
},
|
16228
16623
|
|
16229
16624
|
_invalid: {
|
16230
|
-
[vars$
|
16231
|
-
[vars$
|
16625
|
+
[vars$K.trackBorderColor]: globalRefs$u.colors.error.main,
|
16626
|
+
[vars$K.knobColor]: globalRefs$u.colors.error.main,
|
16232
16627
|
},
|
16233
16628
|
};
|
16234
16629
|
|
16235
16630
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
16236
16631
|
__proto__: null,
|
16237
16632
|
default: switchToggle,
|
16238
|
-
vars: vars$
|
16633
|
+
vars: vars$K
|
16239
16634
|
});
|
16240
16635
|
|
16241
16636
|
const globalRefs$t = getThemeRefs(globals);
|
@@ -16260,7 +16655,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
16260
16655
|
horizontalAlignment,
|
16261
16656
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
16262
16657
|
},
|
16263
|
-
componentName$
|
16658
|
+
componentName$_
|
16264
16659
|
);
|
16265
16660
|
|
16266
16661
|
const { shadowColor: shadowColor$3 } = helperRefs$3;
|
@@ -16355,7 +16750,7 @@ const container = {
|
|
16355
16750
|
},
|
16356
16751
|
};
|
16357
16752
|
|
16358
|
-
const vars$
|
16753
|
+
const vars$J = {
|
16359
16754
|
...compVars$5,
|
16360
16755
|
...helperVars$3,
|
16361
16756
|
};
|
@@ -16363,168 +16758,168 @@ const vars$I = {
|
|
16363
16758
|
var container$1 = /*#__PURE__*/Object.freeze({
|
16364
16759
|
__proto__: null,
|
16365
16760
|
default: container,
|
16366
|
-
vars: vars$
|
16761
|
+
vars: vars$J
|
16367
16762
|
});
|
16368
16763
|
|
16369
|
-
const vars$
|
16764
|
+
const vars$I = LogoClass.cssVarList;
|
16370
16765
|
|
16371
16766
|
const logo$2 = {
|
16372
|
-
[vars$
|
16767
|
+
[vars$I.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
16373
16768
|
};
|
16374
16769
|
|
16375
16770
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
16376
16771
|
__proto__: null,
|
16377
16772
|
default: logo$2,
|
16378
|
-
vars: vars$
|
16773
|
+
vars: vars$I
|
16379
16774
|
});
|
16380
16775
|
|
16381
|
-
const vars$
|
16776
|
+
const vars$H = TotpImageClass.cssVarList;
|
16382
16777
|
|
16383
16778
|
const logo$1 = {
|
16384
|
-
[vars$
|
16779
|
+
[vars$H.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
16385
16780
|
};
|
16386
16781
|
|
16387
16782
|
var totpImage = /*#__PURE__*/Object.freeze({
|
16388
16783
|
__proto__: null,
|
16389
16784
|
default: logo$1,
|
16390
|
-
vars: vars$
|
16785
|
+
vars: vars$H
|
16391
16786
|
});
|
16392
16787
|
|
16393
|
-
const vars$
|
16788
|
+
const vars$G = NotpImageClass.cssVarList;
|
16394
16789
|
|
16395
16790
|
const logo = {
|
16396
|
-
[vars$
|
16791
|
+
[vars$G.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
16397
16792
|
};
|
16398
16793
|
|
16399
16794
|
var notpImage = /*#__PURE__*/Object.freeze({
|
16400
16795
|
__proto__: null,
|
16401
16796
|
default: logo,
|
16402
|
-
vars: vars$
|
16797
|
+
vars: vars$G
|
16403
16798
|
});
|
16404
16799
|
|
16405
16800
|
const globalRefs$s = getThemeRefs(globals);
|
16406
|
-
const vars$
|
16801
|
+
const vars$F = TextClass.cssVarList;
|
16407
16802
|
|
16408
16803
|
const text = {
|
16409
|
-
[vars$
|
16410
|
-
[vars$
|
16411
|
-
[vars$
|
16412
|
-
[vars$
|
16804
|
+
[vars$F.hostDirection]: globalRefs$s.direction,
|
16805
|
+
[vars$F.textLineHeight]: '1.35em',
|
16806
|
+
[vars$F.textAlign]: 'left',
|
16807
|
+
[vars$F.textColor]: globalRefs$s.colors.surface.dark,
|
16413
16808
|
|
16414
16809
|
variant: {
|
16415
16810
|
h1: {
|
16416
|
-
[vars$
|
16417
|
-
[vars$
|
16418
|
-
[vars$
|
16811
|
+
[vars$F.fontSize]: globalRefs$s.typography.h1.size,
|
16812
|
+
[vars$F.fontWeight]: globalRefs$s.typography.h1.weight,
|
16813
|
+
[vars$F.fontFamily]: globalRefs$s.typography.h1.font,
|
16419
16814
|
},
|
16420
16815
|
h2: {
|
16421
|
-
[vars$
|
16422
|
-
[vars$
|
16423
|
-
[vars$
|
16816
|
+
[vars$F.fontSize]: globalRefs$s.typography.h2.size,
|
16817
|
+
[vars$F.fontWeight]: globalRefs$s.typography.h2.weight,
|
16818
|
+
[vars$F.fontFamily]: globalRefs$s.typography.h2.font,
|
16424
16819
|
},
|
16425
16820
|
h3: {
|
16426
|
-
[vars$
|
16427
|
-
[vars$
|
16428
|
-
[vars$
|
16821
|
+
[vars$F.fontSize]: globalRefs$s.typography.h3.size,
|
16822
|
+
[vars$F.fontWeight]: globalRefs$s.typography.h3.weight,
|
16823
|
+
[vars$F.fontFamily]: globalRefs$s.typography.h3.font,
|
16429
16824
|
},
|
16430
16825
|
subtitle1: {
|
16431
|
-
[vars$
|
16432
|
-
[vars$
|
16433
|
-
[vars$
|
16826
|
+
[vars$F.fontSize]: globalRefs$s.typography.subtitle1.size,
|
16827
|
+
[vars$F.fontWeight]: globalRefs$s.typography.subtitle1.weight,
|
16828
|
+
[vars$F.fontFamily]: globalRefs$s.typography.subtitle1.font,
|
16434
16829
|
},
|
16435
16830
|
subtitle2: {
|
16436
|
-
[vars$
|
16437
|
-
[vars$
|
16438
|
-
[vars$
|
16831
|
+
[vars$F.fontSize]: globalRefs$s.typography.subtitle2.size,
|
16832
|
+
[vars$F.fontWeight]: globalRefs$s.typography.subtitle2.weight,
|
16833
|
+
[vars$F.fontFamily]: globalRefs$s.typography.subtitle2.font,
|
16439
16834
|
},
|
16440
16835
|
body1: {
|
16441
|
-
[vars$
|
16442
|
-
[vars$
|
16443
|
-
[vars$
|
16836
|
+
[vars$F.fontSize]: globalRefs$s.typography.body1.size,
|
16837
|
+
[vars$F.fontWeight]: globalRefs$s.typography.body1.weight,
|
16838
|
+
[vars$F.fontFamily]: globalRefs$s.typography.body1.font,
|
16444
16839
|
},
|
16445
16840
|
body2: {
|
16446
|
-
[vars$
|
16447
|
-
[vars$
|
16448
|
-
[vars$
|
16841
|
+
[vars$F.fontSize]: globalRefs$s.typography.body2.size,
|
16842
|
+
[vars$F.fontWeight]: globalRefs$s.typography.body2.weight,
|
16843
|
+
[vars$F.fontFamily]: globalRefs$s.typography.body2.font,
|
16449
16844
|
},
|
16450
16845
|
},
|
16451
16846
|
|
16452
16847
|
mode: {
|
16453
16848
|
primary: {
|
16454
|
-
[vars$
|
16849
|
+
[vars$F.textColor]: globalRefs$s.colors.surface.contrast,
|
16455
16850
|
},
|
16456
16851
|
secondary: {
|
16457
|
-
[vars$
|
16852
|
+
[vars$F.textColor]: globalRefs$s.colors.surface.dark,
|
16458
16853
|
},
|
16459
16854
|
error: {
|
16460
|
-
[vars$
|
16855
|
+
[vars$F.textColor]: globalRefs$s.colors.error.main,
|
16461
16856
|
},
|
16462
16857
|
success: {
|
16463
|
-
[vars$
|
16858
|
+
[vars$F.textColor]: globalRefs$s.colors.success.main,
|
16464
16859
|
},
|
16465
16860
|
},
|
16466
16861
|
|
16467
16862
|
textAlign: {
|
16468
|
-
right: { [vars$
|
16469
|
-
left: { [vars$
|
16470
|
-
center: { [vars$
|
16863
|
+
right: { [vars$F.textAlign]: 'right' },
|
16864
|
+
left: { [vars$F.textAlign]: 'left' },
|
16865
|
+
center: { [vars$F.textAlign]: 'center' },
|
16471
16866
|
},
|
16472
16867
|
|
16473
16868
|
_fullWidth: {
|
16474
|
-
[vars$
|
16869
|
+
[vars$F.hostWidth]: '100%',
|
16475
16870
|
},
|
16476
16871
|
|
16477
16872
|
_italic: {
|
16478
|
-
[vars$
|
16873
|
+
[vars$F.fontStyle]: 'italic',
|
16479
16874
|
},
|
16480
16875
|
|
16481
16876
|
_uppercase: {
|
16482
|
-
[vars$
|
16877
|
+
[vars$F.textTransform]: 'uppercase',
|
16483
16878
|
},
|
16484
16879
|
|
16485
16880
|
_lowercase: {
|
16486
|
-
[vars$
|
16881
|
+
[vars$F.textTransform]: 'lowercase',
|
16487
16882
|
},
|
16488
16883
|
};
|
16489
16884
|
|
16490
16885
|
var text$1 = /*#__PURE__*/Object.freeze({
|
16491
16886
|
__proto__: null,
|
16492
16887
|
default: text,
|
16493
|
-
vars: vars$
|
16888
|
+
vars: vars$F
|
16494
16889
|
});
|
16495
16890
|
|
16496
16891
|
const globalRefs$r = getThemeRefs(globals);
|
16497
|
-
const vars$
|
16892
|
+
const vars$E = LinkClass.cssVarList;
|
16498
16893
|
|
16499
16894
|
const link = {
|
16500
|
-
[vars$
|
16501
|
-
[vars$
|
16895
|
+
[vars$E.hostDirection]: globalRefs$r.direction,
|
16896
|
+
[vars$E.cursor]: 'pointer',
|
16502
16897
|
|
16503
|
-
[vars$
|
16898
|
+
[vars$E.textColor]: globalRefs$r.colors.primary.main,
|
16504
16899
|
|
16505
16900
|
textAlign: {
|
16506
|
-
right: { [vars$
|
16507
|
-
left: { [vars$
|
16508
|
-
center: { [vars$
|
16901
|
+
right: { [vars$E.textAlign]: 'right' },
|
16902
|
+
left: { [vars$E.textAlign]: 'left' },
|
16903
|
+
center: { [vars$E.textAlign]: 'center' },
|
16509
16904
|
},
|
16510
16905
|
|
16511
16906
|
_fullWidth: {
|
16512
|
-
[vars$
|
16907
|
+
[vars$E.hostWidth]: '100%',
|
16513
16908
|
},
|
16514
16909
|
|
16515
16910
|
_hover: {
|
16516
|
-
[vars$
|
16911
|
+
[vars$E.textDecoration]: 'underline',
|
16517
16912
|
},
|
16518
16913
|
|
16519
16914
|
mode: {
|
16520
16915
|
secondary: {
|
16521
|
-
[vars$
|
16916
|
+
[vars$E.textColor]: globalRefs$r.colors.secondary.main,
|
16522
16917
|
},
|
16523
16918
|
error: {
|
16524
|
-
[vars$
|
16919
|
+
[vars$E.textColor]: globalRefs$r.colors.error.main,
|
16525
16920
|
},
|
16526
16921
|
success: {
|
16527
|
-
[vars$
|
16922
|
+
[vars$E.textColor]: globalRefs$r.colors.success.main,
|
16528
16923
|
},
|
16529
16924
|
},
|
16530
16925
|
};
|
@@ -16532,37 +16927,37 @@ const link = {
|
|
16532
16927
|
var link$1 = /*#__PURE__*/Object.freeze({
|
16533
16928
|
__proto__: null,
|
16534
16929
|
default: link,
|
16535
|
-
vars: vars$
|
16930
|
+
vars: vars$E
|
16536
16931
|
});
|
16537
16932
|
|
16538
16933
|
const globalRefs$q = getThemeRefs(globals);
|
16539
|
-
const vars$
|
16934
|
+
const vars$D = EnrichedTextClass.cssVarList;
|
16540
16935
|
|
16541
16936
|
const enrichedText = {
|
16542
|
-
[vars$
|
16543
|
-
[vars$
|
16937
|
+
[vars$D.hostDirection]: globalRefs$q.direction,
|
16938
|
+
[vars$D.hostWidth]: useVar(vars$F.hostWidth),
|
16544
16939
|
|
16545
|
-
[vars$
|
16546
|
-
[vars$
|
16547
|
-
[vars$
|
16940
|
+
[vars$D.textLineHeight]: useVar(vars$F.textLineHeight),
|
16941
|
+
[vars$D.textColor]: useVar(vars$F.textColor),
|
16942
|
+
[vars$D.textAlign]: useVar(vars$F.textAlign),
|
16548
16943
|
|
16549
|
-
[vars$
|
16550
|
-
[vars$
|
16551
|
-
[vars$
|
16944
|
+
[vars$D.fontSize]: useVar(vars$F.fontSize),
|
16945
|
+
[vars$D.fontWeight]: useVar(vars$F.fontWeight),
|
16946
|
+
[vars$D.fontFamily]: useVar(vars$F.fontFamily),
|
16552
16947
|
|
16553
|
-
[vars$
|
16554
|
-
[vars$
|
16555
|
-
[vars$
|
16948
|
+
[vars$D.linkColor]: useVar(vars$E.textColor),
|
16949
|
+
[vars$D.linkTextDecoration]: 'none',
|
16950
|
+
[vars$D.linkHoverTextDecoration]: 'underline',
|
16556
16951
|
|
16557
|
-
[vars$
|
16558
|
-
[vars$
|
16559
|
-
[vars$
|
16952
|
+
[vars$D.fontWeightBold]: '900',
|
16953
|
+
[vars$D.minWidth]: '0.25em',
|
16954
|
+
[vars$D.minHeight]: '1.35em',
|
16560
16955
|
|
16561
|
-
[vars$
|
16956
|
+
[vars$D.hostDisplay]: 'inline-block',
|
16562
16957
|
|
16563
16958
|
_empty: {
|
16564
16959
|
_hideWhenEmpty: {
|
16565
|
-
[vars$
|
16960
|
+
[vars$D.hostDisplay]: 'none',
|
16566
16961
|
},
|
16567
16962
|
},
|
16568
16963
|
};
|
@@ -16570,7 +16965,7 @@ const enrichedText = {
|
|
16570
16965
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
16571
16966
|
__proto__: null,
|
16572
16967
|
default: enrichedText,
|
16573
|
-
vars: vars$
|
16968
|
+
vars: vars$D
|
16574
16969
|
});
|
16575
16970
|
|
16576
16971
|
const globalRefs$p = getThemeRefs(globals);
|
@@ -16581,7 +16976,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
16581
16976
|
thickness: '2px',
|
16582
16977
|
spacing: '10px',
|
16583
16978
|
},
|
16584
|
-
componentName$
|
16979
|
+
componentName$U
|
16585
16980
|
);
|
16586
16981
|
|
16587
16982
|
const divider = {
|
@@ -16612,7 +17007,7 @@ const divider = {
|
|
16612
17007
|
},
|
16613
17008
|
};
|
16614
17009
|
|
16615
|
-
const vars$
|
17010
|
+
const vars$C = {
|
16616
17011
|
...compVars$4,
|
16617
17012
|
...helperVars$2,
|
16618
17013
|
};
|
@@ -16620,93 +17015,93 @@ const vars$B = {
|
|
16620
17015
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
16621
17016
|
__proto__: null,
|
16622
17017
|
default: divider,
|
16623
|
-
vars: vars$
|
17018
|
+
vars: vars$C
|
16624
17019
|
});
|
16625
17020
|
|
16626
|
-
const vars$
|
17021
|
+
const vars$B = PasscodeClass.cssVarList;
|
16627
17022
|
|
16628
17023
|
const passcode = {
|
16629
|
-
[vars$
|
16630
|
-
[vars$
|
16631
|
-
[vars$
|
16632
|
-
[vars$
|
16633
|
-
[vars$
|
16634
|
-
[vars$
|
16635
|
-
[vars$
|
16636
|
-
[vars$
|
16637
|
-
[vars$
|
16638
|
-
[vars$
|
16639
|
-
[vars$
|
16640
|
-
[vars$
|
16641
|
-
[vars$
|
16642
|
-
[vars$
|
16643
|
-
[vars$
|
17024
|
+
[vars$B.hostDirection]: refs.direction,
|
17025
|
+
[vars$B.fontFamily]: refs.fontFamily,
|
17026
|
+
[vars$B.fontSize]: refs.fontSize,
|
17027
|
+
[vars$B.labelTextColor]: refs.labelTextColor,
|
17028
|
+
[vars$B.labelRequiredIndicator]: refs.requiredIndicator,
|
17029
|
+
[vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
|
17030
|
+
[vars$B.digitValueTextColor]: refs.valueTextColor,
|
17031
|
+
[vars$B.digitPadding]: '0',
|
17032
|
+
[vars$B.digitTextAlign]: 'center',
|
17033
|
+
[vars$B.digitSpacing]: '4px',
|
17034
|
+
[vars$B.hostWidth]: refs.width,
|
17035
|
+
[vars$B.digitOutlineColor]: 'transparent',
|
17036
|
+
[vars$B.digitOutlineWidth]: refs.outlineWidth,
|
17037
|
+
[vars$B.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
17038
|
+
[vars$B.digitSize]: refs.inputHeight,
|
16644
17039
|
|
16645
17040
|
size: {
|
16646
|
-
xs: { [vars$
|
16647
|
-
sm: { [vars$
|
16648
|
-
md: { [vars$
|
16649
|
-
lg: { [vars$
|
17041
|
+
xs: { [vars$B.spinnerSize]: '15px' },
|
17042
|
+
sm: { [vars$B.spinnerSize]: '20px' },
|
17043
|
+
md: { [vars$B.spinnerSize]: '20px' },
|
17044
|
+
lg: { [vars$B.spinnerSize]: '20px' },
|
16650
17045
|
},
|
16651
17046
|
|
16652
17047
|
_hideCursor: {
|
16653
|
-
[vars$
|
17048
|
+
[vars$B.digitCaretTextColor]: 'transparent',
|
16654
17049
|
},
|
16655
17050
|
|
16656
17051
|
_loading: {
|
16657
|
-
[vars$
|
17052
|
+
[vars$B.overlayOpacity]: refs.overlayOpacity,
|
16658
17053
|
},
|
16659
17054
|
};
|
16660
17055
|
|
16661
17056
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
16662
17057
|
__proto__: null,
|
16663
17058
|
default: passcode,
|
16664
|
-
vars: vars$
|
17059
|
+
vars: vars$B
|
16665
17060
|
});
|
16666
17061
|
|
16667
17062
|
const globalRefs$o = getThemeRefs(globals);
|
16668
|
-
const vars$
|
17063
|
+
const vars$A = LoaderLinearClass.cssVarList;
|
16669
17064
|
|
16670
17065
|
const loaderLinear = {
|
16671
|
-
[vars$
|
16672
|
-
[vars$
|
17066
|
+
[vars$A.hostDisplay]: 'inline-block',
|
17067
|
+
[vars$A.hostWidth]: '100%',
|
16673
17068
|
|
16674
|
-
[vars$
|
16675
|
-
[vars$
|
17069
|
+
[vars$A.barColor]: globalRefs$o.colors.surface.contrast,
|
17070
|
+
[vars$A.barWidth]: '20%',
|
16676
17071
|
|
16677
|
-
[vars$
|
16678
|
-
[vars$
|
17072
|
+
[vars$A.barBackgroundColor]: globalRefs$o.colors.surface.light,
|
17073
|
+
[vars$A.barBorderRadius]: '4px',
|
16679
17074
|
|
16680
|
-
[vars$
|
16681
|
-
[vars$
|
16682
|
-
[vars$
|
16683
|
-
[vars$
|
17075
|
+
[vars$A.animationDuration]: '2s',
|
17076
|
+
[vars$A.animationTimingFunction]: 'linear',
|
17077
|
+
[vars$A.animationIterationCount]: 'infinite',
|
17078
|
+
[vars$A.verticalPadding]: '0.25em',
|
16684
17079
|
|
16685
17080
|
size: {
|
16686
|
-
xs: { [vars$
|
16687
|
-
sm: { [vars$
|
16688
|
-
md: { [vars$
|
16689
|
-
lg: { [vars$
|
17081
|
+
xs: { [vars$A.barHeight]: '2px' },
|
17082
|
+
sm: { [vars$A.barHeight]: '4px' },
|
17083
|
+
md: { [vars$A.barHeight]: '6px' },
|
17084
|
+
lg: { [vars$A.barHeight]: '8px' },
|
16690
17085
|
},
|
16691
17086
|
|
16692
17087
|
mode: {
|
16693
17088
|
primary: {
|
16694
|
-
[vars$
|
17089
|
+
[vars$A.barColor]: globalRefs$o.colors.primary.main,
|
16695
17090
|
},
|
16696
17091
|
secondary: {
|
16697
|
-
[vars$
|
17092
|
+
[vars$A.barColor]: globalRefs$o.colors.secondary.main,
|
16698
17093
|
},
|
16699
17094
|
},
|
16700
17095
|
|
16701
17096
|
_hidden: {
|
16702
|
-
[vars$
|
17097
|
+
[vars$A.hostDisplay]: 'none',
|
16703
17098
|
},
|
16704
17099
|
};
|
16705
17100
|
|
16706
17101
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
16707
17102
|
__proto__: null,
|
16708
17103
|
default: loaderLinear,
|
16709
|
-
vars: vars$
|
17104
|
+
vars: vars$A
|
16710
17105
|
});
|
16711
17106
|
|
16712
17107
|
const globalRefs$n = getThemeRefs(globals);
|
@@ -16724,7 +17119,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
16724
17119
|
},
|
16725
17120
|
},
|
16726
17121
|
},
|
16727
|
-
componentName
|
17122
|
+
componentName$$
|
16728
17123
|
);
|
16729
17124
|
|
16730
17125
|
const loaderRadial = {
|
@@ -16753,7 +17148,7 @@ const loaderRadial = {
|
|
16753
17148
|
[compVars$3.hostDisplay]: 'none',
|
16754
17149
|
},
|
16755
17150
|
};
|
16756
|
-
const vars$
|
17151
|
+
const vars$z = {
|
16757
17152
|
...compVars$3,
|
16758
17153
|
...helperVars$1,
|
16759
17154
|
};
|
@@ -16761,93 +17156,134 @@ const vars$y = {
|
|
16761
17156
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
16762
17157
|
__proto__: null,
|
16763
17158
|
default: loaderRadial,
|
16764
|
-
vars: vars$
|
17159
|
+
vars: vars$z
|
16765
17160
|
});
|
16766
17161
|
|
16767
17162
|
const globalRefs$m = getThemeRefs(globals);
|
16768
|
-
const vars$
|
17163
|
+
const vars$y = ComboBoxClass.cssVarList;
|
16769
17164
|
|
16770
17165
|
const comboBox = {
|
16771
|
-
[vars$
|
16772
|
-
[vars$
|
16773
|
-
[vars$
|
16774
|
-
[vars$
|
16775
|
-
[vars$
|
16776
|
-
[vars$
|
16777
|
-
[vars$
|
16778
|
-
[vars$
|
16779
|
-
[vars$
|
16780
|
-
[vars$
|
16781
|
-
[vars$
|
16782
|
-
[vars$
|
16783
|
-
[vars$
|
16784
|
-
[vars$
|
16785
|
-
[vars$
|
16786
|
-
[vars$
|
16787
|
-
[vars$
|
16788
|
-
[vars$
|
16789
|
-
[vars$
|
16790
|
-
[vars$
|
16791
|
-
[vars$
|
16792
|
-
[vars$
|
16793
|
-
[vars$
|
16794
|
-
[vars$
|
16795
|
-
[vars$
|
16796
|
-
[vars$
|
16797
|
-
[vars$
|
16798
|
-
[vars$
|
16799
|
-
[vars$
|
16800
|
-
[vars$
|
16801
|
-
[vars$
|
16802
|
-
[vars$
|
16803
|
-
[vars$
|
16804
|
-
[vars$
|
16805
|
-
[vars$
|
16806
|
-
[vars$
|
16807
|
-
[vars$
|
16808
|
-
[vars$
|
17166
|
+
[vars$y.hostWidth]: refs.width,
|
17167
|
+
[vars$y.hostDirection]: refs.direction,
|
17168
|
+
[vars$y.fontSize]: refs.fontSize,
|
17169
|
+
[vars$y.fontFamily]: refs.fontFamily,
|
17170
|
+
[vars$y.labelFontSize]: refs.labelFontSize,
|
17171
|
+
[vars$y.labelFontWeight]: refs.labelFontWeight,
|
17172
|
+
[vars$y.labelTextColor]: refs.labelTextColor,
|
17173
|
+
[vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
|
17174
|
+
[vars$y.inputBorderColor]: refs.borderColor,
|
17175
|
+
[vars$y.inputBorderWidth]: refs.borderWidth,
|
17176
|
+
[vars$y.inputBorderStyle]: refs.borderStyle,
|
17177
|
+
[vars$y.inputBorderRadius]: refs.borderRadius,
|
17178
|
+
[vars$y.inputOutlineColor]: refs.outlineColor,
|
17179
|
+
[vars$y.inputOutlineOffset]: refs.outlineOffset,
|
17180
|
+
[vars$y.inputOutlineWidth]: refs.outlineWidth,
|
17181
|
+
[vars$y.inputOutlineStyle]: refs.outlineStyle,
|
17182
|
+
[vars$y.labelRequiredIndicator]: refs.requiredIndicator,
|
17183
|
+
[vars$y.inputValueTextColor]: refs.valueTextColor,
|
17184
|
+
[vars$y.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
17185
|
+
[vars$y.inputBackgroundColor]: refs.backgroundColor,
|
17186
|
+
[vars$y.inputHorizontalPadding]: refs.horizontalPadding,
|
17187
|
+
[vars$y.inputHeight]: refs.inputHeight,
|
17188
|
+
[vars$y.inputDropdownButtonColor]: globalRefs$m.colors.surface.dark,
|
17189
|
+
[vars$y.inputDropdownButtonCursor]: 'pointer',
|
17190
|
+
[vars$y.inputDropdownButtonSize]: refs.toggleButtonSize,
|
17191
|
+
[vars$y.inputDropdownButtonOffset]: globalRefs$m.spacing.xs,
|
17192
|
+
[vars$y.overlayItemPaddingInlineStart]: globalRefs$m.spacing.xs,
|
17193
|
+
[vars$y.overlayItemPaddingInlineEnd]: globalRefs$m.spacing.lg,
|
17194
|
+
[vars$y.labelPosition]: refs.labelPosition,
|
17195
|
+
[vars$y.labelTopPosition]: refs.labelTopPosition,
|
17196
|
+
[vars$y.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
17197
|
+
[vars$y.inputTransformY]: refs.inputTransformY,
|
17198
|
+
[vars$y.inputTransition]: refs.inputTransition,
|
17199
|
+
[vars$y.marginInlineStart]: refs.marginInlineStart,
|
17200
|
+
[vars$y.placeholderOpacity]: refs.placeholderOpacity,
|
17201
|
+
[vars$y.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
17202
|
+
[vars$y.valueInputHeight]: refs.valueInputHeight,
|
17203
|
+
[vars$y.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16809
17204
|
|
16810
17205
|
_readonly: {
|
16811
|
-
[vars$
|
17206
|
+
[vars$y.inputDropdownButtonCursor]: 'default',
|
16812
17207
|
},
|
16813
17208
|
|
16814
17209
|
// Overlay theme exposed via the component:
|
16815
|
-
[vars$
|
16816
|
-
[vars$
|
16817
|
-
[vars$
|
16818
|
-
[vars$
|
16819
|
-
[vars$
|
16820
|
-
[vars$
|
17210
|
+
[vars$y.overlayFontSize]: refs.fontSize,
|
17211
|
+
[vars$y.overlayFontFamily]: refs.fontFamily,
|
17212
|
+
[vars$y.overlayCursor]: 'pointer',
|
17213
|
+
[vars$y.overlayItemBoxShadow]: 'none',
|
17214
|
+
[vars$y.overlayBackground]: refs.backgroundColor,
|
17215
|
+
[vars$y.overlayTextColor]: refs.valueTextColor,
|
16821
17216
|
|
16822
17217
|
// Overlay direct theme:
|
16823
|
-
[vars$
|
16824
|
-
[vars$
|
17218
|
+
[vars$y.overlay.minHeight]: '400px',
|
17219
|
+
[vars$y.overlay.margin]: '0',
|
16825
17220
|
};
|
16826
17221
|
|
16827
17222
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
16828
17223
|
__proto__: null,
|
16829
17224
|
comboBox: comboBox,
|
16830
17225
|
default: comboBox,
|
16831
|
-
vars: vars$
|
17226
|
+
vars: vars$y
|
16832
17227
|
});
|
16833
17228
|
|
16834
|
-
const vars$
|
17229
|
+
const vars$x = ImageClass.cssVarList;
|
16835
17230
|
|
16836
17231
|
const image = {};
|
16837
17232
|
|
16838
17233
|
var image$1 = /*#__PURE__*/Object.freeze({
|
16839
17234
|
__proto__: null,
|
16840
17235
|
default: image,
|
16841
|
-
vars: vars$
|
17236
|
+
vars: vars$x
|
16842
17237
|
});
|
16843
17238
|
|
16844
|
-
const vars$
|
17239
|
+
const vars$w = PhoneFieldClass.cssVarList;
|
16845
17240
|
|
16846
17241
|
const phoneField = {
|
16847
|
-
[vars$
|
17242
|
+
[vars$w.hostWidth]: refs.width,
|
17243
|
+
[vars$w.hostDirection]: refs.direction,
|
17244
|
+
[vars$w.fontSize]: refs.fontSize,
|
17245
|
+
[vars$w.fontFamily]: refs.fontFamily,
|
17246
|
+
[vars$w.labelTextColor]: refs.labelTextColor,
|
17247
|
+
[vars$w.labelRequiredIndicator]: refs.requiredIndicator,
|
17248
|
+
[vars$w.errorMessageTextColor]: refs.errorMessageTextColor,
|
17249
|
+
[vars$w.inputValueTextColor]: refs.valueTextColor,
|
17250
|
+
[vars$w.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
17251
|
+
[vars$w.inputBorderStyle]: refs.borderStyle,
|
17252
|
+
[vars$w.inputBorderWidth]: refs.borderWidth,
|
17253
|
+
[vars$w.inputBorderColor]: refs.borderColor,
|
17254
|
+
[vars$w.inputBorderRadius]: refs.borderRadius,
|
17255
|
+
[vars$w.inputOutlineStyle]: refs.outlineStyle,
|
17256
|
+
[vars$w.inputOutlineWidth]: refs.outlineWidth,
|
17257
|
+
[vars$w.inputOutlineColor]: refs.outlineColor,
|
17258
|
+
[vars$w.inputOutlineOffset]: refs.outlineOffset,
|
17259
|
+
[vars$w.phoneInputWidth]: refs.minWidth,
|
17260
|
+
[vars$w.countryCodeInputWidth]: '5em',
|
17261
|
+
[vars$w.countryCodeDropdownWidth]: '20em',
|
17262
|
+
[vars$w.marginInlineStart]: '-0.25em',
|
17263
|
+
[vars$w.valueInputHeight]: refs.valueInputHeight,
|
17264
|
+
[vars$w.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
17265
|
+
|
17266
|
+
// '@overlay': {
|
17267
|
+
// overlayItemBackgroundColor: 'red'
|
17268
|
+
// }
|
17269
|
+
};
|
17270
|
+
|
17271
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
17272
|
+
__proto__: null,
|
17273
|
+
default: phoneField,
|
17274
|
+
vars: vars$w
|
17275
|
+
});
|
17276
|
+
|
17277
|
+
const vars$v = PhoneFieldInputBoxClass.cssVarList;
|
17278
|
+
|
17279
|
+
const phoneInputBoxField = {
|
17280
|
+
[vars$v.hostWidth]: '16em',
|
17281
|
+
[vars$v.hostMinWidth]: refs.minWidth,
|
16848
17282
|
[vars$v.hostDirection]: refs.direction,
|
16849
17283
|
[vars$v.fontSize]: refs.fontSize,
|
16850
17284
|
[vars$v.fontFamily]: refs.fontFamily,
|
17285
|
+
[vars$v.labelFontSize]: refs.labelFontSize,
|
17286
|
+
[vars$v.labelFontWeight]: refs.labelFontWeight,
|
16851
17287
|
[vars$v.labelTextColor]: refs.labelTextColor,
|
16852
17288
|
[vars$v.labelRequiredIndicator]: refs.requiredIndicator,
|
16853
17289
|
[vars$v.errorMessageTextColor]: refs.errorMessageTextColor,
|
@@ -16861,28 +17297,32 @@ const phoneField = {
|
|
16861
17297
|
[vars$v.inputOutlineWidth]: refs.outlineWidth,
|
16862
17298
|
[vars$v.inputOutlineColor]: refs.outlineColor,
|
16863
17299
|
[vars$v.inputOutlineOffset]: refs.outlineOffset,
|
16864
|
-
[vars$v.
|
16865
|
-
[vars$v.
|
16866
|
-
[vars$v.
|
16867
|
-
[vars$v.
|
17300
|
+
[vars$v.labelPosition]: refs.labelPosition,
|
17301
|
+
[vars$v.labelTopPosition]: refs.labelTopPosition,
|
17302
|
+
[vars$v.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
17303
|
+
[vars$v.inputTransformY]: refs.inputTransformY,
|
17304
|
+
[vars$v.inputTransition]: refs.inputTransition,
|
17305
|
+
[vars$v.marginInlineStart]: refs.marginInlineStart,
|
16868
17306
|
[vars$v.valueInputHeight]: refs.valueInputHeight,
|
16869
17307
|
[vars$v.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
17308
|
+
[vars$v.inputHorizontalPadding]: '0',
|
16870
17309
|
|
16871
|
-
|
16872
|
-
|
16873
|
-
|
17310
|
+
_fullWidth: {
|
17311
|
+
[vars$v.hostWidth]: refs.width,
|
17312
|
+
},
|
16874
17313
|
};
|
16875
17314
|
|
16876
|
-
var
|
17315
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
16877
17316
|
__proto__: null,
|
16878
|
-
default:
|
17317
|
+
default: phoneInputBoxField,
|
16879
17318
|
vars: vars$v
|
16880
17319
|
});
|
16881
17320
|
|
16882
|
-
const
|
17321
|
+
const globalRefs$l = getThemeRefs(globals);
|
17322
|
+
const vars$u = NewPasswordClass.cssVarList;
|
16883
17323
|
|
16884
|
-
const
|
16885
|
-
[vars$u.hostWidth]:
|
17324
|
+
const newPassword = {
|
17325
|
+
[vars$u.hostWidth]: refs.width,
|
16886
17326
|
[vars$u.hostMinWidth]: refs.minWidth,
|
16887
17327
|
[vars$u.hostDirection]: refs.direction,
|
16888
17328
|
[vars$u.fontSize]: refs.fontSize,
|
@@ -16890,171 +17330,126 @@ const phoneInputBoxField = {
|
|
16890
17330
|
[vars$u.labelFontSize]: refs.labelFontSize,
|
16891
17331
|
[vars$u.labelFontWeight]: refs.labelFontWeight,
|
16892
17332
|
[vars$u.labelTextColor]: refs.labelTextColor,
|
16893
|
-
[vars$u.
|
17333
|
+
[vars$u.spaceBetweenInputs]: '1em',
|
16894
17334
|
[vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
|
16895
|
-
[vars$u.
|
16896
|
-
[vars$u.
|
16897
|
-
[vars$u.inputBorderStyle]: refs.borderStyle,
|
16898
|
-
[vars$u.inputBorderWidth]: refs.borderWidth,
|
16899
|
-
[vars$u.inputBorderColor]: refs.borderColor,
|
16900
|
-
[vars$u.inputBorderRadius]: refs.borderRadius,
|
16901
|
-
[vars$u.inputOutlineStyle]: refs.outlineStyle,
|
16902
|
-
[vars$u.inputOutlineWidth]: refs.outlineWidth,
|
16903
|
-
[vars$u.inputOutlineColor]: refs.outlineColor,
|
16904
|
-
[vars$u.inputOutlineOffset]: refs.outlineOffset,
|
16905
|
-
[vars$u.labelPosition]: refs.labelPosition,
|
16906
|
-
[vars$u.labelTopPosition]: refs.labelTopPosition,
|
16907
|
-
[vars$u.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16908
|
-
[vars$u.inputTransformY]: refs.inputTransformY,
|
16909
|
-
[vars$u.inputTransition]: refs.inputTransition,
|
16910
|
-
[vars$u.marginInlineStart]: refs.marginInlineStart,
|
17335
|
+
[vars$u.policyPreviewBackgroundColor]: 'none',
|
17336
|
+
[vars$u.policyPreviewPadding]: globalRefs$l.spacing.lg,
|
16911
17337
|
[vars$u.valueInputHeight]: refs.valueInputHeight,
|
16912
|
-
[vars$u.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16913
|
-
[vars$u.inputHorizontalPadding]: '0',
|
16914
|
-
|
16915
|
-
_fullWidth: {
|
16916
|
-
[vars$u.hostWidth]: refs.width,
|
16917
|
-
},
|
16918
|
-
};
|
16919
|
-
|
16920
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
16921
|
-
__proto__: null,
|
16922
|
-
default: phoneInputBoxField,
|
16923
|
-
vars: vars$u
|
16924
|
-
});
|
16925
|
-
|
16926
|
-
const globalRefs$l = getThemeRefs(globals);
|
16927
|
-
const vars$t = NewPasswordClass.cssVarList;
|
16928
|
-
|
16929
|
-
const newPassword = {
|
16930
|
-
[vars$t.hostWidth]: refs.width,
|
16931
|
-
[vars$t.hostMinWidth]: refs.minWidth,
|
16932
|
-
[vars$t.hostDirection]: refs.direction,
|
16933
|
-
[vars$t.fontSize]: refs.fontSize,
|
16934
|
-
[vars$t.fontFamily]: refs.fontFamily,
|
16935
|
-
[vars$t.labelFontSize]: refs.labelFontSize,
|
16936
|
-
[vars$t.labelFontWeight]: refs.labelFontWeight,
|
16937
|
-
[vars$t.labelTextColor]: refs.labelTextColor,
|
16938
|
-
[vars$t.spaceBetweenInputs]: '1em',
|
16939
|
-
[vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
|
16940
|
-
[vars$t.policyPreviewBackgroundColor]: 'none',
|
16941
|
-
[vars$t.policyPreviewPadding]: globalRefs$l.spacing.lg,
|
16942
|
-
[vars$t.valueInputHeight]: refs.valueInputHeight,
|
16943
17338
|
|
16944
17339
|
_required: {
|
16945
17340
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
16946
17341
|
// That's why we fake the required indicator on each input.
|
16947
17342
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
16948
|
-
[vars$
|
17343
|
+
[vars$u.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
16949
17344
|
},
|
16950
17345
|
};
|
16951
17346
|
|
16952
17347
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
16953
17348
|
__proto__: null,
|
16954
17349
|
default: newPassword,
|
16955
|
-
vars: vars$
|
17350
|
+
vars: vars$u
|
16956
17351
|
});
|
16957
17352
|
|
16958
|
-
const vars$
|
17353
|
+
const vars$t = UploadFileClass.cssVarList;
|
16959
17354
|
|
16960
17355
|
const uploadFile = {
|
16961
|
-
[vars$
|
16962
|
-
[vars$
|
16963
|
-
[vars$
|
17356
|
+
[vars$t.hostDirection]: refs.direction,
|
17357
|
+
[vars$t.labelTextColor]: refs.labelTextColor,
|
17358
|
+
[vars$t.fontFamily]: refs.fontFamily,
|
16964
17359
|
|
16965
|
-
[vars$
|
17360
|
+
[vars$t.iconSize]: '2em',
|
16966
17361
|
|
16967
|
-
[vars$
|
16968
|
-
[vars$
|
17362
|
+
[vars$t.hostPadding]: '0.75em',
|
17363
|
+
[vars$t.gap]: '0.5em',
|
16969
17364
|
|
16970
|
-
[vars$
|
16971
|
-
[vars$
|
16972
|
-
[vars$
|
17365
|
+
[vars$t.fontSize]: '16px',
|
17366
|
+
[vars$t.titleFontWeight]: '500',
|
17367
|
+
[vars$t.lineHeight]: '1em',
|
16973
17368
|
|
16974
|
-
[vars$
|
16975
|
-
[vars$
|
16976
|
-
[vars$
|
16977
|
-
[vars$
|
17369
|
+
[vars$t.borderWidth]: refs.borderWidth,
|
17370
|
+
[vars$t.borderColor]: refs.borderColor,
|
17371
|
+
[vars$t.borderRadius]: refs.borderRadius,
|
17372
|
+
[vars$t.borderStyle]: 'dashed',
|
16978
17373
|
|
16979
17374
|
_required: {
|
16980
|
-
[vars$
|
17375
|
+
[vars$t.requiredIndicator]: refs.requiredIndicator,
|
16981
17376
|
},
|
16982
17377
|
|
16983
17378
|
size: {
|
16984
17379
|
xs: {
|
16985
|
-
[vars$
|
16986
|
-
[vars$
|
16987
|
-
[vars$
|
16988
|
-
[vars$
|
16989
|
-
[vars$
|
17380
|
+
[vars$t.hostHeight]: '196px',
|
17381
|
+
[vars$t.hostWidth]: '200px',
|
17382
|
+
[vars$t.titleFontSize]: '0.875em',
|
17383
|
+
[vars$t.descriptionFontSize]: '0.875em',
|
17384
|
+
[vars$t.lineHeight]: '1.25em',
|
16990
17385
|
},
|
16991
17386
|
sm: {
|
16992
|
-
[vars$
|
16993
|
-
[vars$
|
16994
|
-
[vars$
|
16995
|
-
[vars$
|
16996
|
-
[vars$
|
17387
|
+
[vars$t.hostHeight]: '216px',
|
17388
|
+
[vars$t.hostWidth]: '230px',
|
17389
|
+
[vars$t.titleFontSize]: '1em',
|
17390
|
+
[vars$t.descriptionFontSize]: '0.875em',
|
17391
|
+
[vars$t.lineHeight]: '1.25em',
|
16997
17392
|
},
|
16998
17393
|
md: {
|
16999
|
-
[vars$
|
17000
|
-
[vars$
|
17001
|
-
[vars$
|
17002
|
-
[vars$
|
17003
|
-
[vars$
|
17394
|
+
[vars$t.hostHeight]: '256px',
|
17395
|
+
[vars$t.hostWidth]: '312px',
|
17396
|
+
[vars$t.titleFontSize]: '1.125em',
|
17397
|
+
[vars$t.descriptionFontSize]: '1em',
|
17398
|
+
[vars$t.lineHeight]: '1.5em',
|
17004
17399
|
},
|
17005
17400
|
lg: {
|
17006
|
-
[vars$
|
17007
|
-
[vars$
|
17008
|
-
[vars$
|
17009
|
-
[vars$
|
17010
|
-
[vars$
|
17401
|
+
[vars$t.hostHeight]: '280px',
|
17402
|
+
[vars$t.hostWidth]: '336px',
|
17403
|
+
[vars$t.titleFontSize]: '1.125em',
|
17404
|
+
[vars$t.descriptionFontSize]: '1.125em',
|
17405
|
+
[vars$t.lineHeight]: '1.75em',
|
17011
17406
|
},
|
17012
17407
|
},
|
17013
17408
|
|
17014
17409
|
_fullWidth: {
|
17015
|
-
[vars$
|
17410
|
+
[vars$t.hostWidth]: refs.width,
|
17016
17411
|
},
|
17017
17412
|
};
|
17018
17413
|
|
17019
17414
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
17020
17415
|
__proto__: null,
|
17021
17416
|
default: uploadFile,
|
17022
|
-
vars: vars$
|
17417
|
+
vars: vars$t
|
17023
17418
|
});
|
17024
17419
|
|
17025
17420
|
const globalRefs$k = getThemeRefs(globals);
|
17026
17421
|
|
17027
|
-
const vars$
|
17422
|
+
const vars$s = ButtonSelectionGroupItemClass.cssVarList;
|
17028
17423
|
|
17029
17424
|
const buttonSelectionGroupItem = {
|
17030
|
-
[vars$
|
17031
|
-
[vars$
|
17032
|
-
[vars$
|
17033
|
-
[vars$
|
17034
|
-
[vars$
|
17035
|
-
[vars$
|
17036
|
-
[vars$
|
17037
|
-
[vars$
|
17425
|
+
[vars$s.hostDirection]: 'inherit',
|
17426
|
+
[vars$s.backgroundColor]: globalRefs$k.colors.surface.main,
|
17427
|
+
[vars$s.labelTextColor]: globalRefs$k.colors.surface.contrast,
|
17428
|
+
[vars$s.borderColor]: globalRefs$k.colors.surface.light,
|
17429
|
+
[vars$s.borderStyle]: 'solid',
|
17430
|
+
[vars$s.borderRadius]: globalRefs$k.radius.sm,
|
17431
|
+
[vars$s.outlineColor]: 'transparent',
|
17432
|
+
[vars$s.borderWidth]: globalRefs$k.border.xs,
|
17038
17433
|
|
17039
17434
|
_hover: {
|
17040
|
-
[vars$
|
17435
|
+
[vars$s.backgroundColor]: globalRefs$k.colors.surface.highlight,
|
17041
17436
|
},
|
17042
17437
|
|
17043
17438
|
_focused: {
|
17044
|
-
[vars$
|
17439
|
+
[vars$s.outlineColor]: globalRefs$k.colors.surface.light,
|
17045
17440
|
},
|
17046
17441
|
|
17047
17442
|
_selected: {
|
17048
|
-
[vars$
|
17049
|
-
[vars$
|
17050
|
-
[vars$
|
17443
|
+
[vars$s.borderColor]: globalRefs$k.colors.surface.contrast,
|
17444
|
+
[vars$s.backgroundColor]: globalRefs$k.colors.surface.contrast,
|
17445
|
+
[vars$s.labelTextColor]: globalRefs$k.colors.surface.main,
|
17051
17446
|
},
|
17052
17447
|
};
|
17053
17448
|
|
17054
17449
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
17055
17450
|
__proto__: null,
|
17056
17451
|
default: buttonSelectionGroupItem,
|
17057
|
-
vars: vars$
|
17452
|
+
vars: vars$s
|
17058
17453
|
});
|
17059
17454
|
|
17060
17455
|
const globalRefs$j = getThemeRefs(globals);
|
@@ -17069,28 +17464,28 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
17069
17464
|
[vars.hostWidth]: refs.width,
|
17070
17465
|
});
|
17071
17466
|
|
17072
|
-
const vars$
|
17467
|
+
const vars$r = ButtonSelectionGroupClass.cssVarList;
|
17073
17468
|
|
17074
17469
|
const buttonSelectionGroup = {
|
17075
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
17470
|
+
...createBaseButtonSelectionGroupMappings(vars$r),
|
17076
17471
|
};
|
17077
17472
|
|
17078
17473
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
17079
17474
|
__proto__: null,
|
17080
17475
|
default: buttonSelectionGroup,
|
17081
|
-
vars: vars$
|
17476
|
+
vars: vars$r
|
17082
17477
|
});
|
17083
17478
|
|
17084
|
-
const vars$
|
17479
|
+
const vars$q = ButtonMultiSelectionGroupClass.cssVarList;
|
17085
17480
|
|
17086
17481
|
const buttonMultiSelectionGroup = {
|
17087
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
17482
|
+
...createBaseButtonSelectionGroupMappings(vars$q),
|
17088
17483
|
};
|
17089
17484
|
|
17090
17485
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
17091
17486
|
__proto__: null,
|
17092
17487
|
default: buttonMultiSelectionGroup,
|
17093
|
-
vars: vars$
|
17488
|
+
vars: vars$q
|
17094
17489
|
});
|
17095
17490
|
|
17096
17491
|
const globalRefs$i = getThemeRefs(globals);
|
@@ -17103,58 +17498,58 @@ const modal = {
|
|
17103
17498
|
[compVars$2.overlayWidth]: '540px',
|
17104
17499
|
};
|
17105
17500
|
|
17106
|
-
const vars$
|
17501
|
+
const vars$p = {
|
17107
17502
|
...compVars$2,
|
17108
17503
|
};
|
17109
17504
|
|
17110
17505
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
17111
17506
|
__proto__: null,
|
17112
17507
|
default: modal,
|
17113
|
-
vars: vars$
|
17508
|
+
vars: vars$p
|
17114
17509
|
});
|
17115
17510
|
|
17116
17511
|
const globalRefs$h = getThemeRefs(globals);
|
17117
|
-
const vars$
|
17512
|
+
const vars$o = GridClass.cssVarList;
|
17118
17513
|
|
17119
17514
|
const grid = {
|
17120
|
-
[vars$
|
17121
|
-
[vars$
|
17122
|
-
[vars$
|
17123
|
-
[vars$
|
17124
|
-
[vars$
|
17125
|
-
|
17126
|
-
[vars$
|
17127
|
-
[vars$
|
17128
|
-
|
17129
|
-
[vars$
|
17130
|
-
[vars$
|
17131
|
-
[vars$
|
17132
|
-
|
17133
|
-
[vars$
|
17134
|
-
[vars$
|
17135
|
-
[vars$
|
17136
|
-
[vars$
|
17137
|
-
|
17138
|
-
[vars$
|
17139
|
-
[vars$
|
17140
|
-
|
17141
|
-
[vars$
|
17142
|
-
[vars$
|
17143
|
-
[vars$
|
17144
|
-
|
17145
|
-
[vars$
|
17146
|
-
[vars$
|
17147
|
-
[vars$
|
17148
|
-
[vars$
|
17149
|
-
[vars$
|
17150
|
-
[vars$
|
17151
|
-
[vars$
|
17152
|
-
[vars$
|
17153
|
-
[vars$
|
17154
|
-
[vars$
|
17515
|
+
[vars$o.hostWidth]: '100%',
|
17516
|
+
[vars$o.hostHeight]: '100%',
|
17517
|
+
[vars$o.hostMinHeight]: '400px',
|
17518
|
+
[vars$o.fontWeight]: '400',
|
17519
|
+
[vars$o.backgroundColor]: globalRefs$h.colors.surface.main,
|
17520
|
+
|
17521
|
+
[vars$o.fontSize]: refs.fontSize,
|
17522
|
+
[vars$o.fontFamily]: refs.fontFamily,
|
17523
|
+
|
17524
|
+
[vars$o.sortIndicatorsColor]: globalRefs$h.colors.surface.light,
|
17525
|
+
[vars$o.activeSortIndicator]: globalRefs$h.colors.surface.dark,
|
17526
|
+
[vars$o.resizeHandleColor]: globalRefs$h.colors.surface.light,
|
17527
|
+
|
17528
|
+
[vars$o.borderWidth]: refs.borderWidth,
|
17529
|
+
[vars$o.borderStyle]: refs.borderStyle,
|
17530
|
+
[vars$o.borderRadius]: refs.borderRadius,
|
17531
|
+
[vars$o.borderColor]: 'transparent',
|
17532
|
+
|
17533
|
+
[vars$o.headerRowTextColor]: globalRefs$h.colors.surface.dark,
|
17534
|
+
[vars$o.separatorColor]: globalRefs$h.colors.surface.light,
|
17535
|
+
|
17536
|
+
[vars$o.valueTextColor]: globalRefs$h.colors.surface.contrast,
|
17537
|
+
[vars$o.selectedBackgroundColor]: globalRefs$h.colors.surface.highlight,
|
17538
|
+
[vars$o.hostDirection]: globalRefs$h.direction,
|
17539
|
+
|
17540
|
+
[vars$o.toggleDetailsPanelButtonSize]: '1em',
|
17541
|
+
[vars$o.toggleDetailsPanelButtonOpenedColor]: globalRefs$h.colors.surface.contrast,
|
17542
|
+
[vars$o.toggleDetailsPanelButtonClosedColor]: globalRefs$h.colors.surface.light,
|
17543
|
+
[vars$o.toggleDetailsPanelButtonCursor]: 'pointer',
|
17544
|
+
[vars$o.detailsPanelBackgroundColor]: globalRefs$h.colors.surface.highlight,
|
17545
|
+
[vars$o.detailsPanelBorderTopColor]: globalRefs$h.colors.surface.light,
|
17546
|
+
[vars$o.detailsPanelLabelsColor]: globalRefs$h.colors.surface.dark,
|
17547
|
+
[vars$o.detailsPanelLabelsFontSize]: '0.8em',
|
17548
|
+
[vars$o.detailsPanelItemsGap]: '2em',
|
17549
|
+
[vars$o.detailsPanelPadding]: '12px 0',
|
17155
17550
|
|
17156
17551
|
_bordered: {
|
17157
|
-
[vars$
|
17552
|
+
[vars$o.borderColor]: refs.borderColor,
|
17158
17553
|
},
|
17159
17554
|
};
|
17160
17555
|
|
@@ -17162,53 +17557,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
17162
17557
|
__proto__: null,
|
17163
17558
|
default: grid,
|
17164
17559
|
grid: grid,
|
17165
|
-
vars: vars$
|
17560
|
+
vars: vars$o
|
17166
17561
|
});
|
17167
17562
|
|
17168
17563
|
const globalRefs$g = getThemeRefs(globals);
|
17169
|
-
const vars$
|
17564
|
+
const vars$n = NotificationCardClass.cssVarList;
|
17170
17565
|
|
17171
17566
|
const shadowColor$2 = '#00000020';
|
17172
17567
|
|
17173
17568
|
const notification = {
|
17174
|
-
[vars$
|
17175
|
-
[vars$
|
17176
|
-
[vars$
|
17177
|
-
[vars$
|
17178
|
-
[vars$
|
17179
|
-
[vars$
|
17180
|
-
[vars$
|
17181
|
-
[vars$
|
17182
|
-
[vars$
|
17569
|
+
[vars$n.hostMinWidth]: '415px',
|
17570
|
+
[vars$n.fontFamily]: globalRefs$g.fonts.font1.family,
|
17571
|
+
[vars$n.fontSize]: globalRefs$g.typography.body1.size,
|
17572
|
+
[vars$n.backgroundColor]: globalRefs$g.colors.surface.main,
|
17573
|
+
[vars$n.textColor]: globalRefs$g.colors.surface.contrast,
|
17574
|
+
[vars$n.boxShadow]: `${globalRefs$g.shadow.wide.xl} ${shadowColor$2}, ${globalRefs$g.shadow.narrow.xl} ${shadowColor$2}`,
|
17575
|
+
[vars$n.verticalPadding]: '0.625em',
|
17576
|
+
[vars$n.horizontalPadding]: '1.5em',
|
17577
|
+
[vars$n.borderRadius]: globalRefs$g.radius.xs,
|
17183
17578
|
|
17184
17579
|
_bordered: {
|
17185
|
-
[vars$
|
17186
|
-
[vars$
|
17187
|
-
[vars$
|
17580
|
+
[vars$n.borderWidth]: globalRefs$g.border.sm,
|
17581
|
+
[vars$n.borderStyle]: 'solid',
|
17582
|
+
[vars$n.borderColor]: 'transparent',
|
17188
17583
|
},
|
17189
17584
|
|
17190
17585
|
size: {
|
17191
|
-
xs: { [vars$
|
17192
|
-
sm: { [vars$
|
17193
|
-
md: { [vars$
|
17194
|
-
lg: { [vars$
|
17586
|
+
xs: { [vars$n.fontSize]: '12px' },
|
17587
|
+
sm: { [vars$n.fontSize]: '14px' },
|
17588
|
+
md: { [vars$n.fontSize]: '16px' },
|
17589
|
+
lg: { [vars$n.fontSize]: '18px' },
|
17195
17590
|
},
|
17196
17591
|
|
17197
17592
|
mode: {
|
17198
17593
|
primary: {
|
17199
|
-
[vars$
|
17200
|
-
[vars$
|
17201
|
-
[vars$
|
17594
|
+
[vars$n.backgroundColor]: globalRefs$g.colors.primary.main,
|
17595
|
+
[vars$n.textColor]: globalRefs$g.colors.primary.contrast,
|
17596
|
+
[vars$n.borderColor]: globalRefs$g.colors.primary.light,
|
17202
17597
|
},
|
17203
17598
|
success: {
|
17204
|
-
[vars$
|
17205
|
-
[vars$
|
17206
|
-
[vars$
|
17599
|
+
[vars$n.backgroundColor]: globalRefs$g.colors.success.main,
|
17600
|
+
[vars$n.textColor]: globalRefs$g.colors.success.contrast,
|
17601
|
+
[vars$n.borderColor]: globalRefs$g.colors.success.light,
|
17207
17602
|
},
|
17208
17603
|
error: {
|
17209
|
-
[vars$
|
17210
|
-
[vars$
|
17211
|
-
[vars$
|
17604
|
+
[vars$n.backgroundColor]: globalRefs$g.colors.error.main,
|
17605
|
+
[vars$n.textColor]: globalRefs$g.colors.error.contrast,
|
17606
|
+
[vars$n.borderColor]: globalRefs$g.colors.error.light,
|
17212
17607
|
},
|
17213
17608
|
},
|
17214
17609
|
};
|
@@ -17216,148 +17611,148 @@ const notification = {
|
|
17216
17611
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
17217
17612
|
__proto__: null,
|
17218
17613
|
default: notification,
|
17219
|
-
vars: vars$
|
17614
|
+
vars: vars$n
|
17220
17615
|
});
|
17221
17616
|
|
17222
17617
|
const globalRefs$f = getThemeRefs(globals);
|
17223
|
-
const vars$
|
17618
|
+
const vars$m = MultiSelectComboBoxClass.cssVarList;
|
17224
17619
|
|
17225
17620
|
const multiSelectComboBox = {
|
17226
|
-
[vars$
|
17227
|
-
[vars$
|
17228
|
-
[vars$
|
17229
|
-
[vars$
|
17230
|
-
[vars$
|
17231
|
-
[vars$
|
17232
|
-
[vars$
|
17233
|
-
[vars$
|
17234
|
-
[vars$
|
17235
|
-
[vars$
|
17236
|
-
[vars$
|
17237
|
-
[vars$
|
17238
|
-
[vars$
|
17239
|
-
[vars$
|
17240
|
-
[vars$
|
17241
|
-
[vars$
|
17242
|
-
[vars$
|
17243
|
-
[vars$
|
17244
|
-
[vars$
|
17245
|
-
[vars$
|
17246
|
-
[vars$
|
17247
|
-
[vars$
|
17248
|
-
[vars$
|
17249
|
-
[vars$
|
17250
|
-
[vars$
|
17251
|
-
[vars$
|
17252
|
-
[vars$
|
17253
|
-
[vars$
|
17254
|
-
[vars$
|
17255
|
-
[vars$
|
17256
|
-
[vars$
|
17257
|
-
[vars$
|
17258
|
-
[vars$
|
17259
|
-
[vars$
|
17260
|
-
[vars$
|
17261
|
-
[vars$
|
17262
|
-
[vars$
|
17263
|
-
[vars$
|
17264
|
-
[vars$
|
17265
|
-
[vars$
|
17266
|
-
[vars$
|
17621
|
+
[vars$m.hostWidth]: refs.width,
|
17622
|
+
[vars$m.hostDirection]: refs.direction,
|
17623
|
+
[vars$m.fontSize]: refs.fontSize,
|
17624
|
+
[vars$m.fontFamily]: refs.fontFamily,
|
17625
|
+
[vars$m.labelFontSize]: refs.labelFontSize,
|
17626
|
+
[vars$m.labelFontWeight]: refs.labelFontWeight,
|
17627
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
17628
|
+
[vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
|
17629
|
+
[vars$m.inputBorderColor]: refs.borderColor,
|
17630
|
+
[vars$m.inputBorderWidth]: refs.borderWidth,
|
17631
|
+
[vars$m.inputBorderStyle]: refs.borderStyle,
|
17632
|
+
[vars$m.inputBorderRadius]: refs.borderRadius,
|
17633
|
+
[vars$m.inputOutlineColor]: refs.outlineColor,
|
17634
|
+
[vars$m.inputOutlineOffset]: refs.outlineOffset,
|
17635
|
+
[vars$m.inputOutlineWidth]: refs.outlineWidth,
|
17636
|
+
[vars$m.inputOutlineStyle]: refs.outlineStyle,
|
17637
|
+
[vars$m.labelRequiredIndicator]: refs.requiredIndicator,
|
17638
|
+
[vars$m.inputValueTextColor]: refs.valueTextColor,
|
17639
|
+
[vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
17640
|
+
[vars$m.inputBackgroundColor]: refs.backgroundColor,
|
17641
|
+
[vars$m.inputHorizontalPadding]: refs.horizontalPadding,
|
17642
|
+
[vars$m.inputVerticalPadding]: refs.verticalPadding,
|
17643
|
+
[vars$m.inputHeight]: refs.inputHeight,
|
17644
|
+
[vars$m.inputDropdownButtonColor]: globalRefs$f.colors.surface.dark,
|
17645
|
+
[vars$m.inputDropdownButtonCursor]: 'pointer',
|
17646
|
+
[vars$m.inputDropdownButtonSize]: refs.toggleButtonSize,
|
17647
|
+
[vars$m.inputDropdownButtonOffset]: globalRefs$f.spacing.xs,
|
17648
|
+
[vars$m.overlayItemPaddingInlineStart]: globalRefs$f.spacing.xs,
|
17649
|
+
[vars$m.overlayItemPaddingInlineEnd]: globalRefs$f.spacing.lg,
|
17650
|
+
[vars$m.chipFontSize]: refs.chipFontSize,
|
17651
|
+
[vars$m.chipTextColor]: globalRefs$f.colors.surface.contrast,
|
17652
|
+
[vars$m.chipBackgroundColor]: globalRefs$f.colors.surface.light,
|
17653
|
+
[vars$m.labelPosition]: refs.labelPosition,
|
17654
|
+
[vars$m.labelTopPosition]: refs.labelTopPosition,
|
17655
|
+
[vars$m.labelLeftPosition]: refs.labelLeftPosition,
|
17656
|
+
[vars$m.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
17657
|
+
[vars$m.inputTransformY]: refs.inputTransformY,
|
17658
|
+
[vars$m.inputTransition]: refs.inputTransition,
|
17659
|
+
[vars$m.marginInlineStart]: refs.marginInlineStart,
|
17660
|
+
[vars$m.placeholderOpacity]: refs.placeholderOpacity,
|
17661
|
+
[vars$m.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
17267
17662
|
|
17268
17663
|
labelType: {
|
17269
17664
|
floating: {
|
17270
|
-
[vars$
|
17665
|
+
[vars$m.inputHorizontalPadding]: '0.25em',
|
17271
17666
|
_hasValue: {
|
17272
|
-
[vars$
|
17667
|
+
[vars$m.inputHorizontalPadding]: '0.45em',
|
17273
17668
|
},
|
17274
17669
|
},
|
17275
17670
|
},
|
17276
17671
|
|
17277
17672
|
_readonly: {
|
17278
|
-
[vars$
|
17673
|
+
[vars$m.inputDropdownButtonCursor]: 'default',
|
17279
17674
|
},
|
17280
17675
|
|
17281
17676
|
// Overlay theme exposed via the component:
|
17282
|
-
[vars$
|
17283
|
-
[vars$
|
17284
|
-
[vars$
|
17285
|
-
[vars$
|
17286
|
-
[vars$
|
17287
|
-
[vars$
|
17677
|
+
[vars$m.overlayFontSize]: refs.fontSize,
|
17678
|
+
[vars$m.overlayFontFamily]: refs.fontFamily,
|
17679
|
+
[vars$m.overlayCursor]: 'pointer',
|
17680
|
+
[vars$m.overlayItemBoxShadow]: 'none',
|
17681
|
+
[vars$m.overlayBackground]: refs.backgroundColor,
|
17682
|
+
[vars$m.overlayTextColor]: refs.valueTextColor,
|
17288
17683
|
|
17289
17684
|
// Overlay direct theme:
|
17290
|
-
[vars$
|
17291
|
-
[vars$
|
17685
|
+
[vars$m.overlay.minHeight]: '400px',
|
17686
|
+
[vars$m.overlay.margin]: '0',
|
17292
17687
|
};
|
17293
17688
|
|
17294
17689
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
17295
17690
|
__proto__: null,
|
17296
17691
|
default: multiSelectComboBox,
|
17297
17692
|
multiSelectComboBox: multiSelectComboBox,
|
17298
|
-
vars: vars$
|
17693
|
+
vars: vars$m
|
17299
17694
|
});
|
17300
17695
|
|
17301
17696
|
const globalRefs$e = getThemeRefs(globals);
|
17302
|
-
const vars$
|
17697
|
+
const vars$l = BadgeClass.cssVarList;
|
17303
17698
|
|
17304
17699
|
const badge = {
|
17305
|
-
[vars$
|
17306
|
-
[vars$
|
17700
|
+
[vars$l.hostWidth]: 'fit-content',
|
17701
|
+
[vars$l.hostDirection]: globalRefs$e.direction,
|
17307
17702
|
|
17308
|
-
[vars$
|
17703
|
+
[vars$l.textAlign]: 'center',
|
17309
17704
|
|
17310
|
-
[vars$
|
17311
|
-
[vars$
|
17705
|
+
[vars$l.fontFamily]: globalRefs$e.fonts.font1.family,
|
17706
|
+
[vars$l.fontWeight]: '400',
|
17312
17707
|
|
17313
|
-
[vars$
|
17314
|
-
[vars$
|
17708
|
+
[vars$l.verticalPadding]: '0.25em',
|
17709
|
+
[vars$l.horizontalPadding]: '0.5em',
|
17315
17710
|
|
17316
|
-
[vars$
|
17317
|
-
[vars$
|
17318
|
-
[vars$
|
17319
|
-
[vars$
|
17711
|
+
[vars$l.borderWidth]: globalRefs$e.border.xs,
|
17712
|
+
[vars$l.borderRadius]: globalRefs$e.radius.xs,
|
17713
|
+
[vars$l.borderColor]: 'transparent',
|
17714
|
+
[vars$l.borderStyle]: 'solid',
|
17320
17715
|
|
17321
17716
|
_fullWidth: {
|
17322
|
-
[vars$
|
17717
|
+
[vars$l.hostWidth]: '100%',
|
17323
17718
|
},
|
17324
17719
|
|
17325
17720
|
size: {
|
17326
|
-
xs: { [vars$
|
17327
|
-
sm: { [vars$
|
17328
|
-
md: { [vars$
|
17329
|
-
lg: { [vars$
|
17721
|
+
xs: { [vars$l.fontSize]: '12px' },
|
17722
|
+
sm: { [vars$l.fontSize]: '14px' },
|
17723
|
+
md: { [vars$l.fontSize]: '16px' },
|
17724
|
+
lg: { [vars$l.fontSize]: '18px' },
|
17330
17725
|
},
|
17331
17726
|
|
17332
17727
|
mode: {
|
17333
17728
|
default: {
|
17334
|
-
[vars$
|
17729
|
+
[vars$l.textColor]: globalRefs$e.colors.surface.dark,
|
17335
17730
|
_bordered: {
|
17336
|
-
[vars$
|
17731
|
+
[vars$l.borderColor]: globalRefs$e.colors.surface.light,
|
17337
17732
|
},
|
17338
17733
|
},
|
17339
17734
|
primary: {
|
17340
|
-
[vars$
|
17735
|
+
[vars$l.textColor]: globalRefs$e.colors.primary.main,
|
17341
17736
|
_bordered: {
|
17342
|
-
[vars$
|
17737
|
+
[vars$l.borderColor]: globalRefs$e.colors.primary.light,
|
17343
17738
|
},
|
17344
17739
|
},
|
17345
17740
|
secondary: {
|
17346
|
-
[vars$
|
17741
|
+
[vars$l.textColor]: globalRefs$e.colors.secondary.main,
|
17347
17742
|
_bordered: {
|
17348
|
-
[vars$
|
17743
|
+
[vars$l.borderColor]: globalRefs$e.colors.secondary.light,
|
17349
17744
|
},
|
17350
17745
|
},
|
17351
17746
|
error: {
|
17352
|
-
[vars$
|
17747
|
+
[vars$l.textColor]: globalRefs$e.colors.error.main,
|
17353
17748
|
_bordered: {
|
17354
|
-
[vars$
|
17749
|
+
[vars$l.borderColor]: globalRefs$e.colors.error.light,
|
17355
17750
|
},
|
17356
17751
|
},
|
17357
17752
|
success: {
|
17358
|
-
[vars$
|
17753
|
+
[vars$l.textColor]: globalRefs$e.colors.success.main,
|
17359
17754
|
_bordered: {
|
17360
|
-
[vars$
|
17755
|
+
[vars$l.borderColor]: globalRefs$e.colors.success.light,
|
17361
17756
|
},
|
17362
17757
|
},
|
17363
17758
|
},
|
@@ -17366,7 +17761,7 @@ const badge = {
|
|
17366
17761
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
17367
17762
|
__proto__: null,
|
17368
17763
|
default: badge,
|
17369
|
-
vars: vars$
|
17764
|
+
vars: vars$l
|
17370
17765
|
});
|
17371
17766
|
|
17372
17767
|
const globalRefs$d = getThemeRefs(globals);
|
@@ -17404,144 +17799,144 @@ const avatar = {
|
|
17404
17799
|
},
|
17405
17800
|
};
|
17406
17801
|
|
17407
|
-
const vars$
|
17802
|
+
const vars$k = {
|
17408
17803
|
...compVars$1,
|
17409
17804
|
};
|
17410
17805
|
|
17411
17806
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
17412
17807
|
__proto__: null,
|
17413
17808
|
default: avatar,
|
17414
|
-
vars: vars$
|
17809
|
+
vars: vars$k
|
17415
17810
|
});
|
17416
17811
|
|
17417
17812
|
const globalRefs$c = getThemeRefs(globals);
|
17418
17813
|
|
17419
|
-
const vars$
|
17814
|
+
const vars$j = MappingsFieldClass.cssVarList;
|
17420
17815
|
|
17421
17816
|
const mappingsField = {
|
17422
|
-
[vars$
|
17423
|
-
[vars$
|
17424
|
-
[vars$
|
17425
|
-
[vars$
|
17426
|
-
[vars$
|
17427
|
-
[vars$
|
17428
|
-
[vars$
|
17429
|
-
[vars$
|
17430
|
-
[vars$
|
17431
|
-
[vars$
|
17817
|
+
[vars$j.hostWidth]: refs.width,
|
17818
|
+
[vars$j.hostDirection]: refs.direction,
|
17819
|
+
[vars$j.fontSize]: refs.fontSize,
|
17820
|
+
[vars$j.fontFamily]: refs.fontFamily,
|
17821
|
+
[vars$j.separatorFontSize]: '14px',
|
17822
|
+
[vars$j.labelsFontSize]: '14px',
|
17823
|
+
[vars$j.labelsLineHeight]: '1',
|
17824
|
+
[vars$j.labelsMarginBottom]: '6px',
|
17825
|
+
[vars$j.labelTextColor]: refs.labelTextColor,
|
17826
|
+
[vars$j.itemMarginBottom]: '1em',
|
17432
17827
|
// To be positioned correctly, the min width has to match the text field min width
|
17433
|
-
[vars$
|
17828
|
+
[vars$j.valueLabelMinWidth]: refs.minWidth,
|
17434
17829
|
// To be positioned correctly, the min width has to match the combo box field min width
|
17435
|
-
[vars$
|
17436
|
-
[vars$
|
17437
|
-
[vars$
|
17830
|
+
[vars$j.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$c.border.xs})`,
|
17831
|
+
[vars$j.separatorWidth]: '70px',
|
17832
|
+
[vars$j.removeButtonWidth]: '60px',
|
17438
17833
|
};
|
17439
17834
|
|
17440
17835
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
17441
17836
|
__proto__: null,
|
17442
17837
|
default: mappingsField,
|
17443
17838
|
mappingsField: mappingsField,
|
17444
|
-
vars: vars$
|
17839
|
+
vars: vars$j
|
17445
17840
|
});
|
17446
17841
|
|
17447
17842
|
const globalRefs$b = getThemeRefs(globals);
|
17448
|
-
const vars$
|
17843
|
+
const vars$i = UserAttributeClass.cssVarList;
|
17449
17844
|
|
17450
17845
|
const userAttribute = {
|
17451
|
-
[vars$
|
17452
|
-
[vars$
|
17453
|
-
[vars$
|
17454
|
-
[vars$
|
17455
|
-
[vars$
|
17456
|
-
[vars$
|
17846
|
+
[vars$i.hostDirection]: globalRefs$b.direction,
|
17847
|
+
[vars$i.labelTextWidth]: '150px',
|
17848
|
+
[vars$i.valueTextWidth]: '200px',
|
17849
|
+
[vars$i.badgeMaxWidth]: '85px',
|
17850
|
+
[vars$i.itemsGap]: '16px',
|
17851
|
+
[vars$i.hostMinWidth]: '530px',
|
17457
17852
|
_fullWidth: {
|
17458
|
-
[vars$
|
17853
|
+
[vars$i.hostWidth]: '100%',
|
17459
17854
|
},
|
17460
17855
|
};
|
17461
17856
|
|
17462
17857
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
17463
17858
|
__proto__: null,
|
17464
17859
|
default: userAttribute,
|
17465
|
-
vars: vars$
|
17860
|
+
vars: vars$i
|
17466
17861
|
});
|
17467
17862
|
|
17468
17863
|
const globalRefs$a = getThemeRefs(globals);
|
17469
|
-
const vars$
|
17864
|
+
const vars$h = UserAuthMethodClass.cssVarList;
|
17470
17865
|
|
17471
17866
|
const userAuthMethod = {
|
17472
|
-
[vars$
|
17473
|
-
[vars$
|
17474
|
-
[vars$
|
17475
|
-
[vars$
|
17476
|
-
[vars$
|
17477
|
-
[vars$
|
17867
|
+
[vars$h.hostDirection]: globalRefs$a.direction,
|
17868
|
+
[vars$h.labelTextWidth]: '200px',
|
17869
|
+
[vars$h.itemsGap]: '16px',
|
17870
|
+
[vars$h.hostMinWidth]: '530px',
|
17871
|
+
[vars$h.iconSize]: '24px',
|
17872
|
+
[vars$h.iconColor]: 'currentcolor',
|
17478
17873
|
_fullWidth: {
|
17479
|
-
[vars$
|
17874
|
+
[vars$h.hostWidth]: '100%',
|
17480
17875
|
},
|
17481
17876
|
};
|
17482
17877
|
|
17483
17878
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
17484
17879
|
__proto__: null,
|
17485
17880
|
default: userAuthMethod,
|
17486
|
-
vars: vars$
|
17881
|
+
vars: vars$h
|
17487
17882
|
});
|
17488
17883
|
|
17489
|
-
const vars$
|
17884
|
+
const vars$g = SamlGroupMappingsClass.cssVarList;
|
17490
17885
|
|
17491
17886
|
const samlGroupMappings = {
|
17492
|
-
[vars$
|
17493
|
-
[vars$
|
17494
|
-
[vars$
|
17887
|
+
[vars$g.hostWidth]: refs.width,
|
17888
|
+
[vars$g.hostDirection]: refs.direction,
|
17889
|
+
[vars$g.groupNameInputMarginBottom]: '1em',
|
17495
17890
|
};
|
17496
17891
|
|
17497
17892
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
17498
17893
|
__proto__: null,
|
17499
17894
|
default: samlGroupMappings,
|
17500
17895
|
samlGroupMappings: samlGroupMappings,
|
17501
|
-
vars: vars$
|
17896
|
+
vars: vars$g
|
17502
17897
|
});
|
17503
17898
|
|
17504
17899
|
const globalRefs$9 = getThemeRefs(globals);
|
17505
|
-
const vars$
|
17900
|
+
const vars$f = PolicyValidationClass.cssVarList;
|
17506
17901
|
|
17507
17902
|
const policyValidation = {
|
17508
|
-
[vars$
|
17509
|
-
[vars$
|
17510
|
-
[vars$
|
17511
|
-
[vars$
|
17512
|
-
[vars$
|
17513
|
-
[vars$
|
17514
|
-
[vars$
|
17515
|
-
[vars$
|
17516
|
-
[vars$
|
17517
|
-
[vars$
|
17518
|
-
[vars$
|
17519
|
-
[vars$
|
17520
|
-
[vars$
|
17521
|
-
[vars$
|
17522
|
-
[vars$
|
17523
|
-
[vars$
|
17903
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
17904
|
+
[vars$f.fontSize]: refs.labelFontSize,
|
17905
|
+
[vars$f.textColor]: refs.labelTextColor,
|
17906
|
+
[vars$f.borderWidth]: refs.borderWidth,
|
17907
|
+
[vars$f.borderStyle]: refs.borderStyle,
|
17908
|
+
[vars$f.borderColor]: refs.borderColor,
|
17909
|
+
[vars$f.borderRadius]: globalRefs$9.radius.sm,
|
17910
|
+
[vars$f.backgroundColor]: 'none',
|
17911
|
+
[vars$f.padding]: '0px',
|
17912
|
+
[vars$f.labelMargin]: globalRefs$9.spacing.sm,
|
17913
|
+
[vars$f.itemsSpacing]: globalRefs$9.spacing.lg,
|
17914
|
+
[vars$f.itemSymbolDefault]: "'\\2022'", // "•"
|
17915
|
+
[vars$f.itemSymbolSuccess]: "'\\2713'", // "✓"
|
17916
|
+
[vars$f.itemSymbolError]: "'\\2A09'", // "⨉"
|
17917
|
+
[vars$f.itemSymbolSuccessColor]: globalRefs$9.colors.success.main,
|
17918
|
+
[vars$f.itemSymbolErrorColor]: globalRefs$9.colors.error.main,
|
17524
17919
|
};
|
17525
17920
|
|
17526
17921
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
17527
17922
|
__proto__: null,
|
17528
17923
|
default: policyValidation,
|
17529
|
-
vars: vars$
|
17924
|
+
vars: vars$f
|
17530
17925
|
});
|
17531
17926
|
|
17532
|
-
const vars$
|
17927
|
+
const vars$e = IconClass.cssVarList;
|
17533
17928
|
|
17534
17929
|
const icon = {};
|
17535
17930
|
|
17536
17931
|
var icon$1 = /*#__PURE__*/Object.freeze({
|
17537
17932
|
__proto__: null,
|
17538
17933
|
default: icon,
|
17539
|
-
vars: vars$
|
17934
|
+
vars: vars$e
|
17540
17935
|
});
|
17541
17936
|
|
17542
17937
|
const globalRefs$8 = getThemeRefs(globals);
|
17543
17938
|
|
17544
|
-
const vars$
|
17939
|
+
const vars$d = CodeSnippetClass.cssVarList;
|
17545
17940
|
|
17546
17941
|
const light = {
|
17547
17942
|
color1: '#fa0',
|
@@ -17576,50 +17971,50 @@ const dark = {
|
|
17576
17971
|
};
|
17577
17972
|
|
17578
17973
|
const CodeSnippet = {
|
17579
|
-
[vars$
|
17580
|
-
[vars$
|
17581
|
-
[vars$
|
17582
|
-
[vars$
|
17583
|
-
[vars$
|
17584
|
-
[vars$
|
17585
|
-
[vars$
|
17586
|
-
[vars$
|
17587
|
-
[vars$
|
17588
|
-
[vars$
|
17589
|
-
[vars$
|
17590
|
-
[vars$
|
17591
|
-
[vars$
|
17592
|
-
[vars$
|
17593
|
-
[vars$
|
17594
|
-
[vars$
|
17595
|
-
[vars$
|
17596
|
-
[vars$
|
17597
|
-
[vars$
|
17598
|
-
[vars$
|
17599
|
-
[vars$
|
17600
|
-
[vars$
|
17601
|
-
[vars$
|
17602
|
-
[vars$
|
17603
|
-
[vars$
|
17604
|
-
[vars$
|
17605
|
-
[vars$
|
17606
|
-
[vars$
|
17607
|
-
[vars$
|
17608
|
-
[vars$
|
17609
|
-
[vars$
|
17610
|
-
[vars$
|
17611
|
-
[vars$
|
17612
|
-
[vars$
|
17613
|
-
[vars$
|
17614
|
-
[vars$
|
17615
|
-
[vars$
|
17616
|
-
[vars$
|
17617
|
-
[vars$
|
17618
|
-
[vars$
|
17619
|
-
[vars$
|
17620
|
-
[vars$
|
17621
|
-
[vars$
|
17622
|
-
[vars$
|
17974
|
+
[vars$d.rootBgColor]: globalRefs$8.colors.surface.main,
|
17975
|
+
[vars$d.rootTextColor]: globalRefs$8.colors.surface.contrast,
|
17976
|
+
[vars$d.docTagTextColor]: light.color2,
|
17977
|
+
[vars$d.keywordTextColor]: light.color2,
|
17978
|
+
[vars$d.metaKeywordTextColor]: light.color2,
|
17979
|
+
[vars$d.templateTagTextColor]: light.color2,
|
17980
|
+
[vars$d.templateVariableTextColor]: light.color2,
|
17981
|
+
[vars$d.typeTextColor]: light.color2,
|
17982
|
+
[vars$d.variableLanguageTextColor]: light.color2,
|
17983
|
+
[vars$d.titleTextColor]: light.color3,
|
17984
|
+
[vars$d.titleClassTextColor]: light.color3,
|
17985
|
+
[vars$d.titleClassInheritedTextColor]: light.color3,
|
17986
|
+
[vars$d.titleFunctionTextColor]: light.color3,
|
17987
|
+
[vars$d.attrTextColor]: light.color4,
|
17988
|
+
[vars$d.attributeTextColor]: light.color4,
|
17989
|
+
[vars$d.literalTextColor]: light.color4,
|
17990
|
+
[vars$d.metaTextColor]: light.color4,
|
17991
|
+
[vars$d.numberTextColor]: light.color4,
|
17992
|
+
[vars$d.operatorTextColor]: light.color4,
|
17993
|
+
[vars$d.variableTextColor]: light.color4,
|
17994
|
+
[vars$d.selectorAttrTextColor]: light.color4,
|
17995
|
+
[vars$d.selectorClassTextColor]: light.color4,
|
17996
|
+
[vars$d.selectorIdTextColor]: light.color4,
|
17997
|
+
[vars$d.regexpTextColor]: light.color13,
|
17998
|
+
[vars$d.stringTextColor]: light.color13,
|
17999
|
+
[vars$d.metaStringTextColor]: light.color13,
|
18000
|
+
[vars$d.builtInTextColor]: light.color5,
|
18001
|
+
[vars$d.symbolTextColor]: light.color5,
|
18002
|
+
[vars$d.commentTextColor]: light.color6,
|
18003
|
+
[vars$d.codeTextColor]: light.color6,
|
18004
|
+
[vars$d.formulaTextColor]: light.color6,
|
18005
|
+
[vars$d.nameTextColor]: light.color7,
|
18006
|
+
[vars$d.quoteTextColor]: light.color7,
|
18007
|
+
[vars$d.selectorTagTextColor]: light.color7,
|
18008
|
+
[vars$d.selectorPseudoTextColor]: light.color7,
|
18009
|
+
[vars$d.substTextColor]: light.color8,
|
18010
|
+
[vars$d.sectionTextColor]: light.color4,
|
18011
|
+
[vars$d.bulletTextColor]: light.color9,
|
18012
|
+
[vars$d.emphasisTextColor]: light.color8,
|
18013
|
+
[vars$d.strongTextColor]: light.color8,
|
18014
|
+
[vars$d.additionTextColor]: light.color7,
|
18015
|
+
[vars$d.additionBgColor]: light.color10,
|
18016
|
+
[vars$d.deletionTextColor]: light.color2,
|
18017
|
+
[vars$d.deletionBgColor]: light.color10,
|
17623
18018
|
/* purposely ignored */
|
17624
18019
|
// [vars.charEscapeTextColor]: '',
|
17625
18020
|
// [vars.linkTextColor]: '',
|
@@ -17631,50 +18026,50 @@ const CodeSnippet = {
|
|
17631
18026
|
|
17632
18027
|
const codeSnippetDarkThemeOverrides = {
|
17633
18028
|
codeSnippet: {
|
17634
|
-
[vars$
|
17635
|
-
[vars$
|
17636
|
-
[vars$
|
17637
|
-
[vars$
|
17638
|
-
[vars$
|
17639
|
-
[vars$
|
17640
|
-
[vars$
|
17641
|
-
[vars$
|
17642
|
-
[vars$
|
17643
|
-
[vars$
|
17644
|
-
[vars$
|
17645
|
-
[vars$
|
17646
|
-
[vars$
|
17647
|
-
[vars$
|
17648
|
-
[vars$
|
17649
|
-
[vars$
|
17650
|
-
[vars$
|
17651
|
-
[vars$
|
17652
|
-
[vars$
|
17653
|
-
[vars$
|
17654
|
-
[vars$
|
17655
|
-
[vars$
|
17656
|
-
[vars$
|
17657
|
-
[vars$
|
17658
|
-
[vars$
|
17659
|
-
[vars$
|
17660
|
-
[vars$
|
17661
|
-
[vars$
|
17662
|
-
[vars$
|
17663
|
-
[vars$
|
17664
|
-
[vars$
|
17665
|
-
[vars$
|
17666
|
-
[vars$
|
17667
|
-
[vars$
|
17668
|
-
[vars$
|
17669
|
-
[vars$
|
17670
|
-
[vars$
|
17671
|
-
[vars$
|
17672
|
-
[vars$
|
17673
|
-
[vars$
|
17674
|
-
[vars$
|
17675
|
-
[vars$
|
17676
|
-
[vars$
|
17677
|
-
[vars$
|
18029
|
+
[vars$d.rootBgColor]: globalRefs$8.colors.surface.main,
|
18030
|
+
[vars$d.rootTextColor]: globalRefs$8.colors.surface.contrast,
|
18031
|
+
[vars$d.docTagTextColor]: dark.color2,
|
18032
|
+
[vars$d.keywordTextColor]: dark.color2,
|
18033
|
+
[vars$d.metaKeywordTextColor]: dark.color2,
|
18034
|
+
[vars$d.templateTagTextColor]: dark.color2,
|
18035
|
+
[vars$d.templateVariableTextColor]: dark.color2,
|
18036
|
+
[vars$d.typeTextColor]: dark.color2,
|
18037
|
+
[vars$d.variableLanguageTextColor]: dark.color2,
|
18038
|
+
[vars$d.titleTextColor]: dark.color3,
|
18039
|
+
[vars$d.titleClassTextColor]: dark.color3,
|
18040
|
+
[vars$d.titleClassInheritedTextColor]: dark.color3,
|
18041
|
+
[vars$d.titleFunctionTextColor]: dark.color3,
|
18042
|
+
[vars$d.attrTextColor]: dark.color4,
|
18043
|
+
[vars$d.attributeTextColor]: dark.color4,
|
18044
|
+
[vars$d.literalTextColor]: dark.color4,
|
18045
|
+
[vars$d.metaTextColor]: dark.color4,
|
18046
|
+
[vars$d.numberTextColor]: dark.color4,
|
18047
|
+
[vars$d.operatorTextColor]: dark.color4,
|
18048
|
+
[vars$d.variableTextColor]: dark.color4,
|
18049
|
+
[vars$d.selectorAttrTextColor]: dark.color4,
|
18050
|
+
[vars$d.selectorClassTextColor]: dark.color4,
|
18051
|
+
[vars$d.selectorIdTextColor]: dark.color4,
|
18052
|
+
[vars$d.regexpTextColor]: dark.color13,
|
18053
|
+
[vars$d.stringTextColor]: dark.color13,
|
18054
|
+
[vars$d.metaStringTextColor]: dark.color13,
|
18055
|
+
[vars$d.builtInTextColor]: dark.color5,
|
18056
|
+
[vars$d.symbolTextColor]: dark.color5,
|
18057
|
+
[vars$d.commentTextColor]: dark.color6,
|
18058
|
+
[vars$d.codeTextColor]: dark.color6,
|
18059
|
+
[vars$d.formulaTextColor]: dark.color6,
|
18060
|
+
[vars$d.nameTextColor]: dark.color7,
|
18061
|
+
[vars$d.quoteTextColor]: dark.color7,
|
18062
|
+
[vars$d.selectorTagTextColor]: dark.color7,
|
18063
|
+
[vars$d.selectorPseudoTextColor]: dark.color7,
|
18064
|
+
[vars$d.substTextColor]: dark.color8,
|
18065
|
+
[vars$d.sectionTextColor]: dark.color4,
|
18066
|
+
[vars$d.bulletTextColor]: dark.color9,
|
18067
|
+
[vars$d.emphasisTextColor]: dark.color8,
|
18068
|
+
[vars$d.strongTextColor]: dark.color8,
|
18069
|
+
[vars$d.additionTextColor]: dark.color7,
|
18070
|
+
[vars$d.additionBgColor]: dark.color10,
|
18071
|
+
[vars$d.deletionTextColor]: dark.color2,
|
18072
|
+
[vars$d.deletionBgColor]: dark.color10,
|
17678
18073
|
},
|
17679
18074
|
};
|
17680
18075
|
|
@@ -17682,36 +18077,36 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
17682
18077
|
__proto__: null,
|
17683
18078
|
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
17684
18079
|
default: CodeSnippet,
|
17685
|
-
vars: vars$
|
18080
|
+
vars: vars$d
|
17686
18081
|
});
|
17687
18082
|
|
17688
|
-
const vars$
|
18083
|
+
const vars$c = RadioGroupClass.cssVarList;
|
17689
18084
|
const globalRefs$7 = getThemeRefs(globals);
|
17690
18085
|
|
17691
18086
|
const radioGroup = {
|
17692
|
-
[vars$
|
17693
|
-
[vars$
|
17694
|
-
[vars$
|
17695
|
-
[vars$
|
17696
|
-
[vars$
|
17697
|
-
[vars$
|
17698
|
-
[vars$
|
17699
|
-
[vars$
|
17700
|
-
[vars$
|
17701
|
-
[vars$
|
18087
|
+
[vars$c.buttonsRowGap]: '9px',
|
18088
|
+
[vars$c.hostWidth]: refs.width,
|
18089
|
+
[vars$c.hostDirection]: refs.direction,
|
18090
|
+
[vars$c.fontSize]: refs.fontSize,
|
18091
|
+
[vars$c.fontFamily]: refs.fontFamily,
|
18092
|
+
[vars$c.labelTextColor]: refs.labelTextColor,
|
18093
|
+
[vars$c.labelRequiredIndicator]: refs.requiredIndicator,
|
18094
|
+
[vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
|
18095
|
+
[vars$c.helperTextColor]: refs.helperTextColor,
|
18096
|
+
[vars$c.itemsLabelColor]: globalRefs$7.colors.surface.contrast,
|
17702
18097
|
|
17703
18098
|
textAlign: {
|
17704
|
-
right: { [vars$
|
17705
|
-
left: { [vars$
|
17706
|
-
center: { [vars$
|
18099
|
+
right: { [vars$c.inputTextAlign]: 'right' },
|
18100
|
+
left: { [vars$c.inputTextAlign]: 'left' },
|
18101
|
+
center: { [vars$c.inputTextAlign]: 'center' },
|
17707
18102
|
},
|
17708
18103
|
|
17709
18104
|
_fullWidth: {
|
17710
|
-
[vars$
|
18105
|
+
[vars$c.buttonsSpacing]: 'space-between',
|
17711
18106
|
},
|
17712
18107
|
|
17713
18108
|
_disabled: {
|
17714
|
-
[vars$
|
18109
|
+
[vars$c.itemsLabelColor]: globalRefs$7.colors.surface.light,
|
17715
18110
|
},
|
17716
18111
|
};
|
17717
18112
|
|
@@ -17719,24 +18114,24 @@ var radioGroup$1 = /*#__PURE__*/Object.freeze({
|
|
17719
18114
|
__proto__: null,
|
17720
18115
|
default: radioGroup,
|
17721
18116
|
radioGroup: radioGroup,
|
17722
|
-
vars: vars$
|
18117
|
+
vars: vars$c
|
17723
18118
|
});
|
17724
18119
|
|
17725
|
-
const vars$
|
18120
|
+
const vars$b = RadioButtonClass.cssVarList;
|
17726
18121
|
const globalRefs$6 = getThemeRefs(globals);
|
17727
18122
|
|
17728
18123
|
const radioButton = {
|
17729
|
-
[vars$
|
17730
|
-
[vars$
|
17731
|
-
[vars$
|
17732
|
-
[vars$
|
17733
|
-
[vars$
|
17734
|
-
[vars$
|
17735
|
-
[vars$
|
17736
|
-
[vars$
|
18124
|
+
[vars$b.fontFamily]: refs.fontFamily,
|
18125
|
+
[vars$b.radioSize]: 'calc(1em + 6px)',
|
18126
|
+
[vars$b.radioMargin]: 'auto 4px',
|
18127
|
+
[vars$b.radioCheckedSize]: `calc(var(${vars$b.radioSize})/5)`,
|
18128
|
+
[vars$b.radioCheckedColor]: globalRefs$6.colors.surface.light,
|
18129
|
+
[vars$b.radioBackgroundColor]: globalRefs$6.colors.surface.light,
|
18130
|
+
[vars$b.radioBorderColor]: 'none',
|
18131
|
+
[vars$b.radioBorderWidth]: 0,
|
17737
18132
|
|
17738
18133
|
_checked: {
|
17739
|
-
[vars$
|
18134
|
+
[vars$b.radioBackgroundColor]: globalRefs$6.colors.surface.contrast,
|
17740
18135
|
},
|
17741
18136
|
|
17742
18137
|
_hover: {
|
@@ -17745,16 +18140,16 @@ const radioButton = {
|
|
17745
18140
|
|
17746
18141
|
size: {
|
17747
18142
|
xs: {
|
17748
|
-
[vars$
|
18143
|
+
[vars$b.fontSize]: '12px',
|
17749
18144
|
},
|
17750
18145
|
sm: {
|
17751
|
-
[vars$
|
18146
|
+
[vars$b.fontSize]: '14px',
|
17752
18147
|
},
|
17753
18148
|
md: {
|
17754
|
-
[vars$
|
18149
|
+
[vars$b.fontSize]: '16px',
|
17755
18150
|
},
|
17756
18151
|
lg: {
|
17757
|
-
[vars$
|
18152
|
+
[vars$b.fontSize]: '18px',
|
17758
18153
|
},
|
17759
18154
|
},
|
17760
18155
|
};
|
@@ -17763,128 +18158,128 @@ var radioButton$1 = /*#__PURE__*/Object.freeze({
|
|
17763
18158
|
__proto__: null,
|
17764
18159
|
default: radioButton,
|
17765
18160
|
radioButton: radioButton,
|
17766
|
-
vars: vars$
|
18161
|
+
vars: vars$b
|
17767
18162
|
});
|
17768
18163
|
|
17769
18164
|
const globalRefs$5 = getThemeRefs(globals);
|
17770
18165
|
|
17771
|
-
const vars$
|
18166
|
+
const vars$a = CalendarClass.cssVarList;
|
17772
18167
|
|
17773
18168
|
const calendar = {
|
17774
|
-
[vars$
|
17775
|
-
[vars$
|
17776
|
-
[vars$
|
18169
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
18170
|
+
[vars$a.fontSize]: refs.fontSize,
|
18171
|
+
[vars$a.hostDirection]: refs.direction,
|
17777
18172
|
|
17778
|
-
[vars$
|
18173
|
+
[vars$a.calendarPadding]: '1em',
|
17779
18174
|
|
17780
|
-
[vars$
|
17781
|
-
[vars$
|
17782
|
-
[vars$
|
17783
|
-
[vars$
|
18175
|
+
[vars$a.topNavVerticalPadding]: '1em',
|
18176
|
+
[vars$a.topNavAlignment]: 'space-between',
|
18177
|
+
[vars$a.topNavGap]: '0',
|
18178
|
+
[vars$a.topNavSelectorsGap]: '0.5em',
|
17784
18179
|
|
17785
|
-
[vars$
|
17786
|
-
[vars$
|
17787
|
-
[vars$
|
17788
|
-
[vars$
|
18180
|
+
[vars$a.bottomNavVerticalPadding]: '0.75em',
|
18181
|
+
[vars$a.bottomNavHorizontalPadding]: '1.5em',
|
18182
|
+
[vars$a.bottomNavAlignment]: 'space-between',
|
18183
|
+
[vars$a.bottomNavGap]: '0.5em',
|
17789
18184
|
|
17790
|
-
[vars$
|
17791
|
-
[vars$
|
17792
|
-
[vars$
|
17793
|
-
[vars$
|
18185
|
+
[vars$a.navMarginBottom]: '0.75em',
|
18186
|
+
[vars$a.navBorderBottomWidth]: '1px',
|
18187
|
+
[vars$a.navBorderBottomColor]: globalRefs$5.colors.surface.highlight,
|
18188
|
+
[vars$a.navBorderBottomStyle]: 'solid',
|
17794
18189
|
|
17795
|
-
[vars$
|
17796
|
-
[vars$
|
18190
|
+
[vars$a.yearInputWidth]: '6em',
|
18191
|
+
[vars$a.monthInputWidth]: '8em',
|
17797
18192
|
|
17798
|
-
[vars$
|
17799
|
-
[vars$
|
18193
|
+
[vars$a.navButtonSize]: '24px',
|
18194
|
+
[vars$a.navButtonCursor]: 'pointer',
|
17800
18195
|
|
17801
|
-
[vars$
|
17802
|
-
[vars$
|
18196
|
+
[vars$a.weekdayFontSize]: '0.875em',
|
18197
|
+
[vars$a.weekdayFontWeight]: '500',
|
17803
18198
|
|
17804
18199
|
// day table cell
|
17805
|
-
[vars$
|
18200
|
+
[vars$a.dayHeight]: '3.125em',
|
17806
18201
|
|
17807
18202
|
// day value
|
17808
|
-
[vars$
|
17809
|
-
[vars$
|
17810
|
-
[vars$
|
17811
|
-
[vars$
|
17812
|
-
[vars$
|
17813
|
-
[vars$
|
17814
|
-
[vars$
|
17815
|
-
[vars$
|
17816
|
-
[vars$
|
17817
|
-
[vars$
|
18203
|
+
[vars$a.daySize]: '2.125em',
|
18204
|
+
[vars$a.dayFontSize]: '1em',
|
18205
|
+
[vars$a.dayRadius]: '50%',
|
18206
|
+
[vars$a.dayTextAlign]: 'center',
|
18207
|
+
[vars$a.dayPadding]: '0',
|
18208
|
+
[vars$a.dayTextColor]: globalRefs$5.colors.surface.contrast,
|
18209
|
+
[vars$a.dayFontWeight]: '500',
|
18210
|
+
[vars$a.dayBackgroundColor]: 'transparent',
|
18211
|
+
[vars$a.dayCursor]: 'pointer',
|
18212
|
+
[vars$a.dayBackgroundColorHover]: globalRefs$5.colors.primary.highlight,
|
17818
18213
|
|
17819
18214
|
// selected day
|
17820
|
-
[vars$
|
17821
|
-
[vars$
|
18215
|
+
[vars$a.daySelectedBackgroundColor]: globalRefs$5.colors.primary.main,
|
18216
|
+
[vars$a.daySelectedTextdColor]: globalRefs$5.colors.primary.contrast,
|
17822
18217
|
|
17823
18218
|
// disabled day (out of min/max range)
|
17824
|
-
[vars$
|
18219
|
+
[vars$a.dayDisabledTextdColor]: globalRefs$5.colors.surface.light,
|
17825
18220
|
|
17826
18221
|
// today
|
17827
|
-
[vars$
|
17828
|
-
[vars$
|
17829
|
-
[vars$
|
18222
|
+
[vars$a.currentDayBorderColor]: globalRefs$5.colors.surface.light,
|
18223
|
+
[vars$a.currentDayBorderWidth]: '1px',
|
18224
|
+
[vars$a.currentDayBorderStyle]: 'solid',
|
17830
18225
|
|
17831
18226
|
size: {
|
17832
|
-
xs: { [vars$
|
17833
|
-
sm: { [vars$
|
17834
|
-
md: { [vars$
|
17835
|
-
lg: { [vars$
|
18227
|
+
xs: { [vars$a.fontSize]: '12px' },
|
18228
|
+
sm: { [vars$a.fontSize]: '14px' },
|
18229
|
+
md: { [vars$a.fontSize]: '16px' },
|
18230
|
+
lg: { [vars$a.fontSize]: '18px' },
|
17836
18231
|
},
|
17837
18232
|
|
17838
|
-
[vars$
|
18233
|
+
[vars$a.navButtonRotation]: 'rotate(180deg)',
|
17839
18234
|
|
17840
18235
|
_disabled: {
|
17841
|
-
[vars$
|
17842
|
-
[vars$
|
17843
|
-
[vars$
|
17844
|
-
[vars$
|
18236
|
+
[vars$a.navButtonOpacity]: '0.5',
|
18237
|
+
[vars$a.dayBackgroundColorHover]: 'none',
|
18238
|
+
[vars$a.navButtonCursor]: 'default',
|
18239
|
+
[vars$a.dayCursor]: 'default',
|
17845
18240
|
},
|
17846
18241
|
|
17847
18242
|
_fullWidth: {
|
17848
|
-
[vars$
|
17849
|
-
[vars$
|
18243
|
+
[vars$a.hostWidth]: '100%',
|
18244
|
+
[vars$a.dayBlockAlign]: '0 auto',
|
17850
18245
|
},
|
17851
18246
|
};
|
17852
18247
|
|
17853
18248
|
var calendar$1 = /*#__PURE__*/Object.freeze({
|
17854
18249
|
__proto__: null,
|
17855
18250
|
default: calendar,
|
17856
|
-
vars: vars$
|
18251
|
+
vars: vars$a
|
17857
18252
|
});
|
17858
18253
|
|
17859
18254
|
const globalRefs$4 = getThemeRefs(globals);
|
17860
18255
|
const shadowColor$1 = '#00000020';
|
17861
18256
|
const { shadow } = globalRefs$4;
|
17862
18257
|
|
17863
|
-
const vars$
|
18258
|
+
const vars$9 = DateFieldClass.cssVarList;
|
17864
18259
|
|
17865
18260
|
const dateField = {
|
17866
|
-
[vars$
|
17867
|
-
[vars$
|
17868
|
-
[vars$
|
17869
|
-
|
17870
|
-
[vars$
|
17871
|
-
[vars$
|
17872
|
-
[vars$
|
17873
|
-
[vars$
|
17874
|
-
[vars$
|
17875
|
-
[vars$
|
17876
|
-
[vars$
|
17877
|
-
[vars$
|
17878
|
-
[vars$
|
17879
|
-
|
17880
|
-
[vars$
|
17881
|
-
[vars$
|
18261
|
+
[vars$9.hostWidth]: refs.width,
|
18262
|
+
[vars$9.hostDirection]: refs.direction,
|
18263
|
+
[vars$9.iconMargin]: '0.375em',
|
18264
|
+
|
18265
|
+
[vars$9.overlay.marginTop]: `calc(${refs.outlineWidth} + 1px)`,
|
18266
|
+
[vars$9.overlay.backgroundColor]: refs.backgroundColor,
|
18267
|
+
[vars$9.overlay.backdropBackgroundColor]: 'transparent',
|
18268
|
+
[vars$9.overlay.backdropPointerEvents]: 'all',
|
18269
|
+
[vars$9.overlay.boxShadow]: `${shadow.wide.xl} ${shadowColor$1}, ${shadow.narrow.xl} ${shadowColor$1}`,
|
18270
|
+
[vars$9.overlay.outlineWidth]: '0',
|
18271
|
+
[vars$9.overlay.outlineColor]: 'transparent',
|
18272
|
+
[vars$9.overlay.outlineStyle]: 'none',
|
18273
|
+
[vars$9.overlay.padding]: '0',
|
18274
|
+
|
18275
|
+
[vars$9.rtlInputDirection]: 'ltr',
|
18276
|
+
[vars$9.rtlInputAlignment]: 'right',
|
17882
18277
|
};
|
17883
18278
|
|
17884
18279
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
17885
18280
|
__proto__: null,
|
17886
18281
|
default: dateField,
|
17887
|
-
vars: vars$
|
18282
|
+
vars: vars$9
|
17888
18283
|
});
|
17889
18284
|
|
17890
18285
|
const globalRefs$3 = getThemeRefs(globals);
|
@@ -17893,7 +18288,7 @@ const compVars = ListClass.cssVarList;
|
|
17893
18288
|
|
17894
18289
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
17895
18290
|
{ shadowColor: '#00000020' },
|
17896
|
-
componentName$
|
18291
|
+
componentName$7
|
17897
18292
|
);
|
17898
18293
|
|
17899
18294
|
const { shadowColor } = helperRefs;
|
@@ -17933,7 +18328,7 @@ const list$1 = {
|
|
17933
18328
|
},
|
17934
18329
|
};
|
17935
18330
|
|
17936
|
-
const vars$
|
18331
|
+
const vars$8 = {
|
17937
18332
|
...compVars,
|
17938
18333
|
...helperVars,
|
17939
18334
|
};
|
@@ -17941,78 +18336,78 @@ const vars$7 = {
|
|
17941
18336
|
var list$2 = /*#__PURE__*/Object.freeze({
|
17942
18337
|
__proto__: null,
|
17943
18338
|
default: list$1,
|
17944
|
-
vars: vars$
|
18339
|
+
vars: vars$8
|
17945
18340
|
});
|
17946
18341
|
|
17947
18342
|
const globalRefs$2 = getThemeRefs(globals);
|
17948
18343
|
|
17949
|
-
const vars$
|
18344
|
+
const vars$7 = ListItemClass.cssVarList;
|
17950
18345
|
|
17951
18346
|
const list = {
|
17952
|
-
[vars$
|
17953
|
-
[vars$
|
17954
|
-
[vars$
|
17955
|
-
[vars$
|
17956
|
-
[vars$
|
17957
|
-
[vars$
|
17958
|
-
[vars$
|
17959
|
-
[vars$
|
17960
|
-
[vars$
|
17961
|
-
[vars$
|
17962
|
-
[vars$
|
18347
|
+
[vars$7.backgroundColor]: globalRefs$2.colors.surface.main,
|
18348
|
+
[vars$7.padding]: globalRefs$2.spacing.lg,
|
18349
|
+
[vars$7.gap]: globalRefs$2.spacing.md,
|
18350
|
+
[vars$7.borderStyle]: 'solid',
|
18351
|
+
[vars$7.borderWidth]: globalRefs$2.border.xs,
|
18352
|
+
[vars$7.borderColor]: globalRefs$2.colors.surface.main,
|
18353
|
+
[vars$7.borderRadius]: globalRefs$2.radius.sm,
|
18354
|
+
[vars$7.cursor]: 'pointer',
|
18355
|
+
[vars$7.alignItems]: 'center',
|
18356
|
+
[vars$7.flexDirection]: 'row',
|
18357
|
+
[vars$7.transition]: 'border-color 0.2s, background-color 0.2s',
|
17963
18358
|
|
17964
18359
|
variant: {
|
17965
18360
|
tile: {
|
17966
|
-
[vars$
|
17967
|
-
[vars$
|
17968
|
-
[vars$
|
18361
|
+
[vars$7.alignItems]: 'flex-start',
|
18362
|
+
[vars$7.flexDirection]: 'column',
|
18363
|
+
[vars$7.borderColor]: globalRefs$2.colors.surface.light,
|
17969
18364
|
},
|
17970
18365
|
},
|
17971
18366
|
|
17972
18367
|
_hover: {
|
17973
|
-
[vars$
|
18368
|
+
[vars$7.backgroundColor]: globalRefs$2.colors.surface.highlight,
|
17974
18369
|
},
|
17975
18370
|
|
17976
18371
|
_active: {
|
17977
|
-
[vars$
|
17978
|
-
[vars$
|
17979
|
-
[vars$
|
18372
|
+
[vars$7.backgroundColor]: globalRefs$2.colors.surface.main,
|
18373
|
+
[vars$7.borderColor]: globalRefs$2.colors.primary.light,
|
18374
|
+
[vars$7.outline]: `1px solid ${globalRefs$2.colors.primary.light}`,
|
17980
18375
|
},
|
17981
18376
|
};
|
17982
18377
|
|
17983
18378
|
var listItem = /*#__PURE__*/Object.freeze({
|
17984
18379
|
__proto__: null,
|
17985
18380
|
default: list,
|
17986
|
-
vars: vars$
|
18381
|
+
vars: vars$7
|
17987
18382
|
});
|
17988
18383
|
|
17989
|
-
const vars$
|
18384
|
+
const vars$6 = AppsListClass.cssVarList;
|
17990
18385
|
const globalRefs$1 = getThemeRefs(globals);
|
17991
18386
|
|
17992
18387
|
const defaultHeight = '400px';
|
17993
18388
|
|
17994
18389
|
const appsList = {
|
17995
|
-
[vars$
|
17996
|
-
[vars$
|
17997
|
-
[vars$
|
17998
|
-
[vars$
|
18390
|
+
[vars$6.itemsFontWeight]: 'normal',
|
18391
|
+
[vars$6.itemsTextAlign]: 'start',
|
18392
|
+
[vars$6.hostDirection]: globalRefs$1.direction,
|
18393
|
+
[vars$6.maxHeight]: defaultHeight,
|
17999
18394
|
|
18000
18395
|
_empty: {
|
18001
|
-
[vars$
|
18396
|
+
[vars$6.minHeight]: defaultHeight,
|
18002
18397
|
},
|
18003
18398
|
|
18004
18399
|
size: {
|
18005
18400
|
xs: {
|
18006
|
-
[vars$
|
18401
|
+
[vars$6.itemsFontSize]: '14px',
|
18007
18402
|
},
|
18008
18403
|
sm: {
|
18009
|
-
[vars$
|
18404
|
+
[vars$6.itemsFontSize]: '14px',
|
18010
18405
|
},
|
18011
18406
|
md: {
|
18012
|
-
[vars$
|
18407
|
+
[vars$6.itemsFontSize]: '16px',
|
18013
18408
|
},
|
18014
18409
|
lg: {
|
18015
|
-
[vars$
|
18410
|
+
[vars$6.itemsFontSize]: '20px',
|
18016
18411
|
},
|
18017
18412
|
},
|
18018
18413
|
};
|
@@ -18020,52 +18415,52 @@ const appsList = {
|
|
18020
18415
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
18021
18416
|
__proto__: null,
|
18022
18417
|
default: appsList,
|
18023
|
-
vars: vars$
|
18418
|
+
vars: vars$6
|
18024
18419
|
});
|
18025
18420
|
|
18026
|
-
const vars$
|
18421
|
+
const vars$5 = ScopesListClass.cssVarList;
|
18027
18422
|
|
18028
18423
|
const scopesList = {
|
18029
|
-
[vars$
|
18030
|
-
[vars$
|
18031
|
-
[vars$
|
18424
|
+
[vars$5.requiredInputBorderColor]: theme$1._disabled[vars$R.borderColor],
|
18425
|
+
[vars$5.requiredInputValueTextColor]: theme$1._disabled[vars$R.valueTextColor],
|
18426
|
+
[vars$5.hostWidth]: '280px',
|
18032
18427
|
_fullWidth: {
|
18033
|
-
[vars$
|
18428
|
+
[vars$5.hostWidth]: '100%',
|
18034
18429
|
},
|
18035
18430
|
};
|
18036
18431
|
|
18037
18432
|
var scopesList$1 = /*#__PURE__*/Object.freeze({
|
18038
18433
|
__proto__: null,
|
18039
18434
|
default: scopesList,
|
18040
|
-
vars: vars$
|
18435
|
+
vars: vars$5
|
18041
18436
|
});
|
18042
18437
|
|
18043
18438
|
const globalRefs = getThemeRefs(globals);
|
18044
|
-
const vars$
|
18439
|
+
const vars$4 = ThirdPartyAppLogoClass.cssVarList;
|
18045
18440
|
|
18046
18441
|
const thirdPartyAppLogo = {
|
18047
|
-
[vars$
|
18048
|
-
[vars$
|
18049
|
-
[vars$
|
18442
|
+
[vars$4.gap]: globalRefs.spacing.lg,
|
18443
|
+
[vars$4.arrowsColor]: globalRefs.colors.surface.dark,
|
18444
|
+
[vars$4.thirdPartyAppLogoFallback]:
|
18050
18445
|
'url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)',
|
18051
|
-
[vars$
|
18446
|
+
[vars$4.companyLogoFallback]:
|
18052
18447
|
'url(https://imgs.descope.com/components/project-logo-placeholder.svg)',
|
18053
18448
|
size: {
|
18054
18449
|
xs: {
|
18055
|
-
[vars$
|
18056
|
-
[vars$
|
18450
|
+
[vars$4.logoMaxHeight]: '30px',
|
18451
|
+
[vars$4.logoMaxWidth]: '120px',
|
18057
18452
|
},
|
18058
18453
|
sm: {
|
18059
|
-
[vars$
|
18060
|
-
[vars$
|
18454
|
+
[vars$4.logoMaxHeight]: '40px',
|
18455
|
+
[vars$4.logoMaxWidth]: '160px',
|
18061
18456
|
},
|
18062
18457
|
md: {
|
18063
|
-
[vars$
|
18064
|
-
[vars$
|
18458
|
+
[vars$4.logoMaxHeight]: '48px',
|
18459
|
+
[vars$4.logoMaxWidth]: '200px',
|
18065
18460
|
},
|
18066
18461
|
lg: {
|
18067
|
-
[vars$
|
18068
|
-
[vars$
|
18462
|
+
[vars$4.logoMaxHeight]: '60px',
|
18463
|
+
[vars$4.logoMaxWidth]: '240px',
|
18069
18464
|
},
|
18070
18465
|
},
|
18071
18466
|
};
|
@@ -18073,39 +18468,55 @@ const thirdPartyAppLogo = {
|
|
18073
18468
|
var thirdPartyAppLogo$1 = /*#__PURE__*/Object.freeze({
|
18074
18469
|
__proto__: null,
|
18075
18470
|
default: thirdPartyAppLogo,
|
18076
|
-
vars: vars$
|
18471
|
+
vars: vars$4
|
18077
18472
|
});
|
18078
18473
|
|
18079
|
-
const vars$
|
18474
|
+
const vars$3 = SecurityQuestionsSetupClass.cssVarList;
|
18080
18475
|
|
18081
18476
|
const securityQuestionsSetup = {
|
18082
|
-
[vars$
|
18477
|
+
[vars$3.hostWidth]: 'fit-content',
|
18083
18478
|
_fullWidth: {
|
18084
|
-
[vars$
|
18479
|
+
[vars$3.hostWidth]: '100%',
|
18085
18480
|
},
|
18086
18481
|
};
|
18087
18482
|
|
18088
18483
|
var securityQuestionsSetup$1 = /*#__PURE__*/Object.freeze({
|
18089
18484
|
__proto__: null,
|
18090
18485
|
default: securityQuestionsSetup,
|
18091
|
-
vars: vars$
|
18486
|
+
vars: vars$3
|
18092
18487
|
});
|
18093
18488
|
|
18094
|
-
const vars$
|
18489
|
+
const vars$2 = SecurityQuestionsVerifyClass.cssVarList;
|
18095
18490
|
|
18096
18491
|
const securityQuestionsVerify = {
|
18097
|
-
[vars$
|
18098
|
-
[vars$
|
18492
|
+
[vars$2.hostWidth]: 'min-content',
|
18493
|
+
[vars$2.questionCursor]: 'pointer',
|
18099
18494
|
_fullWidth: {
|
18100
|
-
[vars$
|
18495
|
+
[vars$2.hostWidth]: '100%',
|
18101
18496
|
},
|
18102
|
-
[vars$
|
18103
|
-
[vars$
|
18497
|
+
[vars$2.questionFontSize]: refs.fontSize,
|
18498
|
+
[vars$2.questionFontFamily]: refs.fontFamily,
|
18104
18499
|
};
|
18105
18500
|
|
18106
18501
|
var securityQuestionsVerify$1 = /*#__PURE__*/Object.freeze({
|
18107
18502
|
__proto__: null,
|
18108
18503
|
default: securityQuestionsVerify,
|
18504
|
+
vars: vars$2
|
18505
|
+
});
|
18506
|
+
|
18507
|
+
const vars$1 = HybridFieldClass.cssVarList;
|
18508
|
+
|
18509
|
+
const hybridField = {
|
18510
|
+
[vars$1.hostDirection]: refs.direction,
|
18511
|
+
|
18512
|
+
_fullWidth: {
|
18513
|
+
[vars$1.hostWidth]: '100%',
|
18514
|
+
},
|
18515
|
+
};
|
18516
|
+
|
18517
|
+
var hybridField$1 = /*#__PURE__*/Object.freeze({
|
18518
|
+
__proto__: null,
|
18519
|
+
default: hybridField,
|
18109
18520
|
vars: vars$1
|
18110
18521
|
});
|
18111
18522
|
|
@@ -18163,6 +18574,7 @@ const components = {
|
|
18163
18574
|
thirdPartyAppLogo: thirdPartyAppLogo$1,
|
18164
18575
|
securityQuestionsSetup: securityQuestionsSetup$1,
|
18165
18576
|
securityQuestionsVerify: securityQuestionsVerify$1,
|
18577
|
+
hybridField: hybridField$1,
|
18166
18578
|
};
|
18167
18579
|
|
18168
18580
|
const theme = Object.keys(components).reduce(
|
@@ -18175,7 +18587,7 @@ const vars = Object.keys(components).reduce(
|
|
18175
18587
|
);
|
18176
18588
|
|
18177
18589
|
const defaultTheme = { globals, components: theme };
|
18178
|
-
const themeVars = { globals: vars$
|
18590
|
+
const themeVars = { globals: vars$T, components: vars };
|
18179
18591
|
|
18180
18592
|
const colors = {
|
18181
18593
|
surface: {
|
@@ -18224,5 +18636,5 @@ const darkTheme = merge({}, defaultTheme, {
|
|
18224
18636
|
},
|
18225
18637
|
});
|
18226
18638
|
|
18227
|
-
export { AppsListClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, ComboBoxClass, ContainerClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, IconClass, ImageClass, LinkClass, ListClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
18639
|
+
export { AppsListClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, ComboBoxClass, ContainerClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
18228
18640
|
//# sourceMappingURL=index.esm.js.map
|