@apptegy/nuxt-navigation 0.1.120 → 0.1.121

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/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "nuxt": ">=3.0.0"
5
5
  },
6
6
  "configKey": "@apptegy/nuxt-navigation",
7
- "version": "0.1.120",
7
+ "version": "0.1.121",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.1",
10
10
  "unbuild": "unknown"
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 };
@@ -9,13 +9,11 @@
9
9
  </div>
10
10
  <slot name="org-select" />
11
11
  <slot name="user-controls" />
12
- <div class="header__end">
13
- <slot name="searchbar" />
14
- <div class="user-control-actions">
15
- <div
16
- v-if="showNotifications"
17
- class="header__notifications"
18
- >
12
+ <div class="user-control-actions">
13
+ <div
14
+ v-if="showNotifications"
15
+ class="header__notifications"
16
+ >
19
17
  <Button
20
18
  type="button"
21
19
  severity="secondary"
@@ -138,7 +136,6 @@
138
136
  />
139
137
  </NuxtLink>
140
138
  </template>
141
- </div>
142
139
  </div>
143
140
  </header>
144
141
  </template>
@@ -316,18 +313,10 @@ header.header {
316
313
  background-color: var(--primary-white);
317
314
  font: var(--font-regular);
318
315
  }
319
- header.header .header__end {
320
- display: flex;
321
- align-items: center;
322
- justify-content: flex-end;
323
- gap: 24px;
324
- min-width: 0;
325
- }
326
316
  header.header .user-control-actions {
327
317
  display: flex;
328
318
  align-items: center;
329
319
  gap: 8px;
330
- flex-shrink: 0;
331
320
  }
332
321
  header.header .header__notifications {
333
322
  position: relative;
@@ -17,7 +17,7 @@ interface IUserDropdown {
17
17
  userDropdownOptions: Array<unknown>;
18
18
  }
19
19
  type __VLS_Props = IHeaderProps & IUserDropdown;
20
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_17: {};
20
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_15: {};
21
21
  type __VLS_Slots = {} & {
22
22
  breadcrumbs?: (props: typeof __VLS_1) => any;
23
23
  } & {
@@ -25,27 +25,9 @@ type __VLS_Slots = {} & {
25
25
  } & {
26
26
  'user-controls'?: (props: typeof __VLS_5) => any;
27
27
  } & {
28
- searchbar?: (props: typeof __VLS_7) => any;
29
- } & {
30
- notifications?: (props: typeof __VLS_17) => any;
28
+ notifications?: (props: typeof __VLS_15) => any;
31
29
  };
32
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
- "selected-option": (...args: any[]) => void;
34
- "user-logout": (...args: any[]) => void;
35
- "update:notifications": (...args: any[]) => void;
36
- "notifications-clear-all": (...args: any[]) => void;
37
- "notifications-dismiss": (...args: any[]) => void;
38
- "notifications-select": (...args: any[]) => void;
39
- "notification-click": (...args: any[]) => void;
40
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
41
- "onSelected-option"?: ((...args: any[]) => any) | undefined;
42
- "onUser-logout"?: ((...args: any[]) => any) | undefined;
43
- "onUpdate:notifications"?: ((...args: any[]) => any) | undefined;
44
- "onNotifications-clear-all"?: ((...args: any[]) => any) | undefined;
45
- "onNotifications-dismiss"?: ((...args: any[]) => any) | undefined;
46
- "onNotifications-select"?: ((...args: any[]) => any) | undefined;
47
- "onNotification-click"?: ((...args: any[]) => any) | undefined;
48
- }>, {
30
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
49
31
  notifications: INotificationsHeaderModel | null;
50
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
33
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -3,10 +3,10 @@ type __VLS_Props = {
3
3
  item: INotificationItem;
4
4
  };
5
5
  declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- select: (item: INotificationItem) => any;
7
6
  dismiss: (id: string) => any;
7
+ select: (item: INotificationItem) => any;
8
8
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onSelect?: ((item: INotificationItem) => any) | undefined;
10
9
  onDismiss?: ((id: string) => any) | undefined;
10
+ onSelect?: ((item: INotificationItem) => any) | undefined;
11
11
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;
@@ -13,11 +13,6 @@ type __VLS_Props = {
13
13
  mobile?: boolean;
14
14
  };
15
15
  declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
- select: (payload: {
17
- item: INotificationsPanelData["groups"][number]["notifications"][number];
18
- tabId: string;
19
- filterId: string;
20
- }) => any;
21
16
  "update:activeTabId": (id: string) => any;
22
17
  "update:activeFilterId": (id: string) => any;
23
18
  "update:filterCatalog": (filters: INotificationFilter[]) => any;
@@ -31,13 +26,13 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {},
31
26
  tabId: string;
32
27
  filterId: string;
33
28
  }) => any;
