@melodicdev/components 1.2.4 → 1.4.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 (166) hide show
  1. package/assets/melodic-components.js +76 -19
  2. package/assets/melodic-components.js.map +1 -1
  3. package/assets/melodic-components.min.js +474 -420
  4. package/lib/components/data-display/activity-feed/activity-feed-item.component.d.ts +5 -3
  5. package/lib/components/data-display/activity-feed/activity-feed-item.component.d.ts.map +1 -1
  6. package/lib/components/data-display/activity-feed/activity-feed-item.component.js +6 -1
  7. package/lib/components/data-display/activity-feed/activity-feed-item.styles.d.ts.map +1 -1
  8. package/lib/components/data-display/activity-feed/activity-feed-item.styles.js +1 -0
  9. package/lib/components/data-display/activity-feed/activity-feed-item.template.d.ts.map +1 -1
  10. package/lib/components/data-display/activity-feed/activity-feed-item.template.js +2 -1
  11. package/lib/components/data-display/activity-feed/activity-feed.component.d.ts.map +1 -1
  12. package/lib/components/data-display/avatar/avatar.component.d.ts.map +1 -1
  13. package/lib/components/data-display/avatar/avatar.styles.js +1 -1
  14. package/lib/components/data-display/badge/badge.component.d.ts +2 -0
  15. package/lib/components/data-display/badge/badge.component.d.ts.map +1 -1
  16. package/lib/components/data-display/badge/badge.component.js +3 -1
  17. package/lib/components/data-display/badge/badge.styles.d.ts.map +1 -1
  18. package/lib/components/data-display/badge/badge.styles.js +6 -0
  19. package/lib/components/data-display/badge/badge.template.d.ts.map +1 -1
  20. package/lib/components/data-display/badge/badge.template.js +4 -1
  21. package/lib/components/data-display/badge-group/badge-group.component.d.ts.map +1 -1
  22. package/lib/components/data-display/calendar-view/calendar-view.component.d.ts.map +1 -1
  23. package/lib/components/data-display/data-grid/data-grid.component.d.ts.map +1 -1
  24. package/lib/components/data-display/list/list-item.component.d.ts.map +1 -1
  25. package/lib/components/data-display/list/list.component.d.ts.map +1 -1
  26. package/lib/components/data-display/profile-card/index.d.ts +2 -0
  27. package/lib/components/data-display/profile-card/index.d.ts.map +1 -0
  28. package/lib/components/data-display/profile-card/index.js +1 -0
  29. package/lib/components/data-display/profile-card/profile-card.component.d.ts +61 -0
  30. package/lib/components/data-display/profile-card/profile-card.component.d.ts.map +1 -0
  31. package/lib/components/data-display/profile-card/profile-card.component.js +102 -0
  32. package/lib/components/data-display/profile-card/profile-card.styles.d.ts +2 -0
  33. package/lib/components/data-display/profile-card/profile-card.styles.d.ts.map +1 -0
  34. package/lib/components/data-display/profile-card/profile-card.styles.js +144 -0
  35. package/lib/components/data-display/profile-card/profile-card.template.d.ts +3 -0
  36. package/lib/components/data-display/profile-card/profile-card.template.d.ts.map +1 -0
  37. package/lib/components/data-display/profile-card/profile-card.template.js +52 -0
  38. package/lib/components/data-display/stat-card/index.d.ts +2 -0
  39. package/lib/components/data-display/stat-card/index.d.ts.map +1 -0
  40. package/lib/components/data-display/stat-card/index.js +1 -0
  41. package/lib/components/data-display/stat-card/stat-card.component.d.ts +45 -0
  42. package/lib/components/data-display/stat-card/stat-card.component.d.ts.map +1 -0
  43. package/lib/components/data-display/stat-card/stat-card.component.js +59 -0
  44. package/lib/components/data-display/stat-card/stat-card.styles.d.ts +2 -0
  45. package/lib/components/data-display/stat-card/stat-card.styles.d.ts.map +1 -0
  46. package/lib/components/data-display/stat-card/stat-card.styles.js +81 -0
  47. package/lib/components/data-display/stat-card/stat-card.template.d.ts +3 -0
  48. package/lib/components/data-display/stat-card/stat-card.template.d.ts.map +1 -0
  49. package/lib/components/data-display/stat-card/stat-card.template.js +27 -0
  50. package/lib/components/data-display/table/table.component.d.ts.map +1 -1
  51. package/lib/components/data-display/table/table.styles.d.ts.map +1 -1
  52. package/lib/components/data-display/table/table.styles.js +4 -1
  53. package/lib/components/data-display/tag/tag.component.d.ts.map +1 -1
  54. package/lib/components/feedback/alert/alert.component.d.ts.map +1 -1
  55. package/lib/components/feedback/progress/progress.component.d.ts.map +1 -1
  56. package/lib/components/feedback/spinner/spinner.component.d.ts.map +1 -1
  57. package/lib/components/feedback/toast/toast-container.component.d.ts.map +1 -1
  58. package/lib/components/feedback/toast/toast.component.d.ts.map +1 -1
  59. package/lib/components/feedback/toast/toast.service.d.ts.map +1 -1
  60. package/lib/components/forms/autocomplete/autocomplete.component.d.ts.map +1 -1
  61. package/lib/components/forms/button/button.component.d.ts.map +1 -1
  62. package/lib/components/forms/button-group/button-group-item.component.d.ts.map +1 -1
  63. package/lib/components/forms/button-group/button-group.component.d.ts.map +1 -1
  64. package/lib/components/forms/checkbox/checkbox.component.d.ts.map +1 -1
  65. package/lib/components/forms/date-picker/calendar.component.d.ts.map +1 -1
  66. package/lib/components/forms/date-picker/date-picker.component.d.ts.map +1 -1
  67. package/lib/components/forms/date-time-picker/date-time-picker.component.d.ts.map +1 -1
  68. package/lib/components/forms/file-upload/file-icon.component.d.ts +12 -0
  69. package/lib/components/forms/file-upload/file-icon.component.d.ts.map +1 -0
  70. package/lib/components/forms/file-upload/file-icon.component.js +34 -0
  71. package/lib/components/forms/file-upload/file-icon.styles.d.ts +2 -0
  72. package/lib/components/forms/file-upload/file-icon.styles.d.ts.map +1 -0
  73. package/lib/components/forms/file-upload/file-icon.styles.js +124 -0
  74. package/lib/components/forms/file-upload/file-icon.template.d.ts +3 -0
  75. package/lib/components/forms/file-upload/file-icon.template.d.ts.map +1 -0
  76. package/lib/components/forms/file-upload/file-icon.template.js +18 -0
  77. package/lib/components/forms/file-upload/file-upload-item.component.d.ts +17 -0
  78. package/lib/components/forms/file-upload/file-upload-item.component.d.ts.map +1 -0
  79. package/lib/components/forms/file-upload/file-upload-item.component.js +52 -0
  80. package/lib/components/forms/file-upload/file-upload-item.styles.d.ts +2 -0
  81. package/lib/components/forms/file-upload/file-upload-item.styles.d.ts.map +1 -0
  82. package/lib/components/forms/file-upload/file-upload-item.styles.js +172 -0
  83. package/lib/components/forms/file-upload/file-upload-item.template.d.ts +3 -0
  84. package/lib/components/forms/file-upload/file-upload-item.template.d.ts.map +1 -0
  85. package/lib/components/forms/file-upload/file-upload-item.template.js +55 -0
  86. package/lib/components/forms/file-upload/file-upload.component.d.ts +24 -0
  87. package/lib/components/forms/file-upload/file-upload.component.d.ts.map +1 -0
  88. package/lib/components/forms/file-upload/file-upload.component.js +130 -0
  89. package/lib/components/forms/file-upload/file-upload.styles.d.ts +2 -0
  90. package/lib/components/forms/file-upload/file-upload.styles.d.ts.map +1 -0
  91. package/lib/components/forms/file-upload/file-upload.styles.js +125 -0
  92. package/lib/components/forms/file-upload/file-upload.template.d.ts +3 -0
  93. package/lib/components/forms/file-upload/file-upload.template.d.ts.map +1 -0
  94. package/lib/components/forms/file-upload/file-upload.template.js +51 -0
  95. package/lib/components/forms/file-upload/file-upload.types.d.ts +9 -0
  96. package/lib/components/forms/file-upload/file-upload.types.d.ts.map +1 -0
  97. package/lib/components/forms/file-upload/file-upload.types.js +40 -0
  98. package/lib/components/forms/file-upload/index.d.ts +6 -0
  99. package/lib/components/forms/file-upload/index.d.ts.map +1 -0
  100. package/lib/components/forms/file-upload/index.js +4 -0
  101. package/lib/components/forms/form-field/form-field.component.d.ts.map +1 -1
  102. package/lib/components/forms/input/input.component.d.ts.map +1 -1
  103. package/lib/components/forms/radio/radio-group.component.d.ts.map +1 -1
  104. package/lib/components/forms/radio/radio.component.d.ts.map +1 -1
  105. package/lib/components/forms/radio-card-group/radio-card-group.component.d.ts.map +1 -1
  106. package/lib/components/forms/radio-card-group/radio-card.component.d.ts.map +1 -1
  107. package/lib/components/forms/select/select.component.d.ts.map +1 -1
  108. package/lib/components/forms/slider/slider.component.d.ts.map +1 -1
  109. package/lib/components/forms/slider/slider.styles.js +2 -2
  110. package/lib/components/forms/textarea/textarea.component.d.ts.map +1 -1
  111. package/lib/components/forms/time-picker/time-picker.component.d.ts.map +1 -1
  112. package/lib/components/forms/toggle/toggle.component.d.ts.map +1 -1
  113. package/lib/components/foundation/card/card.component.d.ts.map +1 -1
  114. package/lib/components/foundation/card/card.styles.js +1 -1
  115. package/lib/components/foundation/container/container.component.d.ts.map +1 -1
  116. package/lib/components/foundation/divider/divider.component.d.ts.map +1 -1
  117. package/lib/components/foundation/stack/stack.component.d.ts.map +1 -1
  118. package/lib/components/general/icon/icon.component.d.ts.map +1 -1
  119. package/lib/components/navigation/breadcrumb/breadcrumb-item.component.d.ts.map +1 -1
  120. package/lib/components/navigation/breadcrumb/breadcrumb.component.d.ts.map +1 -1
  121. package/lib/components/navigation/pagination/pagination.component.d.ts.map +1 -1
  122. package/lib/components/navigation/sidebar/sidebar-group.component.d.ts.map +1 -1
  123. package/lib/components/navigation/sidebar/sidebar-item.component.d.ts +3 -1
  124. package/lib/components/navigation/sidebar/sidebar-item.component.d.ts.map +1 -1
  125. package/lib/components/navigation/sidebar/sidebar-item.component.js +3 -1
  126. package/lib/components/navigation/sidebar/sidebar-item.template.js +1 -1
  127. package/lib/components/navigation/sidebar/sidebar.component.d.ts +1 -3
  128. package/lib/components/navigation/sidebar/sidebar.component.d.ts.map +1 -1
  129. package/lib/components/navigation/sidebar/sidebar.component.js +1 -5
  130. package/lib/components/navigation/steps/step-panel.component.d.ts.map +1 -1
  131. package/lib/components/navigation/steps/step.component.d.ts.map +1 -1
  132. package/lib/components/navigation/steps/steps.component.d.ts +1 -1
  133. package/lib/components/navigation/steps/steps.component.d.ts.map +1 -1
  134. package/lib/components/navigation/tabs/tab-panel.component.d.ts.map +1 -1
  135. package/lib/components/navigation/tabs/tab.component.d.ts.map +1 -1
  136. package/lib/components/navigation/tabs/tabs.component.d.ts +1 -1
  137. package/lib/components/navigation/tabs/tabs.component.d.ts.map +1 -1
  138. package/lib/components/overlays/dialog/dialog-ref.class.d.ts.map +1 -1
  139. package/lib/components/overlays/dialog/dialog.component.d.ts.map +1 -1
  140. package/lib/components/overlays/dialog/dialog.service.d.ts.map +1 -1
  141. package/lib/components/overlays/drawer/drawer.component.d.ts.map +1 -1
  142. package/lib/components/overlays/dropdown/dropdown-group.component.d.ts.map +1 -1
  143. package/lib/components/overlays/dropdown/dropdown-item.component.d.ts.map +1 -1
  144. package/lib/components/overlays/dropdown/dropdown.component.d.ts.map +1 -1
  145. package/lib/components/overlays/popover/popover.component.d.ts.map +1 -1
  146. package/lib/components/overlays/tooltip/tooltip.component.d.ts.map +1 -1
  147. package/lib/components/pages/auth/login-page.component.d.ts.map +1 -1
  148. package/lib/components/pages/auth/signup-page.component.d.ts.map +1 -1
  149. package/lib/components/pages/dashboard/dashboard-page.component.d.ts.map +1 -1
  150. package/lib/components/sections/app-shell/app-shell.component.d.ts.map +1 -1
  151. package/lib/components/sections/hero/hero-section.component.d.ts.map +1 -1
  152. package/lib/components/sections/page-header/page-header.component.d.ts.map +1 -1
  153. package/lib/components/sections/page-section/index.d.ts +2 -0
  154. package/lib/components/sections/page-section/index.d.ts.map +1 -0
  155. package/lib/components/sections/page-section/index.js +1 -0
  156. package/lib/components/sections/page-section/page-section.component.d.ts +39 -0
  157. package/lib/components/sections/page-section/page-section.component.d.ts.map +1 -0
  158. package/lib/components/sections/page-section/page-section.component.js +56 -0
  159. package/lib/components/sections/page-section/page-section.styles.d.ts +2 -0
  160. package/lib/components/sections/page-section/page-section.styles.d.ts.map +1 -0
  161. package/lib/components/sections/page-section/page-section.styles.js +72 -0
  162. package/lib/components/sections/page-section/page-section.template.d.ts +3 -0
  163. package/lib/components/sections/page-section/page-section.template.d.ts.map +1 -0
  164. package/lib/components/sections/page-section/page-section.template.js +30 -0
  165. package/lib/utils/virtual-scroll/index.d.ts.map +1 -1
  166. package/package.json +17 -1
@@ -1,10 +1,10 @@
1
1
  const O = (e) => typeof e == "string" ? e : typeof e == "symbol" ? e.toString() : e.name;
