@maggioli-design-system/mds-table-row 4.2.0 → 4.2.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 (49) hide show
  1. package/dist/cjs/{index-bf51ecaa.js → index-2800b46e.js} +115 -21
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-table-row.cjs.entry.js +1 -1
  4. package/dist/cjs/mds-table-row.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-table-row/mds-table-row.css +0 -7
  9. package/dist/documentation.json +3 -3
  10. package/dist/esm/{index-627212b2.js → index-850d0543.js} +115 -21
  11. package/dist/esm/loader.js +2 -2
  12. package/dist/esm/mds-table-row.entry.js +1 -1
  13. package/dist/esm/mds-table-row.js +3 -3
  14. package/dist/esm-es5/index-850d0543.js +1 -0
  15. package/dist/esm-es5/loader.js +1 -1
  16. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  17. package/dist/esm-es5/mds-table-row.js +1 -1
  18. package/dist/mds-table-row/mds-table-row.esm.js +1 -1
  19. package/dist/mds-table-row/mds-table-row.js +1 -1
  20. package/dist/mds-table-row/p-084e05de.system.js +2 -0
  21. package/dist/mds-table-row/p-514bb1b7.js +2 -0
  22. package/{www/build/p-792ca9b5.entry.js → dist/mds-table-row/p-b0584083.entry.js} +1 -1
  23. package/dist/mds-table-row/p-ce48ed66.system.js +1 -0
  24. package/dist/mds-table-row/{p-ad55a7c6.system.entry.js → p-e74701f9.system.entry.js} +1 -1
  25. package/dist/stats.json +27 -25
  26. package/dist/types/common/aria.d.ts +2 -1
  27. package/dist/types/stencil-public-runtime.d.ts +19 -0
  28. package/documentation.json +15 -5
  29. package/package.json +4 -4
  30. package/readme.md +3 -1
  31. package/src/common/aria.ts +12 -0
  32. package/src/common/keyboard-manager.ts +2 -2
  33. package/src/components/mds-table-row/mds-table-row.css +1 -1
  34. package/src/components/mds-table-row/readme.md +1 -1
  35. package/src/fixtures/icons.json +2 -0
  36. package/www/build/mds-table-row.esm.js +1 -1
  37. package/www/build/mds-table-row.js +1 -1
  38. package/www/build/p-084e05de.system.js +2 -0
  39. package/www/build/p-514bb1b7.js +2 -0
  40. package/{dist/mds-table-row/p-792ca9b5.entry.js → www/build/p-b0584083.entry.js} +1 -1
  41. package/www/build/p-ce48ed66.system.js +1 -0
  42. package/www/build/{p-ad55a7c6.system.entry.js → p-e74701f9.system.entry.js} +1 -1
  43. package/dist/esm-es5/index-627212b2.js +0 -2
  44. package/dist/mds-table-row/p-94ed7d2d.system.js +0 -2
  45. package/dist/mds-table-row/p-caa45624.js +0 -2
  46. package/dist/mds-table-row/p-f2dd20fa.system.js +0 -1
  47. package/www/build/p-94ed7d2d.system.js +0 -2
  48. package/www/build/p-caa45624.js +0 -2
  49. package/www/build/p-f2dd20fa.system.js +0 -1
@@ -903,6 +903,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
903
903
  */
904
904
  const callRender = (hostRef, instance, elm, isInitialLoad) => {
905
905
  try {
906
+ /**
907
+ * minification optimization: `allRenderFn` is `true` if all components have a `render`
908
+ * method, so we can call the method immediately. If not, check before calling it.
909
+ */
906
910
  instance = instance.render() ;
907
911
  {
908
912
  hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
@@ -972,6 +976,16 @@ const appDidLoad = (who) => {
972
976
  }
973
977
  nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
974
978
  };
979
+ /**
980
+ * Allows to safely call a method, e.g. `componentDidLoad`, on an instance,
981
+ * e.g. custom element node. If a build figures out that e.g. no component
982
+ * has a `componentDidLoad` method, the instance method gets removed from the
983
+ * output bundle and this function returns `undefined`.
984
+ * @param instance any object that may or may not contain methods
985
+ * @param method method name
986
+ * @param arg single arbitrary argument
987
+ * @returns result of method call if it exists, otherwise `undefined`
988
+ */
975
989
  const safeCall = (instance, method, arg) => {
976
990
  if (instance && instance[method]) {
977
991
  try {
@@ -1022,6 +1036,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1022
1036
  * @returns a reference to the same constructor passed in (but now mutated)
1023
1037
  */
1024
1038
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1039
+ var _a;
1025
1040
  if (cmpMeta.$members$) {
1026
1041
  // It's better to have a const than two Object.entries()
1027
1042
  const members = Object.entries(cmpMeta.$members$);
@@ -1046,7 +1061,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1046
1061
  });
1047
1062
  if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1048
1063
  const attrNameToPropName = new Map();
1049
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1064
+ prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1050
1065
  plt.jmp(() => {
1051
1066
  const propName = attrNameToPropName.get(attrName);
1052
1067
  // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
@@ -1094,26 +1109,65 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1094
1109
  // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1095
1110
  return;
1096
1111
  }
1112
+ else if (propName == null) {
1113
+ // At this point we should know this is not a "member", so we can treat it like watching an attribute
1114
+ // on a vanilla web component
1115
+ const hostRef = getHostRef(this);
1116
+ const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;
1117
+ // We only want to trigger the callback(s) if:
1118
+ // 1. The instance is ready
1119
+ // 2. The watchers are ready
1120
+ // 3. The value has changed
1121
+ if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1122
+ flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1123
+ newValue !== oldValue) {
1124
+ const instance = hostRef.$lazyInstance$ ;
1125
+ const entry = cmpMeta.$watchers$[attrName];
1126
+ entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1127
+ if (instance[callbackName] != null) {
1128
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1129
+ }
1130
+ });
1131
+ }
1132
+ return;
1133
+ }
1097
1134
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1098
1135
  });