34
- close: () => any;
35
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
36
- onSelect?: ((payload: {
29
+ select: (payload: {
37
30
  item: INotificationsPanelData["groups"][number]["notifications"][number];
38
31
  tabId: string;
39
32
  filterId: string;
40
- }) => any) | undefined;
33
+ }) => any;
34
+ close: () => any;
35
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
41
36
  "onUpdate:activeTabId"?: ((id: string) => any) | undefined;
42
37
  "onUpdate:activeFilterId"?: ((id: string) => any) | undefined;
43
38
  "onUpdate:filterCatalog"?: ((filters: INotificationFilter[]) => any) | undefined;
@@ -51,6 +46,11 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {},
51
46
  tabId: string;
52
47
  filterId: string;
53
48
  }) => any) | undefined;
49
+ onSelect?: ((payload: {
50
+ item: INotificationsPanelData["groups"][number]["notifications"][number];
51
+ tabId: string;
52
+ filterId: string;
53
+ }) => any) | undefined;
54
54
  onClose?: (() => any) | undefined;
55
55
  }>, {
56
56
  loading: boolean;
@@ -7,6 +7,7 @@
7
7
  v-if="!collapsed"
8
8
  class="a-nav-section--link"
9
9
  :to="applicationUrl"
10
+ :target="application.target"
10
11
  :aria-label="appText"
11
12
  >
12
13
  <span v-if="expanded">{{ appText }}</span>
@@ -1,5 +1,5 @@
1
1
  export declare function useSidebar(): {
2
- state: import("vue").Ref<boolean, boolean>;
2
+ state: any;
3
3
  toggleSidebar: () => void;
4
4
  sidebarWidth: import("vue").ComputedRef<"264px" | "0px">;
5
5
  };
@@ -3,6 +3,7 @@ export interface IApplication {
3
3
  text: string;
4
4
  url: string;
5
5
  img_src: string;
6
+ target?: string;
6
7
  }
7
8
  export interface IUser {
8
9
  show: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.120",
3
+ "version": "0.1.121",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -36,19 +36,20 @@
36
36
  "primevue": "^4.2.5"
37
37
  },
38
38
  "devDependencies": {
39
- "@nuxt/devtools": "catalog:",
40
- "@nuxt/eslint-config": "catalog:",
41
- "@nuxt/module-builder": "catalog:",
42
- "@nuxt/schema": "catalog:",
43
- "@nuxt/test-utils": "catalog:",
44
- "@types/node": "catalog:",
45
- "eslint": "catalog:",
46
- "nuxt": "catalog:",
39
+ "@nuxt/devtools": "^2.6.2",
40
+ "@nuxt/eslint-config": "^1.6.0",
41
+ "@nuxt/module-builder": "^1.0.1",
42
+ "@nuxt/schema": "^3.17.0",
43
+ "@nuxt/test-utils": "^3.17.0",
44
+ "@types/node": "^22.0.0",
45
+ "eslint": "^9.31.0",
46
+ "nuxt": "^3.17.0",
47
47
  "primevue": "^4.5.4",
48
- "sass": "catalog:",
49
- "typescript": "catalog:",
50
- "vitest": "catalog:",
51
- "vue": "catalog:",
52
- "vue-tsc": "catalog:"
53
- }
48
+ "sass": "^1.89.2",
49
+ "typescript": "~5.8.0",
50
+ "vitest": "^3.2.4",
51
+ "vue": "^3.5.13",
52
+ "vue-tsc": "^3.0.3"
53
+ },
54
+ "gitHead": "82ad905c86fddf3e4037ae98571588d4915209d9"
54
55
  }