@maggioli-design-system/mds-paginator-item 2.4.0 → 2.4.2

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.
Files changed (54) hide show
  1. package/dist/cjs/{index-30ee4c25.js → index-ca3ab5ae.js} +104 -20
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-paginator-item.cjs.entry.js +4 -4
  4. package/dist/cjs/mds-paginator-item.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/aria.js +9 -1
  7. package/dist/collection/common/keyboard-manager.js +2 -2
  8. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +13 -17
  9. package/dist/components/mds-paginator-item.js +3 -3
  10. package/dist/documentation.json +3 -3
  11. package/dist/esm/{index-3fa51808.js → index-1d7e2aea.js} +104 -20
  12. package/dist/esm/loader.js +2 -2
  13. package/dist/esm/mds-paginator-item.entry.js +4 -4
  14. package/dist/esm/mds-paginator-item.js +3 -3
  15. package/dist/esm-es5/index-1d7e2aea.js +1 -0
  16. package/dist/esm-es5/loader.js +1 -1
  17. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  18. package/dist/esm-es5/mds-paginator-item.js +1 -1
  19. package/dist/mds-paginator-item/mds-paginator-item.esm.js +1 -1
  20. package/dist/mds-paginator-item/mds-paginator-item.js +1 -1
  21. package/dist/mds-paginator-item/p-01d3926b.js +2 -0
  22. package/dist/mds-paginator-item/p-16362e7e.entry.js +1 -0
  23. package/dist/mds-paginator-item/p-27589d35.system.js +1 -0
  24. package/dist/mds-paginator-item/p-75e9f93d.system.entry.js +1 -0
  25. package/dist/mds-paginator-item/p-902d51ca.system.js +2 -0
  26. package/dist/stats.json +32 -30
  27. package/dist/types/common/aria.d.ts +2 -1
  28. package/dist/types/stencil-public-runtime.d.ts +19 -0
  29. package/documentation.json +15 -5
  30. package/package.json +3 -3
  31. package/readme.md +3 -1
  32. package/src/common/aria.ts +12 -0
  33. package/src/common/keyboard-manager.ts +2 -2
  34. package/src/components/mds-paginator-item/mds-paginator-item.css +11 -13
  35. package/src/components/mds-paginator-item/readme.md +1 -1
  36. package/src/fixtures/icons.json +2 -0
  37. package/www/build/mds-paginator-item.esm.js +1 -1
  38. package/www/build/mds-paginator-item.js +1 -1
  39. package/www/build/p-01d3926b.js +2 -0
  40. package/www/build/p-16362e7e.entry.js +1 -0
  41. package/www/build/p-27589d35.system.js +1 -0
  42. package/www/build/p-75e9f93d.system.entry.js +1 -0
  43. package/www/build/p-902d51ca.system.js +2 -0
  44. package/dist/esm-es5/index-3fa51808.js +0 -2
  45. package/dist/mds-paginator-item/p-2e3a33e5.js +0 -2
  46. package/dist/mds-paginator-item/p-2f534d96.system.entry.js +0 -1
  47. package/dist/mds-paginator-item/p-61d399b8.system.js +0 -1
  48. package/dist/mds-paginator-item/p-8e675782.system.js +0 -2
  49. package/dist/mds-paginator-item/p-e78a049a.entry.js +0 -1
  50. package/www/build/p-2e3a33e5.js +0 -2
  51. package/www/build/p-2f534d96.system.entry.js +0 -1
  52. package/www/build/p-61d399b8.system.js +0 -1
  53. package/www/build/p-8e675782.system.js +0 -2
  54. package/www/build/p-e78a049a.entry.js +0 -1
@@ -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 */;
@@ -1046,6 +1050,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1046
1050
  * @returns a reference to the same constructor passed in (but now mutated)
1047
1051
  */
1048
1052
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1053
+ var _a;
1049
1054
  if (cmpMeta.$members$) {
1050
1055
  // It's better to have a const than two Object.entries()
1051
1056
  const members = Object.entries(cmpMeta.$members$);
@@ -1070,7 +1075,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1070
1075
  });
1071
1076
  if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1072
1077
  const attrNameToPropName = new Map();
