@omnia/fx 8.0.140-dev → 8.0.141-dev

Sign up to get free protection for your applications and to get access to all the features.
@@ -130,8 +130,7 @@ declare const JourneyBladeComponent: {
130
130
  };
131
131
  id: {
132
132
  type: import("vue").PropType<GuidValue>;
133
- } & {
134
- type: import("vue").PropType<GuidValue>;
133
+ required: true;
135
134
  };
136
135
  "sub-title": {
137
136
  type: import("vue").PropType<string>;
@@ -278,8 +277,7 @@ declare const JourneyBladeComponent: {
278
277
  };
279
278
  id: {
280
279
  type: import("vue").PropType<GuidValue>;
281
- } & {
282
- type: import("vue").PropType<GuidValue>;
280
+ required: true;
283
281
  };
284
282
  "sub-title": {
285
283
  type: import("vue").PropType<string>;
@@ -424,8 +422,7 @@ declare const JourneyBladeComponent: {
424
422
  };
425
423
  id: {
426
424
  type: import("vue").PropType<GuidValue>;
427
- } & {
428
- type: import("vue").PropType<GuidValue>;
425
+ required: true;
429
426
  };
430
427
  "sub-title": {
431
428
  type: import("vue").PropType<string>;
@@ -567,8 +564,7 @@ declare const JourneyBladeComponent: {
567
564
  };
568
565
  id: {
569
566
  type: import("vue").PropType<GuidValue>;
570
- } & {
571
- type: import("vue").PropType<GuidValue>;
567
+ required: true;
572
568
  };
573
569
  "sub-title": {
574
570
  type: import("vue").PropType<string>;
@@ -598,12 +594,13 @@ declare const JourneyBladeComponent: {
598
594
  "click:back": (id: GuidValue) => true;
599
595
  "click:add": (id: GuidValue) => true;
600
596
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
601
- propsDefinition: Omit<Readonly<{} & {
597
+ propsDefinition: Omit<Readonly<{
598
+ id: GuidValue;
599
+ } & {
602
600
  title?: string;
603
601
  switch?: switchValue;
604
602
  icon?: IIcon;
605
603
  delete?: boolean;
606
- id?: GuidValue;
607
604
  size?: "small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space";
608
605
  disabled?: boolean;
609
606
  settings?: boolean;
@@ -33,8 +33,7 @@ declare const _default: {
33
33
  };
34
34
  id: {
35
35
  type: import("vue").PropType<GuidValue>;
36
- } & {
37
- type: import("vue").PropType<GuidValue>;
36
+ required: true;
38
37
  };
39
38
  title: {
40
39
  type: import("vue").PropType<string>;
@@ -79,8 +78,7 @@ declare const _default: {
79
78
  };
80
79
  id: {
81
80
  type: import("vue").PropType<GuidValue>;
82
- } & {
83
- type: import("vue").PropType<GuidValue>;
81
+ required: true;
84
82
  };
85
83
  title: {
86
84
  type: import("vue").PropType<string>;
@@ -129,8 +127,7 @@ declare const _default: {
129
127
  };
130
128
  id: {
131
129
  type: import("vue").PropType<GuidValue>;
132
- } & {
133
- type: import("vue").PropType<GuidValue>;
130
+ required: true;
134
131
  };
135
132
  title: {
136
133
  type: import("vue").PropType<string>;
@@ -176,8 +173,7 @@ declare const _default: {
176
173
  };
177
174
  id: {
178
175
  type: import("vue").PropType<GuidValue>;
179
- } & {
180
- type: import("vue").PropType<GuidValue>;
176
+ required: true;
181
177
  };
182
178
  title: {
183
179
  type: import("vue").PropType<string>;
@@ -191,10 +187,11 @@ declare const _default: {
191
187
  itemSelected: (item: JourneyMenuItem) => true;
192
188
  valueChanged: (item: JourneySwitchMenuItem) => true;
193
189
  }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
194
- propsDefinition: Omit<Readonly<{} & {
190
+ propsDefinition: Omit<Readonly<{
191
+ id: GuidValue;
192
+ } & {
195
193
  title?: string;
196
194
  icon?: IIcon;
197
- id?: GuidValue;
198
195
  size?: "small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space";
199
196
  items?: JourneyMenuItem[];
200
197
  "v-slots"?: {
@@ -9,45 +9,58 @@ export interface DisabledButtonTooltips {
9
9
  delete?: string;
10
10
  remove?: string;
11
11
  }
12
- declare const _default: {
13
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
14
- id: {
15
- type: import("vue").PropType<GuidValue>;
16
- } & {
17
- type: import("vue").PropType<GuidValue>;
18
- };
19
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
20
- id: {
21
- type: import("vue").PropType<GuidValue>;
22
- } & {
23
- type: import("vue").PropType<GuidValue>;
24
- };
25
- }>>, {}, true, {}, {}, {
26
- P: {};
27
- B: {};
28
- D: {};
29
- C: {};
30
- M: {};
31
- Defaults: {};
32
- }, Readonly<import("vue").ExtractPropTypes<{
33
- id: {
34
- type: import("vue").PropType<GuidValue>;
35
- } & {
36
- type: import("vue").PropType<GuidValue>;
37
- };
38
- }>>, () => JSX.Element, {}, {}, {}, {}>;
39
- __isFragment?: never;
40
- __isTeleport?: never;
41
- __isSuspense?: never;
42
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
43
- id: {
44
- type: import("vue").PropType<GuidValue>;
45
- } & {
46
- type: import("vue").PropType<GuidValue>;
12
+ declare const _default: (props: {
13
+ id: GuidValue;
14
+ } & Omit<{}, "id"> & {
15
+ "v-slots"?: {
16
+ default?: import("vue").Slot;
17
+ };
18
+ } & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "id">) => {
19
+ $: import("vue").ComponentInternalInstance;
20
+ $data: {};
21
+ $props: {};
22
+ $attrs: {
23
+ [x: string]: unknown;
47
24
  };
48
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
49
- propsDefinition: Omit<Readonly<{} & {
50
- id?: GuidValue;
51
- }>, never>;
52
- };
25
+ $refs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $slots: Readonly<{
29
+ [name: string]: import("vue").Slot<any>;
30
+ }>;
31
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
32
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
33
+ $emit: (event: string, ...args: any[]) => void;
34
+ $el: any;
35
+ $options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
36
+ beforeCreate?: (() => void) | (() => void)[];
37
+ created?: (() => void) | (() => void)[];
38
+ beforeMount?: (() => void) | (() => void)[];
39
+ mounted?: (() => void) | (() => void)[];
40
+ beforeUpdate?: (() => void) | (() => void)[];
41
+ updated?: (() => void) | (() => void)[];
42
+ activated?: (() => void) | (() => void)[];
43
+ deactivated?: (() => void) | (() => void)[];
44
+ beforeDestroy?: (() => void) | (() => void)[];
45
+ beforeUnmount?: (() => void) | (() => void)[];
46
+ destroyed?: (() => void) | (() => void)[];
47
+ unmounted?: (() => void) | (() => void)[];
48
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
49
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
50
+ 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)[];
51
+ };
52
+ $forceUpdate: () => void;
53
+ $nextTick: typeof import("vue").nextTick;
54
+ $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;
55
+ } & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
56
+ propsDefinition: {
57
+ id: GuidValue;
58
+ } & {
59
+ "v-slots"?: {
60
+ default?: import("vue").Slot;
61
+ };
62
+ } & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "id">;
63
+ } & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
64
+ [key: string]: any;
65
+ }>;
53
66
  export default _default;
@@ -1,7 +1,6 @@
1
1
  import { GuidValue } from "@omnia/fx-models";
2
2
  import { BladeInstance } from "@omnia/fx/ux";
3
3
  import { BladeSizeTypes } from "../models/Constants";
4
- import { useJourneyMenuStore } from "./JourneyMenuStore";
5
4
  export type JourneyStore = ReturnType<typeof useJourneyStore>;
6
5
  export declare const useJourneyStore: () => {
7
6
  state: {
@@ -112,51 +111,6 @@ export declare const useJourneyStore: () => {
112
111
  };
113
112
  actions: {
114
113
  onDispatching: {
115
- setNested: {
116
- subscribe(fn: (menuStore: {
117
- state: {
118
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
119
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
120
- };
121
- events: {
122
- onMutatedMenuItems: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
123
- onMutatedActiveMenuItem: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
124
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
125
- actions: {
126
- onDispatching: {
127
- setMenuItems: {
128
- subscribe(fn: (menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
129
- };
130
- toggleActiveMenuItem: {
131
- subscribe(fn: (menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
132
- };
133
- };
134
- onDispatched: {
135
- setMenuItems: {
136
- subscribe(fn: (result: void, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
137
- };
138
- toggleActiveMenuItem: {
139
- subscribe(fn: (result: void, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
140
- };
141
- };
142
- onFailure: {
143
- setMenuItems: {
144
- subscribe(fn: (failureReason: any, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
145
- };
146
- toggleActiveMenuItem: {
147
- subscribe(fn: (failureReason: any, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
148
- };
149
- };
150
- } & {
151
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
152
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
153
- };
154
- get: {
155
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
156
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
157
- };
158
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
159
- };
160
114
  addBlade: {
161
115
  subscribe(fn: (newBlade: BladeInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
162
116
  };
@@ -183,51 +137,6 @@ export declare const useJourneyStore: () => {
183
137
  };
184
138
  };
185
139
  onDispatched: {
186
- setNested: {
187
- subscribe(fn: (result: void, menuStore: {
188
- state: {
189
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
190
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
191
- };
192
- events: {
193
- onMutatedMenuItems: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
194
- onMutatedActiveMenuItem: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
195
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
196
- actions: {
197
- onDispatching: {
198
- setMenuItems: {
199
- subscribe(fn: (menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
200
- };
201
- toggleActiveMenuItem: {
202
- subscribe(fn: (menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
203
- };
204
- };
205
- onDispatched: {
206
- setMenuItems: {
207
- subscribe(fn: (result: void, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
208
- };
209
- toggleActiveMenuItem: {
210
- subscribe(fn: (result: void, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
211
- };
212
- };
213
- onFailure: {
214
- setMenuItems: {
215
- subscribe(fn: (failureReason: any, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
216
- };
217
- toggleActiveMenuItem: {
218
- subscribe(fn: (failureReason: any, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
219
- };
220
- };
221
- } & {
222
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
223
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
224
- };
225
- get: {
226
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
227
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
228
- };
229
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
230
- };
231
140
  addBlade: {
232
141
  subscribe(fn: (result: void, newBlade: BladeInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
233
142
  };
@@ -254,51 +163,6 @@ export declare const useJourneyStore: () => {
254
163
  };
255
164
  };
256
165
  onFailure: {
257
- setNested: {
258
- subscribe(fn: (failureReason: any, menuStore: {
259
- state: {
260
- menuItems: import("@omnia/fx-models").JourneyMenuItem[];
261
- activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
262
- };
263
- events: {
264
- onMutatedMenuItems: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem[]>;
265
- onMutatedActiveMenuItem: import("@omnia/fx").MessageBusExposeOnlySubscription<import("@omnia/fx-models").JourneyMenuItem>;
266
- } & Record<string, import("@omnia/fx-models").IMessageBusTopicPublishSubscriber<any>>;
267
- actions: {
268
- onDispatching: {
269
- setMenuItems: {
270
- subscribe(fn: (menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
271
- };
272
- toggleActiveMenuItem: {
273
- subscribe(fn: (menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
274
- };
275
- };
276
- onDispatched: {
277
- setMenuItems: {
278
- subscribe(fn: (result: void, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
279
- };
280
- toggleActiveMenuItem: {
281
- subscribe(fn: (result: void, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
282
- };
283
- };
284
- onFailure: {
285
- setMenuItems: {
286
- subscribe(fn: (failureReason: any, menuItems: import("@omnia/fx-models").JourneyMenuItem[]) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
287
- };
288
- toggleActiveMenuItem: {
289
- subscribe(fn: (failureReason: any, menuItem: import("@omnia/fx-models").JourneyMenuItem) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
290
- };
291
- };
292
- } & {
293
- setMenuItems(menuItems: import("@omnia/fx-models").JourneyMenuItem[]): void;
294
- toggleActiveMenuItem(menuItem: import("@omnia/fx-models").JourneyMenuItem): void;
295
- };
296
- get: {
297
- readonly activeMenuItem: import("@omnia/fx-models").JourneyMenuItem;
298
- readonly menuItems: import("@omnia/fx-models").JourneyMenuItem[];
299
- };
300
- }) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
301
- };
302
166
  addBlade: {
303
167
  subscribe(fn: (failureReason: any, newBlade: BladeInstance) => void): import("@omnia/fx-models").IMessageBusSubscriptionHandler;
304
168
  };
@@ -325,7 +189,6 @@ export declare const useJourneyStore: () => {
325
189
  };
326
190
  };
327
191
  } & {
328
- setNested(menuStore: ReturnType<typeof useJourneyMenuStore>): void;
329
192
  addBlade(newBlade: BladeInstance): void;
330
193
  removeBlade(blade: BladeInstance): void;
331
194
  getBladeSize(blade: BladeInstance): number;
@@ -1,639 +1,17 @@
1
1
  import { GuidValue, JourneyBladeRouter } from "@omnia/fx-models";
2
+ import { JourneyBladeComponentTypings } from "../JourneyBlade";
3
+ type ExtractProps<T> = {
4
+ [K in keyof (T extends {
5
+ $props: any;
6
+ } ? T["$props"] : T)]: T extends {
7
+ $props: any;
8
+ } ? T["$props"][K] : never;
9
+ };
10
+ type BladeElement = new (...args: any[]) => {
11
+ "$props": Omit<ExtractProps<Pick<InstanceType<JourneyBladeComponentTypings>, "$props">>, "id">;
12
+ };
2
13
  export declare function useBlade<T extends JourneyBladeRouter>(bladeId: GuidValue): {
3
- Blade: {
4
- new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
5
- "v-slots": import("vue").Prop<{
6
- default?: import("../../DefineVueTypings").Slot<any[]>;
7
- } & {
8
- actions?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
9
- actionsFooter?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
10
- }>;
11
- "disabled-button-tooltips": {
12
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
13
- };
14
- disabledButtonTooltips: {
15
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
16
- };
17
- "confirm-delete-dialog-option": {
18
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
19
- };
20
- confirmDeleteDialogOption: {
21
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
22
- };
23
- "on-switch": {
24
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
25
- };
26
- onSwitch: {
27
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
28
- };
29
- "on-delete": {
30
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
31
- };
32
- onDelete: {
33
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
34
- };
35
- "on-save": {
36
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
37
- };
38
- onSave: {
39
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
40
- };
41
- "on-remove": {
42
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
43
- };
44
- onRemove: {
45
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
46
- };
47
- "on-ok": {
48
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
49
- };
50
- onOk: {
51
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
52
- };
53
- variant: {
54
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
55
- } & {
56
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
57
- };
58
- icon: {
59
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
60
- } & {
61
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
62
- };
63
- create: {
64
- type: import("vue").PropType<boolean>;
65
- } & {
66
- type: import("vue").PropType<boolean>;
67
- };
68
- settings: {
69
- type: import("vue").PropType<boolean>;
70
- } & {
71
- type: import("vue").PropType<boolean>;
72
- };
73
- switch: {
74
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
75
- } & {
76
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
77
- };
78
- disabled: {
79
- type: import("vue").PropType<boolean>;
80
- } & {
81
- type: import("vue").PropType<boolean>;
82
- };
83
- remove: {
84
- type: import("vue").PropType<boolean>;
85
- } & {
86
- type: import("vue").PropType<boolean>;
87
- };
88
- delete: {
89
- type: import("vue").PropType<boolean>;
90
- } & {
91
- type: import("vue").PropType<boolean>;
92
- };
93
- searchable: {
94
- type: import("vue").PropType<boolean>;
95
- } & {
96
- type: import("vue").PropType<boolean>;
97
- };
98
- save: {
99
- type: import("vue").PropType<boolean>;
100
- } & {
101
- type: import("vue").PropType<boolean>;
102
- };
103
- ok: {
104
- type: import("vue").PropType<boolean>;
105
- } & {
106
- type: import("vue").PropType<boolean>;
107
- };
108
- loading: {
109
- type: import("vue").PropType<boolean>;
110
- } & {
111
- type: import("vue").PropType<boolean>;
112
- };
113
- size: {
114
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
115
- required: false;
116
- } & {
117
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
118
- required: false;
119
- };
120
- id: {
121
- type: import("vue").PropType<GuidValue>;
122
- } & {
123
- type: import("vue").PropType<GuidValue>;
124
- };
125
- "sub-title": {
126
- type: import("vue").PropType<string>;
127
- };
128
- subTitle: {
129
- type: import("vue").PropType<string>;
130
- };
131
- title: {
132
- type: import("vue").PropType<string>;
133
- } & {
134
- type: import("vue").PropType<string>;
135
- };
136
- }>> & {
137
- "onClick:cancel"?: (id: GuidValue) => any;
138
- onSearch?: (searchText: string) => any;
139
- onDoc$?: (description?: string) => any;
140
- "onClick:add"?: (id: GuidValue) => any;
141
- "onClick:back"?: (id: GuidValue) => any;
142
- "onClick:settings"?: (id: GuidValue) => any;
143
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
144
- search: (searchText: string) => true;
145
- doc$(description?: string): {
146
- search: (searchText: string) => true;
147
- };
148
- "click:settings": (id: GuidValue) => true;
149
- "click:cancel": (id: GuidValue) => true;
150
- "click:back": (id: GuidValue) => true;
151
- "click:add": (id: GuidValue) => true;
152
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
153
- "v-slots": import("vue").Prop<{
154
- default?: import("../../DefineVueTypings").Slot<any[]>;
155
- } & {
156
- actions?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
157
- actionsFooter?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
158
- }>;
159
- "disabled-button-tooltips": {
160
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
161
- };
162
- disabledButtonTooltips: {
163
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
164
- };
165
- "confirm-delete-dialog-option": {
166
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
167
- };
168
- confirmDeleteDialogOption: {
169
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
170
- };
171
- "on-switch": {
172
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
173
- };
174
- onSwitch: {
175
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
176
- };
177
- "on-delete": {
178
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
179
- };
180
- onDelete: {
181
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
182
- };
183
- "on-save": {
184
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
185
- };
186
- onSave: {
187
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
188
- };
189
- "on-remove": {
190
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
191
- };
192
- onRemove: {
193
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
194
- };
195
- "on-ok": {
196
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
197
- };
198
- onOk: {
199
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
200
- };
201
- variant: {
202
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
203
- } & {
204
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
205
- };
206
- icon: {
207
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
208
- } & {
209
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
210
- };
211
- create: {
212
- type: import("vue").PropType<boolean>;
213
- } & {
214
- type: import("vue").PropType<boolean>;
215
- };
216
- settings: {
217
- type: import("vue").PropType<boolean>;
218
- } & {
219
- type: import("vue").PropType<boolean>;
220
- };
221
- switch: {
222
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
223
- } & {
224
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
225
- };
226
- disabled: {
227
- type: import("vue").PropType<boolean>;
228
- } & {
229
- type: import("vue").PropType<boolean>;
230
- };
231
- remove: {
232
- type: import("vue").PropType<boolean>;
233
- } & {
234
- type: import("vue").PropType<boolean>;
235
- };
236
- delete: {
237
- type: import("vue").PropType<boolean>;
238
- } & {
239
- type: import("vue").PropType<boolean>;
240
- };
241
- searchable: {
242
- type: import("vue").PropType<boolean>;
243
- } & {
244
- type: import("vue").PropType<boolean>;
245
- };
246
- save: {
247
- type: import("vue").PropType<boolean>;
248
- } & {
249
- type: import("vue").PropType<boolean>;
250
- };
251
- ok: {
252
- type: import("vue").PropType<boolean>;
253
- } & {
254
- type: import("vue").PropType<boolean>;
255
- };
256
- loading: {
257
- type: import("vue").PropType<boolean>;
258
- } & {
259
- type: import("vue").PropType<boolean>;
260
- };
261
- size: {
262
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
263
- required: false;
264
- } & {
265
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
266
- required: false;
267
- };
268
- id: {
269
- type: import("vue").PropType<GuidValue>;
270
- } & {
271
- type: import("vue").PropType<GuidValue>;
272
- };
273
- "sub-title": {
274
- type: import("vue").PropType<string>;
275
- };
276
- subTitle: {
277
- type: import("vue").PropType<string>;
278
- };
279
- title: {
280
- type: import("vue").PropType<string>;
281
- } & {
282
- type: import("vue").PropType<string>;
283
- };
284
- }>> & {
285
- "onClick:cancel"?: (id: GuidValue) => any;
286
- onSearch?: (searchText: string) => any;
287
- onDoc$?: (description?: string) => any;
288
- "onClick:add"?: (id: GuidValue) => any;
289
- "onClick:back"?: (id: GuidValue) => any;
290
- "onClick:settings"?: (id: GuidValue) => any;
291
- }, {}, true, {}, {}, {
292
- P: {};
293
- B: {};
294
- D: {};
295
- C: {};
296
- M: {};
297
- Defaults: {};
298
- }, Readonly<import("vue").ExtractPropTypes<{
299
- "v-slots": import("vue").Prop<{
300
- default?: import("../../DefineVueTypings").Slot<any[]>;
301
- } & {
302
- actions?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
303
- actionsFooter?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
304
- }>;
305
- "disabled-button-tooltips": {
306
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
307
- };
308
- disabledButtonTooltips: {
309
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
310
- };
311
- "confirm-delete-dialog-option": {
312
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
313
- };
314
- confirmDeleteDialogOption: {
315
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
316
- };
317
- "on-switch": {
318
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
319
- };
320
- onSwitch: {
321
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
322
- };
323
- "on-delete": {
324
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
325
- };
326
- onDelete: {
327
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
328
- };
329
- "on-save": {
330
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
331
- };
332
- onSave: {
333
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
334
- };
335
- "on-remove": {
336
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
337
- };
338
- onRemove: {
339
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
340
- };
341
- "on-ok": {
342
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
343
- };
344
- onOk: {
345
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
346
- };
347
- variant: {
348
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
349
- } & {
350
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
351
- };
352
- icon: {
353
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
354
- } & {
355
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
356
- };
357
- create: {
358
- type: import("vue").PropType<boolean>;
359
- } & {
360
- type: import("vue").PropType<boolean>;
361
- };
362
- settings: {
363
- type: import("vue").PropType<boolean>;
364
- } & {
365
- type: import("vue").PropType<boolean>;
366
- };
367
- switch: {
368
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
369
- } & {
370
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
371
- };
372
- disabled: {
373
- type: import("vue").PropType<boolean>;
374
- } & {
375
- type: import("vue").PropType<boolean>;
376
- };
377
- remove: {
378
- type: import("vue").PropType<boolean>;
379
- } & {
380
- type: import("vue").PropType<boolean>;
381
- };
382
- delete: {
383
- type: import("vue").PropType<boolean>;
384
- } & {
385
- type: import("vue").PropType<boolean>;
386
- };
387
- searchable: {
388
- type: import("vue").PropType<boolean>;
389
- } & {
390
- type: import("vue").PropType<boolean>;
391
- };
392
- save: {
393
- type: import("vue").PropType<boolean>;
394
- } & {
395
- type: import("vue").PropType<boolean>;
396
- };
397
- ok: {
398
- type: import("vue").PropType<boolean>;
399
- } & {
400
- type: import("vue").PropType<boolean>;
401
- };
402
- loading: {
403
- type: import("vue").PropType<boolean>;
404
- } & {
405
- type: import("vue").PropType<boolean>;
406
- };
407
- size: {
408
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
409
- required: false;
410
- } & {
411
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
412
- required: false;
413
- };
414
- id: {
415
- type: import("vue").PropType<GuidValue>;
416
- } & {
417
- type: import("vue").PropType<GuidValue>;
418
- };
419
- "sub-title": {
420
- type: import("vue").PropType<string>;
421
- };
422
- subTitle: {
423
- type: import("vue").PropType<string>;
424
- };
425
- title: {
426
- type: import("vue").PropType<string>;
427
- } & {
428
- type: import("vue").PropType<string>;
429
- };
430
- }>> & {
431
- "onClick:cancel"?: (id: GuidValue) => any;
432
- onSearch?: (searchText: string) => any;
433
- onDoc$?: (description?: string) => any;
434
- "onClick:add"?: (id: GuidValue) => any;
435
- "onClick:back"?: (id: GuidValue) => any;
436
- "onClick:settings"?: (id: GuidValue) => any;
437
- }, () => JSX.Element, {}, {}, {}, {}>;
438
- __isFragment?: never;
439
- __isTeleport?: never;
440
- __isSuspense?: never;
441
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
442
- "v-slots": import("vue").Prop<{
443
- default?: import("../../DefineVueTypings").Slot<any[]>;
444
- } & {
445
- actions?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
446
- actionsFooter?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
447
- }>;
448
- "disabled-button-tooltips": {
449
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
450
- };
451
- disabledButtonTooltips: {
452
- type: import("vue").PropType<import("../JourneyBlade").DisabledButtonTooltips>;
453
- };
454
- "confirm-delete-dialog-option": {
455
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
456
- };
457
- confirmDeleteDialogOption: {
458
- type: import("vue").PropType<import("../..").ConfirmDialogOptions>;
459
- };
460
- "on-switch": {
461
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
462
- };
463
- onSwitch: {
464
- type: import("vue").PropType<(value: any) => boolean | Promise<boolean>>;
465
- };
466
- "on-delete": {
467
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
468
- };
469
- onDelete: {
470
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
471
- };
472
- "on-save": {
473
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
474
- };
475
- onSave: {
476
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
477
- };
478
- "on-remove": {
479
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
480
- };
481
- onRemove: {
482
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
483
- };
484
- "on-ok": {
485
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
486
- };
487
- onOk: {
488
- type: import("vue").PropType<() => boolean | Promise<boolean>>;
489
- };
490
- variant: {
491
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
492
- } & {
493
- type: import("vue").PropType<"info" | "preview" | "read-only" | "edit" | "new">;
494
- };
495
- icon: {
496
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
497
- } & {
498
- type: import("vue").PropType<import("@omnia/fx-models").IIcon>;
499
- };
500
- create: {
501
- type: import("vue").PropType<boolean>;
502
- } & {
503
- type: import("vue").PropType<boolean>;
504
- };
505
- settings: {
506
- type: import("vue").PropType<boolean>;
507
- } & {
508
- type: import("vue").PropType<boolean>;
509
- };
510
- switch: {
511
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
512
- } & {
513
- type: import("vue").PropType<import("../JourneyBlade").switchValue>;
514
- };
515
- disabled: {
516
- type: import("vue").PropType<boolean>;
517
- } & {
518
- type: import("vue").PropType<boolean>;
519
- };
520
- remove: {
521
- type: import("vue").PropType<boolean>;
522
- } & {
523
- type: import("vue").PropType<boolean>;
524
- };
525
- delete: {
526
- type: import("vue").PropType<boolean>;
527
- } & {
528
- type: import("vue").PropType<boolean>;
529
- };
530
- searchable: {
531
- type: import("vue").PropType<boolean>;
532
- } & {
533
- type: import("vue").PropType<boolean>;
534
- };
535
- save: {
536
- type: import("vue").PropType<boolean>;
537
- } & {
538
- type: import("vue").PropType<boolean>;
539
- };
540
- ok: {
541
- type: import("vue").PropType<boolean>;
542
- } & {
543
- type: import("vue").PropType<boolean>;
544
- };
545
- loading: {
546
- type: import("vue").PropType<boolean>;
547
- } & {
548
- type: import("vue").PropType<boolean>;
549
- };
550
- size: {
551
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
552
- required: false;
553
- } & {
554
- type: import("vue").PropType<"small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space">;
555
- required: false;
556
- };
557
- id: {
558
- type: import("vue").PropType<GuidValue>;
559
- } & {
560
- type: import("vue").PropType<GuidValue>;
561
- };
562
- "sub-title": {
563
- type: import("vue").PropType<string>;
564
- };
565
- subTitle: {
566
- type: import("vue").PropType<string>;
567
- };
568
- title: {
569
- type: import("vue").PropType<string>;
570
- } & {
571
- type: import("vue").PropType<string>;
572
- };
573
- }>> & {
574
- "onClick:cancel"?: (id: GuidValue) => any;
575
- onSearch?: (searchText: string) => any;
576
- onDoc$?: (description?: string) => any;
577
- "onClick:add"?: (id: GuidValue) => any;
578
- "onClick:back"?: (id: GuidValue) => any;
579
- "onClick:settings"?: (id: GuidValue) => any;
580
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
581
- search: (searchText: string) => true;
582
- doc$(description?: string): {
583
- search: (searchText: string) => true;
584
- };
585
- "click:settings": (id: GuidValue) => true;
586
- "click:cancel": (id: GuidValue) => true;
587
- "click:back": (id: GuidValue) => true;
588
- "click:add": (id: GuidValue) => true;
589
- }, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
590
- propsDefinition: Omit<Readonly<{} & {
591
- title?: string;
592
- switch?: import("../JourneyBlade").switchValue;
593
- icon?: import("@omnia/fx-models").IIcon;
594
- delete?: boolean;
595
- id?: GuidValue;
596
- size?: "small" | "medium" | "large" | "x-large" | "x-small" | "xx-large" | "xxx-large" | "full-screen" | "fill-space";
597
- disabled?: boolean;
598
- settings?: boolean;
599
- save?: boolean;
600
- "v-slots"?: {
601
- default?: import("../../DefineVueTypings").Slot<any[]>;
602
- } & {
603
- actions?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
604
- actionsFooter?: import("@omnia/fx-models").Func<[import("vue").VNodeChild]>;
605
- };
606
- remove?: boolean;
607
- variant?: "info" | "preview" | "read-only" | "edit" | "new";
608
- subTitle?: string;
609
- "sub-title"?: string;
610
- loading?: boolean;
611
- ok?: boolean;
612
- searchable?: boolean;
613
- create?: boolean;
614
- onOk?: () => boolean | Promise<boolean>;
615
- "on-ok"?: () => boolean | Promise<boolean>;
616
- onRemove?: () => boolean | Promise<boolean>;
617
- "on-remove"?: () => boolean | Promise<boolean>;
618
- onSave?: () => boolean | Promise<boolean>;
619
- "on-save"?: () => boolean | Promise<boolean>;
620
- onDelete?: () => boolean | Promise<boolean>;
621
- "on-delete"?: () => boolean | Promise<boolean>;
622
- onSwitch?: (value: any) => boolean | Promise<boolean>;
623
- "on-switch"?: (value: any) => boolean | Promise<boolean>;
624
- confirmDeleteDialogOption?: import("../..").ConfirmDialogOptions;
625
- "confirm-delete-dialog-option"?: import("../..").ConfirmDialogOptions;
626
- disabledButtonTooltips?: import("../JourneyBlade").DisabledButtonTooltips;
627
- "disabled-button-tooltips"?: import("../JourneyBlade").DisabledButtonTooltips;
628
- }>, "onClick:cancel" | "onSearch" | "onDoc$" | "onClick:add" | "onClick:back" | "onClick:settings"> & {
629
- "onClick:cancel"?: (id: GuidValue) => any;
630
- onSearch?: (searchText: string) => any;
631
- onDoc$?: (description?: string) => any;
632
- "onClick:add"?: (id: GuidValue) => any;
633
- "onClick:back"?: (id: GuidValue) => any;
634
- "onClick:settings"?: (id: GuidValue) => any;
635
- };
636
- };
14
+ Blade: BladeElement;
637
15
  readonly router: T;
638
16
  moveNext(): void;
639
17
  movePrev(): void;
@@ -647,3 +25,4 @@ export declare function useBlade<T extends JourneyBladeRouter>(bladeId: GuidValu
647
25
  setValue: (value: T_2) => void;
648
26
  };
649
27
  };
28
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx",
3
3
  "license": "MIT",
4
- "version": "8.0.140-dev",
4
+ "version": "8.0.141-dev",
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.140-dev",
23
+ "@omnia/fx-models": "8.0.141-dev",
24
24
  "@microsoft/signalr": "6.0.1",
25
25
  "broadcast-channel": "4.8.0",
26
26
  "dayjs": "1.11.7",