@lmvz-ds/components 0.40.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/cjs/{aria-validation-controller-DKNXjnQr.js → aria-validation-controller-BR7cnyq5.js} +1 -1
  3. package/cjs/{ds.constants-C6eKRAEu.js → ds.constants-pI-qkOYv.js} +2 -0
  4. package/cjs/{index-DWy4nuyZ.js → index-BUrb__KL.js} +52 -11
  5. package/cjs/index.cjs.js +2 -1
  6. package/cjs/lmvz-action-list.cjs.entry.js +2 -2
  7. package/cjs/lmvz-action.cjs.entry.js +1 -1
  8. package/cjs/lmvz-button-group.cjs.entry.js +2 -2
  9. package/cjs/lmvz-button_2.cjs.entry.js +4 -4
  10. package/cjs/lmvz-card.cjs.entry.js +59 -15
  11. package/cjs/lmvz-checkbox.cjs.entry.js +3 -3
  12. package/cjs/lmvz-chip.cjs.entry.js +4 -4
  13. package/cjs/lmvz-components.cjs.js +3 -3
  14. package/cjs/lmvz-datepicker.cjs.entry.js +3 -3
  15. package/cjs/lmvz-header_2.cjs.entry.js +3 -3
  16. package/cjs/lmvz-input.cjs.entry.js +6 -7
  17. package/cjs/lmvz-link.cjs.entry.js +3 -3
  18. package/cjs/lmvz-menuitem.cjs.entry.js +3 -3
  19. package/cjs/lmvz-message.cjs.entry.js +2 -2
  20. package/cjs/lmvz-modal.cjs.entry.js +3 -3
  21. package/cjs/lmvz-popover.cjs.entry.js +2 -2
  22. package/cjs/lmvz-radio.cjs.entry.js +3 -3
  23. package/cjs/lmvz-select.cjs.entry.js +3 -3
  24. package/cjs/lmvz-snackbar.cjs.entry.js +2 -2
  25. package/cjs/lmvz-spinner.cjs.entry.js +3 -3
  26. package/cjs/lmvz-tab.cjs.entry.js +2 -2
  27. package/cjs/lmvz-tabs.cjs.entry.js +2 -2
  28. package/cjs/lmvz-toggle.cjs.entry.js +3 -3
  29. package/cjs/loader.cjs.js +2 -2
  30. package/collection/api/ds.constants.js +1 -0
  31. package/collection/api/public-utils.js +3 -0
  32. package/collection/collection-manifest.json +2 -3
  33. package/collection/components/lmvz-card/lmvz-card.css +82 -194
  34. package/collection/components/lmvz-card/lmvz-card.js +131 -38
  35. package/collection/components/lmvz-checkbox/lmvz-checkbox.js +1 -1
  36. package/collection/components/lmvz-chip/lmvz-chip.js +1 -1
  37. package/collection/components/lmvz-datepicker/lmvz-datepicker.js +2 -2
  38. package/collection/components/lmvz-header/lmvz-header.js +1 -1
  39. package/collection/components/lmvz-icon/lmvz-icon.js +7 -6
  40. package/collection/components/lmvz-input/lmvz-input.js +14 -35
  41. package/collection/components/lmvz-link/lmvz-link.js +1 -1
  42. package/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
  43. package/collection/components/lmvz-message/lmvz-message.js +1 -1
  44. package/collection/components/lmvz-modal/lmvz-modal.js +1 -1
  45. package/collection/components/lmvz-popover/lmvz-popover.js +1 -1
  46. package/collection/components/lmvz-radio/lmvz-radio.js +1 -1
  47. package/collection/components/lmvz-select/lmvz-select.js +1 -1
  48. package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
  49. package/collection/components/lmvz-spinner/lmvz-spinner.js +7 -6
  50. package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
  51. package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
  52. package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
  53. package/collection/index.js +1 -3
  54. package/components/index.js +1 -1
  55. package/components/lmvz-action-list.js +1 -1
  56. package/components/lmvz-action.js +1 -1
  57. package/components/lmvz-button-group.js +1 -1
  58. package/components/lmvz-button.js +1 -1
  59. package/components/lmvz-card.js +1 -1
  60. package/components/lmvz-checkbox.js +1 -1
  61. package/components/lmvz-chip.js +1 -1
  62. package/components/lmvz-datepicker.js +1 -1
  63. package/components/lmvz-header.js +1 -1
  64. package/components/lmvz-icon.js +1 -1
  65. package/components/lmvz-input.js +1 -1
  66. package/components/lmvz-link.js +1 -1
  67. package/components/lmvz-menuitem.js +1 -1
  68. package/components/lmvz-message.js +1 -1
  69. package/components/lmvz-modal.js +1 -1
  70. package/components/lmvz-popover.js +1 -1
  71. package/components/lmvz-radio.js +1 -1
  72. package/components/lmvz-select.js +1 -1
  73. package/components/lmvz-snackbar.js +1 -1
  74. package/components/lmvz-spinner.js +1 -1
  75. package/components/lmvz-tab.js +1 -1
  76. package/components/lmvz-tabs.js +1 -1
  77. package/components/lmvz-toggle.js +1 -1
  78. package/components/p-Buw_s-9k.js +1 -0
  79. package/components/p-CME20cTM.js +1 -0
  80. package/components/{p-DsTgD0_a.js → p-CPsPpCPH.js} +1 -1
  81. package/components/{p--mU29mrX.js → p-CUSmZDCK.js} +1 -1
  82. package/components/p-CbxNLroR.js +1 -0
  83. package/components/{p-DXFoXTse.js → p-CeGgx3Rl.js} +1 -1
  84. package/components/{p-DyQ1GbaN.js → p-D0S1O-Op.js} +1 -1
  85. package/components/{p-sACbyedu.js → p-DCFz070C.js} +1 -1
  86. package/components/p-DCYK_qaZ.js +1 -0
  87. package/components/{p-niXjuPxe.js → p-Wp9d5O3R.js} +1 -1
  88. package/components/{p-D_mff3n7.js → p-ctF-ydws.js} +1 -1
  89. package/components/{p-Bc5MM0zh.js → p-g_Ehzzvy.js} +1 -1
  90. package/esm/{aria-validation-controller-Dwv7n0rk.js → aria-validation-controller-uMqDgutI.js} +1 -1
  91. package/esm/{ds.constants-0ctLESas.js → ds.constants-Buw_s-9k.js} +2 -1
  92. package/esm/{index-DVab4vzV.js → index-wQ10Syko.js} +52 -11
  93. package/esm/index.js +1 -1
  94. package/esm/lmvz-action-list.entry.js +2 -2
  95. package/esm/lmvz-action.entry.js +1 -1
  96. package/esm/lmvz-button-group.entry.js +2 -2
  97. package/esm/lmvz-button_2.entry.js +4 -4
  98. package/esm/lmvz-card.entry.js +59 -15
  99. package/esm/lmvz-checkbox.entry.js +3 -3
  100. package/esm/lmvz-chip.entry.js +4 -4
  101. package/esm/lmvz-components.js +4 -4
  102. package/esm/lmvz-datepicker.entry.js +3 -3
  103. package/esm/lmvz-header_2.entry.js +3 -3
  104. package/esm/lmvz-input.entry.js +6 -7
  105. package/esm/lmvz-link.entry.js +3 -3
  106. package/esm/lmvz-menuitem.entry.js +3 -3
  107. package/esm/lmvz-message.entry.js +2 -2
  108. package/esm/lmvz-modal.entry.js +3 -3
  109. package/esm/lmvz-popover.entry.js +2 -2
  110. package/esm/lmvz-radio.entry.js +3 -3
  111. package/esm/lmvz-select.entry.js +3 -3
  112. package/esm/lmvz-snackbar.entry.js +2 -2
  113. package/esm/lmvz-spinner.entry.js +3 -3
  114. package/esm/lmvz-tab.entry.js +2 -2
  115. package/esm/lmvz-tabs.entry.js +2 -2
  116. package/esm/lmvz-toggle.entry.js +3 -3
  117. package/esm/loader.js +3 -3
  118. package/hydrate/index.js +115 -53
  119. package/hydrate/index.mjs +115 -53
  120. package/lmvz-components/index.esm.js +1 -1
  121. package/lmvz-components/lmvz-components.esm.js +1 -1
  122. package/lmvz-components/p-01ac17f8.entry.js +1 -0
  123. package/lmvz-components/{p-e35f49a1.entry.js → p-11ccd914.entry.js} +1 -1
  124. package/lmvz-components/{p-143e9621.entry.js → p-1595cad0.entry.js} +1 -1
  125. package/lmvz-components/{p-7cbfbc88.entry.js → p-253e56c9.entry.js} +1 -1
  126. package/lmvz-components/{p-773e9d95.entry.js → p-2ae64b73.entry.js} +1 -1
  127. package/lmvz-components/{p-93b781ca.entry.js → p-3606c1db.entry.js} +1 -1
  128. package/lmvz-components/{p-f911691c.entry.js → p-3de59694.entry.js} +1 -1
  129. package/lmvz-components/p-457b10e1.entry.js +1 -0
  130. package/lmvz-components/{p-d73bb7fd.entry.js → p-5e8f0b43.entry.js} +1 -1
  131. package/lmvz-components/{p-8ba6ec19.entry.js → p-7a018765.entry.js} +1 -1
  132. package/lmvz-components/{p-335b3867.entry.js → p-7d80a49d.entry.js} +1 -1
  133. package/lmvz-components/{p-ebad823c.entry.js → p-84d2b2e5.entry.js} +1 -1
  134. package/lmvz-components/{p-Wi9d2-w9.js → p-BbeaVKMa.js} +1 -1
  135. package/lmvz-components/p-Buw_s-9k.js +1 -0
  136. package/lmvz-components/{p-41286514.entry.js → p-a2f03112.entry.js} +1 -1
  137. package/lmvz-components/p-adb37d60.entry.js +1 -0
  138. package/lmvz-components/{p-edec4d09.entry.js → p-b050450d.entry.js} +1 -1
  139. package/lmvz-components/{p-efd9d50e.entry.js → p-b0f3758f.entry.js} +1 -1
  140. package/lmvz-components/{p-f24f5207.entry.js → p-b123e33d.entry.js} +1 -1
  141. package/lmvz-components/{p-304c7554.entry.js → p-ddf5d866.entry.js} +1 -1
  142. package/lmvz-components/p-e40f174d.entry.js +1 -0
  143. package/lmvz-components/{p-220e455e.entry.js → p-edb35b52.entry.js} +1 -1
  144. package/lmvz-components/{p-87f21ac9.entry.js → p-ef6e12ee.entry.js} +1 -1
  145. package/lmvz-components/{p-316dd61a.entry.js → p-f6ac0f0d.entry.js} +1 -1
  146. package/lmvz-components/p-wQ10Syko.js +3 -0
  147. package/loader/index.d.ts +1 -1
  148. package/manifest.json +243 -158
  149. package/package.json +5 -1
  150. package/types/api/ds.constants.d.ts +1 -0
  151. package/types/api/ds.types.d.ts +4 -0
  152. package/types/api/public-utils.d.ts +8 -0
  153. package/types/components/lmvz-card/lmvz-card.d.ts +17 -6
  154. package/types/components/lmvz-icon/lmvz-icon.d.ts +1 -1
  155. package/types/components/lmvz-input/lmvz-input.d.ts +2 -3
  156. package/types/components/lmvz-spinner/lmvz-spinner.d.ts +1 -1
  157. package/types/components.d.ts +68 -43
  158. package/types/index.d.ts +1 -8
  159. package/types/stencil-public-runtime.d.ts +12 -0
  160. package/collection/integration/header-integration/header-integration.js +0 -51
  161. package/components/p-0ctLESas.js +0 -1
  162. package/components/p-DSDBThqb.js +0 -1
  163. package/components/p-DXhP6UeF.js +0 -1
  164. package/components/p-DbBJxuBm.js +0 -1
  165. package/lmvz-components/p-0ctLESas.js +0 -1
  166. package/lmvz-components/p-27e8b4fa.entry.js +0 -1
  167. package/lmvz-components/p-6aae1df9.entry.js +0 -1
  168. package/lmvz-components/p-743616c0.entry.js +0 -1
  169. package/lmvz-components/p-DVab4vzV.js +0 -2
  170. package/lmvz-components/p-c884c76e.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @lmvz-ds/components
