@apptegy/nuxt-navigation 0.1.81 → 0.1.82

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.
Files changed (25) hide show
  1. package/dist/module.json +2 -2
  2. package/dist/module.mjs +2 -2
  3. package/dist/runtime/components/Nav/Avatar.vue.d.ts +2 -1
  4. package/dist/runtime/components/Nav/Breadcrumb.vue.d.ts +5 -4
  5. package/dist/runtime/components/Nav/Header.vue.d.ts +9 -2
  6. package/dist/runtime/components/Nav/HelpArticles.vue.d.ts +2 -1
  7. package/dist/runtime/components/Nav/Icons/ApptegyLogo.vue.d.ts +3 -2
  8. package/dist/runtime/components/Nav/Icons/Pinned.vue.d.ts +2 -1
  9. package/dist/runtime/components/Nav/Icons/SidebarToggle.vue.d.ts +2 -1
  10. package/dist/runtime/components/Nav/Icons/ThrillshareLogo.vue.d.ts +2 -1
  11. package/dist/runtime/components/Nav/Icons/Unpinned.vue.d.ts +2 -1
  12. package/dist/runtime/components/Nav/Icons/UserDropdownMenu.vue.d.ts +2 -1
  13. package/dist/runtime/components/Nav/ImpersonateInfoPanel.vue.d.ts +2 -1
  14. package/dist/runtime/components/Nav/OrgSelect.vue +16 -6
  15. package/dist/runtime/components/Nav/OrgSelect.vue.d.ts +2 -1
  16. package/dist/runtime/components/Nav/Sidebar.vue +18 -7
  17. package/dist/runtime/components/Nav/Sidebar.vue.d.ts +8 -7
  18. package/dist/runtime/components/Nav/SidebarItem.vue.d.ts +6 -5
  19. package/dist/runtime/components/Nav/SidebarSection.vue.d.ts +5 -4
  20. package/dist/runtime/components/Nav/SidebarToggle.vue.d.ts +2 -1
  21. package/dist/runtime/components/Nav/SubMenu.vue.d.ts +3 -2
  22. package/dist/runtime/components/Nav/SubMenuItem.vue.d.ts +6 -5
  23. package/dist/runtime/components/Nav/UserDropdown.vue.d.ts +2 -1
  24. package/dist/runtime/composables/useDropdown.d.ts +1 -1
  25. package/package.json +2 -2
package/dist/module.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "nuxt": ">=3.0.0"
5
5
  },
6
6
  "configKey": "@apptegy/nuxt-navigation",
7
- "version": "0.1.81",
7
+ "version": "0.1.82",
8
8
  "builder": {
9
- "@nuxt/module-builder": "1.0.1",
9
+ "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "unknown"
11
11
  }
12
12
  }
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { defineNuxtModule, createResolver, addComponentsDir, addImportsDir } from '@nuxt/kit';
2
2
 