1073
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1078
+ prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1074
1079
  plt.jmp(() => {
1075
1080
  const propName = attrNameToPropName.get(attrName);
1076
1081
  // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
@@ -1118,26 +1123,65 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1118
1123
  // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1119
1124
  return;
1120
1125
  }
1126
+ else if (propName == null) {
1127
+ // At this point we should know this is not a "member", so we can treat it like watching an attribute
1128
+ // on a vanilla web component
1129
+ const hostRef = getHostRef(this);
1130
+ const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;
1131
+ // We only want to trigger the callback(s) if:
1132
+ // 1. The instance is ready
1133
+ // 2. The watchers are ready
1134
+ // 3. The value has changed
1135
+ if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1136
+ flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1137
+ newValue !== oldValue) {
1138
+ const instance = hostRef.$lazyInstance$ ;
1139
+ const entry = cmpMeta.$watchers$[attrName];
1140
+ entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1141
+ if (instance[callbackName] != null) {
1142
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1143
+ }
1144
+ });
1145
+ }
1146
+ return;
1147
+ }
1121
1148
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1122
1149
  });
1123
1150
  };
1124
- // create an array of attributes to observe
1125
- // and also create a map of html attribute name to js property name
1126
- Cstr.observedAttributes = members
1127
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1128
- .map(([propName, m]) => {
1129
- const attrName = m[1] || propName;
1130
- attrNameToPropName.set(attrName, propName);
1131
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1132
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1133
- }
1134
- return attrName;
1135
- });
1151
+ // Create an array of attributes to observe
1152
+ // This list in comprised of all strings used within a `@Watch()` decorator
1153
+ // on a component as well as any Stencil-specific "members" (`@Prop()`s and `@State()`s).
1154
+ // As such, there is no way to guarantee type-safety here that a user hasn't entered
1155
+ // an invalid attribute.
1156
+ Cstr.observedAttributes = Array.from(new Set([
1157
+ ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),
1158
+ ...members
1159
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
1160
+ .map(([propName, m]) => {
1161
+ const attrName = m[1] || propName;
1162
+ attrNameToPropName.set(attrName, propName);
1163
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1164
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1165
+ }
1166
+ return attrName;
1167
+ }),
1168
+ ]));
1136
1169
  }
1137
1170
  }
1138
1171
  return Cstr;
1139
1172
  };
1140
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
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;
1141
1185
  // initializeComponent
1142
1186
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1143
1187
  // Let the runtime know that the component has been initialized
@@ -1372,22 +1416,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1372
1416
  * @returns void
1373
1417
  */
1374
1418
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1419
+ /**
1420
+ * A WeakMap mapping runtime component references to their corresponding host reference
1421
+ * instances.
1422
+ */
1375
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
+ */
1376
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
+ */
1377
1439
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1378
- const registerHost = (elm, cmpMeta) => {
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) => {
1379
1450
  const hostRef = {
1380
1451
  $flags$: 0,
1381
- $hostElement$: elm,
1452
+ $hostElement$: hostElement,
1382
1453
  $cmpMeta$: cmpMeta,
1383
1454
  $instanceValues$: new Map(),
1384
1455
  };
1385
1456
  {
1386
1457
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1387
- elm['s-p'] = [];
1388
- elm['s-rc'] = [];
1458
+ hostElement['s-p'] = [];
1459
+ hostElement['s-rc'] = [];
1389
1460
  }
1390
- return hostRefs.set(elm, hostRef);
1461
+ return hostRefs.set(hostElement, hostRef);
1391
1462
  };
1392
1463
  const isMemberInElement = (elm, memberName) => memberName in elm;
1393
1464
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1400,7 +1471,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1400
1471
  if (module) {
1401
1472
  return module[exportName];
1402
1473
  }
1403
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
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
+ }
1404
1488
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1405
1489
  /* @vite-ignore */
1406
1490
  /* webpackInclude: /\.entry\.js$/ */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-30ee4c25.js');
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-30ee4c25.js');
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 (typeof window !== undefined) {
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 (typeof window !== undefined) {
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 rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-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-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;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);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);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);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}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}: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]){pointer-events:none;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)}:host([disabled]){pointer-events:none;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)}.icon{padding-left:0px;padding-right:0px}";
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 rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-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;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-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}: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-30ee4c25.js');
5
+ const index = require('./index-ca3ab5ae.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.2.1 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.5.0 | 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));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.2.1",
8
- "typescriptVersion": "5.1.6"
7
+ "version": "4.5.0",
8
+ "typescriptVersion": "5.2.2"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []
@@ -5,6 +5,7 @@ const hash = (s) => {
5
5
  }
6
6
  return h.toString();
7
7
  };