1099
1136
  };
1100
- // create an array of attributes to observe
1101
- // and also create a map of html attribute name to js property name
1102
- Cstr.observedAttributes = members
1103
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1104
- .map(([propName, m]) => {
1105
- const attrName = m[1] || propName;
1106
- attrNameToPropName.set(attrName, propName);
1107
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1108
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1109
- }
1110
- return attrName;
1111
- });
1137
+ // Create an array of attributes to observe
1138
+ // This list in comprised of all strings used within a `@Watch()` decorator
1139
+ // on a component as well as any Stencil-specific "members" (`@Prop()`s and `@State()`s).
1140
+ // As such, there is no way to guarantee type-safety here that a user hasn't entered
1141
+ // an invalid attribute.
1142
+ Cstr.observedAttributes = Array.from(new Set([
1143
+ ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),
1144
+ ...members
1145
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
1146
+ .map(([propName, m]) => {
1147
+ const attrName = m[1] || propName;
1148
+ attrNameToPropName.set(attrName, propName);
1149
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1150
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1151
+ }
1152
+ return attrName;
1153
+ }),
1154
+ ]));
1112
1155
  }
1113
1156
  }
1114
1157
  return Cstr;
1115
1158
  };
1116
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1159
+ /**
1160
+ * Initialize a Stencil component given a reference to its host element, its
1161
+ * runtime bookkeeping data structure, runtime metadata about the component,
1162
+ * and (optionally) an HMR version ID.
1163
+ *
1164
+ * @param elm a host element
1165
+ * @param hostRef the element's runtime bookkeeping object
1166
+ * @param cmpMeta runtime metadata for the Stencil component
1167
+ * @param hmrVersionId an (optional) HMR version ID
1168
+ */
1169
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1170
+ let Cstr;
1117
1171
  // initializeComponent
1118
1172
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1119
1173
  // Let the runtime know that the component has been initialized
@@ -1395,23 +1449,50 @@ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !==
1395
1449
  * @returns void
1396
1450
  */
1397
1451
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1452
+ /**
1453
+ * A WeakMap mapping runtime component references to their corresponding host reference
1454
+ * instances.
1455
+ */
1398
1456
  const hostRefs = /*@__PURE__*/ new WeakMap();
1457
+ /**
1458
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
1459
+ *
1460
+ * @param ref the runtime ref of interest
1461
+ * @returns the Host reference (if found) or undefined
1462
+ */
1399
1463
  const getHostRef = (ref) => hostRefs.get(ref);
1464
+ /**
1465
+ * Register a lazy instance with the {@link hostRefs} object so it's
1466
+ * corresponding {@link d.HostRef} can be retrieved later.
1467
+ *
1468
+ * @param lazyInstance the lazy instance of interest
1469
+ * @param hostRef that instances `HostRef` object
1470
+ * @returns a reference to the host ref WeakMap
1471
+ */
1400
1472
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1401
- const registerHost = (elm, cmpMeta) => {
1473
+ /**
1474
+ * Register a host element for a Stencil component, setting up various metadata
1475
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
1476
+ * metadata.
1477
+ *
1478
+ * @param hostElement the host element to register
1479
+ * @param cmpMeta runtime metadata for that component
1480
+ * @returns a reference to the host ref WeakMap
1481
+ */
1482
+ const registerHost = (hostElement, cmpMeta) => {
1402
1483
  const hostRef = {
1403
1484
  $flags$: 0,
1404
- $hostElement$: elm,
1485
+ $hostElement$: hostElement,
1405
1486
  $cmpMeta$: cmpMeta,
1406
1487
  $instanceValues$: new Map(),
1407
1488
  };
1408
1489
  {
1409
1490
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1410
- elm['s-p'] = [];
1411
- elm['s-rc'] = [];
1491
+ hostElement['s-p'] = [];
1492
+ hostElement['s-rc'] = [];
1412
1493
  }
1413
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1414
- return hostRefs.set(elm, hostRef);
1494
+ addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$);
1495
+ return hostRefs.set(hostElement, hostRef);
1415
1496
  };
