@xy-planning-network/trees 0.11.0-rc2 → 0.11.0-rc3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xy-planning-network/trees",
3
- "version": "0.11.0-rc2",
3
+ "version": "0.11.0-rc3",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "repository": "github:xy-planning-network/trees",
@@ -13,15 +13,15 @@ import {
13
13
  } from "@headlessui/vue"
14
14
  import { MenuAlt2Icon, XIcon } from "@heroicons/vue/outline"
15
15
  import { CogIcon } from "@heroicons/vue/solid"
16
- import * as NavTypes from "@/composables/nav"
16
+ import type { NavItem } from "@/composables/nav"
17
17
  import { ref } from "vue"
18
18
 
19
19
  const props = withDefaults(
20
20
  defineProps<{
21
21
  activeUrl?: string
22
22
  iconUrl: string
23
- navigation: NavTypes.Item[]
24
- userNavigation: NavTypes.Item[]
23
+ navigation: NavItem[]
24
+ userNavigation: NavItem[]
25
25
  }>(),
26
26
  {
27
27
  activeUrl: "",
@@ -11,7 +11,7 @@ import {
11
11
  MenuItems,
12
12
  } from "@headlessui/vue"
13
13
  import { MenuIcon, UserCircleIcon, XIcon } from "@heroicons/vue/outline"
14
- import * as NavTypes from "@/composables/nav"
14
+ import type { NavItem } from "@/composables/nav"
15
15
  import User from "@/composables/user"
16
16
 
17
17
  const props = withDefaults(
@@ -19,8 +19,8 @@ const props = withDefaults(
19
19
  activeUrl?: string
20
20
  currentUser: User
21
21
  iconUrl: string
22
- navigation: NavTypes.Item[]
23
- userNavigation: NavTypes.Item[]
22
+ navigation: NavItem[]
23
+ userNavigation: NavItem[]
24
24
  }>(),
25
25
  {
26
26
  activeUrl: "",
@@ -8,8 +8,8 @@ import { useFlashes, useAppFlashes, useAppFlasher } from "./useFlashes";
8
8
  import type { FlashMessage, FlashType, FlashStore, Flasher } from "./useFlashes";
9
9
  export type { FlashMessage, FlashType, FlashStore, Flasher };
10
10
  export { useFlashes, useAppFlashes, useAppFlasher };
11
- import type { URLParams, URLParamValue, UseTabHistoryOpts } from "./nav";
12
- export type { URLParams, URLParamValue, UseTabHistoryOpts };
11
+ import type { ActionItem, NavItem, Pagination, URLParams, URLParamValue, UseTabHistoryOpts } from "./nav";
12
+ export type { ActionItem, NavItem, Pagination, URLParams, URLParamValue, UseTabHistoryOpts, };
13
13
  import { useUrlSearchParams, useTabHistory } from "./nav";
14
14
  export { useUrlSearchParams, useTabHistory };
15
15
  import { useSpinnerDisplay, useAppSpinner } from "./useSpinner";
@@ -1,5 +1,5 @@
1
1
  import { Component, FunctionalComponent, MaybeRef, Ref, RenderFunction } from "vue";
2
- export interface Item {
2
+ export interface NavItem {
3
3
  icon?: Component | RenderFunction;
4
4
  name: string;
5
5
  openInTab?: boolean;
@@ -1,14 +1,14 @@
1
- import * as NavTypes from "../../composables/nav";
1
+ import type { NavItem } from "../../composables/nav";
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  activeUrl?: string | undefined;
4
4
  iconUrl: string;
5
- navigation: NavTypes.Item[];
6
- userNavigation: NavTypes.Item[];
5
+ navigation: NavItem[];
6
+ userNavigation: NavItem[];
7
7
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
8
8
  activeUrl?: string | undefined;
9
9
  iconUrl: string;
10
- navigation: NavTypes.Item[];
11
- userNavigation: NavTypes.Item[];
10
+ navigation: NavItem[];
11
+ userNavigation: NavItem[];
12
12
  }> & Readonly<{}>, {
13
13
  activeUrl: string;
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -1,17 +1,17 @@
1
- import * as NavTypes from "../../composables/nav";
1
+ import type { NavItem } from "../../composables/nav";
2
2
  import User from "../../composables/user";
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  activeUrl?: string | undefined;
5
5
  currentUser: User;
6
6
  iconUrl: string;
7
- navigation: NavTypes.Item[];
8
- userNavigation: NavTypes.Item[];
7
+ navigation: NavItem[];
8
+ userNavigation: NavItem[];
9
9
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
10
10
  activeUrl?: string | undefined;
11
11
  currentUser: User;
12
12
  iconUrl: string;
13
- navigation: NavTypes.Item[];
14
- userNavigation: NavTypes.Item[];
13
+ navigation: NavItem[];
14
+ userNavigation: NavItem[];
15
15
  }> & Readonly<{}>, {
16
16
  activeUrl: string;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {