@luizleon/sf.prefeiturasp.vuecomponents 0.0.9 → 0.0.10
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/components/internal/ThemeToggle.d.ts +11 -10
- package/dist/components/navmenulink/NavMenuLink.d.ts +1 -0
- package/dist/lib.es.js +5 -4
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +9 -9
- package/dist/lib.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/navmenulink/NavMenuLink.d.ts +1 -0
- package/src/components/navmenulink/NavMenuLink.vue +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
readonly ThemeToggleBase: {
|
|
3
|
+
readonly storedTheme: "light" | "dark" | null;
|
|
4
|
+
readonly IsDark: boolean;
|
|
5
|
+
Toggle(): void;
|
|
6
|
+
EnableDarkMode(): void;
|
|
7
|
+
EnableLightMode(): void;
|
|
8
|
+
SetInitialTheme(): void;
|
|
9
|
+
};
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
|
+
export default _sfc_main;
|
package/dist/lib.es.js
CHANGED
|
@@ -2668,7 +2668,8 @@ const wt = (() => new $s())(), qs = /* @__PURE__ */ Qr('<svg xmlns="http://www.w
|
|
|
2668
2668
|
props: {
|
|
2669
2669
|
href: {},
|
|
2670
2670
|
text: {},
|
|
2671
|
-
icon: {}
|
|
2671
|
+
icon: {},
|
|
2672
|
+
exact: { type: Boolean }
|
|
2672
2673
|
},
|
|
2673
2674
|
setup(c) {
|
|
2674
2675
|
const o = c, f = ln();
|
|
@@ -2683,12 +2684,12 @@ const wt = (() => new $s())(), qs = /* @__PURE__ */ Qr('<svg xmlns="http://www.w
|
|
|
2683
2684
|
to: o.href,
|
|
2684
2685
|
custom: ""
|
|
2685
2686
|
}, {
|
|
2686
|
-
default: an(({ href: M, navigate: h, isExactActive: K }) => [
|
|
2687
|
+
default: an(({ href: M, navigate: h, isExactActive: K, isActive: W }) => [
|
|
2687
2688
|
q("a", {
|
|
2688
2689
|
class: "sf-navmenulink",
|
|
2689
2690
|
href: M,
|
|
2690
|
-
"data-active": K,
|
|
2691
|
-
onClick: (
|
|
2691
|
+
"data-active": o.exact ? K : W,
|
|
2692
|
+
onClick: (Y) => y(Y, h)
|
|
2692
2693
|
}, [
|
|
2693
2694
|
o.icon ? (oe(), et(fn, {
|
|
2694
2695
|
key: 0,
|