@luizleon/sf.prefeiturasp.vuecomponents 5.0.5 → 5.0.6
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/sf.prefeiturasp.vuecomponents.js +7 -12
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/components/navmenu/NavMenu.vue.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -15
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3779,7 +3779,7 @@ function tu(t, e, n, r, o, i) {
|
|
|
3779
3779
|
}), 128))], 16, Zl);
|
|
3780
3780
|
}
|
|
3781
3781
|
Bi.render = tu;
|
|
3782
|
-
const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "
|
|
3782
|
+
const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "onClick"], ou = {
|
|
3783
3783
|
key: 0,
|
|
3784
3784
|
class: "material-symbols-outlined item-menu-icon-left"
|
|
3785
3785
|
}, iu = ["onClick"], su = {
|
|
@@ -3810,13 +3810,9 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClic
|
|
|
3810
3810
|
unstyled: !0
|
|
3811
3811
|
}, {
|
|
3812
3812
|
item: It(({ item: s, active: l }) => [
|
|
3813
|
-
s.
|
|
3813
|
+
s.to ? ($(), ce(a, {
|
|
3814
3814
|
key: 0,
|
|
3815
|
-
to:
|
|
3816
|
-
path: s.path,
|
|
3817
|
-
params: s.params ?? {},
|
|
3818
|
-
query: s.query ?? {}
|
|
3819
|
-
},
|
|
3815
|
+
to: s.to,
|
|
3820
3816
|
custom: ""
|
|
3821
3817
|
}, {
|
|
3822
3818
|
default: It(({ navigate: c, isActive: d }) => [
|
|
@@ -3829,11 +3825,10 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClic
|
|
|
3829
3825
|
}
|
|
3830
3826
|
]),
|
|
3831
3827
|
"data-active": d,
|
|
3832
|
-
href: s.path,
|
|
3833
3828
|
onClick: wr((m) => n(s, c), ["prevent"])
|
|
3834
3829
|
}, [
|
|
3835
3830
|
s.icon ? ($(), H("span", ou, Me(s.icon), 1)) : se("", !0),
|
|
3836
|
-
M("span", null, Me(s.
|
|
3831
|
+
M("span", null, Me(s.label), 1)
|
|
3837
3832
|
], 10, ru)
|
|
3838
3833
|
]),
|
|
3839
3834
|
_: 2
|
|
@@ -3846,10 +3841,10 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClic
|
|
|
3846
3841
|
onClick: wr((c) => r(c, s), ["stop"])
|
|
3847
3842
|
}, [
|
|
3848
3843
|
s.icon ? ($(), H("span", su, Me(s.icon), 1)) : se("", !0),
|
|
3849
|
-
M("span", null, Me(s.
|
|
3844
|
+
M("span", null, Me(s.label), 1)
|
|
3850
3845
|
], 10, iu)) : ($(), H("a", au, [
|
|
3851
3846
|
s.icon ? ($(), H("span", lu, Me(s.icon), 1)) : se("", !0),
|
|
3852
|
-
M("span", null, Me(s.
|
|
3847
|
+
M("span", null, Me(s.label), 1),
|
|
3853
3848
|
i[0] || (i[0] = M("div", { class: "sep" }, null, -1)),
|
|
3854
3849
|
M("span", {
|
|
3855
3850
|
class: Q([
|
|
@@ -3864,7 +3859,7 @@ const nu = { class: "panel-menu-wrapper" }, ru = ["data-active", "href", "onClic
|
|
|
3864
3859
|
]);
|
|
3865
3860
|
};
|
|
3866
3861
|
}
|
|
3867
|
-
}), Sm = /* @__PURE__ */ Ft(uu, [["__scopeId", "data-v-
|
|
3862
|
+
}), Sm = /* @__PURE__ */ Ft(uu, [["__scopeId", "data-v-66143c5e"]]), Ni = Symbol();
|
|
3868
3863
|
class cu {
|
|
3869
3864
|
get storedTheme() {
|
|
3870
3865
|
return localStorage.getItem("color-scheme");
|