@omnia/fx 8.0.237-dev → 8.0.238-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/admin/usermanagement/self-service/ApprovalBlade.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/admin/usermanagement/self-service/NotifyBlade.d.ts +47 -0
- package/internal-do-not-import-from-here/ux/journey/DefineBlade.d.ts +3 -0
- package/internal-do-not-import-from-here/ux/journey/JourneyMenu.d.ts +4 -4
- package/internal-do-not-import-from-here/ux/journey/stores/JourneyStore.d.ts +3 -0
- package/package.json +2 -2
package/internal-do-not-import-from-here/ux/admin/usermanagement/self-service/ApprovalBlade.d.ts
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<Record<string, any>>) => {
|
2
|
+
$: import("vue").ComponentInternalInstance;
|
3
|
+
$data: {};
|
4
|
+
$props: {};
|
5
|
+
$attrs: {
|
6
|
+
[x: string]: unknown;
|
7
|
+
};
|
8
|
+
$refs: {
|
9
|
+
[x: string]: unknown;
|
10
|
+
};
|
11
|
+
$slots: Readonly<{
|
12
|
+
[name: string]: import("vue").Slot<any>;
|
13
|
+
}>;
|
14
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
15
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
16
|
+
$emit: (event: string, ...args: any[]) => void;
|
17
|
+
$el: any;
|
18
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
19
|
+
beforeCreate?: (() => void) | (() => void)[];
|
20
|
+
created?: (() => void) | (() => void)[];
|
21
|
+
beforeMount?: (() => void) | (() => void)[];
|
22
|
+
mounted?: (() => void) | (() => void)[];
|
23
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
24
|
+
updated?: (() => void) | (() => void)[];
|
25
|
+
activated?: (() => void) | (() => void)[];
|
26
|
+
deactivated?: (() => void) | (() => void)[];
|
27
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
28
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
29
|
+
destroyed?: (() => void) | (() => void)[];
|
30
|
+
unmounted?: (() => void) | (() => void)[];
|
31
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
32
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
33
|
+
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)[];
|
34
|
+
};
|
35
|
+
$forceUpdate: () => void;
|
36
|
+
$nextTick: typeof import("vue").nextTick;
|
37
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
38
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
39
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {
|
40
|
+
"v-slots"?: {} & Omit<{
|
41
|
+
default?: import("vue").Slot;
|
42
|
+
}, never>;
|
43
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string | number>;
|
44
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>;
|
47
|
+
export default _default;
|
package/internal-do-not-import-from-here/ux/admin/usermanagement/self-service/NotifyBlade.d.ts
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<Record<string, any>>) => {
|
2
|
+
$: import("vue").ComponentInternalInstance;
|
3
|
+
$data: {};
|
4
|
+
$props: {};
|
5
|
+
$attrs: {
|
6
|
+
[x: string]: unknown;
|
7
|
+
};
|
8
|
+
$refs: {
|
9
|
+
[x: string]: unknown;
|
10
|
+
};
|
11
|
+
$slots: Readonly<{
|
12
|
+
[name: string]: import("vue").Slot<any>;
|
13
|
+
}>;
|
14
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
15
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
|
16
|
+
$emit: (event: string, ...args: any[]) => void;
|
17
|
+
$el: any;
|
18
|
+
$options: import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}> & {
|
19
|
+
beforeCreate?: (() => void) | (() => void)[];
|
20
|
+
created?: (() => void) | (() => void)[];
|
21
|
+
beforeMount?: (() => void) | (() => void)[];
|
22
|
+
mounted?: (() => void) | (() => void)[];
|
23
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
24
|
+
updated?: (() => void) | (() => void)[];
|
25
|
+
activated?: (() => void) | (() => void)[];
|
26
|
+
deactivated?: (() => void) | (() => void)[];
|
27
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
28
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
29
|
+
destroyed?: (() => void) | (() => void)[];
|
30
|
+
unmounted?: (() => void) | (() => void)[];
|
31
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
32
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
33
|
+
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)[];
|
34
|
+
};
|
35
|
+
$forceUpdate: () => void;
|
36
|
+
$nextTick: typeof import("vue").nextTick;
|
37
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
38
|
+
} & Omit<{}, never> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
39
|
+
propsDefinition: import("@omnia/fx/ux").ExtractProps<Record<string, any>> & {
|
40
|
+
"v-slots"?: {} & Omit<{
|
41
|
+
default?: import("vue").Slot;
|
42
|
+
}, never>;
|
43
|
+
} & {} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, string | number>;
|
44
|
+
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
45
|
+
[key: string]: any;
|
46
|
+
}>;
|
47
|
+
export default _default;
|
@@ -5,12 +5,15 @@ import { ConstructComponentProps } from "../InternalDefineComponent";
|
|
5
5
|
import { type OListProps } from "../oxide/list/List";
|
6
6
|
import { DataTableProps } from "../oxide/datatable/DataTable";
|
7
7
|
import { DraggableProps } from "../oxide/draggable/Draggable";
|
8
|
+
import { type JourneyMenuProps } from "./JourneyMenu";
|
8
9
|
type BladeElement = (props: ConstructComponentProps<Omit<JourneyBladeProps, "id" | "getApi">>) => any;
|
10
|
+
type BladeMenuElement = (props: ConstructComponentProps<Omit<JourneyMenuProps, "id" | "getApi">>) => any;
|
9
11
|
type DatatTableComponentTypings = <T1>(props: ConstructComponentProps<Omit<DataTableProps<T1>, "draggable">>) => any;
|
10
12
|
type DraggableComponentTypings = (props: ConstructComponentProps<Omit<DraggableProps, "hideDraggableIcon">>) => any;
|
11
13
|
type ListComponentTypings = <T1>(props: ConstructComponentProps<Omit<OListProps<T1>, "draggable">>) => any;
|
12
14
|
export declare function defineBlade<TRoute extends JourneyBladeRoute = {}>(bladeId: guid, renderer?: (blade: BladeElement) => VNodeChild): {
|
13
15
|
readonly Blade: BladeElement;
|
16
|
+
readonly Menu: BladeMenuElement;
|
14
17
|
ManageDataTable: DatatTableComponentTypings;
|
15
18
|
ManageList: ListComponentTypings;
|
16
19
|
Draggable: DraggableComponentTypings;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { guid, IIcon, JourneyMenuItem, JourneySwitchMenuItem } from "@omnia/fx-models";
|
2
|
-
import { BladeSizeTypes, DefineProp, DefineSlot, DefineEmit } from "@omnia/fx/ux";
|
2
|
+
import { BladeSizeTypes, useJourneyStore, DefineProp, DefineSlot, DefineEmit } from "@omnia/fx/ux";
|
3
3
|
import { VNodeChild } from "vue";
|
4
4
|
import { type SwitchValue } from "./JourneyBlade";
|
5
5
|
declare const defaultItems: any[];
|
6
|
-
export type JourneyMenuProps = DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"id", guid, false, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"items", JourneyMenuItem[], false, typeof defaultItems, "An array of menu items used for automatically generating menu items"> & DefineSlot<"selection", (selected: JourneyMenuItem) => VNodeChild, "Custom renderer selected node."> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"itemSelected", (item: JourneyMenuItem) => true> & DefineEmit<"valueChanged", (item: JourneySwitchMenuItem) => true>;
|
6
|
+
export type JourneyMenuProps = DefineProp<"getApi", (store: ReturnType<typeof useJourneyStore>) => void, false, null, "callback to get a reference to the journey store. The store is used to navigate the journey blades."> & DefineProp<"title", string, false, null, "Specify the title of the blade."> & DefineProp<"id", guid, false, null, "The id of the blade. Used to identify the blade in the journey store."> & DefineProp<"save", boolean, false, false, "Specify if the blade should show a save button. If a save button is shown, a cancel button will also be shown."> & DefineProp<"switch", SwitchValue, false, null, "Specify if the blade should show switch."> & DefineProp<"onSave", () => boolean | Promise<boolean>, false, null, "Trigger when user click save, return true if ok to close the blade."> & DefineProp<"onSwitch", (value: boolean) => boolean | Promise<boolean>, false, null, "Trigger when user toggle switch, return true if ok to close the blade."> & DefineProp<"icon", IIcon, false, null, "Specify an icon for the blade header. This should be used to hightlight the blade type such as create blades, edit blades etc."> & DefineProp<"size", BladeSizeTypes, false, "x-small", "Specify the size of the blade. Small will show the header buttons as icons."> & DefineProp<"loading", boolean, false, false, "Displays linear progress bar."> & DefineProp<"items", JourneyMenuItem[], false, typeof defaultItems, "An array of menu items used for automatically generating menu items"> & DefineSlot<"selection", (selected: JourneyMenuItem) => VNodeChild, "Custom renderer selected node."> & DefineSlot<"actionsFooter", () => VNodeChild> & DefineEmit<"itemSelected", (item: JourneyMenuItem) => true> & DefineEmit<"valueChanged", (item: JourneySwitchMenuItem) => true>;
|
7
7
|
declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<JourneyMenuProps>) => {
|
8
8
|
$: import("vue").ComponentInternalInstance;
|
9
9
|
$data: {};
|
@@ -50,9 +50,9 @@ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<J
|
|
50
50
|
default?: import("vue").Slot;
|
51
51
|
}, "actionsFooter" | "selection">;
|
52
52
|
} & {
|
53
|
-
onValueChanged?: (item: JourneySwitchMenuItem) => any;
|
54
53
|
onItemSelected?: (item: JourneyMenuItem) => any;
|
55
|
-
|
54
|
+
onValueChanged?: (item: JourneySwitchMenuItem) => any;
|
55
|
+
} & Omit<import("@omnia/fx/ux").VueComponentBaseProps, "switch" | "icon" | "title" | "id" | "size" | "items" | "save" | "getApi" | "loading" | "onSave" | "onSwitch">;
|
56
56
|
} & import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
57
57
|
[key: string]: any;
|
58
58
|
}>;
|
@@ -100,6 +100,7 @@ export declare const useJourneyStore: () => {
|
|
100
100
|
registerBladeForRendering: {
|
101
101
|
subscribe(fn: (blade: {
|
102
102
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
103
|
+
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
103
104
|
ManageDataTable: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T1>, "draggable">>) => any;
|
104
105
|
ManageList: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/list/List").OListProps<T1_1>, "draggable">>) => any;
|
105
106
|
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/draggable/Draggable").DraggableProps, "hideDraggableIcon">>) => any;
|
@@ -143,6 +144,7 @@ export declare const useJourneyStore: () => {
|
|
143
144
|
registerBladeForRendering: {
|
144
145
|
subscribe(fn: (result: void, blade: {
|
145
146
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
147
|
+
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
146
148
|
ManageDataTable: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T1>, "draggable">>) => any;
|
147
149
|
ManageList: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/list/List").OListProps<T1_1>, "draggable">>) => any;
|
148
150
|
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/draggable/Draggable").DraggableProps, "hideDraggableIcon">>) => any;
|
@@ -186,6 +188,7 @@ export declare const useJourneyStore: () => {
|
|
186
188
|
registerBladeForRendering: {
|
187
189
|
subscribe(fn: (failureReason: any, blade: {
|
188
190
|
readonly Blade: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyBlade").JourneyBladeProps, "id" | "getApi">>) => any;
|
191
|
+
readonly Menu: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../JourneyMenu").JourneyMenuProps, "id" | "getApi">>) => any;
|
189
192
|
ManageDataTable: <T1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/datatable/DataTable").DataTableProps<T1>, "draggable">>) => any;
|
190
193
|
ManageList: <T1_1>(props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/list/List").OListProps<T1_1>, "draggable">>) => any;
|
191
194
|
Draggable: (props: import("@omnia/fx/ux").ConstructComponentProps<Omit<import("../../oxide/draggable/Draggable").DraggableProps, "hideDraggableIcon">>) => any;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@omnia/fx",
|
3
3
|
"license": "MIT",
|
4
|
-
"version": "8.0.
|
4
|
+
"version": "8.0.238-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.
|
23
|
+
"@omnia/fx-models": "8.0.238-dev",
|
24
24
|
"@microsoft/signalr": "6.0.1",
|
25
25
|
"broadcast-channel": "4.8.0",
|
26
26
|
"dayjs": "1.11.7",
|