@descope/web-components-ui 1.0.386 → 1.0.388
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 +1361 -1238
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1326 -1202
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/8980.js +5 -2
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/descope-apps-list-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/descope-scopes-list-index-js.js +2 -0
- package/dist/umd/descope-scopes-list-index-js.js.LICENSE.txt +5 -0
- package/dist/umd/index.js +1 -1
- package/package.json +2 -2
- package/src/components/boolean-fields/commonStyles.js +1 -2
- package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +6 -0
- package/src/components/descope-date-field/DateFieldClass.js +66 -44
- package/src/components/descope-date-field/descope-calendar/CalendarClass.js +2 -2
- package/src/components/descope-scopes-list/ScopesListClass.js +111 -0
- package/src/components/descope-scopes-list/index.js +7 -0
- package/src/index.cjs.js +1 -0
- package/src/index.js +1 -0
- package/src/mixins/createDynamicDataMixin.js +9 -28
- package/src/theme/components/checkbox.js +1 -8
- package/src/theme/components/dateField.js +0 -1
- package/src/theme/components/index.js +2 -0
- package/src/theme/components/scopesList.js +15 -0
package/dist/index.esm.js
CHANGED
@@ -1715,9 +1715,9 @@ const createIcon = async (src) => {
|
|
1715
1715
|
|
1716
1716
|
/* eslint-disable no-use-before-define */
|
1717
1717
|
|
1718
|
-
const componentName$
|
1718
|
+
const componentName$11 = getComponentName('icon');
|
1719
1719
|
|
1720
|
-
class RawIcon extends createBaseClass({ componentName: componentName$
|
1720
|
+
class RawIcon extends createBaseClass({ componentName: componentName$11, baseSelector: 'slot' }) {
|
1721
1721
|
static get observedAttributes() {
|
1722
1722
|
return ['src'];
|
1723
1723
|
}
|
@@ -1802,7 +1802,7 @@ const clickableMixin = (superclass) =>
|
|
1802
1802
|
}
|
1803
1803
|
};
|
1804
1804
|
|
1805
|
-
const componentName
|
1805
|
+
const componentName$10 = getComponentName('button');
|
1806
1806
|
|
1807
1807
|
const resetStyles = `
|
1808
1808
|
:host {
|
@@ -1918,7 +1918,7 @@ const ButtonClass = compose(
|
|
1918
1918
|
}
|
1919
1919
|
`,
|
1920
1920
|
excludeAttrsSync: ['tabindex'],
|
1921
|
-
componentName: componentName
|
1921
|
+
componentName: componentName$10,
|
1922
1922
|
})
|
1923
1923
|
);
|
1924
1924
|
|
@@ -1955,7 +1955,7 @@ loadingIndicatorStyles = `
|
|
1955
1955
|
}
|
1956
1956
|
`;
|
1957
1957
|
|
1958
|
-
customElements.define(componentName
|
1958
|
+
customElements.define(componentName$10, ButtonClass);
|
1959
1959
|
|
1960
1960
|
const createBaseInputClass = (...args) =>
|
1961
1961
|
compose(
|
@@ -1965,11 +1965,11 @@ const createBaseInputClass = (...args) =>
|
|
1965
1965
|
inputEventsDispatchingMixin
|
1966
1966
|
)(createBaseClass(...args));
|
1967
1967
|
|
1968
|
-
const componentName
|
1968
|
+
const componentName$$ = getComponentName('boolean-field-internal');
|
1969
1969
|
|
1970
1970
|
const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
|
1971
1971
|
|
1972
|
-
const BaseInputClass$a = createBaseInputClass({ componentName: componentName
|
1972
|
+
const BaseInputClass$a = createBaseInputClass({ componentName: componentName$$, baseSelector: 'div' });
|
1973
1973
|
|
1974
1974
|
class BooleanInputInternal extends BaseInputClass$a {
|
1975
1975
|
static get observedAttributes() {
|
@@ -2045,14 +2045,14 @@ const booleanFieldMixin = (superclass) =>
|
|
2045
2045
|
|
2046
2046
|
const template = document.createElement('template');
|
2047
2047
|
template.innerHTML = `
|
2048
|
-
<${componentName
|
2048
|
+
<${componentName$$}
|
2049
2049
|
tabindex="-1"
|
2050
2050
|
slot="input"
|
2051
|
-
></${componentName
|
2051
|
+
></${componentName$$}>
|
2052
2052
|
`;
|
2053
2053
|
|
2054
2054
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
2055
|
-
this.inputElement = this.shadowRoot.querySelector(componentName
|
2055
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$$);
|
2056
2056
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
2057
2057
|
|
2058
2058
|
forwardAttrs(this, this.inputElement, {
|
@@ -2235,8 +2235,7 @@ vaadin-text-field {
|
|
2235
2235
|
align-items: flex-start;
|
2236
2236
|
}
|
2237
2237
|
vaadin-text-field::before {
|
2238
|
-
|
2239
|
-
margin: 0;
|
2238
|
+
content: unset;
|
2240
2239
|
}
|
2241
2240
|
vaadin-text-field::part(label) {
|
2242
2241
|
position: absolute;
|
@@ -2267,7 +2266,7 @@ descope-boolean-field-internal {
|
|
2267
2266
|
}
|
2268
2267
|
`;
|
2269
2268
|
|
2270
|
-
const componentName$
|
2269
|
+
const componentName$_ = getComponentName('checkbox');
|
2271
2270
|
|
2272
2271
|
const {
|
2273
2272
|
host: host$n,
|
@@ -2343,6 +2342,7 @@ const CheckboxClass = compose(
|
|
2343
2342
|
:host {
|
2344
2343
|
display: inline-flex;
|
2345
2344
|
max-width: 100%;
|
2345
|
+
margin: 1px;
|
2346
2346
|
}
|
2347
2347
|
|
2348
2348
|
:host ::part(error-message) {
|
@@ -2366,6 +2366,11 @@ const CheckboxClass = compose(
|
|
2366
2366
|
vaadin-checkbox::part(checkbox)::after {
|
2367
2367
|
top: 0;
|
2368
2368
|
left: 0;
|
2369
|
+
-webkit-text-fill-color: initial;
|
2370
|
+
}
|
2371
|
+
|
2372
|
+
vaadin-checkbox label {
|
2373
|
+
-webkit-text-fill-color: initial;
|
2369
2374
|
}
|
2370
2375
|
|
2371
2376
|
vaadin-text-field::part(input-field)::after {
|
@@ -2373,15 +2378,15 @@ const CheckboxClass = compose(
|
|
2373
2378
|
}
|
2374
2379
|
`,
|
2375
2380
|
excludeAttrsSync: ['label', 'tabindex'],
|
2376
|
-
componentName: componentName$
|
2381
|
+
componentName: componentName$_,
|
2377
2382
|
})
|
2378
2383
|
);
|
2379
2384
|
|
2380
|
-
customElements.define(componentName
|
2385
|
+
customElements.define(componentName$$, BooleanInputInternal);
|
2381
2386
|
|
2382
|
-
customElements.define(componentName$
|
2387
|
+
customElements.define(componentName$_, CheckboxClass);
|
2383
2388
|
|
2384
|
-
const componentName$
|
2389
|
+
const componentName$Z = getComponentName('switch-toggle');
|
2385
2390
|
|
2386
2391
|
const {
|
2387
2392
|
host: host$m,
|
@@ -2513,17 +2518,17 @@ const SwitchToggleClass = compose(
|
|
2513
2518
|
}
|
2514
2519
|
`,
|
2515
2520
|
excludeAttrsSync: ['label', 'tabindex'],
|
2516
|
-
componentName: componentName$
|
2521
|
+
componentName: componentName$Z,
|
2517
2522
|
})
|
2518
2523
|
);
|
2519
2524
|
|
2520
|
-
customElements.define(componentName$
|
2525
|
+
customElements.define(componentName$Z, SwitchToggleClass);
|
2521
2526
|
|
2522
|
-
const componentName$
|
2527
|
+
const componentName$Y = getComponentName('loader-linear');
|
2523
2528
|
|
2524
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
2529
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$Y, baseSelector: ':host > div' }) {
|
2525
2530
|
static get componentName() {
|
2526
|
-
return componentName$
|
2531
|
+
return componentName$Y;
|
2527
2532
|
}
|
2528
2533
|
|
2529
2534
|
constructor() {
|
@@ -2584,11 +2589,11 @@ const LoaderLinearClass = compose(
|
|
2584
2589
|
componentNameValidationMixin
|
2585
2590
|
)(RawLoaderLinear);
|
2586
2591
|
|
2587
|
-
customElements.define(componentName$
|
2592
|
+
customElements.define(componentName$Y, LoaderLinearClass);
|
2588
2593
|
|
2589
|
-
const componentName$
|
2594
|
+
const componentName$X = getComponentName('loader-radial');
|
2590
2595
|
|
2591
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
2596
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$X, baseSelector: ':host > div' }) {
|
2592
2597
|
constructor() {
|
2593
2598
|
super();
|
2594
2599
|
|
@@ -2632,11 +2637,11 @@ const LoaderRadialClass = compose(
|
|
2632
2637
|
componentNameValidationMixin
|
2633
2638
|
)(RawLoaderRadial);
|
2634
2639
|
|
2635
|
-
customElements.define(componentName$
|
2640
|
+
customElements.define(componentName$X, LoaderRadialClass);
|
2636
2641
|
|
2637
|
-
const componentName$
|
2642
|
+
const componentName$W = getComponentName('container');
|
2638
2643
|
|
2639
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
2644
|
+
class RawContainer extends createBaseClass({ componentName: componentName$W, baseSelector: 'slot' }) {
|
2640
2645
|
constructor() {
|
2641
2646
|
super();
|
2642
2647
|
|
@@ -2689,9 +2694,9 @@ const ContainerClass = compose(
|
|
2689
2694
|
componentNameValidationMixin
|
2690
2695
|
)(RawContainer);
|
2691
2696
|
|
2692
|
-
customElements.define(componentName$
|
2697
|
+
customElements.define(componentName$W, ContainerClass);
|
2693
2698
|
|
2694
|
-
const componentName$
|
2699
|
+
const componentName$V = getComponentName('combo-box');
|
2695
2700
|
|
2696
2701
|
const ComboBoxMixin = (superclass) =>
|
2697
2702
|
class ComboBoxMixinClass extends superclass {
|
@@ -3136,14 +3141,14 @@ const ComboBoxClass = compose(
|
|
3136
3141
|
// and reset items to an empty array, and opening the list box with no items
|
3137
3142
|
// to display.
|
3138
3143
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
3139
|
-
componentName: componentName$
|
3144
|
+
componentName: componentName$V,
|
3140
3145
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
3141
3146
|
})
|
3142
3147
|
);
|
3143
3148
|
|
3144
|
-
customElements.define(componentName$
|
3149
|
+
customElements.define(componentName$V, ComboBoxClass);
|
3145
3150
|
|
3146
|
-
customElements.define(componentName$
|
3151
|
+
customElements.define(componentName$11, IconClass);
|
3147
3152
|
|
3148
3153
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
3149
3154
|
|
@@ -3460,7 +3465,7 @@ const nextMonth = (timestamp) => {
|
|
3460
3465
|
return date;
|
3461
3466
|
};
|
3462
3467
|
|
3463
|
-
const componentName$
|
3468
|
+
const componentName$U = getComponentName('calendar');
|
3464
3469
|
|
3465
3470
|
const observedAttrs$2 = [
|
3466
3471
|
'initial-value',
|
@@ -3477,7 +3482,7 @@ const observedAttrs$2 = [
|
|
3477
3482
|
|
3478
3483
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
3479
3484
|
|
3480
|
-
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$
|
3485
|
+
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$U, baseSelector: 'div' });
|
3481
3486
|
|
3482
3487
|
class RawCalendar extends BaseInputClass$9 {
|
3483
3488
|
static get observedAttributes() {
|
@@ -3961,8 +3966,8 @@ const {
|
|
3961
3966
|
weekday: { selector: () => '.weekday' },
|
3962
3967
|
navPrev: { selector: () => '.nav-prev' },
|
3963
3968
|
navNext: { selector: () => '.nav-next' },
|
3964
|
-
navPrevRTL: { selector: () => ':host(
|
3965
|
-
navNextRTL: { selector: () => ':host(
|
3969
|
+
navPrevRTL: { selector: () => ':host([st-host-direction="rtl"]) .nav-prev' },
|
3970
|
+
navNextRTL: { selector: () => ':host([st-host-direction="rtl"]) .nav-next' },
|
3966
3971
|
yearInput: { selector: () => '.year-input' },
|
3967
3972
|
monthInput: { selector: () => '.month-input' },
|
3968
3973
|
};
|
@@ -4090,7 +4095,7 @@ const CalendarClass = compose(
|
|
4090
4095
|
componentNameValidationMixin
|
4091
4096
|
)(RawCalendar);
|
4092
4097
|
|
4093
|
-
customElements.define(componentName$
|
4098
|
+
customElements.define(componentName$U, CalendarClass);
|
4094
4099
|
|
4095
4100
|
const {
|
4096
4101
|
host: host$j,
|
@@ -4237,7 +4242,7 @@ var textFieldMappings = {
|
|
4237
4242
|
inputIconColor: { ...inputIcon, property: 'color' },
|
4238
4243
|
};
|
4239
4244
|
|
4240
|
-
const componentName$
|
4245
|
+
const componentName$T = getComponentName('text-field');
|
4241
4246
|
|
4242
4247
|
const observedAttrs$1 = ['type', 'label-type', 'copy-to-clipboard'];
|
4243
4248
|
|
@@ -4359,11 +4364,11 @@ const TextFieldClass = compose(
|
|
4359
4364
|
}
|
4360
4365
|
`,
|
4361
4366
|
excludeAttrsSync: ['tabindex'],
|
4362
|
-
componentName: componentName$
|
4367
|
+
componentName: componentName$T,
|
4363
4368
|
})
|
4364
4369
|
);
|
4365
4370
|
|
4366
|
-
customElements.define(componentName$
|
4371
|
+
customElements.define(componentName$T, TextFieldClass);
|
4367
4372
|
|
4368
4373
|
const patterns = {
|
4369
4374
|
MM: '(0?[1-9]|1[0-2])',
|
@@ -4496,14 +4501,14 @@ class DateCounter {
|
|
4496
4501
|
}
|
4497
4502
|
}
|
4498
4503
|
|
4499
|
-
const componentName$
|
4504
|
+
const componentName$S = getComponentName('date-field');
|
4500
4505
|
|
4501
4506
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
4502
4507
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
4503
4508
|
const BASE_SELECTOR = 'vaadin-popover';
|
4504
|
-
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$
|
4509
|
+
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$S, baseSelector: BASE_SELECTOR });
|
4505
4510
|
|
4506
|
-
const dateFieldAttrs = ['format', 'opened', 'initial-value'];
|
4511
|
+
const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly'];
|
4507
4512
|
const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
|
4508
4513
|
const observedAttrs = [...dateFieldAttrs, ...calendarAttrs];
|
4509
4514
|
|
@@ -4545,19 +4550,16 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4545
4550
|
display: flex;
|
4546
4551
|
align-self: center;
|
4547
4552
|
z-index: 1;
|
4553
|
+
height: 100%;
|
4554
|
+
align-items: center;
|
4548
4555
|
}
|
4549
4556
|
|
4550
|
-
|
4551
|
-
position: absolute;
|
4552
|
-
height: 100%;
|
4553
|
-
width: 0;
|
4554
|
-
z-index: 1;
|
4557
|
+
:host([readonly="true"]) .toggle-calendar {
|
4555
4558
|
pointer-events: none;
|
4556
4559
|
}
|
4557
4560
|
</style>
|
4558
4561
|
<div>
|
4559
4562
|
<descope-text-field>
|
4560
|
-
<span slot="prefix" class="overlay-position-anchor"></span>
|
4561
4563
|
<span slot="suffix" class="toggle-calendar">
|
4562
4564
|
<descope-icon>${calendarIcon}</descope-icon>
|
4563
4565
|
</span>
|
@@ -4568,7 +4570,6 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4568
4570
|
|
4569
4571
|
this.inputElement = this.shadowRoot.querySelector('descope-text-field');
|
4570
4572
|
this.popoverToggleButton = this.inputElement.querySelector('.toggle-calendar');
|
4571
|
-
this.overlayPositionAnchor = this.inputElement.querySelector('.overlay-position-anchor');
|
4572
4573
|
|
4573
4574
|
this.oninvalid = () => {
|
4574
4575
|
this.inputElement.setAttribute('invalid', 'true');
|
@@ -4617,6 +4618,17 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4617
4618
|
return this.overlay?.querySelector('descope-calendar');
|
4618
4619
|
}
|
4619
4620
|
|
4621
|
+
get isRTL() {
|
4622
|
+
const computedStyleDirection = getComputedStyle(this.baseElement).getPropertyValue('direction');
|
4623
|
+
|
4624
|
+
if (computedStyleDirection) {
|
4625
|
+
return computedStyleDirection === 'rtl';
|
4626
|
+
}
|
4627
|
+
|
4628
|
+
// Fallback: If for some reason computed style was not calculated in time, fallback to check on attribute
|
4629
|
+
return this.getAttribute('st-host-direction') === 'rtl';
|
4630
|
+
}
|
4631
|
+
|
4620
4632
|
get value() {
|
4621
4633
|
return this.timestamp;
|
4622
4634
|
}
|
@@ -4697,10 +4709,8 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4697
4709
|
}
|
4698
4710
|
|
4699
4711
|
initPopover() {
|
4700
|
-
this.baseElement.target = this.overlayPositionAnchor;
|
4701
4712
|
this.baseElement.trigger = ['click'];
|
4702
4713
|
this.baseElement.withBackdrop = true;
|
4703
|
-
this.baseElement.noCloseOnOutsideClick = true;
|
4704
4714
|
this.baseElement.renderer = this.#popoverRenderer.bind(this);
|
4705
4715
|
|
4706
4716
|
// block popover events from focusing/blurring the text-field
|
@@ -4710,32 +4720,64 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4710
4720
|
});
|
4711
4721
|
}
|
4712
4722
|
|
4723
|
+
#popoverPosStylesheet;
|
4724
|
+
|
4713
4725
|
#popoverRenderer(root) {
|
4714
4726
|
// popoverRenderer should run only once, when the popover is first rendering.
|
4715
4727
|
if (!root.firstChild) {
|
4728
|
+
this.overlay.positionTarget = this.shadowRoot.querySelector('.toggle-calendar');
|
4729
|
+
|
4716
4730
|
root.appendChild(this.#getPopoverContent());
|
4731
|
+
|
4717
4732
|
// override vaadin's constructed stylesheet which hides the host element
|
4718
4733
|
overrideConstructedStylesheet(this.baseElement);
|
4719
4734
|
|
4720
|
-
|
4721
|
-
|
4735
|
+
this.backdrop.addEventListener('click', this.closePopover.bind(this));
|
4736
|
+
}
|
4722
4737
|
|
4723
|
-
|
4724
|
-
|
4725
|
-
// so vaadin computes the popover position according to the anchor position
|
4726
|
-
// (otherwise it will simply center the popover below the input).
|
4727
|
-
this.#adjustOverlayPosition();
|
4738
|
+
// Hide overlay before adjusting position to prevent flickering
|
4739
|
+
root.style.setProperty('visibility', 'hidden');
|
4728
4740
|
|
4729
|
-
|
4730
|
-
|
4741
|
+
// Wait until overlay is ready
|
4742
|
+
setTimeout(() => {
|
4743
|
+
this.#adjustPopoverPosition(root);
|
4731
4744
|
|
4732
|
-
|
4733
|
-
|
4734
|
-
|
4735
|
-
|
4745
|
+
// Show adjusted overlay
|
4746
|
+
root.style.setProperty('visibility', 'visible');
|
4747
|
+
this.updateCalendarView(root);
|
4748
|
+
}, 100);
|
4749
|
+
}
|
4750
|
+
|
4751
|
+
#adjustPopoverPosition() {
|
4752
|
+
const popover = this.shadowRoot.querySelector('vaadin-popover').shadowRoot;
|
4753
|
+
|
4754
|
+
// Remove previously added stylesheets
|
4755
|
+
this.#popoverPosStylesheet?.remove();
|
4756
|
+
|
4757
|
+
const windowRect = document.body.getBoundingClientRect();
|
4758
|
+
const inputRect = this.getBoundingClientRect();
|
4759
|
+
const calendarRect = this.calendar.getBoundingClientRect();
|
4760
|
+
|
4761
|
+
const side = this.isRTL ? 'right' : 'left';
|
4762
|
+
const offset = inputRect[side] - calendarRect[side];
|
4763
|
+
const availableLeft = calendarRect.left;
|
4764
|
+
const availableRight = windowRect.width - calendarRect.right;
|
4765
|
+
|
4766
|
+
let newOffset;
|
4767
|
+
if (offset > 0) {
|
4768
|
+
newOffset = Math.min(offset, availableRight);
|
4769
|
+
} else {
|
4770
|
+
newOffset = Math.min(Math.abs(offset), availableLeft) * -1;
|
4736
4771
|
}
|
4737
4772
|
|
4738
|
-
this.
|
4773
|
+
this.#popoverPosStylesheet = document.createElement('style');
|
4774
|
+
this.#popoverPosStylesheet.innerHTML = `
|
4775
|
+
vaadin-popover-overlay::part(overlay) {
|
4776
|
+
transform: translateX(${newOffset}px);
|
4777
|
+
}
|
4778
|
+
`;
|
4779
|
+
|
4780
|
+
popover.appendChild(this.#popoverPosStylesheet);
|
4739
4781
|
}
|
4740
4782
|
|
4741
4783
|
#getPopoverContent() {
|
@@ -4751,17 +4793,6 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4751
4793
|
return ele;
|
4752
4794
|
}
|
4753
4795
|
|
4754
|
-
#adjustOverlayPosition() {
|
4755
|
-
const { width: inputEleWidth } = this.inputElement.getClientRects()[0];
|
4756
|
-
const { width: calendarEleWidth } = this.calendar.getClientRects()[0];
|
4757
|
-
const pos = inputEleWidth - calendarEleWidth / 2;
|
4758
|
-
/* eslint-disable no-use-before-define */
|
4759
|
-
this.overlayPositionAnchor.style.setProperty(
|
4760
|
-
DateFieldClass.cssVarList.overlayAnchorPos,
|
4761
|
-
`${pos}px`
|
4762
|
-
);
|
4763
|
-
}
|
4764
|
-
|
4765
4796
|
// the default vaadin behavior is to attach the overlay to the body when opened
|
4766
4797
|
// we do not want that because it's difficult to style the overlay in this way
|
4767
4798
|
// so we override it to open inside the shadow DOM
|
@@ -4845,6 +4876,10 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
4845
4876
|
}
|
4846
4877
|
|
4847
4878
|
onFocus() {
|
4879
|
+
if (this.isReadOnly) {
|
4880
|
+
return;
|
4881
|
+
}
|
4882
|
+
|
4848
4883
|
if (!this.inputElement.value) {
|
4849
4884
|
this.inputElement.value = this.format;
|
4850
4885
|
this.setInputSelectionRange();
|
@@ -5082,12 +5117,10 @@ class RawDateFieldClass extends BaseInputClass$8 {
|
|
5082
5117
|
}
|
5083
5118
|
}
|
5084
5119
|
|
5085
|
-
const { host: host$i, input, toggleButton,
|
5120
|
+
const { host: host$i, input, toggleButton, overlay, backdrop } = {
|
5086
5121
|
host: { selector: () => ':host' },
|
5087
5122
|
input: { selector: () => 'descope-text-field' },
|
5088
5123
|
toggleButton: { selector: () => '.toggle-calendar' },
|
5089
|
-
overlayAnchor: { selector: () => ':host .overlay-position-anchor' },
|
5090
|
-
overlayAnchorRTL: { selector: ':host([st-host-direction="rtl"]) .overlay-position-anchor' },
|
5091
5124
|
overlay: { selector: 'vaadin-popover-overlay::part(overlay)' },
|
5092
5125
|
backdrop: { selector: 'vaadin-popover-overlay::part(backdrop)' },
|
5093
5126
|
};
|
@@ -5100,14 +5133,9 @@ const DateFieldClass = compose(
|
|
5100
5133
|
hostWidth: { ...host$i, property: 'width' },
|
5101
5134
|
hostDirection: { ...host$i, property: 'direction' },
|
5102
5135
|
textAlign: { ...input, property: 'text-align' },
|
5103
|
-
overlayAnchorPos: [
|
5104
|
-
{ ...overlayAnchor, property: 'right' },
|
5105
|
-
{ ...overlayAnchorRTL, property: 'left' },
|
5106
|
-
],
|
5107
5136
|
overlayGap: {
|
5108
5137
|
property: () => DateFieldClass.cssVarList.overlayGap,
|
5109
5138
|
},
|
5110
|
-
|
5111
5139
|
overlayBackgroundColor: {
|
5112
5140
|
property: () => DateFieldClass.cssVarList.overlayBackgroundColor,
|
5113
5141
|
},
|
@@ -5139,18 +5167,17 @@ const DateFieldClass = compose(
|
|
5139
5167
|
outlineWidth: { ...overlay },
|
5140
5168
|
outlineColor: { ...overlay },
|
5141
5169
|
outlineStyle: { ...overlay },
|
5142
|
-
direction: { ...overlay },
|
5143
5170
|
},
|
5144
5171
|
}),
|
5145
5172
|
draggableMixin,
|
5146
5173
|
componentNameValidationMixin
|
5147
5174
|
)(RawDateFieldClass);
|
5148
5175
|
|
5149
|
-
customElements.define(componentName$
|
5176
|
+
customElements.define(componentName$S, DateFieldClass);
|
5150
5177
|
|
5151
|
-
const componentName$
|
5178
|
+
const componentName$R = getComponentName('text');
|
5152
5179
|
|
5153
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
5180
|
+
class RawText extends createBaseClass({ componentName: componentName$R, baseSelector: ':host > slot' }) {
|
5154
5181
|
constructor() {
|
5155
5182
|
super();
|
5156
5183
|
|
@@ -5207,8 +5234,8 @@ const TextClass = compose(
|
|
5207
5234
|
componentNameValidationMixin
|
5208
5235
|
)(RawText);
|
5209
5236
|
|
5210
|
-
const componentName$
|
5211
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
5237
|
+
const componentName$Q = getComponentName('divider');
|
5238
|
+
class RawDivider extends createBaseClass({ componentName: componentName$Q, baseSelector: ':host > div' }) {
|
5212
5239
|
constructor() {
|
5213
5240
|
super();
|
5214
5241
|
|
@@ -5307,11 +5334,11 @@ const DividerClass = compose(
|
|
5307
5334
|
componentNameValidationMixin
|
5308
5335
|
)(RawDivider);
|
5309
5336
|
|
5310
|
-
customElements.define(componentName$
|
5337
|
+
customElements.define(componentName$R, TextClass);
|
5311
5338
|
|
5312
|
-
customElements.define(componentName$
|
5339
|
+
customElements.define(componentName$Q, DividerClass);
|
5313
5340
|
|
5314
|
-
const componentName$
|
5341
|
+
const componentName$P = getComponentName('email-field');
|
5315
5342
|
|
5316
5343
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
5317
5344
|
const defaultAutocomplete = 'username';
|
@@ -5379,15 +5406,15 @@ const EmailFieldClass = compose(
|
|
5379
5406
|
}
|
5380
5407
|
`,
|
5381
5408
|
excludeAttrsSync: ['tabindex'],
|
5382
|
-
componentName: componentName$
|
5409
|
+
componentName: componentName$P,
|
5383
5410
|
})
|
5384
5411
|
);
|
5385
5412
|
|
5386
|
-
customElements.define(componentName$
|
5413
|
+
customElements.define(componentName$P, EmailFieldClass);
|
5387
5414
|
|
5388
|
-
const componentName$
|
5415
|
+
const componentName$O = getComponentName('link');
|
5389
5416
|
|
5390
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
5417
|
+
class RawLink extends createBaseClass({ componentName: componentName$O, baseSelector: ':host a' }) {
|
5391
5418
|
constructor() {
|
5392
5419
|
super();
|
5393
5420
|
|
@@ -5451,7 +5478,7 @@ const LinkClass = compose(
|
|
5451
5478
|
componentNameValidationMixin
|
5452
5479
|
)(RawLink);
|
5453
5480
|
|
5454
|
-
customElements.define(componentName$
|
5481
|
+
customElements.define(componentName$O, LinkClass);
|
5455
5482
|
|
5456
5483
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
5457
5484
|
let style;
|
@@ -5503,37 +5530,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
5503
5530
|
return CssVarImageClass;
|
5504
5531
|
};
|
5505
5532
|
|
5506
|
-
const componentName$
|
5533
|
+
const componentName$N = getComponentName('logo');
|
5507
5534
|
|
5508
5535
|
const LogoClass = createCssVarImageClass({
|
5509
|
-
componentName: componentName$
|
5536
|
+
componentName: componentName$N,
|
5510
5537
|
varName: 'url',
|
5511
5538
|
fallbackVarName: 'fallbackUrl',
|
5512
5539
|
});
|
5513
5540
|
|
5514
|
-
customElements.define(componentName$
|
5541
|
+
customElements.define(componentName$N, LogoClass);
|
5515
5542
|
|
5516
|
-
const componentName$
|
5543
|
+
const componentName$M = getComponentName('totp-image');
|
5517
5544
|
|
5518
5545
|
const TotpImageClass = createCssVarImageClass({
|
5519
|
-
componentName: componentName$
|
5546
|
+
componentName: componentName$M,
|
5520
5547
|
varName: 'url',
|
5521
5548
|
fallbackVarName: 'fallbackUrl',
|
5522
5549
|
});
|
5523
5550
|
|
5524
|
-
customElements.define(componentName$
|
5551
|
+
customElements.define(componentName$M, TotpImageClass);
|
5525
5552
|
|
5526
|
-
const componentName$
|
5553
|
+
const componentName$L = getComponentName('notp-image');
|
5527
5554
|
|
5528
5555
|
const NotpImageClass = createCssVarImageClass({
|
5529
|
-
componentName: componentName$
|
5556
|
+
componentName: componentName$L,
|
5530
5557
|
varName: 'url',
|
5531
5558
|
fallbackVarName: 'fallbackUrl',
|
5532
5559
|
});
|
5533
5560
|
|
5534
|
-
customElements.define(componentName$
|
5561
|
+
customElements.define(componentName$L, NotpImageClass);
|
5535
5562
|
|
5536
|
-
const componentName$
|
5563
|
+
const componentName$K = getComponentName('number-field');
|
5537
5564
|
|
5538
5565
|
const NumberFieldClass = compose(
|
5539
5566
|
createStyleMixin({
|
@@ -5567,11 +5594,11 @@ const NumberFieldClass = compose(
|
|
5567
5594
|
}
|
5568
5595
|
`,
|
5569
5596
|
excludeAttrsSync: ['tabindex'],
|
5570
|
-
componentName: componentName$
|
5597
|
+
componentName: componentName$K,
|
5571
5598
|
})
|
5572
5599
|
);
|
5573
5600
|
|
5574
|
-
customElements.define(componentName$
|
5601
|
+
customElements.define(componentName$K, NumberFieldClass);
|
5575
5602
|
|
5576
5603
|
const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
|
5577
5604
|
const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
|
@@ -5617,13 +5644,13 @@ const toggleMaskVisibility = (input, value) => {
|
|
5617
5644
|
|
5618
5645
|
/* eslint-disable no-param-reassign */
|
5619
5646
|
|
5620
|
-
const componentName$
|
5647
|
+
const componentName$J = getComponentName('passcode-internal');
|
5621
5648
|
|
5622
5649
|
const observedAttributes$5 = ['digits', 'loading'];
|
5623
5650
|
|
5624
5651
|
const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
|
5625
5652
|
|
5626
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
5653
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$J, baseSelector: 'div' });
|
5627
5654
|
|
5628
5655
|
class PasscodeInternal extends BaseInputClass$7 {
|
5629
5656
|
static get observedAttributes() {
|
@@ -5841,7 +5868,7 @@ class PasscodeInternal extends BaseInputClass$7 {
|
|
5841
5868
|
}
|
5842
5869
|
}
|
5843
5870
|
|
5844
|
-
const componentName$
|
5871
|
+
const componentName$I = getComponentName('passcode');
|
5845
5872
|
|
5846
5873
|
const observedAttributes$4 = ['digits'];
|
5847
5874
|
|
@@ -5860,17 +5887,17 @@ const customMixin$a = (superclass) =>
|
|
5860
5887
|
const template = document.createElement('template');
|
5861
5888
|
|
5862
5889
|
template.innerHTML = `
|
5863
|
-
<${componentName$
|
5890
|
+
<${componentName$J}
|
5864
5891
|
bordered="true"
|
5865
5892
|
name="code"
|
5866
5893
|
tabindex="-1"
|
5867
5894
|
slot="input"
|
5868
|
-
><slot></slot></${componentName$
|
5895
|
+
><slot></slot></${componentName$J}>
|
5869
5896
|
`;
|
5870
5897
|
|
5871
5898
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
5872
5899
|
|
5873
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
5900
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$J);
|
5874
5901
|
|
5875
5902
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
5876
5903
|
}
|
@@ -6022,13 +6049,13 @@ const PasscodeClass = compose(
|
|
6022
6049
|
${resetInputCursor('vaadin-text-field')}
|
6023
6050
|
`,
|
6024
6051
|
excludeAttrsSync: ['tabindex'],
|
6025
|
-
componentName: componentName$
|
6052
|
+
componentName: componentName$I,
|
6026
6053
|
})
|
6027
6054
|
);
|
6028
6055
|
|
6029
|
-
customElements.define(componentName$
|
6056
|
+
customElements.define(componentName$J, PasscodeInternal);
|
6030
6057
|
|
6031
|
-
customElements.define(componentName$
|
6058
|
+
customElements.define(componentName$I, PasscodeClass);
|
6032
6059
|
|
6033
6060
|
const passwordDraggableMixin = (superclass) =>
|
6034
6061
|
class PasswordDraggableMixinClass extends superclass {
|
@@ -6069,7 +6096,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
6069
6096
|
}
|
6070
6097
|
};
|
6071
6098
|
|
6072
|
-
const componentName$
|
6099
|
+
const componentName$H = getComponentName('password');
|
6073
6100
|
|
6074
6101
|
const customMixin$9 = (superclass) =>
|
6075
6102
|
class PasswordFieldMixinClass extends superclass {
|
@@ -6344,11 +6371,11 @@ const PasswordClass = compose(
|
|
6344
6371
|
}
|
6345
6372
|
`,
|
6346
6373
|
excludeAttrsSync: ['tabindex'],
|
6347
|
-
componentName: componentName$
|
6374
|
+
componentName: componentName$H,
|
6348
6375
|
})
|
6349
6376
|
);
|
6350
6377
|
|
6351
|
-
customElements.define(componentName$
|
6378
|
+
customElements.define(componentName$H, PasswordClass);
|
6352
6379
|
|
6353
6380
|
const disableRules = [
|
6354
6381
|
'blockquote',
|
@@ -6374,9 +6401,9 @@ const decodeHTML = (html) => {
|
|
6374
6401
|
/* eslint-disable no-param-reassign */
|
6375
6402
|
|
6376
6403
|
|
6377
|
-
const componentName$
|
6404
|
+
const componentName$G = getComponentName('enriched-text');
|
6378
6405
|
|
6379
|
-
class EnrichedText extends createBaseClass({ componentName: componentName$
|
6406
|
+
class EnrichedText extends createBaseClass({ componentName: componentName$G, baseSelector: ':host > div' }) {
|
6380
6407
|
#origLinkRenderer;
|
6381
6408
|
|
6382
6409
|
#origEmRenderer;
|
@@ -6572,9 +6599,9 @@ const EnrichedTextClass = compose(
|
|
6572
6599
|
componentNameValidationMixin
|
6573
6600
|
)(EnrichedText);
|
6574
6601
|
|
6575
|
-
customElements.define(componentName$
|
6602
|
+
customElements.define(componentName$G, EnrichedTextClass);
|
6576
6603
|
|
6577
|
-
const componentName$
|
6604
|
+
const componentName$F = getComponentName('text-area');
|
6578
6605
|
|
6579
6606
|
const {
|
6580
6607
|
host: host$d,
|
@@ -6650,17 +6677,17 @@ const TextAreaClass = compose(
|
|
6650
6677
|
${resetInputCursor('vaadin-text-area')}
|
6651
6678
|
`,
|
6652
6679
|
excludeAttrsSync: ['tabindex'],
|
6653
|
-
componentName: componentName$
|
6680
|
+
componentName: componentName$F,
|
6654
6681
|
})
|
6655
6682
|
);
|
6656
6683
|
|
6657
|
-
customElements.define(componentName$
|
6684
|
+
customElements.define(componentName$F, TextAreaClass);
|
6658
6685
|
|
6659
6686
|
const observedAttributes$3 = ['src', 'alt'];
|
6660
6687
|
|
6661
|
-
const componentName$
|
6688
|
+
const componentName$E = getComponentName('image');
|
6662
6689
|
|
6663
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
6690
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$E, baseSelector: ':host > img' });
|
6664
6691
|
class RawImage extends BaseClass$1 {
|
6665
6692
|
static get observedAttributes() {
|
6666
6693
|
return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
|
@@ -6700,7 +6727,7 @@ const ImageClass = compose(
|
|
6700
6727
|
draggableMixin
|
6701
6728
|
)(RawImage);
|
6702
6729
|
|
6703
|
-
customElements.define(componentName$
|
6730
|
+
customElements.define(componentName$E, ImageClass);
|
6704
6731
|
|
6705
6732
|
var CountryCodes = [
|
6706
6733
|
// United States should be the first option
|
@@ -7969,7 +7996,7 @@ const parsePhoneNumber = (val) => {
|
|
7969
7996
|
return [countryCode, phoneNumber];
|
7970
7997
|
};
|
7971
7998
|
|
7972
|
-
const componentName$
|
7999
|
+
const componentName$D = getComponentName('phone-field-internal');
|
7973
8000
|
|
7974
8001
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
|
7975
8002
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
@@ -7983,7 +8010,7 @@ const mapAttrs$1 = {
|
|
7983
8010
|
|
7984
8011
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
|
7985
8012
|
|
7986
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
8013
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$D, baseSelector: 'div' });
|
7987
8014
|
|
7988
8015
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
7989
8016
|
static get observedAttributes() {
|
@@ -8200,12 +8227,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
|
|
8200
8227
|
}
|
8201
8228
|
};
|
8202
8229
|
|
8203
|
-
customElements.define(componentName$
|
8230
|
+
customElements.define(componentName$D, PhoneFieldInternal$1);
|
8204
8231
|
|
8205
8232
|
const textVars$1 = TextFieldClass.cssVarList;
|
8206
8233
|
const comboVars = ComboBoxClass.cssVarList;
|
8207
8234
|
|
8208
|
-
const componentName$
|
8235
|
+
const componentName$C = getComponentName('phone-field');
|
8209
8236
|
|
8210
8237
|
const customMixin$8 = (superclass) =>
|
8211
8238
|
class PhoneFieldMixinClass extends superclass {
|
@@ -8219,15 +8246,15 @@ const customMixin$8 = (superclass) =>
|
|
8219
8246
|
const template = document.createElement('template');
|
8220
8247
|
|
8221
8248
|
template.innerHTML = `
|
8222
|
-
<${componentName$
|
8249
|
+
<${componentName$D}
|
8223
8250
|
tabindex="-1"
|
8224
8251
|
slot="input"
|
8225
|
-
></${componentName$
|
8252
|
+
></${componentName$D}>
|
8226
8253
|
`;
|
8227
8254
|
|
8228
8255
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8229
8256
|
|
8230
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8257
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$D);
|
8231
8258
|
|
8232
8259
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8233
8260
|
includeAttrs: [
|
@@ -8449,17 +8476,17 @@ const PhoneFieldClass = compose(
|
|
8449
8476
|
${resetInputLabelPosition('vaadin-text-field')}
|
8450
8477
|
`,
|
8451
8478
|
excludeAttrsSync: ['tabindex'],
|
8452
|
-
componentName: componentName$
|
8479
|
+
componentName: componentName$C,
|
8453
8480
|
})
|
8454
8481
|
);
|
8455
8482
|
|
8456
|
-
customElements.define(componentName$
|
8483
|
+
customElements.define(componentName$C, PhoneFieldClass);
|
8457
8484
|
|
8458
8485
|
const getCountryByCodeId = (countryCode) => {
|
8459
8486
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
8460
8487
|
};
|
8461
8488
|
|
8462
|
-
const componentName$
|
8489
|
+
const componentName$B = getComponentName('phone-field-internal-input-box');
|
8463
8490
|
|
8464
8491
|
const observedAttributes$2 = [
|
8465
8492
|
'disabled',
|
@@ -8476,7 +8503,7 @@ const mapAttrs = {
|
|
8476
8503
|
'phone-input-placeholder': 'placeholder',
|
8477
8504
|
};
|
8478
8505
|
|
8479
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
8506
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$B, baseSelector: 'div' });
|
8480
8507
|
|
8481
8508
|
class PhoneFieldInternal extends BaseInputClass$5 {
|
8482
8509
|
static get observedAttributes() {
|
@@ -8615,11 +8642,11 @@ class PhoneFieldInternal extends BaseInputClass$5 {
|
|
8615
8642
|
}
|
8616
8643
|
}
|
8617
8644
|
|
8618
|
-
customElements.define(componentName$
|
8645
|
+
customElements.define(componentName$B, PhoneFieldInternal);
|
8619
8646
|
|
8620
8647
|
const textVars = TextFieldClass.cssVarList;
|
8621
8648
|
|
8622
|
-
const componentName$
|
8649
|
+
const componentName$A = getComponentName('phone-input-box-field');
|
8623
8650
|
|
8624
8651
|
const customMixin$7 = (superclass) =>
|
8625
8652
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -8633,15 +8660,15 @@ const customMixin$7 = (superclass) =>
|
|
8633
8660
|
const template = document.createElement('template');
|
8634
8661
|
|
8635
8662
|
template.innerHTML = `
|
8636
|
-
<${componentName$
|
8663
|
+
<${componentName$B}
|
8637
8664
|
tabindex="-1"
|
8638
8665
|
slot="input"
|
8639
|
-
></${componentName$
|
8666
|
+
></${componentName$B}>
|
8640
8667
|
`;
|
8641
8668
|
|
8642
8669
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
8643
8670
|
|
8644
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
8671
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$B);
|
8645
8672
|
|
8646
8673
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
8647
8674
|
includeAttrs: [
|
@@ -8818,26 +8845,26 @@ const PhoneFieldInputBoxClass = compose(
|
|
8818
8845
|
${inputFloatingLabelStyle()}
|
8819
8846
|
`,
|
8820
8847
|
excludeAttrsSync: ['tabindex'],
|
8821
|
-
componentName: componentName$
|
8848
|
+
componentName: componentName$A,
|
8822
8849
|
})
|
8823
8850
|
);
|
8824
8851
|
|
8825
|
-
customElements.define(componentName$
|
8852
|
+
customElements.define(componentName$A, PhoneFieldInputBoxClass);
|
8826
8853
|
|
8827
|
-
const componentName$
|
8854
|
+
const componentName$z = getComponentName('new-password-internal');
|
8828
8855
|
|
8829
8856
|
const interpolateString = (template, values) =>
|
8830
8857
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
8831
8858
|
|
8832
8859
|
// eslint-disable-next-line max-classes-per-file
|
8833
8860
|
|
8834
|
-
const componentName$
|
8861
|
+
const componentName$y = getComponentName('policy-validation');
|
8835
8862
|
|
8836
8863
|
const overrideAttrs = ['data-password-policy-value-minlength'];
|
8837
8864
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
8838
8865
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
8839
8866
|
|
8840
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
8867
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
|
8841
8868
|
#availablePolicies;
|
8842
8869
|
|
8843
8870
|
#activePolicies = [];
|
@@ -9045,7 +9072,7 @@ const PolicyValidationClass = compose(
|
|
9045
9072
|
componentNameValidationMixin
|
9046
9073
|
)(RawPolicyValidation);
|
9047
9074
|
|
9048
|
-
const componentName$
|
9075
|
+
const componentName$x = getComponentName('new-password');
|
9049
9076
|
|
9050
9077
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
9051
9078
|
|
@@ -9059,18 +9086,18 @@ const customMixin$6 = (superclass) =>
|
|
9059
9086
|
const externalInputAttr = this.getAttribute('external-input');
|
9060
9087
|
|
9061
9088
|
template.innerHTML = `
|
9062
|
-
<${componentName$
|
9089
|
+
<${componentName$z}
|
9063
9090
|
name="new-password"
|
9064
9091
|
tabindex="-1"
|
9065
9092
|
slot="input"
|
9066
9093
|
external-input="${externalInputAttr}"
|
9067
9094
|
>
|
9068
|
-
</${componentName$
|
9095
|
+
</${componentName$z}>
|
9069
9096
|
`;
|
9070
9097
|
|
9071
9098
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
9072
9099
|
|
9073
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
9100
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$z);
|
9074
9101
|
|
9075
9102
|
if (this.getAttribute('external-input') === 'true') {
|
9076
9103
|
this.initExternalInput();
|
@@ -9246,11 +9273,11 @@ const NewPasswordClass = compose(
|
|
9246
9273
|
}
|
9247
9274
|
`,
|
9248
9275
|
excludeAttrsSync: ['tabindex'],
|
9249
|
-
componentName: componentName$
|
9276
|
+
componentName: componentName$x,
|
9250
9277
|
})
|
9251
9278
|
);
|
9252
9279
|
|
9253
|
-
customElements.define(componentName$
|
9280
|
+
customElements.define(componentName$y, PolicyValidationClass);
|
9254
9281
|
|
9255
9282
|
const passwordAttrPrefixRegex = /^password-/;
|
9256
9283
|
const confirmAttrPrefixRegex = /^confirm-/;
|
@@ -9282,7 +9309,7 @@ const inputRelatedAttrs = [].concat(
|
|
9282
9309
|
policyPanelAttrs
|
9283
9310
|
);
|
9284
9311
|
|
9285
|
-
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$
|
9312
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$z, baseSelector: 'div' });
|
9286
9313
|
|
9287
9314
|
class NewPasswordInternal extends BaseInputClass$4 {
|
9288
9315
|
static get observedAttributes() {
|
@@ -9492,16 +9519,16 @@ class NewPasswordInternal extends BaseInputClass$4 {
|
|
9492
9519
|
}
|
9493
9520
|
}
|
9494
9521
|
|
9495
|
-
customElements.define(componentName$
|
9522
|
+
customElements.define(componentName$z, NewPasswordInternal);
|
9496
9523
|
|
9497
|
-
customElements.define(componentName$
|
9524
|
+
customElements.define(componentName$x, NewPasswordClass);
|
9498
9525
|
|
9499
|
-
const componentName$
|
9526
|
+
const componentName$w = getComponentName('recaptcha');
|
9500
9527
|
|
9501
9528
|
const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
|
9502
9529
|
|
9503
9530
|
const BaseClass = createBaseClass({
|
9504
|
-
componentName: componentName$
|
9531
|
+
componentName: componentName$w,
|
9505
9532
|
baseSelector: ':host > div',
|
9506
9533
|
});
|
9507
9534
|
class RawRecaptcha extends BaseClass {
|
@@ -9688,7 +9715,7 @@ class RawRecaptcha extends BaseClass {
|
|
9688
9715
|
|
9689
9716
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
9690
9717
|
|
9691
|
-
customElements.define(componentName$
|
9718
|
+
customElements.define(componentName$w, RecaptchaClass);
|
9692
9719
|
|
9693
9720
|
const getFileBase64 = (fileObj) => {
|
9694
9721
|
return new Promise((resolve) => {
|
@@ -9702,7 +9729,7 @@ const getFilename = (fileObj) => {
|
|
9702
9729
|
return fileObj.name.replace(/^.*\\/, '');
|
9703
9730
|
};
|
9704
9731
|
|
9705
|
-
const componentName$
|
9732
|
+
const componentName$v = getComponentName('upload-file');
|
9706
9733
|
|
9707
9734
|
const observedAttributes = [
|
9708
9735
|
'title',
|
@@ -9717,7 +9744,7 @@ const observedAttributes = [
|
|
9717
9744
|
'icon',
|
9718
9745
|
];
|
9719
9746
|
|
9720
|
-
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$
|
9747
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$v, baseSelector: ':host > div' });
|
9721
9748
|
|
9722
9749
|
class RawUploadFile extends BaseInputClass$3 {
|
9723
9750
|
static get observedAttributes() {
|
@@ -9932,7 +9959,7 @@ const UploadFileClass = compose(
|
|
9932
9959
|
componentNameValidationMixin
|
9933
9960
|
)(RawUploadFile);
|
9934
9961
|
|
9935
|
-
customElements.define(componentName$
|
9962
|
+
customElements.define(componentName$v, UploadFileClass);
|
9936
9963
|
|
9937
9964
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
9938
9965
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
@@ -10030,10 +10057,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
10030
10057
|
return BaseButtonSelectionGroupInternalClass;
|
10031
10058
|
};
|
10032
10059
|
|
10033
|
-
const componentName$
|
10060
|
+
const componentName$u = getComponentName('button-selection-group-internal');
|
10034
10061
|
|
10035
10062
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
10036
|
-
componentName$
|
10063
|
+
componentName$u
|
10037
10064
|
) {
|
10038
10065
|
getSelectedNode() {
|
10039
10066
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -10265,7 +10292,7 @@ const buttonSelectionGroupStyles = `
|
|
10265
10292
|
${resetInputCursor('vaadin-text-field')}
|
10266
10293
|
`;
|
10267
10294
|
|
10268
|
-
const componentName$
|
10295
|
+
const componentName$t = getComponentName('button-selection-group');
|
10269
10296
|
|
10270
10297
|
const buttonSelectionGroupMixin = (superclass) =>
|
10271
10298
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10274,19 +10301,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
10274
10301
|
const template = document.createElement('template');
|
10275
10302
|
|
10276
10303
|
template.innerHTML = `
|
10277
|
-
<${componentName$
|
10304
|
+
<${componentName$u}
|
10278
10305
|
name="button-selection-group"
|
10279
10306
|
slot="input"
|
10280
10307
|
tabindex="-1"
|
10281
10308
|
part="internal-component"
|
10282
10309
|
>
|
10283
10310
|
<slot></slot>
|
10284
|
-
</${componentName$
|
10311
|
+
</${componentName$u}>
|
10285
10312
|
`;
|
10286
10313
|
|
10287
10314
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10288
10315
|
|
10289
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10316
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$u);
|
10290
10317
|
|
10291
10318
|
forwardAttrs(this, this.inputElement, {
|
10292
10319
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -10311,16 +10338,16 @@ const ButtonSelectionGroupClass = compose(
|
|
10311
10338
|
wrappedEleName: 'vaadin-text-field',
|
10312
10339
|
style: () => buttonSelectionGroupStyles,
|
10313
10340
|
excludeAttrsSync: ['tabindex'],
|
10314
|
-
componentName: componentName$
|
10341
|
+
componentName: componentName$t,
|
10315
10342
|
})
|
10316
10343
|
);
|
10317
10344
|
|
10318
|
-
customElements.define(componentName$
|
10345
|
+
customElements.define(componentName$u, ButtonSelectionGroupInternalClass);
|
10319
10346
|
|
10320
|
-
const componentName$
|
10347
|
+
const componentName$s = getComponentName('button-selection-group-item');
|
10321
10348
|
|
10322
10349
|
class RawSelectItem extends createBaseClass({
|
10323
|
-
componentName: componentName$
|
10350
|
+
componentName: componentName$s,
|
10324
10351
|
baseSelector: ':host > descope-button',
|
10325
10352
|
}) {
|
10326
10353
|
get size() {
|
@@ -10427,14 +10454,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
10427
10454
|
componentNameValidationMixin
|
10428
10455
|
)(RawSelectItem);
|
10429
10456
|
|
10430
|
-
customElements.define(componentName$
|
10457
|
+
customElements.define(componentName$s, ButtonSelectionGroupItemClass);
|
10431
10458
|
|
10432
|
-
customElements.define(componentName$
|
10459
|
+
customElements.define(componentName$t, ButtonSelectionGroupClass);
|
10433
10460
|
|
10434
|
-
const componentName$
|
10461
|
+
const componentName$r = getComponentName('button-multi-selection-group-internal');
|
10435
10462
|
|
10436
10463
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
10437
|
-
componentName$
|
10464
|
+
componentName$r
|
10438
10465
|
) {
|
10439
10466
|
#getSelectedNodes() {
|
10440
10467
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -10537,7 +10564,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
10537
10564
|
}
|
10538
10565
|
}
|
10539
10566
|
|
10540
|
-
const componentName$
|
10567
|
+
const componentName$q = getComponentName('button-multi-selection-group');
|
10541
10568
|
|
10542
10569
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
10543
10570
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -10546,19 +10573,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
10546
10573
|
const template = document.createElement('template');
|
10547
10574
|
|
10548
10575
|
template.innerHTML = `
|
10549
|
-
<${componentName$
|
10576
|
+
<${componentName$r}
|
10550
10577
|
name="button-selection-group"
|
10551
10578
|
slot="input"
|
10552
10579
|
tabindex="-1"
|
10553
10580
|
part="internal-component"
|
10554
10581
|
>
|
10555
10582
|
<slot></slot>
|
10556
|
-
</${componentName$
|
10583
|
+
</${componentName$r}>
|
10557
10584
|
`;
|
10558
10585
|
|
10559
10586
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10560
10587
|
|
10561
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10588
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$r);
|
10562
10589
|
|
10563
10590
|
forwardAttrs(this, this.inputElement, {
|
10564
10591
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -10583,13 +10610,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
10583
10610
|
wrappedEleName: 'vaadin-text-field',
|
10584
10611
|
style: () => buttonSelectionGroupStyles,
|
10585
10612
|
excludeAttrsSync: ['tabindex'],
|
10586
|
-
componentName: componentName$
|
10613
|
+
componentName: componentName$q,
|
10587
10614
|
})
|
10588
10615
|
);
|
10589
10616
|
|
10590
|
-
customElements.define(componentName$
|
10617
|
+
customElements.define(componentName$r, ButtonMultiSelectionGroupInternalClass);
|
10591
10618
|
|
10592
|
-
customElements.define(componentName$
|
10619
|
+
customElements.define(componentName$q, ButtonMultiSelectionGroupClass);
|
10593
10620
|
|
10594
10621
|
/* eslint-disable no-param-reassign */
|
10595
10622
|
|
@@ -10617,9 +10644,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
10617
10644
|
}
|
10618
10645
|
}
|
10619
10646
|
|
10620
|
-
const componentName$
|
10647
|
+
const componentName$p = getComponentName('grid-text-column');
|
10621
10648
|
|
10622
|
-
customElements.define(componentName$
|
10649
|
+
customElements.define(componentName$p, GridTextColumnClass);
|
10623
10650
|
|
10624
10651
|
/* eslint-disable no-param-reassign */
|
10625
10652
|
|
@@ -10654,9 +10681,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
10654
10681
|
|
10655
10682
|
/* eslint-disable no-param-reassign */
|
10656
10683
|
|
10657
|
-
const componentName$
|
10684
|
+
const componentName$o = getComponentName('grid-custom-column');
|
10658
10685
|
|
10659
|
-
customElements.define(componentName$
|
10686
|
+
customElements.define(componentName$o, GridCustomColumnClass);
|
10660
10687
|
|
10661
10688
|
const createCheckboxEle = () => {
|
10662
10689
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -10715,9 +10742,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
10715
10742
|
}
|
10716
10743
|
}
|
10717
10744
|
|
10718
|
-
const componentName$
|
10745
|
+
const componentName$n = getComponentName('grid-selection-column');
|
10719
10746
|
|
10720
|
-
customElements.define(componentName$
|
10747
|
+
customElements.define(componentName$n, GridSelectionColumnClass);
|
10721
10748
|
|
10722
10749
|
/* eslint-disable no-param-reassign */
|
10723
10750
|
|
@@ -10756,9 +10783,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
|
|
10756
10783
|
}
|
10757
10784
|
}
|
10758
10785
|
|
10759
|
-
const componentName$
|
10786
|
+
const componentName$m = getComponentName('grid-item-details-column');
|
10760
10787
|
|
10761
|
-
customElements.define(componentName$
|
10788
|
+
customElements.define(componentName$m, GridItemDetailsColumnClass);
|
10762
10789
|
|
10763
10790
|
const decode = (input) => {
|
10764
10791
|
const txt = document.createElement('textarea');
|
@@ -10770,9 +10797,9 @@ const tpl = (input, inline) => {
|
|
10770
10797
|
return inline ? input : `<pre>${input}</pre>`;
|
10771
10798
|
};
|
10772
10799
|
|
10773
|
-
const componentName$
|
10800
|
+
const componentName$l = getComponentName('code-snippet');
|
10774
10801
|
|
10775
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
10802
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > code' }) {
|
10776
10803
|
static get observedAttributes() {
|
10777
10804
|
return ['lang', 'inline'];
|
10778
10805
|
}
|
@@ -11002,7 +11029,7 @@ const CodeSnippetClass = compose(
|
|
11002
11029
|
componentNameValidationMixin
|
11003
11030
|
)(CodeSnippet$1);
|
11004
11031
|
|
11005
|
-
customElements.define(componentName$
|
11032
|
+
customElements.define(componentName$l, CodeSnippetClass);
|
11006
11033
|
|
11007
11034
|
const isValidDataType = (data) => {
|
11008
11035
|
const isValid = Array.isArray(data);
|
@@ -11077,7 +11104,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
11077
11104
|
`;
|
11078
11105
|
};
|
11079
11106
|
|
11080
|
-
const componentName$
|
11107
|
+
const componentName$k = getComponentName('grid');
|
11081
11108
|
|
11082
11109
|
const GridMixin = (superclass) =>
|
11083
11110
|
class GridMixinClass extends superclass {
|
@@ -11431,13 +11458,13 @@ const GridClass = compose(
|
|
11431
11458
|
/*!css*/
|
11432
11459
|
`,
|
11433
11460
|
excludeAttrsSync: ['columns', 'tabindex'],
|
11434
|
-
componentName: componentName$
|
11461
|
+
componentName: componentName$k,
|
11435
11462
|
})
|
11436
11463
|
);
|
11437
11464
|
|
11438
|
-
customElements.define(componentName$
|
11465
|
+
customElements.define(componentName$k, GridClass);
|
11439
11466
|
|
11440
|
-
const componentName$
|
11467
|
+
const componentName$j = getComponentName('multi-select-combo-box');
|
11441
11468
|
|
11442
11469
|
const multiSelectComboBoxMixin = (superclass) =>
|
11443
11470
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -12071,16 +12098,16 @@ const MultiSelectComboBoxClass = compose(
|
|
12071
12098
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
12072
12099
|
// tries to override it, causing us to lose the user set placeholder.
|
12073
12100
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
12074
|
-
componentName: componentName$
|
12101
|
+
componentName: componentName$j,
|
12075
12102
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
12076
12103
|
})
|
12077
12104
|
);
|
12078
12105
|
|
12079
|
-
customElements.define(componentName$
|
12106
|
+
customElements.define(componentName$j, MultiSelectComboBoxClass);
|
12080
12107
|
|
12081
|
-
const componentName$
|
12108
|
+
const componentName$i = getComponentName('badge');
|
12082
12109
|
|
12083
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
12110
|
+
class RawBadge extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > div' }) {
|
12084
12111
|
constructor() {
|
12085
12112
|
super();
|
12086
12113
|
|
@@ -12131,9 +12158,9 @@ const BadgeClass = compose(
|
|
12131
12158
|
componentNameValidationMixin
|
12132
12159
|
)(RawBadge);
|
12133
12160
|
|
12134
|
-
customElements.define(componentName$
|
12161
|
+
customElements.define(componentName$i, BadgeClass);
|
12135
12162
|
|
12136
|
-
const componentName$
|
12163
|
+
const componentName$h = getComponentName('modal');
|
12137
12164
|
|
12138
12165
|
const customMixin$5 = (superclass) =>
|
12139
12166
|
class ModalMixinClass extends superclass {
|
@@ -12232,11 +12259,11 @@ const ModalClass = compose(
|
|
12232
12259
|
wrappedEleName: 'vaadin-dialog',
|
12233
12260
|
style: () => ``,
|
12234
12261
|
excludeAttrsSync: ['tabindex', 'opened'],
|
12235
|
-
componentName: componentName$
|
12262
|
+
componentName: componentName$h,
|
12236
12263
|
})
|
12237
12264
|
);
|
12238
12265
|
|
12239
|
-
customElements.define(componentName$
|
12266
|
+
customElements.define(componentName$h, ModalClass);
|
12240
12267
|
|
12241
12268
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
12242
12269
|
|
@@ -12247,7 +12274,7 @@ if (!vaadinContainerClass) {
|
|
12247
12274
|
class NotificationContainerClass extends vaadinContainerClass {}
|
12248
12275
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
12249
12276
|
|
12250
|
-
const componentName$
|
12277
|
+
const componentName$g = getComponentName('notification-card');
|
12251
12278
|
|
12252
12279
|
const notificationCardMixin = (superclass) =>
|
12253
12280
|
class NotificationCardMixinClass extends superclass {
|
@@ -12355,13 +12382,13 @@ const NotificationCardClass = compose(
|
|
12355
12382
|
}
|
12356
12383
|
`,
|
12357
12384
|
excludeAttrsSync: ['tabindex'],
|
12358
|
-
componentName: componentName$
|
12385
|
+
componentName: componentName$g,
|
12359
12386
|
})
|
12360
12387
|
);
|
12361
12388
|
|
12362
|
-
customElements.define(componentName$
|
12389
|
+
customElements.define(componentName$g, NotificationCardClass);
|
12363
12390
|
|
12364
|
-
const componentName$
|
12391
|
+
const componentName$f = getComponentName('notification');
|
12365
12392
|
|
12366
12393
|
const NotificationMixin = (superclass) =>
|
12367
12394
|
class NotificationMixinClass extends superclass {
|
@@ -12456,14 +12483,14 @@ const NotificationClass = compose(
|
|
12456
12483
|
createProxy({
|
12457
12484
|
wrappedEleName: 'vaadin-notification',
|
12458
12485
|
excludeAttrsSync: ['tabindex'],
|
12459
|
-
componentName: componentName$
|
12486
|
+
componentName: componentName$f,
|
12460
12487
|
})
|
12461
12488
|
);
|
12462
12489
|
|
12463
|
-
customElements.define(componentName$
|
12490
|
+
customElements.define(componentName$f, NotificationClass);
|
12464
12491
|
|
12465
|
-
const componentName$
|
12466
|
-
class RawAvatar extends createBaseClass({ componentName: componentName$
|
12492
|
+
const componentName$e = getComponentName('avatar');
|
12493
|
+
class RawAvatar extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > .wrapper' }) {
|
12467
12494
|
constructor() {
|
12468
12495
|
super();
|
12469
12496
|
|
@@ -12567,11 +12594,11 @@ const AvatarClass = compose(
|
|
12567
12594
|
componentNameValidationMixin
|
12568
12595
|
)(RawAvatar);
|
12569
12596
|
|
12570
|
-
customElements.define(componentName$
|
12597
|
+
customElements.define(componentName$e, AvatarClass);
|
12571
12598
|
|
12572
|
-
const componentName$
|
12599
|
+
const componentName$d = getComponentName('mappings-field-internal');
|
12573
12600
|
|
12574
|
-
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$
|
12601
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$d, baseSelector: 'div' });
|
12575
12602
|
|
12576
12603
|
class MappingsFieldInternal extends BaseInputClass$2 {
|
12577
12604
|
#errorItem;
|
@@ -12806,7 +12833,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
|
|
12806
12833
|
}
|
12807
12834
|
}
|
12808
12835
|
|
12809
|
-
const componentName$
|
12836
|
+
const componentName$c = getComponentName('mappings-field');
|
12810
12837
|
|
12811
12838
|
const customMixin$4 = (superclass) =>
|
12812
12839
|
class MappingsFieldMixinClass extends superclass {
|
@@ -12835,14 +12862,14 @@ const customMixin$4 = (superclass) =>
|
|
12835
12862
|
const template = document.createElement('template');
|
12836
12863
|
|
12837
12864
|
template.innerHTML = `
|
12838
|
-
<${componentName$
|
12865
|
+
<${componentName$d}
|
12839
12866
|
tabindex="-1"
|
12840
|
-
></${componentName$
|
12867
|
+
></${componentName$d}>
|
12841
12868
|
`;
|
12842
12869
|
|
12843
12870
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
12844
12871
|
|
12845
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
12872
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$d);
|
12846
12873
|
|
12847
12874
|
forwardAttrs(this, this.inputElement, {
|
12848
12875
|
includeAttrs: [
|
@@ -12974,17 +13001,17 @@ const MappingsFieldClass = compose(
|
|
12974
13001
|
'options',
|
12975
13002
|
'error-message',
|
12976
13003
|
],
|
12977
|
-
componentName: componentName$
|
13004
|
+
componentName: componentName$c,
|
12978
13005
|
})
|
12979
13006
|
);
|
12980
13007
|
|
12981
|
-
customElements.define(componentName$
|
13008
|
+
customElements.define(componentName$d, MappingsFieldInternal);
|
12982
13009
|
|
12983
|
-
const componentName$
|
13010
|
+
const componentName$b = getComponentName('mapping-item');
|
12984
13011
|
|
12985
13012
|
const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
|
12986
13013
|
|
12987
|
-
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$
|
13014
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$b, baseSelector: 'div' });
|
12988
13015
|
|
12989
13016
|
class MappingItem extends BaseInputClass$1 {
|
12990
13017
|
static get observedAttributes() {
|
@@ -13134,17 +13161,17 @@ class MappingItem extends BaseInputClass$1 {
|
|
13134
13161
|
}
|
13135
13162
|
}
|
13136
13163
|
|
13137
|
-
customElements.define(componentName$
|
13164
|
+
customElements.define(componentName$b, MappingItem);
|
13138
13165
|
|
13139
|
-
customElements.define(componentName$
|
13166
|
+
customElements.define(componentName$c, MappingsFieldClass);
|
13140
13167
|
|
13141
13168
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
13142
13169
|
|
13143
13170
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
13144
13171
|
|
13145
|
-
const componentName$
|
13172
|
+
const componentName$a = getComponentName('user-attribute');
|
13146
13173
|
class RawUserAttribute extends createBaseClass({
|
13147
|
-
componentName: componentName$
|
13174
|
+
componentName: componentName$a,
|
13148
13175
|
baseSelector: ':host > .root',
|
13149
13176
|
}) {
|
13150
13177
|
constructor() {
|
@@ -13378,13 +13405,13 @@ const UserAttributeClass = compose(
|
|
13378
13405
|
componentNameValidationMixin
|
13379
13406
|
)(RawUserAttribute);
|
13380
13407
|
|
13381
|
-
customElements.define(componentName$
|
13408
|
+
customElements.define(componentName$a, UserAttributeClass);
|
13382
13409
|
|
13383
13410
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
13384
13411
|
|
13385
|
-
const componentName$
|
13412
|
+
const componentName$9 = getComponentName('user-auth-method');
|
13386
13413
|
class RawUserAuthMethod extends createBaseClass({
|
13387
|
-
componentName: componentName$
|
13414
|
+
componentName: componentName$9,
|
13388
13415
|
baseSelector: ':host > .root',
|
13389
13416
|
}) {
|
13390
13417
|
constructor() {
|
@@ -13576,11 +13603,11 @@ const UserAuthMethodClass = compose(
|
|
13576
13603
|
componentNameValidationMixin
|
13577
13604
|
)(RawUserAuthMethod);
|
13578
13605
|
|
13579
|
-
customElements.define(componentName$
|
13606
|
+
customElements.define(componentName$9, UserAuthMethodClass);
|
13580
13607
|
|
13581
|
-
const componentName$
|
13608
|
+
const componentName$8 = getComponentName('saml-group-mappings-internal');
|
13582
13609
|
|
13583
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
13610
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$8, baseSelector: '' });
|
13584
13611
|
|
13585
13612
|
class SamlGroupMappingsInternal extends BaseInputClass {
|
13586
13613
|
static get observedAttributes() {
|
@@ -13706,7 +13733,7 @@ class SamlGroupMappingsInternal extends BaseInputClass {
|
|
13706
13733
|
}
|
13707
13734
|
}
|
13708
13735
|
|
13709
|
-
const componentName$
|
13736
|
+
const componentName$7 = getComponentName('saml-group-mappings');
|
13710
13737
|
|
13711
13738
|
const customMixin$3 = (superclass) =>
|
13712
13739
|
class SamlGroupMappingsMixinClass extends superclass {
|
@@ -13716,14 +13743,14 @@ const customMixin$3 = (superclass) =>
|
|
13716
13743
|
const template = document.createElement('template');
|
13717
13744
|
|
13718
13745
|
template.innerHTML = `
|
13719
|
-
<${componentName$
|
13746
|
+
<${componentName$8}
|
13720
13747
|
tabindex="-1"
|
13721
|
-
></${componentName$
|
13748
|
+
></${componentName$8}>
|
13722
13749
|
`;
|
13723
13750
|
|
13724
13751
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
13725
13752
|
|
13726
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
13753
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$8);
|
13727
13754
|
|
13728
13755
|
forwardAttrs(this, this.inputElement, {
|
13729
13756
|
includeAttrs: [
|
@@ -13800,15 +13827,15 @@ const SamlGroupMappingsClass = compose(
|
|
13800
13827
|
'options',
|
13801
13828
|
'error-message',
|
13802
13829
|
],
|
13803
|
-
componentName: componentName$
|
13830
|
+
componentName: componentName$7,
|
13804
13831
|
})
|
13805
13832
|
);
|
13806
13833
|
|
13807
|
-
customElements.define(componentName$
|
13834
|
+
customElements.define(componentName$8, SamlGroupMappingsInternal);
|
13808
13835
|
|
13809
|
-
customElements.define(componentName$
|
13836
|
+
customElements.define(componentName$7, SamlGroupMappingsClass);
|
13810
13837
|
|
13811
|
-
const componentName$
|
13838
|
+
const componentName$6 = getComponentName('radio-button');
|
13812
13839
|
|
13813
13840
|
const customMixin$2 = (superclass) =>
|
13814
13841
|
class CustomMixin extends superclass {
|
@@ -13873,11 +13900,11 @@ const RadioButtonClass = compose(
|
|
13873
13900
|
wrappedEleName: 'vaadin-radio-button',
|
13874
13901
|
excludeAttrsSync: ['tabindex', 'data'],
|
13875
13902
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
13876
|
-
componentName: componentName$
|
13903
|
+
componentName: componentName$6,
|
13877
13904
|
})
|
13878
13905
|
);
|
13879
13906
|
|
13880
|
-
const componentName$
|
13907
|
+
const componentName$5 = getComponentName('radio-group');
|
13881
13908
|
|
13882
13909
|
const RadioGroupMixin = (superclass) =>
|
13883
13910
|
class RadioGroupMixinClass extends superclass {
|
@@ -13892,12 +13919,12 @@ const RadioGroupMixin = (superclass) =>
|
|
13892
13919
|
|
13893
13920
|
// we are overriding vaadin children getter so it will run on our custom elements
|
13894
13921
|
Object.defineProperty(this.baseElement, 'children', {
|
13895
|
-
get: () => this.querySelectorAll(componentName$
|
13922
|
+
get: () => this.querySelectorAll(componentName$6),
|
13896
13923
|
});
|
13897
13924
|
|
13898
13925
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
13899
13926
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
13900
|
-
return nodes.filter((node) => node.localName === componentName$
|
13927
|
+
return nodes.filter((node) => node.localName === componentName$6);
|
13901
13928
|
};
|
13902
13929
|
|
13903
13930
|
// vaadin radio group missing some input properties
|
@@ -14047,13 +14074,13 @@ const RadioGroupClass = compose(
|
|
14047
14074
|
`,
|
14048
14075
|
|
14049
14076
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
14050
|
-
componentName: componentName$
|
14077
|
+
componentName: componentName$5,
|
14051
14078
|
includeForwardProps: ['value'],
|
14052
14079
|
})
|
14053
14080
|
);
|
14054
14081
|
|
14055
|
-
customElements.define(componentName$
|
14056
|
-
customElements.define(componentName$
|
14082
|
+
customElements.define(componentName$5, RadioGroupClass);
|
14083
|
+
customElements.define(componentName$6, RadioButtonClass);
|
14057
14084
|
|
14058
14085
|
const activeableMixin = (superclass) =>
|
14059
14086
|
class ActiveableMixinClass extends superclass {
|
@@ -14070,7 +14097,7 @@ const activeableMixin = (superclass) =>
|
|
14070
14097
|
}
|
14071
14098
|
};
|
14072
14099
|
|
14073
|
-
const componentName$
|
14100
|
+
const componentName$4 = getComponentName('list-item');
|
14074
14101
|
|
14075
14102
|
const customMixin$1 = (superclass) =>
|
14076
14103
|
class ListItemMixinClass extends superclass {
|
@@ -14119,11 +14146,11 @@ const ListItemClass = compose(
|
|
14119
14146
|
componentNameValidationMixin,
|
14120
14147
|
customMixin$1,
|
14121
14148
|
activeableMixin
|
14122
|
-
)(createBaseClass({ componentName: componentName$
|
14149
|
+
)(createBaseClass({ componentName: componentName$4, baseSelector: 'slot' }));
|
14123
14150
|
|
14124
|
-
const componentName$
|
14151
|
+
const componentName$3 = getComponentName('list');
|
14125
14152
|
|
14126
|
-
class RawList extends createBaseClass({ componentName: componentName$
|
14153
|
+
class RawList extends createBaseClass({ componentName: componentName$3, baseSelector: '.wrapper' }) {
|
14127
14154
|
static get observedAttributes() {
|
14128
14155
|
return ['variant', 'readonly'];
|
14129
14156
|
}
|
@@ -14270,8 +14297,8 @@ const ListClass = compose(
|
|
14270
14297
|
componentNameValidationMixin
|
14271
14298
|
)(RawList);
|
14272
14299
|
|
14273
|
-
customElements.define(componentName$
|
14274
|
-
customElements.define(componentName$
|
14300
|
+
customElements.define(componentName$3, ListClass);
|
14301
|
+
customElements.define(componentName$4, ListItemClass);
|
14275
14302
|
|
14276
14303
|
const defaultValidateSchema = () => true;
|
14277
14304
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
@@ -14348,18 +14375,14 @@ const createDynamicDataMixin =
|
|
14348
14375
|
init() {
|
14349
14376
|
super.init?.();
|
14350
14377
|
|
14351
|
-
|
14352
|
-
|
14353
|
-
|
14354
|
-
(attrs)
|
14355
|
-
|
14356
|
-
|
14357
|
-
|
14358
|
-
|
14359
|
-
);
|
14360
|
-
} else {
|
14361
|
-
this.#renderItems();
|
14362
|
-
}
|
14378
|
+
observeAttributes(
|
14379
|
+
this,
|
14380
|
+
(attrs) => {
|
14381
|
+
if (attrs.includes('data')) this.#handleDataAttr();
|
14382
|
+
else this.#renderItems();
|
14383
|
+
},
|
14384
|
+
{ includeAttrs: [...rerenderAttrsList, 'data'] }
|
14385
|
+
);
|
14363
14386
|
}
|
14364
14387
|
|
14365
14388
|
#handleDataAttr() {
|
@@ -14368,30 +14391,15 @@ const createDynamicDataMixin =
|
|
14368
14391
|
if (!dataAttr) return;
|
14369
14392
|
|
14370
14393
|
try {
|
14371
|
-
this
|
14394
|
+
this.data = JSON.parse(dataAttr);
|
14372
14395
|
} catch (e) {
|
14373
14396
|
// eslint-disable-next-line no-console
|
14374
14397
|
console.warn('Invalid JSON data', dataAttr);
|
14375
14398
|
}
|
14376
14399
|
}
|
14377
|
-
|
14378
|
-
attributeChangedCallback(name, oldValue, newValue) {
|
14379
|
-
super.attributeChangedCallback?.(name, oldValue, newValue);
|
14380
|
-
|
14381
|
-
if (newValue === oldValue) return;
|
14382
|
-
|
14383
|
-
if (name === 'data') {
|
14384
|
-
try {
|
14385
|
-
this.data = JSON.parse(newValue);
|
14386
|
-
} catch (e) {
|
14387
|
-
// eslint-disable-next-line no-console
|
14388
|
-
console.warn('Invalid JSON data', newValue);
|
14389
|
-
}
|
14390
|
-
}
|
14391
|
-
}
|
14392
14400
|
};
|
14393
14401
|
|
14394
|
-
const componentName$
|
14402
|
+
const componentName$2 = getComponentName('apps-list');
|
14395
14403
|
|
14396
14404
|
const limitAbbreviation = (str, limit = 2) =>
|
14397
14405
|
str
|
@@ -14401,7 +14409,7 @@ const limitAbbreviation = (str, limit = 2) =>
|
|
14401
14409
|
.map((s) => s[0]?.toUpperCase())
|
14402
14410
|
.join('');
|
14403
14411
|
|
14404
|
-
const itemRenderer = ({ name, icon, url }, _, ref) => `
|
14412
|
+
const itemRenderer$1 = ({ name, icon, url }, _, ref) => `
|
14405
14413
|
<a ${url ? `href="${url}" title="${url}"` : ''} target="_blank">
|
14406
14414
|
<descope-list-item>
|
14407
14415
|
<descope-avatar
|
@@ -14444,7 +14452,7 @@ const AppsListClass = compose(
|
|
14444
14452
|
},
|
14445
14453
|
},
|
14446
14454
|
}),
|
14447
|
-
createDynamicDataMixin({ itemRenderer, rerenderAttrsList: ['size'] }),
|
14455
|
+
createDynamicDataMixin({ itemRenderer: itemRenderer$1, rerenderAttrsList: ['size'] }),
|
14448
14456
|
draggableMixin,
|
14449
14457
|
componentNameValidationMixin,
|
14450
14458
|
customMixin
|
@@ -14453,7 +14461,7 @@ const AppsListClass = compose(
|
|
14453
14461
|
slots: ['empty-state'],
|
14454
14462
|
wrappedEleName: 'descope-list',
|
14455
14463
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
14456
|
-
componentName: componentName$
|
14464
|
+
componentName: componentName$2,
|
14457
14465
|
style: () => `
|
14458
14466
|
:host {
|
14459
14467
|
width: 100%;
|
@@ -14478,7 +14486,113 @@ const AppsListClass = compose(
|
|
14478
14486
|
})
|
14479
14487
|
);
|
14480
14488
|
|
14481
|
-
customElements.define(componentName$
|
14489
|
+
customElements.define(componentName$2, AppsListClass);
|
14490
|
+
|
14491
|
+
const componentName$1 = getComponentName('scopes-list');
|
14492
|
+
const variants = ['checkbox', 'switch'];
|
14493
|
+
|
14494
|
+
const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
14495
|
+
const ComponentClass = ref.variant === 'checkbox' ? CheckboxClass : SwitchToggleClass;
|
14496
|
+
|
14497
|
+
return `
|
14498
|
+
<${ComponentClass.componentName}
|
14499
|
+
bordered="true"
|
14500
|
+
size=${ref.size}
|
14501
|
+
label="${desc}"
|
14502
|
+
data-id="${id}"
|
14503
|
+
readonly="${required || ref.isReadOnly}"
|
14504
|
+
required="${required}"
|
14505
|
+
checked="true"
|
14506
|
+
></${ComponentClass.componentName}>
|
14507
|
+
`;
|
14508
|
+
};
|
14509
|
+
|
14510
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$1, baseSelector: 'div' }) {
|
14511
|
+
constructor() {
|
14512
|
+
super();
|
14513
|
+
|
14514
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
14515
|
+
<style>
|
14516
|
+
:host {
|
14517
|
+
display: inline-flex;
|
14518
|
+
}
|
14519
|
+
|
14520
|
+
div {
|
14521
|
+
display: flex;
|
14522
|
+
flex-direction: column;
|
14523
|
+
}
|
14524
|
+
|
14525
|
+
</style>
|
14526
|
+
<div></div>
|
14527
|
+
`;
|
14528
|
+
}
|
14529
|
+
|
14530
|
+
get isReadOnly() {
|
14531
|
+
return this.getAttribute('readonly') === 'true';
|
14532
|
+
}
|
14533
|
+
|
14534
|
+
get size() {
|
14535
|
+
return this.getAttribute('size') || 'sm';
|
14536
|
+
}
|
14537
|
+
|
14538
|
+
get value() {
|
14539
|
+
return Array.from(this.shadowRoot.querySelector('div').children).reduce(
|
14540
|
+
(acc, el) => ({ ...acc, [el.getAttribute('data-id')]: el.checked }),
|
14541
|
+
{}
|
14542
|
+
);
|
14543
|
+
}
|
14544
|
+
|
14545
|
+
get variant() {
|
14546
|
+
const variant = this.getAttribute('variant');
|
14547
|
+
|
14548
|
+
return variants.includes(variant) ? variant : variants[0];
|
14549
|
+
}
|
14550
|
+
}
|
14551
|
+
|
14552
|
+
const ScopesListClass = compose(
|
14553
|
+
createStyleMixin({
|
14554
|
+
mappings: {
|
14555
|
+
hostWidth: { selector: () => ':host', property: 'width' },
|
14556
|
+
hostDirection: [
|
14557
|
+
{ selector: () => ':host', property: 'direction' },
|
14558
|
+
{
|
14559
|
+
selector: () => CheckboxClass.componentName,
|
14560
|
+
property: CheckboxClass.cssVarList.hostDirection,
|
14561
|
+
},
|
14562
|
+
{
|
14563
|
+
selector: () => SwitchToggleClass.componentName,
|
14564
|
+
property: SwitchToggleClass.cssVarList.hostDirection,
|
14565
|
+
},
|
14566
|
+
],
|
14567
|
+
gap: { selector: () => 'div', property: 'gap' },
|
14568
|
+
requiredInputBorderColor: [
|
14569
|
+
{
|
14570
|
+
selector: `${CheckboxClass.componentName}[required="true"]`,
|
14571
|
+
property: CheckboxClass.cssVarList.inputBorderColor,
|
14572
|
+
},
|
14573
|
+
{
|
14574
|
+
selector: `${SwitchToggleClass.componentName}[required="true"]`,
|
14575
|
+
property: SwitchToggleClass.cssVarList.inputBorderColor,
|
14576
|
+
},
|
14577
|
+
],
|
14578
|
+
requiredInputValueTextColor: [
|
14579
|
+
{
|
14580
|
+
selector: `${CheckboxClass.componentName}[required="true"]`,
|
14581
|
+
property: CheckboxClass.cssVarList.inputValueTextColor,
|
14582
|
+
},
|
14583
|
+
{
|
14584
|
+
selector: `${SwitchToggleClass.componentName}[required="true"]`,
|
14585
|
+
property: SwitchToggleClass.cssVarList.knobColor,
|
14586
|
+
},
|
14587
|
+
],
|
14588
|
+
},
|
14589
|
+
}),
|
14590
|
+
createDynamicDataMixin({ itemRenderer, rerenderAttrsList: ['size', 'variant'] }),
|
14591
|
+
draggableMixin,
|
14592
|
+
componentNameValidationMixin
|
14593
|
+
)(RawScopesList);
|
14594
|
+
|
14595
|
+
customElements.define(componentName$1, ScopesListClass);
|
14482
14596
|
|
14483
14597
|
const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
|
14484
14598
|
|
@@ -14910,7 +15024,7 @@ const globals = {
|
|
14910
15024
|
fonts,
|
14911
15025
|
direction,
|
14912
15026
|
};
|
14913
|
-
const vars$
|
15027
|
+
const vars$P = getThemeVars(globals);
|
14914
15028
|
|
14915
15029
|
const globalRefs$x = getThemeRefs(globals);
|
14916
15030
|
const compVars$6 = ButtonClass.cssVarList;
|
@@ -14923,7 +15037,7 @@ const mode = {
|
|
14923
15037
|
surface: globalRefs$x.colors.surface,
|
14924
15038
|
};
|
14925
15039
|
|
14926
|
-
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName
|
15040
|
+
const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$10);
|
14927
15041
|
|
14928
15042
|
const button = {
|
14929
15043
|
...helperTheme$4,
|
@@ -15035,7 +15149,7 @@ const button = {
|
|
15035
15149
|
},
|
15036
15150
|
};
|
15037
15151
|
|
15038
|
-
const vars$
|
15152
|
+
const vars$O = {
|
15039
15153
|
...compVars$6,
|
15040
15154
|
...helperVars$4,
|
15041
15155
|
};
|
@@ -15043,13 +15157,13 @@ const vars$N = {
|
|
15043
15157
|
var button$1 = /*#__PURE__*/Object.freeze({
|
15044
15158
|
__proto__: null,
|
15045
15159
|
default: button,
|
15046
|
-
vars: vars$
|
15160
|
+
vars: vars$O
|
15047
15161
|
});
|
15048
15162
|
|
15049
15163
|
const componentName = getComponentName('input-wrapper');
|
15050
15164
|
const globalRefs$w = getThemeRefs(globals);
|
15051
15165
|
|
15052
|
-
const [theme$1, refs, vars$
|
15166
|
+
const [theme$1, refs, vars$N] = createHelperVars(
|
15053
15167
|
{
|
15054
15168
|
labelTextColor: globalRefs$w.colors.surface.dark,
|
15055
15169
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
@@ -15168,13 +15282,69 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
15168
15282
|
__proto__: null,
|
15169
15283
|
default: theme$1,
|
15170
15284
|
refs: refs,
|
15171
|
-
vars: vars$
|
15285
|
+
vars: vars$N
|
15172
15286
|
});
|
15173
15287
|
|
15174
15288
|
const globalRefs$v = getThemeRefs(globals);
|
15175
|
-
const vars$
|
15289
|
+
const vars$M = TextFieldClass.cssVarList;
|
15176
15290
|
|
15177
15291
|
const textField = {
|
15292
|
+
[vars$M.hostWidth]: refs.width,
|
15293
|
+
[vars$M.hostMinWidth]: refs.minWidth,
|
15294
|
+
[vars$M.hostDirection]: refs.direction,
|
15295
|
+
[vars$M.fontSize]: refs.fontSize,
|
15296
|
+
[vars$M.fontFamily]: refs.fontFamily,
|
15297
|
+
[vars$M.labelFontSize]: refs.labelFontSize,
|
15298
|
+
[vars$M.labelFontWeight]: refs.labelFontWeight,
|
15299
|
+
[vars$M.labelTextColor]: refs.labelTextColor,
|
15300
|
+
[vars$M.labelRequiredIndicator]: refs.requiredIndicator,
|
15301
|
+
[vars$M.errorMessageTextColor]: refs.errorMessageTextColor,
|
15302
|
+
[vars$M.inputValueTextColor]: refs.valueTextColor,
|
15303
|
+
[vars$M.inputPlaceholderColor]: refs.placeholderTextColor,
|
15304
|
+
[vars$M.inputBorderWidth]: refs.borderWidth,
|
15305
|
+
[vars$M.inputBorderStyle]: refs.borderStyle,
|
15306
|
+
[vars$M.inputBorderColor]: refs.borderColor,
|
15307
|
+
[vars$M.inputBorderRadius]: refs.borderRadius,
|
15308
|
+
[vars$M.inputOutlineWidth]: refs.outlineWidth,
|
15309
|
+
[vars$M.inputOutlineStyle]: refs.outlineStyle,
|
15310
|
+
[vars$M.inputOutlineColor]: refs.outlineColor,
|
15311
|
+
[vars$M.inputOutlineOffset]: refs.outlineOffset,
|
15312
|
+
[vars$M.inputBackgroundColor]: refs.backgroundColor,
|
15313
|
+
[vars$M.inputHeight]: refs.inputHeight,
|
15314
|
+
[vars$M.inputHorizontalPadding]: refs.horizontalPadding,
|
15315
|
+
[vars$M.helperTextColor]: refs.helperTextColor,
|
15316
|
+
[vars$M.textAlign]: refs.textAlign,
|
15317
|
+
textAlign: {
|
15318
|
+
right: { [vars$M.inputTextAlign]: 'right' },
|
15319
|
+
left: { [vars$M.inputTextAlign]: 'left' },
|
15320
|
+
center: { [vars$M.inputTextAlign]: 'center' },
|
15321
|
+
},
|
15322
|
+
[vars$M.labelPosition]: refs.labelPosition,
|
15323
|
+
[vars$M.labelTopPosition]: refs.labelTopPosition,
|
15324
|
+
[vars$M.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
15325
|
+
[vars$M.inputTransformY]: refs.inputTransformY,
|
15326
|
+
[vars$M.inputTransition]: refs.inputTransition,
|
15327
|
+
[vars$M.marginInlineStart]: refs.marginInlineStart,
|
15328
|
+
[vars$M.placeholderOpacity]: refs.placeholderOpacity,
|
15329
|
+
[vars$M.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
15330
|
+
[vars$M.valueInputHeight]: refs.valueInputHeight,
|
15331
|
+
[vars$M.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15332
|
+
[vars$M.inputIconOffset]: globalRefs$v.spacing.md,
|
15333
|
+
[vars$M.inputIconSize]: refs.inputIconSize,
|
15334
|
+
[vars$M.inputIconColor]: refs.placeholderTextColor,
|
15335
|
+
};
|
15336
|
+
|
15337
|
+
var textField$1 = /*#__PURE__*/Object.freeze({
|
15338
|
+
__proto__: null,
|
15339
|
+
default: textField,
|
15340
|
+
textField: textField,
|
15341
|
+
vars: vars$M
|
15342
|
+
});
|
15343
|
+
|
15344
|
+
const globalRefs$u = getThemeRefs(globals);
|
15345
|
+
const vars$L = PasswordClass.cssVarList;
|
15346
|
+
|
15347
|
+
const password = {
|
15178
15348
|
[vars$L.hostWidth]: refs.width,
|
15179
15349
|
[vars$L.hostMinWidth]: refs.minWidth,
|
15180
15350
|
[vars$L.hostDirection]: refs.direction,
|
@@ -15183,10 +15353,13 @@ const textField = {
|
|
15183
15353
|
[vars$L.labelFontSize]: refs.labelFontSize,
|
15184
15354
|
[vars$L.labelFontWeight]: refs.labelFontWeight,
|
15185
15355
|
[vars$L.labelTextColor]: refs.labelTextColor,
|
15186
|
-
[vars$L.labelRequiredIndicator]: refs.requiredIndicator,
|
15187
15356
|
[vars$L.errorMessageTextColor]: refs.errorMessageTextColor,
|
15357
|
+
[vars$L.inputHorizontalPadding]: refs.horizontalPadding,
|
15358
|
+
[vars$L.inputHeight]: refs.inputHeight,
|
15359
|
+
[vars$L.inputBackgroundColor]: refs.backgroundColor,
|
15360
|
+
[vars$L.labelRequiredIndicator]: refs.requiredIndicator,
|
15188
15361
|
[vars$L.inputValueTextColor]: refs.valueTextColor,
|
15189
|
-
[vars$L.
|
15362
|
+
[vars$L.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
15190
15363
|
[vars$L.inputBorderWidth]: refs.borderWidth,
|
15191
15364
|
[vars$L.inputBorderStyle]: refs.borderStyle,
|
15192
15365
|
[vars$L.inputBorderColor]: refs.borderColor,
|
@@ -15195,16 +15368,9 @@ const textField = {
|
|
15195
15368
|
[vars$L.inputOutlineStyle]: refs.outlineStyle,
|
15196
15369
|
[vars$L.inputOutlineColor]: refs.outlineColor,
|
15197
15370
|
[vars$L.inputOutlineOffset]: refs.outlineOffset,
|
15198
|
-
[vars$L.
|
15199
|
-
[vars$L.
|
15200
|
-
[vars$L.
|
15201
|
-
[vars$L.helperTextColor]: refs.helperTextColor,
|
15202
|
-
[vars$L.textAlign]: refs.textAlign,
|
15203
|
-
textAlign: {
|
15204
|
-
right: { [vars$L.inputTextAlign]: 'right' },
|
15205
|
-
left: { [vars$L.inputTextAlign]: 'left' },
|
15206
|
-
center: { [vars$L.inputTextAlign]: 'center' },
|
15207
|
-
},
|
15371
|
+
[vars$L.revealButtonOffset]: globalRefs$u.spacing.md,
|
15372
|
+
[vars$L.revealButtonSize]: refs.toggleButtonSize,
|
15373
|
+
[vars$L.revealButtonColor]: refs.placeholderTextColor,
|
15208
15374
|
[vars$L.labelPosition]: refs.labelPosition,
|
15209
15375
|
[vars$L.labelTopPosition]: refs.labelTopPosition,
|
15210
15376
|
[vars$L.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
@@ -15214,23 +15380,17 @@ const textField = {
|
|
15214
15380
|
[vars$L.placeholderOpacity]: refs.placeholderOpacity,
|
15215
15381
|
[vars$L.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
15216
15382
|
[vars$L.valueInputHeight]: refs.valueInputHeight,
|
15217
|
-
[vars$L.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15218
|
-
[vars$L.inputIconOffset]: globalRefs$v.spacing.md,
|
15219
|
-
[vars$L.inputIconSize]: refs.inputIconSize,
|
15220
|
-
[vars$L.inputIconColor]: refs.placeholderTextColor,
|
15221
15383
|
};
|
15222
15384
|
|
15223
|
-
var
|
15385
|
+
var password$1 = /*#__PURE__*/Object.freeze({
|
15224
15386
|
__proto__: null,
|
15225
|
-
default:
|
15226
|
-
textField: textField,
|
15387
|
+
default: password,
|
15227
15388
|
vars: vars$L
|
15228
15389
|
});
|
15229
15390
|
|
15230
|
-
const
|
15231
|
-
const vars$K = PasswordClass.cssVarList;
|
15391
|
+
const vars$K = NumberFieldClass.cssVarList;
|
15232
15392
|
|
15233
|
-
const
|
15393
|
+
const numberField = {
|
15234
15394
|
[vars$K.hostWidth]: refs.width,
|
15235
15395
|
[vars$K.hostMinWidth]: refs.minWidth,
|
15236
15396
|
[vars$K.hostDirection]: refs.direction,
|
@@ -15240,12 +15400,8 @@ const password = {
|
|
15240
15400
|
[vars$K.labelFontWeight]: refs.labelFontWeight,
|
15241
15401
|
[vars$K.labelTextColor]: refs.labelTextColor,
|
15242
15402
|
[vars$K.errorMessageTextColor]: refs.errorMessageTextColor,
|
15243
|
-
[vars$K.inputHorizontalPadding]: refs.horizontalPadding,
|
15244
|
-
[vars$K.inputHeight]: refs.inputHeight,
|
15245
|
-
[vars$K.inputBackgroundColor]: refs.backgroundColor,
|
15246
|
-
[vars$K.labelRequiredIndicator]: refs.requiredIndicator,
|
15247
15403
|
[vars$K.inputValueTextColor]: refs.valueTextColor,
|
15248
|
-
[vars$K.
|
15404
|
+
[vars$K.inputPlaceholderColor]: refs.placeholderTextColor,
|
15249
15405
|
[vars$K.inputBorderWidth]: refs.borderWidth,
|
15250
15406
|
[vars$K.inputBorderStyle]: refs.borderStyle,
|
15251
15407
|
[vars$K.inputBorderColor]: refs.borderColor,
|
@@ -15254,9 +15410,10 @@ const password = {
|
|
15254
15410
|
[vars$K.inputOutlineStyle]: refs.outlineStyle,
|
15255
15411
|
[vars$K.inputOutlineColor]: refs.outlineColor,
|
15256
15412
|
[vars$K.inputOutlineOffset]: refs.outlineOffset,
|
15257
|
-
[vars$K.
|
15258
|
-
[vars$K.
|
15259
|
-
[vars$K.
|
15413
|
+
[vars$K.inputBackgroundColor]: refs.backgroundColor,
|
15414
|
+
[vars$K.labelRequiredIndicator]: refs.requiredIndicator,
|
15415
|
+
[vars$K.inputHorizontalPadding]: refs.horizontalPadding,
|
15416
|
+
[vars$K.inputHeight]: refs.inputHeight,
|
15260
15417
|
[vars$K.labelPosition]: refs.labelPosition,
|
15261
15418
|
[vars$K.labelTopPosition]: refs.labelTopPosition,
|
15262
15419
|
[vars$K.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
@@ -15266,17 +15423,18 @@ const password = {
|
|
15266
15423
|
[vars$K.placeholderOpacity]: refs.placeholderOpacity,
|
15267
15424
|
[vars$K.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
15268
15425
|
[vars$K.valueInputHeight]: refs.valueInputHeight,
|
15426
|
+
[vars$K.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15269
15427
|
};
|
15270
15428
|
|
15271
|
-
var
|
15429
|
+
var numberField$1 = /*#__PURE__*/Object.freeze({
|
15272
15430
|
__proto__: null,
|
15273
|
-
default:
|
15431
|
+
default: numberField,
|
15274
15432
|
vars: vars$K
|
15275
15433
|
});
|
15276
15434
|
|
15277
|
-
const vars$J =
|
15435
|
+
const vars$J = EmailFieldClass.cssVarList;
|
15278
15436
|
|
15279
|
-
const
|
15437
|
+
const emailField = {
|
15280
15438
|
[vars$J.hostWidth]: refs.width,
|
15281
15439
|
[vars$J.hostMinWidth]: refs.minWidth,
|
15282
15440
|
[vars$J.hostDirection]: refs.direction,
|
@@ -15287,6 +15445,7 @@ const numberField = {
|
|
15287
15445
|
[vars$J.labelTextColor]: refs.labelTextColor,
|
15288
15446
|
[vars$J.errorMessageTextColor]: refs.errorMessageTextColor,
|
15289
15447
|
[vars$J.inputValueTextColor]: refs.valueTextColor,
|
15448
|
+
[vars$J.labelRequiredIndicator]: refs.requiredIndicator,
|
15290
15449
|
[vars$J.inputPlaceholderColor]: refs.placeholderTextColor,
|
15291
15450
|
[vars$J.inputBorderWidth]: refs.borderWidth,
|
15292
15451
|
[vars$J.inputBorderStyle]: refs.borderStyle,
|
@@ -15297,7 +15456,6 @@ const numberField = {
|
|
15297
15456
|
[vars$J.inputOutlineColor]: refs.outlineColor,
|
15298
15457
|
[vars$J.inputOutlineOffset]: refs.outlineOffset,
|
15299
15458
|
[vars$J.inputBackgroundColor]: refs.backgroundColor,
|
15300
|
-
[vars$J.labelRequiredIndicator]: refs.requiredIndicator,
|
15301
15459
|
[vars$J.inputHorizontalPadding]: refs.horizontalPadding,
|
15302
15460
|
[vars$J.inputHeight]: refs.inputHeight,
|
15303
15461
|
[vars$J.labelPosition]: refs.labelPosition,
|
@@ -15312,204 +15470,153 @@ const numberField = {
|
|
15312
15470
|
[vars$J.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15313
15471
|
};
|
15314
15472
|
|
15315
|
-
var
|
15473
|
+
var emailField$1 = /*#__PURE__*/Object.freeze({
|
15316
15474
|
__proto__: null,
|
15317
|
-
default:
|
15475
|
+
default: emailField,
|
15318
15476
|
vars: vars$J
|
15319
15477
|
});
|
15320
15478
|
|
15321
|
-
const vars$I =
|
15479
|
+
const vars$I = TextAreaClass.cssVarList;
|
15322
15480
|
|
15323
|
-
const
|
15481
|
+
const textArea = {
|
15324
15482
|
[vars$I.hostWidth]: refs.width,
|
15325
15483
|
[vars$I.hostMinWidth]: refs.minWidth,
|
15326
15484
|
[vars$I.hostDirection]: refs.direction,
|
15327
15485
|
[vars$I.fontSize]: refs.fontSize,
|
15328
15486
|
[vars$I.fontFamily]: refs.fontFamily,
|
15329
|
-
[vars$I.labelFontSize]: refs.labelFontSize,
|
15330
|
-
[vars$I.labelFontWeight]: refs.labelFontWeight,
|
15331
15487
|
[vars$I.labelTextColor]: refs.labelTextColor,
|
15488
|
+
[vars$I.labelRequiredIndicator]: refs.requiredIndicator,
|
15332
15489
|
[vars$I.errorMessageTextColor]: refs.errorMessageTextColor,
|
15490
|
+
[vars$I.inputBackgroundColor]: refs.backgroundColor,
|
15333
15491
|
[vars$I.inputValueTextColor]: refs.valueTextColor,
|
15334
|
-
[vars$I.
|
15335
|
-
[vars$I.
|
15492
|
+
[vars$I.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
15493
|
+
[vars$I.inputBorderRadius]: refs.borderRadius,
|
15336
15494
|
[vars$I.inputBorderWidth]: refs.borderWidth,
|
15337
15495
|
[vars$I.inputBorderStyle]: refs.borderStyle,
|
15338
15496
|
[vars$I.inputBorderColor]: refs.borderColor,
|
15339
|
-
[vars$I.inputBorderRadius]: refs.borderRadius,
|
15340
15497
|
[vars$I.inputOutlineWidth]: refs.outlineWidth,
|
15341
15498
|
[vars$I.inputOutlineStyle]: refs.outlineStyle,
|
15342
15499
|
[vars$I.inputOutlineColor]: refs.outlineColor,
|
15343
15500
|
[vars$I.inputOutlineOffset]: refs.outlineOffset,
|
15344
|
-
[vars$I.
|
15345
|
-
[vars$I.
|
15346
|
-
|
15347
|
-
|
15348
|
-
|
15349
|
-
|
15350
|
-
|
15351
|
-
|
15352
|
-
|
15353
|
-
|
15354
|
-
|
15355
|
-
[vars$I.valueInputHeight]: refs.valueInputHeight,
|
15356
|
-
[vars$I.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
15501
|
+
[vars$I.inputResizeType]: 'vertical',
|
15502
|
+
[vars$I.inputMinHeight]: '5em',
|
15503
|
+
textAlign: {
|
15504
|
+
right: { [vars$I.inputTextAlign]: 'right' },
|
15505
|
+
left: { [vars$I.inputTextAlign]: 'left' },
|
15506
|
+
center: { [vars$I.inputTextAlign]: 'center' },
|
15507
|
+
},
|
15508
|
+
|
15509
|
+
_readonly: {
|
15510
|
+
[vars$I.inputResizeType]: 'none',
|
15511
|
+
},
|
15357
15512
|
};
|
15358
15513
|
|
15359
|
-
var
|
15514
|
+
var textArea$1 = /*#__PURE__*/Object.freeze({
|
15360
15515
|
__proto__: null,
|
15361
|
-
default:
|
15516
|
+
default: textArea,
|
15362
15517
|
vars: vars$I
|
15363
15518
|
});
|
15364
15519
|
|
15365
|
-
const vars$H =
|
15520
|
+
const vars$H = CheckboxClass.cssVarList;
|
15521
|
+
const checkboxSize = '1.35em';
|
15366
15522
|
|
15367
|
-
const
|
15523
|
+
const checkbox = {
|
15368
15524
|
[vars$H.hostWidth]: refs.width,
|
15369
|
-
[vars$H.hostMinWidth]: refs.minWidth,
|
15370
15525
|
[vars$H.hostDirection]: refs.direction,
|
15371
15526
|
[vars$H.fontSize]: refs.fontSize,
|
15372
15527
|
[vars$H.fontFamily]: refs.fontFamily,
|
15373
15528
|
[vars$H.labelTextColor]: refs.labelTextColor,
|
15374
15529
|
[vars$H.labelRequiredIndicator]: refs.requiredIndicator,
|
15530
|
+
[vars$H.labelFontWeight]: '400',
|
15531
|
+
[vars$H.labelLineHeight]: checkboxSize,
|
15532
|
+
[vars$H.labelSpacing]: '1em',
|
15375
15533
|
[vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
|
15376
|
-
[vars$H.
|
15377
|
-
[vars$H.
|
15378
|
-
[vars$H.
|
15534
|
+
[vars$H.inputOutlineWidth]: refs.outlineWidth,
|
15535
|
+
[vars$H.inputOutlineOffset]: refs.outlineOffset,
|
15536
|
+
[vars$H.inputOutlineColor]: refs.outlineColor,
|
15537
|
+
[vars$H.inputOutlineStyle]: refs.outlineStyle,
|
15379
15538
|
[vars$H.inputBorderRadius]: refs.borderRadius,
|
15539
|
+
[vars$H.inputBorderColor]: refs.borderColor,
|
15380
15540
|
[vars$H.inputBorderWidth]: refs.borderWidth,
|
15381
15541
|
[vars$H.inputBorderStyle]: refs.borderStyle,
|
15382
|
-
[vars$H.
|
15383
|
-
[vars$H.
|
15384
|
-
[vars$H.
|
15385
|
-
[vars$H.inputOutlineColor]: refs.outlineColor,
|
15386
|
-
[vars$H.inputOutlineOffset]: refs.outlineOffset,
|
15387
|
-
[vars$H.inputResizeType]: 'vertical',
|
15388
|
-
[vars$H.inputMinHeight]: '5em',
|
15389
|
-
textAlign: {
|
15390
|
-
right: { [vars$H.inputTextAlign]: 'right' },
|
15391
|
-
left: { [vars$H.inputTextAlign]: 'left' },
|
15392
|
-
center: { [vars$H.inputTextAlign]: 'center' },
|
15393
|
-
},
|
15394
|
-
|
15395
|
-
_readonly: {
|
15396
|
-
[vars$H.inputResizeType]: 'none',
|
15397
|
-
},
|
15542
|
+
[vars$H.inputBackgroundColor]: refs.backgroundColor,
|
15543
|
+
[vars$H.inputSize]: checkboxSize,
|
15544
|
+
[vars$H.inputValueTextColor]: refs.valueTextColor,
|
15398
15545
|
};
|
15399
15546
|
|
15400
|
-
var
|
15547
|
+
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
15401
15548
|
__proto__: null,
|
15402
|
-
default:
|
15549
|
+
default: checkbox,
|
15403
15550
|
vars: vars$H
|
15404
15551
|
});
|
15405
15552
|
|
15406
|
-
const
|
15407
|
-
const
|
15553
|
+
const knobMargin = '2px';
|
15554
|
+
const checkboxHeight = '1.25em';
|
15408
15555
|
|
15409
|
-
const
|
15556
|
+
const globalRefs$t = getThemeRefs(globals);
|
15557
|
+
const vars$G = SwitchToggleClass.cssVarList;
|
15558
|
+
|
15559
|
+
const switchToggle = {
|
15410
15560
|
[vars$G.hostWidth]: refs.width,
|
15411
15561
|
[vars$G.hostDirection]: refs.direction,
|
15412
15562
|
[vars$G.fontSize]: refs.fontSize,
|
15413
15563
|
[vars$G.fontFamily]: refs.fontFamily,
|
15414
|
-
|
15415
|
-
[vars$G.labelRequiredIndicator]: refs.requiredIndicator,
|
15416
|
-
[vars$G.labelFontWeight]: '400',
|
15417
|
-
[vars$G.labelLineHeight]: checkboxSize,
|
15418
|
-
[vars$G.labelSpacing]: '1em',
|
15419
|
-
[vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
|
15564
|
+
|
15420
15565
|
[vars$G.inputOutlineWidth]: refs.outlineWidth,
|
15421
15566
|
[vars$G.inputOutlineOffset]: refs.outlineOffset,
|
15422
15567
|
[vars$G.inputOutlineColor]: refs.outlineColor,
|
15423
15568
|
[vars$G.inputOutlineStyle]: refs.outlineStyle,
|
15424
|
-
[vars$G.inputBorderRadius]: refs.borderRadius,
|
15425
|
-
[vars$G.inputBorderColor]: refs.borderColor,
|
15426
|
-
[vars$G.inputBorderWidth]: refs.borderWidth,
|
15427
|
-
[vars$G.inputBorderStyle]: refs.borderStyle,
|
15428
|
-
[vars$G.inputBackgroundColor]: refs.backgroundColor,
|
15429
|
-
[vars$G.inputSize]: checkboxSize,
|
15430
15569
|
|
15431
|
-
|
15432
|
-
|
15433
|
-
|
15570
|
+
[vars$G.trackBorderStyle]: refs.borderStyle,
|
15571
|
+
[vars$G.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
15572
|
+
[vars$G.trackBorderColor]: refs.borderColor,
|
15573
|
+
[vars$G.trackBackgroundColor]: refs.backgroundColor,
|
15574
|
+
[vars$G.trackBorderRadius]: globalRefs$t.radius.md,
|
15575
|
+
[vars$G.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
15576
|
+
[vars$G.trackHeight]: checkboxHeight,
|
15577
|
+
|
15578
|
+
[vars$G.knobSize]: `calc(1em - ${knobMargin})`,
|
15579
|
+
[vars$G.knobRadius]: '50%',
|
15580
|
+
[vars$G.knobTopOffset]: '1px',
|
15581
|
+
[vars$G.knobLeftOffset]: knobMargin,
|
15582
|
+
[vars$G.knobColor]: refs.labelTextColor,
|
15583
|
+
[vars$G.knobTransitionDuration]: '0.3s',
|
15434
15584
|
|
15435
|
-
|
15436
|
-
|
15437
|
-
|
15438
|
-
|
15439
|
-
|
15440
|
-
|
15441
|
-
__proto__: null,
|
15442
|
-
default: checkbox,
|
15443
|
-
vars: vars$G
|
15444
|
-
});
|
15445
|
-
|
15446
|
-
const knobMargin = '2px';
|
15447
|
-
const checkboxHeight = '1.25em';
|
15448
|
-
|
15449
|
-
const globalRefs$t = getThemeRefs(globals);
|
15450
|
-
const vars$F = SwitchToggleClass.cssVarList;
|
15451
|
-
|
15452
|
-
const switchToggle = {
|
15453
|
-
[vars$F.hostWidth]: refs.width,
|
15454
|
-
[vars$F.hostDirection]: refs.direction,
|
15455
|
-
[vars$F.fontSize]: refs.fontSize,
|
15456
|
-
[vars$F.fontFamily]: refs.fontFamily,
|
15457
|
-
|
15458
|
-
[vars$F.inputOutlineWidth]: refs.outlineWidth,
|
15459
|
-
[vars$F.inputOutlineOffset]: refs.outlineOffset,
|
15460
|
-
[vars$F.inputOutlineColor]: refs.outlineColor,
|
15461
|
-
[vars$F.inputOutlineStyle]: refs.outlineStyle,
|
15462
|
-
|
15463
|
-
[vars$F.trackBorderStyle]: refs.borderStyle,
|
15464
|
-
[vars$F.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
15465
|
-
[vars$F.trackBorderColor]: refs.borderColor,
|
15466
|
-
[vars$F.trackBackgroundColor]: refs.backgroundColor,
|
15467
|
-
[vars$F.trackBorderRadius]: globalRefs$t.radius.md,
|
15468
|
-
[vars$F.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
15469
|
-
[vars$F.trackHeight]: checkboxHeight,
|
15470
|
-
|
15471
|
-
[vars$F.knobSize]: `calc(1em - ${knobMargin})`,
|
15472
|
-
[vars$F.knobRadius]: '50%',
|
15473
|
-
[vars$F.knobTopOffset]: '1px',
|
15474
|
-
[vars$F.knobLeftOffset]: knobMargin,
|
15475
|
-
[vars$F.knobColor]: refs.labelTextColor,
|
15476
|
-
[vars$F.knobTransitionDuration]: '0.3s',
|
15477
|
-
|
15478
|
-
[vars$F.labelTextColor]: refs.labelTextColor,
|
15479
|
-
[vars$F.labelFontWeight]: '400',
|
15480
|
-
[vars$F.labelLineHeight]: '1.35em',
|
15481
|
-
[vars$F.labelSpacing]: '1em',
|
15482
|
-
[vars$F.labelRequiredIndicator]: refs.requiredIndicator,
|
15483
|
-
[vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
|
15585
|
+
[vars$G.labelTextColor]: refs.labelTextColor,
|
15586
|
+
[vars$G.labelFontWeight]: '400',
|
15587
|
+
[vars$G.labelLineHeight]: '1.35em',
|
15588
|
+
[vars$G.labelSpacing]: '1em',
|
15589
|
+
[vars$G.labelRequiredIndicator]: refs.requiredIndicator,
|
15590
|
+
[vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
|
15484
15591
|
|
15485
15592
|
_checked: {
|
15486
|
-
[vars$
|
15487
|
-
[vars$
|
15488
|
-
[vars$
|
15489
|
-
[vars$
|
15593
|
+
[vars$G.trackBorderColor]: refs.borderColor,
|
15594
|
+
[vars$G.knobLeftOffset]: `calc(100% - var(${vars$G.knobSize}) - ${knobMargin})`,
|
15595
|
+
[vars$G.knobColor]: refs.valueTextColor,
|
15596
|
+
[vars$G.knobTextColor]: refs.valueTextColor,
|
15490
15597
|
},
|
15491
15598
|
|
15492
15599
|
_disabled: {
|
15493
|
-
[vars$
|
15494
|
-
[vars$
|
15495
|
-
[vars$
|
15496
|
-
[vars$
|
15600
|
+
[vars$G.knobColor]: globalRefs$t.colors.surface.light,
|
15601
|
+
[vars$G.trackBorderColor]: globalRefs$t.colors.surface.light,
|
15602
|
+
[vars$G.trackBackgroundColor]: globalRefs$t.colors.surface.main,
|
15603
|
+
[vars$G.labelTextColor]: refs.labelTextColor,
|
15497
15604
|
_checked: {
|
15498
|
-
[vars$
|
15499
|
-
[vars$
|
15605
|
+
[vars$G.knobColor]: globalRefs$t.colors.surface.light,
|
15606
|
+
[vars$G.trackBackgroundColor]: globalRefs$t.colors.surface.main,
|
15500
15607
|
},
|
15501
15608
|
},
|
15502
15609
|
|
15503
15610
|
_invalid: {
|
15504
|
-
[vars$
|
15505
|
-
[vars$
|
15611
|
+
[vars$G.trackBorderColor]: globalRefs$t.colors.error.main,
|
15612
|
+
[vars$G.knobColor]: globalRefs$t.colors.error.main,
|
15506
15613
|
},
|
15507
15614
|
};
|
15508
15615
|
|
15509
15616
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
15510
15617
|
__proto__: null,
|
15511
15618
|
default: switchToggle,
|
15512
|
-
vars: vars$
|
15619
|
+
vars: vars$G
|
15513
15620
|
});
|
15514
15621
|
|
15515
15622
|
const globalRefs$s = getThemeRefs(globals);
|
@@ -15534,7 +15641,7 @@ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
|
|
15534
15641
|
horizontalAlignment,
|
15535
15642
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
15536
15643
|
},
|
15537
|
-
componentName$
|
15644
|
+
componentName$W
|
15538
15645
|
);
|
15539
15646
|
|
15540
15647
|
const { shadowColor: shadowColor$3 } = helperRefs$3;
|
@@ -15621,7 +15728,7 @@ const container = {
|
|
15621
15728
|
},
|
15622
15729
|
};
|
15623
15730
|
|
15624
|
-
const vars$
|
15731
|
+
const vars$F = {
|
15625
15732
|
...compVars$5,
|
15626
15733
|
...helperVars$3,
|
15627
15734
|
};
|
@@ -15629,168 +15736,168 @@ const vars$E = {
|
|
15629
15736
|
var container$1 = /*#__PURE__*/Object.freeze({
|
15630
15737
|
__proto__: null,
|
15631
15738
|
default: container,
|
15632
|
-
vars: vars$
|
15739
|
+
vars: vars$F
|
15633
15740
|
});
|
15634
15741
|
|
15635
|
-
const vars$
|
15742
|
+
const vars$E = LogoClass.cssVarList;
|
15636
15743
|
|
15637
15744
|
const logo$2 = {
|
15638
|
-
[vars$
|
15745
|
+
[vars$E.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
15639
15746
|
};
|
15640
15747
|
|
15641
15748
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
15642
15749
|
__proto__: null,
|
15643
15750
|
default: logo$2,
|
15644
|
-
vars: vars$
|
15751
|
+
vars: vars$E
|
15645
15752
|
});
|
15646
15753
|
|
15647
|
-
const vars$
|
15754
|
+
const vars$D = TotpImageClass.cssVarList;
|
15648
15755
|
|
15649
15756
|
const logo$1 = {
|
15650
|
-
[vars$
|
15757
|
+
[vars$D.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
15651
15758
|
};
|
15652
15759
|
|
15653
15760
|
var totpImage = /*#__PURE__*/Object.freeze({
|
15654
15761
|
__proto__: null,
|
15655
15762
|
default: logo$1,
|
15656
|
-
vars: vars$
|
15763
|
+
vars: vars$D
|
15657
15764
|
});
|
15658
15765
|
|
15659
|
-
const vars$
|
15766
|
+
const vars$C = NotpImageClass.cssVarList;
|
15660
15767
|
|
15661
15768
|
const logo = {
|
15662
|
-
[vars$
|
15769
|
+
[vars$C.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
15663
15770
|
};
|
15664
15771
|
|
15665
15772
|
var notpImage = /*#__PURE__*/Object.freeze({
|
15666
15773
|
__proto__: null,
|
15667
15774
|
default: logo,
|
15668
|
-
vars: vars$
|
15775
|
+
vars: vars$C
|
15669
15776
|
});
|
15670
15777
|
|
15671
15778
|
const globalRefs$r = getThemeRefs(globals);
|
15672
|
-
const vars$
|
15779
|
+
const vars$B = TextClass.cssVarList;
|
15673
15780
|
|
15674
15781
|
const text = {
|
15675
|
-
[vars$
|
15676
|
-
[vars$
|
15677
|
-
[vars$
|
15678
|
-
[vars$
|
15782
|
+
[vars$B.hostDirection]: globalRefs$r.direction,
|
15783
|
+
[vars$B.textLineHeight]: '1.35em',
|
15784
|
+
[vars$B.textAlign]: 'left',
|
15785
|
+
[vars$B.textColor]: globalRefs$r.colors.surface.dark,
|
15679
15786
|
|
15680
15787
|
variant: {
|
15681
15788
|
h1: {
|
15682
|
-
[vars$
|
15683
|
-
[vars$
|
15684
|
-
[vars$
|
15789
|
+
[vars$B.fontSize]: globalRefs$r.typography.h1.size,
|
15790
|
+
[vars$B.fontWeight]: globalRefs$r.typography.h1.weight,
|
15791
|
+
[vars$B.fontFamily]: globalRefs$r.typography.h1.font,
|
15685
15792
|
},
|
15686
15793
|
h2: {
|
15687
|
-
[vars$
|
15688
|
-
[vars$
|
15689
|
-
[vars$
|
15794
|
+
[vars$B.fontSize]: globalRefs$r.typography.h2.size,
|
15795
|
+
[vars$B.fontWeight]: globalRefs$r.typography.h2.weight,
|
15796
|
+
[vars$B.fontFamily]: globalRefs$r.typography.h2.font,
|
15690
15797
|
},
|
15691
15798
|
h3: {
|
15692
|
-
[vars$
|
15693
|
-
[vars$
|
15694
|
-
[vars$
|
15799
|
+
[vars$B.fontSize]: globalRefs$r.typography.h3.size,
|
15800
|
+
[vars$B.fontWeight]: globalRefs$r.typography.h3.weight,
|
15801
|
+
[vars$B.fontFamily]: globalRefs$r.typography.h3.font,
|
15695
15802
|
},
|
15696
15803
|
subtitle1: {
|
15697
|
-
[vars$
|
15698
|
-
[vars$
|
15699
|
-
[vars$
|
15804
|
+
[vars$B.fontSize]: globalRefs$r.typography.subtitle1.size,
|
15805
|
+
[vars$B.fontWeight]: globalRefs$r.typography.subtitle1.weight,
|
15806
|
+
[vars$B.fontFamily]: globalRefs$r.typography.subtitle1.font,
|
15700
15807
|
},
|
15701
15808
|
subtitle2: {
|
15702
|
-
[vars$
|
15703
|
-
[vars$
|
15704
|
-
[vars$
|
15809
|
+
[vars$B.fontSize]: globalRefs$r.typography.subtitle2.size,
|
15810
|
+
[vars$B.fontWeight]: globalRefs$r.typography.subtitle2.weight,
|
15811
|
+
[vars$B.fontFamily]: globalRefs$r.typography.subtitle2.font,
|
15705
15812
|
},
|
15706
15813
|
body1: {
|
15707
|
-
[vars$
|
15708
|
-
[vars$
|
15709
|
-
[vars$
|
15814
|
+
[vars$B.fontSize]: globalRefs$r.typography.body1.size,
|
15815
|
+
[vars$B.fontWeight]: globalRefs$r.typography.body1.weight,
|
15816
|
+
[vars$B.fontFamily]: globalRefs$r.typography.body1.font,
|
15710
15817
|
},
|
15711
15818
|
body2: {
|
15712
|
-
[vars$
|
15713
|
-
[vars$
|
15714
|
-
[vars$
|
15819
|
+
[vars$B.fontSize]: globalRefs$r.typography.body2.size,
|
15820
|
+
[vars$B.fontWeight]: globalRefs$r.typography.body2.weight,
|
15821
|
+
[vars$B.fontFamily]: globalRefs$r.typography.body2.font,
|
15715
15822
|
},
|
15716
15823
|
},
|
15717
15824
|
|
15718
15825
|
mode: {
|
15719
15826
|
primary: {
|
15720
|
-
[vars$
|
15827
|
+
[vars$B.textColor]: globalRefs$r.colors.surface.contrast,
|
15721
15828
|
},
|
15722
15829
|
secondary: {
|
15723
|
-
[vars$
|
15830
|
+
[vars$B.textColor]: globalRefs$r.colors.surface.dark,
|
15724
15831
|
},
|
15725
15832
|
error: {
|
15726
|
-
[vars$
|
15833
|
+
[vars$B.textColor]: globalRefs$r.colors.error.main,
|
15727
15834
|
},
|
15728
15835
|
success: {
|
15729
|
-
[vars$
|
15836
|
+
[vars$B.textColor]: globalRefs$r.colors.success.main,
|
15730
15837
|
},
|
15731
15838
|
},
|
15732
15839
|
|
15733
15840
|
textAlign: {
|
15734
|
-
right: { [vars$
|
15735
|
-
left: { [vars$
|
15736
|
-
center: { [vars$
|
15841
|
+
right: { [vars$B.textAlign]: 'right' },
|
15842
|
+
left: { [vars$B.textAlign]: 'left' },
|
15843
|
+
center: { [vars$B.textAlign]: 'center' },
|
15737
15844
|
},
|
15738
15845
|
|
15739
15846
|
_fullWidth: {
|
15740
|
-
[vars$
|
15847
|
+
[vars$B.hostWidth]: '100%',
|
15741
15848
|
},
|
15742
15849
|
|
15743
15850
|
_italic: {
|
15744
|
-
[vars$
|
15851
|
+
[vars$B.fontStyle]: 'italic',
|
15745
15852
|
},
|
15746
15853
|
|
15747
15854
|
_uppercase: {
|
15748
|
-
[vars$
|
15855
|
+
[vars$B.textTransform]: 'uppercase',
|
15749
15856
|
},
|
15750
15857
|
|
15751
15858
|
_lowercase: {
|
15752
|
-
[vars$
|
15859
|
+
[vars$B.textTransform]: 'lowercase',
|
15753
15860
|
},
|
15754
15861
|
};
|
15755
15862
|
|
15756
15863
|
var text$1 = /*#__PURE__*/Object.freeze({
|
15757
15864
|
__proto__: null,
|
15758
15865
|
default: text,
|
15759
|
-
vars: vars$
|
15866
|
+
vars: vars$B
|
15760
15867
|
});
|
15761
15868
|
|
15762
15869
|
const globalRefs$q = getThemeRefs(globals);
|
15763
|
-
const vars$
|
15870
|
+
const vars$A = LinkClass.cssVarList;
|
15764
15871
|
|
15765
15872
|
const link = {
|
15766
|
-
[vars$
|
15767
|
-
[vars$
|
15873
|
+
[vars$A.hostDirection]: globalRefs$q.direction,
|
15874
|
+
[vars$A.cursor]: 'pointer',
|
15768
15875
|
|
15769
|
-
[vars$
|
15876
|
+
[vars$A.textColor]: globalRefs$q.colors.primary.main,
|
15770
15877
|
|
15771
15878
|
textAlign: {
|
15772
|
-
right: { [vars$
|
15773
|
-
left: { [vars$
|
15774
|
-
center: { [vars$
|
15879
|
+
right: { [vars$A.textAlign]: 'right' },
|
15880
|
+
left: { [vars$A.textAlign]: 'left' },
|
15881
|
+
center: { [vars$A.textAlign]: 'center' },
|
15775
15882
|
},
|
15776
15883
|
|
15777
15884
|
_fullWidth: {
|
15778
|
-
[vars$
|
15885
|
+
[vars$A.hostWidth]: '100%',
|
15779
15886
|
},
|
15780
15887
|
|
15781
15888
|
_hover: {
|
15782
|
-
[vars$
|
15889
|
+
[vars$A.textDecoration]: 'underline',
|
15783
15890
|
},
|
15784
15891
|
|
15785
15892
|
mode: {
|
15786
15893
|
secondary: {
|
15787
|
-
[vars$
|
15894
|
+
[vars$A.textColor]: globalRefs$q.colors.secondary.main,
|
15788
15895
|
},
|
15789
15896
|
error: {
|
15790
|
-
[vars$
|
15897
|
+
[vars$A.textColor]: globalRefs$q.colors.error.main,
|
15791
15898
|
},
|
15792
15899
|
success: {
|
15793
|
-
[vars$
|
15900
|
+
[vars$A.textColor]: globalRefs$q.colors.success.main,
|
15794
15901
|
},
|
15795
15902
|
},
|
15796
15903
|
};
|
@@ -15798,37 +15905,37 @@ const link = {
|
|
15798
15905
|
var link$1 = /*#__PURE__*/Object.freeze({
|
15799
15906
|
__proto__: null,
|
15800
15907
|
default: link,
|
15801
|
-
vars: vars$
|
15908
|
+
vars: vars$A
|
15802
15909
|
});
|
15803
15910
|
|
15804
15911
|
const globalRefs$p = getThemeRefs(globals);
|
15805
|
-
const vars$
|
15912
|
+
const vars$z = EnrichedTextClass.cssVarList;
|
15806
15913
|
|
15807
15914
|
const enrichedText = {
|
15808
|
-
[vars$
|
15809
|
-
[vars$
|
15915
|
+
[vars$z.hostDirection]: globalRefs$p.direction,
|
15916
|
+
[vars$z.hostWidth]: useVar(vars$B.hostWidth),
|
15810
15917
|
|
15811
|
-
[vars$
|
15812
|
-
[vars$
|
15813
|
-
[vars$
|
15918
|
+
[vars$z.textLineHeight]: useVar(vars$B.textLineHeight),
|
15919
|
+
[vars$z.textColor]: useVar(vars$B.textColor),
|
15920
|
+
[vars$z.textAlign]: useVar(vars$B.textAlign),
|
15814
15921
|
|
15815
|
-
[vars$
|
15816
|
-
[vars$
|
15817
|
-
[vars$
|
15922
|
+
[vars$z.fontSize]: useVar(vars$B.fontSize),
|
15923
|
+
[vars$z.fontWeight]: useVar(vars$B.fontWeight),
|
15924
|
+
[vars$z.fontFamily]: useVar(vars$B.fontFamily),
|
15818
15925
|
|
15819
|
-
[vars$
|
15820
|
-
[vars$
|
15821
|
-
[vars$
|
15926
|
+
[vars$z.linkColor]: useVar(vars$A.textColor),
|
15927
|
+
[vars$z.linkTextDecoration]: 'none',
|
15928
|
+
[vars$z.linkHoverTextDecoration]: 'underline',
|
15822
15929
|
|
15823
|
-
[vars$
|
15824
|
-
[vars$
|
15825
|
-
[vars$
|
15930
|
+
[vars$z.fontWeightBold]: '900',
|
15931
|
+
[vars$z.minWidth]: '0.25em',
|
15932
|
+
[vars$z.minHeight]: '1.35em',
|
15826
15933
|
|
15827
|
-
[vars$
|
15934
|
+
[vars$z.hostDisplay]: 'inline-block',
|
15828
15935
|
|
15829
15936
|
_empty: {
|
15830
15937
|
_hideWhenEmpty: {
|
15831
|
-
[vars$
|
15938
|
+
[vars$z.hostDisplay]: 'none',
|
15832
15939
|
},
|
15833
15940
|
},
|
15834
15941
|
};
|
@@ -15836,7 +15943,7 @@ const enrichedText = {
|
|
15836
15943
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
15837
15944
|
__proto__: null,
|
15838
15945
|
default: enrichedText,
|
15839
|
-
vars: vars$
|
15946
|
+
vars: vars$z
|
15840
15947
|
});
|
15841
15948
|
|
15842
15949
|
const globalRefs$o = getThemeRefs(globals);
|
@@ -15847,7 +15954,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
15847
15954
|
thickness: '2px',
|
15848
15955
|
spacing: '10px',
|
15849
15956
|
},
|
15850
|
-
componentName$
|
15957
|
+
componentName$Q
|
15851
15958
|
);
|
15852
15959
|
|
15853
15960
|
const divider = {
|
@@ -15878,7 +15985,7 @@ const divider = {
|
|
15878
15985
|
},
|
15879
15986
|
};
|
15880
15987
|
|
15881
|
-
const vars$
|
15988
|
+
const vars$y = {
|
15882
15989
|
...compVars$4,
|
15883
15990
|
...helperVars$2,
|
15884
15991
|
};
|
@@ -15886,93 +15993,93 @@ const vars$x = {
|
|
15886
15993
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
15887
15994
|
__proto__: null,
|
15888
15995
|
default: divider,
|
15889
|
-
vars: vars$
|
15996
|
+
vars: vars$y
|
15890
15997
|
});
|
15891
15998
|
|
15892
|
-
const vars$
|
15999
|
+
const vars$x = PasscodeClass.cssVarList;
|
15893
16000
|
|
15894
16001
|
const passcode = {
|
15895
|
-
[vars$
|
15896
|
-
[vars$
|
15897
|
-
[vars$
|
15898
|
-
[vars$
|
15899
|
-
[vars$
|
15900
|
-
[vars$
|
15901
|
-
[vars$
|
15902
|
-
[vars$
|
15903
|
-
[vars$
|
15904
|
-
[vars$
|
15905
|
-
[vars$
|
15906
|
-
[vars$
|
15907
|
-
[vars$
|
15908
|
-
[vars$
|
15909
|
-
[vars$
|
16002
|
+
[vars$x.hostDirection]: refs.direction,
|
16003
|
+
[vars$x.fontFamily]: refs.fontFamily,
|
16004
|
+
[vars$x.fontSize]: refs.fontSize,
|
16005
|
+
[vars$x.labelTextColor]: refs.labelTextColor,
|
16006
|
+
[vars$x.labelRequiredIndicator]: refs.requiredIndicator,
|
16007
|
+
[vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
|
16008
|
+
[vars$x.digitValueTextColor]: refs.valueTextColor,
|
16009
|
+
[vars$x.digitPadding]: '0',
|
16010
|
+
[vars$x.digitTextAlign]: 'center',
|
16011
|
+
[vars$x.digitSpacing]: '4px',
|
16012
|
+
[vars$x.hostWidth]: refs.width,
|
16013
|
+
[vars$x.digitOutlineColor]: 'transparent',
|
16014
|
+
[vars$x.digitOutlineWidth]: refs.outlineWidth,
|
16015
|
+
[vars$x.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
16016
|
+
[vars$x.digitSize]: refs.inputHeight,
|
15910
16017
|
|
15911
16018
|
size: {
|
15912
|
-
xs: { [vars$
|
15913
|
-
sm: { [vars$
|
15914
|
-
md: { [vars$
|
15915
|
-
lg: { [vars$
|
16019
|
+
xs: { [vars$x.spinnerSize]: '15px' },
|
16020
|
+
sm: { [vars$x.spinnerSize]: '20px' },
|
16021
|
+
md: { [vars$x.spinnerSize]: '20px' },
|
16022
|
+
lg: { [vars$x.spinnerSize]: '20px' },
|
15916
16023
|
},
|
15917
16024
|
|
15918
16025
|
_hideCursor: {
|
15919
|
-
[vars$
|
16026
|
+
[vars$x.digitCaretTextColor]: 'transparent',
|
15920
16027
|
},
|
15921
16028
|
|
15922
16029
|
_loading: {
|
15923
|
-
[vars$
|
16030
|
+
[vars$x.overlayOpacity]: refs.overlayOpacity,
|
15924
16031
|
},
|
15925
16032
|
};
|
15926
16033
|
|
15927
16034
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
15928
16035
|
__proto__: null,
|
15929
16036
|
default: passcode,
|
15930
|
-
vars: vars$
|
16037
|
+
vars: vars$x
|
15931
16038
|
});
|
15932
16039
|
|
15933
16040
|
const globalRefs$n = getThemeRefs(globals);
|
15934
|
-
const vars$
|
16041
|
+
const vars$w = LoaderLinearClass.cssVarList;
|
15935
16042
|
|
15936
16043
|
const loaderLinear = {
|
15937
|
-
[vars$
|
15938
|
-
[vars$
|
16044
|
+
[vars$w.hostDisplay]: 'inline-block',
|
16045
|
+
[vars$w.hostWidth]: '100%',
|
15939
16046
|
|
15940
|
-
[vars$
|
15941
|
-
[vars$
|
16047
|
+
[vars$w.barColor]: globalRefs$n.colors.surface.contrast,
|
16048
|
+
[vars$w.barWidth]: '20%',
|
15942
16049
|
|
15943
|
-
[vars$
|
15944
|
-
[vars$
|
16050
|
+
[vars$w.barBackgroundColor]: globalRefs$n.colors.surface.light,
|
16051
|
+
[vars$w.barBorderRadius]: '4px',
|
15945
16052
|
|
15946
|
-
[vars$
|
15947
|
-
[vars$
|
15948
|
-
[vars$
|
15949
|
-
[vars$
|
16053
|
+
[vars$w.animationDuration]: '2s',
|
16054
|
+
[vars$w.animationTimingFunction]: 'linear',
|
16055
|
+
[vars$w.animationIterationCount]: 'infinite',
|
16056
|
+
[vars$w.verticalPadding]: '0.25em',
|
15950
16057
|
|
15951
16058
|
size: {
|
15952
|
-
xs: { [vars$
|
15953
|
-
sm: { [vars$
|
15954
|
-
md: { [vars$
|
15955
|
-
lg: { [vars$
|
16059
|
+
xs: { [vars$w.barHeight]: '2px' },
|
16060
|
+
sm: { [vars$w.barHeight]: '4px' },
|
16061
|
+
md: { [vars$w.barHeight]: '6px' },
|
16062
|
+
lg: { [vars$w.barHeight]: '8px' },
|
15956
16063
|
},
|
15957
16064
|
|
15958
16065
|
mode: {
|
15959
16066
|
primary: {
|
15960
|
-
[vars$
|
16067
|
+
[vars$w.barColor]: globalRefs$n.colors.primary.main,
|
15961
16068
|
},
|
15962
16069
|
secondary: {
|
15963
|
-
[vars$
|
16070
|
+
[vars$w.barColor]: globalRefs$n.colors.secondary.main,
|
15964
16071
|
},
|
15965
16072
|
},
|
15966
16073
|
|
15967
16074
|
_hidden: {
|
15968
|
-
[vars$
|
16075
|
+
[vars$w.hostDisplay]: 'none',
|
15969
16076
|
},
|
15970
16077
|
};
|
15971
16078
|
|
15972
16079
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
15973
16080
|
__proto__: null,
|
15974
16081
|
default: loaderLinear,
|
15975
|
-
vars: vars$
|
16082
|
+
vars: vars$w
|
15976
16083
|
});
|
15977
16084
|
|
15978
16085
|
const globalRefs$m = getThemeRefs(globals);
|
@@ -15990,7 +16097,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
15990
16097
|
},
|
15991
16098
|
},
|
15992
16099
|
},
|
15993
|
-
componentName$
|
16100
|
+
componentName$X
|
15994
16101
|
);
|
15995
16102
|
|
15996
16103
|
const loaderRadial = {
|
@@ -16019,7 +16126,7 @@ const loaderRadial = {
|
|
16019
16126
|
[compVars$3.hostDisplay]: 'none',
|
16020
16127
|
},
|
16021
16128
|
};
|
16022
|
-
const vars$
|
16129
|
+
const vars$v = {
|
16023
16130
|
...compVars$3,
|
16024
16131
|
...helperVars$1,
|
16025
16132
|
};
|
@@ -16027,93 +16134,134 @@ const vars$u = {
|
|
16027
16134
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
16028
16135
|
__proto__: null,
|
16029
16136
|
default: loaderRadial,
|
16030
|
-
vars: vars$
|
16137
|
+
vars: vars$v
|
16031
16138
|
});
|
16032
16139
|
|
16033
16140
|
const globalRefs$l = getThemeRefs(globals);
|
16034
|
-
const vars$
|
16141
|
+
const vars$u = ComboBoxClass.cssVarList;
|
16035
16142
|
|
16036
16143
|
const comboBox = {
|
16037
|
-
[vars$
|
16038
|
-
[vars$
|
16039
|
-
[vars$
|
16040
|
-
[vars$
|
16041
|
-
[vars$
|
16042
|
-
[vars$
|
16043
|
-
[vars$
|
16044
|
-
[vars$
|
16045
|
-
[vars$
|
16046
|
-
[vars$
|
16047
|
-
[vars$
|
16048
|
-
[vars$
|
16049
|
-
[vars$
|
16050
|
-
[vars$
|
16051
|
-
[vars$
|
16052
|
-
[vars$
|
16053
|
-
[vars$
|
16054
|
-
[vars$
|
16055
|
-
[vars$
|
16056
|
-
[vars$
|
16057
|
-
[vars$
|
16058
|
-
[vars$
|
16059
|
-
[vars$
|
16060
|
-
[vars$
|
16061
|
-
[vars$
|
16062
|
-
[vars$
|
16063
|
-
[vars$
|
16064
|
-
[vars$
|
16065
|
-
[vars$
|
16066
|
-
[vars$
|
16067
|
-
[vars$
|
16068
|
-
[vars$
|
16069
|
-
[vars$
|
16070
|
-
[vars$
|
16071
|
-
[vars$
|
16072
|
-
[vars$
|
16073
|
-
[vars$
|
16074
|
-
[vars$
|
16144
|
+
[vars$u.hostWidth]: refs.width,
|
16145
|
+
[vars$u.hostDirection]: refs.direction,
|
16146
|
+
[vars$u.fontSize]: refs.fontSize,
|
16147
|
+
[vars$u.fontFamily]: refs.fontFamily,
|
16148
|
+
[vars$u.labelFontSize]: refs.labelFontSize,
|
16149
|
+
[vars$u.labelFontWeight]: refs.labelFontWeight,
|
16150
|
+
[vars$u.labelTextColor]: refs.labelTextColor,
|
16151
|
+
[vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
|
16152
|
+
[vars$u.inputBorderColor]: refs.borderColor,
|
16153
|
+
[vars$u.inputBorderWidth]: refs.borderWidth,
|
16154
|
+
[vars$u.inputBorderStyle]: refs.borderStyle,
|
16155
|
+
[vars$u.inputBorderRadius]: refs.borderRadius,
|
16156
|
+
[vars$u.inputOutlineColor]: refs.outlineColor,
|
16157
|
+
[vars$u.inputOutlineOffset]: refs.outlineOffset,
|
16158
|
+
[vars$u.inputOutlineWidth]: refs.outlineWidth,
|
16159
|
+
[vars$u.inputOutlineStyle]: refs.outlineStyle,
|
16160
|
+
[vars$u.labelRequiredIndicator]: refs.requiredIndicator,
|
16161
|
+
[vars$u.inputValueTextColor]: refs.valueTextColor,
|
16162
|
+
[vars$u.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
16163
|
+
[vars$u.inputBackgroundColor]: refs.backgroundColor,
|
16164
|
+
[vars$u.inputHorizontalPadding]: refs.horizontalPadding,
|
16165
|
+
[vars$u.inputHeight]: refs.inputHeight,
|
16166
|
+
[vars$u.inputDropdownButtonColor]: globalRefs$l.colors.surface.dark,
|
16167
|
+
[vars$u.inputDropdownButtonCursor]: 'pointer',
|
16168
|
+
[vars$u.inputDropdownButtonSize]: refs.toggleButtonSize,
|
16169
|
+
[vars$u.inputDropdownButtonOffset]: globalRefs$l.spacing.xs,
|
16170
|
+
[vars$u.overlayItemPaddingInlineStart]: globalRefs$l.spacing.xs,
|
16171
|
+
[vars$u.overlayItemPaddingInlineEnd]: globalRefs$l.spacing.lg,
|
16172
|
+
[vars$u.labelPosition]: refs.labelPosition,
|
16173
|
+
[vars$u.labelTopPosition]: refs.labelTopPosition,
|
16174
|
+
[vars$u.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16175
|
+
[vars$u.inputTransformY]: refs.inputTransformY,
|
16176
|
+
[vars$u.inputTransition]: refs.inputTransition,
|
16177
|
+
[vars$u.marginInlineStart]: refs.marginInlineStart,
|
16178
|
+
[vars$u.placeholderOpacity]: refs.placeholderOpacity,
|
16179
|
+
[vars$u.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
16180
|
+
[vars$u.valueInputHeight]: refs.valueInputHeight,
|
16181
|
+
[vars$u.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16075
16182
|
|
16076
16183
|
_readonly: {
|
16077
|
-
[vars$
|
16184
|
+
[vars$u.inputDropdownButtonCursor]: 'default',
|
16078
16185
|
},
|
16079
16186
|
|
16080
16187
|
// Overlay theme exposed via the component:
|
16081
|
-
[vars$
|
16082
|
-
[vars$
|
16083
|
-
[vars$
|
16084
|
-
[vars$
|
16085
|
-
[vars$
|
16086
|
-
[vars$
|
16188
|
+
[vars$u.overlayFontSize]: refs.fontSize,
|
16189
|
+
[vars$u.overlayFontFamily]: refs.fontFamily,
|
16190
|
+
[vars$u.overlayCursor]: 'pointer',
|
16191
|
+
[vars$u.overlayItemBoxShadow]: 'none',
|
16192
|
+
[vars$u.overlayBackground]: refs.backgroundColor,
|
16193
|
+
[vars$u.overlayTextColor]: refs.valueTextColor,
|
16087
16194
|
|
16088
16195
|
// Overlay direct theme:
|
16089
|
-
[vars$
|
16090
|
-
[vars$
|
16196
|
+
[vars$u.overlay.minHeight]: '400px',
|
16197
|
+
[vars$u.overlay.margin]: '0',
|
16091
16198
|
};
|
16092
16199
|
|
16093
16200
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
16094
16201
|
__proto__: null,
|
16095
16202
|
comboBox: comboBox,
|
16096
16203
|
default: comboBox,
|
16097
|
-
vars: vars$
|
16204
|
+
vars: vars$u
|
16098
16205
|
});
|
16099
16206
|
|
16100
|
-
const vars$
|
16207
|
+
const vars$t = ImageClass.cssVarList;
|
16101
16208
|
|
16102
16209
|
const image = {};
|
16103
16210
|
|
16104
16211
|
var image$1 = /*#__PURE__*/Object.freeze({
|
16105
16212
|
__proto__: null,
|
16106
16213
|
default: image,
|
16107
|
-
vars: vars$
|
16214
|
+
vars: vars$t
|
16108
16215
|
});
|
16109
16216
|
|
16110
|
-
const vars$
|
16217
|
+
const vars$s = PhoneFieldClass.cssVarList;
|
16111
16218
|
|
16112
16219
|
const phoneField = {
|
16113
|
-
[vars$
|
16220
|
+
[vars$s.hostWidth]: refs.width,
|
16221
|
+
[vars$s.hostDirection]: refs.direction,
|
16222
|
+
[vars$s.fontSize]: refs.fontSize,
|
16223
|
+
[vars$s.fontFamily]: refs.fontFamily,
|
16224
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
16225
|
+
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
16226
|
+
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
16227
|
+
[vars$s.inputValueTextColor]: refs.valueTextColor,
|
16228
|
+
[vars$s.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
16229
|
+
[vars$s.inputBorderStyle]: refs.borderStyle,
|
16230
|
+
[vars$s.inputBorderWidth]: refs.borderWidth,
|
16231
|
+
[vars$s.inputBorderColor]: refs.borderColor,
|
16232
|
+
[vars$s.inputBorderRadius]: refs.borderRadius,
|
16233
|
+
[vars$s.inputOutlineStyle]: refs.outlineStyle,
|
16234
|
+
[vars$s.inputOutlineWidth]: refs.outlineWidth,
|
16235
|
+
[vars$s.inputOutlineColor]: refs.outlineColor,
|
16236
|
+
[vars$s.inputOutlineOffset]: refs.outlineOffset,
|
16237
|
+
[vars$s.phoneInputWidth]: refs.minWidth,
|
16238
|
+
[vars$s.countryCodeInputWidth]: '5em',
|
16239
|
+
[vars$s.countryCodeDropdownWidth]: '20em',
|
16240
|
+
[vars$s.marginInlineStart]: '-0.25em',
|
16241
|
+
[vars$s.valueInputHeight]: refs.valueInputHeight,
|
16242
|
+
[vars$s.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16243
|
+
|
16244
|
+
// '@overlay': {
|
16245
|
+
// overlayItemBackgroundColor: 'red'
|
16246
|
+
// }
|
16247
|
+
};
|
16248
|
+
|
16249
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
16250
|
+
__proto__: null,
|
16251
|
+
default: phoneField,
|
16252
|
+
vars: vars$s
|
16253
|
+
});
|
16254
|
+
|
16255
|
+
const vars$r = PhoneFieldInputBoxClass.cssVarList;
|
16256
|
+
|
16257
|
+
const phoneInputBoxField = {
|
16258
|
+
[vars$r.hostWidth]: '16em',
|
16259
|
+
[vars$r.hostMinWidth]: refs.minWidth,
|
16114
16260
|
[vars$r.hostDirection]: refs.direction,
|
16115
16261
|
[vars$r.fontSize]: refs.fontSize,
|
16116
16262
|
[vars$r.fontFamily]: refs.fontFamily,
|
16263
|
+
[vars$r.labelFontSize]: refs.labelFontSize,
|
16264
|
+
[vars$r.labelFontWeight]: refs.labelFontWeight,
|
16117
16265
|
[vars$r.labelTextColor]: refs.labelTextColor,
|
16118
16266
|
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
16119
16267
|
[vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
|
@@ -16127,28 +16275,32 @@ const phoneField = {
|
|
16127
16275
|
[vars$r.inputOutlineWidth]: refs.outlineWidth,
|
16128
16276
|
[vars$r.inputOutlineColor]: refs.outlineColor,
|
16129
16277
|
[vars$r.inputOutlineOffset]: refs.outlineOffset,
|
16130
|
-
[vars$r.
|
16131
|
-
[vars$r.
|
16132
|
-
[vars$r.
|
16133
|
-
[vars$r.
|
16278
|
+
[vars$r.labelPosition]: refs.labelPosition,
|
16279
|
+
[vars$r.labelTopPosition]: refs.labelTopPosition,
|
16280
|
+
[vars$r.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16281
|
+
[vars$r.inputTransformY]: refs.inputTransformY,
|
16282
|
+
[vars$r.inputTransition]: refs.inputTransition,
|
16283
|
+
[vars$r.marginInlineStart]: refs.marginInlineStart,
|
16134
16284
|
[vars$r.valueInputHeight]: refs.valueInputHeight,
|
16135
16285
|
[vars$r.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16286
|
+
[vars$r.inputHorizontalPadding]: '0',
|
16136
16287
|
|
16137
|
-
|
16138
|
-
|
16139
|
-
|
16288
|
+
_fullWidth: {
|
16289
|
+
[vars$r.hostWidth]: refs.width,
|
16290
|
+
},
|
16140
16291
|
};
|
16141
16292
|
|
16142
|
-
var
|
16293
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
16143
16294
|
__proto__: null,
|
16144
|
-
default:
|
16295
|
+
default: phoneInputBoxField,
|
16145
16296
|
vars: vars$r
|
16146
16297
|
});
|
16147
16298
|
|
16148
|
-
const
|
16299
|
+
const globalRefs$k = getThemeRefs(globals);
|
16300
|
+
const vars$q = NewPasswordClass.cssVarList;
|
16149
16301
|
|
16150
|
-
const
|
16151
|
-
[vars$q.hostWidth]:
|
16302
|
+
const newPassword = {
|
16303
|
+
[vars$q.hostWidth]: refs.width,
|
16152
16304
|
[vars$q.hostMinWidth]: refs.minWidth,
|
16153
16305
|
[vars$q.hostDirection]: refs.direction,
|
16154
16306
|
[vars$q.fontSize]: refs.fontSize,
|
@@ -16156,171 +16308,126 @@ const phoneInputBoxField = {
|
|
16156
16308
|
[vars$q.labelFontSize]: refs.labelFontSize,
|
16157
16309
|
[vars$q.labelFontWeight]: refs.labelFontWeight,
|
16158
16310
|
[vars$q.labelTextColor]: refs.labelTextColor,
|
16159
|
-
[vars$q.
|
16311
|
+
[vars$q.spaceBetweenInputs]: '1em',
|
16160
16312
|
[vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
|
16161
|
-
[vars$q.
|
16162
|
-
[vars$q.
|
16163
|
-
[vars$q.inputBorderStyle]: refs.borderStyle,
|
16164
|
-
[vars$q.inputBorderWidth]: refs.borderWidth,
|
16165
|
-
[vars$q.inputBorderColor]: refs.borderColor,
|
16166
|
-
[vars$q.inputBorderRadius]: refs.borderRadius,
|
16167
|
-
[vars$q.inputOutlineStyle]: refs.outlineStyle,
|
16168
|
-
[vars$q.inputOutlineWidth]: refs.outlineWidth,
|
16169
|
-
[vars$q.inputOutlineColor]: refs.outlineColor,
|
16170
|
-
[vars$q.inputOutlineOffset]: refs.outlineOffset,
|
16171
|
-
[vars$q.labelPosition]: refs.labelPosition,
|
16172
|
-
[vars$q.labelTopPosition]: refs.labelTopPosition,
|
16173
|
-
[vars$q.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16174
|
-
[vars$q.inputTransformY]: refs.inputTransformY,
|
16175
|
-
[vars$q.inputTransition]: refs.inputTransition,
|
16176
|
-
[vars$q.marginInlineStart]: refs.marginInlineStart,
|
16313
|
+
[vars$q.policyPreviewBackgroundColor]: 'none',
|
16314
|
+
[vars$q.policyPreviewPadding]: globalRefs$k.spacing.lg,
|
16177
16315
|
[vars$q.valueInputHeight]: refs.valueInputHeight,
|
16178
|
-
[vars$q.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
16179
|
-
[vars$q.inputHorizontalPadding]: '0',
|
16180
|
-
|
16181
|
-
_fullWidth: {
|
16182
|
-
[vars$q.hostWidth]: refs.width,
|
16183
|
-
},
|
16184
|
-
};
|
16185
|
-
|
16186
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
16187
|
-
__proto__: null,
|
16188
|
-
default: phoneInputBoxField,
|
16189
|
-
vars: vars$q
|
16190
|
-
});
|
16191
|
-
|
16192
|
-
const globalRefs$k = getThemeRefs(globals);
|
16193
|
-
const vars$p = NewPasswordClass.cssVarList;
|
16194
|
-
|
16195
|
-
const newPassword = {
|
16196
|
-
[vars$p.hostWidth]: refs.width,
|
16197
|
-
[vars$p.hostMinWidth]: refs.minWidth,
|
16198
|
-
[vars$p.hostDirection]: refs.direction,
|
16199
|
-
[vars$p.fontSize]: refs.fontSize,
|
16200
|
-
[vars$p.fontFamily]: refs.fontFamily,
|
16201
|
-
[vars$p.labelFontSize]: refs.labelFontSize,
|
16202
|
-
[vars$p.labelFontWeight]: refs.labelFontWeight,
|
16203
|
-
[vars$p.labelTextColor]: refs.labelTextColor,
|
16204
|
-
[vars$p.spaceBetweenInputs]: '1em',
|
16205
|
-
[vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
|
16206
|
-
[vars$p.policyPreviewBackgroundColor]: 'none',
|
16207
|
-
[vars$p.policyPreviewPadding]: globalRefs$k.spacing.lg,
|
16208
|
-
[vars$p.valueInputHeight]: refs.valueInputHeight,
|
16209
16316
|
|
16210
16317
|
_required: {
|
16211
16318
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
16212
16319
|
// That's why we fake the required indicator on each input.
|
16213
16320
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
16214
|
-
[vars$
|
16321
|
+
[vars$q.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
16215
16322
|
},
|
16216
16323
|
};
|
16217
16324
|
|
16218
16325
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
16219
16326
|
__proto__: null,
|
16220
16327
|
default: newPassword,
|
16221
|
-
vars: vars$
|
16328
|
+
vars: vars$q
|
16222
16329
|
});
|
16223
16330
|
|
16224
|
-
const vars$
|
16331
|
+
const vars$p = UploadFileClass.cssVarList;
|
16225
16332
|
|
16226
16333
|
const uploadFile = {
|
16227
|
-
[vars$
|
16228
|
-
[vars$
|
16229
|
-
[vars$
|
16334
|
+
[vars$p.hostDirection]: refs.direction,
|
16335
|
+
[vars$p.labelTextColor]: refs.labelTextColor,
|
16336
|
+
[vars$p.fontFamily]: refs.fontFamily,
|
16230
16337
|
|
16231
|
-
[vars$
|
16338
|
+
[vars$p.iconSize]: '2em',
|
16232
16339
|
|
16233
|
-
[vars$
|
16234
|
-
[vars$
|
16340
|
+
[vars$p.hostPadding]: '0.75em',
|
16341
|
+
[vars$p.gap]: '0.5em',
|
16235
16342
|
|
16236
|
-
[vars$
|
16237
|
-
[vars$
|
16238
|
-
[vars$
|
16343
|
+
[vars$p.fontSize]: '16px',
|
16344
|
+
[vars$p.titleFontWeight]: '500',
|
16345
|
+
[vars$p.lineHeight]: '1em',
|
16239
16346
|
|
16240
|
-
[vars$
|
16241
|
-
[vars$
|
16242
|
-
[vars$
|
16243
|
-
[vars$
|
16347
|
+
[vars$p.borderWidth]: refs.borderWidth,
|
16348
|
+
[vars$p.borderColor]: refs.borderColor,
|
16349
|
+
[vars$p.borderRadius]: refs.borderRadius,
|
16350
|
+
[vars$p.borderStyle]: 'dashed',
|
16244
16351
|
|
16245
16352
|
_required: {
|
16246
|
-
[vars$
|
16353
|
+
[vars$p.requiredIndicator]: refs.requiredIndicator,
|
16247
16354
|
},
|
16248
16355
|
|
16249
16356
|
size: {
|
16250
16357
|
xs: {
|
16251
|
-
[vars$
|
16252
|
-
[vars$
|
16253
|
-
[vars$
|
16254
|
-
[vars$
|
16255
|
-
[vars$
|
16358
|
+
[vars$p.hostHeight]: '196px',
|
16359
|
+
[vars$p.hostWidth]: '200px',
|
16360
|
+
[vars$p.titleFontSize]: '0.875em',
|
16361
|
+
[vars$p.descriptionFontSize]: '0.875em',
|
16362
|
+
[vars$p.lineHeight]: '1.25em',
|
16256
16363
|
},
|
16257
16364
|
sm: {
|
16258
|
-
[vars$
|
16259
|
-
[vars$
|
16260
|
-
[vars$
|
16261
|
-
[vars$
|
16262
|
-
[vars$
|
16365
|
+
[vars$p.hostHeight]: '216px',
|
16366
|
+
[vars$p.hostWidth]: '230px',
|
16367
|
+
[vars$p.titleFontSize]: '1em',
|
16368
|
+
[vars$p.descriptionFontSize]: '0.875em',
|
16369
|
+
[vars$p.lineHeight]: '1.25em',
|
16263
16370
|
},
|
16264
16371
|
md: {
|
16265
|
-
[vars$
|
16266
|
-
[vars$
|
16267
|
-
[vars$
|
16268
|
-
[vars$
|
16269
|
-
[vars$
|
16372
|
+
[vars$p.hostHeight]: '256px',
|
16373
|
+
[vars$p.hostWidth]: '312px',
|
16374
|
+
[vars$p.titleFontSize]: '1.125em',
|
16375
|
+
[vars$p.descriptionFontSize]: '1em',
|
16376
|
+
[vars$p.lineHeight]: '1.5em',
|
16270
16377
|
},
|
16271
16378
|
lg: {
|
16272
|
-
[vars$
|
16273
|
-
[vars$
|
16274
|
-
[vars$
|
16275
|
-
[vars$
|
16276
|
-
[vars$
|
16379
|
+
[vars$p.hostHeight]: '280px',
|
16380
|
+
[vars$p.hostWidth]: '336px',
|
16381
|
+
[vars$p.titleFontSize]: '1.125em',
|
16382
|
+
[vars$p.descriptionFontSize]: '1.125em',
|
16383
|
+
[vars$p.lineHeight]: '1.75em',
|
16277
16384
|
},
|
16278
16385
|
},
|
16279
16386
|
|
16280
16387
|
_fullWidth: {
|
16281
|
-
[vars$
|
16388
|
+
[vars$p.hostWidth]: refs.width,
|
16282
16389
|
},
|
16283
16390
|
};
|
16284
16391
|
|
16285
16392
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
16286
16393
|
__proto__: null,
|
16287
16394
|
default: uploadFile,
|
16288
|
-
vars: vars$
|
16395
|
+
vars: vars$p
|
16289
16396
|
});
|
16290
16397
|
|
16291
16398
|
const globalRefs$j = getThemeRefs(globals);
|
16292
16399
|
|
16293
|
-
const vars$
|
16400
|
+
const vars$o = ButtonSelectionGroupItemClass.cssVarList;
|
16294
16401
|
|
16295
16402
|
const buttonSelectionGroupItem = {
|
16296
|
-
[vars$
|
16297
|
-
[vars$
|
16298
|
-
[vars$
|
16299
|
-
[vars$
|
16300
|
-
[vars$
|
16301
|
-
[vars$
|
16302
|
-
[vars$
|
16303
|
-
[vars$
|
16403
|
+
[vars$o.hostDirection]: 'inherit',
|
16404
|
+
[vars$o.backgroundColor]: globalRefs$j.colors.surface.main,
|
16405
|
+
[vars$o.labelTextColor]: globalRefs$j.colors.surface.contrast,
|
16406
|
+
[vars$o.borderColor]: globalRefs$j.colors.surface.light,
|
16407
|
+
[vars$o.borderStyle]: 'solid',
|
16408
|
+
[vars$o.borderRadius]: globalRefs$j.radius.sm,
|
16409
|
+
[vars$o.outlineColor]: 'transparent',
|
16410
|
+
[vars$o.borderWidth]: globalRefs$j.border.xs,
|
16304
16411
|
|
16305
16412
|
_hover: {
|
16306
|
-
[vars$
|
16413
|
+
[vars$o.backgroundColor]: globalRefs$j.colors.surface.highlight,
|
16307
16414
|
},
|
16308
16415
|
|
16309
16416
|
_focused: {
|
16310
|
-
[vars$
|
16417
|
+
[vars$o.outlineColor]: globalRefs$j.colors.surface.light,
|
16311
16418
|
},
|
16312
16419
|
|
16313
16420
|
_selected: {
|
16314
|
-
[vars$
|
16315
|
-
[vars$
|
16316
|
-
[vars$
|
16421
|
+
[vars$o.borderColor]: globalRefs$j.colors.surface.contrast,
|
16422
|
+
[vars$o.backgroundColor]: globalRefs$j.colors.surface.contrast,
|
16423
|
+
[vars$o.labelTextColor]: globalRefs$j.colors.surface.main,
|
16317
16424
|
},
|
16318
16425
|
};
|
16319
16426
|
|
16320
16427
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
16321
16428
|
__proto__: null,
|
16322
16429
|
default: buttonSelectionGroupItem,
|
16323
|
-
vars: vars$
|
16430
|
+
vars: vars$o
|
16324
16431
|
});
|
16325
16432
|
|
16326
16433
|
const globalRefs$i = getThemeRefs(globals);
|
@@ -16335,28 +16442,28 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
16335
16442
|
[vars.hostWidth]: refs.width,
|
16336
16443
|
});
|
16337
16444
|
|
16338
|
-
const vars$
|
16445
|
+
const vars$n = ButtonSelectionGroupClass.cssVarList;
|
16339
16446
|
|
16340
16447
|
const buttonSelectionGroup = {
|
16341
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
16448
|
+
...createBaseButtonSelectionGroupMappings(vars$n),
|
16342
16449
|
};
|
16343
16450
|
|
16344
16451
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
16345
16452
|
__proto__: null,
|
16346
16453
|
default: buttonSelectionGroup,
|
16347
|
-
vars: vars$
|
16454
|
+
vars: vars$n
|
16348
16455
|
});
|
16349
16456
|
|
16350
|
-
const vars$
|
16457
|
+
const vars$m = ButtonMultiSelectionGroupClass.cssVarList;
|
16351
16458
|
|
16352
16459
|
const buttonMultiSelectionGroup = {
|
16353
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
16460
|
+
...createBaseButtonSelectionGroupMappings(vars$m),
|
16354
16461
|
};
|
16355
16462
|
|
16356
16463
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
16357
16464
|
__proto__: null,
|
16358
16465
|
default: buttonMultiSelectionGroup,
|
16359
|
-
vars: vars$
|
16466
|
+
vars: vars$m
|
16360
16467
|
});
|
16361
16468
|
|
16362
16469
|
const globalRefs$h = getThemeRefs(globals);
|
@@ -16369,58 +16476,58 @@ const modal = {
|
|
16369
16476
|
[compVars$2.overlayWidth]: '540px',
|
16370
16477
|
};
|
16371
16478
|
|
16372
|
-
const vars$
|
16479
|
+
const vars$l = {
|
16373
16480
|
...compVars$2,
|
16374
16481
|
};
|
16375
16482
|
|
16376
16483
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
16377
16484
|
__proto__: null,
|
16378
16485
|
default: modal,
|
16379
|
-
vars: vars$
|
16486
|
+
vars: vars$l
|
16380
16487
|
});
|
16381
16488
|
|
16382
16489
|
const globalRefs$g = getThemeRefs(globals);
|
16383
|
-
const vars$
|
16490
|
+
const vars$k = GridClass.cssVarList;
|
16384
16491
|
|
16385
16492
|
const grid = {
|
16386
|
-
[vars$
|
16387
|
-
[vars$
|
16388
|
-
[vars$
|
16389
|
-
[vars$
|
16390
|
-
[vars$
|
16391
|
-
|
16392
|
-
[vars$
|
16393
|
-
[vars$
|
16394
|
-
|
16395
|
-
[vars$
|
16396
|
-
[vars$
|
16397
|
-
[vars$
|
16398
|
-
|
16399
|
-
[vars$
|
16400
|
-
[vars$
|
16401
|
-
[vars$
|
16402
|
-
[vars$
|
16403
|
-
|
16404
|
-
[vars$
|
16405
|
-
[vars$
|
16406
|
-
|
16407
|
-
[vars$
|
16408
|
-
[vars$
|
16409
|
-
[vars$
|
16410
|
-
|
16411
|
-
[vars$
|
16412
|
-
[vars$
|
16413
|
-
[vars$
|
16414
|
-
[vars$
|
16415
|
-
[vars$
|
16416
|
-
[vars$
|
16417
|
-
[vars$
|
16418
|
-
[vars$
|
16419
|
-
[vars$
|
16420
|
-
[vars$
|
16493
|
+
[vars$k.hostWidth]: '100%',
|
16494
|
+
[vars$k.hostHeight]: '100%',
|
16495
|
+
[vars$k.hostMinHeight]: '400px',
|
16496
|
+
[vars$k.fontWeight]: '400',
|
16497
|
+
[vars$k.backgroundColor]: globalRefs$g.colors.surface.main,
|
16498
|
+
|
16499
|
+
[vars$k.fontSize]: refs.fontSize,
|
16500
|
+
[vars$k.fontFamily]: refs.fontFamily,
|
16501
|
+
|
16502
|
+
[vars$k.sortIndicatorsColor]: globalRefs$g.colors.surface.light,
|
16503
|
+
[vars$k.activeSortIndicator]: globalRefs$g.colors.surface.dark,
|
16504
|
+
[vars$k.resizeHandleColor]: globalRefs$g.colors.surface.light,
|
16505
|
+
|
16506
|
+
[vars$k.borderWidth]: refs.borderWidth,
|
16507
|
+
[vars$k.borderStyle]: refs.borderStyle,
|
16508
|
+
[vars$k.borderRadius]: refs.borderRadius,
|
16509
|
+
[vars$k.borderColor]: 'transparent',
|
16510
|
+
|
16511
|
+
[vars$k.headerRowTextColor]: globalRefs$g.colors.surface.dark,
|
16512
|
+
[vars$k.separatorColor]: globalRefs$g.colors.surface.light,
|
16513
|
+
|
16514
|
+
[vars$k.valueTextColor]: globalRefs$g.colors.surface.contrast,
|
16515
|
+
[vars$k.selectedBackgroundColor]: globalRefs$g.colors.surface.highlight,
|
16516
|
+
[vars$k.hostDirection]: globalRefs$g.direction,
|
16517
|
+
|
16518
|
+
[vars$k.toggleDetailsPanelButtonSize]: '1em',
|
16519
|
+
[vars$k.toggleDetailsPanelButtonOpenedColor]: globalRefs$g.colors.surface.contrast,
|
16520
|
+
[vars$k.toggleDetailsPanelButtonClosedColor]: globalRefs$g.colors.surface.light,
|
16521
|
+
[vars$k.toggleDetailsPanelButtonCursor]: 'pointer',
|
16522
|
+
[vars$k.detailsPanelBackgroundColor]: globalRefs$g.colors.surface.highlight,
|
16523
|
+
[vars$k.detailsPanelBorderTopColor]: globalRefs$g.colors.surface.light,
|
16524
|
+
[vars$k.detailsPanelLabelsColor]: globalRefs$g.colors.surface.dark,
|
16525
|
+
[vars$k.detailsPanelLabelsFontSize]: '0.8em',
|
16526
|
+
[vars$k.detailsPanelItemsGap]: '2em',
|
16527
|
+
[vars$k.detailsPanelPadding]: '12px 0',
|
16421
16528
|
|
16422
16529
|
_bordered: {
|
16423
|
-
[vars$
|
16530
|
+
[vars$k.borderColor]: refs.borderColor,
|
16424
16531
|
},
|
16425
16532
|
};
|
16426
16533
|
|
@@ -16428,53 +16535,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
16428
16535
|
__proto__: null,
|
16429
16536
|
default: grid,
|
16430
16537
|
grid: grid,
|
16431
|
-
vars: vars$
|
16538
|
+
vars: vars$k
|
16432
16539
|
});
|
16433
16540
|
|
16434
16541
|
const globalRefs$f = getThemeRefs(globals);
|
16435
|
-
const vars$
|
16542
|
+
const vars$j = NotificationCardClass.cssVarList;
|
16436
16543
|
|
16437
16544
|
const shadowColor$2 = '#00000020';
|
16438
16545
|
|
16439
16546
|
const notification = {
|
16440
|
-
[vars$
|
16441
|
-
[vars$
|
16442
|
-
[vars$
|
16443
|
-
[vars$
|
16444
|
-
[vars$
|
16445
|
-
[vars$
|
16446
|
-
[vars$
|
16447
|
-
[vars$
|
16448
|
-
[vars$
|
16547
|
+
[vars$j.hostMinWidth]: '415px',
|
16548
|
+
[vars$j.fontFamily]: globalRefs$f.fonts.font1.family,
|
16549
|
+
[vars$j.fontSize]: globalRefs$f.typography.body1.size,
|
16550
|
+
[vars$j.backgroundColor]: globalRefs$f.colors.surface.main,
|
16551
|
+
[vars$j.textColor]: globalRefs$f.colors.surface.contrast,
|
16552
|
+
[vars$j.boxShadow]: `${globalRefs$f.shadow.wide.xl} ${shadowColor$2}, ${globalRefs$f.shadow.narrow.xl} ${shadowColor$2}`,
|
16553
|
+
[vars$j.verticalPadding]: '0.625em',
|
16554
|
+
[vars$j.horizontalPadding]: '1.5em',
|
16555
|
+
[vars$j.borderRadius]: globalRefs$f.radius.xs,
|
16449
16556
|
|
16450
16557
|
_bordered: {
|
16451
|
-
[vars$
|
16452
|
-
[vars$
|
16453
|
-
[vars$
|
16558
|
+
[vars$j.borderWidth]: globalRefs$f.border.sm,
|
16559
|
+
[vars$j.borderStyle]: 'solid',
|
16560
|
+
[vars$j.borderColor]: 'transparent',
|
16454
16561
|
},
|
16455
16562
|
|
16456
16563
|
size: {
|
16457
|
-
xs: { [vars$
|
16458
|
-
sm: { [vars$
|
16459
|
-
md: { [vars$
|
16460
|
-
lg: { [vars$
|
16564
|
+
xs: { [vars$j.fontSize]: '12px' },
|
16565
|
+
sm: { [vars$j.fontSize]: '14px' },
|
16566
|
+
md: { [vars$j.fontSize]: '16px' },
|
16567
|
+
lg: { [vars$j.fontSize]: '18px' },
|
16461
16568
|
},
|
16462
16569
|
|
16463
16570
|
mode: {
|
16464
16571
|
primary: {
|
16465
|
-
[vars$
|
16466
|
-
[vars$
|
16467
|
-
[vars$
|
16572
|
+
[vars$j.backgroundColor]: globalRefs$f.colors.primary.main,
|
16573
|
+
[vars$j.textColor]: globalRefs$f.colors.primary.contrast,
|
16574
|
+
[vars$j.borderColor]: globalRefs$f.colors.primary.light,
|
16468
16575
|
},
|
16469
16576
|
success: {
|
16470
|
-
[vars$
|
16471
|
-
[vars$
|
16472
|
-
[vars$
|
16577
|
+
[vars$j.backgroundColor]: globalRefs$f.colors.success.main,
|
16578
|
+
[vars$j.textColor]: globalRefs$f.colors.success.contrast,
|
16579
|
+
[vars$j.borderColor]: globalRefs$f.colors.success.light,
|
16473
16580
|
},
|
16474
16581
|
error: {
|
16475
|
-
[vars$
|
16476
|
-
[vars$
|
16477
|
-
[vars$
|
16582
|
+
[vars$j.backgroundColor]: globalRefs$f.colors.error.main,
|
16583
|
+
[vars$j.textColor]: globalRefs$f.colors.error.contrast,
|
16584
|
+
[vars$j.borderColor]: globalRefs$f.colors.error.light,
|
16478
16585
|
},
|
16479
16586
|
},
|
16480
16587
|
};
|
@@ -16482,148 +16589,148 @@ const notification = {
|
|
16482
16589
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
16483
16590
|
__proto__: null,
|
16484
16591
|
default: notification,
|
16485
|
-
vars: vars$
|
16592
|
+
vars: vars$j
|
16486
16593
|
});
|
16487
16594
|
|
16488
16595
|
const globalRefs$e = getThemeRefs(globals);
|
16489
|
-
const vars$
|
16596
|
+
const vars$i = MultiSelectComboBoxClass.cssVarList;
|
16490
16597
|
|
16491
16598
|
const multiSelectComboBox = {
|
16492
|
-
[vars$
|
16493
|
-
[vars$
|
16494
|
-
[vars$
|
16495
|
-
[vars$
|
16496
|
-
[vars$
|
16497
|
-
[vars$
|
16498
|
-
[vars$
|
16499
|
-
[vars$
|
16500
|
-
[vars$
|
16501
|
-
[vars$
|
16502
|
-
[vars$
|
16503
|
-
[vars$
|
16504
|
-
[vars$
|
16505
|
-
[vars$
|
16506
|
-
[vars$
|
16507
|
-
[vars$
|
16508
|
-
[vars$
|
16509
|
-
[vars$
|
16510
|
-
[vars$
|
16511
|
-
[vars$
|
16512
|
-
[vars$
|
16513
|
-
[vars$
|
16514
|
-
[vars$
|
16515
|
-
[vars$
|
16516
|
-
[vars$
|
16517
|
-
[vars$
|
16518
|
-
[vars$
|
16519
|
-
[vars$
|
16520
|
-
[vars$
|
16521
|
-
[vars$
|
16522
|
-
[vars$
|
16523
|
-
[vars$
|
16524
|
-
[vars$
|
16525
|
-
[vars$
|
16526
|
-
[vars$
|
16527
|
-
[vars$
|
16528
|
-
[vars$
|
16529
|
-
[vars$
|
16530
|
-
[vars$
|
16531
|
-
[vars$
|
16532
|
-
[vars$
|
16599
|
+
[vars$i.hostWidth]: refs.width,
|
16600
|
+
[vars$i.hostDirection]: refs.direction,
|
16601
|
+
[vars$i.fontSize]: refs.fontSize,
|
16602
|
+
[vars$i.fontFamily]: refs.fontFamily,
|
16603
|
+
[vars$i.labelFontSize]: refs.labelFontSize,
|
16604
|
+
[vars$i.labelFontWeight]: refs.labelFontWeight,
|
16605
|
+
[vars$i.labelTextColor]: refs.labelTextColor,
|
16606
|
+
[vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
|
16607
|
+
[vars$i.inputBorderColor]: refs.borderColor,
|
16608
|
+
[vars$i.inputBorderWidth]: refs.borderWidth,
|
16609
|
+
[vars$i.inputBorderStyle]: refs.borderStyle,
|
16610
|
+
[vars$i.inputBorderRadius]: refs.borderRadius,
|
16611
|
+
[vars$i.inputOutlineColor]: refs.outlineColor,
|
16612
|
+
[vars$i.inputOutlineOffset]: refs.outlineOffset,
|
16613
|
+
[vars$i.inputOutlineWidth]: refs.outlineWidth,
|
16614
|
+
[vars$i.inputOutlineStyle]: refs.outlineStyle,
|
16615
|
+
[vars$i.labelRequiredIndicator]: refs.requiredIndicator,
|
16616
|
+
[vars$i.inputValueTextColor]: refs.valueTextColor,
|
16617
|
+
[vars$i.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
16618
|
+
[vars$i.inputBackgroundColor]: refs.backgroundColor,
|
16619
|
+
[vars$i.inputHorizontalPadding]: refs.horizontalPadding,
|
16620
|
+
[vars$i.inputVerticalPadding]: refs.verticalPadding,
|
16621
|
+
[vars$i.inputHeight]: refs.inputHeight,
|
16622
|
+
[vars$i.inputDropdownButtonColor]: globalRefs$e.colors.surface.dark,
|
16623
|
+
[vars$i.inputDropdownButtonCursor]: 'pointer',
|
16624
|
+
[vars$i.inputDropdownButtonSize]: refs.toggleButtonSize,
|
16625
|
+
[vars$i.inputDropdownButtonOffset]: globalRefs$e.spacing.xs,
|
16626
|
+
[vars$i.overlayItemPaddingInlineStart]: globalRefs$e.spacing.xs,
|
16627
|
+
[vars$i.overlayItemPaddingInlineEnd]: globalRefs$e.spacing.lg,
|
16628
|
+
[vars$i.chipFontSize]: refs.chipFontSize,
|
16629
|
+
[vars$i.chipTextColor]: globalRefs$e.colors.surface.contrast,
|
16630
|
+
[vars$i.chipBackgroundColor]: globalRefs$e.colors.surface.light,
|
16631
|
+
[vars$i.labelPosition]: refs.labelPosition,
|
16632
|
+
[vars$i.labelTopPosition]: refs.labelTopPosition,
|
16633
|
+
[vars$i.labelLeftPosition]: refs.labelLeftPosition,
|
16634
|
+
[vars$i.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
16635
|
+
[vars$i.inputTransformY]: refs.inputTransformY,
|
16636
|
+
[vars$i.inputTransition]: refs.inputTransition,
|
16637
|
+
[vars$i.marginInlineStart]: refs.marginInlineStart,
|
16638
|
+
[vars$i.placeholderOpacity]: refs.placeholderOpacity,
|
16639
|
+
[vars$i.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
16533
16640
|
|
16534
16641
|
labelType: {
|
16535
16642
|
floating: {
|
16536
|
-
[vars$
|
16643
|
+
[vars$i.inputHorizontalPadding]: '0.25em',
|
16537
16644
|
_hasValue: {
|
16538
|
-
[vars$
|
16645
|
+
[vars$i.inputHorizontalPadding]: '0.45em',
|
16539
16646
|
},
|
16540
16647
|
},
|
16541
16648
|
},
|
16542
16649
|
|
16543
16650
|
_readonly: {
|
16544
|
-
[vars$
|
16651
|
+
[vars$i.inputDropdownButtonCursor]: 'default',
|
16545
16652
|
},
|
16546
16653
|
|
16547
16654
|
// Overlay theme exposed via the component:
|
16548
|
-
[vars$
|
16549
|
-
[vars$
|
16550
|
-
[vars$
|
16551
|
-
[vars$
|
16552
|
-
[vars$
|
16553
|
-
[vars$
|
16655
|
+
[vars$i.overlayFontSize]: refs.fontSize,
|
16656
|
+
[vars$i.overlayFontFamily]: refs.fontFamily,
|
16657
|
+
[vars$i.overlayCursor]: 'pointer',
|
16658
|
+
[vars$i.overlayItemBoxShadow]: 'none',
|
16659
|
+
[vars$i.overlayBackground]: refs.backgroundColor,
|
16660
|
+
[vars$i.overlayTextColor]: refs.valueTextColor,
|
16554
16661
|
|
16555
16662
|
// Overlay direct theme:
|
16556
|
-
[vars$
|
16557
|
-
[vars$
|
16663
|
+
[vars$i.overlay.minHeight]: '400px',
|
16664
|
+
[vars$i.overlay.margin]: '0',
|
16558
16665
|
};
|
16559
16666
|
|
16560
16667
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
16561
16668
|
__proto__: null,
|
16562
16669
|
default: multiSelectComboBox,
|
16563
16670
|
multiSelectComboBox: multiSelectComboBox,
|
16564
|
-
vars: vars$
|
16671
|
+
vars: vars$i
|
16565
16672
|
});
|
16566
16673
|
|
16567
16674
|
const globalRefs$d = getThemeRefs(globals);
|
16568
|
-
const vars$
|
16675
|
+
const vars$h = BadgeClass.cssVarList;
|
16569
16676
|
|
16570
16677
|
const badge = {
|
16571
|
-
[vars$
|
16572
|
-
[vars$
|
16678
|
+
[vars$h.hostWidth]: 'fit-content',
|
16679
|
+
[vars$h.hostDirection]: globalRefs$d.direction,
|
16573
16680
|
|
16574
|
-
[vars$
|
16681
|
+
[vars$h.textAlign]: 'center',
|
16575
16682
|
|
16576
|
-
[vars$
|
16577
|
-
[vars$
|
16683
|
+
[vars$h.fontFamily]: globalRefs$d.fonts.font1.family,
|
16684
|
+
[vars$h.fontWeight]: '400',
|
16578
16685
|
|
16579
|
-
[vars$
|
16580
|
-
[vars$
|
16686
|
+
[vars$h.verticalPadding]: '0.25em',
|
16687
|
+
[vars$h.horizontalPadding]: '0.5em',
|
16581
16688
|
|
16582
|
-
[vars$
|
16583
|
-
[vars$
|
16584
|
-
[vars$
|
16585
|
-
[vars$
|
16689
|
+
[vars$h.borderWidth]: globalRefs$d.border.xs,
|
16690
|
+
[vars$h.borderRadius]: globalRefs$d.radius.xs,
|
16691
|
+
[vars$h.borderColor]: 'transparent',
|
16692
|
+
[vars$h.borderStyle]: 'solid',
|
16586
16693
|
|
16587
16694
|
_fullWidth: {
|
16588
|
-
[vars$
|
16695
|
+
[vars$h.hostWidth]: '100%',
|
16589
16696
|
},
|
16590
16697
|
|
16591
16698
|
size: {
|
16592
|
-
xs: { [vars$
|
16593
|
-
sm: { [vars$
|
16594
|
-
md: { [vars$
|
16595
|
-
lg: { [vars$
|
16699
|
+
xs: { [vars$h.fontSize]: '12px' },
|
16700
|
+
sm: { [vars$h.fontSize]: '14px' },
|
16701
|
+
md: { [vars$h.fontSize]: '16px' },
|
16702
|
+
lg: { [vars$h.fontSize]: '18px' },
|
16596
16703
|
},
|
16597
16704
|
|
16598
16705
|
mode: {
|
16599
16706
|
default: {
|
16600
|
-
[vars$
|
16707
|
+
[vars$h.textColor]: globalRefs$d.colors.surface.dark,
|
16601
16708
|
_bordered: {
|
16602
|
-
[vars$
|
16709
|
+
[vars$h.borderColor]: globalRefs$d.colors.surface.light,
|
16603
16710
|
},
|
16604
16711
|
},
|
16605
16712
|
primary: {
|
16606
|
-
[vars$
|
16713
|
+
[vars$h.textColor]: globalRefs$d.colors.primary.main,
|
16607
16714
|
_bordered: {
|
16608
|
-
[vars$
|
16715
|
+
[vars$h.borderColor]: globalRefs$d.colors.primary.light,
|
16609
16716
|
},
|
16610
16717
|
},
|
16611
16718
|
secondary: {
|
16612
|
-
[vars$
|
16719
|
+
[vars$h.textColor]: globalRefs$d.colors.secondary.main,
|
16613
16720
|
_bordered: {
|
16614
|
-
[vars$
|
16721
|
+
[vars$h.borderColor]: globalRefs$d.colors.secondary.light,
|
16615
16722
|
},
|
16616
16723
|
},
|
16617
16724
|
error: {
|
16618
|
-
[vars$
|
16725
|
+
[vars$h.textColor]: globalRefs$d.colors.error.main,
|
16619
16726
|
_bordered: {
|
16620
|
-
[vars$
|
16727
|
+
[vars$h.borderColor]: globalRefs$d.colors.error.light,
|
16621
16728
|
},
|
16622
16729
|
},
|
16623
16730
|
success: {
|
16624
|
-
[vars$
|
16731
|
+
[vars$h.textColor]: globalRefs$d.colors.success.main,
|
16625
16732
|
_bordered: {
|
16626
|
-
[vars$
|
16733
|
+
[vars$h.borderColor]: globalRefs$d.colors.success.light,
|
16627
16734
|
},
|
16628
16735
|
},
|
16629
16736
|
},
|
@@ -16632,7 +16739,7 @@ const badge = {
|
|
16632
16739
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
16633
16740
|
__proto__: null,
|
16634
16741
|
default: badge,
|
16635
|
-
vars: vars$
|
16742
|
+
vars: vars$h
|
16636
16743
|
});
|
16637
16744
|
|
16638
16745
|
const globalRefs$c = getThemeRefs(globals);
|
@@ -16670,143 +16777,143 @@ const avatar = {
|
|
16670
16777
|
},
|
16671
16778
|
};
|
16672
16779
|
|
16673
|
-
const vars$
|
16780
|
+
const vars$g = {
|
16674
16781
|
...compVars$1,
|
16675
16782
|
};
|
16676
16783
|
|
16677
16784
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
16678
16785
|
__proto__: null,
|
16679
16786
|
default: avatar,
|
16680
|
-
vars: vars$
|
16787
|
+
vars: vars$g
|
16681
16788
|
});
|
16682
16789
|
|
16683
16790
|
const globalRefs$b = getThemeRefs(globals);
|
16684
16791
|
|
16685
|
-
const vars$
|
16792
|
+
const vars$f = MappingsFieldClass.cssVarList;
|
16686
16793
|
|
16687
16794
|
const mappingsField = {
|
16688
|
-
[vars$
|
16689
|
-
[vars$
|
16690
|
-
[vars$
|
16691
|
-
[vars$
|
16692
|
-
[vars$
|
16693
|
-
[vars$
|
16694
|
-
[vars$
|
16695
|
-
[vars$
|
16696
|
-
[vars$
|
16697
|
-
[vars$
|
16795
|
+
[vars$f.hostWidth]: refs.width,
|
16796
|
+
[vars$f.hostDirection]: refs.direction,
|
16797
|
+
[vars$f.fontSize]: refs.fontSize,
|
16798
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
16799
|
+
[vars$f.separatorFontSize]: '14px',
|
16800
|
+
[vars$f.labelsFontSize]: '14px',
|
16801
|
+
[vars$f.labelsLineHeight]: '1',
|
16802
|
+
[vars$f.labelsMarginBottom]: '6px',
|
16803
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
16804
|
+
[vars$f.itemMarginBottom]: '1em',
|
16698
16805
|
// To be positioned correctly, the min width has to match the text field min width
|
16699
|
-
[vars$
|
16806
|
+
[vars$f.valueLabelMinWidth]: refs.minWidth,
|
16700
16807
|
// To be positioned correctly, the min width has to match the combo box field min width
|
16701
|
-
[vars$
|
16702
|
-
[vars$
|
16703
|
-
[vars$
|
16808
|
+
[vars$f.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$b.border.xs})`,
|
16809
|
+
[vars$f.separatorWidth]: '70px',
|
16810
|
+
[vars$f.removeButtonWidth]: '60px',
|
16704
16811
|
};
|
16705
16812
|
|
16706
16813
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
16707
16814
|
__proto__: null,
|
16708
16815
|
default: mappingsField,
|
16709
16816
|
mappingsField: mappingsField,
|
16710
|
-
vars: vars$
|
16817
|
+
vars: vars$f
|
16711
16818
|
});
|
16712
16819
|
|
16713
16820
|
const globalRefs$a = getThemeRefs(globals);
|
16714
|
-
const vars$
|
16821
|
+
const vars$e = UserAttributeClass.cssVarList;
|
16715
16822
|
|
16716
16823
|
const userAttribute = {
|
16717
|
-
[vars$
|
16718
|
-
[vars$
|
16719
|
-
[vars$
|
16720
|
-
[vars$
|
16721
|
-
[vars$
|
16722
|
-
[vars$
|
16824
|
+
[vars$e.hostDirection]: globalRefs$a.direction,
|
16825
|
+
[vars$e.labelTextWidth]: '150px',
|
16826
|
+
[vars$e.valueTextWidth]: '200px',
|
16827
|
+
[vars$e.badgeMaxWidth]: '85px',
|
16828
|
+
[vars$e.itemsGap]: '16px',
|
16829
|
+
[vars$e.hostMinWidth]: '530px',
|
16723
16830
|
_fullWidth: {
|
16724
|
-
[vars$
|
16831
|
+
[vars$e.hostWidth]: '100%',
|
16725
16832
|
},
|
16726
16833
|
};
|
16727
16834
|
|
16728
16835
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
16729
16836
|
__proto__: null,
|
16730
16837
|
default: userAttribute,
|
16731
|
-
vars: vars$
|
16838
|
+
vars: vars$e
|
16732
16839
|
});
|
16733
16840
|
|
16734
16841
|
const globalRefs$9 = getThemeRefs(globals);
|
16735
|
-
const vars$
|
16842
|
+
const vars$d = UserAuthMethodClass.cssVarList;
|
16736
16843
|
|
16737
16844
|
const userAuthMethod = {
|
16738
|
-
[vars$
|
16739
|
-
[vars$
|
16740
|
-
[vars$
|
16741
|
-
[vars$
|
16742
|
-
[vars$
|
16845
|
+
[vars$d.hostDirection]: globalRefs$9.direction,
|
16846
|
+
[vars$d.labelTextWidth]: '200px',
|
16847
|
+
[vars$d.itemsGap]: '16px',
|
16848
|
+
[vars$d.hostMinWidth]: '530px',
|
16849
|
+
[vars$d.iconSize]: '24px',
|
16743
16850
|
_fullWidth: {
|
16744
|
-
[vars$
|
16851
|
+
[vars$d.hostWidth]: '100%',
|
16745
16852
|
},
|
16746
16853
|
};
|
16747
16854
|
|
16748
16855
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
16749
16856
|
__proto__: null,
|
16750
16857
|
default: userAuthMethod,
|
16751
|
-
vars: vars$
|
16858
|
+
vars: vars$d
|
16752
16859
|
});
|
16753
16860
|
|
16754
|
-
const vars$
|
16861
|
+
const vars$c = SamlGroupMappingsClass.cssVarList;
|
16755
16862
|
|
16756
16863
|
const samlGroupMappings = {
|
16757
|
-
[vars$
|
16758
|
-
[vars$
|
16759
|
-
[vars$
|
16864
|
+
[vars$c.hostWidth]: refs.width,
|
16865
|
+
[vars$c.hostDirection]: refs.direction,
|
16866
|
+
[vars$c.groupNameInputMarginBottom]: '1em',
|
16760
16867
|
};
|
16761
16868
|
|
16762
16869
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
16763
16870
|
__proto__: null,
|
16764
16871
|
default: samlGroupMappings,
|
16765
16872
|
samlGroupMappings: samlGroupMappings,
|
16766
|
-
vars: vars$
|
16873
|
+
vars: vars$c
|
16767
16874
|
});
|
16768
16875
|
|
16769
16876
|
const globalRefs$8 = getThemeRefs(globals);
|
16770
|
-
const vars$
|
16877
|
+
const vars$b = PolicyValidationClass.cssVarList;
|
16771
16878
|
|
16772
16879
|
const policyValidation = {
|
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$
|
16880
|
+
[vars$b.fontFamily]: refs.fontFamily,
|
16881
|
+
[vars$b.fontSize]: refs.labelFontSize,
|
16882
|
+
[vars$b.textColor]: refs.labelTextColor,
|
16883
|
+
[vars$b.borderWidth]: refs.borderWidth,
|
16884
|
+
[vars$b.borderStyle]: refs.borderStyle,
|
16885
|
+
[vars$b.borderColor]: refs.borderColor,
|
16886
|
+
[vars$b.borderRadius]: globalRefs$8.radius.sm,
|
16887
|
+
[vars$b.backgroundColor]: 'none',
|
16888
|
+
[vars$b.padding]: '0px',
|
16889
|
+
[vars$b.labelMargin]: globalRefs$8.spacing.sm,
|
16890
|
+
[vars$b.itemsSpacing]: globalRefs$8.spacing.lg,
|
16891
|
+
[vars$b.itemSymbolDefault]: "'\\2022'", // "•"
|
16892
|
+
[vars$b.itemSymbolSuccess]: "'\\2713'", // "✓"
|
16893
|
+
[vars$b.itemSymbolError]: "'\\2A09'", // "⨉"
|
16894
|
+
[vars$b.itemSymbolSuccessColor]: globalRefs$8.colors.success.main,
|
16895
|
+
[vars$b.itemSymbolErrorColor]: globalRefs$8.colors.error.main,
|
16789
16896
|
};
|
16790
16897
|
|
16791
16898
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
16792
16899
|
__proto__: null,
|
16793
16900
|
default: policyValidation,
|
16794
|
-
vars: vars$
|
16901
|
+
vars: vars$b
|
16795
16902
|
});
|
16796
16903
|
|
16797
|
-
const vars$
|
16904
|
+
const vars$a = IconClass.cssVarList;
|
16798
16905
|
|
16799
16906
|
const icon = {};
|
16800
16907
|
|
16801
16908
|
var icon$1 = /*#__PURE__*/Object.freeze({
|
16802
16909
|
__proto__: null,
|
16803
16910
|
default: icon,
|
16804
|
-
vars: vars$
|
16911
|
+
vars: vars$a
|
16805
16912
|
});
|
16806
16913
|
|
16807
16914
|
const globalRefs$7 = getThemeRefs(globals);
|
16808
16915
|
|
16809
|
-
const vars$
|
16916
|
+
const vars$9 = CodeSnippetClass.cssVarList;
|
16810
16917
|
|
16811
16918
|
const light = {
|
16812
16919
|
color1: '#fa0',
|
@@ -16841,50 +16948,50 @@ const dark = {
|
|
16841
16948
|
};
|
16842
16949
|
|
16843
16950
|
const CodeSnippet = {
|
16844
|
-
[vars$
|
16845
|
-
[vars$
|
16846
|
-
[vars$
|
16847
|
-
[vars$
|
16848
|
-
[vars$
|
16849
|
-
[vars$
|
16850
|
-
[vars$
|
16851
|
-
[vars$
|
16852
|
-
[vars$
|
16853
|
-
[vars$
|
16854
|
-
[vars$
|
16855
|
-
[vars$
|
16856
|
-
[vars$
|
16857
|
-
[vars$
|
16858
|
-
[vars$
|
16859
|
-
[vars$
|
16860
|
-
[vars$
|
16861
|
-
[vars$
|
16862
|
-
[vars$
|
16863
|
-
[vars$
|
16864
|
-
[vars$
|
16865
|
-
[vars$
|
16866
|
-
[vars$
|
16867
|
-
[vars$
|
16868
|
-
[vars$
|
16869
|
-
[vars$
|
16870
|
-
[vars$
|
16871
|
-
[vars$
|
16872
|
-
[vars$
|
16873
|
-
[vars$
|
16874
|
-
[vars$
|
16875
|
-
[vars$
|
16876
|
-
[vars$
|
16877
|
-
[vars$
|
16878
|
-
[vars$
|
16879
|
-
[vars$
|
16880
|
-
[vars$
|
16881
|
-
[vars$
|
16882
|
-
[vars$
|
16883
|
-
[vars$
|
16884
|
-
[vars$
|
16885
|
-
[vars$
|
16886
|
-
[vars$
|
16887
|
-
[vars$
|
16951
|
+
[vars$9.rootBgColor]: globalRefs$7.colors.surface.main,
|
16952
|
+
[vars$9.rootTextColor]: globalRefs$7.colors.surface.contrast,
|
16953
|
+
[vars$9.docTagTextColor]: light.color2,
|
16954
|
+
[vars$9.keywordTextColor]: light.color2,
|
16955
|
+
[vars$9.metaKeywordTextColor]: light.color2,
|
16956
|
+
[vars$9.templateTagTextColor]: light.color2,
|
16957
|
+
[vars$9.templateVariableTextColor]: light.color2,
|
16958
|
+
[vars$9.typeTextColor]: light.color2,
|
16959
|
+
[vars$9.variableLanguageTextColor]: light.color2,
|
16960
|
+
[vars$9.titleTextColor]: light.color3,
|
16961
|
+
[vars$9.titleClassTextColor]: light.color3,
|
16962
|
+
[vars$9.titleClassInheritedTextColor]: light.color3,
|
16963
|
+
[vars$9.titleFunctionTextColor]: light.color3,
|
16964
|
+
[vars$9.attrTextColor]: light.color4,
|
16965
|
+
[vars$9.attributeTextColor]: light.color4,
|
16966
|
+
[vars$9.literalTextColor]: light.color4,
|
16967
|
+
[vars$9.metaTextColor]: light.color4,
|
16968
|
+
[vars$9.numberTextColor]: light.color4,
|
16969
|
+
[vars$9.operatorTextColor]: light.color4,
|
16970
|
+
[vars$9.variableTextColor]: light.color4,
|
16971
|
+
[vars$9.selectorAttrTextColor]: light.color4,
|
16972
|
+
[vars$9.selectorClassTextColor]: light.color4,
|
16973
|
+
[vars$9.selectorIdTextColor]: light.color4,
|
16974
|
+
[vars$9.regexpTextColor]: light.color13,
|
16975
|
+
[vars$9.stringTextColor]: light.color13,
|
16976
|
+
[vars$9.metaStringTextColor]: light.color13,
|
16977
|
+
[vars$9.builtInTextColor]: light.color5,
|
16978
|
+
[vars$9.symbolTextColor]: light.color5,
|
16979
|
+
[vars$9.commentTextColor]: light.color6,
|
16980
|
+
[vars$9.codeTextColor]: light.color6,
|
16981
|
+
[vars$9.formulaTextColor]: light.color6,
|
16982
|
+
[vars$9.nameTextColor]: light.color7,
|
16983
|
+
[vars$9.quoteTextColor]: light.color7,
|
16984
|
+
[vars$9.selectorTagTextColor]: light.color7,
|
16985
|
+
[vars$9.selectorPseudoTextColor]: light.color7,
|
16986
|
+
[vars$9.substTextColor]: light.color8,
|
16987
|
+
[vars$9.sectionTextColor]: light.color4,
|
16988
|
+
[vars$9.bulletTextColor]: light.color9,
|
16989
|
+
[vars$9.emphasisTextColor]: light.color8,
|
16990
|
+
[vars$9.strongTextColor]: light.color8,
|
16991
|
+
[vars$9.additionTextColor]: light.color7,
|
16992
|
+
[vars$9.additionBgColor]: light.color10,
|
16993
|
+
[vars$9.deletionTextColor]: light.color2,
|
16994
|
+
[vars$9.deletionBgColor]: light.color10,
|
16888
16995
|
/* purposely ignored */
|
16889
16996
|
// [vars.charEscapeTextColor]: '',
|
16890
16997
|
// [vars.linkTextColor]: '',
|
@@ -16896,50 +17003,50 @@ const CodeSnippet = {
|
|
16896
17003
|
|
16897
17004
|
const codeSnippetDarkThemeOverrides = {
|
16898
17005
|
codeSnippet: {
|
16899
|
-
[vars$
|
16900
|
-
[vars$
|
16901
|
-
[vars$
|
16902
|
-
[vars$
|
16903
|
-
[vars$
|
16904
|
-
[vars$
|
16905
|
-
[vars$
|
16906
|
-
[vars$
|
16907
|
-
[vars$
|
16908
|
-
[vars$
|
16909
|
-
[vars$
|
16910
|
-
[vars$
|
16911
|
-
[vars$
|
16912
|
-
[vars$
|
16913
|
-
[vars$
|
16914
|
-
[vars$
|
16915
|
-
[vars$
|
16916
|
-
[vars$
|
16917
|
-
[vars$
|
16918
|
-
[vars$
|
16919
|
-
[vars$
|
16920
|
-
[vars$
|
16921
|
-
[vars$
|
16922
|
-
[vars$
|
16923
|
-
[vars$
|
16924
|
-
[vars$
|
16925
|
-
[vars$
|
16926
|
-
[vars$
|
16927
|
-
[vars$
|
16928
|
-
[vars$
|
16929
|
-
[vars$
|
16930
|
-
[vars$
|
16931
|
-
[vars$
|
16932
|
-
[vars$
|
16933
|
-
[vars$
|
16934
|
-
[vars$
|
16935
|
-
[vars$
|
16936
|
-
[vars$
|
16937
|
-
[vars$
|
16938
|
-
[vars$
|
16939
|
-
[vars$
|
16940
|
-
[vars$
|
16941
|
-
[vars$
|
16942
|
-
[vars$
|
17006
|
+
[vars$9.rootBgColor]: globalRefs$7.colors.surface.main,
|
17007
|
+
[vars$9.rootTextColor]: globalRefs$7.colors.surface.contrast,
|
17008
|
+
[vars$9.docTagTextColor]: dark.color2,
|
17009
|
+
[vars$9.keywordTextColor]: dark.color2,
|
17010
|
+
[vars$9.metaKeywordTextColor]: dark.color2,
|
17011
|
+
[vars$9.templateTagTextColor]: dark.color2,
|
17012
|
+
[vars$9.templateVariableTextColor]: dark.color2,
|
17013
|
+
[vars$9.typeTextColor]: dark.color2,
|
17014
|
+
[vars$9.variableLanguageTextColor]: dark.color2,
|
17015
|
+
[vars$9.titleTextColor]: dark.color3,
|
17016
|
+
[vars$9.titleClassTextColor]: dark.color3,
|
17017
|
+
[vars$9.titleClassInheritedTextColor]: dark.color3,
|
17018
|
+
[vars$9.titleFunctionTextColor]: dark.color3,
|
17019
|
+
[vars$9.attrTextColor]: dark.color4,
|
17020
|
+
[vars$9.attributeTextColor]: dark.color4,
|
17021
|
+
[vars$9.literalTextColor]: dark.color4,
|
17022
|
+
[vars$9.metaTextColor]: dark.color4,
|
17023
|
+
[vars$9.numberTextColor]: dark.color4,
|
17024
|
+
[vars$9.operatorTextColor]: dark.color4,
|
17025
|
+
[vars$9.variableTextColor]: dark.color4,
|
17026
|
+
[vars$9.selectorAttrTextColor]: dark.color4,
|
17027
|
+
[vars$9.selectorClassTextColor]: dark.color4,
|
17028
|
+
[vars$9.selectorIdTextColor]: dark.color4,
|
17029
|
+
[vars$9.regexpTextColor]: dark.color13,
|
17030
|
+
[vars$9.stringTextColor]: dark.color13,
|
17031
|
+
[vars$9.metaStringTextColor]: dark.color13,
|
17032
|
+
[vars$9.builtInTextColor]: dark.color5,
|
17033
|
+
[vars$9.symbolTextColor]: dark.color5,
|
17034
|
+
[vars$9.commentTextColor]: dark.color6,
|
17035
|
+
[vars$9.codeTextColor]: dark.color6,
|
17036
|
+
[vars$9.formulaTextColor]: dark.color6,
|
17037
|
+
[vars$9.nameTextColor]: dark.color7,
|
17038
|
+
[vars$9.quoteTextColor]: dark.color7,
|
17039
|
+
[vars$9.selectorTagTextColor]: dark.color7,
|
17040
|
+
[vars$9.selectorPseudoTextColor]: dark.color7,
|
17041
|
+
[vars$9.substTextColor]: dark.color8,
|
17042
|
+
[vars$9.sectionTextColor]: dark.color4,
|
17043
|
+
[vars$9.bulletTextColor]: dark.color9,
|
17044
|
+
[vars$9.emphasisTextColor]: dark.color8,
|
17045
|
+
[vars$9.strongTextColor]: dark.color8,
|
17046
|
+
[vars$9.additionTextColor]: dark.color7,
|
17047
|
+
[vars$9.additionBgColor]: dark.color10,
|
17048
|
+
[vars$9.deletionTextColor]: dark.color2,
|
17049
|
+
[vars$9.deletionBgColor]: dark.color10,
|
16943
17050
|
},
|
16944
17051
|
};
|
16945
17052
|
|
@@ -16947,36 +17054,36 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
|
|
16947
17054
|
__proto__: null,
|
16948
17055
|
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
16949
17056
|
default: CodeSnippet,
|
16950
|
-
vars: vars$
|
17057
|
+
vars: vars$9
|
16951
17058
|
});
|
16952
17059
|
|
16953
|
-
const vars$
|
17060
|
+
const vars$8 = RadioGroupClass.cssVarList;
|
16954
17061
|
const globalRefs$6 = getThemeRefs(globals);
|
16955
17062
|
|
16956
17063
|
const radioGroup = {
|
16957
|
-
[vars$
|
16958
|
-
[vars$
|
16959
|
-
[vars$
|
16960
|
-
[vars$
|
16961
|
-
[vars$
|
16962
|
-
[vars$
|
16963
|
-
[vars$
|
16964
|
-
[vars$
|
16965
|
-
[vars$
|
16966
|
-
[vars$
|
17064
|
+
[vars$8.buttonsRowGap]: '9px',
|
17065
|
+
[vars$8.hostWidth]: refs.width,
|
17066
|
+
[vars$8.hostDirection]: refs.direction,
|
17067
|
+
[vars$8.fontSize]: refs.fontSize,
|
17068
|
+
[vars$8.fontFamily]: refs.fontFamily,
|
17069
|
+
[vars$8.labelTextColor]: refs.labelTextColor,
|
17070
|
+
[vars$8.labelRequiredIndicator]: refs.requiredIndicator,
|
17071
|
+
[vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
|
17072
|
+
[vars$8.helperTextColor]: refs.helperTextColor,
|
17073
|
+
[vars$8.itemsLabelColor]: globalRefs$6.colors.surface.contrast,
|
16967
17074
|
|
16968
17075
|
textAlign: {
|
16969
|
-
right: { [vars$
|
16970
|
-
left: { [vars$
|
16971
|
-
center: { [vars$
|
17076
|
+
right: { [vars$8.inputTextAlign]: 'right' },
|
17077
|
+
left: { [vars$8.inputTextAlign]: 'left' },
|
17078
|
+
center: { [vars$8.inputTextAlign]: 'center' },
|
16972
17079
|
},
|
16973
17080
|
|
16974
17081
|
_fullWidth: {
|
16975
|
-
[vars$
|
17082
|
+
[vars$8.buttonsSpacing]: 'space-between',
|
16976
17083
|
},
|
16977
17084
|
|
16978
17085
|
_disabled: {
|
16979
|
-
[vars$
|
17086
|
+
[vars$8.itemsLabelColor]: globalRefs$6.colors.surface.light,
|
16980
17087
|
},
|
16981
17088
|
};
|
16982
17089
|
|
@@ -16984,24 +17091,24 @@ var radioGroup$1 = /*#__PURE__*/Object.freeze({
|
|
16984
17091
|
__proto__: null,
|
16985
17092
|
default: radioGroup,
|
16986
17093
|
radioGroup: radioGroup,
|
16987
|
-
vars: vars$
|
17094
|
+
vars: vars$8
|
16988
17095
|
});
|
16989
17096
|
|
16990
|
-
const vars$
|
17097
|
+
const vars$7 = RadioButtonClass.cssVarList;
|
16991
17098
|
const globalRefs$5 = getThemeRefs(globals);
|
16992
17099
|
|
16993
17100
|
const radioButton = {
|
16994
|
-
[vars$
|
16995
|
-
[vars$
|
16996
|
-
[vars$
|
16997
|
-
[vars$
|
16998
|
-
[vars$
|
16999
|
-
[vars$
|
17000
|
-
[vars$
|
17001
|
-
[vars$
|
17101
|
+
[vars$7.fontFamily]: refs.fontFamily,
|
17102
|
+
[vars$7.radioSize]: 'calc(1em + 6px)',
|
17103
|
+
[vars$7.radioMargin]: 'auto 4px',
|
17104
|
+
[vars$7.radioCheckedSize]: `calc(var(${vars$7.radioSize})/5)`,
|
17105
|
+
[vars$7.radioCheckedColor]: globalRefs$5.colors.surface.light,
|
17106
|
+
[vars$7.radioBackgroundColor]: globalRefs$5.colors.surface.light,
|
17107
|
+
[vars$7.radioBorderColor]: 'none',
|
17108
|
+
[vars$7.radioBorderWidth]: 0,
|
17002
17109
|
|
17003
17110
|
_checked: {
|
17004
|
-
[vars$
|
17111
|
+
[vars$7.radioBackgroundColor]: globalRefs$5.colors.surface.contrast,
|
17005
17112
|
},
|
17006
17113
|
|
17007
17114
|
_hover: {
|
@@ -17010,16 +17117,16 @@ const radioButton = {
|
|
17010
17117
|
|
17011
17118
|
size: {
|
17012
17119
|
xs: {
|
17013
|
-
[vars$
|
17120
|
+
[vars$7.fontSize]: '12px',
|
17014
17121
|
},
|
17015
17122
|
sm: {
|
17016
|
-
[vars$
|
17123
|
+
[vars$7.fontSize]: '14px',
|
17017
17124
|
},
|
17018
17125
|
md: {
|
17019
|
-
[vars$
|
17126
|
+
[vars$7.fontSize]: '16px',
|
17020
17127
|
},
|
17021
17128
|
lg: {
|
17022
|
-
[vars$
|
17129
|
+
[vars$7.fontSize]: '18px',
|
17023
17130
|
},
|
17024
17131
|
},
|
17025
17132
|
};
|
@@ -17028,97 +17135,97 @@ var radioButton$1 = /*#__PURE__*/Object.freeze({
|
|
17028
17135
|
__proto__: null,
|
17029
17136
|
default: radioButton,
|
17030
17137
|
radioButton: radioButton,
|
17031
|
-
vars: vars$
|
17138
|
+
vars: vars$7
|
17032
17139
|
});
|
17033
17140
|
|
17034
17141
|
const globalRefs$4 = getThemeRefs(globals);
|
17035
17142
|
|
17036
|
-
const vars$
|
17143
|
+
const vars$6 = CalendarClass.cssVarList;
|
17037
17144
|
|
17038
17145
|
const calendar = {
|
17039
|
-
[vars$
|
17040
|
-
[vars$
|
17041
|
-
[vars$
|
17146
|
+
[vars$6.fontFamily]: refs.fontFamily,
|
17147
|
+
[vars$6.fontSize]: refs.fontSize,
|
17148
|
+
[vars$6.hostDirection]: refs.direction,
|
17042
17149
|
|
17043
|
-
[vars$
|
17150
|
+
[vars$6.calendarPadding]: '1em',
|
17044
17151
|
|
17045
|
-
[vars$
|
17046
|
-
[vars$
|
17047
|
-
[vars$
|
17048
|
-
[vars$
|
17152
|
+
[vars$6.topNavVerticalPadding]: '1em',
|
17153
|
+
[vars$6.topNavAlignment]: 'space-between',
|
17154
|
+
[vars$6.topNavGap]: '0',
|
17155
|
+
[vars$6.topNavSelectorsGap]: '0.5em',
|
17049
17156
|
|
17050
|
-
[vars$
|
17051
|
-
[vars$
|
17052
|
-
[vars$
|
17053
|
-
[vars$
|
17157
|
+
[vars$6.bottomNavVerticalPadding]: '0.75em',
|
17158
|
+
[vars$6.bottomNavHorizontalPadding]: '1.5em',
|
17159
|
+
[vars$6.bottomNavAlignment]: 'space-between',
|
17160
|
+
[vars$6.bottomNavGap]: '0.5em',
|
17054
17161
|
|
17055
|
-
[vars$
|
17056
|
-
[vars$
|
17057
|
-
[vars$
|
17058
|
-
[vars$
|
17162
|
+
[vars$6.navMarginBottom]: '0.75em',
|
17163
|
+
[vars$6.navBorderBottomWidth]: '1px',
|
17164
|
+
[vars$6.navBorderBottomColor]: globalRefs$4.colors.surface.highlight,
|
17165
|
+
[vars$6.navBorderBottomStyle]: 'solid',
|
17059
17166
|
|
17060
|
-
[vars$
|
17061
|
-
[vars$
|
17167
|
+
[vars$6.yearInputWidth]: '6em',
|
17168
|
+
[vars$6.monthInputWidth]: '8em',
|
17062
17169
|
|
17063
|
-
[vars$
|
17064
|
-
[vars$
|
17170
|
+
[vars$6.navButtonSize]: '24px',
|
17171
|
+
[vars$6.navButtonCursor]: 'pointer',
|
17065
17172
|
|
17066
|
-
[vars$
|
17067
|
-
[vars$
|
17173
|
+
[vars$6.weekdayFontSize]: '0.875em',
|
17174
|
+
[vars$6.weekdayFontWeight]: '500',
|
17068
17175
|
|
17069
17176
|
// day table cell
|
17070
|
-
[vars$
|
17177
|
+
[vars$6.dayHeight]: '3.125em',
|
17071
17178
|
|
17072
17179
|
// day value
|
17073
|
-
[vars$
|
17074
|
-
[vars$
|
17075
|
-
[vars$
|
17076
|
-
[vars$
|
17077
|
-
[vars$
|
17078
|
-
[vars$
|
17079
|
-
[vars$
|
17080
|
-
[vars$
|
17081
|
-
[vars$
|
17082
|
-
[vars$
|
17180
|
+
[vars$6.daySize]: '2.125em',
|
17181
|
+
[vars$6.dayFontSize]: '1em',
|
17182
|
+
[vars$6.dayRadius]: '50%',
|
17183
|
+
[vars$6.dayTextAlign]: 'center',
|
17184
|
+
[vars$6.dayPadding]: '0',
|
17185
|
+
[vars$6.dayTextColor]: globalRefs$4.colors.surface.contrast,
|
17186
|
+
[vars$6.dayFontWeight]: '500',
|
17187
|
+
[vars$6.dayBackgroundColor]: 'transparent',
|
17188
|
+
[vars$6.dayCursor]: 'pointer',
|
17189
|
+
[vars$6.dayBackgroundColorHover]: globalRefs$4.colors.primary.highlight,
|
17083
17190
|
|
17084
17191
|
// selected day
|
17085
|
-
[vars$
|
17086
|
-
[vars$
|
17192
|
+
[vars$6.daySelectedBackgroundColor]: globalRefs$4.colors.primary.main,
|
17193
|
+
[vars$6.daySelectedTextdColor]: globalRefs$4.colors.primary.contrast,
|
17087
17194
|
|
17088
17195
|
// disabled day (out of min/max range)
|
17089
|
-
[vars$
|
17196
|
+
[vars$6.dayDisabledTextdColor]: globalRefs$4.colors.surface.light,
|
17090
17197
|
|
17091
17198
|
// today
|
17092
|
-
[vars$
|
17093
|
-
[vars$
|
17094
|
-
[vars$
|
17199
|
+
[vars$6.currentDayBorderColor]: globalRefs$4.colors.surface.light,
|
17200
|
+
[vars$6.currentDayBorderWidth]: '1px',
|
17201
|
+
[vars$6.currentDayBorderStyle]: 'solid',
|
17095
17202
|
|
17096
17203
|
size: {
|
17097
|
-
xs: { [vars$
|
17098
|
-
sm: { [vars$
|
17099
|
-
md: { [vars$
|
17100
|
-
lg: { [vars$
|
17204
|
+
xs: { [vars$6.fontSize]: '12px' },
|
17205
|
+
sm: { [vars$6.fontSize]: '14px' },
|
17206
|
+
md: { [vars$6.fontSize]: '16px' },
|
17207
|
+
lg: { [vars$6.fontSize]: '18px' },
|
17101
17208
|
},
|
17102
17209
|
|
17103
|
-
[vars$
|
17210
|
+
[vars$6.navButtonRotation]: 'rotate(180deg)',
|
17104
17211
|
|
17105
17212
|
_disabled: {
|
17106
|
-
[vars$
|
17107
|
-
[vars$
|
17108
|
-
[vars$
|
17109
|
-
[vars$
|
17213
|
+
[vars$6.navButtonOpacity]: '0.5',
|
17214
|
+
[vars$6.dayBackgroundColorHover]: 'none',
|
17215
|
+
[vars$6.navButtonCursor]: 'default',
|
17216
|
+
[vars$6.dayCursor]: 'default',
|
17110
17217
|
},
|
17111
17218
|
|
17112
17219
|
_fullWidth: {
|
17113
|
-
[vars$
|
17114
|
-
[vars$
|
17220
|
+
[vars$6.hostWidth]: '100%',
|
17221
|
+
[vars$6.dayBlockAlign]: '0 auto',
|
17115
17222
|
},
|
17116
17223
|
};
|
17117
17224
|
|
17118
17225
|
var calendar$1 = /*#__PURE__*/Object.freeze({
|
17119
17226
|
__proto__: null,
|
17120
17227
|
default: calendar,
|
17121
|
-
vars: vars$
|
17228
|
+
vars: vars$6
|
17122
17229
|
});
|
17123
17230
|
|
17124
17231
|
const globalRefs$3 = getThemeRefs(globals);
|
@@ -17126,29 +17233,28 @@ const globalRefs$3 = getThemeRefs(globals);
|
|
17126
17233
|
const shadowColor$1 = '#00000020';
|
17127
17234
|
const { shadow } = globalRefs$3;
|
17128
17235
|
|
17129
|
-
const vars$
|
17236
|
+
const vars$5 = DateFieldClass.cssVarList;
|
17130
17237
|
|
17131
17238
|
const dateField = {
|
17132
|
-
[vars$
|
17133
|
-
[vars$
|
17134
|
-
[vars$
|
17135
|
-
|
17136
|
-
[vars$
|
17137
|
-
[vars$
|
17138
|
-
[vars$
|
17139
|
-
[vars$
|
17140
|
-
[vars$
|
17141
|
-
[vars$
|
17142
|
-
[vars$
|
17143
|
-
[vars$
|
17144
|
-
[vars$
|
17145
|
-
[vars$4.overlay.padding]: '0',
|
17239
|
+
[vars$5.hostWidth]: refs.width,
|
17240
|
+
[vars$5.hostDirection]: refs.direction,
|
17241
|
+
[vars$5.iconMargin]: '0.375em',
|
17242
|
+
|
17243
|
+
[vars$5.overlay.marginTop]: `calc(${refs.outlineWidth} + 1px)`,
|
17244
|
+
[vars$5.overlay.backgroundColor]: refs.backgroundColor,
|
17245
|
+
[vars$5.overlay.backdropBackgroundColor]: 'transparent',
|
17246
|
+
[vars$5.overlay.backdropPointerEvents]: 'all',
|
17247
|
+
[vars$5.overlay.boxShadow]: `${shadow.wide.xl} ${shadowColor$1}, ${shadow.narrow.xl} ${shadowColor$1}`,
|
17248
|
+
[vars$5.overlay.outlineWidth]: '0',
|
17249
|
+
[vars$5.overlay.outlineColor]: 'transparent',
|
17250
|
+
[vars$5.overlay.outlineStyle]: 'none',
|
17251
|
+
[vars$5.overlay.padding]: '0',
|
17146
17252
|
};
|
17147
17253
|
|
17148
17254
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
17149
17255
|
__proto__: null,
|
17150
17256
|
default: dateField,
|
17151
|
-
vars: vars$
|
17257
|
+
vars: vars$5
|
17152
17258
|
});
|
17153
17259
|
|
17154
17260
|
const globalRefs$2 = getThemeRefs(globals);
|
@@ -17157,7 +17263,7 @@ const compVars = ListClass.cssVarList;
|
|
17157
17263
|
|
17158
17264
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
17159
17265
|
{ shadowColor: '#00000020' },
|
17160
|
-
componentName$
|
17266
|
+
componentName$3
|
17161
17267
|
);
|
17162
17268
|
|
17163
17269
|
const { shadowColor } = helperRefs;
|
@@ -17197,7 +17303,7 @@ const list$1 = {
|
|
17197
17303
|
},
|
17198
17304
|
};
|
17199
17305
|
|
17200
|
-
const vars$
|
17306
|
+
const vars$4 = {
|
17201
17307
|
...compVars,
|
17202
17308
|
...helperVars,
|
17203
17309
|
};
|
@@ -17205,78 +17311,78 @@ const vars$3 = {
|
|
17205
17311
|
var list$2 = /*#__PURE__*/Object.freeze({
|
17206
17312
|
__proto__: null,
|
17207
17313
|
default: list$1,
|
17208
|
-
vars: vars$
|
17314
|
+
vars: vars$4
|
17209
17315
|
});
|
17210
17316
|
|
17211
17317
|
const globalRefs$1 = getThemeRefs(globals);
|
17212
17318
|
|
17213
|
-
const vars$
|
17319
|
+
const vars$3 = ListItemClass.cssVarList;
|
17214
17320
|
|
17215
17321
|
const list = {
|
17216
|
-
[vars$
|
17217
|
-
[vars$
|
17218
|
-
[vars$
|
17219
|
-
[vars$
|
17220
|
-
[vars$
|
17221
|
-
[vars$
|
17222
|
-
[vars$
|
17223
|
-
[vars$
|
17224
|
-
[vars$
|
17225
|
-
[vars$
|
17226
|
-
[vars$
|
17322
|
+
[vars$3.backgroundColor]: globalRefs$1.colors.surface.main,
|
17323
|
+
[vars$3.padding]: globalRefs$1.spacing.lg,
|
17324
|
+
[vars$3.gap]: globalRefs$1.spacing.md,
|
17325
|
+
[vars$3.borderStyle]: 'solid',
|
17326
|
+
[vars$3.borderWidth]: globalRefs$1.border.xs,
|
17327
|
+
[vars$3.borderColor]: globalRefs$1.colors.surface.main,
|
17328
|
+
[vars$3.borderRadius]: globalRefs$1.radius.sm,
|
17329
|
+
[vars$3.cursor]: 'pointer',
|
17330
|
+
[vars$3.alignItems]: 'center',
|
17331
|
+
[vars$3.flexDirection]: 'row',
|
17332
|
+
[vars$3.transition]: 'border-color 0.2s, background-color 0.2s',
|
17227
17333
|
|
17228
17334
|
variant: {
|
17229
17335
|
tile: {
|
17230
|
-
[vars$
|
17231
|
-
[vars$
|
17232
|
-
[vars$
|
17336
|
+
[vars$3.alignItems]: 'flex-start',
|
17337
|
+
[vars$3.flexDirection]: 'column',
|
17338
|
+
[vars$3.borderColor]: globalRefs$1.colors.surface.light,
|
17233
17339
|
},
|
17234
17340
|
},
|
17235
17341
|
|
17236
17342
|
_hover: {
|
17237
|
-
[vars$
|
17343
|
+
[vars$3.backgroundColor]: globalRefs$1.colors.surface.highlight,
|
17238
17344
|
},
|
17239
17345
|
|
17240
17346
|
_active: {
|
17241
|
-
[vars$
|
17242
|
-
[vars$
|
17243
|
-
[vars$
|
17347
|
+
[vars$3.backgroundColor]: globalRefs$1.colors.surface.main,
|
17348
|
+
[vars$3.borderColor]: globalRefs$1.colors.primary.light,
|
17349
|
+
[vars$3.outline]: `1px solid ${globalRefs$1.colors.primary.light}`,
|
17244
17350
|
},
|
17245
17351
|
};
|
17246
17352
|
|
17247
17353
|
var listItem = /*#__PURE__*/Object.freeze({
|
17248
17354
|
__proto__: null,
|
17249
17355
|
default: list,
|
17250
|
-
vars: vars$
|
17356
|
+
vars: vars$3
|
17251
17357
|
});
|
17252
17358
|
|
17253
|
-
const vars$
|
17359
|
+
const vars$2 = AppsListClass.cssVarList;
|
17254
17360
|
const globalRefs = getThemeRefs(globals);
|
17255
17361
|
|
17256
17362
|
const defaultHeight = '400px';
|
17257
17363
|
|
17258
17364
|
const appsList = {
|
17259
|
-
[vars$
|
17260
|
-
[vars$
|
17261
|
-
[vars$
|
17262
|
-
[vars$
|
17365
|
+
[vars$2.itemsFontWeight]: 'normal',
|
17366
|
+
[vars$2.itemsTextAlign]: 'start',
|
17367
|
+
[vars$2.hostDirection]: globalRefs.direction,
|
17368
|
+
[vars$2.maxHeight]: defaultHeight,
|
17263
17369
|
|
17264
17370
|
_empty: {
|
17265
|
-
[vars$
|
17371
|
+
[vars$2.minHeight]: defaultHeight,
|
17266
17372
|
},
|
17267
17373
|
|
17268
17374
|
size: {
|
17269
17375
|
xs: {
|
17270
|
-
[vars$
|
17376
|
+
[vars$2.itemsFontSize]: '14px',
|
17271
17377
|
},
|
17272
17378
|
sm: {
|
17273
|
-
[vars$
|
17379
|
+
[vars$2.itemsFontSize]: '14px',
|
17274
17380
|
},
|
17275
17381
|
md: {
|
17276
|
-
[vars$
|
17382
|
+
[vars$2.itemsFontSize]: '16px',
|
17277
17383
|
},
|
17278
17384
|
lg: {
|
17279
|
-
[vars$
|
17385
|
+
[vars$2.itemsFontSize]: '20px',
|
17280
17386
|
},
|
17281
17387
|
},
|
17282
17388
|
};
|
@@ -17284,6 +17390,23 @@ const appsList = {
|
|
17284
17390
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
17285
17391
|
__proto__: null,
|
17286
17392
|
default: appsList,
|
17393
|
+
vars: vars$2
|
17394
|
+
});
|
17395
|
+
|
17396
|
+
const vars$1 = ScopesListClass.cssVarList;
|
17397
|
+
|
17398
|
+
const scopesList = {
|
17399
|
+
[vars$1.requiredInputBorderColor]: theme$1._disabled[vars$N.borderColor],
|
17400
|
+
[vars$1.requiredInputValueTextColor]: theme$1._disabled[vars$N.valueTextColor],
|
17401
|
+
[vars$1.hostWidth]: '280px',
|
17402
|
+
_fullWidth: {
|
17403
|
+
[vars$1.hostWidth]: '100%',
|
17404
|
+
},
|
17405
|
+
};
|
17406
|
+
|
17407
|
+
var scopesList$1 = /*#__PURE__*/Object.freeze({
|
17408
|
+
__proto__: null,
|
17409
|
+
default: scopesList,
|
17287
17410
|
vars: vars$1
|
17288
17411
|
});
|
17289
17412
|
|
@@ -17337,6 +17460,7 @@ const components = {
|
|
17337
17460
|
list: list$2,
|
17338
17461
|
listItem,
|
17339
17462
|
appsList: appsList$1,
|
17463
|
+
scopesList: scopesList$1,
|
17340
17464
|
};
|
17341
17465
|
|
17342
17466
|
const theme = Object.keys(components).reduce(
|
@@ -17349,7 +17473,7 @@ const vars = Object.keys(components).reduce(
|
|
17349
17473
|
);
|
17350
17474
|
|
17351
17475
|
const defaultTheme = { globals, components: theme };
|
17352
|
-
const themeVars = { globals: vars$
|
17476
|
+
const themeVars = { globals: vars$P, components: vars };
|
17353
17477
|
|
17354
17478
|
const colors = {
|
17355
17479
|
surface: {
|
@@ -17398,5 +17522,5 @@ const darkTheme = merge({}, defaultTheme, {
|
|
17398
17522
|
},
|
17399
17523
|
});
|
17400
17524
|
|
17401
|
-
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, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
17525
|
+
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, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
17402
17526
|
//# sourceMappingURL=index.esm.js.map
|