@luizleon/sf.prefeiturasp.vuecomponents 0.0.51 → 0.0.52

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.
@@ -0,0 +1,9 @@
1
+ interface SfPanelMenuItem {
2
+ label: string;
3
+ routeName?: string;
4
+ url?: string;
5
+ icon?: string;
6
+ items?: SfPanelMenuItem[];
7
+ key?: string;
8
+ }
9
+ export { SfPanelMenuItem };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luizleon/sf.prefeiturasp.vuecomponents",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "type": "module",
5
5
  "main": "dist/sf.prefeiturasp.vuecomponents.umd.js",
6
6
  "module": "dist/sf.prefeiturasp.vuecomponents.es.js",
@@ -3,15 +3,7 @@ import { useRoute } from "vue-router";
3
3
  import PanelMenu, { PanelMenuExpandedKeys } from "primevue/panelmenu";
4
4
  import Icon from "./../icon/Icon.vue";
5
5
  import { Ref, computed, ref, watch } from "vue";
6
-
7
- export interface SfPanelMenuItem {
8
- label: string;
9
- routeName?: string;
10
- url?: string;
11
- icon?: string;
12
- items?: SfPanelMenuItem[];
13
- key?: string;
14
- }
6
+ import { SfPanelMenuItem } from "../../types";
15
7
 
16
8
  interface Menu extends SfPanelMenuItem {
17
9
  parentKey?: string;
package/src/index.ts CHANGED
@@ -8,7 +8,6 @@ import SfDrawer from "./components/drawer/Drawer.vue";
8
8
  import SfMessage from "./components/message/Message.vue";
9
9
  import SfTooltip from "./components/tooltip/Tooltip.vue";
10
10
  import SfPanelMenu from "./components/panelmenu/PanelMenu.vue";
11
- import SfPanelMenuItem from "./components/panelmenu/PanelMenu.vue";
12
11
  import { ThemeToggleBase } from "./components/internal/ThemeToggle";
13
12
 
14
13
  import { UseNavMenuService } from "./services/navMenuService";
@@ -40,9 +39,10 @@ export {
40
39
  UseAxiosClient,
41
40
  AppResult,
42
41
  AxiosClient,
43
- SfPanelMenuItem,
44
42
  };
45
43
 
44
+ export * from "./types";
45
+
46
46
  /**
47
47
  * Tema inicial
48
48
  */
@@ -0,0 +1,10 @@
1
+ interface SfPanelMenuItem {
2
+ label: string;
3
+ routeName?: string;
4
+ url?: string;
5
+ icon?: string;
6
+ items?: SfPanelMenuItem[];
7
+ key?: string;
8
+ }
9
+
10
+ export { SfPanelMenuItem };