8
+ const randomInt = (max) => Math.floor(Math.random() * max);
8
9
  const unslugName = (name) => {
9
10
  var _a, _b, _c;
10
11
  return (_c = (_b = (_a = name.split('/')) === null || _a === void 0 ? void 0 : _a.slice(-1).pop()) === null || _b === void 0 ? void 0 : _b.replace(/-/g, ' ')) !== null && _c !== void 0 ? _c : name;
@@ -18,4 +19,11 @@ const setAttributeIfEmpty = (element, attribute, value) => {
18
19
  return value;
19
20
  };
20
21
  const hashValue = (value) => `${value}-${hash(value)}`;
21
- export { unslugName, setAttributeIfEmpty, hashValue, };
22
+ const hashRandomValue = (value) => {
23
+ const randomValue = randomInt(1000000);
24
+ if (value) {
25
+ return `${value}-${hash(randomValue.toString())}`;
26
+ }
27
+ return hash(randomValue.toString());
28
+ };
29
+ export { unslugName, setAttributeIfEmpty, hashRandomValue, hashValue, };
@@ -26,13 +26,13 @@ export class KeyboardManager {
26
26
  };
27
27
  this.attachEscapeBehavior = (callBack) => {
28
28
  this.escapeCallback = callBack;
29
- if (typeof window !== undefined) {
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 (typeof window !== undefined) {
35
+ if (window !== undefined) {
36
36
  window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
37
37
  }
38
38
  };
@@ -57,27 +57,27 @@
57
57
  outline-offset: var(--magma-outline-blur-offset);
58
58
  outline: var(--magma-outline-blur);
59
59
  transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
60
- box-sizing: border-box;
61
- display: inline-flex;
62
- flex-shrink: 0;
63
- cursor: pointer;
64
- -webkit-user-select: none;
65
- -moz-user-select: none;
66
- user-select: none;
67
- align-items: center;
68
- justify-content: center;
69
60
  padding-left: 0.75rem;
70
61
  padding-right: 0.75rem;
71
62
  transition-duration: 200ms;
72
63
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
73
64
 
65
+ align-items: center;
74
66
  background-color: var(--mds-paginator-item-background);
75
67
  border-radius: var(--mds-paginator-item-radius);
76
68
  box-shadow: var(--mds-paginator-item-shadow);
69
+ box-sizing: border-box;
77
70
  color: var(--mds-paginator-item-color);
71
+ cursor: pointer;
72
+ display: inline-flex;
73
+ flex-shrink: 0;
78
74
  height: var(--mds-paginator-item-size);
75
+ justify-content: center;
79
76
  min-width: var(--mds-paginator-item-size);
80
77
  transition-property: background-color, box-shadow, color, outline, outline-offset;
78
+ -webkit-user-select: none;
79
+ -moz-user-select: none;
80
+ user-select: none;
81
81
  }
82
82
 
83
83
  :host( :focus-visible ) {
@@ -98,24 +98,20 @@
98
98
  padding: 0px;
99
99
  }
100
100
 
101
- :host( [selected] ){
102
-
103
- pointer-events: none;
104
-
101
+ :host( [selected] ) {
105
102
  background-color: var(--mds-paginator-item-background-selected);
106
103
  box-shadow: var(--mds-paginator-item-shadow-selected);
107
104
  color: var(--mds-paginator-item-color-selected);
108
105
  fill: var(--mds-paginator-item-color-selected);
109
- }
110
-
111
- :host( [disabled] ){
112
-
113
106
  pointer-events: none;
107
+ }
114
108
 
109
+ :host( [disabled] ) {
115
110
  background-color: var(--mds-paginator-item-background-disabled);
116
111
  box-shadow: var(--mds-paginator-item-shadow-disabled);
117
112
  color: var(--mds-paginator-item-color-disabled);
118
113
  fill: var(--mds-paginator-item-color-disabled);
114
+ pointer-events: none;
119
115
  }
120
116
 
121
117
  .icon{
@@ -28,20 +28,20 @@ class KeyboardManager {
28
28
  };
29
29
  this.attachEscapeBehavior = (callBack) => {
30
30
  this.escapeCallback = callBack;
31
- if (typeof window !== undefined) {
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 (typeof window !== undefined) {
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 rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-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-box-sizing:border-box;box-sizing:border-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;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);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);color:var(--mds-paginator-item-color);height:var(--mds-paginator-item-size);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}:host(:focus-visible){--magma-outline-blur-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}: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]){pointer-events:none;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)}:host([disabled]){pointer-events:none;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)}.icon{padding-left:0px;padding-right:0px}";
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 rgba(0, 0, 0, 0.06), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);--mds-paginator-item-shadow:none;--mds-paginator-item-size:2.25rem;outline-offset:var(--magma-outline-blur-offset);outline:var(--magma-outline-blur);-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;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-offset:var(--magma-outline-focus-offset);--magma-outline-blur:var(--magma-outline-focus)}: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() {
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-09-18T09:19:06",
2
+ "timestamp": "2023-10-19T09:55:48",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.2.1",
6
- "typescriptVersion": "5.1.6"
5
+ "version": "4.5.0",
6
+ "typescriptVersion": "5.2.2"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -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 */;
@@ -1024,6 +1028,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1024
1028
  * @returns a reference to the same constructor passed in (but now mutated)
1025
1029
  */
1026
1030
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1031
+ var _a;
1027
1032
  if (cmpMeta.$members$) {
1028
1033
  // It's better to have a const than two Object.entries()
1029
1034
  const members = Object.entries(cmpMeta.$members$);
@@ -1048,7 +1053,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1048
1053
  });
