@omnia/fx 8.0.68-vnext → 8.0.70-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.
@@ -6,6 +6,7 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
6
6
  blades: BladeInstance[];
7
7
  activeIndex: number;
8
8
  nested: boolean;
9
+ disabledSave: boolean;
9
10
  journeyMenuStore: {
10
11
  state: {
11
12
  menuItems: import("@omnia/fx-models").JourneyMenuItem[];
@@ -29,22 +30,26 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
29
30
  };
30
31
  };
31
32
  get: {
32
- stateManager: <T>() => {
33
- state: {};
33
+ shareds: <T>() => Omit<{
34
+ state: import("vue").Ref<import("vue").UnwrapRef<T>>;
34
35
  get: {
35
36
  state: () => import("vue").UnwrapRef<T>;
36
37
  };
37
38
  actions: {
38
- setState: (state: T) => import("vue").UnwrapRef<T>;
39
+ setState: (value: T) => T;
40
+ };
41
+ events: {
42
+ onMutatingValue: import("@omnia/fx").EventHook<import("vue").UnwrapRef<T>>;
43
+ onMutatedValue: import("@omnia/fx").EventHook<import("vue").UnwrapRef<T>>;
39
44
  };
40
- events: {};
41
45
  deactivated(): void;
42
- };
46
+ }, "state" | "deactivated">;
43
47
  blade: (id: string) => BladeInstance;
44
48
  showBackButton: (bladeId: string) => boolean;
45
49
  readonly isNested: boolean;
46
50
  };
47
51
  actions: {
52
+ createObservableDataToSave: <T_1>(value: T_1) => T_1;
48
53
  addBlade: (blade: BladeInstance) => void;
49
54
  removeBlade: (blade: BladeInstance) => void;
50
55
  setActiveIndex: (index: number) => void;
@@ -60,6 +65,8 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
60
65
  onMutatedActiveIndex: import("@omnia/fx").EventHook<number>;
61
66
  onMutatingNested: import("@omnia/fx").EventHook<boolean>;
62
67
  onMutatedNested: import("@omnia/fx").EventHook<boolean>;
68
+ onMutatingDisabledSave: import("@omnia/fx").EventHook<boolean>;
69
+ onMutatedDisabledSave: import("@omnia/fx").EventHook<boolean>;
63
70
  onMutatingJourneyMenuStore: import("@omnia/fx").EventHook<{
64
71
  state: {
65
72
  menuItems: import("@omnia/fx-models").JourneyMenuItem[];
@@ -106,14 +113,17 @@ export declare const useJourneyStore: (newInstanceWithName?: string) => {
106
113
  deactivated(): void;
107
114
  };
108
115
  declare function createJourneyStateManager<T extends Object>(): {
109
- state: {};
116
+ state: import("vue").Ref<import("vue").UnwrapRef<T>>;
110
117
  get: {
111
118
  state: () => import("vue").UnwrapRef<T>;
112
119
  };
113
120
  actions: {
114
- setState: (state: T) => import("vue").UnwrapRef<T>;
121
+ setState: (value: T) => T;
122
+ };
123
+ events: {
124
+ onMutatingValue: import("@omnia/fx").EventHook<import("vue").UnwrapRef<T>>;
125
+ onMutatedValue: import("@omnia/fx").EventHook<import("vue").UnwrapRef<T>>;
115
126
  };
116
- events: {};
117
127
  deactivated(): void;
118
128
  };
119
129
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.68-vnext",
4
+ "version": "8.0.70-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.68-vnext",
23
+ "@omnia/fx-models": "8.0.70-vnext",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.10.7",