@omnia/fx 8.0.188-dev → 8.0.189-dev
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/internal-do-not-import-from-here/ux/aurora/components/backgroundstyle/BackgroundStyleEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/borderpicker/BorderPicker.d.ts +6 -1
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonBlueprintsViewer.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStyleEditor.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/components/buttonstyle/ButtonStylePicker.d.ts +16 -8
- package/internal-do-not-import-from-here/ux/aurora/components/fillpicker/FillPicker.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/ComponentBlueprintStore.d.ts +2 -2
- package/internal-do-not-import-from-here/ux/aurora/store/SpacingBlueprintStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeContextStore.d.ts +12 -12
- package/internal-do-not-import-from-here/ux/aurora/store/ThemeStoreV2.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/aurora/store/TypographyBlueprintStore.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/journey/Journey.css.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/models/Constants.d.ts +1 -1
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +100 -122
- package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorAction.d.ts +69 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorActionSettings.d.ts +56 -0
- package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorClickHandler.d.ts +1 -0
- package/internal-do-not-import-from-here/ux/oxide/dialog/Dialog.d.ts +21 -0
- package/internal-do-not-import-from-here/ux/oxide/draggable/Draggable.d.ts +50 -310
- package/internal-do-not-import-from-here/ux/oxide/list/ListItem.d.ts +6 -6
- package/internal-do-not-import-from-here/ux/profilecard/ProfileCard.d.ts +1 -1
- package/internal-do-not-import-from-here/wctypings.d.ts +30 -6
- package/package.json +2 -2
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { MessageBusExposeOnlySubscription } from "@omnia/fx";
|
2
|
+
import { GuidValue, IMessageBusSubscriptionHandler } from "@omnia/fx-models";
|
2
3
|
import { BladeInstance, defineBlade } from "@omnia/fx/ux";
|
3
4
|
import { BladeSizeTypes } from "../models/Constants";
|
4
5
|
import { JourneyVariant } from "../Journey.css";
|
@@ -7,6 +8,66 @@ interface BladeRenderRegistration {
|
|
7
8
|
bladeDefinition: ReturnType<typeof defineBlade>;
|
8
9
|
id: GuidValue;
|
9
10
|
}
|
11
|
+
type MapActionOnDispatching<T extends Function> = T extends (...args: infer U) => any ? (...args: U) => void : never;
|
12
|
+
type MapActionOnDispatched<T extends Function> = T extends (...args: infer U) => Promise<infer Y> | infer Y ? (result: Y, ...args: U) => void : never;
|
13
|
+
type MapActionOnFailure<T extends Function> = T extends (...args: infer U) => any ? (failureReason: any, ...args: U) => void : never;
|
14
|
+
type ReturnDefineAction<TAction extends {
|
15
|
+
[key: string]: any;
|
16
|
+
}> = {
|
17
|
+
onDispatching: {
|
18
|
+
[k in keyof TAction]: {
|
19
|
+
subscribe(fn: MapActionOnDispatching<TAction[k]>): IMessageBusSubscriptionHandler;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
onDispatched: {
|
23
|
+
[k in keyof TAction]: {
|
24
|
+
subscribe(fn: MapActionOnDispatched<TAction[k]>): IMessageBusSubscriptionHandler;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
onFailure: {
|
28
|
+
[k in keyof TAction]: {
|
29
|
+
subscribe(fn: MapActionOnFailure<TAction[k]>): IMessageBusSubscriptionHandler;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
} & TAction;
|
33
|
+
type Events<TState extends object> = {
|
34
|
+
[K in keyof TState as `onMutated${Capitalize<string & K>}`]: MessageBusExposeOnlySubscription<TState[K]>;
|
35
|
+
};
|
36
|
+
export type InternalJourneyStoreType = {
|
37
|
+
state: {
|
38
|
+
blades: Array<BladeInstance>;
|
39
|
+
bladeRenderers: Array<BladeRenderRegistration>;
|
40
|
+
variant: JourneyVariant;
|
41
|
+
compactMode: boolean;
|
42
|
+
activeIndex: number;
|
43
|
+
nested: boolean;
|
44
|
+
};
|
45
|
+
events: Events<{
|
46
|
+
blades: Array<BladeInstance>;
|
47
|
+
bladeRenderers: Array<BladeRenderRegistration>;
|
48
|
+
variant: JourneyVariant;
|
49
|
+
compactMode: boolean;
|
50
|
+
activeIndex: number;
|
51
|
+
nested: boolean;
|
52
|
+
}>;
|
53
|
+
actions: ReturnDefineAction<{
|
54
|
+
moveNext(fromBladeId: GuidValue): void;
|
55
|
+
movePrev(fromBladeId: GuidValue): void;
|
56
|
+
travelTo(fromBladeId: GuidValue, toBladeId: GuidValue): void;
|
57
|
+
addBlade(newBlade: BladeInstance): void;
|
58
|
+
removeBlade(blade: BladeInstance): void;
|
59
|
+
getBladeSize(blade: BladeInstance): number;
|
60
|
+
setBladeStates(activeIndex: number): void;
|
61
|
+
setActiveIndex(index: number): void;
|
62
|
+
}>;
|
63
|
+
get: {
|
64
|
+
shareds<T>(): ReturnType<typeof createJourneyStateManager<T>>;
|
65
|
+
blade(id: GuidValue): BladeInstance;
|
66
|
+
showBackButton(bladeId: GuidValue): boolean;
|
67
|
+
bladeWidth(size: BladeSizeTypes, bladeId: GuidValue, scrollContainerLeftPosition?: number): number;
|
68
|
+
isNested: boolean;
|
69
|
+
};
|
70
|
+
};
|
10
71
|
export declare const useJourneyStore: () => {
|
11
72
|
state: {
|
12
73
|
blades: BladeInstance[];
|
@@ -15,105 +76,19 @@ export declare const useJourneyStore: () => {
|
|
15
76
|
compactMode: boolean;
|
16
77
|
activeIndex: number;
|
17
78
|
nested: boolean;
|
18
|
-
journeyMenuStore: {
|
19
|
-
state: {
|
20
|
-
menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|
21
|
-
activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
|
22
|
-
};
|
23
|
-
events: {
|
24
|
-
onMutatedMenuItems: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
|
25
|
-
onMutatedActiveMenuItem: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
|
26
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
27
|
-
actions: {
|
28
|
-
onDispatching: {
|
29
|
-
setMenuItems: {
|
30
|
-
subscribe(fn: (menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
31
|
-
};
|
32
|
-
toggleActiveMenuItem: {
|
33
|
-
subscribe(fn: (menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
34
|
-
};
|
35
|
-
};
|
36
|
-
onDispatched: {
|
37
|
-
setMenuItems: {
|
38
|
-
subscribe(fn: (result: void, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
39
|
-
};
|
40
|
-
toggleActiveMenuItem: {
|
41
|
-
subscribe(fn: (result: void, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
42
|
-
};
|
43
|
-
};
|
44
|
-
onFailure: {
|
45
|
-
setMenuItems: {
|
46
|
-
subscribe(fn: (failureReason: any, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
47
|
-
};
|
48
|
-
toggleActiveMenuItem: {
|
49
|
-
subscribe(fn: (failureReason: any, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
} & {
|
53
|
-
setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
|
54
|
-
toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
|
55
|
-
};
|
56
|
-
get: {
|
57
|
-
readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
|
58
|
-
readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|
59
|
-
};
|
60
|
-
};
|
61
79
|
};
|
62
80
|
events: {
|
63
|
-
onMutatedBlades:
|
64
|
-
onMutatedBladeRenderers:
|
65
|
-
onMutatedVariant:
|
66
|
-
onMutatedCompactMode:
|
67
|
-
onMutatedActiveIndex:
|
68
|
-
onMutatedNested:
|
69
|
-
onMutatedJourneyMenuStore: import("@omnia/fx").MessageBusExposeOnlySubscription<{
|
70
|
-
state: {
|
71
|
-
menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|
72
|
-
activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
|
73
|
-
};
|
74
|
-
events: {
|
75
|
-
onMutatedMenuItems: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
|
76
|
-
onMutatedActiveMenuItem: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
|
77
|
-
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
78
|
-
actions: {
|
79
|
-
onDispatching: {
|
80
|
-
setMenuItems: {
|
81
|
-
subscribe(fn: (menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
82
|
-
};
|
83
|
-
toggleActiveMenuItem: {
|
84
|
-
subscribe(fn: (menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
85
|
-
};
|
86
|
-
};
|
87
|
-
onDispatched: {
|
88
|
-
setMenuItems: {
|
89
|
-
subscribe(fn: (result: void, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
90
|
-
};
|
91
|
-
toggleActiveMenuItem: {
|
92
|
-
subscribe(fn: (result: void, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
93
|
-
};
|
94
|
-
};
|
95
|
-
onFailure: {
|
96
|
-
setMenuItems: {
|
97
|
-
subscribe(fn: (failureReason: any, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
98
|
-
};
|
99
|
-
toggleActiveMenuItem: {
|
100
|
-
subscribe(fn: (failureReason: any, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
|
101
|
-
};
|
102
|
-
};
|
103
|
-
} & {
|
104
|
-
setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
|
105
|
-
toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
|
106
|
-
};
|
107
|
-
get: {
|
108
|
-
readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
|
109
|
-
readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
|
110
|
-
};
|
111
|
-
}>;
|
81
|
+
onMutatedBlades: MessageBusExposeOnlySubscription<BladeInstance[]>;
|
82
|
+
onMutatedBladeRenderers: MessageBusExposeOnlySubscription<BladeRenderRegistration[]>;
|
83
|
+
onMutatedVariant: MessageBusExposeOnlySubscription<JourneyVariant>;
|
84
|
+
onMutatedCompactMode: MessageBusExposeOnlySubscription<boolean>;
|
85
|
+
onMutatedActiveIndex: MessageBusExposeOnlySubscription<number>;
|
86
|
+
onMutatedNested: MessageBusExposeOnlySubscription<boolean>;
|
112
87
|
} & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
113
88
|
get: {
|
114
89
|
shareds<T>(): {
|
115
90
|
state: T;
|
116
|
-
events: { [K in keyof T as `onMutated${Capitalize<string & K>}`]:
|
91
|
+
events: { [K in keyof T as `onMutated${Capitalize<string & K>}`]: MessageBusExposeOnlySubscription<T[K]>; } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
117
92
|
};
|
118
93
|
blade(id: GuidValue): BladeInstance;
|
119
94
|
showBackButton(bladeId: GuidValue): boolean;
|
@@ -126,6 +101,7 @@ export declare const useJourneyStore: () => {
|
|
126
101
|
subscribe(fn: (blade: {
|
127
102
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
128
103
|
DataTable: <T_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T_1>, "id" | "getApi">>) => any;
|
104
|
+
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/draggable/Draggable").DraggableProps>) => any;
|
129
105
|
id: GuidValue;
|
130
106
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
131
107
|
moveNext(): void;
|
@@ -135,31 +111,31 @@ export declare const useJourneyStore: () => {
|
|
135
111
|
value: T_2;
|
136
112
|
setValue: (value: T_2) => void;
|
137
113
|
};
|
138
|
-
}) => void):
|
114
|
+
}) => void): IMessageBusSubscriptionHandler;
|
139
115
|
};
|
140
116
|
addBlade: {
|
141
|
-
subscribe(fn: (newBlade: BladeInstance) => void):
|
117
|
+
subscribe(fn: (newBlade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
142
118
|
};
|
143
119
|
removeBlade: {
|
144
|
-
subscribe(fn: (blade: BladeInstance) => void):
|
120
|
+
subscribe(fn: (blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
145
121
|
};
|
146
122
|
getBladeSize: {
|
147
|
-
subscribe(fn: (blade: BladeInstance) => void):
|
123
|
+
subscribe(fn: (blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
148
124
|
};
|
149
125
|
setBladeStates: {
|
150
|
-
subscribe(fn: (activeIndex: number) => void):
|
126
|
+
subscribe(fn: (activeIndex: number) => void): IMessageBusSubscriptionHandler;
|
151
127
|
};
|
152
128
|
moveNext: {
|
153
|
-
subscribe(fn: (fromBladeId: GuidValue) => void):
|
129
|
+
subscribe(fn: (fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
154
130
|
};
|
155
131
|
movePrev: {
|
156
|
-
subscribe(fn: (fromBladeId: GuidValue) => void):
|
132
|
+
subscribe(fn: (fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
157
133
|
};
|
158
134
|
travelTo: {
|
159
|
-
subscribe(fn: (fromBladeId: GuidValue, toBladeId: GuidValue) => void):
|
135
|
+
subscribe(fn: (fromBladeId: GuidValue, toBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
160
136
|
};
|
161
137
|
setActiveIndex: {
|
162
|
-
subscribe(fn: (index: number) => void):
|
138
|
+
subscribe(fn: (index: number) => void): IMessageBusSubscriptionHandler;
|
163
139
|
};
|
164
140
|
};
|
165
141
|
onDispatched: {
|
@@ -167,6 +143,7 @@ export declare const useJourneyStore: () => {
|
|
167
143
|
subscribe(fn: (result: void, blade: {
|
168
144
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
169
145
|
DataTable: <T_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T_1>, "id" | "getApi">>) => any;
|
146
|
+
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/draggable/Draggable").DraggableProps>) => any;
|
170
147
|
id: GuidValue;
|
171
148
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
172
149
|
moveNext(): void;
|
@@ -176,31 +153,31 @@ export declare const useJourneyStore: () => {
|
|
176
153
|
value: T_2;
|
177
154
|
setValue: (value: T_2) => void;
|
178
155
|
};
|
179
|
-
}) => void):
|
156
|
+
}) => void): IMessageBusSubscriptionHandler;
|
180
157
|
};
|
181
158
|
addBlade: {
|
182
|
-
subscribe(fn: (result: void, newBlade: BladeInstance) => void):
|
159
|
+
subscribe(fn: (result: void, newBlade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
183
160
|
};
|
184
161
|
removeBlade: {
|
185
|
-
subscribe(fn: (result: void, blade: BladeInstance) => void):
|
162
|
+
subscribe(fn: (result: void, blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
186
163
|
};
|
187
164
|
getBladeSize: {
|
188
|
-
subscribe(fn: (result: number, blade: BladeInstance) => void):
|
165
|
+
subscribe(fn: (result: number, blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
189
166
|
};
|
190
167
|
setBladeStates: {
|
191
|
-
subscribe(fn: (result: void, activeIndex: number) => void):
|
168
|
+
subscribe(fn: (result: void, activeIndex: number) => void): IMessageBusSubscriptionHandler;
|
192
169
|
};
|
193
170
|
moveNext: {
|
194
|
-
subscribe(fn: (result: void, fromBladeId: GuidValue) => void):
|
171
|
+
subscribe(fn: (result: void, fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
195
172
|
};
|
196
173
|
movePrev: {
|
197
|
-
subscribe(fn: (result: void, fromBladeId: GuidValue) => void):
|
174
|
+
subscribe(fn: (result: void, fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
198
175
|
};
|
199
176
|
travelTo: {
|
200
|
-
subscribe(fn: (result: void, fromBladeId: GuidValue, toBladeId: GuidValue) => void):
|
177
|
+
subscribe(fn: (result: void, fromBladeId: GuidValue, toBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
201
178
|
};
|
202
179
|
setActiveIndex: {
|
203
|
-
subscribe(fn: (result: void, index: number) => void):
|
180
|
+
subscribe(fn: (result: void, index: number) => void): IMessageBusSubscriptionHandler;
|
204
181
|
};
|
205
182
|
};
|
206
183
|
onFailure: {
|
@@ -208,6 +185,7 @@ export declare const useJourneyStore: () => {
|
|
208
185
|
subscribe(fn: (failureReason: any, blade: {
|
209
186
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
210
187
|
DataTable: <T_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T_1>, "id" | "getApi">>) => any;
|
188
|
+
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<import("../../oxide/draggable/Draggable").DraggableProps>) => any;
|
211
189
|
id: GuidValue;
|
212
190
|
readonly route: import("@omnia/fx-models").JourneyBladeRoute;
|
213
191
|
moveNext(): void;
|
@@ -217,31 +195,31 @@ export declare const useJourneyStore: () => {
|
|
217
195
|
value: T_2;
|
218
196
|
setValue: (value: T_2) => void;
|
219
197
|
};
|
220
|
-
}) => void):
|
198
|
+
}) => void): IMessageBusSubscriptionHandler;
|
221
199
|
};
|
222
200
|
addBlade: {
|
223
|
-
subscribe(fn: (failureReason: any, newBlade: BladeInstance) => void):
|
201
|
+
subscribe(fn: (failureReason: any, newBlade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
224
202
|
};
|
225
203
|
removeBlade: {
|
226
|
-
subscribe(fn: (failureReason: any, blade: BladeInstance) => void):
|
204
|
+
subscribe(fn: (failureReason: any, blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
227
205
|
};
|
228
206
|
getBladeSize: {
|
229
|
-
subscribe(fn: (failureReason: any, blade: BladeInstance) => void):
|
207
|
+
subscribe(fn: (failureReason: any, blade: BladeInstance) => void): IMessageBusSubscriptionHandler;
|
230
208
|
};
|
231
209
|
setBladeStates: {
|
232
|
-
subscribe(fn: (failureReason: any, activeIndex: number) => void):
|
210
|
+
subscribe(fn: (failureReason: any, activeIndex: number) => void): IMessageBusSubscriptionHandler;
|
233
211
|
};
|
234
212
|
moveNext: {
|
235
|
-
subscribe(fn: (failureReason: any, fromBladeId: GuidValue) => void):
|
213
|
+
subscribe(fn: (failureReason: any, fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
236
214
|
};
|
237
215
|
movePrev: {
|
238
|
-
subscribe(fn: (failureReason: any, fromBladeId: GuidValue) => void):
|
216
|
+
subscribe(fn: (failureReason: any, fromBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
239
217
|
};
|
240
218
|
travelTo: {
|
241
|
-
subscribe(fn: (failureReason: any, fromBladeId: GuidValue, toBladeId: GuidValue) => void):
|
219
|
+
subscribe(fn: (failureReason: any, fromBladeId: GuidValue, toBladeId: GuidValue) => void): IMessageBusSubscriptionHandler;
|
242
220
|
};
|
243
221
|
setActiveIndex: {
|
244
|
-
subscribe(fn: (failureReason: any, index: number) => void):
|
222
|
+
subscribe(fn: (failureReason: any, index: number) => void): IMessageBusSubscriptionHandler;
|
245
223
|
};
|
246
224
|
};
|
247
225
|
} & {
|
@@ -258,6 +236,6 @@ export declare const useJourneyStore: () => {
|
|
258
236
|
};
|
259
237
|
declare function createJourneyStateManager<T extends Object>(): {
|
260
238
|
state: T;
|
261
|
-
events: { [K in keyof T as `onMutated${Capitalize<string & K>}`]:
|
239
|
+
events: { [K in keyof T as `onMutated${Capitalize<string & K>}`]: MessageBusExposeOnlySubscription<T[K]>; } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
|
262
240
|
};
|
263
241
|
export {};
|
package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorAction.d.ts
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
import { ActionHandlerInstance } from "../..";
|
2
|
+
declare const _default: {
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
4
|
+
close: {
|
5
|
+
type: import("vue").PropType<() => void>;
|
6
|
+
} & {
|
7
|
+
type: import("vue").PropType<() => void>;
|
8
|
+
};
|
9
|
+
"action-handler": {
|
10
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
11
|
+
};
|
12
|
+
actionHandler: {
|
13
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
14
|
+
};
|
15
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
16
|
+
close: {
|
17
|
+
type: import("vue").PropType<() => void>;
|
18
|
+
} & {
|
19
|
+
type: import("vue").PropType<() => void>;
|
20
|
+
};
|
21
|
+
"action-handler": {
|
22
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
23
|
+
};
|
24
|
+
actionHandler: {
|
25
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
26
|
+
};
|
27
|
+
}>>, {}, true, {}, {}, {
|
28
|
+
P: {};
|
29
|
+
B: {};
|
30
|
+
D: {};
|
31
|
+
C: {};
|
32
|
+
M: {};
|
33
|
+
Defaults: {};
|
34
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
35
|
+
close: {
|
36
|
+
type: import("vue").PropType<() => void>;
|
37
|
+
} & {
|
38
|
+
type: import("vue").PropType<() => void>;
|
39
|
+
};
|
40
|
+
"action-handler": {
|
41
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
42
|
+
};
|
43
|
+
actionHandler: {
|
44
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
45
|
+
};
|
46
|
+
}>>, () => JSX.Element, {}, {}, {}, {}>;
|
47
|
+
__isFragment?: never;
|
48
|
+
__isTeleport?: never;
|
49
|
+
__isSuspense?: never;
|
50
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
51
|
+
close: {
|
52
|
+
type: import("vue").PropType<() => void>;
|
53
|
+
} & {
|
54
|
+
type: import("vue").PropType<() => void>;
|
55
|
+
};
|
56
|
+
"action-handler": {
|
57
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
58
|
+
};
|
59
|
+
actionHandler: {
|
60
|
+
type: import("vue").PropType<ActionHandlerInstance>;
|
61
|
+
};
|
62
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
63
|
+
propsDefinition: Omit<Readonly<{} & {
|
64
|
+
close?: () => void;
|
65
|
+
actionHandler?: ActionHandlerInstance;
|
66
|
+
"action-handler"?: ActionHandlerInstance;
|
67
|
+
}>, never>;
|
68
|
+
};
|
69
|
+
export default _default;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { ActionHandlerInstance } from "@omnia/fx/ux";
|
2
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
|
3
|
+
actionHandler?: ActionHandlerInstance;
|
4
|
+
} & {
|
5
|
+
close?: () => void;
|
6
|
+
}>) => {
|
7
|
+
$: import("vue").ComponentInternalInstance;
|
8
|
+
$data: {};
|
9
|
+
$props: {};
|
10
|
+
$attrs: {
|
11
|
+
[x: string]: unknown;
|
12
|
+
};
|
13
|
+
$refs: {
|
14
|
+
[x: string]: unknown;
|
15
|
+
};
|
16
|
+
$slots: Readonly<{
|
17
|
+
[name: string]: import("vue").Slot<any>;
|
18
|
+
}>;
|
19
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
20
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
21
|
+
$emit: (event: string, ...args: any[]) => void;
|
22
|
+
$el: any;
|
23
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
24
|
+
beforeCreate?: (() => void) | (() => void)[];
|
25
|
+
created?: (() => void) | (() => void)[];
|
26
|
+
beforeMount?: (() => void) | (() => void)[];
|
27
|
+
mounted?: (() => void) | (() => void)[];
|
28
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
29
|
+
updated?: (() => void) | (() => void)[];
|
30
|
+
activated?: (() => void) | (() => void)[];
|
31
|
+
deactivated?: (() => void) | (() => void)[];
|
32
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
33
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
34
|
+
destroyed?: (() => void) | (() => void)[];
|
35
|
+
unmounted?: (() => void) | (() => void)[];
|
36
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
37
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
38
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
|
39
|
+
};
|
40
|
+
$forceUpdate: () => void;
|
41
|
+
$nextTick: typeof import("vue").nextTick;
|
42
|
+
$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;
|
43
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
44
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<{
|
45
|
+
actionHandler?: ActionHandlerInstance;
|
46
|
+
} & {
|
47
|
+
close?: () => void;
|
48
|
+
}> & {
|
49
|
+
"v-slots"?: {
|
50
|
+
default?: import("vue").Slot;
|
51
|
+
} & {};
|
52
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "close" | "actionHandler">;
|
53
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
54
|
+
[key: string]: any;
|
55
|
+
}>;
|
56
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/layoutcanvas/actionhandler/LayoutEditorClickHandler.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -19,6 +19,11 @@ declare const _default: {
|
|
19
19
|
canClose: {
|
20
20
|
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
21
21
|
};
|
22
|
+
journey: {
|
23
|
+
type: import("vue").PropType<boolean>;
|
24
|
+
} & {
|
25
|
+
type: import("vue").PropType<boolean>;
|
26
|
+
};
|
22
27
|
"horizontal-scroll": {
|
23
28
|
type: import("vue").PropType<boolean>;
|
24
29
|
};
|
@@ -148,6 +153,11 @@ declare const _default: {
|
|
148
153
|
canClose: {
|
149
154
|
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
150
155
|
};
|
156
|
+
journey: {
|
157
|
+
type: import("vue").PropType<boolean>;
|
158
|
+
} & {
|
159
|
+
type: import("vue").PropType<boolean>;
|
160
|
+
};
|
151
161
|
"horizontal-scroll": {
|
152
162
|
type: import("vue").PropType<boolean>;
|
153
163
|
};
|
@@ -281,6 +291,11 @@ declare const _default: {
|
|
281
291
|
canClose: {
|
282
292
|
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
283
293
|
};
|
294
|
+
journey: {
|
295
|
+
type: import("vue").PropType<boolean>;
|
296
|
+
} & {
|
297
|
+
type: import("vue").PropType<boolean>;
|
298
|
+
};
|
284
299
|
"horizontal-scroll": {
|
285
300
|
type: import("vue").PropType<boolean>;
|
286
301
|
};
|
@@ -411,6 +426,11 @@ declare const _default: {
|
|
411
426
|
canClose: {
|
412
427
|
type: import("vue").PropType<(request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>>;
|
413
428
|
};
|
429
|
+
journey: {
|
430
|
+
type: import("vue").PropType<boolean>;
|
431
|
+
} & {
|
432
|
+
type: import("vue").PropType<boolean>;
|
433
|
+
};
|
414
434
|
"horizontal-scroll": {
|
415
435
|
type: import("vue").PropType<boolean>;
|
416
436
|
};
|
@@ -565,6 +585,7 @@ declare const _default: {
|
|
565
585
|
"custom-scrolling"?: boolean;
|
566
586
|
horizontalScroll?: boolean;
|
567
587
|
"horizontal-scroll"?: boolean;
|
588
|
+
journey?: boolean;
|
568
589
|
canClose?: (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>;
|
569
590
|
"can-close"?: (request: ODialogBuiltinButtons, buttonInstance: ODialogButtonInstance) => Future<void>;
|
570
591
|
buttonApi?: (confirm: ODialogButtonInstance, cancel: ODialogButtonInstance) => void;
|