@descope/web-components-ui 3.13.3 → 3.14.1
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 +1293 -729
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1587 -1022
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/8350.js +1 -1
- package/dist/umd/8350.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +1 -1
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-month-day-field.js +1 -1
- package/dist/umd/descope-month-day-field.js.map +1 -1
- package/dist/umd/descope-multi-line-mappings.js +1 -1
- package/dist/umd/descope-multi-line-mappings.js.map +1 -1
- package/dist/umd/descope-multi-sso.js +339 -0
- package/dist/umd/descope-multi-sso.js.LICENSE.txt +5 -0
- package/dist/umd/descope-multi-sso.js.map +1 -0
- package/dist/umd/descope-outbound-app-button.js +1 -1
- package/dist/umd/descope-outbound-app-button.js.map +1 -1
- package/dist/umd/descope-outbound-apps.js +1 -1
- package/dist/umd/descope-outbound-apps.js.map +1 -1
- package/dist/umd/descope-timer-button.js +1 -1
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +2 -2
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +4 -4
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/descope-user-passkeys.js +1 -1
- package/dist/umd/descope-user-passkeys.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +40 -39
- package/src/theme/components/index.js +2 -0
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -339,7 +339,7 @@ const injectStyle = (cssString, ref, { prepend = false } = {}) => {
|
|
|
339
339
|
let style;
|
|
340
340
|
|
|
341
341
|
try {
|
|
342
|
-
|
|
342
|
+
|
|
343
343
|
style = new CSSStyleSheet();
|
|
344
344
|
} catch {
|
|
345
345
|
// fallback for browsers that don't support CSSStyleSheet
|
|
@@ -405,6 +405,21 @@ const limitAbbreviation = (str, limit = 2) =>
|
|
|
405
405
|
.map((s) => s[0]?.toUpperCase())
|
|
406
406
|
.join('');
|
|
407
407
|
|
|
408
|
+
const cloneSlottedNodes = (element, slotName) => {
|
|
409
|
+
if (!element || !slotName) return null;
|
|
410
|
+
const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
|
|
411
|
+
if (!sources.length) return null;
|
|
412
|
+
const fragment = document.createDocumentFragment();
|
|
413
|
+
sources.forEach((source) => {
|
|
414
|
+
const clone = source.content
|
|
415
|
+
? source.content.cloneNode(true)
|
|
416
|
+
: source.cloneNode(true);
|
|
417
|
+
if (clone.removeAttribute) clone.removeAttribute('slot');
|
|
418
|
+
fragment.append(clone);
|
|
419
|
+
});
|
|
420
|
+
return fragment;
|
|
421
|
+
};
|
|
422
|
+
|
|
408
423
|
class ComponentsThemeManager {
|
|
409
424
|
static mountOnPropName = 'DescopeThemeManager';
|
|
410
425
|
|
|
@@ -1357,7 +1372,7 @@ const globals$1 = {
|
|
|
1357
1372
|
fonts: fonts$1,
|
|
1358
1373
|
direction: direction$1,
|
|
1359
1374
|
};
|
|
1360
|
-
const vars$
|
|
1375
|
+
const vars$1b = getThemeVars(globals$1);
|
|
1361
1376
|
|
|
1362
1377
|
const direction = 'ltr';
|
|
1363
1378
|
|
|
@@ -3207,12 +3222,12 @@ const createImage = async (src, altText) => {
|
|
|
3207
3222
|
}
|
|
3208
3223
|
};
|
|
3209
3224
|
|
|
3210
|
-
const componentName$
|
|
3225
|
+
const componentName$1q = getComponentName('image');
|
|
3211
3226
|
|
|
3212
3227
|
const srcAttrs = ['src', 'src-dark'];
|
|
3213
3228
|
|
|
3214
3229
|
class RawImage extends createBaseClass$1({
|
|
3215
|
-
componentName: componentName$
|
|
3230
|
+
componentName: componentName$1q,
|
|
3216
3231
|
baseSelector: 'slot',
|
|
3217
3232
|
}) {
|
|
3218
3233
|
static get observedAttributes() {
|
|
@@ -3340,7 +3355,7 @@ const ImageClass = compose(
|
|
|
3340
3355
|
componentNameValidationMixin$1,
|
|
3341
3356
|
)(RawImage);
|
|
3342
3357
|
|
|
3343
|
-
const componentName$
|
|
3358
|
+
const componentName$1p = getComponentName('icon');
|
|
3344
3359
|
|
|
3345
3360
|
const IconClass = compose(
|
|
3346
3361
|
createStyleMixin$1({
|
|
@@ -3365,7 +3380,7 @@ const IconClass = compose(
|
|
|
3365
3380
|
}
|
|
3366
3381
|
`,
|
|
3367
3382
|
excludeAttrsSync: ['tabindex', 'class', 'style', 'st-height', 'st-width'],
|
|
3368
|
-
componentName: componentName$
|
|
3383
|
+
componentName: componentName$1p,
|
|
3369
3384
|
}),
|
|
3370
3385
|
);
|
|
3371
3386
|
|
|
@@ -3380,7 +3395,7 @@ const clickableMixin = (superclass) =>
|
|
|
3380
3395
|
}
|
|
3381
3396
|
};
|
|
3382
3397
|
|
|
3383
|
-
const componentName$
|
|
3398
|
+
const componentName$1o = getComponentName('button');
|
|
3384
3399
|
|
|
3385
3400
|
const resetStyles = `
|
|
3386
3401
|
:host {
|
|
@@ -3418,7 +3433,7 @@ const iconStyles = `
|
|
|
3418
3433
|
|
|
3419
3434
|
const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
|
|
3420
3435
|
|
|
3421
|
-
const { host: host$
|
|
3436
|
+
const { host: host$B, label: label$a, slottedIcon } = {
|
|
3422
3437
|
host: { selector: () => ':host' },
|
|
3423
3438
|
label: { selector: '::part(label)' },
|
|
3424
3439
|
slottedIcon: { selector: () => '::slotted(descope-icon)' },
|
|
@@ -3431,8 +3446,9 @@ const ButtonClass = compose(
|
|
|
3431
3446
|
createStyleMixin$1({
|
|
3432
3447
|
mappings: {
|
|
3433
3448
|
hostWidth: { property: 'width' },
|
|
3449
|
+
hostMaxWidth: { ...host$B, property: 'max-width' },
|
|
3434
3450
|
hostHeight: { property: 'height' },
|
|
3435
|
-
hostDirection: { ...host$
|
|
3451
|
+
hostDirection: { ...host$B, property: 'direction' },
|
|
3436
3452
|
fontSize: {},
|
|
3437
3453
|
fontFamily: {},
|
|
3438
3454
|
fontWeight: {},
|
|
@@ -3501,7 +3517,7 @@ const ButtonClass = compose(
|
|
|
3501
3517
|
}
|
|
3502
3518
|
`,
|
|
3503
3519
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
3504
|
-
componentName: componentName$
|
|
3520
|
+
componentName: componentName$1o,
|
|
3505
3521
|
}),
|
|
3506
3522
|
);
|
|
3507
3523
|
|
|
@@ -3538,35 +3554,35 @@ loadingIndicatorStyles = `
|
|
|
3538
3554
|
}
|
|
3539
3555
|
`;
|
|
3540
3556
|
|
|
3541
|
-
const globalRefs$
|
|
3557
|
+
const globalRefs$J = getThemeRefs$1(globals);
|
|
3542
3558
|
const compVars$9 = ButtonClass.cssVarList;
|
|
3543
3559
|
|
|
3544
3560
|
const mode = {
|
|
3545
|
-
primary: globalRefs$
|
|
3546
|
-
secondary: globalRefs$
|
|
3547
|
-
success: globalRefs$
|
|
3548
|
-
error: globalRefs$
|
|
3549
|
-
surface: globalRefs$
|
|
3561
|
+
primary: globalRefs$J.colors.primary,
|
|
3562
|
+
secondary: globalRefs$J.colors.secondary,
|
|
3563
|
+
success: globalRefs$J.colors.success,
|
|
3564
|
+
error: globalRefs$J.colors.error,
|
|
3565
|
+
surface: globalRefs$J.colors.surface,
|
|
3550
3566
|
};
|
|
3551
3567
|
|
|
3552
3568
|
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
3553
3569
|
{ mode },
|
|
3554
|
-
componentName$
|
|
3570
|
+
componentName$1o,
|
|
3555
3571
|
);
|
|
3556
3572
|
|
|
3557
3573
|
const button = {
|
|
3558
3574
|
...helperTheme$7,
|
|
3559
3575
|
|
|
3560
|
-
[compVars$9.fontFamily]: globalRefs$
|
|
3576
|
+
[compVars$9.fontFamily]: globalRefs$J.fonts.font1.family,
|
|
3561
3577
|
[compVars$9.fontWeight]: '400',
|
|
3562
3578
|
|
|
3563
3579
|
[compVars$9.cursor]: 'pointer',
|
|
3564
3580
|
[compVars$9.hostHeight]: '3em',
|
|
3565
3581
|
[compVars$9.hostWidth]: 'auto',
|
|
3566
|
-
[compVars$9.hostDirection]: globalRefs$
|
|
3582
|
+
[compVars$9.hostDirection]: globalRefs$J.direction,
|
|
3567
3583
|
|
|
3568
|
-
[compVars$9.borderRadius]: globalRefs$
|
|
3569
|
-
[compVars$9.borderWidth]: globalRefs$
|
|
3584
|
+
[compVars$9.borderRadius]: globalRefs$J.radius.sm,
|
|
3585
|
+
[compVars$9.borderWidth]: globalRefs$J.border.xs,
|
|
3570
3586
|
[compVars$9.borderStyle]: 'solid',
|
|
3571
3587
|
[compVars$9.borderColor]: 'transparent',
|
|
3572
3588
|
|
|
@@ -3612,11 +3628,11 @@ const button = {
|
|
|
3612
3628
|
},
|
|
3613
3629
|
|
|
3614
3630
|
_disabled: {
|
|
3615
|
-
[helperVars$6.main]: globalRefs$
|
|
3616
|
-
[helperVars$6.dark]: globalRefs$
|
|
3617
|
-
[helperVars$6.light]: globalRefs$
|
|
3618
|
-
[helperVars$6.contrast]: globalRefs$
|
|
3619
|
-
[compVars$9.iconColor]: globalRefs$
|
|
3631
|
+
[helperVars$6.main]: globalRefs$J.colors.surface.light,
|
|
3632
|
+
[helperVars$6.dark]: globalRefs$J.colors.surface.dark,
|
|
3633
|
+
[helperVars$6.light]: globalRefs$J.colors.surface.light,
|
|
3634
|
+
[helperVars$6.contrast]: globalRefs$J.colors.surface.main,
|
|
3635
|
+
[compVars$9.iconColor]: globalRefs$J.colors.surface.main,
|
|
3620
3636
|
},
|
|
3621
3637
|
|
|
3622
3638
|
variant: {
|
|
@@ -3665,7 +3681,7 @@ const button = {
|
|
|
3665
3681
|
},
|
|
3666
3682
|
};
|
|
3667
3683
|
|
|
3668
|
-
const vars$
|
|
3684
|
+
const vars$1a = {
|
|
3669
3685
|
...compVars$9,
|
|
3670
3686
|
...helperVars$6,
|
|
3671
3687
|
};
|
|
@@ -3673,13 +3689,13 @@ const vars$19 = {
|
|
|
3673
3689
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
3674
3690
|
__proto__: null,
|
|
3675
3691
|
default: button,
|
|
3676
|
-
vars: vars$
|
|
3692
|
+
vars: vars$1a
|
|
3677
3693
|
});
|
|
3678
3694
|
|
|
3679
|
-
const componentName$
|
|
3695
|
+
const componentName$1n = getComponentName('text');
|
|
3680
3696
|
|
|
3681
3697
|
class RawText extends createBaseClass$1({
|
|
3682
|
-
componentName: componentName$
|
|
3698
|
+
componentName: componentName$1n,
|
|
3683
3699
|
baseSelector: ':host > slot',
|
|
3684
3700
|
}) {
|
|
3685
3701
|
constructor() {
|
|
@@ -3718,15 +3734,15 @@ class RawText extends createBaseClass$1({
|
|
|
3718
3734
|
}
|
|
3719
3735
|
}
|
|
3720
3736
|
|
|
3721
|
-
const { host: host$
|
|
3737
|
+
const { host: host$A } = {
|
|
3722
3738
|
host: { selector: () => ':host' },
|
|
3723
3739
|
};
|
|
3724
3740
|
|
|
3725
3741
|
const TextClass = compose(
|
|
3726
3742
|
createStyleMixin$1({
|
|
3727
3743
|
mappings: {
|
|
3728
|
-
hostWidth: { ...host$
|
|
3729
|
-
hostDirection: { ...host$
|
|
3744
|
+
hostWidth: { ...host$A, property: 'width' },
|
|
3745
|
+
hostDirection: { ...host$A, property: 'direction' },
|
|
3730
3746
|
fontSize: {},
|
|
3731
3747
|
textColor: [{ property: 'color' }],
|
|
3732
3748
|
textLineHeight: { property: 'line-height' },
|
|
@@ -3747,107 +3763,107 @@ const TextClass = compose(
|
|
|
3747
3763
|
componentNameValidationMixin$1,
|
|
3748
3764
|
)(RawText);
|
|
3749
3765
|
|
|
3750
|
-
const globalRefs$
|
|
3751
|
-
const vars$
|
|
3766
|
+
const globalRefs$I = getThemeRefs$1(globals);
|
|
3767
|
+
const vars$19 = TextClass.cssVarList;
|
|
3752
3768
|
|
|
3753
3769
|
const text$3 = {
|
|
3754
|
-
[vars$
|
|
3755
|
-
[vars$
|
|
3756
|
-
[vars$
|
|
3757
|
-
[vars$
|
|
3770
|
+
[vars$19.hostDirection]: globalRefs$I.direction,
|
|
3771
|
+
[vars$19.textLineHeight]: '1.35em',
|
|
3772
|
+
[vars$19.textAlign]: 'start',
|
|
3773
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.dark,
|
|
3758
3774
|
|
|
3759
3775
|
variant: {
|
|
3760
3776
|
h1: {
|
|
3761
|
-
[vars$
|
|
3762
|
-
[vars$
|
|
3763
|
-
[vars$
|
|
3777
|
+
[vars$19.fontSize]: globalRefs$I.typography.h1.size,
|
|
3778
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h1.weight,
|
|
3779
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h1.font,
|
|
3764
3780
|
},
|
|
3765
3781
|
h2: {
|
|
3766
|
-
[vars$
|
|
3767
|
-
[vars$
|
|
3768
|
-
[vars$
|
|
3782
|
+
[vars$19.fontSize]: globalRefs$I.typography.h2.size,
|
|
3783
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h2.weight,
|
|
3784
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h2.font,
|
|
3769
3785
|
},
|
|
3770
3786
|
h3: {
|
|
3771
|
-
[vars$
|
|
3772
|
-
[vars$
|
|
3773
|
-
[vars$
|
|
3787
|
+
[vars$19.fontSize]: globalRefs$I.typography.h3.size,
|
|
3788
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h3.weight,
|
|
3789
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h3.font,
|
|
3774
3790
|
},
|
|
3775
3791
|
subtitle1: {
|
|
3776
|
-
[vars$
|
|
3777
|
-
[vars$
|
|
3778
|
-
[vars$
|
|
3792
|
+
[vars$19.fontSize]: globalRefs$I.typography.subtitle1.size,
|
|
3793
|
+
[vars$19.fontWeight]: globalRefs$I.typography.subtitle1.weight,
|
|
3794
|
+
[vars$19.fontFamily]: globalRefs$I.typography.subtitle1.font,
|
|
3779
3795
|
},
|
|
3780
3796
|
subtitle2: {
|
|
3781
|
-
[vars$
|
|
3782
|
-
[vars$
|
|
3783
|
-
[vars$
|
|
3797
|
+
[vars$19.fontSize]: globalRefs$I.typography.subtitle2.size,
|
|
3798
|
+
[vars$19.fontWeight]: globalRefs$I.typography.subtitle2.weight,
|
|
3799
|
+
[vars$19.fontFamily]: globalRefs$I.typography.subtitle2.font,
|
|
3784
3800
|
},
|
|
3785
3801
|
body1: {
|
|
3786
|
-
[vars$
|
|
3787
|
-
[vars$
|
|
3788
|
-
[vars$
|
|
3802
|
+
[vars$19.fontSize]: globalRefs$I.typography.body1.size,
|
|
3803
|
+
[vars$19.fontWeight]: globalRefs$I.typography.body1.weight,
|
|
3804
|
+
[vars$19.fontFamily]: globalRefs$I.typography.body1.font,
|
|
3789
3805
|
},
|
|
3790
3806
|
body2: {
|
|
3791
|
-
[vars$
|
|
3792
|
-
[vars$
|
|
3793
|
-
[vars$
|
|
3807
|
+
[vars$19.fontSize]: globalRefs$I.typography.body2.size,
|
|
3808
|
+
[vars$19.fontWeight]: globalRefs$I.typography.body2.weight,
|
|
3809
|
+
[vars$19.fontFamily]: globalRefs$I.typography.body2.font,
|
|
3794
3810
|
},
|
|
3795
3811
|
},
|
|
3796
3812
|
|
|
3797
3813
|
mode: {
|
|
3798
3814
|
primary: {
|
|
3799
|
-
[vars$
|
|
3815
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.contrast,
|
|
3800
3816
|
},
|
|
3801
3817
|
secondary: {
|
|
3802
|
-
[vars$
|
|
3818
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.dark,
|
|
3803
3819
|
},
|
|
3804
3820
|
error: {
|
|
3805
|
-
[vars$
|
|
3821
|
+
[vars$19.textColor]: globalRefs$I.colors.error.main,
|
|
3806
3822
|
},
|
|
3807
3823
|
'error-dark': {
|
|
3808
|
-
[vars$
|
|
3824
|
+
[vars$19.textColor]: globalRefs$I.colors.error.dark,
|
|
3809
3825
|
},
|
|
3810
3826
|
success: {
|
|
3811
|
-
[vars$
|
|
3827
|
+
[vars$19.textColor]: globalRefs$I.colors.success.main,
|
|
3812
3828
|
},
|
|
3813
3829
|
'success-dark': {
|
|
3814
|
-
[vars$
|
|
3830
|
+
[vars$19.textColor]: globalRefs$I.colors.success.dark,
|
|
3815
3831
|
},
|
|
3816
3832
|
warning: {
|
|
3817
|
-
[vars$
|
|
3833
|
+
[vars$19.textColor]: globalRefs$I.colors.warning.main,
|
|
3818
3834
|
},
|
|
3819
3835
|
'warning-dark': {
|
|
3820
|
-
[vars$
|
|
3836
|
+
[vars$19.textColor]: globalRefs$I.colors.warning.dark,
|
|
3821
3837
|
},
|
|
3822
3838
|
},
|
|
3823
3839
|
|
|
3824
3840
|
textAlign: {
|
|
3825
|
-
right: { [vars$
|
|
3826
|
-
left: { [vars$
|
|
3827
|
-
center: { [vars$
|
|
3841
|
+
right: { [vars$19.textAlign]: 'right' },
|
|
3842
|
+
left: { [vars$19.textAlign]: 'left' },
|
|
3843
|
+
center: { [vars$19.textAlign]: 'center' },
|
|
3828
3844
|
},
|
|
3829
3845
|
|
|
3830
3846
|
_fullWidth: {
|
|
3831
|
-
[vars$
|
|
3847
|
+
[vars$19.hostWidth]: '100%',
|
|
3832
3848
|
},
|
|
3833
3849
|
|
|
3834
3850
|
_italic: {
|
|
3835
|
-
[vars$
|
|
3851
|
+
[vars$19.fontStyle]: 'italic',
|
|
3836
3852
|
},
|
|
3837
3853
|
|
|
3838
3854
|
_uppercase: {
|
|
3839
|
-
[vars$
|
|
3855
|
+
[vars$19.textTransform]: 'uppercase',
|
|
3840
3856
|
},
|
|
3841
3857
|
|
|
3842
3858
|
_lowercase: {
|
|
3843
|
-
[vars$
|
|
3859
|
+
[vars$19.textTransform]: 'lowercase',
|
|
3844
3860
|
},
|
|
3845
3861
|
};
|
|
3846
3862
|
|
|
3847
3863
|
var text$4 = /*#__PURE__*/Object.freeze({
|
|
3848
3864
|
__proto__: null,
|
|
3849
3865
|
default: text$3,
|
|
3850
|
-
vars: vars$
|
|
3866
|
+
vars: vars$19
|
|
3851
3867
|
});
|
|
3852
3868
|
|
|
3853
3869
|
const disableRules = [
|
|
@@ -3871,10 +3887,10 @@ const decodeHTML = (html) => {
|
|
|
3871
3887
|
return textArea.value;
|
|
3872
3888
|
};
|
|
3873
3889
|
|
|
3874
|
-
const componentName$
|
|
3890
|
+
const componentName$1m = getComponentName('enriched-text');
|
|
3875
3891
|
|
|
3876
3892
|
class EnrichedText extends createBaseClass$1({
|
|
3877
|
-
componentName: componentName$
|
|
3893
|
+
componentName: componentName$1m,
|
|
3878
3894
|
baseSelector: ':host > div',
|
|
3879
3895
|
}) {
|
|
3880
3896
|
#origLinkRenderer;
|
|
@@ -4111,12 +4127,12 @@ const EnrichedTextClass = compose(
|
|
|
4111
4127
|
componentNameValidationMixin$1,
|
|
4112
4128
|
)(EnrichedText);
|
|
4113
4129
|
|
|
4114
|
-
const componentName$
|
|
4130
|
+
const componentName$1l = getComponentName('link');
|
|
4115
4131
|
|
|
4116
4132
|
const observedAttrs$8 = ['href', 'readonly'];
|
|
4117
4133
|
|
|
4118
4134
|
class RawLink extends createBaseClass$1({
|
|
4119
|
-
componentName: componentName$
|
|
4135
|
+
componentName: componentName$1l,
|
|
4120
4136
|
baseSelector: ':host a',
|
|
4121
4137
|
}) {
|
|
4122
4138
|
static get observedAttributes() {
|
|
@@ -4191,12 +4207,12 @@ const selectors$3 = {
|
|
|
4191
4207
|
text: { selector: () => TextClass.componentName },
|
|
4192
4208
|
};
|
|
4193
4209
|
|
|
4194
|
-
const { anchor, text: text$2, host: host$
|
|
4210
|
+
const { anchor, text: text$2, host: host$z, wrapper: wrapper$1, link: link$3 } = selectors$3;
|
|
4195
4211
|
|
|
4196
4212
|
const LinkClass = compose(
|
|
4197
4213
|
createStyleMixin$1({
|
|
4198
4214
|
mappings: {
|
|
4199
|
-
hostWidth: { ...host$
|
|
4215
|
+
hostWidth: { ...host$z, property: 'width' },
|
|
4200
4216
|
hostDirection: { ...text$2, property: 'direction' },
|
|
4201
4217
|
textAlign: wrapper$1,
|
|
4202
4218
|
textDecoration: {
|
|
@@ -4216,32 +4232,32 @@ const LinkClass = compose(
|
|
|
4216
4232
|
componentNameValidationMixin$1,
|
|
4217
4233
|
)(RawLink);
|
|
4218
4234
|
|
|
4219
|
-
const globalRefs$
|
|
4220
|
-
const vars$
|
|
4235
|
+
const globalRefs$H = getThemeRefs$1(globals);
|
|
4236
|
+
const vars$18 = LinkClass.cssVarList;
|
|
4221
4237
|
|
|
4222
4238
|
const link$1 = {
|
|
4223
|
-
[vars$
|
|
4224
|
-
[vars$
|
|
4239
|
+
[vars$18.hostDirection]: globalRefs$H.direction,
|
|
4240
|
+
[vars$18.cursor]: 'pointer',
|
|
4225
4241
|
|
|
4226
|
-
[vars$
|
|
4242
|
+
[vars$18.textColor]: globalRefs$H.colors.primary.main,
|
|
4227
4243
|
|
|
4228
4244
|
textAlign: {
|
|
4229
|
-
right: { [vars$
|
|
4230
|
-
left: { [vars$
|
|
4231
|
-
center: { [vars$
|
|
4245
|
+
right: { [vars$18.textAlign]: 'right' },
|
|
4246
|
+
left: { [vars$18.textAlign]: 'left' },
|
|
4247
|
+
center: { [vars$18.textAlign]: 'center' },
|
|
4232
4248
|
},
|
|
4233
4249
|
|
|
4234
4250
|
_fullWidth: {
|
|
4235
|
-
[vars$
|
|
4251
|
+
[vars$18.hostWidth]: '100%',
|
|
4236
4252
|
},
|
|
4237
4253
|
|
|
4238
4254
|
_hover: {
|
|
4239
|
-
[vars$
|
|
4255
|
+
[vars$18.textDecoration]: 'underline',
|
|
4240
4256
|
},
|
|
4241
4257
|
|
|
4242
4258
|
mode: {
|
|
4243
4259
|
secondary: {
|
|
4244
|
-
[vars$
|
|
4260
|
+
[vars$18.textColor]: globalRefs$H.colors.secondary.main,
|
|
4245
4261
|
},
|
|
4246
4262
|
},
|
|
4247
4263
|
};
|
|
@@ -4249,37 +4265,37 @@ const link$1 = {
|
|
|
4249
4265
|
var link$2 = /*#__PURE__*/Object.freeze({
|
|
4250
4266
|
__proto__: null,
|
|
4251
4267
|
default: link$1,
|
|
4252
|
-
vars: vars$
|
|
4268
|
+
vars: vars$18
|
|
4253
4269
|
});
|
|
4254
4270
|
|
|
4255
|
-
const globalRefs$
|
|
4256
|
-
const vars$
|
|
4271
|
+
const globalRefs$G = getThemeRefs$1(globals);
|
|
4272
|
+
const vars$17 = EnrichedTextClass.cssVarList;
|
|
4257
4273
|
|
|
4258
4274
|
const enrichedText = {
|
|
4259
|
-
[vars$
|
|
4260
|
-
[vars$
|
|
4275
|
+
[vars$17.hostDirection]: globalRefs$G.direction,
|
|
4276
|
+
[vars$17.hostWidth]: useVar$1(vars$19.hostWidth),
|
|
4261
4277
|
|
|
4262
|
-
[vars$
|
|
4263
|
-
[vars$
|
|
4264
|
-
[vars$
|
|
4278
|
+
[vars$17.textLineHeight]: useVar$1(vars$19.textLineHeight),
|
|
4279
|
+
[vars$17.textColor]: useVar$1(vars$19.textColor),
|
|
4280
|
+
[vars$17.textAlign]: useVar$1(vars$19.textAlign),
|
|
4265
4281
|
|
|
4266
|
-
[vars$
|
|
4267
|
-
[vars$
|
|
4268
|
-
[vars$
|
|
4282
|
+
[vars$17.fontSize]: useVar$1(vars$19.fontSize),
|
|
4283
|
+
[vars$17.fontWeight]: useVar$1(vars$19.fontWeight),
|
|
4284
|
+
[vars$17.fontFamily]: useVar$1(vars$19.fontFamily),
|
|
4269
4285
|
|
|
4270
|
-
[vars$
|
|
4271
|
-
[vars$
|
|
4272
|
-
[vars$
|
|
4286
|
+
[vars$17.linkColor]: useVar$1(vars$18.textColor),
|
|
4287
|
+
[vars$17.linkTextDecoration]: 'none',
|
|
4288
|
+
[vars$17.linkHoverTextDecoration]: 'underline',
|
|
4273
4289
|
|
|
4274
|
-
[vars$
|
|
4275
|
-
[vars$
|
|
4276
|
-
[vars$
|
|
4290
|
+
[vars$17.fontWeightBold]: '900',
|
|
4291
|
+
[vars$17.minWidth]: '0.25em',
|
|
4292
|
+
[vars$17.minHeight]: '1.35em',
|
|
4277
4293
|
|
|
4278
|
-
[vars$
|
|
4294
|
+
[vars$17.hostDisplay]: 'inline-block',
|
|
4279
4295
|
|
|
4280
4296
|
_empty: {
|
|
4281
4297
|
_hideWhenEmpty: {
|
|
4282
|
-
[vars$
|
|
4298
|
+
[vars$17.hostDisplay]: 'none',
|
|
4283
4299
|
},
|
|
4284
4300
|
},
|
|
4285
4301
|
};
|
|
@@ -4287,10 +4303,10 @@ const enrichedText = {
|
|
|
4287
4303
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
4288
4304
|
__proto__: null,
|
|
4289
4305
|
default: enrichedText,
|
|
4290
|
-
vars: vars$
|
|
4306
|
+
vars: vars$17
|
|
4291
4307
|
});
|
|
4292
4308
|
|
|
4293
|
-
const componentName$
|
|
4309
|
+
const componentName$1k = getComponentName('combo-box');
|
|
4294
4310
|
|
|
4295
4311
|
const ComboBoxMixin = (superclass) =>
|
|
4296
4312
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -4680,7 +4696,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
4680
4696
|
};
|
|
4681
4697
|
|
|
4682
4698
|
const {
|
|
4683
|
-
host: host$
|
|
4699
|
+
host: host$y,
|
|
4684
4700
|
inputField: inputField$6,
|
|
4685
4701
|
inputElement: inputElement$3,
|
|
4686
4702
|
placeholder: placeholder$3,
|
|
@@ -4712,10 +4728,10 @@ const {
|
|
|
4712
4728
|
const ComboBoxClass = compose(
|
|
4713
4729
|
createStyleMixin$1({
|
|
4714
4730
|
mappings: {
|
|
4715
|
-
hostWidth: { ...host$
|
|
4716
|
-
hostDirection: { ...host$
|
|
4731
|
+
hostWidth: { ...host$y, property: 'width' },
|
|
4732
|
+
hostDirection: { ...host$y, property: 'direction' },
|
|
4717
4733
|
// we apply font-size also on the host so we can set its width with em
|
|
4718
|
-
fontSize: [{}, host$
|
|
4734
|
+
fontSize: [{}, host$y],
|
|
4719
4735
|
fontFamily: [label$9, placeholder$3, inputField$6, helperText$a, errorMessage$d],
|
|
4720
4736
|
labelFontSize: { ...label$9, property: 'font-size' },
|
|
4721
4737
|
labelFontWeight: { ...label$9, property: 'font-weight' },
|
|
@@ -4983,35 +4999,35 @@ const ComboBoxClass = compose(
|
|
|
4983
4999
|
// and reset items to an empty array, and opening the list box with no items
|
|
4984
5000
|
// to display.
|
|
4985
5001
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
|
|
4986
|
-
componentName: componentName$
|
|
5002
|
+
componentName: componentName$1k,
|
|
4987
5003
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
4988
5004
|
}),
|
|
4989
5005
|
);
|
|
4990
5006
|
|
|
4991
|
-
const componentName$
|
|
4992
|
-
const globalRefs$
|
|
5007
|
+
const componentName$1j = getComponentName('input-wrapper');
|
|
5008
|
+
const globalRefs$F = getThemeRefs$1(globals);
|
|
4993
5009
|
|
|
4994
5010
|
const [theme$2, refs$1] = createHelperVars$1(
|
|
4995
5011
|
{
|
|
4996
|
-
labelTextColor: globalRefs$
|
|
5012
|
+
labelTextColor: globalRefs$F.colors.surface.dark,
|
|
4997
5013
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
4998
5014
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
4999
5015
|
inputValueFontWeight: '400',
|
|
5000
5016
|
inputPlaceholderFontWeight: '400',
|
|
5001
5017
|
helperTextFontWeight: '400',
|
|
5002
5018
|
errorMessageFontWeight: '400',
|
|
5003
|
-
valueTextColor: globalRefs$
|
|
5004
|
-
placeholderTextColor: globalRefs$
|
|
5019
|
+
valueTextColor: globalRefs$F.colors.surface.contrast,
|
|
5020
|
+
placeholderTextColor: globalRefs$F.colors.surface.dark,
|
|
5005
5021
|
requiredIndicator: "'*'",
|
|
5006
|
-
helperTextColor: globalRefs$
|
|
5007
|
-
errorMessageTextColor: globalRefs$
|
|
5008
|
-
successMessageTextColor: globalRefs$
|
|
5022
|
+
helperTextColor: globalRefs$F.colors.surface.dark,
|
|
5023
|
+
errorMessageTextColor: globalRefs$F.colors.error.main,
|
|
5024
|
+
successMessageTextColor: globalRefs$F.colors.success.main,
|
|
5009
5025
|
|
|
5010
|
-
borderWidth: globalRefs$
|
|
5011
|
-
borderRadius: globalRefs$
|
|
5026
|
+
borderWidth: globalRefs$F.border.xs,
|
|
5027
|
+
borderRadius: globalRefs$F.radius.xs,
|
|
5012
5028
|
borderColor: 'transparent',
|
|
5013
5029
|
|
|
5014
|
-
outlineWidth: globalRefs$
|
|
5030
|
+
outlineWidth: globalRefs$F.border.sm,
|
|
5015
5031
|
outlineStyle: 'solid',
|
|
5016
5032
|
outlineColor: 'transparent',
|
|
5017
5033
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
|
@@ -5025,11 +5041,11 @@ const [theme$2, refs$1] = createHelperVars$1(
|
|
|
5025
5041
|
|
|
5026
5042
|
textAlign: 'start',
|
|
5027
5043
|
|
|
5028
|
-
backgroundColor: globalRefs$
|
|
5044
|
+
backgroundColor: globalRefs$F.colors.surface.main,
|
|
5029
5045
|
|
|
5030
|
-
fontFamily: globalRefs$
|
|
5046
|
+
fontFamily: globalRefs$F.fonts.font1.family,
|
|
5031
5047
|
|
|
5032
|
-
direction: globalRefs$
|
|
5048
|
+
direction: globalRefs$F.direction,
|
|
5033
5049
|
|
|
5034
5050
|
overlayOpacity: '0.3',
|
|
5035
5051
|
|
|
@@ -5090,135 +5106,135 @@ const [theme$2, refs$1] = createHelperVars$1(
|
|
|
5090
5106
|
},
|
|
5091
5107
|
|
|
5092
5108
|
_focused: {
|
|
5093
|
-
outlineColor: globalRefs$
|
|
5109
|
+
outlineColor: globalRefs$F.colors.surface.light,
|
|
5094
5110
|
_invalid: {
|
|
5095
|
-
outlineColor: globalRefs$
|
|
5111
|
+
outlineColor: globalRefs$F.colors.error.main,
|
|
5096
5112
|
},
|
|
5097
5113
|
},
|
|
5098
5114
|
|
|
5099
5115
|
_bordered: {
|
|
5100
|
-
outlineWidth: globalRefs$
|
|
5101
|
-
borderColor: globalRefs$
|
|
5116
|
+
outlineWidth: globalRefs$F.border.xs,
|
|
5117
|
+
borderColor: globalRefs$F.colors.surface.light,
|
|
5102
5118
|
borderStyle: 'solid',
|
|
5103
5119
|
_invalid: {
|
|
5104
|
-
borderColor: globalRefs$
|
|
5120
|
+
borderColor: globalRefs$F.colors.error.main,
|
|
5105
5121
|
},
|
|
5106
5122
|
},
|
|
5107
5123
|
|
|
5108
5124
|
_disabled: {
|
|
5109
|
-
labelTextColor: globalRefs$
|
|
5110
|
-
borderColor: globalRefs$
|
|
5111
|
-
valueTextColor: globalRefs$
|
|
5112
|
-
placeholderTextColor: globalRefs$
|
|
5113
|
-
helperTextColor: globalRefs$
|
|
5114
|
-
backgroundColor: globalRefs$
|
|
5125
|
+
labelTextColor: globalRefs$F.colors.surface.light,
|
|
5126
|
+
borderColor: globalRefs$F.colors.surface.light,
|
|
5127
|
+
valueTextColor: globalRefs$F.colors.surface.light,
|
|
5128
|
+
placeholderTextColor: globalRefs$F.colors.surface.light,
|
|
5129
|
+
helperTextColor: globalRefs$F.colors.surface.light,
|
|
5130
|
+
backgroundColor: globalRefs$F.colors.surface.main,
|
|
5115
5131
|
},
|
|
5116
5132
|
|
|
5117
5133
|
_obfuscated: {
|
|
5118
5134
|
inputTextSecurity: 'disc',
|
|
5119
5135
|
},
|
|
5120
5136
|
},
|
|
5121
|
-
componentName$
|
|
5137
|
+
componentName$1j,
|
|
5122
5138
|
);
|
|
5123
5139
|
|
|
5124
|
-
const globalRefs$
|
|
5125
|
-
const vars$
|
|
5140
|
+
const globalRefs$E = getThemeRefs$1(globals);
|
|
5141
|
+
const vars$16 = ComboBoxClass.cssVarList;
|
|
5126
5142
|
|
|
5127
5143
|
const comboBox = {
|
|
5128
|
-
[vars$
|
|
5129
|
-
[vars$
|
|
5130
|
-
[vars$
|
|
5131
|
-
[vars$
|
|
5132
|
-
[vars$
|
|
5133
|
-
[vars$
|
|
5134
|
-
[vars$
|
|
5135
|
-
[vars$
|
|
5136
|
-
[vars$
|
|
5137
|
-
[vars$
|
|
5138
|
-
[vars$
|
|
5139
|
-
[vars$
|
|
5140
|
-
[vars$
|
|
5141
|
-
[vars$
|
|
5142
|
-
[vars$
|
|
5143
|
-
[vars$
|
|
5144
|
-
[vars$
|
|
5145
|
-
[vars$
|
|
5146
|
-
[vars$
|
|
5147
|
-
[vars$
|
|
5148
|
-
[vars$
|
|
5149
|
-
[vars$
|
|
5150
|
-
[vars$
|
|
5151
|
-
[vars$
|
|
5152
|
-
[vars$
|
|
5153
|
-
[vars$
|
|
5154
|
-
[vars$
|
|
5155
|
-
[vars$
|
|
5156
|
-
[vars$
|
|
5157
|
-
[vars$
|
|
5158
|
-
[vars$
|
|
5159
|
-
[vars$
|
|
5160
|
-
[vars$
|
|
5161
|
-
[vars$
|
|
5162
|
-
[vars$
|
|
5163
|
-
[vars$
|
|
5164
|
-
[vars$
|
|
5165
|
-
[vars$
|
|
5166
|
-
[vars$
|
|
5167
|
-
[vars$
|
|
5168
|
-
[vars$
|
|
5169
|
-
[vars$
|
|
5144
|
+
[vars$16.hostWidth]: refs$1.width,
|
|
5145
|
+
[vars$16.hostDirection]: refs$1.direction,
|
|
5146
|
+
[vars$16.fontSize]: refs$1.fontSize,
|
|
5147
|
+
[vars$16.fontFamily]: refs$1.fontFamily,
|
|
5148
|
+
[vars$16.labelFontSize]: refs$1.labelFontSize,
|
|
5149
|
+
[vars$16.labelFontWeight]: refs$1.labelFontWeight,
|
|
5150
|
+
[vars$16.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
5151
|
+
[vars$16.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
5152
|
+
[vars$16.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
5153
|
+
[vars$16.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
5154
|
+
[vars$16.labelTextColor]: refs$1.labelTextColor,
|
|
5155
|
+
[vars$16.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
5156
|
+
[vars$16.inputBorderColor]: refs$1.borderColor,
|
|
5157
|
+
[vars$16.inputBorderWidth]: refs$1.borderWidth,
|
|
5158
|
+
[vars$16.inputBorderStyle]: refs$1.borderStyle,
|
|
5159
|
+
[vars$16.inputBorderRadius]: refs$1.borderRadius,
|
|
5160
|
+
[vars$16.inputOutlineColor]: refs$1.outlineColor,
|
|
5161
|
+
[vars$16.inputOutlineOffset]: refs$1.outlineOffset,
|
|
5162
|
+
[vars$16.inputOutlineWidth]: refs$1.outlineWidth,
|
|
5163
|
+
[vars$16.inputOutlineStyle]: refs$1.outlineStyle,
|
|
5164
|
+
[vars$16.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
5165
|
+
[vars$16.inputValueTextColor]: refs$1.valueTextColor,
|
|
5166
|
+
[vars$16.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
5167
|
+
[vars$16.inputBackgroundColor]: refs$1.backgroundColor,
|
|
5168
|
+
[vars$16.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
5169
|
+
[vars$16.inputHeight]: refs$1.inputHeight,
|
|
5170
|
+
[vars$16.inputDropdownButtonColor]: globalRefs$E.colors.surface.dark,
|
|
5171
|
+
[vars$16.inputDropdownButtonCursor]: 'pointer',
|
|
5172
|
+
[vars$16.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
5173
|
+
[vars$16.inputDropdownButtonOffset]: globalRefs$E.spacing.xs,
|
|
5174
|
+
[vars$16.overlayItemPaddingInlineStart]: globalRefs$E.spacing.xs,
|
|
5175
|
+
[vars$16.overlayItemPaddingInlineEnd]: globalRefs$E.spacing.lg,
|
|
5176
|
+
[vars$16.labelPosition]: refs$1.labelPosition,
|
|
5177
|
+
[vars$16.labelTopPosition]: refs$1.labelTopPosition,
|
|
5178
|
+
[vars$16.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
5179
|
+
[vars$16.inputTransformY]: refs$1.inputTransformY,
|
|
5180
|
+
[vars$16.inputTransition]: refs$1.inputTransition,
|
|
5181
|
+
[vars$16.marginInlineStart]: refs$1.marginInlineStart,
|
|
5182
|
+
[vars$16.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
5183
|
+
[vars$16.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
5184
|
+
[vars$16.valueInputHeight]: refs$1.valueInputHeight,
|
|
5185
|
+
[vars$16.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
5170
5186
|
|
|
5171
5187
|
// error message icon
|
|
5172
|
-
[vars$
|
|
5173
|
-
[vars$
|
|
5174
|
-
[vars$
|
|
5175
|
-
[vars$
|
|
5176
|
-
[vars$
|
|
5177
|
-
[vars$
|
|
5188
|
+
[vars$16.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
5189
|
+
[vars$16.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
5190
|
+
[vars$16.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
5191
|
+
[vars$16.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
5192
|
+
[vars$16.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
5193
|
+
[vars$16.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
5178
5194
|
|
|
5179
5195
|
_readonly: {
|
|
5180
|
-
[vars$
|
|
5196
|
+
[vars$16.inputDropdownButtonCursor]: 'default',
|
|
5181
5197
|
},
|
|
5182
5198
|
|
|
5183
5199
|
// Overlay theme exposed via the component:
|
|
5184
|
-
[vars$
|
|
5185
|
-
[vars$
|
|
5186
|
-
[vars$
|
|
5187
|
-
[vars$
|
|
5188
|
-
[vars$
|
|
5189
|
-
[vars$
|
|
5190
|
-
[vars$
|
|
5191
|
-
[vars$
|
|
5192
|
-
[vars$
|
|
5193
|
-
globalRefs$
|
|
5194
|
-
[vars$
|
|
5195
|
-
globalRefs$
|
|
5196
|
-
[vars$
|
|
5197
|
-
[vars$
|
|
5200
|
+
[vars$16.overlayFontSize]: refs$1.fontSize,
|
|
5201
|
+
[vars$16.overlayFontFamily]: refs$1.fontFamily,
|
|
5202
|
+
[vars$16.overlayCursor]: 'pointer',
|
|
5203
|
+
[vars$16.overlayItemBoxShadow]: 'none',
|
|
5204
|
+
[vars$16.overlayBackground]: refs$1.backgroundColor,
|
|
5205
|
+
[vars$16.overlayTextColor]: refs$1.valueTextColor,
|
|
5206
|
+
[vars$16.overlayCheckmarkDisplay]: 'initial',
|
|
5207
|
+
[vars$16.overlaySelectedItemBackground]: 'initial',
|
|
5208
|
+
[vars$16.overlaySelectedItemHoverBackground]:
|
|
5209
|
+
globalRefs$E.colors.primary.highlight,
|
|
5210
|
+
[vars$16.overlaySelectedItemFocusBackground]:
|
|
5211
|
+
globalRefs$E.colors.primary.highlight,
|
|
5212
|
+
[vars$16.overlayItemHoverBackground]: globalRefs$E.colors.primary.highlight,
|
|
5213
|
+
[vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
|
|
5198
5214
|
|
|
5199
5215
|
// Overlay direct theme:
|
|
5200
|
-
[vars$
|
|
5201
|
-
[vars$
|
|
5216
|
+
[vars$16.overlay.minHeight]: '400px',
|
|
5217
|
+
[vars$16.overlay.margin]: '0',
|
|
5202
5218
|
|
|
5203
|
-
[vars$
|
|
5204
|
-
[vars$
|
|
5205
|
-
[vars$
|
|
5219
|
+
[vars$16.overlay.contentHeight]: '100%',
|
|
5220
|
+
[vars$16.overlay.contentOpacity]: '1',
|
|
5221
|
+
[vars$16.overlay.scrollerMinHeight]: '1px',
|
|
5206
5222
|
_loading: {
|
|
5207
|
-
[vars$
|
|
5208
|
-
[vars$
|
|
5209
|
-
[vars$
|
|
5223
|
+
[vars$16.overlay.loaderTop]: '50%',
|
|
5224
|
+
[vars$16.overlay.loaderLeft]: '50%',
|
|
5225
|
+
[vars$16.overlay.loaderRight]: 'auto',
|
|
5210
5226
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
|
5211
5227
|
// Margin has to be half of the width/height of the loader to center it
|
|
5212
|
-
[vars$
|
|
5213
|
-
[vars$
|
|
5214
|
-
[vars$
|
|
5215
|
-
[vars$
|
|
5216
|
-
[vars$
|
|
5217
|
-
`${globalRefs$
|
|
5218
|
-
[vars$
|
|
5219
|
-
[vars$
|
|
5220
|
-
[vars$
|
|
5221
|
-
[vars$
|
|
5228
|
+
[vars$16.overlay.loaderMargin]: '-15px 0 0 -15px',
|
|
5229
|
+
[vars$16.overlay.loaderWidth]: '30px',
|
|
5230
|
+
[vars$16.overlay.loaderHeight]: '30px',
|
|
5231
|
+
[vars$16.overlay.loaderBorder]: '2px solid transparent',
|
|
5232
|
+
[vars$16.overlay.loaderBorderColor]:
|
|
5233
|
+
`${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.main} ${globalRefs$E.colors.primary.main}`,
|
|
5234
|
+
[vars$16.overlay.loaderBorderRadius]: '50%',
|
|
5235
|
+
[vars$16.overlay.contentHeight]: '100px',
|
|
5236
|
+
[vars$16.overlay.scrollerMinHeight]: '100px',
|
|
5237
|
+
[vars$16.overlay.contentOpacity]: '0',
|
|
5222
5238
|
},
|
|
5223
5239
|
};
|
|
5224
5240
|
|
|
@@ -5226,13 +5242,13 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
|
|
|
5226
5242
|
__proto__: null,
|
|
5227
5243
|
comboBox: comboBox,
|
|
5228
5244
|
default: comboBox,
|
|
5229
|
-
vars: vars$
|
|
5245
|
+
vars: vars$16
|
|
5230
5246
|
});
|
|
5231
5247
|
|
|
5232
|
-
const componentName$
|
|
5248
|
+
const componentName$1i = getComponentName('badge');
|
|
5233
5249
|
|
|
5234
5250
|
class RawBadge extends createBaseClass$1({
|
|
5235
|
-
componentName: componentName$
|
|
5251
|
+
componentName: componentName$1i,
|
|
5236
5252
|
baseSelector: ':host > div',
|
|
5237
5253
|
}) {
|
|
5238
5254
|
static get observedAttributes() {
|
|
@@ -5321,52 +5337,52 @@ const BadgeClass = compose(
|
|
|
5321
5337
|
componentNameValidationMixin$1,
|
|
5322
5338
|
)(RawBadge);
|
|
5323
5339
|
|
|
5324
|
-
const globalRefs$
|
|
5340
|
+
const globalRefs$D = getThemeRefs$1(globals);
|
|
5325
5341
|
|
|
5326
5342
|
const [helperTheme$6, helperRefs$6] = createHelperVars$1(
|
|
5327
5343
|
{
|
|
5328
5344
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
5329
5345
|
},
|
|
5330
|
-
componentName$
|
|
5346
|
+
componentName$1i,
|
|
5331
5347
|
);
|
|
5332
5348
|
|
|
5333
5349
|
const { shadowColor: shadowColor$7 } = helperRefs$6;
|
|
5334
5350
|
|
|
5335
|
-
const vars$
|
|
5351
|
+
const vars$15 = BadgeClass.cssVarList;
|
|
5336
5352
|
|
|
5337
5353
|
const badge$2 = {
|
|
5338
5354
|
...helperTheme$6,
|
|
5339
5355
|
|
|
5340
|
-
[vars$
|
|
5341
|
-
[vars$
|
|
5356
|
+
[vars$15.hostWidth]: 'fit-content',
|
|
5357
|
+
[vars$15.hostDirection]: globalRefs$D.direction,
|
|
5342
5358
|
|
|
5343
|
-
[vars$
|
|
5359
|
+
[vars$15.textAlign]: 'center',
|
|
5344
5360
|
|
|
5345
|
-
[vars$
|
|
5346
|
-
[vars$
|
|
5361
|
+
[vars$15.fontFamily]: globalRefs$D.fonts.font1.family,
|
|
5362
|
+
[vars$15.fontWeight]: '400',
|
|
5347
5363
|
|
|
5348
|
-
[vars$
|
|
5349
|
-
[vars$
|
|
5364
|
+
[vars$15.verticalPadding]: '0.25em',
|
|
5365
|
+
[vars$15.horizontalPadding]: '0.5em',
|
|
5350
5366
|
|
|
5351
|
-
[vars$
|
|
5352
|
-
[vars$
|
|
5353
|
-
[vars$
|
|
5354
|
-
[vars$
|
|
5367
|
+
[vars$15.borderWidth]: globalRefs$D.border.xs,
|
|
5368
|
+
[vars$15.borderRadius]: globalRefs$D.radius.xs,
|
|
5369
|
+
[vars$15.borderColor]: 'transparent',
|
|
5370
|
+
[vars$15.borderStyle]: 'solid',
|
|
5355
5371
|
|
|
5356
5372
|
_fullWidth: {
|
|
5357
|
-
[vars$
|
|
5373
|
+
[vars$15.hostWidth]: '100%',
|
|
5358
5374
|
},
|
|
5359
5375
|
|
|
5360
5376
|
size: {
|
|
5361
|
-
xs: { [vars$
|
|
5362
|
-
sm: { [vars$
|
|
5363
|
-
md: { [vars$
|
|
5364
|
-
lg: { [vars$
|
|
5377
|
+
xs: { [vars$15.fontSize]: '12px' },
|
|
5378
|
+
sm: { [vars$15.fontSize]: '14px' },
|
|
5379
|
+
md: { [vars$15.fontSize]: '16px' },
|
|
5380
|
+
lg: { [vars$15.fontSize]: '18px' },
|
|
5365
5381
|
},
|
|
5366
5382
|
|
|
5367
5383
|
variant: {
|
|
5368
5384
|
contained: {
|
|
5369
|
-
[vars$
|
|
5385
|
+
[vars$15.backgroundColor]: globalRefs$D.colors.surface.main,
|
|
5370
5386
|
},
|
|
5371
5387
|
},
|
|
5372
5388
|
|
|
@@ -5385,58 +5401,58 @@ const badge$2 = {
|
|
|
5385
5401
|
// },
|
|
5386
5402
|
|
|
5387
5403
|
_shrinkToIndicator: {
|
|
5388
|
-
[vars$
|
|
5389
|
-
[vars$
|
|
5390
|
-
[vars$
|
|
5391
|
-
[vars$
|
|
5392
|
-
[vars$
|
|
5404
|
+
[vars$15.hostWidth]: '13px',
|
|
5405
|
+
[vars$15.hostHeight]: '13px',
|
|
5406
|
+
[vars$15.borderRadius]: '50%',
|
|
5407
|
+
[vars$15.fontSize]: '0',
|
|
5408
|
+
[vars$15.textIndent]: '-9999px',
|
|
5393
5409
|
},
|
|
5394
5410
|
|
|
5395
5411
|
mode: {
|
|
5396
5412
|
default: {
|
|
5397
|
-
[vars$
|
|
5413
|
+
[vars$15.textColor]: globalRefs$D.colors.surface.dark,
|
|
5398
5414
|
_bordered: {
|
|
5399
|
-
[vars$
|
|
5415
|
+
[vars$15.borderColor]: globalRefs$D.colors.surface.light,
|
|
5400
5416
|
},
|
|
5401
5417
|
},
|
|
5402
5418
|
primary: {
|
|
5403
|
-
[vars$
|
|
5419
|
+
[vars$15.textColor]: globalRefs$D.colors.primary.main,
|
|
5404
5420
|
_bordered: {
|
|
5405
|
-
[vars$
|
|
5421
|
+
[vars$15.borderColor]: globalRefs$D.colors.primary.light,
|
|
5406
5422
|
},
|
|
5407
5423
|
},
|
|
5408
5424
|
secondary: {
|
|
5409
|
-
[vars$
|
|
5425
|
+
[vars$15.textColor]: globalRefs$D.colors.secondary.main,
|
|
5410
5426
|
_bordered: {
|
|
5411
|
-
[vars$
|
|
5427
|
+
[vars$15.borderColor]: globalRefs$D.colors.secondary.light,
|
|
5412
5428
|
},
|
|
5413
5429
|
},
|
|
5414
5430
|
error: {
|
|
5415
|
-
[vars$
|
|
5431
|
+
[vars$15.textColor]: globalRefs$D.colors.error.main,
|
|
5416
5432
|
_bordered: {
|
|
5417
|
-
[vars$
|
|
5433
|
+
[vars$15.borderColor]: globalRefs$D.colors.error.light,
|
|
5418
5434
|
},
|
|
5419
5435
|
},
|
|
5420
5436
|
success: {
|
|
5421
|
-
[vars$
|
|
5437
|
+
[vars$15.textColor]: globalRefs$D.colors.success.main,
|
|
5422
5438
|
_bordered: {
|
|
5423
|
-
[vars$
|
|
5439
|
+
[vars$15.borderColor]: globalRefs$D.colors.success.light,
|
|
5424
5440
|
},
|
|
5425
5441
|
},
|
|
5426
5442
|
},
|
|
5427
5443
|
|
|
5428
5444
|
shadow: {
|
|
5429
5445
|
sm: {
|
|
5430
|
-
[vars$
|
|
5446
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.sm} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.sm} ${shadowColor$7}`,
|
|
5431
5447
|
},
|
|
5432
5448
|
md: {
|
|
5433
|
-
[vars$
|
|
5449
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.md} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.md} ${shadowColor$7}`,
|
|
5434
5450
|
},
|
|
5435
5451
|
lg: {
|
|
5436
|
-
[vars$
|
|
5452
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.lg} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.lg} ${shadowColor$7}`,
|
|
5437
5453
|
},
|
|
5438
5454
|
xl: {
|
|
5439
|
-
[vars$
|
|
5455
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.xl} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.xl} ${shadowColor$7}`,
|
|
5440
5456
|
},
|
|
5441
5457
|
},
|
|
5442
5458
|
};
|
|
@@ -5444,12 +5460,12 @@ const badge$2 = {
|
|
|
5444
5460
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
|
5445
5461
|
__proto__: null,
|
|
5446
5462
|
default: badge$2,
|
|
5447
|
-
vars: vars$
|
|
5463
|
+
vars: vars$15
|
|
5448
5464
|
});
|
|
5449
5465
|
|
|
5450
|
-
const componentName$
|
|
5466
|
+
const componentName$1h = getComponentName('avatar');
|
|
5451
5467
|
class RawAvatar extends createBaseClass$1({
|
|
5452
|
-
componentName: componentName$
|
|
5468
|
+
componentName: componentName$1h,
|
|
5453
5469
|
baseSelector: ':host > .wrapper',
|
|
5454
5470
|
}) {
|
|
5455
5471
|
constructor() {
|
|
@@ -5527,7 +5543,7 @@ class RawAvatar extends createBaseClass$1({
|
|
|
5527
5543
|
}
|
|
5528
5544
|
}
|
|
5529
5545
|
|
|
5530
|
-
const { host: host$
|
|
5546
|
+
const { host: host$x, editableBadge, avatar: avatar$2 } = {
|
|
5531
5547
|
host: { selector: () => ':host' },
|
|
5532
5548
|
editableBadge: { selector: '> .editableBadge' },
|
|
5533
5549
|
avatar: { selector: 'vaadin-avatar' },
|
|
@@ -5537,12 +5553,12 @@ const AvatarClass = compose(
|
|
|
5537
5553
|
createStyleMixin$1({
|
|
5538
5554
|
mappings: {
|
|
5539
5555
|
hostWidth: [
|
|
5540
|
-
{ ...host$
|
|
5541
|
-
{ ...host$
|
|
5556
|
+
{ ...host$x, property: 'width' },
|
|
5557
|
+
{ ...host$x, property: 'min-width' },
|
|
5542
5558
|
],
|
|
5543
|
-
hostHeight: { ...host$
|
|
5544
|
-
cursor: [avatar$2, host$
|
|
5545
|
-
hostDirection: { ...host$
|
|
5559
|
+
hostHeight: { ...host$x, property: 'height' },
|
|
5560
|
+
cursor: [avatar$2, host$x],
|
|
5561
|
+
hostDirection: { ...host$x, property: 'direction' },
|
|
5546
5562
|
avatarTextColor: { ...avatar$2, property: 'color' },
|
|
5547
5563
|
avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
|
|
5548
5564
|
editableIconColor: { ...editableBadge, property: 'color' },
|
|
@@ -5557,16 +5573,16 @@ const AvatarClass = compose(
|
|
|
5557
5573
|
componentNameValidationMixin$1,
|
|
5558
5574
|
)(RawAvatar);
|
|
5559
5575
|
|
|
5560
|
-
const globalRefs$
|
|
5576
|
+
const globalRefs$C = getThemeRefs$1(globals);
|
|
5561
5577
|
const compVars$8 = AvatarClass.cssVarList;
|
|
5562
5578
|
|
|
5563
5579
|
const avatar = {
|
|
5564
|
-
[compVars$8.hostDirection]: globalRefs$
|
|
5565
|
-
[compVars$8.editableIconColor]: globalRefs$
|
|
5566
|
-
[compVars$8.editableBorderColor]: globalRefs$
|
|
5567
|
-
[compVars$8.editableBackgroundColor]: globalRefs$
|
|
5568
|
-
[compVars$8.avatarTextColor]: globalRefs$
|
|
5569
|
-
[compVars$8.avatarBackgroundColor]: globalRefs$
|
|
5580
|
+
[compVars$8.hostDirection]: globalRefs$C.direction,
|
|
5581
|
+
[compVars$8.editableIconColor]: globalRefs$C.colors.surface.dark,
|
|
5582
|
+
[compVars$8.editableBorderColor]: globalRefs$C.colors.surface.dark,
|
|
5583
|
+
[compVars$8.editableBackgroundColor]: globalRefs$C.colors.surface.main,
|
|
5584
|
+
[compVars$8.avatarTextColor]: globalRefs$C.colors.surface.main,
|
|
5585
|
+
[compVars$8.avatarBackgroundColor]: globalRefs$C.colors.surface.dark,
|
|
5570
5586
|
|
|
5571
5587
|
_editable: {
|
|
5572
5588
|
[compVars$8.cursor]: 'pointer',
|
|
@@ -5600,37 +5616,37 @@ const avatar = {
|
|
|
5600
5616
|
},
|
|
5601
5617
|
};
|
|
5602
5618
|
|
|
5603
|
-
const vars$
|
|
5619
|
+
const vars$14 = {
|
|
5604
5620
|
...compVars$8,
|
|
5605
5621
|
};
|
|
5606
5622
|
|
|
5607
5623
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
5608
5624
|
__proto__: null,
|
|
5609
5625
|
default: avatar,
|
|
5610
|
-
vars: vars$
|
|
5626
|
+
vars: vars$14
|
|
5611
5627
|
});
|
|
5612
5628
|
|
|
5613
|
-
const vars$
|
|
5629
|
+
const vars$13 = IconClass.cssVarList;
|
|
5614
5630
|
|
|
5615
5631
|
const icon$3 = {};
|
|
5616
5632
|
|
|
5617
5633
|
var icon$4 = /*#__PURE__*/Object.freeze({
|
|
5618
5634
|
__proto__: null,
|
|
5619
5635
|
default: icon$3,
|
|
5620
|
-
vars: vars$
|
|
5636
|
+
vars: vars$13
|
|
5621
5637
|
});
|
|
5622
5638
|
|
|
5623
|
-
const vars$
|
|
5639
|
+
const vars$12 = ImageClass.cssVarList;
|
|
5624
5640
|
|
|
5625
5641
|
const image = {};
|
|
5626
5642
|
|
|
5627
5643
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
5628
5644
|
__proto__: null,
|
|
5629
5645
|
default: image,
|
|
5630
|
-
vars: vars$
|
|
5646
|
+
vars: vars$12
|
|
5631
5647
|
});
|
|
5632
5648
|
|
|
5633
|
-
const componentName$
|
|
5649
|
+
const componentName$1g = getComponentName('list-item');
|
|
5634
5650
|
|
|
5635
5651
|
const customMixin$f = (superclass) =>
|
|
5636
5652
|
class ListItemMixinClass extends superclass {
|
|
@@ -5687,12 +5703,12 @@ const ListItemClass = compose(
|
|
|
5687
5703
|
componentNameValidationMixin$1,
|
|
5688
5704
|
customMixin$f,
|
|
5689
5705
|
activeableMixin,
|
|
5690
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
5706
|
+
)(createBaseClass$1({ componentName: componentName$1g, baseSelector: 'slot' }));
|
|
5691
5707
|
|
|
5692
|
-
const componentName$
|
|
5708
|
+
const componentName$1f = getComponentName('list');
|
|
5693
5709
|
|
|
5694
5710
|
class RawList extends createBaseClass$1({
|
|
5695
|
-
componentName: componentName$
|
|
5711
|
+
componentName: componentName$1f,
|
|
5696
5712
|
baseSelector: '.wrapper',
|
|
5697
5713
|
}) {
|
|
5698
5714
|
static get observedAttributes() {
|
|
@@ -5863,9 +5879,9 @@ const ListClass = compose(
|
|
|
5863
5879
|
componentNameValidationMixin$1,
|
|
5864
5880
|
)(RawList);
|
|
5865
5881
|
|
|
5866
|
-
const componentName$
|
|
5882
|
+
const componentName$1e = getComponentName('apps-list');
|
|
5867
5883
|
|
|
5868
|
-
const itemRenderer$
|
|
5884
|
+
const itemRenderer$6 = ({ name, icon, url }, _, ref) => `
|
|
5869
5885
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
5870
5886
|
<descope-list-item>
|
|
5871
5887
|
<div class="avatar-wrapper">
|
|
@@ -5971,7 +5987,7 @@ const AppsListClass = compose(
|
|
|
5971
5987
|
},
|
|
5972
5988
|
}),
|
|
5973
5989
|
createDynamicDataMixin$1({
|
|
5974
|
-
itemRenderer: itemRenderer$
|
|
5990
|
+
itemRenderer: itemRenderer$6,
|
|
5975
5991
|
rerenderAttrsList: [
|
|
5976
5992
|
'size',
|
|
5977
5993
|
'item-text-variant',
|
|
@@ -5987,7 +6003,7 @@ const AppsListClass = compose(
|
|
|
5987
6003
|
slots: ['empty-state'],
|
|
5988
6004
|
wrappedEleName: 'descope-list',
|
|
5989
6005
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
5990
|
-
componentName: componentName$
|
|
6006
|
+
componentName: componentName$1e,
|
|
5991
6007
|
style: () => `
|
|
5992
6008
|
:host {
|
|
5993
6009
|
width: 100%;
|
|
@@ -6022,60 +6038,60 @@ const AppsListClass = compose(
|
|
|
6022
6038
|
}),
|
|
6023
6039
|
);
|
|
6024
6040
|
|
|
6025
|
-
const vars$
|
|
6026
|
-
const globalRefs$
|
|
6041
|
+
const vars$11 = AppsListClass.cssVarList;
|
|
6042
|
+
const globalRefs$B = getThemeRefs$1(globals);
|
|
6027
6043
|
|
|
6028
6044
|
const defaultHeight = '400px';
|
|
6029
6045
|
|
|
6030
6046
|
const appsList = {
|
|
6031
|
-
[vars$
|
|
6032
|
-
[vars$
|
|
6033
|
-
[vars$
|
|
6034
|
-
[vars$
|
|
6047
|
+
[vars$11.itemsTextAlign]: 'start',
|
|
6048
|
+
[vars$11.hostDirection]: globalRefs$B.direction,
|
|
6049
|
+
[vars$11.maxHeight]: defaultHeight,
|
|
6050
|
+
[vars$11.itemHoverBackgroundColor]: globalRefs$B.colors.surface.highlight,
|
|
6035
6051
|
|
|
6036
6052
|
_empty: {
|
|
6037
|
-
[vars$
|
|
6053
|
+
[vars$11.minHeight]: defaultHeight,
|
|
6038
6054
|
},
|
|
6039
6055
|
|
|
6040
6056
|
size: {
|
|
6041
6057
|
xs: {
|
|
6042
|
-
[vars$
|
|
6043
|
-
[vars$
|
|
6058
|
+
[vars$11.itemsFontSize]: '14px',
|
|
6059
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
6044
6060
|
},
|
|
6045
6061
|
sm: {
|
|
6046
|
-
[vars$
|
|
6047
|
-
[vars$
|
|
6062
|
+
[vars$11.itemsFontSize]: '14px',
|
|
6063
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
6048
6064
|
},
|
|
6049
6065
|
md: {
|
|
6050
|
-
[vars$
|
|
6051
|
-
[vars$
|
|
6066
|
+
[vars$11.itemsFontSize]: '16px',
|
|
6067
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
6052
6068
|
},
|
|
6053
6069
|
lg: {
|
|
6054
|
-
[vars$
|
|
6055
|
-
[vars$
|
|
6070
|
+
[vars$11.itemsFontSize]: '20px',
|
|
6071
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
6056
6072
|
},
|
|
6057
6073
|
},
|
|
6058
6074
|
|
|
6059
6075
|
itemPadding: {
|
|
6060
6076
|
xs: {
|
|
6061
|
-
[vars$
|
|
6062
|
-
[vars$
|
|
6077
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.xs,
|
|
6078
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xs,
|
|
6063
6079
|
},
|
|
6064
6080
|
sm: {
|
|
6065
|
-
[vars$
|
|
6066
|
-
[vars$
|
|
6081
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.sm,
|
|
6082
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.sm,
|
|
6067
6083
|
},
|
|
6068
6084
|
md: {
|
|
6069
|
-
[vars$
|
|
6070
|
-
[vars$
|
|
6085
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.md,
|
|
6086
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.md,
|
|
6071
6087
|
},
|
|
6072
6088
|
lg: {
|
|
6073
|
-
[vars$
|
|
6074
|
-
[vars$
|
|
6089
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.lg,
|
|
6090
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.lg,
|
|
6075
6091
|
},
|
|
6076
6092
|
xl: {
|
|
6077
|
-
[vars$
|
|
6078
|
-
[vars$
|
|
6093
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.xl,
|
|
6094
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xl,
|
|
6079
6095
|
},
|
|
6080
6096
|
},
|
|
6081
6097
|
};
|
|
@@ -6083,16 +6099,16 @@ const appsList = {
|
|
|
6083
6099
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
|
6084
6100
|
__proto__: null,
|
|
6085
6101
|
default: appsList,
|
|
6086
|
-
vars: vars$
|
|
6102
|
+
vars: vars$11
|
|
6087
6103
|
});
|
|
6088
6104
|
|
|
6089
|
-
const globalRefs$
|
|
6105
|
+
const globalRefs$A = getThemeRefs$1(globals);
|
|
6090
6106
|
|
|
6091
6107
|
const compVars$7 = ListClass.cssVarList;
|
|
6092
6108
|
|
|
6093
6109
|
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
|
|
6094
6110
|
{ shadowColor: '#00000020' },
|
|
6095
|
-
componentName$
|
|
6111
|
+
componentName$1f,
|
|
6096
6112
|
);
|
|
6097
6113
|
|
|
6098
6114
|
const { shadowColor: shadowColor$6 } = helperRefs$5;
|
|
@@ -6101,25 +6117,25 @@ const list = {
|
|
|
6101
6117
|
...helperTheme$5,
|
|
6102
6118
|
|
|
6103
6119
|
[compVars$7.hostWidth]: '100%',
|
|
6104
|
-
[compVars$7.backgroundColor]: globalRefs$
|
|
6105
|
-
[compVars$7.fontFamily]: globalRefs$
|
|
6106
|
-
[compVars$7.borderColor]: globalRefs$
|
|
6120
|
+
[compVars$7.backgroundColor]: globalRefs$A.colors.surface.main,
|
|
6121
|
+
[compVars$7.fontFamily]: globalRefs$A.fonts.font1.family,
|
|
6122
|
+
[compVars$7.borderColor]: globalRefs$A.colors.surface.light,
|
|
6107
6123
|
[compVars$7.borderStyle]: 'solid',
|
|
6108
|
-
[compVars$7.borderWidth]: globalRefs$
|
|
6109
|
-
[compVars$7.borderRadius]: globalRefs$
|
|
6110
|
-
[compVars$7.gap]: globalRefs$
|
|
6111
|
-
[compVars$7.verticalPadding]: globalRefs$
|
|
6112
|
-
[compVars$7.horizontalPadding]: globalRefs$
|
|
6113
|
-
[compVars$7.boxShadow]: `${globalRefs$
|
|
6124
|
+
[compVars$7.borderWidth]: globalRefs$A.border.xs,
|
|
6125
|
+
[compVars$7.borderRadius]: globalRefs$A.radius.sm,
|
|
6126
|
+
[compVars$7.gap]: globalRefs$A.spacing.md,
|
|
6127
|
+
[compVars$7.verticalPadding]: globalRefs$A.spacing.lg,
|
|
6128
|
+
[compVars$7.horizontalPadding]: globalRefs$A.spacing.lg,
|
|
6129
|
+
[compVars$7.boxShadow]: `${globalRefs$A.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$A.shadow.narrow.sm} ${shadowColor$6}`,
|
|
6114
6130
|
[compVars$7.maxHeight]: '100%',
|
|
6115
|
-
[compVars$7.hostDirection]: globalRefs$
|
|
6131
|
+
[compVars$7.hostDirection]: globalRefs$A.direction,
|
|
6116
6132
|
[compVars$7.minItemsWidth]: '150px',
|
|
6117
6133
|
[compVars$7.maxRowItems]: '1000', // effectively no limit
|
|
6118
6134
|
|
|
6119
6135
|
_empty: {
|
|
6120
6136
|
[compVars$7.minHeight]: '150px',
|
|
6121
|
-
[compVars$7.emptyStateTextColor]: globalRefs$
|
|
6122
|
-
[compVars$7.emptyStateTextFontFamily]: globalRefs$
|
|
6137
|
+
[compVars$7.emptyStateTextColor]: globalRefs$A.colors.surface.dark,
|
|
6138
|
+
[compVars$7.emptyStateTextFontFamily]: globalRefs$A.fonts.font1.family,
|
|
6123
6139
|
},
|
|
6124
6140
|
|
|
6125
6141
|
variant: {
|
|
@@ -6136,24 +6152,24 @@ const list = {
|
|
|
6136
6152
|
|
|
6137
6153
|
gap: {
|
|
6138
6154
|
xs: {
|
|
6139
|
-
[compVars$7.gap]: globalRefs$
|
|
6155
|
+
[compVars$7.gap]: globalRefs$A.spacing.xs,
|
|
6140
6156
|
},
|
|
6141
6157
|
sm: {
|
|
6142
|
-
[compVars$7.gap]: globalRefs$
|
|
6158
|
+
[compVars$7.gap]: globalRefs$A.spacing.sm,
|
|
6143
6159
|
},
|
|
6144
6160
|
md: {
|
|
6145
|
-
[compVars$7.gap]: globalRefs$
|
|
6161
|
+
[compVars$7.gap]: globalRefs$A.spacing.md,
|
|
6146
6162
|
},
|
|
6147
6163
|
lg: {
|
|
6148
|
-
[compVars$7.gap]: globalRefs$
|
|
6164
|
+
[compVars$7.gap]: globalRefs$A.spacing.lg,
|
|
6149
6165
|
},
|
|
6150
6166
|
xl: {
|
|
6151
|
-
[compVars$7.gap]: globalRefs$
|
|
6167
|
+
[compVars$7.gap]: globalRefs$A.spacing.xl,
|
|
6152
6168
|
},
|
|
6153
6169
|
},
|
|
6154
6170
|
};
|
|
6155
6171
|
|
|
6156
|
-
const vars
|
|
6172
|
+
const vars$10 = {
|
|
6157
6173
|
...compVars$7,
|
|
6158
6174
|
...helperVars$5,
|
|
6159
6175
|
};
|
|
@@ -6161,53 +6177,53 @@ const vars$$ = {
|
|
|
6161
6177
|
var list$1 = /*#__PURE__*/Object.freeze({
|
|
6162
6178
|
__proto__: null,
|
|
6163
6179
|
default: list,
|
|
6164
|
-
vars: vars
|
|
6180
|
+
vars: vars$10
|
|
6165
6181
|
});
|
|
6166
6182
|
|
|
6167
|
-
const globalRefs$
|
|
6183
|
+
const globalRefs$z = getThemeRefs$1(globals);
|
|
6168
6184
|
|
|
6169
|
-
const vars
|
|
6185
|
+
const vars$$ = ListItemClass.cssVarList;
|
|
6170
6186
|
|
|
6171
6187
|
const listItem = {
|
|
6172
|
-
[vars
|
|
6173
|
-
[vars
|
|
6174
|
-
[vars
|
|
6175
|
-
[vars
|
|
6176
|
-
[vars
|
|
6177
|
-
[vars
|
|
6178
|
-
[vars
|
|
6179
|
-
[vars
|
|
6180
|
-
[vars
|
|
6181
|
-
[vars
|
|
6182
|
-
[vars
|
|
6183
|
-
[vars
|
|
6188
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
|
|
6189
|
+
[vars$$.verticalPadding]: globalRefs$z.spacing.lg,
|
|
6190
|
+
[vars$$.horizontalPadding]: globalRefs$z.spacing.lg,
|
|
6191
|
+
[vars$$.gap]: globalRefs$z.spacing.md,
|
|
6192
|
+
[vars$$.borderStyle]: 'solid',
|
|
6193
|
+
[vars$$.borderWidth]: globalRefs$z.border.xs,
|
|
6194
|
+
[vars$$.borderColor]: globalRefs$z.colors.surface.main,
|
|
6195
|
+
[vars$$.borderRadius]: globalRefs$z.radius.sm,
|
|
6196
|
+
[vars$$.cursor]: 'pointer',
|
|
6197
|
+
[vars$$.alignItems]: 'center',
|
|
6198
|
+
[vars$$.flexDirection]: 'row',
|
|
6199
|
+
[vars$$.transition]: 'border-color 0.2s, background-color 0.2s',
|
|
6184
6200
|
|
|
6185
6201
|
variant: {
|
|
6186
6202
|
tile: {
|
|
6187
|
-
[vars
|
|
6188
|
-
[vars
|
|
6189
|
-
[vars
|
|
6203
|
+
[vars$$.alignItems]: 'flex-start',
|
|
6204
|
+
[vars$$.flexDirection]: 'column',
|
|
6205
|
+
[vars$$.borderColor]: globalRefs$z.colors.surface.light,
|
|
6190
6206
|
},
|
|
6191
6207
|
},
|
|
6192
6208
|
|
|
6193
6209
|
_hover: {
|
|
6194
|
-
[vars
|
|
6210
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.highlight,
|
|
6195
6211
|
},
|
|
6196
6212
|
|
|
6197
6213
|
_active: {
|
|
6198
|
-
[vars
|
|
6199
|
-
[vars
|
|
6200
|
-
[vars
|
|
6214
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
|
|
6215
|
+
[vars$$.borderColor]: globalRefs$z.colors.primary.light,
|
|
6216
|
+
[vars$$.outline]: `1px solid ${globalRefs$z.colors.primary.light}`,
|
|
6201
6217
|
},
|
|
6202
6218
|
};
|
|
6203
6219
|
|
|
6204
6220
|
var listItem$1 = /*#__PURE__*/Object.freeze({
|
|
6205
6221
|
__proto__: null,
|
|
6206
6222
|
default: listItem,
|
|
6207
|
-
vars: vars
|
|
6223
|
+
vars: vars$$
|
|
6208
6224
|
});
|
|
6209
6225
|
|
|
6210
|
-
const componentName$
|
|
6226
|
+
const componentName$1d = getComponentName('multi-select-combo-box');
|
|
6211
6227
|
|
|
6212
6228
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
6213
6229
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -6586,7 +6602,7 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
|
6586
6602
|
};
|
|
6587
6603
|
|
|
6588
6604
|
const {
|
|
6589
|
-
host: host$
|
|
6605
|
+
host: host$w,
|
|
6590
6606
|
inputField: inputField$5,
|
|
6591
6607
|
inputElement: inputElement$2,
|
|
6592
6608
|
placeholder: placeholder$2,
|
|
@@ -6626,9 +6642,9 @@ const {
|
|
|
6626
6642
|
const MultiSelectComboBoxClass = compose(
|
|
6627
6643
|
createStyleMixin$1({
|
|
6628
6644
|
mappings: {
|
|
6629
|
-
hostWidth: { ...host$
|
|
6630
|
-
hostDirection: { ...host$
|
|
6631
|
-
fontSize: [{}, host$
|
|
6645
|
+
hostWidth: { ...host$w, property: 'width' },
|
|
6646
|
+
hostDirection: { ...host$w, property: 'direction' },
|
|
6647
|
+
fontSize: [{}, host$w],
|
|
6632
6648
|
chipFontSize: { ...chipLabel, property: 'font-size' },
|
|
6633
6649
|
fontFamily: [
|
|
6634
6650
|
label$8,
|
|
@@ -6870,13 +6886,13 @@ const MultiSelectComboBoxClass = compose(
|
|
|
6870
6886
|
|
|
6871
6887
|
`,
|
|
6872
6888
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
|
|
6873
|
-
componentName: componentName$
|
|
6889
|
+
componentName: componentName$1d,
|
|
6874
6890
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
6875
6891
|
}),
|
|
6876
6892
|
);
|
|
6877
6893
|
|
|
6878
|
-
const componentName$
|
|
6879
|
-
const BaseClass$
|
|
6894
|
+
const componentName$1c = getComponentName('multi-line-mappings');
|
|
6895
|
+
const BaseClass$9 = createBaseClass$1({ componentName: componentName$1c });
|
|
6880
6896
|
|
|
6881
6897
|
const parseJSON = (value, fallback, source = 'unknown') => {
|
|
6882
6898
|
if (typeof value !== 'string' || !value?.trim()) {
|
|
@@ -6946,7 +6962,7 @@ const createEmptyRow = () => ({ firstValues: [], secondValues: [] });
|
|
|
6946
6962
|
const areSameValues = (first = [], second = []) =>
|
|
6947
6963
|
first.length === second.length && first.every((v, i) => v === second[i]);
|
|
6948
6964
|
|
|
6949
|
-
class RawMultiLineMappingsClass extends BaseClass$
|
|
6965
|
+
class RawMultiLineMappingsClass extends BaseClass$9 {
|
|
6950
6966
|
static get observedAttributes() {
|
|
6951
6967
|
return [
|
|
6952
6968
|
'data',
|
|
@@ -7583,7 +7599,7 @@ class RawMultiLineMappingsClass extends BaseClass$8 {
|
|
|
7583
7599
|
}
|
|
7584
7600
|
}
|
|
7585
7601
|
|
|
7586
|
-
const host$
|
|
7602
|
+
const host$v = { selector: () => ':host' };
|
|
7587
7603
|
const rows = { selector: '.rows' };
|
|
7588
7604
|
const row = { selector: '.row' };
|
|
7589
7605
|
const addAction = { selector: '.add-action' };
|
|
@@ -7591,9 +7607,9 @@ const addAction = { selector: '.add-action' };
|
|
|
7591
7607
|
const MultiLineMappingsClass = compose(
|
|
7592
7608
|
createStyleMixin$1({
|
|
7593
7609
|
mappings: {
|
|
7594
|
-
hostWidth: { ...host$
|
|
7610
|
+
hostWidth: { ...host$v, property: 'width' },
|
|
7595
7611
|
hostDirection: [
|
|
7596
|
-
{ ...host$
|
|
7612
|
+
{ ...host$v, property: 'direction' },
|
|
7597
7613
|
{
|
|
7598
7614
|
selector: MultiSelectComboBoxClass.componentName,
|
|
7599
7615
|
property: MultiSelectComboBoxClass.cssVarList.hostDirection,
|
|
@@ -7614,126 +7630,126 @@ const MultiLineMappingsClass = compose(
|
|
|
7614
7630
|
draggableMixin$1,
|
|
7615
7631
|
)(RawMultiLineMappingsClass);
|
|
7616
7632
|
|
|
7617
|
-
const vars$
|
|
7633
|
+
const vars$_ = MultiLineMappingsClass.cssVarList;
|
|
7618
7634
|
|
|
7619
7635
|
const multiLineMappings = {
|
|
7620
|
-
[vars$
|
|
7636
|
+
[vars$_.hostDirection]: refs$1.direction,
|
|
7621
7637
|
|
|
7622
|
-
[vars$
|
|
7623
|
-
[vars$
|
|
7624
|
-
[vars$
|
|
7625
|
-
[vars$
|
|
7638
|
+
[vars$_.rowsGap]: globals.spacing.sm,
|
|
7639
|
+
[vars$_.rowGap]: globals.spacing.sm,
|
|
7640
|
+
[vars$_.rowAlignItems]: 'flex-end',
|
|
7641
|
+
[vars$_.rowWrap]: 'nowrap',
|
|
7626
7642
|
|
|
7627
|
-
[vars$
|
|
7628
|
-
[vars$
|
|
7643
|
+
[vars$_.addActionJustifyContent]: 'flex-start',
|
|
7644
|
+
[vars$_.addActionMarginTop]: globals.spacing.xs,
|
|
7629
7645
|
|
|
7630
7646
|
_fullWidth: {
|
|
7631
|
-
[vars$
|
|
7647
|
+
[vars$_.hostWidth]: '100%',
|
|
7632
7648
|
},
|
|
7633
7649
|
};
|
|
7634
7650
|
|
|
7635
7651
|
var multiLineMappings$1 = /*#__PURE__*/Object.freeze({
|
|
7636
7652
|
__proto__: null,
|
|
7637
7653
|
default: multiLineMappings,
|
|
7638
|
-
vars: vars$
|
|
7654
|
+
vars: vars$_
|
|
7639
7655
|
});
|
|
7640
7656
|
|
|
7641
|
-
const globalRefs$
|
|
7642
|
-
const vars$
|
|
7657
|
+
const globalRefs$y = getThemeRefs$1(globals);
|
|
7658
|
+
const vars$Z = MultiSelectComboBoxClass.cssVarList;
|
|
7643
7659
|
|
|
7644
7660
|
const multiSelectComboBox = {
|
|
7645
|
-
[vars$
|
|
7646
|
-
[vars$
|
|
7647
|
-
[vars$
|
|
7648
|
-
[vars$
|
|
7649
|
-
[vars$
|
|
7650
|
-
[vars$
|
|
7651
|
-
[vars$
|
|
7652
|
-
[vars$
|
|
7653
|
-
[vars$
|
|
7654
|
-
[vars$
|
|
7655
|
-
[vars$
|
|
7656
|
-
[vars$
|
|
7657
|
-
[vars$
|
|
7658
|
-
[vars$
|
|
7659
|
-
[vars$
|
|
7660
|
-
[vars$
|
|
7661
|
-
[vars$
|
|
7662
|
-
[vars$
|
|
7663
|
-
[vars$
|
|
7664
|
-
[vars$
|
|
7665
|
-
[vars$
|
|
7666
|
-
[vars$
|
|
7667
|
-
[vars$
|
|
7668
|
-
[vars$
|
|
7669
|
-
[vars$
|
|
7670
|
-
[vars$
|
|
7671
|
-
[vars$
|
|
7672
|
-
[vars$
|
|
7673
|
-
[vars$
|
|
7674
|
-
[vars$
|
|
7675
|
-
[vars$
|
|
7676
|
-
[vars$
|
|
7677
|
-
[vars$
|
|
7678
|
-
[vars$
|
|
7679
|
-
[vars$
|
|
7680
|
-
[vars$
|
|
7681
|
-
[vars$
|
|
7682
|
-
[vars$
|
|
7683
|
-
[vars$
|
|
7684
|
-
[vars$
|
|
7685
|
-
[vars$
|
|
7686
|
-
[vars$
|
|
7687
|
-
[vars$
|
|
7688
|
-
[vars$
|
|
7689
|
-
[vars$
|
|
7690
|
-
|
|
7691
|
-
[vars$
|
|
7692
|
-
[vars$
|
|
7693
|
-
[vars$
|
|
7694
|
-
[vars$
|
|
7695
|
-
[vars$
|
|
7696
|
-
[vars$
|
|
7661
|
+
[vars$Z.hostWidth]: refs$1.width,
|
|
7662
|
+
[vars$Z.hostDirection]: refs$1.direction,
|
|
7663
|
+
[vars$Z.fontSize]: refs$1.fontSize,
|
|
7664
|
+
[vars$Z.fontFamily]: refs$1.fontFamily,
|
|
7665
|
+
[vars$Z.labelFontSize]: refs$1.labelFontSize,
|
|
7666
|
+
[vars$Z.labelFontWeight]: refs$1.labelFontWeight,
|
|
7667
|
+
[vars$Z.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
7668
|
+
[vars$Z.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
7669
|
+
[vars$Z.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
7670
|
+
[vars$Z.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
7671
|
+
[vars$Z.labelTextColor]: refs$1.labelTextColor,
|
|
7672
|
+
[vars$Z.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
7673
|
+
[vars$Z.inputBorderColor]: refs$1.borderColor,
|
|
7674
|
+
[vars$Z.inputBorderWidth]: refs$1.borderWidth,
|
|
7675
|
+
[vars$Z.inputBorderStyle]: refs$1.borderStyle,
|
|
7676
|
+
[vars$Z.inputBorderRadius]: refs$1.borderRadius,
|
|
7677
|
+
[vars$Z.inputOutlineColor]: refs$1.outlineColor,
|
|
7678
|
+
[vars$Z.inputOutlineOffset]: refs$1.outlineOffset,
|
|
7679
|
+
[vars$Z.inputOutlineWidth]: refs$1.outlineWidth,
|
|
7680
|
+
[vars$Z.inputOutlineStyle]: refs$1.outlineStyle,
|
|
7681
|
+
[vars$Z.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
7682
|
+
[vars$Z.inputValueTextColor]: refs$1.valueTextColor,
|
|
7683
|
+
[vars$Z.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
7684
|
+
[vars$Z.inputBackgroundColor]: refs$1.backgroundColor,
|
|
7685
|
+
[vars$Z.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
7686
|
+
[vars$Z.inputVerticalPadding]: refs$1.verticalPadding,
|
|
7687
|
+
[vars$Z.inputHeight]: refs$1.inputHeight,
|
|
7688
|
+
[vars$Z.inputDropdownButtonColor]: globalRefs$y.colors.surface.dark,
|
|
7689
|
+
[vars$Z.inputDropdownButtonCursor]: 'pointer',
|
|
7690
|
+
[vars$Z.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
7691
|
+
[vars$Z.inputDropdownButtonOffset]: globalRefs$y.spacing.xs,
|
|
7692
|
+
[vars$Z.overlayItemPaddingInlineStart]: globalRefs$y.spacing.xs,
|
|
7693
|
+
[vars$Z.overlayItemPaddingInlineEnd]: globalRefs$y.spacing.lg,
|
|
7694
|
+
[vars$Z.chipFontSize]: refs$1.chipFontSize,
|
|
7695
|
+
[vars$Z.chipTextColor]: globalRefs$y.colors.surface.contrast,
|
|
7696
|
+
[vars$Z.chipBackgroundColor]: globalRefs$y.colors.surface.light,
|
|
7697
|
+
[vars$Z.labelPosition]: refs$1.labelPosition,
|
|
7698
|
+
[vars$Z.labelTopPosition]: refs$1.labelTopPosition,
|
|
7699
|
+
[vars$Z.labelLeftPosition]: refs$1.labelLeftPosition,
|
|
7700
|
+
[vars$Z.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
7701
|
+
[vars$Z.inputTransformY]: refs$1.inputTransformY,
|
|
7702
|
+
[vars$Z.inputTransition]: refs$1.inputTransition,
|
|
7703
|
+
[vars$Z.marginInlineStart]: refs$1.marginInlineStart,
|
|
7704
|
+
[vars$Z.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
7705
|
+
[vars$Z.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
7706
|
+
|
|
7707
|
+
[vars$Z.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
7708
|
+
[vars$Z.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
7709
|
+
[vars$Z.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
7710
|
+
[vars$Z.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
7711
|
+
[vars$Z.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
7712
|
+
[vars$Z.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
7697
7713
|
|
|
7698
7714
|
labelType: {
|
|
7699
7715
|
floating: {
|
|
7700
|
-
[vars$
|
|
7716
|
+
[vars$Z.inputHorizontalPadding]: '0.25em',
|
|
7701
7717
|
_hasValue: {
|
|
7702
|
-
[vars$
|
|
7718
|
+
[vars$Z.inputHorizontalPadding]: '0.45em',
|
|
7703
7719
|
},
|
|
7704
7720
|
},
|
|
7705
7721
|
},
|
|
7706
7722
|
|
|
7707
7723
|
_readonly: {
|
|
7708
|
-
[vars$
|
|
7724
|
+
[vars$Z.inputDropdownButtonCursor]: 'default',
|
|
7709
7725
|
},
|
|
7710
7726
|
|
|
7711
|
-
[vars$
|
|
7712
|
-
[vars$
|
|
7713
|
-
[vars$
|
|
7714
|
-
[vars$
|
|
7715
|
-
[vars$
|
|
7716
|
-
[vars$
|
|
7727
|
+
[vars$Z.overlayFontSize]: refs$1.fontSize,
|
|
7728
|
+
[vars$Z.overlayFontFamily]: refs$1.fontFamily,
|
|
7729
|
+
[vars$Z.overlayCursor]: 'pointer',
|
|
7730
|
+
[vars$Z.overlayItemBoxShadow]: 'none',
|
|
7731
|
+
[vars$Z.overlayBackground]: refs$1.backgroundColor,
|
|
7732
|
+
[vars$Z.overlayTextColor]: refs$1.valueTextColor,
|
|
7717
7733
|
|
|
7718
|
-
[vars$
|
|
7719
|
-
[vars$
|
|
7734
|
+
[vars$Z.overlay.minHeight]: '400px',
|
|
7735
|
+
[vars$Z.overlay.margin]: '0',
|
|
7720
7736
|
};
|
|
7721
7737
|
|
|
7722
7738
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
7723
7739
|
__proto__: null,
|
|
7724
7740
|
default: multiSelectComboBox,
|
|
7725
7741
|
multiSelectComboBox: multiSelectComboBox,
|
|
7726
|
-
vars: vars$
|
|
7742
|
+
vars: vars$Z
|
|
7727
7743
|
});
|
|
7728
7744
|
|
|
7729
|
-
const componentName$
|
|
7745
|
+
const componentName$1b = getComponentName('autocomplete-field-internal');
|
|
7730
7746
|
|
|
7731
7747
|
createBaseInputClass$1({
|
|
7732
|
-
componentName: componentName$
|
|
7748
|
+
componentName: componentName$1b,
|
|
7733
7749
|
baseSelector: '',
|
|
7734
7750
|
});
|
|
7735
7751
|
|
|
7736
|
-
const componentName$
|
|
7752
|
+
const componentName$1a = getComponentName('autocomplete-field');
|
|
7737
7753
|
|
|
7738
7754
|
const customMixin$d = (superclass) =>
|
|
7739
7755
|
class AutocompleteFieldMixinClass extends superclass {
|
|
@@ -7754,15 +7770,15 @@ const customMixin$d = (superclass) =>
|
|
|
7754
7770
|
const template = document.createElement('template');
|
|
7755
7771
|
|
|
7756
7772
|
template.innerHTML = `
|
|
7757
|
-
<${componentName$
|
|
7773
|
+
<${componentName$1b}
|
|
7758
7774
|
tabindex="-1"
|
|
7759
|
-
></${componentName$
|
|
7775
|
+
></${componentName$1b}>
|
|
7760
7776
|
`;
|
|
7761
7777
|
|
|
7762
7778
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
7763
7779
|
|
|
7764
7780
|
this.inputElement = this.shadowRoot.querySelector(
|
|
7765
|
-
componentName$
|
|
7781
|
+
componentName$1b,
|
|
7766
7782
|
);
|
|
7767
7783
|
|
|
7768
7784
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -7802,7 +7818,7 @@ const customMixin$d = (superclass) =>
|
|
|
7802
7818
|
}
|
|
7803
7819
|
};
|
|
7804
7820
|
|
|
7805
|
-
const { host: host$
|
|
7821
|
+
const { host: host$u } = {
|
|
7806
7822
|
host: { selector: () => ':host' },
|
|
7807
7823
|
};
|
|
7808
7824
|
|
|
@@ -7812,9 +7828,9 @@ const AutocompleteFieldClass = compose(
|
|
|
7812
7828
|
}),
|
|
7813
7829
|
createStyleMixin$1({
|
|
7814
7830
|
mappings: {
|
|
7815
|
-
hostWidth: { ...host$
|
|
7816
|
-
hostDirection: { ...host$
|
|
7817
|
-
fontSize: { ...host$
|
|
7831
|
+
hostWidth: { ...host$u, property: 'width' },
|
|
7832
|
+
hostDirection: { ...host$u, property: 'direction' },
|
|
7833
|
+
fontSize: { ...host$u },
|
|
7818
7834
|
checkmarkDisplay: {
|
|
7819
7835
|
selector: ComboBoxClass.componentName,
|
|
7820
7836
|
property: ComboBoxClass.cssVarList.overlayCheckmarkDisplay,
|
|
@@ -7881,34 +7897,34 @@ const AutocompleteFieldClass = compose(
|
|
|
7881
7897
|
}
|
|
7882
7898
|
`,
|
|
7883
7899
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
7884
|
-
componentName: componentName$
|
|
7900
|
+
componentName: componentName$1a,
|
|
7885
7901
|
}),
|
|
7886
7902
|
);
|
|
7887
7903
|
|
|
7888
|
-
const vars$
|
|
7889
|
-
const globalRefs$
|
|
7904
|
+
const vars$Y = AutocompleteFieldClass.cssVarList;
|
|
7905
|
+
const globalRefs$x = getThemeRefs$1(globals);
|
|
7890
7906
|
|
|
7891
7907
|
const autocompleteField = {
|
|
7892
|
-
[vars$
|
|
7893
|
-
[vars$
|
|
7894
|
-
[vars$
|
|
7895
|
-
[vars$
|
|
7896
|
-
[vars$
|
|
7897
|
-
[vars$
|
|
7898
|
-
[vars$
|
|
7899
|
-
[vars$
|
|
7900
|
-
[vars$
|
|
7901
|
-
[vars$
|
|
7908
|
+
[vars$Y.hostWidth]: refs$1.width,
|
|
7909
|
+
[vars$Y.hostDirection]: refs$1.direction,
|
|
7910
|
+
[vars$Y.fontSize]: refs$1.fontSize,
|
|
7911
|
+
[vars$Y.checkmarkDisplay]: 'none',
|
|
7912
|
+
[vars$Y.itemPaddingInlineStart]: globalRefs$x.spacing.lg,
|
|
7913
|
+
[vars$Y.itemPaddingInlineEnd]: globalRefs$x.spacing.lg,
|
|
7914
|
+
[vars$Y.selectedItemBackground]: globalRefs$x.colors.primary.light,
|
|
7915
|
+
[vars$Y.selectedItemHoverBackground]: globalRefs$x.colors.primary.light,
|
|
7916
|
+
[vars$Y.selectedItemFocusBackground]: globalRefs$x.colors.primary.light,
|
|
7917
|
+
[vars$Y.itemHoverBackground]: globalRefs$x.colors.primary.highlight,
|
|
7902
7918
|
|
|
7903
7919
|
_fullWidth: {
|
|
7904
|
-
[vars$
|
|
7920
|
+
[vars$Y.hostWidth]: '100%',
|
|
7905
7921
|
},
|
|
7906
7922
|
};
|
|
7907
7923
|
|
|
7908
7924
|
var autocompleteField$1 = /*#__PURE__*/Object.freeze({
|
|
7909
7925
|
__proto__: null,
|
|
7910
7926
|
default: autocompleteField,
|
|
7911
|
-
vars: vars$
|
|
7927
|
+
vars: vars$Y
|
|
7912
7928
|
});
|
|
7913
7929
|
|
|
7914
7930
|
const initGoogleMapsLoader = (apiKey) => {
|
|
@@ -8135,7 +8151,7 @@ class RadarConnector extends createBaseConnectorClass() {
|
|
|
8135
8151
|
}
|
|
8136
8152
|
}
|
|
8137
8153
|
|
|
8138
|
-
const componentName$
|
|
8154
|
+
const componentName$19 = getComponentName('address-field-internal');
|
|
8139
8155
|
|
|
8140
8156
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
8141
8157
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -8146,7 +8162,7 @@ const CONNECTOR_CLASSES = {
|
|
|
8146
8162
|
};
|
|
8147
8163
|
|
|
8148
8164
|
const BaseInputClass$7 = createBaseInputClass$1({
|
|
8149
|
-
componentName: componentName$
|
|
8165
|
+
componentName: componentName$19,
|
|
8150
8166
|
baseSelector: '',
|
|
8151
8167
|
});
|
|
8152
8168
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -8253,7 +8269,7 @@ compose(
|
|
|
8253
8269
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
8254
8270
|
)(RawAddressFieldInternal);
|
|
8255
8271
|
|
|
8256
|
-
const componentName$
|
|
8272
|
+
const componentName$18 = getComponentName('address-field');
|
|
8257
8273
|
|
|
8258
8274
|
const customMixin$c = (superclass) =>
|
|
8259
8275
|
class AddressFieldMixinClass extends superclass {
|
|
@@ -8282,15 +8298,15 @@ const customMixin$c = (superclass) =>
|
|
|
8282
8298
|
const template = document.createElement('template');
|
|
8283
8299
|
|
|
8284
8300
|
template.innerHTML = `
|
|
8285
|
-
<${componentName$
|
|
8301
|
+
<${componentName$19}
|
|
8286
8302
|
tabindex="-1"
|
|
8287
|
-
></${componentName$
|
|
8303
|
+
></${componentName$19}>
|
|
8288
8304
|
`;
|
|
8289
8305
|
|
|
8290
8306
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
8291
8307
|
|
|
8292
8308
|
this.inputElement = this.shadowRoot.querySelector(
|
|
8293
|
-
componentName$
|
|
8309
|
+
componentName$19,
|
|
8294
8310
|
);
|
|
8295
8311
|
|
|
8296
8312
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -8331,7 +8347,7 @@ const customMixin$c = (superclass) =>
|
|
|
8331
8347
|
}
|
|
8332
8348
|
};
|
|
8333
8349
|
|
|
8334
|
-
const { host: host$
|
|
8350
|
+
const { host: host$t } = {
|
|
8335
8351
|
host: { selector: () => ':host' },
|
|
8336
8352
|
};
|
|
8337
8353
|
|
|
@@ -8341,8 +8357,8 @@ const AddressFieldClass = compose(
|
|
|
8341
8357
|
}),
|
|
8342
8358
|
createStyleMixin$1({
|
|
8343
8359
|
mappings: {
|
|
8344
|
-
hostWidth: { ...host$
|
|
8345
|
-
hostDirection: { ...host$
|
|
8360
|
+
hostWidth: { ...host$t, property: 'width' },
|
|
8361
|
+
hostDirection: { ...host$t, property: 'direction' },
|
|
8346
8362
|
},
|
|
8347
8363
|
}),
|
|
8348
8364
|
draggableMixin$1,
|
|
@@ -8368,7 +8384,7 @@ const AddressFieldClass = compose(
|
|
|
8368
8384
|
width: 100%;
|
|
8369
8385
|
}
|
|
8370
8386
|
|
|
8371
|
-
${componentName$
|
|
8387
|
+
${componentName$19} {
|
|
8372
8388
|
display: inline-block;
|
|
8373
8389
|
box-sizing: border-box;
|
|
8374
8390
|
user-select: none;
|
|
@@ -8376,30 +8392,30 @@ const AddressFieldClass = compose(
|
|
|
8376
8392
|
max-width: 100%;
|
|
8377
8393
|
}
|
|
8378
8394
|
|
|
8379
|
-
${componentName$
|
|
8395
|
+
${componentName$19} ::slotted {
|
|
8380
8396
|
padding: 0;
|
|
8381
8397
|
}
|
|
8382
8398
|
`,
|
|
8383
8399
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
8384
|
-
componentName: componentName$
|
|
8400
|
+
componentName: componentName$18,
|
|
8385
8401
|
}),
|
|
8386
8402
|
);
|
|
8387
8403
|
|
|
8388
|
-
const vars$
|
|
8404
|
+
const vars$X = AddressFieldClass.cssVarList;
|
|
8389
8405
|
|
|
8390
8406
|
const addressField = {
|
|
8391
|
-
[vars$
|
|
8392
|
-
[vars$
|
|
8407
|
+
[vars$X.hostWidth]: refs$1.width,
|
|
8408
|
+
[vars$X.hostDirection]: refs$1.direction,
|
|
8393
8409
|
|
|
8394
8410
|
_fullWidth: {
|
|
8395
|
-
[vars$
|
|
8411
|
+
[vars$X.hostWidth]: '100%',
|
|
8396
8412
|
},
|
|
8397
8413
|
};
|
|
8398
8414
|
|
|
8399
8415
|
var addressField$1 = /*#__PURE__*/Object.freeze({
|
|
8400
8416
|
__proto__: null,
|
|
8401
8417
|
default: addressField,
|
|
8402
|
-
vars: vars$
|
|
8418
|
+
vars: vars$X
|
|
8403
8419
|
});
|
|
8404
8420
|
|
|
8405
8421
|
var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
|
|
@@ -8421,24 +8437,24 @@ const formatTime = (ms = 0) => {
|
|
|
8421
8437
|
return timeParts.join(':');
|
|
8422
8438
|
};
|
|
8423
8439
|
|
|
8424
|
-
const componentName$
|
|
8440
|
+
const componentName$17 = getComponentName('timer');
|
|
8425
8441
|
|
|
8426
8442
|
const observedAttributes$5 = ['seconds', 'hide-icon', 'paused'];
|
|
8427
8443
|
|
|
8428
|
-
const BaseClass$
|
|
8429
|
-
componentName: componentName$
|
|
8444
|
+
const BaseClass$8 = createBaseClass$1({
|
|
8445
|
+
componentName: componentName$17,
|
|
8430
8446
|
baseSelector: ':host > .wrapper',
|
|
8431
8447
|
});
|
|
8432
8448
|
|
|
8433
8449
|
const DEFAULT_INTERVAL = 1000;
|
|
8434
8450
|
|
|
8435
|
-
class RawTimer extends BaseClass$
|
|
8451
|
+
class RawTimer extends BaseClass$8 {
|
|
8436
8452
|
#timeRemains = 0;
|
|
8437
8453
|
|
|
8438
8454
|
#intervalId;
|
|
8439
8455
|
|
|
8440
8456
|
static get observedAttributes() {
|
|
8441
|
-
return observedAttributes$5.concat(BaseClass$
|
|
8457
|
+
return observedAttributes$5.concat(BaseClass$8.observedAttributes || []);
|
|
8442
8458
|
}
|
|
8443
8459
|
|
|
8444
8460
|
constructor() {
|
|
@@ -8579,7 +8595,7 @@ class RawTimer extends BaseClass$7 {
|
|
|
8579
8595
|
}
|
|
8580
8596
|
}
|
|
8581
8597
|
|
|
8582
|
-
const { host: host$
|
|
8598
|
+
const { host: host$s, icon: icon$2, timer: timer$2 } = {
|
|
8583
8599
|
host: { selector: () => ':host' },
|
|
8584
8600
|
icon: { selector: () => '.icon' },
|
|
8585
8601
|
timer: { selector: () => '.timer' },
|
|
@@ -8600,8 +8616,8 @@ const TimerClass = compose(
|
|
|
8600
8616
|
textColor: { ...timer$2, property: 'color' },
|
|
8601
8617
|
gap: {},
|
|
8602
8618
|
textAlign: { property: 'justify-content' },
|
|
8603
|
-
hostWidth: { ...host$
|
|
8604
|
-
hostDirection: { ...host$
|
|
8619
|
+
hostWidth: { ...host$s, property: 'width' },
|
|
8620
|
+
hostDirection: { ...host$s, property: 'direction' },
|
|
8605
8621
|
iconColor: { ...icon$2, property: IconClass.cssVarList.fill },
|
|
8606
8622
|
},
|
|
8607
8623
|
}),
|
|
@@ -8609,45 +8625,45 @@ const TimerClass = compose(
|
|
|
8609
8625
|
componentNameValidationMixin$1,
|
|
8610
8626
|
)(RawTimer);
|
|
8611
8627
|
|
|
8612
|
-
const globalRefs$
|
|
8613
|
-
const vars$
|
|
8628
|
+
const globalRefs$w = getThemeRefs$1(globals);
|
|
8629
|
+
const vars$W = TimerClass.cssVarList;
|
|
8614
8630
|
|
|
8615
8631
|
const timer = {
|
|
8616
|
-
[vars$
|
|
8617
|
-
[vars$
|
|
8618
|
-
[vars$
|
|
8619
|
-
[vars$
|
|
8620
|
-
[vars$
|
|
8621
|
-
[vars$
|
|
8622
|
-
[vars$
|
|
8623
|
-
[vars$
|
|
8624
|
-
[vars$
|
|
8632
|
+
[vars$W.hostDirection]: globalRefs$w.direction,
|
|
8633
|
+
[vars$W.gap]: '0.25em',
|
|
8634
|
+
[vars$W.fontFamily]: globalRefs$w.fonts.font1.family,
|
|
8635
|
+
[vars$W.minHeight]: '1.5em',
|
|
8636
|
+
[vars$W.lineHeight]: '1em',
|
|
8637
|
+
[vars$W.fontWeight]: globalRefs$w.fonts.font1.fontWeight,
|
|
8638
|
+
[vars$W.textColor]: globalRefs$w.colors.surface.contrast,
|
|
8639
|
+
[vars$W.iconColor]: globalRefs$w.colors.surface.contrast,
|
|
8640
|
+
[vars$W.iconSize]: '1em',
|
|
8625
8641
|
|
|
8626
8642
|
size: {
|
|
8627
|
-
xs: { [vars$
|
|
8628
|
-
sm: { [vars$
|
|
8629
|
-
md: { [vars$
|
|
8630
|
-
lg: { [vars$
|
|
8643
|
+
xs: { [vars$W.fontSize]: '12px' },
|
|
8644
|
+
sm: { [vars$W.fontSize]: '14px' },
|
|
8645
|
+
md: { [vars$W.fontSize]: '16px' },
|
|
8646
|
+
lg: { [vars$W.fontSize]: '18px' },
|
|
8631
8647
|
},
|
|
8632
8648
|
|
|
8633
8649
|
textAlign: {
|
|
8634
|
-
right: { [vars$
|
|
8635
|
-
left: { [vars$
|
|
8636
|
-
center: { [vars$
|
|
8650
|
+
right: { [vars$W.textAlign]: 'right' },
|
|
8651
|
+
left: { [vars$W.textAlign]: 'left' },
|
|
8652
|
+
center: { [vars$W.textAlign]: 'center' },
|
|
8637
8653
|
},
|
|
8638
8654
|
|
|
8639
8655
|
_fullWidth: {
|
|
8640
|
-
[vars$
|
|
8656
|
+
[vars$W.hostWidth]: '100%',
|
|
8641
8657
|
},
|
|
8642
8658
|
};
|
|
8643
8659
|
|
|
8644
8660
|
var timer$1 = /*#__PURE__*/Object.freeze({
|
|
8645
8661
|
__proto__: null,
|
|
8646
8662
|
default: timer,
|
|
8647
|
-
vars: vars$
|
|
8663
|
+
vars: vars$W
|
|
8648
8664
|
});
|
|
8649
8665
|
|
|
8650
|
-
const componentName$
|
|
8666
|
+
const componentName$16 = getComponentName('timer-button');
|
|
8651
8667
|
|
|
8652
8668
|
const buttonAttrs = [
|
|
8653
8669
|
'button-variant',
|
|
@@ -8677,12 +8693,12 @@ const mapTimerAttrs = {
|
|
|
8677
8693
|
'timer-paused': 'paused',
|
|
8678
8694
|
};
|
|
8679
8695
|
|
|
8680
|
-
const BaseClass$
|
|
8681
|
-
componentName: componentName$
|
|
8696
|
+
const BaseClass$7 = createBaseClass$1({
|
|
8697
|
+
componentName: componentName$16,
|
|
8682
8698
|
baseSelector: ':host > div',
|
|
8683
8699
|
});
|
|
8684
8700
|
|
|
8685
|
-
class RawTimerButton extends BaseClass$
|
|
8701
|
+
class RawTimerButton extends BaseClass$7 {
|
|
8686
8702
|
constructor() {
|
|
8687
8703
|
super();
|
|
8688
8704
|
|
|
@@ -8830,7 +8846,7 @@ class RawTimerButton extends BaseClass$6 {
|
|
|
8830
8846
|
}
|
|
8831
8847
|
|
|
8832
8848
|
const {
|
|
8833
|
-
host: host$
|
|
8849
|
+
host: host$r,
|
|
8834
8850
|
nestedTimer,
|
|
8835
8851
|
nestedButton,
|
|
8836
8852
|
timerInsideNotReversed,
|
|
@@ -8855,8 +8871,8 @@ const TimerButtonClass = compose(
|
|
|
8855
8871
|
mappings: {
|
|
8856
8872
|
gap: {},
|
|
8857
8873
|
flexDirection: {},
|
|
8858
|
-
hostWidth: { ...host$
|
|
8859
|
-
hostDirection: { ...host$
|
|
8874
|
+
hostWidth: { ...host$r, property: 'width' },
|
|
8875
|
+
hostDirection: { ...host$r, property: 'direction' },
|
|
8860
8876
|
timerTextColor: {
|
|
8861
8877
|
...nestedTimer,
|
|
8862
8878
|
property: TimerClass.cssVarList.textColor,
|
|
@@ -8887,41 +8903,41 @@ const TimerButtonClass = compose(
|
|
|
8887
8903
|
componentNameValidationMixin$1,
|
|
8888
8904
|
)(RawTimerButton);
|
|
8889
8905
|
|
|
8890
|
-
const globalRefs$
|
|
8891
|
-
const vars$
|
|
8906
|
+
const globalRefs$v = getThemeRefs$1(globals);
|
|
8907
|
+
const vars$V = TimerButtonClass.cssVarList;
|
|
8892
8908
|
|
|
8893
8909
|
const timerButton = {
|
|
8894
|
-
[vars$
|
|
8895
|
-
[vars$
|
|
8910
|
+
[vars$V.gap]: globalRefs$v.spacing.sm,
|
|
8911
|
+
[vars$V.flexDirection]: 'column',
|
|
8896
8912
|
|
|
8897
8913
|
_horizontal: {
|
|
8898
|
-
[vars$
|
|
8914
|
+
[vars$V.flexDirection]: 'row',
|
|
8899
8915
|
timerPosition: {
|
|
8900
8916
|
end: {
|
|
8901
|
-
[vars$
|
|
8917
|
+
[vars$V.flexDirection]: 'row-reverse',
|
|
8902
8918
|
},
|
|
8903
8919
|
},
|
|
8904
8920
|
},
|
|
8905
8921
|
|
|
8906
8922
|
timerPosition: {
|
|
8907
8923
|
end: {
|
|
8908
|
-
[vars$
|
|
8924
|
+
[vars$V.flexDirection]: 'column-reverse',
|
|
8909
8925
|
},
|
|
8910
8926
|
},
|
|
8911
8927
|
|
|
8912
8928
|
_fullWidth: {
|
|
8913
|
-
[vars$
|
|
8929
|
+
[vars$V.hostWidth]: '100%',
|
|
8914
8930
|
},
|
|
8915
8931
|
|
|
8916
8932
|
_timerInside: {
|
|
8917
|
-
[vars$
|
|
8918
|
-
[vars$
|
|
8919
|
-
[vars$
|
|
8920
|
-
[vars$
|
|
8921
|
-
[vars$
|
|
8933
|
+
[vars$V.timerTextColor]: 'currentColor',
|
|
8934
|
+
[vars$V.timerIconColor]: 'currentColor',
|
|
8935
|
+
[vars$V.timerHostWidth]: 'auto',
|
|
8936
|
+
[vars$V.buttonLabelSpacing]: '0',
|
|
8937
|
+
[vars$V.timerInsideGapEnd]: `var(${vars$V.gap})`,
|
|
8922
8938
|
timerPosition: {
|
|
8923
8939
|
end: {
|
|
8924
|
-
[vars$
|
|
8940
|
+
[vars$V.timerInsideGapStart]: `var(${vars$V.gap})`,
|
|
8925
8941
|
},
|
|
8926
8942
|
},
|
|
8927
8943
|
},
|
|
@@ -8930,12 +8946,12 @@ const timerButton = {
|
|
|
8930
8946
|
var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
8931
8947
|
__proto__: null,
|
|
8932
8948
|
default: timerButton,
|
|
8933
|
-
vars: vars$
|
|
8949
|
+
vars: vars$V
|
|
8934
8950
|
});
|
|
8935
8951
|
|
|
8936
|
-
const componentName$
|
|
8952
|
+
const componentName$15 = getComponentName('password-strength');
|
|
8937
8953
|
class RawPasswordStrength extends createBaseClass$1({
|
|
8938
|
-
componentName: componentName$
|
|
8954
|
+
componentName: componentName$15,
|
|
8939
8955
|
baseSelector: ':host > .wrapper',
|
|
8940
8956
|
}) {
|
|
8941
8957
|
static get observedAttributes() {
|
|
@@ -9049,7 +9065,7 @@ class RawPasswordStrength extends createBaseClass$1({
|
|
|
9049
9065
|
}
|
|
9050
9066
|
}
|
|
9051
9067
|
|
|
9052
|
-
const { host: host$
|
|
9068
|
+
const { host: host$q, bar, filledBar, barsContainer, text: text$1 } = {
|
|
9053
9069
|
host: { selector: () => ':host' },
|
|
9054
9070
|
bar: { selector: ' .bar' },
|
|
9055
9071
|
barsContainer: { selector: ' .bars-container' },
|
|
@@ -9062,11 +9078,11 @@ const PasswordStrengthClass = compose(
|
|
|
9062
9078
|
createStyleMixin$1({
|
|
9063
9079
|
mappings: {
|
|
9064
9080
|
hostWidth: [
|
|
9065
|
-
{ ...host$
|
|
9066
|
-
{ ...host$
|
|
9081
|
+
{ ...host$q, property: 'width' },
|
|
9082
|
+
{ ...host$q, property: 'min-width' },
|
|
9067
9083
|
],
|
|
9068
|
-
hostDirection: { ...host$
|
|
9069
|
-
hostMinWidth: { ...host$
|
|
9084
|
+
hostDirection: { ...host$q, property: 'direction' },
|
|
9085
|
+
hostMinWidth: { ...host$q, property: 'min-width' },
|
|
9070
9086
|
barHeight: { ...bar, property: 'height' },
|
|
9071
9087
|
barBorderRadius: { ...bar, property: 'border-radius' },
|
|
9072
9088
|
emptyBarColor: { ...bar, property: 'background-color' },
|
|
@@ -9084,64 +9100,64 @@ const PasswordStrengthClass = compose(
|
|
|
9084
9100
|
componentNameValidationMixin$1,
|
|
9085
9101
|
)(RawPasswordStrength);
|
|
9086
9102
|
|
|
9087
|
-
const globalRefs$
|
|
9103
|
+
const globalRefs$u = getThemeRefs$1(globals);
|
|
9088
9104
|
const compVars$6 = PasswordStrengthClass.cssVarList;
|
|
9089
9105
|
|
|
9090
9106
|
const passwordStrength = {
|
|
9091
|
-
[compVars$6.hostDirection]: globalRefs$
|
|
9107
|
+
[compVars$6.hostDirection]: globalRefs$u.direction,
|
|
9092
9108
|
[compVars$6.barHeight]: '4px',
|
|
9093
9109
|
[compVars$6.barTransition]: 'background-color 0.3s',
|
|
9094
|
-
[compVars$6.barBorderRadius]: globalRefs$
|
|
9110
|
+
[compVars$6.barBorderRadius]: globalRefs$u.radius.sm,
|
|
9095
9111
|
[compVars$6.hostMinWidth]: refs$1.minWidth,
|
|
9096
|
-
[compVars$6.barSpacing]: globalRefs$
|
|
9097
|
-
[compVars$6.emptyBarColor]: globalRefs$
|
|
9112
|
+
[compVars$6.barSpacing]: globalRefs$u.spacing.sm,
|
|
9113
|
+
[compVars$6.emptyBarColor]: globalRefs$u.colors.surface.light,
|
|
9098
9114
|
[compVars$6.fontFamily]: refs$1.fontFamily,
|
|
9099
9115
|
[compVars$6.fontSize]: refs$1.labelFontSize,
|
|
9100
9116
|
[compVars$6.fontWeight]: refs$1.labelFontWeight,
|
|
9101
|
-
[compVars$6.spacing]: globalRefs$
|
|
9117
|
+
[compVars$6.spacing]: globalRefs$u.spacing.sm,
|
|
9102
9118
|
_fullWidth: {
|
|
9103
9119
|
[compVars$6.hostWidth]: '100%',
|
|
9104
9120
|
},
|
|
9105
9121
|
score : {
|
|
9106
9122
|
0: {
|
|
9107
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
9108
|
-
[compVars$6.textColor]: globalRefs$
|
|
9123
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.light,
|
|
9124
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.light,
|
|
9109
9125
|
},
|
|
9110
9126
|
1: {
|
|
9111
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
9112
|
-
[compVars$6.textColor]: globalRefs$
|
|
9127
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.main,
|
|
9128
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.main,
|
|
9113
9129
|
},
|
|
9114
9130
|
2: {
|
|
9115
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
9116
|
-
[compVars$6.textColor]: globalRefs$
|
|
9131
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.dark,
|
|
9132
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.dark,
|
|
9117
9133
|
},
|
|
9118
9134
|
3: {
|
|
9119
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
9120
|
-
[compVars$6.textColor]: globalRefs$
|
|
9135
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.success.dark,
|
|
9136
|
+
[compVars$6.textColor]: globalRefs$u.colors.success.dark,
|
|
9121
9137
|
},
|
|
9122
9138
|
4: {
|
|
9123
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
9124
|
-
[compVars$6.textColor]: globalRefs$
|
|
9139
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.success.main,
|
|
9140
|
+
[compVars$6.textColor]: globalRefs$u.colors.success.main,
|
|
9125
9141
|
},
|
|
9126
9142
|
}
|
|
9127
9143
|
};
|
|
9128
9144
|
|
|
9129
|
-
const vars$
|
|
9145
|
+
const vars$U = {
|
|
9130
9146
|
...compVars$6,
|
|
9131
9147
|
};
|
|
9132
9148
|
|
|
9133
9149
|
var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
9134
9150
|
__proto__: null,
|
|
9135
9151
|
default: passwordStrength,
|
|
9136
|
-
vars: vars$
|
|
9152
|
+
vars: vars$U
|
|
9137
9153
|
});
|
|
9138
9154
|
|
|
9139
9155
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
|
|
9140
9156
|
|
|
9141
|
-
const componentName$
|
|
9157
|
+
const componentName$14 = getComponentName('collapsible-container');
|
|
9142
9158
|
|
|
9143
9159
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
9144
|
-
componentName: componentName$
|
|
9160
|
+
componentName: componentName$14,
|
|
9145
9161
|
baseSelector: 'slot',
|
|
9146
9162
|
}) {
|
|
9147
9163
|
static get observedAttributes() {
|
|
@@ -9368,7 +9384,7 @@ const CollapsibleContainerClass = compose(
|
|
|
9368
9384
|
componentNameValidationMixin$1,
|
|
9369
9385
|
)(RawCollapsibleContainer);
|
|
9370
9386
|
|
|
9371
|
-
const globalRefs$
|
|
9387
|
+
const globalRefs$t = getThemeRefs$1(globals);
|
|
9372
9388
|
|
|
9373
9389
|
const compVars$5 = CollapsibleContainerClass.cssVarList;
|
|
9374
9390
|
|
|
@@ -9376,7 +9392,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars$1(
|
|
|
9376
9392
|
{
|
|
9377
9393
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
9378
9394
|
},
|
|
9379
|
-
componentName$
|
|
9395
|
+
componentName$14
|
|
9380
9396
|
);
|
|
9381
9397
|
|
|
9382
9398
|
const { shadowColor: shadowColor$5 } = helperRefs$4;
|
|
@@ -9387,7 +9403,7 @@ const collapsibleContainer = {
|
|
|
9387
9403
|
[compVars$5.hostWidth]: '100%',
|
|
9388
9404
|
[compVars$5.boxShadow]: 'none',
|
|
9389
9405
|
|
|
9390
|
-
[compVars$5.backgroundColor]: globalRefs$
|
|
9406
|
+
[compVars$5.backgroundColor]: globalRefs$t.colors.surface.main,
|
|
9391
9407
|
|
|
9392
9408
|
[compVars$5.backgroundImage]: '', // we need to set a value to avoid inner containers from inheriting the parent's background image
|
|
9393
9409
|
[compVars$5.backgroundPositionX]: 'center',
|
|
@@ -9396,13 +9412,13 @@ const collapsibleContainer = {
|
|
|
9396
9412
|
[compVars$5.backgroundRepeat]: 'no-repeat',
|
|
9397
9413
|
|
|
9398
9414
|
[compVars$5.borderRadius]: '0px',
|
|
9399
|
-
[compVars$5.hostDirection]: globalRefs$
|
|
9415
|
+
[compVars$5.hostDirection]: globalRefs$t.direction,
|
|
9400
9416
|
|
|
9401
9417
|
[compVars$5.flexDirection]: 'column',
|
|
9402
9418
|
[compVars$5.alignItems]: 'flex-start',
|
|
9403
9419
|
[compVars$5.justifyContent]: 'flex-start',
|
|
9404
9420
|
|
|
9405
|
-
[compVars$5.headerGap]: globalRefs$
|
|
9421
|
+
[compVars$5.headerGap]: globalRefs$t.spacing.md,
|
|
9406
9422
|
|
|
9407
9423
|
[compVars$5.iconAnimationDuration]: '0.1s',
|
|
9408
9424
|
[compVars$5.contentAnimationDuration]: '0.1s',
|
|
@@ -9430,30 +9446,30 @@ const collapsibleContainer = {
|
|
|
9430
9446
|
|
|
9431
9447
|
shadow: {
|
|
9432
9448
|
sm: {
|
|
9433
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
9449
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.sm} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.sm} ${shadowColor$5}`,
|
|
9434
9450
|
},
|
|
9435
9451
|
md: {
|
|
9436
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
9452
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.md} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.md} ${shadowColor$5}`,
|
|
9437
9453
|
},
|
|
9438
9454
|
lg: {
|
|
9439
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
9455
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.lg} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.lg} ${shadowColor$5}`,
|
|
9440
9456
|
},
|
|
9441
9457
|
xl: {
|
|
9442
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
9458
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.xl} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.xl} ${shadowColor$5}`,
|
|
9443
9459
|
},
|
|
9444
9460
|
'2xl': {
|
|
9445
9461
|
[helperVars$4.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
|
9446
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
9462
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide['2xl']} ${shadowColor$5}`,
|
|
9447
9463
|
},
|
|
9448
9464
|
},
|
|
9449
9465
|
|
|
9450
9466
|
borderRadius: {
|
|
9451
|
-
sm: { [compVars$5.borderRadius]: globalRefs$
|
|
9452
|
-
md: { [compVars$5.borderRadius]: globalRefs$
|
|
9453
|
-
lg: { [compVars$5.borderRadius]: globalRefs$
|
|
9454
|
-
xl: { [compVars$5.borderRadius]: globalRefs$
|
|
9455
|
-
'2xl': { [compVars$5.borderRadius]: globalRefs$
|
|
9456
|
-
'3xl': { [compVars$5.borderRadius]: globalRefs$
|
|
9467
|
+
sm: { [compVars$5.borderRadius]: globalRefs$t.radius.sm },
|
|
9468
|
+
md: { [compVars$5.borderRadius]: globalRefs$t.radius.md },
|
|
9469
|
+
lg: { [compVars$5.borderRadius]: globalRefs$t.radius.lg },
|
|
9470
|
+
xl: { [compVars$5.borderRadius]: globalRefs$t.radius.xl },
|
|
9471
|
+
'2xl': { [compVars$5.borderRadius]: globalRefs$t.radius['2xl'] },
|
|
9472
|
+
'3xl': { [compVars$5.borderRadius]: globalRefs$t.radius['3xl'] },
|
|
9457
9473
|
},
|
|
9458
9474
|
|
|
9459
9475
|
iconPosition: {
|
|
@@ -9466,8 +9482,8 @@ const collapsibleContainer = {
|
|
|
9466
9482
|
},
|
|
9467
9483
|
|
|
9468
9484
|
_border: {
|
|
9469
|
-
[compVars$5.borderColor]: globalRefs$
|
|
9470
|
-
[compVars$5.borderWidth]: globalRefs$
|
|
9485
|
+
[compVars$5.borderColor]: globalRefs$t.colors.surface.light,
|
|
9486
|
+
[compVars$5.borderWidth]: globalRefs$t.border.xs,
|
|
9471
9487
|
[compVars$5.borderStyle]: 'solid',
|
|
9472
9488
|
},
|
|
9473
9489
|
|
|
@@ -9476,7 +9492,7 @@ const collapsibleContainer = {
|
|
|
9476
9492
|
}
|
|
9477
9493
|
};
|
|
9478
9494
|
|
|
9479
|
-
const vars$
|
|
9495
|
+
const vars$T = {
|
|
9480
9496
|
...compVars$5,
|
|
9481
9497
|
...helperVars$4,
|
|
9482
9498
|
};
|
|
@@ -9484,12 +9500,12 @@ const vars$S = {
|
|
|
9484
9500
|
var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
9485
9501
|
__proto__: null,
|
|
9486
9502
|
default: collapsibleContainer,
|
|
9487
|
-
vars: vars$
|
|
9503
|
+
vars: vars$T
|
|
9488
9504
|
});
|
|
9489
9505
|
|
|
9490
|
-
const componentName$
|
|
9506
|
+
const componentName$13 = getComponentName('recovery-codes');
|
|
9491
9507
|
|
|
9492
|
-
const itemRenderer$
|
|
9508
|
+
const itemRenderer$5 = ({ value }, _, ref) => {
|
|
9493
9509
|
return `
|
|
9494
9510
|
<descope-text variant="${ref.variant}" mode="${ref.mode}">
|
|
9495
9511
|
<span>${value}</span>
|
|
@@ -9498,7 +9514,7 @@ const itemRenderer$4 = ({ value }, _, ref) => {
|
|
|
9498
9514
|
};
|
|
9499
9515
|
|
|
9500
9516
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
9501
|
-
componentName: componentName$
|
|
9517
|
+
componentName: componentName$13,
|
|
9502
9518
|
baseSelector: ':host > div',
|
|
9503
9519
|
}) {
|
|
9504
9520
|
static get observedAttributes() {
|
|
@@ -9629,7 +9645,7 @@ const RecoveryCodesClass = compose(
|
|
|
9629
9645
|
},
|
|
9630
9646
|
}),
|
|
9631
9647
|
createDynamicDataMixin$1({
|
|
9632
|
-
itemRenderer: itemRenderer$
|
|
9648
|
+
itemRenderer: itemRenderer$5,
|
|
9633
9649
|
rerenderAttrsList: ['variant', 'mode'],
|
|
9634
9650
|
targetSelector: '.list',
|
|
9635
9651
|
}),
|
|
@@ -9637,38 +9653,38 @@ const RecoveryCodesClass = compose(
|
|
|
9637
9653
|
componentNameValidationMixin$1,
|
|
9638
9654
|
)(RawRecoveryCodes);
|
|
9639
9655
|
|
|
9640
|
-
const globalRefs$
|
|
9641
|
-
const vars$
|
|
9656
|
+
const globalRefs$s = getThemeRefs$1(globals);
|
|
9657
|
+
const vars$S = RecoveryCodesClass.cssVarList;
|
|
9642
9658
|
const textVars$6 = TextClass.cssVarList;
|
|
9643
9659
|
|
|
9644
9660
|
const recoveryCodes = {
|
|
9645
|
-
[vars$
|
|
9646
|
-
[vars$
|
|
9647
|
-
[vars$
|
|
9648
|
-
[vars$
|
|
9649
|
-
[vars$
|
|
9650
|
-
[vars$
|
|
9661
|
+
[vars$S.hostMinWidth]: '190px',
|
|
9662
|
+
[vars$S.hostDirection]: globalRefs$s.direction,
|
|
9663
|
+
[vars$S.iconColor]: useVar$1(textVars$6.textColor),
|
|
9664
|
+
[vars$S.iconSize]: useVar$1(textVars$6.fontSize),
|
|
9665
|
+
[vars$S.iconGap]: '8px',
|
|
9666
|
+
[vars$S.bulletGap]: '0.35em',
|
|
9651
9667
|
|
|
9652
9668
|
textAlign: {
|
|
9653
|
-
right: { [vars$
|
|
9654
|
-
left: { [vars$
|
|
9655
|
-
center: { [vars$
|
|
9669
|
+
right: { [vars$S.textAlign]: 'flex-end' },
|
|
9670
|
+
left: { [vars$S.textAlign]: 'flex-start' },
|
|
9671
|
+
center: { [vars$S.textAlign]: 'center' },
|
|
9656
9672
|
},
|
|
9657
9673
|
|
|
9658
9674
|
_fullWidth: {
|
|
9659
|
-
[vars$
|
|
9675
|
+
[vars$S.hostWidth]: '100%',
|
|
9660
9676
|
},
|
|
9661
9677
|
};
|
|
9662
9678
|
|
|
9663
9679
|
var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
9664
9680
|
__proto__: null,
|
|
9665
9681
|
default: recoveryCodes,
|
|
9666
|
-
vars: vars$
|
|
9682
|
+
vars: vars$S
|
|
9667
9683
|
});
|
|
9668
9684
|
|
|
9669
|
-
const componentName$
|
|
9685
|
+
const componentName$12 = getComponentName('outbound-apps');
|
|
9670
9686
|
|
|
9671
|
-
const itemRenderer$
|
|
9687
|
+
const itemRenderer$4 = (
|
|
9672
9688
|
{ name, description, logo, appId, isConnected },
|
|
9673
9689
|
_,
|
|
9674
9690
|
ref,
|
|
@@ -9711,12 +9727,12 @@ const itemRenderer$3 = (
|
|
|
9711
9727
|
`;
|
|
9712
9728
|
};
|
|
9713
9729
|
|
|
9714
|
-
const BaseClass$
|
|
9715
|
-
componentName: componentName$
|
|
9730
|
+
const BaseClass$6 = createBaseClass$1({
|
|
9731
|
+
componentName: componentName$12,
|
|
9716
9732
|
baseSelector: 'descope-list',
|
|
9717
9733
|
});
|
|
9718
9734
|
|
|
9719
|
-
class RawOutboundAppsClass extends BaseClass$
|
|
9735
|
+
class RawOutboundAppsClass extends BaseClass$6 {
|
|
9720
9736
|
constructor() {
|
|
9721
9737
|
super();
|
|
9722
9738
|
|
|
@@ -9759,7 +9775,7 @@ class RawOutboundAppsClass extends BaseClass$5 {
|
|
|
9759
9775
|
init() {
|
|
9760
9776
|
super.init?.();
|
|
9761
9777
|
|
|
9762
|
-
this.appsList.itemRenderer = itemRenderer$
|
|
9778
|
+
this.appsList.itemRenderer = itemRenderer$4;
|
|
9763
9779
|
|
|
9764
9780
|
this.appsList.addEventListener('click', this.onAppsListClick.bind(this));
|
|
9765
9781
|
}
|
|
@@ -9796,17 +9812,17 @@ class RawOutboundAppsClass extends BaseClass$5 {
|
|
|
9796
9812
|
}
|
|
9797
9813
|
}
|
|
9798
9814
|
|
|
9799
|
-
const { host: host$
|
|
9815
|
+
const { host: host$p } = {
|
|
9800
9816
|
host: { selector: () => ':host' },
|
|
9801
9817
|
};
|
|
9802
9818
|
|
|
9803
9819
|
const OutboundAppsClass = compose(
|
|
9804
9820
|
createStyleMixin$1({
|
|
9805
9821
|
mappings: {
|
|
9806
|
-
hostWidth: { ...host$
|
|
9822
|
+
hostWidth: { ...host$p, property: 'width' },
|
|
9807
9823
|
minHeight: { selector: () => ':host' },
|
|
9808
9824
|
hostDirection: [
|
|
9809
|
-
{ ...host$
|
|
9825
|
+
{ ...host$p, property: 'direction' },
|
|
9810
9826
|
{
|
|
9811
9827
|
selector: 'descope-list',
|
|
9812
9828
|
property: 'direction',
|
|
@@ -9878,7 +9894,7 @@ const OutboundAppsClass = compose(
|
|
|
9878
9894
|
}),
|
|
9879
9895
|
draggableMixin$1,
|
|
9880
9896
|
createDynamicDataMixin$1({
|
|
9881
|
-
itemRenderer: itemRenderer$
|
|
9897
|
+
itemRenderer: itemRenderer$4,
|
|
9882
9898
|
rerenderAttrsList: [
|
|
9883
9899
|
'size',
|
|
9884
9900
|
'connect-button-label',
|
|
@@ -9888,36 +9904,36 @@ const OutboundAppsClass = compose(
|
|
|
9888
9904
|
componentNameValidationMixin$1,
|
|
9889
9905
|
)(RawOutboundAppsClass);
|
|
9890
9906
|
|
|
9891
|
-
const vars$
|
|
9907
|
+
const vars$R = OutboundAppsClass.cssVarList;
|
|
9892
9908
|
|
|
9893
9909
|
const outboundApps = {
|
|
9894
|
-
[vars$
|
|
9895
|
-
[vars$
|
|
9910
|
+
[vars$R.iconColor]: globals.colors.primary.main,
|
|
9911
|
+
[vars$R.errorIconColor]: globals.colors.error.main,
|
|
9896
9912
|
|
|
9897
|
-
[vars$
|
|
9898
|
-
[vars$
|
|
9913
|
+
[vars$R.appLogoGap]: globals.spacing.md,
|
|
9914
|
+
[vars$R.contentGap]: globals.spacing.xs,
|
|
9899
9915
|
|
|
9900
9916
|
// list-item overrides
|
|
9901
|
-
[vars$
|
|
9902
|
-
[vars$
|
|
9903
|
-
[vars$
|
|
9917
|
+
[vars$R.itemCursor]: 'default',
|
|
9918
|
+
[vars$R.itemOutline]: 'none',
|
|
9919
|
+
[vars$R.itemBorderColor]: 'transparent',
|
|
9904
9920
|
|
|
9905
|
-
[vars$
|
|
9906
|
-
[vars$
|
|
9907
|
-
[vars$
|
|
9921
|
+
[vars$R.listPadding]: '0',
|
|
9922
|
+
[vars$R.listBorderWidth]: '0',
|
|
9923
|
+
[vars$R.listBoxShadow]: 'none',
|
|
9908
9924
|
|
|
9909
9925
|
size: {
|
|
9910
9926
|
xs: {
|
|
9911
|
-
[vars$
|
|
9927
|
+
[vars$R.fontSize]: '0.6em',
|
|
9912
9928
|
},
|
|
9913
9929
|
sm: {
|
|
9914
|
-
[vars$
|
|
9930
|
+
[vars$R.fontSize]: '0.8em',
|
|
9915
9931
|
},
|
|
9916
9932
|
md: {
|
|
9917
|
-
[vars$
|
|
9933
|
+
[vars$R.fontSize]: '1em',
|
|
9918
9934
|
},
|
|
9919
9935
|
lg: {
|
|
9920
|
-
[vars$
|
|
9936
|
+
[vars$R.fontSize]: '1.5em',
|
|
9921
9937
|
},
|
|
9922
9938
|
},
|
|
9923
9939
|
};
|
|
@@ -9925,13 +9941,13 @@ const outboundApps = {
|
|
|
9925
9941
|
var outboundApps$1 = /*#__PURE__*/Object.freeze({
|
|
9926
9942
|
__proto__: null,
|
|
9927
9943
|
default: outboundApps,
|
|
9928
|
-
vars: vars$
|
|
9944
|
+
vars: vars$R
|
|
9929
9945
|
});
|
|
9930
9946
|
|
|
9931
|
-
const componentName$
|
|
9947
|
+
const componentName$11 = getComponentName('outbound-app-button');
|
|
9932
9948
|
|
|
9933
9949
|
class RawOutboundAppButton extends createBaseClass$1({
|
|
9934
|
-
componentName: componentName$
|
|
9950
|
+
componentName: componentName$11,
|
|
9935
9951
|
baseSelector: ':host > descope-button',
|
|
9936
9952
|
}) {
|
|
9937
9953
|
static get observedAttributes() {
|
|
@@ -10030,12 +10046,12 @@ const outboundAppButton = {
|
|
|
10030
10046
|
},
|
|
10031
10047
|
};
|
|
10032
10048
|
|
|
10033
|
-
const vars$
|
|
10049
|
+
const vars$Q = compVars$4;
|
|
10034
10050
|
|
|
10035
10051
|
var outboundAppButton$1 = /*#__PURE__*/Object.freeze({
|
|
10036
10052
|
__proto__: null,
|
|
10037
10053
|
default: outboundAppButton,
|
|
10038
|
-
vars: vars$
|
|
10054
|
+
vars: vars$Q
|
|
10039
10055
|
});
|
|
10040
10056
|
|
|
10041
10057
|
var desktopDeviceIconLight = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
|
|
@@ -10113,9 +10129,9 @@ const getDeviceIcon = (deviceType) => {
|
|
|
10113
10129
|
};
|
|
10114
10130
|
};
|
|
10115
10131
|
|
|
10116
|
-
const componentName
|
|
10132
|
+
const componentName$10 = getComponentName('trusted-devices');
|
|
10117
10133
|
|
|
10118
|
-
const itemRenderer$
|
|
10134
|
+
const itemRenderer$3 = (
|
|
10119
10135
|
{ id, name, lastLoginDate, deviceType, isCurrent },
|
|
10120
10136
|
_,
|
|
10121
10137
|
ref,
|
|
@@ -10201,12 +10217,12 @@ const itemRenderer$2 = (
|
|
|
10201
10217
|
return template;
|
|
10202
10218
|
};
|
|
10203
10219
|
|
|
10204
|
-
const BaseClass$
|
|
10205
|
-
componentName: componentName
|
|
10220
|
+
const BaseClass$5 = createBaseClass$1({
|
|
10221
|
+
componentName: componentName$10,
|
|
10206
10222
|
baseSelector: ListClass.componentName,
|
|
10207
10223
|
});
|
|
10208
10224
|
|
|
10209
|
-
class RawTrustedDevicesClass extends BaseClass$
|
|
10225
|
+
class RawTrustedDevicesClass extends BaseClass$5 {
|
|
10210
10226
|
constructor() {
|
|
10211
10227
|
super();
|
|
10212
10228
|
|
|
@@ -10301,7 +10317,7 @@ class RawTrustedDevicesClass extends BaseClass$4 {
|
|
|
10301
10317
|
init() {
|
|
10302
10318
|
super.init?.();
|
|
10303
10319
|
|
|
10304
|
-
this.appsList.itemRenderer = itemRenderer$
|
|
10320
|
+
this.appsList.itemRenderer = itemRenderer$3;
|
|
10305
10321
|
|
|
10306
10322
|
this.appsList.addEventListener('click', this.onRemoveClick.bind(this));
|
|
10307
10323
|
}
|
|
@@ -10351,17 +10367,17 @@ class RawTrustedDevicesClass extends BaseClass$4 {
|
|
|
10351
10367
|
}
|
|
10352
10368
|
}
|
|
10353
10369
|
|
|
10354
|
-
const { host: host$
|
|
10370
|
+
const { host: host$o } = {
|
|
10355
10371
|
host: { selector: () => ':host' },
|
|
10356
10372
|
};
|
|
10357
10373
|
|
|
10358
10374
|
const TrustedDevicesClass = compose(
|
|
10359
10375
|
createStyleMixin$1({
|
|
10360
10376
|
mappings: {
|
|
10361
|
-
hostWidth: { ...host$
|
|
10362
|
-
hostMinWidth: { ...host$
|
|
10377
|
+
hostWidth: { ...host$o, property: 'width' },
|
|
10378
|
+
hostMinWidth: { ...host$o, property: 'min-width' },
|
|
10363
10379
|
hostDirection: [
|
|
10364
|
-
{ ...host$
|
|
10380
|
+
{ ...host$o, property: 'direction' },
|
|
10365
10381
|
{
|
|
10366
10382
|
selector: () => 'descope-list-item',
|
|
10367
10383
|
property: 'direction',
|
|
@@ -10479,7 +10495,7 @@ const TrustedDevicesClass = compose(
|
|
|
10479
10495
|
}),
|
|
10480
10496
|
draggableMixin$1,
|
|
10481
10497
|
createDynamicDataMixin$1({
|
|
10482
|
-
itemRenderer: itemRenderer$
|
|
10498
|
+
itemRenderer: itemRenderer$3,
|
|
10483
10499
|
sortFn: sortFn$1,
|
|
10484
10500
|
rerenderAttrsList: [
|
|
10485
10501
|
'remove-device-label',
|
|
@@ -10492,78 +10508,629 @@ const TrustedDevicesClass = compose(
|
|
|
10492
10508
|
componentNameValidationMixin$1,
|
|
10493
10509
|
)(RawTrustedDevicesClass);
|
|
10494
10510
|
|
|
10495
|
-
const vars$
|
|
10511
|
+
const vars$P = TrustedDevicesClass.cssVarList;
|
|
10496
10512
|
|
|
10497
10513
|
const TrustedDevices = {
|
|
10498
|
-
[vars$
|
|
10499
|
-
[vars$
|
|
10500
|
-
[vars$
|
|
10501
|
-
|
|
10502
|
-
[vars$
|
|
10503
|
-
[vars$
|
|
10504
|
-
[vars$
|
|
10505
|
-
[vars$
|
|
10506
|
-
[vars$
|
|
10507
|
-
[vars$
|
|
10508
|
-
|
|
10509
|
-
[vars$
|
|
10510
|
-
[vars$
|
|
10511
|
-
[vars$
|
|
10512
|
-
[vars$
|
|
10513
|
-
[vars$
|
|
10514
|
-
[vars$
|
|
10515
|
-
[vars$
|
|
10516
|
-
[vars$
|
|
10517
|
-
|
|
10518
|
-
[vars$
|
|
10519
|
-
[vars$
|
|
10520
|
-
[vars$
|
|
10521
|
-
[vars$
|
|
10522
|
-
|
|
10523
|
-
[vars$
|
|
10524
|
-
[vars$
|
|
10525
|
-
[vars$
|
|
10526
|
-
[vars$
|
|
10514
|
+
[vars$P.hostWidth]: 'auto',
|
|
10515
|
+
[vars$P.hostWidth]: '300px',
|
|
10516
|
+
[vars$P.hostMinWidth]: '300px',
|
|
10517
|
+
|
|
10518
|
+
[vars$P.listBackgroundColor]: 'transparent',
|
|
10519
|
+
[vars$P.listBorderRadius]: '0',
|
|
10520
|
+
[vars$P.listBorderWidth]: '0',
|
|
10521
|
+
[vars$P.listPadding]: '0',
|
|
10522
|
+
[vars$P.listBoxShadow]: 'none',
|
|
10523
|
+
[vars$P.listItemsGap]: globals.spacing.lg,
|
|
10524
|
+
|
|
10525
|
+
[vars$P.itemBorderColor]: globals.colors.surface.light,
|
|
10526
|
+
[vars$P.itemVerticalPadding]: globals.spacing.lg,
|
|
10527
|
+
[vars$P.itemHorizontalPadding]: globals.spacing.lg,
|
|
10528
|
+
[vars$P.itemBorderRadius]: globals.radius.xs,
|
|
10529
|
+
[vars$P.itemOutline]: 'transparent',
|
|
10530
|
+
[vars$P.itemBackgroundColor]: 'transparent',
|
|
10531
|
+
[vars$P.itemCursor]: 'default',
|
|
10532
|
+
[vars$P.itemContentGap]: globals.spacing.sm,
|
|
10533
|
+
|
|
10534
|
+
[vars$P.badgeBorderColor]: globals.colors.surface.light,
|
|
10535
|
+
[vars$P.badgeTextColor]: globals.colors.surface.dark,
|
|
10536
|
+
[vars$P.badgeBorderRadius]: globals.radius.xs,
|
|
10537
|
+
[vars$P.badgeBackgroundColor]: globals.colors.surface.main,
|
|
10538
|
+
|
|
10539
|
+
[vars$P.devicePanelGap]: globals.spacing.md,
|
|
10540
|
+
[vars$P.deviceIconGap]: globals.spacing.md,
|
|
10541
|
+
[vars$P.deviceIconSize]: '24px',
|
|
10542
|
+
[vars$P.lastLoginLabelGap]: globals.spacing.xs,
|
|
10527
10543
|
|
|
10528
10544
|
_fullWidth: {
|
|
10529
|
-
[vars$
|
|
10545
|
+
[vars$P.hostWidth]: '100%',
|
|
10530
10546
|
},
|
|
10531
10547
|
};
|
|
10532
10548
|
|
|
10533
10549
|
var trustedDevices = /*#__PURE__*/Object.freeze({
|
|
10534
10550
|
__proto__: null,
|
|
10535
10551
|
default: TrustedDevices,
|
|
10536
|
-
vars: vars$
|
|
10552
|
+
vars: vars$P
|
|
10537
10553
|
});
|
|
10538
10554
|
|
|
10539
|
-
const componentName
|
|
10555
|
+
const componentName$$ = getComponentName('multi-sso');
|
|
10540
10556
|
|
|
10541
|
-
const
|
|
10542
|
-
'
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
'opened',
|
|
10547
|
-
];
|
|
10557
|
+
const resolveAuthType = (authType) => {
|
|
10558
|
+
if (!authType || authType === 'none')
|
|
10559
|
+
return { label: 'Not Configured', configured: false };
|
|
10560
|
+
return { label: authType.toUpperCase(), configured: true };
|
|
10561
|
+
};
|
|
10548
10562
|
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10563
|
+
const itemRenderer$2 = ({ id, name, isDefault, link, authType }, _, ref) => {
|
|
10564
|
+
const deleteAction =
|
|
10565
|
+
!isDefault && ref?.allowDelete
|
|
10566
|
+
? `<span
|
|
10567
|
+
class="delete-btn delete-icon"
|
|
10568
|
+
data-action="delete"
|
|
10569
|
+
role="button"
|
|
10570
|
+
tabindex="0"
|
|
10571
|
+
title="${ref.deleteTooltipLabel}"
|
|
10572
|
+
></span>`
|
|
10573
|
+
: '';
|
|
10557
10574
|
|
|
10558
|
-
|
|
10559
|
-
|
|
10575
|
+
const externalLinkAction =
|
|
10576
|
+
link && ref?.allowConfigure
|
|
10577
|
+
? `<a
|
|
10578
|
+
class="external-link external-link-icon"
|
|
10579
|
+
target="_blank"
|
|
10580
|
+
rel="noopener noreferrer"
|
|
10581
|
+
title="${ref.configureTooltipLabel}"
|
|
10582
|
+
></a>`
|
|
10583
|
+
: '';
|
|
10560
10584
|
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
<
|
|
10565
|
-
</
|
|
10566
|
-
|
|
10585
|
+
const { label: authTypeLabel, configured } = resolveAuthType(authType);
|
|
10586
|
+
const authTypeRow = configured
|
|
10587
|
+
? `<div class="auth-type-row">
|
|
10588
|
+
<descope-badge class="auth-type-badge" size="xs"></descope-badge>
|
|
10589
|
+
</div>`
|
|
10590
|
+
: `<div class="auth-type-row">
|
|
10591
|
+
<descope-text
|
|
10592
|
+
not-configured
|
|
10593
|
+
variant="body2"
|
|
10594
|
+
mode="secondary"
|
|
10595
|
+
>${ref?.notConfiguredLabel}</descope-text>
|
|
10596
|
+
</div>`;
|
|
10597
|
+
|
|
10598
|
+
const template = document.createElement('template');
|
|
10599
|
+
|
|
10600
|
+
template.innerHTML = `
|
|
10601
|
+
<descope-list-item>
|
|
10602
|
+
<div class="content">
|
|
10603
|
+
<div class="top-row">
|
|
10604
|
+
<descope-text
|
|
10605
|
+
class="config-name"
|
|
10606
|
+
variant="body1"
|
|
10607
|
+
mode="primary"
|
|
10608
|
+
></descope-text>
|
|
10609
|
+
<span class="action">
|
|
10610
|
+
${deleteAction}
|
|
10611
|
+
${externalLinkAction}
|
|
10612
|
+
</span>
|
|
10613
|
+
</div>
|
|
10614
|
+
${authTypeRow}
|
|
10615
|
+
</div>
|
|
10616
|
+
</descope-list-item>
|
|
10617
|
+
`;
|
|
10618
|
+
|
|
10619
|
+
template.content.querySelector('.config-name').textContent = name;
|
|
10620
|
+
|
|
10621
|
+
const deleteBtn = template.content.querySelector('.delete-btn');
|
|
10622
|
+
if (deleteBtn) {
|
|
10623
|
+
deleteBtn.dataset.id = id;
|
|
10624
|
+
deleteBtn.dataset.name = name;
|
|
10625
|
+
deleteBtn.setAttribute('aria-label', ref.deleteTooltipLabel);
|
|
10626
|
+
const deleteIcon = cloneSlottedNodes(ref, 'delete-icon');
|
|
10627
|
+
if (deleteIcon) deleteBtn.append(deleteIcon);
|
|
10628
|
+
}
|
|
10629
|
+
|
|
10630
|
+
const linkBtn = template.content.querySelector('.external-link');
|
|
10631
|
+
if (linkBtn) {
|
|
10632
|
+
linkBtn.setAttribute('aria-label', ref.configureTooltipLabel);
|
|
10633
|
+
if (link) linkBtn.setAttribute('href', link);
|
|
10634
|
+
const linkIcon = cloneSlottedNodes(ref, 'external-link-icon');
|
|
10635
|
+
if (linkIcon) linkBtn.append(linkIcon);
|
|
10636
|
+
}
|
|
10637
|
+
|
|
10638
|
+
const authTypeBadge = template.content.querySelector('.auth-type-badge');
|
|
10639
|
+
if (authTypeBadge) authTypeBadge.textContent = authTypeLabel;
|
|
10640
|
+
return template;
|
|
10641
|
+
};
|
|
10642
|
+
|
|
10643
|
+
const BaseClass$4 = createBaseClass$1({
|
|
10644
|
+
componentName: componentName$$,
|
|
10645
|
+
baseSelector: 'span.wrapper',
|
|
10646
|
+
});
|
|
10647
|
+
|
|
10648
|
+
class RawMultiSsoClass extends BaseClass$4 {
|
|
10649
|
+
static get observedAttributes() {
|
|
10650
|
+
return [
|
|
10651
|
+
'label',
|
|
10652
|
+
'create-button-label',
|
|
10653
|
+
'not-configured-label',
|
|
10654
|
+
'delete-tooltip-label',
|
|
10655
|
+
'configure-tooltip-label',
|
|
10656
|
+
'empty',
|
|
10657
|
+
].concat(super.observedAttributes);
|
|
10658
|
+
}
|
|
10659
|
+
|
|
10660
|
+
constructor() {
|
|
10661
|
+
super();
|
|
10662
|
+
|
|
10663
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
10664
|
+
<span class="wrapper">
|
|
10665
|
+
<div class="header">
|
|
10666
|
+
<slot name="title-icon"></slot>
|
|
10667
|
+
<descope-text class="title" variant="body1" mode="primary"></descope-text>
|
|
10668
|
+
<descope-button
|
|
10669
|
+
class="create-button"
|
|
10670
|
+
size="sm"
|
|
10671
|
+
variant="link"
|
|
10672
|
+
mode="primary"
|
|
10673
|
+
data-action="create"
|
|
10674
|
+
>
|
|
10675
|
+
<slot name="create-button-icon" slot="prefix"></slot>
|
|
10676
|
+
<span class="create-button-label"></span>
|
|
10677
|
+
</descope-button>
|
|
10678
|
+
</div>
|
|
10679
|
+
<descope-list></descope-list>
|
|
10680
|
+
<slot name="delete-icon" class="hidden"></slot>
|
|
10681
|
+
<slot name="external-link-icon" class="hidden"></slot>
|
|
10682
|
+
</span>
|
|
10683
|
+
`;
|
|
10684
|
+
|
|
10685
|
+
this.listEl = this.shadowRoot.querySelector('descope-list');
|
|
10686
|
+
|
|
10687
|
+
injectStyle(
|
|
10688
|
+
`
|
|
10689
|
+
:host {
|
|
10690
|
+
display: inline-block;
|
|
10691
|
+
}
|
|
10692
|
+
|
|
10693
|
+
:host(:not([allow-create="true"])) .create-button {
|
|
10694
|
+
display: none;
|
|
10695
|
+
}
|
|
10696
|
+
|
|
10697
|
+
.create-button {
|
|
10698
|
+
min-width: 0;
|
|
10699
|
+
flex-shrink:1;
|
|
10700
|
+
}
|
|
10701
|
+
|
|
10702
|
+
.header {
|
|
10703
|
+
width: 100%;
|
|
10704
|
+
display: flex;
|
|
10705
|
+
align-items: center;
|
|
10706
|
+
justify-content: space-between;
|
|
10707
|
+
}
|
|
10708
|
+
|
|
10709
|
+
slot[name="title-icon"] {
|
|
10710
|
+
display: inline-flex;
|
|
10711
|
+
align-items: center;
|
|
10712
|
+
flex-shrink: 0;
|
|
10713
|
+
}
|
|
10714
|
+
|
|
10715
|
+
.title {
|
|
10716
|
+
flex: 1;
|
|
10717
|
+
min-width: 0;
|
|
10718
|
+
width:0;
|
|
10719
|
+
flex-shrink: 0;
|
|
10720
|
+
|
|
10721
|
+
}
|
|
10722
|
+
|
|
10723
|
+
.title::part(text-wrapper) {
|
|
10724
|
+
text-overflow: ellipsis;
|
|
10725
|
+
overflow: hidden;
|
|
10726
|
+
white-space: nowrap;
|
|
10727
|
+
}
|
|
10728
|
+
|
|
10729
|
+
.content {
|
|
10730
|
+
display: flex;
|
|
10731
|
+
flex-direction: column;
|
|
10732
|
+
align-items: stretch;
|
|
10733
|
+
width: 100%;
|
|
10734
|
+
}
|
|
10735
|
+
|
|
10736
|
+
.top-row {
|
|
10737
|
+
display: flex;
|
|
10738
|
+
align-items: center;
|
|
10739
|
+
justify-content: space-between;
|
|
10740
|
+
min-width: 0;
|
|
10741
|
+
}
|
|
10742
|
+
|
|
10743
|
+
.config-name {
|
|
10744
|
+
display: flex;
|
|
10745
|
+
align-items: center;
|
|
10746
|
+
min-width: 0;
|
|
10747
|
+
}
|
|
10748
|
+
|
|
10749
|
+
.config-name::part(text-wrapper) {
|
|
10750
|
+
text-overflow: ellipsis;
|
|
10751
|
+
overflow: hidden;
|
|
10752
|
+
white-space: nowrap;
|
|
10753
|
+
}
|
|
10754
|
+
|
|
10755
|
+
.auth-type-row {
|
|
10756
|
+
display: flex;
|
|
10757
|
+
align-items: center;
|
|
10758
|
+
}
|
|
10759
|
+
|
|
10760
|
+
.action {
|
|
10761
|
+
display: flex;
|
|
10762
|
+
align-items: center;
|
|
10763
|
+
flex-shrink: 0;
|
|
10764
|
+
}
|
|
10765
|
+
|
|
10766
|
+
.hidden {
|
|
10767
|
+
display: none;
|
|
10768
|
+
}
|
|
10769
|
+
|
|
10770
|
+
.delete-btn {
|
|
10771
|
+
cursor: pointer;
|
|
10772
|
+
display: flex;
|
|
10773
|
+
}
|
|
10774
|
+
|
|
10775
|
+
.delete-icon > *,
|
|
10776
|
+
.external-link-icon > * {
|
|
10777
|
+
width: 100%;
|
|
10778
|
+
height: 100%;
|
|
10779
|
+
}
|
|
10780
|
+
|
|
10781
|
+
.external-link {
|
|
10782
|
+
cursor: pointer;
|
|
10783
|
+
color: inherit;
|
|
10784
|
+
display: flex;
|
|
10785
|
+
}
|
|
10786
|
+
|
|
10787
|
+
descope-text {
|
|
10788
|
+
display: flex;
|
|
10789
|
+
align-items: center;
|
|
10790
|
+
min-width: 0;
|
|
10791
|
+
}
|
|
10792
|
+
`,
|
|
10793
|
+
this,
|
|
10794
|
+
);
|
|
10795
|
+
}
|
|
10796
|
+
|
|
10797
|
+
get deleteTooltipLabel() {
|
|
10798
|
+
return this.getAttribute('delete-tooltip-label') ?? '';
|
|
10799
|
+
}
|
|
10800
|
+
|
|
10801
|
+
get configureTooltipLabel() {
|
|
10802
|
+
return this.getAttribute('configure-tooltip-label') ?? '';
|
|
10803
|
+
}
|
|
10804
|
+
|
|
10805
|
+
init() {
|
|
10806
|
+
super.init?.();
|
|
10807
|
+
|
|
10808
|
+
this.shadowRoot.querySelector('.title').textContent = this.label;
|
|
10809
|
+
this.shadowRoot.querySelector('.create-button-label').textContent =
|
|
10810
|
+
this.createButtonLabel;
|
|
10811
|
+
|
|
10812
|
+
this.listEl.itemRenderer = (item, index) => itemRenderer$2(item, index, this);
|
|
10813
|
+
|
|
10814
|
+
this.shadowRoot
|
|
10815
|
+
.querySelector('[data-action="create"]')
|
|
10816
|
+
.addEventListener('click', this.onCreateClick.bind(this));
|
|
10817
|
+
this.listEl.addEventListener('click', this.onItemClick.bind(this));
|
|
10818
|
+
|
|
10819
|
+
forwardAttrs(this.listEl, this, { includeAttrs: ['empty'] });
|
|
10820
|
+
}
|
|
10821
|
+
|
|
10822
|
+
onCreateClick() {
|
|
10823
|
+
this.dispatchEvent(
|
|
10824
|
+
new CustomEvent('create-clicked', { bubbles: true, detail: {} }),
|
|
10825
|
+
);
|
|
10826
|
+
}
|
|
10827
|
+
|
|
10828
|
+
onItemClick(e) {
|
|
10829
|
+
const target = e.target.closest('[data-action="delete"]');
|
|
10830
|
+
if (!target) return;
|
|
10831
|
+
|
|
10832
|
+
const id = target.getAttribute('data-id');
|
|
10833
|
+
const name = target.getAttribute('data-name');
|
|
10834
|
+
if (id) {
|
|
10835
|
+
this.dispatchEvent(
|
|
10836
|
+
new CustomEvent('delete-clicked', {
|
|
10837
|
+
bubbles: true,
|
|
10838
|
+
detail: { id, name },
|
|
10839
|
+
}),
|
|
10840
|
+
);
|
|
10841
|
+
}
|
|
10842
|
+
}
|
|
10843
|
+
|
|
10844
|
+
get allowCreate() {
|
|
10845
|
+
return this.getAttribute('allow-create') === 'true';
|
|
10846
|
+
}
|
|
10847
|
+
|
|
10848
|
+
get allowDelete() {
|
|
10849
|
+
return this.getAttribute('allow-delete') === 'true';
|
|
10850
|
+
}
|
|
10851
|
+
|
|
10852
|
+
get allowConfigure() {
|
|
10853
|
+
return this.getAttribute('allow-configure') === 'true';
|
|
10854
|
+
}
|
|
10855
|
+
|
|
10856
|
+
get label() {
|
|
10857
|
+
return this.getAttribute('label');
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10860
|
+
get createButtonLabel() {
|
|
10861
|
+
return this.getAttribute('create-button-label');
|
|
10862
|
+
}
|
|
10863
|
+
|
|
10864
|
+
get notConfiguredLabel() {
|
|
10865
|
+
return this.getAttribute('not-configured-label') || 'Not Configured';
|
|
10866
|
+
}
|
|
10867
|
+
|
|
10868
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
10869
|
+
super.attributeChangedCallback?.(name, oldValue, newValue);
|
|
10870
|
+
if (oldValue === newValue) return;
|
|
10871
|
+
|
|
10872
|
+
if (name === 'label') {
|
|
10873
|
+
const el = this.shadowRoot?.querySelector('.title');
|
|
10874
|
+
if (el) el.textContent = this.label;
|
|
10875
|
+
} else if (name === 'create-button-label') {
|
|
10876
|
+
const el = this.shadowRoot?.querySelector('.create-button-label');
|
|
10877
|
+
if (el) el.textContent = this.createButtonLabel;
|
|
10878
|
+
} else if (name === 'empty') {
|
|
10879
|
+
this.listEl.classList.toggle('hidden', newValue === 'true');
|
|
10880
|
+
}
|
|
10881
|
+
}
|
|
10882
|
+
}
|
|
10883
|
+
|
|
10884
|
+
const { host: host$n } = {
|
|
10885
|
+
host: { selector: () => ':host' },
|
|
10886
|
+
};
|
|
10887
|
+
|
|
10888
|
+
const MultiSsoClass = compose(
|
|
10889
|
+
createStyleMixin$1({
|
|
10890
|
+
mappings: {
|
|
10891
|
+
hostWidth: { ...host$n, property: 'width' },
|
|
10892
|
+
hostMinWidth: { ...host$n, property: 'min-width' },
|
|
10893
|
+
hostDirection: [
|
|
10894
|
+
{ ...host$n, property: 'direction' },
|
|
10895
|
+
{
|
|
10896
|
+
selector: () => 'descope-list-item',
|
|
10897
|
+
property: 'direction',
|
|
10898
|
+
},
|
|
10899
|
+
{
|
|
10900
|
+
selector: () => 'descope-text',
|
|
10901
|
+
property: 'direction',
|
|
10902
|
+
},
|
|
10903
|
+
],
|
|
10904
|
+
headerGap: {
|
|
10905
|
+
selector: () => '.header',
|
|
10906
|
+
property: 'gap',
|
|
10907
|
+
},
|
|
10908
|
+
headerListGap: {
|
|
10909
|
+
selector: () => 'descope-list',
|
|
10910
|
+
property: 'margin-top',
|
|
10911
|
+
},
|
|
10912
|
+
itemContentGap: {
|
|
10913
|
+
selector: () => '.content',
|
|
10914
|
+
property: 'gap',
|
|
10915
|
+
},
|
|
10916
|
+
actionGap: {
|
|
10917
|
+
selector: () => '.action',
|
|
10918
|
+
property: 'gap',
|
|
10919
|
+
},
|
|
10920
|
+
unconfiguredAuthTypeTextColor: {
|
|
10921
|
+
selector: () => '[not-configured]',
|
|
10922
|
+
property: TextClass.cssVarList.textColor,
|
|
10923
|
+
},
|
|
10924
|
+
unconfiguredAuthTypeTextFontStyle: {
|
|
10925
|
+
selector: () => '[not-configured]',
|
|
10926
|
+
property: 'font-style',
|
|
10927
|
+
},
|
|
10928
|
+
|
|
10929
|
+
buttonMaxWidth: {
|
|
10930
|
+
selector: ButtonClass.componentName,
|
|
10931
|
+
property: ButtonClass.cssVarList.hostMaxWidth,
|
|
10932
|
+
},
|
|
10933
|
+
|
|
10934
|
+
listItemsGap: {
|
|
10935
|
+
property: ListClass.cssVarList.gap,
|
|
10936
|
+
},
|
|
10937
|
+
listBackgroundColor: {
|
|
10938
|
+
selector: () => ListClass.componentName,
|
|
10939
|
+
property: ListClass.cssVarList.backgroundColor,
|
|
10940
|
+
},
|
|
10941
|
+
listBorderRadius: {
|
|
10942
|
+
selector: () => ListClass.componentName,
|
|
10943
|
+
property: ListClass.cssVarList.borderRadius,
|
|
10944
|
+
},
|
|
10945
|
+
listBorderWidth: {
|
|
10946
|
+
selector: () => ListClass.componentName,
|
|
10947
|
+
property: ListClass.cssVarList.borderWidth,
|
|
10948
|
+
},
|
|
10949
|
+
listBoxShadow: {
|
|
10950
|
+
selector: () => ListClass.componentName,
|
|
10951
|
+
property: ListClass.cssVarList.boxShadow,
|
|
10952
|
+
},
|
|
10953
|
+
listPadding: [
|
|
10954
|
+
{
|
|
10955
|
+
selector: () => ListClass.componentName,
|
|
10956
|
+
property: ListClass.cssVarList.verticalPadding,
|
|
10957
|
+
},
|
|
10958
|
+
{
|
|
10959
|
+
selector: () => ListClass.componentName,
|
|
10960
|
+
property: ListClass.cssVarList.horizontalPadding,
|
|
10961
|
+
},
|
|
10962
|
+
],
|
|
10963
|
+
|
|
10964
|
+
itemVerticalPadding: {
|
|
10965
|
+
selector: ListItemClass.componentName,
|
|
10966
|
+
property: ListItemClass.cssVarList.verticalPadding,
|
|
10967
|
+
},
|
|
10968
|
+
itemHorizontalPadding: {
|
|
10969
|
+
selector: ListItemClass.componentName,
|
|
10970
|
+
property: ListItemClass.cssVarList.horizontalPadding,
|
|
10971
|
+
},
|
|
10972
|
+
itemCursor: {
|
|
10973
|
+
selector: ListItemClass.componentName,
|
|
10974
|
+
property: ListItemClass.cssVarList.cursor,
|
|
10975
|
+
},
|
|
10976
|
+
itemOutline: {
|
|
10977
|
+
selector: ListItemClass.componentName,
|
|
10978
|
+
property: ListItemClass.cssVarList.outline,
|
|
10979
|
+
},
|
|
10980
|
+
itemBorderColor: {
|
|
10981
|
+
selector: ListItemClass.componentName,
|
|
10982
|
+
property: ListItemClass.cssVarList.borderColor,
|
|
10983
|
+
},
|
|
10984
|
+
itemBorderRadius: {
|
|
10985
|
+
selector: ListItemClass.componentName,
|
|
10986
|
+
property: ListItemClass.cssVarList.borderRadius,
|
|
10987
|
+
},
|
|
10988
|
+
itemBackgroundColor: {
|
|
10989
|
+
selector: ListItemClass.componentName,
|
|
10990
|
+
property: ListItemClass.cssVarList.backgroundColor,
|
|
10991
|
+
},
|
|
10992
|
+
badgeBorderColor: {
|
|
10993
|
+
selector: () => BadgeClass.componentName,
|
|
10994
|
+
property: BadgeClass.cssVarList.borderColor,
|
|
10995
|
+
},
|
|
10996
|
+
badgeTextColor: {
|
|
10997
|
+
selector: () => BadgeClass.componentName,
|
|
10998
|
+
property: BadgeClass.cssVarList.textColor,
|
|
10999
|
+
},
|
|
11000
|
+
badgeBackgroundColor: {
|
|
11001
|
+
selector: () => BadgeClass.componentName,
|
|
11002
|
+
property: BadgeClass.cssVarList.backgroundColor,
|
|
11003
|
+
},
|
|
11004
|
+
badgeBorderRadius: {
|
|
11005
|
+
selector: () => BadgeClass.componentName,
|
|
11006
|
+
property: BadgeClass.cssVarList.borderRadius,
|
|
11007
|
+
},
|
|
11008
|
+
|
|
11009
|
+
titleIconSize: [
|
|
11010
|
+
{ selector: () => '::slotted([slot="title-icon"])', property: 'width' },
|
|
11011
|
+
{
|
|
11012
|
+
selector: () => '::slotted([slot="title-icon"])',
|
|
11013
|
+
property: 'height',
|
|
11014
|
+
},
|
|
11015
|
+
],
|
|
11016
|
+
createButtonIconSize: [
|
|
11017
|
+
{
|
|
11018
|
+
selector: () => '::slotted([slot="create-button-icon"])',
|
|
11019
|
+
property: 'width',
|
|
11020
|
+
},
|
|
11021
|
+
{
|
|
11022
|
+
selector: () => '::slotted([slot="create-button-icon"])',
|
|
11023
|
+
property: 'height',
|
|
11024
|
+
},
|
|
11025
|
+
],
|
|
11026
|
+
actionIconSize: [
|
|
11027
|
+
{ selector: () => '.delete-icon', property: 'width' },
|
|
11028
|
+
{ selector: () => '.delete-icon', property: 'height' },
|
|
11029
|
+
{ selector: () => '.external-link-icon', property: 'width' },
|
|
11030
|
+
{ selector: () => '.external-link-icon', property: 'height' },
|
|
11031
|
+
],
|
|
11032
|
+
actionIconColor: [
|
|
11033
|
+
{ selector: () => '.delete-icon', property: IconClass.cssVarList.fill },
|
|
11034
|
+
{
|
|
11035
|
+
selector: () => '.external-link-icon',
|
|
11036
|
+
property: IconClass.cssVarList.fill,
|
|
11037
|
+
},
|
|
11038
|
+
],
|
|
11039
|
+
},
|
|
11040
|
+
}),
|
|
11041
|
+
draggableMixin$1,
|
|
11042
|
+
createDynamicDataMixin$1({
|
|
11043
|
+
targetSelector: 'descope-list',
|
|
11044
|
+
itemRenderer: itemRenderer$2,
|
|
11045
|
+
rerenderAttrsList: [
|
|
11046
|
+
'allow-delete',
|
|
11047
|
+
'allow-configure',
|
|
11048
|
+
'not-configured-label',
|
|
11049
|
+
'delete-tooltip-label',
|
|
11050
|
+
'configure-tooltip-label',
|
|
11051
|
+
],
|
|
11052
|
+
}),
|
|
11053
|
+
componentNameValidationMixin$1,
|
|
11054
|
+
)(RawMultiSsoClass);
|
|
11055
|
+
|
|
11056
|
+
const vars$O = MultiSsoClass.cssVarList;
|
|
11057
|
+
const globalRefs$r = getThemeRefs$1(globals);
|
|
11058
|
+
|
|
11059
|
+
const MultiSso = {
|
|
11060
|
+
[vars$O.hostWidth]: '300px',
|
|
11061
|
+
|
|
11062
|
+
[vars$O.headerGap]: globalRefs$r.spacing.md,
|
|
11063
|
+
[vars$O.headerListGap]: globalRefs$r.spacing.md,
|
|
11064
|
+
[vars$O.itemContentGap]: globalRefs$r.spacing.md,
|
|
11065
|
+
[vars$O.actionGap]: globalRefs$r.spacing.sm,
|
|
11066
|
+
[vars$O.unconfiguredAuthTypeTextColor]: globalRefs$r.colors.surface.dark,
|
|
11067
|
+
[vars$O.unconfiguredAuthTypeTextFontStyle]: 'italic',
|
|
11068
|
+
[vars$O.buttonMaxWidth]: '50%',
|
|
11069
|
+
|
|
11070
|
+
[vars$O.listBackgroundColor]: 'transparent',
|
|
11071
|
+
[vars$O.listBorderRadius]: '0',
|
|
11072
|
+
[vars$O.listBorderWidth]: '0',
|
|
11073
|
+
[vars$O.listPadding]: '0',
|
|
11074
|
+
[vars$O.listBoxShadow]: 'none',
|
|
11075
|
+
[vars$O.listItemsGap]: globalRefs$r.spacing.lg,
|
|
11076
|
+
|
|
11077
|
+
[vars$O.itemBorderColor]: globalRefs$r.colors.surface.light,
|
|
11078
|
+
[vars$O.itemVerticalPadding]: globalRefs$r.spacing.lg,
|
|
11079
|
+
[vars$O.itemHorizontalPadding]: globalRefs$r.spacing.lg,
|
|
11080
|
+
[vars$O.itemBorderRadius]: globalRefs$r.radius.xs,
|
|
11081
|
+
[vars$O.itemOutline]: 'transparent',
|
|
11082
|
+
[vars$O.itemBackgroundColor]: 'transparent',
|
|
11083
|
+
[vars$O.itemCursor]: 'default',
|
|
11084
|
+
|
|
11085
|
+
[vars$O.badgeBorderColor]: globalRefs$r.colors.surface.light,
|
|
11086
|
+
[vars$O.badgeTextColor]: globalRefs$r.colors.surface.dark,
|
|
11087
|
+
[vars$O.badgeBorderRadius]: globalRefs$r.radius.xs,
|
|
11088
|
+
[vars$O.badgeBackgroundColor]: globalRefs$r.colors.surface.main,
|
|
11089
|
+
|
|
11090
|
+
[vars$O.titleIconSize]: '24px',
|
|
11091
|
+
[vars$O.createButtonIconSize]: '20px',
|
|
11092
|
+
[vars$O.actionIconSize]: '20px',
|
|
11093
|
+
[vars$O.actionIconColor]: globalRefs$r.colors.surface.dark,
|
|
11094
|
+
|
|
11095
|
+
_fullWidth: {
|
|
11096
|
+
[vars$O.hostWidth]: '100%',
|
|
11097
|
+
},
|
|
11098
|
+
};
|
|
11099
|
+
|
|
11100
|
+
var multiSso = /*#__PURE__*/Object.freeze({
|
|
11101
|
+
__proto__: null,
|
|
11102
|
+
default: MultiSso,
|
|
11103
|
+
vars: vars$O
|
|
11104
|
+
});
|
|
11105
|
+
|
|
11106
|
+
const componentName$_ = getComponentName('tooltip');
|
|
11107
|
+
|
|
11108
|
+
const tooltipAttrs = [
|
|
11109
|
+
'text',
|
|
11110
|
+
'position',
|
|
11111
|
+
'hide-delay',
|
|
11112
|
+
'hover-delay',
|
|
11113
|
+
'opened',
|
|
11114
|
+
];
|
|
11115
|
+
|
|
11116
|
+
class RawTooltip extends createBaseClass$1({
|
|
11117
|
+
componentName: componentName$_,
|
|
11118
|
+
baseSelector: 'vaadin-tooltip',
|
|
11119
|
+
}) {
|
|
11120
|
+
// Observes the inner descope-anchored's `class` attribute so runtime updates
|
|
11121
|
+
// (e.g. real-time conditional components toggling `.hidden`) keep this
|
|
11122
|
+
// tooltip's class in sync. Set up in connectedCallback so reconnects work.
|
|
11123
|
+
#anchoredClassObserver = null;
|
|
11124
|
+
|
|
11125
|
+
constructor() {
|
|
11126
|
+
super();
|
|
11127
|
+
|
|
11128
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
11129
|
+
<descope-anchored>
|
|
11130
|
+
<slot></slot>
|
|
11131
|
+
<vaadin-tooltip slot="anchored"></vaadin-tooltip>
|
|
11132
|
+
</descope-anchored>
|
|
11133
|
+
`;
|
|
10567
11134
|
|
|
10568
11135
|
this.defaultSlot = this.shadowRoot.querySelector('slot:not([name])');
|
|
10569
11136
|
this.tooltip = this.shadowRoot.querySelector('vaadin-tooltip');
|
|
@@ -12397,21 +12964,6 @@ const iconMap = {
|
|
|
12397
12964
|
},
|
|
12398
12965
|
};
|
|
12399
12966
|
|
|
12400
|
-
const cloneSlottedNodes = (element, slotName) => {
|
|
12401
|
-
if (!element || !slotName) return null;
|
|
12402
|
-
const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
|
|
12403
|
-
if (!sources.length) return null;
|
|
12404
|
-
const fragment = document.createDocumentFragment();
|
|
12405
|
-
sources.forEach((source) => {
|
|
12406
|
-
const clone = source.content
|
|
12407
|
-
? source.content.cloneNode(true)
|
|
12408
|
-
: source.cloneNode(true);
|
|
12409
|
-
if (clone.removeAttribute) clone.removeAttribute('slot');
|
|
12410
|
-
fragment.append(clone);
|
|
12411
|
-
});
|
|
12412
|
-
return fragment;
|
|
12413
|
-
};
|
|
12414
|
-
|
|
12415
12967
|
const populateRemoveButton = (template, id, ref) => {
|
|
12416
12968
|
const button = template.content.querySelector('.remove-button-content');
|
|
12417
12969
|
button.dataset.passkeyId = id;
|
|
@@ -12538,6 +13090,7 @@ class RawUserPasskeysClass extends BaseClass$3 {
|
|
|
12538
13090
|
}
|
|
12539
13091
|
|
|
12540
13092
|
.header {
|
|
13093
|
+
width: 100%;
|
|
12541
13094
|
display: flex;
|
|
12542
13095
|
justify-content: space-between;
|
|
12543
13096
|
align-items: center;
|
|
@@ -12545,10 +13098,19 @@ class RawUserPasskeysClass extends BaseClass$3 {
|
|
|
12545
13098
|
|
|
12546
13099
|
.header .method {
|
|
12547
13100
|
display: flex;
|
|
13101
|
+
flex: 1;
|
|
13102
|
+
min-width: 0;
|
|
13103
|
+
}
|
|
13104
|
+
|
|
13105
|
+
slot[name="method-icon"] {
|
|
13106
|
+
display: inline-flex;
|
|
13107
|
+
flex-shrink: 0;
|
|
12548
13108
|
}
|
|
12549
13109
|
|
|
12550
13110
|
.button {
|
|
12551
13111
|
min-width: 0;
|
|
13112
|
+
max-width: 50%;
|
|
13113
|
+
flex-shrink: 1;
|
|
12552
13114
|
}
|
|
12553
13115
|
|
|
12554
13116
|
.add-passkey-button {
|
|
@@ -12606,7 +13168,7 @@ class RawUserPasskeysClass extends BaseClass$3 {
|
|
|
12606
13168
|
|
|
12607
13169
|
descope-text {
|
|
12608
13170
|
display: flex;
|
|
12609
|
-
align-items: center;
|
|
13171
|
+
align-items: center;
|
|
12610
13172
|
min-width: 0;
|
|
12611
13173
|
}
|
|
12612
13174
|
descope-text::part(text-wrapper) {
|
|
@@ -12628,7 +13190,7 @@ class RawUserPasskeysClass extends BaseClass$3 {
|
|
|
12628
13190
|
.hidden {
|
|
12629
13191
|
display: none
|
|
12630
13192
|
}
|
|
12631
|
-
|
|
13193
|
+
|
|
12632
13194
|
`,
|
|
12633
13195
|
this,
|
|
12634
13196
|
);
|
|
@@ -28680,7 +29242,7 @@ const alert = {
|
|
|
28680
29242
|
[vars$2.horizontalPadding]: '0',
|
|
28681
29243
|
[vars$2.verticalPadding]: '0',
|
|
28682
29244
|
[vars$2.gap]: `0.5em`,
|
|
28683
|
-
[vars$2.fontSize]: useVar(vars$
|
|
29245
|
+
[vars$2.fontSize]: useVar(vars$19.fontSize),
|
|
28684
29246
|
|
|
28685
29247
|
mode: {
|
|
28686
29248
|
error: {
|
|
@@ -28974,6 +29536,7 @@ const components = {
|
|
|
28974
29536
|
outboundApps: outboundApps$1,
|
|
28975
29537
|
outboundAppButton: outboundAppButton$1,
|
|
28976
29538
|
trustedDevices,
|
|
29539
|
+
multiSso,
|
|
28977
29540
|
tooltip: tooltip$1,
|
|
28978
29541
|
attachment: attachment$1,
|
|
28979
29542
|
userPasskeys: userPasskeys$1,
|
|
@@ -28989,7 +29552,7 @@ const vars = Object.keys(components).reduce(
|
|
|
28989
29552
|
);
|
|
28990
29553
|
|
|
28991
29554
|
const defaultTheme = { globals: globals$1, components: theme };
|
|
28992
|
-
const themeVars = { globals: vars$
|
|
29555
|
+
const themeVars = { globals: vars$1b, components: vars };
|
|
28993
29556
|
|
|
28994
29557
|
const colors = {
|
|
28995
29558
|
surface: {
|
|
@@ -29799,6 +30362,7 @@ exports.MonthDayFieldClass = MonthDayFieldClass;
|
|
|
29799
30362
|
exports.MonthDayFieldPickerClass = MonthDayFieldPickerClass;
|
|
29800
30363
|
exports.MultiLineMappingsClass = MultiLineMappingsClass;
|
|
29801
30364
|
exports.MultiSelectComboBoxClass = MultiSelectComboBoxClass;
|
|
30365
|
+
exports.MultiSsoClass = MultiSsoClass;
|
|
29802
30366
|
exports.NewPasswordClass = NewPasswordClass;
|
|
29803
30367
|
exports.NotificationClass = NotificationClass;
|
|
29804
30368
|
exports.NotpImageClass = NotpImageClass;
|