1416
1497
  const isMemberInElement = (elm, memberName) => memberName in elm;
1417
1498
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1424,7 +1505,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1424
1505
  if (module) {
1425
1506
  return module[exportName];
1426
1507
  }
1427
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1508
+
1509
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1510
+ const processMod = importedModule => {
1511
+ cmpModules.set(bundleId, importedModule);
1512
+ return importedModule[exportName];
1513
+ }
1514
+ switch(bundleId) {
1515
+
1516
+ case 'mds-table-row.cjs':
1517
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1518
+ /* webpackMode: "lazy" */
1519
+ './mds-table-row.cjs.entry.js')); }).then(processMod, consoleError);
1520
+ }
1521
+ }
1428
1522
  return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
1429
1523
  /* @vite-ignore */
1430
1524
  /* webpackInclude: /\.entry\.js$/ */
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf51ecaa.js');
5
+ const index = require('./index-2800b46e.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-bf51ecaa.js');
5
+ const index = require('./index-2800b46e.js');
6
6
 
7
7
  const mdsTableRowCss = ".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{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";
8
8
 
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf51ecaa.js');
5
+ const index = require('./index-2800b46e.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-table-row.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
  };
@@ -1,29 +1,22 @@
1
1
  .fixed {
2
-
3
2
  position: fixed;
4
3
  }
5
4
 
6
5
  .absolute {
7
-
8
6
  position: absolute;
9
7
  }
10
8
 
11
9
  .border {
12
-
13
10
  border-width: 1px;
14
11
  }
15
12
 
16
13
  .shadow {
17
-
18
14
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
19
-
20
15
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
21
-
22
16
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
23
17
  }
24
18
 
25
19
  :host {
26
-
27
20
  display: table-row;
28
21
  }
29
22
 
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2023-09-18T09:22:32",
2
+ "timestamp": "2023-10-19T09:59:51",
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
  {
@@ -881,6 +881,10 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
881
881
  */
882
882
  const callRender = (hostRef, instance, elm, isInitialLoad) => {
883
883
  try {
884
+ /**
885
+ * minification optimization: `allRenderFn` is `true` if all components have a `render`
886
+ * method, so we can call the method immediately. If not, check before calling it.
887
+ */
884
888
  instance = instance.render() ;
885
889
  {
886
890
  hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
@@ -950,6 +954,16 @@ const appDidLoad = (who) => {
950
954
  }
951
955
  nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
952
956
  };
957
+ /**
958
+ * Allows to safely call a method, e.g. `componentDidLoad`, on an instance,
959
+ * e.g. custom element node. If a build figures out that e.g. no component
960
+ * has a `componentDidLoad` method, the instance method gets removed from the
961
+ * output bundle and this function returns `undefined`.
962
+ * @param instance any object that may or may not contain methods
963
+ * @param method method name
964
+ * @param arg single arbitrary argument
965
+ * @returns result of method call if it exists, otherwise `undefined`
966
+ */
953
967
  const safeCall = (instance, method, arg) => {
954
968
  if (instance && instance[method]) {
955
969
  try {
@@ -1000,6 +1014,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1000
1014
  * @returns a reference to the same constructor passed in (but now mutated)
1001
1015
  */
1002
1016
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1017
+ var _a;
1003
1018
  if (cmpMeta.$members$) {
1004
1019
  // It's better to have a const than two Object.entries()
1005
1020
  const members = Object.entries(cmpMeta.$members$);
@@ -1024,7 +1039,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1024
1039
  });
1025
1040
  if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1026
1041
  const attrNameToPropName = new Map();
1027
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1042
+ prototype.attributeChangedCallback = function (attrName, oldValue, newValue) {
1028
1043
  plt.jmp(() => {
1029
1044
  const propName = attrNameToPropName.get(attrName);
1030
1045
  // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
@@ -1072,26 +1087,65 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1072
1087
  // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1073
1088
  return;
1074
1089
  }
1090
+ else if (propName == null) {
1091
+ // At this point we should know this is not a "member", so we can treat it like watching an attribute
1092
+ // on a vanilla web component
1093
+ const hostRef = getHostRef(this);
1094
+ const flags = hostRef === null || hostRef === void 0 ? void 0 : hostRef.$flags$;
1095
+ // We only want to trigger the callback(s) if:
1096
+ // 1. The instance is ready
1097
+ // 2. The watchers are ready
1098
+ // 3. The value has changed
1099
+ if (!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) &&
1100
+ flags & 128 /* HOST_FLAGS.isWatchReady */ &&
1101
+ newValue !== oldValue) {
1102
+ const instance = hostRef.$lazyInstance$ ;
1103
+ const entry = cmpMeta.$watchers$[attrName];
1104
+ entry === null || entry === void 0 ? void 0 : entry.forEach((callbackName) => {
1105
+ if (instance[callbackName] != null) {
1106
+ instance[callbackName].call(instance, newValue, oldValue, attrName);
1107
+ }
1108
+ });
1109
+ }
1110
+ return;
1111
+ }
1075
1112
  this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1076
1113
  });
1077
1114
  };
1078
- // create an array of attributes to observe
1079
- // and also create a map of html attribute name to js property name
1080
- Cstr.observedAttributes = members
1081
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1082
- .map(([propName, m]) => {
1083
- const attrName = m[1] || propName;
1084
- attrNameToPropName.set(attrName, propName);
1085
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1086
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1087
- }
1088
- return attrName;
1089
- });
1115
+ // Create an array of attributes to observe
1116
+ // This list in comprised of all strings used within a `@Watch()` decorator
1117
+ // on a component as well as any Stencil-specific "members" (`@Prop()`s and `@State()`s).
1118
+ // As such, there is no way to guarantee type-safety here that a user hasn't entered
1119
+ // an invalid attribute.
1120
+ Cstr.observedAttributes = Array.from(new Set([
1121
+ ...Object.keys((_a = cmpMeta.$watchers$) !== null && _a !== void 0 ? _a : {}),
1122
+ ...members
1123
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */)
1124
+ .map(([propName, m]) => {
1125
+ const attrName = m[1] || propName;
1126
+ attrNameToPropName.set(attrName, propName);
1127
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1128
+ cmpMeta.$attrsToReflect$.push([propName, attrName]);
1129
+ }
1130
+ return attrName;
1131
+ }),
1132
+ ]));
1090
1133
  }