1049
1054
  if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1050
1055
  const attrNameToPropName = new Map();
1051
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1056
+ prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1052
1057
  plt.jmp(() => {
1053
1058
  const propName = attrNameToPropName.get(attrName);
1054
1059
  // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
@@ -1096,26 +1101,65 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1096
1101
  // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1097
1102
  return;
1098
1103
  }
1104
+ else if (propName == null) {
1105
+ // At this point we should know this is not a "member", so we can treat it like watching an attribute
1106
+ // on a vanilla web component
1107
+ const hostRef = getHostRef(this);
1108
+ const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;
1109
+ // We only want to trigger the callback(s) if:
1110
+ // 1. The instance is ready
1111
+ // 2. The watchers are ready
1112
+ // 3. The value has changed
1113
+ if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1114
+ flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1115
+ newValue !== oldValue) {
1116
+ const instance = hostRef.$lazyInstance$ ;
1117
+ const entry = cmpMeta.$watchers$[attrName];
1118
+ entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1119
+ if (instance[callbackName] != null) {
1120
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1121
+ }
1122
+ });
1123
+ }
1124
+ return;
1125
+ }
1099
1126
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1100
1127
  });
1101
1128
  };
1102
- // create an array of attributes to observe
1103
- // and also create a map of html attribute name to js property name
1104
- Cstr.observedAttributes = members
1105
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1106
- .map(([propName, m]) => {
1107
- const attrName = m[1] || propName;
1108
- attrNameToPropName.set(attrName, propName);
1109
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1110
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1111
- }
1112
- return attrName;
1113
- });
1129
+ // Create an array of attributes to observe
1130
+ // This list in comprised of all strings used within a `@Watch()` decorator
1131
+ // on a component as well as any Stencil-specific "members" (`@Prop()`s and `@State()`s).
1132
+ // As such, there is no way to guarantee type-safety here that a user hasn't entered
1133
+ // an invalid attribute.
1134
+ Cstr.observedAttributes = Array.from(new Set([
1135
+ ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),
1136
+ ...members
1137
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
1138
+ .map(([propName, m]) => {
1139
+ const attrName = m[1] || propName;
1140
+ attrNameToPropName.set(attrName, propName);
1141
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1142
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1143
+ }
1144
+ return attrName;
1145
+ }),
1146
+ ]));
1114
1147
  }
1115
1148
  }
1116
1149
  return Cstr;
1117
1150
  };
1118
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
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;
1119
1163
  // initializeComponent
1120
1164
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1121
1165
  // Let the runtime know that the component has been initialized
@@ -1350,22 +1394,49 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1350
1394
  * @returns void
1351
1395
  */
1352
1396
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1397
+ /**
1398
+ * A WeakMap mapping runtime component references to their corresponding host reference
1399
+ * instances.
1400
+ */
1353
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
+ */
1354
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
+ */
1355
1417
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1356
- const registerHost = (elm, cmpMeta) => {
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) => {
1357
1428
  const hostRef = {
1358
1429
  $flags$: 0,
1359
- $hostElement$: elm,
1430
+ $hostElement$: hostElement,
1360
1431
  $cmpMeta$: cmpMeta,
1361
1432
  $instanceValues$: new Map(),
1362
1433
  };
1363
1434
  {
1364
1435
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1365
- elm['s-p'] = [];
1366
- elm['s-rc'] = [];
1436
+ hostElement['s-p'] = [];
1437
+ hostElement['s-rc'] = [];
1367
1438
  }
1368
- return hostRefs.set(elm, hostRef);
1439
+ return hostRefs.set(hostElement, hostRef);
1369
1440
  };
1370
1441
  const isMemberInElement = (elm, memberName) => memberName in elm;
1371
1442
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1378,7 +1449,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1378
1449
  if (module) {
1379
1450
  return module[exportName];
1380
1451
  }
1381
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
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
+ }
1382
1466
  return import(
1383
1467
  /* @vite-ignore */
1384
1468
  /* webpackInclude: /\.entry\.js$/ */
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-3fa51808.js';
2
- export { s as setNonce } from './index-3fa51808.js';
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;