@descope/web-components-ui 1.86.0 → 1.88.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 +738 -678
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +784 -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,201 @@ 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, altText) => {
|
17447
|
+
const ele = document.createElement('img');
|
17448
|
+
ele.setAttribute('src', src);
|
17449
|
+
ele.setAttribute('alt', altText);
|
17450
|
+
return ele;
|
17451
|
+
};
|
17452
|
+
|
17453
|
+
const createSvgEle = (text) => {
|
17454
|
+
// we want to purify the SVG to avoid XSS attacks
|
17455
|
+
const clean = DOMPurify.sanitize(text, {
|
17456
|
+
USE_PROFILES: { svg: true, svgFilters: true },
|
17457
|
+
});
|
17458
|
+
|
17459
|
+
const parser = new DOMParser();
|
17460
|
+
const ele = parser
|
17461
|
+
.parseFromString(clean, 'image/svg+xml')
|
17462
|
+
.querySelector('svg');
|
17463
|
+
return ele;
|
17464
|
+
};
|
17465
|
+
|
17466
|
+
const createImage = async (src, altText) => {
|
17467
|
+
try {
|
17468
|
+
let ele;
|
17469
|
+
if (isBase64Svg(src)) {
|
17470
|
+
// handle base64 source
|
17471
|
+
const svgXml = atob(src.slice(base64Prefix.length));
|
17472
|
+
ele = createSvgEle(svgXml);
|
17473
|
+
} else if (getFileExtension(src) === 'svg') {
|
17474
|
+
// handle urls
|
17475
|
+
const fetchedSrc = await fetch(src);
|
17476
|
+
const text = await fetchedSrc.text();
|
17477
|
+
ele = createSvgEle(text);
|
17478
|
+
} else {
|
17479
|
+
// handle binary
|
17480
|
+
ele = createImgEle(src, altText);
|
17481
|
+
}
|
17482
|
+
|
17483
|
+
ele.style.setProperty('max-width', '100%');
|
17484
|
+
ele.style.setProperty('max-height', '100%');
|
17485
|
+
|
17486
|
+
return ele;
|
17487
|
+
} catch {
|
17488
|
+
return null;
|
17489
|
+
}
|
17490
|
+
};
|
17491
|
+
|
17492
|
+
/* eslint-disable no-use-before-define */
|
17493
|
+
|
17494
|
+
const componentName$e = getComponentName('image');
|
17495
|
+
|
17496
|
+
const srcAttrs = ['src', 'src-dark'];
|
17497
|
+
|
17498
|
+
class RawImage extends createBaseClass({
|
17499
|
+
componentName: componentName$e,
|
17500
|
+
baseSelector: 'slot',
|
17501
|
+
}) {
|
17502
|
+
static get observedAttributes() {
|
17503
|
+
return srcAttrs;
|
17504
|
+
}
|
17505
|
+
|
17506
|
+
constructor() {
|
17507
|
+
super();
|
17508
|
+
|
17509
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
17510
|
+
<slot></slot>
|
17511
|
+
`;
|
17512
|
+
|
17513
|
+
injectStyle(
|
17514
|
+
`
|
17515
|
+
:host {
|
17516
|
+
display: inline-flex;
|
17517
|
+
}
|
17518
|
+
:host > slot {
|
17519
|
+
width: 100%;
|
17520
|
+
height: 100%;
|
17521
|
+
box-sizing: border-box;
|
17522
|
+
display: flex;
|
17523
|
+
overflow: hidden;
|
17524
|
+
}
|
17525
|
+
|
17526
|
+
::slotted(*) {
|
17527
|
+
width: 100%;
|
17528
|
+
}
|
17529
|
+
|
17530
|
+
.hidden {
|
17531
|
+
display: none;
|
17532
|
+
}
|
17533
|
+
`,
|
17534
|
+
this,
|
17535
|
+
);
|
17536
|
+
}
|
17537
|
+
|
17538
|
+
init() {
|
17539
|
+
super.init?.();
|
17540
|
+
this.toggleVisibility(this.src);
|
17541
|
+
}
|
17542
|
+
|
17543
|
+
onThemeChange() {
|
17544
|
+
this.renderImage();
|
17545
|
+
}
|
17546
|
+
|
17547
|
+
toggleVisibility(isVisible) {
|
17548
|
+
if (isVisible) {
|
17549
|
+
this.classList.remove('hidden');
|
17550
|
+
} else {
|
17551
|
+
this.classList.add('hidden');
|
17552
|
+
}
|
17553
|
+
}
|
17554
|
+
|
17555
|
+
get altText() {
|
17556
|
+
return this.getAttribute('alt') || '';
|
17557
|
+
}
|
17558
|
+
|
17559
|
+
get legacySrc() {
|
17560
|
+
return this.getAttribute('src');
|
17561
|
+
}
|
17562
|
+
|
17563
|
+
get themeSrc() {
|
17564
|
+
return this.getAttribute(`src-${this.currentThemeName}`);
|
17565
|
+
}
|
17566
|
+
|
17567
|
+
get src() {
|
17568
|
+
return this.themeSrc || this.legacySrc;
|
17569
|
+
}
|
17570
|
+
|
17571
|
+
// in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
|
17572
|
+
// with the value from the `st-fill` attribute
|
17573
|
+
// eslint-disable-next-line class-methods-use-this
|
17574
|
+
updateFillColor(node) {
|
17575
|
+
// set fill to root node and all its relevant selectors
|
17576
|
+
const elementsToReplace = [node, ...node.querySelectorAll('*[fill]')];
|
17577
|
+
|
17578
|
+
elementsToReplace.forEach((ele) => {
|
17579
|
+
ele.setAttribute(
|
17580
|
+
'fill',
|
17581
|
+
`var(${ImageClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`,
|
17582
|
+
);
|
17583
|
+
});
|
17584
|
+
}
|
17585
|
+
|
17586
|
+
renderImage() {
|
17587
|
+
this.toggleVisibility(this.src);
|
17588
|
+
|
17589
|
+
createImage(this.src, this.altText).then((res) => {
|
17590
|
+
this.innerHTML = '';
|
17591
|
+
if (res) {
|
17592
|
+
this.updateFillColor(res);
|
17593
|
+
this.appendChild(res);
|
17594
|
+
}
|
17595
|
+
});
|
17596
|
+
}
|
17597
|
+
|
17598
|
+
// render only when src attribute matches current theme
|
17599
|
+
shouldRender(src) {
|
17600
|
+
const srcVal = this.getAttribute(src);
|
17601
|
+
return this.src === srcVal;
|
17602
|
+
}
|
17603
|
+
|
17604
|
+
attributeChangedCallback(attrName, oldValue, newValue) {
|
17605
|
+
super.attributeChangedCallback?.(attrName, oldValue, newValue);
|
17606
|
+
|
17607
|
+
if (oldValue === newValue) return;
|
17608
|
+
|
17609
|
+
if (this.shouldRender(attrName)) {
|
17610
|
+
this.renderImage();
|
17611
|
+
}
|
17612
|
+
}
|
17613
|
+
}
|
17614
|
+
|
17615
|
+
const ImageClass = compose(
|
17616
|
+
createStyleMixin({
|
17617
|
+
mappings: {
|
17618
|
+
fill: {},
|
17619
|
+
height: { selector: () => ':host' },
|
17620
|
+
width: { selector: () => ':host' },
|
17621
|
+
},
|
17622
|
+
}),
|
17623
|
+
draggableMixin,
|
17624
|
+
componentNameValidationMixin,
|
17625
|
+
)(RawImage);
|
17626
|
+
|
17627
|
+
customElements.define(componentName$e, ImageClass);
|
17628
|
+
|
17590
17629
|
customElements.define(componentName$18, IconClass);
|
17591
17630
|
|
17592
|
-
customElements.define(componentName$
|
17631
|
+
customElements.define(componentName$f, ThirdPartyAppLogoClass);
|
17593
17632
|
|
17594
17633
|
const componentName$d = getComponentName$1('security-questions-setup');
|
17595
17634
|
|
@@ -20430,23 +20469,62 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
|
|
20430
20469
|
vars: vars$F
|
20431
20470
|
});
|
20432
20471
|
|
20433
|
-
const vars$E =
|
20472
|
+
const vars$E = PhoneFieldClass.cssVarList;
|
20434
20473
|
|
20435
|
-
const
|
20474
|
+
const phoneField = {
|
20475
|
+
[vars$E.hostWidth]: refs$1.width,
|
20476
|
+
[vars$E.hostDirection]: refs$1.direction,
|
20477
|
+
[vars$E.fontSize]: refs$1.fontSize,
|
20478
|
+
[vars$E.fontFamily]: refs$1.fontFamily,
|
20479
|
+
[vars$E.labelTextColor]: refs$1.labelTextColor,
|
20480
|
+
[vars$E.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20481
|
+
[vars$E.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20482
|
+
[vars$E.inputValueTextColor]: refs$1.valueTextColor,
|
20483
|
+
[vars$E.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
20484
|
+
[vars$E.inputBorderStyle]: refs$1.borderStyle,
|
20485
|
+
[vars$E.inputBorderWidth]: refs$1.borderWidth,
|
20486
|
+
[vars$E.inputBorderColor]: refs$1.borderColor,
|
20487
|
+
[vars$E.inputBorderRadius]: refs$1.borderRadius,
|
20488
|
+
[vars$E.inputOutlineStyle]: refs$1.outlineStyle,
|
20489
|
+
[vars$E.inputOutlineWidth]: refs$1.outlineWidth,
|
20490
|
+
[vars$E.inputOutlineColor]: refs$1.outlineColor,
|
20491
|
+
[vars$E.inputOutlineOffset]: refs$1.outlineOffset,
|
20492
|
+
[vars$E.phoneInputWidth]: refs$1.minWidth,
|
20493
|
+
[vars$E.countryCodeInputWidth]: '5em',
|
20494
|
+
[vars$E.countryCodeDropdownWidth]: '20em',
|
20495
|
+
[vars$E.marginInlineStart]: '-0.25em',
|
20496
|
+
[vars$E.valueInputHeight]: refs$1.valueInputHeight,
|
20497
|
+
[vars$E.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20436
20498
|
|
20437
|
-
|
20499
|
+
// error message icon
|
20500
|
+
[vars$E.errorMessageIcon]: refs$1.errorMessageIcon,
|
20501
|
+
[vars$E.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
20502
|
+
[vars$E.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
20503
|
+
[vars$E.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
20504
|
+
[vars$E.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20505
|
+
[vars$E.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20506
|
+
|
20507
|
+
// '@overlay': {
|
20508
|
+
// overlayItemBackgroundColor: 'red'
|
20509
|
+
// }
|
20510
|
+
};
|
20511
|
+
|
20512
|
+
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
20438
20513
|
__proto__: null,
|
20439
|
-
default:
|
20514
|
+
default: phoneField,
|
20440
20515
|
vars: vars$E
|
20441
20516
|
});
|
20442
20517
|
|
20443
|
-
const vars$D =
|
20518
|
+
const vars$D = PhoneFieldInputBoxClass.cssVarList;
|
20444
20519
|
|
20445
|
-
const
|
20446
|
-
[vars$D.hostWidth]:
|
20520
|
+
const phoneInputBoxField = {
|
20521
|
+
[vars$D.hostWidth]: '16em',
|
20522
|
+
[vars$D.hostMinWidth]: refs$1.minWidth,
|
20447
20523
|
[vars$D.hostDirection]: refs$1.direction,
|
20448
20524
|
[vars$D.fontSize]: refs$1.fontSize,
|
20449
20525
|
[vars$D.fontFamily]: refs$1.fontFamily,
|
20526
|
+
[vars$D.labelFontSize]: refs$1.labelFontSize,
|
20527
|
+
[vars$D.labelFontWeight]: refs$1.labelFontWeight,
|
20450
20528
|
[vars$D.labelTextColor]: refs$1.labelTextColor,
|
20451
20529
|
[vars$D.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20452
20530
|
[vars$D.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
@@ -20460,12 +20538,15 @@ const phoneField = {
|
|
20460
20538
|
[vars$D.inputOutlineWidth]: refs$1.outlineWidth,
|
20461
20539
|
[vars$D.inputOutlineColor]: refs$1.outlineColor,
|
20462
20540
|
[vars$D.inputOutlineOffset]: refs$1.outlineOffset,
|
20463
|
-
[vars$D.
|
20464
|
-
[vars$D.
|
20465
|
-
[vars$D.
|
20466
|
-
[vars$D.
|
20541
|
+
[vars$D.labelPosition]: refs$1.labelPosition,
|
20542
|
+
[vars$D.labelTopPosition]: refs$1.labelTopPosition,
|
20543
|
+
[vars$D.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
20544
|
+
[vars$D.inputTransformY]: refs$1.inputTransformY,
|
20545
|
+
[vars$D.inputTransition]: refs$1.inputTransition,
|
20546
|
+
[vars$D.marginInlineStart]: refs$1.marginInlineStart,
|
20467
20547
|
[vars$D.valueInputHeight]: refs$1.valueInputHeight,
|
20468
20548
|
[vars$D.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20549
|
+
[vars$D.inputHorizontalPadding]: '0',
|
20469
20550
|
|
20470
20551
|
// error message icon
|
20471
20552
|
[vars$D.errorMessageIcon]: refs$1.errorMessageIcon,
|
@@ -20475,21 +20556,22 @@ const phoneField = {
|
|
20475
20556
|
[vars$D.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20476
20557
|
[vars$D.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20477
20558
|
|
20478
|
-
|
20479
|
-
|
20480
|
-
|
20559
|
+
_fullWidth: {
|
20560
|
+
[vars$D.hostWidth]: refs$1.width,
|
20561
|
+
},
|
20481
20562
|
};
|
20482
20563
|
|
20483
|
-
var
|
20564
|
+
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
20484
20565
|
__proto__: null,
|
20485
|
-
default:
|
20566
|
+
default: phoneInputBoxField,
|
20486
20567
|
vars: vars$D
|
20487
20568
|
});
|
20488
20569
|
|
20489
|
-
const
|
20570
|
+
const globalRefs$r = getThemeRefs(globals$1);
|
20571
|
+
const vars$C = NewPasswordClass.cssVarList;
|
20490
20572
|
|
20491
|
-
const
|
20492
|
-
[vars$C.hostWidth]:
|
20573
|
+
const newPassword = {
|
20574
|
+
[vars$C.hostWidth]: refs$1.width,
|
20493
20575
|
[vars$C.hostMinWidth]: refs$1.minWidth,
|
20494
20576
|
[vars$C.hostDirection]: refs$1.direction,
|
20495
20577
|
[vars$C.fontSize]: refs$1.fontSize,
|
@@ -20497,27 +20579,11 @@ const phoneInputBoxField = {
|
|
20497
20579
|
[vars$C.labelFontSize]: refs$1.labelFontSize,
|
20498
20580
|
[vars$C.labelFontWeight]: refs$1.labelFontWeight,
|
20499
20581
|
[vars$C.labelTextColor]: refs$1.labelTextColor,
|
20500
|
-
[vars$C.
|
20582
|
+
[vars$C.spaceBetweenInputs]: '1em',
|
20501
20583
|
[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,
|
20584
|
+
[vars$C.policyPreviewBackgroundColor]: 'none',
|
20585
|
+
[vars$C.policyPreviewPadding]: globalRefs$r.spacing.lg,
|
20518
20586
|
[vars$C.valueInputHeight]: refs$1.valueInputHeight,
|
20519
|
-
[vars$C.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
20520
|
-
[vars$C.inputHorizontalPadding]: '0',
|
20521
20587
|
|
20522
20588
|
// error message icon
|
20523
20589
|
[vars$C.errorMessageIcon]: refs$1.errorMessageIcon,
|
@@ -20527,157 +20593,120 @@ const phoneInputBoxField = {
|
|
20527
20593
|
[vars$C.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20528
20594
|
[vars$C.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20529
20595
|
|
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
20596
|
_required: {
|
20568
20597
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
20569
20598
|
// That's why we fake the required indicator on each input.
|
20570
20599
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
20571
|
-
[vars$
|
20600
|
+
[vars$C.inputsRequiredIndicator]: refs$1.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
20572
20601
|
},
|
20573
20602
|
};
|
20574
20603
|
|
20575
20604
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
20576
20605
|
__proto__: null,
|
20577
20606
|
default: newPassword,
|
20578
|
-
vars: vars$
|
20607
|
+
vars: vars$C
|
20579
20608
|
});
|
20580
20609
|
|
20581
|
-
const vars$
|
20610
|
+
const vars$B = UploadFileClass.cssVarList;
|
20582
20611
|
|
20583
20612
|
const uploadFile = {
|
20584
|
-
[vars$
|
20585
|
-
[vars$
|
20586
|
-
[vars$
|
20613
|
+
[vars$B.hostDirection]: refs$1.direction,
|
20614
|
+
[vars$B.labelTextColor]: refs$1.labelTextColor,
|
20615
|
+
[vars$B.fontFamily]: refs$1.fontFamily,
|
20587
20616
|
|
20588
|
-
[vars$
|
20617
|
+
[vars$B.iconSize]: '2em',
|
20589
20618
|
|
20590
|
-
[vars$
|
20591
|
-
[vars$
|
20619
|
+
[vars$B.hostPadding]: '0.75em',
|
20620
|
+
[vars$B.gap]: '0.5em',
|
20592
20621
|
|
20593
|
-
[vars$
|
20594
|
-
[vars$
|
20595
|
-
[vars$
|
20622
|
+
[vars$B.fontSize]: '16px',
|
20623
|
+
[vars$B.titleFontWeight]: '500',
|
20624
|
+
[vars$B.lineHeight]: '1em',
|
20596
20625
|
|
20597
|
-
[vars$
|
20598
|
-
[vars$
|
20599
|
-
[vars$
|
20600
|
-
[vars$
|
20626
|
+
[vars$B.borderWidth]: refs$1.borderWidth,
|
20627
|
+
[vars$B.borderColor]: refs$1.borderColor,
|
20628
|
+
[vars$B.borderRadius]: refs$1.borderRadius,
|
20629
|
+
[vars$B.borderStyle]: 'dashed',
|
20601
20630
|
|
20602
20631
|
_required: {
|
20603
|
-
[vars$
|
20632
|
+
[vars$B.requiredIndicator]: refs$1.requiredIndicator,
|
20604
20633
|
},
|
20605
20634
|
|
20606
20635
|
size: {
|
20607
20636
|
xs: {
|
20608
|
-
[vars$
|
20609
|
-
[vars$
|
20610
|
-
[vars$
|
20611
|
-
[vars$
|
20612
|
-
[vars$
|
20637
|
+
[vars$B.hostHeight]: '196px',
|
20638
|
+
[vars$B.hostWidth]: '200px',
|
20639
|
+
[vars$B.titleFontSize]: '0.875em',
|
20640
|
+
[vars$B.descriptionFontSize]: '0.875em',
|
20641
|
+
[vars$B.lineHeight]: '1.25em',
|
20613
20642
|
},
|
20614
20643
|
sm: {
|
20615
|
-
[vars$
|
20616
|
-
[vars$
|
20617
|
-
[vars$
|
20618
|
-
[vars$
|
20619
|
-
[vars$
|
20644
|
+
[vars$B.hostHeight]: '216px',
|
20645
|
+
[vars$B.hostWidth]: '230px',
|
20646
|
+
[vars$B.titleFontSize]: '1em',
|
20647
|
+
[vars$B.descriptionFontSize]: '0.875em',
|
20648
|
+
[vars$B.lineHeight]: '1.25em',
|
20620
20649
|
},
|
20621
20650
|
md: {
|
20622
|
-
[vars$
|
20623
|
-
[vars$
|
20624
|
-
[vars$
|
20625
|
-
[vars$
|
20626
|
-
[vars$
|
20651
|
+
[vars$B.hostHeight]: '256px',
|
20652
|
+
[vars$B.hostWidth]: '312px',
|
20653
|
+
[vars$B.titleFontSize]: '1.125em',
|
20654
|
+
[vars$B.descriptionFontSize]: '1em',
|
20655
|
+
[vars$B.lineHeight]: '1.5em',
|
20627
20656
|
},
|
20628
20657
|
lg: {
|
20629
|
-
[vars$
|
20630
|
-
[vars$
|
20631
|
-
[vars$
|
20632
|
-
[vars$
|
20633
|
-
[vars$
|
20658
|
+
[vars$B.hostHeight]: '280px',
|
20659
|
+
[vars$B.hostWidth]: '336px',
|
20660
|
+
[vars$B.titleFontSize]: '1.125em',
|
20661
|
+
[vars$B.descriptionFontSize]: '1.125em',
|
20662
|
+
[vars$B.lineHeight]: '1.75em',
|
20634
20663
|
},
|
20635
20664
|
},
|
20636
20665
|
|
20637
20666
|
_fullWidth: {
|
20638
|
-
[vars$
|
20667
|
+
[vars$B.hostWidth]: refs$1.width,
|
20639
20668
|
},
|
20640
20669
|
};
|
20641
20670
|
|
20642
20671
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
20643
20672
|
__proto__: null,
|
20644
20673
|
default: uploadFile,
|
20645
|
-
vars: vars$
|
20674
|
+
vars: vars$B
|
20646
20675
|
});
|
20647
20676
|
|
20648
20677
|
const globalRefs$q = getThemeRefs(globals$1);
|
20649
20678
|
|
20650
|
-
const vars$
|
20679
|
+
const vars$A = ButtonSelectionGroupItemClass.cssVarList;
|
20651
20680
|
|
20652
20681
|
const buttonSelectionGroupItem = {
|
20653
|
-
[vars$
|
20654
|
-
[vars$
|
20655
|
-
[vars$
|
20656
|
-
[vars$
|
20657
|
-
[vars$
|
20658
|
-
[vars$
|
20659
|
-
[vars$
|
20660
|
-
[vars$
|
20682
|
+
[vars$A.hostDirection]: 'inherit',
|
20683
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.main,
|
20684
|
+
[vars$A.labelTextColor]: globalRefs$q.colors.surface.contrast,
|
20685
|
+
[vars$A.borderColor]: globalRefs$q.colors.surface.light,
|
20686
|
+
[vars$A.borderStyle]: 'solid',
|
20687
|
+
[vars$A.borderRadius]: globalRefs$q.radius.sm,
|
20688
|
+
[vars$A.outlineColor]: 'transparent',
|
20689
|
+
[vars$A.borderWidth]: globalRefs$q.border.xs,
|
20661
20690
|
|
20662
20691
|
_hover: {
|
20663
|
-
[vars$
|
20692
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.highlight,
|
20664
20693
|
},
|
20665
20694
|
|
20666
20695
|
_focused: {
|
20667
|
-
[vars$
|
20696
|
+
[vars$A.outlineColor]: globalRefs$q.colors.surface.light,
|
20668
20697
|
},
|
20669
20698
|
|
20670
20699
|
_selected: {
|
20671
|
-
[vars$
|
20672
|
-
[vars$
|
20673
|
-
[vars$
|
20700
|
+
[vars$A.borderColor]: globalRefs$q.colors.surface.contrast,
|
20701
|
+
[vars$A.backgroundColor]: globalRefs$q.colors.surface.contrast,
|
20702
|
+
[vars$A.labelTextColor]: globalRefs$q.colors.surface.main,
|
20674
20703
|
},
|
20675
20704
|
};
|
20676
20705
|
|
20677
20706
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
20678
20707
|
__proto__: null,
|
20679
20708
|
default: buttonSelectionGroupItem,
|
20680
|
-
vars: vars$
|
20709
|
+
vars: vars$A
|
20681
20710
|
});
|
20682
20711
|
|
20683
20712
|
const globalRefs$p = getThemeRefs(globals$1);
|
@@ -20701,28 +20730,28 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
|
|
20701
20730
|
[vars.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20702
20731
|
});
|
20703
20732
|
|
20704
|
-
const vars$
|
20733
|
+
const vars$z = ButtonSelectionGroupClass.cssVarList;
|
20705
20734
|
|
20706
20735
|
const buttonSelectionGroup = {
|
20707
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
20736
|
+
...createBaseButtonSelectionGroupMappings(vars$z),
|
20708
20737
|
};
|
20709
20738
|
|
20710
20739
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
20711
20740
|
__proto__: null,
|
20712
20741
|
default: buttonSelectionGroup,
|
20713
|
-
vars: vars$
|
20742
|
+
vars: vars$z
|
20714
20743
|
});
|
20715
20744
|
|
20716
|
-
const vars$
|
20745
|
+
const vars$y = ButtonMultiSelectionGroupClass.cssVarList;
|
20717
20746
|
|
20718
20747
|
const buttonMultiSelectionGroup = {
|
20719
|
-
...createBaseButtonSelectionGroupMappings(vars$
|
20748
|
+
...createBaseButtonSelectionGroupMappings(vars$y),
|
20720
20749
|
};
|
20721
20750
|
|
20722
20751
|
var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
20723
20752
|
__proto__: null,
|
20724
20753
|
default: buttonMultiSelectionGroup,
|
20725
|
-
vars: vars$
|
20754
|
+
vars: vars$y
|
20726
20755
|
});
|
20727
20756
|
|
20728
20757
|
const globalRefs$o = getThemeRefs(globals$1);
|
@@ -20735,58 +20764,58 @@ const modal = {
|
|
20735
20764
|
[compVars$4.overlayWidth]: '540px',
|
20736
20765
|
};
|
20737
20766
|
|
20738
|
-
const vars$
|
20767
|
+
const vars$x = {
|
20739
20768
|
...compVars$4,
|
20740
20769
|
};
|
20741
20770
|
|
20742
20771
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
20743
20772
|
__proto__: null,
|
20744
20773
|
default: modal,
|
20745
|
-
vars: vars$
|
20774
|
+
vars: vars$x
|
20746
20775
|
});
|
20747
20776
|
|
20748
20777
|
const globalRefs$n = getThemeRefs(globals$1);
|
20749
|
-
const vars$
|
20778
|
+
const vars$w = GridClass.cssVarList;
|
20750
20779
|
|
20751
20780
|
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$
|
20781
|
+
[vars$w.hostWidth]: '100%',
|
20782
|
+
[vars$w.hostHeight]: '100%',
|
20783
|
+
[vars$w.hostMinHeight]: '400px',
|
20784
|
+
[vars$w.fontWeight]: '400',
|
20785
|
+
[vars$w.backgroundColor]: globalRefs$n.colors.surface.main,
|
20786
|
+
|
20787
|
+
[vars$w.fontSize]: refs$1.fontSize,
|
20788
|
+
[vars$w.fontFamily]: refs$1.fontFamily,
|
20789
|
+
|
20790
|
+
[vars$w.sortIndicatorsColor]: globalRefs$n.colors.surface.light,
|
20791
|
+
[vars$w.activeSortIndicator]: globalRefs$n.colors.surface.dark,
|
20792
|
+
[vars$w.resizeHandleColor]: globalRefs$n.colors.surface.light,
|
20793
|
+
|
20794
|
+
[vars$w.borderWidth]: refs$1.borderWidth,
|
20795
|
+
[vars$w.borderStyle]: refs$1.borderStyle,
|
20796
|
+
[vars$w.borderRadius]: refs$1.borderRadius,
|
20797
|
+
[vars$w.borderColor]: 'transparent',
|
20798
|
+
|
20799
|
+
[vars$w.headerRowTextColor]: globalRefs$n.colors.surface.dark,
|
20800
|
+
[vars$w.separatorColor]: globalRefs$n.colors.surface.light,
|
20801
|
+
|
20802
|
+
[vars$w.valueTextColor]: globalRefs$n.colors.surface.contrast,
|
20803
|
+
[vars$w.selectedBackgroundColor]: globalRefs$n.colors.surface.highlight,
|
20804
|
+
[vars$w.hostDirection]: globalRefs$n.direction,
|
20805
|
+
|
20806
|
+
[vars$w.toggleDetailsPanelButtonSize]: '1em',
|
20807
|
+
[vars$w.toggleDetailsPanelButtonOpenedColor]: globalRefs$n.colors.surface.contrast,
|
20808
|
+
[vars$w.toggleDetailsPanelButtonClosedColor]: globalRefs$n.colors.surface.light,
|
20809
|
+
[vars$w.toggleDetailsPanelButtonCursor]: 'pointer',
|
20810
|
+
[vars$w.detailsPanelBackgroundColor]: globalRefs$n.colors.surface.highlight,
|
20811
|
+
[vars$w.detailsPanelBorderTopColor]: globalRefs$n.colors.surface.light,
|
20812
|
+
[vars$w.detailsPanelLabelsColor]: globalRefs$n.colors.surface.dark,
|
20813
|
+
[vars$w.detailsPanelLabelsFontSize]: '0.8em',
|
20814
|
+
[vars$w.detailsPanelItemsGap]: '2em',
|
20815
|
+
[vars$w.detailsPanelPadding]: '12px 0',
|
20787
20816
|
|
20788
20817
|
_bordered: {
|
20789
|
-
[vars$
|
20818
|
+
[vars$w.borderColor]: refs$1.borderColor,
|
20790
20819
|
},
|
20791
20820
|
};
|
20792
20821
|
|
@@ -20794,53 +20823,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
20794
20823
|
__proto__: null,
|
20795
20824
|
default: grid,
|
20796
20825
|
grid: grid,
|
20797
|
-
vars: vars$
|
20826
|
+
vars: vars$w
|
20798
20827
|
});
|
20799
20828
|
|
20800
20829
|
const globalRefs$m = getThemeRefs(globals$1);
|
20801
|
-
const vars$
|
20830
|
+
const vars$v = NotificationCardClass.cssVarList;
|
20802
20831
|
|
20803
20832
|
const shadowColor$3 = '#00000020';
|
20804
20833
|
|
20805
20834
|
const notification = {
|
20806
|
-
[vars$
|
20807
|
-
[vars$
|
20808
|
-
[vars$
|
20809
|
-
[vars$
|
20810
|
-
[vars$
|
20811
|
-
[vars$
|
20812
|
-
[vars$
|
20813
|
-
[vars$
|
20814
|
-
[vars$
|
20835
|
+
[vars$v.hostMinWidth]: '415px',
|
20836
|
+
[vars$v.fontFamily]: globalRefs$m.fonts.font1.family,
|
20837
|
+
[vars$v.fontSize]: globalRefs$m.typography.body1.size,
|
20838
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.surface.main,
|
20839
|
+
[vars$v.textColor]: globalRefs$m.colors.surface.contrast,
|
20840
|
+
[vars$v.boxShadow]: `${globalRefs$m.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$m.shadow.narrow.xl} ${shadowColor$3}`,
|
20841
|
+
[vars$v.verticalPadding]: '0.625em',
|
20842
|
+
[vars$v.horizontalPadding]: '1.5em',
|
20843
|
+
[vars$v.borderRadius]: globalRefs$m.radius.xs,
|
20815
20844
|
|
20816
20845
|
_bordered: {
|
20817
|
-
[vars$
|
20818
|
-
[vars$
|
20819
|
-
[vars$
|
20846
|
+
[vars$v.borderWidth]: globalRefs$m.border.sm,
|
20847
|
+
[vars$v.borderStyle]: 'solid',
|
20848
|
+
[vars$v.borderColor]: 'transparent',
|
20820
20849
|
},
|
20821
20850
|
|
20822
20851
|
size: {
|
20823
|
-
xs: { [vars$
|
20824
|
-
sm: { [vars$
|
20825
|
-
md: { [vars$
|
20826
|
-
lg: { [vars$
|
20852
|
+
xs: { [vars$v.fontSize]: '12px' },
|
20853
|
+
sm: { [vars$v.fontSize]: '14px' },
|
20854
|
+
md: { [vars$v.fontSize]: '16px' },
|
20855
|
+
lg: { [vars$v.fontSize]: '18px' },
|
20827
20856
|
},
|
20828
20857
|
|
20829
20858
|
mode: {
|
20830
20859
|
primary: {
|
20831
|
-
[vars$
|
20832
|
-
[vars$
|
20833
|
-
[vars$
|
20860
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.primary.main,
|
20861
|
+
[vars$v.textColor]: globalRefs$m.colors.primary.contrast,
|
20862
|
+
[vars$v.borderColor]: globalRefs$m.colors.primary.light,
|
20834
20863
|
},
|
20835
20864
|
success: {
|
20836
|
-
[vars$
|
20837
|
-
[vars$
|
20838
|
-
[vars$
|
20865
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.success.main,
|
20866
|
+
[vars$v.textColor]: globalRefs$m.colors.success.contrast,
|
20867
|
+
[vars$v.borderColor]: globalRefs$m.colors.success.light,
|
20839
20868
|
},
|
20840
20869
|
error: {
|
20841
|
-
[vars$
|
20842
|
-
[vars$
|
20843
|
-
[vars$
|
20870
|
+
[vars$v.backgroundColor]: globalRefs$m.colors.error.main,
|
20871
|
+
[vars$v.textColor]: globalRefs$m.colors.error.contrast,
|
20872
|
+
[vars$v.borderColor]: globalRefs$m.colors.error.light,
|
20844
20873
|
},
|
20845
20874
|
},
|
20846
20875
|
};
|
@@ -20848,156 +20877,156 @@ const notification = {
|
|
20848
20877
|
var notificationCard = /*#__PURE__*/Object.freeze({
|
20849
20878
|
__proto__: null,
|
20850
20879
|
default: notification,
|
20851
|
-
vars: vars$
|
20880
|
+
vars: vars$v
|
20852
20881
|
});
|
20853
20882
|
|
20854
20883
|
const globalRefs$l = getThemeRefs(globals$1);
|
20855
|
-
const vars$
|
20884
|
+
const vars$u = MultiSelectComboBoxClass.cssVarList;
|
20856
20885
|
|
20857
20886
|
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$
|
20887
|
+
[vars$u.hostWidth]: refs$1.width,
|
20888
|
+
[vars$u.hostDirection]: refs$1.direction,
|
20889
|
+
[vars$u.fontSize]: refs$1.fontSize,
|
20890
|
+
[vars$u.fontFamily]: refs$1.fontFamily,
|
20891
|
+
[vars$u.labelFontSize]: refs$1.labelFontSize,
|
20892
|
+
[vars$u.labelFontWeight]: refs$1.labelFontWeight,
|
20893
|
+
[vars$u.labelTextColor]: refs$1.labelTextColor,
|
20894
|
+
[vars$u.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
20895
|
+
[vars$u.inputBorderColor]: refs$1.borderColor,
|
20896
|
+
[vars$u.inputBorderWidth]: refs$1.borderWidth,
|
20897
|
+
[vars$u.inputBorderStyle]: refs$1.borderStyle,
|
20898
|
+
[vars$u.inputBorderRadius]: refs$1.borderRadius,
|
20899
|
+
[vars$u.inputOutlineColor]: refs$1.outlineColor,
|
20900
|
+
[vars$u.inputOutlineOffset]: refs$1.outlineOffset,
|
20901
|
+
[vars$u.inputOutlineWidth]: refs$1.outlineWidth,
|
20902
|
+
[vars$u.inputOutlineStyle]: refs$1.outlineStyle,
|
20903
|
+
[vars$u.labelRequiredIndicator]: refs$1.requiredIndicator,
|
20904
|
+
[vars$u.inputValueTextColor]: refs$1.valueTextColor,
|
20905
|
+
[vars$u.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
20906
|
+
[vars$u.inputBackgroundColor]: refs$1.backgroundColor,
|
20907
|
+
[vars$u.inputHorizontalPadding]: refs$1.horizontalPadding,
|
20908
|
+
[vars$u.inputVerticalPadding]: refs$1.verticalPadding,
|
20909
|
+
[vars$u.inputHeight]: refs$1.inputHeight,
|
20910
|
+
[vars$u.inputDropdownButtonColor]: globalRefs$l.colors.surface.dark,
|
20911
|
+
[vars$u.inputDropdownButtonCursor]: 'pointer',
|
20912
|
+
[vars$u.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
20913
|
+
[vars$u.inputDropdownButtonOffset]: globalRefs$l.spacing.xs,
|
20914
|
+
[vars$u.overlayItemPaddingInlineStart]: globalRefs$l.spacing.xs,
|
20915
|
+
[vars$u.overlayItemPaddingInlineEnd]: globalRefs$l.spacing.lg,
|
20916
|
+
[vars$u.chipFontSize]: refs$1.chipFontSize,
|
20917
|
+
[vars$u.chipTextColor]: globalRefs$l.colors.surface.contrast,
|
20918
|
+
[vars$u.chipBackgroundColor]: globalRefs$l.colors.surface.light,
|
20919
|
+
[vars$u.labelPosition]: refs$1.labelPosition,
|
20920
|
+
[vars$u.labelTopPosition]: refs$1.labelTopPosition,
|
20921
|
+
[vars$u.labelLeftPosition]: refs$1.labelLeftPosition,
|
20922
|
+
[vars$u.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
20923
|
+
[vars$u.inputTransformY]: refs$1.inputTransformY,
|
20924
|
+
[vars$u.inputTransition]: refs$1.inputTransition,
|
20925
|
+
[vars$u.marginInlineStart]: refs$1.marginInlineStart,
|
20926
|
+
[vars$u.placeholderOpacity]: refs$1.placeholderOpacity,
|
20927
|
+
[vars$u.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
20899
20928
|
|
20900
20929
|
// error message icon
|
20901
|
-
[vars$
|
20902
|
-
[vars$
|
20903
|
-
[vars$
|
20904
|
-
[vars$
|
20905
|
-
[vars$
|
20906
|
-
[vars$
|
20930
|
+
[vars$u.errorMessageIcon]: refs$1.errorMessageIcon,
|
20931
|
+
[vars$u.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
20932
|
+
[vars$u.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
20933
|
+
[vars$u.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
20934
|
+
[vars$u.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
20935
|
+
[vars$u.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
20907
20936
|
|
20908
20937
|
labelType: {
|
20909
20938
|
floating: {
|
20910
|
-
[vars$
|
20939
|
+
[vars$u.inputHorizontalPadding]: '0.25em',
|
20911
20940
|
_hasValue: {
|
20912
|
-
[vars$
|
20941
|
+
[vars$u.inputHorizontalPadding]: '0.45em',
|
20913
20942
|
},
|
20914
20943
|
},
|
20915
20944
|
},
|
20916
20945
|
|
20917
20946
|
_readonly: {
|
20918
|
-
[vars$
|
20947
|
+
[vars$u.inputDropdownButtonCursor]: 'default',
|
20919
20948
|
},
|
20920
20949
|
|
20921
20950
|
// Overlay theme exposed via the component:
|
20922
|
-
[vars$
|
20923
|
-
[vars$
|
20924
|
-
[vars$
|
20925
|
-
[vars$
|
20926
|
-
[vars$
|
20927
|
-
[vars$
|
20951
|
+
[vars$u.overlayFontSize]: refs$1.fontSize,
|
20952
|
+
[vars$u.overlayFontFamily]: refs$1.fontFamily,
|
20953
|
+
[vars$u.overlayCursor]: 'pointer',
|
20954
|
+
[vars$u.overlayItemBoxShadow]: 'none',
|
20955
|
+
[vars$u.overlayBackground]: refs$1.backgroundColor,
|
20956
|
+
[vars$u.overlayTextColor]: refs$1.valueTextColor,
|
20928
20957
|
|
20929
20958
|
// Overlay direct theme:
|
20930
|
-
[vars$
|
20931
|
-
[vars$
|
20959
|
+
[vars$u.overlay.minHeight]: '400px',
|
20960
|
+
[vars$u.overlay.margin]: '0',
|
20932
20961
|
};
|
20933
20962
|
|
20934
20963
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
20935
20964
|
__proto__: null,
|
20936
20965
|
default: multiSelectComboBox,
|
20937
20966
|
multiSelectComboBox: multiSelectComboBox,
|
20938
|
-
vars: vars$
|
20967
|
+
vars: vars$u
|
20939
20968
|
});
|
20940
20969
|
|
20941
20970
|
const globalRefs$k = getThemeRefs(globals$1);
|
20942
|
-
const vars$
|
20971
|
+
const vars$t = BadgeClass.cssVarList;
|
20943
20972
|
|
20944
20973
|
const badge = {
|
20945
|
-
[vars$
|
20946
|
-
[vars$
|
20974
|
+
[vars$t.hostWidth]: 'fit-content',
|
20975
|
+
[vars$t.hostDirection]: globalRefs$k.direction,
|
20947
20976
|
|
20948
|
-
[vars$
|
20977
|
+
[vars$t.textAlign]: 'center',
|
20949
20978
|
|
20950
|
-
[vars$
|
20951
|
-
[vars$
|
20979
|
+
[vars$t.fontFamily]: globalRefs$k.fonts.font1.family,
|
20980
|
+
[vars$t.fontWeight]: '400',
|
20952
20981
|
|
20953
|
-
[vars$
|
20954
|
-
[vars$
|
20982
|
+
[vars$t.verticalPadding]: '0.25em',
|
20983
|
+
[vars$t.horizontalPadding]: '0.5em',
|
20955
20984
|
|
20956
|
-
[vars$
|
20957
|
-
[vars$
|
20958
|
-
[vars$
|
20959
|
-
[vars$
|
20985
|
+
[vars$t.borderWidth]: globalRefs$k.border.xs,
|
20986
|
+
[vars$t.borderRadius]: globalRefs$k.radius.xs,
|
20987
|
+
[vars$t.borderColor]: 'transparent',
|
20988
|
+
[vars$t.borderStyle]: 'solid',
|
20960
20989
|
|
20961
20990
|
_fullWidth: {
|
20962
|
-
[vars$
|
20991
|
+
[vars$t.hostWidth]: '100%',
|
20963
20992
|
},
|
20964
20993
|
|
20965
20994
|
size: {
|
20966
|
-
xs: { [vars$
|
20967
|
-
sm: { [vars$
|
20968
|
-
md: { [vars$
|
20969
|
-
lg: { [vars$
|
20995
|
+
xs: { [vars$t.fontSize]: '12px' },
|
20996
|
+
sm: { [vars$t.fontSize]: '14px' },
|
20997
|
+
md: { [vars$t.fontSize]: '16px' },
|
20998
|
+
lg: { [vars$t.fontSize]: '18px' },
|
20970
20999
|
},
|
20971
21000
|
|
20972
21001
|
mode: {
|
20973
21002
|
default: {
|
20974
|
-
[vars$
|
21003
|
+
[vars$t.textColor]: globalRefs$k.colors.surface.dark,
|
20975
21004
|
_bordered: {
|
20976
|
-
[vars$
|
21005
|
+
[vars$t.borderColor]: globalRefs$k.colors.surface.light,
|
20977
21006
|
},
|
20978
21007
|
},
|
20979
21008
|
primary: {
|
20980
|
-
[vars$
|
21009
|
+
[vars$t.textColor]: globalRefs$k.colors.primary.main,
|
20981
21010
|
_bordered: {
|
20982
|
-
[vars$
|
21011
|
+
[vars$t.borderColor]: globalRefs$k.colors.primary.light,
|
20983
21012
|
},
|
20984
21013
|
},
|
20985
21014
|
secondary: {
|
20986
|
-
[vars$
|
21015
|
+
[vars$t.textColor]: globalRefs$k.colors.secondary.main,
|
20987
21016
|
_bordered: {
|
20988
|
-
[vars$
|
21017
|
+
[vars$t.borderColor]: globalRefs$k.colors.secondary.light,
|
20989
21018
|
},
|
20990
21019
|
},
|
20991
21020
|
error: {
|
20992
|
-
[vars$
|
21021
|
+
[vars$t.textColor]: globalRefs$k.colors.error.main,
|
20993
21022
|
_bordered: {
|
20994
|
-
[vars$
|
21023
|
+
[vars$t.borderColor]: globalRefs$k.colors.error.light,
|
20995
21024
|
},
|
20996
21025
|
},
|
20997
21026
|
success: {
|
20998
|
-
[vars$
|
21027
|
+
[vars$t.textColor]: globalRefs$k.colors.success.main,
|
20999
21028
|
_bordered: {
|
21000
|
-
[vars$
|
21029
|
+
[vars$t.borderColor]: globalRefs$k.colors.success.light,
|
21001
21030
|
},
|
21002
21031
|
},
|
21003
21032
|
},
|
@@ -21006,7 +21035,7 @@ const badge = {
|
|
21006
21035
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
21007
21036
|
__proto__: null,
|
21008
21037
|
default: badge,
|
21009
|
-
vars: vars$
|
21038
|
+
vars: vars$t
|
21010
21039
|
});
|
21011
21040
|
|
21012
21041
|
const globalRefs$j = getThemeRefs$1(globals);
|
@@ -21044,146 +21073,156 @@ const avatar = {
|
|
21044
21073
|
},
|
21045
21074
|
};
|
21046
21075
|
|
21047
|
-
const vars$
|
21076
|
+
const vars$s = {
|
21048
21077
|
...compVars$3,
|
21049
21078
|
};
|
21050
21079
|
|
21051
21080
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
21052
21081
|
__proto__: null,
|
21053
21082
|
default: avatar,
|
21054
|
-
vars: vars$
|
21083
|
+
vars: vars$s
|
21055
21084
|
});
|
21056
21085
|
|
21057
21086
|
const globalRefs$i = getThemeRefs(globals$1);
|
21058
21087
|
|
21059
|
-
const vars$
|
21088
|
+
const vars$r = MappingsFieldClass.cssVarList;
|
21060
21089
|
|
21061
21090
|
const mappingsField = {
|
21062
|
-
[vars$
|
21063
|
-
[vars$
|
21064
|
-
[vars$
|
21065
|
-
[vars$
|
21066
|
-
[vars$
|
21067
|
-
[vars$
|
21068
|
-
[vars$
|
21069
|
-
[vars$
|
21070
|
-
[vars$
|
21071
|
-
[vars$
|
21091
|
+
[vars$r.hostWidth]: refs$1.width,
|
21092
|
+
[vars$r.hostDirection]: refs$1.direction,
|
21093
|
+
[vars$r.fontSize]: refs$1.fontSize,
|
21094
|
+
[vars$r.fontFamily]: refs$1.fontFamily,
|
21095
|
+
[vars$r.separatorFontSize]: '14px',
|
21096
|
+
[vars$r.labelsFontSize]: '14px',
|
21097
|
+
[vars$r.labelsLineHeight]: '1',
|
21098
|
+
[vars$r.labelsMarginBottom]: '6px',
|
21099
|
+
[vars$r.labelTextColor]: refs$1.labelTextColor,
|
21100
|
+
[vars$r.itemMarginBottom]: '1em',
|
21072
21101
|
// To be positioned correctly, the min width has to match the text field min width
|
21073
|
-
[vars$
|
21102
|
+
[vars$r.valueLabelMinWidth]: refs$1.minWidth,
|
21074
21103
|
// To be positioned correctly, the min width has to match the combo box field min width
|
21075
|
-
[vars$
|
21076
|
-
[vars$
|
21077
|
-
[vars$
|
21104
|
+
[vars$r.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$i.border.xs})`,
|
21105
|
+
[vars$r.separatorWidth]: '70px',
|
21106
|
+
[vars$r.removeButtonWidth]: '60px',
|
21078
21107
|
};
|
21079
21108
|
|
21080
21109
|
var mappingsField$1 = /*#__PURE__*/Object.freeze({
|
21081
21110
|
__proto__: null,
|
21082
21111
|
default: mappingsField,
|
21083
21112
|
mappingsField: mappingsField,
|
21084
|
-
vars: vars$
|
21113
|
+
vars: vars$r
|
21085
21114
|
});
|
21086
21115
|
|
21087
21116
|
const globalRefs$h = getThemeRefs(globals$1);
|
21088
|
-
const vars$
|
21117
|
+
const vars$q = UserAttributeClass.cssVarList;
|
21089
21118
|
|
21090
21119
|
const userAttribute = {
|
21091
|
-
[vars$
|
21092
|
-
[vars$
|
21093
|
-
[vars$
|
21094
|
-
[vars$
|
21095
|
-
[vars$
|
21096
|
-
[vars$
|
21120
|
+
[vars$q.hostDirection]: globalRefs$h.direction,
|
21121
|
+
[vars$q.labelTextWidth]: '150px',
|
21122
|
+
[vars$q.valueTextWidth]: '200px',
|
21123
|
+
[vars$q.badgeMaxWidth]: '85px',
|
21124
|
+
[vars$q.itemsGap]: '16px',
|
21125
|
+
[vars$q.hostMinWidth]: '530px',
|
21097
21126
|
_fullWidth: {
|
21098
|
-
[vars$
|
21127
|
+
[vars$q.hostWidth]: '100%',
|
21099
21128
|
},
|
21100
21129
|
};
|
21101
21130
|
|
21102
21131
|
var userAttribute$1 = /*#__PURE__*/Object.freeze({
|
21103
21132
|
__proto__: null,
|
21104
21133
|
default: userAttribute,
|
21105
|
-
vars: vars$
|
21134
|
+
vars: vars$q
|
21106
21135
|
});
|
21107
21136
|
|
21108
21137
|
const globalRefs$g = getThemeRefs(globals$1);
|
21109
|
-
const vars$
|
21138
|
+
const vars$p = UserAuthMethodClass.cssVarList;
|
21110
21139
|
|
21111
21140
|
const userAuthMethod = {
|
21112
|
-
[vars$
|
21113
|
-
[vars$
|
21114
|
-
[vars$
|
21115
|
-
[vars$
|
21116
|
-
[vars$
|
21117
|
-
[vars$
|
21141
|
+
[vars$p.hostDirection]: globalRefs$g.direction,
|
21142
|
+
[vars$p.labelTextWidth]: '200px',
|
21143
|
+
[vars$p.itemsGap]: '16px',
|
21144
|
+
[vars$p.hostMinWidth]: '530px',
|
21145
|
+
[vars$p.iconSize]: '24px',
|
21146
|
+
[vars$p.iconColor]: 'currentcolor',
|
21118
21147
|
_fullWidth: {
|
21119
|
-
[vars$
|
21148
|
+
[vars$p.hostWidth]: '100%',
|
21120
21149
|
},
|
21121
21150
|
};
|
21122
21151
|
|
21123
21152
|
var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
|
21124
21153
|
__proto__: null,
|
21125
21154
|
default: userAuthMethod,
|
21126
|
-
vars: vars$
|
21155
|
+
vars: vars$p
|
21127
21156
|
});
|
21128
21157
|
|
21129
|
-
const vars$
|
21158
|
+
const vars$o = SamlGroupMappingsClass.cssVarList;
|
21130
21159
|
|
21131
21160
|
const samlGroupMappings = {
|
21132
|
-
[vars$
|
21133
|
-
[vars$
|
21134
|
-
[vars$
|
21161
|
+
[vars$o.hostWidth]: refs$1.width,
|
21162
|
+
[vars$o.hostDirection]: refs$1.direction,
|
21163
|
+
[vars$o.groupNameInputMarginBottom]: '1em',
|
21135
21164
|
|
21136
21165
|
// error message icon
|
21137
|
-
[vars$
|
21138
|
-
[vars$
|
21139
|
-
[vars$
|
21140
|
-
[vars$
|
21141
|
-
[vars$
|
21142
|
-
[vars$
|
21166
|
+
[vars$o.errorMessageIcon]: refs$1.errorMessageIcon,
|
21167
|
+
[vars$o.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
21168
|
+
[vars$o.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
21169
|
+
[vars$o.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
21170
|
+
[vars$o.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
21171
|
+
[vars$o.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
21143
21172
|
};
|
21144
21173
|
|
21145
21174
|
var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
|
21146
21175
|
__proto__: null,
|
21147
21176
|
default: samlGroupMappings,
|
21148
21177
|
samlGroupMappings: samlGroupMappings,
|
21149
|
-
vars: vars$
|
21178
|
+
vars: vars$o
|
21150
21179
|
});
|
21151
21180
|
|
21152
21181
|
const globalRefs$f = getThemeRefs(globals$1);
|
21153
|
-
const vars$
|
21182
|
+
const vars$n = PolicyValidationClass.cssVarList;
|
21154
21183
|
|
21155
21184
|
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$
|
21185
|
+
[vars$n.fontFamily]: refs$1.fontFamily,
|
21186
|
+
[vars$n.fontSize]: refs$1.labelFontSize,
|
21187
|
+
[vars$n.textColor]: refs$1.labelTextColor,
|
21188
|
+
[vars$n.borderWidth]: refs$1.borderWidth,
|
21189
|
+
[vars$n.borderStyle]: refs$1.borderStyle,
|
21190
|
+
[vars$n.borderColor]: refs$1.borderColor,
|
21191
|
+
[vars$n.borderRadius]: globalRefs$f.radius.sm,
|
21192
|
+
[vars$n.backgroundColor]: 'none',
|
21193
|
+
[vars$n.padding]: '0px',
|
21194
|
+
[vars$n.labelMargin]: globalRefs$f.spacing.sm,
|
21195
|
+
[vars$n.itemsSpacing]: globalRefs$f.spacing.lg,
|
21196
|
+
[vars$n.itemSymbolDefault]: "'\\2022'", // "•"
|
21197
|
+
[vars$n.itemSymbolSuccess]: "'\\2713'", // "✓"
|
21198
|
+
[vars$n.itemSymbolError]: "'\\2A09'", // "⨉"
|
21199
|
+
[vars$n.itemSymbolSuccessColor]: globalRefs$f.colors.success.main,
|
21200
|
+
[vars$n.itemSymbolErrorColor]: globalRefs$f.colors.error.main,
|
21172
21201
|
};
|
21173
21202
|
|
21174
21203
|
var policyValidation$1 = /*#__PURE__*/Object.freeze({
|
21175
21204
|
__proto__: null,
|
21176
21205
|
default: policyValidation,
|
21177
|
-
vars: vars$
|
21206
|
+
vars: vars$n
|
21178
21207
|
});
|
21179
21208
|
|
21180
|
-
const vars$
|
21209
|
+
const vars$m = IconClass.cssVarList;
|
21181
21210
|
|
21182
21211
|
const icon$1 = {};
|
21183
21212
|
|
21184
21213
|
var icon$2 = /*#__PURE__*/Object.freeze({
|
21185
21214
|
__proto__: null,
|
21186
21215
|
default: icon$1,
|
21216
|
+
vars: vars$m
|
21217
|
+
});
|
21218
|
+
|
21219
|
+
const vars$l = ImageClass.cssVarList;
|
21220
|
+
|
21221
|
+
const image = {};
|
21222
|
+
|
21223
|
+
var image$1 = /*#__PURE__*/Object.freeze({
|
21224
|
+
__proto__: null,
|
21225
|
+
default: image,
|
21187
21226
|
vars: vars$l
|
21188
21227
|
});
|
21189
21228
|
|
@@ -21541,7 +21580,7 @@ const compVars$2 = ListClass.cssVarList;
|
|
21541
21580
|
|
21542
21581
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
21543
21582
|
{ shadowColor: '#00000020' },
|
21544
|
-
componentName$
|
21583
|
+
componentName$j
|
21545
21584
|
);
|
21546
21585
|
|
21547
21586
|
const { shadowColor: shadowColor$1 } = helperRefs$1;
|
@@ -22789,7 +22828,7 @@ class RawTimer extends BaseClass$1 {
|
|
22789
22828
|
|
22790
22829
|
this.attachShadow({ mode: 'open' }).innerHTML = `
|
22791
22830
|
<div class="wrapper">
|
22792
|
-
<descope-icon src
|
22831
|
+
<descope-icon src="${clockIcon}" class="icon"></descope-icon>
|
22793
22832
|
<div class="timer"></div>
|
22794
22833
|
</div>
|
22795
22834
|
`;
|
@@ -22889,7 +22928,7 @@ class RawTimer extends BaseClass$1 {
|
|
22889
22928
|
}
|
22890
22929
|
|
22891
22930
|
#toggleIcon(val) {
|
22892
|
-
this.icon.classList.toggle('hidden', val
|
22931
|
+
this.icon.classList.toggle('hidden', val);
|
22893
22932
|
}
|
22894
22933
|
|
22895
22934
|
#handlePause(paused) {
|
@@ -22913,7 +22952,7 @@ class RawTimer extends BaseClass$1 {
|
|
22913
22952
|
this.reset();
|
22914
22953
|
}
|
22915
22954
|
if (attrName === 'hide-icon') {
|
22916
|
-
this.#toggleIcon(newValue);
|
22955
|
+
this.#toggleIcon(newValue === 'true');
|
22917
22956
|
}
|
22918
22957
|
if (attrName === 'paused') {
|
22919
22958
|
this.#handlePause(newValue === 'true');
|
@@ -23358,7 +23397,10 @@ var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQ
|
|
23358
23397
|
|
23359
23398
|
const componentName = getComponentName('collapsible-container');
|
23360
23399
|
|
23361
|
-
class RawCollapsibleContainer extends createBaseClass({
|
23400
|
+
class RawCollapsibleContainer extends createBaseClass({
|
23401
|
+
componentName,
|
23402
|
+
baseSelector: 'slot',
|
23403
|
+
}) {
|
23362
23404
|
static get observedAttributes() {
|
23363
23405
|
return ['collapsed', 'collapsible', 'text'];
|
23364
23406
|
}
|
@@ -23370,7 +23412,9 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23370
23412
|
<div class="wrapper">
|
23371
23413
|
<descope-text st-host-direction="ltr">
|
23372
23414
|
<div class="header">
|
23373
|
-
<
|
23415
|
+
<div class="icon">
|
23416
|
+
<descope-icon st-fill="currentcolor" src=${chevronIcon}></descope-icon>
|
23417
|
+
</div>
|
23374
23418
|
<span></span>
|
23375
23419
|
</div>
|
23376
23420
|
</descope-text>
|
@@ -23385,7 +23429,6 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23385
23429
|
div.content {
|
23386
23430
|
transition-property: max-height;
|
23387
23431
|
overflow: auto;
|
23388
|
-
transition-property: max-height;
|
23389
23432
|
height: auto;
|
23390
23433
|
}
|
23391
23434
|
slot {
|
@@ -23404,11 +23447,15 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23404
23447
|
display: flex;
|
23405
23448
|
align-items: baseline;
|
23406
23449
|
}
|
23407
|
-
|
23408
|
-
transition-property: transform;
|
23450
|
+
.icon {
|
23409
23451
|
flex-shrink: 0;
|
23410
23452
|
height: var(${TextClass.cssVarList.textLineHeight});
|
23411
23453
|
min-height: 24px;
|
23454
|
+
display: flex;
|
23455
|
+
align-items: center;
|
23456
|
+
}
|
23457
|
+
descope-icon {
|
23458
|
+
transition-property: transform;
|
23412
23459
|
}
|
23413
23460
|
.rotate {
|
23414
23461
|
transform: rotate(-180deg);
|
@@ -23431,7 +23478,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23431
23478
|
flex-direction: column;
|
23432
23479
|
}
|
23433
23480
|
`,
|
23434
|
-
this
|
23481
|
+
this,
|
23435
23482
|
);
|
23436
23483
|
|
23437
23484
|
this.header = this.shadowRoot.querySelector('.header');
|
@@ -23442,7 +23489,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23442
23489
|
}
|
23443
23490
|
|
23444
23491
|
get isCollapsible() {
|
23445
|
-
return this.getAttribute('collapsible') === 'true'
|
23492
|
+
return this.getAttribute('collapsible') === 'true';
|
23446
23493
|
}
|
23447
23494
|
|
23448
23495
|
calcContentHeight() {
|
@@ -23493,7 +23540,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23493
23540
|
});
|
23494
23541
|
forwardAttrs(this, this.textComponent, {
|
23495
23542
|
includeAttrs: ['text-align', 'text-variant', 'text-mode'],
|
23496
|
-
mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' }
|
23543
|
+
mapAttrs: { 'text-mode': 'mode', 'text-variant': 'variant' },
|
23497
23544
|
});
|
23498
23545
|
}
|
23499
23546
|
|
@@ -23505,7 +23552,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23505
23552
|
attributeChangedCallback(name, oldValue, newValue) {
|
23506
23553
|
if (name === 'text') {
|
23507
23554
|
this.updateHeaderText();
|
23508
|
-
return
|
23555
|
+
return;
|
23509
23556
|
}
|
23510
23557
|
const collapsed = this.isCollapsed && this.isCollapsible;
|
23511
23558
|
if (collapsed) {
|
@@ -23519,6 +23566,7 @@ class RawCollapsibleContainer extends createBaseClass({ componentName, baseSelec
|
|
23519
23566
|
const selectors = {
|
23520
23567
|
host: () => ':host',
|
23521
23568
|
icon: () => 'descope-icon',
|
23569
|
+
iconWrapper: () => '.icon',
|
23522
23570
|
header: () => '.header',
|
23523
23571
|
text: () => 'span',
|
23524
23572
|
wrapper: () => '.wrapper',
|
@@ -23530,8 +23578,14 @@ const CollapsibleContainerClass = compose(
|
|
23530
23578
|
mappings: {
|
23531
23579
|
hostWidth: { selector: selectors.host, property: 'width' },
|
23532
23580
|
hostDirection: { selector: selectors.host, property: 'direction' },
|
23533
|
-
verticalPadding: [
|
23534
|
-
|
23581
|
+
verticalPadding: [
|
23582
|
+
{ selector: selectors.wrapper, property: 'padding-top' },
|
23583
|
+
{ selector: selectors.wrapper, property: 'padding-bottom' },
|
23584
|
+
],
|
23585
|
+
horizontalPadding: [
|
23586
|
+
{ selector: selectors.wrapper, property: 'padding-left' },
|
23587
|
+
{ selector: selectors.wrapper, property: 'padding-right' },
|
23588
|
+
],
|
23535
23589
|
|
23536
23590
|
flexDirection: {},
|
23537
23591
|
justifyContent: {},
|
@@ -23552,17 +23606,23 @@ const CollapsibleContainerClass = compose(
|
|
23552
23606
|
|
23553
23607
|
boxShadow: { selector: selectors.wrapper },
|
23554
23608
|
|
23555
|
-
headerIconOrder: { selector: selectors.
|
23609
|
+
headerIconOrder: { selector: selectors.iconWrapper, property: 'order' },
|
23556
23610
|
headerCursor: { selector: selectors.header, property: 'cursor' },
|
23557
23611
|
headerGap: { selector: selectors.header, property: 'gap' },
|
23558
23612
|
textGrow: { selector: selectors.text, property: 'flex-grow' },
|
23559
23613
|
textDirection: { selector: selectors.text, property: 'direction' },
|
23560
|
-
iconAnimationDuration: {
|
23561
|
-
|
23614
|
+
iconAnimationDuration: {
|
23615
|
+
selector: selectors.icon,
|
23616
|
+
property: 'transition-duration',
|
23617
|
+
},
|
23618
|
+
contentAnimationDuration: {
|
23619
|
+
selector: selectors.content,
|
23620
|
+
property: 'transition-duration',
|
23621
|
+
},
|
23562
23622
|
},
|
23563
23623
|
}),
|
23564
23624
|
draggableMixin,
|
23565
|
-
componentNameValidationMixin
|
23625
|
+
componentNameValidationMixin,
|
23566
23626
|
)(RawCollapsibleContainer);
|
23567
23627
|
|
23568
23628
|
const globalRefs = getThemeRefs$1(globals);
|
@@ -23705,7 +23765,6 @@ const components = {
|
|
23705
23765
|
loaderRadial: loaderRadial$1,
|
23706
23766
|
loaderLinear: loaderLinear$1,
|
23707
23767
|
comboBox: comboBox$1,
|
23708
|
-
image: image$1,
|
23709
23768
|
phoneField: phoneField$1,
|
23710
23769
|
phoneInputBoxField: phoneInputBoxField$1,
|
23711
23770
|
newPassword: newPassword$1,
|
@@ -23725,6 +23784,7 @@ const components = {
|
|
23725
23784
|
userAuthMethod: userAuthMethod$1,
|
23726
23785
|
samlGroupMappings: samlGroupMappings$1,
|
23727
23786
|
policyValidation: policyValidation$1,
|
23787
|
+
image: image$1,
|
23728
23788
|
icon: icon$2,
|
23729
23789
|
codeSnippet,
|
23730
23790
|
radioGroup: radioGroup$1,
|