2
- function fs(e) {
2
+ function _s(e) {
3
3
  return function(t, r, l) {
4
4
  t.params || (t.params = []), t.params[l] = { __injectionToken: O(e) };
5
5
  };
6
6
  }
7
- function Z(e = {}) {
7
+ function ee(e = {}) {
8
8
  return function(t) {
9
9
  const r = e.token ?? t, l = e.dependencies?.map((a) => O(a));
10
10
  L.bind(r, t, {
@@ -148,10 +148,10 @@ function H(e) {
148
148
  });
149
149
  };
150
150
  }
151
- function ee(e) {
151
+ function te(e) {
152
152
  return Symbol(e);
153
153
  }
154
- async function _s(e = {}) {
154
+ async function ys(e = {}) {
155
155
  const t = e.devMode ?? !1, r = [];
156
156
  if (t && console.log("[Melodic] Bootstrap starting..."), e.onError) {
157
157
  const o = (n) => {
@@ -362,15 +362,15 @@ function kr(e, t) {
362
362
  }
363
363
  return r;
364
364
  }
365
- function ys(e) {
365
+ function xs(e) {
366
366
  const t = e[tl], r = {
367
367
  ...e.base,
368
368
  ...t
369
369
  };
370
370
  return e.extends ? kr(e.extends, r) : r;
371
371
  }
372
- const rl = ee("APP_CONFIG");
373
- function xs(e) {
372
+ const rl = te("APP_CONFIG");
373
+ function ws(e) {
374
374
  return (t) => {
375
375
  t.bindValue(rl, e);
376
376
  };
@@ -511,6 +511,10 @@ var Ae = class $r extends Error {
511
511
  ...t.cancel.cancelledResponse
512
512
  }), Promise.resolve(l);
513
513
  }
514
+ if (t.body instanceof FormData) {
515
+ const l = { ...t.headers };
516
+ delete l["Content-Type"], delete l["content-type"], t.headers = l;
517
+ }
514
518
  t.abortController === void 0 && (t.abortController = new AbortController());
515
519
  let r = await this.executeRequest(t);
516
520
  return r = await this.executeResponseInterceptors(r), r;
@@ -605,7 +609,7 @@ var Ae = class $r extends Error {
605
609
  return r.includes("application/json") ? await e.json() : r.includes("text/") ? await e.text() : r.includes("application/octet-stream") || r.includes("image/") ? await e.blob() : await e.text();
606
610
  }
607
611
  };
608
- function ws(e, t) {
612
+ function ks(e, t) {
609
613
  return (r) => {
610
614
  const l = new Be(e);
611
615
  r.bindValue(Be, l), t?.request && t.request.forEach((a) => {
@@ -615,13 +619,13 @@ function ws(e, t) {
615
619
  });
616
620
  };
617
621
  }
618
- function ks(e) {
622
+ function $s(e) {
619
623
  return { canActivate: e };
620
624
  }
621
- function $s(e) {
625
+ function Cs(e) {
622
626
  return { canDeactivate: e };
623
627
  }
624
- function Cs(e) {
628
+ function Ss(e) {
625
629
  return { resolve: e };
626
630
  }
627
631
  var _e = class {
@@ -678,7 +682,7 @@ var _e = class {
678
682
  }
679
683
  };
680
684
  const il = "melodic:route-context";
681
- var Ss = class extends CustomEvent {
685
+ var Es = class extends CustomEvent {
682
686
  constructor(e) {
683
687
  super(il, {
684
688
  bubbles: !1,
@@ -852,7 +856,7 @@ var xe = class {
852
856
  return this._resolvedData.get(t);
853
857
  }
854
858
  };
855
- xe = g([Z()], xe);
859
+ xe = g([ee()], xe);
856
860
  function j(e, t) {
857
861
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
858
862
  }
@@ -1102,7 +1106,7 @@ var V = class {
1102
1106
  };
1103
1107
  }
1104
1108
  };
1105
- V = g([Z(), j("design:paramtypes", [])], V);
1109
+ V = g([ee(), j("design:paramtypes", [])], V);
1106
1110
  var W = /* @__PURE__ */ new Map(), Tr = (e) => {
1107
1111
  if (W.has(e)) return W.get(e);
1108
1112
  const t = e.toLowerCase();
@@ -1114,24 +1118,24 @@ function he(e, t) {
1114
1118
  function ml(e) {
1115
1119
  return Tr(e);
1116
1120
  }
1117
- function Ts(e) {
1121
+ function zs(e) {
1118
1122
  return Tr(e) !== void 0;
1119
1123
  }
1120
- function zs(e) {
1124
+ function As(e) {
1121
1125
  return W.delete(e);
1122
1126
  }
1123
- function As() {
1127
+ function Ds() {
1124
1128
  return Array.from(W.keys());
1125
1129
  }
1126
- function oe(e) {
1130
+ function Y(e) {
1127
1131
  return typeof e == "object" && e !== null && "__directive" in e;
1128
1132
  }
1129
- var pe = `m${Math.random().toString(36).slice(2, 9)}`, ul = `<!--${pe}-->`, Ie = `__${pe}_`, He = new RegExp(`${Ie}(\\d+)__`, "g"), ie = (e) => `${Ie}${e}__`, Y = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new WeakMap();
1133
+ var pe = `m${Math.random().toString(36).slice(2, 9)}`, ul = `<!--${pe}-->`, Ie = `__${pe}_`, He = new RegExp(`${Ie}(\\d+)__`, "g"), ie = (e) => `${Ie}${e}__`, X = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new WeakMap();
1130
1134
  function be(e) {
1131
1135
  let t = Ke.get(e);
1132
1136
  return t === void 0 && (t = e.join(pe), Ke.set(e, t)), t;
1133
1137
  }
1134
- var hl = class X {
1138
+ var hl = class J {
1135
1139
  constructor(t, r) {
1136
1140
  this.strings = t, this.values = r;
1137
1141
  }
@@ -1159,7 +1163,7 @@ var hl = class X {
1159
1163
  this.commit(o);
1160
1164
  }
1161
1165
  getTemplate(t) {
1162
- let r = Y.get(t);
1166
+ let r = X.get(t);
1163
1167
  if (r) return r;
1164
1168
  const l = [];
1165
1169
  let a = this.strings[0];
@@ -1289,11 +1293,11 @@ var hl = class X {
1289
1293
  element: c,
1290
1294
  parts: l,
1291
1295
  partPaths: m
1292
- }, Y.size >= 500) {
1293
- const w = Y.keys().next().value;
1294
- w && Y.delete(w);
1296
+ }, X.size >= 500) {
1297
+ const w = X.keys().next().value;
1298
+ w && X.delete(w);
1295
1299
  }
1296
- return Y.set(t, r), r;
1300
+ return X.set(t, r), r;
1297
1301
  }
1298
1302
  getAttributePreProcessor(t) {
1299
1303
  return {
@@ -1412,6 +1416,27 @@ var hl = class X {
1412
1416
  t.renderedNodes = [], t.arrayState = void 0, t.nestedContainer = void 0;
1413
1417
  }
1414
1418
  }
1419
+ /**
1420
+ * Clears DOM nodes created by a directive (e.g. repeat, when) when
1421
+ * switching away from a directive to a different renderable type.
1422
+ * Removes all nodes between the directive's markers and restores
1423
+ * part.node into the DOM so non-directive rendering can proceed.
1424
+ */
1425
+ clearDirectiveDOM(t) {
1426
+ const r = t.directiveState;
1427
+ if (!r) return;
1428
+ const l = r.startMarker, a = r.endMarker;
1429
+ if (l && a && l.parentNode) {
1430
+ const o = l.parentNode;
1431
+ let s = l.nextSibling;
1432
+ for (; s && s !== a; ) {
1433
+ const n = s.nextSibling;
1434
+ o.removeChild(s), s = n;
1435
+ }
1436
+ t.node && o.insertBefore(t.node, a), o.removeChild(l), o.removeChild(a);
1437
+ }
1438
+ t.directiveState = void 0;
1439
+ }
1415
1440
  cleanupParts(t) {
1416
1441
  for (const r of t) {
1417
1442
  if (r.actionCleanup) try {
@@ -1498,7 +1523,7 @@ var hl = class X {
1498
1523
  }
1499
1524
  this.clearRenderedNodes(t);
1500
1525
  const o = [];
1501
- for (const s of r) if (s instanceof X) {
1526
+ for (const s of r) if (s instanceof J) {
1502
1527
  const n = document.createDocumentFragment();
1503
1528
  s.renderInto(n);
1504
1529
  const c = Array.from(n.childNodes);
@@ -1525,7 +1550,7 @@ var hl = class X {
1525
1550
  }
1526
1551
  createArrayItem(t, r, l) {
1527
1552
  const a = document.createDocumentFragment();
1528
- t instanceof X ? t.renderInto(a) : t instanceof Node ? a.appendChild(t) : t != null && a.appendChild(document.createTextNode(String(t)));
1553
+ t instanceof J ? t.renderInto(a) : t instanceof Node ? a.appendChild(t) : t != null && a.appendChild(document.createTextNode(String(t)));
1529
1554
  const o = Array.from(a.childNodes);
1530
1555
  return r.insertBefore(a, l), {
1531
1556
  container: a,
@@ -1533,7 +1558,7 @@ var hl = class X {
1533
1558
  };
1534
1559
  }
1535
1560
  updateArrayItem(t, r, l, a) {
1536
- if (r instanceof X) {
1561
+ if (r instanceof J) {
1537
1562
  r.renderInto(t.container), t.value = r, t.nodes = Array.from(t.container.childNodes);
1538
1563
  return;
1539
1564
  }
@@ -1545,15 +1570,18 @@ var hl = class X {
1545
1570
  commit(t) {
1546
1571
  for (const r of t) {
1547
1572
  const l = this.values[r.index], a = r.type === "attribute" && r.attributeIndices && r.attributeStrings;
1548
- if (!(!a && !oe(l) && r.type !== "action" && r.previousValue === l)) {
1573
+ if (!(!a && !Y(l) && r.type !== "action" && r.previousValue === l)) {
1549
1574
  switch (r.type) {
1550
1575
  case "node":
1551
- r.node && (oe(l) ? r.directiveState = l.render(r.node, r.directiveState) : l instanceof X ? this.renderNestedTemplate(r, l) : l instanceof Node ? this.renderNode(r, l) : Array.isArray(l) ? this.renderArray(r, l) : (this.clearRenderedNodes(r), r.node.textContent = String(l ?? "")));
1576
+ if (r.node) {
1577
+ const o = Y(r.previousValue), s = Y(l);
1578
+ o && !s && r.directiveState && this.clearDirectiveDOM(r), !o && s && this.clearRenderedNodes(r), s ? r.directiveState = l.render(r.node, r.directiveState) : l instanceof J ? this.renderNestedTemplate(r, l) : l instanceof Node ? this.renderNode(r, l) : Array.isArray(l) ? this.renderArray(r, l) : (this.clearRenderedNodes(r), r.node.textContent = String(l ?? ""));
1579
+ }
1552
1580
  break;
1553
1581
  case "attribute":
1554
1582
  if (r.node && r.name) {
1555
1583
  const o = r.node;
1556
- if (oe(l)) r.directiveState = l.render(o, r.directiveState);
1584
+ if (Y(l)) r.directiveState = l.render(o, r.directiveState);
1557
1585
  else if (a) {
1558
1586
  const s = r.attributeStrings, n = r.attributeIndices;
1559
1587
  let c = s[0] ?? "";
@@ -1574,7 +1602,7 @@ var hl = class X {
1574
1602
  }
1575
1603
  break;
1576
1604
  case "property":
1577
- r.node && r.name && (oe(l) ? r.directiveState = l.render(r.node, r.directiveState) : r.node[r.name] = l);
1605
+ r.node && r.name && (Y(l) ? r.directiveState = l.render(r.node, r.directiveState) : r.node[r.name] = l);
1578
1606
  break;
1579
1607
  case "event":
1580
1608
  if (r.node && r.name) {
@@ -1991,22 +2019,22 @@ function z(e) {
1991
2019
  r.destroy(), l();
1992
2020
  }, t;
1993
2021
  }
1994
- const Ms = () => () => ({}), Ps = (e, t) => ((r) => ({
2022
+ const Ps = () => () => ({}), Os = (e, t) => ((r) => ({
1995
2023
  type: e,
1996
2024
  payload: r ?? (t ? t() : void 0)
1997
2025
  }));
1998
- function Os(...e) {
2026
+ function Ns(...e) {
1999
2027
  return { reducers: e };
2000
2028
  }
2001
- const Ns = (e) => {
2029
+ const Ls = (e) => {
2002
2030
  const t = {};
2003
2031
  return Object.keys(e).forEach((r) => {
2004
2032
  t[r] = P(e[r]);
2005
2033
  }), t;
2006
- }, Ls = (e, t) => ({
2034
+ }, Vs = (e, t) => ({
2007
2035
  action: e(),
2008
2036
  reducer: t
2009
- }), $e = ee("RX_INIT_STATE"), Ce = ee("RX_ACTION_PROVIDERS"), Se = ee("RX_EFFECTS_PROVIDERS"), Ir = ee("RX_STATE_DEBUG");
2037
+ }), $e = te("RX_INIT_STATE"), Ce = te("RX_ACTION_PROVIDERS"), Se = te("RX_EFFECTS_PROVIDERS"), Ir = te("RX_STATE_DEBUG");
2010
2038
  var vl = class {
2011
2039
  constructor() {
2012
2040
  this._effects = [];
@@ -2020,7 +2048,7 @@ var vl = class {
2020
2048
  getEffects() {
2021
2049
  return this._effects;
2022
2050
  }
2023
- }, Vs = class extends vl {
2051
+ }, js = class extends vl {
2024
2052
  constructor(e, t = { reducers: [] }, r = !1) {
2025
2053
  super(), this._initState = e, this._reducerConfig = t, this._debug = r, this._state = P(e);
2026
2054
  }
@@ -2133,8 +2161,8 @@ g([H($e), j("design:type", Object)], F.prototype, "_state", void 0);
2133
2161
  g([H(Ce), j("design:type", Object)], F.prototype, "_reducerMap", void 0);
2134
2162
  g([H(Se), j("design:type", Object)], F.prototype, "_effectMap", void 0);
2135
2163
  g([H(Ir), j("design:type", Boolean)], F.prototype, "_debug", void 0);
2136
- F = g([Z(), j("design:paramtypes", [])], F);
2137
- function Fs(e, t, r, l = !1) {
2164
+ F = g([ee(), j("design:paramtypes", [])], F);
2165
+ function qs(e, t, r, l = !1) {
2138
2166
  return (a) => {
2139
2167
  a.bindValue($e, e), a.bindValue(Ce, t), a.bindValue(Se, r), a.bindValue(Ir, l), a.bind(F, F, { dependencies: [
2140
2168
  $e,
@@ -2387,7 +2415,7 @@ function wl(e) {
2387
2415
  a[s] = o, o = t[o];
2388
2416
  return a;
2389
2417
  }
2390
- function qs(e, t, r) {
2418
+ function Bs(e, t, r) {
2391
2419
  return U((l, a) => {
2392
2420
  if (!a) {
2393
2421
  const o = l.parentNode;
@@ -2524,7 +2552,7 @@ function G(e) {
2524
2552
  return a;
2525
2553
  });
2526
2554
  }
2527
- function Bs(e) {
2555
+ function Hs(e) {
2528
2556
  return U((t, r) => {
2529
2557
  if (!r) {
2530
2558
  const l = t.parentNode;
@@ -2586,7 +2614,7 @@ function Sl(e, t, r) {
2586
2614
  };
2587
2615
  }
2588
2616
  he("portal", Sl);
2589
- var Hs = class {
2617
+ var Ks = class {
2590
2618
  constructor() {
2591
2619
  this.__directive = !0;
2592
2620
  }
@@ -2810,13 +2838,13 @@ var Tl = class {
2810
2838
  this.errors.set(t);
2811
2839
  }
2812
2840
  };
2813
- function Ks(e, t) {
2841
+ function Ws(e, t) {
2814
2842
  return new El(e, t);
2815
2843
  }
2816
- function Ws(e, t) {
2844
+ function Gs(e, t) {
2817
2845
  return new Tl(e, t);
2818
2846
  }
2819
- const Gs = {
2847
+ const Us = {
2820
2848
  required: (e) => e == null || e === "" || Array.isArray(e) && e.length === 0 ? { required: {
2821
2849
  code: "required",
2822
2850
  message: "This field is required"
@@ -2892,13 +2920,13 @@ const Gs = {
2892
2920
  return l;
2893
2921
  }
2894
2922
  };
2895
- function Us(e, t, r) {
2923
+ function Ys(e, t, r) {
2896
2924
  return (l) => t(l) ? null : { [e]: {
2897
2925
  code: e,
2898
2926
  message: typeof r == "function" ? r(l) : r
2899
2927
  } };
2900
2928
  }
2901
- function Ys(e, t, r) {
2929
+ function Xs(e, t, r) {
2902
2930
  return async (l) => await t(l) ? null : { [e]: {
2903
2931
  code: e,
2904
2932
  message: typeof r == "function" ? r(l) : r
@@ -3264,7 +3292,7 @@ const Il = {
3264
3292
  "--ml-screen-lg": "1024px",
3265
3293
  "--ml-screen-xl": "1280px",
3266
3294
  "--ml-screen-2xl": "1536px"
3267
- }, Xs = {
3295
+ }, Js = {
3268
3296
  xs: 320,
3269
3297
  sm: 640,
3270
3298
  md: 768,
@@ -3299,7 +3327,7 @@ const Bl = {
3299
3327
  "--ml-color-border": "var(--ml-gray-200)",
3300
3328
  "--ml-color-border-strong": "var(--ml-gray-300)",
3301
3329
  "--ml-color-border-muted": "var(--ml-gray-100)"
3302
- }, Js = `:root, [data-theme="light"] {
3330
+ }, Qs = `:root, [data-theme="light"] {
3303
3331
  ${Object.entries(Bl).map(([e, t]) => `${e}: ${t};`).join(`
3304
3332
  `)}
3305
3333
 
@@ -3373,7 +3401,7 @@ const Bl = {
3373
3401
  "--ml-tooltip-bg": "var(--ml-gray-100)",
3374
3402
  "--ml-tooltip-text": "var(--ml-gray-900)",
3375
3403
  "--ml-card-footer-bg": "var(--ml-gray-800)"
3376
- }, Qs = `[data-theme="dark"] {
3404
+ }, Zs = `[data-theme="dark"] {
3377
3405
  ${Object.entries(et).map(([e, t]) => `${e}: ${t};`).join(`
3378
3406
  `)}
3379
3407
 
@@ -3387,14 +3415,14 @@ const Bl = {
3387
3415
 
3388
3416
  color-scheme: dark;
3389
3417
  }
3390
- }`, Zs = `:root {
3418
+ }`, en = `:root {
3391
3419
  ${ql(Fl)}
3392
3420
 
3393
3421
  /* Default to light color scheme */
3394
3422
  color-scheme: light;
3395
3423
  }`;
3396
3424
  var ce = "system", Ee = /* @__PURE__ */ new Set(), ne = null;
3397
- function en() {
3425
+ function tn() {
3398
3426
  return ce;
3399
3427
  }
3400
3428
  function Hl() {
@@ -3412,13 +3440,13 @@ function Kl(e) {
3412
3440
  } else
3413
3441
  document.documentElement.setAttribute("data-theme", e), fe(e, e);
3414
3442
  }
3415
- function tn(e) {
3443
+ function rn(e) {
3416
3444
  return Ee.add(e), () => Ee.delete(e);
3417
3445
  }
3418
3446
  function fe(e, t) {
3419
3447
  Ee.forEach((r) => r(e, t));
3420
3448
  }
3421
- function rn() {
3449
+ function ln() {
3422
3450
  Kl(Hl() === "light" ? "dark" : "light");
3423
3451
  }
3424
3452
  function Or(e, t) {
@@ -3427,13 +3455,13 @@ function Or(e, t) {
3427
3455
  `)}
3428
3456
  }`;
3429
3457
  }
3430
- function ln(e, t) {
3458
+ function an(e, t) {
3431
3459
  const r = Or(e, t), l = document.createElement("style");
3432
3460
  l.id = `ml-theme-${e}`, l.textContent = r;
3433
3461
  const a = document.getElementById(l.id);
3434
3462
  return a && a.remove(), document.head.appendChild(l), l;
3435
3463
  }
3436
- function an(e, t) {
3464
+ function on(e, t) {
3437
3465
  const r = {};
3438
3466
  return t.primary && (r["--ml-color-primary"] = t.primary), t.secondary && (r["--ml-color-secondary"] = t.secondary), t.success && (r["--ml-color-success"] = t.success), t.warning && (r["--ml-color-warning"] = t.warning), t.danger && (r["--ml-color-danger"] = t.danger), Or(e, r);
3439
3467
  }
@@ -3481,7 +3509,7 @@ function Wl(e, t, r) {
3481
3509
  y: s
3482
3510
  };
3483
3511
  }
3484
- function te(e, t, r = {}) {
3512
+ function re(e, t, r = {}) {
3485
3513
  const { placement: l = "bottom", middleware: a = [] } = r, o = e.getBoundingClientRect(), s = t.getBoundingClientRect(), { x: n, y: c } = Wl(o, s, l);
3486
3514
  let m = {
3487
3515
  x: n,
@@ -3567,7 +3595,7 @@ function Me(e, t, r, l = {}) {
3567
3595
  c.forEach((m) => m());
3568
3596
  };
3569
3597
  }
3570
- function re(e = 0) {
3598
+ function le(e = 0) {
3571
3599
  const t = typeof e == "number" ? e : e.mainAxis ?? 0, r = typeof e == "number" ? 0 : e.crossAxis ?? 0;
3572
3600
  return {
3573
3601
  name: "offset",
@@ -3623,7 +3651,7 @@ function rt(e, t) {
3623
3651
  return !1;
3624
3652
  }
3625
3653
  }
3626
- function le(e = {}) {
3654
+ function ae(e = {}) {
3627
3655
  const { padding: t = 0 } = e;
3628
3656
  return {
3629
3657
  name: "flip",
@@ -3686,7 +3714,7 @@ function Yl(e, t, r) {
3686
3714
  y: s
3687
3715
  };
3688
3716
  }
3689
- function ae(e = {}) {
3717
+ function oe(e = {}) {
3690
3718
  const { padding: t = 0, mainAxis: r = !0, crossAxis: l = !0 } = e;
3691
3719
  return {
3692
3720
  name: "shift",
@@ -3758,11 +3786,11 @@ function Jl(e) {
3758
3786
  const t = Pe(e);
3759
3787
  return t[t.length - 1] ?? null;
3760
3788
  }
3761
- function on(e) {
3789
+ function sn(e) {
3762
3790
  const t = Lr(e);
3763
3791
  return t ? (t.focus(), !0) : !1;
3764
3792
  }
3765
- function sn(e) {
3793
+ function nn(e) {
3766
3794
  const t = Jl(e);
3767
3795
  return t ? (t.focus(), !0) : !1;
3768
3796
  }
@@ -3800,27 +3828,27 @@ function Ql(e, t = {}) {
3800
3828
  isActive: u
3801
3829
  };
3802
3830
  }
3803
- function nn(e, t) {
3831
+ function dn(e, t) {
3804
3832
  const r = Ql(e, t);
3805
3833
  return r.activate(), () => r.deactivate();
3806
3834
  }
3807
- var J = !1, lt = !1;
3835
+ var Q = !1, lt = !1;
3808
3836
  function Vr() {
3809
3837
  lt || (lt = !0, document.addEventListener("keydown", () => {
3810
- J = !0;
3838
+ Q = !0;
3811
3839
  }, !0), document.addEventListener("mousedown", () => {
3812
- J = !1;
3840
+ Q = !1;
3813
3841
  }, !0), document.addEventListener("pointerdown", () => {
3814
- J = !1;
3842
+ Q = !1;
3815
3843
  }, !0));
3816
3844
  }
3817
- function dn() {
3818
- return Vr(), J;
3845
+ function cn() {
3846
+ return Vr(), Q;
3819
3847
  }
3820
- function cn(e, t = "focus-visible") {
3848
+ function mn(e, t = "focus-visible") {
3821
3849
  Vr();
3822
3850
  function r() {
3823
- J && e.classList.add(t);
3851
+ Q && e.classList.add(t);
3824
3852
  }
3825
3853
  function l() {
3826
3854
  e.classList.remove(t);
@@ -3843,13 +3871,13 @@ function Zl() {
3843
3871
  border: "0"
3844
3872
  }), document.body.appendChild(I)), I;
3845
3873
  }
3846
- function mn(e, t = "polite") {
3874
+ function un(e, t = "polite") {
3847
3875
  const r = Zl();
3848
3876
  r.setAttribute("aria-live", t), r.textContent = "", setTimeout(() => {
3849
3877
  r.textContent = e;
3850
3878
  }, 50);
3851
3879
  }
3852
- function un(e = {}) {
3880
+ function hn(e = {}) {
3853
3881
  const { id: t, priority: r = "polite", atomic: l = !0 } = e, a = document.createElement("div");
3854
3882
  return t && (a.id = t), a.setAttribute("aria-live", r), a.setAttribute("aria-atomic", l.toString()), a.setAttribute("role", "status"), Object.assign(a.style, {
3855
3883
  position: "absolute",
@@ -3863,7 +3891,7 @@ function un(e = {}) {
3863
3891
  border: "0"
3864
3892
  }), a;
3865
3893
  }
3866
- const hn = `
3894
+ const pn = `
3867
3895
  *,
3868
3896
  *::before,
3869
3897
  *::after {
@@ -3908,7 +3936,7 @@ const hn = `
3908
3936
  [hidden] {
3909
3937
  display: none !important;
3910
3938
  }
3911
- `, pn = `
3939
+ `, vn = `
3912
3940
  .visually-hidden {
3913
3941
  position: absolute;
3914
3942
  width: 1px;
@@ -3931,7 +3959,7 @@ const hn = `
3931
3959
  clip: auto;
3932
3960
  white-space: normal;
3933
3961
  }
3934
- `, vn = `
3962
+ `, gn = `
3935
3963
  :host {
3936
3964
  /* Inherit font from parent by default */
3937
3965
  font-family: var(--ml-font-sans);
@@ -3963,7 +3991,7 @@ const hn = `
3963
3991
  display: none !important;
3964
3992
  }
3965
3993
  `;
3966
- function gn(e, t) {
3994
+ function bn(e, t) {
3967
3995
  function r(l) {
3968
3996
  const a = l.target;
3969
3997
  e.contains(a) || t(l);
@@ -6663,12 +6691,12 @@ var gt = class {
6663
6691
  const t = this.elementRef.shadowRoot?.querySelector(".ml-select__trigger"), r = this.getDropdownEl();
6664
6692
  if (!t || !r) return;
6665
6693
  r.style.width = `${t.offsetWidth}px`;
6666
- const { x: l, y: a } = te(t, r, {
6694
+ const { x: l, y: a } = re(t, r, {
6667
6695
  placement: "bottom-start",
6668
6696
  middleware: [
6669
- re(4),
6670
- le(),
6671
- ae({ padding: 8 })
6697
+ le(4),
6698
+ ae(),
6699
+ oe({ padding: 8 })
6672
6700
  ]
6673
6701
  });
6674
6702
  r.style.left = `${l}px`, r.style.top = `${a}px`;
@@ -6939,7 +6967,7 @@ const Ia = () => y`
6939
6967
  width: 20px;
6940
6968
  height: 20px;
6941
6969
  border-radius: var(--ml-radius-full);
6942
- background-color: white;
6970
+ background-color: var(--ml-color-surface);
6943
6971
  border: 2px solid var(--ml-color-primary);
6944
6972
  box-shadow: var(--ml-shadow-sm);
6945
6973
  transition:
@@ -6965,7 +6993,7 @@ const Ia = () => y`
6965
6993
  width: 20px;
6966
6994
  height: 20px;
6967
6995
  border-radius: var(--ml-radius-full);
6968
- background-color: white;
6996
+ background-color: var(--ml-color-surface);
6969
6997
  border: 2px solid var(--ml-color-primary);
6970
6998
  box-shadow: var(--ml-shadow-sm);
6971
6999
  }
@@ -7944,12 +7972,12 @@ var xt = class {
7944
7972
  this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = Me(t, r, l);
7945
7973
  }
7946
7974
  updatePosition(t, r) {
7947
- const { x: l, y: a } = te(t, r, {
7975
+ const { x: l, y: a } = re(t, r, {
7948
7976
  placement: "bottom-start",
7949
7977
  middleware: [
7950
- re(4),
7951
- le(),
7952
- ae({ padding: 8 })
7978
+ le(4),
7979
+ ae(),
7980
+ oe({ padding: 8 })
7953
7981
  ]
7954
7982
  });
7955
7983
  r.style.left = `${l}px`, r.style.top = `${a}px`;
@@ -8199,7 +8227,7 @@ var kt = class {
8199
8227
  return this._containerEl && document.body.contains(this._containerEl) ? this._containerEl : (this._containerEl = document.createElement("ml-toast-container"), this._containerEl.setAttribute("position", this._position), document.body.appendChild(this._containerEl), this._containerEl);
8200
8228
  }
8201
8229
  };
8202
- kt = g([Z()], kt);
8230
+ kt = g([ee()], kt);
8203
8231
  function Wa(e) {
8204
8232
  return i`
8205
8233
  <div
@@ -8947,7 +8975,7 @@ const ro = () => y`
8947
8975
  }
8948
8976
 
8949
8977
  .ml-card {
8950
- background-color: var(--ml-color-surface);
8978
+ background-color: var(--ml-card-bg, var(--ml-color-surface));
8951
8979
  border-radius: var(--ml-radius-lg);
8952
8980
  overflow: hidden;
8953
8981
  height: 100%;
@@ -9285,7 +9313,7 @@ const mo = () => y`
9285
9313
  font-weight: var(--ml-font-semibold);
9286
9314
  vertical-align: middle;
9287
9315
  border-radius: var(--ml-radius-full);
9288
- border: 2px solid var(--ml-color-surface);
9316
+ border: 2px solid var(--ml-avatar-border-color, var(--ml-color-surface));
9289
9317
  box-shadow: var(--ml-shadow-xs);
9290
9318
  }
9291
9319
 
@@ -9382,15 +9410,18 @@ At = g([_({
9382
9410
  ]
9383
9411
  })], At);
9384
9412
  function uo(e) {
9413
+ const t = e.color ? `--ml-badge-bg: ${e.color}; --ml-badge-color: #fff` : "";
9385
9414
  return i`
9386
9415
  <span
9387
9416
  class=${v({
9388
9417
  "ml-badge": !0,
9389
- [`ml-badge--${e.variant}`]: !0,
9418
+ [`ml-badge--${e.variant}`]: !e.color,
9419
+ "ml-badge--custom": !!e.color,
9390
9420
  [`ml-badge--${e.size}`]: !0,
9391
9421
  "ml-badge--dot": e.dot,
9392
9422
  "ml-badge--pill": e.pill
9393
9423
  })}
9424
+ style=${t}
9394
9425
  >
9395
9426
  ${e.dot ? i`<span class="ml-badge__dot"></span>` : ""}
9396
9427
  <slot></slot>
@@ -9481,10 +9512,16 @@ const ho = () => y`
9481
9512
  color: var(--ml-badge-error-text);
9482
9513
  }
9483
9514
 
9515
+ .ml-badge--custom {
9516
+ background-color: var(--ml-badge-bg);
9517
+ border-color: transparent;
9518
+ color: var(--ml-badge-color, #fff);
9519
+ }
9520
+
9484
9521
  `;
9485
9522
  var Dt = class {
9486
9523
  constructor() {
9487
- this.variant = "default", this.size = "md", this.dot = !1, this.pill = !1;
9524
+ this.variant = "default", this.size = "md", this.dot = !1, this.pill = !1, this.color = "";
9488
9525
  }
9489
9526
  };
9490
9527
  Dt = g([_({
@@ -9495,7 +9532,8 @@ Dt = g([_({
9495
9532
  "variant",
9496
9533
  "size",
9497
9534
  "dot",
9498
- "pill"
9535
+ "pill",
9536
+ "color"
9499
9537
  ]
9500
9538
  })], Dt);
9501
9539
  function po(e) {
@@ -10189,8 +10227,9 @@ function $o(e) {
10189
10227
  <span
10190
10228
  class=${v({
10191
10229
  "ml-afi__indicator": !0,
10192
- [`ml-afi__indicator--${e["indicator-color"]}`]: !0
10230
+ [`ml-afi__indicator--${e["indicator-color"]}`]: e.isPresetColor
10193
10231
  })}
10232
+ style=${e.isPresetColor ? "" : `--ml-afi-indicator-bg: ${e["indicator-color"]}`}
10194
10233
  ></span>
10195
10234
  `)}
10196
10235
  </div>
@@ -10313,6 +10352,7 @@ const Co = () => y`
10313
10352
  height: 8px;
10314
10353
  border-radius: var(--ml-radius-full);
10315
10354
  flex-shrink: 0;
10355
+ background-color: var(--ml-afi-indicator-bg);
10316
10356
  }
10317
10357
 
10318
10358
  .ml-afi__indicator--gray {
@@ -10335,10 +10375,20 @@ const Co = () => y`
10335
10375
  background-color: var(--ml-color-error);
10336
10376
  }
10337
10377
  `;
10338
- var Lt = class {
10378
+ var So = /* @__PURE__ */ new Set([
10379
+ "success",
10380
+ "warning",
10381
+ "error",
10382
+ "primary",
10383
+ "gray"
10384
+ ]), Lt = class {
10339
10385
  constructor() {
10340
10386
  this.name = "", this.timestamp = "", this["avatar-src"] = "", this["avatar-initials"] = "", this["avatar-size"] = "sm", this.subtitle = "", this.indicator = !1, this["indicator-color"] = "gray";
10341
10387
  }
10388
+ /** Whether the indicator-color is a preset name */
10389
+ get isPresetColor() {
10390
+ return So.has(this["indicator-color"]);
10391
+ }
10342
10392
  /** Check if avatar slot has content */
10343
10393
  get hasAvatarSlot() {
10344
10394
  return this.elementRef?.querySelector('[slot="avatar"]') !== null;
@@ -10363,10 +10413,10 @@ Lt = g([_({
10363
10413
  "indicator-color"
10364
10414
  ]
10365
10415
  })], Lt);
10366
- function So(e, t, r) {
10416
+ function Eo(e, t, r) {
10367
10417
  return e.render ? e.render(t[e.key], t, r) : t[e.key] ?? "";
10368
10418
  }
10369
- function Eo(e) {
10419
+ function Ro(e) {
10370
10420
  return i`
10371
10421
  <div class=${v({
10372
10422
  "ml-table": !0,
@@ -10460,7 +10510,7 @@ function Eo(e) {
10460
10510
  "ml-table__td": !0,
10461
10511
  [`ml-table__td--${a.align ?? "left"}`]: !0
10462
10512
  })}>
10463
- ${So(a, t, l)}
10513
+ ${Eo(a, t, l)}
10464
10514
  </td>
10465
10515
  `)}
10466
10516
  </tr>
@@ -10484,7 +10534,7 @@ function Eo(e) {
10484
10534
  </div>
10485
10535
  `;
10486
10536
  }
10487
- const Ro = () => y`
10537
+ const To = () => y`
10488
10538
  :host {
10489
10539
  display: block;
10490
10540
  }
@@ -10614,7 +10664,10 @@ const Ro = () => y`
10614
10664
  }
10615
10665
 
10616
10666
  .ml-table--hoverable .ml-table__row:hover {
10617
- background-color: var(--ml-color-surface-sunken);
10667
+ background-color: var(--ml-table-row-hover-bg, var(--ml-color-surface-sunken));
10668
+ border-color: var(--ml-table-row-hover-border-color, transparent);
10669
+ border-width: var(--ml-table-row-hover-border-width, 0);
10670
+ border-style: solid;
10618
10671
  }
10619
10672
 
10620
10673
  .ml-table--row-clickable .ml-table__row {
@@ -10727,9 +10780,9 @@ const Ro = () => y`
10727
10780
  padding: var(--ml-space-2) var(--ml-space-4);
10728
10781
  }
10729
10782
  `;
10730
- var Fr = /* @__PURE__ */ new WeakSet(), To = EventTarget.prototype.addEventListener;
10783
+ var Fr = /* @__PURE__ */ new WeakSet(), zo = EventTarget.prototype.addEventListener;
10731
10784
  EventTarget.prototype.addEventListener = function(e, t, r) {
10732
- e === "ml:row-click" && Fr.add(this), To.call(this, e, t, r);
10785
+ e === "ml:row-click" && Fr.add(this), zo.call(this, e, t, r);
10733
10786
  };
10734
10787
  var Vt = class {
10735
10788
  constructor() {
@@ -10840,8 +10893,8 @@ var Vt = class {
10840
10893
  };
10841
10894
  Vt = g([_({
10842
10895
  selector: "ml-table",
10843
- template: Eo,
10844
- styles: Ro,
10896
+ template: Ro,
10897
+ styles: To,
10845
10898
  attributes: [
10846
10899
  "selectable",
10847
10900
  "striped",
@@ -10853,12 +10906,12 @@ Vt = g([_({
10853
10906
  "virtual"
10854
10907
  ]
10855
10908
  })], Vt);
10856
- function zo(e, t, r) {
10909
+ function Ao(e, t, r) {
10857
10910
  if (e.render) return e.render(t[e.key], t, r);
10858
10911
  const l = t[e.key];
10859
10912
  return l ?? "";
10860
10913
  }
10861
- function Ao(e) {
10914
+ function Do(e) {
10862
10915
  const t = e.gridTemplateColumns, r = e.totalGridWidth;
10863
10916
  return i`
10864
10917
  <div class=${v({
@@ -11005,7 +11058,7 @@ function Ao(e) {
11005
11058
  })}
11006
11059
  style=${o.pinned === "left" ? `left: ${e.getPinnedLeftOffset(o.key)}px` : ""}
11007
11060
  >
11008
- ${zo(o, l, e.startIndex + a)}
11061
+ ${Ao(o, l, e.startIndex + a)}
11009
11062
  </div>
11010
11063
  `)}
11011
11064
  </div>
@@ -11060,7 +11113,7 @@ function Ao(e) {
11060
11113
  </div>
11061
11114
  `;
11062
11115
  }
11063
- const Do = () => y`
11116
+ const Io = () => y`
11064
11117
  :host {
11065
11118
  display: flex;
11066
11119
  flex-direction: column;
@@ -11760,8 +11813,8 @@ var jt = class {
11760
11813
  };
11761
11814
  jt = g([_({
11762
11815
  selector: "ml-data-grid",
11763
- template: Ao,
11764
- styles: Do,
11816
+ template: Do,
11817
+ styles: Io,
11765
11818
  attributes: [
11766
11819
  "selectable",
11767
11820
  "striped",
@@ -11775,7 +11828,7 @@ jt = g([_({
11775
11828
  "show-filter-row"
11776
11829
  ]
11777
11830
  })], jt);
11778
- var Io = [
11831
+ var Mo = [
11779
11832
  "January",
11780
11833
  "February",
11781
11834
  "March",
@@ -11825,11 +11878,11 @@ function Ft(e) {
11825
11878
  const [t, r, l] = e.split("T")[0].split("-").map(Number);
11826
11879
  return new Date(t, r - 1, l);
11827
11880
  }
11828
- function Mo(e, t) {
11881
+ function Po(e, t) {
11829
11882
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
11830
11883
  }
11831
11884
  function Br(e) {
11832
- return Mo(e, /* @__PURE__ */ new Date());
11885
+ return Po(e, /* @__PURE__ */ new Date());
11833
11886
  }
11834
11887
  function K(e, t) {
11835
11888
  const r = new Date(e);
@@ -11843,7 +11896,7 @@ function Hr(e, t = 0) {
11843
11896
  const r = new Date(e), l = (r.getDay() - t + 7) % 7;
11844
11897
  return r.setDate(r.getDate() - l), r;
11845
11898
  }
11846
- function Po(e) {
11899
+ function Oo(e) {
11847
11900
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate()));
11848
11901
  t.setUTCDate(t.getUTCDate() + 4 - (t.getUTCDay() || 7));
11849
11902
  const r = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
@@ -11854,9 +11907,9 @@ function B(e) {
11854
11907
  return l === 0 ? `${o} ${a}` : `${o}:${String(l).padStart(2, "0")} ${a}`;
11855
11908
  }
11856
11909
  function Bt(e) {
11857
- return `${Io[e.getMonth()]} ${e.getFullYear()}`;
11910
+ return `${Mo[e.getMonth()]} ${e.getFullYear()}`;
11858
11911
  }
11859
- function Oo(e, t) {
11912
+ function No(e, t) {
11860
11913
  const r = Re[e.getMonth()], l = Re[t.getMonth()];
11861
11914
  return e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear() ? `${r} ${e.getDate()} – ${t.getDate()}, ${e.getFullYear()}` : e.getFullYear() === t.getFullYear() ? `${r} ${e.getDate()} – ${l} ${t.getDate()}, ${e.getFullYear()}` : `${r} ${e.getDate()}, ${e.getFullYear()} – ${l} ${t.getDate()}, ${t.getFullYear()}`;
11862
11915
  }
@@ -11901,7 +11954,7 @@ function Ht(e, t, r = 0) {
11901
11954
  }
11902
11955
  return c;
11903
11956
  }
11904
- function No(e, t = 0) {
11957
+ function Lo(e, t = 0) {
11905
11958
  const r = Hr(e, t);
11906
11959
  return Array.from({ length: 7 }, (l, a) => K(r, a));
11907
11960
  }
@@ -11917,10 +11970,10 @@ function Kt(e = 0) {
11917
11970
  function ue(e, t) {
11918
11971
  return e.filter((r) => r.start.split("T")[0] === t);
11919
11972
  }
11920
- function Lo(e) {
11973
+ function Vo(e) {
11921
11974
  return Re[e.getMonth()];
11922
11975
  }
11923
- function Vo(e) {
11976
+ function jo(e) {
11924
11977
  return qr[e.getDay()];
11925
11978
  }
11926
11979
  function M(e) {
@@ -11973,7 +12026,7 @@ function Kr(e) {
11973
12026
  }
11974
12027
  return s;
11975
12028
  }
11976
- function jo() {
12029
+ function Fo() {
11977
12030
  const e = [];
11978
12031
  for (let t = 0; t < 24; t++) for (let r = 0; r < 60; r += 30) {
11979
12032
  const l = t >= 12 ? "PM" : "AM", a = t % 12 || 12, o = r === 0 ? `${a} ${l}` : "";
@@ -11985,8 +12038,8 @@ function jo() {
11985
12038
  }
11986
12039
  return e;
11987
12040
  }
11988
- function Fo(e, t, r) {
11989
- return No(e, t).map((l) => {
12041
+ function qo(e, t, r) {
12042
+ return Lo(e, t).map((l) => {
11990
12043
  const a = N(l.getFullYear(), l.getMonth(), l.getDate()), o = ue(r, a).filter((s) => !s.allDay);
11991
12044
  return {
11992
12045
  date: a,
@@ -11997,7 +12050,7 @@ function Fo(e, t, r) {
11997
12050
  };
11998
12051
  });
11999
12052
  }
12000
- function qo(e, t) {
12053
+ function Bo(e, t) {
12001
12054
  const r = N(e.getFullYear(), e.getMonth(), e.getDate()), l = ue(t, r).filter((a) => !a.allDay);
12002
12055
  return {
12003
12056
  date: r,
@@ -12007,7 +12060,7 @@ function qo(e, t) {
12007
12060
  events: Kr(l)
12008
12061
  };
12009
12062
  }
12010
- function Bo(e, t, r) {
12063
+ function Ho(e, t, r) {
12011
12064
  const l = /* @__PURE__ */ new Set(), a = new Date(e, t + 1, 0).getDate();
12012
12065
  for (let o = 1; o <= a; o++) {
12013
12066
  const s = N(e, t, o);
@@ -12015,12 +12068,12 @@ function Bo(e, t, r) {
12015
12068
  }
12016
12069
  return l;
12017
12070
  }
12018
- var Ho = {
12071
+ var Ko = {
12019
12072
  month: "Month view",
12020
12073
  week: "Week view",
12021
12074
  day: "Day view"
12022
12075
  };
12023
- function Ko(e) {
12076
+ function Wo(e) {
12024
12077
  return i`
12025
12078
  <div class="ml-cv__today-badge">
12026
12079
  <span class="ml-cv__today-badge-month">${e.todayMonthAbbrev}</span>
@@ -12035,7 +12088,7 @@ function Ko(e) {
12035
12088
  </div>
12036
12089
  `;
12037
12090
  }
12038
- function Wo(e) {
12091
+ function Go(e) {
12039
12092
  return i`
12040
12093
  ${d(!e.hideNav, () => i`
12041
12094
  <div class="ml-cv__nav-group">
@@ -12060,7 +12113,7 @@ function Wo(e) {
12060
12113
  })}
12061
12114
  @click=${e.toggleViewDropdown}
12062
12115
  >
12063
- ${Ho[e.view]}
12116
+ ${Ko[e.view]}
12064
12117
  <ml-icon icon="caret-down" size="xs"></ml-icon>
12065
12118
  </button>
12066
12119
  ${d(e.isViewDropdownOpen, () => i`
@@ -12108,20 +12161,20 @@ function Wo(e) {
12108
12161
  `)}
12109
12162
  `;
12110
12163
  }
12111
- function Go(e) {
12164
+ function Uo(e) {
12112
12165
  return i`
12113
12166
  <div class="ml-cv__header">
12114
12167
  <div class="ml-cv__header-left">
12115
- ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Ko(e))}
12168
+ ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Wo(e))}
12116
12169
  </div>
12117
12170
 
12118
12171
  <div class="ml-cv__header-right">
12119
- ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Wo(e))}
12172
+ ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Go(e))}
12120
12173
  </div>
12121
12174
  </div>
12122
12175
  `;
12123
12176
  }
12124
- function Uo(e, t) {
12177
+ function Yo(e, t) {
12125
12178
  const r = t.color || "blue";
12126
12179
  return i`
12127
12180
  <div
@@ -12140,7 +12193,7 @@ function Uo(e, t) {
12140
12193
  </div>
12141
12194
  `;
12142
12195
  }
12143
- function Yo(e) {
12196
+ function Xo(e) {
12144
12197
  const t = e.weekdayHeaders, r = e.monthGrid, l = (/* @__PURE__ */ new Date()).getDay(), a = e.weekStartsOn;
12145
12198
  return i`
12146
12199
  <div class="ml-cv__month">
@@ -12173,7 +12226,7 @@ function Yo(e) {
12173
12226
  })}>${o.date}</div>
12174
12227
 
12175
12228
  <div class="ml-cv__day-events">
12176
- ${$(s, (c) => c.id, (c) => Uo(e, c))}
12229
+ ${$(s, (c) => c.id, (c) => Yo(e, c))}
12177
12230
  ${d(n > 0, () => i`
12178
12231
  <button
12179
12232
  type="button"
@@ -12200,7 +12253,7 @@ function Yo(e) {
12200
12253
  </div>
12201
12254
  `;
12202
12255
  }
12203
- function Xo(e, t, r) {
12256
+ function Jo(e, t, r) {
12204
12257
  const l = t.event.color || "blue";
12205
12258
  return i`
12206
12259
  <div
@@ -12218,7 +12271,7 @@ function Xo(e, t, r) {
12218
12271
  </div>
12219
12272
  `;
12220
12273
  }
12221
- function Jo(e) {
12274
+ function Qo(e) {
12222
12275
  const t = e.weekColumns, r = e.timeSlots;
12223
12276
  return i`
12224
12277
  <div class="ml-cv__time-layout">
@@ -12265,13 +12318,13 @@ function Jo(e) {
12265
12318
  ${$(t.flatMap((l, a) => l.events.map((o) => ({
12266
12319
  pe: o,
12267
12320
  colIdx: a
12268
- }))), (l) => l.pe.event.id, (l) => Xo(e, l.pe, l.colIdx))}
12321
+ }))), (l) => l.pe.event.id, (l) => Jo(e, l.pe, l.colIdx))}
12269
12322
  </div>
12270
12323
  </div>
12271
12324
  </div>
12272
12325
  `;
12273
12326
  }
12274
- function Qo(e, t) {
12327
+ function Zo(e, t) {
12275
12328
  const r = t.event.color || "blue";
12276
12329
  return i`
12277
12330
  <div
@@ -12289,7 +12342,7 @@ function Qo(e, t) {
12289
12342
  </div>
12290
12343
  `;
12291
12344
  }
12292
- function Zo(e) {
12345
+ function ei(e) {
12293
12346
  const t = e.miniCalendarGrid, r = e.miniCalendarWeekdays, l = e.miniCalendarDots, a = e.currentIsoDate;
12294
12347
  return i`
12295
12348
  <div class="ml-cv__mini-cal">
@@ -12331,7 +12384,7 @@ function Zo(e) {
12331
12384
  </div>
12332
12385
  `;
12333
12386
  }
12334
- function ei(e) {
12387
+ function ti(e) {
12335
12388
  const t = e.dayEvents;
12336
12389
  return i`
12337
12390
  <div class="ml-cv__sidebar-title">Events for ${e.dayViewDateLabel}</div>
@@ -12355,7 +12408,7 @@ function ei(e) {
12355
12408
  `)}
12356
12409
  `;
12357
12410
  }
12358
- function ti(e) {
12411
+ function ri(e) {
12359
12412
  const t = e.dayColumn, r = e.timeSlots;
12360
12413
  return i`
12361
12414
  <div class="ml-cv__day-layout">
@@ -12391,30 +12444,30 @@ function ti(e) {
12391
12444
  `)}
12392
12445
 
12393
12446
  <!-- Events -->
12394
- ${$(t.events, (l) => l.event.id, (l) => Qo(e, l))}
12447
+ ${$(t.events, (l) => l.event.id, (l) => Zo(e, l))}
12395
12448
  </div>
12396
12449
  </div>
12397
12450
  </div>
12398
12451
  </div>
12399
12452
 
12400
12453
  <div class="ml-cv__day-sidebar">
12401
- ${Zo(e)}
12402
12454
  ${ei(e)}
12455
+ ${ti(e)}
12403
12456
  </div>
12404
12457
  </div>
12405
12458
  `;
12406
12459
  }
12407
- function ri(e) {
12460
+ function li(e) {
12408
12461
  return i`
12409
12462
  <div class="ml-cv">
12410
- ${Go(e)}
12411
- ${d(e.view === "month", () => Yo(e))}
12412
- ${d(e.view === "week", () => Jo(e))}
12413
- ${d(e.view === "day", () => ti(e))}
12463
+ ${Uo(e)}
12464
+ ${d(e.view === "month", () => Xo(e))}
12465
+ ${d(e.view === "week", () => Qo(e))}
12466
+ ${d(e.view === "day", () => ri(e))}
12414
12467
  </div>
12415
12468
  `;
12416
12469
  }
12417
- const li = () => y`
12470
+ const ai = () => y`
12418
12471
  :host {
12419
12472
  display: block;
12420
12473
  font-family: var(--ml-font-sans);
@@ -13272,7 +13325,7 @@ var Gt = class {
13272
13325
  }
13273
13326
  }
13274
13327
  get todayMonthAbbrev() {
13275
- return Lo(/* @__PURE__ */ new Date());
13328
+ return Vo(/* @__PURE__ */ new Date());
13276
13329
  }
13277
13330
  get todayDayNumber() {
13278
13331
  return (/* @__PURE__ */ new Date()).getDate();
@@ -13281,15 +13334,15 @@ var Gt = class {
13281
13334
  return Bt(this._currentDate);
13282
13335
  }
13283
13336
  get weekNumber() {
13284
- return Po(this._currentDate);
13337
+ return Oo(this._currentDate);
13285
13338
  }
13286
13339
  get headerSubtitle() {
13287
13340
  if (this.view === "month") return `Week ${this.weekNumber}`;
13288
13341
  if (this.view === "week") {
13289
13342
  const t = Hr(this._currentDate, this.weekStartsOn);
13290
- return Oo(t, K(t, 6));
13343
+ return No(t, K(t, 6));
13291
13344
  }
13292
- return Vo(this._currentDate);
13345
+ return jo(this._currentDate);
13293
13346
  }
13294
13347
  get currentIsoDate() {
13295
13348
  const t = this._currentDate;
@@ -13304,13 +13357,13 @@ var Gt = class {
13304
13357
  return r;
13305
13358
  }
13306
13359
  get weekColumns() {
13307
- return Fo(this._currentDate, this.weekStartsOn, this.events);
13360
+ return qo(this._currentDate, this.weekStartsOn, this.events);
13308
13361
  }
13309
13362
  get timeSlots() {
13310
- return jo();
13363
+ return Fo();
13311
13364
  }
13312
13365
  get dayColumn() {
13313
- return qo(this._currentDate, this.events);
13366
+ return Bo(this._currentDate, this.events);
13314
13367
  }
13315
13368
  get dayEvents() {
13316
13369
  return ue(this.events, this.currentIsoDate);
@@ -13332,7 +13385,7 @@ var Gt = class {
13332
13385
  return Ht(this._miniCalYear, this._miniCalMonth, this.weekStartsOn);
13333
13386
  }
13334
13387
  get miniCalendarDots() {
13335
- return Bo(this._miniCalYear, this._miniCalMonth, this.events);
13388
+ return Ho(this._miniCalYear, this._miniCalMonth, this.events);
13336
13389
  }
13337
13390
  setDate(t) {
13338
13391
  this.date = N(t.getFullYear(), t.getMonth(), t.getDate()), this._miniCalYear = t.getFullYear(), this._miniCalMonth = t.getMonth(), this.elementRef.dispatchEvent(new CustomEvent("ml:date-change", {
@@ -13344,8 +13397,8 @@ var Gt = class {
13344
13397
  };
13345
13398
  Gt = g([_({
13346
13399
  selector: "ml-calendar-view",
13347
- template: ri,
13348
- styles: li,
13400
+ template: li,
13401
+ styles: ai,
13349
13402
  attributes: [
13350
13403
  "view",
13351
13404
  "date",
@@ -13358,7 +13411,7 @@ Gt = g([_({
13358
13411
  "hide-add-button"
13359
13412
  ]
13360
13413
  })], Gt);
13361
- const ai = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.format === "regular" ? e.icon : `${e.icon}-${e.format}`}</i>`, oi = () => y`
13414
+ const oi = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.format === "regular" ? e.icon : `${e.icon}-${e.format}`}</i>`, ii = () => y`
13362
13415
  :host {
13363
13416
  display: inline-flex;
13364
13417
  align-items: center;
@@ -13393,15 +13446,15 @@ var Ut = class {
13393
13446
  };
13394
13447
  Ut = g([_({
13395
13448
  selector: "ml-icon",
13396
- template: ai,
13397
- styles: oi,
13449
+ template: oi,
13450
+ styles: ii,
13398
13451
  attributes: [
13399
13452
  "icon",
13400
13453
  "format",
13401
13454
  "size"
13402
13455
  ]
13403
13456
  })], Ut);
13404
- function ii(e) {
13457
+ function si(e) {
13405
13458
  const t = e.tabs.length > 0;
13406
13459
  return i`
13407
13460
  <div
@@ -13418,7 +13471,7 @@ function ii(e) {
13418
13471
  aria-orientation=${e.orientation}
13419
13472
  @keydown=${e.handleKeyDown}
13420
13473
  >
13421
- ${t ? $(e.tabs, (r) => `${r.value}-${e.value === r.value}`, (r) => si(e, r)) : i`<slot name="tab" @slotchange=${e.handleTabSlotChange}></slot>`}
13474
+ ${t ? $(e.tabs, (r) => `${r.value}-${e.value === r.value}`, (r) => ni(e, r)) : i`<slot name="tab" @slotchange=${e.handleTabSlotChange}></slot>`}
13422
13475
  </div>
13423
13476
 
13424
13477
  <div class="ml-tabs__panels">
@@ -13427,7 +13480,7 @@ function ii(e) {
13427
13480
  </div>
13428
13481
  `;
13429
13482
  }
13430
- function si(e, t) {
13483
+ function ni(e, t) {
13431
13484
  const r = e.value === t.value;
13432
13485
  return i`
13433
13486
  <button
@@ -13450,7 +13503,7 @@ function si(e, t) {
13450
13503
  </button>
13451
13504
  `;
13452
13505
  }
13453
- const ni = () => y`
13506
+ const di = () => y`
13454
13507
  :host {
13455
13508
  display: block;
13456
13509
  width: 100%;
@@ -13792,8 +13845,8 @@ var Yt = class {
13792
13845
  };
13793
13846
  Yt = g([_({
13794
13847
  selector: "ml-tabs",
13795
- template: ii,
13796
- styles: ni,
13848
+ template: si,
13849
+ styles: di,
13797
13850
  attributes: [
13798
13851
  "value",
13799
13852
  "variant",
@@ -13802,7 +13855,7 @@ Yt = g([_({
13802
13855
  "routed"
13803
13856
  ]
13804
13857
  })], Yt);
13805
- function di(e) {
13858
+ function ci(e) {
13806
13859
  return i`
13807
13860
  <button
13808
13861
  type="button"
@@ -13824,7 +13877,7 @@ function di(e) {
13824
13877
  </button>
13825
13878
  `;
13826
13879
  }
13827
- const ci = () => y`
13880
+ const mi = () => y`
13828
13881
  :host {
13829
13882
  display: contents;
13830
13883
  }
@@ -13885,8 +13938,8 @@ var Xt = class {
13885
13938
  };
13886
13939
  Xt = g([_({
13887
13940
  selector: "ml-tab",
13888
- template: di,
13889
- styles: ci,
13941
+ template: ci,
13942
+ styles: mi,
13890
13943
  attributes: [
13891
13944
  "value",
13892
13945
  "label",
@@ -13896,14 +13949,14 @@ Xt = g([_({
13896
13949
  "href"
13897
13950
  ]
13898
13951
  })], Xt);
13899
- function mi(e) {
13952
+ function ui(e) {
13900
13953
  return i`
13901
13954
  <div class="ml-tab-panel" role="tabpanel">
13902
13955
  <slot></slot>
13903
13956
  </div>
13904
13957
  `;
13905
13958
  }
13906
- const ui = () => y`
13959
+ const hi = () => y`
13907
13960
  :host {
13908
13961
  display: block;
13909
13962
  }
@@ -13928,11 +13981,11 @@ var Jt = class {
13928
13981
  };
13929
13982
  Jt = g([_({
13930
13983
  selector: "ml-tab-panel",
13931
- template: mi,
13932
- styles: ui,
13984
+ template: ui,
13985
+ styles: hi,
13933
13986
  attributes: ["value"]
13934
13987
  })], Jt);
13935
- function hi(e) {
13988
+ function pi(e) {
13936
13989
  return i`
13937
13990
  <nav class="ml-breadcrumb" aria-label="Breadcrumb">
13938
13991
  <ol class="ml-breadcrumb__list">
@@ -13941,7 +13994,7 @@ function hi(e) {
13941
13994
  </nav>
13942
13995
  `;
13943
13996
  }
13944
- const pi = () => y`
13997
+ const vi = () => y`
13945
13998
  :host {
13946
13999
  display: block;
13947
14000
  }
@@ -13963,11 +14016,11 @@ var Qt = class {
13963
14016
  };
13964
14017
  Qt = g([_({
13965
14018
  selector: "ml-breadcrumb",
13966
- template: hi,
13967
- styles: pi,
14019
+ template: pi,
14020
+ styles: vi,
13968
14021
  attributes: ["separator"]
13969
14022
  })], Qt);
13970
- function vi(e) {
14023
+ function gi(e) {
13971
14024
  const t = e.separator === "slash" ? "slash-forward" : "caret-right";
13972
14025
  return i`
13973
14026
  <li
@@ -13993,7 +14046,7 @@ function vi(e) {
13993
14046
  </li>
13994
14047
  `;
13995
14048
  }
13996
- const gi = () => y`
14049
+ const bi = () => y`
13997
14050
  :host {
13998
14051
  display: contents;
13999
14052
  }
@@ -14061,8 +14114,8 @@ var Zt = class {
14061
14114
  };
14062
14115
  Zt = g([_({
14063
14116
  selector: "ml-breadcrumb-item",
14064
- template: vi,
14065
- styles: gi,
14117
+ template: gi,
14118
+ styles: bi,
14066
14119
  attributes: [
14067
14120
  "href",
14068
14121
  "icon",
@@ -14070,7 +14123,7 @@ Zt = g([_({
14070
14123
  "separator"
14071
14124
  ]
14072
14125
  })], Zt);
14073
- function bi(e) {
14126
+ function fi(e) {
14074
14127
  return i`
14075
14128
  <nav class="ml-pagination" aria-label="Pagination">
14076
14129
  <button
@@ -14120,7 +14173,7 @@ function bi(e) {
14120
14173
  </nav>
14121
14174
  `;
14122
14175
  }
14123
- const fi = () => y`
14176
+ const _i = () => y`
14124
14177
  :host {
14125
14178
  display: block;
14126
14179
  }
@@ -14252,15 +14305,15 @@ var er = class {
14252
14305
  };
14253
14306
  er = g([_({
14254
14307
  selector: "ml-pagination",
14255
- template: bi,
14256
- styles: fi,
14308
+ template: fi,
14309
+ styles: _i,
14257
14310
  attributes: [
14258
14311
  "page",
14259
14312
  "total-pages",
14260
14313
  "siblings"
14261
14314
  ]
14262
14315
  })], er);
14263
- function _i(e) {
14316
+ function yi(e) {
14264
14317
  const t = e.navigation.length > 0, r = e.footerNavigation.length > 0, l = e.collapsed;
14265
14318
  return i`
14266
14319
  <aside
@@ -14283,7 +14336,7 @@ function _i(e) {
14283
14336
  `)}
14284
14337
 
14285
14338
  <div class="ml-sidebar__main">
14286
- ${t ? $(e.navigation, (a, o) => `nav-group-${o}`, (a) => yi(e, a)) : i`<slot @slotchange=${e.handleDefaultSlotChange}></slot>`}
14339
+ ${t ? $(e.navigation, (a, o) => `nav-group-${o}`, (a) => xi(e, a)) : i`<slot @slotchange=${e.handleDefaultSlotChange}></slot>`}
14287
14340
  </div>
14288
14341
 
14289
14342
  <div class="ml-sidebar__footer">
@@ -14312,7 +14365,7 @@ function _i(e) {
14312
14365
  </aside>
14313
14366
  `;
14314
14367
  }
14315
- function yi(e, t) {
14368
+ function xi(e, t) {
14316
14369
  const r = e.collapsed;
14317
14370
  return i`
14318
14371
  <div class="ml-sidebar__group">
@@ -14395,7 +14448,7 @@ function Ne(e, t, r) {
14395
14448
  </div>
14396
14449
  `;
14397
14450
  }
14398
- const xi = () => y`
14451
+ const wi = () => y`
14399
14452
  :host {
14400
14453
  display: block;
14401
14454
  height: 100%;
@@ -14684,8 +14737,8 @@ const xi = () => y`
14684
14737
  `;
14685
14738
  var tr = class {
14686
14739
  constructor() {
14687
- this.variant = "default", this.active = "", this.collapsed = !1, this.navigation = [], this.footerNavigation = [], this._slottedItems = [], this._hoverTimer = null, this._handleItemClick = this.onItemClick.bind(this), this._handleMouseEnter = this.onMouseEnter.bind(this), this._handleMouseLeave = this.onMouseLeave.bind(this), this.handleDefaultSlotChange = (t) => {
14688
- this._slottedItems = t.target.assignedElements({ flatten: !0 }), this.updateItemStates();
14740
+ this.variant = "default", this.active = "", this.collapsed = !1, this.navigation = [], this.footerNavigation = [], this._hoverTimer = null, this._handleItemClick = this.onItemClick.bind(this), this._handleMouseEnter = this.onMouseEnter.bind(this), this._handleMouseLeave = this.onMouseLeave.bind(this), this.handleDefaultSlotChange = () => {
14741
+ this.updateItemStates();
14689
14742
  }, this.handleConfigItemClick = (t, r) => {
14690
14743
  this.activateItem(t, r);
14691
14744
  }, this.handleConfigToggle = (t) => {
@@ -14780,11 +14833,11 @@ var tr = class {
14780
14833
  };
14781
14834
  tr = g([_({
14782
14835
  selector: "ml-sidebar",
14783
- template: _i,
14784
- styles: xi,
14836
+ template: yi,
14837
+ styles: wi,
14785
14838
  attributes: ["variant", "active"]
14786
14839
  })], tr);
14787
- function wi(e) {
14840
+ function ki(e) {
14788
14841
  return i`
14789
14842
  <div class="ml-sidebar-group">
14790
14843
  ${d(!!e.label && !e.collapsed, () => i`
@@ -14796,7 +14849,7 @@ function wi(e) {
14796
14849
  </div>
14797
14850
  `;
14798
14851
  }
14799
- const ki = () => y`
14852
+ const $i = () => y`
14800
14853
  :host {
14801
14854
  display: block;
14802
14855
  }
@@ -14831,15 +14884,15 @@ var rr = class {
14831
14884
  };
14832
14885
  rr = g([_({
14833
14886
  selector: "ml-sidebar-group",
14834
- template: wi,
14835
- styles: ki,
14887
+ template: ki,
14888
+ styles: $i,
14836
14889
  attributes: ["label", "collapsed"]
14837
14890
  })], rr);
14838
- function $i(e) {
14891
+ function Ci(e) {
14839
14892
  const t = parseInt(e.level, 10) || 0, r = e.collapsed, l = i`
14840
14893
  <div class="ml-sidebar-item__leading">
14841
14894
  <slot name="leading">
14842
- ${d(!!e.icon, () => i`<ml-icon icon=${e.icon} size="sm"></ml-icon>`)}
14895
+ ${d(!!e.icon, () => i`<ml-icon icon=${e.icon} size="sm" format=${e["icon-format"] || "regular"}></ml-icon>`)}
14843
14896
  </slot>
14844
14897
  </div>
14845
14898
  ${d(!r, () => i`
@@ -14906,7 +14959,7 @@ function $i(e) {
14906
14959
  </div>
14907
14960
  `;
14908
14961
  }
14909
- const Ci = () => y`
14962
+ const Si = () => y`
14910
14963
  :host {
14911
14964
  display: block;
14912
14965
  }
@@ -15057,7 +15110,7 @@ const Ci = () => y`
15057
15110
  `;
15058
15111
  var lr = class {
15059
15112
  constructor() {
15060
- this.icon = "", this.label = "", this.value = "", this.href = "", this.active = !1, this.disabled = !1, this.badge = "", this["badge-color"] = "default", this.external = !1, this.expanded = !1, this.collapsed = !1, this.level = "0", this._hasChildren = !1, this.handleSlotChange = (t) => {
15113
+ this.icon = "", this["icon-format"] = "", this.label = "", this.value = "", this.href = "", this.active = !1, this.disabled = !1, this.badge = "", this["badge-color"] = "default", this.external = !1, this.expanded = !1, this.collapsed = !1, this.level = "0", this._hasChildren = !1, this.handleSlotChange = (t) => {
15061
15114
  this._hasChildren = t.target.assignedElements({ flatten: !0 }).some((r) => r.tagName === "ML-SIDEBAR-ITEM");
15062
15115
  }, this.handleClick = (t) => {
15063
15116
  if (!this.disabled) {
@@ -15088,10 +15141,11 @@ var lr = class {
15088
15141
  };
15089
15142
  lr = g([_({
15090
15143
  selector: "ml-sidebar-item",
15091
- template: $i,
15092
- styles: Ci,
15144
+ template: Ci,
15145
+ styles: Si,
15093
15146
  attributes: [
15094
15147
  "icon",
15148
+ "icon-format",
15095
15149
  "label",
15096
15150
  "value",
15097
15151
  "href",
@@ -15105,7 +15159,7 @@ lr = g([_({
15105
15159
  "level"
15106
15160
  ]
15107
15161
  })], lr);
15108
- function Si(e) {
15162
+ function Ei(e) {
15109
15163
  const t = e.steps.length > 0, r = e.compact;
15110
15164
  return i`
15111
15165
  <div
@@ -15122,7 +15176,7 @@ function Si(e) {
15122
15176
  aria-orientation=${e.orientation}
15123
15177
  @keydown=${e.handleKeyDown}
15124
15178
  >
15125
- ${t ? $(e.steps, (l) => `${l.value}-${e.active === l.value}`, (l, a) => Ei(e, l, a)) : i`<slot name="step" @slotchange=${e.handleStepSlotChange}></slot>`}
15179
+ ${t ? $(e.steps, (l) => `${l.value}-${e.active === l.value}`, (l, a) => Ri(e, l, a)) : i`<slot name="step" @slotchange=${e.handleStepSlotChange}></slot>`}
15126
15180
  </div>
15127
15181
 
15128
15182
  ${d(r, () => i`
@@ -15137,7 +15191,7 @@ function Si(e) {
15137
15191
  </div>
15138
15192
  `;
15139
15193
  }
15140
- function Ei(e, t, r) {
15194
+ function Ri(e, t, r) {
15141
15195
  const l = e.steps, a = r === 0, o = r === l.length - 1, s = e.getStepStatus(t.value), n = e.variant === "bar", c = e.compact;
15142
15196
  return i`
15143
15197
  <div
@@ -15159,13 +15213,13 @@ function Ei(e, t, r) {
15159
15213
  tabindex=${s === "current" ? "0" : "-1"}
15160
15214
  @click=${() => e.handleStepClick(t.value, t.href)}
15161
15215
  >
15162
- ${d(n, () => Ri(e, t))}
15163
- ${d(!n && !c, () => Ti(e, t, r, a, o, s))}
15164
- ${d(!n && c, () => zi(e, s))}
15216
+ ${d(n, () => Ti(e, t))}
15217
+ ${d(!n && !c, () => zi(e, t, r, a, o, s))}
15218
+ ${d(!n && c, () => Ai(e, s))}
15165
15219
  </div>
15166
15220
  `;
15167
15221
  }
15168
- function Ri(e, t) {
15222
+ function Ti(e, t) {
15169
15223
  return i`
15170
15224
  <div class="ml-step__bar"></div>
15171
15225
  <div class="ml-step__content">
@@ -15174,12 +15228,12 @@ function Ri(e, t) {
15174
15228
  </div>
15175
15229
  `;
15176
15230
  }
15177
- function Ti(e, t, r, l, a, o) {
15231
+ function zi(e, t, r, l, a, o) {
15178
15232
  return i`
15179
15233
  <div class="ml-step__track">
15180
15234
  <div class="ml-step__connector-before ${l ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15181
15235
  <div class="ml-step__indicator">
15182
- ${Ai(e, t, r, o)}
15236
+ ${Di(e, t, r, o)}
15183
15237
  </div>
15184
15238
  <div class="ml-step__connector-after ${a ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15185
15239
  </div>
@@ -15189,10 +15243,10 @@ function Ti(e, t, r, l, a, o) {
15189
15243
  </div>
15190
15244
  `;
15191
15245
  }
15192
- function zi(e, t) {
15246
+ function Ai(e, t) {
15193
15247
  return i`<div class="ml-step__dot"></div>`;
15194
15248
  }
15195
- function Ai(e, t, r, l) {
15249
+ function Di(e, t, r, l) {
15196
15250
  switch (e.variant) {
15197
15251
  case "numbered":
15198
15252
  return i`
@@ -15218,7 +15272,7 @@ function Ai(e, t, r, l) {
15218
15272
  return i``;
15219
15273
  }
15220
15274
  }
15221
- const Di = () => y`
15275
+ const Ii = () => y`
15222
15276
  :host {
15223
15277
  display: block;
15224
15278
  width: 100%;
@@ -15868,8 +15922,8 @@ var ar = class {
15868
15922
  };
15869
15923
  ar = g([_({
15870
15924
  selector: "ml-steps",
15871
- template: Si,
15872
- styles: Di,
15925
+ template: Ei,
15926
+ styles: Ii,
15873
15927
  attributes: [
15874
15928
  "active",
15875
15929
  "variant",
@@ -15880,7 +15934,7 @@ ar = g([_({
15880
15934
  "routed"
15881
15935
  ]
15882
15936
  })], ar);
15883
- function Ii(e) {
15937
+ function Mi(e) {
15884
15938
  const t = e.variant === "bar", r = e.compact;
15885
15939
  return i`
15886
15940
  <div
@@ -15901,13 +15955,13 @@ function Ii(e) {
15901
15955
  tabindex=${e.status === "current" ? "0" : "-1"}
15902
15956
  @click=${e.handleClick}
15903
15957
  >
15904
- ${d(t, () => Mi(e))}
15905
- ${d(!t && !r, () => Pi(e))}
15906
- ${d(!t && r, () => Oi(e))}
15958
+ ${d(t, () => Pi(e))}
15959
+ ${d(!t && !r, () => Oi(e))}
15960
+ ${d(!t && r, () => Ni(e))}
15907
15961
  </div>
15908
15962
  `;
15909
15963
  }
15910
- function Mi(e) {
15964
+ function Pi(e) {
15911
15965
  return i`
15912
15966
  <div class="ml-step__bar"></div>
15913
15967
  <div class="ml-step__content">
@@ -15916,12 +15970,12 @@ function Mi(e) {
15916
15970
  </div>
15917
15971
  `;
15918
15972
  }
15919
- function Pi(e) {
15973
+ function Oi(e) {
15920
15974
  return i`
15921
15975
  <div class="ml-step__track">
15922
15976
  <div class="ml-step__connector-before ${e.first ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15923
15977
  <div class="ml-step__indicator">
15924
- ${Ni(e)}
15978
+ ${Li(e)}
15925
15979
  </div>
15926
15980
  <div class="ml-step__connector-after ${e.last ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15927
15981
  </div>
@@ -15931,19 +15985,19 @@ function Pi(e) {
15931
15985
  </div>
15932
15986
  `;
15933
15987
  }
15934
- function Oi(e) {
15988
+ function Ni(e) {
15935
15989
  return i`
15936
15990
  <div class="ml-step__dot"></div>
15937
15991
  `;
15938
15992
  }
15939
- function Ni(e) {
15993
+ function Li(e) {
15940
15994
  switch (e.variant) {
15941
15995
  case "numbered":
15942
15996
  return or(e);
15943
15997
  case "circles":
15944
- return Li(e);
15945
- case "icons":
15946
15998
  return Vi(e);
15999
+ case "icons":
16000
+ return ji(e);
15947
16001
  default:
15948
16002
  return or(e);
15949
16003
  }
@@ -15957,7 +16011,7 @@ function or(e) {
15957
16011
  </div>
15958
16012
  `;
15959
16013
  }
15960
- function Li(e) {
16014
+ function Vi(e) {
15961
16015
  const t = e.status === "completed";
15962
16016
  return i`
15963
16017
  <div class="ml-step__indicator-inner ml-step__indicator-inner--circles">
@@ -15966,14 +16020,14 @@ function Li(e) {
15966
16020
  </div>
15967
16021
  `;
15968
16022
  }
15969
- function Vi(e) {
16023
+ function ji(e) {
15970
16024
  return i`
15971
16025
  <div class="ml-step__indicator-inner ml-step__indicator-inner--icons">
15972
16026
  <ml-icon icon=${e.icon || "circle"} size="sm"></ml-icon>
15973
16027
  </div>
15974
16028
  `;
15975
16029
  }
15976
- const ji = () => y`
16030
+ const Fi = () => y`
15977
16031
  :host {
15978
16032
  display: contents;
15979
16033
  }
@@ -16493,8 +16547,8 @@ var ir = class {
16493
16547
  };
16494
16548
  ir = g([_({
16495
16549
  selector: "ml-step",
16496
- template: Ii,
16497
- styles: ji,
16550
+ template: Mi,
16551
+ styles: Fi,
16498
16552
  attributes: [
16499
16553
  "value",
16500
16554
  "label",
@@ -16512,14 +16566,14 @@ ir = g([_({
16512
16566
  "compact"
16513
16567
  ]
16514
16568
  })], ir);
16515
- function Fi(e) {
16569
+ function qi(e) {
16516
16570
  return i`
16517
16571
  <div class="ml-step-panel" role="tabpanel">
16518
16572
  <slot></slot>
16519
16573
  </div>
16520
16574
  `;
16521
16575
  }
16522
- const qi = () => y`
16576
+ const Bi = () => y`
16523
16577
  :host {
16524
16578
  display: block;
16525
16579
  }
@@ -16539,11 +16593,11 @@ var sr = class {
16539
16593
  };
16540
16594
  sr = g([_({
16541
16595
  selector: "ml-step-panel",
16542
- template: Fi,
16543
- styles: qi,
16596
+ template: qi,
16597
+ styles: Bi,
16544
16598
  attributes: ["value"]
16545
16599
  })], sr);
16546
- const Bi = () => i`<dialog class="ml-dialog">
16600
+ const Hi = () => i`<dialog class="ml-dialog">
16547
16601
  <div class="ml-dialog-header">
16548
16602
  <slot name="dialog-header"></slot>
16549
16603
  </div>
@@ -16555,7 +16609,7 @@ const Bi = () => i`<dialog class="ml-dialog">
16555
16609
  <div class="ml-dialog-footer">
16556
16610
  <slot name="dialog-footer"></slot>
16557
16611
  </div>
16558
- </dialog> `, Hi = () => y`
16612
+ </dialog> `, Ki = () => y`
16559
16613
  :host {
16560
16614
  display: contents;
16561
16615
  }
@@ -16734,7 +16788,7 @@ const Bi = () => i`<dialog class="ml-dialog">
16734
16788
  }
16735
16789
  }
16736
16790
  `;
16737
- var Ki = class {
16791
+ var Wi = class {
16738
16792
  constructor(e, t) {
16739
16793
  this._dialogID = e, this._dialogEl = t, this._afterOpenedCallback = null, this._afterClosedCallback = null, this._disableClose = !1, this._handleCancel = this.onCancel.bind(this), this._handleBackdropClick = this.onBackdropClick.bind(this), this._dialogEl.addEventListener("cancel", this._handleCancel), this._dialogEl.addEventListener("click", this._handleBackdropClick);
16740
16794
  }
@@ -16772,12 +16826,12 @@ var Ki = class {
16772
16826
  onBackdropClick(e) {
16773
16827
  e.target === this._dialogEl && !this._disableClose && this.close();
16774
16828
  }
16775
- }, Q = class {
16829
+ }, Z = class {
16776
16830
  constructor() {
16777
16831
  this._dialogs = /* @__PURE__ */ new Map();
16778
16832
  }
16779
16833
  addDialog(t, r) {
16780
- const l = new Ki(t, r);
16834
+ const l = new Wi(t, r);
16781
16835
  return this._dialogs.set(t, {
16782
16836
  dialogRef: l,
16783
16837
  dialogComponent: void 0
@@ -16811,7 +16865,7 @@ var Ki = class {
16811
16865
  t.remove();
16812
16866
  }
16813
16867
  };
16814
- Q = g([Z()], Q);
16868
+ Z = g([ee()], Z);
16815
16869
  var nr, Te = class {
16816
16870
  constructor() {
16817
16871
  this._dialogID = ea(), this._registered = !1;
@@ -16837,14 +16891,14 @@ var nr, Te = class {
16837
16891
  return this.elementRef.getAttributeNames().find((t) => t.startsWith("#"))?.slice(1) ?? this._dialogID;
16838
16892
  }
16839
16893
  };
16840
- g([H(Q), j("design:type", typeof (nr = typeof Q < "u" && Q) == "function" ? nr : Object)], Te.prototype, "_dialogService", void 0);
16894
+ g([H(Z), j("design:type", typeof (nr = typeof Z < "u" && Z) == "function" ? nr : Object)], Te.prototype, "_dialogService", void 0);
16841
16895
  Te = g([_({
16842
16896
  selector: "ml-dialog",
16843
- template: Bi,
16844
- styles: Hi,
16897
+ template: Hi,
16898
+ styles: Ki,
16845
16899
  attributes: []
16846
16900
  })], Te);
16847
- function Wi(e) {
16901
+ function Gi(e) {
16848
16902
  const t = e.side === "left" ? "left" : "right", r = e.size === "sm" || e.size === "md" || e.size === "lg" || e.size === "xl" ? e.size : "md";
16849
16903
  return i`
16850
16904
  <dialog
@@ -16879,7 +16933,7 @@ function Wi(e) {
16879
16933
  </dialog>
16880
16934
  `;
16881
16935
  }
16882
- const Gi = () => y`
16936
+ const Ui = () => y`
16883
16937
  :host {
16884
16938
  display: contents;
16885
16939
  }
@@ -17103,15 +17157,15 @@ var dr = class {
17103
17157
  };
17104
17158
  dr = g([_({
17105
17159
  selector: "ml-drawer",
17106
- template: Wi,
17107
- styles: Gi,
17160
+ template: Gi,
17161
+ styles: Ui,
17108
17162
  attributes: [
17109
17163
  "side",
17110
17164
  "size",
17111
17165
  "show-close"
17112
17166
  ]
17113
17167
  })], dr);
17114
- function Ui(e) {
17168
+ function Yi(e) {
17115
17169
  return i`
17116
17170
  <div class="ml-dropdown">
17117
17171
  <div class="ml-dropdown__trigger" @click=${e.toggle}>
@@ -17128,7 +17182,7 @@ function Ui(e) {
17128
17182
  </div>
17129
17183
  `;
17130
17184
  }
17131
- const Yi = () => y`
17185
+ const Xi = () => y`
17132
17186
  :host {
17133
17187
  display: inline-block;
17134
17188
  }
@@ -17356,15 +17410,15 @@ var cr = class {
17356
17410
  }
17357
17411
  updatePosition(t, r) {
17358
17412
  const l = this.arrow ? this.elementRef.shadowRoot?.querySelector(".ml-dropdown__arrow") : null, a = [
17359
- re(this.offset),
17360
- le(),
17361
- ae({ padding: 8 })
17413
+ le(this.offset),
17414
+ ae(),
17415
+ oe({ padding: 8 })
17362
17416
  ];
17363
17417
  l && a.push(Nr({
17364
17418
  element: l,
17365
17419
  padding: 8
17366
17420
  }));
17367
- const { x: o, y: s, placement: n, middlewareData: c } = te(t, r, {
17421
+ const { x: o, y: s, placement: n, middlewareData: c } = re(t, r, {
17368
17422
  placement: this.placement,
17369
17423
  middleware: a
17370
17424
  });
@@ -17383,15 +17437,15 @@ var cr = class {
17383
17437
  };
17384
17438
  cr = g([_({
17385
17439
  selector: "ml-dropdown",
17386
- template: Ui,
17387
- styles: Yi,
17440
+ template: Yi,
17441
+ styles: Xi,
17388
17442
  attributes: [
17389
17443
  "placement",
17390
17444
  "offset",
17391
17445
  "arrow"
17392
17446
  ]
17393
17447
  })], cr);
17394
- function Xi(e) {
17448
+ function Ji(e) {
17395
17449
  return i`
17396
17450
  <div
17397
17451
  class=${v({
@@ -17411,7 +17465,7 @@ function Xi(e) {
17411
17465
  </div>
17412
17466
  `;
17413
17467
  }
17414
- const Ji = () => y`
17468
+ const Qi = () => y`
17415
17469
  :host {
17416
17470
  display: block;
17417
17471
  }
@@ -17492,8 +17546,8 @@ var mr = class {
17492
17546
  };
17493
17547
  mr = g([_({
17494
17548
  selector: "ml-dropdown-item",
17495
- template: Xi,
17496
- styles: Ji,
17549
+ template: Ji,
17550
+ styles: Qi,
17497
17551
  attributes: [
17498
17552
  "value",
17499
17553
  "icon",
@@ -17502,10 +17556,10 @@ mr = g([_({
17502
17556
  "destructive"
17503
17557
  ]
17504
17558
  })], mr);
17505
- function Qi() {
17559
+ function Zi() {
17506
17560
  return i`<div class="ml-dropdown-separator" role="separator"></div>`;
17507
17561
  }
17508
- const Zi = () => y`
17562
+ const es = () => y`
17509
17563
  :host {
17510
17564
  display: block;
17511
17565
  }
@@ -17520,10 +17574,10 @@ var ur = class {
17520
17574
  };
17521
17575
  ur = g([_({
17522
17576
  selector: "ml-dropdown-separator",
17523
- template: Qi,
17524
- styles: Zi
17577
+ template: Zi,
17578
+ styles: es
17525
17579
  })], ur);
17526
- function es(e) {
17580
+ function ts(e) {
17527
17581
  return i`
17528
17582
  <div class="ml-dropdown-group" role="group">
17529
17583
  ${d(!!e.label, () => i`<div class="ml-dropdown-group__label">${e.label}</div>`)}
@@ -17531,7 +17585,7 @@ function es(e) {
17531
17585
  </div>
17532
17586
  `;
17533
17587
  }
17534
- const ts = () => y`
17588
+ const rs = () => y`
17535
17589
  :host {
17536
17590
  display: block;
17537
17591
  }
@@ -17553,11 +17607,11 @@ var hr = class {
17553
17607
  };
17554
17608
  hr = g([_({
17555
17609
  selector: "ml-dropdown-group",
17556
- template: es,
17557
- styles: ts,
17610
+ template: ts,
17611
+ styles: rs,
17558
17612
  attributes: ["label"]
17559
17613
  })], hr);
17560
- function rs(e) {
17614
+ function ls(e) {
17561
17615
  return i`
17562
17616
  <div class="ml-tooltip">
17563
17617
  <div
@@ -17583,7 +17637,7 @@ function rs(e) {
17583
17637
  </div>
17584
17638
  `;
17585
17639
  }
17586
- const ls = () => y`
17640
+ const as = () => y`
17587
17641
  :host {
17588
17642
  display: inline-block;
17589
17643
  }
@@ -17668,12 +17722,12 @@ var pr = class {
17668
17722
  updatePosition() {
17669
17723
  const t = this.elementRef.shadowRoot?.querySelector(".ml-tooltip__trigger"), r = this.elementRef.shadowRoot?.querySelector(".ml-tooltip__content"), l = this.elementRef.shadowRoot?.querySelector(".ml-tooltip__arrow");
17670
17724
  if (!t || !r) return;
17671
- const { x: a, y: o, placement: s } = te(t, r, {
17725
+ const { x: a, y: o, placement: s } = re(t, r, {
17672
17726
  placement: this.placement,
17673
17727
  middleware: [
17674
- re(8),
17675
- le(),
17676
- ae({ padding: 8 })
17728
+ le(8),
17729
+ ae(),
17730
+ oe({ padding: 8 })
17677
17731
  ]
17678
17732
  });
17679
17733
  if (r.style.left = `${a}px`, r.style.top = `${o}px`, r.setAttribute("data-placement", s), l) {
@@ -17684,15 +17738,15 @@ var pr = class {
17684
17738
  };
17685
17739
  pr = g([_({
17686
17740
  selector: "ml-tooltip",
17687
- template: rs,
17688
- styles: ls,
17741
+ template: ls,
17742
+ styles: as,
17689
17743
  attributes: [
17690
17744
  "content",
17691
17745
  "placement",
17692
17746
  "delay"
17693
17747
  ]
17694
17748
  })], pr);
17695
- function as(e) {
17749
+ function os(e) {
17696
17750
  return i`
17697
17751
  <div class="ml-popover">
17698
17752
  <div class="ml-popover__trigger" @click=${e.toggle}>
@@ -17708,7 +17762,7 @@ function as(e) {
17708
17762
  </div>
17709
17763
  `;
17710
17764
  }
17711
- const os = () => y`
17765
+ const is = () => y`
17712
17766
  :host {
17713
17767
  display: inline-block;
17714
17768
  }
@@ -17824,15 +17878,15 @@ var vr = class {
17824
17878
  }
17825
17879
  updatePosition(t, r) {
17826
17880
  const l = this.arrow ? this.elementRef.shadowRoot?.querySelector(".ml-popover__arrow") : null, a = [
17827
- re(this.offset),
17828
- le(),
17829
- ae({ padding: 8 })
17881
+ le(this.offset),
17882
+ ae(),
17883
+ oe({ padding: 8 })
17830
17884
  ];
17831
17885
  l && a.push(Nr({
17832
17886
  element: l,
17833
17887
  padding: 8
17834
17888
  }));
17835
- const { x: o, y: s, placement: n, middlewareData: c } = te(t, r, {
17889
+ const { x: o, y: s, placement: n, middlewareData: c } = re(t, r, {
17836
17890
  placement: this.placement,
17837
17891
  middleware: a
17838
17892
  });
@@ -17851,8 +17905,8 @@ var vr = class {
17851
17905
  };
17852
17906
  vr = g([_({
17853
17907
  selector: "ml-popover",
17854
- template: as,
17855
- styles: os,
17908
+ template: os,
17909
+ styles: is,
17856
17910
  attributes: [
17857
17911
  "placement",
17858
17912
  "offset",
@@ -17860,7 +17914,7 @@ vr = g([_({
17860
17914
  "arrow"
17861
17915
  ]
17862
17916
  })], vr);
17863
- function is(e) {
17917
+ function ss(e) {
17864
17918
  const t = e["sidebar-position"] === "right", r = e["sidebar-collapsed"], l = e["header-fixed"], a = e.mobileOpen, o = e.mobile;
17865
17919
  return i`
17866
17920
  <div
@@ -17915,7 +17969,7 @@ function is(e) {
17915
17969
  </div>
17916
17970
  `;
17917
17971
  }
17918
- const ss = () => y`
17972
+ const ns = () => y`
17919
17973
  :host {
17920
17974
  display: block;
17921
17975
  height: 100%;
@@ -18123,15 +18177,15 @@ var gr = class {
18123
18177
  };
18124
18178
  gr = g([_({
18125
18179
  selector: "ml-app-shell",
18126
- template: is,
18127
- styles: ss,
18180
+ template: ss,
18181
+ styles: ns,
18128
18182
  attributes: [
18129
18183
  "sidebar-position",
18130
18184
  "sidebar-collapsed",
18131
18185
  "header-fixed"
18132
18186
  ]
18133
18187
  })], gr);
18134
- function ns(e) {
18188
+ function ds(e) {
18135
18189
  const t = e.variant === "split" || e.variant === "split-reverse";
18136
18190
  return i`
18137
18191
  <section
@@ -18192,7 +18246,7 @@ function ns(e) {
18192
18246
  </section>
18193
18247
  `;
18194
18248
  }
18195
- const ds = () => y`
18249
+ const cs = () => y`
18196
18250
  :host {
18197
18251
  display: block;
18198
18252
  width: 100%;
@@ -18464,8 +18518,8 @@ var br = class {
18464
18518
  };
18465
18519
  br = g([_({
18466
18520
  selector: "ml-hero-section",
18467
- template: ns,
18468
- styles: ds,
18521
+ template: ds,
18522
+ styles: cs,
18469
18523
  attributes: [
18470
18524
  "variant",
18471
18525
  "size",
@@ -18474,7 +18528,7 @@ br = g([_({
18474
18528
  "description"
18475
18529
  ]
18476
18530
  })], br);
18477
- function cs(e) {
18531
+ function ms(e) {
18478
18532
  const t = !!(e.title || e.hasTitleSlot), r = !!(e.description || e.hasDescriptionSlot);
18479
18533
  return i`
18480
18534
  <header
@@ -18526,7 +18580,7 @@ function cs(e) {
18526
18580
  </header>
18527
18581
  `;
18528
18582
  }
18529
- const ms = () => y`
18583
+ const us = () => y`
18530
18584
  :host {
18531
18585
  display: block;
18532
18586
  }
@@ -18722,8 +18776,8 @@ var fr = class {
18722
18776
  };
18723
18777
  fr = g([_({
18724
18778
  selector: "ml-page-header",
18725
- template: cs,
18726
- styles: ms,
18779
+ template: ms,
18780
+ styles: us,
18727
18781
  attributes: [
18728
18782
  "variant",
18729
18783
  "divider",
@@ -18731,7 +18785,7 @@ fr = g([_({
18731
18785
  "description"
18732
18786
  ]
18733
18787
  })], fr);
18734
- function us(e) {
18788
+ function hs(e) {
18735
18789
  const t = e.variant === "split", r = i`
18736
18790
  <div class="ml-auth__logo">
18737
18791
  <slot name="logo"></slot>
@@ -18957,7 +19011,7 @@ const Wr = `
18957
19011
  padding: var(--ml-space-6);
18958
19012
  }
18959
19013
  }
18960
- `, hs = () => y`
19014
+ `, ps = () => y`
18961
19015
  ${Wr}
18962
19016
  `;
18963
19017
  var _r = class {
@@ -18975,15 +19029,15 @@ var _r = class {
18975
19029
  };
18976
19030
  _r = g([_({
18977
19031
  selector: "ml-login-page",
18978
- template: us,
18979
- styles: hs,
19032
+ template: hs,
19033
+ styles: ps,
18980
19034
  attributes: [
18981
19035
  "variant",
18982
19036
  "title",
18983
19037
  "description"
18984
19038
  ]
18985
19039
  })], _r);
18986
- function ps(e) {
19040
+ function vs(e) {
18987
19041
  const t = e.variant === "split", r = i`
18988
19042
  <div class="ml-auth__logo">
18989
19043
  <slot name="logo"></slot>
@@ -19037,7 +19091,7 @@ function ps(e) {
19037
19091
  </div>
19038
19092
  `;
19039
19093
  }
19040
- const vs = () => y`
19094
+ const gs = () => y`
19041
19095
  ${Wr}
19042
19096
  `;
19043
19097
  var yr = class {
@@ -19055,15 +19109,15 @@ var yr = class {
19055
19109
  };
19056
19110
  yr = g([_({
19057
19111
  selector: "ml-signup-page",
19058
- template: ps,
19059
- styles: vs,
19112
+ template: vs,
19113
+ styles: gs,
19060
19114
  attributes: [
19061
19115
  "variant",
19062
19116
  "title",
19063
19117
  "description"
19064
19118
  ]
19065
19119
  })], yr);
19066
- function gs(e) {
19120
+ function bs(e) {
19067
19121
  const t = e.layout === "default" && e.hasAside;
19068
19122
  return i`
19069
19123
  <ml-app-shell>
@@ -19106,7 +19160,7 @@ function gs(e) {
19106
19160
  </ml-app-shell>
19107
19161
  `;
19108
19162
  }
19109
- const bs = () => y`
19163
+ const fs = () => y`
19110
19164
  :host {
19111
19165
  display: block;
19112
19166
  height: 100%;
@@ -19218,8 +19272,8 @@ var xr = class {
19218
19272
  };
19219
19273
  xr = g([_({
19220
19274
  selector: "ml-dashboard-page",
19221
- template: gs,
19222
- styles: bs,
19275
+ template: bs,
19276
+ styles: fs,
19223
19277
  attributes: [
19224
19278
  "title",
19225
19279
  "description",
@@ -19247,14 +19301,14 @@ export {
19247
19301
  Et as CardComponent,
19248
19302
  ct as CheckboxComponent,
19249
19303
  Zr as ComponentBase,
19250
- Vs as ComponentStateBaseService,
19304
+ js as ComponentStateBaseService,
19251
19305
  zt as ContainerComponent,
19252
19306
  xr as DashboardPageComponent,
19253
19307
  xt as DatePickerComponent,
19254
19308
  Te as DialogComponent,
19255
- Ki as DialogRef,
19256
- Q as DialogService,
19257
- Hs as Directive,
19309
+ Wi as DialogRef,
19310
+ Z as DialogService,
19311
+ Ks as Directive,
19258
19312
  Rt as DividerComponent,
19259
19313
  dr as DrawerComponent,
19260
19314
  cr as DropdownComponent,
@@ -19272,8 +19326,8 @@ export {
19272
19326
  Be as HttpClient,
19273
19327
  qe as HttpError,
19274
19328
  Ut as IconComponent,
19275
- fs as Inject,
19276
- Z as Injectable,
19329
+ _s as Inject,
19330
+ ee as Injectable,
19277
19331
  Gr as InjectionEngine,
19278
19332
  L as Injector,
19279
19333
  nt as InputComponent,
@@ -19295,7 +19349,7 @@ export {
19295
19349
  ht as RadioCardGroupComponent,
19296
19350
  mt as RadioComponent,
19297
19351
  ut as RadioGroupComponent,
19298
- Ss as RouteContextEvent,
19352
+ Es as RouteContextEvent,
19299
19353
  xe as RouteContextService,
19300
19354
  _e as RouteMatcher,
19301
19355
  ke as RouterLinkComponent,
@@ -19328,79 +19382,79 @@ export {
19328
19382
  kt as ToastService,
19329
19383
  vt as ToggleComponent,
19330
19384
  pr as TooltipComponent,
19331
- Gs as Validators,
19385
+ Us as Validators,
19332
19386
  jr as VirtualScroller,
19333
19387
  Co as activityFeedItemStyles,
19334
19388
  $o as activityFeedItemTemplate,
19335
19389
  ko as activityFeedStyles,
19336
19390
  wo as activityFeedTemplate,
19337
19391
  Fl as allTokens,
19338
- mn as announce,
19339
- ss as appShellStyles,
19340
- is as appShellTemplate,
19392
+ un as announce,
19393
+ ns as appShellStyles,
19394
+ ss as appShellTemplate,
19341
19395
  Xr as applyGlobalStyles,
19342
19396
  Kl as applyTheme,
19343
19397
  Nr as arrow,
19344
19398
  Me as autoUpdate,
19345
- Zs as baseThemeCss,
19346
- _s as bootstrap,
19399
+ en as baseThemeCss,
19400
+ ys as bootstrap,
19347
19401
  Ll as borderTokens,
19348
- gi as breadcrumbItemStyles,
19349
- vi as breadcrumbItemTemplate,
19350
- pi as breadcrumbStyles,
19351
- hi as breadcrumbTemplate,
19402
+ bi as breadcrumbItemStyles,
19403
+ gi as breadcrumbItemTemplate,
19404
+ vi as breadcrumbStyles,
19405
+ pi as breadcrumbTemplate,
19352
19406
  jl as breakpointTokens,
19353
- Xs as breakpoints,
19407
+ Js as breakpoints,
19354
19408
  nl as buildPathFromRoute,
19355
- li as calendarViewStyles,
19356
- ri as calendarViewTemplate,
19409
+ ai as calendarViewStyles,
19410
+ li as calendarViewTemplate,
19357
19411
  v as classMap,
19358
- gn as clickOutside,
19412
+ bn as clickOutside,
19359
19413
  Ml as colorTokens,
19360
- vn as componentBaseStyles,
19361
- te as computePosition,
19414
+ gn as componentBaseStyles,
19415
+ re as computePosition,
19362
19416
  z as computed,
19363
19417
  no as containerStyles,
19364
19418
  so as containerTemplate,
19365
- Ps as createAction,
19366
- Ys as createAsyncValidator,
19367
- an as createBrandTheme,
19368
- $s as createDeactivateGuard,
19419
+ Os as createAction,
19420
+ Xs as createAsyncValidator,
19421
+ on as createBrandTheme,
19422
+ Cs as createDeactivateGuard,
19369
19423
  Ql as createFocusTrap,
19370
- Ks as createFormControl,
19371
- Ws as createFormGroup,
19372
- ks as createGuard,
19373
- un as createLiveRegion,
19374
- Os as createReducer,
19375
- Cs as createResolver,
19376
- Ns as createState,
19424
+ Ws as createFormControl,
19425
+ Gs as createFormGroup,
19426
+ $s as createGuard,
19427
+ hn as createLiveRegion,
19428
+ Ns as createReducer,
19429
+ Ss as createResolver,
19430
+ Ls as createState,
19377
19431
  Or as createTheme,
19378
- ee as createToken,
19379
- Us as createValidator,
19432
+ te as createToken,
19433
+ Ys as createValidator,
19380
19434
  y as css,
19381
19435
  et as darkTheme,
19382
- Qs as darkThemeCss,
19383
- bs as dashboardPageStyles,
19384
- gs as dashboardPageTemplate,
19385
- ys as defineConfig,
19436
+ Zs as darkThemeCss,
19437
+ fs as dashboardPageStyles,
19438
+ bs as dashboardPageTemplate,
19439
+ xs as defineConfig,
19386
19440
  U as directive,
19387
- Gi as drawerStyles,
19388
- Wi as drawerTemplate,
19389
- ts as dropdownGroupStyles,
19390
- es as dropdownGroupTemplate,
19391
- Ji as dropdownItemStyles,
19392
- Xi as dropdownItemTemplate,
19393
- Zi as dropdownSeparatorStyles,
19394
- Qi as dropdownSeparatorTemplate,
19395
- Yi as dropdownStyles,
19396
- Ui as dropdownTemplate,
19441
+ Ui as drawerStyles,
19442
+ Gi as drawerTemplate,
19443
+ rs as dropdownGroupStyles,
19444
+ ts as dropdownGroupTemplate,
19445
+ Qi as dropdownItemStyles,
19446
+ Ji as dropdownItemTemplate,
19447
+ es as dropdownSeparatorStyles,
19448
+ Zi as dropdownSeparatorTemplate,
19449
+ Xi as dropdownStyles,
19450
+ Yi as dropdownTemplate,
19397
19451
  tl as environment,
19398
19452
  sl as findRouteByName,
19399
- le as flip,
19400
- on as focusFirst,
19401
- sn as focusLast,
19402
- nn as focusTrap,
19403
- cn as focusVisible,
19453
+ ae as flip,
19454
+ sn as focusFirst,
19455
+ nn as focusLast,
19456
+ dn as focusTrap,
19457
+ mn as focusVisible,
19404
19458
  Dl as formControlDirective,
19405
19459
  Pa as formFieldStyles,
19406
19460
  Ma as formFieldTemplate,
@@ -19410,92 +19464,92 @@ export {
19410
19464
  Lr as getFirstFocusable,
19411
19465
  Pe as getFocusableElements,
19412
19466
  Jl as getLastFocusable,
19413
- As as getRegisteredDirectives,
19467
+ Ds as getRegisteredDirectives,
19414
19468
  Hl as getResolvedTheme,
19415
- en as getTheme,
19469
+ tn as getTheme,
19416
19470
  O as getTokenKey,
19417
- Ts as hasAttributeDirective,
19418
- ds as heroSectionStyles,
19419
- ns as heroSectionTemplate,
19471
+ zs as hasAttributeDirective,
19472
+ cs as heroSectionStyles,
19473
+ ds as heroSectionTemplate,
19420
19474
  i as html,
19421
- ln as injectTheme,
19422
- oe as isDirective,
19423
- dn as isFocusVisible,
19475
+ an as injectTheme,
19476
+ Y as isDirective,
19477
+ cn as isFocusVisible,
19424
19478
  Ur as isSignal,
19425
19479
  Bl as lightTheme,
19426
- Js as lightThemeCss,
19480
+ Qs as lightThemeCss,
19427
19481
  xo as listItemStyles,
19428
19482
  yo as listItemTemplate,
19429
19483
  _o as listStyles,
19430
19484
  fo as listTemplate,
19431
- hs as loginPageStyles,
19432
- us as loginPageTemplate,
19485
+ ps as loginPageStyles,
19486
+ hs as loginPageTemplate,
19433
19487
  ye as matchRouteTree,
19434
19488
  ea as newID,
19435
- re as offset,
19436
- Ls as onAction,
19437
- tn as onThemeChange,
19438
- ms as pageHeaderStyles,
19439
- cs as pageHeaderTemplate,
19440
- fi as paginationStyles,
19441
- bi as paginationTemplate,
19489
+ le as offset,
19490
+ Vs as onAction,
19491
+ rn as onThemeChange,
19492
+ us as pageHeaderStyles,
19493
+ ms as pageHeaderTemplate,
19494
+ _i as paginationStyles,
19495
+ fi as paginationTemplate,
19442
19496
  Sl as portalDirective,
19443
19497
  Il as primitiveColors,
19444
19498
  eo as progressStyles,
19445
19499
  Za as progressTemplate,
19446
- Ms as props,
19447
- xs as provideConfig,
19448
- ws as provideHttp,
19449
- Fs as provideRX,
19500
+ Ps as props,
19501
+ ws as provideConfig,
19502
+ ks as provideHttp,
19503
+ qs as provideRX,
19450
19504
  he as registerAttributeDirective,
19451
19505
  Le as render,
19452
19506
  $ as repeat,
19453
- qs as repeatRaw,
19454
- hn as resetStyles,
19507
+ Bs as repeatRaw,
19508
+ pn as resetStyles,
19455
19509
  pl as routerLinkDirective,
19456
19510
  Aa as selectStyles,
19457
19511
  Ea as selectTemplate,
19458
19512
  Ye as setActiveEffect,
19459
19513
  Nl as shadowTokens,
19460
- ae as shift,
19461
- ki as sidebarGroupStyles,
19462
- wi as sidebarGroupTemplate,
19463
- Ci as sidebarItemStyles,
19464
- $i as sidebarItemTemplate,
19465
- xi as sidebarStyles,
19466
- _i as sidebarTemplate,
19514
+ oe as shift,
19515
+ $i as sidebarGroupStyles,
19516
+ ki as sidebarGroupTemplate,
19517
+ Si as sidebarItemStyles,
19518
+ Ci as sidebarItemTemplate,
19519
+ wi as sidebarStyles,
19520
+ yi as sidebarTemplate,
19467
19521
  P as signal,
19468
- vs as signupPageStyles,
19469
- ps as signupPageTemplate,
19522
+ gs as signupPageStyles,
19523
+ vs as signupPageTemplate,
19470
19524
  Ia as sliderStyles,
19471
19525
  Da as sliderTemplate,
19472
19526
  Pl as spacingTokens,
19473
- qi as stepPanelStyles,
19474
- Fi as stepPanelTemplate,
19475
- ji as stepStyles,
19476
- Ii as stepTemplate,
19477
- Di as stepsStyles,
19478
- Si as stepsTemplate,
19527
+ Bi as stepPanelStyles,
19528
+ qi as stepPanelTemplate,
19529
+ Fi as stepStyles,
19530
+ Mi as stepTemplate,
19531
+ Ii as stepsStyles,
19532
+ Ei as stepsTemplate,
19479
19533
  G as styleMap,
19480
- ui as tabPanelStyles,
19481
- mi as tabPanelTemplate,
19482
- ci as tabStyles,
19483
- di as tabTemplate,
19484
- Ro as tableStyles,
19485
- Eo as tableTemplate,
19486
- ni as tabsStyles,
19487
- ii as tabsTemplate,
19534
+ hi as tabPanelStyles,
19535
+ ui as tabPanelTemplate,
19536
+ mi as tabStyles,
19537
+ ci as tabTemplate,
19538
+ To as tableStyles,
19539
+ Ro as tableTemplate,
19540
+ di as tabsStyles,
19541
+ si as tabsTemplate,
19488
19542
  Ya as toastContainerStyles,
19489
19543
  Ua as toastContainerTemplate,
19490
19544
  Ga as toastStyles,
19491
19545
  Wa as toastTemplate,
19492
- rn as toggleTheme,
19546
+ ln as toggleTheme,
19493
19547
  ql as tokensToCss,
19494
19548
  ra as tooltipDirective,
19495
19549
  Vl as transitionTokens,
19496
19550
  Ol as typographyTokens,
19497
- zs as unregisterAttributeDirective,
19498
- Bs as unsafeHTML,
19499
- pn as visuallyHiddenStyles,
19551
+ As as unregisterAttributeDirective,
19552
+ Hs as unsafeHTML,
19553
+ vn as visuallyHiddenStyles,
19500
19554
  d as when
19501
19555
  };