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