1091
1134
  }
1092
1135
  return Cstr;
1093
1136
  };
1094
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1137
+ /**
1138
+ * Initialize a Stencil component given a reference to its host element, its
1139
+ * runtime bookkeeping data structure, runtime metadata about the component,
1140
+ * and (optionally) an HMR version ID.
1141
+ *
1142
+ * @param elm a host element
1143
+ * @param hostRef the element's runtime bookkeeping object
1144
+ * @param cmpMeta runtime metadata for the Stencil component
1145
+ * @param hmrVersionId an (optional) HMR version ID
1146
+ */
1147
+ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1148
+ let Cstr;
1095
1149
  // initializeComponent
1096
1150
  if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1097
1151
  // Let the runtime know that the component has been initialized
@@ -1373,23 +1427,50 @@ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !==
1373
1427
  * @returns void
1374
1428
  */
1375
1429
  const setNonce = (nonce) => (plt.$nonce$ = nonce);
1430
+ /**
1431
+ * A WeakMap mapping runtime component references to their corresponding host reference
1432
+ * instances.
1433
+ */
1376
1434
  const hostRefs = /*@__PURE__*/ new WeakMap();
1435
+ /**
1436
+ * Given a {@link d.RuntimeRef} retrieve the corresponding {@link d.HostRef}
1437
+ *
1438
+ * @param ref the runtime ref of interest
1439
+ * @returns the Host reference (if found) or undefined
1440
+ */
1377
1441
  const getHostRef = (ref) => hostRefs.get(ref);
