@descope/flow-components 2.0.593 → 2.0.595
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/fm/153.js +1 -0
- package/dist/fm/575.js +1 -1
- package/dist/fm/84.js +2 -2
- package/dist/fm/@mf-types/compiled-types/Hcaptcha/Hcaptcha.d.ts +14 -0
- package/dist/fm/@mf-types/compiled-types/Hcaptcha/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/componentClasses.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/components.d.ts +1 -0
- package/dist/fm/@mf-types.zip +0 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +1525 -1376
- package/dist/index.d.ts +136 -122
- package/dist/index.esm.js +5 -2
- package/dist/types/Hcaptcha/Hcaptcha.d.ts +14 -0
- package/dist/types/Hcaptcha/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/781.js +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -77952,9 +77952,6 @@ function requireIndex_cjs () {
|
|
|
77952
77952
|
:host([label-type="floating"]) {
|
|
77953
77953
|
position: relative;
|
|
77954
77954
|
}
|
|
77955
|
-
:host([label-type="floating"][has-label]) [slot="label"] {
|
|
77956
|
-
padding: 0;
|
|
77957
|
-
}
|
|
77958
77955
|
:host([label-type="floating"][has-label]) > ::part(label) {
|
|
77959
77956
|
z-index: 1;
|
|
77960
77957
|
padding: 0;
|
|
@@ -78465,7 +78462,7 @@ function requireIndex_cjs () {
|
|
|
78465
78462
|
fonts: fonts$1,
|
|
78466
78463
|
direction: direction$1,
|
|
78467
78464
|
};
|
|
78468
|
-
const vars$
|
|
78465
|
+
const vars$11 = getThemeVars(globals$1);
|
|
78469
78466
|
|
|
78470
78467
|
const direction = 'ltr';
|
|
78471
78468
|
|
|
@@ -79238,7 +79235,7 @@ function requireIndex_cjs () {
|
|
|
79238
79235
|
}
|
|
79239
79236
|
};
|
|
79240
79237
|
|
|
79241
|
-
const observedAttributes$
|
|
79238
|
+
const observedAttributes$6 = ['required', 'pattern'];
|
|
79242
79239
|
|
|
79243
79240
|
const errorAttributes$1 = {
|
|
79244
79241
|
valueMissing: 'data-errormessage-value-missing',
|
|
@@ -79257,7 +79254,7 @@ function requireIndex_cjs () {
|
|
|
79257
79254
|
#validationTarget = validationTargetSymbol$1;
|
|
79258
79255
|
|
|
79259
79256
|
static get observedAttributes() {
|
|
79260
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
|
79257
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$6];
|
|
79261
79258
|
}
|
|
79262
79259
|
|
|
79263
79260
|
static get formAssociated() {
|
|
@@ -79460,7 +79457,7 @@ function requireIndex_cjs () {
|
|
|
79460
79457
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
79461
79458
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
79462
79459
|
|
|
79463
|
-
if (observedAttributes$
|
|
79460
|
+
if (observedAttributes$6.includes(attrName)) {
|
|
79464
79461
|
this.#setValidity();
|
|
79465
79462
|
}
|
|
79466
79463
|
}
|
|
@@ -80119,7 +80116,7 @@ function requireIndex_cjs () {
|
|
|
80119
80116
|
}
|
|
80120
80117
|
};
|
|
80121
80118
|
|
|
80122
|
-
const componentName$
|
|
80119
|
+
const componentName$1c = getComponentName('icon');
|
|
80123
80120
|
|
|
80124
80121
|
const IconClass = compose(
|
|
80125
80122
|
createStyleMixin$1({
|
|
@@ -80139,7 +80136,7 @@ function requireIndex_cjs () {
|
|
|
80139
80136
|
}
|
|
80140
80137
|
`,
|
|
80141
80138
|
excludeAttrsSync: ['tabindex', 'class'],
|
|
80142
|
-
componentName: componentName$
|
|
80139
|
+
componentName: componentName$1c,
|
|
80143
80140
|
}),
|
|
80144
80141
|
);
|
|
80145
80142
|
|
|
@@ -80154,7 +80151,7 @@ function requireIndex_cjs () {
|
|
|
80154
80151
|
}
|
|
80155
80152
|
};
|
|
80156
80153
|
|
|
80157
|
-
const componentName$
|
|
80154
|
+
const componentName$1b = getComponentName('button');
|
|
80158
80155
|
|
|
80159
80156
|
const resetStyles = `
|
|
80160
80157
|
:host {
|
|
@@ -80270,7 +80267,7 @@ function requireIndex_cjs () {
|
|
|
80270
80267
|
}
|
|
80271
80268
|
`,
|
|
80272
80269
|
excludeAttrsSync: ['tabindex'],
|
|
80273
|
-
componentName: componentName$
|
|
80270
|
+
componentName: componentName$1b,
|
|
80274
80271
|
})
|
|
80275
80272
|
);
|
|
80276
80273
|
|
|
@@ -80318,7 +80315,7 @@ function requireIndex_cjs () {
|
|
|
80318
80315
|
surface: globalRefs$G.colors.surface,
|
|
80319
80316
|
};
|
|
80320
80317
|
|
|
80321
|
-
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$
|
|
80318
|
+
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1({ mode }, componentName$1b);
|
|
80322
80319
|
|
|
80323
80320
|
const button = {
|
|
80324
80321
|
...helperTheme$5,
|
|
@@ -80430,7 +80427,7 @@ function requireIndex_cjs () {
|
|
|
80430
80427
|
},
|
|
80431
80428
|
};
|
|
80432
80429
|
|
|
80433
|
-
const vars
|
|
80430
|
+
const vars$10 = {
|
|
80434
80431
|
...compVars$8,
|
|
80435
80432
|
...helperVars$5,
|
|
80436
80433
|
};
|
|
@@ -80438,7 +80435,7 @@ function requireIndex_cjs () {
|
|
|
80438
80435
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
80439
80436
|
__proto__: null,
|
|
80440
80437
|
default: button,
|
|
80441
|
-
vars: vars
|
|
80438
|
+
vars: vars$10
|
|
80442
80439
|
});
|
|
80443
80440
|
|
|
80444
80441
|
const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
|
|
@@ -80970,7 +80967,7 @@ function requireIndex_cjs () {
|
|
|
80970
80967
|
return ProxyClass;
|
|
80971
80968
|
};
|
|
80972
80969
|
|
|
80973
|
-
const observedAttributes$
|
|
80970
|
+
const observedAttributes$5 = ['required', 'pattern'];
|
|
80974
80971
|
|
|
80975
80972
|
const errorAttributes = {
|
|
80976
80973
|
valueMissing: 'data-errormessage-value-missing',
|
|
@@ -80989,7 +80986,7 @@ function requireIndex_cjs () {
|
|
|
80989
80986
|
#validationTarget = validationTargetSymbol;
|
|
80990
80987
|
|
|
80991
80988
|
static get observedAttributes() {
|
|
80992
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
|
80989
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$5];
|
|
80993
80990
|
}
|
|
80994
80991
|
|
|
80995
80992
|
static get formAssociated() {
|
|
@@ -81167,7 +81164,7 @@ function requireIndex_cjs () {
|
|
|
81167
81164
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
81168
81165
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
81169
81166
|
|
|
81170
|
-
if (observedAttributes$
|
|
81167
|
+
if (observedAttributes$5.includes(attrName)) {
|
|
81171
81168
|
this.#setValidity();
|
|
81172
81169
|
}
|
|
81173
81170
|
}
|
|
@@ -82179,9 +82176,6 @@ function requireIndex_cjs () {
|
|
|
82179
82176
|
:host([label-type="floating"]) {
|
|
82180
82177
|
position: relative;
|
|
82181
82178
|
}
|
|
82182
|
-
:host([label-type="floating"][has-label]) [slot="label"] {
|
|
82183
|
-
padding: 0;
|
|
82184
|
-
}
|
|
82185
82179
|
:host([label-type="floating"][has-label]) > ::part(label) {
|
|
82186
82180
|
z-index: 1;
|
|
82187
82181
|
padding: 0;
|
|
@@ -82190,7 +82184,7 @@ function requireIndex_cjs () {
|
|
|
82190
82184
|
`;
|
|
82191
82185
|
};
|
|
82192
82186
|
|
|
82193
|
-
const componentName$
|
|
82187
|
+
const componentName$1a = getComponentName$1('text-field');
|
|
82194
82188
|
|
|
82195
82189
|
const observedAttrs$4 = ['type', 'label-type', 'copy-to-clipboard'];
|
|
82196
82190
|
|
|
@@ -82312,14 +82306,14 @@ function requireIndex_cjs () {
|
|
|
82312
82306
|
}
|
|
82313
82307
|
`,
|
|
82314
82308
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
82315
|
-
componentName: componentName$
|
|
82309
|
+
componentName: componentName$1a,
|
|
82316
82310
|
})
|
|
82317
82311
|
);
|
|
82318
82312
|
|
|
82319
|
-
const componentName$
|
|
82313
|
+
const componentName$19 = getComponentName$1('input-wrapper');
|
|
82320
82314
|
const globalRefs$F = getThemeRefs(globals$1);
|
|
82321
82315
|
|
|
82322
|
-
const [theme$2, refs$1, vars
|
|
82316
|
+
const [theme$2, refs$1, vars$$] = createHelperVars(
|
|
82323
82317
|
{
|
|
82324
82318
|
labelTextColor: globalRefs$F.colors.surface.dark,
|
|
82325
82319
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
@@ -82438,78 +82432,78 @@ function requireIndex_cjs () {
|
|
|
82438
82432
|
backgroundColor: globalRefs$F.colors.surface.main,
|
|
82439
82433
|
},
|
|
82440
82434
|
},
|
|
82441
|
-
componentName$
|
|
82435
|
+
componentName$19
|
|
82442
82436
|
);
|
|
82443
82437
|
|
|
82444
82438
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
|
82445
82439
|
__proto__: null,
|
|
82446
82440
|
default: theme$2,
|
|
82447
82441
|
refs: refs$1,
|
|
82448
|
-
vars: vars
|
|
82442
|
+
vars: vars$$
|
|
82449
82443
|
});
|
|
82450
82444
|
|
|
82451
82445
|
const globalRefs$E = getThemeRefs(globals$1);
|
|
82452
|
-
const vars$
|
|
82446
|
+
const vars$_ = TextFieldClass.cssVarList;
|
|
82453
82447
|
|
|
82454
82448
|
const textField$1 = {
|
|
82455
|
-
[vars$
|
|
82456
|
-
[vars$
|
|
82457
|
-
[vars$
|
|
82458
|
-
[vars$
|
|
82459
|
-
[vars$
|
|
82460
|
-
[vars$
|
|
82461
|
-
[vars$
|
|
82462
|
-
[vars$
|
|
82463
|
-
[vars$
|
|
82464
|
-
[vars$
|
|
82465
|
-
[vars$
|
|
82466
|
-
[vars$
|
|
82467
|
-
[vars$
|
|
82468
|
-
[vars$
|
|
82469
|
-
[vars$
|
|
82470
|
-
[vars$
|
|
82471
|
-
[vars$
|
|
82472
|
-
[vars$
|
|
82473
|
-
[vars$
|
|
82474
|
-
[vars$
|
|
82475
|
-
[vars$
|
|
82476
|
-
[vars$
|
|
82477
|
-
[vars$
|
|
82478
|
-
[vars$
|
|
82479
|
-
[vars$
|
|
82449
|
+
[vars$_.hostWidth]: refs$1.width,
|
|
82450
|
+
[vars$_.hostMinWidth]: refs$1.minWidth,
|
|
82451
|
+
[vars$_.hostDirection]: refs$1.direction,
|
|
82452
|
+
[vars$_.fontSize]: refs$1.fontSize,
|
|
82453
|
+
[vars$_.fontFamily]: refs$1.fontFamily,
|
|
82454
|
+
[vars$_.labelFontSize]: refs$1.labelFontSize,
|
|
82455
|
+
[vars$_.labelFontWeight]: refs$1.labelFontWeight,
|
|
82456
|
+
[vars$_.labelTextColor]: refs$1.labelTextColor,
|
|
82457
|
+
[vars$_.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
82458
|
+
[vars$_.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
82459
|
+
[vars$_.inputValueTextColor]: refs$1.valueTextColor,
|
|
82460
|
+
[vars$_.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
|
82461
|
+
[vars$_.inputBorderWidth]: refs$1.borderWidth,
|
|
82462
|
+
[vars$_.inputBorderStyle]: refs$1.borderStyle,
|
|
82463
|
+
[vars$_.inputBorderColor]: refs$1.borderColor,
|
|
82464
|
+
[vars$_.inputBorderRadius]: refs$1.borderRadius,
|
|
82465
|
+
[vars$_.inputOutlineWidth]: refs$1.outlineWidth,
|
|
82466
|
+
[vars$_.inputOutlineStyle]: refs$1.outlineStyle,
|
|
82467
|
+
[vars$_.inputOutlineColor]: refs$1.outlineColor,
|
|
82468
|
+
[vars$_.inputOutlineOffset]: refs$1.outlineOffset,
|
|
82469
|
+
[vars$_.inputBackgroundColor]: refs$1.backgroundColor,
|
|
82470
|
+
[vars$_.inputHeight]: refs$1.inputHeight,
|
|
82471
|
+
[vars$_.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
82472
|
+
[vars$_.helperTextColor]: refs$1.helperTextColor,
|
|
82473
|
+
[vars$_.textAlign]: refs$1.textAlign,
|
|
82480
82474
|
textAlign: {
|
|
82481
|
-
right: { [vars$
|
|
82482
|
-
left: { [vars$
|
|
82483
|
-
center: { [vars$
|
|
82475
|
+
right: { [vars$_.inputTextAlign]: 'right' },
|
|
82476
|
+
left: { [vars$_.inputTextAlign]: 'left' },
|
|
82477
|
+
center: { [vars$_.inputTextAlign]: 'center' },
|
|
82484
82478
|
},
|
|
82485
|
-
[vars$
|
|
82486
|
-
[vars$
|
|
82487
|
-
[vars$
|
|
82488
|
-
[vars$
|
|
82489
|
-
[vars$
|
|
82490
|
-
[vars$
|
|
82491
|
-
[vars$
|
|
82492
|
-
[vars$
|
|
82493
|
-
[vars$
|
|
82494
|
-
[vars$
|
|
82495
|
-
[vars$
|
|
82496
|
-
[vars$
|
|
82497
|
-
[vars$
|
|
82479
|
+
[vars$_.labelPosition]: refs$1.labelPosition,
|
|
82480
|
+
[vars$_.labelTopPosition]: refs$1.labelTopPosition,
|
|
82481
|
+
[vars$_.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
82482
|
+
[vars$_.inputTransformY]: refs$1.inputTransformY,
|
|
82483
|
+
[vars$_.inputTransition]: refs$1.inputTransition,
|
|
82484
|
+
[vars$_.marginInlineStart]: refs$1.marginInlineStart,
|
|
82485
|
+
[vars$_.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
82486
|
+
[vars$_.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
82487
|
+
[vars$_.valueInputHeight]: refs$1.valueInputHeight,
|
|
82488
|
+
[vars$_.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
82489
|
+
[vars$_.inputIconOffset]: globalRefs$E.spacing.md,
|
|
82490
|
+
[vars$_.inputIconSize]: refs$1.inputIconSize,
|
|
82491
|
+
[vars$_.inputIconColor]: refs$1.placeholderTextColor,
|
|
82498
82492
|
|
|
82499
82493
|
// error message icon
|
|
82500
|
-
[vars$
|
|
82501
|
-
[vars$
|
|
82502
|
-
[vars$
|
|
82503
|
-
[vars$
|
|
82504
|
-
[vars$
|
|
82505
|
-
[vars$
|
|
82494
|
+
[vars$_.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
82495
|
+
[vars$_.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
82496
|
+
[vars$_.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
82497
|
+
[vars$_.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
82498
|
+
[vars$_.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
82499
|
+
[vars$_.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
82506
82500
|
};
|
|
82507
82501
|
|
|
82508
82502
|
var textField$2 = /*#__PURE__*/Object.freeze({
|
|
82509
82503
|
__proto__: null,
|
|
82510
82504
|
default: textField$1,
|
|
82511
82505
|
textField: textField$1,
|
|
82512
|
-
vars: vars$
|
|
82506
|
+
vars: vars$_
|
|
82513
82507
|
});
|
|
82514
82508
|
|
|
82515
82509
|
const passwordDraggableMixin = (superclass) =>
|
|
@@ -82551,7 +82545,7 @@ function requireIndex_cjs () {
|
|
|
82551
82545
|
}
|
|
82552
82546
|
};
|
|
82553
82547
|
|
|
82554
|
-
const componentName$
|
|
82548
|
+
const componentName$18 = getComponentName$1('password');
|
|
82555
82549
|
|
|
82556
82550
|
const customMixin$d = (superclass) =>
|
|
82557
82551
|
class PasswordFieldMixinClass extends superclass {
|
|
@@ -82833,66 +82827,66 @@ function requireIndex_cjs () {
|
|
|
82833
82827
|
}
|
|
82834
82828
|
`,
|
|
82835
82829
|
excludeAttrsSync: ['tabindex'],
|
|
82836
|
-
componentName: componentName$
|
|
82830
|
+
componentName: componentName$18,
|
|
82837
82831
|
})
|
|
82838
82832
|
);
|
|
82839
82833
|
|
|
82840
82834
|
const globalRefs$D = getThemeRefs(globals$1);
|
|
82841
|
-
const vars$
|
|
82835
|
+
const vars$Z = PasswordClass.cssVarList;
|
|
82842
82836
|
|
|
82843
82837
|
const password = {
|
|
82844
|
-
[vars$
|
|
82845
|
-
[vars$
|
|
82846
|
-
[vars$
|
|
82847
|
-
[vars$
|
|
82848
|
-
[vars$
|
|
82849
|
-
[vars$
|
|
82850
|
-
[vars$
|
|
82851
|
-
[vars$
|
|
82852
|
-
[vars$
|
|
82853
|
-
[vars$
|
|
82854
|
-
[vars$
|
|
82855
|
-
[vars$
|
|
82856
|
-
[vars$
|
|
82857
|
-
[vars$
|
|
82858
|
-
[vars$
|
|
82859
|
-
[vars$
|
|
82860
|
-
[vars$
|
|
82861
|
-
[vars$
|
|
82862
|
-
[vars$
|
|
82863
|
-
[vars$
|
|
82864
|
-
[vars$
|
|
82865
|
-
[vars$
|
|
82866
|
-
[vars$
|
|
82867
|
-
[vars$
|
|
82868
|
-
[vars$
|
|
82869
|
-
[vars$
|
|
82870
|
-
[vars$
|
|
82871
|
-
[vars$
|
|
82872
|
-
[vars$
|
|
82873
|
-
[vars$
|
|
82874
|
-
[vars$
|
|
82875
|
-
[vars$
|
|
82876
|
-
[vars$
|
|
82877
|
-
[vars$
|
|
82878
|
-
[vars$
|
|
82838
|
+
[vars$Z.hostWidth]: refs$1.width,
|
|
82839
|
+
[vars$Z.hostMinWidth]: refs$1.minWidth,
|
|
82840
|
+
[vars$Z.hostDirection]: refs$1.direction,
|
|
82841
|
+
[vars$Z.fontSize]: refs$1.fontSize,
|
|
82842
|
+
[vars$Z.fontFamily]: refs$1.fontFamily,
|
|
82843
|
+
[vars$Z.labelFontSize]: refs$1.labelFontSize,
|
|
82844
|
+
[vars$Z.labelFontWeight]: refs$1.labelFontWeight,
|
|
82845
|
+
[vars$Z.labelTextColor]: refs$1.labelTextColor,
|
|
82846
|
+
[vars$Z.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
82847
|
+
[vars$Z.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
82848
|
+
[vars$Z.inputHeight]: refs$1.inputHeight,
|
|
82849
|
+
[vars$Z.inputBackgroundColor]: refs$1.backgroundColor,
|
|
82850
|
+
[vars$Z.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
82851
|
+
[vars$Z.inputValueTextColor]: refs$1.valueTextColor,
|
|
82852
|
+
[vars$Z.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
82853
|
+
[vars$Z.inputBorderWidth]: refs$1.borderWidth,
|
|
82854
|
+
[vars$Z.inputBorderStyle]: refs$1.borderStyle,
|
|
82855
|
+
[vars$Z.inputBorderColor]: refs$1.borderColor,
|
|
82856
|
+
[vars$Z.inputBorderRadius]: refs$1.borderRadius,
|
|
82857
|
+
[vars$Z.inputOutlineWidth]: refs$1.outlineWidth,
|
|
82858
|
+
[vars$Z.inputOutlineStyle]: refs$1.outlineStyle,
|
|
82859
|
+
[vars$Z.inputOutlineColor]: refs$1.outlineColor,
|
|
82860
|
+
[vars$Z.inputOutlineOffset]: refs$1.outlineOffset,
|
|
82861
|
+
[vars$Z.revealButtonOffset]: globalRefs$D.spacing.md,
|
|
82862
|
+
[vars$Z.revealButtonSize]: refs$1.toggleButtonSize,
|
|
82863
|
+
[vars$Z.revealButtonColor]: refs$1.placeholderTextColor,
|
|
82864
|
+
[vars$Z.labelPosition]: refs$1.labelPosition,
|
|
82865
|
+
[vars$Z.labelTopPosition]: refs$1.labelTopPosition,
|
|
82866
|
+
[vars$Z.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
82867
|
+
[vars$Z.inputTransformY]: refs$1.inputTransformY,
|
|
82868
|
+
[vars$Z.inputTransition]: refs$1.inputTransition,
|
|
82869
|
+
[vars$Z.marginInlineStart]: refs$1.marginInlineStart,
|
|
82870
|
+
[vars$Z.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
82871
|
+
[vars$Z.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
82872
|
+
[vars$Z.valueInputHeight]: refs$1.valueInputHeight,
|
|
82879
82873
|
|
|
82880
82874
|
// error message icon
|
|
82881
|
-
[vars$
|
|
82882
|
-
[vars$
|
|
82883
|
-
[vars$
|
|
82884
|
-
[vars$
|
|
82885
|
-
[vars$
|
|
82886
|
-
[vars$
|
|
82875
|
+
[vars$Z.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
82876
|
+
[vars$Z.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
82877
|
+
[vars$Z.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
82878
|
+
[vars$Z.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
82879
|
+
[vars$Z.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
82880
|
+
[vars$Z.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
82887
82881
|
};
|
|
82888
82882
|
|
|
82889
82883
|
var password$1 = /*#__PURE__*/Object.freeze({
|
|
82890
82884
|
__proto__: null,
|
|
82891
82885
|
default: password,
|
|
82892
|
-
vars: vars$
|
|
82886
|
+
vars: vars$Z
|
|
82893
82887
|
});
|
|
82894
82888
|
|
|
82895
|
-
const componentName$
|
|
82889
|
+
const componentName$17 = getComponentName$1('number-field');
|
|
82896
82890
|
|
|
82897
82891
|
const NumberFieldClass = compose$1(
|
|
82898
82892
|
createStyleMixin({
|
|
@@ -82926,63 +82920,63 @@ function requireIndex_cjs () {
|
|
|
82926
82920
|
}
|
|
82927
82921
|
`,
|
|
82928
82922
|
excludeAttrsSync: ['tabindex'],
|
|
82929
|
-
componentName: componentName$
|
|
82923
|
+
componentName: componentName$17,
|
|
82930
82924
|
})
|
|
82931
82925
|
);
|
|
82932
82926
|
|
|
82933
|
-
const vars$
|
|
82927
|
+
const vars$Y = NumberFieldClass.cssVarList;
|
|
82934
82928
|
|
|
82935
82929
|
const numberField = {
|
|
82936
|
-
[vars$
|
|
82937
|
-
[vars$
|
|
82938
|
-
[vars$
|
|
82939
|
-
[vars$
|
|
82940
|
-
[vars$
|
|
82941
|
-
[vars$
|
|
82942
|
-
[vars$
|
|
82943
|
-
[vars$
|
|
82944
|
-
[vars$
|
|
82945
|
-
[vars$
|
|
82946
|
-
[vars$
|
|
82947
|
-
[vars$
|
|
82948
|
-
[vars$
|
|
82949
|
-
[vars$
|
|
82950
|
-
[vars$
|
|
82951
|
-
[vars$
|
|
82952
|
-
[vars$
|
|
82953
|
-
[vars$
|
|
82954
|
-
[vars$
|
|
82955
|
-
[vars$
|
|
82956
|
-
[vars$
|
|
82957
|
-
[vars$
|
|
82958
|
-
[vars$
|
|
82959
|
-
[vars$
|
|
82960
|
-
[vars$
|
|
82961
|
-
[vars$
|
|
82962
|
-
[vars$
|
|
82963
|
-
[vars$
|
|
82964
|
-
[vars$
|
|
82965
|
-
[vars$
|
|
82966
|
-
[vars$
|
|
82967
|
-
[vars$
|
|
82968
|
-
[vars$
|
|
82930
|
+
[vars$Y.hostWidth]: refs$1.width,
|
|
82931
|
+
[vars$Y.hostMinWidth]: refs$1.minWidth,
|
|
82932
|
+
[vars$Y.hostDirection]: refs$1.direction,
|
|
82933
|
+
[vars$Y.fontSize]: refs$1.fontSize,
|
|
82934
|
+
[vars$Y.fontFamily]: refs$1.fontFamily,
|
|
82935
|
+
[vars$Y.labelFontSize]: refs$1.labelFontSize,
|
|
82936
|
+
[vars$Y.labelFontWeight]: refs$1.labelFontWeight,
|
|
82937
|
+
[vars$Y.labelTextColor]: refs$1.labelTextColor,
|
|
82938
|
+
[vars$Y.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
82939
|
+
[vars$Y.inputValueTextColor]: refs$1.valueTextColor,
|
|
82940
|
+
[vars$Y.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
|
82941
|
+
[vars$Y.inputBorderWidth]: refs$1.borderWidth,
|
|
82942
|
+
[vars$Y.inputBorderStyle]: refs$1.borderStyle,
|
|
82943
|
+
[vars$Y.inputBorderColor]: refs$1.borderColor,
|
|
82944
|
+
[vars$Y.inputBorderRadius]: refs$1.borderRadius,
|
|
82945
|
+
[vars$Y.inputOutlineWidth]: refs$1.outlineWidth,
|
|
82946
|
+
[vars$Y.inputOutlineStyle]: refs$1.outlineStyle,
|
|
82947
|
+
[vars$Y.inputOutlineColor]: refs$1.outlineColor,
|
|
82948
|
+
[vars$Y.inputOutlineOffset]: refs$1.outlineOffset,
|
|
82949
|
+
[vars$Y.inputBackgroundColor]: refs$1.backgroundColor,
|
|
82950
|
+
[vars$Y.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
82951
|
+
[vars$Y.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
82952
|
+
[vars$Y.inputHeight]: refs$1.inputHeight,
|
|
82953
|
+
[vars$Y.labelPosition]: refs$1.labelPosition,
|
|
82954
|
+
[vars$Y.labelTopPosition]: refs$1.labelTopPosition,
|
|
82955
|
+
[vars$Y.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
82956
|
+
[vars$Y.inputTransformY]: refs$1.inputTransformY,
|
|
82957
|
+
[vars$Y.inputTransition]: refs$1.inputTransition,
|
|
82958
|
+
[vars$Y.marginInlineStart]: refs$1.marginInlineStart,
|
|
82959
|
+
[vars$Y.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
82960
|
+
[vars$Y.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
82961
|
+
[vars$Y.valueInputHeight]: refs$1.valueInputHeight,
|
|
82962
|
+
[vars$Y.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
82969
82963
|
|
|
82970
82964
|
// error message icon
|
|
82971
|
-
[vars$
|
|
82972
|
-
[vars$
|
|
82973
|
-
[vars$
|
|
82974
|
-
[vars$
|
|
82975
|
-
[vars$
|
|
82976
|
-
[vars$
|
|
82965
|
+
[vars$Y.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
82966
|
+
[vars$Y.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
82967
|
+
[vars$Y.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
82968
|
+
[vars$Y.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
82969
|
+
[vars$Y.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
82970
|
+
[vars$Y.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
82977
82971
|
};
|
|
82978
82972
|
|
|
82979
82973
|
var numberField$1 = /*#__PURE__*/Object.freeze({
|
|
82980
82974
|
__proto__: null,
|
|
82981
82975
|
default: numberField,
|
|
82982
|
-
vars: vars$
|
|
82976
|
+
vars: vars$Y
|
|
82983
82977
|
});
|
|
82984
82978
|
|
|
82985
|
-
const componentName$
|
|
82979
|
+
const componentName$16 = getComponentName$1('email-field');
|
|
82986
82980
|
|
|
82987
82981
|
const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
|
82988
82982
|
const defaultAutocomplete = 'username';
|
|
@@ -83051,63 +83045,63 @@ function requireIndex_cjs () {
|
|
|
83051
83045
|
}
|
|
83052
83046
|
`,
|
|
83053
83047
|
excludeAttrsSync: ['tabindex'],
|
|
83054
|
-
componentName: componentName$
|
|
83048
|
+
componentName: componentName$16,
|
|
83055
83049
|
})
|
|
83056
83050
|
);
|
|
83057
83051
|
|
|
83058
|
-
const vars$
|
|
83052
|
+
const vars$X = EmailFieldClass.cssVarList;
|
|
83059
83053
|
|
|
83060
83054
|
const emailField = {
|
|
83061
|
-
[vars$
|
|
83062
|
-
[vars$
|
|
83063
|
-
[vars$
|
|
83064
|
-
[vars$
|
|
83065
|
-
[vars$
|
|
83066
|
-
[vars$
|
|
83067
|
-
[vars$
|
|
83068
|
-
[vars$
|
|
83069
|
-
[vars$
|
|
83070
|
-
[vars$
|
|
83071
|
-
[vars$
|
|
83072
|
-
[vars$
|
|
83073
|
-
[vars$
|
|
83074
|
-
[vars$
|
|
83075
|
-
[vars$
|
|
83076
|
-
[vars$
|
|
83077
|
-
[vars$
|
|
83078
|
-
[vars$
|
|
83079
|
-
[vars$
|
|
83080
|
-
[vars$
|
|
83081
|
-
[vars$
|
|
83082
|
-
[vars$
|
|
83083
|
-
[vars$
|
|
83084
|
-
[vars$
|
|
83085
|
-
[vars$
|
|
83086
|
-
[vars$
|
|
83087
|
-
[vars$
|
|
83088
|
-
[vars$
|
|
83089
|
-
[vars$
|
|
83090
|
-
[vars$
|
|
83091
|
-
[vars$
|
|
83092
|
-
[vars$
|
|
83093
|
-
[vars$
|
|
83055
|
+
[vars$X.hostWidth]: refs$1.width,
|
|
83056
|
+
[vars$X.hostMinWidth]: refs$1.minWidth,
|
|
83057
|
+
[vars$X.hostDirection]: refs$1.direction,
|
|
83058
|
+
[vars$X.fontSize]: refs$1.fontSize,
|
|
83059
|
+
[vars$X.fontFamily]: refs$1.fontFamily,
|
|
83060
|
+
[vars$X.labelFontSize]: refs$1.labelFontSize,
|
|
83061
|
+
[vars$X.labelFontWeight]: refs$1.labelFontWeight,
|
|
83062
|
+
[vars$X.labelTextColor]: refs$1.labelTextColor,
|
|
83063
|
+
[vars$X.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
83064
|
+
[vars$X.inputValueTextColor]: refs$1.valueTextColor,
|
|
83065
|
+
[vars$X.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
83066
|
+
[vars$X.inputPlaceholderColor]: refs$1.placeholderTextColor,
|
|
83067
|
+
[vars$X.inputBorderWidth]: refs$1.borderWidth,
|
|
83068
|
+
[vars$X.inputBorderStyle]: refs$1.borderStyle,
|
|
83069
|
+
[vars$X.inputBorderColor]: refs$1.borderColor,
|
|
83070
|
+
[vars$X.inputBorderRadius]: refs$1.borderRadius,
|
|
83071
|
+
[vars$X.inputOutlineWidth]: refs$1.outlineWidth,
|
|
83072
|
+
[vars$X.inputOutlineStyle]: refs$1.outlineStyle,
|
|
83073
|
+
[vars$X.inputOutlineColor]: refs$1.outlineColor,
|
|
83074
|
+
[vars$X.inputOutlineOffset]: refs$1.outlineOffset,
|
|
83075
|
+
[vars$X.inputBackgroundColor]: refs$1.backgroundColor,
|
|
83076
|
+
[vars$X.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
83077
|
+
[vars$X.inputHeight]: refs$1.inputHeight,
|
|
83078
|
+
[vars$X.labelPosition]: refs$1.labelPosition,
|
|
83079
|
+
[vars$X.labelTopPosition]: refs$1.labelTopPosition,
|
|
83080
|
+
[vars$X.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
83081
|
+
[vars$X.inputTransformY]: refs$1.inputTransformY,
|
|
83082
|
+
[vars$X.inputTransition]: refs$1.inputTransition,
|
|
83083
|
+
[vars$X.marginInlineStart]: refs$1.marginInlineStart,
|
|
83084
|
+
[vars$X.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
83085
|
+
[vars$X.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
83086
|
+
[vars$X.valueInputHeight]: refs$1.valueInputHeight,
|
|
83087
|
+
[vars$X.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
83094
83088
|
|
|
83095
83089
|
// error message icon
|
|
83096
|
-
[vars$
|
|
83097
|
-
[vars$
|
|
83098
|
-
[vars$
|
|
83099
|
-
[vars$
|
|
83100
|
-
[vars$
|
|
83101
|
-
[vars$
|
|
83090
|
+
[vars$X.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
83091
|
+
[vars$X.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
83092
|
+
[vars$X.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
83093
|
+
[vars$X.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
83094
|
+
[vars$X.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
83095
|
+
[vars$X.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
83102
83096
|
};
|
|
83103
83097
|
|
|
83104
83098
|
var emailField$1 = /*#__PURE__*/Object.freeze({
|
|
83105
83099
|
__proto__: null,
|
|
83106
83100
|
default: emailField,
|
|
83107
|
-
vars: vars$
|
|
83101
|
+
vars: vars$X
|
|
83108
83102
|
});
|
|
83109
83103
|
|
|
83110
|
-
const componentName$
|
|
83104
|
+
const componentName$15 = getComponentName$1('text-area');
|
|
83111
83105
|
|
|
83112
83106
|
const {
|
|
83113
83107
|
host: host$q,
|
|
@@ -83189,58 +83183,58 @@ function requireIndex_cjs () {
|
|
|
83189
83183
|
${resetInputCursor('vaadin-text-area')}
|
|
83190
83184
|
`,
|
|
83191
83185
|
excludeAttrsSync: ['tabindex'],
|
|
83192
|
-
componentName: componentName$
|
|
83186
|
+
componentName: componentName$15,
|
|
83193
83187
|
})
|
|
83194
83188
|
);
|
|
83195
83189
|
|
|
83196
|
-
const vars$
|
|
83190
|
+
const vars$W = TextAreaClass.cssVarList;
|
|
83197
83191
|
|
|
83198
83192
|
const textArea = {
|
|
83199
|
-
[vars$
|
|
83200
|
-
[vars$
|
|
83201
|
-
[vars$
|
|
83202
|
-
[vars$
|
|
83203
|
-
[vars$
|
|
83204
|
-
[vars$
|
|
83205
|
-
[vars$
|
|
83206
|
-
[vars$
|
|
83207
|
-
[vars$
|
|
83208
|
-
[vars$
|
|
83209
|
-
[vars$
|
|
83210
|
-
[vars$
|
|
83211
|
-
[vars$
|
|
83212
|
-
[vars$
|
|
83213
|
-
[vars$
|
|
83214
|
-
[vars$
|
|
83215
|
-
[vars$
|
|
83216
|
-
[vars$
|
|
83217
|
-
[vars$
|
|
83218
|
-
[vars$
|
|
83219
|
-
[vars$
|
|
83193
|
+
[vars$W.hostWidth]: refs$1.width,
|
|
83194
|
+
[vars$W.hostMinWidth]: refs$1.minWidth,
|
|
83195
|
+
[vars$W.hostDirection]: refs$1.direction,
|
|
83196
|
+
[vars$W.fontSize]: refs$1.fontSize,
|
|
83197
|
+
[vars$W.fontFamily]: refs$1.fontFamily,
|
|
83198
|
+
[vars$W.labelTextColor]: refs$1.labelTextColor,
|
|
83199
|
+
[vars$W.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
83200
|
+
[vars$W.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
83201
|
+
[vars$W.inputBackgroundColor]: refs$1.backgroundColor,
|
|
83202
|
+
[vars$W.inputValueTextColor]: refs$1.valueTextColor,
|
|
83203
|
+
[vars$W.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
83204
|
+
[vars$W.inputBorderRadius]: refs$1.borderRadius,
|
|
83205
|
+
[vars$W.inputBorderWidth]: refs$1.borderWidth,
|
|
83206
|
+
[vars$W.inputBorderStyle]: refs$1.borderStyle,
|
|
83207
|
+
[vars$W.inputBorderColor]: refs$1.borderColor,
|
|
83208
|
+
[vars$W.inputOutlineWidth]: refs$1.outlineWidth,
|
|
83209
|
+
[vars$W.inputOutlineStyle]: refs$1.outlineStyle,
|
|
83210
|
+
[vars$W.inputOutlineColor]: refs$1.outlineColor,
|
|
83211
|
+
[vars$W.inputOutlineOffset]: refs$1.outlineOffset,
|
|
83212
|
+
[vars$W.inputResizeType]: 'vertical',
|
|
83213
|
+
[vars$W.inputMinHeight]: '5em',
|
|
83220
83214
|
|
|
83221
83215
|
// error message icon
|
|
83222
|
-
[vars$
|
|
83223
|
-
[vars$
|
|
83224
|
-
[vars$
|
|
83225
|
-
[vars$
|
|
83226
|
-
[vars$
|
|
83227
|
-
[vars$
|
|
83216
|
+
[vars$W.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
83217
|
+
[vars$W.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
83218
|
+
[vars$W.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
83219
|
+
[vars$W.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
83220
|
+
[vars$W.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
83221
|
+
[vars$W.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
83228
83222
|
|
|
83229
83223
|
textAlign: {
|
|
83230
|
-
right: { [vars$
|
|
83231
|
-
left: { [vars$
|
|
83232
|
-
center: { [vars$
|
|
83224
|
+
right: { [vars$W.inputTextAlign]: 'right' },
|
|
83225
|
+
left: { [vars$W.inputTextAlign]: 'left' },
|
|
83226
|
+
center: { [vars$W.inputTextAlign]: 'center' },
|
|
83233
83227
|
},
|
|
83234
83228
|
|
|
83235
83229
|
_readonly: {
|
|
83236
|
-
[vars$
|
|
83230
|
+
[vars$W.inputResizeType]: 'none',
|
|
83237
83231
|
},
|
|
83238
83232
|
};
|
|
83239
83233
|
|
|
83240
83234
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
|
83241
83235
|
__proto__: null,
|
|
83242
83236
|
default: textArea,
|
|
83243
|
-
vars: vars$
|
|
83237
|
+
vars: vars$W
|
|
83244
83238
|
});
|
|
83245
83239
|
|
|
83246
83240
|
const createBaseInputClass = (...args) =>
|
|
@@ -83251,9 +83245,9 @@ function requireIndex_cjs () {
|
|
|
83251
83245
|
inputEventsDispatchingMixin
|
|
83252
83246
|
)(createBaseClass(...args));
|
|
83253
83247
|
|
|
83254
|
-
const componentName$
|
|
83248
|
+
const componentName$14 = getComponentName$1('boolean-field-internal');
|
|
83255
83249
|
|
|
83256
|
-
createBaseInputClass({ componentName: componentName$
|
|
83250
|
+
createBaseInputClass({ componentName: componentName$14, baseSelector: 'div' });
|
|
83257
83251
|
|
|
83258
83252
|
const booleanFieldMixin = (superclass) =>
|
|
83259
83253
|
class BooleanFieldMixinClass extends superclass {
|
|
@@ -83262,14 +83256,14 @@ function requireIndex_cjs () {
|
|
|
83262
83256
|
|
|
83263
83257
|
const template = document.createElement('template');
|
|
83264
83258
|
template.innerHTML = `
|
|
83265
|
-
<${componentName$
|
|
83259
|
+
<${componentName$14}
|
|
83266
83260
|
tabindex="-1"
|
|
83267
83261
|
slot="input"
|
|
83268
|
-
></${componentName$
|
|
83262
|
+
></${componentName$14}>
|
|
83269
83263
|
`;
|
|
83270
83264
|
|
|
83271
83265
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
83272
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
83266
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$14);
|
|
83273
83267
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
83274
83268
|
|
|
83275
83269
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -83338,7 +83332,7 @@ descope-boolean-field-internal {
|
|
|
83338
83332
|
}
|
|
83339
83333
|
`;
|
|
83340
83334
|
|
|
83341
|
-
const componentName$
|
|
83335
|
+
const componentName$13 = getComponentName$1('checkbox');
|
|
83342
83336
|
|
|
83343
83337
|
const {
|
|
83344
83338
|
host: host$p,
|
|
@@ -83456,52 +83450,52 @@ descope-boolean-field-internal {
|
|
|
83456
83450
|
}
|
|
83457
83451
|
`,
|
|
83458
83452
|
excludeAttrsSync: ['label', 'tabindex'],
|
|
83459
|
-
componentName: componentName$
|
|
83453
|
+
componentName: componentName$13,
|
|
83460
83454
|
})
|
|
83461
83455
|
);
|
|
83462
83456
|
|
|
83463
|
-
const vars$
|
|
83457
|
+
const vars$V = CheckboxClass.cssVarList;
|
|
83464
83458
|
const checkboxSize = '1.35em';
|
|
83465
83459
|
|
|
83466
83460
|
const checkbox = {
|
|
83467
|
-
[vars$
|
|
83468
|
-
[vars$
|
|
83469
|
-
[vars$
|
|
83470
|
-
[vars$
|
|
83471
|
-
[vars$
|
|
83472
|
-
[vars$
|
|
83473
|
-
[vars$
|
|
83474
|
-
[vars$
|
|
83475
|
-
[vars$
|
|
83476
|
-
[vars$
|
|
83477
|
-
[vars$
|
|
83478
|
-
[vars$
|
|
83479
|
-
[vars$
|
|
83480
|
-
[vars$
|
|
83481
|
-
[vars$
|
|
83482
|
-
[vars$
|
|
83483
|
-
[vars$
|
|
83484
|
-
[vars$
|
|
83485
|
-
[vars$
|
|
83486
|
-
[vars$
|
|
83487
|
-
[vars$
|
|
83461
|
+
[vars$V.hostWidth]: refs$1.width,
|
|
83462
|
+
[vars$V.hostDirection]: refs$1.direction,
|
|
83463
|
+
[vars$V.fontSize]: refs$1.fontSize,
|
|
83464
|
+
[vars$V.fontFamily]: refs$1.fontFamily,
|
|
83465
|
+
[vars$V.labelTextColor]: refs$1.labelTextColor,
|
|
83466
|
+
[vars$V.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
83467
|
+
[vars$V.labelFontWeight]: '400',
|
|
83468
|
+
[vars$V.labelLineHeight]: checkboxSize,
|
|
83469
|
+
[vars$V.labelSpacing]: '1em',
|
|
83470
|
+
[vars$V.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
83471
|
+
[vars$V.inputOutlineWidth]: refs$1.outlineWidth,
|
|
83472
|
+
[vars$V.inputOutlineOffset]: refs$1.outlineOffset,
|
|
83473
|
+
[vars$V.inputOutlineColor]: refs$1.outlineColor,
|
|
83474
|
+
[vars$V.inputOutlineStyle]: refs$1.outlineStyle,
|
|
83475
|
+
[vars$V.inputBorderRadius]: refs$1.borderRadius,
|
|
83476
|
+
[vars$V.inputBorderColor]: refs$1.borderColor,
|
|
83477
|
+
[vars$V.inputBorderWidth]: refs$1.borderWidth,
|
|
83478
|
+
[vars$V.inputBorderStyle]: refs$1.borderStyle,
|
|
83479
|
+
[vars$V.inputBackgroundColor]: refs$1.backgroundColor,
|
|
83480
|
+
[vars$V.inputSize]: checkboxSize,
|
|
83481
|
+
[vars$V.inputValueTextColor]: refs$1.valueTextColor,
|
|
83488
83482
|
|
|
83489
83483
|
// error message icon
|
|
83490
|
-
[vars$
|
|
83491
|
-
[vars$
|
|
83492
|
-
[vars$
|
|
83493
|
-
[vars$
|
|
83494
|
-
[vars$
|
|
83495
|
-
[vars$
|
|
83484
|
+
[vars$V.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
83485
|
+
[vars$V.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
83486
|
+
[vars$V.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
83487
|
+
[vars$V.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
83488
|
+
[vars$V.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
83489
|
+
[vars$V.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
83496
83490
|
};
|
|
83497
83491
|
|
|
83498
83492
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
|
83499
83493
|
__proto__: null,
|
|
83500
83494
|
default: checkbox,
|
|
83501
|
-
vars: vars$
|
|
83495
|
+
vars: vars$V
|
|
83502
83496
|
});
|
|
83503
83497
|
|
|
83504
|
-
const componentName$
|
|
83498
|
+
const componentName$12 = getComponentName$1('switch-toggle');
|
|
83505
83499
|
|
|
83506
83500
|
const {
|
|
83507
83501
|
host: host$o,
|
|
@@ -83640,7 +83634,7 @@ descope-boolean-field-internal {
|
|
|
83640
83634
|
}
|
|
83641
83635
|
`,
|
|
83642
83636
|
excludeAttrsSync: ['label', 'tabindex'],
|
|
83643
|
-
componentName: componentName$
|
|
83637
|
+
componentName: componentName$12,
|
|
83644
83638
|
})
|
|
83645
83639
|
);
|
|
83646
83640
|
|
|
@@ -83648,82 +83642,82 @@ descope-boolean-field-internal {
|
|
|
83648
83642
|
const checkboxHeight = '1.25em';
|
|
83649
83643
|
|
|
83650
83644
|
const globalRefs$C = getThemeRefs(globals$1);
|
|
83651
|
-
const vars$
|
|
83645
|
+
const vars$U = SwitchToggleClass.cssVarList;
|
|
83652
83646
|
|
|
83653
83647
|
const switchToggle = {
|
|
83654
|
-
[vars$
|
|
83655
|
-
[vars$
|
|
83656
|
-
[vars$
|
|
83657
|
-
[vars$
|
|
83658
|
-
|
|
83659
|
-
[vars$
|
|
83660
|
-
[vars$
|
|
83661
|
-
[vars$
|
|
83662
|
-
[vars$
|
|
83663
|
-
|
|
83664
|
-
[vars$
|
|
83665
|
-
[vars$
|
|
83666
|
-
[vars$
|
|
83667
|
-
[vars$
|
|
83668
|
-
[vars$
|
|
83669
|
-
[vars$
|
|
83670
|
-
[vars$
|
|
83671
|
-
|
|
83672
|
-
[vars$
|
|
83673
|
-
[vars$
|
|
83674
|
-
[vars$
|
|
83675
|
-
[vars$
|
|
83676
|
-
[vars$
|
|
83677
|
-
[vars$
|
|
83678
|
-
|
|
83679
|
-
[vars$
|
|
83680
|
-
[vars$
|
|
83681
|
-
[vars$
|
|
83682
|
-
[vars$
|
|
83683
|
-
[vars$
|
|
83684
|
-
[vars$
|
|
83648
|
+
[vars$U.hostWidth]: refs$1.width,
|
|
83649
|
+
[vars$U.hostDirection]: refs$1.direction,
|
|
83650
|
+
[vars$U.fontSize]: refs$1.fontSize,
|
|
83651
|
+
[vars$U.fontFamily]: refs$1.fontFamily,
|
|
83652
|
+
|
|
83653
|
+
[vars$U.inputOutlineWidth]: refs$1.outlineWidth,
|
|
83654
|
+
[vars$U.inputOutlineOffset]: refs$1.outlineOffset,
|
|
83655
|
+
[vars$U.inputOutlineColor]: refs$1.outlineColor,
|
|
83656
|
+
[vars$U.inputOutlineStyle]: refs$1.outlineStyle,
|
|
83657
|
+
|
|
83658
|
+
[vars$U.trackBorderStyle]: refs$1.borderStyle,
|
|
83659
|
+
[vars$U.trackBorderWidth]: refs$1.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
|
83660
|
+
[vars$U.trackBorderColor]: refs$1.borderColor,
|
|
83661
|
+
[vars$U.trackBackgroundColor]: refs$1.backgroundColor,
|
|
83662
|
+
[vars$U.trackBorderRadius]: globalRefs$C.radius.md,
|
|
83663
|
+
[vars$U.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
|
83664
|
+
[vars$U.trackHeight]: checkboxHeight,
|
|
83665
|
+
|
|
83666
|
+
[vars$U.knobSize]: `calc(1em - ${knobMargin})`,
|
|
83667
|
+
[vars$U.knobRadius]: '50%',
|
|
83668
|
+
[vars$U.knobTopOffset]: '1px',
|
|
83669
|
+
[vars$U.knobLeftOffset]: knobMargin,
|
|
83670
|
+
[vars$U.knobColor]: refs$1.labelTextColor,
|
|
83671
|
+
[vars$U.knobTransitionDuration]: '0.3s',
|
|
83672
|
+
|
|
83673
|
+
[vars$U.labelTextColor]: refs$1.labelTextColor,
|
|
83674
|
+
[vars$U.labelFontWeight]: '400',
|
|
83675
|
+
[vars$U.labelLineHeight]: '1.35em',
|
|
83676
|
+
[vars$U.labelSpacing]: '1em',
|
|
83677
|
+
[vars$U.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
83678
|
+
[vars$U.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
83685
83679
|
|
|
83686
83680
|
// error message icon
|
|
83687
|
-
[vars$
|
|
83688
|
-
[vars$
|
|
83689
|
-
[vars$
|
|
83690
|
-
[vars$
|
|
83691
|
-
[vars$
|
|
83692
|
-
[vars$
|
|
83681
|
+
[vars$U.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
83682
|
+
[vars$U.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
83683
|
+
[vars$U.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
83684
|
+
[vars$U.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
83685
|
+
[vars$U.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
83686
|
+
[vars$U.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
83693
83687
|
|
|
83694
83688
|
_checked: {
|
|
83695
|
-
[vars$
|
|
83696
|
-
[vars$
|
|
83697
|
-
[vars$
|
|
83698
|
-
[vars$
|
|
83689
|
+
[vars$U.trackBorderColor]: refs$1.borderColor,
|
|
83690
|
+
[vars$U.knobLeftOffset]: `calc(100% - var(${vars$U.knobSize}) - ${knobMargin})`,
|
|
83691
|
+
[vars$U.knobColor]: refs$1.valueTextColor,
|
|
83692
|
+
[vars$U.knobTextColor]: refs$1.valueTextColor,
|
|
83699
83693
|
},
|
|
83700
83694
|
|
|
83701
83695
|
_disabled: {
|
|
83702
|
-
[vars$
|
|
83703
|
-
[vars$
|
|
83704
|
-
[vars$
|
|
83705
|
-
[vars$
|
|
83696
|
+
[vars$U.knobColor]: globalRefs$C.colors.surface.light,
|
|
83697
|
+
[vars$U.trackBorderColor]: globalRefs$C.colors.surface.light,
|
|
83698
|
+
[vars$U.trackBackgroundColor]: globalRefs$C.colors.surface.main,
|
|
83699
|
+
[vars$U.labelTextColor]: refs$1.labelTextColor,
|
|
83706
83700
|
_checked: {
|
|
83707
|
-
[vars$
|
|
83708
|
-
[vars$
|
|
83701
|
+
[vars$U.knobColor]: globalRefs$C.colors.surface.light,
|
|
83702
|
+
[vars$U.trackBackgroundColor]: globalRefs$C.colors.surface.main,
|
|
83709
83703
|
},
|
|
83710
83704
|
},
|
|
83711
83705
|
|
|
83712
83706
|
_invalid: {
|
|
83713
|
-
[vars$
|
|
83714
|
-
[vars$
|
|
83707
|
+
[vars$U.trackBorderColor]: globalRefs$C.colors.error.main,
|
|
83708
|
+
[vars$U.knobColor]: globalRefs$C.colors.error.main,
|
|
83715
83709
|
},
|
|
83716
83710
|
};
|
|
83717
83711
|
|
|
83718
83712
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
|
83719
83713
|
__proto__: null,
|
|
83720
83714
|
default: switchToggle,
|
|
83721
|
-
vars: vars$
|
|
83715
|
+
vars: vars$U
|
|
83722
83716
|
});
|
|
83723
83717
|
|
|
83724
|
-
const componentName$
|
|
83718
|
+
const componentName$11 = getComponentName$1('container');
|
|
83725
83719
|
|
|
83726
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
|
83720
|
+
class RawContainer extends createBaseClass({ componentName: componentName$11, baseSelector: 'slot' }) {
|
|
83727
83721
|
constructor() {
|
|
83728
83722
|
super();
|
|
83729
83723
|
|
|
@@ -83808,7 +83802,7 @@ descope-boolean-field-internal {
|
|
|
83808
83802
|
horizontalAlignment,
|
|
83809
83803
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
83810
83804
|
},
|
|
83811
|
-
componentName$
|
|
83805
|
+
componentName$11
|
|
83812
83806
|
);
|
|
83813
83807
|
|
|
83814
83808
|
const { shadowColor: shadowColor$4 } = helperRefs$4;
|
|
@@ -83903,7 +83897,7 @@ descope-boolean-field-internal {
|
|
|
83903
83897
|
},
|
|
83904
83898
|
};
|
|
83905
83899
|
|
|
83906
|
-
const vars$
|
|
83900
|
+
const vars$T = {
|
|
83907
83901
|
...compVars$7,
|
|
83908
83902
|
...helperVars$4,
|
|
83909
83903
|
};
|
|
@@ -83911,7 +83905,7 @@ descope-boolean-field-internal {
|
|
|
83911
83905
|
var container$1 = /*#__PURE__*/Object.freeze({
|
|
83912
83906
|
__proto__: null,
|
|
83913
83907
|
default: container,
|
|
83914
|
-
vars: vars$
|
|
83908
|
+
vars: vars$T
|
|
83915
83909
|
});
|
|
83916
83910
|
|
|
83917
83911
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
|
@@ -83968,70 +83962,70 @@ descope-boolean-field-internal {
|
|
|
83968
83962
|
return CssVarImageClass;
|
|
83969
83963
|
};
|
|
83970
83964
|
|
|
83971
|
-
const componentName
|
|
83965
|
+
const componentName$10 = getComponentName$1('logo');
|
|
83972
83966
|
|
|
83973
83967
|
const LogoClass = createCssVarImageClass({
|
|
83974
|
-
componentName: componentName
|
|
83968
|
+
componentName: componentName$10,
|
|
83975
83969
|
varName: 'url',
|
|
83976
83970
|
fallbackVarName: 'fallbackUrl',
|
|
83977
83971
|
});
|
|
83978
83972
|
|
|
83979
|
-
const vars$
|
|
83973
|
+
const vars$S = LogoClass.cssVarList;
|
|
83980
83974
|
|
|
83981
83975
|
const logo$2 = {
|
|
83982
|
-
[vars$
|
|
83976
|
+
[vars$S.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
|
83983
83977
|
};
|
|
83984
83978
|
|
|
83985
83979
|
var logo$3 = /*#__PURE__*/Object.freeze({
|
|
83986
83980
|
__proto__: null,
|
|
83987
83981
|
default: logo$2,
|
|
83988
|
-
vars: vars$
|
|
83982
|
+
vars: vars$S
|
|
83989
83983
|
});
|
|
83990
83984
|
|
|
83991
|
-
const componentName
|
|
83985
|
+
const componentName$$ = getComponentName$1('totp-image');
|
|
83992
83986
|
|
|
83993
83987
|
const TotpImageClass = createCssVarImageClass({
|
|
83994
|
-
componentName: componentName
|
|
83988
|
+
componentName: componentName$$,
|
|
83995
83989
|
varName: 'url',
|
|
83996
83990
|
fallbackVarName: 'fallbackUrl',
|
|
83997
83991
|
});
|
|
83998
83992
|
|
|
83999
|
-
const vars$
|
|
83993
|
+
const vars$R = TotpImageClass.cssVarList;
|
|
84000
83994
|
|
|
84001
83995
|
const logo$1 = {
|
|
84002
|
-
[vars$
|
|
83996
|
+
[vars$R.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
|
84003
83997
|
};
|
|
84004
83998
|
|
|
84005
83999
|
var totpImage = /*#__PURE__*/Object.freeze({
|
|
84006
84000
|
__proto__: null,
|
|
84007
84001
|
default: logo$1,
|
|
84008
|
-
vars: vars$
|
|
84002
|
+
vars: vars$R
|
|
84009
84003
|
});
|
|
84010
84004
|
|
|
84011
|
-
const componentName$
|
|
84005
|
+
const componentName$_ = getComponentName$1('notp-image');
|
|
84012
84006
|
|
|
84013
84007
|
const NotpImageClass = createCssVarImageClass({
|
|
84014
|
-
componentName: componentName$
|
|
84008
|
+
componentName: componentName$_,
|
|
84015
84009
|
varName: 'url',
|
|
84016
84010
|
fallbackVarName: 'fallbackUrl',
|
|
84017
84011
|
});
|
|
84018
84012
|
|
|
84019
|
-
const vars$
|
|
84013
|
+
const vars$Q = NotpImageClass.cssVarList;
|
|
84020
84014
|
|
|
84021
84015
|
const logo = {
|
|
84022
|
-
[vars$
|
|
84016
|
+
[vars$Q.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
|
|
84023
84017
|
};
|
|
84024
84018
|
|
|
84025
84019
|
var notpImage = /*#__PURE__*/Object.freeze({
|
|
84026
84020
|
__proto__: null,
|
|
84027
84021
|
default: logo,
|
|
84028
|
-
vars: vars$
|
|
84022
|
+
vars: vars$Q
|
|
84029
84023
|
});
|
|
84030
84024
|
|
|
84031
|
-
const componentName$
|
|
84025
|
+
const componentName$Z = getComponentName('text');
|
|
84032
84026
|
|
|
84033
84027
|
class RawText extends createBaseClass$1({
|
|
84034
|
-
componentName: componentName$
|
|
84028
|
+
componentName: componentName$Z,
|
|
84035
84029
|
baseSelector: ':host > slot',
|
|
84036
84030
|
}) {
|
|
84037
84031
|
constructor() {
|
|
@@ -84094,106 +84088,106 @@ descope-boolean-field-internal {
|
|
|
84094
84088
|
)(RawText);
|
|
84095
84089
|
|
|
84096
84090
|
const globalRefs$A = getThemeRefs$1(globals);
|
|
84097
|
-
const vars$
|
|
84091
|
+
const vars$P = TextClass.cssVarList;
|
|
84098
84092
|
|
|
84099
84093
|
const text$3 = {
|
|
84100
|
-
[vars$
|
|
84101
|
-
[vars$
|
|
84102
|
-
[vars$
|
|
84103
|
-
[vars$
|
|
84094
|
+
[vars$P.hostDirection]: globalRefs$A.direction,
|
|
84095
|
+
[vars$P.textLineHeight]: '1.35em',
|
|
84096
|
+
[vars$P.textAlign]: 'left',
|
|
84097
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.dark,
|
|
84104
84098
|
|
|
84105
84099
|
variant: {
|
|
84106
84100
|
h1: {
|
|
84107
|
-
[vars$
|
|
84108
|
-
[vars$
|
|
84109
|
-
[vars$
|
|
84101
|
+
[vars$P.fontSize]: globalRefs$A.typography.h1.size,
|
|
84102
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h1.weight,
|
|
84103
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h1.font,
|
|
84110
84104
|
},
|
|
84111
84105
|
h2: {
|
|
84112
|
-
[vars$
|
|
84113
|
-
[vars$
|
|
84114
|
-
[vars$
|
|
84106
|
+
[vars$P.fontSize]: globalRefs$A.typography.h2.size,
|
|
84107
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h2.weight,
|
|
84108
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h2.font,
|
|
84115
84109
|
},
|
|
84116
84110
|
h3: {
|
|
84117
|
-
[vars$
|
|
84118
|
-
[vars$
|
|
84119
|
-
[vars$
|
|
84111
|
+
[vars$P.fontSize]: globalRefs$A.typography.h3.size,
|
|
84112
|
+
[vars$P.fontWeight]: globalRefs$A.typography.h3.weight,
|
|
84113
|
+
[vars$P.fontFamily]: globalRefs$A.typography.h3.font,
|
|
84120
84114
|
},
|
|
84121
84115
|
subtitle1: {
|
|
84122
|
-
[vars$
|
|
84123
|
-
[vars$
|
|
84124
|
-
[vars$
|
|
84116
|
+
[vars$P.fontSize]: globalRefs$A.typography.subtitle1.size,
|
|
84117
|
+
[vars$P.fontWeight]: globalRefs$A.typography.subtitle1.weight,
|
|
84118
|
+
[vars$P.fontFamily]: globalRefs$A.typography.subtitle1.font,
|
|
84125
84119
|
},
|
|
84126
84120
|
subtitle2: {
|
|
84127
|
-
[vars$
|
|
84128
|
-
[vars$
|
|
84129
|
-
[vars$
|
|
84121
|
+
[vars$P.fontSize]: globalRefs$A.typography.subtitle2.size,
|
|
84122
|
+
[vars$P.fontWeight]: globalRefs$A.typography.subtitle2.weight,
|
|
84123
|
+
[vars$P.fontFamily]: globalRefs$A.typography.subtitle2.font,
|
|
84130
84124
|
},
|
|
84131
84125
|
body1: {
|
|
84132
|
-
[vars$
|
|
84133
|
-
[vars$
|
|
84134
|
-
[vars$
|
|
84126
|
+
[vars$P.fontSize]: globalRefs$A.typography.body1.size,
|
|
84127
|
+
[vars$P.fontWeight]: globalRefs$A.typography.body1.weight,
|
|
84128
|
+
[vars$P.fontFamily]: globalRefs$A.typography.body1.font,
|
|
84135
84129
|
},
|
|
84136
84130
|
body2: {
|
|
84137
|
-
[vars$
|
|
84138
|
-
[vars$
|
|
84139
|
-
[vars$
|
|
84131
|
+
[vars$P.fontSize]: globalRefs$A.typography.body2.size,
|
|
84132
|
+
[vars$P.fontWeight]: globalRefs$A.typography.body2.weight,
|
|
84133
|
+
[vars$P.fontFamily]: globalRefs$A.typography.body2.font,
|
|
84140
84134
|
},
|
|
84141
84135
|
},
|
|
84142
84136
|
|
|
84143
84137
|
mode: {
|
|
84144
84138
|
primary: {
|
|
84145
|
-
[vars$
|
|
84139
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.contrast,
|
|
84146
84140
|
},
|
|
84147
84141
|
secondary: {
|
|
84148
|
-
[vars$
|
|
84142
|
+
[vars$P.textColor]: globalRefs$A.colors.surface.dark,
|
|
84149
84143
|
},
|
|
84150
84144
|
error: {
|
|
84151
|
-
[vars$
|
|
84145
|
+
[vars$P.textColor]: globalRefs$A.colors.error.main,
|
|
84152
84146
|
},
|
|
84153
84147
|
'error-dark': {
|
|
84154
|
-
[vars$
|
|
84148
|
+
[vars$P.textColor]: globalRefs$A.colors.error.dark,
|
|
84155
84149
|
},
|
|
84156
84150
|
success: {
|
|
84157
|
-
[vars$
|
|
84151
|
+
[vars$P.textColor]: globalRefs$A.colors.success.main,
|
|
84158
84152
|
},
|
|
84159
84153
|
'success-dark': {
|
|
84160
|
-
[vars$
|
|
84154
|
+
[vars$P.textColor]: globalRefs$A.colors.success.dark,
|
|
84161
84155
|
},
|
|
84162
84156
|
warning: {
|
|
84163
|
-
[vars$
|
|
84157
|
+
[vars$P.textColor]: globalRefs$A.colors.warning.main,
|
|
84164
84158
|
},
|
|
84165
84159
|
'warning-dark': {
|
|
84166
|
-
[vars$
|
|
84160
|
+
[vars$P.textColor]: globalRefs$A.colors.warning.dark,
|
|
84167
84161
|
},
|
|
84168
84162
|
},
|
|
84169
84163
|
|
|
84170
84164
|
textAlign: {
|
|
84171
|
-
right: { [vars$
|
|
84172
|
-
left: { [vars$
|
|
84173
|
-
center: { [vars$
|
|
84165
|
+
right: { [vars$P.textAlign]: 'right' },
|
|
84166
|
+
left: { [vars$P.textAlign]: 'left' },
|
|
84167
|
+
center: { [vars$P.textAlign]: 'center' },
|
|
84174
84168
|
},
|
|
84175
84169
|
|
|
84176
84170
|
_fullWidth: {
|
|
84177
|
-
[vars$
|
|
84171
|
+
[vars$P.hostWidth]: '100%',
|
|
84178
84172
|
},
|
|
84179
84173
|
|
|
84180
84174
|
_italic: {
|
|
84181
|
-
[vars$
|
|
84175
|
+
[vars$P.fontStyle]: 'italic',
|
|
84182
84176
|
},
|
|
84183
84177
|
|
|
84184
84178
|
_uppercase: {
|
|
84185
|
-
[vars$
|
|
84179
|
+
[vars$P.textTransform]: 'uppercase',
|
|
84186
84180
|
},
|
|
84187
84181
|
|
|
84188
84182
|
_lowercase: {
|
|
84189
|
-
[vars$
|
|
84183
|
+
[vars$P.textTransform]: 'lowercase',
|
|
84190
84184
|
},
|
|
84191
84185
|
};
|
|
84192
84186
|
|
|
84193
84187
|
var text$4 = /*#__PURE__*/Object.freeze({
|
|
84194
84188
|
__proto__: null,
|
|
84195
84189
|
default: text$3,
|
|
84196
|
-
vars: vars$
|
|
84190
|
+
vars: vars$P
|
|
84197
84191
|
});
|
|
84198
84192
|
|
|
84199
84193
|
const disableRules = [
|
|
@@ -84220,9 +84214,9 @@ descope-boolean-field-internal {
|
|
|
84220
84214
|
/* eslint-disable no-param-reassign */
|
|
84221
84215
|
|
|
84222
84216
|
|
|
84223
|
-
const componentName$
|
|
84217
|
+
const componentName$Y = getComponentName('enriched-text');
|
|
84224
84218
|
|
|
84225
|
-
class EnrichedText extends createBaseClass$1({ componentName: componentName$
|
|
84219
|
+
class EnrichedText extends createBaseClass$1({ componentName: componentName$Y, baseSelector: ':host > div' }) {
|
|
84226
84220
|
#origLinkRenderer;
|
|
84227
84221
|
|
|
84228
84222
|
#origEmRenderer;
|
|
@@ -84419,9 +84413,9 @@ descope-boolean-field-internal {
|
|
|
84419
84413
|
componentNameValidationMixin$1
|
|
84420
84414
|
)(EnrichedText);
|
|
84421
84415
|
|
|
84422
|
-
const componentName$
|
|
84416
|
+
const componentName$X = getComponentName('link');
|
|
84423
84417
|
|
|
84424
|
-
class RawLink extends createBaseClass$1({ componentName: componentName$
|
|
84418
|
+
class RawLink extends createBaseClass$1({ componentName: componentName$X, baseSelector: ':host a' }) {
|
|
84425
84419
|
constructor() {
|
|
84426
84420
|
super();
|
|
84427
84421
|
|
|
@@ -84490,31 +84484,31 @@ descope-boolean-field-internal {
|
|
|
84490
84484
|
)(RawLink);
|
|
84491
84485
|
|
|
84492
84486
|
const globalRefs$z = getThemeRefs$1(globals);
|
|
84493
|
-
const vars$
|
|
84487
|
+
const vars$O = LinkClass.cssVarList;
|
|
84494
84488
|
|
|
84495
84489
|
const link$1 = {
|
|
84496
|
-
[vars$
|
|
84497
|
-
[vars$
|
|
84490
|
+
[vars$O.hostDirection]: globalRefs$z.direction,
|
|
84491
|
+
[vars$O.cursor]: 'pointer',
|
|
84498
84492
|
|
|
84499
|
-
[vars$
|
|
84493
|
+
[vars$O.textColor]: globalRefs$z.colors.primary.main,
|
|
84500
84494
|
|
|
84501
84495
|
textAlign: {
|
|
84502
|
-
right: { [vars$
|
|
84503
|
-
left: { [vars$
|
|
84504
|
-
center: { [vars$
|
|
84496
|
+
right: { [vars$O.textAlign]: 'right' },
|
|
84497
|
+
left: { [vars$O.textAlign]: 'left' },
|
|
84498
|
+
center: { [vars$O.textAlign]: 'center' },
|
|
84505
84499
|
},
|
|
84506
84500
|
|
|
84507
84501
|
_fullWidth: {
|
|
84508
|
-
[vars$
|
|
84502
|
+
[vars$O.hostWidth]: '100%',
|
|
84509
84503
|
},
|
|
84510
84504
|
|
|
84511
84505
|
_hover: {
|
|
84512
|
-
[vars$
|
|
84506
|
+
[vars$O.textDecoration]: 'underline',
|
|
84513
84507
|
},
|
|
84514
84508
|
|
|
84515
84509
|
mode: {
|
|
84516
84510
|
secondary: {
|
|
84517
|
-
[vars$
|
|
84511
|
+
[vars$O.textColor]: globalRefs$z.colors.secondary.main,
|
|
84518
84512
|
},
|
|
84519
84513
|
},
|
|
84520
84514
|
};
|
|
@@ -84522,37 +84516,37 @@ descope-boolean-field-internal {
|
|
|
84522
84516
|
var link$2 = /*#__PURE__*/Object.freeze({
|
|
84523
84517
|
__proto__: null,
|
|
84524
84518
|
default: link$1,
|
|
84525
|
-
vars: vars$
|
|
84519
|
+
vars: vars$O
|
|
84526
84520
|
});
|
|
84527
84521
|
|
|
84528
84522
|
const globalRefs$y = getThemeRefs$1(globals);
|
|
84529
|
-
const vars$
|
|
84523
|
+
const vars$N = EnrichedTextClass.cssVarList;
|
|
84530
84524
|
|
|
84531
84525
|
const enrichedText = {
|
|
84532
|
-
[vars$
|
|
84533
|
-
[vars$
|
|
84526
|
+
[vars$N.hostDirection]: globalRefs$y.direction,
|
|
84527
|
+
[vars$N.hostWidth]: useVar$1(vars$P.hostWidth),
|
|
84534
84528
|
|
|
84535
|
-
[vars$
|
|
84536
|
-
[vars$
|
|
84537
|
-
[vars$
|
|
84529
|
+
[vars$N.textLineHeight]: useVar$1(vars$P.textLineHeight),
|
|
84530
|
+
[vars$N.textColor]: useVar$1(vars$P.textColor),
|
|
84531
|
+
[vars$N.textAlign]: useVar$1(vars$P.textAlign),
|
|
84538
84532
|
|
|
84539
|
-
[vars$
|
|
84540
|
-
[vars$
|
|
84541
|
-
[vars$
|
|
84533
|
+
[vars$N.fontSize]: useVar$1(vars$P.fontSize),
|
|
84534
|
+
[vars$N.fontWeight]: useVar$1(vars$P.fontWeight),
|
|
84535
|
+
[vars$N.fontFamily]: useVar$1(vars$P.fontFamily),
|
|
84542
84536
|
|
|
84543
|
-
[vars$
|
|
84544
|
-
[vars$
|
|
84545
|
-
[vars$
|
|
84537
|
+
[vars$N.linkColor]: useVar$1(vars$O.textColor),
|
|
84538
|
+
[vars$N.linkTextDecoration]: 'none',
|
|
84539
|
+
[vars$N.linkHoverTextDecoration]: 'underline',
|
|
84546
84540
|
|
|
84547
|
-
[vars$
|
|
84548
|
-
[vars$
|
|
84549
|
-
[vars$
|
|
84541
|
+
[vars$N.fontWeightBold]: '900',
|
|
84542
|
+
[vars$N.minWidth]: '0.25em',
|
|
84543
|
+
[vars$N.minHeight]: '1.35em',
|
|
84550
84544
|
|
|
84551
|
-
[vars$
|
|
84545
|
+
[vars$N.hostDisplay]: 'inline-block',
|
|
84552
84546
|
|
|
84553
84547
|
_empty: {
|
|
84554
84548
|
_hideWhenEmpty: {
|
|
84555
|
-
[vars$
|
|
84549
|
+
[vars$N.hostDisplay]: 'none',
|
|
84556
84550
|
},
|
|
84557
84551
|
},
|
|
84558
84552
|
};
|
|
@@ -84560,11 +84554,11 @@ descope-boolean-field-internal {
|
|
|
84560
84554
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
84561
84555
|
__proto__: null,
|
|
84562
84556
|
default: enrichedText,
|
|
84563
|
-
vars: vars$
|
|
84557
|
+
vars: vars$N
|
|
84564
84558
|
});
|
|
84565
84559
|
|
|
84566
|
-
const componentName$
|
|
84567
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
84560
|
+
const componentName$W = getComponentName$1('divider');
|
|
84561
|
+
class RawDivider extends createBaseClass({ componentName: componentName$W, baseSelector: ':host > div' }) {
|
|
84568
84562
|
constructor() {
|
|
84569
84563
|
super();
|
|
84570
84564
|
|
|
@@ -84675,7 +84669,7 @@ descope-boolean-field-internal {
|
|
|
84675
84669
|
thickness: '2px',
|
|
84676
84670
|
spacing: '10px',
|
|
84677
84671
|
},
|
|
84678
|
-
componentName$
|
|
84672
|
+
componentName$W
|
|
84679
84673
|
);
|
|
84680
84674
|
|
|
84681
84675
|
const divider = {
|
|
@@ -84706,7 +84700,7 @@ descope-boolean-field-internal {
|
|
|
84706
84700
|
},
|
|
84707
84701
|
};
|
|
84708
84702
|
|
|
84709
|
-
const vars$
|
|
84703
|
+
const vars$M = {
|
|
84710
84704
|
...compVars$6,
|
|
84711
84705
|
...helperVars$3,
|
|
84712
84706
|
};
|
|
@@ -84714,18 +84708,18 @@ descope-boolean-field-internal {
|
|
|
84714
84708
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
|
84715
84709
|
__proto__: null,
|
|
84716
84710
|
default: divider,
|
|
84717
|
-
vars: vars$
|
|
84711
|
+
vars: vars$M
|
|
84718
84712
|
});
|
|
84719
84713
|
|
|
84720
84714
|
/* eslint-disable no-param-reassign */
|
|
84721
84715
|
|
|
84722
|
-
const componentName$
|
|
84716
|
+
const componentName$V = getComponentName$1('passcode-internal');
|
|
84723
84717
|
|
|
84724
|
-
createBaseInputClass({ componentName: componentName$
|
|
84718
|
+
createBaseInputClass({ componentName: componentName$V, baseSelector: 'div' });
|
|
84725
84719
|
|
|
84726
|
-
const componentName$
|
|
84720
|
+
const componentName$U = getComponentName$1('loader-radial');
|
|
84727
84721
|
|
|
84728
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
84722
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$U, baseSelector: ':host > div' }) {
|
|
84729
84723
|
constructor() {
|
|
84730
84724
|
super();
|
|
84731
84725
|
|
|
@@ -84773,14 +84767,14 @@ descope-boolean-field-internal {
|
|
|
84773
84767
|
componentNameValidationMixin
|
|
84774
84768
|
)(RawLoaderRadial);
|
|
84775
84769
|
|
|
84776
|
-
const componentName$
|
|
84770
|
+
const componentName$T = getComponentName$1('passcode');
|
|
84777
84771
|
|
|
84778
|
-
const observedAttributes$
|
|
84772
|
+
const observedAttributes$4 = ['digits'];
|
|
84779
84773
|
|
|
84780
84774
|
const customMixin$b = (superclass) =>
|
|
84781
84775
|
class PasscodeMixinClass extends superclass {
|
|
84782
84776
|
static get observedAttributes() {
|
|
84783
|
-
return observedAttributes$
|
|
84777
|
+
return observedAttributes$4.concat(superclass.observedAttributes || []);
|
|
84784
84778
|
}
|
|
84785
84779
|
|
|
84786
84780
|
get digits() {
|
|
@@ -84818,18 +84812,18 @@ descope-boolean-field-internal {
|
|
|
84818
84812
|
const template = document.createElement('template');
|
|
84819
84813
|
|
|
84820
84814
|
template.innerHTML = `
|
|
84821
|
-
<${componentName$
|
|
84815
|
+
<${componentName$V}
|
|
84822
84816
|
bordered="true"
|
|
84823
84817
|
name="code"
|
|
84824
84818
|
tabindex="-1"
|
|
84825
84819
|
slot="input"
|
|
84826
84820
|
role="textbox"
|
|
84827
|
-
><slot></slot></${componentName$
|
|
84821
|
+
><slot></slot></${componentName$V}>
|
|
84828
84822
|
`;
|
|
84829
84823
|
|
|
84830
84824
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
84831
84825
|
|
|
84832
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
84826
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$V);
|
|
84833
84827
|
|
|
84834
84828
|
forwardAttrs$1(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
|
|
84835
84829
|
}
|
|
@@ -84988,64 +84982,64 @@ descope-boolean-field-internal {
|
|
|
84988
84982
|
${resetInputCursor('vaadin-text-field')}
|
|
84989
84983
|
`,
|
|
84990
84984
|
excludeAttrsSync: ['tabindex'],
|
|
84991
|
-
componentName: componentName$
|
|
84985
|
+
componentName: componentName$T,
|
|
84992
84986
|
})
|
|
84993
84987
|
);
|
|
84994
84988
|
|
|
84995
|
-
const vars$
|
|
84989
|
+
const vars$L = PasscodeClass.cssVarList;
|
|
84996
84990
|
|
|
84997
84991
|
const passcode = {
|
|
84998
|
-
[vars$
|
|
84999
|
-
[vars$
|
|
85000
|
-
[vars$
|
|
85001
|
-
[vars$
|
|
85002
|
-
[vars$
|
|
85003
|
-
[vars$
|
|
85004
|
-
[vars$
|
|
85005
|
-
[vars$
|
|
85006
|
-
[vars$
|
|
85007
|
-
[vars$
|
|
85008
|
-
[vars$
|
|
85009
|
-
[vars$
|
|
85010
|
-
[vars$
|
|
85011
|
-
[vars$
|
|
85012
|
-
[vars$
|
|
84992
|
+
[vars$L.hostDirection]: refs$1.direction,
|
|
84993
|
+
[vars$L.fontFamily]: refs$1.fontFamily,
|
|
84994
|
+
[vars$L.fontSize]: refs$1.fontSize,
|
|
84995
|
+
[vars$L.labelTextColor]: refs$1.labelTextColor,
|
|
84996
|
+
[vars$L.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
84997
|
+
[vars$L.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
84998
|
+
[vars$L.digitValueTextColor]: refs$1.valueTextColor,
|
|
84999
|
+
[vars$L.digitPadding]: '0',
|
|
85000
|
+
[vars$L.digitTextAlign]: 'center',
|
|
85001
|
+
[vars$L.digitSpacing]: '4px',
|
|
85002
|
+
[vars$L.hostWidth]: refs$1.width,
|
|
85003
|
+
[vars$L.digitOutlineColor]: 'transparent',
|
|
85004
|
+
[vars$L.digitOutlineWidth]: refs$1.outlineWidth,
|
|
85005
|
+
[vars$L.focusedDigitFieldOutlineColor]: refs$1.outlineColor,
|
|
85006
|
+
[vars$L.digitSize]: refs$1.inputHeight,
|
|
85013
85007
|
|
|
85014
85008
|
// error message icon
|
|
85015
|
-
[vars$
|
|
85016
|
-
[vars$
|
|
85017
|
-
[vars$
|
|
85018
|
-
[vars$
|
|
85019
|
-
[vars$
|
|
85020
|
-
[vars$
|
|
85009
|
+
[vars$L.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
85010
|
+
[vars$L.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
85011
|
+
[vars$L.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
85012
|
+
[vars$L.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
85013
|
+
[vars$L.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
85014
|
+
[vars$L.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
85021
85015
|
|
|
85022
85016
|
size: {
|
|
85023
|
-
xs: { [vars$
|
|
85024
|
-
sm: { [vars$
|
|
85025
|
-
md: { [vars$
|
|
85026
|
-
lg: { [vars$
|
|
85017
|
+
xs: { [vars$L.spinnerSize]: '15px' },
|
|
85018
|
+
sm: { [vars$L.spinnerSize]: '20px' },
|
|
85019
|
+
md: { [vars$L.spinnerSize]: '20px' },
|
|
85020
|
+
lg: { [vars$L.spinnerSize]: '20px' },
|
|
85027
85021
|
},
|
|
85028
85022
|
|
|
85029
85023
|
_hideCursor: {
|
|
85030
|
-
[vars$
|
|
85024
|
+
[vars$L.digitCaretTextColor]: 'transparent',
|
|
85031
85025
|
},
|
|
85032
85026
|
|
|
85033
85027
|
_loading: {
|
|
85034
|
-
[vars$
|
|
85028
|
+
[vars$L.overlayOpacity]: refs$1.overlayOpacity,
|
|
85035
85029
|
},
|
|
85036
85030
|
};
|
|
85037
85031
|
|
|
85038
85032
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
|
85039
85033
|
__proto__: null,
|
|
85040
85034
|
default: passcode,
|
|
85041
|
-
vars: vars$
|
|
85035
|
+
vars: vars$L
|
|
85042
85036
|
});
|
|
85043
85037
|
|
|
85044
|
-
const componentName$
|
|
85038
|
+
const componentName$S = getComponentName$1('loader-linear');
|
|
85045
85039
|
|
|
85046
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
|
85040
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$S, baseSelector: ':host > div' }) {
|
|
85047
85041
|
static get componentName() {
|
|
85048
|
-
return componentName$
|
|
85042
|
+
return componentName$S;
|
|
85049
85043
|
}
|
|
85050
85044
|
|
|
85051
85045
|
constructor() {
|
|
@@ -85111,48 +85105,48 @@ descope-boolean-field-internal {
|
|
|
85111
85105
|
)(RawLoaderLinear);
|
|
85112
85106
|
|
|
85113
85107
|
const globalRefs$w = getThemeRefs(globals$1);
|
|
85114
|
-
const vars$
|
|
85108
|
+
const vars$K = LoaderLinearClass.cssVarList;
|
|
85115
85109
|
|
|
85116
85110
|
const loaderLinear = {
|
|
85117
|
-
[vars$
|
|
85118
|
-
[vars$
|
|
85111
|
+
[vars$K.hostDisplay]: 'inline-block',
|
|
85112
|
+
[vars$K.hostWidth]: '100%',
|
|
85119
85113
|
|
|
85120
|
-
[vars$
|
|
85121
|
-
[vars$
|
|
85114
|
+
[vars$K.barColor]: globalRefs$w.colors.surface.contrast,
|
|
85115
|
+
[vars$K.barWidth]: '20%',
|
|
85122
85116
|
|
|
85123
|
-
[vars$
|
|
85124
|
-
[vars$
|
|
85117
|
+
[vars$K.barBackgroundColor]: globalRefs$w.colors.surface.light,
|
|
85118
|
+
[vars$K.barBorderRadius]: '4px',
|
|
85125
85119
|
|
|
85126
|
-
[vars$
|
|
85127
|
-
[vars$
|
|
85128
|
-
[vars$
|
|
85129
|
-
[vars$
|
|
85120
|
+
[vars$K.animationDuration]: '2s',
|
|
85121
|
+
[vars$K.animationTimingFunction]: 'linear',
|
|
85122
|
+
[vars$K.animationIterationCount]: 'infinite',
|
|
85123
|
+
[vars$K.verticalPadding]: '0.25em',
|
|
85130
85124
|
|
|
85131
85125
|
size: {
|
|
85132
|
-
xs: { [vars$
|
|
85133
|
-
sm: { [vars$
|
|
85134
|
-
md: { [vars$
|
|
85135
|
-
lg: { [vars$
|
|
85126
|
+
xs: { [vars$K.barHeight]: '2px' },
|
|
85127
|
+
sm: { [vars$K.barHeight]: '4px' },
|
|
85128
|
+
md: { [vars$K.barHeight]: '6px' },
|
|
85129
|
+
lg: { [vars$K.barHeight]: '8px' },
|
|
85136
85130
|
},
|
|
85137
85131
|
|
|
85138
85132
|
mode: {
|
|
85139
85133
|
primary: {
|
|
85140
|
-
[vars$
|
|
85134
|
+
[vars$K.barColor]: globalRefs$w.colors.primary.main,
|
|
85141
85135
|
},
|
|
85142
85136
|
secondary: {
|
|
85143
|
-
[vars$
|
|
85137
|
+
[vars$K.barColor]: globalRefs$w.colors.secondary.main,
|
|
85144
85138
|
},
|
|
85145
85139
|
},
|
|
85146
85140
|
|
|
85147
85141
|
_hidden: {
|
|
85148
|
-
[vars$
|
|
85142
|
+
[vars$K.hostDisplay]: 'none',
|
|
85149
85143
|
},
|
|
85150
85144
|
};
|
|
85151
85145
|
|
|
85152
85146
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
|
85153
85147
|
__proto__: null,
|
|
85154
85148
|
default: loaderLinear,
|
|
85155
|
-
vars: vars$
|
|
85149
|
+
vars: vars$K
|
|
85156
85150
|
});
|
|
85157
85151
|
|
|
85158
85152
|
const globalRefs$v = getThemeRefs(globals$1);
|
|
@@ -85170,7 +85164,7 @@ descope-boolean-field-internal {
|
|
|
85170
85164
|
},
|
|
85171
85165
|
},
|
|
85172
85166
|
},
|
|
85173
|
-
componentName$
|
|
85167
|
+
componentName$U
|
|
85174
85168
|
);
|
|
85175
85169
|
|
|
85176
85170
|
const loaderRadial = {
|
|
@@ -85199,7 +85193,7 @@ descope-boolean-field-internal {
|
|
|
85199
85193
|
[compVars$5.hostDisplay]: 'none',
|
|
85200
85194
|
},
|
|
85201
85195
|
};
|
|
85202
|
-
const vars$
|
|
85196
|
+
const vars$J = {
|
|
85203
85197
|
...compVars$5,
|
|
85204
85198
|
...helperVars$2,
|
|
85205
85199
|
};
|
|
@@ -85207,10 +85201,10 @@ descope-boolean-field-internal {
|
|
|
85207
85201
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
|
85208
85202
|
__proto__: null,
|
|
85209
85203
|
default: loaderRadial,
|
|
85210
|
-
vars: vars$
|
|
85204
|
+
vars: vars$J
|
|
85211
85205
|
});
|
|
85212
85206
|
|
|
85213
|
-
const componentName$
|
|
85207
|
+
const componentName$R = getComponentName('combo-box');
|
|
85214
85208
|
|
|
85215
85209
|
const ComboBoxMixin = (superclass) =>
|
|
85216
85210
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -85859,15 +85853,15 @@ descope-boolean-field-internal {
|
|
|
85859
85853
|
// and reset items to an empty array, and opening the list box with no items
|
|
85860
85854
|
// to display.
|
|
85861
85855
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading'],
|
|
85862
|
-
componentName: componentName$
|
|
85856
|
+
componentName: componentName$R,
|
|
85863
85857
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
85864
85858
|
}),
|
|
85865
85859
|
);
|
|
85866
85860
|
|
|
85867
|
-
const componentName$
|
|
85861
|
+
const componentName$Q = getComponentName('input-wrapper');
|
|
85868
85862
|
const globalRefs$u = getThemeRefs$1(globals);
|
|
85869
85863
|
|
|
85870
|
-
const [theme$1, refs, vars$
|
|
85864
|
+
const [theme$1, refs, vars$I] = createHelperVars$1(
|
|
85871
85865
|
{
|
|
85872
85866
|
labelTextColor: globalRefs$u.colors.surface.dark,
|
|
85873
85867
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
@@ -85987,103 +85981,103 @@ descope-boolean-field-internal {
|
|
|
85987
85981
|
backgroundColor: globalRefs$u.colors.surface.main,
|
|
85988
85982
|
},
|
|
85989
85983
|
},
|
|
85990
|
-
componentName$
|
|
85984
|
+
componentName$Q,
|
|
85991
85985
|
);
|
|
85992
85986
|
|
|
85993
85987
|
const globalRefs$t = getThemeRefs$1(globals);
|
|
85994
|
-
const vars$
|
|
85988
|
+
const vars$H = ComboBoxClass.cssVarList;
|
|
85995
85989
|
|
|
85996
85990
|
const comboBox = {
|
|
85997
|
-
[vars$
|
|
85998
|
-
[vars$
|
|
85999
|
-
[vars$
|
|
86000
|
-
[vars$
|
|
86001
|
-
[vars$
|
|
86002
|
-
[vars$
|
|
86003
|
-
[vars$
|
|
86004
|
-
[vars$
|
|
86005
|
-
[vars$
|
|
86006
|
-
[vars$
|
|
86007
|
-
[vars$
|
|
86008
|
-
[vars$
|
|
86009
|
-
[vars$
|
|
86010
|
-
[vars$
|
|
86011
|
-
[vars$
|
|
86012
|
-
[vars$
|
|
86013
|
-
[vars$
|
|
86014
|
-
[vars$
|
|
86015
|
-
[vars$
|
|
86016
|
-
[vars$
|
|
86017
|
-
[vars$
|
|
86018
|
-
[vars$
|
|
86019
|
-
[vars$
|
|
86020
|
-
[vars$
|
|
86021
|
-
[vars$
|
|
86022
|
-
[vars$
|
|
86023
|
-
[vars$
|
|
86024
|
-
[vars$
|
|
86025
|
-
[vars$
|
|
86026
|
-
[vars$
|
|
86027
|
-
[vars$
|
|
86028
|
-
[vars$
|
|
86029
|
-
[vars$
|
|
86030
|
-
[vars$
|
|
86031
|
-
[vars$
|
|
86032
|
-
[vars$
|
|
86033
|
-
[vars$
|
|
86034
|
-
[vars$
|
|
85991
|
+
[vars$H.hostWidth]: refs.width,
|
|
85992
|
+
[vars$H.hostDirection]: refs.direction,
|
|
85993
|
+
[vars$H.fontSize]: refs.fontSize,
|
|
85994
|
+
[vars$H.fontFamily]: refs.fontFamily,
|
|
85995
|
+
[vars$H.labelFontSize]: refs.labelFontSize,
|
|
85996
|
+
[vars$H.labelFontWeight]: refs.labelFontWeight,
|
|
85997
|
+
[vars$H.labelTextColor]: refs.labelTextColor,
|
|
85998
|
+
[vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
|
|
85999
|
+
[vars$H.inputBorderColor]: refs.borderColor,
|
|
86000
|
+
[vars$H.inputBorderWidth]: refs.borderWidth,
|
|
86001
|
+
[vars$H.inputBorderStyle]: refs.borderStyle,
|
|
86002
|
+
[vars$H.inputBorderRadius]: refs.borderRadius,
|
|
86003
|
+
[vars$H.inputOutlineColor]: refs.outlineColor,
|
|
86004
|
+
[vars$H.inputOutlineOffset]: refs.outlineOffset,
|
|
86005
|
+
[vars$H.inputOutlineWidth]: refs.outlineWidth,
|
|
86006
|
+
[vars$H.inputOutlineStyle]: refs.outlineStyle,
|
|
86007
|
+
[vars$H.labelRequiredIndicator]: refs.requiredIndicator,
|
|
86008
|
+
[vars$H.inputValueTextColor]: refs.valueTextColor,
|
|
86009
|
+
[vars$H.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
|
86010
|
+
[vars$H.inputBackgroundColor]: refs.backgroundColor,
|
|
86011
|
+
[vars$H.inputHorizontalPadding]: refs.horizontalPadding,
|
|
86012
|
+
[vars$H.inputHeight]: refs.inputHeight,
|
|
86013
|
+
[vars$H.inputDropdownButtonColor]: globalRefs$t.colors.surface.dark,
|
|
86014
|
+
[vars$H.inputDropdownButtonCursor]: 'pointer',
|
|
86015
|
+
[vars$H.inputDropdownButtonSize]: refs.toggleButtonSize,
|
|
86016
|
+
[vars$H.inputDropdownButtonOffset]: globalRefs$t.spacing.xs,
|
|
86017
|
+
[vars$H.overlayItemPaddingInlineStart]: globalRefs$t.spacing.xs,
|
|
86018
|
+
[vars$H.overlayItemPaddingInlineEnd]: globalRefs$t.spacing.lg,
|
|
86019
|
+
[vars$H.labelPosition]: refs.labelPosition,
|
|
86020
|
+
[vars$H.labelTopPosition]: refs.labelTopPosition,
|
|
86021
|
+
[vars$H.labelHorizontalPosition]: refs.labelHorizontalPosition,
|
|
86022
|
+
[vars$H.inputTransformY]: refs.inputTransformY,
|
|
86023
|
+
[vars$H.inputTransition]: refs.inputTransition,
|
|
86024
|
+
[vars$H.marginInlineStart]: refs.marginInlineStart,
|
|
86025
|
+
[vars$H.placeholderOpacity]: refs.placeholderOpacity,
|
|
86026
|
+
[vars$H.inputVerticalAlignment]: refs.inputVerticalAlignment,
|
|
86027
|
+
[vars$H.valueInputHeight]: refs.valueInputHeight,
|
|
86028
|
+
[vars$H.valueInputMarginBottom]: refs.valueInputMarginBottom,
|
|
86035
86029
|
|
|
86036
86030
|
// error message icon
|
|
86037
|
-
[vars$
|
|
86038
|
-
[vars$
|
|
86039
|
-
[vars$
|
|
86040
|
-
[vars$
|
|
86041
|
-
[vars$
|
|
86042
|
-
[vars$
|
|
86031
|
+
[vars$H.errorMessageIcon]: refs.errorMessageIcon,
|
|
86032
|
+
[vars$H.errorMessageIconSize]: refs.errorMessageIconSize,
|
|
86033
|
+
[vars$H.errorMessageIconPadding]: refs.errorMessageIconPadding,
|
|
86034
|
+
[vars$H.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
|
|
86035
|
+
[vars$H.errorMessageIconPosition]: refs.errorMessageIconPosition,
|
|
86036
|
+
[vars$H.errorMessageFontSize]: refs.errorMessageFontSize,
|
|
86043
86037
|
|
|
86044
86038
|
_readonly: {
|
|
86045
|
-
[vars$
|
|
86039
|
+
[vars$H.inputDropdownButtonCursor]: 'default',
|
|
86046
86040
|
},
|
|
86047
86041
|
|
|
86048
86042
|
// Overlay theme exposed via the component:
|
|
86049
|
-
[vars$
|
|
86050
|
-
[vars$
|
|
86051
|
-
[vars$
|
|
86052
|
-
[vars$
|
|
86053
|
-
[vars$
|
|
86054
|
-
[vars$
|
|
86055
|
-
[vars$
|
|
86056
|
-
[vars$
|
|
86057
|
-
[vars$
|
|
86043
|
+
[vars$H.overlayFontSize]: refs.fontSize,
|
|
86044
|
+
[vars$H.overlayFontFamily]: refs.fontFamily,
|
|
86045
|
+
[vars$H.overlayCursor]: 'pointer',
|
|
86046
|
+
[vars$H.overlayItemBoxShadow]: 'none',
|
|
86047
|
+
[vars$H.overlayBackground]: refs.backgroundColor,
|
|
86048
|
+
[vars$H.overlayTextColor]: refs.valueTextColor,
|
|
86049
|
+
[vars$H.overlayCheckmarkDisplay]: 'initial',
|
|
86050
|
+
[vars$H.overlaySelectedItemBackground]: 'initial',
|
|
86051
|
+
[vars$H.overlaySelectedItemHoverBackground]:
|
|
86058
86052
|
globalRefs$t.colors.primary.highlight,
|
|
86059
|
-
[vars$
|
|
86053
|
+
[vars$H.overlaySelectedItemFocusBackground]:
|
|
86060
86054
|
globalRefs$t.colors.primary.highlight,
|
|
86061
|
-
[vars$
|
|
86062
|
-
[vars$
|
|
86055
|
+
[vars$H.overlayItemHoverBackground]: globalRefs$t.colors.primary.highlight,
|
|
86056
|
+
[vars$H.overlayItemFocusBackground]: globalRefs$t.colors.primary.highlight,
|
|
86063
86057
|
|
|
86064
86058
|
// Overlay direct theme:
|
|
86065
|
-
[vars$
|
|
86066
|
-
[vars$
|
|
86059
|
+
[vars$H.overlay.minHeight]: '400px',
|
|
86060
|
+
[vars$H.overlay.margin]: '0',
|
|
86067
86061
|
|
|
86068
|
-
[vars$
|
|
86069
|
-
[vars$
|
|
86070
|
-
[vars$
|
|
86062
|
+
[vars$H.overlay.contentHeight]: '100%',
|
|
86063
|
+
[vars$H.overlay.contentOpacity]: '1',
|
|
86064
|
+
[vars$H.overlay.scrollerMinHeight]: '1px',
|
|
86071
86065
|
_loading: {
|
|
86072
|
-
[vars$
|
|
86073
|
-
[vars$
|
|
86074
|
-
[vars$
|
|
86066
|
+
[vars$H.overlay.loaderTop]: '50%',
|
|
86067
|
+
[vars$H.overlay.loaderLeft]: '50%',
|
|
86068
|
+
[vars$H.overlay.loaderRight]: 'auto',
|
|
86075
86069
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
|
86076
86070
|
// Margin has to be half of the width/height of the loader to center it
|
|
86077
|
-
[vars$
|
|
86078
|
-
[vars$
|
|
86079
|
-
[vars$
|
|
86080
|
-
[vars$
|
|
86081
|
-
[vars$
|
|
86071
|
+
[vars$H.overlay.loaderMargin]: '-15px 0 0 -15px',
|
|
86072
|
+
[vars$H.overlay.loaderWidth]: '30px',
|
|
86073
|
+
[vars$H.overlay.loaderHeight]: '30px',
|
|
86074
|
+
[vars$H.overlay.loaderBorder]: '2px solid transparent',
|
|
86075
|
+
[vars$H.overlay.loaderBorderColor]:
|
|
86082
86076
|
`${globalRefs$t.colors.primary.highlight} ${globalRefs$t.colors.primary.highlight} ${globalRefs$t.colors.primary.main} ${globalRefs$t.colors.primary.main}`,
|
|
86083
|
-
[vars$
|
|
86084
|
-
[vars$
|
|
86085
|
-
[vars$
|
|
86086
|
-
[vars$
|
|
86077
|
+
[vars$H.overlay.loaderBorderRadius]: '50%',
|
|
86078
|
+
[vars$H.overlay.contentHeight]: '100px',
|
|
86079
|
+
[vars$H.overlay.scrollerMinHeight]: '100px',
|
|
86080
|
+
[vars$H.overlay.contentOpacity]: '0',
|
|
86087
86081
|
},
|
|
86088
86082
|
};
|
|
86089
86083
|
|
|
@@ -86091,7 +86085,7 @@ descope-boolean-field-internal {
|
|
|
86091
86085
|
__proto__: null,
|
|
86092
86086
|
comboBox: comboBox,
|
|
86093
86087
|
default: comboBox,
|
|
86094
|
-
vars: vars$
|
|
86088
|
+
vars: vars$H
|
|
86095
86089
|
});
|
|
86096
86090
|
|
|
86097
86091
|
var CountryCodes = [
|
|
@@ -87305,14 +87299,14 @@ descope-boolean-field-internal {
|
|
|
87305
87299
|
].sort((a, b) => (a.name < b.name ? -1 : 1)),
|
|
87306
87300
|
];
|
|
87307
87301
|
|
|
87308
|
-
const componentName$
|
|
87302
|
+
const componentName$P = getComponentName$1('phone-field-internal');
|
|
87309
87303
|
|
|
87310
|
-
createBaseInputClass({ componentName: componentName$
|
|
87304
|
+
createBaseInputClass({ componentName: componentName$P, baseSelector: 'div' });
|
|
87311
87305
|
|
|
87312
87306
|
const textVars$3 = TextFieldClass.cssVarList;
|
|
87313
87307
|
const comboVars = ComboBoxClass.cssVarList;
|
|
87314
87308
|
|
|
87315
|
-
const componentName$
|
|
87309
|
+
const componentName$O = getComponentName$1('phone-field');
|
|
87316
87310
|
|
|
87317
87311
|
const customMixin$a = (superclass) =>
|
|
87318
87312
|
class PhoneFieldMixinClass extends superclass {
|
|
@@ -87326,15 +87320,15 @@ descope-boolean-field-internal {
|
|
|
87326
87320
|
const template = document.createElement('template');
|
|
87327
87321
|
|
|
87328
87322
|
template.innerHTML = `
|
|
87329
|
-
<${componentName$
|
|
87323
|
+
<${componentName$P}
|
|
87330
87324
|
tabindex="-1"
|
|
87331
87325
|
slot="input"
|
|
87332
|
-
></${componentName$
|
|
87326
|
+
></${componentName$P}>
|
|
87333
87327
|
`;
|
|
87334
87328
|
|
|
87335
87329
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
87336
87330
|
|
|
87337
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
87331
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$P);
|
|
87338
87332
|
|
|
87339
87333
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
|
87340
87334
|
includeAttrs: [
|
|
@@ -87606,44 +87600,44 @@ descope-boolean-field-internal {
|
|
|
87606
87600
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
87607
87601
|
`,
|
|
87608
87602
|
excludeAttrsSync: ['tabindex'],
|
|
87609
|
-
componentName: componentName$
|
|
87603
|
+
componentName: componentName$O,
|
|
87610
87604
|
})
|
|
87611
87605
|
);
|
|
87612
87606
|
|
|
87613
|
-
const vars$
|
|
87607
|
+
const vars$G = PhoneFieldClass.cssVarList;
|
|
87614
87608
|
|
|
87615
87609
|
const phoneField = {
|
|
87616
|
-
[vars$
|
|
87617
|
-
[vars$
|
|
87618
|
-
[vars$
|
|
87619
|
-
[vars$
|
|
87620
|
-
[vars$
|
|
87621
|
-
[vars$
|
|
87622
|
-
[vars$
|
|
87623
|
-
[vars$
|
|
87624
|
-
[vars$
|
|
87625
|
-
[vars$
|
|
87626
|
-
[vars$
|
|
87627
|
-
[vars$
|
|
87628
|
-
[vars$
|
|
87629
|
-
[vars$
|
|
87630
|
-
[vars$
|
|
87631
|
-
[vars$
|
|
87632
|
-
[vars$
|
|
87633
|
-
[vars$
|
|
87634
|
-
[vars$
|
|
87635
|
-
[vars$
|
|
87636
|
-
[vars$
|
|
87637
|
-
[vars$
|
|
87638
|
-
[vars$
|
|
87610
|
+
[vars$G.hostWidth]: refs$1.width,
|
|
87611
|
+
[vars$G.hostDirection]: refs$1.direction,
|
|
87612
|
+
[vars$G.fontSize]: refs$1.fontSize,
|
|
87613
|
+
[vars$G.fontFamily]: refs$1.fontFamily,
|
|
87614
|
+
[vars$G.labelTextColor]: refs$1.labelTextColor,
|
|
87615
|
+
[vars$G.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
87616
|
+
[vars$G.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
87617
|
+
[vars$G.inputValueTextColor]: refs$1.valueTextColor,
|
|
87618
|
+
[vars$G.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
87619
|
+
[vars$G.inputBorderStyle]: refs$1.borderStyle,
|
|
87620
|
+
[vars$G.inputBorderWidth]: refs$1.borderWidth,
|
|
87621
|
+
[vars$G.inputBorderColor]: refs$1.borderColor,
|
|
87622
|
+
[vars$G.inputBorderRadius]: refs$1.borderRadius,
|
|
87623
|
+
[vars$G.inputOutlineStyle]: refs$1.outlineStyle,
|
|
87624
|
+
[vars$G.inputOutlineWidth]: refs$1.outlineWidth,
|
|
87625
|
+
[vars$G.inputOutlineColor]: refs$1.outlineColor,
|
|
87626
|
+
[vars$G.inputOutlineOffset]: refs$1.outlineOffset,
|
|
87627
|
+
[vars$G.phoneInputWidth]: refs$1.minWidth,
|
|
87628
|
+
[vars$G.countryCodeInputWidth]: '5em',
|
|
87629
|
+
[vars$G.countryCodeDropdownWidth]: '20em',
|
|
87630
|
+
[vars$G.marginInlineStart]: '-0.25em',
|
|
87631
|
+
[vars$G.valueInputHeight]: refs$1.valueInputHeight,
|
|
87632
|
+
[vars$G.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
87639
87633
|
|
|
87640
87634
|
// error message icon
|
|
87641
|
-
[vars$
|
|
87642
|
-
[vars$
|
|
87643
|
-
[vars$
|
|
87644
|
-
[vars$
|
|
87645
|
-
[vars$
|
|
87646
|
-
[vars$
|
|
87635
|
+
[vars$G.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
87636
|
+
[vars$G.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
87637
|
+
[vars$G.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
87638
|
+
[vars$G.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
87639
|
+
[vars$G.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
87640
|
+
[vars$G.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
87647
87641
|
|
|
87648
87642
|
// '@overlay': {
|
|
87649
87643
|
// overlayItemBackgroundColor: 'red'
|
|
@@ -87653,16 +87647,16 @@ descope-boolean-field-internal {
|
|
|
87653
87647
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
|
87654
87648
|
__proto__: null,
|
|
87655
87649
|
default: phoneField,
|
|
87656
|
-
vars: vars$
|
|
87650
|
+
vars: vars$G
|
|
87657
87651
|
});
|
|
87658
87652
|
|
|
87659
|
-
const componentName$
|
|
87653
|
+
const componentName$N = getComponentName$1('phone-field-internal-input-box');
|
|
87660
87654
|
|
|
87661
|
-
createBaseInputClass({ componentName: componentName$
|
|
87655
|
+
createBaseInputClass({ componentName: componentName$N, baseSelector: 'div' });
|
|
87662
87656
|
|
|
87663
87657
|
const textVars$2 = TextFieldClass.cssVarList;
|
|
87664
87658
|
|
|
87665
|
-
const componentName$
|
|
87659
|
+
const componentName$M = getComponentName$1('phone-input-box-field');
|
|
87666
87660
|
|
|
87667
87661
|
const customMixin$9 = (superclass) =>
|
|
87668
87662
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
|
@@ -87676,15 +87670,15 @@ descope-boolean-field-internal {
|
|
|
87676
87670
|
const template = document.createElement('template');
|
|
87677
87671
|
|
|
87678
87672
|
template.innerHTML = `
|
|
87679
|
-
<${componentName$
|
|
87673
|
+
<${componentName$N}
|
|
87680
87674
|
tabindex="-1"
|
|
87681
87675
|
slot="input"
|
|
87682
|
-
></${componentName$
|
|
87676
|
+
></${componentName$N}>
|
|
87683
87677
|
`;
|
|
87684
87678
|
|
|
87685
87679
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
87686
87680
|
|
|
87687
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
87681
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$N);
|
|
87688
87682
|
|
|
87689
87683
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
|
87690
87684
|
includeAttrs: [
|
|
@@ -87888,70 +87882,70 @@ descope-boolean-field-internal {
|
|
|
87888
87882
|
${inputFloatingLabelStyle()}
|
|
87889
87883
|
`,
|
|
87890
87884
|
excludeAttrsSync: ['tabindex'],
|
|
87891
|
-
componentName: componentName$
|
|
87885
|
+
componentName: componentName$M,
|
|
87892
87886
|
})
|
|
87893
87887
|
);
|
|
87894
87888
|
|
|
87895
|
-
const vars$
|
|
87889
|
+
const vars$F = PhoneFieldInputBoxClass.cssVarList;
|
|
87896
87890
|
|
|
87897
87891
|
const phoneInputBoxField = {
|
|
87898
|
-
[vars$
|
|
87899
|
-
[vars$
|
|
87900
|
-
[vars$
|
|
87901
|
-
[vars$
|
|
87902
|
-
[vars$
|
|
87903
|
-
[vars$
|
|
87904
|
-
[vars$
|
|
87905
|
-
[vars$
|
|
87906
|
-
[vars$
|
|
87907
|
-
[vars$
|
|
87908
|
-
[vars$
|
|
87909
|
-
[vars$
|
|
87910
|
-
[vars$
|
|
87911
|
-
[vars$
|
|
87912
|
-
[vars$
|
|
87913
|
-
[vars$
|
|
87914
|
-
[vars$
|
|
87915
|
-
[vars$
|
|
87916
|
-
[vars$
|
|
87917
|
-
[vars$
|
|
87918
|
-
[vars$
|
|
87919
|
-
[vars$
|
|
87920
|
-
[vars$
|
|
87921
|
-
[vars$
|
|
87922
|
-
[vars$
|
|
87923
|
-
[vars$
|
|
87924
|
-
[vars$
|
|
87925
|
-
[vars$
|
|
87926
|
-
[vars$
|
|
87892
|
+
[vars$F.hostWidth]: '16em',
|
|
87893
|
+
[vars$F.hostMinWidth]: refs$1.minWidth,
|
|
87894
|
+
[vars$F.hostDirection]: refs$1.direction,
|
|
87895
|
+
[vars$F.fontSize]: refs$1.fontSize,
|
|
87896
|
+
[vars$F.fontFamily]: refs$1.fontFamily,
|
|
87897
|
+
[vars$F.labelFontSize]: refs$1.labelFontSize,
|
|
87898
|
+
[vars$F.labelFontWeight]: refs$1.labelFontWeight,
|
|
87899
|
+
[vars$F.labelTextColor]: refs$1.labelTextColor,
|
|
87900
|
+
[vars$F.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
87901
|
+
[vars$F.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
87902
|
+
[vars$F.inputValueTextColor]: refs$1.valueTextColor,
|
|
87903
|
+
[vars$F.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
87904
|
+
[vars$F.inputBorderStyle]: refs$1.borderStyle,
|
|
87905
|
+
[vars$F.inputBorderWidth]: refs$1.borderWidth,
|
|
87906
|
+
[vars$F.inputBorderColor]: refs$1.borderColor,
|
|
87907
|
+
[vars$F.inputBorderRadius]: refs$1.borderRadius,
|
|
87908
|
+
[vars$F.inputOutlineStyle]: refs$1.outlineStyle,
|
|
87909
|
+
[vars$F.inputOutlineWidth]: refs$1.outlineWidth,
|
|
87910
|
+
[vars$F.inputOutlineColor]: refs$1.outlineColor,
|
|
87911
|
+
[vars$F.inputOutlineOffset]: refs$1.outlineOffset,
|
|
87912
|
+
[vars$F.labelPosition]: refs$1.labelPosition,
|
|
87913
|
+
[vars$F.labelTopPosition]: refs$1.labelTopPosition,
|
|
87914
|
+
[vars$F.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
87915
|
+
[vars$F.inputTransformY]: refs$1.inputTransformY,
|
|
87916
|
+
[vars$F.inputTransition]: refs$1.inputTransition,
|
|
87917
|
+
[vars$F.marginInlineStart]: refs$1.marginInlineStart,
|
|
87918
|
+
[vars$F.valueInputHeight]: refs$1.valueInputHeight,
|
|
87919
|
+
[vars$F.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
87920
|
+
[vars$F.inputHorizontalPadding]: '0',
|
|
87927
87921
|
|
|
87928
87922
|
// error message icon
|
|
87929
|
-
[vars$
|
|
87930
|
-
[vars$
|
|
87931
|
-
[vars$
|
|
87932
|
-
[vars$
|
|
87933
|
-
[vars$
|
|
87934
|
-
[vars$
|
|
87923
|
+
[vars$F.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
87924
|
+
[vars$F.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
87925
|
+
[vars$F.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
87926
|
+
[vars$F.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
87927
|
+
[vars$F.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
87928
|
+
[vars$F.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
87935
87929
|
|
|
87936
87930
|
_fullWidth: {
|
|
87937
|
-
[vars$
|
|
87931
|
+
[vars$F.hostWidth]: refs$1.width,
|
|
87938
87932
|
},
|
|
87939
87933
|
};
|
|
87940
87934
|
|
|
87941
87935
|
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
|
87942
87936
|
__proto__: null,
|
|
87943
87937
|
default: phoneInputBoxField,
|
|
87944
|
-
vars: vars$
|
|
87938
|
+
vars: vars$F
|
|
87945
87939
|
});
|
|
87946
87940
|
|
|
87947
|
-
const componentName$
|
|
87941
|
+
const componentName$L = getComponentName$1('new-password-internal');
|
|
87948
87942
|
|
|
87949
87943
|
const interpolateString = (template, values) =>
|
|
87950
87944
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
|
87951
87945
|
|
|
87952
87946
|
// eslint-disable-next-line max-classes-per-file
|
|
87953
87947
|
|
|
87954
|
-
const componentName$
|
|
87948
|
+
const componentName$K = getComponentName$1('policy-validation');
|
|
87955
87949
|
|
|
87956
87950
|
const overrideAttrs = [
|
|
87957
87951
|
'data-password-policy-value-minlength',
|
|
@@ -87961,7 +87955,7 @@ descope-boolean-field-internal {
|
|
|
87961
87955
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
|
87962
87956
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
|
87963
87957
|
|
|
87964
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
|
87958
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$K, baseSelector: ':host > div' }) {
|
|
87965
87959
|
#availablePolicies;
|
|
87966
87960
|
|
|
87967
87961
|
#activePolicies = [];
|
|
@@ -88233,7 +88227,7 @@ descope-boolean-field-internal {
|
|
|
88233
88227
|
componentNameValidationMixin
|
|
88234
88228
|
)(RawPolicyValidation);
|
|
88235
88229
|
|
|
88236
|
-
const componentName$
|
|
88230
|
+
const componentName$J = getComponentName$1('new-password');
|
|
88237
88231
|
|
|
88238
88232
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
|
88239
88233
|
|
|
@@ -88247,18 +88241,18 @@ descope-boolean-field-internal {
|
|
|
88247
88241
|
const externalInputAttr = this.getAttribute('external-input');
|
|
88248
88242
|
|
|
88249
88243
|
template.innerHTML = `
|
|
88250
|
-
<${componentName$
|
|
88244
|
+
<${componentName$L}
|
|
88251
88245
|
name="new-password"
|
|
88252
88246
|
tabindex="-1"
|
|
88253
88247
|
slot="input"
|
|
88254
88248
|
external-input="${externalInputAttr}"
|
|
88255
88249
|
>
|
|
88256
|
-
</${componentName$
|
|
88250
|
+
</${componentName$L}>
|
|
88257
88251
|
`;
|
|
88258
88252
|
|
|
88259
88253
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
88260
88254
|
|
|
88261
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
88255
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$L);
|
|
88262
88256
|
|
|
88263
88257
|
if (this.getAttribute('external-input') === 'true') {
|
|
88264
88258
|
this.initExternalInput();
|
|
@@ -88442,48 +88436,48 @@ descope-boolean-field-internal {
|
|
|
88442
88436
|
}
|
|
88443
88437
|
`,
|
|
88444
88438
|
excludeAttrsSync: ['tabindex'],
|
|
88445
|
-
componentName: componentName$
|
|
88439
|
+
componentName: componentName$J,
|
|
88446
88440
|
})
|
|
88447
88441
|
);
|
|
88448
88442
|
|
|
88449
88443
|
const globalRefs$s = getThemeRefs(globals$1);
|
|
88450
|
-
const vars$
|
|
88444
|
+
const vars$E = NewPasswordClass.cssVarList;
|
|
88451
88445
|
|
|
88452
88446
|
const newPassword = {
|
|
88453
|
-
[vars$
|
|
88454
|
-
[vars$
|
|
88455
|
-
[vars$
|
|
88456
|
-
[vars$
|
|
88457
|
-
[vars$
|
|
88458
|
-
[vars$
|
|
88459
|
-
[vars$
|
|
88460
|
-
[vars$
|
|
88461
|
-
[vars$
|
|
88462
|
-
[vars$
|
|
88463
|
-
[vars$
|
|
88464
|
-
[vars$
|
|
88465
|
-
[vars$
|
|
88447
|
+
[vars$E.hostWidth]: refs$1.width,
|
|
88448
|
+
[vars$E.hostMinWidth]: refs$1.minWidth,
|
|
88449
|
+
[vars$E.hostDirection]: refs$1.direction,
|
|
88450
|
+
[vars$E.fontSize]: refs$1.fontSize,
|
|
88451
|
+
[vars$E.fontFamily]: refs$1.fontFamily,
|
|
88452
|
+
[vars$E.labelFontSize]: refs$1.labelFontSize,
|
|
88453
|
+
[vars$E.labelFontWeight]: refs$1.labelFontWeight,
|
|
88454
|
+
[vars$E.labelTextColor]: refs$1.labelTextColor,
|
|
88455
|
+
[vars$E.spaceBetweenInputs]: '1em',
|
|
88456
|
+
[vars$E.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
88457
|
+
[vars$E.policyPreviewBackgroundColor]: 'none',
|
|
88458
|
+
[vars$E.policyPreviewPadding]: globalRefs$s.spacing.lg,
|
|
88459
|
+
[vars$E.valueInputHeight]: refs$1.valueInputHeight,
|
|
88466
88460
|
|
|
88467
88461
|
// error message icon
|
|
88468
|
-
[vars$
|
|
88469
|
-
[vars$
|
|
88470
|
-
[vars$
|
|
88471
|
-
[vars$
|
|
88472
|
-
[vars$
|
|
88473
|
-
[vars$
|
|
88462
|
+
[vars$E.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
88463
|
+
[vars$E.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
88464
|
+
[vars$E.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
88465
|
+
[vars$E.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
88466
|
+
[vars$E.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
88467
|
+
[vars$E.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
88474
88468
|
|
|
88475
88469
|
_required: {
|
|
88476
88470
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
|
88477
88471
|
// That's why we fake the required indicator on each input.
|
|
88478
88472
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
|
88479
|
-
[vars$
|
|
88473
|
+
[vars$E.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
|
88480
88474
|
},
|
|
88481
88475
|
};
|
|
88482
88476
|
|
|
88483
88477
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
|
88484
88478
|
__proto__: null,
|
|
88485
88479
|
default: newPassword,
|
|
88486
|
-
vars: vars$
|
|
88480
|
+
vars: vars$E
|
|
88487
88481
|
});
|
|
88488
88482
|
|
|
88489
88483
|
const getFileBase64 = (fileObj) => {
|
|
@@ -88498,9 +88492,9 @@ descope-boolean-field-internal {
|
|
|
88498
88492
|
return fileObj.name.replace(/^.*\\/, '');
|
|
88499
88493
|
};
|
|
88500
88494
|
|
|
88501
|
-
const componentName$
|
|
88495
|
+
const componentName$I = getComponentName$1('upload-file');
|
|
88502
88496
|
|
|
88503
|
-
const observedAttributes$
|
|
88497
|
+
const observedAttributes$3 = [
|
|
88504
88498
|
'title',
|
|
88505
88499
|
'description',
|
|
88506
88500
|
'button-label',
|
|
@@ -88513,11 +88507,11 @@ descope-boolean-field-internal {
|
|
|
88513
88507
|
'icon',
|
|
88514
88508
|
];
|
|
88515
88509
|
|
|
88516
|
-
const BaseInputClass$
|
|
88510
|
+
const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$I, baseSelector: ':host > div' });
|
|
88517
88511
|
|
|
88518
|
-
class RawUploadFile extends BaseInputClass$
|
|
88512
|
+
class RawUploadFile extends BaseInputClass$4 {
|
|
88519
88513
|
static get observedAttributes() {
|
|
88520
|
-
return observedAttributes$
|
|
88514
|
+
return observedAttributes$3.concat(BaseInputClass$4.observedAttributes || []);
|
|
88521
88515
|
}
|
|
88522
88516
|
|
|
88523
88517
|
constructor() {
|
|
@@ -88732,77 +88726,77 @@ descope-boolean-field-internal {
|
|
|
88732
88726
|
componentNameValidationMixin
|
|
88733
88727
|
)(RawUploadFile);
|
|
88734
88728
|
|
|
88735
|
-
const vars$
|
|
88729
|
+
const vars$D = UploadFileClass.cssVarList;
|
|
88736
88730
|
|
|
88737
88731
|
const uploadFile = {
|
|
88738
|
-
[vars$
|
|
88739
|
-
[vars$
|
|
88740
|
-
[vars$
|
|
88732
|
+
[vars$D.hostDirection]: refs$1.direction,
|
|
88733
|
+
[vars$D.labelTextColor]: refs$1.labelTextColor,
|
|
88734
|
+
[vars$D.fontFamily]: refs$1.fontFamily,
|
|
88741
88735
|
|
|
88742
|
-
[vars$
|
|
88736
|
+
[vars$D.iconSize]: '2em',
|
|
88743
88737
|
|
|
88744
|
-
[vars$
|
|
88745
|
-
[vars$
|
|
88738
|
+
[vars$D.hostPadding]: '0.75em',
|
|
88739
|
+
[vars$D.gap]: '0.5em',
|
|
88746
88740
|
|
|
88747
|
-
[vars$
|
|
88748
|
-
[vars$
|
|
88749
|
-
[vars$
|
|
88741
|
+
[vars$D.fontSize]: '16px',
|
|
88742
|
+
[vars$D.titleFontWeight]: '500',
|
|
88743
|
+
[vars$D.lineHeight]: '1em',
|
|
88750
88744
|
|
|
88751
|
-
[vars$
|
|
88752
|
-
[vars$
|
|
88753
|
-
[vars$
|
|
88754
|
-
[vars$
|
|
88745
|
+
[vars$D.borderWidth]: refs$1.borderWidth,
|
|
88746
|
+
[vars$D.borderColor]: refs$1.borderColor,
|
|
88747
|
+
[vars$D.borderRadius]: refs$1.borderRadius,
|
|
88748
|
+
[vars$D.borderStyle]: 'dashed',
|
|
88755
88749
|
|
|
88756
88750
|
_required: {
|
|
88757
|
-
[vars$
|
|
88751
|
+
[vars$D.requiredIndicator]: refs$1.requiredIndicator,
|
|
88758
88752
|
},
|
|
88759
88753
|
|
|
88760
88754
|
size: {
|
|
88761
88755
|
xs: {
|
|
88762
|
-
[vars$
|
|
88763
|
-
[vars$
|
|
88764
|
-
[vars$
|
|
88765
|
-
[vars$
|
|
88766
|
-
[vars$
|
|
88756
|
+
[vars$D.hostHeight]: '196px',
|
|
88757
|
+
[vars$D.hostWidth]: '200px',
|
|
88758
|
+
[vars$D.titleFontSize]: '0.875em',
|
|
88759
|
+
[vars$D.descriptionFontSize]: '0.875em',
|
|
88760
|
+
[vars$D.lineHeight]: '1.25em',
|
|
88767
88761
|
},
|
|
88768
88762
|
sm: {
|
|
88769
|
-
[vars$
|
|
88770
|
-
[vars$
|
|
88771
|
-
[vars$
|
|
88772
|
-
[vars$
|
|
88773
|
-
[vars$
|
|
88763
|
+
[vars$D.hostHeight]: '216px',
|
|
88764
|
+
[vars$D.hostWidth]: '230px',
|
|
88765
|
+
[vars$D.titleFontSize]: '1em',
|
|
88766
|
+
[vars$D.descriptionFontSize]: '0.875em',
|
|
88767
|
+
[vars$D.lineHeight]: '1.25em',
|
|
88774
88768
|
},
|
|
88775
88769
|
md: {
|
|
88776
|
-
[vars$
|
|
88777
|
-
[vars$
|
|
88778
|
-
[vars$
|
|
88779
|
-
[vars$
|
|
88780
|
-
[vars$
|
|
88770
|
+
[vars$D.hostHeight]: '256px',
|
|
88771
|
+
[vars$D.hostWidth]: '312px',
|
|
88772
|
+
[vars$D.titleFontSize]: '1.125em',
|
|
88773
|
+
[vars$D.descriptionFontSize]: '1em',
|
|
88774
|
+
[vars$D.lineHeight]: '1.5em',
|
|
88781
88775
|
},
|
|
88782
88776
|
lg: {
|
|
88783
|
-
[vars$
|
|
88784
|
-
[vars$
|
|
88785
|
-
[vars$
|
|
88786
|
-
[vars$
|
|
88787
|
-
[vars$
|
|
88777
|
+
[vars$D.hostHeight]: '280px',
|
|
88778
|
+
[vars$D.hostWidth]: '336px',
|
|
88779
|
+
[vars$D.titleFontSize]: '1.125em',
|
|
88780
|
+
[vars$D.descriptionFontSize]: '1.125em',
|
|
88781
|
+
[vars$D.lineHeight]: '1.75em',
|
|
88788
88782
|
},
|
|
88789
88783
|
},
|
|
88790
88784
|
|
|
88791
88785
|
_fullWidth: {
|
|
88792
|
-
[vars$
|
|
88786
|
+
[vars$D.hostWidth]: refs$1.width,
|
|
88793
88787
|
},
|
|
88794
88788
|
};
|
|
88795
88789
|
|
|
88796
88790
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
|
88797
88791
|
__proto__: null,
|
|
88798
88792
|
default: uploadFile,
|
|
88799
|
-
vars: vars$
|
|
88793
|
+
vars: vars$D
|
|
88800
88794
|
});
|
|
88801
88795
|
|
|
88802
|
-
const componentName$
|
|
88796
|
+
const componentName$H = getComponentName$1('button-selection-group-item');
|
|
88803
88797
|
|
|
88804
88798
|
class RawSelectItem extends createBaseClass({
|
|
88805
|
-
componentName: componentName$
|
|
88799
|
+
componentName: componentName$H,
|
|
88806
88800
|
baseSelector: ':host > descope-button',
|
|
88807
88801
|
}) {
|
|
88808
88802
|
get size() {
|
|
@@ -88915,37 +88909,37 @@ descope-boolean-field-internal {
|
|
|
88915
88909
|
|
|
88916
88910
|
const globalRefs$r = getThemeRefs(globals$1);
|
|
88917
88911
|
|
|
88918
|
-
const vars$
|
|
88912
|
+
const vars$C = ButtonSelectionGroupItemClass.cssVarList;
|
|
88919
88913
|
|
|
88920
88914
|
const buttonSelectionGroupItem = {
|
|
88921
|
-
[vars$
|
|
88922
|
-
[vars$
|
|
88923
|
-
[vars$
|
|
88924
|
-
[vars$
|
|
88925
|
-
[vars$
|
|
88926
|
-
[vars$
|
|
88927
|
-
[vars$
|
|
88928
|
-
[vars$
|
|
88915
|
+
[vars$C.hostDirection]: 'inherit',
|
|
88916
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.main,
|
|
88917
|
+
[vars$C.labelTextColor]: globalRefs$r.colors.surface.contrast,
|
|
88918
|
+
[vars$C.borderColor]: globalRefs$r.colors.surface.light,
|
|
88919
|
+
[vars$C.borderStyle]: 'solid',
|
|
88920
|
+
[vars$C.borderRadius]: globalRefs$r.radius.sm,
|
|
88921
|
+
[vars$C.outlineColor]: 'transparent',
|
|
88922
|
+
[vars$C.borderWidth]: globalRefs$r.border.xs,
|
|
88929
88923
|
|
|
88930
88924
|
_hover: {
|
|
88931
|
-
[vars$
|
|
88925
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.highlight,
|
|
88932
88926
|
},
|
|
88933
88927
|
|
|
88934
88928
|
_focused: {
|
|
88935
|
-
[vars$
|
|
88929
|
+
[vars$C.outlineColor]: globalRefs$r.colors.surface.light,
|
|
88936
88930
|
},
|
|
88937
88931
|
|
|
88938
88932
|
_selected: {
|
|
88939
|
-
[vars$
|
|
88940
|
-
[vars$
|
|
88941
|
-
[vars$
|
|
88933
|
+
[vars$C.borderColor]: globalRefs$r.colors.surface.contrast,
|
|
88934
|
+
[vars$C.backgroundColor]: globalRefs$r.colors.surface.contrast,
|
|
88935
|
+
[vars$C.labelTextColor]: globalRefs$r.colors.surface.main,
|
|
88942
88936
|
},
|
|
88943
88937
|
};
|
|
88944
88938
|
|
|
88945
88939
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
|
88946
88940
|
__proto__: null,
|
|
88947
88941
|
default: buttonSelectionGroupItem,
|
|
88948
|
-
vars: vars$
|
|
88942
|
+
vars: vars$C
|
|
88949
88943
|
});
|
|
88950
88944
|
|
|
88951
88945
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
@@ -89036,10 +89030,10 @@ descope-boolean-field-internal {
|
|
|
89036
89030
|
return BaseButtonSelectionGroupInternalClass;
|
|
89037
89031
|
};
|
|
89038
89032
|
|
|
89039
|
-
const componentName$
|
|
89033
|
+
const componentName$G = getComponentName$1('button-selection-group-internal');
|
|
89040
89034
|
|
|
89041
89035
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
89042
|
-
componentName$
|
|
89036
|
+
componentName$G
|
|
89043
89037
|
) {
|
|
89044
89038
|
getSelectedNode() {
|
|
89045
89039
|
return this.items.find((item) => item.hasAttribute('selected'));
|
|
@@ -89284,7 +89278,7 @@ descope-boolean-field-internal {
|
|
|
89284
89278
|
${resetInputCursor('vaadin-text-field')}
|
|
89285
89279
|
`;
|
|
89286
89280
|
|
|
89287
|
-
const componentName$
|
|
89281
|
+
const componentName$F = getComponentName$1('button-selection-group');
|
|
89288
89282
|
|
|
89289
89283
|
const buttonSelectionGroupMixin = (superclass) =>
|
|
89290
89284
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -89293,19 +89287,19 @@ descope-boolean-field-internal {
|
|
|
89293
89287
|
const template = document.createElement('template');
|
|
89294
89288
|
|
|
89295
89289
|
template.innerHTML = `
|
|
89296
|
-
<${componentName$
|
|
89290
|
+
<${componentName$G}
|
|
89297
89291
|
name="button-selection-group"
|
|
89298
89292
|
slot="input"
|
|
89299
89293
|
tabindex="-1"
|
|
89300
89294
|
part="internal-component"
|
|
89301
89295
|
>
|
|
89302
89296
|
<slot></slot>
|
|
89303
|
-
</${componentName$
|
|
89297
|
+
</${componentName$G}>
|
|
89304
89298
|
`;
|
|
89305
89299
|
|
|
89306
89300
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
89307
89301
|
|
|
89308
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
89302
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$G);
|
|
89309
89303
|
|
|
89310
89304
|
forwardAttrs$1(this, this.inputElement, {
|
|
89311
89305
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
|
@@ -89330,7 +89324,7 @@ descope-boolean-field-internal {
|
|
|
89330
89324
|
wrappedEleName: 'vaadin-text-field',
|
|
89331
89325
|
style: () => buttonSelectionGroupStyles,
|
|
89332
89326
|
excludeAttrsSync: ['tabindex'],
|
|
89333
|
-
componentName: componentName$
|
|
89327
|
+
componentName: componentName$F,
|
|
89334
89328
|
})
|
|
89335
89329
|
);
|
|
89336
89330
|
|
|
@@ -89355,22 +89349,22 @@ descope-boolean-field-internal {
|
|
|
89355
89349
|
[vars.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
89356
89350
|
});
|
|
89357
89351
|
|
|
89358
|
-
const vars$
|
|
89352
|
+
const vars$B = ButtonSelectionGroupClass.cssVarList;
|
|
89359
89353
|
|
|
89360
89354
|
const buttonSelectionGroup = {
|
|
89361
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
|
89355
|
+
...createBaseButtonSelectionGroupMappings(vars$B),
|
|
89362
89356
|
};
|
|
89363
89357
|
|
|
89364
89358
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
89365
89359
|
__proto__: null,
|
|
89366
89360
|
default: buttonSelectionGroup,
|
|
89367
|
-
vars: vars$
|
|
89361
|
+
vars: vars$B
|
|
89368
89362
|
});
|
|
89369
89363
|
|
|
89370
|
-
const componentName$
|
|
89364
|
+
const componentName$E = getComponentName$1('button-multi-selection-group-internal');
|
|
89371
89365
|
|
|
89372
89366
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
89373
|
-
componentName$
|
|
89367
|
+
componentName$E
|
|
89374
89368
|
) {
|
|
89375
89369
|
#getSelectedNodes() {
|
|
89376
89370
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
|
@@ -89473,7 +89467,7 @@ descope-boolean-field-internal {
|
|
|
89473
89467
|
}
|
|
89474
89468
|
}
|
|
89475
89469
|
|
|
89476
|
-
const componentName$
|
|
89470
|
+
const componentName$D = getComponentName$1('button-multi-selection-group');
|
|
89477
89471
|
|
|
89478
89472
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
89479
89473
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -89482,19 +89476,19 @@ descope-boolean-field-internal {
|
|
|
89482
89476
|
const template = document.createElement('template');
|
|
89483
89477
|
|
|
89484
89478
|
template.innerHTML = `
|
|
89485
|
-
<${componentName$
|
|
89479
|
+
<${componentName$E}
|
|
89486
89480
|
name="button-selection-group"
|
|
89487
89481
|
slot="input"
|
|
89488
89482
|
tabindex="-1"
|
|
89489
89483
|
part="internal-component"
|
|
89490
89484
|
>
|
|
89491
89485
|
<slot></slot>
|
|
89492
|
-
</${componentName$
|
|
89486
|
+
</${componentName$E}>
|
|
89493
89487
|
`;
|
|
89494
89488
|
|
|
89495
89489
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
89496
89490
|
|
|
89497
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
89491
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$E);
|
|
89498
89492
|
|
|
89499
89493
|
forwardAttrs$1(this, this.inputElement, {
|
|
89500
89494
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
|
@@ -89519,23 +89513,23 @@ descope-boolean-field-internal {
|
|
|
89519
89513
|
wrappedEleName: 'vaadin-text-field',
|
|
89520
89514
|
style: () => buttonSelectionGroupStyles,
|
|
89521
89515
|
excludeAttrsSync: ['tabindex'],
|
|
89522
|
-
componentName: componentName$
|
|
89516
|
+
componentName: componentName$D,
|
|
89523
89517
|
})
|
|
89524
89518
|
);
|
|
89525
89519
|
|
|
89526
|
-
const vars$
|
|
89520
|
+
const vars$A = ButtonMultiSelectionGroupClass.cssVarList;
|
|
89527
89521
|
|
|
89528
89522
|
const buttonMultiSelectionGroup = {
|
|
89529
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
|
89523
|
+
...createBaseButtonSelectionGroupMappings(vars$A),
|
|
89530
89524
|
};
|
|
89531
89525
|
|
|
89532
89526
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
|
89533
89527
|
__proto__: null,
|
|
89534
89528
|
default: buttonMultiSelectionGroup,
|
|
89535
|
-
vars: vars$
|
|
89529
|
+
vars: vars$A
|
|
89536
89530
|
});
|
|
89537
89531
|
|
|
89538
|
-
const componentName$
|
|
89532
|
+
const componentName$C = getComponentName$1('modal');
|
|
89539
89533
|
|
|
89540
89534
|
const observedAttrs$3 = ['opened'];
|
|
89541
89535
|
|
|
@@ -89659,7 +89653,7 @@ descope-boolean-field-internal {
|
|
|
89659
89653
|
}
|
|
89660
89654
|
`,
|
|
89661
89655
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
|
89662
|
-
componentName: componentName$
|
|
89656
|
+
componentName: componentName$C,
|
|
89663
89657
|
})
|
|
89664
89658
|
);
|
|
89665
89659
|
|
|
@@ -89673,14 +89667,14 @@ descope-boolean-field-internal {
|
|
|
89673
89667
|
[compVars$4.overlayWidth]: '540px',
|
|
89674
89668
|
};
|
|
89675
89669
|
|
|
89676
|
-
const vars$
|
|
89670
|
+
const vars$z = {
|
|
89677
89671
|
...compVars$4,
|
|
89678
89672
|
};
|
|
89679
89673
|
|
|
89680
89674
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
|
89681
89675
|
__proto__: null,
|
|
89682
89676
|
default: modal,
|
|
89683
|
-
vars: vars$
|
|
89677
|
+
vars: vars$z
|
|
89684
89678
|
});
|
|
89685
89679
|
|
|
89686
89680
|
const isValidDataType = (data) => {
|
|
@@ -89756,7 +89750,7 @@ descope-boolean-field-internal {
|
|
|
89756
89750
|
`;
|
|
89757
89751
|
};
|
|
89758
89752
|
|
|
89759
|
-
const componentName$
|
|
89753
|
+
const componentName$B = getComponentName$1('grid');
|
|
89760
89754
|
|
|
89761
89755
|
const GridMixin = (superclass) =>
|
|
89762
89756
|
class GridMixinClass extends superclass {
|
|
@@ -90110,52 +90104,52 @@ descope-boolean-field-internal {
|
|
|
90110
90104
|
/*!css*/
|
|
90111
90105
|
`,
|
|
90112
90106
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
|
90113
|
-
componentName: componentName$
|
|
90107
|
+
componentName: componentName$B,
|
|
90114
90108
|
})
|
|
90115
90109
|
);
|
|
90116
90110
|
|
|
90117
90111
|
const globalRefs$o = getThemeRefs(globals$1);
|
|
90118
|
-
const vars$
|
|
90112
|
+
const vars$y = GridClass.cssVarList;
|
|
90119
90113
|
|
|
90120
90114
|
const grid = {
|
|
90121
|
-
[vars$
|
|
90122
|
-
[vars$
|
|
90123
|
-
[vars$
|
|
90124
|
-
[vars$
|
|
90125
|
-
[vars$
|
|
90126
|
-
|
|
90127
|
-
[vars$
|
|
90128
|
-
[vars$
|
|
90129
|
-
|
|
90130
|
-
[vars$
|
|
90131
|
-
[vars$
|
|
90132
|
-
[vars$
|
|
90133
|
-
|
|
90134
|
-
[vars$
|
|
90135
|
-
[vars$
|
|
90136
|
-
[vars$
|
|
90137
|
-
[vars$
|
|
90138
|
-
|
|
90139
|
-
[vars$
|
|
90140
|
-
[vars$
|
|
90141
|
-
|
|
90142
|
-
[vars$
|
|
90143
|
-
[vars$
|
|
90144
|
-
[vars$
|
|
90145
|
-
|
|
90146
|
-
[vars$
|
|
90147
|
-
[vars$
|
|
90148
|
-
[vars$
|
|
90149
|
-
[vars$
|
|
90150
|
-
[vars$
|
|
90151
|
-
[vars$
|
|
90152
|
-
[vars$
|
|
90153
|
-
[vars$
|
|
90154
|
-
[vars$
|
|
90155
|
-
[vars$
|
|
90115
|
+
[vars$y.hostWidth]: '100%',
|
|
90116
|
+
[vars$y.hostHeight]: '100%',
|
|
90117
|
+
[vars$y.hostMinHeight]: '400px',
|
|
90118
|
+
[vars$y.fontWeight]: '400',
|
|
90119
|
+
[vars$y.backgroundColor]: globalRefs$o.colors.surface.main,
|
|
90120
|
+
|
|
90121
|
+
[vars$y.fontSize]: refs$1.fontSize,
|
|
90122
|
+
[vars$y.fontFamily]: refs$1.fontFamily,
|
|
90123
|
+
|
|
90124
|
+
[vars$y.sortIndicatorsColor]: globalRefs$o.colors.surface.light,
|
|
90125
|
+
[vars$y.activeSortIndicator]: globalRefs$o.colors.surface.dark,
|
|
90126
|
+
[vars$y.resizeHandleColor]: globalRefs$o.colors.surface.light,
|
|
90127
|
+
|
|
90128
|
+
[vars$y.borderWidth]: refs$1.borderWidth,
|
|
90129
|
+
[vars$y.borderStyle]: refs$1.borderStyle,
|
|
90130
|
+
[vars$y.borderRadius]: refs$1.borderRadius,
|
|
90131
|
+
[vars$y.borderColor]: 'transparent',
|
|
90132
|
+
|
|
90133
|
+
[vars$y.headerRowTextColor]: globalRefs$o.colors.surface.dark,
|
|
90134
|
+
[vars$y.separatorColor]: globalRefs$o.colors.surface.light,
|
|
90135
|
+
|
|
90136
|
+
[vars$y.valueTextColor]: globalRefs$o.colors.surface.contrast,
|
|
90137
|
+
[vars$y.selectedBackgroundColor]: globalRefs$o.colors.surface.highlight,
|
|
90138
|
+
[vars$y.hostDirection]: globalRefs$o.direction,
|
|
90139
|
+
|
|
90140
|
+
[vars$y.toggleDetailsPanelButtonSize]: '1em',
|
|
90141
|
+
[vars$y.toggleDetailsPanelButtonOpenedColor]: globalRefs$o.colors.surface.contrast,
|
|
90142
|
+
[vars$y.toggleDetailsPanelButtonClosedColor]: globalRefs$o.colors.surface.light,
|
|
90143
|
+
[vars$y.toggleDetailsPanelButtonCursor]: 'pointer',
|
|
90144
|
+
[vars$y.detailsPanelBackgroundColor]: globalRefs$o.colors.surface.highlight,
|
|
90145
|
+
[vars$y.detailsPanelBorderTopColor]: globalRefs$o.colors.surface.light,
|
|
90146
|
+
[vars$y.detailsPanelLabelsColor]: globalRefs$o.colors.surface.dark,
|
|
90147
|
+
[vars$y.detailsPanelLabelsFontSize]: '0.8em',
|
|
90148
|
+
[vars$y.detailsPanelItemsGap]: '2em',
|
|
90149
|
+
[vars$y.detailsPanelPadding]: '12px 0',
|
|
90156
90150
|
|
|
90157
90151
|
_bordered: {
|
|
90158
|
-
[vars$
|
|
90152
|
+
[vars$y.borderColor]: refs$1.borderColor,
|
|
90159
90153
|
},
|
|
90160
90154
|
};
|
|
90161
90155
|
|
|
@@ -90163,10 +90157,10 @@ descope-boolean-field-internal {
|
|
|
90163
90157
|
__proto__: null,
|
|
90164
90158
|
default: grid,
|
|
90165
90159
|
grid: grid,
|
|
90166
|
-
vars: vars$
|
|
90160
|
+
vars: vars$y
|
|
90167
90161
|
});
|
|
90168
90162
|
|
|
90169
|
-
const componentName$
|
|
90163
|
+
const componentName$A = getComponentName$1('notification-card');
|
|
90170
90164
|
|
|
90171
90165
|
const notificationCardMixin = (superclass) =>
|
|
90172
90166
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -90274,54 +90268,54 @@ descope-boolean-field-internal {
|
|
|
90274
90268
|
}
|
|
90275
90269
|
`,
|
|
90276
90270
|
excludeAttrsSync: ['tabindex'],
|
|
90277
|
-
componentName: componentName$
|
|
90271
|
+
componentName: componentName$A,
|
|
90278
90272
|
})
|
|
90279
90273
|
);
|
|
90280
90274
|
|
|
90281
90275
|
const globalRefs$n = getThemeRefs(globals$1);
|
|
90282
|
-
const vars$
|
|
90276
|
+
const vars$x = NotificationCardClass.cssVarList;
|
|
90283
90277
|
|
|
90284
90278
|
const shadowColor$3 = '#00000020';
|
|
90285
90279
|
|
|
90286
90280
|
const notification = {
|
|
90287
|
-
[vars$
|
|
90288
|
-
[vars$
|
|
90289
|
-
[vars$
|
|
90290
|
-
[vars$
|
|
90291
|
-
[vars$
|
|
90292
|
-
[vars$
|
|
90293
|
-
[vars$
|
|
90294
|
-
[vars$
|
|
90295
|
-
[vars$
|
|
90281
|
+
[vars$x.hostMinWidth]: '415px',
|
|
90282
|
+
[vars$x.fontFamily]: globalRefs$n.fonts.font1.family,
|
|
90283
|
+
[vars$x.fontSize]: globalRefs$n.typography.body1.size,
|
|
90284
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.surface.main,
|
|
90285
|
+
[vars$x.textColor]: globalRefs$n.colors.surface.contrast,
|
|
90286
|
+
[vars$x.boxShadow]: `${globalRefs$n.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$n.shadow.narrow.xl} ${shadowColor$3}`,
|
|
90287
|
+
[vars$x.verticalPadding]: '0.625em',
|
|
90288
|
+
[vars$x.horizontalPadding]: '1.5em',
|
|
90289
|
+
[vars$x.borderRadius]: globalRefs$n.radius.xs,
|
|
90296
90290
|
|
|
90297
90291
|
_bordered: {
|
|
90298
|
-
[vars$
|
|
90299
|
-
[vars$
|
|
90300
|
-
[vars$
|
|
90292
|
+
[vars$x.borderWidth]: globalRefs$n.border.sm,
|
|
90293
|
+
[vars$x.borderStyle]: 'solid',
|
|
90294
|
+
[vars$x.borderColor]: 'transparent',
|
|
90301
90295
|
},
|
|
90302
90296
|
|
|
90303
90297
|
size: {
|
|
90304
|
-
xs: { [vars$
|
|
90305
|
-
sm: { [vars$
|
|
90306
|
-
md: { [vars$
|
|
90307
|
-
lg: { [vars$
|
|
90298
|
+
xs: { [vars$x.fontSize]: '12px' },
|
|
90299
|
+
sm: { [vars$x.fontSize]: '14px' },
|
|
90300
|
+
md: { [vars$x.fontSize]: '16px' },
|
|
90301
|
+
lg: { [vars$x.fontSize]: '18px' },
|
|
90308
90302
|
},
|
|
90309
90303
|
|
|
90310
90304
|
mode: {
|
|
90311
90305
|
primary: {
|
|
90312
|
-
[vars$
|
|
90313
|
-
[vars$
|
|
90314
|
-
[vars$
|
|
90306
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.primary.main,
|
|
90307
|
+
[vars$x.textColor]: globalRefs$n.colors.primary.contrast,
|
|
90308
|
+
[vars$x.borderColor]: globalRefs$n.colors.primary.light,
|
|
90315
90309
|
},
|
|
90316
90310
|
success: {
|
|
90317
|
-
[vars$
|
|
90318
|
-
[vars$
|
|
90319
|
-
[vars$
|
|
90311
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.success.main,
|
|
90312
|
+
[vars$x.textColor]: globalRefs$n.colors.success.contrast,
|
|
90313
|
+
[vars$x.borderColor]: globalRefs$n.colors.success.light,
|
|
90320
90314
|
},
|
|
90321
90315
|
error: {
|
|
90322
|
-
[vars$
|
|
90323
|
-
[vars$
|
|
90324
|
-
[vars$
|
|
90316
|
+
[vars$x.backgroundColor]: globalRefs$n.colors.error.main,
|
|
90317
|
+
[vars$x.textColor]: globalRefs$n.colors.error.contrast,
|
|
90318
|
+
[vars$x.borderColor]: globalRefs$n.colors.error.light,
|
|
90325
90319
|
},
|
|
90326
90320
|
},
|
|
90327
90321
|
};
|
|
@@ -90329,10 +90323,10 @@ descope-boolean-field-internal {
|
|
|
90329
90323
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
|
90330
90324
|
__proto__: null,
|
|
90331
90325
|
default: notification,
|
|
90332
|
-
vars: vars$
|
|
90326
|
+
vars: vars$x
|
|
90333
90327
|
});
|
|
90334
90328
|
|
|
90335
|
-
const componentName$
|
|
90329
|
+
const componentName$z = getComponentName$1('multi-select-combo-box');
|
|
90336
90330
|
|
|
90337
90331
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
90338
90332
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -90985,101 +90979,101 @@ descope-boolean-field-internal {
|
|
|
90985
90979
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
|
90986
90980
|
// tries to override it, causing us to lose the user set placeholder.
|
|
90987
90981
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
|
90988
|
-
componentName: componentName$
|
|
90982
|
+
componentName: componentName$z,
|
|
90989
90983
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
90990
90984
|
})
|
|
90991
90985
|
);
|
|
90992
90986
|
|
|
90993
90987
|
const globalRefs$m = getThemeRefs(globals$1);
|
|
90994
|
-
const vars$
|
|
90988
|
+
const vars$w = MultiSelectComboBoxClass.cssVarList;
|
|
90995
90989
|
|
|
90996
90990
|
const multiSelectComboBox = {
|
|
90997
|
-
[vars$
|
|
90998
|
-
[vars$
|
|
90999
|
-
[vars$
|
|
91000
|
-
[vars$
|
|
91001
|
-
[vars$
|
|
91002
|
-
[vars$
|
|
91003
|
-
[vars$
|
|
91004
|
-
[vars$
|
|
91005
|
-
[vars$
|
|
91006
|
-
[vars$
|
|
91007
|
-
[vars$
|
|
91008
|
-
[vars$
|
|
91009
|
-
[vars$
|
|
91010
|
-
[vars$
|
|
91011
|
-
[vars$
|
|
91012
|
-
[vars$
|
|
91013
|
-
[vars$
|
|
91014
|
-
[vars$
|
|
91015
|
-
[vars$
|
|
91016
|
-
[vars$
|
|
91017
|
-
[vars$
|
|
91018
|
-
[vars$
|
|
91019
|
-
[vars$
|
|
91020
|
-
[vars$
|
|
91021
|
-
[vars$
|
|
91022
|
-
[vars$
|
|
91023
|
-
[vars$
|
|
91024
|
-
[vars$
|
|
91025
|
-
[vars$
|
|
91026
|
-
[vars$
|
|
91027
|
-
[vars$
|
|
91028
|
-
[vars$
|
|
91029
|
-
[vars$
|
|
91030
|
-
[vars$
|
|
91031
|
-
[vars$
|
|
91032
|
-
[vars$
|
|
91033
|
-
[vars$
|
|
91034
|
-
[vars$
|
|
91035
|
-
[vars$
|
|
91036
|
-
[vars$
|
|
91037
|
-
[vars$
|
|
90991
|
+
[vars$w.hostWidth]: refs$1.width,
|
|
90992
|
+
[vars$w.hostDirection]: refs$1.direction,
|
|
90993
|
+
[vars$w.fontSize]: refs$1.fontSize,
|
|
90994
|
+
[vars$w.fontFamily]: refs$1.fontFamily,
|
|
90995
|
+
[vars$w.labelFontSize]: refs$1.labelFontSize,
|
|
90996
|
+
[vars$w.labelFontWeight]: refs$1.labelFontWeight,
|
|
90997
|
+
[vars$w.labelTextColor]: refs$1.labelTextColor,
|
|
90998
|
+
[vars$w.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
90999
|
+
[vars$w.inputBorderColor]: refs$1.borderColor,
|
|
91000
|
+
[vars$w.inputBorderWidth]: refs$1.borderWidth,
|
|
91001
|
+
[vars$w.inputBorderStyle]: refs$1.borderStyle,
|
|
91002
|
+
[vars$w.inputBorderRadius]: refs$1.borderRadius,
|
|
91003
|
+
[vars$w.inputOutlineColor]: refs$1.outlineColor,
|
|
91004
|
+
[vars$w.inputOutlineOffset]: refs$1.outlineOffset,
|
|
91005
|
+
[vars$w.inputOutlineWidth]: refs$1.outlineWidth,
|
|
91006
|
+
[vars$w.inputOutlineStyle]: refs$1.outlineStyle,
|
|
91007
|
+
[vars$w.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
91008
|
+
[vars$w.inputValueTextColor]: refs$1.valueTextColor,
|
|
91009
|
+
[vars$w.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
91010
|
+
[vars$w.inputBackgroundColor]: refs$1.backgroundColor,
|
|
91011
|
+
[vars$w.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
91012
|
+
[vars$w.inputVerticalPadding]: refs$1.verticalPadding,
|
|
91013
|
+
[vars$w.inputHeight]: refs$1.inputHeight,
|
|
91014
|
+
[vars$w.inputDropdownButtonColor]: globalRefs$m.colors.surface.dark,
|
|
91015
|
+
[vars$w.inputDropdownButtonCursor]: 'pointer',
|
|
91016
|
+
[vars$w.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
91017
|
+
[vars$w.inputDropdownButtonOffset]: globalRefs$m.spacing.xs,
|
|
91018
|
+
[vars$w.overlayItemPaddingInlineStart]: globalRefs$m.spacing.xs,
|
|
91019
|
+
[vars$w.overlayItemPaddingInlineEnd]: globalRefs$m.spacing.lg,
|
|
91020
|
+
[vars$w.chipFontSize]: refs$1.chipFontSize,
|
|
91021
|
+
[vars$w.chipTextColor]: globalRefs$m.colors.surface.contrast,
|
|
91022
|
+
[vars$w.chipBackgroundColor]: globalRefs$m.colors.surface.light,
|
|
91023
|
+
[vars$w.labelPosition]: refs$1.labelPosition,
|
|
91024
|
+
[vars$w.labelTopPosition]: refs$1.labelTopPosition,
|
|
91025
|
+
[vars$w.labelLeftPosition]: refs$1.labelLeftPosition,
|
|
91026
|
+
[vars$w.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
91027
|
+
[vars$w.inputTransformY]: refs$1.inputTransformY,
|
|
91028
|
+
[vars$w.inputTransition]: refs$1.inputTransition,
|
|
91029
|
+
[vars$w.marginInlineStart]: refs$1.marginInlineStart,
|
|
91030
|
+
[vars$w.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
91031
|
+
[vars$w.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
91038
91032
|
|
|
91039
91033
|
// error message icon
|
|
91040
|
-
[vars$
|
|
91041
|
-
[vars$
|
|
91042
|
-
[vars$
|
|
91043
|
-
[vars$
|
|
91044
|
-
[vars$
|
|
91045
|
-
[vars$
|
|
91034
|
+
[vars$w.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
91035
|
+
[vars$w.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
91036
|
+
[vars$w.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
91037
|
+
[vars$w.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
91038
|
+
[vars$w.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
91039
|
+
[vars$w.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
91046
91040
|
|
|
91047
91041
|
labelType: {
|
|
91048
91042
|
floating: {
|
|
91049
|
-
[vars$
|
|
91043
|
+
[vars$w.inputHorizontalPadding]: '0.25em',
|
|
91050
91044
|
_hasValue: {
|
|
91051
|
-
[vars$
|
|
91045
|
+
[vars$w.inputHorizontalPadding]: '0.45em',
|
|
91052
91046
|
},
|
|
91053
91047
|
},
|
|
91054
91048
|
},
|
|
91055
91049
|
|
|
91056
91050
|
_readonly: {
|
|
91057
|
-
[vars$
|
|
91051
|
+
[vars$w.inputDropdownButtonCursor]: 'default',
|
|
91058
91052
|
},
|
|
91059
91053
|
|
|
91060
91054
|
// Overlay theme exposed via the component:
|
|
91061
|
-
[vars$
|
|
91062
|
-
[vars$
|
|
91063
|
-
[vars$
|
|
91064
|
-
[vars$
|
|
91065
|
-
[vars$
|
|
91066
|
-
[vars$
|
|
91055
|
+
[vars$w.overlayFontSize]: refs$1.fontSize,
|
|
91056
|
+
[vars$w.overlayFontFamily]: refs$1.fontFamily,
|
|
91057
|
+
[vars$w.overlayCursor]: 'pointer',
|
|
91058
|
+
[vars$w.overlayItemBoxShadow]: 'none',
|
|
91059
|
+
[vars$w.overlayBackground]: refs$1.backgroundColor,
|
|
91060
|
+
[vars$w.overlayTextColor]: refs$1.valueTextColor,
|
|
91067
91061
|
|
|
91068
91062
|
// Overlay direct theme:
|
|
91069
|
-
[vars$
|
|
91070
|
-
[vars$
|
|
91063
|
+
[vars$w.overlay.minHeight]: '400px',
|
|
91064
|
+
[vars$w.overlay.margin]: '0',
|
|
91071
91065
|
};
|
|
91072
91066
|
|
|
91073
91067
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
91074
91068
|
__proto__: null,
|
|
91075
91069
|
default: multiSelectComboBox,
|
|
91076
91070
|
multiSelectComboBox: multiSelectComboBox,
|
|
91077
|
-
vars: vars$
|
|
91071
|
+
vars: vars$w
|
|
91078
91072
|
});
|
|
91079
91073
|
|
|
91080
|
-
const componentName$
|
|
91074
|
+
const componentName$y = getComponentName$1('badge');
|
|
91081
91075
|
|
|
91082
|
-
class RawBadge extends createBaseClass({ componentName: componentName$
|
|
91076
|
+
class RawBadge extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
|
|
91083
91077
|
constructor() {
|
|
91084
91078
|
super();
|
|
91085
91079
|
|
|
@@ -91135,65 +91129,65 @@ descope-boolean-field-internal {
|
|
|
91135
91129
|
)(RawBadge);
|
|
91136
91130
|
|
|
91137
91131
|
const globalRefs$l = getThemeRefs(globals$1);
|
|
91138
|
-
const vars$
|
|
91132
|
+
const vars$v = BadgeClass.cssVarList;
|
|
91139
91133
|
|
|
91140
91134
|
const badge$2 = {
|
|
91141
|
-
[vars$
|
|
91142
|
-
[vars$
|
|
91135
|
+
[vars$v.hostWidth]: 'fit-content',
|
|
91136
|
+
[vars$v.hostDirection]: globalRefs$l.direction,
|
|
91143
91137
|
|
|
91144
|
-
[vars$
|
|
91138
|
+
[vars$v.textAlign]: 'center',
|
|
91145
91139
|
|
|
91146
|
-
[vars$
|
|
91147
|
-
[vars$
|
|
91140
|
+
[vars$v.fontFamily]: globalRefs$l.fonts.font1.family,
|
|
91141
|
+
[vars$v.fontWeight]: '400',
|
|
91148
91142
|
|
|
91149
|
-
[vars$
|
|
91150
|
-
[vars$
|
|
91143
|
+
[vars$v.verticalPadding]: '0.25em',
|
|
91144
|
+
[vars$v.horizontalPadding]: '0.5em',
|
|
91151
91145
|
|
|
91152
|
-
[vars$
|
|
91153
|
-
[vars$
|
|
91154
|
-
[vars$
|
|
91155
|
-
[vars$
|
|
91146
|
+
[vars$v.borderWidth]: globalRefs$l.border.xs,
|
|
91147
|
+
[vars$v.borderRadius]: globalRefs$l.radius.xs,
|
|
91148
|
+
[vars$v.borderColor]: 'transparent',
|
|
91149
|
+
[vars$v.borderStyle]: 'solid',
|
|
91156
91150
|
|
|
91157
91151
|
_fullWidth: {
|
|
91158
|
-
[vars$
|
|
91152
|
+
[vars$v.hostWidth]: '100%',
|
|
91159
91153
|
},
|
|
91160
91154
|
|
|
91161
91155
|
size: {
|
|
91162
|
-
xs: { [vars$
|
|
91163
|
-
sm: { [vars$
|
|
91164
|
-
md: { [vars$
|
|
91165
|
-
lg: { [vars$
|
|
91156
|
+
xs: { [vars$v.fontSize]: '12px' },
|
|
91157
|
+
sm: { [vars$v.fontSize]: '14px' },
|
|
91158
|
+
md: { [vars$v.fontSize]: '16px' },
|
|
91159
|
+
lg: { [vars$v.fontSize]: '18px' },
|
|
91166
91160
|
},
|
|
91167
91161
|
|
|
91168
91162
|
mode: {
|
|
91169
91163
|
default: {
|
|
91170
|
-
[vars$
|
|
91164
|
+
[vars$v.textColor]: globalRefs$l.colors.surface.dark,
|
|
91171
91165
|
_bordered: {
|
|
91172
|
-
[vars$
|
|
91166
|
+
[vars$v.borderColor]: globalRefs$l.colors.surface.light,
|
|
91173
91167
|
},
|
|
91174
91168
|
},
|
|
91175
91169
|
primary: {
|
|
91176
|
-
[vars$
|
|
91170
|
+
[vars$v.textColor]: globalRefs$l.colors.primary.main,
|
|
91177
91171
|
_bordered: {
|
|
91178
|
-
[vars$
|
|
91172
|
+
[vars$v.borderColor]: globalRefs$l.colors.primary.light,
|
|
91179
91173
|
},
|
|
91180
91174
|
},
|
|
91181
91175
|
secondary: {
|
|
91182
|
-
[vars$
|
|
91176
|
+
[vars$v.textColor]: globalRefs$l.colors.secondary.main,
|
|
91183
91177
|
_bordered: {
|
|
91184
|
-
[vars$
|
|
91178
|
+
[vars$v.borderColor]: globalRefs$l.colors.secondary.light,
|
|
91185
91179
|
},
|
|
91186
91180
|
},
|
|
91187
91181
|
error: {
|
|
91188
|
-
[vars$
|
|
91182
|
+
[vars$v.textColor]: globalRefs$l.colors.error.main,
|
|
91189
91183
|
_bordered: {
|
|
91190
|
-
[vars$
|
|
91184
|
+
[vars$v.borderColor]: globalRefs$l.colors.error.light,
|
|
91191
91185
|
},
|
|
91192
91186
|
},
|
|
91193
91187
|
success: {
|
|
91194
|
-
[vars$
|
|
91188
|
+
[vars$v.textColor]: globalRefs$l.colors.success.main,
|
|
91195
91189
|
_bordered: {
|
|
91196
|
-
[vars$
|
|
91190
|
+
[vars$v.borderColor]: globalRefs$l.colors.success.light,
|
|
91197
91191
|
},
|
|
91198
91192
|
},
|
|
91199
91193
|
},
|
|
@@ -91202,12 +91196,12 @@ descope-boolean-field-internal {
|
|
|
91202
91196
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
|
91203
91197
|
__proto__: null,
|
|
91204
91198
|
default: badge$2,
|
|
91205
|
-
vars: vars$
|
|
91199
|
+
vars: vars$v
|
|
91206
91200
|
});
|
|
91207
91201
|
|
|
91208
|
-
const componentName$
|
|
91202
|
+
const componentName$x = getComponentName('avatar');
|
|
91209
91203
|
class RawAvatar extends createBaseClass$1({
|
|
91210
|
-
componentName: componentName$
|
|
91204
|
+
componentName: componentName$x,
|
|
91211
91205
|
baseSelector: ':host > .wrapper',
|
|
91212
91206
|
}) {
|
|
91213
91207
|
constructor() {
|
|
@@ -91350,21 +91344,21 @@ descope-boolean-field-internal {
|
|
|
91350
91344
|
},
|
|
91351
91345
|
};
|
|
91352
91346
|
|
|
91353
|
-
const vars$
|
|
91347
|
+
const vars$u = {
|
|
91354
91348
|
...compVars$3,
|
|
91355
91349
|
};
|
|
91356
91350
|
|
|
91357
91351
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
91358
91352
|
__proto__: null,
|
|
91359
91353
|
default: avatar,
|
|
91360
|
-
vars: vars$
|
|
91354
|
+
vars: vars$u
|
|
91361
91355
|
});
|
|
91362
91356
|
|
|
91363
|
-
const componentName$
|
|
91357
|
+
const componentName$w = getComponentName$1('mappings-field-internal');
|
|
91364
91358
|
|
|
91365
|
-
createBaseInputClass({ componentName: componentName$
|
|
91359
|
+
createBaseInputClass({ componentName: componentName$w, baseSelector: 'div' });
|
|
91366
91360
|
|
|
91367
|
-
const componentName$
|
|
91361
|
+
const componentName$v = getComponentName$1('mappings-field');
|
|
91368
91362
|
|
|
91369
91363
|
const customMixin$6 = (superclass) =>
|
|
91370
91364
|
class MappingsFieldMixinClass extends superclass {
|
|
@@ -91393,14 +91387,14 @@ descope-boolean-field-internal {
|
|
|
91393
91387
|
const template = document.createElement('template');
|
|
91394
91388
|
|
|
91395
91389
|
template.innerHTML = `
|
|
91396
|
-
<${componentName$
|
|
91390
|
+
<${componentName$w}
|
|
91397
91391
|
tabindex="-1"
|
|
91398
|
-
></${componentName$
|
|
91392
|
+
></${componentName$w}>
|
|
91399
91393
|
`;
|
|
91400
91394
|
|
|
91401
91395
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
91402
91396
|
|
|
91403
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
91397
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$w);
|
|
91404
91398
|
|
|
91405
91399
|
forwardAttrs$1(this, this.inputElement, {
|
|
91406
91400
|
includeAttrs: [
|
|
@@ -91535,47 +91529,47 @@ descope-boolean-field-internal {
|
|
|
91535
91529
|
'options',
|
|
91536
91530
|
'error-message',
|
|
91537
91531
|
],
|
|
91538
|
-
componentName: componentName$
|
|
91532
|
+
componentName: componentName$v,
|
|
91539
91533
|
})
|
|
91540
91534
|
);
|
|
91541
91535
|
|
|
91542
91536
|
const globalRefs$j = getThemeRefs(globals$1);
|
|
91543
91537
|
|
|
91544
|
-
const vars$
|
|
91538
|
+
const vars$t = MappingsFieldClass.cssVarList;
|
|
91545
91539
|
|
|
91546
91540
|
const mappingsField = {
|
|
91547
|
-
[vars$
|
|
91548
|
-
[vars$
|
|
91549
|
-
[vars$
|
|
91550
|
-
[vars$
|
|
91551
|
-
[vars$
|
|
91552
|
-
[vars$
|
|
91553
|
-
[vars$
|
|
91554
|
-
[vars$
|
|
91555
|
-
[vars$
|
|
91556
|
-
[vars$
|
|
91541
|
+
[vars$t.hostWidth]: refs$1.width,
|
|
91542
|
+
[vars$t.hostDirection]: refs$1.direction,
|
|
91543
|
+
[vars$t.fontSize]: refs$1.fontSize,
|
|
91544
|
+
[vars$t.fontFamily]: refs$1.fontFamily,
|
|
91545
|
+
[vars$t.separatorFontSize]: '14px',
|
|
91546
|
+
[vars$t.labelsFontSize]: '14px',
|
|
91547
|
+
[vars$t.labelsLineHeight]: '1',
|
|
91548
|
+
[vars$t.labelsMarginBottom]: '6px',
|
|
91549
|
+
[vars$t.labelTextColor]: refs$1.labelTextColor,
|
|
91550
|
+
[vars$t.itemMarginBottom]: '1em',
|
|
91557
91551
|
// To be positioned correctly, the min width has to match the text field min width
|
|
91558
|
-
[vars$
|
|
91552
|
+
[vars$t.valueLabelMinWidth]: refs$1.minWidth,
|
|
91559
91553
|
// To be positioned correctly, the min width has to match the combo box field min width
|
|
91560
|
-
[vars$
|
|
91561
|
-
[vars$
|
|
91562
|
-
[vars$
|
|
91554
|
+
[vars$t.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$j.border.xs})`,
|
|
91555
|
+
[vars$t.separatorWidth]: '70px',
|
|
91556
|
+
[vars$t.removeButtonWidth]: '60px',
|
|
91563
91557
|
};
|
|
91564
91558
|
|
|
91565
91559
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
|
91566
91560
|
__proto__: null,
|
|
91567
91561
|
default: mappingsField,
|
|
91568
91562
|
mappingsField: mappingsField,
|
|
91569
|
-
vars: vars$
|
|
91563
|
+
vars: vars$t
|
|
91570
91564
|
});
|
|
91571
91565
|
|
|
91572
91566
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
91573
91567
|
|
|
91574
91568
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
|
91575
91569
|
|
|
91576
|
-
const componentName$
|
|
91570
|
+
const componentName$u = getComponentName$1('user-attribute');
|
|
91577
91571
|
class RawUserAttribute extends createBaseClass({
|
|
91578
|
-
componentName: componentName$
|
|
91572
|
+
componentName: componentName$u,
|
|
91579
91573
|
baseSelector: ':host > .root',
|
|
91580
91574
|
}) {
|
|
91581
91575
|
constructor() {
|
|
@@ -91820,31 +91814,31 @@ descope-boolean-field-internal {
|
|
|
91820
91814
|
)(RawUserAttribute);
|
|
91821
91815
|
|
|
91822
91816
|
const globalRefs$i = getThemeRefs(globals$1);
|
|
91823
|
-
const vars$
|
|
91817
|
+
const vars$s = UserAttributeClass.cssVarList;
|
|
91824
91818
|
|
|
91825
91819
|
const userAttribute = {
|
|
91826
|
-
[vars$
|
|
91827
|
-
[vars$
|
|
91828
|
-
[vars$
|
|
91829
|
-
[vars$
|
|
91830
|
-
[vars$
|
|
91831
|
-
[vars$
|
|
91820
|
+
[vars$s.hostDirection]: globalRefs$i.direction,
|
|
91821
|
+
[vars$s.labelTextWidth]: '150px',
|
|
91822
|
+
[vars$s.valueTextWidth]: '200px',
|
|
91823
|
+
[vars$s.badgeMaxWidth]: '85px',
|
|
91824
|
+
[vars$s.itemsGap]: '16px',
|
|
91825
|
+
[vars$s.hostMinWidth]: '530px',
|
|
91832
91826
|
_fullWidth: {
|
|
91833
|
-
[vars$
|
|
91827
|
+
[vars$s.hostWidth]: '100%',
|
|
91834
91828
|
},
|
|
91835
91829
|
};
|
|
91836
91830
|
|
|
91837
91831
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
|
91838
91832
|
__proto__: null,
|
|
91839
91833
|
default: userAttribute,
|
|
91840
|
-
vars: vars$
|
|
91834
|
+
vars: vars$s
|
|
91841
91835
|
});
|
|
91842
91836
|
|
|
91843
91837
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
91844
91838
|
|
|
91845
|
-
const componentName$
|
|
91839
|
+
const componentName$t = getComponentName$1('user-auth-method');
|
|
91846
91840
|
class RawUserAuthMethod extends createBaseClass({
|
|
91847
|
-
componentName: componentName$
|
|
91841
|
+
componentName: componentName$t,
|
|
91848
91842
|
baseSelector: ':host > .root',
|
|
91849
91843
|
}) {
|
|
91850
91844
|
constructor() {
|
|
@@ -92040,31 +92034,31 @@ descope-boolean-field-internal {
|
|
|
92040
92034
|
)(RawUserAuthMethod);
|
|
92041
92035
|
|
|
92042
92036
|
const globalRefs$h = getThemeRefs(globals$1);
|
|
92043
|
-
const vars$
|
|
92037
|
+
const vars$r = UserAuthMethodClass.cssVarList;
|
|
92044
92038
|
|
|
92045
92039
|
const userAuthMethod = {
|
|
92046
|
-
[vars$
|
|
92047
|
-
[vars$
|
|
92048
|
-
[vars$
|
|
92049
|
-
[vars$
|
|
92050
|
-
[vars$
|
|
92051
|
-
[vars$
|
|
92040
|
+
[vars$r.hostDirection]: globalRefs$h.direction,
|
|
92041
|
+
[vars$r.labelTextWidth]: '200px',
|
|
92042
|
+
[vars$r.itemsGap]: '16px',
|
|
92043
|
+
[vars$r.hostMinWidth]: '530px',
|
|
92044
|
+
[vars$r.iconSize]: '24px',
|
|
92045
|
+
[vars$r.iconColor]: 'currentcolor',
|
|
92052
92046
|
_fullWidth: {
|
|
92053
|
-
[vars$
|
|
92047
|
+
[vars$r.hostWidth]: '100%',
|
|
92054
92048
|
},
|
|
92055
92049
|
};
|
|
92056
92050
|
|
|
92057
92051
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
|
92058
92052
|
__proto__: null,
|
|
92059
92053
|
default: userAuthMethod,
|
|
92060
|
-
vars: vars$
|
|
92054
|
+
vars: vars$r
|
|
92061
92055
|
});
|
|
92062
92056
|
|
|
92063
|
-
const componentName$
|
|
92057
|
+
const componentName$s = getComponentName$1('saml-group-mappings-internal');
|
|
92064
92058
|
|
|
92065
|
-
createBaseInputClass({ componentName: componentName$
|
|
92059
|
+
createBaseInputClass({ componentName: componentName$s, baseSelector: '' });
|
|
92066
92060
|
|
|
92067
|
-
const componentName$
|
|
92061
|
+
const componentName$r = getComponentName$1('saml-group-mappings');
|
|
92068
92062
|
|
|
92069
92063
|
const customMixin$5 = (superclass) =>
|
|
92070
92064
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
@@ -92074,14 +92068,14 @@ descope-boolean-field-internal {
|
|
|
92074
92068
|
const template = document.createElement('template');
|
|
92075
92069
|
|
|
92076
92070
|
template.innerHTML = `
|
|
92077
|
-
<${componentName$
|
|
92071
|
+
<${componentName$s}
|
|
92078
92072
|
tabindex="-1"
|
|
92079
|
-
></${componentName$
|
|
92073
|
+
></${componentName$s}>
|
|
92080
92074
|
`;
|
|
92081
92075
|
|
|
92082
92076
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
92083
92077
|
|
|
92084
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
92078
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$s);
|
|
92085
92079
|
|
|
92086
92080
|
forwardAttrs$1(this, this.inputElement, {
|
|
92087
92081
|
includeAttrs: [
|
|
@@ -92165,69 +92159,69 @@ descope-boolean-field-internal {
|
|
|
92165
92159
|
'options',
|
|
92166
92160
|
'error-message',
|
|
92167
92161
|
],
|
|
92168
|
-
componentName: componentName$
|
|
92162
|
+
componentName: componentName$r,
|
|
92169
92163
|
})
|
|
92170
92164
|
);
|
|
92171
92165
|
|
|
92172
|
-
const vars$
|
|
92166
|
+
const vars$q = SamlGroupMappingsClass.cssVarList;
|
|
92173
92167
|
|
|
92174
92168
|
const samlGroupMappings = {
|
|
92175
|
-
[vars$
|
|
92176
|
-
[vars$
|
|
92177
|
-
[vars$
|
|
92169
|
+
[vars$q.hostWidth]: refs$1.width,
|
|
92170
|
+
[vars$q.hostDirection]: refs$1.direction,
|
|
92171
|
+
[vars$q.groupNameInputMarginBottom]: '1em',
|
|
92178
92172
|
|
|
92179
92173
|
// error message icon
|
|
92180
|
-
[vars$
|
|
92181
|
-
[vars$
|
|
92182
|
-
[vars$
|
|
92183
|
-
[vars$
|
|
92184
|
-
[vars$
|
|
92185
|
-
[vars$
|
|
92174
|
+
[vars$q.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
92175
|
+
[vars$q.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
92176
|
+
[vars$q.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
92177
|
+
[vars$q.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
92178
|
+
[vars$q.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
92179
|
+
[vars$q.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
92186
92180
|
};
|
|
92187
92181
|
|
|
92188
92182
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
|
92189
92183
|
__proto__: null,
|
|
92190
92184
|
default: samlGroupMappings,
|
|
92191
92185
|
samlGroupMappings: samlGroupMappings,
|
|
92192
|
-
vars: vars$
|
|
92186
|
+
vars: vars$q
|
|
92193
92187
|
});
|
|
92194
92188
|
|
|
92195
92189
|
const globalRefs$g = getThemeRefs(globals$1);
|
|
92196
|
-
const vars$
|
|
92190
|
+
const vars$p = PolicyValidationClass.cssVarList;
|
|
92197
92191
|
|
|
92198
92192
|
const policyValidation = {
|
|
92199
|
-
[vars$
|
|
92200
|
-
[vars$
|
|
92201
|
-
[vars$
|
|
92202
|
-
[vars$
|
|
92203
|
-
[vars$
|
|
92204
|
-
[vars$
|
|
92205
|
-
[vars$
|
|
92206
|
-
[vars$
|
|
92207
|
-
[vars$
|
|
92208
|
-
[vars$
|
|
92209
|
-
[vars$
|
|
92210
|
-
[vars$
|
|
92211
|
-
[vars$
|
|
92212
|
-
[vars$
|
|
92213
|
-
[vars$
|
|
92214
|
-
[vars$
|
|
92193
|
+
[vars$p.fontFamily]: refs$1.fontFamily,
|
|
92194
|
+
[vars$p.fontSize]: refs$1.labelFontSize,
|
|
92195
|
+
[vars$p.textColor]: refs$1.labelTextColor,
|
|
92196
|
+
[vars$p.borderWidth]: refs$1.borderWidth,
|
|
92197
|
+
[vars$p.borderStyle]: refs$1.borderStyle,
|
|
92198
|
+
[vars$p.borderColor]: refs$1.borderColor,
|
|
92199
|
+
[vars$p.borderRadius]: globalRefs$g.radius.sm,
|
|
92200
|
+
[vars$p.backgroundColor]: 'none',
|
|
92201
|
+
[vars$p.padding]: '0px',
|
|
92202
|
+
[vars$p.labelMargin]: globalRefs$g.spacing.sm,
|
|
92203
|
+
[vars$p.itemsSpacing]: globalRefs$g.spacing.lg,
|
|
92204
|
+
[vars$p.itemSymbolDefault]: "'\\2022'", // "•"
|
|
92205
|
+
[vars$p.itemSymbolSuccess]: "'\\2713'", // "✓"
|
|
92206
|
+
[vars$p.itemSymbolError]: "'\\2A09'", // "⨉"
|
|
92207
|
+
[vars$p.itemSymbolSuccessColor]: globalRefs$g.colors.success.main,
|
|
92208
|
+
[vars$p.itemSymbolErrorColor]: globalRefs$g.colors.error.main,
|
|
92215
92209
|
};
|
|
92216
92210
|
|
|
92217
92211
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
|
92218
92212
|
__proto__: null,
|
|
92219
92213
|
default: policyValidation,
|
|
92220
|
-
vars: vars$
|
|
92214
|
+
vars: vars$p
|
|
92221
92215
|
});
|
|
92222
92216
|
|
|
92223
|
-
const vars$
|
|
92217
|
+
const vars$o = IconClass.cssVarList;
|
|
92224
92218
|
|
|
92225
92219
|
const icon$2 = {};
|
|
92226
92220
|
|
|
92227
92221
|
var icon$3 = /*#__PURE__*/Object.freeze({
|
|
92228
92222
|
__proto__: null,
|
|
92229
92223
|
default: icon$2,
|
|
92230
|
-
vars: vars$
|
|
92224
|
+
vars: vars$o
|
|
92231
92225
|
});
|
|
92232
92226
|
|
|
92233
92227
|
const getFileExtension = (path) => {
|
|
@@ -92291,12 +92285,12 @@ descope-boolean-field-internal {
|
|
|
92291
92285
|
|
|
92292
92286
|
/* eslint-disable no-use-before-define */
|
|
92293
92287
|
|
|
92294
|
-
const componentName$
|
|
92288
|
+
const componentName$q = getComponentName('image');
|
|
92295
92289
|
|
|
92296
92290
|
const srcAttrs = ['src', 'src-dark'];
|
|
92297
92291
|
|
|
92298
92292
|
class RawImage extends createBaseClass$1({
|
|
92299
|
-
componentName: componentName$
|
|
92293
|
+
componentName: componentName$q,
|
|
92300
92294
|
baseSelector: 'slot',
|
|
92301
92295
|
}) {
|
|
92302
92296
|
static get observedAttributes() {
|
|
@@ -92424,14 +92418,14 @@ descope-boolean-field-internal {
|
|
|
92424
92418
|
componentNameValidationMixin$1,
|
|
92425
92419
|
)(RawImage);
|
|
92426
92420
|
|
|
92427
|
-
const vars$
|
|
92421
|
+
const vars$n = ImageClass.cssVarList;
|
|
92428
92422
|
|
|
92429
92423
|
const image = {};
|
|
92430
92424
|
|
|
92431
92425
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
92432
92426
|
__proto__: null,
|
|
92433
92427
|
default: image,
|
|
92434
|
-
vars: vars$
|
|
92428
|
+
vars: vars$n
|
|
92435
92429
|
});
|
|
92436
92430
|
|
|
92437
92431
|
const decode = (input) => {
|
|
@@ -92444,9 +92438,9 @@ descope-boolean-field-internal {
|
|
|
92444
92438
|
return inline ? input : `<pre>${input}</pre>`;
|
|
92445
92439
|
};
|
|
92446
92440
|
|
|
92447
|
-
const componentName$
|
|
92441
|
+
const componentName$p = getComponentName$1('code-snippet');
|
|
92448
92442
|
|
|
92449
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
|
92443
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > code' }) {
|
|
92450
92444
|
static get observedAttributes() {
|
|
92451
92445
|
return ['lang', 'inline'];
|
|
92452
92446
|
}
|
|
@@ -92682,7 +92676,7 @@ descope-boolean-field-internal {
|
|
|
92682
92676
|
|
|
92683
92677
|
const globalRefs$f = getThemeRefs(globals$1);
|
|
92684
92678
|
|
|
92685
|
-
const vars$
|
|
92679
|
+
const vars$m = CodeSnippetClass.cssVarList;
|
|
92686
92680
|
|
|
92687
92681
|
const light = {
|
|
92688
92682
|
color2: '#d73a49',
|
|
@@ -92711,50 +92705,50 @@ descope-boolean-field-internal {
|
|
|
92711
92705
|
};
|
|
92712
92706
|
|
|
92713
92707
|
const CodeSnippet = {
|
|
92714
|
-
[vars$
|
|
92715
|
-
[vars$
|
|
92716
|
-
[vars$
|
|
92717
|
-
[vars$
|
|
92718
|
-
[vars$
|
|
92719
|
-
[vars$
|
|
92720
|
-
[vars$
|
|
92721
|
-
[vars$
|
|
92722
|
-
[vars$
|
|
92723
|
-
[vars$
|
|
92724
|
-
[vars$
|
|
92725
|
-
[vars$
|
|
92726
|
-
[vars$
|
|
92727
|
-
[vars$
|
|
92728
|
-
[vars$
|
|
92729
|
-
[vars$
|
|
92730
|
-
[vars$
|
|
92731
|
-
[vars$
|
|
92732
|
-
[vars$
|
|
92733
|
-
[vars$
|
|
92734
|
-
[vars$
|
|
92735
|
-
[vars$
|
|
92736
|
-
[vars$
|
|
92737
|
-
[vars$
|
|
92738
|
-
[vars$
|
|
92739
|
-
[vars$
|
|
92740
|
-
[vars$
|
|
92741
|
-
[vars$
|
|
92742
|
-
[vars$
|
|
92743
|
-
[vars$
|
|
92744
|
-
[vars$
|
|
92745
|
-
[vars$
|
|
92746
|
-
[vars$
|
|
92747
|
-
[vars$
|
|
92748
|
-
[vars$
|
|
92749
|
-
[vars$
|
|
92750
|
-
[vars$
|
|
92751
|
-
[vars$
|
|
92752
|
-
[vars$
|
|
92753
|
-
[vars$
|
|
92754
|
-
[vars$
|
|
92755
|
-
[vars$
|
|
92756
|
-
[vars$
|
|
92757
|
-
[vars$
|
|
92708
|
+
[vars$m.rootBgColor]: globalRefs$f.colors.surface.main,
|
|
92709
|
+
[vars$m.rootTextColor]: globalRefs$f.colors.surface.contrast,
|
|
92710
|
+
[vars$m.docTagTextColor]: light.color2,
|
|
92711
|
+
[vars$m.keywordTextColor]: light.color2,
|
|
92712
|
+
[vars$m.metaKeywordTextColor]: light.color2,
|
|
92713
|
+
[vars$m.templateTagTextColor]: light.color2,
|
|
92714
|
+
[vars$m.templateVariableTextColor]: light.color2,
|
|
92715
|
+
[vars$m.typeTextColor]: light.color2,
|
|
92716
|
+
[vars$m.variableLanguageTextColor]: light.color2,
|
|
92717
|
+
[vars$m.titleTextColor]: light.color3,
|
|
92718
|
+
[vars$m.titleClassTextColor]: light.color3,
|
|
92719
|
+
[vars$m.titleClassInheritedTextColor]: light.color3,
|
|
92720
|
+
[vars$m.titleFunctionTextColor]: light.color3,
|
|
92721
|
+
[vars$m.attrTextColor]: light.color4,
|
|
92722
|
+
[vars$m.attributeTextColor]: light.color4,
|
|
92723
|
+
[vars$m.literalTextColor]: light.color4,
|
|
92724
|
+
[vars$m.metaTextColor]: light.color4,
|
|
92725
|
+
[vars$m.numberTextColor]: light.color4,
|
|
92726
|
+
[vars$m.operatorTextColor]: light.color4,
|
|
92727
|
+
[vars$m.variableTextColor]: light.color4,
|
|
92728
|
+
[vars$m.selectorAttrTextColor]: light.color4,
|
|
92729
|
+
[vars$m.selectorClassTextColor]: light.color4,
|
|
92730
|
+
[vars$m.selectorIdTextColor]: light.color4,
|
|
92731
|
+
[vars$m.regexpTextColor]: light.color13,
|
|
92732
|
+
[vars$m.stringTextColor]: light.color13,
|
|
92733
|
+
[vars$m.metaStringTextColor]: light.color13,
|
|
92734
|
+
[vars$m.builtInTextColor]: light.color5,
|
|
92735
|
+
[vars$m.symbolTextColor]: light.color5,
|
|
92736
|
+
[vars$m.commentTextColor]: light.color6,
|
|
92737
|
+
[vars$m.codeTextColor]: light.color6,
|
|
92738
|
+
[vars$m.formulaTextColor]: light.color6,
|
|
92739
|
+
[vars$m.nameTextColor]: light.color7,
|
|
92740
|
+
[vars$m.quoteTextColor]: light.color7,
|
|
92741
|
+
[vars$m.selectorTagTextColor]: light.color7,
|
|
92742
|
+
[vars$m.selectorPseudoTextColor]: light.color7,
|
|
92743
|
+
[vars$m.substTextColor]: light.color8,
|
|
92744
|
+
[vars$m.sectionTextColor]: light.color4,
|
|
92745
|
+
[vars$m.bulletTextColor]: light.color9,
|
|
92746
|
+
[vars$m.emphasisTextColor]: light.color8,
|
|
92747
|
+
[vars$m.strongTextColor]: light.color8,
|
|
92748
|
+
[vars$m.additionTextColor]: light.color7,
|
|
92749
|
+
[vars$m.additionBgColor]: light.color10,
|
|
92750
|
+
[vars$m.deletionTextColor]: light.color2,
|
|
92751
|
+
[vars$m.deletionBgColor]: light.color10,
|
|
92758
92752
|
/* purposely ignored */
|
|
92759
92753
|
// [vars.charEscapeTextColor]: '',
|
|
92760
92754
|
// [vars.linkTextColor]: '',
|
|
@@ -92766,50 +92760,50 @@ descope-boolean-field-internal {
|
|
|
92766
92760
|
|
|
92767
92761
|
const codeSnippetDarkThemeOverrides = {
|
|
92768
92762
|
codeSnippet: {
|
|
92769
|
-
[vars$
|
|
92770
|
-
[vars$
|
|
92771
|
-
[vars$
|
|
92772
|
-
[vars$
|
|
92773
|
-
[vars$
|
|
92774
|
-
[vars$
|
|
92775
|
-
[vars$
|
|
92776
|
-
[vars$
|
|
92777
|
-
[vars$
|
|
92778
|
-
[vars$
|
|
92779
|
-
[vars$
|
|
92780
|
-
[vars$
|
|
92781
|
-
[vars$
|
|
92782
|
-
[vars$
|
|
92783
|
-
[vars$
|
|
92784
|
-
[vars$
|
|
92785
|
-
[vars$
|
|
92786
|
-
[vars$
|
|
92787
|
-
[vars$
|
|
92788
|
-
[vars$
|
|
92789
|
-
[vars$
|
|
92790
|
-
[vars$
|
|
92791
|
-
[vars$
|
|
92792
|
-
[vars$
|
|
92793
|
-
[vars$
|
|
92794
|
-
[vars$
|
|
92795
|
-
[vars$
|
|
92796
|
-
[vars$
|
|
92797
|
-
[vars$
|
|
92798
|
-
[vars$
|
|
92799
|
-
[vars$
|
|
92800
|
-
[vars$
|
|
92801
|
-
[vars$
|
|
92802
|
-
[vars$
|
|
92803
|
-
[vars$
|
|
92804
|
-
[vars$
|
|
92805
|
-
[vars$
|
|
92806
|
-
[vars$
|
|
92807
|
-
[vars$
|
|
92808
|
-
[vars$
|
|
92809
|
-
[vars$
|
|
92810
|
-
[vars$
|
|
92811
|
-
[vars$
|
|
92812
|
-
[vars$
|
|
92763
|
+
[vars$m.rootBgColor]: globalRefs$f.colors.surface.main,
|
|
92764
|
+
[vars$m.rootTextColor]: globalRefs$f.colors.surface.contrast,
|
|
92765
|
+
[vars$m.docTagTextColor]: dark.color2,
|
|
92766
|
+
[vars$m.keywordTextColor]: dark.color2,
|
|
92767
|
+
[vars$m.metaKeywordTextColor]: dark.color2,
|
|
92768
|
+
[vars$m.templateTagTextColor]: dark.color2,
|
|
92769
|
+
[vars$m.templateVariableTextColor]: dark.color2,
|
|
92770
|
+
[vars$m.typeTextColor]: dark.color2,
|
|
92771
|
+
[vars$m.variableLanguageTextColor]: dark.color2,
|
|
92772
|
+
[vars$m.titleTextColor]: dark.color3,
|
|
92773
|
+
[vars$m.titleClassTextColor]: dark.color3,
|
|
92774
|
+
[vars$m.titleClassInheritedTextColor]: dark.color3,
|
|
92775
|
+
[vars$m.titleFunctionTextColor]: dark.color3,
|
|
92776
|
+
[vars$m.attrTextColor]: dark.color4,
|
|
92777
|
+
[vars$m.attributeTextColor]: dark.color4,
|
|
92778
|
+
[vars$m.literalTextColor]: dark.color4,
|
|
92779
|
+
[vars$m.metaTextColor]: dark.color4,
|
|
92780
|
+
[vars$m.numberTextColor]: dark.color4,
|
|
92781
|
+
[vars$m.operatorTextColor]: dark.color4,
|
|
92782
|
+
[vars$m.variableTextColor]: dark.color4,
|
|
92783
|
+
[vars$m.selectorAttrTextColor]: dark.color4,
|
|
92784
|
+
[vars$m.selectorClassTextColor]: dark.color4,
|
|
92785
|
+
[vars$m.selectorIdTextColor]: dark.color4,
|
|
92786
|
+
[vars$m.regexpTextColor]: dark.color13,
|
|
92787
|
+
[vars$m.stringTextColor]: dark.color13,
|
|
92788
|
+
[vars$m.metaStringTextColor]: dark.color13,
|
|
92789
|
+
[vars$m.builtInTextColor]: dark.color5,
|
|
92790
|
+
[vars$m.symbolTextColor]: dark.color5,
|
|
92791
|
+
[vars$m.commentTextColor]: dark.color6,
|
|
92792
|
+
[vars$m.codeTextColor]: dark.color6,
|
|
92793
|
+
[vars$m.formulaTextColor]: dark.color6,
|
|
92794
|
+
[vars$m.nameTextColor]: dark.color7,
|
|
92795
|
+
[vars$m.quoteTextColor]: dark.color7,
|
|
92796
|
+
[vars$m.selectorTagTextColor]: dark.color7,
|
|
92797
|
+
[vars$m.selectorPseudoTextColor]: dark.color7,
|
|
92798
|
+
[vars$m.substTextColor]: dark.color8,
|
|
92799
|
+
[vars$m.sectionTextColor]: dark.color4,
|
|
92800
|
+
[vars$m.bulletTextColor]: dark.color9,
|
|
92801
|
+
[vars$m.emphasisTextColor]: dark.color8,
|
|
92802
|
+
[vars$m.strongTextColor]: dark.color8,
|
|
92803
|
+
[vars$m.additionTextColor]: dark.color7,
|
|
92804
|
+
[vars$m.additionBgColor]: dark.color10,
|
|
92805
|
+
[vars$m.deletionTextColor]: dark.color2,
|
|
92806
|
+
[vars$m.deletionBgColor]: dark.color10,
|
|
92813
92807
|
},
|
|
92814
92808
|
};
|
|
92815
92809
|
|
|
@@ -92817,10 +92811,10 @@ descope-boolean-field-internal {
|
|
|
92817
92811
|
__proto__: null,
|
|
92818
92812
|
codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
|
|
92819
92813
|
default: CodeSnippet,
|
|
92820
|
-
vars: vars$
|
|
92814
|
+
vars: vars$m
|
|
92821
92815
|
});
|
|
92822
92816
|
|
|
92823
|
-
const componentName$
|
|
92817
|
+
const componentName$o = getComponentName$1('radio-button');
|
|
92824
92818
|
|
|
92825
92819
|
const customMixin$4 = (superclass) =>
|
|
92826
92820
|
class CustomMixin extends superclass {
|
|
@@ -92885,11 +92879,11 @@ descope-boolean-field-internal {
|
|
|
92885
92879
|
wrappedEleName: 'vaadin-radio-button',
|
|
92886
92880
|
excludeAttrsSync: ['tabindex', 'data'],
|
|
92887
92881
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
|
92888
|
-
componentName: componentName$
|
|
92882
|
+
componentName: componentName$o,
|
|
92889
92883
|
})
|
|
92890
92884
|
);
|
|
92891
92885
|
|
|
92892
|
-
const componentName$
|
|
92886
|
+
const componentName$n = getComponentName$1('radio-group');
|
|
92893
92887
|
|
|
92894
92888
|
const RadioGroupMixin = (superclass) =>
|
|
92895
92889
|
class RadioGroupMixinClass extends superclass {
|
|
@@ -92904,12 +92898,12 @@ descope-boolean-field-internal {
|
|
|
92904
92898
|
|
|
92905
92899
|
// we are overriding vaadin children getter so it will run on our custom elements
|
|
92906
92900
|
Object.defineProperty(this.baseElement, 'children', {
|
|
92907
|
-
get: () => this.querySelectorAll(componentName$
|
|
92901
|
+
get: () => this.querySelectorAll(componentName$o),
|
|
92908
92902
|
});
|
|
92909
92903
|
|
|
92910
92904
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
|
92911
92905
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
|
92912
|
-
return nodes.filter((node) => node.localName === componentName$
|
|
92906
|
+
return nodes.filter((node) => node.localName === componentName$o);
|
|
92913
92907
|
};
|
|
92914
92908
|
|
|
92915
92909
|
// vaadin radio group missing some input properties
|
|
@@ -93059,44 +93053,44 @@ descope-boolean-field-internal {
|
|
|
93059
93053
|
`,
|
|
93060
93054
|
|
|
93061
93055
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
|
93062
|
-
componentName: componentName$
|
|
93056
|
+
componentName: componentName$n,
|
|
93063
93057
|
includeForwardProps: ['value'],
|
|
93064
93058
|
})
|
|
93065
93059
|
);
|
|
93066
93060
|
|
|
93067
|
-
const vars$
|
|
93061
|
+
const vars$l = RadioGroupClass.cssVarList;
|
|
93068
93062
|
const globalRefs$e = getThemeRefs(globals$1);
|
|
93069
93063
|
|
|
93070
93064
|
const radioGroup = {
|
|
93071
|
-
[vars$
|
|
93072
|
-
[vars$
|
|
93073
|
-
[vars$
|
|
93074
|
-
[vars$
|
|
93075
|
-
[vars$
|
|
93076
|
-
[vars$
|
|
93077
|
-
[vars$
|
|
93078
|
-
[vars$
|
|
93079
|
-
[vars$
|
|
93080
|
-
[vars$
|
|
93081
|
-
[vars$
|
|
93082
|
-
[vars$
|
|
93083
|
-
[vars$
|
|
93084
|
-
[vars$
|
|
93085
|
-
[vars$
|
|
93086
|
-
[vars$
|
|
93065
|
+
[vars$l.buttonsRowGap]: '9px',
|
|
93066
|
+
[vars$l.hostWidth]: refs$1.width,
|
|
93067
|
+
[vars$l.hostDirection]: refs$1.direction,
|
|
93068
|
+
[vars$l.fontSize]: refs$1.fontSize,
|
|
93069
|
+
[vars$l.fontFamily]: refs$1.fontFamily,
|
|
93070
|
+
[vars$l.labelTextColor]: refs$1.labelTextColor,
|
|
93071
|
+
[vars$l.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
93072
|
+
[vars$l.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
93073
|
+
[vars$l.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
93074
|
+
[vars$l.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
93075
|
+
[vars$l.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
93076
|
+
[vars$l.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
93077
|
+
[vars$l.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
93078
|
+
[vars$l.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
93079
|
+
[vars$l.helperTextColor]: refs$1.helperTextColor,
|
|
93080
|
+
[vars$l.itemsLabelColor]: globalRefs$e.colors.surface.contrast,
|
|
93087
93081
|
|
|
93088
93082
|
textAlign: {
|
|
93089
|
-
right: { [vars$
|
|
93090
|
-
left: { [vars$
|
|
93091
|
-
center: { [vars$
|
|
93083
|
+
right: { [vars$l.inputTextAlign]: 'right' },
|
|
93084
|
+
left: { [vars$l.inputTextAlign]: 'left' },
|
|
93085
|
+
center: { [vars$l.inputTextAlign]: 'center' },
|
|
93092
93086
|
},
|
|
93093
93087
|
|
|
93094
93088
|
_fullWidth: {
|
|
93095
|
-
[vars$
|
|
93089
|
+
[vars$l.buttonsSpacing]: 'space-between',
|
|
93096
93090
|
},
|
|
93097
93091
|
|
|
93098
93092
|
_disabled: {
|
|
93099
|
-
[vars$
|
|
93093
|
+
[vars$l.itemsLabelColor]: globalRefs$e.colors.surface.light,
|
|
93100
93094
|
},
|
|
93101
93095
|
};
|
|
93102
93096
|
|
|
@@ -93104,24 +93098,24 @@ descope-boolean-field-internal {
|
|
|
93104
93098
|
__proto__: null,
|
|
93105
93099
|
default: radioGroup,
|
|
93106
93100
|
radioGroup: radioGroup,
|
|
93107
|
-
vars: vars$
|
|
93101
|
+
vars: vars$l
|
|
93108
93102
|
});
|
|
93109
93103
|
|
|
93110
|
-
const vars$
|
|
93104
|
+
const vars$k = RadioButtonClass.cssVarList;
|
|
93111
93105
|
const globalRefs$d = getThemeRefs(globals$1);
|
|
93112
93106
|
|
|
93113
93107
|
const radioButton = {
|
|
93114
|
-
[vars$
|
|
93115
|
-
[vars$
|
|
93116
|
-
[vars$
|
|
93117
|
-
[vars$
|
|
93118
|
-
[vars$
|
|
93119
|
-
[vars$
|
|
93120
|
-
[vars$
|
|
93121
|
-
[vars$
|
|
93108
|
+
[vars$k.fontFamily]: refs$1.fontFamily,
|
|
93109
|
+
[vars$k.radioSize]: 'calc(1em + 6px)',
|
|
93110
|
+
[vars$k.radioMargin]: 'auto 4px',
|
|
93111
|
+
[vars$k.radioCheckedSize]: `calc(var(${vars$k.radioSize})/5)`,
|
|
93112
|
+
[vars$k.radioCheckedColor]: globalRefs$d.colors.surface.light,
|
|
93113
|
+
[vars$k.radioBackgroundColor]: globalRefs$d.colors.surface.light,
|
|
93114
|
+
[vars$k.radioBorderColor]: 'none',
|
|
93115
|
+
[vars$k.radioBorderWidth]: 0,
|
|
93122
93116
|
|
|
93123
93117
|
_checked: {
|
|
93124
|
-
[vars$
|
|
93118
|
+
[vars$k.radioBackgroundColor]: globalRefs$d.colors.surface.contrast,
|
|
93125
93119
|
},
|
|
93126
93120
|
|
|
93127
93121
|
_hover: {
|
|
@@ -93130,16 +93124,16 @@ descope-boolean-field-internal {
|
|
|
93130
93124
|
|
|
93131
93125
|
size: {
|
|
93132
93126
|
xs: {
|
|
93133
|
-
[vars$
|
|
93127
|
+
[vars$k.fontSize]: '12px',
|
|
93134
93128
|
},
|
|
93135
93129
|
sm: {
|
|
93136
|
-
[vars$
|
|
93130
|
+
[vars$k.fontSize]: '14px',
|
|
93137
93131
|
},
|
|
93138
93132
|
md: {
|
|
93139
|
-
[vars$
|
|
93133
|
+
[vars$k.fontSize]: '16px',
|
|
93140
93134
|
},
|
|
93141
93135
|
lg: {
|
|
93142
|
-
[vars$
|
|
93136
|
+
[vars$k.fontSize]: '18px',
|
|
93143
93137
|
},
|
|
93144
93138
|
},
|
|
93145
93139
|
};
|
|
@@ -93148,7 +93142,7 @@ descope-boolean-field-internal {
|
|
|
93148
93142
|
__proto__: null,
|
|
93149
93143
|
default: radioButton,
|
|
93150
93144
|
radioButton: radioButton,
|
|
93151
|
-
vars: vars$
|
|
93145
|
+
vars: vars$k
|
|
93152
93146
|
});
|
|
93153
93147
|
|
|
93154
93148
|
const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
|
@@ -93492,7 +93486,7 @@ descope-boolean-field-internal {
|
|
|
93492
93486
|
return date;
|
|
93493
93487
|
};
|
|
93494
93488
|
|
|
93495
|
-
const componentName$
|
|
93489
|
+
const componentName$m = getComponentName$1('calendar');
|
|
93496
93490
|
|
|
93497
93491
|
const observedAttrs$2 = [
|
|
93498
93492
|
'initial-value',
|
|
@@ -93509,11 +93503,11 @@ descope-boolean-field-internal {
|
|
|
93509
93503
|
|
|
93510
93504
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
|
93511
93505
|
|
|
93512
|
-
const BaseInputClass$
|
|
93506
|
+
const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$m, baseSelector: 'div' });
|
|
93513
93507
|
|
|
93514
|
-
class RawCalendar extends BaseInputClass$
|
|
93508
|
+
class RawCalendar extends BaseInputClass$3 {
|
|
93515
93509
|
static get observedAttributes() {
|
|
93516
|
-
return [].concat(BaseInputClass$
|
|
93510
|
+
return [].concat(BaseInputClass$3.observedAttributes || [], observedAttrs$2, calendarUiAttrs);
|
|
93517
93511
|
}
|
|
93518
93512
|
|
|
93519
93513
|
// preview state timestamp
|
|
@@ -94132,92 +94126,92 @@ descope-boolean-field-internal {
|
|
|
94132
94126
|
|
|
94133
94127
|
const globalRefs$c = getThemeRefs(globals$1);
|
|
94134
94128
|
|
|
94135
|
-
const vars$
|
|
94129
|
+
const vars$j = CalendarClass.cssVarList;
|
|
94136
94130
|
|
|
94137
94131
|
const calendar = {
|
|
94138
|
-
[vars$
|
|
94139
|
-
[vars$
|
|
94140
|
-
[vars$
|
|
94132
|
+
[vars$j.fontFamily]: refs$1.fontFamily,
|
|
94133
|
+
[vars$j.fontSize]: refs$1.fontSize,
|
|
94134
|
+
[vars$j.hostDirection]: refs$1.direction,
|
|
94141
94135
|
|
|
94142
|
-
[vars$
|
|
94136
|
+
[vars$j.calendarPadding]: '1em',
|
|
94143
94137
|
|
|
94144
|
-
[vars$
|
|
94145
|
-
[vars$
|
|
94146
|
-
[vars$
|
|
94147
|
-
[vars$
|
|
94138
|
+
[vars$j.topNavVerticalPadding]: '1em',
|
|
94139
|
+
[vars$j.topNavAlignment]: 'space-between',
|
|
94140
|
+
[vars$j.topNavGap]: '0',
|
|
94141
|
+
[vars$j.topNavSelectorsGap]: '0.5em',
|
|
94148
94142
|
|
|
94149
|
-
[vars$
|
|
94150
|
-
[vars$
|
|
94151
|
-
[vars$
|
|
94152
|
-
[vars$
|
|
94143
|
+
[vars$j.bottomNavVerticalPadding]: '0.75em',
|
|
94144
|
+
[vars$j.bottomNavHorizontalPadding]: '1.5em',
|
|
94145
|
+
[vars$j.bottomNavAlignment]: 'space-between',
|
|
94146
|
+
[vars$j.bottomNavGap]: '0.5em',
|
|
94153
94147
|
|
|
94154
|
-
[vars$
|
|
94155
|
-
[vars$
|
|
94156
|
-
[vars$
|
|
94157
|
-
[vars$
|
|
94148
|
+
[vars$j.navMarginBottom]: '0.75em',
|
|
94149
|
+
[vars$j.navBorderBottomWidth]: '1px',
|
|
94150
|
+
[vars$j.navBorderBottomColor]: globalRefs$c.colors.surface.highlight,
|
|
94151
|
+
[vars$j.navBorderBottomStyle]: 'solid',
|
|
94158
94152
|
|
|
94159
|
-
[vars$
|
|
94160
|
-
[vars$
|
|
94153
|
+
[vars$j.yearInputWidth]: '6em',
|
|
94154
|
+
[vars$j.monthInputWidth]: '8em',
|
|
94161
94155
|
|
|
94162
|
-
[vars$
|
|
94163
|
-
[vars$
|
|
94156
|
+
[vars$j.navButtonSize]: '24px',
|
|
94157
|
+
[vars$j.navButtonCursor]: 'pointer',
|
|
94164
94158
|
|
|
94165
|
-
[vars$
|
|
94166
|
-
[vars$
|
|
94159
|
+
[vars$j.weekdayFontSize]: '0.875em',
|
|
94160
|
+
[vars$j.weekdayFontWeight]: '500',
|
|
94167
94161
|
|
|
94168
94162
|
// day table cell
|
|
94169
|
-
[vars$
|
|
94163
|
+
[vars$j.dayHeight]: '3.125em',
|
|
94170
94164
|
|
|
94171
94165
|
// day value
|
|
94172
|
-
[vars$
|
|
94173
|
-
[vars$
|
|
94174
|
-
[vars$
|
|
94175
|
-
[vars$
|
|
94176
|
-
[vars$
|
|
94177
|
-
[vars$
|
|
94178
|
-
[vars$
|
|
94179
|
-
[vars$
|
|
94180
|
-
[vars$
|
|
94181
|
-
[vars$
|
|
94166
|
+
[vars$j.daySize]: '2.125em',
|
|
94167
|
+
[vars$j.dayFontSize]: '1em',
|
|
94168
|
+
[vars$j.dayRadius]: '50%',
|
|
94169
|
+
[vars$j.dayTextAlign]: 'center',
|
|
94170
|
+
[vars$j.dayPadding]: '0',
|
|
94171
|
+
[vars$j.dayTextColor]: globalRefs$c.colors.surface.contrast,
|
|
94172
|
+
[vars$j.dayFontWeight]: '500',
|
|
94173
|
+
[vars$j.dayBackgroundColor]: 'transparent',
|
|
94174
|
+
[vars$j.dayCursor]: 'pointer',
|
|
94175
|
+
[vars$j.dayBackgroundColorHover]: globalRefs$c.colors.primary.highlight,
|
|
94182
94176
|
|
|
94183
94177
|
// selected day
|
|
94184
|
-
[vars$
|
|
94185
|
-
[vars$
|
|
94178
|
+
[vars$j.daySelectedBackgroundColor]: globalRefs$c.colors.primary.main,
|
|
94179
|
+
[vars$j.daySelectedTextdColor]: globalRefs$c.colors.primary.contrast,
|
|
94186
94180
|
|
|
94187
94181
|
// disabled day (out of min/max range)
|
|
94188
|
-
[vars$
|
|
94182
|
+
[vars$j.dayDisabledTextdColor]: globalRefs$c.colors.surface.light,
|
|
94189
94183
|
|
|
94190
94184
|
// today
|
|
94191
|
-
[vars$
|
|
94192
|
-
[vars$
|
|
94193
|
-
[vars$
|
|
94185
|
+
[vars$j.currentDayBorderColor]: globalRefs$c.colors.surface.light,
|
|
94186
|
+
[vars$j.currentDayBorderWidth]: '1px',
|
|
94187
|
+
[vars$j.currentDayBorderStyle]: 'solid',
|
|
94194
94188
|
|
|
94195
94189
|
size: {
|
|
94196
|
-
xs: { [vars$
|
|
94197
|
-
sm: { [vars$
|
|
94198
|
-
md: { [vars$
|
|
94199
|
-
lg: { [vars$
|
|
94190
|
+
xs: { [vars$j.fontSize]: '12px' },
|
|
94191
|
+
sm: { [vars$j.fontSize]: '14px' },
|
|
94192
|
+
md: { [vars$j.fontSize]: '16px' },
|
|
94193
|
+
lg: { [vars$j.fontSize]: '18px' },
|
|
94200
94194
|
},
|
|
94201
94195
|
|
|
94202
|
-
[vars$
|
|
94196
|
+
[vars$j.navButtonRotation]: 'rotate(180deg)',
|
|
94203
94197
|
|
|
94204
94198
|
_disabled: {
|
|
94205
|
-
[vars$
|
|
94206
|
-
[vars$
|
|
94207
|
-
[vars$
|
|
94208
|
-
[vars$
|
|
94199
|
+
[vars$j.navButtonOpacity]: '0.5',
|
|
94200
|
+
[vars$j.dayBackgroundColorHover]: 'none',
|
|
94201
|
+
[vars$j.navButtonCursor]: 'default',
|
|
94202
|
+
[vars$j.dayCursor]: 'default',
|
|
94209
94203
|
},
|
|
94210
94204
|
|
|
94211
94205
|
_fullWidth: {
|
|
94212
|
-
[vars$
|
|
94213
|
-
[vars$
|
|
94206
|
+
[vars$j.hostWidth]: '100%',
|
|
94207
|
+
[vars$j.dayBlockAlign]: '0 auto',
|
|
94214
94208
|
},
|
|
94215
94209
|
};
|
|
94216
94210
|
|
|
94217
94211
|
var calendar$1 = /*#__PURE__*/Object.freeze({
|
|
94218
94212
|
__proto__: null,
|
|
94219
94213
|
default: calendar,
|
|
94220
|
-
vars: vars$
|
|
94214
|
+
vars: vars$j
|
|
94221
94215
|
});
|
|
94222
94216
|
|
|
94223
94217
|
// DateCounterClass allows us to add several counters to the input, and use them seperately.
|
|
@@ -94338,18 +94332,18 @@ descope-boolean-field-internal {
|
|
|
94338
94332
|
}
|
|
94339
94333
|
}
|
|
94340
94334
|
|
|
94341
|
-
const componentName$
|
|
94335
|
+
const componentName$l = getComponentName$1('date-field');
|
|
94342
94336
|
|
|
94343
94337
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
|
94344
94338
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
|
94345
94339
|
const BASE_SELECTOR = 'vaadin-popover';
|
|
94346
|
-
const BaseInputClass$
|
|
94340
|
+
const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$l, baseSelector: BASE_SELECTOR });
|
|
94347
94341
|
|
|
94348
94342
|
const dateFieldAttrs = ['format', 'opened', 'initial-value', 'readonly', 'disable-calendar'];
|
|
94349
94343
|
const calendarAttrs = ['years-range', 'calendar-months', 'calendar-weekdays'];
|
|
94350
94344
|
const observedAttrs$1 = [...dateFieldAttrs, ...calendarAttrs];
|
|
94351
94345
|
|
|
94352
|
-
class RawDateFieldClass extends BaseInputClass$
|
|
94346
|
+
class RawDateFieldClass extends BaseInputClass$2 {
|
|
94353
94347
|
timestamp = '';
|
|
94354
94348
|
|
|
94355
94349
|
format = DEFAULT_FORMAT;
|
|
@@ -94391,7 +94385,7 @@ descope-boolean-field-internal {
|
|
|
94391
94385
|
];
|
|
94392
94386
|
|
|
94393
94387
|
static get observedAttributes() {
|
|
94394
|
-
return [].concat(BaseInputClass$
|
|
94388
|
+
return [].concat(BaseInputClass$2.observedAttributes || [], observedAttrs$1);
|
|
94395
94389
|
}
|
|
94396
94390
|
|
|
94397
94391
|
constructor() {
|
|
@@ -95230,38 +95224,38 @@ descope-boolean-field-internal {
|
|
|
95230
95224
|
const shadowColor$2 = '#00000020';
|
|
95231
95225
|
const { shadow } = globalRefs$b;
|
|
95232
95226
|
|
|
95233
|
-
const vars$
|
|
95227
|
+
const vars$i = DateFieldClass.cssVarList;
|
|
95234
95228
|
|
|
95235
95229
|
const dateField = {
|
|
95236
|
-
[vars$
|
|
95237
|
-
[vars$
|
|
95238
|
-
[vars$
|
|
95239
|
-
|
|
95240
|
-
[vars$
|
|
95241
|
-
[vars$
|
|
95242
|
-
[vars$
|
|
95243
|
-
[vars$
|
|
95244
|
-
[vars$
|
|
95245
|
-
[vars$
|
|
95246
|
-
[vars$
|
|
95247
|
-
[vars$
|
|
95248
|
-
[vars$
|
|
95249
|
-
|
|
95250
|
-
[vars$
|
|
95251
|
-
[vars$
|
|
95252
|
-
|
|
95253
|
-
[vars$
|
|
95254
|
-
[vars$
|
|
95255
|
-
[vars$
|
|
95256
|
-
[vars$
|
|
95257
|
-
[vars$
|
|
95258
|
-
[vars$
|
|
95230
|
+
[vars$i.hostWidth]: refs$1.width,
|
|
95231
|
+
[vars$i.hostDirection]: refs$1.direction,
|
|
95232
|
+
[vars$i.iconMargin]: '0.375em',
|
|
95233
|
+
|
|
95234
|
+
[vars$i.overlay.marginTop]: `calc(${refs$1.outlineWidth} + 1px)`,
|
|
95235
|
+
[vars$i.overlay.backgroundColor]: refs$1.backgroundColor,
|
|
95236
|
+
[vars$i.overlay.backdropBackgroundColor]: 'transparent',
|
|
95237
|
+
[vars$i.overlay.backdropPointerEvents]: 'all',
|
|
95238
|
+
[vars$i.overlay.boxShadow]: `${shadow.wide.xl} ${shadowColor$2}, ${shadow.narrow.xl} ${shadowColor$2}`,
|
|
95239
|
+
[vars$i.overlay.outlineWidth]: '0',
|
|
95240
|
+
[vars$i.overlay.outlineColor]: 'transparent',
|
|
95241
|
+
[vars$i.overlay.outlineStyle]: 'none',
|
|
95242
|
+
[vars$i.overlay.padding]: '0',
|
|
95243
|
+
|
|
95244
|
+
[vars$i.rtlInputDirection]: 'ltr',
|
|
95245
|
+
[vars$i.rtlInputAlignment]: 'right',
|
|
95246
|
+
|
|
95247
|
+
[vars$i.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
95248
|
+
[vars$i.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
95249
|
+
[vars$i.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
95250
|
+
[vars$i.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
95251
|
+
[vars$i.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
95252
|
+
[vars$i.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
95259
95253
|
};
|
|
95260
95254
|
|
|
95261
95255
|
var dateField$1 = /*#__PURE__*/Object.freeze({
|
|
95262
95256
|
__proto__: null,
|
|
95263
95257
|
default: dateField,
|
|
95264
|
-
vars: vars$
|
|
95258
|
+
vars: vars$i
|
|
95265
95259
|
});
|
|
95266
95260
|
|
|
95267
95261
|
const activeableMixin = (superclass) =>
|
|
@@ -95279,7 +95273,7 @@ descope-boolean-field-internal {
|
|
|
95279
95273
|
}
|
|
95280
95274
|
};
|
|
95281
95275
|
|
|
95282
|
-
const componentName$
|
|
95276
|
+
const componentName$k = getComponentName$1('list-item');
|
|
95283
95277
|
|
|
95284
95278
|
const customMixin$3 = (superclass) =>
|
|
95285
95279
|
class ListItemMixinClass extends superclass {
|
|
@@ -95329,11 +95323,11 @@ descope-boolean-field-internal {
|
|
|
95329
95323
|
componentNameValidationMixin,
|
|
95330
95324
|
customMixin$3,
|
|
95331
95325
|
activeableMixin
|
|
95332
|
-
)(createBaseClass({ componentName: componentName$
|
|
95326
|
+
)(createBaseClass({ componentName: componentName$k, baseSelector: 'slot' }));
|
|
95333
95327
|
|
|
95334
|
-
const componentName$
|
|
95328
|
+
const componentName$j = getComponentName$1('list');
|
|
95335
95329
|
|
|
95336
|
-
class RawList extends createBaseClass({ componentName: componentName$
|
|
95330
|
+
class RawList extends createBaseClass({ componentName: componentName$j, baseSelector: '.wrapper' }) {
|
|
95337
95331
|
static get observedAttributes() {
|
|
95338
95332
|
return ['variant', 'readonly'];
|
|
95339
95333
|
}
|
|
@@ -95487,7 +95481,7 @@ descope-boolean-field-internal {
|
|
|
95487
95481
|
|
|
95488
95482
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
95489
95483
|
{ shadowColor: '#00000020' },
|
|
95490
|
-
componentName$
|
|
95484
|
+
componentName$j
|
|
95491
95485
|
);
|
|
95492
95486
|
|
|
95493
95487
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
|
@@ -95527,7 +95521,7 @@ descope-boolean-field-internal {
|
|
|
95527
95521
|
},
|
|
95528
95522
|
};
|
|
95529
95523
|
|
|
95530
|
-
const vars$
|
|
95524
|
+
const vars$h = {
|
|
95531
95525
|
...compVars$2,
|
|
95532
95526
|
...helperVars$1,
|
|
95533
95527
|
};
|
|
@@ -95535,49 +95529,49 @@ descope-boolean-field-internal {
|
|
|
95535
95529
|
var list$2 = /*#__PURE__*/Object.freeze({
|
|
95536
95530
|
__proto__: null,
|
|
95537
95531
|
default: list$1,
|
|
95538
|
-
vars: vars$
|
|
95532
|
+
vars: vars$h
|
|
95539
95533
|
});
|
|
95540
95534
|
|
|
95541
95535
|
const globalRefs$9 = getThemeRefs(globals$1);
|
|
95542
95536
|
|
|
95543
|
-
const vars$
|
|
95537
|
+
const vars$g = ListItemClass.cssVarList;
|
|
95544
95538
|
|
|
95545
95539
|
const list = {
|
|
95546
|
-
[vars$
|
|
95547
|
-
[vars$
|
|
95548
|
-
[vars$
|
|
95549
|
-
[vars$
|
|
95550
|
-
[vars$
|
|
95551
|
-
[vars$
|
|
95552
|
-
[vars$
|
|
95553
|
-
[vars$
|
|
95554
|
-
[vars$
|
|
95555
|
-
[vars$
|
|
95556
|
-
[vars$
|
|
95540
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.main,
|
|
95541
|
+
[vars$g.padding]: globalRefs$9.spacing.lg,
|
|
95542
|
+
[vars$g.gap]: globalRefs$9.spacing.md,
|
|
95543
|
+
[vars$g.borderStyle]: 'solid',
|
|
95544
|
+
[vars$g.borderWidth]: globalRefs$9.border.xs,
|
|
95545
|
+
[vars$g.borderColor]: globalRefs$9.colors.surface.main,
|
|
95546
|
+
[vars$g.borderRadius]: globalRefs$9.radius.sm,
|
|
95547
|
+
[vars$g.cursor]: 'pointer',
|
|
95548
|
+
[vars$g.alignItems]: 'center',
|
|
95549
|
+
[vars$g.flexDirection]: 'row',
|
|
95550
|
+
[vars$g.transition]: 'border-color 0.2s, background-color 0.2s',
|
|
95557
95551
|
|
|
95558
95552
|
variant: {
|
|
95559
95553
|
tile: {
|
|
95560
|
-
[vars$
|
|
95561
|
-
[vars$
|
|
95562
|
-
[vars$
|
|
95554
|
+
[vars$g.alignItems]: 'flex-start',
|
|
95555
|
+
[vars$g.flexDirection]: 'column',
|
|
95556
|
+
[vars$g.borderColor]: globalRefs$9.colors.surface.light,
|
|
95563
95557
|
},
|
|
95564
95558
|
},
|
|
95565
95559
|
|
|
95566
95560
|
_hover: {
|
|
95567
|
-
[vars$
|
|
95561
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.highlight,
|
|
95568
95562
|
},
|
|
95569
95563
|
|
|
95570
95564
|
_active: {
|
|
95571
|
-
[vars$
|
|
95572
|
-
[vars$
|
|
95573
|
-
[vars$
|
|
95565
|
+
[vars$g.backgroundColor]: globalRefs$9.colors.surface.main,
|
|
95566
|
+
[vars$g.borderColor]: globalRefs$9.colors.primary.light,
|
|
95567
|
+
[vars$g.outline]: `1px solid ${globalRefs$9.colors.primary.light}`,
|
|
95574
95568
|
},
|
|
95575
95569
|
};
|
|
95576
95570
|
|
|
95577
95571
|
var listItem = /*#__PURE__*/Object.freeze({
|
|
95578
95572
|
__proto__: null,
|
|
95579
95573
|
default: list,
|
|
95580
|
-
vars: vars$
|
|
95574
|
+
vars: vars$g
|
|
95581
95575
|
});
|
|
95582
95576
|
|
|
95583
95577
|
const defaultValidateSchema = () => true;
|
|
@@ -95679,7 +95673,7 @@ descope-boolean-field-internal {
|
|
|
95679
95673
|
}
|
|
95680
95674
|
};
|
|
95681
95675
|
|
|
95682
|
-
const componentName$
|
|
95676
|
+
const componentName$i = getComponentName$1('apps-list');
|
|
95683
95677
|
|
|
95684
95678
|
const limitAbbreviation = (str, limit = 2) =>
|
|
95685
95679
|
str
|
|
@@ -95741,7 +95735,7 @@ descope-boolean-field-internal {
|
|
|
95741
95735
|
slots: ['empty-state'],
|
|
95742
95736
|
wrappedEleName: 'descope-list',
|
|
95743
95737
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
|
95744
|
-
componentName: componentName$
|
|
95738
|
+
componentName: componentName$i,
|
|
95745
95739
|
style: () => `
|
|
95746
95740
|
:host {
|
|
95747
95741
|
width: 100%;
|
|
@@ -95766,33 +95760,33 @@ descope-boolean-field-internal {
|
|
|
95766
95760
|
})
|
|
95767
95761
|
);
|
|
95768
95762
|
|
|
95769
|
-
const vars$
|
|
95763
|
+
const vars$f = AppsListClass.cssVarList;
|
|
95770
95764
|
const globalRefs$8 = getThemeRefs(globals$1);
|
|
95771
95765
|
|
|
95772
95766
|
const defaultHeight = '400px';
|
|
95773
95767
|
|
|
95774
95768
|
const appsList = {
|
|
95775
|
-
[vars$
|
|
95776
|
-
[vars$
|
|
95777
|
-
[vars$
|
|
95778
|
-
[vars$
|
|
95769
|
+
[vars$f.itemsFontWeight]: 'normal',
|
|
95770
|
+
[vars$f.itemsTextAlign]: 'start',
|
|
95771
|
+
[vars$f.hostDirection]: globalRefs$8.direction,
|
|
95772
|
+
[vars$f.maxHeight]: defaultHeight,
|
|
95779
95773
|
|
|
95780
95774
|
_empty: {
|
|
95781
|
-
[vars$
|
|
95775
|
+
[vars$f.minHeight]: defaultHeight,
|
|
95782
95776
|
},
|
|
95783
95777
|
|
|
95784
95778
|
size: {
|
|
95785
95779
|
xs: {
|
|
95786
|
-
[vars$
|
|
95780
|
+
[vars$f.itemsFontSize]: '14px',
|
|
95787
95781
|
},
|
|
95788
95782
|
sm: {
|
|
95789
|
-
[vars$
|
|
95783
|
+
[vars$f.itemsFontSize]: '14px',
|
|
95790
95784
|
},
|
|
95791
95785
|
md: {
|
|
95792
|
-
[vars$
|
|
95786
|
+
[vars$f.itemsFontSize]: '16px',
|
|
95793
95787
|
},
|
|
95794
95788
|
lg: {
|
|
95795
|
-
[vars$
|
|
95789
|
+
[vars$f.itemsFontSize]: '20px',
|
|
95796
95790
|
},
|
|
95797
95791
|
},
|
|
95798
95792
|
};
|
|
@@ -95800,10 +95794,10 @@ descope-boolean-field-internal {
|
|
|
95800
95794
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
|
95801
95795
|
__proto__: null,
|
|
95802
95796
|
default: appsList,
|
|
95803
|
-
vars: vars$
|
|
95797
|
+
vars: vars$f
|
|
95804
95798
|
});
|
|
95805
95799
|
|
|
95806
|
-
const componentName$
|
|
95800
|
+
const componentName$h = getComponentName$1('scopes-list');
|
|
95807
95801
|
const variants = ['checkbox', 'switch'];
|
|
95808
95802
|
|
|
95809
95803
|
const itemRenderer$1 = ({ id, desc, required = false }, _, ref) => {
|
|
@@ -95822,7 +95816,7 @@ descope-boolean-field-internal {
|
|
|
95822
95816
|
`;
|
|
95823
95817
|
};
|
|
95824
95818
|
|
|
95825
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
|
95819
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$h, baseSelector: 'div' }) {
|
|
95826
95820
|
constructor() {
|
|
95827
95821
|
super();
|
|
95828
95822
|
|
|
@@ -95930,28 +95924,28 @@ descope-boolean-field-internal {
|
|
|
95930
95924
|
componentNameValidationMixin
|
|
95931
95925
|
)(RawScopesList);
|
|
95932
95926
|
|
|
95933
|
-
const vars$
|
|
95927
|
+
const vars$e = ScopesListClass.cssVarList;
|
|
95934
95928
|
|
|
95935
95929
|
const scopesList = {
|
|
95936
|
-
[vars$
|
|
95937
|
-
[vars$
|
|
95938
|
-
[vars$
|
|
95930
|
+
[vars$e.requiredInputBorderColor]: theme$2._disabled[vars$$.borderColor],
|
|
95931
|
+
[vars$e.requiredInputValueTextColor]: theme$2._disabled[vars$$.valueTextColor],
|
|
95932
|
+
[vars$e.hostWidth]: '280px',
|
|
95939
95933
|
_fullWidth: {
|
|
95940
|
-
[vars$
|
|
95934
|
+
[vars$e.hostWidth]: '100%',
|
|
95941
95935
|
},
|
|
95942
95936
|
};
|
|
95943
95937
|
|
|
95944
95938
|
var scopesList$1 = /*#__PURE__*/Object.freeze({
|
|
95945
95939
|
__proto__: null,
|
|
95946
95940
|
default: scopesList,
|
|
95947
|
-
vars: vars$
|
|
95941
|
+
vars: vars$e
|
|
95948
95942
|
});
|
|
95949
95943
|
|
|
95950
95944
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
|
95951
95945
|
|
|
95952
|
-
const componentName$
|
|
95946
|
+
const componentName$g = getComponentName$1('third-party-app-logo');
|
|
95953
95947
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
|
95954
|
-
componentName: componentName$
|
|
95948
|
+
componentName: componentName$g,
|
|
95955
95949
|
baseSelector: '.wrapper',
|
|
95956
95950
|
}) {
|
|
95957
95951
|
constructor() {
|
|
@@ -96049,31 +96043,31 @@ descope-boolean-field-internal {
|
|
|
96049
96043
|
)(RawThirdPartyAppLogoClass);
|
|
96050
96044
|
|
|
96051
96045
|
const globalRefs$7 = getThemeRefs(globals$1);
|
|
96052
|
-
const vars$
|
|
96046
|
+
const vars$d = ThirdPartyAppLogoClass.cssVarList;
|
|
96053
96047
|
|
|
96054
96048
|
const thirdPartyAppLogo = {
|
|
96055
|
-
[vars$
|
|
96056
|
-
[vars$
|
|
96057
|
-
[vars$
|
|
96049
|
+
[vars$d.gap]: globalRefs$7.spacing.lg,
|
|
96050
|
+
[vars$d.arrowsColor]: globalRefs$7.colors.surface.dark,
|
|
96051
|
+
[vars$d.thirdPartyAppLogoFallback]:
|
|
96058
96052
|
'url(https://imgs.descope.com/components/third-party-app-logo-placeholder.svg)',
|
|
96059
|
-
[vars$
|
|
96053
|
+
[vars$d.companyLogoFallback]:
|
|
96060
96054
|
'url(https://imgs.descope.com/components/project-logo-placeholder.svg)',
|
|
96061
96055
|
size: {
|
|
96062
96056
|
xs: {
|
|
96063
|
-
[vars$
|
|
96064
|
-
[vars$
|
|
96057
|
+
[vars$d.logoMaxHeight]: '30px',
|
|
96058
|
+
[vars$d.logoMaxWidth]: '120px',
|
|
96065
96059
|
},
|
|
96066
96060
|
sm: {
|
|
96067
|
-
[vars$
|
|
96068
|
-
[vars$
|
|
96061
|
+
[vars$d.logoMaxHeight]: '40px',
|
|
96062
|
+
[vars$d.logoMaxWidth]: '160px',
|
|
96069
96063
|
},
|
|
96070
96064
|
md: {
|
|
96071
|
-
[vars$
|
|
96072
|
-
[vars$
|
|
96065
|
+
[vars$d.logoMaxHeight]: '48px',
|
|
96066
|
+
[vars$d.logoMaxWidth]: '200px',
|
|
96073
96067
|
},
|
|
96074
96068
|
lg: {
|
|
96075
|
-
[vars$
|
|
96076
|
-
[vars$
|
|
96069
|
+
[vars$d.logoMaxHeight]: '60px',
|
|
96070
|
+
[vars$d.logoMaxWidth]: '240px',
|
|
96077
96071
|
},
|
|
96078
96072
|
},
|
|
96079
96073
|
};
|
|
@@ -96081,10 +96075,10 @@ descope-boolean-field-internal {
|
|
|
96081
96075
|
var thirdPartyAppLogo$1 = /*#__PURE__*/Object.freeze({
|
|
96082
96076
|
__proto__: null,
|
|
96083
96077
|
default: thirdPartyAppLogo,
|
|
96084
|
-
vars: vars$
|
|
96078
|
+
vars: vars$d
|
|
96085
96079
|
});
|
|
96086
96080
|
|
|
96087
|
-
const componentName$
|
|
96081
|
+
const componentName$f = getComponentName$1('security-questions-setup');
|
|
96088
96082
|
|
|
96089
96083
|
const attrsToSync$1 = [
|
|
96090
96084
|
'full-width',
|
|
@@ -96103,7 +96097,7 @@ descope-boolean-field-internal {
|
|
|
96103
96097
|
];
|
|
96104
96098
|
|
|
96105
96099
|
const attrsToReRender$1 = ['count', 'questions'];
|
|
96106
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
|
96100
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$f, baseSelector: 'div' }) {
|
|
96107
96101
|
constructor() {
|
|
96108
96102
|
super();
|
|
96109
96103
|
|
|
@@ -96213,7 +96207,7 @@ descope-boolean-field-internal {
|
|
|
96213
96207
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
96214
96208
|
} catch (e) {
|
|
96215
96209
|
// eslint-disable-next-line no-console
|
|
96216
|
-
console.error(componentName$
|
|
96210
|
+
console.error(componentName$f, 'Error parsing questions attribute', e);
|
|
96217
96211
|
return [];
|
|
96218
96212
|
}
|
|
96219
96213
|
}
|
|
@@ -96321,22 +96315,22 @@ descope-boolean-field-internal {
|
|
|
96321
96315
|
componentNameValidationMixin
|
|
96322
96316
|
)(RawSecurityQuestionsSetup);
|
|
96323
96317
|
|
|
96324
|
-
const vars$
|
|
96318
|
+
const vars$c = SecurityQuestionsSetupClass.cssVarList;
|
|
96325
96319
|
|
|
96326
96320
|
const securityQuestionsSetup = {
|
|
96327
|
-
[vars$
|
|
96321
|
+
[vars$c.hostWidth]: 'fit-content',
|
|
96328
96322
|
_fullWidth: {
|
|
96329
|
-
[vars$
|
|
96323
|
+
[vars$c.hostWidth]: '100%',
|
|
96330
96324
|
},
|
|
96331
96325
|
};
|
|
96332
96326
|
|
|
96333
96327
|
var securityQuestionsSetup$1 = /*#__PURE__*/Object.freeze({
|
|
96334
96328
|
__proto__: null,
|
|
96335
96329
|
default: securityQuestionsSetup,
|
|
96336
|
-
vars: vars$
|
|
96330
|
+
vars: vars$c
|
|
96337
96331
|
});
|
|
96338
96332
|
|
|
96339
|
-
const componentName$
|
|
96333
|
+
const componentName$e = getComponentName$1('security-questions-verify');
|
|
96340
96334
|
|
|
96341
96335
|
const textFieldsAttrs = [
|
|
96342
96336
|
'full-width',
|
|
@@ -96360,7 +96354,7 @@ descope-boolean-field-internal {
|
|
|
96360
96354
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
|
96361
96355
|
|
|
96362
96356
|
const attrsToReRender = ['questions'];
|
|
96363
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
|
96357
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$e, baseSelector: 'div' }) {
|
|
96364
96358
|
constructor() {
|
|
96365
96359
|
super();
|
|
96366
96360
|
|
|
@@ -96434,7 +96428,7 @@ descope-boolean-field-internal {
|
|
|
96434
96428
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
96435
96429
|
} catch (e) {
|
|
96436
96430
|
// eslint-disable-next-line no-console
|
|
96437
|
-
console.error(componentName$
|
|
96431
|
+
console.error(componentName$e, 'Error parsing questions attribute', e);
|
|
96438
96432
|
return [];
|
|
96439
96433
|
}
|
|
96440
96434
|
}
|
|
@@ -96569,22 +96563,22 @@ descope-boolean-field-internal {
|
|
|
96569
96563
|
componentNameValidationMixin
|
|
96570
96564
|
)(RawSecurityQuestionsVerify);
|
|
96571
96565
|
|
|
96572
|
-
const vars$
|
|
96566
|
+
const vars$b = SecurityQuestionsVerifyClass.cssVarList;
|
|
96573
96567
|
|
|
96574
96568
|
const securityQuestionsVerify = {
|
|
96575
|
-
[vars$
|
|
96576
|
-
[vars$
|
|
96569
|
+
[vars$b.hostWidth]: 'min-content',
|
|
96570
|
+
[vars$b.questionCursor]: 'pointer',
|
|
96577
96571
|
_fullWidth: {
|
|
96578
|
-
[vars$
|
|
96572
|
+
[vars$b.hostWidth]: '100%',
|
|
96579
96573
|
},
|
|
96580
|
-
[vars$
|
|
96581
|
-
[vars$
|
|
96574
|
+
[vars$b.questionFontSize]: refs$1.fontSize,
|
|
96575
|
+
[vars$b.questionFontFamily]: refs$1.fontFamily,
|
|
96582
96576
|
};
|
|
96583
96577
|
|
|
96584
96578
|
var securityQuestionsVerify$1 = /*#__PURE__*/Object.freeze({
|
|
96585
96579
|
__proto__: null,
|
|
96586
96580
|
default: securityQuestionsVerify,
|
|
96587
|
-
vars: vars$
|
|
96581
|
+
vars: vars$b
|
|
96588
96582
|
});
|
|
96589
96583
|
|
|
96590
96584
|
const NUMERIC_RE = /^\d+$/;
|
|
@@ -96593,7 +96587,7 @@ descope-boolean-field-internal {
|
|
|
96593
96587
|
|
|
96594
96588
|
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
|
96595
96589
|
|
|
96596
|
-
const componentName$
|
|
96590
|
+
const componentName$d = getComponentName$1('hybrid-field');
|
|
96597
96591
|
|
|
96598
96592
|
const attrs = {
|
|
96599
96593
|
shared: [
|
|
@@ -96659,7 +96653,7 @@ descope-boolean-field-internal {
|
|
|
96659
96653
|
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
|
96660
96654
|
|
|
96661
96655
|
const BaseClass$3 = createBaseClass({
|
|
96662
|
-
componentName: componentName$
|
|
96656
|
+
componentName: componentName$d,
|
|
96663
96657
|
baseSelector: 'div',
|
|
96664
96658
|
});
|
|
96665
96659
|
|
|
@@ -96972,33 +96966,33 @@ descope-boolean-field-internal {
|
|
|
96972
96966
|
componentNameValidationMixin
|
|
96973
96967
|
)(RawHybridField);
|
|
96974
96968
|
|
|
96975
|
-
const vars$
|
|
96969
|
+
const vars$a = HybridFieldClass.cssVarList;
|
|
96976
96970
|
|
|
96977
96971
|
const hybridField = {
|
|
96978
|
-
[vars$
|
|
96972
|
+
[vars$a.hostDirection]: refs$1.direction,
|
|
96979
96973
|
|
|
96980
96974
|
// error message icon
|
|
96981
|
-
[vars$
|
|
96982
|
-
[vars$
|
|
96983
|
-
[vars$
|
|
96984
|
-
[vars$
|
|
96985
|
-
[vars$
|
|
96986
|
-
[vars$
|
|
96975
|
+
[vars$a.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
96976
|
+
[vars$a.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
96977
|
+
[vars$a.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
96978
|
+
[vars$a.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
96979
|
+
[vars$a.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
96980
|
+
[vars$a.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
96987
96981
|
|
|
96988
96982
|
_fullWidth: {
|
|
96989
|
-
[vars$
|
|
96983
|
+
[vars$a.hostWidth]: '100%',
|
|
96990
96984
|
},
|
|
96991
96985
|
};
|
|
96992
96986
|
|
|
96993
96987
|
var hybridField$1 = /*#__PURE__*/Object.freeze({
|
|
96994
96988
|
__proto__: null,
|
|
96995
96989
|
default: hybridField,
|
|
96996
|
-
vars: vars$
|
|
96990
|
+
vars: vars$a
|
|
96997
96991
|
});
|
|
96998
96992
|
|
|
96999
|
-
const componentName$
|
|
96993
|
+
const componentName$c = getComponentName$1('alert');
|
|
97000
96994
|
|
|
97001
|
-
class RawAlert extends createBaseClass({ componentName: componentName$
|
|
96995
|
+
class RawAlert extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
|
|
97002
96996
|
constructor() {
|
|
97003
96997
|
super();
|
|
97004
96998
|
|
|
@@ -97114,89 +97108,237 @@ descope-boolean-field-internal {
|
|
|
97114
97108
|
)(RawAlert);
|
|
97115
97109
|
|
|
97116
97110
|
const globalRefs$6 = getThemeRefs(globals$1);
|
|
97117
|
-
const vars$
|
|
97111
|
+
const vars$9 = AlertClass.cssVarList;
|
|
97118
97112
|
|
|
97119
97113
|
const alert = {
|
|
97120
|
-
[vars$
|
|
97121
|
-
[vars$
|
|
97122
|
-
[vars$
|
|
97123
|
-
[vars$
|
|
97124
|
-
[vars$
|
|
97125
|
-
[vars$
|
|
97126
|
-
[vars$
|
|
97127
|
-
[vars$
|
|
97128
|
-
[vars$
|
|
97114
|
+
[vars$9.hostDirection]: globalRefs$6.direction,
|
|
97115
|
+
[vars$9.backgroundColor]: 'transparent',
|
|
97116
|
+
[vars$9.iconSize]: '1.35em',
|
|
97117
|
+
[vars$9.alignItems]: 'center',
|
|
97118
|
+
[vars$9.borderRadius]: globalRefs$6.radius.md,
|
|
97119
|
+
[vars$9.horizontalPadding]: '0',
|
|
97120
|
+
[vars$9.verticalPadding]: '0',
|
|
97121
|
+
[vars$9.gap]: `0.5em`,
|
|
97122
|
+
[vars$9.fontSize]: useVar(vars$P.fontSize),
|
|
97129
97123
|
|
|
97130
97124
|
mode: {
|
|
97131
97125
|
error: {
|
|
97132
97126
|
// Notice: If icon is empty, we need to remove it from the theme, to prevent it from rendering minimal layout
|
|
97133
97127
|
// [vars.icon]: `url(${icon})`,
|
|
97134
|
-
[vars$
|
|
97128
|
+
[vars$9.textColor]: globalRefs$6.colors.error.main,
|
|
97135
97129
|
_bordered: {
|
|
97136
|
-
[vars$
|
|
97130
|
+
[vars$9.borderColor]: globalRefs$6.colors.error.main,
|
|
97137
97131
|
},
|
|
97138
97132
|
},
|
|
97139
97133
|
success: {
|
|
97140
97134
|
// Notice: If icon is empty, we need to remove it from the theme, to prevent it from rendering minimal layout
|
|
97141
97135
|
// [vars.icon]: '',
|
|
97142
|
-
[vars$
|
|
97136
|
+
[vars$9.textColor]: globalRefs$6.colors.success.main,
|
|
97143
97137
|
_bordered: {
|
|
97144
|
-
[vars$
|
|
97138
|
+
[vars$9.borderColor]: globalRefs$6.colors.success.main,
|
|
97145
97139
|
},
|
|
97146
97140
|
},
|
|
97147
97141
|
},
|
|
97148
97142
|
|
|
97149
97143
|
spacing: {
|
|
97150
97144
|
xs: {
|
|
97151
|
-
[vars$
|
|
97152
|
-
[vars$
|
|
97145
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.xs,
|
|
97146
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.xs,
|
|
97153
97147
|
},
|
|
97154
97148
|
sm: {
|
|
97155
|
-
[vars$
|
|
97156
|
-
[vars$
|
|
97149
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.sm,
|
|
97150
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.sm,
|
|
97157
97151
|
},
|
|
97158
97152
|
md: {
|
|
97159
|
-
[vars$
|
|
97160
|
-
[vars$
|
|
97153
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.md,
|
|
97154
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.md,
|
|
97161
97155
|
},
|
|
97162
97156
|
lg: {
|
|
97163
|
-
[vars$
|
|
97164
|
-
[vars$
|
|
97157
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.lg,
|
|
97158
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.lg,
|
|
97165
97159
|
},
|
|
97166
97160
|
xl: {
|
|
97167
|
-
[vars$
|
|
97168
|
-
[vars$
|
|
97161
|
+
[vars$9.horizontalPadding]: globalRefs$6.spacing.xl,
|
|
97162
|
+
[vars$9.verticalPadding]: globalRefs$6.spacing.xl,
|
|
97169
97163
|
},
|
|
97170
97164
|
},
|
|
97171
97165
|
|
|
97172
97166
|
textAlign: {
|
|
97173
97167
|
left: {
|
|
97174
|
-
[vars$
|
|
97168
|
+
[vars$9.justifyContent]: 'left',
|
|
97175
97169
|
},
|
|
97176
97170
|
center: {
|
|
97177
|
-
[vars$
|
|
97171
|
+
[vars$9.justifyContent]: 'center',
|
|
97178
97172
|
},
|
|
97179
97173
|
right: {
|
|
97180
|
-
[vars$
|
|
97174
|
+
[vars$9.justifyContent]: 'right',
|
|
97181
97175
|
},
|
|
97182
97176
|
},
|
|
97183
97177
|
|
|
97184
97178
|
_bordered: {
|
|
97185
|
-
[vars$
|
|
97186
|
-
[vars$
|
|
97187
|
-
[vars$
|
|
97188
|
-
[vars$
|
|
97189
|
-
[vars$
|
|
97179
|
+
[vars$9.borderWidth]: globalRefs$6.border.xs,
|
|
97180
|
+
[vars$9.borderColor]: 'transparent',
|
|
97181
|
+
[vars$9.borderStyle]: 'solid',
|
|
97182
|
+
[vars$9.borderWidth]: globalRefs$6.border.xs,
|
|
97183
|
+
[vars$9.borderRadius]: globalRefs$6.radius.sm,
|
|
97190
97184
|
},
|
|
97191
97185
|
|
|
97192
97186
|
_fullWidth: {
|
|
97193
|
-
[vars$
|
|
97187
|
+
[vars$9.hostWidth]: '100%',
|
|
97194
97188
|
},
|
|
97195
97189
|
};
|
|
97196
97190
|
|
|
97197
97191
|
var alert$1 = /*#__PURE__*/Object.freeze({
|
|
97198
97192
|
__proto__: null,
|
|
97199
97193
|
default: alert,
|
|
97194
|
+
vars: vars$9
|
|
97195
|
+
});
|
|
97196
|
+
|
|
97197
|
+
const componentName$b = getComponentName$1('hcaptcha');
|
|
97198
|
+
|
|
97199
|
+
const observedAttributes$2 = ['enabled', 'site-key'];
|
|
97200
|
+
|
|
97201
|
+
const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$b, baseSelector: ':host > div' });
|
|
97202
|
+
class RawHcaptcha extends BaseInputClass$1 {
|
|
97203
|
+
static get observedAttributes() {
|
|
97204
|
+
return observedAttributes$2.concat(BaseInputClass$1.observedAttributes || []);
|
|
97205
|
+
}
|
|
97206
|
+
|
|
97207
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
97208
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
|
97209
|
+
if (oldValue !== newValue) {
|
|
97210
|
+
if (attrName === 'enabled') {
|
|
97211
|
+
this.toggleCaptchaEles(newValue === 'true');
|
|
97212
|
+
}
|
|
97213
|
+
}
|
|
97214
|
+
}
|
|
97215
|
+
|
|
97216
|
+
constructor() {
|
|
97217
|
+
super();
|
|
97218
|
+
|
|
97219
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
97220
|
+
<div class="badge">
|
|
97221
|
+
<span id="hcaptcha"></span>
|
|
97222
|
+
<input id="hcaptcha-input" type="hidden" name="hcaptcha" required />
|
|
97223
|
+
<img src="https://imgs.descope.com/connectors/templates/hcaptcha/hcaptcha-big.png" alt="hcaptcha"/>
|
|
97224
|
+
</div>
|
|
97225
|
+
<slot></slot>
|
|
97226
|
+
`;
|
|
97227
|
+
|
|
97228
|
+
injectStyle(
|
|
97229
|
+
`
|
|
97230
|
+
:host {
|
|
97231
|
+
display: inline-flex;
|
|
97232
|
+
}
|
|
97233
|
+
:host > div:not(.hidden) {
|
|
97234
|
+
display: flex;
|
|
97235
|
+
}
|
|
97236
|
+
:host #hcaptcha-input {
|
|
97237
|
+
display: none;
|
|
97238
|
+
}
|
|
97239
|
+
:host #hcaptcha .hcaptcha-logo {
|
|
97240
|
+
height: 100%;
|
|
97241
|
+
}
|
|
97242
|
+
:host #hcaptcha {
|
|
97243
|
+
width: 100%;
|
|
97244
|
+
height: 100%;
|
|
97245
|
+
}
|
|
97246
|
+
:host img {
|
|
97247
|
+
max-width: 100%;
|
|
97248
|
+
max-height: 100%;
|
|
97249
|
+
object-fit: contain;
|
|
97250
|
+
}
|
|
97251
|
+
.hidden {
|
|
97252
|
+
display: none;
|
|
97253
|
+
}
|
|
97254
|
+
`,
|
|
97255
|
+
this
|
|
97256
|
+
);
|
|
97257
|
+
|
|
97258
|
+
this.captchaEle = this.shadowRoot.querySelector('#hcaptcha');
|
|
97259
|
+
this.mockCaptchaEle = this.shadowRoot.querySelector('img');
|
|
97260
|
+
this.badge = this.shadowRoot.querySelector('.badge');
|
|
97261
|
+
this.inputElement = this.shadowRoot.querySelector('input');
|
|
97262
|
+
}
|
|
97263
|
+
|
|
97264
|
+
init() {
|
|
97265
|
+
super.init?.();
|
|
97266
|
+
|
|
97267
|
+
observeChildren(this, this.updatePreview.bind(this));
|
|
97268
|
+
// avoid any possible conflicts with the inner input elements
|
|
97269
|
+
this.inputElement.getValidity = null;
|
|
97270
|
+
this.inputElement.checkValidity = null;
|
|
97271
|
+
}
|
|
97272
|
+
|
|
97273
|
+
toggleCaptchaEles(enabled) {
|
|
97274
|
+
if (enabled) {
|
|
97275
|
+
this.captchaEle.style.display = '';
|
|
97276
|
+
this.mockCaptchaEle.style.display = 'none';
|
|
97277
|
+
} else {
|
|
97278
|
+
this.captchaEle.style.display = 'none';
|
|
97279
|
+
this.mockCaptchaEle.style.display = '';
|
|
97280
|
+
}
|
|
97281
|
+
}
|
|
97282
|
+
|
|
97283
|
+
updatePreview() {
|
|
97284
|
+
this.toggleCaptchaEles(this.enabled);
|
|
97285
|
+
}
|
|
97286
|
+
|
|
97287
|
+
getValidity() {
|
|
97288
|
+
if (!this.inputElement.value) {
|
|
97289
|
+
return { valueMissing: true };
|
|
97290
|
+
}
|
|
97291
|
+
|
|
97292
|
+
return {};
|
|
97293
|
+
}
|
|
97294
|
+
|
|
97295
|
+
checkValidity() {
|
|
97296
|
+
return !!this.inputElement.value;
|
|
97297
|
+
}
|
|
97298
|
+
|
|
97299
|
+
get siteKey() {
|
|
97300
|
+
return this.getAttribute('site-key');
|
|
97301
|
+
}
|
|
97302
|
+
|
|
97303
|
+
get enabled() {
|
|
97304
|
+
return this.getAttribute('enabled') === 'true';
|
|
97305
|
+
}
|
|
97306
|
+
}
|
|
97307
|
+
|
|
97308
|
+
const HcaptchaClass = compose$1(
|
|
97309
|
+
createStyleMixin({
|
|
97310
|
+
mappings: {
|
|
97311
|
+
hostWidth: [{ selector: () => ':host', property: 'width' }],
|
|
97312
|
+
hostDirection: { property: 'direction' },
|
|
97313
|
+
verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
|
|
97314
|
+
horizontalPadding: [{ property: 'padding-left' }, { property: 'padding-right' }],
|
|
97315
|
+
maxHeight: [
|
|
97316
|
+
{ selector: '>img', property: 'height' },
|
|
97317
|
+
{ selector: '>#hcaptcha', property: 'height' },
|
|
97318
|
+
],
|
|
97319
|
+
maxWidth: [
|
|
97320
|
+
{ selector: '>img', property: 'max-width' },
|
|
97321
|
+
{ selector: '>hcaptcha', property: 'max-width' },
|
|
97322
|
+
],
|
|
97323
|
+
},
|
|
97324
|
+
}),
|
|
97325
|
+
draggableMixin,
|
|
97326
|
+
componentNameValidationMixin
|
|
97327
|
+
)(RawHcaptcha);
|
|
97328
|
+
|
|
97329
|
+
const vars$8 = HcaptchaClass.cssVarList;
|
|
97330
|
+
|
|
97331
|
+
const hcaptcha = {
|
|
97332
|
+
enabled: {
|
|
97333
|
+
false: {
|
|
97334
|
+
[vars$8.maxHeight]: '70px',
|
|
97335
|
+
},
|
|
97336
|
+
},
|
|
97337
|
+
};
|
|
97338
|
+
|
|
97339
|
+
var hcaptcha$1 = /*#__PURE__*/Object.freeze({
|
|
97340
|
+
__proto__: null,
|
|
97341
|
+
default: hcaptcha,
|
|
97200
97342
|
vars: vars$8
|
|
97201
97343
|
});
|
|
97202
97344
|
|
|
@@ -99079,6 +99221,7 @@ descope-boolean-field-internal {
|
|
|
99079
99221
|
passwordStrength: passwordStrength$1,
|
|
99080
99222
|
collapsibleContainer: collapsibleContainer$1,
|
|
99081
99223
|
recoveryCodes: recoveryCodes$1,
|
|
99224
|
+
hcaptcha: hcaptcha$1,
|
|
99082
99225
|
};
|
|
99083
99226
|
|
|
99084
99227
|
const theme = Object.keys(components).reduce(
|
|
@@ -99091,7 +99234,7 @@ descope-boolean-field-internal {
|
|
|
99091
99234
|
);
|
|
99092
99235
|
|
|
99093
99236
|
const defaultTheme = { globals: globals$1, components: theme };
|
|
99094
|
-
const themeVars = { globals: vars$
|
|
99237
|
+
const themeVars = { globals: vars$11, components: vars };
|
|
99095
99238
|
|
|
99096
99239
|
const colors = {
|
|
99097
99240
|
surface: {
|
|
@@ -99513,6 +99656,7 @@ descope-boolean-field-internal {
|
|
|
99513
99656
|
index_cjs$4.EmailFieldClass = EmailFieldClass;
|
|
99514
99657
|
index_cjs$4.EnrichedTextClass = EnrichedTextClass;
|
|
99515
99658
|
index_cjs$4.GridClass = GridClass;
|
|
99659
|
+
index_cjs$4.HcaptchaClass = HcaptchaClass;
|
|
99516
99660
|
index_cjs$4.HybridFieldClass = HybridFieldClass;
|
|
99517
99661
|
index_cjs$4.IconClass = IconClass;
|
|
99518
99662
|
index_cjs$4.ImageClass = ImageClass;
|
|
@@ -99631,6 +99775,7 @@ const AddressFieldClass = index_cjsExports.AddressFieldClass;
|
|
|
99631
99775
|
const TimerButtonClass = index_cjsExports.TimerButtonClass;
|
|
99632
99776
|
const CollapsibleContainerClass = index_cjsExports.CollapsibleContainerClass;
|
|
99633
99777
|
const RecoveryCodesListClass = index_cjsExports.RecoveryCodesList;
|
|
99778
|
+
const HcaptchaClass = index_cjsExports.HcaptchaClass;
|
|
99634
99779
|
|
|
99635
99780
|
const Checkbox = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-checkbox", { ...props, ref: ref }));
|
|
99636
99781
|
|
|
@@ -100114,6 +100259,8 @@ const Turnstile = React__default.default.forwardRef(({ textLabel = defaultText,
|
|
|
100114
100259
|
|
|
100115
100260
|
const RecoveryCodesList = React__default.default.forwardRef(({ data, ...props }, ref) => (React__default.default.createElement("descope-recovery-codes", { data: data ? JSON.stringify(data) : undefined, ...props, ref: ref })));
|
|
100116
100261
|
|
|
100262
|
+
const Hcaptcha = React__default.default.forwardRef(({ enabled, ...props }, ref) => (React__default.default.createElement("descope-hcaptcha", { ref: ref, enabled: enabled, ...props })));
|
|
100263
|
+
|
|
100117
100264
|
const globalsThemeToStyle = index_cjsExports.globalsThemeToStyle;
|
|
100118
100265
|
const createComponentsTheme = index_cjsExports.createComponentsTheme;
|
|
100119
100266
|
const themeToStyle = index_cjsExports.themeToStyle;
|
|
@@ -100162,6 +100309,8 @@ exports.GridCustomColumn = GridCustomColumn;
|
|
|
100162
100309
|
exports.GridItemDetailsColumn = GridItemDetailsColumn;
|
|
100163
100310
|
exports.GridSelectionColumn = GridSelectionColumn;
|
|
100164
100311
|
exports.GridTextColumn = GridTextColumn;
|
|
100312
|
+
exports.Hcaptcha = Hcaptcha;
|
|
100313
|
+
exports.HcaptchaClass = HcaptchaClass;
|
|
100165
100314
|
exports.HybridField = HybridField;
|
|
100166
100315
|
exports.HybridFieldClass = HybridFieldClass;
|
|
100167
100316
|
exports.IconClass = IconClass;
|