@descope/web-components-ui 1.86.0 → 1.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +731 -676
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +779 -724
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js.map +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
- package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
- package/dist/umd/descope-button.js +4 -4
- package/dist/umd/descope-button.js.map +1 -1
- package/dist/umd/descope-collapsible-container.js +1 -1
- package/dist/umd/descope-collapsible-container.js.map +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js +1 -1
- package/dist/umd/descope-date-field-descope-calendar-index-js.js.map +1 -1
- package/dist/umd/descope-icon.js +1 -1
- package/dist/umd/descope-icon.js.map +1 -1
- package/dist/umd/descope-image.js +2 -0
- package/dist/umd/descope-image.js.map +1 -0
- package/dist/umd/descope-third-party-app-logo-index-js.js +1 -1
- package/dist/umd/descope-third-party-app-logo-index-js.js.map +1 -1
- package/dist/umd/descope-timer-button.js +1 -1
- package/dist/umd/descope-timer-button.js.map +1 -1
- package/dist/umd/descope-timer.js +1 -1
- package/dist/umd/descope-timer.js.map +1 -1
- package/dist/umd/descope-upload-file-index-js.js +1 -1
- package/dist/umd/descope-upload-file-index-js.js.map +1 -1
- package/dist/umd/descope-user-attribute-index-js.js +1 -1
- package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js +1 -1
- package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
- package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
- package/package.json +14 -13
- package/src/index.cjs.js +0 -1
- package/src/index.js +0 -1
- package/src/theme/components/index.js +2 -2
- package/dist/umd/descope-image-index-js.js +0 -2
- package/dist/umd/descope-image-index-js.js.map +0 -1
- package/src/components/descope-image/ImageClass.js +0 -53
- package/src/components/descope-image/index.js +0 -5
- package/src/theme/components/image.js +0 -8
package/dist/index.esm.js
CHANGED
@@ -5,7 +5,6 @@ import 'element-internals-polyfill';
|
|
5
5
|
import '@vaadin/checkbox';
|
6
6
|
import '@vaadin/text-field';
|
7
7
|
import '@vaadin/combo-box';
|
8
|
-
import DOMPurify from 'dompurify';
|
9
8
|
import '@vaadin/button';
|
10
9
|
import '@vaadin/popover/src/vaadin-popover';
|
11
10
|
import '@vaadin/icons';
|
@@ -26,6 +25,7 @@ import '@vaadin/notification';
|
|
26
25
|
import '@vaadin/custom-field';
|
27
26
|
import '@vaadin/radio-group';
|
28
27
|
import '@vaadin/avatar';
|
28
|
+
import DOMPurify from 'dompurify';
|
29
29
|
import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core';
|
30
30
|
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common';
|
31
31
|
import * as zxcvbnEnPackage from '@zxcvbn-ts/language-en';
|
@@ -1380,7 +1380,7 @@ const createProxy$1 = ({
|
|
1380
1380
|
return ProxyClass;
|
1381
1381
|
};
|
1382
1382
|
|
1383
|
-
const observedAttributes$
|
1383
|
+
const observedAttributes$7 = ['required', 'pattern'];
|
1384
1384
|
|
1385
1385
|
const errorAttributes$1 = {
|
1386
1386
|
valueMissing: 'data-errormessage-value-missing',
|
@@ -1399,7 +1399,7 @@ const inputValidationMixin$1 = (superclass) =>
|
|
1399
1399
|
#validationTarget = validationTargetSymbol$1;
|
1400
1400
|
|
1401
1401
|
static get observedAttributes() {
|
1402
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
1402
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$7];
|
1403
1403
|
}
|
1404
1404
|
|
1405
1405
|
static get formAssociated() {
|
@@ -1571,7 +1571,7 @@ const inputValidationMixin$1 = (superclass) =>
|
|
1571
1571
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
1572
1572
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
1573
1573
|
|
1574
|
-
if (observedAttributes$
|
1574
|
+
if (observedAttributes$7.includes(attrName)) {
|
1575
1575
|
this.#setValidity();
|
1576
1576
|
}
|
1577
1577
|
}
|
@@ -3220,8 +3220,10 @@ const createStyleMixin =
|
|
3220
3220
|
this.#baseSelector = baseSelector ?? this.baseSelector;
|
3221
3221
|
this.#getRootElement = getRootElement;
|
3222
3222
|
|
3223
|
-
this.#styleAttributes = Object.keys(
|
3224
|
-
|
3223
|
+
this.#styleAttributes = Object.keys(
|
3224
|
+
CustomStyleMixinClass.cssVarList,
|
3225
|
+
).map((key) =>
|
3226
|
+
kebabCaseJoin(STYLE_OVERRIDE_ATTR_PREFIX, componentNameSuffix, key),
|
3225
3227
|
);
|
3226
3228
|
}
|
3227
3229
|
|
@@ -3231,14 +3233,23 @@ const createStyleMixin =
|
|
3231
3233
|
}
|
3232
3234
|
|
3233
3235
|
#onComponentThemeChange() {
|
3234
|
-
this.#themeStyleEle.replaceSync(
|
3236
|
+
this.#themeStyleEle.replaceSync(
|
3237
|
+
this.#componentTheme[this.#themeSection],
|
3238
|
+
);
|
3239
|
+
this.currentThemeName = componentsThemeManager.currentThemeName;
|
3240
|
+
// `onThemeChange` - This function is a hook for the component, so it can be implemented in the component
|
3241
|
+
// and is executed once theme is change.
|
3242
|
+
this.onThemeChange?.(componentsThemeManager.currentThemeName);
|
3235
3243
|
}
|
3236
3244
|
|
3237
3245
|
#createComponentTheme() {
|
3238
|
-
this.#themeStyleEle = injectStyle('', this.#rootElement, {
|
3239
|
-
|
3240
|
-
|
3241
|
-
|
3246
|
+
this.#themeStyleEle = injectStyle('', this.#rootElement, {
|
3247
|
+
prepend: true,
|
3248
|
+
});
|
3249
|
+
this.#disconnectThemeManager =
|
3250
|
+
componentsThemeManager.onCurrentThemeChange(
|
3251
|
+
this.#onComponentThemeChange.bind(this),
|
3252
|
+
);
|
3242
3253
|
this.#onComponentThemeChange();
|
3243
3254
|
}
|
3244
3255
|
|
@@ -3246,10 +3257,13 @@ const createStyleMixin =
|
|
3246
3257
|
if (this.#styleAttributes.length) {
|
3247
3258
|
const classSpecifier = createClassSelectorSpecifier(
|
3248
3259
|
componentName,
|
3249
|
-
CSS_SELECTOR_SPECIFIER_MULTIPLY
|
3260
|
+
CSS_SELECTOR_SPECIFIER_MULTIPLY,
|
3250
3261
|
);
|
3251
3262
|
|
3252
|
-
this.#overrideStyleEle = injectStyle(
|
3263
|
+
this.#overrideStyleEle = injectStyle(
|
3264
|
+
`:host(${classSpecifier}) {}`,
|
3265
|
+
this.#rootElement,
|
3266
|
+
);
|
3253
3267
|
}
|
3254
3268
|
}
|
3255
3269
|
|
@@ -3260,7 +3274,7 @@ const createStyleMixin =
|
|
3260
3274
|
|
3261
3275
|
const varName = getCssVarName(
|
3262
3276
|
componentName,
|
3263
|
-
attrName.replace(new RegExp(`^${STYLE_OVERRIDE_ATTR_PREFIX}-`), '')
|
3277
|
+
attrName.replace(new RegExp(`^${STYLE_OVERRIDE_ATTR_PREFIX}-`), ''),
|
3264
3278
|
);
|
3265
3279
|
|
3266
3280
|
if (value) style?.setProperty(varName, value);
|
@@ -3283,7 +3297,7 @@ const createStyleMixin =
|
|
3283
3297
|
const style = createStyle(
|
3284
3298
|
kebabCaseJoin(componentName, this.#componentNameSuffix),
|
3285
3299
|
this.#baseSelector,
|
3286
|
-
mappings
|
3300
|
+
mappings,
|
3287
3301
|
);
|
3288
3302
|
|
3289
3303
|
injectStyle(style, this.#rootElement, { prepend: true });
|
@@ -3291,13 +3305,16 @@ const createStyleMixin =
|
|
3291
3305
|
}
|
3292
3306
|
|
3293
3307
|
#addClassName(className) {
|
3294
|
-
(this.#rootElement.classList || this.#rootElement.host.classList).add(
|
3308
|
+
(this.#rootElement.classList || this.#rootElement.host.classList).add(
|
3309
|
+
className,
|
3310
|
+
);
|
3295
3311
|
}
|
3296
3312
|
|
3297
3313
|
async init() {
|
3298
3314
|
super.init?.();
|
3299
3315
|
if (this.shadowRoot.isConnected) {
|
3300
|
-
this.#rootElement =
|
3316
|
+
this.#rootElement =
|
3317
|
+
(await this.#getRootElement?.(this)) || this.shadowRoot;
|
3301
3318
|
|
3302
3319
|
this.#addClassName(componentName);
|
3303
3320
|
|
@@ -3635,7 +3652,7 @@ const inputEventsDispatchingMixin = (superclass) =>
|
|
3635
3652
|
}
|
3636
3653
|
};
|
3637
3654
|
|
3638
|
-
const observedAttributes$
|
3655
|
+
const observedAttributes$6 = ['required', 'pattern'];
|
3639
3656
|
|
3640
3657
|
const errorAttributes = {
|
3641
3658
|
valueMissing: 'data-errormessage-value-missing',
|
@@ -3654,7 +3671,7 @@ const inputValidationMixin = (superclass) =>
|
|
3654
3671
|
#validationTarget = validationTargetSymbol;
|
3655
3672
|
|
3656
3673
|
static get observedAttributes() {
|
3657
|
-
return [...(superclass.observedAttributes || []), ...observedAttributes$
|
3674
|
+
return [...(superclass.observedAttributes || []), ...observedAttributes$6];
|
3658
3675
|
}
|
3659
3676
|
|
3660
3677
|
static get formAssociated() {
|
@@ -3826,7 +3843,7 @@ const inputValidationMixin = (superclass) =>
|
|
3826
3843
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
3827
3844
|
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
3828
3845
|
|
3829
|
-
if (observedAttributes$
|
3846
|
+
if (observedAttributes$6.includes(attrName)) {
|
3830
3847
|
this.#setValidity();
|
3831
3848
|
}
|
3832
3849
|
}
|
@@ -5031,149 +5048,29 @@ const ComboBoxClass = compose(
|
|
5031
5048
|
|
5032
5049
|
customElements.define(componentName$19, ComboBoxClass);
|
5033
5050
|
|
5034
|
-
const getFileExtension = (path) => {
|
5035
|
-
const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
|
5036
|
-
return match ? match[1] : null;
|
5037
|
-
};
|
5038
|
-
|
5039
|
-
const base64Prefix = 'data:image/svg+xml;base64,';
|
5040
|
-
|
5041
|
-
const isBase64Svg = (src) => src.startsWith(base64Prefix);
|
5042
|
-
|
5043
|
-
const createImgEle = (src) => {
|
5044
|
-
const ele = document.createElement('img');
|
5045
|
-
ele.setAttribute('src', src);
|
5046
|
-
return ele;
|
5047
|
-
};
|
5048
|
-
|
5049
|
-
const createSvgEle = (text) => {
|
5050
|
-
// we want to purify the SVG to avoid XSS attacks
|
5051
|
-
const clean = DOMPurify.sanitize(text, { USE_PROFILES: { svg: true, svgFilters: true } });
|
5052
|
-
|
5053
|
-
const parser = new DOMParser();
|
5054
|
-
const ele = parser.parseFromString(clean, 'image/svg+xml').querySelector('svg');
|
5055
|
-
return ele;
|
5056
|
-
};
|
5057
|
-
|
5058
|
-
const createIcon = async (src) => {
|
5059
|
-
try {
|
5060
|
-
let ele;
|
5061
|
-
if (isBase64Svg(src)) {
|
5062
|
-
// handle base64 source
|
5063
|
-
const svgXml = atob(src.slice(base64Prefix.length));
|
5064
|
-
ele = createSvgEle(svgXml);
|
5065
|
-
} else if (getFileExtension(src) === 'svg') {
|
5066
|
-
// handle urls
|
5067
|
-
const fetchedSrc = await fetch(src);
|
5068
|
-
const text = await fetchedSrc.text();
|
5069
|
-
ele = createSvgEle(text);
|
5070
|
-
} else {
|
5071
|
-
// handle binary
|
5072
|
-
ele = createImgEle(src);
|
5073
|
-
}
|
5074
|
-
|
5075
|
-
ele.style.setProperty('max-width', '100%');
|
5076
|
-
ele.style.setProperty('max-height', '100%');
|
5077
|
-
|
5078
|
-
return ele;
|
5079
|
-
} catch {
|
5080
|
-
return null;
|
5081
|
-
}
|
5082
|
-
};
|
5083
|
-
|
5084
|
-
/* eslint-disable no-use-before-define */
|
5085
|
-
|
5086
5051
|
const componentName$18 = getComponentName('icon');
|
5087
5052
|
|
5088
|
-
class RawIcon extends createBaseClass({ componentName: componentName$18, baseSelector: 'slot' }) {
|
5089
|
-
static get observedAttributes() {
|
5090
|
-
return ['src'];
|
5091
|
-
}
|
5092
|
-
|
5093
|
-
#icon;
|
5094
|
-
|
5095
|
-
constructor() {
|
5096
|
-
super();
|
5097
|
-
|
5098
|
-
this.attachShadow({ mode: 'open' }).innerHTML = `
|
5099
|
-
<slot></slot>
|
5100
|
-
`;
|
5101
|
-
|
5102
|
-
injectStyle(
|
5103
|
-
`
|
5104
|
-
:host > slot {
|
5105
|
-
box-sizing: border-box;
|
5106
|
-
width: 100%;
|
5107
|
-
height: 100%;
|
5108
|
-
display: flex;
|
5109
|
-
overflow: hidden;
|
5110
|
-
}
|
5111
|
-
:host {
|
5112
|
-
display: inline-block;
|
5113
|
-
}
|
5114
|
-
`,
|
5115
|
-
this
|
5116
|
-
);
|
5117
|
-
}
|
5118
|
-
|
5119
|
-
init() {
|
5120
|
-
super.init?.();
|
5121
|
-
this.toggleVisibility(this.src);
|
5122
|
-
}
|
5123
|
-
|
5124
|
-
toggleVisibility(isVisible) {
|
5125
|
-
this.style.display = isVisible ? '' : 'none';
|
5126
|
-
}
|
5127
|
-
|
5128
|
-
get src() {
|
5129
|
-
return this.getAttribute('src');
|
5130
|
-
}
|
5131
|
-
|
5132
|
-
// in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
|
5133
|
-
// with the value from the `st-fill` attribute
|
5134
|
-
// eslint-disable-next-line class-methods-use-this
|
5135
|
-
updateFillColor(node) {
|
5136
|
-
// set fill to root node and all its relevant selectors
|
5137
|
-
const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
|
5138
|
-
|
5139
|
-
elementsToReplace.forEach((ele) => {
|
5140
|
-
ele.setAttribute(
|
5141
|
-
'fill',
|
5142
|
-
`var(${IconClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`
|
5143
|
-
);
|
5144
|
-
});
|
5145
|
-
}
|
5146
|
-
|
5147
|
-
attributeChangedCallback(attrName, oldValue, newValue) {
|
5148
|
-
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
5149
|
-
|
5150
|
-
if (oldValue === newValue) return;
|
5151
|
-
|
5152
|
-
if (attrName === 'src') {
|
5153
|
-
this.toggleVisibility(newValue);
|
5154
|
-
|
5155
|
-
createIcon(this.src).then((res) => {
|
5156
|
-
this.innerHTML = '';
|
5157
|
-
if (res) {
|
5158
|
-
const clonedNode = res.cloneNode(true);
|
5159
|
-
this.updateFillColor(clonedNode);
|
5160
|
-
this.appendChild(clonedNode);
|
5161
|
-
}
|
5162
|
-
});
|
5163
|
-
}
|
5164
|
-
}
|
5165
|
-
}
|
5166
|
-
|
5167
5053
|
const IconClass = compose(
|
5168
5054
|
createStyleMixin({
|
5169
5055
|
mappings: {
|
5170
5056
|
fill: {},
|
5171
|
-
alignItems: {}
|
5172
5057
|
},
|
5173
5058
|
}),
|
5174
5059
|
draggableMixin,
|
5175
|
-
componentNameValidationMixin
|
5176
|
-
)(
|
5060
|
+
componentNameValidationMixin,
|
5061
|
+
)(
|
5062
|
+
createProxy({
|
5063
|
+
slots: [],
|
5064
|
+
wrappedEleName: 'descope-image',
|
5065
|
+
style: () => `
|
5066
|
+
:host {
|
5067
|
+
display: inline-flex;
|
5068
|
+
}
|
5069
|
+
`,
|
5070
|
+
excludeAttrsSync: ['tabindex', 'class'],
|
5071
|
+
componentName: componentName$18,
|
5072
|
+
}),
|
5073
|
+
);
|
5177
5074
|
|
5178
5075
|
const clickableMixin = (superclass) =>
|
5179
5076
|
class ClickableMixinClass extends superclass {
|
@@ -7858,7 +7755,7 @@ const toggleMaskVisibility = (input, value) => {
|
|
7858
7755
|
|
7859
7756
|
const componentName$X = getComponentName$1('passcode-internal');
|
7860
7757
|
|
7861
|
-
const observedAttributes$
|
7758
|
+
const observedAttributes$5 = ['digits', 'loading'];
|
7862
7759
|
|
7863
7760
|
const forwardAttributes = [
|
7864
7761
|
'disabled',
|
@@ -7873,7 +7770,7 @@ const BaseInputClass$9 = createBaseInputClass$1({ componentName: componentName$X
|
|
7873
7770
|
|
7874
7771
|
class PasscodeInternal extends BaseInputClass$9 {
|
7875
7772
|
static get observedAttributes() {
|
7876
|
-
return observedAttributes$
|
7773
|
+
return observedAttributes$5.concat(BaseInputClass$9.observedAttributes || []);
|
7877
7774
|
}
|
7878
7775
|
|
7879
7776
|
constructor() {
|
@@ -8067,7 +7964,7 @@ class PasscodeInternal extends BaseInputClass$9 {
|
|
8067
7964
|
|
8068
7965
|
// sync attributes to inputs
|
8069
7966
|
if (oldValue !== newValue) {
|
8070
|
-
if (observedAttributes$
|
7967
|
+
if (observedAttributes$5.includes(attrName)) {
|
8071
7968
|
if (attrName === 'digits') {
|
8072
7969
|
this.renderInputs();
|
8073
7970
|
}
|
@@ -8085,12 +7982,12 @@ class PasscodeInternal extends BaseInputClass$9 {
|
|
8085
7982
|
|
8086
7983
|
const componentName$W = getComponentName$1('passcode');
|
8087
7984
|
|
8088
|
-
const observedAttributes$
|
7985
|
+
const observedAttributes$4 = ['digits'];
|
8089
7986
|
|
8090
7987
|
const customMixin$c = (superclass) =>
|
8091
7988
|
class PasscodeMixinClass extends superclass {
|
8092
7989
|
static get observedAttributes() {
|
8093
|
-
return observedAttributes$
|
7990
|
+
return observedAttributes$4.concat(superclass.observedAttributes || []);
|
8094
7991
|
}
|
8095
7992
|
|
8096
7993
|
get digits() {
|
@@ -8946,56 +8843,6 @@ const TextAreaClass = compose$1(
|
|
8946
8843
|
|
8947
8844
|
customElements.define(componentName$T, TextAreaClass);
|
8948
8845
|
|
8949
|
-
const observedAttributes$4 = ['src', 'alt'];
|
8950
|
-
|
8951
|
-
const componentName$S = getComponentName$1('image');
|
8952
|
-
|
8953
|
-
const BaseClass$4 = createBaseClass$1({ componentName: componentName$S, baseSelector: ':host > img' });
|
8954
|
-
class RawImage extends BaseClass$4 {
|
8955
|
-
static get observedAttributes() {
|
8956
|
-
return observedAttributes$4.concat(BaseClass$4.observedAttributes || []);
|
8957
|
-
}
|
8958
|
-
|
8959
|
-
constructor() {
|
8960
|
-
super();
|
8961
|
-
|
8962
|
-
this.attachShadow({ mode: 'open' }).innerHTML = `
|
8963
|
-
<img/>
|
8964
|
-
`;
|
8965
|
-
|
8966
|
-
injectStyle(
|
8967
|
-
`
|
8968
|
-
:host > img {
|
8969
|
-
width: 100%;
|
8970
|
-
height: 100%
|
8971
|
-
}
|
8972
|
-
:host {
|
8973
|
-
display: inline-flex;
|
8974
|
-
}
|
8975
|
-
`,
|
8976
|
-
this
|
8977
|
-
);
|
8978
|
-
}
|
8979
|
-
|
8980
|
-
connectedCallback() {
|
8981
|
-
super.connectedCallback?.();
|
8982
|
-
|
8983
|
-
forwardAttrs$1(this, this.baseElement, { includeAttrs: observedAttributes$4 });
|
8984
|
-
}
|
8985
|
-
}
|
8986
|
-
|
8987
|
-
const ImageClass = compose$1(
|
8988
|
-
createStyleMixin$1({
|
8989
|
-
mappings: {
|
8990
|
-
height: { selector: () => ':host' },
|
8991
|
-
width: { selector: () => ':host' },
|
8992
|
-
},
|
8993
|
-
}),
|
8994
|
-
draggableMixin$1
|
8995
|
-
)(RawImage);
|
8996
|
-
|
8997
|
-
customElements.define(componentName$S, ImageClass);
|
8998
|
-
|
8999
8846
|
var CountryCodes = [
|
9000
8847
|
// United States should be the first option
|
9001
8848
|
{
|
@@ -10257,7 +10104,7 @@ const parsePhoneNumber = (val) => {
|
|
10257
10104
|
return [countryCode, phoneNumber];
|
10258
10105
|
};
|
10259
10106
|
|
10260
|
-
const componentName$
|
10107
|
+
const componentName$S = getComponentName$1('phone-field-internal');
|
10261
10108
|
|
10262
10109
|
const commonAttrs$1 = ['disabled', 'size', 'bordered', 'readonly'];
|
10263
10110
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
@@ -10271,7 +10118,7 @@ const mapAttrs$1 = {
|
|
10271
10118
|
|
10272
10119
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs, labelTypeAttrs);
|
10273
10120
|
|
10274
|
-
const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$
|
10121
|
+
const BaseInputClass$8 = createBaseInputClass$1({ componentName: componentName$S, baseSelector: 'div' });
|
10275
10122
|
|
10276
10123
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$8 {
|
10277
10124
|
static get observedAttributes() {
|
@@ -10628,12 +10475,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$8 {
|
|
10628
10475
|
}
|
10629
10476
|
};
|
10630
10477
|
|
10631
|
-
customElements.define(componentName$
|
10478
|
+
customElements.define(componentName$S, PhoneFieldInternal$1);
|
10632
10479
|
|
10633
10480
|
const textVars$1 = TextFieldClass.cssVarList;
|
10634
10481
|
const comboVars = ComboBoxClass.cssVarList;
|
10635
10482
|
|
10636
|
-
const componentName$
|
10483
|
+
const componentName$R = getComponentName$1('phone-field');
|
10637
10484
|
|
10638
10485
|
const customMixin$a = (superclass) =>
|
10639
10486
|
class PhoneFieldMixinClass extends superclass {
|
@@ -10647,15 +10494,15 @@ const customMixin$a = (superclass) =>
|
|
10647
10494
|
const template = document.createElement('template');
|
10648
10495
|
|
10649
10496
|
template.innerHTML = `
|
10650
|
-
<${componentName$
|
10497
|
+
<${componentName$S}
|
10651
10498
|
tabindex="-1"
|
10652
10499
|
slot="input"
|
10653
|
-
></${componentName$
|
10500
|
+
></${componentName$S}>
|
10654
10501
|
`;
|
10655
10502
|
|
10656
10503
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
10657
10504
|
|
10658
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
10505
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$S);
|
10659
10506
|
|
10660
10507
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
10661
10508
|
includeAttrs: [
|
@@ -10927,11 +10774,11 @@ const PhoneFieldClass = compose$1(
|
|
10927
10774
|
${resetInputLabelPosition('vaadin-text-field')}
|
10928
10775
|
`,
|
10929
10776
|
excludeAttrsSync: ['tabindex'],
|
10930
|
-
componentName: componentName$
|
10777
|
+
componentName: componentName$R,
|
10931
10778
|
})
|
10932
10779
|
);
|
10933
10780
|
|
10934
|
-
customElements.define(componentName$
|
10781
|
+
customElements.define(componentName$R, PhoneFieldClass);
|
10935
10782
|
|
10936
10783
|
const getCountryByCodeId = (countryCode) => {
|
10937
10784
|
return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
@@ -10943,7 +10790,7 @@ const matchingParenthesis = (val) => {
|
|
10943
10790
|
return openParenMatches?.length === closeParenMatches?.length;
|
10944
10791
|
};
|
10945
10792
|
|
10946
|
-
const componentName$
|
10793
|
+
const componentName$Q = getComponentName$1('phone-field-internal-input-box');
|
10947
10794
|
|
10948
10795
|
const observedAttributes$3 = [
|
10949
10796
|
'disabled',
|
@@ -10959,7 +10806,7 @@ const mapAttrs = {
|
|
10959
10806
|
'phone-input-placeholder': 'placeholder',
|
10960
10807
|
};
|
10961
10808
|
|
10962
|
-
const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$
|
10809
|
+
const BaseInputClass$7 = createBaseInputClass$1({ componentName: componentName$Q, baseSelector: 'div' });
|
10963
10810
|
|
10964
10811
|
class PhoneFieldInternal extends BaseInputClass$7 {
|
10965
10812
|
static get observedAttributes() {
|
@@ -11205,11 +11052,11 @@ class PhoneFieldInternal extends BaseInputClass$7 {
|
|
11205
11052
|
}
|
11206
11053
|
}
|
11207
11054
|
|
11208
|
-
customElements.define(componentName$
|
11055
|
+
customElements.define(componentName$Q, PhoneFieldInternal);
|
11209
11056
|
|
11210
11057
|
const textVars = TextFieldClass.cssVarList;
|
11211
11058
|
|
11212
|
-
const componentName$
|
11059
|
+
const componentName$P = getComponentName$1('phone-input-box-field');
|
11213
11060
|
|
11214
11061
|
const customMixin$9 = (superclass) =>
|
11215
11062
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
@@ -11223,15 +11070,15 @@ const customMixin$9 = (superclass) =>
|
|
11223
11070
|
const template = document.createElement('template');
|
11224
11071
|
|
11225
11072
|
template.innerHTML = `
|
11226
|
-
<${componentName$
|
11073
|
+
<${componentName$Q}
|
11227
11074
|
tabindex="-1"
|
11228
11075
|
slot="input"
|
11229
|
-
></${componentName$
|
11076
|
+
></${componentName$Q}>
|
11230
11077
|
`;
|
11231
11078
|
|
11232
11079
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
11233
11080
|
|
11234
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
11081
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$Q);
|
11235
11082
|
|
11236
11083
|
forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
|
11237
11084
|
includeAttrs: [
|
@@ -11435,20 +11282,20 @@ const PhoneFieldInputBoxClass = compose$1(
|
|
11435
11282
|
${inputFloatingLabelStyle()}
|
11436
11283
|
`,
|
11437
11284
|
excludeAttrsSync: ['tabindex'],
|
11438
|
-
componentName: componentName$
|
11285
|
+
componentName: componentName$P,
|
11439
11286
|
})
|
11440
11287
|
);
|
11441
11288
|
|
11442
|
-
customElements.define(componentName$
|
11289
|
+
customElements.define(componentName$P, PhoneFieldInputBoxClass);
|
11443
11290
|
|
11444
|
-
const componentName$
|
11291
|
+
const componentName$O = getComponentName$1('new-password-internal');
|
11445
11292
|
|
11446
11293
|
const interpolateString = (template, values) =>
|
11447
11294
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
11448
11295
|
|
11449
11296
|
// eslint-disable-next-line max-classes-per-file
|
11450
11297
|
|
11451
|
-
const componentName$
|
11298
|
+
const componentName$N = getComponentName$1('policy-validation');
|
11452
11299
|
|
11453
11300
|
const overrideAttrs = [
|
11454
11301
|
'data-password-policy-value-minlength',
|
@@ -11458,7 +11305,7 @@ const overrideAttrs = [
|
|
11458
11305
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
11459
11306
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
11460
11307
|
|
11461
|
-
class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$
|
11308
|
+
class RawPolicyValidation extends createBaseClass$1({ componentName: componentName$N, baseSelector: ':host > div' }) {
|
11462
11309
|
#availablePolicies;
|
11463
11310
|
|
11464
11311
|
#activePolicies = [];
|
@@ -11730,7 +11577,7 @@ const PolicyValidationClass = compose$1(
|
|
11730
11577
|
componentNameValidationMixin$1
|
11731
11578
|
)(RawPolicyValidation);
|
11732
11579
|
|
11733
|
-
const componentName$
|
11580
|
+
const componentName$M = getComponentName$1('new-password');
|
11734
11581
|
|
11735
11582
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
11736
11583
|
|
@@ -11744,18 +11591,18 @@ const customMixin$8 = (superclass) =>
|
|
11744
11591
|
const externalInputAttr = this.getAttribute('external-input');
|
11745
11592
|
|
11746
11593
|
template.innerHTML = `
|
11747
|
-
<${componentName$
|
11594
|
+
<${componentName$O}
|
11748
11595
|
name="new-password"
|
11749
11596
|
tabindex="-1"
|
11750
11597
|
slot="input"
|
11751
11598
|
external-input="${externalInputAttr}"
|
11752
11599
|
>
|
11753
|
-
</${componentName$
|
11600
|
+
</${componentName$O}>
|
11754
11601
|
`;
|
11755
11602
|
|
11756
11603
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
11757
11604
|
|
11758
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
11605
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$O);
|
11759
11606
|
|
11760
11607
|
if (this.getAttribute('external-input') === 'true') {
|
11761
11608
|
this.initExternalInput();
|
@@ -11939,11 +11786,11 @@ const NewPasswordClass = compose$1(
|
|
11939
11786
|
}
|
11940
11787
|
`,
|
11941
11788
|
excludeAttrsSync: ['tabindex'],
|
11942
|
-
componentName: componentName$
|
11789
|
+
componentName: componentName$M,
|
11943
11790
|
})
|
11944
11791
|
);
|
11945
11792
|
|
11946
|
-
customElements.define(componentName$
|
11793
|
+
customElements.define(componentName$N, PolicyValidationClass);
|
11947
11794
|
|
11948
11795
|
const passwordAttrPrefixRegex = /^password-/;
|
11949
11796
|
const confirmAttrPrefixRegex = /^confirm-/;
|
@@ -11983,7 +11830,7 @@ const inputRelatedAttrs = [].concat(
|
|
11983
11830
|
policyPanelAttrs
|
11984
11831
|
);
|
11985
11832
|
|
11986
|
-
const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$
|
11833
|
+
const BaseInputClass$6 = createBaseInputClass$1({ componentName: componentName$O, baseSelector: 'div' });
|
11987
11834
|
|
11988
11835
|
class NewPasswordInternal extends BaseInputClass$6 {
|
11989
11836
|
static get observedAttributes() {
|
@@ -12229,16 +12076,16 @@ class NewPasswordInternal extends BaseInputClass$6 {
|
|
12229
12076
|
}
|
12230
12077
|
}
|
12231
12078
|
|
12232
|
-
customElements.define(componentName$
|
12079
|
+
customElements.define(componentName$O, NewPasswordInternal);
|
12233
12080
|
|
12234
|
-
customElements.define(componentName$
|
12081
|
+
customElements.define(componentName$M, NewPasswordClass);
|
12235
12082
|
|
12236
|
-
const componentName$
|
12083
|
+
const componentName$L = getComponentName$1('recaptcha');
|
12237
12084
|
|
12238
12085
|
const observedAttributes$2 = ['enabled', 'site-key', 'action', 'enterprise'];
|
12239
12086
|
|
12240
12087
|
const BaseClass$3 = createBaseClass$1({
|
12241
|
-
componentName: componentName$
|
12088
|
+
componentName: componentName$L,
|
12242
12089
|
baseSelector: ':host > div',
|
12243
12090
|
});
|
12244
12091
|
class RawRecaptcha extends BaseClass$3 {
|
@@ -12463,7 +12310,7 @@ class RawRecaptcha extends BaseClass$3 {
|
|
12463
12310
|
|
12464
12311
|
const RecaptchaClass = compose$1(draggableMixin$1)(RawRecaptcha);
|
12465
12312
|
|
12466
|
-
customElements.define(componentName$
|
12313
|
+
customElements.define(componentName$L, RecaptchaClass);
|
12467
12314
|
|
12468
12315
|
const getFileBase64 = (fileObj) => {
|
12469
12316
|
return new Promise((resolve) => {
|
@@ -12477,7 +12324,7 @@ const getFilename = (fileObj) => {
|
|
12477
12324
|
return fileObj.name.replace(/^.*\\/, '');
|
12478
12325
|
};
|
12479
12326
|
|
12480
|
-
const componentName$
|
12327
|
+
const componentName$K = getComponentName$1('upload-file');
|
12481
12328
|
|
12482
12329
|
const observedAttributes$1 = [
|
12483
12330
|
'title',
|
@@ -12492,7 +12339,7 @@ const observedAttributes$1 = [
|
|
12492
12339
|
'icon',
|
12493
12340
|
];
|
12494
12341
|
|
12495
|
-
const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$
|
12342
|
+
const BaseInputClass$5 = createBaseInputClass$1({ componentName: componentName$K, baseSelector: ':host > div' });
|
12496
12343
|
|
12497
12344
|
class RawUploadFile extends BaseInputClass$5 {
|
12498
12345
|
static get observedAttributes() {
|
@@ -12711,7 +12558,7 @@ const UploadFileClass = compose$1(
|
|
12711
12558
|
componentNameValidationMixin$1
|
12712
12559
|
)(RawUploadFile);
|
12713
12560
|
|
12714
|
-
customElements.define(componentName$
|
12561
|
+
customElements.define(componentName$K, UploadFileClass);
|
12715
12562
|
|
12716
12563
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
12717
12564
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass$1({
|
@@ -12801,10 +12648,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
12801
12648
|
return BaseButtonSelectionGroupInternalClass;
|
12802
12649
|
};
|
12803
12650
|
|
12804
|
-
const componentName$
|
12651
|
+
const componentName$J = getComponentName$1('button-selection-group-internal');
|
12805
12652
|
|
12806
12653
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
12807
|
-
componentName$
|
12654
|
+
componentName$J
|
12808
12655
|
) {
|
12809
12656
|
getSelectedNode() {
|
12810
12657
|
return this.items.find((item) => item.hasAttribute('selected'));
|
@@ -13049,7 +12896,7 @@ const buttonSelectionGroupStyles = `
|
|
13049
12896
|
${resetInputCursor('vaadin-text-field')}
|
13050
12897
|
`;
|
13051
12898
|
|
13052
|
-
const componentName$
|
12899
|
+
const componentName$I = getComponentName$1('button-selection-group');
|
13053
12900
|
|
13054
12901
|
const buttonSelectionGroupMixin = (superclass) =>
|
13055
12902
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -13058,19 +12905,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
13058
12905
|
const template = document.createElement('template');
|
13059
12906
|
|
13060
12907
|
template.innerHTML = `
|
13061
|
-
<${componentName$
|
12908
|
+
<${componentName$J}
|
13062
12909
|
name="button-selection-group"
|
13063
12910
|
slot="input"
|
13064
12911
|
tabindex="-1"
|
13065
12912
|
part="internal-component"
|
13066
12913
|
>
|
13067
12914
|
<slot></slot>
|
13068
|
-
</${componentName$
|
12915
|
+
</${componentName$J}>
|
13069
12916
|
`;
|
13070
12917
|
|
13071
12918
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
13072
12919
|
|
13073
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
12920
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$J);
|
13074
12921
|
|
13075
12922
|
forwardAttrs$1(this, this.inputElement, {
|
13076
12923
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -13095,16 +12942,16 @@ const ButtonSelectionGroupClass = compose$1(
|
|
13095
12942
|
wrappedEleName: 'vaadin-text-field',
|
13096
12943
|
style: () => buttonSelectionGroupStyles,
|
13097
12944
|
excludeAttrsSync: ['tabindex'],
|
13098
|
-
componentName: componentName$
|
12945
|
+
componentName: componentName$I,
|
13099
12946
|
})
|
13100
12947
|
);
|
13101
12948
|
|
13102
|
-
customElements.define(componentName$
|
12949
|
+
customElements.define(componentName$J, ButtonSelectionGroupInternalClass);
|
13103
12950
|
|
13104
|
-
const componentName$
|
12951
|
+
const componentName$H = getComponentName$1('button-selection-group-item');
|
13105
12952
|
|
13106
12953
|
class RawSelectItem extends createBaseClass$1({
|
13107
|
-
componentName: componentName$
|
12954
|
+
componentName: componentName$H,
|
13108
12955
|
baseSelector: ':host > descope-button',
|
13109
12956
|
}) {
|
13110
12957
|
get size() {
|
@@ -13215,14 +13062,14 @@ const ButtonSelectionGroupItemClass = compose$1(
|
|
13215
13062
|
componentNameValidationMixin$1
|
13216
13063
|
)(RawSelectItem);
|
13217
13064
|
|
13218
|
-
customElements.define(componentName$
|
13065
|
+
customElements.define(componentName$H, ButtonSelectionGroupItemClass);
|
13219
13066
|
|
13220
|
-
customElements.define(componentName$
|
13067
|
+
customElements.define(componentName$I, ButtonSelectionGroupClass);
|
13221
13068
|
|
13222
|
-
const componentName$
|
13069
|
+
const componentName$G = getComponentName$1('button-multi-selection-group-internal');
|
13223
13070
|
|
13224
13071
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
13225
|
-
componentName$
|
13072
|
+
componentName$G
|
13226
13073
|
) {
|
13227
13074
|
#getSelectedNodes() {
|
13228
13075
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
@@ -13325,7 +13172,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
13325
13172
|
}
|
13326
13173
|
}
|
13327
13174
|
|
13328
|
-
const componentName$
|
13175
|
+
const componentName$F = getComponentName$1('button-multi-selection-group');
|
13329
13176
|
|
13330
13177
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
13331
13178
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
@@ -13334,19 +13181,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
13334
13181
|
const template = document.createElement('template');
|
13335
13182
|
|
13336
13183
|
template.innerHTML = `
|
13337
|
-
<${componentName$
|
13184
|
+
<${componentName$G}
|
13338
13185
|
name="button-selection-group"
|
13339
13186
|
slot="input"
|
13340
13187
|
tabindex="-1"
|
13341
13188
|
part="internal-component"
|
13342
13189
|
>
|
13343
13190
|
<slot></slot>
|
13344
|
-
</${componentName$
|
13191
|
+
</${componentName$G}>
|
13345
13192
|
`;
|
13346
13193
|
|
13347
13194
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
13348
13195
|
|
13349
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
13196
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$G);
|
13350
13197
|
|
13351
13198
|
forwardAttrs$1(this, this.inputElement, {
|
13352
13199
|
includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
|
@@ -13371,13 +13218,13 @@ const ButtonMultiSelectionGroupClass = compose$1(
|
|
13371
13218
|
wrappedEleName: 'vaadin-text-field',
|
13372
13219
|
style: () => buttonSelectionGroupStyles,
|
13373
13220
|
excludeAttrsSync: ['tabindex'],
|
13374
|
-
componentName: componentName$
|
13221
|
+
componentName: componentName$F,
|
13375
13222
|
})
|
13376
13223
|
);
|
13377
13224
|
|
13378
|
-
customElements.define(componentName$
|
13225
|
+
customElements.define(componentName$G, ButtonMultiSelectionGroupInternalClass);
|
13379
13226
|
|
13380
|
-
customElements.define(componentName$
|
13227
|
+
customElements.define(componentName$F, ButtonMultiSelectionGroupClass);
|
13381
13228
|
|
13382
13229
|
/* eslint-disable no-param-reassign */
|
13383
13230
|
|
@@ -13405,9 +13252,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
13405
13252
|
}
|
13406
13253
|
}
|
13407
13254
|
|
13408
|
-
const componentName$
|
13255
|
+
const componentName$E = getComponentName$1('grid-text-column');
|
13409
13256
|
|
13410
|
-
customElements.define(componentName$
|
13257
|
+
customElements.define(componentName$E, GridTextColumnClass);
|
13411
13258
|
|
13412
13259
|
/* eslint-disable no-param-reassign */
|
13413
13260
|
|
@@ -13442,9 +13289,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
13442
13289
|
|
13443
13290
|
/* eslint-disable no-param-reassign */
|
13444
13291
|
|
13445
|
-
const componentName$
|
13292
|
+
const componentName$D = getComponentName$1('grid-custom-column');
|
13446
13293
|
|
13447
|
-
customElements.define(componentName$
|
13294
|
+
customElements.define(componentName$D, GridCustomColumnClass);
|
13448
13295
|
|
13449
13296
|
const createCheckboxEle = () => {
|
13450
13297
|
const checkbox = document.createElement('descope-checkbox');
|
@@ -13503,9 +13350,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
13503
13350
|
}
|
13504
13351
|
}
|
13505
13352
|
|
13506
|
-
const componentName$
|
13353
|
+
const componentName$C = getComponentName$1('grid-selection-column');
|
13507
13354
|
|
13508
|
-
customElements.define(componentName$
|
13355
|
+
customElements.define(componentName$C, GridSelectionColumnClass);
|
13509
13356
|
|
13510
13357
|
/* eslint-disable no-param-reassign */
|
13511
13358
|
|
@@ -13544,9 +13391,9 @@ class GridItemDetailsColumnClass extends GridSortColumn {
|
|
13544
13391
|
}
|
13545
13392
|
}
|
13546
13393
|
|
13547
|
-
const componentName$
|
13394
|
+
const componentName$B = getComponentName$1('grid-item-details-column');
|
13548
13395
|
|
13549
|
-
customElements.define(componentName$
|
13396
|
+
customElements.define(componentName$B, GridItemDetailsColumnClass);
|
13550
13397
|
|
13551
13398
|
const decode = (input) => {
|
13552
13399
|
const txt = document.createElement('textarea');
|
@@ -13558,9 +13405,9 @@ const tpl = (input, inline) => {
|
|
13558
13405
|
return inline ? input : `<pre>${input}</pre>`;
|
13559
13406
|
};
|
13560
13407
|
|
13561
|
-
const componentName$
|
13408
|
+
const componentName$A = getComponentName$1('code-snippet');
|
13562
13409
|
|
13563
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName: componentName$
|
13410
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass$1({ componentName: componentName$A, baseSelector: ':host > code' }) {
|
13564
13411
|
static get observedAttributes() {
|
13565
13412
|
return ['lang', 'inline'];
|
13566
13413
|
}
|
@@ -13794,7 +13641,7 @@ const CodeSnippetClass = compose$1(
|
|
13794
13641
|
componentNameValidationMixin$1
|
13795
13642
|
)(CodeSnippet$1);
|
13796
13643
|
|
13797
|
-
customElements.define(componentName$
|
13644
|
+
customElements.define(componentName$A, CodeSnippetClass);
|
13798
13645
|
|
13799
13646
|
const isValidDataType = (data) => {
|
13800
13647
|
const isValid = Array.isArray(data);
|
@@ -13869,7 +13716,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
|
|
13869
13716
|
`;
|
13870
13717
|
};
|
13871
13718
|
|
13872
|
-
const componentName$
|
13719
|
+
const componentName$z = getComponentName$1('grid');
|
13873
13720
|
|
13874
13721
|
const GridMixin = (superclass) =>
|
13875
13722
|
class GridMixinClass extends superclass {
|
@@ -14223,13 +14070,13 @@ const GridClass = compose$1(
|
|
14223
14070
|
/*!css*/
|
14224
14071
|
`,
|
14225
14072
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
14226
|
-
componentName: componentName$
|
14073
|
+
componentName: componentName$z,
|
14227
14074
|
})
|
14228
14075
|
);
|
14229
14076
|
|
14230
|
-
customElements.define(componentName$
|
14077
|
+
customElements.define(componentName$z, GridClass);
|
14231
14078
|
|
14232
|
-
const componentName$
|
14079
|
+
const componentName$y = getComponentName$1('multi-select-combo-box');
|
14233
14080
|
|
14234
14081
|
const multiSelectComboBoxMixin = (superclass) =>
|
14235
14082
|
class MultiSelectComboBoxMixinClass extends superclass {
|
@@ -14882,16 +14729,16 @@ const MultiSelectComboBoxClass = compose$1(
|
|
14882
14729
|
// Note: we exclude `placeholder` because the vaadin component observes it and
|
14883
14730
|
// tries to override it, causing us to lose the user set placeholder.
|
14884
14731
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
|
14885
|
-
componentName: componentName$
|
14732
|
+
componentName: componentName$y,
|
14886
14733
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
14887
14734
|
})
|
14888
14735
|
);
|
14889
14736
|
|
14890
|
-
customElements.define(componentName$
|
14737
|
+
customElements.define(componentName$y, MultiSelectComboBoxClass);
|
14891
14738
|
|
14892
|
-
const componentName$
|
14739
|
+
const componentName$x = getComponentName$1('badge');
|
14893
14740
|
|
14894
|
-
class RawBadge extends createBaseClass$1({ componentName: componentName$
|
14741
|
+
class RawBadge extends createBaseClass$1({ componentName: componentName$x, baseSelector: ':host > div' }) {
|
14895
14742
|
constructor() {
|
14896
14743
|
super();
|
14897
14744
|
|
@@ -14946,9 +14793,9 @@ const BadgeClass = compose$1(
|
|
14946
14793
|
componentNameValidationMixin$1
|
14947
14794
|
)(RawBadge);
|
14948
14795
|
|
14949
|
-
customElements.define(componentName$
|
14796
|
+
customElements.define(componentName$x, BadgeClass);
|
14950
14797
|
|
14951
|
-
const componentName$
|
14798
|
+
const componentName$w = getComponentName$1('modal');
|
14952
14799
|
|
14953
14800
|
const observedAttrs$2 = ['opened'];
|
14954
14801
|
|
@@ -15072,11 +14919,11 @@ const ModalClass = compose$1(
|
|
15072
14919
|
}
|
15073
14920
|
`,
|
15074
14921
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
15075
|
-
componentName: componentName$
|
14922
|
+
componentName: componentName$w,
|
15076
14923
|
})
|
15077
14924
|
);
|
15078
14925
|
|
15079
|
-
customElements.define(componentName$
|
14926
|
+
customElements.define(componentName$w, ModalClass);
|
15080
14927
|
|
15081
14928
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
15082
14929
|
|
@@ -15087,7 +14934,7 @@ if (!vaadinContainerClass) {
|
|
15087
14934
|
class NotificationContainerClass extends vaadinContainerClass {}
|
15088
14935
|
customElements.define(getComponentName$1('notification-container'), NotificationContainerClass);
|
15089
14936
|
|
15090
|
-
const componentName$
|
14937
|
+
const componentName$v = getComponentName$1('notification-card');
|
15091
14938
|
|
15092
14939
|
const notificationCardMixin = (superclass) =>
|
15093
14940
|
class NotificationCardMixinClass extends superclass {
|
@@ -15195,13 +15042,13 @@ const NotificationCardClass = compose$1(
|
|
15195
15042
|
}
|
15196
15043
|
`,
|
15197
15044
|
excludeAttrsSync: ['tabindex'],
|
15198
|
-
componentName: componentName$
|
15045
|
+
componentName: componentName$v,
|
15199
15046
|
})
|
15200
15047
|
);
|
15201
15048
|
|
15202
|
-
customElements.define(componentName$
|
15049
|
+
customElements.define(componentName$v, NotificationCardClass);
|
15203
15050
|
|
15204
|
-
const componentName$
|
15051
|
+
const componentName$u = getComponentName$1('notification');
|
15205
15052
|
|
15206
15053
|
const NotificationMixin = (superclass) =>
|
15207
15054
|
class NotificationMixinClass extends superclass {
|
@@ -15296,15 +15143,15 @@ const NotificationClass = compose$1(
|
|
15296
15143
|
createProxy$1({
|
15297
15144
|
wrappedEleName: 'vaadin-notification',
|
15298
15145
|
excludeAttrsSync: ['tabindex'],
|
15299
|
-
componentName: componentName$
|
15146
|
+
componentName: componentName$u,
|
15300
15147
|
})
|
15301
15148
|
);
|
15302
15149
|
|
15303
|
-
customElements.define(componentName$
|
15150
|
+
customElements.define(componentName$u, NotificationClass);
|
15304
15151
|
|
15305
|
-
const componentName$
|
15152
|
+
const componentName$t = getComponentName$1('mappings-field-internal');
|
15306
15153
|
|
15307
|
-
const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$
|
15154
|
+
const BaseInputClass$4 = createBaseInputClass$1({ componentName: componentName$t, baseSelector: 'div' });
|
15308
15155
|
|
15309
15156
|
class MappingsFieldInternal extends BaseInputClass$4 {
|
15310
15157
|
#errorItem;
|
@@ -15551,7 +15398,7 @@ class MappingsFieldInternal extends BaseInputClass$4 {
|
|
15551
15398
|
}
|
15552
15399
|
}
|
15553
15400
|
|
15554
|
-
const componentName$
|
15401
|
+
const componentName$s = getComponentName$1('mappings-field');
|
15555
15402
|
|
15556
15403
|
const customMixin$6 = (superclass) =>
|
15557
15404
|
class MappingsFieldMixinClass extends superclass {
|
@@ -15580,14 +15427,14 @@ const customMixin$6 = (superclass) =>
|
|
15580
15427
|
const template = document.createElement('template');
|
15581
15428
|
|
15582
15429
|
template.innerHTML = `
|
15583
|
-
<${componentName$
|
15430
|
+
<${componentName$t}
|
15584
15431
|
tabindex="-1"
|
15585
|
-
></${componentName$
|
15432
|
+
></${componentName$t}>
|
15586
15433
|
`;
|
15587
15434
|
|
15588
15435
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
15589
15436
|
|
15590
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
15437
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$t);
|
15591
15438
|
|
15592
15439
|
forwardAttrs$1(this, this.inputElement, {
|
15593
15440
|
includeAttrs: [
|
@@ -15722,13 +15569,13 @@ const MappingsFieldClass = compose$1(
|
|
15722
15569
|
'options',
|
15723
15570
|
'error-message',
|
15724
15571
|
],
|
15725
|
-
componentName: componentName$
|
15572
|
+
componentName: componentName$s,
|
15726
15573
|
})
|
15727
15574
|
);
|
15728
15575
|
|
15729
|
-
customElements.define(componentName$
|
15576
|
+
customElements.define(componentName$t, MappingsFieldInternal);
|
15730
15577
|
|
15731
|
-
const componentName$
|
15578
|
+
const componentName$r = getComponentName$1('mapping-item');
|
15732
15579
|
|
15733
15580
|
const inputAttrs = [
|
15734
15581
|
'size',
|
@@ -15741,7 +15588,7 @@ const inputAttrs = [
|
|
15741
15588
|
'st-error-message-icon-padding',
|
15742
15589
|
];
|
15743
15590
|
|
15744
|
-
const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$
|
15591
|
+
const BaseInputClass$3 = createBaseInputClass$1({ componentName: componentName$r, baseSelector: 'div' });
|
15745
15592
|
|
15746
15593
|
class MappingItem extends BaseInputClass$3 {
|
15747
15594
|
static get observedAttributes() {
|
@@ -15896,17 +15743,17 @@ class MappingItem extends BaseInputClass$3 {
|
|
15896
15743
|
}
|
15897
15744
|
}
|
15898
15745
|
|
15899
|
-
customElements.define(componentName$
|
15746
|
+
customElements.define(componentName$r, MappingItem);
|
15900
15747
|
|
15901
|
-
customElements.define(componentName$
|
15748
|
+
customElements.define(componentName$s, MappingsFieldClass);
|
15902
15749
|
|
15903
15750
|
var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
15904
15751
|
|
15905
15752
|
var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
|
15906
15753
|
|
15907
|
-
const componentName$
|
15754
|
+
const componentName$q = getComponentName$1('user-attribute');
|
15908
15755
|
class RawUserAttribute extends createBaseClass$1({
|
15909
|
-
componentName: componentName$
|
15756
|
+
componentName: componentName$q,
|
15910
15757
|
baseSelector: ':host > .root',
|
15911
15758
|
}) {
|
15912
15759
|
constructor() {
|
@@ -16150,13 +15997,13 @@ const UserAttributeClass = compose$1(
|
|
16150
15997
|
componentNameValidationMixin$1
|
16151
15998
|
)(RawUserAttribute);
|
16152
15999
|
|
16153
|
-
customElements.define(componentName$
|
16000
|
+
customElements.define(componentName$q, UserAttributeClass);
|
16154
16001
|
|
16155
16002
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
16156
16003
|
|
16157
|
-
const componentName$
|
16004
|
+
const componentName$p = getComponentName$1('user-auth-method');
|
16158
16005
|
class RawUserAuthMethod extends createBaseClass$1({
|
16159
|
-
componentName: componentName$
|
16006
|
+
componentName: componentName$p,
|
16160
16007
|
baseSelector: ':host > .root',
|
16161
16008
|
}) {
|
16162
16009
|
constructor() {
|
@@ -16351,11 +16198,11 @@ const UserAuthMethodClass = compose$1(
|
|
16351
16198
|
componentNameValidationMixin$1
|
16352
16199
|
)(RawUserAuthMethod);
|
16353
16200
|
|
16354
|
-
customElements.define(componentName$
|
16201
|
+
customElements.define(componentName$p, UserAuthMethodClass);
|
16355
16202
|
|
16356
|
-
const componentName$
|
16203
|
+
const componentName$o = getComponentName$1('saml-group-mappings-internal');
|
16357
16204
|
|
16358
|
-
const BaseInputClass$2 = createBaseInputClass$1({ componentName: componentName$
|
16205
|
+
const BaseInputClass$2 = createBaseInputClass$1({ componentName: componentName$o, baseSelector: '' });
|
16359
16206
|
|
16360
16207
|
class SamlGroupMappingsInternal extends BaseInputClass$2 {
|
16361
16208
|
static get observedAttributes() {
|
@@ -16481,7 +16328,7 @@ class SamlGroupMappingsInternal extends BaseInputClass$2 {
|
|
16481
16328
|
}
|
16482
16329
|
}
|
16483
16330
|
|
16484
|
-
const componentName$
|
16331
|
+
const componentName$n = getComponentName$1('saml-group-mappings');
|
16485
16332
|
|
16486
16333
|
const customMixin$5 = (superclass) =>
|
16487
16334
|
class SamlGroupMappingsMixinClass extends superclass {
|
@@ -16491,14 +16338,14 @@ const customMixin$5 = (superclass) =>
|
|
16491
16338
|
const template = document.createElement('template');
|
16492
16339
|
|
16493
16340
|
template.innerHTML = `
|
16494
|
-
<${componentName$
|
16341
|
+
<${componentName$o}
|
16495
16342
|
tabindex="-1"
|
16496
|
-
></${componentName$
|
16343
|
+
></${componentName$o}>
|
16497
16344
|
`;
|
16498
16345
|
|
16499
16346
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
16500
16347
|
|
16501
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
16348
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$o);
|
16502
16349
|
|
16503
16350
|
forwardAttrs$1(this, this.inputElement, {
|
16504
16351
|
includeAttrs: [
|
@@ -16582,15 +16429,15 @@ const SamlGroupMappingsClass = compose$1(
|
|
16582
16429
|
'options',
|
16583
16430
|
'error-message',
|
16584
16431
|
],
|
16585
|
-
componentName: componentName$
|
16432
|
+
componentName: componentName$n,
|
16586
16433
|
})
|
16587
16434
|
);
|
16588
16435
|
|
16589
|
-
customElements.define(componentName$
|
16436
|
+
customElements.define(componentName$o, SamlGroupMappingsInternal);
|
16590
16437
|
|
16591
|
-
customElements.define(componentName$
|
16438
|
+
customElements.define(componentName$n, SamlGroupMappingsClass);
|
16592
16439
|
|
16593
|
-
const componentName$
|
16440
|
+
const componentName$m = getComponentName$1('radio-button');
|
16594
16441
|
|
16595
16442
|
const customMixin$4 = (superclass) =>
|
16596
16443
|
class CustomMixin extends superclass {
|
@@ -16655,11 +16502,11 @@ const RadioButtonClass = compose$1(
|
|
16655
16502
|
wrappedEleName: 'vaadin-radio-button',
|
16656
16503
|
excludeAttrsSync: ['tabindex', 'data'],
|
16657
16504
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
16658
|
-
componentName: componentName$
|
16505
|
+
componentName: componentName$m,
|
16659
16506
|
})
|
16660
16507
|
);
|
16661
16508
|
|
16662
|
-
const componentName$
|
16509
|
+
const componentName$l = getComponentName$1('radio-group');
|
16663
16510
|
|
16664
16511
|
const RadioGroupMixin = (superclass) =>
|
16665
16512
|
class RadioGroupMixinClass extends superclass {
|
@@ -16674,12 +16521,12 @@ const RadioGroupMixin = (superclass) =>
|
|
16674
16521
|
|
16675
16522
|
// we are overriding vaadin children getter so it will run on our custom elements
|
16676
16523
|
Object.defineProperty(this.baseElement, 'children', {
|
16677
|
-
get: () => this.querySelectorAll(componentName$
|
16524
|
+
get: () => this.querySelectorAll(componentName$m),
|
16678
16525
|
});
|
16679
16526
|
|
16680
16527
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
16681
16528
|
this.baseElement.__filterRadioButtons = (nodes) => {
|
16682
|
-
return nodes.filter((node) => node.localName === componentName$
|
16529
|
+
return nodes.filter((node) => node.localName === componentName$m);
|
16683
16530
|
};
|
16684
16531
|
|
16685
16532
|
// vaadin radio group missing some input properties
|
@@ -16829,13 +16676,13 @@ const RadioGroupClass = compose$1(
|
|
16829
16676
|
`,
|
16830
16677
|
|
16831
16678
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
|
16832
|
-
componentName: componentName$
|
16679
|
+
componentName: componentName$l,
|
16833
16680
|
includeForwardProps: ['value'],
|
16834
16681
|
})
|
16835
16682
|
);
|
16836
16683
|
|
16837
|
-
customElements.define(componentName$
|
16838
|
-
customElements.define(componentName$
|
16684
|
+
customElements.define(componentName$l, RadioGroupClass);
|
16685
|
+
customElements.define(componentName$m, RadioButtonClass);
|
16839
16686
|
|
16840
16687
|
const activeableMixin = (superclass) =>
|
16841
16688
|
class ActiveableMixinClass extends superclass {
|
@@ -16852,7 +16699,7 @@ const activeableMixin = (superclass) =>
|
|
16852
16699
|
}
|
16853
16700
|
};
|
16854
16701
|
|
16855
|
-
const componentName$
|
16702
|
+
const componentName$k = getComponentName$1('list-item');
|
16856
16703
|
|
16857
16704
|
const customMixin$3 = (superclass) =>
|
16858
16705
|
class ListItemMixinClass extends superclass {
|
@@ -16902,11 +16749,11 @@ const ListItemClass = compose$1(
|
|
16902
16749
|
componentNameValidationMixin$1,
|
16903
16750
|
customMixin$3,
|
16904
16751
|
activeableMixin
|
16905
|
-
)(createBaseClass$1({ componentName: componentName$
|
16752
|
+
)(createBaseClass$1({ componentName: componentName$k, baseSelector: 'slot' }));
|
16906
16753
|
|
16907
|
-
const componentName$
|
16754
|
+
const componentName$j = getComponentName$1('list');
|
16908
16755
|
|
16909
|
-
class RawList extends createBaseClass$1({ componentName: componentName$
|
16756
|
+
class RawList extends createBaseClass$1({ componentName: componentName$j, baseSelector: '.wrapper' }) {
|
16910
16757
|
static get observedAttributes() {
|
16911
16758
|
return ['variant', 'readonly'];
|
16912
16759
|
}
|
@@ -17054,12 +16901,12 @@ const ListClass = compose$1(
|
|
17054
16901
|
componentNameValidationMixin$1
|
17055
16902
|
)(RawList);
|
17056
16903
|
|
17057
|
-
customElements.define(componentName$
|
17058
|
-
customElements.define(componentName$
|
16904
|
+
customElements.define(componentName$j, ListClass);
|
16905
|
+
customElements.define(componentName$k, ListItemClass);
|
17059
16906
|
|
17060
|
-
const componentName$
|
16907
|
+
const componentName$i = getComponentName('avatar');
|
17061
16908
|
class RawAvatar extends createBaseClass({
|
17062
|
-
componentName: componentName$
|
16909
|
+
componentName: componentName$i,
|
17063
16910
|
baseSelector: ':host > .wrapper',
|
17064
16911
|
}) {
|
17065
16912
|
constructor() {
|
@@ -17167,7 +17014,7 @@ const AvatarClass = compose(
|
|
17167
17014
|
componentNameValidationMixin,
|
17168
17015
|
)(RawAvatar);
|
17169
17016
|
|
17170
|
-
customElements.define(componentName$
|
17017
|
+
customElements.define(componentName$i, AvatarClass);
|
17171
17018
|
|
17172
17019
|
const defaultValidateSchema = () => true;
|
17173
17020
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
@@ -17268,7 +17115,7 @@ const createDynamicDataMixin =
|
|
17268
17115
|
}
|
17269
17116
|
};
|
17270
17117
|
|
17271
|
-
const componentName$
|
17118
|
+
const componentName$h = getComponentName$1('apps-list');
|
17272
17119
|
|
17273
17120
|
const limitAbbreviation = (str, limit = 2) =>
|
17274
17121
|
str
|
@@ -17330,7 +17177,7 @@ const AppsListClass = compose$1(
|
|
17330
17177
|
slots: ['empty-state'],
|
17331
17178
|
wrappedEleName: 'descope-list',
|
17332
17179
|
excludeAttrsSync: ['tabindex', 'class', 'empty'],
|
17333
|
-
componentName: componentName$
|
17180
|
+
componentName: componentName$h,
|
17334
17181
|
style: () => `
|
17335
17182
|
:host {
|
17336
17183
|
width: 100%;
|
@@ -17355,9 +17202,9 @@ const AppsListClass = compose$1(
|
|
17355
17202
|
})
|
17356
17203
|
);
|
17357
17204
|
|
17358
|
-
customElements.define(componentName$
|
17205
|
+
customElements.define(componentName$h, AppsListClass);
|
17359
17206
|
|
17360
|
-
const componentName$
|
17207
|
+
const componentName$g = getComponentName$1('scopes-list');
|
17361
17208
|
const variants = ['checkbox', 'switch'];
|
17362
17209
|
|
17363
17210
|
const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
@@ -17376,7 +17223,7 @@ const itemRenderer = ({ id, desc, required = false }, _, ref) => {
|
|
17376
17223
|
`;
|
17377
17224
|
};
|
17378
17225
|
|
17379
|
-
class RawScopesList extends createBaseClass$1({ componentName: componentName$
|
17226
|
+
class RawScopesList extends createBaseClass$1({ componentName: componentName$g, baseSelector: 'div' }) {
|
17380
17227
|
constructor() {
|
17381
17228
|
super();
|
17382
17229
|
|
@@ -17484,13 +17331,13 @@ const ScopesListClass = compose$1(
|
|
17484
17331
|
componentNameValidationMixin$1
|
17485
17332
|
)(RawScopesList);
|
17486
17333
|
|
17487
|
-
customElements.define(componentName$
|
17334
|
+
customElements.define(componentName$g, ScopesListClass);
|
17488
17335
|
|
17489
17336
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
17490
17337
|
|
17491
|
-
const componentName$
|
17338
|
+
const componentName$f = getComponentName$1('third-party-app-logo');
|
17492
17339
|
class RawThirdPartyAppLogoClass extends createBaseClass$1({
|
17493
|
-
componentName: componentName$
|
17340
|
+
componentName: componentName$f,
|
17494
17341
|
baseSelector: '.wrapper',
|
17495
17342
|
}) {
|
17496
17343
|
constructor() {
|
@@ -17587,9 +17434,196 @@ const ThirdPartyAppLogoClass = compose$1(
|
|
17587
17434
|
componentNameValidationMixin$1
|
17588
17435
|
)(RawThirdPartyAppLogoClass);
|
17589
17436
|
|
17437
|
+
const getFileExtension = (path) => {
|
17438
|
+
const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
|
17439
|
+
return match ? match[1] : null;
|
17440
|
+
};
|
17441
|
+
|
17442
|
+
const base64Prefix = 'data:image/svg+xml;base64,';
|
17443
|
+
|
17444
|
+
const isBase64Svg = (src) => src.startsWith(base64Prefix);
|
17445
|
+
|
17446
|
+
const createImgEle = (src) => {
|
17447
|
+
const ele = document.createElement('img');
|
17448
|
+
ele.setAttribute('src', src);
|
17449
|
+
return ele;
|
17450
|
+
};
|
17451
|
+
|
17452
|
+
const createSvgEle = (text) => {
|
17453
|
+
// we want to purify the SVG to avoid XSS attacks
|
17454
|
+
const clean = DOMPurify.sanitize(text, {
|
17455
|
+
USE_PROFILES: { svg: true, svgFilters: true },
|
17456
|
+
});
|
17457
|
+
|
17458
|
+
const parser = new DOMParser();
|
17459
|
+
const ele = parser
|
17460
|
+
.parseFromString(clean, 'image/svg+xml')
|
17461
|
+
.querySelector('svg');
|
17462
|
+
return ele;
|
17463
|
+
};
|
17464
|
+
|
17465
|
+
const createImage = async (src) => {
|
17466
|
+
try {
|
17467
|
+
let ele;
|
17468
|
+
if (isBase64Svg(src)) {
|
17469
|
+
// handle base64 source
|
17470
|
+
const svgXml = atob(src.slice(base64Prefix.length));
|
17471
|
+
ele = createSvgEle(svgXml);
|
17472
|
+
} else if (getFileExtension(src) === 'svg') {
|
17473
|
+
// handle urls
|
17474
|
+
const fetchedSrc = await fetch(src);
|
17475
|
+
const text = await fetchedSrc.text();
|
17476
|
+
ele = createSvgEle(text);
|
17477
|
+
} else {
|
17478
|
+
// handle binary
|
17479
|
+
ele = createImgEle(src);
|
17480
|
+
}
|
17481
|
+
|
17482
|
+
ele.style.setProperty('max-width', '100%');
|
17483
|
+
ele.style.setProperty('max-height', '100%');
|
17484
|
+
|
17485
|
+
return ele;
|
17486
|
+
} catch {
|
17487
|
+
return null;
|
17488
|
+
}
|
17489
|
+
};
|
17490
|
+
|
17491
|
+
/* eslint-disable no-use-before-define */
|
17492
|
+
|
17493
|
+
const componentName$e = getComponentName('image');
|
17494
|
+
|
17495
|
+
const srcAttrs = ['src', 'src-dark'];
|
17496
|
+
|
17497
|
+
class RawImage extends createBaseClass({
|
17498
|
+
componentName: componentName$e,
|
17499
|
+
baseSelector: 'slot',
|
17500
|
+
}) {
|
17501
|
+
static get observedAttributes() {
|
17502
|
+
return srcAttrs;
|
17503
|
+
}
|
17504
|
+
|
17505
|
+
constructor() {
|
17506
|
+
super();
|
17507
|
+
|
17508
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17509
|
+
<slot></slot>
|
17510
|
+
`;
|
17511
|
+
|
17512
|
+
injectStyle(
|
17513
|
+
`
|
17514
|
+
:host {
|
17515
|
+
display: inline-flex;
|
17516
|
+
}
|
17517
|
+
:host > slot {
|
17518
|
+
width: 100%;
|
17519
|
+
height: 100%;
|
17520
|
+
box-sizing: border-box;
|
17521
|
+
display: flex;
|
17522
|
+
overflow: hidden;
|
17523
|
+
}
|
17524
|
+
|
17525
|
+
::slotted(*) {
|
17526
|
+
width: 100%;
|
17527
|
+
}
|
17528
|
+
|
17529
|
+
.hidden {
|
17530
|
+
display: none;
|
17531
|
+
}
|
17532
|
+
`,
|
17533
|
+
this,
|
17534
|
+
);
|
17535
|
+
}
|
17536
|
+
|
17537
|
+
init() {
|
17538
|
+
super.init?.();
|
17539
|
+
this.toggleVisibility(this.src);
|
17540
|
+
}
|
17541
|
+
|
17542
|
+
onThemeChange() {
|
17543
|
+
this.renderImage();
|
17544
|
+
}
|
17545
|
+
|
17546
|
+
toggleVisibility(isVisible) {
|
17547
|
+
if (isVisible) {
|
17548
|
+
this.classList.remove('hidden');
|
17549
|
+
} else {
|
17550
|
+
this.classList.add('hidden');
|
17551
|
+
}
|
17552
|
+
}
|
17553
|
+
|
17554
|
+
get legacySrc() {
|
17555
|
+
return this.getAttribute('src');
|
17556
|
+
}
|
17557
|
+
|
17558
|
+
get themeSrc() {
|
17559
|
+
return this.getAttribute(`src-${this.currentThemeName}`);
|
17560
|
+
}
|
17561
|
+
|
17562
|
+
get src() {
|
17563
|
+
return this.themeSrc || this.legacySrc;
|
17564
|
+
}
|
17565
|
+
|
17566
|
+
// in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
|
17567
|
+
// with the value from the `st-fill` attribute
|
17568
|
+
// eslint-disable-next-line class-methods-use-this
|
17569
|
+
updateFillColor(node) {
|
17570
|
+
// set fill to root node and all its relevant selectors
|
17571
|
+
const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
|
17572
|
+
|
17573
|
+
elementsToReplace.forEach((ele) => {
|
17574
|
+
ele.setAttribute(
|
17575
|
+
'fill',
|
17576
|
+
`var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
|
17577
|
+
);
|
17578
|
+
});
|
17579
|
+
}
|
17580
|
+
|
17581
|
+
renderImage() {
|
17582
|
+
this.toggleVisibility(this.src);
|
17583
|
+
|
17584
|
+
createImage(this.src).then((res) => {
|
17585
|
+
this.innerHTML = '';
|
17586
|
+
if (res) {
|
17587
|
+
this.updateFillColor(res);
|
17588
|
+
this.appendChild(res);
|
17589
|
+
}
|
17590
|
+
});
|
17591
|
+
}
|
17592
|
+
|
17593
|
+
// render only when src attribute matches current theme
|
17594
|
+
shouldRender(src) {
|
17595
|
+
const srcVal = this.getAttribute(src);
|
17596
|
+
return this.src === srcVal;
|
17597
|
+
}
|
17598
|
+
|
17599
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
17600
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
17601
|
+
|
17602
|
+
if (oldValue === newValue) return;
|
17603
|
+
|
17604
|
+
if (this.shouldRender(attrName)) {
|
17605
|
+
this.renderImage();
|
17606
|
+
}
|
17607
|
+
}
|
17608
|
+
}
|
17609
|
+
|
17610
|
+
const ImageClass = compose(
|
17611
|
+
createStyleMixin({
|
17612
|
+
mappings: {
|
17613
|
+
fill: {},
|
17614
|
+
height: { selector: () => ':host' },
|
17615
|
+
width: { selector: () => ':host' },
|
17616
|
+
},
|
17617
|
+
}),
|
17618
|
+
draggableMixin,
|
17619
|
+
componentNameValidationMixin,
|
17620
|
+
)(RawImage);
|
17621
|
+
|
17622
|
+
customElements.define(componentName$e, ImageClass);
|
17623
|
+
|
17590
17624
|
customElements.define(componentName$18, IconClass);
|
17591
17625
|
|
17592
|
-
customElements.define(componentName$
|
17626
|
+
customElements.define(componentName$f, ThirdPartyAppLogoClass);
|
17593
17627
|
|
17594
17628
|
const componentName$d = getComponentName$1('security-questions-setup');
|
17595
17629
|
|
@@ -20430,23 +20464,62 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
|
|
20430
20464
|
vars: vars$F
|
20431
20465
|
});
|
20432
20466
|
|
20433
|
-
const vars$E =
|
20467
|
+
const vars$E = PhoneFieldClass.cssVarList;
|
20434
20468
|
|
20435
|
-
const
|
20469
|
+
const phoneField = {
|
20470
|
+
[vars$E.hostWidth]: refs$1.width,
|
20471
|
+
[vars$E.hostDirection]: refs$1.direction,
|
20472
|
+
[vars$E.fontSize]: refs$1.fontSize,
|
20473
|
+
[vars$E.fontFamily]: refs$1.fontFamily,
|
20474
|
+
[vars$E.labelTextColor]: refs$1.labelTextColor,
|
20475
|
+
[vars$E.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20476
|
+
[vars$E.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20477
|
+
[vars$E.inputValueTextColor]: refs$1.valueTextColor,
|
20478
|
+
[vars$E.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
20479
|
+
[vars$E.inputBorderStyle]: refs$1.borderStyle,
|
20480
|
+
[vars$E.inputBorderWidth]: refs$1.borderWidth,
|
20481
|
+
[vars$E.inputBorderColor]: refs$1.borderColor,
|
20482
|
+
[vars$E.inputBorderRadius]: refs$1.borderRadius,
|
20483
|
+
[vars$E.inputOutlineStyle]: refs$1.outlineStyle,
|
20484
|
+
[vars$E.inputOutlineWidth]: refs$1.outlineWidth,
|
20485
|
+
[vars$E.inputOutlineColor]: refs$1.outlineColor,
|
20486
|
+
[vars$E.inputOutlineOffset]: refs$1.outlineOffset,
|
20487
|
+
[vars$E.phoneInputWidth]: refs$1.minWidth,
|
20488
|
+
[vars$E.countryCodeInputWidth]: '5em',
|
20489
|
+
[vars$E.countryCodeDropdownWidth]: '20em',
|
20490
|
+
[vars$E.marginInlineStart]: '-0.25em',
|
20491
|
+
[vars$E.valueInputHeight]: refs$1.valueInputHeight,
|
20492
|
+
[vars$E.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20436
20493
|
|
20437
|
-
|
20494
|
+
// error message icon
|
20495
|
+
[vars$E.errorMessageIcon]: refs$1.errorMessageIcon,
|
20496
|
+
[vars$E.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
20497
|
+
[vars$E.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
20498
|
+
[vars$E.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
20499
|
+
[vars$E.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20500
|
+
[vars$E.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20501
|
+
|
20502
|
+
// '@overlay': {
|
20503
|
+
// overlayItemBackgroundColor: 'red'
|
20504
|
+
// }
|
20505
|
+
};
|
20506
|
+
|
20507
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
20438
20508
|
__proto__: null,
|
20439
|
-
default:
|
20509
|
+
default: phoneField,
|
20440
20510
|
vars: vars$E
|
20441
20511
|
});
|
20442
20512
|
|
20443
|
-
const vars$D =
|
20513
|
+
const vars$D = PhoneFieldInputBoxClass.cssVarList;
|
20444
20514
|
|
20445
|
-
const
|
20446
|
-
[vars$D.hostWidth]:
|
20515
|
+
const phoneInputBoxField = {
|
20516
|
+
[vars$D.hostWidth]: '16em',
|
20517
|
+
[vars$D.hostMinWidth]: refs$1.minWidth,
|
20447
20518
|
[vars$D.hostDirection]: refs$1.direction,
|
20448
20519
|
[vars$D.fontSize]: refs$1.fontSize,
|
20449
20520
|
[vars$D.fontFamily]: refs$1.fontFamily,
|
20521
|
+
[vars$D.labelFontSize]: refs$1.labelFontSize,
|
20522
|
+
[vars$D.labelFontWeight]: refs$1.labelFontWeight,
|
20450
20523
|
[vars$D.labelTextColor]: refs$1.labelTextColor,
|
20451
20524
|
[vars$D.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20452
20525
|
[vars$D.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
@@ -20460,12 +20533,15 @@ const phoneField = {
|
|
20460
20533
|
[vars$D.inputOutlineWidth]: refs$1.outlineWidth,
|
20461
20534
|
[vars$D.inputOutlineColor]: refs$1.outlineColor,
|
20462
20535
|
[vars$D.inputOutlineOffset]: refs$1.outlineOffset,
|
20463
|
-
[vars$D.
|
20464
|
-
[vars$D.
|
20465
|
-
[vars$D.
|
20466
|
-
[vars$D.
|
20536
|
+
[vars$D.labelPosition]: refs$1.labelPosition,
|
20537
|
+
[vars$D.labelTopPosition]: refs$1.labelTopPosition,
|
20538
|
+
[vars$D.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
20539
|
+
[vars$D.inputTransformY]: refs$1.inputTransformY,
|
20540
|
+
[vars$D.inputTransition]: refs$1.inputTransition,
|
20541
|
+
[vars$D.marginInlineStart]: refs$1.marginInlineStart,
|
20467
20542
|
[vars$D.valueInputHeight]: refs$1.valueInputHeight,
|
20468
20543
|
[vars$D.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20544
|
+
[vars$D.inputHorizontalPadding]: '0',
|
20469
20545
|
|
20470
20546
|
// error message icon
|
20471
20547
|
[vars$D.errorMessageIcon]: refs$1.errorMessageIcon,
|
@@ -20475,21 +20551,22 @@ const phoneField = {
|
|
20475
20551
|
[vars$D.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20476
20552
|
[vars$D.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20477
20553
|
|
20478
|
-
|
20479
|
-
|
20480
|
-
|
20554
|
+
_fullWidth: {
|
20555
|
+
[vars$D.hostWidth]: refs$1.width,
|
20556
|
+
},
|
20481
20557
|
};
|
20482
20558
|
|
20483
|
-
var
|
20559
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
20484
20560
|
__proto__: null,
|
20485
|
-
default:
|
20561
|
+
default: phoneInputBoxField,
|
20486
20562
|
vars: vars$D
|
20487
20563
|
});
|
20488
20564
|
|
20489
|
-
const
|
20565
|
+
const globalRefs$r = getThemeRefs(globals$1);
|
20566
|
+
const vars$C = NewPasswordClass.cssVarList;
|
20490
20567
|
|
20491
|
-
const
|
20492
|
-
[vars$C.hostWidth]:
|
20568
|
+
const newPassword = {
|
20569
|
+
[vars$C.hostWidth]: refs$1.width,
|
20493
20570
|
[vars$C.hostMinWidth]: refs$1.minWidth,
|
20494
20571
|
[vars$C.hostDirection]: refs$1.direction,
|
20495
20572
|
[vars$C.fontSize]: refs$1.fontSize,
|
@@ -20497,27 +20574,11 @@ const phoneInputBoxField = {
|
|
20497
20574
|
[vars$C.labelFontSize]: refs$1.labelFontSize,
|
20498
20575
|
[vars$C.labelFontWeight]: refs$1.labelFontWeight,
|
20499
20576
|
[vars$C.labelTextColor]: refs$1.labelTextColor,
|
20500
|
-
[vars$C.
|
20577
|
+
[vars$C.spaceBetweenInputs]: '1em',
|
20501
20578
|
[vars$C.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20502
|
-
[vars$C.
|
20503
|
-
[vars$C.
|
20504
|
-
[vars$C.inputBorderStyle]: refs$1.borderStyle,
|
20505
|
-
[vars$C.inputBorderWidth]: refs$1.borderWidth,
|
20506
|
-
[vars$C.inputBorderColor]: refs$1.borderColor,
|
20507
|
-
[vars$C.inputBorderRadius]: refs$1.borderRadius,
|
20508
|
-
[vars$C.inputOutlineStyle]: refs$1.outlineStyle,
|
20509
|
-
[vars$C.inputOutlineWidth]: refs$1.outlineWidth,
|
20510
|
-
[vars$C.inputOutlineColor]: refs$1.outlineColor,
|
20511
|
-
[vars$C.inputOutlineOffset]: refs$1.outlineOffset,
|
20512
|
-
[vars$C.labelPosition]: refs$1.labelPosition,
|
20513
|
-
[vars$C.labelTopPosition]: refs$1.labelTopPosition,
|
20514
|
-
[vars$C.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
20515
|
-
[vars$C.inputTransformY]: refs$1.inputTransformY,
|
20516
|
-
[vars$C.inputTransition]: refs$1.inputTransition,
|
20517
|
-
[vars$C.marginInlineStart]: refs$1.marginInlineStart,
|
20579
|
+
[vars$C.policyPreviewBackgroundColor]: 'none',
|
20580
|
+
[vars$C.policyPreviewPadding]: globalRefs$r.spacing.lg,
|
20518
20581
|
[vars$C.valueInputHeight]: refs$1.valueInputHeight,
|
20519
|
-
[vars$C.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20520
|
-
[vars$C.inputHorizontalPadding]: '0',
|
20521
20582
|
|
20522
20583
|
// error message icon
|
20523
20584
|
[vars$C.errorMessageIcon]: refs$1.errorMessageIcon,
|
@@ -20527,157 +20588,120 @@ const phoneInputBoxField = {
|
|
20527
20588
|
[vars$C.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20528
20589
|
[vars$C.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20529
20590
|
|
20530
|
-
_fullWidth: {
|
20531
|
-
[vars$C.hostWidth]: refs$1.width,
|
20532
|
-
},
|
20533
|
-
};
|
20534
|
-
|
20535
|
-
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
20536
|
-
__proto__: null,
|
20537
|
-
default: phoneInputBoxField,
|
20538
|
-
vars: vars$C
|
20539
|
-
});
|
20540
|
-
|
20541
|
-
const globalRefs$r = getThemeRefs(globals$1);
|
20542
|
-
const vars$B = NewPasswordClass.cssVarList;
|
20543
|
-
|
20544
|
-
const newPassword = {
|
20545
|
-
[vars$B.hostWidth]: refs$1.width,
|
20546
|
-
[vars$B.hostMinWidth]: refs$1.minWidth,
|
20547
|
-
[vars$B.hostDirection]: refs$1.direction,
|
20548
|
-
[vars$B.fontSize]: refs$1.fontSize,
|
20549
|
-
[vars$B.fontFamily]: refs$1.fontFamily,
|
20550
|
-
[vars$B.labelFontSize]: refs$1.labelFontSize,
|
20551
|
-
[vars$B.labelFontWeight]: refs$1.labelFontWeight,
|
20552
|
-
[vars$B.labelTextColor]: refs$1.labelTextColor,
|
20553
|
-
[vars$B.spaceBetweenInputs]: '1em',
|
20554
|
-
[vars$B.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20555
|
-
[vars$B.policyPreviewBackgroundColor]: 'none',
|
20556
|
-
[vars$B.policyPreviewPadding]: globalRefs$r.spacing.lg,
|
20557
|
-
[vars$B.valueInputHeight]: refs$1.valueInputHeight,
|
20558
|
-
|
20559
|
-
// error message icon
|
20560
|
-
[vars$B.errorMessageIcon]: refs$1.errorMessageIcon,
|
20561
|
-
[vars$B.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
20562
|
-
[vars$B.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
20563
|
-
[vars$B.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
20564
|
-
[vars$B.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20565
|
-
[vars$B.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20566
|
-
|
20567
20591
|
_required: {
|
20568
20592
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
20569
20593
|
// That's why we fake the required indicator on each input.
|
20570
20594
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
20571
|
-
[vars$
|
20595
|
+
[vars$C.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
20572
20596
|
},
|
20573
20597
|
};
|
20574
20598
|
|
20575
20599
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
20576
20600
|
__proto__: null,
|
20577
20601
|
default: newPassword,
|
20578
|
-
vars: vars$
|
20602
|
+
vars: vars$C
|
20579
20603
|
});
|
20580
20604
|
|
20581
|
-
const vars$
|
20605
|
+
const vars$B = UploadFileClass.cssVarList;
|
20582
20606
|
|
20583
20607
|
const uploadFile = {
|
20584
|
-
[vars$
|
20585
|
-
[vars$
|
20586
|
-
[vars$
|
20608
|
+
[vars$B.hostDirection]: refs$1.direction,
|
20609
|
+
[vars$B.labelTextColor]: refs$1.labelTextColor,
|
20610
|
+
[vars$B.fontFamily]: refs$1.fontFamily,
|
20587
20611
|
|
20588
|
-
[vars$
|
20612
|
+
[vars$B.iconSize]: '2em',
|
20589
20613
|
|
20590
|
-
[vars$
|
20591
|
-
[vars$
|
20614
|
+
[vars$B.hostPadding]: '0.75em',
|
20615
|
+
[vars$B.gap]: '0.5em',
|
20592
20616
|
|
20593
|
-
[vars$
|
20594
|
-
[vars$
|
20595
|
-
[vars$
|
20617
|
+
[vars$B.fontSize]: '16px',
|
20618
|
+
[vars$B.titleFontWeight]: '500',
|
20619
|
+
[vars$B.lineHeight]: '1em',
|
20596
20620
|
|
20597
|
-
[vars$
|
20598
|
-
[vars$
|
20599
|
-
[vars$
|
20600
|
-
[vars$
|
20621
|
+
[vars$B.borderWidth]: refs$1.borderWidth,
|
20622
|
+
[vars$B.borderColor]: refs$1.borderColor,
|
20623
|
+
[vars$B.borderRadius]: refs$1.borderRadius,
|
20624
|
+
[vars$B.borderStyle]: 'dashed',
|
20601
20625
|
|
20602
20626
|
_required: {
|
20603
|
-
[vars$
|
20627
|
+
[vars$B.requiredIndicator]: refs$1.requiredIndicator,
|
20604
20628
|
},
|
20605
20629
|
|
20606
20630
|
size: {
|
20607
20631
|
xs: {
|
20608
|
-
[vars$
|
20609
|
-
[vars$
|
20610
|
-
[vars$
|
20611
|
-
[vars$
|
20612
|
-
[vars$
|
20632
|
+
[vars$B.hostHeight]: '196px',
|
20633
|
+
[vars$B.hostWidth]: '200px',
|
20634
|
+
[vars$B.titleFontSize]: '0.875em',
|
20635
|
+
[vars$B.descriptionFontSize]: '0.875em',
|
20636
|
+
[vars$B.lineHeight]: '1.25em',
|
20613
20637
|
},
|
20614
20638
|
sm: {
|
20615
|
-
[vars$
|
20616
|
-
[vars$
|
20617
|
-
[vars$
|
20618
|
-
[vars$
|
20619
|
-
[vars$
|
20639
|
+
[vars$B.hostHeight]: '216px',
|
20640
|
+
[vars$B.hostWidth]: '230px',
|
20641
|
+
[vars$B.titleFontSize]: '1em',
|
20642
|
+
[vars$B.descriptionFontSize]: '0.875em',
|
20643
|
+
[vars$B.lineHeight]: '1.25em',
|
20620
20644
|
},
|
20621
20645
|
md: {
|
20622
|
-
[vars$
|
20623
|
-
[vars$
|
20624
|
-
[vars$
|
20625
|
-
[vars$
|
20626
|
-
[vars$
|
20646
|
+
[vars$B.hostHeight]: '256px',
|
20647
|
+
[vars$B.hostWidth]: '312px',
|
20648
|
+
[vars$B.titleFontSize]: '1.125em',
|
20649
|
+
[vars$B.descriptionFontSize]: '1em',
|
20650
|
+
[vars$B.lineHeight]: '1.5em',
|
20627
20651
|
},
|
20628
20652
|
lg: {
|
20629
|
-
[vars$
|
20630
|
-
[vars$
|
20631
|
-
[vars$
|
20632
|
-
[vars$
|
20633
|
-
[vars$
|
20653
|
+
[vars$B.hostHeight]: '280px',
|
20654
|
+
[vars$B.hostWidth]: '336px',
|
20655
|
+
[vars$B.titleFontSize]: '1.125em',
|
20656
|
+
[vars$B.descriptionFontSize]: '1.125em',
|
20657
|
+
[vars$B.lineHeight]: '1.75em',
|
20634
20658
|
},
|
20635
20659
|
},
|
20636
20660
|
|
20637
20661
|
_fullWidth: {
|
20638
|
-
[vars$
|
20662
|
+
[vars$B.hostWidth]: refs$1.width,
|
20639
20663
|
},
|
20640
20664
|
};
|
20641
20665
|
|
20642
20666
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
20643
20667
|
__proto__: null,
|
20644
20668
|
default: uploadFile,
|
20645
|
-
vars: vars$
|
20669
|
+
vars: vars$B
|
20646
20670
|
});
|
20647
20671
|
|
20648
20672
|
const globalRefs$q = getThemeRefs(globals$1);
|
20649
20673
|
|
20650
|
-
const vars$
|
20674
|
+
const vars$A = ButtonSelectionGroupItemClass.cssVarList;
|
20651
20675
|
|
20652
20676
|
const buttonSelectionGroupItem = {
|
20653
|
-
[vars$
|
20654
|
-
[vars$
|
20655
|
-
[vars$
|
20656
|
-
[vars$
|
20657
|
-
[vars$
|
20658
|
-
[vars$
|
20659
|
-
[vars$
|
20660
|
-
[vars$
|
20677
|
+
[vars$A.hostDirection]: 'inherit',
|
20678
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.main,
|
20679
|
+
[vars$A.labelTextColor]: globalRefs$q.colors.surface.contrast,
|
20680
|
+
[vars$A.borderColor]: globalRefs$q.colors.surface.light,
|
20681
|
+
[vars$A.borderStyle]: 'solid',
|
20682
|
+
[vars$A.borderRadius]: globalRefs$q.radius.sm,
|
20683
|
+
[vars$A.outlineColor]: 'transparent',
|
20684
|
+
[vars$A.borderWidth]: globalRefs$q.border.xs,
|
20661
20685
|
|
20662
20686
|
_hover: {
|
20663
|
-
[vars$
|
20687
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.highlight,
|
20664
20688
|
},
|
20665
20689
|
|
20666
20690
|
_focused: {
|
20667
|
-
[vars$
|
20691
|
+
[vars$A.outlineColor]: globalRefs$q.colors.surface.light,
|
20668
20692
|
},
|
20669
20693
|
|
20670
20694
|
_selected: {
|
20671
|
-
[vars$
|
20672
|
-
[vars$
|
20673
|
-
[vars$
|
20695
|
+
[vars$A.borderColor]: globalRefs$q.colors.surface.contrast,
|
20696
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.contrast,
|
20697
|
+
[vars$A.labelTextColor]: globalRefs$q.colors.surface.main,
|
20674
20698
|
},
|
20675
20699
|
};
|
20676
20700
|
|
20677
20701
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
20678
20702
|
__proto__: null,
|
20679
20703
|
default: buttonSelectionGroupItem,
|
20680
|
-
vars: vars$
|
20704
|
+
vars: vars$A
|
20681
20705
|
});
|
20682
20706
|
|
20683
20707
|
const globalRefs$p = getThemeRefs(globals$1);
|
@@ -20701,28 +20725,28 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
20701
20725
|
[vars.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20702
20726
|
});
|
20703
20727
|
|
20704
|
-
const vars$
|
20728
|
+
const vars$z = ButtonSelectionGroupClass.cssVarList;
|
20705
20729
|
|
20706
20730
|
const buttonSelectionGroup = {
|
20707
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
20731
|
+
...createBaseButtonSelectionGroupMappings(vars$z),
|
20708
20732
|
};
|
20709
20733
|
|
20710
20734
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
20711
20735
|
__proto__: null,
|
20712
20736
|
default: buttonSelectionGroup,
|
20713
|
-
vars: vars$
|
20737
|
+
vars: vars$z
|
20714
20738
|
});
|
20715
20739
|
|
20716
|
-
const vars$
|
20740
|
+
const vars$y = ButtonMultiSelectionGroupClass.cssVarList;
|
20717
20741
|
|
20718
20742
|
const buttonMultiSelectionGroup = {
|
20719
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
20743
|
+
...createBaseButtonSelectionGroupMappings(vars$y),
|
20720
20744
|
};
|
20721
20745
|
|
20722
20746
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
20723
20747
|
__proto__: null,
|
20724
20748
|
default: buttonMultiSelectionGroup,
|
20725
|
-
vars: vars$
|
20749
|
+
vars: vars$y
|
20726
20750
|
});
|
20727
20751
|
|
20728
20752
|
const globalRefs$o = getThemeRefs(globals$1);
|
@@ -20735,58 +20759,58 @@ const modal = {
|
|
20735
20759
|
[compVars$4.overlayWidth]: '540px',
|
20736
20760
|
};
|
20737
20761
|
|
20738
|
-
const vars$
|
20762
|
+
const vars$x = {
|
20739
20763
|
...compVars$4,
|
20740
20764
|
};
|
20741
20765
|
|
20742
20766
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
20743
20767
|
__proto__: null,
|
20744
20768
|
default: modal,
|
20745
|
-
vars: vars$
|
20769
|
+
vars: vars$x
|
20746
20770
|
});
|
20747
20771
|
|
20748
20772
|
const globalRefs$n = getThemeRefs(globals$1);
|
20749
|
-
const vars$
|
20773
|
+
const vars$w = GridClass.cssVarList;
|
20750
20774
|
|
20751
20775
|
const grid = {
|
20752
|
-
[vars$
|
20753
|
-
[vars$
|
20754
|
-
[vars$
|
20755
|
-
[vars$
|
20756
|
-
[vars$
|
20757
|
-
|
20758
|
-
[vars$
|
20759
|
-
[vars$
|
20760
|
-
|
20761
|
-
[vars$
|
20762
|
-
[vars$
|
20763
|
-
[vars$
|
20764
|
-
|
20765
|
-
[vars$
|
20766
|
-
[vars$
|
20767
|
-
[vars$
|
20768
|
-
[vars$
|
20769
|
-
|
20770
|
-
[vars$
|
20771
|
-
[vars$
|
20772
|
-
|
20773
|
-
[vars$
|
20774
|
-
[vars$
|
20775
|
-
[vars$
|
20776
|
-
|
20777
|
-
[vars$
|
20778
|
-
[vars$
|
20779
|
-
[vars$
|
20780
|
-
[vars$
|
20781
|
-
[vars$
|
20782
|
-
[vars$
|
20783
|
-
[vars$
|
20784
|
-
[vars$
|
20785
|
-
[vars$
|
20786
|
-
[vars$
|
20776
|
+
[vars$w.hostWidth]: '100%',
|
20777
|
+
[vars$w.hostHeight]: '100%',
|
20778
|
+
[vars$w.hostMinHeight]: '400px',
|
20779
|
+
[vars$w.fontWeight]: '400',
|
20780
|
+
[vars$w.backgroundColor]: globalRefs$n.colors.surface.main,
|
20781
|
+
|
20782
|
+
[vars$w.fontSize]: refs$1.fontSize,
|
20783
|
+
[vars$w.fontFamily]: refs$1.fontFamily,
|
20784
|
+
|
20785
|
+
[vars$w.sortIndicatorsColor]: globalRefs$n.colors.surface.light,
|
20786
|
+
[vars$w.activeSortIndicator]: globalRefs$n.colors.surface.dark,
|
20787
|
+
[vars$w.resizeHandleColor]: globalRefs$n.colors.surface.light,
|
20788
|
+
|
20789
|
+
[vars$w.borderWidth]: refs$1.borderWidth,
|
20790
|
+
[vars$w.borderStyle]: refs$1.borderStyle,
|
20791
|
+
[vars$w.borderRadius]: refs$1.borderRadius,
|
20792
|
+
[vars$w.borderColor]: 'transparent',
|
20793
|
+
|
20794
|
+
[vars$w.headerRowTextColor]: globalRefs$n.colors.surface.dark,
|
20795
|
+
[vars$w.separatorColor]: globalRefs$n.colors.surface.light,
|
20796
|
+
|
20797
|
+
[vars$w.valueTextColor]: globalRefs$n.colors.surface.contrast,
|
20798
|
+
[vars$w.selectedBackgroundColor]: globalRefs$n.colors.surface.highlight,
|
20799
|
+
[vars$w.hostDirection]: globalRefs$n.direction,
|
20800
|
+
|
20801
|
+
[vars$w.toggleDetailsPanelButtonSize]: '1em',
|
20802
|
+
[vars$w.toggleDetailsPanelButtonOpenedColor]: globalRefs$n.colors.surface.contrast,
|
20803
|
+
[vars$w.toggleDetailsPanelButtonClosedColor]: globalRefs$n.colors.surface.light,
|
20804
|
+
[vars$w.toggleDetailsPanelButtonCursor]: 'pointer',
|
20805
|
+
[vars$w.detailsPanelBackgroundColor]: globalRefs$n.colors.surface.highlight,
|
20806
|
+
[vars$w.detailsPanelBorderTopColor]: globalRefs$n.colors.surface.light,
|
20807
|
+
[vars$w.detailsPanelLabelsColor]: globalRefs$n.colors.surface.dark,
|
20808
|
+
[vars$w.detailsPanelLabelsFontSize]: '0.8em',
|
20809
|
+
[vars$w.detailsPanelItemsGap]: '2em',
|
20810
|
+
[vars$w.detailsPanelPadding]: '12px 0',
|
20787
20811
|
|
20788
20812
|
_bordered: {
|
20789
|
-
[vars$
|
20813
|
+
[vars$w.borderColor]: refs$1.borderColor,
|
20790
20814
|
},
|
20791
20815
|
};
|
20792
20816
|
|
@@ -20794,53 +20818,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
20794
20818
|
__proto__: null,
|
20795
20819
|
default: grid,
|
20796
20820
|
grid: grid,
|
20797
|
-
vars: vars$
|
20821
|
+
vars: vars$w
|
20798
20822
|
});
|
20799
20823
|
|
20800
20824
|
const globalRefs$m = getThemeRefs(globals$1);
|
20801
|
-
const vars$
|
20825
|
+
const vars$v = NotificationCardClass.cssVarList;
|
20802
20826
|
|
20803
20827
|
const shadowColor$3 = '#00000020';
|
20804
20828
|
|
20805
20829
|
const notification = {
|
20806
|
-
[vars$
|
20807
|
-
[vars$
|
20808
|
-
[vars$
|
20809
|
-
[vars$
|
20810
|
-
[vars$
|
20811
|
-
[vars$
|
20812
|
-
[vars$
|
20813
|
-
[vars$
|
20814
|
-
[vars$
|
20830
|
+
[vars$v.hostMinWidth]: '415px',
|
20831
|
+
[vars$v.fontFamily]: globalRefs$m.fonts.font1.family,
|
20832
|
+
[vars$v.fontSize]: globalRefs$m.typography.body1.size,
|
20833
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.surface.main,
|
20834
|
+
[vars$v.textColor]: globalRefs$m.colors.surface.contrast,
|
20835
|
+
[vars$v.boxShadow]: `${globalRefs$m.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$m.shadow.narrow.xl} ${shadowColor$3}`,
|
20836
|
+
[vars$v.verticalPadding]: '0.625em',
|
20837
|
+
[vars$v.horizontalPadding]: '1.5em',
|
20838
|
+
[vars$v.borderRadius]: globalRefs$m.radius.xs,
|
20815
20839
|
|
20816
20840
|
_bordered: {
|
20817
|
-
[vars$
|
20818
|
-
[vars$
|
20819
|
-
[vars$
|
20841
|
+
[vars$v.borderWidth]: globalRefs$m.border.sm,
|
20842
|
+
[vars$v.borderStyle]: 'solid',
|
20843
|
+
[vars$v.borderColor]: 'transparent',
|
20820
20844
|
},
|
20821
20845
|
|
20822
20846
|
size: {
|
20823
|
-
xs: { [vars$
|
20824
|
-
sm: { [vars$
|
20825
|
-
md: { [vars$
|
20826
|
-
lg: { [vars$
|
20847
|
+
xs: { [vars$v.fontSize]: '12px' },
|
20848
|
+
sm: { [vars$v.fontSize]: '14px' },
|
20849
|
+
md: { [vars$v.fontSize]: '16px' },
|
20850
|
+
lg: { [vars$v.fontSize]: '18px' },
|
20827
20851
|
},
|
20828
20852
|
|
20829
20853
|
mode: {
|
20830
20854
|
primary: {
|
20831
|
-
[vars$
|
20832
|
-
[vars$
|
20833
|
-
[vars$
|
20855
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.primary.main,
|
20856
|
+
[vars$v.textColor]: globalRefs$m.colors.primary.contrast,
|
20857
|
+
[vars$v.borderColor]: globalRefs$m.colors.primary.light,
|
20834
20858
|
},
|
20835
20859
|
success: {
|
20836
|
-
[vars$
|
20837
|
-
[vars$
|
20838
|
-
[vars$
|
20860
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.success.main,
|
20861
|
+
[vars$v.textColor]: globalRefs$m.colors.success.contrast,
|
20862
|
+
[vars$v.borderColor]: globalRefs$m.colors.success.light,
|
20839
20863
|
},
|
20840
20864
|
error: {
|
20841
|
-
[vars$
|
20842
|
-
[vars$
|
20843
|
-
[vars$
|
20865
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.error.main,
|
20866
|
+
[vars$v.textColor]: globalRefs$m.colors.error.contrast,
|
20867
|
+
[vars$v.borderColor]: globalRefs$m.colors.error.light,
|
20844
20868
|
},
|
20845
20869
|
},
|
20846
20870
|
};
|
@@ -20848,156 +20872,156 @@ const notification = {
|
|
20848
20872
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
20849
20873
|
__proto__: null,
|
20850
20874
|
default: notification,
|
20851
|
-
vars: vars$
|
20875
|
+
vars: vars$v
|
20852
20876
|
});
|
20853
20877
|
|
20854
20878
|
const globalRefs$l = getThemeRefs(globals$1);
|
20855
|
-
const vars$
|
20879
|
+
const vars$u = MultiSelectComboBoxClass.cssVarList;
|
20856
20880
|
|
20857
20881
|
const multiSelectComboBox = {
|
20858
|
-
[vars$
|
20859
|
-
[vars$
|
20860
|
-
[vars$
|
20861
|
-
[vars$
|
20862
|
-
[vars$
|
20863
|
-
[vars$
|
20864
|
-
[vars$
|
20865
|
-
[vars$
|
20866
|
-
[vars$
|
20867
|
-
[vars$
|
20868
|
-
[vars$
|
20869
|
-
[vars$
|
20870
|
-
[vars$
|
20871
|
-
[vars$
|
20872
|
-
[vars$
|
20873
|
-
[vars$
|
20874
|
-
[vars$
|
20875
|
-
[vars$
|
20876
|
-
[vars$
|
20877
|
-
[vars$
|
20878
|
-
[vars$
|
20879
|
-
[vars$
|
20880
|
-
[vars$
|
20881
|
-
[vars$
|
20882
|
-
[vars$
|
20883
|
-
[vars$
|
20884
|
-
[vars$
|
20885
|
-
[vars$
|
20886
|
-
[vars$
|
20887
|
-
[vars$
|
20888
|
-
[vars$
|
20889
|
-
[vars$
|
20890
|
-
[vars$
|
20891
|
-
[vars$
|
20892
|
-
[vars$
|
20893
|
-
[vars$
|
20894
|
-
[vars$
|
20895
|
-
[vars$
|
20896
|
-
[vars$
|
20897
|
-
[vars$
|
20898
|
-
[vars$
|
20882
|
+
[vars$u.hostWidth]: refs$1.width,
|
20883
|
+
[vars$u.hostDirection]: refs$1.direction,
|
20884
|
+
[vars$u.fontSize]: refs$1.fontSize,
|
20885
|
+
[vars$u.fontFamily]: refs$1.fontFamily,
|
20886
|
+
[vars$u.labelFontSize]: refs$1.labelFontSize,
|
20887
|
+
[vars$u.labelFontWeight]: refs$1.labelFontWeight,
|
20888
|
+
[vars$u.labelTextColor]: refs$1.labelTextColor,
|
20889
|
+
[vars$u.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20890
|
+
[vars$u.inputBorderColor]: refs$1.borderColor,
|
20891
|
+
[vars$u.inputBorderWidth]: refs$1.borderWidth,
|
20892
|
+
[vars$u.inputBorderStyle]: refs$1.borderStyle,
|
20893
|
+
[vars$u.inputBorderRadius]: refs$1.borderRadius,
|
20894
|
+
[vars$u.inputOutlineColor]: refs$1.outlineColor,
|
20895
|
+
[vars$u.inputOutlineOffset]: refs$1.outlineOffset,
|
20896
|
+
[vars$u.inputOutlineWidth]: refs$1.outlineWidth,
|
20897
|
+
[vars$u.inputOutlineStyle]: refs$1.outlineStyle,
|
20898
|
+
[vars$u.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20899
|
+
[vars$u.inputValueTextColor]: refs$1.valueTextColor,
|
20900
|
+
[vars$u.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
20901
|
+
[vars$u.inputBackgroundColor]: refs$1.backgroundColor,
|
20902
|
+
[vars$u.inputHorizontalPadding]: refs$1.horizontalPadding,
|
20903
|
+
[vars$u.inputVerticalPadding]: refs$1.verticalPadding,
|
20904
|
+
[vars$u.inputHeight]: refs$1.inputHeight,
|
20905
|
+
[vars$u.inputDropdownButtonColor]: globalRefs$l.colors.surface.dark,
|
20906
|
+
[vars$u.inputDropdownButtonCursor]: 'pointer',
|
20907
|
+
[vars$u.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
20908
|
+
[vars$u.inputDropdownButtonOffset]: globalRefs$l.spacing.xs,
|
20909
|
+
[vars$u.overlayItemPaddingInlineStart]: globalRefs$l.spacing.xs,
|
20910
|
+
[vars$u.overlayItemPaddingInlineEnd]: globalRefs$l.spacing.lg,
|
20911
|
+
[vars$u.chipFontSize]: refs$1.chipFontSize,
|
20912
|
+
[vars$u.chipTextColor]: globalRefs$l.colors.surface.contrast,
|
20913
|
+
[vars$u.chipBackgroundColor]: globalRefs$l.colors.surface.light,
|
20914
|
+
[vars$u.labelPosition]: refs$1.labelPosition,
|
20915
|
+
[vars$u.labelTopPosition]: refs$1.labelTopPosition,
|
20916
|
+
[vars$u.labelLeftPosition]: refs$1.labelLeftPosition,
|
20917
|
+
[vars$u.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
20918
|
+
[vars$u.inputTransformY]: refs$1.inputTransformY,
|
20919
|
+
[vars$u.inputTransition]: refs$1.inputTransition,
|
20920
|
+
[vars$u.marginInlineStart]: refs$1.marginInlineStart,
|
20921
|
+
[vars$u.placeholderOpacity]: refs$1.placeholderOpacity,
|
20922
|
+
[vars$u.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
20899
20923
|
|
20900
20924
|
// error message icon
|
20901
|
-
[vars$
|
20902
|
-
[vars$
|
20903
|
-
[vars$
|
20904
|
-
[vars$
|
20905
|
-
[vars$
|
20906
|
-
[vars$
|
20925
|
+
[vars$u.errorMessageIcon]: refs$1.errorMessageIcon,
|
20926
|
+
[vars$u.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
20927
|
+
[vars$u.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
20928
|
+
[vars$u.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
20929
|
+
[vars$u.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20930
|
+
[vars$u.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20907
20931
|
|
20908
20932
|
labelType: {
|
20909
20933
|
floating: {
|
20910
|
-
[vars$
|
20934
|
+
[vars$u.inputHorizontalPadding]: '0.25em',
|
20911
20935
|
_hasValue: {
|
20912
|
-
[vars$
|
20936
|
+
[vars$u.inputHorizontalPadding]: '0.45em',
|
20913
20937
|
},
|
20914
20938
|
},
|
20915
20939
|
},
|
20916
20940
|
|
20917
20941
|
_readonly: {
|
20918
|
-
[vars$
|
20942
|
+
[vars$u.inputDropdownButtonCursor]: 'default',
|
20919
20943
|
},
|
20920
20944
|
|
20921
20945
|
// Overlay theme exposed via the component:
|
20922
|
-
[vars$
|
20923
|
-
[vars$
|
20924
|
-
[vars$
|
20925
|
-
[vars$
|
20926
|
-
[vars$
|
20927
|
-
[vars$
|
20946
|
+
[vars$u.overlayFontSize]: refs$1.fontSize,
|
20947
|
+
[vars$u.overlayFontFamily]: refs$1.fontFamily,
|
20948
|
+
[vars$u.overlayCursor]: 'pointer',
|
20949
|
+
[vars$u.overlayItemBoxShadow]: 'none',
|
20950
|
+
[vars$u.overlayBackground]: refs$1.backgroundColor,
|
20951
|
+
[vars$u.overlayTextColor]: refs$1.valueTextColor,
|
20928
20952
|
|
20929
20953
|
// Overlay direct theme:
|
20930
|
-
[vars$
|
20931
|
-
[vars$
|
20954
|
+
[vars$u.overlay.minHeight]: '400px',
|
20955
|
+
[vars$u.overlay.margin]: '0',
|
20932
20956
|
};
|
20933
20957
|
|
20934
20958
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
20935
20959
|
__proto__: null,
|
20936
20960
|
default: multiSelectComboBox,
|
20937
20961
|
multiSelectComboBox: multiSelectComboBox,
|
20938
|
-
vars: vars$
|
20962
|
+
vars: vars$u
|
20939
20963
|
});
|
20940
20964
|
|
20941
20965
|
const globalRefs$k = getThemeRefs(globals$1);
|
20942
|
-
const vars$
|
20966
|
+
const vars$t = BadgeClass.cssVarList;
|
20943
20967
|
|
20944
20968
|
const badge = {
|
20945
|
-
[vars$
|
20946
|
-
[vars$
|
20969
|
+
[vars$t.hostWidth]: 'fit-content',
|
20970
|
+
[vars$t.hostDirection]: globalRefs$k.direction,
|
20947
20971
|
|
20948
|
-
[vars$
|
20972
|
+
[vars$t.textAlign]: 'center',
|
20949
20973
|
|
20950
|
-
[vars$
|
20951
|
-
[vars$
|
20974
|
+
[vars$t.fontFamily]: globalRefs$k.fonts.font1.family,
|
20975
|
+
[vars$t.fontWeight]: '400',
|
20952
20976
|
|
20953
|
-
[vars$
|
20954
|
-
[vars$
|
20977
|
+
[vars$t.verticalPadding]: '0.25em',
|
20978
|
+
[vars$t.horizontalPadding]: '0.5em',
|
20955
20979
|
|
20956
|
-
[vars$
|
20957
|
-
[vars$
|
20958
|
-
[vars$
|
20959
|
-
[vars$
|
20980
|
+
[vars$t.borderWidth]: globalRefs$k.border.xs,
|
20981
|
+
[vars$t.borderRadius]: globalRefs$k.radius.xs,
|
20982
|
+
[vars$t.borderColor]: 'transparent',
|
20983
|
+
[vars$t.borderStyle]: 'solid',
|
20960
20984
|
|
20961
20985
|
_fullWidth: {
|
20962
|
-
[vars$
|
20986
|
+
[vars$t.hostWidth]: '100%',
|
20963
20987
|
},
|
20964
20988
|
|
20965
20989
|
size: {
|
20966
|
-
xs: { [vars$
|
20967
|
-
sm: { [vars$
|
20968
|
-
md: { [vars$
|
20969
|
-
lg: { [vars$
|
20990
|
+
xs: { [vars$t.fontSize]: '12px' },
|
20991
|
+
sm: { [vars$t.fontSize]: '14px' },
|
20992
|
+
md: { [vars$t.fontSize]: '16px' },
|
20993
|
+
lg: { [vars$t.fontSize]: '18px' },
|
20970
20994
|
},
|
20971
20995
|
|
20972
20996
|
mode: {
|
20973
20997
|
default: {
|
20974
|
-
[vars$
|
20998
|
+
[vars$t.textColor]: globalRefs$k.colors.surface.dark,
|
20975
20999
|
_bordered: {
|
20976
|
-
[vars$
|
21000
|
+
[vars$t.borderColor]: globalRefs$k.colors.surface.light,
|
20977
21001
|
},
|
20978
21002
|
},
|
20979
21003
|
primary: {
|
20980
|
-
[vars$
|
21004
|
+
[vars$t.textColor]: globalRefs$k.colors.primary.main,
|
20981
21005
|
_bordered: {
|
20982
|
-
[vars$
|
21006
|
+
[vars$t.borderColor]: globalRefs$k.colors.primary.light,
|
20983
21007
|
},
|
20984
21008
|
},
|
20985
21009
|
secondary: {
|
20986
|
-
[vars$
|
21010
|
+
[vars$t.textColor]: globalRefs$k.colors.secondary.main,
|
20987
21011
|
_bordered: {
|
20988
|
-
[vars$
|
21012
|
+
[vars$t.borderColor]: globalRefs$k.colors.secondary.light,
|
20989
21013
|
},
|
20990
21014
|
},
|
20991
21015
|
error: {
|
20992
|
-
[vars$
|
21016
|
+
[vars$t.textColor]: globalRefs$k.colors.error.main,
|
20993
21017
|
_bordered: {
|
20994
|
-
[vars$
|
21018
|
+
[vars$t.borderColor]: globalRefs$k.colors.error.light,
|
20995
21019
|
},
|
20996
21020
|
},
|
20997
21021
|
success: {
|
20998
|
-
[vars$
|
21022
|
+
[vars$t.textColor]: globalRefs$k.colors.success.main,
|
20999
21023
|
_bordered: {
|
21000
|
-
[vars$
|
21024
|
+
[vars$t.borderColor]: globalRefs$k.colors.success.light,
|
21001
21025
|
},
|
21002
21026
|
},
|
21003
21027
|
},
|
@@ -21006,7 +21030,7 @@ const badge = {
|
|
21006
21030
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
21007
21031
|
__proto__: null,
|
21008
21032
|
default: badge,
|
21009
|
-
vars: vars$
|
21033
|
+
vars: vars$t
|
21010
21034
|
});
|
21011
21035
|
|
21012
21036
|
const globalRefs$j = getThemeRefs$1(globals);
|
@@ -21044,146 +21068,156 @@ const avatar = {
|
|
21044
21068
|
},
|
21045
21069
|
};
|
21046
21070
|
|
21047
|
-
const vars$
|
21071
|
+
const vars$s = {
|
21048
21072
|
...compVars$3,
|
21049
21073
|
};
|
21050
21074
|
|
21051
21075
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
21052
21076
|
__proto__: null,
|
21053
21077
|
default: avatar,
|
21054
|
-
vars: vars$
|
21078
|
+
vars: vars$s
|
21055
21079
|
});
|
21056
21080
|
|
21057
21081
|
const globalRefs$i = getThemeRefs(globals$1);
|
21058
21082
|
|
21059
|
-
const vars$
|
21083
|
+
const vars$r = MappingsFieldClass.cssVarList;
|
21060
21084
|
|
21061
21085
|
const mappingsField = {
|
21062
|
-
[vars$
|
21063
|
-
[vars$
|
21064
|
-
[vars$
|
21065
|
-
[vars$
|
21066
|
-
[vars$
|
21067
|
-
[vars$
|
21068
|
-
[vars$
|
21069
|
-
[vars$
|
21070
|
-
[vars$
|
21071
|
-
[vars$
|
21086
|
+
[vars$r.hostWidth]: refs$1.width,
|
21087
|
+
[vars$r.hostDirection]: refs$1.direction,
|
21088
|
+
[vars$r.fontSize]: refs$1.fontSize,
|
21089
|
+
[vars$r.fontFamily]: refs$1.fontFamily,
|
21090
|
+
[vars$r.separatorFontSize]: '14px',
|
21091
|
+
[vars$r.labelsFontSize]: '14px',
|
21092
|
+
[vars$r.labelsLineHeight]: '1',
|
21093
|
+
[vars$r.labelsMarginBottom]: '6px',
|
21094
|
+
[vars$r.labelTextColor]: refs$1.labelTextColor,
|
21095
|
+
[vars$r.itemMarginBottom]: '1em',
|
21072
21096
|
// To be positioned correctly, the min width has to match the text field min width
|
21073
|
-
[vars$
|
21097
|
+
[vars$r.valueLabelMinWidth]: refs$1.minWidth,
|
21074
21098
|
// To be positioned correctly, the min width has to match the combo box field min width
|
21075
|
-
[vars$
|
21076
|
-
[vars$
|
21077
|
-
[vars$
|
21099
|
+
[vars$r.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$i.border.xs})`,
|
21100
|
+
[vars$r.separatorWidth]: '70px',
|
21101
|
+
[vars$r.removeButtonWidth]: '60px',
|
21078
21102
|
};
|
21079
21103
|
|
21080
21104
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
21081
21105
|
__proto__: null,
|
21082
21106
|
default: mappingsField,
|
21083
21107
|
mappingsField: mappingsField,
|
21084
|
-
vars: vars$
|
21108
|
+
vars: vars$r
|
21085
21109
|
});
|
21086
21110
|
|
21087
21111
|
const globalRefs$h = getThemeRefs(globals$1);
|
21088
|
-
const vars$
|
21112
|
+
const vars$q = UserAttributeClass.cssVarList;
|
21089
21113
|
|
21090
21114
|
const userAttribute = {
|
21091
|
-
[vars$
|
21092
|
-
[vars$
|
21093
|
-
[vars$
|
21094
|
-
[vars$
|
21095
|
-
[vars$
|
21096
|
-
[vars$
|
21115
|
+
[vars$q.hostDirection]: globalRefs$h.direction,
|
21116
|
+
[vars$q.labelTextWidth]: '150px',
|
21117
|
+
[vars$q.valueTextWidth]: '200px',
|
21118
|
+
[vars$q.badgeMaxWidth]: '85px',
|
21119
|
+
[vars$q.itemsGap]: '16px',
|
21120
|
+
[vars$q.hostMinWidth]: '530px',
|
21097
21121
|
_fullWidth: {
|
21098
|
-
[vars$
|
21122
|
+
[vars$q.hostWidth]: '100%',
|
21099
21123
|
},
|
21100
21124
|
};
|
21101
21125
|
|
21102
21126
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
21103
21127
|
__proto__: null,
|
21104
21128
|
default: userAttribute,
|
21105
|
-
vars: vars$
|
21129
|
+
vars: vars$q
|
21106
21130
|
});
|
21107
21131
|
|
21108
21132
|
const globalRefs$g = getThemeRefs(globals$1);
|
21109
|
-
const vars$
|
21133
|
+
const vars$p = UserAuthMethodClass.cssVarList;
|
21110
21134
|
|
21111
21135
|
const userAuthMethod = {
|
21112
|
-
[vars$
|
21113
|
-
[vars$
|
21114
|
-
[vars$
|
21115
|
-
[vars$
|
21116
|
-
[vars$
|
21117
|
-
[vars$
|
21136
|
+
[vars$p.hostDirection]: globalRefs$g.direction,
|
21137
|
+
[vars$p.labelTextWidth]: '200px',
|
21138
|
+
[vars$p.itemsGap]: '16px',
|
21139
|
+
[vars$p.hostMinWidth]: '530px',
|
21140
|
+
[vars$p.iconSize]: '24px',
|
21141
|
+
[vars$p.iconColor]: 'currentcolor',
|
21118
21142
|
_fullWidth: {
|
21119
|
-
[vars$
|
21143
|
+
[vars$p.hostWidth]: '100%',
|
21120
21144
|
},
|
21121
21145
|
};
|
21122
21146
|
|
21123
21147
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
21124
21148
|
__proto__: null,
|
21125
21149
|
default: userAuthMethod,
|
21126
|
-
vars: vars$
|
21150
|
+
vars: vars$p
|
21127
21151
|
});
|
21128
21152
|
|
21129
|
-
const vars$
|
21153
|
+
const vars$o = SamlGroupMappingsClass.cssVarList;
|
21130
21154
|
|
21131
21155
|
const samlGroupMappings = {
|
21132
|
-
[vars$
|
21133
|
-
[vars$
|
21134
|
-
[vars$
|
21156
|
+
[vars$o.hostWidth]: refs$1.width,
|
21157
|
+
[vars$o.hostDirection]: refs$1.direction,
|
21158
|
+
[vars$o.groupNameInputMarginBottom]: '1em',
|
21135
21159
|
|
21136
21160
|
// error message icon
|
21137
|
-
[vars$
|
21138
|
-
[vars$
|
21139
|
-
[vars$
|
21140
|
-
[vars$
|
21141
|
-
[vars$
|
21142
|
-
[vars$
|
21161
|
+
[vars$o.errorMessageIcon]: refs$1.errorMessageIcon,
|
21162
|
+
[vars$o.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
21163
|
+
[vars$o.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
21164
|
+
[vars$o.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
21165
|
+
[vars$o.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
21166
|
+
[vars$o.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
21143
21167
|
};
|
21144
21168
|
|
21145
21169
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
21146
21170
|
__proto__: null,
|
21147
21171
|
default: samlGroupMappings,
|
21148
21172
|
samlGroupMappings: samlGroupMappings,
|
21149
|
-
vars: vars$
|
21173
|
+
vars: vars$o
|
21150
21174
|
});
|
21151
21175
|
|
21152
21176
|
const globalRefs$f = getThemeRefs(globals$1);
|
21153
|
-
const vars$
|
21177
|
+
const vars$n = PolicyValidationClass.cssVarList;
|
21154
21178
|
|
21155
21179
|
const policyValidation = {
|
21156
|
-
[vars$
|
21157
|
-
[vars$
|
21158
|
-
[vars$
|
21159
|
-
[vars$
|
21160
|
-
[vars$
|
21161
|
-
[vars$
|
21162
|
-
[vars$
|
21163
|
-
[vars$
|
21164
|
-
[vars$
|
21165
|
-
[vars$
|
21166
|
-
[vars$
|
21167
|
-
[vars$
|
21168
|
-
[vars$
|
21169
|
-
[vars$
|
21170
|
-
[vars$
|
21171
|
-
[vars$
|
21180
|
+
[vars$n.fontFamily]: refs$1.fontFamily,
|
21181
|
+
[vars$n.fontSize]: refs$1.labelFontSize,
|
21182
|
+
[vars$n.textColor]: refs$1.labelTextColor,
|
21183
|
+
[vars$n.borderWidth]: refs$1.borderWidth,
|
21184
|
+
[vars$n.borderStyle]: refs$1.borderStyle,
|
21185
|
+
[vars$n.borderColor]: refs$1.borderColor,
|
21186
|
+
[vars$n.borderRadius]: globalRefs$f.radius.sm,
|
21187
|
+
[vars$n.backgroundColor]: 'none',
|
21188
|
+
[vars$n.padding]: '0px',
|
21189
|
+
[vars$n.labelMargin]: globalRefs$f.spacing.sm,
|
21190
|
+
[vars$n.itemsSpacing]: globalRefs$f.spacing.lg,
|
21191
|
+
[vars$n.itemSymbolDefault]: "'\\2022'", // "•"
|
21192
|
+
[vars$n.itemSymbolSuccess]: "'\\2713'", // "✓"
|
21193
|
+
[vars$n.itemSymbolError]: "'\\2A09'", // "⨉"
|
21194
|
+
[vars$n.itemSymbolSuccessColor]: globalRefs$f.colors.success.main,
|
21195
|
+
[vars$n.itemSymbolErrorColor]: globalRefs$f.colors.error.main,
|
21172
21196
|
};
|
21173
21197
|
|
21174
21198
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
21175
21199
|
__proto__: null,
|
21176
21200
|
default: policyValidation,
|
21177
|
-
vars: vars$
|
21201
|
+
vars: vars$n
|
21178
21202
|
});
|
21179
21203
|
|
21180
|
-
const vars$
|
21204
|
+
const vars$m = IconClass.cssVarList;
|
21181
21205
|
|
21182
21206
|
const icon$1 = {};
|
21183
21207
|
|
21184
21208
|
var icon$2 = /*#__PURE__*/Object.freeze({
|
21185
21209
|
__proto__: null,
|
21186
21210
|
default: icon$1,
|
21211
|
+
vars: vars$m
|
21212
|
+
});
|
21213
|
+
|
21214
|
+
const vars$l = ImageClass.cssVarList;
|
21215
|
+
|
21216
|
+
const image = {};
|
21217
|
+
|
21218
|
+
var image$1 = /*#__PURE__*/Object.freeze({
|
21219
|
+
__proto__: null,
|
21220
|
+
default: image,
|
21187
21221
|
vars: vars$l
|
21188
21222
|
});
|
21189
21223
|
|
@@ -21541,7 +21575,7 @@ const compVars$2 = ListClass.cssVarList;
|
|
21541
21575
|
|
21542
21576
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
21543
21577
|
{ shadowColor: '#00000020' },
|
21544
|
-
componentName$
|
21578
|
+
componentName$j
|
21545
21579
|
);
|
21546
21580
|
|
21547
21581
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
@@ -22789,7 +22823,7 @@ class RawTimer extends BaseClass$1 {
|
|
22789
22823
|
|
22790
22824
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
22791
22825
|
<div class="wrapper">
|
22792
|
-
<descope-icon src
|
22826
|
+
<descope-icon src="${clockIcon}" class="icon"></descope-icon>
|
22793
22827
|
<div class="timer"></div>
|
22794
22828
|
</div>
|
22795
22829
|
`;
|
@@ -22889,7 +22923,7 @@ class RawTimer extends BaseClass$1 {
|
|
22889
22923
|
}
|
22890
22924
|
|
22891
22925
|
#toggleIcon(val) {
|
22892
|
-
this.icon.classList.toggle('hidden', val
|
22926
|
+
this.icon.classList.toggle('hidden', val);
|
22893
22927
|
}
|
22894
22928
|
|
22895
22929
|
#handlePause(paused) {
|
@@ -22913,7 +22947,7 @@ class RawTimer extends BaseClass$1 {
|
|
22913
22947
|
this.reset();
|
22914
22948
|
}
|
22915
22949
|
if (attrName === 'hide-icon') {
|
22916
|
-
this.#toggleIcon(newValue);
|
22950
|
+
this.#toggleIcon(newValue === 'true');
|
22917
22951
|
}
|
22918
22952
|
if (attrName === 'paused') {
|
22919
22953
|
this.#handlePause(newValue === 'true');
|
@@ -23358,7 +23392,10 @@ var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQ
|
|
23358
23392
|
|
23359
23393
|
const componentName = getComponentName('collapsible-container');
|
23360
23394
|
|
23361
|
-
class RawCollapsibleContainer extends createBaseClass({
|
23395
|
+
class RawCollapsibleContainer extends createBaseClass({
|
23396
|
+
componentName,
|
23397
|
+
baseSelector: 'slot',
|
23398
|
+
}) {
|
23362
23399
|
static get observedAttributes() {
|
23363
23400
|
return ['collapsed', 'collapsible', 'text'];
|
23364
23401
|
}
|
@@ -23370,7 +23407,9 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23370
23407
|
<div class="wrapper">
|
23371
23408
|
<descope-text st-host-direction="ltr">
|
23372
23409
|
<div class="header">
|
23373
|
-
<
|
23410
|
+
<div class="icon">
|
23411
|
+
<descope-icon st-fill="currentcolor" src=${chevronIcon}></descope-icon>
|
23412
|
+
</div>
|
23374
23413
|
<span></span>
|
23375
23414
|
</div>
|
23376
23415
|
</descope-text>
|
@@ -23385,7 +23424,6 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23385
23424
|
div.content {
|
23386
23425
|
transition-property: max-height;
|
23387
23426
|
overflow: auto;
|
23388
|
-
transition-property: max-height;
|
23389
23427
|
height: auto;
|
23390
23428
|
}
|
23391
23429
|
slot {
|
@@ -23404,11 +23442,15 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23404
23442
|
display: flex;
|
23405
23443
|
align-items: baseline;
|
23406
23444
|
}
|
23407
|
-
|
23408
|
-
transition-property: transform;
|
23445
|
+
.icon {
|
23409
23446
|
flex-shrink: 0;
|
23410
23447
|
height: var(${TextClass.cssVarList.textLineHeight});
|
23411
23448
|
min-height: 24px;
|
23449
|
+
display: flex;
|
23450
|
+
align-items: center;
|
23451
|
+
}
|
23452
|
+
descope-icon {
|
23453
|
+
transition-property: transform;
|
23412
23454
|
}
|
23413
23455
|
.rotate {
|
23414
23456
|
transform: rotate(-180deg);
|
@@ -23431,7 +23473,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23431
23473
|
flex-direction: column;
|
23432
23474
|
}
|
23433
23475
|
`,
|
23434
|
-
this
|
23476
|
+
this,
|
23435
23477
|
);
|
23436
23478
|
|
23437
23479
|
this.header = this.shadowRoot.querySelector('.header');
|
@@ -23442,7 +23484,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23442
23484
|
}
|
23443
23485
|
|
23444
23486
|
get isCollapsible() {
|
23445
|
-
return this.getAttribute('collapsible') === 'true'
|
23487
|
+
return this.getAttribute('collapsible') === 'true';
|
23446
23488
|
}
|
23447
23489
|
|
23448
23490
|
calcContentHeight() {
|
@@ -23493,7 +23535,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23493
23535
|
});
|
23494
23536
|
forwardAttrs(this, this.textComponent, {
|
23495
23537
|
includeAttrs: ['text-align', 'text-variant', 'text-mode'],
|
23496
|
-
mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' }
|
23538
|
+
mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' },
|
23497
23539
|
});
|
23498
23540
|
}
|
23499
23541
|
|
@@ -23505,7 +23547,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23505
23547
|
attributeChangedCallback(name, oldValue, newValue) {
|
23506
23548
|
if (name === 'text') {
|
23507
23549
|
this.updateHeaderText();
|
23508
|
-
return
|
23550
|
+
return;
|
23509
23551
|
}
|
23510
23552
|
const collapsed = this.isCollapsed && this.isCollapsible;
|
23511
23553
|
if (collapsed) {
|
@@ -23519,6 +23561,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23519
23561
|
const selectors = {
|
23520
23562
|
host: () => ':host',
|
23521
23563
|
icon: () => 'descope-icon',
|
23564
|
+
iconWrapper: () => '.icon',
|
23522
23565
|
header: () => '.header',
|
23523
23566
|
text: () => 'span',
|
23524
23567
|
wrapper: () => '.wrapper',
|
@@ -23530,8 +23573,14 @@ const CollapsibleContainerClass = compose(
|
|
23530
23573
|
mappings: {
|
23531
23574
|
hostWidth: { selector: selectors.host, property: 'width' },
|
23532
23575
|
hostDirection: { selector: selectors.host, property: 'direction' },
|
23533
|
-
verticalPadding: [
|
23534
|
-
|
23576
|
+
verticalPadding: [
|
23577
|
+
{ selector: selectors.wrapper, property: 'padding-top' },
|
23578
|
+
{ selector: selectors.wrapper, property: 'padding-bottom' },
|
23579
|
+
],
|
23580
|
+
horizontalPadding: [
|
23581
|
+
{ selector: selectors.wrapper, property: 'padding-left' },
|
23582
|
+
{ selector: selectors.wrapper, property: 'padding-right' },
|
23583
|
+
],
|
23535
23584
|
|
23536
23585
|
flexDirection: {},
|
23537
23586
|
justifyContent: {},
|
@@ -23552,17 +23601,23 @@ const CollapsibleContainerClass = compose(
|
|
23552
23601
|
|
23553
23602
|
boxShadow: { selector: selectors.wrapper },
|
23554
23603
|
|
23555
|
-
headerIconOrder: { selector: selectors.
|
23604
|
+
headerIconOrder: { selector: selectors.iconWrapper, property: 'order' },
|
23556
23605
|
headerCursor: { selector: selectors.header, property: 'cursor' },
|
23557
23606
|
headerGap: { selector: selectors.header, property: 'gap' },
|
23558
23607
|
textGrow: { selector: selectors.text, property: 'flex-grow' },
|
23559
23608
|
textDirection: { selector: selectors.text, property: 'direction' },
|
23560
|
-
iconAnimationDuration: {
|
23561
|
-
|
23609
|
+
iconAnimationDuration: {
|
23610
|
+
selector: selectors.icon,
|
23611
|
+
property: 'transition-duration',
|
23612
|
+
},
|
23613
|
+
contentAnimationDuration: {
|
23614
|
+
selector: selectors.content,
|
23615
|
+
property: 'transition-duration',
|
23616
|
+
},
|
23562
23617
|
},
|
23563
23618
|
}),
|
23564
23619
|
draggableMixin,
|
23565
|
-
componentNameValidationMixin
|
23620
|
+
componentNameValidationMixin,
|
23566
23621
|
)(RawCollapsibleContainer);
|
23567
23622
|
|
23568
23623
|
const globalRefs = getThemeRefs$1(globals);
|
@@ -23705,7 +23760,6 @@ const components = {
|
|
23705
23760
|
loaderRadial: loaderRadial$1,
|
23706
23761
|
loaderLinear: loaderLinear$1,
|
23707
23762
|
comboBox: comboBox$1,
|
23708
|
-
image: image$1,
|
23709
23763
|
phoneField: phoneField$1,
|
23710
23764
|
phoneInputBoxField: phoneInputBoxField$1,
|
23711
23765
|
newPassword: newPassword$1,
|
@@ -23725,6 +23779,7 @@ const components = {
|
|
23725
23779
|
userAuthMethod: userAuthMethod$1,
|
23726
23780
|
samlGroupMappings: samlGroupMappings$1,
|
23727
23781
|
policyValidation: policyValidation$1,
|
23782
|
+
image: image$1,
|
23728
23783
|
icon: icon$2,
|
23729
23784
|
codeSnippet,
|
23730
23785
|
radioGroup: radioGroup$1,
|