@omnia/fx 8.0.73-vnext → 8.0.74-vnext

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.
@@ -1,4 +1,5 @@
1
1
  import { IIcon, JourneyMenuItem } from "@omnia/fx-models";
2
+ import { VNode } from "vue";
2
3
  declare const _default: {
3
4
  new (...args: any[]): {
4
5
  $: import("vue").ComponentInternalInstance;
@@ -12,46 +13,47 @@ declare const _default: {
12
13
  ref?: import("vue").VNodeRef;
13
14
  ref_for?: boolean;
14
15
  ref_key?: string;
15
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
+ onVnodeBeforeMount?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
17
  [key: string]: any;
17
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
18
19
  [key: string]: any;
19
20
  }>) => void)[];
20
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ onVnodeMounted?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
22
  [key: string]: any;
22
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
24
  [key: string]: any;
24
25
  }>) => void)[];
25
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
+ onVnodeBeforeUpdate?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
27
  [key: string]: any;
27
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ }>, oldVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
29
  [key: string]: any;
29
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
31
  [key: string]: any;
31
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
+ }>, oldVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
33
  [key: string]: any;
33
34
  }>) => void)[];
34
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ onVnodeUpdated?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
36
  [key: string]: any;
36
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
+ }>, oldVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
38
  [key: string]: any;
38
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
40
  [key: string]: any;
40
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
+ }>, oldVNode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
42
  [key: string]: any;
42
43
  }>) => void)[];
43
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
+ onVnodeBeforeUnmount?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
45
  [key: string]: any;
45
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
47
  [key: string]: any;
47
48
  }>) => void)[];
48
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ onVnodeUnmounted?: ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
50
  [key: string]: any;
50
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
+ }>) => void) | ((vnode: VNode<import("vue").RendererNode, import("vue").RendererElement, {
51
52
  [key: string]: any;
52
53
  }>) => void)[];
53
54
  readonly icon?: IIcon;
54
55
  readonly items?: JourneyMenuItem[];
56
+ readonly selectedNodeRenderer?: (selected: JourneyMenuItem) => VNode;
55
57
  onItemSelected?: (item: JourneyMenuItem) => any;
56
58
  };
57
59
  $attrs: {
@@ -68,6 +70,9 @@ declare const _default: {
68
70
  $emit: (event: "itemSelected", item: JourneyMenuItem) => void;
69
71
  $el: any;
70
72
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
73
+ selectedNodeRenderer: {
74
+ type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
75
+ };
71
76
  items: {
72
77
  type: import("vue").PropType<JourneyMenuItem[]>;
73
78
  required: false;
@@ -106,6 +111,9 @@ declare const _default: {
106
111
  $nextTick: typeof import("vue").nextTick;
107
112
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
108
113
  } & Readonly<import("vue").ExtractPropTypes<{
114
+ selectedNodeRenderer: {
115
+ type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
116
+ };
109
117
  items: {
110
118
  type: import("vue").PropType<JourneyMenuItem[]>;
111
119
  required: false;
@@ -126,6 +134,9 @@ declare const _default: {
126
134
  __isTeleport?: never;
127
135
  __isSuspense?: never;
128
136
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
137
+ selectedNodeRenderer: {
138
+ type: import("vue").PropType<(selected: JourneyMenuItem) => VNode>;
139
+ };
129
140
  items: {
130
141
  type: import("vue").PropType<JourneyMenuItem[]>;
131
142
  required: false;
@@ -149,6 +160,7 @@ declare const _default: {
149
160
  id?: string;
150
161
  icon?: IIcon;
151
162
  items?: JourneyMenuItem[];
163
+ selectedNodeRenderer?: (selected: JourneyMenuItem) => VNode;
152
164
  }>, "onItemSelected"> & {
153
165
  onItemSelected?: (item: JourneyMenuItem) => any;
154
166
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.73-vnext",
4
+ "version": "8.0.74-vnext",
5
5
  "description": "Provide Omnia Fx typings and tooling for clientside Omnia development.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@
20
20
  ],
21
21
  "author": "Precio Fishbone",
22
22
  "dependencies": {
23
- "@omnia/fx-models": "8.0.73-vnext",
23
+ "@omnia/fx-models": "8.0.74-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",