1442
+ /**
1443
+ * Register a lazy instance with the {@link hostRefs} object so it's
1444
+ * corresponding {@link d.HostRef} can be retrieved later.
1445
+ *
1446
+ * @param lazyInstance the lazy instance of interest
1447
+ * @param hostRef that instances `HostRef` object
1448
+ * @returns a reference to the host ref WeakMap
1449
+ */
1378
1450
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1379
- const registerHost = (elm, cmpMeta) => {
1451
+ /**
1452
+ * Register a host element for a Stencil component, setting up various metadata
1453
+ * and callbacks based on {@link BUILD} flags as well as the component's runtime
1454
+ * metadata.
1455
+ *
1456
+ * @param hostElement the host element to register
1457
+ * @param cmpMeta runtime metadata for that component
1458
+ * @returns a reference to the host ref WeakMap
1459
+ */
1460
+ const registerHost = (hostElement, cmpMeta) => {
1380
1461
  const hostRef = {
1381
1462
  $flags$: 0,
1382
- $hostElement$: elm,
1463
+ $hostElement$: hostElement,
1383
1464
  $cmpMeta$: cmpMeta,
1384
1465
  $instanceValues$: new Map(),
1385
1466
  };
1386
1467
  {
1387
1468
  hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
1388
- elm['s-p'] = [];
1389
- elm['s-rc'] = [];
1469
+ hostElement['s-p'] = [];
1470
+ hostElement['s-rc'] = [];
1390
1471
  }
1391
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1392
- return hostRefs.set(elm, hostRef);
1472
+ addHostEventListeners(hostElement, hostRef, cmpMeta.$listeners$);
1473
+ return hostRefs.set(hostElement, hostRef);
1393
1474
  };
1394
1475
  const isMemberInElement = (elm, memberName) => memberName in elm;
1395
1476
  const consoleError = (e, el) => (0, console.error)(e, el);
@@ -1402,7 +1483,20 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1402
1483
  if (module) {
1403
1484
  return module[exportName];
1404
1485
  }
1405
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
1486
+
1487
+ if (!hmrVersionId || !BUILD.hotModuleReplacement) {
1488
+ const processMod = importedModule => {
1489
+ cmpModules.set(bundleId, importedModule);
1490
+ return importedModule[exportName];
1491
+ }
1492
+ switch(bundleId) {
1493
+
1494
+ case 'mds-table-row':
1495
+ return import(
1496
+ /* webpackMode: "lazy" */
1497
+ './mds-table-row.entry.js').then(processMod, consoleError);
1498
+ }
1499
+ }
1406
1500
  return import(
1407
1501
  /* @vite-ignore */
1408
1502
  /* webpackInclude: /\.entry\.js$/ */
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-627212b2.js';
2
- export { s as setNonce } from './index-627212b2.js';
1
+ import { b as bootstrapLazy } from './index-850d0543.js';
2
+ export { s as setNonce } from './index-850d0543.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 } from './index-627212b2.js';
1
+ import { r as registerInstance, h, H as Host } from './index-850d0543.js';
2
2
 
3
3
  const mdsTableRowCss = ".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{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";
4
4
 
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-627212b2.js';
2
- export { s as setNonce } from './index-627212b2.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-850d0543.js';
2
+ export { s as setNonce } from './index-850d0543.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.2.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.5.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(n,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r))e[r]=n[r]};return e(n,r)};return function(n,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(n,r);function t(){this.constructor=n}n.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(e,n,r,t){function i(e){return e instanceof r?e:new r((function(n){n(e)}))}return new(r||(r=Promise))((function(r,a){function o(e){try{f(t.next(e))}catch(e){a(e)}}function u(e){try{f(t["throw"](e))}catch(e){a(e)}}function f(e){e.done?r(e.value):i(e.value).then(o,u)}f((t=t.apply(e,n||[])).next())}))};var __generator=this&&this.__generator||function(e,n){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(n){return f([e,n])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=n.call(e,r)}catch(e){u=[6,e];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,n,r){if(r||arguments.length===2)for(var t=0,i=n.length,a;t<i;t++){if(a||!(t in n)){if(!a)a=Array.prototype.slice.call(n,0,t);a[t]=n[t]}}return e.concat(a||Array.prototype.slice.call(n))};var NAMESPACE="mds-table-row";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 i=null;var a=false;var o=false;var u=[];var f=function(n){for(var r=0;r<n.length;r++){i=n[r];if(Array.isArray(i)){f(i)}else if(i!=null&&typeof i!=="boolean"){if(a=typeof e!=="function"&&!isComplexType(i)){i=String(i)}if(a&&o){u[u.length-1].t+=i}else{u.push(a?newVNode(null,i):i)}o=a}}};f(r);var s=newVNode(e,null);s.i=n;if(u.length>0){s.o=u}return s};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}return e}return e};var emitEvent=function(e,n,r){var t=plt.ce(n,r);e.dispatchEvent(t);return t};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,n,r){var t=styles.get(e);if(supportsConstructableStylesheets&&r){t=t||new CSSStyleSheet;if(typeof t==="string"){t=n}else{t.replaceSync(n)}}else{t=n}styles.set(e,t)};var addStyle=function(e,n,r){var t;var i=getScopeId(n);var a=styles.get(i);e=e.nodeType===11?e:doc;if(a){if(typeof a==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var u=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(i)){{u=doc.createElement("style");u.innerHTML=a;var f=(t=plt.p)!==null&&t!==void 0?t:queryNonceMetaTagContent(doc);if(f!=null){u.setAttribute("nonce",f)}e.insertBefore(u,e.querySelector("link"))}if(o){o.add(i)}}}else if(!e.adoptedStyleSheets.includes(a)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[a],false)}}return i};var attachStyles=function(e){var n=e.m;var r=e.$hostElement$;var t=n.u;var i=createTime("attachStyles",n.h);var a=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),n);if(t&10){r["s-sc"]=a;r.classList.add(a+"-h")}i()};var getScopeId=function(e,n){return"sc-"+e.h};var setAccessor=function(e,n,r,t,i,a){if(r!==t){var o=isMemberInElement(e,n);n.toLowerCase();{var u=isComplexType(t);if((o||u&&t!==null)&&!i){try{if(!e.tagName.includes("-")){var f=t==null?"":t;if(n==="list"){o=false}else if(r==null||e[n]!=f){e[n]=f}}else{e[n]=t}}catch(e){}}if(t==null||t===false){if(t!==false||e.getAttribute(n)===""){{e.removeAttribute(n)}}}else if((!o||a&4||i)&&!u){t=t===true?"":t;{e.setAttribute(n,t)}}}}};var updateElement=function(e,n,r,t){var i=n.v.nodeType===11&&n.v.host?n.v.host:n.v;var a=e&&e.i||EMPTY_OBJ;var o=n.i||EMPTY_OBJ;{for(t in a){if(!(t in o)){setAccessor(i,t,a[t],undefined,r,n.u)}}}for(t in o){setAccessor(i,t,a[t],o[t],r,n.u)}};var createElm=function(e,n,r,t){var i=n.o[r];var a=0;var o;var u;{o=i.v=doc.createElement(i.l);{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(i.o){for(a=0;a<i.o.length;++a){u=createElm(e,i,a);if(u){o.appendChild(u)}}}}return o};var addVnodes=function(e,n,r,t,i,a){var o=e;var u;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=createElm(null,r,i);if(u){t[i].v=u;o.insertBefore(u,n)}}}};var removeVnodes=function(e,n,r){for(var t=n;t<=r;++t){var i=e[t];if(i){var a=i.v;if(a){a.remove()}}}};var updateChildren=function(e,n,r,t){var i=0;var a=0;var o=n.length-1;var u=n[0];var f=n[o];var s=t.length-1;var c=t[0];var l=t[s];var v;while(i<=o&&a<=s){if(u==null){u=n[++i]}else if(f==null){f=n[--o]}else if(c==null){c=t[++a]}else if(l==null){l=t[--s]}else if(isSameVnode(u,c)){patch(u,c);u=n[++i];c=t[++a]}else if(isSameVnode(f,l)){patch(f,l);f=n[--o];l=t[--s]}else if(isSameVnode(u,l)){patch(u,l);e.insertBefore(u.v,f.v.nextSibling);u=n[++i];l=t[--s]}else if(isSameVnode(f,c)){patch(f,c);e.insertBefore(f.v,u.v);f=n[--o];c=t[++a]}else{{v=createElm(n&&n[a],r,a);c=t[++a]}if(v){{u.v.parentNode.insertBefore(v,u.v)}}}}if(i>o){addVnodes(e,t[s+1]==null?null:t[s+1].v,r,t,a,s)}else if(a>s){removeVnodes(n,i,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 i=n.o;var a=n.l;{{if(a==="slot");else{updateElement(e,n,isSvgMode)}}if(t!==null&&i!==null){updateChildren(r,t,n,i)}else if(i!==null){addVnodes(r,null,n,i,0,i.length-1)}else if(t!==null){removeVnodes(t,0,t.length-1)}}};var renderVdom=function(e,n,r){if(r===void 0){r=false}var t=e.$hostElement$;var i=e.m;var a=e.S||newVNode(null,null);var o=isHost(n)?n:h(null,null,n);hostTagName=t.tagName;if(i.T){o.i=o.i||{};i.T.map((function(e){var n=e[0],r=e[1];return o.i[r]=t[n]}))}if(r&&o.i){for(var u=0,f=Object.keys(o.i);u<f.length;u++){var s=f[u];if(t.hasAttribute(s)&&!["key","ref","style","class"].includes(s)){o.i[s]=t[s]}}}o.l=null;o.u|=4;e.S=o;o.v=a.v=t.shadowRoot||t;{scopeId=t["s-sc"]}patch(a,o)};var attachToAncestor=function(e,n){if(n&&!e.C&&n["s-p"]){n["s-p"].push(new Promise((function(n){return e.C=n})))}};var scheduleUpdate=function(e,n){{e.u|=16}if(e.u&4){e.u|=512;return}attachToAncestor(e,e._);var r=function(){return dispatchHooks(e,n)};return writeTask(r)};var dispatchHooks=function(e,n){var r=createTime("scheduleUpdate",e.m.h);var t=e.$;var i;if(n){{e.u|=256;if(e.H){e.H.map((function(e){var n=e[0],r=e[1];return safeCall(t,n,r)}));e.H=undefined}}}r();return enqueue(i,(function(){return updateComponent(e,t,n)}))};var enqueue=function(e,n){return isPromisey(e)?e.then(n):n()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,n,r){return __awaiter(void 0,void 0,void 0,(function(){var t,i,a,o,u,f,s;return __generator(this,(function(c){i=e.$hostElement$;a=createTime("update",e.m.h);o=i["s-rc"];if(r){attachStyles(e)}u=createTime("render",e.m.h);{callRender(e,n,i,r)}if(o){o.map((function(e){return e()}));i["s-rc"]=undefined}u();a();{f=(t=i["s-p"])!==null&&t!==void 0?t:[];s=function(){return postUpdateComponent(e)};if(f.length===0){s()}else{Promise.all(f).then(s);e.u|=4;f.length=0}}return[2]}))}))};var callRender=function(e,n,r,t){try{n=n.render();{e.u&=~16}{e.u|=2}{{{renderVdom(e,n,t)}}}}catch(n){consoleError(n,e.$hostElement$)}return null};var postUpdateComponent=function(e){var n=e.m.h;var r=e.$hostElement$;var t=createTime("postUpdate",n);var i=e._;if(!(e.u&64)){e.u|=64;{addHydratedFlag(r)}t();{e.M(r);if(!i){appDidLoad()}}}else{t()}{if(e.C){e.C();e.C=undefined}if(e.u&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.u&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,n,r){if(e&&e[n]){try{return e[n](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.setAttribute("hydrated","")};var getValue=function(e,n){return getHostRef(e).k.get(n)};var setValue=function(e,n,r,t){var i=getHostRef(e);var a=i.k.get(n);var o=i.u;var u=i.$;r=parsePropertyValue(r,t.A[n][0]);var f=Number.isNaN(a)&&Number.isNaN(r);var s=r!==a&&!f;if((!(o&8)||a===undefined)&&s){i.k.set(n,r);if(u){if((o&(2|16))===2){scheduleUpdate(i,false)}}}};var proxyComponent=function(e,n,r){var t;if(n.A){var i=Object.entries(n.A);var a=e.prototype;i.map((function(e){var t=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,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;a.attributeChangedCallback=function(e,r,t){var i=this;plt.jmp((function(){var u=o.get(e);if(i.hasOwnProperty(u)){t=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==t){return}else if(u==null){var f=getHostRef(i);var s=f===null||f===void 0?void 0:f.u;if(!(s&8)&&s&128&&t!==r){var c=f.$;var l=n.V[e];l===null||l===void 0?void 0:l.forEach((function(n){if(c[n]!=null){c[n].call(c,t,r,e)}}))}return}i[u]=t===null&&typeof i[u]==="boolean"?false:t}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=n.V)!==null&&t!==void 0?t:{}),true),i.filter((function(e){var n=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],t=e[1];var i=t[1]||r;o.set(i,r);if(t[0]&512){n.T.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,n,r,t){return __awaiter(void 0,void 0,void 0,(function(){var e,t,i,a,o,u,f,s;return __generator(this,(function(c){switch(c.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=c.sent();t();c.label=2;case 2:if(!e.isProxied){proxyComponent(e,r,2);e.isProxied=true}i=createTime("createInstance",r.h);{n.u|=8}try{new e(n)}catch(e){consoleError(e)}{n.u&=~8}i();if(e.style){a=e.style;o=getScopeId(r);if(!styles.has(o)){u=createTime("registerStyles",r.h);registerStyle(o,a,!!(r.u&1));u()}}c.label=3;case 3:f=n._;s=function(){return scheduleUpdate(n,true)};if(f&&f["s-rc"]){f["s-rc"].push(s)}else{s()}return[2]}}))}))};var fireConnectedCallback=function(e){};var connectedCallback=function(e){if((plt.u&1)===0){var n=getHostRef(e);var r=n.m;var t=createTime("connectedCallback",r.h);if(!(n.u&1)){n.u|=1;{var i=e;while(i=i.parentNode||i.host){if(i["s-p"]){attachToAncestor(n,n._=i);break}}}if(r.A){Object.entries(r.A).map((function(n){var r=n[0],t=n[1][0];if(t&31&&e.hasOwnProperty(r)){var i=e[r];delete e[r];e[r]=i}}))}{initializeComponent(e,n,r)}}else{addHostEventListeners(e,n,r.R);if(n===null||n===void 0?void 0:n.$);else if(n===null||n===void 0?void 0:n.P){n.P.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.q){n.q.map((function(e){return e()}));n.q=undefined}}if(n===null||n===void 0?void 0:n.$);else if(n===null||n===void 0?void 0:n.P){n.P.then((function(){return disconnectInstance()}))}}return[2]}))}))};var bootstrapLazy=function(e,n){if(n===void 0){n={}}var r;var t=createTime();var i=[];var a=n.exclude||[];var o=win.customElements;var u=doc.head;var f=u.querySelector("meta[charset]");var s=doc.createElement("style");var c=[];var l;var v=true;Object.assign(plt,n);plt.L=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],R:n[3]};{r.A=n[2]}{r.R=n[3]}{r.T=[]}var t=r.h;var u=function(e){__extends(n,e);function n(n){var t=e.call(this,n)||this;n=t;registerHost(n,r);if(r.u&1){{{n.attachShadow({mode:"open"})}}}return t}n.prototype.connectedCallback=function(){var e=this;if(l){clearTimeout(l);l=null}if(v){c.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).P};return n}(HTMLElement);r.N=e[0];if(!a.includes(t)&&!o.get(t)){i.push(t);o.define(t,proxyComponent(u,r,1))}}))}));{s.innerHTML=i+HYDRATED_CSS;s.setAttribute("data-styles","");var d=(r=plt.p)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(d!=null){s.setAttribute("nonce",d)}u.insertBefore(s,f?f.nextSibling:u.firstChild)}v=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return l=setTimeout(appDidLoad,30)}))}}t()};var addHostEventListeners=function(e,n,r,t){if(r){r.map((function(r){var t=r[0],i=r[1],a=r[2];var o=getHostListenerTarget(e,t);var u=hostListenerProxy(n,a);var f=hostListenerOpts(t);plt.ael(o,i,u,f);(n.q=n.q||[]).push((function(){return plt.rel(o,i,u,f)}))}))}};var hostListenerProxy=function(e,n){return function(r){try{{if(e.u&256){e.$[n](r)}else{(e.H=e.H||[]).push([n,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,n){if(n&4)return doc;return e};var hostListenerOpts=function(e){return(e&2)!==0};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.P=new Promise((function(e){return r.M=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,n.R);return hostRefs.set(e,r)};var isMemberInElement=function(e,n){return n in e};var consoleError=function(e,n){return(0,console.error)(e,n)};var cmpModules=new Map;var loadModule=function(e,n,r){var t=e.h.replace(/-/g,"_");var i=e.N;var a=cmpModules.get(i);if(a){return a[t]}if(!r||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(i,e);return e[t]};switch(i){case"mds-table-row":return import("./mds-table-row.entry.js").then(o,consoleError)}}return import("./".concat(i,".entry.js").concat("")).then((function(e){{cmpModules.set(i,e)}return e[t]}),consoleError)};var styles=new Map;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={u:0,L:"",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,h,promiseResolve as p,registerInstance as r,setNonce as s};
@@ -1 +1 @@
1
- import{b as bootstrapLazy}from"./index-627212b2.js";export{s as setNonce}from"./index-627212b2.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-table-row",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],t)};export{defineCustomElements};
1
+ import{b as bootstrapLazy}from"./index-850d0543.js";export{s as setNonce}from"./index-850d0543.js";var defineCustomElements=function(e,t){if(typeof window==="undefined")return undefined;return bootstrapLazy([["mds-table-row",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],t)};export{defineCustomElements};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-627212b2.js";var mdsTableRowCss=".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{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";var MdsTableRow=function(){function o(o){registerInstance(this,o);this.interactive=undefined}o.prototype.tableInteractiveHandler=function(o){this.interactive=o.detail};o.prototype.render=function(){return h(Host,{role:"row"},h("slot",null))};return o}();MdsTableRow.style=mdsTableRowCss;export{MdsTableRow as mds_table_row};
1
+ import{r as registerInstance,h,H as Host}from"./index-850d0543.js";var mdsTableRowCss=".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{display:table-row}:host([interactive]:hover){--mds-table-cell-background:var(--mds-table-cell-background-hover, rgb(var(--tone-neutral)))}";var MdsTableRow=function(){function o(o){registerInstance(this,o);this.interactive=undefined}o.prototype.tableInteractiveHandler=function(o){this.interactive=o.detail};o.prototype.render=function(){return h(Host,{role:"row"},h("slot",null))};return o}();MdsTableRow.style=mdsTableRowCss;export{MdsTableRow as mds_table_row};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-627212b2.js";export{s as setNonce}from"./index-627212b2.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-table-row",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-850d0543.js";export{s as setNonce}from"./index-850d0543.js";var patchBrowser=function(){var e=import.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return promiseResolve(r)};patchBrowser().then((function(e){return bootstrapLazy([["mds-table-row",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],e)}));
@@ -1 +1 @@
1
- import{p as a,b as e}from"./p-caa45624.js";export{s as setNonce}from"./p-caa45624.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),a(t)})().then((a=>e([["p-792ca9b5",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],a)));
1
+ import{p as e,b as t}from"./p-514bb1b7.js";export{s as setNonce}from"./p-514bb1b7.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((e=>t([["p-b0584083",[[1,"mds-table-row",{interactive:[1540]},[[4,"mdsTableInteractiveChange","tableInteractiveHandler"]]]]]],e)));
@@ -115,7 +115,7 @@ DOMTokenList
115
115
  var resourcesUrl = scriptElm ? scriptElm.getAttribute('data-resources-url') || scriptElm.src : '';
116
116
  var start = function() {
117
117
  // if src is not present then origin is "null", and new URL() throws TypeError: Failed to construct 'URL': Invalid base URL
118
- var url = new URL('./p-f2dd20fa.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
118
+ var url = new URL('./p-ce48ed66.system.js', new URL(resourcesUrl, window.location.origin !== 'null' ? window.location.origin : undefined));
119
119
  System.import(url.href);
120
120
  };
121
121