@descope/flow-components 3.1.13 → 3.2.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/fm/222.js +1 -1
- package/dist/fm/222.js.map +1 -1
- package/dist/fm/467.js +2 -2
- package/dist/fm/467.js.LICENSE.txt +1 -1
- package/dist/fm/467.js.map +1 -1
- package/dist/fm/477.js +2 -0
- package/dist/fm/477.js.map +1 -0
- package/dist/fm/985.js +1 -1
- package/dist/fm/985.js.map +1 -1
- package/dist/fm/@mf-types/compiled-types/Attachment/Attachment.d.ts +21 -0
- package/dist/fm/@mf-types/compiled-types/Attachment/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/Badge/Badge.d.ts +3 -1
- package/dist/fm/@mf-types/compiled-types/LastAuthBadge/LastAuthBadge.d.ts +10 -0
- package/dist/fm/@mf-types/compiled-types/LastAuthBadge/index.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/componentClasses.d.ts +1 -0
- package/dist/fm/@mf-types/compiled-types/components.d.ts +2 -0
- package/dist/fm/__federation_expose_componentClasses.js +1 -1
- package/dist/fm/__federation_expose_componentClasses.js.map +1 -1
- package/dist/fm/__federation_expose_components.js +1 -1
- package/dist/fm/__federation_expose_theme.js +1 -1
- package/dist/fm/__federation_expose_theme.js.map +1 -1
- package/dist/fm/flowComponents.js +1 -1
- package/dist/fm/flowComponents.js.map +1 -1
- package/dist/fm/main.js +1 -1
- package/dist/fm/main.js.map +1 -1
- package/dist/fm/mf-manifest.json +2 -2
- package/dist/fm/mf-stats.json +2 -2
- package/dist/index.cjs.js +806 -515
- package/dist/index.d.ts +166 -134
- package/dist/index.esm.js +13 -3
- package/dist/types/Attachment/Attachment.d.ts +21 -0
- package/dist/types/Attachment/index.d.ts +1 -0
- package/dist/types/Badge/Badge.d.ts +3 -1
- package/dist/types/LastAuthBadge/LastAuthBadge.d.ts +10 -0
- package/dist/types/LastAuthBadge/index.d.ts +1 -0
- package/dist/types/componentClasses.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +2 -2
- package/dist/fm/119.js +0 -2
- package/dist/fm/119.js.map +0 -1
package/dist/index.cjs.js
CHANGED
|
@@ -4396,7 +4396,7 @@ function requireColor () {
|
|
|
4396
4396
|
return color;
|
|
4397
4397
|
}
|
|
4398
4398
|
|
|
4399
|
-
/*! @license DOMPurify 3.
|
|
4399
|
+
/*! @license DOMPurify 3.4.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.0/LICENSE */
|
|
4400
4400
|
|
|
4401
4401
|
var purify_cjs;
|
|
4402
4402
|
var hasRequiredPurify_cjs;
|
|
@@ -4604,7 +4604,7 @@ function requirePurify_cjs () {
|
|
|
4604
4604
|
|
|
4605
4605
|
const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'exportparts', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inert', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'part', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'slot', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
|
|
4606
4606
|
const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'mask-type', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
|
|
4607
|
-
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', '
|
|
4607
|
+
const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lquote', 'lspace', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
|
|
4608
4608
|
const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
|
|
4609
4609
|
|
|
4610
4610
|
// eslint-disable-next-line unicorn/better-regex
|
|
@@ -4701,7 +4701,7 @@ function requirePurify_cjs () {
|
|
|
4701
4701
|
function createDOMPurify() {
|
|
4702
4702
|
let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
|
|
4703
4703
|
const DOMPurify = root => createDOMPurify(root);
|
|
4704
|
-
DOMPurify.version = '3.
|
|
4704
|
+
DOMPurify.version = '3.4.0';
|
|
4705
4705
|
DOMPurify.removed = [];
|
|
4706
4706
|
if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
|
|
4707
4707
|
// Not running in a browser, provide a factory function
|
|
@@ -4977,7 +4977,7 @@ function requirePurify_cjs () {
|
|
|
4977
4977
|
NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
|
|
4978
4978
|
MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
|
|
4979
4979
|
HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
|
|
4980
|
-
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING ||
|
|
4980
|
+
CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || create(null);
|
|
4981
4981
|
if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
|
|
4982
4982
|
CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
|
|
4983
4983
|
}
|
|
@@ -5017,13 +5017,10 @@ function requirePurify_cjs () {
|
|
|
5017
5017
|
addToSet(ALLOWED_ATTR, xml);
|
|
5018
5018
|
}
|
|
5019
5019
|
}
|
|
5020
|
-
/*
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
|
|
5025
|
-
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
5026
|
-
}
|
|
5020
|
+
/* Always reset function-based ADD_TAGS / ADD_ATTR checks to prevent
|
|
5021
|
+
* leaking across calls when switching from function to array config */
|
|
5022
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = null;
|
|
5023
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = null;
|
|
5027
5024
|
/* Merge configuration parameters */
|
|
5028
5025
|
if (cfg.ADD_TAGS) {
|
|
5029
5026
|
if (typeof cfg.ADD_TAGS === 'function') {
|
|
@@ -5346,6 +5343,11 @@ function requirePurify_cjs () {
|
|
|
5346
5343
|
_forceRemove(currentNode);
|
|
5347
5344
|
return true;
|
|
5348
5345
|
}
|
|
5346
|
+
/* Remove risky CSS construction leading to mXSS */
|
|
5347
|
+
if (SAFE_FOR_XML && currentNode.namespaceURI === HTML_NAMESPACE && tagName === 'style' && _isNode(currentNode.firstElementChild)) {
|
|
5348
|
+
_forceRemove(currentNode);
|
|
5349
|
+
return true;
|
|
5350
|
+
}
|
|
5349
5351
|
/* Remove any occurrence of processing instructions */
|
|
5350
5352
|
if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
|
|
5351
5353
|
_forceRemove(currentNode);
|
|
@@ -5357,7 +5359,7 @@ function requirePurify_cjs () {
|
|
|
5357
5359
|
return true;
|
|
5358
5360
|
}
|
|
5359
5361
|
/* Remove element if anything forbids its presence */
|
|
5360
|
-
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) &&
|
|
5362
|
+
if (FORBID_TAGS[tagName] || !(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && !ALLOWED_TAGS[tagName]) {
|
|
5361
5363
|
/* Check if we have a custom element to handle */
|
|
5362
5364
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
5363
5365
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
@@ -5596,7 +5598,7 @@ function requirePurify_cjs () {
|
|
|
5596
5598
|
*
|
|
5597
5599
|
* @param fragment to iterate over recursively
|
|
5598
5600
|
*/
|
|
5599
|
-
const
|
|
5601
|
+
const _sanitizeShadowDOM2 = function _sanitizeShadowDOM(fragment) {
|
|
5600
5602
|
let shadowNode = null;
|
|
5601
5603
|
const shadowIterator = _createNodeIterator(fragment);
|
|
5602
5604
|
/* Execute a hook if present */
|
|
@@ -5610,7 +5612,7 @@ function requirePurify_cjs () {
|
|
|
5610
5612
|
_sanitizeAttributes(shadowNode);
|
|
5611
5613
|
/* Deep shadow DOM detected */
|
|
5612
5614
|
if (shadowNode.content instanceof DocumentFragment) {
|
|
5613
|
-
|
|
5615
|
+
_sanitizeShadowDOM2(shadowNode.content);
|
|
5614
5616
|
}
|
|
5615
5617
|
}
|
|
5616
5618
|
/* Execute a hook if present */
|
|
@@ -5705,7 +5707,7 @@ function requirePurify_cjs () {
|
|
|
5705
5707
|
_sanitizeAttributes(currentNode);
|
|
5706
5708
|
/* Shadow DOM detected, sanitize it */
|
|
5707
5709
|
if (currentNode.content instanceof DocumentFragment) {
|
|
5708
|
-
|
|
5710
|
+
_sanitizeShadowDOM2(currentNode.content);
|
|
5709
5711
|
}
|
|
5710
5712
|
}
|
|
5711
5713
|
/* If we sanitized `dirty` in-place, return it. */
|
|
@@ -5714,6 +5716,14 @@ function requirePurify_cjs () {
|
|
|
5714
5716
|
}
|
|
5715
5717
|
/* Return sanitized string or DOM */
|
|
5716
5718
|
if (RETURN_DOM) {
|
|
5719
|
+
if (SAFE_FOR_TEMPLATES) {
|
|
5720
|
+
body.normalize();
|
|
5721
|
+
let html = body.innerHTML;
|
|
5722
|
+
arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
|
|
5723
|
+
html = stringReplace(html, expr, ' ');
|
|
5724
|
+
});
|
|
5725
|
+
body.innerHTML = html;
|
|
5726
|
+
}
|
|
5717
5727
|
if (RETURN_DOM_FRAGMENT) {
|
|
5718
5728
|
returnNode = createDocumentFragment.call(body.ownerDocument);
|
|
5719
5729
|
while (body.firstChild) {
|
|
@@ -79599,7 +79609,6 @@ function requireIndex_cjs () {
|
|
|
79599
79609
|
const DESCOPE_PREFIX$1 = 'descope';
|
|
79600
79610
|
const CSS_SELECTOR_SPECIFIER_MULTIPLY$1 = 5;
|
|
79601
79611
|
const BASE_THEME_SECTION$1 = 'host';
|
|
79602
|
-
const PORTAL_THEME_PREFIX = '@';
|
|
79603
79612
|
|
|
79604
79613
|
const kebabCase$1 = (str) =>
|
|
79605
79614
|
str
|
|
@@ -80518,6 +80527,13 @@ function requireIndex_cjs () {
|
|
|
80518
80527
|
return [match[1] || '', match[2] || ''];
|
|
80519
80528
|
}
|
|
80520
80529
|
|
|
80530
|
+
const CONTAINER_QUERY_PREFIX = '@container';
|
|
80531
|
+
const isContainerQuery = (key) => key.startsWith(CONTAINER_QUERY_PREFIX);
|
|
80532
|
+
|
|
80533
|
+
const BREAKPOINTS_KEY = '$breakpoints';
|
|
80534
|
+
const BREAKPOINTS_REF_PREFIX = '$breakpoints.';
|
|
80535
|
+
const isBreakpointRef = (key) => key.startsWith(BREAKPOINTS_REF_PREFIX);
|
|
80536
|
+
|
|
80521
80537
|
// st attributes are also using selector multiplication
|
|
80522
80538
|
// so we need to limit the multiplication
|
|
80523
80539
|
const MAX_SELECTOR_MULTIPLY = 3;
|
|
@@ -80525,6 +80541,10 @@ function requireIndex_cjs () {
|
|
|
80525
80541
|
const componentsThemeToStyleObj = (componentsTheme) =>
|
|
80526
80542
|
transformTheme(componentsTheme, [], (path, val) => {
|
|
80527
80543
|
const [component, ...restPath] = path;
|
|
80544
|
+
|
|
80545
|
+
// skip $breakpoints definitions — they are metadata, not CSS output
|
|
80546
|
+
if (restPath[0] === BREAKPOINTS_KEY) return {};
|
|
80547
|
+
|
|
80528
80548
|
const property = restPath.pop();
|
|
80529
80549
|
const componentName = getComponentName$1(component);
|
|
80530
80550
|
|
|
@@ -80533,15 +80553,27 @@ function requireIndex_cjs () {
|
|
|
80533
80553
|
console.warn(componentName, `theme value: "${val}" is mapped to an invalid property`);
|
|
80534
80554
|
}
|
|
80535
80555
|
|
|
80536
|
-
|
|
80537
|
-
// this allows us to generate those themes under different sections
|
|
80538
|
-
// if the theme has root level attribute that starts with #
|
|
80539
|
-
// we are generating a new theme
|
|
80540
|
-
let themeName = BASE_THEME_SECTION$1;
|
|
80556
|
+
const themeName = BASE_THEME_SECTION$1;
|
|
80541
80557
|
|
|
80542
|
-
|
|
80543
|
-
|
|
80558
|
+
// extract @container queries from restPath at any position,
|
|
80559
|
+
// resolving breakpoints.X references via the component's $breakpoints map
|
|
80560
|
+
const componentBreakpoints = componentsTheme[component]?.[BREAKPOINTS_KEY] || {};
|
|
80561
|
+
const resolveKey = (key) =>
|
|
80562
|
+
isBreakpointRef(key)
|
|
80563
|
+
? `${CONTAINER_QUERY_PREFIX} ${componentBreakpoints[key.slice(BREAKPOINTS_REF_PREFIX.length)]}`
|
|
80564
|
+
: key;
|
|
80565
|
+
const breakpointRefs = restPath.filter(isBreakpointRef);
|
|
80566
|
+
const missingRef = breakpointRefs.find(
|
|
80567
|
+
(key) => !componentBreakpoints[key.slice(BREAKPOINTS_REF_PREFIX.length)]
|
|
80568
|
+
);
|
|
80569
|
+
if (missingRef) {
|
|
80570
|
+
// eslint-disable-next-line no-console
|
|
80571
|
+
console.warn(componentName, `theme references undefined breakpoint "${missingRef}"`);
|
|
80572
|
+
return {};
|
|
80544
80573
|
}
|
|
80574
|
+
const containerQueries = breakpointRefs.map(resolveKey);
|
|
80575
|
+
// remove breakpoint refs from restPath so the remaining parts are processed as attribute selectors
|
|
80576
|
+
restPath.splice(0, restPath.length, ...restPath.filter((s) => !isBreakpointRef(s)));
|
|
80545
80577
|
|
|
80546
80578
|
// do not start with underscore -> key:value, must have 2 no underscore attrs in a row
|
|
80547
80579
|
// starts with underscore -> attribute selector
|
|
@@ -80580,25 +80612,29 @@ function requireIndex_cjs () {
|
|
|
80580
80612
|
|
|
80581
80613
|
const selector = `:host${attrsSelector ? `(${attrsSelector})` : ''}`;
|
|
80582
80614
|
|
|
80615
|
+
// wrap the selector rule in container queries from innermost to outermost
|
|
80616
|
+
// e.g. ['@container (max-width: 80px)'] + { ':host': { prop: val } }
|
|
80617
|
+
// => { '@container (max-width: 80px)': { ':host': { prop: val } } }
|
|
80618
|
+
const leaf = containerQueries.reduceRight((acc, query) => ({ [query]: acc }), {
|
|
80619
|
+
[selector]: { [property]: getCssVarValue(val) },
|
|
80620
|
+
});
|
|
80621
|
+
|
|
80583
80622
|
return {
|
|
80584
80623
|
[componentName]: {
|
|
80585
|
-
[themeName]:
|
|
80586
|
-
[selector]: {
|
|
80587
|
-
[property]: getCssVarValue(val),
|
|
80588
|
-
},
|
|
80589
|
-
},
|
|
80624
|
+
[themeName]: leaf,
|
|
80590
80625
|
},
|
|
80591
80626
|
};
|
|
80592
80627
|
});
|
|
80593
80628
|
|
|
80594
80629
|
const componentsThemeToStyle = (componentsTheme) =>
|
|
80595
|
-
Object.entries(componentsTheme).reduce(
|
|
80596
|
-
(
|
|
80597
|
-
`${acc}${
|
|
80598
|
-
|
|
80599
|
-
|
|
80600
|
-
|
|
80601
|
-
|
|
80630
|
+
Object.entries(componentsTheme).reduce((acc, [key, value]) => {
|
|
80631
|
+
if (isContainerQuery(key)) {
|
|
80632
|
+
return `${acc}${key} {\n${componentsThemeToStyle(value)}}\n\n`;
|
|
80633
|
+
}
|
|
80634
|
+
return `${acc}${key} { \n${Object.entries(value)
|
|
80635
|
+
.map(([prop, val]) => `${prop}: ${val}`)
|
|
80636
|
+
.join(';\n')} \n}\n\n`;
|
|
80637
|
+
}, '');
|
|
80602
80638
|
|
|
80603
80639
|
const createComponentsTheme = (componentsTheme) => {
|
|
80604
80640
|
const styleObj = componentsThemeToStyleObj(componentsTheme);
|
|
@@ -80828,7 +80864,7 @@ function requireIndex_cjs () {
|
|
|
80828
80864
|
fonts: fonts$1,
|
|
80829
80865
|
direction: direction$1,
|
|
80830
80866
|
};
|
|
80831
|
-
const vars$
|
|
80867
|
+
const vars$16 = getThemeVars(globals$1);
|
|
80832
80868
|
|
|
80833
80869
|
const direction = 'ltr';
|
|
80834
80870
|
|
|
@@ -82624,12 +82660,12 @@ function requireIndex_cjs () {
|
|
|
82624
82660
|
|
|
82625
82661
|
/* eslint-disable no-use-before-define */
|
|
82626
82662
|
|
|
82627
|
-
const componentName$
|
|
82663
|
+
const componentName$1k = getComponentName('image');
|
|
82628
82664
|
|
|
82629
82665
|
const srcAttrs = ['src', 'src-dark'];
|
|
82630
82666
|
|
|
82631
82667
|
class RawImage extends createBaseClass$1({
|
|
82632
|
-
componentName: componentName$
|
|
82668
|
+
componentName: componentName$1k,
|
|
82633
82669
|
baseSelector: 'slot',
|
|
82634
82670
|
}) {
|
|
82635
82671
|
static get observedAttributes() {
|
|
@@ -82757,7 +82793,7 @@ function requireIndex_cjs () {
|
|
|
82757
82793
|
componentNameValidationMixin$1,
|
|
82758
82794
|
)(RawImage);
|
|
82759
82795
|
|
|
82760
|
-
const componentName$
|
|
82796
|
+
const componentName$1j = getComponentName('icon');
|
|
82761
82797
|
|
|
82762
82798
|
const IconClass = compose(
|
|
82763
82799
|
createStyleMixin$1({
|
|
@@ -82778,7 +82814,7 @@ function requireIndex_cjs () {
|
|
|
82778
82814
|
}
|
|
82779
82815
|
`,
|
|
82780
82816
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
82781
|
-
componentName: componentName$
|
|
82817
|
+
componentName: componentName$1j,
|
|
82782
82818
|
}),
|
|
82783
82819
|
);
|
|
82784
82820
|
|
|
@@ -82793,7 +82829,7 @@ function requireIndex_cjs () {
|
|
|
82793
82829
|
}
|
|
82794
82830
|
};
|
|
82795
82831
|
|
|
82796
|
-
const componentName$
|
|
82832
|
+
const componentName$1i = getComponentName('button');
|
|
82797
82833
|
|
|
82798
82834
|
const resetStyles = `
|
|
82799
82835
|
:host {
|
|
@@ -82909,7 +82945,7 @@ function requireIndex_cjs () {
|
|
|
82909
82945
|
}
|
|
82910
82946
|
`,
|
|
82911
82947
|
excludeAttrsSync: ['tabindex', 'class', 'style'],
|
|
82912
|
-
componentName: componentName$
|
|
82948
|
+
componentName: componentName$1i,
|
|
82913
82949
|
})
|
|
82914
82950
|
);
|
|
82915
82951
|
|
|
@@ -82957,10 +82993,10 @@ function requireIndex_cjs () {
|
|
|
82957
82993
|
surface: globalRefs$H.colors.surface,
|
|
82958
82994
|
};
|
|
82959
82995
|
|
|
82960
|
-
const [helperTheme$
|
|
82996
|
+
const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1({ mode }, componentName$1i);
|
|
82961
82997
|
|
|
82962
82998
|
const button = {
|
|
82963
|
-
...helperTheme$
|
|
82999
|
+
...helperTheme$7,
|
|
82964
83000
|
|
|
82965
83001
|
[compVars$9.fontFamily]: globalRefs$H.fonts.font1.family,
|
|
82966
83002
|
|
|
@@ -83012,7 +83048,7 @@ function requireIndex_cjs () {
|
|
|
83012
83048
|
|
|
83013
83049
|
_loading: {
|
|
83014
83050
|
[compVars$9.cursor]: 'wait',
|
|
83015
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83051
|
+
[compVars$9.labelTextColor]: helperRefs$7.main,
|
|
83016
83052
|
},
|
|
83017
83053
|
|
|
83018
83054
|
_disabled: {
|
|
@@ -83025,51 +83061,51 @@ function requireIndex_cjs () {
|
|
|
83025
83061
|
|
|
83026
83062
|
variant: {
|
|
83027
83063
|
contained: {
|
|
83028
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83029
|
-
[compVars$9.backgroundColor]: helperRefs$
|
|
83064
|
+
[compVars$9.labelTextColor]: helperRefs$7.contrast,
|
|
83065
|
+
[compVars$9.backgroundColor]: helperRefs$7.main,
|
|
83030
83066
|
_hover: {
|
|
83031
|
-
[compVars$9.backgroundColor]: helperRefs$
|
|
83067
|
+
[compVars$9.backgroundColor]: helperRefs$7.dark,
|
|
83032
83068
|
_loading: {
|
|
83033
|
-
[compVars$9.backgroundColor]: helperRefs$
|
|
83069
|
+
[compVars$9.backgroundColor]: helperRefs$7.main,
|
|
83034
83070
|
},
|
|
83035
83071
|
},
|
|
83036
83072
|
_active: {
|
|
83037
|
-
[compVars$9.backgroundColor]: helperRefs$
|
|
83073
|
+
[compVars$9.backgroundColor]: helperRefs$7.main,
|
|
83038
83074
|
},
|
|
83039
83075
|
},
|
|
83040
83076
|
|
|
83041
83077
|
outline: {
|
|
83042
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83043
|
-
[compVars$9.borderColor]: helperRefs$
|
|
83078
|
+
[compVars$9.labelTextColor]: helperRefs$7.main,
|
|
83079
|
+
[compVars$9.borderColor]: helperRefs$7.main,
|
|
83044
83080
|
_hover: {
|
|
83045
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83046
|
-
[compVars$9.borderColor]: helperRefs$
|
|
83081
|
+
[compVars$9.labelTextColor]: helperRefs$7.dark,
|
|
83082
|
+
[compVars$9.borderColor]: helperRefs$7.dark,
|
|
83047
83083
|
},
|
|
83048
83084
|
_active: {
|
|
83049
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83050
|
-
[compVars$9.borderColor]: helperRefs$
|
|
83085
|
+
[compVars$9.labelTextColor]: helperRefs$7.main,
|
|
83086
|
+
[compVars$9.borderColor]: helperRefs$7.main,
|
|
83051
83087
|
},
|
|
83052
83088
|
},
|
|
83053
83089
|
|
|
83054
83090
|
link: {
|
|
83055
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83091
|
+
[compVars$9.labelTextColor]: helperRefs$7.main,
|
|
83056
83092
|
[compVars$9.horizontalPadding]: '0.125em',
|
|
83057
83093
|
_hover: {
|
|
83058
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83094
|
+
[compVars$9.labelTextColor]: helperRefs$7.dark,
|
|
83059
83095
|
[compVars$9.labelTextDecoration]: 'underline',
|
|
83060
83096
|
},
|
|
83061
83097
|
_active: {
|
|
83062
|
-
[compVars$9.labelTextColor]: helperRefs$
|
|
83098
|
+
[compVars$9.labelTextColor]: helperRefs$7.main,
|
|
83063
83099
|
},
|
|
83064
83100
|
},
|
|
83065
83101
|
},
|
|
83066
83102
|
|
|
83067
83103
|
_focused: {
|
|
83068
|
-
[compVars$9.outlineColor]: helperRefs$
|
|
83104
|
+
[compVars$9.outlineColor]: helperRefs$7.light,
|
|
83069
83105
|
},
|
|
83070
83106
|
};
|
|
83071
83107
|
|
|
83072
|
-
const vars$
|
|
83108
|
+
const vars$15 = {
|
|
83073
83109
|
...compVars$9,
|
|
83074
83110
|
...helperVars$6,
|
|
83075
83111
|
};
|
|
@@ -83077,13 +83113,13 @@ function requireIndex_cjs () {
|
|
|
83077
83113
|
var button$1 = /*#__PURE__*/Object.freeze({
|
|
83078
83114
|
__proto__: null,
|
|
83079
83115
|
default: button,
|
|
83080
|
-
vars: vars$
|
|
83116
|
+
vars: vars$15
|
|
83081
83117
|
});
|
|
83082
83118
|
|
|
83083
|
-
const componentName$
|
|
83119
|
+
const componentName$1h = getComponentName('text');
|
|
83084
83120
|
|
|
83085
83121
|
class RawText extends createBaseClass$1({
|
|
83086
|
-
componentName: componentName$
|
|
83122
|
+
componentName: componentName$1h,
|
|
83087
83123
|
baseSelector: ':host > slot',
|
|
83088
83124
|
}) {
|
|
83089
83125
|
constructor() {
|
|
@@ -83150,106 +83186,106 @@ function requireIndex_cjs () {
|
|
|
83150
83186
|
)(RawText);
|
|
83151
83187
|
|
|
83152
83188
|
const globalRefs$G = getThemeRefs$1(globals);
|
|
83153
|
-
const vars$
|
|
83189
|
+
const vars$14 = TextClass.cssVarList;
|
|
83154
83190
|
|
|
83155
83191
|
const text$3 = {
|
|
83156
|
-
[vars$
|
|
83157
|
-
[vars$
|
|
83158
|
-
[vars$
|
|
83159
|
-
[vars$
|
|
83192
|
+
[vars$14.hostDirection]: globalRefs$G.direction,
|
|
83193
|
+
[vars$14.textLineHeight]: '1.35em',
|
|
83194
|
+
[vars$14.textAlign]: 'start',
|
|
83195
|
+
[vars$14.textColor]: globalRefs$G.colors.surface.dark,
|
|
83160
83196
|
|
|
83161
83197
|
variant: {
|
|
83162
83198
|
h1: {
|
|
83163
|
-
[vars$
|
|
83164
|
-
[vars$
|
|
83165
|
-
[vars$
|
|
83199
|
+
[vars$14.fontSize]: globalRefs$G.typography.h1.size,
|
|
83200
|
+
[vars$14.fontWeight]: globalRefs$G.typography.h1.weight,
|
|
83201
|
+
[vars$14.fontFamily]: globalRefs$G.typography.h1.font,
|
|
83166
83202
|
},
|
|
83167
83203
|
h2: {
|
|
83168
|
-
[vars$
|
|
83169
|
-
[vars$
|
|
83170
|
-
[vars$
|
|
83204
|
+
[vars$14.fontSize]: globalRefs$G.typography.h2.size,
|
|
83205
|
+
[vars$14.fontWeight]: globalRefs$G.typography.h2.weight,
|
|
83206
|
+
[vars$14.fontFamily]: globalRefs$G.typography.h2.font,
|
|
83171
83207
|
},
|
|
83172
83208
|
h3: {
|
|
83173
|
-
[vars$
|
|
83174
|
-
[vars$
|
|
83175
|
-
[vars$
|
|
83209
|
+
[vars$14.fontSize]: globalRefs$G.typography.h3.size,
|
|
83210
|
+
[vars$14.fontWeight]: globalRefs$G.typography.h3.weight,
|
|
83211
|
+
[vars$14.fontFamily]: globalRefs$G.typography.h3.font,
|
|
83176
83212
|
},
|
|
83177
83213
|
subtitle1: {
|
|
83178
|
-
[vars$
|
|
83179
|
-
[vars$
|
|
83180
|
-
[vars$
|
|
83214
|
+
[vars$14.fontSize]: globalRefs$G.typography.subtitle1.size,
|
|
83215
|
+
[vars$14.fontWeight]: globalRefs$G.typography.subtitle1.weight,
|
|
83216
|
+
[vars$14.fontFamily]: globalRefs$G.typography.subtitle1.font,
|
|
83181
83217
|
},
|
|
83182
83218
|
subtitle2: {
|
|
83183
|
-
[vars$
|
|
83184
|
-
[vars$
|
|
83185
|
-
[vars$
|
|
83219
|
+
[vars$14.fontSize]: globalRefs$G.typography.subtitle2.size,
|
|
83220
|
+
[vars$14.fontWeight]: globalRefs$G.typography.subtitle2.weight,
|
|
83221
|
+
[vars$14.fontFamily]: globalRefs$G.typography.subtitle2.font,
|
|
83186
83222
|
},
|
|
83187
83223
|
body1: {
|
|
83188
|
-
[vars$
|
|
83189
|
-
[vars$
|
|
83190
|
-
[vars$
|
|
83224
|
+
[vars$14.fontSize]: globalRefs$G.typography.body1.size,
|
|
83225
|
+
[vars$14.fontWeight]: globalRefs$G.typography.body1.weight,
|
|
83226
|
+
[vars$14.fontFamily]: globalRefs$G.typography.body1.font,
|
|
83191
83227
|
},
|
|
83192
83228
|
body2: {
|
|
83193
|
-
[vars$
|
|
83194
|
-
[vars$
|
|
83195
|
-
[vars$
|
|
83229
|
+
[vars$14.fontSize]: globalRefs$G.typography.body2.size,
|
|
83230
|
+
[vars$14.fontWeight]: globalRefs$G.typography.body2.weight,
|
|
83231
|
+
[vars$14.fontFamily]: globalRefs$G.typography.body2.font,
|
|
83196
83232
|
},
|
|
83197
83233
|
},
|
|
83198
83234
|
|
|
83199
83235
|
mode: {
|
|
83200
83236
|
primary: {
|
|
83201
|
-
[vars$
|
|
83237
|
+
[vars$14.textColor]: globalRefs$G.colors.surface.contrast,
|
|
83202
83238
|
},
|
|
83203
83239
|
secondary: {
|
|
83204
|
-
[vars$
|
|
83240
|
+
[vars$14.textColor]: globalRefs$G.colors.surface.dark,
|
|
83205
83241
|
},
|
|
83206
83242
|
error: {
|
|
83207
|
-
[vars$
|
|
83243
|
+
[vars$14.textColor]: globalRefs$G.colors.error.main,
|
|
83208
83244
|
},
|
|
83209
83245
|
'error-dark': {
|
|
83210
|
-
[vars$
|
|
83246
|
+
[vars$14.textColor]: globalRefs$G.colors.error.dark,
|
|
83211
83247
|
},
|
|
83212
83248
|
success: {
|
|
83213
|
-
[vars$
|
|
83249
|
+
[vars$14.textColor]: globalRefs$G.colors.success.main,
|
|
83214
83250
|
},
|
|
83215
83251
|
'success-dark': {
|
|
83216
|
-
[vars$
|
|
83252
|
+
[vars$14.textColor]: globalRefs$G.colors.success.dark,
|
|
83217
83253
|
},
|
|
83218
83254
|
warning: {
|
|
83219
|
-
[vars$
|
|
83255
|
+
[vars$14.textColor]: globalRefs$G.colors.warning.main,
|
|
83220
83256
|
},
|
|
83221
83257
|
'warning-dark': {
|
|
83222
|
-
[vars$
|
|
83258
|
+
[vars$14.textColor]: globalRefs$G.colors.warning.dark,
|
|
83223
83259
|
},
|
|
83224
83260
|
},
|
|
83225
83261
|
|
|
83226
83262
|
textAlign: {
|
|
83227
|
-
right: { [vars$
|
|
83228
|
-
left: { [vars$
|
|
83229
|
-
center: { [vars$
|
|
83263
|
+
right: { [vars$14.textAlign]: 'right' },
|
|
83264
|
+
left: { [vars$14.textAlign]: 'left' },
|
|
83265
|
+
center: { [vars$14.textAlign]: 'center' },
|
|
83230
83266
|
},
|
|
83231
83267
|
|
|
83232
83268
|
_fullWidth: {
|
|
83233
|
-
[vars$
|
|
83269
|
+
[vars$14.hostWidth]: '100%',
|
|
83234
83270
|
},
|
|
83235
83271
|
|
|
83236
83272
|
_italic: {
|
|
83237
|
-
[vars$
|
|
83273
|
+
[vars$14.fontStyle]: 'italic',
|
|
83238
83274
|
},
|
|
83239
83275
|
|
|
83240
83276
|
_uppercase: {
|
|
83241
|
-
[vars$
|
|
83277
|
+
[vars$14.textTransform]: 'uppercase',
|
|
83242
83278
|
},
|
|
83243
83279
|
|
|
83244
83280
|
_lowercase: {
|
|
83245
|
-
[vars$
|
|
83281
|
+
[vars$14.textTransform]: 'lowercase',
|
|
83246
83282
|
},
|
|
83247
83283
|
};
|
|
83248
83284
|
|
|
83249
83285
|
var text$4 = /*#__PURE__*/Object.freeze({
|
|
83250
83286
|
__proto__: null,
|
|
83251
83287
|
default: text$3,
|
|
83252
|
-
vars: vars$
|
|
83288
|
+
vars: vars$14
|
|
83253
83289
|
});
|
|
83254
83290
|
|
|
83255
83291
|
const disableRules = [
|
|
@@ -83276,9 +83312,9 @@ function requireIndex_cjs () {
|
|
|
83276
83312
|
/* eslint-disable no-param-reassign */
|
|
83277
83313
|
|
|
83278
83314
|
|
|
83279
|
-
const componentName$
|
|
83315
|
+
const componentName$1g = getComponentName('enriched-text');
|
|
83280
83316
|
|
|
83281
|
-
class EnrichedText extends createBaseClass$1({ componentName: componentName$
|
|
83317
|
+
class EnrichedText extends createBaseClass$1({ componentName: componentName$1g, baseSelector: ':host > div' }) {
|
|
83282
83318
|
#origLinkRenderer;
|
|
83283
83319
|
|
|
83284
83320
|
#origEmRenderer;
|
|
@@ -83483,9 +83519,9 @@ function requireIndex_cjs () {
|
|
|
83483
83519
|
componentNameValidationMixin$1
|
|
83484
83520
|
)(EnrichedText);
|
|
83485
83521
|
|
|
83486
|
-
const componentName$
|
|
83522
|
+
const componentName$1f = getComponentName('link');
|
|
83487
83523
|
|
|
83488
|
-
class RawLink extends createBaseClass$1({ componentName: componentName$
|
|
83524
|
+
class RawLink extends createBaseClass$1({ componentName: componentName$1f, baseSelector: ':host a' }) {
|
|
83489
83525
|
constructor() {
|
|
83490
83526
|
super();
|
|
83491
83527
|
|
|
@@ -83563,31 +83599,31 @@ function requireIndex_cjs () {
|
|
|
83563
83599
|
)(RawLink);
|
|
83564
83600
|
|
|
83565
83601
|
const globalRefs$F = getThemeRefs$1(globals);
|
|
83566
|
-
const vars$
|
|
83602
|
+
const vars$13 = LinkClass.cssVarList;
|
|
83567
83603
|
|
|
83568
83604
|
const link$1 = {
|
|
83569
|
-
[vars$
|
|
83570
|
-
[vars$
|
|
83605
|
+
[vars$13.hostDirection]: globalRefs$F.direction,
|
|
83606
|
+
[vars$13.cursor]: 'pointer',
|
|
83571
83607
|
|
|
83572
|
-
[vars$
|
|
83608
|
+
[vars$13.textColor]: globalRefs$F.colors.primary.main,
|
|
83573
83609
|
|
|
83574
83610
|
textAlign: {
|
|
83575
|
-
right: { [vars$
|
|
83576
|
-
left: { [vars$
|
|
83577
|
-
center: { [vars$
|
|
83611
|
+
right: { [vars$13.textAlign]: 'right' },
|
|
83612
|
+
left: { [vars$13.textAlign]: 'left' },
|
|
83613
|
+
center: { [vars$13.textAlign]: 'center' },
|
|
83578
83614
|
},
|
|
83579
83615
|
|
|
83580
83616
|
_fullWidth: {
|
|
83581
|
-
[vars$
|
|
83617
|
+
[vars$13.hostWidth]: '100%',
|
|
83582
83618
|
},
|
|
83583
83619
|
|
|
83584
83620
|
_hover: {
|
|
83585
|
-
[vars$
|
|
83621
|
+
[vars$13.textDecoration]: 'underline',
|
|
83586
83622
|
},
|
|
83587
83623
|
|
|
83588
83624
|
mode: {
|
|
83589
83625
|
secondary: {
|
|
83590
|
-
[vars$
|
|
83626
|
+
[vars$13.textColor]: globalRefs$F.colors.secondary.main,
|
|
83591
83627
|
},
|
|
83592
83628
|
},
|
|
83593
83629
|
};
|
|
@@ -83595,37 +83631,37 @@ function requireIndex_cjs () {
|
|
|
83595
83631
|
var link$2 = /*#__PURE__*/Object.freeze({
|
|
83596
83632
|
__proto__: null,
|
|
83597
83633
|
default: link$1,
|
|
83598
|
-
vars: vars$
|
|
83634
|
+
vars: vars$13
|
|
83599
83635
|
});
|
|
83600
83636
|
|
|
83601
83637
|
const globalRefs$E = getThemeRefs$1(globals);
|
|
83602
|
-
const vars$
|
|
83638
|
+
const vars$12 = EnrichedTextClass.cssVarList;
|
|
83603
83639
|
|
|
83604
83640
|
const enrichedText = {
|
|
83605
|
-
[vars$
|
|
83606
|
-
[vars$
|
|
83641
|
+
[vars$12.hostDirection]: globalRefs$E.direction,
|
|
83642
|
+
[vars$12.hostWidth]: useVar$1(vars$14.hostWidth),
|
|
83607
83643
|
|
|
83608
|
-
[vars$
|
|
83609
|
-
[vars$
|
|
83610
|
-
[vars$
|
|
83644
|
+
[vars$12.textLineHeight]: useVar$1(vars$14.textLineHeight),
|
|
83645
|
+
[vars$12.textColor]: useVar$1(vars$14.textColor),
|
|
83646
|
+
[vars$12.textAlign]: useVar$1(vars$14.textAlign),
|
|
83611
83647
|
|
|
83612
|
-
[vars$
|
|
83613
|
-
[vars$
|
|
83614
|
-
[vars$
|
|
83648
|
+
[vars$12.fontSize]: useVar$1(vars$14.fontSize),
|
|
83649
|
+
[vars$12.fontWeight]: useVar$1(vars$14.fontWeight),
|
|
83650
|
+
[vars$12.fontFamily]: useVar$1(vars$14.fontFamily),
|
|
83615
83651
|
|
|
83616
|
-
[vars$
|
|
83617
|
-
[vars$
|
|
83618
|
-
[vars$
|
|
83652
|
+
[vars$12.linkColor]: useVar$1(vars$13.textColor),
|
|
83653
|
+
[vars$12.linkTextDecoration]: 'none',
|
|
83654
|
+
[vars$12.linkHoverTextDecoration]: 'underline',
|
|
83619
83655
|
|
|
83620
|
-
[vars$
|
|
83621
|
-
[vars$
|
|
83622
|
-
[vars$
|
|
83656
|
+
[vars$12.fontWeightBold]: '900',
|
|
83657
|
+
[vars$12.minWidth]: '0.25em',
|
|
83658
|
+
[vars$12.minHeight]: '1.35em',
|
|
83623
83659
|
|
|
83624
|
-
[vars$
|
|
83660
|
+
[vars$12.hostDisplay]: 'inline-block',
|
|
83625
83661
|
|
|
83626
83662
|
_empty: {
|
|
83627
83663
|
_hideWhenEmpty: {
|
|
83628
|
-
[vars$
|
|
83664
|
+
[vars$12.hostDisplay]: 'none',
|
|
83629
83665
|
},
|
|
83630
83666
|
},
|
|
83631
83667
|
};
|
|
@@ -83633,10 +83669,10 @@ function requireIndex_cjs () {
|
|
|
83633
83669
|
var enrichedText$1 = /*#__PURE__*/Object.freeze({
|
|
83634
83670
|
__proto__: null,
|
|
83635
83671
|
default: enrichedText,
|
|
83636
|
-
vars: vars$
|
|
83672
|
+
vars: vars$12
|
|
83637
83673
|
});
|
|
83638
83674
|
|
|
83639
|
-
const componentName$
|
|
83675
|
+
const componentName$1e = getComponentName('combo-box');
|
|
83640
83676
|
|
|
83641
83677
|
const ComboBoxMixin = (superclass) =>
|
|
83642
83678
|
class ComboBoxMixinClass extends superclass {
|
|
@@ -84320,12 +84356,12 @@ function requireIndex_cjs () {
|
|
|
84320
84356
|
// and reset items to an empty array, and opening the list box with no items
|
|
84321
84357
|
// to display.
|
|
84322
84358
|
excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
|
|
84323
|
-
componentName: componentName$
|
|
84359
|
+
componentName: componentName$1e,
|
|
84324
84360
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
|
84325
84361
|
}),
|
|
84326
84362
|
);
|
|
84327
84363
|
|
|
84328
|
-
const componentName$
|
|
84364
|
+
const componentName$1d = getComponentName('input-wrapper');
|
|
84329
84365
|
const globalRefs$D = getThemeRefs$1(globals);
|
|
84330
84366
|
|
|
84331
84367
|
const [theme$2, refs$1] = createHelperVars$1(
|
|
@@ -84448,103 +84484,103 @@ function requireIndex_cjs () {
|
|
|
84448
84484
|
backgroundColor: globalRefs$D.colors.surface.main,
|
|
84449
84485
|
},
|
|
84450
84486
|
},
|
|
84451
|
-
componentName$
|
|
84487
|
+
componentName$1d,
|
|
84452
84488
|
);
|
|
84453
84489
|
|
|
84454
84490
|
const globalRefs$C = getThemeRefs$1(globals);
|
|
84455
|
-
const vars$
|
|
84491
|
+
const vars$11 = ComboBoxClass.cssVarList;
|
|
84456
84492
|
|
|
84457
84493
|
const comboBox = {
|
|
84458
|
-
[vars$
|
|
84459
|
-
[vars$
|
|
84460
|
-
[vars$
|
|
84461
|
-
[vars$
|
|
84462
|
-
[vars$
|
|
84463
|
-
[vars$
|
|
84464
|
-
[vars$
|
|
84465
|
-
[vars$
|
|
84466
|
-
[vars$
|
|
84467
|
-
[vars$
|
|
84468
|
-
[vars$
|
|
84469
|
-
[vars$
|
|
84470
|
-
[vars$
|
|
84471
|
-
[vars$
|
|
84472
|
-
[vars$
|
|
84473
|
-
[vars$
|
|
84474
|
-
[vars$
|
|
84475
|
-
[vars$
|
|
84476
|
-
[vars$
|
|
84477
|
-
[vars$
|
|
84478
|
-
[vars$
|
|
84479
|
-
[vars$
|
|
84480
|
-
[vars$
|
|
84481
|
-
[vars$
|
|
84482
|
-
[vars$
|
|
84483
|
-
[vars$
|
|
84484
|
-
[vars$
|
|
84485
|
-
[vars$
|
|
84486
|
-
[vars$
|
|
84487
|
-
[vars$
|
|
84488
|
-
[vars$
|
|
84489
|
-
[vars$
|
|
84490
|
-
[vars$
|
|
84491
|
-
[vars$
|
|
84492
|
-
[vars$
|
|
84493
|
-
[vars$
|
|
84494
|
-
[vars$
|
|
84495
|
-
[vars$
|
|
84494
|
+
[vars$11.hostWidth]: refs$1.width,
|
|
84495
|
+
[vars$11.hostDirection]: refs$1.direction,
|
|
84496
|
+
[vars$11.fontSize]: refs$1.fontSize,
|
|
84497
|
+
[vars$11.fontFamily]: refs$1.fontFamily,
|
|
84498
|
+
[vars$11.labelFontSize]: refs$1.labelFontSize,
|
|
84499
|
+
[vars$11.labelFontWeight]: refs$1.labelFontWeight,
|
|
84500
|
+
[vars$11.labelTextColor]: refs$1.labelTextColor,
|
|
84501
|
+
[vars$11.errorMessageTextColor]: refs$1.errorMessageTextColor,
|
|
84502
|
+
[vars$11.inputBorderColor]: refs$1.borderColor,
|
|
84503
|
+
[vars$11.inputBorderWidth]: refs$1.borderWidth,
|
|
84504
|
+
[vars$11.inputBorderStyle]: refs$1.borderStyle,
|
|
84505
|
+
[vars$11.inputBorderRadius]: refs$1.borderRadius,
|
|
84506
|
+
[vars$11.inputOutlineColor]: refs$1.outlineColor,
|
|
84507
|
+
[vars$11.inputOutlineOffset]: refs$1.outlineOffset,
|
|
84508
|
+
[vars$11.inputOutlineWidth]: refs$1.outlineWidth,
|
|
84509
|
+
[vars$11.inputOutlineStyle]: refs$1.outlineStyle,
|
|
84510
|
+
[vars$11.labelRequiredIndicator]: refs$1.requiredIndicator,
|
|
84511
|
+
[vars$11.inputValueTextColor]: refs$1.valueTextColor,
|
|
84512
|
+
[vars$11.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
|
|
84513
|
+
[vars$11.inputBackgroundColor]: refs$1.backgroundColor,
|
|
84514
|
+
[vars$11.inputHorizontalPadding]: refs$1.horizontalPadding,
|
|
84515
|
+
[vars$11.inputHeight]: refs$1.inputHeight,
|
|
84516
|
+
[vars$11.inputDropdownButtonColor]: globalRefs$C.colors.surface.dark,
|
|
84517
|
+
[vars$11.inputDropdownButtonCursor]: 'pointer',
|
|
84518
|
+
[vars$11.inputDropdownButtonSize]: refs$1.toggleButtonSize,
|
|
84519
|
+
[vars$11.inputDropdownButtonOffset]: globalRefs$C.spacing.xs,
|
|
84520
|
+
[vars$11.overlayItemPaddingInlineStart]: globalRefs$C.spacing.xs,
|
|
84521
|
+
[vars$11.overlayItemPaddingInlineEnd]: globalRefs$C.spacing.lg,
|
|
84522
|
+
[vars$11.labelPosition]: refs$1.labelPosition,
|
|
84523
|
+
[vars$11.labelTopPosition]: refs$1.labelTopPosition,
|
|
84524
|
+
[vars$11.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
|
|
84525
|
+
[vars$11.inputTransformY]: refs$1.inputTransformY,
|
|
84526
|
+
[vars$11.inputTransition]: refs$1.inputTransition,
|
|
84527
|
+
[vars$11.marginInlineStart]: refs$1.marginInlineStart,
|
|
84528
|
+
[vars$11.placeholderOpacity]: refs$1.placeholderOpacity,
|
|
84529
|
+
[vars$11.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
|
|
84530
|
+
[vars$11.valueInputHeight]: refs$1.valueInputHeight,
|
|
84531
|
+
[vars$11.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
|
|
84496
84532
|
|
|
84497
84533
|
// error message icon
|
|
84498
|
-
[vars$
|
|
84499
|
-
[vars$
|
|
84500
|
-
[vars$
|
|
84501
|
-
[vars$
|
|
84502
|
-
[vars$
|
|
84503
|
-
[vars$
|
|
84534
|
+
[vars$11.errorMessageIcon]: refs$1.errorMessageIcon,
|
|
84535
|
+
[vars$11.errorMessageIconSize]: refs$1.errorMessageIconSize,
|
|
84536
|
+
[vars$11.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
|
|
84537
|
+
[vars$11.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
|
|
84538
|
+
[vars$11.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
|
|
84539
|
+
[vars$11.errorMessageFontSize]: refs$1.errorMessageFontSize,
|
|
84504
84540
|
|
|
84505
84541
|
_readonly: {
|
|
84506
|
-
[vars$
|
|
84542
|
+
[vars$11.inputDropdownButtonCursor]: 'default',
|
|
84507
84543
|
},
|
|
84508
84544
|
|
|
84509
84545
|
// Overlay theme exposed via the component:
|
|
84510
|
-
[vars$
|
|
84511
|
-
[vars$
|
|
84512
|
-
[vars$
|
|
84513
|
-
[vars$
|
|
84514
|
-
[vars$
|
|
84515
|
-
[vars$
|
|
84516
|
-
[vars$
|
|
84517
|
-
[vars$
|
|
84518
|
-
[vars$
|
|
84546
|
+
[vars$11.overlayFontSize]: refs$1.fontSize,
|
|
84547
|
+
[vars$11.overlayFontFamily]: refs$1.fontFamily,
|
|
84548
|
+
[vars$11.overlayCursor]: 'pointer',
|
|
84549
|
+
[vars$11.overlayItemBoxShadow]: 'none',
|
|
84550
|
+
[vars$11.overlayBackground]: refs$1.backgroundColor,
|
|
84551
|
+
[vars$11.overlayTextColor]: refs$1.valueTextColor,
|
|
84552
|
+
[vars$11.overlayCheckmarkDisplay]: 'initial',
|
|
84553
|
+
[vars$11.overlaySelectedItemBackground]: 'initial',
|
|
84554
|
+
[vars$11.overlaySelectedItemHoverBackground]:
|
|
84519
84555
|
globalRefs$C.colors.primary.highlight,
|
|
84520
|
-
[vars$
|
|
84556
|
+
[vars$11.overlaySelectedItemFocusBackground]:
|
|
84521
84557
|
globalRefs$C.colors.primary.highlight,
|
|
84522
|
-
[vars$
|
|
84523
|
-
[vars$
|
|
84558
|
+
[vars$11.overlayItemHoverBackground]: globalRefs$C.colors.primary.highlight,
|
|
84559
|
+
[vars$11.overlayItemFocusBackground]: globalRefs$C.colors.primary.highlight,
|
|
84524
84560
|
|
|
84525
84561
|
// Overlay direct theme:
|
|
84526
|
-
[vars$
|
|
84527
|
-
[vars$
|
|
84562
|
+
[vars$11.overlay.minHeight]: '400px',
|
|
84563
|
+
[vars$11.overlay.margin]: '0',
|
|
84528
84564
|
|
|
84529
|
-
[vars$
|
|
84530
|
-
[vars$
|
|
84531
|
-
[vars$
|
|
84565
|
+
[vars$11.overlay.contentHeight]: '100%',
|
|
84566
|
+
[vars$11.overlay.contentOpacity]: '1',
|
|
84567
|
+
[vars$11.overlay.scrollerMinHeight]: '1px',
|
|
84532
84568
|
_loading: {
|
|
84533
|
-
[vars$
|
|
84534
|
-
[vars$
|
|
84535
|
-
[vars$
|
|
84569
|
+
[vars$11.overlay.loaderTop]: '50%',
|
|
84570
|
+
[vars$11.overlay.loaderLeft]: '50%',
|
|
84571
|
+
[vars$11.overlay.loaderRight]: 'auto',
|
|
84536
84572
|
// Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
|
|
84537
84573
|
// Margin has to be half of the width/height of the loader to center it
|
|
84538
|
-
[vars$
|
|
84539
|
-
[vars$
|
|
84540
|
-
[vars$
|
|
84541
|
-
[vars$
|
|
84542
|
-
[vars$
|
|
84574
|
+
[vars$11.overlay.loaderMargin]: '-15px 0 0 -15px',
|
|
84575
|
+
[vars$11.overlay.loaderWidth]: '30px',
|
|
84576
|
+
[vars$11.overlay.loaderHeight]: '30px',
|
|
84577
|
+
[vars$11.overlay.loaderBorder]: '2px solid transparent',
|
|
84578
|
+
[vars$11.overlay.loaderBorderColor]:
|
|
84543
84579
|
`${globalRefs$C.colors.primary.highlight} ${globalRefs$C.colors.primary.highlight} ${globalRefs$C.colors.primary.main} ${globalRefs$C.colors.primary.main}`,
|
|
84544
|
-
[vars$
|
|
84545
|
-
[vars$
|
|
84546
|
-
[vars$
|
|
84547
|
-
[vars$
|
|
84580
|
+
[vars$11.overlay.loaderBorderRadius]: '50%',
|
|
84581
|
+
[vars$11.overlay.contentHeight]: '100px',
|
|
84582
|
+
[vars$11.overlay.scrollerMinHeight]: '100px',
|
|
84583
|
+
[vars$11.overlay.contentOpacity]: '0',
|
|
84548
84584
|
},
|
|
84549
84585
|
};
|
|
84550
84586
|
|
|
@@ -84552,13 +84588,13 @@ function requireIndex_cjs () {
|
|
|
84552
84588
|
__proto__: null,
|
|
84553
84589
|
comboBox: comboBox,
|
|
84554
84590
|
default: comboBox,
|
|
84555
|
-
vars: vars$
|
|
84591
|
+
vars: vars$11
|
|
84556
84592
|
});
|
|
84557
84593
|
|
|
84558
|
-
const componentName$
|
|
84594
|
+
const componentName$1c = getComponentName('badge');
|
|
84559
84595
|
|
|
84560
84596
|
class RawBadge extends createBaseClass$1({
|
|
84561
|
-
componentName: componentName$
|
|
84597
|
+
componentName: componentName$1c,
|
|
84562
84598
|
baseSelector: ':host > div',
|
|
84563
84599
|
}) {
|
|
84564
84600
|
constructor() {
|
|
@@ -84576,6 +84612,7 @@ function requireIndex_cjs () {
|
|
|
84576
84612
|
display: inline-flex;
|
|
84577
84613
|
}
|
|
84578
84614
|
:host > div {
|
|
84615
|
+
position: relative;
|
|
84579
84616
|
width: 100%;
|
|
84580
84617
|
text-overflow: ellipsis;
|
|
84581
84618
|
overflow: hidden;
|
|
@@ -84591,6 +84628,7 @@ function requireIndex_cjs () {
|
|
|
84591
84628
|
createStyleMixin$1({
|
|
84592
84629
|
mappings: {
|
|
84593
84630
|
hostWidth: [{ selector: () => ':host', property: 'width' }],
|
|
84631
|
+
hostHeight: [{ selector: () => ':host', property: 'height' }],
|
|
84594
84632
|
hostDirection: { property: 'direction' },
|
|
84595
84633
|
|
|
84596
84634
|
fontFamily: {},
|
|
@@ -84615,6 +84653,8 @@ function requireIndex_cjs () {
|
|
|
84615
84653
|
|
|
84616
84654
|
textColor: { property: 'color' },
|
|
84617
84655
|
textAlign: {},
|
|
84656
|
+
boxShadow: {},
|
|
84657
|
+
textIndent: {},
|
|
84618
84658
|
},
|
|
84619
84659
|
}),
|
|
84620
84660
|
draggableMixin$1,
|
|
@@ -84623,79 +84663,125 @@ function requireIndex_cjs () {
|
|
|
84623
84663
|
|
|
84624
84664
|
const globalRefs$B = getThemeRefs$1(globals);
|
|
84625
84665
|
|
|
84626
|
-
const
|
|
84666
|
+
const [helperTheme$6, helperRefs$6] = createHelperVars$1(
|
|
84667
|
+
{
|
|
84668
|
+
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
84669
|
+
},
|
|
84670
|
+
componentName$1c,
|
|
84671
|
+
);
|
|
84672
|
+
|
|
84673
|
+
const { shadowColor: shadowColor$6 } = helperRefs$6;
|
|
84674
|
+
|
|
84675
|
+
const vars$10 = BadgeClass.cssVarList;
|
|
84627
84676
|
|
|
84628
84677
|
const badge$2 = {
|
|
84629
|
-
|
|
84630
|
-
|
|
84678
|
+
...helperTheme$6,
|
|
84679
|
+
|
|
84680
|
+
[vars$10.hostWidth]: 'fit-content',
|
|
84681
|
+
[vars$10.hostDirection]: globalRefs$B.direction,
|
|
84631
84682
|
|
|
84632
|
-
[vars
|
|
84683
|
+
[vars$10.textAlign]: 'center',
|
|
84633
84684
|
|
|
84634
|
-
[vars
|
|
84635
|
-
[vars
|
|
84685
|
+
[vars$10.fontFamily]: globalRefs$B.fonts.font1.family,
|
|
84686
|
+
[vars$10.fontWeight]: '400',
|
|
84636
84687
|
|
|
84637
|
-
[vars
|
|
84638
|
-
[vars
|
|
84688
|
+
[vars$10.verticalPadding]: '0.25em',
|
|
84689
|
+
[vars$10.horizontalPadding]: '0.5em',
|
|
84639
84690
|
|
|
84640
|
-
[vars
|
|
84641
|
-
[vars
|
|
84642
|
-
[vars
|
|
84643
|
-
[vars
|
|
84691
|
+
[vars$10.borderWidth]: globalRefs$B.border.xs,
|
|
84692
|
+
[vars$10.borderRadius]: globalRefs$B.radius.xs,
|
|
84693
|
+
[vars$10.borderColor]: 'transparent',
|
|
84694
|
+
[vars$10.borderStyle]: 'solid',
|
|
84644
84695
|
|
|
84645
84696
|
_fullWidth: {
|
|
84646
|
-
[vars
|
|
84697
|
+
[vars$10.hostWidth]: '100%',
|
|
84647
84698
|
},
|
|
84648
84699
|
|
|
84649
84700
|
size: {
|
|
84650
|
-
xs: { [vars
|
|
84651
|
-
sm: { [vars
|
|
84652
|
-
md: { [vars
|
|
84653
|
-
lg: { [vars
|
|
84701
|
+
xs: { [vars$10.fontSize]: '12px' },
|
|
84702
|
+
sm: { [vars$10.fontSize]: '14px' },
|
|
84703
|
+
md: { [vars$10.fontSize]: '16px' },
|
|
84704
|
+
lg: { [vars$10.fontSize]: '18px' },
|
|
84705
|
+
},
|
|
84706
|
+
|
|
84707
|
+
variant: {
|
|
84708
|
+
contained: {
|
|
84709
|
+
[vars$10.backgroundColor]: globalRefs$B.colors.surface.main,
|
|
84710
|
+
},
|
|
84711
|
+
},
|
|
84712
|
+
|
|
84713
|
+
$breakpoints: {
|
|
84714
|
+
indicator: '(max-width: 65px)',
|
|
84715
|
+
},
|
|
84716
|
+
|
|
84717
|
+
_shrinkToIndicator: {
|
|
84718
|
+
'$breakpoints.indicator': {
|
|
84719
|
+
[vars$10.hostWidth]: '13px',
|
|
84720
|
+
[vars$10.hostHeight]: '13px',
|
|
84721
|
+
[vars$10.borderRadius]: '50%',
|
|
84722
|
+
[vars$10.fontSize]: '0',
|
|
84723
|
+
[vars$10.textIndent]: '-9999px',
|
|
84724
|
+
},
|
|
84654
84725
|
},
|
|
84655
84726
|
|
|
84656
84727
|
mode: {
|
|
84657
84728
|
default: {
|
|
84658
|
-
[vars
|
|
84729
|
+
[vars$10.textColor]: globalRefs$B.colors.surface.dark,
|
|
84659
84730
|
_bordered: {
|
|
84660
|
-
[vars
|
|
84731
|
+
[vars$10.borderColor]: globalRefs$B.colors.surface.light,
|
|
84661
84732
|
},
|
|
84662
84733
|
},
|
|
84663
84734
|
primary: {
|
|
84664
|
-
[vars
|
|
84735
|
+
[vars$10.textColor]: globalRefs$B.colors.primary.main,
|
|
84665
84736
|
_bordered: {
|
|
84666
|
-
[vars
|
|
84737
|
+
[vars$10.borderColor]: globalRefs$B.colors.primary.light,
|
|
84667
84738
|
},
|
|
84668
84739
|
},
|
|
84669
84740
|
secondary: {
|
|
84670
|
-
[vars
|
|
84741
|
+
[vars$10.textColor]: globalRefs$B.colors.secondary.main,
|
|
84671
84742
|
_bordered: {
|
|
84672
|
-
[vars
|
|
84743
|
+
[vars$10.borderColor]: globalRefs$B.colors.secondary.light,
|
|
84673
84744
|
},
|
|
84674
84745
|
},
|
|
84675
84746
|
error: {
|
|
84676
|
-
[vars
|
|
84747
|
+
[vars$10.textColor]: globalRefs$B.colors.error.main,
|
|
84677
84748
|
_bordered: {
|
|
84678
|
-
[vars
|
|
84749
|
+
[vars$10.borderColor]: globalRefs$B.colors.error.light,
|
|
84679
84750
|
},
|
|
84680
84751
|
},
|
|
84681
84752
|
success: {
|
|
84682
|
-
[vars
|
|
84753
|
+
[vars$10.textColor]: globalRefs$B.colors.success.main,
|
|
84683
84754
|
_bordered: {
|
|
84684
|
-
[vars
|
|
84755
|
+
[vars$10.borderColor]: globalRefs$B.colors.success.light,
|
|
84685
84756
|
},
|
|
84686
84757
|
},
|
|
84687
84758
|
},
|
|
84759
|
+
|
|
84760
|
+
shadow: {
|
|
84761
|
+
sm: {
|
|
84762
|
+
[vars$10.boxShadow]: `${globalRefs$B.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.sm} ${shadowColor$6}`,
|
|
84763
|
+
},
|
|
84764
|
+
md: {
|
|
84765
|
+
[vars$10.boxShadow]: `${globalRefs$B.shadow.wide.md} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.md} ${shadowColor$6}`,
|
|
84766
|
+
},
|
|
84767
|
+
lg: {
|
|
84768
|
+
[vars$10.boxShadow]: `${globalRefs$B.shadow.wide.lg} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.lg} ${shadowColor$6}`,
|
|
84769
|
+
},
|
|
84770
|
+
xl: {
|
|
84771
|
+
[vars$10.boxShadow]: `${globalRefs$B.shadow.wide.xl} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.xl} ${shadowColor$6}`,
|
|
84772
|
+
},
|
|
84773
|
+
},
|
|
84688
84774
|
};
|
|
84689
84775
|
|
|
84690
84776
|
var badge$3 = /*#__PURE__*/Object.freeze({
|
|
84691
84777
|
__proto__: null,
|
|
84692
84778
|
default: badge$2,
|
|
84693
|
-
vars: vars
|
|
84779
|
+
vars: vars$10
|
|
84694
84780
|
});
|
|
84695
84781
|
|
|
84696
|
-
const componentName$
|
|
84782
|
+
const componentName$1b = getComponentName('avatar');
|
|
84697
84783
|
class RawAvatar extends createBaseClass$1({
|
|
84698
|
-
componentName: componentName$
|
|
84784
|
+
componentName: componentName$1b,
|
|
84699
84785
|
baseSelector: ':host > .wrapper',
|
|
84700
84786
|
}) {
|
|
84701
84787
|
constructor() {
|
|
@@ -84846,37 +84932,37 @@ function requireIndex_cjs () {
|
|
|
84846
84932
|
},
|
|
84847
84933
|
};
|
|
84848
84934
|
|
|
84849
|
-
const vars
|
|
84935
|
+
const vars$$ = {
|
|
84850
84936
|
...compVars$8,
|
|
84851
84937
|
};
|
|
84852
84938
|
|
|
84853
84939
|
var avatar$1 = /*#__PURE__*/Object.freeze({
|
|
84854
84940
|
__proto__: null,
|
|
84855
84941
|
default: avatar,
|
|
84856
|
-
vars: vars
|
|
84942
|
+
vars: vars$$
|
|
84857
84943
|
});
|
|
84858
84944
|
|
|
84859
|
-
const vars$
|
|
84945
|
+
const vars$_ = IconClass.cssVarList;
|
|
84860
84946
|
|
|
84861
84947
|
const icon$3 = {};
|
|
84862
84948
|
|
|
84863
84949
|
var icon$4 = /*#__PURE__*/Object.freeze({
|
|
84864
84950
|
__proto__: null,
|
|
84865
84951
|
default: icon$3,
|
|
84866
|
-
vars: vars$
|
|
84952
|
+
vars: vars$_
|
|
84867
84953
|
});
|
|
84868
84954
|
|
|
84869
|
-
const vars$
|
|
84955
|
+
const vars$Z = ImageClass.cssVarList;
|
|
84870
84956
|
|
|
84871
84957
|
const image = {};
|
|
84872
84958
|
|
|
84873
84959
|
var image$1 = /*#__PURE__*/Object.freeze({
|
|
84874
84960
|
__proto__: null,
|
|
84875
84961
|
default: image,
|
|
84876
|
-
vars: vars$
|
|
84962
|
+
vars: vars$Z
|
|
84877
84963
|
});
|
|
84878
84964
|
|
|
84879
|
-
const componentName$
|
|
84965
|
+
const componentName$1a = getComponentName('list-item');
|
|
84880
84966
|
|
|
84881
84967
|
const customMixin$f = (superclass) =>
|
|
84882
84968
|
class ListItemMixinClass extends superclass {
|
|
@@ -84933,12 +85019,12 @@ function requireIndex_cjs () {
|
|
|
84933
85019
|
componentNameValidationMixin$1,
|
|
84934
85020
|
customMixin$f,
|
|
84935
85021
|
activeableMixin,
|
|
84936
|
-
)(createBaseClass$1({ componentName: componentName$
|
|
85022
|
+
)(createBaseClass$1({ componentName: componentName$1a, baseSelector: 'slot' }));
|
|
84937
85023
|
|
|
84938
|
-
const componentName$
|
|
85024
|
+
const componentName$19 = getComponentName('list');
|
|
84939
85025
|
|
|
84940
85026
|
class RawList extends createBaseClass$1({
|
|
84941
|
-
componentName: componentName$
|
|
85027
|
+
componentName: componentName$19,
|
|
84942
85028
|
baseSelector: '.wrapper',
|
|
84943
85029
|
}) {
|
|
84944
85030
|
static get observedAttributes() {
|
|
@@ -85109,7 +85195,7 @@ function requireIndex_cjs () {
|
|
|
85109
85195
|
componentNameValidationMixin$1,
|
|
85110
85196
|
)(RawList);
|
|
85111
85197
|
|
|
85112
|
-
const componentName$
|
|
85198
|
+
const componentName$18 = getComponentName('apps-list');
|
|
85113
85199
|
|
|
85114
85200
|
const itemRenderer$4 = ({ name, icon, url }, _, ref) => `
|
|
85115
85201
|
<a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
|
|
@@ -85233,7 +85319,7 @@ function requireIndex_cjs () {
|
|
|
85233
85319
|
slots: ['empty-state'],
|
|
85234
85320
|
wrappedEleName: 'descope-list',
|
|
85235
85321
|
excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
|
|
85236
|
-
componentName: componentName$
|
|
85322
|
+
componentName: componentName$18,
|
|
85237
85323
|
style: () => `
|
|
85238
85324
|
:host {
|
|
85239
85325
|
width: 100%;
|
|
@@ -85268,60 +85354,60 @@ function requireIndex_cjs () {
|
|
|
85268
85354
|
}),
|
|
85269
85355
|
);
|
|
85270
85356
|
|
|
85271
|
-
const vars$
|
|
85357
|
+
const vars$Y = AppsListClass.cssVarList;
|
|
85272
85358
|
const globalRefs$z = getThemeRefs$1(globals);
|
|
85273
85359
|
|
|
85274
85360
|
const defaultHeight = '400px';
|
|
85275
85361
|
|
|
85276
85362
|
const appsList = {
|
|
85277
|
-
[vars$
|
|
85278
|
-
[vars$
|
|
85279
|
-
[vars$
|
|
85280
|
-
[vars$
|
|
85363
|
+
[vars$Y.itemsTextAlign]: 'start',
|
|
85364
|
+
[vars$Y.hostDirection]: globalRefs$z.direction,
|
|
85365
|
+
[vars$Y.maxHeight]: defaultHeight,
|
|
85366
|
+
[vars$Y.itemHoverBackgroundColor]: globalRefs$z.colors.surface.highlight,
|
|
85281
85367
|
|
|
85282
85368
|
_empty: {
|
|
85283
|
-
[vars$
|
|
85369
|
+
[vars$Y.minHeight]: defaultHeight,
|
|
85284
85370
|
},
|
|
85285
85371
|
|
|
85286
85372
|
size: {
|
|
85287
85373
|
xs: {
|
|
85288
|
-
[vars$
|
|
85289
|
-
[vars$
|
|
85374
|
+
[vars$Y.itemsFontSize]: '14px',
|
|
85375
|
+
[vars$Y.itemsFontWeight]: 'normal',
|
|
85290
85376
|
},
|
|
85291
85377
|
sm: {
|
|
85292
|
-
[vars$
|
|
85293
|
-
[vars$
|
|
85378
|
+
[vars$Y.itemsFontSize]: '14px',
|
|
85379
|
+
[vars$Y.itemsFontWeight]: 'normal',
|
|
85294
85380
|
},
|
|
85295
85381
|
md: {
|
|
85296
|
-
[vars$
|
|
85297
|
-
[vars$
|
|
85382
|
+
[vars$Y.itemsFontSize]: '16px',
|
|
85383
|
+
[vars$Y.itemsFontWeight]: 'normal',
|
|
85298
85384
|
},
|
|
85299
85385
|
lg: {
|
|
85300
|
-
[vars$
|
|
85301
|
-
[vars$
|
|
85386
|
+
[vars$Y.itemsFontSize]: '20px',
|
|
85387
|
+
[vars$Y.itemsFontWeight]: 'normal',
|
|
85302
85388
|
},
|
|
85303
85389
|
},
|
|
85304
85390
|
|
|
85305
85391
|
itemPadding: {
|
|
85306
85392
|
xs: {
|
|
85307
|
-
[vars$
|
|
85308
|
-
[vars$
|
|
85393
|
+
[vars$Y.itemVerticalPadding]: globalRefs$z.spacing.xs,
|
|
85394
|
+
[vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.xs,
|
|
85309
85395
|
},
|
|
85310
85396
|
sm: {
|
|
85311
|
-
[vars$
|
|
85312
|
-
[vars$
|
|
85397
|
+
[vars$Y.itemVerticalPadding]: globalRefs$z.spacing.sm,
|
|
85398
|
+
[vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.sm,
|
|
85313
85399
|
},
|
|
85314
85400
|
md: {
|
|
85315
|
-
[vars$
|
|
85316
|
-
[vars$
|
|
85401
|
+
[vars$Y.itemVerticalPadding]: globalRefs$z.spacing.md,
|
|
85402
|
+
[vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.md,
|
|
85317
85403
|
},
|
|
85318
85404
|
lg: {
|
|
85319
|
-
[vars$
|
|
85320
|
-
[vars$
|
|
85405
|
+
[vars$Y.itemVerticalPadding]: globalRefs$z.spacing.lg,
|
|
85406
|
+
[vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.lg,
|
|
85321
85407
|
},
|
|
85322
85408
|
xl: {
|
|
85323
|
-
[vars$
|
|
85324
|
-
[vars$
|
|
85409
|
+
[vars$Y.itemVerticalPadding]: globalRefs$z.spacing.xl,
|
|
85410
|
+
[vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.xl,
|
|
85325
85411
|
},
|
|
85326
85412
|
},
|
|
85327
85413
|
};
|
|
@@ -85329,7 +85415,7 @@ function requireIndex_cjs () {
|
|
|
85329
85415
|
var appsList$1 = /*#__PURE__*/Object.freeze({
|
|
85330
85416
|
__proto__: null,
|
|
85331
85417
|
default: appsList,
|
|
85332
|
-
vars: vars$
|
|
85418
|
+
vars: vars$Y
|
|
85333
85419
|
});
|
|
85334
85420
|
|
|
85335
85421
|
const globalRefs$y = getThemeRefs$1(globals);
|
|
@@ -85338,7 +85424,7 @@ function requireIndex_cjs () {
|
|
|
85338
85424
|
|
|
85339
85425
|
const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
|
|
85340
85426
|
{ shadowColor: '#00000020' },
|
|
85341
|
-
componentName$
|
|
85427
|
+
componentName$19,
|
|
85342
85428
|
);
|
|
85343
85429
|
|
|
85344
85430
|
const { shadowColor: shadowColor$5 } = helperRefs$5;
|
|
@@ -85399,7 +85485,7 @@ function requireIndex_cjs () {
|
|
|
85399
85485
|
},
|
|
85400
85486
|
};
|
|
85401
85487
|
|
|
85402
|
-
const vars$
|
|
85488
|
+
const vars$X = {
|
|
85403
85489
|
...compVars$7,
|
|
85404
85490
|
...helperVars$5,
|
|
85405
85491
|
};
|
|
@@ -85407,60 +85493,60 @@ function requireIndex_cjs () {
|
|
|
85407
85493
|
var list$1 = /*#__PURE__*/Object.freeze({
|
|
85408
85494
|
__proto__: null,
|
|
85409
85495
|
default: list,
|
|
85410
|
-
vars: vars$
|
|
85496
|
+
vars: vars$X
|
|
85411
85497
|
});
|
|
85412
85498
|
|
|
85413
85499
|
const globalRefs$x = getThemeRefs$1(globals);
|
|
85414
85500
|
|
|
85415
|
-
const vars$
|
|
85501
|
+
const vars$W = ListItemClass.cssVarList;
|
|
85416
85502
|
|
|
85417
85503
|
const listItem = {
|
|
85418
|
-
[vars$
|
|
85419
|
-
[vars$
|
|
85420
|
-
[vars$
|
|
85421
|
-
[vars$
|
|
85422
|
-
[vars$
|
|
85423
|
-
[vars$
|
|
85424
|
-
[vars$
|
|
85425
|
-
[vars$
|
|
85426
|
-
[vars$
|
|
85427
|
-
[vars$
|
|
85428
|
-
[vars$
|
|
85429
|
-
[vars$
|
|
85504
|
+
[vars$W.backgroundColor]: globalRefs$x.colors.surface.main,
|
|
85505
|
+
[vars$W.verticalPadding]: globalRefs$x.spacing.lg,
|
|
85506
|
+
[vars$W.horizontalPadding]: globalRefs$x.spacing.lg,
|
|
85507
|
+
[vars$W.gap]: globalRefs$x.spacing.md,
|
|
85508
|
+
[vars$W.borderStyle]: 'solid',
|
|
85509
|
+
[vars$W.borderWidth]: globalRefs$x.border.xs,
|
|
85510
|
+
[vars$W.borderColor]: globalRefs$x.colors.surface.main,
|
|
85511
|
+
[vars$W.borderRadius]: globalRefs$x.radius.sm,
|
|
85512
|
+
[vars$W.cursor]: 'pointer',
|
|
85513
|
+
[vars$W.alignItems]: 'center',
|
|
85514
|
+
[vars$W.flexDirection]: 'row',
|
|
85515
|
+
[vars$W.transition]: 'border-color 0.2s, background-color 0.2s',
|
|
85430
85516
|
|
|
85431
85517
|
variant: {
|
|
85432
85518
|
tile: {
|
|
85433
|
-
[vars$
|
|
85434
|
-
[vars$
|
|
85435
|
-
[vars$
|
|
85519
|
+
[vars$W.alignItems]: 'flex-start',
|
|
85520
|
+
[vars$W.flexDirection]: 'column',
|
|
85521
|
+
[vars$W.borderColor]: globalRefs$x.colors.surface.light,
|
|
85436
85522
|
},
|
|
85437
85523
|
},
|
|
85438
85524
|
|
|
85439
85525
|
_hover: {
|
|
85440
|
-
[vars$
|
|
85526
|
+
[vars$W.backgroundColor]: globalRefs$x.colors.surface.highlight,
|
|
85441
85527
|
},
|
|
85442
85528
|
|
|
85443
85529
|
_active: {
|
|
85444
|
-
[vars$
|
|
85445
|
-
[vars$
|
|
85446
|
-
[vars$
|
|
85530
|
+
[vars$W.backgroundColor]: globalRefs$x.colors.surface.main,
|
|
85531
|
+
[vars$W.borderColor]: globalRefs$x.colors.primary.light,
|
|
85532
|
+
[vars$W.outline]: `1px solid ${globalRefs$x.colors.primary.light}`,
|
|
85447
85533
|
},
|
|
85448
85534
|
};
|
|
85449
85535
|
|
|
85450
85536
|
var listItem$1 = /*#__PURE__*/Object.freeze({
|
|
85451
85537
|
__proto__: null,
|
|
85452
85538
|
default: listItem,
|
|
85453
|
-
vars: vars$
|
|
85539
|
+
vars: vars$W
|
|
85454
85540
|
});
|
|
85455
85541
|
|
|
85456
|
-
const componentName$
|
|
85542
|
+
const componentName$17 = getComponentName('autocomplete-field-internal');
|
|
85457
85543
|
|
|
85458
85544
|
createBaseInputClass$1({
|
|
85459
|
-
componentName: componentName$
|
|
85545
|
+
componentName: componentName$17,
|
|
85460
85546
|
baseSelector: '',
|
|
85461
85547
|
});
|
|
85462
85548
|
|
|
85463
|
-
const componentName$
|
|
85549
|
+
const componentName$16 = getComponentName('autocomplete-field');
|
|
85464
85550
|
|
|
85465
85551
|
const customMixin$d = (superclass) =>
|
|
85466
85552
|
class AutocompleteFieldMixinClass extends superclass {
|
|
@@ -85481,15 +85567,15 @@ function requireIndex_cjs () {
|
|
|
85481
85567
|
const template = document.createElement('template');
|
|
85482
85568
|
|
|
85483
85569
|
template.innerHTML = `
|
|
85484
|
-
<${componentName$
|
|
85570
|
+
<${componentName$17}
|
|
85485
85571
|
tabindex="-1"
|
|
85486
|
-
></${componentName$
|
|
85572
|
+
></${componentName$17}>
|
|
85487
85573
|
`;
|
|
85488
85574
|
|
|
85489
85575
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
85490
85576
|
|
|
85491
85577
|
this.inputElement = this.shadowRoot.querySelector(
|
|
85492
|
-
componentName$
|
|
85578
|
+
componentName$17,
|
|
85493
85579
|
);
|
|
85494
85580
|
|
|
85495
85581
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -85608,34 +85694,34 @@ function requireIndex_cjs () {
|
|
|
85608
85694
|
}
|
|
85609
85695
|
`,
|
|
85610
85696
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
85611
|
-
componentName: componentName$
|
|
85697
|
+
componentName: componentName$16,
|
|
85612
85698
|
}),
|
|
85613
85699
|
);
|
|
85614
85700
|
|
|
85615
|
-
const vars$
|
|
85701
|
+
const vars$V = AutocompleteFieldClass.cssVarList;
|
|
85616
85702
|
const globalRefs$w = getThemeRefs$1(globals);
|
|
85617
85703
|
|
|
85618
85704
|
const autocompleteField = {
|
|
85619
|
-
[vars$
|
|
85620
|
-
[vars$
|
|
85621
|
-
[vars$
|
|
85622
|
-
[vars$
|
|
85623
|
-
[vars$
|
|
85624
|
-
[vars$
|
|
85625
|
-
[vars$
|
|
85626
|
-
[vars$
|
|
85627
|
-
[vars$
|
|
85628
|
-
[vars$
|
|
85705
|
+
[vars$V.hostWidth]: refs$1.width,
|
|
85706
|
+
[vars$V.hostDirection]: refs$1.direction,
|
|
85707
|
+
[vars$V.fontSize]: refs$1.fontSize,
|
|
85708
|
+
[vars$V.checkmarkDisplay]: 'none',
|
|
85709
|
+
[vars$V.itemPaddingInlineStart]: globalRefs$w.spacing.lg,
|
|
85710
|
+
[vars$V.itemPaddingInlineEnd]: globalRefs$w.spacing.lg,
|
|
85711
|
+
[vars$V.selectedItemBackground]: globalRefs$w.colors.primary.light,
|
|
85712
|
+
[vars$V.selectedItemHoverBackground]: globalRefs$w.colors.primary.light,
|
|
85713
|
+
[vars$V.selectedItemFocusBackground]: globalRefs$w.colors.primary.light,
|
|
85714
|
+
[vars$V.itemHoverBackground]: globalRefs$w.colors.primary.highlight,
|
|
85629
85715
|
|
|
85630
85716
|
_fullWidth: {
|
|
85631
|
-
[vars$
|
|
85717
|
+
[vars$V.hostWidth]: '100%',
|
|
85632
85718
|
},
|
|
85633
85719
|
};
|
|
85634
85720
|
|
|
85635
85721
|
var autocompleteField$1 = /*#__PURE__*/Object.freeze({
|
|
85636
85722
|
__proto__: null,
|
|
85637
85723
|
default: autocompleteField,
|
|
85638
|
-
vars: vars$
|
|
85724
|
+
vars: vars$V
|
|
85639
85725
|
});
|
|
85640
85726
|
|
|
85641
85727
|
const initGoogleMapsLoader = (apiKey) => {
|
|
@@ -85862,7 +85948,7 @@ function requireIndex_cjs () {
|
|
|
85862
85948
|
}
|
|
85863
85949
|
}
|
|
85864
85950
|
|
|
85865
|
-
const componentName$
|
|
85951
|
+
const componentName$15 = getComponentName('address-field-internal');
|
|
85866
85952
|
|
|
85867
85953
|
const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
|
|
85868
85954
|
const RADAR_CONNECTOR_TEMPLATE = 'radar';
|
|
@@ -85873,7 +85959,7 @@ function requireIndex_cjs () {
|
|
|
85873
85959
|
};
|
|
85874
85960
|
|
|
85875
85961
|
const BaseInputClass$5 = createBaseInputClass$1({
|
|
85876
|
-
componentName: componentName$
|
|
85962
|
+
componentName: componentName$15,
|
|
85877
85963
|
baseSelector: '',
|
|
85878
85964
|
});
|
|
85879
85965
|
const initConnectorAttrs = ['public-api-key'];
|
|
@@ -85980,7 +86066,7 @@ function requireIndex_cjs () {
|
|
|
85980
86066
|
connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
|
|
85981
86067
|
)(RawAddressFieldInternal);
|
|
85982
86068
|
|
|
85983
|
-
const componentName$
|
|
86069
|
+
const componentName$14 = getComponentName('address-field');
|
|
85984
86070
|
|
|
85985
86071
|
const customMixin$c = (superclass) =>
|
|
85986
86072
|
class AddressFieldMixinClass extends superclass {
|
|
@@ -86009,15 +86095,15 @@ function requireIndex_cjs () {
|
|
|
86009
86095
|
const template = document.createElement('template');
|
|
86010
86096
|
|
|
86011
86097
|
template.innerHTML = `
|
|
86012
|
-
<${componentName$
|
|
86098
|
+
<${componentName$15}
|
|
86013
86099
|
tabindex="-1"
|
|
86014
|
-
></${componentName$
|
|
86100
|
+
></${componentName$15}>
|
|
86015
86101
|
`;
|
|
86016
86102
|
|
|
86017
86103
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
86018
86104
|
|
|
86019
86105
|
this.inputElement = this.shadowRoot.querySelector(
|
|
86020
|
-
componentName$
|
|
86106
|
+
componentName$15,
|
|
86021
86107
|
);
|
|
86022
86108
|
|
|
86023
86109
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -86095,7 +86181,7 @@ function requireIndex_cjs () {
|
|
|
86095
86181
|
width: 100%;
|
|
86096
86182
|
}
|
|
86097
86183
|
|
|
86098
|
-
${componentName$
|
|
86184
|
+
${componentName$15} {
|
|
86099
86185
|
display: inline-block;
|
|
86100
86186
|
box-sizing: border-box;
|
|
86101
86187
|
user-select: none;
|
|
@@ -86103,30 +86189,30 @@ function requireIndex_cjs () {
|
|
|
86103
86189
|
max-width: 100%;
|
|
86104
86190
|
}
|
|
86105
86191
|
|
|
86106
|
-
${componentName$
|
|
86192
|
+
${componentName$15} ::slotted {
|
|
86107
86193
|
padding: 0;
|
|
86108
86194
|
}
|
|
86109
86195
|
`,
|
|
86110
86196
|
excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
|
|
86111
|
-
componentName: componentName$
|
|
86197
|
+
componentName: componentName$14,
|
|
86112
86198
|
}),
|
|
86113
86199
|
);
|
|
86114
86200
|
|
|
86115
|
-
const vars$
|
|
86201
|
+
const vars$U = AddressFieldClass.cssVarList;
|
|
86116
86202
|
|
|
86117
86203
|
const addressField = {
|
|
86118
|
-
[vars$
|
|
86119
|
-
[vars$
|
|
86204
|
+
[vars$U.hostWidth]: refs$1.width,
|
|
86205
|
+
[vars$U.hostDirection]: refs$1.direction,
|
|
86120
86206
|
|
|
86121
86207
|
_fullWidth: {
|
|
86122
|
-
[vars$
|
|
86208
|
+
[vars$U.hostWidth]: '100%',
|
|
86123
86209
|
},
|
|
86124
86210
|
};
|
|
86125
86211
|
|
|
86126
86212
|
var addressField$1 = /*#__PURE__*/Object.freeze({
|
|
86127
86213
|
__proto__: null,
|
|
86128
86214
|
default: addressField,
|
|
86129
|
-
vars: vars$
|
|
86215
|
+
vars: vars$U
|
|
86130
86216
|
});
|
|
86131
86217
|
|
|
86132
86218
|
var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
|
|
@@ -86148,12 +86234,12 @@ function requireIndex_cjs () {
|
|
|
86148
86234
|
return timeParts.join(':');
|
|
86149
86235
|
};
|
|
86150
86236
|
|
|
86151
|
-
const componentName$
|
|
86237
|
+
const componentName$13 = getComponentName('timer');
|
|
86152
86238
|
|
|
86153
86239
|
const observedAttributes$5 = ['seconds', 'hide-icon', 'paused'];
|
|
86154
86240
|
|
|
86155
86241
|
const BaseClass$7 = createBaseClass$1({
|
|
86156
|
-
componentName: componentName$
|
|
86242
|
+
componentName: componentName$13,
|
|
86157
86243
|
baseSelector: ':host > .wrapper',
|
|
86158
86244
|
});
|
|
86159
86245
|
|
|
@@ -86337,44 +86423,44 @@ function requireIndex_cjs () {
|
|
|
86337
86423
|
)(RawTimer);
|
|
86338
86424
|
|
|
86339
86425
|
const globalRefs$v = getThemeRefs$1(globals);
|
|
86340
|
-
const vars$
|
|
86426
|
+
const vars$T = TimerClass.cssVarList;
|
|
86341
86427
|
|
|
86342
86428
|
const timer = {
|
|
86343
|
-
[vars$
|
|
86344
|
-
[vars$
|
|
86345
|
-
[vars$
|
|
86346
|
-
[vars$
|
|
86347
|
-
[vars$
|
|
86348
|
-
[vars$
|
|
86349
|
-
[vars$
|
|
86350
|
-
[vars$
|
|
86351
|
-
[vars$
|
|
86429
|
+
[vars$T.hostDirection]: globalRefs$v.direction,
|
|
86430
|
+
[vars$T.gap]: '0.25em',
|
|
86431
|
+
[vars$T.fontFamily]: globalRefs$v.fonts.font1.family,
|
|
86432
|
+
[vars$T.minHeight]: '1.5em',
|
|
86433
|
+
[vars$T.lineHeight]: '1em',
|
|
86434
|
+
[vars$T.fontWeight]: globalRefs$v.fonts.font1.fontWeight,
|
|
86435
|
+
[vars$T.textColor]: globalRefs$v.colors.surface.contrast,
|
|
86436
|
+
[vars$T.iconColor]: globalRefs$v.colors.surface.contrast,
|
|
86437
|
+
[vars$T.iconSize]: '1em',
|
|
86352
86438
|
|
|
86353
86439
|
size: {
|
|
86354
|
-
xs: { [vars$
|
|
86355
|
-
sm: { [vars$
|
|
86356
|
-
md: { [vars$
|
|
86357
|
-
lg: { [vars$
|
|
86440
|
+
xs: { [vars$T.fontSize]: '12px' },
|
|
86441
|
+
sm: { [vars$T.fontSize]: '14px' },
|
|
86442
|
+
md: { [vars$T.fontSize]: '16px' },
|
|
86443
|
+
lg: { [vars$T.fontSize]: '18px' },
|
|
86358
86444
|
},
|
|
86359
86445
|
|
|
86360
86446
|
textAlign: {
|
|
86361
|
-
right: { [vars$
|
|
86362
|
-
left: { [vars$
|
|
86363
|
-
center: { [vars$
|
|
86447
|
+
right: { [vars$T.textAlign]: 'right' },
|
|
86448
|
+
left: { [vars$T.textAlign]: 'left' },
|
|
86449
|
+
center: { [vars$T.textAlign]: 'center' },
|
|
86364
86450
|
},
|
|
86365
86451
|
|
|
86366
86452
|
_fullWidth: {
|
|
86367
|
-
[vars$
|
|
86453
|
+
[vars$T.hostWidth]: '100%',
|
|
86368
86454
|
},
|
|
86369
86455
|
};
|
|
86370
86456
|
|
|
86371
86457
|
var timer$1 = /*#__PURE__*/Object.freeze({
|
|
86372
86458
|
__proto__: null,
|
|
86373
86459
|
default: timer,
|
|
86374
|
-
vars: vars$
|
|
86460
|
+
vars: vars$T
|
|
86375
86461
|
});
|
|
86376
86462
|
|
|
86377
|
-
const componentName$
|
|
86463
|
+
const componentName$12 = getComponentName('timer-button');
|
|
86378
86464
|
|
|
86379
86465
|
const buttonAttrs = [
|
|
86380
86466
|
'button-variant',
|
|
@@ -86405,7 +86491,7 @@ function requireIndex_cjs () {
|
|
|
86405
86491
|
};
|
|
86406
86492
|
|
|
86407
86493
|
const BaseClass$6 = createBaseClass$1({
|
|
86408
|
-
componentName: componentName$
|
|
86494
|
+
componentName: componentName$12,
|
|
86409
86495
|
baseSelector: ':host > div',
|
|
86410
86496
|
});
|
|
86411
86497
|
|
|
@@ -86514,30 +86600,30 @@ function requireIndex_cjs () {
|
|
|
86514
86600
|
)(RawTimerButton);
|
|
86515
86601
|
|
|
86516
86602
|
const globalRefs$u = getThemeRefs$1(globals);
|
|
86517
|
-
const vars$
|
|
86603
|
+
const vars$S = TimerButtonClass.cssVarList;
|
|
86518
86604
|
|
|
86519
86605
|
const timerButton = {
|
|
86520
|
-
[vars$
|
|
86521
|
-
[vars$
|
|
86606
|
+
[vars$S.gap]: globalRefs$u.spacing.sm,
|
|
86607
|
+
[vars$S.flexDirection]: 'column',
|
|
86522
86608
|
|
|
86523
86609
|
_horizontal: {
|
|
86524
|
-
[vars$
|
|
86610
|
+
[vars$S.flexDirection]: 'row',
|
|
86525
86611
|
},
|
|
86526
86612
|
|
|
86527
86613
|
_fullWidth: {
|
|
86528
|
-
[vars$
|
|
86614
|
+
[vars$S.hostWidth]: '100%',
|
|
86529
86615
|
},
|
|
86530
86616
|
};
|
|
86531
86617
|
|
|
86532
86618
|
var timerButton$1 = /*#__PURE__*/Object.freeze({
|
|
86533
86619
|
__proto__: null,
|
|
86534
86620
|
default: timerButton,
|
|
86535
|
-
vars: vars$
|
|
86621
|
+
vars: vars$S
|
|
86536
86622
|
});
|
|
86537
86623
|
|
|
86538
|
-
const componentName$
|
|
86624
|
+
const componentName$11 = getComponentName('password-strength');
|
|
86539
86625
|
class RawPasswordStrength extends createBaseClass$1({
|
|
86540
|
-
componentName: componentName$
|
|
86626
|
+
componentName: componentName$11,
|
|
86541
86627
|
baseSelector: ':host > .wrapper',
|
|
86542
86628
|
}) {
|
|
86543
86629
|
static get observedAttributes() {
|
|
@@ -86728,22 +86814,22 @@ function requireIndex_cjs () {
|
|
|
86728
86814
|
}
|
|
86729
86815
|
};
|
|
86730
86816
|
|
|
86731
|
-
const vars$
|
|
86817
|
+
const vars$R = {
|
|
86732
86818
|
...compVars$6,
|
|
86733
86819
|
};
|
|
86734
86820
|
|
|
86735
86821
|
var passwordStrength$1 = /*#__PURE__*/Object.freeze({
|
|
86736
86822
|
__proto__: null,
|
|
86737
86823
|
default: passwordStrength,
|
|
86738
|
-
vars: vars$
|
|
86824
|
+
vars: vars$R
|
|
86739
86825
|
});
|
|
86740
86826
|
|
|
86741
86827
|
var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
|
|
86742
86828
|
|
|
86743
|
-
const componentName
|
|
86829
|
+
const componentName$10 = getComponentName('collapsible-container');
|
|
86744
86830
|
|
|
86745
86831
|
class RawCollapsibleContainer extends createBaseClass$1({
|
|
86746
|
-
componentName: componentName
|
|
86832
|
+
componentName: componentName$10,
|
|
86747
86833
|
baseSelector: 'slot',
|
|
86748
86834
|
}) {
|
|
86749
86835
|
static get observedAttributes() {
|
|
@@ -86978,7 +87064,7 @@ function requireIndex_cjs () {
|
|
|
86978
87064
|
{
|
|
86979
87065
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
86980
87066
|
},
|
|
86981
|
-
componentName
|
|
87067
|
+
componentName$10
|
|
86982
87068
|
);
|
|
86983
87069
|
|
|
86984
87070
|
const { shadowColor: shadowColor$4 } = helperRefs$4;
|
|
@@ -87078,7 +87164,7 @@ function requireIndex_cjs () {
|
|
|
87078
87164
|
}
|
|
87079
87165
|
};
|
|
87080
87166
|
|
|
87081
|
-
const vars$
|
|
87167
|
+
const vars$Q = {
|
|
87082
87168
|
...compVars$5,
|
|
87083
87169
|
...helperVars$4,
|
|
87084
87170
|
};
|
|
@@ -87086,10 +87172,10 @@ function requireIndex_cjs () {
|
|
|
87086
87172
|
var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
|
|
87087
87173
|
__proto__: null,
|
|
87088
87174
|
default: collapsibleContainer,
|
|
87089
|
-
vars: vars$
|
|
87175
|
+
vars: vars$Q
|
|
87090
87176
|
});
|
|
87091
87177
|
|
|
87092
|
-
const componentName
|
|
87178
|
+
const componentName$$ = getComponentName('recovery-codes');
|
|
87093
87179
|
|
|
87094
87180
|
const itemRenderer$3 = ({ value }, _, ref) => {
|
|
87095
87181
|
return `
|
|
@@ -87100,7 +87186,7 @@ function requireIndex_cjs () {
|
|
|
87100
87186
|
};
|
|
87101
87187
|
|
|
87102
87188
|
class RawRecoveryCodes extends createBaseClass$1({
|
|
87103
|
-
componentName: componentName
|
|
87189
|
+
componentName: componentName$$,
|
|
87104
87190
|
baseSelector: ':host > div',
|
|
87105
87191
|
}) {
|
|
87106
87192
|
static get observedAttributes() {
|
|
@@ -87240,35 +87326,35 @@ function requireIndex_cjs () {
|
|
|
87240
87326
|
)(RawRecoveryCodes);
|
|
87241
87327
|
|
|
87242
87328
|
const globalRefs$r = getThemeRefs$1(globals);
|
|
87243
|
-
const vars$
|
|
87329
|
+
const vars$P = RecoveryCodesClass.cssVarList;
|
|
87244
87330
|
const textVars$5 = TextClass.cssVarList;
|
|
87245
87331
|
|
|
87246
87332
|
const recoveryCodes = {
|
|
87247
|
-
[vars$
|
|
87248
|
-
[vars$
|
|
87249
|
-
[vars$
|
|
87250
|
-
[vars$
|
|
87251
|
-
[vars$
|
|
87252
|
-
[vars$
|
|
87333
|
+
[vars$P.hostMinWidth]: '190px',
|
|
87334
|
+
[vars$P.hostDirection]: globalRefs$r.direction,
|
|
87335
|
+
[vars$P.iconColor]: useVar$1(textVars$5.textColor),
|
|
87336
|
+
[vars$P.iconSize]: useVar$1(textVars$5.fontSize),
|
|
87337
|
+
[vars$P.iconGap]: '8px',
|
|
87338
|
+
[vars$P.bulletGap]: '0.35em',
|
|
87253
87339
|
|
|
87254
87340
|
textAlign: {
|
|
87255
|
-
right: { [vars$
|
|
87256
|
-
left: { [vars$
|
|
87257
|
-
center: { [vars$
|
|
87341
|
+
right: { [vars$P.textAlign]: 'flex-end' },
|
|
87342
|
+
left: { [vars$P.textAlign]: 'flex-start' },
|
|
87343
|
+
center: { [vars$P.textAlign]: 'center' },
|
|
87258
87344
|
},
|
|
87259
87345
|
|
|
87260
87346
|
_fullWidth: {
|
|
87261
|
-
[vars$
|
|
87347
|
+
[vars$P.hostWidth]: '100%',
|
|
87262
87348
|
},
|
|
87263
87349
|
};
|
|
87264
87350
|
|
|
87265
87351
|
var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
|
|
87266
87352
|
__proto__: null,
|
|
87267
87353
|
default: recoveryCodes,
|
|
87268
|
-
vars: vars$
|
|
87354
|
+
vars: vars$P
|
|
87269
87355
|
});
|
|
87270
87356
|
|
|
87271
|
-
const componentName$
|
|
87357
|
+
const componentName$_ = getComponentName('outbound-apps');
|
|
87272
87358
|
|
|
87273
87359
|
const itemRenderer$2 = (
|
|
87274
87360
|
{ name, description, logo, appId, isConnected },
|
|
@@ -87314,7 +87400,7 @@ function requireIndex_cjs () {
|
|
|
87314
87400
|
};
|
|
87315
87401
|
|
|
87316
87402
|
const BaseClass$5 = createBaseClass$1({
|
|
87317
|
-
componentName: componentName$
|
|
87403
|
+
componentName: componentName$_,
|
|
87318
87404
|
baseSelector: 'descope-list',
|
|
87319
87405
|
});
|
|
87320
87406
|
|
|
@@ -87490,36 +87576,36 @@ function requireIndex_cjs () {
|
|
|
87490
87576
|
componentNameValidationMixin$1,
|
|
87491
87577
|
)(RawOutboundAppsClass);
|
|
87492
87578
|
|
|
87493
|
-
const vars$
|
|
87579
|
+
const vars$O = OutboundAppsClass.cssVarList;
|
|
87494
87580
|
|
|
87495
87581
|
const outboundApps = {
|
|
87496
|
-
[vars$
|
|
87497
|
-
[vars$
|
|
87582
|
+
[vars$O.iconColor]: globals.colors.primary.main,
|
|
87583
|
+
[vars$O.errorIconColor]: globals.colors.error.main,
|
|
87498
87584
|
|
|
87499
|
-
[vars$
|
|
87500
|
-
[vars$
|
|
87585
|
+
[vars$O.appLogoGap]: globals.spacing.md,
|
|
87586
|
+
[vars$O.contentGap]: globals.spacing.xs,
|
|
87501
87587
|
|
|
87502
87588
|
// list-item overrides
|
|
87503
|
-
[vars$
|
|
87504
|
-
[vars$
|
|
87505
|
-
[vars$
|
|
87589
|
+
[vars$O.itemCursor]: 'default',
|
|
87590
|
+
[vars$O.itemOutline]: 'none',
|
|
87591
|
+
[vars$O.itemBorderColor]: 'transparent',
|
|
87506
87592
|
|
|
87507
|
-
[vars$
|
|
87508
|
-
[vars$
|
|
87509
|
-
[vars$
|
|
87593
|
+
[vars$O.listPadding]: '0',
|
|
87594
|
+
[vars$O.listBorderWidth]: '0',
|
|
87595
|
+
[vars$O.listBoxShadow]: 'none',
|
|
87510
87596
|
|
|
87511
87597
|
size: {
|
|
87512
87598
|
xs: {
|
|
87513
|
-
[vars$
|
|
87599
|
+
[vars$O.fontSize]: '0.6em',
|
|
87514
87600
|
},
|
|
87515
87601
|
sm: {
|
|
87516
|
-
[vars$
|
|
87602
|
+
[vars$O.fontSize]: '0.8em',
|
|
87517
87603
|
},
|
|
87518
87604
|
md: {
|
|
87519
|
-
[vars$
|
|
87605
|
+
[vars$O.fontSize]: '1em',
|
|
87520
87606
|
},
|
|
87521
87607
|
lg: {
|
|
87522
|
-
[vars$
|
|
87608
|
+
[vars$O.fontSize]: '1.5em',
|
|
87523
87609
|
},
|
|
87524
87610
|
},
|
|
87525
87611
|
};
|
|
@@ -87527,13 +87613,13 @@ function requireIndex_cjs () {
|
|
|
87527
87613
|
var outboundApps$1 = /*#__PURE__*/Object.freeze({
|
|
87528
87614
|
__proto__: null,
|
|
87529
87615
|
default: outboundApps,
|
|
87530
|
-
vars: vars$
|
|
87616
|
+
vars: vars$O
|
|
87531
87617
|
});
|
|
87532
87618
|
|
|
87533
|
-
const componentName$
|
|
87619
|
+
const componentName$Z = getComponentName('outbound-app-button');
|
|
87534
87620
|
|
|
87535
87621
|
class RawOutboundAppButton extends createBaseClass$1({
|
|
87536
|
-
componentName: componentName$
|
|
87622
|
+
componentName: componentName$Z,
|
|
87537
87623
|
baseSelector: ':host > descope-button',
|
|
87538
87624
|
}) {
|
|
87539
87625
|
static get observedAttributes() {
|
|
@@ -87632,12 +87718,12 @@ function requireIndex_cjs () {
|
|
|
87632
87718
|
},
|
|
87633
87719
|
};
|
|
87634
87720
|
|
|
87635
|
-
const vars$
|
|
87721
|
+
const vars$N = compVars$4;
|
|
87636
87722
|
|
|
87637
87723
|
var outboundAppButton$1 = /*#__PURE__*/Object.freeze({
|
|
87638
87724
|
__proto__: null,
|
|
87639
87725
|
default: outboundAppButton,
|
|
87640
|
-
vars: vars$
|
|
87726
|
+
vars: vars$N
|
|
87641
87727
|
});
|
|
87642
87728
|
|
|
87643
87729
|
var desktopDeviceIconLight = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
|
|
@@ -87715,7 +87801,7 @@ function requireIndex_cjs () {
|
|
|
87715
87801
|
};
|
|
87716
87802
|
};
|
|
87717
87803
|
|
|
87718
|
-
const componentName$
|
|
87804
|
+
const componentName$Y = getComponentName('trusted-devices');
|
|
87719
87805
|
|
|
87720
87806
|
const itemRenderer$1 = (
|
|
87721
87807
|
{ id, name, lastLoginDate, deviceType, isCurrent },
|
|
@@ -87804,7 +87890,7 @@ function requireIndex_cjs () {
|
|
|
87804
87890
|
};
|
|
87805
87891
|
|
|
87806
87892
|
const BaseClass$4 = createBaseClass$1({
|
|
87807
|
-
componentName: componentName$
|
|
87893
|
+
componentName: componentName$Y,
|
|
87808
87894
|
baseSelector: ListClass.componentName,
|
|
87809
87895
|
});
|
|
87810
87896
|
|
|
@@ -88094,51 +88180,51 @@ function requireIndex_cjs () {
|
|
|
88094
88180
|
componentNameValidationMixin$1,
|
|
88095
88181
|
)(RawTrustedDevicesClass);
|
|
88096
88182
|
|
|
88097
|
-
const vars$
|
|
88183
|
+
const vars$M = TrustedDevicesClass.cssVarList;
|
|
88098
88184
|
|
|
88099
88185
|
const TrustedDevices = {
|
|
88100
|
-
[vars$
|
|
88101
|
-
[vars$
|
|
88102
|
-
[vars$
|
|
88103
|
-
|
|
88104
|
-
[vars$
|
|
88105
|
-
[vars$
|
|
88106
|
-
[vars$
|
|
88107
|
-
[vars$
|
|
88108
|
-
[vars$
|
|
88109
|
-
[vars$
|
|
88110
|
-
|
|
88111
|
-
[vars$
|
|
88112
|
-
[vars$
|
|
88113
|
-
[vars$
|
|
88114
|
-
[vars$
|
|
88115
|
-
[vars$
|
|
88116
|
-
[vars$
|
|
88117
|
-
[vars$
|
|
88118
|
-
[vars$
|
|
88119
|
-
|
|
88120
|
-
[vars$
|
|
88121
|
-
[vars$
|
|
88122
|
-
[vars$
|
|
88123
|
-
[vars$
|
|
88124
|
-
|
|
88125
|
-
[vars$
|
|
88126
|
-
[vars$
|
|
88127
|
-
[vars$
|
|
88128
|
-
[vars$
|
|
88186
|
+
[vars$M.hostWidth]: 'auto',
|
|
88187
|
+
[vars$M.hostWidth]: '300px',
|
|
88188
|
+
[vars$M.hostMinWidth]: '300px',
|
|
88189
|
+
|
|
88190
|
+
[vars$M.listBackgroundColor]: 'transparent',
|
|
88191
|
+
[vars$M.listBorderRadius]: '0',
|
|
88192
|
+
[vars$M.listBorderWidth]: '0',
|
|
88193
|
+
[vars$M.listPadding]: '0',
|
|
88194
|
+
[vars$M.listBoxShadow]: 'none',
|
|
88195
|
+
[vars$M.listItemsGap]: globals.spacing.lg,
|
|
88196
|
+
|
|
88197
|
+
[vars$M.itemBorderColor]: globals.colors.surface.light,
|
|
88198
|
+
[vars$M.itemVerticalPadding]: globals.spacing.lg,
|
|
88199
|
+
[vars$M.itemHorizontalPadding]: globals.spacing.lg,
|
|
88200
|
+
[vars$M.itemBorderRadius]: globals.radius.xs,
|
|
88201
|
+
[vars$M.itemOutline]: 'transparent',
|
|
88202
|
+
[vars$M.itemBackgroundColor]: 'transparent',
|
|
88203
|
+
[vars$M.itemCursor]: 'default',
|
|
88204
|
+
[vars$M.itemContentGap]: globals.spacing.sm,
|
|
88205
|
+
|
|
88206
|
+
[vars$M.badgeBorderColor]: globals.colors.surface.light,
|
|
88207
|
+
[vars$M.badgeTextColor]: globals.colors.surface.dark,
|
|
88208
|
+
[vars$M.badgeBorderRadius]: globals.radius.xs,
|
|
88209
|
+
[vars$M.badgeBackgroundColor]: globals.colors.surface.main,
|
|
88210
|
+
|
|
88211
|
+
[vars$M.devicePanelGap]: globals.spacing.md,
|
|
88212
|
+
[vars$M.deviceIconGap]: globals.spacing.md,
|
|
88213
|
+
[vars$M.deviceIconSize]: '24px',
|
|
88214
|
+
[vars$M.lastLoginLabelGap]: globals.spacing.xs,
|
|
88129
88215
|
|
|
88130
88216
|
_fullWidth: {
|
|
88131
|
-
[vars$
|
|
88217
|
+
[vars$M.hostWidth]: '100%',
|
|
88132
88218
|
},
|
|
88133
88219
|
};
|
|
88134
88220
|
|
|
88135
88221
|
var trustedDevices = /*#__PURE__*/Object.freeze({
|
|
88136
88222
|
__proto__: null,
|
|
88137
88223
|
default: TrustedDevices,
|
|
88138
|
-
vars: vars$
|
|
88224
|
+
vars: vars$M
|
|
88139
88225
|
});
|
|
88140
88226
|
|
|
88141
|
-
const componentName$
|
|
88227
|
+
const componentName$X = getComponentName('tooltip');
|
|
88142
88228
|
|
|
88143
88229
|
const tooltipAttrs = [
|
|
88144
88230
|
'text',
|
|
@@ -88149,7 +88235,7 @@ function requireIndex_cjs () {
|
|
|
88149
88235
|
];
|
|
88150
88236
|
|
|
88151
88237
|
const BaseClass$3 = createBaseClass$1({
|
|
88152
|
-
componentName: componentName$
|
|
88238
|
+
componentName: componentName$X,
|
|
88153
88239
|
baseSelector: 'vaadin-tooltip',
|
|
88154
88240
|
});
|
|
88155
88241
|
|
|
@@ -88398,13 +88484,13 @@ function requireIndex_cjs () {
|
|
|
88398
88484
|
)(RawTooltip);
|
|
88399
88485
|
|
|
88400
88486
|
const globalRefs$q = getThemeRefs$1(globals);
|
|
88401
|
-
const vars$
|
|
88487
|
+
const vars$L = TooltipClass.cssVarList;
|
|
88402
88488
|
|
|
88403
88489
|
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars$1(
|
|
88404
88490
|
{
|
|
88405
88491
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
|
88406
88492
|
},
|
|
88407
|
-
componentName$
|
|
88493
|
+
componentName$X
|
|
88408
88494
|
);
|
|
88409
88495
|
|
|
88410
88496
|
const { shadowColor: shadowColor$3 } = helperRefs$3;
|
|
@@ -88412,36 +88498,36 @@ function requireIndex_cjs () {
|
|
|
88412
88498
|
|
|
88413
88499
|
const tooltip = {
|
|
88414
88500
|
...helperTheme$3,
|
|
88415
|
-
[vars$
|
|
88416
|
-
[vars$
|
|
88417
|
-
[vars$
|
|
88418
|
-
[vars$
|
|
88419
|
-
[vars$
|
|
88420
|
-
[vars$
|
|
88421
|
-
[vars$
|
|
88422
|
-
[vars$
|
|
88423
|
-
[vars$
|
|
88424
|
-
[vars$
|
|
88425
|
-
[vars$
|
|
88426
|
-
[vars$
|
|
88427
|
-
[vars$
|
|
88501
|
+
[vars$L.fontFamily]: globalRefs$q.fonts.font1.family,
|
|
88502
|
+
[vars$L.fontSize]: globals.typography.body2.size,
|
|
88503
|
+
[vars$L.fontWeight]: globals.typography.body2.weight,
|
|
88504
|
+
[vars$L.textColor]: globalRefs$q.colors.surface.contrast,
|
|
88505
|
+
[vars$L.hostDirection]: globalRefs$q.direction,
|
|
88506
|
+
[vars$L.backgroundColor]: globalRefs$q.colors.surface.main,
|
|
88507
|
+
[vars$L.borderColor]: globalRefs$q.colors.surface.light,
|
|
88508
|
+
[vars$L.borderStyle]: 'solid',
|
|
88509
|
+
[vars$L.borderWidth]: globalRefs$q.border.xs,
|
|
88510
|
+
[vars$L.borderRadius]: globalRefs$q.radius.xs,
|
|
88511
|
+
[vars$L.horizontalPadding]: globalRefs$q.spacing.md,
|
|
88512
|
+
[vars$L.verticalPadding]: globalRefs$q.spacing.sm,
|
|
88513
|
+
[vars$L.boxShadow]: defaultShadow,
|
|
88428
88514
|
|
|
88429
88515
|
shadow: {
|
|
88430
88516
|
sm: {
|
|
88431
|
-
[vars$
|
|
88517
|
+
[vars$L.boxShadow]: defaultShadow,
|
|
88432
88518
|
},
|
|
88433
88519
|
md: {
|
|
88434
|
-
[vars$
|
|
88520
|
+
[vars$L.boxShadow]: `${globalRefs$q.shadow.wide.md} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.md} ${shadowColor$3}`,
|
|
88435
88521
|
},
|
|
88436
88522
|
lg: {
|
|
88437
|
-
[vars$
|
|
88523
|
+
[vars$L.boxShadow]: `${globalRefs$q.shadow.wide.lg} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.lg} ${shadowColor$3}`,
|
|
88438
88524
|
},
|
|
88439
88525
|
xl: {
|
|
88440
|
-
[vars$
|
|
88526
|
+
[vars$L.boxShadow]: `${globalRefs$q.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.xl} ${shadowColor$3}`,
|
|
88441
88527
|
},
|
|
88442
88528
|
'2xl': {
|
|
88443
88529
|
[helperVars$3.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
|
88444
|
-
[vars$
|
|
88530
|
+
[vars$L.boxShadow]: `${globalRefs$q.shadow.wide['2xl']} ${shadowColor$3}`,
|
|
88445
88531
|
},
|
|
88446
88532
|
},
|
|
88447
88533
|
};
|
|
@@ -88449,7 +88535,7 @@ function requireIndex_cjs () {
|
|
|
88449
88535
|
var tooltip$1 = /*#__PURE__*/Object.freeze({
|
|
88450
88536
|
__proto__: null,
|
|
88451
88537
|
default: tooltip,
|
|
88452
|
-
vars: vars$
|
|
88538
|
+
vars: vars$L
|
|
88453
88539
|
});
|
|
88454
88540
|
|
|
88455
88541
|
// Data service for country/subdivision/city data.
|
|
@@ -88502,7 +88588,7 @@ function requireIndex_cjs () {
|
|
|
88502
88588
|
const fetchCitiesForCountry = async (countryIso2, baseUrl) =>
|
|
88503
88589
|
fetchJson(`${baseUrl}/countries/${countryIso2}/cities.json`);
|
|
88504
88590
|
|
|
88505
|
-
const componentName$
|
|
88591
|
+
const componentName$W = getComponentName(
|
|
88506
88592
|
'country-subdivision-city-field-internal',
|
|
88507
88593
|
);
|
|
88508
88594
|
|
|
@@ -88562,7 +88648,7 @@ function requireIndex_cjs () {
|
|
|
88562
88648
|
// --- Base class ---
|
|
88563
88649
|
|
|
88564
88650
|
const BaseInputClass$4 = createBaseInputClass$1({
|
|
88565
|
-
componentName: componentName$
|
|
88651
|
+
componentName: componentName$W,
|
|
88566
88652
|
baseSelector: '',
|
|
88567
88653
|
});
|
|
88568
88654
|
|
|
@@ -88738,7 +88824,7 @@ function requireIndex_cjs () {
|
|
|
88738
88824
|
if (e.isTrusted) {
|
|
88739
88825
|
const firstInvalidCombo = this.#allCombos.find(
|
|
88740
88826
|
(combo) =>
|
|
88741
|
-
!combo.classList.contains(`${componentName$
|
|
88827
|
+
!combo.classList.contains(`${componentName$W}-hidden`) &&
|
|
88742
88828
|
!combo.checkValidity(),
|
|
88743
88829
|
);
|
|
88744
88830
|
(firstInvalidCombo || this.#getFirstVisibleCombo())?.focus();
|
|
@@ -88835,7 +88921,7 @@ function requireIndex_cjs () {
|
|
|
88835
88921
|
// Iterate in reverse so reportValidity's focus() lands on the first invalid combo last.
|
|
88836
88922
|
#handleInvalidCombos() {
|
|
88837
88923
|
for (const combo of [...this.#allCombos].reverse()) {
|
|
88838
|
-
if (combo.classList.contains(`${componentName$
|
|
88924
|
+
if (combo.classList.contains(`${componentName$W}-hidden`)) continue;
|
|
88839
88925
|
if (!combo.checkValidity()) combo.reportValidity();
|
|
88840
88926
|
}
|
|
88841
88927
|
}
|
|
@@ -89108,7 +89194,7 @@ function requireIndex_cjs () {
|
|
|
89108
89194
|
if (!this.#pendingValue && this.#defaultCountry)
|
|
89109
89195
|
this.#onCountrySelected(this.#defaultCountry);
|
|
89110
89196
|
} catch (e) {
|
|
89111
|
-
console.error(`[${componentName$
|
|
89197
|
+
console.error(`[${componentName$W}] Failed to load countries`, e);
|
|
89112
89198
|
} finally {
|
|
89113
89199
|
this.#countryComboBox.removeAttribute('loading');
|
|
89114
89200
|
}
|
|
@@ -89133,7 +89219,7 @@ function requireIndex_cjs () {
|
|
|
89133
89219
|
}
|
|
89134
89220
|
} catch (e) {
|
|
89135
89221
|
console.error(
|
|
89136
|
-
`[${componentName$
|
|
89222
|
+
`[${componentName$W}] Failed to load subdivisions for ${countryIso2}`,
|
|
89137
89223
|
e,
|
|
89138
89224
|
);
|
|
89139
89225
|
this.#subdivisionVisible = false;
|
|
@@ -89161,7 +89247,7 @@ function requireIndex_cjs () {
|
|
|
89161
89247
|
}
|
|
89162
89248
|
} catch (e) {
|
|
89163
89249
|
console.error(
|
|
89164
|
-
`[${componentName$
|
|
89250
|
+
`[${componentName$W}] Failed to load cities for ${countryIso2}${stateCode ? `/${stateCode}` : ''}`,
|
|
89165
89251
|
e,
|
|
89166
89252
|
);
|
|
89167
89253
|
} finally {
|
|
@@ -89253,7 +89339,7 @@ function requireIndex_cjs () {
|
|
|
89253
89339
|
}
|
|
89254
89340
|
|
|
89255
89341
|
#setVisible(el, visible) {
|
|
89256
|
-
el?.classList.toggle(`${componentName$
|
|
89342
|
+
el?.classList.toggle(`${componentName$W}-hidden`, !visible);
|
|
89257
89343
|
}
|
|
89258
89344
|
|
|
89259
89345
|
#updateRequiredOnCombos() {
|
|
@@ -89323,7 +89409,7 @@ function requireIndex_cjs () {
|
|
|
89323
89409
|
|
|
89324
89410
|
#getFirstVisibleCombo() {
|
|
89325
89411
|
return this.#allCombos.find(
|
|
89326
|
-
(combo) => !combo.classList.contains(`${componentName$
|
|
89412
|
+
(combo) => !combo.classList.contains(`${componentName$W}-hidden`),
|
|
89327
89413
|
);
|
|
89328
89414
|
}
|
|
89329
89415
|
|
|
@@ -89340,7 +89426,7 @@ function requireIndex_cjs () {
|
|
|
89340
89426
|
RawCountrySubdivisionCityFieldInternal,
|
|
89341
89427
|
);
|
|
89342
89428
|
|
|
89343
|
-
const componentName$
|
|
89429
|
+
const componentName$V = getComponentName('country-subdivision-city-field');
|
|
89344
89430
|
|
|
89345
89431
|
const customMixin$b = (superclass) =>
|
|
89346
89432
|
class CountrySubdivisionCityFieldMixinClass extends superclass {
|
|
@@ -89350,15 +89436,15 @@ function requireIndex_cjs () {
|
|
|
89350
89436
|
const template = document.createElement('template');
|
|
89351
89437
|
|
|
89352
89438
|
template.innerHTML = `
|
|
89353
|
-
<${componentName$
|
|
89439
|
+
<${componentName$W}
|
|
89354
89440
|
tabindex="-1"
|
|
89355
|
-
></${componentName$
|
|
89441
|
+
></${componentName$W}>
|
|
89356
89442
|
`;
|
|
89357
89443
|
|
|
89358
89444
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
|
89359
89445
|
|
|
89360
89446
|
this.inputElement = this.shadowRoot.querySelector(
|
|
89361
|
-
componentName$
|
|
89447
|
+
componentName$W,
|
|
89362
89448
|
);
|
|
89363
89449
|
|
|
89364
89450
|
forwardAttrs(this, this.inputElement, {
|
|
@@ -89395,11 +89481,11 @@ function requireIndex_cjs () {
|
|
|
89395
89481
|
const host$l = { selector: () => ':host' };
|
|
89396
89482
|
|
|
89397
89483
|
const internalWrapper$2 = {
|
|
89398
|
-
selector: `${componentName$
|
|
89484
|
+
selector: `${componentName$W} > .wrapper`,
|
|
89399
89485
|
};
|
|
89400
89486
|
|
|
89401
89487
|
const internalComboBoxes = {
|
|
89402
|
-
selector: `${componentName$
|
|
89488
|
+
selector: `${componentName$W} > .wrapper > descope-combo-box`,
|
|
89403
89489
|
};
|
|
89404
89490
|
|
|
89405
89491
|
const CountrySubdivisionCityFieldClass = compose(
|
|
@@ -89449,7 +89535,7 @@ function requireIndex_cjs () {
|
|
|
89449
89535
|
width: 100%;
|
|
89450
89536
|
}
|
|
89451
89537
|
|
|
89452
|
-
${componentName$
|
|
89538
|
+
${componentName$W} {
|
|
89453
89539
|
display: inline-block;
|
|
89454
89540
|
box-sizing: border-box;
|
|
89455
89541
|
user-select: none;
|
|
@@ -89457,47 +89543,241 @@ function requireIndex_cjs () {
|
|
|
89457
89543
|
max-width: 100%;
|
|
89458
89544
|
}
|
|
89459
89545
|
|
|
89460
|
-
${componentName$
|
|
89546
|
+
${componentName$W} > .wrapper {
|
|
89461
89547
|
display: flex;
|
|
89462
89548
|
width: 100%;
|
|
89463
89549
|
flex-wrap: wrap;
|
|
89464
89550
|
}
|
|
89465
89551
|
|
|
89466
|
-
.${componentName$
|
|
89552
|
+
.${componentName$W}-hidden {
|
|
89467
89553
|
display: none;
|
|
89468
89554
|
}
|
|
89469
89555
|
|
|
89470
89556
|
`,
|
|
89471
89557
|
excludeAttrsSync: ['tabindex', 'style', 'error-message'],
|
|
89472
|
-
componentName: componentName$
|
|
89558
|
+
componentName: componentName$V,
|
|
89473
89559
|
}),
|
|
89474
89560
|
);
|
|
89475
89561
|
|
|
89476
|
-
const vars$
|
|
89562
|
+
const vars$K = CountrySubdivisionCityFieldClass.cssVarList;
|
|
89477
89563
|
|
|
89478
89564
|
const countrySubdivisionCityField = {
|
|
89479
|
-
[vars$
|
|
89480
|
-
[vars$
|
|
89481
|
-
[vars$
|
|
89482
|
-
[vars$
|
|
89483
|
-
[vars$
|
|
89484
|
-
[vars$
|
|
89485
|
-
[vars$
|
|
89565
|
+
[vars$K.hostWidth]: refs$1.width,
|
|
89566
|
+
[vars$K.hostDirection]: refs$1.direction,
|
|
89567
|
+
[vars$K.flexDirection]: 'column',
|
|
89568
|
+
[vars$K.flexGap]: '0.5em',
|
|
89569
|
+
[vars$K.itemAlignment]: 'stretch',
|
|
89570
|
+
[vars$K.itemFlexGrow]: '0',
|
|
89571
|
+
[vars$K.itemWidth]: 'auto',
|
|
89486
89572
|
|
|
89487
89573
|
_fullWidth: {
|
|
89488
|
-
[vars$
|
|
89574
|
+
[vars$K.hostWidth]: '100%',
|
|
89489
89575
|
},
|
|
89490
89576
|
|
|
89491
89577
|
_horizontal: {
|
|
89492
|
-
[vars$
|
|
89493
|
-
[vars$
|
|
89578
|
+
[vars$K.flexDirection]: 'row',
|
|
89579
|
+
[vars$K.itemFlexGrow]: '1',
|
|
89494
89580
|
},
|
|
89495
89581
|
};
|
|
89496
89582
|
|
|
89497
89583
|
var countrySubdivisionCityField$1 = /*#__PURE__*/Object.freeze({
|
|
89498
89584
|
__proto__: null,
|
|
89499
89585
|
default: countrySubdivisionCityField,
|
|
89500
|
-
vars: vars$
|
|
89586
|
+
vars: vars$K
|
|
89587
|
+
});
|
|
89588
|
+
|
|
89589
|
+
const componentName$U = getComponentName('attachment');
|
|
89590
|
+
|
|
89591
|
+
const ATTACHMENT_POSITIONS = [
|
|
89592
|
+
'top-end',
|
|
89593
|
+
'top-start',
|
|
89594
|
+
'top-center',
|
|
89595
|
+
'bottom-start',
|
|
89596
|
+
'bottom-end',
|
|
89597
|
+
'bottom-center',
|
|
89598
|
+
];
|
|
89599
|
+
|
|
89600
|
+
const DEFAULT_POSITION = ATTACHMENT_POSITIONS[0];
|
|
89601
|
+
|
|
89602
|
+
class RawAttachment extends createBaseClass$1({
|
|
89603
|
+
componentName: componentName$U,
|
|
89604
|
+
baseSelector: ':host > .wrapper',
|
|
89605
|
+
}) {
|
|
89606
|
+
constructor() {
|
|
89607
|
+
super();
|
|
89608
|
+
|
|
89609
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
|
89610
|
+
<div class="wrapper">
|
|
89611
|
+
<slot></slot>
|
|
89612
|
+
<div class="attachment-container">
|
|
89613
|
+
<slot name="attachment"></slot>
|
|
89614
|
+
</div>
|
|
89615
|
+
</div>
|
|
89616
|
+
`;
|
|
89617
|
+
|
|
89618
|
+
this.defaultSlot = this.shadowRoot.querySelector('slot:not([name])');
|
|
89619
|
+
this.attachmentSlot = this.shadowRoot.querySelector(
|
|
89620
|
+
'slot[name="attachment"]',
|
|
89621
|
+
);
|
|
89622
|
+
}
|
|
89623
|
+
|
|
89624
|
+
static get observedAttributes() {
|
|
89625
|
+
return [...(super.observedAttributes || []), 'position'];
|
|
89626
|
+
}
|
|
89627
|
+
|
|
89628
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
89629
|
+
super.attributeChangedCallback?.(name, oldVal, newVal);
|
|
89630
|
+
if (name === 'position' && oldVal !== newVal) {
|
|
89631
|
+
this.#handlePositionChange();
|
|
89632
|
+
}
|
|
89633
|
+
}
|
|
89634
|
+
|
|
89635
|
+
init() {
|
|
89636
|
+
super.init?.();
|
|
89637
|
+
|
|
89638
|
+
injectStyle(
|
|
89639
|
+
`
|
|
89640
|
+
:host {
|
|
89641
|
+
display: inline-block;
|
|
89642
|
+
}
|
|
89643
|
+
.wrapper {
|
|
89644
|
+
position: relative;
|
|
89645
|
+
display: inline-flex;
|
|
89646
|
+
}
|
|
89647
|
+
.attachment-container {
|
|
89648
|
+
position: absolute;
|
|
89649
|
+
z-index: 1;
|
|
89650
|
+
pointer-events: none;
|
|
89651
|
+
width: 100%;
|
|
89652
|
+
display: flex;
|
|
89653
|
+
align-items: center;
|
|
89654
|
+
container-type: inline-size;
|
|
89655
|
+
}
|
|
89656
|
+
:host(.hidden) {
|
|
89657
|
+
display: none;
|
|
89658
|
+
}
|
|
89659
|
+
`,
|
|
89660
|
+
this,
|
|
89661
|
+
);
|
|
89662
|
+
|
|
89663
|
+
this.#handlePositionChange();
|
|
89664
|
+
|
|
89665
|
+
this.defaultSlot.addEventListener('slotchange', () => {
|
|
89666
|
+
this.#setVisibility();
|
|
89667
|
+
this.#syncDirection();
|
|
89668
|
+
});
|
|
89669
|
+
|
|
89670
|
+
window.requestAnimationFrame(() => {
|
|
89671
|
+
this.#setVisibility();
|
|
89672
|
+
this.#syncDirection();
|
|
89673
|
+
});
|
|
89674
|
+
}
|
|
89675
|
+
|
|
89676
|
+
#setVisibility() {
|
|
89677
|
+
const hasAnchor = this.defaultSlot?.assignedElements()?.length > 0;
|
|
89678
|
+
this.classList.toggle('hidden', !hasAnchor);
|
|
89679
|
+
}
|
|
89680
|
+
|
|
89681
|
+
#syncDirection() {
|
|
89682
|
+
const child = this.defaultSlot?.assignedElements()?.[0];
|
|
89683
|
+
if (!child) return;
|
|
89684
|
+
|
|
89685
|
+
const { direction } = window.getComputedStyle(child);
|
|
89686
|
+
|
|
89687
|
+
// currently we support direction sync only for web-components-ui
|
|
89688
|
+
// elements, which support st-host-direction attribute.
|
|
89689
|
+
this.attachmentSlot?.assignedElements().forEach((el) => {
|
|
89690
|
+
el.setAttribute('st-host-direction', direction);
|
|
89691
|
+
});
|
|
89692
|
+
}
|
|
89693
|
+
|
|
89694
|
+
get offsetX() {
|
|
89695
|
+
return this.getAttribute('offset-x') || '0px';
|
|
89696
|
+
}
|
|
89697
|
+
|
|
89698
|
+
get offsetY() {
|
|
89699
|
+
return this.getAttribute('offset-y') || '0px';
|
|
89700
|
+
}
|
|
89701
|
+
|
|
89702
|
+
#handlePositionChange() {
|
|
89703
|
+
const pos = this.getAttribute('position');
|
|
89704
|
+
if (!ATTACHMENT_POSITIONS.includes(pos)) {
|
|
89705
|
+
this.setAttribute('position', DEFAULT_POSITION);
|
|
89706
|
+
}
|
|
89707
|
+
}
|
|
89708
|
+
}
|
|
89709
|
+
|
|
89710
|
+
const attachmentContainer = { selector: () => '.attachment-container' };
|
|
89711
|
+
|
|
89712
|
+
const AttachmentClass = compose(
|
|
89713
|
+
createStyleMixin$1({
|
|
89714
|
+
mappings: {
|
|
89715
|
+
transform: { ...attachmentContainer },
|
|
89716
|
+
justifyContent: { ...attachmentContainer },
|
|
89717
|
+
maxWidth: { ...attachmentContainer },
|
|
89718
|
+
top: { ...attachmentContainer },
|
|
89719
|
+
bottom: { ...attachmentContainer },
|
|
89720
|
+
left: { ...attachmentContainer },
|
|
89721
|
+
right: { ...attachmentContainer },
|
|
89722
|
+
offsetX: {},
|
|
89723
|
+
offsetY: {},
|
|
89724
|
+
},
|
|
89725
|
+
}),
|
|
89726
|
+
draggableMixin$1,
|
|
89727
|
+
componentNameValidationMixin$1,
|
|
89728
|
+
)(RawAttachment);
|
|
89729
|
+
|
|
89730
|
+
const vars$J = AttachmentClass.cssVarList;
|
|
89731
|
+
|
|
89732
|
+
const defaultOffset = '8px';
|
|
89733
|
+
const insetCalc = `calc(${defaultOffset} + var(${vars$J.offsetX}))`;
|
|
89734
|
+
|
|
89735
|
+
const attachment = {
|
|
89736
|
+
[vars$J.maxWidth]: `calc(100% - 2 * ${defaultOffset})`,
|
|
89737
|
+
|
|
89738
|
+
position: {
|
|
89739
|
+
'top-start': {
|
|
89740
|
+
[vars$J.transform]: 'translateY(-50%)',
|
|
89741
|
+
[vars$J.justifyContent]: 'start',
|
|
89742
|
+
[vars$J.left]: insetCalc,
|
|
89743
|
+
[vars$J.top]: useVar$1(vars$J.offsetY),
|
|
89744
|
+
},
|
|
89745
|
+
'top-center': {
|
|
89746
|
+
[vars$J.transform]: 'translate(-50%, -50%)',
|
|
89747
|
+
[vars$J.justifyContent]: 'center',
|
|
89748
|
+
[vars$J.top]: useVar$1(vars$J.offsetY),
|
|
89749
|
+
[vars$J.left]: '50%',
|
|
89750
|
+
},
|
|
89751
|
+
'top-end': {
|
|
89752
|
+
[vars$J.transform]: 'translateY(-50%)',
|
|
89753
|
+
[vars$J.justifyContent]: 'end',
|
|
89754
|
+
[vars$J.right]: insetCalc,
|
|
89755
|
+
[vars$J.top]: useVar$1(vars$J.offsetY),
|
|
89756
|
+
},
|
|
89757
|
+
'bottom-start': {
|
|
89758
|
+
[vars$J.transform]: 'translateY(50%)',
|
|
89759
|
+
[vars$J.justifyContent]: 'start',
|
|
89760
|
+
[vars$J.left]: insetCalc,
|
|
89761
|
+
[vars$J.bottom]: useVar$1(vars$J.offsetY),
|
|
89762
|
+
},
|
|
89763
|
+
'bottom-center': {
|
|
89764
|
+
[vars$J.bottom]: useVar$1(vars$J.offsetY),
|
|
89765
|
+
[vars$J.transform]: 'translate(-50%, 50%)',
|
|
89766
|
+
[vars$J.justifyContent]: 'center',
|
|
89767
|
+
[vars$J.left]: '50%',
|
|
89768
|
+
},
|
|
89769
|
+
'bottom-end': {
|
|
89770
|
+
[vars$J.transform]: 'translateY(50%)',
|
|
89771
|
+
[vars$J.justifyContent]: 'end',
|
|
89772
|
+
[vars$J.right]: insetCalc,
|
|
89773
|
+
[vars$J.bottom]: useVar$1(vars$J.offsetY),
|
|
89774
|
+
},
|
|
89775
|
+
},
|
|
89776
|
+
};
|
|
89777
|
+
|
|
89778
|
+
var attachment$1 = /*#__PURE__*/Object.freeze({
|
|
89779
|
+
__proto__: null,
|
|
89780
|
+
default: attachment
|
|
89501
89781
|
});
|
|
89502
89782
|
|
|
89503
89783
|
const getOverrideCssVarName = (origVarName) => `${origVarName}__override`;
|
|
@@ -95210,10 +95490,6 @@ descope-enriched-text {
|
|
|
95210
95490
|
[vars$s.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
|
|
95211
95491
|
[vars$s.errorMessageIconPosition]: refs.errorMessageIconPosition,
|
|
95212
95492
|
[vars$s.errorMessageFontSize]: refs.errorMessageFontSize,
|
|
95213
|
-
|
|
95214
|
-
// '@overlay': {
|
|
95215
|
-
// overlayItemBackgroundColor: 'red'
|
|
95216
|
-
// }
|
|
95217
95493
|
};
|
|
95218
95494
|
|
|
95219
95495
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
|
@@ -104055,7 +104331,7 @@ descope-enriched-text {
|
|
|
104055
104331
|
[vars$2.horizontalPadding]: '0',
|
|
104056
104332
|
[vars$2.verticalPadding]: '0',
|
|
104057
104333
|
[vars$2.gap]: `0.5em`,
|
|
104058
|
-
[vars$2.fontSize]: useVar(vars$
|
|
104334
|
+
[vars$2.fontSize]: useVar(vars$14.fontSize),
|
|
104059
104335
|
|
|
104060
104336
|
mode: {
|
|
104061
104337
|
error: {
|
|
@@ -104347,6 +104623,7 @@ descope-enriched-text {
|
|
|
104347
104623
|
outboundAppButton: outboundAppButton$1,
|
|
104348
104624
|
trustedDevices,
|
|
104349
104625
|
tooltip: tooltip$1,
|
|
104626
|
+
attachment: attachment$1,
|
|
104350
104627
|
};
|
|
104351
104628
|
|
|
104352
104629
|
const theme = Object.keys(components).reduce(
|
|
@@ -104359,7 +104636,7 @@ descope-enriched-text {
|
|
|
104359
104636
|
);
|
|
104360
104637
|
|
|
104361
104638
|
const defaultTheme = { globals: globals$1, components: theme };
|
|
104362
|
-
const themeVars = { globals: vars$
|
|
104639
|
+
const themeVars = { globals: vars$16, components: vars };
|
|
104363
104640
|
|
|
104364
104641
|
const colors = {
|
|
104365
104642
|
surface: {
|
|
@@ -104863,6 +105140,7 @@ descope-enriched-text {
|
|
|
104863
105140
|
index_cjs$4.AddressFieldClass = AddressFieldClass;
|
|
104864
105141
|
index_cjs$4.AlertClass = AlertClass;
|
|
104865
105142
|
index_cjs$4.AppsListClass = AppsListClass;
|
|
105143
|
+
index_cjs$4.AttachmentClass = AttachmentClass;
|
|
104866
105144
|
index_cjs$4.AutocompleteFieldClass = AutocompleteFieldClass;
|
|
104867
105145
|
index_cjs$4.AvatarClass = AvatarClass;
|
|
104868
105146
|
index_cjs$4.BadgeClass = BadgeClass;
|
|
@@ -105028,6 +105306,7 @@ const OutboundAppButtonClass = index_cjsExports.OutboundAppButtonClass;
|
|
|
105028
105306
|
const TrustedDevicesClass = index_cjsExports.TrustedDevicesClass;
|
|
105029
105307
|
const TooltipClass = index_cjsExports.TooltipClass;
|
|
105030
105308
|
const HoneypotClass = index_cjsExports.HoneypotClass;
|
|
105309
|
+
const AttachmentClass = index_cjsExports.AttachmentClass;
|
|
105031
105310
|
|
|
105032
105311
|
const Checkbox = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-checkbox", { ...props, ref: ref }));
|
|
105033
105312
|
|
|
@@ -105389,7 +105668,7 @@ const GridTextColumn = React__default.default.forwardRef((props, ref) => React__
|
|
|
105389
105668
|
|
|
105390
105669
|
const GridItemDetailsColumn = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-grid-item-details-column", { ...props, ref: ref }));
|
|
105391
105670
|
|
|
105392
|
-
const Badge = React__default.default.forwardRef((props, ref) => React__default.default.createElement("descope-badge", { ...props, ref: ref }));
|
|
105671
|
+
const Badge = React__default.default.forwardRef(({ shrinkToIndicator, ...props }, ref) => (React__default.default.createElement("descope-badge", { "shrink-to-indicator": shrinkToIndicator, ...props, ref: ref })));
|
|
105393
105672
|
|
|
105394
105673
|
const Modal = React__default.default.forwardRef((props, ref) => (React__default.default.createElement("descope-modal", { ...props, ref: ref })));
|
|
105395
105674
|
|
|
@@ -105577,6 +105856,15 @@ const Honeypot = React__default.default.forwardRef((props, ref) => (React__defau
|
|
|
105577
105856
|
|
|
105578
105857
|
const TenantSelector = React__default.default.forwardRef((props, ref) => (React__default.default.createElement(ComboBox, { "item-label-path": "data-name", "item-value-path": "data-id", ...props, ref: ref })));
|
|
105579
105858
|
|
|
105859
|
+
const Attachment = React__default.default.forwardRef(({ children, attachment, offsetX, offsetY, ...props }, ref) => (React__default.default.createElement("descope-attachment", { ...props, ref: ref, "st-offset-x": offsetX, "st-offset-y": offsetY },
|
|
105860
|
+
children,
|
|
105861
|
+
attachment && React__default.default.cloneElement(attachment, { slot: 'attachment' }))));
|
|
105862
|
+
|
|
105863
|
+
const LastAuthBadge = React__default.default.forwardRef(({ children, offsetX, offsetY, badgeLabel, ...props }, ref) => {
|
|
105864
|
+
const attachment = (React__default.default.createElement(Badge, { mode: "primary", variant: "contained", bordered: true, size: "xs", slot: "attachment", shrinkToIndicator: true }, badgeLabel));
|
|
105865
|
+
return (React__default.default.createElement(Attachment, { ...props, ref: ref, offsetX: offsetX, offsetY: offsetY, attachment: attachment }, children));
|
|
105866
|
+
});
|
|
105867
|
+
|
|
105580
105868
|
const globalsThemeToStyle = index_cjsExports.globalsThemeToStyle;
|
|
105581
105869
|
const createComponentsTheme = index_cjsExports.createComponentsTheme;
|
|
105582
105870
|
const themeToStyle = index_cjsExports.themeToStyle;
|
|
@@ -105592,6 +105880,8 @@ exports.Alert = Alert;
|
|
|
105592
105880
|
exports.AlertClass = AlertClass;
|
|
105593
105881
|
exports.AppsList = AppsList;
|
|
105594
105882
|
exports.AppsListClass = AppsListClass;
|
|
105883
|
+
exports.Attachment = Attachment;
|
|
105884
|
+
exports.AttachmentClass = AttachmentClass;
|
|
105595
105885
|
exports.Avatar = Avatar;
|
|
105596
105886
|
exports.AvatarClass = AvatarClass;
|
|
105597
105887
|
exports.Badge = Badge;
|
|
@@ -105637,6 +105927,7 @@ exports.IconClass = IconClass;
|
|
|
105637
105927
|
exports.Image = Image;
|
|
105638
105928
|
exports.ImageClass = ImageClass;
|
|
105639
105929
|
exports.Input = Input;
|
|
105930
|
+
exports.LastAuthBadge = LastAuthBadge;
|
|
105640
105931
|
exports.Link = Link;
|
|
105641
105932
|
exports.LinkClass = LinkClass;
|
|
105642
105933
|
exports.List = List;
|