@descope/web-components-ui 3.22.2 → 3.23.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 +1035 -593
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1380 -937
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/67.js +1 -1
- package/dist/umd/67.js.map +1 -1
- package/dist/umd/8961.js +1 -1
- package/dist/umd/8961.js.map +1 -1
- package/dist/umd/9365.js +1 -1
- package/dist/umd/9365.js.map +1 -1
- package/dist/umd/9582.js +1 -1
- package/dist/umd/9582.js.map +1 -1
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/DescopeDev.js.map +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
- package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js.map +1 -1
- package/dist/umd/descope-active-sessions.js +3 -0
- package/dist/umd/descope-active-sessions.js.LICENSE.txt +5 -0
- package/dist/umd/descope-active-sessions.js.map +1 -0
- package/dist/umd/descope-alert-index-js.js +1 -1
- package/dist/umd/descope-alert-index-js.js.map +1 -1
- package/dist/umd/descope-enriched-text.js +1 -1
- package/dist/umd/descope-enriched-text.js.map +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
- package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js.map +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js.map +1 -1
- package/dist/umd/descope-password-index-js.js +1 -1
- package/dist/umd/descope-password-index-js.js.map +1 -1
- package/dist/umd/descope-tooltip.js +1 -1
- package/dist/umd/descope-tooltip.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +43 -42
- package/src/components/descope-password/PasswordClass.js +14 -3
- package/src/helpers/componentHelpers.js +34 -0
- package/src/mixins/createStyleMixin/index.js +11 -2
- package/src/mixins/portalMixin.js +35 -36
- package/src/theme/components/index.js +2 -0
package/dist/index.esm.js
CHANGED
|
@@ -24,8 +24,8 @@ import '@vaadin/dialog';
|
|
|
24
24
|
import '@vaadin/notification';
|
|
25
25
|
import '@vaadin/custom-field';
|
|
26
26
|
import '@vaadin/radio-group';
|
|
27
|
-
import '@vaadin/avatar';
|
|
28
27
|
import '@vaadin/multi-select-combo-box';
|
|
28
|
+
import '@vaadin/avatar';
|
|
29
29
|
import '@vaadin/tooltip';
|
|
30
30
|
import { zxcvbn, zxcvbnOptions } from '@zxcvbn-ts/core';
|
|
31
31
|
import * as zxcvbnCommonPackage from '@zxcvbn-ts/language-common';
|
|
@@ -219,6 +219,39 @@ const syncAttrs$1 = (ele1, ele2, options) => {
|
|
|
219
219
|
observeAttributes$1(ele2, createSyncAttrsCb$1(ele2, ele1), options);
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
+
// A custom element has no shadow root on the first tick, so anything reaching into one has to
|
|
223
|
+
// wait for it. Takes a function rather than the element, because the element itself is often not
|
|
224
|
+
// there yet either.
|
|
225
|
+
//
|
|
226
|
+
// On giving up it resolves the element it was given, not a shadow root. `portalMixin` relies on
|
|
227
|
+
// that to carry on with something usable, so a caller that cannot use the element must check what
|
|
228
|
+
// it got back.
|
|
229
|
+
const waitForShadowRoot$1 = (getRootElementFn) => async (that) => {
|
|
230
|
+
const ele = await getRootElementFn(that);
|
|
231
|
+
|
|
232
|
+
return new Promise((res) => {
|
|
233
|
+
const MAX_RETRIES = 20;
|
|
234
|
+
let counter = 0;
|
|
235
|
+
|
|
236
|
+
const check = () => {
|
|
237
|
+
if (counter > MAX_RETRIES) {
|
|
238
|
+
console.error('could not get shadow root for element', ele);
|
|
239
|
+
res(ele);
|
|
240
|
+
return;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
counter++;
|
|
244
|
+
|
|
245
|
+
if (!ele?.shadowRoot) {
|
|
246
|
+
setTimeout(check);
|
|
247
|
+
} else {
|
|
248
|
+
res(ele.shadowRoot);
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
check();
|
|
252
|
+
});
|
|
253
|
+
};
|
|
254
|
+
|
|
222
255
|
const getComponentName$1 = (name) => kebabCaseJoin$1(DESCOPE_PREFIX$1, name);
|
|
223
256
|
|
|
224
257
|
const getCssVarName$1 = (...args) => `--${kebabCaseJoin$1(...args)}`;
|
|
@@ -770,7 +803,7 @@ const createClassSelectorSpecifier$1 = (className, numOfRepeats) => `.${classNam
|
|
|
770
803
|
const STYLE_OVERRIDE_ATTR_PREFIX$1 = 'st';
|
|
771
804
|
|
|
772
805
|
const createStyleMixin$1 =
|
|
773
|
-
({ mappings = {}, componentNameOverride = '' }) =>
|
|
806
|
+
({ mappings = {}, componentNameOverride = '', style = '' }) =>
|
|
774
807
|
(superclass) => {
|
|
775
808
|
const componentName = componentNameOverride || superclass.componentName;
|
|
776
809
|
|
|
@@ -824,7 +857,7 @@ const createStyleMixin$1 =
|
|
|
824
857
|
);
|
|
825
858
|
}
|
|
826
859
|
|
|
827
|
-
|
|
860
|
+
|
|
828
861
|
get #componentTheme() {
|
|
829
862
|
return componentsThemeManager.currentTheme?.[componentName] || '';
|
|
830
863
|
}
|
|
@@ -860,6 +893,7 @@ const createStyleMixin$1 =
|
|
|
860
893
|
if (elementId) {
|
|
861
894
|
// basically this is enough to make the selector more specific
|
|
862
895
|
// but just in case there is no id, we will also add the class multiple times
|
|
896
|
+
// eslint-disable-next-line no-undef
|
|
863
897
|
classSpecifier += `#${CSS.escape(elementId)}`;
|
|
864
898
|
}
|
|
865
899
|
|
|
@@ -907,6 +941,14 @@ const createStyleMixin$1 =
|
|
|
907
941
|
}
|
|
908
942
|
}
|
|
909
943
|
|
|
944
|
+
// Rules the component needs wherever this mixin writes, which for a portal is a shadow root
|
|
945
|
+
// it does not own. Prepended after the mapping rules so those still win: the mapping is the
|
|
946
|
+
// themeable half, this is the structure underneath it.
|
|
947
|
+
#createStaticStyle() {
|
|
948
|
+
const css = isFunction$1(style) ? style() : style;
|
|
949
|
+
if (css) injectStyle(css, this.#rootElement, { prepend: true });
|
|
950
|
+
}
|
|
951
|
+
|
|
910
952
|
#addClassName(className) {
|
|
911
953
|
(
|
|
912
954
|
this.#rootElement?.classList ||
|
|
@@ -924,6 +966,7 @@ const createStyleMixin$1 =
|
|
|
924
966
|
this.#addClassName(componentName);
|
|
925
967
|
|
|
926
968
|
this.#createMappingStyle();
|
|
969
|
+
this.#createStaticStyle();
|
|
927
970
|
this.#createComponentTheme();
|
|
928
971
|
this.#createOverridesStyle();
|
|
929
972
|
|
|
@@ -1876,46 +1919,31 @@ const DISPLAY_NAME_SEPARATOR$1 = '_';
|
|
|
1876
1919
|
|
|
1877
1920
|
const sanitizeSelector = (selector) => selector.replace(/[^\w\s]/gi, '');
|
|
1878
1921
|
|
|
1879
|
-
const withWaitForShadowRoot$1 = (getRootElementFn) => async (that) => {
|
|
1880
|
-
const ele = await getRootElementFn(that);
|
|
1881
|
-
|
|
1882
|
-
return new Promise((res) => {
|
|
1883
|
-
const MAX_RETRIES = 20;
|
|
1884
|
-
let counter = 0;
|
|
1885
|
-
|
|
1886
|
-
const check = () => {
|
|
1887
|
-
if (counter > MAX_RETRIES) {
|
|
1888
|
-
// eslint-disable-next-line no-console
|
|
1889
|
-
console.error('could not get shadow root for element', ele);
|
|
1890
|
-
res(ele);
|
|
1891
|
-
return;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
|
-
counter++;
|
|
1895
|
-
|
|
1896
|
-
if (!ele?.shadowRoot) {
|
|
1897
|
-
setTimeout(check);
|
|
1898
|
-
} else {
|
|
1899
|
-
res(ele.shadowRoot);
|
|
1900
|
-
return;
|
|
1901
|
-
}
|
|
1902
|
-
};
|
|
1903
|
-
check();
|
|
1904
|
-
});
|
|
1905
|
-
};
|
|
1906
|
-
|
|
1907
1922
|
const portalMixin$1 =
|
|
1908
1923
|
({
|
|
1909
1924
|
name,
|
|
1910
1925
|
selector,
|
|
1911
1926
|
mappings = {},
|
|
1912
|
-
|
|
1927
|
+
// Static css for the portal's own root, for rules that should not become themeable knobs.
|
|
1928
|
+
style = '',
|
|
1929
|
+
// `false` forwards nothing to the portal element. It needs its own value because an empty
|
|
1930
|
+
// `attributes` list already means "no filter", so it forwards everything rather than nothing.
|
|
1931
|
+
// Forwarding is wrong for a portal whose element is not a copy of the host, where attributes
|
|
1932
|
+
// like `data` or `label` would land somewhere that does not expect them.
|
|
1933
|
+
forward = {},
|
|
1913
1934
|
}) =>
|
|
1914
1935
|
(superclass) => {
|
|
1936
|
+
// A function selector has no text to derive a name from, and an empty one would quietly
|
|
1937
|
+
// produce empty css var names, so say so instead.
|
|
1938
|
+
if (isFunction$1(selector) && !name) {
|
|
1939
|
+
throw new Error('portalMixin: a function selector requires a name');
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1915
1942
|
const eleDisplayName = name || sanitizeSelector(selector);
|
|
1916
1943
|
|
|
1917
1944
|
const BaseClass = createStyleMixin$1({
|
|
1918
1945
|
mappings,
|
|
1946
|
+
style,
|
|
1919
1947
|
})(superclass);
|
|
1920
1948
|
|
|
1921
1949
|
return class PortalMixinClass extends BaseClass {
|
|
@@ -1948,13 +1976,18 @@ const portalMixin$1 =
|
|
|
1948
1976
|
|
|
1949
1977
|
// in case we have a selector, we should first wait for the base element shadow root
|
|
1950
1978
|
// and then look for the internal element
|
|
1951
|
-
const baseEleShadowRoot = await
|
|
1979
|
+
const baseEleShadowRoot = await waitForShadowRoot$1(() => baseEle)(
|
|
1952
1980
|
that,
|
|
1953
1981
|
);
|
|
1954
|
-
|
|
1982
|
+
|
|
1983
|
+
// a string selector only reaches inside that one shadow root. a portal that sits deeper
|
|
1984
|
+
// takes a function instead, which receives the root and may await its own way down.
|
|
1985
|
+
return isFunction$1(selector)
|
|
1986
|
+
? selector(baseEleShadowRoot)
|
|
1987
|
+
: baseEleShadowRoot.querySelector(selector);
|
|
1955
1988
|
};
|
|
1956
1989
|
|
|
1957
|
-
const getPortalElement =
|
|
1990
|
+
const getPortalElement = waitForShadowRoot$1(getRootElement);
|
|
1958
1991
|
|
|
1959
1992
|
super({
|
|
1960
1993
|
getRootElement: getPortalElement,
|
|
@@ -1989,9 +2022,12 @@ const portalMixin$1 =
|
|
|
1989
2022
|
// Initialize portal element lookup here (deferred from constructor for React compatibility)
|
|
1990
2023
|
this.#portalEle = this.#getPortalElement();
|
|
1991
2024
|
const portalEle = await this.#portalEle;
|
|
1992
|
-
|
|
1993
|
-
[include
|
|
1994
|
-
|
|
2025
|
+
if (forward !== false) {
|
|
2026
|
+
const { attributes = [], include = true } = forward;
|
|
2027
|
+
forwardAttrs$1(this, portalEle, {
|
|
2028
|
+
[include ? 'includeAttrs' : 'excludeAttrs']: attributes,
|
|
2029
|
+
});
|
|
2030
|
+
}
|
|
1995
2031
|
|
|
1996
2032
|
this.#handleHoverAttribute();
|
|
1997
2033
|
}
|
|
@@ -2278,10 +2314,10 @@ const decodeHTML = (html) => {
|
|
|
2278
2314
|
return textArea.value;
|
|
2279
2315
|
};
|
|
2280
2316
|
|
|
2281
|
-
const componentName$
|
|
2317
|
+
const componentName$1z = getComponentName$1('enriched-text');
|
|
2282
2318
|
|
|
2283
2319
|
class EnrichedText extends createBaseClass$1({
|
|
2284
|
-
componentName: componentName$
|
|
2320
|
+
componentName: componentName$1z,
|
|
2285
2321
|
baseSelector: ':host > div',
|
|
2286
2322
|
}) {
|
|
2287
2323
|
#origLinkRenderer;
|
|
@@ -2343,6 +2379,13 @@ class EnrichedText extends createBaseClass$1({
|
|
|
2343
2379
|
e.stopPropagation();
|
|
2344
2380
|
}
|
|
2345
2381
|
});
|
|
2382
|
+
|
|
2383
|
+
// The SDK submits the form (and prevents link activation) on any Enter that reaches the flow root
|
|
2384
|
+
this.contentNode?.addEventListener('keydown', (e) => {
|
|
2385
|
+
if (e.key === 'Enter' && e.target instanceof HTMLAnchorElement) {
|
|
2386
|
+
e.stopPropagation();
|
|
2387
|
+
}
|
|
2388
|
+
});
|
|
2346
2389
|
}
|
|
2347
2390
|
|
|
2348
2391
|
static get observedAttributes() {
|
|
@@ -2630,6 +2673,40 @@ const syncAttrs = (ele1, ele2, options) => {
|
|
|
2630
2673
|
observeAttributes(ele2, createSyncAttrsCb(ele2, ele1), options);
|
|
2631
2674
|
};
|
|
2632
2675
|
|
|
2676
|
+
// A custom element has no shadow root on the first tick, so anything reaching into one has to
|
|
2677
|
+
// wait for it. Takes a function rather than the element, because the element itself is often not
|
|
2678
|
+
// there yet either.
|
|
2679
|
+
//
|
|
2680
|
+
// On giving up it resolves the element it was given, not a shadow root. `portalMixin` relies on
|
|
2681
|
+
// that to carry on with something usable, so a caller that cannot use the element must check what
|
|
2682
|
+
// it got back.
|
|
2683
|
+
const waitForShadowRoot = (getRootElementFn) => async (that) => {
|
|
2684
|
+
const ele = await getRootElementFn(that);
|
|
2685
|
+
|
|
2686
|
+
return new Promise((res) => {
|
|
2687
|
+
const MAX_RETRIES = 20;
|
|
2688
|
+
let counter = 0;
|
|
2689
|
+
|
|
2690
|
+
const check = () => {
|
|
2691
|
+
if (counter > MAX_RETRIES) {
|
|
2692
|
+
// eslint-disable-next-line no-console
|
|
2693
|
+
console.error('could not get shadow root for element', ele);
|
|
2694
|
+
res(ele);
|
|
2695
|
+
return;
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
counter++;
|
|
2699
|
+
|
|
2700
|
+
if (!ele?.shadowRoot) {
|
|
2701
|
+
setTimeout(check);
|
|
2702
|
+
} else {
|
|
2703
|
+
res(ele.shadowRoot);
|
|
2704
|
+
}
|
|
2705
|
+
};
|
|
2706
|
+
check();
|
|
2707
|
+
});
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2633
2710
|
const getComponentName = (name) => kebabCaseJoin(DESCOPE_PREFIX, name);
|
|
2634
2711
|
|
|
2635
2712
|
const getCssVarName = (...args) => `--${kebabCaseJoin(...args)}`;
|
|
@@ -3226,7 +3303,7 @@ const createClassSelectorSpecifier = (className, numOfRepeats) =>
|
|
|
3226
3303
|
const STYLE_OVERRIDE_ATTR_PREFIX = 'st';
|
|
3227
3304
|
|
|
3228
3305
|
const createStyleMixin =
|
|
3229
|
-
({ mappings = {}, componentNameOverride = '' }) =>
|
|
3306
|
+
({ mappings = {}, componentNameOverride = '', style = '' }) =>
|
|
3230
3307
|
(superclass) => {
|
|
3231
3308
|
const componentName = componentNameOverride || superclass.componentName;
|
|
3232
3309
|
|
|
@@ -3348,6 +3425,14 @@ const createStyleMixin =
|
|
|
3348
3425
|
}
|
|
3349
3426
|
}
|
|
3350
3427
|
|
|
3428
|
+
// Rules the component needs wherever this mixin writes, which for a portal is a shadow root
|
|
3429
|
+
// it does not own. Prepended after the mapping rules so those still win: the mapping is the
|
|
3430
|
+
// themeable half, this is the structure underneath it.
|
|
3431
|
+
#createStaticStyle() {
|
|
3432
|
+
const css = isFunction(style) ? style() : style;
|
|
3433
|
+
if (css) injectStyle(css, this.#rootElement, { prepend: true });
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3351
3436
|
#addClassName(className) {
|
|
3352
3437
|
(this.#rootElement.classList || this.#rootElement.host.classList).add(className);
|
|
3353
3438
|
}
|
|
@@ -3360,6 +3445,7 @@ const createStyleMixin =
|
|
|
3360
3445
|
this.#addClassName(componentName);
|
|
3361
3446
|
|
|
3362
3447
|
this.#createMappingStyle();
|
|
3448
|
+
this.#createStaticStyle();
|
|
3363
3449
|
this.#createComponentTheme();
|
|
3364
3450
|
this.#createOverridesStyle();
|
|
3365
3451
|
|
|
@@ -4103,40 +4189,26 @@ const composedProxyInputMixin = (proxyInputMixinConfig) =>
|
|
|
4103
4189
|
// because of that, we are adding this separator that is also used as a differentiator
|
|
4104
4190
|
const DISPLAY_NAME_SEPARATOR = '_';
|
|
4105
4191
|
|
|
4106
|
-
const withWaitForShadowRoot = (getRootElementFn) => async (that) => {
|
|
4107
|
-
const ele = await getRootElementFn(that);
|
|
4108
|
-
|
|
4109
|
-
return new Promise((res) => {
|
|
4110
|
-
const MAX_RETRIES = 20;
|
|
4111
|
-
let counter = 0;
|
|
4112
|
-
|
|
4113
|
-
const check = () => {
|
|
4114
|
-
if (counter > MAX_RETRIES) {
|
|
4115
|
-
// eslint-disable-next-line no-console
|
|
4116
|
-
console.error('could not get shadow root for element', ele);
|
|
4117
|
-
res(ele);
|
|
4118
|
-
return;
|
|
4119
|
-
}
|
|
4120
|
-
|
|
4121
|
-
counter++;
|
|
4122
|
-
|
|
4123
|
-
if (!ele?.shadowRoot) {
|
|
4124
|
-
setTimeout(check);
|
|
4125
|
-
} else {
|
|
4126
|
-
res(ele.shadowRoot);
|
|
4127
|
-
}
|
|
4128
|
-
};
|
|
4129
|
-
check();
|
|
4130
|
-
});
|
|
4131
|
-
};
|
|
4132
|
-
|
|
4133
4192
|
const portalMixin =
|
|
4134
|
-
({
|
|
4193
|
+
({
|
|
4194
|
+
name,
|
|
4195
|
+
selector,
|
|
4196
|
+
mappings = {},
|
|
4197
|
+
// Static css for the portal's own root, for rules that should not become themeable knobs.
|
|
4198
|
+
style = '',
|
|
4199
|
+
// `false` forwards nothing to the portal element. It needs its own value because an empty
|
|
4200
|
+
// `attributes` list already means "no filter", so it forwards everything rather than nothing.
|
|
4201
|
+
// Forwarding is wrong for a portal whose element is not a copy of the host, where attributes
|
|
4202
|
+
// like `data` or `label` would land somewhere that does not expect them.
|
|
4203
|
+
forward = {},
|
|
4204
|
+
}) =>
|
|
4135
4205
|
(superclass) => {
|
|
4206
|
+
|
|
4136
4207
|
const eleDisplayName = name;
|
|
4137
4208
|
|
|
4138
4209
|
const BaseClass = createStyleMixin({
|
|
4139
4210
|
mappings,
|
|
4211
|
+
style,
|
|
4140
4212
|
})(superclass);
|
|
4141
4213
|
|
|
4142
4214
|
return class PortalMixinClass extends BaseClass {
|
|
@@ -4162,7 +4234,7 @@ const portalMixin =
|
|
|
4162
4234
|
}
|
|
4163
4235
|
};
|
|
4164
4236
|
|
|
4165
|
-
const getPortalElement =
|
|
4237
|
+
const getPortalElement = waitForShadowRoot(getRootElement);
|
|
4166
4238
|
|
|
4167
4239
|
super({
|
|
4168
4240
|
getRootElement: getPortalElement,
|
|
@@ -4193,9 +4265,12 @@ const portalMixin =
|
|
|
4193
4265
|
// Initialize portal element lookup here (deferred from constructor for React compatibility)
|
|
4194
4266
|
this.#portalEle = this.#getPortalElement();
|
|
4195
4267
|
const portalEle = await this.#portalEle;
|
|
4196
|
-
|
|
4197
|
-
[include
|
|
4198
|
-
|
|
4268
|
+
if (forward !== false) {
|
|
4269
|
+
const { attributes = [], include = true } = forward;
|
|
4270
|
+
forwardAttrs(this, portalEle, {
|
|
4271
|
+
[include ? 'includeAttrs' : 'excludeAttrs']: attributes,
|
|
4272
|
+
});
|
|
4273
|
+
}
|
|
4199
4274
|
|
|
4200
4275
|
this.#handleHoverAttribute();
|
|
4201
4276
|
}
|
|
@@ -4575,11 +4650,11 @@ const createBaseInputClass = (...args) =>
|
|
|
4575
4650
|
inputEventsDispatchingMixin
|
|
4576
4651
|
)(createBaseClass(...args));
|
|
4577
4652
|
|
|
4578
|
-
const componentName$
|
|
4653
|
+
const componentName$1y = getComponentName('boolean-field-internal');
|
|
4579
4654
|
|
|
4580
4655
|
const forwardAttributes$1 = ['disabled', 'invalid', 'readonly'];
|
|
4581
4656
|
|
|
4582
|
-
const BaseInputClass$h = createBaseInputClass({ componentName: componentName$
|
|
4657
|
+
const BaseInputClass$h = createBaseInputClass({ componentName: componentName$1y, baseSelector: 'div' });
|
|
4583
4658
|
|
|
4584
4659
|
class BooleanInputInternal extends BaseInputClass$h {
|
|
4585
4660
|
static get observedAttributes() {
|
|
@@ -4678,14 +4753,14 @@ const booleanFieldMixin = (superclass) =>
|
|
|
4678
4753
|
|
|
4679
4754
|
const template = document.createElement('template');
|
|
4680
4755
|
template.innerHTML = `
|
|
4681
|
-
<${componentName$
|
|
4756
|
+
<${componentName$1y}
|
|
4682
4757
|
tabindex="-1"
|
|
4683
4758
|
slot="input"
|
|
4684
|
-
></${componentName$
|
|
4759
|
+
></${componentName$1y}>
|
|
4685
4760
|
`;
|
|
4686
4761
|
|
|
4687
4762
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
4688
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
4763
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$1y);
|
|
4689
4764
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
|
4690
4765
|
|
|
4691
4766
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -4763,10 +4838,10 @@ descope-enriched-text {
|
|
|
4763
4838
|
|
|
4764
4839
|
`;
|
|
4765
4840
|
|
|
4766
|
-
const componentName$
|
|
4841
|
+
const componentName$1x = getComponentName('checkbox');
|
|
4767
4842
|
|
|
4768
4843
|
const {
|
|
4769
|
-
host: host$
|
|
4844
|
+
host: host$F,
|
|
4770
4845
|
component: component$1,
|
|
4771
4846
|
checkboxElement,
|
|
4772
4847
|
checkboxSurface,
|
|
@@ -4790,10 +4865,10 @@ const {
|
|
|
4790
4865
|
const CheckboxClass = compose(
|
|
4791
4866
|
createStyleMixin({
|
|
4792
4867
|
mappings: {
|
|
4793
|
-
hostWidth: { ...host$
|
|
4794
|
-
hostDirection: { ...host$
|
|
4868
|
+
hostWidth: { ...host$F, property: 'width' },
|
|
4869
|
+
hostDirection: { ...host$F, property: 'direction' },
|
|
4795
4870
|
|
|
4796
|
-
fontSize: [host$
|
|
4871
|
+
fontSize: [host$F, checkboxElement, checkboxLabel$1],
|
|
4797
4872
|
fontFamily: [checkboxLabel$1, helperText$a, errorMessage$d],
|
|
4798
4873
|
|
|
4799
4874
|
labelTextColor: { ...checkboxLabel$1, property: 'color' },
|
|
@@ -4899,14 +4974,14 @@ const CheckboxClass = compose(
|
|
|
4899
4974
|
}
|
|
4900
4975
|
`,
|
|
4901
4976
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
4902
|
-
componentName: componentName$
|
|
4977
|
+
componentName: componentName$1x,
|
|
4903
4978
|
})
|
|
4904
4979
|
);
|
|
4905
4980
|
|
|
4906
|
-
const componentName$
|
|
4981
|
+
const componentName$1w = getComponentName$1('text');
|
|
4907
4982
|
|
|
4908
4983
|
class RawText extends createBaseClass$1({
|
|
4909
|
-
componentName: componentName$
|
|
4984
|
+
componentName: componentName$1w,
|
|
4910
4985
|
baseSelector: ':host > slot',
|
|
4911
4986
|
}) {
|
|
4912
4987
|
constructor() {
|
|
@@ -4945,15 +5020,15 @@ class RawText extends createBaseClass$1({
|
|
|
4945
5020
|
}
|
|
4946
5021
|
}
|
|
4947
5022
|
|
|
4948
|
-
const { host: host$
|
|
5023
|
+
const { host: host$E } = {
|
|
4949
5024
|
host: { selector: () => ':host' },
|
|
4950
5025
|
};
|
|
4951
5026
|
|
|
4952
5027
|
const TextClass = compose$1(
|
|
4953
5028
|
createStyleMixin$1({
|
|
4954
5029
|
mappings: {
|
|
4955
|
-
hostWidth: { ...host$
|
|
4956
|
-
hostDirection: { ...host$
|
|
5030
|
+
hostWidth: { ...host$E, property: 'width' },
|
|
5031
|
+
hostDirection: { ...host$E, property: 'direction' },
|
|
4957
5032
|
fontSize: {},
|
|
4958
5033
|
textColor: [{ property: 'color' }],
|
|
4959
5034
|
textLineHeight: { property: 'line-height' },
|
|
@@ -4974,12 +5049,12 @@ const TextClass = compose$1(
|
|
|
4974
5049
|
componentNameValidationMixin$1,
|
|
4975
5050
|
)(RawText);
|
|
4976
5051
|
|
|
4977
|
-
const componentName$
|
|
5052
|
+
const componentName$1v = getComponentName$1('link');
|
|
4978
5053
|
|
|
4979
5054
|
const observedAttrs$9 = ['href', 'readonly'];
|
|
4980
5055
|
|
|
4981
5056
|
class RawLink extends createBaseClass$1({
|
|
4982
|
-
componentName: componentName$
|
|
5057
|
+
componentName: componentName$1v,
|
|
4983
5058
|
baseSelector: ':host a',
|
|
4984
5059
|
}) {
|
|
4985
5060
|
static get observedAttributes() {
|
|
@@ -5054,12 +5129,12 @@ const selectors$3 = {
|
|
|
5054
5129
|
text: { selector: () => TextClass.componentName },
|
|
5055
5130
|
};
|
|
5056
5131
|
|
|
5057
|
-
const { anchor, text: text$4, host: host$
|
|
5132
|
+
const { anchor, text: text$4, host: host$D, wrapper: wrapper$1, link: link$3 } = selectors$3;
|
|
5058
5133
|
|
|
5059
5134
|
const LinkClass = compose$1(
|
|
5060
5135
|
createStyleMixin$1({
|
|
5061
5136
|
mappings: {
|
|
5062
|
-
hostWidth: { ...host$
|
|
5137
|
+
hostWidth: { ...host$D, property: 'width' },
|
|
5063
5138
|
hostDirection: { ...text$4, property: 'direction' },
|
|
5064
5139
|
textAlign: wrapper$1,
|
|
5065
5140
|
textDecoration: {
|
|
@@ -5079,20 +5154,20 @@ const LinkClass = compose$1(
|
|
|
5079
5154
|
componentNameValidationMixin$1,
|
|
5080
5155
|
)(RawLink);
|
|
5081
5156
|
|
|
5082
|
-
customElements.define(componentName$
|
|
5157
|
+
customElements.define(componentName$1w, TextClass);
|
|
5083
5158
|
|
|
5084
|
-
customElements.define(componentName$
|
|
5159
|
+
customElements.define(componentName$1v, LinkClass);
|
|
5085
5160
|
|
|
5086
|
-
customElements.define(componentName$
|
|
5161
|
+
customElements.define(componentName$1z, EnrichedTextClass);
|
|
5087
5162
|
|
|
5088
|
-
customElements.define(componentName$
|
|
5163
|
+
customElements.define(componentName$1y, BooleanInputInternal);
|
|
5089
5164
|
|
|
5090
|
-
customElements.define(componentName$
|
|
5165
|
+
customElements.define(componentName$1x, CheckboxClass);
|
|
5091
5166
|
|
|
5092
|
-
const componentName$
|
|
5167
|
+
const componentName$1u = getComponentName('switch-toggle');
|
|
5093
5168
|
|
|
5094
5169
|
const {
|
|
5095
|
-
host: host$
|
|
5170
|
+
host: host$C,
|
|
5096
5171
|
component,
|
|
5097
5172
|
checkboxElement: track,
|
|
5098
5173
|
checkboxSurface: knob,
|
|
@@ -5116,8 +5191,8 @@ const {
|
|
|
5116
5191
|
const SwitchToggleClass = compose(
|
|
5117
5192
|
createStyleMixin({
|
|
5118
5193
|
mappings: {
|
|
5119
|
-
hostWidth: { ...host$
|
|
5120
|
-
hostDirection: { ...host$
|
|
5194
|
+
hostWidth: { ...host$C, property: 'width' },
|
|
5195
|
+
hostDirection: { ...host$C, property: 'direction' },
|
|
5121
5196
|
|
|
5122
5197
|
fontSize: [component, checkboxLabel, checkboxLabel],
|
|
5123
5198
|
fontFamily: [checkboxLabel, helperText$9, errorMessage$c],
|
|
@@ -5233,17 +5308,17 @@ const SwitchToggleClass = compose(
|
|
|
5233
5308
|
}
|
|
5234
5309
|
`,
|
|
5235
5310
|
excludeAttrsSync: ['label', 'tabindex', 'style'],
|
|
5236
|
-
componentName: componentName$
|
|
5311
|
+
componentName: componentName$1u,
|
|
5237
5312
|
})
|
|
5238
5313
|
);
|
|
5239
5314
|
|
|
5240
|
-
customElements.define(componentName$
|
|
5315
|
+
customElements.define(componentName$1u, SwitchToggleClass);
|
|
5241
5316
|
|
|
5242
|
-
const componentName$
|
|
5317
|
+
const componentName$1t = getComponentName('loader-linear');
|
|
5243
5318
|
|
|
5244
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
|
5319
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$1t, baseSelector: ':host > div' }) {
|
|
5245
5320
|
static get componentName() {
|
|
5246
|
-
return componentName$
|
|
5321
|
+
return componentName$1t;
|
|
5247
5322
|
}
|
|
5248
5323
|
|
|
5249
5324
|
constructor() {
|
|
@@ -5283,18 +5358,18 @@ const selectors$2 = {
|
|
|
5283
5358
|
host: { selector: () => ':host' },
|
|
5284
5359
|
};
|
|
5285
5360
|
|
|
5286
|
-
const { after: after$1, host: host$
|
|
5361
|
+
const { after: after$1, host: host$B } = selectors$2;
|
|
5287
5362
|
|
|
5288
5363
|
const LoaderLinearClass = compose(
|
|
5289
5364
|
createStyleMixin({
|
|
5290
5365
|
mappings: {
|
|
5291
5366
|
hostDisplay: {},
|
|
5292
|
-
hostWidth: { ...host$
|
|
5367
|
+
hostWidth: { ...host$B, property: 'width' },
|
|
5293
5368
|
barHeight: [{ property: 'height' }, { ...after$1, property: 'height' }],
|
|
5294
5369
|
barBorderRadius: [{ property: 'border-radius' }, { ...after$1, property: 'border-radius' }],
|
|
5295
5370
|
verticalPadding: [
|
|
5296
|
-
{ ...host$
|
|
5297
|
-
{ ...host$
|
|
5371
|
+
{ ...host$B, property: 'padding-top' },
|
|
5372
|
+
{ ...host$B, property: 'padding-bottom' },
|
|
5298
5373
|
],
|
|
5299
5374
|
barBackgroundColor: { property: 'background-color' },
|
|
5300
5375
|
barColor: { ...after$1, property: 'background-color' },
|
|
@@ -5308,11 +5383,11 @@ const LoaderLinearClass = compose(
|
|
|
5308
5383
|
componentNameValidationMixin
|
|
5309
5384
|
)(RawLoaderLinear);
|
|
5310
5385
|
|
|
5311
|
-
customElements.define(componentName$
|
|
5386
|
+
customElements.define(componentName$1t, LoaderLinearClass);
|
|
5312
5387
|
|
|
5313
|
-
const componentName$
|
|
5388
|
+
const componentName$1s = getComponentName('loader-radial');
|
|
5314
5389
|
|
|
5315
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
|
5390
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$1s, baseSelector: ':host > div' }) {
|
|
5316
5391
|
constructor() {
|
|
5317
5392
|
super();
|
|
5318
5393
|
|
|
@@ -5360,11 +5435,11 @@ const LoaderRadialClass = compose(
|
|
|
5360
5435
|
componentNameValidationMixin
|
|
5361
5436
|
)(RawLoaderRadial);
|
|
5362
5437
|
|
|
5363
|
-
customElements.define(componentName$
|
|
5438
|
+
customElements.define(componentName$1s, LoaderRadialClass);
|
|
5364
5439
|
|
|
5365
|
-
const componentName$
|
|
5440
|
+
const componentName$1r = getComponentName('container');
|
|
5366
5441
|
|
|
5367
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
|
5442
|
+
class RawContainer extends createBaseClass({ componentName: componentName$1r, baseSelector: 'slot' }) {
|
|
5368
5443
|
constructor() {
|
|
5369
5444
|
super();
|
|
5370
5445
|
|
|
@@ -5427,9 +5502,9 @@ const ContainerClass = compose(
|
|
|
5427
5502
|
componentNameValidationMixin
|
|
5428
5503
|
)(RawContainer);
|
|
5429
5504
|
|
|
5430
|
-
customElements.define(componentName$
|
|
5505
|
+
customElements.define(componentName$1r, ContainerClass);
|
|
5431
5506
|
|
|
5432
|
-
const componentName$
|
|
5507
|
+
const componentName$1q = getComponentName$1('combo-box');
|
|
5433
5508
|
|
|
5434
5509
|
const ComboBoxMixin = (superclass) =>
|
|
5435
5510
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -5816,7 +5891,7 @@ const ComboBoxMixin = (superclass) =>
|
|
|
5816
5891
|
};
|
|
5817
5892
|
|
|
5818
5893
|
const {
|
|
5819
|
-
host: host$
|
|
5894
|
+
host: host$A,
|
|
5820
5895
|
inputField: inputField$6,
|
|
5821
5896
|
inputElement: inputElement$3,
|
|
5822
5897
|
placeholder: placeholder$3,
|
|
@@ -5848,10 +5923,10 @@ const {
|
|
|
5848
5923
|
const ComboBoxClass = compose$1(
|
|
5849
5924
|
createStyleMixin$1({
|
|
5850
5925
|
mappings: {
|
|
5851
|
-
hostWidth: { ...host$
|
|
5852
|
-
hostDirection: { ...host$
|
|
5926
|
+
hostWidth: { ...host$A, property: 'width' },
|
|
5927
|
+
hostDirection: { ...host$A, property: 'direction' },
|
|
5853
5928
|
// we apply font-size also on the host so we can set its width with em
|
|
5854
|
-
fontSize: [{}, host$
|
|
5929
|
+
fontSize: [{}, host$A],
|
|
5855
5930
|
fontFamily: [label$a, placeholder$3, inputField$6, helperText$8, errorMessage$b],
|
|
5856
5931
|
labelFontSize: { ...label$a, property: 'font-size' },
|
|
5857
5932
|
labelFontWeight: { ...label$a, property: 'font-weight' },
|
|
@@ -6126,12 +6201,12 @@ const ComboBoxClass = compose$1(
|
|
|
6126
6201
|
'loading',
|
|
6127
6202
|
'style',
|
|
6128
6203
|
],
|
|
6129
|
-
componentName: componentName$
|
|
6204
|
+
componentName: componentName$1q,
|
|
6130
6205
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
6131
6206
|
}),
|
|
6132
6207
|
);
|
|
6133
6208
|
|
|
6134
|
-
customElements.define(componentName$
|
|
6209
|
+
customElements.define(componentName$1q, ComboBoxClass);
|
|
6135
6210
|
|
|
6136
6211
|
const getFileExtension = (path) => {
|
|
6137
6212
|
const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
|
|
@@ -6192,12 +6267,12 @@ const createImage = async (src, altText) => {
|
|
|
6192
6267
|
}
|
|
6193
6268
|
};
|
|
6194
6269
|
|
|
6195
|
-
const componentName$
|
|
6270
|
+
const componentName$1p = getComponentName$1('image');
|
|
6196
6271
|
|
|
6197
6272
|
const srcAttrs = ['src', 'src-dark'];
|
|
6198
6273
|
|
|
6199
6274
|
class RawImage extends createBaseClass$1({
|
|
6200
|
-
componentName: componentName$
|
|
6275
|
+
componentName: componentName$1p,
|
|
6201
6276
|
baseSelector: 'slot',
|
|
6202
6277
|
}) {
|
|
6203
6278
|
static get observedAttributes() {
|
|
@@ -6325,7 +6400,7 @@ const ImageClass = compose$1(
|
|
|
6325
6400
|
componentNameValidationMixin$1,
|
|
6326
6401
|
)(RawImage);
|
|
6327
6402
|
|
|
6328
|
-
const componentName$
|
|
6403
|
+
const componentName$1o = getComponentName$1('icon');
|
|
6329
6404
|
|
|
6330
6405
|
const IconClass = compose$1(
|
|
6331
6406
|
createStyleMixin$1({
|
|
@@ -6350,7 +6425,7 @@ const IconClass = compose$1(
|
|
|
6350
6425
|
}
|
|
6351
6426
|
`,
|
|
6352
6427
|
excludeAttrsSync: ['tabindex', 'class', 'style', 'st-height', 'st-width'],
|
|
6353
|
-
componentName: componentName$
|
|
6428
|
+
componentName: componentName$1o,
|
|
6354
6429
|
}),
|
|
6355
6430
|
);
|
|
6356
6431
|
|
|
@@ -6365,7 +6440,7 @@ const clickableMixin = (superclass) =>
|
|
|
6365
6440
|
}
|
|
6366
6441
|
};
|
|
6367
6442
|
|
|
6368
|
-
const componentName$
|
|
6443
|
+
const componentName$1n = getComponentName$1('button');
|
|
6369
6444
|
|
|
6370
6445
|
const resetStyles = `
|
|
6371
6446
|
:host {
|
|
@@ -6403,7 +6478,7 @@ const iconStyles = `
|
|
|
6403
6478
|
|
|
6404
6479
|
const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
|
|
6405
6480
|
|
|
6406
|
-
const { host: host$
|
|
6481
|
+
const { host: host$z, label: label$9, slottedIcon } = {
|
|
6407
6482
|
host: { selector: () => ':host' },
|
|
6408
6483
|
label: { selector: '::part(label)' },
|
|
6409
6484
|
slottedIcon: { selector: () => '::slotted(descope-icon)' },
|
|
@@ -6416,9 +6491,9 @@ const ButtonClass = compose$1(
|
|
|
6416
6491
|
createStyleMixin$1({
|
|
6417
6492
|
mappings: {
|
|
6418
6493
|
hostWidth: { property: 'width' },
|
|
6419
|
-
hostMaxWidth: { ...host$
|
|
6494
|
+
hostMaxWidth: { ...host$z, property: 'max-width' },
|
|
6420
6495
|
hostHeight: { property: 'height' },
|
|
6421
|
-
hostDirection: { ...host$
|
|
6496
|
+
hostDirection: { ...host$z, property: 'direction' },
|
|
6422
6497
|
fontSize: {},
|
|
6423
6498
|
fontFamily: {},
|
|
6424
6499
|
fontWeight: {},
|
|
@@ -6487,7 +6562,7 @@ const ButtonClass = compose$1(
|
|
|
6487
6562
|
}
|
|
6488
6563
|
`,
|
|
6489
6564
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
6490
|
-
componentName: componentName$
|
|
6565
|
+
componentName: componentName$1n,
|
|
6491
6566
|
}),
|
|
6492
6567
|
);
|
|
6493
6568
|
|
|
@@ -6524,7 +6599,7 @@ loadingIndicatorStyles = `
|
|
|
6524
6599
|
}
|
|
6525
6600
|
`;
|
|
6526
6601
|
|
|
6527
|
-
customElements.define(componentName$
|
|
6602
|
+
customElements.define(componentName$1n, ButtonClass);
|
|
6528
6603
|
|
|
6529
6604
|
const SUPPORTED_FORMATS$1 = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
|
|
6530
6605
|
|
|
@@ -6880,7 +6955,7 @@ const nextMonth = (epoch) => {
|
|
|
6880
6955
|
return date;
|
|
6881
6956
|
};
|
|
6882
6957
|
|
|
6883
|
-
const componentName$
|
|
6958
|
+
const componentName$1m = getComponentName('calendar');
|
|
6884
6959
|
|
|
6885
6960
|
const observedAttrs$8 = [
|
|
6886
6961
|
'initial-value',
|
|
@@ -6897,7 +6972,7 @@ const observedAttrs$8 = [
|
|
|
6897
6972
|
|
|
6898
6973
|
const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
|
|
6899
6974
|
|
|
6900
|
-
const BaseInputClass$g = createBaseInputClass({ componentName: componentName$
|
|
6975
|
+
const BaseInputClass$g = createBaseInputClass({ componentName: componentName$1m, baseSelector: 'div' });
|
|
6901
6976
|
|
|
6902
6977
|
class RawCalendar extends BaseInputClass$g {
|
|
6903
6978
|
static get observedAttributes() {
|
|
@@ -7518,10 +7593,10 @@ const CalendarClass = compose(
|
|
|
7518
7593
|
componentNameValidationMixin
|
|
7519
7594
|
)(RawCalendar);
|
|
7520
7595
|
|
|
7521
|
-
customElements.define(componentName$
|
|
7596
|
+
customElements.define(componentName$1m, CalendarClass);
|
|
7522
7597
|
|
|
7523
7598
|
const {
|
|
7524
|
-
host: host$
|
|
7599
|
+
host: host$y,
|
|
7525
7600
|
label: label$8,
|
|
7526
7601
|
placeholder: placeholder$2,
|
|
7527
7602
|
requiredIndicator: requiredIndicator$8,
|
|
@@ -7565,7 +7640,7 @@ const {
|
|
|
7565
7640
|
|
|
7566
7641
|
var textFieldMappings = {
|
|
7567
7642
|
// we apply font-size also on the host so we can set its width with em
|
|
7568
|
-
fontSize: [{}, host$
|
|
7643
|
+
fontSize: [{}, host$y],
|
|
7569
7644
|
fontFamily: [label$8, inputField$5, helperText$7, errorMessage$a],
|
|
7570
7645
|
|
|
7571
7646
|
labelFontSize: { ...label$8, property: 'font-size' },
|
|
@@ -7592,9 +7667,9 @@ var textFieldMappings = {
|
|
|
7592
7667
|
{ ...requiredIndicator$8, property: '-webkit-text-fill-color' },
|
|
7593
7668
|
],
|
|
7594
7669
|
|
|
7595
|
-
hostWidth: { ...host$
|
|
7596
|
-
hostMinWidth: { ...host$
|
|
7597
|
-
hostDirection: { ...host$
|
|
7670
|
+
hostWidth: { ...host$y, property: 'width' },
|
|
7671
|
+
hostMinWidth: { ...host$y, property: 'min-width' },
|
|
7672
|
+
hostDirection: { ...host$y, property: 'direction' },
|
|
7598
7673
|
inputDirection: { ...input$2, property: 'direction' },
|
|
7599
7674
|
|
|
7600
7675
|
inputBackgroundColor: [
|
|
@@ -7703,11 +7778,11 @@ var textFieldMappings = {
|
|
|
7703
7778
|
],
|
|
7704
7779
|
};
|
|
7705
7780
|
|
|
7706
|
-
const componentName$
|
|
7781
|
+
const componentName$1l = getComponentName$1('text-field');
|
|
7707
7782
|
|
|
7708
7783
|
const observedAttrs$7 = ['type', 'label-type', 'copy-to-clipboard'];
|
|
7709
7784
|
|
|
7710
|
-
const customMixin$
|
|
7785
|
+
const customMixin$g = (superclass) =>
|
|
7711
7786
|
class TextFieldClass extends superclass {
|
|
7712
7787
|
static get observedAttributes() {
|
|
7713
7788
|
return observedAttrs$7.concat(superclass.observedAttributes || []);
|
|
@@ -7798,7 +7873,7 @@ const TextFieldClass = compose$1(
|
|
|
7798
7873
|
useProxyTargets: true,
|
|
7799
7874
|
}),
|
|
7800
7875
|
componentNameValidationMixin$1,
|
|
7801
|
-
customMixin$
|
|
7876
|
+
customMixin$g,
|
|
7802
7877
|
)(
|
|
7803
7878
|
createProxy$1({
|
|
7804
7879
|
slots: ['prefix', 'suffix'],
|
|
@@ -7832,11 +7907,11 @@ const TextFieldClass = compose$1(
|
|
|
7832
7907
|
}
|
|
7833
7908
|
`,
|
|
7834
7909
|
excludeAttrsSync: ['tabindex', 'style', 'placeholder'],
|
|
7835
|
-
componentName: componentName$
|
|
7910
|
+
componentName: componentName$1l,
|
|
7836
7911
|
}),
|
|
7837
7912
|
);
|
|
7838
7913
|
|
|
7839
|
-
customElements.define(componentName$
|
|
7914
|
+
customElements.define(componentName$1l, TextFieldClass);
|
|
7840
7915
|
|
|
7841
7916
|
// DateCounterClass allows us to add several counters to the input, and use them seperately.
|
|
7842
7917
|
// For examele, we have a DayCounter, MonthCounter and YearCounter, which can each separately navigate
|
|
@@ -7956,12 +8031,12 @@ class DateCounter {
|
|
|
7956
8031
|
}
|
|
7957
8032
|
}
|
|
7958
8033
|
|
|
7959
|
-
const componentName$
|
|
8034
|
+
const componentName$1k = getComponentName('date-field');
|
|
7960
8035
|
|
|
7961
8036
|
// we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
|
|
7962
8037
|
// be able to process this component's overlay. The whole process needs refactoring as soon as possible.
|
|
7963
8038
|
const BASE_SELECTOR$2 = 'vaadin-popover';
|
|
7964
|
-
const BaseInputClass$f = createBaseInputClass({ componentName: componentName$
|
|
8039
|
+
const BaseInputClass$f = createBaseInputClass({ componentName: componentName$1k, baseSelector: BASE_SELECTOR$2 });
|
|
7965
8040
|
|
|
7966
8041
|
const dateFieldAttrs = [
|
|
7967
8042
|
'format',
|
|
@@ -8796,7 +8871,7 @@ class RawDateFieldClass extends BaseInputClass$f {
|
|
|
8796
8871
|
}
|
|
8797
8872
|
|
|
8798
8873
|
const textVars$6 = TextFieldClass.cssVarList;
|
|
8799
|
-
const { host: host$
|
|
8874
|
+
const { host: host$x, input: input$1, inputEleRTL: inputEleRTL$1, toggleButton: toggleButton$1, overlay: overlay$3, backdrop: backdrop$2} = {
|
|
8800
8875
|
host: { selector: () => ':host' },
|
|
8801
8876
|
input: { selector: () => 'descope-text-field' },
|
|
8802
8877
|
inputEleRTL: { selector: () => ':host([st-host-direction="rtl"]) descope-text-field' },
|
|
@@ -8810,8 +8885,8 @@ const DateFieldClass = compose(
|
|
|
8810
8885
|
createStyleMixin({
|
|
8811
8886
|
mappings: {
|
|
8812
8887
|
iconMargin: { ...toggleButton$1, property: 'margin-inline-end' },
|
|
8813
|
-
hostWidth: { ...host$
|
|
8814
|
-
hostDirection: { ...host$
|
|
8888
|
+
hostWidth: { ...host$x, property: 'width' },
|
|
8889
|
+
hostDirection: { ...host$x, property: 'direction' },
|
|
8815
8890
|
textAlign: { ...input$1, property: 'text-align' },
|
|
8816
8891
|
rtlInputDirection: { ...inputEleRTL$1, property: textVars$6.inputDirection },
|
|
8817
8892
|
rtlInputAlignment: { ...inputEleRTL$1, property: textVars$6.inputTextAlign },
|
|
@@ -8899,10 +8974,10 @@ const DateFieldClass = compose(
|
|
|
8899
8974
|
componentNameValidationMixin
|
|
8900
8975
|
)(RawDateFieldClass);
|
|
8901
8976
|
|
|
8902
|
-
customElements.define(componentName$
|
|
8977
|
+
customElements.define(componentName$1k, DateFieldClass);
|
|
8903
8978
|
|
|
8904
|
-
const componentName$
|
|
8905
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
|
8979
|
+
const componentName$1j = getComponentName('divider');
|
|
8980
|
+
class RawDivider extends createBaseClass({ componentName: componentName$1j, baseSelector: ':host > div' }) {
|
|
8906
8981
|
constructor() {
|
|
8907
8982
|
super();
|
|
8908
8983
|
|
|
@@ -8952,7 +9027,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$1i, base
|
|
|
8952
9027
|
}
|
|
8953
9028
|
|
|
8954
9029
|
const textVars$5 = TextClass.cssVarList;
|
|
8955
|
-
const { host: host$
|
|
9030
|
+
const { host: host$w, before, after, text: text$3 } = {
|
|
8956
9031
|
host: { selector: () => ':host' },
|
|
8957
9032
|
before: { selector: '::before' },
|
|
8958
9033
|
after: { selector: '::after' },
|
|
@@ -8962,8 +9037,8 @@ const { host: host$v, before, after, text: text$3 } = {
|
|
|
8962
9037
|
const DividerClass = compose(
|
|
8963
9038
|
createStyleMixin({
|
|
8964
9039
|
mappings: {
|
|
8965
|
-
hostWidth: { ...host$
|
|
8966
|
-
hostPadding: { ...host$
|
|
9040
|
+
hostWidth: { ...host$w, property: 'width' },
|
|
9041
|
+
hostPadding: { ...host$w, property: 'padding' },
|
|
8967
9042
|
hostDirection: { ...text$3, property: 'direction' },
|
|
8968
9043
|
|
|
8969
9044
|
minHeight: {},
|
|
@@ -9005,7 +9080,7 @@ const DividerClass = compose(
|
|
|
9005
9080
|
componentNameValidationMixin
|
|
9006
9081
|
)(RawDivider);
|
|
9007
9082
|
|
|
9008
|
-
customElements.define(componentName$
|
|
9083
|
+
customElements.define(componentName$1j, DividerClass);
|
|
9009
9084
|
|
|
9010
9085
|
// Kept in its own module (with no imports) so it can be unit tested without
|
|
9011
9086
|
// pulling in the whole component / vaadin dependency chain.
|
|
@@ -9015,12 +9090,12 @@ const asciiPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
|
|
|
9015
9090
|
const unicodePattern =
|
|
9016
9091
|
"^[\\p{L}\\p{M}\\p{N}._%+'\\-]+@[\\p{L}\\p{M}\\p{N}.\\-]+\\.[\\p{L}\\p{M}][\\p{L}\\p{M}\\p{N}\\-]+$";
|
|
9017
9092
|
|
|
9018
|
-
const componentName$
|
|
9093
|
+
const componentName$1i = getComponentName('email-field');
|
|
9019
9094
|
|
|
9020
9095
|
const defaultAutocomplete = 'username';
|
|
9021
9096
|
const defaultInputMode = 'email';
|
|
9022
9097
|
|
|
9023
|
-
const customMixin$
|
|
9098
|
+
const customMixin$f = (superclass) =>
|
|
9024
9099
|
class EmailFieldMixinClass extends superclass {
|
|
9025
9100
|
// On by default - `accept-unicode="false"` restores the pre-unicode field:
|
|
9026
9101
|
// native `type="email"` validation and the ASCII pattern.
|
|
@@ -9096,7 +9171,7 @@ const EmailFieldClass = compose(
|
|
|
9096
9171
|
}),
|
|
9097
9172
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'], useProxyTargets: true }),
|
|
9098
9173
|
componentNameValidationMixin,
|
|
9099
|
-
customMixin$
|
|
9174
|
+
customMixin$f
|
|
9100
9175
|
)(
|
|
9101
9176
|
createProxy({
|
|
9102
9177
|
slots: ['', 'suffix'],
|
|
@@ -9131,11 +9206,11 @@ const EmailFieldClass = compose(
|
|
|
9131
9206
|
}
|
|
9132
9207
|
`,
|
|
9133
9208
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9134
|
-
componentName: componentName$
|
|
9209
|
+
componentName: componentName$1i,
|
|
9135
9210
|
})
|
|
9136
9211
|
);
|
|
9137
9212
|
|
|
9138
|
-
customElements.define(componentName$
|
|
9213
|
+
customElements.define(componentName$1i, EmailFieldClass);
|
|
9139
9214
|
|
|
9140
9215
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
|
9141
9216
|
let style;
|
|
@@ -9191,37 +9266,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
|
9191
9266
|
return CssVarImageClass;
|
|
9192
9267
|
};
|
|
9193
9268
|
|
|
9194
|
-
const componentName$
|
|
9269
|
+
const componentName$1h = getComponentName('logo');
|
|
9195
9270
|
|
|
9196
9271
|
const LogoClass = createCssVarImageClass({
|
|
9197
|
-
componentName: componentName$
|
|
9272
|
+
componentName: componentName$1h,
|
|
9198
9273
|
varName: 'url',
|
|
9199
9274
|
fallbackVarName: 'fallbackUrl',
|
|
9200
9275
|
});
|
|
9201
9276
|
|
|
9202
|
-
customElements.define(componentName$
|
|
9277
|
+
customElements.define(componentName$1h, LogoClass);
|
|
9203
9278
|
|
|
9204
|
-
const componentName$
|
|
9279
|
+
const componentName$1g = getComponentName('totp-image');
|
|
9205
9280
|
|
|
9206
9281
|
const TotpImageClass = createCssVarImageClass({
|
|
9207
|
-
componentName: componentName$
|
|
9282
|
+
componentName: componentName$1g,
|
|
9208
9283
|
varName: 'url',
|
|
9209
9284
|
fallbackVarName: 'fallbackUrl',
|
|
9210
9285
|
});
|
|
9211
9286
|
|
|
9212
|
-
customElements.define(componentName$
|
|
9287
|
+
customElements.define(componentName$1g, TotpImageClass);
|
|
9213
9288
|
|
|
9214
|
-
const componentName$
|
|
9289
|
+
const componentName$1f = getComponentName('notp-image');
|
|
9215
9290
|
|
|
9216
9291
|
const NotpImageClass = createCssVarImageClass({
|
|
9217
|
-
componentName: componentName$
|
|
9292
|
+
componentName: componentName$1f,
|
|
9218
9293
|
varName: 'url',
|
|
9219
9294
|
fallbackVarName: 'fallbackUrl',
|
|
9220
9295
|
});
|
|
9221
9296
|
|
|
9222
|
-
customElements.define(componentName$
|
|
9297
|
+
customElements.define(componentName$1f, NotpImageClass);
|
|
9223
9298
|
|
|
9224
|
-
const componentName$
|
|
9299
|
+
const componentName$1e = getComponentName('number-field');
|
|
9225
9300
|
|
|
9226
9301
|
const NumberFieldClass = compose(
|
|
9227
9302
|
createStyleMixin({
|
|
@@ -9255,11 +9330,11 @@ const NumberFieldClass = compose(
|
|
|
9255
9330
|
}
|
|
9256
9331
|
`,
|
|
9257
9332
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9258
|
-
componentName: componentName$
|
|
9333
|
+
componentName: componentName$1e,
|
|
9259
9334
|
})
|
|
9260
9335
|
);
|
|
9261
9336
|
|
|
9262
|
-
customElements.define(componentName$
|
|
9337
|
+
customElements.define(componentName$1e, NumberFieldClass);
|
|
9263
9338
|
|
|
9264
9339
|
const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
|
|
9265
9340
|
const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
|
|
@@ -9282,7 +9357,7 @@ const toggleMaskVisibility = (input, value) => {
|
|
|
9282
9357
|
}
|
|
9283
9358
|
};
|
|
9284
9359
|
|
|
9285
|
-
const componentName$
|
|
9360
|
+
const componentName$1d = getComponentName('passcode-internal');
|
|
9286
9361
|
|
|
9287
9362
|
const observedAttributes$6 = ['digits', 'loading'];
|
|
9288
9363
|
|
|
@@ -9295,7 +9370,7 @@ const forwardAttributes = [
|
|
|
9295
9370
|
'aria-labelledby',
|
|
9296
9371
|
];
|
|
9297
9372
|
|
|
9298
|
-
const BaseInputClass$e = createBaseInputClass({ componentName: componentName$
|
|
9373
|
+
const BaseInputClass$e = createBaseInputClass({ componentName: componentName$1d, baseSelector: 'div' });
|
|
9299
9374
|
|
|
9300
9375
|
class PasscodeInternal extends BaseInputClass$e {
|
|
9301
9376
|
static get observedAttributes() {
|
|
@@ -9536,11 +9611,11 @@ class PasscodeInternal extends BaseInputClass$e {
|
|
|
9536
9611
|
}
|
|
9537
9612
|
}
|
|
9538
9613
|
|
|
9539
|
-
const componentName$
|
|
9614
|
+
const componentName$1c = getComponentName('passcode');
|
|
9540
9615
|
|
|
9541
9616
|
const observedAttributes$5 = ['digits'];
|
|
9542
9617
|
|
|
9543
|
-
const customMixin$
|
|
9618
|
+
const customMixin$e = (superclass) =>
|
|
9544
9619
|
class PasscodeMixinClass extends superclass {
|
|
9545
9620
|
static get observedAttributes() {
|
|
9546
9621
|
return observedAttributes$5.concat(superclass.observedAttributes || []);
|
|
@@ -9581,18 +9656,18 @@ const customMixin$d = (superclass) =>
|
|
|
9581
9656
|
const template = document.createElement('template');
|
|
9582
9657
|
|
|
9583
9658
|
template.innerHTML = `
|
|
9584
|
-
<${componentName$
|
|
9659
|
+
<${componentName$1d}
|
|
9585
9660
|
bordered="true"
|
|
9586
9661
|
name="code"
|
|
9587
9662
|
tabindex="-1"
|
|
9588
9663
|
slot="input"
|
|
9589
9664
|
role="textbox"
|
|
9590
|
-
><slot></slot></${componentName$
|
|
9665
|
+
><slot></slot></${componentName$1d}>
|
|
9591
9666
|
`;
|
|
9592
9667
|
|
|
9593
9668
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
9594
9669
|
|
|
9595
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
9670
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$1d);
|
|
9596
9671
|
|
|
9597
9672
|
forwardAttrs(this, this.inputElement, {
|
|
9598
9673
|
includeAttrs: ['digits', 'size', 'loading', 'disabled'],
|
|
@@ -9609,7 +9684,7 @@ const customMixin$d = (superclass) =>
|
|
|
9609
9684
|
};
|
|
9610
9685
|
|
|
9611
9686
|
const {
|
|
9612
|
-
host: host$
|
|
9687
|
+
host: host$v,
|
|
9613
9688
|
digitField,
|
|
9614
9689
|
label: label$7,
|
|
9615
9690
|
requiredIndicator: requiredIndicator$7,
|
|
@@ -9632,10 +9707,10 @@ const loaderVars = LoaderRadialClass.cssVarList;
|
|
|
9632
9707
|
const PasscodeClass = compose(
|
|
9633
9708
|
createStyleMixin({
|
|
9634
9709
|
mappings: {
|
|
9635
|
-
fontSize: [{ ...digitField, property: textVars$4.fontSize }, host$
|
|
9710
|
+
fontSize: [{ ...digitField, property: textVars$4.fontSize }, host$v],
|
|
9636
9711
|
hostWidth: { property: 'width' },
|
|
9637
|
-
hostDirection: { ...host$
|
|
9638
|
-
fontFamily: [host$
|
|
9712
|
+
hostDirection: { ...host$v, property: 'direction' },
|
|
9713
|
+
fontFamily: [host$v, { ...label$7 }],
|
|
9639
9714
|
labelFontWeight: { ...label$7, property: 'font-weight' },
|
|
9640
9715
|
errorMessageFontWeight: { ...errorMessage$9, property: 'font-weight' },
|
|
9641
9716
|
digitValueFontWeight: {
|
|
@@ -9680,7 +9755,7 @@ const PasscodeClass = compose(
|
|
|
9680
9755
|
inputOverrideValidConstraintsMixin,
|
|
9681
9756
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
|
|
9682
9757
|
componentNameValidationMixin,
|
|
9683
|
-
customMixin$
|
|
9758
|
+
customMixin$e
|
|
9684
9759
|
)(
|
|
9685
9760
|
createProxy({
|
|
9686
9761
|
slots: [],
|
|
@@ -9761,13 +9836,13 @@ const PasscodeClass = compose(
|
|
|
9761
9836
|
${resetInputCursor('vaadin-text-field')}
|
|
9762
9837
|
`,
|
|
9763
9838
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
9764
|
-
componentName: componentName$
|
|
9839
|
+
componentName: componentName$1c,
|
|
9765
9840
|
})
|
|
9766
9841
|
);
|
|
9767
9842
|
|
|
9768
|
-
customElements.define(componentName$
|
|
9843
|
+
customElements.define(componentName$1d, PasscodeInternal);
|
|
9769
9844
|
|
|
9770
|
-
customElements.define(componentName$
|
|
9845
|
+
customElements.define(componentName$1c, PasscodeClass);
|
|
9771
9846
|
|
|
9772
9847
|
const passwordDraggableMixin = (superclass) =>
|
|
9773
9848
|
class PasswordDraggableMixinClass extends superclass {
|
|
@@ -9808,9 +9883,9 @@ const passwordDraggableMixin = (superclass) =>
|
|
|
9808
9883
|
}
|
|
9809
9884
|
};
|
|
9810
9885
|
|
|
9811
|
-
const componentName$
|
|
9886
|
+
const componentName$1b = getComponentName('password');
|
|
9812
9887
|
|
|
9813
|
-
const customMixin$
|
|
9888
|
+
const customMixin$d = (superclass) =>
|
|
9814
9889
|
class PasswordFieldMixinClass extends superclass {
|
|
9815
9890
|
static get observedAttributes() {
|
|
9816
9891
|
return ['manual-visibility-toggle'];
|
|
@@ -9828,6 +9903,19 @@ const customMixin$c = (superclass) =>
|
|
|
9828
9903
|
this.baseElement._setFocused = this.setFocus.bind(this);
|
|
9829
9904
|
|
|
9830
9905
|
this.initExternalInput();
|
|
9906
|
+
this.stopRevealButtonEnterPropagation();
|
|
9907
|
+
}
|
|
9908
|
+
|
|
9909
|
+
// Vaadin toggles visibility on Enter keydown but lets the event bubble,
|
|
9910
|
+
// and the SDK submits the form on any Enter that reaches the flow root.
|
|
9911
|
+
stopRevealButtonEnterPropagation() {
|
|
9912
|
+
this.revealButton.addEventListener('keydown', (e) => {
|
|
9913
|
+
if (e.key === 'Enter') e.stopPropagation();
|
|
9914
|
+
});
|
|
9915
|
+
}
|
|
9916
|
+
|
|
9917
|
+
get revealButton() {
|
|
9918
|
+
return this.baseElement.querySelector('vaadin-password-field-button');
|
|
9831
9919
|
}
|
|
9832
9920
|
|
|
9833
9921
|
initExternalInput() {
|
|
@@ -9883,9 +9971,7 @@ const customMixin$c = (superclass) =>
|
|
|
9883
9971
|
handlePasswordVisibility(externalInput) {
|
|
9884
9972
|
// disable vaadin's `__boundRevealButtonMouseDown` mouse-down event lisetener
|
|
9885
9973
|
const origBoundRevealButtonMouseDown = this.baseElement.__boundRevealButtonMouseDown;
|
|
9886
|
-
this.
|
|
9887
|
-
.querySelector('vaadin-password-field-button')
|
|
9888
|
-
.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
|
|
9974
|
+
this.revealButton.removeEventListener('mousedown', origBoundRevealButtonMouseDown);
|
|
9889
9975
|
|
|
9890
9976
|
// disable vaadin's `_passwordVisibleChanged` observer
|
|
9891
9977
|
this.baseElement._passwordVisibleChanged = () => {};
|
|
@@ -9917,7 +10003,7 @@ const customMixin$c = (superclass) =>
|
|
|
9917
10003
|
};
|
|
9918
10004
|
|
|
9919
10005
|
const {
|
|
9920
|
-
host: host$
|
|
10006
|
+
host: host$u,
|
|
9921
10007
|
inputField: inputField$4,
|
|
9922
10008
|
inputElement: inputElement$2,
|
|
9923
10009
|
inputElementPlaceholder,
|
|
@@ -9943,10 +10029,10 @@ const {
|
|
|
9943
10029
|
const PasswordClass = compose(
|
|
9944
10030
|
createStyleMixin({
|
|
9945
10031
|
mappings: {
|
|
9946
|
-
hostWidth: { ...host$
|
|
9947
|
-
hostMinWidth: { ...host$
|
|
9948
|
-
hostDirection: { ...host$
|
|
9949
|
-
fontSize: [{}, host$
|
|
10032
|
+
hostWidth: { ...host$u, property: 'width' },
|
|
10033
|
+
hostMinWidth: { ...host$u, property: 'min-width' },
|
|
10034
|
+
hostDirection: { ...host$u, property: 'direction' },
|
|
10035
|
+
fontSize: [{}, host$u],
|
|
9950
10036
|
fontFamily: [label$6, inputField$4, errorMessage$8, helperText$6],
|
|
9951
10037
|
inputHeight: { ...inputField$4, property: 'height' },
|
|
9952
10038
|
inputHorizontalPadding: [
|
|
@@ -10035,7 +10121,7 @@ const PasswordClass = compose(
|
|
|
10035
10121
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'], useProxyTargets: true }),
|
|
10036
10122
|
componentNameValidationMixin,
|
|
10037
10123
|
passwordDraggableMixin,
|
|
10038
|
-
customMixin$
|
|
10124
|
+
customMixin$d
|
|
10039
10125
|
)(
|
|
10040
10126
|
createProxy({
|
|
10041
10127
|
slots: ['', 'suffix'],
|
|
@@ -10102,16 +10188,16 @@ const PasswordClass = compose(
|
|
|
10102
10188
|
}
|
|
10103
10189
|
`,
|
|
10104
10190
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
10105
|
-
componentName: componentName$
|
|
10191
|
+
componentName: componentName$1b,
|
|
10106
10192
|
})
|
|
10107
10193
|
);
|
|
10108
10194
|
|
|
10109
|
-
customElements.define(componentName$
|
|
10195
|
+
customElements.define(componentName$1b, PasswordClass);
|
|
10110
10196
|
|
|
10111
|
-
const componentName$
|
|
10197
|
+
const componentName$1a = getComponentName('text-area');
|
|
10112
10198
|
|
|
10113
10199
|
const {
|
|
10114
|
-
host: host$
|
|
10200
|
+
host: host$t,
|
|
10115
10201
|
label: label$5,
|
|
10116
10202
|
placeholder: placeholder$1,
|
|
10117
10203
|
inputField: inputField$3,
|
|
@@ -10133,10 +10219,10 @@ const {
|
|
|
10133
10219
|
const TextAreaClass = compose(
|
|
10134
10220
|
createStyleMixin({
|
|
10135
10221
|
mappings: {
|
|
10136
|
-
hostWidth: { ...host$
|
|
10137
|
-
hostMinWidth: { ...host$
|
|
10138
|
-
hostDirection: { ...host$
|
|
10139
|
-
fontSize: [host$
|
|
10222
|
+
hostWidth: { ...host$t, property: 'width' },
|
|
10223
|
+
hostMinWidth: { ...host$t, property: 'min-width' },
|
|
10224
|
+
hostDirection: { ...host$t, property: 'direction' },
|
|
10225
|
+
fontSize: [host$t, textArea$2],
|
|
10140
10226
|
fontFamily: [label$5, inputField$3, helperText$5, errorMessage$7],
|
|
10141
10227
|
labelFontSize: { ...label$5, property: 'font-size' },
|
|
10142
10228
|
labelFontWeight: { ...label$5, property: 'font-weight' },
|
|
@@ -10197,11 +10283,11 @@ const TextAreaClass = compose(
|
|
|
10197
10283
|
${resetInputCursor('vaadin-text-area')}
|
|
10198
10284
|
`,
|
|
10199
10285
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
10200
|
-
componentName: componentName$
|
|
10286
|
+
componentName: componentName$1a,
|
|
10201
10287
|
})
|
|
10202
10288
|
);
|
|
10203
10289
|
|
|
10204
|
-
customElements.define(componentName$
|
|
10290
|
+
customElements.define(componentName$1a, TextAreaClass);
|
|
10205
10291
|
|
|
10206
10292
|
var CountryCodes = [
|
|
10207
10293
|
// United States should be the first option
|
|
@@ -11438,7 +11524,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
|
|
|
11438
11524
|
</div>
|
|
11439
11525
|
`;
|
|
11440
11526
|
|
|
11441
|
-
const componentName$
|
|
11527
|
+
const componentName$19 = getComponentName('phone-field-internal');
|
|
11442
11528
|
|
|
11443
11529
|
const commonAttrs$2 = ['disabled', 'size', 'bordered', 'readonly'];
|
|
11444
11530
|
const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
|
|
@@ -11459,7 +11545,7 @@ const mapAttrs$1 = {
|
|
|
11459
11545
|
|
|
11460
11546
|
const inputRelatedAttrs$1 = [].concat(commonAttrs$2, countryAttrs, phoneAttrs, labelTypeAttrs$1);
|
|
11461
11547
|
|
|
11462
|
-
const BaseInputClass$d = createBaseInputClass({ componentName: componentName$
|
|
11548
|
+
const BaseInputClass$d = createBaseInputClass({ componentName: componentName$19, baseSelector: 'div' });
|
|
11463
11549
|
|
|
11464
11550
|
let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$d {
|
|
11465
11551
|
static get observedAttributes() {
|
|
@@ -11839,14 +11925,14 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$d {
|
|
|
11839
11925
|
}
|
|
11840
11926
|
};
|
|
11841
11927
|
|
|
11842
|
-
customElements.define(componentName$
|
|
11928
|
+
customElements.define(componentName$19, PhoneFieldInternal$1);
|
|
11843
11929
|
|
|
11844
11930
|
const textVars$3 = TextFieldClass.cssVarList;
|
|
11845
11931
|
const comboVars = ComboBoxClass.cssVarList;
|
|
11846
11932
|
|
|
11847
|
-
const componentName$
|
|
11933
|
+
const componentName$18 = getComponentName('phone-field');
|
|
11848
11934
|
|
|
11849
|
-
const customMixin$
|
|
11935
|
+
const customMixin$c = (superclass) =>
|
|
11850
11936
|
class PhoneFieldMixinClass extends superclass {
|
|
11851
11937
|
static get CountryCodes() {
|
|
11852
11938
|
return CountryCodes;
|
|
@@ -11858,10 +11944,10 @@ const customMixin$b = (superclass) =>
|
|
|
11858
11944
|
const template = document.createElement('template');
|
|
11859
11945
|
|
|
11860
11946
|
template.innerHTML = `
|
|
11861
|
-
<${componentName$
|
|
11947
|
+
<${componentName$19}
|
|
11862
11948
|
tabindex="-1"
|
|
11863
11949
|
slot="input"
|
|
11864
|
-
></${componentName$
|
|
11950
|
+
></${componentName$19}>
|
|
11865
11951
|
`;
|
|
11866
11952
|
|
|
11867
11953
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
@@ -11872,7 +11958,7 @@ const customMixin$b = (superclass) =>
|
|
|
11872
11958
|
// disable Vaadin's write-back.
|
|
11873
11959
|
this.baseElement._forwardInputValue = () => {};
|
|
11874
11960
|
|
|
11875
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
11961
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$19);
|
|
11876
11962
|
|
|
11877
11963
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
|
11878
11964
|
includeAttrs: [
|
|
@@ -11917,7 +12003,7 @@ const customMixin$b = (superclass) =>
|
|
|
11917
12003
|
};
|
|
11918
12004
|
|
|
11919
12005
|
const {
|
|
11920
|
-
host: host$
|
|
12006
|
+
host: host$s,
|
|
11921
12007
|
label: label$4,
|
|
11922
12008
|
requiredIndicator: requiredIndicator$4,
|
|
11923
12009
|
inputField: inputField$2,
|
|
@@ -11944,7 +12030,7 @@ const PhoneFieldClass = compose(
|
|
|
11944
12030
|
createStyleMixin({
|
|
11945
12031
|
mappings: {
|
|
11946
12032
|
fontSize: [
|
|
11947
|
-
host$
|
|
12033
|
+
host$s,
|
|
11948
12034
|
inputField$2,
|
|
11949
12035
|
{
|
|
11950
12036
|
selector: TextFieldClass.componentName,
|
|
@@ -11965,11 +12051,11 @@ const PhoneFieldClass = compose(
|
|
|
11965
12051
|
},
|
|
11966
12052
|
],
|
|
11967
12053
|
hostWidth: [
|
|
11968
|
-
{ ...host$
|
|
12054
|
+
{ ...host$s, property: 'width' },
|
|
11969
12055
|
{ ...phoneInput$1, property: 'width' },
|
|
11970
12056
|
{ ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
|
|
11971
12057
|
],
|
|
11972
|
-
hostDirection: { ...host$
|
|
12058
|
+
hostDirection: { ...host$s, property: 'direction' },
|
|
11973
12059
|
|
|
11974
12060
|
inputBorderStyle: [
|
|
11975
12061
|
{ ...internalAfter, property: 'border-style' },
|
|
@@ -12054,7 +12140,7 @@ const PhoneFieldClass = compose(
|
|
|
12054
12140
|
draggableMixin,
|
|
12055
12141
|
inputOverrideValidConstraintsMixin,
|
|
12056
12142
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
|
|
12057
|
-
customMixin$
|
|
12143
|
+
customMixin$c
|
|
12058
12144
|
)(
|
|
12059
12145
|
createProxy({
|
|
12060
12146
|
slots: [],
|
|
@@ -12155,11 +12241,11 @@ const PhoneFieldClass = compose(
|
|
|
12155
12241
|
${resetInputLabelPosition('vaadin-text-field')}
|
|
12156
12242
|
`,
|
|
12157
12243
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12158
|
-
componentName: componentName$
|
|
12244
|
+
componentName: componentName$18,
|
|
12159
12245
|
})
|
|
12160
12246
|
);
|
|
12161
12247
|
|
|
12162
|
-
customElements.define(componentName$
|
|
12248
|
+
customElements.define(componentName$18, PhoneFieldClass);
|
|
12163
12249
|
|
|
12164
12250
|
const getCountryByCodeId = (countryCode) =>
|
|
12165
12251
|
CountryCodes.find((c) => c.code === countryCode)?.dialCode;
|
|
@@ -12170,7 +12256,7 @@ const matchingParenthesis = (val) => {
|
|
|
12170
12256
|
return openParenMatches?.length === closeParenMatches?.length;
|
|
12171
12257
|
};
|
|
12172
12258
|
|
|
12173
|
-
const componentName$
|
|
12259
|
+
const componentName$17 = getComponentName('phone-field-internal-input-box');
|
|
12174
12260
|
|
|
12175
12261
|
const observedAttributes$4 = [
|
|
12176
12262
|
'disabled',
|
|
@@ -12188,7 +12274,7 @@ const mapAttrs = {
|
|
|
12188
12274
|
'phone-input-type': 'type',
|
|
12189
12275
|
};
|
|
12190
12276
|
|
|
12191
|
-
const BaseInputClass$c = createBaseInputClass({ componentName: componentName$
|
|
12277
|
+
const BaseInputClass$c = createBaseInputClass({ componentName: componentName$17, baseSelector: 'div' });
|
|
12192
12278
|
|
|
12193
12279
|
class PhoneFieldInternal extends BaseInputClass$c {
|
|
12194
12280
|
static get observedAttributes() {
|
|
@@ -12441,13 +12527,13 @@ class PhoneFieldInternal extends BaseInputClass$c {
|
|
|
12441
12527
|
}
|
|
12442
12528
|
}
|
|
12443
12529
|
|
|
12444
|
-
customElements.define(componentName$
|
|
12530
|
+
customElements.define(componentName$17, PhoneFieldInternal);
|
|
12445
12531
|
|
|
12446
12532
|
const textVars$2 = TextFieldClass.cssVarList;
|
|
12447
12533
|
|
|
12448
|
-
const componentName$
|
|
12534
|
+
const componentName$16 = getComponentName('phone-input-box-field');
|
|
12449
12535
|
|
|
12450
|
-
const customMixin$
|
|
12536
|
+
const customMixin$b = (superclass) =>
|
|
12451
12537
|
class PhoneFieldInputBoxMixinClass extends superclass {
|
|
12452
12538
|
static get CountryCodes() {
|
|
12453
12539
|
return CountryCodes;
|
|
@@ -12459,15 +12545,15 @@ const customMixin$a = (superclass) =>
|
|
|
12459
12545
|
const template = document.createElement('template');
|
|
12460
12546
|
|
|
12461
12547
|
template.innerHTML = `
|
|
12462
|
-
<${componentName$
|
|
12548
|
+
<${componentName$17}
|
|
12463
12549
|
tabindex="-1"
|
|
12464
12550
|
slot="input"
|
|
12465
|
-
></${componentName$
|
|
12551
|
+
></${componentName$17}>
|
|
12466
12552
|
`;
|
|
12467
12553
|
|
|
12468
12554
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
12469
12555
|
|
|
12470
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
12556
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$17);
|
|
12471
12557
|
|
|
12472
12558
|
syncAttrs$1(this, this.inputElement, { includeAttrs: ['has-value'] });
|
|
12473
12559
|
|
|
@@ -12497,7 +12583,7 @@ const customMixin$a = (superclass) =>
|
|
|
12497
12583
|
};
|
|
12498
12584
|
|
|
12499
12585
|
const {
|
|
12500
|
-
host: host$
|
|
12586
|
+
host: host$r,
|
|
12501
12587
|
label: label$3,
|
|
12502
12588
|
inputElement: inputElement$1,
|
|
12503
12589
|
requiredIndicator: requiredIndicator$3,
|
|
@@ -12528,7 +12614,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12528
12614
|
createStyleMixin({
|
|
12529
12615
|
mappings: {
|
|
12530
12616
|
fontSize: [
|
|
12531
|
-
host$
|
|
12617
|
+
host$r,
|
|
12532
12618
|
inputField$1,
|
|
12533
12619
|
{
|
|
12534
12620
|
selector: TextFieldClass.componentName,
|
|
@@ -12536,9 +12622,9 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12536
12622
|
},
|
|
12537
12623
|
],
|
|
12538
12624
|
fontFamily: [label$3, errorMessage$5, helperText$3],
|
|
12539
|
-
hostWidth: { ...host$
|
|
12540
|
-
hostMinWidth: { ...host$
|
|
12541
|
-
hostDirection: { ...host$
|
|
12625
|
+
hostWidth: { ...host$r, property: 'width' },
|
|
12626
|
+
hostMinWidth: { ...host$r, property: 'min-width' },
|
|
12627
|
+
hostDirection: { ...host$r, property: 'direction' },
|
|
12542
12628
|
|
|
12543
12629
|
inputHorizontalPadding: [
|
|
12544
12630
|
{ ...phoneInput, property: 'padding-left' },
|
|
@@ -12602,7 +12688,7 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12602
12688
|
draggableMixin,
|
|
12603
12689
|
inputOverrideValidConstraintsMixin,
|
|
12604
12690
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
|
|
12605
|
-
customMixin$
|
|
12691
|
+
customMixin$b
|
|
12606
12692
|
)(
|
|
12607
12693
|
createProxy({
|
|
12608
12694
|
slots: [],
|
|
@@ -12679,18 +12765,18 @@ const PhoneFieldInputBoxClass = compose(
|
|
|
12679
12765
|
${inputFloatingLabelStyle()}
|
|
12680
12766
|
`,
|
|
12681
12767
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
12682
|
-
componentName: componentName$
|
|
12768
|
+
componentName: componentName$16,
|
|
12683
12769
|
})
|
|
12684
12770
|
);
|
|
12685
12771
|
|
|
12686
|
-
customElements.define(componentName$
|
|
12772
|
+
customElements.define(componentName$16, PhoneFieldInputBoxClass);
|
|
12687
12773
|
|
|
12688
|
-
const componentName$
|
|
12774
|
+
const componentName$15 = getComponentName('new-password-internal');
|
|
12689
12775
|
|
|
12690
12776
|
const interpolateString = (template, values) =>
|
|
12691
12777
|
template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
|
|
12692
12778
|
|
|
12693
|
-
const componentName$
|
|
12779
|
+
const componentName$14 = getComponentName('policy-validation');
|
|
12694
12780
|
|
|
12695
12781
|
const overrideAttrs = [
|
|
12696
12782
|
'data-password-policy-value-minlength',
|
|
@@ -12702,7 +12788,7 @@ const overrideAttrs = [
|
|
|
12702
12788
|
const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
|
|
12703
12789
|
const policyAttrs = ['label', 'value', ...dataAttrs];
|
|
12704
12790
|
|
|
12705
|
-
class RawPolicyValidation extends createBaseClass({ componentName: componentName$
|
|
12791
|
+
class RawPolicyValidation extends createBaseClass({ componentName: componentName$14, baseSelector: ':host > div' }) {
|
|
12706
12792
|
#availablePolicies;
|
|
12707
12793
|
|
|
12708
12794
|
#activePolicies = [];
|
|
@@ -12999,7 +13085,7 @@ class RawPolicyValidation extends createBaseClass({ componentName: componentName
|
|
|
12999
13085
|
}
|
|
13000
13086
|
}
|
|
13001
13087
|
|
|
13002
|
-
const { host: host$
|
|
13088
|
+
const { host: host$q, item, symbolDefault, symbolSuccess, symbolError } = {
|
|
13003
13089
|
host: { selector: () => ':host > div' },
|
|
13004
13090
|
item: { selector: () => '.item' },
|
|
13005
13091
|
symbolDefault: { selector: () => '.item[data-valid="none"]::before' },
|
|
@@ -13015,13 +13101,13 @@ const PolicyValidationClass = compose(
|
|
|
13015
13101
|
fontSize: {},
|
|
13016
13102
|
fontFamily: {},
|
|
13017
13103
|
padding: {},
|
|
13018
|
-
borderWidth: { ...host$
|
|
13019
|
-
borderStyle: { ...host$
|
|
13020
|
-
borderColor: { ...host$
|
|
13021
|
-
borderRadius: { ...host$
|
|
13022
|
-
backgroundColor: { ...host$
|
|
13104
|
+
borderWidth: { ...host$q, property: 'border-width' },
|
|
13105
|
+
borderStyle: { ...host$q, property: 'border-style' },
|
|
13106
|
+
borderColor: { ...host$q, property: 'border-color' },
|
|
13107
|
+
borderRadius: { ...host$q, property: 'border-radius' },
|
|
13108
|
+
backgroundColor: { ...host$q, property: 'background-color' },
|
|
13023
13109
|
textColor: { property: 'color' },
|
|
13024
|
-
labelMargin: { ...host$
|
|
13110
|
+
labelMargin: { ...host$q, property: 'gap' },
|
|
13025
13111
|
itemsSpacing: { ...item, property: 'line-height' },
|
|
13026
13112
|
itemSymbolSuccessColor: { ...symbolSuccess, property: 'color' },
|
|
13027
13113
|
itemSymbolErrorColor: { ...symbolError, property: 'color' },
|
|
@@ -13034,11 +13120,11 @@ const PolicyValidationClass = compose(
|
|
|
13034
13120
|
componentNameValidationMixin
|
|
13035
13121
|
)(RawPolicyValidation);
|
|
13036
13122
|
|
|
13037
|
-
const componentName$
|
|
13123
|
+
const componentName$13 = getComponentName('new-password');
|
|
13038
13124
|
|
|
13039
13125
|
const policyPreviewVars = PolicyValidationClass.cssVarList;
|
|
13040
13126
|
|
|
13041
|
-
const customMixin$
|
|
13127
|
+
const customMixin$a = (superclass) =>
|
|
13042
13128
|
class NewPasswordMixinClass extends superclass {
|
|
13043
13129
|
init() {
|
|
13044
13130
|
super.init?.();
|
|
@@ -13048,18 +13134,18 @@ const customMixin$9 = (superclass) =>
|
|
|
13048
13134
|
const externalInputAttr = this.getAttribute('external-input');
|
|
13049
13135
|
|
|
13050
13136
|
template.innerHTML = `
|
|
13051
|
-
<${componentName$
|
|
13137
|
+
<${componentName$15}
|
|
13052
13138
|
name="new-password"
|
|
13053
13139
|
tabindex="-1"
|
|
13054
13140
|
slot="input"
|
|
13055
13141
|
external-input="${externalInputAttr}"
|
|
13056
13142
|
>
|
|
13057
|
-
</${componentName$
|
|
13143
|
+
</${componentName$15}>
|
|
13058
13144
|
`;
|
|
13059
13145
|
|
|
13060
13146
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
13061
13147
|
|
|
13062
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
13148
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$15);
|
|
13063
13149
|
|
|
13064
13150
|
if (this.getAttribute('external-input') === 'true') {
|
|
13065
13151
|
this.initExternalInput();
|
|
@@ -13125,7 +13211,7 @@ const customMixin$9 = (superclass) =>
|
|
|
13125
13211
|
};
|
|
13126
13212
|
|
|
13127
13213
|
const {
|
|
13128
|
-
host: host$
|
|
13214
|
+
host: host$p,
|
|
13129
13215
|
label: label$2,
|
|
13130
13216
|
internalInputsWrapper,
|
|
13131
13217
|
errorMessage: errorMessage$4,
|
|
@@ -13146,7 +13232,7 @@ const NewPasswordClass = compose(
|
|
|
13146
13232
|
createStyleMixin({
|
|
13147
13233
|
mappings: {
|
|
13148
13234
|
fontSize: [
|
|
13149
|
-
host$
|
|
13235
|
+
host$p,
|
|
13150
13236
|
{},
|
|
13151
13237
|
{
|
|
13152
13238
|
selector: PasswordClass.componentName,
|
|
@@ -13174,13 +13260,13 @@ const NewPasswordClass = compose(
|
|
|
13174
13260
|
errorMessageIconRepeat: { ...errorMessage$4, property: 'background-repeat' },
|
|
13175
13261
|
errorMessageIconPosition: { ...errorMessage$4, property: 'background-position' },
|
|
13176
13262
|
errorMessageFontSize: { ...errorMessage$4, property: 'font-size' },
|
|
13177
|
-
hostWidth: { ...host$
|
|
13178
|
-
hostMinWidth: { ...host$
|
|
13263
|
+
hostWidth: { ...host$p, property: 'width' },
|
|
13264
|
+
hostMinWidth: { ...host$p, property: 'min-width' },
|
|
13179
13265
|
hostDirection: [
|
|
13180
|
-
{ ...host$
|
|
13266
|
+
{ ...host$p, property: 'direction' },
|
|
13181
13267
|
{ ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
|
|
13182
13268
|
],
|
|
13183
|
-
inputsRequiredIndicator: { ...host$
|
|
13269
|
+
inputsRequiredIndicator: { ...host$p, property: 'content' },
|
|
13184
13270
|
spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
|
|
13185
13271
|
policyPreviewBackgroundColor: {
|
|
13186
13272
|
...policyPreview,
|
|
@@ -13197,7 +13283,7 @@ const NewPasswordClass = compose(
|
|
|
13197
13283
|
}),
|
|
13198
13284
|
draggableMixin,
|
|
13199
13285
|
composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
|
|
13200
|
-
customMixin$
|
|
13286
|
+
customMixin$a
|
|
13201
13287
|
)(
|
|
13202
13288
|
createProxy({
|
|
13203
13289
|
slots: [],
|
|
@@ -13256,11 +13342,11 @@ const NewPasswordClass = compose(
|
|
|
13256
13342
|
}
|
|
13257
13343
|
`,
|
|
13258
13344
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
13259
|
-
componentName: componentName$
|
|
13345
|
+
componentName: componentName$13,
|
|
13260
13346
|
})
|
|
13261
13347
|
);
|
|
13262
13348
|
|
|
13263
|
-
customElements.define(componentName$
|
|
13349
|
+
customElements.define(componentName$14, PolicyValidationClass);
|
|
13264
13350
|
|
|
13265
13351
|
const passwordAttrPrefixRegex = /^password-/;
|
|
13266
13352
|
const confirmAttrPrefixRegex = /^confirm-/;
|
|
@@ -13302,7 +13388,7 @@ const inputRelatedAttrs = [].concat(
|
|
|
13302
13388
|
policyPanelAttrs
|
|
13303
13389
|
);
|
|
13304
13390
|
|
|
13305
|
-
const BaseInputClass$b = createBaseInputClass({ componentName: componentName$
|
|
13391
|
+
const BaseInputClass$b = createBaseInputClass({ componentName: componentName$15, baseSelector: 'div' });
|
|
13306
13392
|
|
|
13307
13393
|
class NewPasswordInternal extends BaseInputClass$b {
|
|
13308
13394
|
static get observedAttributes() {
|
|
@@ -13545,11 +13631,11 @@ class NewPasswordInternal extends BaseInputClass$b {
|
|
|
13545
13631
|
}
|
|
13546
13632
|
}
|
|
13547
13633
|
|
|
13548
|
-
customElements.define(componentName$
|
|
13634
|
+
customElements.define(componentName$15, NewPasswordInternal);
|
|
13549
13635
|
|
|
13550
|
-
customElements.define(componentName$
|
|
13636
|
+
customElements.define(componentName$13, NewPasswordClass);
|
|
13551
13637
|
|
|
13552
|
-
const componentName$
|
|
13638
|
+
const componentName$12 = getComponentName('recaptcha');
|
|
13553
13639
|
|
|
13554
13640
|
const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise', 'variant'];
|
|
13555
13641
|
|
|
@@ -13557,7 +13643,7 @@ const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise', 'va
|
|
|
13557
13643
|
const DEFAULT_FIELD_NAME = 'recaptcha';
|
|
13558
13644
|
|
|
13559
13645
|
const BaseInputClass$a = createBaseInputClass({
|
|
13560
|
-
componentName: componentName$
|
|
13646
|
+
componentName: componentName$12,
|
|
13561
13647
|
baseSelector: ':host > div',
|
|
13562
13648
|
});
|
|
13563
13649
|
class RawRecaptcha extends BaseInputClass$a {
|
|
@@ -13885,7 +13971,7 @@ class RawRecaptcha extends BaseInputClass$a {
|
|
|
13885
13971
|
|
|
13886
13972
|
const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
|
|
13887
13973
|
|
|
13888
|
-
customElements.define(componentName$
|
|
13974
|
+
customElements.define(componentName$12, RecaptchaClass);
|
|
13889
13975
|
|
|
13890
13976
|
const getFileBase64 = (fileObj) =>
|
|
13891
13977
|
new Promise((resolve) => {
|
|
@@ -13896,7 +13982,7 @@ const getFileBase64 = (fileObj) =>
|
|
|
13896
13982
|
|
|
13897
13983
|
const getFilename = (fileObj) => fileObj.name.replace(/^.*\\/, '');
|
|
13898
13984
|
|
|
13899
|
-
const componentName$
|
|
13985
|
+
const componentName$11 = getComponentName('upload-file');
|
|
13900
13986
|
|
|
13901
13987
|
const observedAttributes$2 = [
|
|
13902
13988
|
'title',
|
|
@@ -13911,7 +13997,7 @@ const observedAttributes$2 = [
|
|
|
13911
13997
|
'icon',
|
|
13912
13998
|
];
|
|
13913
13999
|
|
|
13914
|
-
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$
|
|
14000
|
+
const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$11, baseSelector: ':host > div' });
|
|
13915
14001
|
|
|
13916
14002
|
class RawUploadFile extends BaseInputClass$9 {
|
|
13917
14003
|
static get observedAttributes() {
|
|
@@ -14087,7 +14173,7 @@ class RawUploadFile extends BaseInputClass$9 {
|
|
|
14087
14173
|
}
|
|
14088
14174
|
|
|
14089
14175
|
const buttonVars = ButtonClass.cssVarList;
|
|
14090
|
-
const { host: host$
|
|
14176
|
+
const { host: host$o, wrapper, icon: icon$4, title: title$1, description, requiredIndicator: requiredIndicator$2 } = {
|
|
14091
14177
|
host: { selector: () => ':host' },
|
|
14092
14178
|
wrapper: { selector: () => ':host > div' },
|
|
14093
14179
|
icon: { selector: () => '::slotted(*)' },
|
|
@@ -14106,11 +14192,11 @@ const UploadFileClass = compose(
|
|
|
14106
14192
|
borderWidth: {},
|
|
14107
14193
|
borderStyle: {},
|
|
14108
14194
|
borderRadius: {},
|
|
14109
|
-
hostHeight: { ...host$
|
|
14110
|
-
hostWidth: { ...host$
|
|
14195
|
+
hostHeight: { ...host$o, property: 'height' },
|
|
14196
|
+
hostWidth: { ...host$o, property: 'width' },
|
|
14111
14197
|
hostPadding: { property: 'padding' },
|
|
14112
14198
|
hostDirection: [
|
|
14113
|
-
{ ...host$
|
|
14199
|
+
{ ...host$o, property: 'direction' },
|
|
14114
14200
|
{ selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
|
|
14115
14201
|
],
|
|
14116
14202
|
gap: { ...wrapper },
|
|
@@ -14130,7 +14216,7 @@ const UploadFileClass = compose(
|
|
|
14130
14216
|
componentNameValidationMixin
|
|
14131
14217
|
)(RawUploadFile);
|
|
14132
14218
|
|
|
14133
|
-
customElements.define(componentName$
|
|
14219
|
+
customElements.define(componentName$11, UploadFileClass);
|
|
14134
14220
|
|
|
14135
14221
|
const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
14136
14222
|
class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
|
|
@@ -14218,10 +14304,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
|
|
|
14218
14304
|
return BaseButtonSelectionGroupInternalClass;
|
|
14219
14305
|
};
|
|
14220
14306
|
|
|
14221
|
-
const componentName
|
|
14307
|
+
const componentName$10 = getComponentName('button-selection-group-internal');
|
|
14222
14308
|
|
|
14223
14309
|
class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
14224
|
-
componentName
|
|
14310
|
+
componentName$10
|
|
14225
14311
|
) {
|
|
14226
14312
|
getSelectedNode() {
|
|
14227
14313
|
return this.items.find((item) => item.hasAttribute('selected'));
|
|
@@ -14375,7 +14461,7 @@ const buttonSelectionGroupBaseMixin = (superclass) =>
|
|
|
14375
14461
|
}
|
|
14376
14462
|
};
|
|
14377
14463
|
|
|
14378
|
-
const { host: host$
|
|
14464
|
+
const { host: host$n, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper: internalWrapper$1, errorMessage: errorMessage$3 } = {
|
|
14379
14465
|
host: { selector: () => ':host' },
|
|
14380
14466
|
label: { selector: '::part(label)' },
|
|
14381
14467
|
requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
|
|
@@ -14384,9 +14470,9 @@ const { host: host$m, label: label$1, requiredIndicator: requiredIndicator$1, in
|
|
|
14384
14470
|
};
|
|
14385
14471
|
|
|
14386
14472
|
const buttonSelectionGroupMappings = {
|
|
14387
|
-
hostWidth: { ...host$
|
|
14388
|
-
hostDirection: { ...host$
|
|
14389
|
-
fontFamily: host$
|
|
14473
|
+
hostWidth: { ...host$n, property: 'width' },
|
|
14474
|
+
hostDirection: { ...host$n, property: 'direction' },
|
|
14475
|
+
fontFamily: host$n,
|
|
14390
14476
|
labelTextColor: [
|
|
14391
14477
|
{ ...label$1, property: 'color' },
|
|
14392
14478
|
{ ...requiredIndicator$1, property: 'color' },
|
|
@@ -14464,7 +14550,7 @@ const buttonSelectionGroupStyles = `
|
|
|
14464
14550
|
${resetInputCursor('vaadin-text-field')}
|
|
14465
14551
|
`;
|
|
14466
14552
|
|
|
14467
|
-
const componentName
|
|
14553
|
+
const componentName$$ = getComponentName('button-selection-group');
|
|
14468
14554
|
|
|
14469
14555
|
const buttonSelectionGroupMixin = (superclass) =>
|
|
14470
14556
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -14473,19 +14559,19 @@ const buttonSelectionGroupMixin = (superclass) =>
|
|
|
14473
14559
|
const template = document.createElement('template');
|
|
14474
14560
|
|
|
14475
14561
|
template.innerHTML = `
|
|
14476
|
-
<${componentName
|
|
14562
|
+
<${componentName$10}
|
|
14477
14563
|
name="button-selection-group"
|
|
14478
14564
|
slot="input"
|
|
14479
14565
|
tabindex="-1"
|
|
14480
14566
|
part="internal-component"
|
|
14481
14567
|
>
|
|
14482
14568
|
<slot></slot>
|
|
14483
|
-
</${componentName
|
|
14569
|
+
</${componentName$10}>
|
|
14484
14570
|
`;
|
|
14485
14571
|
|
|
14486
14572
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
14487
14573
|
|
|
14488
|
-
this.inputElement = this.shadowRoot.querySelector(componentName
|
|
14574
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$10);
|
|
14489
14575
|
|
|
14490
14576
|
// the inner *-internal dispatches a non-bubbling, non-composed `change`,
|
|
14491
14577
|
// which never reaches the flow runtime. Re-emit standard input/change from
|
|
@@ -14518,16 +14604,16 @@ const ButtonSelectionGroupClass = compose(
|
|
|
14518
14604
|
wrappedEleName: 'vaadin-text-field',
|
|
14519
14605
|
style: () => buttonSelectionGroupStyles,
|
|
14520
14606
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
14521
|
-
componentName: componentName
|
|
14607
|
+
componentName: componentName$$,
|
|
14522
14608
|
})
|
|
14523
14609
|
);
|
|
14524
14610
|
|
|
14525
|
-
customElements.define(componentName
|
|
14611
|
+
customElements.define(componentName$10, ButtonSelectionGroupInternalClass);
|
|
14526
14612
|
|
|
14527
|
-
const componentName$
|
|
14613
|
+
const componentName$_ = getComponentName('button-selection-group-item');
|
|
14528
14614
|
|
|
14529
14615
|
class RawSelectItem extends createBaseClass({
|
|
14530
|
-
componentName: componentName$
|
|
14616
|
+
componentName: componentName$_,
|
|
14531
14617
|
baseSelector: ':host > descope-button',
|
|
14532
14618
|
}) {
|
|
14533
14619
|
get size() {
|
|
@@ -14638,14 +14724,14 @@ const ButtonSelectionGroupItemClass = compose(
|
|
|
14638
14724
|
componentNameValidationMixin
|
|
14639
14725
|
)(RawSelectItem);
|
|
14640
14726
|
|
|
14641
|
-
customElements.define(componentName$
|
|
14727
|
+
customElements.define(componentName$_, ButtonSelectionGroupItemClass);
|
|
14642
14728
|
|
|
14643
|
-
customElements.define(componentName
|
|
14729
|
+
customElements.define(componentName$$, ButtonSelectionGroupClass);
|
|
14644
14730
|
|
|
14645
|
-
const componentName$
|
|
14731
|
+
const componentName$Z = getComponentName('button-multi-selection-group-internal');
|
|
14646
14732
|
|
|
14647
14733
|
class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
|
|
14648
|
-
componentName$
|
|
14734
|
+
componentName$Z
|
|
14649
14735
|
) {
|
|
14650
14736
|
#getSelectedNodes() {
|
|
14651
14737
|
return this.items.filter((item) => item.hasAttribute('selected'));
|
|
@@ -14747,7 +14833,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
|
|
|
14747
14833
|
}
|
|
14748
14834
|
}
|
|
14749
14835
|
|
|
14750
|
-
const componentName$
|
|
14836
|
+
const componentName$Y = getComponentName('button-multi-selection-group');
|
|
14751
14837
|
|
|
14752
14838
|
const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
14753
14839
|
class ButtonMultiSelectionGroupMixinClass extends superclass {
|
|
@@ -14756,19 +14842,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
|
|
|
14756
14842
|
const template = document.createElement('template');
|
|
14757
14843
|
|
|
14758
14844
|
template.innerHTML = `
|
|
14759
|
-
<${componentName$
|
|
14845
|
+
<${componentName$Z}
|
|
14760
14846
|
name="button-selection-group"
|
|
14761
14847
|
slot="input"
|
|
14762
14848
|
tabindex="-1"
|
|
14763
14849
|
part="internal-component"
|
|
14764
14850
|
>
|
|
14765
14851
|
<slot></slot>
|
|
14766
|
-
</${componentName$
|
|
14852
|
+
</${componentName$Z}>
|
|
14767
14853
|
`;
|
|
14768
14854
|
|
|
14769
14855
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
14770
14856
|
|
|
14771
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
14857
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$Z);
|
|
14772
14858
|
|
|
14773
14859
|
// the inner *-internal dispatches a non-bubbling, non-composed `change`,
|
|
14774
14860
|
// which never reaches the flow runtime. Re-emit standard input/change from
|
|
@@ -14801,13 +14887,13 @@ const ButtonMultiSelectionGroupClass = compose(
|
|
|
14801
14887
|
wrappedEleName: 'vaadin-text-field',
|
|
14802
14888
|
style: () => buttonSelectionGroupStyles,
|
|
14803
14889
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
14804
|
-
componentName: componentName$
|
|
14890
|
+
componentName: componentName$Y,
|
|
14805
14891
|
})
|
|
14806
14892
|
);
|
|
14807
14893
|
|
|
14808
|
-
customElements.define(componentName$
|
|
14894
|
+
customElements.define(componentName$Z, ButtonMultiSelectionGroupInternalClass);
|
|
14809
14895
|
|
|
14810
|
-
customElements.define(componentName$
|
|
14896
|
+
customElements.define(componentName$Y, ButtonMultiSelectionGroupClass);
|
|
14811
14897
|
|
|
14812
14898
|
class GridTextColumnClass extends GridSortColumn {
|
|
14813
14899
|
get sortable() {
|
|
@@ -14833,9 +14919,9 @@ class GridTextColumnClass extends GridSortColumn {
|
|
|
14833
14919
|
}
|
|
14834
14920
|
}
|
|
14835
14921
|
|
|
14836
|
-
const componentName$
|
|
14922
|
+
const componentName$X = getComponentName('grid-text-column');
|
|
14837
14923
|
|
|
14838
|
-
customElements.define(componentName$
|
|
14924
|
+
customElements.define(componentName$X, GridTextColumnClass);
|
|
14839
14925
|
|
|
14840
14926
|
class GridCustomColumnClass extends GridTextColumnClass {
|
|
14841
14927
|
_defaultRenderer(cell, _col, model) {
|
|
@@ -14866,9 +14952,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
|
|
|
14866
14952
|
}
|
|
14867
14953
|
}
|
|
14868
14954
|
|
|
14869
|
-
const componentName$
|
|
14955
|
+
const componentName$W = getComponentName('grid-custom-column');
|
|
14870
14956
|
|
|
14871
|
-
customElements.define(componentName$
|
|
14957
|
+
customElements.define(componentName$W, GridCustomColumnClass);
|
|
14872
14958
|
|
|
14873
14959
|
const createCheckboxEle = () => {
|
|
14874
14960
|
const checkbox = document.createElement('descope-checkbox');
|
|
@@ -14924,9 +15010,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
|
|
|
14924
15010
|
}
|
|
14925
15011
|
}
|
|
14926
15012
|
|
|
14927
|
-
const componentName$
|
|
15013
|
+
const componentName$V = getComponentName('grid-selection-column');
|
|
14928
15014
|
|
|
14929
|
-
customElements.define(componentName$
|
|
15015
|
+
customElements.define(componentName$V, GridSelectionColumnClass);
|
|
14930
15016
|
|
|
14931
15017
|
class GridItemDetailsColumnClass extends GridSortColumn {
|
|
14932
15018
|
get sortable() {
|
|
@@ -14962,13 +15048,13 @@ class GridItemDetailsColumnClass extends GridSortColumn {
|
|
|
14962
15048
|
}
|
|
14963
15049
|
}
|
|
14964
15050
|
|
|
14965
|
-
const componentName$
|
|
15051
|
+
const componentName$U = getComponentName('grid-item-details-column');
|
|
14966
15052
|
|
|
14967
|
-
customElements.define(componentName$
|
|
15053
|
+
customElements.define(componentName$U, GridItemDetailsColumnClass);
|
|
14968
15054
|
|
|
14969
|
-
customElements.define(componentName$
|
|
15055
|
+
customElements.define(componentName$1p, ImageClass);
|
|
14970
15056
|
|
|
14971
|
-
customElements.define(componentName$
|
|
15057
|
+
customElements.define(componentName$1o, IconClass);
|
|
14972
15058
|
|
|
14973
15059
|
const decode = (input) => {
|
|
14974
15060
|
const txt = document.createElement('textarea');
|
|
@@ -14982,9 +15068,9 @@ var copyIconSrc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5
|
|
|
14982
15068
|
|
|
14983
15069
|
var checkIconSrc = "data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg==";
|
|
14984
15070
|
|
|
14985
|
-
const componentName$
|
|
15071
|
+
const componentName$T = getComponentName('code-snippet');
|
|
14986
15072
|
|
|
14987
|
-
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$
|
|
15073
|
+
let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$T, baseSelector: ':host > .wrapper' }) {
|
|
14988
15074
|
static get observedAttributes() {
|
|
14989
15075
|
return ['lang', 'inline', 'copy-button'];
|
|
14990
15076
|
}
|
|
@@ -15320,7 +15406,7 @@ const CodeSnippetClass = compose(
|
|
|
15320
15406
|
componentNameValidationMixin
|
|
15321
15407
|
)(CodeSnippet$1);
|
|
15322
15408
|
|
|
15323
|
-
customElements.define(componentName$
|
|
15409
|
+
customElements.define(componentName$T, CodeSnippetClass);
|
|
15324
15410
|
|
|
15325
15411
|
const isValidDataType = (data) => {
|
|
15326
15412
|
const isValid = Array.isArray(data);
|
|
@@ -15408,7 +15494,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => `
|
|
|
15408
15494
|
</div>
|
|
15409
15495
|
`;
|
|
15410
15496
|
|
|
15411
|
-
const componentName$
|
|
15497
|
+
const componentName$S = getComponentName('grid');
|
|
15412
15498
|
|
|
15413
15499
|
const GridMixin = (superclass) =>
|
|
15414
15500
|
class GridMixinClass extends superclass {
|
|
@@ -15629,7 +15715,7 @@ const GridMixin = (superclass) =>
|
|
|
15629
15715
|
};
|
|
15630
15716
|
|
|
15631
15717
|
const {
|
|
15632
|
-
host: host$
|
|
15718
|
+
host: host$m,
|
|
15633
15719
|
headerRow,
|
|
15634
15720
|
headerRowCell,
|
|
15635
15721
|
contentRow,
|
|
@@ -15682,15 +15768,15 @@ const GridClass = compose(
|
|
|
15682
15768
|
fontWeight: { ...contentRow },
|
|
15683
15769
|
valueTextColor: { ...contentRow, property: 'color' },
|
|
15684
15770
|
backgroundColor: [
|
|
15685
|
-
{ ...host$
|
|
15771
|
+
{ ...host$m, property: 'background-color' },
|
|
15686
15772
|
{ ...contentRow, property: 'background-color' },
|
|
15687
15773
|
],
|
|
15688
15774
|
sortIndicatorsColor: { ...sortIndicators, property: 'color' },
|
|
15689
15775
|
activeSortIndicator: { ...activeSortIndicator, property: 'color' },
|
|
15690
|
-
borderColor: { ...host$
|
|
15691
|
-
borderWidth: { ...host$
|
|
15692
|
-
borderStyle: { ...host$
|
|
15693
|
-
borderRadius: { ...host$
|
|
15776
|
+
borderColor: { ...host$m, property: 'border-color' },
|
|
15777
|
+
borderWidth: { ...host$m, property: 'border-width' },
|
|
15778
|
+
borderStyle: { ...host$m, property: 'border-style' },
|
|
15779
|
+
borderRadius: { ...host$m, property: 'border-radius' },
|
|
15694
15780
|
selectedBackgroundColor: [
|
|
15695
15781
|
{ ...selectedRow, property: 'background-color' },
|
|
15696
15782
|
{ ...selectedRowCell, property: 'background-color' },
|
|
@@ -15701,7 +15787,7 @@ const GridClass = compose(
|
|
|
15701
15787
|
{ ...rowSeparator, property: 'border-top-color' },
|
|
15702
15788
|
],
|
|
15703
15789
|
resizeHandleColor: { ...resizeHandle, property: 'background-color' },
|
|
15704
|
-
hostDirection: { ...host$
|
|
15790
|
+
hostDirection: { ...host$m, property: 'direction', fallback: 'ltr' },
|
|
15705
15791
|
toggleDetailsPanelButtonSize: [
|
|
15706
15792
|
{ ...toggleDetailsPanelButton, property: 'width' },
|
|
15707
15793
|
{ ...toggleDetailsPanelButton, property: 'height' },
|
|
@@ -15777,17 +15863,17 @@ const GridClass = compose(
|
|
|
15777
15863
|
/*!css*/
|
|
15778
15864
|
`,
|
|
15779
15865
|
excludeAttrsSync: ['columns', 'tabindex', 'style'],
|
|
15780
|
-
componentName: componentName$
|
|
15866
|
+
componentName: componentName$S,
|
|
15781
15867
|
})
|
|
15782
15868
|
);
|
|
15783
15869
|
|
|
15784
|
-
customElements.define(componentName$
|
|
15870
|
+
customElements.define(componentName$S, GridClass);
|
|
15785
15871
|
|
|
15786
|
-
const componentName$
|
|
15872
|
+
const componentName$R = getComponentName('modal');
|
|
15787
15873
|
|
|
15788
15874
|
const observedAttrs$5 = ['opened'];
|
|
15789
15875
|
|
|
15790
|
-
const customMixin$
|
|
15876
|
+
const customMixin$9 = (superclass) =>
|
|
15791
15877
|
class ModalMixinClass extends superclass {
|
|
15792
15878
|
static get observedAttributes() {
|
|
15793
15879
|
return [].concat(superclass.observedAttributes || [], observedAttrs$5);
|
|
@@ -15947,7 +16033,7 @@ const ModalClass = compose(
|
|
|
15947
16033
|
}),
|
|
15948
16034
|
draggableMixin,
|
|
15949
16035
|
componentNameValidationMixin,
|
|
15950
|
-
customMixin$
|
|
16036
|
+
customMixin$9
|
|
15951
16037
|
)(
|
|
15952
16038
|
createProxy({
|
|
15953
16039
|
slots: [''],
|
|
@@ -15958,11 +16044,11 @@ const ModalClass = compose(
|
|
|
15958
16044
|
}
|
|
15959
16045
|
`,
|
|
15960
16046
|
excludeAttrsSync: ['tabindex', 'opened', 'style'],
|
|
15961
|
-
componentName: componentName$
|
|
16047
|
+
componentName: componentName$R,
|
|
15962
16048
|
})
|
|
15963
16049
|
);
|
|
15964
16050
|
|
|
15965
|
-
customElements.define(componentName$
|
|
16051
|
+
customElements.define(componentName$R, ModalClass);
|
|
15966
16052
|
|
|
15967
16053
|
const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
|
|
15968
16054
|
|
|
@@ -15973,7 +16059,7 @@ if (!vaadinContainerClass) {
|
|
|
15973
16059
|
class NotificationContainerClass extends vaadinContainerClass {}
|
|
15974
16060
|
customElements.define(getComponentName('notification-container'), NotificationContainerClass);
|
|
15975
16061
|
|
|
15976
|
-
const componentName$
|
|
16062
|
+
const componentName$Q = getComponentName('notification-card');
|
|
15977
16063
|
|
|
15978
16064
|
const notificationCardMixin = (superclass) =>
|
|
15979
16065
|
class NotificationCardMixinClass extends superclass {
|
|
@@ -16081,13 +16167,13 @@ const NotificationCardClass = compose(
|
|
|
16081
16167
|
}
|
|
16082
16168
|
`,
|
|
16083
16169
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
16084
|
-
componentName: componentName$
|
|
16170
|
+
componentName: componentName$Q,
|
|
16085
16171
|
})
|
|
16086
16172
|
);
|
|
16087
16173
|
|
|
16088
|
-
customElements.define(componentName$
|
|
16174
|
+
customElements.define(componentName$Q, NotificationCardClass);
|
|
16089
16175
|
|
|
16090
|
-
const componentName$
|
|
16176
|
+
const componentName$P = getComponentName('notification');
|
|
16091
16177
|
|
|
16092
16178
|
const NotificationMixin = (superclass) =>
|
|
16093
16179
|
class NotificationMixinClass extends superclass {
|
|
@@ -16180,15 +16266,15 @@ const NotificationClass = compose(
|
|
|
16180
16266
|
createProxy({
|
|
16181
16267
|
wrappedEleName: 'vaadin-notification',
|
|
16182
16268
|
excludeAttrsSync: ['tabindex', 'style'],
|
|
16183
|
-
componentName: componentName$
|
|
16269
|
+
componentName: componentName$P,
|
|
16184
16270
|
})
|
|
16185
16271
|
);
|
|
16186
16272
|
|
|
16187
|
-
customElements.define(componentName$
|
|
16273
|
+
customElements.define(componentName$P, NotificationClass);
|
|
16188
16274
|
|
|
16189
|
-
const componentName$
|
|
16275
|
+
const componentName$O = getComponentName('mappings-field-internal');
|
|
16190
16276
|
|
|
16191
|
-
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$
|
|
16277
|
+
const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$O, baseSelector: 'div' });
|
|
16192
16278
|
|
|
16193
16279
|
class MappingsFieldInternal extends BaseInputClass$8 {
|
|
16194
16280
|
#errorItem;
|
|
@@ -16434,9 +16520,9 @@ class MappingsFieldInternal extends BaseInputClass$8 {
|
|
|
16434
16520
|
}
|
|
16435
16521
|
}
|
|
16436
16522
|
|
|
16437
|
-
const componentName$
|
|
16523
|
+
const componentName$N = getComponentName('mappings-field');
|
|
16438
16524
|
|
|
16439
|
-
const customMixin$
|
|
16525
|
+
const customMixin$8 = (superclass) =>
|
|
16440
16526
|
class MappingsFieldMixinClass extends superclass {
|
|
16441
16527
|
get defaultValues() {
|
|
16442
16528
|
const defaultValuesAttr = this.getAttribute('default-values');
|
|
@@ -16463,14 +16549,14 @@ const customMixin$7 = (superclass) =>
|
|
|
16463
16549
|
const template = document.createElement('template');
|
|
16464
16550
|
|
|
16465
16551
|
template.innerHTML = `
|
|
16466
|
-
<${componentName$
|
|
16552
|
+
<${componentName$O}
|
|
16467
16553
|
tabindex="-1"
|
|
16468
|
-
></${componentName$
|
|
16554
|
+
></${componentName$O}>
|
|
16469
16555
|
`;
|
|
16470
16556
|
|
|
16471
16557
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
16472
16558
|
|
|
16473
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
16559
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$O);
|
|
16474
16560
|
|
|
16475
16561
|
forwardAttrs(this, this.inputElement, {
|
|
16476
16562
|
includeAttrs: [
|
|
@@ -16500,7 +16586,7 @@ const customMixin$7 = (superclass) =>
|
|
|
16500
16586
|
};
|
|
16501
16587
|
|
|
16502
16588
|
const {
|
|
16503
|
-
host: host$
|
|
16589
|
+
host: host$l,
|
|
16504
16590
|
helperText: helperText$1,
|
|
16505
16591
|
errorMessage: errorMessage$2,
|
|
16506
16592
|
mappingItem,
|
|
@@ -16528,10 +16614,10 @@ const {
|
|
|
16528
16614
|
const MappingsFieldClass = compose(
|
|
16529
16615
|
createStyleMixin({
|
|
16530
16616
|
mappings: {
|
|
16531
|
-
hostWidth: { ...host$
|
|
16532
|
-
hostDirection: { ...host$
|
|
16617
|
+
hostWidth: { ...host$l, property: 'width' },
|
|
16618
|
+
hostDirection: { ...host$l, property: 'direction' },
|
|
16533
16619
|
// we apply font-size also on the host so we can set its width with em
|
|
16534
|
-
fontSize: [{}, host$
|
|
16620
|
+
fontSize: [{}, host$l, { ...separator, property: 'margin-top' }],
|
|
16535
16621
|
fontFamily: [helperText$1, errorMessage$2, labels],
|
|
16536
16622
|
separatorFontSize: { ...separator, property: 'font-size' },
|
|
16537
16623
|
labelsFontSize: { ...labelsText, property: 'font-size' },
|
|
@@ -16558,7 +16644,7 @@ const MappingsFieldClass = compose(
|
|
|
16558
16644
|
proxyParentValidation: true,
|
|
16559
16645
|
}),
|
|
16560
16646
|
componentNameValidationMixin,
|
|
16561
|
-
customMixin$
|
|
16647
|
+
customMixin$8
|
|
16562
16648
|
)(
|
|
16563
16649
|
createProxy({
|
|
16564
16650
|
slots: [],
|
|
@@ -16606,13 +16692,13 @@ const MappingsFieldClass = compose(
|
|
|
16606
16692
|
'error-message',
|
|
16607
16693
|
'style',
|
|
16608
16694
|
],
|
|
16609
|
-
componentName: componentName$
|
|
16695
|
+
componentName: componentName$N,
|
|
16610
16696
|
})
|
|
16611
16697
|
);
|
|
16612
16698
|
|
|
16613
|
-
customElements.define(componentName$
|
|
16699
|
+
customElements.define(componentName$O, MappingsFieldInternal);
|
|
16614
16700
|
|
|
16615
|
-
const componentName$
|
|
16701
|
+
const componentName$M = getComponentName('mapping-item');
|
|
16616
16702
|
|
|
16617
16703
|
const inputAttrs = [
|
|
16618
16704
|
'size',
|
|
@@ -16625,7 +16711,7 @@ const inputAttrs = [
|
|
|
16625
16711
|
'st-error-message-icon-padding',
|
|
16626
16712
|
];
|
|
16627
16713
|
|
|
16628
|
-
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$
|
|
16714
|
+
const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$M, baseSelector: 'div' });
|
|
16629
16715
|
|
|
16630
16716
|
class MappingItem extends BaseInputClass$7 {
|
|
16631
16717
|
static get observedAttributes() {
|
|
@@ -16780,14 +16866,14 @@ class MappingItem extends BaseInputClass$7 {
|
|
|
16780
16866
|
}
|
|
16781
16867
|
}
|
|
16782
16868
|
|
|
16783
|
-
customElements.define(componentName$
|
|
16869
|
+
customElements.define(componentName$M, MappingItem);
|
|
16784
16870
|
|
|
16785
|
-
customElements.define(componentName$
|
|
16871
|
+
customElements.define(componentName$N, MappingsFieldClass);
|
|
16786
16872
|
|
|
16787
|
-
const componentName$
|
|
16873
|
+
const componentName$L = getComponentName$1('badge');
|
|
16788
16874
|
|
|
16789
16875
|
class RawBadge extends createBaseClass$1({
|
|
16790
|
-
componentName: componentName$
|
|
16876
|
+
componentName: componentName$L,
|
|
16791
16877
|
baseSelector: ':host > div',
|
|
16792
16878
|
}) {
|
|
16793
16879
|
static get observedAttributes() {
|
|
@@ -16885,9 +16971,9 @@ var copyIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIH
|
|
|
16885
16971
|
|
|
16886
16972
|
var checkIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNOSAxNi4xNyA0LjgzIDEybC0xLjQyIDEuNDFMOSAxOSAyMSA3bC0xLjQxLTEuNDF6IiBmaWxsPSJjdXJyZW50Y29sb3IiLz4KPC9zdmc+Cg==";
|
|
16887
16973
|
|
|
16888
|
-
const componentName$
|
|
16974
|
+
const componentName$K = getComponentName('user-attribute');
|
|
16889
16975
|
class RawUserAttribute extends createBaseClass({
|
|
16890
|
-
componentName: componentName$
|
|
16976
|
+
componentName: componentName$K,
|
|
16891
16977
|
baseSelector: ':host > .root',
|
|
16892
16978
|
}) {
|
|
16893
16979
|
constructor() {
|
|
@@ -17254,7 +17340,7 @@ class RawUserAttribute extends createBaseClass({
|
|
|
17254
17340
|
}
|
|
17255
17341
|
}
|
|
17256
17342
|
|
|
17257
|
-
const { host: host$
|
|
17343
|
+
const { host: host$k, textFields, buttons: buttons$1, badge: badge$3, labelText, contentWrapper } = {
|
|
17258
17344
|
host: { selector: () => ':host' },
|
|
17259
17345
|
textFields: { selector: 'descope-text' },
|
|
17260
17346
|
labelText: { selector: 'descope-text[data-id="label-text"]' },
|
|
@@ -17266,11 +17352,11 @@ const { host: host$j, textFields, buttons: buttons$1, badge: badge$3, labelText,
|
|
|
17266
17352
|
const UserAttributeClass = compose(
|
|
17267
17353
|
createStyleMixin({
|
|
17268
17354
|
mappings: {
|
|
17269
|
-
hostWidth: { ...host$
|
|
17270
|
-
hostMinWidth: { ...host$
|
|
17271
|
-
hostMaxWidth: { ...host$
|
|
17355
|
+
hostWidth: { ...host$k, property: 'width' },
|
|
17356
|
+
hostMinWidth: { ...host$k, property: 'min-width' },
|
|
17357
|
+
hostMaxWidth: { ...host$k, property: 'max-width' },
|
|
17272
17358
|
hostDirection: [
|
|
17273
|
-
{ ...host$
|
|
17359
|
+
{ ...host$k, property: 'direction' },
|
|
17274
17360
|
{ ...textFields, property: TextClass.cssVarList.hostDirection },
|
|
17275
17361
|
{ ...buttons$1, property: ButtonClass.cssVarList.hostDirection },
|
|
17276
17362
|
{ ...badge$3, property: BadgeClass.cssVarList.hostDirection },
|
|
@@ -17291,15 +17377,15 @@ const UserAttributeClass = compose(
|
|
|
17291
17377
|
componentNameValidationMixin
|
|
17292
17378
|
)(RawUserAttribute);
|
|
17293
17379
|
|
|
17294
|
-
customElements.define(componentName$
|
|
17380
|
+
customElements.define(componentName$L, BadgeClass);
|
|
17295
17381
|
|
|
17296
|
-
customElements.define(componentName$
|
|
17382
|
+
customElements.define(componentName$K, UserAttributeClass);
|
|
17297
17383
|
|
|
17298
17384
|
var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
|
|
17299
17385
|
|
|
17300
|
-
const componentName$
|
|
17386
|
+
const componentName$J = getComponentName('user-auth-method');
|
|
17301
17387
|
class RawUserAuthMethod extends createBaseClass({
|
|
17302
|
-
componentName: componentName$
|
|
17388
|
+
componentName: componentName$J,
|
|
17303
17389
|
baseSelector: ':host > .root',
|
|
17304
17390
|
}) {
|
|
17305
17391
|
constructor() {
|
|
@@ -17517,7 +17603,7 @@ class RawUserAuthMethod extends createBaseClass({
|
|
|
17517
17603
|
}
|
|
17518
17604
|
}
|
|
17519
17605
|
|
|
17520
|
-
const { host: host$
|
|
17606
|
+
const { host: host$j, textField: textField$2, buttons, badge: badge$2, textWrapper, methodIconSlot } = {
|
|
17521
17607
|
host: { selector: () => ':host' },
|
|
17522
17608
|
textField: { selector: 'descope-text' },
|
|
17523
17609
|
buttons: { selector: 'descope-button' },
|
|
@@ -17529,11 +17615,11 @@ const { host: host$i, textField: textField$2, buttons, badge: badge$2, textWrapp
|
|
|
17529
17615
|
const UserAuthMethodClass = compose(
|
|
17530
17616
|
createStyleMixin({
|
|
17531
17617
|
mappings: {
|
|
17532
|
-
hostWidth: { ...host$
|
|
17533
|
-
hostMinWidth: { ...host$
|
|
17534
|
-
hostMaxWidth: { ...host$
|
|
17618
|
+
hostWidth: { ...host$j, property: 'width' },
|
|
17619
|
+
hostMinWidth: { ...host$j, property: 'min-width' },
|
|
17620
|
+
hostMaxWidth: { ...host$j, property: 'max-width' },
|
|
17535
17621
|
hostDirection: [
|
|
17536
|
-
{ ...host$
|
|
17622
|
+
{ ...host$j, property: 'direction' },
|
|
17537
17623
|
{ ...textField$2, property: TextClass.cssVarList.hostDirection },
|
|
17538
17624
|
{ ...buttons, property: ButtonClass.cssVarList.hostDirection },
|
|
17539
17625
|
{ ...badge$2, property: BadgeClass.cssVarList.hostDirection },
|
|
@@ -17550,11 +17636,11 @@ const UserAuthMethodClass = compose(
|
|
|
17550
17636
|
componentNameValidationMixin
|
|
17551
17637
|
)(RawUserAuthMethod);
|
|
17552
17638
|
|
|
17553
|
-
customElements.define(componentName$
|
|
17639
|
+
customElements.define(componentName$J, UserAuthMethodClass);
|
|
17554
17640
|
|
|
17555
|
-
const componentName$
|
|
17641
|
+
const componentName$I = getComponentName('saml-group-mappings-internal');
|
|
17556
17642
|
|
|
17557
|
-
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$
|
|
17643
|
+
const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$I, baseSelector: '' });
|
|
17558
17644
|
|
|
17559
17645
|
class SamlGroupMappingsInternal extends BaseInputClass$6 {
|
|
17560
17646
|
static get observedAttributes() {
|
|
@@ -17680,9 +17766,9 @@ class SamlGroupMappingsInternal extends BaseInputClass$6 {
|
|
|
17680
17766
|
}
|
|
17681
17767
|
}
|
|
17682
17768
|
|
|
17683
|
-
const componentName$
|
|
17769
|
+
const componentName$H = getComponentName('saml-group-mappings');
|
|
17684
17770
|
|
|
17685
|
-
const customMixin$
|
|
17771
|
+
const customMixin$7 = (superclass) =>
|
|
17686
17772
|
class SamlGroupMappingsMixinClass extends superclass {
|
|
17687
17773
|
init() {
|
|
17688
17774
|
super.init?.();
|
|
@@ -17690,14 +17776,14 @@ const customMixin$6 = (superclass) =>
|
|
|
17690
17776
|
const template = document.createElement('template');
|
|
17691
17777
|
|
|
17692
17778
|
template.innerHTML = `
|
|
17693
|
-
<${componentName$
|
|
17779
|
+
<${componentName$I}
|
|
17694
17780
|
tabindex="-1"
|
|
17695
|
-
></${componentName$
|
|
17781
|
+
></${componentName$I}>
|
|
17696
17782
|
`;
|
|
17697
17783
|
|
|
17698
17784
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
17699
17785
|
|
|
17700
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
|
17786
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$I);
|
|
17701
17787
|
|
|
17702
17788
|
forwardAttrs(this, this.inputElement, {
|
|
17703
17789
|
includeAttrs: [
|
|
@@ -17718,7 +17804,7 @@ const customMixin$6 = (superclass) =>
|
|
|
17718
17804
|
}
|
|
17719
17805
|
};
|
|
17720
17806
|
|
|
17721
|
-
const { host: host$
|
|
17807
|
+
const { host: host$i, groupInput, errorMessage: errorMessage$1 } = {
|
|
17722
17808
|
host: { selector: () => ':host' },
|
|
17723
17809
|
groupInput: { selector: 'descope-text-field' },
|
|
17724
17810
|
errorMessage: { selector: '::part(error-message)' },
|
|
@@ -17727,8 +17813,8 @@ const { host: host$h, groupInput, errorMessage: errorMessage$1 } = {
|
|
|
17727
17813
|
const SamlGroupMappingsClass = compose(
|
|
17728
17814
|
createStyleMixin({
|
|
17729
17815
|
mappings: {
|
|
17730
|
-
hostWidth: { ...host$
|
|
17731
|
-
hostDirection: { ...host$
|
|
17816
|
+
hostWidth: { ...host$i, property: 'width' },
|
|
17817
|
+
hostDirection: { ...host$i, property: 'direction' },
|
|
17732
17818
|
groupNameInputMarginBottom: { ...groupInput, property: 'margin-bottom' },
|
|
17733
17819
|
errorMessageIcon: { ...errorMessage$1, property: 'background-image' },
|
|
17734
17820
|
errorMessageIconSize: { ...errorMessage$1, property: 'background-size' },
|
|
@@ -17746,7 +17832,7 @@ const SamlGroupMappingsClass = compose(
|
|
|
17746
17832
|
proxyParentValidation: true,
|
|
17747
17833
|
}),
|
|
17748
17834
|
componentNameValidationMixin,
|
|
17749
|
-
customMixin$
|
|
17835
|
+
customMixin$7
|
|
17750
17836
|
)(
|
|
17751
17837
|
createProxy({
|
|
17752
17838
|
slots: [],
|
|
@@ -17782,17 +17868,17 @@ const SamlGroupMappingsClass = compose(
|
|
|
17782
17868
|
'error-message',
|
|
17783
17869
|
'style',
|
|
17784
17870
|
],
|
|
17785
|
-
componentName: componentName$
|
|
17871
|
+
componentName: componentName$H,
|
|
17786
17872
|
})
|
|
17787
17873
|
);
|
|
17788
17874
|
|
|
17789
|
-
customElements.define(componentName$
|
|
17875
|
+
customElements.define(componentName$I, SamlGroupMappingsInternal);
|
|
17790
17876
|
|
|
17791
|
-
customElements.define(componentName$
|
|
17877
|
+
customElements.define(componentName$H, SamlGroupMappingsClass);
|
|
17792
17878
|
|
|
17793
|
-
const componentName$
|
|
17879
|
+
const componentName$G = getComponentName('radio-button');
|
|
17794
17880
|
|
|
17795
|
-
const customMixin$
|
|
17881
|
+
const customMixin$6 = (superclass) =>
|
|
17796
17882
|
class CustomMixin extends superclass {
|
|
17797
17883
|
constructor() {
|
|
17798
17884
|
super();
|
|
@@ -17849,18 +17935,18 @@ const RadioButtonClass = compose(
|
|
|
17849
17935
|
}),
|
|
17850
17936
|
composedProxyInputMixin({ proxyProps: ['setSelectionRange'] }),
|
|
17851
17937
|
componentNameValidationMixin,
|
|
17852
|
-
customMixin$
|
|
17938
|
+
customMixin$6
|
|
17853
17939
|
)(
|
|
17854
17940
|
createProxy({
|
|
17855
17941
|
slots: [''],
|
|
17856
17942
|
wrappedEleName: 'vaadin-radio-button',
|
|
17857
17943
|
excludeAttrsSync: ['tabindex', 'data', 'style'],
|
|
17858
17944
|
includeForwardProps: ['checked', 'name', 'disabled'],
|
|
17859
|
-
componentName: componentName$
|
|
17945
|
+
componentName: componentName$G,
|
|
17860
17946
|
})
|
|
17861
17947
|
);
|
|
17862
17948
|
|
|
17863
|
-
const componentName$
|
|
17949
|
+
const componentName$F = getComponentName('radio-group');
|
|
17864
17950
|
|
|
17865
17951
|
const RadioGroupMixin = (superclass) =>
|
|
17866
17952
|
class RadioGroupMixinClass extends superclass {
|
|
@@ -17874,12 +17960,12 @@ const RadioGroupMixin = (superclass) =>
|
|
|
17874
17960
|
|
|
17875
17961
|
// we are overriding vaadin children getter so it will run on our custom elements
|
|
17876
17962
|
Object.defineProperty(this.baseElement, 'children', {
|
|
17877
|
-
get: () => this.querySelectorAll(componentName$
|
|
17963
|
+
get: () => this.querySelectorAll(componentName$G),
|
|
17878
17964
|
});
|
|
17879
17965
|
|
|
17880
17966
|
// we are overriding vaadin __filterRadioButtons so it will run on our custom elements
|
|
17881
17967
|
this.baseElement.__filterRadioButtons = (nodes) =>
|
|
17882
|
-
nodes.filter((node) => node.localName === componentName$
|
|
17968
|
+
nodes.filter((node) => node.localName === componentName$G);
|
|
17883
17969
|
|
|
17884
17970
|
// vaadin radio group missing some input properties
|
|
17885
17971
|
this.baseElement.setCustomValidity = () => {};
|
|
@@ -18054,14 +18140,14 @@ const RadioGroupClass = compose(
|
|
|
18054
18140
|
`,
|
|
18055
18141
|
|
|
18056
18142
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'direction', 'style'],
|
|
18057
|
-
componentName: componentName$
|
|
18143
|
+
componentName: componentName$F,
|
|
18058
18144
|
includeForwardProps: ['value'],
|
|
18059
18145
|
})
|
|
18060
18146
|
);
|
|
18061
18147
|
|
|
18062
|
-
customElements.define(componentName$
|
|
18148
|
+
customElements.define(componentName$G, RadioButtonClass);
|
|
18063
18149
|
|
|
18064
|
-
customElements.define(componentName$
|
|
18150
|
+
customElements.define(componentName$F, RadioGroupClass);
|
|
18065
18151
|
|
|
18066
18152
|
const defaultValidateSchema = () => true;
|
|
18067
18153
|
const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
|
|
@@ -18161,7 +18247,7 @@ const createDynamicDataMixin =
|
|
|
18161
18247
|
}
|
|
18162
18248
|
};
|
|
18163
18249
|
|
|
18164
|
-
const componentName$
|
|
18250
|
+
const componentName$E = getComponentName('scopes-list');
|
|
18165
18251
|
const variants = ['checkbox', 'switch'];
|
|
18166
18252
|
|
|
18167
18253
|
const itemRenderer$6 = ({ id, desc, required = false }, _, ref) => {
|
|
@@ -18180,7 +18266,7 @@ const itemRenderer$6 = ({ id, desc, required = false }, _, ref) => {
|
|
|
18180
18266
|
`;
|
|
18181
18267
|
};
|
|
18182
18268
|
|
|
18183
|
-
class RawScopesList extends createBaseClass({ componentName: componentName$
|
|
18269
|
+
class RawScopesList extends createBaseClass({ componentName: componentName$E, baseSelector: 'div' }) {
|
|
18184
18270
|
constructor() {
|
|
18185
18271
|
super();
|
|
18186
18272
|
|
|
@@ -18285,9 +18371,9 @@ const ScopesListClass = compose(
|
|
|
18285
18371
|
componentNameValidationMixin
|
|
18286
18372
|
)(RawScopesList);
|
|
18287
18373
|
|
|
18288
|
-
const componentName$
|
|
18374
|
+
const componentName$D = getComponentName$1('list-item');
|
|
18289
18375
|
|
|
18290
|
-
const customMixin$
|
|
18376
|
+
const customMixin$5 = (superclass) =>
|
|
18291
18377
|
class ListItemMixinClass extends superclass {
|
|
18292
18378
|
constructor() {
|
|
18293
18379
|
super();
|
|
@@ -18340,16 +18426,16 @@ const ListItemClass = compose$1(
|
|
|
18340
18426
|
}),
|
|
18341
18427
|
draggableMixin$1,
|
|
18342
18428
|
componentNameValidationMixin$1,
|
|
18343
|
-
customMixin$
|
|
18429
|
+
customMixin$5,
|
|
18344
18430
|
activeableMixin,
|
|
18345
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
18431
|
+
)(createBaseClass$1({ componentName: componentName$D, baseSelector: 'slot' }));
|
|
18346
18432
|
|
|
18347
|
-
customElements.define(componentName$
|
|
18433
|
+
customElements.define(componentName$D, ListItemClass);
|
|
18348
18434
|
|
|
18349
|
-
const componentName$
|
|
18435
|
+
const componentName$C = getComponentName$1('list');
|
|
18350
18436
|
|
|
18351
18437
|
class RawList extends createBaseClass$1({
|
|
18352
|
-
componentName: componentName$
|
|
18438
|
+
componentName: componentName$C,
|
|
18353
18439
|
baseSelector: '.wrapper',
|
|
18354
18440
|
}) {
|
|
18355
18441
|
static get observedAttributes() {
|
|
@@ -18531,15 +18617,15 @@ const ListClass = compose$1(
|
|
|
18531
18617
|
componentNameValidationMixin$1,
|
|
18532
18618
|
)(RawList);
|
|
18533
18619
|
|
|
18534
|
-
customElements.define(componentName$
|
|
18620
|
+
customElements.define(componentName$C, ListClass);
|
|
18535
18621
|
|
|
18536
|
-
customElements.define(componentName$
|
|
18622
|
+
customElements.define(componentName$E, ScopesListClass);
|
|
18537
18623
|
|
|
18538
18624
|
var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
|
18539
18625
|
|
|
18540
|
-
const componentName$
|
|
18626
|
+
const componentName$B = getComponentName('third-party-app-logo');
|
|
18541
18627
|
class RawThirdPartyAppLogoClass extends createBaseClass({
|
|
18542
|
-
componentName: componentName$
|
|
18628
|
+
componentName: componentName$B,
|
|
18543
18629
|
baseSelector: '.wrapper',
|
|
18544
18630
|
}) {
|
|
18545
18631
|
constructor() {
|
|
@@ -18636,9 +18722,9 @@ const ThirdPartyAppLogoClass = compose(
|
|
|
18636
18722
|
componentNameValidationMixin
|
|
18637
18723
|
)(RawThirdPartyAppLogoClass);
|
|
18638
18724
|
|
|
18639
|
-
customElements.define(componentName$
|
|
18725
|
+
customElements.define(componentName$B, ThirdPartyAppLogoClass);
|
|
18640
18726
|
|
|
18641
|
-
const componentName$
|
|
18727
|
+
const componentName$A = getComponentName('security-questions-setup');
|
|
18642
18728
|
|
|
18643
18729
|
const attrsToSync$1 = [
|
|
18644
18730
|
'full-width',
|
|
@@ -18657,7 +18743,7 @@ const attrsToSync$1 = [
|
|
|
18657
18743
|
];
|
|
18658
18744
|
|
|
18659
18745
|
const attrsToReRender$1 = ['count', 'questions'];
|
|
18660
|
-
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$
|
|
18746
|
+
class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$A, baseSelector: 'div' }) {
|
|
18661
18747
|
constructor() {
|
|
18662
18748
|
super();
|
|
18663
18749
|
|
|
@@ -18765,7 +18851,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
|
|
|
18765
18851
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
18766
18852
|
} catch (e) {
|
|
18767
18853
|
// eslint-disable-next-line no-console
|
|
18768
|
-
console.error(componentName$
|
|
18854
|
+
console.error(componentName$A, 'Error parsing questions attribute', e);
|
|
18769
18855
|
return [];
|
|
18770
18856
|
}
|
|
18771
18857
|
}
|
|
@@ -18872,9 +18958,9 @@ const SecurityQuestionsSetupClass = compose(
|
|
|
18872
18958
|
componentNameValidationMixin
|
|
18873
18959
|
)(RawSecurityQuestionsSetup);
|
|
18874
18960
|
|
|
18875
|
-
customElements.define(componentName$
|
|
18961
|
+
customElements.define(componentName$A, SecurityQuestionsSetupClass);
|
|
18876
18962
|
|
|
18877
|
-
const componentName$
|
|
18963
|
+
const componentName$z = getComponentName('security-questions-verify');
|
|
18878
18964
|
|
|
18879
18965
|
const textFieldsAttrs = [
|
|
18880
18966
|
'full-width',
|
|
@@ -18898,7 +18984,7 @@ const attrMappings = {
|
|
|
18898
18984
|
const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
|
|
18899
18985
|
|
|
18900
18986
|
const attrsToReRender = ['questions'];
|
|
18901
|
-
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$
|
|
18987
|
+
class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$z, baseSelector: 'div' }) {
|
|
18902
18988
|
constructor() {
|
|
18903
18989
|
super();
|
|
18904
18990
|
|
|
@@ -18972,7 +19058,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
|
|
|
18972
19058
|
return JSON.parse(this.getAttribute('questions')) || [];
|
|
18973
19059
|
} catch (e) {
|
|
18974
19060
|
// eslint-disable-next-line no-console
|
|
18975
|
-
console.error(componentName$
|
|
19061
|
+
console.error(componentName$z, 'Error parsing questions attribute', e);
|
|
18976
19062
|
return [];
|
|
18977
19063
|
}
|
|
18978
19064
|
}
|
|
@@ -19106,7 +19192,7 @@ const SecurityQuestionsVerifyClass = compose(
|
|
|
19106
19192
|
componentNameValidationMixin
|
|
19107
19193
|
)(RawSecurityQuestionsVerify);
|
|
19108
19194
|
|
|
19109
|
-
customElements.define(componentName$
|
|
19195
|
+
customElements.define(componentName$z, SecurityQuestionsVerifyClass);
|
|
19110
19196
|
|
|
19111
19197
|
// Matches any character that is not a digit, whitespace, or phone formatting character (+, -, (, ))
|
|
19112
19198
|
const INVALID_PHONE_CHARS_RE = /[^\d\s+\-()]/;
|
|
@@ -19115,7 +19201,7 @@ const isNumericValue = (val) => !!val && !INVALID_PHONE_CHARS_RE.test(val);
|
|
|
19115
19201
|
|
|
19116
19202
|
const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
|
|
19117
19203
|
|
|
19118
|
-
const componentName$
|
|
19204
|
+
const componentName$y = getComponentName('hybrid-field');
|
|
19119
19205
|
|
|
19120
19206
|
const attrs = {
|
|
19121
19207
|
shared: [
|
|
@@ -19182,7 +19268,7 @@ const PHONE_FIELD = 'descope-phone-field';
|
|
|
19182
19268
|
const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
|
|
19183
19269
|
|
|
19184
19270
|
const BaseClass$9 = createBaseClass({
|
|
19185
|
-
componentName: componentName$
|
|
19271
|
+
componentName: componentName$y,
|
|
19186
19272
|
baseSelector: 'div',
|
|
19187
19273
|
});
|
|
19188
19274
|
|
|
@@ -19573,11 +19659,11 @@ const HybridFieldClass = compose(
|
|
|
19573
19659
|
componentNameValidationMixin
|
|
19574
19660
|
)(RawHybridField);
|
|
19575
19661
|
|
|
19576
|
-
customElements.define(componentName$
|
|
19662
|
+
customElements.define(componentName$y, HybridFieldClass);
|
|
19577
19663
|
|
|
19578
|
-
const componentName$
|
|
19664
|
+
const componentName$x = getComponentName('alert');
|
|
19579
19665
|
|
|
19580
|
-
class RawAlert extends createBaseClass({ componentName: componentName$
|
|
19666
|
+
class RawAlert extends createBaseClass({ componentName: componentName$x, baseSelector: ':host > div' }) {
|
|
19581
19667
|
constructor() {
|
|
19582
19668
|
super();
|
|
19583
19669
|
|
|
@@ -19698,13 +19784,13 @@ const AlertClass = compose(
|
|
|
19698
19784
|
componentNameValidationMixin
|
|
19699
19785
|
)(RawAlert);
|
|
19700
19786
|
|
|
19701
|
-
customElements.define(componentName$
|
|
19787
|
+
customElements.define(componentName$x, AlertClass);
|
|
19702
19788
|
|
|
19703
|
-
const componentName$
|
|
19789
|
+
const componentName$w = getComponentName('hcaptcha');
|
|
19704
19790
|
|
|
19705
19791
|
const observedAttributes$1 = ['enabled', 'site-key'];
|
|
19706
19792
|
|
|
19707
|
-
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$
|
|
19793
|
+
const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$w, baseSelector: ':host > div' });
|
|
19708
19794
|
class RawHcaptcha extends BaseInputClass$5 {
|
|
19709
19795
|
static get observedAttributes() {
|
|
19710
19796
|
return observedAttributes$1.concat(BaseInputClass$5.observedAttributes || []);
|
|
@@ -19832,7 +19918,7 @@ const HcaptchaClass = compose(
|
|
|
19832
19918
|
componentNameValidationMixin
|
|
19833
19919
|
)(RawHcaptcha);
|
|
19834
19920
|
|
|
19835
|
-
customElements.define(componentName$
|
|
19921
|
+
customElements.define(componentName$w, HcaptchaClass);
|
|
19836
19922
|
|
|
19837
19923
|
const direction$1 = 'ltr';
|
|
19838
19924
|
|
|
@@ -20016,7 +20102,7 @@ const globals$1 = {
|
|
|
20016
20102
|
fonts: fonts$1,
|
|
20017
20103
|
direction: direction$1,
|
|
20018
20104
|
};
|
|
20019
|
-
const vars$
|
|
20105
|
+
const vars$1d = getThemeVars(globals$1);
|
|
20020
20106
|
|
|
20021
20107
|
const direction = 'ltr';
|
|
20022
20108
|
|
|
@@ -20215,7 +20301,7 @@ const mode = {
|
|
|
20215
20301
|
|
|
20216
20302
|
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
|
|
20217
20303
|
{ mode },
|
|
20218
|
-
componentName$
|
|
20304
|
+
componentName$1n,
|
|
20219
20305
|
);
|
|
20220
20306
|
|
|
20221
20307
|
const button = {
|
|
@@ -20335,7 +20421,7 @@ const button = {
|
|
|
20335
20421
|
},
|
|
20336
20422
|
};
|
|
20337
20423
|
|
|
20338
|
-
const vars$
|
|
20424
|
+
const vars$1c = {
|
|
20339
20425
|
...compVars$9,
|
|
20340
20426
|
...helperVars$6,
|
|
20341
20427
|
};
|
|
@@ -20343,138 +20429,138 @@ const vars$1b = {
|
|
|
20343
20429
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
20344
20430
|
__proto__: null,
|
|
20345
20431
|
default: button,
|
|
20346
|
-
vars: vars$
|
|
20432
|
+
vars: vars$1c
|
|
20347
20433
|
});
|
|
20348
20434
|
|
|
20349
20435
|
const globalRefs$J = getThemeRefs$1(globals);
|
|
20350
|
-
const vars$
|
|
20436
|
+
const vars$1b = TextClass.cssVarList;
|
|
20351
20437
|
|
|
20352
20438
|
const text$1 = {
|
|
20353
|
-
[vars$
|
|
20354
|
-
[vars$
|
|
20355
|
-
[vars$
|
|
20356
|
-
[vars$
|
|
20439
|
+
[vars$1b.hostDirection]: globalRefs$J.direction,
|
|
20440
|
+
[vars$1b.textLineHeight]: '1.35em',
|
|
20441
|
+
[vars$1b.textAlign]: 'start',
|
|
20442
|
+
[vars$1b.textColor]: globalRefs$J.colors.surface.dark,
|
|
20357
20443
|
|
|
20358
20444
|
variant: {
|
|
20359
20445
|
h1: {
|
|
20360
|
-
[vars$
|
|
20361
|
-
[vars$
|
|
20362
|
-
[vars$
|
|
20446
|
+
[vars$1b.fontSize]: globalRefs$J.typography.h1.size,
|
|
20447
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.h1.weight,
|
|
20448
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.h1.font,
|
|
20363
20449
|
},
|
|
20364
20450
|
h2: {
|
|
20365
|
-
[vars$
|
|
20366
|
-
[vars$
|
|
20367
|
-
[vars$
|
|
20451
|
+
[vars$1b.fontSize]: globalRefs$J.typography.h2.size,
|
|
20452
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.h2.weight,
|
|
20453
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.h2.font,
|
|
20368
20454
|
},
|
|
20369
20455
|
h3: {
|
|
20370
|
-
[vars$
|
|
20371
|
-
[vars$
|
|
20372
|
-
[vars$
|
|
20456
|
+
[vars$1b.fontSize]: globalRefs$J.typography.h3.size,
|
|
20457
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.h3.weight,
|
|
20458
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.h3.font,
|
|
20373
20459
|
},
|
|
20374
20460
|
subtitle1: {
|
|
20375
|
-
[vars$
|
|
20376
|
-
[vars$
|
|
20377
|
-
[vars$
|
|
20461
|
+
[vars$1b.fontSize]: globalRefs$J.typography.subtitle1.size,
|
|
20462
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.subtitle1.weight,
|
|
20463
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.subtitle1.font,
|
|
20378
20464
|
},
|
|
20379
20465
|
subtitle2: {
|
|
20380
|
-
[vars$
|
|
20381
|
-
[vars$
|
|
20382
|
-
[vars$
|
|
20466
|
+
[vars$1b.fontSize]: globalRefs$J.typography.subtitle2.size,
|
|
20467
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.subtitle2.weight,
|
|
20468
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.subtitle2.font,
|
|
20383
20469
|
},
|
|
20384
20470
|
body1: {
|
|
20385
|
-
[vars$
|
|
20386
|
-
[vars$
|
|
20387
|
-
[vars$
|
|
20471
|
+
[vars$1b.fontSize]: globalRefs$J.typography.body1.size,
|
|
20472
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.body1.weight,
|
|
20473
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.body1.font,
|
|
20388
20474
|
},
|
|
20389
20475
|
body2: {
|
|
20390
|
-
[vars$
|
|
20391
|
-
[vars$
|
|
20392
|
-
[vars$
|
|
20476
|
+
[vars$1b.fontSize]: globalRefs$J.typography.body2.size,
|
|
20477
|
+
[vars$1b.fontWeight]: globalRefs$J.typography.body2.weight,
|
|
20478
|
+
[vars$1b.fontFamily]: globalRefs$J.typography.body2.font,
|
|
20393
20479
|
},
|
|
20394
20480
|
},
|
|
20395
20481
|
|
|
20396
20482
|
mode: {
|
|
20397
20483
|
primary: {
|
|
20398
|
-
[vars$
|
|
20484
|
+
[vars$1b.textColor]: globalRefs$J.colors.surface.contrast,
|
|
20399
20485
|
},
|
|
20400
20486
|
secondary: {
|
|
20401
|
-
[vars$
|
|
20487
|
+
[vars$1b.textColor]: globalRefs$J.colors.surface.dark,
|
|
20402
20488
|
},
|
|
20403
20489
|
error: {
|
|
20404
|
-
[vars$
|
|
20490
|
+
[vars$1b.textColor]: globalRefs$J.colors.error.main,
|
|
20405
20491
|
},
|
|
20406
20492
|
'error-dark': {
|
|
20407
|
-
[vars$
|
|
20493
|
+
[vars$1b.textColor]: globalRefs$J.colors.error.dark,
|
|
20408
20494
|
},
|
|
20409
20495
|
success: {
|
|
20410
|
-
[vars$
|
|
20496
|
+
[vars$1b.textColor]: globalRefs$J.colors.success.main,
|
|
20411
20497
|
},
|
|
20412
20498
|
'success-dark': {
|
|
20413
|
-
[vars$
|
|
20499
|
+
[vars$1b.textColor]: globalRefs$J.colors.success.dark,
|
|
20414
20500
|
},
|
|
20415
20501
|
warning: {
|
|
20416
|
-
[vars$
|
|
20502
|
+
[vars$1b.textColor]: globalRefs$J.colors.warning.main,
|
|
20417
20503
|
},
|
|
20418
20504
|
'warning-dark': {
|
|
20419
|
-
[vars$
|
|
20505
|
+
[vars$1b.textColor]: globalRefs$J.colors.warning.dark,
|
|
20420
20506
|
},
|
|
20421
20507
|
},
|
|
20422
20508
|
|
|
20423
20509
|
textAlign: {
|
|
20424
|
-
right: { [vars$
|
|
20425
|
-
left: { [vars$
|
|
20426
|
-
center: { [vars$
|
|
20510
|
+
right: { [vars$1b.textAlign]: 'right' },
|
|
20511
|
+
left: { [vars$1b.textAlign]: 'left' },
|
|
20512
|
+
center: { [vars$1b.textAlign]: 'center' },
|
|
20427
20513
|
},
|
|
20428
20514
|
|
|
20429
20515
|
_fullWidth: {
|
|
20430
|
-
[vars$
|
|
20516
|
+
[vars$1b.hostWidth]: '100%',
|
|
20431
20517
|
},
|
|
20432
20518
|
|
|
20433
20519
|
_italic: {
|
|
20434
|
-
[vars$
|
|
20520
|
+
[vars$1b.fontStyle]: 'italic',
|
|
20435
20521
|
},
|
|
20436
20522
|
|
|
20437
20523
|
_uppercase: {
|
|
20438
|
-
[vars$
|
|
20524
|
+
[vars$1b.textTransform]: 'uppercase',
|
|
20439
20525
|
},
|
|
20440
20526
|
|
|
20441
20527
|
_lowercase: {
|
|
20442
|
-
[vars$
|
|
20528
|
+
[vars$1b.textTransform]: 'lowercase',
|
|
20443
20529
|
},
|
|
20444
20530
|
};
|
|
20445
20531
|
|
|
20446
20532
|
var text$2 = /*#__PURE__*/Object.freeze({
|
|
20447
20533
|
__proto__: null,
|
|
20448
20534
|
default: text$1,
|
|
20449
|
-
vars: vars$
|
|
20535
|
+
vars: vars$1b
|
|
20450
20536
|
});
|
|
20451
20537
|
|
|
20452
20538
|
const globalRefs$I = getThemeRefs$1(globals);
|
|
20453
|
-
const vars$
|
|
20539
|
+
const vars$1a = LinkClass.cssVarList;
|
|
20454
20540
|
|
|
20455
20541
|
const link = {
|
|
20456
|
-
[vars$
|
|
20457
|
-
[vars$
|
|
20542
|
+
[vars$1a.hostDirection]: globalRefs$I.direction,
|
|
20543
|
+
[vars$1a.cursor]: 'pointer',
|
|
20458
20544
|
|
|
20459
|
-
[vars$
|
|
20545
|
+
[vars$1a.textColor]: globalRefs$I.colors.primary.main,
|
|
20460
20546
|
|
|
20461
20547
|
textAlign: {
|
|
20462
|
-
right: { [vars$
|
|
20463
|
-
left: { [vars$
|
|
20464
|
-
center: { [vars$
|
|
20548
|
+
right: { [vars$1a.textAlign]: 'right' },
|
|
20549
|
+
left: { [vars$1a.textAlign]: 'left' },
|
|
20550
|
+
center: { [vars$1a.textAlign]: 'center' },
|
|
20465
20551
|
},
|
|
20466
20552
|
|
|
20467
20553
|
_fullWidth: {
|
|
20468
|
-
[vars$
|
|
20554
|
+
[vars$1a.hostWidth]: '100%',
|
|
20469
20555
|
},
|
|
20470
20556
|
|
|
20471
20557
|
_hover: {
|
|
20472
|
-
[vars$
|
|
20558
|
+
[vars$1a.textDecoration]: 'underline',
|
|
20473
20559
|
},
|
|
20474
20560
|
|
|
20475
20561
|
mode: {
|
|
20476
20562
|
secondary: {
|
|
20477
|
-
[vars$
|
|
20563
|
+
[vars$1a.textColor]: globalRefs$I.colors.secondary.main,
|
|
20478
20564
|
},
|
|
20479
20565
|
},
|
|
20480
20566
|
};
|
|
@@ -20482,37 +20568,37 @@ const link = {
|
|
|
20482
20568
|
var link$1 = /*#__PURE__*/Object.freeze({
|
|
20483
20569
|
__proto__: null,
|
|
20484
20570
|
default: link,
|
|
20485
|
-
vars: vars$
|
|
20571
|
+
vars: vars$1a
|
|
20486
20572
|
});
|
|
20487
20573
|
|
|
20488
20574
|
const globalRefs$H = getThemeRefs$1(globals);
|
|
20489
|
-
const vars$
|
|
20575
|
+
const vars$19 = EnrichedTextClass.cssVarList;
|
|
20490
20576
|
|
|
20491
20577
|
const enrichedText = {
|
|
20492
|
-
[vars$
|
|
20493
|
-
[vars$
|
|
20578
|
+
[vars$19.hostDirection]: globalRefs$H.direction,
|
|
20579
|
+
[vars$19.hostWidth]: useVar$1(vars$1b.hostWidth),
|
|
20494
20580
|
|
|
20495
|
-
[vars$
|
|
20496
|
-
[vars$
|
|
20497
|
-
[vars$
|
|
20581
|
+
[vars$19.textLineHeight]: useVar$1(vars$1b.textLineHeight),
|
|
20582
|
+
[vars$19.textColor]: useVar$1(vars$1b.textColor),
|
|
20583
|
+
[vars$19.textAlign]: useVar$1(vars$1b.textAlign),
|
|
20498
20584
|
|
|
20499
|
-
[vars$
|
|
20500
|
-
[vars$
|
|
20501
|
-
[vars$
|
|
20585
|
+
[vars$19.fontSize]: useVar$1(vars$1b.fontSize),
|
|
20586
|
+
[vars$19.fontWeight]: useVar$1(vars$1b.fontWeight),
|
|
20587
|
+
[vars$19.fontFamily]: useVar$1(vars$1b.fontFamily),
|
|
20502
20588
|
|
|
20503
|
-
[vars$
|
|
20504
|
-
[vars$
|
|
20505
|
-
[vars$
|
|
20589
|
+
[vars$19.linkColor]: useVar$1(vars$1a.textColor),
|
|
20590
|
+
[vars$19.linkTextDecoration]: 'none',
|
|
20591
|
+
[vars$19.linkHoverTextDecoration]: 'underline',
|
|
20506
20592
|
|
|
20507
|
-
[vars$
|
|
20508
|
-
[vars$
|
|
20509
|
-
[vars$
|
|
20593
|
+
[vars$19.fontWeightBold]: '900',
|
|
20594
|
+
[vars$19.minWidth]: '0.25em',
|
|
20595
|
+
[vars$19.minHeight]: '1.35em',
|
|
20510
20596
|
|
|
20511
|
-
[vars$
|
|
20597
|
+
[vars$19.hostDisplay]: 'inline-block',
|
|
20512
20598
|
|
|
20513
20599
|
_empty: {
|
|
20514
20600
|
_hideWhenEmpty: {
|
|
20515
|
-
[vars$
|
|
20601
|
+
[vars$19.hostDisplay]: 'none',
|
|
20516
20602
|
},
|
|
20517
20603
|
},
|
|
20518
20604
|
};
|
|
@@ -20520,10 +20606,10 @@ const enrichedText = {
|
|
|
20520
20606
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
20521
20607
|
__proto__: null,
|
|
20522
20608
|
default: enrichedText,
|
|
20523
|
-
vars: vars$
|
|
20609
|
+
vars: vars$19
|
|
20524
20610
|
});
|
|
20525
20611
|
|
|
20526
|
-
const componentName$
|
|
20612
|
+
const componentName$v = getComponentName$1('input-wrapper');
|
|
20527
20613
|
const globalRefs$G = getThemeRefs$1(globals);
|
|
20528
20614
|
|
|
20529
20615
|
const [theme$2, refs$1] = createHelperVars$1(
|
|
@@ -20653,114 +20739,114 @@ const [theme$2, refs$1] = createHelperVars$1(
|
|
|
20653
20739
|
inputTextSecurity: 'disc',
|
|
20654
20740
|
},
|
|
20655
20741
|
},
|
|
20656
|
-
componentName$
|
|
20742
|
+
componentName$v,
|
|
20657
20743
|
);
|
|
20658
20744
|
|
|
20659
20745
|
const globalRefs$F = getThemeRefs$1(globals);
|
|
20660
|
-
const vars$
|
|
20661
|
-
|
|
20662
|
-
const comboBox = {
|
|
20663
|
-
[vars$
|
|
20664
|
-
[vars$
|
|
20665
|
-
[vars$
|
|
20666
|
-
[vars$
|
|
20667
|
-
[vars$
|
|
20668
|
-
[vars$
|
|
20669
|
-
[vars$
|
|
20670
|
-
[vars$
|
|
20671
|
-
[vars$
|
|
20672
|
-
[vars$
|
|
20673
|
-
[vars$
|
|
20674
|
-
[vars$
|
|
20675
|
-
[vars$
|
|
20676
|
-
[vars$
|
|
20677
|
-
[vars$
|
|
20678
|
-
[vars$
|
|
20679
|
-
[vars$
|
|
20680
|
-
[vars$
|
|
20681
|
-
[vars$
|
|
20682
|
-
[vars$
|
|
20683
|
-
[vars$
|
|
20684
|
-
[vars$
|
|
20685
|
-
[vars$
|
|
20686
|
-
[vars$
|
|
20687
|
-
[vars$
|
|
20688
|
-
[vars$
|
|
20689
|
-
[vars$
|
|
20690
|
-
[vars$
|
|
20691
|
-
[vars$
|
|
20692
|
-
[vars$
|
|
20693
|
-
[vars$
|
|
20694
|
-
[vars$
|
|
20695
|
-
[vars$
|
|
20696
|
-
[vars$
|
|
20697
|
-
[vars$
|
|
20698
|
-
[vars$
|
|
20699
|
-
[vars$
|
|
20700
|
-
[vars$
|
|
20701
|
-
[vars$
|
|
20702
|
-
[vars$
|
|
20703
|
-
[vars$
|
|
20704
|
-
[vars$
|
|
20746
|
+
const vars$18 = ComboBoxClass.cssVarList;
|
|
20747
|
+
|
|
20748
|
+
const comboBox$1 = {
|
|
20749
|
+
[vars$18.hostWidth]: refs$1.width,
|
|
20750
|
+
[vars$18.hostDirection]: refs$1.direction,
|
|
20751
|
+
[vars$18.fontSize]: refs$1.fontSize,
|
|
20752
|
+
[vars$18.fontFamily]: refs$1.fontFamily,
|
|
20753
|
+
[vars$18.labelFontSize]: refs$1.labelFontSize,
|
|
20754
|
+
[vars$18.labelFontWeight]: refs$1.labelFontWeight,
|
|
20755
|
+
[vars$18.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
20756
|
+
[vars$18.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
20757
|
+
[vars$18.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
20758
|
+
[vars$18.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
20759
|
+
[vars$18.labelTextColor]: refs$1.labelTextColor,
|
|
20760
|
+
[vars$18.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
20761
|
+
[vars$18.inputBorderColor]: refs$1.borderColor,
|
|
20762
|
+
[vars$18.inputBorderWidth]: refs$1.borderWidth,
|
|
20763
|
+
[vars$18.inputBorderStyle]: refs$1.borderStyle,
|
|
20764
|
+
[vars$18.inputBorderRadius]: refs$1.borderRadius,
|
|
20765
|
+
[vars$18.inputOutlineColor]: refs$1.outlineColor,
|
|
20766
|
+
[vars$18.inputOutlineOffset]: refs$1.outlineOffset,
|
|
20767
|
+
[vars$18.inputOutlineWidth]: refs$1.outlineWidth,
|
|
20768
|
+
[vars$18.inputOutlineStyle]: refs$1.outlineStyle,
|
|
20769
|
+
[vars$18.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
20770
|
+
[vars$18.inputValueTextColor]: refs$1.valueTextColor,
|
|
20771
|
+
[vars$18.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
20772
|
+
[vars$18.inputBackgroundColor]: refs$1.backgroundColor,
|
|
20773
|
+
[vars$18.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
20774
|
+
[vars$18.inputHeight]: refs$1.inputHeight,
|
|
20775
|
+
[vars$18.inputDropdownButtonColor]: globalRefs$F.colors.surface.dark,
|
|
20776
|
+
[vars$18.inputDropdownButtonCursor]: 'pointer',
|
|
20777
|
+
[vars$18.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
20778
|
+
[vars$18.inputDropdownButtonOffset]: globalRefs$F.spacing.xs,
|
|
20779
|
+
[vars$18.overlayItemPaddingInlineStart]: globalRefs$F.spacing.xs,
|
|
20780
|
+
[vars$18.overlayItemPaddingInlineEnd]: globalRefs$F.spacing.lg,
|
|
20781
|
+
[vars$18.labelPosition]: refs$1.labelPosition,
|
|
20782
|
+
[vars$18.labelTopPosition]: refs$1.labelTopPosition,
|
|
20783
|
+
[vars$18.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
20784
|
+
[vars$18.inputTransformY]: refs$1.inputTransformY,
|
|
20785
|
+
[vars$18.inputTransition]: refs$1.inputTransition,
|
|
20786
|
+
[vars$18.marginInlineStart]: refs$1.marginInlineStart,
|
|
20787
|
+
[vars$18.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
20788
|
+
[vars$18.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
20789
|
+
[vars$18.valueInputHeight]: refs$1.valueInputHeight,
|
|
20790
|
+
[vars$18.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
20705
20791
|
|
|
20706
20792
|
// error message icon
|
|
20707
|
-
[vars$
|
|
20708
|
-
[vars$
|
|
20709
|
-
[vars$
|
|
20710
|
-
[vars$
|
|
20711
|
-
[vars$
|
|
20712
|
-
[vars$
|
|
20793
|
+
[vars$18.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
20794
|
+
[vars$18.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
20795
|
+
[vars$18.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
20796
|
+
[vars$18.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
20797
|
+
[vars$18.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
20798
|
+
[vars$18.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
20713
20799
|
|
|
20714
20800
|
_readonly: {
|
|
20715
|
-
[vars$
|
|
20801
|
+
[vars$18.inputDropdownButtonCursor]: 'default',
|
|
20716
20802
|
},
|
|
20717
20803
|
|
|
20718
20804
|
// Overlay theme exposed via the component:
|
|
20719
|
-
[vars$
|
|
20720
|
-
[vars$
|
|
20721
|
-
[vars$
|
|
20722
|
-
[vars$
|
|
20723
|
-
[vars$
|
|
20724
|
-
[vars$
|
|
20725
|
-
[vars$
|
|
20726
|
-
[vars$
|
|
20727
|
-
[vars$
|
|
20805
|
+
[vars$18.overlayFontSize]: refs$1.fontSize,
|
|
20806
|
+
[vars$18.overlayFontFamily]: refs$1.fontFamily,
|
|
20807
|
+
[vars$18.overlayCursor]: 'pointer',
|
|
20808
|
+
[vars$18.overlayItemBoxShadow]: 'none',
|
|
20809
|
+
[vars$18.overlayBackground]: refs$1.backgroundColor,
|
|
20810
|
+
[vars$18.overlayTextColor]: refs$1.valueTextColor,
|
|
20811
|
+
[vars$18.overlayCheckmarkDisplay]: 'initial',
|
|
20812
|
+
[vars$18.overlaySelectedItemBackground]: 'initial',
|
|
20813
|
+
[vars$18.overlaySelectedItemHoverBackground]:
|
|
20728
20814
|
globalRefs$F.colors.primary.highlight,
|
|
20729
|
-
[vars$
|
|
20815
|
+
[vars$18.overlaySelectedItemFocusBackground]:
|
|
20730
20816
|
globalRefs$F.colors.primary.highlight,
|
|
20731
|
-
[vars$
|
|
20732
|
-
[vars$
|
|
20817
|
+
[vars$18.overlayItemHoverBackground]: globalRefs$F.colors.primary.highlight,
|
|
20818
|
+
[vars$18.overlayItemFocusBackground]: globalRefs$F.colors.primary.highlight,
|
|
20733
20819
|
|
|
20734
20820
|
// Overlay direct theme:
|
|
20735
|
-
[vars$
|
|
20821
|
+
[vars$18.overlay.margin]: '0',
|
|
20736
20822
|
|
|
20737
|
-
[vars$
|
|
20738
|
-
[vars$
|
|
20739
|
-
[vars$
|
|
20823
|
+
[vars$18.overlay.contentHeight]: '100%',
|
|
20824
|
+
[vars$18.overlay.contentOpacity]: '1',
|
|
20825
|
+
[vars$18.overlay.scrollerMinHeight]: '1px',
|
|
20740
20826
|
_loading: {
|
|
20741
|
-
[vars$
|
|
20742
|
-
[vars$
|
|
20743
|
-
[vars$
|
|
20827
|
+
[vars$18.overlay.loaderTop]: '50%',
|
|
20828
|
+
[vars$18.overlay.loaderLeft]: '50%',
|
|
20829
|
+
[vars$18.overlay.loaderRight]: 'auto',
|
|
20744
20830
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
|
20745
20831
|
// Margin has to be half of the width/height of the loader to center it
|
|
20746
|
-
[vars$
|
|
20747
|
-
[vars$
|
|
20748
|
-
[vars$
|
|
20749
|
-
[vars$
|
|
20750
|
-
[vars$
|
|
20832
|
+
[vars$18.overlay.loaderMargin]: '-15px 0 0 -15px',
|
|
20833
|
+
[vars$18.overlay.loaderWidth]: '30px',
|
|
20834
|
+
[vars$18.overlay.loaderHeight]: '30px',
|
|
20835
|
+
[vars$18.overlay.loaderBorder]: '2px solid transparent',
|
|
20836
|
+
[vars$18.overlay.loaderBorderColor]:
|
|
20751
20837
|
`${globalRefs$F.colors.primary.highlight} ${globalRefs$F.colors.primary.highlight} ${globalRefs$F.colors.primary.main} ${globalRefs$F.colors.primary.main}`,
|
|
20752
|
-
[vars$
|
|
20753
|
-
[vars$
|
|
20754
|
-
[vars$
|
|
20755
|
-
[vars$
|
|
20838
|
+
[vars$18.overlay.loaderBorderRadius]: '50%',
|
|
20839
|
+
[vars$18.overlay.contentHeight]: '100px',
|
|
20840
|
+
[vars$18.overlay.scrollerMinHeight]: '100px',
|
|
20841
|
+
[vars$18.overlay.contentOpacity]: '0',
|
|
20756
20842
|
},
|
|
20757
20843
|
};
|
|
20758
20844
|
|
|
20759
|
-
var comboBox$
|
|
20845
|
+
var comboBox$2 = /*#__PURE__*/Object.freeze({
|
|
20760
20846
|
__proto__: null,
|
|
20761
|
-
comboBox: comboBox,
|
|
20762
|
-
default: comboBox,
|
|
20763
|
-
vars: vars$
|
|
20847
|
+
comboBox: comboBox$1,
|
|
20848
|
+
default: comboBox$1,
|
|
20849
|
+
vars: vars$18
|
|
20764
20850
|
});
|
|
20765
20851
|
|
|
20766
20852
|
const globalRefs$E = getThemeRefs$1(globals);
|
|
@@ -20769,46 +20855,46 @@ const [helperTheme$6, helperRefs$6] = createHelperVars$1(
|
|
|
20769
20855
|
{
|
|
20770
20856
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
20771
20857
|
},
|
|
20772
|
-
componentName$
|
|
20858
|
+
componentName$L,
|
|
20773
20859
|
);
|
|
20774
20860
|
|
|
20775
20861
|
const { shadowColor: shadowColor$8 } = helperRefs$6;
|
|
20776
20862
|
|
|
20777
|
-
const vars$
|
|
20863
|
+
const vars$17 = BadgeClass.cssVarList;
|
|
20778
20864
|
|
|
20779
20865
|
const badge = {
|
|
20780
20866
|
...helperTheme$6,
|
|
20781
20867
|
|
|
20782
|
-
[vars$
|
|
20783
|
-
[vars$
|
|
20868
|
+
[vars$17.hostWidth]: 'fit-content',
|
|
20869
|
+
[vars$17.hostDirection]: globalRefs$E.direction,
|
|
20784
20870
|
|
|
20785
|
-
[vars$
|
|
20871
|
+
[vars$17.textAlign]: 'center',
|
|
20786
20872
|
|
|
20787
|
-
[vars$
|
|
20788
|
-
[vars$
|
|
20873
|
+
[vars$17.fontFamily]: globalRefs$E.fonts.font1.family,
|
|
20874
|
+
[vars$17.fontWeight]: '400',
|
|
20789
20875
|
|
|
20790
|
-
[vars$
|
|
20791
|
-
[vars$
|
|
20876
|
+
[vars$17.verticalPadding]: '0.25em',
|
|
20877
|
+
[vars$17.horizontalPadding]: '0.5em',
|
|
20792
20878
|
|
|
20793
|
-
[vars$
|
|
20794
|
-
[vars$
|
|
20795
|
-
[vars$
|
|
20796
|
-
[vars$
|
|
20879
|
+
[vars$17.borderWidth]: globalRefs$E.border.xs,
|
|
20880
|
+
[vars$17.borderRadius]: globalRefs$E.radius.xs,
|
|
20881
|
+
[vars$17.borderColor]: 'transparent',
|
|
20882
|
+
[vars$17.borderStyle]: 'solid',
|
|
20797
20883
|
|
|
20798
20884
|
_fullWidth: {
|
|
20799
|
-
[vars$
|
|
20885
|
+
[vars$17.hostWidth]: '100%',
|
|
20800
20886
|
},
|
|
20801
20887
|
|
|
20802
20888
|
size: {
|
|
20803
|
-
xs: { [vars$
|
|
20804
|
-
sm: { [vars$
|
|
20805
|
-
md: { [vars$
|
|
20806
|
-
lg: { [vars$
|
|
20889
|
+
xs: { [vars$17.fontSize]: '12px' },
|
|
20890
|
+
sm: { [vars$17.fontSize]: '14px' },
|
|
20891
|
+
md: { [vars$17.fontSize]: '16px' },
|
|
20892
|
+
lg: { [vars$17.fontSize]: '18px' },
|
|
20807
20893
|
},
|
|
20808
20894
|
|
|
20809
20895
|
variant: {
|
|
20810
20896
|
contained: {
|
|
20811
|
-
[vars$
|
|
20897
|
+
[vars$17.backgroundColor]: globalRefs$E.colors.surface.main,
|
|
20812
20898
|
},
|
|
20813
20899
|
},
|
|
20814
20900
|
|
|
@@ -20827,58 +20913,58 @@ const badge = {
|
|
|
20827
20913
|
// },
|
|
20828
20914
|
|
|
20829
20915
|
_shrinkToIndicator: {
|
|
20830
|
-
[vars$
|
|
20831
|
-
[vars$
|
|
20832
|
-
[vars$
|
|
20833
|
-
[vars$
|
|
20834
|
-
[vars$
|
|
20916
|
+
[vars$17.hostWidth]: '13px',
|
|
20917
|
+
[vars$17.hostHeight]: '13px',
|
|
20918
|
+
[vars$17.borderRadius]: '50%',
|
|
20919
|
+
[vars$17.fontSize]: '0',
|
|
20920
|
+
[vars$17.textIndent]: '-9999px',
|
|
20835
20921
|
},
|
|
20836
20922
|
|
|
20837
20923
|
mode: {
|
|
20838
20924
|
default: {
|
|
20839
|
-
[vars$
|
|
20925
|
+
[vars$17.textColor]: globalRefs$E.colors.surface.dark,
|
|
20840
20926
|
_bordered: {
|
|
20841
|
-
[vars$
|
|
20927
|
+
[vars$17.borderColor]: globalRefs$E.colors.surface.light,
|
|
20842
20928
|
},
|
|
20843
20929
|
},
|
|
20844
20930
|
primary: {
|
|
20845
|
-
[vars$
|
|
20931
|
+
[vars$17.textColor]: globalRefs$E.colors.primary.main,
|
|
20846
20932
|
_bordered: {
|
|
20847
|
-
[vars$
|
|
20933
|
+
[vars$17.borderColor]: globalRefs$E.colors.primary.light,
|
|
20848
20934
|
},
|
|
20849
20935
|
},
|
|
20850
20936
|
secondary: {
|
|
20851
|
-
[vars$
|
|
20937
|
+
[vars$17.textColor]: globalRefs$E.colors.secondary.main,
|
|
20852
20938
|
_bordered: {
|
|
20853
|
-
[vars$
|
|
20939
|
+
[vars$17.borderColor]: globalRefs$E.colors.secondary.light,
|
|
20854
20940
|
},
|
|
20855
20941
|
},
|
|
20856
20942
|
error: {
|
|
20857
|
-
[vars$
|
|
20943
|
+
[vars$17.textColor]: globalRefs$E.colors.error.main,
|
|
20858
20944
|
_bordered: {
|
|
20859
|
-
[vars$
|
|
20945
|
+
[vars$17.borderColor]: globalRefs$E.colors.error.light,
|
|
20860
20946
|
},
|
|
20861
20947
|
},
|
|
20862
20948
|
success: {
|
|
20863
|
-
[vars$
|
|
20949
|
+
[vars$17.textColor]: globalRefs$E.colors.success.main,
|
|
20864
20950
|
_bordered: {
|
|
20865
|
-
[vars$
|
|
20951
|
+
[vars$17.borderColor]: globalRefs$E.colors.success.light,
|
|
20866
20952
|
},
|
|
20867
20953
|
},
|
|
20868
20954
|
},
|
|
20869
20955
|
|
|
20870
20956
|
shadow: {
|
|
20871
20957
|
sm: {
|
|
20872
|
-
[vars$
|
|
20958
|
+
[vars$17.boxShadow]: `${globalRefs$E.shadow.wide.sm} ${shadowColor$8}, ${globalRefs$E.shadow.narrow.sm} ${shadowColor$8}`,
|
|
20873
20959
|
},
|
|
20874
20960
|
md: {
|
|
20875
|
-
[vars$
|
|
20961
|
+
[vars$17.boxShadow]: `${globalRefs$E.shadow.wide.md} ${shadowColor$8}, ${globalRefs$E.shadow.narrow.md} ${shadowColor$8}`,
|
|
20876
20962
|
},
|
|
20877
20963
|
lg: {
|
|
20878
|
-
[vars$
|
|
20964
|
+
[vars$17.boxShadow]: `${globalRefs$E.shadow.wide.lg} ${shadowColor$8}, ${globalRefs$E.shadow.narrow.lg} ${shadowColor$8}`,
|
|
20879
20965
|
},
|
|
20880
20966
|
xl: {
|
|
20881
|
-
[vars$
|
|
20967
|
+
[vars$17.boxShadow]: `${globalRefs$E.shadow.wide.xl} ${shadowColor$8}, ${globalRefs$E.shadow.narrow.xl} ${shadowColor$8}`,
|
|
20882
20968
|
},
|
|
20883
20969
|
},
|
|
20884
20970
|
};
|
|
@@ -20886,12 +20972,12 @@ const badge = {
|
|
|
20886
20972
|
var badge$1 = /*#__PURE__*/Object.freeze({
|
|
20887
20973
|
__proto__: null,
|
|
20888
20974
|
default: badge,
|
|
20889
|
-
vars: vars$
|
|
20975
|
+
vars: vars$17
|
|
20890
20976
|
});
|
|
20891
20977
|
|
|
20892
|
-
const componentName$
|
|
20978
|
+
const componentName$u = getComponentName$1('avatar');
|
|
20893
20979
|
class RawAvatar extends createBaseClass$1({
|
|
20894
|
-
componentName: componentName$
|
|
20980
|
+
componentName: componentName$u,
|
|
20895
20981
|
baseSelector: ':host > .wrapper',
|
|
20896
20982
|
}) {
|
|
20897
20983
|
constructor() {
|
|
@@ -20969,7 +21055,7 @@ class RawAvatar extends createBaseClass$1({
|
|
|
20969
21055
|
}
|
|
20970
21056
|
}
|
|
20971
21057
|
|
|
20972
|
-
const { host: host$
|
|
21058
|
+
const { host: host$h, editableBadge, avatar: avatar$2 } = {
|
|
20973
21059
|
host: { selector: () => ':host' },
|
|
20974
21060
|
editableBadge: { selector: '> .editableBadge' },
|
|
20975
21061
|
avatar: { selector: 'vaadin-avatar' },
|
|
@@ -20979,12 +21065,12 @@ const AvatarClass = compose$1(
|
|
|
20979
21065
|
createStyleMixin$1({
|
|
20980
21066
|
mappings: {
|
|
20981
21067
|
hostWidth: [
|
|
20982
|
-
{ ...host$
|
|
20983
|
-
{ ...host$
|
|
21068
|
+
{ ...host$h, property: 'width' },
|
|
21069
|
+
{ ...host$h, property: 'min-width' },
|
|
20984
21070
|
],
|
|
20985
|
-
hostHeight: { ...host$
|
|
20986
|
-
cursor: [avatar$2, host$
|
|
20987
|
-
hostDirection: { ...host$
|
|
21071
|
+
hostHeight: { ...host$h, property: 'height' },
|
|
21072
|
+
cursor: [avatar$2, host$h],
|
|
21073
|
+
hostDirection: { ...host$h, property: 'direction' },
|
|
20988
21074
|
avatarTextColor: { ...avatar$2, property: 'color' },
|
|
20989
21075
|
avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
|
|
20990
21076
|
editableIconColor: { ...editableBadge, property: 'color' },
|
|
@@ -21042,37 +21128,37 @@ const avatar = {
|
|
|
21042
21128
|
},
|
|
21043
21129
|
};
|
|
21044
21130
|
|
|
21045
|
-
const vars$
|
|
21131
|
+
const vars$16 = {
|
|
21046
21132
|
...compVars$8,
|
|
21047
21133
|
};
|
|
21048
21134
|
|
|
21049
21135
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
21050
21136
|
__proto__: null,
|
|
21051
21137
|
default: avatar,
|
|
21052
|
-
vars: vars$
|
|
21138
|
+
vars: vars$16
|
|
21053
21139
|
});
|
|
21054
21140
|
|
|
21055
|
-
const vars$
|
|
21141
|
+
const vars$15 = IconClass.cssVarList;
|
|
21056
21142
|
|
|
21057
21143
|
const icon$1 = {};
|
|
21058
21144
|
|
|
21059
21145
|
var icon$2 = /*#__PURE__*/Object.freeze({
|
|
21060
21146
|
__proto__: null,
|
|
21061
21147
|
default: icon$1,
|
|
21062
|
-
vars: vars$
|
|
21148
|
+
vars: vars$15
|
|
21063
21149
|
});
|
|
21064
21150
|
|
|
21065
|
-
const vars$
|
|
21151
|
+
const vars$14 = ImageClass.cssVarList;
|
|
21066
21152
|
|
|
21067
21153
|
const image = {};
|
|
21068
21154
|
|
|
21069
21155
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
21070
21156
|
__proto__: null,
|
|
21071
21157
|
default: image,
|
|
21072
|
-
vars: vars$
|
|
21158
|
+
vars: vars$14
|
|
21073
21159
|
});
|
|
21074
21160
|
|
|
21075
|
-
const componentName$
|
|
21161
|
+
const componentName$t = getComponentName$1('apps-list');
|
|
21076
21162
|
|
|
21077
21163
|
const itemRenderer$5 = ({ name, icon, url }, _, ref) => `
|
|
21078
21164
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
@@ -21092,7 +21178,7 @@ const itemRenderer$5 = ({ name, icon, url }, _, ref) => `
|
|
|
21092
21178
|
</a>
|
|
21093
21179
|
`;
|
|
21094
21180
|
|
|
21095
|
-
const customMixin$
|
|
21181
|
+
const customMixin$4 = (superclass) =>
|
|
21096
21182
|
class AppsListMixinClass extends superclass {
|
|
21097
21183
|
// size controls both item logo size and font size
|
|
21098
21184
|
get size() {
|
|
@@ -21198,13 +21284,13 @@ const AppsListClass = compose$1(
|
|
|
21198
21284
|
}),
|
|
21199
21285
|
draggableMixin$1,
|
|
21200
21286
|
componentNameValidationMixin$1,
|
|
21201
|
-
customMixin$
|
|
21287
|
+
customMixin$4,
|
|
21202
21288
|
)(
|
|
21203
21289
|
createProxy$1({
|
|
21204
21290
|
slots: ['empty-state'],
|
|
21205
21291
|
wrappedEleName: 'descope-list',
|
|
21206
21292
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
21207
|
-
componentName: componentName$
|
|
21293
|
+
componentName: componentName$t,
|
|
21208
21294
|
style: () => `
|
|
21209
21295
|
:host {
|
|
21210
21296
|
width: 100%;
|
|
@@ -21239,60 +21325,60 @@ const AppsListClass = compose$1(
|
|
|
21239
21325
|
}),
|
|
21240
21326
|
);
|
|
21241
21327
|
|
|
21242
|
-
const vars$
|
|
21328
|
+
const vars$13 = AppsListClass.cssVarList;
|
|
21243
21329
|
const globalRefs$C = getThemeRefs$1(globals);
|
|
21244
21330
|
|
|
21245
21331
|
const defaultHeight = '400px';
|
|
21246
21332
|
|
|
21247
21333
|
const appsList = {
|
|
21248
|
-
[vars$
|
|
21249
|
-
[vars$
|
|
21250
|
-
[vars$
|
|
21251
|
-
[vars$
|
|
21334
|
+
[vars$13.itemsTextAlign]: 'start',
|
|
21335
|
+
[vars$13.hostDirection]: globalRefs$C.direction,
|
|
21336
|
+
[vars$13.maxHeight]: defaultHeight,
|
|
21337
|
+
[vars$13.itemHoverBackgroundColor]: globalRefs$C.colors.surface.highlight,
|
|
21252
21338
|
|
|
21253
21339
|
_empty: {
|
|
21254
|
-
[vars$
|
|
21340
|
+
[vars$13.minHeight]: defaultHeight,
|
|
21255
21341
|
},
|
|
21256
21342
|
|
|
21257
21343
|
size: {
|
|
21258
21344
|
xs: {
|
|
21259
|
-
[vars$
|
|
21260
|
-
[vars$
|
|
21345
|
+
[vars$13.itemsFontSize]: '14px',
|
|
21346
|
+
[vars$13.itemsFontWeight]: 'normal',
|
|
21261
21347
|
},
|
|
21262
21348
|
sm: {
|
|
21263
|
-
[vars$
|
|
21264
|
-
[vars$
|
|
21349
|
+
[vars$13.itemsFontSize]: '14px',
|
|
21350
|
+
[vars$13.itemsFontWeight]: 'normal',
|
|
21265
21351
|
},
|
|
21266
21352
|
md: {
|
|
21267
|
-
[vars$
|
|
21268
|
-
[vars$
|
|
21353
|
+
[vars$13.itemsFontSize]: '16px',
|
|
21354
|
+
[vars$13.itemsFontWeight]: 'normal',
|
|
21269
21355
|
},
|
|
21270
21356
|
lg: {
|
|
21271
|
-
[vars$
|
|
21272
|
-
[vars$
|
|
21357
|
+
[vars$13.itemsFontSize]: '20px',
|
|
21358
|
+
[vars$13.itemsFontWeight]: 'normal',
|
|
21273
21359
|
},
|
|
21274
21360
|
},
|
|
21275
21361
|
|
|
21276
21362
|
itemPadding: {
|
|
21277
21363
|
xs: {
|
|
21278
|
-
[vars$
|
|
21279
|
-
[vars$
|
|
21364
|
+
[vars$13.itemVerticalPadding]: globalRefs$C.spacing.xs,
|
|
21365
|
+
[vars$13.itemHorizontalPadding]: globalRefs$C.spacing.xs,
|
|
21280
21366
|
},
|
|
21281
21367
|
sm: {
|
|
21282
|
-
[vars$
|
|
21283
|
-
[vars$
|
|
21368
|
+
[vars$13.itemVerticalPadding]: globalRefs$C.spacing.sm,
|
|
21369
|
+
[vars$13.itemHorizontalPadding]: globalRefs$C.spacing.sm,
|
|
21284
21370
|
},
|
|
21285
21371
|
md: {
|
|
21286
|
-
[vars$
|
|
21287
|
-
[vars$
|
|
21372
|
+
[vars$13.itemVerticalPadding]: globalRefs$C.spacing.md,
|
|
21373
|
+
[vars$13.itemHorizontalPadding]: globalRefs$C.spacing.md,
|
|
21288
21374
|
},
|
|
21289
21375
|
lg: {
|
|
21290
|
-
[vars$
|
|
21291
|
-
[vars$
|
|
21376
|
+
[vars$13.itemVerticalPadding]: globalRefs$C.spacing.lg,
|
|
21377
|
+
[vars$13.itemHorizontalPadding]: globalRefs$C.spacing.lg,
|
|
21292
21378
|
},
|
|
21293
21379
|
xl: {
|
|
21294
|
-
[vars$
|
|
21295
|
-
[vars$
|
|
21380
|
+
[vars$13.itemVerticalPadding]: globalRefs$C.spacing.xl,
|
|
21381
|
+
[vars$13.itemHorizontalPadding]: globalRefs$C.spacing.xl,
|
|
21296
21382
|
},
|
|
21297
21383
|
},
|
|
21298
21384
|
};
|
|
@@ -21300,7 +21386,7 @@ const appsList = {
|
|
|
21300
21386
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
|
21301
21387
|
__proto__: null,
|
|
21302
21388
|
default: appsList,
|
|
21303
|
-
vars: vars$
|
|
21389
|
+
vars: vars$13
|
|
21304
21390
|
});
|
|
21305
21391
|
|
|
21306
21392
|
const globalRefs$B = getThemeRefs$1(globals);
|
|
@@ -21309,7 +21395,7 @@ const compVars$7 = ListClass.cssVarList;
|
|
|
21309
21395
|
|
|
21310
21396
|
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
|
|
21311
21397
|
{ shadowColor: '#00000020' },
|
|
21312
|
-
componentName$
|
|
21398
|
+
componentName$C,
|
|
21313
21399
|
);
|
|
21314
21400
|
|
|
21315
21401
|
const { shadowColor: shadowColor$7 } = helperRefs$5;
|
|
@@ -21370,7 +21456,7 @@ const list = {
|
|
|
21370
21456
|
},
|
|
21371
21457
|
};
|
|
21372
21458
|
|
|
21373
|
-
const vars$
|
|
21459
|
+
const vars$12 = {
|
|
21374
21460
|
...compVars$7,
|
|
21375
21461
|
...helperVars$5,
|
|
21376
21462
|
};
|
|
@@ -21378,53 +21464,53 @@ const vars$11 = {
|
|
|
21378
21464
|
var list$1 = /*#__PURE__*/Object.freeze({
|
|
21379
21465
|
__proto__: null,
|
|
21380
21466
|
default: list,
|
|
21381
|
-
vars: vars$
|
|
21467
|
+
vars: vars$12
|
|
21382
21468
|
});
|
|
21383
21469
|
|
|
21384
21470
|
const globalRefs$A = getThemeRefs$1(globals);
|
|
21385
21471
|
|
|
21386
|
-
const vars$
|
|
21472
|
+
const vars$11 = ListItemClass.cssVarList;
|
|
21387
21473
|
|
|
21388
21474
|
const listItem = {
|
|
21389
|
-
[vars$
|
|
21390
|
-
[vars$
|
|
21391
|
-
[vars$
|
|
21392
|
-
[vars$
|
|
21393
|
-
[vars$
|
|
21394
|
-
[vars$
|
|
21395
|
-
[vars$
|
|
21396
|
-
[vars$
|
|
21397
|
-
[vars$
|
|
21398
|
-
[vars$
|
|
21399
|
-
[vars$
|
|
21400
|
-
[vars$
|
|
21475
|
+
[vars$11.backgroundColor]: globalRefs$A.colors.surface.main,
|
|
21476
|
+
[vars$11.verticalPadding]: globalRefs$A.spacing.lg,
|
|
21477
|
+
[vars$11.horizontalPadding]: globalRefs$A.spacing.lg,
|
|
21478
|
+
[vars$11.gap]: globalRefs$A.spacing.md,
|
|
21479
|
+
[vars$11.borderStyle]: 'solid',
|
|
21480
|
+
[vars$11.borderWidth]: globalRefs$A.border.xs,
|
|
21481
|
+
[vars$11.borderColor]: globalRefs$A.colors.surface.main,
|
|
21482
|
+
[vars$11.borderRadius]: globalRefs$A.radius.sm,
|
|
21483
|
+
[vars$11.cursor]: 'pointer',
|
|
21484
|
+
[vars$11.alignItems]: 'center',
|
|
21485
|
+
[vars$11.flexDirection]: 'row',
|
|
21486
|
+
[vars$11.transition]: 'border-color 0.2s, background-color 0.2s',
|
|
21401
21487
|
|
|
21402
21488
|
variant: {
|
|
21403
21489
|
tile: {
|
|
21404
|
-
[vars$
|
|
21405
|
-
[vars$
|
|
21406
|
-
[vars$
|
|
21490
|
+
[vars$11.alignItems]: 'flex-start',
|
|
21491
|
+
[vars$11.flexDirection]: 'column',
|
|
21492
|
+
[vars$11.borderColor]: globalRefs$A.colors.surface.light,
|
|
21407
21493
|
},
|
|
21408
21494
|
},
|
|
21409
21495
|
|
|
21410
21496
|
_hover: {
|
|
21411
|
-
[vars$
|
|
21497
|
+
[vars$11.backgroundColor]: globalRefs$A.colors.surface.highlight,
|
|
21412
21498
|
},
|
|
21413
21499
|
|
|
21414
21500
|
_active: {
|
|
21415
|
-
[vars$
|
|
21416
|
-
[vars$
|
|
21417
|
-
[vars$
|
|
21501
|
+
[vars$11.backgroundColor]: globalRefs$A.colors.surface.main,
|
|
21502
|
+
[vars$11.borderColor]: globalRefs$A.colors.primary.light,
|
|
21503
|
+
[vars$11.outline]: `1px solid ${globalRefs$A.colors.primary.light}`,
|
|
21418
21504
|
},
|
|
21419
21505
|
};
|
|
21420
21506
|
|
|
21421
21507
|
var listItem$1 = /*#__PURE__*/Object.freeze({
|
|
21422
21508
|
__proto__: null,
|
|
21423
21509
|
default: listItem,
|
|
21424
|
-
vars: vars$
|
|
21510
|
+
vars: vars$11
|
|
21425
21511
|
});
|
|
21426
21512
|
|
|
21427
|
-
const componentName$
|
|
21513
|
+
const componentName$s = getComponentName$1('multi-select-combo-box');
|
|
21428
21514
|
|
|
21429
21515
|
const multiSelectComboBoxMixin = (superclass) =>
|
|
21430
21516
|
class MultiSelectComboBoxMixinClass extends superclass {
|
|
@@ -21532,9 +21618,35 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
|
21532
21618
|
);
|
|
21533
21619
|
}
|
|
21534
21620
|
|
|
21621
|
+
// Whether `data` is what this combo box builds its items from. Items can instead be given as
|
|
21622
|
+
// light DOM children (see the observeChildren call in init), and those are the consumer's to
|
|
21623
|
+
// manage - so an absent, empty or unparseable `data` attribute means "not my items".
|
|
21624
|
+
#hasDataSource() {
|
|
21625
|
+
if (this.#data) return true;
|
|
21626
|
+
|
|
21627
|
+
const dataAttr = this.getAttribute('data');
|
|
21628
|
+
if (!dataAttr) return false;
|
|
21629
|
+
|
|
21630
|
+
try {
|
|
21631
|
+
return Array.isArray(JSON.parse(dataAttr));
|
|
21632
|
+
} catch {
|
|
21633
|
+
// Already reported by the `data` getter, and a broken attribute is no reason to throw
|
|
21634
|
+
// away items that are on screen.
|
|
21635
|
+
return false;
|
|
21636
|
+
}
|
|
21637
|
+
}
|
|
21638
|
+
|
|
21535
21639
|
renderItems() {
|
|
21536
21640
|
const template = this.getItemsTemplate();
|
|
21537
|
-
if (template)
|
|
21641
|
+
if (template) {
|
|
21642
|
+
this.innerHTML = template;
|
|
21643
|
+
return;
|
|
21644
|
+
}
|
|
21645
|
+
|
|
21646
|
+
// An empty list has to empty the dropdown. Without this the previous items stayed on screen
|
|
21647
|
+
// after the data said there were none, so a picker refreshed with nothing left would still
|
|
21648
|
+
// offer the old rows.
|
|
21649
|
+
if (this.#hasDataSource()) this.innerHTML = '';
|
|
21538
21650
|
}
|
|
21539
21651
|
|
|
21540
21652
|
updateSelectedItems() {
|
|
@@ -21803,7 +21915,7 @@ const multiSelectComboBoxMixin = (superclass) =>
|
|
|
21803
21915
|
};
|
|
21804
21916
|
|
|
21805
21917
|
const {
|
|
21806
|
-
host: host$
|
|
21918
|
+
host: host$g,
|
|
21807
21919
|
inputField,
|
|
21808
21920
|
inputElement,
|
|
21809
21921
|
placeholder,
|
|
@@ -21843,9 +21955,9 @@ const {
|
|
|
21843
21955
|
const MultiSelectComboBoxClass = compose$1(
|
|
21844
21956
|
createStyleMixin$1({
|
|
21845
21957
|
mappings: {
|
|
21846
|
-
hostWidth: { ...host$
|
|
21847
|
-
hostDirection: { ...host$
|
|
21848
|
-
fontSize: [{}, host$
|
|
21958
|
+
hostWidth: { ...host$g, property: 'width' },
|
|
21959
|
+
hostDirection: { ...host$g, property: 'direction' },
|
|
21960
|
+
fontSize: [{}, host$g],
|
|
21849
21961
|
chipFontSize: { ...chipLabel, property: 'font-size' },
|
|
21850
21962
|
fontFamily: [
|
|
21851
21963
|
label,
|
|
@@ -22087,13 +22199,13 @@ const MultiSelectComboBoxClass = compose$1(
|
|
|
22087
22199
|
|
|
22088
22200
|
`,
|
|
22089
22201
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
|
|
22090
|
-
componentName: componentName$
|
|
22202
|
+
componentName: componentName$s,
|
|
22091
22203
|
includeForwardProps: ['items', 'renderer', 'selectedItems'],
|
|
22092
22204
|
}),
|
|
22093
22205
|
);
|
|
22094
22206
|
|
|
22095
|
-
const componentName$
|
|
22096
|
-
const BaseClass$8 = createBaseClass$1({ componentName: componentName$
|
|
22207
|
+
const componentName$r = getComponentName$1('multi-line-mappings');
|
|
22208
|
+
const BaseClass$8 = createBaseClass$1({ componentName: componentName$r });
|
|
22097
22209
|
|
|
22098
22210
|
const parseJSON = (value, fallback, source = 'unknown') => {
|
|
22099
22211
|
if (typeof value !== 'string' || !value?.trim()) {
|
|
@@ -22800,7 +22912,7 @@ class RawMultiLineMappingsClass extends BaseClass$8 {
|
|
|
22800
22912
|
}
|
|
22801
22913
|
}
|
|
22802
22914
|
|
|
22803
|
-
const host$
|
|
22915
|
+
const host$f = { selector: () => ':host' };
|
|
22804
22916
|
const rows = { selector: '.rows' };
|
|
22805
22917
|
const row = { selector: '.row' };
|
|
22806
22918
|
const addAction = { selector: '.add-action' };
|
|
@@ -22808,9 +22920,9 @@ const addAction = { selector: '.add-action' };
|
|
|
22808
22920
|
const MultiLineMappingsClass = compose$1(
|
|
22809
22921
|
createStyleMixin$1({
|
|
22810
22922
|
mappings: {
|
|
22811
|
-
hostWidth: { ...host$
|
|
22923
|
+
hostWidth: { ...host$f, property: 'width' },
|
|
22812
22924
|
hostDirection: [
|
|
22813
|
-
{ ...host$
|
|
22925
|
+
{ ...host$f, property: 'direction' },
|
|
22814
22926
|
{
|
|
22815
22927
|
selector: MultiSelectComboBoxClass.componentName,
|
|
22816
22928
|
property: MultiSelectComboBoxClass.cssVarList.hostDirection,
|
|
@@ -22831,122 +22943,122 @@ const MultiLineMappingsClass = compose$1(
|
|
|
22831
22943
|
draggableMixin$1,
|
|
22832
22944
|
)(RawMultiLineMappingsClass);
|
|
22833
22945
|
|
|
22834
|
-
const vars
|
|
22946
|
+
const vars$10 = MultiLineMappingsClass.cssVarList;
|
|
22835
22947
|
|
|
22836
22948
|
const multiLineMappings = {
|
|
22837
|
-
[vars
|
|
22949
|
+
[vars$10.hostDirection]: refs$1.direction,
|
|
22838
22950
|
|
|
22839
|
-
[vars
|
|
22840
|
-
[vars
|
|
22841
|
-
[vars
|
|
22842
|
-
[vars
|
|
22951
|
+
[vars$10.rowsGap]: globals.spacing.sm,
|
|
22952
|
+
[vars$10.rowGap]: globals.spacing.sm,
|
|
22953
|
+
[vars$10.rowAlignItems]: 'flex-end',
|
|
22954
|
+
[vars$10.rowWrap]: 'nowrap',
|
|
22843
22955
|
|
|
22844
|
-
[vars
|
|
22845
|
-
[vars
|
|
22956
|
+
[vars$10.addActionJustifyContent]: 'flex-start',
|
|
22957
|
+
[vars$10.addActionMarginTop]: globals.spacing.xs,
|
|
22846
22958
|
|
|
22847
22959
|
_fullWidth: {
|
|
22848
|
-
[vars
|
|
22960
|
+
[vars$10.hostWidth]: '100%',
|
|
22849
22961
|
},
|
|
22850
22962
|
};
|
|
22851
22963
|
|
|
22852
22964
|
var multiLineMappings$1 = /*#__PURE__*/Object.freeze({
|
|
22853
22965
|
__proto__: null,
|
|
22854
22966
|
default: multiLineMappings,
|
|
22855
|
-
vars: vars
|
|
22967
|
+
vars: vars$10
|
|
22856
22968
|
});
|
|
22857
22969
|
|
|
22858
22970
|
const globalRefs$z = getThemeRefs$1(globals);
|
|
22859
|
-
const vars
|
|
22971
|
+
const vars$$ = MultiSelectComboBoxClass.cssVarList;
|
|
22860
22972
|
|
|
22861
22973
|
const multiSelectComboBox = {
|
|
22862
|
-
[vars
|
|
22863
|
-
[vars
|
|
22864
|
-
[vars
|
|
22865
|
-
[vars
|
|
22866
|
-
[vars
|
|
22867
|
-
[vars
|
|
22868
|
-
[vars
|
|
22869
|
-
[vars
|
|
22870
|
-
[vars
|
|
22871
|
-
[vars
|
|
22872
|
-
[vars
|
|
22873
|
-
[vars
|
|
22874
|
-
[vars
|
|
22875
|
-
[vars
|
|
22876
|
-
[vars
|
|
22877
|
-
[vars
|
|
22878
|
-
[vars
|
|
22879
|
-
[vars
|
|
22880
|
-
[vars
|
|
22881
|
-
[vars
|
|
22882
|
-
[vars
|
|
22883
|
-
[vars
|
|
22884
|
-
[vars
|
|
22885
|
-
[vars
|
|
22886
|
-
[vars
|
|
22887
|
-
[vars
|
|
22888
|
-
[vars
|
|
22889
|
-
[vars
|
|
22890
|
-
[vars
|
|
22891
|
-
[vars
|
|
22892
|
-
[vars
|
|
22893
|
-
[vars
|
|
22894
|
-
[vars
|
|
22895
|
-
[vars
|
|
22896
|
-
[vars
|
|
22897
|
-
[vars
|
|
22898
|
-
[vars
|
|
22899
|
-
[vars
|
|
22900
|
-
[vars
|
|
22901
|
-
[vars
|
|
22902
|
-
[vars
|
|
22903
|
-
[vars
|
|
22904
|
-
[vars
|
|
22905
|
-
[vars
|
|
22906
|
-
[vars
|
|
22907
|
-
|
|
22908
|
-
[vars
|
|
22909
|
-
[vars
|
|
22910
|
-
[vars
|
|
22911
|
-
[vars
|
|
22912
|
-
[vars
|
|
22913
|
-
[vars
|
|
22974
|
+
[vars$$.hostWidth]: refs$1.width,
|
|
22975
|
+
[vars$$.hostDirection]: refs$1.direction,
|
|
22976
|
+
[vars$$.fontSize]: refs$1.fontSize,
|
|
22977
|
+
[vars$$.fontFamily]: refs$1.fontFamily,
|
|
22978
|
+
[vars$$.labelFontSize]: refs$1.labelFontSize,
|
|
22979
|
+
[vars$$.labelFontWeight]: refs$1.labelFontWeight,
|
|
22980
|
+
[vars$$.inputValueFontWeight]: refs$1.inputValueFontWeight,
|
|
22981
|
+
[vars$$.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
|
|
22982
|
+
[vars$$.helperTextFontWeight]: refs$1.helperTextFontWeight,
|
|
22983
|
+
[vars$$.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
22984
|
+
[vars$$.labelTextColor]: refs$1.labelTextColor,
|
|
22985
|
+
[vars$$.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
22986
|
+
[vars$$.inputBorderColor]: refs$1.borderColor,
|
|
22987
|
+
[vars$$.inputBorderWidth]: refs$1.borderWidth,
|
|
22988
|
+
[vars$$.inputBorderStyle]: refs$1.borderStyle,
|
|
22989
|
+
[vars$$.inputBorderRadius]: refs$1.borderRadius,
|
|
22990
|
+
[vars$$.inputOutlineColor]: refs$1.outlineColor,
|
|
22991
|
+
[vars$$.inputOutlineOffset]: refs$1.outlineOffset,
|
|
22992
|
+
[vars$$.inputOutlineWidth]: refs$1.outlineWidth,
|
|
22993
|
+
[vars$$.inputOutlineStyle]: refs$1.outlineStyle,
|
|
22994
|
+
[vars$$.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
22995
|
+
[vars$$.inputValueTextColor]: refs$1.valueTextColor,
|
|
22996
|
+
[vars$$.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
22997
|
+
[vars$$.inputBackgroundColor]: refs$1.backgroundColor,
|
|
22998
|
+
[vars$$.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
22999
|
+
[vars$$.inputVerticalPadding]: refs$1.verticalPadding,
|
|
23000
|
+
[vars$$.inputHeight]: refs$1.inputHeight,
|
|
23001
|
+
[vars$$.inputDropdownButtonColor]: globalRefs$z.colors.surface.dark,
|
|
23002
|
+
[vars$$.inputDropdownButtonCursor]: 'pointer',
|
|
23003
|
+
[vars$$.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
23004
|
+
[vars$$.inputDropdownButtonOffset]: globalRefs$z.spacing.xs,
|
|
23005
|
+
[vars$$.overlayItemPaddingInlineStart]: globalRefs$z.spacing.xs,
|
|
23006
|
+
[vars$$.overlayItemPaddingInlineEnd]: globalRefs$z.spacing.lg,
|
|
23007
|
+
[vars$$.chipFontSize]: refs$1.chipFontSize,
|
|
23008
|
+
[vars$$.chipTextColor]: globalRefs$z.colors.surface.contrast,
|
|
23009
|
+
[vars$$.chipBackgroundColor]: globalRefs$z.colors.surface.light,
|
|
23010
|
+
[vars$$.labelPosition]: refs$1.labelPosition,
|
|
23011
|
+
[vars$$.labelTopPosition]: refs$1.labelTopPosition,
|
|
23012
|
+
[vars$$.labelLeftPosition]: refs$1.labelLeftPosition,
|
|
23013
|
+
[vars$$.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
23014
|
+
[vars$$.inputTransformY]: refs$1.inputTransformY,
|
|
23015
|
+
[vars$$.inputTransition]: refs$1.inputTransition,
|
|
23016
|
+
[vars$$.marginInlineStart]: refs$1.marginInlineStart,
|
|
23017
|
+
[vars$$.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
23018
|
+
[vars$$.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
23019
|
+
|
|
23020
|
+
[vars$$.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
23021
|
+
[vars$$.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
23022
|
+
[vars$$.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
23023
|
+
[vars$$.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
23024
|
+
[vars$$.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
23025
|
+
[vars$$.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
22914
23026
|
|
|
22915
23027
|
labelType: {
|
|
22916
23028
|
floating: {
|
|
22917
|
-
[vars
|
|
23029
|
+
[vars$$.inputHorizontalPadding]: '0.25em',
|
|
22918
23030
|
_hasValue: {
|
|
22919
|
-
[vars
|
|
23031
|
+
[vars$$.inputHorizontalPadding]: '0.45em',
|
|
22920
23032
|
},
|
|
22921
23033
|
},
|
|
22922
23034
|
},
|
|
22923
23035
|
|
|
22924
23036
|
_readonly: {
|
|
22925
|
-
[vars
|
|
23037
|
+
[vars$$.inputDropdownButtonCursor]: 'default',
|
|
22926
23038
|
},
|
|
22927
23039
|
|
|
22928
|
-
[vars
|
|
22929
|
-
[vars
|
|
22930
|
-
[vars
|
|
22931
|
-
[vars
|
|
22932
|
-
[vars
|
|
22933
|
-
[vars
|
|
23040
|
+
[vars$$.overlayFontSize]: refs$1.fontSize,
|
|
23041
|
+
[vars$$.overlayFontFamily]: refs$1.fontFamily,
|
|
23042
|
+
[vars$$.overlayCursor]: 'pointer',
|
|
23043
|
+
[vars$$.overlayItemBoxShadow]: 'none',
|
|
23044
|
+
[vars$$.overlayBackground]: refs$1.backgroundColor,
|
|
23045
|
+
[vars$$.overlayTextColor]: refs$1.valueTextColor,
|
|
22934
23046
|
|
|
22935
|
-
[vars
|
|
22936
|
-
[vars
|
|
23047
|
+
[vars$$.overlay.minHeight]: '400px',
|
|
23048
|
+
[vars$$.overlay.margin]: '0',
|
|
22937
23049
|
};
|
|
22938
23050
|
|
|
22939
23051
|
var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
|
|
22940
23052
|
__proto__: null,
|
|
22941
23053
|
default: multiSelectComboBox,
|
|
22942
23054
|
multiSelectComboBox: multiSelectComboBox,
|
|
22943
|
-
vars: vars
|
|
23055
|
+
vars: vars$$
|
|
22944
23056
|
});
|
|
22945
23057
|
|
|
22946
|
-
const componentName$
|
|
23058
|
+
const componentName$q = getComponentName$1('autocomplete-field-internal');
|
|
22947
23059
|
|
|
22948
23060
|
const BaseInputClass$4 = createBaseInputClass$1({
|
|
22949
|
-
componentName: componentName$
|
|
23061
|
+
componentName: componentName$q,
|
|
22950
23062
|
baseSelector: '',
|
|
22951
23063
|
});
|
|
22952
23064
|
const observedAttrs$4 = [];
|
|
@@ -23151,9 +23263,9 @@ class AutocompleteFieldInternal extends BaseInputClass$4 {
|
|
|
23151
23263
|
}
|
|
23152
23264
|
}
|
|
23153
23265
|
|
|
23154
|
-
const componentName$
|
|
23266
|
+
const componentName$p = getComponentName$1('autocomplete-field');
|
|
23155
23267
|
|
|
23156
|
-
const customMixin$
|
|
23268
|
+
const customMixin$3 = (superclass) =>
|
|
23157
23269
|
class AutocompleteFieldMixinClass extends superclass {
|
|
23158
23270
|
get defaultValue() {
|
|
23159
23271
|
return this.getAttribute('default-value');
|
|
@@ -23172,15 +23284,15 @@ const customMixin$2 = (superclass) =>
|
|
|
23172
23284
|
const template = document.createElement('template');
|
|
23173
23285
|
|
|
23174
23286
|
template.innerHTML = `
|
|
23175
|
-
<${componentName$
|
|
23287
|
+
<${componentName$q}
|
|
23176
23288
|
tabindex="-1"
|
|
23177
|
-
></${componentName$
|
|
23289
|
+
></${componentName$q}>
|
|
23178
23290
|
`;
|
|
23179
23291
|
|
|
23180
23292
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
23181
23293
|
|
|
23182
23294
|
this.inputElement = this.shadowRoot.querySelector(
|
|
23183
|
-
componentName$
|
|
23295
|
+
componentName$q,
|
|
23184
23296
|
);
|
|
23185
23297
|
|
|
23186
23298
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -23220,7 +23332,7 @@ const customMixin$2 = (superclass) =>
|
|
|
23220
23332
|
}
|
|
23221
23333
|
};
|
|
23222
23334
|
|
|
23223
|
-
const { host: host$
|
|
23335
|
+
const { host: host$e } = {
|
|
23224
23336
|
host: { selector: () => ':host' },
|
|
23225
23337
|
};
|
|
23226
23338
|
|
|
@@ -23230,9 +23342,9 @@ const AutocompleteFieldClass = compose$1(
|
|
|
23230
23342
|
}),
|
|
23231
23343
|
createStyleMixin$1({
|
|
23232
23344
|
mappings: {
|
|
23233
|
-
hostWidth: { ...host$
|
|
23234
|
-
hostDirection: { ...host$
|
|
23235
|
-
fontSize: { ...host$
|
|
23345
|
+
hostWidth: { ...host$e, property: 'width' },
|
|
23346
|
+
hostDirection: { ...host$e, property: 'direction' },
|
|
23347
|
+
fontSize: { ...host$e },
|
|
23236
23348
|
checkmarkDisplay: {
|
|
23237
23349
|
selector: ComboBoxClass.componentName,
|
|
23238
23350
|
property: ComboBoxClass.cssVarList.overlayCheckmarkDisplay,
|
|
@@ -23270,7 +23382,7 @@ const AutocompleteFieldClass = compose$1(
|
|
|
23270
23382
|
proxyParentValidation: true,
|
|
23271
23383
|
}),
|
|
23272
23384
|
componentNameValidationMixin$1,
|
|
23273
|
-
customMixin$
|
|
23385
|
+
customMixin$3,
|
|
23274
23386
|
)(
|
|
23275
23387
|
createProxy$1({
|
|
23276
23388
|
slots: [],
|
|
@@ -23299,34 +23411,34 @@ const AutocompleteFieldClass = compose$1(
|
|
|
23299
23411
|
}
|
|
23300
23412
|
`,
|
|
23301
23413
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
23302
|
-
componentName: componentName$
|
|
23414
|
+
componentName: componentName$p,
|
|
23303
23415
|
}),
|
|
23304
23416
|
);
|
|
23305
23417
|
|
|
23306
|
-
const vars$
|
|
23418
|
+
const vars$_ = AutocompleteFieldClass.cssVarList;
|
|
23307
23419
|
const globalRefs$y = getThemeRefs$1(globals);
|
|
23308
23420
|
|
|
23309
23421
|
const autocompleteField = {
|
|
23310
|
-
[vars$
|
|
23311
|
-
[vars$
|
|
23312
|
-
[vars$
|
|
23313
|
-
[vars$
|
|
23314
|
-
[vars$
|
|
23315
|
-
[vars$
|
|
23316
|
-
[vars$
|
|
23317
|
-
[vars$
|
|
23318
|
-
[vars$
|
|
23319
|
-
[vars$
|
|
23422
|
+
[vars$_.hostWidth]: refs$1.width,
|
|
23423
|
+
[vars$_.hostDirection]: refs$1.direction,
|
|
23424
|
+
[vars$_.fontSize]: refs$1.fontSize,
|
|
23425
|
+
[vars$_.checkmarkDisplay]: 'none',
|
|
23426
|
+
[vars$_.itemPaddingInlineStart]: globalRefs$y.spacing.lg,
|
|
23427
|
+
[vars$_.itemPaddingInlineEnd]: globalRefs$y.spacing.lg,
|
|
23428
|
+
[vars$_.selectedItemBackground]: globalRefs$y.colors.primary.light,
|
|
23429
|
+
[vars$_.selectedItemHoverBackground]: globalRefs$y.colors.primary.light,
|
|
23430
|
+
[vars$_.selectedItemFocusBackground]: globalRefs$y.colors.primary.light,
|
|
23431
|
+
[vars$_.itemHoverBackground]: globalRefs$y.colors.primary.highlight,
|
|
23320
23432
|
|
|
23321
23433
|
_fullWidth: {
|
|
23322
|
-
[vars$
|
|
23434
|
+
[vars$_.hostWidth]: '100%',
|
|
23323
23435
|
},
|
|
23324
23436
|
};
|
|
23325
23437
|
|
|
23326
23438
|
var autocompleteField$1 = /*#__PURE__*/Object.freeze({
|
|
23327
23439
|
__proto__: null,
|
|
23328
23440
|
default: autocompleteField,
|
|
23329
|
-
vars: vars$
|
|
23441
|
+
vars: vars$_
|
|
23330
23442
|
});
|
|
23331
23443
|
|
|
23332
23444
|
const initGoogleMapsLoader = (apiKey) => {
|
|
@@ -23553,7 +23665,7 @@ class RadarConnector extends createBaseConnectorClass() {
|
|
|
23553
23665
|
}
|
|
23554
23666
|
}
|
|
23555
23667
|
|
|
23556
|
-
const componentName$
|
|
23668
|
+
const componentName$o = getComponentName$1('address-field-internal');
|
|
23557
23669
|
|
|
23558
23670
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
23559
23671
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -23564,7 +23676,7 @@ const CONNECTOR_CLASSES = {
|
|
|
23564
23676
|
};
|
|
23565
23677
|
|
|
23566
23678
|
const BaseInputClass$3 = createBaseInputClass$1({
|
|
23567
|
-
componentName: componentName$
|
|
23679
|
+
componentName: componentName$o,
|
|
23568
23680
|
baseSelector: '',
|
|
23569
23681
|
});
|
|
23570
23682
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -23671,9 +23783,9 @@ const AddressFieldInternal = compose$1(
|
|
|
23671
23783
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
23672
23784
|
)(RawAddressFieldInternal);
|
|
23673
23785
|
|
|
23674
|
-
const componentName$
|
|
23786
|
+
const componentName$n = getComponentName$1('address-field');
|
|
23675
23787
|
|
|
23676
|
-
const customMixin$
|
|
23788
|
+
const customMixin$2 = (superclass) =>
|
|
23677
23789
|
class AddressFieldMixinClass extends superclass {
|
|
23678
23790
|
get defaultValue() {
|
|
23679
23791
|
return this.getAttribute('default-value');
|
|
@@ -23700,15 +23812,15 @@ const customMixin$1 = (superclass) =>
|
|
|
23700
23812
|
const template = document.createElement('template');
|
|
23701
23813
|
|
|
23702
23814
|
template.innerHTML = `
|
|
23703
|
-
<${componentName$
|
|
23815
|
+
<${componentName$o}
|
|
23704
23816
|
tabindex="-1"
|
|
23705
|
-
></${componentName$
|
|
23817
|
+
></${componentName$o}>
|
|
23706
23818
|
`;
|
|
23707
23819
|
|
|
23708
23820
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
23709
23821
|
|
|
23710
23822
|
this.inputElement = this.shadowRoot.querySelector(
|
|
23711
|
-
componentName$
|
|
23823
|
+
componentName$o,
|
|
23712
23824
|
);
|
|
23713
23825
|
|
|
23714
23826
|
forwardAttrs$1(this, this.inputElement, {
|
|
@@ -23749,7 +23861,7 @@ const customMixin$1 = (superclass) =>
|
|
|
23749
23861
|
}
|
|
23750
23862
|
};
|
|
23751
23863
|
|
|
23752
|
-
const { host: host$
|
|
23864
|
+
const { host: host$d } = {
|
|
23753
23865
|
host: { selector: () => ':host' },
|
|
23754
23866
|
};
|
|
23755
23867
|
|
|
@@ -23759,8 +23871,8 @@ const AddressFieldClass = compose$1(
|
|
|
23759
23871
|
}),
|
|
23760
23872
|
createStyleMixin$1({
|
|
23761
23873
|
mappings: {
|
|
23762
|
-
hostWidth: { ...host$
|
|
23763
|
-
hostDirection: { ...host$
|
|
23874
|
+
hostWidth: { ...host$d, property: 'width' },
|
|
23875
|
+
hostDirection: { ...host$d, property: 'direction' },
|
|
23764
23876
|
},
|
|
23765
23877
|
}),
|
|
23766
23878
|
draggableMixin$1,
|
|
@@ -23770,7 +23882,7 @@ const AddressFieldClass = compose$1(
|
|
|
23770
23882
|
proxyParentValidation: true,
|
|
23771
23883
|
}),
|
|
23772
23884
|
componentNameValidationMixin$1,
|
|
23773
|
-
customMixin$
|
|
23885
|
+
customMixin$2,
|
|
23774
23886
|
)(
|
|
23775
23887
|
createProxy$1({
|
|
23776
23888
|
slots: [],
|
|
@@ -23786,7 +23898,7 @@ const AddressFieldClass = compose$1(
|
|
|
23786
23898
|
width: 100%;
|
|
23787
23899
|
}
|
|
23788
23900
|
|
|
23789
|
-
${componentName$
|
|
23901
|
+
${componentName$o} {
|
|
23790
23902
|
display: inline-block;
|
|
23791
23903
|
box-sizing: border-box;
|
|
23792
23904
|
user-select: none;
|
|
@@ -23794,30 +23906,30 @@ const AddressFieldClass = compose$1(
|
|
|
23794
23906
|
max-width: 100%;
|
|
23795
23907
|
}
|
|
23796
23908
|
|
|
23797
|
-
${componentName$
|
|
23909
|
+
${componentName$o} ::slotted {
|
|
23798
23910
|
padding: 0;
|
|
23799
23911
|
}
|
|
23800
23912
|
`,
|
|
23801
23913
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
23802
|
-
componentName: componentName$
|
|
23914
|
+
componentName: componentName$n,
|
|
23803
23915
|
}),
|
|
23804
23916
|
);
|
|
23805
23917
|
|
|
23806
|
-
const vars$
|
|
23918
|
+
const vars$Z = AddressFieldClass.cssVarList;
|
|
23807
23919
|
|
|
23808
23920
|
const addressField = {
|
|
23809
|
-
[vars$
|
|
23810
|
-
[vars$
|
|
23921
|
+
[vars$Z.hostWidth]: refs$1.width,
|
|
23922
|
+
[vars$Z.hostDirection]: refs$1.direction,
|
|
23811
23923
|
|
|
23812
23924
|
_fullWidth: {
|
|
23813
|
-
[vars$
|
|
23925
|
+
[vars$Z.hostWidth]: '100%',
|
|
23814
23926
|
},
|
|
23815
23927
|
};
|
|
23816
23928
|
|
|
23817
23929
|
var addressField$1 = /*#__PURE__*/Object.freeze({
|
|
23818
23930
|
__proto__: null,
|
|
23819
23931
|
default: addressField,
|
|
23820
|
-
vars: vars$
|
|
23932
|
+
vars: vars$Z
|
|
23821
23933
|
});
|
|
23822
23934
|
|
|
23823
23935
|
var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
|
|
@@ -23839,12 +23951,12 @@ const formatTime = (ms = 0) => {
|
|
|
23839
23951
|
return timeParts.join(':');
|
|
23840
23952
|
};
|
|
23841
23953
|
|
|
23842
|
-
const componentName$
|
|
23954
|
+
const componentName$m = getComponentName$1('timer');
|
|
23843
23955
|
|
|
23844
23956
|
const observedAttributes = ['seconds', 'hide-icon', 'paused'];
|
|
23845
23957
|
|
|
23846
23958
|
const BaseClass$7 = createBaseClass$1({
|
|
23847
|
-
componentName: componentName$
|
|
23959
|
+
componentName: componentName$m,
|
|
23848
23960
|
baseSelector: ':host > .wrapper',
|
|
23849
23961
|
});
|
|
23850
23962
|
|
|
@@ -23997,7 +24109,7 @@ class RawTimer extends BaseClass$7 {
|
|
|
23997
24109
|
}
|
|
23998
24110
|
}
|
|
23999
24111
|
|
|
24000
|
-
const { host: host$
|
|
24112
|
+
const { host: host$c, icon, timer: timer$2 } = {
|
|
24001
24113
|
host: { selector: () => ':host' },
|
|
24002
24114
|
icon: { selector: () => '.icon' },
|
|
24003
24115
|
timer: { selector: () => '.timer' },
|
|
@@ -24018,8 +24130,8 @@ const TimerClass = compose$1(
|
|
|
24018
24130
|
textColor: { ...timer$2, property: 'color' },
|
|
24019
24131
|
gap: {},
|
|
24020
24132
|
textAlign: { property: 'justify-content' },
|
|
24021
|
-
hostWidth: { ...host$
|
|
24022
|
-
hostDirection: { ...host$
|
|
24133
|
+
hostWidth: { ...host$c, property: 'width' },
|
|
24134
|
+
hostDirection: { ...host$c, property: 'direction' },
|
|
24023
24135
|
iconColor: { ...icon, property: IconClass.cssVarList.fill },
|
|
24024
24136
|
},
|
|
24025
24137
|
}),
|
|
@@ -24028,44 +24140,44 @@ const TimerClass = compose$1(
|
|
|
24028
24140
|
)(RawTimer);
|
|
24029
24141
|
|
|
24030
24142
|
const globalRefs$x = getThemeRefs$1(globals);
|
|
24031
|
-
const vars$
|
|
24143
|
+
const vars$Y = TimerClass.cssVarList;
|
|
24032
24144
|
|
|
24033
24145
|
const timer = {
|
|
24034
|
-
[vars$
|
|
24035
|
-
[vars$
|
|
24036
|
-
[vars$
|
|
24037
|
-
[vars$
|
|
24038
|
-
[vars$
|
|
24039
|
-
[vars$
|
|
24040
|
-
[vars$
|
|
24041
|
-
[vars$
|
|
24042
|
-
[vars$
|
|
24146
|
+
[vars$Y.hostDirection]: globalRefs$x.direction,
|
|
24147
|
+
[vars$Y.gap]: '0.25em',
|
|
24148
|
+
[vars$Y.fontFamily]: globalRefs$x.fonts.font1.family,
|
|
24149
|
+
[vars$Y.minHeight]: '1.5em',
|
|
24150
|
+
[vars$Y.lineHeight]: '1em',
|
|
24151
|
+
[vars$Y.fontWeight]: globalRefs$x.fonts.font1.fontWeight,
|
|
24152
|
+
[vars$Y.textColor]: globalRefs$x.colors.surface.contrast,
|
|
24153
|
+
[vars$Y.iconColor]: globalRefs$x.colors.surface.contrast,
|
|
24154
|
+
[vars$Y.iconSize]: '1em',
|
|
24043
24155
|
|
|
24044
24156
|
size: {
|
|
24045
|
-
xs: { [vars$
|
|
24046
|
-
sm: { [vars$
|
|
24047
|
-
md: { [vars$
|
|
24048
|
-
lg: { [vars$
|
|
24157
|
+
xs: { [vars$Y.fontSize]: '12px' },
|
|
24158
|
+
sm: { [vars$Y.fontSize]: '14px' },
|
|
24159
|
+
md: { [vars$Y.fontSize]: '16px' },
|
|
24160
|
+
lg: { [vars$Y.fontSize]: '18px' },
|
|
24049
24161
|
},
|
|
24050
24162
|
|
|
24051
24163
|
textAlign: {
|
|
24052
|
-
right: { [vars$
|
|
24053
|
-
left: { [vars$
|
|
24054
|
-
center: { [vars$
|
|
24164
|
+
right: { [vars$Y.textAlign]: 'right' },
|
|
24165
|
+
left: { [vars$Y.textAlign]: 'left' },
|
|
24166
|
+
center: { [vars$Y.textAlign]: 'center' },
|
|
24055
24167
|
},
|
|
24056
24168
|
|
|
24057
24169
|
_fullWidth: {
|
|
24058
|
-
[vars$
|
|
24170
|
+
[vars$Y.hostWidth]: '100%',
|
|
24059
24171
|
},
|
|
24060
24172
|
};
|
|
24061
24173
|
|
|
24062
24174
|
var timer$1 = /*#__PURE__*/Object.freeze({
|
|
24063
24175
|
__proto__: null,
|
|
24064
24176
|
default: timer,
|
|
24065
|
-
vars: vars$
|
|
24177
|
+
vars: vars$Y
|
|
24066
24178
|
});
|
|
24067
24179
|
|
|
24068
|
-
const componentName$
|
|
24180
|
+
const componentName$l = getComponentName$1('timer-button');
|
|
24069
24181
|
|
|
24070
24182
|
const buttonAttrs = [
|
|
24071
24183
|
'button-variant',
|
|
@@ -24096,7 +24208,7 @@ const mapTimerAttrs = {
|
|
|
24096
24208
|
};
|
|
24097
24209
|
|
|
24098
24210
|
const BaseClass$6 = createBaseClass$1({
|
|
24099
|
-
componentName: componentName$
|
|
24211
|
+
componentName: componentName$l,
|
|
24100
24212
|
baseSelector: ':host > div',
|
|
24101
24213
|
});
|
|
24102
24214
|
|
|
@@ -24248,7 +24360,7 @@ class RawTimerButton extends BaseClass$6 {
|
|
|
24248
24360
|
}
|
|
24249
24361
|
|
|
24250
24362
|
const {
|
|
24251
|
-
host: host$
|
|
24363
|
+
host: host$b,
|
|
24252
24364
|
nestedTimer,
|
|
24253
24365
|
nestedButton,
|
|
24254
24366
|
timerInsideNotReversed,
|
|
@@ -24273,8 +24385,8 @@ const TimerButtonClass = compose$1(
|
|
|
24273
24385
|
mappings: {
|
|
24274
24386
|
gap: {},
|
|
24275
24387
|
flexDirection: {},
|
|
24276
|
-
hostWidth: { ...host$
|
|
24277
|
-
hostDirection: { ...host$
|
|
24388
|
+
hostWidth: { ...host$b, property: 'width' },
|
|
24389
|
+
hostDirection: { ...host$b, property: 'direction' },
|
|
24278
24390
|
timerTextColor: {
|
|
24279
24391
|
...nestedTimer,
|
|
24280
24392
|
property: TimerClass.cssVarList.textColor,
|
|
@@ -24306,40 +24418,40 @@ const TimerButtonClass = compose$1(
|
|
|
24306
24418
|
)(RawTimerButton);
|
|
24307
24419
|
|
|
24308
24420
|
const globalRefs$w = getThemeRefs$1(globals);
|
|
24309
|
-
const vars$
|
|
24421
|
+
const vars$X = TimerButtonClass.cssVarList;
|
|
24310
24422
|
|
|
24311
24423
|
const timerButton = {
|
|
24312
|
-
[vars$
|
|
24313
|
-
[vars$
|
|
24424
|
+
[vars$X.gap]: globalRefs$w.spacing.sm,
|
|
24425
|
+
[vars$X.flexDirection]: 'column',
|
|
24314
24426
|
|
|
24315
24427
|
_horizontal: {
|
|
24316
|
-
[vars$
|
|
24428
|
+
[vars$X.flexDirection]: 'row',
|
|
24317
24429
|
timerPosition: {
|
|
24318
24430
|
end: {
|
|
24319
|
-
[vars$
|
|
24431
|
+
[vars$X.flexDirection]: 'row-reverse',
|
|
24320
24432
|
},
|
|
24321
24433
|
},
|
|
24322
24434
|
},
|
|
24323
24435
|
|
|
24324
24436
|
timerPosition: {
|
|
24325
24437
|
end: {
|
|
24326
|
-
[vars$
|
|
24438
|
+
[vars$X.flexDirection]: 'column-reverse',
|
|
24327
24439
|
},
|
|
24328
24440
|
},
|
|
24329
24441
|
|
|
24330
24442
|
_fullWidth: {
|
|
24331
|
-
[vars$
|
|
24443
|
+
[vars$X.hostWidth]: '100%',
|
|
24332
24444
|
},
|
|
24333
24445
|
|
|
24334
24446
|
_timerInside: {
|
|
24335
|
-
[vars$
|
|
24336
|
-
[vars$
|
|
24337
|
-
[vars$
|
|
24338
|
-
[vars$
|
|
24339
|
-
[vars$
|
|
24447
|
+
[vars$X.timerTextColor]: 'currentColor',
|
|
24448
|
+
[vars$X.timerIconColor]: 'currentColor',
|
|
24449
|
+
[vars$X.timerHostWidth]: 'auto',
|
|
24450
|
+
[vars$X.buttonLabelSpacing]: '0',
|
|
24451
|
+
[vars$X.timerInsideGapEnd]: `var(${vars$X.gap})`,
|
|
24340
24452
|
timerPosition: {
|
|
24341
24453
|
end: {
|
|
24342
|
-
[vars$
|
|
24454
|
+
[vars$X.timerInsideGapStart]: `var(${vars$X.gap})`,
|
|
24343
24455
|
},
|
|
24344
24456
|
},
|
|
24345
24457
|
},
|
|
@@ -24348,12 +24460,12 @@ const timerButton = {
|
|
|
24348
24460
|
var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
24349
24461
|
__proto__: null,
|
|
24350
24462
|
default: timerButton,
|
|
24351
|
-
vars: vars$
|
|
24463
|
+
vars: vars$X
|
|
24352
24464
|
});
|
|
24353
24465
|
|
|
24354
|
-
const componentName$
|
|
24466
|
+
const componentName$k = getComponentName$1('password-strength');
|
|
24355
24467
|
class RawPasswordStrength extends createBaseClass$1({
|
|
24356
|
-
componentName: componentName$
|
|
24468
|
+
componentName: componentName$k,
|
|
24357
24469
|
baseSelector: ':host > .wrapper',
|
|
24358
24470
|
}) {
|
|
24359
24471
|
static get observedAttributes() {
|
|
@@ -24467,7 +24579,7 @@ class RawPasswordStrength extends createBaseClass$1({
|
|
|
24467
24579
|
}
|
|
24468
24580
|
}
|
|
24469
24581
|
|
|
24470
|
-
const { host: host$
|
|
24582
|
+
const { host: host$a, bar, filledBar, barsContainer, text } = {
|
|
24471
24583
|
host: { selector: () => ':host' },
|
|
24472
24584
|
bar: { selector: ' .bar' },
|
|
24473
24585
|
barsContainer: { selector: ' .bars-container' },
|
|
@@ -24480,11 +24592,11 @@ const PasswordStrengthClass = compose$1(
|
|
|
24480
24592
|
createStyleMixin$1({
|
|
24481
24593
|
mappings: {
|
|
24482
24594
|
hostWidth: [
|
|
24483
|
-
{ ...host$
|
|
24484
|
-
{ ...host$
|
|
24595
|
+
{ ...host$a, property: 'width' },
|
|
24596
|
+
{ ...host$a, property: 'min-width' },
|
|
24485
24597
|
],
|
|
24486
|
-
hostDirection: { ...host$
|
|
24487
|
-
hostMinWidth: { ...host$
|
|
24598
|
+
hostDirection: { ...host$a, property: 'direction' },
|
|
24599
|
+
hostMinWidth: { ...host$a, property: 'min-width' },
|
|
24488
24600
|
barHeight: { ...bar, property: 'height' },
|
|
24489
24601
|
barBorderRadius: { ...bar, property: 'border-radius' },
|
|
24490
24602
|
emptyBarColor: { ...bar, property: 'background-color' },
|
|
@@ -24544,22 +24656,22 @@ const passwordStrength = {
|
|
|
24544
24656
|
}
|
|
24545
24657
|
};
|
|
24546
24658
|
|
|
24547
|
-
const vars$
|
|
24659
|
+
const vars$W = {
|
|
24548
24660
|
...compVars$6,
|
|
24549
24661
|
};
|
|
24550
24662
|
|
|
24551
24663
|
var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
24552
24664
|
__proto__: null,
|
|
24553
24665
|
default: passwordStrength,
|
|
24554
|
-
vars: vars$
|
|
24666
|
+
vars: vars$W
|
|
24555
24667
|
});
|
|
24556
24668
|
|
|
24557
24669
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02Ljc4MDcgMTQuNzI3MkM2LjM0MTYgMTUuMTIwOSA1LjY2NjYgMTUuMDg0MSA1LjI3MjggMTQuNjQ1MUM0Ljg3OTEgMTQuMjA2IDQuOTE1OSAxMy41MzA5IDUuMzU0OSAxMy4xMzcyQzUuMzU0OSAxMy4xMzcyIDEwLjk1NDMgNy45OTc4IDExLjM2IDcuNjM0QzExLjc2NTcgNy4yNzAyIDEyLjIzOTIgNy4yNzAyIDEyLjY0NDggNy42MzRMMTguNjQ1MSAxMy4xMzcyQzE5LjA4NDEgMTMuNTMwOSAxOS4xMjA5IDE0LjIwNiAxOC43MjcyIDE0LjY0NTFDMTguMzMzNCAxNS4wODQxIDE3LjY1ODQgMTUuMTIwOSAxNy4yMTkzIDE0LjcyNzJMMTIgOS44NjMyTDYuNzgwNyAxNC43MjcyWiIvPgo8L3N2Zz4K";
|
|
24558
24670
|
|
|
24559
|
-
const componentName$
|
|
24671
|
+
const componentName$j = getComponentName$1('collapsible-container');
|
|
24560
24672
|
|
|
24561
24673
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
24562
|
-
componentName: componentName$
|
|
24674
|
+
componentName: componentName$j,
|
|
24563
24675
|
baseSelector: 'slot',
|
|
24564
24676
|
}) {
|
|
24565
24677
|
static get observedAttributes() {
|
|
@@ -24810,7 +24922,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars$1(
|
|
|
24810
24922
|
{
|
|
24811
24923
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
24812
24924
|
},
|
|
24813
|
-
componentName$
|
|
24925
|
+
componentName$j,
|
|
24814
24926
|
);
|
|
24815
24927
|
|
|
24816
24928
|
const { shadowColor: shadowColor$6 } = helperRefs$4;
|
|
@@ -24911,7 +25023,7 @@ const collapsibleContainer = {
|
|
|
24911
25023
|
},
|
|
24912
25024
|
};
|
|
24913
25025
|
|
|
24914
|
-
const vars$
|
|
25026
|
+
const vars$V = {
|
|
24915
25027
|
...compVars$5,
|
|
24916
25028
|
...helperVars$4,
|
|
24917
25029
|
};
|
|
@@ -24919,10 +25031,10 @@ const vars$U = {
|
|
|
24919
25031
|
var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
24920
25032
|
__proto__: null,
|
|
24921
25033
|
default: collapsibleContainer,
|
|
24922
|
-
vars: vars$
|
|
25034
|
+
vars: vars$V
|
|
24923
25035
|
});
|
|
24924
25036
|
|
|
24925
|
-
const componentName$
|
|
25037
|
+
const componentName$i = getComponentName$1('recovery-codes');
|
|
24926
25038
|
|
|
24927
25039
|
const NO_ACTION = 'none';
|
|
24928
25040
|
const DEFAULT_ERROR_MESSAGE =
|
|
@@ -24964,7 +25076,7 @@ const itemRenderer$4 = ({ value }, _, ref) => {
|
|
|
24964
25076
|
};
|
|
24965
25077
|
|
|
24966
25078
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
24967
|
-
componentName: componentName$
|
|
25079
|
+
componentName: componentName$i,
|
|
24968
25080
|
baseSelector: ':host > div',
|
|
24969
25081
|
}) {
|
|
24970
25082
|
static get observedAttributes() {
|
|
@@ -25377,60 +25489,388 @@ const RecoveryCodesClass = compose$1(
|
|
|
25377
25489
|
)(RawRecoveryCodes);
|
|
25378
25490
|
|
|
25379
25491
|
const globalRefs$t = getThemeRefs$1(globals);
|
|
25380
|
-
const vars$
|
|
25492
|
+
const vars$U = RecoveryCodesClass.cssVarList;
|
|
25381
25493
|
const textVars$1 = TextClass.cssVarList;
|
|
25382
25494
|
|
|
25383
25495
|
const recoveryCodes = {
|
|
25384
|
-
[vars$
|
|
25385
|
-
[vars$
|
|
25386
|
-
[vars$
|
|
25387
|
-
[vars$
|
|
25496
|
+
[vars$U.hostMinWidth]: '190px',
|
|
25497
|
+
[vars$U.hostDirection]: globalRefs$t.direction,
|
|
25498
|
+
[vars$U.iconColor]: useVar$1(textVars$1.textColor),
|
|
25499
|
+
[vars$U.iconSize]: useVar$1(textVars$1.fontSize),
|
|
25388
25500
|
// gap between the codes and the icon column
|
|
25389
|
-
[vars$
|
|
25501
|
+
[vars$U.iconGap]: '8px',
|
|
25390
25502
|
// gap between the stacked copy and download icons
|
|
25391
|
-
[vars$
|
|
25503
|
+
[vars$U.iconStackGap]: '16px',
|
|
25392
25504
|
// gap between the copy and download buttons (buttons variant)
|
|
25393
|
-
[vars$
|
|
25505
|
+
[vars$U.buttonsGap]: '8px',
|
|
25394
25506
|
// gap between the codes, the error message and the buttons
|
|
25395
|
-
[vars$
|
|
25396
|
-
[vars$
|
|
25507
|
+
[vars$U.sectionsGap]: '8px',
|
|
25508
|
+
[vars$U.bulletGap]: '0.35em',
|
|
25397
25509
|
|
|
25398
25510
|
// no padding by default so the current look is unchanged; the editor overrides per instance
|
|
25399
|
-
[vars$
|
|
25400
|
-
[vars$
|
|
25511
|
+
[vars$U.verticalPadding]: '0',
|
|
25512
|
+
[vars$U.horizontalPadding]: '0',
|
|
25401
25513
|
|
|
25402
25514
|
// error ring is transparent until the component is marked invalid (see _invalid below).
|
|
25403
25515
|
// message color/font + border come from the shared input-wrapper tokens, so customizing
|
|
25404
25516
|
// inputs in the console updates the recovery-codes error styling from the same place.
|
|
25405
|
-
[vars$
|
|
25406
|
-
[vars$
|
|
25407
|
-
[vars$
|
|
25517
|
+
[vars$U.errorBorderColor]: 'transparent',
|
|
25518
|
+
[vars$U.errorBorderWidth]: refs$1.borderWidth,
|
|
25519
|
+
[vars$U.boxBorderRadius]: refs$1.borderRadius,
|
|
25408
25520
|
// local default; can later map to the input-wrapper border style if it exposes one
|
|
25409
|
-
[vars$
|
|
25410
|
-
[vars$
|
|
25411
|
-
[vars$
|
|
25412
|
-
[vars$
|
|
25413
|
-
[vars$
|
|
25521
|
+
[vars$U.boxBorderStyle]: 'solid',
|
|
25522
|
+
[vars$U.errorMessageColor]: refs$1.errorMessageTextColor,
|
|
25523
|
+
[vars$U.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
25524
|
+
[vars$U.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
|
|
25525
|
+
[vars$U.errorMessageFontFamily]: refs$1.fontFamily,
|
|
25414
25526
|
|
|
25415
25527
|
textAlign: {
|
|
25416
|
-
right: { [vars$
|
|
25417
|
-
left: { [vars$
|
|
25418
|
-
center: { [vars$
|
|
25528
|
+
right: { [vars$U.textAlign]: 'flex-end' },
|
|
25529
|
+
left: { [vars$U.textAlign]: 'flex-start' },
|
|
25530
|
+
center: { [vars$U.textAlign]: 'center' },
|
|
25419
25531
|
},
|
|
25420
25532
|
|
|
25421
25533
|
_fullWidth: {
|
|
25422
|
-
[vars$
|
|
25534
|
+
[vars$U.hostWidth]: '100%',
|
|
25423
25535
|
},
|
|
25424
25536
|
|
|
25425
25537
|
// reflected `invalid` attribute (set by the component on a failed submit)
|
|
25426
25538
|
_invalid: {
|
|
25427
|
-
[vars$
|
|
25539
|
+
[vars$U.errorBorderColor]: refs$1.errorMessageTextColor,
|
|
25428
25540
|
},
|
|
25429
25541
|
};
|
|
25430
25542
|
|
|
25431
25543
|
var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
25432
25544
|
__proto__: null,
|
|
25433
25545
|
default: recoveryCodes,
|
|
25546
|
+
vars: vars$U
|
|
25547
|
+
});
|
|
25548
|
+
|
|
25549
|
+
var desktopDeviceIconLight$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
|
|
25550
|
+
|
|
25551
|
+
var mobileDeviceIconLight$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDFIOEM2LjM0IDEgNSAyLjM0IDUgNFYyMEM1IDIxLjY2IDYuMzQgMjMgOCAyM0gxNkMxNy42NiAyMyAxOSAyMS42NiAxOSAyMFY0QzE5IDIuMzQgMTcuNjYgMSAxNiAxWk0xNyAxOEg3VjRIMTdWMThaTTE0IDIxSDEwVjIwSDE0VjIxWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
|
|
25552
|
+
|
|
25553
|
+
var tabletDeviceIconLight$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzUyNTJfNzY4KSI+CjxwYXRoIGQ9Ik0xOC41IDAuNUg0LjVDMy4xMiAwLjUgMiAxLjYyIDIgM1YyMkMyIDIzLjM4IDMuMTIgMjQuNSA0LjUgMjQuNUgxOC41QzE5Ljg4IDI0LjUgMjEgMjMuMzggMjEgMjJWM0MyMSAxLjYyIDE5Ljg4IDAuNSAxOC41IDAuNVpNMTEuNSAyMy41QzEwLjY3IDIzLjUgMTAgMjIuODMgMTAgMjJDMTAgMjEuMTcgMTAuNjcgMjAuNSAxMS41IDIwLjVDMTIuMzMgMjAuNSAxMyAyMS4xNyAxMyAyMkMxMyAyMi44MyAxMi4zMyAyMy41IDExLjUgMjMuNVpNMTkgMTkuNUg0VjMuNUgxOVYxOS41WiIgZmlsbD0iIzYzNkM3NCIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzUyNTJfNzY4Ij4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjUpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==";
|
|
25554
|
+
|
|
25555
|
+
var unknownDeviceIconLight$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNi41SDIyVjQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTcuNUgwVjIwLjVIMTRWMTcuNUg0VjYuNVpNMjMgOC41SDE3QzE2LjQ1IDguNSAxNiA4Ljk1IDE2IDkuNVYxOS41QzE2IDIwLjA1IDE2LjQ1IDIwLjUgMTcgMjAuNUgyM0MyMy41NSAyMC41IDI0IDIwLjA1IDI0IDE5LjVWOS41QzI0IDguOTUgMjMuNTUgOC41IDIzIDguNVpNMjIgMTcuNUgxOFYxMC41SDIyVjE3LjVaIiBmaWxsPSIjNjM2Qzc0Ii8+Cjwvc3ZnPgo=";
|
|
25556
|
+
|
|
25557
|
+
var desktopDeviceIconDark$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4LjVDMjEuMSAxOC41IDIxLjk5IDE3LjYgMjEuOTkgMTYuNUwyMiA2LjVDMjIgNS40IDIxLjEgNC41IDIwIDQuNUg0QzIuOSA0LjUgMiA1LjQgMiA2LjVWMTYuNUMyIDE3LjYgMi45IDE4LjUgNCAxOC41SDBWMjAuNUgyNFYxOC41SDIwWk00IDYuNUgyMFYxNi41SDRWNi41WiIgZmlsbD0iI0Y0RjVGNiIvPgo8L3N2Zz4K";
|
|
25558
|
+
|
|
25559
|
+
var mobileDeviceIconDark$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDEuNUg4QzYuMzQgMS41IDUgMi44NCA1IDQuNVYyMC41QzUgMjIuMTYgNi4zNCAyMy41IDggMjMuNUgxNkMxNy42NiAyMy41IDE5IDIyLjE2IDE5IDIwLjVWNC41QzE5IDIuODQgMTcuNjYgMS41IDE2IDEuNVpNMTcgMTguNUg3VjQuNUgxN1YxOC41Wk0xNCAyMS41SDEwVjIwLjVIMTRWMjEuNVoiIGZpbGw9IiNGNEY1RjYiLz4KPC9zdmc+Cg==";
|
|
25560
|
+
|
|
25561
|
+
var tabletDeviceIconDark$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzUzMDNfODYzKSI+CjxwYXRoIGQ9Ik0xOC41IDAuNUg0LjVDMy4xMiAwLjUgMiAxLjYyIDIgM1YyMkMyIDIzLjM4IDMuMTIgMjQuNSA0LjUgMjQuNUgxOC41QzE5Ljg4IDI0LjUgMjEgMjMuMzggMjEgMjJWM0MyMSAxLjYyIDE5Ljg4IDAuNSAxOC41IDAuNVpNMTEuNSAyMy41QzEwLjY3IDIzLjUgMTAgMjIuODMgMTAgMjJDMTAgMjEuMTcgMTAuNjcgMjAuNSAxMS41IDIwLjVDMTIuMzMgMjAuNSAxMyAyMS4xNyAxMyAyMkMxMyAyMi44MyAxMi4zMyAyMy41IDExLjUgMjMuNVpNMTkgMTkuNUg0VjMuNUgxOVYxOS41WiIgZmlsbD0iI0Y0RjVGNiIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzUzMDNfODYzIj4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjUpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==";
|
|
25562
|
+
|
|
25563
|
+
var unknownDeviceIconDark$1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkgyMlY0SDRDMi45IDQgMiA0LjkgMiA2VjE3SDBWMjBIMTRWMTdINFY2Wk0yMyA4SDE3QzE2LjQ1IDggMTYgOC40NSAxNiA5VjE5QzE2IDE5LjU1IDE2LjQ1IDIwIDE3IDIwSDIzQzIzLjU1IDIwIDI0IDE5LjU1IDI0IDE5VjlDMjQgOC40NSAyMy41NSA4IDIzIDhaTTIyIDE3SDE4VjEwSDIyVjE3WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==";
|
|
25564
|
+
|
|
25565
|
+
// Same four device types userservice records. A session created before those columns existed
|
|
25566
|
+
// carries an empty type, so everything unrecognised falls back to the unknown icon rather than
|
|
25567
|
+
// rendering a broken image.
|
|
25568
|
+
const deviceIconMap$1 = {
|
|
25569
|
+
desktop: { light: desktopDeviceIconLight$1, dark: desktopDeviceIconDark$1 },
|
|
25570
|
+
mobile: { light: mobileDeviceIconLight$1, dark: mobileDeviceIconDark$1 },
|
|
25571
|
+
tablet: { light: tabletDeviceIconLight$1, dark: tabletDeviceIconDark$1 },
|
|
25572
|
+
unknown: { light: unknownDeviceIconLight$1, dark: unknownDeviceIconDark$1 },
|
|
25573
|
+
};
|
|
25574
|
+
|
|
25575
|
+
const getDeviceIcon$1 = (deviceType) => {
|
|
25576
|
+
const icon = deviceIconMap$1[deviceType] || deviceIconMap$1.unknown;
|
|
25577
|
+
return { iconSrc: icon.light, iconSrcDark: icon.dark };
|
|
25578
|
+
};
|
|
25579
|
+
|
|
25580
|
+
// "Tel Aviv, IL". Either half may be missing - geo lookup is best effort - so show whichever we
|
|
25581
|
+
// have, and nothing at all when we have neither.
|
|
25582
|
+
const formatLocation = ({ country, city }) =>
|
|
25583
|
+
[city, country].filter(Boolean).join(', ');
|
|
25584
|
+
|
|
25585
|
+
// The login time arrives as epoch SECONDS (userservice stores it that way and the flow passes it
|
|
25586
|
+
// through untouched), while Date wants milliseconds. Getting this wrong shows 1970.
|
|
25587
|
+
const SECONDS_TO_MS = 1000;
|
|
25588
|
+
|
|
25589
|
+
// Rendered in the viewer's own locale and timezone rather than a fixed order, so the same session
|
|
25590
|
+
// reads correctly for someone in Tel Aviv and someone in New York. The offset is spelled out
|
|
25591
|
+
// because the point of this list is telling two of your own sessions apart, and the hour is what
|
|
25592
|
+
// does that.
|
|
25593
|
+
const formatLastLogin = (loginTime) => {
|
|
25594
|
+
const seconds = parseInt(loginTime, 10);
|
|
25595
|
+
if (Number.isNaN(seconds) || seconds <= 0) return '';
|
|
25596
|
+
|
|
25597
|
+
const date = new Date(seconds * SECONDS_TO_MS);
|
|
25598
|
+
// Spelled out as individual components rather than dateStyle/timeStyle: Intl rejects mixing
|
|
25599
|
+
// those with timeZoneName, and the rejection is a throw, so the offset would be silently lost to
|
|
25600
|
+
// the fallback below.
|
|
25601
|
+
const parts = {
|
|
25602
|
+
year: 'numeric',
|
|
25603
|
+
month: '2-digit',
|
|
25604
|
+
day: '2-digit',
|
|
25605
|
+
hour: '2-digit',
|
|
25606
|
+
minute: '2-digit',
|
|
25607
|
+
};
|
|
25608
|
+
try {
|
|
25609
|
+
return date.toLocaleString(undefined, {
|
|
25610
|
+
...parts,
|
|
25611
|
+
timeZoneName: 'shortOffset',
|
|
25612
|
+
});
|
|
25613
|
+
} catch {
|
|
25614
|
+
// `shortOffset` is not understood everywhere; the time matters more than the offset.
|
|
25615
|
+
return date.toLocaleString(undefined, parts);
|
|
25616
|
+
}
|
|
25617
|
+
};
|
|
25618
|
+
|
|
25619
|
+
const componentName$h = getComponentName$1('active-sessions');
|
|
25620
|
+
|
|
25621
|
+
const comboBoxName = MultiSelectComboBoxClass.componentName;
|
|
25622
|
+
|
|
25623
|
+
// Structure only, handed to the portal mixin below, which writes it into the overlay root
|
|
25624
|
+
// alongside the themeable mappings. These are the rules no theme should change, and they have to
|
|
25625
|
+
// be a stylesheet because a `style` attribute would be dropped by the flow runtime's CSP.
|
|
25626
|
+
const OVERLAY_ITEM_STYLE = `
|
|
25627
|
+
.session {
|
|
25628
|
+
display: flex;
|
|
25629
|
+
flex-direction: column;
|
|
25630
|
+
}
|
|
25631
|
+
/* descope-text and its slot are both inline-blocks, which would leave a baseline gap under the
|
|
25632
|
+
title and widen the space to the location line. */
|
|
25633
|
+
.session .device descope-text,
|
|
25634
|
+
.session .device descope-text::part(text-wrapper) {
|
|
25635
|
+
display: block;
|
|
25636
|
+
}
|
|
25637
|
+
/* The flex row has to sit inside descope-text, not around it: descope-text slots its children,
|
|
25638
|
+
so a container outside would only ever see the slot as its single item. */
|
|
25639
|
+
.session .device-row {
|
|
25640
|
+
display: flex;
|
|
25641
|
+
align-items: center;
|
|
25642
|
+
}
|
|
25643
|
+
.session .device-icon {
|
|
25644
|
+
width: 1em;
|
|
25645
|
+
height: 1em;
|
|
25646
|
+
flex-shrink: 0;
|
|
25647
|
+
}
|
|
25648
|
+
`;
|
|
25649
|
+
|
|
25650
|
+
// None of the shadow roots down to the rows exists on the first tick. `waitForShadowRoot` is the
|
|
25651
|
+
// same wait `portalMixin` uses, and it resolves the element rather than a root when it gives up,
|
|
25652
|
+
// so anything that is not a shadow root means stop.
|
|
25653
|
+
const shadowRootOf = async (ele) => {
|
|
25654
|
+
if (!ele) return null;
|
|
25655
|
+
const root = await waitForShadowRoot$1(() => ele)();
|
|
25656
|
+
return root instanceof ShadowRoot ? root : null;
|
|
25657
|
+
};
|
|
25658
|
+
|
|
25659
|
+
// From the combo box's shadow root down to the element whose own root holds the rows.
|
|
25660
|
+
// the portal mixin takes it as its selector and writes both its mappings and the static css there.
|
|
25661
|
+
const findOverlayElement = async (comboBoxRoot) => {
|
|
25662
|
+
const vaadinRoot = await shadowRootOf(
|
|
25663
|
+
comboBoxRoot?.querySelector('vaadin-multi-select-combo-box'),
|
|
25664
|
+
);
|
|
25665
|
+
return vaadinRoot?.querySelector('vaadin-multi-select-combo-box-internal');
|
|
25666
|
+
};
|
|
25667
|
+
|
|
25668
|
+
// The row's shape, written once as markup so it reads like the thing it produces. Every value is
|
|
25669
|
+
// filled in afterwards with textContent and setAttribute: the combo box assigns the result to
|
|
25670
|
+
// innerHTML, and `deviceName` comes from a user agent the client controls, so interpolating it
|
|
25671
|
+
// into this string would be an HTML injection.
|
|
25672
|
+
// Built on first render rather than at import. This module is the `./class` entry, which has to
|
|
25673
|
+
// stay free of side effects so a server with no `document` can import the bundle.
|
|
25674
|
+
let rowTemplate;
|
|
25675
|
+
const getRowTemplate = () => {
|
|
25676
|
+
if (rowTemplate) return rowTemplate;
|
|
25677
|
+
|
|
25678
|
+
rowTemplate = document.createElement('template');
|
|
25679
|
+
rowTemplate.innerHTML = `
|
|
25680
|
+
<div class="session">
|
|
25681
|
+
<div class="device">
|
|
25682
|
+
<descope-text variant="body1" mode="primary" st-font-size="1em">
|
|
25683
|
+
<div class="device-row">
|
|
25684
|
+
<descope-icon class="device-icon" aria-hidden="true"></descope-icon>
|
|
25685
|
+
<span class="device-name"></span>
|
|
25686
|
+
</div>
|
|
25687
|
+
</descope-text>
|
|
25688
|
+
</div>
|
|
25689
|
+
<div class="location">
|
|
25690
|
+
<descope-text
|
|
25691
|
+
variant="body2"
|
|
25692
|
+
mode="secondary"
|
|
25693
|
+
st-font-size="0.875em"
|
|
25694
|
+
></descope-text>
|
|
25695
|
+
</div>
|
|
25696
|
+
<div class="last-login">
|
|
25697
|
+
<descope-text
|
|
25698
|
+
variant="body2"
|
|
25699
|
+
mode="secondary"
|
|
25700
|
+
st-font-size="0.875em"
|
|
25701
|
+
></descope-text>
|
|
25702
|
+
</div>
|
|
25703
|
+
</div>
|
|
25704
|
+
`;
|
|
25705
|
+
|
|
25706
|
+
return rowTemplate;
|
|
25707
|
+
};
|
|
25708
|
+
|
|
25709
|
+
const renderItem =
|
|
25710
|
+
(ref) =>
|
|
25711
|
+
({ value, deviceName, deviceType, city, country, loginTime } = {}) => {
|
|
25712
|
+
const name = deviceName || ref.unknownDeviceLabel;
|
|
25713
|
+
const row = getRowTemplate().content.cloneNode(true).firstElementChild;
|
|
25714
|
+
|
|
25715
|
+
row.setAttribute('data-id', value ?? '');
|
|
25716
|
+
// The chip shows this once the row is picked.
|
|
25717
|
+
row.setAttribute('data-name', name);
|
|
25718
|
+
|
|
25719
|
+
row.querySelector('.device-name').textContent = name;
|
|
25720
|
+
|
|
25721
|
+
const { iconSrc, iconSrcDark } = getDeviceIcon$1(deviceType);
|
|
25722
|
+
const icon = row.querySelector('.device-icon');
|
|
25723
|
+
icon.setAttribute('src', iconSrc);
|
|
25724
|
+
icon.setAttribute('src-dark', iconSrcDark);
|
|
25725
|
+
|
|
25726
|
+
// Both detail lines are optional, and an empty one would still take up space, so the line is
|
|
25727
|
+
// removed rather than left blank.
|
|
25728
|
+
const fill = (selector, text) => {
|
|
25729
|
+
const ele = row.querySelector(selector);
|
|
25730
|
+
if (text) ele.firstElementChild.textContent = text;
|
|
25731
|
+
else ele.remove();
|
|
25732
|
+
};
|
|
25733
|
+
|
|
25734
|
+
fill('.location', formatLocation({ country, city }));
|
|
25735
|
+
|
|
25736
|
+
const lastLogin = formatLastLogin(loginTime);
|
|
25737
|
+
fill(
|
|
25738
|
+
'.last-login',
|
|
25739
|
+
lastLogin && ref.lastLoginLabel
|
|
25740
|
+
? `${ref.lastLoginLabel} ${lastLogin}`
|
|
25741
|
+
: lastLogin,
|
|
25742
|
+
);
|
|
25743
|
+
|
|
25744
|
+
return row.outerHTML;
|
|
25745
|
+
};
|
|
25746
|
+
|
|
25747
|
+
const customMixin$1 = (superclass) =>
|
|
25748
|
+
class ActiveSessionsMixinClass extends superclass {
|
|
25749
|
+
get lastLoginLabel() {
|
|
25750
|
+
return this.getAttribute('last-login-label') ?? 'Last login:';
|
|
25751
|
+
}
|
|
25752
|
+
|
|
25753
|
+
get unknownDeviceLabel() {
|
|
25754
|
+
return this.getAttribute('unknown-device-label') ?? 'Unknown device';
|
|
25755
|
+
}
|
|
25756
|
+
|
|
25757
|
+
init() {
|
|
25758
|
+
super.init?.();
|
|
25759
|
+
|
|
25760
|
+
this.inputElement = this.baseElement;
|
|
25761
|
+
|
|
25762
|
+
// Set before any `data` arrives, so the list is never painted with the stock one-line rows
|
|
25763
|
+
// first. The SDK sets `data` on a detached fragment, so that first paint is the real one.
|
|
25764
|
+
this.inputElement.renderItem = renderItem(this);
|
|
25765
|
+
|
|
25766
|
+
// The picker never invents a session, so a typed value must not become one.
|
|
25767
|
+
this.inputElement.setAttribute('allow-custom-value', 'false');
|
|
25768
|
+
this.inputElement.setAttribute('item-label-path', 'data-name');
|
|
25769
|
+
this.inputElement.setAttribute('item-value-path', 'data-id');
|
|
25770
|
+
}
|
|
25771
|
+
};
|
|
25772
|
+
|
|
25773
|
+
const host$9 = { selector: () => ':host' };
|
|
25774
|
+
const comboBox = { selector: () => comboBoxName };
|
|
25775
|
+
|
|
25776
|
+
// Only the knobs that can actually reach their target. The dropdown row's themeable values are
|
|
25777
|
+
// mapped through the portal below, which writes its rules into the overlay root. Better a small
|
|
25778
|
+
// honest set of variables than knobs that silently do nothing.
|
|
25779
|
+
const ActiveSessionsClass = compose$1(
|
|
25780
|
+
createStyleMixin$1({
|
|
25781
|
+
mappings: {
|
|
25782
|
+
hostWidth: [
|
|
25783
|
+
{ ...host$9, property: 'width' },
|
|
25784
|
+
{
|
|
25785
|
+
...comboBox,
|
|
25786
|
+
property: MultiSelectComboBoxClass.cssVarList.hostWidth,
|
|
25787
|
+
},
|
|
25788
|
+
],
|
|
25789
|
+
hostDirection: [
|
|
25790
|
+
{ ...host$9, property: 'direction' },
|
|
25791
|
+
{
|
|
25792
|
+
...comboBox,
|
|
25793
|
+
property: MultiSelectComboBoxClass.cssVarList.hostDirection,
|
|
25794
|
+
},
|
|
25795
|
+
],
|
|
25796
|
+
},
|
|
25797
|
+
}),
|
|
25798
|
+
draggableMixin$1,
|
|
25799
|
+
// The rows are drawn four shadow roots down, deeper than a query string reaches, so the portal
|
|
25800
|
+
// is found with a function. This puts their themeable values through the normal mapping path:
|
|
25801
|
+
// the style mixin writes its rules into that same root. Nothing is forwarded, because the
|
|
25802
|
+
// element there is vaadin's internal, not a copy of this host, and attributes like `data` would
|
|
25803
|
+
// stop the list rendering.
|
|
25804
|
+
portalMixin$1({
|
|
25805
|
+
name: 'overlay',
|
|
25806
|
+
forward: false,
|
|
25807
|
+
selector: findOverlayElement,
|
|
25808
|
+
style: OVERLAY_ITEM_STYLE,
|
|
25809
|
+
mappings: {
|
|
25810
|
+
rowGap: { selector: '.session', property: 'gap' },
|
|
25811
|
+
deviceRowGap: { selector: '.device-row', property: 'gap' },
|
|
25812
|
+
},
|
|
25813
|
+
}),
|
|
25814
|
+
composedProxyInputMixin$1({
|
|
25815
|
+
proxyProps: ['value'],
|
|
25816
|
+
inputEvent: 'change',
|
|
25817
|
+
proxyParentValidation: true,
|
|
25818
|
+
}),
|
|
25819
|
+
componentNameValidationMixin$1,
|
|
25820
|
+
customMixin$1,
|
|
25821
|
+
)(
|
|
25822
|
+
createProxy$1({
|
|
25823
|
+
slots: [],
|
|
25824
|
+
// The combo box is wrapped directly. It draws its own label, so there is nothing for an outer
|
|
25825
|
+
// field element to add here, and its label follows the input theme instead of vaadin's.
|
|
25826
|
+
wrappedEleName: comboBoxName,
|
|
25827
|
+
style: () => `
|
|
25828
|
+
:host {
|
|
25829
|
+
display: inline-flex;
|
|
25830
|
+
max-width: 100%;
|
|
25831
|
+
}
|
|
25832
|
+
${comboBoxName} {
|
|
25833
|
+
width: 100%;
|
|
25834
|
+
max-width: 100%;
|
|
25835
|
+
}
|
|
25836
|
+
`,
|
|
25837
|
+
// `name` stays on the host only: that is the element the SDK collects the value from, and a
|
|
25838
|
+
// second match would post the field twice. `error-message` deliberately does reach the combo
|
|
25839
|
+
// box, which is what draws the message under the field. Without it the field only turns red
|
|
25840
|
+
// and the browser's own bubble appears instead.
|
|
25841
|
+
// `class` must not sync: the wrapped element carries its own component classes, and syncing
|
|
25842
|
+
// is two way, so they would land on the host and push off `descope-active-sessions`. Every
|
|
25843
|
+
// theme rule is written as `:host(.descope-active-sessions...)`, so losing that class turns
|
|
25844
|
+
// off all of this component's theming, direction included. descope-apps-list excludes it for
|
|
25845
|
+
// the same reason.
|
|
25846
|
+
excludeAttrsSync: ['tabindex', 'style', 'name', 'class'],
|
|
25847
|
+
componentName: componentName$h,
|
|
25848
|
+
}),
|
|
25849
|
+
);
|
|
25850
|
+
|
|
25851
|
+
const vars$T = ActiveSessionsClass.cssVarList;
|
|
25852
|
+
|
|
25853
|
+
// The dropdown rows are styled by the stylesheet `ActiveSessionsClass` adopts into vaadin's
|
|
25854
|
+
// overlay root (`OVERLAY_ITEM_STYLE`), which no theme variable reaches. A `style` attribute would
|
|
25855
|
+
// not work there either, because the flow runtime's CSP drops it. What is left to theme here is
|
|
25856
|
+
// the field itself.
|
|
25857
|
+
const activeSessions = {
|
|
25858
|
+
[vars$T.hostWidth]: refs$1.width,
|
|
25859
|
+
[vars$T.hostDirection]: refs$1.direction,
|
|
25860
|
+
|
|
25861
|
+
// Spacing inside a dropdown row. These reach the row as custom properties, because the rows are
|
|
25862
|
+
// rendered inside vaadin's overlay where no selector from here applies.
|
|
25863
|
+
[vars$T.overlay.rowGap]: '0.125em',
|
|
25864
|
+
[vars$T.overlay.deviceRowGap]: '0.5em',
|
|
25865
|
+
|
|
25866
|
+
_fullWidth: {
|
|
25867
|
+
[vars$T.hostWidth]: '100%',
|
|
25868
|
+
},
|
|
25869
|
+
};
|
|
25870
|
+
|
|
25871
|
+
var activeSessions$1 = /*#__PURE__*/Object.freeze({
|
|
25872
|
+
__proto__: null,
|
|
25873
|
+
default: activeSessions,
|
|
25434
25874
|
vars: vars$T
|
|
25435
25875
|
});
|
|
25436
25876
|
|
|
@@ -33319,7 +33759,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
|
33319
33759
|
horizontalAlignment,
|
|
33320
33760
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
33321
33761
|
},
|
|
33322
|
-
componentName$
|
|
33762
|
+
componentName$1r
|
|
33323
33763
|
);
|
|
33324
33764
|
|
|
33325
33765
|
const { shadowColor: shadowColor$2 } = helperRefs$2;
|
|
@@ -33475,7 +33915,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
|
33475
33915
|
thickness: '2px',
|
|
33476
33916
|
spacing: '10px',
|
|
33477
33917
|
},
|
|
33478
|
-
componentName$
|
|
33918
|
+
componentName$1j
|
|
33479
33919
|
);
|
|
33480
33920
|
|
|
33481
33921
|
const divider = {
|
|
@@ -33629,7 +34069,7 @@ const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
|
|
33629
34069
|
},
|
|
33630
34070
|
},
|
|
33631
34071
|
},
|
|
33632
|
-
componentName$
|
|
34072
|
+
componentName$1s
|
|
33633
34073
|
);
|
|
33634
34074
|
|
|
33635
34075
|
const loaderRadial = {
|
|
@@ -34721,7 +35161,7 @@ const alert = {
|
|
|
34721
35161
|
[vars$2.horizontalPadding]: '0',
|
|
34722
35162
|
[vars$2.verticalPadding]: '0',
|
|
34723
35163
|
[vars$2.gap]: `0.5em`,
|
|
34724
|
-
[vars$2.fontSize]: useVar(vars$
|
|
35164
|
+
[vars$2.fontSize]: useVar(vars$1b.fontSize),
|
|
34725
35165
|
|
|
34726
35166
|
mode: {
|
|
34727
35167
|
error: {
|
|
@@ -34832,7 +35272,7 @@ const components = {
|
|
|
34832
35272
|
passcode: passcode$1,
|
|
34833
35273
|
loaderRadial: loaderRadial$1,
|
|
34834
35274
|
loaderLinear: loaderLinear$1,
|
|
34835
|
-
comboBox: comboBox$
|
|
35275
|
+
comboBox: comboBox$2,
|
|
34836
35276
|
phoneField: phoneField$1,
|
|
34837
35277
|
phoneInputBoxField: phoneInputBoxField$1,
|
|
34838
35278
|
newPassword: newPassword$1,
|
|
@@ -34879,6 +35319,7 @@ const components = {
|
|
|
34879
35319
|
passwordStrength: passwordStrength$1,
|
|
34880
35320
|
collapsibleContainer: collapsibleContainer$1,
|
|
34881
35321
|
recoveryCodes: recoveryCodes$1,
|
|
35322
|
+
activeSessions: activeSessions$1,
|
|
34882
35323
|
hcaptcha: hcaptcha$1,
|
|
34883
35324
|
outboundApps: outboundApps$1,
|
|
34884
35325
|
outboundAppButton: outboundAppButton$1,
|
|
@@ -34900,7 +35341,7 @@ const vars = Object.keys(components).reduce(
|
|
|
34900
35341
|
);
|
|
34901
35342
|
|
|
34902
35343
|
const defaultTheme = { globals: globals$1, components: theme };
|
|
34903
|
-
const themeVars = { globals: vars$
|
|
35344
|
+
const themeVars = { globals: vars$1d, components: vars };
|
|
34904
35345
|
|
|
34905
35346
|
const colors = {
|
|
34906
35347
|
surface: {
|
|
@@ -34956,13 +35397,17 @@ const darkTheme = merge({}, defaultTheme, {
|
|
|
34956
35397
|
},
|
|
34957
35398
|
});
|
|
34958
35399
|
|
|
34959
|
-
customElements.define(componentName$
|
|
35400
|
+
customElements.define(componentName$s, MultiSelectComboBoxClass);
|
|
35401
|
+
|
|
35402
|
+
customElements.define(componentName$h, ActiveSessionsClass);
|
|
34960
35403
|
|
|
34961
|
-
customElements.define(componentName$
|
|
35404
|
+
customElements.define(componentName$q, AutocompleteFieldInternal);
|
|
34962
35405
|
|
|
34963
|
-
customElements.define(componentName$
|
|
35406
|
+
customElements.define(componentName$p, AutocompleteFieldClass);
|
|
34964
35407
|
|
|
34965
|
-
customElements.define(componentName$
|
|
35408
|
+
customElements.define(componentName$o, AddressFieldInternal);
|
|
35409
|
+
|
|
35410
|
+
customElements.define(componentName$n, AddressFieldClass);
|
|
34966
35411
|
|
|
34967
35412
|
const componentName$1 = getComponentName$1('anchored');
|
|
34968
35413
|
|
|
@@ -35161,20 +35606,18 @@ const AnchoredClass = compose$1(componentNameValidationMixin$1)(RawAnchored);
|
|
|
35161
35606
|
|
|
35162
35607
|
customElements.define(componentName$1, AnchoredClass);
|
|
35163
35608
|
|
|
35164
|
-
customElements.define(componentName$
|
|
35609
|
+
customElements.define(componentName$u, AvatarClass);
|
|
35165
35610
|
|
|
35166
|
-
customElements.define(componentName$
|
|
35611
|
+
customElements.define(componentName$t, AppsListClass);
|
|
35167
35612
|
|
|
35168
35613
|
customElements.define(componentName$9, AttachmentClass);
|
|
35169
35614
|
|
|
35170
|
-
customElements.define(componentName$
|
|
35615
|
+
customElements.define(componentName$j, CollapsibleContainerClass);
|
|
35171
35616
|
|
|
35172
35617
|
customElements.define(componentName$b, CountrySubdivisionCityFieldInternal);
|
|
35173
35618
|
|
|
35174
35619
|
customElements.define(componentName$a, CountrySubdivisionCityFieldClass);
|
|
35175
35620
|
|
|
35176
|
-
customElements.define(componentName$r, MultiSelectComboBoxClass);
|
|
35177
|
-
|
|
35178
35621
|
customElements.define(componentName$5, FilterRowClass);
|
|
35179
35622
|
|
|
35180
35623
|
customElements.define(componentName$4, FilterRowsClass);
|
|
@@ -35185,7 +35628,7 @@ customElements.define(componentName$6, MonthDayFieldPickerClass);
|
|
|
35185
35628
|
|
|
35186
35629
|
customElements.define(componentName$7, MonthDayFieldClass);
|
|
35187
35630
|
|
|
35188
|
-
customElements.define(componentName$
|
|
35631
|
+
customElements.define(componentName$r, MultiLineMappingsClass);
|
|
35189
35632
|
|
|
35190
35633
|
customElements.define(componentName$d, MultiSsoClass);
|
|
35191
35634
|
|
|
@@ -35193,12 +35636,12 @@ customElements.define(componentName$f, OutboundAppButtonClass);
|
|
|
35193
35636
|
|
|
35194
35637
|
customElements.define(componentName$g, OutboundAppsClass);
|
|
35195
35638
|
|
|
35196
|
-
customElements.define(componentName$
|
|
35639
|
+
customElements.define(componentName$k, PasswordStrengthClass);
|
|
35197
35640
|
|
|
35198
35641
|
var index = /*#__PURE__*/Object.freeze({
|
|
35199
35642
|
__proto__: null,
|
|
35200
35643
|
PasswordStrengthClass: PasswordStrengthClass,
|
|
35201
|
-
componentName: componentName$
|
|
35644
|
+
componentName: componentName$k
|
|
35202
35645
|
});
|
|
35203
35646
|
|
|
35204
35647
|
// NOTICE: This component registers with a DIFFERENT name than its file name
|
|
@@ -35305,11 +35748,11 @@ const HoneypotClass = compose$1(componentNameValidationMixin$1)(RawHoneypot);
|
|
|
35305
35748
|
|
|
35306
35749
|
customElements.define(componentName, HoneypotClass);
|
|
35307
35750
|
|
|
35308
|
-
customElements.define(componentName$
|
|
35751
|
+
customElements.define(componentName$i, RecoveryCodesClass);
|
|
35309
35752
|
|
|
35310
|
-
customElements.define(componentName$
|
|
35753
|
+
customElements.define(componentName$m, TimerClass);
|
|
35311
35754
|
|
|
35312
|
-
customElements.define(componentName$
|
|
35755
|
+
customElements.define(componentName$l, TimerButtonClass);
|
|
35313
35756
|
|
|
35314
35757
|
customElements.define(componentName$c, TooltipClass);
|
|
35315
35758
|
|
|
@@ -35333,5 +35776,5 @@ var calcScore = /*#__PURE__*/Object.freeze({
|
|
|
35333
35776
|
options: options
|
|
35334
35777
|
});
|
|
35335
35778
|
|
|
35336
|
-
export { AddressFieldClass, AlertClass, AnchoredClass, AppsListClass, AttachmentClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, CountrySubdivisionCityFieldClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, FilterClass, GridClass, HcaptchaClass, HoneypotClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MonthDayFieldClass, MonthDayFieldPickerClass, MultiLineMappingsClass, MultiSelectComboBoxClass, MultiSsoClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, UserPasskeysClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
|
35779
|
+
export { ActiveSessionsClass, AddressFieldClass, AlertClass, AnchoredClass, AppsListClass, AttachmentClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, CountrySubdivisionCityFieldClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, FilterClass, GridClass, HcaptchaClass, HoneypotClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MonthDayFieldClass, MonthDayFieldPickerClass, MultiLineMappingsClass, MultiSelectComboBoxClass, MultiSsoClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, UserPasskeysClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
|
|
35337
35780
|
//# sourceMappingURL=index.esm.js.map
|