shared-ritm 1.2.44 → 1.2.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shared-ritm.es.js
CHANGED
|
@@ -9640,6 +9640,7 @@ const Jn = ul(
|
|
|
9640
9640
|
"model-value": l.isRouteActive(l.item) && o.value,
|
|
9641
9641
|
"header-class": "text-purple",
|
|
9642
9642
|
class: Ce([l.$style["menu-item"], { "expansion-item-active": l.isRouteActive(l.item) && l.minify }]),
|
|
9643
|
+
"data-test": `sidebar-expansion-item-${(l.item.name || "unnamed").toLowerCase().replace(/\s+/g, "-")}`,
|
|
9643
9644
|
"onUpdate:modelValue": a[0] || (a[0] = (u) => o.value = u)
|
|
9644
9645
|
}, {
|
|
9645
9646
|
header: le(() => [
|
|
@@ -9687,14 +9688,14 @@ const Jn = ul(
|
|
|
9687
9688
|
}, null, 8, ["item", "main", "is-route-active"]))), 128))
|
|
9688
9689
|
]),
|
|
9689
9690
|
_: 1
|
|
9690
|
-
}, 8, ["model-value", "class"])) : l.item.name !== "sign-out" ? Rt((z(), pe(Ft, {
|
|
9691
|
+
}, 8, ["model-value", "class", "data-test"])) : l.item.name !== "sign-out" ? Rt((z(), pe(Ft, {
|
|
9691
9692
|
key: 1,
|
|
9692
9693
|
class: Ce(l.$style["menu-item"]),
|
|
9693
9694
|
active: l.isRouteActive(l.item),
|
|
9694
9695
|
"active-class": "menu-active",
|
|
9695
9696
|
clickable: "",
|
|
9696
9697
|
to: l.main ? l.item.to : "",
|
|
9697
|
-
"data-test": `sidebar-item-${l.item.
|
|
9698
|
+
"data-test": `sidebar-item-${l.item.name.toLowerCase().replace(/\s+/g, "-")}`,
|
|
9698
9699
|
onClick: a[1] || (a[1] = (u) => r(l.item.to))
|
|
9699
9700
|
}, {
|
|
9700
9701
|
default: le(() => [
|
|
@@ -9743,7 +9744,7 @@ const Jn = ul(
|
|
|
9743
9744
|
"menu-item__label": "_menu-item__label_fkijr_18"
|
|
9744
9745
|
}, E0 = {
|
|
9745
9746
|
$style: T0
|
|
9746
|
-
}, R0 = /* @__PURE__ */ fe(L0, [["__cssModules", E0], ["__scopeId", "data-v-
|
|
9747
|
+
}, R0 = /* @__PURE__ */ fe(L0, [["__cssModules", E0], ["__scopeId", "data-v-f6a202a4"]]), A0 = /* @__PURE__ */ Qe({
|
|
9747
9748
|
__name: "SidebarMenu",
|
|
9748
9749
|
props: {
|
|
9749
9750
|
menuItems: {},
|