@maggioli-design-system/mds-paginator-item 2.7.2 → 2.7.3
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-ed979b3c.js → index-96b46685.js} +22 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
- package/dist/cjs/mds-paginator-item.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +0 -3
- package/dist/components/mds-paginator-item.js +1 -1
- package/dist/documentation.d.ts +1 -21
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-5129d91c.js → index-d5935a07.js} +22 -14
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-paginator-item.entry.js +2 -2
- package/dist/esm/mds-paginator-item.js +3 -3
- package/dist/esm-es5/index-d5935a07.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
- package/dist/esm-es5/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -1
- package/dist/mds-paginator-item/mds-paginator-item.js +1 -1
- package/dist/mds-paginator-item/p-703ec1c4.system.js +2 -0
- package/dist/mds-paginator-item/p-9448defc.system.entry.js +1 -0
- package/dist/mds-paginator-item/{p-23544ebe.system.js → p-c45df86b.system.js} +1 -1
- package/dist/mds-paginator-item/p-e3623d7a.entry.js +1 -0
- package/dist/mds-paginator-item/p-e9044500.js +2 -0
- package/dist/stats.json +36 -33
- package/documentation.json +2 -2
- package/package.json +3 -3
- package/www/build/mds-paginator-item.esm.js +1 -1
- package/www/build/mds-paginator-item.js +1 -1
- package/www/build/p-703ec1c4.system.js +2 -0
- package/www/build/p-9448defc.system.entry.js +1 -0
- package/www/build/{p-23544ebe.system.js → p-c45df86b.system.js} +1 -1
- package/www/build/p-e3623d7a.entry.js +1 -0
- package/www/build/p-e9044500.js +2 -0
- package/dist/esm-es5/index-5129d91c.js +0 -1
- package/dist/mds-paginator-item/p-0a3732e2.system.js +0 -2
- package/dist/mds-paginator-item/p-29f0c3bc.system.entry.js +0 -1
- package/dist/mds-paginator-item/p-51824862.js +0 -2
- package/dist/mds-paginator-item/p-6e7056ff.entry.js +0 -1
- package/www/build/p-0a3732e2.system.js +0 -2
- package/www/build/p-29f0c3bc.system.entry.js +0 -1
- package/www/build/p-51824862.js +0 -2
- package/www/build/p-6e7056ff.entry.js +0 -1
|
@@ -459,6 +459,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
+
// This needs to always happen so we can hide nodes that are projected
|
|
463
|
+
// to another component but don't end up in a slot
|
|
464
|
+
elm['s-hn'] = hostTagName;
|
|
462
465
|
return elm;
|
|
463
466
|
};
|
|
464
467
|
/**
|
|
@@ -582,8 +585,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
582
585
|
* @param oldCh the old children of the parent node
|
|
583
586
|
* @param newVNode the new VNode which will replace the parent
|
|
584
587
|
* @param newCh the new children of the parent node
|
|
588
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
585
589
|
*/
|
|
586
|
-
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
590
|
+
const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
|
|
587
591
|
let oldStartIdx = 0;
|
|
588
592
|
let newStartIdx = 0;
|
|
589
593
|
let oldEndIdx = oldCh.length - 1;
|
|
@@ -607,25 +611,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
607
611
|
else if (newEndVnode == null) {
|
|
608
612
|
newEndVnode = newCh[--newEndIdx];
|
|
609
613
|
}
|
|
610
|
-
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
614
|
+
else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
611
615
|
// if the start nodes are the same then we should patch the new VNode
|
|
612
616
|
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
613
617
|
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
614
618
|
// since things are matched up in order.
|
|
615
|
-
patch(oldStartVnode, newStartVnode);
|
|
619
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
616
620
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
617
621
|
newStartVnode = newCh[++newStartIdx];
|
|
618
622
|
}
|
|
619
|
-
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
623
|
+
else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
620
624
|
// likewise, if the end nodes are the same we patch new onto old and
|
|
621
625
|
// decrement our end indices, and also likewise in this case we don't
|
|
622
626
|
// need to move any DOM Nodes.
|
|
623
|
-
patch(oldEndVnode, newEndVnode);
|
|
627
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
624
628
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
625
629
|
newEndVnode = newCh[--newEndIdx];
|
|
626
630
|
}
|
|
627
|
-
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
628
|
-
patch(oldStartVnode, newEndVnode);
|
|
631
|
+
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
632
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
629
633
|
// We need to move the element for `oldStartVnode` into a position which
|
|
630
634
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
631
635
|
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
@@ -647,8 +651,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
647
651
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
648
652
|
newEndVnode = newCh[--newEndIdx];
|
|
649
653
|
}
|
|
650
|
-
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
651
|
-
patch(oldEndVnode, newStartVnode);
|
|
654
|
+
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
655
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
652
656
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
653
657
|
// the same node, so since we're here we know that they are not. Thus we
|
|
654
658
|
// can move the element for `oldEndVnode` _before_ the element for
|
|
@@ -702,9 +706,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
702
706
|
*
|
|
703
707
|
* @param leftVNode the first VNode to check
|
|
704
708
|
* @param rightVNode the second VNode to check
|
|
709
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
705
710
|
* @returns whether they're equal or not
|
|
706
711
|
*/
|
|
707
|
-
const isSameVnode = (leftVNode, rightVNode) => {
|
|
712
|
+
const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
708
713
|
// compare if two vnode to see if they're "technically" the same
|
|
709
714
|
// need to have the same element tag, and same key to be the same
|
|
710
715
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
@@ -719,8 +724,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
|
|
|
719
724
|
*
|
|
720
725
|
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
721
726
|
* @param newVNode a new VNode representing an updated version of the old one
|
|
727
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
722
728
|
*/
|
|
723
|
-
const patch = (oldVNode, newVNode) => {
|
|
729
|
+
const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
724
730
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
725
731
|
const oldChildren = oldVNode.$children$;
|
|
726
732
|
const newChildren = newVNode.$children$;
|
|
@@ -740,7 +746,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
740
746
|
if (oldChildren !== null && newChildren !== null) {
|
|
741
747
|
// looks like there's child vnodes for both the old and new vnodes
|
|
742
748
|
// so we need to call `updateChildren` to reconcile them
|
|
743
|
-
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
749
|
+
updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
|
|
744
750
|
}
|
|
745
751
|
else if (newChildren !== null) {
|
|
746
752
|
// no old child vnodes, but there are new child vnodes to add
|
|
@@ -819,7 +825,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
819
825
|
scopeId = hostElm['s-sc'];
|
|
820
826
|
}
|
|
821
827
|
// synchronous patch
|
|
822
|
-
patch(oldVNode, rootVnode);
|
|
828
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
823
829
|
};
|
|
824
830
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
825
831
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
@@ -1426,12 +1432,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1426
1432
|
// If we have styles, add them to the DOM
|
|
1427
1433
|
if (dataStyles.innerHTML.length) {
|
|
1428
1434
|
dataStyles.setAttribute('data-styles', '');
|
|
1429
|
-
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1430
1435
|
// Apply CSP nonce to the style tag if it exists
|
|
1431
1436
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1432
1437
|
if (nonce != null) {
|
|
1433
1438
|
dataStyles.setAttribute('nonce', nonce);
|
|
1434
1439
|
}
|
|
1440
|
+
// Insert the styles into the document head
|
|
1441
|
+
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1442
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1435
1443
|
}
|
|
1436
1444
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1437
1445
|
isBootstrapping = false;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -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-96b46685.js');
|
|
6
6
|
|
|
7
7
|
const defineCustomElements = (win, options) => {
|
|
8
8
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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-96b46685.js');
|
|
6
6
|
|
|
7
7
|
class KeyboardManager {
|
|
8
8
|
constructor() {
|
|
@@ -45,7 +45,7 @@ class KeyboardManager {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.
|
|
48
|
+
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .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-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-paginator-item-color);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:var(--mds-paginator-item-size);-ms-flex-pack:center;justify-content:center;min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0rem}:host([selected]){background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled);pointer-events:none}.icon{padding-left:0rem;padding-right:0rem}";
|
|
49
49
|
|
|
50
50
|
const MdsPaginatorItem = class {
|
|
51
51
|
constructor(hostRef) {
|
|
@@ -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-96b46685.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.9.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-paginator-item.cjs.js', document.baseURI).href));
|
|
@@ -18,9 +18,6 @@
|
|
|
18
18
|
.border {
|
|
19
19
|
border-width: 1px;
|
|
20
20
|
}
|
|
21
|
-
.text {
|
|
22
|
-
font-size: 1rem;
|
|
23
|
-
}
|
|
24
21
|
.shadow {
|
|
25
22
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
26
23
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -41,7 +41,7 @@ class KeyboardManager {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.
|
|
44
|
+
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .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-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-paginator-item-color);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:var(--mds-paginator-item-size);-ms-flex-pack:center;justify-content:center;min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0rem}:host([selected]){background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled);pointer-events:none}.icon{padding-left:0rem;padding-right:0rem}";
|
|
45
45
|
|
|
46
46
|
const MdsPaginatorItem$1 = /*@__PURE__*/ proxyCustomElement(class MdsPaginatorItem extends HTMLElement {
|
|
47
47
|
constructor() {
|
package/dist/documentation.d.ts
CHANGED
|
@@ -60,30 +60,10 @@ interface ComponentCompilerEventComplexType {
|
|
|
60
60
|
}
|
|
61
61
|
interface ComponentCompilerMethodComplexType {
|
|
62
62
|
signature: string;
|
|
63
|
-
parameters:
|
|
63
|
+
parameters: JsonDocMethodParameter[];
|
|
64
64
|
references: ComponentCompilerTypeReferences;
|
|
65
65
|
return: string;
|
|
66
66
|
}
|
|
67
|
-
interface CompilerJsDoc {
|
|
68
|
-
/**
|
|
69
|
-
* The text associated with the JSDoc
|
|
70
|
-
*/
|
|
71
|
-
text: string;
|
|
72
|
-
/**
|
|
73
|
-
* Tags included in the JSDoc
|
|
74
|
-
*/
|
|
75
|
-
tags: CompilerJsDocTagInfo[];
|
|
76
|
-
}
|
|
77
|
-
interface CompilerJsDocTagInfo {
|
|
78
|
-
/**
|
|
79
|
-
* The name of the tag - e.g. `@deprecated`
|
|
80
|
-
*/
|
|
81
|
-
name: string;
|
|
82
|
-
/**
|
|
83
|
-
* Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
|
|
84
|
-
*/
|
|
85
|
-
text?: string;
|
|
86
|
-
}
|
|
87
67
|
/**
|
|
88
68
|
* The Type Library holds information about the types which are used in a
|
|
89
69
|
* Stencil project. During compilation, Stencil gathers information about the
|
package/dist/documentation.json
CHANGED
|
@@ -437,6 +437,9 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
+
// This needs to always happen so we can hide nodes that are projected
|
|
441
|
+
// to another component but don't end up in a slot
|
|
442
|
+
elm['s-hn'] = hostTagName;
|
|
440
443
|
return elm;
|
|
441
444
|
};
|
|
442
445
|
/**
|
|
@@ -560,8 +563,9 @@ const removeVnodes = (vnodes, startIdx, endIdx) => {
|
|
|
560
563
|
* @param oldCh the old children of the parent node
|
|
561
564
|
* @param newVNode the new VNode which will replace the parent
|
|
562
565
|
* @param newCh the new children of the parent node
|
|
566
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
563
567
|
*/
|
|
564
|
-
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
568
|
+
const updateChildren = (parentElm, oldCh, newVNode, newCh, isInitialRender = false) => {
|
|
565
569
|
let oldStartIdx = 0;
|
|
566
570
|
let newStartIdx = 0;
|
|
567
571
|
let oldEndIdx = oldCh.length - 1;
|
|
@@ -585,25 +589,25 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
585
589
|
else if (newEndVnode == null) {
|
|
586
590
|
newEndVnode = newCh[--newEndIdx];
|
|
587
591
|
}
|
|
588
|
-
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
592
|
+
else if (isSameVnode(oldStartVnode, newStartVnode, isInitialRender)) {
|
|
589
593
|
// if the start nodes are the same then we should patch the new VNode
|
|
590
594
|
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
591
595
|
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
592
596
|
// since things are matched up in order.
|
|
593
|
-
patch(oldStartVnode, newStartVnode);
|
|
597
|
+
patch(oldStartVnode, newStartVnode, isInitialRender);
|
|
594
598
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
595
599
|
newStartVnode = newCh[++newStartIdx];
|
|
596
600
|
}
|
|
597
|
-
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
601
|
+
else if (isSameVnode(oldEndVnode, newEndVnode, isInitialRender)) {
|
|
598
602
|
// likewise, if the end nodes are the same we patch new onto old and
|
|
599
603
|
// decrement our end indices, and also likewise in this case we don't
|
|
600
604
|
// need to move any DOM Nodes.
|
|
601
|
-
patch(oldEndVnode, newEndVnode);
|
|
605
|
+
patch(oldEndVnode, newEndVnode, isInitialRender);
|
|
602
606
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
603
607
|
newEndVnode = newCh[--newEndIdx];
|
|
604
608
|
}
|
|
605
|
-
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
606
|
-
patch(oldStartVnode, newEndVnode);
|
|
609
|
+
else if (isSameVnode(oldStartVnode, newEndVnode, isInitialRender)) {
|
|
610
|
+
patch(oldStartVnode, newEndVnode, isInitialRender);
|
|
607
611
|
// We need to move the element for `oldStartVnode` into a position which
|
|
608
612
|
// will be appropriate for `newEndVnode`. For this we can use
|
|
609
613
|
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
@@ -625,8 +629,8 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
625
629
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
626
630
|
newEndVnode = newCh[--newEndIdx];
|
|
627
631
|
}
|
|
628
|
-
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
629
|
-
patch(oldEndVnode, newStartVnode);
|
|
632
|
+
else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
|
|
633
|
+
patch(oldEndVnode, newStartVnode, isInitialRender);
|
|
630
634
|
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
631
635
|
// the same node, so since we're here we know that they are not. Thus we
|
|
632
636
|
// can move the element for `oldEndVnode` _before_ the element for
|
|
@@ -680,9 +684,10 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
680
684
|
*
|
|
681
685
|
* @param leftVNode the first VNode to check
|
|
682
686
|
* @param rightVNode the second VNode to check
|
|
687
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
683
688
|
* @returns whether they're equal or not
|
|
684
689
|
*/
|
|
685
|
-
const isSameVnode = (leftVNode, rightVNode) => {
|
|
690
|
+
const isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
686
691
|
// compare if two vnode to see if they're "technically" the same
|
|
687
692
|
// need to have the same element tag, and same key to be the same
|
|
688
693
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
@@ -697,8 +702,9 @@ const isSameVnode = (leftVNode, rightVNode) => {
|
|
|
697
702
|
*
|
|
698
703
|
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
699
704
|
* @param newVNode a new VNode representing an updated version of the old one
|
|
705
|
+
* @param isInitialRender whether or not this is the first render of the vdom
|
|
700
706
|
*/
|
|
701
|
-
const patch = (oldVNode, newVNode) => {
|
|
707
|
+
const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
702
708
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
703
709
|
const oldChildren = oldVNode.$children$;
|
|
704
710
|
const newChildren = newVNode.$children$;
|
|
@@ -718,7 +724,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
718
724
|
if (oldChildren !== null && newChildren !== null) {
|
|
719
725
|
// looks like there's child vnodes for both the old and new vnodes
|
|
720
726
|
// so we need to call `updateChildren` to reconcile them
|
|
721
|
-
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
727
|
+
updateChildren(elm, oldChildren, newVNode, newChildren, isInitialRender);
|
|
722
728
|
}
|
|
723
729
|
else if (newChildren !== null) {
|
|
724
730
|
// no old child vnodes, but there are new child vnodes to add
|
|
@@ -797,7 +803,7 @@ const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
797
803
|
scopeId = hostElm['s-sc'];
|
|
798
804
|
}
|
|
799
805
|
// synchronous patch
|
|
800
|
-
patch(oldVNode, rootVnode);
|
|
806
|
+
patch(oldVNode, rootVnode, isInitialLoad);
|
|
801
807
|
};
|
|
802
808
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
803
809
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
@@ -1404,12 +1410,14 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1404
1410
|
// If we have styles, add them to the DOM
|
|
1405
1411
|
if (dataStyles.innerHTML.length) {
|
|
1406
1412
|
dataStyles.setAttribute('data-styles', '');
|
|
1407
|
-
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1408
1413
|
// Apply CSP nonce to the style tag if it exists
|
|
1409
1414
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
1410
1415
|
if (nonce != null) {
|
|
1411
1416
|
dataStyles.setAttribute('nonce', nonce);
|
|
1412
1417
|
}
|
|
1418
|
+
// Insert the styles into the document head
|
|
1419
|
+
// NOTE: this _needs_ to happen last so we can ensure the nonce (and other attributes) are applied
|
|
1420
|
+
head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1413
1421
|
}
|
|
1414
1422
|
// Process deferred connectedCallbacks now all components have been registered
|
|
1415
1423
|
isBootstrapping = false;
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-d5935a07.js';
|
|
2
|
+
export { s as setNonce } from './index-d5935a07.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
|
@@ -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-d5935a07.js';
|
|
2
2
|
|
|
3
3
|
class KeyboardManager {
|
|
4
4
|
constructor() {
|
|
@@ -41,7 +41,7 @@ class KeyboardManager {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .fixed{position:fixed}.absolute{position:absolute}.border{border-width:1px}.
|
|
44
|
+
const mdsPaginatorItemCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .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-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-paginator-item-color);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:var(--mds-paginator-item-size);-ms-flex-pack:center;justify-content:center;min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0rem}:host([selected]){background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled);pointer-events:none}.icon{padding-left:0rem;padding-right:0rem}";
|
|
45
45
|
|
|
46
46
|
const MdsPaginatorItem = class {
|
|
47
47
|
constructor(hostRef) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-d5935a07.js';
|
|
2
|
+
export { s as setNonce } from './index-d5935a07.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.9.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function i(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{s(t.next(e))}catch(e){a(e)}}function u(e){try{s(t["throw"](e))}catch(e){a(e)}}function s(e){e.done?r(e.value):i(e.value).then(o,u)}s((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,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(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];i=0}finally{t=a=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,r){if(r||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return e.concat(a||Array.prototype.slice.call(n))};var NAMESPACE="mds-paginator-item";var scopeId;var hostTagName;var isSvgMode=false;var queuePending=false;var createTime=function(e,n){if(n===void 0){n=""}{return function(){return}}};var uniqueTime=function(e,n){{return function(){return}}};var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var n,r,t;return(t=(r=(n=e.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&t!==void 0?t:undefined}var h=function(e,n){var r=[];for(var t=2;t<arguments.length;t++){r[t-2]=arguments[t]}var i=null;var a=false;var o=false;var u=[];var s=function(n){for(var r=0;r<n.length;r++){i=n[r];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(a&&o){u[u.length-1].t+=i}else{u.push(a?newVNode(null,i):i)}o=a}}};s(r);if(n){{var f=n.className||n.class;if(f){n.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var l=newVNode(e,null);l.i=n;if(u.length>0){l.o=u}return l};var newVNode=function(e,n){var r={u:0,l:e,t:n,v:null,o:null};{r.i=null}return r};var Host={};var isHost=function(e){return e&&e.l===Host};var parsePropertyValue=function(e,n){if(e!=null&&!isComplexType(e)){if(n&4){return e==="false"?false:e===""||!!e}if(n&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var i=getScopeId(n);var a=styles.get(i);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var u=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){{u=doc.createElement("style");u.innerHTML=a;var s=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(s!=null){u.setAttribute("nonce",s)}e.insertBefore(u,e.querySelector("link"))}if(n.u&4){u.innerHTML+=SLOT_FB_CSS}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var n=e.m;var r=e.$hostElement$;var t=n.u;var i=createTime("attachStyles",n.h);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,n){return"sc-"+e.h};var setAccessor=function(e,n,r,t,i,a){if(r!==t){var o=isMemberInElement(e,n);n.toLowerCase();if(n==="class"){var u=e.classList;var s=parseClassList(r);var f=parseClassList(t);u.remove.apply(u,s.filter((function(e){return e&&!f.includes(e)})));u.add.apply(u,f.filter((function(e){return e&&!s.includes(e)})))}else{var l=isComplexType(t);if((o||l&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var c=t==null?"":t;if(n==="list"){o=false}else if(r==null||e[n]!=c){e[n]=c}}else{e[n]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(n)===""){{e.removeAttribute(n)}}}else if((!o||a&4||i)&&!l){t=t===true?"":t;{e.setAttribute(n,t)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,n,r,t){var i=n.v.nodeType===11&&n.v.host?n.v.host:n.v;var a=e&&e.i||EMPTY_OBJ;var o=n.i||EMPTY_OBJ;{for(t in a){if(!(t in o)){setAccessor(i,t,a[t],undefined,r,n.u)}}}for(t in o){setAccessor(i,t,a[t],o[t],r,n.u)}};var createElm=function(e,n,r,t){var i=n.o[r];var a=0;var o;var u;if(i.t!==null){o=i.v=doc.createTextNode(i.t)}else{o=i.v=doc.createElement(i.l);{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(i.o){for(a=0;a<i.o.length;++a){u=createElm(e,i,a);if(u){o.appendChild(u)}}}}o["s-hn"]=hostTagName;return o};var addVnodes=function(e,n,r,t,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=createElm(null,r,i);if(u){t[i].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var i=e[t];if(i){var a=i.v;if(a){a.remove()}}}};var updateChildren=function(e,n,r,t,i){if(i===void 0){i=false}var a=0;var o=0;var u=n.length-1;var s=n[0];var f=n[u];var l=t.length-1;var c=t[0];var v=t[l];var d;while(a<=u&&o<=l){if(s==null){s=n[++a]}else if(f==null){f=n[--u]}else if(c==null){c=t[++o]}else if(v==null){v=t[--l]}else if(isSameVnode(s,c,i)){patch(s,c,i);s=n[++a];c=t[++o]}else if(isSameVnode(f,v,i)){patch(f,v,i);f=n[--u];v=t[--l]}else if(isSameVnode(s,v,i)){patch(s,v,i);e.insertBefore(s.v,f.v.nextSibling);s=n[++a];v=t[--l]}else if(isSameVnode(f,c,i)){patch(f,c,i);e.insertBefore(f.v,s.v);f=n[--u];c=t[++o]}else{{d=createElm(n&&n[o],r,o);c=t[++o]}if(d){{s.v.parentNode.insertBefore(d,s.v)}}}}if(a>u){addVnodes(e,t[l+1]==null?null:t[l+1].v,r,t,o,l)}else if(o>l){removeVnodes(n,a,u)}};var isSameVnode=function(e,n,r){if(r===void 0){r=false}if(e.l===n.l){return true}return false};var patch=function(e,n,r){if(r===void 0){r=false}var t=n.v=e.v;var i=e.o;var a=n.o;var o=n.l;var u=n.t;if(u===null){{if(o==="slot");else{updateElement(e,n,isSvgMode)}}if(i!==null&&a!==null){updateChildren(t,i,n,a,r)}else if(a!==null){if(e.t!==null){t.textContent=""}addVnodes(t,null,n,a,0,a.length-1)}else if(i!==null){removeVnodes(i,0,i.length-1)}}else if(e.t!==u){t.data=u}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var i=e.m;var a=e.S||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(i.T){o.i=o.i||{};i.T.map((function(e){var n=e[0],r=e[1];return o.i[r]=t[n]}))}if(r&&o.i){for(var u=0,s=Object.keys(o.i);u<s.length;u++){var f=s[u];if(t.hasAttribute(f)&&!["key","ref","style","class"].includes(f)){o.i[f]=t[f]}}}o.l=null;o.u|=4;e.S=o;o.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,o,r)};var attachToAncestor=function(e,n){if(n&&!e.C&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.C=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e._);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e.$;var i;r();return enqueue(i,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,i,a,o,u,s,f;return __generator(this,(function(l){i=e.$hostElement$;a=createTime("update",e.m.h);o=i["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=undefined}u();a();{s=(t=i["s-p"])!==null&&t!==void 0?t:[];f=function(){return postUpdateComponent(e)};if(s.length===0){f()}else{Promise.all(s).then(f);e.u|=4;s.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var i=e._;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}t();{e.M(r);if(!i){appDidLoad()}}}else{t()}{if(e.C){e.C();e.C=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).k.get(n)};var setValue=function(e,n,r,t){var i=getHostRef(e);var a=i.k.get(n);var o=i.u;var u=i.$;r=parsePropertyValue(r,t.A[n][0]);var s=Number.isNaN(a)&&Number.isNaN(r);var f=r!==a&&!s;if((!(o&8)||a===undefined)&&f){i.k.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,n,r){var t;var i=e.prototype;if(n.A){var a=Object.entries(n.A);a.map((function(e){var t=e[0],a=e[1][0];if(a&31||r&2&&a&32){Object.defineProperty(i,t,{get:function(){return getValue(this,t)},set:function(e){setValue(this,t,e,n)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;i.attributeChangedCallback=function(e,r,t){var a=this;plt.jmp((function(){var u;var s=o.get(e);if(a.hasOwnProperty(s)){t=a[s];delete a[s]}else if(i.hasOwnProperty(s)&&typeof a[s]==="number"&&a[s]==t){return}else if(s==null){var f=getHostRef(a);var l=f===null||f===void 0?void 0:f.u;if(l&&!(l&8)&&l&128&&t!==r){var c=f.$;var v=(u=n.R)===null||u===void 0?void 0:u[e];v===null||v===void 0?void 0:v.forEach((function(n){if(c[n]!=null){c[n].call(c,t,r,e)}}))}return}a[s]=t===null&&typeof a[s]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.R)!==null&&t!==void 0?t:{}),true),a.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],t=e[1];var i;var a=t[1]||r;o.set(a,r);if(t[0]&512){(i=n.T)===null||i===void 0?void 0:i.push([r,a])}return a})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,a,o,u,s,f;return __generator(this,(function(l){switch(l.label){case 0:if(!((n.u&32)===0))return[3,3];n.u|=32;e=loadModule(r);if(!e.then)return[3,2];t=uniqueTime();return[4,e];case 1:e=l.sent();t();l.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}i=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}i();if(e.style){a=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,a,!!(r.u&1));u()}}l.label=3;case 3:s=n._;f=function(){return scheduleUpdate(n,true)};if(s&&s["s-rc"]){s["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(n,n._=i);break}}}if(r.A){Object.entries(r.A).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,n,r)}}else{if(n===null||n===void 0?void 0:n.$);else if(n===null||n===void 0?void 0:n.H){n.H.then((function(){return fireConnectedCallback()}))}}t()}};var disconnectInstance=function(e){};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var n;return __generator(this,(function(r){if((plt.u&1)===0){n=getHostRef(e);if(n===null||n===void 0?void 0:n.$);else if(n===null||n===void 0?void 0:n.H){n.H.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var i=[];var a=n.exclude||[];var o=win.customElements;var u=doc.head;var s=u.querySelector("meta[charset]");var f=doc.createElement("style");var l=[];var c;var v=true;Object.assign(plt,n);plt.V=new URL(n.resourcesUrl||"./",doc.baseURI).href;var d=false;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],A:n[2],q:n[3]};if(r.u&4){d=true}{r.A=n[2]}{r.T=[]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(c){clearTimeout(c);c=null}if(v){l.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};n.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};n.prototype.componentOnReady=function(){return getHostRef(this).H};return n}(HTMLElement);r.P=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,proxyComponent(u,r,1))}}))}));if(d){f.innerHTML+=SLOT_FB_CSS}{f.innerHTML+=i+HYDRATED_CSS}if(f.innerHTML.length){f.setAttribute("data-styles","");var p=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(p!=null){f.setAttribute("nonce",p)}u.insertBefore(f,s?s.nextSibling:u.firstChild)}v=false;if(l.length){l.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}t()};var setNonce=function(e){return plt.p=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,n){return hostRefs.set(n.$=e,n)};var registerHost=function(e,n){var r={u:0,$hostElement$:e,m:n,k:new Map};{r.H=new Promise((function(e){return r.M=e}));e["s-p"]=[];e["s-rc"]=[]}return hostRefs.set(e,r)};var isMemberInElement=function(e,n){return n in e};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var i=e.P;var a=cmpModules.get(i);if(a){return a[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[t]};switch(i){case"mds-paginator-item":return import("./mds-paginator-item.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[t]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,V:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,n,r,t){return e.addEventListener(n,r,t)},rel:function(e,n,r,t){return e.removeEventListener(n,r,t)},ce:function(e,n){return new CustomEvent(e,n)}};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,n){return function(r){e.push(r);if(!queuePending){queuePending=true;if(n&&plt.u&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var n=0;n<e.length;n++){try{e[n](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{b as bootstrapLazy}from"./index-
|
|
1
|
+
import{b as bootstrapLazy}from"./index-d5935a07.js";export{s as setNonce}from"./index-d5935a07.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-paginator-item",[[1,"mds-paginator-item",{icon:[513],selected:[516],disabled:[516]}]]]],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-d5935a07.js";var KeyboardManager=function(){function o(){var o=this;this.elements=[];this.handleClickBehaviorDispatchEvent=function(o){if(o.code==="Space"||o.code==="Enter"||o.code==="NumpadEnter"){o.target.click()}};this.handleEscapeBehaviorDispatchEvent=function(t){if(t.code==="Escape"&&o.escapeCallback){o.escapeCallback()}};this.addElement=function(t,i){if(i===void 0){i="element"}o.elements[i]=t};this.attachClickBehavior=function(t){if(t===void 0){t="element"}if(o.elements[t]){o.elements[t].addEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.detachClickBehavior=function(t){if(t===void 0){t="element"}if(o.elements[t]){o.elements[t].removeEventListener("keydown",o.handleClickBehaviorDispatchEvent)}};this.attachEscapeBehavior=function(t){o.escapeCallback=t;if(window!==undefined){window.addEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}};this.detachEscapeBehavior=function(){o.escapeCallback=function(){return};if(window!==undefined){window.removeEventListener("keydown",o.handleEscapeBehaviorDispatchEvent.bind(o))}}}return o}();var mdsPaginatorItemCss="@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset)}50%{outline-offset:var(--magma-outline-blur-offset)}}@tailwind components; .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-paginator-item-background-disabled:rgb(var(--tone-neutral-09));--mds-paginator-item-background-hover:rgb(var(--tone-neutral-08));--mds-paginator-item-background-selected:rgb(var(--brand-maggioli-03));--mds-paginator-item-background:transparent;--mds-paginator-item-color-disabled:rgb(var(--tone-neutral-06));--mds-paginator-item-color-hover:rgb(var(--tone-neutral-02));--mds-paginator-item-color-selected:rgb(var(--tone-neutral));--mds-paginator-item-color:rgb(var(--tone-neutral-02));--mds-paginator-item-radius:200px;--mds-paginator-item-shadow-disabled:none;--mds-paginator-item-shadow-hover:none;--mds-paginator-item-shadow-selected:0 0 1px 1px rgb(0 0 0 / 0.06), 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host{padding-left:0.75rem;padding-right:0.75rem;-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-timing-function:cubic-bezier(0, 0, 0.2, 1);-ms-flex-align:center;align-items:center;background-color:var(--mds-paginator-item-background);border-radius:var(--mds-paginator-item-radius);-webkit-box-shadow:var(--mds-paginator-item-shadow);box-shadow:var(--mds-paginator-item-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--mds-paginator-item-color);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;height:var(--mds-paginator-item-size);-ms-flex-pack:center;justify-content:center;min-width:var(--mds-paginator-item-size);-webkit-transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, color, outline, outline-offset, -webkit-box-shadow;transition-property:background-color, box-shadow, color, outline, outline-offset;transition-property:background-color, box-shadow, color, outline, outline-offset, -webkit-box-shadow;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}:host(:hover){background-color:var(--mds-paginator-item-background-hover);-webkit-box-shadow:var(--mds-paginator-item-shadow-hover);box-shadow:var(--mds-paginator-item-shadow-hover);color:var(--mds-paginator-item-color-hover);fill:var(--mds-paginator-item-color-hover)}:host([icon]){padding:0rem}:host([selected]){background-color:var(--mds-paginator-item-background-selected);-webkit-box-shadow:var(--mds-paginator-item-shadow-selected);box-shadow:var(--mds-paginator-item-shadow-selected);color:var(--mds-paginator-item-color-selected);fill:var(--mds-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--mds-paginator-item-background-disabled);-webkit-box-shadow:var(--mds-paginator-item-shadow-disabled);box-shadow:var(--mds-paginator-item-shadow-disabled);color:var(--mds-paginator-item-color-disabled);fill:var(--mds-paginator-item-color-disabled);pointer-events:none}.icon{padding-left:0rem;padding-right:0rem}";var MdsPaginatorItem=function(){function o(o){var t=this;registerInstance(this,o);this.km=new KeyboardManager;this.componentDidLoad=function(){t.km.addElement(t.host);t.km.attachClickBehavior()};this.componentDidUpdate=function(){if(!t.disabled&&!t.selected){t.km.attachClickBehavior();return}t.km.detachClickBehavior()};this.disconnectedCallback=function(){t.km.detachClickBehavior()};this.icon=undefined;this.selected=undefined;this.disabled=undefined}o.prototype.render=function(){return h(Host,{tabindex:"0"},this.icon!==undefined?h("mds-icon",{name:this.icon}):h("mds-text",{class:"text",typography:"detail"},h("slot",null)))};Object.defineProperty(o.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();MdsPaginatorItem.style=mdsPaginatorItemCss;export{MdsPaginatorItem as mds_paginator_item};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-d5935a07.js";export{s as setNonce}from"./index-d5935a07.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-paginator-item",[[1,"mds-paginator-item",{icon:[513],selected:[516],disabled:[516]}]]]],e)}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-
|
|
1
|
+
import{p as e,b as t}from"./p-e9044500.js";export{s as setNonce}from"./p-e9044500.js";(()=>{const s=import.meta.url,t={};return""!==s&&(t.resourcesUrl=new URL(".",s).href),e(t)})().then((e=>t([["p-e3623d7a",[[1,"mds-paginator-item",{icon:[513],selected:[516],disabled:[516]}]]]],e)));
|
|
@@ -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-c45df86b.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,2 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(n,e){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var e in n)if(Object.prototype.hasOwnProperty.call(n,e))r[e]=n[e]};return r(n,e)};return function(n,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(n,e);function t(){this.constructor=n}n.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,n,e,t){function i(r){return r instanceof e?r:new e((function(n){n(r)}))}return new(e||(e=Promise))((function(e,a){function u(r){try{o(t.next(r))}catch(r){a(r)}}function f(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?e(r.value):i(r.value).then(u,f)}o((t=t.apply(r,n||[])).next())}))};var __generator=this&&this.__generator||function(r,n){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(r){return function(n){return o([r,n])}}function o(f){if(t)throw new TypeError("Generator is already executing.");while(u&&(u=0,f[0]&&(e=0)),e)try{if(t=1,i&&(a=f[0]&2?i["return"]:f[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;if(i=0,a)f=[f[0]&2,a.value];switch(f[0]){case 0:case 1:a=f;break;case 4:e.label++;return{value:f[1],done:false};case 5:e.label++;i=f[1];f=[0];continue;case 7:f=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){e=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){e.label=f[1];break}if(f[0]===6&&e.label<a[1]){e.label=a[1];a=f;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(f);break}if(a[2])e.ops.pop();e.trys.pop();continue}f=n.call(r,e)}catch(r){f=[6,r];i=0}finally{t=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,n,e){if(e||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return r.concat(a||Array.prototype.slice.call(n))};System.register([],(function(r,n){"use strict";return{execute:function(){var e=this;var t="mds-paginator-item";var i;var a;var u=false;var f=false;var o=function(r,n){if(n===void 0){n=""}{return function(){return}}};var v=function(r,n){{return function(){return}}};var l="{visibility:hidden}[hydrated]{visibility:inherit}";var c="slot-fb{display:contents}slot-fb[hidden]{display:none}";var s={};var d=function(r){return r!=null};var h=function(r){r=typeof r;return r==="object"||r==="function"};function y(r){var n,e,t;return(t=(e=(n=r.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&t!==void 0?t:undefined}var p=r("h",(function(r,n){var e=[];for(var t=2;t<arguments.length;t++){e[t-2]=arguments[t]}var i=null;var a=false;var u=false;var f=[];var o=function(n){for(var e=0;e<n.length;e++){i=n[e];if(Array.isArray(i)){o(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof r!=="function"&&!h(i)){i=String(i)}if(a&&u){f[f.length-1].t+=i}else{f.push(a?w(null,i):i)}u=a}}};o(e);if(n){{var v=n.className||n.class;if(v){n.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}var l=w(r,null);l.i=n;if(f.length>0){l.u=f}return l}));var w=function(r,n){var e={o:0,v:r,t:n,l:null,u:null};{e.i=null}return e};var _=r("H",{});var b=function(r){return r&&r.v===_};var m=function(r,n){if(r!=null&&!h(r)){if(n&4){return r==="false"?false:r===""||!!r}if(n&1){return String(r)}return r}return r};var $=r("g",(function(r){return ur(r).$hostElement$}));var g=function(r,n,e){var t=pr.ce(n,e);r.dispatchEvent(t);return t};var S=new WeakMap;var j=function(r,n,e){var t=dr.get(r);if(_r&&e){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}dr.set(r,t)};var A=function(r,n,e){var t;var i=O(n);var a=dr.get(i);r=r.nodeType===11?r:yr;if(a){if(typeof a==="string"){r=r.head||r;var u=S.get(r);var f=void 0;if(!u){S.set(r,u=new Set)}if(!u.has(i)){{f=yr.createElement("style");f.innerHTML=a;var o=(t=pr.h)!==null&&t!==void 0?t:y(yr);if(o!=null){f.setAttribute("nonce",o)}r.insertBefore(f,r.querySelector("link"))}if(n.o&4){f.innerHTML+=c}if(u){u.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var k=function(r){var n=r.p;var e=r.$hostElement$;var t=n.o;var i=o("attachStyles",n._);var a=A(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(t&10){e["s-sc"]=a;e.classList.add(a+"-h")}i()};var O=function(r,n){return"sc-"+r._};var M=function(r,n,e,t,i,a){if(e!==t){var u=vr(r,n);n.toLowerCase();if(n==="class"){var f=r.classList;var o=C(e);var v=C(t);f.remove.apply(f,o.filter((function(r){return r&&!v.includes(r)})));f.add.apply(f,v.filter((function(r){return r&&!o.includes(r)})))}else{var l=h(t);if((u||l&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var c=t==null?"":t;if(n==="list"){u=false}else if(e==null||r[n]!=c){r[n]=c}}else{r[n]=t}}catch(r){}}if(t==null||t===false){if(t!==false||r.getAttribute(n)===""){{r.removeAttribute(n)}}}else if((!u||a&4||i)&&!l){t=t===true?"":t;{r.setAttribute(n,t)}}}}};var x=/\s/;var C=function(r){return!r?[]:r.split(x)};var P=function(r,n,e,t){var i=n.l.nodeType===11&&n.l.host?n.l.host:n.l;var a=r&&r.i||s;var u=n.i||s;{for(t in a){if(!(t in u)){M(i,t,a[t],undefined,e,n.o)}}}for(t in u){M(i,t,a[t],u[t],e,n.o)}};var E=function(r,n,e,t){var f=n.u[e];var o=0;var v;var l;if(f.t!==null){v=f.l=yr.createTextNode(f.t)}else{v=f.l=yr.createElement(f.v);{P(null,f,u)}if(d(i)&&v["s-si"]!==i){v.classList.add(v["s-si"]=i)}if(f.u){for(o=0;o<f.u.length;++o){l=E(r,f,o);if(l){v.appendChild(l)}}}}v["s-hn"]=a;return v};var T=function(r,n,e,t,i,u){var f=r;var o;if(f.shadowRoot&&f.tagName===a){f=f.shadowRoot}for(;i<=u;++i){if(t[i]){o=E(null,e,i);if(o){t[i].l=o;f.insertBefore(o,n)}}}};var U=function(r,n,e){for(var t=n;t<=e;++t){var i=r[t];if(i){var a=i.l;if(a){a.remove()}}}};var N=function(r,n,e,t,i){if(i===void 0){i=false}var a=0;var u=0;var f=n.length-1;var o=n[0];var v=n[f];var l=t.length-1;var c=t[0];var s=t[l];var d;while(a<=f&&u<=l){if(o==null){o=n[++a]}else if(v==null){v=n[--f]}else if(c==null){c=t[++u]}else if(s==null){s=t[--l]}else if(H(o,c,i)){L(o,c,i);o=n[++a];c=t[++u]}else if(H(v,s,i)){L(v,s,i);v=n[--f];s=t[--l]}else if(H(o,s,i)){L(o,s,i);r.insertBefore(o.l,v.l.nextSibling);o=n[++a];s=t[--l]}else if(H(v,c,i)){L(v,c,i);r.insertBefore(v.l,o.l);v=n[--f];c=t[++u]}else{{d=E(n&&n[u],e,u);c=t[++u]}if(d){{o.l.parentNode.insertBefore(d,o.l)}}}}if(a>f){T(r,t[l+1]==null?null:t[l+1].l,e,t,u,l)}else if(u>l){U(n,a,f)}};var H=function(r,n,e){if(e===void 0){e=false}if(r.v===n.v){return true}return false};var L=function(r,n,e){if(e===void 0){e=false}var t=n.l=r.l;var i=r.u;var a=n.u;var f=n.v;var o=n.t;if(o===null){{if(f==="slot");else{P(r,n,u)}}if(i!==null&&a!==null){N(t,i,n,a,e)}else if(a!==null){if(r.t!==null){t.textContent=""}T(t,null,n,a,0,a.length-1)}else if(i!==null){U(i,0,i.length-1)}}else if(r.t!==o){t.data=o}};var W=function(r,n,e){if(e===void 0){e=false}var t=r.$hostElement$;var u=r.p;var f=r.m||w(null,null);var o=b(n)?n:p(null,null,n);a=t.tagName;if(u.$){o.i=o.i||{};u.$.map((function(r){var n=r[0],e=r[1];return o.i[e]=t[n]}))}if(e&&o.i){for(var v=0,l=Object.keys(o.i);v<l.length;v++){var c=l[v];if(t.hasAttribute(c)&&!["key","ref","style","class"].includes(c)){o.i[c]=t[c]}}}o.v=null;o.o|=4;r.m=o;o.l=f.l=t.shadowRoot||t;{i=t["s-sc"]}L(f,o,e)};var q=function(r,n){if(n&&!r.S&&n["s-p"]){n["s-p"].push(new Promise((function(n){return r.S=n})))}};var F=function(r,n){{r.o|=16}if(r.o&4){r.o|=512;return}q(r,r.j);var e=function(){return G(r,n)};return Ar(e)};var G=function(r,n){var e=o("scheduleUpdate",r.p._);var t=r.A;var i;e();return I(i,(function(){return V(r,t,n)}))};var I=function(r,n){return R(r)?r.then(n):n()};var R=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var V=function(r,n,t){return __awaiter(e,void 0,void 0,(function(){var e,i,a,u,f,v,l;return __generator(this,(function(c){i=r.$hostElement$;a=o("update",r.p._);u=i["s-rc"];if(t){k(r)}f=o("render",r.p._);{z(r,n,i,t)}if(u){u.map((function(r){return r()}));i["s-rc"]=undefined}f();a();{v=(e=i["s-p"])!==null&&e!==void 0?e:[];l=function(){return B(r)};if(v.length===0){l()}else{Promise.all(v).then(l);r.o|=4;v.length=0}}return[2]}))}))};var z=function(r,n,e,t){try{n=n.render();{r.o&=~16}{r.o|=2}{{{W(r,n,t)}}}}catch(n){lr(n,r.$hostElement$)}return null};var B=function(r){var n=r.p._;var e=r.$hostElement$;var t=o("postUpdate",n);var i=r.j;if(!(r.o&64)){r.o|=64;{J(e)}t();{r.k(e);if(!i){D()}}}else{t()}{if(r.S){r.S();r.S=undefined}if(r.o&512){jr((function(){return F(r,false)}))}r.o&=~(4|512)}};var D=function(r){{J(yr.documentElement)}jr((function(){return g(hr,"appload",{detail:{namespace:t}})}))};var J=function(r){return r.setAttribute("hydrated","")};var K=function(r,n){return ur(r).O.get(n)};var Q=function(r,n,e,t){var i=ur(r);var a=i.O.get(n);var u=i.o;var f=i.A;e=m(e,t.M[n][0]);var o=Number.isNaN(a)&&Number.isNaN(e);var v=e!==a&&!o;if((!(u&8)||a===undefined)&&v){i.O.set(n,e);if(f){if((u&(2|16))===2){F(i,false)}}}};var X=function(r,n,e){var t;var i=r.prototype;if(n.M){var a=Object.entries(n.M);a.map((function(r){var t=r[0],a=r[1][0];if(a&31||e&2&&a&32){Object.defineProperty(i,t,{get:function(){return K(this,t)},set:function(r){Q(this,t,r,n)},configurable:true,enumerable:true})}}));if(e&1){var u=new Map;i.attributeChangedCallback=function(r,e,t){var a=this;pr.jmp((function(){var f;var o=u.get(r);if(a.hasOwnProperty(o)){t=a[o];delete a[o]}else if(i.hasOwnProperty(o)&&typeof a[o]==="number"&&a[o]==t){return}else if(o==null){var v=ur(a);var l=v===null||v===void 0?void 0:v.o;if(l&&!(l&8)&&l&128&&t!==e){var c=v.A;var s=(f=n.C)===null||f===void 0?void 0:f[r];s===null||s===void 0?void 0:s.forEach((function(n){if(c[n]!=null){c[n].call(c,t,e,r)}}))}return}a[o]=t===null&&typeof a[o]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.C)!==null&&t!==void 0?t:{}),true),a.filter((function(r){var n=r[0],e=r[1];return e[0]&15})).map((function(r){var e=r[0],t=r[1];var i;var a=t[1]||e;u.set(a,e);if(t[0]&512){(i=n.$)===null||i===void 0?void 0:i.push([e,a])}return a})),true)))}}return r};var Y=function(r,n,t,i){return __awaiter(e,void 0,void 0,(function(){var r,e,i,a,u,f,l,c;return __generator(this,(function(s){switch(s.label){case 0:if(!((n.o&32)===0))return[3,3];n.o|=32;r=sr(t);if(!r.then)return[3,2];e=v();return[4,r];case 1:r=s.sent();e();s.label=2;case 2:if(!r.isProxied){X(r,t,2);r.isProxied=true}i=o("createInstance",t._);{n.o|=8}try{new r(n)}catch(r){lr(r)}{n.o&=~8}i();if(r.style){a=r.style;u=O(t);if(!dr.has(u)){f=o("registerStyles",t._);j(u,a,!!(t.o&1));f()}}s.label=3;case 3:l=n.j;c=function(){return F(n,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var Z=function(r){};var rr=function(r){if((pr.o&1)===0){var n=ur(r);var e=n.p;var t=o("connectedCallback",e._);if(!(n.o&1)){n.o|=1;{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){q(n,n.j=i);break}}}if(e.M){Object.entries(e.M).map((function(n){var e=n[0],t=n[1][0];if(t&31&&r.hasOwnProperty(e)){var i=r[e];delete r[e];r[e]=i}}))}{Y(r,n,e)}}else{if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return Z()}))}}t()}};var nr=function(r){};var er=function(r){return __awaiter(e,void 0,void 0,(function(){var n;return __generator(this,(function(e){if((pr.o&1)===0){n=ur(r);if(n===null||n===void 0?void 0:n.A);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return nr()}))}}return[2]}))}))};var tr=r("b",(function(r,n){if(n===void 0){n={}}var e;var t=o();var i=[];var a=n.exclude||[];var u=hr.customElements;var f=yr.head;var v=f.querySelector("meta[charset]");var s=yr.createElement("style");var d=[];var h;var p=true;Object.assign(pr,n);pr.T=new URL(n.resourcesUrl||"./",yr.baseURI).href;var w=false;r.map((function(r){r[1].map((function(n){var e={o:n[0],_:n[1],M:n[2],U:n[3]};if(e.o&4){w=true}{e.M=n[2]}{e.$=[]}var t=e._;var f=function(r){__extends(n,r);function n(n){var t=r.call(this,n)||this;n=t;or(n,e);if(e.o&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var r=this;if(h){clearTimeout(h);h=null}if(p){d.push(this)}else{pr.jmp((function(){return rr(r)}))}};n.prototype.disconnectedCallback=function(){var r=this;pr.jmp((function(){return er(r)}))};n.prototype.componentOnReady=function(){return ur(this).P};return n}(HTMLElement);e.N=r[0];if(!a.includes(t)&&!u.get(t)){i.push(t);u.define(t,X(f,e,1))}}))}));if(w){s.innerHTML+=c}{s.innerHTML+=i+l}if(s.innerHTML.length){s.setAttribute("data-styles","");var _=(e=pr.h)!==null&&e!==void 0?e:y(yr);if(_!=null){s.setAttribute("nonce",_)}f.insertBefore(s,v?v.nextSibling:f.firstChild)}p=false;if(d.length){d.map((function(r){return r.connectedCallback()}))}else{{pr.jmp((function(){return h=setTimeout(D,30)}))}}t()}));var ir=r("s",(function(r){return pr.h=r}));var ar=new WeakMap;var ur=function(r){return ar.get(r)};var fr=r("r",(function(r,n){return ar.set(n.A=r,n)}));var or=function(r,n){var e={o:0,$hostElement$:r,p:n,O:new Map};{e.P=new Promise((function(r){return e.k=r}));r["s-p"]=[];r["s-rc"]=[]}return ar.set(r,e)};var vr=function(r,n){return n in r};var lr=function(r,n){return(0,console.error)(r,n)};var cr=new Map;var sr=function(r,e,t){var i=r._.replace(/-/g,"_");var a=r.N;var u=cr.get(a);if(u){return u[i]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return n.import("./".concat(a,".entry.js").concat("")).then((function(r){{cr.set(a,r)}return r[i]}),lr)};var dr=new Map;var hr=typeof window!=="undefined"?window:{};var yr=hr.document||{head:{}};var pr={o:0,T:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,n,e,t){return r.addEventListener(n,e,t)},rel:function(r,n,e,t){return r.removeEventListener(n,e,t)},ce:function(r,n){return new CustomEvent(r,n)}};var wr=r("p",(function(r){return Promise.resolve(r)}));var _r=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var br=[];var mr=[];var $r=function(r,n){return function(e){r.push(e);if(!f){f=true;if(n&&pr.o&4){jr(Sr)}else{pr.raf(Sr)}}}};var gr=function(r){for(var n=0;n<r.length;n++){try{r[n](performance.now())}catch(r){lr(r)}}r.length=0};var Sr=function(){gr(br);{gr(mr);if(f=br.length>0){pr.raf(Sr)}}};var jr=function(r){return wr().then(r)};var Ar=$r(mr,true)}}}));
|