@maggioli-design-system/mds-tab 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-1e286edd.js → index-9c24d5f2.js} +35 -4
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/mds-tab.cjs.entry.js +1 -1
- package/dist/cjs/mds-tab.cjs.js +6 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +1 -1
- package/dist/esm/{index-5928fc07.js → index-2e7a28fa.js} +35 -5
- package/dist/esm/loader.js +3 -2
- package/dist/esm/mds-tab.entry.js +1 -1
- package/dist/esm/mds-tab.js +3 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm-es5/index-2e7a28fa.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-tab.entry.js +1 -1
- package/dist/esm-es5/mds-tab.js +1 -1
- package/dist/mds-tab/mds-tab.esm.js +1 -1
- package/dist/mds-tab/mds-tab.js +1 -1
- package/dist/mds-tab/p-121197a0.system.js +1 -0
- package/dist/mds-tab/{p-d2967340.entry.js → p-1d40e0e2.entry.js} +1 -1
- package/dist/mds-tab/p-4d660840.system.js +2 -0
- package/dist/mds-tab/p-5c7059c9.js +2 -0
- package/dist/mds-tab/{p-2b9bdf41.system.entry.js → p-ea3524a1.system.entry.js} +1 -1
- package/dist/stats.json +24 -24
- package/dist/types/stencil-public-runtime.d.ts +48 -3
- package/dist/types/types/autocomplete.d.ts +2 -2
- package/dist/types/types/button.d.ts +4 -4
- package/dist/types/types/floating-ui.d.ts +2 -2
- package/dist/types/types/form-rel.d.ts +1 -1
- package/dist/types/types/input-text-type.d.ts +1 -1
- package/dist/types/types/input-value-type.d.ts +1 -1
- package/dist/types/types/loading.d.ts +1 -1
- package/dist/types/types/typography.d.ts +8 -8
- package/dist/types/types/variant.d.ts +10 -10
- package/loader/index.d.ts +9 -0
- package/package.json +3 -3
- package/src/components/mds-tab/test/mds-tab.e2e.ts +1 -1
- package/www/build/mds-tab.esm.js +1 -1
- package/www/build/mds-tab.js +1 -1
- package/www/build/p-121197a0.system.js +1 -0
- package/www/build/{p-d2967340.entry.js → p-1d40e0e2.entry.js} +1 -1
- package/www/build/p-4d660840.system.js +2 -0
- package/www/build/p-5c7059c9.js +2 -0
- package/www/build/{p-2b9bdf41.system.entry.js → p-ea3524a1.system.entry.js} +1 -1
- package/dist/esm-es5/index-5928fc07.js +0 -2
- package/dist/mds-tab/p-034fd2fd.js +0 -2
- package/dist/mds-tab/p-590a105d.system.js +0 -2
- package/dist/mds-tab/p-c1b0e916.system.js +0 -1
- package/www/build/p-034fd2fd.js +0 -2
- package/www/build/p-590a105d.system.js +0 -2
- package/www/build/p-c1b0e916.system.js +0 -1
|
@@ -47,13 +47,25 @@ const uniqueTime = (key, measureText) => {
|
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
const HYDRATED_CSS = '{visibility:hidden}
|
|
50
|
+
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
51
51
|
const isDef = (v) => v != null;
|
|
52
52
|
const isComplexType = (o) => {
|
|
53
53
|
// https://jsperf.com/typeof-fn-object/5
|
|
54
54
|
o = typeof o;
|
|
55
55
|
return o === 'object' || o === 'function';
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
59
|
+
* out of a DOM's head.
|
|
60
|
+
*
|
|
61
|
+
* @param doc The DOM containing the `head` to query against
|
|
62
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
63
|
+
* exists or the tag has no content.
|
|
64
|
+
*/
|
|
65
|
+
function queryNonceMetaTagContent(doc) {
|
|
66
|
+
var _a, _b, _c;
|
|
67
|
+
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
68
|
+
}
|
|
57
69
|
/**
|
|
58
70
|
* Production h() function based on Preact by
|
|
59
71
|
* Jason Miller (@developit)
|
|
@@ -62,7 +74,6 @@ const isComplexType = (o) => {
|
|
|
62
74
|
*
|
|
63
75
|
* Modified for Stencil's compiler and vdom
|
|
64
76
|
*/
|
|
65
|
-
// const stack: any[] = [];
|
|
66
77
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
67
78
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
68
79
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -143,6 +154,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
143
154
|
styles.set(scopeId, style);
|
|
144
155
|
};
|
|
145
156
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
157
|
+
var _a;
|
|
146
158
|
let scopeId = getScopeId(cmpMeta);
|
|
147
159
|
const style = styles.get(scopeId);
|
|
148
160
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
@@ -162,6 +174,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
162
174
|
styleElm = doc.createElement('style');
|
|
163
175
|
styleElm.innerHTML = style;
|
|
164
176
|
}
|
|
177
|
+
// Apply CSP nonce to the style tag if it exists
|
|
178
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
179
|
+
if (nonce != null) {
|
|
180
|
+
styleElm.setAttribute('nonce', nonce);
|
|
181
|
+
}
|
|
165
182
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
166
183
|
}
|
|
167
184
|
if (appliedStyles) {
|
|
@@ -436,8 +453,8 @@ const safeCall = (instance, method, arg) => {
|
|
|
436
453
|
const then = (promise, thenFn) => {
|
|
437
454
|
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
438
455
|
};
|
|
439
|
-
const addHydratedFlag = (elm) => elm.
|
|
440
|
-
|
|
456
|
+
const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
457
|
+
;
|
|
441
458
|
/**
|
|
442
459
|
* Attach a series of runtime constructs to a compiled Stencil component
|
|
443
460
|
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
@@ -574,6 +591,7 @@ const disconnectedCallback = (elm) => {
|
|
|
574
591
|
}
|
|
575
592
|
};
|
|
576
593
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
594
|
+
var _a;
|
|
577
595
|
const endBootstrap = createTime();
|
|
578
596
|
const cmpTags = [];
|
|
579
597
|
const exclude = options.exclude || [];
|
|
@@ -650,6 +668,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
650
668
|
{
|
|
651
669
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
652
670
|
visibilityStyle.setAttribute('data-styles', '');
|
|
671
|
+
// Apply CSP nonce to the style tag if it exists
|
|
672
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
673
|
+
if (nonce != null) {
|
|
674
|
+
visibilityStyle.setAttribute('nonce', nonce);
|
|
675
|
+
}
|
|
653
676
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
654
677
|
}
|
|
655
678
|
// Process deferred connectedCallbacks now all components have been registered
|
|
@@ -694,6 +717,13 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
694
717
|
};
|
|
695
718
|
// prettier-ignore
|
|
696
719
|
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
720
|
+
/**
|
|
721
|
+
* Assigns the given value to the nonce property on the runtime platform object.
|
|
722
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
723
|
+
* @param nonce The value to be assigned to the platform nonce property.
|
|
724
|
+
* @returns void
|
|
725
|
+
*/
|
|
726
|
+
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
697
727
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
698
728
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
699
729
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -806,3 +836,4 @@ exports.getElement = getElement;
|
|
|
806
836
|
exports.h = h;
|
|
807
837
|
exports.promiseResolve = promiseResolve;
|
|
808
838
|
exports.registerInstance = registerInstance;
|
|
839
|
+
exports.setNonce = setNonce;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9c24d5f2.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.22.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -18,4 +18,5 @@ const defineCustomElements = (win, options) => {
|
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
exports.setNonce = index.setNonce;
|
|
21
22
|
exports.defineCustomElements = defineCustomElements;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9c24d5f2.js');
|
|
6
6
|
|
|
7
7
|
const mdsTabCss = ".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";
|
|
8
8
|
|
package/dist/cjs/mds-tab.cjs.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-9c24d5f2.js');
|
|
4
6
|
|
|
5
7
|
/*
|
|
6
|
-
Stencil Client Patch Browser v2.
|
|
8
|
+
Stencil Client Patch Browser v2.22.1 | MIT Licensed | https://stenciljs.com
|
|
7
9
|
*/
|
|
8
10
|
const patchBrowser = () => {
|
|
9
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-tab.cjs.js', document.baseURI).href));
|
|
@@ -17,3 +19,5 @@ const patchBrowser = () => {
|
|
|
17
19
|
patchBrowser().then(options => {
|
|
18
20
|
return index.bootstrapLazy([["mds-tab.cjs",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]], options);
|
|
19
21
|
});
|
|
22
|
+
|
|
23
|
+
exports.setNonce = index.setNonce;
|
|
@@ -13,6 +13,15 @@ export { MdsTab as MdsTab } from '../types/components/mds-tab/mds-tab';
|
|
|
13
13
|
*/
|
|
14
14
|
export declare const setAssetPath: (path: string) => void;
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
18
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
19
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
20
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
21
|
+
* will result in the same behavior.
|
|
22
|
+
*/
|
|
23
|
+
export declare const setNonce: (nonce: string) => void
|
|
24
|
+
|
|
16
25
|
export interface SetPlatformOptions {
|
|
17
26
|
raf?: (c: FrameRequestCallback) => number;
|
|
18
27
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
package/dist/components/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
|
|
1
|
+
export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
|
|
2
2
|
export { MdsTab, defineCustomElement as defineCustomElementMdsTab } from './mds-tab.js';
|
|
@@ -25,13 +25,25 @@ const uniqueTime = (key, measureText) => {
|
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
const HYDRATED_CSS = '{visibility:hidden}
|
|
28
|
+
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
29
29
|
const isDef = (v) => v != null;
|
|
30
30
|
const isComplexType = (o) => {
|
|
31
31
|
// https://jsperf.com/typeof-fn-object/5
|
|
32
32
|
o = typeof o;
|
|
33
33
|
return o === 'object' || o === 'function';
|
|
34
34
|
};
|
|
35
|
+
/**
|
|
36
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
37
|
+
* out of a DOM's head.
|
|
38
|
+
*
|
|
39
|
+
* @param doc The DOM containing the `head` to query against
|
|
40
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
41
|
+
* exists or the tag has no content.
|
|
42
|
+
*/
|
|
43
|
+
function queryNonceMetaTagContent(doc) {
|
|
44
|
+
var _a, _b, _c;
|
|
45
|
+
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
46
|
+
}
|
|
35
47
|
/**
|
|
36
48
|
* Production h() function based on Preact by
|
|
37
49
|
* Jason Miller (@developit)
|
|
@@ -40,7 +52,6 @@ const isComplexType = (o) => {
|
|
|
40
52
|
*
|
|
41
53
|
* Modified for Stencil's compiler and vdom
|
|
42
54
|
*/
|
|
43
|
-
// const stack: any[] = [];
|
|
44
55
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
45
56
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
46
57
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -121,6 +132,7 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
121
132
|
styles.set(scopeId, style);
|
|
122
133
|
};
|
|
123
134
|
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
135
|
+
var _a;
|
|
124
136
|
let scopeId = getScopeId(cmpMeta);
|
|
125
137
|
const style = styles.get(scopeId);
|
|
126
138
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
@@ -140,6 +152,11 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
140
152
|
styleElm = doc.createElement('style');
|
|
141
153
|
styleElm.innerHTML = style;
|
|
142
154
|
}
|
|
155
|
+
// Apply CSP nonce to the style tag if it exists
|
|
156
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
157
|
+
if (nonce != null) {
|
|
158
|
+
styleElm.setAttribute('nonce', nonce);
|
|
159
|
+
}
|
|
143
160
|
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
144
161
|
}
|
|
145
162
|
if (appliedStyles) {
|
|
@@ -414,8 +431,8 @@ const safeCall = (instance, method, arg) => {
|
|
|
414
431
|
const then = (promise, thenFn) => {
|
|
415
432
|
return promise && promise.then ? promise.then(thenFn) : thenFn();
|
|
416
433
|
};
|
|
417
|
-
const addHydratedFlag = (elm) => elm.
|
|
418
|
-
|
|
434
|
+
const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
435
|
+
;
|
|
419
436
|
/**
|
|
420
437
|
* Attach a series of runtime constructs to a compiled Stencil component
|
|
421
438
|
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
@@ -552,6 +569,7 @@ const disconnectedCallback = (elm) => {
|
|
|
552
569
|
}
|
|
553
570
|
};
|
|
554
571
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
572
|
+
var _a;
|
|
555
573
|
const endBootstrap = createTime();
|
|
556
574
|
const cmpTags = [];
|
|
557
575
|
const exclude = options.exclude || [];
|
|
@@ -628,6 +646,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
628
646
|
{
|
|
629
647
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
630
648
|
visibilityStyle.setAttribute('data-styles', '');
|
|
649
|
+
// Apply CSP nonce to the style tag if it exists
|
|
650
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
651
|
+
if (nonce != null) {
|
|
652
|
+
visibilityStyle.setAttribute('nonce', nonce);
|
|
653
|
+
}
|
|
631
654
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
632
655
|
}
|
|
633
656
|
// Process deferred connectedCallbacks now all components have been registered
|
|
@@ -672,6 +695,13 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
672
695
|
};
|
|
673
696
|
// prettier-ignore
|
|
674
697
|
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
698
|
+
/**
|
|
699
|
+
* Assigns the given value to the nonce property on the runtime platform object.
|
|
700
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
701
|
+
* @param nonce The value to be assigned to the platform nonce property.
|
|
702
|
+
* @returns void
|
|
703
|
+
*/
|
|
704
|
+
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
675
705
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
676
706
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
677
707
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -778,4 +808,4 @@ const flush = () => {
|
|
|
778
808
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
779
809
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
780
810
|
|
|
781
|
-
export { Host as H, bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r };
|
|
811
|
+
export { Host as H, bootstrapLazy as b, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-2e7a28fa.js';
|
|
2
|
+
export { s as setNonce } from './index-2e7a28fa.js';
|
|
2
3
|
|
|
3
4
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.
|
|
5
|
+
Stencil Client Patch Esm v2.22.1 | MIT Licensed | https://stenciljs.com
|
|
5
6
|
*/
|
|
6
7
|
const patchEsm = () => {
|
|
7
8
|
return promiseResolve();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-2e7a28fa.js';
|
|
2
2
|
|
|
3
3
|
const mdsTabCss = ".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";
|
|
4
4
|
|
package/dist/esm/mds-tab.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-2e7a28fa.js';
|
|
2
|
+
export { s as setNonce } from './index-2e7a28fa.js';
|
|
2
3
|
|
|
3
4
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
5
|
+
Stencil Client Patch Browser v2.22.1 | MIT Licensed | https://stenciljs.com
|
|
5
6
|
*/
|
|
6
7
|
const patchBrowser = () => {
|
|
7
8
|
const importMeta = import.meta.url;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,i[0]&&(n=0)),n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-tab";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,n,r;return(r=(n=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:undefined}var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(n);var u=newVNode(e,null);u.$attrs$=t;if(i.length>0){u.$children$=i}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a;var o=getScopeId(t);var s=styles.get(o);e=e.nodeType===11?e:doc;if(s){if(typeof s==="string"){e=e.head||e;var i=rootAppliedStyles.get(e);var l=void 0;if(!i){rootAppliedStyles.set(e,i=new Set)}if(!i.has(o)){{{l=doc.createElement("style");l.innerHTML=s}var u=(a=plt.$nonce$)!==null&&a!==void 0?a:queryNonceMetaTagContent(doc);if(u!=null){l.setAttribute("nonce",u)}e.insertBefore(l,e.querySelector("link"))}if(i){i.add(o)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[s],false)}}return o};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,n,r,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;s.insertBefore(i,t)}}}};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=t.$children$;{if(r!==null){addVnodes(n,null,t,r,0,r.length-1)}else;}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=r.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}patch(r,a)};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(u){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}r();{e.$onReadyResolve$(n);if(!a){appDidLoad()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var proxyComponent=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);r.map((function(e){var t=e[0],n=e[1][0]}))}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,n);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}r();if(a.style){o=a.style;s=getScopeId(n);if(!styles.has(s)){i=createTime("registerStyles",n.$tagName$);registerStyle(s,o,!!(n.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$)}r()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n;var r=createTime();var a=[];var o=t.exclude||[];var s=win.customElements;var i=doc.head;var l=i.querySelector("meta[charset]");var u=doc.createElement("style");var c=[];var f;var $=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}var r=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if($){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!o.includes(r)&&!s.get(r)){a.push(r);s.define(r,proxyComponent(i,n))}}))}));{u.innerHTML=a+HYDRATED_CSS;u.setAttribute("data-styles","");var d=(n=plt.$nonce$)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(d!=null){u.setAttribute("nonce",d)}i.insertBefore(u,l?l.nextSibling:i.firstChild)}$=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var s=e;var i=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var setNonce=function(e){return plt.$nonce$=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
|
package/dist/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-2e7a28fa.js";export{s as setNonce}from"./index-2e7a28fa.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["mds-tab",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],t)}))};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,H as Host,g as getElement}from"./index-2e7a28fa.js";var mdsTabCss=".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";var MdsTab=function(){function e(e){var t=this;registerInstance(this,e);this.queryItems=function(){return t.element.querySelectorAll("mds-tab-item")};this.scrollTabs=function(){var e=t.queryItems();var o=e[t.currentItem];t.element.scrollLeft=o.offsetLeft-t.element.offsetLeft-t.element.offsetWidth/2+o.offsetWidth/2}}e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){if(!e.id){e.id="mds-tab-item-".concat(t)}}))};e.prototype.changeEventHandler=function(e){var t=this;var o=this.element.querySelectorAll("mds-tab-item");o.forEach((function(o,r){if(o.id===e.detail){o.selected=true;t.currentItem=r;t.scrollTabs()}else{o.selected=false}}))};e.prototype.render=function(){return h(Host,null,h("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTab.style=mdsTabCss;export{MdsTab as mds_tab};
|
package/dist/esm-es5/mds-tab.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-2e7a28fa.js";export{s as setNonce}from"./index-2e7a28fa.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-tab",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as t}from"./p-5c7059c9.js";export{s as setNonce}from"./p-5c7059c9.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),e(t)})().then((e=>t([["p-1d40e0e2",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)));
|
package/dist/mds-tab/mds-tab.js
CHANGED
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-121197a0.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-4d660840.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-ea3524a1.system",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o,H as t,g as a}from"./p-
|
|
1
|
+
import{r as s,h as o,H as t,g as a}from"./p-5c7059c9.js";const r=class{constructor(o){s(this,o),this.queryItems=()=>this.element.querySelectorAll("mds-tab-item"),this.scrollTabs=()=>{const s=this.queryItems()[this.currentItem];this.element.scrollLeft=s.offsetLeft-this.element.offsetLeft-this.element.offsetWidth/2+s.offsetWidth/2}}componentWillLoad(){this.queryItems().forEach(((s,o)=>{s.id||(s.id=`mds-tab-item-${o}`)}))}changeEventHandler(s){this.element.querySelectorAll("mds-tab-item").forEach(((o,t)=>{o.id===s.detail?(o.selected=!0,this.currentItem=t,this.scrollTabs()):o.selected=!1}))}render(){return o(t,null,o("slot",null))}get element(){return a(this)}};r.style=".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";export{r as mds_tab}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,n,t,r){function a(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):a(e.value).then(o,u)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(r=1,a&&(i=u[0]&2?a["return"]:u[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;if(a=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;a=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){t.label=u[1];break}if(u[0]===6&&t.label<i[1]){t.label=i[1];i=u;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(u);break}if(i[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];a=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,a=n.length,i;r<a;r++){if(i||!(r in n)){if(!i)i=Array.prototype.slice.call(n,0,r);i[r]=n[r]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var t=this;var r="mds-tab";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var s=function(e,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c=function(e){return e!=null};var f=function(e){e=typeof e;return e==="object"||e==="function"};function $(e){var n,t,r;return(r=(t=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&r!==void 0?r:undefined}var v=e("h",(function(e,n){var t=[];for(var r=2;r<arguments.length;r++){t[r-2]=arguments[r]}var a=null;var i=false;var o=false;var u=[];var s=function(n){for(var t=0;t<n.length;t++){a=n[t];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!f(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?d(null,a):a)}o=i}}};s(t);var l=d(e,null);l.$attrs$=n;if(u.length>0){l.$children$=u}return l}));var d=function(e,n){var t={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return t};var h=e("H",{});var p=function(e){return e&&e.$tag$===h};var m=e("g",(function(e){return J(e).$hostElement$}));var g=function(e,n,t){var r=re.ce(n,t);e.dispatchEvent(r);return r};var y=new WeakMap;var w=function(e,n,t){var r=ee.get(e);if(ie&&t){r=r||new CSSStyleSheet;if(typeof r==="string"){r=n}else{r.replaceSync(n)}}else{r=n}ee.set(e,r)};var b=function(e,n,t,r){var a;var i=S(n);var o=ee.get(i);e=e.nodeType===11?e:te;if(o){if(typeof o==="string"){e=e.head||e;var u=y.get(e);var s=void 0;if(!u){y.set(e,u=new Set)}if(!u.has(i)){{{s=te.createElement("style");s.innerHTML=o}var l=(a=re.$nonce$)!==null&&a!==void 0?a:$(te);if(l!=null){s.setAttribute("nonce",l)}e.insertBefore(s,e.querySelector("link"))}if(u){u.add(i)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return i};var _=function(e){var n=e.$cmpMeta$;var t=e.$hostElement$;var r=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=b(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);if(r&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var S=function(e,n){return"sc-"+e.$tagName$};var R=function(e,n,t,r){var i=n.$children$[t];var o=0;var u;var s;{u=i.$elm$=te.createElement(i.$tag$);if(c(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){s=R(e,i,o);if(s){u.appendChild(s)}}}}return u};var E=function(e,n,t,r,a,o){var u=e;var s;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(r[a]){s=R(null,t,a);if(s){r[a].$elm$=s;u.insertBefore(s,n)}}}};var L=function(e,n){var t=n.$elm$=e.$elm$;var r=n.$children$;{if(r!==null){E(t,null,n,r,0,r.length-1)}else;}};var x=function(e,n){var t=e.$hostElement$;var r=e.$vnode$||d(null,null);var o=p(n)?n:v(null,null,n);i=t.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=r.$elm$=t.shadowRoot||t;{a=t["s-sc"]}L(r,o)};var N=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var A=function(e,n){if(e.$flags$&4){e.$flags$|=512;return}N(e,e.$ancestorComponent$);var t=function(){return C(e,n)};return $e(t)};var C=function(e,n){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],t=e[1];return q(r,n,t)}));e.$queuedListeners$=null}}{a=q(r,"componentWillLoad")}}t();return O(a,(function(){return M(e,r,n)}))};var M=function(e,n,r){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,s,l;return __generator(this,(function(c){t=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(r){_(e)}o=u("render",e.$cmpMeta$.$tagName$);{k(e,n)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}o();a();{s=t["s-p"];l=function(){return j(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var k=function(e,n,t){try{n=n.render();{e.$flags$|=2}{{{x(e,n)}}}}catch(n){X(n,e.$hostElement$)}return null};var j=function(e){var n=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var r=u("postUpdate",n);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{T(t)}r();{e.$onReadyResolve$(t);if(!a){P()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){fe((function(){return A(e,false)}))}e.$flags$&=~(4|512)}};var P=function(e){{T(te.documentElement)}fe((function(){return g(ne,"appload",{detail:{namespace:r}})}))};var q=function(e,n,t){if(e&&e[n]){try{return e[n](t)}catch(e){X(e)}}return undefined};var O=function(e,n){return e&&e.then?e.then(n):n()};var T=function(e){return e.setAttribute("hydrated","")};var I=function(e,n,t){if(n.$members$){var r=Object.entries(n.$members$);r.map((function(e){var n=e[0],t=e[1][0]}))}return e};var U=function(e,n,r,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,c,f;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=Z(r);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){I(i,r);i.isProxied=true}t=u("createInstance",r.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){X(e)}{n.$flags$&=~8}t();if(i.style){a=i.style;o=S(r);if(!ee.has(o)){l=u("registerStyles",r.$tagName$);w(o,a,!!(r.$flags$&1));l()}}$.label=3;case 3:c=n.$ancestorComponent$;f=function(){return A(n,true)};if(c&&c["s-rc"]){c["s-rc"].push(f)}else{f()}return[2]}}))}))};var z=function(e){if((re.$flags$&1)===0){var n=J(e);var t=n.$cmpMeta$;var r=u("connectedCallback",t.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){N(n,n.$ancestorComponent$=a);break}}}{U(e,n,t)}}else{W(e,n,t.$listeners$)}r()}};var B=function(e){if((re.$flags$&1)===0){var n=J(e);{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}}};var H=e("b",(function(e,n){if(n===void 0){n={}}var t;var r=u();var a=[];var i=n.exclude||[];var o=ne.customElements;var s=te.head;var c=s.querySelector("meta[charset]");var f=te.createElement("style");var v=[];var d;var h=true;Object.assign(re,n);re.$resourcesUrl$=new URL(n.resourcesUrl||"./",te.baseURI).href;e.map((function(e){e[1].map((function(n){var t={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{t.$members$=n[2]}{t.$listeners$=n[3]}var r=t.$tagName$;var u=function(e){__extends(n,e);function n(n){var r=e.call(this,n)||this;n=r;Q(n,t);if(t.$flags$&1){{{n.attachShadow({mode:"open"})}}}return r}n.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{re.jmp((function(){return z(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;re.jmp((function(){return B(e)}))};n.prototype.componentOnReady=function(){return J(this).$onReadyPromise$};return n}(HTMLElement);t.$lazyBundleId$=e[0];if(!i.includes(r)&&!o.get(r)){a.push(r);o.define(r,I(u,t))}}))}));{f.innerHTML=a+l;f.setAttribute("data-styles","");var p=(t=re.$nonce$)!==null&&t!==void 0?t:$(te);if(p!=null){f.setAttribute("nonce",p)}s.insertBefore(f,c?c.nextSibling:s.firstChild)}h=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{re.jmp((function(){return d=setTimeout(P,30)}))}}r()}));var W=function(e,n,t,r){if(t){t.map((function(t){var r=t[0],a=t[1],i=t[2];var o=e;var u=F(n,i);var s=G(r);re.ael(o,a,u,s);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return re.rel(o,a,u,s)}))}))}};var F=function(e,n){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[n](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,t])}}}catch(e){X(e)}}};var G=function(e){return(e&2)!==0};var V=e("s",(function(e){return re.$nonce$=e}));var D=new WeakMap;var J=function(e){return D.get(e)};var K=e("r",(function(e,n){return D.set(n.$lazyInstance$=e,n)}));var Q=function(e,n){var t={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}W(e,t,n.$listeners$);return D.set(e,t)};var X=function(e,n){return(0,console.error)(e,n)};var Y=new Map;var Z=function(e,t,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=Y.get(i);if(o){return o[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{Y.set(i,e)}return e[a]}),X)};var ee=new Map;var ne=typeof window!=="undefined"?window:{};var te=ne.document||{head:{}};var re={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,t,r){return e.addEventListener(n,t,r)},rel:function(e,n,t,r){return e.removeEventListener(n,t,r)},ce:function(e,n){return new CustomEvent(e,n)}};var ae=e("p",(function(e){return Promise.resolve(e)}));var ie=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var oe=[];var ue=[];var se=function(e,n){return function(t){e.push(t);if(!o){o=true;if(n&&re.$flags$&4){fe(ce)}else{re.raf(ce)}}}};var le=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){X(e)}}e.length=0};var ce=function(){le(oe);{le(ue);if(o=oe.length>0){re.raf(ce)}}};var fe=function(e){return ae().then(e)};var $e=se(ue,true)}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let t,e,n=!1;const l=t=>"object"==(t=typeof t)||"function"===t;function o(t){var e,n,l;return null!==(l=null===(n=null===(e=t.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const s=(t,e,...n)=>{let o=null,s=!1,r=!1;const a=[],i=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?i(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!l(o))&&(o+=""),s&&r?a[a.length-1].t+=o:a.push(s?c(null,o):o),r=s)};i(n);const u=c(t,null);return u.l=e,a.length>0&&(u.o=a),u},c=(t,e)=>({i:0,u:t,t:e,$:null,o:null}),r={},a=t=>L(t).m,i=new WeakMap,u=t=>"sc-"+t.p,f=(e,n,l)=>{const o=n.o[l];let s,c,r=0;if(s=o.$=q.createElement(o.u),null!=t&&s["s-si"]!==t&&s.classList.add(s["s-si"]=t),o.o)for(r=0;r<o.o.length;++r)c=f(e,o,r),c&&s.appendChild(c);return s},d=(n,l)=>{const o=n.m,a=n.h||c(null,null),i=(t=>t&&t.u===r)(l)?l:s(null,null,l);e=o.tagName,i.u=null,i.i|=4,n.h=i,i.$=a.$=o.shadowRoot||o,t=o["s-sc"],((t,n)=>{const l=n.$=t.$,o=n.o;null!==o&&((t,n,l,o,s,c)=>{let r,a=t;for(a.shadowRoot&&a.tagName===e&&(a=a.shadowRoot);s<=c;++s)o[s]&&(r=f(null,l,s),r&&(o[s].$=r,a.insertBefore(r,null)))})(l,0,n,o,0,o.length-1)})(a,i)},$=(t,e)=>{e&&!t.v&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.v=e)))},y=(t,e)=>{if(!(4&t.i))return $(t,t.S),J((()=>m(t,e)));t.i|=512},m=(t,e)=>{const n=t.g;let l;return e&&(t.i|=256,t.M&&(t.M.map((([t,e])=>S(n,t,e))),t.M=null),l=S(n,"componentWillLoad")),b(l,(()=>p(t,n,e)))},p=async(t,e,n)=>{const l=t.m,s=l["s-rc"];n&&(t=>{const e=t.k,n=t.m,l=e.i,s=((t,e)=>{var n;let l=u(e);const s=R.get(l);if(t=11===t.nodeType?t:q,s)if("string"==typeof s){let e,c=i.get(t=t.head||t);if(c||i.set(t,c=new Set),!c.has(l)){{e=q.createElement("style"),e.innerHTML=s;const l=null!==(n=F.C)&&void 0!==n?n:o(q);null!=l&&e.setAttribute("nonce",l),t.insertBefore(e,t.querySelector("link"))}c&&c.add(l)}}else t.adoptedStyleSheets.includes(s)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);h(t,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=l["s-p"],n=()=>w(t);0===e.length?n():(Promise.all(e).then(n),t.i|=4,e.length=0)}},h=(t,e)=>{try{e=e.render(),t.i|=2,d(t,e)}catch(e){W(e,t.m)}return null},w=t=>{const e=t.m,n=t.S;64&t.i||(t.i|=64,g(e),t.j(e),n||v()),t.v&&(t.v(),t.v=void 0),512&t.i&&I((()=>y(t,!1))),t.i&=-517},v=()=>{g(q.documentElement),I((()=>(t=>{const e=F.ce("appload",{detail:{namespace:"mds-tab"}});return t.dispatchEvent(e),e})(U)))},S=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){W(t)}},b=(t,e)=>t&&t.then?t.then(e):e(),g=t=>t.setAttribute("hydrated",""),M=(t,e)=>(e.P&&Object.entries(e.P).map((([t,[e]])=>{})),t),k=(t,e={})=>{var n;const l=[],s=e.exclude||[],c=U.customElements,r=q.head,a=r.querySelector("meta[charset]"),i=q.createElement("style"),f=[];let d,m=!0;Object.assign(F,e),F.L=new URL(e.resourcesUrl||"./",q.baseURI).href,t.map((t=>{t[1].map((e=>{const n={i:e[0],p:e[1],P:e[2],O:e[3]};n.P=e[2],n.O=e[3];const o=n.p,r=class extends HTMLElement{constructor(t){super(t),T(t=this,n),1&n.i&&t.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):F.jmp((()=>(t=>{if(0==(1&F.i)){const e=L(t),n=e.k,l=()=>{};if(1&e.i)C(t,e,n.O);else{e.i|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){$(e,e.S=n);break}}(async(t,e,n,l,o)=>{if(0==(32&e.i)){{if(e.i|=32,(o=H(n)).then){const t=()=>{};o=await o,t()}o.isProxied||(M(o,n),o.isProxied=!0);const t=()=>{};e.i|=8;try{new o(e)}catch(t){W(t)}e.i&=-9,t()}if(o.style){let t=o.style;const e=u(n);if(!R.has(e)){const l=()=>{};((t,e,n)=>{let l=R.get(t);V&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,R.set(t,l)})(e,t,!!(1&n.i)),l()}}}const s=e.S,c=()=>y(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,n)}l()}})(this)))}disconnectedCallback(){F.jmp((()=>(()=>{if(0==(1&F.i)){const t=L(this);t.T&&(t.T.map((t=>t())),t.T=void 0)}})()))}componentOnReady(){return L(this).W}};n.A=t[0],s.includes(o)||c.get(o)||(l.push(o),c.define(o,M(r,n)))}))}));{i.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",i.setAttribute("data-styles","");const t=null!==(n=F.C)&&void 0!==n?n:o(q);null!=t&&i.setAttribute("nonce",t),r.insertBefore(i,a?a.nextSibling:r.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):F.jmp((()=>d=setTimeout(v,30)))},C=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=t,c=j(e,o),r=P(n);F.ael(s,l,c,r),(e.T=e.T||[]).push((()=>F.rel(s,l,c,r)))}))},j=(t,e)=>n=>{try{256&t.i?t.g[e](n):(t.M=t.M||[]).push([e,n])}catch(t){W(t)}},P=t=>0!=(2&t),x=t=>F.C=t,E=new WeakMap,L=t=>E.get(t),O=(t,e)=>E.set(e.g=t,e),T=(t,e)=>{const n={i:0,m:t,k:e,H:new Map};return n.W=new Promise((t=>n.j=t)),t["s-p"]=[],t["s-rc"]=[],C(t,n,e.O),E.set(t,n)},W=(t,e)=>(0,console.error)(t,e),A=new Map,H=t=>{const e=t.p.replace(/-/g,"_"),n=t.A,l=A.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(A.set(n,t),t[e])),W)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},R=new Map,U="undefined"!=typeof window?window:{},q=U.document||{head:{}},F={i:0,L:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},N=t=>Promise.resolve(t),V=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),_=[],z=[],B=(t,e)=>l=>{t.push(l),n||(n=!0,e&&4&F.i?I(G):F.raf(G))},D=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){W(t)}t.length=0},G=()=>{D(_),D(z),(n=_.length>0)&&F.raf(G)},I=t=>N().then(t),J=B(z,!0);export{r as H,k as b,a as g,s as h,N as p,O as r,x as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-4d660840.system.js"],(function(e){"use strict";var t,r,o,s;return{setters:[function(e){t=e.r;r=e.h;o=e.H;s=e.g}],execute:function(){var a=".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";var n=e("mds_tab",function(){function e(e){var r=this;t(this,e);this.queryItems=function(){return r.element.querySelectorAll("mds-tab-item")};this.scrollTabs=function(){var e=r.queryItems();var t=e[r.currentItem];r.element.scrollLeft=t.offsetLeft-r.element.offsetLeft-r.element.offsetWidth/2+t.offsetWidth/2}}e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){if(!e.id){e.id="mds-tab-item-".concat(t)}}))};e.prototype.changeEventHandler=function(e){var t=this;var r=this.element.querySelectorAll("mds-tab-item");r.forEach((function(r,o){if(r.id===e.detail){r.selected=true;t.currentItem=o;t.scrollTabs()}else{r.selected=false}}))};e.prototype.render=function(){return r(o,null,r("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());n.style=a}}}));
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-01-
|
|
2
|
+
"timestamp": "2023-01-20T18:27:31",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.3.0"
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
"name": "dist-lazy",
|
|
55
55
|
"files": 35,
|
|
56
56
|
"generatedFiles": [
|
|
57
|
-
"./dist/cjs/index-
|
|
57
|
+
"./dist/cjs/index-9c24d5f2.js",
|
|
58
58
|
"./dist/cjs/index.cjs.js",
|
|
59
59
|
"./dist/cjs/loader.cjs.js",
|
|
60
60
|
"./dist/cjs/mds-tab.cjs.entry.js",
|
|
61
61
|
"./dist/cjs/mds-tab.cjs.js",
|
|
62
|
-
"./dist/esm-es5/index-
|
|
62
|
+
"./dist/esm-es5/index-2e7a28fa.js",
|
|
63
63
|
"./dist/esm-es5/index.js",
|
|
64
64
|
"./dist/esm-es5/loader.js",
|
|
65
65
|
"./dist/esm-es5/mds-tab.entry.js",
|
|
66
66
|
"./dist/esm-es5/mds-tab.js",
|
|
67
|
-
"./dist/esm/index-
|
|
67
|
+
"./dist/esm/index-2e7a28fa.js",
|
|
68
68
|
"./dist/esm/index.js",
|
|
69
69
|
"./dist/esm/loader.js",
|
|
70
70
|
"./dist/esm/mds-tab.entry.js",
|
|
@@ -74,21 +74,21 @@
|
|
|
74
74
|
"./dist/mds-tab/index.esm.js",
|
|
75
75
|
"./dist/mds-tab/mds-tab.esm.js",
|
|
76
76
|
"./dist/mds-tab/mds-tab.js",
|
|
77
|
-
"./dist/mds-tab/p-
|
|
78
|
-
"./dist/mds-tab/p-
|
|
77
|
+
"./dist/mds-tab/p-121197a0.system.js",
|
|
78
|
+
"./dist/mds-tab/p-1d40e0e2.entry.js",
|
|
79
|
+
"./dist/mds-tab/p-4d660840.system.js",
|
|
79
80
|
"./dist/mds-tab/p-50ea2036.system.js",
|
|
80
|
-
"./dist/mds-tab/p-
|
|
81
|
-
"./dist/mds-tab/p-
|
|
82
|
-
"./dist/mds-tab/p-d2967340.entry.js",
|
|
81
|
+
"./dist/mds-tab/p-5c7059c9.js",
|
|
82
|
+
"./dist/mds-tab/p-ea3524a1.system.entry.js",
|
|
83
83
|
"./www/build/index.esm.js",
|
|
84
84
|
"./www/build/mds-tab.esm.js",
|
|
85
85
|
"./www/build/mds-tab.js",
|
|
86
|
-
"./www/build/p-
|
|
87
|
-
"./www/build/p-
|
|
86
|
+
"./www/build/p-121197a0.system.js",
|
|
87
|
+
"./www/build/p-1d40e0e2.entry.js",
|
|
88
|
+
"./www/build/p-4d660840.system.js",
|
|
88
89
|
"./www/build/p-50ea2036.system.js",
|
|
89
|
-
"./www/build/p-
|
|
90
|
-
"./www/build/p-
|
|
91
|
-
"./www/build/p-d2967340.entry.js"
|
|
90
|
+
"./www/build/p-5c7059c9.js",
|
|
91
|
+
"./www/build/p-ea3524a1.system.entry.js"
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
94
|
{
|
|
@@ -121,10 +121,10 @@
|
|
|
121
121
|
"components": [
|
|
122
122
|
"mds-tab"
|
|
123
123
|
],
|
|
124
|
-
"bundleId": "p-
|
|
125
|
-
"fileName": "p-
|
|
124
|
+
"bundleId": "p-1d40e0e2",
|
|
125
|
+
"fileName": "p-1d40e0e2.entry.js",
|
|
126
126
|
"imports": [
|
|
127
|
-
"p-
|
|
127
|
+
"p-5c7059c9.js"
|
|
128
128
|
],
|
|
129
129
|
"originalByteSize": 2245
|
|
130
130
|
}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"bundleId": "mds-tab",
|
|
139
139
|
"fileName": "mds-tab.entry.js",
|
|
140
140
|
"imports": [
|
|
141
|
-
"index-
|
|
141
|
+
"index-2e7a28fa.js"
|
|
142
142
|
],
|
|
143
143
|
"originalByteSize": 2249
|
|
144
144
|
}
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"bundleId": "mds-tab",
|
|
153
153
|
"fileName": "mds-tab.entry.js",
|
|
154
154
|
"imports": [
|
|
155
|
-
"index-
|
|
155
|
+
"index-2e7a28fa.js"
|
|
156
156
|
],
|
|
157
157
|
"originalByteSize": 2249
|
|
158
158
|
}
|
|
@@ -163,10 +163,10 @@
|
|
|
163
163
|
"components": [
|
|
164
164
|
"mds-tab"
|
|
165
165
|
],
|
|
166
|
-
"bundleId": "p-
|
|
167
|
-
"fileName": "p-
|
|
166
|
+
"bundleId": "p-ea3524a1.system",
|
|
167
|
+
"fileName": "p-ea3524a1.system.entry.js",
|
|
168
168
|
"imports": [
|
|
169
|
-
"p-
|
|
169
|
+
"p-4d660840.system.js"
|
|
170
170
|
],
|
|
171
171
|
"originalByteSize": 2703
|
|
172
172
|
}
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"bundleId": "mds-tab.cjs",
|
|
181
181
|
"fileName": "mds-tab.cjs.entry.js",
|
|
182
182
|
"imports": [
|
|
183
|
-
"index-
|
|
183
|
+
"index-9c24d5f2.js"
|
|
184
184
|
],
|
|
185
185
|
"originalByteSize": 2308
|
|
186
186
|
}
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
],
|
|
340
340
|
"componentGraph": {
|
|
341
341
|
"sc-mds-tab": [
|
|
342
|
-
"p-
|
|
342
|
+
"p-5c7059c9.js"
|
|
343
343
|
]
|
|
344
344
|
},
|
|
345
345
|
"sourceGraph": {
|
|
@@ -133,7 +133,7 @@ export interface ListenOptions {
|
|
|
133
133
|
*/
|
|
134
134
|
passive?: boolean;
|
|
135
135
|
}
|
|
136
|
-
export
|
|
136
|
+
export type ListenTargetOptions = 'body' | 'document' | 'window';
|
|
137
137
|
export interface StateDecorator {
|
|
138
138
|
(): PropertyDecorator;
|
|
139
139
|
}
|
|
@@ -214,8 +214,8 @@ export declare const State: StateDecorator;
|
|
|
214
214
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
215
215
|
*/
|
|
216
216
|
export declare const Watch: WatchDecorator;
|
|
217
|
-
export
|
|
218
|
-
export
|
|
217
|
+
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
218
|
+
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
219
219
|
/**
|
|
220
220
|
* `setMode()` is used for libraries which provide multiple "modes" for styles.
|
|
221
221
|
*/
|
|
@@ -257,6 +257,15 @@ export declare function getAssetPath(path: string): string;
|
|
|
257
257
|
* @returns the set path
|
|
258
258
|
*/
|
|
259
259
|
export declare function setAssetPath(path: string): string;
|
|
260
|
+
/**
|
|
261
|
+
* Used to specify a nonce value that corresponds with an application's
|
|
262
|
+
* [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP).
|
|
263
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
264
|
+
* Alternatively, the nonce value can be set on a `meta` tag in the DOM head
|
|
265
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) and will result in the same behavior.
|
|
266
|
+
* @param nonce The value to be used for the nonce attribute.
|
|
267
|
+
*/
|
|
268
|
+
export declare function setNonce(nonce: string): void;
|
|
260
269
|
/**
|
|
261
270
|
* Retrieve a Stencil element for a given reference
|
|
262
271
|
* @param ref the ref to get the Stencil element for
|
|
@@ -433,8 +442,44 @@ interface HostAttributes {
|
|
|
433
442
|
ref?: (el: HTMLElement | null) => void;
|
|
434
443
|
[prop: string]: any;
|
|
435
444
|
}
|
|
445
|
+
/**
|
|
446
|
+
* Utilities for working with functional Stencil components. An object
|
|
447
|
+
* conforming to this interface is passed by the Stencil runtime as the third
|
|
448
|
+
* argument to a functional component, allowing component authors to work with
|
|
449
|
+
* features like children.
|
|
450
|
+
*
|
|
451
|
+
* The children of a functional component will be passed as the second
|
|
452
|
+
* argument, so a functional component which uses these utils to transform its
|
|
453
|
+
* children might look like the following:
|
|
454
|
+
*
|
|
455
|
+
* ```ts
|
|
456
|
+
* export const AddClass: FunctionalComponent = (_, children, utils) => (
|
|
457
|
+
* utils.map(children, child => ({
|
|
458
|
+
* ...child,
|
|
459
|
+
* vattrs: {
|
|
460
|
+
* ...child.vattrs,
|
|
461
|
+
* class: `${child.vattrs.class} add-class`
|
|
462
|
+
* }
|
|
463
|
+
* }))
|
|
464
|
+
* );
|
|
465
|
+
* ```
|
|
466
|
+
*
|
|
467
|
+
* For more see the Stencil documentation, here:
|
|
468
|
+
* https://stenciljs.com/docs/functional-components
|
|
469
|
+
*/
|
|
436
470
|
export interface FunctionalUtilities {
|
|
471
|
+
/**
|
|
472
|
+
* Utility for reading the children of a functional component at runtime.
|
|
473
|
+
* Since the Stencil runtime uses a different interface for children it is
|
|
474
|
+
* not recommendeded to read the children directly, and is preferable to use
|
|
475
|
+
* this utility to, for instance, perform a side effect for each child.
|
|
476
|
+
*/
|
|
437
477
|
forEach: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => void) => void;
|
|
478
|
+
/**
|
|
479
|
+
* Utility for transforming the children of a functional component. Given an
|
|
480
|
+
* array of children and a callback this will return a list of the results of
|
|
481
|
+
* passing each child to the supplied callback.
|
|
482
|
+
*/
|
|
438
483
|
map: (children: VNode[], cb: (vnode: ChildNode, index: number, array: ChildNode[]) => ChildNode) => VNode[];
|
|
439
484
|
}
|
|
440
485
|
export interface FunctionalComponent<T = {}> {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type AutocompleteType = 'additional-name' | 'address' | 'address-level1' | 'address-level2' | 'address-level3' | 'address-level4' | 'address-line1' | 'address-line2' | 'address-line3' | 'bday' | 'bday-day' | 'bday-month' | 'bday-year' | 'cc-additional-name' | 'cc-csc' | 'cc-exp' | 'cc-exp-month' | 'cc-exp-year' | 'cc-family-name' | 'cc-family-name' | 'cc-given-name' | 'cc-name' | 'cc-number' | 'cc-type' | 'country' | 'country-name' | 'current-password' | 'email' | 'family-name' | 'given-name' | 'honorific-prefix' | 'honorific-suffix' | 'impp' | 'language' | 'name' | 'new-password' | 'nickname' | 'off' | 'on' | 'one-time-code' | 'organization' | 'organization-title' | 'photo' | 'postal-code' | 'sex' | 'street-address' | 'tel' | 'tel-area-code' | 'tel-country-code' | 'tel-extension' | 'tel-local' | 'tel-national' | 'transaction-amount' | 'transaction-currency' | 'url' | 'username';
|
|
2
|
+
export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export type ButtonType = 'a' | 'button' | 'reset' | 'submit';
|
|
2
|
+
export type ButtonSizeType = 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
+
export type ButtonIconPositionType = 'left' | 'right';
|
|
4
|
+
export type ButtonVariantType = 'primary' | 'dark' | 'light' | 'error' | 'info' | 'success' | 'warning';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type FloatingUIPlacement = 'bottom' | 'bottom-end' | 'bottom-start' | 'left' | 'left-end' | 'left-start' | 'right' | 'right-end' | 'right-start' | 'top' | 'top-end' | 'top-start';
|
|
2
|
+
export type FloatingUIStrategy = 'absolute' | 'fixed';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type FormRelType = 'external' | 'help' | 'license' | 'next' | 'nofollow' | 'noopener' | 'noreferrer' | 'opener' | 'prev' | 'search';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InputTextType = 'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'textarea' | 'time' | 'url';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type InputValueType = null | number | string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type LoadingType = 'eager' | 'lazy';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
export type TypographyType = 'action' | 'caption' | 'snippet' | 'detail' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'hack' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
2
|
+
export type TypographyVariants = 'title' | 'info' | 'read' | 'code';
|
|
3
|
+
export type TypographyTitleType = 'action' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
4
|
+
export type TypographyInfoType = 'caption' | 'detail' | 'label' | 'option' | 'paragraph' | 'tip';
|
|
5
|
+
export type TypographyReadType = 'caption' | 'detail' | 'paragraph';
|
|
6
|
+
export type TypographySmallerType = 'tip' | 'option';
|
|
7
|
+
export type TypographyMonoType = 'snippet' | 'hack';
|
|
8
|
+
export type TypographyTooltipType = 'caption' | 'detail' | 'tip';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
1
|
+
export type ThemeStatusVariantType = 'error' | 'info' | 'success' | 'warning';
|
|
2
|
+
export type ThemeVariantType = 'dark' | 'error' | 'info' | 'light' | 'primary' | 'success' | 'warning';
|
|
3
|
+
export type ThemeFullVariantType = 'amaranth' | 'aqua' | 'blue' | 'dark' | 'error' | 'green' | 'info' | 'light' | 'lime' | 'orange' | 'orchid' | 'sky' | 'success' | 'violet' | 'warning' | 'yellow';
|
|
4
|
+
export type ThemeLuminanceVariantType = 'dark' | 'light';
|
|
5
|
+
export type LabelVariantType = 'amaranth' | 'aqua' | 'blue' | 'green' | 'lime' | 'orange' | 'orchid' | 'sky' | 'violet' | 'yellow';
|
|
6
|
+
export type ActionVariantType = 'primary' | 'dark' | 'light';
|
|
7
|
+
export type StateVariantType = 'disabled' | 'focused' | 'readonly';
|
|
8
|
+
export type ToneVariantType = 'strong' | 'weak' | 'ghost' | 'quiet';
|
|
9
|
+
export type ToneSimpleVariantType = 'strong' | 'weak' | 'quiet';
|
|
10
|
+
export type ToneMinimalVariantType = 'strong' | 'weak';
|
package/loader/index.d.ts
CHANGED
|
@@ -10,3 +10,12 @@ export interface CustomElementsDefineOptions {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): Promise<void>;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
16
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
17
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
18
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
19
|
+
* will result in the same behavior.
|
|
20
|
+
*/
|
|
21
|
+
export declare function setNonce(nonce: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/mds-tab",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "mds-tab is a web-component from Maggioli Design System Magma, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScirpt framework you are using.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"test": "stencil test --spec --e2e"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@maggioli-design-system/mds-tab-item": "^3.
|
|
26
|
+
"@maggioli-design-system/mds-tab-item": "^3.1.0",
|
|
27
27
|
"@maggioli-design-system/styles": "^10.0.1",
|
|
28
|
-
"@stencil/core": "^2.
|
|
28
|
+
"@stencil/core": "^2.22.1"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"author": {
|
package/www/build/mds-tab.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as
|
|
1
|
+
import{p as e,b as t}from"./p-5c7059c9.js";export{s as setNonce}from"./p-5c7059c9.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),e(t)})().then((e=>t([["p-1d40e0e2",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)));
|
package/www/build/mds-tab.js
CHANGED
|
@@ -115,7 +115,7 @@ DOMTokenList
|
|
|
115
115
|
var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
|
|
116
116
|
var start = function() {
|
|
117
117
|
// if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
|
|
118
|
-
var url = new URL('./p-
|
|
118
|
+
var url = new URL('./p-121197a0.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
|
|
119
119
|
System.import(url.href);
|
|
120
120
|
};
|
|
121
121
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-4d660840.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(t){n=t.p;r=t.b;e("setNonce",t.s)}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-ea3524a1.system",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as o,H as t,g as a}from"./p-
|
|
1
|
+
import{r as s,h as o,H as t,g as a}from"./p-5c7059c9.js";const r=class{constructor(o){s(this,o),this.queryItems=()=>this.element.querySelectorAll("mds-tab-item"),this.scrollTabs=()=>{const s=this.queryItems()[this.currentItem];this.element.scrollLeft=s.offsetLeft-this.element.offsetLeft-this.element.offsetWidth/2+s.offsetWidth/2}}componentWillLoad(){this.queryItems().forEach(((s,o)=>{s.id||(s.id=`mds-tab-item-${o}`)}))}changeEventHandler(s){this.element.querySelectorAll("mds-tab-item").forEach(((o,t)=>{o.id===s.detail?(o.selected=!0,this.currentItem=t,this.scrollTabs()):o.selected=!1}))}render(){return o(t,null,o("slot",null))}get element(){return a(this)}};r.style=".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";export{r as mds_tab}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,n,t,r){function a(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):a(e.value).then(o,u)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(u){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(r=1,a&&(i=u[0]&2?a["return"]:u[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;if(a=0,i)u=[u[0]&2,i.value];switch(u[0]){case 0:case 1:i=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;a=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){t.label=u[1];break}if(u[0]===6&&t.label<i[1]){t.label=i[1];i=u;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(u);break}if(i[2])t.ops.pop();t.trys.pop();continue}u=n.call(e,t)}catch(e){u=[6,e];a=0}finally{r=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,a=n.length,i;r<a;r++){if(i||!(r in n)){if(!i)i=Array.prototype.slice.call(n,0,r);i[r]=n[r]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var t=this;var r="mds-tab";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var s=function(e,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c=function(e){return e!=null};var f=function(e){e=typeof e;return e==="object"||e==="function"};function $(e){var n,t,r;return(r=(t=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||t===void 0?void 0:t.getAttribute("content"))!==null&&r!==void 0?r:undefined}var v=e("h",(function(e,n){var t=[];for(var r=2;r<arguments.length;r++){t[r-2]=arguments[r]}var a=null;var i=false;var o=false;var u=[];var s=function(n){for(var t=0;t<n.length;t++){a=n[t];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!f(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?d(null,a):a)}o=i}}};s(t);var l=d(e,null);l.$attrs$=n;if(u.length>0){l.$children$=u}return l}));var d=function(e,n){var t={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return t};var h=e("H",{});var p=function(e){return e&&e.$tag$===h};var m=e("g",(function(e){return J(e).$hostElement$}));var g=function(e,n,t){var r=re.ce(n,t);e.dispatchEvent(r);return r};var y=new WeakMap;var w=function(e,n,t){var r=ee.get(e);if(ie&&t){r=r||new CSSStyleSheet;if(typeof r==="string"){r=n}else{r.replaceSync(n)}}else{r=n}ee.set(e,r)};var b=function(e,n,t,r){var a;var i=S(n);var o=ee.get(i);e=e.nodeType===11?e:te;if(o){if(typeof o==="string"){e=e.head||e;var u=y.get(e);var s=void 0;if(!u){y.set(e,u=new Set)}if(!u.has(i)){{{s=te.createElement("style");s.innerHTML=o}var l=(a=re.$nonce$)!==null&&a!==void 0?a:$(te);if(l!=null){s.setAttribute("nonce",l)}e.insertBefore(s,e.querySelector("link"))}if(u){u.add(i)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return i};var _=function(e){var n=e.$cmpMeta$;var t=e.$hostElement$;var r=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=b(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);if(r&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var S=function(e,n){return"sc-"+e.$tagName$};var R=function(e,n,t,r){var i=n.$children$[t];var o=0;var u;var s;{u=i.$elm$=te.createElement(i.$tag$);if(c(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){s=R(e,i,o);if(s){u.appendChild(s)}}}}return u};var E=function(e,n,t,r,a,o){var u=e;var s;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(r[a]){s=R(null,t,a);if(s){r[a].$elm$=s;u.insertBefore(s,n)}}}};var L=function(e,n){var t=n.$elm$=e.$elm$;var r=n.$children$;{if(r!==null){E(t,null,n,r,0,r.length-1)}else;}};var x=function(e,n){var t=e.$hostElement$;var r=e.$vnode$||d(null,null);var o=p(n)?n:v(null,null,n);i=t.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=r.$elm$=t.shadowRoot||t;{a=t["s-sc"]}L(r,o)};var N=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var A=function(e,n){if(e.$flags$&4){e.$flags$|=512;return}N(e,e.$ancestorComponent$);var t=function(){return C(e,n)};return $e(t)};var C=function(e,n){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],t=e[1];return q(r,n,t)}));e.$queuedListeners$=null}}{a=q(r,"componentWillLoad")}}t();return O(a,(function(){return M(e,r,n)}))};var M=function(e,n,r){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,s,l;return __generator(this,(function(c){t=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(r){_(e)}o=u("render",e.$cmpMeta$.$tagName$);{k(e,n)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}o();a();{s=t["s-p"];l=function(){return j(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var k=function(e,n,t){try{n=n.render();{e.$flags$|=2}{{{x(e,n)}}}}catch(n){X(n,e.$hostElement$)}return null};var j=function(e){var n=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var r=u("postUpdate",n);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{T(t)}r();{e.$onReadyResolve$(t);if(!a){P()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){fe((function(){return A(e,false)}))}e.$flags$&=~(4|512)}};var P=function(e){{T(te.documentElement)}fe((function(){return g(ne,"appload",{detail:{namespace:r}})}))};var q=function(e,n,t){if(e&&e[n]){try{return e[n](t)}catch(e){X(e)}}return undefined};var O=function(e,n){return e&&e.then?e.then(n):n()};var T=function(e){return e.setAttribute("hydrated","")};var I=function(e,n,t){if(n.$members$){var r=Object.entries(n.$members$);r.map((function(e){var n=e[0],t=e[1][0]}))}return e};var U=function(e,n,r,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,c,f;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=Z(r);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){I(i,r);i.isProxied=true}t=u("createInstance",r.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){X(e)}{n.$flags$&=~8}t();if(i.style){a=i.style;o=S(r);if(!ee.has(o)){l=u("registerStyles",r.$tagName$);w(o,a,!!(r.$flags$&1));l()}}$.label=3;case 3:c=n.$ancestorComponent$;f=function(){return A(n,true)};if(c&&c["s-rc"]){c["s-rc"].push(f)}else{f()}return[2]}}))}))};var z=function(e){if((re.$flags$&1)===0){var n=J(e);var t=n.$cmpMeta$;var r=u("connectedCallback",t.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){N(n,n.$ancestorComponent$=a);break}}}{U(e,n,t)}}else{W(e,n,t.$listeners$)}r()}};var B=function(e){if((re.$flags$&1)===0){var n=J(e);{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}}};var H=e("b",(function(e,n){if(n===void 0){n={}}var t;var r=u();var a=[];var i=n.exclude||[];var o=ne.customElements;var s=te.head;var c=s.querySelector("meta[charset]");var f=te.createElement("style");var v=[];var d;var h=true;Object.assign(re,n);re.$resourcesUrl$=new URL(n.resourcesUrl||"./",te.baseURI).href;e.map((function(e){e[1].map((function(n){var t={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{t.$members$=n[2]}{t.$listeners$=n[3]}var r=t.$tagName$;var u=function(e){__extends(n,e);function n(n){var r=e.call(this,n)||this;n=r;Q(n,t);if(t.$flags$&1){{{n.attachShadow({mode:"open"})}}}return r}n.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{re.jmp((function(){return z(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;re.jmp((function(){return B(e)}))};n.prototype.componentOnReady=function(){return J(this).$onReadyPromise$};return n}(HTMLElement);t.$lazyBundleId$=e[0];if(!i.includes(r)&&!o.get(r)){a.push(r);o.define(r,I(u,t))}}))}));{f.innerHTML=a+l;f.setAttribute("data-styles","");var p=(t=re.$nonce$)!==null&&t!==void 0?t:$(te);if(p!=null){f.setAttribute("nonce",p)}s.insertBefore(f,c?c.nextSibling:s.firstChild)}h=false;if(v.length){v.map((function(e){return e.connectedCallback()}))}else{{re.jmp((function(){return d=setTimeout(P,30)}))}}r()}));var W=function(e,n,t,r){if(t){t.map((function(t){var r=t[0],a=t[1],i=t[2];var o=e;var u=F(n,i);var s=G(r);re.ael(o,a,u,s);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return re.rel(o,a,u,s)}))}))}};var F=function(e,n){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[n](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,t])}}}catch(e){X(e)}}};var G=function(e){return(e&2)!==0};var V=e("s",(function(e){return re.$nonce$=e}));var D=new WeakMap;var J=function(e){return D.get(e)};var K=e("r",(function(e,n){return D.set(n.$lazyInstance$=e,n)}));var Q=function(e,n){var t={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}W(e,t,n.$listeners$);return D.set(e,t)};var X=function(e,n){return(0,console.error)(e,n)};var Y=new Map;var Z=function(e,t,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=Y.get(i);if(o){return o[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{Y.set(i,e)}return e[a]}),X)};var ee=new Map;var ne=typeof window!=="undefined"?window:{};var te=ne.document||{head:{}};var re={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,t,r){return e.addEventListener(n,t,r)},rel:function(e,n,t,r){return e.removeEventListener(n,t,r)},ce:function(e,n){return new CustomEvent(e,n)}};var ae=e("p",(function(e){return Promise.resolve(e)}));var ie=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var oe=[];var ue=[];var se=function(e,n){return function(t){e.push(t);if(!o){o=true;if(n&&re.$flags$&4){fe(ce)}else{re.raf(ce)}}}};var le=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){X(e)}}e.length=0};var ce=function(){le(oe);{le(ue);if(o=oe.length>0){re.raf(ce)}}};var fe=function(e){return ae().then(e)};var $e=se(ue,true)}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let t,e,n=!1;const l=t=>"object"==(t=typeof t)||"function"===t;function o(t){var e,n,l;return null!==(l=null===(n=null===(e=t.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===n?void 0:n.getAttribute("content"))&&void 0!==l?l:void 0}const s=(t,e,...n)=>{let o=null,s=!1,r=!1;const a=[],i=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?i(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!l(o))&&(o+=""),s&&r?a[a.length-1].t+=o:a.push(s?c(null,o):o),r=s)};i(n);const u=c(t,null);return u.l=e,a.length>0&&(u.o=a),u},c=(t,e)=>({i:0,u:t,t:e,$:null,o:null}),r={},a=t=>L(t).m,i=new WeakMap,u=t=>"sc-"+t.p,f=(e,n,l)=>{const o=n.o[l];let s,c,r=0;if(s=o.$=q.createElement(o.u),null!=t&&s["s-si"]!==t&&s.classList.add(s["s-si"]=t),o.o)for(r=0;r<o.o.length;++r)c=f(e,o,r),c&&s.appendChild(c);return s},d=(n,l)=>{const o=n.m,a=n.h||c(null,null),i=(t=>t&&t.u===r)(l)?l:s(null,null,l);e=o.tagName,i.u=null,i.i|=4,n.h=i,i.$=a.$=o.shadowRoot||o,t=o["s-sc"],((t,n)=>{const l=n.$=t.$,o=n.o;null!==o&&((t,n,l,o,s,c)=>{let r,a=t;for(a.shadowRoot&&a.tagName===e&&(a=a.shadowRoot);s<=c;++s)o[s]&&(r=f(null,l,s),r&&(o[s].$=r,a.insertBefore(r,null)))})(l,0,n,o,0,o.length-1)})(a,i)},$=(t,e)=>{e&&!t.v&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.v=e)))},y=(t,e)=>{if(!(4&t.i))return $(t,t.S),J((()=>m(t,e)));t.i|=512},m=(t,e)=>{const n=t.g;let l;return e&&(t.i|=256,t.M&&(t.M.map((([t,e])=>S(n,t,e))),t.M=null),l=S(n,"componentWillLoad")),b(l,(()=>p(t,n,e)))},p=async(t,e,n)=>{const l=t.m,s=l["s-rc"];n&&(t=>{const e=t.k,n=t.m,l=e.i,s=((t,e)=>{var n;let l=u(e);const s=R.get(l);if(t=11===t.nodeType?t:q,s)if("string"==typeof s){let e,c=i.get(t=t.head||t);if(c||i.set(t,c=new Set),!c.has(l)){{e=q.createElement("style"),e.innerHTML=s;const l=null!==(n=F.C)&&void 0!==n?n:o(q);null!=l&&e.setAttribute("nonce",l),t.insertBefore(e,t.querySelector("link"))}c&&c.add(l)}}else t.adoptedStyleSheets.includes(s)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);h(t,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=l["s-p"],n=()=>w(t);0===e.length?n():(Promise.all(e).then(n),t.i|=4,e.length=0)}},h=(t,e)=>{try{e=e.render(),t.i|=2,d(t,e)}catch(e){W(e,t.m)}return null},w=t=>{const e=t.m,n=t.S;64&t.i||(t.i|=64,g(e),t.j(e),n||v()),t.v&&(t.v(),t.v=void 0),512&t.i&&I((()=>y(t,!1))),t.i&=-517},v=()=>{g(q.documentElement),I((()=>(t=>{const e=F.ce("appload",{detail:{namespace:"mds-tab"}});return t.dispatchEvent(e),e})(U)))},S=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){W(t)}},b=(t,e)=>t&&t.then?t.then(e):e(),g=t=>t.setAttribute("hydrated",""),M=(t,e)=>(e.P&&Object.entries(e.P).map((([t,[e]])=>{})),t),k=(t,e={})=>{var n;const l=[],s=e.exclude||[],c=U.customElements,r=q.head,a=r.querySelector("meta[charset]"),i=q.createElement("style"),f=[];let d,m=!0;Object.assign(F,e),F.L=new URL(e.resourcesUrl||"./",q.baseURI).href,t.map((t=>{t[1].map((e=>{const n={i:e[0],p:e[1],P:e[2],O:e[3]};n.P=e[2],n.O=e[3];const o=n.p,r=class extends HTMLElement{constructor(t){super(t),T(t=this,n),1&n.i&&t.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),m?f.push(this):F.jmp((()=>(t=>{if(0==(1&F.i)){const e=L(t),n=e.k,l=()=>{};if(1&e.i)C(t,e,n.O);else{e.i|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){$(e,e.S=n);break}}(async(t,e,n,l,o)=>{if(0==(32&e.i)){{if(e.i|=32,(o=H(n)).then){const t=()=>{};o=await o,t()}o.isProxied||(M(o,n),o.isProxied=!0);const t=()=>{};e.i|=8;try{new o(e)}catch(t){W(t)}e.i&=-9,t()}if(o.style){let t=o.style;const e=u(n);if(!R.has(e)){const l=()=>{};((t,e,n)=>{let l=R.get(t);V&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,R.set(t,l)})(e,t,!!(1&n.i)),l()}}}const s=e.S,c=()=>y(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,n)}l()}})(this)))}disconnectedCallback(){F.jmp((()=>(()=>{if(0==(1&F.i)){const t=L(this);t.T&&(t.T.map((t=>t())),t.T=void 0)}})()))}componentOnReady(){return L(this).W}};n.A=t[0],s.includes(o)||c.get(o)||(l.push(o),c.define(o,M(r,n)))}))}));{i.innerHTML=l+"{visibility:hidden}[hydrated]{visibility:inherit}",i.setAttribute("data-styles","");const t=null!==(n=F.C)&&void 0!==n?n:o(q);null!=t&&i.setAttribute("nonce",t),r.insertBefore(i,a?a.nextSibling:r.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):F.jmp((()=>d=setTimeout(v,30)))},C=(t,e,n)=>{n&&n.map((([n,l,o])=>{const s=t,c=j(e,o),r=P(n);F.ael(s,l,c,r),(e.T=e.T||[]).push((()=>F.rel(s,l,c,r)))}))},j=(t,e)=>n=>{try{256&t.i?t.g[e](n):(t.M=t.M||[]).push([e,n])}catch(t){W(t)}},P=t=>0!=(2&t),x=t=>F.C=t,E=new WeakMap,L=t=>E.get(t),O=(t,e)=>E.set(e.g=t,e),T=(t,e)=>{const n={i:0,m:t,k:e,H:new Map};return n.W=new Promise((t=>n.j=t)),t["s-p"]=[],t["s-rc"]=[],C(t,n,e.O),E.set(t,n)},W=(t,e)=>(0,console.error)(t,e),A=new Map,H=t=>{const e=t.p.replace(/-/g,"_"),n=t.A,l=A.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(A.set(n,t),t[e])),W)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},R=new Map,U="undefined"!=typeof window?window:{},q=U.document||{head:{}},F={i:0,L:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},N=t=>Promise.resolve(t),V=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),_=[],z=[],B=(t,e)=>l=>{t.push(l),n||(n=!0,e&&4&F.i?I(G):F.raf(G))},D=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){W(t)}t.length=0},G=()=>{D(_),D(z),(n=_.length>0)&&F.raf(G)},I=t=>N().then(t),J=B(z,!0);export{r as H,k as b,a as g,s as h,N as p,O as r,x as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-4d660840.system.js"],(function(e){"use strict";var t,r,o,s;return{setters:[function(e){t=e.r;r=e.h;o=e.H;s=e.g}],execute:function(){var a=".visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host{--mds-tab-background:rgb(var(--tone-neutral-09));--mds-tab-radius:1rem;display:-ms-flexbox;display:flex;gap:0.5rem;overflow:auto;padding:0.5rem;background-color:var(--mds-tab-background);border-radius:var(--mds-tab-radius);-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scroll-behavior:smooth;-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none}:host::-webkit-scrollbar{display:none}@media (max-width: 767px){.mobile\\:flex-1{-ms-flex:1 1 0%;flex:1 1 0%}}";var n=e("mds_tab",function(){function e(e){var r=this;t(this,e);this.queryItems=function(){return r.element.querySelectorAll("mds-tab-item")};this.scrollTabs=function(){var e=r.queryItems();var t=e[r.currentItem];r.element.scrollLeft=t.offsetLeft-r.element.offsetLeft-r.element.offsetWidth/2+t.offsetWidth/2}}e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){if(!e.id){e.id="mds-tab-item-".concat(t)}}))};e.prototype.changeEventHandler=function(e){var t=this;var r=this.element.querySelectorAll("mds-tab-item");r.forEach((function(r,o){if(r.id===e.detail){r.selected=true;t.currentItem=o;t.scrollTabs()}else{r.selected=false}}))};e.prototype.render=function(){return r(o,null,r("slot",null))};Object.defineProperty(e.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});return e}());n.style=a}}}));
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function i(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(s,i)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;a=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(s[0]===6&&n.label<o[1]){n.label=o[1];o=s;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(s);break}if(o[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];a=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,o;r<a;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};var NAMESPACE="mds-tab";var scopeId;var hostTagName;var queuePending=false;var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var a=null;var o=false;var s=false;var i=[];var l=function(t){for(var n=0;n<t.length;n++){a=t[n];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){i[i.length-1].$text$+=a}else{i.push(o?newVNode(null,a):a)}s=o}}};l(n);var u=newVNode(e,null);u.$attrs$=t;if(i.length>0){u.$children$=i}return u};var newVNode=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,t,n){var r=plt.ce(t,n);e.dispatchEvent(r);return r};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,n){var r=styles.get(e);if(supportsConstructableStylesheets&&n){r=r||new CSSStyleSheet;if(typeof r==="string"){r=t}else{r.replaceSync(t)}}else{r=t}styles.set(e,r)};var addStyle=function(e,t,n,r){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[o],false)}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(r&10){n["s-sc"]=o;n.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var createElm=function(e,t,n,r){var a=t.$children$[n];var o=0;var s;var i;{s=a.$elm$=doc.createElement(a.$tag$);if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o);if(i){s.appendChild(i)}}}}return s};var addVnodes=function(e,t,n,r,a,o){var s=e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(r[a]){i=createElm(null,n,a);if(i){r[a].$elm$=i;s.insertBefore(i,t)}}}};var patch=function(e,t){var n=t.$elm$=e.$elm$;var r=t.$children$;{if(r!==null){addVnodes(n,null,t,r,0,r.length-1)}else;}};var renderVdom=function(e,t){var n=e.$hostElement$;var r=e.$vnode$||newVNode(null,null);var a=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;a.$tag$=null;a.$flags$|=4;e.$vnode$=a;a.$elm$=r.$elm$=n.shadowRoot||n;{scopeId=n["s-sc"]}patch(r,a)};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var n=function(){return dispatchHooks(e,t)};return writeTask(n)};var dispatchHooks=function(e,t){var n=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return safeCall(r,t,n)}));e.$queuedListeners$=null}}{a=safeCall(r,"componentWillLoad")}}n();return then(a,(function(){return updateComponent(e,r,t)}))};var updateComponent=function(e,t,n){return __awaiter(void 0,void 0,void 0,(function(){var r,a,o,s,i,l;return __generator(this,(function(u){r=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=r["s-rc"];if(n){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));r["s-rc"]=undefined}s();a();{i=r["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,n){try{t=t.render();{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=createTime("postUpdate",t);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(n)}r();{e.$onReadyResolve$(n);if(!a){appDidLoad()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var proxyComponent=function(e,t,n){if(t.$members$){var r=Object.entries(t.$members$);r.map((function(e){var t=e[0],n=e[1][0]}))}return e};var initializeComponent=function(e,t,n,r,a){return __awaiter(void 0,void 0,void 0,(function(){var e,r,o,s,i,l,u;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(n);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=c.sent();e();c.label=2;case 2:if(!a.isProxied){proxyComponent(a,n);a.isProxied=true}r=createTime("createInstance",n.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}r();if(a.style){o=a.style;s=getScopeId(n);if(!styles.has(s)){i=createTime("registerStyles",n.$tagName$);registerStyle(s,o,!!(n.$flags$&1));i()}}c.label=3;case 3:l=t.$ancestorComponent$;u=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(u)}else{u()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var n=t.$cmpMeta$;var r=createTime("connectedCallback",n.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}{initializeComponent(e,t,n)}}else{addHostEventListeners(e,t,n.$listeners$)}r()}};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var n=createTime();var r=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var u=[];var c;var f=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){e[1].map((function(t){var n={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{n.$members$=t[2]}{n.$listeners$=t[3]}var s=n.$tagName$;var i=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.$flags$&1){{{t.attachShadow({mode:"open"})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(f){u.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);n.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){r.push(s);o.define(s,proxyComponent(i,n))}}))}));{l.innerHTML=r+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}f=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,n,r){if(n){n.map((function(n){var r=n[0],a=n[1],o=n[2];var s=e;var i=hostListenerProxy(t,o);var l=hostListenerOpts(r);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(n){try{{if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}}catch(e){consoleError(e)}}};var hostListenerOpts=function(e){return(e&2)!==0};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,n,t.$listeners$);return hostRefs.set(e,n)};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,n){var r=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[r]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[r]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(n){e.push(n);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,bootstrapLazy as b,getElement as g,h,promiseResolve as p,registerInstance as r};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,t,n=!1;const l=e=>"object"==(e=typeof e)||"function"===e,s=(e,t,...n)=>{let s=null,r=!1,c=!1;const a=[],i=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?i(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!l(s))&&(s+=""),r&&c?a[a.length-1].t+=s:a.push(r?o(null,s):s),c=r)};i(n);const u=o(e,null);return u.l=t,a.length>0&&(u.o=a),u},o=(e,t)=>({i:0,u:e,t,$:null,o:null}),r={},c=e=>x(e).m,a=new WeakMap,i=e=>"sc-"+e.p,u=(t,n,l)=>{const s=n.o[l];let o,r,c=0;if(o=s.$=R.createElement(s.u),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),s.o)for(c=0;c<s.o.length;++c)r=u(t,s,c),r&&o.appendChild(r);return o},f=(n,l)=>{const c=n.m,a=n.h||o(null,null),i=(e=>e&&e.u===r)(l)?l:s(null,null,l);t=c.tagName,i.u=null,i.i|=4,n.h=i,i.$=a.$=c.shadowRoot||c,e=c["s-sc"],((e,n)=>{const l=n.$=e.$,s=n.o;null!==s&&((e,n,l,s,o,r)=>{let c,a=e;for(a.shadowRoot&&a.tagName===t&&(a=a.shadowRoot);o<=r;++o)s[o]&&(c=u(null,l,o),c&&(s[o].$=c,a.insertBefore(c,null)))})(l,0,n,s,0,s.length-1)})(a,i)},$=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},y=(e,t)=>{if(!(4&e.i))return $(e,e.g),G((()=>d(e,t)));e.i|=512},d=(e,t)=>{const n=e.M;let l;return t&&(e.i|=256,e.k&&(e.k.map((([e,t])=>S(n,e,t))),e.k=null),l=S(n,"componentWillLoad")),b(l,(()=>m(e,n,t)))},m=async(e,t,n)=>{const l=e.m,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.m,l=t.i,s=((e,t)=>{let n=i(t);const l=A.get(n);if(e=11===e.nodeType?e:R,l)if("string"==typeof l){let t,s=a.get(e=e.head||e);s||a.set(e,s=new Set),s.has(n)||(t=R.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);p(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>h(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},p=(e,t)=>{try{t=t.render(),e.i|=2,f(e,t)}catch(t){O(t,e.m)}return null},h=e=>{const t=e.m,n=e.g;64&e.i||(e.i|=64,g(t),e.C(t),n||w()),e.S&&(e.S(),e.S=void 0),512&e.i&&D((()=>y(e,!1))),e.i&=-517},w=()=>{g(R.documentElement),D((()=>(e=>{const t=U.ce("appload",{detail:{namespace:"mds-tab"}});return e.dispatchEvent(t),t})(H)))},S=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){O(e)}},b=(e,t)=>e&&e.then?e.then(t):t(),g=e=>e.classList.add("hydrated"),M=(e,t)=>(t.j&&Object.entries(t.j).map((([e,[t]])=>{})),e),k=(e,t={})=>{const n=[],l=t.exclude||[],s=H.customElements,o=R.head,r=o.querySelector("meta[charset]"),c=R.createElement("style"),a=[];let u,f=!0;Object.assign(U,t),U.P=new URL(t.resourcesUrl||"./",R.baseURI).href,e.map((e=>{e[1].map((t=>{const o={i:t[0],p:t[1],j:t[2],L:t[3]};o.j=t[2],o.L=t[3];const r=o.p,c=class extends HTMLElement{constructor(e){super(e),L(e=this,o),1&o.i&&e.attachShadow({mode:"open"})}connectedCallback(){u&&(clearTimeout(u),u=null),f?a.push(this):U.jmp((()=>(e=>{if(0==(1&U.i)){const t=x(e),n=t.v,l=()=>{};if(1&t.i)v(e,t,n.L);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){$(t,t.g=n);break}}(async(e,t,n,l,s)=>{if(0==(32&t.i)){{if(t.i|=32,(s=W(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(M(s,n),s.isProxied=!0);const e=()=>{};t.i|=8;try{new s(t)}catch(e){O(e)}t.i&=-9,e()}if(s.style){let e=s.style;const t=i(n);if(!A.has(t)){const l=()=>{};((e,t,n)=>{let l=A.get(e);F&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,A.set(e,l)})(t,e,!!(1&n.i)),l()}}}const o=t.g,r=()=>y(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){U.jmp((()=>(()=>{if(0==(1&U.i)){const e=x(this);e.O&&(e.O.map((e=>e())),e.O=void 0)}})()))}componentOnReady(){return x(this).T}};o.W=e[0],l.includes(r)||s.get(r)||(n.push(r),s.define(r,M(c,o)))}))})),c.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,r?r.nextSibling:o.firstChild),f=!1,a.length?a.map((e=>e.connectedCallback())):U.jmp((()=>u=setTimeout(w,30)))},v=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,r=C(t,s),c=j(n);U.ael(o,l,r,c),(t.O=t.O||[]).push((()=>U.rel(o,l,r,c)))}))},C=(e,t)=>n=>{try{256&e.i?e.M[t](n):(e.k=e.k||[]).push([t,n])}catch(e){O(e)}},j=e=>0!=(2&e),P=new WeakMap,x=e=>P.get(e),E=(e,t)=>P.set(t.M=e,t),L=(e,t)=>{const n={i:0,m:e,v:t,A:new Map};return n.T=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.L),P.set(e,n)},O=(e,t)=>(0,console.error)(e,t),T=new Map,W=e=>{const t=e.p.replace(/-/g,"_"),n=e.W,l=T.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(T.set(n,e),e[t])),O)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},A=new Map,H="undefined"!=typeof window?window:{},R=H.document||{head:{}},U={i:0,P:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},q=e=>Promise.resolve(e),F=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),N=[],V=[],_=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&U.i?D(B):U.raf(B))},z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){O(e)}e.length=0},B=()=>{z(N),z(V),(n=N.length>0)&&U.raf(B)},D=e=>q().then(e),G=_(V,!0);export{r as H,k as b,c as g,s as h,q as p,E as r}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,n,t,r){function a(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):a(e.value).then(o,u)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=n.call(e,t)}catch(e){o=[6,e];a=0}finally{r=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,a=n.length,i;r<a;r++){if(i||!(r in n)){if(!i)i=Array.prototype.slice.call(n,0,r);i[r]=n[r]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var t=this;var r="mds-tab";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var s=function(e,n){{return function(){return}}};var l="{visibility:hidden}.hydrated{visibility:inherit}";var f=function(e){return e!=null};var c=function(e){e=typeof e;return e==="object"||e==="function"};var $=e("h",(function(e,n){var t=[];for(var r=2;r<arguments.length;r++){t[r-2]=arguments[r]}var a=null;var i=false;var o=false;var u=[];var s=function(n){for(var t=0;t<n.length;t++){a=n[t];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!c(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?v(null,a):a)}o=i}}};s(t);var l=v(e,null);l.$attrs$=n;if(u.length>0){l.$children$=u}return l}));var v=function(e,n){var t={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return t};var d=e("H",{});var h=function(e){return e&&e.$tag$===d};var p=e("g",(function(e){return V(e).$hostElement$}));var m=function(e,n,t){var r=ne.ce(n,t);e.dispatchEvent(r);return r};var g=new WeakMap;var y=function(e,n,t){var r=Y.get(e);if(re&&t){r=r||new CSSStyleSheet;if(typeof r==="string"){r=n}else{r.replaceSync(n)}}else{r=n}Y.set(e,r)};var w=function(e,n,t,r){var a=_(n);var i=Y.get(a);e=e.nodeType===11?e:ee;if(i){if(typeof i==="string"){e=e.head||e;var o=g.get(e);var u=void 0;if(!o){g.set(e,o=new Set)}if(!o.has(a)){{{u=ee.createElement("style");u.innerHTML=i}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var b=function(e){var n=e.$cmpMeta$;var t=e.$hostElement$;var r=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=w(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);if(r&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var _=function(e,n){return"sc-"+e.$tagName$};var S=function(e,n,t,r){var i=n.$children$[t];var o=0;var u;var s;{u=i.$elm$=ee.createElement(i.$tag$);if(f(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){s=S(e,i,o);if(s){u.appendChild(s)}}}}return u};var R=function(e,n,t,r,a,o){var u=e;var s;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(r[a]){s=S(null,t,a);if(s){r[a].$elm$=s;u.insertBefore(s,n)}}}};var L=function(e,n){var t=n.$elm$=e.$elm$;var r=n.$children$;{if(r!==null){R(t,null,n,r,0,r.length-1)}else;}};var E=function(e,n){var t=e.$hostElement$;var r=e.$vnode$||v(null,null);var o=h(n)?n:$(null,null,n);i=t.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=r.$elm$=t.shadowRoot||t;{a=t["s-sc"]}L(r,o)};var x=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var N=function(e,n){if(e.$flags$&4){e.$flags$|=512;return}x(e,e.$ancestorComponent$);var t=function(){return C(e,n)};return fe(t)};var C=function(e,n){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],t=e[1];return P(r,n,t)}));e.$queuedListeners$=null}}{a=P(r,"componentWillLoad")}}t();return q(a,(function(){return M(e,r,n)}))};var M=function(e,n,r){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,s,l;return __generator(this,(function(f){t=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(r){b(e)}o=u("render",e.$cmpMeta$.$tagName$);{k(e,n)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}o();a();{s=t["s-p"];l=function(){return j(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var k=function(e,n,t){try{n=n.render();{e.$flags$|=2}{{{E(e,n)}}}}catch(n){K(n,e.$hostElement$)}return null};var j=function(e){var n=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var r=u("postUpdate",n);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{O(t)}r();{e.$onReadyResolve$(t);if(!a){A()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){le((function(){return N(e,false)}))}e.$flags$&=~(4|512)}};var A=function(e){{O(ee.documentElement)}le((function(){return m(Z,"appload",{detail:{namespace:r}})}))};var P=function(e,n,t){if(e&&e[n]){try{return e[n](t)}catch(e){K(e)}}return undefined};var q=function(e,n){return e&&e.then?e.then(n):n()};var O=function(e){return e.classList.add("hydrated")};var T=function(e,n,t){if(n.$members$){var r=Object.entries(n.$members$);r.map((function(e){var n=e[0],t=e[1][0]}))}return e};var I=function(e,n,r,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=X(r);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){T(i,r);i.isProxied=true}t=u("createInstance",r.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){K(e)}{n.$flags$&=~8}t();if(i.style){a=i.style;o=_(r);if(!Y.has(o)){l=u("registerStyles",r.$tagName$);y(o,a,!!(r.$flags$&1));l()}}$.label=3;case 3:f=n.$ancestorComponent$;c=function(){return N(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var U=function(e){if((ne.$flags$&1)===0){var n=V(e);var t=n.$cmpMeta$;var r=u("connectedCallback",t.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){x(n,n.$ancestorComponent$=a);break}}}{I(e,n,t)}}else{H(e,n,t.$listeners$)}r()}};var z=function(e){if((ne.$flags$&1)===0){var n=V(e);{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}}};var B=e("b",(function(e,n){if(n===void 0){n={}}var t=u();var r=[];var a=n.exclude||[];var i=Z.customElements;var o=ee.head;var s=o.querySelector("meta[charset]");var f=ee.createElement("style");var c=[];var $;var v=true;Object.assign(ne,n);ne.$resourcesUrl$=new URL(n.resourcesUrl||"./",ee.baseURI).href;e.map((function(e){e[1].map((function(n){var t={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{t.$members$=n[2]}{t.$listeners$=n[3]}var o=t.$tagName$;var u=function(e){__extends(n,e);function n(n){var r=e.call(this,n)||this;n=r;J(n,t);if(t.$flags$&1){{{n.attachShadow({mode:"open"})}}}return r}n.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(v){c.push(this)}else{ne.jmp((function(){return U(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;ne.jmp((function(){return z(e)}))};n.prototype.componentOnReady=function(){return V(this).$onReadyPromise$};return n}(HTMLElement);t.$lazyBundleId$=e[0];if(!a.includes(o)&&!i.get(o)){r.push(o);i.define(o,T(u,t))}}))}));{f.innerHTML=r+l;f.setAttribute("data-styles","");o.insertBefore(f,s?s.nextSibling:o.firstChild)}v=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{ne.jmp((function(){return $=setTimeout(A,30)}))}}t()}));var H=function(e,n,t,r){if(t){t.map((function(t){var r=t[0],a=t[1],i=t[2];var o=e;var u=W(n,i);var s=F(r);ne.ael(o,a,u,s);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return ne.rel(o,a,u,s)}))}))}};var W=function(e,n){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[n](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,t])}}}catch(e){K(e)}}};var F=function(e){return(e&2)!==0};var G=new WeakMap;var V=function(e){return G.get(e)};var D=e("r",(function(e,n){return G.set(n.$lazyInstance$=e,n)}));var J=function(e,n){var t={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}H(e,t,n.$listeners$);return G.set(e,t)};var K=function(e,n){return(0,console.error)(e,n)};var Q=new Map;var X=function(e,t,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=Q.get(i);if(o){return o[a]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{Q.set(i,e)}return e[a]}),K)};var Y=new Map;var Z=typeof window!=="undefined"?window:{};var ee=Z.document||{head:{}};var ne={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,t,r){return e.addEventListener(n,t,r)},rel:function(e,n,t,r){return e.removeEventListener(n,t,r)},ce:function(e,n){return new CustomEvent(e,n)}};var te=e("p",(function(e){return Promise.resolve(e)}));var re=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ae=[];var ie=[];var oe=function(e,n){return function(t){e.push(t);if(!o){o=true;if(n&&ne.$flags$&4){le(se)}else{ne.raf(se)}}}};var ue=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){K(e)}}e.length=0};var se=function(){ue(ae);{ue(ie);if(o=ae.length>0){ne.raf(se)}}};var le=function(e){return te().then(e)};var fe=oe(ie,true)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-590a105d.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(e){n=e.p;r=e.b}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-2b9bdf41.system",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)}))}}}));
|
package/www/build/p-034fd2fd.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,t,n=!1;const l=e=>"object"==(e=typeof e)||"function"===e,s=(e,t,...n)=>{let s=null,r=!1,c=!1;const a=[],i=t=>{for(let n=0;n<t.length;n++)s=t[n],Array.isArray(s)?i(s):null!=s&&"boolean"!=typeof s&&((r="function"!=typeof e&&!l(s))&&(s+=""),r&&c?a[a.length-1].t+=s:a.push(r?o(null,s):s),c=r)};i(n);const u=o(e,null);return u.l=t,a.length>0&&(u.o=a),u},o=(e,t)=>({i:0,u:e,t,$:null,o:null}),r={},c=e=>x(e).m,a=new WeakMap,i=e=>"sc-"+e.p,u=(t,n,l)=>{const s=n.o[l];let o,r,c=0;if(o=s.$=R.createElement(s.u),null!=e&&o["s-si"]!==e&&o.classList.add(o["s-si"]=e),s.o)for(c=0;c<s.o.length;++c)r=u(t,s,c),r&&o.appendChild(r);return o},f=(n,l)=>{const c=n.m,a=n.h||o(null,null),i=(e=>e&&e.u===r)(l)?l:s(null,null,l);t=c.tagName,i.u=null,i.i|=4,n.h=i,i.$=a.$=c.shadowRoot||c,e=c["s-sc"],((e,n)=>{const l=n.$=e.$,s=n.o;null!==s&&((e,n,l,s,o,r)=>{let c,a=e;for(a.shadowRoot&&a.tagName===t&&(a=a.shadowRoot);o<=r;++o)s[o]&&(c=u(null,l,o),c&&(s[o].$=c,a.insertBefore(c,null)))})(l,0,n,s,0,s.length-1)})(a,i)},$=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},y=(e,t)=>{if(!(4&e.i))return $(e,e.g),G((()=>d(e,t)));e.i|=512},d=(e,t)=>{const n=e.M;let l;return t&&(e.i|=256,e.k&&(e.k.map((([e,t])=>S(n,e,t))),e.k=null),l=S(n,"componentWillLoad")),b(l,(()=>m(e,n,t)))},m=async(e,t,n)=>{const l=e.m,s=l["s-rc"];n&&(e=>{const t=e.v,n=e.m,l=t.i,s=((e,t)=>{let n=i(t);const l=A.get(n);if(e=11===e.nodeType?e:R,l)if("string"==typeof l){let t,s=a.get(e=e.head||e);s||a.set(e,s=new Set),s.has(n)||(t=R.createElement("style"),t.innerHTML=l,e.insertBefore(t,e.querySelector("link")),s&&s.add(n))}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);p(e,t),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=l["s-p"],n=()=>h(e);0===t.length?n():(Promise.all(t).then(n),e.i|=4,t.length=0)}},p=(e,t)=>{try{t=t.render(),e.i|=2,f(e,t)}catch(t){O(t,e.m)}return null},h=e=>{const t=e.m,n=e.g;64&e.i||(e.i|=64,g(t),e.C(t),n||w()),e.S&&(e.S(),e.S=void 0),512&e.i&&D((()=>y(e,!1))),e.i&=-517},w=()=>{g(R.documentElement),D((()=>(e=>{const t=U.ce("appload",{detail:{namespace:"mds-tab"}});return e.dispatchEvent(t),t})(H)))},S=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){O(e)}},b=(e,t)=>e&&e.then?e.then(t):t(),g=e=>e.classList.add("hydrated"),M=(e,t)=>(t.j&&Object.entries(t.j).map((([e,[t]])=>{})),e),k=(e,t={})=>{const n=[],l=t.exclude||[],s=H.customElements,o=R.head,r=o.querySelector("meta[charset]"),c=R.createElement("style"),a=[];let u,f=!0;Object.assign(U,t),U.P=new URL(t.resourcesUrl||"./",R.baseURI).href,e.map((e=>{e[1].map((t=>{const o={i:t[0],p:t[1],j:t[2],L:t[3]};o.j=t[2],o.L=t[3];const r=o.p,c=class extends HTMLElement{constructor(e){super(e),L(e=this,o),1&o.i&&e.attachShadow({mode:"open"})}connectedCallback(){u&&(clearTimeout(u),u=null),f?a.push(this):U.jmp((()=>(e=>{if(0==(1&U.i)){const t=x(e),n=t.v,l=()=>{};if(1&t.i)v(e,t,n.L);else{t.i|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){$(t,t.g=n);break}}(async(e,t,n,l,s)=>{if(0==(32&t.i)){{if(t.i|=32,(s=W(n)).then){const e=()=>{};s=await s,e()}s.isProxied||(M(s,n),s.isProxied=!0);const e=()=>{};t.i|=8;try{new s(t)}catch(e){O(e)}t.i&=-9,e()}if(s.style){let e=s.style;const t=i(n);if(!A.has(t)){const l=()=>{};((e,t,n)=>{let l=A.get(e);F&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,A.set(e,l)})(t,e,!!(1&n.i)),l()}}}const o=t.g,r=()=>y(t,!0);o&&o["s-rc"]?o["s-rc"].push(r):r()})(0,t,n)}l()}})(this)))}disconnectedCallback(){U.jmp((()=>(()=>{if(0==(1&U.i)){const e=x(this);e.O&&(e.O.map((e=>e())),e.O=void 0)}})()))}componentOnReady(){return x(this).T}};o.W=e[0],l.includes(r)||s.get(r)||(n.push(r),s.define(r,M(c,o)))}))})),c.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",c.setAttribute("data-styles",""),o.insertBefore(c,r?r.nextSibling:o.firstChild),f=!1,a.length?a.map((e=>e.connectedCallback())):U.jmp((()=>u=setTimeout(w,30)))},v=(e,t,n)=>{n&&n.map((([n,l,s])=>{const o=e,r=C(t,s),c=j(n);U.ael(o,l,r,c),(t.O=t.O||[]).push((()=>U.rel(o,l,r,c)))}))},C=(e,t)=>n=>{try{256&e.i?e.M[t](n):(e.k=e.k||[]).push([t,n])}catch(e){O(e)}},j=e=>0!=(2&e),P=new WeakMap,x=e=>P.get(e),E=(e,t)=>P.set(t.M=e,t),L=(e,t)=>{const n={i:0,m:e,v:t,A:new Map};return n.T=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],v(e,n,t.L),P.set(e,n)},O=(e,t)=>(0,console.error)(e,t),T=new Map,W=e=>{const t=e.p.replace(/-/g,"_"),n=e.W,l=T.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(T.set(n,e),e[t])),O)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},A=new Map,H="undefined"!=typeof window?window:{},R=H.document||{head:{}},U={i:0,P:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},q=e=>Promise.resolve(e),F=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),N=[],V=[],_=(e,t)=>l=>{e.push(l),n||(n=!0,t&&4&U.i?D(B):U.raf(B))},z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){O(e)}e.length=0},B=()=>{z(N),z(V),(n=N.length>0)&&U.raf(B)},D=e=>q().then(e),G=_(V,!0);export{r as H,k as b,c as g,s as h,q as p,E as r}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(n,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)if(Object.prototype.hasOwnProperty.call(n,t))e[t]=n[t]};return e(n,t)};return function(n,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,n,t,r){function a(e){return e instanceof t?e:new t((function(n){n(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r["throw"](e))}catch(e){i(e)}}function s(e){e.done?t(e.value):a(e.value).then(o,u)}s((r=r.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,a,i,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return s([e,n])}}function s(o){if(r)throw new TypeError("Generator is already executing.");while(t)try{if(r=1,a&&(i=o[0]&2?a["return"]:o[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,o[1])).done)return i;if(a=0,i)o=[o[0]&2,i.value];switch(o[0]){case 0:case 1:i=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;a=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!i||o[1]>i[0]&&o[1]<i[3])){t.label=o[1];break}if(o[0]===6&&t.label<i[1]){t.label=i[1];i=o;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(o);break}if(i[2])t.ops.pop();t.trys.pop();continue}o=n.call(e,t)}catch(e){o=[6,e];a=0}finally{r=i=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var r=0,a=n.length,i;r<a;r++){if(i||!(r in n)){if(!i)i=Array.prototype.slice.call(n,0,r);i[r]=n[r]}}return e.concat(i||Array.prototype.slice.call(n))};System.register([],(function(e,n){"use strict";return{execute:function(){var t=this;var r="mds-tab";var a;var i;var o=false;var u=function(e,n){if(n===void 0){n=""}{return function(){return}}};var s=function(e,n){{return function(){return}}};var l="{visibility:hidden}.hydrated{visibility:inherit}";var f=function(e){return e!=null};var c=function(e){e=typeof e;return e==="object"||e==="function"};var $=e("h",(function(e,n){var t=[];for(var r=2;r<arguments.length;r++){t[r-2]=arguments[r]}var a=null;var i=false;var o=false;var u=[];var s=function(n){for(var t=0;t<n.length;t++){a=n[t];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!c(a)){a=String(a)}if(i&&o){u[u.length-1].$text$+=a}else{u.push(i?v(null,a):a)}o=i}}};s(t);var l=v(e,null);l.$attrs$=n;if(u.length>0){l.$children$=u}return l}));var v=function(e,n){var t={$flags$:0,$tag$:e,$text$:n,$elm$:null,$children$:null};return t};var d=e("H",{});var h=function(e){return e&&e.$tag$===d};var p=e("g",(function(e){return V(e).$hostElement$}));var m=function(e,n,t){var r=ne.ce(n,t);e.dispatchEvent(r);return r};var g=new WeakMap;var y=function(e,n,t){var r=Y.get(e);if(re&&t){r=r||new CSSStyleSheet;if(typeof r==="string"){r=n}else{r.replaceSync(n)}}else{r=n}Y.set(e,r)};var w=function(e,n,t,r){var a=_(n);var i=Y.get(a);e=e.nodeType===11?e:ee;if(i){if(typeof i==="string"){e=e.head||e;var o=g.get(e);var u=void 0;if(!o){g.set(e,o=new Set)}if(!o.has(a)){{{u=ee.createElement("style");u.innerHTML=i}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var b=function(e){var n=e.$cmpMeta$;var t=e.$hostElement$;var r=n.$flags$;var a=u("attachStyles",n.$tagName$);var i=w(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);if(r&10){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var _=function(e,n){return"sc-"+e.$tagName$};var S=function(e,n,t,r){var i=n.$children$[t];var o=0;var u;var s;{u=i.$elm$=ee.createElement(i.$tag$);if(f(a)&&u["s-si"]!==a){u.classList.add(u["s-si"]=a)}if(i.$children$){for(o=0;o<i.$children$.length;++o){s=S(e,i,o);if(s){u.appendChild(s)}}}}return u};var R=function(e,n,t,r,a,o){var u=e;var s;if(u.shadowRoot&&u.tagName===i){u=u.shadowRoot}for(;a<=o;++a){if(r[a]){s=S(null,t,a);if(s){r[a].$elm$=s;u.insertBefore(s,n)}}}};var L=function(e,n){var t=n.$elm$=e.$elm$;var r=n.$children$;{if(r!==null){R(t,null,n,r,0,r.length-1)}else;}};var E=function(e,n){var t=e.$hostElement$;var r=e.$vnode$||v(null,null);var o=h(n)?n:$(null,null,n);i=t.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=r.$elm$=t.shadowRoot||t;{a=t["s-sc"]}L(r,o)};var x=function(e,n){if(n&&!e.$onRenderResolve$&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.$onRenderResolve$=n})))}};var N=function(e,n){if(e.$flags$&4){e.$flags$|=512;return}x(e,e.$ancestorComponent$);var t=function(){return C(e,n)};return fe(t)};var C=function(e,n){var t=u("scheduleUpdate",e.$cmpMeta$.$tagName$);var r=e.$lazyInstance$;var a;if(n){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var n=e[0],t=e[1];return P(r,n,t)}));e.$queuedListeners$=null}}{a=P(r,"componentWillLoad")}}t();return q(a,(function(){return M(e,r,n)}))};var M=function(e,n,r){return __awaiter(t,void 0,void 0,(function(){var t,a,i,o,s,l;return __generator(this,(function(f){t=e.$hostElement$;a=u("update",e.$cmpMeta$.$tagName$);i=t["s-rc"];if(r){b(e)}o=u("render",e.$cmpMeta$.$tagName$);{k(e,n)}if(i){i.map((function(e){return e()}));t["s-rc"]=undefined}o();a();{s=t["s-p"];l=function(){return j(e)};if(s.length===0){l()}else{Promise.all(s).then(l);e.$flags$|=4;s.length=0}}return[2]}))}))};var k=function(e,n,t){try{n=n.render();{e.$flags$|=2}{{{E(e,n)}}}}catch(n){K(n,e.$hostElement$)}return null};var j=function(e){var n=e.$cmpMeta$.$tagName$;var t=e.$hostElement$;var r=u("postUpdate",n);var a=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{O(t)}r();{e.$onReadyResolve$(t);if(!a){A()}}}else{r()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){le((function(){return N(e,false)}))}e.$flags$&=~(4|512)}};var A=function(e){{O(ee.documentElement)}le((function(){return m(Z,"appload",{detail:{namespace:r}})}))};var P=function(e,n,t){if(e&&e[n]){try{return e[n](t)}catch(e){K(e)}}return undefined};var q=function(e,n){return e&&e.then?e.then(n):n()};var O=function(e){return e.classList.add("hydrated")};var T=function(e,n,t){if(n.$members$){var r=Object.entries(n.$members$);r.map((function(e){var n=e[0],t=e[1][0]}))}return e};var I=function(e,n,r,a,i){return __awaiter(t,void 0,void 0,(function(){var e,t,a,o,l,f,c;return __generator(this,(function($){switch($.label){case 0:if(!((n.$flags$&32)===0))return[3,3];n.$flags$|=32;i=X(r);if(!i.then)return[3,2];e=s();return[4,i];case 1:i=$.sent();e();$.label=2;case 2:if(!i.isProxied){T(i,r);i.isProxied=true}t=u("createInstance",r.$tagName$);{n.$flags$|=8}try{new i(n)}catch(e){K(e)}{n.$flags$&=~8}t();if(i.style){a=i.style;o=_(r);if(!Y.has(o)){l=u("registerStyles",r.$tagName$);y(o,a,!!(r.$flags$&1));l()}}$.label=3;case 3:f=n.$ancestorComponent$;c=function(){return N(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(c)}else{c()}return[2]}}))}))};var U=function(e){if((ne.$flags$&1)===0){var n=V(e);var t=n.$cmpMeta$;var r=u("connectedCallback",t.$tagName$);if(!(n.$flags$&1)){n.$flags$|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){x(n,n.$ancestorComponent$=a);break}}}{I(e,n,t)}}else{H(e,n,t.$listeners$)}r()}};var z=function(e){if((ne.$flags$&1)===0){var n=V(e);{if(n.$rmListeners$){n.$rmListeners$.map((function(e){return e()}));n.$rmListeners$=undefined}}}};var B=e("b",(function(e,n){if(n===void 0){n={}}var t=u();var r=[];var a=n.exclude||[];var i=Z.customElements;var o=ee.head;var s=o.querySelector("meta[charset]");var f=ee.createElement("style");var c=[];var $;var v=true;Object.assign(ne,n);ne.$resourcesUrl$=new URL(n.resourcesUrl||"./",ee.baseURI).href;e.map((function(e){e[1].map((function(n){var t={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};{t.$members$=n[2]}{t.$listeners$=n[3]}var o=t.$tagName$;var u=function(e){__extends(n,e);function n(n){var r=e.call(this,n)||this;n=r;J(n,t);if(t.$flags$&1){{{n.attachShadow({mode:"open"})}}}return r}n.prototype.connectedCallback=function(){var e=this;if($){clearTimeout($);$=null}if(v){c.push(this)}else{ne.jmp((function(){return U(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;ne.jmp((function(){return z(e)}))};n.prototype.componentOnReady=function(){return V(this).$onReadyPromise$};return n}(HTMLElement);t.$lazyBundleId$=e[0];if(!a.includes(o)&&!i.get(o)){r.push(o);i.define(o,T(u,t))}}))}));{f.innerHTML=r+l;f.setAttribute("data-styles","");o.insertBefore(f,s?s.nextSibling:o.firstChild)}v=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{ne.jmp((function(){return $=setTimeout(A,30)}))}}t()}));var H=function(e,n,t,r){if(t){t.map((function(t){var r=t[0],a=t[1],i=t[2];var o=e;var u=W(n,i);var s=F(r);ne.ael(o,a,u,s);(n.$rmListeners$=n.$rmListeners$||[]).push((function(){return ne.rel(o,a,u,s)}))}))}};var W=function(e,n){return function(t){try{{if(e.$flags$&256){e.$lazyInstance$[n](t)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([n,t])}}}catch(e){K(e)}}};var F=function(e){return(e&2)!==0};var G=new WeakMap;var V=function(e){return G.get(e)};var D=e("r",(function(e,n){return G.set(n.$lazyInstance$=e,n)}));var J=function(e,n){var t={$flags$:0,$hostElement$:e,$cmpMeta$:n,$instanceValues$:new Map};{t.$onReadyPromise$=new Promise((function(e){return t.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}H(e,t,n.$listeners$);return G.set(e,t)};var K=function(e,n){return(0,console.error)(e,n)};var Q=new Map;var X=function(e,t,r){var a=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;var o=Q.get(i);if(o){return o[a]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(i,".entry.js").concat("")).then((function(e){{Q.set(i,e)}return e[a]}),K)};var Y=new Map;var Z=typeof window!=="undefined"?window:{};var ee=Z.document||{head:{}};var ne={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,t,r){return e.addEventListener(n,t,r)},rel:function(e,n,t,r){return e.removeEventListener(n,t,r)},ce:function(e,n){return new CustomEvent(e,n)}};var te=e("p",(function(e){return Promise.resolve(e)}));var re=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var ae=[];var ie=[];var oe=function(e,n){return function(t){e.push(t);if(!o){o=true;if(n&&ne.$flags$&4){le(se)}else{ne.raf(se)}}}};var ue=function(e){for(var n=0;n<e.length;n++){try{e[n](performance.now())}catch(e){K(e)}}e.length=0};var se=function(){ue(ae);{ue(ie);if(o=ae.length>0){ne.raf(se)}}};var le=function(e){return te().then(e)};var fe=oe(ie,true)}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-590a105d.system.js"],(function(e,t){"use strict";var n,r;return{setters:[function(e){n=e.p;r=e.b}],execute:function(){var e=function(){var e=t.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return n(r)};e().then((function(e){return r([["p-2b9bdf41.system",[[1,"mds-tab",null,[[0,"selectedEvent","changeEventHandler"]]]]]],e)}))}}}));
|