@descope/flow-components 3.13.3 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/537.js +2 -0
- package/dist/fm/537.js.map +1 -0
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/MultiSso/MultiSso.d.ts +39 -0
- package/dist/fm/@mf-types/compiled-types/MultiSso/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/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +1358 -785
- package/dist/index.d.ts +115 -77
- package/dist/index.esm.js +9 -2
- package/dist/types/MultiSso/MultiSso.d.ts +39 -0
- package/dist/types/MultiSso/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +1 -0
- package/package.json +2 -2
- package/dist/fm/30.js +0 -2
- package/dist/fm/30.js.map +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -79914,7 +79914,7 @@ function requireIndex_cjs () {
|
|
|
79914
79914
|
let style;
|
|
79915
79915
|
|
|
79916
79916
|
try {
|
|
79917
|
-
|
|
79917
|
+
|
|
79918
79918
|
style = new CSSStyleSheet();
|
|
79919
79919
|
} catch {
|
|
79920
79920
|
// fallback for browsers that don't support CSSStyleSheet
|
|
@@ -79980,6 +79980,21 @@ function requireIndex_cjs () {
|
|
|
79980
79980
|
.map((s) => s[0]?.toUpperCase())
|
|
79981
79981
|
.join('');
|
|
79982
79982
|
|
|
79983
|
+
const cloneSlottedNodes = (element, slotName) => {
|
|
79984
|
+
if (!element || !slotName) return null;
|
|
79985
|
+
const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
|
|
79986
|
+
if (!sources.length) return null;
|
|
79987
|
+
const fragment = document.createDocumentFragment();
|
|
79988
|
+
sources.forEach((source) => {
|
|
79989
|
+
const clone = source.content
|
|
79990
|
+
? source.content.cloneNode(true)
|
|
79991
|
+
: source.cloneNode(true);
|
|
79992
|
+
if (clone.removeAttribute) clone.removeAttribute('slot');
|
|
79993
|
+
fragment.append(clone);
|
|
79994
|
+
});
|
|
79995
|
+
return fragment;
|
|
79996
|
+
};
|
|
79997
|
+
|
|
79983
79998
|
class ComponentsThemeManager {
|
|
79984
79999
|
static mountOnPropName = 'DescopeThemeManager';
|
|
79985
80000
|
|
|
@@ -80932,7 +80947,7 @@ function requireIndex_cjs () {
|
|
|
80932
80947
|
fonts: fonts$1,
|
|
80933
80948
|
direction: direction$1,
|
|
80934
80949
|
};
|
|
80935
|
-
const vars$
|
|
80950
|
+
const vars$1b = getThemeVars(globals$1);
|
|
80936
80951
|
|
|
80937
80952
|
const direction = 'ltr';
|
|
80938
80953
|
|
|
@@ -82782,12 +82797,12 @@ function requireIndex_cjs () {
|
|
|
82782
82797
|
}
|
|
82783
82798
|
};
|
|
82784
82799
|
|
|
82785
|
-
const componentName$
|
|
82800
|
+
const componentName$1q = getComponentName('image');
|
|
82786
82801
|
|
|
82787
82802
|
const srcAttrs = ['src', 'src-dark'];
|
|
82788
82803
|
|
|
82789
82804
|
class RawImage extends createBaseClass$1({
|
|
82790
|
-
componentName: componentName$
|
|
82805
|
+
componentName: componentName$1q,
|
|
82791
82806
|
baseSelector: 'slot',
|
|
82792
82807
|
}) {
|
|
82793
82808
|
static get observedAttributes() {
|
|
@@ -82915,7 +82930,7 @@ function requireIndex_cjs () {
|
|
|
82915
82930
|
componentNameValidationMixin$1,
|
|
82916
82931
|
)(RawImage);
|
|
82917
82932
|
|
|
82918
|
-
const componentName$
|
|
82933
|
+
const componentName$1p = getComponentName('icon');
|
|
82919
82934
|
|
|
82920
82935
|
const IconClass = compose(
|
|
82921
82936
|
createStyleMixin$1({
|
|
@@ -82940,7 +82955,7 @@ function requireIndex_cjs () {
|
|
|
82940
82955
|
}
|
|
82941
82956
|
`,
|
|
82942
82957
|
excludeAttrsSync: ['tabindex', 'class', 'style', 'st-height', 'st-width'],
|
|
82943
|
-
componentName: componentName$
|
|
82958
|
+
componentName: componentName$1p,
|
|
82944
82959
|
}),
|
|
82945
82960
|
);
|
|
82946
82961
|
|
|
@@ -82955,7 +82970,7 @@ function requireIndex_cjs () {
|
|
|
82955
82970
|
}
|
|
82956
82971
|
};
|
|
82957
82972
|
|
|
82958
|
-
const componentName$
|
|
82973
|
+
const componentName$1o = getComponentName('button');
|
|
82959
82974
|
|
|
82960
82975
|
const resetStyles = `
|
|
82961
82976
|
:host {
|
|
@@ -82993,7 +83008,7 @@ function requireIndex_cjs () {
|
|
|
82993
83008
|
|
|
82994
83009
|
const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
|
|
82995
83010
|
|
|
82996
|
-
const { host: host$
|
|
83011
|
+
const { host: host$B, label: label$a, slottedIcon } = {
|
|
82997
83012
|
host: { selector: () => ':host' },
|
|
82998
83013
|
label: { selector: '::part(label)' },
|
|
82999
83014
|
slottedIcon: { selector: () => '::slotted(descope-icon)' },
|
|
@@ -83006,8 +83021,9 @@ function requireIndex_cjs () {
|
|
|
83006
83021
|
createStyleMixin$1({
|
|
83007
83022
|
mappings: {
|
|
83008
83023
|
hostWidth: { property: 'width' },
|
|
83024
|
+
hostMaxWidth: { ...host$B, property: 'max-width' },
|
|
83009
83025
|
hostHeight: { property: 'height' },
|
|
83010
|
-
hostDirection: { ...host$
|
|
83026
|
+
hostDirection: { ...host$B, property: 'direction' },
|
|
83011
83027
|
fontSize: {},
|
|
83012
83028
|
fontFamily: {},
|
|
83013
83029
|
fontWeight: {},
|
|
@@ -83076,7 +83092,7 @@ function requireIndex_cjs () {
|
|
|
83076
83092
|
}
|
|
83077
83093
|
`,
|
|
83078
83094
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
83079
|
-
componentName: componentName$
|
|
83095
|
+
componentName: componentName$1o,
|
|
83080
83096
|
}),
|
|
83081
83097
|
);
|
|
83082
83098
|
|
|
@@ -83113,35 +83129,35 @@ function requireIndex_cjs () {
|
|
|
83113
83129
|
}
|
|
83114
83130
|
`;
|
|
83115
83131
|
|
|
83116
|
-
const globalRefs$
|
|
83132
|
+
const globalRefs$J = getThemeRefs$1(globals);
|
|
83117
83133
|
const compVars$9 = ButtonClass.cssVarList;
|
|
83118
83134
|
|
|
83119
83135
|
const mode = {
|
|
83120
|
-
primary: globalRefs$
|
|
83121
|
-
secondary: globalRefs$
|
|
83122
|
-
success: globalRefs$
|
|
83123
|
-
error: globalRefs$
|
|
83124
|
-
surface: globalRefs$
|
|
83136
|
+
primary: globalRefs$J.colors.primary,
|
|
83137
|
+
secondary: globalRefs$J.colors.secondary,
|
|
83138
|
+
success: globalRefs$J.colors.success,
|
|
83139
|
+
error: globalRefs$J.colors.error,
|
|
83140
|
+
surface: globalRefs$J.colors.surface,
|
|
83125
83141
|
};
|
|
83126
83142
|
|
|
83127
83143
|
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
83128
83144
|
{ mode },
|
|
83129
|
-
componentName$
|
|
83145
|
+
componentName$1o,
|
|
83130
83146
|
);
|
|
83131
83147
|
|
|
83132
83148
|
const button = {
|
|
83133
83149
|
...helperTheme$7,
|
|
83134
83150
|
|
|
83135
|
-
[compVars$9.fontFamily]: globalRefs$
|
|
83151
|
+
[compVars$9.fontFamily]: globalRefs$J.fonts.font1.family,
|
|
83136
83152
|
[compVars$9.fontWeight]: '400',
|
|
83137
83153
|
|
|
83138
83154
|
[compVars$9.cursor]: 'pointer',
|
|
83139
83155
|
[compVars$9.hostHeight]: '3em',
|
|
83140
83156
|
[compVars$9.hostWidth]: 'auto',
|
|
83141
|
-
[compVars$9.hostDirection]: globalRefs$
|
|
83157
|
+
[compVars$9.hostDirection]: globalRefs$J.direction,
|
|
83142
83158
|
|
|
83143
|
-
[compVars$9.borderRadius]: globalRefs$
|
|
83144
|
-
[compVars$9.borderWidth]: globalRefs$
|
|
83159
|
+
[compVars$9.borderRadius]: globalRefs$J.radius.sm,
|
|
83160
|
+
[compVars$9.borderWidth]: globalRefs$J.border.xs,
|
|
83145
83161
|
[compVars$9.borderStyle]: 'solid',
|
|
83146
83162
|
[compVars$9.borderColor]: 'transparent',
|
|
83147
83163
|
|
|
@@ -83187,11 +83203,11 @@ function requireIndex_cjs () {
|
|
|
83187
83203
|
},
|
|
83188
83204
|
|
|
83189
83205
|
_disabled: {
|
|
83190
|
-
[helperVars$6.main]: globalRefs$
|
|
83191
|
-
[helperVars$6.dark]: globalRefs$
|
|
83192
|
-
[helperVars$6.light]: globalRefs$
|
|
83193
|
-
[helperVars$6.contrast]: globalRefs$
|
|
83194
|
-
[compVars$9.iconColor]: globalRefs$
|
|
83206
|
+
[helperVars$6.main]: globalRefs$J.colors.surface.light,
|
|
83207
|
+
[helperVars$6.dark]: globalRefs$J.colors.surface.dark,
|
|
83208
|
+
[helperVars$6.light]: globalRefs$J.colors.surface.light,
|
|
83209
|
+
[helperVars$6.contrast]: globalRefs$J.colors.surface.main,
|
|
83210
|
+
[compVars$9.iconColor]: globalRefs$J.colors.surface.main,
|
|
83195
83211
|
},
|
|
83196
83212
|
|
|
83197
83213
|
variant: {
|
|
@@ -83240,7 +83256,7 @@ function requireIndex_cjs () {
|
|
|
83240
83256
|
},
|
|
83241
83257
|
};
|
|
83242
83258
|
|
|
83243
|
-
const vars$
|
|
83259
|
+
const vars$1a = {
|
|
83244
83260
|
...compVars$9,
|
|
83245
83261
|
...helperVars$6,
|
|
83246
83262
|
};
|
|
@@ -83248,13 +83264,13 @@ function requireIndex_cjs () {
|
|
|
83248
83264
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
83249
83265
|
__proto__: null,
|
|
83250
83266
|
default: button,
|
|
83251
|
-
vars: vars$
|
|
83267
|
+
vars: vars$1a
|
|
83252
83268
|
});
|
|
83253
83269
|
|
|
83254
|
-
const componentName$
|
|
83270
|
+
const componentName$1n = getComponentName('text');
|
|
83255
83271
|
|
|
83256
83272
|
class RawText extends createBaseClass$1({
|
|
83257
|
-
componentName: componentName$
|
|
83273
|
+
componentName: componentName$1n,
|
|
83258
83274
|
baseSelector: ':host > slot',
|
|
83259
83275
|
}) {
|
|
83260
83276
|
constructor() {
|
|
@@ -83293,15 +83309,15 @@ function requireIndex_cjs () {
|
|
|
83293
83309
|
}
|
|
83294
83310
|
}
|
|
83295
83311
|
|
|
83296
|
-
const { host: host$
|
|
83312
|
+
const { host: host$A } = {
|
|
83297
83313
|
host: { selector: () => ':host' },
|
|
83298
83314
|
};
|
|
83299
83315
|
|
|
83300
83316
|
const TextClass = compose(
|
|
83301
83317
|
createStyleMixin$1({
|
|
83302
83318
|
mappings: {
|
|
83303
|
-
hostWidth: { ...host$
|
|
83304
|
-
hostDirection: { ...host$
|
|
83319
|
+
hostWidth: { ...host$A, property: 'width' },
|
|
83320
|
+
hostDirection: { ...host$A, property: 'direction' },
|
|
83305
83321
|
fontSize: {},
|
|
83306
83322
|
textColor: [{ property: 'color' }],
|
|
83307
83323
|
textLineHeight: { property: 'line-height' },
|
|
@@ -83322,107 +83338,107 @@ function requireIndex_cjs () {
|
|
|
83322
83338
|
componentNameValidationMixin$1,
|
|
83323
83339
|
)(RawText);
|
|
83324
83340
|
|
|
83325
|
-
const globalRefs$
|
|
83326
|
-
const vars$
|
|
83341
|
+
const globalRefs$I = getThemeRefs$1(globals);
|
|
83342
|
+
const vars$19 = TextClass.cssVarList;
|
|
83327
83343
|
|
|
83328
83344
|
const text$3 = {
|
|
83329
|
-
[vars$
|
|
83330
|
-
[vars$
|
|
83331
|
-
[vars$
|
|
83332
|
-
[vars$
|
|
83345
|
+
[vars$19.hostDirection]: globalRefs$I.direction,
|
|
83346
|
+
[vars$19.textLineHeight]: '1.35em',
|
|
83347
|
+
[vars$19.textAlign]: 'start',
|
|
83348
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.dark,
|
|
83333
83349
|
|
|
83334
83350
|
variant: {
|
|
83335
83351
|
h1: {
|
|
83336
|
-
[vars$
|
|
83337
|
-
[vars$
|
|
83338
|
-
[vars$
|
|
83352
|
+
[vars$19.fontSize]: globalRefs$I.typography.h1.size,
|
|
83353
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h1.weight,
|
|
83354
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h1.font,
|
|
83339
83355
|
},
|
|
83340
83356
|
h2: {
|
|
83341
|
-
[vars$
|
|
83342
|
-
[vars$
|
|
83343
|
-
[vars$
|
|
83357
|
+
[vars$19.fontSize]: globalRefs$I.typography.h2.size,
|
|
83358
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h2.weight,
|
|
83359
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h2.font,
|
|
83344
83360
|
},
|
|
83345
83361
|
h3: {
|
|
83346
|
-
[vars$
|
|
83347
|
-
[vars$
|
|
83348
|
-
[vars$
|
|
83362
|
+
[vars$19.fontSize]: globalRefs$I.typography.h3.size,
|
|
83363
|
+
[vars$19.fontWeight]: globalRefs$I.typography.h3.weight,
|
|
83364
|
+
[vars$19.fontFamily]: globalRefs$I.typography.h3.font,
|
|
83349
83365
|
},
|
|
83350
83366
|
subtitle1: {
|
|
83351
|
-
[vars$
|
|
83352
|
-
[vars$
|
|
83353
|
-
[vars$
|
|
83367
|
+
[vars$19.fontSize]: globalRefs$I.typography.subtitle1.size,
|
|
83368
|
+
[vars$19.fontWeight]: globalRefs$I.typography.subtitle1.weight,
|
|
83369
|
+
[vars$19.fontFamily]: globalRefs$I.typography.subtitle1.font,
|
|
83354
83370
|
},
|
|
83355
83371
|
subtitle2: {
|
|
83356
|
-
[vars$
|
|
83357
|
-
[vars$
|
|
83358
|
-
[vars$
|
|
83372
|
+
[vars$19.fontSize]: globalRefs$I.typography.subtitle2.size,
|
|
83373
|
+
[vars$19.fontWeight]: globalRefs$I.typography.subtitle2.weight,
|
|
83374
|
+
[vars$19.fontFamily]: globalRefs$I.typography.subtitle2.font,
|
|
83359
83375
|
},
|
|
83360
83376
|
body1: {
|
|
83361
|
-
[vars$
|
|
83362
|
-
[vars$
|
|
83363
|
-
[vars$
|
|
83377
|
+
[vars$19.fontSize]: globalRefs$I.typography.body1.size,
|
|
83378
|
+
[vars$19.fontWeight]: globalRefs$I.typography.body1.weight,
|
|
83379
|
+
[vars$19.fontFamily]: globalRefs$I.typography.body1.font,
|
|
83364
83380
|
},
|
|
83365
83381
|
body2: {
|
|
83366
|
-
[vars$
|
|
83367
|
-
[vars$
|
|
83368
|
-
[vars$
|
|
83382
|
+
[vars$19.fontSize]: globalRefs$I.typography.body2.size,
|
|
83383
|
+
[vars$19.fontWeight]: globalRefs$I.typography.body2.weight,
|
|
83384
|
+
[vars$19.fontFamily]: globalRefs$I.typography.body2.font,
|
|
83369
83385
|
},
|
|
83370
83386
|
},
|
|
83371
83387
|
|
|
83372
83388
|
mode: {
|
|
83373
83389
|
primary: {
|
|
83374
|
-
[vars$
|
|
83390
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.contrast,
|
|
83375
83391
|
},
|
|
83376
83392
|
secondary: {
|
|
83377
|
-
[vars$
|
|
83393
|
+
[vars$19.textColor]: globalRefs$I.colors.surface.dark,
|
|
83378
83394
|
},
|
|
83379
83395
|
error: {
|
|
83380
|
-
[vars$
|
|
83396
|
+
[vars$19.textColor]: globalRefs$I.colors.error.main,
|
|
83381
83397
|
},
|
|
83382
83398
|
'error-dark': {
|
|
83383
|
-
[vars$
|
|
83399
|
+
[vars$19.textColor]: globalRefs$I.colors.error.dark,
|
|
83384
83400
|
},
|
|
83385
83401
|
success: {
|
|
83386
|
-
[vars$
|
|
83402
|
+
[vars$19.textColor]: globalRefs$I.colors.success.main,
|
|
83387
83403
|
},
|
|
83388
83404
|
'success-dark': {
|
|
83389
|
-
[vars$
|
|
83405
|
+
[vars$19.textColor]: globalRefs$I.colors.success.dark,
|
|
83390
83406
|
},
|
|
83391
83407
|
warning: {
|
|
83392
|
-
[vars$
|
|
83408
|
+
[vars$19.textColor]: globalRefs$I.colors.warning.main,
|
|
83393
83409
|
},
|
|
83394
83410
|
'warning-dark': {
|
|
83395
|
-
[vars$
|
|
83411
|
+
[vars$19.textColor]: globalRefs$I.colors.warning.dark,
|
|
83396
83412
|
},
|
|
83397
83413
|
},
|
|
83398
83414
|
|
|
83399
83415
|
textAlign: {
|
|
83400
|
-
right: { [vars$
|
|
83401
|
-
left: { [vars$
|
|
83402
|
-
center: { [vars$
|
|
83416
|
+
right: { [vars$19.textAlign]: 'right' },
|
|
83417
|
+
left: { [vars$19.textAlign]: 'left' },
|
|
83418
|
+
center: { [vars$19.textAlign]: 'center' },
|
|
83403
83419
|
},
|
|
83404
83420
|
|
|
83405
83421
|
_fullWidth: {
|
|
83406
|
-
[vars$
|
|
83422
|
+
[vars$19.hostWidth]: '100%',
|
|
83407
83423
|
},
|
|
83408
83424
|
|
|
83409
83425
|
_italic: {
|
|
83410
|
-
[vars$
|
|
83426
|
+
[vars$19.fontStyle]: 'italic',
|
|
83411
83427
|
},
|
|
83412
83428
|
|
|
83413
83429
|
_uppercase: {
|
|
83414
|
-
[vars$
|
|
83430
|
+
[vars$19.textTransform]: 'uppercase',
|
|
83415
83431
|
},
|
|
83416
83432
|
|
|
83417
83433
|
_lowercase: {
|
|
83418
|
-
[vars$
|
|
83434
|
+
[vars$19.textTransform]: 'lowercase',
|
|
83419
83435
|
},
|
|
83420
83436
|
};
|
|
83421
83437
|
|
|
83422
83438
|
var text$4 = /*#__PURE__*/Object.freeze({
|
|
83423
83439
|
__proto__: null,
|
|
83424
83440
|
default: text$3,
|
|
83425
|
-
vars: vars$
|
|
83441
|
+
vars: vars$19
|
|
83426
83442
|
});
|
|
83427
83443
|
|
|
83428
83444
|
const disableRules = [
|
|
@@ -83446,10 +83462,10 @@ function requireIndex_cjs () {
|
|
|
83446
83462
|
return textArea.value;
|
|
83447
83463
|
};
|
|
83448
83464
|
|
|
83449
|
-
const componentName$
|
|
83465
|
+
const componentName$1m = getComponentName('enriched-text');
|
|
83450
83466
|
|
|
83451
83467
|
class EnrichedText extends createBaseClass$1({
|
|
83452
|
-
componentName: componentName$
|
|
83468
|
+
componentName: componentName$1m,
|
|
83453
83469
|
baseSelector: ':host > div',
|
|
83454
83470
|
}) {
|
|
83455
83471
|
#origLinkRenderer;
|
|
@@ -83686,12 +83702,12 @@ function requireIndex_cjs () {
|
|
|
83686
83702
|
componentNameValidationMixin$1,
|
|
83687
83703
|
)(EnrichedText);
|
|
83688
83704
|
|
|
83689
|
-
const componentName$
|
|
83705
|
+
const componentName$1l = getComponentName('link');
|
|
83690
83706
|
|
|
83691
83707
|
const observedAttrs$8 = ['href', 'readonly'];
|
|
83692
83708
|
|
|
83693
83709
|
class RawLink extends createBaseClass$1({
|
|
83694
|
-
componentName: componentName$
|
|
83710
|
+
componentName: componentName$1l,
|
|
83695
83711
|
baseSelector: ':host a',
|
|
83696
83712
|
}) {
|
|
83697
83713
|
static get observedAttributes() {
|
|
@@ -83766,12 +83782,12 @@ function requireIndex_cjs () {
|
|
|
83766
83782
|
text: { selector: () => TextClass.componentName },
|
|
83767
83783
|
};
|
|
83768
83784
|
|
|
83769
|
-
const { anchor, text: text$2, host: host$
|
|
83785
|
+
const { anchor, text: text$2, host: host$z, wrapper: wrapper$1, link: link$3 } = selectors$3;
|
|
83770
83786
|
|
|
83771
83787
|
const LinkClass = compose(
|
|
83772
83788
|
createStyleMixin$1({
|
|
83773
83789
|
mappings: {
|
|
83774
|
-
hostWidth: { ...host$
|
|
83790
|
+
hostWidth: { ...host$z, property: 'width' },
|
|
83775
83791
|
hostDirection: { ...text$2, property: 'direction' },
|
|
83776
83792
|
textAlign: wrapper$1,
|
|
83777
83793
|
textDecoration: {
|
|
@@ -83791,32 +83807,32 @@ function requireIndex_cjs () {
|
|
|
83791
83807
|
componentNameValidationMixin$1,
|
|
83792
83808
|
)(RawLink);
|
|
83793
83809
|
|
|
83794
|
-
const globalRefs$
|
|
83795
|
-
const vars$
|
|
83810
|
+
const globalRefs$H = getThemeRefs$1(globals);
|
|
83811
|
+
const vars$18 = LinkClass.cssVarList;
|
|
83796
83812
|
|
|
83797
83813
|
const link$1 = {
|
|
83798
|
-
[vars$
|
|
83799
|
-
[vars$
|
|
83814
|
+
[vars$18.hostDirection]: globalRefs$H.direction,
|
|
83815
|
+
[vars$18.cursor]: 'pointer',
|
|
83800
83816
|
|
|
83801
|
-
[vars$
|
|
83817
|
+
[vars$18.textColor]: globalRefs$H.colors.primary.main,
|
|
83802
83818
|
|
|
83803
83819
|
textAlign: {
|
|
83804
|
-
right: { [vars$
|
|
83805
|
-
left: { [vars$
|
|
83806
|
-
center: { [vars$
|
|
83820
|
+
right: { [vars$18.textAlign]: 'right' },
|
|
83821
|
+
left: { [vars$18.textAlign]: 'left' },
|
|
83822
|
+
center: { [vars$18.textAlign]: 'center' },
|
|
83807
83823
|
},
|
|
83808
83824
|
|
|
83809
83825
|
_fullWidth: {
|
|
83810
|
-
[vars$
|
|
83826
|
+
[vars$18.hostWidth]: '100%',
|
|
83811
83827
|
},
|
|
83812
83828
|
|
|
83813
83829
|
_hover: {
|
|
83814
|
-
[vars$
|
|
83830
|
+
[vars$18.textDecoration]: 'underline',
|
|
83815
83831
|
},
|
|
83816
83832
|
|
|
83817
83833
|
mode: {
|
|
83818
83834
|
secondary: {
|
|
83819
|
-
[vars$
|
|
83835
|
+
[vars$18.textColor]: globalRefs$H.colors.secondary.main,
|
|
83820
83836
|
},
|
|
83821
83837
|
},
|
|
83822
83838
|
};
|
|
@@ -83824,37 +83840,37 @@ function requireIndex_cjs () {
|
|
|
83824
83840
|
var link$2 = /*#__PURE__*/Object.freeze({
|
|
83825
83841
|
__proto__: null,
|
|
83826
83842
|
default: link$1,
|
|
83827
|
-
vars: vars$
|
|
83843
|
+
vars: vars$18
|
|
83828
83844
|
});
|
|
83829
83845
|
|
|
83830
|
-
const globalRefs$
|
|
83831
|
-
const vars$
|
|
83846
|
+
const globalRefs$G = getThemeRefs$1(globals);
|
|
83847
|
+
const vars$17 = EnrichedTextClass.cssVarList;
|
|
83832
83848
|
|
|
83833
83849
|
const enrichedText = {
|
|
83834
|
-
[vars$
|
|
83835
|
-
[vars$
|
|
83850
|
+
[vars$17.hostDirection]: globalRefs$G.direction,
|
|
83851
|
+
[vars$17.hostWidth]: useVar$1(vars$19.hostWidth),
|
|
83836
83852
|
|
|
83837
|
-
[vars$
|
|
83838
|
-
[vars$
|
|
83839
|
-
[vars$
|
|
83853
|
+
[vars$17.textLineHeight]: useVar$1(vars$19.textLineHeight),
|
|
83854
|
+
[vars$17.textColor]: useVar$1(vars$19.textColor),
|
|
83855
|
+
[vars$17.textAlign]: useVar$1(vars$19.textAlign),
|
|
83840
83856
|
|
|
83841
|
-
[vars$
|
|
83842
|
-
[vars$
|
|
83843
|
-
[vars$
|
|
83857
|
+
[vars$17.fontSize]: useVar$1(vars$19.fontSize),
|
|
83858
|
+
[vars$17.fontWeight]: useVar$1(vars$19.fontWeight),
|
|
83859
|
+
[vars$17.fontFamily]: useVar$1(vars$19.fontFamily),
|
|
83844
83860
|
|
|
83845
|
-
[vars$
|
|
83846
|
-
[vars$
|
|
83847
|
-
[vars$
|
|
83861
|
+
[vars$17.linkColor]: useVar$1(vars$18.textColor),
|
|
83862
|
+
[vars$17.linkTextDecoration]: 'none',
|
|
83863
|
+
[vars$17.linkHoverTextDecoration]: 'underline',
|
|
83848
83864
|
|
|
83849
|
-
[vars$
|
|
83850
|
-
[vars$
|
|
83851
|
-
[vars$
|
|
83865
|
+
[vars$17.fontWeightBold]: '900',
|
|
83866
|
+
[vars$17.minWidth]: '0.25em',
|
|
83867
|
+
[vars$17.minHeight]: '1.35em',
|
|
83852
83868
|
|
|
83853
|
-
[vars$
|
|
83869
|
+
[vars$17.hostDisplay]: 'inline-block',
|
|
83854
83870
|
|
|
83855
83871
|
_empty: {
|
|
83856
83872
|
_hideWhenEmpty: {
|
|
83857
|
-
[vars$
|
|
83873
|
+
[vars$17.hostDisplay]: 'none',
|
|
83858
83874
|
},
|
|
83859
83875
|
},
|
|
83860
83876
|
};
|
|
@@ -83862,10 +83878,10 @@ function requireIndex_cjs () {
|
|
|
83862
83878
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
83863
83879
|
__proto__: null,
|
|
83864
83880
|
default: enrichedText,
|
|
83865
|
-
vars: vars$
|
|
83881
|
+
vars: vars$17
|
|
83866
83882
|
});
|
|
83867
83883
|
|
|
83868
|
-
const componentName$
|
|
83884
|
+
const componentName$1k = getComponentName('combo-box');
|
|
83869
83885
|
|
|
83870
83886
|
const ComboBoxMixin = (superclass) =>
|
|
83871
83887
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -84255,7 +84271,7 @@ function requireIndex_cjs () {
|
|
|
84255
84271
|
};
|
|
84256
84272
|
|
|
84257
84273
|
const {
|
|
84258
|
-
host: host$
|
|
84274
|
+
host: host$y,
|
|
84259
84275
|
inputField: inputField$6,
|
|
84260
84276
|
inputElement: inputElement$3,
|
|
84261
84277
|
placeholder: placeholder$3,
|
|
@@ -84287,10 +84303,10 @@ function requireIndex_cjs () {
|
|
|
84287
84303
|
const ComboBoxClass = compose(
|
|
84288
84304
|
createStyleMixin$1({
|
|
84289
84305
|
mappings: {
|
|
84290
|
-
hostWidth: { ...host$
|
|
84291
|
-
hostDirection: { ...host$
|
|
84306
|
+
hostWidth: { ...host$y, property: 'width' },
|
|
84307
|
+
hostDirection: { ...host$y, property: 'direction' },
|
|
84292
84308
|
// we apply font-size also on the host so we can set its width with em
|
|
84293
|
-
fontSize: [{}, host$
|
|
84309
|
+
fontSize: [{}, host$y],
|
|
84294
84310
|
fontFamily: [label$9, placeholder$3, inputField$6, helperText$a, errorMessage$d],
|
|
84295
84311
|
labelFontSize: { ...label$9, property: 'font-size' },
|
|
84296
84312
|
labelFontWeight: { ...label$9, property: 'font-weight' },
|
|
@@ -84558,35 +84574,35 @@ function requireIndex_cjs () {
|
|
|
84558
84574
|
// and reset items to an empty array, and opening the list box with no items
|
|
84559
84575
|
// to display.
|
|
84560
84576
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
|
|
84561
|
-
componentName: componentName$
|
|
84577
|
+
componentName: componentName$1k,
|
|
84562
84578
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
84563
84579
|
}),
|
|
84564
84580
|
);
|
|
84565
84581
|
|
|
84566
|
-
const componentName$
|
|
84567
|
-
const globalRefs$
|
|
84582
|
+
const componentName$1j = getComponentName('input-wrapper');
|
|
84583
|
+
const globalRefs$F = getThemeRefs$1(globals);
|
|
84568
84584
|
|
|
84569
84585
|
const [theme$2, refs$1] = createHelperVars$1(
|
|
84570
84586
|
{
|
|
84571
|
-
labelTextColor: globalRefs$
|
|
84587
|
+
labelTextColor: globalRefs$F.colors.surface.dark,
|
|
84572
84588
|
labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
|
|
84573
84589
|
labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
|
|
84574
84590
|
inputValueFontWeight: '400',
|
|
84575
84591
|
inputPlaceholderFontWeight: '400',
|
|
84576
84592
|
helperTextFontWeight: '400',
|
|
84577
84593
|
errorMessageFontWeight: '400',
|
|
84578
|
-
valueTextColor: globalRefs$
|
|
84579
|
-
placeholderTextColor: globalRefs$
|
|
84594
|
+
valueTextColor: globalRefs$F.colors.surface.contrast,
|
|
84595
|
+
placeholderTextColor: globalRefs$F.colors.surface.dark,
|
|
84580
84596
|
requiredIndicator: "'*'",
|
|
84581
|
-
helperTextColor: globalRefs$
|
|
84582
|
-
errorMessageTextColor: globalRefs$
|
|
84583
|
-
successMessageTextColor: globalRefs$
|
|
84597
|
+
helperTextColor: globalRefs$F.colors.surface.dark,
|
|
84598
|
+
errorMessageTextColor: globalRefs$F.colors.error.main,
|
|
84599
|
+
successMessageTextColor: globalRefs$F.colors.success.main,
|
|
84584
84600
|
|
|
84585
|
-
borderWidth: globalRefs$
|
|
84586
|
-
borderRadius: globalRefs$
|
|
84601
|
+
borderWidth: globalRefs$F.border.xs,
|
|
84602
|
+
borderRadius: globalRefs$F.radius.xs,
|
|
84587
84603
|
borderColor: 'transparent',
|
|
84588
84604
|
|
|
84589
|
-
outlineWidth: globalRefs$
|
|
84605
|
+
outlineWidth: globalRefs$F.border.sm,
|
|
84590
84606
|
outlineStyle: 'solid',
|
|
84591
84607
|
outlineColor: 'transparent',
|
|
84592
84608
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
|
@@ -84600,11 +84616,11 @@ function requireIndex_cjs () {
|
|
|
84600
84616
|
|
|
84601
84617
|
textAlign: 'start',
|
|
84602
84618
|
|
|
84603
|
-
backgroundColor: globalRefs$
|
|
84619
|
+
backgroundColor: globalRefs$F.colors.surface.main,
|
|
84604
84620
|
|
|
84605
|
-
fontFamily: globalRefs$
|
|
84621
|
+
fontFamily: globalRefs$F.fonts.font1.family,
|
|
84606
84622
|
|
|
84607
|
-
direction: globalRefs$
|
|
84623
|
+
direction: globalRefs$F.direction,
|
|
84608
84624
|
|
|
84609
84625
|
overlayOpacity: '0.3',
|
|
84610
84626
|
|
|
@@ -84665,135 +84681,135 @@ function requireIndex_cjs () {
|
|
|
84665
84681
|
},
|
|
84666
84682
|
|
|
84667
84683
|
_focused: {
|
|
84668
|
-
outlineColor: globalRefs$
|
|
84684
|
+
outlineColor: globalRefs$F.colors.surface.light,
|
|
84669
84685
|
_invalid: {
|
|
84670
|
-
outlineColor: globalRefs$
|
|
84686
|
+
outlineColor: globalRefs$F.colors.error.main,
|
|
84671
84687
|
},
|
|
84672
84688
|
},
|
|
84673
84689
|
|
|
84674
84690
|
_bordered: {
|
|
84675
|
-
outlineWidth: globalRefs$
|
|
84676
|
-
borderColor: globalRefs$
|
|
84691
|
+
outlineWidth: globalRefs$F.border.xs,
|
|
84692
|
+
borderColor: globalRefs$F.colors.surface.light,
|
|
84677
84693
|
borderStyle: 'solid',
|
|
84678
84694
|
_invalid: {
|
|
84679
|
-
borderColor: globalRefs$
|
|
84695
|
+
borderColor: globalRefs$F.colors.error.main,
|
|
84680
84696
|
},
|
|
84681
84697
|
},
|
|
84682
84698
|
|
|
84683
84699
|
_disabled: {
|
|
84684
|
-
labelTextColor: globalRefs$
|
|
84685
|
-
borderColor: globalRefs$
|
|
84686
|
-
valueTextColor: globalRefs$
|
|
84687
|
-
placeholderTextColor: globalRefs$
|
|
84688
|
-
helperTextColor: globalRefs$
|
|
84689
|
-
backgroundColor: globalRefs$
|
|
84700
|
+
labelTextColor: globalRefs$F.colors.surface.light,
|
|
84701
|
+
borderColor: globalRefs$F.colors.surface.light,
|
|
84702
|
+
valueTextColor: globalRefs$F.colors.surface.light,
|
|
84703
|
+
placeholderTextColor: globalRefs$F.colors.surface.light,
|
|
84704
|
+
helperTextColor: globalRefs$F.colors.surface.light,
|
|
84705
|
+
backgroundColor: globalRefs$F.colors.surface.main,
|
|
84690
84706
|
},
|
|
84691
84707
|
|
|
84692
84708
|
_obfuscated: {
|
|
84693
84709
|
inputTextSecurity: 'disc',
|
|
84694
84710
|
},
|
|
84695
84711
|
},
|
|
84696
|
-
componentName$
|
|
84712
|
+
componentName$1j,
|
|
84697
84713
|
);
|
|
84698
84714
|
|
|
84699
|
-
const globalRefs$
|
|
84700
|
-
const vars$
|
|
84715
|
+
const globalRefs$E = getThemeRefs$1(globals);
|
|
84716
|
+
const vars$16 = ComboBoxClass.cssVarList;
|
|
84701
84717
|
|
|
84702
84718
|
const comboBox = {
|
|
84703
|
-
[vars$
|
|
84704
|
-
[vars$
|
|
84705
|
-
[vars$
|
|
84706
|
-
[vars$
|
|
84707
|
-
[vars$
|
|
84708
|
-
[vars$
|
|
84709
|
-
[vars$
|
|
84710
|
-
[vars$
|
|
84711
|
-
[vars$
|
|
84712
|
-
[vars$
|
|
84713
|
-
[vars$
|
|
84714
|
-
[vars$
|
|
84715
|
-
[vars$
|
|
84716
|
-
[vars$
|
|
84717
|
-
[vars$
|
|
84718
|
-
[vars$
|
|
84719
|
-
[vars$
|
|
84720
|
-
[vars$
|
|
84721
|
-
[vars$
|
|
84722
|
-
[vars$
|
|
84723
|
-
[vars$
|
|
84724
|
-
[vars$
|
|
84725
|
-
[vars$
|
|
84726
|
-
[vars$
|
|
84727
|
-
[vars$
|
|
84728
|
-
[vars$
|
|
84729
|
-
[vars$
|
|
84730
|
-
[vars$
|
|
84731
|
-
[vars$
|
|
84732
|
-
[vars$
|
|
84733
|
-
[vars$
|
|
84734
|
-
[vars$
|
|
84735
|
-
[vars$
|
|
84736
|
-
[vars$
|
|
84737
|
-
[vars$
|
|
84738
|
-
[vars$
|
|
84739
|
-
[vars$
|
|
84740
|
-
[vars$
|
|
84741
|
-
[vars$
|
|
84742
|
-
[vars$
|
|
84743
|
-
[vars$
|
|
84744
|
-
[vars$
|
|
84719
|
+
[vars$16.hostWidth]: refs$1.width,
|
|
84720
|
+
[vars$16.hostDirection]: refs$1.direction,
|
|
84721
|
+
[vars$16.fontSize]: refs$1.fontSize,
|
|
84722
|
+
[vars$16.fontFamily]: refs$1.fontFamily,
|
|
84723
|
+
[vars$16.labelFontSize]: refs$1.labelFontSize,
|
|
84724
|
+
[vars$16.labelFontWeight]: refs$1.labelFontWeight,
|
|
84725
|
+
[vars$16.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
84726
|
+
[vars$16.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
84727
|
+
[vars$16.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
84728
|
+
[vars$16.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
84729
|
+
[vars$16.labelTextColor]: refs$1.labelTextColor,
|
|
84730
|
+
[vars$16.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
84731
|
+
[vars$16.inputBorderColor]: refs$1.borderColor,
|
|
84732
|
+
[vars$16.inputBorderWidth]: refs$1.borderWidth,
|
|
84733
|
+
[vars$16.inputBorderStyle]: refs$1.borderStyle,
|
|
84734
|
+
[vars$16.inputBorderRadius]: refs$1.borderRadius,
|
|
84735
|
+
[vars$16.inputOutlineColor]: refs$1.outlineColor,
|
|
84736
|
+
[vars$16.inputOutlineOffset]: refs$1.outlineOffset,
|
|
84737
|
+
[vars$16.inputOutlineWidth]: refs$1.outlineWidth,
|
|
84738
|
+
[vars$16.inputOutlineStyle]: refs$1.outlineStyle,
|
|
84739
|
+
[vars$16.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
84740
|
+
[vars$16.inputValueTextColor]: refs$1.valueTextColor,
|
|
84741
|
+
[vars$16.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
84742
|
+
[vars$16.inputBackgroundColor]: refs$1.backgroundColor,
|
|
84743
|
+
[vars$16.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
84744
|
+
[vars$16.inputHeight]: refs$1.inputHeight,
|
|
84745
|
+
[vars$16.inputDropdownButtonColor]: globalRefs$E.colors.surface.dark,
|
|
84746
|
+
[vars$16.inputDropdownButtonCursor]: 'pointer',
|
|
84747
|
+
[vars$16.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
84748
|
+
[vars$16.inputDropdownButtonOffset]: globalRefs$E.spacing.xs,
|
|
84749
|
+
[vars$16.overlayItemPaddingInlineStart]: globalRefs$E.spacing.xs,
|
|
84750
|
+
[vars$16.overlayItemPaddingInlineEnd]: globalRefs$E.spacing.lg,
|
|
84751
|
+
[vars$16.labelPosition]: refs$1.labelPosition,
|
|
84752
|
+
[vars$16.labelTopPosition]: refs$1.labelTopPosition,
|
|
84753
|
+
[vars$16.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
84754
|
+
[vars$16.inputTransformY]: refs$1.inputTransformY,
|
|
84755
|
+
[vars$16.inputTransition]: refs$1.inputTransition,
|
|
84756
|
+
[vars$16.marginInlineStart]: refs$1.marginInlineStart,
|
|
84757
|
+
[vars$16.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
84758
|
+
[vars$16.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
84759
|
+
[vars$16.valueInputHeight]: refs$1.valueInputHeight,
|
|
84760
|
+
[vars$16.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
84745
84761
|
|
|
84746
84762
|
// error message icon
|
|
84747
|
-
[vars$
|
|
84748
|
-
[vars$
|
|
84749
|
-
[vars$
|
|
84750
|
-
[vars$
|
|
84751
|
-
[vars$
|
|
84752
|
-
[vars$
|
|
84763
|
+
[vars$16.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
84764
|
+
[vars$16.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
84765
|
+
[vars$16.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
84766
|
+
[vars$16.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
84767
|
+
[vars$16.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
84768
|
+
[vars$16.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
84753
84769
|
|
|
84754
84770
|
_readonly: {
|
|
84755
|
-
[vars$
|
|
84771
|
+
[vars$16.inputDropdownButtonCursor]: 'default',
|
|
84756
84772
|
},
|
|
84757
84773
|
|
|
84758
84774
|
// Overlay theme exposed via the component:
|
|
84759
|
-
[vars$
|
|
84760
|
-
[vars$
|
|
84761
|
-
[vars$
|
|
84762
|
-
[vars$
|
|
84763
|
-
[vars$
|
|
84764
|
-
[vars$
|
|
84765
|
-
[vars$
|
|
84766
|
-
[vars$
|
|
84767
|
-
[vars$
|
|
84768
|
-
globalRefs$
|
|
84769
|
-
[vars$
|
|
84770
|
-
globalRefs$
|
|
84771
|
-
[vars$
|
|
84772
|
-
[vars$
|
|
84775
|
+
[vars$16.overlayFontSize]: refs$1.fontSize,
|
|
84776
|
+
[vars$16.overlayFontFamily]: refs$1.fontFamily,
|
|
84777
|
+
[vars$16.overlayCursor]: 'pointer',
|
|
84778
|
+
[vars$16.overlayItemBoxShadow]: 'none',
|
|
84779
|
+
[vars$16.overlayBackground]: refs$1.backgroundColor,
|
|
84780
|
+
[vars$16.overlayTextColor]: refs$1.valueTextColor,
|
|
84781
|
+
[vars$16.overlayCheckmarkDisplay]: 'initial',
|
|
84782
|
+
[vars$16.overlaySelectedItemBackground]: 'initial',
|
|
84783
|
+
[vars$16.overlaySelectedItemHoverBackground]:
|
|
84784
|
+
globalRefs$E.colors.primary.highlight,
|
|
84785
|
+
[vars$16.overlaySelectedItemFocusBackground]:
|
|
84786
|
+
globalRefs$E.colors.primary.highlight,
|
|
84787
|
+
[vars$16.overlayItemHoverBackground]: globalRefs$E.colors.primary.highlight,
|
|
84788
|
+
[vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
|
|
84773
84789
|
|
|
84774
84790
|
// Overlay direct theme:
|
|
84775
|
-
[vars$
|
|
84776
|
-
[vars$
|
|
84791
|
+
[vars$16.overlay.minHeight]: '400px',
|
|
84792
|
+
[vars$16.overlay.margin]: '0',
|
|
84777
84793
|
|
|
84778
|
-
[vars$
|
|
84779
|
-
[vars$
|
|
84780
|
-
[vars$
|
|
84794
|
+
[vars$16.overlay.contentHeight]: '100%',
|
|
84795
|
+
[vars$16.overlay.contentOpacity]: '1',
|
|
84796
|
+
[vars$16.overlay.scrollerMinHeight]: '1px',
|
|
84781
84797
|
_loading: {
|
|
84782
|
-
[vars$
|
|
84783
|
-
[vars$
|
|
84784
|
-
[vars$
|
|
84798
|
+
[vars$16.overlay.loaderTop]: '50%',
|
|
84799
|
+
[vars$16.overlay.loaderLeft]: '50%',
|
|
84800
|
+
[vars$16.overlay.loaderRight]: 'auto',
|
|
84785
84801
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
|
84786
84802
|
// Margin has to be half of the width/height of the loader to center it
|
|
84787
|
-
[vars$
|
|
84788
|
-
[vars$
|
|
84789
|
-
[vars$
|
|
84790
|
-
[vars$
|
|
84791
|
-
[vars$
|
|
84792
|
-
`${globalRefs$
|
|
84793
|
-
[vars$
|
|
84794
|
-
[vars$
|
|
84795
|
-
[vars$
|
|
84796
|
-
[vars$
|
|
84803
|
+
[vars$16.overlay.loaderMargin]: '-15px 0 0 -15px',
|
|
84804
|
+
[vars$16.overlay.loaderWidth]: '30px',
|
|
84805
|
+
[vars$16.overlay.loaderHeight]: '30px',
|
|
84806
|
+
[vars$16.overlay.loaderBorder]: '2px solid transparent',
|
|
84807
|
+
[vars$16.overlay.loaderBorderColor]:
|
|
84808
|
+
`${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.main} ${globalRefs$E.colors.primary.main}`,
|
|
84809
|
+
[vars$16.overlay.loaderBorderRadius]: '50%',
|
|
84810
|
+
[vars$16.overlay.contentHeight]: '100px',
|
|
84811
|
+
[vars$16.overlay.scrollerMinHeight]: '100px',
|
|
84812
|
+
[vars$16.overlay.contentOpacity]: '0',
|
|
84797
84813
|
},
|
|
84798
84814
|
};
|
|
84799
84815
|
|
|
@@ -84801,13 +84817,13 @@ function requireIndex_cjs () {
|
|
|
84801
84817
|
__proto__: null,
|
|
84802
84818
|
comboBox: comboBox,
|
|
84803
84819
|
default: comboBox,
|
|
84804
|
-
vars: vars$
|
|
84820
|
+
vars: vars$16
|
|
84805
84821
|
});
|
|
84806
84822
|
|
|
84807
|
-
const componentName$
|
|
84823
|
+
const componentName$1i = getComponentName('badge');
|
|
84808
84824
|
|
|
84809
84825
|
class RawBadge extends createBaseClass$1({
|
|
84810
|
-
componentName: componentName$
|
|
84826
|
+
componentName: componentName$1i,
|
|
84811
84827
|
baseSelector: ':host > div',
|
|
84812
84828
|
}) {
|
|
84813
84829
|
static get observedAttributes() {
|
|
@@ -84896,52 +84912,52 @@ function requireIndex_cjs () {
|
|
|
84896
84912
|
componentNameValidationMixin$1,
|
|
84897
84913
|
)(RawBadge);
|
|
84898
84914
|
|
|
84899
|
-
const globalRefs$
|
|
84915
|
+
const globalRefs$D = getThemeRefs$1(globals);
|
|
84900
84916
|
|
|
84901
84917
|
const [helperTheme$6, helperRefs$6] = createHelperVars$1(
|
|
84902
84918
|
{
|
|
84903
84919
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
84904
84920
|
},
|
|
84905
|
-
componentName$
|
|
84921
|
+
componentName$1i,
|
|
84906
84922
|
);
|
|
84907
84923
|
|
|
84908
84924
|
const { shadowColor: shadowColor$7 } = helperRefs$6;
|
|
84909
84925
|
|
|
84910
|
-
const vars$
|
|
84926
|
+
const vars$15 = BadgeClass.cssVarList;
|
|
84911
84927
|
|
|
84912
84928
|
const badge$2 = {
|
|
84913
84929
|
...helperTheme$6,
|
|
84914
84930
|
|
|
84915
|
-
[vars$
|
|
84916
|
-
[vars$
|
|
84931
|
+
[vars$15.hostWidth]: 'fit-content',
|
|
84932
|
+
[vars$15.hostDirection]: globalRefs$D.direction,
|
|
84917
84933
|
|
|
84918
|
-
[vars$
|
|
84934
|
+
[vars$15.textAlign]: 'center',
|
|
84919
84935
|
|
|
84920
|
-
[vars$
|
|
84921
|
-
[vars$
|
|
84936
|
+
[vars$15.fontFamily]: globalRefs$D.fonts.font1.family,
|
|
84937
|
+
[vars$15.fontWeight]: '400',
|
|
84922
84938
|
|
|
84923
|
-
[vars$
|
|
84924
|
-
[vars$
|
|
84939
|
+
[vars$15.verticalPadding]: '0.25em',
|
|
84940
|
+
[vars$15.horizontalPadding]: '0.5em',
|
|
84925
84941
|
|
|
84926
|
-
[vars$
|
|
84927
|
-
[vars$
|
|
84928
|
-
[vars$
|
|
84929
|
-
[vars$
|
|
84942
|
+
[vars$15.borderWidth]: globalRefs$D.border.xs,
|
|
84943
|
+
[vars$15.borderRadius]: globalRefs$D.radius.xs,
|
|
84944
|
+
[vars$15.borderColor]: 'transparent',
|
|
84945
|
+
[vars$15.borderStyle]: 'solid',
|
|
84930
84946
|
|
|
84931
84947
|
_fullWidth: {
|
|
84932
|
-
[vars$
|
|
84948
|
+
[vars$15.hostWidth]: '100%',
|
|
84933
84949
|
},
|
|
84934
84950
|
|
|
84935
84951
|
size: {
|
|
84936
|
-
xs: { [vars$
|
|
84937
|
-
sm: { [vars$
|
|
84938
|
-
md: { [vars$
|
|
84939
|
-
lg: { [vars$
|
|
84952
|
+
xs: { [vars$15.fontSize]: '12px' },
|
|
84953
|
+
sm: { [vars$15.fontSize]: '14px' },
|
|
84954
|
+
md: { [vars$15.fontSize]: '16px' },
|
|
84955
|
+
lg: { [vars$15.fontSize]: '18px' },
|
|
84940
84956
|
},
|
|
84941
84957
|
|
|
84942
84958
|
variant: {
|
|
84943
84959
|
contained: {
|
|
84944
|
-
[vars$
|
|
84960
|
+
[vars$15.backgroundColor]: globalRefs$D.colors.surface.main,
|
|
84945
84961
|
},
|
|
84946
84962
|
},
|
|
84947
84963
|
|
|
@@ -84960,58 +84976,58 @@ function requireIndex_cjs () {
|
|
|
84960
84976
|
// },
|
|
84961
84977
|
|
|
84962
84978
|
_shrinkToIndicator: {
|
|
84963
|
-
[vars$
|
|
84964
|
-
[vars$
|
|
84965
|
-
[vars$
|
|
84966
|
-
[vars$
|
|
84967
|
-
[vars$
|
|
84979
|
+
[vars$15.hostWidth]: '13px',
|
|
84980
|
+
[vars$15.hostHeight]: '13px',
|
|
84981
|
+
[vars$15.borderRadius]: '50%',
|
|
84982
|
+
[vars$15.fontSize]: '0',
|
|
84983
|
+
[vars$15.textIndent]: '-9999px',
|
|
84968
84984
|
},
|
|
84969
84985
|
|
|
84970
84986
|
mode: {
|
|
84971
84987
|
default: {
|
|
84972
|
-
[vars$
|
|
84988
|
+
[vars$15.textColor]: globalRefs$D.colors.surface.dark,
|
|
84973
84989
|
_bordered: {
|
|
84974
|
-
[vars$
|
|
84990
|
+
[vars$15.borderColor]: globalRefs$D.colors.surface.light,
|
|
84975
84991
|
},
|
|
84976
84992
|
},
|
|
84977
84993
|
primary: {
|
|
84978
|
-
[vars$
|
|
84994
|
+
[vars$15.textColor]: globalRefs$D.colors.primary.main,
|
|
84979
84995
|
_bordered: {
|
|
84980
|
-
[vars$
|
|
84996
|
+
[vars$15.borderColor]: globalRefs$D.colors.primary.light,
|
|
84981
84997
|
},
|
|
84982
84998
|
},
|
|
84983
84999
|
secondary: {
|
|
84984
|
-
[vars$
|
|
85000
|
+
[vars$15.textColor]: globalRefs$D.colors.secondary.main,
|
|
84985
85001
|
_bordered: {
|
|
84986
|
-
[vars$
|
|
85002
|
+
[vars$15.borderColor]: globalRefs$D.colors.secondary.light,
|
|
84987
85003
|
},
|
|
84988
85004
|
},
|
|
84989
85005
|
error: {
|
|
84990
|
-
[vars$
|
|
85006
|
+
[vars$15.textColor]: globalRefs$D.colors.error.main,
|
|
84991
85007
|
_bordered: {
|
|
84992
|
-
[vars$
|
|
85008
|
+
[vars$15.borderColor]: globalRefs$D.colors.error.light,
|
|
84993
85009
|
},
|
|
84994
85010
|
},
|
|
84995
85011
|
success: {
|
|
84996
|
-
[vars$
|
|
85012
|
+
[vars$15.textColor]: globalRefs$D.colors.success.main,
|
|
84997
85013
|
_bordered: {
|
|
84998
|
-
[vars$
|
|
85014
|
+
[vars$15.borderColor]: globalRefs$D.colors.success.light,
|
|
84999
85015
|
},
|
|
85000
85016
|
},
|
|
85001
85017
|
},
|
|
85002
85018
|
|
|
85003
85019
|
shadow: {
|
|
85004
85020
|
sm: {
|
|
85005
|
-
[vars$
|
|
85021
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.sm} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.sm} ${shadowColor$7}`,
|
|
85006
85022
|
},
|
|
85007
85023
|
md: {
|
|
85008
|
-
[vars$
|
|
85024
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.md} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.md} ${shadowColor$7}`,
|
|
85009
85025
|
},
|
|
85010
85026
|
lg: {
|
|
85011
|
-
[vars$
|
|
85027
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.lg} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.lg} ${shadowColor$7}`,
|
|
85012
85028
|
},
|
|
85013
85029
|
xl: {
|
|
85014
|
-
[vars$
|
|
85030
|
+
[vars$15.boxShadow]: `${globalRefs$D.shadow.wide.xl} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.xl} ${shadowColor$7}`,
|
|
85015
85031
|
},
|
|
85016
85032
|
},
|
|
85017
85033
|
};
|
|
@@ -85019,12 +85035,12 @@ function requireIndex_cjs () {
|
|
|
85019
85035
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
|
85020
85036
|
__proto__: null,
|
|
85021
85037
|
default: badge$2,
|
|
85022
|
-
vars: vars$
|
|
85038
|
+
vars: vars$15
|
|
85023
85039
|
});
|
|
85024
85040
|
|
|
85025
|
-
const componentName$
|
|
85041
|
+
const componentName$1h = getComponentName('avatar');
|
|
85026
85042
|
class RawAvatar extends createBaseClass$1({
|
|
85027
|
-
componentName: componentName$
|
|
85043
|
+
componentName: componentName$1h,
|
|
85028
85044
|
baseSelector: ':host > .wrapper',
|
|
85029
85045
|
}) {
|
|
85030
85046
|
constructor() {
|
|
@@ -85102,7 +85118,7 @@ function requireIndex_cjs () {
|
|
|
85102
85118
|
}
|
|
85103
85119
|
}
|
|
85104
85120
|
|
|
85105
|
-
const { host: host$
|
|
85121
|
+
const { host: host$x, editableBadge, avatar: avatar$2 } = {
|
|
85106
85122
|
host: { selector: () => ':host' },
|
|
85107
85123
|
editableBadge: { selector: '> .editableBadge' },
|
|
85108
85124
|
avatar: { selector: 'vaadin-avatar' },
|
|
@@ -85112,12 +85128,12 @@ function requireIndex_cjs () {
|
|
|
85112
85128
|
createStyleMixin$1({
|
|
85113
85129
|
mappings: {
|
|
85114
85130
|
hostWidth: [
|
|
85115
|
-
{ ...host$
|
|
85116
|
-
{ ...host$
|
|
85131
|
+
{ ...host$x, property: 'width' },
|
|
85132
|
+
{ ...host$x, property: 'min-width' },
|
|
85117
85133
|
],
|
|
85118
|
-
hostHeight: { ...host$
|
|
85119
|
-
cursor: [avatar$2, host$
|
|
85120
|
-
hostDirection: { ...host$
|
|
85134
|
+
hostHeight: { ...host$x, property: 'height' },
|
|
85135
|
+
cursor: [avatar$2, host$x],
|
|
85136
|
+
hostDirection: { ...host$x, property: 'direction' },
|
|
85121
85137
|
avatarTextColor: { ...avatar$2, property: 'color' },
|
|
85122
85138
|
avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
|
|
85123
85139
|
editableIconColor: { ...editableBadge, property: 'color' },
|
|
@@ -85132,16 +85148,16 @@ function requireIndex_cjs () {
|
|
|
85132
85148
|
componentNameValidationMixin$1,
|
|
85133
85149
|
)(RawAvatar);
|
|
85134
85150
|
|
|
85135
|
-
const globalRefs$
|
|
85151
|
+
const globalRefs$C = getThemeRefs$1(globals);
|
|
85136
85152
|
const compVars$8 = AvatarClass.cssVarList;
|
|
85137
85153
|
|
|
85138
85154
|
const avatar = {
|
|
85139
|
-
[compVars$8.hostDirection]: globalRefs$
|
|
85140
|
-
[compVars$8.editableIconColor]: globalRefs$
|
|
85141
|
-
[compVars$8.editableBorderColor]: globalRefs$
|
|
85142
|
-
[compVars$8.editableBackgroundColor]: globalRefs$
|
|
85143
|
-
[compVars$8.avatarTextColor]: globalRefs$
|
|
85144
|
-
[compVars$8.avatarBackgroundColor]: globalRefs$
|
|
85155
|
+
[compVars$8.hostDirection]: globalRefs$C.direction,
|
|
85156
|
+
[compVars$8.editableIconColor]: globalRefs$C.colors.surface.dark,
|
|
85157
|
+
[compVars$8.editableBorderColor]: globalRefs$C.colors.surface.dark,
|
|
85158
|
+
[compVars$8.editableBackgroundColor]: globalRefs$C.colors.surface.main,
|
|
85159
|
+
[compVars$8.avatarTextColor]: globalRefs$C.colors.surface.main,
|
|
85160
|
+
[compVars$8.avatarBackgroundColor]: globalRefs$C.colors.surface.dark,
|
|
85145
85161
|
|
|
85146
85162
|
_editable: {
|
|
85147
85163
|
[compVars$8.cursor]: 'pointer',
|
|
@@ -85175,37 +85191,37 @@ function requireIndex_cjs () {
|
|
|
85175
85191
|
},
|
|
85176
85192
|
};
|
|
85177
85193
|
|
|
85178
|
-
const vars$
|
|
85194
|
+
const vars$14 = {
|
|
85179
85195
|
...compVars$8,
|
|
85180
85196
|
};
|
|
85181
85197
|
|
|
85182
85198
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
85183
85199
|
__proto__: null,
|
|
85184
85200
|
default: avatar,
|
|
85185
|
-
vars: vars$
|
|
85201
|
+
vars: vars$14
|
|
85186
85202
|
});
|
|
85187
85203
|
|
|
85188
|
-
const vars$
|
|
85204
|
+
const vars$13 = IconClass.cssVarList;
|
|
85189
85205
|
|
|
85190
85206
|
const icon$3 = {};
|
|
85191
85207
|
|
|
85192
85208
|
var icon$4 = /*#__PURE__*/Object.freeze({
|
|
85193
85209
|
__proto__: null,
|
|
85194
85210
|
default: icon$3,
|
|
85195
|
-
vars: vars$
|
|
85211
|
+
vars: vars$13
|
|
85196
85212
|
});
|
|
85197
85213
|
|
|
85198
|
-
const vars$
|
|
85214
|
+
const vars$12 = ImageClass.cssVarList;
|
|
85199
85215
|
|
|
85200
85216
|
const image = {};
|
|
85201
85217
|
|
|
85202
85218
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
85203
85219
|
__proto__: null,
|
|
85204
85220
|
default: image,
|
|
85205
|
-
vars: vars$
|
|
85221
|
+
vars: vars$12
|
|
85206
85222
|
});
|
|
85207
85223
|
|
|
85208
|
-
const componentName$
|
|
85224
|
+
const componentName$1g = getComponentName('list-item');
|
|
85209
85225
|
|
|
85210
85226
|
const customMixin$f = (superclass) =>
|
|
85211
85227
|
class ListItemMixinClass extends superclass {
|
|
@@ -85262,12 +85278,12 @@ function requireIndex_cjs () {
|
|
|
85262
85278
|
componentNameValidationMixin$1,
|
|
85263
85279
|
customMixin$f,
|
|
85264
85280
|
activeableMixin,
|
|
85265
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
85281
|
+
)(createBaseClass$1({ componentName: componentName$1g, baseSelector: 'slot' }));
|
|
85266
85282
|
|
|
85267
|
-
const componentName$
|
|
85283
|
+
const componentName$1f = getComponentName('list');
|
|
85268
85284
|
|
|
85269
85285
|
class RawList extends createBaseClass$1({
|
|
85270
|
-
componentName: componentName$
|
|
85286
|
+
componentName: componentName$1f,
|
|
85271
85287
|
baseSelector: '.wrapper',
|
|
85272
85288
|
}) {
|
|
85273
85289
|
static get observedAttributes() {
|
|
@@ -85438,9 +85454,9 @@ function requireIndex_cjs () {
|
|
|
85438
85454
|
componentNameValidationMixin$1,
|
|
85439
85455
|
)(RawList);
|
|
85440
85456
|
|
|
85441
|
-
const componentName$
|
|
85457
|
+
const componentName$1e = getComponentName('apps-list');
|
|
85442
85458
|
|
|
85443
|
-
const itemRenderer$
|
|
85459
|
+
const itemRenderer$6 = ({ name, icon, url }, _, ref) => `
|
|
85444
85460
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
85445
85461
|
<descope-list-item>
|
|
85446
85462
|
<div class="avatar-wrapper">
|
|
@@ -85546,7 +85562,7 @@ function requireIndex_cjs () {
|
|
|
85546
85562
|
},
|
|
85547
85563
|
}),
|
|
85548
85564
|
createDynamicDataMixin$1({
|
|
85549
|
-
itemRenderer: itemRenderer$
|
|
85565
|
+
itemRenderer: itemRenderer$6,
|
|
85550
85566
|
rerenderAttrsList: [
|
|
85551
85567
|
'size',
|
|
85552
85568
|
'item-text-variant',
|
|
@@ -85562,7 +85578,7 @@ function requireIndex_cjs () {
|
|
|
85562
85578
|
slots: ['empty-state'],
|
|
85563
85579
|
wrappedEleName: 'descope-list',
|
|
85564
85580
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
85565
|
-
componentName: componentName$
|
|
85581
|
+
componentName: componentName$1e,
|
|
85566
85582
|
style: () => `
|
|
85567
85583
|
:host {
|
|
85568
85584
|
width: 100%;
|
|
@@ -85597,60 +85613,60 @@ function requireIndex_cjs () {
|
|
|
85597
85613
|
}),
|
|
85598
85614
|
);
|
|
85599
85615
|
|
|
85600
|
-
const vars$
|
|
85601
|
-
const globalRefs$
|
|
85616
|
+
const vars$11 = AppsListClass.cssVarList;
|
|
85617
|
+
const globalRefs$B = getThemeRefs$1(globals);
|
|
85602
85618
|
|
|
85603
85619
|
const defaultHeight = '400px';
|
|
85604
85620
|
|
|
85605
85621
|
const appsList = {
|
|
85606
|
-
[vars$
|
|
85607
|
-
[vars$
|
|
85608
|
-
[vars$
|
|
85609
|
-
[vars$
|
|
85622
|
+
[vars$11.itemsTextAlign]: 'start',
|
|
85623
|
+
[vars$11.hostDirection]: globalRefs$B.direction,
|
|
85624
|
+
[vars$11.maxHeight]: defaultHeight,
|
|
85625
|
+
[vars$11.itemHoverBackgroundColor]: globalRefs$B.colors.surface.highlight,
|
|
85610
85626
|
|
|
85611
85627
|
_empty: {
|
|
85612
|
-
[vars$
|
|
85628
|
+
[vars$11.minHeight]: defaultHeight,
|
|
85613
85629
|
},
|
|
85614
85630
|
|
|
85615
85631
|
size: {
|
|
85616
85632
|
xs: {
|
|
85617
|
-
[vars$
|
|
85618
|
-
[vars$
|
|
85633
|
+
[vars$11.itemsFontSize]: '14px',
|
|
85634
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
85619
85635
|
},
|
|
85620
85636
|
sm: {
|
|
85621
|
-
[vars$
|
|
85622
|
-
[vars$
|
|
85637
|
+
[vars$11.itemsFontSize]: '14px',
|
|
85638
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
85623
85639
|
},
|
|
85624
85640
|
md: {
|
|
85625
|
-
[vars$
|
|
85626
|
-
[vars$
|
|
85641
|
+
[vars$11.itemsFontSize]: '16px',
|
|
85642
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
85627
85643
|
},
|
|
85628
85644
|
lg: {
|
|
85629
|
-
[vars$
|
|
85630
|
-
[vars$
|
|
85645
|
+
[vars$11.itemsFontSize]: '20px',
|
|
85646
|
+
[vars$11.itemsFontWeight]: 'normal',
|
|
85631
85647
|
},
|
|
85632
85648
|
},
|
|
85633
85649
|
|
|
85634
85650
|
itemPadding: {
|
|
85635
85651
|
xs: {
|
|
85636
|
-
[vars$
|
|
85637
|
-
[vars$
|
|
85652
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.xs,
|
|
85653
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xs,
|
|
85638
85654
|
},
|
|
85639
85655
|
sm: {
|
|
85640
|
-
[vars$
|
|
85641
|
-
[vars$
|
|
85656
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.sm,
|
|
85657
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.sm,
|
|
85642
85658
|
},
|
|
85643
85659
|
md: {
|
|
85644
|
-
[vars$
|
|
85645
|
-
[vars$
|
|
85660
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.md,
|
|
85661
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.md,
|
|
85646
85662
|
},
|
|
85647
85663
|
lg: {
|
|
85648
|
-
[vars$
|
|
85649
|
-
[vars$
|
|
85664
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.lg,
|
|
85665
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.lg,
|
|
85650
85666
|
},
|
|
85651
85667
|
xl: {
|
|
85652
|
-
[vars$
|
|
85653
|
-
[vars$
|
|
85668
|
+
[vars$11.itemVerticalPadding]: globalRefs$B.spacing.xl,
|
|
85669
|
+
[vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xl,
|
|
85654
85670
|
},
|
|
85655
85671
|
},
|
|
85656
85672
|
};
|
|
@@ -85658,16 +85674,16 @@ function requireIndex_cjs () {
|
|
|
85658
85674
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
|
85659
85675
|
__proto__: null,
|
|
85660
85676
|
default: appsList,
|
|
85661
|
-
vars: vars$
|
|
85677
|
+
vars: vars$11
|
|
85662
85678
|
});
|
|
85663
85679
|
|
|
85664
|
-
const globalRefs$
|
|
85680
|
+
const globalRefs$A = getThemeRefs$1(globals);
|
|
85665
85681
|
|
|
85666
85682
|
const compVars$7 = ListClass.cssVarList;
|
|
85667
85683
|
|
|
85668
85684
|
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
|
|
85669
85685
|
{ shadowColor: '#00000020' },
|
|
85670
|
-
componentName$
|
|
85686
|
+
componentName$1f,
|
|
85671
85687
|
);
|
|
85672
85688
|
|
|
85673
85689
|
const { shadowColor: shadowColor$6 } = helperRefs$5;
|
|
@@ -85676,25 +85692,25 @@ function requireIndex_cjs () {
|
|
|
85676
85692
|
...helperTheme$5,
|
|
85677
85693
|
|
|
85678
85694
|
[compVars$7.hostWidth]: '100%',
|
|
85679
|
-
[compVars$7.backgroundColor]: globalRefs$
|
|
85680
|
-
[compVars$7.fontFamily]: globalRefs$
|
|
85681
|
-
[compVars$7.borderColor]: globalRefs$
|
|
85695
|
+
[compVars$7.backgroundColor]: globalRefs$A.colors.surface.main,
|
|
85696
|
+
[compVars$7.fontFamily]: globalRefs$A.fonts.font1.family,
|
|
85697
|
+
[compVars$7.borderColor]: globalRefs$A.colors.surface.light,
|
|
85682
85698
|
[compVars$7.borderStyle]: 'solid',
|
|
85683
|
-
[compVars$7.borderWidth]: globalRefs$
|
|
85684
|
-
[compVars$7.borderRadius]: globalRefs$
|
|
85685
|
-
[compVars$7.gap]: globalRefs$
|
|
85686
|
-
[compVars$7.verticalPadding]: globalRefs$
|
|
85687
|
-
[compVars$7.horizontalPadding]: globalRefs$
|
|
85688
|
-
[compVars$7.boxShadow]: `${globalRefs$
|
|
85699
|
+
[compVars$7.borderWidth]: globalRefs$A.border.xs,
|
|
85700
|
+
[compVars$7.borderRadius]: globalRefs$A.radius.sm,
|
|
85701
|
+
[compVars$7.gap]: globalRefs$A.spacing.md,
|
|
85702
|
+
[compVars$7.verticalPadding]: globalRefs$A.spacing.lg,
|
|
85703
|
+
[compVars$7.horizontalPadding]: globalRefs$A.spacing.lg,
|
|
85704
|
+
[compVars$7.boxShadow]: `${globalRefs$A.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$A.shadow.narrow.sm} ${shadowColor$6}`,
|
|
85689
85705
|
[compVars$7.maxHeight]: '100%',
|
|
85690
|
-
[compVars$7.hostDirection]: globalRefs$
|
|
85706
|
+
[compVars$7.hostDirection]: globalRefs$A.direction,
|
|
85691
85707
|
[compVars$7.minItemsWidth]: '150px',
|
|
85692
85708
|
[compVars$7.maxRowItems]: '1000', // effectively no limit
|
|
85693
85709
|
|
|
85694
85710
|
_empty: {
|
|
85695
85711
|
[compVars$7.minHeight]: '150px',
|
|
85696
|
-
[compVars$7.emptyStateTextColor]: globalRefs$
|
|
85697
|
-
[compVars$7.emptyStateTextFontFamily]: globalRefs$
|
|
85712
|
+
[compVars$7.emptyStateTextColor]: globalRefs$A.colors.surface.dark,
|
|
85713
|
+
[compVars$7.emptyStateTextFontFamily]: globalRefs$A.fonts.font1.family,
|
|
85698
85714
|
},
|
|
85699
85715
|
|
|
85700
85716
|
variant: {
|
|
@@ -85711,24 +85727,24 @@ function requireIndex_cjs () {
|
|
|
85711
85727
|
|
|
85712
85728
|
gap: {
|
|
85713
85729
|
xs: {
|
|
85714
|
-
[compVars$7.gap]: globalRefs$
|
|
85730
|
+
[compVars$7.gap]: globalRefs$A.spacing.xs,
|
|
85715
85731
|
},
|
|
85716
85732
|
sm: {
|
|
85717
|
-
[compVars$7.gap]: globalRefs$
|
|
85733
|
+
[compVars$7.gap]: globalRefs$A.spacing.sm,
|
|
85718
85734
|
},
|
|
85719
85735
|
md: {
|
|
85720
|
-
[compVars$7.gap]: globalRefs$
|
|
85736
|
+
[compVars$7.gap]: globalRefs$A.spacing.md,
|
|
85721
85737
|
},
|
|
85722
85738
|
lg: {
|
|
85723
|
-
[compVars$7.gap]: globalRefs$
|
|
85739
|
+
[compVars$7.gap]: globalRefs$A.spacing.lg,
|
|
85724
85740
|
},
|
|
85725
85741
|
xl: {
|
|
85726
|
-
[compVars$7.gap]: globalRefs$
|
|
85742
|
+
[compVars$7.gap]: globalRefs$A.spacing.xl,
|
|
85727
85743
|
},
|
|
85728
85744
|
},
|
|
85729
85745
|
};
|
|
85730
85746
|
|
|
85731
|
-
const vars
|
|
85747
|
+
const vars$10 = {
|
|
85732
85748
|
...compVars$7,
|
|
85733
85749
|
...helperVars$5,
|
|
85734
85750
|
};
|
|
@@ -85736,53 +85752,53 @@ function requireIndex_cjs () {
|
|
|
85736
85752
|
var list$1 = /*#__PURE__*/Object.freeze({
|
|
85737
85753
|
__proto__: null,
|
|
85738
85754
|
default: list,
|
|
85739
|
-
vars: vars
|
|
85755
|
+
vars: vars$10
|
|
85740
85756
|
});
|
|
85741
85757
|
|
|
85742
|
-
const globalRefs$
|
|
85758
|
+
const globalRefs$z = getThemeRefs$1(globals);
|
|
85743
85759
|
|
|
85744
|
-
const vars
|
|
85760
|
+
const vars$$ = ListItemClass.cssVarList;
|
|
85745
85761
|
|
|
85746
85762
|
const listItem = {
|
|
85747
|
-
[vars
|
|
85748
|
-
[vars
|
|
85749
|
-
[vars
|
|
85750
|
-
[vars
|
|
85751
|
-
[vars
|
|
85752
|
-
[vars
|
|
85753
|
-
[vars
|
|
85754
|
-
[vars
|
|
85755
|
-
[vars
|
|
85756
|
-
[vars
|
|
85757
|
-
[vars
|
|
85758
|
-
[vars
|
|
85763
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
|
|
85764
|
+
[vars$$.verticalPadding]: globalRefs$z.spacing.lg,
|
|
85765
|
+
[vars$$.horizontalPadding]: globalRefs$z.spacing.lg,
|
|
85766
|
+
[vars$$.gap]: globalRefs$z.spacing.md,
|
|
85767
|
+
[vars$$.borderStyle]: 'solid',
|
|
85768
|
+
[vars$$.borderWidth]: globalRefs$z.border.xs,
|
|
85769
|
+
[vars$$.borderColor]: globalRefs$z.colors.surface.main,
|
|
85770
|
+
[vars$$.borderRadius]: globalRefs$z.radius.sm,
|
|
85771
|
+
[vars$$.cursor]: 'pointer',
|
|
85772
|
+
[vars$$.alignItems]: 'center',
|
|
85773
|
+
[vars$$.flexDirection]: 'row',
|
|
85774
|
+
[vars$$.transition]: 'border-color 0.2s, background-color 0.2s',
|
|
85759
85775
|
|
|
85760
85776
|
variant: {
|
|
85761
85777
|
tile: {
|
|
85762
|
-
[vars
|
|
85763
|
-
[vars
|
|
85764
|
-
[vars
|
|
85778
|
+
[vars$$.alignItems]: 'flex-start',
|
|
85779
|
+
[vars$$.flexDirection]: 'column',
|
|
85780
|
+
[vars$$.borderColor]: globalRefs$z.colors.surface.light,
|
|
85765
85781
|
},
|
|
85766
85782
|
},
|
|
85767
85783
|
|
|
85768
85784
|
_hover: {
|
|
85769
|
-
[vars
|
|
85785
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.highlight,
|
|
85770
85786
|
},
|
|
85771
85787
|
|
|
85772
85788
|
_active: {
|
|
85773
|
-
[vars
|
|
85774
|
-
[vars
|
|
85775
|
-
[vars
|
|
85789
|
+
[vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
|
|
85790
|
+
[vars$$.borderColor]: globalRefs$z.colors.primary.light,
|
|
85791
|
+
[vars$$.outline]: `1px solid ${globalRefs$z.colors.primary.light}`,
|
|
85776
85792
|
},
|
|
85777
85793
|
};
|
|
85778
85794
|
|
|
85779
85795
|
var listItem$1 = /*#__PURE__*/Object.freeze({
|
|
85780
85796
|
__proto__: null,
|
|
85781
85797
|
default: listItem,
|
|
85782
|
-
vars: vars
|
|
85798
|
+
vars: vars$$
|
|
85783
85799
|
});
|
|
85784
85800
|
|
|
85785
|
-
const componentName$
|
|
85801
|
+
const componentName$1d = getComponentName('multi-select-combo-box');
|
|
85786
85802
|
|
|
85787
85803
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
85788
85804
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -86161,7 +86177,7 @@ function requireIndex_cjs () {
|
|
|
86161
86177
|
};
|
|
86162
86178
|
|
|
86163
86179
|
const {
|
|
86164
|
-
host: host$
|
|
86180
|
+
host: host$w,
|
|
86165
86181
|
inputField: inputField$5,
|
|
86166
86182
|
inputElement: inputElement$2,
|
|
86167
86183
|
placeholder: placeholder$2,
|
|
@@ -86201,9 +86217,9 @@ function requireIndex_cjs () {
|
|
|
86201
86217
|
const MultiSelectComboBoxClass = compose(
|
|
86202
86218
|
createStyleMixin$1({
|
|
86203
86219
|
mappings: {
|
|
86204
|
-
hostWidth: { ...host$
|
|
86205
|
-
hostDirection: { ...host$
|
|
86206
|
-
fontSize: [{}, host$
|
|
86220
|
+
hostWidth: { ...host$w, property: 'width' },
|
|
86221
|
+
hostDirection: { ...host$w, property: 'direction' },
|
|
86222
|
+
fontSize: [{}, host$w],
|
|
86207
86223
|
chipFontSize: { ...chipLabel, property: 'font-size' },
|
|
86208
86224
|
fontFamily: [
|
|
86209
86225
|
label$8,
|
|
@@ -86445,13 +86461,13 @@ function requireIndex_cjs () {
|
|
|
86445
86461
|
|
|
86446
86462
|
`,
|
|
86447
86463
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
|
|
86448
|
-
componentName: componentName$
|
|
86464
|
+
componentName: componentName$1d,
|
|
86449
86465
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
86450
86466
|
}),
|
|
86451
86467
|
);
|
|
86452
86468
|
|
|
86453
|
-
const componentName$
|
|
86454
|
-
const BaseClass$
|
|
86469
|
+
const componentName$1c = getComponentName('multi-line-mappings');
|
|
86470
|
+
const BaseClass$9 = createBaseClass$1({ componentName: componentName$1c });
|
|
86455
86471
|
|
|
86456
86472
|
const parseJSON = (value, fallback, source = 'unknown') => {
|
|
86457
86473
|
if (typeof value !== 'string' || !value?.trim()) {
|
|
@@ -86521,7 +86537,7 @@ function requireIndex_cjs () {
|
|
|
86521
86537
|
const areSameValues = (first = [], second = []) =>
|
|
86522
86538
|
first.length === second.length && first.every((v, i) => v === second[i]);
|
|
86523
86539
|
|
|
86524
|
-
class RawMultiLineMappingsClass extends BaseClass$
|
|
86540
|
+
class RawMultiLineMappingsClass extends BaseClass$9 {
|
|
86525
86541
|
static get observedAttributes() {
|
|
86526
86542
|
return [
|
|
86527
86543
|
'data',
|
|
@@ -87158,7 +87174,7 @@ function requireIndex_cjs () {
|
|
|
87158
87174
|
}
|
|
87159
87175
|
}
|
|
87160
87176
|
|
|
87161
|
-
const host$
|
|
87177
|
+
const host$v = { selector: () => ':host' };
|
|
87162
87178
|
const rows = { selector: '.rows' };
|
|
87163
87179
|
const row = { selector: '.row' };
|
|
87164
87180
|
const addAction = { selector: '.add-action' };
|
|
@@ -87166,9 +87182,9 @@ function requireIndex_cjs () {
|
|
|
87166
87182
|
const MultiLineMappingsClass = compose(
|
|
87167
87183
|
createStyleMixin$1({
|
|
87168
87184
|
mappings: {
|
|
87169
|
-
hostWidth: { ...host$
|
|
87185
|
+
hostWidth: { ...host$v, property: 'width' },
|
|
87170
87186
|
hostDirection: [
|
|
87171
|
-
{ ...host$
|
|
87187
|
+
{ ...host$v, property: 'direction' },
|
|
87172
87188
|
{
|
|
87173
87189
|
selector: MultiSelectComboBoxClass.componentName,
|
|
87174
87190
|
property: MultiSelectComboBoxClass.cssVarList.hostDirection,
|
|
@@ -87189,126 +87205,126 @@ function requireIndex_cjs () {
|
|
|
87189
87205
|
draggableMixin$1,
|
|
87190
87206
|
)(RawMultiLineMappingsClass);
|
|
87191
87207
|
|
|
87192
|
-
const vars$
|
|
87208
|
+
const vars$_ = MultiLineMappingsClass.cssVarList;
|
|
87193
87209
|
|
|
87194
87210
|
const multiLineMappings = {
|
|
87195
|
-
[vars$
|
|
87211
|
+
[vars$_.hostDirection]: refs$1.direction,
|
|
87196
87212
|
|
|
87197
|
-
[vars$
|
|
87198
|
-
[vars$
|
|
87199
|
-
[vars$
|
|
87200
|
-
[vars$
|
|
87213
|
+
[vars$_.rowsGap]: globals.spacing.sm,
|
|
87214
|
+
[vars$_.rowGap]: globals.spacing.sm,
|
|
87215
|
+
[vars$_.rowAlignItems]: 'flex-end',
|
|
87216
|
+
[vars$_.rowWrap]: 'nowrap',
|
|
87201
87217
|
|
|
87202
|
-
[vars$
|
|
87203
|
-
[vars$
|
|
87218
|
+
[vars$_.addActionJustifyContent]: 'flex-start',
|
|
87219
|
+
[vars$_.addActionMarginTop]: globals.spacing.xs,
|
|
87204
87220
|
|
|
87205
87221
|
_fullWidth: {
|
|
87206
|
-
[vars$
|
|
87222
|
+
[vars$_.hostWidth]: '100%',
|
|
87207
87223
|
},
|
|
87208
87224
|
};
|
|
87209
87225
|
|
|
87210
87226
|
var multiLineMappings$1 = /*#__PURE__*/Object.freeze({
|
|
87211
87227
|
__proto__: null,
|
|
87212
87228
|
default: multiLineMappings,
|
|
87213
|
-
vars: vars$
|
|
87229
|
+
vars: vars$_
|
|
87214
87230
|
});
|
|
87215
87231
|
|
|
87216
|
-
const globalRefs$
|
|
87217
|
-
const vars$
|
|
87232
|
+
const globalRefs$y = getThemeRefs$1(globals);
|
|
87233
|
+
const vars$Z = MultiSelectComboBoxClass.cssVarList;
|
|
87218
87234
|
|
|
87219
87235
|
const multiSelectComboBox = {
|
|
87220
|
-
[vars$
|
|
87221
|
-
[vars$
|
|
87222
|
-
[vars$
|
|
87223
|
-
[vars$
|
|
87224
|
-
[vars$
|
|
87225
|
-
[vars$
|
|
87226
|
-
[vars$
|
|
87227
|
-
[vars$
|
|
87228
|
-
[vars$
|
|
87229
|
-
[vars$
|
|
87230
|
-
[vars$
|
|
87231
|
-
[vars$
|
|
87232
|
-
[vars$
|
|
87233
|
-
[vars$
|
|
87234
|
-
[vars$
|
|
87235
|
-
[vars$
|
|
87236
|
-
[vars$
|
|
87237
|
-
[vars$
|
|
87238
|
-
[vars$
|
|
87239
|
-
[vars$
|
|
87240
|
-
[vars$
|
|
87241
|
-
[vars$
|
|
87242
|
-
[vars$
|
|
87243
|
-
[vars$
|
|
87244
|
-
[vars$
|
|
87245
|
-
[vars$
|
|
87246
|
-
[vars$
|
|
87247
|
-
[vars$
|
|
87248
|
-
[vars$
|
|
87249
|
-
[vars$
|
|
87250
|
-
[vars$
|
|
87251
|
-
[vars$
|
|
87252
|
-
[vars$
|
|
87253
|
-
[vars$
|
|
87254
|
-
[vars$
|
|
87255
|
-
[vars$
|
|
87256
|
-
[vars$
|
|
87257
|
-
[vars$
|
|
87258
|
-
[vars$
|
|
87259
|
-
[vars$
|
|
87260
|
-
[vars$
|
|
87261
|
-
[vars$
|
|
87262
|
-
[vars$
|
|
87263
|
-
[vars$
|
|
87264
|
-
[vars$
|
|
87265
|
-
|
|
87266
|
-
[vars$
|
|
87267
|
-
[vars$
|
|
87268
|
-
[vars$
|
|
87269
|
-
[vars$
|
|
87270
|
-
[vars$
|
|
87271
|
-
[vars$
|
|
87236
|
+
[vars$Z.hostWidth]: refs$1.width,
|
|
87237
|
+
[vars$Z.hostDirection]: refs$1.direction,
|
|
87238
|
+
[vars$Z.fontSize]: refs$1.fontSize,
|
|
87239
|
+
[vars$Z.fontFamily]: refs$1.fontFamily,
|
|
87240
|
+
[vars$Z.labelFontSize]: refs$1.labelFontSize,
|
|
87241
|
+
[vars$Z.labelFontWeight]: refs$1.labelFontWeight,
|
|
87242
|
+
[vars$Z.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
87243
|
+
[vars$Z.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
87244
|
+
[vars$Z.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
87245
|
+
[vars$Z.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
87246
|
+
[vars$Z.labelTextColor]: refs$1.labelTextColor,
|
|
87247
|
+
[vars$Z.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
87248
|
+
[vars$Z.inputBorderColor]: refs$1.borderColor,
|
|
87249
|
+
[vars$Z.inputBorderWidth]: refs$1.borderWidth,
|
|
87250
|
+
[vars$Z.inputBorderStyle]: refs$1.borderStyle,
|
|
87251
|
+
[vars$Z.inputBorderRadius]: refs$1.borderRadius,
|
|
87252
|
+
[vars$Z.inputOutlineColor]: refs$1.outlineColor,
|
|
87253
|
+
[vars$Z.inputOutlineOffset]: refs$1.outlineOffset,
|
|
87254
|
+
[vars$Z.inputOutlineWidth]: refs$1.outlineWidth,
|
|
87255
|
+
[vars$Z.inputOutlineStyle]: refs$1.outlineStyle,
|
|
87256
|
+
[vars$Z.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
87257
|
+
[vars$Z.inputValueTextColor]: refs$1.valueTextColor,
|
|
87258
|
+
[vars$Z.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
87259
|
+
[vars$Z.inputBackgroundColor]: refs$1.backgroundColor,
|
|
87260
|
+
[vars$Z.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
87261
|
+
[vars$Z.inputVerticalPadding]: refs$1.verticalPadding,
|
|
87262
|
+
[vars$Z.inputHeight]: refs$1.inputHeight,
|
|
87263
|
+
[vars$Z.inputDropdownButtonColor]: globalRefs$y.colors.surface.dark,
|
|
87264
|
+
[vars$Z.inputDropdownButtonCursor]: 'pointer',
|
|
87265
|
+
[vars$Z.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
87266
|
+
[vars$Z.inputDropdownButtonOffset]: globalRefs$y.spacing.xs,
|
|
87267
|
+
[vars$Z.overlayItemPaddingInlineStart]: globalRefs$y.spacing.xs,
|
|
87268
|
+
[vars$Z.overlayItemPaddingInlineEnd]: globalRefs$y.spacing.lg,
|
|
87269
|
+
[vars$Z.chipFontSize]: refs$1.chipFontSize,
|
|
87270
|
+
[vars$Z.chipTextColor]: globalRefs$y.colors.surface.contrast,
|
|
87271
|
+
[vars$Z.chipBackgroundColor]: globalRefs$y.colors.surface.light,
|
|
87272
|
+
[vars$Z.labelPosition]: refs$1.labelPosition,
|
|
87273
|
+
[vars$Z.labelTopPosition]: refs$1.labelTopPosition,
|
|
87274
|
+
[vars$Z.labelLeftPosition]: refs$1.labelLeftPosition,
|
|
87275
|
+
[vars$Z.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
87276
|
+
[vars$Z.inputTransformY]: refs$1.inputTransformY,
|
|
87277
|
+
[vars$Z.inputTransition]: refs$1.inputTransition,
|
|
87278
|
+
[vars$Z.marginInlineStart]: refs$1.marginInlineStart,
|
|
87279
|
+
[vars$Z.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
87280
|
+
[vars$Z.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
87281
|
+
|
|
87282
|
+
[vars$Z.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
87283
|
+
[vars$Z.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
87284
|
+
[vars$Z.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
87285
|
+
[vars$Z.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
87286
|
+
[vars$Z.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
87287
|
+
[vars$Z.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
87272
87288
|
|
|
87273
87289
|
labelType: {
|
|
87274
87290
|
floating: {
|
|
87275
|
-
[vars$
|
|
87291
|
+
[vars$Z.inputHorizontalPadding]: '0.25em',
|
|
87276
87292
|
_hasValue: {
|
|
87277
|
-
[vars$
|
|
87293
|
+
[vars$Z.inputHorizontalPadding]: '0.45em',
|
|
87278
87294
|
},
|
|
87279
87295
|
},
|
|
87280
87296
|
},
|
|
87281
87297
|
|
|
87282
87298
|
_readonly: {
|
|
87283
|
-
[vars$
|
|
87299
|
+
[vars$Z.inputDropdownButtonCursor]: 'default',
|
|
87284
87300
|
},
|
|
87285
87301
|
|
|
87286
|
-
[vars$
|
|
87287
|
-
[vars$
|
|
87288
|
-
[vars$
|
|
87289
|
-
[vars$
|
|
87290
|
-
[vars$
|
|
87291
|
-
[vars$
|
|
87302
|
+
[vars$Z.overlayFontSize]: refs$1.fontSize,
|
|
87303
|
+
[vars$Z.overlayFontFamily]: refs$1.fontFamily,
|
|
87304
|
+
[vars$Z.overlayCursor]: 'pointer',
|
|
87305
|
+
[vars$Z.overlayItemBoxShadow]: 'none',
|
|
87306
|
+
[vars$Z.overlayBackground]: refs$1.backgroundColor,
|
|
87307
|
+
[vars$Z.overlayTextColor]: refs$1.valueTextColor,
|
|
87292
87308
|
|
|
87293
|
-
[vars$
|
|
87294
|
-
[vars$
|
|
87309
|
+
[vars$Z.overlay.minHeight]: '400px',
|
|
87310
|
+
[vars$Z.overlay.margin]: '0',
|
|
87295
87311
|
};
|
|
87296
87312
|
|
|
87297
87313
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
87298
87314
|
__proto__: null,
|
|
87299
87315
|
default: multiSelectComboBox,
|
|
87300
87316
|
multiSelectComboBox: multiSelectComboBox,
|
|
87301
|
-
vars: vars$
|
|
87317
|
+
vars: vars$Z
|
|
87302
87318
|
});
|
|
87303
87319
|
|
|
87304
|
-
const componentName$
|
|
87320
|
+
const componentName$1b = getComponentName('autocomplete-field-internal');
|
|
87305
87321
|
|
|
87306
87322
|
createBaseInputClass$1({
|
|
87307
|
-
componentName: componentName$
|
|
87323
|
+
componentName: componentName$1b,
|
|
87308
87324
|
baseSelector: '',
|
|
87309
87325
|
});
|
|
87310
87326
|
|
|
87311
|
-
const componentName$
|
|
87327
|
+
const componentName$1a = getComponentName('autocomplete-field');
|
|
87312
87328
|
|
|
87313
87329
|
const customMixin$d = (superclass) =>
|
|
87314
87330
|
class AutocompleteFieldMixinClass extends superclass {
|
|
@@ -87329,15 +87345,15 @@ function requireIndex_cjs () {
|
|
|
87329
87345
|
const template = document.createElement('template');
|
|
87330
87346
|
|
|
87331
87347
|
template.innerHTML = `
|
|
87332
|
-
<${componentName$
|
|
87348
|
+
<${componentName$1b}
|
|
87333
87349
|
tabindex="-1"
|
|
87334
|
-
></${componentName$
|
|
87350
|
+
></${componentName$1b}>
|
|
87335
87351
|
`;
|
|
87336
87352
|
|
|
87337
87353
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
87338
87354
|
|
|
87339
87355
|
this.inputElement = this.shadowRoot.querySelector(
|
|
87340
|
-
componentName$
|
|
87356
|
+
componentName$1b,
|
|
87341
87357
|
);
|
|
87342
87358
|
|
|
87343
87359
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -87377,7 +87393,7 @@ function requireIndex_cjs () {
|
|
|
87377
87393
|
}
|
|
87378
87394
|
};
|
|
87379
87395
|
|
|
87380
|
-
const { host: host$
|
|
87396
|
+
const { host: host$u } = {
|
|
87381
87397
|
host: { selector: () => ':host' },
|
|
87382
87398
|
};
|
|
87383
87399
|
|
|
@@ -87387,9 +87403,9 @@ function requireIndex_cjs () {
|
|
|
87387
87403
|
}),
|
|
87388
87404
|
createStyleMixin$1({
|
|
87389
87405
|
mappings: {
|
|
87390
|
-
hostWidth: { ...host$
|
|
87391
|
-
hostDirection: { ...host$
|
|
87392
|
-
fontSize: { ...host$
|
|
87406
|
+
hostWidth: { ...host$u, property: 'width' },
|
|
87407
|
+
hostDirection: { ...host$u, property: 'direction' },
|
|
87408
|
+
fontSize: { ...host$u },
|
|
87393
87409
|
checkmarkDisplay: {
|
|
87394
87410
|
selector: ComboBoxClass.componentName,
|
|
87395
87411
|
property: ComboBoxClass.cssVarList.overlayCheckmarkDisplay,
|
|
@@ -87456,34 +87472,34 @@ function requireIndex_cjs () {
|
|
|
87456
87472
|
}
|
|
87457
87473
|
`,
|
|
87458
87474
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
87459
|
-
componentName: componentName$
|
|
87475
|
+
componentName: componentName$1a,
|
|
87460
87476
|
}),
|
|
87461
87477
|
);
|
|
87462
87478
|
|
|
87463
|
-
const vars$
|
|
87464
|
-
const globalRefs$
|
|
87479
|
+
const vars$Y = AutocompleteFieldClass.cssVarList;
|
|
87480
|
+
const globalRefs$x = getThemeRefs$1(globals);
|
|
87465
87481
|
|
|
87466
87482
|
const autocompleteField = {
|
|
87467
|
-
[vars$
|
|
87468
|
-
[vars$
|
|
87469
|
-
[vars$
|
|
87470
|
-
[vars$
|
|
87471
|
-
[vars$
|
|
87472
|
-
[vars$
|
|
87473
|
-
[vars$
|
|
87474
|
-
[vars$
|
|
87475
|
-
[vars$
|
|
87476
|
-
[vars$
|
|
87483
|
+
[vars$Y.hostWidth]: refs$1.width,
|
|
87484
|
+
[vars$Y.hostDirection]: refs$1.direction,
|
|
87485
|
+
[vars$Y.fontSize]: refs$1.fontSize,
|
|
87486
|
+
[vars$Y.checkmarkDisplay]: 'none',
|
|
87487
|
+
[vars$Y.itemPaddingInlineStart]: globalRefs$x.spacing.lg,
|
|
87488
|
+
[vars$Y.itemPaddingInlineEnd]: globalRefs$x.spacing.lg,
|
|
87489
|
+
[vars$Y.selectedItemBackground]: globalRefs$x.colors.primary.light,
|
|
87490
|
+
[vars$Y.selectedItemHoverBackground]: globalRefs$x.colors.primary.light,
|
|
87491
|
+
[vars$Y.selectedItemFocusBackground]: globalRefs$x.colors.primary.light,
|
|
87492
|
+
[vars$Y.itemHoverBackground]: globalRefs$x.colors.primary.highlight,
|
|
87477
87493
|
|
|
87478
87494
|
_fullWidth: {
|
|
87479
|
-
[vars$
|
|
87495
|
+
[vars$Y.hostWidth]: '100%',
|
|
87480
87496
|
},
|
|
87481
87497
|
};
|
|
87482
87498
|
|
|
87483
87499
|
var autocompleteField$1 = /*#__PURE__*/Object.freeze({
|
|
87484
87500
|
__proto__: null,
|
|
87485
87501
|
default: autocompleteField,
|
|
87486
|
-
vars: vars$
|
|
87502
|
+
vars: vars$Y
|
|
87487
87503
|
});
|
|
87488
87504
|
|
|
87489
87505
|
const initGoogleMapsLoader = (apiKey) => {
|
|
@@ -87710,7 +87726,7 @@ function requireIndex_cjs () {
|
|
|
87710
87726
|
}
|
|
87711
87727
|
}
|
|
87712
87728
|
|
|
87713
|
-
const componentName$
|
|
87729
|
+
const componentName$19 = getComponentName('address-field-internal');
|
|
87714
87730
|
|
|
87715
87731
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
87716
87732
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -87721,7 +87737,7 @@ function requireIndex_cjs () {
|
|
|
87721
87737
|
};
|
|
87722
87738
|
|
|
87723
87739
|
const BaseInputClass$7 = createBaseInputClass$1({
|
|
87724
|
-
componentName: componentName$
|
|
87740
|
+
componentName: componentName$19,
|
|
87725
87741
|
baseSelector: '',
|
|
87726
87742
|
});
|
|
87727
87743
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -87828,7 +87844,7 @@ function requireIndex_cjs () {
|
|
|
87828
87844
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
87829
87845
|
)(RawAddressFieldInternal);
|
|
87830
87846
|
|
|
87831
|
-
const componentName$
|
|
87847
|
+
const componentName$18 = getComponentName('address-field');
|
|
87832
87848
|
|
|
87833
87849
|
const customMixin$c = (superclass) =>
|
|
87834
87850
|
class AddressFieldMixinClass extends superclass {
|
|
@@ -87857,15 +87873,15 @@ function requireIndex_cjs () {
|
|
|
87857
87873
|
const template = document.createElement('template');
|
|
87858
87874
|
|
|
87859
87875
|
template.innerHTML = `
|
|
87860
|
-
<${componentName$
|
|
87876
|
+
<${componentName$19}
|
|
87861
87877
|
tabindex="-1"
|
|
87862
|
-
></${componentName$
|
|
87878
|
+
></${componentName$19}>
|
|
87863
87879
|
`;
|
|
87864
87880
|
|
|
87865
87881
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
87866
87882
|
|
|
87867
87883
|
this.inputElement = this.shadowRoot.querySelector(
|
|
87868
|
-
componentName$
|
|
87884
|
+
componentName$19,
|
|
87869
87885
|
);
|
|
87870
87886
|
|
|
87871
87887
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -87906,7 +87922,7 @@ function requireIndex_cjs () {
|
|
|
87906
87922
|
}
|
|
87907
87923
|
};
|
|
87908
87924
|
|
|
87909
|
-
const { host: host$
|
|
87925
|
+
const { host: host$t } = {
|
|
87910
87926
|
host: { selector: () => ':host' },
|
|
87911
87927
|
};
|
|
87912
87928
|
|
|
@@ -87916,8 +87932,8 @@ function requireIndex_cjs () {
|
|
|
87916
87932
|
}),
|
|
87917
87933
|
createStyleMixin$1({
|
|
87918
87934
|
mappings: {
|
|
87919
|
-
hostWidth: { ...host$
|
|
87920
|
-
hostDirection: { ...host$
|
|
87935
|
+
hostWidth: { ...host$t, property: 'width' },
|
|
87936
|
+
hostDirection: { ...host$t, property: 'direction' },
|
|
87921
87937
|
},
|
|
87922
87938
|
}),
|
|
87923
87939
|
draggableMixin$1,
|
|
@@ -87943,7 +87959,7 @@ function requireIndex_cjs () {
|
|
|
87943
87959
|
width: 100%;
|
|
87944
87960
|
}
|
|
87945
87961
|
|
|
87946
|
-
${componentName$
|
|
87962
|
+
${componentName$19} {
|
|
87947
87963
|
display: inline-block;
|
|
87948
87964
|
box-sizing: border-box;
|
|
87949
87965
|
user-select: none;
|
|
@@ -87951,30 +87967,30 @@ function requireIndex_cjs () {
|
|
|
87951
87967
|
max-width: 100%;
|
|
87952
87968
|
}
|
|
87953
87969
|
|
|
87954
|
-
${componentName$
|
|
87970
|
+
${componentName$19} ::slotted {
|
|
87955
87971
|
padding: 0;
|
|
87956
87972
|
}
|
|
87957
87973
|
`,
|
|
87958
87974
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
87959
|
-
componentName: componentName$
|
|
87975
|
+
componentName: componentName$18,
|
|
87960
87976
|
}),
|
|
87961
87977
|
);
|
|
87962
87978
|
|
|
87963
|
-
const vars$
|
|
87979
|
+
const vars$X = AddressFieldClass.cssVarList;
|
|
87964
87980
|
|
|
87965
87981
|
const addressField = {
|
|
87966
|
-
[vars$
|
|
87967
|
-
[vars$
|
|
87982
|
+
[vars$X.hostWidth]: refs$1.width,
|
|
87983
|
+
[vars$X.hostDirection]: refs$1.direction,
|
|
87968
87984
|
|
|
87969
87985
|
_fullWidth: {
|
|
87970
|
-
[vars$
|
|
87986
|
+
[vars$X.hostWidth]: '100%',
|
|
87971
87987
|
},
|
|
87972
87988
|
};
|
|
87973
87989
|
|
|
87974
87990
|
var addressField$1 = /*#__PURE__*/Object.freeze({
|
|
87975
87991
|
__proto__: null,
|
|
87976
87992
|
default: addressField,
|
|
87977
|
-
vars: vars$
|
|
87993
|
+
vars: vars$X
|
|
87978
87994
|
});
|
|
87979
87995
|
|
|
87980
87996
|
var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
|
|
@@ -87996,24 +88012,24 @@ function requireIndex_cjs () {
|
|
|
87996
88012
|
return timeParts.join(':');
|
|
87997
88013
|
};
|
|
87998
88014
|
|
|
87999
|
-
const componentName$
|
|
88015
|
+
const componentName$17 = getComponentName('timer');
|
|
88000
88016
|
|
|
88001
88017
|
const observedAttributes$5 = ['seconds', 'hide-icon', 'paused'];
|
|
88002
88018
|
|
|
88003
|
-
const BaseClass$
|
|
88004
|
-
componentName: componentName$
|
|
88019
|
+
const BaseClass$8 = createBaseClass$1({
|
|
88020
|
+
componentName: componentName$17,
|
|
88005
88021
|
baseSelector: ':host > .wrapper',
|
|
88006
88022
|
});
|
|
88007
88023
|
|
|
88008
88024
|
const DEFAULT_INTERVAL = 1000;
|
|
88009
88025
|
|
|
88010
|
-
class RawTimer extends BaseClass$
|
|
88026
|
+
class RawTimer extends BaseClass$8 {
|
|
88011
88027
|
#timeRemains = 0;
|
|
88012
88028
|
|
|
88013
88029
|
#intervalId;
|
|
88014
88030
|
|
|
88015
88031
|
static get observedAttributes() {
|
|
88016
|
-
return observedAttributes$5.concat(BaseClass$
|
|
88032
|
+
return observedAttributes$5.concat(BaseClass$8.observedAttributes || []);
|
|
88017
88033
|
}
|
|
88018
88034
|
|
|
88019
88035
|
constructor() {
|
|
@@ -88154,7 +88170,7 @@ function requireIndex_cjs () {
|
|
|
88154
88170
|
}
|
|
88155
88171
|
}
|
|
88156
88172
|
|
|
88157
|
-
const { host: host$
|
|
88173
|
+
const { host: host$s, icon: icon$2, timer: timer$2 } = {
|
|
88158
88174
|
host: { selector: () => ':host' },
|
|
88159
88175
|
icon: { selector: () => '.icon' },
|
|
88160
88176
|
timer: { selector: () => '.timer' },
|
|
@@ -88175,8 +88191,8 @@ function requireIndex_cjs () {
|
|
|
88175
88191
|
textColor: { ...timer$2, property: 'color' },
|
|
88176
88192
|
gap: {},
|
|
88177
88193
|
textAlign: { property: 'justify-content' },
|
|
88178
|
-
hostWidth: { ...host$
|
|
88179
|
-
hostDirection: { ...host$
|
|
88194
|
+
hostWidth: { ...host$s, property: 'width' },
|
|
88195
|
+
hostDirection: { ...host$s, property: 'direction' },
|
|
88180
88196
|
iconColor: { ...icon$2, property: IconClass.cssVarList.fill },
|
|
88181
88197
|
},
|
|
88182
88198
|
}),
|
|
@@ -88184,45 +88200,45 @@ function requireIndex_cjs () {
|
|
|
88184
88200
|
componentNameValidationMixin$1,
|
|
88185
88201
|
)(RawTimer);
|
|
88186
88202
|
|
|
88187
|
-
const globalRefs$
|
|
88188
|
-
const vars$
|
|
88203
|
+
const globalRefs$w = getThemeRefs$1(globals);
|
|
88204
|
+
const vars$W = TimerClass.cssVarList;
|
|
88189
88205
|
|
|
88190
88206
|
const timer = {
|
|
88191
|
-
[vars$
|
|
88192
|
-
[vars$
|
|
88193
|
-
[vars$
|
|
88194
|
-
[vars$
|
|
88195
|
-
[vars$
|
|
88196
|
-
[vars$
|
|
88197
|
-
[vars$
|
|
88198
|
-
[vars$
|
|
88199
|
-
[vars$
|
|
88207
|
+
[vars$W.hostDirection]: globalRefs$w.direction,
|
|
88208
|
+
[vars$W.gap]: '0.25em',
|
|
88209
|
+
[vars$W.fontFamily]: globalRefs$w.fonts.font1.family,
|
|
88210
|
+
[vars$W.minHeight]: '1.5em',
|
|
88211
|
+
[vars$W.lineHeight]: '1em',
|
|
88212
|
+
[vars$W.fontWeight]: globalRefs$w.fonts.font1.fontWeight,
|
|
88213
|
+
[vars$W.textColor]: globalRefs$w.colors.surface.contrast,
|
|
88214
|
+
[vars$W.iconColor]: globalRefs$w.colors.surface.contrast,
|
|
88215
|
+
[vars$W.iconSize]: '1em',
|
|
88200
88216
|
|
|
88201
88217
|
size: {
|
|
88202
|
-
xs: { [vars$
|
|
88203
|
-
sm: { [vars$
|
|
88204
|
-
md: { [vars$
|
|
88205
|
-
lg: { [vars$
|
|
88218
|
+
xs: { [vars$W.fontSize]: '12px' },
|
|
88219
|
+
sm: { [vars$W.fontSize]: '14px' },
|
|
88220
|
+
md: { [vars$W.fontSize]: '16px' },
|
|
88221
|
+
lg: { [vars$W.fontSize]: '18px' },
|
|
88206
88222
|
},
|
|
88207
88223
|
|
|
88208
88224
|
textAlign: {
|
|
88209
|
-
right: { [vars$
|
|
88210
|
-
left: { [vars$
|
|
88211
|
-
center: { [vars$
|
|
88225
|
+
right: { [vars$W.textAlign]: 'right' },
|
|
88226
|
+
left: { [vars$W.textAlign]: 'left' },
|
|
88227
|
+
center: { [vars$W.textAlign]: 'center' },
|
|
88212
88228
|
},
|
|
88213
88229
|
|
|
88214
88230
|
_fullWidth: {
|
|
88215
|
-
[vars$
|
|
88231
|
+
[vars$W.hostWidth]: '100%',
|
|
88216
88232
|
},
|
|
88217
88233
|
};
|
|
88218
88234
|
|
|
88219
88235
|
var timer$1 = /*#__PURE__*/Object.freeze({
|
|
88220
88236
|
__proto__: null,
|
|
88221
88237
|
default: timer,
|
|
88222
|
-
vars: vars$
|
|
88238
|
+
vars: vars$W
|
|
88223
88239
|
});
|
|
88224
88240
|
|
|
88225
|
-
const componentName$
|
|
88241
|
+
const componentName$16 = getComponentName('timer-button');
|
|
88226
88242
|
|
|
88227
88243
|
const buttonAttrs = [
|
|
88228
88244
|
'button-variant',
|
|
@@ -88252,12 +88268,12 @@ function requireIndex_cjs () {
|
|
|
88252
88268
|
'timer-paused': 'paused',
|
|
88253
88269
|
};
|
|
88254
88270
|
|
|
88255
|
-
const BaseClass$
|
|
88256
|
-
componentName: componentName$
|
|
88271
|
+
const BaseClass$7 = createBaseClass$1({
|
|
88272
|
+
componentName: componentName$16,
|
|
88257
88273
|
baseSelector: ':host > div',
|
|
88258
88274
|
});
|
|
88259
88275
|
|
|
88260
|
-
class RawTimerButton extends BaseClass$
|
|
88276
|
+
class RawTimerButton extends BaseClass$7 {
|
|
88261
88277
|
constructor() {
|
|
88262
88278
|
super();
|
|
88263
88279
|
|
|
@@ -88405,7 +88421,7 @@ function requireIndex_cjs () {
|
|
|
88405
88421
|
}
|
|
88406
88422
|
|
|
88407
88423
|
const {
|
|
88408
|
-
host: host$
|
|
88424
|
+
host: host$r,
|
|
88409
88425
|
nestedTimer,
|
|
88410
88426
|
nestedButton,
|
|
88411
88427
|
timerInsideNotReversed,
|
|
@@ -88430,8 +88446,8 @@ function requireIndex_cjs () {
|
|
|
88430
88446
|
mappings: {
|
|
88431
88447
|
gap: {},
|
|
88432
88448
|
flexDirection: {},
|
|
88433
|
-
hostWidth: { ...host$
|
|
88434
|
-
hostDirection: { ...host$
|
|
88449
|
+
hostWidth: { ...host$r, property: 'width' },
|
|
88450
|
+
hostDirection: { ...host$r, property: 'direction' },
|
|
88435
88451
|
timerTextColor: {
|
|
88436
88452
|
...nestedTimer,
|
|
88437
88453
|
property: TimerClass.cssVarList.textColor,
|
|
@@ -88462,41 +88478,41 @@ function requireIndex_cjs () {
|
|
|
88462
88478
|
componentNameValidationMixin$1,
|
|
88463
88479
|
)(RawTimerButton);
|
|
88464
88480
|
|
|
88465
|
-
const globalRefs$
|
|
88466
|
-
const vars$
|
|
88481
|
+
const globalRefs$v = getThemeRefs$1(globals);
|
|
88482
|
+
const vars$V = TimerButtonClass.cssVarList;
|
|
88467
88483
|
|
|
88468
88484
|
const timerButton = {
|
|
88469
|
-
[vars$
|
|
88470
|
-
[vars$
|
|
88485
|
+
[vars$V.gap]: globalRefs$v.spacing.sm,
|
|
88486
|
+
[vars$V.flexDirection]: 'column',
|
|
88471
88487
|
|
|
88472
88488
|
_horizontal: {
|
|
88473
|
-
[vars$
|
|
88489
|
+
[vars$V.flexDirection]: 'row',
|
|
88474
88490
|
timerPosition: {
|
|
88475
88491
|
end: {
|
|
88476
|
-
[vars$
|
|
88492
|
+
[vars$V.flexDirection]: 'row-reverse',
|
|
88477
88493
|
},
|
|
88478
88494
|
},
|
|
88479
88495
|
},
|
|
88480
88496
|
|
|
88481
88497
|
timerPosition: {
|
|
88482
88498
|
end: {
|
|
88483
|
-
[vars$
|
|
88499
|
+
[vars$V.flexDirection]: 'column-reverse',
|
|
88484
88500
|
},
|
|
88485
88501
|
},
|
|
88486
88502
|
|
|
88487
88503
|
_fullWidth: {
|
|
88488
|
-
[vars$
|
|
88504
|
+
[vars$V.hostWidth]: '100%',
|
|
88489
88505
|
},
|
|
88490
88506
|
|
|
88491
88507
|
_timerInside: {
|
|
88492
|
-
[vars$
|
|
88493
|
-
[vars$
|
|
88494
|
-
[vars$
|
|
88495
|
-
[vars$
|
|
88496
|
-
[vars$
|
|
88508
|
+
[vars$V.timerTextColor]: 'currentColor',
|
|
88509
|
+
[vars$V.timerIconColor]: 'currentColor',
|
|
88510
|
+
[vars$V.timerHostWidth]: 'auto',
|
|
88511
|
+
[vars$V.buttonLabelSpacing]: '0',
|
|
88512
|
+
[vars$V.timerInsideGapEnd]: `var(${vars$V.gap})`,
|
|
88497
88513
|
timerPosition: {
|
|
88498
88514
|
end: {
|
|
88499
|
-
[vars$
|
|
88515
|
+
[vars$V.timerInsideGapStart]: `var(${vars$V.gap})`,
|
|
88500
88516
|
},
|
|
88501
88517
|
},
|
|
88502
88518
|
},
|
|
@@ -88505,12 +88521,12 @@ function requireIndex_cjs () {
|
|
|
88505
88521
|
var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
88506
88522
|
__proto__: null,
|
|
88507
88523
|
default: timerButton,
|
|
88508
|
-
vars: vars$
|
|
88524
|
+
vars: vars$V
|
|
88509
88525
|
});
|
|
88510
88526
|
|
|
88511
|
-
const componentName$
|
|
88527
|
+
const componentName$15 = getComponentName('password-strength');
|
|
88512
88528
|
class RawPasswordStrength extends createBaseClass$1({
|
|
88513
|
-
componentName: componentName$
|
|
88529
|
+
componentName: componentName$15,
|
|
88514
88530
|
baseSelector: ':host > .wrapper',
|
|
88515
88531
|
}) {
|
|
88516
88532
|
static get observedAttributes() {
|
|
@@ -88624,7 +88640,7 @@ function requireIndex_cjs () {
|
|
|
88624
88640
|
}
|
|
88625
88641
|
}
|
|
88626
88642
|
|
|
88627
|
-
const { host: host$
|
|
88643
|
+
const { host: host$q, bar, filledBar, barsContainer, text: text$1 } = {
|
|
88628
88644
|
host: { selector: () => ':host' },
|
|
88629
88645
|
bar: { selector: ' .bar' },
|
|
88630
88646
|
barsContainer: { selector: ' .bars-container' },
|
|
@@ -88637,11 +88653,11 @@ function requireIndex_cjs () {
|
|
|
88637
88653
|
createStyleMixin$1({
|
|
88638
88654
|
mappings: {
|
|
88639
88655
|
hostWidth: [
|
|
88640
|
-
{ ...host$
|
|
88641
|
-
{ ...host$
|
|
88656
|
+
{ ...host$q, property: 'width' },
|
|
88657
|
+
{ ...host$q, property: 'min-width' },
|
|
88642
88658
|
],
|
|
88643
|
-
hostDirection: { ...host$
|
|
88644
|
-
hostMinWidth: { ...host$
|
|
88659
|
+
hostDirection: { ...host$q, property: 'direction' },
|
|
88660
|
+
hostMinWidth: { ...host$q, property: 'min-width' },
|
|
88645
88661
|
barHeight: { ...bar, property: 'height' },
|
|
88646
88662
|
barBorderRadius: { ...bar, property: 'border-radius' },
|
|
88647
88663
|
emptyBarColor: { ...bar, property: 'background-color' },
|
|
@@ -88659,64 +88675,64 @@ function requireIndex_cjs () {
|
|
|
88659
88675
|
componentNameValidationMixin$1,
|
|
88660
88676
|
)(RawPasswordStrength);
|
|
88661
88677
|
|
|
88662
|
-
const globalRefs$
|
|
88678
|
+
const globalRefs$u = getThemeRefs$1(globals);
|
|
88663
88679
|
const compVars$6 = PasswordStrengthClass.cssVarList;
|
|
88664
88680
|
|
|
88665
88681
|
const passwordStrength = {
|
|
88666
|
-
[compVars$6.hostDirection]: globalRefs$
|
|
88682
|
+
[compVars$6.hostDirection]: globalRefs$u.direction,
|
|
88667
88683
|
[compVars$6.barHeight]: '4px',
|
|
88668
88684
|
[compVars$6.barTransition]: 'background-color 0.3s',
|
|
88669
|
-
[compVars$6.barBorderRadius]: globalRefs$
|
|
88685
|
+
[compVars$6.barBorderRadius]: globalRefs$u.radius.sm,
|
|
88670
88686
|
[compVars$6.hostMinWidth]: refs$1.minWidth,
|
|
88671
|
-
[compVars$6.barSpacing]: globalRefs$
|
|
88672
|
-
[compVars$6.emptyBarColor]: globalRefs$
|
|
88687
|
+
[compVars$6.barSpacing]: globalRefs$u.spacing.sm,
|
|
88688
|
+
[compVars$6.emptyBarColor]: globalRefs$u.colors.surface.light,
|
|
88673
88689
|
[compVars$6.fontFamily]: refs$1.fontFamily,
|
|
88674
88690
|
[compVars$6.fontSize]: refs$1.labelFontSize,
|
|
88675
88691
|
[compVars$6.fontWeight]: refs$1.labelFontWeight,
|
|
88676
|
-
[compVars$6.spacing]: globalRefs$
|
|
88692
|
+
[compVars$6.spacing]: globalRefs$u.spacing.sm,
|
|
88677
88693
|
_fullWidth: {
|
|
88678
88694
|
[compVars$6.hostWidth]: '100%',
|
|
88679
88695
|
},
|
|
88680
88696
|
score : {
|
|
88681
88697
|
0: {
|
|
88682
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
88683
|
-
[compVars$6.textColor]: globalRefs$
|
|
88698
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.light,
|
|
88699
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.light,
|
|
88684
88700
|
},
|
|
88685
88701
|
1: {
|
|
88686
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
88687
|
-
[compVars$6.textColor]: globalRefs$
|
|
88702
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.main,
|
|
88703
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.main,
|
|
88688
88704
|
},
|
|
88689
88705
|
2: {
|
|
88690
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
88691
|
-
[compVars$6.textColor]: globalRefs$
|
|
88706
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.error.dark,
|
|
88707
|
+
[compVars$6.textColor]: globalRefs$u.colors.error.dark,
|
|
88692
88708
|
},
|
|
88693
88709
|
3: {
|
|
88694
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
88695
|
-
[compVars$6.textColor]: globalRefs$
|
|
88710
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.success.dark,
|
|
88711
|
+
[compVars$6.textColor]: globalRefs$u.colors.success.dark,
|
|
88696
88712
|
},
|
|
88697
88713
|
4: {
|
|
88698
|
-
[compVars$6.filledBarColor]: globalRefs$
|
|
88699
|
-
[compVars$6.textColor]: globalRefs$
|
|
88714
|
+
[compVars$6.filledBarColor]: globalRefs$u.colors.success.main,
|
|
88715
|
+
[compVars$6.textColor]: globalRefs$u.colors.success.main,
|
|
88700
88716
|
},
|
|
88701
88717
|
}
|
|
88702
88718
|
};
|
|
88703
88719
|
|
|
88704
|
-
const vars$
|
|
88720
|
+
const vars$U = {
|
|
88705
88721
|
...compVars$6,
|
|
88706
88722
|
};
|
|
88707
88723
|
|
|
88708
88724
|
var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
88709
88725
|
__proto__: null,
|
|
88710
88726
|
default: passwordStrength,
|
|
88711
|
-
vars: vars$
|
|
88727
|
+
vars: vars$U
|
|
88712
88728
|
});
|
|
88713
88729
|
|
|
88714
88730
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
|
|
88715
88731
|
|
|
88716
|
-
const componentName$
|
|
88732
|
+
const componentName$14 = getComponentName('collapsible-container');
|
|
88717
88733
|
|
|
88718
88734
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
88719
|
-
componentName: componentName$
|
|
88735
|
+
componentName: componentName$14,
|
|
88720
88736
|
baseSelector: 'slot',
|
|
88721
88737
|
}) {
|
|
88722
88738
|
static get observedAttributes() {
|
|
@@ -88943,7 +88959,7 @@ function requireIndex_cjs () {
|
|
|
88943
88959
|
componentNameValidationMixin$1,
|
|
88944
88960
|
)(RawCollapsibleContainer);
|
|
88945
88961
|
|
|
88946
|
-
const globalRefs$
|
|
88962
|
+
const globalRefs$t = getThemeRefs$1(globals);
|
|
88947
88963
|
|
|
88948
88964
|
const compVars$5 = CollapsibleContainerClass.cssVarList;
|
|
88949
88965
|
|
|
@@ -88951,7 +88967,7 @@ function requireIndex_cjs () {
|
|
|
88951
88967
|
{
|
|
88952
88968
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
88953
88969
|
},
|
|
88954
|
-
componentName$
|
|
88970
|
+
componentName$14
|
|
88955
88971
|
);
|
|
88956
88972
|
|
|
88957
88973
|
const { shadowColor: shadowColor$5 } = helperRefs$4;
|
|
@@ -88962,7 +88978,7 @@ function requireIndex_cjs () {
|
|
|
88962
88978
|
[compVars$5.hostWidth]: '100%',
|
|
88963
88979
|
[compVars$5.boxShadow]: 'none',
|
|
88964
88980
|
|
|
88965
|
-
[compVars$5.backgroundColor]: globalRefs$
|
|
88981
|
+
[compVars$5.backgroundColor]: globalRefs$t.colors.surface.main,
|
|
88966
88982
|
|
|
88967
88983
|
[compVars$5.backgroundImage]: '', // we need to set a value to avoid inner containers from inheriting the parent's background image
|
|
88968
88984
|
[compVars$5.backgroundPositionX]: 'center',
|
|
@@ -88971,13 +88987,13 @@ function requireIndex_cjs () {
|
|
|
88971
88987
|
[compVars$5.backgroundRepeat]: 'no-repeat',
|
|
88972
88988
|
|
|
88973
88989
|
[compVars$5.borderRadius]: '0px',
|
|
88974
|
-
[compVars$5.hostDirection]: globalRefs$
|
|
88990
|
+
[compVars$5.hostDirection]: globalRefs$t.direction,
|
|
88975
88991
|
|
|
88976
88992
|
[compVars$5.flexDirection]: 'column',
|
|
88977
88993
|
[compVars$5.alignItems]: 'flex-start',
|
|
88978
88994
|
[compVars$5.justifyContent]: 'flex-start',
|
|
88979
88995
|
|
|
88980
|
-
[compVars$5.headerGap]: globalRefs$
|
|
88996
|
+
[compVars$5.headerGap]: globalRefs$t.spacing.md,
|
|
88981
88997
|
|
|
88982
88998
|
[compVars$5.iconAnimationDuration]: '0.1s',
|
|
88983
88999
|
[compVars$5.contentAnimationDuration]: '0.1s',
|
|
@@ -89005,30 +89021,30 @@ function requireIndex_cjs () {
|
|
|
89005
89021
|
|
|
89006
89022
|
shadow: {
|
|
89007
89023
|
sm: {
|
|
89008
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
89024
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.sm} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.sm} ${shadowColor$5}`,
|
|
89009
89025
|
},
|
|
89010
89026
|
md: {
|
|
89011
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
89027
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.md} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.md} ${shadowColor$5}`,
|
|
89012
89028
|
},
|
|
89013
89029
|
lg: {
|
|
89014
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
89030
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.lg} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.lg} ${shadowColor$5}`,
|
|
89015
89031
|
},
|
|
89016
89032
|
xl: {
|
|
89017
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
89033
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.xl} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.xl} ${shadowColor$5}`,
|
|
89018
89034
|
},
|
|
89019
89035
|
'2xl': {
|
|
89020
89036
|
[helperVars$4.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
|
89021
|
-
[compVars$5.boxShadow]: `${globalRefs$
|
|
89037
|
+
[compVars$5.boxShadow]: `${globalRefs$t.shadow.wide['2xl']} ${shadowColor$5}`,
|
|
89022
89038
|
},
|
|
89023
89039
|
},
|
|
89024
89040
|
|
|
89025
89041
|
borderRadius: {
|
|
89026
|
-
sm: { [compVars$5.borderRadius]: globalRefs$
|
|
89027
|
-
md: { [compVars$5.borderRadius]: globalRefs$
|
|
89028
|
-
lg: { [compVars$5.borderRadius]: globalRefs$
|
|
89029
|
-
xl: { [compVars$5.borderRadius]: globalRefs$
|
|
89030
|
-
'2xl': { [compVars$5.borderRadius]: globalRefs$
|
|
89031
|
-
'3xl': { [compVars$5.borderRadius]: globalRefs$
|
|
89042
|
+
sm: { [compVars$5.borderRadius]: globalRefs$t.radius.sm },
|
|
89043
|
+
md: { [compVars$5.borderRadius]: globalRefs$t.radius.md },
|
|
89044
|
+
lg: { [compVars$5.borderRadius]: globalRefs$t.radius.lg },
|
|
89045
|
+
xl: { [compVars$5.borderRadius]: globalRefs$t.radius.xl },
|
|
89046
|
+
'2xl': { [compVars$5.borderRadius]: globalRefs$t.radius['2xl'] },
|
|
89047
|
+
'3xl': { [compVars$5.borderRadius]: globalRefs$t.radius['3xl'] },
|
|
89032
89048
|
},
|
|
89033
89049
|
|
|
89034
89050
|
iconPosition: {
|
|
@@ -89041,8 +89057,8 @@ function requireIndex_cjs () {
|
|
|
89041
89057
|
},
|
|
89042
89058
|
|
|
89043
89059
|
_border: {
|
|
89044
|
-
[compVars$5.borderColor]: globalRefs$
|
|
89045
|
-
[compVars$5.borderWidth]: globalRefs$
|
|
89060
|
+
[compVars$5.borderColor]: globalRefs$t.colors.surface.light,
|
|
89061
|
+
[compVars$5.borderWidth]: globalRefs$t.border.xs,
|
|
89046
89062
|
[compVars$5.borderStyle]: 'solid',
|
|
89047
89063
|
},
|
|
89048
89064
|
|
|
@@ -89051,7 +89067,7 @@ function requireIndex_cjs () {
|
|
|
89051
89067
|
}
|
|
89052
89068
|
};
|
|
89053
89069
|
|
|
89054
|
-
const vars$
|
|
89070
|
+
const vars$T = {
|
|
89055
89071
|
...compVars$5,
|
|
89056
89072
|
...helperVars$4,
|
|
89057
89073
|
};
|
|
@@ -89059,12 +89075,12 @@ function requireIndex_cjs () {
|
|
|
89059
89075
|
var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
89060
89076
|
__proto__: null,
|
|
89061
89077
|
default: collapsibleContainer,
|
|
89062
|
-
vars: vars$
|
|
89078
|
+
vars: vars$T
|
|
89063
89079
|
});
|
|
89064
89080
|
|
|
89065
|
-
const componentName$
|
|
89081
|
+
const componentName$13 = getComponentName('recovery-codes');
|
|
89066
89082
|
|
|
89067
|
-
const itemRenderer$
|
|
89083
|
+
const itemRenderer$5 = ({ value }, _, ref) => {
|
|
89068
89084
|
return `
|
|
89069
89085
|
<descope-text variant="${ref.variant}" mode="${ref.mode}">
|
|
89070
89086
|
<span>${value}</span>
|
|
@@ -89073,7 +89089,7 @@ function requireIndex_cjs () {
|
|
|
89073
89089
|
};
|
|
89074
89090
|
|
|
89075
89091
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
89076
|
-
componentName: componentName$
|
|
89092
|
+
componentName: componentName$13,
|
|
89077
89093
|
baseSelector: ':host > div',
|
|
89078
89094
|
}) {
|
|
89079
89095
|
static get observedAttributes() {
|
|
@@ -89204,7 +89220,7 @@ function requireIndex_cjs () {
|
|
|
89204
89220
|
},
|
|
89205
89221
|
}),
|
|
89206
89222
|
createDynamicDataMixin$1({
|
|
89207
|
-
itemRenderer: itemRenderer$
|
|
89223
|
+
itemRenderer: itemRenderer$5,
|
|
89208
89224
|
rerenderAttrsList: ['variant', 'mode'],
|
|
89209
89225
|
targetSelector: '.list',
|
|
89210
89226
|
}),
|
|
@@ -89212,38 +89228,38 @@ function requireIndex_cjs () {
|
|
|
89212
89228
|
componentNameValidationMixin$1,
|
|
89213
89229
|
)(RawRecoveryCodes);
|
|
89214
89230
|
|
|
89215
|
-
const globalRefs$
|
|
89216
|
-
const vars$
|
|
89231
|
+
const globalRefs$s = getThemeRefs$1(globals);
|
|
89232
|
+
const vars$S = RecoveryCodesClass.cssVarList;
|
|
89217
89233
|
const textVars$6 = TextClass.cssVarList;
|
|
89218
89234
|
|
|
89219
89235
|
const recoveryCodes = {
|
|
89220
|
-
[vars$
|
|
89221
|
-
[vars$
|
|
89222
|
-
[vars$
|
|
89223
|
-
[vars$
|
|
89224
|
-
[vars$
|
|
89225
|
-
[vars$
|
|
89236
|
+
[vars$S.hostMinWidth]: '190px',
|
|
89237
|
+
[vars$S.hostDirection]: globalRefs$s.direction,
|
|
89238
|
+
[vars$S.iconColor]: useVar$1(textVars$6.textColor),
|
|
89239
|
+
[vars$S.iconSize]: useVar$1(textVars$6.fontSize),
|
|
89240
|
+
[vars$S.iconGap]: '8px',
|
|
89241
|
+
[vars$S.bulletGap]: '0.35em',
|
|
89226
89242
|
|
|
89227
89243
|
textAlign: {
|
|
89228
|
-
right: { [vars$
|
|
89229
|
-
left: { [vars$
|
|
89230
|
-
center: { [vars$
|
|
89244
|
+
right: { [vars$S.textAlign]: 'flex-end' },
|
|
89245
|
+
left: { [vars$S.textAlign]: 'flex-start' },
|
|
89246
|
+
center: { [vars$S.textAlign]: 'center' },
|
|
89231
89247
|
},
|
|
89232
89248
|
|
|
89233
89249
|
_fullWidth: {
|
|
89234
|
-
[vars$
|
|
89250
|
+
[vars$S.hostWidth]: '100%',
|
|
89235
89251
|
},
|
|
89236
89252
|
};
|
|
89237
89253
|
|
|
89238
89254
|
var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
89239
89255
|
__proto__: null,
|
|
89240
89256
|
default: recoveryCodes,
|
|
89241
|
-
vars: vars$
|
|
89257
|
+
vars: vars$S
|
|
89242
89258
|
});
|
|
89243
89259
|
|
|
89244
|
-
const componentName$
|
|
89260
|
+
const componentName$12 = getComponentName('outbound-apps');
|
|
89245
89261
|
|
|
89246
|
-
const itemRenderer$
|
|
89262
|
+
const itemRenderer$4 = (
|
|
89247
89263
|
{ name, description, logo, appId, isConnected },
|
|
89248
89264
|
_,
|
|
89249
89265
|
ref,
|
|
@@ -89286,12 +89302,12 @@ function requireIndex_cjs () {
|
|
|
89286
89302
|
`;
|
|
89287
89303
|
};
|
|
89288
89304
|
|
|
89289
|
-
const BaseClass$
|
|
89290
|
-
componentName: componentName$
|
|
89305
|
+
const BaseClass$6 = createBaseClass$1({
|
|
89306
|
+
componentName: componentName$12,
|
|
89291
89307
|
baseSelector: 'descope-list',
|
|
89292
89308
|
});
|
|
89293
89309
|
|
|
89294
|
-
class RawOutboundAppsClass extends BaseClass$
|
|
89310
|
+
class RawOutboundAppsClass extends BaseClass$6 {
|
|
89295
89311
|
constructor() {
|
|
89296
89312
|
super();
|
|
89297
89313
|
|
|
@@ -89334,7 +89350,7 @@ function requireIndex_cjs () {
|
|
|
89334
89350
|
init() {
|
|
89335
89351
|
super.init?.();
|
|
89336
89352
|
|
|
89337
|
-
this.appsList.itemRenderer = itemRenderer$
|
|
89353
|
+
this.appsList.itemRenderer = itemRenderer$4;
|
|
89338
89354
|
|
|
89339
89355
|
this.appsList.addEventListener('click', this.onAppsListClick.bind(this));
|
|
89340
89356
|
}
|
|
@@ -89371,17 +89387,17 @@ function requireIndex_cjs () {
|
|
|
89371
89387
|
}
|
|
89372
89388
|
}
|
|
89373
89389
|
|
|
89374
|
-
const { host: host$
|
|
89390
|
+
const { host: host$p } = {
|
|
89375
89391
|
host: { selector: () => ':host' },
|
|
89376
89392
|
};
|
|
89377
89393
|
|
|
89378
89394
|
const OutboundAppsClass = compose(
|
|
89379
89395
|
createStyleMixin$1({
|
|
89380
89396
|
mappings: {
|
|
89381
|
-
hostWidth: { ...host$
|
|
89397
|
+
hostWidth: { ...host$p, property: 'width' },
|
|
89382
89398
|
minHeight: { selector: () => ':host' },
|
|
89383
89399
|
hostDirection: [
|
|
89384
|
-
{ ...host$
|
|
89400
|
+
{ ...host$p, property: 'direction' },
|
|
89385
89401
|
{
|
|
89386
89402
|
selector: 'descope-list',
|
|
89387
89403
|
property: 'direction',
|
|
@@ -89453,7 +89469,7 @@ function requireIndex_cjs () {
|
|
|
89453
89469
|
}),
|
|
89454
89470
|
draggableMixin$1,
|
|
89455
89471
|
createDynamicDataMixin$1({
|
|
89456
|
-
itemRenderer: itemRenderer$
|
|
89472
|
+
itemRenderer: itemRenderer$4,
|
|
89457
89473
|
rerenderAttrsList: [
|
|
89458
89474
|
'size',
|
|
89459
89475
|
'connect-button-label',
|
|
@@ -89463,36 +89479,36 @@ function requireIndex_cjs () {
|
|
|
89463
89479
|
componentNameValidationMixin$1,
|
|
89464
89480
|
)(RawOutboundAppsClass);
|
|
89465
89481
|
|
|
89466
|
-
const vars$
|
|
89482
|
+
const vars$R = OutboundAppsClass.cssVarList;
|
|
89467
89483
|
|
|
89468
89484
|
const outboundApps = {
|
|
89469
|
-
[vars$
|
|
89470
|
-
[vars$
|
|
89485
|
+
[vars$R.iconColor]: globals.colors.primary.main,
|
|
89486
|
+
[vars$R.errorIconColor]: globals.colors.error.main,
|
|
89471
89487
|
|
|
89472
|
-
[vars$
|
|
89473
|
-
[vars$
|
|
89488
|
+
[vars$R.appLogoGap]: globals.spacing.md,
|
|
89489
|
+
[vars$R.contentGap]: globals.spacing.xs,
|
|
89474
89490
|
|
|
89475
89491
|
// list-item overrides
|
|
89476
|
-
[vars$
|
|
89477
|
-
[vars$
|
|
89478
|
-
[vars$
|
|
89492
|
+
[vars$R.itemCursor]: 'default',
|
|
89493
|
+
[vars$R.itemOutline]: 'none',
|
|
89494
|
+
[vars$R.itemBorderColor]: 'transparent',
|
|
89479
89495
|
|
|
89480
|
-
[vars$
|
|
89481
|
-
[vars$
|
|
89482
|
-
[vars$
|
|
89496
|
+
[vars$R.listPadding]: '0',
|
|
89497
|
+
[vars$R.listBorderWidth]: '0',
|
|
89498
|
+
[vars$R.listBoxShadow]: 'none',
|
|
89483
89499
|
|
|
89484
89500
|
size: {
|
|
89485
89501
|
xs: {
|
|
89486
|
-
[vars$
|
|
89502
|
+
[vars$R.fontSize]: '0.6em',
|
|
89487
89503
|
},
|
|
89488
89504
|
sm: {
|
|
89489
|
-
[vars$
|
|
89505
|
+
[vars$R.fontSize]: '0.8em',
|
|
89490
89506
|
},
|
|
89491
89507
|
md: {
|
|
89492
|
-
[vars$
|
|
89508
|
+
[vars$R.fontSize]: '1em',
|
|
89493
89509
|
},
|
|
89494
89510
|
lg: {
|
|
89495
|
-
[vars$
|
|
89511
|
+
[vars$R.fontSize]: '1.5em',
|
|
89496
89512
|
},
|
|
89497
89513
|
},
|
|
89498
89514
|
};
|
|
@@ -89500,13 +89516,13 @@ function requireIndex_cjs () {
|
|
|
89500
89516
|
var outboundApps$1 = /*#__PURE__*/Object.freeze({
|
|
89501
89517
|
__proto__: null,
|
|
89502
89518
|
default: outboundApps,
|
|
89503
|
-
vars: vars$
|
|
89519
|
+
vars: vars$R
|
|
89504
89520
|
});
|
|
89505
89521
|
|
|
89506
|
-
const componentName$
|
|
89522
|
+
const componentName$11 = getComponentName('outbound-app-button');
|
|
89507
89523
|
|
|
89508
89524
|
class RawOutboundAppButton extends createBaseClass$1({
|
|
89509
|
-
componentName: componentName$
|
|
89525
|
+
componentName: componentName$11,
|
|
89510
89526
|
baseSelector: ':host > descope-button',
|
|
89511
89527
|
}) {
|
|
89512
89528
|
static get observedAttributes() {
|
|
@@ -89605,12 +89621,12 @@ function requireIndex_cjs () {
|
|
|
89605
89621
|
},
|
|
89606
89622
|
};
|
|
89607
89623
|
|
|
89608
|
-
const vars$
|
|
89624
|
+
const vars$Q = compVars$4;
|
|
89609
89625
|
|
|
89610
89626
|
var outboundAppButton$1 = /*#__PURE__*/Object.freeze({
|
|
89611
89627
|
__proto__: null,
|
|
89612
89628
|
default: outboundAppButton,
|
|
89613
|
-
vars: vars$
|
|
89629
|
+
vars: vars$Q
|
|
89614
89630
|
});
|
|
89615
89631
|
|
|
89616
89632
|
var desktopDeviceIconLight = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
|
|
@@ -89688,9 +89704,9 @@ function requireIndex_cjs () {
|
|
|
89688
89704
|
};
|
|
89689
89705
|
};
|
|
89690
89706
|
|
|
89691
|
-
const componentName
|
|
89707
|
+
const componentName$10 = getComponentName('trusted-devices');
|
|
89692
89708
|
|
|
89693
|
-
const itemRenderer$
|
|
89709
|
+
const itemRenderer$3 = (
|
|
89694
89710
|
{ id, name, lastLoginDate, deviceType, isCurrent },
|
|
89695
89711
|
_,
|
|
89696
89712
|
ref,
|
|
@@ -89760,38 +89776,488 @@ function requireIndex_cjs () {
|
|
|
89760
89776
|
${loginLabel}
|
|
89761
89777
|
</descope-text>
|
|
89762
89778
|
<descope-text
|
|
89763
|
-
class="login-date"
|
|
89764
|
-
variant="body2"
|
|
89779
|
+
class="login-date"
|
|
89780
|
+
variant="body2"
|
|
89781
|
+
mode="primary"
|
|
89782
|
+
>
|
|
89783
|
+
${loginDate}
|
|
89784
|
+
</descope-text>
|
|
89785
|
+
</div>
|
|
89786
|
+
</div>
|
|
89787
|
+
</descope-list-item>
|
|
89788
|
+
`;
|
|
89789
|
+
|
|
89790
|
+
// we return a template instead of returning a string so we can avoid XSS on device name
|
|
89791
|
+
template.content.querySelector('.device-name').textContent = name;
|
|
89792
|
+
return template;
|
|
89793
|
+
};
|
|
89794
|
+
|
|
89795
|
+
const BaseClass$5 = createBaseClass$1({
|
|
89796
|
+
componentName: componentName$10,
|
|
89797
|
+
baseSelector: ListClass.componentName,
|
|
89798
|
+
});
|
|
89799
|
+
|
|
89800
|
+
class RawTrustedDevicesClass extends BaseClass$5 {
|
|
89801
|
+
constructor() {
|
|
89802
|
+
super();
|
|
89803
|
+
|
|
89804
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
89805
|
+
<descope-list>
|
|
89806
|
+
<slot name="empty-state" slot="empty-state"></slot>
|
|
89807
|
+
</descope-list>
|
|
89808
|
+
`;
|
|
89809
|
+
|
|
89810
|
+
this.appsList = this.shadowRoot.querySelector('descope-list');
|
|
89811
|
+
|
|
89812
|
+
injectStyle(
|
|
89813
|
+
`
|
|
89814
|
+
:host {
|
|
89815
|
+
display: inline-block;
|
|
89816
|
+
}
|
|
89817
|
+
|
|
89818
|
+
.descope-list-item {
|
|
89819
|
+
min-width: 0;
|
|
89820
|
+
}
|
|
89821
|
+
|
|
89822
|
+
.current-device {
|
|
89823
|
+
order: -1;
|
|
89824
|
+
}
|
|
89825
|
+
|
|
89826
|
+
.content {
|
|
89827
|
+
display: flex;
|
|
89828
|
+
flex-direction: column;
|
|
89829
|
+
width: 100%;
|
|
89830
|
+
}
|
|
89831
|
+
|
|
89832
|
+
.main {
|
|
89833
|
+
display: flex;
|
|
89834
|
+
align-items: center;
|
|
89835
|
+
justify-content: space-between;
|
|
89836
|
+
}
|
|
89837
|
+
|
|
89838
|
+
.panel {
|
|
89839
|
+
display: flex;
|
|
89840
|
+
flex-shrink: 0;
|
|
89841
|
+
max-width: 75%;
|
|
89842
|
+
overflow: hidden;
|
|
89843
|
+
}
|
|
89844
|
+
|
|
89845
|
+
.device {
|
|
89846
|
+
display: flex;
|
|
89847
|
+
min-width: 0;
|
|
89848
|
+
}
|
|
89849
|
+
|
|
89850
|
+
.device-icon {
|
|
89851
|
+
flex-shrink: 0;
|
|
89852
|
+
}
|
|
89853
|
+
|
|
89854
|
+
.meta {
|
|
89855
|
+
display: flex;
|
|
89856
|
+
}
|
|
89857
|
+
|
|
89858
|
+
.login-date {
|
|
89859
|
+
min-width: fit-content;
|
|
89860
|
+
}
|
|
89861
|
+
|
|
89862
|
+
descope-badge {
|
|
89863
|
+
min-width: 0;
|
|
89864
|
+
}
|
|
89865
|
+
|
|
89866
|
+
descope-text {
|
|
89867
|
+
display: flex;
|
|
89868
|
+
align-items: center;
|
|
89869
|
+
min-width: 0;
|
|
89870
|
+
}
|
|
89871
|
+
descope-text::part(text-wrapper) {
|
|
89872
|
+
text-overflow: ellipsis;
|
|
89873
|
+
overflow: hidden;
|
|
89874
|
+
white-space: nowrap;
|
|
89875
|
+
}
|
|
89876
|
+
|
|
89877
|
+
descope-link {
|
|
89878
|
+
overflow: hidden;
|
|
89879
|
+
}
|
|
89880
|
+
descope-link.remove-device::part(wrapper) {
|
|
89881
|
+
display: flex;
|
|
89882
|
+
width: 100%;
|
|
89883
|
+
}
|
|
89884
|
+
descope-link.remove-device {
|
|
89885
|
+
width: 100%;
|
|
89886
|
+
}
|
|
89887
|
+
`,
|
|
89888
|
+
this,
|
|
89889
|
+
);
|
|
89890
|
+
}
|
|
89891
|
+
|
|
89892
|
+
init() {
|
|
89893
|
+
super.init?.();
|
|
89894
|
+
|
|
89895
|
+
this.appsList.itemRenderer = itemRenderer$3;
|
|
89896
|
+
|
|
89897
|
+
this.appsList.addEventListener('click', this.onRemoveClick.bind(this));
|
|
89898
|
+
}
|
|
89899
|
+
|
|
89900
|
+
onRemoveClick(e) {
|
|
89901
|
+
if (this.readOnly) return;
|
|
89902
|
+
|
|
89903
|
+
const target = e.target.closest('[data-device-id]');
|
|
89904
|
+
const deviceId = target?.getAttribute('data-device-id');
|
|
89905
|
+
|
|
89906
|
+
if (deviceId) {
|
|
89907
|
+
this.dispatchEvent(
|
|
89908
|
+
new CustomEvent('remove-device-clicked', {
|
|
89909
|
+
bubbles: true,
|
|
89910
|
+
detail: { id: deviceId, action: 'remove-device' },
|
|
89911
|
+
}),
|
|
89912
|
+
);
|
|
89913
|
+
}
|
|
89914
|
+
}
|
|
89915
|
+
|
|
89916
|
+
get readOnly() {
|
|
89917
|
+
return this.getAttribute('readonly') === 'true';
|
|
89918
|
+
}
|
|
89919
|
+
|
|
89920
|
+
get hideActions() {
|
|
89921
|
+
return this.getAttribute('hide-actions') === 'true';
|
|
89922
|
+
}
|
|
89923
|
+
|
|
89924
|
+
get format() {
|
|
89925
|
+
return this.getAttribute('format')?.toUpperCase() || 'MM-DD-YYYY';
|
|
89926
|
+
}
|
|
89927
|
+
|
|
89928
|
+
get removeDeviceLabel() {
|
|
89929
|
+
return this.getAttribute('remove-device-label') || 'Sign out';
|
|
89930
|
+
}
|
|
89931
|
+
|
|
89932
|
+
get currentDeviceLabel() {
|
|
89933
|
+
return this.getAttribute('current-device-label') || 'Current device';
|
|
89934
|
+
}
|
|
89935
|
+
|
|
89936
|
+
get lastLoginLabel() {
|
|
89937
|
+
return this.getAttribute('last-login-label') || 'Last login:';
|
|
89938
|
+
}
|
|
89939
|
+
|
|
89940
|
+
get direction() {
|
|
89941
|
+
return this.getAttribute('st-host-direction');
|
|
89942
|
+
}
|
|
89943
|
+
}
|
|
89944
|
+
|
|
89945
|
+
const { host: host$o } = {
|
|
89946
|
+
host: { selector: () => ':host' },
|
|
89947
|
+
};
|
|
89948
|
+
|
|
89949
|
+
const TrustedDevicesClass = compose(
|
|
89950
|
+
createStyleMixin$1({
|
|
89951
|
+
mappings: {
|
|
89952
|
+
hostWidth: { ...host$o, property: 'width' },
|
|
89953
|
+
hostMinWidth: { ...host$o, property: 'min-width' },
|
|
89954
|
+
hostDirection: [
|
|
89955
|
+
{ ...host$o, property: 'direction' },
|
|
89956
|
+
{
|
|
89957
|
+
selector: () => 'descope-list-item',
|
|
89958
|
+
property: 'direction',
|
|
89959
|
+
},
|
|
89960
|
+
{
|
|
89961
|
+
selector: () => 'descope-text',
|
|
89962
|
+
property: 'direction',
|
|
89963
|
+
},
|
|
89964
|
+
],
|
|
89965
|
+
|
|
89966
|
+
listItemsGap: {
|
|
89967
|
+
property: ListClass.cssVarList.gap,
|
|
89968
|
+
},
|
|
89969
|
+
listBackgroundColor: {
|
|
89970
|
+
selector: () => ListClass.componentName,
|
|
89971
|
+
property: ListClass.cssVarList.backgroundColor,
|
|
89972
|
+
},
|
|
89973
|
+
listBorderRadius: {
|
|
89974
|
+
selector: () => ListClass.componentName,
|
|
89975
|
+
property: ListClass.cssVarList.borderRadius,
|
|
89976
|
+
},
|
|
89977
|
+
listBorderWidth: {
|
|
89978
|
+
selector: () => ListClass.componentName,
|
|
89979
|
+
property: ListClass.cssVarList.borderWidth,
|
|
89980
|
+
},
|
|
89981
|
+
listBoxShadow: {
|
|
89982
|
+
selector: () => ListClass.componentName,
|
|
89983
|
+
property: ListClass.cssVarList.boxShadow,
|
|
89984
|
+
},
|
|
89985
|
+
listPadding: [
|
|
89986
|
+
{
|
|
89987
|
+
selector: () => ListClass.componentName,
|
|
89988
|
+
property: ListClass.cssVarList.verticalPadding,
|
|
89989
|
+
},
|
|
89990
|
+
{
|
|
89991
|
+
selector: () => ListClass.componentName,
|
|
89992
|
+
property: ListClass.cssVarList.horizontalPadding,
|
|
89993
|
+
},
|
|
89994
|
+
],
|
|
89995
|
+
|
|
89996
|
+
itemVerticalPadding: {
|
|
89997
|
+
selector: ListItemClass.componentName,
|
|
89998
|
+
property: ListItemClass.cssVarList.verticalPadding,
|
|
89999
|
+
},
|
|
90000
|
+
itemHorizontalPadding: {
|
|
90001
|
+
selector: ListItemClass.componentName,
|
|
90002
|
+
property: ListItemClass.cssVarList.horizontalPadding,
|
|
90003
|
+
},
|
|
90004
|
+
itemCursor: {
|
|
90005
|
+
selector: ListItemClass.componentName,
|
|
90006
|
+
property: ListItemClass.cssVarList.cursor,
|
|
90007
|
+
},
|
|
90008
|
+
itemOutline: {
|
|
90009
|
+
selector: ListItemClass.componentName,
|
|
90010
|
+
property: ListItemClass.cssVarList.outline,
|
|
90011
|
+
},
|
|
90012
|
+
itemBorderColor: {
|
|
90013
|
+
selector: ListItemClass.componentName,
|
|
90014
|
+
property: ListItemClass.cssVarList.borderColor,
|
|
90015
|
+
},
|
|
90016
|
+
itemBorderRadius: {
|
|
90017
|
+
selector: ListItemClass.componentName,
|
|
90018
|
+
property: ListItemClass.cssVarList.borderRadius,
|
|
90019
|
+
},
|
|
90020
|
+
itemBackgroundColor: {
|
|
90021
|
+
selector: ListItemClass.componentName,
|
|
90022
|
+
property: ListItemClass.cssVarList.backgroundColor,
|
|
90023
|
+
},
|
|
90024
|
+
itemContentGap: {
|
|
90025
|
+
selector: () => '.content',
|
|
90026
|
+
property: 'gap',
|
|
90027
|
+
},
|
|
90028
|
+
|
|
90029
|
+
badgeBorderColor: {
|
|
90030
|
+
selector: BadgeClass.componentName,
|
|
90031
|
+
property: BadgeClass.cssVarList.borderColor,
|
|
90032
|
+
},
|
|
90033
|
+
badgeTextColor: {
|
|
90034
|
+
selector: BadgeClass.componentName,
|
|
90035
|
+
property: BadgeClass.cssVarList.textColor,
|
|
90036
|
+
},
|
|
90037
|
+
badgeBackgroundColor: {
|
|
90038
|
+
selector: BadgeClass.componentName,
|
|
90039
|
+
property: BadgeClass.cssVarList.backgroundColor,
|
|
90040
|
+
},
|
|
90041
|
+
badgeBorderRadius: {
|
|
90042
|
+
selector: BadgeClass.componentName,
|
|
90043
|
+
property: BadgeClass.cssVarList.borderRadius,
|
|
90044
|
+
},
|
|
90045
|
+
|
|
90046
|
+
devicePanelGap: {
|
|
90047
|
+
selector: () => '.main',
|
|
90048
|
+
property: 'gap',
|
|
90049
|
+
},
|
|
90050
|
+
deviceIconGap: {
|
|
90051
|
+
selector: () => '.device',
|
|
90052
|
+
property: 'gap',
|
|
90053
|
+
},
|
|
90054
|
+
deviceIconSize: [
|
|
90055
|
+
{
|
|
90056
|
+
selector: () => '.device-icon',
|
|
90057
|
+
property: 'width',
|
|
90058
|
+
},
|
|
90059
|
+
{
|
|
90060
|
+
selector: () => '.device-icon',
|
|
90061
|
+
property: 'height',
|
|
90062
|
+
},
|
|
90063
|
+
],
|
|
90064
|
+
|
|
90065
|
+
lastLoginLabelGap: {
|
|
90066
|
+
selector: ' .meta',
|
|
90067
|
+
property: 'gap',
|
|
90068
|
+
},
|
|
90069
|
+
},
|
|
90070
|
+
}),
|
|
90071
|
+
draggableMixin$1,
|
|
90072
|
+
createDynamicDataMixin$1({
|
|
90073
|
+
itemRenderer: itemRenderer$3,
|
|
90074
|
+
sortFn: sortFn$1,
|
|
90075
|
+
rerenderAttrsList: [
|
|
90076
|
+
'remove-device-label',
|
|
90077
|
+
'current-device-label',
|
|
90078
|
+
'last-login-label',
|
|
90079
|
+
'format',
|
|
90080
|
+
'hide-actions',
|
|
90081
|
+
],
|
|
90082
|
+
}),
|
|
90083
|
+
componentNameValidationMixin$1,
|
|
90084
|
+
)(RawTrustedDevicesClass);
|
|
90085
|
+
|
|
90086
|
+
const vars$P = TrustedDevicesClass.cssVarList;
|
|
90087
|
+
|
|
90088
|
+
const TrustedDevices = {
|
|
90089
|
+
[vars$P.hostWidth]: 'auto',
|
|
90090
|
+
[vars$P.hostWidth]: '300px',
|
|
90091
|
+
[vars$P.hostMinWidth]: '300px',
|
|
90092
|
+
|
|
90093
|
+
[vars$P.listBackgroundColor]: 'transparent',
|
|
90094
|
+
[vars$P.listBorderRadius]: '0',
|
|
90095
|
+
[vars$P.listBorderWidth]: '0',
|
|
90096
|
+
[vars$P.listPadding]: '0',
|
|
90097
|
+
[vars$P.listBoxShadow]: 'none',
|
|
90098
|
+
[vars$P.listItemsGap]: globals.spacing.lg,
|
|
90099
|
+
|
|
90100
|
+
[vars$P.itemBorderColor]: globals.colors.surface.light,
|
|
90101
|
+
[vars$P.itemVerticalPadding]: globals.spacing.lg,
|
|
90102
|
+
[vars$P.itemHorizontalPadding]: globals.spacing.lg,
|
|
90103
|
+
[vars$P.itemBorderRadius]: globals.radius.xs,
|
|
90104
|
+
[vars$P.itemOutline]: 'transparent',
|
|
90105
|
+
[vars$P.itemBackgroundColor]: 'transparent',
|
|
90106
|
+
[vars$P.itemCursor]: 'default',
|
|
90107
|
+
[vars$P.itemContentGap]: globals.spacing.sm,
|
|
90108
|
+
|
|
90109
|
+
[vars$P.badgeBorderColor]: globals.colors.surface.light,
|
|
90110
|
+
[vars$P.badgeTextColor]: globals.colors.surface.dark,
|
|
90111
|
+
[vars$P.badgeBorderRadius]: globals.radius.xs,
|
|
90112
|
+
[vars$P.badgeBackgroundColor]: globals.colors.surface.main,
|
|
90113
|
+
|
|
90114
|
+
[vars$P.devicePanelGap]: globals.spacing.md,
|
|
90115
|
+
[vars$P.deviceIconGap]: globals.spacing.md,
|
|
90116
|
+
[vars$P.deviceIconSize]: '24px',
|
|
90117
|
+
[vars$P.lastLoginLabelGap]: globals.spacing.xs,
|
|
90118
|
+
|
|
90119
|
+
_fullWidth: {
|
|
90120
|
+
[vars$P.hostWidth]: '100%',
|
|
90121
|
+
},
|
|
90122
|
+
};
|
|
90123
|
+
|
|
90124
|
+
var trustedDevices = /*#__PURE__*/Object.freeze({
|
|
90125
|
+
__proto__: null,
|
|
90126
|
+
default: TrustedDevices,
|
|
90127
|
+
vars: vars$P
|
|
90128
|
+
});
|
|
90129
|
+
|
|
90130
|
+
const componentName$$ = getComponentName('multi-sso');
|
|
90131
|
+
|
|
90132
|
+
const resolveAuthType = (authType) => {
|
|
90133
|
+
if (!authType || authType === 'none')
|
|
90134
|
+
return { label: 'Not Configured', configured: false };
|
|
90135
|
+
return { label: authType.toUpperCase(), configured: true };
|
|
90136
|
+
};
|
|
90137
|
+
|
|
90138
|
+
const itemRenderer$2 = ({ id, name, isDefault, link, authType }, _, ref) => {
|
|
90139
|
+
const deleteAction =
|
|
90140
|
+
!isDefault && ref?.allowDelete
|
|
90141
|
+
? `<span
|
|
90142
|
+
class="delete-btn delete-icon"
|
|
90143
|
+
data-action="delete"
|
|
90144
|
+
role="button"
|
|
90145
|
+
tabindex="0"
|
|
90146
|
+
title="${ref.deleteTooltipLabel}"
|
|
90147
|
+
></span>`
|
|
90148
|
+
: '';
|
|
90149
|
+
|
|
90150
|
+
const externalLinkAction =
|
|
90151
|
+
link && ref?.allowConfigure
|
|
90152
|
+
? `<a
|
|
90153
|
+
class="external-link external-link-icon"
|
|
90154
|
+
target="_blank"
|
|
90155
|
+
rel="noopener noreferrer"
|
|
90156
|
+
title="${ref.configureTooltipLabel}"
|
|
90157
|
+
></a>`
|
|
90158
|
+
: '';
|
|
90159
|
+
|
|
90160
|
+
const { label: authTypeLabel, configured } = resolveAuthType(authType);
|
|
90161
|
+
const authTypeRow = configured
|
|
90162
|
+
? `<div class="auth-type-row">
|
|
90163
|
+
<descope-badge class="auth-type-badge" size="xs"></descope-badge>
|
|
90164
|
+
</div>`
|
|
90165
|
+
: `<div class="auth-type-row">
|
|
90166
|
+
<descope-text
|
|
90167
|
+
not-configured
|
|
90168
|
+
variant="body2"
|
|
90169
|
+
mode="secondary"
|
|
90170
|
+
>${ref?.notConfiguredLabel}</descope-text>
|
|
90171
|
+
</div>`;
|
|
90172
|
+
|
|
90173
|
+
const template = document.createElement('template');
|
|
90174
|
+
|
|
90175
|
+
template.innerHTML = `
|
|
90176
|
+
<descope-list-item>
|
|
90177
|
+
<div class="content">
|
|
90178
|
+
<div class="top-row">
|
|
90179
|
+
<descope-text
|
|
90180
|
+
class="config-name"
|
|
90181
|
+
variant="body1"
|
|
89765
90182
|
mode="primary"
|
|
89766
|
-
>
|
|
89767
|
-
|
|
89768
|
-
|
|
90183
|
+
></descope-text>
|
|
90184
|
+
<span class="action">
|
|
90185
|
+
${deleteAction}
|
|
90186
|
+
${externalLinkAction}
|
|
90187
|
+
</span>
|
|
89769
90188
|
</div>
|
|
90189
|
+
${authTypeRow}
|
|
89770
90190
|
</div>
|
|
89771
90191
|
</descope-list-item>
|
|
89772
90192
|
`;
|
|
89773
90193
|
|
|
89774
|
-
|
|
89775
|
-
|
|
90194
|
+
template.content.querySelector('.config-name').textContent = name;
|
|
90195
|
+
|
|
90196
|
+
const deleteBtn = template.content.querySelector('.delete-btn');
|
|
90197
|
+
if (deleteBtn) {
|
|
90198
|
+
deleteBtn.dataset.id = id;
|
|
90199
|
+
deleteBtn.dataset.name = name;
|
|
90200
|
+
deleteBtn.setAttribute('aria-label', ref.deleteTooltipLabel);
|
|
90201
|
+
const deleteIcon = cloneSlottedNodes(ref, 'delete-icon');
|
|
90202
|
+
if (deleteIcon) deleteBtn.append(deleteIcon);
|
|
90203
|
+
}
|
|
90204
|
+
|
|
90205
|
+
const linkBtn = template.content.querySelector('.external-link');
|
|
90206
|
+
if (linkBtn) {
|
|
90207
|
+
linkBtn.setAttribute('aria-label', ref.configureTooltipLabel);
|
|
90208
|
+
if (link) linkBtn.setAttribute('href', link);
|
|
90209
|
+
const linkIcon = cloneSlottedNodes(ref, 'external-link-icon');
|
|
90210
|
+
if (linkIcon) linkBtn.append(linkIcon);
|
|
90211
|
+
}
|
|
90212
|
+
|
|
90213
|
+
const authTypeBadge = template.content.querySelector('.auth-type-badge');
|
|
90214
|
+
if (authTypeBadge) authTypeBadge.textContent = authTypeLabel;
|
|
89776
90215
|
return template;
|
|
89777
90216
|
};
|
|
89778
90217
|
|
|
89779
90218
|
const BaseClass$4 = createBaseClass$1({
|
|
89780
90219
|
componentName: componentName$$,
|
|
89781
|
-
baseSelector:
|
|
90220
|
+
baseSelector: 'span.wrapper',
|
|
89782
90221
|
});
|
|
89783
90222
|
|
|
89784
|
-
class
|
|
90223
|
+
class RawMultiSsoClass extends BaseClass$4 {
|
|
90224
|
+
static get observedAttributes() {
|
|
90225
|
+
return [
|
|
90226
|
+
'label',
|
|
90227
|
+
'create-button-label',
|
|
90228
|
+
'not-configured-label',
|
|
90229
|
+
'delete-tooltip-label',
|
|
90230
|
+
'configure-tooltip-label',
|
|
90231
|
+
'empty',
|
|
90232
|
+
].concat(super.observedAttributes);
|
|
90233
|
+
}
|
|
90234
|
+
|
|
89785
90235
|
constructor() {
|
|
89786
90236
|
super();
|
|
89787
90237
|
|
|
89788
90238
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
89789
|
-
|
|
89790
|
-
|
|
89791
|
-
|
|
90239
|
+
<span class="wrapper">
|
|
90240
|
+
<div class="header">
|
|
90241
|
+
<slot name="title-icon"></slot>
|
|
90242
|
+
<descope-text class="title" variant="body1" mode="primary"></descope-text>
|
|
90243
|
+
<descope-button
|
|
90244
|
+
class="create-button"
|
|
90245
|
+
size="sm"
|
|
90246
|
+
variant="link"
|
|
90247
|
+
mode="primary"
|
|
90248
|
+
data-action="create"
|
|
90249
|
+
>
|
|
90250
|
+
<slot name="create-button-icon" slot="prefix"></slot>
|
|
90251
|
+
<span class="create-button-label"></span>
|
|
90252
|
+
</descope-button>
|
|
90253
|
+
</div>
|
|
90254
|
+
<descope-list></descope-list>
|
|
90255
|
+
<slot name="delete-icon" class="hidden"></slot>
|
|
90256
|
+
<slot name="external-link-icon" class="hidden"></slot>
|
|
90257
|
+
</span>
|
|
89792
90258
|
`;
|
|
89793
90259
|
|
|
89794
|
-
this.
|
|
90260
|
+
this.listEl = this.shadowRoot.querySelector('descope-list');
|
|
89795
90261
|
|
|
89796
90262
|
injectStyle(
|
|
89797
90263
|
`
|
|
@@ -89799,130 +90265,194 @@ function requireIndex_cjs () {
|
|
|
89799
90265
|
display: inline-block;
|
|
89800
90266
|
}
|
|
89801
90267
|
|
|
89802
|
-
.
|
|
89803
|
-
|
|
90268
|
+
:host(:not([allow-create="true"])) .create-button {
|
|
90269
|
+
display: none;
|
|
89804
90270
|
}
|
|
89805
90271
|
|
|
89806
|
-
.
|
|
89807
|
-
|
|
90272
|
+
.create-button {
|
|
90273
|
+
min-width: 0;
|
|
90274
|
+
flex-shrink:1;
|
|
89808
90275
|
}
|
|
89809
90276
|
|
|
89810
|
-
.
|
|
89811
|
-
display: flex;
|
|
89812
|
-
flex-direction: column;
|
|
90277
|
+
.header {
|
|
89813
90278
|
width: 100%;
|
|
89814
|
-
}
|
|
89815
|
-
|
|
89816
|
-
.main {
|
|
89817
90279
|
display: flex;
|
|
89818
90280
|
align-items: center;
|
|
89819
90281
|
justify-content: space-between;
|
|
89820
90282
|
}
|
|
89821
90283
|
|
|
89822
|
-
|
|
89823
|
-
display: flex;
|
|
90284
|
+
slot[name="title-icon"] {
|
|
90285
|
+
display: inline-flex;
|
|
90286
|
+
align-items: center;
|
|
89824
90287
|
flex-shrink: 0;
|
|
89825
|
-
max-width: 75%;
|
|
89826
|
-
overflow: hidden;
|
|
89827
90288
|
}
|
|
89828
90289
|
|
|
89829
|
-
.
|
|
89830
|
-
|
|
90290
|
+
.title {
|
|
90291
|
+
flex: 1;
|
|
89831
90292
|
min-width: 0;
|
|
89832
|
-
|
|
89833
|
-
|
|
89834
|
-
.device-icon {
|
|
90293
|
+
width:0;
|
|
89835
90294
|
flex-shrink: 0;
|
|
90295
|
+
|
|
89836
90296
|
}
|
|
89837
90297
|
|
|
89838
|
-
.
|
|
89839
|
-
|
|
90298
|
+
.title::part(text-wrapper) {
|
|
90299
|
+
text-overflow: ellipsis;
|
|
90300
|
+
overflow: hidden;
|
|
90301
|
+
white-space: nowrap;
|
|
89840
90302
|
}
|
|
89841
90303
|
|
|
89842
|
-
.
|
|
89843
|
-
|
|
90304
|
+
.content {
|
|
90305
|
+
display: flex;
|
|
90306
|
+
flex-direction: column;
|
|
90307
|
+
align-items: stretch;
|
|
90308
|
+
width: 100%;
|
|
89844
90309
|
}
|
|
89845
90310
|
|
|
89846
|
-
|
|
90311
|
+
.top-row {
|
|
90312
|
+
display: flex;
|
|
90313
|
+
align-items: center;
|
|
90314
|
+
justify-content: space-between;
|
|
89847
90315
|
min-width: 0;
|
|
89848
90316
|
}
|
|
89849
90317
|
|
|
89850
|
-
|
|
90318
|
+
.config-name {
|
|
89851
90319
|
display: flex;
|
|
89852
|
-
align-items: center;
|
|
90320
|
+
align-items: center;
|
|
89853
90321
|
min-width: 0;
|
|
89854
90322
|
}
|
|
89855
|
-
|
|
90323
|
+
|
|
90324
|
+
.config-name::part(text-wrapper) {
|
|
89856
90325
|
text-overflow: ellipsis;
|
|
89857
90326
|
overflow: hidden;
|
|
89858
90327
|
white-space: nowrap;
|
|
89859
90328
|
}
|
|
89860
90329
|
|
|
89861
|
-
|
|
89862
|
-
|
|
90330
|
+
.auth-type-row {
|
|
90331
|
+
display: flex;
|
|
90332
|
+
align-items: center;
|
|
89863
90333
|
}
|
|
89864
|
-
|
|
90334
|
+
|
|
90335
|
+
.action {
|
|
89865
90336
|
display: flex;
|
|
89866
|
-
|
|
90337
|
+
align-items: center;
|
|
90338
|
+
flex-shrink: 0;
|
|
89867
90339
|
}
|
|
89868
|
-
|
|
90340
|
+
|
|
90341
|
+
.hidden {
|
|
90342
|
+
display: none;
|
|
90343
|
+
}
|
|
90344
|
+
|
|
90345
|
+
.delete-btn {
|
|
90346
|
+
cursor: pointer;
|
|
90347
|
+
display: flex;
|
|
90348
|
+
}
|
|
90349
|
+
|
|
90350
|
+
.delete-icon > *,
|
|
90351
|
+
.external-link-icon > * {
|
|
89869
90352
|
width: 100%;
|
|
90353
|
+
height: 100%;
|
|
90354
|
+
}
|
|
90355
|
+
|
|
90356
|
+
.external-link {
|
|
90357
|
+
cursor: pointer;
|
|
90358
|
+
color: inherit;
|
|
90359
|
+
display: flex;
|
|
90360
|
+
}
|
|
90361
|
+
|
|
90362
|
+
descope-text {
|
|
90363
|
+
display: flex;
|
|
90364
|
+
align-items: center;
|
|
90365
|
+
min-width: 0;
|
|
89870
90366
|
}
|
|
89871
90367
|
`,
|
|
89872
90368
|
this,
|
|
89873
90369
|
);
|
|
89874
90370
|
}
|
|
89875
90371
|
|
|
90372
|
+
get deleteTooltipLabel() {
|
|
90373
|
+
return this.getAttribute('delete-tooltip-label') ?? '';
|
|
90374
|
+
}
|
|
90375
|
+
|
|
90376
|
+
get configureTooltipLabel() {
|
|
90377
|
+
return this.getAttribute('configure-tooltip-label') ?? '';
|
|
90378
|
+
}
|
|
90379
|
+
|
|
89876
90380
|
init() {
|
|
89877
90381
|
super.init?.();
|
|
89878
90382
|
|
|
89879
|
-
this.
|
|
90383
|
+
this.shadowRoot.querySelector('.title').textContent = this.label;
|
|
90384
|
+
this.shadowRoot.querySelector('.create-button-label').textContent =
|
|
90385
|
+
this.createButtonLabel;
|
|
89880
90386
|
|
|
89881
|
-
this.
|
|
90387
|
+
this.listEl.itemRenderer = (item, index) => itemRenderer$2(item, index, this);
|
|
90388
|
+
|
|
90389
|
+
this.shadowRoot
|
|
90390
|
+
.querySelector('[data-action="create"]')
|
|
90391
|
+
.addEventListener('click', this.onCreateClick.bind(this));
|
|
90392
|
+
this.listEl.addEventListener('click', this.onItemClick.bind(this));
|
|
90393
|
+
|
|
90394
|
+
forwardAttrs(this.listEl, this, { includeAttrs: ['empty'] });
|
|
89882
90395
|
}
|
|
89883
90396
|
|
|
89884
|
-
|
|
89885
|
-
|
|
90397
|
+
onCreateClick() {
|
|
90398
|
+
this.dispatchEvent(
|
|
90399
|
+
new CustomEvent('create-clicked', { bubbles: true, detail: {} }),
|
|
90400
|
+
);
|
|
90401
|
+
}
|
|
89886
90402
|
|
|
89887
|
-
|
|
89888
|
-
const
|
|
90403
|
+
onItemClick(e) {
|
|
90404
|
+
const target = e.target.closest('[data-action="delete"]');
|
|
90405
|
+
if (!target) return;
|
|
89889
90406
|
|
|
89890
|
-
|
|
90407
|
+
const id = target.getAttribute('data-id');
|
|
90408
|
+
const name = target.getAttribute('data-name');
|
|
90409
|
+
if (id) {
|
|
89891
90410
|
this.dispatchEvent(
|
|
89892
|
-
new CustomEvent('
|
|
90411
|
+
new CustomEvent('delete-clicked', {
|
|
89893
90412
|
bubbles: true,
|
|
89894
|
-
detail: { id
|
|
90413
|
+
detail: { id, name },
|
|
89895
90414
|
}),
|
|
89896
90415
|
);
|
|
89897
90416
|
}
|
|
89898
90417
|
}
|
|
89899
90418
|
|
|
89900
|
-
get
|
|
89901
|
-
return this.getAttribute('
|
|
90419
|
+
get allowCreate() {
|
|
90420
|
+
return this.getAttribute('allow-create') === 'true';
|
|
89902
90421
|
}
|
|
89903
90422
|
|
|
89904
|
-
get
|
|
89905
|
-
return this.getAttribute('
|
|
90423
|
+
get allowDelete() {
|
|
90424
|
+
return this.getAttribute('allow-delete') === 'true';
|
|
89906
90425
|
}
|
|
89907
90426
|
|
|
89908
|
-
get
|
|
89909
|
-
return this.getAttribute('
|
|
90427
|
+
get allowConfigure() {
|
|
90428
|
+
return this.getAttribute('allow-configure') === 'true';
|
|
89910
90429
|
}
|
|
89911
90430
|
|
|
89912
|
-
get
|
|
89913
|
-
return this.getAttribute('
|
|
90431
|
+
get label() {
|
|
90432
|
+
return this.getAttribute('label');
|
|
89914
90433
|
}
|
|
89915
90434
|
|
|
89916
|
-
get
|
|
89917
|
-
return this.getAttribute('
|
|
90435
|
+
get createButtonLabel() {
|
|
90436
|
+
return this.getAttribute('create-button-label');
|
|
89918
90437
|
}
|
|
89919
90438
|
|
|
89920
|
-
get
|
|
89921
|
-
return this.getAttribute('
|
|
90439
|
+
get notConfiguredLabel() {
|
|
90440
|
+
return this.getAttribute('not-configured-label') || 'Not Configured';
|
|
89922
90441
|
}
|
|
89923
90442
|
|
|
89924
|
-
|
|
89925
|
-
|
|
90443
|
+
attributeChangedCallback(name, oldValue, newValue) {
|
|
90444
|
+
super.attributeChangedCallback?.(name, oldValue, newValue);
|
|
90445
|
+
if (oldValue === newValue) return;
|
|
90446
|
+
|
|
90447
|
+
if (name === 'label') {
|
|
90448
|
+
const el = this.shadowRoot?.querySelector('.title');
|
|
90449
|
+
if (el) el.textContent = this.label;
|
|
90450
|
+
} else if (name === 'create-button-label') {
|
|
90451
|
+
const el = this.shadowRoot?.querySelector('.create-button-label');
|
|
90452
|
+
if (el) el.textContent = this.createButtonLabel;
|
|
90453
|
+
} else if (name === 'empty') {
|
|
90454
|
+
this.listEl.classList.toggle('hidden', newValue === 'true');
|
|
90455
|
+
}
|
|
89926
90456
|
}
|
|
89927
90457
|
}
|
|
89928
90458
|
|
|
@@ -89930,7 +90460,7 @@ function requireIndex_cjs () {
|
|
|
89930
90460
|
host: { selector: () => ':host' },
|
|
89931
90461
|
};
|
|
89932
90462
|
|
|
89933
|
-
const
|
|
90463
|
+
const MultiSsoClass = compose(
|
|
89934
90464
|
createStyleMixin$1({
|
|
89935
90465
|
mappings: {
|
|
89936
90466
|
hostWidth: { ...host$n, property: 'width' },
|
|
@@ -89946,6 +90476,35 @@ function requireIndex_cjs () {
|
|
|
89946
90476
|
property: 'direction',
|
|
89947
90477
|
},
|
|
89948
90478
|
],
|
|
90479
|
+
headerGap: {
|
|
90480
|
+
selector: () => '.header',
|
|
90481
|
+
property: 'gap',
|
|
90482
|
+
},
|
|
90483
|
+
headerListGap: {
|
|
90484
|
+
selector: () => 'descope-list',
|
|
90485
|
+
property: 'margin-top',
|
|
90486
|
+
},
|
|
90487
|
+
itemContentGap: {
|
|
90488
|
+
selector: () => '.content',
|
|
90489
|
+
property: 'gap',
|
|
90490
|
+
},
|
|
90491
|
+
actionGap: {
|
|
90492
|
+
selector: () => '.action',
|
|
90493
|
+
property: 'gap',
|
|
90494
|
+
},
|
|
90495
|
+
unconfiguredAuthTypeTextColor: {
|
|
90496
|
+
selector: () => '[not-configured]',
|
|
90497
|
+
property: TextClass.cssVarList.textColor,
|
|
90498
|
+
},
|
|
90499
|
+
unconfiguredAuthTypeTextFontStyle: {
|
|
90500
|
+
selector: () => '[not-configured]',
|
|
90501
|
+
property: 'font-style',
|
|
90502
|
+
},
|
|
90503
|
+
|
|
90504
|
+
buttonMaxWidth: {
|
|
90505
|
+
selector: ButtonClass.componentName,
|
|
90506
|
+
property: ButtonClass.cssVarList.hostMaxWidth,
|
|
90507
|
+
},
|
|
89949
90508
|
|
|
89950
90509
|
listItemsGap: {
|
|
89951
90510
|
property: ListClass.cssVarList.gap,
|
|
@@ -90005,109 +90564,117 @@ function requireIndex_cjs () {
|
|
|
90005
90564
|
selector: ListItemClass.componentName,
|
|
90006
90565
|
property: ListItemClass.cssVarList.backgroundColor,
|
|
90007
90566
|
},
|
|
90008
|
-
itemContentGap: {
|
|
90009
|
-
selector: () => '.content',
|
|
90010
|
-
property: 'gap',
|
|
90011
|
-
},
|
|
90012
|
-
|
|
90013
90567
|
badgeBorderColor: {
|
|
90014
|
-
selector: BadgeClass.componentName,
|
|
90568
|
+
selector: () => BadgeClass.componentName,
|
|
90015
90569
|
property: BadgeClass.cssVarList.borderColor,
|
|
90016
90570
|
},
|
|
90017
90571
|
badgeTextColor: {
|
|
90018
|
-
selector: BadgeClass.componentName,
|
|
90572
|
+
selector: () => BadgeClass.componentName,
|
|
90019
90573
|
property: BadgeClass.cssVarList.textColor,
|
|
90020
90574
|
},
|
|
90021
90575
|
badgeBackgroundColor: {
|
|
90022
|
-
selector: BadgeClass.componentName,
|
|
90576
|
+
selector: () => BadgeClass.componentName,
|
|
90023
90577
|
property: BadgeClass.cssVarList.backgroundColor,
|
|
90024
90578
|
},
|
|
90025
90579
|
badgeBorderRadius: {
|
|
90026
|
-
selector: BadgeClass.componentName,
|
|
90580
|
+
selector: () => BadgeClass.componentName,
|
|
90027
90581
|
property: BadgeClass.cssVarList.borderRadius,
|
|
90028
90582
|
},
|
|
90029
90583
|
|
|
90030
|
-
|
|
90031
|
-
selector: () => '
|
|
90032
|
-
property: 'gap',
|
|
90033
|
-
},
|
|
90034
|
-
deviceIconGap: {
|
|
90035
|
-
selector: () => '.device',
|
|
90036
|
-
property: 'gap',
|
|
90037
|
-
},
|
|
90038
|
-
deviceIconSize: [
|
|
90584
|
+
titleIconSize: [
|
|
90585
|
+
{ selector: () => '::slotted([slot="title-icon"])', property: 'width' },
|
|
90039
90586
|
{
|
|
90040
|
-
selector: () => '
|
|
90587
|
+
selector: () => '::slotted([slot="title-icon"])',
|
|
90588
|
+
property: 'height',
|
|
90589
|
+
},
|
|
90590
|
+
],
|
|
90591
|
+
createButtonIconSize: [
|
|
90592
|
+
{
|
|
90593
|
+
selector: () => '::slotted([slot="create-button-icon"])',
|
|
90041
90594
|
property: 'width',
|
|
90042
90595
|
},
|
|
90043
90596
|
{
|
|
90044
|
-
selector: () => '
|
|
90597
|
+
selector: () => '::slotted([slot="create-button-icon"])',
|
|
90045
90598
|
property: 'height',
|
|
90046
90599
|
},
|
|
90047
90600
|
],
|
|
90048
|
-
|
|
90049
|
-
|
|
90050
|
-
selector: '
|
|
90051
|
-
property: '
|
|
90052
|
-
|
|
90601
|
+
actionIconSize: [
|
|
90602
|
+
{ selector: () => '.delete-icon', property: 'width' },
|
|
90603
|
+
{ selector: () => '.delete-icon', property: 'height' },
|
|
90604
|
+
{ selector: () => '.external-link-icon', property: 'width' },
|
|
90605
|
+
{ selector: () => '.external-link-icon', property: 'height' },
|
|
90606
|
+
],
|
|
90607
|
+
actionIconColor: [
|
|
90608
|
+
{ selector: () => '.delete-icon', property: IconClass.cssVarList.fill },
|
|
90609
|
+
{
|
|
90610
|
+
selector: () => '.external-link-icon',
|
|
90611
|
+
property: IconClass.cssVarList.fill,
|
|
90612
|
+
},
|
|
90613
|
+
],
|
|
90053
90614
|
},
|
|
90054
90615
|
}),
|
|
90055
90616
|
draggableMixin$1,
|
|
90056
90617
|
createDynamicDataMixin$1({
|
|
90618
|
+
targetSelector: 'descope-list',
|
|
90057
90619
|
itemRenderer: itemRenderer$2,
|
|
90058
|
-
sortFn: sortFn$1,
|
|
90059
90620
|
rerenderAttrsList: [
|
|
90060
|
-
'
|
|
90061
|
-
'
|
|
90062
|
-
'
|
|
90063
|
-
'
|
|
90064
|
-
'
|
|
90621
|
+
'allow-delete',
|
|
90622
|
+
'allow-configure',
|
|
90623
|
+
'not-configured-label',
|
|
90624
|
+
'delete-tooltip-label',
|
|
90625
|
+
'configure-tooltip-label',
|
|
90065
90626
|
],
|
|
90066
90627
|
}),
|
|
90067
90628
|
componentNameValidationMixin$1,
|
|
90068
|
-
)(
|
|
90629
|
+
)(RawMultiSsoClass);
|
|
90069
90630
|
|
|
90070
|
-
const vars$O =
|
|
90631
|
+
const vars$O = MultiSsoClass.cssVarList;
|
|
90632
|
+
const globalRefs$r = getThemeRefs$1(globals);
|
|
90071
90633
|
|
|
90072
|
-
const
|
|
90073
|
-
[vars$O.hostWidth]: 'auto',
|
|
90634
|
+
const MultiSso = {
|
|
90074
90635
|
[vars$O.hostWidth]: '300px',
|
|
90075
|
-
|
|
90636
|
+
|
|
90637
|
+
[vars$O.headerGap]: globalRefs$r.spacing.md,
|
|
90638
|
+
[vars$O.headerListGap]: globalRefs$r.spacing.md,
|
|
90639
|
+
[vars$O.itemContentGap]: globalRefs$r.spacing.md,
|
|
90640
|
+
[vars$O.actionGap]: globalRefs$r.spacing.sm,
|
|
90641
|
+
[vars$O.unconfiguredAuthTypeTextColor]: globalRefs$r.colors.surface.dark,
|
|
90642
|
+
[vars$O.unconfiguredAuthTypeTextFontStyle]: 'italic',
|
|
90643
|
+
[vars$O.buttonMaxWidth]: '50%',
|
|
90076
90644
|
|
|
90077
90645
|
[vars$O.listBackgroundColor]: 'transparent',
|
|
90078
90646
|
[vars$O.listBorderRadius]: '0',
|
|
90079
90647
|
[vars$O.listBorderWidth]: '0',
|
|
90080
90648
|
[vars$O.listPadding]: '0',
|
|
90081
90649
|
[vars$O.listBoxShadow]: 'none',
|
|
90082
|
-
[vars$O.listItemsGap]:
|
|
90650
|
+
[vars$O.listItemsGap]: globalRefs$r.spacing.lg,
|
|
90083
90651
|
|
|
90084
|
-
[vars$O.itemBorderColor]:
|
|
90085
|
-
[vars$O.itemVerticalPadding]:
|
|
90086
|
-
[vars$O.itemHorizontalPadding]:
|
|
90087
|
-
[vars$O.itemBorderRadius]:
|
|
90652
|
+
[vars$O.itemBorderColor]: globalRefs$r.colors.surface.light,
|
|
90653
|
+
[vars$O.itemVerticalPadding]: globalRefs$r.spacing.lg,
|
|
90654
|
+
[vars$O.itemHorizontalPadding]: globalRefs$r.spacing.lg,
|
|
90655
|
+
[vars$O.itemBorderRadius]: globalRefs$r.radius.xs,
|
|
90088
90656
|
[vars$O.itemOutline]: 'transparent',
|
|
90089
90657
|
[vars$O.itemBackgroundColor]: 'transparent',
|
|
90090
90658
|
[vars$O.itemCursor]: 'default',
|
|
90091
|
-
[vars$O.itemContentGap]: globals.spacing.sm,
|
|
90092
90659
|
|
|
90093
|
-
[vars$O.badgeBorderColor]:
|
|
90094
|
-
[vars$O.badgeTextColor]:
|
|
90095
|
-
[vars$O.badgeBorderRadius]:
|
|
90096
|
-
[vars$O.badgeBackgroundColor]:
|
|
90660
|
+
[vars$O.badgeBorderColor]: globalRefs$r.colors.surface.light,
|
|
90661
|
+
[vars$O.badgeTextColor]: globalRefs$r.colors.surface.dark,
|
|
90662
|
+
[vars$O.badgeBorderRadius]: globalRefs$r.radius.xs,
|
|
90663
|
+
[vars$O.badgeBackgroundColor]: globalRefs$r.colors.surface.main,
|
|
90097
90664
|
|
|
90098
|
-
[vars$O.
|
|
90099
|
-
[vars$O.
|
|
90100
|
-
[vars$O.
|
|
90101
|
-
[vars$O.
|
|
90665
|
+
[vars$O.titleIconSize]: '24px',
|
|
90666
|
+
[vars$O.createButtonIconSize]: '20px',
|
|
90667
|
+
[vars$O.actionIconSize]: '20px',
|
|
90668
|
+
[vars$O.actionIconColor]: globalRefs$r.colors.surface.dark,
|
|
90102
90669
|
|
|
90103
90670
|
_fullWidth: {
|
|
90104
90671
|
[vars$O.hostWidth]: '100%',
|
|
90105
90672
|
},
|
|
90106
90673
|
};
|
|
90107
90674
|
|
|
90108
|
-
var
|
|
90675
|
+
var multiSso = /*#__PURE__*/Object.freeze({
|
|
90109
90676
|
__proto__: null,
|
|
90110
|
-
default:
|
|
90677
|
+
default: MultiSso,
|
|
90111
90678
|
vars: vars$O
|
|
90112
90679
|
});
|
|
90113
90680
|
|
|
@@ -91972,21 +92539,6 @@ function requireIndex_cjs () {
|
|
|
91972
92539
|
},
|
|
91973
92540
|
};
|
|
91974
92541
|
|
|
91975
|
-
const cloneSlottedNodes = (element, slotName) => {
|
|
91976
|
-
if (!element || !slotName) return null;
|
|
91977
|
-
const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
|
|
91978
|
-
if (!sources.length) return null;
|
|
91979
|
-
const fragment = document.createDocumentFragment();
|
|
91980
|
-
sources.forEach((source) => {
|
|
91981
|
-
const clone = source.content
|
|
91982
|
-
? source.content.cloneNode(true)
|
|
91983
|
-
: source.cloneNode(true);
|
|
91984
|
-
if (clone.removeAttribute) clone.removeAttribute('slot');
|
|
91985
|
-
fragment.append(clone);
|
|
91986
|
-
});
|
|
91987
|
-
return fragment;
|
|
91988
|
-
};
|
|
91989
|
-
|
|
91990
92542
|
const populateRemoveButton = (template, id, ref) => {
|
|
91991
92543
|
const button = template.content.querySelector('.remove-button-content');
|
|
91992
92544
|
button.dataset.passkeyId = id;
|
|
@@ -92113,6 +92665,7 @@ function requireIndex_cjs () {
|
|
|
92113
92665
|
}
|
|
92114
92666
|
|
|
92115
92667
|
.header {
|
|
92668
|
+
width: 100%;
|
|
92116
92669
|
display: flex;
|
|
92117
92670
|
justify-content: space-between;
|
|
92118
92671
|
align-items: center;
|
|
@@ -92120,10 +92673,19 @@ function requireIndex_cjs () {
|
|
|
92120
92673
|
|
|
92121
92674
|
.header .method {
|
|
92122
92675
|
display: flex;
|
|
92676
|
+
flex: 1;
|
|
92677
|
+
min-width: 0;
|
|
92678
|
+
}
|
|
92679
|
+
|
|
92680
|
+
slot[name="method-icon"] {
|
|
92681
|
+
display: inline-flex;
|
|
92682
|
+
flex-shrink: 0;
|
|
92123
92683
|
}
|
|
92124
92684
|
|
|
92125
92685
|
.button {
|
|
92126
92686
|
min-width: 0;
|
|
92687
|
+
max-width: 50%;
|
|
92688
|
+
flex-shrink: 1;
|
|
92127
92689
|
}
|
|
92128
92690
|
|
|
92129
92691
|
.add-passkey-button {
|
|
@@ -92181,7 +92743,7 @@ function requireIndex_cjs () {
|
|
|
92181
92743
|
|
|
92182
92744
|
descope-text {
|
|
92183
92745
|
display: flex;
|
|
92184
|
-
align-items: center;
|
|
92746
|
+
align-items: center;
|
|
92185
92747
|
min-width: 0;
|
|
92186
92748
|
}
|
|
92187
92749
|
descope-text::part(text-wrapper) {
|
|
@@ -92203,7 +92765,7 @@ function requireIndex_cjs () {
|
|
|
92203
92765
|
.hidden {
|
|
92204
92766
|
display: none
|
|
92205
92767
|
}
|
|
92206
|
-
|
|
92768
|
+
|
|
92207
92769
|
`,
|
|
92208
92770
|
this,
|
|
92209
92771
|
);
|
|
@@ -108255,7 +108817,7 @@ descope-enriched-text {
|
|
|
108255
108817
|
[vars$2.horizontalPadding]: '0',
|
|
108256
108818
|
[vars$2.verticalPadding]: '0',
|
|
108257
108819
|
[vars$2.gap]: `0.5em`,
|
|
108258
|
-
[vars$2.fontSize]: useVar(vars$
|
|
108820
|
+
[vars$2.fontSize]: useVar(vars$19.fontSize),
|
|
108259
108821
|
|
|
108260
108822
|
mode: {
|
|
108261
108823
|
error: {
|
|
@@ -108549,6 +109111,7 @@ descope-enriched-text {
|
|
|
108549
109111
|
outboundApps: outboundApps$1,
|
|
108550
109112
|
outboundAppButton: outboundAppButton$1,
|
|
108551
109113
|
trustedDevices,
|
|
109114
|
+
multiSso,
|
|
108552
109115
|
tooltip: tooltip$1,
|
|
108553
109116
|
attachment: attachment$1,
|
|
108554
109117
|
userPasskeys: userPasskeys$1,
|
|
@@ -108564,7 +109127,7 @@ descope-enriched-text {
|
|
|
108564
109127
|
);
|
|
108565
109128
|
|
|
108566
109129
|
const defaultTheme = { globals: globals$1, components: theme };
|
|
108567
|
-
const themeVars = { globals: vars$
|
|
109130
|
+
const themeVars = { globals: vars$1b, components: vars };
|
|
108568
109131
|
|
|
108569
109132
|
const colors = {
|
|
108570
109133
|
surface: {
|
|
@@ -109374,6 +109937,7 @@ descope-enriched-text {
|
|
|
109374
109937
|
index_cjs$4.MonthDayFieldPickerClass = MonthDayFieldPickerClass;
|
|
109375
109938
|
index_cjs$4.MultiLineMappingsClass = MultiLineMappingsClass;
|
|
109376
109939
|
index_cjs$4.MultiSelectComboBoxClass = MultiSelectComboBoxClass;
|
|
109940
|
+
index_cjs$4.MultiSsoClass = MultiSsoClass;
|
|
109377
109941
|
index_cjs$4.NewPasswordClass = NewPasswordClass;
|
|
109378
109942
|
index_cjs$4.NotificationClass = NotificationClass;
|
|
109379
109943
|
index_cjs$4.NotpImageClass = NotpImageClass;
|
|
@@ -109512,6 +110076,7 @@ const TooltipClass = index_cjsExports.TooltipClass;
|
|
|
109512
110076
|
const HoneypotClass = index_cjsExports.HoneypotClass;
|
|
109513
110077
|
const AttachmentClass = index_cjsExports.AttachmentClass;
|
|
109514
110078
|
const UserPasskeysClass = index_cjsExports.UserPasskeysClass;
|
|
110079
|
+
const MultiSsoClass = index_cjsExports.MultiSsoClass;
|
|
109515
110080
|
|
|
109516
110081
|
const Checkbox = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-checkbox", { ...props, ref: ref }));
|
|
109517
110082
|
|
|
@@ -110017,6 +110582,12 @@ const MultiLineMappings = React__default.default.forwardRef(({ data, ...props },
|
|
|
110017
110582
|
return (React__default.default.createElement("descope-multi-line-mappings", { data: serializedData, ...props, ref: ref }));
|
|
110018
110583
|
});
|
|
110019
110584
|
|
|
110585
|
+
const MultiSso = React__default.default.forwardRef(({ data, titleIconLight, titleIconDark, createButtonIconLight, createButtonIconDark, deleteIconLight, deleteIconDark, externalLinkIconLight, externalLinkIconDark, ...props }, ref) => (React__default.default.createElement("descope-multi-sso", { data: data, ...props, ref: ref },
|
|
110586
|
+
titleIconLight && titleIconDark && (React__default.default.createElement(Icon, { icon: titleIconLight, "src-dark": titleIconDark, slot: "title-icon", "st-fill": "currentcolor" })),
|
|
110587
|
+
createButtonIconLight && createButtonIconDark && (React__default.default.createElement(Icon, { icon: createButtonIconLight, "src-dark": createButtonIconDark, slot: "create-button-icon", "st-fill": "currentcolor" })),
|
|
110588
|
+
deleteIconLight && deleteIconDark && (React__default.default.createElement(Icon, { icon: deleteIconLight, "src-dark": deleteIconDark, slot: "delete-icon", "st-fill": "currentcolor" })),
|
|
110589
|
+
externalLinkIconLight && externalLinkIconDark && (React__default.default.createElement(Icon, { icon: externalLinkIconLight, "src-dark": externalLinkIconDark, slot: "external-link-icon", "st-fill": "currentcolor" })))));
|
|
110590
|
+
|
|
110020
110591
|
const UserAuthMethod = React__default.default.forwardRef(({ methodIcon, methodIconDark, buttonIcon, buttonIconDark, fulfilledButtonIcon, fulfilledButtonIconDark, ...props }, ref) => (React__default.default.createElement("descope-user-auth-method", { ...props, ref: ref },
|
|
110021
110592
|
methodIcon && methodIconDark && React__default.default.createElement(Icon, { icon: methodIcon, "src-dark": methodIconDark, slot: "method-icon", noColor: true }),
|
|
110022
110593
|
buttonIcon && buttonIconDark && React__default.default.createElement(Icon, { icon: buttonIcon, "src-dark": buttonIconDark, slot: "button-icon", noColor: true, width: "1em", height: "1em" }),
|
|
@@ -110214,6 +110785,8 @@ exports.MultiLineMappings = MultiLineMappings;
|
|
|
110214
110785
|
exports.MultiLineMappingsClass = MultiLineMappingsClass;
|
|
110215
110786
|
exports.MultiSelect = MultiSelect;
|
|
110216
110787
|
exports.MultiSelectComboBoxClass = MultiSelectComboBoxClass;
|
|
110788
|
+
exports.MultiSso = MultiSso;
|
|
110789
|
+
exports.MultiSsoClass = MultiSsoClass;
|
|
110217
110790
|
exports.NOTPImage = NOTPImage;
|
|
110218
110791
|
exports.NOTPLink = NOTPLink;
|
|
110219
110792
|
exports.NewPassword = NewPassword;
|