3
- const module = defineNuxtModule({
3
+ const module$1 = defineNuxtModule({
4
4
  meta: {
5
5
  name: "@apptegy/nuxt-navigation",
6
6
  compatibility: {
@@ -22,4 +22,4 @@ const module = defineNuxtModule({
22
22
  }
23
23
  });
24
24
 
25
- export { module as default };
25
+ export { module$1 as default };
@@ -8,5 +8,6 @@ interface IAvatarProps {
8
8
  */
9
9
  name: string;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<IAvatarProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: import("vue").DefineComponent<IAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
@@ -1,9 +1,10 @@
1
- declare var __VLS_7: {};
1
+ declare var __VLS_8: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_7) => any;
3
+ default?: (props: typeof __VLS_8) => any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
@@ -21,8 +21,15 @@ type __VLS_Slots = {} & {
21
21
  } & {
22
22
  'user-controls'?: (props: typeof __VLS_5) => any;
23
23
  };
24
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
24
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "selected-option": (...args: any[]) => void;
26
+ "user-logout": (...args: any[]) => void;
27
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ "onSelected-option"?: ((...args: any[]) => any) | undefined;
29
+ "onUser-logout"?: ((...args: any[]) => any) | undefined;
30
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
26
33
  export default _default;
27
34
  type __VLS_WithSlots<T, S> = T & {
28
35
  new (): {
@@ -5,10 +5,11 @@ interface IHelpArticlesProps {
5
5
  showHelpArticles: boolean;
6
6
  collapsed: boolean;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<IHelpArticlesProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IHelpArticlesProps> & Readonly<{}>, {
8
+ declare const __VLS_export: import("vue").DefineComponent<IHelpArticlesProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IHelpArticlesProps> & Readonly<{}>, {
9
9
  helpArticleOptions: Array<unknown>;
10
10
  settingsRoute: string;
11
11
  schoolWebsite: string;
12
12
  showHelpArticles: boolean;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -1,9 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  useLightLogo: {
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
7
  useLightLogo: {
8
8
  type: BooleanConstructor;
9
9
  default: boolean;
@@ -11,4 +11,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
11
11
  }>> & Readonly<{}>, {
12
12
  useLightLogo: boolean;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ declare const _default: typeof __VLS_export;
14
15
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -8,5 +8,6 @@ interface ImpersonatedUser {
8
8
  interface IPanelProps {
9
9
  impersonatedUser: ImpersonatedUser;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<IPanelProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: import("vue").DefineComponent<IPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
12
13
  export default _default;
@@ -1,5 +1,5 @@
1
1
  <script setup>
2
- import { useDropdown, useNuxtApp, useAppConfig, computed, ref, watch } from "#imports";
2
+ import { useDropdown, useNuxtApp, useAppConfig, computed, ref, watch, onBeforeUpdate } from "#imports";
3
3
  import { vOnClickOutside } from "@vueuse/components";
4
4
  const { $t } = useNuxtApp();
5
5
  const appConfig = useAppConfig();
@@ -7,7 +7,7 @@ const zIndex = computed(() => appConfig?.navigation?.zIndex || 100);
7
7
  const emit = defineEmits(["update:model-value"]);
8
8
  const dropdownTriggerRef = ref();
9
9
  const inputRef = ref();
10
- const optionRef = ref();
10
+ const optionRefs = ref([]);
11
11
  const props = defineProps({
12
12
  orgs: { type: Array, required: true },
13
13
  modelValue: { type: Number, required: true }
@@ -29,7 +29,7 @@ const {
29
29
  keydownActionsOnTrigger,
30
30
  handleKeydown,
31
31
  handleDropdownSearch
32
- } = useDropdown(props.orgs, optionRef, inputRef, {
32
+ } = useDropdown(props.orgs, optionRefs, inputRef, {
33
33
  searchable: true,
34
34
  trackBy: "name"
35
35
  });
@@ -50,7 +50,17 @@ const highlightedOrg = computed(() => {
50
50
  }
51
51
  return null;
52
52
  });
53
+ onBeforeUpdate(() => {
54
+ optionRefs.value = [];
55
+ });
56
+ function setOptionRef(el, option) {
57
+ if (el) {
58
+ const index = props.orgs.findIndex((org) => org.id === option.id);
59
+ optionRefs.value[index] = el;
60
+ }
61
+ }
53
62
  function handleSelectedOrg($event, orgId) {
63
+ const orgIndex = props.orgs.findIndex((org) => org.id === orgId);
54
64
  if ($event.type == "click") {
55
65
  localSelectedOrgId.value = orgId;
56
66
  emit("update:model-value", orgId);
@@ -61,7 +71,7 @@ function handleSelectedOrg($event, orgId) {
61
71
  localSelectedOrgId.value = orgId;
62
72
  emit("update:model-value", orgId);
63
73
  }
64
- handleKeydown(keyEvent, orgId);
74
+ handleKeydown(keyEvent, orgIndex);
65
75
  }
66
76
  }
67
77
  </script>
@@ -110,7 +120,7 @@ function handleSelectedOrg($event, orgId) {
110
120
  <div
111
121
  v-for="option in sortedOrgs"
112
122
  :key="option.id"
113
- ref="optionRef"
123
+ :ref="(el) => setOptionRef(el, option)"
114
124
  v-on-click-outside="onClickOutsideHandler"
115
125
  role="option"
116
126
  class="org-option"
@@ -119,7 +129,7 @@ function handleSelectedOrg($event, orgId) {
119
129
  highlighted: highlightedOrg && option.id === highlightedOrg.id
120
130
  }"
121
131
  :aria-selected="option.id === localSelectedOrgId"
122
- tabindex="-1"
132
+ tabindex="0"
123
133
  @keydown="handleSelectedOrg($event, option.id)"
124
134
  @click="handleSelectedOrg($event, option.id)"
125
135
  >
@@ -8,9 +8,10 @@ interface IOrgSelectProps {
8
8
  orgs: Array<IOrg>;
9
9
  modelValue: number;
10
10
  }
11
- declare const _default: import("vue").DefineComponent<IOrgSelectProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare const __VLS_export: import("vue").DefineComponent<IOrgSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
12
  "update:model-value": (index: number) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<IOrgSelectProps> & Readonly<{
14
14
  "onUpdate:model-value"?: ((index: number) => any) | undefined;
15
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;
@@ -44,7 +44,7 @@
44
44
  <button v-if="!lockedExpanded && allowCollapse && expanded" class="hamburger-button" @click="lockSidebar" v-tooltip.bottom="'Pin menu open'">
45
45
  <Unpinned />
46
46
  </button>
47
- <button v-if="!lockedExpanded && allowCollapse && !expanded" class="hamburger-button">
47
+ <button v-if="!lockedExpanded && allowCollapse && !expanded" ref="hamburgerButtonRef" class="hamburger-button">
48
48
  <a-icon icon="24:hamburger" />
49
49
  </button>
50
50
  </div>
@@ -93,7 +93,7 @@
93
93
  </template>
94
94
 
95
95
  <script setup>
96
- import { useSidebar, useBranding, useNuxtApp, ref, watch, computed, onMounted, onBeforeUnmount } from "#imports";
96
+ import { useSidebar, useBranding, useNuxtApp, ref, watch, computed, onMounted, onBeforeUnmount, nextTick } from "#imports";
97
97
  import ApptegyLogo from "./Icons/ApptegyLogo.vue";
98
98
  import { useBreakpoints, breakpointsTailwind } from "@vueuse/core";
99
99
  import Unpinned from "./Icons/Unpinned.vue";
@@ -139,6 +139,8 @@ const isMobile = breakpoints.smaller("md");
139
139
  const lockedExpanded = ref(true);
140
140
  const allowCollapse = ref(false);
141
141
  let focusOutTimeout = null;
142
+ const hamburgerButtonRef = ref(null);
143
+ let ignoreNextFocusIn = false;
142
144
  function updateBrandLogoWidth() {
143
145
  brandLogoWidthPx.value = brandLogoRef.value?.clientWidth ?? 0;
144
146
  }
@@ -180,6 +182,10 @@ function onHoverLeave() {
180
182
  }
181
183
  }
182
184
  function onFocusEnter() {
185
+ if (ignoreNextFocusIn) {
186
+ ignoreNextFocusIn = false;
187
+ return;
188
+ }
183
189
  if (focusOutTimeout) {
184
190
  clearTimeout(focusOutTimeout);
185
191
  focusOutTimeout = null;
@@ -196,10 +202,15 @@ function onFocusLeave() {
196
202
  focusOutTimeout = null;
197
203
  }, 100);
198
204
  }
199
- function closeSidebar() {
205
+ async function closeSidebar() {
200
206
  expanded.value = false;
201
207
  lockedExpanded.value = false;
202
208
  allowCollapse.value = true;
209
+ ignoreNextFocusIn = true;
210
+ await nextTick();
211
+ if (hamburgerButtonRef.value) {
212
+ hamburgerButtonRef.value.focus();
213
+ }
203
214
  }
204
215
  function lockSidebar() {
205
216
  lockedExpanded.value = true;
@@ -262,15 +273,15 @@ function lockSidebar() {
262
273
  .navbar--header .header-actions.collapsed {
263
274
  justify-content: center;
264
275
  }
276
+ .navbar--logo.big-logo {
277
+ flex-direction: column;
278
+ align-items: flex-start;
279
+ }
265
280
  .navbar--logo {
266
281
  display: flex;
267
282
  align-items: center;
268
283
  gap: 8px;
269
284
  }
270
- .navbar--logo.big-logo {
271
- flex-direction: column;
272
- align-items: flex-start;
273
- }
274
285
  .navbar--logo .school-name {
275
286
  font-size: 16px;
276
287
  font-style: normal;
@@ -21,17 +21,17 @@ interface ISidebarProps {
21
21
  schoolWebsite: string;
22
22
  showCollapseButton?: boolean;
23
23
  }
24
- declare var __VLS_6: {}, __VLS_26: {}, __VLS_33: {}, __VLS_45: {};
24
+ declare var __VLS_7: {}, __VLS_29: {}, __VLS_37: {}, __VLS_49: {};
25
25
  type __VLS_Slots = {} & {
26
- logo?: (props: typeof __VLS_6) => any;
26
+ logo?: (props: typeof __VLS_7) => any;
27
27
  } & {
28
- switcher?: (props: typeof __VLS_26) => any;
28
+ switcher?: (props: typeof __VLS_29) => any;
29
29
  } & {
30
- default?: (props: typeof __VLS_33) => any;
30
+ default?: (props: typeof __VLS_37) => any;
31
31
  } & {
32
- logo?: (props: typeof __VLS_45) => any;
32
+ logo?: (props: typeof __VLS_49) => any;
33
33
  };
34
- declare const __VLS_component: import("vue").DefineComponent<ISidebarProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
+ declare const __VLS_base: import("vue").DefineComponent<ISidebarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
35
35
  "toggle-expand": (width: number) => any;
36
36
  }, string, import("vue").PublicProps, Readonly<ISidebarProps> & Readonly<{
37
37
  "onToggle-expand"?: ((width: number) => any) | undefined;
@@ -52,7 +52,8 @@ declare const __VLS_component: import("vue").DefineComponent<ISidebarProps, void
52
52
  isAdmin: boolean;
53
53
  showCollapseButton: boolean;
54
54
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
55
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
55
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
56
+ declare const _default: typeof __VLS_export;
56
57
  export default _default;
57
58
  type __VLS_WithSlots<T, S> = T & {
58
59
  new (): {
@@ -4,14 +4,15 @@ type __VLS_Props = {
4
4
  as?: string;
5
5
  name?: string;
6
6
  };
7
- declare var __VLS_7: {}, __VLS_14: {};
7
+ declare var __VLS_8: {}, __VLS_15: {};
8
8
  type __VLS_Slots = {} & {
9
- icon?: (props: typeof __VLS_7) => any;
9
+ icon?: (props: typeof __VLS_8) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_14) => any;
11
+ default?: (props: typeof __VLS_15) => any;
12
12
  };
13
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
15
16
  export default _default;
16
17
  type __VLS_WithSlots<T, S> = T & {
17
18
  new (): {
@@ -4,12 +4,13 @@ type __VLS_Props = {
4
4
  active: boolean;
5
5
  collapsed: boolean;
6
6
  };
7
- declare var __VLS_22: {};
7
+ declare var __VLS_21: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_22) => any;
9
+ default?: (props: typeof __VLS_21) => any;
10
10
  };
11
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
13
14
  export default _default;
14
15
  type __VLS_WithSlots<T, S> = T & {
15
16
  new (): {
@@ -1,2 +1,3 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
@@ -2,8 +2,9 @@ declare var __VLS_1: {};
2
2
  type __VLS_Slots = {} & {
3
3
  default?: (props: typeof __VLS_1) => any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  type __VLS_WithSlots<T, S> = T & {
9
10
  new (): {
@@ -1,19 +1,20 @@
1
- declare var __VLS_12: {};
1
+ declare var __VLS_13: {};
2
2
  type __VLS_Slots = {} & {
3
- default?: (props: typeof __VLS_12) => any;
3
+ default?: (props: typeof __VLS_13) => any;
4
4
  };
5
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  icon: {
7
7
  type: StringConstructor;
8
8
  required: true;
9
9
  };
10
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
11
  icon: {
12
12
  type: StringConstructor;
13
13
  required: true;
14
14
  };
15
15
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
18
19
  type __VLS_WithSlots<T, S> = T & {
19
20
  new (): {
@@ -9,9 +9,10 @@ interface IUserDropdown {
9
9
  url: string;
10
10
  }>;
11
11
  }
12
- declare const _default: import("vue").DefineComponent<IUserDropdown, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ declare const __VLS_export: import("vue").DefineComponent<IUserDropdown, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  "select-option": (index: number) => any;
14
14
  }, string, import("vue").PublicProps, Readonly<IUserDropdown> & Readonly<{
15
15
  "onSelect-option"?: ((index: number) => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -14,6 +14,6 @@ export declare function useDropdown(options: Array<OptionItem>, dropdownOptionsR
14
14
  keydownActionsOnTrigger: (event: KeyboardEvent) => void;
15
15
  handleKeydown: (event: KeyboardEvent, index: number) => number | undefined;
16
16
  handleDropdownSearch: (inputValue: Event) => void;
17
- debouncedFocus: import("@vueuse/core").PromisifyFn<(idx: number) => void>;
17
+ debouncedFocus: import("@vueuse/core").UseDebounceFnReturn<(idx: number) => void>;
18
18
  };
19
19
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.81",
3
+ "version": "0.1.82",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -46,5 +46,5 @@
46
46
  "vue": "^3.5.13",
47
47
  "vue-tsc": "^3.0.3"
48
48
  },
49
- "gitHead": "de3fb4f51bb236aaf3bfa98134b73e5ee4f0fbc0"
49
+ "gitHead": "fd88eb4304ee5ffabf4e2e0c0417ff142c021cc8"
50
50
  }