@luizleon/sf.prefeiturasp.vuecomponents 0.0.5 → 0.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/components/internal/ThemeToggle.d.ts +11 -8
- package/dist/components/tabnavigation/TabNavigation.d.ts +6 -1
- package/dist/lib.es.js +8 -4
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +1 -1
- package/dist/lib.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/tabnavigation/TabNavigation.d.ts +6 -1
- package/src/components/tabnavigation/TabNavigation.vue +10 -7
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
declare class ThemeToggle {
|
|
2
|
+
get storedTheme(): "light" | "dark" | null;
|
|
3
|
+
get IsDark(): boolean;
|
|
4
|
+
Toggle(): void;
|
|
5
|
+
EnableDarkMode(): void;
|
|
6
|
+
EnableLightMode(): void;
|
|
7
|
+
SetInitialTheme(): void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ThemeToggleBase: ThemeToggle;
|
|
10
|
+
export {};
|
|
11
|
+
SetInitialTheme(): void;
|
|
9
12
|
};
|
|
10
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
14
|
export default _sfc_main;
|
|
@@ -3,8 +3,13 @@ import {
|
|
|
3
3
|
GlobalComponentConstructor,
|
|
4
4
|
} from "../../ts-helpers";
|
|
5
5
|
|
|
6
|
+
export interface SfTabNavigationTab {
|
|
7
|
+
text: string;
|
|
8
|
+
route: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
6
11
|
export interface SfTabNavigationProps {
|
|
7
|
-
tabs:
|
|
12
|
+
tabs: SfTabNavigationTab[];
|
|
8
13
|
}
|
|
9
14
|
|
|
10
15
|
export interface SfTabNavigationSlots {
|
package/dist/lib.es.js
CHANGED
|
@@ -2752,10 +2752,14 @@ const ThemeToggleBase = (() => new ThemeToggle())(), _hoisted_1$3 = /* @__PURE__
|
|
|
2752
2752
|
return onMounted(() => {
|
|
2753
2753
|
u.value.addEventListener("scroll", h), f.observe(u.value);
|
|
2754
2754
|
}), onBeforeUnmount(() => {
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2755
|
+
var x;
|
|
2756
|
+
try {
|
|
2757
|
+
(x = u.value) == null || x.removeEventListener(
|
|
2758
|
+
"scroll",
|
|
2759
|
+
h
|
|
2760
|
+
), f.unobserve(u.value), f.disconnect();
|
|
2761
|
+
} catch {
|
|
2762
|
+
}
|
|
2759
2763
|
}), (x, B) => {
|
|
2760
2764
|
const U = resolveComponent("RouterLink");
|
|
2761
2765
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|