2
2
 
3
+ ## 0.42.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 88091f5: Component-Utils werden nun direkt aus den Wrapper-Packages exportiert.
8
+
9
+ ## 0.41.0
10
+
11
+ ### Minor Changes
12
+
13
+ - a9c4436: lmvz-card an Figma angepasst
14
+
3
15
  ## 0.40.0
4
16
 
5
17
  ### Minor Changes
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
4
- var index = require('./index-DWy4nuyZ.js');
4
+ var index = require('./index-BUrb__KL.js');
5
5
 
6
6
  class AriaValidationController {
7
7
  host;
@@ -11,6 +11,7 @@ const iconSizes = [...sizes, 'inherit'];
11
11
  const iconWeights = ['thin', 'medium', 'bold'];
12
12
  const chipTypes = ['active', 'warning', 'success', 'error', 'neutral'];
13
13
  const chipSizes = ['default', 'small'];
14
+ const cardSizes = ['large', 'small'];
14
15
  const linkTypes = ['internal', 'external'];
15
16
  const messageTypes = ['neutral', 'warning'];
16
17
  const snackbarStatuses = ['success', 'warning', 'error'];
@@ -19,6 +20,7 @@ const snackbarDismissReasons = ['timeout', 'manual', 'action', 'overridden', 'sw
19
20
  const popoverPlacements = ['top', 'bottom', 'start', 'end', 'top-start', 'top-end', 'bottom-start', 'bottom-end'];
20
21
  const popoverSizes = ['sm', 'md', 'lg'];
21
22
 
23
+ exports.cardSizes = cardSizes;
22
24
  exports.chipSizes = chipSizes;
23
25
  exports.chipTypes = chipTypes;
24
26
  exports.iconSizes = iconSizes;
@@ -4,7 +4,7 @@ const NAMESPACE = 'lmvz-components';
4
4
  const BUILD = /* lmvz-components */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, slotRelocation: true, state: true, updatable: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.43.5 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.44.2 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
 
10
10
  var Build = {
@@ -122,7 +122,9 @@ var consoleError = (e, el) => (0, console.error)(e, el);
122
122
 
123
123
  // src/client/client-load-module.ts
124
124
  var cmpModules = /* @__PURE__ */ new Map();
125
+ var failedLoadAttempts = /* @__PURE__ */ new Map();
125
126
  var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
127
+ var _a;
126
128
  const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
127
129
  const bundleId = cmpMeta.$lazyBundleId$;
128
130
  if (!bundleId) {
@@ -132,21 +134,28 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
132
134
  if (module) {
133
135
  return module[exportName];
134
136
  }
137
+ const retryCount = (_a = failedLoadAttempts.get(bundleId)) != null ? _a : 0;
138
+ const cacheBustParams = [
139
+ retryCount > 0 ? `s-retry=${retryCount}` : "",
140
+ ""
141
+ ].filter(Boolean).join("&");
135
142
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
136
143
  return import(
137
144
  /* @vite-ignore */
138
145
  /* webpackInclude: /\.entry\.js$/ */
139
146
  /* webpackExclude: /\.system\.entry\.js$/ */
140
147
  /* webpackMode: "lazy" */
141
- `./${bundleId}.entry.js${""}`
148
+ `./${bundleId}.entry.js${cacheBustParams ? "?" + cacheBustParams : ""}`
142
149
  ).then(
143
150
  (importedModule) => {
144
151
  {
152
+ failedLoadAttempts.delete(bundleId);
145
153
  cmpModules.set(bundleId, importedModule);
146
154
  }
147
155
  return importedModule[exportName];
148
156
  },
149
157
  (e) => {
158
+ failedLoadAttempts.set(bundleId, retryCount + 1);
150
159
  consoleError(e, hostRef.$hostElement$);
151
160
  }
152
161
  );
@@ -167,6 +176,8 @@ var HYDRATE_CHILD_ID = "c-id";
167
176
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
168
177
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
169
178
  var XLINK_NS = "http://www.w3.org/1999/xlink";
179
+ var MAX_LAZY_LOAD_RETRIES = 3;
180
+ var LAZY_LOAD_RETRY_INTERVAL_MS = 1e3;
170
181
  var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
171
182
  "formAssociatedCallback",
172
183
  "formResetCallback",
@@ -216,6 +227,10 @@ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @_
216
227
  var queuePending = false;
217
228
  var queueDomReads = [];
218
229
  var queueDomWrites = [];
230
+ var scheduleFlush = () => {
231
+ var _a;
232
+ return ((_a = win.document) == null ? void 0 : _a.hidden) ? nextTick(flush) : plt.raf(flush);
233
+ };
219
234
  var queueTask = (queue, write) => (cb) => {
220
235
  queue.push(cb);
221
236
  if (!queuePending) {
@@ -223,7 +238,7 @@ var queueTask = (queue, write) => (cb) => {
223
238
  if (write && plt.$flags$ & 4 /* queueSync */) {
224
239
  nextTick(flush);
225
240
  } else {
226
- plt.raf(flush);
241
+ scheduleFlush();
227
242
  }
228
243
  }
229
244
  };
@@ -242,7 +257,7 @@ var flush = () => {
242
257
  {
243
258
  consume(queueDomWrites);
244
259
  if (queuePending = queueDomReads.length > 0) {
245
- plt.raf(flush);
260
+ scheduleFlush();
246
261
  }
247
262
  }
248
263
  };
@@ -319,7 +334,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
319
334
  slottedNodes.push(childNode);
320
335
  if (typeof slotName !== "undefined") return slottedNodes;
321
336
  }
322
- slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
337
+ slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
323
338
  }
324
339
  return slottedNodes;
325
340
  }
@@ -614,6 +629,11 @@ var h = (nodeName, vnodeData, ...children) => {
614
629
  } else if (child != null && typeof child !== "boolean") {
615
630
  if (simple = typeof nodeName !== "function" && !isComplexType(child)) {
616
631
  child = String(child);
632
+ } else if (typeof nodeName !== "function" && child.$flags$ === void 0) {
633
+ {
634
+ consoleError("Invalid vNode child");
635
+ }
636
+ continue;
617
637
  }
618
638
  if (simple && lastSimple) {
619
639
  vNodeChildren[vNodeChildren.length - 1].$text$ += child;
@@ -1434,7 +1454,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
1434
1454
  }
1435
1455
  }
1436
1456
  if (newValue == null || newValue === false) {
1437
- if (newValue !== false || elm.getAttribute(memberName) === "") {
1457
+ if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
1438
1458
  if (xlink) {
1439
1459
  elm.removeAttributeNS(XLINK_NS, memberName);
1440
1460
  } else {
@@ -1451,6 +1471,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
1451
1471
  }
1452
1472
  }
1453
1473
  };
1474
+ var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
1475
+ var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
1454
1476
  var parseClassListRegex = /\s/;
1455
1477
  var parseClassList = (value) => {
1456
1478
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -1853,7 +1875,10 @@ var markSlotContentForRelocation = (elm) => {
1853
1875
  const slotName = childNode["s-sn"];
1854
1876
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
1855
1877
  node = hostContentNodes[j];
1856
- if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
1878
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && // let an exact named-slot match override a stale default-slot claim. Skip this for
1879
+ // `slotName === ''` itself - a matched default node's cached `s-sn` is `''` too, which
1880
+ // would trivially "match" on every re-render and force pointless re-insertion.
1881
+ (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"] || slotName !== "" && getSlotName(node) === slotName)) {
1857
1882
  if (isNodeLocatedInSlot(node, slotName)) {
1858
1883
  let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1859
1884
  checkSlotFallbackVisibility = true;
@@ -1923,7 +1948,7 @@ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
1923
1948
  return newNode;
1924
1949
  }
1925
1950
  }
1926
- if (parent.__insertBefore) {
1951
+ if ((parent == null ? void 0 : parent.__insertBefore)) {
1927
1952
  return parent.__insertBefore(newNode, reference);
1928
1953
  } else {
1929
1954
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
@@ -2340,6 +2365,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
2340
2365
  };
2341
2366
 
2342
2367
  // src/runtime/proxy-component.ts
2368
+ var reflectedAttrValue = (propValue) => propValue == null || propValue === false ? null : propValue === true ? "" : String(propValue);
2343
2369
  var proxyComponent = (Cstr, cmpMeta, flags) => {
2344
2370
  var _a, _b;
2345
2371
  const prototype = Cstr.prototype;
@@ -2496,7 +2522,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2496
2522
  return;
2497
2523
  }
2498
2524
  const propFlags = members.find(([m]) => m === propName);
2499
- const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
2525
+ const propMemberFlags = propFlags ? propFlags[1][0] : 0;
2526
+ const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
2527
+ if (propMemberFlags & 512 /* ReflectAttr */ && propMemberFlags & 8 /* Any */ && // a complex value is never written to an attribute, so a change while the prop holds
2528
+ // one is always external
2529
+ !isComplexType(this[propName]) && reflectedAttrValue(this[propName]) === newValue) {
2530
+ return;
2531
+ }
2500
2532
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
2501
2533
  if (isBooleanTarget) {
2502
2534
  newValue = newValue === null || newValue === "false" ? false : true;
@@ -2528,10 +2560,12 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
2528
2560
 
2529
2561
  // src/runtime/initialize-component.ts
2530
2562
  var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2563
+ var _a;
2531
2564
  let Cstr;
2532
2565
  try {
2533
2566
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
2534
2567
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
2568
+ hostRef.$flags$ &= -1025 /* hasFailedLoad */;
2535
2569
  const bundleId = cmpMeta.$lazyBundleId$;
2536
2570
  if (bundleId) {
2537
2571
  const CstrImport = loadModule(cmpMeta, hostRef);
@@ -2543,6 +2577,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2543
2577
  Cstr = CstrImport;
2544
2578
  }
2545
2579
  if (!Cstr) {
2580
+ hostRef.$flags$ &= -33 /* hasInitializedComponent */;
2581
+ hostRef.$loadRetryCount$ = ((_a = hostRef.$loadRetryCount$) != null ? _a : 0) + 1;
2582
+ if (hostRef.$loadRetryCount$ < MAX_LAZY_LOAD_RETRIES) {
2583
+ hostRef.$flags$ |= 1024 /* hasFailedLoad */;
2584
+ }
2546
2585
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
2547
2586
  }
2548
2587
  if (!Cstr.isProxied) {
@@ -2607,7 +2646,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
2607
2646
  hostRef.$onRenderResolve$();
2608
2647
  hostRef.$onRenderResolve$ = void 0;
2609
2648
  }
2610
- if (hostRef.$onReadyResolve$) {
2649
+ if (hostRef.$onReadyResolve$ && !(hostRef.$flags$ & 1024 /* hasFailedLoad */)) {
2611
2650
  hostRef.$onReadyResolve$(elm);
2612
2651
  }
2613
2652
  }
@@ -2674,6 +2713,8 @@ var connectedCallback = (elm) => {
2674
2713
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2675
2714
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
2676
2715
  fireConnectedCallback(hostRef.$lazyInstance$, elm);
2716
+ } else if (hostRef.$flags$ & 1024 /* hasFailedLoad */) {
2717
+ setTimeout(() => initializeComponent(elm, hostRef, cmpMeta), LAZY_LOAD_RETRY_INTERVAL_MS);
2677
2718
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
2678
2719
  hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
2679
2720
  }
@@ -2816,7 +2857,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
2816
2857
  }
2817
2858
  disconnectedCallback() {
2818
2859
  plt.jmp(() => disconnectedCallback(this));
2819
- plt.raf(() => {
2860
+ nextTick(() => {
2820
2861
  var _a3;
2821
2862
  const hostRef = getHostRef(this);
2822
2863
  if (!hostRef) {
package/cjs/index.cjs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
4
- var ds_constants = require('./ds.constants-C6eKRAEu.js');
4
+ var ds_constants = require('./ds.constants-pI-qkOYv.js');
5
5
  var _public = require('./public-DTgpEs1_.js');
6
6
  var icons = require('./icons-snv0hyf1.js');
7
7
  require('./svg-CysxzZw7.js');
@@ -15,6 +15,7 @@ exports.enableAriaValidation = ariaLoader.enableAriaValidation;
15
15
  exports.isAriaValidationEnabled = ariaLoader.isAriaValidationEnabled;
16
16
  exports.queueValidation = ariaLoader.queueValidation;
17
17
  exports.useVerboseLogging = ariaLoader.useVerboseLogging;
18
+ exports.cardSizes = ds_constants.cardSizes;
18
19
  exports.chipSizes = ds_constants.chipSizes;
19
20
  exports.chipTypes = ds_constants.chipTypes;
20
21
  exports.iconSizes = ds_constants.iconSizes;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
4
- var ariaValidationController = require('./aria-validation-controller-DKNXjnQr.js');
3
+ var index = require('./index-BUrb__KL.js');
4
+ var ariaValidationController = require('./aria-validation-controller-BR7cnyq5.js');
5
5
  var directionalFocusController = require('./directional-focus-controller-DDnhfX5w.js');
6
6
  var element_util = require('./element.util-BlhcwmfR.js');
7
7
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
 
5
5
  const lmvzActionCss = () => `:host{display:block}`;
6
6
 
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
5
- var ds_constants = require('./ds.constants-C6eKRAEu.js');
5
+ var ds_constants = require('./ds.constants-pI-qkOYv.js');
6
6
  require('./public-DTgpEs1_.js');
7
7
  var element_util = require('./element.util-BlhcwmfR.js');
8
8
  require('./icons-snv0hyf1.js');
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
  var index$1 = require('./index-Bp6Dd2i1.js');
5
- var ariaValidationController = require('./aria-validation-controller-DKNXjnQr.js');
5
+ var ariaValidationController = require('./aria-validation-controller-BR7cnyq5.js');
6
6
  var elementActivationController = require('./element-activation-controller-DzTUocEO.js');
7
7
  var element_util = require('./element.util-BlhcwmfR.js');
8
8
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
@@ -120,7 +120,7 @@ const LmvzIcon = class extends reactiveControllerHost.ReactiveControllerHost {
120
120
  iconset;
121
121
  iconData;
122
122
  visible = false;
123
- ariaLabel;
123
+ ariaLabel = null;
124
124
  get ariaHidden() {
125
125
  return !this.ariaLabel;
126
126
  }
@@ -164,7 +164,7 @@ const LmvzIcon = class extends reactiveControllerHost.ReactiveControllerHost {
164
164
  super.componentDidRender();
165
165
  }
166
166
  render() {
167
- return index.h(index.Host, { key: 'be6032d11399289c3baddd63ebc7d9e1fb98b773', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
167
+ return index.h(index.Host, { key: '7bf1348d1e88c5debeeb592bde76e74625a2b58b', role: "img", "aria-hidden": `${this.ariaHidden}`, innerHTML: this.iconData });
168
168
  }
169
169
  waitUntilVisible(callback, rootMargin = 50) {
170
170
  if (typeof window === 'undefined' || !window.IntersectionObserver) {
@@ -1,6 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
+ var ds_constants = require('./ds.constants-pI-qkOYv.js');
5
+ var ariaLoader = require('./aria-loader-DWUVcapD.js');
4
6
 
5
7
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
6
8
  function getLocationBase() {
@@ -23,34 +25,76 @@ function joinPath(...parts) {
23
25
  return parts.filter(Boolean).join('/').replace('//', '/').replace('/./', '/');
24
26
  }
25
27
 
26
- const lmvzCardCss = () => `@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('RouterBook-Regular'), local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'); font-weight: 400; } @font-face { font-family: Router; src: local('RouterMedium-Regular'), local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'); font-weight: 500; } @font-face { font-family: Router; src: local('RouterBold-Regular'), local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'); font-weight: 700; } } @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } *[hidden] { display: none !important; } hr { height: 0; border: none; margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0; border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0); } fieldset { border: none; margin: 0; padding: 0; } legend { padding: 0; display: block; } } .sc-lmvz-card-h { & { & { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-secondary, #f0f0f0)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-int-on-secondary, #000000)); --lmvz-button-radius: var(--lmvz-button-radius-override, var(--lmvz-component-input-radius-default, 999px)); --lmvz-button-padding-inline: var(--lmvz-button-padding-inline-override, var(--lmvz-button-padding, var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)))); --lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-button-padding, var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)))); --lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-md, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem))); --lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-md, clamp(2.5rem, 2.44rem + 0.26vw, 2.75rem))); --lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-md-strong, normal 700 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router)); --lmvz-button-border-width: var(--lmvz-button-border-width-override, 0); --lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent); display: inline-flex; align-items: center; justify-content: var(--lmvz-button-content-justification, center); gap: var(--lmvz-button-gap, var(--lmvz-component-input-gap-md, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem))); box-sizing: border-box; padding-block: var(--lmvz-button-padding-block, var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem))); padding-inline: var(--lmvz-button-padding-inline, var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem))); min-height: var(--lmvz-button-min-height, var(--lmvz-component-input-size-md, clamp(2.5rem, 2.44rem + 0.26vw, 2.75rem))); border: var(--lmvz-button-border-width, 0) solid var(--lmvz-button-border-color, transparent); border-radius: var(--lmvz-button-radius, var(--lmvz-component-input-radius-default, 999px)); background-color: var(--lmvz-button-background); color: var(--lmvz-button-color); cursor: pointer; font: var(--lmvz-button-font); text-decoration: none; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; } & > * { font: inherit; color: inherit; } &:focus-visible { outline: var(--lmvz-ds-outline, 1px solid #0e7ab4); outline-offset: var(--lmvz-ds-outline-offset, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)); position: relative; z-index: 1; } &:is([disabled], .disabled) { cursor: not-allowed; pointer-events: none; opacity: var(--lmvz-component-input-disabled-opacity, 40%); } &:not([disabled]):hover { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-secondary-hover, #e0e0e0)); } &:not([disabled]):active { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-secondary-active, #d4d4d4)); } &.primary { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-primary, #000000)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-int-on-primary, #ffffff)); --lmvz-button-border-width: var(--lmvz-button-border-width-override, 0); --lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent); } &.primary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-primary-hover, #2e2e2e)); } &.primary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-primary-active, #545454)); } &.danger { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary, #ffffff)); --lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419)); } &.danger:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #fbdfe0)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419)); } &.danger:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #e8454b)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419)); } &.tertiary { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary, #ffffff)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-int-on-tertiary, #000000)); } &.tertiary:not([disabled], .disabled):hover { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-int-on-tertiary-hover, #000000)); } &.tertiary:not([disabled], .disabled):active { --lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0)); --lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-int-on-tertiary-active, #000000)); } &.small { --lmvz-button-padding-inline: var(--lmvz-button-padding-inline-override, var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem))); --lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem))); --lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem))); --lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem))); --lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5 Router)); } &.large { --lmvz-button-padding-inline: var(--lmvz-button-padding-inline-override, var(--lmvz-component-input-padding-lg, clamp(1rem, 0.94rem + 0.26vw, 1.25rem))); --lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-component-input-padding-lg, clamp(1rem, 0.94rem + 0.26vw, 1.25rem))); --lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-lg, clamp(0.75rem, 0.69rem + 0.26vw, 1rem))); --lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-lg, clamp(2.75rem, 2.69rem + 0.26vw, 3rem))); --lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-lg-strong, normal 700 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.5 Router)); } } display: flex; min-width: var(--lmvz-card-component-card-minwidth, 20.4375rem); max-width: var(--lmvz-card-component-card-maxwidth, 21.6875rem); flex-direction: column; align-items: flex-start; border-radius: var(--lmvz-semantic-border-radius-lg, 14px); border: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-default, #e0e0e0); background: var(--lmvz-semantic-color-surface-primary, #ffffff); } *.sc-lmvz-card { color: var(--lmvz-semantic-color-on-surface-primary, #000000); font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); } .top.sc-lmvz-card { display: flex; padding: var(--lmvz-dimension-12-8, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); flex-direction: column; justify-content: center; align-items: center; align-self: stretch; } .bottom.sc-lmvz-card { display: flex; min-width: 150px; padding: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)); flex-direction: column; align-items: flex-start; align-self: stretch; } .title.sc-lmvz-card { margin: 0; display: flex; justify-content: center; align-items: center; align-self: stretch; padding-bottom: var(--lmvz-global-s4, 4px); overflow-wrap: break-word; font: var(--lmvz-typography-heading-2xl, 500 clamp(2rem, 1.82rem + 0.78vw, 2.75rem) / 1.4 Router); } .description.sc-lmvz-card { display: flex; margin: 0; padding-bottom: var(--lmvz-component-body-sm-padding-bottom, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-items: flex-start; align-self: stretch; white-space: pre-line; font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); } .image-wrapper.sc-lmvz-card { aspect-ratio: 4 / 3; width: 100%; background-size: cover; background-position: center; flex: 1 0 0; align-self: stretch; border-radius: var(--lmvz-semantic-border-radius-md, 6px); } .actions.sc-lmvz-card { margin-top: var(--lmvz-component-form-wrapper-gap-y, clamp(1.13rem, 0.97rem + 0.65vw, 1.75rem)); display: flex; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); align-self: stretch; } button.primary.sc-lmvz-card, lmvz-button.primary.sc-lmvz-card { display: flex; justify-content: center; align-items: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); flex: 1 0 0; }`;
28
+ const lmvzCardCss = () => ` @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('RouterBook-Regular'), local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'); font-weight: 400; } @font-face { font-family: Router; src: local('RouterMedium-Regular'), local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'); font-weight: 500; } @font-face { font-family: Router; src: local('RouterBold-Regular'), local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'); font-weight: 700; } } @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } *[hidden] { display: none !important; } hr { height: 0; border: none; margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0; border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0); } fieldset { border: none; margin: 0; padding: 0; } legend { padding: 0; display: block; } } :host { --lmvz-card-local-min-width: 320px; --lmvz-card-local-max-width: 360px; --lmvz-card-local-sm-width: 232px; display: flex; flex-direction: column; align-items: flex-start; min-width: var(--lmvz-card-local-min-width); max-width: var(--lmvz-card-local-max-width); border-radius: var(--lmvz-component-wrapper-md-border-radius, 18px); border: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0); background: var(--lmvz-semantic-color-surface-primary, #ffffff); box-shadow: 0 var(--lmvz-semantic-shadow-l1-1-position-y, 2px) var(--lmvz-semantic-shadow-l1-1-blur, 4px) 0 var(--lmvz-semantic-color-shadow-l1-default, rgba(120, 120, 128, 0.08)); margin-bottom: var(--lmvz-component-card-lg-margin-bottom, clamp(1rem, 0.88rem + 0.52vw, 1.5rem)); } :host([size='small']) { width: var(--lmvz-card-local-sm-width); min-width: 0; max-width: none; border-radius: var(--lmvz-component-wrapper-sm-border-radius, 14px); margin-bottom: var(--lmvz-component-card-sm-margin-bottom, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); } * { color: var(--lmvz-semantic-color-on-surface-primary, #000000); font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); } .image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; align-self: stretch; border-top-left-radius: var(--lmvz-component-wrapper-md-border-radius, 18px); border-top-right-radius: var(--lmvz-component-wrapper-md-border-radius, 18px); } :host([size='small']) .image { border-top-left-radius: var(--lmvz-component-wrapper-sm-border-radius, 14px); border-top-right-radius: var(--lmvz-component-wrapper-sm-border-radius, 14px); } .content { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; gap: var(--lmvz-component-spacing-xs, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)); padding: var(--lmvz-component-wrapper-md-padding-y, clamp(1rem, 0.88rem + 0.52vw, 1.5rem)) var(--lmvz-component-wrapper-md-padding-x, clamp(1rem, 0.88rem + 0.52vw, 1.5rem)); } :host([size='small']) .content { gap: var(--lmvz-component-spacing-2xs, clamp(0.13rem, 0.09rem + 0.13vw, 0.25rem)); padding: var(--lmvz-component-wrapper-sm-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)) var(--lmvz-component-wrapper-sm-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); } .title-block { display: flex; flex-direction: column; align-items: flex-start; align-self: stretch; gap: var(--lmvz-component-spacing-2xs, clamp(0.13rem, 0.09rem + 0.13vw, 0.25rem)); } .card-default-title { margin: 0; overflow-wrap: break-word; font: var(--lmvz-typography-heading-lg, 500 clamp(1.13rem, 1.03rem + 0.39vw, 1.5rem) / 1.5 Router); } :host([size='small']) .card-default-title { font: var(--lmvz-typography-body-lg-strong, 500 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.5 Router); } ::slotted([slot='card-title']) { margin: 0; overflow-wrap: break-word; } :host([size='small']) ::slotted([slot='card-title']) { font: var(--lmvz-typography-body-lg-strong, 500 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.5 Router); } .description { margin: 0; align-self: stretch; white-space: pre-line; font: var(--lmvz-typography-body-lg, 400 clamp(1rem, 0.97rem + 0.13vw, 1.13rem) / 1.5 Router); } :host([size='small']) .description { font: var(--lmvz-typography-body-sm, 400 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5 Router); } slot[name='chip'] { display: contents; } .actions { display: flex; align-items: center; align-self: stretch; padding-top: var(--lmvz-component-spacing-md, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); } lmvz-button.action { flex: 1 0 0; } `;
27
29
 
30
+ const HEADING_TAGS = new Set(['HEADER', 'H1', 'H2', 'H3', 'H4', 'H5', 'H6']);
28
31
  const LmvzCard = class {
29
32
  constructor(hostRef) {
30
33
  index.registerInstance(this, hostRef);
31
- this.primaryAction = index.createEvent(this, "primaryAction", 7);
34
+ this.lmvzCardAction = index.createEvent(this, "lmvzCardAction", 7);
32
35
  }
36
+ get el() { return index.getElement(this); }
37
+ titleSlotElement;
38
+ warnedCases = new Set();
39
+ size = 'large';
33
40
  cardTitle;
34
- imageUrl;
35
41
  description;
36
- primaryActionLabel = '';
37
- primaryAction;
42
+ imageUrl;
43
+ imageAlt = '';
44
+ actionLabel;
45
+ lmvzCardAction;
46
+ normalizeSize(value) {
47
+ const normalizedSize = ds_constants.cardSizes.includes(value) ? value : 'large';
48
+ if (normalizedSize !== this.size) {
49
+ this.size = normalizedSize;
50
+ }
51
+ }
52
+ componentWillLoad() {
53
+ this.normalizeSize(this.size);
54
+ }
55
+ componentDidLoad() {
56
+ const titleSlot = this.el.shadowRoot?.querySelector('slot[name="card-title"]');
57
+ titleSlot?.addEventListener('slotchange', () => this.checkTitleContent());
58
+ this.checkTitleContent();
59
+ }
38
60
  get fallbackImage() {
39
- return createAssetUrlSafely('card-placeholder.svg');
61
+ return String(createAssetUrlSafely('card-placeholder.svg'));
62
+ }
63
+ handleActionClick = () => {
64
+ this.lmvzCardAction.emit();
65
+ };
66
+ get slottedTitleElement() {
67
+ return this.titleSlotElement?.assignedElements()?.at(0);
40
68
  }
41
- _onPrimaryClick() {
42
- this.primaryAction.emit();
69
+ checkTitleContent() {
70
+ if (!ariaLoader.isAriaValidationEnabled())
71
+ return;
72
+ const slotted = this.slottedTitleElement;
73
+ if (slotted) {
74
+ const tag = slotted.tagName;
75
+ if (!HEADING_TAGS.has(tag)) {
76
+ this.warnOnce(`non-heading:${tag}`, `[lmvz-card] Element <${tag.toLowerCase()}> slotted into "card-title" is not a heading. Slot a heading element (h2-h5) instead.`);
77
+ }
78
+ }
79
+ else if (!this.cardTitle) {
80
+ this.warnOnce('missing-title', '[lmvz-card] Neither a "card-title" slotted heading nor a non-empty "cardTitle" prop was supplied.');
81
+ }
43
82
  }
44
- _onOverflowClick(event) {
45
- console.log(event);
83
+ warnOnce(key, message) {
84
+ if (this.warnedCases.has(key))
85
+ return;
86
+ this.warnedCases.add(key);
87
+ console.warn(message);
46
88
  }
47
89
  render() {
48
- const imgStyle = {
49
- backgroundImage: `url(${this.imageUrl ?? this.fallbackImage})`,
50
- };
51
- return (index.h(index.Host, { key: '1dd819fd7c752af8d15001c08f7f60c6ea7278b9', role: "article" }, index.h("div", { key: 'e0cc822e627b6bbe665e4faa705cc46a09bac7c6', class: "top" }, index.h("div", { key: 'db79cb5a67ebdd6097f985e4b4bd27665b6329ef', class: "image-wrapper", style: imgStyle }, index.h("div", { key: '90facc8595ddbbf31e3768faa8254a82ab8d3e65', class: "chip-slot" }, index.h("slot", { key: 'cb2e6a1053aae2b2ca90c52c175e3c4174c89d23', name: "chip" })))), index.h("div", { key: 'cb11069a329385178677e92d08044e0fe8e5b982', class: "bottom" }, index.h("header", { key: '1e6076352124ca03de2fb13c17a565b4f492567e' }, index.h("h2", { key: '73f11099fb751bd4f967dbe49b79763b6a8268f3', class: "title" }, this.cardTitle)), index.h("p", { key: '36cf87b4c2004bff1e65feedd13e137d67115de3', class: "description" }, this.description), index.h("div", { key: '6c1d82f4968ce8252307858e6ad0681274f06397', class: "actions" }, index.h("button", { key: '0366e0caaf9235a3eaf7bfcab116e6a828fb248d', class: "primary", onClick: this._onPrimaryClick.bind(this), "data-testid": "primary" }, this.primaryActionLabel), index.h("button", { key: '4f435e79d75a621d6fe065471a915b55308ad15d', class: "tertiary", "aria-label": "More actions", onClick: this._onOverflowClick }, index.h("span", { key: '7dec97e0b0ca58c40fc5308cc7863acafa8c5147', class: "icon-placeholder" }, "..."))))));
90
+ return (index.h(index.Host, { key: '21ac0a567bb88d05d247cc3150bf2e7ce26972c5', role: "article" }, index.h("img", { key: '6cea11ee015059d5537ab64c7cbb1655ac984cb1', class: "image", src: this.imageUrl ?? this.fallbackImage, alt: this.imageAlt, loading: "lazy", decoding: "async" }), index.h("div", { key: 'cd29132d8268fb5a025cde5c33a858982c8eaaed', class: "content" }, index.h("div", { key: '0d353a46cae60d81417e5280b39020b2234ad304', class: "title-block" }, index.h("slot", { key: '4f2734a257ef877d258a717e23855f521c5132a6', name: "card-title", ref: (el) => (this.titleSlotElement = el) }, this.cardTitle && (index.h("header", { key: '7d526caba45dde6b13bee023e60943711347258a', role: "heading", class: "card-default-title" }, this.cardTitle))), this.description && index.h("p", { key: '18c3eac26562a592baa29d75674737d11f57beac', class: "description" }, this.description)), index.h("slot", { key: 'd0d9c40ca8501b0fdfa9d589eeb05692892316a2', name: "chip" }), this.actionLabel && (index.h("div", { key: '4bd5d9233c0ba1dcda6bebdeff89adbbfe37e4b1', class: "actions" }, index.h("lmvz-button", { key: '6cefc7ad2859d457ad11b3f4edb1300ba664ef63', class: "action", variant: "secondary", scale: this.size === 'small' ? 'small' : 'default', onLmvzActivation: this.handleActionClick }, this.actionLabel))))));
52
91
  }
53
92
  static get assetsDirs() { return ["../../assets"]; }
93
+ static get watchers() { return {
94
+ "size": [{
95
+ "normalizeSize": 0
96
+ }]
97
+ }; }
54
98
  };
55
99
  LmvzCard.style = lmvzCardCss();
56
100
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
  var checkmark = require('./checkmark-CuKDPAcx.js');
5
5
  var svg = require('./svg-CysxzZw7.js');
6
- var ariaValidationController = require('./aria-validation-controller-DKNXjnQr.js');
6
+ var ariaValidationController = require('./aria-validation-controller-BR7cnyq5.js');
7
7
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
8
8
  require('./logger-NBdKPSou.js');
9
9
  require('./aria-loader-DWUVcapD.js');
@@ -133,7 +133,7 @@ const LmvzCheckbox = class extends reactiveControllerHost.ReactiveControllerHost
133
133
  this.nativeError = true;
134
134
  }
135
135
  render() {
136
- return (index.h(index.Host, { key: '089b23f8034fa089f358cc37923182c34f528cd2' }, index.h("div", { key: '0af011ebf062332c330b49fa3076828204433ac4', class: "pill" }, index.h("input", { key: 'a483a8c5bbe1d6da3cfab63ce32ad2e6392911ff', type: "checkbox", id: this.checkboxId, checked: this.checkedState, disabled: this.disabled, "aria-required": this.required ? 'true' : 'false', "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.ariaDescribedBy, "aria-errormessage": this.error && this.errorId ? this.errorId : undefined, ref: (el) => (this.nativeInput = el), onChange: this.handleChange, autoFocus: this.autofocus }), index.h("span", { key: 'f21d34ab625c7eef23bd2761b399e8770cd62275', class: "box", "aria-hidden": "true" }, this.checkedState && index.h("span", { key: 'de2680ea17f34ab0124c529d88d4191c97d0a4c5', class: "indicator", innerHTML: CHECKMARK_SVG })), index.h("span", { key: '1b2d24e43603033a5a77340164e002de326db11a', class: "content" }, index.h("label", { key: 'b18f17abb4459b3783dc41d0031f4b26795fdcf5', htmlFor: this.checkboxId }, this.label), this.helperText && (index.h("span", { key: 'f32591c55fcc88d130815780a9999fcb235afd88', onClick: this.retargetInnerClicks.bind(this), class: "helper-text", id: this.helperId, role: "status" }, this.helperText)))), this.errorMessage && (index.h("span", { key: '076489f5baadab07d95fc787e9ac71bae0a6ab68', onClick: this.retargetInnerClicks.bind(this), class: "error-text", id: this.errorId, role: "alert" }, this.errorMessage))));
136
+ return (index.h(index.Host, { key: 'df48e8af0b992d4f2c564aae67dbd42b6454f2c1' }, index.h("div", { key: 'fe1256e373ee98cc26ca9031654d4d01f10b96e7', class: "pill" }, index.h("input", { key: '580af189cb0069dd057464efd8c876c1a2dd3826', type: "checkbox", id: this.checkboxId, checked: this.checkedState, disabled: this.disabled, "aria-required": this.required ? 'true' : 'false', "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": this.ariaDescribedBy, "aria-errormessage": this.error && this.errorId ? this.errorId : undefined, ref: (el) => (this.nativeInput = el), onChange: this.handleChange, autoFocus: this.autofocus }), index.h("span", { key: '4a6b3522aa1a43f3c0a7ff203fb5791876555954', class: "box", "aria-hidden": "true" }, this.checkedState && index.h("span", { key: '3a857015118d911832cdaa1287cee4c63f84afb2', class: "indicator", innerHTML: CHECKMARK_SVG })), index.h("span", { key: 'aa543c4c37cf220084b3cce423e1d0e48b5c344f', class: "content" }, index.h("label", { key: '26c8551de719bdd99cce39b9129b59643f2aa44e', htmlFor: this.checkboxId }, this.label), this.helperText && (index.h("span", { key: '004ead4527953b10b4ab6d89366159d7727320b2', onClick: this.retargetInnerClicks.bind(this), class: "helper-text", id: this.helperId, role: "status" }, this.helperText)))), this.errorMessage && (index.h("span", { key: '0fa0dcfdf2fe61d510bfe9f0c4f8d16a341f97d7', onClick: this.retargetInnerClicks.bind(this), class: "error-text", id: this.errorId, role: "alert" }, this.errorMessage))));
137
137
  }
138
138
  static get formAssociated() { return true; }
139
139
  static get watchers() { return {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
4
- var ds_constants = require('./ds.constants-C6eKRAEu.js');
5
- var ariaValidationController = require('./aria-validation-controller-DKNXjnQr.js');
3
+ var index = require('./index-BUrb__KL.js');
4
+ var ds_constants = require('./ds.constants-pI-qkOYv.js');
5
+ var ariaValidationController = require('./aria-validation-controller-BR7cnyq5.js');
6
6
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
7
7
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
8
8
 
@@ -67,7 +67,7 @@ const LmvzChip = class extends reactiveControllerHost.ReactiveControllerHost {
67
67
  }
68
68
  }, 500);
69
69
  render() {
70
- return (index.h(index.Host, { key: '63581b0c567d208b200464e9985ac32d97c1ad43', type: this.type, size: this.size }, index.h("slot", { key: '7aa740cc80b400893dcbe7021d5513d3f1ca476b', name: "before-text", ref: (el) => (this.beforeSlot = el), onSlotchange: () => this.checkContent() }), index.h("span", { key: 'da5b9e272becef812b4914bf25b451da16bb9012', class: "content-overflow-wrapper" }, index.h("slot", { key: 'a925dcd383c86dbea63790b5623d159472b6684c', ref: (el) => (this.defaultSlot = el), onSlotchange: () => this.checkContent() })), index.h("slot", { key: 'e018eafb75b85068c992e9f91c4fac89a4c95153', name: "after-text", ref: (el) => (this.afterSlot = el), onSlotchange: () => this.checkContent() })));
70
+ return (index.h(index.Host, { key: '2dcc9ccddd24f1db7ec65aeed24a1646cee80c76', type: this.type, size: this.size }, index.h("slot", { key: '756d785d9bdfdaba8c35641afee0743ff343a184', name: "before-text", ref: (el) => (this.beforeSlot = el), onSlotchange: () => this.checkContent() }), index.h("span", { key: '3df490bd3149acca605da7d7910be11b80585adf', class: "content-overflow-wrapper" }, index.h("slot", { key: '5c252427faffaea5a95618df4afced110ff15703', ref: (el) => (this.defaultSlot = el), onSlotchange: () => this.checkContent() })), index.h("slot", { key: '493c1ecd319d9afe0896339320cad67aa37289ab', name: "after-text", ref: (el) => (this.afterSlot = el), onSlotchange: () => this.checkContent() })));
71
71
  }
72
72
  static get watchers() { return {
73
73
  "type": [{
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.43.5 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.44.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["lmvz-datepicker.cjs",[[593,"lmvz-datepicker",{"value":[6145],"visibleMonth":[6145,"visible-month"],"min":[1],"max":[1],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"disabled":[516],"readonly":[516],"required":[516],"name":[513],"label":[1],"placeholder":[1],"helperText":[1,"helper-text"],"errorMessage":[1,"error-message"],"open":[1540],"displayFormat":[1,"display-format"],"focusedDate":[32],"valueDate":[32],"visibleMonthDate":[32],"inputText":[32],"hasUnparseableInput":[32],"isInvalid":[32],"nativeError":[32],"checkValidity":[64],"reportValidity":[64]},[[0,"keydown","handleKeydown"],[0,"focusin","handleInputFocus"],[0,"click","handleInputFocus"],[0,"invalid","handleInvalid"]],{"required":[{"handleValidityRelevantPropChange":0}],"min":[{"handleValidityRelevantPropChange":0}],"max":[{"handleValidityRelevantPropChange":0}],"locale":[{"handleDisplayFormatChange":0}],"displayFormat":[{"handleDisplayFormatChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-modal.cjs",[[769,"lmvz-modal",{"open":[1540],"closeLabel":[1,"close-label"],"hasHeader":[32]},[[0,"submit","handleFormDialogSubmit"]],{"open":[{"handleOpenChange":0}]}]]],["lmvz-message.cjs",[[769,"lmvz-message",{"type":[513],"live":[1],"leadingIcon":[4,"leading-icon"],"dismissible":[4],"closeLabel":[1,"close-label"],"actionLabel":[1,"action-label"]}]]],["lmvz-select.cjs",[[838,"lmvz-select",{"value":[1025],"multiple":[516],"values":[1040],"label":[1],"helperText":[1,"helper-text"],"error":[6660],"errorMessage":[1,"error-message"],"disabled":[516],"required":[516],"name":[513],"size":[513],"nativeError":[32],"selectedLabel":[32],"selectedId":[32],"activeId":[32],"isOpen":[32],"optionGroups":[32],"focusTrigger":[64],"blurTrigger":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"]],{"value":[{"handleValueChange":0}],"values":[{"handleValuesChange":0}],"required":[{"handleRequiredChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-snackbar.cjs",[[513,"lmvz-snackbar",{"status":[1537],"message":[1025],"duration":[1026],"priority":[1025],"actionLabel":[1025,"action-label"],"animationClass":[32],"show":[64],"hide":[64]},null,{"status":[{"onStatusChange":0}]}]]],["lmvz-link.cjs",[[785,"lmvz-link",{"href":[513],"target":[513],"rel":[1],"type":[1537],"externalLabel":[1,"external-label"]},null,{"type":[{"normalizeType":0}]}]]],["lmvz-header_2.cjs",[[769,"lmvz-header",{"role":[2561],"lmvzActiveNav":[1,"lmvz-active-nav"],"initFocus":[64]},null,{"lmvzActiveNav":[{"handleActiveNavChange":0}]}],[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-action.cjs",[[257,"lmvz-action"]]],["lmvz-action-list.cjs",[[774,"lmvz-action-list",{"label":[1],"initFocus":[64]}]]],["lmvz-card.cjs",[[774,"lmvz-card",{"cardTitle":[1,"card-title"],"imageUrl":[1,"image-url"],"description":[1],"primaryActionLabel":[1,"primary-action-label"]}]]],["lmvz-checkbox.cjs",[[578,"lmvz-checkbox",{"label":[1],"checked":[1540],"value":[1],"name":[513],"disabled":[516],"required":[516],"error":[6660],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"form":[1],"autofocus":[4],"nativeError":[32],"checkedState":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"]],{"checked":[{"handleCheckedChange":0}],"required":[{"handleRequiredChange":0}]}]]],["lmvz-menuitem.cjs",[[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-radio.cjs",[[578,"lmvz-radio",{"label":[1],"checked":[1540],"value":[1],"name":[513],"disabled":[516],"required":[516],"error":[6660],"helperText":[1,"helper-text"],"form":[513],"autofocus":[4],"nativeError":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"],[0,"keydown","handleKeydown"]],{"checked":[{"handleCheckedChange":0}],"required":[{"handleRequiredChange":0}],"value":[{"handleValueChange":0}],"label":[{"handleLabelChange":0}]}]]],["lmvz-spinner.cjs",[[513,"lmvz-spinner",{"size":[513],"ariaLabel":[513,"aria-label"]}]]],["lmvz-tab.cjs",[[785,"lmvz-tab",{"value":[513],"disabled":[516],"selected":[516],"panel":[513]}]]],["lmvz-tabs.cjs",[[769,"lmvz-tabs",{"value":[1537],"resolvedValue":[32],"initFocus":[64],"activateTab":[64],"getTabElements":[64],"setTabPanelIds":[64]},[[0,"slotchange","handleSlotChangeEvent"]],{"value":[{"handleValueChange":0}]}]]],["lmvz-toggle.cjs",[[578,"lmvz-toggle",{"label":[1],"checked":[1540],"disabled":[516],"required":[516],"name":[1],"value":[1],"form":[1],"focusToggle":[64],"blurToggle":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64],"getInputElement":[64]},null,{"checked":[{"handleCheckedChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-button-group.cjs",[[769,"lmvz-button-group",{"stacked":[516],"primaryEnabledAction":[2064],"hasActions":[2052,"has-actions"]}]]],["lmvz-chip.cjs",[[769,"lmvz-chip",{"type":[1537],"size":[1537]},null,{"type":[{"normalizeType":0}],"size":[{"normalizeSize":0}]}]]],["lmvz-input.cjs",[[838,"lmvz-input",{"value":[1025],"label":[1],"helperText":[1,"helper-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"required":[516],"name":[1],"type":[1],"errorMessage":[1,"error-message"],"autocomplete":[1],"inputmode":[1],"autocorrect":[1],"autocapitalize":[1],"spellcheck":[4],"autofocus":[4],"minlength":[2],"maxlength":[2],"pattern":[1],"min":[8],"max":[8],"step":[8],"form":[1],"size":[513],"error":[6660],"nativeError":[32],"setValue":[64],"focusInput":[64],"blurInput":[64],"select":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64],"getInputElement":[64]},null,{"value":[{"handleValueChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-popover.cjs",[[769,"lmvz-popover",{"open":[1540],"anchor":[1],"placement":[1],"size":[1],"autoFocus":[4,"auto-focus"],"containerRole":[1,"container-role"],"label":[1],"anchorEl":[32],"show":[64],"hide":[64],"toggle":[64]},null,{"open":[{"handleOpenChange":0}],"anchor":[{"handleAnchorChange":1}]}]]],["lmvz-button_2.cjs",[[785,"lmvz-button",{"ti":[514,"tabindex"],"scale":[513],"variant":[513],"disabled":[516],"type":[1],"form":[1],"formMethod":[1,"form-method"],"name":[1],"value":[1],"buttonRole":[1,"button-role"]}],[514,"lmvz-icon",{"icon":[513],"weight":[513],"size":[513],"iconset":[513],"ariaLabel":[513,"aria-label"],"iconData":[32],"visible":[32]},null,{"icon":[{"loadIconPathData":0}],"iconset":[{"loadIconPathData":0}]}]]]], options);
22
+ return index.bootstrapLazy([["lmvz-datepicker.cjs",[[593,"lmvz-datepicker",{"value":[6145],"visibleMonth":[6145,"visible-month"],"min":[1],"max":[1],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"disabled":[516],"readonly":[516],"required":[516],"name":[513],"label":[1],"placeholder":[1],"helperText":[1,"helper-text"],"errorMessage":[1,"error-message"],"open":[1540],"displayFormat":[1,"display-format"],"focusedDate":[32],"valueDate":[32],"visibleMonthDate":[32],"inputText":[32],"hasUnparseableInput":[32],"isInvalid":[32],"nativeError":[32],"checkValidity":[64],"reportValidity":[64]},[[0,"keydown","handleKeydown"],[0,"focusin","handleInputFocus"],[0,"click","handleInputFocus"],[0,"invalid","handleInvalid"]],{"required":[{"handleValidityRelevantPropChange":0}],"min":[{"handleValidityRelevantPropChange":0}],"max":[{"handleValidityRelevantPropChange":0}],"locale":[{"handleDisplayFormatChange":0}],"displayFormat":[{"handleDisplayFormatChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-modal.cjs",[[769,"lmvz-modal",{"open":[1540],"closeLabel":[1,"close-label"],"hasHeader":[32]},[[0,"submit","handleFormDialogSubmit"]],{"open":[{"handleOpenChange":0}]}]]],["lmvz-message.cjs",[[769,"lmvz-message",{"type":[513],"live":[1],"leadingIcon":[4,"leading-icon"],"dismissible":[4],"closeLabel":[1,"close-label"],"actionLabel":[1,"action-label"]}]]],["lmvz-select.cjs",[[838,"lmvz-select",{"value":[1025],"multiple":[516],"values":[1040],"label":[1],"helperText":[1,"helper-text"],"error":[6660],"errorMessage":[1,"error-message"],"disabled":[516],"required":[516],"name":[513],"size":[513],"nativeError":[32],"selectedLabel":[32],"selectedId":[32],"activeId":[32],"isOpen":[32],"optionGroups":[32],"focusTrigger":[64],"blurTrigger":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"]],{"value":[{"handleValueChange":0}],"values":[{"handleValuesChange":0}],"required":[{"handleRequiredChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-snackbar.cjs",[[513,"lmvz-snackbar",{"status":[1537],"message":[1025],"duration":[1026],"priority":[1025],"actionLabel":[1025,"action-label"],"animationClass":[32],"show":[64],"hide":[64]},null,{"status":[{"onStatusChange":0}]}]]],["lmvz-card.cjs",[[769,"lmvz-card",{"size":[1537],"cardTitle":[1,"card-title"],"description":[1],"imageUrl":[1,"image-url"],"imageAlt":[1,"image-alt"],"actionLabel":[1,"action-label"]},null,{"size":[{"normalizeSize":0}]}]]],["lmvz-link.cjs",[[785,"lmvz-link",{"href":[513],"target":[513],"rel":[1],"type":[1537],"externalLabel":[1,"external-label"]},null,{"type":[{"normalizeType":0}]}]]],["lmvz-header_2.cjs",[[769,"lmvz-header",{"role":[2561],"lmvzActiveNav":[1,"lmvz-active-nav"],"initFocus":[64]},null,{"lmvzActiveNav":[{"handleActiveNavChange":0}]}],[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-action.cjs",[[257,"lmvz-action"]]],["lmvz-action-list.cjs",[[774,"lmvz-action-list",{"label":[1],"initFocus":[64]}]]],["lmvz-checkbox.cjs",[[578,"lmvz-checkbox",{"label":[1],"checked":[1540],"value":[1],"name":[513],"disabled":[516],"required":[516],"error":[6660],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"form":[1],"autofocus":[4],"nativeError":[32],"checkedState":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"]],{"checked":[{"handleCheckedChange":0}],"required":[{"handleRequiredChange":0}]}]]],["lmvz-menuitem.cjs",[[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-radio.cjs",[[578,"lmvz-radio",{"label":[1],"checked":[1540],"value":[1],"name":[513],"disabled":[516],"required":[516],"error":[6660],"helperText":[1,"helper-text"],"form":[513],"autofocus":[4],"nativeError":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64]},[[0,"invalid","handleInvalid"],[0,"keydown","handleKeydown"]],{"checked":[{"handleCheckedChange":0}],"required":[{"handleRequiredChange":0}],"value":[{"handleValueChange":0}],"label":[{"handleLabelChange":0}]}]]],["lmvz-spinner.cjs",[[513,"lmvz-spinner",{"size":[513],"ariaLabel":[513,"aria-label"]}]]],["lmvz-tab.cjs",[[785,"lmvz-tab",{"value":[513],"disabled":[516],"selected":[516],"panel":[513]}]]],["lmvz-tabs.cjs",[[769,"lmvz-tabs",{"value":[1537],"resolvedValue":[32],"initFocus":[64],"activateTab":[64],"getTabElements":[64],"setTabPanelIds":[64]},[[0,"slotchange","handleSlotChangeEvent"]],{"value":[{"handleValueChange":0}]}]]],["lmvz-toggle.cjs",[[578,"lmvz-toggle",{"label":[1],"checked":[1540],"disabled":[516],"required":[516],"name":[1],"value":[1],"form":[1],"focusToggle":[64],"blurToggle":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64],"getInputElement":[64]},null,{"checked":[{"handleCheckedChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-button-group.cjs",[[769,"lmvz-button-group",{"stacked":[516],"primaryEnabledAction":[2064],"hasActions":[2052,"has-actions"]}]]],["lmvz-chip.cjs",[[769,"lmvz-chip",{"type":[1537],"size":[1537]},null,{"type":[{"normalizeType":0}],"size":[{"normalizeSize":0}]}]]],["lmvz-input.cjs",[[838,"lmvz-input",{"value":[1025],"label":[1],"helperText":[1,"helper-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"required":[516],"name":[1],"type":[1],"errorMessage":[1,"error-message"],"autocomplete":[1],"inputmode":[1],"autocapitalize":[1],"spellcheck":[4],"autofocus":[4],"minlength":[2],"maxlength":[2],"pattern":[1],"min":[8],"max":[8],"step":[8],"form":[1],"size":[513],"error":[6660],"nativeError":[32],"setValue":[64],"focusInput":[64],"blurInput":[64],"select":[64],"checkValidity":[64],"reportValidity":[64],"getValidationMessage":[64],"getInputElement":[64]},null,{"value":[{"handleValueChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-popover.cjs",[[769,"lmvz-popover",{"open":[1540],"anchor":[1],"placement":[1],"size":[1],"autoFocus":[4,"auto-focus"],"containerRole":[1,"container-role"],"label":[1],"anchorEl":[32],"show":[64],"hide":[64],"toggle":[64]},null,{"open":[{"handleOpenChange":0}],"anchor":[{"handleAnchorChange":1}]}]]],["lmvz-button_2.cjs",[[785,"lmvz-button",{"ti":[514,"tabindex"],"scale":[513],"variant":[513],"disabled":[516],"type":[1],"form":[1],"formMethod":[1,"form-method"],"name":[1],"value":[1],"buttonRole":[1,"button-role"]}],[514,"lmvz-icon",{"icon":[513],"weight":[513],"size":[513],"iconset":[513],"ariaLabel":[513,"aria-label"],"iconData":[32],"visible":[32]},null,{"icon":[{"loadIconPathData":0}],"iconset":[{"loadIconPathData":0}]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DWy4nuyZ.js');
3
+ var index = require('./index-BUrb__KL.js');
4
4
  var svg = require('./svg-CysxzZw7.js');
5
5
  require('./logger-NBdKPSou.js');
6
6
 
@@ -2735,13 +2735,13 @@ const LmvzDatepicker = class {
2735
2735
  render() {
2736
2736
  const validationLabels = getValidationLabels(this.locale);
2737
2737
  const popoverLabel = this.label ? `${this.label} ${validationLabels.popoverSuffix}` : undefined;
2738
- return (index.h(index.Host, { key: 'af9d7f075bf97d7eb58c6557f43cf8a245d5f712' }, index.h("lmvz-input", { key: 'eef4be58281b8356d443c65c5cf6451192e70f75', ref: (el) => {
2738
+ return (index.h(index.Host, { key: '55c1293d79c3c9a1ca591e81c693797194498967' }, index.h("lmvz-input", { key: '054528d324a2fd99802659a41796da362412bcd9', ref: (el) => {
2739
2739
  const wasUnset = !this.inputEl;
2740
2740
  this.inputEl = el;
2741
2741
  if (wasUnset && this.inputEl) {
2742
2742
  index.forceUpdate(this);
2743
2743
  }
2744
- }, label: this.label ?? '', placeholder: this.effectivePlaceholder, helperText: this.helperText, errorMessage: this.errorMessage, error: this.nativeError, disabled: this.disabled, readonly: this.readonly, required: this.required, value: this.inputText, autocomplete: "off", onLmvzInput: this.handleInputTextChange, onKeyDown: this.handleInputKeydown }, index.h("lmvz-icon", { key: 'fc39ef14720522a8089d33321b918e5577a36cc2', slot: "after-input", icon: CALENDAR_ICON, "aria-hidden": "true" })), index.h("lmvz-popover", { key: '0076c57da02c7c9d0fcb53584f9dc4127317d6a5', anchor: this.inputEl, open: this.open && !this.disabled, autoFocus: false, size: "md", label: popoverLabel, onLmvzOpen: this.handlePopoverOpen, onLmvzClose: this.handlePopoverClose }, index.h("div", { key: '4c1e716e52a5d9ed75155dded3c2c39649e1e844', part: "panel", class: "datepicker-panel" }, this.renderHeader(), this.renderGrid()))));
2744
+ }, label: this.label ?? '', placeholder: this.effectivePlaceholder, helperText: this.helperText, errorMessage: this.errorMessage, error: this.nativeError, disabled: this.disabled, readonly: this.readonly, required: this.required, value: this.inputText, autocomplete: "off", onLmvzInput: this.handleInputTextChange, onKeyDown: this.handleInputKeydown }, index.h("lmvz-icon", { key: 'e109a59ba562ff0db88442119725cb38cc01ed6f', slot: "after-input", icon: CALENDAR_ICON, "aria-hidden": "true" })), index.h("lmvz-popover", { key: 'df9046ff443232be3036fbb9ad2646681e7be697', anchor: this.inputEl, open: this.open && !this.disabled, autoFocus: false, size: "md", label: popoverLabel, onLmvzOpen: this.handlePopoverOpen, onLmvzClose: this.handlePopoverClose }, index.h("div", { key: 'eea613edc10157650e2e11698afdcc85353bff49', part: "panel", class: "datepicker-panel" }, this.renderHeader(), this.renderGrid()))));
2745
2745
  }
2746
2746
  static get delegatesFocus() { return true; }
2747
2747
  static get formAssociated() { return true; }