@maggioli-design-system/mds-paginator-item 2.4.1 → 2.6.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-9a8dc2cf.js → index-ca3ab5ae.js} +62 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
- package/dist/cjs/mds-paginator-item.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +41 -23
- package/dist/collection/dictionary/input.js +21 -0
- package/dist/collection/dictionary/typography.js +5 -1
- package/dist/components/mds-paginator-item.js +3 -3
- package/dist/documentation.json +3 -3
- package/dist/esm/{index-81eba9e4.js → index-1d7e2aea.js} +62 -7
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-paginator-item.entry.js +4 -4
- package/dist/esm/mds-paginator-item.js +3 -3
- package/dist/esm-es5/index-1d7e2aea.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-01d3926b.js +2 -0
- package/dist/mds-paginator-item/p-0bbf5c4a.system.js +1 -0
- package/dist/mds-paginator-item/p-14a1802e.system.entry.js +1 -0
- package/dist/mds-paginator-item/p-30a5273c.entry.js +1 -0
- package/dist/mds-paginator-item/p-902d51ca.system.js +2 -0
- package/dist/stats.json +37 -37
- package/dist/types/dictionary/input.d.ts +4 -0
- package/dist/types/dictionary/typography.d.ts +2 -1
- package/dist/types/interface/input-value.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/dist/types/type/input.d.ts +4 -0
- package/dist/types/type/typography.d.ts +1 -0
- package/documentation.json +27 -12
- package/package.json +3 -3
- package/src/common/keyboard-manager.ts +2 -2
- package/src/components/mds-paginator-item/mds-paginator-item.css +3 -2
- package/src/dictionary/input.ts +30 -0
- package/src/dictionary/typography.ts +7 -1
- package/src/fixtures/icons.json +18 -0
- package/src/fixtures/iconsauce.json +16 -0
- package/src/interface/input-value.ts +1 -1
- package/src/type/input.ts +25 -0
- package/src/type/typography.ts +4 -0
- package/www/build/mds-paginator-item.esm.js +1 -1
- package/www/build/mds-paginator-item.js +1 -1
- package/www/build/p-01d3926b.js +2 -0
- package/www/build/p-0bbf5c4a.system.js +1 -0
- package/www/build/p-14a1802e.system.entry.js +1 -0
- package/www/build/p-30a5273c.entry.js +1 -0
- package/www/build/p-902d51ca.system.js +2 -0
- package/dist/collection/dictionary/input-text-type.js +0 -13
- package/dist/collection/type/input-value-type.js +0 -1
- package/dist/esm-es5/index-81eba9e4.js +0 -2
- package/dist/mds-paginator-item/p-1003510e.entry.js +0 -1
- package/dist/mds-paginator-item/p-104122aa.system.js +0 -2
- package/dist/mds-paginator-item/p-42931a12.js +0 -2
- package/dist/mds-paginator-item/p-7688a34f.system.js +0 -1
- package/dist/mds-paginator-item/p-bbf043ba.system.entry.js +0 -1
- package/dist/types/dictionary/input-text-type.d.ts +0 -2
- package/dist/types/type/input-text-type.d.ts +0 -1
- package/dist/types/type/input-value-type.d.ts +0 -1
- package/src/dictionary/input-text-type.ts +0 -17
- package/src/type/input-text-type.ts +0 -11
- package/src/type/input-value-type.ts +0 -5
- package/www/build/p-1003510e.entry.js +0 -1
- package/www/build/p-104122aa.system.js +0 -2
- package/www/build/p-42931a12.js +0 -2
- package/www/build/p-7688a34f.system.js +0 -1
- package/www/build/p-bbf043ba.system.entry.js +0 -1
- /package/dist/collection/type/{input-text-type.js → input.js} +0 -0
|
@@ -938,6 +938,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
938
938
|
*/
|
|
939
939
|
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
940
940
|
try {
|
|
941
|
+
/**
|
|
942
|
+
* minification optimization: `allRenderFn` is `true` if all components have a `render`
|
|
943
|
+
* method, so we can call the method immediately. If not, check before calling it.
|
|
944
|
+
*/
|
|
941
945
|
instance = instance.render() ;
|
|
942
946
|
{
|
|
943
947
|
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
@@ -1166,7 +1170,18 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1166
1170
|
}
|
|
1167
1171
|
return Cstr;
|
|
1168
1172
|
};
|
|
1169
|
-
|
|
1173
|
+
/**
|
|
1174
|
+
* Initialize a Stencil component given a reference to its host element, its
|
|
1175
|
+
* runtime bookkeeping data structure, runtime metadata about the component,
|
|
1176
|
+
* and (optionally) an HMR version ID.
|
|
1177
|
+
*
|
|
1178
|
+
* @param elm a host element
|
|
1179
|
+
* @param hostRef the element's runtime bookkeeping object
|
|
1180
|
+
* @param cmpMeta runtime metadata for the Stencil component
|
|
1181
|
+
* @param hmrVersionId an (optional) HMR version ID
|
|
1182
|
+
*/
|
|
1183
|
+
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1184
|
+
let Cstr;
|
|
1170
1185
|
// initializeComponent
|
|
1171
1186
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1172
1187
|
// Let the runtime know that the component has been initialized
|
|
@@ -1401,22 +1416,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1401
1416
|
* @returns void
|
|
1402
1417
|
*/
|
|
1403
1418
|
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
1419
|
+
/**
|
|
1420
|
+
* A WeakMap mapping runtime component references to their corresponding host reference
|
|
1421
|
+
* instances.
|
|
1422
|
+
*/
|
|
1404
1423
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1424
|
+
/**
|
|
1425
|
+
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
1426
|
+
*
|
|
1427
|
+
* @param ref the runtime ref of interest
|
|
1428
|
+
* @returns the Host reference (if found) or undefined
|
|
1429
|
+
*/
|
|
1405
1430
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1431
|
+
/**
|
|
1432
|
+
* Register a lazy instance with the {@link hostRefs} object so it's
|
|
1433
|
+
* corresponding {@link d.HostRef} can be retrieved later.
|
|
1434
|
+
*
|
|
1435
|
+
* @param lazyInstance the lazy instance of interest
|
|
1436
|
+
* @param hostRef that instances `HostRef` object
|
|
1437
|
+
* @returns a reference to the host ref WeakMap
|
|
1438
|
+
*/
|
|
1406
1439
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1407
|
-
|
|
1440
|
+
/**
|
|
1441
|
+
* Register a host element for a Stencil component, setting up various metadata
|
|
1442
|
+
* and callbacks based on {@link BUILD} flags as well as the component's runtime
|
|
1443
|
+
* metadata.
|
|
1444
|
+
*
|
|
1445
|
+
* @param hostElement the host element to register
|
|
1446
|
+
* @param cmpMeta runtime metadata for that component
|
|
1447
|
+
* @returns a reference to the host ref WeakMap
|
|
1448
|
+
*/
|
|
1449
|
+
const registerHost = (hostElement, cmpMeta) => {
|
|
1408
1450
|
const hostRef = {
|
|
1409
1451
|
$flags$: 0,
|
|
1410
|
-
$hostElement$:
|
|
1452
|
+
$hostElement$: hostElement,
|
|
1411
1453
|
$cmpMeta$: cmpMeta,
|
|
1412
1454
|
$instanceValues$: new Map(),
|
|
1413
1455
|
};
|
|
1414
1456
|
{
|
|
1415
1457
|
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
1416
|
-
|
|
1417
|
-
|
|
1458
|
+
hostElement['s-p'] = [];
|
|
1459
|
+
hostElement['s-rc'] = [];
|
|
1418
1460
|
}
|
|
1419
|
-
return hostRefs.set(
|
|
1461
|
+
return hostRefs.set(hostElement, hostRef);
|
|
1420
1462
|
};
|
|
1421
1463
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1422
1464
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -1429,7 +1471,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1429
1471
|
if (module) {
|
|
1430
1472
|
return module[exportName];
|
|
1431
1473
|
}
|
|
1432
|
-
|
|
1474
|
+
|
|
1475
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1476
|
+
const processMod = importedModule => {
|
|
1477
|
+
cmpModules.set(bundleId, importedModule);
|
|
1478
|
+
return importedModule[exportName];
|
|
1479
|
+
}
|
|
1480
|
+
switch(bundleId) {
|
|
1481
|
+
|
|
1482
|
+
case 'mds-paginator-item.cjs':
|
|
1483
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1484
|
+
/* webpackMode: "lazy" */
|
|
1485
|
+
'./mds-paginator-item.cjs.entry.js')); }).then(processMod, consoleError);
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1433
1488
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
1434
1489
|
/* @vite-ignore */
|
|
1435
1490
|
/* webpackInclude: /\.entry\.js$/ */
|
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-ca3ab5ae.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-ca3ab5ae.js');
|
|
6
6
|
|
|
7
7
|
class KeyboardManager {
|
|
8
8
|
constructor() {
|
|
@@ -32,20 +32,20 @@ class KeyboardManager {
|
|
|
32
32
|
};
|
|
33
33
|
this.attachEscapeBehavior = (callBack) => {
|
|
34
34
|
this.escapeCallback = callBack;
|
|
35
|
-
if (
|
|
35
|
+
if (window !== undefined) {
|
|
36
36
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
this.detachEscapeBehavior = () => {
|
|
40
40
|
this.escapeCallback = () => { return; };
|
|
41
|
-
if (
|
|
41
|
+
if (window !== undefined) {
|
|
42
42
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
const mdsPaginatorItemCss = "@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
|
|
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:0px}: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:0px;padding-right:0px}";
|
|
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-ca3ab5ae.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.7.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));
|
|
@@ -26,13 +26,13 @@ export class KeyboardManager {
|
|
|
26
26
|
};
|
|
27
27
|
this.attachEscapeBehavior = (callBack) => {
|
|
28
28
|
this.escapeCallback = callBack;
|
|
29
|
-
if (
|
|
29
|
+
if (window !== undefined) {
|
|
30
30
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
this.detachEscapeBehavior = () => {
|
|
34
34
|
this.escapeCallback = () => { return; };
|
|
35
|
-
if (
|
|
35
|
+
if (window !== undefined) {
|
|
36
36
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -1,22 +1,26 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
1
|
+
@keyframes focus-bounce {
|
|
2
|
+
0%, 75%, 100% {
|
|
3
|
+
outline-offset: var(--magma-outline-focus-offset);
|
|
4
|
+
}
|
|
3
5
|
|
|
6
|
+
50% {
|
|
7
|
+
outline-offset: var(--magma-outline-blur-offset);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
/* included for focus effect */
|
|
11
|
+
@tailwind components;
|
|
12
|
+
.fixed {
|
|
4
13
|
position: fixed;
|
|
5
14
|
}
|
|
6
|
-
.absolute{
|
|
7
|
-
|
|
15
|
+
.absolute {
|
|
8
16
|
position: absolute;
|
|
9
17
|
}
|
|
10
|
-
.border{
|
|
11
|
-
|
|
18
|
+
.border {
|
|
12
19
|
border-width: 1px;
|
|
13
20
|
}
|
|
14
|
-
.shadow{
|
|
15
|
-
|
|
21
|
+
.shadow {
|
|
16
22
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
17
|
-
|
|
18
23
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
19
|
-
|
|
20
24
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
21
25
|
}
|
|
22
26
|
|
|
@@ -50,17 +54,33 @@
|
|
|
50
54
|
--mds-paginator-item-radius: 200px;
|
|
51
55
|
--mds-paginator-item-shadow-disabled: none;
|
|
52
56
|
--mds-paginator-item-shadow-hover: none;
|
|
53
|
-
--mds-paginator-item-shadow-selected: 0 0 1px 1px
|
|
57
|
+
--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);
|
|
54
58
|
--mds-paginator-item-shadow: none;
|
|
55
59
|
--mds-paginator-item-size: 2.25rem;
|
|
56
|
-
|
|
57
|
-
|
|
60
|
+
animation-duration: var(--magma-outline-animation-duration, 1s);
|
|
61
|
+
animation-fill-mode: forwards;
|
|
62
|
+
animation-iteration-count: infinite;
|
|
63
|
+
animation-name: focus-bounce;
|
|
64
|
+
animation-play-state: paused;
|
|
65
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
58
66
|
outline: var(--magma-outline-blur);
|
|
59
|
-
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
60
|
-
padding-left: 0.75rem;
|
|
61
|
-
padding-right: 0.75rem;
|
|
62
67
|
transition-duration: 200ms;
|
|
63
|
-
transition-
|
|
68
|
+
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
69
|
+
transition-timing-function: ease-in-out;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host:focus-visible {
|
|
73
|
+
|
|
74
|
+
--magma-outline-blur: var(--magma-outline-focus);
|
|
75
|
+
|
|
76
|
+
animation-play-state: running;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
:host {
|
|
80
|
+
padding-left: 0.75rem;
|
|
81
|
+
padding-right: 0.75rem;
|
|
82
|
+
transition-duration: 200ms;
|
|
83
|
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
64
84
|
|
|
65
85
|
align-items: center;
|
|
66
86
|
background-color: var(--mds-paginator-item-background);
|
|
@@ -82,8 +102,9 @@
|
|
|
82
102
|
|
|
83
103
|
:host( :focus-visible ) {
|
|
84
104
|
|
|
85
|
-
--magma-outline-blur-offset: var(--magma-outline-focus-offset);
|
|
86
105
|
--magma-outline-blur: var(--magma-outline-focus);
|
|
106
|
+
|
|
107
|
+
animation-play-state: running;
|
|
87
108
|
}
|
|
88
109
|
|
|
89
110
|
:host( :hover ) {
|
|
@@ -93,8 +114,7 @@
|
|
|
93
114
|
fill: var(--mds-paginator-item-color-hover);
|
|
94
115
|
}
|
|
95
116
|
|
|
96
|
-
:host( [icon] ){
|
|
97
|
-
|
|
117
|
+
:host( [icon] ) {
|
|
98
118
|
padding: 0px;
|
|
99
119
|
}
|
|
100
120
|
|
|
@@ -114,9 +134,7 @@
|
|
|
114
134
|
pointer-events: none;
|
|
115
135
|
}
|
|
116
136
|
|
|
117
|
-
.icon{
|
|
118
|
-
|
|
137
|
+
.icon {
|
|
119
138
|
padding-left: 0px;
|
|
120
|
-
|
|
121
139
|
padding-right: 0px;
|
|
122
140
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const inputTextTypeDictionary = [
|
|
2
|
+
'date',
|
|
3
|
+
'email',
|
|
4
|
+
'number',
|
|
5
|
+
'password',
|
|
6
|
+
'search',
|
|
7
|
+
'tel',
|
|
8
|
+
'text',
|
|
9
|
+
'textarea',
|
|
10
|
+
'time',
|
|
11
|
+
'url',
|
|
12
|
+
];
|
|
13
|
+
const inputControlsLayoutDictionary = [
|
|
14
|
+
'horizontal',
|
|
15
|
+
'vertical',
|
|
16
|
+
];
|
|
17
|
+
const inputControlsIconDictionary = [
|
|
18
|
+
'arrow',
|
|
19
|
+
'arithmetic',
|
|
20
|
+
];
|
|
21
|
+
export { inputControlsIconDictionary, inputControlsLayoutDictionary, inputTextTypeDictionary, };
|
|
@@ -60,4 +60,8 @@ const typographyTooltipDictionary = [
|
|
|
60
60
|
'detail',
|
|
61
61
|
'tip',
|
|
62
62
|
];
|
|
63
|
-
|
|
63
|
+
const typographyInputDictionary = [
|
|
64
|
+
'snippet',
|
|
65
|
+
'detail',
|
|
66
|
+
];
|
|
67
|
+
export { typographyDictionary, typographyInfoDictionary, typographyInputDictionary, typographyMonoDictionary, typographyReadDictionary, typographyReadingVariationsDictionary, typographySmallerDictionary, typographyTitleDictionary, typographyTooltipDictionary, typographyVariationsDictionary, };
|
|
@@ -28,20 +28,20 @@ class KeyboardManager {
|
|
|
28
28
|
};
|
|
29
29
|
this.attachEscapeBehavior = (callBack) => {
|
|
30
30
|
this.escapeCallback = callBack;
|
|
31
|
-
if (
|
|
31
|
+
if (window !== undefined) {
|
|
32
32
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
this.detachEscapeBehavior = () => {
|
|
36
36
|
this.escapeCallback = () => { return; };
|
|
37
|
-
if (
|
|
37
|
+
if (window !== undefined) {
|
|
38
38
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
const mdsPaginatorItemCss = "@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
|
|
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:0px}: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:0px;padding-right:0px}";
|
|
45
45
|
|
|
46
46
|
const MdsPaginatorItem$1 = /*@__PURE__*/ proxyCustomElement(class MdsPaginatorItem extends HTMLElement {
|
|
47
47
|
constructor() {
|
package/dist/documentation.json
CHANGED
|
@@ -916,6 +916,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
916
916
|
*/
|
|
917
917
|
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
918
918
|
try {
|
|
919
|
+
/**
|
|
920
|
+
* minification optimization: `allRenderFn` is `true` if all components have a `render`
|
|
921
|
+
* method, so we can call the method immediately. If not, check before calling it.
|
|
922
|
+
*/
|
|
919
923
|
instance = instance.render() ;
|
|
920
924
|
{
|
|
921
925
|
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
@@ -1144,7 +1148,18 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1144
1148
|
}
|
|
1145
1149
|
return Cstr;
|
|
1146
1150
|
};
|
|
1147
|
-
|
|
1151
|
+
/**
|
|
1152
|
+
* Initialize a Stencil component given a reference to its host element, its
|
|
1153
|
+
* runtime bookkeeping data structure, runtime metadata about the component,
|
|
1154
|
+
* and (optionally) an HMR version ID.
|
|
1155
|
+
*
|
|
1156
|
+
* @param elm a host element
|
|
1157
|
+
* @param hostRef the element's runtime bookkeeping object
|
|
1158
|
+
* @param cmpMeta runtime metadata for the Stencil component
|
|
1159
|
+
* @param hmrVersionId an (optional) HMR version ID
|
|
1160
|
+
*/
|
|
1161
|
+
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
1162
|
+
let Cstr;
|
|
1148
1163
|
// initializeComponent
|
|
1149
1164
|
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1150
1165
|
// Let the runtime know that the component has been initialized
|
|
@@ -1379,22 +1394,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1379
1394
|
* @returns void
|
|
1380
1395
|
*/
|
|
1381
1396
|
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
1397
|
+
/**
|
|
1398
|
+
* A WeakMap mapping runtime component references to their corresponding host reference
|
|
1399
|
+
* instances.
|
|
1400
|
+
*/
|
|
1382
1401
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1402
|
+
/**
|
|
1403
|
+
* Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
|
|
1404
|
+
*
|
|
1405
|
+
* @param ref the runtime ref of interest
|
|
1406
|
+
* @returns the Host reference (if found) or undefined
|
|
1407
|
+
*/
|
|
1383
1408
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1409
|
+
/**
|
|
1410
|
+
* Register a lazy instance with the {@link hostRefs} object so it's
|
|
1411
|
+
* corresponding {@link d.HostRef} can be retrieved later.
|
|
1412
|
+
*
|
|
1413
|
+
* @param lazyInstance the lazy instance of interest
|
|
1414
|
+
* @param hostRef that instances `HostRef` object
|
|
1415
|
+
* @returns a reference to the host ref WeakMap
|
|
1416
|
+
*/
|
|
1384
1417
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1385
|
-
|
|
1418
|
+
/**
|
|
1419
|
+
* Register a host element for a Stencil component, setting up various metadata
|
|
1420
|
+
* and callbacks based on {@link BUILD} flags as well as the component's runtime
|
|
1421
|
+
* metadata.
|
|
1422
|
+
*
|
|
1423
|
+
* @param hostElement the host element to register
|
|
1424
|
+
* @param cmpMeta runtime metadata for that component
|
|
1425
|
+
* @returns a reference to the host ref WeakMap
|
|
1426
|
+
*/
|
|
1427
|
+
const registerHost = (hostElement, cmpMeta) => {
|
|
1386
1428
|
const hostRef = {
|
|
1387
1429
|
$flags$: 0,
|
|
1388
|
-
$hostElement$:
|
|
1430
|
+
$hostElement$: hostElement,
|
|
1389
1431
|
$cmpMeta$: cmpMeta,
|
|
1390
1432
|
$instanceValues$: new Map(),
|
|
1391
1433
|
};
|
|
1392
1434
|
{
|
|
1393
1435
|
hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
|
|
1394
|
-
|
|
1395
|
-
|
|
1436
|
+
hostElement['s-p'] = [];
|
|
1437
|
+
hostElement['s-rc'] = [];
|
|
1396
1438
|
}
|
|
1397
|
-
return hostRefs.set(
|
|
1439
|
+
return hostRefs.set(hostElement, hostRef);
|
|
1398
1440
|
};
|
|
1399
1441
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1400
1442
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -1407,7 +1449,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1407
1449
|
if (module) {
|
|
1408
1450
|
return module[exportName];
|
|
1409
1451
|
}
|
|
1410
|
-
|
|
1452
|
+
|
|
1453
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
1454
|
+
const processMod = importedModule => {
|
|
1455
|
+
cmpModules.set(bundleId, importedModule);
|
|
1456
|
+
return importedModule[exportName];
|
|
1457
|
+
}
|
|
1458
|
+
switch(bundleId) {
|
|
1459
|
+
|
|
1460
|
+
case 'mds-paginator-item':
|
|
1461
|
+
return import(
|
|
1462
|
+
/* webpackMode: "lazy" */
|
|
1463
|
+
'./mds-paginator-item.entry.js').then(processMod, consoleError);
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1411
1466
|
return import(
|
|
1412
1467
|
/* @vite-ignore */
|
|
1413
1468
|
/* webpackInclude: /\.entry\.js$/ */
|
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-1d7e2aea.js';
|
|
2
|
+
export { s as setNonce } from './index-1d7e2aea.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-1d7e2aea.js';
|
|
2
2
|
|
|
3
3
|
class KeyboardManager {
|
|
4
4
|
constructor() {
|
|
@@ -28,20 +28,20 @@ class KeyboardManager {
|
|
|
28
28
|
};
|
|
29
29
|
this.attachEscapeBehavior = (callBack) => {
|
|
30
30
|
this.escapeCallback = callBack;
|
|
31
|
-
if (
|
|
31
|
+
if (window !== undefined) {
|
|
32
32
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
this.detachEscapeBehavior = () => {
|
|
36
36
|
this.escapeCallback = () => { return; };
|
|
37
|
-
if (
|
|
37
|
+
if (window !== undefined) {
|
|
38
38
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
const mdsPaginatorItemCss = "@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
|
|
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:0px}: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:0px;padding-right:0px}";
|
|
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-1d7e2aea.js';
|
|
2
|
+
export { s as setNonce } from './index-1d7e2aea.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.7.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 a(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,i){function o(e){try{s(t.next(e))}catch(e){i(e)}}function u(e){try{s(t["throw"](e))}catch(e){i(e)}}function s(e){e.done?r(e.value):a(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(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,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(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=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:r.label++;return{value:u[1],done:false};case 5:r.label++;a=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(i=r.trys,i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1];i=u;break}if(i&&r.label<i[2]){r.label=i[2];r.ops.push(u);break}if(i[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];a=0}finally{t=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,r){if(r||arguments.length===2)for(var t=0,a=n.length,i;t<a;t++){if(i||!(t in n)){if(!i)i=Array.prototype.slice.call(n,0,t);i[t]=n[t]}}return e.concat(i||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 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 a=null;var i=false;var o=false;var u=[];var s=function(n){for(var r=0;r<n.length;r++){a=n[r];if(Array.isArray(a)){s(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&o){u[u.length-1].t+=a}else{u.push(i?newVNode(null,a):a)}o=i}}};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 a=getScopeId(n);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="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(a)){{u=doc.createElement("style");u.innerHTML=i;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(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var n=e.m;var r=e.$hostElement$;var t=n.u;var a=createTime("attachStyles",n.h);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=i;r.classList.add(i+"-h")}a()};var getScopeId=function(e,n){return"sc-"+e.h};var setAccessor=function(e,n,r,t,a,i){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)&&!a){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||i&4||a)&&!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 a=n.v.nodeType===11&&n.v.host?n.v.host:n.v;var i=e&&e.i||EMPTY_OBJ;var o=n.i||EMPTY_OBJ;{for(t in i){if(!(t in o)){setAccessor(a,t,i[t],undefined,r,n.u)}}}for(t in o){setAccessor(a,t,i[t],o[t],r,n.u)}};var createElm=function(e,n,r,t){var a=n.o[r];var i=0;var o;var u;if(a.t!==null){o=a.v=doc.createTextNode(a.t)}else{o=a.v=doc.createElement(a.l);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.o){for(i=0;i<a.o.length;++i){u=createElm(e,a,i);if(u){o.appendChild(u)}}}}return o};var addVnodes=function(e,n,r,t,a,i){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(t[a]){u=createElm(null,r,a);if(u){t[a].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var a=e[t];if(a){var i=a.v;if(i){i.remove()}}}};var updateChildren=function(e,n,r,t){var a=0;var i=0;var o=n.length-1;var u=n[0];var s=n[o];var f=t.length-1;var l=t[0];var c=t[f];var v;while(a<=o&&i<=f){if(u==null){u=n[++a]}else if(s==null){s=n[--o]}else if(l==null){l=t[++i]}else if(c==null){c=t[--f]}else if(isSameVnode(u,l)){patch(u,l);u=n[++a];l=t[++i]}else if(isSameVnode(s,c)){patch(s,c);s=n[--o];c=t[--f]}else if(isSameVnode(u,c)){patch(u,c);e.insertBefore(u.v,s.v.nextSibling);u=n[++a];c=t[--f]}else if(isSameVnode(s,l)){patch(s,l);e.insertBefore(s.v,u.v);s=n[--o];l=t[++i]}else{{v=createElm(n&&n[i],r,i);l=t[++i]}if(v){{u.v.parentNode.insertBefore(v,u.v)}}}}if(a>o){addVnodes(e,t[f+1]==null?null:t[f+1].v,r,t,i,f)}else if(i>f){removeVnodes(n,a,o)}};var isSameVnode=function(e,n){if(e.l===n.l){return true}return false};var patch=function(e,n){var r=n.v=e.v;var t=e.o;var a=n.o;var i=n.l;var o=n.t;if(o===null){{if(i==="slot");else{updateElement(e,n,isSvgMode)}}if(t!==null&&a!==null){updateChildren(r,t,n,a)}else if(a!==null){if(e.t!==null){r.textContent=""}addVnodes(r,null,n,a,0,a.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}else if(e.t!==o){r.data=o}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var a=e.m;var i=e.S||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(a.C){o.i=o.i||{};a.C.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=i.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(i,o)};var attachToAncestor=function(e,n){if(n&&!e.T&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.T=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 a;r();return enqueue(a,(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,a,i,o,u,s,f;return __generator(this,(function(l){a=e.$hostElement$;i=createTime("update",e.m.h);o=a["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}u();i();{s=(t=a["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 a=e._;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}t();{e.M(r);if(!a){appDidLoad()}}}else{t()}{if(e.T){e.T();e.T=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 a=getHostRef(e);var i=a.k.get(n);var o=a.u;var u=a.$;r=parsePropertyValue(r,t.A[n][0]);var s=Number.isNaN(i)&&Number.isNaN(r);var f=r!==i&&!s;if((!(o&8)||i===undefined)&&f){a.k.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,n,r){var t;if(n.A){var a=Object.entries(n.A);var i=e.prototype;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=o.get(e);if(a.hasOwnProperty(u)){t=a[u];delete a[u]}else if(i.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==t){return}else if(u==null){var s=getHostRef(a);var f=s===null||s===void 0?void 0:s.u;if(!(f&8)&&f&128&&t!==r){var l=s.$;var c=n.R[e];c===null||c===void 0?void 0:c.forEach((function(n){if(l[n]!=null){l[n].call(l,t,r,e)}}))}return}a[u]=t===null&&typeof a[u]==="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 a=t[1]||r;o.set(a,r);if(t[0]&512){n.C.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,a,i,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}a=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}a();if(e.style){i=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,i,!!(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 a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(n,n._=a);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 a=e[r];delete e[r];e[r]=a}}))}{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 a=[];var i=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;e.map((function(e){e[1].map((function(n){var r={u:n[0],h:n[1],A:n[2],q:n[3]};{r.A=n[2]}{r.C=[]}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(!i.includes(t)&&!o.get(t)){a.push(t);o.define(t,proxyComponent(u,r,1))}}))}));{f.innerHTML=a+HYDRATED_CSS;f.setAttribute("data-styles","");var d=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(d!=null){f.setAttribute("nonce",d)}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 a=e.P;var i=cmpModules.get(a);if(i){return i[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[t]};switch(a){case"mds-paginator-item":return import("./mds-paginator-item.entry.js").then(o,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,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-1d7e2aea.js";export{s as setNonce}from"./index-1d7e2aea.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};
|